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

Method, server and system for recovering data

A technology for recovering data and servers, which is applied in the information field and can solve problems such as low efficiency of recovering data, slow recovery of data by metadata server, waste of system resources, etc.

Active Publication Date: 2017-01-04
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The first method needs to scan all the data, resulting in a waste of system resources
The second method and the third method both need to use the metadata server to restore data, and the metadata server restores data slowly, resulting in low efficiency of data recovery

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, server and system for recovering data
  • Method, server and system for recovering data
  • Method, server and system for recovering data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0096]The embodiment of the present invention provides a method for recovering data, and the method is applied to the master server of the storage system. The storage system includes a master server and a slave server. Both the master server and the slave server are used to store the same data, and the master server is the first For an example of a server that successfully stores data, see figure 1 , the method flow provided by the embodiment of the present invention includes:

[0097] 101: When any server in the storage system fails to store data, the master server sends a log acquisition request to each slave server in the storage system, and the log acquisition request carries the identifier of the data to be restored;

[0098] As an optional embodiment, before sending the log acquisition request to each slave server in the storage system, it also includes:

[0099] Receive and store the data sent by the client, and return to the client first write status information inclu...

Embodiment 2

[0131] The embodiment of the present invention provides a method for recovering data. For ease of understanding, the data processing method provided by the embodiment of the present invention is explained in detail in combination with the content of the first embodiment, taking a storage system as an example. Wherein, the storage system includes a master server and at least two slave servers, the master server is the first server that successfully stores data, and the slave servers are other servers in the storage system except the master server. see image 3 , the method flow provided by this embodiment includes:

[0132] 301: The master server and the slave server respectively receive and store the data sent by the client, the master server returns to the client the first write status information containing the identification of the data, and the slave server returns the second write status information containing the identification of the data to the client. Writing status ...

Embodiment 3

[0195] see Figure 5 , the embodiment of the present invention provides a server for recovering data. The server is a master server applied to a storage system. The storage system includes a master server and a slave server. Both the master server and the slave server are used to store the same data. The master server is the first A server successfully storing data that includes:

[0196] The first sending module 401 is configured to send a log acquisition request to each slave server in the storage system when any server in the storage system fails to store data, and the log acquisition request carries the data identifier to be restored;

[0197] The first receiving module 402 is configured to receive the first restoration log files returned by each slave server according to the log acquisition request, and each first restoration log file records the location information and operation information of the data to be restored identified by the data identifier to be restored;

...

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 invention relates to the field of information technologies. Disclosed are a method, server and system for data recovery. The method comprises: a master server receiving first recovery log files returned by slave servers in a storage system according to a log acquisition request sent by the master server, and performing an operation on to-be-recovered data according to latest operation information recorded in all the first recovery log files and in a second recovery log file generated by the master server, the first recovery log files and the second recovery log file recording location information and operation information of the to-be-recovered data identified by a to-be-recovered data identifier. In the present invention, the master server sends a log acquisition request to the slave servers in the storage system and then recovers to-be-recovered data according to all first recovery log files returned by the slave servers and a second recovery log file generated by the master server, so that data recovery can be realized without scanning all data or using a metadata server, and the data recovery efficiency is improved.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a data recovery method, server and system. Background technique [0002] With the continuous development of information technology, the scale of the storage system is getting larger and larger. In large-scale storage systems, the frequency of device failures also increases. When a device fails, how to restore data to ensure the security of data has become a concern of people. [0003] At present, there are three ways to restore data. The first way: scan the file system through the fsck command to find the data to be restored, and restore the data to be restored. The second method: read the log information of the data to be restored in the system operation log through the metadata server, and control the data server to re-execute the operation on the data according to the read log information of the data to be restored, thereby restoring the data. The third method: read th...

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): G06F11/14G06F17/30
CPCG06F11/1471
Inventor 郝志敏李红
Owner HUAWEI TECH 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