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

Encoding method, decoding method and encoding and decoding device based on extensible markup language

A technology of extended markup language and decoding method, applied in the field of computer applications, can solve the problems of energy-consuming maintenance, inflexible application, and time-consuming, etc., and achieve the effect of saving time and manpower and simplifying the production process

Inactive Publication Date: 2017-04-12
ZTE CORP
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) Obviously, the production process of the above codec plug-in is too complicated;
[0005] 2) The application is not flexible. When the message structure needs to be added or modified, the entire file needs to be recompiled. The whole process takes a lot of time and requires a lot of energy to maintain

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
  • Encoding method, decoding method and encoding and decoding device based on extensible markup language
  • Encoding method, decoding method and encoding and decoding device based on extensible markup language
  • Encoding method, decoding method and encoding and decoding device based on extensible markup language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. 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 , the encoding and decoding device provided in this embodiment mainly includes the following components: an XML message template building module, an encoding module, a decoding module and a view editing module.

[0039] Such as figure 2 As shown, the encoding process is:

[0040] 201. The XML message template construction module constructs corresponding XML message templates according to different data structures;

[0041] 202. The encoding module acquires an XML message template corresponding to the data structure to be encoded;...

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 provides a coding method, a decoding method and a coding / decoding device based on an extensible markup language (XML). The coding method comprises the following steps of: acquiring an XML message template which corresponds to a data structure to be coded; traversing the XML message template, and acquiring data members which correspond to currently-traversed nodes from data to be coded according to relevant information of data structure members stored in the currently-traversed nodes; and coding the data members to obtain coded data. In the embodiment of the invention, a coding / decoding technology based on the XML is adopted, so that the plug-in making process is simplified greatly, and edition of the XML in a graphical interface is simpler than compiling of ASN (Abstract Syntax Notation) codes. Moreover, due to the adoption of the embodiment of the invention, the message structure can be added or modified by only increasing or modifying the XML message template without compiling any plug-in, and a large amount of time and labor force can be saved on the aspects of application and maintenance.

Description

technical field [0001] The present invention relates to the field of computer application technology, in particular to an encoding method, decoding method and encoding and decoding device based on Extensible Markup Language. Background technique [0002] At present, plug-ins are usually used to implement encoding and decoding. The production process of the plug-in is generally as follows: first, adjust the compiler, then compile the ASN file, then convert it into a C source file, and finally compile it into a dynamic link library for application programs to call. [0003] This plug-in production method mainly has the following two shortcomings: [0004] 1) Obviously, the production process of the above codec plug-in is too complicated; [0005] 2) The application is not flexible. When the message structure needs to be added or modified, the entire file needs to be recompiled. The whole process takes a lot of time and requires a lot of energy to maintain. Contents of the i...

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): G06F9/45
Inventor 程宇张祎强
Owner ZTE CORP