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

Dynamic lossless compression method of JSON data packet

A lossless compression, JSON technology, applied in electrical components, transmission systems, etc., can solve problems such as unsatisfactory compression effects, and achieve the effect of reducing bandwidth and improving compression ratio.

Inactive Publication Date: 2018-06-12
徐工汉云技术股份有限公司
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The processing method is to process the repeated key or value in the JSON data, which can achieve the purpose of compression, but when there are too many attributes in the JSON data or the attributes are too long, the compression effect is not ideal

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
  • Dynamic lossless compression method of JSON data packet
  • Dynamic lossless compression method of JSON data packet
  • Dynamic lossless compression method of JSON data packet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Hereinafter, the present invention will be further described through specific embodiments in conjunction with the accompanying drawings.

[0030] Such as figure 1 As shown, a dynamic lossless compression method for JSON data packets, this method has four parts: scanner, encoder, format checker, and decoder. First, before the data sender sends the JSON data packet, the scanner will scan all the keys and values ​​in the JSON data packet, and record the repeated key and value. At the same time, the scanner will also record the value of the key that is too long for future The encoder compresses it appropriately; secondly, the encoder will process the scanned results. In the case of repeated key and value, the encoder will record them into the data dictionary, distinguish them with unique serial numbers, and replace the original JSON with serial numbers The key and value in the data packet, if the key value is too long, the encoder also records it in the data dictionary and...

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 a dynamic lossless compression method of a JSON data packet, and relates to the field of communication protocol and data compression. The method includes a JSON packet compression process and a JSON packet decompression process; the JSON packet compression process is completed by a scanner, an encoder and a format checker; the JSON packet decompression process is completedby the format checker and a decoder. The dynamic lossless compression method effectively reduces the size of JSON data, when the JSON data packet is larger, the compression effect is better, and the compression ratio is higher.

Description

technical field [0001] The invention relates to the fields of communication protocols and data compression, in particular to a dynamic lossless compression method for JSON data packets. Background technique [0002] JSON is a lightweight data interchange format. It is based on a subset of ECMAScript and uses a text format that is completely independent of the programming language to store and represent data. The simplicity and clear hierarchy make JSON an ideal data interchange language. It is easy for people to read and write, and it is also easy for machines to parse and generate, and it can effectively improve the efficiency of network transmission. So JSON often replaces XML to transmit data between server and client. However, when the amount of transmitted data is too large, the disadvantages of JSON in mobile Internet applications also follow, resulting in excessive consumption of network resources such as traffic and bandwidth. [0003] In response to the above pr...

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): H04L29/06
CPCH04L69/04
Inventor 张启亮韩键黄凯
Owner 徐工汉云技术股份有限公司
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