JP3211738B2 - Data transfer device and data transfer method - Google Patents

Data transfer device and data transfer method

Info

Publication number
JP3211738B2
JP3211738B2 JP20994697A JP20994697A JP3211738B2 JP 3211738 B2 JP3211738 B2 JP 3211738B2 JP 20994697 A JP20994697 A JP 20994697A JP 20994697 A JP20994697 A JP 20994697A JP 3211738 B2 JP3211738 B2 JP 3211738B2
Authority
JP
Japan
Prior art keywords
data
channel
memory
data transfer
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP20994697A
Other languages
Japanese (ja)
Other versions
JPH1139247A (en
Inventor
利男 木村
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP20994697A priority Critical patent/JP3211738B2/en
Publication of JPH1139247A publication Critical patent/JPH1139247A/en
Application granted granted Critical
Publication of JP3211738B2 publication Critical patent/JP3211738B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ転送装置と方
に関し、特に、複数台のチャネル装置がバスを介して
接続されるチャネルコントロール装置において、チャネ
ル装置へのメモリリプライデータと、マイクロプログラ
ム制御部からチャネル装置への動作指示データの送出
と、を上記バスを共用して行うデータ転送装置と方法
関する。
[0001] The present invention relates to a data transfer apparatus and method.
In particular, in a channel control device in which a plurality of channel devices are connected via a bus, the memory reply data to the channel device and the transmission of operation instruction data from the microprogram control unit to the channel device are described above. The present invention relates to a data transfer device and method for performing data sharing using a bus.

【0002】[0002]

【従来の技術】この種の従来のチャネル装置として、例
えば特開平3−36652号公報の記載が参照される。
上記公報には、主記憶装置と外部記憶装置の間に接続さ
れるチャネル装置であって、同期転送が可能であり、転
送要求を送出する側の装置が転送応答信号の受信に先行
して送出可能な転送要求信号の数を予め取り決めること
が可能なインターフェースをサポートするチャネル装置
に転送データを一時的に格納するバッファ手段と、転送
要求信号の受信数と転送応答信号の送出数を記憶するス
タック手段と、前記バッファ手段に格納されている転送
データ数と前記スタック手段の記憶数を監視する監視手
段と、を備え、前記監視手段により前記バッファ手段の
格納状態とスタック手段の記憶数を監視して前記主記憶
装置と外部装置との間のデータ転送を制御することによ
り、前記チャネル装置内部、若しくは前記チャネル装置
と主記憶装置の間での転送データの送受の遅延によるデ
ータ・オーバランの発生を抑止するチャネル装置が提案
されている。
2. Description of the Related Art As a conventional channel device of this kind, reference is made to, for example, the description of Japanese Patent Application Laid-Open No. Hei 3-36652.
The above publication discloses a channel device connected between a main storage device and an external storage device, capable of performing synchronous transfer, and transmitting a transfer request before transmitting a transfer response signal. Buffer means for temporarily storing transfer data in a channel device supporting an interface capable of predetermining the number of possible transfer request signals, and a stack for storing the number of transfer request signals received and the number of transfer response signals transmitted Means, and monitoring means for monitoring the number of transfer data stored in the buffer means and the number of storages in the stack means, wherein the monitoring means monitors the storage state of the buffer means and the number of storages in the stack means. By controlling data transfer between the main storage device and an external device, the data transfer between the channel device and the main storage device can be performed. Channel device to prevent the occurrence of data overrun due to delay of the transmission and reception of the transfer data has been proposed.

【0003】また、例えば特開平3−58158号公報
には、主記憶装置と周辺装置との間のデータ転送をチャ
ネル装置からの要求により優先順位をとりながら処理す
るデータ処理装置において、前記チャネル装置内のデー
タバッファに格納される有効データ量が一定量以上また
は以下になったかを検出して、当該チャネル装置を介し
ての前記周辺装置とのデータ転送を一時中断または再開
できるようにすることにより、先行データのオーバラン
を防止するデータ転送装置が提案されている。
[0003] For example, Japanese Patent Application Laid-Open No. 3-58158 discloses a data processing device for processing data transfer between a main storage device and a peripheral device while giving priority to a request from a channel device. By detecting whether the amount of valid data stored in the data buffer in the device has become equal to or more than a certain amount, the data transfer with the peripheral device via the channel device can be temporarily suspended or resumed. A data transfer device for preventing overrun of preceding data has been proposed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来技術は下記記載の問題点を有している。
However, the above prior art has the following problems.

【0005】すなわち、複数台のチャネル装置がバスを
介してチャネルコントロール装置へ接続され、チャネル
装置への主記憶装置からのメモリリプライデータの送出
とチャネルコントロール装置内のマイクロプログラム制
御部からチャネル装置への動作指示の送出を、上記バス
を介して行う場合に、チャネル装置へのメモリリプライ
データが連続していると、上記バスがデータ転送に専有
されてしまい、マイクロプログラム制御部が動作指示を
送出しようとしても、上記バスが使用できず、このため
上記バスがあくまで待ち合わせが生じる。
That is, a plurality of channel devices are connected to a channel control device via a bus, and memory reply data is sent from the main storage device to the channel device, and a microprogram control unit in the channel control device is sent to the channel device. When the operation instruction is transmitted via the bus, if the memory reply data to the channel device is continuous, the bus is occupied by the data transfer, and the microprogram control unit transmits the operation instruction. If this is the case, the bus cannot be used, so that the bus is kept waiting.

【0006】そして、上記従来技術においては、データ
転送を制御する要因に、この待ち合わせが含まれてい
ず、マイクロプログラムの実行の中断、もしくはデータ
オーバラン、コマンドオーバランを引き起こすという、
問題点を有している。
In the above-mentioned conventional technology, the factor for controlling the data transfer does not include this queuing, and interrupts the execution of the microprogram or causes a data overrun or a command overrun.
Has problems.

【0007】その理由は、主記憶装置からのメモリリプ
ライデータが連続している間は、チャネル装置に動作指
示が供給できず、新たに別の動作指示が発生すると、該
動作指示が発行できず、その結果、マイクロプログラム
の実行が中断するとともに、データオーバラン、コマン
ドオーバランを引き起こす、ためである。
The reason is that while memory reply data from the main storage device is continuous, an operation instruction cannot be supplied to the channel device, and if another operation instruction is newly generated, the operation instruction cannot be issued. As a result, execution of the microprogram is interrupted, and data overrun and command overrun are caused.

【0008】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、チャネル装置へ
の動作指示とデータ転送が競合し動作指示が待ち合わせ
を行っている場合に、アップデータバスの使用頻度を考
慮した上で、待ち合わせが少なく、且つオーバラン確率
を低く抑えたデータ転送装置と方法を提供することにあ
る。
Accordingly, the present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide an update method when an operation instruction to a channel device and data transfer conflict and the operation instruction is waiting. It is an object of the present invention to provide a data transfer apparatus and method which have a small number of waits and a low overrun probability in consideration of the frequency of use of a bus.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
本発明のデータ転送装置の構成は、各チャネル装置に、
メモリリクエストが発生する毎に+1(1つカウントア
ップ)され、メモリリクエストがチャネルコントロール
装置に受け付けられる毎に−1(1つカウントダウン)
されるカウンタと、前記カウンタの値を前記チャネルコ
ントロール装置へ送出する手段とを備え、前記チャネル
コントロール装置には、マイクロプログラム制御部が発
行した前記チャネル装置への動作指示がメモリリプライ
データとのダウンデータバスでの競合により待ち合わせ
中であることを表示する待ち合わせ中表示手段と、前記
各チャネル装置の前記カウンタの値の総和をとる加算器
と、前記加算器の値があらかじめ定められた定数より小
さいことを検出すると論理“1”を出力する比較器と、
前記動作指示が待ち合わせ中でありかつ前記比較器の出
力が論理“1”であると、各チャネル装置からのメモリ
リクエストの受付を一時的に停止するメモリリクエスト
受付抑止手段とを備えている。
In order to achieve the above object, the structure of the data transfer device of the present invention is as follows.
Every time a memory request is generated, +1 (one is counted up), and every time a memory request is accepted by the channel control device, -1 (one is counted down)
And a means for sending the value of the counter to the channel control device. The channel control device has an operation instruction to the channel device issued by the microprogram control unit which is down-converted to memory reply data. Waiting display means for displaying that the device is waiting due to contention on the data bus, an adder for summing the values of the counters of the channel devices, and a value of the adder smaller than a predetermined constant. A comparator that outputs a logical "1" when detecting that
A memory request reception inhibiting means for temporarily stopping reception of a memory request from each channel device when the operation instruction is waiting and the output of the comparator is logic "1".

【0010】[0010]

【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明のデータ転送装置は、その好ましい
実施の形態において、バスを介して接続される複数のチ
ャネル装置(図1の201〜20n)と主記憶装置(図1
の1)とのデータ転送を制御するチャネルコントロール
装置(図1の2)を備え、主記憶装置から複数のチャネ
ル装置へのメモリリプライデータと、チャネルコントロ
ール装置からチャネル装置への動作指示データとをバス
を介して転送するデータ転送装置において、各チャネル
装置が、メモリリクエストが発生する毎に1つカウント
アップされ、メモリリクエストが前記チャネルコントロ
ール装置に受け付けられる毎に1つカウントダウンされ
るカウンタ(図1の23)と、カウンタの値を前記チャ
ネルコントロール装置へ送出する手段と、を有し、チャ
ネルコントロール装置(図1の2)は、マイクロプログ
ラム制御部(図1の3)が発行したチャネル装置への動
作指示がメモリリプライデータとのダウンデータバスで
の競合により待ち合わせ中であることを表示する表示手
段(図1の9)と、各チャネル装置の前記カウンタの値
の総和をとる加算器(図1の12)と、加算器の値が予
め定数よりも小さいことを検出すると検出信号をアクテ
ィブとして出力する比較器(図1の11)と、前記動作
指示が待ち合わせ中であり、かつ、比較器の出力がアク
ティブであると、前記各チャネル装置からのメモリリク
エストの受付を一時的に停止するメモリリクエスト受付
抑止手段(図1の10)と、を有する。
Embodiments of the present invention will be described below. Data transfer apparatus of the present invention, in the form of its preferred embodiment, a plurality of channel devices connected via a bus to the main memory (20 1 to 20 n in Fig. 1) (Fig. 1
1) that controls the data transfer with the channel control device (2 in FIG. 1), and stores memory reply data from the main storage device to a plurality of channel devices and operation instruction data from the channel control device to the channel devices. In a data transfer device that transfers data via a bus, each channel device counts up by one each time a memory request is generated, and counts down by one each time a memory request is received by the channel control device (FIG. 1). 23) and means for sending the value of the counter to the channel control device. The channel control device (2 in FIG. 1) transmits the counter value to the channel device issued by the microprogram control unit (3 in FIG. 1). Operation instruction waits due to contention on the down data bus with memory reply data Display means (9 in FIG. 1) for displaying that the synchronization is in progress, an adder (12 in FIG. 1) for summing up the values of the counters of the respective channel devices, and a value of the adder smaller than a constant in advance. A comparator (11 in FIG. 1) that outputs a detection signal as active when detecting that the operation request is awaiting, and when the output of the comparator is active, a memory request from each of the channel devices is output. And a memory request reception inhibiting means (10 in FIG. 1) for temporarily stopping the reception of the request.

