[go: up one dir, main page]

CN1553356A - Computer system capable of dynamic access external storage device - Google Patents

Computer system capable of dynamic access external storage device Download PDF

Info

Publication number
CN1553356A
CN1553356A CNA031425097A CN03142509A CN1553356A CN 1553356 A CN1553356 A CN 1553356A CN A031425097 A CNA031425097 A CN A031425097A CN 03142509 A CN03142509 A CN 03142509A CN 1553356 A CN1553356 A CN 1553356A
Authority
CN
China
Prior art keywords
external storage
storage device
control circuit
computer system
interface
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
CNA031425097A
Other languages
Chinese (zh)
Other versions
CN1299212C (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB031425097A priority Critical patent/CN1299212C/en
Publication of CN1553356A publication Critical patent/CN1553356A/en
Application granted granted Critical
Publication of CN1299212C publication Critical patent/CN1299212C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a computer system capable of dynamically accessing an external storage device, which can be used for dynamically connecting and separating more than one external storage device through hot plug action, and at least comprises: a connection interface, an input/output control circuit, a system control circuit, an interface control circuit and a central processing unit; the CPU of the present invention executes the interrupt service program when the connection state between the external storage devices and the I/O control circuit changes, and loads the corresponding interface setting values to the interface control circuit according to the number of the external storage devices connected by the I/O control circuit and the configuration combination of each external storage device, so as to dynamically access the external storage devices in various configuration combinations.

Description

可以动态存取外接式存储装置的计算机系统A computer system capable of dynamically accessing external storage devices

技术领域technical field

本发明是关于一种计算机系统与外接式存储装置的连接存取技术,特别是关于一种供计算机系统动态存取的技术,使用者可以通过热插拔动作,将一个以上的大型存储装置与计算机系统进行动态地连接或分离。The present invention relates to a connection and access technology for a computer system and an external storage device, in particular to a technology for dynamic access to a computer system. Users can connect more than one large storage device to an external storage device through a hot-swapping action. Computer systems are dynamically connected or disconnected.

背景技术Background technique

在信息发达的时代,资料数量正成倍成长。随着科技的日新月异,现在已普遍使用计算机系统来存取大量资料,然而目前计算机系统所使用的大型存储装置(如磁盘)容量始终不够使用,因而产生了更新存储装置及扩充存储装置数量进行升级的需求。In the era of advanced information, the amount of data is growing exponentially. With the rapid development of science and technology, computer systems are now widely used to access large amounts of data. However, the capacity of large storage devices (such as disks) used by computer systems is always insufficient, so there is a need to upgrade storage devices and expand the number of storage devices. demand.

图1即是传统的计算机系统的系统架构图。如图所示,硬盘装置10是通过接口连接端口100与接口总线12连接,进而顺序联机在中央处理单元14及操作系统16,且通过电源连接端口102与电源供应器18连接。传统的计算机系统在更换另一硬盘装置10或是加装新的硬盘装置10时,必须重新开机,如果已连接有多个硬盘装置10,想去掉一个不使用的硬盘装置10时,则同样必须重新开机,才能使操作系统16重新对硬盘装置10进行确认,并且重新作资源上的分配。由此可见,传统的计算机系统无法提供大型存储装置进行热插拔方式的连接,这对于使用者而言,对硬盘装置10进行更换或扩充时,在操作上是相当不便。FIG. 1 is a system architecture diagram of a traditional computer system. As shown in the figure, the hard disk device 10 is connected to the interface bus 12 through the interface connection port 100 , and then sequentially connected to the central processing unit 14 and the operating system 16 , and connected to the power supply 18 through the power connection port 102 . The traditional computer system must be restarted when changing another hard disk device 10 or installing a new hard disk device 10. If a plurality of hard disk devices 10 have been connected and want to remove an unused hard disk device 10, then the same must be done. Only when the system is turned on again can the operating system 16 re-confirm the hard disk device 10 and re-allocate resources. It can be seen that the traditional computer system cannot provide large storage devices for hot-swappable connection, which is quite inconvenient for users when replacing or expanding the hard disk device 10 .

发明内容Contents of the invention

为克服上述现有技术的缺点,本发明的主要目的在于提供一种可以动态存取外接式存储装置的计算机系统,使大型存储装置与计算机之间,可通过可热插拔的方式进行连接或分离,方便使用者对大型存储装置进行更新及扩充。In order to overcome the above-mentioned shortcomings of the prior art, the main purpose of the present invention is to provide a computer system capable of dynamically accessing an external storage device, so that the large storage device and the computer can be connected or connected in a hot-swappable manner. Separation is convenient for users to update and expand large storage devices.

为达到上述目的,本发明的可以动态存取外接式存储装置的计算机系统,可供一个以上的外接式存储装置通过热插拔动作与其动态地连接及分离,它至少包括:一连接接口,与该外接式存储装置连接;一输入输出控制电路,供该外接式存储装置连接及分离,在外接式存储装置与其连接状态产生变化时输出一警告信号;一系统控制电路,与输入输出控制电路连接,接收警告信号并在接收该警告信号之后输出一中断请求信号;一接口控制电路,与连接接口连接,根据其内存的各接口设定值控制该连接接口的传输规格及接口规格;一中央处理单元,通过连接接口连接在外接式存储装置,用于存取该外接式存储装置,且其与该系统控制电路连接以接收中断请求信号,并在接收该中断请求信号之后执行中断服务程序。In order to achieve the above object, the computer system capable of dynamically accessing external storage devices of the present invention can dynamically connect and separate more than one external storage devices through hot-swapping actions, and it at least includes: a connection interface, and The external storage device is connected; an input and output control circuit is used for the connection and separation of the external storage device, and a warning signal is output when the external storage device and its connection state change; a system control circuit is connected with the input and output control circuit , receiving the warning signal and outputting an interrupt request signal after receiving the warning signal; an interface control circuit, connected with the connection interface, controlling the transmission specification and interface specification of the connection interface according to the interface setting values in its memory; a central processing The unit is connected to the external storage device through the connection interface for accessing the external storage device, and is connected to the system control circuit to receive an interrupt request signal, and executes an interrupt service program after receiving the interrupt request signal.

本发明可以通过基本输入输出系统重新对传统计算机系统中的各芯片进行功能设定,配以撰写一中断服务程序软件即可执行本发明的中断服务程序,达到存储装置的热插拔机制,本发明具有成本低、且实施容易,另外本发明具有的热插拔功能,可以在开机使用中,直接插入或拔除存储装置,不需要重新开机,也省去打开主机外壳的不便;此外,本发明具有随插即用的特性,只要将存储装置插上,操作系统就会马上自动检测出,并自动加载相应的接口设定值,随即可供使用者进行资料的存取,方便使用者对存储装置进行更新及扩充。The present invention can re-set the function of each chip in the traditional computer system through the basic input and output system, and write an interrupt service program software to execute the interrupt service program of the present invention to achieve the hot swap mechanism of the storage device. The invention has low cost and is easy to implement. In addition, the hot-swappable function of the present invention can directly insert or remove the storage device during power-on use, without restarting the machine, and also saves the inconvenience of opening the shell of the host; in addition, the present invention With the feature of plug and play, as long as the storage device is plugged in, the operating system will automatically detect it immediately, and automatically load the corresponding interface setting value, and then the user can access the data, which is convenient for the user to store Devices are updated and expanded.

附图说明Description of drawings

图1是传统的计算机系统的系统架构图。FIG. 1 is a system architecture diagram of a traditional computer system.

图2是本发明的计算机系统的系统架构图。FIG. 2 is a system architecture diagram of the computer system of the present invention.

图3是本发明所使用的中断服务程序的流程图。Fig. 3 is a flowchart of the interrupt service routine used in the present invention.

具体实施方式Detailed ways

实施例Example

图2是本发明的计算机系统的系统架构图。该图是一种动态存取外接式存储装置20的计算机系统,可供一个以上的外接式存储装置20通过热插拔动作与其动态地连接及分离,图中的虚线即代表各外接式存储装置20是动态地与连接接口22及输入输出控制电路24进行连接或分离。本发明的计算机系统至少包括:连接接口22,与外接式存储装置20连接;输入输出控制电路24,供外接式存储装置20连接及分离,在外接式存储装置20与其连接状态产生变化时输出一警告信号240;系统控制电路26,与输入输出控制电路24连接,用于接收警告信号240并在接收警告信号240之后输出一中断请求信号260;接口控制电路28,与连接接口22连接,且根据其内存的各接口设定值,控制连接接口22的传输规格及接口规格;中央处理单元29,通过连接接口22连接在外接式存储装置20,用于动态存取外接式存储装置20,且其与系统控制电路26连接,接收中断请求信号260,并在接收中断请求信号260之后执行中断服务程序(请参见图3)。FIG. 2 is a system architecture diagram of the computer system of the present invention. This figure is a computer system for dynamically accessing external storage devices 20, which can dynamically connect and separate more than one external storage devices 20 through hot-swapping actions. The dotted lines in the figure represent each external storage device. 20 is dynamically connected to or separated from the connection interface 22 and the input/output control circuit 24 . The computer system of the present invention at least includes: a connection interface 22, which is connected with the external storage device 20; an input-output control circuit 24, which is used for connecting and separating the external storage device 20, and outputs a Warning signal 240; System control circuit 26, is connected with input-output control circuit 24, is used for receiving warning signal 240 and outputs an interrupt request signal 260 after receiving warning signal 240; Interface control circuit 28, is connected with connection interface 22, and according to Each interface setting value of its memory controls the transmission specifications and interface specifications of the connection interface 22; the central processing unit 29 is connected to the external storage device 20 through the connection interface 22 for dynamic access to the external storage device 20, and its It is connected with the system control circuit 26, receives an interrupt request signal 260, and executes an interrupt service program after receiving the interrupt request signal 260 (see FIG. 3).

图2所示的是计算机系统结构的具体实施例,它可以是存储大量资料的存储服务器系统,因此使用的外接式存储装置20是一种大型存储装置(如磁盘装置)。该存储服务器系统使用的连接接口22是一磁盘驱动器接口,磁盘驱动器接口可以是下列任一种规格:IDE规格、E-IDE规格、ATA规格、ATAPI规格等。此外,它所具有的输入输出控制电路24可以是超级输入输出芯片,该芯片具有一个以上的通用输入/输出端口作为输入输出端口,以供一个以上的外接式存储装置20连接。至于系统控制电路26则可以使用南桥芯片。What Fig. 2 shows is the specific embodiment of computer system structure, and it can be the storage server system of storing a large amount of data, so the external storage device 20 that uses is a kind of large-scale storage device (such as disk device). The connection interface 22 used by the storage server system is a disk drive interface, and the disk drive interface can be any of the following specifications: IDE specification, E-IDE specification, ATA specification, ATAPI specification, etc. In addition, the I/O control circuit 24 it has can be a super I/O chip, which has more than one general-purpose I/O port as an I/O port for connecting more than one external storage device 20 . As for the system control circuit 26, a south bridge chip can be used.

图3是本发明使用的中断服务程序的流程图。其中,步骤30是判断中断请求信号260,是否是因输入输出控制电路24与外接式存储装置20之间的连接状态产生变化所引发,若是,进行步骤32,若否,则至步骤34;步骤32是根据输入输出控制电路24此时所连接的外接式存储装置20的数目及各外接式存储装置20的配置组合,加载相对应的接口设定值至接口控制电路28中;步骤34是结束该中断服务程序。Fig. 3 is a flowchart of the interrupt service routine used in the present invention. Wherein, step 30 is to judge whether the interrupt request signal 260 is caused by a change in the connection state between the input-output control circuit 24 and the external storage device 20, if so, proceed to step 32, if not, then proceed to step 34; 32 is to load the corresponding interface setting value into the interface control circuit 28 according to the number of external storage devices 20 connected to the input and output control circuit 24 at this time and the configuration combination of each external storage device 20; step 34 is to end the interrupt service routine.

在此就步骤32作进一步说明,并提出具体做法。接口控制电路28内存的接口设定值必需视其所连接的外接式存储装置20的数目不同,而有不同的设定,才能够适当且正确地控制连接接口22的传输规格及接口规格。在具体做法上,可在各种外接式存储装置20的配置组合下,在操作系统环境中通过PCI工具程序或I/O工具程序,读取接口控制电路28的内容,然后整理出一查询表,再将该查询表放置在本发明使用的中断服务程序(ISR)中。如此一来,当中央处理单元29执行步骤32时,就会根据输入输出控制电路24此时所连接的外接式存储装置20的数目及各外接式存储装置20的配置组合,对该查询表进行查询,找到其对应的接口设定值,然后再将接口设定值加载至接口控制电路28中,达到正确控制的目的。Step 32 is further described here, and a specific approach is proposed. The interface settings in the interface control circuit 28 must be set differently depending on the number of external storage devices 20 connected to it, so that the transmission specifications and interface specifications of the connection interface 22 can be properly and correctly controlled. Specifically, the content of the interface control circuit 28 can be read through the PCI tool program or I/O tool program in the operating system environment under the configuration combinations of various external storage devices 20, and then a look-up table can be sorted out. , and then place the look-up table in the interrupt service routine (ISR) used by the present invention. In this way, when the central processing unit 29 executes step 32, the look-up table will be performed according to the number of external storage devices 20 connected to the input-output control circuit 24 and the configuration combinations of each external storage device 20 at this time. Query to find the corresponding interface setting value, and then load the interface setting value into the interface control circuit 28 to achieve the purpose of correct control.

因此,本发明可以通过基本输入输出系统重新对传统计算机系统中的各芯片进行功能设定,不需要全部抛弃原有计算机系统结构,再撰写一中断服务程序,执行本发明的中断服务程序(如图3所示),即可达到存储装置的热插拔机制,故本发明具有成本低且实施容易等特点,具有一定的进步性及产业利用性;再有,本发明具有的热插拔功能,可以在开机使用中,直接插入或拔除存储装置,不需要重新开机,也省去了打开主机外壳的不便;此外,本发明具有即插即用的特性,只要使用者将存储装置插入计算机接口,操作系统就会马上自动检测出该存储装置,并自动加载相对应的接口设定值,随即可供使用者进行资料的存取。由于本发明具有热插拔及即插即用等特性,因此方便使用者对存储装置进行更新及扩充。Therefore, the present invention can carry out function setting again to each chip in the traditional computer system by basic input and output system, does not need to completely abandon original computer system structure, writes an interrupt service program again, carries out the interrupt service program of the present invention (such as As shown in Fig. 3), the hot-swappable mechanism of the storage device can be achieved, so the present invention has characteristics such as low cost and easy implementation, and has certain progress and industrial applicability; moreover, the hot-swappable function that the present invention has , the storage device can be directly inserted or unplugged during booting, without restarting the machine, and also saves the inconvenience of opening the shell of the host; in addition, the present invention has the feature of plug and play, as long as the user inserts the storage device into the computer interface , the operating system will automatically detect the storage device immediately, and automatically load the corresponding interface settings, and then the user can access the data. Since the present invention has the characteristics of hot plugging and plug-and-play, it is convenient for users to update and expand the storage device.

Claims (10)

  1. One kind can the dynamic access external storage device computer system, it is characterized in that, can dynamically be connected and separate with it by the hot plug action for more than one external storage device, which comprises at least:
    One connecting interface is connected with this external storage device;
    One input/output control circuit connects and separates for this external storage device, exports a caution signal when this external storage device and connection status thereof change;
    One system, control circuit is connected with this input/output control circuit, is used for receiving this caution signal and exports an interrupt request singal after receiving this caution signal;
    One interface control circuit is connected with this connecting interface, and according to each interface setting value of its internal memory, controls the transmission standard and the interface specification of this connecting interface; And
    One CPU (central processing unit), be connected this external storage device by connecting interface, be used for this external storage device of access, and it is connected with this system, control circuit, to receive interrupt request singal, and after receiving interrupt request singal, even whether this CPU (central processing unit) is judged this interrupt request singal is to cause because of the institute that changes of the connection status between this input/output control circuit and the external storage device, if, the then configuration of the number of the external storage device that connects at this moment according to this input/output control circuit and each external storage device combination adds to corresponding interface setting value in this interface control circuit.
  2. 2. computer system that can the dynamic access external storage device as claimed in claim 1 is characterized in that this computer system is a storage server system.
  3. 3. computer system that can the dynamic access external storage device as claimed in claim 1 is characterized in that this input/output control circuit is a super I/O chip.
  4. 4. computer system that can the dynamic access external storage device as claimed in claim 1 is characterized in that this system, control circuit is a South Bridge chip.
  5. 5. computer system that can the dynamic access external storage device as claimed in claim 1 is characterized in that this external storage device is a large-scale memory storage.
  6. 6. computer system that can the dynamic access external storage device as claimed in claim 3 is characterized in that, this input/output control circuit has this external storage device of more than one input/output terminal confession and connects.
  7. 7. computer system that can the dynamic access external storage device as claimed in claim 5 is characterized in that this large-scale memory storage is a disk set.
  8. 8. computer system that can the dynamic access external storage device as claimed in claim 6 is characterized in that this input/output port is a general input.
  9. 9. computer system that can the dynamic access external storage device as claimed in claim 1 is characterized in that this connecting interface is a disk drive interface.
  10. 10. computer system that can the dynamic access external storage device as claimed in claim 9 is characterized in that this disk drive interface can be following any specification: IDE specification, E-IDE specification, ATA specification and ATAPI specification.
CNB031425097A 2003-06-06 2003-06-06 A computer system capable of dynamically accessing external storage devices Expired - Fee Related CN1299212C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031425097A CN1299212C (en) 2003-06-06 2003-06-06 A computer system capable of dynamically accessing external storage devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031425097A CN1299212C (en) 2003-06-06 2003-06-06 A computer system capable of dynamically accessing external storage devices

Publications (2)

Publication Number Publication Date
CN1553356A true CN1553356A (en) 2004-12-08
CN1299212C CN1299212C (en) 2007-02-07

Family

ID=34324014

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031425097A Expired - Fee Related CN1299212C (en) 2003-06-06 2003-06-06 A computer system capable of dynamically accessing external storage devices

Country Status (1)

Country Link
CN (1) CN1299212C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100378675C (en) * 2005-08-10 2008-04-02 英业达股份有限公司 Access control method and system capable of automatically setting memory state of computer platform
CN100511163C (en) * 2006-06-14 2009-07-08 威盛电子股份有限公司 Method and system for modifying parameters of peripheral device controller
CN101114925B (en) * 2006-07-28 2011-05-25 深圳迈瑞生物医疗电子股份有限公司 Parameter module plug detecting method and apparatus for medical guardianship equipment
CN102955674A (en) * 2011-08-25 2013-03-06 Lsi公司 Apparatus and systems having storage devices in a side accessible drive sled
CN105144025A (en) * 2013-05-31 2015-12-09 惠普发展公司,有限责任合伙企业 Mass storage device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5986880A (en) * 1997-06-16 1999-11-16 Compaq Computer Corporation Electronic apparatus having I/O board with cable-free redundant adapter cards thereon
US6363457B1 (en) * 1999-02-08 2002-03-26 International Business Machines Corporation Method and system for non-disruptive addition and deletion of logical devices
US6487623B1 (en) * 1999-04-30 2002-11-26 Compaq Information Technologies Group, L.P. Replacement, upgrade and/or addition of hot-pluggable components in a computer system
CN100361114C (en) * 2000-09-26 2008-01-09 宏碁股份有限公司 Computer system with hot plug function
US6957291B2 (en) * 2001-03-29 2005-10-18 Quantum Corporation Removable disk storage array emulating tape library having backup and archive capability

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100378675C (en) * 2005-08-10 2008-04-02 英业达股份有限公司 Access control method and system capable of automatically setting memory state of computer platform
CN100511163C (en) * 2006-06-14 2009-07-08 威盛电子股份有限公司 Method and system for modifying parameters of peripheral device controller
CN101114925B (en) * 2006-07-28 2011-05-25 深圳迈瑞生物医疗电子股份有限公司 Parameter module plug detecting method and apparatus for medical guardianship equipment
CN102955674A (en) * 2011-08-25 2013-03-06 Lsi公司 Apparatus and systems having storage devices in a side accessible drive sled
CN102955674B (en) * 2011-08-25 2016-12-07 安华高科技通用Ip(新加坡)公司 Have and can access device and the system of storage device in driver sled by sidepiece
CN105144025A (en) * 2013-05-31 2015-12-09 惠普发展公司,有限责任合伙企业 Mass storage device
US9904322B2 (en) 2013-05-31 2018-02-27 Hewlett-Packard Development Company, L.P. Mass storage device
CN105144025B (en) * 2013-05-31 2019-02-12 惠普发展公司,有限责任合伙企业 mass storage device

Also Published As

Publication number Publication date
CN1299212C (en) 2007-02-07

Similar Documents

Publication Publication Date Title
US7802022B2 (en) Generic USB drivers
EP0672987B1 (en) Portable PCMCIA interface for a host computer
CN107346293B (en) Method and system for dynamically reconfiguring at least one peripheral bus switch of a system
CN100501678C (en) Control storage access on multiboot systems
US7284082B2 (en) Controller apparatus and method for improved data transfer
US8554957B1 (en) Method for creation of device drivers and device objects for peripheral devices
JP2004295885A (en) Computer system permitting dynamic reallocation of main memory
CN108845834A (en) Computer installation
US20120066422A1 (en) Method and system for transferring high-speed data within a portable device
CN112463662A (en) Method and terminal for controlling I2C equipment by user mode
JP3556913B2 (en) PC card input / output control device
US20050223209A1 (en) Apparatus for fast booting computer and method for the same
US7849300B2 (en) Method for changing booting sources of a computer system and a related backup/restore method thereof
US20090019211A1 (en) Establishing A Redundant Array Of Inexpensive Drives
US9838254B2 (en) Information processing equipment, information processing method and storage medium
CN1553356A (en) Computer system capable of dynamic access external storage device
CN100461103C (en) Driver loading system and method
CN115756619A (en) Hard disk startup method, device, equipment, medium and program product
US11422963B2 (en) System and method to handle uncompressible data with a compression accelerator
US7424580B2 (en) Data transfer control device, electronic instrument, program and method of fabricating electronic instrument
CN100489825C (en) Expansion module and expansion method for universal sequence bus connection port
CN115185450A (en) Array-based copy mechanism for migration, replication and backup
CN100440181C (en) Computer peripheral equipment on-line processing method and system
TWI870753B (en) Method and related equipment for drive management of storage controller
CN100476729C (en) Method and system for optimizing sequence processing of configuration data of computer peripheral 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
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: 20070207

Termination date: 20180606