JPH03210654A - Distributed control processing device - Google Patents

Distributed control processing device

Info

Publication number
JPH03210654A
JPH03210654A JP653490A JP653490A JPH03210654A JP H03210654 A JPH03210654 A JP H03210654A JP 653490 A JP653490 A JP 653490A JP 653490 A JP653490 A JP 653490A JP H03210654 A JPH03210654 A JP H03210654A
Authority
JP
Japan
Prior art keywords
request
interrupt request
interrupt
processor
processing
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
JP653490A
Other languages
Japanese (ja)
Inventor
Takane Kakuno
覚埜 高音
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP653490A priority Critical patent/JPH03210654A/en
Publication of JPH03210654A publication Critical patent/JPH03210654A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、複数の入出力制御装置から発生する処理要
求を、複数のプロセッサで処理負荷をバランスよ(分散
して処理する分散制御処理装置に関するものである。
The present invention relates to a distributed control processing device that processes processing requests generated from a plurality of input/output control devices by balancing (distributing) processing loads among a plurality of processors.

【従来の技術J 第5図および第6図は例えば、電子通信学会交換研究会
資料 5E78−106 rマルチブロセッサ制御電子
交換機における交換処理方式の考察」に示された、従来
の分散制御処理装置を示すシステム構成図、その動作を
説明するための説明図である0図において、laxlm
は要求される情報を処理する複数個のプロセッサであり
、28〜2nはプロセッサla〜1mに情報の処理を要
求する複数個の入出力制御装置である。3はこれらプロ
セッサla−1mと入出力制御装置28〜2nの間の通
信を制御するプロセッサ間通信制御装置であり、4はプ
ロセッサ18〜1mとプロセッサ間通信制御装置3とを
結ぶバス、5は入出力制御装置28〜2nとプロセッサ
間通信制御装置3とを結ぶバスである。 プロセッサ間通信制御装置3内において、lOは各入出
力制御装置28〜2nからの処理要求メツセージの競合
を制御する競合制御部であり、11はその処理要求メツ
セージが待ち合わせる処理要求キューである。12は各
プロセッサla−1mからの空通知メツセージの受付を
制御する空費付制御部であり、13はその空通知メツセ
ージが待ち合わせる空表示キューである。14は処理要
求キュー11内に待ち合わせている処理要求メツセージ
を、空表示キュー13に待ち合わせ中の空通知メツセー
ジによって各プロセッサla〜1mに分配する負荷分配
制御部である。 また、15はプロセッサla〜1mから返送される処理
結果メツセージの受付を制御する処理結果受付制御部で
あり、16はその処理結果メツセージが待ち合わせる処
理結果キューである。 17はこの処理結果キュー16に待ち合わせている処理
結果メツセージを該当する入出力制御装置28〜2nに
分配する処理結果分配制御部である。 次に動作について説明する。各入出力制御装置28〜2
nはプロセッサlax1mへの処理要求が発生するとバ
ス5の使用権を獲得し、自装置の識別番号を含めた処理
要求メツセージを生成して前記バス5よりプロセッサ間
通信制御装置3宛に送出する。プロセッサ間通信制御装
置3はその処理要求メツセージを競合制御部lOにて受
け取り、−旦処理要求キュー11に入れる。 また、プロセッサla〜1mは自身が入出力制御装置2
8〜2nからの処理要求が受け付けられる空き状態(レ
ディ)になると、バス4の使用権を獲得して自装置の識
別番号を含む空通知メツセージを生成し、それを前記バ
ス4よりプロセッサ間通信制御装置3宛に送信する。プ
ロセッサ間通信制御装置3はその空通知メツセージを空
費付制御部12で受け付けると、それを−旦空表示キニ
ー13に入れる。 プロセッサ間通信制御装置3では、処理要求キュー11
に処理要求メツセージが待ち合わせており、その時、空
表示キュー13にも空通知メツセージがあれば負荷分配
制御部14にてその転送処理を行う、即ち、負荷分配制
御部14は当該空通知メツセージを解析してそれを送っ
てきたプロセッサfax1mを識別し、そのプロセッサ
(例えばla)に対して、バス4より前記処理要求キュ
ー11に待ち合わせ中の処理要求メツセージの1つを送
出する。 プロセッサ間通信制御装置3からの前記処理要求メツセ
ージを受け取ったプロセッサ1aは、その処理要求メツ
セージの解析を行って該当する処理を実行し、その結果
を処理結果メツセージとしてバス4よりプロセッサ間通
信制御装置3へ返送する。ここで、この処理結果メツセ
ージには当該処理要求メツセージを発生した入出力制御
装置28〜2nの識別番号も当然台まれている。 この処理結果メツセージを受けたプロセッサ間通信制御
装置3は、それを処理結果受付制御部15にて受け付け
て−H処理結果キュー16に入れる。また、プロセッサ
間通信制御装置3は、この処理結果キュー16に処理結
果メツセージが待ち合わせており、バス5の使用権が獲
得できた場合、その処理結果メツセージ内の識別番号を
解析し、該当する入出力制御装置(例えば2a)に宛て
てその処理結果メツセージを送出する。 以上の処理により、プロセッサ間通信制御装置3が複数
の入出力制御装置28〜2nからの処理要求を、処理要
求待ちの状態にあるプロセッサla〜1mにバランスよ
く分配する。 【発明が解決しようとする課題〕 従来の分散制御処理装置は以上のように構成されている
ので、プロセッサ間通信制御装置3に各種メツセージが
集中してその負荷が膨大なものとなり、このプロセッサ
間通信制御装置3の処理能力によってシステム全体の処
理能力が左右されるため、このプロセッサ間通信制御装
置3の処理能力を高くしてお(必要があるばかりか、こ
のプロセッサ間通信制御装置3に障害が発生するとシス
テム全体がダウンすることになり、それを防止するため
に二重化等の冗長構成をとることが必要で。 システムが高価なものとなり、さらに、送り先の受信状
態とは無関係に各メツセージを相手に送信するため、再
送制御など転送制御が煩雑なものとなるなどの課題があ
った。 この発明は上記のような課題を解消するためになされた
もので、簡単な制御によってシステム全体の処理上のボ
トルネックとなる部分をなくした、安価で信頼性の高い
分散制御処理装置を得ることを目的とする。 〔課題を解決するための手段] この発明に係る分散制御処理装置は、処理要求発生時に
各入出力制御装置の割込要求制御部が発生する割込要求
の各プロセッサにおける取込タイミングを、各プロセッ
サ毎に時間をずらせながら供給するタイミング制御部を
設けるとともに、各プロセッサに、空き状態時に前記割
込要求の受け付けが可能であることを表示する空き表示
部と、タイミング制御部の与えるタイミングに従って前
記割込要求を取り込み、他のプロセッサに当該割込要求
を保持した旨を通知する割込受付制御部を持たせたもの
である。 【作用] この発明における各プロセッサの割込受付制御部は、自
プロセッサが空き状態にあることを空き表示部が表示し
ており、かつ、その割込要求を他のプロセッサが取り込
んでいない場合に、タイミング制御部の与えるタイミン
グに従って当該割込要求を取り込むとともに、その割込
要求を保持した旨を他のプロセッサに通知して、同一の
割込要求を複数のプロセッサで受け付ないようにするこ
とにより、簡単な制御にてシステム全体の処理上のボト
ルネックとなる部分をな(して、安価で信頼性の高い分
散制御処理装置を実現する。 〔実施例1 以下、この発明の一実施例を図について説明する。第1
図において、la−zlmはプロセッサであり、2a〜
2nは入出力制御装置である。6は各入出力制御装置2
8〜2nが処理要求を依頼するために発生する割込要求
を各プロセッサla〜1mが取り込むタイミングの発生
、後述するシステムバスの使用権の調停などを行うシス
テムコントローラである。7はこれら各プロセッサ1a
〜1m、各入出力制御装置2a〜2n、およびシステム
コントローラ6の相互を結ぶバスとしてのシステムバス
である。 システムコントローラ6において、20は各プロセッサ
la−x1mが各入出力制御装置28〜2nの発生する
前記割込要求を取り込むタイミングを、各プロセッサl
ミル1m毎に時間的にずらせながら順次供給するタイミ
ング制御部であり、21は各プロセッサla−1mのシ
ステムバス7の使用要求の調停を行うアービタ部である
。 各プロセッサla〜1mにおいて、22はそれが配され
たプロセッサ1a〜1m全体を制御し、各入出力制御装
置28〜2nからの割込要求の受付処理、受けた処理要
求の処理等を実行する情報処理部(以下、CPUという
)である、23はシステムバス7の使用要求を発生させ
るバス要求制御部であり、24は自プロセッサla−1
mが空きの状態にある時に、入出力制御装置2a〜2n
からの割込要求の受け付けが可能であることを表示する
空き表示部である。25はこの空き表示部24が自プロ
セッサla〜1mが空きの状態にあることが表示してお
り、他のプロセッサ1a=1mがその割込要求を保持し
ていない時、タイミング制御部20からその割込要求を
取り込むためのタイミングが与えられると、当該割込要
求を取り込んで一旦保持するとともに、それを保持した
ことを示す割込取込通知信号を他のプロセッサ1a〜1
mに対して通知する割込受付制御部である。 26は各プロセッサlax1mが他のプロセッサlax
1mや各入出力制御装置28〜2nとの間でデータの授
受を行う際に、そのデータ転送を制御するデータ転送マ
スク部である。 各入出力制御装置28〜2nにおいて、27はそれが配
された入出力制御装置28〜2nから各プロセッサ1a
=1mへの処理要求が発生した時、その割込要求の送出
を制御する割込要求制御部である。28は各入出力制御
装置28〜2nが各プロセッサla−1mとの間でデー
タ転送を行うときに、その実行を制御するデータ転送ス
レーブ部である。29はそれが配された入出力制御装置
2a〜2n全体を制御する共通制御部である。 システムバス7において、30は各プロセッサlax1
mと各入出力制御装置2a〜2nの間で授受されるデー
タが伝送されるデータ転送信号バスであり、31は各プ
ロセッサla〜1mの間でデータ転送信号バス30の使
用要求の競合調停を行うためのアービトレーションバス
である。32は各プロセッサlミル1m間で授受される
割込取込通知信号が伝送される割込取込通知信号バス、
33は各プロセッサ1a”=1mと各入出力制御装置2
a〜2nの間で授受される割込受付信号が伝送される割
込受付信号バス、34は各入力出力制御装置28〜2n
と各プロセッサ18〜1mの間で授受される割込要求信
号が伝送される割込要求信号バス、35はシステムコン
トローラ6のタイミング制御部20より各プロセッサl
a〜1mに与えられる割込要求の取り込みタイミングが
伝送される割込取込信号バスである。36は各入出力制
御装置28〜2n間の割込優先信号が伝送される割込優
先信号バスである。 次に動作について説明する。ここで、第2図および第3
図はプロセッサlミル1m内のCPU22と割込受付制
御部25の処理手順を示すフローチャート、第4図は入
出力制御装置2a〜2n内の割込要求制御部27の処理
手順を示すフローチャートである。 以下、プロセッサlaと1mが空きの状態にあり、入出
力制御装置2aと2nより同時にプロセッサla〜1m
に対する処理要求が発生したものとし、入出力制御装置
2aと20の割込優先順位は入出力制御装置2nが高(
、プロセッサ1aの方に先にシステムコントローラ6の
タイミング制御部20から割込要求の取り込みタイミン
グが与えられる場合について説明する。 各プロセッサla−1mのCPU22は、第2図のステ
ップ5TIOにてその状態を監視している。今、プロセ
ッサlaおよび1mはともに空き状態にあるので、ステ
ップ5TIIでそれぞれの空き表示部24にレディ通知
を行い、ステップ5T12で入出力制御装置28〜2n
からの割込要求がかかるのを待つ、この通知を受けた空
き表示部24は、それぞれの割込受付制御部25に対し
て自プロセッサ1aあるいは1mが空き状態であること
の表示を行う。 一方、入出力制御装置2aおよび2nで同時に、プロセ
ッサ1a”=1mへの処理要求が発生すると、それぞれ
の共通制御部29はその割込要求制御部27に対して割
込要求指示を送出する0割込要求制御部27は第4図の
ステップ5T30にてこの割込要求指示を監視しており
、それを検出するとステップST31で割込要求信号バ
ス34に割込要求信号を出力し、ステップ5T32にて
この割込要求を受け取ったプロセッサlax1mからの
割込受付信号が送られてくるのを待つ。 プロセッサ1aと1mの割込受付制御部25は、第3図
のステップ5T20で、割込取込信号バス35を介して
システムコントローラ6のタイミング制御部20より送
られてくる割込要求の取り込みタイミングを待っている
。この場合、この割込要求の取り込みタイミングはプロ
セッサ1mよりもlaに先に送られてくるので、プロセ
ッサlaの割込受付制御部25が先に、ステップ5T2
1〜5T23にて割込要求信号バス34の状態、自装置
の空き表示部24の表示、および割込取込通知信号バス
32の状態を調べる。 この場合、割込要求が有り、レディ表示がなされ、その
割込要求が他のプロセッサlb−1mによって取り込ま
れていないので、ステップ5T22にて前記取り込みタ
イミングでその割込要求の取り込みを行い、自装置内の
CPU22に割込をかけるとともに、割込取込通知信号
バス32に当該割込要求を取り込んだことを通知する割
込取込通知信号を送出する。その後、ステップ5T25
にて自装置のCPU22が割込を受け付けるのを待つ。 プロセッサ1mでも、プロセッサ1aより遅れたタイミ
ングで割込受付制御部25にて、割込要求信号バス34
の状態、自装置の空き表示部24の表示、および割込取
込通知信号バス32の状態がステップ5T21−3T2
3で調べられる。この場合、その割込要求がプロセッサ
1aで既に取り込まれて、その旨が割込取込通知信号バ
ス32に出力されているので、当該割込要求の取り込み
は行わず、ステップ5T20に戻って次のタイミングの
到来を持つ。 プロセッサlaのCPU22はこの割込要求を受け付け
ると、ステップ5T13にて空き表示部24にビジー通
知を行い、さらにステップ5T14にてバス要求制御部
23にシステムバス7の使用権確保の指示を送出し、ス
テップ5T15でその使用権が確保できたことの通知を
待つ、バス使用権確保の指示を受けたバス要求制御部2
3は、アービトレーションバス31に対してバスリクエ
スト信号を送出する。このバスリクエスト信号を検出し
たシステムコントローラ6のアービタ部21は、システ
ムバス7が他のプロセッサlb〜1mで使用中か否かを
チエツクし、使用中であればそのプロセッサlbx1m
に対して明は渡しを指示するなどして、システムバス7
が空くとその使用権をプロセッサ1aのバス要求制御部
23に与える。それを受けたバス要求制御部23はその
旨をCPU22に伝える。 このバス使用権確保の通知を受けたプロセッサlaのC
PU22は、ステップ5T16で割込受付制御部25よ
り割込受付信号バス33に対して割込受付信号を一定時
間だけ出力させる。プロセッサlaの割込受付制御部2
5は、そのCPU22からの割込受付信号を受け取ると
、第3図のステップ5T26にてCPU22への割込を
解除する。 その後、ステップ5T27にて割込要求の受付処理の終
了を監視し、割込要求受付処理が終了するとステップ5
T28にて割込取込通知信号バス32へ送出している他
のプロセッサlbA−1mへの割込取込通知を解除する
。 プロセッサlaからの当該割込受付信号を検出した入出
力制御装置2aおよび2nの割込要求制御部27は、ス
テップ5733で割込優先信号バス36を介して信号の
授受を行って競合制御を行い、ステップ5T34にてど
ちらがこの割込受付信号に対して優先度が高いかの判定
を行う、この場合、入出力制御装置2nがこの競合に勝
ち、ステップ5T35にてデータ転送信号バス30に自
装置の識別番号等の割込ステータスを出力した後、その
割込要求を解除する。競合に負けた入出力制御装置2a
では、処理をステップ5T32に戻して、次の割込受付
信号が出力されるまで待つ。 一方、プロセッサlaでは、第2図のステップ5T17
にてこの割込ステータスをデータ転送マスク部26で受
け取ってCPU22送り、CPU22はそれを解析して
当該割込要求が入出力制御装置2nから送出されたもの
であることを知る。 その後、この入出力制御装置2nからの処理要求の詳細
を知るため、再度システムバス7の使用権の獲得を行う
、システムバス7の使用権が確保されるとCPU22は
ステップ5T18において、入出力制御装置2nのデー
タ転送スレーブ部28を介して、その共通制御部29よ
り処理要求の詳細データを読み込み、その詳細データを
解析して必要な処理を実行する。実行結果は、必要に応
じて入出力制御装置2nや他のプロセッサlb〜1mに
送信され、全ての処理を終了する。 ここで、割込要求が受け付けられなかった入出力制御装
置2aの処理要求は、プロセッサlaが出力している割
込取込通知信号が解除された時点から、プロセッサ1m
などの空き状態にある他のプロセッサ1b〜1mによっ
て、前述の場合と同様にして処理される。 このようにして、各入出力制御装置2a〜2nからの処
理要求は、空き状態のプロセッサ1a〜1mによって順
次受け付けられ、入出力制御装置28〜2nの処理要求
が複数にプロセッサに負荷分散されて処理される。 なお、上記実施例では、タイミング制御部とアービタ部
とをシステムコントローラ内に集中配置したものを示し
たが、それらの機能を各プロセッサに持たせるようにし
てもよい。 また、上記実施例では、入出力制御装置内の共通制御部
をプロセッサ内のCPUと区別して説明したが、前記C
PU相当あるいは同等のものを用いてもよい。 【発明の効果】 以上のように、この発明によれば、空き表示部に自プロ
セッサが空き状態にあることが表示され、かつ、その割
込要求が他のプロセッサに取り込まれていない場合に、
タイミング制御部の与えるタイミングに従って当該割込
要求を取り込みとともに、その割込要求を保持した旨を
他のプロセッサに通知するように構成したので、同一の
割込要求を複数のプロセッサで受け付けられることはな
く、入出力制御装置からの割込要求によって直接複数の
プロセッサに伝えられた処理要求は、空き状態にあるプ
ロセッサの1つで処理されて、ボルトネックとなる入出
力制御装置からの処理要求をプロセッサへ分配するため
の装置が不要となるため、プロセッサの主導で処理が実
行され、制御が簡単で容易なものとなり、システムの信
頼性の向上、およびコストダウンの可能な分散制御処理
装置が得られる効果がある。
[Prior art J Figures 5 and 6 are, for example, a conventional distributed control processing device shown in IEICE Switching Study Group Material 5E78-106 r Consideration of Switching Processing Methods in Multi-processor Controlled Electronic Switching Equipment. In Figure 0, which is a system configuration diagram showing the system configuration diagram and an explanatory diagram for explaining its operation, laxlm
are a plurality of processors that process requested information, and 28 to 2n are a plurality of input/output control devices that request the processors la to 1m to process information. 3 is an inter-processor communication control device that controls communication between these processors la-1m and the input/output control devices 28 to 2n, 4 is a bus connecting the processors 18 to 1m and the inter-processor communication control device 3, and 5 is an inter-processor communication control device This is a bus that connects the input/output control devices 28 to 2n and the interprocessor communication control device 3. In the interprocessor communication control device 3, IO is a contention control unit that controls contention of processing request messages from each of the input/output control devices 28 to 2n, and 11 is a processing request queue in which the processing request messages wait. Reference numeral 12 is a control unit with an empty charge that controls the reception of empty notification messages from each processor la-1m, and 13 is an empty display queue in which the empty notification messages wait. Reference numeral 14 denotes a load distribution control unit that distributes processing request messages waiting in the processing request queue 11 to each of the processors la to 1m using empty notification messages waiting in the empty display queue 13. Further, 15 is a processing result reception control unit that controls the reception of processing result messages returned from the processors la to 1m, and 16 is a processing result queue in which the processing result messages wait. Reference numeral 17 denotes a processing result distribution control unit that distributes the processing result messages waiting in the processing result queue 16 to the corresponding input/output control devices 28 to 2n. Next, the operation will be explained. Each input/output control device 28-2
When a processing request is issued to the processor lax1m, n acquires the right to use the bus 5, generates a processing request message including its own identification number, and sends it to the interprocessor communication control device 3 from the bus 5. The inter-processor communication control device 3 receives the processing request message at the competition control unit 10, and puts it into the processing request queue 11. In addition, the processors la to 1m themselves have input/output control device 2.
When the device becomes available (ready) to accept processing requests from devices 8 to 2n, it acquires the right to use the bus 4, generates an empty notification message containing its own identification number, and sends it through the bus 4 for inter-processor communication. Send to control device 3. When the inter-processor communication control device 3 receives the empty notification message in the empty charge control unit 12, it inputs it into the -air space display key 13. In the inter-processor communication control device 3, the processing request queue 11
If a processing request message is waiting in , and at that time, there is also an empty notification message in the empty display queue 13, the load distribution control unit 14 transfers the message. In other words, the load distribution control unit 14 analyzes the empty notification message. The processor fax1m that sent it is identified, and one of the processing request messages waiting in the processing request queue 11 is sent from the bus 4 to that processor (for example, la). Upon receiving the processing request message from the interprocessor communication control device 3, the processor 1a analyzes the processing request message, executes the corresponding process, and sends the result as a processing result message to the interprocessor communication control device via the bus 4. Return to 3. Here, the processing result message also includes the identification number of the input/output control device 28 to 2n that generated the processing request message. The inter-processor communication control device 3 that has received this processing result message receives it in the processing result reception control section 15 and puts it in the -H processing result queue 16. Furthermore, if a processing result message is waiting in the processing result queue 16 and the right to use the bus 5 has been acquired, the interprocessor communication control device 3 analyzes the identification number in the processing result message and applies the corresponding input. The processing result message is sent to the output control device (for example, 2a). Through the above processing, the inter-processor communication control device 3 distributes processing requests from the plurality of input/output control devices 28 to 2n in a well-balanced manner to the processors la to 1m that are waiting for processing requests. [Problems to be Solved by the Invention] Since the conventional distributed control processing device is configured as described above, various messages concentrate on the inter-processor communication control device 3, resulting in an enormous load. Since the processing capacity of the entire system is affected by the processing capacity of the communication control device 3, it is necessary to increase the processing capacity of the inter-processor communication control device 3. If this occurs, the entire system will go down, and to prevent this, a redundant configuration such as duplexing is required.The system becomes expensive, and furthermore, each message is sent regardless of the reception status of the destination. Since the data is sent to the other party, there were problems such as complicated transfer control such as retransmission control.This invention was made to solve the above problems, and it is possible to process the entire system by simple control. It is an object of the present invention to obtain an inexpensive and highly reliable distributed control processing device that eliminates the above-mentioned bottleneck. In addition to providing a timing control unit that supplies the timing at which an interrupt request generated by the interrupt request control unit of each input/output control device to each processor is staggered for each processor when the interrupt request occurs, a timing control unit is provided for each processor. A free display section that displays that the interrupt request can be accepted in the state, and a timing control section that takes in the interrupt request according to the timing given by the timing control section, and notifies other processors that the interrupt request is held. [Operation] In the interrupt reception control section of each processor according to the present invention, the idle display section indicates that the own processor is idle, and If the interrupt request is not captured by another processor, it captures the interrupt request according to the timing given by the timing control unit, and notifies other processors that the interrupt request has been held, so that the same interrupt is not captured. By preventing requests from being accepted by multiple processors, a bottleneck in the processing of the entire system can be eliminated with simple control, thereby realizing an inexpensive and highly reliable distributed control processing device. [Embodiment 1] Hereinafter, an embodiment of the present invention will be explained with reference to the drawings.
In the figure, la-zlm is a processor, and 2a~
2n is an input/output control device. 6 is each input/output control device 2
This is a system controller that generates the timing for each processor la to 1m to receive an interrupt request generated by processors 8 to 2n to request a processing request, and arbitrates the right to use the system bus, which will be described later. 7 is each of these processors 1a
~1m, each input/output control device 2a~2n, and a system bus as a bus that connects the system controller 6 with each other. In the system controller 6, a system controller 20 determines the timing at which each processor la-x1m takes in the interrupt request generated by each input/output control device 28 to 2n.
It is a timing control section that sequentially supplies data while being shifted in time every millimeter, and numeral 21 is an arbiter section that arbitrates requests for use of the system bus 7 of each processor la-1m. In each of the processors la to 1m, 22 controls the entire processors 1a to 1m to which it is arranged, and executes processing for accepting interrupt requests from each input/output control device 28 to 2n, processing received processing requests, etc. 23 is an information processing unit (hereinafter referred to as CPU); 23 is a bus request control unit that generates a request to use the system bus 7; 24 is the own processor la-1;
When m is in a vacant state, the input/output control devices 2a to 2n
This is an empty display section that indicates that it is possible to accept an interrupt request from. 25 indicates that the idle display unit 24 indicates that the own processors la to 1m are idle, and when the other processors 1a=1m do not hold the interrupt request, the timing control unit 20 displays the interrupt request. When the timing to capture an interrupt request is given, the interrupt request is captured and temporarily held, and an interrupt capture notification signal indicating that the interrupt request is held is sent to the other processors 1a to 1.
This is an interrupt acceptance control unit that notifies m. 26, each processor lax1m connects to other processor lax
1m and each of the input/output control devices 28 to 2n. In each of the input/output control devices 28 to 2n, 27 is connected to each processor 1a from the input/output control device 28 to 2n in which it is arranged.
This is an interrupt request control unit that controls sending of an interrupt request when a processing request to 1m is generated. Reference numeral 28 denotes a data transfer slave unit that controls the execution of data transfer between each input/output control device 28 to 2n and each processor la-1m. Reference numeral 29 denotes a common control section that controls the entire input/output control devices 2a to 2n in which it is arranged. On the system bus 7, 30 represents each processor lax1
31 is a data transfer signal bus for transmitting data exchanged between the input/output control devices 2a to 2n, and 31 is a data transfer signal bus for contention arbitration of requests to use the data transfer signal bus 30 between the processors la to 1m. This is an arbitration bus for this purpose. 32 is an interrupt notification signal bus through which interrupt notification signals exchanged between the processors 1m and 1m are transmitted;
33 is each processor 1a''=1m and each input/output control device 2
An interrupt acceptance signal bus through which interrupt acceptance signals exchanged between a to 2n are transmitted; 34 is each input/output control device 28 to 2n;
and an interrupt request signal bus 35 through which interrupt request signals exchanged between the processors 18 to 1m are transmitted;
This is an interrupt capture signal bus that transmits the capture timing of interrupt requests given to a to 1m. 36 is an interrupt priority signal bus through which interrupt priority signals between the input/output control devices 28 to 2n are transmitted. Next, the operation will be explained. Here, FIGS. 2 and 3
The figure is a flowchart showing the processing procedure of the CPU 22 and the interrupt reception control section 25 in the processor l mill 1m, and FIG. 4 is a flowchart showing the processing procedure of the interrupt request control section 27 in the input/output control devices 2a to 2n. . Below, the processors la and 1m are in a vacant state, and the input/output control devices 2a and 2n simultaneously control the processors la to 1m.
It is assumed that a processing request has been generated for the input/output control device 2a and 20, and the interrupt priority of the input/output control device 2n is high (
, a case will be described in which the processor 1a is given the interrupt request capture timing from the timing control unit 20 of the system controller 6 first. The CPU 22 of each processor la-1m monitors its status at step 5TIO in FIG. Now, since both processors la and 1m are in the idle state, a ready notification is sent to each idle display section 24 in step 5TII, and in step 5T12, the input/output control devices 28 to 2n
Upon receiving this notification, the idle display unit 24, which waits for an interrupt request from the processor 1a or 1m, displays to each interrupt acceptance control unit 25 that the processor 1a or 1m is idle. On the other hand, when the input/output control devices 2a and 2n simultaneously issue a processing request to the processor 1a"=1m, each common control section 29 sends an interrupt request instruction to its interrupt request control section 27. The interrupt request control unit 27 monitors this interrupt request instruction in step 5T30 of FIG. 4, and when it detects it, outputs an interrupt request signal to the interrupt request signal bus 34 in step ST31, and then outputs an interrupt request signal to the interrupt request signal bus 34 in step 5T32. At step 5T20 in FIG. 3, the processor lax1m waits for an interrupt acceptance signal to be sent from the processor lax1m, which has received this interrupt request. It is waiting for the timing to capture an interrupt request sent from the timing control unit 20 of the system controller 6 via the interrupt signal bus 35. In this case, the timing to capture this interrupt request is set earlier by the processor la than by the processor 1m. Since the interrupt reception control unit 25 of the processor la first executes step 5T2.
1 to 5T23, the status of the interrupt request signal bus 34, the display on the idle display section 24 of the own device, and the status of the interrupt capture notification signal bus 32 are checked. In this case, there is an interrupt request, a ready display is displayed, and since the interrupt request has not been taken in by another processor lb-1m, the interrupt request is taken in at the above-mentioned taking timing in step 5T22, and the interrupt request is taken in automatically. It interrupts the CPU 22 in the device and sends an interrupt notification signal to the interrupt notification signal bus 32 to notify that the interrupt request has been received. Then step 5T25
Waits for the CPU 22 of the own device to accept the interrupt. Even in the processor 1m, the interrupt request signal bus 34 is sent to the interrupt request signal bus 34 by the interrupt acceptance control unit 25 at a timing later than that of the processor 1a.
, the display on the idle display section 24 of the own device, and the state of the interrupt capture notification signal bus 32 in steps 5T21-3T2.
You can check it in 3. In this case, since the interrupt request has already been captured by the processor 1a and a notification to that effect has been output to the interrupt capture notification signal bus 32, the interrupt request is not captured, and the process returns to step 5T20 for the next step. The timing has come. When the CPU 22 of the processor la receives this interrupt request, it sends a busy notification to the free display unit 24 in step 5T13, and further sends an instruction to secure the right to use the system bus 7 to the bus request control unit 23 in step 5T14. , the bus request control unit 2 receives the instruction to secure the right to use the bus, waiting for notification that the right to use the bus has been secured in step 5T15.
3 sends a bus request signal to the arbitration bus 31. The arbiter unit 21 of the system controller 6 that has detected this bus request signal checks whether the system bus 7 is being used by other processors lb~1m, and if it is in use, checks that processor lbx1m.
In response, Akira gave instructions to pass the system bus 7.
When the bus becomes free, the right to use it is given to the bus request control unit 23 of the processor 1a. The bus request control unit 23 that has received the request notifies the CPU 22 of this fact. C of the processor la that received the notification of securing the right to use the bus.
In step 5T16, the PU 22 causes the interrupt acceptance control unit 25 to output an interrupt acceptance signal to the interrupt acceptance signal bus 33 for a certain period of time. Interrupt reception control unit 2 of processor la
5, upon receiving the interrupt acceptance signal from the CPU 22, cancels the interrupt to the CPU 22 at step 5T26 in FIG. Thereafter, in step 5T27, the end of the interrupt request acceptance process is monitored, and when the interrupt request acceptance process is finished, step 5
At T28, the interrupt notification sent to the interrupt notification signal bus 32 to the other processor lbA-1m is canceled. The interrupt request control units 27 of the input/output control devices 2a and 2n that have detected the interrupt acceptance signal from the processor la perform competition control by exchanging signals via the interrupt priority signal bus 36 in step 5733. In step 5T34, it is determined which one has higher priority for this interrupt acceptance signal.In this case, the input/output control device 2n wins this competition, and in step 5T35, the input/output control device 2n sends the data transfer signal bus 30 to the own device. After outputting the interrupt status such as the identification number, the interrupt request is released. Input/output control device 2a that lost the competition
Then, the process returns to step 5T32 and waits until the next interrupt acceptance signal is output. On the other hand, in the processor la, step 5T17 in FIG.
The data transfer mask section 26 receives this interrupt status and sends it to the CPU 22, which analyzes it and learns that the interrupt request has been sent from the input/output control device 2n. Thereafter, in order to know the details of the processing request from the input/output control device 2n, the right to use the system bus 7 is acquired again. When the right to use the system bus 7 is secured, the CPU 22 performs input/output control in step 5T18. Detailed data of a processing request is read from the common control unit 29 of the device 2n via the data transfer slave unit 28, the detailed data is analyzed, and necessary processing is executed. The execution results are transmitted to the input/output control device 2n and other processors lb to 1m as necessary, and all processing is completed. Here, the processing request of the input/output control device 2a for which the interrupt request was not accepted is processed by the processor 1m from the time when the interrupt capture notification signal outputted by the processor la is released.
Processing is performed in the same manner as in the above case by the other idle processors 1b to 1m such as . In this way, processing requests from each of the input/output control devices 2a to 2n are sequentially accepted by the idle processors 1a to 1m, and processing requests from the input/output control devices 28 to 2n are load-distributed to multiple processors. It is processed. In the above embodiment, the timing control section and the arbiter section are arranged centrally in the system controller, but these functions may be provided in each processor. Further, in the above embodiment, the common control unit in the input/output control device was explained as being distinguished from the CPU in the processor, but the
PU equivalent or equivalent may be used. [Effects of the Invention] As described above, according to the present invention, when the idle display section displays that the own processor is idle, and the interrupt request has not been received by another processor,
Since the configuration is configured to capture the interrupt request according to the timing given by the timing control unit and notify other processors that the interrupt request is held, it is possible for multiple processors to accept the same interrupt request. Instead, processing requests directly transmitted to multiple processors by interrupt requests from the I/O controller are processed by one of the idle processors, and the processing requests from the I/O controller, which is the boltneck, are processed by one of the idle processors. Since there is no need for a device to distribute data to the processors, processing is executed under the initiative of the processors, making control simple and easy, resulting in a distributed control processing device that can improve system reliability and reduce costs. It has the effect of

【図面の簡単な説明】 第1図はこの発明の一実施例による分散制御装置を示す
システム構成図、第2図はそのプロセッサ内のCPUの
処理手順を示すフローチャート、第3図はそのプロセッ
サ内の割込受付制御部の処理手順を示すフローチャート
、第4図はその入出力制御装置内の割込要求制御部の処
理手順を示すフローチャート、第5図は従来の分散制御
処理装置を示すシステム構成図、第6図はその動作を説
明するための説明図である。 la−−1mはプロセッサ、28〜2nは入出力制御装
置、7はバス(システムバス)、20はタイミング制御
部、22はCPU、24は空き表示部、25は割込受付
制御部、27は割込要求制御部。 なお、図中、同一符号は同一、又は相当部分を示す。
[Brief Description of the Drawings] Fig. 1 is a system configuration diagram showing a distributed control device according to an embodiment of the present invention, Fig. 2 is a flowchart showing the processing procedure of the CPU in the processor, and Fig. 3 is a system configuration diagram showing the processing procedure of the CPU in the processor. 4 is a flowchart showing the processing procedure of the interrupt reception control section in the input/output control device, and FIG. 5 is a system configuration showing the conventional distributed control processing device. 6 are explanatory diagrams for explaining the operation. la--1m is a processor, 28 to 2n are input/output control devices, 7 is a bus (system bus), 20 is a timing control section, 22 is a CPU, 24 is an empty display section, 25 is an interrupt acceptance control section, 27 is a Interrupt request control unit. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims]  互いにバスによって接続された複数の入出力制御装置
と複数のプロセッサとから成り、前記入出力制御装置の
1つから発生した処理要求を、前記プロセッサ中の空い
ている1つで処理する分散制御処理装置において、前記
入出力制御装置が前記処理要求を依頼するために発生す
る割込要求を前記各プロセッサが取り込むためのタイミ
ングを、前記プロセッサ毎に時間的にずらせて供給する
タイミング制御部を設けるとともに、前記各入出力制御
装置に、前記処理要求が発生すると前記割込要求を前記
各プロセッサに送ってその旨を通知する割込要求制御部
を持たせ、前記各プロセッサに、自プロセッサが空きの
状態にある時、前記入出力制御装置からの割込要求の受
付けが可能であることを表示する空き表示部と、前記割
込要求制御部からの前記割込要求を受け付けると、前記
割込要求の受付処理を行って当該割込要求を発生した入
出力制御装置を特定するとともに、前記受け付けた処理
要求に応じた処理を実行する情報処理部と、前記空き表
示部が自プロセッサの空き状態を表示しており、他のプ
ロセッサが前記割込要求を保持していない時、前記タイ
ミング制御部より前記割込要求を取り込むタイミングが
与えられると、その割込要求を取り込んで一旦保持する
とともに当該割込要求を保持した旨を前記他のプロセッ
サに通知する割込受付制御部とを持たせたことを特徴と
する分散制御処理装置。
Distributed control processing consisting of a plurality of input/output control devices and a plurality of processors connected to each other by a bus, in which a processing request generated from one of the input/output control devices is processed by an unoccupied one of the processors. In the apparatus, a timing control unit is provided that supplies timing for each processor to take in an interrupt request generated by the input/output control device to request the processing request, with a time shift for each processor; , each of the input/output control devices is provided with an interrupt request control unit that sends the interrupt request to each of the processors and notifies them when the processing request occurs, When in the state, there is an empty display section that indicates that it is possible to accept an interrupt request from the input/output control device, and when the interrupt request from the interrupt request control section is accepted, the interrupt request is displayed. The information processing section executes the processing according to the accepted processing request, and the free space display section indicates the free state of its own processor. When the interrupt request is displayed and no other processor holds the interrupt request, when the timing control section gives the timing to take in the interrupt request, the interrupt request is taken in, temporarily held, and the interrupt request is 1. A distributed control processing device comprising: an interrupt reception control unit that notifies the other processor that an interrupt request has been held.
JP653490A 1990-01-16 1990-01-16 Distributed control processing device Pending JPH03210654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP653490A JPH03210654A (en) 1990-01-16 1990-01-16 Distributed control processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP653490A JPH03210654A (en) 1990-01-16 1990-01-16 Distributed control processing device

Publications (1)

Publication Number Publication Date
JPH03210654A true JPH03210654A (en) 1991-09-13

Family

ID=11641021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP653490A Pending JPH03210654A (en) 1990-01-16 1990-01-16 Distributed control processing device

Country Status (1)

Country Link
JP (1) JPH03210654A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628321A (en) * 1992-04-22 1994-02-04 Toshiba Corp Multiprocessor system
US5590380A (en) * 1992-04-22 1996-12-31 Kabushiki Kaisha Toshiba Multiprocessor system with processor arbitration and priority level setting by the selected processor
US7644214B2 (en) 2005-05-12 2010-01-05 Sony Computer Entertainment Inc. Information processing apparatus and task execution method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61138360A (en) * 1984-12-10 1986-06-25 Fujitsu Ltd Assigning system of processing in compound processor system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61138360A (en) * 1984-12-10 1986-06-25 Fujitsu Ltd Assigning system of processing in compound processor system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628321A (en) * 1992-04-22 1994-02-04 Toshiba Corp Multiprocessor system
US5590380A (en) * 1992-04-22 1996-12-31 Kabushiki Kaisha Toshiba Multiprocessor system with processor arbitration and priority level setting by the selected processor
US7644214B2 (en) 2005-05-12 2010-01-05 Sony Computer Entertainment Inc. Information processing apparatus and task execution method

Similar Documents

Publication Publication Date Title
KR940007903B1 (en) Multiple cluster signal processor
US4736319A (en) Interrupt mechanism for multiprocessing system having a plurality of interrupt lines in both a global bus and cell buses
US5507032A (en) Multiprocessor I/O request control system forming device drive queue and processor interrupt queue from rows and cells of I/O request table and interrupt request table
EP0103803B1 (en) Bus control method
JP3639319B2 (en) Parallel computer system, data transfer control method, and transmission / reception control device
JPH03210654A (en) Distributed control processing device
JP2568714B2 (en) Distributed control processor
JP2825914B2 (en) Communication system between processors
JPH01305461A (en) Bus right control method
JPS6154556A (en) Inter-memory data transfer system
JP3050131B2 (en) Arbitration method
JP2666782B2 (en) Multiple bus control system
JPH07319823A (en) Inter-processor communication method
JPH0675883A (en) Message communication equipment
JPH1055341A (en) Bus interface control method
JPH0277959A (en) Bus arbitrating system
JPS6272053A (en) Processor unit
WO1996033466A1 (en) Performing input/output operations in a multiprocessor system
JPS6124739B2 (en)
JPH03262234A (en) Transfer control system for packet switchboard
JPH01292559A (en) Message processing system and data transfer system for parallel computers
JP2000305917A (en) Multiprocessor system
JPS6211958A (en) Multi-microprocessor system
JPH01312660A (en) Multi-processor system
JPH02120961A (en) Inter-memory data transfer system