Method and systems for data conversion

A data conversion module and data technology, applied in the direction of program control devices, etc., can solve problems such as inability to guarantee real-time performance, inability to achieve rapid conversion, low efficiency, etc., to avoid the process of recompilation and release, and quickly respond to customer needs. Changes, the effect of reducing time overhead

Active Publication Date: 2014-02-19
MAIPU COMM TECH CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that it needs to be compiled after the coding is completed, and the system must be re-released and run to support data compatibility.
However, this process is very time-consuming, and its input-output ratio is very low, seriously affecting efficiency and failing to respond to customer needs in a timely manner
[0006] Although the current general data conversion method is feasible, it cannot achieve fast conversion
Because most of the programming languages ​​used in system development at this stage require compilation, linking and other processes. For these systems, data conversion means recompilation and release of versions. This method is inefficient, especially in debugging scenarios. data conversion, real-time performance cannot be guaranteed

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 and systems for data conversion
  • Method and systems for data conversion
  • Method and systems for data conversion

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0054] Specific embodiment one: the specific process of mapping the data structure of the first system and the data structure of the second system to be compatible is as follows: define a user data structure in the basic script of the first system as follows: userName, userAge; And the user data structure defined in the extension script corresponding to the second system to be compatible is as follows: name, age; at this time, name is mapped to userName, and age is mapped to userAge; and, the extension script will be passed in The corresponding data of other systems are mapped and transformed, and stored in the data structure of the first system. For example: after format conversion, the data of other systems is transferred to the extended script as: [{name:'Zhang San',age:20}], when doing mapping conversion, assign the value of name to userName, and assign the value of age to The value is given to userName, and the data after the final mapping conversion is: [{username:'Zhang...

specific Embodiment

[0056] In the above embodiments of the present invention, the data structure of the second system to be compatible is converted to the first system, and at the same time, the data structure of the first system can also be converted to the second system to be compatible, and the conversion method is the same. The difference lies in the above-mentioned conversion to the first system after acquiring data from the second system to be compatible. The following describes how to convert the data structure of the first system to the second system to be compatible, and send the converted data to the second system to be compatible by calling the interface provided by the second system to be compatible; specific examples are as follows :

[0057] The data with personnel information in the first system is:

[0058]

[0059]

[0060] The data structure stored in the first system is:

[0061] {name: "Zhang San", age: 22, job: "IT"}.

[0062] Now it is necessary to push the data of ...

specific Embodiment 3

[0071] Specific embodiment three: Of course, for more complex situations, such as when the same data needs to be pushed to different systems, it can be done by means of an extended script.

[0072] for example:

[0073] Data is pushed to system 2, system 3, system 4...

[0074] The method is as follows:

[0075]

[0076] The extension script of the second system is as follows:

[0077]

[0078] The extension script of the third system is as follows:

[0079]

[0080]

[0081] and so on. Both these extension scripts and the main script of the first system are stored on the first system, requiring

[0082] Feel free to expand as needed.

[0083] A data conversion method and system, the main purpose of which is to convert data between different systems through scripts, solve the problem of data structure differences between different systems, and make the data of different systems compatible with each other.

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 and systems for data conversion, and belongs to the technical field of computer application software. The method comprises the following steps that A, a basic script of a first system is created, and a data structure required by the first system is defined in the basic script; B, an expansion script corresponding to a second system to be supported is established, a data structure required by the second system to be supported is defined in the expansion script, and the corresponding relation between the second system to be supported and the expansion script is stored. The method and systems have the advantages that the characteristic of interpretive execution of the scripts is adopted, the scripts are adopted to do data conversion, and the processes of recompilation and releasing are avoided. Expenditure of time brought by recompilation and releasing is reduced, efficiency is improved, the method and systems are especially suitable for data conversion testing under a debugging scene, and requirement changes can be responded to in time.

Description

technical field [0001] The invention relates to the technical field of computer application software, in particular to a data structure conversion method and system. Background technique [0002] With the popularity of the Internet, application software has entered a period of rapid development, and the relationship between application software systems has gradually become closer. The demand for multiple application systems to cooperate with each other to provide rich functions is also becoming stronger and stronger. However, in the process of exchanging data between multiple different application systems, data structures between systems often do not match. In view of this situation, the common method is to do data conversion. Currently, the more commonly used method is to use the language used for system development to perform data conversion. However, this method has certain limitations. [0003] For the data conversion between different systems, the programming language ...

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): G06F9/44
Inventor 杨斌
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products