Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data coding and decoding method and its coding and decoding device

An encoding/decoding method and an encoding/decoding technology are applied in the encoding/decoding method of structured binary code stream and the field of the encoding/decoding method to achieve the effect of enriching the data editing interface

Inactive Publication Date: 2008-07-09
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is to provide a data coding and decoding method and its codec, which is used to solve the shortcomings of the prior art that the test code and test tools need to be recompiled when the data changes

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
  • Data coding and decoding method and its coding and decoding device
  • Data coding and decoding method and its coding and decoding device
  • Data coding and decoding method and its coding and decoding device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The invention proposes a new data encoding and decoding method, and the codec realized by this method can realize the encoding and decoding of the structural data by extracting the structure definition information in the tested software object. The main steps of this new data encoding and decoding method are as follows:

[0048] Step A1: extract the definition information of the data structure, and generate structure information data expressed in a custom XML format;

[0049] Step A2: Edit the data of the structure member field through the editing interface;

[0050] Step A3: Call the coding interface to construct the code stream data of the structure.

[0051] Among them, the main function of step A1 is to extract the structure definition information of the structured data. For the extraction method, a corresponding extraction method can be adopted for different structure definition methods. In the example description of the present invention, the structure defined by...

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

This invention discloses a data code and decode method and a code-decode device, in which, said method includes: picking up the definition information of a data structure in tested objects to generate structure information data expressed in a self-defined format, fetching the structure member field data in the format elements and compiling the data by a data compiling interface,calling the interface of a universal encoder and making up of the binary code stream data by the structure information data and member field data and getting the structure member field data from the code stream data to decode.

Description

technical field [0001] The invention relates to a general data encoding and decoding method, in particular to a encoding and decoding method of a structured binary code stream and an encoding and decoding device thereof. Background technique [0002] In the process of software development, there are indispensable software testing activities, which include white box testing in the coding stage, integration testing between software subsystems and system testing of software products. [0003] In the currently popular commercial white-box testing tools for C / C++, such as CppUnit, RationalTest RealTime, etc., the construction of unit test data, especially the data construction of complex structures, is carried out in code or scripts. The method of assigning values ​​to the structure member fields generates the static code of the corresponding data structure and compiles it together with the tested code to achieve the purpose of white-box testing of the tested code; on the other h...

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): G06F11/36G06F9/45
Inventor 尤培刚马军肖遂
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products