Game configuration management method based on DevOps environment

By using the configuration management platform and multi-coroutine processing technology in the DevOps environment, the problem of not paying attention to configuration analysis and low update efficiency in game configuration management is solved, achieving efficient cross-system configuration management and error reduction, and improving the security of configuration data. Accuracy and consistency.

CN118557971APending Publication Date: 2024-08-30HUANLE ENTERTAINMENT SHANGHAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410839852.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing game configuration management technologies in DevOps environments have problems such as not paying attention to configuration analysis, low configuration update efficiency, and failure to perform legal checks, resulting in failures in the continuous integration process and making it difficult to trace errors.

Method used

In a DevOps environment, a third-party library is used through the configuration management platform for configuration parsing and compliance checking. The planning end and development end perform local and platform checks respectively. Multi-coroutines or multi-threads are used to process data checks in parallel, generate detailed error information and pass Send via network or email to ensure the accuracy and consistency of configuration data.

Benefits of technology

It achieves efficient management of cross-system game configurations, improves configuration efficiency and compilation speed, reduces errors, ensures the accuracy and consistency of configuration data, and improves management efficiency on the development and planning side.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118557971A
    Figure CN118557971A
Patent Text Reader

Abstract

The invention belongs to the technical field of game configuration management, and particularly relates to a method for achieving game configuration management based on a DevOps environment, a development end exports game configuration submitted by a planning end, submission management is conducted on the game configuration submitted by the planning end, export management is conducted on the game configuration exported to the development end, and the development end is in the DevOps environment. Cross-system game configuration submission and export management between a development end and a planning end are supported; the game configuration is reasonably split and combined, the planning end submits the configuration after checking the correctness at the local, the configuration management platform checks again, combines the configuration to the project configuration branch after confirming the correctness, and checks again when the game configuration is exported, so that the accuracy and consistency of the configuration data of the project are ensured, and the configuration efficiency is improved. The code compiling speed is increased, and the code compiling product size is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of game configuration management, and in particular to a method for implementing game configuration management based on a DevOps environment. Background Art

[0002] The existing general solutions (most of the game companies on the market) only export the configuration submitted by the planner according to demand, use scripting language and popular Excel parsing library to parse the configuration, read the configuration according to the project requirements, and finally generate code and data files that can be accepted by the project.

[0003] Existing technologies usually involve the use of various programming languages ​​and frameworks to manage game configurations, such as XML, JSON, Excel, CSV and other files or dedicated game editors and tools to edit and manage game configuration data. These solutions may not be sufficient to meet the needs of high efficiency and cross-platform compliance checks. Moreover, the configuration parsing link is often not taken seriously in DevOps environments. For the sake of convenience, scripts such as Python are used as the language for configuration parsing, resulting in limitations in configuration splitting and merging, compile speed optimization, and reducing the size of compiled products. In addition, existing technologies may not provide an integrated configuration management platform, resulting in inefficient configuration update processes and failure to perform legal checks on configurations submitted by planners. These are all likely to cause failures in the continuous integration (CI) process, and it is difficult to trace the errors caused by the configurations submitted by the developers. Summary of the invention

[0004] The purpose of the present invention is to solve the technical problems existing in the background technology. To this end, a method for implementing game configuration management based on a DevOps environment is provided.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows: Implement game configuration management methods based on DevOps environment, including: The development end exports the game configuration submitted by the planning end, wherein the game configuration submitted by the planning end is submitted and managed, and the game configuration exported to the development end is exported and managed. The development end is in a DevOps environment; In the planning system, submit the game configuration, including: The game configuration is submitted to the configuration management platform, which uses a third-party library to parse the configuration and reads the parsed configuration data into memory; After the configuration data is read into the memory, the configuration data is checked for compliance according to the data type required by the project; If there is data error information during the check, the configuration data will not be merged and the error information will be provided to the planning end for configuration modification and resubmission; If there are no error messages, merge the configuration data into the configuration branch of the project; In the development system, the game configuration is exported to the development side, including: The developer uses the executable file of the configuration export tool to trigger the export of the game configuration on the configuration management platform; The configuration management platform uses a third-party library to perform configuration analysis on the project configuration branch corresponding to the executable file and reads the configuration data into memory; Subsequently, the configuration data is checked for compliance based on the data type within the executable file; If there is data error information during the check, the game configuration will not be exported and error information will be provided to the development end; If there is no error message, export the game configuration to the development end.

[0006] The following is a technical solution further defined by the present invention, in which the system at the development end and the system at the planning end are different systems.

[0007] The following is a technical solution further defined by the present invention. Before submitting the game configuration file, the planning end uses a configuration export tool to perform a compliance check on the game configuration. After the check is correct, the game configuration is submitted to the configuration management platform.

