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

A distributed storage method and a distributed storage device

A distributed storage and storage device technology, applied in the direction of instruments, input/output to record carriers, computing, etc., can solve the problems of customer business interruption, high risks, and many shortcomings, achieve storage space expansion, and ensure normal reading and writing. Effect

Active Publication Date: 2019-03-01
LENOVO (BEIJING) CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, warning in advance can only prevent the situation where the storage space reaches full load and cause customer business interruption, but it does not solve this problem
If there is no new device to expand the cluster in time after the warning, once the storage space of a certain node reaches full load, the cluster still cannot continue to read and write new data, and customer business will still be interrupted
[0004] At present, there is another method to remove full-load nodes from the storage device in order to ensure that the customer's business will not be interrupted suddenly. However, when a node reaches full load in the distributed storage device, there must be some nodes that are also Basically saturated, these nodes will soon appear the next fully loaded node during the data recovery process, so the current method has many disadvantages and risks, and is not suitable for widespread use

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] The status information also includes historical usage information of the storage space of the corresponding storage node;

[0068] When the status information also includes the aforementioned historical usage information, when the storage device performs step 3: determining the second storage node according to the status information as the emergency node used to expand the capacity of the first storage node, specifically:

[0069] Determine candidate storage nodes according to remaining storage space information;

[0070] Determine emergency nodes from candidate storage nodes based on historical usage information.

[0071] Taking the storage device applied to multiple ATM machines of Bank A for deposit and withdrawal business as an example, the storage disk (either physical disk or virtual disk) in each ATM machine for storing the data entered by the user can be considered as one The storage node or the storage device can also be a cloud storage device, that is, each ATM machin...

Embodiment 2

[0073] The status information also includes first marking information for indicating whether the corresponding storage node is an emergency node of the third storage node;

[0074] When the state information further includes the above-mentioned first tag information, the storage device performs step 3: determining the second storage node according to the state information as the emergency node used to expand the first storage node:

[0075] Determine candidate storage nodes according to remaining storage space information;

[0076] The emergency node is determined from the candidate storage nodes according to the first label information.

[0077] Continuing the above embodiment, when the storage device detects that the acquired tag information contains the first tag information, it will prioritize the remaining storage space in descending order, and then determine the first five storage nodes as candidate storage according to preset requirements. node. After that, the state informati...

Embodiment 3

[0079] figure 2 This is a method flowchart of an embodiment in the distributed storage method of this application. Such as figure 2 As shown, the status information in this embodiment includes both the historical usage information and the first mark information in the first and second embodiments.

[0080] Specifically, still taking the above-mentioned embodiment as an example, when the storage device determines candidate storage nodes according to the remaining storage space information, it sequentially detects the historical usage information and the first label information of each candidate storage node in order, and finally determines that the storage device meets the requirements of storage at the same time. Candidate storage nodes with large space, non-third storage node emergency nodes and never in full load state are emergency nodes.

[0081] Further, after the emergency node is determined, the distributed storage method in this embodiment further includes:

[0082] Determ...

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 embodiment of the present application provides a distributed storage method and a distributed storage device. The method comprises the following steps: when detecting that a first storage node inthe storage device reaches a full load state, obtaining state information of other storage nodes, the state information at least includes information of remaining storage space; when the first storagenode reaches a full load state, obtaining state information of the remaining storage nodes; determining a second storage node as an emergency node for expanding the first storage node according to the state information. The distributed storage method in the embodiment of the present application can effectively avoid the phenomenon that the storage device as a whole cannot continue to read and write new data when a node reaches the full load state in the storage device, thereby affecting the use of the user.

Description

Technical field [0001] The embodiments of the present application relate to the field of data storage, and in particular, to a distributed storage method and a distributed storage device applying the method. Background technique [0002] At present, consistent hashing algorithms are generally used in distributed storage devices to distribute and locate multiple copies of data, but consistent hashing does not ensure that the data can be completely and evenly distributed, so it often appears in distributed storage devices. The storage space utilization rate of a node reaches 100%, that is, when it is fully loaded, the storage space utilization rate of other nodes may only be 70%, and there is still a lot of storage space available. At present, basically all distributed storage devices will assume that the cluster as a whole is at full load when the storage space of a certain node reaches full load, causing the cluster to be unable to continue to read and write new data, causing cus...

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/062G06F3/0626G06F3/0643G06F3/0647G06F3/067
Inventor 汪权刘军
Owner LENOVO (BEIJING) 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