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

Data compression method and device

A data compression and data technology, applied in the computer field, can solve problems such as the inability to choose a compression algorithm, and achieve the effect of improving user experience

Active Publication Date: 2015-07-01
BEIJING QIHOO TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a data compression method and device to solve the problem in the prior art that users cannot choose a suitable compression algorithm according to their own needs due to lack of professional knowledge

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
  • Data compression method and device
  • Data compression method and device
  • Data compression method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] According to an embodiment of the present invention, a data compression method is provided, figure 2 It is the flowchart of the data compression method of the method embodiment 1 of the present invention, as figure 2 As shown, the data compression method according to the embodiment of the present invention includes the following processing:

[0045] Step 201, setting the corresponding relationship between the compression configuration and the compression mode, the compression mode includes: the speed priority mode and the volume priority mode, the speed priority mode refers to the compression method with a faster processing speed, and the volume priority mode is Refers to the compression method in which the compressed data packet is smaller in size;

[0046] The above compression configuration includes: a compression algorithm and compression parameters. In practical applications, the compression algorithms include: the rar compression algorithm in which the compres...

Embodiment 2

[0064] According to an embodiment of the present invention, a data compression method is provided, image 3 It is the flow chart of the data compression method of the second embodiment of the method of the present invention, such as image 3 As shown, the data compression method according to the embodiment of the present invention includes the following processing:

[0065] Step 301, setting the corresponding relationship among data format, compression configuration, and compression mode. The compression mode includes: speed priority mode and volume priority mode. The speed priority mode refers to a compression method with a faster processing speed. Volume priority mode refers to the compression method with smaller data packet size after compression;

[0066] Preferably, the above-mentioned compression configuration includes: a compression algorithm and compression parameters; in practical applications, the compression algorithm includes: a rar compression algorithm for compr...

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 data compression method and device. The device comprises a setting module, a determining module, a searching module and a compressing module, wherein the setting module is used for setting corresponding relation between compression allocation and a compression mode, and the compression mode comprises a speed preference mode and a volume preference mode; the determining module is used for determining the data to be compressed; the searching module is used for searching corresponding compression allocation according to the compression mode selected by a user; and the compression module is used for compressing the data to be compressed according to the corresponding compression allocation to generate compressed data packet. By the technical scheme disclosed by the invention, optimal compression allocation is automatically matched for the user according to the user requirements, so that the purpose that the compressing speed is highest or the compressing volume is smallest is achieved, and the use experience of the user is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data compression method and device. Background technique [0002] In the prior art, a compression tool changes file content and data through a certain compression algorithm, so that the data occupies less storage space. Specifically, ordinary files generally contain a certain amount of repeated data, and these repeated data often occupy multiple times the storage space. It only takes up one storage space, and when decompressing, the compressed file is restored through the corresponding decompression algorithm, which generally belongs to lossless compression. For example, if a text file contains multiple identical words "People's Republic of China", after being compressed by a compression tool, it only needs to occupy one storage space for storage, thereby achieving the purpose of shrinking the file. [0003] In addition, the compression tool can not only help users save spa...

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/30
Inventor 阮卫挺
Owner BEIJING QIHOO TECH CO LTD