JPS626357A - Priority control system for channel - Google Patents

Priority control system for channel

Info

Publication number
JPS626357A
JPS626357A JP60145268A JP14526885A JPS626357A JP S626357 A JPS626357 A JP S626357A JP 60145268 A JP60145268 A JP 60145268A JP 14526885 A JP14526885 A JP 14526885A JP S626357 A JPS626357 A JP S626357A
Authority
JP
Japan
Prior art keywords
channel
data transfer
priority
counter
transfer request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60145268A
Other languages
Japanese (ja)
Inventor
Yasushi Miura
三浦 裕史
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60145268A priority Critical patent/JPS626357A/en
Publication of JPS626357A publication Critical patent/JPS626357A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the maximum waiting time by providing a counter which counts up at every reception of a data transfer request from a channel and changing the priority for the reception of the channel data transfer request signals in response to the count value of the counter. CONSTITUTION:The channel data transfer request signals 5-7 of the 1st-3rd channels 1-3 are supplied to input selectors 14a-14c forming a selector circuit 14. The outputs 15-17 of selectors 14a-14c are supplied to a priority encoder 18. The data transfer request signal sent from the encoder 18 is supplied to a main memory device 4. While a channel address 22 is sent to the memory device 4 via an address converting circuit 24. A counter 21 counts up at every time the data transfer requests are received from channels 1-3. Then the order of inputs given to the encoder 18 from the circuit 14 is changed in response to the count value of the counter 21.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、複数のチャネルを備えたデータ処理装置に
おけるチャネルの優先順位制御方式に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a channel priority control method in a data processing device equipped with a plurality of channels.

[従来の技術] 複数のチャネルを備えたデータ処理装置においては、複
数のチャネルから同時に主記憶装置に対してデータ転送
要求が出された場合に、いずれのチャネルの転送要求を
最優先に受付けるかを決定することが必要である。
[Prior Art] In a data processing device equipped with a plurality of channels, when data transfer requests are simultaneously issued to the main storage device from the plurality of channels, which channel's transfer request should be accepted with the highest priority? It is necessary to determine the

第4図は、従来の優先順位制御方式を用いたデータ処理
装置のブロック図であり、図において、(1)は第1チ
ヤネル、(2)は第2チヤネル、(3)は第3チヤネル
、(4)は主記憶装置、(5)〜(7)は第1チヤネル
(1)〜第3チャネル(3)からそれぞれ出力されるチ
ャネル・デ−タ転送要求信号、(8)は上記のチぜネル
・データ転送要求信@(5)〜(7)を入力とするプラ
イオリティ・エンコーダ、(9)はプライオリティ・エ
ンコーダ(8)から出力される主記憶装置(4)へのデ
ータ転送要求信号、(10)はプライオリティ・エンコ
ーダ(8)から出力されて主記憶装置(4)へ送られる
チャネル・アドレス、(11)〜(13)は主記憶装置
(4)から第1−チャネル(1)〜第3チャネル(3)
へそれぞれ送られるデータ転送受付信号である。
FIG. 4 is a block diagram of a data processing device using a conventional priority control system. In the figure, (1) is the first channel, (2) is the second channel, (3) is the third channel, (4) is the main memory, (5) to (7) are channel data transfer request signals output from the first channel (1) to the third channel (3), respectively, and (8) is the channel data transfer request signal output from the first channel (1) to the third channel (3), respectively. A priority encoder that receives Zenel data transfer request signals @ (5) to (7) as input, (9) is a data transfer request signal to the main storage device (4) output from the priority encoder (8), (10) is the channel address output from the priority encoder (8) and sent to the main memory (4), and (11) to (13) are the first channels (1) to 1 from the main memory (4). Third channel (3)
This is a data transfer acceptance signal sent to each.

なお、第4図ではチャネルの数を「3」としたが、いく
つであってもかまわない。また、プライオリティ・エン
コーダ(8)は主記憶装置(4)あるいはここでは図示
しないチャネル制御装置の中にあってもよい。
In addition, although the number of channels is set to "3" in FIG. 4, it does not matter how many channels there are. Furthermore, the priority encoder (8) may be located in the main memory (4) or in a channel control device (not shown).

