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

Method for converting table file based on programming language and electronic device

A programming language and file technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as error-prone and low-efficiency, and achieve the effects of less error-prone, higher efficiency, and accurate determination

Pending Publication Date: 2019-07-12
SHENZHEN DIANMAO TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a method and electronic equipment for converting form files based on programming language, aiming at solving the problem that the conversion of form files into json files is too inefficient or error-prone

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 for converting table file based on programming language and electronic device
  • Method for converting table file based on programming language and electronic device
  • Method for converting table file based on programming language and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention provides a method and electronic equipment for converting table files based on a programming language. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0038] see figure 1 , a method for converting form files based on a programming language, comprising steps:

[0039] S1. Read the table file in the target directory, and obtain the target data in the table file, and record the table content of the target data;

[0040] S2. Obtain the header ID according to the table content, and obtain the data type of each column of data in the table content;

[0041] S3. Obtain the data type of the header ID, and convert the data type of each column of data according to the data type of 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 discloses a method for converting a table file based on a programming language and an electronic device, and the method comprises the steps: reading the table file in a target directory,obtaining the target data in the table file, and recording the table content of the target data; obtaining the header ID according to the table content, and obtaining the data type of each column ofdata in the table content; acquiring the data type of the header ID, and converting the data type of each column of data according to the data type of the header ID, so that the data type of each column of data is consistent with the data type of the header ID; and enabling the converted table contents to be in one-to-one correspondence with the header IDs, converting the converted table contentsinto JSON files, and storing the JSON files. According to the method and the device, a universal configuration mode can be provided for the form file, and the close relation of the form file can be accurately determined, so that the converted JSON file is closely related to the original form file and is not easy to make mistakes.

Description

technical field [0001] The invention relates to the field of programming languages, in particular to a method and electronic equipment for converting table files based on programming languages. Background technique [0002] A spreadsheet file refers to a common Excel file, wherein an Excel file is an office software developed by Microsoft, which can run on systems such as Microsoft Windows, Windows Phone, Mac series, iOS, and Android. Like other office applications, it includes federated servers and Internet-based services. [0003] When creating a game character, the attribute information of the game character is often configured through a table file, for example, configuring the equipment of the game character (props that the game character can purchase in the game), configuring the color of the game character’s clothes or configuring the game character life value and so on. [0004] However, when configuring the attribute information of the game character through a tabl...

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
IPC IPC(8): G06F17/22
CPCG06F40/151
Inventor 孙悦李天驰
Owner SHENZHEN DIANMAO TECH CO LTD