【0011】本発明の実施の形態においては、各チャネ
ル装置のカウンタの値の総和が予め定めた定数よりも小
さい場合に、待ち合わせ中表示手段が動作指示の待ち合
わせを表示すると、メモリリクエスト受付抑止手段が、
各チャネル装置からのメモリリクエストの受付を抑止す
る。メモリリクエストの受付が抑止されると、主記憶装
置と各チャネル装置間のデータ転送が一時的に中断し、
主記憶装置からのメモリリプライデータも一時的に中断
する。メモリリプライが中断すると、待ち合わせをして
いた動作指示は、チャネル装置へ送出される。
In the embodiment of the present invention, when the sum total of the values of the counters of the respective channel devices is smaller than a predetermined constant, when the waiting display means displays the waiting of the operation instruction, the memory request acceptance suppressing means But,
Suppress reception of memory requests from each channel device. When the reception of the memory request is suppressed, the data transfer between the main storage device and each channel device is temporarily suspended,
The memory reply data from the main storage device is also temporarily suspended. When the memory reply is interrupted, the waiting operation instruction is transmitted to the channel device.

【0012】[0012]

【実施例】上記した本発明の実施の形態について更に詳
細に説明すべく、本発明の実施例について図面を参照し
て以下に詳細に説明する。図1は、本発明の一実施例の
構成を示す図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention; FIG. 1 is a diagram showing the configuration of one embodiment of the present invention.

