Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
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-02-16
GUIZHOU BAISHANCLOUD TECH CO LTD
View PDF6 Cites 7 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
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
Login to view more
Abstract
The invention discloses a data storage method and apparatus. The method comprises the following steps: grouping file storage areas, and setting storage capacity of each group; receiving a file uploading request sent by a client, wherein the file uploading request comprises a file identifier of a to-be-uploaded file and a check block of the to-be-uploaded file calculated according to a preset algorithm; determining the information of the to-be-uploaded file, wherein the information comprises the file identifier of the to-be-uploaded file, and the original data and the check block of the to-be-uploaded file; determining a target group comprising: determining the file identification range of the group, and using the group in which the file identification range contains the group of the file identifier of the to-be-uploaded file and the residual storage capacity is not smaller than the storage amount occupied by the information of the to-be-uploaded file as the target group according to the file identifier of the to-be-uploaded file and the file identification range of the group; and storing the information of the to-be-uploaded file in the target group. By adoption of the data storagemethod and apparatus, the scientificalness of the file management can be improved, and the storage speed is improved.
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.