JPH1027151A - Input/output processing system and input/output processor - Google Patents

Input/output processing system and input/output processor

Info

Publication number
JPH1027151A
JPH1027151A JP19705696A JP19705696A JPH1027151A JP H1027151 A JPH1027151 A JP H1027151A JP 19705696 A JP19705696 A JP 19705696A JP 19705696 A JP19705696 A JP 19705696A JP H1027151 A JPH1027151 A JP H1027151A
Authority
JP
Japan
Prior art keywords
level
host
peripheral device
receiving
peripheral
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.)
Pending
Application number
JP19705696A
Other languages
Japanese (ja)
Inventor
Kazutoshi Motoo
和敏 本尾
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP19705696A priority Critical patent/JPH1027151A/en
Publication of JPH1027151A publication Critical patent/JPH1027151A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To connect a peripheral device such as a small computer system interface(SCSI) device having no exclusive control function as a peripheral device even when two or more I/O processors are used. SOLUTION: When a master ID receiving part 21 receives host ID and device ID transferred from a central processing unit(CPU) 1A, a device ID selecting part 202 selects the device ID and a host ID selecting part 203 selects the host ID. A host ID reference part 206 refers to device ID stored in an ID storing part 205 correspondingly to the device ID selected by the selecting part 202 and a host ID operating part 207 executes operation based on the host ID direction by the reference part 206 and the host ID selected by the selecting part 203. A host ID updating part 204 updates the host ID stored in the ID storing part 205 in accordance with the operated result. A slave ID transmitting part 208 transmits the host ID and transmission ID to an I/O processor 2B.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータ装置の
入出力処理システムおよび入出力処理装置に関し、特に
2台以上の入出力処理装置が共通の周辺装置をアクセス
する場合において周辺装置へのアクセスの排他制御を行
う入出力処理システムおよび入出力処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output processing system and an input / output processing device for a computer device, and more particularly, to exclusion of access to a peripheral device when two or more input / output processing devices access a common peripheral device. The present invention relates to an input / output processing system and an input / output processing device for performing control.

【0002】[0002]

【従来の技術】中央処理装置と上位インタフェースで接
続され、周辺装置と下位インタフェースで接続される従
来の入出力処理装置において、2台以上の入出力処理装
置から共通の周辺装置をアクセスする場合は、周辺装置
が持っている排他制御機能を使用して排他制御が行われ
ている。この排他制御機能は、デバイスクロスコール機
能とも呼ばれており、大規模なシステムにおいて入出力
処理装置の障害やパス障害が発生した場合でも周辺装置
がアクセスできるように可用性を高める目的と、ある入
出力処理装置からのアクセス頻度が高いときでも他の入
出力処理装置から周辺装置のアクセスが可能となるよう
に稼動性を高める目的とがある。
2. Description of the Related Art In a conventional input / output processing device connected to a central processing unit by an upper interface and connected to a peripheral device by a lower interface, when a common peripheral device is accessed by two or more input / output processing devices, The exclusive control is performed using the exclusive control function of the peripheral device. This exclusive control function is also called a device cross-call function, and aims to increase availability so that peripheral devices can access even when a failure of an input / output processing device or a path failure occurs in a large-scale system, and to improve a certain input / output function. The object is to enhance the operability so that the peripheral device can be accessed from another input / output processing device even when the frequency of access from the output processing device is high.

【0003】このような方式は、特に周辺装置の1つで
ある磁気ディスク装置で多く用いられており、周知の技
術である。例えば、特開昭64−15850号公報は、
デバイスクロスコール機能を持つ磁気ディスク装置にお
いて、磁気ディスク装置内にある磁気ディスク制御アダ
プタが有する排他制御機能をそのまま生かしながら、磁
気ディスク制御アダプタ間の信号線を3本から2本に改
善した従来技術であり、周辺装置である磁気ディスク装
置に排他制御機能があることが前提になっている。
Such a method is widely used especially in a magnetic disk device which is one of peripheral devices, and is a well-known technique. For example, JP-A-64-15850 discloses that
2. Description of the Related Art In a magnetic disk device having a device cross-call function, the number of signal lines between magnetic disk control adapters is improved from three to two while utilizing the exclusive control function of the magnetic disk control adapter in the magnetic disk device. It is assumed that the magnetic disk device as a peripheral device has an exclusive control function.

【0004】図6を用いて、従来技術を説明する。図6
において、1A,1Bは中央処理装置、5A,5Bは磁
気ディスク制御装置、6は磁気ディスク装置である。中
央処理装置1Aと磁気ディスク制御装置5Aとは上位イ
ンタフェース10Aで、中央処理装置1Bと磁気ディス
ク制御装置5Bとは上位インタフェース10Bで接続さ
れる。磁気ディスク制御アダプタ61Aは、磁気ディス
ク制御装置5Aとの下位インタフェース11Aを制御す
るアダプタであり、磁気ディスク制御アダプタ61Bも
磁気ディスク制御アダプタ61Aと同様に下位インタフ
ェース11Bを制御するアダプタであり、複数の磁気デ
ィスクドライブ66A〜66Nを制御する。磁気ディス
ク制御アダプタ61Aおよび61Bの間は、磁気ディス
クドライブ66A〜66Nの制御権の獲得を排他制御す
るためのクロスコールインタフェース63で接続されて
いる。リクエスト信号64Aおよび64Bは、もう一方
の磁気ディスク制御アダプタにリクエスト要求する信号
である。リセット信号65は、リクエスト要求をリセッ
トする信号である。排他制御回路62Aおよび62B
は、磁気ディスク制御アダプタ61Aおよび61Bに含
まれる回路である。
The prior art will be described with reference to FIG. FIG.
, 1A and 1B are a central processing unit, 5A and 5B are magnetic disk control devices, and 6 is a magnetic disk device. The central processing unit 1A and the magnetic disk control unit 5A are connected by an upper interface 10A, and the central processing unit 1B and the magnetic disk control unit 5B are connected by an upper interface 10B. The magnetic disk control adapter 61A is an adapter that controls the lower interface 11A with the magnetic disk controller 5A. The magnetic disk control adapter 61B is an adapter that controls the lower interface 11B similarly to the magnetic disk control adapter 61A. It controls the magnetic disk drives 66A to 66N. The magnetic disk control adapters 61A and 61B are connected by a cross call interface 63 for exclusively controlling the acquisition of the control right of the magnetic disk drives 66A to 66N. The request signals 64A and 64B are signals for requesting the other magnetic disk control adapter. The reset signal 65 is a signal for resetting the request request. Exclusive control circuits 62A and 62B
Is a circuit included in the magnetic disk control adapters 61A and 61B.

【0005】リクエスト信号64Aおよび64B, リセ
ット信号65ならびに排他制御回路62Aおよび62B
により、同一の磁気ディスクドライブに起動があった場
合にクロスコールインタフェース63の使用権を決定す
る排他制御が行われる。
The request signals 64A and 64B, the reset signal 65, and the exclusive control circuits 62A and 62B
As a result, when the same magnetic disk drive is activated, exclusive control for determining the right to use the cross call interface 63 is performed.

【0006】このような構成において、磁気ディスク制
御装置5Aおよび5Bから異なる磁気ディスクドライブ
に起動があると、磁気ディスク制御アダプタ61Aおよ
び61Bは、それぞれ指示された磁気ディスクドライブ
にアクセスし、磁気ディスク制御装置5Aおよび5Bか
ら転送されたデータのライト処理または所定の磁気ディ
スクドライブからリードされた各データを磁気ディスク
制御装置5Aおよび5Bに転送する処理を行う。
In such a configuration, when the magnetic disk controllers 5A and 5B are activated in different magnetic disk drives, the magnetic disk control adapters 61A and 61B respectively access the designated magnetic disk drives and control the magnetic disk drives. A write process of data transferred from the devices 5A and 5B or a process of transferring each data read from a predetermined magnetic disk drive to the magnetic disk controllers 5A and 5B is performed.

【0007】2台の磁気ディスク制御装置5Aおよび5
Bから同一の磁気ディスクドライブに対して起動があっ
た場合は、磁気ディスク制御アダプタ61Aおよび61
Bのどちらがその磁気ディスクドライブを制御するかを
決める排他制御が行われるが、それに先立って、クロス
コールインタフェース63の使用権を決定する排他制御
が行われる。
Two magnetic disk controllers 5A and 5
B starts the same magnetic disk drive, the magnetic disk control adapters 61A and 61A
Exclusive control for determining which of B controls the magnetic disk drive is performed. Prior to this, exclusive control for determining the right to use the cross call interface 63 is performed.

【0008】2台の磁気ディスク制御装置5Aおよび5
Bから、時間的に前後して同一の磁気ディスクドライ
ブ、例えば磁気ディスクドライブ66Aに対して起動が
あった場合は、先に起動を行った側の磁気ディスク制御
アダプタがクロスコールインタフェース63の使用権を
獲得する。
Two magnetic disk controllers 5A and 5
B, if the same magnetic disk drive, for example, the magnetic disk drive 66A, is activated before and after in time, the magnetic disk control adapter on the side that has activated first activates the right to use the cross-call interface 63. To win.

【0009】もし、磁気ディスク制御装置5Aおよび5
Bから同一の磁気ディスクドライブ66Aに対して同時
に起動があった場合は、優先順位の高い磁気ディスク制
御アダプタ(61Aとする)がクロスコールインタフェ
ース63の使用権を獲得する。
If the magnetic disk controllers 5A and 5A
If the same magnetic disk drive 66A is simultaneously activated from B, the magnetic disk control adapter (referred to as 61A) having a higher priority acquires the right to use the cross call interface 63.

【0010】この排他制御によりクロスコールインタフ
ェース63の使用権が決定すると、使用権を獲得した磁
気ディスク制御アダプタが主、他方の磁気ディスク制御
アダプタが従となって、主の磁気ディスク制御アダプタ
が従の磁気ディスク制御アダプタに対し、クロスコール
インタフェース63を通じて磁気ディスクドライブ66
Aの制御権を獲得する排他制御のための各種の制御を行
う。
When the right to use the cross call interface 63 is determined by the exclusive control, the magnetic disk control adapter that has obtained the right to use becomes the main, the other magnetic disk control adapter becomes the subordinate, and the main magnetic disk control adapter becomes the subordinate. To the magnetic disk control adapter through the cross call interface 63
Various controls for exclusive control for acquiring the control right of A are performed.

