Data storage method and device

A data storage device and data storage technology, applied in the direction of electrical digital data processing, data processing input/output process, instruments, etc., can solve the problems of I/O delay, large CPU burden, low data compression efficiency, etc., to achieve The effect of reducing I/O delay, fast compression processing, and reducing CPU burden

Inactive Publication Date: 2018-02-06
SANGFOR TECH INC
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a data storage method and device, the main purpose of which is to solve the problem of I / O delay due to low data compression efficiency and heavy CPU burden of the system during 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 storage method and device
  • Data storage method and device
  • Data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0043] The invention provides a data storage method. refer to figure 1 Shown is a flow chart of the first embodiment of the data storage method of the present invention.

[0044] In this embodiment, the data storage method includes:

[0045] Step S10, when a write data request is received, perform sampling processing on the data to be stored corresponding to the write data request to obtain sample data, calculate the information entropy of the sample data, and judge the Whether the data to be stored can be compressed;

[0046] It should be noted that the data storage method proposed by the present invention is applicable to the data storage of various computer systems, for example, the data storage of the fusion system, and the super fusion all-in-one machine is used as an example for illustration below, but the pr...

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 storage method. The method comprises the steps that when a write data request is received, to-be-stored data corresponding to the write data request is subjected to sampling and processing to obtain sample data, information entropy of the sample data is calculated, and whether the to-be-stored data can be compressed or not can be judged according to the information entropy obtained through calculation; if it is judged that the to-be-stored data can be compressed according to the information entropy, the to-be-stored data is compressed and then written into a storage system; if it is judged that the to-be-stored data can not be compressed according to the information entropy, the to-be-stored data is written into the storage system. The invention further provides a data storage device. Accordingly, the problem that when the data is compressed and stored, due to the fact that the data compression efficiency is low and the CPU burden of the system is large,I/O delay is caused is solved.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data storage method and device. Background technique [0002] Compression algorithms have been widely used in computer systems to effectively save storage space, especially for hyper-converged all-in-one virtual machines, often using compression algorithms to save storage space. [0003] The existing data processing method compresses the data when writing the data from the memory to the storage system, but the compression processing speed is uneven, which is due to the different compressibility of different data. The processing speed of data with low compressibility such as compressed data and randomized data is very slow, and during the compression process, all the data to be stored will be compressed in the same way, which will cause some compressibility during the compression process. When the data with low compressibility is to be stored, the compression process takes...

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): G06F3/06
CPCG06F3/0608G06F3/0638
Inventor 夏文付忞吴大立古亮
Owner SANGFOR TECH INC
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