【0013】図1を参照すると、本発明の一実施例にお
いて、チャネルコントロール装置2は、主記憶装置1に
接続されるとともに、チャネル装置201〜20nの各々
にアップデータバス31、ダウンデータバス32を介し
て接続される。
Referring to FIG. 1, in one embodiment of the present invention, the channel control unit 2 is connected to the main memory 1, the updater bus 31 to each channel device 20 1 to 20 n, down data bus 32.

【0014】各チャネル装置201〜20nは、データ転
送制御回路22と、カウンタ23と、データ送出バッフ
ァ21と、データ受信バッファ24と、を備えている。
[0014] Each channel unit 20 1 to 20 n includes a data transfer control circuit 22, a counter 23, a data output buffer 21, a data receiving buffer 24.

【0015】データ転送制御回路22は、チャネルコン
トロール装置2と、データ送出バッファ21と、カウン
タ23と、に接続され、メモリリクエストが発生する
と、アップデータバス使用要求信号331〜33nを介し
て、チャネルコントロール装置2へアップデータバス使
用要求を送出する。
The data transfer control circuit 22 includes a channel control unit 2, a data output buffer 21 is connected to the counter 23, to, when the memory request is generated, via the updater bus use request signal 33 1 ~ 33 n, An update bus use request is sent to the channel control device 2.

