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

Method and device for decompressing files

A file compression and decompression technology, which is applied in the input/output process of data processing, instruments, input/output to record carriers, etc. The effect of compression time

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

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem of many times of IO operations in the decompression process in the prior art, the embodiment of the present invention provides a method for decompressing files, which can classify decompressed files, and then select an appropriate decompression method to decompress the file Compress the package, thereby reducing the number of IO operations, reducing the decompression time, and improving the decompression efficiency

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
  • Method and device for decompressing files
  • Method and device for decompressing files
  • Method and device for decompressing files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The embodiment of the present invention provides a method for decompressing files, which can classify decompressed files, and then select an appropriate decompression method to decompress the file compressed package, thereby reducing the number of IO operations, reducing the time for decompression, and improving understanding. Compression efficiency. The embodiment of the invention also provides a corresponding device. Each will be described in detail below.

[0026] 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.

[0027] ...

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 file decompression method, which comprises the following steps: reading a central directory record terminator from a compressed file archive to be decompressed; reading the number of compressed files in the compressed file archive from the central directory record terminator; if the number of the compressed files is larger than a first threshold value, determining a data volume mean value of the compressed files in the compressed file archive according to the number of the compressed files; determining a decompression strategy matched with the compressed file archive according to the data volume mean value of the compressed files, and decompressing the compressed file archive by adopting the decompression strategy matched with the compressed file archive. According to the file decompression method, files to be decompressed can be classified, and then a proper decompression method is selected to decompress the compressed file archive, so that the number of times of IO (Input / Output) operation is reduced, the decompression time is reduced, and the decompression efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of decompression, in particular to a method and device for decompression of files. Background technique [0002] In order to save storage resources or save network bandwidth, data compression technology has been widely used at present. [0003] Data compression refers to reducing the amount of data to reduce storage space without losing useful information, improving its transmission, storage and processing efficiency, or reorganizing data according to a certain algorithm to reduce data redundancy and storage space a technical method. [0004] Corresponding to data compression is data decompression. When you need to use the corresponding data, you need to decompress the data. Data decompression is to restore a document, file and other things compressed by software to the state before compression. [0005] In the prior art, when data is decompressed, the decompression method often does not match the compres...

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): G06F3/06
CPCG06F3/061G06F3/0643
Inventor 刘华星
Owner TENCENT TECH (SHENZHEN) CO LTD
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