JPS5914031A - Method for controlling input and output - Google Patents

Method for controlling input and output

Info

Publication number
JPS5914031A
JPS5914031A JP57122152A JP12215282A JPS5914031A JP S5914031 A JPS5914031 A JP S5914031A JP 57122152 A JP57122152 A JP 57122152A JP 12215282 A JP12215282 A JP 12215282A JP S5914031 A JPS5914031 A JP S5914031A
Authority
JP
Japan
Prior art keywords
input
output
processor
error
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP57122152A
Other languages
Japanese (ja)
Other versions
JPS6226053B2 (en
Inventor
Masao Sueki
末木 雅夫
Seiichi Yasumoto
精一 安元
Hiroaki Nakanishi
宏明 中西
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57122152A priority Critical patent/JPS5914031A/en
Publication of JPS5914031A publication Critical patent/JPS5914031A/en
Publication of JPS6226053B2 publication Critical patent/JPS6226053B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Abstract

PURPOSE:To reduce the load of an I/O control program, by providing a function for deciding the contents of failure and whether the recovery of the failure is possible or not, to a data trasmission controlling part and an I/O controlling part. CONSTITUTION:An I/O ring bus transmission controlling part 128 detects an error at the data transmission between the controlling part 128 and an I/O station 145, and when the error can not be recovered, prepares status report information to a job processor 110. A retrial request for the transmission error is included in the information. An I/O controlling part 147 executes a control procedure inherent to an I/O device 150 and retrial at the time of error generation, discriminates error information which is conventionally processed by the I/O control program of the job processor, and when the retrial is possible as the result of the discrimination, returns the status information including the retrial request to the job processor 110.

Description

【発明の詳細な説明】 本発明は電子計算機システムに於る処理装置と入出力装
置間の入出力制御方法に係υ、特に入出力動作に異常が
生じた時の制御方法を改善した入出力制御方法に関する
[Detailed Description of the Invention] The present invention relates to an input/output control method between a processing device and an input/output device in an electronic computer system, and in particular, an improved input/output control method when an abnormality occurs in the input/output operation. Regarding control method.

現在の電子計算機システムでは、ノ・−ドウエア、特に
マイクロプロセッサの発展によシ、プログラムを実行す
る処理装置と各種の入出力装置を統合して制御する入出
カプロセッサとが分離され、プログラムの実行と入出力
処理とが並列化されている。また、入出力動作異常時の
再試行の実行等もハード化されている。そしてこのよう
な電子計算機システムに於る処理装置と、入出カプロセ
ッサを含む入出力装置側との間の入出力制御のために、
論理的には下記に示すような情報が用いられる。
In current electronic computer systems, due to the development of computer hardware, especially microprocessors, the processing unit that executes programs and the input/output processor that integrates and controls various input/output devices are separated. and input/output processing are parallelized. In addition, the execution of retries when an input/output operation abnormality occurs is also implemented in hardware. In order to control input/output between the processing device and the input/output device including the input/output processor in such a computer system,
Logically, the following information is used.

(1)  処理装置から入出力装置を起動、制御するだ
めの手順(コマンドの種別1発行手順、及び入出力装置
の動作を規定するだめの制御情報)。
(1) Procedures for starting and controlling the input/output device from the processing device (command type 1 issuing procedure and control information that defines the operation of the input/output device).

(2)入出力実行終了時の入出力装置側から処理装置へ
結果を報告するための手JINX (終了情報の数、及
びそれを処理装置が入出力装置側から受取るためのコマ
ンドとそのコマンドの発行手順)。
(2) Method for reporting results from the input/output device side to the processing device at the end of input/output execution Issuance procedure).

ところで従来の入出力制御方法では、上記(2)の手順
によって入出力装置側から処理装置に対して報告される
詳細情報は、処理装置内の入出力制御プログラム(ソフ
トウェア)により解析され、入出力動作が正常に終了し
たか否か、異常終了した場合にはその異常要因によって
回復可能か否かを判定し、また回復可能の時はその回復
のための入出力装置に対する制御手順を決定していた。
By the way, in the conventional input/output control method, the detailed information reported from the input/output device to the processing device by the procedure (2) above is analyzed by the input/output control program (software) in the processing device, and the input/output control It determines whether the operation has ended normally or not, and if it has ended abnormally, whether it can be recovered based on the cause of the abnormality, and if it is possible to recover, it determines the control procedure for the input/output device for recovery. Ta.

しかるに、入出力データは、機能的に見ると処理装置〜
データ伝送制御部〜入出力装置制御部〜入出力装置とい
う経路で転送され、処理装置へはデータ伝送制御部と入
出力装置制御部のどちらで検出された異常かの区別なし
に報告されていた。
However, from a functional perspective, input/output data is processed by a processing device.
The data is transferred along the path from data transmission control unit to input/output device control unit to input/output device, and is reported to the processing device without distinguishing whether the abnormality was detected in the data transmission control unit or the input/output device control unit. .

