JPS6275859A - Input and output control system - Google Patents

Input and output control system

Info

Publication number
JPS6275859A
JPS6275859A JP21509385A JP21509385A JPS6275859A JP S6275859 A JPS6275859 A JP S6275859A JP 21509385 A JP21509385 A JP 21509385A JP 21509385 A JP21509385 A JP 21509385A JP S6275859 A JPS6275859 A JP S6275859A
Authority
JP
Japan
Prior art keywords
command
input
sequence
output control
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP21509385A
Other languages
Japanese (ja)
Inventor
Takeshi Masuda
健 増田
Tsutomu Komatsubara
小松原 勉
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
Nippon Telegraph and Telephone Corp
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Nippon Telegraph and Telephone Corp filed Critical Hitachi Ltd
Priority to JP21509385A priority Critical patent/JPS6275859A/en
Publication of JPS6275859A publication Critical patent/JPS6275859A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the long redundant time and to improve the processing capacity with an input/output control system by giving no actuation to an input/ output controller in case an instruction is given to a channel word for a chain command and reading out this instruction word to give an instruction to the input/output controller for start of the sequence when the preparatory is through. CONSTITUTION:A data channel device judges in its closing sequence 130 that the contents of a channel instruction word CCW show a chain command and then decides in process 132 that the chain command is equal to A to shift the sequence to a process 140. In the process 140 a channel command word CCWB is read out and the end of preparatory is informed to an input/output controller when the preparatory is through with the transfer of data. Both the data channel device and the input/output controller proceed to the transfer sequences 120 and 220 to a command B to start their processes when the input/output controller decides the end of preparatory. In the closing sequence of the command B the data channel device receives the state information from the input/output controller in a process 131 and informs the end of the transfer of data to a central processing unit by an interruption since the word CCW contains no instruction for the chain command.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、予め定められた指令シーケンスを有する入出
力制御装置とデータチャネル装置との間のデータ転送を
制御する入出力制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an input/output control method for controlling data transfer between an input/output control device having a predetermined command sequence and a data channel device.

〔発明の背景〕[Background of the invention]

チャネル指令語で指定されたデータチャネル装置と入出
力制御装置との間の指令あるいはデータ転送を、起動シ
ーケンス、転送シーケンス。
Startup sequence and transfer sequence for commands or data transfer between the data channel device and the input/output control device specified by the channel command word.

及び終結シーケンスにより制御する入出力制御方法にお
いて、チェーン指令がある場合の従来の制御方法を説明
する。
A conventional control method when there is a chain command will be described in the input/output control method using the control and termination sequence.

データチャネル装置は、上位中央処理装置から入出力命
令を受けると、入出力命令で指定された入出力制御装置
の以前の状態が正常であったことを確認する。この確認
は、チャネル語CHWを記憶装置から読出して行なう。
When a data channel device receives an input/output command from a higher-level central processing unit, it confirms that the previous state of the input/output control device specified by the input/output command was normal. This confirmation is performed by reading the channel word CHW from the storage device.

正常性が確認されると、次にチャネル指令語CCWを記
憶装置から読出し、入出力命令で指定された入出力制御
装置に対し起動をかける。そして、装置機番、指令及び
入出力制御装置の状態情服DSTを転送データの送受信
により相互に確認する(以上を起動シーケンスと呼ぶ)
When normality is confirmed, the channel command word CCW is then read from the storage device and the input/output control device specified by the input/output command is activated. Then, the device number, command, and status information DST of the input/output control device are mutually confirmed by sending and receiving transfer data (the above is called a startup sequence).
.

