JPS593774B2 - Conflict handling method - Google Patents

Conflict handling method

Info

Publication number
JPS593774B2
JPS593774B2 JP5255080A JP5255080A JPS593774B2 JP S593774 B2 JPS593774 B2 JP S593774B2 JP 5255080 A JP5255080 A JP 5255080A JP 5255080 A JP5255080 A JP 5255080A JP S593774 B2 JPS593774 B2 JP S593774B2
Authority
JP
Japan
Prior art keywords
signal
request
input
output control
request 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.)
Expired
Application number
JP5255080A
Other languages
Japanese (ja)
Other versions
JPS56149630A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5255080A priority Critical patent/JPS593774B2/en
Publication of JPS56149630A publication Critical patent/JPS56149630A/en
Publication of JPS593774B2 publication Critical patent/JPS593774B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】 本発明は競合処理方式、特に〒組の信号バスを複数の装
置が競合して占有するシステムにおける競合処理方式に
関す。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a contention processing method, particularly to a contention processing method in a system in which a plurality of devices compete to occupy a set of signal buses.

情報処理システム等において、中央処理装置、主記憶装
置あるいは入出力制御装置等が一組の信号バスを介して
相互に情報を交換する構成が採用される例が多い。
2. Description of the Related Art In many information processing systems, a configuration is adopted in which a central processing unit, a main storage device, an input/output control device, etc. mutually exchange information via a set of signal buses.

この種の信号バスは複数組の情報交換を同時に扱うこと
は不可能なので、情報交換を必要とする前記装置は互に
競合し、何れか優先した装置が前記信号バスを占有して
他の装置に対し閉塞したのち、所望の情報交換を実行す
る。該情報交換が終了し、前記信号バスの閉塞が解かれ
る迄、情報交換を必要とする他の装置は待合せることゝ
なる。第1図はこの種信号バスにおける従来ある競合処
理方式の一例を示す図である。
Since it is impossible for this type of signal bus to handle multiple sets of information exchanges at the same time, the devices that require information exchange compete with each other, and any device with priority will monopolize the signal bus and displace other devices. After the communication is blocked, the desired information exchange is executed. Other devices that require information exchange will wait until the information exchange is completed and the signal bus is unblocked. FIG. 1 is a diagram showing an example of a conventional competition processing method for this type of signal bus.

第1図において、中央処理装置1と入出力制御装置21
、22および23が共通の信号バス5により結ばれ、各
入出力制御装置21、22および23は互に競合し乍ら
該信号バス5を占有し、中央処理装置1との間に情報を
交換する。信号バス5の占有を希望する入出力制御装置
21、22および23は、それぞれ具備する要求レジス
タ31、32および33に要求信号Rを蓄積し、総べて
の入出力制御装置21、22および23に共用される一
本の要求線3を経由して、中央処理装置1に該要求信号
Rを送達する。該要求線3から要求信号Rを受領した中
央処理装置21、22および23の何れかゞ信号バス5
の占有を希望していると判断し、許可レジスタ2に許可
信号Aを蓄積し、各入出力制御装置21、22および2
3を連鎖状に結ぷ許可線4に該許可信号Aを送出する。
該許可信号Aは該許可線4を介して最初に入出力制御装
置21に到達する。該入出力制御装置21が要求信号R
を送出していると、切替回路41を動作させ、許可線4
から到来する許可信号Aを許可受信回路51により受領
する。この場合前記許可信号Aは許可線4を介して入出
力制御装置22および23に伝達されることはない。若
し入出力制御装置21が要求信号Rを送出していなけれ
ば、入出力制御装置21に到達した許可信号Aは、動作
せぬ切替回路41および許可線4を経由して、入出力制
御装置22に到達する。
In FIG. 1, a central processing unit 1 and an input/output control unit 21
, 22 and 23 are connected by a common signal bus 5, and each input/output control device 21, 22 and 23 competes with each other while occupying the signal bus 5 and exchanges information with the central processing unit 1. do. The input/output control devices 21, 22, and 23 that wish to occupy the signal bus 5 store the request signal R in their respective request registers 31, 32, and 33, and all the input/output control devices 21, 22, and 23 The request signal R is delivered to the central processing unit 1 via a single request line 3 shared by the central processing unit 1. Any one of the central processing units 21, 22, and 23 that received the request signal R from the request line 3 receives the signal bus 5.
It is determined that the permission signal A is stored in the permission register 2, and each input/output control device 21, 22 and 2
The permission signal A is sent to the permission line 4 which connects 3 in a chain.
The permission signal A first reaches the input/output control device 21 via the permission line 4. The input/output control device 21 receives the request signal R.
, the switching circuit 41 is activated and the permission line 4 is sent out.
The permission receiving circuit 51 receives the permission signal A arriving from the. In this case, the permission signal A is not transmitted to the input/output control devices 22 and 23 via the permission line 4. If the input/output control device 21 does not send out the request signal R, the permission signal A that has reached the input/output control device 21 will be sent to the input/output control device via the inoperable switching circuit 41 and the permission line 4. Reach 22.