【0011】磁気ディスクドライブ66Aの制御権を獲
得すると、主の磁気ディスク制御アダプタは磁気ディス
クドライブ66Aにアクセスして、所定のリード・ライ
ト処理を行う(特開昭64−15850号公報参照)。
When the control right of the magnetic disk drive 66A is obtained, the main magnetic disk control adapter accesses the magnetic disk drive 66A and performs a predetermined read / write process (see Japanese Patent Application Laid-Open No. 64-15850).

【0012】以上のように、従来の入出力処理装置で
は、2台以上の入出力処理装置から共通の周辺装置をア
クセスする場合は、磁気ディスク装置等の周辺装置にあ
る排他制御機能を使用して制御が行われていた。すなわ
ち、入出力処理装置間では共通の周辺装置をアクセスす
るための排他制御に関する情報は、互いに直接転送しな
い方式になっていた。
As described above, in the conventional input / output processing device, when a common peripheral device is accessed from two or more input / output processing devices, the exclusive control function of a peripheral device such as a magnetic disk device is used. Had been controlled. That is, information related to exclusive control for accessing a common peripheral device is not directly transferred between input / output processing devices.

【0013】この従来の方式では、入出力処理装置で共
通の周辺装置の排他制御を行わないため、周辺装置に排
他制御機能を持たない一般的なSCSI(Small
Computer Systems Interfac
e)デバイス等を接続することができなかった。
In this conventional method, since the input / output processing device does not perform exclusive control of a common peripheral device, a general SCSI (Small) having no exclusive control function in the peripheral device is used.
Computer Systems Interfac
e) The device or the like could not be connected.

【0014】したがって、従来の方式では、2台以上の
入出力処理装置から共通の周辺装置をアクセスする場合
は、排他制御機能を持たない一般的なSCSIデバイス
等の周辺装置が共通の周辺装置として接続できないとい
う問題点があった。
Therefore, in the conventional method, when a common peripheral device is accessed from two or more input / output processing devices, a peripheral device such as a general SCSI device having no exclusive control function is used as a common peripheral device. There was a problem that it could not be connected.

【0015】もちろん、特開昭64−15850号公報
で記述されている排他制御方式でも、同様の問題点を抱
えている。
Of course, the exclusive control method described in Japanese Patent Application Laid-Open No. 64-15850 has a similar problem.

【0016】[0016]

【発明が解決しようとする課題】第1の問題点は、従来
の入出力処理装置において、2台以上の入出力処理装置
から共通の周辺装置をアクセスする場合、排他制御機能
を持たない周辺装置が接続できないという点である。そ
の理由は、入出力処理装置が共通の周辺装置の排他制御
を行わないためである。
A first problem is that, in a conventional input / output processing device, when two or more input / output processing devices access a common peripheral device, a peripheral device having no exclusive control function is used. Is unable to connect. The reason is that the input / output processing device does not perform exclusive control of the common peripheral device.

【0017】本発明の第1の目的は、入出力処理装置を
2台以上使用した場合でも、共通の周辺装置として排他
制御機能を持たない一般的なSCSIデバイス等の周辺
装置が接続できるようにする入出力処理装置を提供する
ことにある。
A first object of the present invention is to enable a peripheral device such as a general SCSI device having no exclusive control function to be connected as a common peripheral device even when two or more input / output processing devices are used. To provide an input / output processing device.

【0018】本発明の第2の目的は、入出力処理装置を
2台以上使用した場合でも、共通の周辺装置として排他
制御機能を持たない一般的なSCSIデバイス等の周辺
装置が接続できるようにする排他制御装置を提供するこ
とにある。
A second object of the present invention is to enable connection of a peripheral device such as a general SCSI device having no exclusive control function as a common peripheral device even when two or more input / output processing devices are used. To provide an exclusive control device.

【0019】本発明の第3の目的は、入出力処理装置を
2台以上使用した場合でも、共通の周辺装置として排他
制御機能を持たない一般的なSCSIデバイス等の周辺
装置が接続できるようにする入出力処理システムを提供
することにある。
A third object of the present invention is to allow a general peripheral device such as a general SCSI device having no exclusive control function to be connected as a common peripheral device even when two or more input / output processing devices are used. To provide an input / output processing system.

【0020】[0020]

【課題を解決するための手段】本発明の入出力処理装置
は、上位装置と上位インタフェースで接続され、周辺装
置と下位インタフェースで接続される入出力処理装置に
おいて、周辺装置の周辺装置ID毎に周辺装置を使用し
ている上位装置の上位装置IDを格納するID格納手段
と、周辺装置をアクセスする前に予め上位装置から転送
される上位装置IDおよび周辺装置IDを受信する上位
ID受信手段と、この上位ID受信手段で受信された上
位装置IDを選択する上位ID選択手段と、前記上位I
D受信手段で受信された周辺装置IDを選択する装置I
D選択手段と、この装置ID選択手段で選択された周辺
装置IDに対応して前記ID格納手段に格納された上位
装置IDを読み出すID参照手段と、このID参照手段
で読み出された上位装置IDおよび前記上位ID選択手
段で選択された上位装置IDから演算を行うID演算手
段と、このID演算手段の演算結果に応じて前記装置I
D選択手段で選択された周辺装置IDに対応して前記I
D格納手段に格納されている上位装置IDを前記上位I
D選択手段で選択された上位装置IDに更新するID更
新手段と、前記ID演算手段の演算結果に応じて下位イ
ンタフェースに対して上位装置IDおよび周辺装置ID
を送信する下位ID送信手段と、前記ID演算手段の演
算結果に応じて上位装置に対して周辺装置の使用不許可
を報告する不許可報告手段と、下位インタフェースから
転送される上位装置IDおよび周辺装置IDを受信する
下位ID受信手段と、前記ID格納手段に格納される上
位装置IDが更新されたことを下位インタフェースに報
告する更新報告手段と、下位インタフェースからの更新
報告を受信する更新受信手段と、この更新受信手段およ
び前記ID更新手段からの出力に応じて上位装置に対し
て周辺装置の使用許可を報告する許可報告手段とを有す
ることを特徴とする。
According to the present invention, there is provided an input / output processing device connected to a higher-level device via a higher-level interface and connected to a peripheral device via a lower-level interface. ID storage means for storing a higher-level device ID of a higher-level device using the peripheral device; higher-level ID receiving means for receiving a higher-level device ID and a peripheral device ID transferred from the higher-level device before accessing the peripheral device; A higher-level ID selecting means for selecting a higher-level device ID received by the higher-level ID receiving means;
D Device I for selecting peripheral device ID received by receiving means
D selection means, ID reference means for reading a high-order device ID stored in the ID storage means corresponding to the peripheral device ID selected by the device ID selection means, and high-order device read by the ID reference means ID operation means for performing an operation from the ID and the upper apparatus ID selected by the upper ID selection means, and the apparatus I according to the operation result of the ID operation means.
D corresponding to the peripheral device ID selected by the D selecting means.
D, the upper device ID stored in the
ID updating means for updating to the higher-level device ID selected by the D selecting means; and upper-level device ID and peripheral device ID for the lower-level interface according to the calculation result of the ID calculating means.
, A non-permission report unit for notifying the higher-level device of the non-permission of the peripheral device in accordance with the calculation result of the ID calculation unit, a higher-level device ID and a peripheral device transferred from the lower-level interface. Lower ID receiving means for receiving a device ID, update report means for reporting to a lower interface that a higher device ID stored in the ID storage means has been updated, and update receiving means for receiving an update report from a lower interface And permission reporting means for reporting permission to use the peripheral device to a higher-level device according to the output from the update receiving means and the ID updating means.

【0021】また、本発明の入出力処理装置は、上位装
置と上位インタフェースで接続され、周辺装置と下位イ
ンタフェースで接続される入出力処理装置において、周
辺装置をアクセスする前に予め上位装置から転送される
上位装置IDおよび周辺装置IDを受信する上位ID受
信手段と、この上位ID受信手段で受信された上位装置
IDおよび周辺装置IDを下位インタフェースに送信す
る下位ID送信手段と、下位インタフェースから報告を
受信する報告受信手段と、この報告受信手段で受信され
た報告を上位装置に対して送信する報告送信手段とを有
することを特徴とする。
The input / output processing device of the present invention is connected to a higher-level device via a higher-level interface, and is connected to the peripheral device via a lower-level interface. Upper ID receiving means for receiving the upper device ID and the peripheral device ID to be received, lower device ID transmitting means for transmitting the upper device ID and the peripheral device ID received by the upper ID receiving device to the lower interface, and reporting from the lower interface. And a report transmitting means for transmitting the report received by the report receiving means to the host device.

【0022】さらに、本発明の排他制御装置は、2台以
上の入出力処理装置および周辺装置が接続される下位イ
ンタフェースと接続された排他制御装置において、周辺
装置の周辺装置ID毎に周辺装置を使用している上位装
置の上位装置IDを格納するID格納手段と、下位イン
タフェースから転送される上位装置IDおよび周辺装置
IDを受信する下位ID受信手段と、この下位ID受信
手段で受信された上位装置IDを選択する上位ID選択
手段と、前記下位ID受信手段で受信された周辺装置I
Dを選択する装置ID選択手段と、この装置ID選択手
段で選択された周辺装置IDに対応して前記ID格納手
段に格納された上位装置IDを読み出すID参照手段
と、このID参照手段で読み出された上位装置IDおよ
び上位ID選択手段で選択された上位装置IDから演算
を行うID演算手段と、このID演算手段の演算結果に
応じて前記装置ID選択手段で選択された周辺装置ID
に対応して前記ID格納手段に格納されている上位装置
IDを前記上位ID選択手段で選択された上位装置ID
に更新するID更新手段と、前記ID演算手段の演算結
果に応じて下位インタフェースに対して周辺装置の使用
不許可を報告する不許可報告手段と、前記ID格納手段
に格納された上位装置IDが更新されたことを下位イン
タフェースに周辺装置の使用許可として報告する許可報
告手段とを有することを特徴とする。
Further, the exclusive control device according to the present invention is an exclusive control device connected to two or more input / output processing devices and a lower interface to which the peripheral device is connected. ID storage means for storing a higher-level device ID of a higher-level device used; lower-level ID receiving means for receiving a higher-level device ID and a peripheral device ID transferred from a lower-level interface; A high-order ID selecting means for selecting a device ID, and a peripheral device I received by the low-order ID receiving means.
A device ID selecting means for selecting D, an ID reference means for reading a higher-level device ID stored in the ID storage means corresponding to the peripheral device ID selected by the device ID selecting means, and a reading means for reading the ID. ID operation means for performing an operation from the issued upper apparatus ID and the upper apparatus ID selected by the upper ID selection means, and a peripheral device ID selected by the apparatus ID selection means in accordance with the operation result of the ID operation means
The upper device ID stored in the ID storage means corresponding to the upper device ID selected by the higher ID selecting means
ID updating means for updating to the lower-level interface, non-permission reporting means for reporting the non-permission of the peripheral device to the lower interface in accordance with the calculation result of the ID calculating means, and upper-level device ID stored in the ID storage means. Permission reporting means for reporting the update to the lower interface as permission to use the peripheral device.