【0016】アップデータバス31の使用が許可される
と、チャネルコントロール装置2からアップデータバス
使用許可信号341〜34nを介して、データ転送制御回
路22へ通知される。
[0016] Using the updater bus 31 is granted, the channel control unit 2 via the up data bus grant signal 34 1 to 34C n, is notified to the data transfer control circuit 22.

【0017】アップデータバス31の使用が許可される
と、データ転送制御回路22は、データ送出バッファ2
1へメモリリクエストデータのアップデータバス31へ
の送出を指示する。
When the use of the updata bus 31 is permitted, the data transfer control circuit 22 sends the data transmission buffer 2
1 instructs transmission of the memory request data to the updater bus 31.

【0018】データ転送バッファ21は、データ転送制
御回路22とアップデータバス31とに接続され、デー
タ転送制御回路22の指示により、メモリリクエストデ
ータをアップデータバス31へ送出する。
The data transfer buffer 21 is connected to the data transfer control circuit 22 and the up data bus 31, and sends out memory request data to the up data bus 31 according to an instruction from the data transfer control circuit 22.

【0019】データ転送制御回路22は、メモリリクエ
ストの発生とメモリリクエストの受付をカウンタ23に
通知する。
The data transfer control circuit 22 notifies the counter 23 of the occurrence of the memory request and the acceptance of the memory request.

【0020】カウンタ23は、データ転送制御回路22
とチャネルコントロール装置2に接続され、メモリリク
エストが発生する毎にカウント値を+1(1つカウント
アップ)し、メモリリクエストが受け付けられる毎にカ
ウント値−1(1つカウントダウン)し、カウンタ23
の値は、チャネルコントロール装置2へ、カウンタ出力
信号351〜35nを介して送出される。
The counter 23 includes a data transfer control circuit 22
Is connected to the channel control device 2, and the count value is incremented by one (one count up) every time a memory request is generated, and the count value is decremented by one (one count down) each time a memory request is received.
Values to the channel control device 2, is sent through the counter output signal 35 1 to 35 n.

【0021】データ受信バッファ24は、ダウンデータ
バス32を介して、チャネルコントロール装置2に接続
されメモリリプライデータを受信する。
The data reception buffer 24 is connected to the channel control device 2 via the down data bus 32 and receives memory reply data.

【0022】次に本発明の一実施例におけるチャネルコ
ントロール装置2の構成について説明する。
Next, the configuration of the channel control device 2 in one embodiment of the present invention will be described.

【0023】データ受信バッファ7は、アップデータバ
ス31と主記憶装置1とに接続され、アップデータバス
31を介して受信したメモリリクエストデータを、主記
憶装置1へ送出する。
The data reception buffer 7 is connected to the up data bus 31 and the main storage device 1 and sends out the memory request data received via the up data bus 31 to the main storage device 1.

【0024】レジスタ5は、主記憶装置1とセレクタ6
とに接続され、主記憶装置1からのメモリリプライデー
タを受信し、セレクタ6へ送出する。
The register 5 includes the main storage device 1 and the selector 6
And receives the memory reply data from the main storage device 1 and sends it to the selector 6.

