Game system and game processing method

A technology of a game system and a processing method, which is applied in the field of game data processing, can solve problems such as the complexity of asynchronous implementation, and achieve the effect of simplifying asynchronous processing methods and reducing complexity

Active Publication Date: 2017-02-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, multi-threaded asynchronous processing of game data generally requires callback functions to be set, and a corresponding callback function needs to be written to help the asynchronous processing of game data. As the number of asynchronous processes increases, more callback functions need to be written. , the more complex the asynchronous implementation; therefore, how to simplify the asynchronous processing of game data has become a problem that those skilled in the art need to consider

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 system and game processing method
  • Game system and game processing method
  • Game system and game processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0025] figure 1 A schematic structural diagram of the game system provided by the embodiment of the present invention, based on figure 1 The shown game system processes game data asynchronously, which can reduce the complexity of asynchronous implementation and achieve the purpose of simplifying the asynchronous processing method of game data; this game system can be applied to the game service side, such as in the room server of the game; refer to figure 1 ,...

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 provides a game system and a game processing method. The system comprises a main coroutine and at least one logic coroutine, wherein the main coroutine is in charge of determining an asynchronous message corresponding to the logic coroutine when it switches to the main coroutine from the logic coroutine, writing the asynchronous message into a shared memory region between the main coroutine and the logic coroutine and pulling up the logic coroutine; the logic coroutine is used for saving an asynchronous context in a corresponding coroutine memory region when executed current game logic conforms to a preset asynchronous condition, and the logic coroutine is also used for switching back to the main coroutine and hanging up itself; and the logic coroutine, which is pulled up by virtue of the main coroutine, is used for calling and recovering the asynchronous context from the coroutine memory region, reading the asynchronous message from the shared memory region and continuing to execute the game logic. With the application of invention, an asynchronous processing mode of game data is simplified.

Description

technical field [0001] The invention relates to the technical field of game data processing, in particular to a game system and a game processing method. Background technique [0002] In order to achieve efficient processing of game data, game servers generally use multi-threaded asynchronous processing of game data. [0003] At present, multi-threaded asynchronous processing of game data generally requires callback functions to be set, and a corresponding callback function needs to be written to help the asynchronous processing of game data. As the number of asynchronous processes increases, more callback functions need to be written. , the more complex the asynchronous implementation; therefore, how to simplify the asynchronous processing of game data has become a problem that those skilled in the art need to consider. Contents of the invention [0004] In view of this, an embodiment of the present invention provides a game system, a game processing method, and a game s...

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): A63F13/45A63F13/80
CPCA63F13/45A63F2300/63
Inventor 罗结虎李伟俞烜贺志强范勇
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products