Method and System for Optimizing Storage of Messages in Social Networking Environments
Publication Date: 2011-Dec-22
The IP.com Prior Art Database
Debashis Banerjee: INVENTOR [+2]
AbstractA method and system for optimizing storage of messages in social networking environments is disclosed.
A method and system for optimizing storage of messages in social networking environments is disclosed.
Typically, messages displayed on a social networking site are relevant only for a short duration of time. For example, messages corresponding to birthday wishes displayed for a user are relevant only on the day of birthday. Examples of similar messages include jokes, snippets, portions of articles, user comments, status updates etc. Generally, such messages and their history are stored which can create storage overhead and bloat without adding value to the network and its users. Since the messages lose relevance to a user and the network after a point in time it is useful to have a way of optimizing the time a message should remain valid on such networks.
Disclosed is a method and system for optimizing storage of messages in social networking environments. Storing of messages may be optimized automatically or manually. A “Time to Live” (TTL) and a “Time to Optimize” (TTO) parameter are defined for messages in a social networking environment. The TTL determines how long a message should be valid and TTO determines the time range when words mentioned in a post should be shortened to optimize the size of the post. Once the TTL for a message expires, the messages may be removed from a storage database or compressed and archived. Further, when length of words in a post exceeds a specified length, the words may be shortened based on dictionary algorithms. In other words, messages exceeding the time range for the TTO threshold are periodically shortened yet kept visible.
A user of a social networking site may specify the TTL for the users account and for a web post as for example, ten days. Therefore, when the user puts a web post the user may enable or disable the TTL parameter based on the preference of the user. The storage database storing the web posts associates the user’s account TTL with the user and message TTL with a message.
Optimizations could be done by grouping messages of similar TTL into one hash bucket so as to remove at one batch. For example, the TTL of the user account “X” is 1 day. On 1st Jan 20XX, a user X posts new year messages such as, Post 1: “Happy new year dear @Y”, Post 2: “Happy new year dear friend @Z”. Subsequently, the user may decide to write Post 3 specifying a TTL of one year stating “This is my new year resolution to view next year”. The user may write Post 4 for a relative “Y” and specify a TTL of no-expiry stating “This is a message for my dear @Y after I die”. Thereafter, Posts 1 and 2 expire after one day as specified by the TTL of the users account, Post 3 after a year and Post 4 would never expire.
Similarly, for social networking websites which provide a Q/A facility, the post corresponding to answers may be valid only for a certa...