【0023】さらにまた、本発明の入出力処理システム
は、上位装置と上位インタフェースで接続され、周辺装
置と下位インタフェースで接続される入出力処理装置
と、下位インタフェースに接続される排他制御装置とを
有する入出力処理システムにおいて、前記入出力処理装
置が、周辺装置をアクセスする前に予め上位装置から転
送される上位装置IDおよび周辺装置IDを受信する上
位ID受信手段と、この上位ID受信手段で受信された
上位装置IDおよび周辺装置IDを下位インタフェース
に送信する下位ID送信手段と、下位インタフェースか
ら報告を受信する報告受信手段と、この報告受信手段で
受信された報告を上位装置に対して送信する報告送信手
段とを有し、前記排他制御装置が、周辺装置の周辺装置
ID毎に周辺装置を使用している上位装置の上位装置I
Dを格納するID格納手段と、下位インタフェースから
転送される上位装置IDおよび周辺装置IDを受信する
下位ID受信手段と、この下位ID受信手段で受信され
た上位装置IDを選択する上位ID選択手段と、前記下
位ID受信手段で受信された周辺装置IDを選択する装
置ID選択手段と、この装置ID選択手段で選択された
周辺装置IDに対応して前記ID格納手段に格納された
上位装置IDを読み出すID参照手段と、このID参照
手段で読み出された上位装置IDおよび上位ID選択手
段で選択された上位装置IDから演算を行うID演算手
段と、このID演算手段の演算結果に応じて前記装置I
D選択手段で選択された周辺装置IDに対応して前記I
D格納手段に格納されている上位装置IDを前記上位I
D選択手段で選択された上位装置IDに更新するID更
新手段と、前記ID演算手段の演算結果に応じて下位イ
ンタフェースに対して周辺装置の使用不許可を報告する
不許可報告手段と、前記ID格納手段に格納された上位
装置IDが更新されたことを下位インタフェースに周辺
装置の使用許可として報告する許可報告手段とを有する
ことを特徴とする。
Still further, the input / output processing system of the present invention includes an input / output processing device connected to a higher-level device via a higher-level interface and connected to a peripheral device via a lower-level interface, and an exclusive control device connected to a lower-level interface. In the input / output processing system having the above, the input / output processing device includes a high-order ID receiving means for receiving a high-order device ID and a peripheral device ID transferred from a high-order device in advance before accessing the peripheral device; Lower ID transmitting means for transmitting the received upper device ID and peripheral device ID to the lower interface, report receiving means for receiving a report from the lower interface, and transmitting the report received by the report receiving device to the higher device. The exclusive control device identifies a peripheral device for each peripheral device ID of the peripheral device. The higher-level device I of the use to which the host device
ID storing means for storing the D, lower ID receiving means for receiving the upper device ID and the peripheral device ID transferred from the lower interface, and higher ID selecting means for selecting the higher device ID received by the lower ID receiving device A device ID selecting means for selecting a peripheral device ID received by the lower ID receiving means; and a higher device ID stored in the ID storage means corresponding to the peripheral device ID selected by the device ID selecting means. ID reference means for reading the data, ID calculation means for performing calculation from the upper device ID read by the ID reference means and the higher device ID selected by the upper ID selection means, and The device I
D corresponding to the peripheral device ID selected by the D selecting means.
D, the upper device ID stored in the
ID updating means for updating to a higher-level device ID selected by the D selecting means, non-permission reporting means for reporting a non-permission of a peripheral device to a lower-level interface according to a calculation result of the ID calculating means, Permission reporting means for reporting to the lower interface that the upper device ID stored in the storage device has been updated, as the use permission of the peripheral device.

【0024】[0024]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0025】図1は、本発明の第1の実施の形態に係る
入出力処理システムの構成を示すブロック図である。本
実施の形態に係る入出力処理システムは、2台以上の入
出力処理装置2A,2Bから共通な周辺装置3をアクセ
スする場合に、周辺装置3に対するI/O(入出力)を
実行する前に、周辺装置3を接続する下位インタフェー
ス7を使って、入出力処理装置2A,2B間で周辺装置
3のアクセスの排他制御情報を転送して、使用許可を得
てからI/Oを実行するようにしたものであり、中央処
理装置1Aおよび1Bと、入出力処理装置2Aおよび2
Bと、周辺装置3とから、その主要部が構成されてい
る。
FIG. 1 is a block diagram showing the configuration of the input / output processing system according to the first embodiment of the present invention. In the input / output processing system according to the present embodiment, when the common peripheral device 3 is accessed from two or more input / output processing devices 2A and 2B, the I / O (input / output) to the peripheral device 3 is not performed. Then, using the lower-level interface 7 for connecting the peripheral device 3, the exclusive control information of the access to the peripheral device 3 is transferred between the input / output processing devices 2A and 2B, and the I / O is executed after the use permission is obtained. The central processing units 1A and 1B and the input / output processing units 2A and 2A
B and the peripheral device 3 constitute a main part thereof.

【0026】入出力処理装置2Aおよび2Bは、中央処
理装置1Aおよび1Bとそれぞれ上位インタフェース1
0Aおよび10Bで接続され、周辺装置3と下位インタ
フェース7で接続されている。
The input / output processing units 2A and 2B are connected to the central processing units 1A and 1B, respectively.
0A and 10B, and connected to the peripheral device 3 by the lower interface 7.

【0027】入出力処理装置2Aおよび2Bは、中央処
理装置1Aおよび1Bから転送される中央処理装置を示
す識別子(以下、ホストIDと略記する)および周辺装
置を示す識別子(以下、装置IDという)を受信する上
位ID受信部201と、ホストIDおよび装置IDの中
で装置IDを選択する装置ID選択部202と、ホスト
IDおよび装置IDの中でホストIDを選択するホスト
ID選択部203と、周辺装置3の装置ID毎にホスト
IDを格納するID格納部205と、装置ID選択部2
02で選択された装置IDに対応するID格納部205
のホストIDをホストID選択部203で選択されたホ
ストIDに更新するホストID更新部204と、ID格
納部205に格納されているホストIDを参照するホス
トID参照部206と、ホストID参照部206で参照
したホストIDとホストID選択部203で選択したホ
ストIDとを演算するホストID演算部207と、演算
結果に応じて下位インタフェース7にホストIDおよび
装置IDを送信するID送信部208と、演算結果に応
じて中央処理装置1Aおよび1Bに不許可を報告する不
許可報告部209と、ホストIDを更新後に中央処理装
置1Aおよび1Bに許可を報告する許可報告部211
と、下位インタフェース7からの更新報告を受信する更
新受信部210と、下位インタフェース7から転送され
るホストIDおよび装置IDを受信する下位ID受信部
212と、ID格納部205のホストIDが更新された
ことを下位インタフェース7に報告する更新報告部21
3とを含んで構成されている。なお、図1中には、入出
力処理装置2Bについては内部構造を図示していない
が、入出力処理装置2Aと同様に構成されている。
The input / output processing devices 2A and 2B are identifiers (hereinafter abbreviated as host IDs) indicating central processing units transferred from the central processing units 1A and 1B, and identifiers (hereinafter referred to as device IDs) indicating peripheral devices. , A device ID selecting unit 202 for selecting a device ID among host IDs and device IDs, a host ID selecting unit 203 for selecting a host ID among host IDs and device IDs, An ID storage unit 205 for storing a host ID for each device ID of the peripheral device 3;
ID storage unit 205 corresponding to the device ID selected in 02
A host ID updating unit 204 that updates the host ID of the host with the host ID selected by the host ID selecting unit 203, a host ID referencing unit 206 that refers to the host ID stored in the ID storage unit 205, and a host ID referencing unit. A host ID calculating unit 207 for calculating the host ID referred to by 206 and the host ID selected by the host ID selecting unit 203; an ID transmitting unit 208 for transmitting the host ID and the device ID to the lower interface 7 according to the calculation result; A non-permission report unit 209 that reports non-permission to the central processing units 1A and 1B according to the calculation result, and a permission report unit 211 that reports permission to the central processing units 1A and 1B after updating the host ID.
The update receiving unit 210 that receives the update report from the lower interface 7, the lower ID receiving unit 212 that receives the host ID and the device ID transferred from the lower interface 7, and the host ID of the ID storage unit 205 are updated. Update report unit 21 for reporting the fact to lower interface 7
3 is included. Although the internal structure of the input / output processing device 2B is not shown in FIG. 1, it has the same configuration as the input / output processing device 2A.

【0028】図2は、第1の実施の形態に係る入出力処
理システムの動作を説明するために、各入出力処理装置
2Aおよび2Bに必要な各部を選択的に図示したブロッ
ク図である。
FIG. 2 is a block diagram selectively showing components required for each of the input / output processing devices 2A and 2B for explaining the operation of the input / output processing system according to the first embodiment.

【0029】図3は、第1の実施の形態に係る入出力処
理システムでの動作フローを示す図である。
FIG. 3 is a diagram showing an operation flow in the input / output processing system according to the first embodiment.

【0030】次に、このよう構成された本実施の形態に
係る入出力処理システムの動作について、図1,図2お
よび図3を参照して詳細に説明する。
Next, the operation of the thus configured input / output processing system according to the present embodiment will be described in detail with reference to FIGS. 1, 2 and 3.

