JP2703143B2 - Active insertion / removal method of input / output device - Google Patents

Active insertion / removal method of input / output device

Info

Publication number
JP2703143B2
JP2703143B2 JP3346487A JP34648791A JP2703143B2 JP 2703143 B2 JP2703143 B2 JP 2703143B2 JP 3346487 A JP3346487 A JP 3346487A JP 34648791 A JP34648791 A JP 34648791A JP 2703143 B2 JP2703143 B2 JP 2703143B2
Authority
JP
Japan
Prior art keywords
input
adapter
connection state
memory
output device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP3346487A
Other languages
Japanese (ja)
Other versions
JPH05181575A (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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP3346487A priority Critical patent/JP2703143B2/en
Publication of JPH05181575A publication Critical patent/JPH05181575A/en
Application granted granted Critical
Publication of JP2703143B2 publication Critical patent/JP2703143B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、中央処理装置搭載
装置(以下、CPU搭載装置)と入出力装置(以下、I
/O装置)が拡張入出力アダプタ(以下、拡張I/Oア
ダプタ)を介して、若しくは直接に接続されるシステム
における、拡張I/Oアダプタ及びI/O装置の活性挿
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a central processing unit mounted device (hereinafter referred to as a CPU mounted device) and an input / output device (hereinafter referred to as an I / O device).
The present invention relates to an extended I / O adapter and an active insertion / extraction method for an I / O device in a system in which an I / O device is connected via an extended input / output adapter (hereinafter referred to as an extended I / O adapter) or directly.

【0002】近年、CPU搭載装置を単体としてではな
くシステムとして活用しようという要求に伴い、しばし
ば、機能の拡張/縮小に伴い拡張I/Oアダプタ若しく
はI/O装置を挿抜する必要性が発生する。従来、CP
U搭載装置へ拡張I/Oアダプタ若しくはI/O装置を
挿抜するためには、CPU搭載装置を一旦終了させ、拡
張I/Oアダプタ若しくはI/O装置を挿抜した後、C
PU搭載装置を起動しており、そのためかなりの時間を
必要としていた。従って、拡張I/Oアダプタ若しくは
I/O装置の挿抜に際して手間と時間をかけずに活性挿
抜することが要望されている。
In recent years, with the demand for utilizing a CPU-mounted device as a system rather than as a single unit, it is often necessary to insert and remove an extended I / O adapter or an I / O device with expansion / reduction of functions. Conventionally, CP
In order to insert / remove the extended I / O adapter or I / O device from / to the U-mounted device, the CPU-mounted device is temporarily terminated, and after the extended I / O adapter or I / O device is inserted / removed, C
Since the device with the PU was started, a considerable amount of time was required. Therefore, there is a demand for active insertion and removal of an extended I / O adapter or an I / O device without taking time and effort when inserting or removing an I / O device.

【0003】本発明では、挿抜の度に手間と時間を要す
るという使い難さを解決するために、CPU搭載装置に
I/O装置の接続状態を監視する監視部を設け、I/O
装置の挿抜が行われた場合には自動的に接続された内部
制御部及び増設制御部を初期化し、抜去された内部制御
部及び増設制御部に対し終了処理を行うことにより、手
間と時間をかけることなくCPU搭載装置へ拡張I/O
アダプタ若しくはI/O装置を挿抜できるようにしたも
のである。
In the present invention, in order to solve the inconvenience of requiring time and effort for each insertion and removal, a monitoring unit for monitoring the connection state of an I / O device is provided in a device equipped with a CPU.
When the device is inserted or removed, the internal control unit and the extension control unit that are automatically connected are initialized, and the termination process is performed on the removed internal control unit and the extension control unit. Extended I / O to CPU-equipped devices without using
An adapter or an I / O device can be inserted and removed.

【0004】[0004]

【従来の技術】図6は従来の構成図である。CPU搭載
装置1は、CPU11、メモリ12、内部制御部13、
拡張I/Oアダプタ2との接続部14、I/O装置3と
の接続部15で構成され、メモリ12内のプログラムに
沿って所定の処理を行う。なお、CPU搭載装置は起動
時に接続されている内部制御部及び増設制御部を初期化
する。拡張I/Oアダプタ2は、増設制御部21、CP
U搭載装置1との接続部22、I/O装置との接続部2
3で構成され、I/O装置の入出力制御を行う。
2. Description of the Related Art FIG. 6 is a diagram showing a conventional structure. The CPU mounted device 1 includes a CPU 11, a memory 12, an internal control unit 13,
The connection unit 14 includes a connection unit 14 with the extended I / O adapter 2 and a connection unit 15 with the I / O device 3, and performs a predetermined process according to a program in the memory 12. The CPU-mounted device initializes the internal control unit and the additional control unit connected at the time of startup. The extension I / O adapter 2 includes an extension control unit 21, a CP
Connection 22 with U-mounted device 1 and connection 2 with I / O device
3 for input / output control of the I / O device.

【0005】[0005]

【発明が解決しようとする課題】図6の構成では、拡張
I/Oアダプタ又はI/O装置の挿抜により、どのI/
O装置が有効に或いは無効になったのか不明である。こ
のため、処理を一旦終了させて再起動し、全部の接続さ
れているI/O装置を初期化する必要があった。本発明
の目的は、拡張I/Oアダプタ若しくはI/O装置の挿
抜に際して何ら操作を必要とせず、これにより拡張I/
Oアダプタ若しくはI/O装置の挿抜の操作性を大幅に
向上させることができる拡張I/O若しくはI/O装置
の活性挿抜方法を提供することにある。
In the configuration shown in FIG. 6, which I / O adapter or I / O device is inserted and removed,
It is unknown whether the O device has been enabled or disabled. For this reason, it is necessary to end the processing once, restart it, and initialize all the connected I / O devices. An object of the present invention is that no operation is required when inserting or removing an expansion I / O adapter or an I / O device.
An object of the present invention is to provide a method for actively inserting and removing an extended I / O or I / O device that can greatly improve the operability of inserting and removing an O adapter or an I / O device.

【0006】[0006]

【課題を解決するための手段】図1は本発明の原理構成
図である。図中、前述と同様に、1はCPU搭載装置、
2は拡張I/Oアダプタ、3はI/O装置、16は本発
明の入出力装置接続状態監視部であり、増設制御部21
と内部制御部13の接続状態、等を監視する。図2は本
発明の基本処理フローチャートである。本発明では拡張
I/Oアダプタ若しくはI/O装置の挿抜の要求があっ
た場合に(ステップ1)、まず、接続状態監視部の内容
をメモリAに記録する(ステップ2)。次に、拡張I/
Oアダプタ若しくはI/O装置の活性挿抜を行う(ステ
ップ3)。その後、接続状態監視部の内容をメモリBに
記録し(ステップ4)、メモリAとメモリBとを比較し
て増設制御部13及び内部制御部21の接続状態を検出
し、その情報をCPUに送出する(ステップ5)。CP
Uはこの情報に従い接続されたか若しくは抜去された制
御部18及び21へ初期化指示若しくは終了処理指示S
1を送出し初期化する(ステップ6)。
FIG. 1 is a block diagram showing the principle of the present invention. In the figure, as described above, 1 is a CPU mounted device,
2 is an extended I / O adapter, 3 is an I / O device, 16 is an input / output device connection state monitoring unit of the present invention,
And the connection state of the internal control unit 13 and the like. FIG. 2 is a basic processing flowchart of the present invention. In the present invention, when there is a request for insertion / removal of an extended I / O adapter or an I / O device (step 1), first, the contents of the connection state monitoring unit are recorded in the memory A (step 2). Next, extended I /
Active insertion and removal of the O adapter or the I / O device is performed (step 3). Thereafter, the contents of the connection state monitoring unit are recorded in the memory B (step 4), and the connection states of the extension control unit 13 and the internal control unit 21 are detected by comparing the memories A and B, and the information is sent to the CPU. Send it out (step 5). CP
U issues an initialization instruction or an end processing instruction S to the connected or disconnected control units 18 and 21 according to this information.
1 is transmitted and initialized (step 6).

【0007】[0007]

【実施例】図3は本発明の一実施例の構成図であり、図
4は図3装置の処理フローチャートである。図中、18
は電源制御モード切換スイッチである。19は接続状態
監視部であり、メモリA、Bへの書込みとメモリ内容の
比較を行うプログラムが格納されている。電源制御モー
ドには通常モードとCPU停止モードとがあり、CPU
停止モードではメモリと拡張I/Oアダプタ及びI/O
装置との接続部を切り離す。
FIG. 3 is a block diagram of an embodiment of the present invention, and FIG. 4 is a processing flowchart of the apparatus of FIG. In the figure, 18
Is a power control mode changeover switch. Reference numeral 19 denotes a connection state monitoring unit which stores a program for writing to the memories A and B and comparing the contents of the memories. The power control mode includes a normal mode and a CPU stop mode.
In the stop mode, the memory, the extended I / O adapter and the I / O
Disconnect the connection to the device.

【0008】図4に示すように、拡張I/Oアダプタの
挿抜要求があると(ステップ1)、接続状態監視部3の
内容(記録1、活性挿抜前におけるI/O装置の接続状
況)をメモリAに記録する(ステップ2)。次に電源制
御モード切換スイッチ18をCPU停止モードに設定し
(ステップ3)、CPU搭載装置を終了せずに拡張I/
Oアダプタを活性挿抜し(ステップ4)、電源制御モー
ド切換スイッチ18を通常モードに設定する(ステップ
5)。そして、接続状態監視部3の内容(記録2、活性
挿抜後のI/O装置の接続状況)をメモリBに記録し
(ステップ6)、メモリAとメモリBの内容を比較して
挿抜が行われたどうかを認識する。最後に、挿入されて
いればそのI/O装置の制御部を初期化し、抜去であれ
ばそのI/O装置からの割込みをマスクする等の処理を
行う(ステップ7)。
As shown in FIG. 4, when there is a request for insertion / removal of an extended I / O adapter (step 1), the contents of the connection status monitoring unit 3 (record 1, connection status of I / O device before active insertion / removal) are changed. The data is recorded in the memory A (step 2). Next, the power control mode changeover switch 18 is set to the CPU stop mode (step 3), and the extended I / O
The O-adapter is actively inserted and removed (step 4), and the power control mode changeover switch 18 is set to the normal mode (step 5). Then, the contents of the connection state monitoring unit 3 (Record 2, the connection state of the I / O device after hot insertion / removal) are recorded in the memory B (step 6), and the contents of the memories A and B are compared to perform the insertion / removal. Recognize if you have been. Finally, if it is inserted, the control unit of the I / O device is initialized, and if it is removed, processing such as masking an interrupt from the I / O device is performed (step 7).

【0009】図5は本発明の他の実施例の部分構成図で
ある。一般にI/O装置は5vでないと動作しないた
め、通常3v動作のノート型パソコンではメモリとI/
O装置とは電気的に切り離されていることになる。この
場合、通常3v動作のパソコンではI/O装置をアクセ
スするときには5vに変換する。この場合、起動時又は
I/Oアクセス終了時の3vに下げる直前の記録1をと
り、I/Oアクセス開始のために5vに上げた直後に記
録2をとり、記録1と記録2を比較して制御部の初期化
等を行えばよい。
FIG. 5 is a partial structural view of another embodiment of the present invention. In general, an I / O device does not operate unless it is 5 V, so that a notebook computer that normally operates 3 V operates with memory and I / O.
It is electrically separated from the O device. In this case, in a personal computer operating normally 3v, when accessing an I / O device, it is converted to 5v. In this case, record 1 is taken immediately before activation or at the end of I / O access at 3 v, and record 2 is taken immediately after it is raised to 5 v at the start of I / O access, and record 1 and record 2 are compared. Initialization of the control unit may be performed.

【0010】[0010]

【発明の効果】以上説明したように、本発明によれば拡
張I/Oアダプタ及びI/O装置の挿抜に際して、CP
U搭載装置を一旦終了して再起動することなく挿抜が可
能となり、さらに、挿抜以外では何らの操作も必要とせ
ず、CPU搭載装置へ拡張I/Oアダプタ及びI/O装
置を挿抜するため、著しく操作性の向上を図ることがで
きる。
As described above, according to the present invention, when the extension I / O adapter and the I / O device are inserted and removed, the CP
The U-mounted device can be inserted / extracted without having to be terminated and restarted. Further, no operation other than insertion / removal is required, and the extended I / O adapter and I / O device can be inserted / extracted from / to the CPU-mounted device. The operability can be significantly improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の基本処理フローチャートである。FIG. 2 is a basic processing flowchart of the present invention.

【図3】本発明の一実施例の要部構成図である。FIG. 3 is a configuration diagram of a main part of one embodiment of the present invention.

【図4】図3装置の処理フローチャートである。FIG. 4 is a processing flowchart of the apparatus in FIG. 3;

【図5】本発明の他の実施例の部分構成図である。FIG. 5 is a partial configuration diagram of another embodiment of the present invention.

【図6】従来の要部構成図である。FIG. 6 is a configuration diagram of a main part of the related art.

【図7】図6装置の処理フローチャートである。FIG. 7 is a processing flowchart of the apparatus in FIG. 6;

【符号の説明】[Explanation of symbols]

1…CPU搭載装置 2…拡張I/Oアダプタ 3…I/O装置 11…CPU 12…メモリ 13…内部制御部 14,15…接続部 16…接続状態監視部 21…増設制御部 22,23…接続部 DESCRIPTION OF SYMBOLS 1 ... CPU mounting device 2 ... Expansion I / O adapter 3 ... I / O device 11 ... CPU 12 ... Memory 13 ... Internal control part 14, 15 ... Connection part 16 ... Connection state monitoring part 21 ... Extension control parts 22, 23 ... Connection

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 中央処理装置(CPU)搭載装置と拡張
入出力(I/O)アダプタと該中央処理装置搭載装置若
しくは該拡張入出力アダプタに接続される入出力装置
(I/O)とで構成されるシステムにおいて、 該中央処理装置搭載装置は、接続状態を記録するメモリ
A及びメモリBと、該入出力装置と該中央処理装置搭載
装置との接続状態を監視する接続状態監視部(19)
と、内部制御部(18)とを備え、 該拡張入出力アダプタは増設制御部(21)を備え、 ユーザから該拡張入出力アダプタ若しくは該入出力装置
の挿抜要求があると、該接続状態監視部の内容である現
在の入出力装置の接続状態を該メモリAに記録し、該入
出力装置の活性挿抜を行い、該活性挿抜の後、該接続状
態監視部の内容である活性挿抜後の入出力の接続状態を
該メモリBへ記録し、該メモリAと該メモリBとを比較
し、比較結果に基づき接続状態を検出して接続された制
御部を初期化し、抜去された制御部の終了処理を行うこ
とを特徴とする入出力装置の活性挿抜方法
A central processing unit (CPU) mounted device, an extended input / output (I / O) adapter, and an input / output device (I / O) connected to the central processing unit mounted device or the extended input / output adapter. In the system configured, the central processing unit-mounted device includes a memory A and a memory B for recording a connection state, and a connection state monitoring unit (19) for monitoring a connection state between the input / output device and the central processing unit-mounted device. )
And an internal control unit (18). The expansion input / output adapter includes an extension control unit (21). When a user requests insertion / removal of the expansion input / output adapter or the input / output device, the connection state monitoring is performed. The current connection state of the input / output device, which is the content of the input / output device, is recorded in the memory A, the active insertion / removal of the input / output device is performed. The input / output connection state is recorded in the memory B, the memory A and the memory B are compared, the connection state is detected based on the comparison result, the connected control unit is initialized, and the removed control unit A method for hot insertion and removal of an input / output device, wherein a termination process is performed.
JP3346487A 1991-12-27 1991-12-27 Active insertion / removal method of input / output device Expired - Fee Related JP2703143B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3346487A JP2703143B2 (en) 1991-12-27 1991-12-27 Active insertion / removal method of input / output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3346487A JP2703143B2 (en) 1991-12-27 1991-12-27 Active insertion / removal method of input / output device

