JPH05127831A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPH05127831A
JPH05127831A JP25895191A JP25895191A JPH05127831A JP H05127831 A JPH05127831 A JP H05127831A JP 25895191 A JP25895191 A JP 25895191A JP 25895191 A JP25895191 A JP 25895191A JP H05127831 A JPH05127831 A JP H05127831A
Authority
JP
Japan
Prior art keywords
data
transfer
magnetic disk
data transfer
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.)
Withdrawn
Application number
JP25895191A
Other languages
Japanese (ja)
Inventor
Shoichi Murano
正一 村野
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 JP25895191A priority Critical patent/JPH05127831A/en
Publication of JPH05127831A publication Critical patent/JPH05127831A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the frequency of generating over run caused by channel response speed delay to occur in a command chain concerning the disk controller. CONSTITUTION:The disk controller to execute transfer preparation at an MPU 12, to operate an automatic data transfer control circuit 9 with the transfer starting instruction of the MPU 12 and to execute data transfer from a disk device to a channel is equipped with a transfer byte counter 11 to be set up by the MPU 12 and to be subtracted each time data are transferred from the disk device after the start of transfer is instructed, auxiliary buffer 17 to store the data transferred from the disk device before the MPU 12 completes the transfer preparation, auxiliary byte counter 15 to count the number of bytes transferred during the relevant period, and comparator circuit 16 to compare the values of both counters 11 and 15, and when the coincidence of the values is shown by the comparison, the data transfer is finished.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディスク制御装置に関
し、更に詳しく言えば、大型コンピュータシステムの外
部記憶装置として用いられる磁気ディスクサブシステム
等のディスク制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk controller, and more particularly to a disk controller such as a magnetic disk subsystem used as an external storage device of a large computer system.

【0002】[0002]

【従来の技術】図4は従来の磁気ディスクサブシステム
の構成図、図5は磁気ディスクトラックのデータフォー
マット説明図、図6はコマンドチェイン処理の説明図、
図7は磁気ディスク制御装置のブロック図である。
2. Description of the Related Art FIG. 4 is a block diagram of a conventional magnetic disk subsystem, FIG. 5 is an illustration of a data format of a magnetic disk track, FIG. 6 is an illustration of command chain processing,
FIG. 7 is a block diagram of the magnetic disk controller.

【0003】図中、1はホスト、2は磁気ディスクサブ
システム、3は磁気ディスク制御装置、4は磁気ディス
ク装置、5はチャネル、6はCPU、7はチャネルイン
ターフェイス、8はディスクインターフェイス、9は自
動データ転送制御回路、10は転送用バッファ、11は
転送バイトカウンタ、12はMPU、13、14はレジ
スタを示す。
In the figure, 1 is a host, 2 is a magnetic disk subsystem, 3 is a magnetic disk controller, 4 is a magnetic disk device, 5 is a channel, 6 is a CPU, 7 is a channel interface, 8 is a disk interface, and 9 is a disk interface. An automatic data transfer control circuit, 10 is a transfer buffer, 11 is a transfer byte counter, 12 is an MPU, and 13 and 14 are registers.

【0004】従来、大型のコンピュータシステムにおい
ては、外部記憶装置として、図4に示したような磁気デ
ィスクサブシステムが使用されていた。この磁気ディス
クサブシステム2は、磁気ディスク制御装置3と磁気デ
ィスク装置4とで構成され、ホスト1に接続して使用さ
れる。
Conventionally, in a large computer system, a magnetic disk subsystem as shown in FIG. 4 has been used as an external storage device. The magnetic disk subsystem 2 is composed of a magnetic disk control device 3 and a magnetic disk device 4, and is used by connecting to a host 1.

【0005】図示のように、ホスト1にはCPU6とチ
ャネル5が設けてあり、このチャネル5と磁気ディスク
制御装置3がチャネルインターフェイス7を介して接続
される。また、磁気ディスク制御装置3は、ディスクイ
ンターフェイス8を介して、磁気ディスク装置4に接続
されている。
As shown in the figure, the host 1 is provided with a CPU 6 and a channel 5, and the channel 5 and the magnetic disk controller 3 are connected via a channel interface 7. The magnetic disk control device 3 is also connected to the magnetic disk device 4 via a disk interface 8.

【0006】そして、磁気ディスク制御装置3は、チャ
ネル5、チャネルインターフェイス7を介してCPU6
により制御される。また、磁気ディスク装置4は、チャ
ネル5から送られるコマンドに従い、磁気ディスク制御
装置3により制御される。
Then, the magnetic disk control device 3 uses the channel 6 and the CPU 6 via the channel interface 7.
Controlled by. Further, the magnetic disk device 4 is controlled by the magnetic disk control device 3 according to the command sent from the channel 5.

【0007】この場合、磁気ディスク装置4と磁気ディ
スク制御装置3との間で行われるデータ転送と、磁気デ
ィスク制御装置3とチャネル5との間で行われるデータ
転送が同期して行われる磁気ディスクサブシステムで
は、コマンドチェインと呼ばれる処理(転送完了のステ
ータス報告、チャネルからのコマンド受領、そのコマン
ドの実行準備)をディスクのギャップ時間(フィールド
とフィールドの間にある空間)内に行う必要がある。
In this case, the data transfer performed between the magnetic disk device 4 and the magnetic disk control device 3 and the data transfer performed between the magnetic disk control device 3 and the channel 5 are performed synchronously. The subsystem needs to perform processing called command chain (status report of transfer completion, command reception from channel, preparation for execution of the command) within the gap time (space between fields) of the disk.

【0008】前記磁気ディスク装置4におけるディスク
トラックのデータフォーマットは、例えば図6のような
可変長方式のトラックフォーマットが用いられている。
As the data format of the disk track in the magnetic disk device 4, for example, a variable length type track format as shown in FIG. 6 is used.

【0009】図示のように、このデータフォーマット
は、ホームアドレスHAと、トラック記述レコードR0
と、複数のデータレコードR1 ,R2 ・・・で構成され
ており、トラック内にいくつかの可変長レコードを記録
できるようになっている。
As shown, this data format has a home address HA and a track description record R 0.
, And a plurality of data records R 1 , R 2 ... And several variable length records can be recorded in the track.

【0010】また、トラック記述レコードR0 は、カウ
ント域Cとデータ域Dから成り、データレコードR1
2 ・・・は、それぞれ、カウント域Cとキー域Kとデ
ータ域Dから成っている。
Further, the track description record R 0 is made from the count area C and data area D, the data records R 1,
R 2 ... Includes a count area C, a key area K, and a data area D, respectively.