【0031】まず、中央処理装置1Aは、周辺装置3を
アクセスするときに、予め入出力処理装置2Aに対して
ホストIDおよび装置IDを送信する(ステップS10
1)。ホストIDには、中央処理装置1Aを示すホスト
IDが入っており、装置IDにはアクセスする周辺装置
3を示す装置IDが入っている。例として、今、ホスト
IDを01,装置IDを03とし、装置ID(03)に
対応するID格納部205にはホストID(00)が入
っているものとする(なお、ホストID(00)は初期
状態を示し、実際のホストIDを示しているのではな
い)。
First, when accessing the peripheral device 3, the central processing unit 1A transmits a host ID and a device ID to the input / output processing unit 2A in advance (step S10).
1). The host ID includes a host ID indicating the central processing unit 1A, and the device ID includes a device ID indicating the peripheral device 3 to be accessed. As an example, assume that the host ID is 01, the device ID is 03, and the host ID (00) is stored in the ID storage unit 205 corresponding to the device ID (03) (the host ID (00) Indicates an initial state, not an actual host ID.)

【0032】入出力処理装置2Aでは、送信されたホス
トIDおよび装置IDが上位ID受信部201で受信さ
れ(ステップS102)、装置ID選択部202が上位
ID受信部201で受信された装置ID(例では03)
を選択し、ホストID選択部203が上位ID受信部2
01で受信されたホストID(例では01)を選択す
る。
In the input / output processing device 2A, the transmitted host ID and device ID are received by the upper ID receiver 201 (step S102), and the device ID selector 202 receives the device ID (device ID) received by the upper ID receiver 201 (step S102). 03 in the example)
Is selected, and the host ID selection unit 203
The host ID (01 in the example) received at 01 is selected.

【0033】ホストID更新部204は、ホストID選
択部203からのホストIDにより装置ID選択部20
2で選択された装置IDに対応するID格納部205の
ホストIDを更新するが、ホストID演算部207から
の信号がアクティブになるまでは実際の更新を行わな
い。
The host ID updating unit 204 uses the host ID from the host ID selecting unit 203 to
The host ID in the ID storage unit 205 corresponding to the device ID selected in step 2 is updated, but the actual update is not performed until the signal from the host ID calculation unit 207 becomes active.

【0034】一方、ID格納部205では、装置ID選
択部202で選択された装置ID(例では03)に対応
して格納されているホストID(今は00)が選択され
ている(ステップS103)。
On the other hand, in the ID storage unit 205, the host ID (currently 00) stored corresponding to the device ID (03 in the example) selected by the device ID selection unit 202 is selected (step S103). ).

【0035】ホストID参照部206は、ID格納部2
05で現在選択されているホストID(今は00)を参
照する(ステップS104)。
The host ID reference section 206 stores the ID storage section 2
The host ID (currently 00) selected at 05 is referred to (step S104).

【0036】ホストID演算部207は、ホストID参
照部206で参照されたホストID(今は00)とホス
トID選択部203で選択されたホストID(今は0
1)とをある規則に基づいて演算する(ステップS10
5)。例では、ホストID同士の値を掛算することにす
る。この例では、演算の結果が00となり、ホストID
演算部207からの出力がアクティブになる。
The host ID calculation section 207 stores the host ID (currently 00) referred to by the host ID reference section 206 and the host ID (currently 0) selected by the host ID selection section 203.
1) is calculated based on a certain rule (step S10).
5). In the example, the values of the host IDs are multiplied. In this example, the result of the operation is 00 and the host ID
The output from the operation unit 207 becomes active.

【0037】ホストID更新部204は、ホストID演
算部207からの出力がアクティブになったので(ステ
ップS106でイエス)、装置ID選択部202で選択
された装置IDに対応するID格納部205のホストI
DをホストID選択部203で選択されたホストIDに
更新する(ステップS107)。この結果、装置ID選
択部202で選択された装置IDに対応するID格納部
205のホストIDは00から01に更新される。
Since the output from the host ID calculation unit 207 has become active (Yes in step S106), the host ID update unit 204 stores the ID in the ID storage unit 205 corresponding to the device ID selected by the device ID selection unit 202. Host I
D is updated to the host ID selected by the host ID selection unit 203 (step S107). As a result, the host ID of the ID storage unit 205 corresponding to the device ID selected by the device ID selection unit 202 is updated from 00 to 01.

【0038】また、ホストID演算部207からの出力
がアクティブになったので、下位ID送信部208は、
上位ID受信部201で受信したホストIDおよび装置
IDを入出力処理装置2Bの下位ID受信部212に転
送する(ステップS108)。
Since the output from the host ID calculation unit 207 has become active, the lower ID transmission unit 208
The host ID and the device ID received by the upper ID receiving unit 201 are transferred to the lower ID receiving unit 212 of the input / output processing device 2B (Step S108).

【0039】他の入出力処理装置2Bでは、転送された
ホストIDおよび装置IDが下位ID受信部212で受
信され(ステップS109)、装置ID選択部202が
下位ID受信部212で受信された装置IDを選択し、
ホストID選択部203が下位ID受信部212で受信
されたホストIDを選択する(ステップS110)。
In the other input / output processing device 2B, the transferred host ID and device ID are received by the lower ID receiver 212 (step S109), and the device ID selector 202 receives the device received by the lower ID receiver 212. Select ID,
The host ID selector 203 selects the host ID received by the lower ID receiver 212 (Step S110).

【0040】ホストID更新部204は、装置ID選択
部202で選択された装置IDに対応するID格納部2
05のホストIDをホストID選択部203で選択され
たホストIDに更新する(ステップS111)。この結
果、装置ID選択部202で選択された装置IDに対応
するID格納部205のホストIDは、00から01に
更新される。
The host ID updating unit 204 stores the ID in the ID storage unit 2 corresponding to the device ID selected by the device ID selecting unit 202.
The host ID 05 is updated to the host ID selected by the host ID selection unit 203 (step S111). As a result, the host ID of the ID storage unit 205 corresponding to the device ID selected by the device ID selection unit 202 is updated from 00 to 01.

【0041】更新報告部213は、ホストID更新部2
04からの出力がアクティブになったので、ID格納部
205のホストIDが更新されたことが分かり、下位イ
ンタフェース7を通じて入出力処理装置2Aに対してI
D格納部205のホストIDが更新されたことを報告す
る(ステップS112)。
The update report unit 213 is a host ID update unit 2
04 becomes active, it is known that the host ID of the ID storage unit 205 has been updated.
It reports that the host ID of the D storage unit 205 has been updated (step S112).

【0042】入出力処理装置2Aでは、入出力処理装置
2Bから報告された更新報告が更新受信部210で受信
され(ステップS113)、許可報告部211が装置I
D(03)を有する周辺装置3の使用許可を上位インタ
フェース10Aを通じて中央処理装置1Aに報告する
(ステップS114)。
In the input / output processing device 2A, the update report reported from the input / output processing device 2B is received by the update receiving section 210 (step S113), and the permission report section 211 sends the device I
The use permission of the peripheral device 3 having D (03) is reported to the central processing unit 1A through the upper interface 10A (step S114).

【0043】中央処理装置1Aは、装置ID(今は0
3)の周辺装置3の使用許可を得て(ステップS11
5)、この周辺装置3にI/Oを発行する(ステップS
116)。
The central processing unit 1A has a device ID (currently 0
3) Permission to use peripheral device 3 is obtained (step S11).
5), issue an I / O to the peripheral device 3 (step S)
116).

【0044】入出力処理装置2Aは、I/Oを受信する
と(ステップS117)、下位インタフェース7を通じ
て周辺装置3に送信し(ステップS118)、周辺装置
3をアクセスする(ステップS119)。そして、入出
力処理装置2Aは、周辺装置3へのI/Oが完了する
と、中央処理装置1AにI/O完了を通知する(ステッ
プS120)。
Upon receiving the I / O (step S117), the input / output processing device 2A transmits the I / O to the peripheral device 3 through the lower interface 7 (step S118), and accesses the peripheral device 3 (step S119). Then, when the I / O to the peripheral device 3 is completed, the input / output processing device 2A notifies the central processing device 1A of the I / O completion (step S120).

【0045】中央処理装置1Aは、周辺装置3のI/O
完了を受信すると(ステップS121)、入出力処理装
置2Aに対して、ID格納部205に格納したホストI
Dをリセットするために、リセット用のホストID(0
0)および装置ID(03)を送信する(ステップS1
22)。
The central processing unit 1A is provided with an I / O
When the completion is received (step S121), the host I stored in the ID storage unit 205 is notified to the input / output processing device 2A.
To reset D, reset host ID (0
0) and the device ID (03) are transmitted (step S1).
22).

【0046】入出力処理装置2Aでは、リセット用のホ
ストIDおよび装置IDを受信すると(ステップS10
2)、装置ID選択部202が上位ID受信部201で
受信された装置ID(例では03)を選択し、ホストI
D選択部203が上位ID受信部201で受信されたリ
セット用のホストID(例では00)を選択する(ステ
ップS103)。
The input / output processing device 2A receives the reset host ID and device ID (step S10).
2) The device ID selection unit 202 selects the device ID (03 in the example) received by the upper ID reception unit 201, and
The D selecting unit 203 selects the reset host ID (00 in the example) received by the upper ID receiving unit 201 (step S103).

【0047】ID格納部205では、装置ID選択部2
02で選択された装置ID(例では03)に対応して格
納されているホストID(今は01)が選択されている
(ステップS103)。
In the ID storage unit 205, the device ID selection unit 2
The host ID (now 01) stored corresponding to the device ID (03 in the example) selected at 02 is selected (step S103).

【0048】ホストID参照部206は、ID格納部2
05で現在選択されているホストID(今は01)を参
照する(ステップS104)。
The host ID reference section 206 stores the ID storage section 2
The host ID (currently 01) selected at step 05 is referred to (step S104).

【0049】ホストID演算部207は、ホストID参
照部206で参照されたホストID(今は01)とホス
トID選択部203で選択されたリセット用のホストI
D(00)とを掛算して、演算結果が00となる(ステ
ップS105)。
The host ID calculation unit 207 stores the host ID (now 01) referred to by the host ID reference unit 206 and the reset host I selected by the host ID selection unit 203.
D (00) is multiplied, and the operation result becomes 00 (step S105).

【0050】演算結果が00なので(ステップS106
でイエス)、ホストID更新部204は、装置ID選択
部202で選択された装置IDに対応するID格納部2
05のホストIDをホストID選択部203で選択して
いるホストID(00)に更新する(ステップS10
7)。
Since the operation result is 00 (step S106)
Yes), the host ID updating unit 204 stores the ID in the ID storage unit 2 corresponding to the device ID selected by the device ID selecting unit 202.
05 is updated to the host ID (00) selected by the host ID selection unit 203 (step S10).
7).