【0025】レジスタ4は、マイクロプログラム制御部
3とセレクタ5と待ち合わせ中表示回路9とに接続され
る。レジスタ4は、マイクロプログラム制御部3からの
各チャネル装置201〜20nに送出される動作指示を受
信し、レジスタ5にメモリリプライデータがなければ、
セレクタ6に動作指示を送出し、レジスタ5にメモリリ
プライデータがあれば、レジスタ5にメモリリプライデ
ータが無くなるまで、動作指示を保持し、待ち合わせを
行う。
The register 4 is connected to the microprogram controller 3, the selector 5, and the waiting display circuit 9. Register 4 receives an operation instruction sent to each channel device 20 1 to 20 n from the microprogram control unit 3, if there is no memory reply data register 5,
An operation instruction is sent to the selector 6, and if there is memory reply data in the register 5, the operation instruction is held and waiting is performed until there is no more memory reply data in the register 5.

【0026】セレクタ6は、レジスタ4、レジスタ5、
及びダウンデータバス32と接続され、レジスタ5にメ
モリリプライデータがあればレジスタ5を選択し、メモ
リリプライデータが無ければレジスタ4を選択して、選
択したデータをダウンデータバス32に送出する。
The selector 6 comprises a register 4, a register 5,
If the register 5 has memory reply data, the register 5 is selected, and if there is no memory reply data, the register 4 is selected, and the selected data is transmitted to the down data bus 32.

【0027】待ち合わせ中表示回路9は、レジスタ4と
レジスタ5の状態を監視し、レジスタ4で待ち合わせが
生じていれば、メモリリクエスト停止指示発行回路10
へ待ち合わせが生じている旨を表示する。
The waiting display circuit 9 monitors the states of the registers 4 and 5, and if a wait occurs in the register 4, the memory request stop instruction issuing circuit 10
To indicate that a meeting has occurred.

【0028】加算器12は、各チャネル装置内のカウン
タ23の総和を取り、その結果を比較器11へ出力す
る。
The adder 12 calculates the sum of the counters 23 in each channel device and outputs the result to the comparator 11.

【0029】比較器11は、加算器12の出力値と、予
め設定された規定値(定数)“N”との比較を行い、加
算器12の値が定数“N”よりも小さい場合には、メモ
リリクエスト停止指示発行回路10に論理“1”を出力
する。
The comparator 11 compares the output value of the adder 12 with a preset specified value (constant) "N", and when the value of the adder 12 is smaller than the constant "N". Output a logic "1" to the memory request stop instruction issuing circuit 10.

【0030】メモリリクエスト停止指示発行回路10
は、待ち合わせ中表示回路9が動作指示の待ち合わせを
表示し、且つ、比較器11の出力が論理“1”であれ
ば、優先順位判定回路8にメモリリクエストの受付停止
指示を出力する。
Memory request stop instruction issuing circuit 10
When the waiting display circuit 9 displays the waiting of the operation instruction, and the output of the comparator 11 is logic "1", it outputs the memory request acceptance stop instruction to the priority determination circuit 8.

【0031】優先順位判定回路8は、メモリリクエスト
停止指示発行回路10からのメモリリクエストの受付停
止指示を受け取ると、各チャネル装置からのアップデー
タバス使用要求に対して、アップデータバス使用許可を
一時的に出さなくする。
When the priority determining circuit 8 receives the instruction to stop accepting a memory request from the memory request stop instruction issuing circuit 10, the priority order determining circuit 8 temporarily grants the updata bus use permission in response to the updata bus use request from each channel device. Do not put out.

【0032】次に本発明の一実施例の動作について説明
する。
Next, the operation of one embodiment of the present invention will be described.

【0033】チャネル装置201〜20nのカウンタ23
は、メモリリクエストが発生する毎に+1され、メモリ
リクエスト(メモリ要求)がチャネル装置に受け付けら
れると−1され、その出力がチャネルコントロール装置
2の加算器12に送出される。
The channel device 20 1 to 20 n of the counter 23
Is incremented by 1 each time a memory request occurs, and is decremented by 1 when a memory request (memory request) is accepted by the channel device, and its output is sent to the adder 12 of the channel control device 2.

