JP2778995B2 - Channel processing method - Google Patents

Channel processing method

Info

Publication number
JP2778995B2
JP2778995B2 JP1167637A JP16763789A JP2778995B2 JP 2778995 B2 JP2778995 B2 JP 2778995B2 JP 1167637 A JP1167637 A JP 1167637A JP 16763789 A JP16763789 A JP 16763789A JP 2778995 B2 JP2778995 B2 JP 2778995B2
Authority
JP
Japan
Prior art keywords
error
command
channel
input
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1167637A
Other languages
Japanese (ja)
Other versions
JPH0331954A (en
Inventor
和彦 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1167637A priority Critical patent/JP2778995B2/en
Publication of JPH0331954A publication Critical patent/JPH0331954A/en
Application granted granted Critical
Publication of JP2778995B2 publication Critical patent/JP2778995B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 I.実施例と第1図との対応関係 II.実施例の構成 III.実施例の動作 IV.実施例のまとめ V.発明の変形態様 発明の効果 〔概要〕 計算機システムにおいて、光伝送路を介して外部の入
出力装置を接続するようにしたチャネル処理方式に関
し、 中央処理装置の負担軽減を目的とし、 チャネル制御装置に接続されるチャネル装置に、伝送
路を介してエラー発生通知手段を有する中継装置、及び
入出力制御装置が接続されてチャネル制御装置から入出
力制御装置までを含む系を介してデータの入力または出
力を行うチャネル処理方式において、前記データの入力
または出力を行う命令の実行中にチャネル装置のエラー
情報要求手段がエラー発生の旨の通知を中継装置のエラ
ー発生通知手段から受信したとき該エラー情報要求手段
から中継装置のエラー情報送出手段に対してエラーの詳
細情報送信要求のコマンドを送出し、中継装置のエラー
情報送出手段がエラーの詳細情報送信要求のコマンドを
受信したとき該エラー情報送出手段からのエラーの詳細
情報を含むコマンドをチャネル装置に対して送り返し、
チャネル装置の詳細情報通知手段がエラーの詳細情報を
含むコマンドを受信したとき該詳細情報通知手段は当該
コマンドの内の少なくとも詳細情報を保持し且つチャネ
ル制御装置に対して詳細情報の受信を通知し、該詳細情
報の受信の通知を受けたチャネル制御装置が、チャネル
制御装置の上位装置に対して実行中の命令の終了割込み
を掛けるようにして構成した。
Detailed Description of the Invention [Table of Contents] Overview Industrial application field Conventional technology Problems to be solved by the invention Means to solve the problem Actions Embodiment I. Correspondence between the embodiment and FIG. 1 II. Configuration of the embodiment III. Operation of the embodiment IV. Summary of the embodiment V. Modifications of the invention Effects of the invention [Overview] In a computer system, a channel configured to connect an external input / output device via an optical transmission line Regarding the processing method, a relay device having an error occurrence notifying means via a transmission line and an input / output control device are connected to a channel device connected to the channel control device for the purpose of reducing the load on the central processing unit. In a channel processing method for inputting or outputting data through a system including a device to an input / output control device, an error of the channel device is executed during execution of an instruction for inputting or outputting the data. When the information requesting unit receives a notification of the occurrence of the error from the error occurrence notifying unit of the relay device, the error information requesting unit sends a command of an error detailed information transmission request to the error information sending unit of the relay device, When the error information sending means of the relay device receives the command of the error detailed information transmission request, sends back a command including the error detailed information from the error information sending means to the channel device,
When the detailed information notifying means of the channel device receives the command including the detailed information of the error, the detailed information notifying means holds at least the detailed information of the command and notifies the channel control device of the reception of the detailed information. The channel control device that has received the notification of the reception of the detailed information issues a termination interrupt of the instruction being executed to the higher-level device of the channel control device.

〔産業上の利用分野〕[Industrial applications]

本発明は、計算機システムにおいて、光伝送路を介し
て外部の入出力装置を接続するようにしたチャネル処理
方式に関するものである。
The present invention relates to a channel processing system for connecting an external input / output device via an optical transmission line in a computer system.

〔従来の技術〕[Conventional technology]

第8図(a)に、計算機システムの構成を示す。この
計算機システムは、中央処理装置(CPU)511,主記憶装
置(MSU)513,記憶制御装置(MCU)515,チャネル制御装
置(CHP)517及び複数のチャネル装置(CH)519を有す
る計算機本体510と、各チャネル装置519に接続されてい
る複数の入出力制御装置(IOC)521,523,525,・・・
と、各入出力制御装置に接続されたディスク装置531,磁
気テープ装置533,ディスプレイ端末535とを備えてい
る。
FIG. 8A shows the configuration of the computer system. This computer system includes a central processing unit (CPU) 511, a main storage unit (MSU) 513, a storage control unit (MCU) 515, a channel control unit (CHP) 517, and a plurality of channel units (CH) 519. And a plurality of input / output control devices (IOCs) 521, 523, 525,... Connected to each channel device 519.
And a disk device 531, a magnetic tape device 533, and a display terminal 535 connected to each input / output control device.

計算機本体510がディスク装置531等の入出力装置とデ
ータの授受を行う場合、計算機本体510内の中央処理装
置511は、チャネル制御装置517,チャネル装置519及び対
象となる入出力装置に対応した入出力制御装置を介して
指示やデータの授受を行う。
When the computer main body 510 transmits and receives data to and from an input / output device such as the disk device 531, the central processing unit 511 in the computer main body 510 includes an input / output device corresponding to the channel controller 517, the channel device 519, and the target input / output device. Instructions and data are transmitted and received via the output control device.

ところで、最近では、高速でかつ大容量の光伝送技術
の進歩に伴って、計算機システム内の伝送路を光伝送路
に置き換えることで、システム構成に柔軟性を持たせる
ことが可能となっている。
By the way, recently, with the progress of high-speed and large-capacity optical transmission technology, it is possible to give flexibility to the system configuration by replacing a transmission line in a computer system with an optical transmission line. .

例えば、第8図(b)に、計算機本体510と入出力装
置との接続を光伝送路を介して行った計算機システムの
構成を示す。この計算機システムは、同図(a)に示し
た計算機本体510と、シリアルの光信号とパラレルの電
気信号との相互変換を行う2つの通信装置611,613と、
入出力制御装置521等を備えている。計算機本体510内の
チャネル装置519は通信装置611に接続されており、この
通信装置611は光伝送路及び通信装置613を介して入出力
制御装置521に接続されている。
For example, FIG. 8B shows a configuration of a computer system in which the connection between the computer main body 510 and the input / output device is made via an optical transmission line. This computer system includes a computer main body 510 shown in FIG. 9A, two communication devices 611 and 613 for mutually converting between a serial optical signal and a parallel electric signal,
An input / output control device 521 and the like are provided. The channel device 519 in the computer main body 510 is connected to a communication device 611. The communication device 611 is connected to an input / output control device 521 via an optical transmission line and a communication device 613.

尚、第8図(a)に示した入出力制御装置523,525,デ
ィスク装置531,磁気テープ装置533,ディスプレイ端末53
5等も接続されているものとし、第8図(b)における
図示は省略した。
The input / output control devices 523 and 525, the disk device 531, the magnetic tape device 533, and the display terminal 53 shown in FIG.
5 are also connected, and illustration in FIG. 8B is omitted.

このように、光伝送路を介してディスク装置531等の
入出力装置を接続することで、入出力装置を任意の場所
に設置できるメリットがある。例えば、第8図(a)の
計算機システムでは計算機本体510と入出力制御装置521
等との間を最長100m程度のパラレルの信号線で接続する
必要があったが、同図(b)の計算機システムでは、計
算機本体510と入出力制御装置521との間を、数Km程度の
光ファイバ(シリアルの光伝送路)で接続することが可
能になる。従って、工場や研究所等を考えた場合、敷地
内の任意の場所に計算機本体510と入出力装置を分散し
て配置することができ、システム構成に柔軟性を持たせ
ることが可能になる。
As described above, by connecting the input / output device such as the disk device 531 via the optical transmission path, there is an advantage that the input / output device can be installed at an arbitrary place. For example, in the computer system of FIG. 8A, the computer main body 510 and the input / output control device 521
It was necessary to connect between the main unit 510 and the input / output control unit 521 by a parallel signal line of about 100 m at the maximum, but in the computer system of FIG. It becomes possible to connect with an optical fiber (serial optical transmission line). Therefore, when considering a factory or a laboratory, the computer main body 510 and the input / output devices can be dispersedly arranged at an arbitrary place on the site, and the system configuration can be made flexible.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

第8図(a)に示すようにチャネル装置519と入出力
制御装置521等を直接接続した場合には、入出力制御装
置521等はチャネル装置519からの入出力命令(I/O命
令)に対して動作する。従って、チャネル装置519は入
出力制御装置521等との間のどのシーケンスでエラーが
発生したかの情報あるいはそのときのインタフェースの
詳細な状態をログ情報として収集することができ、障害
原因を見つけることができる。
When the channel device 519 is directly connected to the input / output control device 521 or the like as shown in FIG. 8 (a), the input / output control device 521 or the like responds to an input / output command (I / O command) from the channel device 519. Works for Accordingly, the channel device 519 can collect information as to the sequence in which the error occurred between the input / output control device 521 and the like or the detailed status of the interface at that time as log information, and find the cause of the failure. Can be.

ところが、第8図(b)に示すようにチャネル装置51
9と入出力装置521等を通信装置611,613を介して接続し
た場合には、チャネル装置519が通信装置611,613を介し
て間接的にI/O命令を実行する。従って、このような接
続形態ではI/O命令実行中のエラー発生時に、通信装置6
13と入出力制御装置521等を接続する従来のインタフェ
ース上でのエラーか、あるいは光伝送路を介してインタ
フェース上でのエラーなのかを切り分けて、障害原因を
見つける必要がある。
However, as shown in FIG.
When the 9 and the input / output device 521 are connected via the communication devices 611 and 613, the channel device 519 indirectly executes the I / O command via the communication devices 611 and 613. Therefore, in such a connection form, when an error occurs during execution of an I / O instruction, the communication device 6
It is necessary to find out the cause of the failure by distinguishing between an error on a conventional interface connecting the I / O controller 13 and the input / output control device 521 or the like, or an error on the interface via an optical transmission line.

ところで、光伝送路上で発生したエラーの場合には、
チャネル装置519が通信装置611を制御しているため、エ
ラーの詳細情報を収集することができる。しかし、通信
装置613と入出力制御装置521等を接続した従来のインタ
フェース上で発生したエラーの場合には、通信装置613
がこのインタフェースを監視しているため、エラーの詳
細情報をとることはできない。そのため、このエラー発
生がステータスとしてチャネル装置519に通知された後
に、計算機本体510のオペレーティングシステム(OS)
がセンス(SENSE)コマンド等の新たなI/O命令を発行す
ることにより、エラーの詳細情報を収集しており、中央
処理装置511の負担が大きいという問題点があった。
By the way, in the case of an error that has occurred on the optical transmission path,
Since the channel device 519 controls the communication device 611, detailed information on the error can be collected. However, if an error occurs on the conventional interface connecting the communication device 613 and the input / output control device 521, the communication device 613
Is monitoring this interface, so no details of the error are available. Therefore, after the occurrence of this error is notified as a status to the channel device 519, the operating system (OS) of the computer main body 510
Issue a new I / O instruction such as a sense (SENSE) command to collect detailed error information, and there is a problem that the load on the central processing unit 511 is large.

本発明は、このような点にかんがみて創作されたもの
であり、中央処理装置の負荷を軽減するようにしたチャ
ネル処理方式を提供することを目的としている。
The present invention has been made in view of such a point, and an object of the present invention is to provide a channel processing method which reduces a load on a central processing unit.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は、請求項1及び請求項2記載の発明のチャネ
ル処理方式の原理ブロック図である。
FIG. 1 is a block diagram showing the principle of the channel processing system according to the first and second aspects of the present invention.

図において、チャネル制御装置109に接続されるチャ
ネル装置111と、入出力制御装置121に接続され“データ
の入力または出力を行う命令の実行中に前記入出力制御
装置121で受信される情報からエラーが発生しているこ
とを検出したとき、エラー発生の旨のコマンドを前記チ
ャネル装置へ送る”エラー発生通知手段141を有する中
継装置131とを伝送路を介して接続してデータの入力ま
たは出力を行うようにしたチャネル制御方式において、
エラー情報要求手段151は、前記チャネル装置111内にあ
って、前記エラー発生通知手段141から前記伝送路を介
してエラー発生の旨のコマンドを受信したとき、前記中
継装置131にエラーの詳細情報送信要求のコマンドを送
る。
In the figure, an error is detected from information received by the input / output control device 121 during execution of a command connected to the channel control device 109 and a command for inputting or outputting data connected to the input / output control device 121. When it is detected that an error has occurred, a command to the effect that an error has occurred is sent to the channel device. A relay device 131 having an error occurrence notifying means 141 is connected via a transmission line to input or output data. In the channel control method that is performed,
The error information requesting unit 151 transmits detailed error information to the relay device 131 when receiving a command indicating that an error has occurred from the error occurrence notifying unit 141 via the transmission path in the channel device 111. Send request command.

エラー情報送出手段161は、前記中継装置131内にあっ
て、前記エラー情報要求手段151から前記伝送路を介し
てエラーの詳細情報送信要求のコマンドを受信したと
き、前記エラーの詳細情報を含むコマンドを折り返す。
The error information sending means 161 is provided in the relay device 131, and, when receiving a command of a detailed information transmission request of the error via the transmission line from the error information requesting means 151, a command including the detailed information of the error. Wrap.

詳細情報通知手段171は、前記チャネル装置111内にあ
って、前記エラー情報送出手段161から前記伝送路を介
して前記エラーの詳細情報を含むコマンドを受信したと
き、当該コマンドの内の少なくとも詳細情報を保持する
と共に、当該コマンドの受信に応答して前記チャネル制
御装置109に詳細情報の受信を通知する。
The detailed information notifying means 171 is provided in the channel device 111 and, when receiving a command including the detailed information of the error from the error information transmitting means 161 via the transmission line, at least the detailed information of the command And notifies the channel control device 109 of the reception of the detailed information in response to the reception of the command.

そして、詳細情報の受信の通知を受けた前記チャネル
制御装置109は、当該チャネル制御装置109の上位装置に
対して実行中の命令の終了割込みを掛けるようにして、
請求項1記載の発明は構成される。
Then, the channel control device 109, which has received the notification of the reception of the detailed information, causes the host device of the channel control device 109 to issue a termination interrupt of the instruction being executed,
The invention according to claim 1 is configured.

請求項2記載の発明は、請求項1記載のチャネル処理
方式において、前記中継装置111はチャネルアダプタ
で、前記伝送路は前記チャネル装置と前記チャネルアダ
プタとを接続する直列伝送路で構成される。
According to a second aspect of the present invention, in the channel processing system according to the first aspect, the relay device 111 is a channel adapter, and the transmission path is a serial transmission path connecting the channel device and the channel adapter.

〔作用〕[Action]

上位装置から発行された命令に係る制御を渡されたチ
ャネル制御装置109の制御の下に、上位装置が該チャネ
ル制御装置109に接続されるチャネル装置を経てデータ
の入力、または出力の装置との間で前記発行された命令
に従う入力、または出力を行っている最中に、中継装置
131のエラー発生通知手段161からエラー発生の旨の通知
をチャネル装置151のエラー情報要求手段151が受信した
とき、該エラー情報要求手段151から中継装置131のエラ
ー情報送出手段161に対してエラーの詳細情報送信要求
のコマンドを送出する。
Under the control of the channel control device 109 to which the control relating to the command issued from the higher-level device is passed, the higher-level device receives data via a channel device connected to the channel control device 109, or communicates with a device for output. While performing input or output according to the issued command between the relay device
When the error information requesting unit 151 of the channel device 151 receives the notification of the occurrence of the error from the error occurrence notifying unit 161 of the channel 131, the error information requesting unit 151 sends an error notification to the error information transmitting unit 161 of the relay device 131. Sends a detailed information transmission request command.

中継装置131のエラー情報送出手段161がエラーの詳細
情報送信要求のコマンドを受信したとき、エラー情報送
出手段161は、エラーの詳細情報を含むコマンドをチャ
ネル装置111の詳細情報通知手段171に対して送り返す。
When the error information sending unit 161 of the relay device 131 receives the command of the error detailed information transmission request, the error information sending unit 161 sends a command including the error detailed information to the detailed information notifying unit 171 of the channel device 111. Send it back.

チャネル装置111の詳細情報通知手段171がエラーの詳
細情報を含むコマンドを受信したとき、詳細情報通知手
段171は、当該コマンドの内の少なくとも詳細情報を保
持し且つチャネル制御装置109に対して詳細情報の受信
を通知する。該詳細情報の受信の通知を受けたチャネル
制御装置109が、チャネル制御装置109の上位装置に対し
て実行中の命令の終了割込みを掛ける。
When the detailed information notifying unit 171 of the channel device 111 receives the command including the detailed information of the error, the detailed information notifying unit 171 holds at least the detailed information of the command and sends the detailed information to the channel control device 109. Notify of reception. The channel control device 109, which has been notified of the reception of the detailed information, interrupts the host device of the channel control device 109 by terminating the instruction being executed.

かくして、前記発行された命令のシーケンスの中で、
当該命令の実行中にチャネル装置111より下位の処理系
で発生したエラーの詳細情報はチャネル装置111まで収
集され得ているから、従来のように、チャネル装置111
より下位の処理系で発生したエラーの詳細情報の収集の
ために、命令を新たに発行する必要はなく、上位装置の
負荷の軽減に寄与し得る。
Thus, in the sequence of issued instructions,
Since detailed information of an error that has occurred in a processing system lower than the channel device 111 during execution of the instruction can be collected up to the channel device 111, as in the related art, the channel device 111
It is not necessary to newly issue an instruction for collecting detailed information of an error that has occurred in a lower processing system, which can contribute to a reduction in the load on a higher-level device.

〔実施例〕〔Example〕

以下、図面に基づいて請求項1及び請求項2記載の発
明の実施例について詳細に説明する。
Hereinafter, embodiments of the invention described in claims 1 and 2 will be described in detail with reference to the drawings.

第2図は、請求項1及び請求項2記載の発明の一実施
例における計算機システムの構成を示す。また、第3図
は一実施例の光チャネル装置の詳細構成を、第4図は一
実施例の光チャネルアダプタの詳細構成をそれぞれ示
す。
FIG. 2 shows a configuration of a computer system according to one embodiment of the present invention. FIG. 3 shows a detailed configuration of an optical channel device according to one embodiment, and FIG. 4 shows a detailed configuration of an optical channel adapter according to one embodiment.

I.実施例と第1図との対応関係 ここで、請求項1及び請求項2記載の発明の実施例と
第1図との対応関係を示しておく。
I. Correspondence Between Embodiments and FIG. 1 Here, correspondences between the embodiments of the first and second aspects of the present invention and FIG. 1 will be described.

チャネル装置111は、光チャネル装置219に相当する。 The channel device 111 corresponds to the optical channel device 219.

入出力制御装置121は、入出力制御装置221,223,225に
相当する。
The input / output control device 121 corresponds to the input / output control devices 221, 223, and 225.

中継装置131は、光チャネルアダプタ241,243,245に相
当する。
The relay device 131 corresponds to the optical channel adapters 241, 243, 245.

エラー発生通知手段141は、マイクロプロセッサ411,
マイクロプロセッサインタフェース413,データパターン
作成部421に相当する。
The error notification unit 141 includes a microprocessor 411,
It corresponds to the microprocessor interface 413 and the data pattern creation unit 421.

エラー情報要求手段151は、マイクロプロセッサ311,
マイクロプロセッサインフェース313,データパターン作
成部321に相当する。
The error information requesting unit 151 includes a microprocessor 311,
It corresponds to the microprocessor interface 313 and the data pattern creation unit 321.

エラー情報送出手段161は、マイクロプロセッサ411,
マイクロプロセッサインタフェース413,データパターン
作成部421,データ転送ハンドラー441,I/Oインタフェー
ス制御部443に相当する。
The error information sending means 161 includes a microprocessor 411,
It corresponds to the microprocessor interface 413, the data pattern creation unit 421, the data transfer handler 441, and the I / O interface control unit 443.

以上のような対応関係があるものとして、以下請求項
1及び請求項2記載の発明の実施例について説明する。
Assuming that the above-mentioned correspondence exists, an embodiment of the present invention will be described below.

II.実施例の構成 第2図において、実施例の計算機システムは、中央処
理装置(CPU)211,主記憶装置(MSU)213,記憶制御装置
(MCU)215,チャネル制御装置(CHP)217,複数の光チャ
ネル装置(OCH)219及びサービスプロセッサ(SVP)251
を有する計算機本体210と、光伝送路を介して各光チャ
ネル装置219に接続されている複数の光チャネルアダプ
タ(OCHA)241,243,245と、各光チャネルアダプタに対
応した複数の入出力制御装置(IOC)221,223,225と、各
入出力制御装置に接続されたディスク装置231,磁気テー
プ装置233,ディスプレイ端末235とを備えている。
II. Configuration of Embodiment In FIG. 2, the computer system of the embodiment includes a central processing unit (CPU) 211, a main storage unit (MSU) 213, a storage control unit (MCU) 215, a channel control unit (CHP) 217, Multiple Optical Channel Equipment (OCH) 219 and Service Processor (SVP) 251
, A plurality of optical channel adapters (OCHA) 241, 243, and 245 connected to each optical channel device 219 via an optical transmission line, and a plurality of input / output control devices (IOCs) corresponding to each optical channel adapter 221, 223, and 225, and a disk device 231, a magnetic tape device 233, and a display terminal 235 connected to each input / output control device.

計算機本体210内の中央処理装置211は、チャネル制御
装置217,光チャネル装置219,光チャネルアダプタ241〜2
45及び対象となる入出力装置に対応した入出力制御装置
221〜225を介してデータの授受を行う。
The central processing unit 211 in the computer main body 210 includes a channel control device 217, an optical channel device 219, and optical channel adapters 241-2.
I / O controller corresponding to 45 and target I / O device
Data transmission / reception is performed via 221 to 225.

また、上述した光チャネル装置219の詳細構成を第3
図に示す。
In addition, the detailed configuration of the optical channel
Shown in the figure.

第3図において、光チャネル装置219は、マイクロプ
ロセッサ311,マイクロプロセッサインタフェース313,デ
ータパターン作成部321,パラレル−シリアル変換回路
(P/S回路)323,電気−光変換回路(E/O回路)325,光−
電気変換回路(O/E回路)331,シリアル−パラレル変換
回路(S/P回路)333,データパターン解析部335,データ
転送ハンドラー351を備えている。
In FIG. 3, an optical channel device 219 includes a microprocessor 311, a microprocessor interface 313, a data pattern creating unit 321, a parallel-serial conversion circuit (P / S circuit) 323, and an electro-optical conversion circuit (E / O circuit). 325, light-
It includes an electrical conversion circuit (O / E circuit) 331, a serial-parallel conversion circuit (S / P circuit) 333, a data pattern analysis unit 335, and a data transfer handler 351.

マイクロプロセッサ311は、光チャネル装置219の全体
動作を制御するものであり、外部のチャネル制御装置21
7及びサービスプロセッサ251に接続されている。
The microprocessor 311 controls the overall operation of the optical channel device 219, and is controlled by an external channel control device 21.
7 and the service processor 251.

また、マイクロプロセッサインタフェース313は、マ
イクロプロセッサ311と光チャネル装置219の各構成部と
の間でデータや指示のやりとりを行うためのものであ
る。このマイクロプロセッサインタフェース313は、マ
イクロプロセッサ311,データ転送ハンドラー351,データ
パターン作成部321,データパターン解析部335と接続さ
れている。
The microprocessor interface 313 is for exchanging data and instructions between the microprocessor 311 and each component of the optical channel device 219. The microprocessor interface 313 is connected to a microprocessor 311, a data transfer handler 351, a data pattern creation unit 321, and a data pattern analysis unit 335.

O/E回路331は、光伝送路を介して入力された光信号を
電気信号(シリアルデータ)に変換し、この電気信号は
その後S/P回路333によってパラレルデータに変換され
る。更に、このパラレルデータに基づいてデータパター
ン解析部335によるパターンの解析が行われ、光伝送路
を介して送られてきたコマンド,データ等の識別が行わ
れる。識別されたコマンド及びダミーコマンドはマイク
ロプロセッサインタフェース313に、データ(各入出力
装置から送られてくるリードデータ)はデータ転送ハン
ドラー351にそれぞれ入力される。
The O / E circuit 331 converts the optical signal input via the optical transmission line into an electric signal (serial data), and the electric signal is then converted into parallel data by the S / P circuit 333. Further, the pattern analysis is performed by the data pattern analysis unit 335 based on the parallel data, and the command, data, and the like transmitted via the optical transmission path are identified. The identified command and the dummy command are input to the microprocessor interface 313, and the data (read data sent from each input / output device) is input to the data transfer handler 351.

一方、データパターン作成部321は、データ転送ハン
ドラー351から出力されれるデータ(各入出力装置に対
するライトデータ)あるいはマイクロプロセッサインタ
フェース313から出力されるダミーデータに、マイクロ
プロセッサインタフェース313から出力されるコマンド
を付加してパターン作成を行うものであり、作成された
パターンを含むパラレルデータがP/S回路323に入力され
る。P/S回路323ではこのパラレルデータをシリアルデー
タ(電気信号)に変換し、更にE/O回路325はこの電気信
号を光信号に変換して光伝送路に送出する。
On the other hand, the data pattern creation unit 321 converts the command output from the microprocessor interface 313 into data (write data for each input / output device) output from the data transfer handler 351 or dummy data output from the microprocessor interface 313. In addition, a pattern is created, and parallel data including the created pattern is input to the P / S circuit 323. The P / S circuit 323 converts the parallel data into serial data (electric signal), and the E / O circuit 325 converts the electric signal into an optical signal and sends it to the optical transmission line.

データ転送ハンドラー351は、光チャネル装置219と主
記憶装置213との間でデータを送受するためのものであ
る。データ転送ハンドラー351から出力されるデータ
は、記憶制御装置215を介して主記憶装置213に格納さ
れ、反対に、主記憶装置213から読み出されたデータ
は、記憶制御装置215を介してデータ転送ハンドラー351
に入力される。
The data transfer handler 351 is for transmitting and receiving data between the optical channel device 219 and the main storage device 213. Data output from the data transfer handler 351 is stored in the main storage device 213 via the storage control device 215. Conversely, data read from the main storage device 213 is data transferred via the storage control device 215. Handler 351
Is input to

また、光チャネルアダプタ241の詳細構成を第4図に
示す(光チャネルアダプタ243,245も同様の構成とす
る)。
FIG. 4 shows the detailed configuration of the optical channel adapter 241 (the optical channel adapters 243 and 245 have the same configuration).

第4図において、光チャネルアダプタ241は、マイク
ロプロセッサ411,マイクロプロセッサインタフェース41
3,データパターン作成部421,P/S回路423,E/O回路425,O/
E回路431,S/P回路433,データパターン解析部435,データ
転送ハンドラー441,I/Oインタフェース制御部443を備え
ている。
In FIG. 4, an optical channel adapter 241 includes a microprocessor 411 and a microprocessor interface 41.
3, Data pattern creation unit 421, P / S circuit 423, E / O circuit 425, O /
An E circuit 431, an S / P circuit 433, a data pattern analysis unit 435, a data transfer handler 441, and an I / O interface control unit 443 are provided.

マイクロプロセッサ411は、光チャネルアダプタ241の
全体動作を制御するものであり、他の各構成部との間の
データや指示のやりとりはマイクロプロセッサインタフ
ェース413を介して行われる。
The microprocessor 411 controls the overall operation of the optical channel adapter 241. Data and instructions are exchanged with other components via the microprocessor interface 413.

このマイクロプロセッサインタフェース413は、マイ
クロプロセッサ411,データパターン作成部421,データパ
ターン解析部435,データ転送ハンドラー441,I/Oインタ
フェース制御部443と接続されている。
The microprocessor interface 413 is connected to the microprocessor 411, the data pattern creation unit 421, the data pattern analysis unit 435, the data transfer handler 441, and the I / O interface control unit 443.

O/E回路431は、光伝送路を介して入力された光チャネ
ル装置219からの光信号を電気信号(シリアルデータ)
に変換し、この電気信号はその後S/P回路433によってパ
ラレルデータに変換される。更に、このパラレルデータ
に基づいてデータパターン解析部435によるパターンの
解析が行われ、光伝送路を介して送られてきたコマンド
及びダミーコマンドはマイクロプロセッサインタフェー
ス413に、データ(各入出力装置に対するライトデー
タ)はデータ転送ハンドラー441にそれぞれ入力され
る。
The O / E circuit 431 converts the optical signal input from the optical channel device 219 via the optical transmission line into an electric signal (serial data).
The electrical signal is then converted to parallel data by the S / P circuit 433. Further, the pattern analysis is performed by the data pattern analysis unit 435 based on the parallel data, and the command and the dummy command transmitted via the optical transmission line are transmitted to the microprocessor interface 413 as data (write to each input / output device). ) Is input to the data transfer handler 441.