【0011】そして、前記カウント域C、キー域K、デ
ータ域Dの間には、ギャップGが設けてある。このギャ
ップGの部分で、前記コマンドチェインと呼ばれる処理
を行う。なお、キー域を省略したデータフォーマットも
用いられている。
A gap G is provided between the count area C, the key area K and the data area D. In the gap G, a process called the command chain is performed. A data format in which the key area is omitted is also used.

【0012】前記コマンドチェイン処理とは、受領した
コマンドの実行結果をチャネルへ報告すると共に、次に
実行すべきコマンドを、チャネルから受け取るまでの処
理をいう。磁気ディスク制御装置の場合、磁気ディスク
に記録されたフィールドのギャップ時間(図5のギャッ
プGに対応)内に、コマンドチェイン処理を完了しなけ
ればならない。
The command chain process is a process of reporting the execution result of the received command to the channel and receiving the next command to be executed from the channel. In the case of the magnetic disk controller, the command chain process must be completed within the gap time of the field recorded on the magnetic disk (corresponding to the gap G in FIG. 5).

【0013】もし、前記ギャップ時間内にコマンドチェ
イン処理が完了しない時は、オーバーランとして、磁気
ディスクの一回転待ちした後、再度コマンドを実行す
る。この場合、コマンドチェイン処理に必要とする時間
は、チャネルと磁気ディスク制御装置との間の接続ケー
ブル長に合わせて増加することになる。
If the command chain processing is not completed within the gap time, the command is executed again after waiting for one rotation of the magnetic disk as an overrun. In this case, the time required for the command chain processing will increase according to the length of the connecting cable between the channel and the magnetic disk controller.

【0014】以下図3を参照しながらコマンドチェイン
処理の具体例について説明する。なお、この例では、カ
ウント域(COUNT)の次にデータ域(DATA)が
ある場合を示しており、カウント域及びデータ域の前後
にはギャップGが設けてある。
A specific example of the command chain process will be described below with reference to FIG. In this example, the case where there is a data area (DATA) next to the count area (COUNT) is shown, and a gap G is provided before and after the count area and the data area.

【0015】磁気ディスクが回転している場合には、磁
気ヘッドに対し、前記ギャップGが通過する時間が図3
のギャップ時間となる。そして、このギャップ時間内
に、コマンドチェイン処理を行うことになる。
When the magnetic disk is rotating, the time taken for the gap G to pass through the magnetic head is shown in FIG.
It becomes the gap time. Then, the command chain process is performed within this gap time.

【0016】例えば、カウント域(COUNT)の前側
のギャップ時間で、チャネルからコマンド(SEARC
H ID)を送出したとする。このコマンドは、磁気デ
ィスク制御装置で受信し、磁気ディスク装置に対し、リ
ードコマンドを発行した後、チャネルに対してコマンド
の受領応答し、更に、データの転送準備を行う。
For example, in the gap time on the front side of the count area (COUNT), a command (SEARC) is issued from the channel.
H ID) is transmitted. This command is received by the magnetic disk control device, a read command is issued to the magnetic disk device, a command reception response is sent to the channel, and further data transfer preparation is performed.

【0017】磁気ディスク装置では、前記リードコマン
ドを受信すると、カウント域のデータを読み出し、磁気
ディスク制御装置へデータを送出する。磁気ディスク制
御装置では、前記データを受信するとともに、チャネル
に対してデータ要求発信を行う。
Upon receiving the read command, the magnetic disk device reads the data in the count area and sends the data to the magnetic disk controller. The magnetic disk controller receives the data and sends a data request to the channel.

【0018】その後、磁気ディスク制御装置では、チャ
ネルからの送出データを受信すると、前記データとコン
ペアを行いチャネルへコンペア結果を送出する。チャネ
ルでは、コンペア結果を受信すると、その応答を行い、
コマンドチェインを指示する。
After that, in the magnetic disk control device, when the transmission data from the channel is received, it is compared with the data and the comparison result is transmitted to the channel. On the channel, when it receives the compare result, it responds to it,
Instruct the command chain.

【0019】続いて、チャネルからコマンド(READ
DATA)を送出する。磁気ディスク制御装置では、
コマンド(READ DATA)を受信すると、磁気デ
ィスク装置に対してリードコマンドを発行する。次に、
チャネルに対してコマンドの受領応答を行い、更にデー
タ転送の準備を行う。
Then, a command (READ
DATA) is transmitted. In the magnetic disk controller,
When the command (READ DATA) is received, a read command is issued to the magnetic disk device. next,
It sends a command response to the channel and prepares for data transfer.

【0020】前記のコンペア結果送出処理から、前記コ
マンド(READ DATA)の受信までの処理がコマ
ンドチェイン処理時間となる。その後、リードコマンド
を受信した磁気ディスク装置では、データ域(DAT
A)のデータをリードし、データ送出を行う。
The processing from the above-mentioned compare result sending processing to the reception of the above command (READ DATA) is the command chain processing time. After that, in the magnetic disk device that receives the read command, the data area (DAT
The data of A) is read and the data is transmitted.

【0021】このデータを受信した磁気ディスク制御装
置では自動データ転送制御回路の制御により、自動的に
受信したデータをチャネルへ送出する。以下同様にして
処理を繰り返す。
The magnetic disk control device receiving this data automatically sends the received data to the channel under the control of the automatic data transfer control circuit. The same process is repeated thereafter.

【0022】次に、従来の磁気ディスク制御装置を、図
7に基づいて説明する。図7に示したように、磁気ディ
スク制御装置3には、レジスタ13、14、自動データ
転送回路9、転送用バッファ10、転送バイトカウンタ
11、MPU12を設ける。
Next, a conventional magnetic disk controller will be described with reference to FIG. As shown in FIG. 7, the magnetic disk control device 3 is provided with registers 13 and 14, an automatic data transfer circuit 9, a transfer buffer 10, a transfer byte counter 11, and an MPU 12.

【0023】前記レジスタ13は、チャネル5と磁気デ
ィスク制御装置3との間の制御情報(制御信号、制御デ
ータ等)を送受信するためのレジスタであり、レジスタ
14は、磁気ディスク装置4と磁気ディスク制御装置3
との間の制御情報を送受信するためのレジスタである。
The register 13 is a register for transmitting and receiving control information (control signal, control data, etc.) between the channel 5 and the magnetic disk controller 3, and the register 14 is the magnetic disk device 4 and the magnetic disk. Control device 3
It is a register for transmitting and receiving control information to and from.

【0024】転送用バッファ10は、チャネル5と磁気
ディスク装置4との間でデータ転送を行う際に使用する
バッファであり、自動データ転送回路9は、転送用バッ
ファ10を介して、前記データ転送を自動的に行う回路
である。
The transfer buffer 10 is a buffer used when data is transferred between the channel 5 and the magnetic disk device 4, and the automatic data transfer circuit 9 transfers the data via the transfer buffer 10. Is a circuit that automatically performs.

