CN1694084A - IDE control system with hot atach & detach function and magnetic dish array system - Google Patents

IDE control system with hot atach & detach function and magnetic dish array system Download PDF

Info

Publication number
CN1694084A
CN1694084A CN 200510070884 CN200510070884A CN1694084A CN 1694084 A CN1694084 A CN 1694084A CN 200510070884 CN200510070884 CN 200510070884 CN 200510070884 A CN200510070884 A CN 200510070884A CN 1694084 A CN1694084 A CN 1694084A
Authority
CN
China
Prior art keywords
ide
bus
reset signal
array
controller
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 200510070884
Other languages
Chinese (zh)
Other versions
CN100390769C (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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2005100708849A priority Critical patent/CN100390769C/en
Publication of CN1694084A publication Critical patent/CN1694084A/en
Application granted granted Critical
Publication of CN100390769C publication Critical patent/CN100390769C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

This invention relates to a IDE control system and disk array system, especially relates to a kind of IDE control system and disk array system with the function of hot atach & detach. It is mainly additionally set at least one reset signal stitch in the IDE controller, respectively connect every IDE bus, and suitably set a testing detect module in the drivers to detect whether the IDE device connected with every IDE bus has abnormal state. When the state is abnormal, transmitting reset signal using reset signal pin, and reset every IDE device connected to the IDE bus, to realize the function of being hot atach & detach.

Description

IDE control system and disc array system with hot plug function
Technical field
The present invention relates to a kind of IDE control system and disc array system, relate in particular to a kind of IDE control system and disc array system with hot plug function.
Background technology
In recent years, because industry and commerce and individual user constantly improve the requirement of transmission speed, capacity and the degree of stability of computerized information product, order about the computing machine dealer and constantly develop various new products to meet consumer demand.With regard to computer memory system, in the past disc driver when inserting or choosing the inconvenience that caused of the shutdown boot action that must carry out repeatedly often perplexing the user.
Seeing also Fig. 1, is to insert or remove process flow diagram for the disc driver of prior art.As shown in the figure, step 11 is the main frame of an operate as normal.As the insertion that will carry out disc driver on the IDE bus or when shifting out action, all programs that computing machine must carried out stop, as step 12; And with the main frame power-off, as step 13.After definite computer power supply is closed, just can on the IDE bus, carry out the insertion of disc driver or remove action, as step 14.
Then just carry out step 15, computer power supply is opened again, the back computing machine of electric power starting will carry out general boot program, and will detect the disc driver of new insertion this moment, as step 16; And all disc drivers are reset (reset), as step 17.Computing machine entered general normal operating conditions after replacement finished, and computer system can normally be used this moment, as step 18.By the flow process of above-mentioned prior art, when carrying out the disc driver Plug Action as can be known, the action that shut down repeatedly and start shooting, and must stop all executory programs, very inconvenience in the use.
In addition, the dealer is developed the stocking system (as the RAID1 disk array) that disk array (RAID) for the security that promotes the computer data storage, in this disk array, generally include at least one source disk (source disk) and and corresponding at least one mirrored disk (mirror disk), when data write source disk (source disk), also with stored data backup in mirrored disk (mirrordisk), cause the loss of data when preventing a certain disk failures wherein.Though disk array can effectively be avoided the data degradation that causes because of single disk failures, but when one of them of source disk that is positioned at same channel or mirrored disk damaged, system will occur wrong and can't continue to carry out original work, and must rely on the user that computing machine is started shooting again, and to computer system reset (reset) action after, normal condition and rerun routine could be recovered by system.
See also Fig. 2, the treatment step process flow diagram when damaging for disk array in the prior art.As shown in the figure, system carries out operation with a RAID1 disk array with source disk and mirrored disk, as step 201.If source disk and mirrored disk are positioned at same channel, and wherein during disc driver damage, will cause total system to use, as step 203 and step 205.Then just enter step 207, whether select shutdown system, if then this computer system can't work on, as step 221 shutdown system new activation of laying equal stress on not this moment.If the decision shutdown system then will enter step 211, whether damage the replacing of disc driver; If the replacing that does not damage disc driver is activation system again just, as step 231; Then system will be with single disk operation, and loses the data backup function that disk array had originally, as step 233.If the replacing that will damage disc driver then carry out step 213, just but change damage disc driver after power-on, computer system will be reset to disk array this moment, as step 215.Then computer system will rebulid Backup Data, as step 217, and return back to a RAID1 disk array with source disk and mirrored disk and will carry out system job, as step 219.Though the data of disk inside do not run off in the middle of above step, but in the middle of process, have to ongoing all programs of system be stopped and start shooting again with manual mode, if when the arbitrary disk in this computer system breaks down, arround not monitor or the user action of starting shooting again, then this computer system will be absorbed in the awkward situation that can't work for a long time, and then cause trouble and puzzlement in the use.
Summary of the invention
For this reason, how to design a kind of IDE control system and disc array system, can directly carry out disc hot insert, be inventive point of the present invention with hot plug function.
Fundamental purpose of the present invention, be to provide a kind of IDE control system with hot plug function, wherein in a driver, have additional a detection module, and at least one reset signal pin of being set up on the cooperation IDE controller, can whether abnormality be arranged in order to detect the IDE device that is connected, and thus the IDE device that is connected is reset, to reach the purpose of IDE device hot plug.
Another purpose of the present invention is to provide a kind of disc array system with hot plug function, wherein mainly is to set up the reset signal pin in the IDE controller, and cooperates detection module to be provided with, and can reach the purpose of disk array hot-swap.
A further object of the present invention, be to provide a kind of disc array system with hot plug function, can cooperate the setting of reset signal pin and detection module, make when the source disk of this disk array or mirrored disk damage to some extent, the action that need not start shooting the again disk on this channel of can resetting automatically is beneficial to the continuation of computer working.
Therefore, for achieving the above object, the invention provides a kind of IDE control system with hot plug function, its primary structure includes: an IDE controller, be connected with at least one IDE bus, and can be connected with at least one IDE device by the IDE bus; And a driver module, can be in order to the IDE device that drives the IDE controller and connected; Wherein, driver is provided with a detection module, in order to detect the IDE device that is connected on each IDE bus whether abnormality is arranged, the IDE controller then is provided with at least one reset signal pin, when detection module detects abnormality, promptly send a reset signal, so that the IDE device that is connected is reset by the reset signal pin.
In addition, the present invention can also provide a kind of disc array system with hot plug function, its primary structure includes: a disk array controller, include at least one IDE controller, each IDE controller is connected with at least one IDE bus, and disk array controller utilizes IDE controller and IDE bus and connects a plurality of array disc drivers; And a driver module, can be in order to the array disc driver that drives the array controller and connected; Wherein, driver is provided with a detection module, in order to detect the disk array that is connected on each IDE bus whether abnormality is arranged, each IDE controller then is provided with at least one reset signal pin, when detection module detects abnormality, promptly send a reset signal, so that the IDE device that is connected is reset by the reset signal pin.
Description of drawings
Fig. 1 is the disc driver plug process flow diagram of prior art;
Fig. 2 is the treatment step process flow diagram of prior art when disk array damages;
Fig. 3 is a preferred embodiment of the present invention block schematic diagram;
Fig. 4 is a preferred embodiment of the present invention application process process flow diagram;
Fig. 5 is another embodiment of the present invention block schematic diagram; And
Fig. 6 is another embodiment of the present invention application process process flow diagram.
Wherein, Reference numeral:
31 main control chips, 33 IDE controllers
35 reset signal pins, 37 IDE buses
391 IDE devices, 393 IDE devices
51 disk array controller, 53 IDE controllers
55 reset signal pins, 57 IDE buses
59 array disc drivers, 591 source disks
593 mirrored disks
Embodiment
Further understand and understanding for architectural feature of the present invention and the effect reached are had,, be described as follows here with preferred embodiment figure and cooperate detailed explanation:
At first, see also the 3rd figure, be the block schematic diagram of a preferred embodiment of the present invention; As shown in the figure, the present invention is provided with an IDE controller 33 in a main control chip 31, this IDE controller 33 can be connected with at least one IDE bus 37, can connect at least one IDE device respectively by the IDE slot on this IDE bus 37, as IDE device 391 and IDE device 393.This system includes a module or a driver (not shown) that contains driver, and this driver can be in order to the IDE device 391 and 393 that drives IDE controller 33 and connected.Wherein, also be provided with a detection module (trace routine) in the driver module, whether this detection module can have abnormality in order to detect the IDE device 391,393 that is connected on each IDE bus 37.
In addition, this IDE controller 33 has additional a reset signal pin 35 respectively corresponding to each IDE bus 37.When detection module detected IDE device 391 or 393 abnormality is arranged, this driver just can send a reset signal via reset signal pin 35, to all IDE devices that connected on this IDE bus 37 action of resetting.Wherein, above-mentioned abnormality system include the IDE device the insertion state, remove state or damage state etc.
Above-mentioned detection module can also design a system timer, and this system timer can be in order to control the time distance that this detection module detects the IDE device on the IDE bus 37 391,393.For example: via the setting of this system timer, apart from being 1 second, then this detection module will detect action to IDE device 391,393 with per second frequency once in the time of can ordering the detection of this detection module.Certainly, the setting of this system timer can be adjusted according to user's system requirements, if higher then this detection frequency of stability requirement of this system can improve relatively, to obtain the higher system degree of stability, vice versa.
The IDE device 391,393 that above-mentioned IDE bus 37 is connected may be selected to be a disc driver and a CD-ROM drive wherein one.This IDE controller 33 can be as mentioned above, integration is arranged at main control chip 31 inside or directly is arranged on the motherboard (not shown), perhaps, also can be arranged at one can be in order on the PCI adapter that is plugged in PCI (peripheral component interconnection) slot.And the above-mentioned main control chip 31 of integrating this IDE controller 33 may be selected to be south bridge, north bridge or north and south bridge integrate pattern the main control chip wherein one.
Moreover, see also the 4th figure, carry out the process flow diagram of disc driver hot plug for a preferred embodiment of the present invention.As shown in the figure, at first, system is the computer system of an operate as normal, as step 41.Detection module (not shown) in the system driver then detects system, and whether have abnormality, as step 42 if detecting the IDE device (as 391,393) that each IDE bus 37 connected; If each IDE device (391,393) there is no abnormality, then computer system will continue its work originally; If there is the situation that produces abnormality to take place in each IDE device (391,393), then enter step 43, then system utilizes the reset signal pin 35 of IDE controller 33 to send a reset signal to the IDE of correspondence bus 37, as step 43.All IDE devices that connected on this corresponding IDE bus 37 are received the later action of will resetting of this reset signal, as step 44.After the IDE of completing steps 44 device is reset, just this computing machine can recover normal job status, as step 41.
In general computer system operation therebetween, as long as the abnormality of IDE device produces, no matter be the insertion state, remove state or damage state, the capital makes system produce wrong and works as machine, can be when abnormality take place by structure of the present invention, the IDE device that the IDE bus of correspondence is connected is reset, make the system can be under the situation of the start again of need not shutting down, enter new ready state and continue operation, can carry out the function that heat is inserted to reach the IDE device.
See also the 5th figure, be the block schematic diagram of another embodiment of the present invention.As shown in the figure, the present invention also can apply to disc array system, it mainly is to be provided with at least one IDE controller 53 in a disk array controller 51, each IDE controller 53 can be connected with at least one IDE bus 57, this disk array controller 51 utilizes IDE controller 53 and IDE bus 57, and can be connected with a plurality of array disc drivers 59.This disk array system includes a driver module (not shown), in order to the array disc driver 59 that drives array controller 51 and connected.Wherein, have additional a detection module in the driver, can whether abnormality be arranged in order to detect the array disc driver 59 that is connected on each IDE bus 57.
In addition, each IDE controller 53 has additional a reset signal pin 55 respectively corresponding to each IDE bus 57.When detection module detected each array disc driver 59 abnormality is arranged, this driver just can send a reset signal via reset signal pin 55, to all array disc drivers 59 that connected on this IDE bus 57 action of resetting.Wherein, above-mentioned abnormality include array disc driver 59 the insertion state, remove state or damage state etc.
Above-mentioned detection module also can have additional a system timer, and this this detection module of system timer may command is to each IDE time distance that array disc driver 59 on 57 detects of confluxing.For example: via the setting of this system timer, apart from being 1 second, then this detection module will detect each array disc driver 59 with per second frequency once in the time of can ordering the detection of this detection module.Certainly, the setting of this system timer can make alterations according to user's system requirements, if higher then this detection frequency of stability requirement of this system can improve relatively, to obtain the higher system degree of stability, vice versa.
At last, see also the 6th figure, be the application process process flow diagram of another embodiment of the present invention.The RAID1 disk array of disc array system of the present invention applies to have at least one source disk (source disk) 591 and corresponding at least one mirrored disk (mirror disk) 593 can also provide the stability of system.
As shown in the figure, at first, system carries out operation with a RAID1 disk array with source disk 591 and mirrored disk 593, as step 601.During system job, whether the detection module in the driver will continue to monitor each disc driver that each IDE bus 57 connected has abnormality to produce, as step 603.If no abnormal state, then continue the normal operation condition of system and return step 601; If the abnormality that removes or damage of source disk 591 or mirrored disk 593 takes place, all disc drivers that then utilize 55 pairs of these IDE buses 57 of reset signal pin to be connected send a reset signal and reset, as step 615; Then system will cancel disk array function, with the single disk drive operation, as step 617.
When system during with single disk operation, whether detection module still continues to monitor the disc driver that is connected on the IDE bus 57 has abnormality to produce, as step 603.When detection module detects the abnormality that new disk inserts, then utilize corresponding to the reset signal pin of this bus to the action of resetting of all disc drivers on this bus, as step 605.After the action of resetting is finished, promptly the disc driver that inserts is carried out data reconstruction, as step 607.After data reconstruction was finished, then this computer system just can be replied and be become one and have the disc array system of source disk 591 and mirrored disk 593 and normal operation.
Certainly, though be to serve as the narration object with a source disk 591 and mirrored disk 593 in the above-described embodiments, in different embodiment, this source disk 591 and mirrored disk 593 also can be a plurality of and also applicable with paired design configurations person.
In sum, the present invention relates to a kind of IDE control system and disc array system, especially refer to a kind of have hot plug functional identity E control system and disc array system, it mainly is to set up at least one reset signal pin in the IDE controller, and cooperate the setting of a detection module, and can reach the purpose of IDE device hot plug, but and elevator system stability.The present invention has multiple different scheme when realizing, related herein specific implementation is just wherein a kind of.Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (13)

1, a kind of IDE control system with hot plug function is characterized in that, includes:
One IDE controller is connected with at least one IDE bus, can be connected with at least one IDE device by this IDE bus; And
One driver module can be in order to the IDE device that drives this IDE controller and connected;
Wherein, this driver module is provided with a detection module, in order to detect the IDE device that is connected on each IDE bus whether abnormality is arranged, this IDE controller then is provided with at least one reset signal pin, when detection module detects abnormality, promptly send a reset signal, so that the IDE device that is connected is reset by the reset signal pin.
2, IDE control system as claimed in claim 1 is characterized in that, each reset signal pin is provided with corresponding to each IDE bus.
3, IDE control system as claimed in claim 2, it is characterized in that, when the IDE device that is connected when an IDE bus wherein has abnormality, can be by reset signal pin that should bus be sent reset signal, and the IDE device that is connected on this bus is reset.
4, IDE control system as claimed in claim 1 is characterized in that, this detection module includes a system timer.
5, IDE control system as claimed in claim 1 is characterized in that, this abnormality can include: the insertion state, remove state and damage state.
6, IDE control system as claimed in claim 1 is characterized in that, described IDE controller can be integrated in one of them of a motherboard, a control chip and a PCI adapter.
7, a kind of disc array system with hot plug function is characterized in that, includes:
One disk array controller includes at least one IDE controller, and each IDE controller is connected with at least one IDE bus, and described disk array controller utilizes IDE controller and IDE bus and connects a plurality of array disc drivers; And
One driver module can be in order to the array disc driver that drives the array controller and connected;
Wherein, this driver module is provided with a detection module, in order to detect the disk array that is connected on each IDE bus whether abnormality is arranged, each IDE controller then is provided with at least one reset signal pin, when detection module detects abnormality, promptly send a reset signal, so that the IDE device that is connected is reset by the reset signal pin.
8, disc array system as claimed in claim 7 is characterized in that, each reset signal pin is provided with corresponding to each IDE bus.
9, disc array system as claimed in claim 8, it is characterized in that, when the disk array that is connected when an IDE bus wherein has abnormality, can be by reset signal pin that should bus be sent reset signal, and the IDE device that is connected on this bus is reset.
10, disc array system as claimed in claim 7 is characterized in that, this detection module includes a system timer.
11, disc array system as claimed in claim 7 is characterized in that, this abnormality can include: the insertion state, remove state and damage state.
12, disc array system as claimed in claim 7 is characterized in that, one of them of a motherboard, a control chip and a PCI adapter can be selected to be integrated in by this disk array controller system.
13, disc array system as claimed in claim 7 is characterized in that, this disk array includes at least one source disk and corresponding mirrored disk, and is a RAID1 disk array.
CNB2005100708849A 2005-05-20 2005-05-20 IDE control system with hot atach & detach function and magnetic dish array system Active CN100390769C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100708849A CN100390769C (en) 2005-05-20 2005-05-20 IDE control system with hot atach & detach function and magnetic dish array system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100708849A CN100390769C (en) 2005-05-20 2005-05-20 IDE control system with hot atach & detach function and magnetic dish array system

Publications (2)

Publication Number Publication Date
CN1694084A true CN1694084A (en) 2005-11-09
CN100390769C CN100390769C (en) 2008-05-28

Family

ID=35353049

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100708849A Active CN100390769C (en) 2005-05-20 2005-05-20 IDE control system with hot atach & detach function and magnetic dish array system

Country Status (1)

Country Link
CN (1) CN100390769C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100458753C (en) * 2007-03-01 2009-02-04 华为技术有限公司 Hard disk hot swap system in multiple hard disks system and method
CN102023940B (en) * 2009-09-16 2013-07-10 研祥智能科技股份有限公司 CPCI (compact peripheral component interconnection) hot swapping system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5644705A (en) * 1995-01-11 1997-07-01 International Business Machines Corporation Method and apparatus for addressing and testing more than two ATA/IDE disk drive assemblies using an ISA bus
US5832418A (en) * 1997-06-23 1998-11-03 Micron Electronics Apparatus for testing a controller with random contraints
CN1206580C (en) * 2001-05-09 2005-06-15 英业达股份有限公司 Connect-disconnect intelligent magnetic disc equipment interface and its implementation
CN1301469C (en) * 2002-09-27 2007-02-21 鸿富锦精密工业(深圳)有限公司 Control circuit and method of double hot plug-in IDE devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100458753C (en) * 2007-03-01 2009-02-04 华为技术有限公司 Hard disk hot swap system in multiple hard disks system and method
CN102023940B (en) * 2009-09-16 2013-07-10 研祥智能科技股份有限公司 CPCI (compact peripheral component interconnection) hot swapping system

Also Published As

Publication number Publication date
CN100390769C (en) 2008-05-28

Similar Documents

Publication Publication Date Title
US20040078663A1 (en) Information processing system and disk control method used in the same
US20010020277A1 (en) Method and computer program product for diagnosing and handing non-responsive device in a computer system
US20090217111A1 (en) Evaluation method and evaluation system for semiconductor storage device
CN101364193A (en) BIOS automatic recovery method and computer and system using the method
US20150058542A1 (en) Updating techniques for memory of a chassis management module
CN102880527B (en) Data recovery method of baseboard management controller
CN105223889A (en) A kind of method being applicable to the automatic monitoring PMC RAID card daily record of producing line
TW201520895A (en) System and method for automatically recovering BIOS of a computer
CN112506744B (en) Method, device and equipment for monitoring running state of NVMe hard disk
JP2003150280A (en) Backup management system and method
CN102541704A (en) Testing method for RAID (redundant array of independent disk) cards
CN1277209C (en) Hard disk data controlling method
US20090138740A1 (en) Method and computer device capable of dealing with power fail
CN104461402A (en) Method for adjusting disk sequence among multiple controllers under linux system
US20020184563A1 (en) Computer apparatus and method of diagnosing same
CN109445561B (en) Power failure protection system and method applied to server and server
CN1740992A (en) The BIOS on-line rewriting method
CN1694084A (en) IDE control system with hot atach & detach function and magnetic dish array system
US7694163B1 (en) System for generating and monitoring voltages generated for a variety of different components on a common printed circuit board
CN106371945A (en) Method and device for restoring firmware information
US20080235524A1 (en) System for peripheral re-enumeration
CN1719425A (en) BIOS online burning system
CN102270184B (en) PCI-E slot control system and method based on multiple processors
CN111209146B (en) RAID card aging test method and system
CN106201463A (en) A kind of startup method of electronic equipment and electronic equipment

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