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

Data backup method and device

A data backup and data update technology, applied in the field of data processing, can solve problems such as system logic errors

Inactive Publication Date: 2011-09-21
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF2 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, it will cause a logic error in the entire system

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] see figure 1 , which is a flowchart of an embodiment of a data backup method of the present invention, the method includes the following steps:

[0027] Step 101: intercepting the write operation request sent to the target disk;

[0028] Step 102: Encrypt the update data carried in the write operation request;

[0029] Step 103: According to the position determined by the offset of the update data carried in the write operation request and the length of the update data, write the encrypted update data into the mirror disk corresponding to the target disk, and write the updated Data is written into the target disk.

[0030] It can be seen from the above embodiments that when intercepting the write operation request sent to the target disk, the update data carried in the write operation request is encrypted, and when the offset and update data carried in the write operation request are used After the position determined by the length of the target disk, on the one hand...

Embodiment 3

[0047] see Figure 5 , which is a flowchart of another embodiment of a data backup method of the present invention, the method includes the following steps:

[0048] Step 501: Intercept the write operation request sent by the operating system to the target disk;

[0049] Step 502: Determine whether the target disk has a corresponding mirror disk, if yes, go to step 503, if not, go to step 505;

[0050] For example, a registry entry may be created, in which it is indicated whether each target disk has a corresponding mirror disk. Alternatively, it is also possible to determine whether the target disk has a corresponding mirror disk according to the registry entries that store the mapping relationship between each target disk identifier and the mirror disk identifier described in Embodiment 1. If the target disk identifier has a corresponding If there is no mapped mirror disk ID, it is determined that the target disk indicated by the target disk ID has a corresponding mirror d...

Embodiment 4

[0058] see Figure 6 , which is a flowchart of another embodiment of a data backup method of the present invention, the method includes the following steps:

[0059] Step 601: Intercept the write operation request sent to the target disk;

[0060] Step 602: Determine whether the user who is currently backing up the data currently has the authority to update the backup data in the mirrored disk, if yes, go to step 603, if not, end the process;

[0061] Wherein, judging whether the user currently has the right to update the backup data in the mirror disk includes: judging whether the user has the right to update the backup data in the mirror disk, and if so, further judging whether the user has the right to update the backup data in the mirror disk at the current moment. If there is permission to update the backup data in the disk, go to step 603; otherwise, end the process.

[0062] For example, a permission information table can be created, which includes whether each user h...

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 invention discloses a data backup method and a data backup device. The method comprises the following steps of: intercepting a writing operation request sent to a target disk; encrypting updated data carried in the writing operation request; writing the encrypted updated data into an image disk corresponding to the target disk according to an offset of the updated data carried in the writing operation request and a positioned determined according to the length of the updated data; and writing the updated data into the target disk. By the embodiment of the invention, the backup data in the image disk can be updated in real time; and logic error of the overall system during data recovery is avoided.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data backup method and device. Background technique [0002] With the increasingly extensive development of computer application technology, in order to ensure the security and reliability of data, it is necessary to back up the original data stored in the target disk to the mirror disk. That is, in addition to storing data on the target disk, data should also be stored on the mirror disk, so that when the original data stored on the target disk is damaged due to various reasons, the backup data can be read from the mirror disk , and use the backup data in the mirror disk to restore the original data in the target disk. Since the mirror disk has a backup function, the mirror disk is also called a backup disk or a disaster recovery disk. [0003] In the prior art, a method for implementing data backup is: using a raw disk as a mirror disk, and backing up original data ...

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
IPC IPC(8): G06F11/14G06F21/00G06F21/62
Inventor 赵斌谢雨李龙刘勇
Owner HUAWEI DIGITAL TECH (CHENGDU) 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