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

LZW-based lossless data compression and decompression method, and LZW encoder and decoder

A lossless data compression and data stream technology, applied in code conversion, electrical components, etc., can solve problems such as high algorithm complexity, incompatibility with standard algorithms, and reduced compression performance

Active Publication Date: 2018-11-06
PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although these methods can achieve certain results, the complexity of the algorithm is high, and the compression performance will be reduced. More importantly, due to the modification of the encoding rules and data format, it cannot be compatible with the standard algorithm, so the practicability is compromised.

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
  • LZW-based lossless data compression and decompression method, and LZW encoder and decoder
  • LZW-based lossless data compression and decompression method, and LZW encoder and decoder
  • LZW-based lossless data compression and decompression method, and LZW encoder and decoder

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solution and advantages of the present invention more clear and understandable, the present invention will be further described in detail below in conjunction with the accompanying drawings and technical solutions.

[0034]It is very prone to transmission errors for lossless data compression systems, which limits its applicability in fields such as noisy wireless channels and file systems that may be damaged. format, providing a lossless data compression method based on LZW, including the following steps:

[0035] S01) read the string to be compressed, decompose the string to be compressed into an original phrase sequence, encode and match the original phrase sequence with the data items in the dictionary, output corresponding characters according to the matching result, and obtain a compressed data stream;

[0036] S02) Select two non-negative integers as embedded parameters K and L, and divide the preset message into continuous ...

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 an LZW-based lossless data compression and decompression method, and an LZW encoder and decoder. The compression comprises the following steps: reading a character string to be compressed, decomposing the character string to be compressed into a sequence of original phrases, performing coding matching on the sequence of the original phrases and the data in a dictionary, outputting the corresponding characters according to a matching result and obtaining a compressed data stream; selecting two non-negative integers as embedded parameters K and L, dividing a preset message into successive groups of data blocks, wherein each group of data blocks comprises two sub-blocks, and each sub-block is represented by parameters k and l; and embedding the data blocks in the compressed data stream according to k and l and generating a final compressed data stream. According to the LZW-based lossless data compression and decompression method in the invention, for the LZW compressed data stream, a partially encoded codeword is selected and the length of the corresponding compressed character string is dynamically adjusted; the extra message bit is embedded by using the dynamically adjusted codeword phrase mode; under the premise without affecting the overall compression performance of the LZW algorithm, the compatibility and the practicability are strong as the coding rule and the data format are not changed.

Description

technical field [0001] The invention belongs to the technical field of data compression, and in particular relates to an LZW-based lossless data compression and decompression method, an LZW encoder and a decoder. Background technique [0002] Under the guidance of the source-channel separation theory, in the current communication system, source coding realizes the problem of communication validity, and channel coding realizes the problem of communication reliability. Due to the limitations of the separation theorem, the design idea of ​​cascade coding makes the anti-interference ability of the coded sequence of the source very weak. In fact, the lack of repair ability of adaptive data compression is a prominent shortcoming in many applications. From the analysis of the source coding mechanism, it can be seen that the data obtained by source coding is almost without redundancy. After the data is transmitted through the channel, there are often bit errors due to the influence...

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
IPC IPC(8): H03M7/30
CPCH03M7/3088
Inventor 王刚彭华靳彦青唐永旺郑治中许漫坤张波鲁志波刘倩储瑞来
Owner PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU
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