一方、データパターン作成部421は、データ転送ハン
ドラー441から出力されるデータ(各入出力装置から読
み出したリードデータ)に、マイクロプロセッサインタ
フェース413から出力されるコマンドあるいはダミーコ
マンドを付加してパターン作成を行うものであり、作成
されたパターンを含むプラレルデータがP/S回路423に入
力される。P/S回路423ではこのパラレルデータをシリア
ルデータに変換し、更にE/O回路425はこの電気信号を光
信号に変換して光伝送路に送出する。
On the other hand, the data pattern creation unit 421 adds a command output from the microprocessor interface 413 or a dummy command to data output from the data transfer handler 441 (read data read from each input / output device) to create a pattern. That is, the parallel data including the created pattern is input to the P / S circuit 423. The P / S circuit 423 converts the parallel data into serial data, and the E / O circuit 425 converts the electric signal into an optical signal and sends it to an optical transmission line.

データ転送ハンドラー441は、光チャネルアダプタ241
と入出力制御装置221等との間でデータを送受するため
のものであり、入出力制御装置221等と方向性を有する
バス線を介して接続されている。
Data transfer handler 441 is an optical channel adapter 241
It transmits and receives data between the input / output control device 221 and the like, and is connected to the input / output control device 221 and the like via a directional bus line.

