JP2936890B2 - Contention control device - Google Patents

Contention control device

Info

Publication number
JP2936890B2
JP2936890B2 JP12593492A JP12593492A JP2936890B2 JP 2936890 B2 JP2936890 B2 JP 2936890B2 JP 12593492 A JP12593492 A JP 12593492A JP 12593492 A JP12593492 A JP 12593492A JP 2936890 B2 JP2936890 B2 JP 2936890B2
Authority
JP
Japan
Prior art keywords
time slot
counter
signal line
time
slot 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.)
Expired - Fee Related
Application number
JP12593492A
Other languages
Japanese (ja)
Other versions
JPH05327731A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP12593492A priority Critical patent/JP2936890B2/en
Publication of JPH05327731A publication Critical patent/JPH05327731A/en
Application granted granted Critical
Publication of JP2936890B2 publication Critical patent/JP2936890B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、バスを複数の装置でア
クセスする通信制御装置等に利用する競合制御装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contention control device used as a communication control device for accessing a bus by a plurality of devices.

【0002】[0002]

【従来の技術】図3に従来の競合制御装置のブロック図
を示す。図4は、バス上の情報のフォーマットを示す。
2. Description of the Related Art FIG. 3 shows a block diagram of a conventional contention control device. FIG. 4 shows a format of information on the bus.

【0003】初めに、図4について説明する。図4に示
すように、バス上にはタイムスロットが時分割多重され
ている。41はタイムスロット要求通知領域である。タ
イムスロット要求通知領域41を用いて競合制御装置は
タイムスロット要求を他の装置に通知することができ
る。
First, FIG. 4 will be described. As shown in FIG. 4, time slots are time-division multiplexed on the bus. Reference numeral 41 denotes a time slot request notification area. Using the time slot request notification area 41, the contention control device can notify another device of the time slot request.

【0004】続いて図3について説明する。3はバスで
ある。30は競合制御装置であり、バス3に接続されて
いる。なお、図3において、バス3に接続されている他
の競合制御装置は省略されている。300,301はそ
れぞれ判定部、判定信号線である。310,320はそ
れぞれ第1,第2のカウンタである。311はカウンタ
信号線であり、判定部300に接続されている。321
はカウンタ信号線であり、第1のカウンタ310に接続
されている。350はタイムスロット要求信号送出部で
あり、バス3に接続されている。330はタイムスロッ
ト要求検出部であり、バス3に接続されている。331
はタイムスロット要求検出信号線であり、第2のカウン
タ320に接続されている。340は未使用タイムスロ
ット検出部であり、バス3に接続されている。341は
未使用タイムスロット検出信号線であり、第1のカウン
タ310と第2のカウンタ320に接続されている。3
51はタイムスロット要求信号線であり、タイムスロッ
ト要求信号送出部350と第1のカウンタ310に接続
されている。
Next, FIG. 3 will be described. 3 is a bus. Reference numeral 30 denotes a contention control device, which is connected to the bus 3. In FIG. 3, other contention control devices connected to the bus 3 are omitted. Reference numerals 300 and 301 denote a determination unit and a determination signal line, respectively. 310 and 320 are first and second counters, respectively. Reference numeral 311 denotes a counter signal line, which is connected to the determination unit 300. 321
Is a counter signal line, which is connected to the first counter 310. Reference numeral 350 denotes a time slot request signal transmitting unit, which is connected to the bus 3. A time slot request detection unit 330 is connected to the bus 3. 331
Is a time slot request detection signal line, which is connected to the second counter 320. Reference numeral 340 denotes an unused time slot detection unit, which is connected to the bus 3. Reference numeral 341 denotes an unused time slot detection signal line, which is connected to the first counter 310 and the second counter 320. 3
Reference numeral 51 denotes a time slot request signal line, which is connected to the time slot request signal transmitting section 350 and the first counter 310.

【0005】以上の構成要素よりなる競合制御装置につ
いて、以下その各構成要素の関係と動作について説明す
る。
[0005] With respect to the competition control device comprising the above components, the relationship and operation of each component will be described below.

【0006】未使用タイムスロット検出部340はバス
上の未使用タイムスロットを検出し、検出する毎に未使
用タイムスロット検出信号線341からパルスを出力す
る。また、タイムスロット要求検出部330は他の競合
制御装置のタイムスロット要求を検出し、検出する毎に
タイムスロット要求検出信号線331からパルスを出力
する。
The unused time slot detection section 340 detects an unused time slot on the bus, and outputs a pulse from the unused time slot detection signal line 341 each time it detects it. Further, the time slot request detection section 330 detects a time slot request of another contention control device, and outputs a pulse from the time slot request detection signal line 331 every time the time slot request is detected.

【0007】第2のカウンタ320はタイムスロット要
求検出信号線331からパルスが入力される毎に1カウ
ントアップ、未使用タイムスロット検出信号線341か
らパルスが入力される毎に1カウントダウンする。
The second counter 320 counts up by one each time a pulse is input from the time slot request detection signal line 331 and counts down by one each time a pulse is input from the unused time slot detection signal line 341.

【0008】タイムスロット要求信号送出部350はタ
イムスロット要求信号線351からタイムスロット要求
信号が入力されると、バス3にタイムスロット要求信号
を送出する。また、同時にカウンタ信号線321を通じ
て第2のカウンタ320のカウント値が第1のカウンタ
310にロードされる。
[0008] When a time slot request signal is input from the time slot request signal line 351, the time slot request signal transmitting section 350 transmits a time slot request signal to the bus 3. At the same time, the count value of the second counter 320 is loaded into the first counter 310 via the counter signal line 321.