該入出力制御装置22が要求信号Rを送出していると、
切替回路42を動作させ、許可線4から到来する許可信
号Aを許可受信回路52により受領する。この場合前記
許可信号Aは許可線4を介して入出力制御装置23に伝
達されることはない。若し入出力制御装置21および2
2が要求信号Rを送出していなければ、入出力制御装置
22に到達した許可信号Aは、動作せぬ切替回路42お
よび許可線4を経由して、入出力制御装置23に到達す
る。この場合は、要求信号Rを送出している入出力制御
装置23が動作中の切替回路43を介して許可受信回路
53により前記許可信号Aを受領する。許可信号Aを受
領した入出力制御装置21,22,23の何れか1装置
がゲート61,62または63を閉ぢ信号バス5を占有
して、中央処理装置1との間に情報交換を行う。以上の
説明から明らかな如く、従来ある競合処理方式において
は、中央処理装置1から送達される許可信号Aの受領に
関しては、入出力制御装置21が常に最も優先順位が高
く、次に入出力制御装置22が優先順位が高く、入出力
制御装置23が常に最も優先順位が低く定められている
When the input/output control device 22 is sending out the request signal R,
The switching circuit 42 is operated, and the permission receiving circuit 52 receives the permission signal A coming from the permission line 4. In this case, the permission signal A is not transmitted to the input/output control device 23 via the permission line 4. If input/output control devices 21 and 2
2 has not sent out the request signal R, the permission signal A that has reached the input/output control device 22 reaches the input/output control device 23 via the inoperable switching circuit 42 and the permission line 4. In this case, the input/output control device 23 that is sending out the request signal R receives the permission signal A by the permission receiving circuit 53 via the switching circuit 43 in operation. Any one of the input/output control devices 21, 22, and 23 that receives the permission signal A closes the gate 61, 62, or 63, occupies the signal bus 5, and exchanges information with the central processing device 1. . As is clear from the above explanation, in the conventional contention processing method, the input/output control device 21 always has the highest priority in receiving the permission signal A sent from the central processing unit 1, and the input/output control device 21 has the highest priority. The device 22 has the highest priority, and the input/output control device 23 has the lowest priority.

従つて信号バス5の占有要求が各入出力制御装置21,
22および23の間で競合すると、入出力制御装置21
が常に最優先に占有し、入出力制御装置23が常に待合
せを余儀なくされる。各入出力制御装置21,22およ
び23の優先順位を均等化するには、前記許可線4の連
鎖順序を適宜変更する以外になく、連鎖順序の異なる許
可線4を複数設け切替使用する等、複雑で不経済な手段
を必要とする。本発明の目的は、前述の如き従来ある競
合処理方式の欠点を除去し、=組の信号バスを共用する
各装置の占有優先順位を、多くの許可線を設けることな
く、容易に変更可能な競合処理方式を実現するにある。
Therefore, a request for occupancy of the signal bus 5 is sent to each input/output control device 21,
22 and 23, the input/output controller 21
is always occupied with the highest priority, and the input/output control device 23 is always forced to wait. In order to equalize the priorities of the input/output control devices 21, 22, and 23, there is no other way than to change the chaining order of the permission lines 4 as appropriate, such as providing a plurality of permission lines 4 with different chaining orders and switching them. Requires complex and uneconomical measures. An object of the present invention is to eliminate the drawbacks of the conventional contention processing method as described above, and to enable the occupancy priority of each device sharing a set of signal buses to be easily changed without providing many permission lines. The goal is to realize a conflict handling method.

この目的は、共用する一本の要求線に要求信号を送出す
る手段を備え、一組の信号バスを互に競合して占有する
複数の装置を有するシステムにおいて、前記各装置に対
し、前記要求線に要求信号の存在を検出する手段と、前
記要求信号送出手段と前記要求信号検出手段とを調整可
能な各装置固有の周期で交互に前記要求線に接続する手
段と、前記要求信号検出手段が要求信号を検出すると前
記要求信号の送出を禁止する手段と、前記要求信号送出
手段が動作した次の周期に前記要求信号読取手段が要求
信号を検出せぬときは前記信号バスを占有可能と判断し
、占有期間中前記要求信号送出手段を連続的に動作させ
る手段とを設けることにより達成される。
The purpose of this is to send the request signal to each device in a system including a plurality of devices that compete with each other to occupy a set of signal buses, and is equipped with a means for sending a request signal to a shared request line. means for detecting the presence of a request signal on a line; means for alternately connecting the request signal sending means and the request signal detecting means to the request line at an adjustable period specific to each device; and the request signal detecting means. means for prohibiting the transmission of the request signal when the request signal is detected by the request signal; and means for prohibiting the transmission of the request signal when the request signal reading means does not detect the request signal in the next cycle after the request signal sending means operates. This is accomplished by providing means for determining the request signal and continuously operating the request signal sending means during the occupancy period.