【0051】また、演算結果が00なので、下位インタ
フェース7を通じて入出力処理装置2Bに対して、ホス
トID(00)および装置ID(03)を転送する(ス
テップS108)。
Since the operation result is 00, the host ID (00) and the device ID (03) are transferred to the input / output processing device 2B through the lower interface 7 (step S108).

【0052】入出力処理装置2Bでは、入出力処理装置
2Aと同様の動作で、ID格納部205のホストIDを
00に更新する(ステップS109〜S111)。更新
後、更新報告部213は、下位インタフェース7を通じ
て入出力処理装置2Aに対して更新完了報告を行う(ス
テップS112)。
The input / output processing device 2B updates the host ID of the ID storage unit 205 to 00 by the same operation as the input / output processing device 2A (steps S109 to S111). After the update, the update report unit 213 reports an update completion to the input / output processing device 2A via the lower interface 7 (step S112).

【0053】入出力処理装置2Aでは、入出力処理装置
2Bから転送された更新完了報告が更新受信部210で
受信され(ステップS113)、許可報告部211が上
位インタフェース10Aを通じて中央処理装置1Aにホ
ストIDの更新完了を報告する(ステップS114)。
In the input / output processing unit 2A, the update completion report transferred from the input / output processing unit 2B is received by the update receiving unit 210 (step S113), and the permission report unit 211 sends the host to the central processing unit 1A through the upper interface 10A. The update completion of the ID is reported (step S114).

【0054】中央処理装置1Aは、更新完了報告を受信
する(ステップS123)。
The central processing unit 1A receives the update completion report (step S123).

【0055】また、例として、中央処理装置1Bが周辺
装置3をアクセスしているときに、中央処理装置1Aが
同一の周辺装置3をアクセスしようとする場合を説明す
る。装置IDが03に対応するID格納部205に格納
されたホストIDが02であり、中央処理装置1Aから
ホストID(01)および装置ID(03)を転送する
場合である。
As an example, a case where the central processing unit 1A attempts to access the same peripheral device 3 while the central processing unit 1B is accessing the peripheral device 3 will be described. In this case, the host ID stored in the ID storage unit 205 corresponding to the device ID 03 is 02, and the host ID (01) and the device ID (03) are transferred from the central processing unit 1A.

【0056】中央処理装置1Aは、入出力処理装置2A
に対してホストID(01)および装置ID(03)を
送信する(ステップS101)。
The central processing unit 1A includes an input / output processing unit 2A
The host ID (01) and the device ID (03) are transmitted to the server (step S101).

【0057】入出力処理装置2Aでは、送信されたホス
トIDおよび装置IDが上位ID受信部201で受信さ
れ(ステップS102)、装置ID選択部202で装置
ID(03)が選択され、ホストID選択部203でホ
ストID(01)が選択される。
In the input / output processing device 2A, the transmitted host ID and device ID are received by the upper ID receiving unit 201 (step S102), and the device ID (03) is selected by the device ID selecting unit 202, and the host ID selection is performed. The unit 203 selects the host ID (01).

【0058】ID格納部205では、装置ID選択部2
02で選択された装置ID(03)に対応して格納され
ているホストID(02)が選択されており(ステップ
S103)、ホストID参照部206によりこのホスト
ID(02)が参照される(ステップS104)。
In the ID storage unit 205, the device ID selection unit 2
The host ID (02) stored corresponding to the device ID (03) selected in 02 has been selected (step S103), and the host ID reference unit 206 refers to this host ID (02) (step S103). Step S104).

【0059】ホストID演算部207は、ホストID参
照部206で参照されたホストID(02)とホストI
D選択部203で選択されたホストID(01)とを掛
算する(ステップS105)。演算結果は、02であ
る。この結果、ホストID演算部207からの出力はア
クティブにならず(ステップS106でノー)、ホスト
ID更新部204によってID格納部205に格納され
ているホストIDは更新されず、不許可報告部209
は、中央処理装置1Aに対して装置ID(03)の周辺
装置3の使用不許可を報告する(ステップS124)。
The host ID calculation unit 207 stores the host ID (02) referenced by the host ID reference unit 206 and the host ID
The host ID (01) selected by the D selection unit 203 is multiplied (step S105). The calculation result is 02. As a result, the output from the host ID calculation unit 207 does not become active (No in step S106), the host ID stored in the ID storage unit 205 is not updated by the host ID update unit 204, and the non-permission report unit 209 is not updated.
Reports the non-permission of the peripheral device 3 with the device ID (03) to the central processing unit 1A (step S124).

【0060】中央処理装置1Aは、装置ID(03)を
有する周辺装置3の使用不許可報告を受信すると(ステ
ップS125)、この周辺装置3に対するI/Oの発行
を中止する(ステップS126)。
When the central processing unit 1A receives the use-disapproval report of the peripheral device 3 having the device ID (03) (step S125), it stops issuing I / O to the peripheral device 3 (step S126).

【0061】以上により、中央処理装置1Aおよび1B
が入出力処理装置2Aおよび2Bを介して共通の周辺装
置3をアクセスする際の排他制御機能が得られるので、
周辺装置3において従来行っていた排他制御機能を備え
る必要がない。
As described above, the central processing units 1A and 1B
Can obtain an exclusive control function when the common peripheral device 3 is accessed via the input / output processing devices 2A and 2B.
The peripheral device 3 does not need to have the exclusive control function conventionally performed.

【0062】図4は、本発明の第2の実施の形態に係る
入出力処理システムの構成を示すブロック図である。本
実施の形態に係る入出力処理システムでは、中央処理装
置1Aおよび1Bと、入出力処理装置2A’および2
B’と、周辺装置3と、排他制御装置4とから、その主
要部が構成されている。入出力処理装置2A’および2
B’は、中央処理装置1Aおよび1Bとそれぞれ上位イ
ンタフェース10Aおよび10Bで接続され、周辺装置
3とは下位インタフェース7で接続されている。また、
下位インタフェース7には、排他制御装置4が接続され
ており、中央処理装置1Aおよび1Bが周辺装置3を使
用する際の排他制御を行うものである。
FIG. 4 is a block diagram showing the configuration of the input / output processing system according to the second embodiment of the present invention. In the input / output processing system according to the present embodiment, the central processing units 1A and 1B and the input / output processing units 2A ′ and 2A
B ′, the peripheral device 3 and the exclusive control device 4 constitute the main part thereof. I / O processing devices 2A 'and 2
B ′ is connected to the central processing units 1A and 1B via upper interfaces 10A and 10B, respectively, and connected to the peripheral device 3 via a lower interface 7. Also,
An exclusive control device 4 is connected to the lower interface 7 and performs exclusive control when the central processing units 1A and 1B use the peripheral device 3.

【0063】入出力処理装置2A’および2B’は、中
央処理装置1Aおよび1Bから転送されるホストIDお
よび装置IDを受信する上位ID受信部220と、下位
インタフェース7に対して受信したホストIDおよび装
置IDを送信する下位ID送信部221と、下位インタ
フェース7から転送される報告を受信する報告受信部2
22と、受信した報告を中央処理装置1Aおよび1Bに
送信する報告送信部223とを有している。なお、図4
中では、入出力処理装置2B’については内部構造を図
示していないが、入出力処理装置2A’と同様に構成さ
れている。
The input / output processing units 2A ′ and 2B ′ include a host ID receiving unit 220 that receives the host ID and device ID transferred from the central processing units 1A and 1B, and a host ID and A lower ID transmitting unit 221 for transmitting the device ID, and a report receiving unit 2 for receiving a report transferred from the lower interface 7
22 and a report transmission unit 223 that transmits the received report to the central processing units 1A and 1B. FIG.
Although the internal structure of the input / output processing device 2B 'is not shown, the input / output processing device 2B' has the same configuration as the input / output processing device 2A '.

【0064】排他制御装置4は、下位インタフェース7
を通じて入出力処理装置2A’および2B’から転送さ
れるホストIDおよび装置IDを受信する下位ID受信
部401と、ホストIDおよび装置IDの中で装置ID
を選択する装置ID選択部402と、ホストIDおよび
装置IDの中でホストIDを選択するホストID選択部
403と、周辺装置3の装置ID毎にホストIDを格納
するID格納部405と、装置ID選択部402で選択
された装置IDに対応するID格納部405のホストI
DをホストID選択部403で選択されたホストIDに
更新するホストID更新部404と、ID格納部405
に格納されているホストIDを参照するホストID参照
部406と、ホストID参照部406で参照されたホス
トIDとホストID選択部403で選択されたホストI
Dとを演算するホストID演算部407と、演算結果に
応じて下位インタフェース7に対して周辺装置3の使用
不許可を報告する不許可報告部408と、ホストIDを
更新後に下位インタフェース7に対して周辺装置3の使
用許可を報告する許可報告部409とを有している。
The exclusive control device 4 includes a lower interface 7
ID receiving unit 401 for receiving the host ID and the device ID transferred from the input / output processing devices 2A 'and 2B' through the host ID and the device ID among the host ID and the device ID
, An ID storage unit 405 that stores a host ID for each device ID of the peripheral device 3, a device ID selection unit 403 that selects a host ID among the host ID and device ID, The host I of the ID storage unit 405 corresponding to the device ID selected by the ID selection unit 402
A host ID updating unit 404 for updating D to the host ID selected by the host ID selecting unit 403, and an ID storage unit 405
And a host ID referred to by the host ID reference unit 406 and a host ID selected by the host ID selection unit 403.
D, a non-permission report unit 408 for reporting the non-permission of the peripheral device 3 to the lower interface 7 according to the calculation result, and a lower-level interface 7 after updating the host ID. And a permission report unit 409 for reporting the use permission of the peripheral device 3.

【0065】図5は、第2の実施の形態に係る入出力処
理システムでの動作フローを示す図である。
FIG. 5 is a diagram showing an operation flow in the input / output processing system according to the second embodiment.

【0066】次に、このように構成された本実施の形態
に係る入出力処理システムの動作について、図4および
図5を参照して説明する。
Next, the operation of the input / output processing system according to the present embodiment thus configured will be described with reference to FIGS.