したがって処理装置のソフトウェアはこの分離を行わね
ばならない。更に、回復可能と判断した時の再試行につ
いては、データ伝送制御部の場合には伝送の先頭から、
即ち単純なコマンド再試行でよいが、入出力装置制御部
でのエラーの場合には、各入出力装置毎に再試行の手順
が異なる。
The processing unit software must therefore perform this separation. Furthermore, regarding retry when it is determined that recovery is possible, in the case of the data transmission control unit, starting from the beginning of the transmission,
That is, a simple command retry may be sufficient, but in the case of an error in the input/output device control unit, the retry procedure differs for each input/output device.

例えば、磁気ディスク記憶装置でのデータ読出しエラー
では、再度データ読出しコマンドを発行すればよいが、
磁気テープ装置でのデータ読出しエラーは、すでに読む
べきデータの記録されている部分が読出しヘッドよりも
先に走行してしまっているため、−担テープを巻戻した
後、データ読出しコマンドを発行しなければならない。
For example, in the case of a data read error in a magnetic disk storage device, all you have to do is issue the data read command again.
A data read error in a magnetic tape device occurs because the part where the data to be read has already been recorded has run ahead of the read head. There must be.

また、同一の入出力装置においてもエラー要因が異なる
と、まったく異なった誤シ回復の手順を必要とする場合
がある。
Further, even in the same input/output device, different error causes may require completely different error recovery procedures.

このような理由によって、処理装置上の入出力制御プロ
グラムは複雑化し、かつ入出力装置毎に異なったものを
用意せねばならなかった。それゆえ、システム規模の増
大に伴って入出力装置が多くなると、入出力制御プログ
ラムが大きくなシ、プログラム格納のだめのメモリ容量
の増大と、それを走らせるためのオーバヘットの増大と
いう問題点があった。
For these reasons, the input/output control program on the processing device has become complicated, and a different program must be prepared for each input/output device. Therefore, as the system scale increases and the number of input/output devices increases, there are problems such as the input/output control program becomes large, the memory capacity for storing the program increases, and the overhead to run it increases. Ta.

本発明の目的は、上記した従来方法の問題点を解決し、
入出力動作異常に対する入出力制御プログラム処理の負
担を軽減し、そのプログラム自身も簡単化できるように
した入出力制御方法を提供することにある。
The purpose of the present invention is to solve the problems of the conventional method described above,
An object of the present invention is to provide an input/output control method that reduces the load on input/output control program processing for input/output operation abnormalities and simplifies the program itself.

本発明は、入出力制御とその異常検出を行うデータ伝送
制御部及び入出力制御部に、異常内容とその異常に対す
る回復が可能かどうかを判断する機能を持たせ、回復可
能と判定した時には処理装置への入出力制御終了情報に
異常発生個所を区別した再試行要求を含めて報告し、処
理装置の入出力制御プログラムは、異常の詳細情報を判
断しなくても、この再試行要求に応じて再試行コマンド
を発行できるようにし、かくして入出力制御プログラム
の負担を軽減するようにしたことを特徴とするものであ
る。
The present invention provides a data transmission control unit and an input/output control unit that perform input/output control and its abnormality detection with a function of determining the content of the abnormality and whether recovery from the abnormality is possible, and when it is determined that recovery is possible, processing is performed. A retry request that distinguishes the location of the error is reported in the input/output control end information to the device, and the input/output control program of the processing device responds to this retry request without determining the detailed information of the error. This feature is characterized in that it is possible to issue a retry command using a retry command, thereby reducing the burden on the input/output control program.

以下、本発明の詳細を実施例によって説明する。Hereinafter, the details of the present invention will be explained with reference to examples.

第1図は、本発明が適用されるマルチプルセッサシステ
ムの構成例を示す。同図に於て、高速バス105に、共
有メモリ(MS)100.ジョブプロセッサ(JOBP
)110.ファイルコントロールプロセッサ(PCP 
) 120、入出カプロセッサ(IOP)125が接続
されている。ファイルコントロールプロセッサ120は
、ファイル130に関する処理を尋問に行い、入出カプ
ロセッサ125は、入出力リンクバス140及び入出カ
スチージョン145を介して複数の入出力装置(■10
)150のコントロールを尋問に行う。これらのプロセ
ッサ120,125を専用プロセッサと称している。ジ
ョブプロセッサ110は、ユーザタスクおよび専用プロ
セッサ機能以外のオペレーティングシステム機能を処理
するものである。
FIG. 1 shows an example of the configuration of a multiple processor system to which the present invention is applied. In the figure, a high-speed bus 105 is connected to a shared memory (MS) 100. Job Processor (JOBP
)110. File Control Processor (PCP)
) 120 and an input/output processor (IOP) 125 are connected. The file control processor 120 performs processing related to the file 130, and the input/output processor 125 connects a plurality of input/output devices (10
) 150 controls for interrogation. These processors 120 and 125 are referred to as dedicated processors. Job processor 110 handles user tasks and operating system functions other than dedicated processor functions.