【0025】転送バイトカウンタ11は、自動データ転
送回路9により転送するデータのバイト数を示してお
り、転送開始前に、MPU12からその値がセットされ
ており、データが転送される度に減算されるものであ
る。通常その値が0を示す時、データ転送は終了するよ
うに構成されている。
The transfer byte counter 11 indicates the number of bytes of the data transferred by the automatic data transfer circuit 9. The value is set from the MPU 12 before the transfer is started, and is decremented each time the data is transferred. It is something. Normally, when the value indicates 0, the data transfer is completed.

【0026】前記構成の磁気ディスク制御装置3におい
て、例えば、図6に示したコマンドチェイン処理を行っ
て、磁気ディスク装置からチャネルへデータ転送を行う
場合は、次のようにして処理を行う。
In the magnetic disk controller 3 having the above structure, for example, when the command chain process shown in FIG. 6 is performed to transfer data from the magnetic disk device to the channel, the process is performed as follows.

【0027】先ず、磁気ディスク制御装置3では、MP
U12がレジスタ13を用いてコマンドチェインを実行
する。この時、チャネルコマンドを受信したMPU12
では、レジスタ14を介して、磁気ディスク装置4に、
データをリードするためのリードコマンドを発行する。
First, in the magnetic disk controller 3, the MP
U12 uses the register 13 to execute the command chain. At this time, the MPU 12 that received the channel command
Then, via the register 14, to the magnetic disk device 4,
Issue a read command to read data.

【0028】その後、MPU12は、データ転送の準備
として、自動データ転送制御回路9のセットアップや、
転送バイトカウンタ11のセットアップ(転送バイト数
のセット)を行い、データ転送開始を指示する。
After that, the MPU 12 sets up the automatic data transfer control circuit 9 and prepares for data transfer.
The transfer byte counter 11 is set up (the number of transfer bytes is set), and the data transfer start is instructed.

【0029】そして、自動データ転送回路9によるデー
タ転送を行うことにより、磁気ディスク装置4で読み出
したデータを、チャネル5へ転送する。
Then, the data read by the magnetic disk device 4 is transferred to the channel 5 by performing data transfer by the automatic data transfer circuit 9.

【0030】前記のデータ転送を更に詳しく説明すると
次のようになる。磁気ディスク制御装置3から磁気ディ
スク装置4に対して、データをリードするためのコマン
ドを発行したとすると、磁気ディスク装置4では、前記
コマンドに基づいてディスクから所定のデータを読み出
す。
The above data transfer will be described in more detail as follows. If a command for reading data is issued from the magnetic disk controller 3 to the magnetic disk device 4, the magnetic disk device 4 reads out predetermined data from the disk based on the command.

【0031】その後、磁気ディスク装置4から、磁気デ
ィスク制御装置3に対して、DATA送出信号を送ると
共に、読み出したデータを転送する。磁気ディスク制御
装置3では、前記転送データを転送用バッファ10に格
納した後、自動データ転送回路9によって、チャネル5
へデータを転送する。
Thereafter, the magnetic disk device 4 sends a DATA sending signal to the magnetic disk control device 3 and transfers the read data. In the magnetic disk controller 3, after storing the transfer data in the transfer buffer 10, the automatic data transfer circuit 9 causes the channel 5
Transfer data to.

【0032】この時、自動データ転送回路9では、磁気
ディスク装置からのDATA送出信号を受信する度に、
転送したデータのバイト数だけ転送バイトカウンタ11
のカウント値を減算し、転送バイトカウンタ11のカウ
ント値が0になると、データ転送を停止する。
At this time, in the automatic data transfer circuit 9, each time the DATA transmission signal from the magnetic disk device is received,
Transfer byte counter 11 for the number of bytes of transferred data
When the count value of the transfer byte counter 11 becomes 0, the data transfer is stopped.

【0033】そして、データ転送開始時に、MPU12
により、転送バイトカウンタ11に設定されたバイト数
だけ、転送用バッファ10内のデータをチャネル5へ転
送すると、自動データ転送回路9は、データ転送を停止
する。
At the start of data transfer, the MPU 12
Thus, when the data in the transfer buffer 10 is transferred to the channel 5 by the number of bytes set in the transfer byte counter 11, the automatic data transfer circuit 9 stops the data transfer.

【0034】以上のようにして、磁気ディスク装置から
チャネルへデータ転送を行うが、チャネルの状態によ
り、コマンドの発行が遅れ、コマンドチェイン時間が延
びたとする。このような場合には、MPU12によるデ
ータ転送の準備が間に合わず、自動データ転送制御回路
9を起動しないうちに、磁気ディスク装置で読み出した
データが転送されてくることがある。
Data is transferred from the magnetic disk device to the channel as described above, but it is assumed that the command issuance is delayed and the command chain time is extended depending on the channel state. In such a case, the data read by the magnetic disk device may be transferred before the automatic data transfer control circuit 9 is activated because the MPU 12 is not ready for data transfer.

【0035】この場合、自動データ転送制御回路9では
転送されてきた前記データを受領できない。従って、磁
気ディスク制御装置では、データオーバーランとして、
再度コマンドを実行するため、チャネルにコマンドリト
ライのステータスを報告し、ディスクが一回転した後、
再度同じコマンドを実行する。
In this case, the automatic data transfer control circuit 9 cannot receive the transferred data. Therefore, in the magnetic disk control device, as a data overrun,
In order to execute the command again, the command retry status is reported to the channel, and after the disk makes one revolution,
Execute the same command again.

【0036】[0036]

【発明が解決しようとする課題】上記のような従来のも
のにおいては、次のような課題があった。 (1) コマンドチェインと呼ばれる処理は、ディスクトラ
ックにおけるデータフォーマットのギャップGの時間内
に行う必要がある。ところが、近年の大型コンピュータ
システムで使用される磁気ディスクサブシステムでは、
チャネルインターフェイスとして光インターフェイスが
実用化しており、その接続距離も長くなっている。
SUMMARY OF THE INVENTION The above-mentioned conventional device has the following problems. (1) The process called the command chain needs to be performed within the time of the gap G of the data format in the disc track. However, in the magnetic disk subsystem used in recent large computer systems,
An optical interface has been put to practical use as a channel interface, and its connection distance has become long.

【0037】このため、コマンドチェイン実行中のチャ
ネル応答時間は遅れる傾向にある。また、磁気ディスク
装置では、ディスク容量を増すために、ギャップ長を短
かくする傾向があるため、現在のデータの同期転送は、
もはや限界になりつつある。
Therefore, the channel response time during execution of the command chain tends to be delayed. Further, in the magnetic disk device, since the gap length tends to be shortened in order to increase the disk capacity, the current data synchronous transfer is
It is already reaching the limit.