起動シーケンスにおいて正常性が確認されると、入出力
制御装置とデータチャネル装置との間でデータ転送を行
ない、またデータチャネル装置は記憶装置と入出力制御
装置との間のデータ転送を行なう(以上を転送シーケン
スと呼ぶデータ転送の終了ごデータチャネル装置または
入出力制御装置が検出すると、人出力制御装置はデータ
転送が終了したことを表示する状態情報DSTをデータ
チャネル装置に送る。データチャネル装置は転送終了の
状態情報DSTを受けると、この状態情報DST及びチ
ャネ′状。
When normality is confirmed in the startup sequence, data is transferred between the input/output control device and the data channel device, and the data channel device transfers data between the storage device and the input/output control device (see above). When the data channel device or input/output control device detects the end of data transfer, which is called a transfer sequence, the human output control device sends status information DST to the data channel device indicating that the data transfer has ended. When the state information DST indicating the end of transfer is received, this state information DST and the channel status are sent.

態情報C8T、並びに転送終了時の語数カウンタ、指令
番地情報等を編集し、これ等をチャネル状態語C8W及
びチャネル語CHWとして記憶装置に格納する。さらに
、データチャネル装置は入出力命令を送出した中央処理
装置に対、し、データ転送終了を割込みにより通知する
(以上を終結シーケンスと呼ぶ)。
The state information C8T, the word counter at the end of transfer, command address information, etc. are edited and stored in the storage device as a channel state word C8W and a channel word CHW. Furthermore, the data channel device notifies the central processing unit that sent the input/output command that the data transfer has ended (the above is called a termination sequence).

1つの入出力制御装置に対、し複数の指令を連続して実
行させる方法として、中央処理装置がデータ転送終了の
割込みによる通知を検出した後に再度入出力命令をデー
タチャネル装置に送出する方法の他に、一般的には次の
方法が従来から採用されている。それは、チャネル指令
語CCWにチェーン指令指示企付加しておく方法である
。即ち、終結シーケンスにおいてデータチャネル装置は
、チャネル状態語C8Wを記憶装置に格納する前にチャ
ネル指令語CC胃中のチェーン指令指示の有無?確認し
、チェーン指令指示が無い場合は前述の終結シーケンス
の処理を行ない1チエイン指令指示が有る場合は終結シ
ーケンスにおけるチャネル状態語C8Wの格納及び中央
処理装置への割込みは行なわずに起動シーケンスに制御
を戻す。このとき、上記チャネル指令語CCWは先に実
行した主記憶上のチャネル指令語の次の番地に格納され
、そして中央処理装置への割込みはチェーン指令指示が
無いときのチャネル指令gccwの終結シーケンスで行
なう。このようにすると、中央処理装置の負荷が軽減す
る。
As a method for sequentially executing multiple commands for one input/output control device, there is a method in which the central processing unit detects an interrupt notification of the end of data transfer and then sends the input/output command again to the data channel device. In addition, the following methods have been commonly used. This is a method of adding a chain command directive to the channel command word CCW. That is, in the termination sequence, the data channel device determines whether there is a chain command instruction in the channel command word CC before storing the channel status word C8W in the storage device. If there is no chain command instruction, the above-mentioned termination sequence is processed, and if there is a chain command instruction, control is performed to the startup sequence without storing the channel status word C8W in the termination sequence or interrupting the central processing unit. Return. At this time, the channel command word CCW is stored at the address next to the previously executed channel command word in the main memory, and the interrupt to the central processing unit is the termination sequence of the channel command gccw when there is no chain command instruction. Let's do it. This reduces the load on the central processing unit.

ところで、入出力制御装置の種別によっては、。By the way, depending on the type of input/output control device.

チェーン指令指示される指令のシーケンスが固定されて
いるものがある。例えば、指令人が入出力命令で起動さ
れた場合に、必ず指令Bがチェーン指令指示されるもの
がある。
Some chain commands have a fixed sequence of commands. For example, when a command person is activated by an input/output command, command B is always designated as a chain command.

斯かる入出力制御装置の入出力制御方法においては、当
然、入出力制御装置側でも指令Aの処理終了後に指令B
がチェーンされることは既知である。このため、チェー
ン指令された指令8分前述したように起動シーケンスで
入出力制御装置に通知するのは冗長であり、また指令A
の終結シーケンスで状態清報DSTe受信し正常性ご確
認した直後に指令Bの起動シーケンスで再度状態情報D
STの確82行なう必要性も少ない。即ち、チェーン指
令指示される指令のシーケンスが固定の入出力制御装置
におけるチェーン先の指令の起動シーケンスは冗長であ
り、高い処理能力を・要求される入出力制御方法におい
ては、無駄な処理時間を責すことになるという問題があ
った。
In the input/output control method of such an input/output control device, naturally, the input/output control device also processes command B after completing the processing of command A.
is known to be chained. For this reason, it is redundant to notify the input/output control device in the startup sequence as described above, and the command A
Immediately after the status information DSTe is received in the termination sequence and the normality is confirmed, the status information D is sent again in the startup sequence of command B.
There is also little need to perform ST 82. In other words, in an input/output control device where the sequence of commands issued by the chain command is fixed, the startup sequence of the commands at the end of the chain is redundant, and in input/output control methods that require high processing capacity, wasted processing time. There was the problem of being held accountable.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、前述した従来技術の問題点を解決し、
チェーン指令指示される指令のシーケンスが固定の人出
力制御装置におけるチェーン先の指令の起動シーケンス
の冗長時間を削減し、処理能力を向上させた入出力制御
方式を提供することにある。
The purpose of the present invention is to solve the problems of the prior art described above,
Chain Command An object of the present invention is to provide an input/output control method that reduces the redundant time of the activation sequence of chain destination commands in a human output control device in which the sequence of commands issued is fixed, and improves the processing capacity.

〔発明の概要〕[Summary of the invention]

本発明においては、チャネル指令語にチェーン指令指示
が必ずある場合には、チェーンされり指令の起動シーケ
ンス時にデータチャネル装置は入出力制御装置を起動せ
ずにチェーンされた指令語を読出し、データ転送の準備
を完了した時点で入出力制御装置に転送シーケンス開始
を指示するようにする。
In the present invention, if a chain command instruction is always included in a channel command word, the data channel device reads the chained command word without starting the input/output control device during the activation sequence of the chained command, and transfers data. The input/output control device is instructed to start the transfer sequence when preparations for the transfer sequence are completed.

しかして、前述した従来技術の問題点が解消され・シー
ケンスの冗長時間の削減や処理能力の向上が図れる。
Therefore, the problems of the prior art described above are solved, and the redundant time of the sequence can be reduced and the processing capacity can be improved.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図乃至第3図号参照して
説明する。
Hereinafter, one embodiment of the present invention will be described with reference to FIGS. 1 to 3.

第1図はデータチャネル装置及び入出力制御装置が実行
すべきチャネル指令語CCWのチェーン構成を示す図で
ある。第1図のチェーン構成を有するチャネル指令語を
受信した場合には、第1の指令Aの後に必ず第2の指令
Bがチェーンされており、指令Bの有無の判断を行なう
必要がない。尚、最近の論理装置の多くはマイクロプロ
グラム制御方式が採用されており、また、回路構成上に
は特徴は無く、制御シーケンスの遷移が本発明の要点と
なる。このため、以下のデータチャネル装置、入出力制
御装置の動作腕。
FIG. 1 is a diagram showing a chain configuration of channel command words CCW to be executed by a data channel device and an input/output control device. When a channel command word having the chain configuration shown in FIG. 1 is received, the second command B is always chained after the first command A, and there is no need to judge whether the command B is present or not. Incidentally, many of the recent logic devices employ a microprogram control method, and there are no features in the circuit configuration, and the key point of the present invention is the transition of the control sequence. For this reason, the operating arm of the data channel device, input/output control device.

明に際しては制御の流れ図のみを用いる。For clarity, only the control flowchart is used.

第2図はデータチャネル装置におけるシーケンスの遷移
を示す流れ図である。第2図において、符号110は先
に説明した起動シーケンス、符号120は転送シーケン
ス、符号130は終結シーケンスである。また、符号1
40は、チェーンされた指令Bを行なうときに入出力制
御装置を再起動せずにチェーンされた指令Bの読出し及
びデータ転送の準備を行なうシーケンス1符号131は
チェーン指令の有無を判定する識別処理、また、符号1
52はチェーン指令の方式が従来のチェーン指令か又は
本発明の対象となる必ず指令Bがチェーンされているチ
ェーン指令Aかの識別処理である。
FIG. 2 is a flowchart showing sequence transitions in a data channel device. In FIG. 2, reference numeral 110 is the activation sequence described above, reference numeral 120 is a transfer sequence, and reference numeral 130 is a termination sequence. Also, code 1
40 is a sequence 1 for reading chained command B and preparing for data transfer without restarting the input/output control device when executing chained command B. Reference numeral 131 is an identification process for determining the presence or absence of a chained command. , and the code 1
52 is a process for identifying whether the chain command method is a conventional chain command or a chain command A in which command B is always chained, which is the object of the present invention.

第3図は入出力制御装置におけるシーケンスの遷移を示
す流れ図である。第3図において、符号210は起動シ
ーケンス、符号220は転送シーケンス、符号230は
終結シーケンスである。
FIG. 3 is a flowchart showing sequence transitions in the input/output control device. In FIG. 3, reference numeral 210 is a startup sequence, reference numeral 220 is a transfer sequence, and reference numeral 230 is a termination sequence.

また、符号231は、本発明の対象となる指令Aを判別
し、指令Aの場合に次にチェーンされる指令が指令Bで
あることを予知してこの指令Bの転送準備を行なう処理
である。さらに、符号262は、データチャネル装置に
おける処理140の完了を判定する、即ち、処理140
が完了するまで待機する識別処理である。
Further, reference numeral 231 is a process of determining a command A that is a target of the present invention, predicting that the next chained command in the case of command A is command B, and preparing to transfer this command B. . Additionally, numeral 262 determines completion of process 140 in the data channel device, i.e., process 140
This is an identification process that waits until the process is completed.

上述した流れ図により、次に入出力制御の手順を説明す
る。
Next, the input/output control procedure will be explained using the above-mentioned flowchart.

入出力命令が中央処理装置より発せられると、データチ
ャネル装置が起動される。そして、データチャネル装置
はチャネル指令語CCWA(第1図)を読出し、データ
チャネル装置及び入出力制御装置共に夫々起動シーケン
ス110及び210の制御を行なう。そして、次に転送
シーケンス120及び220 i夫々実行し1更に1終
結シーケンス150及び260の処理に夫々入る。ここ
で・入出力制御装置は、処理261により指令Aを判別
し、次にチェーンされる指令が指令Bであることを予知
して指令準備を行ない、準備鬼子後にシーケンスを処理
252に移す。
When an I/O command is issued by the central processing unit, the data channel device is activated. The data channel device then reads the channel command word CCWA (FIG. 1), and both the data channel device and the input/output control device control startup sequences 110 and 210, respectively. Then, transfer sequences 120 and 220i are executed, respectively, and one termination sequence 150 and 260 are started, respectively. Here, the input/output control device determines command A in process 261, predicts that the next command to be chained will be command B, performs command preparation, and moves the sequence to process 252 after completing the preparation.

一方、データチャネル装置はその終結シーケンス130
において、チャネル指令語CCWの内容がチェーン指令
であることを処理131で判断し、更に処理132にお
いてチェーン指令が本発明の対象となるチェーン指令A
であることを判定し、処理140にシーケンスを移す。
Meanwhile, the data channel device has its termination sequence 130
In step 131, it is determined that the content of the channel command word CCW is a chain command, and in step 132, the chain command is determined as chain command A, which is the subject of the present invention.
It is determined that this is the case, and the sequence moves to process 140.

チェーン指令の方式の処理132における判断は、入出
力制御装置から返送される状態情報DSTの予め定めら
れた特定パターンにより判定する。即ち、ある指令に必
ず指令Bがチェーンされているか否か、即ちその指令が
指令Aであるか否かの判定は、入出力制御装置でのみ可
能であり、次の指令Bがチェーンされていることが既知
の場合つまり指令Aであると判定された場合には、処理
262において、予め定められた特定パターンの状態情
報DSTeデータチャネル装置に返送。
The chain command method is determined in process 132 based on a predetermined specific pattern of status information DST returned from the input/output control device. In other words, it is possible only in the input/output control device to determine whether command B is always chained to a certain command, that is, whether that command is command A, and whether or not the next command B is chained. If this is known, that is, if it is determined that it is command A, then in step 262, status information of a predetermined specific pattern is returned to the DSTe data channel device.

する◇ データチャネル装置は、処理140においてチャネル指
令語CCWB(第1図)を読出し、データ転送準備完了
後に入出力制御装置へ準備完、了を通知する。そして、
入出力制御装置は処理232においてこの準備完了の通
知の有無を判別し、準備完了と判別したときにデータチ
ャネル装置と入出力制御装置は共に夫々指令Bに対する
転送シーケンスi20,220に移行して処理を開始す
る0 指令Bの終結シーケンスでは、データチャネル装置は、
チャネル指令語CCWBにチェーン指令指示がないため
、処理131により入出力制御装置から状態情報DST
を受信した後に、入出力命令を発した中央処理装置に対
してデータ転送終了を割込みにより通知する。一方、人
出。
◇ The data channel device reads the channel command word CCWB (FIG. 1) in process 140, and after completing the preparation for data transfer, notifies the input/output control device that the preparation is complete. and,
In step 232, the input/output control device determines whether or not there is a notification of completion of preparation, and when it is determined that the preparation is complete, both the data channel device and the input/output control device move to transfer sequences i20 and 220 for command B, respectively, and perform processing. In the termination sequence of command B, the data channel device:
Since there is no chain command instruction in the channel command word CCWB, the status information DST is sent from the input/output control device by process 131.
After receiving the data, the central processing unit that issued the input/output command is notified of the end of the data transfer by an interrupt. On the other hand, there were a lot of people.

力制御装置においても、処理261により指令Bには他
の指令がチェーンされていないことを予知し、通常の状
a情報DSTを返送後、新たな指令を受付ける状態ヘシ
ーケンスを戻す。
In the force control device as well, it is predicted in process 261 that no other command is chained to command B, and after returning the normal status a information DST, the sequence is returned to a state in which a new command is accepted.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、チェーン指令指示される指令のシーケ
ンスが固定の入出力制御装置におけるチェーン先の指令
の起動シーケンスの冗長時間を削減し処理能力の教養が
可能となる。すなわち、従来チェーン共の指令の起動シ
ーケンスでは入出力制御装置が起動されるため、たとえ
ば数10μsの時間を要していたのに対し、本発明では
、入出力制御装置を起動しないため、数μ9に短縮され
ることになる。
According to the present invention, it is possible to reduce the redundant time of the activation sequence of a chain destination command in an input/output control device in which the chain command sequence of commands is fixed, and to improve the processing capacity. In other words, in the conventional activation sequence of commands for both chains, the input/output control device is activated, which takes several tens of microseconds, whereas in the present invention, the input/output control device is not activated, so it takes several microseconds. It will be shortened to .

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

第1図はデータチャネル装置及び入出力制御装置が実行
する本発明の対象となるチャネル指令語のチェーン構成
図、第2図及び第3図は夫−々データチャネル装置及び
入出力制御装置のシーケンスにおける本発明の一実施例
に係る流れ図である。
FIG. 1 is a chain configuration diagram of channel command words that are the subject of the present invention executed by a data channel device and an input/output control device, and FIGS. 2 and 3 are sequence diagrams of a data channel device and an input/output control device, respectively. 2 is a flowchart according to an embodiment of the present invention in FIG.

Claims (1)

【特許請求の範囲】[Claims] チャネル指令語で指定されたデータチャネル装置と入出
力制御装置との間の指令あるいはデータ転送を、起動シ
ーケンス、転送シーケンス、及び終結シーケンスにより
制御する入出力制御方法において、チャネル指令語にチ
ェーン指令指示が必ずある場合には、チェーンされた指
令の起動シーケンス時にデータチャネル装置は入出力制
御装置を起動せずにチェーンされた指令語を読出し、デ
ータ転送の準備を完了した時点で入出力制御装置に転送
シーケンス開始を指令することを特徴とする入出力制御
方式。
In an input/output control method in which commands or data transfer between a data channel device specified by a channel command word and an input/output control device are controlled by a startup sequence, a transfer sequence, and a termination sequence, a chain command instruction is added to the channel command word. If there is always a chained command activation sequence, the data channel device reads the chained command word without activating the input/output control device, and when the preparation for data transfer is completed, the data channel device reads the chained command word without starting the input/output control device. An input/output control method characterized by instructing the start of a transfer sequence.
JP21509385A 1985-09-30 1985-09-30 Input and output control system Pending JPS6275859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21509385A JPS6275859A (en) 1985-09-30 1985-09-30 Input and output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21509385A JPS6275859A (en) 1985-09-30 1985-09-30 Input and output control system

Publications (1)

Publication Number Publication Date
JPS6275859A true JPS6275859A (en) 1987-04-07

Family

ID=16666636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21509385A Pending JPS6275859A (en) 1985-09-30 1985-09-30 Input and output control system

Country Status (1)

Country Link
JP (1) JPS6275859A (en)

Similar Documents

Publication Publication Date Title
JPH02156334A (en) Information processor
JPS6275859A (en) Input and output control system
EP1118942B1 (en) Method of and system for managing reselection on a scsi bus
JP2522412B2 (en) Communication method between programmable controller and input / output device
JP2802806B2 (en) I / O channel control device
JP2523167B2 (en) Command chain controller
JPH0687221B2 (en) Information processing equipment
JP4037941B2 (en) Control device
JP2860395B2 (en) Channel command prefetch controller
JPH01243160A (en) Data transfer control system
JPH05189357A (en) Method and device for data chaining control
JP2000250610A (en) Sequence control device and method and recording medium recording sequence control program
JPH01255932A (en) Instruction processor
JPS62197819A (en) Data transfer control system
JPS59177633A (en) Data chaining control system
JPS6160468B2 (en)
JPS63266565A (en) Channel adapter control system
JPH01302456A (en) Data transfer control system using channel control block
JPS5851365A (en) Common memory control system
JPS62168246A (en) Memory writing control system
JP2001309470A (en) Method and device for testing time division switch
JPS5918733B2 (en) Data transmission/reception control device
JPH05120215A (en) Input/output controller
JPS62190544A (en) Higher link unit for programmable controller
JPS62197818A (en) Data transfer control system