JPH0245855A - Data transferring control system - Google Patents
Data transferring control systemInfo
- Publication number
- JPH0245855A JPH0245855A JP19678988A JP19678988A JPH0245855A JP H0245855 A JPH0245855 A JP H0245855A JP 19678988 A JP19678988 A JP 19678988A JP 19678988 A JP19678988 A JP 19678988A JP H0245855 A JPH0245855 A JP H0245855A
- Authority
- JP
- Japan
- Prior art keywords
- transfer
- data
- control device
- input
- channel
- 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
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔目 次〕
概要
産業上の利用分野
従来の技術と発明が解決しようとする課題課題を解決す
るための手段
作用
実施例
発明の効果
〔概要〕
計算機システムにおける転送制御装置(チャネル)と入
出力制御装置と、デバイス、特に、レコード毎に、その
ヘッダのカウント部(C)によって該レコード内のデー
タ部のバイト数を規定している、磁気ディスク、半導体
ディスク、磁気ディスクキャッシュ等との間に行われる
データ転送動作の内の、入出力制御装置とデバイス間の
トランケーション動作におけるデータ転送制御方式に関
し、入出力制御装置に係る各デバイス毎のデータ転送制
御時間を短縮して、該入出力制御装置の処理効率の向上
を図ることを口約とし、
中央処理装置(CPtl)の発行する入出力命令に基づ
いて、転送制御装置とデバイスとの間で行われるデータ
転送を制御しているときに、上記転送制御装置からのデ
ータ転送停止指令を検出する手段と、該データ転送の停
止指示を受領後、残された規定バイト数のデータをデバ
イスに書き込む手段を備えた入出力制御装置において、
上記転送制御装置からのデータ転送停止指示後の該デバ
イスに書き込むべき残りの規定バイト数のデータ転送を
、上記転送制御装置との間のデータ転送手段から切り離
して、該入出力制御装置と、デバイス間の最大転送能力
で転送する制御手段を備えて、上記転送制御装置からの
データ転送停止指令を検出後、残りの規定バイト数のデ
ータ転送を、人出力制御装置とデバイスとの間の最大転
送速度で転送するように構成する。[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Conventional Technology and Problems to be Solved by the Invention Means for Solving the Problems Action Examples Effects of the Invention [Summary] Transfer control device in a computer system (channels), input/output control units, and devices, especially magnetic disks, semiconductor disks, and magnetic disks that define the number of bytes of the data section in each record by the count section (C) of its header. Regarding the data transfer control method in the truncation operation between the input/output control device and the device, which is the data transfer operation performed between the cache, etc., the data transfer control time for each device related to the input/output control device is shortened. , a promise to improve the processing efficiency of the input/output control device, and control data transfer between the transfer control device and the device based on input/output commands issued by the central processing unit (CPTL). an input/output device comprising a means for detecting a data transfer stop command from the transfer control device when the data transfer is stopped, and a means for writing a specified number of remaining bytes of data to the device after receiving the data transfer stop instruction. In the control device,
The remaining specified number of bytes of data to be written to the device after the data transfer stop instruction from the transfer control device is separated from the data transfer means between the transfer control device and the input/output control device and the device. After detecting a data transfer stop command from the transfer control device, the remaining prescribed number of bytes of data is transferred at the maximum transfer capacity between the human output control device and the device. Configure to transfer at speed.
本発明は、計算機システムにおける転送制御装置(チャ
ネル)と入出力制御装置と、デバイス。The present invention relates to a transfer control device (channel), an input/output control device, and a device in a computer system.
特に、レコード毎に、そのヘッダのカウント部(C)に
よって該レコード内のデータ部のバイト数を規定してい
る、磁気ディスク、半導体ディスク。In particular, magnetic disks and semiconductor disks in which the number of bytes of the data section in each record is defined by the count section (C) of the header of the record.
磁気ディスクキャッシュ等との間に行われるデータ転送
動作の内の、入出力制御装置とデバイス間のトランケー
ション動作におけるデータ転送制御方式に関する。The present invention relates to a data transfer control method in a truncation operation between an input/output control device and a device, which is a data transfer operation performed between a magnetic disk cache and the like.
最近の計算機システムにおけるデータ処理の多様化に伴
い、入出力制御装置の機能も複雑化しており、デバイス
との間でやりとりする制御情報。With the diversification of data processing in recent computer systems, the functions of input/output control devices have also become more complex, and control information exchanged with devices.
データ量が多くなる動向にあり、特定のデバイスと接続
されている時間が伸びる傾向にある。The amount of data is increasing, and the amount of time connected to a specific device is also increasing.
一方、該入出力接続装置に接続されるデバイスの数も多
くなっており、1つのデバイスに長時間拘束されること
は、処理能力に限界のある該入出力制御装置の処理効率
を低下させる要因ともなってきている。On the other hand, the number of devices connected to the input/output connection device is increasing, and being tied to one device for a long time is a factor that reduces the processing efficiency of the input/output control device, which has a limited processing capacity. It is becoming more and more common.
このような事情から、上記、転送制御装置(チャネル)
からデータ転送の停止指示を受けた後の、入出力制御装
置とデバイス間で行われるダミーデータの転送、即ち、
上記トランケーション動作を短時間で行い、該入出力制
御装置が1つのデバイスに拘束される時間をできる限り
短縮して、当該入出力制御装置の処理効率を向上させる
データ転送制御方式が要求される。Due to these circumstances, the above transfer control device (channel)
Transfer of dummy data between the input/output control device and the device after receiving an instruction to stop data transfer from
There is a need for a data transfer control method that performs the truncation operation in a short time, reduces the time that the input/output control device is tied to one device as much as possible, and improves the processing efficiency of the input/output control device.
〔従来の技術と発明が解決しようとする課題〕第3図は
従来のデータ転送制御方式を説明する図であって、(a
)は従来の計算機システムの構成の概要を示し、(b)
は入出力制御装置のデータ転送回路(ライト時)の概要
を示している。[Prior art and problems to be solved by the invention] FIG. 3 is a diagram explaining a conventional data transfer control system, and (a
) shows an overview of the configuration of a conventional computer system, and (b)
shows an overview of the data transfer circuit (at the time of writing) of the input/output control device.
通常、磁気ディスク装置、半導体ディスク装置。Usually magnetic disk devices, semiconductor disk devices.
磁気ディスクキャッシュ等においては、初期化時のフォ
ーマットライトにおいて、1トラツク内にデータを格納
する複数個のレコードを設定し、それぞれのレコードは
カウント部(C)、キ一部(KEY)。In a magnetic disk cache, etc., a plurality of records for storing data are set in one track during format writing during initialization, and each record has a count part (C) and a key part (KEY).
データ部(DATA)からなり、該カウント部(C)に
おいて、該レコードのデータ部(DATA)のデータ長
(バイト数)を規定している。It consists of a data section (DATA), and the count section (C) defines the data length (number of bytes) of the data section (DATA) of the record.
然して、ソフトウェアにおいては、各レコードの全ての
データ部(DATA)を使用するとは限らない為、ソフ
トウェアからライト動作が行われた場合、該ソフトウェ
アの発行する入出力命令が指示するバイト数(チャネル
コマンド語(CCW)のバイトカウント部(BC)で指
示される)を転送した時点で、転送制御装置(チャネル
)12から転送停止指示を受けると、入出力制御装置3
は転送制御装置(チャネル)12との接続を断って、自
律・的に、該レコードのカウント部(C)が指示する残
りのデータ長をダミーデータ(通常、全″00”)とし
て、デバイス4に対してライトする。However, since software does not necessarily use all the data parts (DATA) of each record, when a write operation is performed from software, the number of bytes (channel command) specified by the input/output command issued by the software When a transfer stop instruction is received from the transfer control device (channel) 12 at the time when the byte count part (BC) of the word (CCW) has been transferred, the input/output control device 3
The device 4 disconnects from the transfer control device (channel) 12 and autonomously sets the remaining data length specified by the count section (C) of the record as dummy data (usually all "00"). Write to.
この場合、インコレクトレングスチエツクはサプレスし
ておく。但し、該カウント部(C)が指示する全てのバ
イト長をライトする時には、該チェツクを生かすように
動作させる。In this case, the in-collect length check is suppressed. However, when writing all the byte lengths specified by the count section (C), the check is made to take advantage of the operation.
これは、ソフトウェア面から見たデータの記録バイト数
を保証する為(即ち、全レコードをリードした時のイン
コレクトレングスチエツクを保証する為)のもので、通
常、本体系ではストップ動作、入出力制御装置系では、
トランケージロン動作と呼ばれているものである。This is to guarantee the number of recorded bytes of data from the software perspective (that is, to guarantee the in-collect length check when all records are read), and normally in the main system, stop operation, input/output In the control system,
This is called a truncation action.
リードの時には、転送制御装置12から転送停止指示が
かかった所迄のデータをリードするのみで、以降のデー
タは無視される。従って、この場合にも、インコレクト
レングスチエ・ツクについてはライトの時と同じように
サプレスする。そして、上記カウント部(C)が指示す
るバイト数の全てをリードする時のみ該チエツクは生か
される。At the time of reading, only the data up to the point where the transfer stop instruction is received from the transfer control device 12 is read, and the subsequent data is ignored. Therefore, in this case as well, the in-collect length check is suppressed in the same way as when writing. Then, the check is activated only when the entire number of bytes specified by the counting section (C) is read.
上記のライト動作の具体的な動作を本図によって更に詳
細に説明する。The specific operation of the above write operation will be explained in more detail with reference to this figure.
先ず、本図の(a)において、本体装置1の中央処理装
置(CPU) 11が特定のソフトウェアを実行して、
入出力命令を発行することにより、転送制御装置(チャ
ネル)12が、図示していない主記憶装置(MS)から
チャネルコマンド語(CCW)を読み出し、入出力制御
装置3を介して、デバイス4との間で入出力処理を実行
する。First, in (a) of the figure, the central processing unit (CPU) 11 of the main unit 1 executes specific software,
By issuing an input/output command, the transfer control device (channel) 12 reads a channel command word (CCW) from a main memory (MS) (not shown), and communicates it with the device 4 via the input/output control device 3. Execute input/output processing between.
このとき、転送制御装置(チャネル)12において、上
記チャネルコマンド語(CCW)に指示されているバイ
トカウント(BC)数だけのデータを転送したことを認
識すると、制御線を介して入出力制御装置3に転送停止
指示(STOP)を送出する。At this time, when the transfer control device (channel) 12 recognizes that data as many as the byte count (BC) indicated by the channel command word (CCW) has been transferred, the input/output control device 3, a transfer stop instruction (STOP) is sent.
入出力制御装置3は、チャネルインタフェース制御回路
31を介して、該転送停止指示(STOP)を受信し、
転送停止信号切出し回路34aで認識すると1.フリッ
プフロップ(FF) 34bをセットし、「*5TOP
J信号を付勢して、転送制御回路32の論理積ゲート
回路32aを抑止するように動作する。The input/output control device 3 receives the transfer stop instruction (STOP) via the channel interface control circuit 31,
When recognized by the transfer stop signal extraction circuit 34a, 1. Set flip-flop (FF) 34b and select “*5TOP
It operates to energize the J signal and inhibit the AND gate circuit 32a of the transfer control circuit 32.
このとき、上記チャネルコマンド語(CCW)の中ノ[
サーチII)コマンド」によって、特定のレコードのヘ
ッダ、即ち、カウント部(C)、キ一部(KEY)を読
み取っているので、該データ転送すべきレコードのバイ
ト数が、該転送制御回路32の転送バイトカウンタ32
cに設定されていて、転送スピード発振器(回路)35
aからの固定のクロック■で、該転送バイトカウンタ3
2cが0゛になる迄、上記抑止された論理積ゲート回路
32aの出力、即ち、°OO°信号を前述のダミーデー
タとしてデバイス4に転送するように機能する。At this time, the middle [
Since the header of a specific record, that is, the count part (C) and key part (KEY) are read by the "Search II) command", the number of bytes of the record to be transferred is determined by the transfer control circuit 32. Transfer byte counter 32
c, and the transfer speed oscillator (circuit) 35
With a fixed clock from a, the transfer byte counter 3
Until 2c becomes 0, the inhibited output of the AND gate circuit 32a, ie, the °OO° signal, is transferred to the device 4 as the dummy data.
従って、従来方式においては、転送制御装置(チャネル
)12からのデータ転送動作が終了しても、デバイス4
に対するダミーデータの転送を、上記転送スピード発振
器(回路)35aが指示するクロック■に基づく該転送
制御装置の転送能力(上位装置間の転送スピード)の侭
で継続することになる。Therefore, in the conventional method, even if the data transfer operation from the transfer control device (channel) 12 is completed, the device 4
The transfer of dummy data to the transfer control device continues based on the clock {circle around (2)} instructed by the transfer speed oscillator (circuit) 35a while the transfer capability (transfer speed between higher-level devices) of the transfer control device is maintained.
従って、長いデータバイトの転送時の初頭に、上記転送
停止指示(STOP)が出力された場合でも、入出力制
御装置3は該停止された転送制御装置(チャネル)12
との間のデータ転送速度で、デバイス4との間で、残さ
れたバイトのダミーデータをライトする為の転送時間を
必要とする。Therefore, even if the above-mentioned transfer stop instruction (STOP) is output at the beginning of the transfer of a long data byte, the input/output control device 3
At the data transfer rate between the device 4 and the device 4, a transfer time is required to write the remaining bytes of dummy data.
このことは、一定の長さのデータが転送される場合にお
いて、データのどの部分で該5TOP指示が発行されて
も、入出力制御装置3のそのデータ転送に係る制御時間
は一定であり、尚、且つ幾ら入出力制御装置3.及びデ
バイス4に転送能力(転送速度)があっても、接続され
る上位の転送制御装置(チャネル)の転送能力に依存さ
れる結果となり、該ダミーデータの転送制御時間が短縮
できないという問題があった。This means that when data of a certain length is transferred, no matter which part of the data the 5TOP instruction is issued, the control time of the input/output control device 3 for that data transfer is constant. , and how many input/output control devices 3. Even if the device 4 has the transfer capability (transfer speed), it depends on the transfer capability of the upper transfer control device (channel) to which it is connected, and there is a problem that the transfer control time for the dummy data cannot be shortened. Ta.
本発明は上記従来の欠点に鑑み、計算機システムにおけ
る転送制御装置(チャネル装置)と入出力制御装置と、
デバイス、特に、レコード毎に、そのヘッダのカウント
部(C)によって該レコード内のデータ部のバイト数を
規定している、磁気ディスク、半導体ディスク、磁気デ
ィスクキャッシュ等との間で行われるデータ転送動作の
内の、入出力制御装置とデバイス間のトランケーション
動作におけるデータ転送制御方式において、転送制御装
置(チャネル)が人出力制御装置に発行するデータ転送
停止指示(STOP)後の、残りのデータをデバイスと
の間で高速転送させる入出力制御装置でのデータ転送制
御方式を提供することを目的とするものである。In view of the above conventional drawbacks, the present invention provides a transfer control device (channel device) and an input/output control device in a computer system,
Data transfer performed between devices, especially magnetic disks, semiconductor disks, magnetic disk caches, etc., in which the number of bytes of the data section in each record is specified by the count section (C) of the header of the record. In the data transfer control method in the truncation operation between the input/output control device and the device, the remaining data is sent after the data transfer stop instruction (STOP) issued by the transfer control device (channel) to the human output control device. The object of the present invention is to provide a data transfer control method for an input/output control device that allows high-speed transfer between devices.
第1図は本発明のデータ転送制御方式の原理構成図であ
る。FIG. 1 is a diagram showing the principle structure of the data transfer control system of the present invention.
上記の問題点は下記の如くに構成されたデータ転送制御
方式によって解決される。The above problems are solved by a data transfer control system configured as follows.
中央処理装置(CPU) 11の発行する入出力命令に
基づいて、転送制御装置12とデバイス4との間で行わ
れるデータ転送を制御しているときに、上記転送制御装
置12からのデータ転送停止指令を検出する手段34と
、該データ転送の停止指示を受領後、残された規定バイ
ト数のデータをデバイス4に書き込む手段32を備えた
入出力制御装置3において、
該デバイス4に書き込むべき、上記残りの規定バイト数
のデータ転送を、上記転送制御装置12との間のデータ
転送手段から切り離して、該入出力制御装置3と、デバ
イス4間の最大転送能力で転送する制御手段35を備え
て、
上記転送制御装置12からのデータ転送停止指令を検出
後、残りの規定バイト数のデータ転送を、入出力制御装
置3とデバイス4との間の最大転送速度で転送するよう
に構成する。When data transfer is being controlled between the transfer control device 12 and the device 4 based on input/output commands issued by the central processing unit (CPU) 11, data transfer from the transfer control device 12 is stopped. In the input/output control device 3, which includes a means 34 for detecting a command and a means 32 for writing a specified number of bytes of data remaining in the device 4 after receiving the instruction to stop the data transfer, The control means 35 separates the data transfer of the remaining predetermined number of bytes from the data transfer means with the transfer control device 12 and transfers the data between the input/output control device 3 and the device 4 at the maximum transfer capacity. After detecting the data transfer stop command from the transfer control device 12, the remaining specified number of bytes of data is transferred at the maximum transfer speed between the input/output control device 3 and the device 4.
即ち、本発明によれば、計算機システムにおける転送制
御装置(チャネル)と入出力制御装置と。That is, according to the present invention, a transfer control device (channel) and an input/output control device in a computer system.
デバイス、特に、レコード毎に、そのヘッダのカウント
部(C)によって該レコード内のデータ部のバイト数を
規定している、磁気ディスク、半導体ディスク、磁気デ
ィスクキャッシュ等との間に行われるデータ転送動作の
内の、入出力制御装置とデバイス間のトランケーション
動作におけるブタ転送制御方式において、転送制御装置
(チャネル)からのST叶指令受領後、それまで転送制
御装置との間で行われていた転送速度を、その入出力制
御装置、及び制御対象デバイスが持つ最大の転送速度に
切り換えて、残りのデータ (ダミーデータ)の転送(
ライト)を行うようにしたものである。Data transfer performed between devices, especially magnetic disks, semiconductor disks, magnetic disk caches, etc., in which the number of bytes of the data section in each record is specified by the count section (C) of the header of the record. In the pig transfer control method in the truncation operation between the input/output control device and the device, after receiving the ST command from the transfer control device (channel), the transfer that was previously performed with the transfer control device Transfer the remaining data (dummy data) by switching the speed to the maximum transfer speed of the input/output control device and controlled device.
Write).
即ち、入出力制御装置を介しての、転送制御装置とデバ
イスとの間のデータ転送(ライト)において、該転送制
御装置から指令されたデータ転送停止指令を入出力制御
装置が受は取ると、チャネルインタフェース制御回路か
ら転送スピード切換え回路に、該データ転送停止後の転
送スピード切り換え指示を与える。That is, in data transfer (write) between a transfer control device and a device via an input/output control device, when the input/output control device receives a data transfer stop command from the transfer control device, A transfer speed switching instruction after the data transfer is stopped is given to the transfer speed switching circuit from the channel interface control circuit.
これにより、該転送スピード切換え回路は、今迄行われ
ていた転送制御装置間の転送スピードを、該制御配下の
デバイスとの間で行い得る最大の転送スピードに切り換
え、残りのバイトのダミーデータを、該切り換えた転送
スピードでデバイスに書き込むように機能させる。As a result, the transfer speed switching circuit switches the transfer speed between the transfer control devices that has been performed up to now to the maximum transfer speed that can be performed between the devices under the control, and transfers the remaining bytes of dummy data. , and causes the device to function to write at the switched transfer speed.
従って、転送制御回路(チャネル)からのデータ転送停
止指示後のデバイスに対するダミーデータの転送時間を
、上位の転送制御装置(チャネル)の転送能力によるこ
となく、入出力制御装置。Therefore, the transfer time of dummy data to the device after the data transfer stop instruction from the transfer control circuit (channel) is determined by the input/output control device without depending on the transfer capability of the upper transfer control device (channel).
及びデバイスの持つ最大転送能力で行うことにより、入
出力制御装置に係るデータ転送制御時間を短縮でき、当
該入出力制御装置の処理効率を向上させることができる
効果がある。By using the maximum transfer capacity of the device, the data transfer control time of the input/output control device can be shortened, and the processing efficiency of the input/output control device can be improved.
以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.
前述の第1図が本発明のデータ転送制御方式の原理構成
図であり、第2図は本発明の一実施例を示した図であり
、(a)は構成例を示し、(bl) 、 (b2)は停
止動作例を示した図であり、第1図、第2図に示した転
送スピード切替回路35が本発明を実施するのに必要な
手段である。尚、企図を通して同じ符号は同じ対象物を
示している。The above-mentioned FIG. 1 is a diagram showing the principle configuration of the data transfer control system of the present invention, and FIG. 2 is a diagram showing an embodiment of the present invention, where (a) shows an example of the configuration, (bl), (b2) is a diagram showing an example of a stopping operation, and the transfer speed switching circuit 35 shown in FIGS. 1 and 2 is a necessary means to implement the present invention. Note that the same reference numerals refer to the same objects throughout the plan.
以下、第1図を参照しながら第2図によって本発明のデ
ータ転送方式を説明する。Hereinafter, the data transfer system of the present invention will be explained with reference to FIG. 2 while referring to FIG.
本発明を実施しても、半導体ディスク装置、磁気ディス
ク装置といった類のデバイスに対する入出力処理の基本
的な動作は、従来方式と特に変わることはないので省略
し、ここでは、転送制御装置(チャネル)12からの転
送停止指示後のダミーデータ書込み制御を中心にして説
明する。Even if the present invention is implemented, the basic operation of input/output processing for devices such as semiconductor disk drives and magnetic disk drives will not be particularly different from conventional methods, so the explanation will be omitted here. ) 12 will be mainly described with reference to dummy data write control after a transfer stop instruction is issued.
先ず、転送制御装置(チャネル) 12とデバイス4間
のライトモードによるデータ転送は、該転送制御装置(
チャネル)12からの転送データが入出力制御装置3の
チャネルインタフェース制御回路31により受信され、
データバッファ回路31a。First, data transfer between the transfer control device (channel) 12 and the device 4 in write mode is performed by the transfer control device (channel) 12 and the device 4.
Transfer data from the channel) 12 is received by the channel interface control circuit 31 of the input/output control device 3,
Data buffer circuit 31a.
転送制御回路32.データバッファ回路33aを経由し
、デバイスインタフェース制御回路33を経てデバイス
4に転送される。Transfer control circuit 32. The data is transferred to the device 4 via the data buffer circuit 33a and the device interface control circuit 33.
このデータ転送途上に、上記転送制御装置(チャネル)
12がデータ転送停止(STOP)指令を発行する場合
、点線で示した制御線■上に転送停止(STOP)定義
信号(公知の入出力インタフェースでは、通常コマンド
アウト信号により指令する)を“オン”とし指令する。During this data transfer, the transfer control device (channel)
When 12 issues a data transfer stop (STOP) command, the transfer stop (STOP) definition signal (usually commanded by a command out signal in a known input/output interface) is turned on on the dotted control line ■. and give commands.
入出力制御装置3では、チャネルインタフェース制御回
路31で、この停止指令を検知し、転送停止信号切出し
回路34aによりパルス切出しが行われる。In the input/output control device 3, the channel interface control circuit 31 detects this stop command, and the transfer stop signal cutting circuit 34a cuts out the pulse.
該切出された停止指示パルスは、各制御回路に停止制御
指示を与える為にフリップフロップ(FF)(以下、5
TOP FFという)34bに記憶される。この5TO
P FF 34bはデータ転送が開始される前にリセッ
トされ、’5TOP=0’ 、“本5TOP=1”の状
態となり、上記停止指示パルスにより°5TOP= 1
”、 ’*5top=o’の状態が記憶される。The extracted stop instruction pulse is sent to a flip-flop (FF) (hereinafter referred to as 5) in order to give a stop control instruction to each control circuit.
(referred to as TOP FF) 34b. This 5TO
The PFF 34b is reset before data transfer is started, and becomes in the state of '5TOP=0' and 'main 5TOP=1', and the above stop instruction pulse sets °5TOP=1.
”, the state of '*5top=o' is stored.
該5TOP FFの“オン“/“オフ゛状態により、各
制御回路を作動させる制御クロック■の周波数の切替え
が行われる。Depending on the "on"/"off" state of the 5TOP FF, the frequency of the control clock (2) for operating each control circuit is switched.
転送制御装置(チャネル)12からの停止指示がない場
合の5TOP FF 34bは、上記“5TOP・0”
、 ’*si。When there is no stop instruction from the transfer control device (channel) 12, the 5TOP FF 34b is the above “5TOP・0”.
, '*si.
P=1゛の状態となり、発振器切替えゲート35cによ
りチャネル間転送スピード発振器35aを選択し、上記
制御クロック■の周波数をチャネル間転送スピードに設
定しているが、上記停止指示を受けることにより、上記
5TOP FP 34bは°5TOP・1°、“*sr
。P = 1'', the inter-channel transfer speed oscillator 35a is selected by the oscillator switching gate 35c, and the frequency of the control clock ■ is set to the inter-channel transfer speed. 5TOP FP 34b is °5TOP・1°, “*sr
.
P=0”の状態となり、デバイス間最大転送スピード発
振器35bが発振器切替えゲート35dで選択され、入
出力制御装置3とデバイス4間の最大転送スピードに合
わせた制御クロック周波数に切り替えが行われる。P=0'', the inter-device maximum transfer speed oscillator 35b is selected by the oscillator switching gate 35d, and the control clock frequency is switched to match the maximum transfer speed between the input/output control device 3 and the device 4.
各々のクロック周波数■は論理和ゲート35eで論理和
され、各データ転送制御回路に送出されて制御される。Each clock frequency (2) is ORed by an OR gate 35e, and sent to each data transfer control circuit for control.
即ち9、通常のデータ転送時はチャネル間データ転送ス
ピードに同期した制御クロック■で動作し、上記転送制
御装置(チャネル)12からの停止指示後は、デバイス
間の最大転送スピードで、転送制御回路32の転送バイ
トカウンタ32cが規定のバイト(通常、該転送バイト
カウンタ32cは各レコードのカウント部(C)が指定
する転送バイト数がセットされ、転送データのバイト数
に合わせてデクリメントされ、値が0”になった時、転
送終了となる)に達する迄転送される。In other words, during normal data transfer, the transfer control circuit operates with a control clock synchronized with the inter-channel data transfer speed, and after receiving a stop instruction from the transfer control device (channel) 12, the transfer control circuit operates at the maximum transfer speed between devices. 32 transfer byte counter 32c is set to a specified number of bytes (normally, the transfer byte counter 32c is set to the number of transfer bytes specified by the count section (C) of each record, is decremented according to the number of bytes of transfer data, and the value is 0", the transfer ends).
そして、前述の転送制御装置(チャネル)12からの転
送停止指令後のデバイス4へのデータ転送は、前述のよ
うに、転送制御回路32がダミーデータを生成して該デ
バイス4に送出される。When data is transferred to the device 4 after receiving the transfer stop command from the transfer control device (channel) 12, the transfer control circuit 32 generates dummy data and sends it to the device 4, as described above.
通常、このダミーデータは°00゛ のデータが一般に
使用されるが、本実施例においても、該’oo’のダミ
ーデータを生成する。即ち、上記5TOP FF34b
が、上記転送停止指令ニテ’5TOP=1’ 、 ’*
s’rop=O”の状態となることにより、転送制御回
路32の論理積ゲート32aが抑止され、論理積ゲート
32bに°0”信号を出力することで、該転送停止後の
転送バイトカウンタ32cが0”となる迄、該ダミーデ
ータ(°00”データ)がデバイス4に送出され“00
′が書かれる。Normally, this dummy data is data of 000, but in this embodiment, dummy data of 00 is also generated. That is, the above 5TOP FF34b
However, the above transfer stop command '5TOP=1', '*
By entering the state of s'rop=O'', the AND gate 32a of the transfer control circuit 32 is inhibited, and by outputting the °0'' signal to the AND gate 32b, the transfer byte counter 32c after the transfer is stopped. The dummy data (°00” data) is sent to the device 4 until “00” becomes “0”.
' is written.
前述のように、このダミーデータの書込み時の各転送制
御回路は、前述の転送制御装置(チャネル)12間との
転送制御スピードから切り離され、デバイス間の最大転
送スピードに同期する。As described above, each transfer control circuit when writing this dummy data is separated from the transfer control speed between the transfer control devices (channels) 12 described above and synchronized with the maximum transfer speed between devices.
第2図(h)は該デバイス4に、例えば、半導体ディス
ク装置を例にとり、入出力制御装置3.及び該ディスク
4の転送能力は6 MB/secを有し、本体側の転送
制御装置(チャネル) 12の転送能力が3 MB/s
ecを持つ情報処理システムの場合に実行される停止動
作を示している。FIG. 2(h) shows that the device 4 is, for example, a semiconductor disk device, and the input/output control device 3. The transfer capacity of the disk 4 is 6 MB/sec, and the transfer capacity of the transfer control device (channel) 12 on the main body side is 3 MB/s.
It shows a stop operation executed in the case of an information processing system with ec.
通常の転送制御装置(チャネル)12との間のデータ転
送は、上位の転送制御装置(チャネル)12に合わせて
、上記3 MB/secに設定され、該転送制御装置(
チャネル)12とデバイス4との間のデータ転送が行わ
れる。Data transfer with the normal transfer control device (channel) 12 is set to the above-mentioned 3 MB/sec in accordance with the upper transfer control device (channel) 12.
Data transfer between channel) 12 and device 4 takes place.
ここで、上記転送制御装置(チャネル)12より転送停
止指示がなされると、デバイス、即ち、半導体ディスク
制御装置(入出力制御装置)3は、上記転送制御装置間
での3 MB/secの転送スピード。Here, when the transfer control device (channel) 12 issues a transfer stop instruction, the device, that is, the semiconductor disk control device (input/output control device) 3, transfers 3 MB/sec between the transfer control devices. speed.
から、自己装置、及び半導体ディスク装置4の最大の転
送能力である上記6 MB/seeに転送スピードを切
り替え、残された規定バイトの書き込み動作を′m続し
、前述の転送バイトカウンタ32cが0゛になると、本
転送動作を終了する。Then, the transfer speed is switched to 6 MB/see, which is the maximum transfer capacity of the self-device and the semiconductor disk device 4, and the writing operation of the remaining specified bytes continues until the transfer byte counter 32c described above reaches 0. When this happens, the main transfer operation ends.
本実施例によれば、全体転送バイト数をNとし、N、の
バイトを転送後、前述の転送停止指示が行われた場合、
N2分の残りのデータがデバイス4に対してダミーデー
タとして書かれることになる。According to this embodiment, when the total number of transferred bytes is N, and the above-mentioned transfer stop instruction is issued after N bytes have been transferred,
The remaining data for N2 will be written to device 4 as dummy data.
この場合、(bl)図に示した従来方式においては、全
体のデータ転送に要する時間は、
N X 3 MB/5ec= (N、+Nz) X
3 MB/seeの時間を要することになる。In this case, in the conventional method shown in figure (bl), the time required for the entire data transfer is N x 3 MB/5ec= (N, +Nz)
This will require a time of 3 MB/see.
然して、本発明によれば、(b2)図に示したように、
全体の所要時間を、
(N+ X 3 MB/5ec)+ (Nz X 6
MB/5ec)にできることから、N2分のデータ転送
時間を172にすることができる。However, according to the present invention, as shown in figure (b2),
The total time required is (N+ X 3 MB/5ec) + (Nz X 6
MB/5ec), the data transfer time for N2 minutes can be reduced to 172.
このように、本発明は、計算機システムにおける転送制
御装置(チャネル装置)と入出力制御装置と、デバイス
、特に、レコード毎に、そのヘッダのカウント部(C)
によって該レコード内のデータ部のバイト数を規定して
いる、磁気ディスク。As described above, the present invention provides a transfer control device (channel device), an input/output control device, and a device in a computer system, and in particular, the count section (C) of the header for each record.
A magnetic disk in which the number of bytes of the data section in the record is defined by
半導体ディスク、磁気ディスクキャッシュ等との間に行
われるデータ転送動作の内の、入出力制御装置とデバイ
ス間のトランケーション動作におけるデータ転送制御方
式において、転送制御装置からの転送停止指令を受領後
は、それまで、該転送制御装置との間で行ってきた転送
スピードを、その入出力制御装置、及び制御対象デバイ
スが持つ最大の転送スピードに切り替えて、該転送停止
指示後の規定バイト数のデータ転送を行うようにした所
に特徴がある。In the data transfer control method for the truncation operation between the input/output control device and the device, which is the data transfer operation performed between semiconductor disks, magnetic disk caches, etc., after receiving a transfer stop command from the transfer control device, Switch the transfer speed that had been performed with the transfer control device to the maximum transfer speed of the input/output control device and controlled device, and transfer the specified number of bytes of data after receiving the transfer stop instruction. It is distinctive in that it is designed to do this.
以上、詳細に説明したように、本発明によるデータ転送
制御方式は、計算機システムにおける転送制御装置(チ
ャネル装置)と人出力制御装置と。As described above in detail, the data transfer control method according to the present invention is applicable to a transfer control device (channel device) and a human output control device in a computer system.
デバイス、特に、レコード毎に、そのヘッダのカウント
部(C)によって該レコード内のデータ部の・バイト数
を規定している、磁気ディスク、半導体ディスク、磁気
ディスクキャッシュ等との間に行われるデータ転送動作
の内の、入出力制御装置とデバイス間のトランケーショ
ン動作におけるデータ転送制御方式において、中央処理
装置(CPU)の発行する入出力命令に基づいて、転送
制御装置とデバイスとの間で行われるデータ転送を制御
しているときに、上記転送制御装置からのデータ転送停
止指令を検出する手段と、該データ転送の停止指示を受
領後、残された規定バイト数のデータをデバイスに書き
込む手段を備えた入出力制御装置において、上記転送制
御装置からのデータ転送停止指示後の該デバイスに書き
込むべき残りの規定バイト数のデータ転送を、上記転送
制御装置との間のデータ転送手段から切り離して、該入
出力制御装置と、デバイス間の最大転送能力で転送する
制御手段を備えて、上記転送制御装置からのデータ転送
停止指令を検出後、残りの規定バイト数のデータ転送を
、入出力制御装置とデバイス(4)との間の最大転送速
度で転送するようにしたものであるので、転送制御回路
(チャネル)からのブタ転送停止指示後のデバイスに対
するダミーデータの転送時間を、上位の転送制御装置(
チャネル)の転送能力によることなく、入出力制御装置
。Data transmitted between devices, especially magnetic disks, semiconductor disks, magnetic disk caches, etc., which defines the number of bytes of the data section in each record by the count section (C) of the header of each record. In the data transfer control method for the truncation operation between the input/output control device and the device in the transfer operation, it is performed between the transfer control device and the device based on the input/output command issued by the central processing unit (CPU). Means for detecting a data transfer stop command from the transfer control device when controlling data transfer, and means for writing a specified number of remaining bytes of data to the device after receiving the data transfer stop instruction. In the input/output control device equipped with the above-mentioned input/output control device, the data transfer of the remaining specified number of bytes to be written to the device after the data transfer stop instruction from the transfer control device is separated from the data transfer means with the transfer control device, The input/output control device is provided with a control means for transferring data at the maximum transfer capacity between the devices, and after detecting a data transfer stop command from the transfer control device, the input/output control device transfers the remaining prescribed number of bytes of data. Since the data is transferred at the maximum transfer speed between the transfer control circuit (channel) and the device (4), the transfer time of dummy data to the device after the transfer stop instruction from the transfer control circuit (channel) is determined by the upper transfer control. Device(
input/output control device without depending on the transfer capacity of the channel).
及びデバイスの持つ最大転送能力で行うことにより、入
出力制御装置に係るデータ転送制御時間を短縮でき、当
該入出力制御装置の処理効率を向上させることができる
効果がある。By using the maximum transfer capacity of the device, the data transfer control time of the input/output control device can be shortened, and the processing efficiency of the input/output control device can be improved.
第1図が本発明のデータ転送制御方式の原理構成図。
第2図は本発明の一実施例を示した図。
第3図は従来のデータ転送制御方式を説明する図。
である。
図面において、
1は本体装置、11は中央処理装置(CPU)。
12は転送制御装置(チャネル)。
3は入出力制御装置、又は半導体ディスク制御装。
置。
31はチャネルインタフェース制御回路。
32は転送制御回路、
32a 、 32bは論理積ケート。
32cは転送バイトカウンタ。
33はデバイスインタフェース制御回路。
34は転送停止判定回路。
34aは転送停止信号切出し回路。
34bはフリップフロップ(FF) (STOP FF
) 。
35は転送スピード切替回路。
35aはチャネル間転送スピード発振器。
35bはデバイス間最大転送スピード発振器。
35c、 35dは発振器切替えゲート35eは論理和
ゲート。
4はデバイス、又は、
■は制御l線。
■はクロック周波数。
をそれぞれ示す。
半導体ディスク装置。
又は制御クロック。FIG. 1 is a diagram showing the principle configuration of the data transfer control system of the present invention. FIG. 2 is a diagram showing an embodiment of the present invention. FIG. 3 is a diagram explaining a conventional data transfer control method. It is. In the drawings, 1 is a main unit, and 11 is a central processing unit (CPU). 12 is a transfer control device (channel); 3 is an input/output control device or a semiconductor disk control device. Place. 31 is a channel interface control circuit. 32 is a transfer control circuit; 32a and 32b are AND gates; 32c is a transfer byte counter. 33 is a device interface control circuit. 34 is a transfer stop determination circuit. 34a is a transfer stop signal extraction circuit. 34b is a flip-flop (FF) (STOP FF
). 35 is a transfer speed switching circuit. 35a is an inter-channel transfer speed oscillator. 35b is the maximum transfer speed oscillator between devices. 35c, 35d are oscillator switching gates 35e are OR gates. 4 is a device, or ① is a control line. ■ is the clock frequency. are shown respectively. Semiconductor disk device. Or control clock.
Claims (1)
に基づいて、転送制御装置(12)とデバイス(4)と
の間で行われるデータ転送を制御しているときに、上記
転送制御装置(12)からのデータ転送停止指令を検出
する手段(34)と、該データ転送の停止指示を受領後
、残された規定バイト数のデータをデバイス(4)に書
き込む手段(32)を備えた入出力制御装置(3)にお
いて、 該デバイス(4)に書き込むべき、上記残りの規定バイ
ト数のデータ転送を、上記転送制御装置(12)との間
のデータ転送手段から切り離して、該入出力制御装置(
3)と、デバイス(4)間の最大転送能力で転送する制
御手段(35)を備えて、上記転送制御装置(12)か
らのデータ転送停止指令を検出後、残りの規定バイト数
のデータ転送を、入出力制御装置(3)とデバイス(4
)との間の最大転送速度で転送することを特徴とするデ
ータ転送制御方式。[Claims] When controlling data transfer between a transfer control device (12) and a device (4) based on an input/output command issued by a central processing unit (CPU) (11). means (34) for detecting a data transfer stop command from the transfer control device (12); and means for writing a specified number of remaining bytes of data into the device (4) after receiving the data transfer stop command. (32), the remaining specified number of bytes of data to be written to the device (4) is transferred from the data transfer means with the transfer control device (12). Disconnect the input/output control device (
3) and a control means (35) that transfers data at the maximum transfer capacity between the devices (4), and after detecting a data transfer stop command from the transfer control device (12), transfers the remaining specified number of bytes of data. , input/output controller (3) and device (4)
) is a data transfer control method characterized by transferring data at the maximum transfer speed between.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19678988A JPH0245855A (en) | 1988-08-06 | 1988-08-06 | Data transferring control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19678988A JPH0245855A (en) | 1988-08-06 | 1988-08-06 | Data transferring control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0245855A true JPH0245855A (en) | 1990-02-15 |
Family
ID=16363672
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19678988A Pending JPH0245855A (en) | 1988-08-06 | 1988-08-06 | Data transferring control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0245855A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05290507A (en) * | 1992-04-13 | 1993-11-05 | Fujitsu Ltd | Data writing device |
| JPH10143329A (en) * | 1996-11-06 | 1998-05-29 | Nec Ibaraki Ltd | Magnetic disk control device |
| US7400818B2 (en) | 1998-06-22 | 2008-07-15 | Canon Kabushiki Kaisha | Recording apparatus having a pause mode in which video signals are written to memory by cyclically designating write addresses |
-
1988
- 1988-08-06 JP JP19678988A patent/JPH0245855A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05290507A (en) * | 1992-04-13 | 1993-11-05 | Fujitsu Ltd | Data writing device |
| JPH10143329A (en) * | 1996-11-06 | 1998-05-29 | Nec Ibaraki Ltd | Magnetic disk control device |
| US7400818B2 (en) | 1998-06-22 | 2008-07-15 | Canon Kabushiki Kaisha | Recording apparatus having a pause mode in which video signals are written to memory by cyclically designating write addresses |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH06105927B2 (en) | Variable data transfer rate control system | |
| CA1103808A (en) | Apparatus for real time transfer of data | |
| JPS6331806B2 (en) | ||
| JPH01140276A (en) | Portable recording medium processor | |
| JPS5931743B2 (en) | Duplex system | |
| JPH0642227B2 (en) | Data transfer device | |
| JPH01297756A (en) | Data transfer controller | |
| JP2953874B2 (en) | Magnetic tape device control method for input / output channel device | |
| JPS63293660A (en) | Communication controller | |
| JP2551184B2 (en) | Disk controller | |
| KR940009830B1 (en) | Control logic | |
| JPS61107593A (en) | Magnetic bubble memory device | |
| JPS61198327A (en) | Disc buffer device | |
| JPS59123032A (en) | Input and output control system | |
| JPS61100852A (en) | Data transferring system | |
| JPS62271037A (en) | Control system for transfer of data | |
| JPH02171913A (en) | Optical disk device control system | |
| JPH06314251A (en) | Scsi data transfer device | |
| JPH0786852B2 (en) | Data transfer method for I/O processor | |
| JPS61208158A (en) | Personal computer | |
| JPS62186322A (en) | Disk control device | |
| JPS6370361A (en) | File controller | |
| JPS5855587B2 (en) | Data transfer method of magnetic bubble storage device | |
| JPH0193849A (en) | Control device | |
| JPS6095671A (en) | Common bus buffer controlling system |