【0038】このような状況では、チャネルの状態によ
り発生する処理速度の遅れが、コマンドチェイン時間の
増加につながり、磁気ディスク制御装置のオーバーラン
検出となる。
In such a situation, a delay in the processing speed caused by the channel state leads to an increase in the command chain time, which results in overrun detection of the magnetic disk controller.

【0039】(2) 磁気ディスク装置からデータを読み出
して、チャネルへデータ転送を行う場合、磁気ディスク
制御装置では、コマンドチェイン実行中に、チャネルか
らのコマンドの到着が遅れたりすると、データ転送準備
(MPUによる処理)が間に合わず、磁気ディスク装置
から送られてきたデータを受領できない事態が発生す
る。
(2) When data is read from the magnetic disk device and transferred to the channel, the magnetic disk control device prepares for data transfer if the arrival of a command from the channel is delayed during the execution of the command chain. There is a situation in which the data sent from the magnetic disk device cannot be received because the processing by the MPU) is not in time.

【0040】このような場合には、磁気ディスク制御装
置はオーバーランとして、再度コマンドを実行するた
め、チャネルにコマンドリトライのステータスを報告す
る。そして、ディスクが一回転した後、再度同じコマン
ドを実行する。従って、ディスクが一回転した後の実行
となるため、ホストのCPUの処理速度が低下する。
In such a case, the magnetic disk control device reports the command retry status to the channel in order to execute the command again as an overrun. Then, after the disk has rotated once, the same command is executed again. Therefore, the processing is performed after the disk makes one rotation, so that the processing speed of the CPU of the host decreases.

【0041】(3) コマンドチェイン実行中に、チャネル
の応答速度が遅くなると、データオーバーランや、コマ
ンドオーバーランの発生頻度が高くなる。その結果、ホ
スト側のCPUの処理速度が遅くなる。
(3) If the response speed of the channel becomes slow during the execution of the command chain, the frequency of occurrence of data overrun or command overrun becomes high. As a result, the processing speed of the CPU on the host side becomes slow.

【0042】本発明は、このような従来の課題を解決
し、コマンドチェイン中に起こるチャネルの応答速度の
遅れから発生するデータオーバーランの発生頻度を少な
くすることを目的とする。
An object of the present invention is to solve such a conventional problem and to reduce the frequency of occurrence of data overrun due to the delay in the response speed of the channel occurring during the command chain.

【0043】[0043]

【課題を解決するための手段】図1は本発明の原理図で
あり、図中、図4、図7と同符号は同一のものを示す。
また、15は補助バイトカウンタ、16は比較回路、1
7は補助バッファ、18はアンドゲート(AND)を示
す。
FIG. 1 is a principle view of the present invention, in which the same reference numerals as those in FIGS. 4 and 7 indicate the same elements.
Further, 15 is an auxiliary byte counter, 16 is a comparison circuit, 1
Reference numeral 7 indicates an auxiliary buffer, and 18 indicates an AND gate.

【0044】本発明は上記の課題を解決するため、次の
ように構成した。すなわち、少なくとも、各種制御を行
うMPU(プロセッサ)12と、MPU12の指示によ
りディスク装置からチャネルへのデータ転送を自動的に
行う自動データ転送制御回路9とを具備し、MPU12
によるデータ転送準備を行った後、MPU12からの転
送開始指示により、自動データ転送制御回路9を動作さ
せて、ディスク装置からチャネルへのデータ転送を実行
するディスク制御装置において、MPU12からセット
アップされ、データの転送開始指示後、ディスク装置か
らデータが転送される度にそのバイト数を減算する転送
バイトカウンタ11と、MPU12によるデータ転送準
備が完了する以前に、ディスク装置から転送されたデー
タを格納する補助バッファ17と、当該期間に転送され
たデータのバイト数を計数する補助バイトカウンタ15
と、転送バイトカウンタ11と補助バイトカウンタの値
を比較し、両カウンタ値が一致した時、出力を有効にす
る比較回路16とを備え、比較回路16の出力が有効に
なると、自動データ転送制御回路9によるデータ転送を
終了させるようにした。
In order to solve the above problems, the present invention has the following configuration. That is, at least an MPU (processor) 12 that performs various controls and an automatic data transfer control circuit 9 that automatically transfers data from a disk device to a channel according to an instruction from the MPU 12 are provided.
After the data transfer preparation by the MPU 12 is performed, the automatic data transfer control circuit 9 is operated by the transfer start instruction from the MPU 12, and the disk controller that executes the data transfer from the disk device to the channel is set up from the MPU 12 and After the transfer start instruction is sent, the transfer byte counter 11 that subtracts the number of bytes each time data is transferred from the disk device, and an auxiliary device that stores the data transferred from the disk device before the MPU 12 completes the data transfer preparation Buffer 17 and auxiliary byte counter 15 that counts the number of bytes of data transferred during the period
And a comparison circuit 16 that compares the values of the transfer byte counter 11 and the auxiliary byte counter and validates the output when both counter values match. When the output of the comparison circuit 16 is validated, automatic data transfer control is performed. The data transfer by the circuit 9 is completed.

【0045】[0045]

【作用】上記構成に基づく本発明の作用を、図1を参照
しながら説明する。通常の状態においては、MPU12
はチャネルから受理したコマンドを実行するため、ディ
スク装置にコマンドを発行し、自動データ転送制御回路
9と転送バイトカウンタ11をセットアップして、転送
準備を行う。
The operation of the present invention based on the above construction will be described with reference to FIG. Under normal conditions, MPU12
Executes the command received from the channel, issues a command to the disk device, sets up the automatic data transfer control circuit 9 and the transfer byte counter 11, and prepares for transfer.

【0046】転送準備完了後、MPU12が自動データ
転送制御回路9を起動すると、ディスク装置からチャネ
ルへのデータ転送を開始する。この時、ディスク装置か
ら転送されてきたデータは、補助バッファ17に格納さ
れ、更に転送用バッファ10に格納された後、チャネル
へ転送される。
After the transfer preparation is completed, when the MPU 12 activates the automatic data transfer control circuit 9, the data transfer from the disk device to the channel is started. At this time, the data transferred from the disk device is stored in the auxiliary buffer 17, further stored in the transfer buffer 10, and then transferred to the channel.

【0047】このデータ転送時に転送バイトカウンタ1
1のカウント値は、転送したデータのバイト数だけ減算
される。そして、通常のデータ転送時は、補助バイトカ
ウンタ15のカウント値は0となっているから、転送バ
イトカウンタ11のカウント値が0になるまでデータ転
送が続けられる。
Transfer byte counter 1 at the time of this data transfer
The count value of 1 is subtracted by the number of bytes of the transferred data. Since the count value of the auxiliary byte counter 15 is 0 during normal data transfer, the data transfer is continued until the count value of the transfer byte counter 11 becomes 0.

