JPH0646392B2 - Data transfer device - Google Patents
Data transfer deviceInfo
- Publication number
- JPH0646392B2 JPH0646392B2 JP58133979A JP13397983A JPH0646392B2 JP H0646392 B2 JPH0646392 B2 JP H0646392B2 JP 58133979 A JP58133979 A JP 58133979A JP 13397983 A JP13397983 A JP 13397983A JP H0646392 B2 JPH0646392 B2 JP H0646392B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- command
- data transfer
- information
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Retry When Errors Occur (AREA)
Description
【発明の詳細な説明】 〔発明の属する技術分野〕 本発明はデータ転送装置におけるチャネルプログラムの
実行制御方式に関する。特に入出力装置からのコマンド
リピートまたはコマンドリトライ要求に応答する処理方
式に関するものである。Description: TECHNICAL FIELD The present invention relates to a channel program execution control system in a data transfer device. In particular, it relates to a processing method for responding to a command repeat or command retry request from an input / output device.
従来、この種の処理装置は入出力装置からのコマンドリ
ピートまたはコマンドリトライ要求を受付けたとき予め
設定して置いたコマンドリピートまたはコマンドリトラ
イ要求により実行されるべきチャネルコマンド語(以後
CCWと略称する)の格納されている主記憶のアドレス
によって主記憶からのチャネルコマンド語をロードし、
このチャネルコマンド語のデータ転送を実行するために
必要で最適な情報に交換および編集した後に、(以後上
記チャネルコマンド語のロード、交換、編集からなる一
連の処理を「CCWフェッチ」と記述することとす
る。)、「CCWフェッチ」実行後の情報をチャネル制
御装置内のデータ転送部および対応するチャネルに与え
ることによってデータ転送を開始させていた。Conventionally, this type of processing device has a channel command word (hereinafter abbreviated as CCW) to be executed by a command repeat or command retry request that is set in advance when receiving a command repeat or command retry request from an input / output device. The channel command word from the main memory is loaded by the stored main memory address of
After exchanging and editing the optimum information necessary for executing the data transfer of this channel command word, (hereinafter, a series of processing including loading, exchanging, and editing of the above channel command word is described as "CCW fetch"). The data transfer is started by giving the information after execution of the "CCW fetch" to the data transfer unit in the channel control device and the corresponding channel.
一般にこの「CCWフェッチ」はチャネル制御装置内の
マイクロプログラムが行っているが、これは短時間で直
ちに完了することはできず、特にチャネルコマンド語内
の主記憶アドレスが理論アドレスで記述されており、チ
ャネル制御装置で絶対アドレスに変換した後にデータ転
送を行うチャネルDAT機能を有する装置においては、
比較的高速なテープ、ディスク、ドラムなどの入出力装
置とデータ転送動作を行うときにコマンドオーバーラン
(入出力装置の機械的なスピードによりチャネルから入
出力装置に対して送出する指令コードなどが時間的に間
に合わなくなる現象)、データオーバーラン(同じくチ
ャネルと入出力装置間のデータ転送が時間的に間に合わ
なくなる現象)が多く発生する原因となっていた。Generally, this "CCW fetch" is performed by the microprogram in the channel controller, but this cannot be completed immediately in a short time. Especially, the main memory address in the channel command word is described by the theoretical address. , In a device having a channel DAT function for performing data transfer after conversion to an absolute address by the channel control device,
Command overrun when performing data transfer operations with a relatively high-speed I / O device such as tape, disk, or drum (command code sent from the channel to the I / O device by the mechanical speed of the I / O device This is a cause of many occurrences of data overrun (a phenomenon in which data transfer between a channel and an input / output device is too late in time).
また、一般にマイイクロプログラムはチャネル制御装置
にひとつ存在し、配下の複数のチャネルを制御している
ためひとつのチャネルの制御をしているときには他のチ
ャネルからマイクロプログラムに対する制御要求を待た
せることになるが、入出力装置からのコマンドリピート
またコマンドリトライ要求で再び前記「CCWフェッ
チ」を行うことになるためマイクロプログラムの処理時
間が長くなり、制御中でない他のチャネルの制御要求を
待たせ、上記他のチャネルのコマンドオーバーラン、デ
ータオーバーランを増加させる原因となっていた。Generally, one micro program exists in the channel control device and controls a plurality of subordinate channels. Therefore, when controlling one channel, the control request from another channel to the micro program is made to wait. However, since the "CCW fetch" is performed again by the command repeat request or the command retry request from the input / output device, the processing time of the microprogram becomes long, and the control request of another channel which is not under control is made to wait. It was a cause of increasing command overrun and data overrun of other channels.
本発明は上記従来の欠点を解決するものであり、チャネ
ルコマンド語によって指定されたデータ転送を開始する
とき「CCWフェッチ」済の情報をチャネル制御装置内
のスクラッチパッドメモリに設けられたリトライ情報エ
リアに格納して置き、それによりコマンドオーバーラン
やデータオーバーランを防ぐことを目的とする。SUMMARY OF THE INVENTION The present invention solves the above-mentioned drawbacks of the prior art, in which when a data transfer designated by a channel command word is started, "CCW fetched" information is provided in a retry information area provided in a scratch pad memory in a channel controller. The purpose is to prevent command overruns and data overruns.
特に、入出力装置からのコマンドリピートまたはコマン
ドリトライの要求を受付けたとき、前記のリトライ情報
エリアに格納された情報でデータ転送を再開することに
より、コマンドリピートまたはコマンドリトライの要求
をした入出力装置に短時間で応答し、制御中のチャネル
とのデータ転送におけるコマンドオーバーラン、データ
オーバーランを極力防ぐこと目的とし、その上、マイク
ロプログラムのコマンドリピートまたはコマンドリトラ
イ要求による処理を短時間で終了し、他のチャネルの制
御をすぐ開始することにより他のチャネルでのコマンド
オーバーラン、データオーバーランをも減少させること
を目的とするものである。In particular, when a command repeat or command retry request from the input / output device is accepted, the data transfer is restarted by the information stored in the retry information area, thereby requesting the command repeat or command retry. In order to prevent command overrun and data overrun in data transfer with the channel being controlled as much as possible, in addition, the processing by microprogram command repeat or command retry request is completed in a short time. The purpose is to reduce command overruns and data overruns on other channels by starting control of other channels immediately.
入出力装置からの要求によりコマンドリピートまたはコ
マンドリトライの機能を実行可能な複数のチャネルと、
このチャネルを制御するチャネル制御装置とを備えたデ
ータ転送装置において、前記チャネル制御装置内に前記
チャネル対応して設けられた記憶手段と、前記チャネル
制御装置が少なくとも指令コード、制御フラグ、転送バ
イト数、主記憶アドレス情報を含むチャネルコマンド語
によって指定されたデータ転送を開始するとき、前記チ
ャネルコマンド語に含まれる情報およびこの情報から変
換した主記憶内データエリアの絶対アドレス情報を前記
記憶手段に格納する手段と、前記チャネル制御装置が前
記入出力装置から前記コマンドリピートまたはコマンド
リトライの要求を受付けたときは前記記憶手段に格納さ
れた情報によってデータ転送を再開する手段とを備えた
ことを特徴とする。Multiple channels that can execute command repeat or command retry functions according to requests from input / output devices,
In a data transfer device comprising a channel control device for controlling this channel, storage means provided corresponding to the channel in the channel control device, and the channel control device includes at least a command code, a control flag, and a transfer byte number. When the data transfer designated by the channel command word including the main memory address information is started, the information contained in the channel command word and the absolute address information of the data area in the main memory converted from this information are stored in the storage means. And a means for restarting data transfer according to the information stored in the storage means when the channel control device receives the command repeat or command retry request from the input / output device. To do.
次に本発明について添付図面を参照して詳細に説明す
る。第1図は本発明の実施例データ転送装置を示すブロ
ック構成図である。本実施例は主記憶装置10に接続さ
れた主記憶制御装置11の出力側に中央処理装置12
と、チャネル制御装置(以下CHCと略称する)13と
が接続される。上記チャネル制御装置13は、その複数
のチャネル(以下CHUと略称する)14それぞれのI
/Oインタフェース15を介して接続された複数の入出
力装置(以下I/Oと略称する)16から構成されてい
る。上記中央処理装置12とチャネル制御装置13は主
記憶制御装置11を介して主記憶装置10にアクセス可
能であり、中央処理装置12とチャネル制御装置13は
主記憶制御装置11を介して互いに通信可能である。チ
ャネル制御装置13は複数のチャネル14は制御可能で
あり、チャネル14はI/Oインタフェース15を介し
て複数の入出力装置16とデータ転送動作が可能であ
る。Next, the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing a data transfer device according to an embodiment of the present invention. In this embodiment, the central processing unit 12 is provided on the output side of the main storage control unit 11 connected to the main storage unit 10.
And a channel control device (hereinafter abbreviated as CHC) 13 are connected. The channel control device 13 has an I channel for each of the plurality of channels (hereinafter abbreviated as CHU) 14.
It is composed of a plurality of input / output devices (hereinafter abbreviated as I / O) 16 connected via an I / O interface 15. The central processing unit 12 and the channel control unit 13 can access the main storage unit 10 via the main storage control unit 11, and the central processing unit 12 and the channel control unit 13 can communicate with each other via the main storage control unit 11. Is. The channel controller 13 can control a plurality of channels 14, and the channel 14 can perform a data transfer operation with a plurality of input / output devices 16 via an I / O interface 15.
第2図はチャネル制御装置13のブロック構成図であ
る。このチャネル制御装置13はメモリアクセス部(以
下MACと略称する)20の出力側にチャネル制御部
(以下CMUと略称する)21と、データ転送部(以下
CDUと略称する)22とがその間を結合されて接続さ
れ、上記チャネル制御部21およびデータ転送部22そ
れぞれの出力はチャネル接続部(以下CPCと略称す
る)23の入力に接続される。上記チャネル接続部23
の出力には複数のチャネル14が接続される。メモリア
クセス部20はチャネル制御部21とデータ転送部22
からの要求によって主記憶制御装置11を介して主記憶
装置10へのアクセスおよび中央処理装置12との通信
の送受を行う。チャネル制御部21はマイクロプログラ
ムによって制御され、中央処理装置12との通信制御、
チャネルプログラムの実行制御、入出力装置16からの
要求解読など行うとともにデータ転送部22、チャネル
14にデータ転送に必要な情報を与え動作を指示する。
データ転送部22はチャネル制御部21から与えられた
情報により主記憶制御装置11、メモリアクセス部2
0、チャネル接続部23を介して主記憶装置10とチャ
ネル14間のデータ転送を行う。チャネル14はチャネ
ル制御部21から与えられた情報により入出力装置16
を制御するとともにチャネル接続部23、I/Oインタ
フェース15を介してデータ転送部22と入出力装置1
6間のデータ転送を行う。FIG. 2 is a block diagram of the channel controller 13. In this channel control device 13, a channel control unit (hereinafter abbreviated as CMU) 21 and a data transfer unit (hereinafter abbreviated as CDU) 22 are connected on the output side of a memory access unit (hereinafter abbreviated as MAC) 20. The outputs of the channel control unit 21 and the data transfer unit 22 are connected to the input of a channel connection unit (hereinafter abbreviated as CPC) 23. The channel connection unit 23
A plurality of channels 14 are connected to the output of. The memory access unit 20 includes a channel control unit 21 and a data transfer unit 22.
In response to a request from the main storage device 10, the main storage device 10 is accessed and communication with the central processing unit 12 is performed. The channel control unit 21 is controlled by a microprogram and controls communication with the central processing unit 12.
It controls the execution of the channel program, decodes the request from the input / output device 16, and gives information necessary for data transfer to the data transfer unit 22 and channel 14 to instruct the operation.
The data transfer unit 22 uses the information provided from the channel control unit 21 to control the main memory controller 11 and the memory access unit 2.
0, data transfer between the main storage device 10 and the channel 14 is performed via the channel connection unit 23. The channel 14 uses the information provided by the channel controller 21 to input / output device 16
And the data transfer unit 22 and the input / output device 1 via the channel connection unit 23 and the I / O interface 15.
Data transfer between 6 is performed.
第3図(a)および(b)はチャネルプログラムのチャネルコ
マンド語(CCW)とこの(CCW)を主記憶装置10
からロードしデータ転送部22、チャネル14にデータ
転送を実行させるために必要で最適なデータに変換およ
び編集した「CCWフェッチ」後のデータを示したもの
である。すなわち指令コード(CMD)30と制御フラ
グ(FLG)31から指令フラグ(CFLG)35;転
送バイト数(BC)32から転送バイト数(BC)3
6;転送バイト数(BC)32と主記憶論理アドレス3
3(EDA)から主記憶絶対アドレス(ADA)37と
ページテーブルアドレス(PTA)38をそれぞれ変換
および編集して求める。FIGS. 3 (a) and 3 (b) show the channel command word (CCW) of the channel program and this (CCW) as the main storage device 10.
The data after "CCW fetch", which has been loaded from, converted into the optimum data necessary for causing the data transfer unit 22 and the channel 14 to execute the data transfer, and edited, is shown. That is, the command code (CMD) 30 and the control flag (FLG) 31 to the command flag (CFLG) 35; the transfer byte number (BC) 32 to the transfer byte number (BC) 3
6; Transfer byte number (BC) 32 and main memory logical address 3
3 (EDA) to convert and edit the main memory absolute address (ADA) 37 and page table address (PTA) 38, respectively.
図中のページ数(PGCT)34、ページテーブルアド
レス(PTA)38はデータ転送中に生じた主記憶のペ
ージ更新のときに主記憶絶対アドレス(ADA)37を
変換し直すために使用する。The number of pages (PGCT) 34 and the page table address (PTA) 38 in the figure are used to reconvert the main memory absolute address (ADA) 37 when the page of the main memory is updated during data transfer.
指令フラグ(CFLG)35、転送バイト数(BC)3
6はデータ転送部22、チャネル14に、また主記憶絶
対アドレス(ADA)37はデータ転送部22に与えら
れてデータ転送の制御情報となる。Command flag (CFLG) 35, transfer byte count (BC) 3
6 is given to the data transfer unit 22 and the channel 14, and the main memory absolute address (ADA) 37 is given to the data transfer unit 22 to serve as control information for data transfer.
これら第3図(b)に示す情報が後述するリトライ情報エ
リア44に格納される情報である。The information shown in FIG. 3 (b) is the information stored in the retry information area 44 described later.
チャネルプログラムの実行においていわゆるチェインコ
マンド、チェインデータのとき次に実行される可能性が
最も強い「CCWフェッチ」を先取りして行うことを
「CCWプリフェッチ」と略称する。When a so-called chain command or chain data is most likely to be executed next in the execution of a channel program, the "CCW fetch" that is most likely to be executed next is performed in advance is called "CCW prefetch".
「CCWプリフェッチ」、「CCWフェッチ」はチャネ
ル制御部21のマイクロプログラムが行うのであるが、
処理時間が長くなり特に主記憶論理アドレス33から主
記憶絶対アドレス37への変換の処理時間が長くなる。The "CCW prefetch" and "CCW fetch" are performed by the microprogram of the channel control unit 21,
The processing time becomes long, and particularly the processing time for converting the main memory logical address 33 into the main memory absolute address 37 becomes long.
第4図はチャネル制御部21内蔵のスクラッチパッドメ
モリ(以下SPMと略称する)21aの内容を示した。
このスクラッチパッドメモリ(SPM)は各チャネル対
応のチャネル(CH)エリア40と共用エリア41から
なり、このチャネル(CH)エリア40はチャネル制御
装置13に接続可能なチャネル14の最大数分(24チ
ャネル分)用意されている。各チャネルエリア40は右
側の拡大図のように制御情報エリア42、先取情報エリ
ア43、リトライ情報エリア44からなる。制御情報エ
リア42にはマイクロプログラムが対応するチャネルを
制御するために必要な情報が格納され、先取情報エリア
43には「CCWプリフェッチ」、「CCWフェッチ」
後の情報が格納される。FIG. 4 shows the contents of the scratch pad memory (hereinafter abbreviated as SPM) 21a built in the channel controller 21.
This scratch pad memory (SPM) is composed of a channel (CH) area 40 corresponding to each channel and a common area 41. This channel (CH) area 40 corresponds to the maximum number of channels 14 connectable to the channel controller 13 (24 channels). Min) prepared. Each channel area 40 is composed of a control information area 42, a prefetch information area 43, and a retry information area 44 as shown in the enlarged view on the right side. The control information area 42 stores information necessary for controlling the channel corresponding to the microprogram, and the prefetch information area 43 includes “CCW prefetch” and “CCW fetch”.
Later information is stored.
リトライ情報エリア44は本発明の特徴のひとつであり
入出力装置16によりコマンドリピートまたはコマンド
リトライ要求で必要となる「CCWフェッチ」後の情報
が格納される。The retry information area 44 is one of the features of the present invention, and stores information after "CCW fetch" required by the input / output device 16 for command repeat or command retry request.
第5図はチャネル制御部21内のマイクロプログラムが
先取情報エリア43の「CCWプリフェッチ」または
「CCWフェッチ」後の情報によりデータ転送部22、
チャネル14にデータ転送を指示するルーチンのフロー
チャートであり、上記指示完了後先取情報エリア43の
内容をすべてリトライ情報エリア44に格納することに
より入出力装置16からのコマンドリピートまたはコマ
ンドリトライ要求で必要となる情報を格納して置く。FIG. 5 shows that the microprogram in the channel control unit 21 uses the information after the "CCW prefetch" or "CCW fetch" in the prefetch information area 43 to transfer the data to the data transfer unit 22,
7 is a flowchart of a routine for instructing data transfer to the channel 14, and by storing all the contents of the prefetch information area 43 in the retry information area 44 after the instruction is completed, it is necessary for a command repeat or command retry request from the input / output device 16. Store and put information that becomes.
第6図はチャネル制御部21内のマイクロプログラムが
入出力装置16からの要求コードを解読して、同一チャ
ネルコマンド語の繰返しを要求するコマンドリピート、
同一チャネルコマンド語の再試行を要求するコマンドリ
トライ(コマンドリピート、コマンドリトライともチェ
インデータでチェインされているチャネルコマンド語の
実行中に入出力装置から要求された時はチェインデータ
の先頭のチャネルコマンド語から再開される。)要求で
あるかチェックし、その要求であるときに応答する処理
を行うフローチャートである。コマンドリピート、コマ
ンドリトライ要求であるときは再び「CCWフェッチ」
処理は行わずにリトライ情報エリア44の内容でデータ
転送部22、チャネル14にデータ転送の指示を行う。FIG. 6 shows a command repeat in which the microprogram in the channel controller 21 decodes the request code from the input / output device 16 and requests the repetition of the same channel command word.
Command retry requesting the retry of the same channel command word (Both command repeat and command retry are requested at the input / output device while the channel command word chained in the chain data is being executed. It is a flowchart for performing processing for checking whether it is a request and responding when it is the request. If it is a command repeat or command retry request, "CCW fetch" again
The data transfer unit 22 and the channel 14 are instructed to transfer data based on the contents of the retry information area 44 without performing any processing.
ここでチェインデータでチェインされているチャネルコ
マンド語を実行中にコマンドリピートまたはコマンドリ
トライの要求を受け付けた時、チェインデータの先頭の
チャネルコマンド語から再開する理由について説明す
る。Here, the reason for restarting from the first channel command word of the chain data when a command repeat or command retry request is accepted during execution of a channel command word chained by chain data will be described.
チェインデータでチェインされた複数のチャネルコマン
ド語は入出力装置から見てひとつのチャネルコマンド語
と同等である。チェインデータとはチェインデータの先
頭のチャネルコマンド語内のコマンドを使用し、この先
頭のチャネルコマンド語を含むチェインデータでチェイ
ンされている複数のチャネルコマンド語内で指定された
複数の主記憶のエリアと入出力装置間でデータ転送を行
わせる機能である。コマンドリピート、コマンドリトラ
イ共に入出力装置は現在実行中のデータ転送に対応して
いるコマンドを再度チャネルから受け取り再実行するの
であるから当然チェインデータの先頭のチャネルコマン
ド語から再開することになる。A plurality of channel command words chained by the chain data are equivalent to one channel command word when viewed from the input / output device. Chain data uses the command in the first channel command word of the chain data, and the area of multiple main memory specified in the multiple channel command words chained by the chain data that includes this first channel command word. This is a function to transfer data between the input and output devices. In both the command repeat and the command retry, the input / output device receives the command corresponding to the data transfer currently being executed from the channel again and re-executes it, so that the channel command word at the beginning of the chain data is naturally restarted.
コマンドリピートまたはコマンドリトライを実行するた
め必要最少限のものは実行中のチャネルコマンド語がチ
ェインデータでチェインされてなければそのアドレスで
あり、チェインデータでチェインされていればチェイン
データの先頭のチャネルコマンド語のアドレスである。
入出力装置からコマンドリピートまたはコマンドリトラ
イ要求を受け付けた場合は再開するデータ転送の先頭の
チャネルコマンド語については、リトライ情報エリア4
4の内容でデータ転送部22、チャネル14にデータ転
送の指示を行うが2番目以降のチャネルコマンド語につ
いては、通常の実行と同じように保持しているチャネル
コマンド語のアドレスで、チャネルコマンド語を主記憶
からフェッチし、チャネルコマンド語内論理アドレスを
絶対アドレスに変換し、データ転送を行うことになる。
但し、2番目以降のチャネルコマンド語については実際
に必要となる前にそのチャネルコマンド語をフェッチ
し、チャネルコマンド語内論理アドレスを絶対アドレス
に変換して置くことができるためコマンドオーバーラ
ン、データオーバーランを減少させることができるので
ある。The minimum required to execute command repeat or command retry is the address of the channel command word being executed if it is not chained with chain data, or the channel command at the beginning of chain data if it is chained with chain data. Is the address of a word.
When a command repeat or command retry request is received from the I / O device, the channel information word at the beginning of the data transfer is restarted.
The data transfer unit 22 and the channel 14 are instructed to transfer data according to the contents of No. 4, but the second and subsequent channel command words are the addresses of the channel command words held in the same manner as in normal execution. Is fetched from the main memory, the logical address in the channel command word is converted into an absolute address, and the data is transferred.
However, for the second and subsequent channel command words, that channel command word can be fetched before it is actually needed, and the logical address in the channel command word can be converted and placed as an absolute address, so command overrun, data over Runs can be reduced.
サーチ系のコマンドはチャネル制御装置から見ればライ
ト系のコマンドと同等である。コマンドリピート、コマ
ンドリトライについてもサーチ系のコマンドはライト系
のコマンドと同等に実行される。Search-type commands are equivalent to write-type commands when viewed from the channel controller. Regarding command repeat and command retry, search commands are executed in the same manner as write commands.
TICコマンドは入出力装置には見えない。チャネル制
御装置はTICコマンドによってチャネルプログラムの
無条件分岐を行い、その分岐先のチャネルコマンド語に
よりチャネルプログラムを続行する。従って、入出力装
置がTICコマンドに対してコマンドリピート、コマン
ドリトライを要求することはないので特別な考慮をしな
くて良い。The TIC command is invisible to the I / O device. The channel controller performs an unconditional branch of the channel program by the TIC command, and continues the channel program by the channel command word of the branch destination. Therefore, since the input / output device does not request the command repeat and the command retry for the TIC command, no special consideration is required.
以上説明したように、本発明はチャネル制御装置のスク
ラッチパッドメモリにチャネル制御に必要なチャネルコ
マンドに含まれる情報およびこの情報から変換された主
記憶内のデータエリアの絶対アドレス情報が保持されて
いるため、入出力装置からのコマンドリピート、コマン
ドリトライ要求に応答して、データ転送ができ、マイク
ロプログラムの処理時間を短縮し、チャネル制御装置に
おいて、コマンドオーバーラン、データオーバーランを
容易に減少させる効果がある。As described above, according to the present invention, the scratch pad memory of the channel controller holds the information contained in the channel command necessary for channel control and the absolute address information of the data area in the main memory converted from this information. Therefore, data can be transferred in response to a command repeat or command retry request from the input / output device, the processing time of the microprogram can be shortened, and the command overrun and the data overrun can be easily reduced in the channel control device. There is.
第1図は本発明の実施例を示すシステム構成ブロック
図。 第2図はチャネル制御装置のブロック構成図。 第3図(a)はチャネルコマンド語形式図。 第3図(b)はチャネルコマンド語フェッチ完了後のデー
タ形式図。 第4図はチャネル制御部内のスクラッチパッドメモリ
(SPM)の形式図。 第5図はマイクロプログラムがリトライ情報エリアに情
報を格納するときのフローチャト。 第6図はマイクロプログラムが入出力装置からのコマン
ドリピートまたはコマンドリトライ要求に応答する処理
のフローチャート。 10……主記憶装置(MEM)、11……主記憶制御装
置(MCU)、12……中央処理装置(CPU)、13
……チャネル制御装置(CHC)、14……チャネル
(CHU)、15……I/Oインタフェース、16……
入出力装置(I/O)、20……メモリアクセス部(M
AC)、21……チャネル制御部(CMU)、21a…
…スクラッチパッドメモリ(SPM)、22……データ
転送部(CDU)、23……チャネル接続部(CP
C)、30……指令コード、31……制御フラグ、32
……転送バイト数、33……主記憶論理アドレス、34
……ページ数、35……指令フラグ、36……転送バイ
ト数、37……主記憶絶対アドレス、38……ページテ
ーブルアドレス、40……チャネル(CH)エリア、4
1……共用エリア、42……制御情報エリア、43……
先取情報エリア、44……リトライ情報エリア。FIG. 1 is a system configuration block diagram showing an embodiment of the present invention. FIG. 2 is a block diagram of the channel control device. FIG. 3 (a) is a channel command word format diagram. FIG. 3 (b) is a data format diagram after the completion of the channel command word fetch. FIG. 4 is a format diagram of a scratch pad memory (SPM) in the channel controller. FIG. 5 is a flow chart when the microprogram stores information in the retry information area. FIG. 6 is a flowchart of a process in which the microprogram responds to a command repeat or command retry request from the input / output device. 10 ... Main memory unit (MEM), 11 ... Main memory control unit (MCU), 12 ... Central processing unit (CPU), 13
...... Channel control unit (CHC), 14 ...... Channel (CHU), 15 ...... I / O interface, 16 ......
Input / output device (I / O), 20 ... Memory access unit (M
AC), 21 ... Channel control unit (CMU), 21a ...
... Scratch pad memory (SPM), 22 ... Data transfer unit (CDU), 23 ... Channel connection unit (CP)
C), 30 ... Command code, 31 ... Control flag, 32
...... Number of transfer bytes, 33 …… Main memory logical address, 34
...... Page number, 35 ...... Command flag, 36 ...... Transfer byte number, 37 ...... Main memory absolute address, 38 ...... Page table address, 40 ...... Channel (CH) area, 4
1 ... common area, 42 ... control information area, 43 ...
Pre-take information area, 44 ... Retry information area.
フロントページの続き (56)参考文献 特開 昭58−40644(JP,A) 特開 昭54−51741(JP,A) 特開 昭51−23044(JP,A) 特開 昭48−20446(JP,A) 特開 昭54−133852(JP,A) 特開 昭55−124826(JP,A) 山谷正巳著「図解コンピュータシリーズ 仮想記憶システム入門」,株式会社オーム 社,昭和53年10月10日発行,PP.97− 100Continuation of the front page (56) Reference JP-A-58-40644 (JP, A) JP-A-54-51741 (JP, A) JP-A-51-23044 (JP, A) JP-A-48-20446 (JP , A) JP-A-54-133852 (JP, A) JP-A-55-124826 (JP, A) Masami Yamatani, "Introduction to Virtual Computer System for Illustrated Computer Series", Ohmsha, October 10, 1978. Issued, PP. 97-100
Claims (1)
コマンドリトライの要求を実行する複数のチャネルと、 このチャネルを制御するチャネル制御装置とを備えたデ
ータ転送装置において、 前記チャネル制御装置内に前記チャネルに対応して設け
られた記憶手段と、 前記チャネル制御装置が少なくとも指令コード、制御フ
ラグ、転送バイト数および主記憶アドレス情報を含むチ
ャネルコマンド語によって指定されたデータ転送を開始
するときに、前記チャネルコマンド語に含まれる情報お
よびこの情報から変換した主記憶内データエリアの絶対
アドレス情報を前記記憶手段に格納する手段と、 前記チャネル制御装置が前記入出力装置からの前記コマ
ンドリピートまたはコマンドリトライの要求を受付けた
ときは前記記憶手段に格納された情報によってデータ転
送を再開する手段と を備えたことを特徴とするデータ転送装置。1. A data transfer device comprising a plurality of channels for executing a command repeat or command retry request from an input / output device, and a channel control device for controlling the channels, wherein the channel is provided in the channel control device. Storage means provided corresponding to the channel control device, when the channel control device starts data transfer specified by a channel command word including at least a command code, a control flag, a transfer byte number and main memory address information, the channel Means for storing in the storage means the information contained in the command word and the absolute address information of the data area in the main memory converted from this information; and the channel controller requesting the command repeat or command retry from the input / output device. When it is accepted, it is stored in the storage means. And a means for resuming data transfer according to information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58133979A JPH0646392B2 (en) | 1983-07-21 | 1983-07-21 | Data transfer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58133979A JPH0646392B2 (en) | 1983-07-21 | 1983-07-21 | Data transfer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6027054A JPS6027054A (en) | 1985-02-12 |
| JPH0646392B2 true JPH0646392B2 (en) | 1994-06-15 |
Family
ID=15117546
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58133979A Expired - Lifetime JPH0646392B2 (en) | 1983-07-21 | 1983-07-21 | Data transfer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0646392B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5123044A (en) * | 1974-08-21 | 1976-02-24 | Hitachi Ltd | Nyushutsuryokuno seigyosochi |
-
1983
- 1983-07-21 JP JP58133979A patent/JPH0646392B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 山谷正巳著「図解コンピュータシリーズ仮想記憶システム入門」,株式会社オーム社,昭和53年10月10日発行,PP.97−100 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6027054A (en) | 1985-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3433386B2 (en) | Apparatus and method for performing direct memory access to input / output storage device | |
| JPH0340868B2 (en) | ||
| JPH0646392B2 (en) | Data transfer device | |
| JP2669911B2 (en) | DMA controller and information processing system | |
| JPH0646391B2 (en) | Data transfer device | |
| JPS6331806B2 (en) | ||
| JP2599184B2 (en) | DMAC read transfer controller | |
| JP2823624B2 (en) | I/O interface control method | |
| JP2644857B2 (en) | Data transfer method | |
| JP2524620B2 (en) | Input / output control method | |
| JP2562474B2 (en) | Multi-CPU system adapter and control method thereof | |
| JPS58207135A (en) | Access system of internal memory | |
| JPH01129334A (en) | Data control system for cache memory | |
| JPH0477916A (en) | Magnetic disk device | |
| JPS6028023B2 (en) | I/O instruction acceleration method | |
| JPH05334012A (en) | Large capacity disk controller | |
| JPS61221952A (en) | Method for processing channel program | |
| JPS61118858A (en) | Channel controlling system | |
| JPH0260011B2 (en) | ||
| JPH0432944A (en) | Magnetic disk control system | |
| JPH0241547A (en) | I/O adapter status notification method | |
| JPS6175942A (en) | Disk cache control system | |
| JPS6113617B2 (en) | ||
| JPS6131899B2 (en) | ||
| JPH04199217A (en) | Input/output control method |