Data type-based numeric data compression and decompression method

A data type and data compression technology, applied in image data processing, instruments, computing, etc., can solve the problems of difficult and high requirements of data compression methods, and achieve the effect of small storage capacity, high compression rate, and reduced data storage capacity

Inactive Publication Date: 2012-01-11
张行清
View PDF8 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the face of different data applications, especially the increasing amount of numerical data, various data compression methods are still difficult to meet the increasingly high requirements in terms of data operation speed, data transmission speed and data storage

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 type-based numeric data compression and decompression method
  • Data type-based numeric data compression and decompression method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] Embodiment 1: Application of data compression after HJ-1 satellite CCD data preprocessing

[0063] The application software compiled with the data compression and decompression method of the present invention is installed on the computer, and then the software is run when the data needs to be compressed.

[0064] (1) Determine the forward transformation form of the data type: the HJ-1 satellite CCD data is a secondary product, the data file is 4-band data in TIFF format, and the data type is single-byte unsigned integer. After data preprocessing (calculate the radiance value according to the calibration, and calculate the apparent reflectance according to the formula), the data is changed from a single-byte unsigned integer to a single-precision floating-point type. The single-precision floating-point type is converted into an integer type, and the data is stored in a single-byte unsigned integer type, which meets the requirements of the original data precision.

[006...

Embodiment 2

[0069] Example 2: Application of air temperature data compression in an automatic weather station

[0070] The application software compiled with the data compression and decompression method of the present invention is installed on the computer, and then the software is run when the data needs to be compressed.

[0071](1) Determine the forward transformation form of the data type: the highest temperature in the history of an automatic weather station is 41.3 degrees Celsius in summer, and the lowest is -23.8 degrees Celsius in winter, and a set of temperature data is sent back every hour every hour, including the highest, average and lowest temperature data. The collected data retains 1 decimal place and is a single-precision floating-point type with a unit length of 4 bytes. The data contains positive and negative numbers. If it is upgraded to an integer, the expression range of the single-byte integer data cannot contain all the data. Make sure to convert it to a double-by...

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 type-based numeric data compression and decompression method. The data compression method includes the following steps: (1) the determination of a forward data type transformation mode; (2) the determination of a forward data transformation formula; (3) forward data transformation; (4) the generation of a binary data file; (5) the registration of a compression mark.The data decompression method includes the following steps: according to the compression mark, determining an inverse data type transformation mode and an inverse data transformation formula, carrying out inverse data transformation, and storing the restored data into a binary file. Under the premise of meeting applicable conditions, the method can be changed to use a small-length memory unit, sothat the quantity of stored data can be correspondingly reduced to half or one quarter or even one eighth of the original quantity, the data compression rate is high, the quantity of stored data is small, the speed of task computation and the speed of transmission are increased, data are open, and the data type-based numeric data compression and decompression method is highly compatible, and is easy to implement.

Description

technical field [0001] The invention relates to a data compression and decompression method, in particular to a data type-based numerical data compression and decompression method. Background technique [0002] At present, there are many mature data compression methods for the digitalization of analog information and digital data. For example, the application number 200510000589.6 discloses a method for quickly compressing and decompressing images, which mainly performs simplified processing on some image parts with special characteristics to achieve the purpose of increasing the processing speed. The application number is 200510115119.4, which discloses a real-time data compression method for compressing packet data in a process control system. The method includes: initializing a dictionary, initializing characters that may appear during the compression process into the dictionary; reading in values; The difference is obtained by subtracting the adjacent data of the real-t...

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): G06T9/00
Inventor 张行清
Owner 张行清
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