【0034】各チャネル装置からのメモリリクエストデ
ータに対するメモリリプライデータ(メモリ応答デー
タ)は、主記憶装置1より、チャネルコントロール装置
2のレジスタ5、セレクタ6、ダウンデータバス32を
介して、前記チャネル装置へ送出される。
The memory reply data (memory response data) for the memory request data from each channel device is sent from the main storage device 1 via the register 5, selector 6, and down data bus 32 of the channel control device 2 to the channel device. Sent to

【0035】チャネルコントロール装置2のマイクロプ
ログラム制御部3から、各チャネル装置への動作指示
は、レジスタ4、セレクタ6、ダウンデータバス32を
介して前記チャネル装置へ送出される。
An operation instruction to each channel device is sent from the microprogram controller 3 of the channel control device 2 to the channel device via the register 4, the selector 6, and the down data bus 32.

【0036】マイクロプログラム制御部3から、各チャ
ネル装置への動作指示を発行する際、レジスタ5に有効
なメモリリプライデータがある場合には、メモリリプラ
イデータが優先されるため、前記動作指示は、レジスタ
4にて待ち合わせを行う。
When the microprogram control unit 3 issues an operation instruction to each channel device, if there is valid memory reply data in the register 5, the memory reply data is prioritized. Wait in register 4.

【0037】待ち合わせ表示回路9は、前記の待ち合わ
せが生じたことを検出すると、メモリリクエスト停止指
示発行回路10へその旨通知する。
When the queuing display circuit 9 detects that the queuing has occurred, the queuing display circuit 9 notifies the memory request stop instruction issuing circuit 10 to that effect.

【0038】加算器12は、各チャネル装置のカウンタ
23の値の総和をとり、その結果が比較器11にてあら
かじめ定められた定数“N”と比較され、加算器12の
出力値が定数“N”よりも小さければ、比較器11の出
力値が論理“1”となり、メモリリクエスト停止指示発
行回路10へ通知される。メモリリクエスト停止指示発
行回路10は、動作指示が待ち合わせ中であり、かつ、
比較器11の出力が論理“1”であるとき、優先順位判
定回路8へメモリリクエストの受付を一時的に停止する
よう指示する。これにより、チャネル装置と主記憶装置
1間のデータ転送が一時的に中断するため、主記憶装置
からのメモリリプライデータに隙間が出来、レジスタ4
での待ち合わせ中であったチャネル装置への動作指示が
転送出来る。
The adder 12 calculates the sum of the values of the counters 23 of the respective channel devices, compares the result with a predetermined constant "N" in the comparator 11, and outputs the output value of the adder 12 as a constant " If it is smaller than "N", the output value of the comparator 11 becomes logic "1" and is notified to the memory request stop instruction issuing circuit 10. The memory request stop instruction issuing circuit 10 waits for an operation instruction,
When the output of the comparator 11 is logic "1", it instructs the priority determination circuit 8 to temporarily stop accepting a memory request. As a result, the data transfer between the channel device and the main storage device 1 is temporarily interrupted, so that a gap is created in the memory reply data from the main storage device, and the register 4
The operation instruction to the channel device which has been waiting in the above can be transferred.

【0039】[0039]

【発明の効果】以上説明したように、本発明によれば、
アップデータバスの使用頻度を考慮した上で、動作指示
発行の待ち合わせ時間が少なく、オーバラン確率の低い
データ転送装置を実現することができる、という効果を
奏する。
As described above, according to the present invention,
In consideration of the frequency of use of the update data bus, there is an effect that a data transfer device with a short waiting time for issuing an operation instruction and a low overrun probability can be realized.

【0040】その理由は、本発明においては、チャネル
装置への動作指示とデータ転送が競合し、動作指示が待
ち合わせを行っている場合に、アップデータバスの使用
頻度が一定値以下であれば、一時的にメモリリクエスト
の受付を抑止し、データ転送に隙間を作り、動作指示を
発行できるように構成したためである。
The reason is that, in the present invention, when the operation instruction to the channel device and the data transfer compete with each other and the operation instruction is waiting, if the frequency of use of the update data bus is less than a certain value, the operation is temporarily stopped. This is because the reception of a memory request is suppressed, a gap is created in data transfer, and an operation instruction can be issued.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

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