以下、本発明の一実施例を第2図乃至第4図により説明
する。
An embodiment of the present invention will be described below with reference to FIGS. 2 to 4.

第2図は本発明の一実施例による競合処理方式を示す図
であり、第3図は第2図に示される競合処理回路を示す
図であり、第4図は第2図の動作説明用信号シーケンス
図である。第1図におけると同様、第2図においても中
央処理装置1と入出力制御装置21,22および23が
共通の信号バス5により結ばれ、各入出力制御装置21
,22および23は互に競合し乍ら該信号バス5を占有
し、中央処理装置1との間に情報を交換する。信号バス
5の占有を希望する入出力制御装置21,22および2
3は競合処理回路71,72および73から共用する要
求線3に要求信号Rを送出する。然し該要求信号Rを送
出した入出力制御装置21,22または23が、信号バ
ス5の占有を許可されたと判断する許可信号A、および
該許可信号Aを中央処理装置1から各入出力制御装置2
1,22および23に伝達する許可線4は存在せず、各
入出力制御装置21,22および23が具備する競合処
理回路71,72および73が要求線3の信号状態を監
視することにより、信号バス5の占有可否を判断する。
次に第3図および第4図により、入出力制御装置21を
中心に、競合処理回路71の動作過程を説明する。第3
図には、入出力制御装置21が具備する競合処理回路7
1が示されるが、図示されぬ他の入出力装置22および
23にも同一形式の競合処理回路72および73が設け
られ、要求線3に接続されている。
FIG. 2 is a diagram showing a conflict processing method according to an embodiment of the present invention, FIG. 3 is a diagram showing a conflict processing circuit shown in FIG. 2, and FIG. 4 is a diagram for explaining the operation of FIG. FIG. 3 is a signal sequence diagram. As in FIG. 1, in FIG.
, 22 and 23 compete with each other to occupy the signal bus 5 and exchange information with the central processing unit 1. Input/output control devices 21, 22, and 2 that wish to occupy the signal bus 5
3 sends a request signal R from competition processing circuits 71, 72 and 73 to the shared request line 3. However, the input/output control device 21, 22, or 23 that sent out the request signal R receives a permission signal A that determines that it is permitted to occupy the signal bus 5, and sends the permission signal A from the central processing unit 1 to each input/output control device. 2
1, 22, and 23 does not exist, and the competition processing circuits 71, 72, and 73 included in each input/output control device 21, 22, and 23 monitor the signal state of the request line 3. It is determined whether the signal bus 5 can be occupied.
Next, the operation process of the competition processing circuit 71 will be explained with reference to FIGS. 3 and 4, focusing on the input/output control device 21. Third
In the figure, a competition processing circuit 7 included in the input/output control device 21 is shown.
1 is shown, other input/output devices 22 and 23 (not shown) are also provided with competition processing circuits 72 and 73 of the same type, and are connected to the request line 3.

