Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for distributed data storage

A technology of distributed storage and storage location, applied in the field of cloud storage, can solve problems such as high cost

Active Publication Date: 2020-09-04
北京元投资本管理有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, different data nodes are connected through dedicated data lines, which is expensive

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
  • Method and device for distributed data storage
  • Method and device for distributed data storage
  • Method and device for distributed data storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0177] image 3 A flowchart showing a method for distributed data storage according to an embodiment of the present disclosure. Such as figure 1 As shown, the method includes the following steps.

[0178] Step 302, receiving multiple usage ratios one-to-one corresponding to multiple data centers from the user end, the multiple usage ratios are set by the user.

[0179] For example, if there are data centers A, B, C, D, E, and F, the multiple usage ratios received can be: A: 20%, B: 20%, C: 20%, D: 20%, E : 20%, F: 0, or A: 20%, B: 20%, C: 20%, D: 20%, E: 20%, the latter is considered to be the usage ratio corresponding to the default data center F is 0 %. Both mean that data centers A, B, C, D, and E each store 20% of the target file, and data center F is not used to store the target file.

[0180] The user can input the multiple usage ratios at the user end, the user can adjust the default usage ratios, or choose to directly adopt the default usage ratios, etc. This disc...

Embodiment 2

[0225] Figure 4 A flowchart showing a method for distributed data storage according to an embodiment of the present disclosure. This method can be applied to the client side. Such as figure 1 As shown, the method includes the following steps:

[0226] Step 402, receiving multiple usage ratios set by the user and corresponding to multiple data centers one-to-one and sending them to the central dispatching engine;

[0227] Step 404, sending an upload request for the target file to the central scheduling engine;

[0228] Step 406, receiving the segmentation instruction and storage destination of the target file from the central scheduling engine;

[0229] Step 408: Split the target file based on the split instruction to obtain multiple data blocks;

[0230] Step 410: Based on the storage destination, store each of the data blocks in a target data center corresponding to the data block, and the target data center corresponding to each of the data blocks is used to store the ...

Embodiment 3

[0242] Figure 5 A structural block diagram of an apparatus 500 for distributed data storage according to an embodiment of the present disclosure is shown. The device can be applied to a central dispatch engine. Such as Figure 5 As mentioned above, the device 500 includes: a usage ratio acquisition module 502, configured to receive a plurality of usage ratios corresponding to a plurality of data centers from the user end, and the plurality of usage ratios are set by the user; an upload request receiving module 504 , for receiving an upload request for a target file from the client; a division and storage purpose determining module 506, for determining a division indication and a storage destination of the target file based on the multiple usage ratios, the division indication It is used to indicate how to divide the target file to obtain multiple data blocks, and the storage destination is used to indicate the target data center corresponding to each data block, and the tar...

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 present disclosure relates to a method and a device for distributed storage of data. The method includes: receiving a plurality of usage ratios corresponding to a plurality of data centers configured by the user from the user end, the plurality of usage ratios being set by the user; receiving an upload request for a target file from the user end; Use the ratio to determine the split instruction and storage destination of the target file, so that the ratio of the total size of the data blocks stored in each data center in multiple data centers to the size of the target file is the corresponding usage ratio of the data center; send the split instruction and The storage destination is sent to the user end to instruct the user end to divide the target file and store each data block obtained by the division into a corresponding data center. By applying the present disclosure, the user can adjust the usage ratio of each data center according to needs, and the central scheduling engine guides the user end to process data, which can significantly improve user experience and data security.

Description

technical field [0001] The present disclosure relates to the field of cloud storage, and in particular to a method and device for distributed data storage. Background technique [0002] More and more users are moving their data from local to cloud. Compared with storing data locally, cloud storage is more convenient and reliable. In particular, it also has almost unlimited scalability. [0003] figure 1 A schematic diagram of an existing transfer of local data to the cloud is shown. Such as figure 1 As mentioned above, the data at the client end is connected to the remote data center through an intermediate application for data transfer, or a direct connection may be used to directly transfer the data to the remote data center. In this scheme, users are locked to a single data center, and their usage is severely limited to that data center. If users want to migrate data to another data center, it will take a lot of time, manpower and cost. [0004] figure 2 It shows a...

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): G06F3/06
CPCG06F3/061G06F3/0614G06F3/0623G06F3/0637G06F3/064G06F3/0643G06F3/067
Inventor 石育材
Owner 北京元投资本管理有限公司