1 主記憶装置 2 チャネルコントロール装置 3 マイクロプログラム制御部 4 レジスタ 5 レジスタ 6 セレクタ 7 データ受信バッファ 8 優先順位判定回路 9 待ち合わせ中表示回路 10 メモリリクエスト停止指示発行回路 11 比較器 12 加算器 201〜20n チャネル装置 21 データ転送バッファ 22 データ転送制御回路 23 カウンタ 24 データ受信バッファ 31 アップデータバス 32 ダウンデータバス 331〜33n アップデータバス使用要求信号 341〜34n アップデータバス使用許可信号 351〜35n カウンタ出力信号DESCRIPTION OF SYMBOLS 1 Main storage device 2 Channel control device 3 Microprogram control unit 4 Register 5 Register 6 Selector 7 Data reception buffer 8 Priority determination circuit 9 Waiting display circuit 10 Memory request stop instruction issuing circuit 11 Comparator 12 Adder 20 1 to 20 n channel device 21 data transfer buffer 22 data transfer control circuit 23 counter 24 data reception buffer 31 up data bus 32 down data bus 33 1 to 33 n up data bus use request signal 34 1 to 34 n up data bus use permission signal 35 1 to 35 n Counter output signal

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】バスを介して接続される複数のチャネル装
置と主記憶装置とのデータ転送をチャネルコントロール
装置を介して制御し、 前記各チャネル装置がメモリリクエスト発行で1つカウ
ントアップされ、メモリリクエスト受付で1つカウント
ダウンされるカウンタを備え、前記各チャネル装置のカ
ウンタのカウント値の総和が予め定めた規定値以下であ
り、且つ、前記チャネルコントロール装置から前記チャ
ネル装置への動作指示が、前記主記憶装置から読み出さ
れた前記チャネル装置へのメモリリプライデータとの競
合により待ち合わせ中の場合、前記チャネルコントロー
ル装置は、前記各チャネル装置からのメモリリクエスト
の受付を一時的に中断し、メモリリプライデータに隙間
を作り、動作指示を発行できるようにしことを特徴と
するデータ転送方
A data transfer between a plurality of channel devices connected via a bus and a main storage device is controlled via a channel control device. Each of the channel devices is incremented by one when a memory request is issued. A counter that counts down by one upon request reception, wherein the sum of the count values of the counters of the respective channel devices is equal to or less than a predetermined value, and an operation instruction from the channel control device to the channel device is When waiting due to contention with the memory reply data to the channel device read from the main storage device, the channel control device temporarily suspends the reception of the memory request from each of the channel devices, and It creates a gap in the data, especially that it has to issue an operation instruction Data transfer how to.
【請求項2】バスを介して接続される複数のチャネル装
置と主記憶装置とのデータ転送を制御するチャネルコン
トロール装置を備え、 前記主記憶装置から前記複数のチャネル装置へのメモリ
リプライデータと、前記チャネルコントロール装置から
前記チャネル装置への動作指示データとを前記バスを介
して転送するデータ転送装置において、 前記各チャネル装置が、メモリリクエストが発生する毎
に1つカウントアップされ、メモリリクエストが前記チ
ャネルコントロール装置に受け付けられる毎に1つカウ
ントダウンされるカウンタと、 前記カウンタの値を前記チャネルコントロール装置へ送
出する手段と、 を含み、 前記チャネルコントロール装置が、マイクロプログラム
制御部が発行した前記チャネル装置への動作指示がメモ
リリプライデータとのダウンデータバスでの競合により
待ち合わせ中であることを表示する待ち合わせ中表示手
段と、 前記各チャネル装置の前記カウンタの値の総和をとる加
算器と、 前記加算器の値があらかじめ定められた定数より小さい
ことを検出すると検出信号をアクティブとして出力する
比較器と、 前記動作指示が待ち合わせ中であり、かつ、前記比較器
の出力がアクティブであると、前記各チャネル装置から
のメモリリクエストの受付を一時的に停止するメモリリ
クエスト受付抑止手段と、 を含むことを特徴とするデータ転送装置。
2. A channel control device for controlling data transfer between a plurality of channel devices connected via a bus and a main storage device, comprising: memory reply data from the main storage device to the plurality of channel devices; In a data transfer device for transferring operation instruction data from the channel control device to the channel device via the bus, each channel device is counted up by one each time a memory request occurs, and the memory request is A counter that counts down by one each time it is accepted by the channel control device; and a unit that sends out the value of the counter to the channel control device, wherein the channel control device issues the channel device issued by a microprogram control unit. Operation instruction to memory Waiting display means for displaying that a wait is in progress due to contention on the down data bus with the data, an adder for summing the values of the counters of the respective channel devices, and the value of the adder is predetermined. A comparator that outputs a detection signal as active when it detects that it is smaller than the constant, and the operation instruction is waiting, and when the output of the comparator is active, a memory request from each of the channel devices is A data transfer device comprising: a memory request reception inhibiting unit for temporarily stopping reception.
【請求項3】前記各チャネルから前記チャネルコントロ
ール装置へのメモリリクエストデータはアップデータバ
スを介して行われ、 前記チャネルコントロール装置から前記各チャネルへの
メモリリプライデータ及び動作指示がダウンデータバス
を介して行われる、ことを特徴とする請求項2記載のデ
ータ転送装置。
3. The memory request data from each of the channels to the channel control device is transmitted via an up data bus, and the memory reply data and operation instruction from the channel control device to each of the channels are transmitted via a down data bus. 3. The data transfer device according to claim 2, wherein the data transfer is performed.
【請求項4】前記チャネルコントロール装置が、前記主
記憶装置から読み出したメモリリプライデータを記憶す
る第1記憶部と、前記チャネル装置に対する動作指示を
記憶する第2記憶部と、前記第1、第2記憶部の出力の
一方を選択して前記ダウンデータバスに出力するセレク
タと、を備え、 前記第1記憶部に有効なメモリリプライデータがある場
合、前記メモリリプライデータを優先して、前記動作指
示は、前記第2記憶部にて待ち合わせを行う、ことを特
徴とする請求項3記載のデータ転送装置。
A first storage unit for storing the memory reply data read from the main storage device, a second storage unit for storing an operation instruction for the channel device; And a selector for selecting one of the outputs of the second storage unit and outputting the selected data to the down data bus. If there is valid memory reply data in the first storage unit, the memory reply data is prioritized and the operation is performed. 4. The data transfer device according to claim 3, wherein the instruction is performed in the second storage unit.
JP20994697A 1997-07-18 1997-07-18 Data transfer device and data transfer method Expired - Lifetime JP3211738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20994697A JP3211738B2 (en) 1997-07-18 1997-07-18 Data transfer device and data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20994697A JP3211738B2 (en) 1997-07-18 1997-07-18 Data transfer device and data transfer method

