Method and device for storing messages in game environment
A storage device and message technology, applied in the Internet field, can solve problems such as unclear storage structure, high complexity of message storage methods, and poor data storage efficiency, and achieve the effects of clear message storage structure, improved efficiency, and reduced complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0057] Such as figure 2 As shown, a first embodiment of a method for storing messages in a game environment of the present invention is proposed, and the method for storing messages in a game environment includes:
[0058] Step S10, tracking the game player's activities to capture the generation of the message, when a new message is generated, storing the new message in an ordered collection type of storage medium;
[0059] In this embodiment, the storage medium of the ordered set type is zset, and zset adds an order on the basis of set to form an ordered set. Among them, set is a collection, which is an unordered collection of string type. Set is realized through hash table. The complexity of adding, deleting and searching is O(1). For the collection, we can take union, intersection or difference set. Through these operations, we can realize the classification of friend recommendations and blogs in SNS (specifically referring to Internet application services that help peop...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