また、I/Oインタフェース制御部443は、光チャネルア
ダプタ214と入出力制御装置221等との間で制御信号を送
受するためのものであり、入出力制御装置221等と方向
性を有するタグ線を介して接続されている。
The I / O interface control unit 443 is for transmitting and receiving control signals between the optical channel adapter 214 and the input / output control device 221 and the like, and has a tag line having directionality with the input / output control device 221 and the like. Connected through.

III.実施例の動作 次に、上述した請求項1及び請求項2記載の発明にお
いて、データの入出力時にエラーが発生した場合の動作
を説明する。
III. Operation of Embodiment Next, the operation of the above-described first and second aspects of the invention when an error occurs during data input / output will be described.

第5図に、I/O命令実行時にエラーが発生した場合の
シーケンスを示す。エラーとしては例えば入出力制御装
置221から光チャネルアダプタ241に送られてくるステー
タスのパリティに発生するエラーを考える。
FIG. 5 shows a sequence when an error occurs during execution of an I / O instruction. As an error, for example, an error occurring in the parity of the status sent from the input / output control device 221 to the optical channel adapter 241 is considered.

最初に、光チャネル装置219から光チャネルアダプタ2
41に対してCNCT(起動要求)コマンドが送られる。光チ
ャネル装置219のマイクロプロセッサ311は、CNCTコマン
ドをマイクロプロセッサインタフェース313を介してデ
ータパターン作成部321に送る。データパターン作成部3
21は、このコマンドに対応する所定のパターンを作成す
る。作成されたパターンは、P/S回路323,E/O回路325を
介して光伝送路に送出され、光チャネルアダプタ241に
送られる。
First, from the optical channel device 219 to the optical channel adapter 2
A CNCT (start request) command is sent to 41. The microprocessor 311 of the optical channel device 219 sends a CNCT command to the data pattern creation unit 321 via the microprocessor interface 313. Data pattern creation unit 3
21 creates a predetermined pattern corresponding to this command. The created pattern is transmitted to the optical transmission line via the P / S circuit 323 and the E / O circuit 325, and is transmitted to the optical channel adapter 241.

