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

Decoding method and apparatus

A decoding method and decoding table technology, applied in the field of decoding methods and devices, can solve the problems of high resource consumption and low decoding efficiency, and achieve the effects of reducing resources, high decoding efficiency, and fast calculation speed

Active Publication Date: 2018-02-09
XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present disclosure provide a decoding method and device, which can solve the problems of low decoding efficiency and large resource consumption in the Huffman decoding process

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
  • Decoding method and apparatus
  • Decoding method and apparatus
  • Decoding method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0063] An embodiment of the present disclosure provides a decoding method, such as figure 1 As shown, the decoding method includes the following steps:

[0064] 101. Acquire a target bit stream.

[0065] The target bit stream includes code length information and data information, the code length information includes a code length of at least one symbol, and the data information is gene...

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 provides a decoding method and apparatus, and relates to the technical field of electronic information. The problems of low decoding efficiency and large resource consumption in a Huffman decoding process can be solved. The specific technical scheme is as follows: obtaining a target bit stream, wherein the target bit stream contains code length information and data information, the code length information contains a code length of at least one symbol, and the data information is generated by encoding original data according to the Huffman algorithm; calculating the codeword of each symbol in the at least one symbol according to the code length information; generating a decoding table according to the codeword of each symbol; and decoding the data information according to thedecoding table to obtain the original data. The decoding method and apparatus provided by the invention are applied to Huffman decoding.

Description

technical field [0001] The present disclosure relates to the technical field of electronic information, in particular to a decoding method and device. Background technique [0002] Huffman (English: Huffman) coding is a prefix coding technology, which constructs codewords according to the probability of occurrence of characters, uses shorter code representations for symbols with more occurrences, and uses longer codes for symbols with fewer occurrences. coded representation. [0003] In the process of decoding, static Huffman decoding and dynamic Huffman decoding are usually included. Static Huffman decoding, according to specific application scenarios, calculates a general character probability, builds a fixed binary tree and Huffman code table, and then decodes according to the fixed code table; dynamic Huffman decoding, for different code lengths Design multiple code tables to decode at the same time, and finally select the correct decoding value. [0004] However, in ...

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 XIAN WANXIANG ELECTRONICS TECH CO LTD
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