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

A method of data compression and decompression

A data compression and decompression technology, applied in electrical components, code conversion, etc., can solve the problems of difficult compression and difficult infrared code signal compression, and achieve the effect of efficient compression and secure data transmission.

Inactive Publication Date: 2017-05-24
刘润滋
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of information technology, the amount of various data is increasing. In order to save the time and space occupied by data storage and transmission, it is necessary to compress the data; the current compression technology is generally for voice, video, etc. The compression of files is generally lossless compression, so it is difficult to achieve very small compression. There is no significant gap between the compressed file and the uncompressed size, and it is difficult to realize the compression of infrared code signals, especially when small data packets are required. At that time, the current compression technology is difficult to meet the needs of communication

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
  • A method of data compression and decompression
  • A method of data compression and decompression

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Such as figure 1 In the illustrated embodiment, a method for data compression and decompression disclosed in the present invention, the compression process includes the following steps:

[0022] 1), data processing:

[0023] Step 1-1, quantize the continuously changing infrared input level into corresponding values ​​according to time through timing equipment, and store the quantized values ​​of high level and low level into two arrays a and b respectively in order ;

[0024] Step 1-2, respectively mark the elements with particularly large values ​​in the arrays a and b relative to other elements in the array, so that they do not participate in the averaging operation in steps 1-4 and 1-5; An element with a particularly large numerical value refers to an element that is 4 times or more larger than other elements.

[0025] Step 1-3, respectively divide all the elements in the arrays a and b by an appropriate value, so that except for the elements with particularly lar...

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 data compression and decompression technologies, in particular to the data compression and decompression technology of infrared code signals, and provides a method for data compression and decompression. The method for data compression and decompression is characterized in that an element with a specially large value is stored through double bytes, wherein the two highest bits of a first byte are type identification bits, and a negative six-bit of the first byte and a second byte are used for storing a practical value; an element of a ordinary value is stored by the double bytes, wherein the element is characterized by continuous repetition, the highest two bits of the first byte are type identifications, the negative six-bit of the first byte is used for storing the practical value, and the second byte is used for storing the continuous repetition frequency of the value; an element with an ordinary value is stored by a single byte, wherein the value is not continuously repeated, the two highest bits of the byte are type identifications, and the negative six-bit of the byte is used for storing the practical value; the decompression process is inverse operation of the compression process. The method for data compression and decompression has the advantages that infrared code signal data are efficiently compressed, and data secrecy transmission is achieved.

Description

technical field [0001] The invention relates to the technical field of data compression and decompression, in particular to a data compression and decompression technology applied to infrared code signals. Background technique [0002] With the development of information technology, the amount of various data is increasing. In order to save the time and space occupied by data storage and transmission, it is necessary to compress the data; the current compression technology is generally for voice, video, etc. The compression of files is generally lossless compression, so it is difficult to achieve very small compression. There is no significant gap between the compressed file and the uncompressed size, and it is difficult to realize the compression of infrared code signals, especially when small data packets are required. At that time, the current compression technology is difficult to meet the needs of communication. Contents of the invention [0003] The purpose of the p...

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): H03M7/30
Inventor 刘润滋宋玉兴
Owner 刘润滋