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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com