該競合処理回路71は王として要求信号Rの送出部81
.読取部91およびパルス回路13から構成されている
。該パルス回路13は第4図に示される如き入出力制御
装置21固有の周期、即ち奇数時区間Tl,T3,T5
,・・・・・・,T37で論理1となり偶数時区間T2
,T4,T6,・・・・・・T38で論理0となるパル
ス列P1を出力する。なお、入出力制御装置22にある
図示されぬパルス回路は第4図に示される如き3時区間
を周期とするパルス列P2を、また入出力制御装置23
にある図示されぬパルス回路は第4図に示される如き4
時区間を周期とするパルス列P3を出力する。第3図に
おいて、平常はゲー口4が導通状態にあり、パルス回路
13の出力するパルス列P1がゲート83および93を
1時区間毎に交互に導通状態とし、送出部81および読
取部91をパルス列P1に同期して、交互に要求線3と
連動可能としている。今時区間T,に入出力制御装置2
1に信号バス5の占有要求が生ずと、競合処理回路71
の経路11に占有要求信号Q1が論理1に入力される。
一方該時区間T1には何れの入出力制御装置からも要求
信号Rを送出していないので(要求線3は+V,v)読
取部91のトランジスタ92は該無信号状態をゲート9
3を介して計数制御部94に伝達する。該計数制御部9
4は経路97に論理1を出力し、ゲート85を導通状態
とするので、前記占有要求信号Q1は要求レジスタ84
を論理1に設定する。かkる状態で時区間T2に至ると
ゲート83が導通状態となり、要求レジスタ84の出力
はトランジスタ82に入力され、要求信号R(0v)を
要求線3に送出させる。更に時区間T3に至ると、ゲー
ト83が阻止されるので要求信号Rは送出停止し、ゲー
ト93が導通状態となるので再び読取部91が要求線3
と連動する。該時区間T3において要求線3には他の入
出力制御装置22および23から要求信号Rが送出され
ていないので、読取部91のトランジスタ92は該無信
号状態をゲート93を介して計数制御部94に伝達する
。該計数制御部94は時区間T1に続いて再び無信号状
態を受領すると、経路95に論理1を出力する。該論理
1出力により夫迄導通状態にあつたゲート14は阻止せ
られ、ゲート83は連続して導通状態となり、要求信号
Rを連続的に要求線3に送出する。即ち入出力制御装置
21は時区間T1に発生した信号バス5の占有要求Q,
に対し、時区間T2に競合処理回路71から要求線3に
要求信号Rを送出し、続く時区間T3に要求線3に無信
号状態を検出することにより、前記占有要求Q1が適え
られたと見做し、時区間T4から連続的に要求信号Rを
要求線3に送出し、信号バス5を占有する。時区間T8
に信号バス5の占有が終了すると、経路12に終了信号
を入力し、ゲート86を介して要求レジスタ84を論理
0に設定し、要求線3に送出中の要求信号Rを停止し、
信号バス5を解放する。また前記終了信号により計数制
御部94を復旧させ、経路95への出力を消去すること
によりゲート14を再び導通状態とし、再びパルス列P
1に同期して送出部81と読取部91とを交互に要求線
3と連動可能ならしめる。次に、時区間Tl,において
総べての入出力制御装置21,22および23に信号バ
ス5の占有要求Ql,Q2およびQ3が発生する。
The contention processing circuit 71 serves as a king as a request signal R sending unit 81.
.. It is composed of a reading section 91 and a pulse circuit 13. The pulse circuit 13 has a period specific to the input/output control device 21 as shown in FIG. 4, that is, odd time intervals Tl, T3, T5.
,..., logic becomes 1 at T37, even time interval T2
, T4, T6, . . . The pulse train P1 which becomes logic 0 at T38 is output. Note that a pulse circuit (not shown) in the input/output control device 22 generates a pulse train P2 having a period of 3 time periods as shown in FIG.
The pulse circuit (not shown) in FIG.
A pulse train P3 whose period is a time interval is output. In FIG. 3, normally the gate 4 is in a conductive state, and the pulse train P1 outputted from the pulse circuit 13 makes the gates 83 and 93 conductive alternately every hour, and the sending part 81 and the reading part 91 are connected to the pulse train. It is possible to alternately interlock with request line 3 in synchronization with P1. Current interval T, input/output control device 2
1, when a request to occupy the signal bus 5 occurs, the contention processing circuit 71
The occupancy request signal Q1 is inputted to the logic 1 through the path 11 of the occupancy request signal Q1.
On the other hand, since no request signal R is sent from any input/output control device during the time period T1 (the request line 3 is +V, V), the transistor 92 of the reading section 91 converts the no-signal state into the gate 9.
3 to the counting control section 94. The counting control section 9
4 outputs a logic 1 to the path 97 and makes the gate 85 conductive, so the occupancy request signal Q1 is output to the request register 84.
is set to logic 1. When the time interval T2 is reached in this state, the gate 83 becomes conductive, the output of the request register 84 is input to the transistor 82, and the request signal R (0v) is sent to the request line 3. Furthermore, when the time interval T3 is reached, the gate 83 is blocked, so the request signal R stops being sent out, and the gate 93 becomes conductive, so the reading section 91 reads the request line 3 again.
Linked with. Since the request signal R is not sent from the other input/output control devices 22 and 23 to the request line 3 during the time interval T3, the transistor 92 of the reading section 91 detects the no-signal state through the gate 93 to the counting control section. 94. When the counting control unit 94 receives a no-signal state again following the time interval T1, it outputs a logic 1 to the path 95. The logic 1 output blocks the gate 14, which has been in the conductive state up to the husband, and the gate 83 continues to be in the conductive state, so that the request signal R is continuously sent to the request line 3. That is, the input/output control device 21 receives the occupation request Q of the signal bus 5 generated in the time interval T1,
On the other hand, by sending the request signal R from the competition processing circuit 71 to the request line 3 in the time interval T2, and detecting a no-signal state on the request line 3 in the following time interval T3, it is determined that the occupancy request Q1 has been satisfied. Considering this, the request signal R is continuously sent to the request line 3 from the time interval T4, and the signal bus 5 is occupied. Time interval T8
When the occupation of the signal bus 5 ends, a termination signal is input to the path 12, the request register 84 is set to logic 0 via the gate 86, and the request signal R being sent to the request line 3 is stopped.
Release signal bus 5. In addition, the counting control section 94 is restored by the end signal, and the output to the path 95 is erased to make the gate 14 conductive again, and the pulse train P is again turned on.
1, the sending section 81 and the reading section 91 are made alternately interlocked with the request line 3. Next, in the time interval Tl, occupancy requests Ql, Q2, and Q3 for the signal bus 5 are generated in all the input/output control devices 21, 22, and 23.

