Method and device for data compression

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-06-03
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
  • Method and device for data compression
  • Method and device for data compression
  • Method and device for data compression

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order 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, the present invention provides a data compression method and device. The technical solution of the embodiment of the present invention can compress Mode, automatically select the appropriate compression configuration for the user, so as to achieve the user's compression purpose. The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0030] method embodiment

[0031] According to an embodiment of the present invention, a data compression method is provided, figure 2 It is a flow chart of the data compression method of the embodiment of the present invention, such as figure ...

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 method and a device for data compression. The device comprises a calling module for calling a compression data statistic table, a selection module and a compression module, wherein one-to-one corresponding relations among data format, compression configuration and compression effect information are stored in the compression data statistic table; the selection module is used for acquiring corresponding compression effect information from the compression data statistic table according to the data format of data to be compressed and the compression mode selected by a user and selecting the compression configuration corresponding to the compression mode according to the compression effect information, and the compression mode comprises a compression speed priority mode and a compression volume priority mode; the compression module is used for compressing the data to be compressed according to the compression configuration and acquiring a compressed data packet. Based on the technical scheme of the method and the device for data compression, the most appropriate compression configuration can be automatically matched for users according to the requirements of the users, so that the purposes of having the fastest compression speed or minimal compression volume and improving the use experience of the users can be achieved.

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
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