Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and storage medium for data conversion and loading of json files

A file and data technology, applied in the field of devices and storage media, JSON file data conversion and loading method, can solve the problems of increasing the risk of manual errors, affecting the user's game experience, reducing the efficiency of game operation, etc., to reduce the risk of manual errors , Simplify the process of writing the acquisition method, and improve the effect of operating efficiency

Active Publication Date: 2021-06-01
苏州紫焰网络科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Generally, programmers will manually analyze the configuration file, and then write the corresponding configuration method in the game program. This method takes a lot of time and effort, and also increases the risk of manual errors; When the program is running, the required configuration files are parsed and loaded. Even if a lightweight and compact data format or scripting language is used, it will still increase the memory required for the game program to run. Especially for mobile game products, the game running efficiency will be obvious Reduced, greatly affecting the user's gaming experience

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
  • Method, device and storage medium for data conversion and loading of json files
  • Method, device and storage medium for data conversion and loading of json files
  • Method, device and storage medium for data conversion and loading of json files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0059] Reference herein to "one embodiment" or "an embodiment" refers to a particular feature, structure or characteristic that can be included in at least one implementation of the present invention. In the description of the present invention, it should be understood that the terms "first", "second", "third" and "fourth" in the de...

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 present invention relates to a data conversion and loading method, device and storage medium of a JSON file, comprising: obtaining a configuration file in JSON format; parsing the configuration file, including: reading the data content of the configuration file, and storing the data content in a Table format In the corresponding document file, the document file includes a data table and an index table; and according to the data format of the configuration file, a method for obtaining the data content in the document file is defined and stored in the corresponding configuration agent file; The identification data of the target configuration object to be loaded; read the corresponding data content according to the identification data, and directly load it into the game program. The invention can realize the automatic analysis of the configuration file and accurately load it into the game program, reduces the memory of the game, and improves the efficiency of the game operation.

Description

technical field [0001] The invention relates to the field of data conversion, in particular to a method, device and storage medium for data conversion and loading of JSON files. Background technique [0002] In the game development process, the game configuration file provided by the planner is generally JSON (JavaScript Object Notation, a lightweight data exchange format) file, and LUA (a small scripting language) needs to be called when running the game program LUA files can not only improve the response speed, but also can be compiled and run on almost all operating systems and platforms, thereby realizing the configurability and scalability of the game. [0003] Generally, programmers will manually analyze the configuration file, and then write the corresponding configuration method in the game program. This method takes a lot of time and effort, and also increases the risk of manual errors; When the program is running, the required configuration files are parsed and lo...

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 Patents(China)
IPC IPC(8): G06F8/71G06F8/61
CPCG06F8/61G06F8/71
Inventor 宋大伟邹黎盛
Owner 苏州紫焰网络科技有限公司