【0048】しかし、チャネルの状態により、コマンド
の発行が遅れ、コマンドチェイン時間が延びた場合、M
PU12によるデータ転送準備が間に合わずに、ディス
ク装置からのデータを受領することになるが、この場
合、転送データは補助バッファ17に格納し、補助バイ
トカウンタ15のカウント値を転送されてきたデータの
バイト数だけ加算する。
However, when the command issuance is delayed and the command chain time is extended due to the state of the channel, M
The PU 12 will not be ready for data transfer in time to receive the data from the disk device. In this case, the transfer data is stored in the auxiliary buffer 17, and the count value of the auxiliary byte counter 15 is stored as the transferred data. Add only the number of bytes.

【0049】その後、データ転送準備が完了し、自動デ
ータ転送制御回路9が起動されると、補助バイトカウン
タ15の加算は停止し、転送バイトカウンタ11が減算
を開始する。そして、補助バッファ17のデータは、転
送用バッファ10を介してチャネルへ転送される。
Then, when the data transfer preparation is completed and the automatic data transfer control circuit 9 is activated, the addition of the auxiliary byte counter 15 is stopped and the transfer byte counter 11 starts the subtraction. Then, the data in the auxiliary buffer 17 is transferred to the channel via the transfer buffer 10.

【0050】その後、転送バイトカウンタ11のカウン
ト値と補助バイトカウンタ15のカウント値が等しくな
ると、比較回路16の出力が有効となり、自動データ転
送制御回路9によるデータ転送は終了する。
After that, when the count value of the transfer byte counter 11 and the count value of the auxiliary byte counter 15 become equal, the output of the comparison circuit 16 becomes valid, and the data transfer by the automatic data transfer control circuit 9 ends.

【0051】このようにすれば、コマンドチェイン時間
が延びた場合でも、データオーバーランとはならずに、
そのまま処理を続行することが可能となる。その結果、
処理速度の低下も起こらない。
In this way, even if the command chain time is extended, data overrun does not occur and
It is possible to continue the processing as it is. as a result,
No reduction in processing speed occurs.

【0052】[0052]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図2〜図3は、本発明の実施例を示した図であ
り、図2は磁気ディスク制御装置のブロック図、図3は
データ転送処理フローチャートである。
Embodiments of the present invention will be described below with reference to the drawings. 2 to 3 are diagrams showing an embodiment of the present invention, FIG. 2 is a block diagram of a magnetic disk controller, and FIG. 3 is a data transfer processing flowchart.

【0053】図中、図1、図4、図7と同符号は同一の
ものを示す。また、17Aは補助レジスタを示す。
In the figure, the same reference numerals as those in FIGS. 1, 4 and 7 indicate the same parts. 17A indicates an auxiliary register.

【0054】本実施例は、磁気ディスクサブシステムに
適用した例であり、前記システムの構成は図4に示した
例と同じである。また、磁気ディスクにおけるトラック
のデータフォーマットも図5に示した従来例と同じであ
る。
This embodiment is an example applied to a magnetic disk subsystem, and the system configuration is the same as the example shown in FIG. The data format of the tracks on the magnetic disk is also the same as that of the conventional example shown in FIG.

【0055】そして、前記磁気ディスクサブシステムの
内、本実施例では、磁気ディスク制御装置を図2のよう
に構成したものであり、磁気ディスク装置は、従来例と
同じである。
In the magnetic disk subsystem, in this embodiment, the magnetic disk control device is constructed as shown in FIG. 2, and the magnetic disk device is the same as the conventional example.

【0056】図2に示したように、磁気ディスク制御装
置3には、レジスタ13、14、自動データ転送制御回
路9、転送用バッファ10、転送バイトカウンタ11、
MPU12、アンドゲート18、補助バイトカウンタ1
5、比較回路16、補助レジスタ17Aを設ける。
As shown in FIG. 2, the magnetic disk controller 3 includes registers 13 and 14, an automatic data transfer control circuit 9, a transfer buffer 10, a transfer byte counter 11,
MPU 12, AND gate 18, auxiliary byte counter 1
5, a comparison circuit 16, and an auxiliary register 17A are provided.

【0057】これらの内、補助レジスタ17A、アンド
ゲート18、補助バイトカウンタ15、比較回路16
は、この実施例で新しく追加した構成であるが、その他
の構成は、前記従来例と同じ構成である。
Among these, auxiliary register 17A, AND gate 18, auxiliary byte counter 15, comparison circuit 16
Is a structure newly added in this embodiment, but the other structures are the same as those in the conventional example.

【0058】MPU12は、レジスタ13、14、及び
自動データ転送制御回路9をアクセスすることにより、
磁気ディスク制御装置3におけるデータ転送等の各種制
御を行うプロセッサである。レジスタ13は、チャネル
5と磁気ディスク制御装置3との間の制御情報を送受信
するためのレジスタである。
The MPU 12 accesses the registers 13 and 14 and the automatic data transfer control circuit 9 to
It is a processor that performs various controls such as data transfer in the magnetic disk controller 3. The register 13 is a register for transmitting and receiving control information between the channel 5 and the magnetic disk controller 3.

【0059】レジスタ14は、磁気ディスク装置4と、
磁気ディスク制御装置3との間で制御情報を送受信する
ためのレジスタである。自動データ転送制御回路9は、
チャネル5と磁気ディスク装置4との間のデータ転送を
制御する回路である。
The register 14 includes the magnetic disk device 4 and
This is a register for transmitting and receiving control information to and from the magnetic disk controller 3. The automatic data transfer control circuit 9
It is a circuit that controls data transfer between the channel 5 and the magnetic disk device 4.

【0060】補助レジスタ17Aと転送用バッファ10
は、自動データ転送制御回路9によって制御される転送
データを一時的に格納するものである。すなわち、磁気
ディスク装置からチャネルへ転送するデータは、補助レ
ジスタ17Aに一度格納された後、転送用バッファ10
に再び格納し、この転送用バッファ10からチャネルへ
転送される。
Auxiliary register 17A and transfer buffer 10
Is for temporarily storing the transfer data controlled by the automatic data transfer control circuit 9. That is, the data to be transferred from the magnetic disk device to the channel is first stored in the auxiliary register 17A and then transferred to the transfer buffer 10.
Again, and the data is transferred from the transfer buffer 10 to the channel.

【0061】転送バイトカウンタ11は、磁気ディスク
制御装置3と磁気ディスク装置4との間で転送されるデ
ータのバイト数を示すカウンタであり、データの転送開
始前に、MPU12からその値がセットされており、デ
ータ転送が行われる度に減算されるカウンタである。
The transfer byte counter 11 is a counter indicating the number of bytes of data transferred between the magnetic disk controller 3 and the magnetic disk device 4, and its value is set from the MPU 12 before the start of data transfer. The counter is decremented each time data is transferred.