[0008] The following is a technical solution further defined by the present invention. When a configuration data error is detected, the configuration management platform counts the error information and generates detailed error information, and sends it to the development end or planning end via a network hook or email.

[0009] The following is a technical solution further defined by the present invention. In the process of configuring data for compliance checking, the data processing volume is detected. When the data processing volume exceeds a threshold, a multi-coroutine or multi-threaded parallel processing of the programming language is started to process the data checking task, thereby accelerating the data processing efficiency.

[0010] The following is a technical solution further defined by the present invention. During the data compliance check, the read configuration data is compared with the specified data format, including but not limited to type check, naming check, data duplication check, and legality check.

[0011] The following is a technical solution further limited by the present invention, which uses a log collection tool to collect and summarize error information, and reports it to a log management platform, and then uniformly alerts the planning end or the development end through the log management platform.

[0012] The following is a technical solution further defined by the present invention. During the game configuration submission process, the data type required by the project is the total data type of all projects. During the game configuration export process, the data type in the executable file is the specific data type of a single project.

[0013] Compared with the prior art, the present invention has the following technical effects: 1. Support cross-system game configuration submission and export management between the development end and the planning end; 2. Reasonably split and merge the game configuration. The planner will submit the configuration after checking it locally. The configuration management platform will check it again and merge the configuration into the project configuration branch after confirming that it is correct. Check it again when exporting the game configuration to ensure the accuracy and consistency of the project's configuration data, improve configuration efficiency, increase code compilation speed, and reduce the size of code compilation products. 3. It facilitates the management of game configuration by the developer or planner, reduces game configuration errors, makes full use of the multi-coroutine feature, executes task operations in parallel, and realizes efficient submission and export of game configuration.

[0014] The present invention is further described below in conjunction with the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.

[0018] like Figure 1 As shown, this embodiment provides a method for implementing game configuration management based on a DevOps environment. The application population can be divided into two categories: one is developers (for example, developers use a Linux operating system and are in a DevOps environment), and the other is planners (for example, planners use a Windows operating system), thereby performing cross-system game configuration management.

[0019] The development end exports the game configuration submitted by the planning end, wherein the game configuration submitted by the planning end is submitted for management, and the game configuration exported to the development end is exported for management.

[0020] In the planning system, submit the game configuration, including: (1) Before submitting the game configuration file, the planner uses the configuration export tool to perform a compliance check on the local game configuration. Specifically, the read configuration data is compared with the specified data format for checks such as type check, naming check, data duplication check, legality check, etc.

[0021] (2) After checking that everything is correct, submit the game configuration to the configuration management platform. The configuration management platform will re-perform the configuration check when receiving the game configuration.

[0022] (3) The configuration management platform uses a third-party library to perform configuration analysis and reads the analyzed configuration data into memory.

[0023] (4) After the configuration data is read into the memory, the configuration data is checked for compliance according to the data type required by the project. Specifically, the read configuration data is compared with the data type required by the project, such as type check, naming check, data duplication check, legality check, etc. It should be noted that the data type required by the project is the total data type of all projects.

[0024] Due to the huge amount of data, the data processing volume is detected during the process of configuring data for compliance checking. When the data processing volume exceeds the threshold (the threshold is a constant and is set according to the actual application), the multi-coroutine or multi-threaded parallel processing of the programming language data inspection task is started, thereby accelerating the data processing efficiency.

[0025] (5) If data error information is found during the inspection, the error information will be counted and detailed error information will be generated. The configuration data will not be merged and the detailed error information will be provided to the planning end through a network hook or email for configuration modification and resubmission.

[0026] (6) If there is no error message during the check, merge the configuration data into the configuration branch of the corresponding project and store it on the configuration management platform.

[0027] In the development system, the game configuration is exported to the development side, including: (1) The developer uses the executable file of the configuration export tool to trigger the export of the game configuration on the configuration management platform.

[0028] (2) The configuration management platform uses a third-party library to perform configuration analysis on the project configuration branch corresponding to the executable file and reads the configuration data into memory.

[0029] (3) Subsequently, the configuration data is checked for compliance based on the data type in the executable file. Specifically, the read configuration data is compared with the data type in the executable file for checks such as type check, naming check, data duplication check, legality check, etc. It should be noted that the data type in the executable file is the specific data type of a single project, which is the game configuration for a specific project on the developer side.

[0030] Due to the huge amount of data, the data processing volume is detected during the process of configuring data for compliance checking. When the data processing volume exceeds the threshold (the threshold is a constant and is set according to the actual application), the multi-coroutine or multi-threaded parallel processing of the programming language data inspection task is started, thereby accelerating the data processing efficiency.