【0009】なお、第2のカウンタ320のカウント値
はタイムスロット要求数と未使用タイムスロット数の差
である。すなわち、第2のカウンタ320のカウント値
は現時点で要求が満たされずに残っているタイムスロッ
ト要求数である。
Note that the count value of the second counter 320 is the difference between the number of time slot requests and the number of unused time slots. That is, the count value of the second counter 320 is the number of time slot requests that have not been satisfied at the current time and remain.

【0010】以降、第1のカウンタ310は未使用のタ
イムスロット検出信号線341からパルスが入力される
毎に1カウントダウンする。
Thereafter, the first counter 310 counts down by one every time a pulse is input from the unused time slot detection signal line 341.

【0011】第1のカウンタ310のカウント値はカウ
ンタ信号線311を通じて判定部300で判定される。
カウント値がゼロとなると、判定信号線301からのパ
ルスによって次に到着した未使用タイムスロットが当該
装置で獲得されたことを外部に通知する。
The count value of the first counter 310 is determined by the determination unit 300 via a counter signal line 311.
When the count value becomes zero, a pulse from the determination signal line 301 notifies the outside that the next unused time slot that has arrived has been acquired by the device.

【0012】なお、第1のカウンタ310のカウント値
がゼロとは、タイムスロット要求信号を送出した時点で
残っていたタイムスロット要求数分の未使用タイムスロ
ットが到着した、すなわち、タイムスロット要求信号を
送出した時点以前に出されていたタイムスロット要求が
すべて満たされたことを意味する。
It is to be noted that the count value of the first counter 310 is zero when the number of time slot request signals remaining when the time slot request signal is transmitted arrives, ie, the time slot request signal Means that all the time slot requests issued before the time when the is transmitted were satisfied.

【0013】このように上記従来の競合制御装置では、
第2のカウンタ320において現時点で要求が満たされ
ずに残っているタイムスロット要求数がカウントされて
おり、タイムスロット要求信号線351からタイムスロ
ット要求信号が入力されると、第2のカウンタ320の
カウント値を第1のカウンタ310にロードし、未使用
タイムスロットが到着してタイムスロット要求が満たさ
れる毎に第1のカウンタ310を1カウントダウンし
て、第1のカウンタ310のカウント値がゼロとなった
後、最初に到着した未使用タイムスロットを獲得するた
め、時間的に先にタイムスロット要求を行なった装置が
先に未使用のタイムスロットを獲得することができる。
As described above, in the above-mentioned conventional competitive control device,
The number of time slot requests remaining unsatisfied at the present time is counted in the second counter 320, and when a time slot request signal is input from the time slot request signal line 351, the count of the second counter 320 is counted. The value is loaded into the first counter 310, and the count value of the first counter 310 becomes zero every time an unused time slot arrives and the time slot request is satisfied, and the count value of the first counter 310 becomes zero. After that, in order to acquire an unused time slot that has arrived first, a device that has made a time slot request earlier in time can acquire an unused time slot earlier.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、上記従
来の競合制御装置では、第1のカウンタ310のカウン
ト値がゼロになるまでは、第1のカウンタ310に第2
のカウンタ320のカウント値をロードできないため、
前回のタイムスロット要求が満たされないと、次のタイ
ムスロット要求を行なうことができないという問題があ
った。
However, in the above-described conventional conflict control device, the first counter 310 keeps the second counter until the count value of the first counter 310 becomes zero.
Since the count value of the counter 320 cannot be loaded,
Unless the previous time slot request is satisfied, the next time slot request cannot be made.

【0015】本発明は、このような従来の問題を解決す
るものであり、タイムスロット要求中にも次のタイムス
ロット要求を行なうことができる優れた競合制御装置を
提供することを目的とするものである。
An object of the present invention is to solve such a conventional problem, and an object of the present invention is to provide an excellent contention control device capable of performing a next time slot request even during a time slot request. It is.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
の本発明の第1の発明は、最新のタイムスロット要求送
信以降に到着した他の競合制御装置のタイムスロット要
求の数をカウントする手段、およびカウントして得られ
たタイムスロット要求数をバッファリングする手段を設
け、タイムスロット要求中にタイムスロット要求を行な
うときには、タイムスロット要求送信以降に到着した他
の競合制御装置のタイムスロット要求数をバッファリン
グし、第1のカウンタのカウント値がゼロとなって前回
のタイムスロット要求が満たされたときにバッファリン
グしていたタイムスロット要求数を第1のカウンタにロ
ードするようにしたものである。
According to a first aspect of the present invention, there is provided a means for counting the number of time slot requests of other contention control devices arriving after transmission of the latest time slot request. Means for buffering the number of time slot requests obtained by counting, and when making a time slot request during the time slot request, the number of time slot requests of other contention control devices arriving after transmission of the time slot request. And the number of time slot requests buffered when the count value of the first counter becomes zero and the previous time slot request is satisfied is loaded into the first counter. is there.

【0017】また、第2の発明は、第2のカウンタを初
期化する手段と、第2のカウンタの1カウントダウン動
作を停止する手段、および第2のカウンタにおいてカウ
ントして得られたタイムスロット要求数をバッファリン
グする手段を設け、タイムスロット要求と同時に第2の
カウンタのカウント値をバッファリング後、第2のカウ
ンタを初期化し、かつ自装置のタイムスロット要求が全
て満たされるまで1カウントダウン動作を停止させ、同
時にバッファリングしているタイムスロット要求数を第
1のカウンタにロードするようにしたものである。
According to a second aspect of the present invention, there is provided a means for initializing a second counter, a means for stopping one countdown operation of the second counter, and a time slot request obtained by counting in the second counter. Means for buffering the number, buffering the count value of the second counter simultaneously with the time slot request, initializing the second counter, and performing one countdown operation until all time slot requests of the own device are satisfied. The number of timeslot requests that are stopped and buffered at the same time are loaded into the first counter.

【0018】[0018]

【作用】本発明は上記した構成により、タイムスロット
要求送信以降に到着した他の競合制御装置のタイムスロ
ット要求数をカウントしており、タイムスロット要求中
に新たにタイムスロット要求を行なうときに、タイムス
ロット要求送信以降に到着した他の競合制御装置のタイ
ムスロット要求数をバッファリングし、第1のカウンタ
のカウント値がゼロとなって前回のタイムスロット要求
が満たされたときにバッファリングしていたタイムスロ
ット要求数を第1のカウンタにロードすることにより、
タイムスロット要求中に次のタイムスロット要求を行な
うことができる。
According to the present invention, the number of time slot requests of other contention control devices arriving after transmission of a time slot request is counted by the above configuration. The number of time slot requests of other contention control devices arriving after transmission of the time slot request is buffered, and is buffered when the count value of the first counter becomes zero and the previous time slot request is satisfied. By loading the number of requested timeslots into the first counter,
The next time slot request can be made during the time slot request.

【0019】[0019]

【実施例】以下本発明の第1の実施例について図1を参
照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described below with reference to FIG.

【0020】図1において、1はバスである。10は競
合制御装置であり、バス1に接続されている。なお、図
1において、バス1に接続されている他の競合制御装置
は省略されている。100,101はそれぞれ判定部、
判定信号線である。110,160はそれぞれ第1のカ
ウンタ、セレクタである。111はカウンタ信号線であ
り、判定部100に接続されている。161はセレクタ
信号線であり、第1のカウンタ110に接続されてい
る。170,180および190はそれぞれメモリ、第
2のカウンタおよび制御部である。171はデータ出力
信号線であり、セレクタ160に接続されている。17
2はエンプティ信号線であり、制御部190に接続され
ている。181はカウンタ信号線であり、メモリ170
に接続されている。191,192はそれぞれ書き込み
信号線、読み出し信号線であり、メモリ170に接続さ
れている。193は切替信号線であり、セレクタ160
に接続されている。194はロード信号線であり、第1
のカウンタ110に接続されている。120は第3のカ
ウンタ(第1の計測手段)である。121はカウンタ信
号線であり、セレクタ160に接続されている。130
はタイムスロット要求検出部であり、バス1に接続され
ている。131はタイムスロット要求検出信号線であ
り、第3のカウンタ120と第2のカウンタ180に接
続されている。140は未使用タイムスロット検出部で
あり、バス1に接続されている。141は未使用タイム
スロット検出信号線であり、第3のカウンタ120と第
1のカウンタ110に接続されている。150はタイム
スロット要求信号送出部であり、バス1に接続されてい
る。151はタイムスロット要求信号線であり、タイム
スロット要求信号送出部150と第2のカウンタ180
と制御部190に接続されている。また、判定信号線1
01は制御部190に接続されている。
In FIG. 1, reference numeral 1 denotes a bus. Reference numeral 10 denotes a contention control device, which is connected to the bus 1. In FIG. 1, other contention control devices connected to the bus 1 are omitted. 100 and 101 are determination units, respectively.
This is a determination signal line. 110 and 160 are a first counter and a selector, respectively. Reference numeral 111 denotes a counter signal line, which is connected to the determination unit 100. 161 is a selector signal line, which is connected to the first counter 110. 170, 180, and 190 are a memory, a second counter, and a control unit, respectively. 171 is a data output signal line, which is connected to the selector 160. 17
Reference numeral 2 denotes an empty signal line, which is connected to the control unit 190. Reference numeral 181 denotes a counter signal line.
It is connected to the. 191 and 192 are write signal lines and read signal lines, respectively, which are connected to the memory 170. 193 is a switching signal line, and the selector 160
It is connected to the. 194 is a load signal line.
Is connected to the counter 110. 120 is a third counter (first measuring means). A counter signal line 121 is connected to the selector 160. 130
Is a time slot request detection unit, which is connected to the bus 1. Reference numeral 131 denotes a time slot request detection signal line, which is connected to the third counter 120 and the second counter 180. Reference numeral 140 denotes an unused time slot detection unit, which is connected to the bus 1. Reference numeral 141 denotes an unused time slot detection signal line, which is connected to the third counter 120 and the first counter 110. Reference numeral 150 denotes a time slot request signal transmitting unit, which is connected to the bus 1. Reference numeral 151 denotes a time slot request signal line, which includes a time slot request signal transmitting section 150 and a second counter 180.
And the control unit 190. Also, the judgment signal line 1
01 is connected to the control unit 190.

【0021】なお、バス1上の情報のフォーマットは従
来例(図4)と同一である。以上の構成要素よりなる競
合制御装置の第1の実施例について、以下その各構成要
素の関係と動作について、以下の3つの動作に分けて説
明する。
The format of information on the bus 1 is the same as that of the conventional example (FIG. 4). The first embodiment of the contention control device including the above-described components will be described below in terms of the relationship between the components and the operation in the following three operations.

【0022】1.外部から入力される信号およびそれに
付随する内部のブロックの動作 2.タイムスロット要求中でない状態でタイムスロット
要求を行なう場合の動作 3.タイムスロット要求中にさらにタイムスロット要求
を行なう場合の動作 1.初めに、外部から入力される信号およびそれに付随
する内部のブロックの動作を説明する。
1. 1. Signals input from outside and operation of internal blocks associated therewith 2. Operation when time slot request is made while time slot request is not being performed Operation when a time slot request is further performed during a time slot request First, the operation of an externally input signal and the accompanying internal block will be described.

