Data compression method, device and system and server

A data compression and server technology, applied in the computer field, can solve problems such as compression time and waste of system resources, and achieve the effect of improving compression speed

Active Publication Date: 2012-10-31
BEIJING QIHOO TECH CO LTD
View PDF3 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a data compression method, device, system and server to solve the problems of compression ti

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

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0055] In Example 1, when compressing data, the average compression ratio of files in rmvb format is between 95% and 100%. Therefore, files in rmvb format need to be compressed using storage compression, and the average compression ratio of other files is If it is less than 90%, use the zip compression algorithm and standard compression methods to compress other files.

example 2

[0056] Example 2, when compressing data, the average compression rate of the files in mp3 format is between 90% and 95%. Therefore, the files in mp3 format need to be compressed using the zip compression algorithm and fast compression method. Others If the average compression rate of the file is less than 90%, use the zip compression algorithm and standard compression method to compress other files.

example 3

[0057] Example 3, when compressing files in jpg format, the average compression rate of files in jpg format is between 90% and 95%. Therefore, files in jpg format need to be compressed using the 7z compression algorithm and fast compression method.

[0058] It can be seen from the above examples that the embodiment of the present invention can increase the compression speed as much as possible under the condition that the loss of the compression ratio is not greater than 5%.

[0059] The foregoing technical solutions of the embodiments of the present invention will be described in detail below. The data compression method according to the embodiment of the present invention includes the following processing:

[0060] Step 1. When the user uses the compression tool and the compression method is set to "standard compression method", record the user's compression algorithm, file format, total file size of this format, number of files and compression rate;

[0061] Step 2, sendin...

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, device and system and a server. The data compression method comprises a calling module, an acquisition module and a compression module, wherein the calling module is used for calling a pre-stored compression mode configuration table including the corresponding relationship between file types and compression modes; the acquisition module is used for acquiring the file types of data and determining whether the compression modes corresponding to the file types exist or not according to the compression mode configuration table, and if yes, acquiring the compression modes corresponding to the file types; and the compression module is used for compressing data to be compressed according to the compression modes acquired by the acquisition module. By virtue of the technical scheme provided by the invention, suitable compression modes can be automatically configured for users, and the compression speed is increased under the condition that the compression ratio is almost not lost, so that both the compression time and the system resource are saved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data compression method, device, system and server. 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 ...

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): H04L29/06
Inventor 向明王海洋郑相振阮卫挺
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products