Nondestructive compressing method, uncompressing method, compressing device and uncompressing device for integer data
An integer data, lossless compression technology, applied in electrical components, code conversion and other directions, can solve problems such as insufficient compression effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] This embodiment provides a lossless compression method for integer data, such as figure 1 As shown, the method includes:
[0073] Bit reorganization process 101: read the original integer data sequence; determine the total number of original bits, which is the number of bits corresponding to the complete binary code of the original integer data; for the total number of original bits For each bit in the bit, the code value of the bit in the complete binary code of all original integer data is extracted in turn to obtain the binary code string corresponding to the bit; The binary code strings corresponding to all bits are arranged to obtain a bit-recombined binary code sequence; with the first set number of code values as a set of complete binary codes, sequentially extract each group of code values in the bit-recombined binary code sequence and Determining the corresponding integer data, and forming the determined integer data into a bit-rearranged integer data sequen...
Embodiment 2
[0110] This embodiment provides a method for decompressing integer data, which corresponds to the lossless compression method for integer data provided in Embodiment 1, as shown in figure 2 As shown, the method includes:
[0111] Basic information analysis process 201: analyze the basic information of the compressed file, and obtain the total number of original integer data stored in the basic information of the compressed file, the total number of original bits, the order of set bits, the first set number, the second set fixed number;
[0112] Decoding process 202: perform the following decoding process on the binary compressed file: sequentially read an unread code value; when it is determined that the unread code value is a mark encoding mode marker, decode the subsequent code value according to the mark decoding mode, Until the second set number of decoded integer data is obtained; when it is determined that the unread code value is a conventional encoding mode marker, t...
Embodiment 3
[0127] In this embodiment, the total number of original integer data is M (M is a natural number), the total number of original bits is 16 (the highest bit is the 16th bit, and the lowest bit is the first), and the order of the bits is set from the highest bit The sequence from bit to lowest bit, the first set number is 8, and the second set number is N (N is a natural number) as an example to describe the lossless compression method and decompression method for integer data provided by the present invention:
[0128] Such as image 3 As shown, the integer data lossless compression method and decompression method provided by this embodiment include the following processes: preprocessing process, bit reorganization process, data block division and basic information generation process, encoding process, basic information analysis process, decoding process process, bit recovery process, anti-preprocessing process.
[0129] In this embodiment, the preprocessing process uses the w...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com