【0023】未使用タイムスロット検出部140はバス
上の未使用タイムスロットを検出し、検出する毎に未使
用タイムスロット検出信号線141からパルスを出力す
る。また、タイムスロット要求検出部130は他の競合
制御装置のタイムスロット要求を検出する毎にタイムス
ロット要求検出信号線131からパルスを出力する。
The unused time slot detector 140 detects an unused time slot on the bus, and outputs a pulse from the unused time slot detection signal line 141 each time it detects the unused time slot. Further, the time slot request detection section 130 outputs a pulse from the time slot request detection signal line 131 every time a time slot request of another contention control device is detected.

【0024】第3のカウンタ120はタイムスロット要
求検出信号線131からパルスが入力される毎に1カウ
ントアップ、未使用タイムスロット検出信号線141か
らパルスが入力される毎に1カウントダウンする。
The third counter 120 counts up by one each time a pulse is input from the time slot request detection signal line 131, and decrements by one each time a pulse is input from the unused time slot detection signal line 141.

【0025】第2のカウンタ180はタイムスロット要
求検出信号線131からパルスが入力される毎に1カウ
ントアップする。
The second counter 180 counts up by one every time a pulse is input from the time slot request detection signal line 131.

【0026】セレクタ160はエンプティ信号172が
非アクティブ、すなわちメモリ170がデータを格納し
ている場合には、メモリ170のデータ出力をセレクタ
信号線161より出力する。エンプティ信号172がア
クティブ、すなわちメモリ170がデータを格納してい
ない場合には、カウンタ信号線121から入力されてい
る第3のカウンタ120のカウント値をセレクタ信号線
161より出力する。
When the empty signal 172 is inactive, that is, when the memory 170 stores data, the selector 160 outputs the data output of the memory 170 from the selector signal line 161. When the empty signal 172 is active, that is, when the memory 170 does not store data, the count value of the third counter 120 input from the counter signal line 121 is output from the selector signal line 161.

【0027】また、制御部190はタイムスロット要求
信号線151からのタイムスロット要求信号と判定信号
線101からのパルスより、自装置で獲得要求が満たさ
れていないタイムスロット数をカウントしている。
The control unit 190 counts the number of time slots for which the acquisition request is not satisfied in its own device from the time slot request signal from the time slot request signal line 151 and the pulse from the determination signal line 101.

【0028】2.続いてタイムスロット要求中でない状
態でタイムスロット要求を行なう場合の動作について説
明する。
2. Next, an operation when a time slot request is made in a state where a time slot request is not being performed will be described.

【0029】タイムスロット要求信号線151にタイム
スロット要求信号が入力されると、タイムスロット要求
信号送出部150が他の競合制御装置にタイムスロット
要求信号を送出する。また、同時にカウンタ信号線12
1、セレクタ160およびセレクタ信号線161を通じ
て第3のカウンタ120のカウント値が第1のカウンタ
110にロードされる。また、同時に第2のカウンタ1
80をリセットする。なお、第3のカウンタ120のカ
ウント値はタイムスロット要求数と未使用タイムスロッ
ト数の差、すなわち、現時点で要求が満たされずに残っ
ているタイムスロット要求数である。
When a time slot request signal is input to the time slot request signal line 151, the time slot request signal sending section 150 sends a time slot request signal to another contention control device. At the same time, the counter signal line 12
1. The count value of the third counter 120 is loaded into the first counter 110 through the selector 160 and the selector signal line 161. At the same time, the second counter 1
Reset 80. Note that the count value of the third counter 120 is the difference between the number of time slot requests and the number of unused time slots, that is, the number of time slot requests remaining unsatisfied at the present time.

【0030】以降、第1のカウンタ110は未使用タイ
ムスロット検出信号線141からパルスが入力される毎
に1カウントダウンされる。
Thereafter, the first counter 110 is decremented by one each time a pulse is input from the unused time slot detection signal line 141.

【0031】第1のカウンタ110のカウント値はカウ
ンタ信号線111を通じて判定部100で判定される。
カウント値がゼロとなると、判定信号線101からのパ
ルスによって次に到着した未使用タイムスロットが当該
装置で獲得されたことを外部に通知する。なお、第1の
カウンタ110のカウント値がゼロとは、タイムスロッ
ト要求信号を送出した時点で残っていたタイムスロット
要求数だけの未使用タイムスロットが到着した、すなわ
ち、タイムスロット要求信号を送出した時点で残ってい
たタイムスロット要求がすべて満たされたことを意味す
る。
The count value of the first counter 110 is determined by the determination unit 100 via the counter signal line 111.
When the count value becomes zero, a pulse from the determination signal line 101 notifies the outside that the next unused time slot that has arrived has been acquired by the device. It should be noted that the count value of the first counter 110 is zero when the unused time slots of the number of time slot requests remaining at the time of transmitting the time slot request signal have arrived, that is, the time slot request signal has been transmitted. It means that all the remaining time slot requests at that time have been satisfied.

【0032】3.最後に、タイムスロット要求中にさら
にタイムスロット要求を行なう場合の動作について説明
する。
3. Lastly, an operation when a time slot request is further performed during a time slot request will be described.

【0033】タイムスロット要求中であるため、第1の
カウンタ110のカウント値はゼロになっておらず、動
作中である。
Since a time slot request is being made, the count value of the first counter 110 has not become zero, and it is in operation.

