主权项 |
1. A method for obtaining number of visits of a user generated content (UGC) by a server, wherein the server comprises an interface module, an access module and a storage module, the method comprises:
receiving, by the interface module, a querying request transmitted by a client for querying number of visits of a UGC, wherein the querying request carries an identifier of the UGC; obtaining, by the interface module, the number of visits of the UGC from the storage module according to the identifier of the UGC; wherein the number of visits of the UGC is stored in the storage module and is updated according to UGC number-of-visits information of the UGC generated by the access module, the access module generates the UGC number-of-visits information according to UGC retrieving action information obtained from a background server of a UGC system; and returning, by the interface module, the obtained number of visits of the UGC to the client, such that the client displays the number of visits of the UGC in association with the UGC. |