【0067】まず、中央処理装置1Aでは、周辺装置3
をアクセスするときに、予め入出力処理装置2A’に対
してホストIDおよび装置IDを送信する(ステップS
201)。ホストIDには、中央処理装置1AのID
(01)が入っており、装置IDにはアクセスする周辺
装置3の装置ID(03)が入っているものとする。ま
た、装置ID(O3)に対応するID格納部405に
は、ホストID(00)が入っているものとする。
First, in the central processing unit 1A, the peripheral devices 3
Is transmitted to the input / output processing device 2A 'in advance (step S
201). The host ID is the ID of the central processing unit 1A.
(01), and the device ID contains the device ID (03) of the peripheral device 3 to be accessed. It is also assumed that the host ID (00) is stored in the ID storage unit 405 corresponding to the device ID (O3).

【0068】入出力処理装置2A’では、送信されたホ
ストIDおよび装置IDが上位ID受信部220で受信
され(ステップS202)、下位ID送信部221が下
位インタフェース7を通じて排他制御装置4に対して受
信したホストIDおよび装置IDを転送する(ステップ
S203)。
In the input / output processing device 2 A ′, the transmitted host ID and device ID are received by the upper ID receiving section 220 (Step S 202), and the lower ID transmitting section 221 sends the exclusive ID to the exclusive control device 4 through the lower interface 7. The received host ID and device ID are transferred (step S203).

【0069】排他制御装置4では、転送されたホストI
Dおよび装置IDを下位ID受信部401で受信し(ス
テップS204)、装置ID選択部402が下位ID受
信部401で受信された装置ID(例では03)を選択
し、ホストID選択部403が下位ID受信部401で
受信されたホストID(例では01)を選択する。
In the exclusive control unit 4, the transferred host I
D and the device ID are received by the lower ID receiving unit 401 (step S204), the device ID selecting unit 402 selects the device ID (03 in the example) received by the lower ID receiving unit 401, and the host ID selecting unit 403 outputs The host ID (01 in the example) received by the lower ID receiving unit 401 is selected.

【0070】ホストID更新部404は、ホストID選
択部403からのホストIDにより装置ID選択部40
2で選択された装置IDに対応するID格納部405の
ホストIDを更新するが、ホストID演算部407から
の信号がアクティブになるまでは実際の更新を行わな
い。
The host ID updating unit 404 uses the host ID from the host ID selecting unit 403 to
The host ID in the ID storage unit 405 corresponding to the device ID selected in step 2 is updated, but the actual update is not performed until the signal from the host ID calculation unit 407 becomes active.

【0071】一方、ID格納部405では、装置ID選
択部402で選択された装置ID(03)に対応して格
納されているホストID(今は00)が選択されている
(ステップS205)。
On the other hand, in the ID storage unit 405, the host ID (now 00) stored corresponding to the device ID (03) selected by the device ID selection unit 402 is selected (step S205).

【0072】ホストID参照部406は、ID格納部4
05の現在選択されているホストID(今は00)を参
照する(ステップS206)。
The host ID reference unit 406 stores the ID storage unit 4
Reference is made to the currently selected host ID 05 (currently 00) (step S206).

【0073】ホストID演算部407は、ホストID参
照部406で参照されたホストID(今は00)とホス
ト選択部403で選択されたホストID(今は01)と
をある規則に基づいて演算する(ステップS207)。
例では、ホストID同士の値を掛算することにする。こ
の例では、演算の結果が00となり、ホストID演算部
407からの出力がアクティブになる。
The host ID calculation unit 407 calculates the host ID (now 00) referred to by the host ID reference unit 406 and the host ID (now 01) selected by the host selection unit 403 based on a certain rule. (Step S207).
In the example, the values of the host IDs are multiplied. In this example, the result of the operation becomes 00, and the output from the host ID operation unit 407 becomes active.

【0074】ホストID更新部404は、ホストID演
算部407からの出力がアクティブになったので(ステ
ップS208でイエス)、装置ID選択部402で選択
された装置IDに対応するID格納部405のホストI
DをホストID選択部403で選択されたホストIDに
更新する(ステップS209)。この結果、装置ID選
択部402で選択された装置IDに対応するID格納部
405のホストIDは00から01に更新される。
Since the output from the host ID calculating section 407 has become active (Yes in step S208), the host ID updating section 404 stores the ID in the ID storage section 405 corresponding to the device ID selected by the device ID selecting section 402. Host I
D is updated to the host ID selected by the host ID selection unit 403 (step S209). As a result, the host ID of the ID storage unit 405 corresponding to the device ID selected by the device ID selection unit 402 is updated from 00 to 01.

【0075】許可報告部409は、ホストID更新部4
04からの出力がアクティブになったので(ステップS
208でイエス)、下位インタフェース7を通じて入出
力処理装置2A’に対して周辺装置3の使用許可報告を
報告する(ステップS210)。
The permission report section 409 is provided by the host ID update section 4
04 has become active (step S
(Yes at 208), and reports the use permission report of the peripheral device 3 to the input / output processing device 2A 'through the lower interface 7 (step S210).

【0076】入出力処理装置2A’では、排他制御装置
4からの周辺装置3の使用許可報告が報告受信部222
で受信され(ステップS211)、報告送信部223が
周辺装置3の使用許可報告を上位インタフェース10A
を通じて中央処理装置1Aに対して転送する(ステップ
S212)。
In the input / output processing unit 2 A ′, the use permission report of the peripheral device 3 from the exclusive control unit 4 is sent to the report receiving unit 222.
(Step S211), and the report transmitting unit 223 transmits the use permission report of the peripheral device 3 to the upper interface 10A.
Is transferred to the central processing unit 1A (step S212).

【0077】中央処理装置1Aは、装置ID(03)の
周辺装置3に対する使用許可を受信すると(ステップS
213)、この周辺装置3に対してI/Oを発行する
(ステップS214)。
The central processing unit 1A receives the permission to use the device ID (03) for the peripheral device 3 (Step S).
213), an I / O is issued to the peripheral device 3 (step S214).

【0078】入出力処理装置2A’は、I/Oを受信す
ると(ステップS215)、下位インタフェース7を通
じて周辺装置3に送信し(ステップS216)、周辺装
置3をアクセスする(ステップS217)。そして、入
出力処理装置2A’は、周辺装置3へのI/Oが完了す
ると、中央処理装置1AにI/O完了を通知する(ステ
ップS218)。
Upon receiving the I / O (step S215), the input / output processing device 2A 'transmits the I / O to the peripheral device 3 via the lower interface 7 (step S216), and accesses the peripheral device 3 (step S217). Then, when the I / O to the peripheral device 3 is completed, the input / output processing device 2A 'notifies the central processing device 1A of the I / O completion (step S218).

【0079】中央処理装置1Aは、周辺装置3に対する
I/Oが完了すると(ステップS219)、入出力処理
装置2A’に対して、ID格納部405に格納したホス
トIDをリセットするために、リセット用のホストID
(00)および装置ID(03)を送信する(ステップ
S220)。
When the I / O to the peripheral device 3 is completed (step S219), the central processing unit 1A resets the host ID stored in the ID storage unit 405 to the input / output processing unit 2A '. Host ID for
(00) and the device ID (03) are transmitted (step S220).

【0080】入出力処理装置2A’では、リセット用の
ホストID(00)および装置ID(03)が転送され
た後、上位ID受信部220および下位ID送信部22
1により下位インタフェース7を経由して排他制御装置
4に転送される(ステップS202およびS203)。
In the input / output processing device 2A ', after the reset host ID (00) and the device ID (03) are transferred, the upper ID receiving section 220 and the lower ID transmitting section 22
1 is transferred to the exclusive control device 4 via the lower interface 7 (steps S202 and S203).

【0081】排他制御装置4では、転送されたリセット
用のホストID(00)および装置ID(03)が下位
ID受信部401で受信される(ステップS204)。
In the exclusive control unit 4, the transferred reset host ID (00) and device ID (03) are received by the lower ID receiving unit 401 (step S204).

【0082】ID格納部405では、装置ID選択部4
02で選択された装置ID(03)に対応して格納され
ているホストID(01)が選択されている(ステップ
S205)。
In the ID storage unit 405, the device ID selection unit 4
The host ID (01) stored corresponding to the device ID (03) selected in 02 is selected (step S205).

【0083】ホストID参照部406は、ID格納部4
05の現在選択されているホストID(01)を参照す
る(ステップS206)。
The host ID reference unit 406 stores the ID storage unit 4
Reference is made to the currently selected host ID (01) of step 05 (step S206).

【0084】ホストID演算部407は、ホストID参
照部406で参照したホストID(01)とホストID
選択部403で選択されたホストID(00)を掛算し
て、演算結果が00となる(ステップS207)。
The host ID calculation unit 407 stores the host ID (01) referenced by the host ID reference unit 406 and the host ID
Multiplying by the host ID (00) selected by the selection unit 403 results in 00 (step S207).

【0085】演算結果が00なので(ステップS208
でイエス)、ホストID更新部404は、ID格納部4
05のホストIDを00に更新する(ステップS20
9)。更新後、許可報告部409は、下位インタフェー
ス7を通じて入出力処理装置2A’に対して報告を行う
(ステップS210)。
Since the operation result is 00 (step S208)
Yes), the host ID updating unit 404
05 is updated to 00 (step S20)
9). After the update, the permission report unit 409 reports to the input / output processing device 2A 'through the lower interface 7 (step S210).

【0086】入出力処理装置2A’では、報告受信部2
22で更新が受信され、報告送信部223から中央処理
装置1AにホストIDの更新が報告される。
In the input / output processing device 2A ', the report receiving unit 2
22, the update is received, and the report transmission unit 223 reports the update of the host ID to the central processing unit 1A.

【0087】この報告により、中央処理装置1Aは、I
D格納部405のホストIDがリセットされたことを認
識する(ステップS221)。
According to this report, the central processing unit 1A
It recognizes that the host ID of the D storage unit 405 has been reset (step S221).

【0088】また、例として、中央処理装置1Bが周辺
装置3をアクセスしているときに、中央処理装置1Aが
同一の周辺装置3にアクセスしようとする場合を説明す
る。装置ID(03)に対応するID格納部405のホ
ストIDが02である場合である。
As an example, a case where the central processing unit 1A attempts to access the same peripheral device 3 while the central processing unit 1B is accessing the peripheral device 3 will be described. This is a case where the host ID of the ID storage unit 405 corresponding to the device ID (03) is 02.

【0089】中央処理装置1Aは、入出力処理装置2A
に対してホストID(01)および装置ID(03)を
転送する(ステップS201)。
The central processing unit 1A includes an input / output processing unit 2A
Then, the host ID (01) and the device ID (03) are transferred (step S201).