【0062】補助バイトカウンタ15は、MPU12が
データ転送の準備を完了する前に、磁気ディスク装置4
からデータが転送された場合に、転送準備完了までの転
送バイト数を加算し、そのバイト数をカウントするカウ
ンタであり、通常その値は、0にセットされる。
The auxiliary byte counter 15 is provided in the magnetic disk unit 4 before the MPU 12 completes preparations for data transfer.
When data is transferred from, the counter is a counter that adds the number of transfer bytes until the completion of transfer preparation and counts the number of bytes. Normally, the value is set to 0.

【0063】比較回路16は、転送バイトカウンタ11
のカウント値と、補助バイトカウンタ15のカウント値
を比較する回路であり、比較の結果、両カウント値が等
しい時、有効信号(例えば「1」)を出力する。
The comparison circuit 16 uses the transfer byte counter 11
Of the auxiliary byte counter 15, and outputs a valid signal (for example, "1") when both count values are equal as a result of the comparison.

【0064】アンドゲート(AND)18は、自動デー
タ転送制御回路9の出力信号aと、磁気ディスク装置4
からのDATA送出信号bを入力信号とし、その出力を
補助バイトカウンタ15に送るものである。
An AND gate (AND) 18 outputs the output signal a of the automatic data transfer control circuit 9 and the magnetic disk device 4
The DATA sending signal b from the above is used as an input signal, and its output is sent to the auxiliary byte counter 15.

【0065】この場合、前記信号aは、自動データ転送
回路9が作動中であれば、a=0で、停止中であればa
=1となる。また前記信号bは、磁気ディスク装置から
データ転送が行われる際b=1となり、通常時はb=0
となっている。
In this case, the signal a is a = 0 when the automatic data transfer circuit 9 is operating, and is a when the automatic data transfer circuit 9 is stopped.
= 1. Further, the signal b becomes b = 1 when data is transferred from the magnetic disk device, and normally b = 0.
Has become.

【0066】そして、アンドゲート18では、入力信号
がa=b=1の場合だけ出力信号が1で、それ以外では
出力が0となり、該アンドゲート18の出力が1の時の
み補助バイトカウンタ15がカウントアップする。
In the AND gate 18, the output signal is 1 only when the input signal is a = b = 1, and the output is 0 otherwise, and the auxiliary byte counter 15 is provided only when the output of the AND gate 18 is 1. Will count up.

【0067】すなわち補助バイトカウンタ15では、a
=1の時のb=1の数をカウントするが、前記信号bは
転送データのバイト数と一致しているため、自動データ
転送制御回路9が停止中に、磁気ディスク装置から転送
されてきたデータのバイト数が、補助バイトカウンタ1
5でカウントアップされる。
That is, in the auxiliary byte counter 15, a
The number of b = 1 when = 1 is counted, but since the signal b matches the number of bytes of transfer data, the signal is transferred from the magnetic disk device while the automatic data transfer control circuit 9 is stopped. The number of bytes of data is the auxiliary byte counter 1
It is counted up at 5.

【0068】上記構成に基づく磁気ディスク制御装置の
動作を、図3のデータ転送処理フローチャートに基づい
て説明する。なお、図3の各処理番号は、カッコ内に示
す。
The operation of the magnetic disk control device based on the above configuration will be described with reference to the data transfer processing flowchart of FIG. The process numbers in FIG. 3 are shown in parentheses.

【0069】この実施例の動作は、チャネルコマンドに
基づき、磁気ディスク装置から読み出したデータを、チ
ャネルへ転送する処理であり、次のようにして動作す
る。また、コマンドチェイン処理は、図6と同じであ
る。
The operation of this embodiment is processing for transferring the data read from the magnetic disk device to the channel based on the channel command, and operates as follows. The command chain process is the same as that shown in FIG.

【0070】通常の状態(コマンドチェインの処理が間
延びしないで行われた状態)では、MPU12は、レジ
スタ13を介してチャネルからのチャネルコマンドを受
信(S1)すると、そのコマンドを解析(S2)する。
In a normal state (a state in which the processing of the command chain is performed without delay), the MPU 12 receives the channel command from the channel via the register 13 (S1), and analyzes the command (S2). ..

【0071】次に、MPU12は、受信したコマンドを
実行するため、レジスタ14を使用して磁気ディスク装
置にコマンドを発行(S3)する。次に、自動データ転
送制御回路9のセットアップと、転送バイトカウンタ1
1のセットアップを行うことにより、データ転送準備
(S5)を行う。
Next, the MPU 12 uses the register 14 to issue a command to the magnetic disk device to execute the received command (S3). Next, setup of the automatic data transfer control circuit 9 and transfer byte counter 1
By performing the setup of 1, the data transfer preparation (S5) is performed.

【0072】データ転送準備が完了すると、MPU12
は、自動データ転送制御回路9を起動し、磁気ディスク
装置からチャネルへのデータ転送を開始(S6)する。
When the data transfer preparation is completed, the MPU 12
Activates the automatic data transfer control circuit 9 to start data transfer from the magnetic disk device to the channel (S6).

【0073】その後、磁気ディスク装置で読み出したデ
ータは、磁気ディスク制御装置3へ転送されるが、この
転送データは、一度補助レジスタ17Aに格納され、そ
のデータは、転送用バッファ10へと転送される。この
場合、転送データのバイト数は、自動データ転送回路9
へ送られる。
Thereafter, the data read by the magnetic disk device is transferred to the magnetic disk control device 3. This transfer data is once stored in the auxiliary register 17A, and the data is transferred to the transfer buffer 10. It In this case, the number of bytes of transfer data is determined by the automatic data transfer circuit 9
Sent to.

【0074】そして、この時、自動データ転送制御回路
9により、転送バイトカウンタ11のカウント値から、
転送されてきたデータのバイト数が減算される。また、
転送用バッファ10に格納されているデータは、その
後、自動データ転送制御回路9により、チャネルへと転
送される。
At this time, the automatic data transfer control circuit 9 determines from the count value of the transfer byte counter 11 that
The number of bytes of the transferred data is subtracted. Also,
The data stored in the transfer buffer 10 is then transferred to the channel by the automatic data transfer control circuit 9.

【0075】このようにして、転送バイトカウンタ11
のカウント値と補助バイトカウンタ15のカウント値が
一致し、比較回路16の出力が有効(レベル「1」にな
る状態)になるまでデータ転送は続けられる。
In this way, the transfer byte counter 11
The data transfer is continued until the count value of 1 and the count value of the auxiliary byte counter 15 match and the output of the comparison circuit 16 becomes valid (state in which the level becomes "1").

