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

A Data Compression Coding Method Based on Partial Huffman Tree

A coding method and data compression technology, applied in the direction of code conversion, electrical components, etc., can solve the problem of no contribution of the coding table and affect the efficiency of the algorithm, and achieve the effects of eliminating redundant calculations, improving coding efficiency, and reducing the amount of calculations

Active Publication Date: 2017-05-17
INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] 1) This method requires a large number of sorting operations in each recursive process. In the final Huffman tree, all nodes are arranged in order. This arrangement needs to be supported by a large number of comparison operations. The efficiency of the whole algorithm
[0017] 2) This classic Huffman coding method must construct a complete Huffman tree to encode. Theoretical research shows that the relationship between the nodes in the Huffman tree and the ordering of the nodes in the layer do not contribute to the generation of the coding table.

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 Data Compression Coding Method Based on Partial Huffman Tree
  • A Data Compression Coding Method Based on Partial Huffman Tree
  • A Data Compression Coding Method Based on Partial Huffman Tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0086] 1. Randomly select a piece of English text and count the English characters that appear in it. Table 1 shows the statistical results of the number of occurrences of each character.

[0087] Table 1 Statistical table of the number of occurrences of characters

[0088] character The number of occurrences "H” 8 "M” 10 "A” 11 "Q” 3 "K” 9

[0089] "F” 10 "D” 11 "C” 5 "N” 5 "B” 7 "P” 4 "E” 11 "Y” 4 "S” 2

[0090] 2. Calculate the probability boundary between layers according to the precoding method, divide the characters into corresponding layers according to the range of their probability, and generate the precoding table shown in Table 2.

[0091] 3. As can be seen from Table 2, the precoding table has five layers, wherein the number of characters in each layer is, C 5 =4, C 4 =4, C 3 =6, the number of characters in other layers is 0.

[0092] Table 2 Precoding table

[0093] ...

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 a data compressed encoding method based on a part Hoffman tree. The data compressed encoding method comprises the steps that firstly, a rough but very simple and convenient calculation method is used for pre-allocating encoding lengths for all characters needing to be encoded, and therefore a layered encoding schedule named as a pre-encoding schedule is formed; secondly, some specific parts in the Hoffman tree are established on the basis of the pre-encoding schedule; thirdly, the encoding lengths of the characters are dynamically adjusted while the part Hoffman tree is established, and the pre-encoding schedule is modified till the pre-encoding schedule meets the conditions of an optimal encoding schedule. The encoding effect same as that of the typical Hoffman algorithm can be obtained without establishing a complete Hoffman tree. By means of the data compressed encoding method, the redundancy calculation in the typical Hoffman tree can be effectively eliminated, the encoding efficiency is improved, the data compressed encoding method is used for encoding of data, the real-time performance is improved, and meanwhile the consumption of energy is reduced.

Description

technical field [0001] The present invention relates to the field of data compression, and more particularly relates to a data compression coding method based on a partial Huffman tree, so as to realize a fast data compression coding method by constructing a partial Huffman tree. Background technique [0002] With the vigorous development of computer and network technology, the data volume of the entire network is increasing exponentially. Although computer processing speed, hard disk capacity and network bandwidth have also made great progress, it is still difficult to adapt to the speed of data growth. How to compress data smaller and faster has always been an active research direction. [0003] Entropy coding is an important way of data compression. Simply put, the connotation of entropy coding is to replace characters with a high probability of occurrence in a piece of data with shorter codewords, and corresponding characters that appear less frequently with relatively...

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/40
Inventor 台玉朋王海斌汪俊杨晓霞
Owner INST OF ACOUSTICS CHINESE ACAD OF SCI
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