該時区間T,lには入出力制御装置21の競合処理回路
71は読取部91により要求線3が無信号状態にあるこ
とを検出し、送出部81から要求信号Rの送出準備を行
う。続いて時区間Tl2に競合処理回路71は送出部8
1により要求線3に要求信号Rを送出する。同様に入出
力制御装置22の競合処理回路72は時区間Tllに要
求線3の無信号状態を検出し、時区間Tl2およびTl
3に要求線3に要求信号Rを送出する。更に入出力制御
装置23の競合処理回路73は時区間T,lに要求線3
の無信号状態を検出し、時区間T,2,Tl3およびT
,4に要求線3に要求信号Rを送出する。一方入出力制
御装置21の競合処理回路71は時区間T,3に送出回
路81からの要求信号Rを停止し、読取部91を要求線
3と連動させるが、該要求線3には入出力制御装置22
および23から要求信号Rが送出中であるので、前記読
取部91のトランジスタ92が要求信号Rを検出し、ゲ
ート93を介して計数制御部94に信号検出状態を伝達
する。該計数制御部94は経路96に論理1を出力し、
送出部81のゲート86を介して要求レジスタ84に論
理0を設定し、時区間T,3には送出部81から要求線
3に要求信号Rを送出しない。即ち時区間Tl2に要求
信号Rを送出後、時区間Tl3に要求線3に要求信号R
を検出することにより、未だ信号バス5の占有要求は適
えられぬと判断し、パルス列P,による固有の周期で要
求線3の信号状態を監視し、要求信号Rを再度送出する
機会を待つ。同様に入出力制御装置22も時区間Tl2
およびTl3に要求線3に要求信号Rを送出後、時区間
Tl4に要求線3の信号状態を監視し、入出力制御装置
23から送出される要求信号Rを検出し、未だ信号バス
5の占有要求が適えられぬと判断し、パルス列P2によ
る固有の周期で要求線3の信号状態を監視し、要求信号
Rを再度送出する機会を待つ。一方入出力制御装置23
は時区間Tl2,Tl3およびTl4に要求線3に対し
要求信号Rを送出後、時区間Tl5に要求線3の信号状
態を監視するが、該時区間T,5には入出力制御装置2
1または22から要求信号Rは送出されていないので、
信号バス5の占有要求Q3は適えられたと判断し、時区
間Tl6から要求線3に要求信号Rを連続送出し、信号
バス5を占有し情報交換を実施する。即ち時区間Tl,
に信号バス5の占有を同時に要求した入出力制御装置2
1,22および23のうち、パルス列P3を有する入出
力制御装置23が最優先で信号バス5を占有する。時区
間T22に前記入出力制御装置23による信号バス5の
占有が終り、要求線3に送出中の要求信号Rが停止する
と、時区間T23に要求線3の信号状態を監視する入出
力制御装置21および22は、無信号状態を検出し、入
出力制御装置21は時区間T24に要求信号Rを要求線
3に送出し、また入出力制御装置22は時区間T24お
よびT25に要求信号Rを要求線3に送出する。
During the time interval T, l, the competition processing circuit 71 of the input/output control device 21 detects that the request line 3 is in a no-signal state by the reading section 91, and prepares to send out the request signal R from the sending section 81. Subsequently, in the time interval Tl2, the competition processing circuit 71 sends the sending unit 8
1, a request signal R is sent to the request line 3. Similarly, the competition processing circuit 72 of the input/output control device 22 detects the no-signal state of the request line 3 in the time interval Tll, and
3, a request signal R is sent to the request line 3. Furthermore, the contention processing circuit 73 of the input/output control device 23 outputs a request line 3 to the time interval T, l.
Detects the no-signal state of time intervals T, 2, Tl3 and T
, 4, and sends a request signal R to the request line 3. On the other hand, the competition processing circuit 71 of the input/output control device 21 stops the request signal R from the sending circuit 81 during the time period T, 3, and causes the reading section 91 to interlock with the request line 3; Control device 22
Since the request signal R is being sent from 23 and 23, the transistor 92 of the reading section 91 detects the request signal R and transmits the signal detection state to the counting control section 94 via the gate 93. The counting control unit 94 outputs a logic 1 to a path 96,
Logic 0 is set in the request register 84 through the gate 86 of the sending section 81, and the request signal R is not sent from the sending section 81 to the request line 3 during the time interval T,3. That is, after sending the request signal R in the time interval Tl2, the request signal R is sent to the request line 3 in the time interval Tl3.
By detecting this, it is determined that the request for occupancy of the signal bus 5 cannot be satisfied yet, and the signal state of the request line 3 is monitored at a specific period according to the pulse train P, and waits for an opportunity to send the request signal R again. . Similarly, the input/output control device 22 also has a time interval Tl2.
After sending the request signal R to the request line 3 at Tl3, the signal state of the request line 3 is monitored in the time interval Tl4, and the request signal R sent from the input/output control device 23 is detected, and if the signal bus 5 is still occupied. It is determined that the request cannot be met, and the signal state of the request line 3 is monitored at a specific period according to the pulse train P2, and an opportunity to send out the request signal R again is waited for. On the other hand, input/output control device 23
sends the request signal R to the request line 3 in time intervals Tl2, Tl3, and Tl4, and then monitors the signal state of the request line 3 in the time interval Tl5, but the input/output control device 2
Since the request signal R is not sent from 1 or 22,
It is determined that the signal bus 5 occupancy request Q3 has been satisfied, and the request signal R is continuously sent to the request line 3 from the time interval Tl6 to occupy the signal bus 5 and perform information exchange. That is, the time interval Tl,
The input/output control device 2 simultaneously requests occupation of the signal bus 5.
Among the input/output control devices 1, 22, and 23, the input/output control device 23 having the pulse train P3 occupies the signal bus 5 with the highest priority. When the input/output control device 23 finishes occupying the signal bus 5 in the time period T22 and the request signal R being sent to the request line 3 stops, the input/output control device monitors the signal state of the request line 3 in the time period T23. 21 and 22 detect a no-signal state, the input/output control device 21 sends the request signal R to the request line 3 in the time period T24, and the input/output control device 22 sends the request signal R in the time period T24 and T25. Send to request line 3.