【0076】通常の場合は、前述のように、補助バイト
カウンタのカウント値は0となっているから、転送バイ
トカウンタ11のカウント値が0になるまでデータ転送
が続けられる。データ転送が終了すると(S7)、チャ
ネルへコマンド実行結果通知(S8)を行い、再びコマ
ンドチェイン指示があれば(S9)、前記の処理を繰り
返して行う。
In the normal case, since the count value of the auxiliary byte counter is 0 as described above, the data transfer is continued until the count value of the transfer byte counter 11 becomes 0. When the data transfer is completed (S7), the command execution result is notified to the channel (S8), and if there is a command chain instruction again (S9), the above process is repeated.

【0077】しかし、チャネルの状態により、コマンド
の発行が遅れ、コマンドチェイン時間が延びた場合に
は、磁気ディスク制御装置内で、データの転送準備が間
に合わずに、磁気ディスク装置からのデータを受領する
ことになる。
However, when the command issuance is delayed and the command chain time is extended due to the channel state, the data transfer preparation cannot be completed in time in the magnetic disk control device and the data from the magnetic disk device is received. Will be done.

【0078】この場合、転送されてくるデータは、補助
レジスタ17Aに格納され、格納されたバイト数分が補
助バイトカウンタ15により加算される。すなわち、デ
ータ転送準備が間に合わない場合は、自動データ転送回
路9が動作しておらず、信号aがa=1となっている。
In this case, the transferred data is stored in the auxiliary register 17A, and the number of stored bytes is added by the auxiliary byte counter 15. That is, when the data transfer preparation is not in time, the automatic data transfer circuit 9 is not operating and the signal a is a = 1.

【0079】この状態で補助レジスタ17Aにデータを
格納すると、信号bがバイト数分だけb=1となり、ア
ンドゲート18の出力が1となって、補助バイトカウン
タ15で前記のように加算される。
When data is stored in the auxiliary register 17A in this state, the signal b becomes b = 1 for the number of bytes, the output of the AND gate 18 becomes 1, and the auxiliary byte counter 15 adds the data as described above. ..

【0080】その後、MPU12によるデータ転送準備
が完了し、自動データ転送制御回路9が起動されると、
a=0となり、補助バイトカウンタ15のカウントは停
止する。これと同時に、転送バイトカウンタ11の減算
が開始され、補助レジスタ17Aに格納されていたデー
タは、転送用バッファ10に転送されチャネルへと送出
される。
After that, when the data transfer preparation by the MPU 12 is completed and the automatic data transfer control circuit 9 is activated,
Since a = 0, the auxiliary byte counter 15 stops counting. At the same time, the subtraction of the transfer byte counter 11 is started, and the data stored in the auxiliary register 17A is transferred to the transfer buffer 10 and sent to the channel.

【0081】このデータ転送は、転送準備完了までに転
送されたバイト数を示す補助バイトカウンタ15のカウ
ント値と、残り転送バイト数を示す転送バイトカウンタ
11のカウント値が等しくなるまで続けられ、等しくな
ると、比較回路16の出力が1となって前記データ転送
を停止する。
This data transfer is continued until the count value of the auxiliary byte counter 15 indicating the number of bytes transferred by the completion of transfer preparation and the count value of the transfer byte counter 11 indicating the number of remaining transfer bytes become equal to each other. Then, the output of the comparison circuit 16 becomes 1 and the data transfer is stopped.

【0082】例えば、転送準備完了までに補助レジスタ
17Aに格納したデータのバイト数がMバイトで、MP
U12が転送バイトカウンタ11にセットするバイト数
がNバイト(N>M)であったとする。
For example, the number of bytes of the data stored in the auxiliary register 17A by the time the transfer preparation is completed is M bytes, and MP
It is assumed that the number of bytes set in the transfer byte counter 11 by the U12 is N bytes (N> M).

【0083】この場合、補助バイトカウンタ15のカウ
ント値はMで、転送バイトカウンタ11のカウント値
は、セット初期はNとなっている。自動データ転送制御
回路9では、起動後、転送用バッファ10を介して自動
的にデータ転送を行い、転送バイトカウンタ11のカウ
ント値を減算するが、この減算は、磁気ディスク装置か
らの信号を受信して行うため、最初のMバイトは、減算
を行わずにデータ転送だけを行う。
In this case, the count value of the auxiliary byte counter 15 is M, and the count value of the transfer byte counter 11 is N at the initial stage of setting. After being activated, the automatic data transfer control circuit 9 automatically transfers data via the transfer buffer 10 and subtracts the count value of the transfer byte counter 11. This subtraction receives a signal from the magnetic disk device. Therefore, the first M bytes carry out only data transfer without subtraction.

【0084】従って、M+1バイト目のデータ転送から
転送バイトカウンタ11の減算を開始するため、自動デ
ータ転送制御回路9がNバイトのデータを転送すると、
転送バイトカウンタ11のカウント値はMとなる。
Therefore, in order to start the subtraction of the transfer byte counter 11 from the data transfer of the (M + 1) th byte, when the automatic data transfer control circuit 9 transfers the data of N bytes,
The count value of the transfer byte counter 11 becomes M.

【0085】この時、比較回路16に入力する2つのカ
ウント値はMとなって、両カウント値が一致する。この
状態で比較回路16から出力される信号により、自動デ
ータ転送制御回路9の動作を停止する。
At this time, the two count values input to the comparison circuit 16 become M, and both count values match. In this state, the operation of the automatic data transfer control circuit 9 is stopped by the signal output from the comparison circuit 16.

【0086】このようにすれば、チャネルの状態によ
り、チャネルコマンドの発行が遅れて、コマンドチェイ
ン時間が延びた場合でも、磁気ディスク装置から送られ
てきたデータを補助レジスタ17Aと補助バイトカウン
タ15で受領することができる。
By doing so, even if the issuing of the channel command is delayed due to the channel state and the command chain time is extended, the data sent from the magnetic disk device is stored in the auxiliary register 17A and the auxiliary byte counter 15. Can be received.

【0087】そして、自動データ転送制御回路9の起動
後、補助レジスタ17Aに格納されていたデータと、そ
の後磁気ディスク装置4から送られてきたデータとをチ
ャネルへ転送し、MPU12によりセットされたバイト
数のデータを転送すると、自動的にデータ転送を終了さ
せることができる。
After the automatic data transfer control circuit 9 is activated, the data stored in the auxiliary register 17A and the data subsequently sent from the magnetic disk device 4 are transferred to the channel, and the byte set by the MPU 12 is transferred. After transferring a certain number of data, the data transfer can be automatically terminated.

【0088】[0088]

