JPS6243224B2 - - Google Patents

Info

Publication number
JPS6243224B2
JPS6243224B2 JP55103294A JP10329480A JPS6243224B2 JP S6243224 B2 JPS6243224 B2 JP S6243224B2 JP 55103294 A JP55103294 A JP 55103294A JP 10329480 A JP10329480 A JP 10329480A JP S6243224 B2 JPS6243224 B2 JP S6243224B2
Authority
JP
Japan
Prior art keywords
holding register
block
contents
parameter holding
data 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.)
Expired
Application number
JP55103294A
Other languages
Japanese (ja)
Other versions
JPS5727326A (en
Inventor
Juji Ogawa
Norio Onodera
Toshuki Ono
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10329480A priority Critical patent/JPS5727326A/en
Publication of JPS5727326A publication Critical patent/JPS5727326A/en
Publication of JPS6243224B2 publication Critical patent/JPS6243224B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program 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

Description

【発明の詳細な説明】 本発明は、チヤネル制御装置、特に複数ブロツ
クにわたるデータ転送を制御する例えばブロツ
ク・マルチプレクサ・チヤネルなどのチヤネル制
御装置において、少なくとも1ブロツク分の転送
が正常に終了する毎に再試行スタート・ポイント
を更新するように制御し、再試行処理時に既に正
常に転送され終つているブロツクについての再転
送を省略するようにしたチヤネル制御装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a channel control device, particularly a channel control device such as a block multiplexer channel that controls data transfer over a plurality of blocks. The present invention relates to a channel control device that controls updating of a retry start point and omits retransmission of blocks that have already been successfully transferred during retry processing.

従来から、第1図に示す如く、データ処理装置
1と主記憶装置2とをもつホスト装置に対して、
ブロツク・マルチプレクサ・チヤネル3−0が接
続され、例えばデイスク・パツク・コントローラ
などの入出力制御装置4を介してデイスク5−0
や5−1と主記憶装置2との間で複数のブロツク
(1ブロツクは例えば512バイト)にわたる大量の
データ転送を制御することが行なわれている。ま
た上記の如きブロツク・マルチプレクサ・チヤネ
ル3−1を介して他データ処理装置6との間で同
様なデータ転送を行なわせることが行なわれてい
る。
Conventionally, as shown in FIG. 1, for a host device having a data processing device 1 and a main storage device 2,
A block multiplexer channel 3-0 is connected to the disk 5-0 via an input/output control device 4, such as a disk pack controller.
A large amount of data transfer over a plurality of blocks (one block is, for example, 512 bytes) is controlled between the main storage device 2 and the main storage device 2. Further, similar data transfer is performed with other data processing devices 6 via the block multiplexer channel 3-1 as described above.

このような場合、チヤネル3−0や3−1は、
ホスト装置からチヤネル制御語(CCW)の如き
「データ転送を制御するパラメータ」を受取つ
て、それにもとづいて転送制御を行なう。しか
し、従来の場合、上記チヤネル制御語(CCW)
をそのまま保持しており、エラーなどで再試行を
行なう必要が生じた場合、上記複数ブロツクにわ
たるデータ転送の最初から再試行を行なうもので
あつた。このために、複数ブロツクにわたるデー
タ転送の末尾のブロツクでエラーを生じた場合で
も、最初のブロツクから改めてデータ転送が行な
われることとなり、処理効率の面から必らずしも
十分でなかつた。
In such a case, channels 3-0 and 3-1 are
It receives "parameters for controlling data transfer" such as channel control words (CCW) from the host device, and performs transfer control based on them. However, in the conventional case, the above channel control word (CCW)
If it becomes necessary to retry due to an error, etc., the retry is performed from the beginning of the data transfer over the plurality of blocks. For this reason, even if an error occurs in the last block of data transfer over a plurality of blocks, data transfer is performed again from the first block, which is not always sufficient from the viewpoint of processing efficiency.

本発明は上記の点を解決することを目的として
おり、ブロツク・マルチプレクサ・チヤネルの如
きチヤネル制御装置がデータ転送に当つてのパラ
メータを保持している点に着目し、既存の構成を
大幅に変更することなく、上記の点を解決してい
る。そして、本発明のチヤネル制御装置は、ホス
ト・データ処理装置からの指令にもとづいてデー
タ転送を制御するパラメータをフエツチして保持
し下位装置を介してのデータ転送を制御するチヤ
ネル制御装置において、複数のブロツクにわたる
データの転送に関して当該データ転送を制御する
パラメータを記憶するパラメータ保持レジスタ部
と、少なくとも1ブロツク分のデータ転送が開始
される毎に当該データ転送に先立つて上記パラメ
ータ保持レジスタ部の内容をセーブする開始時パ
ラメータ保持レジスタ部と、少なくとも1ブロツ
ク分のデータ転送が正常に実行されたことにもと
づいて上記パラメータ保持レジスタ部の内容を更
新するパラメータ更新部と、上記少なくとも1ブ
ロツク分のデータ転送が非正常に終了したとき制
御部からの指示にもとづいて上記開始時パラメー
タ保持レジスタ部の内容を上記パラメータ保持レ
ジスタ部に復帰せしめるパラメータ・セツト回路
部をそなえ、上記1ブロツク分のデータ転送に関
して再試行要求が発生した場合、上記制御部から
の指示にもとづいてパラメータ保持レジスタの上
記復帰された内容を利用して当該1ブロツク分の
データ転送の先頭位置から再試行を行なうように
したことを特徴としている。以下図面を参照しつ
つ説明する。
The present invention aims to solve the above problems, and focuses on the fact that channel control devices such as block multiplexer channels maintain parameters for data transfer, and significantly changes the existing configuration. The above points are resolved without having to do so. The channel control device of the present invention is a channel control device that fetches and holds parameters for controlling data transfer based on commands from a host data processing device, and controls data transfer via lower-level devices. a parameter holding register section that stores parameters for controlling data transfer over a block of data; a starting parameter holding register section for saving; a parameter updating section for updating the contents of the parameter holding register section based on the successful execution of data transfer for at least one block; and a parameter updating section for updating the contents of the parameter holding register section based on the data transfer for at least one block. The controller is equipped with a parameter set circuit section that restores the contents of the parameter holding register section at the start to the parameter holding register section based on instructions from the control section when the transfer of one block of data is completed abnormally. When a trial request occurs, a retry is performed from the beginning position of data transfer for one block using the restored contents of the parameter holding register based on instructions from the control section. It is said that This will be explained below with reference to the drawings.

第2図は、本発明のチヤネル制御装置の一実施
例を示し、第1図図示のブロツク・マルチプレク
サ・チヤネル3−0や3−1に対応している。図
中の符号4は、パラメータ保持レジスタであつ
て、データ転送に当つてホスト装置から指示され
たチヤネル制御語(CCW)の内容がセツトさ
れ、以後内容が更新され、再試行時に当該時点の
内容にもとづいて再試行が行なわれる。5は、開
始時パラメータ保持レジスタであつて、少なくと
も1ブロツク分のデータ転送が行なわれるに先立
つて、パラメータ保持レジスタ4の内容をセーブ
し、再試行時のために対処する。6は、パラメー
タ更新部であつて、少なくとも1ブロツク分のデ
ータ転送が正常に終了したとき、上記パラメータ
保持レジスタ4の内容を後述する如く更新する。
7は制御部であつて、上記パラメータ保持レジス
タ4の内容にもとづいてデータ転送を制御し、図
示の「転送開始指示」信号、「更新指示」信号、
「再試行開始指示」信号、「1ブロツク転送正常終
了」信号などを発する。8は、アンド回路で構成
される本発明にいうパラメータ・セツト回路部で
あつて、「再試行開始指示」信号が発せられたと
き、開始時パラメータ保持レジスタ5の内容をパ
ラメータ保持レジスタ4にセツトする。9はアン
ド回路、10はオア回路を表わしている。
FIG. 2 shows an embodiment of the channel control device of the present invention, which corresponds to block multiplexer channels 3-0 and 3-1 shown in FIG. Reference numeral 4 in the figure is a parameter holding register, in which the contents of the channel control word (CCW) instructed by the host device at the time of data transfer are set, and the contents are updated thereafter, and the contents at that point in time are set when retrying. A retry will be made based on this. Reference numeral 5 denotes a parameter holding register at the time of start, which saves the contents of the parameter holding register 4 before at least one block worth of data is transferred, in preparation for a retry. Reference numeral 6 denotes a parameter updating unit, which updates the contents of the parameter holding register 4 as described later when at least one block of data transfer is successfully completed.
Reference numeral 7 denotes a control unit that controls data transfer based on the contents of the parameter holding register 4, and outputs the illustrated "transfer start instruction" signal, "update instruction" signal,
It issues a "retry start instruction" signal, a "1 block transfer successful completion" signal, etc. Reference numeral 8 denotes a parameter setting circuit section according to the present invention, which is constituted by an AND circuit, and sets the contents of the parameter holding register 5 at the time of start to the parameter holding register 4 when the "retry start instruction" signal is issued. do. 9 represents an AND circuit, and 10 represents an OR circuit.

上述のチヤネル制御語(CCW)は、一般に、
(i)コマンド・アドレス、(ii)コマンド・コード、(iii)
データ・バイト・アドレス、(iv)フラグ、(v)デー
タ・バイト・カウントなどを含んでおり、ホスト
装置からの指令に対応して最初にパラメータ保持
レジスタ4にセツトされる。
The channel control word (CCW) mentioned above is generally
(i) Command address, (ii) Command code, (iii)
It includes a data byte address, (iv) flag, (v) data byte count, etc., and is first set in the parameter holding register 4 in response to a command from the host device.

複数ブロツクにわたるデータ転送が開始される
とき、制御部7は「転送開始指示」信号を発す
る。これによつてオア回路10を介してアンド回
路9がオンされ、当該時点におけるレジスタ4の
内容をレジスタ5にセーブする。この状態でレジ
スタ4の内容にもとづいて最初の1ブロツク分の
データ転送が行なわれ、正常に終了すると、制御
部7は「1ブロツク転送正常終了」信号を発す
る。これによつて、レジスタ4の内容にもとづい
て、パラメータ更新部6は、上記データ・バイ
ト・アドレスを「+512」しかつ上記データ・バ
イト・カウントを「−512」してレジスタ4に書
込む。即ちレジスタ4の内容を次のブロツクにつ
いての転送に対応するよう更新する。一方制御部
7は上記更新が行なわれた時点で「更新指示」信
号を発する。これによつてアンド回路9を介し
て、レジスタ4の内容がレジスタ5にセーブされ
る。これによつて、レジスタ5の内容は、上記
「次のブロツクについての転送に対応する」よう
更新された内容がセーブされることとなる。
When data transfer over a plurality of blocks is started, the control section 7 issues a "transfer start instruction" signal. As a result, the AND circuit 9 is turned on via the OR circuit 10, and the contents of the register 4 at that point in time are saved in the register 5. In this state, the first one block of data is transferred based on the contents of the register 4, and when the transfer is completed normally, the control section 7 issues a "one block transfer normally completed" signal. As a result, based on the contents of the register 4, the parameter update unit 6 increments the data byte address to "+512" and the data byte count to "-512" and writes them into the register 4. That is, the contents of register 4 are updated to correspond to the transfer of the next block. On the other hand, the control unit 7 issues an "update instruction" signal when the above update is performed. As a result, the contents of register 4 are saved in register 5 via AND circuit 9. As a result, the contents of the register 5 updated to correspond to the transfer of the next block are saved.

以下同様に次々とブロツク転送が行なわれる
が、或るブロツク例えば第iブロツクについての
転送に当つてエラーが発生すると、下位装置はコ
マンド再試行要求を制御部7に通知する。これに
応じて、制御部7は、上記「更新指示」信号を発
することなく、「再試行開始指示」信号を発す
る。したがつて、図示パラメータ・セツト回路部
8を介して、レジスタ5における当該時点の内容
がレジスタ4にセツトされる。当該時点の内容
は、上記第iブロツクの転送開始直前の内容であ
り、制御部7は当該内容をレジスタ4から受取つ
て第iブロツクからの再試行を行なう。
Thereafter, block transfers are performed one after another in the same manner, but if an error occurs during transfer of a certain block, for example, the i-th block, the lower device notifies the control unit 7 of a command retry request. In response, the control unit 7 issues a "retry start instruction" signal without issuing the above-mentioned "update instruction" signal. Therefore, the contents of the register 5 at that point in time are set in the register 4 via the illustrated parameter set circuit section 8. The contents at this point in time are the contents immediately before the start of transfer of the i-th block, and the control unit 7 receives the contents from the register 4 and retries from the i-th block.

以上説明した如く、本発明によれば、大量のデ
ータを転送する際における再試行に当つて、既に
正常な転送が行なわれているブロツクについては
再試行を省略することが可能となる。このため
に、従来の場合の次のような問題点、即ち第1回
目の再試行が成功して順次転送が行なわれている
間にエラーが生じて第2回目の再試行時にも最初
から転送し直すような問題点が全くなくなる。
As described above, according to the present invention, when retrying when transferring a large amount of data, it is possible to omit retrying for blocks that have already been successfully transferred. For this reason, the following problem with the conventional case is that an error occurs while the first retry is successful and the transfer is performed sequentially, and the transfer is restarted from the beginning at the second retry. There will be no need to redo any problems.

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

第1図は本発明の前提問題を説明する説明図、
第2図は本発明のチヤネル制御装置の一実施例を
示す。 図中、1はデータ処理装置、2は主記憶装置、
3は本発明にいうチヤネル制御装置、4はパラメ
ータ保持レジスタ、5は開始時パラメータ保持レ
ジスタ、6はパラメータ更新部、7は制御部、8
はパラメータ・セツト回路部を表わす。
FIG. 1 is an explanatory diagram explaining the prerequisite problem of the present invention,
FIG. 2 shows an embodiment of the channel control device of the present invention. In the figure, 1 is a data processing device, 2 is a main storage device,
3 is a channel control device according to the present invention, 4 is a parameter holding register, 5 is a starting parameter holding register, 6 is a parameter updating section, 7 is a control section, 8
represents the parameter set circuit section.

Claims (1)

【特許請求の範囲】[Claims] 1 ホスト・データ処理装置からの指令にもとづ
いてデータ転送を制御するパラメータをフエツチ
して保持し下位装置を介してのデータ転送を制御
するチヤネル制御装置において、複数のブロツク
にわたるデータの転送に関して当該データ転送を
制御するパラメータを記憶するパラメータ保持レ
ジスタ部と、少なくとも1ブロツク分のデータ転
送が開始される毎に当該データ転送に先立つて上
記パラメータ保持レジスタ部の内容をセーブする
開始時パラメータ保持レジスタ部と、少なくとも
1ブロツク分のデータ転送が正常に実行されたこ
とにもとづいて上記パラメータ保持レジスタ部の
内容を更新するパラメータ更新部と、上記少なく
とも1ブロツク分のデータ転送が非正常に終了し
たとき制御部からの指示にもとづいて上記開始時
パラメータ保持レジスタ部の内容を上記パラメー
タ保持レジスタ部に復帰せしめるパラメータ・セ
ツト回路部をそなえ、上記1ブロツク分のデータ
転送に関して再試行要求が発生した場合、上記制
御部からの指示にもとづいてパラメータ保持レジ
スタの上記復帰された内容を利用して当該1ブロ
ツク分のデータ転送の先頭位置から再試行を行な
うようにしたことを特徴とするチヤネル制御装
置。
1 In a channel control device that fetches and holds parameters for controlling data transfer based on commands from a host data processing device and controls data transfer via lower devices, the data is a parameter holding register section that stores parameters for controlling the transfer; and a starting parameter holding register section that saves the contents of the parameter holding register section each time at least one block of data transfer is started prior to the data transfer. , a parameter update unit that updates the contents of the parameter holding register based on the fact that at least one block of data has been transferred normally; and a control unit that updates the contents of the parameter holding register based on the fact that at least one block of data has been transferred abnormally. The controller is equipped with a parameter set circuit section that restores the contents of the parameter holding register section at the start to the parameter holding register section based on instructions from the control section, and when a retry request is generated regarding the data transfer of one block, the control section 1. A channel control device characterized in that, based on an instruction from a controller, data transfer of one block is retried from the beginning position using the restored contents of the parameter holding register.
JP10329480A 1980-07-28 1980-07-28 Control device for data transfer Granted JPS5727326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10329480A JPS5727326A (en) 1980-07-28 1980-07-28 Control device for data transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10329480A JPS5727326A (en) 1980-07-28 1980-07-28 Control device for data transfer

Publications (2)

Publication Number Publication Date
JPS5727326A JPS5727326A (en) 1982-02-13
JPS6243224B2 true JPS6243224B2 (en) 1987-09-11

Family

ID=14350252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10329480A Granted JPS5727326A (en) 1980-07-28 1980-07-28 Control device for data transfer

Country Status (1)

Country Link
JP (1) JPS5727326A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62133548A (en) * 1985-12-05 1987-06-16 Fujitsu Ltd Retry control system in input/output control device
JPS62218664A (en) * 1986-03-18 1987-09-26 Honda Motor Co Ltd Swash plate type hydraulic device
JPH0195336A (en) * 1987-10-07 1989-04-13 Nec Corp System for controlling retry

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5597623A (en) * 1979-01-18 1980-07-25 Mitsubishi Electric Corp Control method for input/output device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5597623A (en) * 1979-01-18 1980-07-25 Mitsubishi Electric Corp Control method for input/output device

Also Published As

Publication number Publication date
JPS5727326A (en) 1982-02-13

Similar Documents

Publication Publication Date Title
US5579220A (en) Method of updating a supplementary automation system
JP2829091B2 (en) Data processing system
JPH0291749A (en) Nonvolatile type semiconductor memory device
JP2679715B2 (en) Data transfer method
JPS6243224B2 (en)
JPS5851327A (en) Input and output control system
EP0405861B1 (en) Transferring data in a digital data processing system
JPS61251252A (en) Processing method for data transfer
JPH0232652B2 (en)
JPS6286426A (en) Data base backup system
JPS6033648A (en) Serial data transfer control device
JPH0561668B2 (en)
JPS61271530A (en) Control system for storage subsystem
JPH0145657B2 (en)
JPH05119997A (en) Patching introduction system
JPH04338821A (en) Automatic correction/recovery system for firmware/ microprogram
JP2779096B2 (en) Channel control method
JP2969752B2 (en) Information processing apparatus, data transfer method, and retry data transfer method
JP2953874B2 (en) Magnetic tape device control method for input / output channel device
JPS62287472A (en) Magnetic tape controlling device
JPH03260746A (en) Data updating method
JPS605026B2 (en) input/output control system
JPH10207640A (en) Duplexing controller for disk device
JPS5837579B2 (en) Data channel device control method
JPS58201158A (en) Data storage processing system