A data conversion method and system
A data and data set technology, applied in the field of data processing, which can solve the problems of cumbersome and error-prone
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 A flow chart of a data conversion method provided in Embodiment 1 of the present invention; the method can be executed by a data conversion system, and based on the system, it can be implemented by software and / or hardware, such as figure 1 As shown, the methods described include:
[0024] S110: Define each data set through an extensible markup language.
[0025] In this embodiment, the data type, data sequence, data size, and data length in the data set are defined by extensible markup language. For example, the data type of the data set defined by XML may be an integer value, the size of the defined data is 8 bytes, and the like.
[0026] S120: Process the definition of each data set, and generate various intermediate data corresponding to each data set.
[0027] In this embodiment, the processing defined for each data set is executed through a data set preprocessing program. The intermediate data includes the definition file of Protocol Buffer correspond...
Embodiment 2
[0057] Figure 4 It is a structural block diagram of a data conversion system provided in Embodiment 2 of the present invention, and the application of the data conversion system can perform data conversion, such as Figure 4 As shown, the system includes: a data definition module 401 , an intermediate data generation module 402 , a dynamic link library generation module 403 and a Protocol Buffer object operation module 404 .
[0058] The data set definition module 401 is used to define each data set through the extensible markup language, wherein the data set definition module 401 is specifically used to: use the extensible markup language to define the data type, data order, data size and The data length is defined.
[0059] The intermediate data generating module 402 is configured to process the definition of each data set and generate various intermediate data corresponding to each data set.
[0060] In this embodiment, the intermediate data includes the definition file ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


