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

An integer coding method, device and storage medium

An encoding method and integer technology, applied in the computer field, can solve the problems of large code table, high encoding difficulty, and low efficiency of integer encoding compression

Active Publication Date: 2020-07-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, Huffman (Huffman) coding is generally used for integer compression. However, when using Huffman (Huffman) coding to encode integers, if the range of integers is too large (such as the maximum value of the range is 2 to the power of 32 or even 2 to 64 power), the required code table will be large and difficult to encode, resulting in relatively low encoding and compression efficiency for integers

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
  • An integer coding method, device and storage medium
  • An integer coding method, device and storage medium
  • An integer coding method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0032] Embodiments of the present invention provide an integer encoding method, device and storage medium. The details will be described respectively below. This embodiment will be described from the perspective of an integer encoding device. Specifically, the integer encoding device may be integrated in a terminal, and the terminal may be a mobile phone, a tablet computer, a notebook computer, and other devices.

[0033] An integer encoding method, comprising: obtaining a pl...

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 embodiment of the invention discloses a method, a device and a storage medium for the integer coding. The embodiment of the invention comprises the following steps: obtaining multiple target sample integers; obtaining the probability that each target sample integer appears in a sample integer set to obtain the occurrence probability corresponding to each target sample integer; constructing aninteger sequence according to each target sample integer and occurrence probability corresponding to the target sample integer; dividing the integer sequence according to the occurrence probability corresponding to the target sample integer, and constructing an integer code book based on the division result; coding the corresponding integer based on the integer code book; the sequence elements ofthe integer sequence comprise the target sample integer and occurrence probability corresponding to the target sample integer. The scheme can construct the integer code book according to the sample integer and occurrence probability corresponding to the sample integer. The integer code book constructed by this scheme is moderately sized. The difficulty of coding compression can be reduced and thecoding compression efficiency of integers can be improved by coding the integer using the integer code book.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an integer encoding method, device and storage medium. Background technique [0002] Currently, in order to reduce the amount of data, the data may be compressed and encoded. For example, image data can be correspondingly encoded to reduce the amount of data required to represent a digital image, so as to facilitate image storage and transmission. [0003] Integer compression is a very important topic at present. The so-called integer compression is to encode the corresponding integers such as decimal integers to achieve the effect of compressing data. At present, Huffman (Huffman) coding is generally used for integer compression. However, when using Huffman (Huffman) coding to encode integers, if the range of integers is too large (such as the maximum value of the range is 2 to the power of 32 or even 2 to 64 power), the required code table will be very large and the...

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/40G06T9/00
CPCG06T9/00H03M7/40H04N19/70H04N19/90
Inventor 龚逸玲
Owner TENCENT TECH (SHENZHEN) CO LTD