Apparatus, method and non-transitory computer-readable recording medium for providing content sharing service
First Claim
1. A method of providing a content sharing service, the method comprising:
- receiving, from a first user, a content registration request including first content;
in response to receiving the content registration request,generating identification (ID) information of the first content,storing the first content and the ID information of the first content in a content storage unit,generating a first index update command for updating an index of each of other users having a first relationship with the first user by using the ID information of the first content, andenqueueing the first index update command in a queue that includes one or more preceding index update commands,the generating of the first index update command including,obtaining a list of ID information of the other users having the first relationship with the first user from a user account storage unit based on ID information of the first user, andgenerating the first index update command such that the first index update command includes the ID information of the other users and the ID information of the first content;
sequentially reading the one or more preceding index update commands and the first index update command;
processing the one or more preceding index update commands and the first index update command,the processing of the first index update command including adding the ID information of the first content to the indices of each of the other users, based on the first index update command, each of the indices of the other users being stored in an index storage unit, the other users including a second user;
receiving a news feed provision request from the second user;
reading content stored in the content storage unit based on ID information of content included in an index of the second user, the read content including the first content, the ID information of the content included in an index of the second user including the ID information of the first content; and
providing a news feed including the first content to the second user.
8 Assignments
0 Petitions
Accused Products
Abstract
A method of providing a content sharing service, the method includes receiving, from a first user, a content registration request including first content; generating identification (ID) information of the first content; storing the first content and ID information in a content storage unit; generating an index update command for updating an index of each of other users having a first relationship with the first user by using the ID information of the first content; adding the ID information of the first content to the indices of each of the other users, based on the index update command, wherein each of the indices of the other users is stored in an index storage unit; reading content stored in the content storage unit based on ID information of content included in an index of the second user; and providing a news feed including the first content to the second user.
-
Citations
11 Claims
-
1. A method of providing a content sharing service, the method comprising:
-
receiving, from a first user, a content registration request including first content; in response to receiving the content registration request, generating identification (ID) information of the first content, storing the first content and the ID information of the first content in a content storage unit, generating a first index update command for updating an index of each of other users having a first relationship with the first user by using the ID information of the first content, and enqueueing the first index update command in a queue that includes one or more preceding index update commands, the generating of the first index update command including, obtaining a list of ID information of the other users having the first relationship with the first user from a user account storage unit based on ID information of the first user, and generating the first index update command such that the first index update command includes the ID information of the other users and the ID information of the first content; sequentially reading the one or more preceding index update commands and the first index update command; processing the one or more preceding index update commands and the first index update command, the processing of the first index update command including adding the ID information of the first content to the indices of each of the other users, based on the first index update command, each of the indices of the other users being stored in an index storage unit, the other users including a second user; receiving a news feed provision request from the second user; reading content stored in the content storage unit based on ID information of content included in an index of the second user, the read content including the first content, the ID information of the content included in an index of the second user including the ID information of the first content; and providing a news feed including the first content to the second user. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer-readable recording medium storing computer-executable instructions that, when executed by a processor, cause the processor to perform operations including:
-
receiving, from a first user, a content registration request including first content; in response to receiving the content registration request, generating identification (ID) information of the first content, storing the first content and the ID information of the first content in a content storage unit, generating a first index update command for updating an index of each of other users having a first relationship with the first user by using the ID information of the first content, and enqueueing the first index update command in a queue that includes one or more preceding index update commands, the generating of the first index update command including, obtaining a list of ID information of the other users having the first relationship with the first user from a user account storage unit based on ID information of the first user, and generating the first index update command such that the first index update command includes the ID information of the other users and the ID information of the first content; sequentially reading the one or more preceding index update commands and the first index update command; processing the one or more preceding index update commands and the first index update command, the processing of the first index update command including adding the ID information of the first content to the indices of each of the other users, based on the first index update command, each of the indices of the other users being stored in an index storage unit, the other users including a second user; receiving a news feed provision request from the second user; reading content stored in the content storage unit based on ID information of content included in an index of the second user, the read content including the first content, the ID information of the content included in an index of the second user including the ID information of the first content; and providing a news feed including the first content to the second user.
-
-
11. An apparatus for providing a content sharing service, the apparatus comprising:
-
memory storing computer-executable instructions; and one or more processors configured to execute the instructions such that the one or more processors are configured to, receive, from a first user, a content registration request including first content, in response to receiving the content registration request, generate identification (ID) information of the first content, store the first content and the ID information of the first content in a content storage unit, generate a first index update command for updating an index of each of other users having a first relationship with the first user by using the ID information of the first content, and enqueue the first index update command in a queue that includes one or more preceding index update commands, the generating of the first index update command including, obtaining a list of ID information of the other users having the first relationship with the first user from a user account storage unit based on ID information of the first user, and generating the first index update command such that the first index update command includes the ID information of the other users and the ID information of the first content, sequentially read the one or more preceding index update commands and the first index update command, process the one or more preceding index update commands and the first index update command, the processing of the first index update command including adding the ID information of the first content to the indices of each of the other users, based on the first index update command, each of the indices of the other users being stored in an index storage unit, the other users including a second user, receive a news feed provision request from the second user, read content stored in the content storage unit based on ID information of content included in an index of the second user, the read content including the first content, the ID information of the content included in an index of the second user including the ID information of the first content, and provide a news feed including the first content to the second user.
-
Specification