【0034】タイムスロット要求信号線151にタイム
スロット要求信号が入力されると、タイムスロット要求
信号送出部150が他の競合制御装置にタイムスロット
要求信号を送出する。また、自装置で獲得要求が満たさ
れていないタイムスロット数がゼロでない状態で、タイ
ムスロット要求信号が制御部190で受信されるため、
制御部190は書き込み信号線191にパルスを出力し
て、第2のカウンタ180のカウント値をメモリ170
に書き込む。同時に、第2のカウンタ180はリセット
される。
When a time slot request signal is input to the time slot request signal line 151, the time slot request signal sending section 150 sends a time slot request signal to another contention control device. Further, since the time slot request signal is received by the control unit 190 in a state where the number of time slots for which the acquisition request is not satisfied in the own device is not zero,
The control unit 190 outputs a pulse to the write signal line 191 to store the count value of the second counter 180 in the memory 170.
Write to. At the same time, the second counter 180 is reset.

【0035】したがって、第2のカウンタ180のカウ
ント値は、前回タイムスロット要求を行なって以降、新
たに通知されたタイムスロット要求の総数となる。エン
プティ信号線172が非アクティブの状態で、第1のカ
ウンタ110のカウント値がゼロとなって、判定信号線
101からパルスが出力されると、制御部190は切替
信号線193を通じてセレクタ160を切替え、かつ読
み出し信号線192およびロード信号線194にパルス
を出力することにより、第1のカウンタ110にメモリ
170にバッファリングされているタイムスロット数を
ロードする。
Therefore, the count value of the second counter 180 is the total number of time slot requests newly notified since the last time slot request was made. When the count value of the first counter 110 becomes zero and a pulse is output from the determination signal line 101 in a state where the empty signal line 172 is inactive, the control unit 190 switches the selector 160 through the switching signal line 193. By outputting pulses to the read signal line 192 and the load signal line 194, the first counter 110 is loaded with the number of time slots buffered in the memory 170.

【0036】以降、メモリ170が空となってエンプテ
ィ信号線172がアクティブとなるまで、上記動作が繰
返される。
Thereafter, the above operation is repeated until the memory 170 becomes empty and the empty signal line 172 becomes active.

【0037】このように、上記第1の実施例によれば、
第2のカウンタ180において前回の自装置のタイムス
ロット要求以降のタイムスロット要求をカウントしてお
り、タイムスロット要求中にさらにタイムスロット要求
を行なう場合には、第2のカウンタ180のカウント値
をバッファリングし、前回のタイムスロット要求が満た
されてからバッファリングしていたカウント値をあらた
な第1のカウンタ110の初期値とするため、タイムス
ロット要求中にもかかわらず、次のタイムスロット要求
を行なうことができるという利点を有する。
As described above, according to the first embodiment,
The second counter 180 counts the time slot requests after the previous time slot request of the own device, and if a further time slot request is made during the time slot request, the count value of the second counter 180 is buffered. In order to set the count value that has been buffered since the previous time slot request was satisfied as the initial value of the new first counter 110, the next time slot request is issued even though the time slot request is being performed. It has the advantage that it can be performed.

【0038】次に、本発明の第2の実施例について図2
を参照しながら説明する。図2において、2はバスであ
る。20は競合制御装置であり、バス2に接続されてい
る。なお、図2において、バス2に接続されている他の
競合制御装置は省略されている。200,201はそれ
ぞれ判定部、判定信号線である。210,270はそれ
ぞれ第1のカウンタ、メモリである。211はカウンタ
信号線であり、判定部200に接続されている。271
はメモリ270のデータ出力信号線であり、第1のカウ
ンタ210に接続されている。230,280はそれぞ
れゲート回路、制御部である。272はエンプティ信号
線であり、制御部280に接続されている。220は第
2のカウンタである。221はカウンタ信号線であり、
メモリ270に接続されている。281,282はそれ
ぞれ書き込み信号線、読み出し信号線であり、メモリ2
70に接続されている。283はロード信号線であり、
第1のカウンタ210に接続されている。284はゲー
ト制御信号線であり、ゲート回路230に接続されてい
る。240はタイムスロット要求検出部であり、バス2
に接続されている。241はタイムスロット要求検出信
号線であり、第2のカウンタ220に接続されている。
250は未使用タイムスロット検出部であり、バス2に
接続されている。251は未使用タイムスロット検出信
号線であり、ゲート回路230とカウンタ210に接続
されている。260はタイムスロット要求信号送出部で
ある。261はタイムスロット要求信号線であり、タイ
ムスロット要求信号送出部260とカウンタ220と制
御部280に接続されている。また、判定信号線201
は制御部280に接続されている。なお、バス1上の情
報のフォーマットは、従来例(図4)と同一である。
Next, a second embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. In FIG. 2, reference numeral 2 denotes a bus. Reference numeral 20 denotes a contention control device, which is connected to the bus 2. In FIG. 2, other contention control devices connected to the bus 2 are omitted. Reference numerals 200 and 201 denote a determination unit and a determination signal line, respectively. 210 and 270 are a first counter and a memory, respectively. Reference numeral 211 denotes a counter signal line, which is connected to the determination unit 200. 271
Is a data output signal line of the memory 270, which is connected to the first counter 210. 230 and 280 are a gate circuit and a control unit, respectively. Reference numeral 272 denotes an empty signal line, which is connected to the control unit 280. 220 is a second counter. 221 is a counter signal line,
It is connected to the memory 270. Reference numerals 281 and 282 denote a write signal line and a read signal line, respectively.
70. 283 is a load signal line,
It is connected to a first counter 210. Reference numeral 284 denotes a gate control signal line, which is connected to the gate circuit 230. Reference numeral 240 denotes a time slot request detection unit,
It is connected to the. Reference numeral 241 denotes a time slot request detection signal line, which is connected to the second counter 220.
Reference numeral 250 denotes an unused time slot detection unit, which is connected to the bus 2. Reference numeral 251 denotes an unused time slot detection signal line, which is connected to the gate circuit 230 and the counter 210. Reference numeral 260 denotes a time slot request signal transmitting unit. Reference numeral 261 denotes a time slot request signal line, which is connected to the time slot request signal transmitting section 260, the counter 220, and the control section 280. Also, the judgment signal line 201
Are connected to the control unit 280. The format of the information on the bus 1 is the same as the conventional example (FIG. 4).

