JPH04355862A - Common resource contention preventing circuit - Google Patents

Common resource contention preventing circuit

Info

Publication number
JPH04355862A
JPH04355862A JP13015391A JP13015391A JPH04355862A JP H04355862 A JPH04355862 A JP H04355862A JP 13015391 A JP13015391 A JP 13015391A JP 13015391 A JP13015391 A JP 13015391A JP H04355862 A JPH04355862 A JP H04355862A
Authority
JP
Japan
Prior art keywords
common resource
devices
bus
prevention circuit
signal
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
JP13015391A
Other languages
Japanese (ja)
Inventor
Masao Hashimoto
雅男 橋本
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 JP13015391A priority Critical patent/JPH04355862A/en
Publication of JPH04355862A publication Critical patent/JPH04355862A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To uniformly give the use right of a common resource to respective devices in a system for multiple relay of use requests to one common resource from plural devices. CONSTITUTION:Use requests to a shared resource 5 (bus 4) from devices 1 and 2 are prevented from contending by a repeater 6 and are inputted to a contention preventing circuit 7 together with the request from a device 3. The contention preventing circuit 7 selects one device, for example, the device 3 to permit it to use the common resource and sets a corresponding time slot of a bus use inhibiting signal 8 to the inhibiting state. Then, the device 3 cannot request the use of the common resource again. When another device 1 or 2 is permitted to use the common resource, a corresponding time slot of the bus use inhibiting signal 8 is set to the inhibiting state in the same manner. When all devices 1 to 3 terminate the use of the common resource 5 or do not use it for a certain time, the inhibiting states of all time slots of the bus use inhibiting signal 8 are released. Thus, all devices 1 to 3 uniformly obtain the use right of the common resource 5.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、共通リソース競合防止
回路に関し、特に複数の装置が多段構成をとって一つの
共通リソースを使用する際の共通リソース競合を防止す
る回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a common resource conflict prevention circuit, and more particularly to a circuit that prevents common resource conflict when a plurality of devices use one common resource in a multi-stage configuration.

【0002】0002

【従来の技術】従来、この種の共通リソース競合防止回
路は、図3に示すように、複数の装置101,102,
103が、共通リソース5を使用するために共通バス4
を介して接続されている。各々の装置101〜103は
共通リソース5を使用するためにバス使用要求信号9a
,10a,11a/バス使用応答信号9b,10b,1
1bを各々送信/受信し、応答信号を受けた装置が共通
バス4を介して共通リソース5を使用する。バス使用要
求/応答信号は、各々送信/受信するのに装置101,
102は、電気的特性を考慮して中継装置6を介して、
競合防止回路107に接続している。装置103は、競
合防止回路107に直接接続している。中継装置106
は、装置101,102の同時要求時の競合防止回路が
含まれており、2者選択した後、競合防止回路107へ
バス使用要求信号12a及びバス使用応答信号12bに
より接続される。この構成の場合、中継装置6内に含む
競合防止回路と競合防止回路107とで、回転優先方式
などにより、三つの装置101〜103の同時共通リソ
ース使用を選択している。
2. Description of the Related Art Conventionally, this type of common resource contention prevention circuit has a plurality of devices 101, 102,
103 connects the common bus 4 to use the common resource 5.
connected via. Each of the devices 101 to 103 sends a bus use request signal 9a to use the common resource 5.
, 10a, 11a/bus use response signal 9b, 10b, 1
1b, and the devices that have received the response signal use the common resource 5 via the common bus 4. Bus use request/response signals are transmitted/received by devices 101 and 101, respectively.
102 is connected via the relay device 6 in consideration of electrical characteristics.
It is connected to the competition prevention circuit 107. Device 103 is directly connected to contention prevention circuit 107 . Relay device 106
includes a competition prevention circuit when simultaneous requests are made by the devices 101 and 102, and after selecting the two, it is connected to the competition prevention circuit 107 by a bus use request signal 12a and a bus use response signal 12b. In this configuration, the contention prevention circuit included in the relay device 6 and the contention prevention circuit 107 select the simultaneous use of common resources by the three devices 101 to 103 using a rotation priority method or the like.

