×

Method and apparatus for caching user generated content messages

  • US 10,506,063 B2
  • Filed: 08/14/2015
  • Issued: 12/10/2019
  • Est. Priority Date: 06/26/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for caching User Generated Content (UGC) messages, comprising:

  • at a server,acquiring first and second attribute information of an UGC message independent of the content of the UGC message for determining whether to cache the UGC message for future access by users of a service provided by the server, wherein the first attribute information is time attribute information and the second attribute information is state attribute information distinct from the time attribute information;

    obtaining, based on the first attribute information and a preset first conversion function, a function value corresponding to the first attribute information;

    obtaining, based on the second attribute information and a preset second conversion function, a function value corresponding to the second attribute information; and

    determining whether the first and second attribute information of the UGC message meets the preset condition by judging whether a sum of the function values corresponding to the first and second attribute information is greater than a preset threshold, and if yes, determining current reading demands of the UGC message meet a present condition, and adding the UGC message to a cache memory of the server,wherein for the UGC message,the first attribute information comprises time attribute information representing the time when the UGC message is generated;

    the second attribute information comprises state attribute information comprising first, second and third sub-state attribute information;

    the first sub-state attribute information represents that the UGC message is in a normal state or in a deleted state, each corresponding to a function value different from one another;

    the second sub-state attribute information represents that the UGC message is in an air-interface forwarded state, in an original state, in a comment state or in a broadcast state, each corresponding to a function value different from one another; and

    the third sub-state attribute information represents priority information of the UGC message, each piece of priority information corresponding to a function value different from one another.

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