CN101008908A - Synchronous data copy system and method - Google Patents

Synchronous data copy system and method Download PDF

Info

Publication number
CN101008908A
CN101008908A CN 200610001999 CN200610001999A CN101008908A CN 101008908 A CN101008908 A CN 101008908A CN 200610001999 CN200610001999 CN 200610001999 CN 200610001999 A CN200610001999 A CN 200610001999A CN 101008908 A CN101008908 A CN 101008908A
Authority
CN
China
Prior art keywords
data
protection module
storer
electronic equipment
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200610001999
Other languages
Chinese (zh)
Other versions
CN101008908B (en
Inventor
王晚丁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2006100019997A priority Critical patent/CN101008908B/en
Publication of CN101008908A publication Critical patent/CN101008908A/en
Application granted granted Critical
Publication of CN101008908B publication Critical patent/CN101008908B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention provides one simultaneous data copy system and method, wherein, the system comprises one reference electron device and one aim electron device; the reference electron device comprises one memory part, one data protection module and one data send module; the said aim electron device comprises one memory, one data protection module and one data receive module; the reference electrical device protection module is to record the data for modification and when copying the data into aim electron device, reference electron device data send module sends relative data in the data protection module.

Description

Synchronous data copy system and method
Technical field
The present invention relates to a kind of copying data system and method, particularly a kind of synchronous data copy system and method that is used for computing machine.
Background technology
For reference computers system DISK to Image or the whole valid data of certain subregion, copy on the object computer the most apace, the implementation that success has been arranged, be exactly directly to read effective sector data to send to object computer in the consolidated network by Radio Broadcasting Agreements, but performance still has bottleneck, performance is the highest under the situation about compressing also was difficult to above 500M/ minute even use in the 100M network, the valid data of 20G all duplicate to finish like this needs 40 minutes at least, but the situation in actual the use is each valid data that change compares that legacy data is seldom on the hard disk, such as the keeper software of a 100M size has been installed on 20G data basis, has therefore been needed to consider to use the increment method of synchronization to improve performance.
The solution of partition data in two or many computing machines of existing synchronous renewal, comprise UltraImage Builder and Ghost, all be to use based on file system technology, variation has taken place in which file in the frame of reference by analyzing, and the file that these change is made an Image (image) file, and then use long-range field engineering that this delta file is synchronized on the object computer.
There are two defectives in this technology; one is that the hard drive space that need take in the reference computers system is deposited the Image file; run into the not enough situation in space through regular meeting in actual applications, another is that the speed of resolution file system is slow, is significantly less than the speed of direct parsing sector data.
Summary of the invention
The object of the present invention is to provide a kind of synchronous data copy system and method that hard drive space is little, synchronous speed is fast that take.
According to synchronous data copy system of the present invention; it comprises one with reference to an electronic equipment and a target electronic device; describedly comprise a storer with reference to electronic equipment; one data protection module; with a data transmission blocks; described target electronic device comprises a storer; one data protection module and a data reception module; describedly be used for writing down the modification that this is carried out with reference to the data of the storer of electronic equipment with reference to the data protection module in the electronic equipment; when from the reference electronic equipment with data increment synchronized copy data during to target electronic device; with reference to the data transmission blocks transmission of electronic equipment and the corresponding data of recorded content of its data protection module; the data reception module of described target electronic device receives the data of self-reference electronic equipment; and give data protection module with it, in the data protection module write store.
According to synchronous data copy method of the present invention, it comprises the steps: a, record is to this modification of carrying out with reference to the data in the storer of electronic equipment, b, record according to step a, the data of having revised are sent to target electronic device from the reference electronic equipment, and c writes described data in the storer of target electronic device.
According to the present invention; the shared hard drive space of the information of the modification on the basis of protected mode data carried out of record reference computers is little; and when between execution reference computers and object computer, carrying out the increment synchronous data copy; only send the data that these have been revised, so the speed of synchronized copy is fast.Thereby the present invention has that the hard drive space of taking is little, the fireballing characteristics of synchronized copy.
Description of drawings
Fig. 1 is the structured flowchart according to an embodiment of synchronous data copy system of the present invention.
Fig. 2 is the process flow diagram according to an embodiment of synchronous data copy method of the present invention.
Embodiment
As shown in Figure 1, comprise a reference computers 1 and an object computer 2 according to synchronous data copy system of the present invention.Reference computers 1 comprises a hard disk 14, a real pattern disk read-write protection module 12, a protected mode disk read-write protection module 13 and a data transmission blocks 11.Described object computer 2 comprises a hard disk 24, a real pattern disk read-write protection module 22 and a data reception module 12.
Real pattern disk read-write protection module 12 in the reference computers 1 and protected mode disk read-write protection module 13 record protection states, and in the information of on the basis of guard mode the data on the hard disk 14 of this reference computers 1 being made amendment.This guard mode is provided with for the data of reducing on the computing machine.According to the operation difference to computing machine, computing machine may operate under the real pattern (for example DOS), also may operate under the protected mode (for example, Windows operating system).When computer run in real pattern (for example DOS) following time, direct write data on the hard disk of computing machine.At this moment, real pattern disk read-write protection module 12 writes down the information that the data on the hard disk 14 are made amendment.When computer run in protected mode following time, operating system is by hard drive write data on the hard disk 14 of computing machine.At this moment, protected mode disk read-write protection module 13 writes down the information that the data on the hard disk 14 are made amendment.
Shared sets of data protection algorithm and data structure between the protected mode disk read-write protection module 13 of reference computers 1 and the real pattern disk read-write protection module 12; guarantee when the user after data have made modification on to hard disk 14 on the operating system; protected mode disk read-write protection module 13 can accurately be notified real pattern disk read-write protection module 12 this variation; so that withdraw from operating system the user; when restarting computing machine and entering the real pattern environment, real pattern disk read-write protection module 12 can be preserved the data of these variations and come into force or abandon.Like this, real pattern disk read-write protection module 12 has write down which sector data new variation on original guard mode basis on the hard disk, and no matter this variation be under real pattern, carry out or under protected mode, carry out.
When reference computers 1 and object computer 2 all operate in real pattern environment following time, the information that can be write down according to the real pattern disk read-write protection module 12 of reference computers 1 is carried out the increment synchronous data copy.Include HPA (Host Protected Area, Host Protection space) control module among the BIOS of reference computers 1, the function scheduler module is arranged among the HPA, the default startup real pattern of function scheduler module disk read-write protection module 12.When receiving the instruction of log-on data sending module 11, start real pattern disk read-write protection module 12 earlier, restart data transmission blocks 11.Data transmission blocks 11 sends data according to the information that real pattern disk read-write protection module 12 is write down, and has so just guaranteed that the read-write of 11 pairs of hard disks 14 of data transmission blocks must be through the filtration of real pattern disk read-write protection module 12.Concrete; which sector real pattern disk read-write protection module 12 has write down is the data that changed; data transmission blocks 11 sends to object computer 2 according to this record with new sector data itself and their address information, is written to the correspondence position of hard disk 24 by the data reception module on the object computer 2 12.
The real pattern disk read-write protection module 22 record protection states of object computer 2, and in the information of on the basis of guard mode the data on the hard disk 24 of this object computer 2 being made amendment.This guard mode is provided with for the data of reducing on the computing machine.In addition; the real pattern disk read-write protection module of object computer 2 write down 22 last time synchrodata emissive source information and temporal information; and the temporal information of last update guard mode; judging whether with this can be synchronous by the increment that 1 pair of this object computer 2 of reference computers of new appointment is done sector data; if do not satisfy the synchronous condition of increment, do the synchronous of a partial data with regard to notification reference computing machine 1 so.
Below, with reference to Fig. 2, to describe according to synchronous data copy method of the present invention, this method is used for from reference computers 1 data sync being copied to object computer 2.
Before carrying out copying data, be recorded in the information of on the basis of guard mode the data on the hard disk 14 of reference computers 1 being made amendment.The information of this record comprises: the information of under real pattern (for example DOS) data on the hard disk 14 of reference computers 1 being made amendment; with the information of under protected mode (for example, Windows operating system), the data on the hard disk 14 of reference computers 1 being made amendment.
When carrying out copying data, carry out processing as shown in Figure 2.
At first, in step 101 and 102, start real pattern disk read-write protection module 12 and data transmission blocks 11.This real pattern disk read-write protection module 12 has write down aforesaid in the information of on the basis of guard mode the data on the hard disk 14 of reference computers 1 being made amendment.
Then, in step 103, judge the feasibility of increment synchronized copy data.This step can be determined according to the information of 22 records of real pattern disk read-write protection module in the object computer 2.
When judgement can be carried out increment synchronized copy data in step 104, execution in step 105.In step 105, data transmission blocks 11 sends to object computer 2 with sector data and the address information of revising, and object computer 2 writes these data the relevant position of its hard disk 24.When judgement can not be carried out increment synchronized copy data in step 104, execution in step 106.In step 106, the operation of complete data sync, soon all data in the hard disk 14 of reference computers 1 send to object computer 2, and it is stored on the hard disk 24 of object computer 2.
In addition, in the present invention, also can under protected mode, carry out copying data.Because protected mode disk read-write protection module 13 also can be discerned the content of real pattern disk read-write protection module 12 records, real pattern disk read-write protection module 12 sends to protected mode disk read-write protection module 13 with the amendment record to the data on the hard disk under the real pattern when withdrawing from real pattern.When under protected mode, carrying out copying data, log-on data sending module 11 and protected mode disk read-write protection module 13, data transmission blocks 11 sends data according to the information that protected mode disk read-write protection module 13 is write down.
According to the present invention, solved the hard drive space that takies of existing increment synchronization scenario, the defective that synchronous speed is slow, also very simple in the use, have tangible practical value, particularly aspect the management maintenance of Public Computer Room.
Though the present invention expresses in concrete mode; but be not in order to qualification the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; can do various changes and retouching, so protection scope of the present invention is as the criterion when looking the patent claim person of defining.

Claims (11)

1. synchronous data copy system, it comprises one with reference to an electronic equipment and a target electronic device,
Describedly comprise a storer, a data protection module and a data transmission blocks with reference to electronic equipment,
Described target electronic device comprises a storer, a data protection module and a data reception module,
Describedly be used for writing down the modification that this is carried out with reference to the data of the storer of electronic equipment with reference to the data protection module in the electronic equipment,
When from the reference electronic equipment with data increment synchronized copy data during to target electronic device, send corresponding data of recorded content with its data protection module with reference to the data transmission blocks of electronic equipment,
The data reception module of described target electronic device receives the data of self-reference electronic equipment, and gives data protection module with it, in the data protection module write store.
2. synchronous data copy system as claimed in claim 1, wherein,
Described data protection module with reference to electronic equipment is recorded on the basis of a data protection state, to this modification of carrying out with reference to the data in the storer of electronic equipment.
3. synchronous data copy system as claimed in claim 2, wherein,
Described data protection module with reference to electronic equipment comprises that one is used for writing down under the real pattern real pattern data protection module and to the modification of the data of storer and is used under the record protection pattern protected mode data protection module to the modification of the data of storer
Data transmission blocks sends data according to the content of described real pattern data protection module and described protected mode data protection module record.
4. synchronous data copy system as claimed in claim 3, wherein,
Shared sets of data protection algorithm of described protected mode data protection module and real pattern data protection module and data structure.
5. synchronous data copy system as claimed in claim 4, wherein,
Described data transmission blocks sends the address information of these data when sending data,
Described target electronic device is according to the address information from data transmission blocks, in writing data into memory.
6. as each described synchronous data copy system of claim 1-5, wherein,
The emissive source information and the temporal information of data protection module record synchrodata last time of target electronic device, and the temporal information of last update guard mode,
Target electronic device determines whether to carry out the increment synchronized copy according to these information.
7. synchronous data copy method, it comprises the steps:
A writes down this modification of carrying out with reference to the data in the storer of electronic equipment,
B according to the record of step a, is sent to target electronic device with the data of having revised from the reference electronic equipment,
C writes described data in the storer of target electronic device.
8. synchronous data copy method as claimed in claim 7, wherein,
In step a, be recorded on the basis of a data protection state this modification of carrying out with reference to the data in the storer of electronic equipment.
9. synchronous data copy method as claimed in claim 8, wherein,
In step a, under the record real pattern under the modification of the data in the storer and the protected mode to the modification of the data in the storer.
10. synchronous data copy method as claimed in claim 9, wherein,
In step b, further send the address information of the data of having revised,
In step c,, described data are write in the storer of target electronic device according to this address information.
11. as each described synchronous data copy method of claim 7-10, it further comprises,
Steps d, the emissive source information and the temporal information of record synchrodata last time in target electronic device, and the temporal information of last update guard mode,
Step e, the information that writes down according to steps d determines whether to carry out the increment synchronized copy.
CN2006100019997A 2006-01-25 2006-01-25 Synchronous data copy system and method Expired - Fee Related CN101008908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100019997A CN101008908B (en) 2006-01-25 2006-01-25 Synchronous data copy system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100019997A CN101008908B (en) 2006-01-25 2006-01-25 Synchronous data copy system and method

Publications (2)

Publication Number Publication Date
CN101008908A true CN101008908A (en) 2007-08-01
CN101008908B CN101008908B (en) 2010-06-23

Family

ID=38697352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100019997A Expired - Fee Related CN101008908B (en) 2006-01-25 2006-01-25 Synchronous data copy system and method

Country Status (1)

Country Link
CN (1) CN101008908B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840399B (en) * 2009-03-17 2012-11-21 联想(北京)有限公司 Computer and method for data synchronization between computer and electronic equipment
CN103399763A (en) * 2013-07-23 2013-11-20 北京昆腾微电子有限公司 Method and device for downloading program files applied to chips
CN106657376A (en) * 2017-01-04 2017-05-10 泰康保险集团股份有限公司 Data synchronization processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6276954A (en) * 1985-09-30 1987-04-09 Toshiba Corp Communication controller
CN1237446C (en) * 2002-10-31 2006-01-18 鼎新电脑股份有限公司 Method of on line rapid automatic renew
CN1223948C (en) * 2002-11-15 2005-10-19 鸿富锦精密工业(深圳)有限公司 Data synchronizing system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840399B (en) * 2009-03-17 2012-11-21 联想(北京)有限公司 Computer and method for data synchronization between computer and electronic equipment
CN103399763A (en) * 2013-07-23 2013-11-20 北京昆腾微电子有限公司 Method and device for downloading program files applied to chips
CN103399763B (en) * 2013-07-23 2016-12-28 北京昆腾微电子有限公司 The method and apparatus downloading the program file for chip
CN106657376A (en) * 2017-01-04 2017-05-10 泰康保险集团股份有限公司 Data synchronization processing method and device
CN106657376B (en) * 2017-01-04 2020-08-28 泰康保险集团股份有限公司 Data synchronization processing method and device

Also Published As

Publication number Publication date
CN101008908B (en) 2010-06-23

Similar Documents

Publication Publication Date Title
US7634507B2 (en) Ensuring data persistence and consistency in enterprise storage backup systems
CN102594849B (en) Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
US20080028402A1 (en) Method of setting operation environment and computer system
CN102981931A (en) Backup method and device for virtual machine
WO2009070671A2 (en) Methods and apparatus for storing and transmitting historical configuration data associated with information technology assets
US8495012B2 (en) System and method for managing root file system
CN103034566A (en) Method and device for restoring virtual machine
US20090327295A1 (en) Maintenance of exo-file system metadata on removable storage device
CN110968417B (en) Method, apparatus, system and computer storage medium for managing storage units
CN103516549A (en) File system metadata log mechanism based on shared object storage
US20140082275A1 (en) Server, host and method for reading base image through storage area network
CN111708488A (en) Distributed memory disk-based Ceph performance optimization method and device
CN101937378B (en) Method for carrying out back-up protection on data of storage equipment and computer system
TWI428744B (en) System, method and computer program product for storing transient state information
CN101008908B (en) Synchronous data copy system and method
CN101477447A (en) Disk snap method and apparatus
CN104517067A (en) Method, device and system for data access
CN112579550B (en) Metadata information synchronization method and system of distributed file system
US11210236B2 (en) Managing global counters using local delta counters
JP2000222376A (en) Computer system and method for operating the same
WO2011120335A1 (en) Method, device and computer for data operation
CN109558205B (en) Disk access method and device
EP2135166A1 (en) Service workload identification in a data storage system
CN103838639A (en) Method, device and system for recovering metadata of virtual disk
JP2003114768A (en) Method of controlling external memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100623

Termination date: 20210125

CF01 Termination of patent right due to non-payment of annual fee