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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com