A method and system for synchronizing game values
A numerical and game technology, applied in the computer field, can solve problems such as cumbersome configuration conversion steps, front-end and back-end configurations cannot be synchronized in time, and achieve the effect of improving development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0067] Please refer to figure 1 , a method for synchronizing game values, comprising the steps of:
[0068] S1. The configuration server receives and stores the configuration file of the game value to be synchronized;
[0069] Step S1 is specifically:
[0070] The configuration server receives the configuration file of the game value to be synchronized, calculates the MD5 value of the configuration file of the game value to be synchronized and the MD5 value of the stored configuration file through the MD5 algorithm, and judges the configuration file of the game value to be synchronized Whether the MD5 value of the MD5 value and the MD5 value of the stored configuration file are equal, if not, then update the configuration file of the game value to be synchronized to the database configuration table, and record the version number of the configuration file of the game value to be synchronized as first version number;
[0071] S2. The game server monitors the configuration ser...
Embodiment 2
[0082] This embodiment will further illustrate how the above-mentioned game value synchronization method and system of the present invention are implemented in combination with specific application scenarios:
[0083] First of all, the present invention is mainly applicable to the game development stage. Since it is necessary to frequently adjust and modify the configuration value in the game development and testing environment, a relatively stable game value is finally achieved, and the possibility of subsequent modification is relatively low, and the front end ( Client) only in the development environment will there be a process code for automatically detecting and updating the configuration file. The format of the file exported by the configuration server is the same as the syntax of the front-end code. For example, if the H5 front-end uses typescript or javascript development language, the exported configuration is also typescript Or javascript file format, no need to write...
Embodiment 3
[0096] Please refer to figure 2 , a system 1 for synchronizing game values, comprising a configuration server 2, a game server 5 and a client 8, wherein the configuration server 2 includes a first memory 3, a first processor 4 and is stored on the first memory 3 and can be stored in the first memory 3 A first computer program running on the first processor 4, the game server 5 includes a second memory 6, a second processor 7, and a second computer program stored on the second memory 6 and operable on the second processor 7. Computer program, the client 8 includes a third memory 9, a third processor 10 and a third computer program stored on the third memory 9 and operable on the third processor 10, the first processor 4 The following steps are implemented when the first computer program is executed:
[0097] S1. Receive and store the configuration file of the game value to be synchronized;
[0098] Step S1 is specifically:
[0099] Receive the configuration file of the game...
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