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

Huffman coding method, system and equipment

A technology of Huffman coding and coding characters, which is applied in the field of digital coding, and can solve the problems of wasted storage, unfavorable hardware implementation of binary tree data storage form, and large limitations of Huffman coding.

Inactive Publication Date: 2020-11-27
山东云海国创云计算装备产业创新中心有限公司
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of Huffman coding, it is necessary to directly iteratively construct the Huffman tree, the generation process is cumbersome, and the data storage form of the binary tree is not conducive to hardware implementation, and it will also have the difficulty of large amount of calculation and waste of storage for software implementation. Makes Huffman coding more limited

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
  • Huffman coding method, system and equipment
  • Huffman coding method, system and equipment
  • Huffman coding method, system and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0068] see figure 1 , figure 1 It is a flow chart of a Huffman encoding method provided by the embodiment of this application.

[0069] A Huffman coding method provided in an embodiment of the present application may include the following steps:

[0070] Step S101: Obtain data to be encoded.

[0071] In practical applications, the data to be encoded may be obtained first, and the type of the data to be encoded may be determined according to actual needs, which is not specifically...

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 Huffman coding method, system and equipment. The Huffman coding method comprises the steps of: acquiring to-be-coded data; counting to-be-coded characters in the to-be-codeddata and the occurrence frequency of the to-be-coded characters; counting the applied times of the to-be-coded characters in the process of performing Huffman coding on the to-be-coded characters; taking the applied times of the to-be-coded characters as a code length of the to-be-coded characters; and determining a Huffman coding value of the to-be-coded characters based on the occurrence frequency of the to-be-coded characters and the code length of the to-be-coded characters, so as to perform Huffman coding on the to-be-coded data, wherein a binary tree is forbidden to be generated in the process of carrying out Huffman coding on the to-be-coded characters. According to the Huffman coding method, a binary tree does not need to be generated, and memory consumption caused by storage of the binary tree is avoided; only the applied times of the to-be-coded characters need to be recorded, the recorded content is simple and few, and software and hardware implementation is facilitated; inaddition, the efficiency of Huffman coding can be improved, and the limitation is low.

Description

technical field [0001] The present application relates to the technical field of digital encoding, and more specifically, relates to a Huffman encoding method, system, and equipment. Background technique [0002] At present, with the continuous development of science and technology, data information shows an explosive growth. With the rise of cloud computing, the advancement of artificial intelligence, the advent of the era of big data, and the increasing number of new workloads, the problem of massive data transmission and storage has attracted continuous attention. How to efficiently transmit massive data without placing too much burden on the processor The problem of load needs to be solved urgently. If the file can be pre-compressed during file transfer, it will not only save data traffic, but also reduce the transfer time; if the file is compressed before reading the disk file, the file reading rate can be increased; in a word, compressed data from a The new perspecti...

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): H03M7/40
CPCH03M7/40
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