第2図は、第1図のシステムの入出力制御に関わる、入
出カプロセッサ125と入出カスチージョン145の簡
単な機能ブロックを示すもので、本発明の方法を実現す
るための手段を具備している。同図に於て、点線矢印は
入出力装置起動指令及び終了報告時の制御情報、スティ
タス情報、データの流れ等を示す。このうち入出カプロ
セッサ125は、大きく分けて次の3つの機能ブロック
、即ち高速バスインターフェイス制御部126、デバイ
ス制御コマンド解析部127、及び入出力すンクバス伝
送制御部128から成る。高速パスインターフェイス制
御部126は、共有メモリ100との間のメモリ読出し
及び書込み、ジョブプロセッサ110との間の割込み制
御を行い、デバイス制御コマンド解析部127は、ジョ
ブプロセッサ110からの起動指令の解釈、人出力ステ
ージョン145へ送出するメツセージの作成を行い、入
出力リンクバス伝送制御部128は、入出力リンクバス
140を介して入出カスチージョン145との間で、デ
バイス制御情報、入出力データ、入出力実行終了時のス
ティタス情報の送受信を行う。
FIG. 2 shows a simple functional block diagram of the input/output processor 125 and the input/output custition 145, which are involved in input/output control of the system of FIG. 1, and are equipped with means for implementing the method of the present invention. . In the figure, dotted arrows indicate control information, status information, data flow, etc. at input/output device activation commands and completion reports. The input/output processor 125 is roughly divided into the following three functional blocks: a high-speed bus interface control section 126, a device control command analysis section 127, and an input/output bus transmission control section 128. The high-speed path interface control unit 126 performs memory reading and writing to/from the shared memory 100 and interrupt control with the job processor 110, and the device control command analysis unit 127 interprets startup commands from the job processor 110. The input/output link bus transmission control unit 128 creates a message to be sent to the human output station 145, and sends device control information, input/output data, Sends and receives status information at the end of execution.

入出カスチージョン145との間のデータ伝送における
伝送エラーの検出とその発生時の再試行処理、及びエラ
ー回復ができなかった時のジョブプロセッサ110に対
するスティタス報告情報の作成は入出力リンクバス制御
部128にて行われ、このスティタス報告情報の中に、
本発明の方法の特徴とする伝送エラーに対する再試行要
求も含まれている。
The input/output link bus control unit 128 is responsible for detecting transmission errors in data transmission with the input/output cassition 145, retry processing when such errors occur, and creating status report information for the job processor 110 when error recovery is not possible. This status report information includes:
A retry request for transmission errors, which is a feature of the method of the invention, is also included.

一方、入出カスチージョン145は、大別して2つめ機
能ブロックにわけられる。即ち入出力リンクバス伝送制
御部146と入出力制御部127でおυ、このうち入出
力リンクバス伝送制御部146は、入出力リンクバス1
40を介して入出カプロセッサ125との間でデバイス
制御情報、入出力データ、入出力実行終了時のスティタ
ス情報の送受信を行う。入出力制御部147は、入出力
リンクバス伝送制御部146から受取ったデバイス制御
情報に基づいて、入出力装置150を駆動し、入出力動
作完了後、入出力スティタス情報を作成し、これは起動
指令情報とは逆のルートで、入出力リンクバス140を
経由し、入出カプロセッサ125で作成された伝送制御
結果を示すスティタス情報と併せて、ジョブプロセッサ
110に報告される。この入出力制御部147は、接続
される入出力装置150毎に可変であシ、入出力装置個
有の制御手順、エラ一時の再試行の他、従来はジョブプ
ロセッサの入出力制御プログラムで処理されていたエラ
ー情報の判定もここで行い、その結果、再試行可能であ
れば再試行要求をスティタス情報に含めてジョブプロセ
ッサ110へ返スという、本発明の方法を実現する機能
を備えている。
On the other hand, the input/output custition 145 can be roughly divided into the second functional block. In other words, the input/output link bus transmission control section 146 and the input/output control section 127 are operated by the input/output link bus transmission control section 146.
Device control information, input/output data, and status information at the end of input/output execution are exchanged with the input/output processor 125 via the input/output processor 40. The input/output control unit 147 drives the input/output device 150 based on the device control information received from the input/output link bus transmission control unit 146, and after completing the input/output operation, creates input/output status information, which is used for startup. The information is reported to the job processor 110 via the input/output link bus 140 along a route opposite to that of the command information, together with status information indicating the transmission control result created by the input/output processor 125. This input/output control unit 147 is variable for each connected input/output device 150, and in addition to the control procedure unique to the input/output device and retry in case of an error, conventional processing is performed by the input/output control program of the job processor. It also has the function of realizing the method of the present invention, in which the error information that has been sent is also determined here, and as a result, if a retry is possible, a retry request is included in the status information and returned to the job processor 110. .

