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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com