入出力制御装置21は時区間T25に要求線3の信号状
態を監視するが入出力制御装置22から送出中の要求信
号Rを検出し、未だ信号バス5の占有要求Q1は適えら
れぬと判断し、時区間T26における要求信号Rの送出
を中止し、再びパルス列P1に同期して要求線3の信号
状態を監視する。一方入出力制御装置22は時区間T2
6に要求線3の信号状態を監視し、無信号状態にあるこ
とを検出し、信号バス5の占有要求Q2は適えられたと
判断し、時区間T27から要求線3に要求信号R2を連
続送出し、信号バス5を占有し情報交換を実施する。即
ち時区間Tllに信号バス5の占有を要求した入出力制
御装置21,22および23のうち、パルス列P2を有
する入出力制御装置22が入出力制御装置23に次いで
優先的に信号バス5を占有する。時区間T3Oに入出力
制御装置22による信号バス5の占有が終り、要求線3
に送出中の要求信号Rが停止すると、時区間T3l以降
は入出力制御装置21のみが信号バス5の占有要求Q1
を発している状態となり、時区間T1におけると同じ過
程で信号バス5を占有し、情報交換を実施する。即ち時
区間Tllに信号バス5の占有を要求した入出力制御装
置21,22および23のうち、パルス列P1を有する
入出力制御装置21が最低優先順位で信号バス5を占有
する。以上の説明から明らかな如く、本実施例によれば
信号バス5を共用する入出力制御装置21,22および
23は、それぞれの有する固有周期のパルス列P,,P
2およびP3により、入出力制御装置23を最高、入出
力制御装置21を最低とする優先順位を信号バス5の占
有要求に対して与えられている。
The input/output control device 21 monitors the signal state of the request line 3 during the time interval T25, but detects the request signal R being sent from the input/output control device 22, and determines that the occupancy request Q1 of the signal bus 5 cannot be satisfied yet. Then, the transmission of the request signal R in the time interval T26 is stopped, and the signal state of the request line 3 is monitored again in synchronization with the pulse train P1. On the other hand, the input/output control device 22
6, it monitors the signal state of request line 3, detects that there is no signal, judges that the occupancy request Q2 of signal bus 5 has been satisfied, and continuously sends request signal R2 to request line 3 from time interval T27. The signal bus 5 is then occupied and information is exchanged. That is, among the input/output control devices 21, 22, and 23 that requested occupancy of the signal bus 5 during the time interval Tll, the input/output control device 22 having the pulse train P2 occupies the signal bus 5 with priority next to the input/output control device 23. do. Occupancy of the signal bus 5 by the input/output control device 22 ends in time interval T30, and the request line 3
When the request signal R that is being sent is stopped, only the input/output control device 21 issues the occupancy request Q1 of the signal bus 5 after the time period T3l.
The signal bus 5 is occupied and information is exchanged in the same process as in time interval T1. That is, among the input/output control devices 21, 22, and 23 that requested the occupation of the signal bus 5 during the time interval Tll, the input/output control device 21 having the pulse train P1 occupies the signal bus 5 with the lowest priority. As is clear from the above description, according to this embodiment, the input/output control devices 21, 22, and 23 that share the signal bus 5 each have a pulse train P, , P of a natural period.
2 and P3, the input/output control device 23 is given the highest priority and the input/output control device 21 is given the lowest priority to the request for occupancy of the signal bus 5.