Publications (2)

Publication Number Publication Date
JPH1139247A JPH1139247A (en) 1999-02-12
JP3211738B2 true JP3211738B2 (en) 2001-09-25

Family

ID=16581293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20994697A Expired - Lifetime JP3211738B2 (en) 1997-07-18 1997-07-18 Data transfer device and data transfer method

Country Status (1)

Country Link
JP (1) JP3211738B2 (en)

Also Published As

Publication number Publication date
JPH1139247A (en) 1999-02-12

Similar Documents

Publication Publication Date Title
US5781927A (en) Main memory arbitration with priority scheduling capability including multiple priorty signal connections
US6542940B1 (en) Method and apparatus for controlling task execution in a direct memory access controller
KR100708096B1 (en) Bus system and execution scheduling method for access commands thereof
EP1029284B1 (en) Shared memory access controller
EP1238342B1 (en) Apparatus for memory resource arbitration based on dedicated time slot allocation
JP3211738B2 (en) Data transfer device and data transfer method
JP2865131B2 (en) Data transfer method
JP3261715B2 (en) I / O data transfer processor
EP0341670B1 (en) Processing time allocation system and method
JP2000276437A (en) Dma controller
US6629253B1 (en) System for efficient management of memory access requests from a planar video overlay data stream using a time delay
US6723190B1 (en) ESD sensitivity in titanium/boron compositions
JP2002049580A (en) Bus managing device, bus use request transmitter, method of bus managing, and bus use request transmission method
JP2658972B2 (en) Bus arbitration equipment
JP2000151622A (en) Medium access control method and system
KR100451722B1 (en) apparatus for controlling direct memory access
JPH0830549A (en) Bus control device
JPS60183659A (en) Information transfer control system
JP2002091903A (en) Bus system
JP2837698B2 (en) Direct memory access controller
JP2001117860A (en) Memory access priority switching controller
JP2798107B2 (en) Data transfer method
JPH02219157A (en) Bus arbiter in computer system
JPS6158073A (en) Data transfer controlling system
JP3008871B2 (en) Bus control method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010619

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070719

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 9