次に動作について説明する。第1チヤネル(1)〜第3
チャネル(3)は主記憶装置(4)との間でデータ転送
が必要となった時、それぞれのチャネル・データ転送要
求信号(5)〜(7)を発生する。プライオリティ・エ
ンコーダ(8)は、どのチャネルからもデータ転送要求
信号が発生されていない時、データ転送要求信号(9)
は発生しない。また、この時はチャネル・アドレス(1
0)は意味を持たない。次に、いずれか1つのチャネル
からチャネル・データ転送要求信号が発生されると、プ
ライオリティ・エンコーダ(8)はデータ転送要求信号
(9)を発生するとともに、そのチャネルのアドレスを
チャネル・アドレス(10)として出力する。これに対
し、主記憶装置(4)はデータ転送要求を受付は可能で
あれば、チャネル◆アドレス(10)に基づいてどのチ
ャネルとの間でデータ転送をするかを判別して、そのチ
ャネルへのみデータ転送受付信号を送出するとともにデ
ータ転送を行う。
Next, the operation will be explained. 1st channel (1) to 3rd
Channel (3) generates respective channel data transfer request signals (5) to (7) when data transfer is required between main storage device (4). The priority encoder (8) outputs a data transfer request signal (9) when no data transfer request signal is generated from any channel.
does not occur. Also, at this time, the channel address (1
0) has no meaning. Next, when a channel data transfer request signal is generated from any one channel, the priority encoder (8) generates a data transfer request signal (9) and sets the address of that channel to the channel address (10). ). On the other hand, if the main storage device (4) can accept the data transfer request, it determines which channel to transfer data to based on the channel address (10) and transfers the data to that channel. A data transfer acceptance signal is sent only at the same time as the data transfer is performed.

データ転送要求が受は付けられたチャネルは、必要とす
るデータの転送が終了したならば、その時点でチャネル
・データ転送要求信号を停止する。
Once the data transfer request has been accepted, the channel stops sending the channel data transfer request signal once the transfer of the required data is completed.

もし、複数のチャネルから同時にチャネル・データ転送
要求信号が発生された場合、プライオリティ・エンコー
ダ(8)はそれらのチャネルの中から最も優先度の高い
チャネルを選択して、その最高順位のチャネルのアドレ
スをチャネル・アドレス(10)として出力する。
If channel data transfer request signals are generated from multiple channels at the same time, the priority encoder (8) selects the channel with the highest priority from among those channels and assigns the address of the channel with the highest priority. is output as the channel address (10).

ところで、プライオリティ・エンコーダ(8)はその入
力信号の物理的接続順序により優先順位が固定的に定め
られているので、各チャネルからのチャネル・データ転
送要求信号(5)〜(7)の物理的接続順序でチャネル
間の優先順位は固定的に決定されてしまう。この例にお
いては第1チヤネルの優先度が最も高く、第3チヤネル
が最も低く設定されている。
By the way, since the priority encoder (8) has a fixed priority determined by the physical connection order of its input signals, the physical connection order of the channel data transfer request signals (5) to (7) from each channel Priority among channels is fixedly determined by the connection order. In this example, the first channel has the highest priority, and the third channel has the lowest priority.

第5図は、このような優先順位関係の下でのデータ転送
要求に対する受付順序を示したタイミング・チャートで
ある。
FIG. 5 is a timing chart showing the order in which data transfer requests are received under such a priority relationship.

第5図において、主記憶装置(4)はデータ転送要求を
受付可能な場合、受付けてからデータ転送を終了するま
でに時間Tを要するものとする。
In FIG. 5, when the main storage device (4) is able to accept a data transfer request, it takes time T from the time the main storage device (4) accepts the request until the data transfer is completed.

また、第1チヤネル(1)〜第3チャネル(3)は4丁
ごとにデータ転送の必要が生じるものとする。なお、図
中↑は各チャネルでデータ転送の必要が生じることを示
し、↓はデータ転送が行なわれたことを示し、第5図(
a)は時刻t1に全てのチャネルから同時にチャネル・
データ転送要求信号が出された場合を示している。
Further, it is assumed that the first channel (1) to the third channel (3) require data transfer for every four devices. Note that ↑ in the figure indicates that data transfer is necessary for each channel, and ↓ indicates that data transfer has been performed.
a) At time t1, all channels simultaneously
This shows a case where a data transfer request signal is issued.

まず優先順位に従って時刻t1で第1チヤネル(1)の
データ転送要求が受付けられてデータ転送が行なわれる
と、第1チヤネル(1)はチャネル・データ転送要求信
号(5)の発生をやめる。
First, when a data transfer request of the first channel (1) is accepted at time t1 according to the priority order and data transfer is performed, the first channel (1) stops generating the channel data transfer request signal (5).

次に、時刻t2で第2チヤネル(2)、時刻t3で第3
チヤネル(3)が受は付けられる。時刻t4ではどのチ
ャネルからも要求がないため、空きサイクルとなる。こ
こで、時刻t5から時刻t7までの間、主記憶装置(4
)がデータ転送要求を受付けられない状態になったとす
ると、時刻t5で出力された第1チヤネル(1,)のチ
ャネル・データ転送要求信号(5)は時刻t8で受付け
られるが、同時に次のデータ転送の必要が生じたために
チャネル・データ転送要求信号(5)は発生したままに
するので、引続き時刻t9では第1チヤネル(1)の要
求が受付けられる。
Next, at time t2, the second channel (2), and at time t3, the third channel (2)
Channel (3) is connected. At time t4, there is no request from any channel, so it becomes an idle cycle. Here, from time t5 to time t7, the main memory (4
) becomes unable to accept data transfer requests, the channel data transfer request signal (5) of the first channel (1,) output at time t5 is accepted at time t8, but at the same time the next data Since the need for transfer has arisen, the channel data transfer request signal (5) remains generated, so that a request for the first channel (1) is subsequently accepted at time t9.

