XML (extensible markup language) compression method and device

A compression method and compression module technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as large data volumes, and achieve the effect of solving large data volumes

Active Publication Date: 2011-06-15
BEIJING FEINNO COMM TECH
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The invention provides a method for compressing XML, which can solve the problem of large amount of data in the process of data transmission in XML

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
  • XML (extensible markup language) compression method and device
  • XML (extensible markup language) compression method and device
  • XML (extensible markup language) compression method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] figure 1 It is a flow chart of an XML compression method in the present invention. like figure 1 Said:

[0024] Step 101, for each element in the XML document, define a corresponding byte in the data dictionary; and for each attribute in the XML document, define a corresponding byte in the data dictionary;

[0025] Step 102, the sender uses the corresponding bytes defined in the data dictionary to replace the elements and attributes in the XML document one by one, so as to realize the compression of the XML document;

[0026] Step 103, sending the compressed XML document to the receiver;

[0027] Step 104, the receiver replaces the bytes in the received XML document according to the elements and attributes defined in the data dictionary and corresponding to the corresponding bytes, so as to decompress the XML document.

[0028] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be describe...

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 an XML compression method and device. The method comprises: defining a byte in a data dictionary corresponding to each element of an XML document; defining a byte in the data dictionary corresponding to each attribute of the XML document; using the defined bytes in the data dictionary to substitute for the corresponding elements and the attributes in the XML document one by one by a sender to achieve the compression of the XML document; transmitting the compressed XML document to a receiver; and using the elements and the attributes corresponding to the bytes defined in the data dictionary to substitute for the bytes defined in the received XML document by the receiver so as to decompress the XML document. The method can solve the problem that the XML document has large data quantity during data transmission.

Description

technical field [0001] The invention relates to the technical field of data services, in particular to an XML compression method and device. Background technique [0002] Extensible Markup Language (XML, Extensible Markup Language) is a simple and general data description language. Compared with HTML language, it has stronger description ability; compared with Standard Generalized Markup Language (SGML, Standard Generalized Markup Language), it is more concise and easy to understand. Based on the above advantages, XML is widely used in various applications of the Internet. [0003] XML also has some disadvantages. When used as a transport protocol, XML requires more storage space and larger transport traffic than the corresponding binary protocol. If the binary protocol is adopted, all tags can be omitted, which can reduce the storage and transmission traffic, but the binary protocol is not as good as XML in parsing, usage and generality. [0004] This leads to the techn...

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): G06F17/30
Inventor 赖正盛
Owner BEIJING FEINNO COMM TECH
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