[0031] (4) If there is data error information, the error information will be counted and detailed error information will be generated. The game configuration will not be exported and the error information will be provided to the development side for reference through network hook or email. It should be noted that if an error message appears here, the error message will also be sent to the planning side to determine whether it is a submission error on the planning side, a data transmission error in the middle, or a processing error on the configuration management platform.

[0032] (5) If there is no error message, export the game configuration to the development end.

[0033] Therefore, the development side can export the game configuration into a data form that can be read by the project, that is, export the data according to the format required by the development side. For example, if there is a column of data named id with a value of 1 and a column of data named value with a value of 2 in the configuration table, the format exported to json is {"id":1, "value":2}.

[0034] It should be noted that in the above process, due to the huge amount of data, there may be a large number of error messages. If the error messages are sent to the planning end or the development end one by one, it will greatly affect the normal work of the development end or the planning end. Therefore, the log collection tool is used to collect and summarize the error information, and report it to the log management platform, and then the log management platform is used to uniformly alert the planning end or the development end.

[0035] The application of the present invention will be further described below: 1. Developers need to export the game configuration submitted by planners during development. If there is no configuration export tool to check, wrong data will be exported, which may cause the data to be invalid or even cause the service process to fail to start, resulting in unnecessary work and reduced work efficiency. Therefore, using a configuration export tool can solve such problems from the source.

[0036] 2. When planners submit game configurations to the configuration management platform for storage and then export them to the developer's system, the CI (automatic build) of the DevOps environment will be triggered. If CI fails due to submitting an incorrect configuration, then subsequent code and configuration submissions will cause CI to fail. After using this solution, you can check and merge the configurations after submitting them, and subsequent CI will not be affected by an incorrect submission.

[0037] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Any technician familiar with the art can make many possible changes and modifications to the technical solution of the present invention by using the above disclosed methods and technical contents without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Therefore, all equivalent changes made according to the shape, structure and principle of the present invention without departing from the content of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A game configuration management method based on a DevOps environment, characterized in that: include: The development end exports the game configuration submitted by the planning end, wherein the game configuration submitted by the planning end is submitted and managed, and the game configuration exported to the development end is exported and managed. The development end is in a DevOps environment; In the planning system, submit the game configuration, including: The game configuration is submitted to the configuration management platform, which uses a third-party library to parse the configuration and reads the parsed configuration data into memory; After the configuration data is read into the memory, the configuration data is checked for compliance according to the data type required by the project; If there is data error information during the check, the configuration data will not be merged and the error information will be provided to the planning end for configuration modification and resubmission; If there are no error messages, merge the configuration data into the configuration branch of the project; In the development system, the game configuration is exported to the development side, including: The developer uses the executable file of the configuration export tool to trigger the export of the game configuration on the configuration management platform; The configuration management platform uses a third-party library to perform configuration analysis on the project configuration branch corresponding to the executable file and reads the configuration data into memory; Subsequently, the configuration data is checked for compliance based on the data type within the executable file; If there is data error information during the check, the game configuration will not be exported and error information will be provided to the development end; If there is no error message, export the game configuration to the development end.

2. The method for implementing game configuration management based on DevOps environment as claimed in claim 1, characterized in that: The system on the development side and the system on the planning side are different systems.

3. The method for implementing game configuration management based on DevOps environment as claimed in claim 1, characterized in that: Before submitting the game configuration file, the planner uses the configuration export tool to perform a compliance check on the game configuration. After the check is correct, the game configuration is submitted to the configuration management platform.

4. The method for implementing game configuration management based on DevOps environment as claimed in claim 1, characterized in that: When configuration data errors are detected, the configuration management platform collects statistics on the error information and generates detailed error information, which is then sent to the development or planning end via a network hook or email.

5. The method for implementing game configuration management based on DevOps environment as claimed in claim 1, characterized in that: In the process of configuring data for compliance checking, the data processing volume is detected. When the data processing volume exceeds the threshold, the multi-coroutine or multi-threaded parallel processing of the programming language data checking task is started, thereby accelerating the data processing efficiency.

6. The method for implementing game configuration management based on DevOps environment as claimed in claim 1, characterized in that: During the data compliance check, the read configuration data is compared with the specified data format for inspection, including but not limited to type check, naming check, data duplication check, and legality check.

7. The method for implementing game configuration management based on DevOps environment as claimed in claim 1, characterized in that: Use log collection tools to collect and summarize error information, report it to the log management platform, and then use the log management platform to send unified alerts to the planning or development end.

8. The method for implementing game configuration management based on DevOps environment as claimed in claim 1, characterized in that: During the game configuration submission process, the data type required by the project is the total data type of all projects. During the game configuration export process, the data type in the executable file is the specific data type of a single project.