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

Compression method and device and decompression method and device and equipment

A technology of compression method and compression algorithm, which is applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of small compressed blocks, large compressed blocks, and decompressed blocks that do not include compressed blocks, so as to achieve easy realization and easy Obtain and provide the effect of efficiency

Inactive Publication Date: 2017-03-15
HANGZHOU HUAWEI DIGITAL TECH
View PDF2 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If an incomplete compressed package is sent to a stateless hardware decompression accelerator for decompression, the decompressor will regard a part of the data in the back of the incomplete compressed package as the verification part, and use this data that is considered as the verification part to perform Checking results in a parsing error when the stateless hardware decompression accelerator decompresses, so the incomplete compressed package cannot be decompressed successfully when sent to the stateless hardware decompression accelerator
However, the compression of each file block is not the same, which may cause some compressed blocks to be relatively large and some compressed blocks to be relatively small. When decompressing a compressed file, the compressed file is usually divided into multiple decompressed blocks for decompression , which results in some decompressed blocks not including complete compressed blocks, unable to decompress

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
  • Compression method and device and decompression method and device and equipment
  • Compression method and device and decompression method and device and equipment
  • Compression method and device and decompression method and device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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 persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0047] It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" a...

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 compression method and device and a decompression method and device and equipment. The method comprises the steps of receiving m file blocks sent by upper layer application software, wherein the m file blocks form original files, and m is a positive integer bigger than zero; conducting compression on each compression block in the m file blocks according to a compression algorithm so as to obtain m compression blocks; calculating the size of each compression block in the m compression blocks; conducting associated storage on the size of the m compression blocks and the size of the each compression block in the m compression blocks so as to obtain compression files. According to the compression method and the decompression method, the purpose that a complete compression block is obtained from a decompression block is achieved, and decompression is conducted on the complete compression block.

Description

technical field [0001] The invention relates to file compression technology, in particular to a compression and decompression method, device and equipment. Background technique [0002] Data compression refers to reorganizing data according to a certain algorithm without losing useful information, reducing data redundancy, reducing storage space, and improving transmission, storage, and processing efficiency. When compressing a file with a large amount of data, due to the limited memory space of the terminal, it is impossible to read the entire file into the memory for compression operation at one time. Therefore, the existing compression method usually divides the complete file into multiple The file blocks are compressed separately to obtain multiple compressed blocks, and the multiple compressed blocks are spliced ​​to obtain a compressed file. [0003] Since the stateless hardware decompression accelerator will regard each input data as a complete compressed package, if...

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
IPC IPC(8): G06F17/30
CPCG06F16/1744
Inventor 刘晓赵亚芳覃展斌杨胜凯
Owner HANGZHOU HUAWEI DIGITAL TECH