【発明の効果】以上説明したように、本発明によれば次
のような効果がある。 (1) チャネルの状態により発生する応答速度の遅れが、
ディスク制御装置内で行われるデータ転送準備の時間に
影響し、自動データ転送制御回路がディスク装置から転
送されるデータの受領を行えない場合でも、補助バイト
カウンタと、補助バッファ(または補助レジスタ)がデ
ータの格納処理を行ってデータを受領することによりデ
ータ転送を支障なく行うことができる。このため、デー
タオーバーランの発生頻度が極めて少なくなる。
As described above, the present invention has the following effects. (1) The delay in response speed caused by the channel condition is
Even if the automatic data transfer control circuit cannot receive the data transferred from the disk device because it affects the time for data transfer preparation in the disk controller, the auxiliary byte counter and auxiliary buffer (or auxiliary register) By performing the data storage process and receiving the data, the data transfer can be performed without any trouble. Therefore, the frequency of occurrence of data overrun is extremely low.

【0089】(2) コマンドチェイン中に起こるチャネル
の応答速度の遅れから発生するデータオーバーランの発
生頻度を改善できるので、処理速度の低下は少なくな
る。
(2) Since the frequency of occurrence of data overrun caused by the delay in the response speed of the channel occurring during the command chain can be improved, the decrease in processing speed is reduced.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

【図2】本発明の実施例における磁気ディスク制御装置
のブロック図である。
FIG. 2 is a block diagram of a magnetic disk controller according to an embodiment of the present invention.

【図3】実施例のデータ転送処理フローチャートであ
る。
FIG. 3 is a flowchart of a data transfer process according to the embodiment.

【図4】従来の磁気ディスクサブシステムの構成図であ
る。
FIG. 4 is a configuration diagram of a conventional magnetic disk subsystem.

【図5】磁気ディスクトラックのデータフォーマット説
明図である。
FIG. 5 is an explanatory diagram of a data format of a magnetic disk track.

【図6】コマンドチェイン処理の説明図である。FIG. 6 is an explanatory diagram of command chain processing.

【図7】従来の磁気ディスク制御装置のブロック図であ
る。
FIG. 7 is a block diagram of a conventional magnetic disk control device.

【符号の説明】[Explanation of symbols]

3A ディスク制御装置 9 自動データ転送制御回路 10 転送用バッファ 11 転送バイトカウンタ 12 MPU(プロセッサ) 15 補助バイトカウンタ 16 比較回路 17 補助バッファ 18 アンドゲート(AND) 3A Disk controller 9 Automatic data transfer control circuit 10 Transfer buffer 11 Transfer byte counter 12 MPU (processor) 15 Auxiliary byte counter 16 Comparison circuit 17 Auxiliary buffer 18 AND gate (AND)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも、各種制御を行うプロセッサ
(12)と、 該プロセッサの指示により、ディスク装置からチャネル
へのデータ転送を自動的に行う自動データ転送制御回路
(9)とを具備し、 プロセッサ(12)によるデータ転送準備を行った後、
該プロセッサからの転送開始指示により、自動データ転
送制御回路(9)を動作させて、 ディスク装置からチャネルへのデータ転送を実行するデ
ィスク制御装置において、 前記プロセッサ(12)からセットアップされ、データ
の転送開始指示後、ディスク装置からデータが転送され
る度に減算する転送用のカウンタ(11)と、 プロセッサ(12)によるデータ転送準備が完了する以
前に、ディスク装置から転送されたデータを格納する補
助バッファ(17)と、 当該期間に転送されたデータ数を計数する補助用のカウ
ンタ(15)と、 前記転送用のカウンタ(11)と補助用のカウンタの値
を比較し、両カウンタ値が一致した時、出力を有効にす
る比較回路(16)とを備え、 比較回路(16)の出力が有効になると、自動データ転
送制御回路(9)によるデータ転送を終了させるように
したことを特徴とするディスク制御装置。
1. A processor comprising at least a processor (12) for performing various controls and an automatic data transfer control circuit (9) for automatically transferring data from a disk device to a channel according to an instruction from the processor, After preparing the data transfer according to (12),
In a disk control device which operates an automatic data transfer control circuit (9) in response to a transfer start instruction from the processor to execute data transfer from a disk device to a channel, the data transfer is set up from the processor (12). After the start instruction, a transfer counter (11) that is subtracted each time data is transferred from the disk device, and an auxiliary device that stores the data transferred from the disk device before the processor (12) completes the data transfer preparation. The values of the buffer (17), the auxiliary counter (15) that counts the number of data transferred during the period, and the value of the transfer counter (11) and the auxiliary counter are compared, and both counter values match. When the output of the comparison circuit (16) becomes effective, the automatic data transfer is provided. Disk control device according to claim by the control circuit (9) that it has to terminate the data transfer.
JP25895191A 1991-10-07 1991-10-07 Disk controller Withdrawn JPH05127831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25895191A JPH05127831A (en) 1991-10-07 1991-10-07 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25895191A JPH05127831A (en) 1991-10-07 1991-10-07 Disk controller

Publications (1)

Publication Number Publication Date
JPH05127831A true JPH05127831A (en) 1993-05-25

Family

ID=17327297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25895191A Withdrawn JPH05127831A (en) 1991-10-07 1991-10-07 Disk controller

Country Status (1)

Country Link
JP (1) JPH05127831A (en)

Similar Documents

Publication Publication Date Title
US5740466A (en) Flexible processor-driven SCSI controller with buffer memory and local processor memory coupled via separate buses
US4933840A (en) I/O control system using buffer full/empty and zero words signals to control DMA read/write commands
JPS60186956A (en) Buffer unit for input/output section of digital data processing system
EP0275157B1 (en) Direct memory access controlled system
US5734918A (en) Computer system with an input/output processor which enables direct file transfers between a storage medium and a network
JPH05127831A (en) Disk controller
US5459870A (en) Interface circuit for controlling data transfers
US6446150B1 (en) Method of and system for managing reselection on a SCSI bus
JP3283928B2 (en) Disk controller
US5603057A (en) System for initiating data transfer between input/output devices having separate address spaces in accordance with initializing information in two address packages
US5689725A (en) System for generating status signals of second bus on first bus by comparing actual phase of the second bus with expected phase of second bus
US5692218A (en) System for transferring data between input/output devices having separate address spaces in accordance with initializing information in address packages
JPH0581165A (en) Data transfer circuit
JP2615677B2 (en) Shared extended storage control method
SU1242956A1 (en) Interface for linking microprocessor system with peripherals with check
SU1026138A1 (en) Device for interfacing magnetic tape store to digital computer
JPS6235148B2 (en)
JP2533886B2 (en) Data transfer method
JPS6118032A (en) External memory controller
JPH0261721A (en) Buffer memory controller
JP2833782B2 (en) Communication control device
JPS59121421A (en) Bulk control system
JPS599927B2 (en) Data transfer control method
JPS5919375B2 (en) Data buffer control method
JPS5916036A (en) Input and output controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990107