【0039】以上の構成要素よりなる競合制御装置の第
2の実施例について、以下その各構成要素の関係と動作
について、以下の3つの動作に分けて説明する。
In the second embodiment of the contention control device having the above-described components, the relationship and operation of each component will be described separately for the following three operations.

【0040】1.外部から入力される信号およびそれに
付随する内部のブロックの動作 2.タイムスロット要求中でない状態でタイムスロット
要求を行なう場合の動作 3.タイムスロット要求中にさらにタイムスロット要求
を行なう場合の動作 1.初めに、外部から入力される信号およびそれに付随
する内部のブロックの動作を説明する。
1. 1. Signals input from outside and operation of internal blocks associated therewith 2. Operation when time slot request is made while time slot request is not being performed Operation when a time slot request is further performed during a time slot request First, the operation of an externally input signal and the accompanying internal block will be described.

【0041】未使用タイムスロット検出部250はバス
上の未使用タイムスロットを検出し、検出する毎に未使
用タイムスロット検出信号線251からパルスを出力す
る。また、タイムスロット要求検出部240は他の競合
制御装置のタイムスロット要求を検出し、検出する毎に
タイムスロット要求検出信号線241からパルスを出力
する。
The unused time slot detector 250 detects an unused time slot on the bus, and outputs a pulse from the unused time slot detection signal line 251 each time it detects it. Further, the time slot request detection section 240 detects a time slot request from another contention control device, and outputs a pulse from the time slot request detection signal line 241 each time the time slot request is detected.

【0042】ゲート制御信号線284がアクティブであ
れば、カウンタ220はタイムスロット要求検出信号線
241からパルスが入力される毎に1カウントアップ、
未使用タイムスロット検出信号線251からパルスが入
力される毎に1カウントダウンする。
When the gate control signal line 284 is active, the counter 220 counts up by one every time a pulse is input from the time slot request detection signal line 241.
Each time a pulse is input from the unused time slot detection signal line 251, the countdown is performed by one.

【0043】ゲート制御信号線284が非アクティブで
あれば、第2のカウンタ220はタイムスロット要求検
出信号線241からパルスが入力される毎に1カウント
アップのみを行なう。
If the gate control signal line 284 is inactive, the second counter 220 counts up only by one every time a pulse is input from the time slot request detection signal line 241.

【0044】また、制御部280はタイムスロット要求
信号線261からのタイムスロット要求信号と判定信号
線201からのパルスにより、自装置で獲得要求が満た
されていないタイムスロット数をカウントしている。
The control unit 280 counts the number of time slots for which the acquisition request is not satisfied in its own device, based on the time slot request signal from the time slot request signal line 261 and the pulse from the determination signal line 201.

【0045】2.続いてタイムスロット要求中でない状
態でタイムスロット要求を行なう場合の動作について説
明する。
2. Next, an operation when a time slot request is made in a state where a time slot request is not being performed will be described.

【0046】タイムスロット要求信号線261にタイム
スロット要求信号が入力されると、タイムスロット要求
信号送出部260が他の競合制御装置にタイムスロット
要求信号を送出する。また、同時にカウンタ信号線22
1、メモリ270、データ出力信号線271を通じて第
2のカウンタ220のカウント値が第1のカウンタ21
0にロードされる。また、同時に第2のカウンタ220
をリセットする。
When a time slot request signal is input to the time slot request signal line 261, the time slot request signal sending section 260 sends a time slot request signal to another contention control device. At the same time, the counter signal line 22
1, the count value of the second counter 220 through the memory 270 and the data output signal line 271,
Loaded to 0. At the same time, the second counter 220
Reset.

【0047】また、制御部280において満たされてい
ないタイムスロット要求として扱われるため、ゲート制
御信号線284が非アクティブとなり、未使用タイムス
ロット検出信号による第2のカウンタ220のカウント
ダウンが行われなくなる。
Since the control unit 280 treats the request as an unsatisfied time slot request, the gate control signal line 284 becomes inactive, and the countdown of the second counter 220 by the unused time slot detection signal is not performed.

【0048】以降、第1のカウンタ210は未使用タイ
ムスロット検出信号線からパルスが入力される毎に1カ
ウントダウンされる。
Thereafter, the first counter 210 is decremented by one every time a pulse is input from the unused time slot detection signal line.

【0049】第1のカウンタ210のカウント値はカウ
ンタ信号線211を通じて判定部200で判定される。
カウント値がゼロとなると、判定信号線201からのパ
ルスによって次に到着した未使用タイムスロットが当該
装置で獲得されたことを外部に通知する。また、この時
点で、自装置の次のタイムスロット要求がない場合に
は、制御部280において満たされていないタイムスロ
ット要求がないと検出されるので、ゲート制御信号線2
84がアクティブとなり、未使用タイムスロット検出信
号による第2のカウンタ220のカウントダウンが再開
される。
The count value of the first counter 210 is determined by the determination unit 200 via the counter signal line 211.
When the count value becomes zero, a pulse from the determination signal line 201 notifies the outside that the next unused time slot that has arrived has been acquired by the device. At this time, if there is no next time slot request of the own device, the control unit 280 detects that there is no unsatisfied time slot request.
84 becomes active, and the countdown of the second counter 220 by the unused time slot detection signal is restarted.

