Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Game user data storage method and system

A technology for user data and storage systems, applied in the computer field, can solve the problems of large power consumption, high memory usage, error-prone, etc., and achieve the effects of reducing size, reducing CPU usage, and increasing speed.

Active Publication Date: 2017-08-18
福建天晴在线互动科技有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Disadvantage 1: Data maintenance is difficult. A large amount of data needs to be initialized during initialization. If relevant attribute values ​​​​need to be modified during the maintenance process, the data to be maintained is huge and error-prone
[0005] Disadvantage 2: The amount of data is large. Assuming that there are 50 weapons in the game and 200 weapon levels, 10,000 records need to be stored in the data table, and this is only the data of one attribute of the weapon
[0006] Disadvantage 3: High memory usage, a complete game client contains a large amount of attribute configuration data (for example: character attributes, skill attributes, combat attributes, equipment attributes, transaction attributes, system attributes, social attributes, etc.), these configurations are in After the game starts, it needs to reside in the client's memory for a long time
[0007] Disadvantage 4: CPU usage is high, attribute configuration data is generally stored on the client in JSON, XML, CSV and other formats, data in these formats have inherent disadvantages in retrieval, resulting in the client needing to spend a lot of time when searching for configuration data high CPU
For mobile terminals, this means greater power consumption

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Game user data storage method and system
  • Game user data storage method and system
  • Game user data storage method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0079] Please refer to figure 2 , Embodiment 1 of the present invention is:

[0080] A method for storing game user data provided by the present invention comprises the following steps:

[0081] S1: Obtain the level attribute table of the game character or weapon attack power;

[0082] S2: Construct a coordinate point set according to the level included in the level attribute table and the attack power corresponding to the level; the abscissa of the coordinate point in the coordinate point set is a level, and the ordinate is a level Attack power; said attack power corresponds to said level one by one;

[0083] S3: Obtain a fitting curve according to all the coordinate points of the coordinate point set;

[0084] S4: Obtain the mathematical expression according to the fitting curve;

[0085] S5: Construct a tree structure of a binary tree according to the mathematical expression;

[0086] S6: Store the mathematical expression through the binary tree.

[0087] As can be s...

Embodiment 2

[0089] The difference between the second embodiment and the first embodiment is that a method for storing game user data further includes:

[0090] converting the division operation in the mathematical expression into a corresponding multiplication operation;

[0091] Encrypting the data information of the binary tree;

[0092] According to the binary tree, the attack power corresponding to the input character or weapon level is obtained.

[0093] It can be seen from the above description that the data loading rate is improved through the above method, and the security of data storage is improved.

Embodiment 3

[0094] Please refer to Figure 3 to Figure 5 , Embodiment three of the present invention is:

[0095] Obtain the grade attribute table of the game character or weapon attack power through the acquisition module, and send the obtained result to the first construction unit; the first construction unit constructs a set of coordinate points according to all grades and attack power in the grade attribute table, and The set of coordinate points is sent to the fitting unit; the abscissa of the coordinate points in the set of coordinate points is the level, and the ordinate is the attack force; the attack force corresponds to the level; fitting The unit obtains the fitting curve according to all the coordinate points of the coordinate point set, and sends the fitting curve to the segmentation unit; the segmentation subunit divides the fitting curve into the first A growth zone curve, a flat zone curve and a second growth zone curve, and the first growth zone curve is sent to the firs...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of computers, in particular to a game user data storage method and system. The method for storing user data comprises the following steps: acquiring a level attribute table of a game role or weapon attack; creating a mathematical expression corresponding to the attribute table; constructing an expression tree corresponding to the mathematical expression; storing the mathematical expression through the expression tree. With the adoption of the method, the problem that a big memory space is needed for storing the data through the datasheet in the prior art, resulting in the reduction of the mobile terminal performance, can be solved; the game installation package is reduced; meanwhile, the CPU utilization in the game running process is decreased; the data loading rate can be increased when a user plays the game; the method is of important significance on the game fields such as mobile online game and web game with high stringency on communication and the size of the installation package.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and system for storing game user data. Background technique [0002] In the prior art, game attributes are mostly obtained based on traversing the data table, for example, the attack power attribute of a certain weapon has different attack power values ​​according to different weapon levels, so each level needs to store a corresponding data record. When the program obtains the attack power of the weapon, it then queries the corresponding weapon name and the attack power value of the level from the data table. [0003] And there is following shortcoming in above-mentioned method: [0004] Disadvantage 1: Data maintenance is difficult. A large amount of data needs to be initialized during initialization. If relevant attribute values ​​need to be modified during the maintenance process, the data to be maintained is huge and error-prone. [0005] Disadvantage 2: The amou...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2246
Inventor 刘德建陈铭钟良德魏仁海郭玉湖
Owner 福建天晴在线互动科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products