Compression and uncompression method of integral data and device thereof

A technology of integer data and compression method, which is applied in the direction of processing data, electrical components, and code conversion according to predetermined rules, which can solve the problems of resource waste, storage space resource waste, and byte space occupation, so as to reduce bandwidth occupancy, Effects of saving storage space and reducing CPU consumption

Active Publication Date: 2007-08-01
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF2 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] It can be seen from the above-mentioned storage process of integer data that the existing technology needs to occupy the same byte space regardless of the value, which results in a waste of storage space resources, especially for some special cases where a large number of integer data are used. Under such circumstances, the above-mentioned defects of waste of resources will be very prominent. For example, in the database of the enterprise information management system, positive integer data of the order of one million or more will be stored, including: the values ​​of the stored cell rows and columns, Employee's age, length of service, number of inventory pieces, positive integer incremental code, etc.

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
  • Compression and uncompression method of integral data and device thereof
  • Compression and uncompression method of integral data and device thereof
  • Compression and uncompression method of integral data and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0076] Referring to Fig. 1, it shows a flow chart of steps of a method for compressing positive integer data of the present invention, specifically comprising the following steps:

[0077] Step 101. Obtain the data to be compressed; the data to be compressed are all positive integer data; for example, the stored cell row and column values, the employee's age, length of service, number of items in stock, positive integer incremental code, etc. .

[0078] Step 102, judging whether the data is less than 2 to the (4X-1) power, said numerical value X is obtained by the type of data to be compressed in advance; if yes, then proceed to step 103; if not, then proceed to step 104 ;

[0079] That is, when applying the procedure shown in F...

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

This invention provides one integral data compression method and device, which comprises the following steps: getting needed compressed data; judging whether data is less than 2 4X-1, if the data X is got by preset compressed data; if yes, converting the data into two bit and storing the number form into X / 2 bit; if not, converting the data into two bit and storing the bit by negative form; remaining part is stored in back bit.

Description

technical field [0001] The invention relates to the field of data compression, in particular to a compression method and device for positive integer data (or negative integer data) and a decompression method and device. Background technique [0002] With the development of information technology, data compression technology also emerges and develops to reduce storage space, improve computing efficiency or ensure transmission security and so on. [0003] Various data compression technical solutions have been proposed in the prior art: [0004] Chinese Patent No. 200310124221.1 discloses a method for compressing 2-byte character data, including: generating multiple compressible codewords according to frequency numbers, storing them in the basic dictionary table, and registering the variable representing the next codeword The step of initialization; Whether the information data of identification input is 2 byte characters, and the input step of receiving; Whether the data of c...

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): G06F7/76H03M7/30
Inventor 乔昕明
Owner KINGDEE SOFTWARE(CHINA) 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