各入出力制御装置21,22および23の有するパルス
列Pl,P2およびP3の周期は、各競合処理回路71
,72および73にあるパルス回路13等の調整により
、容易に変更可能である。従つて前記パルス列Pl,P
2およびP3の周期を変更することにより、入出力制御
装置21,22および23に与えられる優先順位も容易
に変更することが出来る。然もかXる優先順位による信
号バス5の占有は一本の要求線3のみで判定され、許可
線の如き他の線を必要としない。なお、第2図乃至第4
図はあく迄本発明の一実施例に過ぎず、例えば信号バス
5を共用する入出力制御装置の数は3に限定されず、任
意の複数であつても本発明の効果は変らない。また信号
バスを共用する装置は入出力制御装置に限定されなくと
も本発明の効果は変らない。以上、本発明によれば、信
号バスを競合占有する複数の装置は、共用する一本の要
求線により要求並びに占有が判断され、制御線が節約さ
れ、また各装置が有する固有の周期により信号バスを占
有する優先順位が定められるので、該固有周期を変更す
ることにより容易に優先順位を調整することが出来る。
The periods of the pulse trains Pl, P2, and P3 of each input/output control device 21, 22, and 23 are determined by each competition processing circuit 71.
, 72 and 73 by adjusting the pulse circuit 13 and the like. Therefore, the pulse trains Pl, P
By changing the cycles of P2 and P3, the priorities given to the input/output control devices 21, 22, and 23 can also be easily changed. However, the occupancy of the signal bus 5 according to the priority order is determined by only one request line 3, and other lines such as a grant line are not required. In addition, Figures 2 to 4
The figure is merely one embodiment of the present invention; for example, the number of input/output control devices that share the signal bus 5 is not limited to three, and the effects of the present invention do not change even if there is an arbitrary plurality of input/output control devices. Furthermore, the effects of the present invention do not change even if the device that shares the signal bus is not limited to the input/output control device. As described above, according to the present invention, a plurality of devices that compete to occupy a signal bus can determine their request and occupancy using a single shared request line, saving control lines, and signal Since the priority order for occupying the bus is determined, the priority order can be easily adjusted by changing the natural period.

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

第1図は従来ある競合処理方式を示す図、第2図は本発
明の一実施例による競合処理方式を示す図、第3図は第
2図に示される競合処理回路を示す図、第4図は第2図
の動作説明用信号シーケンス図である。 図において、1・・・・・・中央処理装置、2・・・・
・・許可レジスタ、21,22,23・・・・・・入出
力制御装置、3・・・・・・要求線、31,32,33
・・・・・・要求レジスタ、4・・・・・・許可線、4
1,42,43・・・・・・切替回路、5・・・・・・
信号バス、51,52,53・・・・・・許可受信回路
、61,62,63・・・・・・ゲート、71,72,
73・・・・・・競合処理回路、81・・・・・・送出
部、91・・・・・・読取部、13・・・・・・パルス
回路、82,92・・・・・・トランジスタ、83,8
5,86,93,14・・・・・・ゲート、94・・・
・・・計数制御部、11,12,95,96,97・・
・・・・経路、Q,,Q2,Q3・・・・・・占有要求
(信号)、Pl,P2,P3・・・・・・パルス列、R
・・・・・・要求信号。
FIG. 1 is a diagram showing a conventional conflict processing method, FIG. 2 is a diagram showing a conflict processing method according to an embodiment of the present invention, FIG. 3 is a diagram showing the conflict processing circuit shown in FIG. 2, and FIG. This figure is a signal sequence diagram for explaining the operation of FIG. 2. In the figure, 1... central processing unit, 2...
... Permission register, 21, 22, 23 ... Input/output control device, 3 ... Request line, 31, 32, 33
...Request register, 4...Permission line, 4
1, 42, 43... switching circuit, 5...
Signal bus, 51, 52, 53... Permission receiving circuit, 61, 62, 63... Gate, 71, 72,
73... Competition processing circuit, 81... Sending section, 91... Reading section, 13... Pulse circuit, 82, 92... transistor, 83,8
5, 86, 93, 14... Gate, 94...
... Counting control section, 11, 12, 95, 96, 97...
...Route, Q,, Q2, Q3...Occupation request (signal), Pl, P2, P3...Pulse train, R
...Request signal.

