Data recovery method and device

A data repair and data technology, applied in the field of data repair, can solve the problems of complex data repair process, low probability of success, long time-consuming, etc., and achieve the effect of improving the probability of data repair

Active Publication Date: 2013-04-24
HUAWEI TECH CO LTD
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the prior art, the probability of success in repairing the second storage node is low, resulting in a low probability of success in data repair. If the repair operation fails, data will be lost. At this time, only the first storage node and The storage device of the second storage node is transported to a professional maintenance center for data restoration. The data restoration process is complex and time-consuming.

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 recovery method and device
  • Data recovery method and device
  • Data recovery method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] The embodiment of the present invention provides a method for data restoration. The method aims at the situation that in a distributed storage system, data has multiple copies and is scattered in different storage nodes to ensure high reliability of the data. All data storage nodes fail, resulting in data loss solutions. For ease of description, this embodiment takes the first storage node and the second storage node as an example to illustrate the data restoration method. see figure 1 , the method flow provided by this embodiment includes:

[0064] 101: When the first storage node fails, establish a temporary storage node, and write first newly added data generated at a first interval into the second storage node and the temporary storage node respectively.

[0065] Wherein, the same original data is stored in the second storage node and the first storage node, and the first interval time is the time between failure of the first storage node and failure of the second...

Embodiment 2

[0070] In order to solve the problem of low probability of successful data restoration in the prior art, an embodiment of the present invention provides a method for data restoration, which is used to restore the storage system when multiple storage nodes that store data backups fail. Data repair. For ease of description, this embodiment takes the first storage node as the first storage node that fails in the storage system, and the second storage node as the node that fails later as an example. Combining the content of the first embodiment above, this embodiment provides method is illustrated with an example. see figure 2 , the method flow provided by this embodiment includes:

[0071] 201: When the first storage node fails, establish a temporary storage node, and write first newly added data generated at a first interval to the second storage node and the temporary storage node respectively.

[0072] Wherein, the same original data is stored in the second storage node an...

Embodiment 3

[0130] An embodiment of the present invention provides a device for restoring data, and the device is used to execute the method for restoring data provided in Embodiment 1 or Embodiment 2 above. see Figure 4 , the device consists of:

[0131] An establishment module 401, configured to establish a temporary storage node when the first storage node fails;

[0132] The first writing module 402 is configured to respectively write the first newly added data generated at the first interval into the second storage node and the temporary storage node established by the establishment module 401;

[0133] The second writing module 403 is configured to write the first newly added data stored in the temporary storage node established by the establishment module 401 into the third storage node when the second storage node fails;

[0134] Wherein, the second storage node and the first storage node store the same original data, the first interval time is the time between the failure of t...

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 recovery method and device, and belongs to the field of communication. The method includes: establishing a temporary storage node when a first storage node fails, and writing first newly-added data generated during a first interval in a second storage node and the temporary storage node; and writing the first newly-added data stored in the temporary storage node in a third storage node when the second storage node fails. Therefore, whether the second storage node is recovered or not, the first newly-added data stored in the temporary storage node can be written in the third storage node, so that data recovery rate is increased.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for data restoration. Background technique [0002] With the development of communication technology, more and more video, voice, text and other data need to be stored. The commonly used storage method of distributed storage systems is to divide data into multiple data copies and store them in different storage nodes, so as to ensure that when one of the storage nodes fails, the upper layer business of the system can still be stored in other storage nodes. to get the required data. However, when multiple storage nodes fail, it will cause data loss and affect the development of upper-layer services. Therefore, data restoration is required to ensure the normal operation of the system. [0003] The method of data restoration in the prior art is: the same original data is stored in the first storage node and the second storage node, when the first storage node fails, t...

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): G06F11/14
Inventor 黄澄冯斌
Owner HUAWEI TECH CO LTD
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