JPH01302456A - Data transfer control system using channel control block - Google Patents

Data transfer control system using channel control block

Info

Publication number
JPH01302456A
JPH01302456A JP13296988A JP13296988A JPH01302456A JP H01302456 A JPH01302456 A JP H01302456A JP 13296988 A JP13296988 A JP 13296988A JP 13296988 A JP13296988 A JP 13296988A JP H01302456 A JPH01302456 A JP H01302456A
Authority
JP
Japan
Prior art keywords
channel
data transfer
control block
channel control
transfer
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
JP13296988A
Other languages
Japanese (ja)
Inventor
Tadashi Yoneyama
正 米山
Hiroyuki Kaneko
金子 浩行
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP13296988A priority Critical patent/JPH01302456A/en
Publication of JPH01302456A publication Critical patent/JPH01302456A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make data transfer faster when data between a main memory and an input/output device are transferred with dividing them by executing a processing to replace a next channel command word with a channel control block even when the data transfer under an execution is not completed. CONSTITUTION:A request from a CPU 10 in a data transfer system is received by a microprocessor 31, and a channel command word CCW 1 is fetched from the area of a main memory 20 designated by the request. The CCW 1 fetched by the processor 31 is decoded, and the respective types of transfer parameters necessary for the data transfer at the section of a device 20 designated by the CCW 1 are set at a hardware transfer mechanism. Next, the CCW fetched by the processor 31 is replaced with a channel control block CCWB 1 in a decodable format by means of a magnetic disk controller 50, and it is stored in one of CCB memory areas CCBA1 or CCBA2 secured in a RAM 33.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、CPUからの要求に応じて主記憶装置から
チャネルに取出したチャネルコマンド語を、入出力装置
を制御するコントローラが解読可能なチャネル制御ブロ
ックに変換し、このチャネル制御ブロックに従ってコン
トローラによるチャネル、入出力装置間のデータ転送が
行われるデータ転送制御方式に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) This invention provides a channel command word retrieved from a main storage device to a channel in response to a request from a CPU, to a controller that controls an input/output device. The present invention relates to a data transfer control method in which a controller converts data into a decodable channel control block and transfers data between channels and input/output devices by a controller in accordance with the channel control block.

(従来の技術) 一般に、主記憶装置、ディスクドライブ間のデータ転送
は、CPUからチャネルに対して要求(スタートサブチ
ャネル命令)が発せられることにより、第3図に示す手
順で行われる。まずチャネルは、CPUからの要求を受
付けると、同要求で示される主記憶装置の領域からデー
タ転送に必要な情報(リード/ライトの転送種別、転送
サイズ、転送元および転送先を示すアドレス等を含む情
報)が記述されたチャネルコマンド語CCWをフェッチ
して解読し、このチャネルコマンド語CCWの指定する
主記憶装置との間のデータ転送のためのセットアツプ動
作を行う。またチャネルは、フェッチしたチャネルコマ
ンド語CCWをディスクコントローラが解読可能なフォ
ーマットのチャネル制御ブロックCCBに変換(置換)
し、チャネル内のチャネル制御ブロック格納領域(以下
、CCB格納領域と称する)CCBAに格納する操作を
行う。この操作は、マイクロプログラム処理によって行
われる。
(Prior Art) Generally, data transfer between a main storage device and a disk drive is performed in accordance with the procedure shown in FIG. 3 when a CPU issues a request (start subchannel command) to a channel. First, when a channel receives a request from the CPU, it collects the information necessary for data transfer (read/write transfer type, transfer size, addresses indicating the transfer source and transfer destination, etc.) from the main storage area indicated by the request. The channel command word CCW in which the channel command word CCW is written is fetched and decoded, and a setup operation for data transfer with the main storage device specified by this channel command word CCW is performed. The channel also converts (replaces) the fetched channel command word CCW into a channel control block CCB in a format that can be read by the disk controller.
Then, an operation is performed to store it in a channel control block storage area (hereinafter referred to as CCB storage area) CCBA within the channel. This operation is performed by microprogram processing.