Claims (1)

【特許請求の範囲】[Claims] 1 共用する一本の要求線に要求信号を送出する手段を
備え、一組の信号バスを互に競合して占有する複数の装
置を有するシステムにおいて、前記各装置に対し、前記
要求線に要求信号の存在を検出する手段と、前記要求信
号送出手段と前記要求信号検出手段とを調整可能な各装
置固有の周期で交互に前記要求線に接続する手段と、前
記要求信号検出手段が要求信号を検出すると前記要求信
号の送出を禁止する手段と、前記要求信号送出手段が動
作した次の周期に前記要求信号読取手段が要求信号を検
出せぬときは前記信号バスを占有可能と判断し、占有期
間中前記要求信号送出手段を連続的に動作させる手段と
を設けることを特徴とする競合処理方式。
1. In a system that is equipped with a means for sending a request signal to a shared request line and has a plurality of devices competing to occupy a set of signal buses, each of the devices is provided with a means for sending a request signal to the request line. means for detecting the presence of a signal; means for alternately connecting the request signal sending means and the request signal detecting means to the request line at an adjustable period specific to each device; and the request signal detecting means detecting the request signal. means for prohibiting transmission of the request signal when detecting the request signal, and determining that the signal bus can be occupied when the request signal reading means does not detect the request signal in the next cycle after the request signal sending means operates; and means for continuously operating the request signal sending means during the occupancy period.
JP5255080A 1980-04-21 1980-04-21 Conflict handling method Expired JPS593774B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5255080A JPS593774B2 (en) 1980-04-21 1980-04-21 Conflict handling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5255080A JPS593774B2 (en) 1980-04-21 1980-04-21 Conflict handling method

Publications (2)

Publication Number Publication Date
JPS56149630A JPS56149630A (en) 1981-11-19
JPS593774B2 true JPS593774B2 (en) 1984-01-26

Family

ID=12917901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5255080A Expired JPS593774B2 (en) 1980-04-21 1980-04-21 Conflict handling method

Country Status (1)

Country Link
JP (1) JPS593774B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01231646A (en) * 1988-03-10 1989-09-14 Mitsubishi Electric Corp Stator of rotary electric machine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3375611D1 (en) * 1983-03-29 1988-03-10 Ibm Bus interface device for a data processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01231646A (en) * 1988-03-10 1989-09-14 Mitsubishi Electric Corp Stator of rotary electric machine

Also Published As

Publication number Publication date
JPS56149630A (en) 1981-11-19

Similar Documents

Publication Publication Date Title
US4281381A (en) Distributed first-come first-served bus allocation apparatus
US3761879A (en) Bus transport system for selection information and data
EP0892352A1 (en) Computer system with a bus having a segmented structure
JPS58223938A (en) Control method of calling communication network
EP0230549B1 (en) Linear-space signalling for a circuit-switched network
KR100905802B1 (en) Tagging and arbitration mechanism in an input/output node of computer system
US5107257A (en) Bus relay apparatus for multi-data communication processing system
US20070260793A1 (en) Method and System for Data Transfer
JPS593774B2 (en) Conflict handling method
US5038274A (en) Interrupt servicing and command acknowledgement system using distributed arbitration apparatus and shared bus
CN100356355C (en) Arbitration device and arbitration method thereof
KR20040054722A (en) Computer system i/o node
NL8002344A (en) MULTIPROCESSOR SYSTEM WITH COMMON DATA / ADDRESS BUS.
US5420853A (en) Self controlling crossbar switch and method
JPH03179850A (en) Common bus token control system
JP3747020B2 (en) Crossbar mediation system
JP3481445B2 (en) Competition mediation method
JPS61182158A (en) Common bus occupying system
SU1096643A1 (en) Priority polling device
JPS5932808B2 (en) Bus control method
SU1104497A1 (en) Multichannel device for linking subcribers with bus
JPS62251952A (en) Information processing system
JPH03262234A (en) Transfer control system for packet switchboard
JPH05173952A (en) Data transmission equipment
JPH0562788B2 (en)