【0090】入出力処理装置2A’では、上位ID受信
部220でホストIDおよび装置IDを受信し(ステッ
プS202)、下位ID送信部221から排他制御装置
4に対して下位インターフェース7を通じて受信したホ
ストIDおよび装置IDを転送する(ステップS20
3)。
In the input / output processing device 2A ′, the host ID and the device ID are received by the upper ID receiving section 220 (step S202), and the host ID received from the lower ID transmitting section 221 to the exclusive control device 4 through the lower interface 7 is received. ID and device ID are transferred (step S20)
3).

【0091】排他制御装置4では、入出力処理装置2
A’から転送されたホストIDおよび装置IDが下位I
D受信部401で受信され(ステップS204)、装置
ID選択部402で装置IDが選択され、ホストID選
択部403でホストIDが選択される(ステップS20
5)。
In the exclusive control unit 4, the input / output processing unit 2
The host ID and device ID transferred from A ′ are lower I
The device ID is received by the D receiving unit 401 (step S204), the device ID is selected by the device ID selecting unit 402, and the host ID is selected by the host ID selecting unit 403 (step S20).
5).

【0092】ID格納部405では、装置ID選択部4
02で選択された装置ID(03)に対応するID格納
部405のホストID(02)が選択されており、ホス
トID参照部406によりID格納部405に格納され
ているホストID(02)が参照される(ステップS2
06)。
In the ID storage unit 405, the device ID selection unit 4
The host ID (02) of the ID storage unit 405 corresponding to the device ID (03) selected in 02 is selected, and the host ID (02) stored in the ID storage unit 405 by the host ID reference unit 406 is selected. Referenced (Step S2
06).

【0093】ホストID演算部407は、ホストID参
照部406で参照されたホストID(02)とホストI
D選択部403で選択されたホストID(01)とを掛
算する(ステップS207)。演算結果は、02であ
る。
The host ID calculation unit 407 stores the host ID (02) referenced by the host ID reference unit 406 and the host ID
The host ID (01) selected by the D selection unit 403 is multiplied (step S207). The calculation result is 02.

【0094】この結果、ホストID演算部407からの
出力はアクティブにならず(ステップS208でノ
ー)、ホストID更新部404は、ID格納部405に
格納されているホストIDを更新せず、不許可報告部4
08は、入出力処理装置2A’に下位インタフェース7
を通じて装置ID(03)の周辺装置3の使用不許可を
報告する(ステップS222)。
As a result, the output from the host ID calculation unit 407 is not activated (No in step S208), and the host ID update unit 404 does not update the host ID stored in the ID storage unit 405, Permission report section 4
08 is provided to the input / output processing device 2A '
The use permission of the peripheral device 3 of the device ID (03) is reported through the process (step S222).

【0095】入出力処理装置2A’では、使用不許可報
告が報告受信部222で受信され(ステップS22
3)、報告送信部223から中央処理装置1Aに対して
転送される(ステップS224)。
In the input / output processing device 2A ', the report of non-permission is received by the report receiving section 222 (step S22).
3), transferred from the report transmission unit 223 to the central processing unit 1A (step S224).

【0096】中央処理装置1Aは、使用不許可報告を受
信すると(ステップS225)、装置ID(03)を有
する周辺装置3の使用許可が得られなかったので、この
周辺装置3に対するI/Oの発行を中止する(ステップ
S226)。
When the central processing unit 1A receives the use-disapproval report (step S225), the use permission of the peripheral device 3 having the device ID (03) is not obtained. The issuing is stopped (step S226).

【0097】以上により、共通の周辺装置3をアクセス
する際の排他制御機能を排他制御装置4が持つので、周
辺装置3では従来行っていた排他制御機能を備える必要
がない。
As described above, since the exclusive control device 4 has the exclusive control function when accessing the common peripheral device 3, the peripheral device 3 does not need to have the exclusive control function conventionally performed.

【0098】[0098]

【発明の効果】第1の効果は、入出力処理システムにお
いて、2台以上の入出力処理装置を使用した場合に、排
他制御機能を持たない周辺装置を共通の周辺装置として
接続することが可能となり、一般的に普及している低価
格なSCSIデバイス等を接続できるようになるという
ことである。その理由は、2台以上の入出力処理装置を
使用した場合に、共通の周辺装置を制御するための排他
制御機能を入出力処理装置内に取り込むまたは周辺装置
へのインタフェースに接続された排他制御装置を設けて
いるためである。
The first effect is that when two or more input / output processing devices are used in an input / output processing system, a peripheral device having no exclusive control function can be connected as a common peripheral device. This means that it is possible to connect a low-priced SCSI device that is widely used. The reason is that when two or more input / output processing devices are used, an exclusive control function for controlling a common peripheral device is incorporated in the input / output processing device or an exclusive control function connected to an interface to the peripheral device. This is because the device is provided.

【0099】第2の効果は、入出力処理装置間の排他制
御情報または入出力処理装置と排他制御装置間の排他制
御情報が、専用のインタフェースを必要としないという
ことである。これにより、入出力処理装置間および入出
力処理装置と排他制御装置間の信号線を削減でき、回路
構成を単純にすることができるようになる。その理由
は、排他制御情報は、周辺装置を接続するインタフェー
ス(SCSI等)を使用して転送するからである。
The second effect is that the exclusive control information between the input / output processing devices or the exclusive control information between the input / output processing device and the exclusive control device does not require a dedicated interface. Thus, the number of signal lines between the input / output processing devices and between the input / output processing device and the exclusive control device can be reduced, and the circuit configuration can be simplified. The reason is that the exclusive control information is transferred using an interface (such as SCSI) for connecting peripheral devices.

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

【図1】本発明の第1の実施の形態に係る入出力処理シ
ステムの構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an input / output processing system according to a first embodiment of the present invention.

【図2】第1の実施の形態に係る入出力処理システムの
動作を説明するためのブロック図である。
FIG. 2 is a block diagram for explaining an operation of the input / output processing system according to the first embodiment.

【図3】第1の実施の形態に係る入出力処理システムで
の動作フローを示す図である。
FIG. 3 is a diagram showing an operation flow in the input / output processing system according to the first embodiment.

【図4】本発明の第2の実施の形態に係る入出力処理シ
ステムの構成を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of an input / output processing system according to a second embodiment of the present invention.

【図5】第2の実施の形態に係る入出力処理システムで
の動作フローを示す図である。
FIG. 5 is a diagram showing an operation flow in the input / output processing system according to the second embodiment.

【図6】従来の入出力処理システムの一例を示すブロッ
ク図である。
FIG. 6 is a block diagram illustrating an example of a conventional input / output processing system.

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