このようにして時刻t17で元の状態に戻るが、この期
間中、優先度の最も低い第3チヤネル(3)のチャネル
・データ転送要求信号(7)は受付けられるまでの待ち
時間が他のチャネルに比べて長くなる。時刻t5から時
刻tlBまでの間の各チャネルでデータ転送の必要性が
生じてから、それが受付けられるまでの待ち時間の最大
値と平均値を図中に示すが、第3チヤネル(3)の最大
値は8−丁、また平均値は6.3丁である。また、第5
図(b)は第1チヤネル(1)〜第3チャネル(3)の
チャネル・データ転送要求信号(5)〜(7)が、それ
ぞれ時刻tl 、t3 、t2で発生された場合のタイ
ミング・チャートであるが、この場合も第3チヤネル(
3)の待ち時間の最大値と平均値はそれぞれ7丁、5丁
となる。
In this way, the original state returns at time t17, but during this period, the waiting time until the channel data transfer request signal (7) of the third channel (3), which has the lowest priority, is accepted is It will be longer than . The figure shows the maximum and average waiting times from when the need for data transfer arises until it is accepted in each channel from time t5 to time tlB. The maximum value is 8-ton, and the average value is 6.3-ton. Also, the fifth
Figure (b) is a timing chart when the channel data transfer request signals (5) to (7) of the first channel (1) to the third channel (3) are generated at times tl, t3, and t2, respectively. However, in this case as well, the third channel (
The maximum value and average value of the waiting time in 3) are 7 and 5, respectively.

[発明が解決しようとする問題点] 以上のように、従来のチャネルの優先順位制御方式では
、優先順位が固定されているので、優先度が低いチャネ
ル程データ転送要求が受付けられるまでの待ち時間が長
くなり、転送性能が低下して低速の入出力装置しか接続
することができないという問題点があった。
[Problems to be Solved by the Invention] As described above, in the conventional channel priority control system, the priorities are fixed, so the waiting time until a data transfer request is accepted is shorter for channels with lower priority. There was a problem in that the transfer time became long, the transfer performance deteriorated, and only low-speed input/output devices could be connected.

一方、上位のチャネルと同じ性能を出すためには、その
待ち時間に備えてデータ・バッファの量を大きくする必
要があり、ハードウェア量の増加を招き、しかも、通常
はどのチャネルも同一ハードウェアとすることが多いの
で、待ち時間が少ない上位チャネルにも必要以上のデー
タ・バッファを準備する事になり、極めて不経済な構成
となるという問題点があった。
On the other hand, in order to achieve the same performance as the upper channel, it is necessary to increase the amount of data buffer to account for the latency time, which leads to an increase in the amount of hardware. Therefore, there is a problem in that more data buffers than necessary are prepared even for the upper channel where the waiting time is short, resulting in an extremely uneconomical configuration.

この発明は上記のような問題点を解消するためになされ
たもので、ハードウェア量の僅かな増加だけでデータ転
送要求が受付けられるまでの最大待ち時間を短縮させ、
高速の入出力装置を接続することができる共に、各チャ
ネルの転送性能のばらつきを抑制するとかできるチャネ
ルの優先順位制御方式を提供することを目的とする。
This invention was made to solve the above-mentioned problems, and it reduces the maximum waiting time until a data transfer request is accepted with only a slight increase in the amount of hardware.
It is an object of the present invention to provide a channel priority control method that can connect high-speed input/output devices and suppress variations in transfer performance of each channel.

[問題点を解決するための手段] この発明に係るチャネル優先順位制御方式は、チャネル
からのデータ転送要求を受は付けるたびに歩進するカウ
ンタを設け、優先回路へ入力される各チャネルからのチ
ャネル・データ転送要求信号を受付ける優先順位を上記
カウンタのカウント値に応じて変更するようにしたもの
である。また、他の発明はチャンネルをグループ分けし
、上記カウンタのカウント値でグループ内のチャンネル
の優先順位を変化させるものである。
[Means for Solving the Problems] The channel priority control method according to the present invention includes a counter that increments each time a data transfer request is received from a channel, and the data transfer request from each channel input to the priority circuit is The priority order for receiving channel data transfer request signals is changed according to the count value of the counter. In another invention, the channels are divided into groups, and the priority order of the channels within the group is changed based on the count value of the counter.

[作用] 優先回路へ入力される各チャネルからのチャネル・デー
タ転送要求信号は、その受付順位が上記カウンタのカウ
ント値によって変更される。従って、上記カウンタをN
進カウンタで構成した場合には、優先順位はN個のデー
タ転送要求が受付けられるたびに一巡し、待ち時間は平
均化される。
[Operation] The acceptance order of channel data transfer request signals from each channel input to the priority circuit is changed according to the count value of the counter. Therefore, the above counter is set to N
In the case of a forward counter, the priority order goes around every time N data transfer requests are accepted, and the waiting time is averaged.

また、他の発明ではグループ内のチャンネルにおいて優
先順位が変化する。
Furthermore, in another invention, the priority order changes among channels within a group.

[発明の実施例] 以下、この発明の一実施例を図について説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例を示す図であり、図におい
て、(1)〜(7)及び(11)〜(13)は第4図の
従来構成と同一である。また、(14)は3人力セレク
タ(14a)〜(14c)から成るセレクタ回路であり
、第1チヤネル(1)のチャネル・データ転送要求信号
(5)は各セレクタ(14a) 〜(14c)のu O
Ot+入力。
FIG. 1 is a diagram showing an embodiment of the present invention, and in the figure, (1) to (7) and (11) to (13) are the same as the conventional configuration shown in FIG. 4. Further, (14) is a selector circuit consisting of three human-powered selectors (14a) to (14c), and the channel data transfer request signal (5) of the first channel (1) is transmitted to each selector (14a) to (14c). U O
Ot+ input.

“01″入力、“’10”入力に順に入力されている。The "01" input and the "'10" input are input in this order.

同様に、第2チヤネル(2)のチャネル・データ転送要
求信号(6)は、各セレクタ(14a)〜(14c)の
゛01パ入力、“”oo”入力。
Similarly, the channel data transfer request signal (6) of the second channel (2) is input to the ``01'' and ``''oo'' inputs of each selector (14a) to (14c).

“10″入力に、また第3チヤネル(3)のチャネル・
データ転送要求信号(7)は各セレクタ(14a)〜(
14C)のu 10 te入力’ ((’Q 199人
力 41 Q Q It大入力それぞれ順に入力されて
いる。そして、これらのセレクタ(14a)〜(14c
)の出力(15)〜(17)はプライオリティ・エンコ
ーダ(18)に入力されている。
“10” input, and also the third channel (3)
The data transfer request signal (7) is transmitted to each selector (14a) to (
u 10 te input'(('
) outputs (15) to (17) are input to a priority encoder (18).

(1つ)はプライオリティ゛・エンコーダ(18)から
出力されて主起°l装置(4)に送られるデー夕転送要
求信号、(20)は各チャネルへ送られるデータ転送受
付信号(11)〜(13)を入力とするオア・ゲート、
(21)はオア・ゲート(20)の出力をクロック入力
とし、該クロック入力が発生するたびにカウント値が“
oo”→“01″→“10″→“o o ”・・・と歩
進し、その出力がセレクタ(14)の選択信号となるカ
ウンタ、(22)はプライオリティ・エンコーダ(1゛
8)から出力されるチャネル・アドレス、(23)はカ
ウンタ(21)の出力により、チャネル・アドレス(2
2)を実チャネル・アドレス(24)に変換して主記憶
装置(4)に送出するアドレス変換回路である。
(1) is a data transfer request signal output from the priority encoder (18) and sent to the host device (4), and (20) is a data transfer acceptance signal (11) to be sent to each channel. An OR gate with (13) as input,
(21) uses the output of the OR gate (20) as a clock input, and each time the clock input occurs, the count value is “
The counter (22) increments as "oo" → "01" → "10" → "o o", and its output becomes the selection signal of the selector (14), from the priority encoder (1゛8) The output channel address (23) is determined by the output of the counter (21).
2) into a real channel address (24) and sends it to the main memory (4).

なお第1図では、第4図と対比させるためにチャネルの
数を「3」としたが、いくつであっても構わない。その
場合はセレクタ回路(14)のセレクタの数と、カウン
タ(21)のビット数が変わることは言うまでもない。
In FIG. 1, the number of channels is set to "3" for comparison with FIG. 4, but any number may be used. In that case, it goes without saying that the number of selectors in the selector circuit (14) and the number of bits in the counter (21) will change.

また、プライオリティ・エンコーダ(18)自体の機能
は従来のものと全く同一である。また、アドレス変換回
路(23)は、この実施例の場合、カウンタ(21)出
力が’oo”の時は入力されるチャネル・アドレス〈2
2〉を変換せずにそのまま実チャネル・アドレス(24
)として出力するが、カウンタ(21)出力が“’01
”の時は第1チヤネルを第2チヤネル、第2チヤネルを
第3チヤネル、第3チヤネルを第1チヤネルと変換し、
またカウンタ(21)の出力が10″の時は第1チヤネ
ルを第3チヤネル、第2チヤネルを第1チヤネル、第3
チヤネルを第2チヤネルと変換する機能をもつ。これは
後述するように、プライオリティ・エンコーダ(18)
への入力順序を変化させるので、主記憶装置(4)へ供
給するチャネル・アドレスを元の実チャネル・アドレス
に戻すためである。
Furthermore, the function of the priority encoder (18) itself is exactly the same as that of the conventional one. Further, in this embodiment, when the output of the counter (21) is 'oo', the address conversion circuit (23) converts the input channel address <2
2> without converting it as is, the actual channel address (24
), but the counter (21) output is “'01”.
”, the first channel is converted to the second channel, the second channel is converted to the third channel, and the third channel is converted to the first channel,
Also, when the output of the counter (21) is 10'', the first channel becomes the third channel, the second channel becomes the first channel, and the third channel becomes the third channel.
It has the function of converting a channel into a second channel. This is a priority encoder (18) as described later.
This is because the channel address supplied to the main memory device (4) is returned to the original real channel address since the input order to the main memory device (4) is changed.

さて、カウンタ(21)出力が“o o ”の時は各チ
ャネルからのチャネル・データ転送要求信号(5)〜(
7)がそのまま信号(15)〜(17)の順序でプライ
オリティ・エンコーダ(18)に入力される。このため
、優先順位は第1チヤネル(1)が最も高く、以下第2
チヤネル(2)、第3チヤネル(3)となる。次にいず
れかのチャネルのデータ転送要求が受付けられ、データ
転送受付信号(11)〜(13)のいずれかが発生され
ると、オア・ゲート(20)を介してカウンタ〈21〉
にクロック信号が入り、カウンタ(21)出力は“01
パとなる。すると、今度は各セレクタ(14a) 〜(
14G>の140199人力が選択されるようになるた
めに、プライオリティ・エンコーダ(18)の入力信号
(15)〜(17)としては、第2チヤネル(2)、第
3チヤネル(3)、第1チヤネル(1)のチャネル・デ
ータ転送要求信号(6)、(7)、(5)がそれぞれ入
力されることになり、優先順位は第2チヤネル、第3チ
ヤネル、第1チヤネルとなる。この状態でいずれかのチ
ャネルからチャネル・データ転送要求信号が発生すると
、プライオリティ・エンコーダ(18)は第1チヤネル
、第2チヤネル、第3チヤネルの順にデータ転送要求信
号が接続されているものと見なしてチャネル・アドレス
(22)を生成するので、それをアドレス変換回路(2
3)がカウンタ(21)出力の情報をもとに、実チャネ
ル・アドレス(24)に変換して主記憶装置(4)に送
出する。これに応答して、主記憶装置(4)からデータ
転送受付信号が出力されると、カウンタ(21)にクロ
ック信号が入り、カウンタ(21)出力は“10″とな
る。すると、今度は各セレクタ(14a) 〜(14c
)の4$ 10 IT大入力選択されるために、プライ
オリティ・エンコーダ(18)の入力信号(15)〜(
17)としては、第3チヤネル(3)、第1チヤネル(
1)、第2チヤネル(2)のチャネルデータ転送要求信
号(7)、(5)、(6)がそれぞれ入力されることに
なり、優先順位は第3チヤネル、第1チヤネル、第2チ
ヤネルとなる。
Now, when the output of the counter (21) is "o o", the channel data transfer request signals (5) to (
7) is input as is to the priority encoder (18) in the order of signals (15) to (17). Therefore, the first channel (1) has the highest priority, and the second channel (1) has the highest priority.
Channel (2) and third channel (3). Next, when a data transfer request for any channel is accepted and one of the data transfer acceptance signals (11) to (13) is generated, the counter <21> is sent via the OR gate (20).
A clock signal is input to the counter (21), and the output of the counter (21) is “01”.
It becomes Pa. Then, each selector (14a) ~(
14G>, the input signals (15) to (17) of the priority encoder (18) are the second channel (2), the third channel (3), and the first channel. Channel data transfer request signals (6), (7), and (5) of channel (1) are respectively input, and the priorities are the second channel, the third channel, and the first channel. When a channel data transfer request signal is generated from any channel in this state, the priority encoder (18) assumes that the data transfer request signal is connected to the first channel, second channel, and third channel in that order. generates a channel address (22), which is then sent to the address conversion circuit (22).
3) converts it into a real channel address (24) based on the information output from the counter (21) and sends it to the main memory (4). In response, when a data transfer acceptance signal is output from the main storage device (4), a clock signal is input to the counter (21), and the output of the counter (21) becomes "10". Then, each selector (14a) to (14c
) 4$ 10 IT large input In order to be selected, input signals (15) to (18) of the priority encoder (18)
17), the third channel (3), the first channel (
1), channel data transfer request signals (7), (5), and (6) of the second channel (2) are respectively input, and the priority is given to the third channel, the first channel, and the second channel. Become.

次に、さらに新たなデータ転送受付信号が発生されると
、カウンタ(21)は“00″に戻るため、優先順位は
再び第1チヤネル、第2チヤネル。
Next, when a new data transfer acceptance signal is generated, the counter (21) returns to "00", so the priority is set again to the first channel and the second channel.

第3チヤネルとなる。このように、本実施例においては
各チャネルからのデータ転送要求を受付けるたびに優先
順位を循環的に変化させている。
This will be the third channel. In this way, in this embodiment, the priority order is cyclically changed each time a data transfer request is received from each channel.

第2図に、前述の第5図に示したのと同一の条件でチャ
ネルからデータ転送要求が発生した場合の本実施例にお
けるタイミング・チャートを示している。第2図(a)
の場合、時刻t5から16までの最大待ち時間は第3チ
ヤネルの6丁、平均値の最大はやはり第3チヤネルの5
王である。一方、第2図(b)における最大持ち時間は
第3チヤネルの57.平均値の最大はやはり第3チヤネ
ルの4丁である。第2図(a)、(b)ともに第3チヤ
ネルの待ち時間が大きいのは、主記憶装置(4)が受付
可能状態になくて全てのデータ転送要求が待たされた時
に、たまたま第3チヤ゛ネルの優先順位が最下位であっ
たためである。以上の説明から分るように、従来例に比
べて最大待ち時間が短くなり、かつ各チャネルの待ち時
間のばらつきが小さくなっていることが明らかである。
FIG. 2 shows a timing chart in this embodiment when a data transfer request is generated from the channel under the same conditions as shown in FIG. 5 above. Figure 2(a)
In this case, the maximum waiting time from time t5 to t16 is 6 on the 3rd channel, and the maximum average value is 5 on the 3rd channel.
He is the king. On the other hand, the maximum holding time in FIG. 2(b) is 57. The maximum average value is still the 4th one in the third channel. The reason why the waiting time of the third channel is large in both FIGS. 2(a) and (b) is that when the main storage device (4) is not ready to receive data and all data transfer requests are made to wait, it happens that the waiting time of the third channel is large. This is because the priority of the channel was the lowest. As can be seen from the above description, it is clear that the maximum waiting time is shorter than in the conventional example, and the variation in waiting time of each channel is reduced.

なお、以上の説明のように全てのチャネルを1つにまと
めて、その優先順位を循環的に変化させると、当然上位
のチャネルの待ち時間は、優先順位を固定させた場合よ
りも長くなり、上位のチャネルに高速性が要求される場
合に不都合が生じる。
Note that if all channels are combined into one and their priorities are changed cyclically as explained above, the waiting time for the higher-ranking channels will naturally be longer than when the priorities are fixed. A problem arises when high speed is required for the upper channel.

そこで、チャネルを1つまたは複数のチャネルからなる
複数のグループに分類し、グループ間では優先順位を固
定し、各グループ内ではそのグループに属するチャネル
からのデータ転送要求を受付けるごとに優先順位を前述
のように循環的に変化させるようにする。このようにす
ると、各グループ内でのチャネルの待ち時間は平均化さ
れるのに対し、上位グループのチャネルの待ち時間は下
位グループのチャネルよりも短くなり、上位グループに
属するチャネルの高速性を維持することができる。すな
わち、高速性の要求される入出力装置は上位グループに
接続すれば、データ転送性能を損うことがなくなる。
Therefore, the channels are classified into multiple groups consisting of one or more channels, the priority order is fixed between the groups, and within each group, the priority order is changed as described above each time a data transfer request is accepted from a channel belonging to that group. Change it cyclically like this. In this way, the latencies of channels within each group are averaged out, while channels in higher groups have lower latencies than channels in lower groups, preserving the high speed of channels belonging to higher groups. can do. In other words, if input/output devices that require high speed performance are connected to a higher-level group, data transfer performance will not be impaired.

ちなみに、第1図の実施例において第3チヤネル(3)
のチャネル・データ転送要求信号(7)をプライオリテ
ィ・エンコーダ(18)の最下位入力に直接接続して優
先順位を最下位に固定させ、カウンタ(21)として1
ビツトのカウンタを用い、またセレクタ回路(14)と
して2つのセレクタを用い、第1チヤネル(1)と第2
チヤネル(2)の優先順位を交互に変化させた場合のタ
イミング・チャートを第3図に示すが、第2図の場合に
比べて、第1チヤネル(1)と第2チヤネル(2)の待
ち時間が大幅に改善されていることが分る。
By the way, in the embodiment of FIG. 1, the third channel (3)
The channel data transfer request signal (7) of 1 is directly connected to the lowest input of the priority encoder (18) to fix the priority at the lowest level, and 1 is used as a counter (21).
A bit counter is used, and two selectors are used as the selector circuit (14), and the first channel (1) and the second channel
Figure 3 shows a timing chart when the priority order of channel (2) is alternately changed. It can be seen that the time has been significantly improved.

[発明の効果] 以上のようにこの発明によれば、いずれかのチャネルの
データ転送要求が受付けられるたびに歩進するカウンタ
を設け、このカウンタのカウント値に応じてデータ転送
要求を受付ける優先順位を変化させるさせるようにした
ため、ハードウェア量のわずがな増加だけで最大待ち時
間を短縮したり、各チャネルの転送性能のばらつきを抑
えることができるようになり、どのチャネルにも高速の
入出力装置を接続でき、各チャネルの転送性能を柔軟に
設定できるという効果がある。また、チャンネルを優先
順位の大小に応じてグループ分けし各グループ内におい
て優先順位を変化させるようにした場合には所定グルー
プの待ち時間を短くでき、高速性をもたせることができ
る。
[Effects of the Invention] As described above, according to the present invention, a counter is provided that increments every time a data transfer request for any channel is accepted, and the priority level for accepting data transfer requests is determined according to the count value of this counter. This makes it possible to shorten the maximum waiting time and suppress variations in transfer performance of each channel with just a slight increase in the amount of hardware, allowing high-speed input to any channel. This has the advantage that output devices can be connected and the transfer performance of each channel can be flexibly set. Furthermore, if channels are divided into groups according to their priorities and the priorities are changed within each group, the waiting time for a predetermined group can be shortened and high speed can be achieved.

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

第1図はこの発明を適用したデータ処理装置の一実施例
を示すブロック図、第2図は第1図の実施例の動作を説
明するためのタイミング・チャート、第3図は第1図の
実施例の変形例の動作を説明するためのタイミング・チ
ャート、第4図は従来方式を用いたデータ処理装置のブ
ロック図、第5図は第4図に示した従来のデータ処理装
置の動作を説明するためのタイミング・チャートである
。 (1)〜(3)・・・チャネル、(4)・・・主記憶装
置、(5)〜(7)・・・各チャネルからのデータ転送
要求信号、(11)〜(13)・・・各チャネルへのデ
ータ転送受付信号、(14)・・・セレクタ回路、(1
8)・・・プライオリティ・エンコーダ、(21)・・
・カウンタ。 なお、図中、同一符号は同一または相当部分を示す。 手続補正書伯如 昭和61年5月14 日 1・事件の表示   特願昭60−145268号2、
発明の名称 チャネノλ可北割頃イの晰蹴左式 3、補正をする者 5、補正の対象 特許請求の範囲の欄。 6、補正の内容 (1)特許請求の範囲を別紙のとおり補正する。 以上 2、特許請求の範囲 (1)複数のチャネルから記憶装置に入力されるデータ
転送要求を所定の優先順位に従って受付けるチャネルの
優先順位制御方式において、チャネルのデータ転送要求
が受付けられるたびに歩進するカウンタを設け、このカ
ウンタのカウント値に応じて前記優先順位を循環的に変
化させることを特徴とするチャネルの優先順位制御方式
。 (2)複数のチャネルから記憶装置に入力されるデータ
転送要求を所定の優先順位に従って受付けるチャネルの
優先順位制御方式において、チャネルを優先順位の大小
に応じてグループに分類し、チャネルのデータ転送要求
が受付られるたびに歩進するカウンタを設け、このカウ
ンタのカウント値に応じてグループ内の±土主止におけ
る前記優先順位を循環的に変化させることを特徴とする
チャネルの優先順位制御方式。 (3)各グループ間では優先順位が固定されて成ること
を特徴とする特許請求の範囲第2項記載のチャネルの優
先順位制御方式。
FIG. 1 is a block diagram showing an embodiment of a data processing device to which the present invention is applied, FIG. 2 is a timing chart for explaining the operation of the embodiment of FIG. 1, and FIG. A timing chart for explaining the operation of a modified example of the embodiment, FIG. 4 is a block diagram of a data processing device using the conventional method, and FIG. 5 shows the operation of the conventional data processing device shown in FIG. It is a timing chart for explanation. (1) to (3)...channels, (4)...main memory, (5) to (7)...data transfer request signals from each channel, (11) to (13)...・Data transfer acceptance signal to each channel, (14)...Selector circuit, (1
8)...Priority encoder, (21)...
·counter. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Procedural amendment filed May 14, 1986 1. Indication of the case Patent application No. 145268 1988 2.
Title of the invention: 3. Name of the invention: 3. Person making the amendment: 5. Scope of claim to be amended. 6. Contents of amendment (1) The claims are amended as shown in the attached sheet. 2. Claims (1) In a channel priority control method for accepting data transfer requests inputted to a storage device from a plurality of channels according to a predetermined priority order, each time a channel data transfer request is accepted, an increment is made. 1. A channel priority control method, characterized in that a counter is provided, and the priority order is cyclically changed according to the count value of the counter. (2) In a channel priority control method that accepts data transfer requests input to a storage device from multiple channels according to a predetermined priority, channels are classified into groups according to their priorities, and data transfer requests for channels are A channel priority control method, characterized in that a counter is provided that increments each time a channel is accepted, and the priority order in ±domain stops within a group is cyclically changed according to the count value of this counter. (3) The channel priority control system according to claim 2, wherein the priority order is fixed between each group.

Claims (3)

【特許請求の範囲】[Claims] (1)複数のチャネルから記憶装置に入力されるデータ
転送要求を所定の優先順位に従って受付けるチャネルの
優先順位制御方式において、チャネルのデータ転送要求
が受付けられるたびに歩進するカウンタを設け、このカ
ウンタのカウント値に応じて前記優先順位を循環的に変
化させることを特徴とするチャネルの優先順位制御方式
(1) In a channel priority control method in which data transfer requests input to a storage device from multiple channels are accepted according to a predetermined priority order, a counter is provided that increments each time a data transfer request for a channel is accepted. A channel priority control method characterized in that the priority is cyclically changed according to a count value of .
(2)複数のチャネルから記憶装置に入力されるデータ
転送要求を所定の優先順位に従って受付けるチャネルの
優先順位制御方式において、チャネルを優先順位の大小
に応じてグループに分類し、チャネルのデータ転送要求
が受付られるたびに進歩するカウンタを設け、このカウ
ンタのカウント値に応じてグループ内のチャンネルにお
ける前記優先順位を循環的に変化させることを特徴とす
るチャネルの優先順位制御方式。
(2) In a channel priority control method that accepts data transfer requests input to a storage device from multiple channels according to a predetermined priority, channels are classified into groups according to their priorities, and data transfer requests for channels are 1. A channel priority control method, characterized in that a counter is provided that advances each time a channel is received, and the priority of channels within a group is cyclically changed according to the count value of this counter.
(3)各グループ間では優先順位が固定されて成ること
を特徴とする特許請求の範囲第2項記載のチャンネルの
優先順位制御方式。
(3) The channel priority control system according to claim 2, wherein the priority order is fixed between each group.
JP60145268A 1985-07-02 1985-07-02 Priority control system for channel Pending JPS626357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60145268A JPS626357A (en) 1985-07-02 1985-07-02 Priority control system for channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60145268A JPS626357A (en) 1985-07-02 1985-07-02 Priority control system for channel

Publications (1)

Publication Number Publication Date
JPS626357A true JPS626357A (en) 1987-01-13

Family

ID=15381201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60145268A Pending JPS626357A (en) 1985-07-02 1985-07-02 Priority control system for channel

Country Status (1)

Country Link
JP (1) JPS626357A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7084355B2 (en) 2002-05-15 2006-08-01 International Business Machines Corporation Multilayer printed circuit board

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7084355B2 (en) 2002-05-15 2006-08-01 International Business Machines Corporation Multilayer printed circuit board

Similar Documents

Publication Publication Date Title
CA1252549A (en) Queueing protocol
US4048673A (en) Cpu - i/o bus interface for a data processing system
JPS626357A (en) Priority control system for channel
EP1588276B1 (en) Processor array
KR19990072646A (en) Processor for information processing apparatus
EP1754159A2 (en) Configurable ping-pong buffers for usb buffer description tables
JPS58170117A (en) Serial/parallel-parallel/serial converting circuit
SU1264178A2 (en) Device for organizing queue
JPS6314543A (en) Serial/parallel converting circuit
JP2971006B2 (en) Serial communication method and serial communication controller
JP2000322370A (en) Data outputting circuit
SU605208A1 (en) Device for interfacing digital computer with peripherals
KR900007549Y1 (en) Apparatus for transforming the digital serial data speed
CN115834602A (en) Asynchronous data flow communication interaction system
JPH035863A (en) Digital system
TW311194B (en) The bi-directional FIFO with parity generator/checker
JPS6347373B2 (en)
JPH06335056A (en) Data transmission system for remote control system
JPH07273805A (en) Method and system for transferring data
JPH03158041A (en) Data multiplex transfer system
JPS62139A (en) Signal multiplex transmission system
JPS6378261A (en) Data transfer system
JPH05183424A (en) Field programmable gate array
JP2000172485A (en) Parallel processing circuit
JPS6260338A (en) Serial data reception circuit