チャネルは、CCB格納領域CCBAにチャネル制御ブ
ロックCCBを格納すると、その旨をディスクコントロ
ーラに通知する。これによりディスクコントローラは、
チャネルのCCB格納領域CCBAからチャネル制御ブ
ロックCCBをフェッチし、同ブロックCCBを解読す
る。次に、ディスクコントローラはチャネルにデータ転
送の要求を発し、チャネルから肯定応答が返されると、
上記フェッチしたブロックCCBの指定するチャネル、
ディスクドライブ間のデータ転送を行う。
When the channel stores the channel control block CCB in the CCB storage area CCBA, the channel notifies the disk controller of this fact. This causes the disk controller to
A channel control block CCB is fetched from the CCB storage area CCBA of the channel, and the block CCB is decoded. The disk controller then issues a request to the channel to transfer data, and upon receiving an acknowledgment from the channel,
The channel specified by the fetched block CCB,
Transfer data between disk drives.

このデータ転送と並行して、チャネル、主記憶装置間の
データ転送がチャネル内のハードウェア転送機構によっ
て行われる。ディスクコントローラは上記のデータ転送
を終了すると、その転送結果のステータス(転送結果ス
テータス)をチャネルに通知するために、同チャネルの
CCB格納領域CCBAにチャネル制御ブロックCCB
をリライトする処理(即ち、実行したデータ転送が正常
に終了したか否かを示す転送結果ステータスをCCBの
所定フィールドに設定してチャネルに通知するCCBリ
ライト処理)を行う。以上が1回のデータ転送の手順で
ある。ここで、ディスクコントローラにおけるCCBフ
ェッチ、データ転送およびCCBリライトから成る一連
の動作をCNT転送(コントローラ転送)と呼ぶ。
In parallel with this data transfer, data transfer between the channel and the main memory is performed by a hardware transfer mechanism within the channel. When the disk controller finishes the above data transfer, it stores a channel control block CCB in the CCB storage area CCBA of the same channel in order to notify the channel of the status of the transfer result (transfer result status).
(ie, CCB rewrite processing that sets a transfer result status indicating whether or not the executed data transfer has ended normally in a predetermined field of the CCB and notifies it to the channel). The above is the procedure for one data transfer. Here, a series of operations consisting of CCB fetch, data transfer, and CCB rewrite in the disk controller is called CNT transfer (controller transfer).

さて、チャネルの最大転送サイズを越える主記憶装置、
ディスクドライブ間のデータ転送を必要とする場合、こ
のデータ転送を何回かに分けて行う必要がある。この場
合、必要なデータ転送を分割して行うためにCCWI 
、CCW2 。
Now, if the main memory exceeds the maximum transfer size of the channel,
If it is necessary to transfer data between disk drives, this data transfer must be performed several times. In this case, CCWI is used to divide the necessary data transfer.
, CCW2.

CCW3・・・のように幾つかのチャネルコマンド語が
主記憶装置に生成され、第4図に示す手順でデータ転送
が行われる。まず、1回目の主記憶装置。
Several channel command words such as CCW3, . . . are generated in the main memory, and data transfer is performed according to the procedure shown in FIG. First, the first main memory.

