CN100383757C - Disk data backup system and method thereof - Google Patents

Disk data backup system and method thereof Download PDF

Info

Publication number
CN100383757C
CN100383757C CNB031595677A CN03159567A CN100383757C CN 100383757 C CN100383757 C CN 100383757C CN B031595677 A CNB031595677 A CN B031595677A CN 03159567 A CN03159567 A CN 03159567A CN 100383757 C CN100383757 C CN 100383757C
Authority
CN
China
Prior art keywords
data
hard disk
high technical
bus
attachment unit
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.)
Expired - Fee Related
Application number
CNB031595677A
Other languages
Chinese (zh)
Other versions
CN1601484A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031595677A priority Critical patent/CN100383757C/en
Publication of CN1601484A publication Critical patent/CN1601484A/en
Application granted granted Critical
Publication of CN100383757C publication Critical patent/CN100383757C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses a magnetic disk data backup system and a method thereof, and relates to a data backup technique which enables data backup to be independent of the operating system of a host computer. A data backup function based on multiple mirror image hard disks is realized by using only one ATA interface. The magnetic disk data backup system comprises a general hard disk controller and a plurality of hard disks in the same specification, and also comprises a data backup circuit module; the general hard disk controller is used for providing a high technical accessory interface, and is connected with the data backup circuit module through the high technical accessory interface; the data backup circuit module is used for extending the high technical accessory interface into a plurality of identical high technical accessory interfaces, and thus, the correctness of read data is judged, and data is selected to be output when the data is read from a plurality of hard disks, wherein each extended high technical accessory interface is connected with a hard disk.

Description

Data in magnetic disk standby system and method thereof
Technical field
The present invention relates to the redundancy technique of data, particularly the technology of using disk to carry out data backup.
Background technology
In recent ten years, along with development of computer, the processing speed of central processing unit (Central ProcessingUnit is called for short " CPU ") has increased manyfold, and the speed of CPU enters the GHz epoch; The access speed of internal memory (memory) also significantly increases, the frequency of operation of internal memory develops into 100MHz even 133MHz by 66MHz, dynamic randon access register (Dynamic Random Access Memory has appearred on the manufacturing technology, be called for short " DRAM ") to dual rate dynamic RAM (Double Data Rate DRAM, abbreviation " DDR DRAM ") leap need not improve the access speed that frequency of operation just can significantly improve DRAM.
And data memory device, mainly be hard disk (hard disk), access speed has only increased several times, form the bottleneck of computer system, dragged down the overall performance of computer system, if can not effectively promote the access speed of hard disk, the imbalance between CPU, internal memory and hard disk will make the improvement of CPU and internal memory form huge waste.Because hard disk speed depends on mechanical part to a great extent, therefore based on present seagate, very difficulty wants significantly to raise speed.
On the other hand, information security is more and more important, in case the corrupted data of hard disk, important data just may be destroyed overnight, therefore need double copies or many backups in field data such as finance, security and the backups of telecommunications ticket, promptly require data to have redundancy, require to provide uninterrupted, reliable and real-time data backup.
Present personal computer (Personal Computer, abbreviation " PC ") the hard disk great majority that use all are integrated drive electronics (Integrated Drive Electronics, be called for short " IDE ") compatible, only need to link up they and mainboard or interface card just passable with a cable.In fact IDE is meant the hard disk drive that controller and disk body are integrated, reduced the number of cable and the length of hard-disk interface like this, reliability of data transmission has obtained enhancing, and it is easier that hard disk manufacturing gets up to become, for the user, hard disk installs also more convenient.Ide interface also is Advanced Technology Attachment (AdvancedTechnology Attachment is called for short " ATA ") interface.
In order to improve the speed of data-storage system capacity and transmission data, the redundancy that guarantees data is with Backup Data, existing solution has generally adopted raid-array (Redundant Array ofIndependent Disks is called for short " RAID ") technology.
According to the difference that disk array is used, the technology that corresponding employing is different.The RAID technology mainly is divided into RAID0, RAID1, RAID3, RAID4 and RAID5.Wherein, RAID0 is used to improve access speed, and RAID1 is used for the backup of data.
The realization of RAID0 needs two above hard disk drives, and data are not to be kept on the hard disk among the RAID0, are kept on the different driving device but be divided into data block.Because on the different driving device, so data throughput improves greatly, balance is also compared in the load of driver with DATA DISTRIBUTION.If just needed data efficient on different drivers is best.It does not need the calculation check sign indicating number, realizes easily.Its shortcoming is that it does not have data error control, if the data in driver make a mistake, even the data on other dish are correctly also of no avail.Simultaneously, RAID0 can improve message transmission rate, and on two hard disks, these two hard disks can read simultaneously such as the required file distribution that reads.The time of reading same file so originally is shortened into 1/2.
RAID1 adopts peripheral device interconnection (Peripheral Component Interconnect, be called for short " PCI ") bus or small computer system interface (Small Computer System Interface, abbreviation " SCSI ") bus or local bus (Local BUS) produce the read-write control of disk array, as shown in Figure 1.Wherein two hard disk specifications are identical, mirror phase each other, and when Primary Hard Drive damaged, the mirror image hard disk just can replace Primary Hard Drive work, and the mirror image hard disk is equivalent to a back-up disk.During the central processing unit reading writing harddisk, as hard disk of read-write, the speed of write data is identical during with a hard disk, but read data the time, two hard disks are read simultaneously, and speed is doubled.RAID 1 can guarantee the reliability and the recoverability of system to greatest extent under the situation that does not influence performance, improve the security and the fault-tolerant ability of system.RAID 1 time, the fault of any hard disk can not have influence on the normal operation of system, even works incessantly can go wrong at the hard disk of half quantity the time.When a hard disk lost efficacy, this hard disk can be ignored by system, continued the normal operation of maintenance system.
Wherein adopt the raid-array technology of SCSI bus generally to be used for relatively large system, cost is than higher, less at ordinary times employing.Daily use is the IDE hard disk mostly, so that press close to most with us is IDE RAID, it is very low to be limited to application level, and IDE RAID majority is only supported RAID 0, and RAID 1 waits a few RAID technology.
In actual applications, there is following problem in such scheme: there is the software and hardware compatibility issue in the RAID technology and has increased the factor leading to social instability of system potentially, and can't adopt the RAID technology to realize data backup in some specific system.
Cause a main cause of this situation to be, at first the RAID technology adopts pci bus, SCSI bus or local bus to produce the read-write control of disk array, its driver and main frame, the used operating system of main frame all have relation, therefore can exist the software and hardware compatibility issue also to increase the factor leading to social instability of system potentially; Secondly, in some data-storage systems, local bus is nonopen, system does not provide PCI expansion mouth, does not provide SCSI expansion mouth, only on an ata interface yet, hang a hard disk, this moment, this system can't adopt the RAID technology to realize the data in magnetic disk backup.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of data in magnetic disk standby system and method thereof, makes data backup be independent of the operating system of main frame, has only just realized data backup function based on a plurality of mirror image hard disks with an ata interface.
In order to solve the problems of the technologies described above, the invention provides a kind of data in magnetic disk standby system, comprise general hard disc controller and the identical hard disk of some block specifications, also comprise: data backup circuit module;
Described general hard disc controller is used to provide a high technical attachment unit interface and is connected with described data backup circuit module by described high technical attachment unit interface;
Described data backup circuit module is used for a high technical attachment unit interface is expanded at least two identical high technical attachment unit interface, each described high technical attachment unit interface of expanding out is connected with a described hard disk, when writing data, write identical data to each hard disk, when reading of data, judge the correctness of each road sense data and select wherein one tunnel output.
Wherein, also comprise, be used to control described general hard disc controller by system bus and the central processing unit that described general hard disc controller is connected.
Described data backup circuit module is sent alerting signal in wrong generation.
With the interface conversion of other types is high technical attachment unit interface, utilizes described data backup circuit module to carry out data backup again.
Described data backup circuit module comprises: first reproducer, second reproducer, first selector, second selector, comparer and control-signals generator;
Described first reproducer be used for address/sheet with the high technical attachment unit interface of described general hard disc controller output select bus signals to copy as at least the address/sheet of the identical high technical attachment unit interface of two-way selects bus signals, and the address/sheet of the every road high technical attachment unit interface that will export address/sheet of selecting bus signals to output to the high technical attachment unit interface of a described hard disk respectively by bus selects the input end of bus;
Described second reproducer is used for the data bus signal of the high technical attachment unit interface of described general hard disc controller output is copied as the data bus signal of the identical high technical attachment unit interface of two-way at least, and the data bus signal of the every road high technical attachment unit interface that will export outputs to the input end of data bus of the high technical attachment unit interface of a described hard disk respectively by bus;
Described first selector is used for selecting one the tunnel according to its control end signal from the data-signal on the data bus of the high technical attachment unit interface of the described hard disk of two-way at least, is connected to the data bus I/O end of the high technical attachment unit interface of described general hard disc controller by bus;
Second selector is used for according to its control end signal, select one the tunnel the control signal on the control bus from the data bus of the high technical attachment unit interface of the described hard disk of two-way at least, be connected respectively to the control bus input end of the high technical attachment unit interface of described general hard disc controller by bus;
Described comparer is used for the data-signal on the data bus of high technical attachment unit interface of described hard disk of comparison several input and comparative result is outputed to the input end of described control-signals generator;
Described control-signals generator is used for which judges the correctness of several data/state for correct related protocol according to judging two paths of data/state, and produces control signal.
As long as there is the control signal of a described hard disk to indicate described hard disk still unripe, then described second selector is just exported a control signal and is represented that described hard disk is still unripe.
Described data backup circuit module also comprises: the alarm generator that is connected with described control-signals generator; Described alarm generator is used for when a described hard disk makes a mistake, and produces alarm signal.
When described alarm generator produces alarm signal, indicate the duty of described hard disk, and notify described central processing unit by other interfaces with pilot lamp.
The method that the present invention also provides a kind of data in magnetic disk standby system to read and write data comprises following steps:
When A arrives hard disk when high technical attachment unit interface write data/parameter, data/parameter is copied as identical two-way write two hard disks respectively;
B judges at first when high technical attachment unit interface during from hard disk read data/state whether data/the state of two hard disks is consistent, if consistent, the data/state of an optional hard disk reads and gets final product, otherwise enters step C;
C judges whether that two-way all makes mistakes, if, optional one the tunnel gives the high technical attachment unit interface data bus and is initiated to read and write again or carry out the hard disk diagnostic process by central processing unit, otherwise selects one tunnel correct data/state to give the high technical attachment unit interface data bus.
By relatively finding, technical scheme difference with the prior art of the present invention is, has increased a data backup module, directly one road ata interface is converted to multi-channel A TA interface, each son of each ata interface connects the hard disk that specification is identical, and each hard disk is mirror image each other.
Difference on this technical scheme, brought comparatively significantly beneficial effect, be that the data in magnetic disk backup scenario that the present invention proposes is independent of main frame and the used operating system of main frame, do not need main frame and host operating system are changed and can directly be used, realized seamless link with existing system, make the operation of data in magnetic disk backup easier, and for the more existing system that bus expansion mouth is not provided thereby can't realizes data backup, the change or the upgrading that do not need to carry out system also can realize the data in magnetic disk backup, thereby saved the complex operations of change or upgrade-system, provide cost savings, therefore the present invention program can be widely used in the important information storage system, in communication facilities, can be used for the storage of phone ticket, in telecommunications, finance, security, there is important use value in basins such as bank.
Description of drawings
Fig. 1 is the system construction drawing of existing raid-array technology 1;
Fig. 2 is the structural drawing according to the data in magnetic disk standby system of a specific embodiment of the present invention;
Fig. 3 is the schematic diagram according to data backup circuit module in the data in magnetic disk standby system of a specific embodiment of the present invention;
Fig. 4 is the data in magnetic disk standby system disk read-write sequential chart according to a specific embodiment of the present invention
Process flow diagram when Fig. 5 reads and writes data for the data in magnetic disk standby system according to a specific embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Usually CPU is connected with hard disk by ata interface, realizes the access of data, and the present invention program realizes the expansion of an ata interface to several ata interfaces by increasing the data backup circuit, thereby utilizes the ata interface that expands to realize the backup of data.
Below in conjunction with specific embodiment explanation the present invention program of the present invention.This specific embodiment expands to two ata interfaces with an ata interface and realizes the backup of data.
Structure such as Fig. 2 of the data in magnetic disk standby system of the present invention program's a specific embodiment.
This data in magnetic disk standby system comprises: central processing unit 10, general hard disc controller 20, data backup circuit module 30 and hard disk 40.
Wherein, central processing unit 10 links to each other with general hard disc controller 20 by pci bus, general hard disc controller 20 is used to provide an ata interface to link to each other with data backup circuit module 30, data backup circuit module 30 is expanded into two ata interfaces with an ata interface, each ata interface of expanding out links to each other with a hard disk 40, the identical data of access realize the backup of data, and hard disk 40 has two, and they are the mirror phase each other.
The module that data backup circuit module 30 increases newly for the present invention, it is used for address/sheet that the address/sheet with ata interface selects bus, data bus and control bus to expand to the identical ata interface of two parts respectively and selects bus, data bus and control bus, in two hard disk reading of data, judging the correctness of sense data and selecting data output, in wrong generation, send corresponding alerting signal.Data backup circuit module 30 can have a variety of implementations, for example utilize field programmable gate array (Field Programmable Gate Array, be called for short " FPGA ") realize, perhaps utilize printed circuit board (PCB) (Printed Circuit Board, be called for short " PCB ") realize, perhaps partial circuit realizes that by digital signal processor (Digital Signal Processing is called for short " DSP ") part is realized by FPGA.Those of ordinary skill in the art are appreciated that according to identical principle the data backup circuit can expand to a plurality of ata interfaces with an ata interface, the ata interface of each expansion connects a hard disk 40, can realize the backup of data equally, at this moment, the data that all harddisk access are identical.Need to prove that the specification of two hard disks 40 is identical among Fig. 2.
Those of ordinary skill in the art are appreciated that if the interface of other types carries out data backup, can be converted into ata interface earlier, utilize data backup circuit of the present invention to carry out data backup again.
Internal circuit schematic diagram such as Fig. 3 of data backup circuit module 30.
Data backup circuit module 30 comprises: reproducer 31, reproducer 32, selector switch 33, selector switch 34, comparer 35, control-signals generator 36 and alarm generator 37.
Reproducer 31 is used for when reading writing harddisk 40, it is that the identical ATA address/sheet of two-way selects bus signals that the ATA address/sheet of general hard disc controller 20 output is selected the signal replication of bus, and the every road ATA address/sheet that will export selects bus signals to select bus input end by ATA address/sheet that bus connects a hard disk 40 respectively.For example, in a preferred embodiment of the present invention, when certain address from hard disk begins read data, the signal that general hard disc controller 20 selects OPADD on the bus/sheet to select at ATA address/sheet, reproducer 31 copies as identical two-way address/chip selection signal with address/chip selection signal and is input in two identical hard disks 40 of specification by bus.
Reproducer 32 is used for when hard disk 40 writes data, to copy as the identical ATA data bus signal of two-way from the ATA data bus signal that the ATA data bus I/O termination of general hard disc controller 20 is received, and the every road ATA data bus signal that will export is connected to the ATA data bus I/O end of a hard disk 40 by bus.For example, in a preferred embodiment of the present invention, when needs when hard disk 40 writes data, produce the data-signal that need write on the ATA of general hard disc controller 20 data bus, reproducer 32 is identical two-way ATA data bus signal and the data bus I/O end that is input to two hard disks 40 respectively with this signal replication.
Selector switch 33 is used in hard disk 40 reading of data, according to the control end signal of selector switch 33, the data-signal on the data bus of the two-way hard disk 40 of selection input outputs to the ATA data bus I/O end of general hard disc controller 20 by bus.Wherein, the control end signal of selector switch 33 is produced by control-signals generator 36.For example, in a preferred embodiment of the present invention, when needs from hard disk 40 reading of data the time, two hard disks 40 reading of data respectively output to the input end of selector switch 33, and selector switch 33 is selected wherein circuit-switched data output according to the control end signal.
Selector switch 34 is used for when hard disk 40 reads and writes data, and according to the control end signal of selector switch 34, the control signal on the ATA control bus of the two-way hard disk 40 of selection input outputs to the ATA control bus input end of general hard disc controller 20 by bus.For example, in a preferred embodiment of the present invention, when reading and writing data, selector switch 34 selects the ATA control signal of two hard disks 40 to export according to the control end signal, and the signal of output can be that input/input is ready to signal control signals such as (IORDY).
Comparer 35 is used in hard disk 40 reading of data, relatively the data-signal on the data bus of Shu Ru two-way hard disk 40 and comparative result is outputed to an input end of control-signals generator 36.For example, in a preferred embodiment of the present invention, comparer 35 compares the two paths of data signal of input, if consistent, is output as 0, inconsistently is output as 1.
Control-signals generator 36 be used for according to related protocol judge two paths of data/state which for correct, and produce two path control signal in view of the above and control selector switch 33 respectively and select data and the output of selector switch 34 selection modes.Concrete agreement can be with reference to " T13 1321D Information Technology-ATAttachment with Packet Interface-5 (ATA/ATAPI-5) ", Chinese can be translated as " T131321D infotech-have the high technical attachment unit interface-5 of packet interface abbreviates ATA/ATAPI-5 as ".
Alarm generator 37 is used for when a hard disk 40 makes a mistake, and produces alarm signal.Alarm signal can be indicated the duty of hard disk with pilot lamp, also can tell to CPU by other interfaces.For example, in a preferred embodiment of the present invention, when a hard disk 40 makes a mistake, light alarm indicator and send the alarm buzzing.
Those of ordinary skill in the art are appreciated that according to same principle and an ata interface can be expanded to two above ata interfaces and realize the backup of data.At this moment, only need the output way of duplicating of reproducer 31, reproducer 32 is increased; Selector switch 33, selector switch 34 be improved to the multichannel input selector by the dual input selector switch; Change comparer 35 into the multichannel input comparator by the dual input comparer; The relatively judgement agreement of control-signals generator 36 inside is constant, and the control signal of output is changed a little and can be realized.
By above-mentioned principle of the present invention as can be seen, thereby the present invention copies as identical several ata interfaces with an ata interface to realize data backup, irrelevant with the signal of ata interface, therefore the present invention not only is suitable for the ATA input and output (ProgrammableInput/Output able to programme of hard disk, be called for short " PIO ") the mode reads write data, also be suitable for direct memory access (DMA) (DirectMemory Access is called for short " DMA ") mode reads write data.
Disk read-write sequential under I/O able to programme (PIO) mode as shown in Figure 4.Among Fig. 4, rectangular hollow frame is represented effective status, and it is high-impedance state that corresponding wall scroll horizontal line is represented disarmed state.
Wherein, sheet choosing/address signal is CS (1:0) and DA (2:0), and CS refers to Chip select among the CS (1:0), is used for choosing the command block or the controll block register of hard disk 40, DA refers to Deviceaddress among the DA (2:0), is used for specifying the register or the data port of hard disk 40.In a preferred embodiment of the present invention, two each other the hard disk 40 of mirror phase obtain identical sheet choosing/address signal.
Data I/O read signal is DIOR-, refers to Device I/O read, is the gating signal of reading the register or the data I/O port of hard disk 40, and low level is effective; Data I/O write signal is DIOW-, refers to Device I/O write, is the gating signal of writing the register or the data I/O port of hard disk 40, and low level is effective.
Write data or reading data signal are DD (15:0), and DD refers to Device Data among the DD (15:0), is the data of the transmission between hard disk 40 and the main frame, can be 8 bits or 16 bit widths.In a preferred embodiment of the present invention, when from the hard disk sense data time, reading data signal DD (15:0) may be different, at this moment need to judge and select one the tunnel to export.
It is IORDY that I/O is ready to signal, refers to I/O channel ready, represents that when low level hard disk 40 also is not ready for inputing or outputing data, needs main frame to increase waiting status.This signal is produced by selector switch 34, as long as there is a hard disk 40 still unripe, this signal is low level.For example, in a preferred embodiment of the present invention, be low level as long as the IORDY signal of a hard disk is arranged, just notify main frame to increase waiting status, be low level signal promptly to general hard disc controller 20 output IORDY.
Signal during input and output and sequential specifically can be with reference to " T13 1321D InformationTechnology-AT Attachment with Packet Interface-5 (ATA/ATAPI-5) ".
Workflow such as Fig. 5 when a specific embodiment data in magnetic disk standby system of the present invention reads and writes data.
At first enter step 110, whether judge ATA,, otherwise enter step 130 if then enter step 120 in write data/parameter.When concrete enforcement, judge that by the state of judging DIOW-whether ATA is in write data/parameter.
In step 120, data/parameter is divided into identical two-way and writes two hard disks respectively.In this step, just finished the backup of data, formed the storage data of mirror phase each other.
In step 130, whether judge ATA at read data/state, if then enter step 140, otherwise this flow process finishes.When concrete enforcement, judge that by the state of judging DIOR-whether ATA is at read data/state.
In step 140, judge whether the data/state of two hard disks is consistent, if then enter step 150, otherwise enter step 160.Why needing this step is in order to increase the reliability of data read, and data change and cause the data of read error when preventing to store.
In step 150, the data/state of an optional hard disk reads.At this moment, the data/state consistency of two hard disk outputs illustrates that the data/state of any one hard disk all is correct, and therefore optional one tunnel output gets final product.
In step 160, judge whether the data/state of two hard disks is completely wrong, if then enter step 180, otherwise enter step 170.This step judges according to relevant agreement, specifically can be referring to " T13 1321D Information Technology-AT Attachment with PacketInterface-5 (ATA/ATAPI-5) ".
In step 170, give ATA data bus with correct data/state.
In step 180, optional one circuit-switched data/state is passed to the ATA data bus.This moment, therefore unnecessary making a choice chosen one tunnel output wantonly because two paths of data/state is all wrong.Then enter step 190.
In step 190, CPU initiates to read and write again or carry out the hard disk diagnostic process.
So far, finish the flow process of a read/write hard disk.
By the flow process of reading and writing above, those of ordinary skill in the art are appreciated that the probability that two hard disks make mistakes simultaneously is very little, so the present invention has improved the safe coefficient of preserving data greatly.Though by reference some preferred embodiment of the present invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that, can do various changes to it in the form and details, and the spirit and scope of the present invention that do not depart from appended claims and limited.

Claims (8)

1. a data in magnetic disk standby system comprises general hard disc controller and the identical hard disk of some block specifications, it is characterized in that described system also comprises data backup circuit module, wherein,
Described general hard disc controller is used to provide a high technical attachment unit interface, and is connected with described data backup circuit module by described high technical attachment unit interface;
Described data backup circuit module is used for a high technical attachment unit interface is expanded at least two identical high technical attachment unit interface, and each described high technical attachment unit interface of expanding out is connected with a described hard disk, and
When writing data, write identical data to each hard disk; When reading of data, judge the correctness of each road sense data and select wherein one tunnel output.
2. data in magnetic disk standby system according to claim 1 is characterized in that, also comprises by system bus and the central processing unit that described general hard disc controller is connected, and is used to control described general hard disc controller.
3. data in magnetic disk standby system according to claim 1 is characterized in that described data backup circuit module is sent alerting signal in wrong generation.
4. data in magnetic disk standby system according to claim 2 is characterized in that, described data backup circuit module comprises: first reproducer, second reproducer, first selector, second selector, comparer and control-signals generator; Wherein,
Described first reproducer be used for address/sheet with the high technical attachment unit interface of described general hard disc controller output select bus signals to copy as at least the address/sheet of the identical high technical attachment unit interface of two-way selects bus signals, and the address/sheet of the every road high technical attachment unit interface that will export address/sheet of selecting bus signals to output to the high technical attachment unit interface of a described hard disk respectively by bus selects the input end of bus;
Described second reproducer is used for the signal replication of the data bus of the high technical attachment unit interface of described general hard disc controller output is the data bus signal of the identical high technical attachment unit interface of two-way at least, and the data bus signal of the every road high technical attachment unit interface that will export outputs to the input end of data bus of the high technical attachment unit interface of a described hard disk respectively by bus;
Described first selector is used for selecting one the tunnel according to its control end signal from the data-signal on the data bus of the high technical attachment unit interface of the described hard disk of two-way at least, is connected to the data bus I/O end of the high technical attachment unit interface of described general hard disc controller by bus;
Second selector is used for according to its control end signal, select one the tunnel the control signal on the control bus from the data bus of the high technical attachment unit interface of the described hard disk of two-way at least, be connected respectively to the control bus input end of the high technical attachment unit interface of described general hard disc controller by bus;
Wherein, the control end signal of described first selector and described second selector produces and outputs to the control end of described first selector and second selector by described control-signals generator;
Described comparer is used for the data-signal on the data bus of high technical attachment unit interface of described hard disk of comparison several input, and comparative result is outputed to the input end of described control-signals generator;
Described control-signals generator is used for which judges the correctness of several data/state for correct related protocol according to judging two paths of data/state, and produces control signal.
5. data in magnetic disk standby system according to claim 4 is characterized in that, when the control signal of at least one described hard disk indicates described hard disk still unripe, then described second selector is just exported a control signal and represented that described hard disk is still unripe.
6. data in magnetic disk standby system according to claim 4, it is characterized in that described data backup circuit module also comprises the alarm generator that is connected with described control-signals generator, wherein, described alarm generator is used for when a described hard disk makes a mistake, and produces alarm signal.
7. data in magnetic disk standby system according to claim 6 is characterized in that, when described alarm generator produces alarm signal, indicates the duty of described hard disk with pilot lamp, and notifies described central processing unit by other interfaces.
8. the method that the data in magnetic disk standby system reads and writes data is characterized in that, comprises following steps:
When A arrives hard disk when high technical attachment unit interface write data/parameter, data/parameter is copied as identical two-way write two hard disks respectively;
B judges at first when high technical attachment unit interface during from hard disk read data/state whether data/the state of two hard disks is consistent, if consistent, the data/state of an optional hard disk reads and gets final product, otherwise enters step C;
C judges whether that two-way all makes mistakes, if, optional one the tunnel gives the high technical attachment unit interface data bus and is initiated to read and write again or carry out the hard disk diagnostic process by central processing unit, otherwise selects one tunnel correct data/state to give the high technical attachment unit interface data bus.
CNB031595677A 2003-09-23 2003-09-23 Disk data backup system and method thereof Expired - Fee Related CN100383757C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031595677A CN100383757C (en) 2003-09-23 2003-09-23 Disk data backup system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031595677A CN100383757C (en) 2003-09-23 2003-09-23 Disk data backup system and method thereof

Publications (2)

Publication Number Publication Date
CN1601484A CN1601484A (en) 2005-03-30
CN100383757C true CN100383757C (en) 2008-04-23

Family

ID=34660685

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031595677A Expired - Fee Related CN100383757C (en) 2003-09-23 2003-09-23 Disk data backup system and method thereof

Country Status (1)

Country Link
CN (1) CN100383757C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556527B (en) * 2008-04-10 2010-10-27 英业达股份有限公司 System and method for judging disk connecting level of double-backup memory
CN101751306B (en) * 2008-12-12 2012-01-11 内江市效率源信息安全技术有限责任公司 Data recovery device and recovery method for defective hard disk
CN102637140B (en) * 2011-05-27 2015-01-21 南京信核数据科技有限公司 Novel uncorrected data tape backup system
CN103257905B (en) * 2013-05-02 2016-01-20 浙江中控技术股份有限公司 A kind of embedded computer system internal storage data checking circuit and method
CN108229214A (en) * 2016-12-22 2018-06-29 北京兆易创新科技股份有限公司 A kind of method and apparatus for improving Information Security
CN113392055B (en) * 2020-03-13 2024-01-30 北京小米移动软件有限公司 File transmission method, file transmission device and storage medium
CN112700799B (en) * 2020-12-24 2023-02-10 上海良茂网络科技有限公司 Data storage device for computer software development

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1030868C (en) * 1992-05-12 1996-01-31 国际商业机器公司 Adapter for constructing redundant disk storage system
CN1136696A (en) * 1994-04-14 1996-11-27 国际商业机器公司 Lengthy disc storaging system
WO2001022221A1 (en) * 1999-09-22 2001-03-29 Netcell Corp. Raid controller system and method with ata emulation host interface
CN2482147Y (en) * 2001-03-27 2002-03-13 薛治江 Microcomputer having backup harddisk
US20030041278A1 (en) * 2001-08-24 2003-02-27 Icp Electronics Inc. Disk array control apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1030868C (en) * 1992-05-12 1996-01-31 国际商业机器公司 Adapter for constructing redundant disk storage system
CN1136696A (en) * 1994-04-14 1996-11-27 国际商业机器公司 Lengthy disc storaging system
WO2001022221A1 (en) * 1999-09-22 2001-03-29 Netcell Corp. Raid controller system and method with ata emulation host interface
CN2482147Y (en) * 2001-03-27 2002-03-13 薛治江 Microcomputer having backup harddisk
US20030041278A1 (en) * 2001-08-24 2003-02-27 Icp Electronics Inc. Disk array control apparatus

Also Published As

Publication number Publication date
CN1601484A (en) 2005-03-30

Similar Documents

Publication Publication Date Title
JP3151008B2 (en) Disk sector analysis method
US7055054B2 (en) Fail-over of multiple memory blocks in multiple memory modules in computer system
US6122685A (en) System for improving the performance of a disk storage device by reconfiguring a logical volume of data in response to the type of operations being performed
US6813688B2 (en) System and method for efficient data mirroring in a pair of storage devices
US6961818B1 (en) Method, system and computer program product for managing data in a mirrored cache using an access balancing technique
JP3181398B2 (en) Array type recording device
US8423818B2 (en) Disk array apparatus and method for controlling the same
US7779215B2 (en) Method and related apparatus for accessing memory
US7461201B2 (en) Storage control method and system for performing backup and/or restoration
US6604171B1 (en) Managing a cache memory
JP2005258918A (en) Storage system, and cache memory control method for storage system
WO2017190578A1 (en) Hard disk data wiping method, server and system
EP0682314B1 (en) Redundant disk storage system
CN100383757C (en) Disk data backup system and method thereof
US6671751B1 (en) Raid device for establishing a direct passage between a host computer and a hard disk by a data hub selectively passing only data to be accessed
US7130973B1 (en) Method and apparatus to restore data redundancy and utilize spare storage spaces
US5058005A (en) Computer system with high speed data transfer capabilities
US7447853B2 (en) Data copy device
US6760788B2 (en) Domain validation process that is transparent to a device driver
US7418548B2 (en) Data migration from a non-raid volume to a raid volume
CN113742282A (en) SATA IP core based on FPGA and data storage method
JPH1124849A (en) Fault recovery method and device therefor
CN113342257B (en) Server and related control method
CN112286446B (en) Storage device and control method thereof
US7590780B2 (en) Method and computer program product to migrate legacy data to a RAID array while contemporaneously providing user access to legacy data

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080423

Termination date: 20180923