×

Method and apparatus for acquiring resource

  • US 10,324,896 B2
  • Filed: 12/23/2014
  • Issued: 06/18/2019
  • Est. Priority Date: 06/25/2012
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×