JP3499938B2 - A system for sharing I/O devices among systems with different protocols - Google Patents
A system for sharing I/O devices among systems with different protocolsInfo
- Publication number
- JP3499938B2 JP3499938B2 JP31144294A JP31144294A JP3499938B2 JP 3499938 B2 JP3499938 B2 JP 3499938B2 JP 31144294 A JP31144294 A JP 31144294A JP 31144294 A JP31144294 A JP 31144294A JP 3499938 B2 JP3499938 B2 JP 3499938B2
- Authority
- JP
- Japan
- Prior art keywords
- request
- input
- data transfer
- protocol
- control unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Description
【0001】[0001]
【産業上の利用分野】本発明は,異種プロトコルの複数
システム間の入出力装置共用システムに関し,特に,プ
ロトコルの異なる他システムの入出力装置に対する直接
入出力操作を可能としたシステムに関する。また,この
入出力装置共用システムを利用して入出力装置経由でデ
ータを転送することにより,システム間通信回線経由で
データを転送する場合に比べて転送時間を短縮すること
を狙いとし,入出力装置を共用しているシステム間にお
ける多量データの高速データ転送を可能にしたシステム
に関する。[Industrial Application Field] This invention relates to a system for sharing input/output devices between multiple systems with different protocols, and in particular to a system that enables direct input/output operations to the input/output devices of other systems with different protocols. It also relates to a system that enables high-speed data transfer of large amounts of data between systems sharing an input/output device by using this input/output device sharing system to transfer data via the input/output devices, aiming to reduce transfer time compared to data transfer via communication lines between systems.
【0002】[0002]
【従来の技術】図7は従来技術の説明図である。図7に
示すように,ホストシステム10には,メイン・フレー
ムのチャネル・インタフェースにより入出力装置11
a,11b,…が接続され,サブシステム20には,S
CSIインタフェースにより入出力装置21が接続され
ているシステムの場合,従来の技術では,例えばサブシ
ステム20からホストシステム10の配下の入出力装置
11bに直接入出力操作を行うことはできなかった。2. Description of the Related Art Fig. 7 is an explanatory diagram of the prior art. As shown in Fig. 7, a host system 10 has an input/output device 11 connected to it by a channel interface of a mainframe.
a, 11b, ... are connected, and the subsystem 20 has S
In the case of a system in which an input/output device 21 is connected via a CSI interface, in the prior art, it was not possible to perform input/output operations directly from the subsystem 20 to the input/output device 11b under the control of the host system 10, for example.
【0003】そのため,サブシステム20は,入出力操
作が必要であればシステム間通信回線4を介してホスト
システム10へ入出力装置10bへのアクセスを依頼
し,ホストシステム10は,依頼されたアクセス結果を
システム間通信回線4を通して,サブシステム20へ転
送していた。[0003] Therefore, when an input/output operation was required, the subsystem 20 would request access to the input/output device 10b from the host system 10 via the inter-system communication line 4, and the host system 10 would transfer the requested access results to the subsystem 20 via the inter-system communication line 4.
【0004】また,入出力操作の結果の転送に限らず,
システム間のデータ転送については,システム間通信回
線4を使用してデータを転送する方法が一般的であっ
た。In addition, the transfer of the results of input/output operations is not limited to the above.
In the past, data transfer between systems was typically performed using an inter-system communication line 4 .
【0005】[0005]
【発明が解決しようとする課題】上記のように,従来の
技術では,入出力装置とのプロトコルが異なるシステム
から入出力装置に対する直接入出力操作を行うことはで
きず,システム間通信回線を使用し,入出力装置と同じ
プロトコルのシステムに対して入出力操作の依頼を行
い,依頼を受けたシステムにより実行された入出力操作
の結果をシステム間通信回線を通して受け取っていた。As described above, in conventional technology, it is not possible to perform direct I/O operations on an I/O device from a system that uses a different protocol from the I/O device, so an inter-system communication line is used to request an I/O operation from a system that uses the same protocol as the I/O device, and the results of the I/O operation performed by the requested system are received via the inter-system communication line.
【0006】しかし,この方法では,システム間通信回
線を使用してシステム間で入出力操作に必要なデータの
転送処理を行うため,入出力装置に対して直接入出力操
作を行う場合に比べて処理時間が増加するという欠点が
あった。However, this method has the disadvantage that the processing time increases compared to when input/output operations are performed directly on the input/output device, because the data required for input/output operations is transferred between systems using inter-system communication lines.
【0007】また,入出力操作を依頼されたシステムの
負荷が増加するという欠点もあった。さらに,システム
間でデータを転送する場合に,システム間通信回線を使
用してデータを転送していたが,この方法では,多量の
データを転送する場合には,転送に時間がかかるという
欠点があった。[0007] There was also the drawback that the load on the system that was requested to perform the I/O operation increased. Furthermore, when transferring data between systems, the data was transferred using an inter-system communication line, but this method had the drawback that it took a long time to transfer a large amount of data.
【0008】本発明は上記問題点の解決を図り,プロト
コルの異なる複数システム間において入出力装置の共用
を可能とし,入出力処理時間の短縮,システムの負荷軽
減,複数システム間における多量データの高速転送を実
現する入出力装置共用システムを提供することを目的と
する。The present invention aims to solve the above problems and provide an I/O device sharing system that enables sharing of I/O devices between multiple systems with different protocols, shortens I/O processing time, reduces system load, and enables high-speed transfer of large amounts of data between multiple systems.
【0009】[0009]
【課題を解決するための手段】本発明は,上記課題を解
決するために,例えば図1に示すような,以下の手段を
具備する。In order to solve the above problems, the present invention comprises the following means, for example as shown in FIG.
【0010】本発明は,プロトコルの異なる複数システ
ム間において,一つまたは複数の入出力装置1a,1
b,…(以下,入出力装置1と称する)とプロトコルの
異なるシステム(以下,サブシステム200と称する)
内部で入出力操作要求を受け付ける入出力操作要求受付
機構201と,サブシステム200内部で入出力装置1
の制御を行う入出力装置制御部202と,入出力装置制
御部202において,入出力操作要求受付機構201で
受け付けた入出力操作要求の対象が,サブシステム20
0内でサポートしているプロトコルと同じ入出力装置か
異なる入出力装置かを判別する入出力装置判別機構20
3と,入出力装置制御部202において,対象入出力装
置のプロトコルがサブシステム200内でサポートして
いるプロトコルと異なる場合,対象入出力装置と同じプ
ロトコルのシステム(以下,ホストシステム100と称
する)に対して排他環境の作成を依頼する排他環境作成
依頼機構204と,入出力装置制御部202において,
ホストシステム100に対してエクステント情報の通知
を依頼するエクステント情報通知依頼機構205と,入
出力装置制御部202において,ホストシステム100
に対して排他環境の解放を依頼する排他環境解放依頼機
構206と,サブシステム200内部で入出力要求を受
け付ける入出力要求受付機構207と,サブシステム2
00内部で入出力要求の制御を行う入出力要求制御部2
08と,入出力要求制御部208において,入出力要求
受付機構207で受け付けた入出力要求の対象が,サブ
システム200内でサポートしているプロトコルと同じ
入出力装置か異なる入出力装置かを判別する入出力装置
判別機構209と,入出力要求制御部208において,
入出力要求とエクステント情報をもとに入出力要求コマ
ンドを作成するコマンド作成機構210と,ホストシス
テム100内部でサブシステム200からの依頼により
排他環境を作成する排他環境作成機構101と,ホスト
システム100内部でサブシステム200からの依頼に
よりエクステント情報を通知するエクステント情報通知
機構102と,ホストシステム100内部でサブシステ
ム200からの依頼により排他環境を解放する排他環境
解放機構103と,サブシステム200から入出力装置
1に対して直接入出力操作を実行する際,プロトコルの
変換を行うプロトコル変換装置3とを備える。The present invention relates to a method for connecting one or more input/output devices 1a, 1b, 1c, 1d, 1e, 1f, 1g, 1h, 1i, 1j, 1m, 1m, 1n ...
b, ... (hereinafter referred to as input/output device 1) and a system (hereinafter referred to as subsystem 200) with a different protocol
An input/output operation request receiving mechanism 201 that receives an input/output operation request inside the subsystem 200 and an input/output device 1
The input/output device control unit 202 controls the subsystem 20 and the input/output operation request received by the input/output operation request receiving unit 201 is a subsystem 20
2. An I/O device discrimination mechanism 20 that discriminates whether an I/O device supports the same protocol as the I/O device in the
3, an exclusive environment creation request mechanism 204 that, in an input/output device control unit 202, requests a system (hereinafter referred to as the host system 100) that has the same protocol as the target input/output device to create an exclusive environment when the protocol of the target input/output device is different from the protocol supported in the subsystem 200; and
An extent information notification request mechanism 205 that requests the host system 100 to notify the host system 100 of extent information, and an input/output device control unit 202 that
an exclusive environment release request mechanism 206 that requests the release of the exclusive environment from the subsystem 200; an input/output request acceptance mechanism 207 that accepts input/output requests within the subsystem 200;
I/O request control unit 2 that controls I/O requests within
08, an I/O request control unit 208, an I/O device discrimination mechanism 209 that discriminates whether the target of the I/O request accepted by the I/O request acceptance mechanism 207 is an I/O device having the same protocol as that supported in the subsystem 200 or a different I/O device,
The system comprises a command creation mechanism 210 that creates an input/output request command based on an input/output request and extent information, an exclusive environment creation mechanism 101 that creates an exclusive environment within the host system 100 at a request from the subsystem 200, an extent information notification mechanism 102 that notifies extent information within the host system 100 at a request from the subsystem 200, an exclusive environment release mechanism 103 that releases the exclusive environment within the host system 100 at a request from the subsystem 200, and a protocol conversion device 3 that converts the protocol when an input/output operation is performed directly from the subsystem 200 to the input/output device 1.
【0011】また,ホストシステム100からサブシス
テム200に対する多量データの高速転送のため,前述
した図1に示す異種プロトコルの複数システム間の入出
力装置共用システムの構成に加えて,ホストシステム1
00内部で高速データ転送要求の受け付けを行う高速デ
ータ転送受付機構と,ホストシステム100内部で入出
力装置に対する入出力操作を行う入出力操作機構と,ホ
ストシステム100内部でサブシステム200に対して
転送データの受信を依頼する転送データ受信依頼機構
と,サブシステム200内部で高速データ転送要求の受
け付けを行う高速データ転送受付機構と,サブシステム
200内部でホストシステム100に対してデータ転送
の完了を通知するデータ転送完了通知機構とを備える。In order to transfer a large amount of data at high speed from the host system 100 to the subsystem 200, in addition to the configuration of the input/output device sharing system between a plurality of systems using different protocols as shown in FIG. 1, the host system 1
The host system 100 includes a high-speed data transfer acceptance mechanism that accepts high-speed data transfer requests within the host system 100, an input/output operation mechanism that performs input/output operations on an input/output device within the host system 100, a transfer data reception request mechanism that requests the subsystem 200 to receive transfer data within the host system 100, a high-speed data transfer acceptance mechanism that accepts high-speed data transfer requests within the subsystem 200, and a data transfer completion notification mechanism that notifies the host system 100 of the completion of data transfer within the subsystem 200.
【0012】また,サブシステム200からホストシス
テム100に対する多量データの高速転送のため,前述
した図1に示す異種プロトコルの複数システム間の入出
力装置共用システムの構成に加えて,ホストシステム1
00内部で高速データ転送要求の受け付けを行う高速デ
ータ転送受付機構と,ホストシステム100内部で入出
力装置に対する入出力操作を行う入出力操作機構と,ホ
ストシステム100内部でサブシステム200に対して
データ転送の完了を通知するデータ転送完了通知機構
と,サブシステム200内部で高速データ転送要求の受
け付けを行う高速データ転送受付機構と,サブシステム
200内部でホストシステム100に対して転送データ
の受信を依頼する転送データ受信依頼機構とを備える。In order to transfer a large amount of data at high speed from the subsystem 200 to the host system 100, in addition to the configuration of the input/output device sharing system between a plurality of systems using different protocols as shown in FIG.
The host system 100 includes a high-speed data transfer acceptance mechanism that accepts high-speed data transfer requests within the host system 100, an input/output operation mechanism that performs input/output operations on an input/output device within the host system 100, a data transfer completion notification mechanism that notifies the subsystem 200 of the completion of data transfer within the host system 100, a high-speed data transfer acceptance mechanism that accepts high-speed data transfer requests within the subsystem 200, and a transfer data reception request mechanism that requests the host system 100 to receive transfer data within the subsystem 200.
【0013】[0013]
【作用】上記構成によれば,サブシステム200におい
て,入出力操作要求受付機構201が入出力装置に対す
る入出力操作要求(入出力操作対象のオープン要求)を
受け付けると入出力装置制御部202の入出力装置判別
機構203により,入出力操作の対象がサブシステム2
00内でサポートしているプロトコルと同じ入出力装置
か,異なる入出力装置かの判別が行われる。入出力操作
の対象がプロトコルの異なる入出力装置1である場合
は,入出力装置制御部202の排他環境作成依頼機構2
04により,ホストシステム100に対してシステム間
通信回線4を使用し排他環境の作成を依頼する。サブシ
ステム200より依頼を受けたホストシステム100
は,排他環境作成機構101が排他環境の作成を行う。According to the above configuration, in the subsystem 200, when the I/O operation request receiving mechanism 201 receives an I/O operation request for an I/O device (an open request for an I/O operation target), the I/O device discrimination mechanism 203 of the I/O device control unit 202 determines that the target of the I/O operation is subsystem 2.
If the input/output operation is performed on an input/output device 1 with a different protocol, the exclusive environment creation request mechanism 202 of the input/output device control unit 202 determines whether the input/output device 1 has the same protocol as the input/output device 100 or a different protocol.
04, the host system 100 is requested to create an exclusive environment using the inter-system communication line 4. The host system 100 that has received the request from the subsystem 200
In this case, the exclusive environment creating mechanism 101 creates the exclusive environment.
【0014】次に,サブシステム200では,入出力装
置制御部202のエクステント情報通知依頼機構205
により,ホストシステム100に対してシステム間通信
回線4を使用し入出力操作に必要なエクステント情報の
通知を依頼する。サブシステム200から依頼を受けた
ホストシステム100では,エクステント情報通知機構
102により,サブシステム200に対してシステム間
通信回線4を使用しエクステント情報の通知を行う。Next, in the subsystem 200, the extent information notification request mechanism 205 of the input/output device control unit 202
The host system 100 is requested to notify the host system 100 of the extent information required for input/output operations, using the inter-system communication line 4. Upon receiving the request from the subsystem 200, the host system 100 notifies the subsystem 200 of the extent information by the extent information notifying mechanism 102, using the inter-system communication line 4.
【0015】次に,サブシステム200において,入出
力要求受付機構207が入出力装置に対する入出力要求
を受け付けると,入出力要求制御部208の入出力装置
判別機構209により,入出力要求の対象がサブシステ
ム200内でサポートしているプロトコルと同じ入出力
装置か,異なる入出力装置かの判別が行われる。入出力
要求の対象がプロトコルの異なる入出力装置1である場
合には,入出力要求制御部208のコマンド作成機構2
10により,入出力要求とエクステント情報をもとにプ
ロトコル変換装置3で変換可能な形式の入出力要求コマ
ンドを作成する。サブシステム200は,コマンド作成
機構210で作成した入出力操作要求コマンドを使用し
て,プロトコル変換装置3経由で入出力装置1に対する
直接入出力操作要求を実行する。なお,入出力操作要求
コマンドは,プロトコル変換装置3において入出力装置
1と同じプロトコルに変換される。Next, in the subsystem 200, when the I/O request receiving mechanism 207 receives an I/O request for an I/O device, the I/O device discrimination mechanism 209 of the I/O request control unit 208 discriminates whether the I/O request is for an I/O device 1 with the same protocol as that supported in the subsystem 200 or a different I/O device.
Based on the I/O request and extent information, the command creation mechanism 210 creates an I/O request command in a format that can be converted by the protocol conversion device 3. The subsystem 200 executes a direct I/O operation request to the I/O device 1 via the protocol conversion device 3, using the I/O operation request command created by the command creation mechanism 210. The I/O operation request command is converted by the protocol conversion device 3 into the same protocol as that of the I/O device 1.
【0016】この入出力要求を繰り返した後,入出力要
求の必要がなくなった場合に,サブシステム200にお
いて入出力操作要求受付機構201が入出力装置に対す
る入出力操作終了要求(入出力操作対象のクローズ要
求)を受け付けると,入出力装置制御部202の入出力
装置判別機構203により,入出力操作の対象がサブシ
ステム200内でサポートしているプロトコルと同じ入
出力装置か,異なる入出力装置かの判別が行われる。入
出力操作の対象がプロトコルの異なる入出力装置1であ
る場合には,入出力装置制御部202の排他環境解放依
頼機構206により,ホストシステム100に対してシ
ステム間通信回線4を使用し排他環境の解放を依頼す
る。サブシステム200から依頼を受けたホストシステ
ム100は,排他環境解放機構103が排他環境の解放
を行う。[0016] After repeating these I/O requests, when there is no longer a need for I/O requests, the I/O operation request receiving mechanism 201 in the subsystem 200 receives an I/O operation end request for the I/O device (a request to close the I/O operation target), and the I/O device discrimination mechanism 203 in the I/O device control unit 202 discriminates whether the target of the I/O operation is an I/O device 1 with the same protocol as that supported in the subsystem 200, or a different I/O device. If the target of the I/O operation is an I/O device 1 with a different protocol, the exclusive environment release request mechanism 206 in the I/O device control unit 202 requests the host system 100 to release the exclusive environment using the inter-system communication line 4. Upon receiving the request from the subsystem 200, the host system 100 releases the exclusive environment via the exclusive environment release mechanism 103.
【0017】また,ホストシステム100からサブシス
テム200に対して多量データを高速に転送するための
構成によれば,まず,ホストシステム100において,
高速データ転送受付機構が高速データ転送の要求を受け
付け,排他環境作成機構101により,転送データを格
納する領域の確保と排他環境の作成を行う。次に,入出
力操作機構により,転送データを入出力装置1に格納す
るための入出力操作を行う。入出力操作完了後,排他環
境解放機構103により,排他環境作成機構101で作
成した排他環境を解放する。次に,転送データ受信依頼
機構により,システム間通信回線4を使用して転送デー
タのエクステント情報の通知と転送データの受信依頼を
行う。According to a configuration for transferring a large amount of data at high speed from the host system 100 to the subsystem 200, first, in the host system 100,
The high-speed data transfer acceptance mechanism accepts a request for high-speed data transfer, and the exclusive environment creation mechanism 101 secures an area for storing the transfer data and creates an exclusive environment. Next, the input/output operation mechanism performs an input/output operation to store the transfer data in the input/output device 1. After the input/output operation is completed, the exclusive environment release mechanism 103 releases the exclusive environment created by the exclusive environment creation mechanism 101. Next, the transfer data reception request mechanism uses the inter-system communication line 4 to notify the extent information of the transfer data and request the reception of the transfer data.
【0018】ホストシステム100から依頼を受けたサ
ブシステム200において,高速データ転送受付機構が
高速データ転送の要求を受け付け,入出力操作要求受付
機構201に対して入出力装置の入出力操作要求(オー
プン要求)を行う。入出力操作要求受付機構201が入
出力操作要求を受け付けると,入出力装置制御部202
の入出力装置判別機構203により,入出力操作の対象
がサブシステム200内でサポートしているプロトコル
と同じ入出力装置か,異なる入出力装置かの判定が行わ
れる。転送データは,ホストシステム100と同じプロ
トコルの入出力装置1に格納されているため,サブシス
テム200とは異なるプロトコルの入出力装置である。
そこで,入出力装置制御部202の排他環境作成依頼機
構204により,システム間通信回線4を使用してホス
トシステム100に排他環境の作成を依頼する。サブシ
ステム200から依頼を受けたホストシステム100
は,排他環境作成機構101が排他環境の作成を行う。
次に,サブシステム200では,入出力装置制御部20
2のエクステント情報通知依頼機構205により,ホス
トシステム100に対してシステム間通信回線4を使用
し入出力操作に必要なエクステント情報の通知を依頼す
る。サブシステム200から依頼を受けたホストシステ
ム100では,エクステント情報通知機構102によ
り,サブシステム200に対してシステム間通信回線4
を使用し排他環境作成機構101で確保した領域のエク
ステント情報を通知する。In the subsystem 200 that has received a request from the host system 100, the high-speed data transfer acceptance mechanism accepts the request for high-speed data transfer, and issues an I/O operation request (open request) for the I/O device to the I/O operation request acceptance mechanism 201. When the I/O operation request acceptance mechanism 201 accepts the I/O operation request, the I/O device control unit 202
The I/O device discrimination mechanism 203 judges whether the target of the I/O operation is an I/O device having the same protocol as that supported in the subsystem 200 or a different I/O device. Since the transfer data is stored in an I/O device 1 having the same protocol as the host system 100, it is an I/O device having a different protocol from that of the subsystem 200.
Therefore, the exclusive environment creation request mechanism 204 of the input/output device control unit 202 requests the host system 100 to create an exclusive environment using the inter-system communication line 4.
In this case, the exclusive environment creating mechanism 101 creates the exclusive environment.
Next, in the subsystem 200, the input/output device control unit 20
The extent information notification request mechanism 205 of the subsystem 2 requests the host system 100 to notify the extent information required for input/output operations using the inter-system communication line 4. The host system 100 that has received the request from the subsystem 200 uses the extent information notification mechanism 102 to notify the subsystem 200 of the extent information required for input/output operations using the inter-system communication line 4.
is used to notify the extent information of the area secured by the exclusive environment creating mechanism 101.
【0019】次に,サブシステム200において,高速
データ転送受付機構が入出力要求受付機構に対して,転
送データを入出力装置1から受信するための入出力要求
を行う。入出力要求受付機構207が入出力装置に対す
る入出力要求を受け付けると,入出力要求制御部208
の入出力装置判別機構209により,入出力要求の対象
がサブシステム200内でサポートしているプロトコル
と同じ入出力装置か,異なる入出力装置かの判別が行わ
れる。転送データはホストシステム100と同じプロト
コルの入出力装置に格納されているため,サブシステム
200とは異なるプロトコルの入出力装置であるので,
入出力要求制御部208のコマンド作成機構210によ
り,入出力要求とエクステント情報をもとにプロトコル
変換装置3で変換可能な形式の入出力要求コマンドを作
成する。サブシステム200は,コマンド作成機構21
0で作成した入出力操作要求コマンドを使用してプロト
コル変換装置3経由で入出力装置1に対する直接入出力
操作要求を実行する。なお,入出力操作要求コマンド
は,プロトコル変換装置3において,入出力装置1と同
じプロトコルに変換される。Next, in the subsystem 200, the high-speed data transfer acceptance mechanism issues an I/O request to the I/O request acceptance mechanism to receive transfer data from the I/O device 1. When the I/O request acceptance mechanism 207 accepts an I/O request for the I/O device, the I/O request control unit 208
The I/O device discrimination mechanism 209 discriminates whether the target of the I/O request is an I/O device with the same protocol as that supported in the subsystem 200 or a different I/O device. Since the transfer data is stored in an I/O device with the same protocol as the host system 100, the I/O device has a different protocol from that of the subsystem 200.
The command creation mechanism 210 of the input/output request control unit 208 creates an input/output request command in a format that can be converted by the protocol conversion device 3 based on the input/output request and the extent information.
2. By using the I/O operation request command created in step 0, a direct I/O operation request is executed via the protocol converter 3 to the I/O device 1. The I/O operation request command is converted by the protocol converter 3 into the same protocol as that of the I/O device 1.
【0020】転送データの入出力装置1からの受信を完
了した後,サブシステム200において,高速データ転
送受付機構が入出力操作要求受付機構201に対して入
出力装置の入出力操作終了要求(クローズ要求)を行
う。入出力操作要求受付機構201が入出力操作終了要
求を受け付けると,入出力装置制御部202の入出力装
置判別機構203により,入出力操作の対象がサブシス
テム200内でサポートしているプロトコルと同じ入出
力装置か,異なる入出力装置かの判定が行われる。転送
データは,ホストシステム100と同じプロトコルの入
出力に格納されているため,サブシステム200とは異
なるプロトコルの入出力装置であるので,入出力装置制
御部202の排他環境解放依頼機構206により,ホス
トシステム100に対してシステム間通信回線4を使用
し,排他環境の解放を依頼する。サブシステム200か
ら依頼を受けたホストシステム100は,排他環境解放
機構103が排他環境の解放を行う。最後に,データ転
送完了通知機構により,ホストシステム100に対して
システム間通信回線4を使用しデータ転送が完了したこ
とを通知する。After completing reception of the transfer data from the I/O device 1, in the subsystem 200, the high-speed data transfer acceptance mechanism issues an I/O device I/O operation end request (close request) to the I/O operation request acceptance mechanism 201. When the I/O operation request acceptance mechanism 201 accepts the I/O operation end request, the I/O device discrimination mechanism 203 of the I/O device control unit 202 judges whether the target of the I/O operation is an I/O device with the same protocol as that supported in the subsystem 200 or a different I/O device. Since the transfer data is stored in an I/O device with the same protocol as the host system 100, it is an I/O device with a different protocol from the subsystem 200, so the exclusive environment release request mechanism 206 of the I/O device control unit 202 requests the host system 100 to release the exclusive environment using the inter-system communication line 4. The host system 100, which has received the request from the subsystem 200, releases the exclusive environment using the exclusive environment release mechanism 103. Finally, the data transfer completion notification mechanism notifies the host system 100 that the data transfer has been completed using the inter-system communication line 4.
【0021】また,サブシステム200からホストシス
テム100に対して多量データを高速に転送するための
構成によれば,まず,サブシステム200において,高
速データ転送受付機構が高速データ転送の要求を受け付
け,入出力操作要求受付機構201に対して入出力装置
の入出力操作要求(オープン要求)を行う。入出力操作
要求受付機構201が入出力操作要求を受け付けると,
入出力装置制御部202の入出力装置判別機構203に
より,入出力操作の対象がサブシステム200内でサポ
ートしているプロトコルと同じ入出力装置か,異なる入
出力装置かの判定が行われる。転送データは,ホストシ
ステム100と同じプロトコルの入出力装置に格納する
ため,サブシステム200とは異なるプロトコルの入出
力装置であるので,入出力装置制御部202の排他環境
作成依頼機構204により,システム間通信回線4を使
用してホストシステム100に転送データを格納するた
めの領域の確保と排他環境の作成を依頼する。サブシス
テム200から依頼を受けたホストシステム100は,
排他環境作成機構101が転送データを格納するための
領域の確保と排他環境の作成を行う。According to a configuration for transferring a large amount of data at high speed from the subsystem 200 to the host system 100, first, in the subsystem 200, the high-speed data transfer acceptance mechanism accepts a request for high-speed data transfer, and issues an I/O operation request (open request) for the I/O device to the I/O operation request acceptance mechanism 201. When the I/O operation request acceptance mechanism 201 accepts the I/O operation request,
The I/O device discrimination mechanism 203 of the I/O device control unit 202 determines whether the target of the I/O operation is an I/O device with the same protocol as that supported within the subsystem 200, or a different I/O device. Since the transfer data is to be stored in an I/O device with the same protocol as the host system 100, and since the I/O device has a different protocol than the subsystem 200, the exclusive environment creation request mechanism 204 of the I/O device control unit 202 uses the inter-system communication line 4 to request the host system 100 to secure an area for storing the transfer data and to create an exclusive environment. Upon receiving the request from the subsystem 200, the host system 100
An exclusive environment creating mechanism 101 secures an area for storing the transfer data and creates an exclusive environment.
【0022】次に,サブシステム200では,入出力装
置制御部202のエクステント情報通知依頼機構205
により,ホストシステム100に対してシステム間通信
回線4を使用し入出力操作に必要なエクステント情報の
通知を依頼する。サブシステム200から依頼を受けた
ホストシステム100では,エクステント情報通知機構
102により,サブシステム200に対してシステム間
通信回線4を使用し排他環境作成機構101で確保した
領域のエクステント情報を通知する。Next, in the subsystem 200, the extent information notification request mechanism 205 of the input/output device control unit 202
The host system 100 requests notification of extent information required for input/output operations using the inter-system communication line 4. Upon receiving the request from the subsystem 200, the host system 100 uses the extent information notification mechanism 102 to notify the subsystem 200 of the extent information of the area secured by the exclusive environment creating mechanism 101 using the inter-system communication line 4.
【0023】次に,サブシステム200において,高速
データ転送受付機構が入出力要求受付機構207に対し
て,転送データを入出力装置に格納するための入出力要
求を行う。入出力要求受付機構207が入出力装置に対
する入出力要求を受け付けると,入出力要求制御部20
8の入出力装置判別機構209により,入出力要求の対
象がサブシステム200内でサポートしているプロトコ
ルと同じ入出力装置か,異なる入出力装置かの判別が行
われる。転送データは,ホストシステム100と同じプ
ロトコルの入出力装置1に格納するため,サブシステム
200とは異なるプロトコルの入出力装置であるので,
入出力要求制御部208のコマンド作成機構210によ
り,入出力要求とエクステント情報をもとにプロトコル
変換装置3で変換可能な形式の入出力要求コマンドを作
成する。サブシステム200は,コマンド作成機構21
0で作成した入出力操作要求コマンドを使用して,プロ
トコル変換装置3経由で入出力装置1に対する直接入出
力操作要求を実行する。なお,入出力操作要求コマンド
は,プロトコル変換装置3において,入出力装置1と同
じプロトコルに変換される。Next, in the subsystem 200, the high-speed data transfer acceptance mechanism issues an I/O request to the I/O request acceptance mechanism 207 to store the transfer data in the I/O device. When the I/O request acceptance mechanism 207 accepts an I/O request for the I/O device, the I/O request control unit 20
The I/O device discrimination mechanism 209 of the host system 100 discriminates whether the target of the I/O request is an I/O device with the same protocol as that supported in the subsystem 200 or a different I/O device. Since the transfer data is stored in the I/O device 1 with the same protocol as the host system 100, which is an I/O device with a different protocol from the subsystem 200,
The command creation mechanism 210 of the input/output request control unit 208 creates an input/output request command in a format that can be converted by the protocol conversion device 3 based on the input/output request and the extent information.
Using the I/O operation request command created in step 0, a direct I/O operation request is executed for the I/O device 1 via the protocol converter 3. The I/O operation request command is converted by the protocol converter 3 into the same protocol as that of the I/O device 1.
【0024】次に,サブシステム200において,転送
データ受信依頼機構により,ホストシステム100に対
してシステム間通信回線4を使用し,転送データのエク
ステント情報の通知と転送データの受信依頼を行う。サ
ブシステム200より依頼を受けたホストシステム10
0において,高速データ転送受付機構が高速データ転送
の要求を受け付け,入出力操作機構により,入出力装置
に格納された転送データを受信するために入出力操作を
行う。転送データの受信が完了すると,データ転送完了
通知機構により,サブシステム200に対してシステム
間通信回線4を使用し,データ転送が完了したことを通
知する。Next, in the subsystem 200, a transfer data reception request mechanism uses the inter-system communication line 4 to notify the host system 100 of the extent information of the transfer data and to request the host system 100 to receive the transfer data.
In the system, the high-speed data transfer acceptance mechanism accepts a request for high-speed data transfer, and the input/output operation mechanism performs an input/output operation to receive the transfer data stored in the input/output device. When reception of the transfer data is completed, the data transfer completion notification mechanism uses the inter-system communication line 4 to notify the subsystem 200 that the data transfer has been completed.
【0025】ホストシステム100から通知を受けたサ
ブシステム200では,高速データ転送受付機構が入出
力操作要求受付機構201に対して入出力装置の入出力
操作終了要求(クローズ要求)を行う。入出力操作要求
受付機構201が入出力操作終了要求を受け付けると,
入出力装置制御部202の入出力装置判別機構203に
より,入出力操作の対象がサブシステム200内でサポ
ートしているプロトコルと同じ入出力装置か,異なる入
出力装置かの判定が行われる。転送データを格納した入
出力装置は,ホストシステム100と同じプロトコルの
入出力装置1であるため,入出力装置制御部202の排
他環境解放依頼機構206により,ホストシステム10
0に対してシステム間通信回線4を使用し排他環境の解
放を依頼する。サブシステム200から依頼を受けたホ
ストシステム100は,排他環境解放機構103が排他
環境の解放を行う。In the subsystem 200 that has received the notification from the host system 100, the high-speed data transfer acceptance mechanism issues an I/O operation end request (close request) to the I/O operation request acceptance mechanism 201. When the I/O operation request acceptance mechanism 201 accepts the I/O operation end request,
The I/O device discrimination mechanism 203 of the I/O device control unit 202 judges whether the target of the I/O operation is an I/O device having the same protocol as that supported in the subsystem 200 or a different I/O device. Since the I/O device that stored the transfer data is an I/O device 1 having the same protocol as the host system 100, the exclusive environment release request mechanism 206 of the I/O device control unit 202 requests the exclusive environment release request mechanism 206 of the I/O device control unit 202 to release the transfer data from the host system 100.
0 to release the exclusive environment, using the inter-system communication line 4. In the host system 100 that has received the request from the subsystem 200, the exclusive environment release mechanism 103 releases the exclusive environment.
【0026】次に,サブシステム200において,転送
データ受信依頼機構により,ホストシステム100に対
してシステム間通信回線4を使用し,転送データのエク
ステント情報の通知と転送データの受信依頼を行う。サ
ブシステム200から依頼を受けたホストシステム10
0において,高速データ転送受付機構が高速データ転送
の要求を受け付け,入出力操作機構により,入出力装置
1に格納された転送データを受信するために入出力操作
を行う。転送データの受信が完了すると,データ転送完
了通知機構により,サブシステム200に対してシステ
ム間通信回線4を使用しデータ転送が完了したことを通
知する。Next, in the subsystem 200, a transfer data reception request mechanism uses the inter-system communication line 4 to notify the host system 100 of the extent information of the transfer data and to request the host system 100 to receive the transfer data.
In step 0, the high-speed data transfer acceptance mechanism accepts a request for high-speed data transfer, and the input/output operation mechanism performs an input/output operation to receive the transfer data stored in the input/output device 1. When reception of the transfer data is complete, the data transfer completion notification mechanism notifies the subsystem 200, using the inter-system communication line 4, that the data transfer has been completed.
【0027】[0027]
【実施例】以下,本発明を適用する計算機システムの一
実施例を説明する。図1は,本発明を適用する計算シス
テムの一実施例を示すブロック構成図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a computer system to which the present invention is applied will now be described. Fig. 1 is a block diagram showing an embodiment of a computer system to which the present invention is applied.
【0028】この計算機システムは,複数の入出力装置
1a,1b,…(入出力装置1)と,入出力装置1に対
する入出力要求を制御する入出力制御装置2と,入出力
装置1に対してメイン・フレームのチャネル・インタフ
ェースによるプロトコルでアクセスするホストシステム
100と,入出力装置1と異なるプロトコルの一つまた
は複数のサブシステム200と,サブシステム200か
ら入出力装置1に対して直接入出力操作を実行する際,
プロトコルの変換を行うプロトコル変換装置3と,シス
テム間通信回線4から構成されている。This computer system comprises a plurality of input/output devices 1a, 1b, ... (input/output device 1), an input/output control device 2 which controls input/output requests to the input/output device 1, a host system 100 which accesses the input/output device 1 using a protocol based on a mainframe channel interface, one or more subsystems 200 which use a protocol different from that of the input/output device 1, and when an input/output operation is directly performed from the subsystem 200 to the input/output device 1,
The system is made up of a protocol conversion device 3 that converts protocols, and an inter-system communication line 4 .
【0029】サブシステム200は,内部で入出力操作
要求を受け付ける入出力操作要求受付機構201と,入
出力装置の制御を行う入出力装置制御部202と,入出
力要求を受け付ける入出力要求受付機構207と,入出
力要求の制御を行う入出力要求制御部208とを持つ。[0029] The subsystem 200 has an input/output operation request receiving mechanism 201 that receives input/output operation requests internally, an input/output device control unit 202 that controls the input/output device, an input/output request receiving mechanism 207 that receives input/output requests, and an input/output request control unit 208 that controls input/output requests.
【0030】サブシステム200内の入出力装置制御部
202は,入出力操作要求受付機構201で受け付けた
入出力操作要求の対象が,サブシステム200内でサポ
ートしているプロトコルと同じ入出力装置か異なる入出
力装置かを判別する入出力装置判別機構203と,対象
入出力装置のプロトコルがサブシステム200でサポー
トしているプロトコルと異なる場合,ホストシステム1
00に対して排他環境の作成を依頼する排他環境作成依
頼機構204と,ホストシステム100に対してエクス
テント情報の通知を依頼するエクステント情報通知依頼
機構205と,ホストシステム100に対して排他環境
の解放を依頼する排他環境解放依頼機構206とを持
つ。The I/O device control unit 202 in the subsystem 200 has an I/O device discrimination mechanism 203 which discriminates whether the target of the I/O operation request accepted by the I/O operation request acceptance mechanism 201 is an I/O device with the same protocol as that supported in the subsystem 200 or a different protocol, and if the protocol of the target I/O device is different from the protocol supported by the subsystem 200, the I/O device control mechanism 203 discriminates whether the target I/O device is an I/O device with the same protocol as that supported in the subsystem 200 or a different protocol.
00 to create an exclusive environment, an extent information notification request mechanism 205 that requests the host system 100 to notify the host system 100 of extent information, and an exclusive environment release request mechanism 206 that requests the host system 100 to release the exclusive environment.
【0031】また,サブシステム200内の入出力要求
制御部208は,入出力要求受付機構207で受け付け
た入出力要求の対象が,サブシステム200内でサポー
トしているプロトコルと同じ入出力装置か異なる入出力
装置かを判別する入出力装置判別機構209と,入出力
要求とエクステント情報をもとに入出力要求コマンドを
作成するコマンド作成機構210とを持つ。[0031] In addition, the input/output request control unit 208 in the subsystem 200 has an input/output device discrimination mechanism 209 that determines whether the target of an input/output request accepted by the input/output request accepting mechanism 207 is an input/output device with the same protocol as that supported in the subsystem 200 or a different input/output device, and a command creation mechanism 210 that creates an input/output request command based on the input/output request and extent information.
【0032】ホストシステム100は,サブシステム2
00からの依頼により排他環境を作成する排他環境作成
機構101と,サブシステム200からの依頼によりエ
クステント情報を通知するエクステント情報通知機構1
02と,サブシステム200からの依頼により排他環境
を解放する排他環境解放機構103とを持つ。The host system 100 includes a subsystem 2
An exclusive environment creation mechanism 101 that creates an exclusive environment in response to a request from the subsystem 200, and an extent information notification mechanism 102 that notifies extent information in response to a request from the subsystem 200.
02 and an exclusive environment release mechanism 103 which releases the exclusive environment upon request from the subsystem 200.
【0033】図1に示す本発明の各構成の処理動作を説
明する。図1中の括弧を付した番号(1) 〜(14)は,以下
に説明する処理動作の順序を表す番号と対応する。
(1) まず最初に,サブシステム200において,入出力
操作要求受付機構201に入出力操作の要求(入出力操
作対象のオープン要求)が受け付けられ,入出力装置制
御部202に制御を渡す。[0033] The processing operations of each component of the present invention shown in Figure 1 will now be described. The numbers in parentheses (1) to (14) in Figure 1 correspond to the numbers indicating the order of the processing operations described below. (1) First, in the subsystem 200, an I/O operation request (open request for an I/O operation target) is received by the I/O operation request receiving mechanism 201, and control is passed to the I/O device control unit 202.
【0034】オープンの単位はデータセットで,サブシ
ステム200のディスクが対象の場合とは異なる関数を
使用することでホストシステム100配下のDASDで
あることを識別する。システムおよびボリュームの識別
は,関数の入力引数のパス名で指定する。例えば,サブ
システム200の内蔵ディスクのボリューム上の場合に
は,パス名は「/ディレクトリ名/ディレクトリ名/フ
ァイル名」であるのに対し,ホストシステム100配下
のDASDの場合には,「/システム識別名/ボリュー
ム通番/データセット名」となる。The unit of opening is the data set, and a different function is used to identify that it is a DASD under host system 100 than when the disk of subsystem 200 is the target. The system and volume are identified by the path name of the input argument of the function. For example, in the case of a volume on an internal disk of subsystem 200, the path name is "/directory name/directory name/file name", whereas in the case of a DASD under host system 100, it is "/system identification name/volume serial number/data set name".
【0035】(2) 入出力装置制御部202の入出力装置
判別機構203により,入出力操作の対象がサブシステ
ム200内でサポートしているプロトコルと同じ入出力
装置か異なる入出力装置かを判別する。(2) The I/O device discrimination mechanism 203 of the I/O device control unit 202 discriminates whether the target of the I/O operation is an I/O device having the same protocol as that supported in the subsystem 200 or a different I/O device.
【0036】(3) 入出力操作対象がプロトコルの異なる
入出力装置1の場合には,入出力装置制御部202の排
他環境作成依頼機構204により,ホストシステム10
0に対してシステム間通信回線4を使用し,排他環境の
作成を依頼する。(3) When the input/output operation target is an input/output device 1 with a different protocol, the exclusive environment creation request mechanism 204 of the input/output device control unit 202 requests the host system 10
0 is requested to create an exclusive environment using the inter-system communication line 4.
【0037】ここでは,ホストシステム100のOSの
管理サーバにデータセットの排他環境作成とエクステン
ト情報等の通知を依頼する。
(4) サブシステム200からの依頼を受けて,ホストシ
ステム100の排他環境作成機構101が入出力操作に
必要な排他環境を作成する。Here, a request is made to the management server of the OS of the host system 100 to create an exclusive environment for the data set and to notify extent information, etc. (4) In response to the request from the subsystem 200, the exclusive environment creating mechanism 101 of the host system 100 creates an exclusive environment necessary for input/output operations.
【0038】ここでは,ホストシステム100のOSの
管理サーバから通知されたエクステント情報と利用者の
指定したボリューム通番を使用してデータセットに対す
るアクセス環境を開設する。また,データセットの内容
を相対ブロック番号で指定できるようにする。Here, an access environment for the data set is established using the extent information notified by the management server of the OS of the host system 100 and the volume sequence number specified by the user. Also, the contents of the data set can be specified by relative block numbers.
【0039】(5) 次に,サブシステム200の入出力装
置制御部202のエクステント情報通知依頼機構205
により,ホストシステム100に対してシステム間通信
回線4を使用し,入出力操作に必要なエクステント情報
の通知を依頼する。(5) Next, the extent information notification request mechanism 205 of the input/output device control unit 202 of the subsystem 200
In this way, the host system 100 is requested to notify extent information required for input/output operations using the inter-system communication line 4 .
【0040】通知を依頼するエクステント情報とは,例
えばエクステント(開始CCHH,終了CCHH:CC
はシリンダ番号,HHはヘッド番号),ブロック長,レ
コード長,レコード形式(VB等),ファイル編成(P
O,PS)等である。The extent information to be notified is, for example, the extent (start CCHH, end CCHH: CC
is the cylinder number, HH is the head number), block length, record length, record format (VB, etc.), file organization (P
O, PS), etc.
【0041】(6) サブシステム200からの依頼を受け
て,ホストシステム100のエクステント情報通知機構
102は,サブシステム200に対してシステム間通信
回線4を使用し,入出力操作に必要なエクステント情報
を通知する。(6) Upon receiving a request from the subsystem 200, the extent information notification mechanism 102 of the host system 100 uses the inter-system communication line 4 to notify the subsystem 200 of the extent information required for the input/output operation.
【0042】(7) 次に,サブシステム200において,
入出力要求受付機構207に入出力の要求(利用者から
のアクセス要求)が受け付けられる。この入出力要求で
は,サブシステム200のディスクが対象の場合とは異
なる関数を使用することで,ホストシステム100配下
のDASDであることを識別する。ここでは,アクセス
種別(read/write)と相対ブロック番号を指
定して,アクセスを要求する。(7) Next, in the subsystem 200,
An input/output request (access request from a user) is received by the input/output request receiving mechanism 207. This input/output request uses a function different from that used when the target is a disk in the subsystem 200, thereby identifying it as a DASD under the control of the host system 100. Here, the access type (read/write) and the relative block number are specified to request access.
【0043】(8) 入出力要求制御部208の入出力装置
判別機構209により,入出力要求の対象がサブシステ
ム200内でサポートしているプロトコルと同じ入出力
装置か異なる入出力装置か判別する。(8) The I/O device discrimination mechanism 209 of the I/O request control unit 208 discriminates whether the target of the I/O request is an I/O device having the same protocol as that supported in the subsystem 200 or a different I/O device.
【0044】(9) 入出力要求対象がプロトコルの異なる
入出力装置の場合には,(6) で通知されたエクステント
情報をもとにして,入出力要求制御部208のコマンド
作成機構210により,プロトコル変換装置3で変換可
能な形式の入出力要求コマンドを作成する。(9) If the input/output request target is an input/output device with a different protocol, the command creation mechanism 210 of the input/output request control unit 208 creates an input/output request command in a format that can be converted by the protocol conversion device 3 based on the extent information notified in (6).
【0045】サブシステム200の内蔵ディスク(SC
SIインタフェース)に対するアクセス要求時に使用す
る制御表に,ホストシステム100の配下のDASD用
のCCW情報(seek,search,read/w
riteのコマンド)を設定し,BMCアダプタ(プロ
トコル変換装置3)にアクセスを依頼する。The internal disk (SC) of the subsystem 200
The control table used when requesting access to the SI interface is used to store CCW information (seek, search, read/write) for the DASD under the host system 100.
rite command) and requests the BMC adapter (protocol converter 3) to access.
【0046】(10) コマンド作成機構210で作成した
入出力要求コマンドを使用し,プロトコル変換装置3経
由で入出力装置に対する直接入出力操作要求を実行す
る。なお,入出力操作要求コマンドは,プロトコル変換
装置3により,入出力装置1と同じプロトコルに変換さ
れる。(10) Using the I/O request command created by the command creation mechanism 210, a direct I/O operation request is executed on the I/O device via the protocol converter 3. The I/O operation request command is converted by the protocol converter 3 into the same protocol as that of the I/O device 1.
【0047】必要に応じて,(7) から(10)の処理動作を
繰り返す。
(11) 最後に,サブシステム200において,入出力操
作要求受付機構201に入出力操作終了要求(利用者か
らの入出力操作対象のクローズ要求)が受け付けられ
る。If necessary, the processing operations from (7) to (10) are repeated. (11) Finally, in the subsystem 200, the I/O operation request acceptance mechanism 201 accepts an I/O operation end request (a request from the user to close the I/O operation target).
【0048】オープン要求と同様に,サブシステム20
0のディスクが対象の場合とは異なる関数を使用するこ
とで,ホストシステム100のDASDが対象であるこ
とを識別する。Similar to the open request, the subsystem 20
By using a function different from that used when the target disk is a DASD of the host system 100, the target disk is identified.
【0049】(12) 入出力要求制御部208の入出力装
置判別機構209により,入出力要求の対象がサブシス
テム200内でサポートしているプロトコルと同じ入出
力装置か,異なる入出力装置か判別する。(12) The I/O device discrimination mechanism 209 of the I/O request control unit 208 discriminates whether the target of the I/O request is an I/O device having the same protocol as that supported in the subsystem 200 or a different I/O device.
【0050】(13) 入出力操作対象がプロトコルの異な
る入出力装置の場合には,入出力装置制御部202の排
他環境解放依頼機構206により,ホストシステム10
0に対してシステム間通信回線4を使用し,排他環境の
解放を依頼する。ここでは,ホストシステム100のO
Sの管理サーバに排他環境の削除を依頼する。(13) When the input/output operation target is an input/output device with a different protocol, the exclusive environment release request mechanism 206 of the input/output device control unit 202
The host system 100 uses the inter-system communication line 4 to request the release of the exclusive environment.
A request is made to the management server of S to delete the exclusive environment.
【0051】(14) サブシステム200からの依頼を受
けて,ホストシステム100の排他環境解放機構103
が入出力操作に使用した排他環境を解放する。ここで
は,データセットに対するアクセス環境を削除する。(14) Upon receiving a request from the subsystem 200, the exclusive environment release mechanism 103 of the host system 100
Releases the exclusive environment used for I/O operations. This deletes the access environment for the dataset.
【0052】次に,具体例を図2〜図4に示す例に従っ
て説明する。この具体例は,後述する図5,図6の例で
も同様に適用される。図2は,入出力装置1のCKD−
DASDを示す図であり,例えば,ボリューム通番「V
OLSER:USER01」の開始CCHHがC1H1
で,終了CCHHがC1H2のエクステントにおけるブ
ロック3,4の2ブロックのREADを行うとする。Next, a specific example will be described with reference to the examples shown in Figures 2 to 4. This specific example is similarly applied to the examples shown in Figures 5 and 6 described later.
FIG. 1 shows a DASD. For example, the volume serial number "V
The start CCHH of "OLSER:USER01" is C1H1
Now, assume that the end CCHH performs a READ of two blocks, blocks 3 and 4, in the extent of C1H2.
【0053】図3(A)は,アクセスのための処理手順
例を示し,図3(B)はアクセスのための処理手順にお
けるファイル管理部(以下,FILEという)が提供す
る関数のインタフェースと分散データ管理部(以下,D
DMという)での処理を示す図である。ここでの関数
は,利用者が使用するものとは別のものである。FIL
EおよびDDMは,図1に示す入出力操作要求受付機構
201と入出力要求受付機構207および入出力装置制
御部202と入出力要求制御部208等に対応する。な
お,内部における処理分担は設計的事項であり,任意に
変更が可能である。FIG. 3A shows an example of a processing procedure for access, and FIG. 3B shows the interface of the functions provided by the file management unit (hereinafter, referred to as FILE) and the distributed data management unit (hereinafter, referred to as D
This is a diagram showing the processing in the FIL DM. The functions here are different from those used by the user.
1. The internal division of processing is a design item and can be changed as desired.
【0054】図3(A)に示すように,利用者からの入
出力操作要求に対して,FILEのオープン関数()
により,データセットアクセスの環境開設の要求が通知
され,これを受けてDDMでは環境開設()が行われ
る。オープン関数()では,アクセスするデータセッ
トのボリューム通番:USER01,エクステント開始
CCHH:C1H1および終了CCHH:C1H2,そ
の他の情報を指定する。環境開設()では,エクステ
ント情報域として,相対ブロック番号:0〜19,開始
CCHH:C1H1,その他の環境を作成する(図3
(B))。As shown in FIG. 3A, in response to an input/output operation request from a user, the open function () of FILE is executed.
A request to open an environment for accessing a data set is notified by this, and in response, the DDM performs environment opening (). The open function () specifies the volume sequence number of the data set to be accessed: USER01, the extent start CCHH: C1H1 and end CCHH: C1H2, and other information. The environment opening () creates the relative block number: 0-19, start CCHH: C1H1, and other environment information as the extent information field (see FIG. 3).
(B)).
【0055】次に,アクセス関数()により,ブロッ
クアクセスが通知され,これを受けてDDMでは,チャ
ネルコマンドワード(以下,CCWという)の作成
()が行われ,作成したCCWをプロトコル変換装置
3(BMCアダプタ)へ発行する。アクセス関数()
では,アクセス操作オプションとしてREAD,ブロッ
ク情報として相対開始ブロック番号:3,連続ブロック
数:2,その他の情報を指定する。CCW作成()で
は,I/Oプログラム情報域に,1.SEEK(HEA
D移動),2.SEARCH ID(レコード位置検
索),3.READDATA(データ読込)のCCW情
報を設定する。Next, the block access is notified by the access function (), and in response to this, the DDM creates a channel command word (hereafter referred to as CCW) (), and issues the created CCW to the protocol conversion device 3 (BMC adapter).
In the access operation option, READ is specified, and as block information, the relative start block number: 3, the number of consecutive blocks: 2, and other information are specified. In the CCW creation(), 1. SEEK (HEA
The following CCW information is set: 1. SET D (movement), 2. SEARCH ID (record position search), and 3. READ DATA (read data).
【0056】また,クローズ関数()により,データ
セットアクセス環境閉鎖が通知されると,DDMでは,
環境閉鎖()を行う。図4は,図1に示すコマンド作
成機構210が行うCCW作成において,I/Oプログ
ラム情報域に設定する2ブロックREAD時の情報の例
を示す図である。Furthermore, when the data set access environment closure is notified by the close function (), the DDM:
4 is a diagram showing an example of information set in the I/O program information area during a two-block READ in CCW creation performed by the command creation mechanism 210 shown in FIG.
【0057】CCW情報は,DOPD0,DOPD1,
DOPD2,…のコマンド情報列から構成される。DO
PD0では,SEEKデータと,SEEKのCCWとが
指定される。SEEKデータでは,ディスクのヘッドを
移動させるCCHHが指定される。DOPD1では,S
EARCH IDデータを示すIDデータ・アドレス
と,SEARCH IDのCCWとが指定される。SE
ARCH IDデータでは,ディスクのヘッドを移動さ
せるCCHHと,レコード位置が指定される。以下のD
OPD2では,図示のようにユーザ指定バッファを指定
するためのアドレス情報や,READコマンドのCCW
が指定される。このCCWには,READDATAのコ
マンドコード,ブロック数−1の値,転送データ長(ブ
ロック長)等が含まれる。CCW information is DOPD0, DOPD1,
It is composed of a command information sequence of DO, DO, PD2, ...
In PD0, SEEK data and CCW of SEEK are specified. In the SEEK data, CCHH for moving the disk head is specified. In DOPD1, S
The ID data address indicating the SEARCH ID data and the CCW of the SEARCH ID are specified.
In the ARCH ID data, the CCHH to which the disk head is moved and the record position are specified.
In OPD2, as shown in the figure, address information for specifying a user-specified buffer and CCW of the READ command are
This CCW includes the READ DATA command code, the number of blocks minus 1, the transfer data length (block length), and so on.
【0058】このI/Oプログラム情報域をもとに,入
出力要求制御部208がSCSIインタフェースに基づ
くプロトコル変換装置3に対するI/O命令を発行する
と,プロトコル変換装置3は,このI/Oプログラム情
報域の情報から,BMCインタフェースのプロトコルに
対応した変換制御を行い,入出力制御装置2を介して入
出力装置1に対する入出力を実行する。なお,図4に示
すような情報があれば,プロトコル変換装置3において
必要なプロトコル変換を行うことは,マイクロプログラ
ム制御等により容易に実現できるので,これ以上の詳し
い説明を省略する。次に,ホストシステム100からサ
ブシステム200へ多量データを高速に転送する場合の
実施例を説明する。[0058] When the input/output request control unit 208 issues an I/O command based on the SCSI interface to the protocol conversion device 3 based on this I/O program information area, the protocol conversion device 3 performs conversion control corresponding to the protocol of the BMC interface from the information in this I/O program information area, and executes input/output to the input/output device 1 via the input/output control device 2. Note that with the information shown in Figure 4, the necessary protocol conversion in the protocol conversion device 3 can be easily realized by microprogram control or the like, so further detailed explanation will be omitted. Next, an embodiment in which a large amount of data is transferred at high speed from the host system 100 to the subsystem 200 will be described.
【0059】図5は,本発明を適用する計算機システム
の一実施例を示すブロック構成図である。この例では,
図1に示す各処理部に加えて,ホストシステム100に
おいて,高速データ転送要求の受け付けを行う高速デー
タ転送受付機構113と,入出力装置1に対する入出力
操作を行う入出力操作機構111と,サブシステム20
0に対して転送データの受信を依頼する転送データ受信
依頼機構112とを有し,サブシステム200におい
て,ホストシステム100からの高速データ転送要求の
受け付けを行う高速データ転送受付機構211と,ホス
トシステム100に対してデータ転送の完了を通知する
データ転送完了通知機構212とを有する。FIG. 5 is a block diagram showing an embodiment of a computer system to which the present invention is applied. In this example,
In addition to the processing units shown in FIG. 1, the host system 100 includes a high-speed data transfer reception mechanism 113 that receives high-speed data transfer requests, an input/output operation mechanism 111 that performs input/output operations for the input/output device 1, and a subsystem 20.
The subsystem 200 has a transfer data reception request mechanism 112 that requests the host system 100 to receive transfer data, and in the subsystem 200, a high-speed data transfer acceptance mechanism 211 that accepts high-speed data transfer requests from the host system 100, and a data transfer completion notification mechanism 212 that notifies the host system 100 of the completion of data transfer.
【0060】次に,図5に示す各部の処理動作を説明す
る。図5中,括弧を付した番号(1)〜(23)は,以下に説
明する処理動作の順序を表す番号に対応する。
(1) まず,ホストシステム100において,高速データ
転送受付機構113が高速データ転送の要求を受け付け
る。Next, the processing operations of each unit shown in Fig. 5 will be explained. In Fig. 5, the numbers in parentheses (1) to (23) correspond to the numbers indicating the order of the processing operations explained below. (1) First, in the host system 100, the high-speed data transfer acceptance mechanism 113 accepts a request for high-speed data transfer.
【0061】(2) 高速データ転送の要求に対し,排他環
境作成機構101により,転送データを格納する領域の
確保と排他環境の作成を行う。
(3) 入出力操作機構111により,転送データを入出力
装置1に格納するための入出力操作を行う。(2) In response to a request for high-speed data transfer, the exclusive environment creating mechanism 101 secures an area for storing the transfer data and creates an exclusive environment. (3) The input/output operation mechanism 111 performs input/output operations for storing the transfer data in the input/output device 1.
【0062】(4) 入出力操作完了後,排他環境解放機構
103により,排他環境作成機構101で構成した排他
環境を解放する。
(5) 次に,転送データ受信依頼機構112により,シス
テム間通信回線4を使用して,サブシステム200に対
し転送データのエクステント情報の通知と転送データの
受信依頼を行う。(4) After the I/O operation is completed, the exclusive environment release mechanism 103 releases the exclusive environment created by the exclusive environment creation mechanism 101. (5) Next, the transfer data reception request mechanism 112 uses the inter-system communication line 4 to notify the subsystem 200 of the extent information of the transfer data and to request it to receive the transfer data.
【0063】(6) ホストシステム100から依頼を受け
たサブシステム200において,高速データ転送受付機
構211が高速データ転送の要求を受け付け,入出力操
作要求受付機構201に対して入出力装置1の入出力操
作要求(オープン要求)を行う。(6) In the subsystem 200 which has received a request from the host system 100, the high-speed data transfer acceptance mechanism 211 accepts the request for high-speed data transfer, and issues an I/O operation request (open request) for the I/O device 1 to the I/O operation request acceptance mechanism 201.
【0064】(7) 入出力操作要求受付機構201が入出
力操作要求(オープン要求)を受け付けると,入出力装
置制御部202に制御を渡す。
(8) 入出力装置制御部202の入出力装置判別機構20
3により,入出力操作の対象がサブシステム200内で
サポートしているプロトコルと同じ入出力装置か,異な
る入出力装置かの判定が行われる。転送データは,ホス
トシステム100と同じプロトコルの入出力装置1に格
納されているため,サブシステム200とは異なるプロ
トコルの入出力装置である。(7) When the I/O operation request receiving mechanism 201 receives an I/O operation request (open request), it passes control to the I/O device control mechanism 202.
3 judges whether the target of the input/output operation is an input/output device having the same protocol as that supported in the subsystem 200 or a different input/output device. Since the transfer data is stored in the input/output device 1 having the same protocol as the host system 100, it is an input/output device having a different protocol from that of the subsystem 200.
【0065】(9) プロトコルが異なることを検出する
と,入出力装置制御部202の排他環境作成依頼機構2
04により,システム間通信回線4を使用して,ホスト
システム100に排他環境の作成を依頼する。(9) When it is detected that the protocols are different, the exclusive environment creation request mechanism 2 of the input/output device control unit 202
In step 04, a request is made to the host system 100 via the inter-system communication line 4 to create an exclusive environment.
【0066】(10) サブシステム200から依頼を受け
たホストシステム100は,排他環境作成機構101が
排他環境の作成を行う。
(11) 次に,サブシステム200では,入出力装置制御
部202のエクステント情報通知依頼機構205より,
ホストシステム100に対してシステム間通信回線4を
使用し,入出力操作に必要なエクステント情報の通知を
依頼する。(10) In the host system 100 that has received the request from the subsystem 200, the exclusive environment creating mechanism 101 creates an exclusive environment. (11) Next, in the subsystem 200, the extent information notification request mechanism 205 of the input/output device control unit 202
Using the inter-system communication line 4, the host system 100 is requested to notify extent information required for input/output operations.
【0067】(12) サブシステム200から依頼を受け
たホストシステム100では,エクステント情報通知機
構102より,サブシステム200に対してシステム間
通信回線4を使用し,排他環境作成機構101で確保し
た領域のエクステント情報の通知を依頼する。[0081] (12) In the host system 100 that has received the request from the subsystem 200 , the extent information notifying mechanism 102 uses the inter-system communication line 4 to request the subsystem 200 to notify it of the extent information of the area secured by the exclusive environment creating mechanism 101 .
【0068】(13) 次に,サブシステム200におい
て,高速データ転送受付機構113が入出力要求受付機
構207に対して,転送データを入出力装置1から受信
するための入出力要求を行う。[0081] (13) Next, in the subsystem 200 , the high-speed data transfer acceptance mechanism 113 makes an I/O request to the I/O request acceptance mechanism 207 to receive the transfer data from the I/O device 1 .
【0069】(14) 入出力要求受付機構207が入出力
装置1に対する入出力要求を受け付け,入出力要求制御
部208に制御を渡す。
(15) 入出力要求制御部208の入出力装置判別機構2
09により,入出力要求の対象がサブシステム200内
でサポートしているプロトコルと同じ入出力装置か,異
なる入出力装置かの判別が行われる。転送データは,ホ
ストシステム100と同じプロトコルの入出力装置1に
格納されているため,サブシステム200とは異なるプ
ロトコルの入出力装置である。(14) The I/O request acceptance mechanism 207 accepts an I/O request for the I/O device 1 and passes control to the I/O request control unit 208. (15) The I/O device discrimination mechanism 2
09, it is determined whether the target of the I/O request is an I/O device having the same protocol as that supported in the subsystem 200 or a different I/O device. Since the transfer data is stored in the I/O device 1 having the same protocol as the host system 100, it is an I/O device having a different protocol from that of the subsystem 200.
【0070】(16) 入出力要求制御部208のコマンド
作成機構210により,入出力要求とエクステント情報
をもとにプロトコル変換装置3で変換可能な形式の入出
力要求コマンドを作成する。(16) The command creation mechanism 210 of the input/output request control unit 208 creates an input/output request command in a format that can be converted by the protocol converter 3 based on the input/output request and the extent information.
【0071】(17) サブシステム200は,コマンド作
成機構210で作成した入出力操作要求コマンドを使用
して,プロトコル変換装置3経由で入出力装置1に対す
る直接入出力操作要求を実行する。なお,入出力操作要
求コマンドは,プロトコル変換装置3において,入出力
装置1と同じプロトコルに変換される。(17) The subsystem 200 executes a direct I/O operation request to the I/O device 1 via the protocol converter 3, using the I/O operation request command created by the command creation mechanism 210. The I/O operation request command is converted by the protocol converter 3 into the same protocol as that of the I/O device 1.
【0072】(18) 転送データの入出力装置1からの受
信を完了した後,サブシステム200において,高速デ
ータ転送受付機構113が入出力操作要求受付機構20
1に対して入出力装置1の入出力操作終了要求(クロー
ズ要求)を行う。(18) After the transfer data is completely received from the I/O device 1, the high-speed data transfer acceptance mechanism 113 in the subsystem 200 transfers the I/O operation request acceptance mechanism 20
1 to make a request to terminate the I/O operation of I/O device 1 (close request).
【0073】(19) 入出力操作要求受付機構201が入
出力操作終了要求(クローズ要求)を受け付けると,入
出力装置制御部202に制御を渡す。
(20) 入出力装置制御部202の入出力判別機構203
により,入出力操作の対象がサブシステム200内でサ
ポートしているプロトコルと同じ入出力装置か,異なる
入出力装置かの判定が行われる。転送データは,ホスト
システム100と同じプロトコルの入出力装置1に格納
されているため,サブシステム200とは異なるプロト
コルの入出力装置である。(19) When the I/O operation request receiving mechanism 201 receives an I/O operation end request (close request), it passes control to the I/O device control mechanism 202. (20) The I/O determination mechanism 203 of the I/O device control mechanism 202
This determines whether the target of the input/output operation is an input/output device with the same protocol as that supported in the subsystem 200 or a different one. Since the transfer data is stored in the input/output device 1 with the same protocol as the host system 100, it is an input/output device with a different protocol from that of the subsystem 200.
【0074】(21) 入出力装置制御部202の排他環境
解放依頼機構206より,ホストシステム100に対し
てシステム間通信回線4を使用し,排他環境の解放を依
頼する。(21) The exclusive environment release request mechanism 206 of the input/output device control unit 202 uses the inter-system communication line 4 to request the host system 100 to release the exclusive environment.
【0075】(22) サブシステム200より依頼を受け
たホストシステム100は,排他環境解放機構103が
排他環境の解放を行う。
(23) データ転送完了通知機構212により,ホストシ
ステム100に対してシステム間通信回線4を使用し,
データ転送が完了したことを通知する。(22) In the host system 100 that has received the request from the subsystem 200, the exclusive environment release mechanism 103 releases the exclusive environment. (23) The data transfer completion notification mechanism 212 uses the inter-system communication line 4 to notify the host system 100.
Notifies that data transfer is complete.
【0076】次に,サブシステム200からホストシス
テム100へ多量データの高速転送を行う場合の実施例
を説明する。図6は,本発明を適用する計算機システム
の一実施例を示すブロック構成図である。この例では,
図1に示す各処理部に加えて,ホストシステム100に
おいて,高速データ転送要求の受け付けを行う高速デー
タ転送受付機構113と,入出力装置1に対する入出力
操作を行う入出力操作機構111と,サブシステム20
0に対してデータ転送の完了を通知するデータ転送完了
通知機構114とを有し,サブシステム200におい
て,高速データ転送要求の受け付けを行う高速データ転
送受付機構211と,サブシステム200内部でホスト
システム100に対して転送データの受信を依頼する転
送データ受信依頼機構213とを有していいる。Next, an embodiment in which a large amount of data is transferred at high speed from the subsystem 200 to the host system 100 will be described. FIG. 6 is a block diagram showing an embodiment of a computer system to which the present invention is applied. In this example,
In addition to the processing units shown in FIG. 1, the host system 100 includes a high-speed data transfer reception mechanism 113 that receives high-speed data transfer requests, an input/output operation mechanism 111 that performs input/output operations for the input/output device 1, and a subsystem 20.
The subsystem 200 has a data transfer completion notification mechanism 114 that notifies the host system 100 of the completion of data transfer, and in the subsystem 200, a high-speed data transfer acceptance mechanism 211 that accepts high-speed data transfer requests, and a transfer data reception request mechanism 213 within the subsystem 200 that requests the host system 100 to receive the transfer data.
【0077】次に,図6に示す各部の処理動作を説明す
る。図6中,括弧を付した番号(1)〜(21)は,以下に説
明する処理動作の順序を表す番号に対応する。
(1) まず最初に,サブシステム200において,高速デ
ータ転送受付機構211が高速データ転送の要求を受け
付け,入出力操作要求受付機構201に対して入出力装
置1の入出力操作要求(オープン要求)を行う。Next, the processing operations of each part shown in Fig. 6 will be explained. In Fig. 6, the numbers in parentheses (1) to (21) correspond to the numbers indicating the order of the processing operations explained below. (1) First, in the subsystem 200, the high-speed data transfer acceptance mechanism 211 accepts a request for high-speed data transfer, and issues an I/O operation request (open request) for the I/O device 1 to the I/O operation request acceptance mechanism 201.
【0078】(2) 次に,入出力操作要求受付機構201
が入出力操作要求(オープン要求)を受け付け,入出力
装置制御部202に制御を渡す。
(3) 入出力装置制御部202の入出力装置判別機構20
3により,入出力操作の対象がサブシステム200内で
サポートしているプロトコルと同じ入出力装置か,異な
る入出力装置かの判定が行われる。転送データは,ホス
トシステム100と同じプロトコルの入出力装置1に格
納するため,サブシステム200とは異なるプロトコル
の入出力装置である。(2) Next, the I/O operation request receiving mechanism 201
accepts an I/O operation request (open request) and passes control to the I/O device control unit 202.
3 judges whether the target of the input/output operation is an input/output device having the same protocol as that supported in the subsystem 200 or a different input/output device. The transfer data is stored in the input/output device 1 having the same protocol as the host system 100, so that the input/output device 1 has a different protocol from that of the subsystem 200.
【0079】(4) 入出力装置制御部202の排他環境作
成依頼機構204により,システム間通信回線4を使用
して,ホストシステム100に転送データを格納するた
めの領域の確保と排他環境の作成を依頼する。(4) The exclusive environment creation request mechanism 204 of the input/output device control unit 202 uses the inter-system communication line 4 to request the host system 100 to reserve an area for storing the transfer data and to create an exclusive environment.
【0080】(5) サブシステム200から依頼を受けた
ホストシステム100は,転送データを格納するための
領域の確保と排他環境作成機構101が排他環境の作成
を行う。(5) Upon receiving the request from the subsystem 200, the host system 100 secures an area for storing the transfer data, and the exclusive environment creating mechanism 101 creates an exclusive environment.
【0081】(6) 次に,サブシステム200では,入出
力装置制御部202のエクステント情報通知依頼機構2
05より,ホストシステム100に対してシステム間通
信回線4を使用し,入出力操作に必要なエクステント情
報の通知を依頼する。(6) Next, in the subsystem 200, the extent information notification request mechanism 2 of the input/output device control unit 202
From 05, a request is made to the host system 100 via the inter-system communication line 4 to notify extent information required for input/output operations.
【0082】(7) サブシステム200から依頼を受けた
ホストシステム100では,エクステント情報通知機構
102により,サブシステム200に対してシステム間
通信回線4を使用し,排他環境作成機構101の確保し
た領域のエクステント情報の通知を行う。(7) In the host system 100 that has received the request from the subsystem 200, the extent information notifying mechanism 102 uses the inter-system communication line 4 to notify the subsystem 200 of the extent information of the area secured by the exclusive environment creating mechanism 101.
【0083】(8) 次に,サブシステム200において,
高速データ転送受付機構113が入出力要求受付機構2
07に対して,転送データを入出力装置1に格納するた
めの入出力要求を行う。(8) Next, in the subsystem 200,
The high-speed data transfer reception mechanism 113 receives an input/output request from the input/output request reception mechanism 2.
07 sends an input/output request to store the transfer data in input/output device 1.
【0084】(9) 入出力要求受付機構207が入出力装
置1に対する入出力要求を受け付け,入出力要求制御部
208に制御を渡す。
(10) 入出力要求制御部208の入出力装置判別機構2
09により,入出力要求の対象がサブシステム200内
でサポートしているプロトコルと同じ入出力装置か,異
なる入出力装置かの判別が行われる。転送データは,ホ
ストシステム100と同じプロトコルの入出力装置1に
格納するため,サブシステム200とは異なるプロトコ
ルの入出力装置である。(9) The I/O request acceptance mechanism 207 accepts an I/O request for the I/O device 1 and passes control to the I/O request control unit 208. (10) The I/O device discrimination mechanism 2
09, it is determined whether the target of the I/O request is an I/O device with the same protocol as that supported in the subsystem 200 or a different I/O device. The transfer data is stored in an I/O device 1 with the same protocol as the host system 100, so that the I/O device has a different protocol from that of the subsystem 200.
【0085】(11) 入出力要求制御部208のコマンド
作成機構210により,入出力要求とエクステント情報
をもとにプロトコル変換装置3で変換可能な形式の入出
力要求コマンドを作成する。(11) The command creation mechanism 210 of the input/output request control unit 208 creates an input/output request command in a format that can be converted by the protocol converter 3 based on the input/output request and the extent information.
【0086】(12) サブシステム200は,コマンド作
成機構210で作成した入出力操作要求コマンドを使用
して,プロトコル変換装置3経由で入出力装置1に対す
る直接入出力操作要求を実行する。なお,入出力操作要
求コマンドは,プロトコル変換装置3において,入出力
装置1と同じプロトコルに変換される。(12) The subsystem 200 executes a direct I/O operation request to the I/O device 1 via the protocol converter 3, using the I/O operation request command created by the command creation mechanism 210. The I/O operation request command is converted by the protocol converter 3 into the same protocol as that of the I/O device 1.
【0087】(13) 次に,サブシステム200におい
て,転送データ受信依頼機構213により,ホストシス
テム100に対してシステム間通信回線4を使用し,転
送データのエクステント情報の通知と転送データの受信
依頼を行う。(13) Next, in the subsystem 200, the transfer data reception request mechanism 213 uses the inter-system communication line 4 to notify the host system 100 of the extent information of the transfer data and to request the host system 100 to receive the transfer data.
【0088】(14) サブシステム200から依頼を受け
たホストシステム100において,高速データ転送受付
機構113が高速データ転送の要求を受け付ける。
(15) ホストシステム100の入出力操作機構111に
より,入出力装置1に格納された転送データを受信する
ために入出力操作を行う。(14) In the host system 100 which has received the request from the subsystem 200, the high-speed data transfer acceptance mechanism 113 accepts the request for high-speed data transfer. (15) The input/output operation mechanism 111 of the host system 100 performs an input/output operation to receive the transfer data stored in the input/output device 1.
【0089】(16) 転送データの受信が完了すると,デ
ータ転送完了通知機構114により,サブシステム20
0に対してシステム間通信回線4を使用し,データ転送
が完了したことを通知する。(16) When reception of the transfer data is completed, the data transfer completion notification mechanism 114 notifies the subsystem 20
0 via the inter-system communication line 4 that the data transfer has been completed.
【0090】(17) 次に,サブシステム200におい
て,高速データ転送受付機構211が入出力操作要求受
付機構201に対して入出力装置1の入出力操作終了要
求(クローズ要求)を行う。[0113] (17) Next, in the subsystem 200 , the high-speed data transfer acceptance mechanism 211 makes an I/O operation end request (close request) for the I/O operation request acceptance mechanism 201 .
【0091】(18) 入出力操作要求受付機構201が入
出力操作終了要求(クローズ要求)を受け付け,入出力
装置制御部202に制御を渡す。
(19) 入出力装置制御部202の入出力装置判別機構2
03により,入出力操作の対象がサブシステム200内
でサポートしているプロトコルと同じ入出力装置か,異
なる入出力装置かの判定が行われる。転送データを格納
した入出力装置1は,ホストシステム100と同じプロ
トコルの入出力装置である。(18) The I/O operation request receiving mechanism 201 receives the I/O operation end request (close request) and passes control to the I/O device control mechanism 202. (19) The I/O device discrimination mechanism 2
03, it is determined whether the target of the input/output operation is an input/output device having the same protocol as that supported in the subsystem 200 or a different input/output device. The input/output device 1 that stores the transfer data is an input/output device having the same protocol as that of the host system 100.
【0092】(20) 入出力装置制御部202の排他環境
解放依頼機構206より,ホストシステム100に対し
てシステム間通信回線4を使用し,排他環境の解放を依
頼する。(20) The exclusive environment release request mechanism 206 of the input/output device control unit 202 uses the inter-system communication line 4 to request the host system 100 to release the exclusive environment.
【0093】(21) サブシステム200から依頼を受け
たホストシステム100は,排他環境解放機構103が
排他環境の解放を行う。(21) In the host system 100 that has received the request from the subsystem 200, the exclusive environment release mechanism 103 releases the exclusive environment.
【0094】[0094]
【発明の効果】以上詳述したように,本発明によれば,
プロトコルの異なる複数システム間において,入出力装
置の共用を可能とし,入出力処理時間の短縮と入出力装
置と同じプロトコルの第1のシステムの負荷軽減を実現
することができる。As described above in detail, according to the present invention,
It is possible to share an I/O device between a plurality of systems using different protocols, thereby realizing a reduction in I/O processing time and a reduction in the load on a first system using the same protocol as the I/O device.
【0095】また,入出力装置に対する異種プロトコル
の複数システム間において,直接入力操作を可能とした
入出力装置を介してデータを受け渡すことにより,多量
データの転送処理時間の短縮を実現することができる。Furthermore, by transferring data between a plurality of systems using different protocols for input/output devices via an input/output device that allows direct input operations, the transfer processing time for large amounts of data can be reduced.
【図1】本発明の第1の構成例を示す図である。FIG. 1 is a diagram showing a first configuration example of the present invention.
【図2】実施例における入出力装置のアクセス対象の例
を示す図である。FIG. 2 is a diagram illustrating an example of an access target of an input/output device according to an embodiment.
【図3】実施例におけるアクセスのための手順例を示す
図である。FIG. 3 is a diagram showing an example of a procedure for access in an embodiment.
【図4】実施例におけるCCW情報の設定例を示す図で
ある。FIG. 4 is a diagram showing an example of setting CCW information in the embodiment.
【図5】本発明の第2の構成例を示す図である。FIG. 5 is a diagram showing a second configuration example of the present invention.
【図6】本発明の第3の構成例を示す図である。FIG. 6 is a diagram showing a third configuration example of the present invention.
【図7】従来技術を説明する図である。FIG. 7 is a diagram illustrating a conventional technique.
1a,1b,1c,1d,… 入出力装置 2 入出力制御装置 3 プロトコル変換装置 4 システム間通信回線 100 ホストシステム 101 排他環境作成機構 102 エクステント情報通知機構 103 排他環境解放機構 200 サブシステム 201 入出力操作要求受付機構 202 入出力装置制御部 203 入出力装置判別機構 204 排他環境作成依頼機構 205 エクステント情報通知依頼機構 206 排他環境解放依頼機構 207 入出力要求受付機構 208 入出力要求制御部 209 入出力装置判別機構 210 コマンド作成機構 1a, 1b, 1c, 1d, ... I/O device 2 I/O control device 3 Protocol conversion device 4 Inter-system communication line 100 Host system 101 Exclusive environment creation mechanism 102 Extent information notification mechanism 103 Exclusive environment release mechanism 200 Subsystem 201 I/O operation request acceptance mechanism 202 I/O device control unit 203 I/O device discrimination mechanism 204 Exclusive environment creation request mechanism 205 Extent information notification request mechanism 206 Exclusive environment release request mechanism 207 I/O request acceptance mechanism 208 I/O request control unit 209 I/O device discrimination mechanism 210 Command creation mechanism
フロントページの続き (56)参考文献 特開 平6−52087(JP,A) 特開 平3−201154(JP,A) 特開 平4−223518(JP,A) 特開 平6−44152(JP,A) 特開 平6−301607(JP,A) 特開 平6−332872(JP,A) 特開 平2−93971(JP,A) 特開 昭60−258670(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 13/10 - 13/14 G06F 13/36 - 13/38 Continued from the front page (56) References JP-A-6-52087 (JP, A) JP-A-3-201154 (JP, A) JP-A-4-223518 (JP, A) JP-A-6-44152 (JP, A) JP-A-6-301607 (JP, A) JP-A-6-332872 (JP, A) JP-A-2-93971 (JP, A) JP-A-60-258670 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 13/10 - 13/14 G06F 13/36 - 13/38
Claims (4)
力装置に対して所定のプロトコルでアクセスする第1の
システムと,入出力装置に対するプロトコルが前記第1
のシステムと異なる第2のシステムとを有し,前記第2
のシステムが前記第1のシステムの入出力装置に対して
直接入出力操作を可能とする入出力装置共用システムで
あって, 前記第2のシステム内部で入出力操作の要求を受け付け
たときに,入出力操作要求の対象が,第2のシステム内
でサポートしているプロトコルと同じ入出力装置か異な
る入出力装置かを判別し,プロトコルが異なる入出力装
置の場合には,対象入出力装置と同じプロトコルの前記
第1のシステムに対してアクセスに必要な環境の設定と
アクセスに必要なエクステント情報の通知を依頼し,必
要な情報を取得する入出力装置制御部と, 前記第2のシステム内部で入出力要求を受け付けたとき
に,入出力要求の対象が,第2のシステム内でサポート
しているプロトコルと同じ入出力装置か異なる入出力装
置かを判別し,プロトコルが異なる入出力装置の場合に
は,入出力要求と前記第1のシステムから取得した情報
をもとに入出力要求コマンドを作成し,第2のシステム
から前記入出力装置に対して直接入出力操作を実行する
入出力要求制御部と, 前記第1のシステム内部で,前記第2のシステムからの
依頼に応じて,前記第1のシステムと前記第2のシステ
ムとの間の通信回線を用いて,アクセスに必要な環境の
設定およびアクセスに必要なエクステント情報の通知を
行う手段と, 前記第2のシステムから前記入出力装置に対して直接入
出力操作を実行する際に,前記第1のシステムが使用す
るプロトコルへの変換を行うプロトコル変換装置とを具
備したことを特徴とする異種プロトコルの複数システム
間の入出力装置共用システム。[Claim 1] A first system that accesses one or more input/output devices using a predetermined protocol, and a protocol for the input/output devices that is the first
and a second system different from the first system,
an I/O device sharing system which enables a first system to perform an I/O operation directly on an I/O device of the first system, comprising: an I/O device control unit which, when an I/O operation request is received within the second system, determines whether the target of the I/O operation request is an I/O device having the same protocol as that supported within the second system or a different I/O device, and if the protocol is a different I/O device, requests the first system having the same protocol as the target I/O device to set an environment required for access and to notify the first system of extent information required for access, and obtains the required information; an I/O request control unit which, when an I/O request is received within the second system, determines whether the target of the I/O request is an I/O device having the same protocol as that supported within the second system or a different I/O device, and if the protocol is a different I/O device, creates an I/O request command based on the I/O request and information obtained from the first system, and executes an I/O operation directly on the I/O device from the second system; and within the first system, in response to a request from the second system, transfers information between the first system and the second system.
a means for setting an environment required for access and notifying extent information required for access using a communication line between the second system and the first system, and a protocol conversion device for converting to a protocol used by the first system when performing an I/O operation directly from the second system to the I/O device.
力装置に対して所定のプロトコルでアクセスする第1の
システムと,入出力装置に対するプロトコルが前記第1
のシステムと異なる第2のシステムとを有し,前記第2
のシステムが前記第1のシステムの入出力装置に対して
直接入出力操作を可能とする入出力装置共用システムで
あって, 前記第2のシステム内部で入出力操作要求を受け付ける
入出力操作要求受付手段と, 前記第2のシステム内部で入出力装置の制御を行う入出
力装置制御部と, 前記入出力装置制御部において,前記入出力操作要求受
付手段で受け付けた入出力操作要求の対象が,第2のシ
ステム内でサポートしているプロトコルと同じ入出力装
置か異なる入出力装置かを判別する入出力装置判別手段
と, 前記入出力装置制御部において,対象入出力装置のプロ
トコルが第2のシステムでサポートしているプロトコル
と異なる場合,対象入出力装置と同じプロトコルの前記
第1のシステムに対して対象入出力装置に関する排他環
境の作成を依頼する排他環境作成依頼手段と, 前記入出力装置制御部において,前記第1のシステムに
対してエクステント情報の通知を依頼するエクステント
情報通知依頼手段と, 前記入出力装置制御部において,前記第1のシステムに
対して排他環境の解放を依頼する排他環境解放依頼手段
と, 前記第2のシステム内部で入出力要求を受け付ける入出
力要求受付手段と, 前記第2のシステム内部で入出力要求の制御を行う入出
力要求制御部と, 前記入出力要求制御部において,前記入出力要求受付手
段で受け付けた入出力要求の対象が,第2のシステム内
でサポートしているプロトコルと同じ入出力装置か異な
る入出力装置かを判別する入出力装置判別手段と, 前記入出力要求制御部において,入出力要求とエクステ
ント情報をもとに入出力要求コマンドを作成するコマン
ド作成手段と, 前記第1のシステム内部で前記第2のシステムからの依
頼により排他環境を作成する排他環境作成手段と, 前記第1のシステム内部で前記第2のシステムからの依
頼により,前記第1のシステムと前記第2のシステムと
の間の通信回線を用いて,エクステント情報を通知する
エクステント情報通知手段と, 前記第1のシステム内部で前記第2のシステムからの依
頼により排他環境を解放する排他環境解放手段と, 前記第2のシステムから前記入出力装置に対して直接入
出力操作を実行する際に,前記第1のシステムが使用す
るプロトコルへの変換を行うプロトコル変換装置とを具
備したことを特徴とする異種プロトコルの複数システム
間の入出力装置共用システム。2. A method for accessing one or more input/output devices, a first system that accesses the input/output devices using a predetermined protocol, the protocol for the input/output devices being the first system.
and a second system different from the first system,
an I/O device sharing system which enables a second system to directly perform I/O operations on an I/O device of a first system, comprising: an I/O operation request receiving means for receiving an I/O operation request within the second system; an I/O device control unit which controls the I/O device within the second system; an I/O device discrimination means in the I/O device control unit for discriminating whether the target of the I/O operation request received by the I/O operation request receiving means is an I/O device having the same protocol as that supported within the second system or a different protocol; an exclusive environment creation request means in the I/O device control unit for requesting the first system having the same protocol as that of the target I/O device to create an exclusive environment for the target I/O device when the protocol of the target I/O device is different from the protocol supported by the second system; an extent information notification request means in the I/O device control unit for requesting the first system to notify the first system of extent information; an exclusive environment release request means in the I/O device control unit for requesting the first system to release the exclusive environment; an I/O request receiving means for receiving an I/O request within the second system; and an I/O request control unit which controls the I/O request within the second system. said I/O request control unit having an I/O device discrimination means for discriminating whether the target of the I/O request accepted by said I/O request acceptance means is an I/O device having the same protocol as that supported in the second system or a different protocol; said I/O request control unit having a command creation means for creating an I/O request command based on the I/O request and extent information; said exclusive environment creation means for creating an exclusive environment within said first system at the request of said second system; and said exclusive environment creation means for communicating between said first system and said second system at the request of said second system within said first system.
an extent information notifying means for notifying extent information using a communication line between the first system and the second system; an exclusive environment release means for releasing an exclusive environment within the first system upon request from the second system; and a protocol conversion device for converting to a protocol used by the first system when an I/O operation is directly performed from the second system to the I/O device.
トコルの複数システム間の入出力装置共用システムにお
いて, 前記第1のシステム内部で前記第2のシステムへの高速
データ転送要求の受け付けを行う高速データ転送受付手
段と, 前記第1のシステム内部で入出力装置に対する入出力操
作を行う入出力操作手段と, 前記第1のシステム内部で第2のシステムに対して転送
データの受信を依頼する転送データ受信依頼手段と, 前記第2のシステム内部で高速データ転送要求の受け付
けを行う高速データ転送受付手段と, 前記第2のシステム内部で第1のシステムに対してデー
タ転送の完了を通知するデータ転送完了通知手段とを具
備し, 前記第1のシステムは,前記高速データ転送受付手段に
より前記第1のシステムから前記第2のシステムに対す
る高速データ転送要求を受け付けた場合に,前記入出力
操作手段により前記入出力装置に一時的に転送データを
格納し,前記転送データ受信依頼手段により前記第2の
システムに高速データ転送要求を通知するよう構成さ
れ, 前記第2のシステムは,前記第1のシステムからの通知
を前記高速データ転送受付手段により受け付けると,前
記入出力装置制御部と前記入出力要求制御部とにより前
記入出力装置のデータを直接読み込み,前記データ転送
完了通知手段によりデータ転送の完了を前記第1のシス
テムに通知するよう構成されたことを特徴とする異種プ
ロトコルの複数システム間の入出力装置共用システム。[Claim 3] An I/O device sharing system among a plurality of systems using different protocols according to claim 1 or 2, comprising: high-speed data transfer accepting means for accepting a high-speed data transfer request to said second system within said first system; input/output operation means for performing I/O operations on an I/O device within said first system; transfer data reception requesting means for requesting the second system to receive transfer data within said first system; high-speed data transfer accepting means for accepting a high-speed data transfer request within said second system; and data transfer completion notifying means for notifying the first system of completion of data transfer within said second system, wherein when a high-speed data transfer request from said first system to said second system is accepted by said high-speed data transfer accepting means, said first system is configured to temporarily store the transfer data in said I/O device by said input/output operation means and notify said second system of the high-speed data transfer request by said transfer data reception requesting means, The second system is configured to, when it receives a notification from the first system via the high-speed data transfer receiving means, directly read the data from the I/O device via the I/O device control unit and the I/O request control unit, and notify the first system of the completion of the data transfer via the data transfer completion notification means.
トコルの複数システム間の入出力装置共用システムにお
いて, 前記第1のシステム内部で高速データ転送要求の受け付
けを行う高速データ転送受付手段と, 前記第1のシステム内部で入出力装置に対する入出力操
作を行う入出力操作手段と, 前記第1のシステム内部で前記第2のシステムに対して
データ転送の完了を通知するデータ転送完了通知手段
と, 前記第2のシステム内部で前記第1のシステムへの高速
データ転送要求の受け付けを行う高速データ転送受付手
段と, 前記第2のシステム内部で第1のシステムに対して転送
データの受信を依頼する転送データ受信依頼手段とを具
備し前記第2のシステムは,前記高速データ転送受付手
段により前記第2のシステムから前記第1のシステムに
対する高速データ転送要求を受け付けた場合に,前記入
出力装置制御部と前記入出力要求制御部とにより前記入
出力装置に一時的に転送データを格納し,前記転送デー
タ受信依頼手段により前記第1のシステムに高速データ
転送要求を通知するよう構成され, 前記第1のシステムは,前記第2のシステムからの通知
を前記高速データ転送受付手段により受け付けると,前
記入出力操作手段により前記入出力装置のデータを直接
読み込み,前記データ転送完了通知手段によりデータ転
送の完了を前記第2のシステムに通知するよう構成され
たことを特徴とする異種プロトコルの複数システム間の
入出力装置共用システム。[Claim 4] An I/O device sharing system among a plurality of systems using different protocols according to claim 1 or 2, comprising: high-speed data transfer accepting means for accepting a high-speed data transfer request within said first system; I/O operation means for performing I/O operations on an I/O device within said first system; data transfer completion notifying means for notifying said second system of completion of data transfer within said first system; high-speed data transfer accepting means for accepting a high-speed data transfer request to said first system within said second system; and transfer data reception requesting means for requesting the first system to receive transfer data within said second system, wherein said second system is configured, when a high-speed data transfer request from said second system to said first system is accepted by said high-speed data transfer accepting means, to temporarily store the transfer data in said I/O device by said I/O device control unit and said I/O request control unit, and to notify said first system of the high-speed data transfer request by said transfer data reception requesting means; an input/output device sharing system between multiple systems using different protocols, characterized in that, when the first system receives a notification from the second system via the high-speed data transfer receiving means, the first system directly reads the data of the input/output device via the input/output operation means, and notifies the second system of the completion of the data transfer via the data transfer completion notifying means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP31144294A JP3499938B2 (en) | 1994-12-15 | 1994-12-15 | A system for sharing I/O devices among systems with different protocols |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP31144294A JP3499938B2 (en) | 1994-12-15 | 1994-12-15 | A system for sharing I/O devices among systems with different protocols |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08166919A JPH08166919A (en) | 1996-06-25 |
JP3499938B2 true JP3499938B2 (en) | 2004-02-23 |
Family
ID=18017270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP31144294A Expired - Fee Related JP3499938B2 (en) | 1994-12-15 | 1994-12-15 | A system for sharing I/O devices among systems with different protocols |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3499938B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1376328A3 (en) | 1996-01-19 | 2006-04-19 | Hitachi, Ltd. | Storage system |
US5999930A (en) * | 1996-08-02 | 1999-12-07 | Hewlett-Packard Company | Method and apparatus for distributed control of a shared storage volume |
JP3565686B2 (en) * | 1997-08-01 | 2004-09-15 | 東京エレクトロンデバイス株式会社 | Computer storage device and conversion system |
-
1994
- 1994-12-15 JP JP31144294A patent/JP3499938B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH08166919A (en) | 1996-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0785500B1 (en) | Storage device and method for data sharing | |
JP4303688B2 (en) | Data access response system and method for accessing data access response system | |
US5619690A (en) | Computer system including a computer which requests an access to a logical address in a secondary storage system with specification of a local address in the secondary storage system | |
EP0869438B1 (en) | Heterogeneous computer system, heterogeneous input/output system and data back-up method for the systems | |
US6990536B2 (en) | Method for enabling overlapped input/output requests to a logical device from multiple hosts with explicit allegiances | |
US6363385B1 (en) | Method and apparatus for making independent data copies in a data processing system | |
US5920893A (en) | Storage control and computer system using the same | |
US5073854A (en) | Data processing system with search processor which initiates searching in response to predetermined disk read and write commands | |
US20100332745A1 (en) | Automated on-line capacity expansion method for storage device | |
JP2002520691A (en) | Method and apparatus for storing different data structures | |
US6105076A (en) | Method, system, and program for performing data transfer operations on user data | |
JPS6243766A (en) | Control system for state of shared resources | |
JP2000347982A (en) | Recording medium recording program to be executed by information processor and computer | |
US7058692B2 (en) | Computer, computer system, and data transfer method | |
JP2002312125A (en) | Data transfer system between storage systems and method thereof | |
US5734918A (en) | Computer system with an input/output processor which enables direct file transfers between a storage medium and a network | |
JP3499938B2 (en) | A system for sharing I/O devices among systems with different protocols | |
JP2001228977A (en) | Storage device and access control method therefor | |
US6112278A (en) | Method to store initiator information for SCSI data transfer | |
JPH01140326A (en) | Magnetic disk device | |
JP3199816B2 (en) | High-speed file access control method and computer system | |
JPH0844652A (en) | Computer system and method of issuing input / output instructions | |
JPS60116061A (en) | Input/output processing system | |
JP2732951B2 (en) | Data transfer control method | |
JPH02236613A (en) | Disk sharing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20031125 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071205 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081205 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091205 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091205 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101205 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111205 Year of fee payment: 8 |
|
LAPS | Cancellation because of no payment of annual fees |