Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A data storage method and device

A technology of data storage and storage capacity, which is applied in the field of cloud storage to achieve the effect of improving scientificity

Active Publication Date: 2018-09-18
GUIZHOU BAISHANCLOUD TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention aims to solve the problems described above

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
  • A data storage method and device
  • A data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] figure 1 is a flow chart showing a data storage method according to Embodiment 1 of the present invention. This method is typically applied to servers used for storage, see figure 1 , the method includes:

[0065] Step 101, grouping the file storage areas, and setting the storage capacity of each group;

[0066] Step 102, receiving the file upload request sent by the client, the file upload request includes the file identification of the file to be uploaded and the check block of the file to be uploaded calculated according to the preset algorithm; determine the information of the file to be uploaded, including the file to be uploaded File ID, original data and check block of the file to be uploaded;

[0067] Step 103, determine the target group, including: determine the file identification range of each group, according to the file identification of the file to be uploaded and the file identification range of each group, the file identification range includes the gr...

Embodiment 2

[0086] figure 2is a schematic structural diagram showing a data storage device according to Embodiment 2 of the present invention. refer to figure 2 , the device includes:

[0087] The grouping module 201 is used for grouping the file storage area and setting the storage capacity of each group;

[0088] Upload request receiving module 202, for receiving the file upload request sent by the client, the file upload request includes the file identification of the file to be uploaded and the check block of the file to be uploaded calculated according to the preset algorithm;

[0089] The file information determination module 203 is used to determine the information of the file to be uploaded, including the file identification of the file to be uploaded, the original data and the check block of the file to be uploaded;

[0090] The target group determination module 204 is used to determine the target group, including: determining the file identification range of each group, acc...

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 and device. The method includes: grouping file storage areas and setting the storage capacity of each group; receiving a file upload request sent by a client, and the file upload request includes the file identifier of the file to be uploaded and the check block of the file to be uploaded calculated according to a preset algorithm; determine the information of the file to be uploaded, including the file identifier of the file to be uploaded, the original data of the file to be uploaded, and the check block; Determining the target grouping includes: determining the file identification range of each group, and according to the file identification range of the file to be uploaded and the file identification range of each group, the file identification range includes the grouping of the file identification of the file to be uploaded and the remaining storage capacity A group that is not smaller than the storage capacity occupied by the file information to be uploaded is used as a target group; and the information of the file to be uploaded is stored in the target group. The invention can improve the scientificity of file management and improve the storage speed.

Description

technical field [0001] The present invention relates to the field of cloud storage, in particular to a data storage method and device. Background technique [0002] Existing distributed data storage systems generally use fixed data copies (such as 2 copies or 3 copies), and its main disadvantage is that for cold data stored in the data storage area with fewer access times, it also needs to occupy multiple copies of storage space. This makes it impossible to free up more storage space for hot data stored in the data storage node with a large number of visits, resulting in a low effective utilization of the storage space. [0003] In order to save the storage space occupied by cold data, in the prior art, an erasure coding (Erasure Coding) algorithm is used to encode the file content. When the file content is damaged, the code can be used to restore the file content, which reduces the cold data due to The storage space occupied by the store replica. [0004] When a user down...

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 Patents(China)
IPC IPC(8): H04L29/08H04L9/32G06F11/10
CPCH04L9/3239H04L67/06H04L67/1008H04L67/1097G06F11/1004H04L67/5682H04L67/63
Inventor 张炎泼
Owner GUIZHOU BAISHANCLOUD TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products