【0003】0003

【発明が解決しようとする課題】この従来の共通リソー
ス競合防止回路は、各々の装置が同時にバス使用をした
場合、バス使用権を獲得する確率が各々同一でない。つ
まり、図3の構成で、各装置101,102,103が
同時にバス使用を要求した場合に、中継装置6に含む競
合防止回路、及び競合防止回路107が回転優先方式の
とき、始めに装置103がバス使用を許可され、次にバ
ス使用要求/応答信号12a,12bにより中継装置6
を介して装置101がバス使用権を獲得する。次に獲得
するのは、装置102であるべきだが、その時、また装
置103がバス使用を要求した場合、競合防止回路10
7は回転優先方式であるため、装置103へ使用権を与
える。このように、装置103はバス使用許可の確率5
0%に対し、装置101,102はそれぞれ確率25%
となり、各装置が平等にバス使用許可を得られない問題
点があった。
In this conventional common resource contention prevention circuit, when each device uses the bus at the same time, the probabilities of acquiring the right to use the bus are not the same for each device. In other words, in the configuration shown in FIG. 3, when the devices 101, 102, and 103 simultaneously request the use of the bus, when the contention prevention circuit included in the relay device 6 and the contention prevention circuit 107 are of the rotation priority system, the device 103 first requests the use of the bus. is allowed to use the bus, and then the relay device 6
The device 101 acquires the right to use the bus via the . The next person to acquire should be device 102, but if device 103 also requests use of the bus, contention prevention circuit 10
7 is a rotation-priority system, and therefore gives usage rights to the device 103. In this way, the device 103 has a probability of 5 for permission to use the bus.
Compared to 0%, devices 101 and 102 each have a probability of 25%.
Therefore, there was a problem that each device could not equally obtain permission to use the bus.

【0004】0004

【課題を解決するための手段】本発明の共通リソース競
合防止回路は、複数の装置が一つの共通リソースを使用
し各装置からの共通リソース使用要求を多段中継するシ
ステムの共通リソース競合防止回路において;前記共通
リソースの使用を許可した前記装置ごとに他のすべての
装置が前記共通リソースを使用するまで新たな共通リソ
ース使用要求の不許可を示す不許可信号を送出し、前記
共通リソースをすべての前記装置が未使用である時間が
あらかじめ設定された時間以上続いたときにすべての前
記装置に対する前記不許可信号の送出を解除する競合防
止回路と;前記各装置内に設けられ、前記競合防止回路
からの前記不許可信号に基づいて前記共通リソースの使
用要求の可/不可を判断する回路とを備えている。
[Means for Solving the Problems] A common resource conflict prevention circuit of the present invention is a common resource conflict prevention circuit for a system in which a plurality of devices use one common resource and a common resource usage request from each device is relayed in multiple stages. ;Each device that is permitted to use the common resource sends a disapproval signal indicating disapproval of a new common resource use request until all other devices use the common resource; a conflict prevention circuit that cancels the sending of the disallow signal to all of the devices when the device is unused for a preset time or more; and the conflict prevention circuit is provided in each of the devices; and a circuit for determining whether or not a request for use of the common resource is allowed based on the disallowance signal from the common resource.