光チャネルアダプタ241では、光チャネル装置219から
送られてくるCNCTコマンドを受け取ると、ディスク装置
231が接続された入出力制御装置221に対するセレクショ
ンを開始する。
When the optical channel adapter 241 receives the CNCT command sent from the optical channel device 219, the disk device
The selection for the input / output control device 221 to which the 231 is connected is started.

光チャネルアダプタ241のマイクロプロセッサ411は、
マイクロプロセッサインタフェース413を介してI/Oイン
タフェース制御部443を制御してアドレス・アウト(ADD
RESS OUT)信号,セレクト・アウト(SELECT OUT)信号
をタグ線に送出する。また、タグ線を介して入出力制御
装置221から送り返されてくるオペレーショナル・イン
(OPERATIONAL IN)信号,アドレス・イン(ADDRESS I
N)信号を監視する。
The microprocessor 411 of the optical channel adapter 241 is
The I / O interface control unit 443 is controlled via the microprocessor interface 413 to address out (ADD)
RESS OUT signal and SELECT OUT signal are sent to the tag line. Also, an operation-in (OPERATIONAL IN) signal and an address-in (ADDRESS I) sent back from the input / output control device 221 via the tag line.
N) Monitor the signal.

また、マイクロプロセッサ411は、タグ線にコマンド
・アウト(COMMAND OUT)信号を送出すると共に、並行
してデータ転送ハンドラー441を制御してバス線にI/O命
令に対応した所定のコマンドを送出する。
Further, the microprocessor 411 sends a command-out (COMMAND OUT) signal to the tag line, and simultaneously controls the data transfer handler 441 to send a predetermined command corresponding to the I / O instruction to the bus line. .

次に、入出力制御装置221は、コマンド・アウト信号
及びコマンドに対応して、タグ線にステータス・イン
(STATUS IN)信号を、バス線にステータスを送出す
る。ステータス・イン信号はI/Oインタフェース制御部4
43で受信され、ステータスはデータ転送ハンドラー441
で受信される。
Next, in response to the command-out signal and the command, the input / output control device 221 sends a status-in (STATUS IN) signal to the tag line and a status to the bus line. The status-in signal is sent to the I / O interface controller 4
Received at 43, status is transferred to data transfer handler 441
Received at.

ところで、データ転送ハンドラー441では受信したス
テータスのパリティを監視しており、ステータスのパリ
ティに異常があるとパリティエラーを検出する。このパ
リティエラー発生はマイクロプロセッサ411に通知さ
れ、マイクロプロセッサ411はこの通知に応じて、エラ
ー発生を伝達するためのIERコマンドを光チャネル装置2
19に送る。IERコマンドに対応したパターンをデータパ
ターン作成部421で作成し、更にP/S回路423,E/O回路425
から光伝送路に送出する。
By the way, the data transfer handler 441 monitors the parity of the received status, and detects a parity error if the status parity is abnormal. The occurrence of this parity error is notified to the microprocessor 411, and the microprocessor 411 responds to this notification by sending an IER command for transmitting the error occurrence to the optical channel device 2.
Send to 19. A pattern corresponding to the IER command is created by the data pattern creation unit 421, and the P / S circuit 423 and the E / O circuit 425
From the optical transmission line.

また、このとき光チャネルアダプタ241は、エラーコ
ード及びタグ線,バス線に関するエラー発生時の各種情
報を記憶しておく。例えば、タグ線に関する情報はI/O
インタフェース制御部443内のレジスタ(図示せず)に
格納しておき、バス線に関する情報はデータ転送ハンド
ラー441内のレジスタ(図示せず)に格納しておく。
At this time, the optical channel adapter 241 stores an error code and various information at the time of occurrence of an error regarding the tag line and the bus line. For example, information about tag lines is I / O
The information on the bus line is stored in a register (not shown) in the data transfer handler 441, and stored in a register (not shown) in the interface control unit 443.

次に、光チャネル装置219は、IERコマンドを受け取る
と、光チャネルアダプタ241にSLRST(リセット指示)コ
マンドを送る。
Next, when receiving the IER command, the optical channel device 219 sends an SLRST (reset instruction) command to the optical channel adapter 241.

光チャネルアダプタ241は、SLRSTコマンドを受け取る
と、入出力制御装置221に対して行っていた一連のセレ
クション動作を終了し、その後RSTCMP(リセット終了)
コマンドを光チャネル装置219に送る。
Upon receiving the SLRST command, the optical channel adapter 241 ends a series of selection operations performed on the input / output control device 221 and then RSTCMP (reset end)
The command is sent to the optical channel device 219.

次に、光チャネル装置219は、光チャネルアダプタ241
に対して、エラーの詳細情報を送るようにERQ(ログ要
求)コマンドを送る。
Next, the optical channel device 219 is
Sends an ERQ (log request) command to send detailed information about the error.

光チャネルアダプタ241は、ERQコマンドを受け取る
と、エラー発生時に記憶しておいたエラーに関する各種
情報をSELG(ログ送信)コマンドで報告する。尚、この
エラー情報の送受に関する詳細は後述する。
Upon receiving the ERQ command, the optical channel adapter 241 reports various information related to the error stored at the time of occurrence of the error by using a SELG (log transmission) command. The details of the transmission and reception of the error information will be described later.

光チャネル装置219は、SELGコマンドで報告されたエ
ラー情報を受け取った後に、中央処理装置211に対する
終了割込みを発生する。また、この割込み動作と並行し
てサービスプロセッサ251に対してログ収集要求を発行
する。サービスプロセッサ251は、このログ収集要求に
応じて光チャネル装置219内に取り込んだエラー情報を
収集し、エラーの解析等の処理を実行する。
After receiving the error information reported by the SELG command, the optical channel device 219 generates a termination interrupt to the central processing unit 211. Further, a log collection request is issued to the service processor 251 in parallel with this interrupt operation. The service processor 251 collects the error information captured in the optical channel device 219 in response to the log collection request, and executes processing such as error analysis.

また、第6図に上述したERQコマンド及びSELGコマン
ドの詳細内容を示す。
FIG. 6 shows the details of the ERQ command and the SELG command described above.

例えば、ERQコマンドにはERQ0コマンド,ERQ1コマン
ド,ERQ2コマンドがあり、それぞれは第6図(a)に示
すような所定のビット構成を有している。また、SELGコ
マンドには、ERQ0コマンド等のそれぞれに対応するSELG
0コマンド,SELG1コマンド,SELG2コマンドがあり、それ
ぞれは第6図(b)に示すビット構成を有している。SE
LG0コマンド等のそれぞれには異なるエラー情報が含ま
れており、必要に応じて送受される。
For example, the ERQ command includes an ERQ0 command, an ERQ1 command, and an ERQ2 command, each of which has a predetermined bit configuration as shown in FIG. 6 (a). In addition, the SELG command includes the SELG command corresponding to each of the ERQ0 commands, etc.
There are a 0 command, a SELG1 command, and a SELG2 command, each of which has the bit configuration shown in FIG. 6 (b). SE
Each of the LG0 commands and the like contains different error information, and is transmitted and received as necessary.

第6図(b)において、「ERROR CODE」はエラーコー
ドを、「EDR」は光チャネルアダプタ241内の図示しない
エラー検出レジスタに設定されたデータ(詳細は後述す
る)を、「TAG IN」はエラー発生時のタグ線(入力側)
のビット状態を、「TAG OUT」はエラー発生時のタグ線
(出力側)のビット状態を、「BUS IN」はエラー発生時
のバス線(入力側)のビット状態を、「BUS OUT」はエ
ラー発生時のバス線(出力側)のビット状態をそれぞれ
示している。
In FIG. 6B, “ERROR CODE” indicates an error code, “EDR” indicates data set in an error detection register (not shown) in the optical channel adapter 241 (details will be described later), and “TAG IN” indicates Tag line at the time of error (input side)
“TAG OUT” indicates the bit status of the tag line (output side) when an error occurs, “BUS IN” indicates the bit status of the bus line (input side) when an error occurs, and “BUS OUT” indicates The bit status of the bus line (output side) at the time of occurrence of an error is shown.

従って、エラーの解析にエラーコードとエラー検出レ
ジスタの内容のみが必要である場合には、光チャネル装
置219はERQ0コマンドのみを送出し、光チャネルアダプ
タ241は対応するSELG0コマンドのみを返送する。また、
全ての情報が必要である場合には、先ずERQ0コマンド,S
ELG0コマンドを送受し、次にERQ1コマンド,SELG1コマン
ドを送受し、続けてERQ2コマンド,SELG2コマンドを送受
する。
Therefore, when only the error code and the contents of the error detection register are required for error analysis, the optical channel device 219 sends out only the ERQ0 command, and the optical channel adapter 241 sends back only the corresponding SELG0 command. Also,
If all information is needed, first, ERQ0 command, S
It sends and receives an ELG0 command, then sends and receives an ERQ1 command and a SELG1 command, and then sends and receives an ERQ2 command and a SELG2 command.

また、第7図にSELGコマンドに含まれる各種の情報の
詳細を示す。
FIG. 7 shows details of various types of information included in the SELG command.

同図(a)はSELG0コマンド内の「EDR」の内容を示
す。「DSCI」は入出力制御装置221のエラーに対応した
ディスコネクト・イン用のビットを、「INVTG」はプロ
トコル上のエラーに対応したインバリッド・タグ・イン
用のビットを、「BIPE」は入出力制御装置221が接続さ
れているバス上のパリティエラーに対応したバス・イン
・パリティエラー用のビットを、「RINGC」はバス上の
データ有効時間が短い場合に対応したリング・チェック
用のビットをそれぞれ示している。他のビットは、“0"
あるいは“1"の固定データであるが、他のエラー情報を
追加したい場合にはこれらのビットに割り付けるように
する。
FIG. 11A shows the contents of “EDR” in the SELG0 command. “DSCI” is a bit for disconnect-in corresponding to an error of the input / output control device 221, “INVTG” is a bit for invalid tag-in corresponding to an error in the protocol, and “BIPE” is an input / output The bit for the bus-in parity error corresponding to the parity error on the bus to which the control device 221 is connected, and the “RINGC” is the bit for the ring check corresponding to the case where the data valid time on the bus is short. Each is shown. Other bits are “0”
Alternatively, although it is fixed data of "1", if other error information is to be added, it is assigned to these bits.

また、同図(b)はSELG1コマンド内の「TAG IN」の
内容を示す。「RQI」はリクエスト・イン(REQUEST I
N)に対応したビットを、「STI」はステータス・イン
(STATUS IN)に対応したビットを、「SVI」はサービス
・イン(SERVICE IN)に対応したビットを、「DTI」は
データ・イン(DATA IN)に対応したビットを、「OPI」
はオペレーショナル・イン(OPERATIONAL IN)に対応し
たビットを、「ADI」はアドレス・イン(ADDRESS IN)
に対応したビットを、「MKI」はマーク・イン(MARK I
N)に対応したビットを、「SLI」はセレクト・イン(SE
LECT IN)に対応したビットをそれぞれ示している。
FIG. 2B shows the contents of “TAG IN” in the SELG1 command. "RQI" stands for Request In
N), the bit corresponding to the status in (STATUS IN), the bit corresponding to the service in (SERVICE IN), the data corresponding to the data in (DTI). The bit corresponding to “DATA IN” is “OPI”
Is the bit corresponding to Operational In (OPERATIONAL IN), and "ADI" is Address In (ADDRESS IN)
"MKI" is the mark in (MARK I
N), the bit corresponding to “SLI” is select-in (SE
LECT IN).

同図(c)はSELG1コマンド内の「BUS IN」の内容を
示す。「BI0〜BI7」のそれぞれは、入出力制御装置221
からのデータが入力される側(上り側)のバス線の各ビ
ットを示している。
FIG. 3C shows the contents of “BUS IN” in the SELG1 command. Each of “BI0 to BI7” is an input / output control device 221
2 shows each bit of the bus line on the side (upward side) to which data is input.

同図(d)はSELG2コマンド内の「TAG OUT」の内容を
示す。「OPO」はオペレーショナル・アウト(OPERATION
AL OUT)に対応したビットを、「CMO」はコマンド・ア
ウト(COMMAND OUT)に対応したビットを、「SLO」はセ
レクト・アウト(SELECT OUT)に対応したビットを、
「SPO」はサプレス・アウト(SUPPRESS OUT)に対応し
たビットを、「ADO」はアドレス・アウト(ADDRESS OU
T)に対応したビットを、「SVO」はサービス・アウト
(SERVICE OUT)に対応したビットを、「DTO」はデータ
・アウト(DATA OUT)に対応したビットを、「MTO」は
メータリング・アウト(METERING OUT)に対応したビッ
トをそれぞれ示している。
FIG. 11D shows the contents of “TAG OUT” in the SELG2 command. "OPO" is Operational Out
AL OUT), “CMO” is the bit corresponding to Command Out (COMMAND OUT), “SLO” is the bit corresponding to Select Out (SELECT OUT),
“SPO” indicates the bit corresponding to the SUPPRESS OUT, and “ADO” indicates the address out (ADDRESS OU).
T) bit corresponding to "SVO", bit corresponding to service out (SERVICE OUT), "DTO" bit corresponding to data out (DATA OUT), "MTO" metering out Bits corresponding to (METERING OUT) are shown.

同図(e)はSELG2コマンド内の「BUS OUT」の内容を
示す。「BO0〜BO7」のそれぞれは、入出力制御装置221
にデータが出力される側(下り側)のバス線の各ビット
を示している。
FIG. 11E shows the contents of “BUS OUT” in the SELG2 command. Each of “BO0 to BO7” is an input / output control device 221.
2 shows each bit of the bus line on the side where data is output (downward side).

IV.実施例のまとめ このように、光チャネル装置219によるI/O命令の実行
中に、光チャネルアダプタ241と入出力制御装置221,デ
ィスク装置231とのインタフェース上でエラーが発生す
ると、先ず、光チャネルアダプタ241は光チャネル装置2
19に対してエラー発生を通知するためのIERコマンドを
送出する。次に、光チャネルアダプタ241によるセレク
ション動作を終了させた後、エラー情報を要求するため
のERQコマンドを光チャネル装置219から出力し、エラー
の詳細情報が含まれるSELGコマンドを光チャネルアダプ
タ241から返送する。その後、中央処理装置211に割込み
を発生し、プログラムによる解析等の処理を実行する。
IV.Summary of Embodiment As described above, when an error occurs on the interface between the optical channel adapter 241 and the input / output control device 221, the disk device 231 during the execution of the I / O instruction by the optical channel device 219, first, The optical channel adapter 241 is an optical channel device 2
Sends an IER command to notify error occurrence to 19. Next, after terminating the selection operation by the optical channel adapter 241, an ERQ command for requesting error information is output from the optical channel device 219 and a SELG command including detailed error information is returned from the optical channel adapter 241. I do. Thereafter, an interrupt is generated in the central processing unit 211, and processing such as analysis by a program is executed.

従って、中央処理装置211は、エラーの詳細情報をプ
ログラムを実行して収集する必要がなく、中央処理装置
211の負荷が軽減される。
Therefore, the central processing unit 211 does not need to collect the detailed information of the error by executing the program.
The load of 211 is reduced.

V.発明の変形態様 なお、上述した請求項1及び請求項2記載の発明の実
施例にあっては、光伝送路を介した計算機システムを考
えたが、光伝送路をシリアルの伝送路(例えばRS−232C
インタフェース)を介して接続する場合にも請求項1及
び請求項2記載の発明を適用することができる。
V. Modifications of the Invention In the above-described embodiments of the first and second aspects of the invention, a computer system via an optical transmission line is considered. For example, RS-232C
The inventions of claims 1 and 2 can also be applied to a case where connection is made via an interface.

また、実施例では、光チャネルアダプタ241と入出力
制御装置221との間で発生したパリティエラーに関する
エラーの詳細情報を収集する場合を考えたが、入出力制
御装置221やディスク装置231のハードエラーが発生した
場合など他のエラーを光チャネルアダプタ241が検出し
た場合も同様である。
Further, in this embodiment, a case is considered in which detailed information of an error related to a parity error generated between the optical channel adapter 241 and the input / output control device 221 is collected. The same applies to a case where the optical channel adapter 241 detects another error, such as when an error occurs.

更に、「I.実施例と第1図との対応関係」において、
請求項1及び請求項2記載の発明と実施例との対応関係
を説明しておいたが、これに限られることはなく、請求
項1及び請求項2記載の発明には各種の変形態様がある
ことは当業者であれば容易に推考できるであろう。
Further, in "I. Correspondence between the embodiment and FIG. 1",
The correspondence between the inventions described in claims 1 and 2 and the embodiments has been described. However, the present invention is not limited to this, and various modifications may be made to the inventions described in claims 1 and 2. Something can be easily deduced by those skilled in the art.

〔発明の効果〕〔The invention's effect〕

上述したように本発明によれば、上位装置で発行され
た命令のシーケンス中にチャネル装置より下位の処理系
でエラーが発生した場合に、エラーの発生の通知及びエ
ラーの詳細情報の要求、送信を前記発行された命令の一
連のシーケンスの中で新たな命令を用いることなく上位
のアクセル手段によってアクセル可能なチャネル装置ま
で収集され得ているので、エラーの詳細情報の収集のた
めのオペレーションシステム等のプログラムの新たな実
行に入る必要性は無くなり、上位装置の負担の軽減に大
いに寄与する。
As described above, according to the present invention, when an error occurs in a processing system lower than a channel device during a sequence of instructions issued by a higher-level device, notification of the occurrence of the error and request and transmission of detailed information of the error are performed. Can be collected by a higher-order accelerator means up to a channel device that can be accessed without using a new command in the sequence of issued commands, so that an operation system for collecting detailed information of errors, etc. This eliminates the need to start a new execution of the program, greatly contributing to a reduction in the load on the host device.

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