1A,1B 中央処理装置 2A,2B, 2A’,2B’ 入出力処理装置 3 周辺装置 4 排他制御装置 7 下位インターフェース 10A,10B 上位インターフェース 201,220 上位ID受信部 202,402 装置ID選択部 203,403 ホストID選択部 204,404 ホストID更新部 205,405 ID格納部 206,406 ホストID参照部 207,407 ホストID演算部 208,221 下位ID送信部 209,408 不許可報告部 210 更新受信部 211,409 許可報告部 212,401 下位ID受信部 213 更新報告部 222 報告受信部 223 報告送信部 1A, 1B Central processing unit 2A, 2B, 2A ', 2B' I / O processing unit 3 Peripheral device 4 Exclusive control unit 7 Lower interface 10A, 10B Upper interface 201, 220 Upper ID receiving unit 202, 402 Device ID selecting unit 203, 403 Host ID selection unit 204, 404 Host ID update unit 205, 405 ID storage unit 206, 406 Host ID reference unit 207, 407 Host ID calculation unit 208, 221 Lower ID transmission unit 209, 408 Non-permission report unit 210 Update reception unit 211, 409 Permission report unit 212, 401 Lower ID reception unit 213 Update report unit 222 Report reception unit 223 Report transmission unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 上位装置と上位インタフェースで接続さ
れ、周辺装置と下位インタフェースで接続される入出力
処理装置において、 周辺装置の周辺装置ID毎に周辺装置を使用している上
位装置の上位装置IDを格納するID格納手段と、 周辺装置をアクセスする前に予め上位装置から転送され
る上位装置IDおよび周辺装置IDを受信する上位ID
受信手段と、 この上位ID受信手段で受信された上位装置IDを選択
する上位ID選択手段と、 前記上位ID受信手段で受信された周辺装置IDを選択
する装置ID選択手段と、 この装置ID選択手段で選択された周辺装置IDに対応
して前記ID格納手段に格納された上位装置IDを読み
出すID参照手段と、 このID参照手段で読み出された上位装置IDおよび前
記上位ID選択手段で選択された上位装置IDから演算
を行うID演算手段と、 このID演算手段の演算結果に応じて前記装置ID選択
手段で選択された周辺装置IDに対応して前記ID格納
手段に格納されている上位装置IDを前記上位ID選択
手段で選択された上位装置IDに更新するID更新手段
と、 前記ID演算手段の演算結果に応じて下位インタフェー
スに対して上位装置IDおよび周辺装置IDを送信する
下位ID送信手段と、 前記ID演算手段の演算結果に応じて上位装置に対して
周辺装置の使用不許可を報告する不許可報告手段と、 下位インタフェースから転送される上位装置IDおよび
周辺装置IDを受信する下位ID受信手段と、 前記ID格納手段に格納される上位装置IDが更新され
たことを下位インタフェースに報告する更新報告手段
と、 下位インタフェースからの更新報告を受信する更新受信
手段と、 この更新受信手段および前記ID更新手段からの出力に
応じて上位装置に対して周辺装置の使用許可を報告する
許可報告手段とを有することを特徴とする入出力処理装
置。
An input / output processing device connected to a higher-level device via a higher-level interface and connected to a peripheral device via a lower-level interface, wherein, for each peripheral device ID of the peripheral device, a higher-level device ID of the higher-level device using the peripheral device. ID storing means for storing the upper device ID and the higher device ID for receiving the higher device ID and the lower device ID transferred from the higher device before accessing the lower device.
Receiving means; high-order ID selecting means for selecting a high-order device ID received by the high-order ID receiving means; device ID selecting means for selecting a peripheral device ID received by the high-order ID receiving means; ID reference means for reading a higher-level device ID stored in the ID storage means corresponding to the peripheral device ID selected by the means; and a higher-level device ID read by the ID reference means and a selection by the higher-level ID selection means. ID operation means for performing an operation from the selected higher-level device ID, and a higher-order device stored in the ID storage means corresponding to the peripheral device ID selected by the device ID selection means in accordance with the calculation result of the ID operation means. ID updating means for updating the device ID to the higher-level device ID selected by the higher-level ID selecting means; Lower-level ID transmitting means for transmitting a higher-level device ID and a peripheral device ID, lower-level reporting means for reporting to a higher-level device a non-permission of use of a peripheral device according to the calculation result of the ID calculating means, Lower-level ID receiving means for receiving the transferred higher-level device ID and peripheral device ID; update reporting means for reporting to the lower-level interface that the higher-level device ID stored in the ID storage means has been updated; Update receiving means for receiving an update report; and permission report means for reporting permission of use of a peripheral device to a higher-level device in accordance with outputs from the update receiving means and the ID updating means. Output processing device.
【請求項2】 上位装置と上位インタフェースで接続さ
れ、周辺装置と下位インタフェースで接続される入出力
処理装置において、 周辺装置をアクセスする前に予め上位装置から転送され
る上位装置IDおよび周辺装置IDを受信する上位ID
受信手段と、 この上位ID受信手段で受信された上位装置IDおよび
周辺装置IDを下位インタフェースに送信する下位ID
送信手段と、 下位インタフェースから報告を受信する報告受信手段
と、 この報告受信手段で受信された報告を上位装置に対して
送信する報告送信手段とを有することを特徴とする入出
力処理装置。
2. An input / output processing device connected to a higher-level device via a higher-level interface and connected to a peripheral device via a lower-level interface, wherein a higher-level device ID and a peripheral device ID are transferred from the higher-level device before accessing the peripheral device. Top ID to receive
Receiving means, and a lower ID for transmitting the upper device ID and the peripheral device ID received by the upper ID receiving means to the lower interface
An input / output processing apparatus comprising: a transmitting unit; a report receiving unit that receives a report from a lower interface; and a report transmitting unit that transmits a report received by the report receiving unit to a higher-level device.
【請求項3】 2台以上の入出力処理装置および周辺装
置が接続される下位インタフェースと接続された排他制
御装置において、 周辺装置の周辺装置ID毎に周辺装置を使用している上
位装置の上位装置IDを格納するID格納手段と、 下位インタフェースから転送される上位装置IDおよび
周辺装置IDを受信する下位ID受信手段と、 この下位ID受信手段で受信された上位装置IDを選択
する上位ID選択手段と、 前記下位ID受信手段で受信された周辺装置IDを選択
する装置ID選択手段と、 この装置ID選択手段で選択された周辺装置IDに対応
して前記ID格納手段に格納された上位装置IDを読み
出すID参照手段と、 このID参照手段で読み出された上位装置IDおよび上
位ID選択手段で選択された上位装置IDから演算を行
うID演算手段と、 このID演算手段の演算結果に応じて前記装置ID選択
手段で選択された周辺装置IDに対応して前記ID格納
手段に格納されている上位装置IDを前記上位ID選択
手段で選択された上位装置IDに更新するID更新手段
と、 前記ID演算手段の演算結果に応じて下位インタフェー
スに対して周辺装置の使用不許可を報告する不許可報告
手段と、 前記ID格納手段に格納された上位装置IDが更新され
たことを下位インタフェースに周辺装置の使用許可とし
て報告する許可報告手段とを有することを特徴とする排
他制御装置。
3. An exclusive control device connected to a lower interface to which two or more input / output processing devices and peripheral devices are connected, wherein a higher-level device that uses a peripheral device for each peripheral device ID of the peripheral device. ID storage means for storing a device ID; lower ID receiving means for receiving a higher device ID and a peripheral device ID transferred from a lower interface; higher ID selection for selecting a higher device ID received by the lower ID receiving means Means, a device ID selecting means for selecting a peripheral device ID received by the lower ID receiving means, and a higher order device stored in the ID storage means corresponding to the peripheral device ID selected by the device ID selecting means. ID reference means for reading an ID, and a higher-level device ID read by the ID reference means and a higher-level device ID selected by the higher-level ID selection means An ID calculating means for performing a calculation; and a higher-level device ID stored in the ID storage means corresponding to the peripheral device ID selected by the device ID selecting means in accordance with a calculation result of the ID calculating means. ID updating means for updating to a higher-level device ID selected by the selection means, non-permission reporting means for reporting a non-permission of a peripheral device to a lower-level interface according to a calculation result of the ID calculating means, and ID storage And a permission reporting unit for reporting to the lower interface that the upper device ID stored in the means has been updated, as a permission to use the peripheral device.
【請求項4】 上位装置と上位インタフェースで接続さ
れ、周辺装置と下位インタフェースで接続される入出力
処理装置と、下位インタフェースに接続される排他制御
装置とを有する入出力処理システムにおいて、 前記入出力処理装置が、周辺装置をアクセスする前に予
め上位装置から転送される上位装置IDおよび周辺装置
IDを受信する上位ID受信手段と、この上位ID受信
手段で受信された上位装置IDおよび周辺装置IDを下
位インタフェースに送信する下位ID送信手段と、下位
インタフェースから報告を受信する報告受信手段と、こ
の報告受信手段で受信された報告を上位装置に対して送
信する報告送信手段とを有し、 前記排他制御装置が、周辺装置の周辺装置ID毎に周辺
装置を使用している上位装置の上位装置IDを格納する
ID格納手段と、下位インタフェースから転送される上
位装置IDおよび周辺装置IDを受信する下位ID受信
手段と、この下位ID受信手段で受信された上位装置I
Dを選択する上位ID選択手段と、前記下位ID受信手
段で受信された周辺装置IDを選択する装置ID選択手
段と、この装置ID選択手段で選択された周辺装置ID
に対応して前記ID格納手段に格納された上位装置ID
を読み出すID参照手段と、このID参照手段で読み出
された上位装置IDおよび上位ID選択手段で選択され
た上位装置IDから演算を行うID演算手段と、このI
D演算手段の演算結果に応じて前記装置ID選択手段で
選択された周辺装置IDに対応して前記ID格納手段に
格納されている上位装置IDを前記上位ID選択手段で
選択された上位装置IDに更新するID更新手段と、前
記ID演算手段の演算結果に応じて下位インタフェース
に対して周辺装置の使用不許可を報告する不許可報告手
段と、前記ID格納手段に格納された上位装置IDが更
新されたことを下位インタフェースに周辺装置の使用許
可として報告する許可報告手段とを有することを特徴と
する入出力処理システム。
4. An input / output processing system having an input / output processing device connected to a higher-level device via a higher-level interface, connected to a peripheral device via a lower-level interface, and an exclusive control device connected to the lower-level interface, A higher-level ID receiving means for receiving a higher-level device ID and a peripheral device ID transferred from a higher-level device before the processing device accesses the peripheral device, and a higher-level device ID and a higher-level device ID received by the higher-level ID receiving means Lower-level ID transmitting means for transmitting the report to the lower-level interface, report receiving means for receiving a report from the lower-level interface, and report transmitting means for transmitting the report received by the report receiving means to a higher-level device, The exclusive control device stores, for each peripheral device ID of the peripheral device, an upper device ID of a higher device using the peripheral device. An ID storage unit that, the lower ID receiving means for receiving the higher-level device ID and the peripheral device ID is transferred from the lower interface, host device I received on the lower ID receiving means
D, an upper device ID selecting device, a device ID selecting device for selecting a peripheral device ID received by the lower ID receiving device, and a peripheral device ID selected by the device ID selecting device.
Upper device ID stored in the ID storage means corresponding to
ID reference means for reading the ID, ID calculation means for performing an operation from the upper device ID read by the ID reference means and the upper device ID selected by the upper ID selection means,
The upper device ID stored in the ID storage device corresponding to the peripheral device ID selected by the device ID selecting device in accordance with the calculation result of the D calculating device is the higher device ID selected by the higher ID selecting device. ID updating means for updating to the lower-level interface, non-permission reporting means for reporting the non-permission of the peripheral device to the lower interface in accordance with the calculation result of the ID calculating means, and upper-level device ID stored in the ID storage means. An input / output processing system having permission reporting means for reporting the update to the lower interface as a permission to use the peripheral device.
JP19705696A 1996-07-08 1996-07-08 Input/output processing system and input/output processor Pending JPH1027151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19705696A JPH1027151A (en) 1996-07-08 1996-07-08 Input/output processing system and input/output processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19705696A JPH1027151A (en) 1996-07-08 1996-07-08 Input/output processing system and input/output processor

Publications (1)

Publication Number Publication Date
JPH1027151A true JPH1027151A (en) 1998-01-27

Family

ID=16367987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19705696A Pending JPH1027151A (en) 1996-07-08 1996-07-08 Input/output processing system and input/output processor

Country Status (1)

Country Link
JP (1) JPH1027151A (en)

Similar Documents

Publication Publication Date Title
US11755435B2 (en) Cluster availability management
US6934878B2 (en) Failure detection and failure handling in cluster controller networks
US7269630B2 (en) Automatically switching shared remote devices in a dense server environment thereby allowing the remote devices to function as a local device
US7673172B2 (en) Method, system, and program for error handling in a dual adaptor system where one adaptor is a master
US7272674B1 (en) System and method for storage device active path coordination among hosts
JPH06214969A (en) Method and equipment for information communication
US7111026B2 (en) Method and device for acquiring snapshots and computer system with snapshot acquiring function
US7194662B2 (en) Method, apparatus and program storage device for providing data path optimization
US7023869B2 (en) Data storage system with one or more integrated server-like behaviors
JPH0661073B2 (en) How the multi-processor system works
US7774785B2 (en) Cluster code management
US5708784A (en) Dual bus computer architecture utilizing distributed arbitrators and method of using same
US7441009B2 (en) Computer system and storage virtualizer
US20040148442A1 (en) Predictably defining input/output configurations for environments employing fabrics
US8074109B1 (en) Third-party voting to select a master processor within a multi-processor computer
JPH0675887A (en) Polling interval determining system
US20030182479A1 (en) Implementing clustering in raid controllers
JPH0228866A (en) Log-in switching system
CN115185869B (en) Communication method, device, equipment and medium of baseboard management controller and IIC equipment
JPH06224975A (en) Method for resetting modules connected with each other, and system using this method
JPH02291039A (en) Memory control system
US20030188096A1 (en) Distributing access rights to mass storage
CN115599631A (en) Component monitoring method and device, electronic equipment and storage medium
JPH06149728A (en) I/o bus extension device and its control method
EP1704472A1 (en) Configuring a shared resource