【0050】なお、第1のカウンタ210のカウント値
がゼロとは、タイムスロット要求信号を送出した時点で
残っていたタイムスロット要求数だけの未使用タイムス
ロットが到着した、すなわち、タイムスロット要求信号
を送出した時点で残っていたタイムスロット要求がすべ
て満たされたことを意味する。
It should be noted that the count value of the first counter 210 is zero when the number of time slot requests remaining when the time slot request signal is transmitted arrives, ie, the time slot request signal Means that all the remaining time slot requests at the time of sending are transmitted.

【0051】3.最後に、タイムスロット要求中にさら
にタイムスロット要求を行なう場合の動作について説明
する。
3. Lastly, an operation when a time slot request is further performed during a time slot request will be described.

【0052】タイムスロット要求中であるため、第1の
カウンタ210のカウント値はゼロになっておらず、動
作中である。また、ゲート制御信号線284は非アクテ
ィブになっている。
Since a time slot request is being made, the count value of the first counter 210 is not zero, and the first counter 210 is operating. Further, the gate control signal line 284 is inactive.

【0053】タイムスロット要求信号線261にタイム
スロット要求信号が入力されると、タイムスロット要求
信号送出部260が他の競合制御装置にタイムスロット
要求信号を送出する。また、自装置で獲得要求が満たさ
れていないタイムスロット数がゼロでない状態で、タイ
ムスロット要求信号が制御部280で受信されるため、
制御部280は書き込み信号線281にパルスを出力し
て、第2のカウンタ220のカウント値をメモリに書き
込む。同時に、第2のカウンタ220はリセットされ
る。
When a time slot request signal is input to the time slot request signal line 261, the time slot request signal sending section 260 sends a time slot request signal to another contention control device. Further, since the time slot request signal is received by the control unit 280 in a state where the number of time slots for which the acquisition request is not satisfied in the own device is not zero,
The control unit 280 outputs a pulse to the write signal line 281 to write the count value of the second counter 220 to the memory. At the same time, the second counter 220 is reset.

【0054】エンプティ信号線272が非アクティブの
状態で、第1のカウンタ210のカウント値がゼロとな
って、判定信号線201からパルスが出力されると、制
御部280は読み出し信号線282およびロード信号線
283にパルスを出力することにより、第1のカウンタ
210にメモリ270にバッファリングされているタイ
ムスロット数をロードする。
When the count value of the first counter 210 becomes zero and a pulse is output from the determination signal line 201 in a state where the empty signal line 272 is inactive, the control unit 280 causes the read signal line 282 and the load signal By outputting a pulse to the signal line 283, the first counter 210 is loaded with the number of time slots buffered in the memory 270.

【0055】以降、メモリ270が空となってエンプテ
ィ信号線272がアクティブとなるまで、上記動作が繰
返される。
Thereafter, the above operation is repeated until the memory 270 becomes empty and the empty signal line 272 becomes active.

【0056】このように、上記第2の実施例によれば、
第2のカウンタ220において前回の自装置のタイムス
ロット要求以降のタイムスロット要求をカウントしてお
り、タイムスロット要求中にさらにタイムスロット要求
を行なう場合には、第2のカウンタ220のカウント値
をバッファリングし、前回のタイムスロット要求が満た
されてから、バッファリングしていたカウント値をあら
たな第1のカウンタ210の初期値とするため、タイム
スロット要求中にもかかわらず、次のタイムスロット要
求を行なうことができるという利点を有する。
As described above, according to the second embodiment,
The second counter 220 counts time slot requests since the previous time slot request of the own device. If a further time slot request is made during the time slot request, the count value of the second counter 220 is buffered. After the time slot request is satisfied, the buffered count value is used as the new initial value of the first counter 210 after the previous time slot request is satisfied. Can be performed.

【0057】[0057]

【発明の効果】以上の実施例の説明から明らかなよう
に、本発明はタイムスロット要求送信以降に到着した他
の競合制御装置のタイムスロット要求数をカウントし、
タイムスロット要求中にさらにタイムスロット要求を行
なうときに、タイムスロット要求送信以降に到着した他
の競合制御装置のタイムスロット要求数をバッファリン
グし、カウンタがゼロとなって前回のタイムスロット要
求が満たされたときにバッファリングしていたタイムス
ロット要求数をカウンタにロードするものであり、タイ
ムスロット要求中にさらに次のタイムスロット要求を行
なうことができるという効果を有する。
As is apparent from the above description of the embodiment, the present invention counts the number of time slot requests of other contention control devices arriving after transmission of a time slot request,
When a time slot request is further performed during a time slot request, the number of time slot requests of other contention control devices arriving after the transmission of the time slot request is buffered, and the counter becomes zero to satisfy the previous time slot request. The number of time slot requests buffered at the time of the request is loaded into the counter, which has the effect that the next time slot request can be made during the time slot request.

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

【図1】本発明の第1の実施例の競合制御装置のブロッ
ク図
FIG. 1 is a block diagram of a contention control device according to a first embodiment of the present invention;

【図2】同第2の実施例の競合制御装置のブロック図FIG. 2 is a block diagram of a contention control device according to the second embodiment;

【図3】従来の競合制御装置のブロック図FIG. 3 is a block diagram of a conventional conflict control device.

【図4】バス上の情報フォーマットを説明するための図FIG. 4 is a diagram for explaining an information format on a bus.

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