以上の入出力制御系統で、入出力プロセッサ125全体
と人出カスチージョン145内の入出力リンクバス伝送
制御部146とは、機能的には伝送制御部を構成し、こ
れは入出力装置150の種別に関係なく同一構造でよい
が、入出力装置制御部に該当する入出力制御部147は
前述のように入出力装置150毎に異なつ九機能を有し
ている。
In the above input/output control system, the entire input/output processor 125 and the input/output link bus transmission control unit 146 in the traffic control system 145 functionally constitute a transmission control unit, which is a type of input/output device 150. However, the input/output control section 147 corresponding to the input/output device control section has nine different functions for each input/output device 150 as described above.

次に入出力制御及びその中での本発明の方法の動作説明
を行う。但し入出力制御実行時に、ジョブプロセッサ1
10と入出カプロセッサ125の間で受渡される情報が
第3図に示されてお夛、これは共有メモリ100上に配
置され、各入出カプロセッサ対応のポインタに接続され
ている。この内容については以下、順次に説明する。
Next, input/output control and the operation of the method of the present invention therein will be explained. However, when executing input/output control, job processor 1
The information passed between I/O processor 10 and I/O processor 125 is shown in FIG. 3 and is located on shared memory 100 and connected to a pointer corresponding to each I/O processor. The contents will be explained in order below.

第4図は、ジョブプロセッサが、そのオペレーテングシ
ステムに有する入出力起動処理プログ2(9) ムのフローチャートであって、まずユーザタスクから入
出力制御マクロ命令が発行されると、このプログラムが
起動され、ステップ500,501にてコマンドリスト
220及び専用プロセッサ起動ブロック210(第3図
)が作成される。ここでブロック210は次の入出力装
置対応へのポインタ、入出力装置の番号(論理アドレス
)とアドレス(物理アドレス)、対応するコマンドリス
ト220及びスティタス報告エリーア230の各アドレ
スから成り、コマンドリスト220は入出力制御コマン
ド(読み、誉きの区別)、デバイス制御情報(改行等の
指定)、データ転送先のアドレスと長さを示すデータア
ドレスとカウント、プロセス入出力等の端末を指定する
入出カポインドアドレス等から成っている。またスティ
タス報告エリア230については後述する。さて第4図
へ戻って続くステップ502では、スティタス報告エリ
ア230をクリアし、ステップ503で対応する入出力
装置を制御する入出カプロセッサ用の制御情報ポインタ
200にブロック210を接続して、(10) 入出カプロセッサ125に割込みをかける。次いで入出
力要求元のタスクを待つ状態として(ステップ504)
、ジョブプロセッサは他のタスクへ移行する。
FIG. 4 is a flowchart of the input/output activation processing program 2 (9) that the job processor has in its operating system. First, when an input/output control macro instruction is issued from a user task, this program is activated. Then, in steps 500 and 501, a command list 220 and a dedicated processor activation block 210 (FIG. 3) are created. Here, the block 210 consists of a pointer to the next input/output device, the number (logical address) and address (physical address) of the input/output device, the corresponding command list 220, and the addresses of the status report area 230, and the command list 220 is an input/output control command (distinction between pronunciation and honor), device control information (specifying line breaks, etc.), a data address and count indicating the address and length of the data transfer destination, and an input/output cap that specifies the terminal for process input/output, etc. It consists of Indian addresses, etc. Further, the status report area 230 will be described later. Now, returning to FIG. 4, in step 502, the status report area 230 is cleared, and in step 503, block 210 is connected to the control information pointer 200 for the input/output processor that controls the corresponding input/output device. ) Interrupts the input/output processor 125. Next, the state waits for the task that made the input/output request (step 504).
, the job processor moves on to other tasks.

ここで、本発明の方法の特徴をなすところの、前述のス
ティタス報告エリア203について説明しておく。第5
図はその構成例を示すもので、入出カプロセッサ用のス
ティタス報告エリア2301と入出力装置用のスティタ
ス報告エリア2302とに区分される。これらのエリア
の大きさは、入出カプロセッサ、入出力装置の種別によ
らず同一である。また、各エリア内の入出カプロセッサ
スティタス語PISWと入出力ステイタス語DISWも
入出カプロセッサ、入出力装置の種別によらず同一のフ
ォーマットを有している。但し谷エリア2301、20
32内の詳細情報PE5W、 DE8Wは、入出カプロ
セッサ、入出力装置毎に規定される。
Here, the aforementioned status report area 203, which is a feature of the method of the present invention, will be explained. Fifth
The figure shows an example of its configuration, which is divided into a status report area 2301 for input/output processors and a status report area 2302 for input/output devices. The sizes of these areas are the same regardless of the type of input/output processor or input/output device. Furthermore, the input/output processor status word PISW and the input/output status word DISW in each area have the same format regardless of the type of input/output processor or input/output device. However, valley area 2301, 20
The detailed information PE5W and DE8W in 32 are defined for each input/output processor and input/output device.

各スティタス1lPIsW、DISWのフォーマット例
は第6図に示されておシ、それらはジョブプロセッサ1
10のオペ−レーティングシステムに対(11) する処理要求と、自装置内で誤シ要因の判定を行った結
果を示すエラ一種別の情報から成っている。
An example of the format of each status 11PIsW and DISW is shown in FIG.
It consists of processing requests for (11) 10 operating systems and information on the type of error indicating the result of determining the cause of the error within the own device.

このうちオペレーティングシステムに対する処理要求は
、入出カプロセッサ、入出力装置によらず同一の表現を
もってお沙、一方のエラ一種別ハ、各入出カプロセッサ
、入出力装置毎に規定され、その詳細情報が谷エリア2
301.2302の詳細情報PBSW、DESWにセッ
トされるものである。そして本発明の特徴とする再試行
要求(R,TYREQ)は、上述のオペレーシングシス
テムに対スる処理要求の1つの項目として規定されてい
る。
Among these, processing requests to the operating system are expressed in the same way regardless of the input/output processor or input/output device.On the other hand, the processing requests to the operating system are specified for each error type, each input/output processor, and each input/output device, and the detailed information is Valley area 2
This is set in detailed information PBSW and DESW of 301.2302. The retry request (R, TYREQ), which is a feature of the present invention, is defined as one item of processing requests to the above-mentioned operating system.

動作に戻って、次に第7図の入出カプロセッサ125に
於る入出カスチージョン145の起動処理プログラムを
説明する。第4図で説明したように、ジョブプロセッサ
110からの割込みを受けると第7図のプログラムが起
動され、ステップ700で自プロセッサ用のポインタ2
00の指示する共有メモリ100上の起動ブロック21
0及びコマンドリスト220(第4図ステップ500゜
501で作成されたもの)を取込み、ステップ(12) 701でこれらを解析して入出力装置駆動のための情報
を作成する。ステップ702では入出力装置への書込み
か否かを判定し、書込みの時はステップ703で共有メ
モリ100から書込みデータを自装置125内のメモリ
へ取込み、ステップ704で入出カスチージョン145
に制御情報(ステップ701で作成)及び誉込みの時は
データも送って、入出カスチージョン145を起動する
。ステップ705では伝送エラー発生をチェックし、エ
ラーがなければ処理を終るが、伝送エラー発生時には予
め定められた回数迄入出カスチージョン145の起動を
くシ返し、それでも伝送エラーがあればステップ706
からステップ707へ移る。
Returning to the operation, the starting processing program for the input/output custition 145 in the input/output processor 125 shown in FIG. 7 will now be described. As explained with reference to FIG. 4, upon receiving an interrupt from the job processor 110, the program shown in FIG.
Activation block 21 on the shared memory 100 indicated by 00
0 and the command list 220 (created in steps 500 and 501 in FIG. 4), and in step (12) 701, these are analyzed to create information for driving the input/output device. In step 702, it is determined whether or not to write to the input/output device, and in the case of writing, in step 703, the write data is fetched from the shared memory 100 to the memory in the own device 125, and in step 704, the input/output cussion 145
Control information (created in step 701) and data are also sent to the input/output custition 145 when the request is made. In step 705, the occurrence of a transmission error is checked, and if there is no error, the process ends; however, if a transmission error occurs, the activation of the input/output custition 145 is repeated a predetermined number of times, and if there is still a transmission error, step 706
Then, the process moves to step 707.

ステップ707では、第6図で説明した入出カプロセッ
サスティタス語PISW内の、ジョブプロセッサ110
に対する処理要求としての再試行要求RTYREQをオ
ンとし、ステップ708でこの情報を含めた入出カプロ
セッサ125のスティタス情報をスティタス報告エリア
2301ヘセツト(13) する。この伝送エラーに対する再試行要求は、単純な再
試行でよいので特にそのエラー発生の要因分析等は必要
としない。ステップ709では、以上の処理を指示した
起動ブロック210をジョブプロセッサ用のボイ/り2
05に接続してジョブプロセッサ110に割込みをかけ
、処理を移す。
In step 707, the job processor 110 in the input/output processor status PISW explained in FIG.
The retry request RTYREQ as a processing request for the input/output processor 125 is turned on in step 708, and the status information of the input/output processor 125 including this information is set in the status report area 2301 (13). A retry request for this transmission error may be a simple retry, so there is no need to analyze the cause of the error. In step 709, the activation block 210 that instructed the above processing is transferred to the voice/receiver 2 for the job processor.
05 to interrupt the job processor 110 and transfer the processing.

第7図のステップ705で伝送エラーなしと判定された
時には、第8図に示す入出カスチージョン゛145によ
る入出力装置制御処理が行われる。
When it is determined in step 705 of FIG. 7 that there is no transmission error, input/output device control processing by the input/output custition 145 shown in FIG. 8 is performed.

即ち、ステップ800で入出カプロセッサ125から各
種情報を受信し、ステップ801で入出力装置150に
対する制御とデータの受授を行う。
That is, in step 800, various information is received from the input/output processor 125, and in step 801, control is performed for the input/output device 150 and data is received and received.

ステップ802で入出力制御終了と判定すると、今回の
入出力装置制御で誤りが有ったかどうかの判定、及び誤
シ有の時にそれが再試行可能かどうかの判定をステップ
803,804で各々行い、誤シ有で再試行可能な時に
はステップ805で入出力ステイタス語DISW内の再
試行要求をオンとする信号を作成すb0誤りなし、ある
いは再試行不能の時は直接ステップ806へ移る。ステ
ツ(14) プ806では、入出力動作の終了情報と、必要な時には
データを合せて入出カプロセッサ125へ送る情報を作
成し、これをステップ807で人出カブロセツザ125
へ転送する。なお、ステップ804に於る再試行回復可
能か否かの判定方法は、従来の方法で入出力制御プログ
ラムによって行っていたものを、入出カスチージョン1
45内にプログラムすれば実現できる。
When it is determined in step 802 that the input/output control has ended, it is determined in steps 803 and 804 whether or not there was an error in the input/output device control this time, and whether or not it can be retried if there is an error. If there is an error and a retry is possible, a signal is created in step 805 to turn on the retry request in the input/output status word DISW.b0 If there is no error or a retry is not possible, the process moves directly to step 806. Step (14) Step 806 creates information to be sent to the input/output processor 125 by combining input/output operation completion information and data if necessary, and sends this information to the input/output processor 125 in step 807.
Transfer to. Note that the method for determining whether or not retry recovery is possible in step 804 is the conventional method of determining whether or not recovery is possible using an input/output control program.
This can be achieved by programming within 45.

入出カプロセッサ125は、入出カスチージョンからの
信号を受信して第9図の終了報告処理を行う。まずこの
終了時の入出力リングバス146を介してのデータ伝送
に異常があるか否かをステップ901でしらべ、誤シ有
の時は既定の回数だけデータ受信を再試行する。もしそ
れでもだめな時はステップ902からステップ903へ
移り、第7図のステップ707と同様に、ステップ90
3で入出カプロセッサスティタス語PISW内の再試行
要求RTYR,EQをオンとしステップ908でジャン
プする。ステップ901で伝送誤シなしと判定された時
は、入出力装置動作で誤シ有か否か(15) をステップ904で判定し、誤り有ならステップ907
へ、なければステップ905,906で読出しの時は読
出しデータを共有メモリ100に転送しておいて、ステ
ップ907へと移る。ステップ907ではデータ等の伝
送はすべて正常(第7図のステップ705、第9図のス
テップ901ともに正常と判定されている)であるので
、入出カプロセッサスティタス語PISWに伝送正常を
示す情報をセットしてステップ908へ進む。ことでは
、以上の処理で得られた各種情報を入出カプロセッサス
ティタス報告エリア2301にセットし、以上で入出力
処理を完了した起動ブロック210をジョブプロセッサ
用のポインタ205に接続し、ジョブプロセッサ110
へ割込みをかける。
The input/output processor 125 receives the signal from the input/output cusp and performs the completion reporting process shown in FIG. First, it is checked in step 901 whether or not there is an error in data transmission via the input/output ring bus 146 at the end of this process, and if there is an error, data reception is retried a predetermined number of times. If that does not work, move from step 902 to step 903, and repeat step 90 in the same way as step 707 in FIG.
At step 3, the retry requests RTYR and EQ in the input/output processor status word PISW are turned on, and the process jumps at step 908. When it is determined in step 901 that there is no transmission error, it is determined in step 904 whether or not there is an error in the input/output device operation (15), and if there is an error, step 907
If not, the read data is transferred to the shared memory 100 at the time of reading in steps 905 and 906, and the process moves to step 907. In step 907, all data transmission is normal (step 705 in FIG. 7 and step 901 in FIG. 9 are both determined to be normal), so information indicating normal transmission is set in the input/output processor status word PISW. The process then proceeds to step 908. In this case, the various information obtained through the above processing is set in the input/output processor status report area 2301, the startup block 210 that has completed the input/output processing is connected to the pointer 205 for the job processor, and the job processor 110
Interrupts.

以上の各種処理によって、入出力制御は再びジョブプロ
セッサ110へ戻される。即ち、第7図のステップ70
9からの伝送エラー発生時、第9図の処理終了時である
。いずれの時もジョブプロセッサ110に割込みがかけ
られるので、この割(16) 込みによシオベレーデイングシステム内の終了報告処理
のための、第10図に示したプログラムが起動される。
Through the various processes described above, input/output control is returned to the job processor 110 again. That is, step 70 in FIG.
This is the time when a transmission error occurs from 9, and the process shown in FIG. 9 ends. In either case, an interrupt is applied to the job processor 110, and this interrupt (16) starts the program shown in FIG. 10 for processing the completion report within the screening system.

このプログラムでは、まずステップ1000で、ポイン
タ205から終了報告のあった起動ブロック210を判
定し、その中に含まれるスティタス報告エリアアドレス
よシステイタス報告エリア230の内容をとシ出す。ス
テップ1001ではそのエリア230内の各スティタス
@p工sw、DI8Wをとり出し、ステップ1002で
入出カプロセッサスティタス語PISW内の再試行要求
几TY几EQがオンか否かをしらべる。もしオンなら、
伝送エラーがあったことを示しているので、ジョブプロ
セッサ110はステップ1003で再試行を行うため、
入出力のだめのコマンドを再発行(第4図からのくシ返
し)して処理を終る。この処理はどの入出カプロセッサ
125、入出力装置150に対しても同一内容で、しか
もスティタス語PISW内のエラ一種別やその詳細情報
には関係なく行われる。エラ一種別とその詳細は保守用
の情報として転送されるもので、必要(17) な場合に外勤に表示されて利用されるものである。
In this program, first, in step 1000, the activation block 210 in which the termination report has been reported is determined from the pointer 205, and the contents of the system status report area 230 are determined based on the status report area address contained therein. In step 1001, each status@pworksw and DI8W in the area 230 are taken out, and in step 1002, it is checked whether the retry request TY_EQ in the input/output processor status word PISW is on. If it's on,
Since this indicates that there was a transmission error, the job processor 110 retries in step 1003.
The command for input/output is reissued (repeat from FIG. 4) and the process ends. This process has the same content for any input/output processor 125 or input/output device 150, and is performed regardless of the type of error in the status language PISW or its detailed information. The error type and its details are transferred as maintenance information, and are displayed and used by out-of-office personnel when necessary (17).

もしステップ1002で再試行要求がオンでなければ、
続いてステップ1004で、今度はスティタス語DIS
W内の再試行要求R’I’YREQがオンか否かがチェ
ックされる。もしオンなら再試行によシ回復可能なエラ
ー発生を意味するので、スンを起動する。ステップ10
02,1004ともに再試行要求がない時は、入出力を
要求したタスクに処理を帰して(ステップ1006)そ
の待状態を解除し、処理を終る。
If the retry request is not on in step 1002,
Next, in step 1004, this time the status word DIS
It is checked whether the retry request R'I'YREQ in W is on. If it is on, it means that an error has occurred that can be recovered by retrying, so start Sun. Step 10
If there is no retry request in either 02 or 1004, the process is returned to the task that requested the input/output (step 1006), its waiting state is released, and the process ends.

以上の実施例から明らかなように、本発明によれば、ジ
ョブプロセッサの入出力制御プロゲラムチ入出カプロセ
ッサヤスチージョンからの詳細スティタス情報を判断し
て再試行の可否を決定するための、入出力装置対応の処
理プログラムを用意する必要がなく、再試行の可否の判
断はスティタス胎内の再試行要求のみを判定すればよい
から、入出力制御処理プログラムの大半をしめる異常処
(18) 理部分が共通化され、プログラムの容量、及びオペレー
ティングシステムでのこのだめのオーバーヘッドが大幅
に削減されるという効果がある。
As is clear from the above embodiments, according to the present invention, the input/output control program for determining the detailed status information from the input/output control program of the job processor and determining whether or not to retry is possible. There is no need to prepare a processing program for the device, and only the retry request in the status uterus is required to determine whether a retry is possible. This has the effect of greatly reducing the program capacity and the overhead of this process in the operating system.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明が適用されるマルチプロセッサシステム
の構成例を示すブロック図、第2図は入出カプロセッサ
及び入出カスチージョンの機能ブロックと情報の流れを
示す図、第3図は入出力制御のためにジョブプロセッサ
と入出カプロセッサ間で転送される各種情報の説明図、
第4図はオペレーティングシステム内の入出力起動処理
プログラムの処理流れ図、第5図は入出力実行終了時に
報告されるスティタス報告エリアの説明図、第6図は第
5図のエリア内で、本発明の特徴とする入出カプロセッ
サスティタス語及び入出力装置スティタス語の説明図、
第7図は入出カプロセッサによる入出カスチージョン起
動の処理流れ図、第8図は入出カスチージョンによる入
出力装置制御の処理流れ図、第9図は入出カプロセッサ
での入出カスチージョンからの終了報告受信の処理流れ
図、(19) 第10図はオペレーティングシステムによる入出力終了
処理プログラムの処理流れ図である。 100・・・共有メモ1ハ110・・・ジョブプロセッ
サ、125・・・入出カプロセッサ、145・・・入出
カスチージョン、150・・・入出力装置、230・・
・スティタス報告エリア、DISW・・・入出カプロセ
ッサスティタス語、DISW・・・入出力装置スティタ
ス語、几TThEQ・・・再試行要求。 代理人 弁理士 秋本正実 (2o) 41 目 第2 目 茅3目 茅4−目 茅、5″目 z3θ / 茅g目
FIG. 1 is a block diagram showing an example of the configuration of a multiprocessor system to which the present invention is applied, FIG. 2 is a diagram showing the functional blocks and information flow of the input/output processor and the input/output custition, and FIG. 3 is a diagram showing the input/output control. An explanatory diagram of various information transferred between the job processor and the input/output processor,
FIG. 4 is a processing flowchart of the input/output startup processing program in the operating system, FIG. 5 is an explanatory diagram of the status report area that is reported at the end of input/output execution, and FIG. An explanatory diagram of input/output processor status words and input/output device status words characterized by
FIG. 7 is a processing flowchart for starting the input/output custition by the input/output processor, FIG. 8 is a processing flowchart for controlling the input/output device by the input/output custition, and FIG. 9 is a processing flowchart for receiving a completion report from the input/output custition by the input/output processor. (19) FIG. 10 is a processing flowchart of the input/output termination processing program by the operating system. 100... Shared memo 1c 110... Job processor, 125... Input/output processor, 145... Input/output custition, 150... Input/output device, 230...
- Status report area, DISW...I/O processor status language, DISW...I/O device status language, 几TThEQ...Retry request. Agent Patent Attorney Masami Akimoto (2o) 41st eye 2nd eye 3rd eye 4th eye 5th z3θ / Kaya g

Claims (1)

【特許請求の範囲】[Claims] 1、入出力装置を駆動、制御するための入出力装置制御
部と、該入出力装置制御部とメモリを含む処理装置との
間のデータ伝送とその制御を行う伝送制御部とを介して
、処理装置からの指示によシ入出力装置に対するデータ
入出力を実行するだめの入出力制御方法に於て、上記入
出力装置制御部及び伝送制御部の各々に、入出力装置制
御及び伝送制御の各々終了時に誤動作があればこれを検
出し、誤動作に対する処理装置からの再試行によシ回復
可能か否かを制定し、かつ回復可能ならば処理装置に対
する個別の再試行要求を入出力制御の終了報告に含めて
処理装置へ報告する機能を有せしめるとともに、処理装
置は、上記再試行要求を受けることによって直ちに所要
の再試行の指示を発行するようにしたことを特徴とする
入出力制御方法。
1. Through an input/output device control unit for driving and controlling the input/output device, and a transmission control unit for controlling and transmitting data between the input/output device control unit and a processing device including a memory, In the input/output control method for executing data input/output to the input/output device according to instructions from the processing device, each of the input/output device control section and the transmission control section is configured to perform input/output device control and transmission control. If there is a malfunction at the end of each operation, it is detected, it is determined whether the malfunction can be recovered by a retry from the processing device, and if recovery is possible, an individual retry request to the processing device is sent to the input/output control. An input/output control method characterized in that the input/output control method has a function of reporting to a processing device in a completion report, and the processing device immediately issues a required retry instruction upon receiving the retry request. .
JP57122152A 1982-07-15 1982-07-15 Method for controlling input and output Granted JPS5914031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57122152A JPS5914031A (en) 1982-07-15 1982-07-15 Method for controlling input and output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57122152A JPS5914031A (en) 1982-07-15 1982-07-15 Method for controlling input and output

Publications (2)

Publication Number Publication Date
JPS5914031A true JPS5914031A (en) 1984-01-24
JPS6226053B2 JPS6226053B2 (en) 1987-06-06

Family

ID=14828888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57122152A Granted JPS5914031A (en) 1982-07-15 1982-07-15 Method for controlling input and output

Country Status (1)

Country Link
JP (1) JPS5914031A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60181856A (en) * 1984-02-29 1985-09-17 Toshiba Corp Error processing system of i/o device
JPH0232427A (en) * 1988-07-22 1990-02-02 Nec Corp Error restoring processing system for peripheral device sub-system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS556639A (en) * 1978-06-29 1980-01-18 Fujitsu Ltd Re-try system of channel

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS556639A (en) * 1978-06-29 1980-01-18 Fujitsu Ltd Re-try system of channel

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60181856A (en) * 1984-02-29 1985-09-17 Toshiba Corp Error processing system of i/o device
JPH0232427A (en) * 1988-07-22 1990-02-02 Nec Corp Error restoring processing system for peripheral device sub-system

Also Published As

Publication number Publication date
JPS6226053B2 (en) 1987-06-06

Similar Documents

Publication Publication Date Title
EP0210640B1 (en) Input-output control system in a virtual machine system
JPS6120007B2 (en)
JPH06103472B2 (en) Microprocessor for debugging
JPS5914031A (en) Method for controlling input and output
JPH07141176A (en) Command retrial control system
JPH06266630A (en) Input/output controller with trace function
JPS6111867A (en) Processing method of abnormality in interface control
JPS6230668B2 (en)
JP2650373B2 (en) Service processor damage processing method
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JPS6148741B2 (en)
JPS581249A (en) Error interrrupting system
JP2524620B2 (en) Input / output control method
JPS63118964A (en) Information processor
JPS6119060B2 (en)
EP0222443A2 (en) Multiprocess computer and method for operating same
JPH06149763A (en) Information transmitter
JPH0264815A (en) Disk cache control system
JPS626338A (en) Error information system for back end processor
JPS6143739B2 (en)
JPH01312658A (en) Computer system
JPH04139556A (en) Retry control system
JPH0411890B2 (en)
JPH0375909B2 (en)
JPS61103255A (en) Data collection system in case of fault