【0005】また、上記構成において、前記不許可信号
は、前記競合防止回路と前記各装置間を共通に接続する
1本の信号線上に前記各装置に対応して時分割されたタ
イムスロットごとに設定される構成とすることができる
[0005] In the above configuration, the disallow signal is sent to each time slot corresponding to each device on one signal line that commonly connects the contention prevention circuit and each device. The configuration can be set.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0007】図1は本発明の一実施例のブロック図であ
る。装置1,2,3は、共通リソース5を使用するため
に共通バス4を介して接続されている。各々の装置1〜
3は、共通リソース5を使用するためにバス使用要求信
号9a,10,11a/バス使用応答信号9b,10b
,11bを各々送信/受信し、応答信号を受けた装置が
共通バス4を介して共通リソース5を使用する。バス使
用要求/応答信号は、各々送信/受信するのに装置1,
2は、電気的特性を考慮して中継装置6を介して、競合
防止回路7に接続している。装置3は直接、競合防止回
路7に接続している。中継装置6は装置1,2の同時要
求時の競合防止回路が含まれており、2者選択した後競
合防止回路7へバス使用要求/応答信号12a,12b
により接続される。この構成の場合、中継装置6内に含
む競合防止回路と競合防止回路7とで、回転優先方式な
どにより、三つの装置1〜3の同時共通リソース使用を
選択している。また、バス使用不許可信号8は、図2に
示すように、フレームの区切りを示すフレーム信号Bと
1フレームが装置の数以上のタイムスロット(例えば4
)に分割された多重信号Aよりなる。このバス使用不許
可信号8は各装置1〜3に接続され、上記4分割された
各タイムスロットの最初の3タイムスロットが各装置1
〜3への使用不許可を示すことになっている。この場合
、“1”で許可、“0”で不許可に定義している(未使
用のタイムスロットは常時“1”とする)。
FIG. 1 is a block diagram of one embodiment of the present invention. Devices 1, 2, 3 are connected via a common bus 4 to use common resources 5. Each device 1~
3 are bus use request signals 9a, 10, 11a/bus use response signals 9b, 10b for using the common resource 5.
, 11b respectively, and the device that receives the response signal uses the common resource 5 via the common bus 4. Bus use request/response signals are transmitted/received by devices 1 and 1, respectively.
2 is connected to a competition prevention circuit 7 via a relay device 6 in consideration of electrical characteristics. The device 3 is directly connected to the anti-contention circuit 7. The relay device 6 includes a competition prevention circuit when devices 1 and 2 make simultaneous requests, and after selecting the two, sends bus use request/response signals 12a, 12b to the competition prevention circuit 7.
Connected by In this configuration, the contention prevention circuit included in the relay device 6 and the contention prevention circuit 7 select simultaneous use of the common resource by the three devices 1 to 3 using a rotation priority method or the like. Further, as shown in FIG. 2, the bus use disallow signal 8 includes a frame signal B indicating a frame break and a time slot in which one frame has more than the number of devices (for example, 4
) consists of a multiplexed signal A divided into This bus use disallow signal 8 is connected to each device 1 to 3, and the first three time slots of each time slot divided into four are used for each device 1.
It is supposed to indicate that use is not permitted for ~3. In this case, "1" is defined as permission, and "0" is defined as disallowance (unused time slots are always set to "1").

【0008】この構成の場合、装置1,2,3が共通リ
ソース5を使用するため同時に使用要求がでると、競合
防止回路7によりどれか一つが選択される。この場合、
装置3とすると、バス使用不許可信号8は図2信号Aに
示すように、TS03の位置が“0”になる。装置3の
バス使用が終了し、次のバス使用許可を次の装置、すな
わち競合防止回路7より中継装置6に接続される装置に
与える。この場合、装置2とする。バス使用不許可信号
8は図2に示す様にTS12を“0”にする。このとき
、前回バス使用した装置3が再度バス使用を要求したと
すると、競合防止回路7が回転優先方式ならば、次にバ
ス使用権を与えるのは、装置1でなく、装置3となる。 しかし、競合防止回路7から送信するバス使用不許可信
号8により前回使用した装置3のタイムスロットTS1
3は0になっているため、その信号を検出した装置3は
バス使用要求信号11aを送信しない。そのため競合防
止回路7は装置3からの要求がないため、装置1に使用
権を与える。バス使用不許可信号8の各装置へのタイム
スロットが全て“0”、つまり、同時使用要求で全て使
用権を与えたらば、再度各タイムスロットを“1”にす
る。また、すべての装置1〜3が使用要求するとも限ら
ないので、バス使用不許可信号8の各装置単位に定義さ
れたタイムスロットの一部が“1”でも、数フレームの
間どの装置からも使用要求がなければ再度各タイムスロ
ットを“1”にする。
In this configuration, since devices 1, 2, and 3 use the common resource 5, if requests for use are issued at the same time, the conflict prevention circuit 7 selects one of them. in this case,
In the case of the device 3, the bus use disallowance signal 8 has the position of TS03 set to "0" as shown in signal A of FIG. When device 3 finishes using the bus, permission to use the next bus is given to the next device, that is, the device connected to relay device 6 from contention prevention circuit 7. In this case, it is assumed to be device 2. The bus use disabling signal 8 sets TS12 to "0" as shown in FIG. At this time, if device 3, which used the bus last time, requests to use the bus again, if the competition prevention circuit 7 uses the rotation priority system, the next device to be granted the right to use the bus will be device 3, not device 1. However, due to the bus use disallow signal 8 transmitted from the contention prevention circuit 7, the time slot TS1 of the device 3 used last time is
3 is 0, the device 3 that has detected this signal does not transmit the bus use request signal 11a. Therefore, since there is no request from the device 3, the competition prevention circuit 7 grants the usage right to the device 1. When all the time slots of the bus use disallowance signal 8 to each device are set to "0", that is, when all use rights are granted in response to a simultaneous use request, each time slot is set to "1" again. In addition, since not all devices 1 to 3 request use, even if some of the time slots defined for each device in the bus use disallow signal 8 are "1", no device can request use from any device for several frames. If there is no request for use, each time slot is set to "1" again.

【0009】このようにして各装置の同時使用要求時の
共通リソース使用権獲得する確率は均等になる。
[0009] In this way, the probability of acquiring the right to use the common resource when each device requests simultaneous use is equalized.

【0010】0010

【発明の効果】以上説明したように本発明は、複数の装
置が一つの共通リソースを使用し各装置からの共通リソ
ース使用要求を多段中継するシステムにおいて、競合防
止回路が、共通リソースの使用を許可した装置ごとに他
のすべての装置が共通リソースを使用するまで新たな共
通リソース使用要求の不許可を示す不許可信号を送出し
、共通リソースをすべての装置が未使用である時間があ
らかじめ設定された時間以上続いたときにすべての装置
に対する不許可信号の送出を解除し、各装置側で、競合
防止回路からの不許可信号に基づいて共通リソースの使
用要求の可/不可を判断することにより、各装置から共
通リソースを使用する際に、それぞれ平等に使用できる
という効果を有する。
As explained above, the present invention provides a system in which a plurality of devices use one common resource and a common resource use request from each device is relayed in multiple stages, in which the contention prevention circuit prevents the use of the common resource. For each permitted device, a disapproval signal indicating disapproval of new requests to use the common resource is sent until all other devices use the common resource, and the time during which the common resource is not used by all devices is set in advance. When the disallow signal continues for a specified period of time, the disallow signal to all devices is canceled, and each device determines whether or not to request the use of the common resource based on the disallow signal from the contention prevention circuit. This has the effect that common resources can be used equally by each device.

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

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

【図2】バス使用不許可信号の内容を示す図である。FIG. 2 is a diagram showing the contents of a bus use disallowance signal.

【図3】従来の共通リソース競合防止回路の一例を示す
ブロック図である。
FIG. 3 is a block diagram showing an example of a conventional common resource contention prevention circuit.

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

1,2,3,101,102,103    装置4 
   共通バス 5    共通リソース 6    中継装置 7,107    競合防止回路
1, 2, 3, 101, 102, 103 device 4
Common bus 5 Common resource 6 Relay device 7, 107 Contention prevention circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  複数の装置が一つの共通リソースを使
用し各装置からの共通リソース使用要求を多段中継する
システムの共通リソース競合防止回路において;前記共
通リソースの使用を許可した前記装置ごとに他のすべて
の装置が前記共通リソースを使用するまで新たな共通リ
ソース使用要求の不許可を示す不許可信号を送出し、前
記共通リソースをすべての前記装置が未使用である時間
があらかじめ設定された時間以上続いたときにすべての
前記装置に対する前記不許可信号の送出を解除する競合
防止回路と;前記各装置内に設けられ、前記競合防止回
路からの前記不許可信号に基づいて前記共通リソースの
使用要求の可/不可を判断する回路とを備えたことを特
徴とする共通リソース競合防止回路。
Claim 1: In a common resource contention prevention circuit for a system in which a plurality of devices use one common resource and a common resource use request from each device is relayed in multiple stages; A disapproval signal indicating disapproval of a new common resource use request is sent until all the devices use the common resource, and the common resource is not used by all the devices for a preset time. a contention prevention circuit that releases the transmission of the disallowance signal to all of the devices when the above continues; and a contention prevention circuit that is provided in each of the devices and uses the common resource based on the disapproval signal from the contention prevention circuit. 1. A common resource conflict prevention circuit comprising: a circuit for determining whether a request is possible or not.
【請求項2】  前記不許可信号は、前記競合防止回路
と前記各装置間を共通に接続する1本の信号線上に前記
各装置に対応して時分割されたタイムスロットごとに設
定されることを特徴とする請求項1記載の共通リソース
競合防止回路。
2. The disallowance signal is set for each time slot corresponding to each device on a single signal line that commonly connects the contention prevention circuit and each device. The common resource contention prevention circuit according to claim 1, characterized in that:
JP13015391A 1991-06-03 1991-06-03 Common resource contention preventing circuit Pending JPH04355862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13015391A JPH04355862A (en) 1991-06-03 1991-06-03 Common resource contention preventing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13015391A JPH04355862A (en) 1991-06-03 1991-06-03 Common resource contention preventing circuit

Publications (1)

Publication Number Publication Date
JPH04355862A true JPH04355862A (en) 1992-12-09

Family

ID=15027257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13015391A Pending JPH04355862A (en) 1991-06-03 1991-06-03 Common resource contention preventing circuit

Country Status (1)

Country Link
JP (1) JPH04355862A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162557B2 (en) 2001-10-23 2007-01-09 Oki Electric Industry Co., Ltd. Competition arbitration system
JP2008310826A (en) * 1995-07-11 2008-12-25 Nokia Corp Handling interrupt in synchronous environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310826A (en) * 1995-07-11 2008-12-25 Nokia Corp Handling interrupt in synchronous environment
US7162557B2 (en) 2001-10-23 2007-01-09 Oki Electric Industry Co., Ltd. Competition arbitration system

Similar Documents

Publication Publication Date Title
US4560985A (en) Dual-count, round-robin distributed arbitration technique for serial buses
US6145018A (en) Method for hindering some types of nodes from becoming a bus arbitration controller
JPH04355862A (en) Common resource contention preventing circuit
US5682485A (en) Deadlock avoidance for switched interconnect bus systems
JPH03179850A (en) Common bus token control system
JPS5987553A (en) Confliction controlling system
KR100358180B1 (en) A bus arbiter providing multi-stage connection and method thereof
JPS59231952A (en) Communication control system between multiprocessors
JPS6155704B2 (en)
JPH08263428A (en) Information processor for applying split transfer system and bus arbitrating method for same
JPS6095672A (en) Priority degree control system of bus
JPH08149148A (en) Loop shaped serial communication procedure and loop shaped serial communication network
JPH0120819B2 (en)
KR100227504B1 (en) Packet bus system providing multiple transmitting path
JPS6165557A (en) Control system of communications priority
JPS62298246A (en) Network node
JPH01120147A (en) Traffic control system
JPH03137754A (en) Access control system for shared memory
JPH05324543A (en) Bus arbiter device
JPH05120213A (en) Common bus conflict arbitration system
JPH01120149A (en) Traffic control system
JPH0553093B2 (en)
JPH05289986A (en) Bus system
JPH0338934A (en) Bus control system
JPH1146204A (en) Network system for system providing plural tokens

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991214