Publications (2)

Publication Number Publication Date
JPH05181575A JPH05181575A (en) 1993-07-23
JP2703143B2 true JP2703143B2 (en) 1998-01-26

Family

ID=18383763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3346487A Expired - Fee Related JP2703143B2 (en) 1991-12-27 1991-12-27 Active insertion / removal method of input / output device

Country Status (1)

Country Link
JP (1) JP2703143B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2643897B2 (en) * 1995-02-24 1997-08-20 日本電気株式会社 Hot swapping method
JP2018194877A (en) 2017-05-12 2018-12-06 富士通株式会社 Information processing apparatus and setting program

Also Published As

Publication number Publication date
JPH05181575A (en) 1993-07-23

Similar Documents

Publication Publication Date Title
EP0552873B1 (en) Modifying system configuration in a computer system
CN100474247C (en) Method for updating firmware in computer server systems
US6226740B1 (en) Information processing apparatus and method that uses first and second power supplies for reducing booting time
RU2436145C1 (en) Information processing device and method of controlling said device
US6883055B2 (en) Hot swap method
TW200937288A (en) Update method of basic input output system and update module thereof and computer system
EP1916606B1 (en) Storage interfacing method and apparatus
JP2703143B2 (en) Active insertion / removal method of input / output device
US20060206652A1 (en) Machine state storage apparatus and method
CN102841839B (en) Information processor and control method thereof
JP2002041442A (en) Electronic equipment communication system, external device, electronic equipment, and communication method of the electronic equipment
JPH1042231A (en) Digital camera and digital camera system
US20040057182A1 (en) Method and control apparatus for controlling two hot-swapable IDE devices
JP2003186653A (en) Output terminal device, control device thereof, program for making computer control the same and recording medium
JP2001142839A (en) Information processor
JP3178071B2 (en) Electronics
JPH04101207A (en) Power controlling system for extension unit
JPH06119087A (en) Power supply off system
JP2000347853A (en) Device and method for copy guard
JP2971113B2 (en) Keyboard interface method
JPH0991241A (en) Input and output control card hot line insertion and extraction device
JP3113807B2 (en) Information processing apparatus having master / slave switching control unit for magnetic disk drive
JP2501393B2 (en) Direct memory access device
JPH07239921A (en) Pc card
JP2595702B2 (en) I / O control method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees