JPS6360429B2 - - Google Patents
Info
- Publication number
- JPS6360429B2 JPS6360429B2 JP58202611A JP20261183A JPS6360429B2 JP S6360429 B2 JPS6360429 B2 JP S6360429B2 JP 58202611 A JP58202611 A JP 58202611A JP 20261183 A JP20261183 A JP 20261183A JP S6360429 B2 JPS6360429 B2 JP S6360429B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- bus
- processing device
- abnormal
- priority
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Debugging And Monitoring (AREA)
- Bus Control (AREA)
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、複数の装置が共通使用するバスやメ
モリ等の共用資源の使用を管理する共用資源管理
回路に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a shared resource management circuit that manages the use of shared resources such as a bus and memory that are commonly used by a plurality of devices.
一般に、複数の装置、例えばシステムコントロ
ール処理装置が共用して使用する資源としてバス
回路やマルチプロセツサ制御方式による共通メモ
リ等が存在する。これら、共用資源の管理は一般
に共用資源毎に1つだけ設けられた競合回路と呼
ばれる管理回路により行なうことが多い。この場
合の管理方法は一般には次のようなものである。
In general, a bus circuit, a common memory based on a multiprocessor control system, etc. exist as resources that are shared by a plurality of devices, such as a system control processing device. These shared resources are generally managed by a management circuit called a competition circuit, which is provided for each shared resource. The management method in this case is generally as follows.
(1) 共用資源を使用する各処理装置が管理回路に
対し、資源の使用要求信号を送出する。(1) Each processing device that uses the shared resource sends a resource use request signal to the management circuit.
(2) 管理回路側では一定期間に受信した使用要求
信号の中からあらかじめ定められた選択手順に
従つて1つの処理装置の使用要求信号を選択す
る。(2) The management circuit side selects a use request signal for one processing device from among the use request signals received during a certain period of time according to a predetermined selection procedure.
(3) 選択した使用要求信号を使用許可信号として
1つの処理装置に送出する。(3) Send the selected use request signal to one processing device as a use permission signal.
(4) 使用許可を与えた装置の資源使用終了を監視
し、終了時には前項(2)からの動作を行なうこの
間、他の処理装置からは前項(1)の動作が並行し
て行なわれているので、次々に共通資源の使用
が行なわれる。(4) Monitors the end of resource use of the device to which usage permission has been given, and upon completion performs the operations described in the preceding paragraph (2).During this time, the operations described in the preceding paragraph (1) are performed in parallel from other processing devices. Therefore, common resources are used one after another.
ところが、処理装置が障害となつた場合を考え
てみる。すなわち、障害が発生したにもかかわら
ず共用資源の使用要求信号が送出されるという事
態があり得る。この場合、従来の共用資源管理シ
ステムでは、処理装置が正常である場合と同様に
共用管理回路は動作し、使用許可信号を返送して
しまう。その後、資源使用終了指令がないまま使
用制限時間を越え、共用資源管理回路側で使用許
可を打切り、共用資源の使用終了とみなすという
無効動作が発生する。一般に共用資源の使用時間
制限値は、もつとも長い正常処理時間よりも大き
く定めてあるので共用資源の無効使用時間は大き
く、これが、正常な処理装置の待合せ時間増大に
結びつき、しいてはシステムの性能低下となり問
題は大きい。このため従来のシステムでは、管理
回路側に装置毎に使用要求の受信を禁示する機構
を設け、システムを構成する各処理装置の障害を
管理するマスター処理装置より、本回路を制御す
る方式が採用されている。 However, let us consider a case where the processing device becomes a failure. That is, there may be a situation where a shared resource use request signal is sent even though a failure has occurred. In this case, in the conventional shared resource management system, the shared management circuit operates in the same way as when the processing device is normal, and returns a usage permission signal. Thereafter, the usage limit time is exceeded without a resource usage termination command, and the shared resource management circuit terminates usage permission and considers the usage of the shared resource to be complete, resulting in an invalid operation. In general, the usage time limit value for shared resources is set to be larger than the normally long normal processing time, so the invalid usage time for shared resources is large, which leads to an increase in the waiting time of normal processing units, which in turn improves system performance. This is a big problem. For this reason, in conventional systems, a mechanism is provided on the management circuit side that prohibits the reception of usage requests for each device, and this circuit is controlled by a master processing device that manages failures in each processing device that makes up the system. It has been adopted.
しかるにシステムによつては、ハードウエア上
の処理装置識別情報とソフトウエア上の処理装置
識別情報とが異つている場合があり、共用資源管
理回路側、又は、ソフトウエア側で両者の変換を
行なわなければないこと。さらに、この変換アル
ゴリズムが、実際に設置するシステムで統一され
得ない場合は、ソフトウエア側で変換テーブルを
用意するということになり、ソフトウエアの負担
が増加するという問題がある。 However, depending on the system, the processing unit identification information on the hardware and the processing unit identification information on the software may be different, and the conversion between the two may be performed on the shared resource management circuit side or the software side. What I don't have. Furthermore, if this conversion algorithm cannot be unified in the system actually installed, a conversion table must be prepared on the software side, which increases the burden on the software.
また、システムを構成する各処理装置の未実装
あるいは、障害を検出するには、一般に非常に複
雑な処理を必要とし、プログラム作成が困難で、
しかも異常な装置を正しく判定することは難かし
く、最終的な判断は保守者に委ねられているた
め、保守者が判定するまでに正常装置が処理を行
なえなくなるという問題や、このような状況をな
くすために、実装変更、電源断等があつた場合
は、保守者は比較的頻繁に装置構成の状態をシス
テムに知らせる必要があり、保守が容易なもので
はなかつた。 Additionally, detecting non-implementation or failure of each processing device that makes up the system generally requires very complex processing, making programming difficult.
Moreover, it is difficult to correctly determine abnormal equipment, and the final decision is left to the maintenance personnel, so there is a problem that the normal equipment may no longer be able to perform the process by the time the maintenance personnel determines the abnormality, and such situations can be avoided. In order to eliminate this problem, maintenance personnel are required to relatively frequently inform the system of the status of the device configuration in the event of a change in mounting, a power outage, etc., making maintenance difficult.
本発明の目的は前述した従来技術の欠点に鑑
み、ソフトウエアの負担を軽減し、しいては保守
の容易性をもたらす共用資源管理回路を提供する
ことにある。
SUMMARY OF THE INVENTION In view of the above-mentioned drawbacks of the prior art, it is an object of the present invention to provide a shared resource management circuit that reduces the burden on software and facilitates maintenance.
本発明は、共用資源管理回路に、共用資源使用
中の処理装置の異常を検出する手段を設け、それ
で異常を検出した場合には、異常である処理装置
の識別情報を蓄積しておき、次に、異常装置から
使用要求があつた場合には、異常装置識別情報に
より、異常装置の優先順位を正常装置の優先順位
より低く設定した上で、優先選択を行なうという
方法により、装置の未実装、電源断および障害を
共用資源管理回路が自動的に検出し、異常装置を
選択しにくくする。また、異常装置が正常となつ
た場合は、異常装置が選択された時に資源使用が
異常なく終了することを用いて、異常装置識別情
報から、この装置の識別情報を除去することによ
り、他の正常装置と同様の優先順位レベルを設定
するという方法を採つたものである。
The present invention provides means for detecting an abnormality in a processing device that is using a shared resource in a shared resource management circuit, and when an abnormality is detected by the means, the identification information of the abnormal processing device is stored and the next step is performed. When a usage request is received from an abnormal device, the priority of the abnormal device is set lower than the priority of the normal device using the abnormal device identification information, and priority selection is performed. , power outages and failures are automatically detected by the shared resource management circuit, making it difficult to select an abnormal device. In addition, when the abnormal device becomes normal, the identification information of this device is removed from the abnormal device identification information, based on the fact that resource usage ends without abnormality when the abnormal device is selected. This method uses a method of setting the same priority level as for a normal device.
以下、図面に従つて本発明の一実施例を詳述す
る。同図は共用資源としてバスを対象としたもの
である。図中11,12,……1nは共通バス3に
並列的に接続された処理装置であつて、図示して
いない負荷回路および中央制御装置と接続され、
所定のプログラム処理をするものである。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings. The diagram targets a bus as a shared resource. In the figure, 1 1 , 1 2 , ... 1n are processing units connected in parallel to the common bus 3, and are connected to a load circuit and a central control unit (not shown).
It performs predetermined program processing.
2は本実施例の特徴でもある共用資源管理回路
であつて、複数の処理装置11,12……1nが共
通バス3を有効に使用できるように使用権を管理
するためのものである。この共用資源管理回路2
は、その出力信号により共通バス3をどの処理装
置に使用させるかを選択すると共に、併せて処理
装置に異常があつた場合にはそれを即時に識別す
る機能を有している。 Reference numeral 2 denotes a shared resource management circuit which is also a feature of this embodiment, and is for managing usage rights so that a plurality of processing devices 1 1 , 1 2 . . . 1n can use the common bus 3 effectively. . This shared resource management circuit 2
has the function of selecting which processing device is to use the common bus 3 based on its output signal, and also has the function of immediately identifying any abnormality in the processing device.
第2図は第1図に示す共用資源管理回路2の具
体的な回路ブロツク図であつて、4は共通バス3
を監視するためのバス監視回路、5は処理装置の
異常を検出し、異常を検出した場合には異常であ
る処理装置の識別情報を蓄積する蓄積回路、6,
7は蓄積回路5よりの異常装置識別情報を得、異
常な処理装置の優先順位を正常な処理装置の優先
順位より低く設定した上で出力する優先回路であ
る。81,82……8nは優先回路6,7の出力部
に設けたオアゲートである。 FIG. 2 is a specific circuit block diagram of the shared resource management circuit 2 shown in FIG.
5 is a bus monitoring circuit for monitoring a processing device; 5 is a storage circuit for detecting an abnormality in a processing device; and, when an abnormality is detected, storing identification information of the abnormal processing device; 6;
Reference numeral 7 denotes a priority circuit that obtains the abnormal device identification information from the storage circuit 5, sets the priority of the abnormal processing device lower than the priority of the normal processing device, and then outputs the priority. 8 1 , 8 2 . . . 8n are OR gates provided at the output portions of the priority circuits 6 and 7.
第2図に示す共通資源管理回路2の構成をさら
に詳しく述べると、バス監視回路4は、第1図の
共通バス3に接続された処理装置間の信号のやり
とりを監視し、所定時間内に終了信号を検出する
と、正常時出力信号Sを出力し、所定時間内に終
了信号を検出しない場合は、異常検出信号Fを出
力する。また、異常装置を識別する情報蓄積回路
5には優先回路6,7のバス使用許可信号をオア
ゲート81,82……8nを介して入力してあつ
て、異常検出信号Fによつて現在許可中の処理装
置の情報を蓄積するように構成してある。また、
バス監視回路4よりの正常時出力Sによつて蓄積
してある異常装置識別情報の中から現在許可中の
装置の情報を除却するよう構成してある。また、
蓄積回路5の出力は、優先回路6,7に入力して
あり、各処理装置からのバス所用要求に対し、優
先回路7では優先回路6からの許可信号なしの出
力を入力し、異常装置間の優先選択を行なうよう
にしてある。優先回路6,7の出力であるバス使
用許可信号はオアゲート81,82……8nで1本
化され、それぞれ各処理装置へ返送されるように
してある。 To describe the configuration of the common resource management circuit 2 shown in FIG. 2 in more detail, the bus monitoring circuit 4 monitors the exchange of signals between the processing devices connected to the common bus 3 shown in FIG. When the end signal is detected, a normal output signal S is output, and when the end signal is not detected within a predetermined time, an abnormality detection signal F is output. Further, the bus use permission signals of the priority circuits 6 and 7 are inputted to the information storage circuit 5 for identifying an abnormal device via OR gates 8 1 , 8 2 . . . It is configured to accumulate information on processing devices that are currently being permitted. Also,
The bus monitoring circuit 4 is configured to use the normal output S to remove information on the currently permitted device from the accumulated abnormal device identification information. Also,
The output of the storage circuit 5 is input to priority circuits 6 and 7, and in response to a bus request from each processing device, the priority circuit 7 inputs the output from the priority circuit 6 without a permission signal, and disables the connection between abnormal devices. Priority selection is made. The bus use permission signals output from the priority circuits 6 and 7 are unified by OR gates 8 1 , 8 2 . . . 8n, and are sent back to each processing device.
同回路構成において、システム稼動開始後、ど
の処理装置にも異常がない場合の動作を説明す
る。まず、優先回路6,7の入力に各処理装置か
らバス使用要求がなされるが、このときは蓄積回
路5の出力は全て“0”である。従つて、優先回
路6の入力部で全ての処理装置のバス使用要求が
認められ、通常の優先選択を実施し、1つの処理
装置に対するバス使用許可信号が、例えば、オア
ゲート82を介して返送される。 In the same circuit configuration, the operation will be described when there is no abnormality in any processing device after the system starts operating. First, a bus use request is made from each processing device to the inputs of the priority circuits 6 and 7, but at this time, the outputs of the storage circuit 5 are all "0". Therefore, at the input of the priority circuit 6, the bus usage requests of all processing units are recognized, the normal priority selection is carried out, and a bus usage permission signal for one processing unit is returned, for example, via the OR gate 82 . be done.
このとき、処理装置(オアゲート82に接続し
たもの)が異常となると、バス使用終了信号が発
生しなくなるので、バス監視回路4より出力信号
Fが得られ、異常装置識別情報を蓄積するための
蓄積回路5に、蓄積パルスとオアゲート82を介
したバス許可信号(信号線は全てあるが今はオア
ゲート82の信号線しか“1”となつていない。)
が入力され、異常装置として蓄積される。 At this time, if the processing device (connected to the OR gate 82 ) becomes abnormal, the bus end signal is no longer generated, so the bus monitoring circuit 4 obtains the output signal F, which is used to store abnormal device identification information. A bus permission signal is sent to the storage circuit 5 via the storage pulse and the OR gate 82 (all signal lines are present, but only the signal line for the OR gate 82 is at "1").
is input and stored as an abnormal device.
次に、異常な処理装置と正常な処理装置とから
バス使用要求がくる場合について説明する。この
場合は、異常と正常の区別が蓄積回路5の出力に
より行なわれ、例えば、それが(0、1.0……0)
で、バス使用要求が(1、1、0、1.0……0)
とすれば、第1番目と第4番目のバス使用要求は
優先回路6に入力し、異常な処理装置である第2
番目のバス使用要求は優先回路7に入力すること
になる。優先回路6では例えば第4番目のバス使
用要求を選択し、使用許可を出力すると共に、優
先回路7の動作を禁止する。したがつて、正常な
処理装置からのバス使用要求があるかぎり、異常
な処理装置はバスを使用することはできない。 Next, a case will be described in which bus use requests are received from an abnormal processing device and a normal processing device. In this case, the distinction between abnormality and normality is made by the output of the storage circuit 5. For example, if it is (0, 1.0...0)
Then, the bus usage request is (1, 1, 0, 1.0...0)
Then, the first and fourth bus usage requests are input to the priority circuit 6, and the second bus request, which is the abnormal processing device, is
The th bus use request is input to the priority circuit 7. The priority circuit 6 selects, for example, the fourth bus use request, outputs permission to use the bus, and prohibits the operation of the priority circuit 7. Therefore, as long as there is a request to use the bus from a normal processing device, an abnormal processing device cannot use the bus.
次に、バス使用要求が異常な処理装置からあつ
た場合について説明する。この場合は、優先回路
6に入力するバス使用要求はなく、したがつて、
優先回路6から優先回路7に対する作動禁止信号
は出力されない。このため、優先回路7に入力し
ている異常な処理装置からのバス使用要求が選択
され、オアゲート81,82……8nのいずれかを
介して処理装置へバス使用許可信号が返送され
る。この結果、バスが使用されることになるが、
バスの使用が異常終了すると、バス監視回路4の
出力Fが出力され、前述と同様に再度異常として
蓄積されるが、バス使用が正常に終了した場合
は、バス監視回路4より出力Sが出力し、除却パ
ルスと除却すべき処理装置識別情報が蓄積回路5
に入力されるので、今まで蓄積されていた情報が
除却される。 Next, a case will be described in which a bus use request is received from an abnormal processing device. In this case, there is no bus use request input to the priority circuit 6, and therefore,
No operation prohibition signal is output from the priority circuit 6 to the priority circuit 7. Therefore, the bus use request from the abnormal processing device input to the priority circuit 7 is selected, and a bus use permission signal is sent back to the processing device via one of the OR gates 8 1 , 8 2 . . . 8n. . This results in the use of buses, but
When the use of the bus ends abnormally, the output F of the bus monitoring circuit 4 is outputted and is accumulated as an abnormality again as described above. However, when the use of the bus ends normally, the output S is outputted from the bus monitoring circuit 4. Then, the removal pulse and the processing device identification information to be removed are stored in the storage circuit 5.
The information that has been stored up to now is discarded.
したがつて、次に、前記の如き正常に戻つた処
理装置からバス使用要求があると、それは優先回
路6により他の正常な処理装置と同様に処理され
る。すなわち、異常な処理装置が発見されると、
それから、共用資源なるバスの使用は禁止され、
無駄なバス使用はなくなる。 Therefore, next time a bus use request is received from a processing device which has returned to normal operation as described above, it will be processed by the priority circuit 6 in the same manner as other normal processing devices. In other words, when an abnormal processing device is discovered,
Then, the use of the shared resource bus was prohibited,
This will eliminate unnecessary bus usage.
以上の説明からも明らかなように本発明によれ
ば、異常な装置による共用資源の無効使用が著し
く低減できるだけでなく、しかもソフトウエアに
よる処理装置の異常識別処理手段を介することな
く、自動的に対処でき、保守管理が極めて容易な
ものとなる等の利点並びに効果がある。
As is clear from the above description, according to the present invention, not only the invalid use of shared resources by abnormal devices can be significantly reduced, but also the invention can There are advantages and effects such as ease of maintenance and management.
第1図は本発明の一実施例を示す共用資源管理
システムの回路構成を示す図、第2図は第1図の
要部を具体的に示した回路ブロツク図である。
11,12……1n…処理装置、2…共用資源管
理回路、3…共用バス、4…バス監視回路、5…
異常装置識別情報蓄積回路、6,7…優先回路、
81,82……8n…オアゲート。
FIG. 1 is a diagram showing a circuit configuration of a shared resource management system showing an embodiment of the present invention, and FIG. 2 is a circuit block diagram specifically showing the main parts of FIG. 1. 1 1 , 1 2 ...1n...processing device, 2...shared resource management circuit, 3...shared bus, 4...bus monitoring circuit, 5...
Abnormal device identification information storage circuit, 6, 7...priority circuit,
8 1 , 8 2 ...8n...or gate.
Claims (1)
号を、前記各装置より受信し、そのうちいずれか
1つの装置に資源の使用許可を与える共用資源管
理回路であつて、前記共用資源の使用許可を与え
た装置の異常を検出する手段と、該異常検出手段
が異常検出した場合に異常である処理装置の識別
情報を蓄積あるいは除却する手段と該処理装置識
別情報と前記使用要求信号とを比較し、前記使用
要求信号を分割する手段、および各分割した共用
資源使用要求信号群間の優先度を規定する手段と
を備えて成ることを特徴とする共用資源管理回
路。1 A shared resource management circuit that receives a request signal to use a resource commonly used by a plurality of devices from each of the devices and grants permission to use the resource to any one of the devices, the circuit means for detecting an abnormality in a given device; means for accumulating or eliminating identification information of an abnormal processing device when the abnormality detecting means detects an abnormality; and comparing the processing device identification information with the use request signal. , means for dividing the use request signal, and means for defining priorities between the divided groups of shared resource use request signals.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58202611A JPS6095669A (en) | 1983-10-31 | 1983-10-31 | Common resources managing circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58202611A JPS6095669A (en) | 1983-10-31 | 1983-10-31 | Common resources managing circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6095669A JPS6095669A (en) | 1985-05-29 |
| JPS6360429B2 true JPS6360429B2 (en) | 1988-11-24 |
Family
ID=16460273
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58202611A Granted JPS6095669A (en) | 1983-10-31 | 1983-10-31 | Common resources managing circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6095669A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS621051A (en) * | 1985-06-26 | 1987-01-07 | Oki Electric Ind Co Ltd | Bus controller |
| JPS6378259A (en) * | 1986-09-20 | 1988-04-08 | Pfu Ltd | Bus switching device |
-
1983
- 1983-10-31 JP JP58202611A patent/JPS6095669A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6095669A (en) | 1985-05-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100201819B1 (en) | Recovery device and method of multi-master bus system | |
| US5652833A (en) | Method and apparatus for performing change-over control to processor groups by using rate of failed processors in a parallel computer | |
| US5561823A (en) | Monitor system for determining the available capacity of a READ buffer and a WRITE buffer in a disk drive system | |
| EP0588521A1 (en) | System and method for regulating access to direct access storage devices in data processing systems | |
| US5043882A (en) | Interrupt controller for multiprocessor systems | |
| JP2015530679A (en) | Method and apparatus using high efficiency atomic operations | |
| CN120407265B (en) | Processing system and method of server, electronic equipment and storage medium | |
| US7861115B2 (en) | Multi-component system | |
| US5696983A (en) | Decentralized system connected by individual buses and bus connection method | |
| JPS6360429B2 (en) | ||
| US7657681B2 (en) | Arbitration circuit and function processing circuit provided therein | |
| CN111309132A (en) | A method for server multi-level power supply redundancy | |
| JPH03179538A (en) | Data processing system | |
| JPH06324957A (en) | Bus monitoring device | |
| JPS59202527A (en) | Bus control system | |
| JPH01286070A (en) | Data processing system | |
| JP6992295B2 (en) | Electronic device | |
| JPH04219847A (en) | Device and method for monitoring and disconnecting bus abnormality | |
| JPS6128146B2 (en) | ||
| JP2922342B2 (en) | Interrupt control device | |
| JPH0628207A (en) | Computer system with independent operation guarantee function | |
| CN120407171A (en) | Bus resource allocation method, device, electronic device and storage medium | |
| JPH0247758A (en) | Data processing system | |
| JPS58155436A (en) | Common bus controlling system of composite computer system | |
| JPS61154297A (en) | Electronic exchange |