CN1301469C - Control circuit and method of dual hot-swap IDE device - Google Patents
Control circuit and method of dual hot-swap IDE device Download PDFInfo
- Publication number
- CN1301469C CN1301469C CNB021348618A CN02134861A CN1301469C CN 1301469 C CN1301469 C CN 1301469C CN B021348618 A CNB021348618 A CN B021348618A CN 02134861 A CN02134861 A CN 02134861A CN 1301469 C CN1301469 C CN 1301469C
- Authority
- CN
- China
- Prior art keywords
- ide
- hot
- controller
- signal
- devices
- 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
Links
Images
Landscapes
- Bus Control (AREA)
- Power Sources (AREA)
Abstract
一种双热插拔IDE装置之控制电路及方法,其中所述控制电路包括:一个IDE控制器,第一、第二IDE装置,第一、第二快速开关,一个IDE连接器,以及一个热插拔控制器,所述热插拔控制器通过所述IDE连接器与所述IDE控制器进行信号传送与接收,并可控制所述第一、第二快速开关开启或关闭。所述控制方法使得当所述第一、第二IDE装置之一热拔出或热插入时,所述热插拔控制器发送信号至相应电源开关,使之关闭或开启,并发送信号至所述IDE控制器,告知其停止或开始发送IDE总线信号。
A control circuit and method for dual hot-swappable IDE devices, wherein the control circuit includes: an IDE controller, first and second IDE devices, first and second fast switches, an IDE connector, and a thermal A plug-in controller, the hot-swap controller transmits and receives signals with the IDE controller through the IDE connector, and can control the first and second fast switches to be turned on or off. The control method is such that when one of the first and second IDE devices is hot-plugged or hot-inserted, the hot-swap controller sends a signal to the corresponding power switch to turn it off or on, and sends a signal to the The above IDE controller tells it to stop or start sending IDE bus signals.
Description
【技术领域】【Technical field】
本发明涉及一种IDE装置之控制电路及方法,特别是涉及一种双热插拔IDE装置之控制电路及方法。The present invention relates to a control circuit and method of an IDE device, in particular to a control circuit and method of a dual hot-plug IDE device.
【背景技术】【Background technique】
随着计算机技术的发展,计算机系统对内存容量的要求越来越高。为提升内存容量,计算机系统通常会被附加上具有高存储容量的永久性外部存储装置。硬盘装置(HDD)是当前应用最普遍的一种外部存储装置。With the development of computer technology, computer systems have higher and higher requirements for memory capacity. To increase memory capacity, computer systems are often attached with persistent external storage devices with high storage capacity. A hard disk device (HDD) is currently the most commonly used external storage device.
硬盘装置通常包括存储媒质、读/写磁头、用来旋转存储媒质的马达及电路板,其中电路板设有接口用以将硬盘装置连接至计算机的硬盘控制板上,而IDE接口则是将电子装置(如硬盘装置)连接至计算机上的一种常用标准接口,凡符合IDE标准的硬盘装置称为IDE硬盘装置(IDE_HDD)。IDE标准允许两个IDE硬盘装置通过同一IDE信道连接至一硬盘控制板。A hard disk device usually includes a storage medium, a read/write head, a motor for rotating the storage medium, and a circuit board. The circuit board is provided with an interface for connecting the hard disk device to the hard disk control board of the computer, and the IDE interface is used to connect the electronic A commonly used standard interface for connecting a device (such as a hard disk device) to a computer, and any hard disk device that conforms to the IDE standard is called an IDE hard disk device (IDE_HDD). The IDE standard allows two IDE hard disk devices to be connected to a hard disk control board through the same IDE channel.
同时,由于计算机可被设计成服务器,透过网络的架构提供存储在网络文件服务器硬盘中的资料,因此,当这些硬盘发生问题需要维修时,必须要在不关闭系统电源的情况下进行,以避免传输中的资料遗失,所以,可热插拔的IDE硬盘装置即为满足此需求而被设计出来。At the same time, since the computer can be designed as a server, the data stored in the hard disk of the network file server can be provided through the network structure. Therefore, when these hard disks have problems and need to be repaired, it must be done without turning off the system power, so as to To avoid data loss during transmission, the hot-swappable IDE hard disk device is designed to meet this requirement.
在已知的应用中,热插拔一IDE硬盘装置,同一信道连接的另一IDE硬盘装置将对其造成妨碍,影响整个系统的稳定性,所以一IDE信道通常仅连接一个可热插拔IDE硬盘装置。此时,该IDE信道提供的另一接口则闲置,造成资源浪费。In known applications, if an IDE hard disk device is hot-swappable, another IDE hard disk device connected to the same channel will hinder it and affect the stability of the entire system, so an IDE channel is usually only connected to one hot-swappable IDE hard drive. At this time, another interface provided by the IDE channel is idle, resulting in waste of resources.
【发明内容】【Content of invention】
本发明之一目的在于提供一种双热插拔IDE装置之控制电路,可使一IDE信道同时连接两个可热插拔IDE装置,且该二可热插拔IDE装置均可进行热插拔操作。One object of the present invention is to provide a control circuit for dual hot-swappable IDE devices, which can enable one IDE channel to connect to two hot-swappable IDE devices at the same time, and the two hot-swappable IDE devices can be hot-swappable operate.
本发明之另一目的在于提供一种双热插拔IDE装置之控制方法,用来控制同一IDE信道连接的两个可热插拔IDE装置并使得其均可进行热插拔操作。Another object of the present invention is to provide a method for controlling dual hot-swappable IDE devices, which is used to control two hot-swappable IDE devices connected to the same IDE channel so that both of them can perform hot-swappable operations.
为实现上述目的,本发明提供一种双热插拔IDE装置之控制电路及方法,其中所述控制电路包括:一个IDE控制器,第一、第二IDE装置,第一、第二快速开关,一个IDE连接器,以及一个热插拔控制器,所述热插拔控制器通过所述IDE连接器与所述IDE控制器进行信号传送与接收,并可控制所述第一、第二快速开关开启或关闭。所述控制方法使得当所述第一、第二IDE装置之一热拔出或热插入时,所述热插拔控制器发送信号至相应电源开关,使之关闭或开启,并发送信号至所述IDE控制器,告知其停止或开始发送IDE总线信号。To achieve the above object, the present invention provides a control circuit and method for dual hot-swappable IDE devices, wherein the control circuit includes: an IDE controller, first and second IDE devices, first and second fast switches, An IDE connector, and a hot-swap controller, the hot-swap controller transmits and receives signals with the IDE controller through the IDE connector, and can control the first and second fast switches On or off. The control method is such that when one of the first and second IDE devices is hot-plugged or hot-inserted, the hot-swap controller sends a signal to the corresponding power switch to turn it off or on, and sends a signal to the The above IDE controller tells it to stop or start sending IDE bus signals.
相较于现有技术,本发明提供的双热插拔IDE装置之控制电路及方法,可充分利用提供的IDE接口,当对同一IDE信道连接的二IDE装置进行热插拔操作时,二IDE装置不会彼此影响。Compared with the prior art, the control circuit and method of the dual hot-swappable IDE devices provided by the present invention can make full use of the IDE interfaces provided. When performing hot-swap operations on two IDE devices connected to the same IDE channel, the two IDE Devices do not affect each other.
【附图说明】【Description of drawings】
图1为本发明所提供的双热插拔IDE装置之控制电路框图。FIG. 1 is a block diagram of a control circuit of a dual hot-swap IDE device provided by the present invention.
图2为本发明所提供的热拔出一IDE装置之流程图。FIG. 2 is a flow chart of hot unplugging an IDE device provided by the present invention.
图3为本发明所提供的热插入一IDE装置之流程图。FIG. 3 is a flow chart of hot inserting an IDE device provided by the present invention.
【具体实施方式】【Detailed ways】
请参图1所示,为本发明所提供的双热插拔IDE装置之控制电路框图。该电路包括IDE控制器10、IDE连接器20、热插拔控制器30、第一、第二快速开关41、42及第一、第二IDE装置51、52,其中第一、第二IDE装置51、52可为IDE储存装置,例如IDE硬盘装置,在本实施例中,选取IDE硬盘装置为例作说明。第一、第二IDE硬盘装置51、52分别与第一、第二快速开关41、42电性连接。电源供应器60通过第一、第二电源开关61、62分别对第一、第二IDE硬盘装置51、52供电。本实施例中,各电路组件均采用低态触发,即对其施加低电平(如逻辑“0”)信号时动作,施加高电平(如逻辑“1”)信号时不动作。Please refer to FIG. 1 , which is a block diagram of the control circuit of the dual hot-swappable IDE device provided by the present invention. The circuit includes
IDE控制器10通过IDE线缆(未图示)将IDE总线信号(IDEBus Signal)传送至IDE连接器20,该IDE总线信号包含地址信号、数据信号及控制信号等。从IDE连接器出来的IDE总线信号将分别传送至第一、第二快速开关41、42。第一、第二快速开关41、42通过开启或关闭从而允许或阻止IDE总线信号传送至第一、第二IDE硬盘装置51、52。该二快速开关41、42在非工作状况下均为关闭状态,且不同时开启,当其中一个开启,另一个则处关闭状态。The
在第一、第二IDE硬盘装置51、52均连接于电路的情况下,用户决定对哪一IDE硬盘装置进行存取将藉由IDE控制器10的控制实现。例如,若决定存取第一IDE硬盘装置51,IDE控制器10发出MON=0的控制信号,该控制信号通过IDE连接器20传送至热插拔控制器30。热插拔控制器30则向第一电源开关61发出PowerON=0的控制信号,使第一电源开关61开启,电源供应器可对第一IDE硬盘装置51供电;热插拔控制器30同时向第一快速开关41发出SwitchON=0的控制信号,使第一快速开关41开启,从而IDE总线信号得以传送至第一IDE硬盘装置51。此时IDE控制器10未发出SON=0的控制信号,使得热插拔控制器30亦未发出SwitchON=0的控制信号至第二快速开关42,第二快速开关42依然保持关闭状态,IDE总线信号无法通过,是以不能对第二IDE硬盘装置52进行存取。In the case that the first and second IDE
相应地,若决定对第二IDE硬盘装置52进行存取,则IDE控制器10向第二电源开关62发出PowerON=0的控制信号,使第二电源开关62开启,电源供应器可对第二IDE硬盘装置52供电;然后发出SON=0的控制信号,使第二快速开关42开启,IDE总线信号传送至第二IDE硬盘装置52。此时第一快速开关41因无控制信号触发,处于关闭状态,故不能对第一IDE硬盘装置51存取。Correspondingly, if it is decided to access the second IDE
进行热插拔操作时,第一、第二IDE硬盘装置51、52可将其状态信息通知予热插拔控制器30,即当其中之一IDE硬盘装置热拔出时,该IDE硬盘装置发送MPresent=1(或者Spresent=1)的信号至热插拔控制器30;当热插入一IDE硬盘装置时,所述IDE硬盘装置将发送MPresent=0(或者Spresent=0)的信号至热插拔控制器30。When carrying out hot-swapping operation, the first and second IDE
请参图2所示,为本发明所提供之热拔出一IDE装置之流程图,例如若将工作中的第一IDE硬盘装置51从电路中拔出,则首先执行步骤71,第一IDE硬盘装置51将发出MPresent=1的信号至热插拔控制器30。接着执行步骤72,热插拔控制器30发送SwitchON=1的控制信号至第一快速开关41,第一快速开关41关闭,使得IDE总线信号无法继续传送至第一IDE硬盘装置51。再执行步骤73,热插拔控制器30发出PowerON=1的控制信号至第一电源开关61,第一电源开关61关闭,电源供应器60停止对第一IDE硬盘装置供电。然后执行步骤74,热插拔控制器30发出MPresnet=1信号经由IDE连接器20传送至IDE控制器10,告知IDE控制器10不再发送IDE总线信号。热拔出第二IDE硬盘装置52的控制过程类似,此不赘述。Please refer to shown in Fig. 2, it is the flow chart of hot unplugging an IDE device provided by the present invention, for example, if the first IDE
请参第三图所示,系本发明所提供之热插入一IDE装置之流程图,例如若再将第一IDE硬盘装置51热插入电路中,则首先执行步骤81,第一IDE硬盘装置51将发出MPresent=0的信号至热插拔控制器30。接着执行步骤82,热插拔控制器30发出PowerON=0的控制信号至第一电源开关61,第一电源开关61开启,电源供应器60开始对第一IDE硬盘装置供电。然后执行步骤83,热插拔控制器30发出MPresnet=0信号经由IDE连接器20传送至IDE控制器10,告知IDE控制器10开始发送IDE总线信号。热插拔控制器30此时可接受IDE控制器10所发送之MON=0的控制信号,来发送SwitchON=0的控制信号至第一快速开关41,第一快速开关41开启,使得IDE总线信号得以传送至第一IDE硬盘装置51。热插入第二IDE硬盘装置52的控制过程类似,此不赘述。Please refer to the third figure, which is a flow chart of hot inserting an IDE device provided by the present invention. For example, if the first IDE
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021348618A CN1301469C (en) | 2002-09-27 | 2002-09-27 | Control circuit and method of dual hot-swap IDE device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021348618A CN1301469C (en) | 2002-09-27 | 2002-09-27 | Control circuit and method of dual hot-swap IDE device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1485747A CN1485747A (en) | 2004-03-31 |
| CN1301469C true CN1301469C (en) | 2007-02-21 |
Family
ID=34145984
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB021348618A Expired - Fee Related CN1301469C (en) | 2002-09-27 | 2002-09-27 | Control circuit and method of dual hot-swap IDE device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1301469C (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7876708B2 (en) | 2005-07-01 | 2011-01-25 | Huawei Technologies Co., Ltd. | Method and apparatus for discovering network service providers |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100345119C (en) * | 2004-05-25 | 2007-10-24 | 广达电脑股份有限公司 | blade server |
| KR101134789B1 (en) * | 2005-05-09 | 2012-04-13 | 엘지전자 주식회사 | A portable computer and control method of the same |
| CN100390769C (en) * | 2005-05-20 | 2008-05-28 | 威盛电子股份有限公司 | IDE control system with hot plug function and disk array system |
| CN109427369B (en) * | 2017-08-30 | 2021-12-31 | 鸿富锦精密工业(武汉)有限公司 | Hard disk power supply protection circuit |
| CN114546752A (en) * | 2020-11-18 | 2022-05-27 | 神讯电脑(昆山)有限公司 | Switching system for testing plugging and unplugging of HDD and switching method thereof |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5572685A (en) * | 1994-03-23 | 1996-11-05 | International Computers Limited | Computer system |
| US5729763A (en) * | 1995-08-15 | 1998-03-17 | Emc Corporation | Data storage system |
| CN2398680Y (en) * | 1999-11-08 | 2000-09-27 | 北京五矿腾龙信息技术有限公司 | Thermal insert-pull disk device |
-
2002
- 2002-09-27 CN CNB021348618A patent/CN1301469C/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5572685A (en) * | 1994-03-23 | 1996-11-05 | International Computers Limited | Computer system |
| US5729763A (en) * | 1995-08-15 | 1998-03-17 | Emc Corporation | Data storage system |
| CN2398680Y (en) * | 1999-11-08 | 2000-09-27 | 北京五矿腾龙信息技术有限公司 | Thermal insert-pull disk device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7876708B2 (en) | 2005-07-01 | 2011-01-25 | Huawei Technologies Co., Ltd. | Method and apparatus for discovering network service providers |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1485747A (en) | 2004-03-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8225022B2 (en) | Methods for eliminating intermediate bussing and bridging requirements between a solid state memory device with PCI controller and a main system bus | |
| US8185759B1 (en) | Methods and systems for interfacing bus powered devices with host devices providing limited power levels | |
| US6408343B1 (en) | Apparatus and method for failover detection | |
| US20040162926A1 (en) | Serial advanced technology attachment interface | |
| US7437585B2 (en) | Storage system and power control method therefor, adapter and power control method therefor, and storage controller and control method therefor | |
| CN110069436A (en) | Hot plug control circuit and associated storage servers system | |
| CN1301469C (en) | Control circuit and method of dual hot-swap IDE device | |
| WO2024108938A1 (en) | Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server | |
| JPH1040637A (en) | Information management device | |
| CN100489825C (en) | Expansion module and expansion method for universal sequence bus connection port | |
| TWI221971B (en) | The system and method for controlling dual hot-swappable IDE devices | |
| CN1412677A (en) | Control System of High Density Server Peripheral Equipment | |
| CN1447238A (en) | Network computer and its IDE disk power control method | |
| JP2001337789A (en) | Disk subsystem | |
| CN1248130C (en) | High Density Computer System | |
| US6516370B1 (en) | Data storage system | |
| US20070180154A1 (en) | Reducing dismount time for mass storage class devices | |
| US6480350B1 (en) | Hard disk drive selector | |
| CN222506869U (en) | Mainboard and computer | |
| US7099980B1 (en) | Data storage system having port disable mechanism | |
| US7069364B2 (en) | Automatic status assignment logic circuit apparatus for bay devices | |
| CN220137684U (en) | USB switcher and car machine pressure test system | |
| KR200151049Y1 (en) | Multi media drive | |
| CN215526412U (en) | Data processing device and control system | |
| CN1499334A (en) | Computer using external storage system and its switching device |
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: 20070221 Termination date: 20140927 |
|
| EXPY | Termination of patent right or utility model |