Data recovery method and device

A recovery method and data technology, applied in the computer field to achieve the effect of improving speed and avoiding disk read and write operations

Active Publication Date: 2019-04-16
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, it is necessary to provide a data recovery method and device to solve the problem of a large number of disk read and write operations generated when the system restores data after the machine where the index module is located fails

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 Construction

[0021] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0022] refer to figure 1 , figure 1 is a schematic flow chart of the first embodiment of the data recovery method of the present invention; as figure 1 As shown, the data recovery method of the present invention comprises the following steps:

[0023] Step S01, according to the first index number corresponding to the faulty machine, search the backup file corresponding to the first index number from the backed up data;

[0024] In the embodiment of the present invention, the server maintains multiple machines, wherein the memory of each machine can be regarded as an index module, and the index module is a storage space corresponding to the server storing index data...

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. According to a first index number corresponding to a faulty machine, backed-up data are searched for a backup file corresponding to the first index number; all service data which are stored by the faulty machine and backed up in the backup file are read; the read service data stored by the faulty machine are recovered to storage space corresponding to a second index number. Compared with a large amount of magnetic disk read-write operation produced when index data are recovered in the prior art, the data recovery method and device have the advantages that magnetic disk read-write operation produced by a machine where the storage space corresponding to the index number exists is avoided when the index data are recovered, and the data recovery speed is increased.

Description

technical field [0001] The invention relates to computer technology, in particular to a data recovery method and device. Background technique [0002] At present, all real-time index data are stored in the system memory and are constantly modified. The system will record a log every time the index data is modified; when backing up the above index data, the system will regularly back up the full index data to disk, and record the index modification log at the same time. When the machine where the index module is located fails and needs to restore data, the system first restores the full amount of data to the memory. Since there is a certain period of time between the time point of saving the full amount of data and the time point of machine failure, the data within this period of time , the system will recover by indexing the modification log. [0003] The above data recovery scheme will generate a large number of disk read and write operations. For example, when the system...

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/14
Inventor 马博袁哲朱健琛林少彬冯永亮邱津
Owner TENCENT TECH (SHENZHEN) 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