Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data compression method

A technology of data compression and data compression package, which is applied in the direction of transmission system, electrical components, etc., can solve the problems of complex compression algorithm and difficulty in meeting the application requirements of industrial equipment, so as to reduce the transmission volume, reduce the number of bytes occupied, and meet the Effect of Transfer Request

Active Publication Date: 2020-11-10
上海星秒光电科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, traditional compression algorithms such as dictionary algorithm, fixed bit length algorithm, RLE algorithm, Huffman algorithm and LZ77 algorithm are usually used to compress data. The above-mentioned traditional compression algorithms have the characteristics of wide application range and high efficiency. However, the traditional compression algorithms mentioned above are all static data compression algorithms, and their application has certain requirements on the computing power and storage capacity of the equipment. Due to the limitation of the computing level and storage capacity of industrial equipment, the traditional compression algorithms are too complicated to meet Application requirements of industrial equipment

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 compression method
  • Data compression method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] The present embodiment provides a data compression method, comprising the following steps:

[0061] S1. Get the data packet, which includes multiple data (D 1 ,D 2 ,...,D n ), where D 1 、D 2 ,...,D n are data respectively, and n is the total number of data.

[0062] S2. Initialization parameter setting, wherein, the initialization parameter includes a compressed data packet (may also be: DataCompress), and the initial value of the compressed data packet is a null value.

[0063] S3. Poll each data in the data packet, and construct the current data compression packet according to the continuous state of the current data, the current data compression packet includes continuous data compression packet and / or non-continuous data compression packet, until all the data in the data packet After polling once, polling ends.

[0064] S4. Storing all continuous data compressed packages and / or discontinuous data compressed packages into the compressed initial data packages s...

Embodiment 2

[0068] This embodiment provides a data compression method, such as figure 1 shown, including the following steps:

[0069] S1. Get the data packet, which includes multiple data (D 1 ,D 2 ,...,D n ), where D 1 、D 2 ,...,D n are data respectively, and n is the total number of data.

[0070] S2. Initialization parameter setting, wherein, the initialization parameter includes a compressed data packet (may also be: DataCompress), and the initial value of the compressed data packet is a null value.

[0071] Specifically, the initialization parameters in step S2 also include:

[0072] Data segment type tag bit (can also be: DataTag), the number of continuous data in the current continuous data segment (also can be: DataCountCont), the number of discontinuous data in the current non-continuous data segment (can also be: DataCountUncont) , the start data of the continuous data segment (also can be: DataStart), the non-continuous data segment array (also can be: DataSection) 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 relates to the technical field of industrial equipment data processing, and aims to provide a data compression method which comprises the following steps: S1, acquiring a data packet; S2, initializing parameter setting; S3, polling each data in the data packet, constructing a current data compression packet according to the continuous state of the current data, the current data compression packet comprising a continuous data compression packet and / or a non-continuous data compression packet, and ending the polling until all data in the data packet is polled once; and S4, sequentially storing all continuous data compression packets and / or discontinuous data compression packets into the compressed initial data packet to form a final data compression packet. According to the invention, the continuity and non-continuity characteristics of the data acquired by industrial equipment are utilized to poll each piece of data in the data packet, and then the current data compressionpacket is constructed according to the continuous state of the current data, so that the byte number occupied by the data can be effectively reduced under the condition of keeping the data undistorted.

Description

technical field [0001] The invention relates to the technical field of industrial equipment data processing, in particular to a data compression method. Background technique [0002] During the operation of industrial equipment, industrial equipment collects relevant data in real time and can generate massive amounts of data in a short period of time. Due to the limitation of transmission rate, these data cannot be uploaded to the host computer within an effective time, so these data need to be compressed. [0003] In the prior art, traditional compression algorithms such as dictionary algorithm, fixed bit length algorithm, RLE algorithm, Huffman algorithm and LZ77 algorithm are usually used to compress data. The above-mentioned traditional compression algorithms have the characteristics of wide application range and high efficiency. However, the traditional compression algorithms mentioned above are all static data compression algorithms, and their application has certain r...

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 上海星秒光电科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More