第1図は本発明のチャネル処理方式の原理ブロック図、 第2図は本発明の一実施例の全体構成図、 第3図は一実施例の光チャネル装置の構成図、 第4図は一実施例の光チャネルアダプタの構成図、 第5図は一実施例の動作説明図、 第6図は一実施例のコマンドの説明図、 第7図は一実施例のエラー情報の説明図、 第8図は従来例の説明図である。 図において、 111はチャネル装置、121は入出力制御装置、131は中継
装置、141はエラー発生通知手段、151はエラー情報要求
手段、161はエラー情報送出手段、210は計算機本体、21
1は中央処理装置(CPU)、213は主記憶装置(MSU)、21
5は記憶制御装置(MCU)、217はチャネル制御装置(CH
P)、219は光チャネル装置(OCH)、221,223,225は入出
力制御装置(IOC)、231はディスク装置、233は磁気テ
ープ装置、235はディスプレイ端末、241,243,245は光チ
ャネルアダプタ(OCHA)、251はサービスプロセッサ(S
VP)、311,411はマイクロプロセッサ、313,413はマイク
ロプロセッサインタフェース、321,421はデータパター
ン作成部、323,423はパラレル−シリアル変換回路(P/S
回路)、325,425は電気−光変換回路(E/O回路)、331,
431は光−電気変換回路(O/E回路)、333,433はシリア
ル−パラレル変換回路(S/P回路)、335,435はデータパ
ターン解析部、351,441はデータ転送ハンドラー、443は
I/Oインタフェース制御部である。
FIG. 1 is a block diagram showing the principle of the channel processing system according to the present invention, FIG. 2 is an overall configuration diagram of one embodiment of the present invention, FIG. 3 is a configuration diagram of an optical channel device of one embodiment, and FIG. FIG. 5 is a diagram for explaining the operation of one embodiment, FIG. 6 is a diagram for explaining commands in one embodiment, FIG. 7 is a diagram for explaining error information in one embodiment, FIG. FIG. 8 is an explanatory diagram of a conventional example. In the figure, 111 is a channel device, 121 is an input / output control device, 131 is a relay device, 141 is an error occurrence notifying means, 151 is an error information requesting means, 161 is an error information sending means, 210 is a computer main body, 21
1 is a central processing unit (CPU), 213 is a main storage unit (MSU), 21
5 is a storage controller (MCU), 217 is a channel controller (CH
P), 219 is an optical channel device (OCH), 221,223,225 is an input / output control device (IOC), 231 is a disk device, 233 is a magnetic tape device, 235 is a display terminal, 241,243,245 is an optical channel adapter (OCHA), and 251 is a service Processor (S
VP, 311,411 are microprocessors, 313,413 are microprocessor interfaces, 321 and 421 are data pattern creation units, 323 and 423 are parallel-serial conversion circuits (P / S
Circuits), 325, 425 are electro-optical conversion circuits (E / O circuits), 331,
431 is an optical-electrical conversion circuit (O / E circuit), 333,433 is a serial-parallel conversion circuit (S / P circuit), 335,435 is a data pattern analysis unit, 351,441 is a data transfer handler, and 443 is
It is an I / O interface control unit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】チャネル制御装置に接続されるチャネル装
置と、入出力制御装置に接続され、データの入力または
出力を行う命令の実行中に前記入出力制御装置で受信さ
れる情報からエラーが発生していることを検出したと
き、エラー発生の旨のコマンドを前記チャネル装置へ送
るエラー発生通知手段を有する中継装置とを伝送路を介
して接続してデータの入力または出力を行うようにした
チャネル処理方式において、 前記チャネル装置内にあって、前記エラー発生通知手段
から前記伝送路を介してエラー発生の旨のコマンドを受
信したとき、前記中継装置にエラーの詳細情報送信要求
のコマンドを送るエラー情報要求手段と、 前記中継装置内にあって、前記エラー情報要求手段から
前記伝送路を介してエラーの詳細情報送信要求のコマン
ドを受信したとき、前記エラーの詳細情報を含むコマン
ドを折り返すエラー情報送出手段と、 前記チャネル装置内にあって、前記エラー情報送出手段
から前記伝送路を介して前記エラーの詳細情報を含むコ
マンドを受信したとき、当該コマンドの内の少なくとも
詳細情報を保持すると共に、当該コマンドの受信に応答
して前記チャネル制御装置に詳細情報の受信を通知する
詳細情報通知手段とを設け、 詳細情報の受信の通知を受けた前記チャネル制御装置
は、当該チャネル制御装置の上位装置に対して実行中の
命令の終了割込みを掛けるように構成したことを特徴と
するチャネル処理方式。
An error is generated from information received by the input / output control device during execution of a channel device connected to the channel control device and an instruction for inputting or outputting data which is connected to the input / output control device. A channel which is connected to a relay device having an error occurrence notifying means for sending a command to the effect that an error has occurred to the channel device via a transmission line, and performs data input or output. In the processing method, when a command indicating that an error has occurred in the channel device via the transmission path from the error occurrence notifying unit is received from the error occurrence notifying unit, an error transmission command for a detailed information transmission request of the error is sent to the relay device. An information requesting means, and a command for requesting transmission of detailed error information from the error information requesting means via the transmission path in the relay device. An error information sending unit that returns a command containing the detailed information of the error when received; and a command in the channel device, the command including the detailed information of the error being received from the error information sending unit via the transmission path. The detailed information notifying means for holding at least the detailed information of the command and notifying the channel control device of the reception of the detailed information in response to the reception of the command. Wherein the channel control device that has received the command is configured to interrupt the end of the instruction being executed to a higher-level device of the channel control device.
【請求項2】請求項1記載のチャネル処理方式におい
て、 前記中継装置はチャネルアダプタで、前記伝送路は前記
チャネル装置と前記チャネルアダプタとを接続する直列
伝送路であることを特徴とするチャネル処理方式。
2. The channel processing system according to claim 1, wherein said relay device is a channel adapter, and said transmission line is a serial transmission line connecting said channel device and said channel adapter. method.
JP1167637A 1989-06-29 1989-06-29 Channel processing method Expired - Lifetime JP2778995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1167637A JP2778995B2 (en) 1989-06-29 1989-06-29 Channel processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1167637A JP2778995B2 (en) 1989-06-29 1989-06-29 Channel processing method

Publications (2)

Publication Number Publication Date
JPH0331954A JPH0331954A (en) 1991-02-12
JP2778995B2 true JP2778995B2 (en) 1998-07-23

Family

ID=15853468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1167637A Expired - Lifetime JP2778995B2 (en) 1989-06-29 1989-06-29 Channel processing method

Country Status (1)

Country Link
JP (1) JP2778995B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006070450A1 (en) * 2004-12-28 2006-07-06 Fujitsu Limited Device having module-to-module data transfer confirmation function, storage controller, and interface module for the controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5844523A (en) * 1981-09-09 1983-03-15 Nec Corp Interface adaptor device
JPS63220343A (en) * 1987-03-09 1988-09-13 Fujitsu Ltd Error informing and controlling system

Also Published As

Publication number Publication date
JPH0331954A (en) 1991-02-12

Similar Documents

Publication Publication Date Title
US7502873B2 (en) Facilitating access to status and measurement data associated with input/output processing
US8176222B2 (en) Early termination of an I/O operation in an I/O processing system
US7840719B2 (en) System and program products for facilitating input/output processing by using transport control words to reduce input/output communications
US7302615B2 (en) Method and system for analyzing loop interface failure
EP0010211B1 (en) Data storage subsystem comprising a pair of control units and method for the automatic recovery of data from a defaulting one of these control units
US20130205050A1 (en) Determining extended capability of a channel path
US5283869A (en) Interrupt structure for network interface circuit
IL207122A (en) Computer command and response for determining the state of an i/o operation
CN101119224B (en) ATCA frame based FRU debugging and testing device
KR100433871B1 (en) Supplementary communications between host processor and mass storage controller
JP2778995B2 (en) Channel processing method
JP2519276B2 (en) Failure information collection processing method
US9003068B2 (en) Service channel for connecting a host computer to peripheral devices
CN103858105B (en) connection method
CN109446002A (en) A kind of jig plate, system and method for server crawl SATA hard disc
US20080010547A1 (en) Storage system and method for automatic restoration upon loop anomaly
EP0174446B1 (en) distributed multiprocessing system
CN200941625Y (en) FRU regulation and test apparatus based on ATCA rack
EP2851801B1 (en) Computer system, control method for computer system and coupling module
CN117687859B (en) Abnormality detection device, abnormality detection system, abnormality detection server and abnormality detection method for PCIe device
TWI768592B (en) Central processing unit
US20230350400A1 (en) Log information obtaining system and method
US7613846B2 (en) System for generating a data logout in a computing environment
JPH05224964A (en) Bus abnormality information system
JP3660658B2 (en) Storage controller control method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080508

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090508

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090508

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100508

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100508

Year of fee payment: 12