ディスクドライブ間のデータ転送は、第3図と同一手順
で行われる。次の2回目の転送は、1回目の転送(CN
T転送)の終了を待って、即ちコントローラによるCC
Bリライトが終了してCCB格納領域CCBAが解放さ
れるのを待って、チャネルが第4図に示すように2番目
のチャネルコマンド語CCW2を対応するチャネル制御
ブロックCCB2に置換してCCB格納領域CCBAに
格納した後に行われる。3回目の転送も、2回目の転送
と同様である。明らかなようにチャネルのマイクロプロ
グラム処理ルーチンは、2回目以降の転送では、CCW
Cエフエッチ後コントローラがCCB格納領域CCBA
へのCCBリライトを完了するまでアイドルループ状態
となる。このためCCBへの置換が遅れ、データ転送の
遅延を招く。
Data transfer between disk drives is performed in the same procedure as in FIG. 3. The next second transfer is the first transfer (CN
Waiting for the completion of the CC transfer by the controller
Waiting until the B rewrite is completed and the CCB storage area CCBA is released, the channel replaces the second channel command word CCW2 with the corresponding channel control block CCB2 and stores the CCB storage area CCBA as shown in FIG. This is done after storing the . The third transfer is also similar to the second transfer. As is clear, the channel's microprogram processing routine uses CCW for the second and subsequent transfers.
After CF etching, the controller stores the CCB storage area CCBA.
It remains in an idle loop state until the CCB rewrite to is completed. Therefore, replacement with CCB is delayed, causing a delay in data transfer.

(発明が解決しようとする課題) 上記したように従来は、チャネルの最大転送サイズを越
えるようなデータ転送を、幾つかのチャネルコマンド語
に従って分割して行う場合、データ転送中チャネルのマ
イクロプログラムルーチンは、対応するコントローラの
データ転送が終了してCCBリライトが完了するまでは
、次のチャネルコマンド語をチャネル制御ブロックに置
換する処理に進めず、したがって高速データ転送が行え
ないという問題があった。
(Problem to be Solved by the Invention) As mentioned above, conventionally, when data transfer exceeding the maximum transfer size of a channel is performed by dividing it according to several channel command words, the microprogram routine of the channel during data transfer The problem is that the process of replacing the next channel command word with a channel control block cannot proceed until the data transfer of the corresponding controller is completed and the CCB rewrite is completed, and therefore high-speed data transfer cannot be performed.

したがってこの発明は、実行中のデータ転送が終了しな
くても、次のチャネルコマンド語をチャネル制御ブロッ
クに置換する処理が行え、もってデータ転送の高速化が
図れるようにすることを解決すべき課題とする。
Therefore, the present invention aims to solve the problem of making it possible to replace the next channel command word with a channel control block even if the data transfer in progress is not completed, thereby increasing the speed of data transfer. shall be.

[発明の構成] (課題を解決するための手段) この発明は、主記憶装置からチャネルにフェッチしたチ
ャネルコマンド語から変換されるチャネル制御ブロック
を交互に格納するための2つのチャネル制御ブロック格
納領域をチャネルに設けると共に、入出力装置を制御す
るコントローラに、上記チャネルから上記チャネル制御
ブロックをフェッチして同ブロックの指定するチャネル
、入出力装置間のデータ転送を行い、データ転送終了時
に同ブロックのリライト処理を行う操作を、上記2つの
チャネル制御ブロック格納領域を交互に切替えながら実
行するデータ転送手段を設けたことを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides two channel control block storage areas for alternately storing channel control blocks converted from channel command words fetched from a main memory to a channel. At the same time, the controller that controls the input/output device fetches the channel control block from the channel and transfers data between the channel and input/output device specified by the block, and when the data transfer is completed, The present invention is characterized in that data transfer means is provided for performing the rewrite process while alternately switching between the two channel control block storage areas.

(作用) 上記の構成によれば、2つのチャネル制御ブロック格納
領域の一方の領域に格納されているチャネル制御ブロッ
クに従うデータ転送中でも、次のデータ転送のために主
記憶装置からチャネルにフェッチした次のチャネルコマ
ンド語を、マイクロプログラム処理によって対応するチ
ャネル制御ブロックに変換して上記2つのチャネル制御
ブロック格納領域の他方の領域に格納することができる
。したがってコントローラは、実行中のデータ転送を終
了して上記一方のチャネル制御ブロック格納領域へのチ
ャネル制御ブロックのリライトを行うと、今度は他方の
チャネル制御ブロック格納領域から直ちに次のチャネル
制御ブロックをフェッチして次のデータ転送を行うこと
ができる。
(Operation) According to the above configuration, even during data transfer according to a channel control block stored in one of the two channel control block storage areas, the next data fetched from the main storage to the channel for the next data transfer is can be converted into a corresponding channel control block by microprogram processing and stored in the other of the two channel control block storage areas. Therefore, when the controller finishes the data transfer being executed and rewrites the channel control block in the channel control block storage area of one of the above, it immediately fetches the next channel control block from the other channel control block storage area. Then, the next data transfer can be performed.

(実施例) 第1図はこの発明を適用する情報処理システムの一実施
例を示すブロック構成図である。同図において、lOは
システム全体を制御するCPU。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of an information processing system to which the present invention is applied. In the figure, IO is a CPU that controls the entire system.

20は主記憶装置、30はCPUl0からの要求(スタ
ートサブチャネル命令)に応じて主記憶装置20との間
のデータ転送を行うチャネルである。チャネル30は、
チャネル30全体を制御するマイクロプロセッサ31と
、このマイクロプロセッサ31の制御プログラム等が格
納されるROM32と、RAM33とを有している。こ
のRAM18には、マイクロプロセッサ31のマイクロ
プログラム処理によってチャネルコマンド語から置換さ
れたチャネル制御ブロックを格納するための2つのCC
B (チャネル制御ブロック)格納領域CCBAI、C
CBA2が確保されている。なお、主記憶装置20との
間のデータ転送を行うハード、ウェア転送機構等は省略
されている。
20 is a main memory, and 30 is a channel for transferring data to and from the main memory 20 in response to a request (start subchannel command) from CPU10. Channel 30 is
It has a microprocessor 31 that controls the entire channel 30, a ROM 32 in which control programs for the microprocessor 31, etc. are stored, and a RAM 33. This RAM 18 has two CCs for storing channel control blocks replaced from channel command words by the microprogram processing of the microprocessor 31.
B (channel control block) storage area CCBAI, C
CBA2 is secured. Note that the hardware, hardware transfer mechanism, etc. that transfer data to and from the main storage device 20 are omitted.

40は入出力装置、例えば磁気ディスクドライブ、50
は磁気ディスクドライブ40を制御する磁気ディスクコ
ントローラである。磁気ディスクコントローラ50は、
CCB格納領域CCBAIおよびCCBA2を交互に切
替え、その切替え領域のチャネル制御ブロックに従って
チャネル30.磁気ディスクドライブ40間のデータ転
送を行うように構成される。CCWI〜CCW4は主記
憶装置20に生成されたチャネルコマンド語である。こ
のチャネルコマンド語CCWI〜CCW4は、主記憶装
置20.磁気ディスクドライブ40間のデータ転送に必
要な情報を有しており、この例ではチャネル30の最大
転送サイズを越えた主記憶装置20.磁気ディスクドラ
イブ40間のデータ転送を分割して実行するために生成
されたものである。
40 is an input/output device, for example a magnetic disk drive, 50
is a magnetic disk controller that controls the magnetic disk drive 40. The magnetic disk controller 50 is
The CCB storage areas CCBAI and CCBA2 are alternately switched, and the channel 30 . It is configured to transfer data between magnetic disk drives 40. CCWI to CCW4 are channel command words generated in the main storage device 20. These channel command words CCWI to CCW4 are stored in the main memory 20. The main storage device 20. which has information necessary for data transfer between the magnetic disk drives 40, and which exceeds the maximum transfer size of the channel 30 in this example. It is generated in order to divide and execute data transfer between magnetic disk drives 40.

次に、第1図の構成の動作を、CPUl0によって主記
憶装置20に生成されたチャネルコマンド語CCWI〜
CCW4に従って主記憶装置20.磁気ディスクドライ
ブ40間の連続したデータ転送が行われる場合を例に、
第2図のタイミングチャートを参照して説明する。
Next, the operation of the configuration shown in FIG. 1 will be explained using the channel command words CCWI to
Main memory 20. according to CCW4. Taking as an example a case where continuous data transfer is performed between magnetic disk drives 40,
This will be explained with reference to the timing chart in FIG.

まず、CPUl0からチャネル30に要求(スタートサ
ブチャネル命令)が発せられる。チャネル30のマイク
ロプロセッサ31は、CPUl0からの要求を受付ける
と同要求により指定されている主記憶装置20の領域か
ら第2図に示すようにチャネルコマンド語CCWIをフ
ェッチする。そしてチャネル30のマイクロプロセッサ
31は、主記憶装置20からフェッチしたチャネルコマ
ンド語ccwiを解読し、同CCWIの指定する主記憶
装置20との間のデータ転送に必要な各種の転送パラメ
ータを図示せぬハードウェア転送機構にセットする。次
にマイクロプロセッサ31は、上記フェッチしたチャネ
ルコマンド語CCWIを磁気ディスクコントローラ50
が解読可能なフォーマットのチャネル制御ブロックCC
BIに置換し、RAM38に確保されている2つのCC
B格納領域CCBAI。
First, a request (start subchannel command) is issued from the CPU 10 to the channel 30. When the microprocessor 31 of the channel 30 receives the request from the CPU10, it fetches the channel command word CCWI from the area of the main storage device 20 specified by the request, as shown in FIG. The microprocessor 31 of the channel 30 then decodes the channel command word ccwi fetched from the main memory 20, and determines various transfer parameters (not shown) necessary for data transfer to and from the main memory 20 specified by the CCWI. Set to hardware transfer mechanism. Next, the microprocessor 31 sends the fetched channel command word CCWI to the magnetic disk controller 50.
Channel control block CC in a format that can be read by
Two CCs replaced with BI and secured in RAM38
B storage area CCBAI.

CCBA2のうちの例えばCCBAIに格納する処理を
行う(第2図参照)。
A process of storing the data in, for example, CCBAI of CCBA2 is performed (see FIG. 2).

チャネル30のマイクロプロセッサ31は、CCB格納
領域CCBAIへのチャネル制御ブロック格納処理を終
了すると、その旨を磁気ディスクコントローラ50に通
知する。これにより磁気ディスクコントローラ50は、
チャネル30のRAM33内のCCB格納領域CCBA
Iからチャネル制御ブロックCCBIをフェッチして解
読し、この解読結果をもとにチャネル制御ブロックCC
BIの指定するチャネル30.磁気ディスクドライブ4
0間のデータ転送を行い、転送終了後にチャネル30の
CCB格納領域CCBAIにチャネル制御ブロックCC
BIをリライトして転送結果ステータスをチャネル30
に通知するCNT転送を行う。上記のデータ転送と並行
して、主記憶装置20.チャネル30間のデータ転送が
チャネル30内のハードウェア転送機構によって行われ
、結局主記憶装置20.磁気ディスクドライブ40間の
1回目のデータ転送が行われることになる。
When the microprocessor 31 of the channel 30 finishes storing the channel control block in the CCB storage area CCBAI, it notifies the magnetic disk controller 50 of this fact. As a result, the magnetic disk controller 50
CCB storage area CCBA in RAM 33 of channel 30
Channel control block CCBI is fetched from I and decoded, and based on the decoding result, channel control block CCBI is fetched from I and decoded.
Channel 30 specified by BI. magnetic disk drive 4
Data is transferred between 0 and 0, and after the transfer is completed, the channel control block CC is stored in the CCB storage area CCBAI of channel 30.
Rewrite BI and transfer result status to channel 30
Perform CNT transfer to notify. In parallel with the above data transfer, the main storage 20. Data transfer between channels 30 is performed by a hardware transfer mechanism within channel 30, and ultimately ends up in main memory 20. The first data transfer between the magnetic disk drives 40 will be performed.

さて、2回目の転送は次の手順で行われる。Now, the second transfer is performed in the following steps.

まず、チャネル30のマイクロプロセッサ31は上記チ
ャネル制御ブロックCCBIへの置換を行うと、CPU
l0から要求された次のチャネルコマンド語CCW2を
、第2図に示すように1回目のデータ転送中に主記憶装
置20からフェッチする。マイクロプロセッサ31はC
CW2をフェッチすると、1回目のデータ転送(CNT
転送)の終了を待つことなく同CCW2を対応するチャ
ネル制御ブロックCCB2に置換し、先に用いたCCB
格納領域CCBAIとは別の格納領域、即ちCCB格納
領域CCBA2に格納するマイクロプログラム処理を行
う(第2図参照)。チャネル30のマイクロプロセッサ
31は、CCB格納領域CCBA2へのチャネル制御ブ
ロック格納処理を終了すると、その旨を磁気ディスクコ
ントローラ50に通知する。
First, when the microprocessor 31 of the channel 30 is replaced with the channel control block CCBI, the CPU
The next channel command word CCW2 requested by l0 is fetched from main memory 20 during the first data transfer as shown in FIG. The microprocessor 31 is C
When CW2 is fetched, the first data transfer (CNT
CCW2 is replaced with the corresponding channel control block CCB2 without waiting for the end of the transfer), and the previously used CCB
Microprogram processing is performed to store in a storage area different from the storage area CCBAI, that is, the CCB storage area CCBA2 (see FIG. 2). When the microprocessor 31 of the channel 30 finishes storing the channel control block in the CCB storage area CCBA2, it notifies the magnetic disk controller 50 of this fact.

これにより磁気ディスクコントローラ50は、上記した
1回目のデータ転送を終了するとCCB格納領域を切替
え、今度はCCB格納領域CCBA2からチャネル制御
ブロックCCB2をフェッチして第2図に示すように2
回目のデータ転送(CNT転送)を行う。
As a result, the magnetic disk controller 50 switches the CCB storage area after completing the first data transfer described above, and this time fetches the channel control block CCB2 from the CCB storage area CCBA2, and as shown in FIG.
Perform the second data transfer (CNT transfer).

チャネル30のマイクロプロセッサ31は、上記のよう
にチャネルコマンド語CCW2をチャネル制御ブロック
CCB2に置換すると、CPUIGからの要求に応じて
更に次のチャネルコマンド語CCW3を主記憶装置20
からフェッチする。そしてマイクロプロセッサ31は、
第2図に示すように1回目のデータ転送が終了してCC
B格納領域CCBAIが解放されているならば、フェッ
チしたCCW3を直ちに対応するチャネル制御ブロック
CCB5に置換してCCB格納領域CCBAIに格納し
、その旨を磁気ディスクコントローラ50に通知する。
After replacing the channel command word CCW2 with the channel control block CCB2 as described above, the microprocessor 31 of the channel 30 further stores the next channel command word CCW3 in the main memory 20 in response to a request from the CPUIG.
fetch from And the microprocessor 31
As shown in Figure 2, the first data transfer is completed and the CC
If the B storage area CCBAI is released, the fetched CCW3 is immediately replaced with the corresponding channel control block CCB5 and stored in the CCB storage area CCBAI, and the magnetic disk controller 50 is notified of this.

これにより磁気ディスクコントローラ50は、上記した
2回目のデータ転送を終了するとCCB格納領域を再び
切替え、今度は1回目のデータ転送の場合と同様にCC
B格納領域CCB A 1.からチャネル制御ブロック
CCB5をフェッチして第2図に示すように3回目のデ
ータ転送(CNT転送)を行う。4回目以降も、同様の
手順でデータ転送が行われる。
As a result, the magnetic disk controller 50 switches the CCB storage area again after completing the second data transfer described above, and this time, as in the case of the first data transfer, the magnetic disk controller 50 switches the CCB storage area again.
B storage area CCB A 1. The channel control block CCB5 is fetched from CCB5, and the third data transfer (CNT transfer) is performed as shown in FIG. Data transfer is performed using the same procedure from the fourth time onwards.

以上は、磁気ディスク装置を対象にチャネル制御ブロッ
クを用いたデータ転送制御を行う場合について説明した
が、磁気ディスク装置以外の入出力装置を対象とする場
合にも同様に適用できる。
The above description has been made regarding the case where data transfer control using channel control blocks is performed for a magnetic disk device, but the present invention is similarly applicable to cases where input/output devices other than magnetic disk devices are targeted.

[発明の効果] 以上詳述したようにこの発明によれば、実行中のデータ
転送が終了しなくても(即ち入出力装置を制御するコン
トローラがビジーであっても)次のチャネルコマンド語
をチャネル制御ブロックに置換する処理を行うことがで
きるので、主記憶装置、入出力装置間のデータ転送が何
回かに分けて行われる場合には、データ転送の高速化が
図れる。
[Effects of the Invention] As detailed above, according to the present invention, the next channel command word can be sent even if the data transfer in progress is not completed (that is, even if the controller controlling the input/output device is busy). Since the process of replacing the block with a channel control block can be performed, the speed of data transfer can be increased when data transfer between the main storage device and the input/output device is performed in several steps.

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

第1図はこの発明の一実施例を示すブロック構成図、第
2図は動作を説明するためのタイミングチャート、第3
図は1回のデータ転送の基本的な手順を示すタイミング
チャート、第4図はデータ転送を複数回に分けて行う場
合の従来の手順を示すタイミングチャートである。 10・・・CPU、20・・・主記憶装置、30・・・
チャネル、31・・・マイクロプロセッサ、40・・・
磁気ディスクドライブ、50・・・磁気ディスクコント
ローラ、CCW1〜CCW4・・・チャネルコマンド語
、CCBAI 。 CCBA2・・・CCB (チャネル制御ブロック)格
納領域。 出願人代理人  弁理士 鈴江武彦 第3図 第4図
FIG. 1 is a block configuration diagram showing an embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation, and FIG.
The figure is a timing chart showing the basic procedure for one data transfer, and FIG. 4 is a timing chart showing the conventional procedure when data transfer is performed in multiple steps. 10... CPU, 20... Main storage device, 30...
Channel, 31...Microprocessor, 40...
Magnetic disk drive, 50...Magnetic disk controller, CCW1 to CCW4...Channel command word, CCBAI. CCBA2...CCB (channel control block) storage area. Applicant's agent Patent attorney Takehiko Suzue Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 CPUからの要求に応じて主記憶装置から取出したチャ
ネルコマンド語を、入出力装置を制御するコントローラ
が解読可能なフォーマットのチャネル制御ブロックにマ
イクロプログラム処理により変換すると共に、上記主記
憶装置との間でデータ転送を行うチャネルを備えた情報
処理システムにおいて、 上記チャネルに、上記チャネルコマンド語から変換され
る上記チャネル制御ブロックを交互に格納するための2
つのチャネル制御ブロック格納領域を設けると共に、上
記コントローラに、上記チャネル制御ブロック格納領域
から上記チャネル制御ブロックを取出して同ブロックの
指定する上記チャネルと上記入出力装置との間のデータ
転送を行い、データ転送終了時に同ブロックのリライト
処理を行う操作を、上記2つのチャネル制御ブロック格
納領域を交互に切替えながら実行するデータ転送手段を
設け、上記2つのチャネル制御ブロック格納領域の一方
の領域が解放される前に次の上記チャネルコマンド語を
上記主記憶装置から取出した場合でも、同コマンド語を
対応する上記チャネル制御ブロックに変換して上記2つ
のチャネル制御ブロック格納領域の他方の領域に格納す
るようにしたことを特徴とするチャネル制御ブロックを
用いたデータ転送制御方式。
[Scope of Claims] A channel command word retrieved from the main memory in response to a request from a CPU is converted into a channel control block in a format that can be read by a controller that controls an input/output device, and the above-mentioned In an information processing system equipped with a channel for transferring data to and from a main storage device, two channels for alternately storing the channel control blocks converted from the channel command words in the channel
At the same time, the controller extracts the channel control block from the channel control block storage area and transfers data between the channel specified by the block and the input/output device, and A data transfer means is provided that executes an operation of rewriting the same block at the end of the transfer while alternately switching between the two channel control block storage areas, and one of the two channel control block storage areas is released. Even if the next channel command word is previously retrieved from the main memory, the same command word is converted into the corresponding channel control block and stored in the other of the two channel control block storage areas. A data transfer control method using channel control blocks characterized by:
JP13296988A 1988-05-31 1988-05-31 Data transfer control system using channel control block Pending JPH01302456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13296988A JPH01302456A (en) 1988-05-31 1988-05-31 Data transfer control system using channel control block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13296988A JPH01302456A (en) 1988-05-31 1988-05-31 Data transfer control system using channel control block

Publications (1)

Publication Number Publication Date
JPH01302456A true JPH01302456A (en) 1989-12-06

Family

ID=15093733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13296988A Pending JPH01302456A (en) 1988-05-31 1988-05-31 Data transfer control system using channel control block

Country Status (1)

Country Link
JP (1) JPH01302456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5517670A (en) * 1992-12-30 1996-05-14 International Business Machines Corporation Adaptive data transfer channel employing extended data block capability

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5517670A (en) * 1992-12-30 1996-05-14 International Business Machines Corporation Adaptive data transfer channel employing extended data block capability
US5539918A (en) * 1992-12-30 1996-07-23 International Business Machines Corporation Extension of data block capability in a data transfer channel

Similar Documents

Publication Publication Date Title
JPS62243044A (en) Control system for disk cache memory
JPS5851327A (en) Input and output control system
JPH06103460B2 (en) Program transfer method
JPH01302456A (en) Data transfer control system using channel control block
JPS61288232A (en) Output instruction control system
JP3157794B2 (en) Peripheral control processor
JP2518029B2 (en) I / O control method
JPH05189357A (en) Method and device for data chaining control
JPH0145657B2 (en)
JPS6160468B2 (en)
JPS63132362A (en) Command operation control system
JPH06103065A (en) Instruction prefetch device
JPH0346033A (en) Data transfer control method for inter-job
JPH01193948A (en) System for controlling data transfer
JPH0652086A (en) Channel command prefetch control system
JPH071494B2 (en) Channel command word chain device
JPS60193050A (en) Microprogram controller
JPH04296960A (en) Dma control system
JP2000010899A (en) Input/output processing system and its peripheral device control method, and recording medium where its control program is recorded
JPH02205959A (en) Channel device and its operating system
JPH0713921A (en) Dma controller
JPS5875261A (en) Magnetic disk control system
JPS63226757A (en) Data transfer system for information processing system
JPH03158943A (en) Buffer storage/transfer system
JPH02255927A (en) Peripheral device control system