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

Code generation method for managing game configurations and matched tool

A code generation and tool technology, applied in the field of computer science, can solve the problems of difficult file search, slow game running, complex reading logic, etc., to achieve high flexibility and controllability, reduce the probability of errors, and shorten the workflow. Effect

Active Publication Date: 2018-08-31
祖龙(天津)科技股份有限公司
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Most of the current data management tools only care about the addition, deletion and modification of the data file itself, but there is no efficient management mode for the directory structure of the project file, which leads to a series of problems: file search is difficult, data redundancy is serious, and it takes a lot of Time to manually maintain the directory structure, this problem is especially serious during team development, and the problem of file version synchronization cannot be well solved
[0006] (2) The data file lacks a unified format, and the data lacks strict type verification
[0007] At present, most game data are edited through spreadsheets or text editors such as excel. Although it is relatively easy to use, it is not software specially developed for game data editing. For game businesses with complex logic and high correlation between modules, data The correctness of the format highly affects the overall stability of the game, so when modifying data files frequently, it is very necessary to ensure the correctness of the data, but the efficiency of manual data verification is too low
[0008] (3) Directly reading configuration files in the game seriously affects the running speed of the game
[0009] Traditional game configuration data is read in the form of text files, and IO operations will greatly affect the running speed of the program. At the same time, this form of directly reading text files requires complex reading logic and is accompanied by great bug hidden dangers
[0010] (4) Using binary files to store configuration data seriously affects game development efficiency
[0011] If in order to solve the problem that the game runs slowly due to reading text configuration files, and simply use binary files instead of text files to store and read configuration data, then these configuration data will greatly reduce readability. It is necessary to take into account the various conditions and constraints of program reading when data is processed, which makes the entire data editing process boring and complicated, and it is very likely to cause planning and programs to interact with each other in modifying the same configuration file, causing problems

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
  • Code generation method for managing game configurations and matched tool
  • Code generation method for managing game configurations and matched tool
  • Code generation method for managing game configurations and matched tool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The objects and functions of the present invention and methods for achieving the objects and functions will be clarified by referring to the exemplary embodiments. However, the present invention is not limited to the exemplary embodiments disclosed below; it can be implemented in various forms. The essence of the description is only to help those skilled in the relevant art comprehensively understand the specific details of the present invention.

[0038] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings, and related technical terms should be familiar to those skilled in the art. In the drawings, the same reference numerals represent the same or similar components, or the same or similar steps, unless otherwise specified. The content of the present invention will be described below through specific embodiments. In order to explain the content of the present invention more clearly, it should be noted that the...

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 code generation method for managing game configurations. The method comprises the following steps of: a) creating a configuration description file, wherein the configuration description file comprises a data two-dimensional table and a special two-dimensional table; b) generating a file catalog structure according to the configuration description file, and generating a corresponding excel file under each catalog; c) creating a self-defined data file through a key value pair form by taking headers of the excel files as templates, and editing the self-defined data file by using an excel plugin or a shell visual data edition tool; and d) reading data from the generated excel files and the edited self-defined data file by using a code generation component, and outputting a data file used by a program so as to generate a program code. The code generation method for managing game configurations is capable of improving the high-degree automation of the whole process,has relatively high flexibility and controllability, and has the effects of shortening the working process and reducing the error probability in the file edition process.

Description

technical field [0001] The invention relates to the field of computer science and technology, in particular to a code generation method and supporting tools for managing game configurations. Background technique [0002] Computer games currently on the market usually need to frequently add, delete, and modify data files during their development stage. Due to the increasingly complex characteristics of computer game systems, new functions and requirements, and the iterative cycle of bug fixes are getting shorter and shorter. Teamwork The development efficiency of the project is particularly important. At this time, the management of project configuration data files has become a key factor affecting the development efficiency and quality. [0003] However, currently known game data management systems have the following deficiencies: [0004] (1) The data file directory structure is messy and the maintenance cost is high [0005] Most of the current data management tools only...

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): G06F8/30G06F8/34
CPCG06F8/30G06F8/34
Inventor 吕慧钰潘玮玮莫少华白玮温珍鹏
Owner 祖龙(天津)科技股份有限公司
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