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

Game data processing method and device and server

A technology of game data and processing method, which is applied in the field of data processing, and can solve problems such as data loss, excessive memory usage, and server crashes

Active Publication Date: 2017-05-31
BEIJING PIXEL SOFTWARE TECH
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For large-scale online games, a lot of game data is a very scary thing. It means that more resources are occupied and more memory is occupied, which in turn can easily lead to server crashes, resulting in data loss and loss to players. resulting in a bad gaming experience
[0004] Use shared memory to manage the data of multiple game processes. Different game processes share one game data. This not only ensures that the data will not be lost when the server crashes, but also improves the utilization of resources. However, when multiple game processes run concurrently When running, it is easy to cause racing phenomenon, resulting in game data coverage problem

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 data processing method and device and server
  • Game data processing method and device and server
  • Game data processing method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 It is a flowchart of a game data processing method provided by Embodiment 1 of the present invention. This embodiment can be used to improve the efficiency of game data processing. The method can be executed by a game data processing device, which can be implemented by software and / or hardware This device can be integrated in any server that needs to process data for multiple game processes. The method specifically includes the following steps:

[0036] Step 110: Store the game data generated by the first game process among the multiple game processes in a shared queue, wherein the game data includes a corresponding type identifier and data content.

[0037] Wherein, the game process is a program running in the game. During the game process, the data will be processed, such as calculations, so that the game data will change. Multiple game processes can run together on one server. The multiple game processes share a piece of game data. The first game proces...

Embodiment 2

[0048] figure 2 It is a flow chart of a game data processing method provided in Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiments. The method of this embodiment includes:

[0049] Step 210, the process starts.

[0050]Step 220: Store the game data generated by the first game process among the multiple game processes in the shared queue, wherein the game data includes the corresponding type identifier and data content.

[0051] Step 230: When any game process in the plurality of game processes generates game data, overwrite the data content of the game data generated by the arbitrary game process with the game in the shared queue that has the same type identifier as the game data The data content of the data.

[0052] Step 240, periodically write the game data in the shared queue into the shared memory.

[0053] Step 250: When any game process in the plurality of game processes reads the target game data, determine whether th...

Embodiment 3

[0062] image 3 It is a schematic structural diagram of a game data processing device provided in Embodiment 3 of the present invention, which is suitable for executing the game data processing method provided in the embodiment of the present invention, and can improve the efficiency of game data processing, such as image 3 As shown, the device includes a data storage module 310 , a data modification module 320 and a data writing module 330 .

[0063] Wherein, the data storage module 310 is used to store the game data generated by the first game process in the multiple game processes in the shared queue, wherein the game data includes the corresponding type identification and data content; the data modification module 320 , for when any game process in the plurality of game processes generates game data, modify the type of game data generated by any game process in the shared queue according to the data content of the game data generated by the arbitrary game process The dat...

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 embodiment of the invention discloses a game data processing method and device and a server. The method comprises the steps that game data produced in a first game process of multiple game processes is stored in a shared queue, wherein the game data includes type identifiers and data contents corresponding to the game data; when any game process of the multiple game processes produce game data, the data contents of the game data with the type identifiers same as the game data produced by any game process in the shared queue are modified according to the data contents of the game data produced by any game process; the game data in the type identifier is periodically written into a shared memory. According to the embodiment, the game data produced in the game processes is stored in the shared queue and further the game data in the shared queue is written into the shared memory, so that the shared memory is modified by adopting a shared event queue mode so as to ensure efficient and accurate processing of the game data.

Description

technical field [0001] The embodiments of the present invention relate to data processing technologies, and in particular, to a game data processing method, device, and server. Background technique [0002] Key data in online games include money, virtual currency, attribute values, character data, etc. These data are related to the interests of players and are the key to bringing game fun to players, so players attach great importance to these data. [0003] The more complex the game, the more playability, the better the player's game experience, but the more data. For large-scale online games, a lot of game data is a very scary thing. It means that more resources are occupied and more memory is occupied, which in turn can easily lead to server crashes, resulting in data loss and loss to players. Thus bringing a bad gaming experience. [0004] Use shared memory to manage the data of multiple game processes. Different game processes share one game data. This not only ensure...

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): G06F9/54
CPCG06F9/544G06F9/546G06F2209/548
Inventor 韩大志
Owner BEIJING PIXEL SOFTWARE TECH
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