1 バス 100 判定部(タイムスロット獲得判定手段) 120 第3のカウンタ(第1の計測手段) 150 タイムスロット要求信号送出部(バスに対して
タイムスロットの獲得要求を行なう手段) 170 メモリ(保持手段) 180 第2のカウンタ(第2の計測手段)
1 Bus 100 Judgment Unit (Time Slot Acquisition Judgment Means) 120 Third Counter (First Measurement Means) 150 Time Slot Request Signal Sending Unit (Means for Requesting Bus to Acquire Time Slot) 170 Memory (Holding Means) ) 180 second counter (second measuring means)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】バスに対してタイムスロットの獲得要求を
行なう手段と、 獲得要求が満たされていないタイムスロット数を計測す
る第1の計測手段と、 自装置および他装置によって獲得要求されたタイムスロ
ット数を計測する第2の計測手段と、 前記第1の計測手段で計測されたタイムスロット数を入
力値として入力され前記バス上を通過した未使用のタイ
ムスロット数が前記入力値と一致した場合に未使用のタ
イムスロットを獲得する判定を下すタイムスロット獲得
判定手段と、 自装置にまだ満たされていないタイムスロット獲得要求
がある状態においてさらに自装置がタイムスロットの獲
得要求を行なった場合に前記第2の計測手段で計測した
タイムスロット数を保持する保持手段とを有し、 未使用のタイムスロットを獲得する判定を下した時点
で、前記保持手段が空でない場合に、前記保持手段で保
持していたタイムスロット数を前記タイムスロット獲得
判定手段への新たな入力値とすることを特徴とする競合
制御装置。
1. A means for issuing a time slot acquisition request to a bus, a first measuring means for measuring the number of time slots for which the acquisition request is not satisfied, and a time acquired by the own apparatus and another apparatus. A second measuring means for measuring the number of slots, and the number of unused time slots which have been inputted as input values of the number of time slots measured by the first measuring means and which have passed on the bus coincided with the input value. A time slot acquisition determining means for making a determination to acquire an unused time slot in the case where the own device has made an unsatisfied time slot acquisition request; Holding means for holding the number of time slots measured by the second measuring means, and determining whether to acquire an unused time slot. When the, when the holding means is not empty, contention control apparatus according to claim a number of time slots that held by the holding means to a new input value to the time slot acquisition determination means.
【請求項2】バスに対してタイムスロットの獲得要求を
行なう手段と、 自装置および他装置によって獲得要求されたタイムスロ
ット数を計測する手段と、 自装置のタイムスロットの獲得要求毎に前記計測する手
段で計測したタイムスロット数を保持する手段と、 前記保持する手段で保持されたタイムスロット数を入力
値として入力されバス上を通過した未使用のタイムスロ
ット数が前記入力値と一致した場合に未使用のタイムス
ロットを獲得する判定を下すタイムスロット獲得判定手
段とを有し、 前記保持する手段で保持しているタイムスロット数が無
く、かつ前記タイムスロット獲得判定手段における未使
用のタイムスロットを獲得する判定が終了している状態
において、バスを未使用のタイムスロットが通過する度
に、前記計測する手段が計測中のタイムスロット数を減
算することを特徴とする競合制御装置。
Means for making a time slot acquisition request to the bus, means for counting the number of time slots requested to be acquired by the own device and another device, and said measurement for each time slot acquisition request of the own device. Means for holding the number of time slots measured by the means for performing, and when the number of unused time slots passed on the bus after inputting the number of time slots held by the holding means as an input value matches the input value. Having time slot acquisition determining means for making a determination to acquire an unused time slot, wherein the number of time slots held by the holding means is not present, and the unused time slot in the time slot acquisition determining means is provided. Each time an unused time slot passes through the bus in a state where the determination of acquiring A contention control device characterized in that the stage subtracts the number of time slots being measured.
JP12593492A 1992-05-19 1992-05-19 Contention control device Expired - Fee Related JP2936890B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12593492A JP2936890B2 (en) 1992-05-19 1992-05-19 Contention control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12593492A JP2936890B2 (en) 1992-05-19 1992-05-19 Contention control device

Publications (2)

Publication Number Publication Date
JPH05327731A JPH05327731A (en) 1993-12-10
JP2936890B2 true JP2936890B2 (en) 1999-08-23

Family

ID=14922584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12593492A Expired - Fee Related JP2936890B2 (en) 1992-05-19 1992-05-19 Contention control device

Country Status (1)

Country Link
JP (1) JP2936890B2 (en)

Also Published As

Publication number Publication date
JPH05327731A (en) 1993-12-10

Similar Documents

Publication Publication Date Title
EP0051332B1 (en) Two-wire bus-system comprising a clock wire and a data wire for interconnecting a number of stations
US4038644A (en) Destination selection apparatus for a bus oriented computer system
US4611275A (en) Time sharing device for access to a main memory through to a single bus connected between a central computer and a plurality of peripheral computers
US5414816A (en) Data transfer apparatus having means for controlling the difference in speed between data input/output ports and memory access
US4494113A (en) Method and apparatus for self-control in distributed priority collision
US4542501A (en) Interface for managing information exchanges on a communications bus
US4805170A (en) Data communication network
JP2936890B2 (en) Contention control device
JP2568458B2 (en) Data length detector
JPH06195319A (en) Multi-processor system
JPH0494237A (en) Priority control system in atm exchange channel
JPH0512203A (en) Bus performance measurement system
US4234949A (en) Multiplexer and time duration measuring circuit
JP2687324B2 (en) Reception buffer control method
US6510482B1 (en) Multiplexed bus data transmission control system
JP2742135B2 (en) Bus arbitration equipment
JPS6012666B2 (en) Self-control method and device for distributed priority competition
JPS63113750A (en) Information processing system
KR880000647B1 (en) Status-change data gathering apparatus
JPH05183541A (en) Transmission line duplex system
RU1797125C (en) Multichannel device for connection of subscribers to common trunk
SU1434435A1 (en) Multichannel device for processing requests
GB2088598A (en) Method and means for establishing a rotating priority in a daisy chain
RU1554749C (en) Device for estimating state of channels in simplex operation system
SU1287170A1 (en) Interface for linking electronic computer with using equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees