Method and apparatus for compressing and decompressing file

A file compression and decompression technology, applied in electrical components, code conversion, pulse modulation TV signal transmission, etc., can solve the problem of not being able to alleviate the compression ratio and compression rate well, and achieve the effect of alleviating the compression ratio and compression rate.

Inactive Publication Date: 2009-01-28
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a file compression method and device to solve the problem that the contradiction between the compression ratio and the compression rate cannot be well alleviated when a single compression method is used to compress all the data in the entire file in the prior art

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 apparatus for compressing and decompressing file
  • Method and apparatus for compressing and decompressing file
  • Method and apparatus for compressing and decompressing file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The embodiment of the present invention provides a compression method to solve the problem that in the prior art, when a single compression method is used to compress all the data in the entire file, the contradiction between the compression ratio and the compression rate cannot be well alleviated.

[0038] The main realization principles, specific implementation modes and corresponding beneficial effects that can be achieved of the technical solutions of the embodiments of the present invention will be described in detail below in conjunction with each accompanying drawing.

[0039] Such as figure 1 As shown, the specific flowchart of the file compression method provided by the embodiment of the present invention includes:

[0040] Step 11, divide the file to be compressed into at least two file parts, wherein the size of the area occupied by the divided file parts can be equal or different, for example, when the file is a frame of image, the page of the image can be ...

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 for compressing files, comprising the following steps: files to be compressed is divided into at least two file parts; the obtained information content contained in the unit memory space of each divided file part is respectively determined and divided; according to the determined information content, and the file part is compressed respectively by selecting corresponding compression ways. The invention also discloses a device for file compression. The method and the device for file compression disclosed by the invention can solve the problem of the prior art that the contradiction between the compression ratio and the compression speed rate is not relieved well when single compression method is adopted to compress data in the whole file. Correspondingly, the invention also provides a method and a device for decompressing the files.

Description

technical field [0001] The invention relates to the technical field of file processing, in particular to a file compression method and device, and a file decompression method and device. Background technique [0002] In the prior art, when files are compressed, there is often a contradiction between the compression ratio and the compression rate (wherein, the compression ratio=the original size of the file / the size of the compressed file obtained after the file is compressed), and this contradiction It is mainly reflected in: when compressing the same file, if the file is compressed by a compression method with a high compression ratio, the compression rate will be relatively slow; and if the file is compressed by a compression method with a relatively fast compression rate, although The compression rate will be faster, but the compression ratio will be lower. In general, for files containing a large amount of information, a compression method with a high compression ratio ...

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 Applications(China)
IPC IPC(8): H03M7/30H04N7/24
Inventor 康俊杰王立东孙大庆
Owner PEKING UNIV FOUNDER GRP 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