# US 10,313,469 B2 · Method, apparatus and system for processing user generated content

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,313,469 B2
- Document ID: US10313469B2
- Status: Granted
- Kind: B2
- Application number: 14/802,863
- Filed: 2015-07-17
- Published: 2015-11-12
- Granted: 2019-06-04
- Earliest claimed: 2013-11-29
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Feng Feng; Yuxun Zhou
- Web page: https://patentgrep.com/patent/US10313469B2

## CPC

- H04L 67/5681: Pre-fetching or pre-delivering data based on network characteristics
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- H04L 67/5682: Policies or rules for updating, deleting or replacing the stored data
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method, apparatus and system for processing User Generated Content are provided. The method comprises sending a request for obtaining UGC information to a network device; receiving UGC information returned by the network device in response to the request for obtaining UGC information; determining whether UGC in a local cache is the latest UGC based on the UGC information; and downloading UGC from the network device if UGC in the local cache is not the latest UGC.

## Claims

### Claim 1

A method for processing user generated content (UGC) associated with a user of a social networking application, the method comprising:
at a client device with a local cache:
sending a first request for UGC information to an information server, wherein respective UGC information stored at the information server is associated with respective UGC stored at a storage server that is distinct from the information server;
receiving first UGC information from the information server in response to the first request for UGC information;
determining whether local UGC in the local cache is latest UGC based on the first UGC information received from the information server, further comprising:
obtaining second UGC information from the local cache as the local UGC; and
comparing the second UGC information with the first UGC information;
in accordance with a determination that the first UGC information differs from the second UGC information,
sending a request for fresher UGC to the storage server,
downloading the fresher UGC from the storage server, and
updating the local UGC and corresponding UGC information in the local cache with the fresher UGC and the first UGC information, wherein the first UGC information comprises a hash value of the fresher UGC calculated using a timestamp of the fresher UGC; and
after downloading the fresher UGC from the storage server:
receiving new UGC from the user of the social networking application and storing the new UGC in the local cache;
sending a second request for updating UGC to the storage server, wherein the second request includes the new UGC to be uploaded to the storage server, and wherein the storage server updates the fresher UGC with the new UGC and causes the information server to update the first UGC information stored at the information server and provide the updated first UGC information to the storage server;
receiving a response from the storage server after sending the second request for updating UGC, the response including the updated first UGC information; and
replacing the first UGC information in the local cache with the updated first UGC information.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first UGC information further comprises the timestamp of the fresher UGC.

### Claim 3

An electronic device for processing user generated content (UGC) associated with a user of a social networking application, the electronic device comprising:
one or more processors;
a local cache; and
memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for:
sending a first request for UGC information to an information server, wherein respective UGC information stored at the information server is associated with respective UGC stored at a storage server that is distinct from the information server;
receiving first UGC information from the information server in response to the first request for UGC information;
determining whether local UGC in the local cache is latest UGC based on the first UGC information received from the information server, further comprising:
obtaining second UGC information from the local cache as the local UGC; and
comparing the second UGC information with the first UGC information;
in accordance with a determination that the first UGC information differs from the second UGC information,
sending a request for fresher UGC to the storage server,
downloading the fresher UGC from the storage server, and
updating the local UGC and corresponding UGC information in the local cache with the fresher UGC and the first UGC information, wherein the first UGC information comprises a hash value of the fresher UGC calculated using a timestamp of the fresher UGC; and
after downloading the fresher UGC from the storage server:
receiving new UGC from the user of the social networking application and storing the new UGC in the local cache;
sending a second request for updating UGC to the storage server, wherein the second request includes the new UGC to be uploaded to the storage server, and wherein the storage server updates the fresher UGC with the new UGC and causes the information server to update the first UGC information stored at the information server and provide the updated first UGC information to the storage server;
receiving a response from the storage server after sending the second request for updating UGC, the response including the updated first UGC information; and
replacing the first UGC information in the local cache with the updated first UGC information.

### Claim 4 (depends on 3)

The electronic device of claim 3, wherein the first UGC information further comprises the timestamp of the fresher UGC.

### Claim 5

A non-transitory computer-readable storage medium, storing one or more programs configured for execution by one or more processors of an electronic device with a local cache for processing user generated content (UGC) associated with a user of a social networking application, the one or more programs including instructions, which when executed by the one or more processors cause the electronic device to:
send a first request for UGC information to an information server, wherein respective UGC information stored at the information server is associated with respective UGC stored at a storage server that is distinct from the information server;
receive first UGC information from the information server in response to the first request for UGC information;
determine whether local UGC in the local cache is latest UGC based on the first UGC information received from the information server, further comprising:
obtaining second UGC information from the local cache as the local UGC; and
comparing the second UGC information with the first UGC information;
in accordance with a determination that the first UGC information differs from the second UGC information,
send a request for fresher UGC to the storage server,
download the fresher UGC from the storage server, and
update the local UGC and corresponding UGC information in the local cache with the fresher UGC and the first UGC information, wherein the first UGC information comprises a hash value of the fresher UGC calculated using a timestamp of the fresher UGC; and
after downloading the fresher UGC from the storage server:
receive new UGC from the user of the social networking application and storing the new UGC in the local cache;
send a second request for updating UGC to the storage server, wherein the second request includes the new UGC to be uploaded to the storage server, and wherein the storage server updates the fresher UGC with the new UGC and causes the information server to update the first UGC information stored at the information server and provide the updated first UGC information to the storage server;
receive a response from the storage server after sending the second request for updating UGC, the response including the updated first UGC information; and
replace the first UGC information in the local cache with the updated first UGC information.

### Claim 6 (depends on 5)

The non-transitory computer-readable storage medium of claim 5, wherein the first UGC information further comprises the timestamp of the fresher UGC.
