Method and apparatus for acquiring resource

US10324896B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10324896-B2
Application numberUS-201414581467-A
CountryUS
Kind codeB2
Filing dateDec 23, 2014
Priority dateJun 25, 2012
Publication dateJun 18, 2019
Grant dateJun 18, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and an apparatus for acquiring a resource. An embodiment of the present invention provides a method for acquiring a resource, including receiving, by a storage server, a resource check request sent by a first client, where the resource check request carries resource information of a resource to be uploaded by the first client, an identifier of an external link created by a second client, and storage location information corresponding to the external link; searching, by the storage server, according to the identifier, a database configured to store external-link information for an attribute of the external link corresponding to the identifier of the external link, and checking the resource information according to a value of the found attribute; and if the check succeeds, storing, by the storage server the acquired resource or acquired resource location information according to the storage location information.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for acquiring a resource comprising: receiving, by a storage server, a resource check request from a first client, the resource check request carrying resource information of a resource to be uploaded by the first client, an identifier of an external link created by a second client, and storage location information corresponding to the external link; searching, by the storage server, according to the identifier of the external link, a database configured to store external-link information for attributes of the external link corresponding to the identifier of the external link, the database comprising a data table, the data table comprising a plurality of rows and a plurality of columns, each row comprising information for a different resource stored in the database, a first one of the columns comprising the identifier of the external link, the other columns comprising attributes of the resource, and the attributes comprising a title, a content description, a format, a threshold size, a validity period, a password, and a download right of the corresponding resource; checking the resource information according to a value of the found attribute, the resource information being checked by: determining that a size of the resource corresponding to the resource information is not greater than the threshold size; comparing words in the title of the resource information and words in the content description of the resource information with words in a database of sensitive words; comparing the format of the resource with allowed file format extensions; comparing a time with the validity period of the resource; comparing an input password with the password stored in the data table; and comparing an identity associated with the first client with the download right of the resource; storing, by the storage server, the acquired resource or acquired resource location information, when the check succeeds, according to the storage location information; providing, by the storage server, a resource information list to the first client, the resource information list comprising resource information of resources stored at the storage server from the first client; receiving, by the storage server, a resource download request corresponding to one of the resources; and sending, by the storage server, a resource download response that carries the one of the resources. 2. The method of claim 1 , wherein before storing, by the storage server, the acquired resource according to the storage location information, the method further comprises: searching, by the storage server, according to a resource identifier in the resource information, a database configured to store resource location information for resource location information corresponding to the resource identifier; and acquiring, according to the found resource location information, the resource stored at the server. 3. The method of claim 2 , wherein before receiving, by the storage server, the resource check request from the first client, the method further comprises sending, by the storage server, the resource information list to the first client, after the first client successfully logs in to the storage server, the resource information list comprising resource information of resources stored at the server by the first client. 4. The method of claim 1 , wherein before storing, by the storage server, the acquired resource location information according to the storage location information, the method further comprises searching, by the storage server, according to a resource identifier in the resource information, a database configured to store resource location information for resource location information corresponding to the resource identifier. 5. The method of claim 4 , wherein after storing, by the storage server, the acquired resource location information according to the storage location information, the method further comprises sending, by the storage server, the resource acquired according to the resource location information to the second client when the second client needs to download the resource. 6. The method of claim 1 , wherein before storing, by the storage server, the acquired resource according to the storage location information, the method further comprises: sending, by the storage server, a resource check success response to the first client; and receiving, by the storage server, the resource from the first client. 7. The method of claim 1 , wherein before receiving, by the storage server, the resource check request from the first client, the method further comprises: receiving, by the storage server, an external-link creation request from the second client, the external-link creation request carrying the value of the attribute of the external link; reviewing, by the storage server, the value of the attribute of the external link; generating, by the storage server, the identifier of the external link when the review is passed; storing correspondence between the identifier of the external link and the value of the attribute of the external-link in the database configured to store external-link information; and sending an external-link creation success response to the second client, the external-link creation success response carrying the identifier of the external link. 8. A method for acquiring a resource comprising: acquiring, by a first client, resource information of a resource to be uploaded; sending, by the first client, a resource check request to a storage server, the resource check request carrying the resource information, an identifier of an external link created by a second client, and storage location information corresponding to the external link, the identifier of the external link being used to search a database configured to store external-link information for attributes of the external link, the database comprising a data table, the data table comprising a plurality of rows and a plurality of columns, each row comprising information for a different resource stored in the database, a first one of the columns comprising the identifier of the external link, the other columns comprising attributes of the resource, the attributes comprising a title, a content description, a format, a threshold size, a validity period, a password, and a download right of the corresponding resource, the resource information being checked according to a value of the found attribute, the acquired resource being stored by the storage server according to the storage location information after the check succeeds, the check succeeding when a size of the resource corresponding to the resource information is not greater than the threshold size, the check succeeding when words in the title of the resource information and words in the content description of the resource information are not included in a database of sensitive words, the check succeeding when the format of the resource matches allowed file format extensions, the check succeeding when a time is within the validity period of the resource, the check succeeding when an input password matches the password stored in the data table, and the check succeeding when an identity associated with the first client is included within the download right of the resource; receiving, by the first client from the storage server, a resource information list that comprises resource information of resources stored at the storage server by the first client; sending, by the first client, a resource download request corresponding to one of the resources; and receiving, by the first client from the storage server, a resource download response that carries the one of the resources. 9. The method of claim 8 , whe

Assignees

Inventors

Classifications

  • Electricity · mapped topic

  • H04L67/06Primary

    specially adapted for file transfer, e.g. file transfer protocol [FTP] · CPC title

  • for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS] · CPC title

  • G06F16/148Primary

    File search processing · CPC title

  • File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10324896B2 cover?
A method and an apparatus for acquiring a resource. An embodiment of the present invention provides a method for acquiring a resource, including receiving, by a storage server, a resource check request sent by a first client, where the resource check request carries resource information of a resource to be uploaded by the first client, an identifier of an external link created by a second clien…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L67/06. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jun 18 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).