Data compression method and device as well as data decompression method and device

A data compression and data technology, applied in the database field, can solve the problems of huge storage space consumption, storage space consumption, low reading efficiency, etc., and achieve the effect of saving data storage

Active Publication Date: 2011-06-22
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the health records of a single patient, the storage space consumption may be negligible, but for the health r

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 and device as well as data decompression method and device
  • Data compression method and device as well as data decompression method and device
  • Data compression method and device as well as data decompression method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0059] In practical applications, the database is still used as an example of electronic health records. Due to the continuous nature of patient visits, for example, after the first visit to a hospital, patients usually return to the hospital several times within a few weeks. Therefore, , the IDs of two adjacent visit master records in a certain p...

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 provides a data compression method which comprises the following steps: obtaining an original data sequence (N1, N2, N3,..., Nm); then obtaining a differenced data sequence (D1, D2, D3,..., Dm) according to an equality that k is greater than 1 and less than or equal to m and the original data sequence (N1, N2, N3,..., Nm); and sequentially storing each differenced data in the differenced data sequence (D1, D2, D3,..., Dm). The invention also provides a data decompression method, a data compression device and a data decompression device. By adopting the data compression method, the data compression method device, the data decompression method and the data decompression device, the differenced data sequence is obtained by carrying out back-minus-front computation on the original data sequence, and each differenced data in the differenced data sequence is stored sequentially, because the value of the differenced data is less than that of the original data, the number of bytes for storing the differenced data is less than the number of bytes for storing the original data, thereby saving the data storage space.

Description

technical field [0001] The invention relates to database technology, in particular to a data compression method, a data decompression method, a data compression device and a data decompression device. Background technique [0002] In the technical field of relational databases, data retrieval is usually implemented by catalog data tables or main index data tables, and catalog data is usually the most frequently accessed part of the database. At present, the storage of directory data usually adopts the method of directly storing the original directory data, which generally takes up a large storage space, especially for the case of more than tens of millions of records, storing the directory data requires huge storage space. [0003] Taking the electronic health records as the storage content of the database as an example, the catalog of the electronic health records is the general index of electronic health. The most frequently accessed section of the health record. Table 1...

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): G06F17/30
Inventor 程磊张凤全赵文东
Owner CHINA UNITED NETWORK COMM 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