JP2580311B2 - Mutual monitoring processing method of multiplex system - Google Patents

Mutual monitoring processing method of multiplex system

Info

Publication number
JP2580311B2
JP2580311B2 JP1025221A JP2522189A JP2580311B2 JP 2580311 B2 JP2580311 B2 JP 2580311B2 JP 1025221 A JP1025221 A JP 1025221A JP 2522189 A JP2522189 A JP 2522189A JP 2580311 B2 JP2580311 B2 JP 2580311B2
Authority
JP
Japan
Prior art keywords
abnormality
processor
processors
interrupt
identification number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1025221A
Other languages
Japanese (ja)
Other versions
JPH02205966A (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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP1025221A priority Critical patent/JP2580311B2/en
Publication of JPH02205966A publication Critical patent/JPH02205966A/en
Application granted granted Critical
Publication of JP2580311B2 publication Critical patent/JP2580311B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔概 要〕 マルチプロセッサの各々のプロセッサについての正常
性を相互に監視する多重化システムの相互監視処理方式
に関し, 正確にプロセッサの正常性を監視し多重化の制約をな
くすることを目的とし, 複数のプロセッサ(1)を結合してなる多重化システ
ムにおいて、 前記複数のプロセッサ(1)と夫々接続するようにも
うけられた、少なくとも2個の共通メモリ(2)をそな
えると共に、 前記複数のプロセッサ(1)の各々に、前記複数の共
通メモリ(2)の夫々を介して他のプロセッサ(1)に
対し所定の時間間隔で識別番号付きの割込み信号を送出
する割込み発生部(3)と、前記複数の共通メモリ
(2)の夫々を介して前記他のプロセッサ(1)からの
前記識別番号付きの割込み信号を受信する異常監視部
(4)とを設け、 前記異常監視部(4)が、同一のプロセッサ(1)か
らの前記識別番号付きの割込み信号を前記複数の共通メ
モリ(2)から夫々共に受信できなかった第1の受信態
様時に当該識別番号に対応する前記プロセッサ(1)に
異常が発生したものと判断し、かつ複数の夫々のプロセ
ッサ(1)からの前記識別番号付きの割込み信号を前記
複数の共通メモリ(2)のいずれか1つ経由ですべて受
信できなかった第2の受信態様時に当該受信できなかっ
た共通メモリ(2)に異常が発生したと判断し、かつ識
別番号付きのすべての割込み信号のうちのいずれか1つ
でも受信できていない受信態様であって上記第1の受信
態様と上記第2の受信態様との両者以外の受信態様であ
る場合に上記夫々のプロセッサと上記夫々の共通メモリ
との間の接続線に異常が発生したと判断するようにした ことを特徴とする。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a mutual monitoring processing method of a multiplexing system for mutually monitoring the normality of each processor of a multiprocessor. In a multiplex system in which a plurality of processors (1) are combined, at least two common memories (2) provided so as to be connected to the plurality of processors (1) are provided. And an interrupt for sending an interrupt signal with an identification number to each of the plurality of processors (1) at predetermined time intervals to the other processors (1) via the plurality of common memories (2). An abnormality monitor that receives an interrupt signal with the identification number from the other processor (1) via a generating unit (3) and each of the plurality of common memories (2); A monitoring unit (4), wherein the abnormality monitoring unit (4) cannot receive the interrupt signal with the identification number from the same processor (1) from each of the plurality of common memories (2). In the first receiving mode, it is determined that an abnormality has occurred in the processor (1) corresponding to the identification number, and the interrupt signal with the identification number from each of the plurality of processors (1) is transmitted to the plurality of common memories. At the time of the second reception mode in which all of the interrupt signals cannot be received via any one of (2), it is determined that an abnormality has occurred in the common memory (2) that has not been able to be received, and all interrupt signals with identification numbers have In the case where any one of them is not received and the receiving mode is other than both the first receiving mode and the second receiving mode, the respective processors and the respective common memos are used. It is characterized in that it is determined that an abnormality has occurred in the connection line to the connection.

〔産業上の利用分野〕[Industrial applications]

本発明は多重化システムの相互監視処理方式に関し,
更に詳しくは,マルチプロセッサの各々のプロセッサに
ついての正常性を相互に監視する多重化システムの相互
監視処理方式に関する。
The present invention relates to a mutual monitoring processing method of a multiplex system,
More specifically, the present invention relates to a mutual monitoring processing method of a multiplexing system for mutually monitoring the normality of each processor of a multiprocessor.

高信頼システムを実現するために,複数のプロセッサ
を結合してマルチプロセッサシステム,即ち多重化シス
テムとすることが行われる。この場合,多重化されたプ
ロセッサの各々について正常に動作しているか(正常
性)を監視する必要がある。
In order to realize a highly reliable system, a plurality of processors are combined to form a multiprocessor system, that is, a multiplex system. In this case, it is necessary to monitor whether each of the multiplexed processors is operating normally (normality).

〔従来の技術〕[Conventional technology]

第8図は従来技術説明図であり,従来の相互監視の方
式を示している。
FIG. 8 is an explanatory diagram of a conventional technique, and shows a conventional mutual monitoring method.

第8図において,1又はCPU0及びCPU1はプロセッサ又は
中央処理装置(CPU),6は相互監視専用装置,7はCPU間通
信手段である。
In FIG. 8, 1 or CPU0 and CPU1 are processors or central processing units (CPUs), 6 is a mutual monitoring dedicated device, and 7 is communication means between CPUs.

各プロセッサCPU0及びCPU1の監視のために,相互監視
専用装置6が,各プロセッサCPU0及びCPU1とは別に設け
られる。各プロセッサCPU0及びCPU1は,相互監視専用装
置6を介して,定期的に互いに他方に対して割込みの発
生又はメッセージの送受信を行う。この割込みの発生又
はメッセージの送受信が所定の時刻に行われなかった場
合に,各プロセッサCPU0及びCPU1は,互いに他方に異常
が発生したと判断して所定の異常検出処理を行う。
A mutual monitoring dedicated device 6 is provided separately from the processors CPU0 and CPU1 for monitoring the processors CPU0 and CPU1. The processors CPU0 and CPU1 periodically generate an interrupt or transmit / receive a message to / from each other via the mutual monitoring dedicated device 6. If this interrupt is not generated or the message transmission / reception is not performed at a predetermined time, each of the processors CPU0 and CPU1 determines that an abnormality has occurred in the other, and performs a predetermined abnormality detection process.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

前述の従来技術によれば,各プロセッサCPU0及びCPU1
が正常であっても相互監視専用装置6に異常が発生した
場合に,プロセッサCPU0又はCPU1に異常が発生したと誤
認されてしまうという問題があった。
According to the prior art described above, each processor CPU0 and CPU1
However, if an error occurs in the mutual monitoring device 6 even if the status is normal, there is a problem that it is erroneously recognized that an error has occurred in the processor CPU0 or CPU1.

また,これを防止するためには,各プロセッサCPU0及
びCPU1の間に,相互監視専用装置6及び通常のバスの他
に,別にCPU間通信手段7を設け,異常箇所を特定しな
ければならず,システムが複雑になり多重化が制約され
るという問題があった。
In order to prevent this, between the processors CPU0 and CPU1, in addition to the mutual monitoring device 6 and the normal bus, a separate inter-CPU communication means 7 must be provided to identify the abnormal point. However, there is a problem that the system becomes complicated and multiplexing is restricted.

本発明は,正確にプロセッサの正常性を監視し多重化
の制約をなくした多重化システムの相互監視処理方式を
提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a mutual monitoring processing method for a multiplexing system in which the normality of a processor is accurately monitored and restrictions on multiplexing are eliminated.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の原理構成図であり,本発明による多
重化システムを示している。
FIG. 1 is a block diagram showing the principle of the present invention, and shows a multiplexing system according to the present invention.

第1図において,1又はCPU0ないしCPU13はプロセッサ
又は中央処理装置(CPU),2又はM0及びM1は共通メモリ,
3は割込み発生部,4は異常監視部,20は記憶部,21又はEF0
ないしEF3はエラーフラグである。
In FIG. 1, 1 or CPU0 to CPU13 are processors or central processing units (CPU), 2 or M0 and M1 are common memories,
3 is an interrupt generation unit, 4 is an abnormality monitoring unit, 20 is a storage unit, and 21 or EF0
Or EF3 is an error flag.

複数のプロセッサCPU0ないしCPU3は,結合されてマル
チプロセッサシステム,即ち多重化システムを構成す
る。このプロセッサCPU0ないしCPU3に共通のメモリとし
て,1又は2以上の共通メモリM0及びM1が設けられる。共
通メモリM0及びM1は,これらの各々を介してプロセッサ
CPU0ないしCPU3が互いに接続されるように設けられる。
The plurality of processors CPU0 to CPU3 are combined to form a multiprocessor system, that is, a multiplex system. One or more common memories M0 and M1 are provided as memories common to the processors CPU0 to CPU3. The common memories M0 and M1 are connected to the processor via each of them.
CPU0 to CPU3 are provided so as to be connected to each other.

プロセッサCPU0ないしCPU3の各々には,割込み発生部
3と異常監視部4とが設けられる。
Each of the processors CPU0 to CPU3 is provided with an interrupt generation unit 3 and an abnormality monitoring unit 4.

割込み発生部3は,所定の時間間隔で識別番号付きの
割込み信号を形成し,これを前記間隔で共通メモリM0又
はM1を介して各プロセッサCPU0ないしCPU3に送出する。
この時,各プロセッサ1が相互に監視を行うために,前
記割込み信号は,少なくとも他のプロセッサ1(当該割
込み発生部3が属するプロセッサ1以外のプロセッサ
1)に送出される。識別番号は,当該割込み信号を送出
するプロセッサ1,受けるプロセッサ1及び経由する共通
メモリ2がいずれであるかによって,一意に定まる。プ
ロセッサ1及び共通メモリ2の数を各々n及びmとする
と,n×m個の識別番号が必要である。第1図において
は,n=4,m=2とし,8個の識別番号付きの割込み信号を
各々 で表している。例えば,プロセッサCPU0の割込み発生部
3は、共通メモリM0を介して 共通メモリM1を介して 各プロセッサCPU0ないしCPU3に送出する。即ち,m=2個
の前記割込み信号を送出する。
The interrupt generation unit 3 forms an interrupt signal with an identification number at a predetermined time interval and sends it to each of the processors CPU0 to CPU3 via the common memory M0 or M1 at the interval.
At this time, the interrupt signal is sent to at least another processor 1 (a processor 1 other than the processor 1 to which the interrupt generating unit 3 belongs) so that the processors 1 mutually monitor. The identification number is uniquely determined depending on which of the processor 1 sends the interrupt signal, the processor 1 that receives the interrupt signal, and the common memory 2 that passes through the processor. Assuming that the numbers of the processors 1 and the common memory 2 are n and m, respectively, n × m identification numbers are required. In FIG. 1, n = 4 and m = 2, and eight interrupt signals with identification numbers It is represented by For example, the interrupt generation unit 3 of the processor CPU0 is connected via the common memory M0. Via common memory M1 It is sent to each processor CPU0 or CPU3. That is, m = 2 interrupt signals are transmitted.

異常監視部4は,共通メモリM0及びM1を介して,プロ
セッサCPU0ないしCPU3の割込み発生部3から送出された
識別番号付きの割込み信号 を受ける。この時,各プロセッサ1が相互に監視を行う
ために,少なくとも他のプロセッサ1(当該異常監視部
4が属するプロセッサ1以外のプロセッサ1)からの前
記割込み信号を受けるようにされる。そして,異常監視
部4は,信号 の有無によって,異常発生の有無について判断する。
The abnormality monitoring unit 4 is an interrupt signal with an identification number transmitted from the interrupt generation unit 3 of the processors CPU0 to CPU3 via the common memories M0 and M1. Receive. At this time, in order for the processors 1 to monitor each other, the interrupt signal is received from at least another processor 1 (processor 1 other than the processor 1 to which the abnormality monitoring unit 4 belongs). Then, the abnormality monitoring unit 4 outputs a signal The presence or absence of an error is used to determine whether an abnormality has occurred.

共通メモリM0において,信号 その各々に対応して予め定められた記憶部20に書き込ま
れ,直ちに読み出されてプロセッサCPU0ないしCPU3に送
出される。従って,共通メモリM0が,それを共有してい
るプロセッサCPU0ないしCPU3に対して,識別番号付きの
割込みを発生させる機能を持つと言うこともできる。共
通メモリM1も同様である。
In the common memory M0, the signal The data is written into a predetermined storage unit 20 corresponding to each of them, read out immediately and sent to the processors CPU0 to CPU3. Therefore, it can be said that the common memory M0 has a function of generating an interrupt with an identification number for the processors CPU0 to CPU3 sharing the same. The same applies to the common memory M1.

エラーフラグEF0ないしEF3は,異常監視部4での異常
発生の判断の結果を記録するものであり,プロセッサCP
U0ないしCPU3の各々に対応して設けられる。
The error flags EF0 to EF3 are for recording the result of the abnormality monitoring unit 4 determining that an abnormality has occurred.
It is provided corresponding to each of U0 to CPU3.

プロセッサCPU0ないしCPU3,共通メモリM0及びM1は,
各々,同一の構成を有する。
Processors CPU0 to CPU3 and common memories M0 and M1 are
Each has the same configuration.

〔作 用〕(Operation)

第2図は本発明の作用説明図であり,識別番号付きの
割込み信号の送受信の様子を示している。
FIG. 2 is a diagram for explaining the operation of the present invention, and shows how an interrupt signal with an identification number is transmitted and received.

例えば,プロセッサCPU2に着目すると,その割込み発
生部3は,共通メモリM0及びM1を介して,各々,信号 プロセッサCPU0ないしCPU3に送出する。一方,プロセッ
サCPU2の異常監視部4は,共通メモリM0を介して信号 共通メモリM1を介して信号 を受信する。
For example, when focusing on the processor CPU2, the interrupt generation unit 3 sends the signals via the common memories M0 and M1, respectively. Send to processor CPU0 or CPU3. On the other hand, the abnormality monitoring unit 4 of the processor CPU2 sends a signal via the common memory M0. Signal via common memory M1 To receive.

今,例えば,信号 が共に受信できなかった(識別番号「0」及び「4」の
割込みがなかった)場合,異常監視部4は,当該識別番
号に対応するプロセッサCPU0に異常が発生したと判断す
る。識別番号「0」はプロセッサCPU0又は共通メモリM0
に対応し,識別番号「4」はプロセッサCPU0又は共通メ
モリM1に対応することから,プロセッサCPU0が一意に求
まる。この後,異常監視部4は,自己(のプロセッサCP
U2)に対応する共通メモリM0及びM1内のエラーフラグEF
2において,プロセッサCPU0の異常を示すエラービット
を“1"とする(記録する)。
Now, for example, a signal Are not received (there is no interruption of identification numbers “0” and “4”), the abnormality monitoring unit 4 determines that an abnormality has occurred in the processor CPU0 corresponding to the identification number. The identification number “0” is the processor CPU0 or the common memory M0
And the identification number "4" corresponds to the processor CPU0 or the common memory M1, so that the processor CPU0 is uniquely obtained. After that, the abnormality monitoring unit 4 starts
Error flag EF in common memory M0 and M1 corresponding to U2)
In step 2, the error bit indicating the abnormality of the processor CPU0 is set to "1" (recorded).

同様に,例えば,信号 が共に受信できなかった場合,異常監視部4は,当該識
別番号に対応する共通メモリM1に異常が発生したと判断
する。そして,正確な共通メモリM0のエラーフラグEF2
において,共通メモリM1の異常を示すエラービットを
“1"とする。
Similarly, for example, the signal Are not received, the abnormality monitoring unit 4 determines that an abnormality has occurred in the common memory M1 corresponding to the identification number. And the correct error flag EF2 of the common memory M0
, The error bit indicating the abnormality of the common memory M1 is set to “1”.

なお,信号 のいずれか例えば信号 が受信できなかったもののプロセッサCPU0又は共通メモ
リM0の異常と判断できない場合には,接続線(ケーブル
等)に異常が発生したと判断することができる。更に,
この場合,他のプロセッサCPU1及びCPU3においても信号 が受信できない時はプロセッサCPU0と共通メモリM0との
間の接続線の異常であり,プロセッサCPU2のみで信号 が受信できない時は共通メモリM0とプロセッサCPU2との
間の接続線の異常であることを知ることができる。これ
は,エラーフラグEF2に記録される。
The signal Either of the signal Is not received, but it cannot be determined that an abnormality has occurred in the processor CPU0 or the common memory M0, it can be determined that an abnormality has occurred in the connection line (cable or the like). Furthermore,
In this case, the signals are also sent to the other processors CPU1 and CPU3. If the signal cannot be received, the connection between the processor CPU0 and the common memory M0 is abnormal. Can not be received, it can be known that the connection line between the common memory M0 and the processor CPU2 is abnormal. This is recorded in the error flag EF2.

他のプロセッサCPU0,CPU1及びCPU3においても同様に
異常の発生の有無が検出され,その結果は共通メモリM0
及び/又はM1内のエラーフラグEF0,EF1及びEF3に記録さ
れる。
In the other processors CPU0, CPU1 and CPU3, the presence / absence of an abnormality is also detected, and the result is output to the common memory M0.
And / or recorded in error flags EF0, EF1 and EF3 in M1.

〔実施例〕〔Example〕

第3図は実施例構成図であり,1つのプロセッサ例えば
CPU0の構成を示している。
FIG. 3 is a block diagram of the embodiment.
2 shows the configuration of CPU0.

第3図において,30ないし33は各々CPU0ないしCPU3割
込み部,40はCPU異常検出処理部,41は共通メモリ異常検
出処理部,5はシステム状態監視部である。
In FIG. 3, 30 to 33 are CPU0 to CPU3 interrupt units, 40 is a CPU abnormality detection processing unit, 41 is a common memory abnormality detection processing unit, and 5 is a system state monitoring unit.

以下,第4図ないし第7図を参照して,各部の行う処
理について説明する。
Hereinafter, the processing performed by each unit will be described with reference to FIGS. 4 to 7.

第4図は割込み発生処理フローであり,CPU0割込み部3
0の行う処理について示している。
FIG. 4 shows an interrupt generation processing flow.
0 shows the processing to be performed.

予め定められた所定の時間が経過するのを待つ。 It waits for a predetermined time to elapse.

所定時間が経過したら,共通メモリM0を経由してプ
ロセッサCPU0に対して識別番号0の割込みを発生させる 次に,共通メモリM1を経由してプロセッサCPU0に対
して識別番号4の割込みを発生させる。この後,処理
に戻る。
After a lapse of a predetermined time, an interrupt of identification number 0 is generated for the processor CPU0 via the common memory M0. Next, an interrupt of identification number 4 is generated for the processor CPU0 via the common memory M1. Thereafter, the process returns.

以上により,CPU0割込み部30は,所定の時間間隔でプ
ロセッサCPU0に対して信号 を送出する。
As described above, the CPU0 interrupt unit 30 sends a signal to the processor CPU0 at predetermined time intervals. Is sent.

同様に,CPU1ないしCPU3割込み部31ないし33は,所定
の時間間隔でプロセッサCPU1ないしCPU3に対して,各
々,信号 を送出する。従って,この例では,信号 が各々4つ存在する。
Similarly, CPU1 to CPU3 interrupt units 31 to 33 send signals to processors CPU1 to CPU3 at predetermined time intervals, respectively. Is sent. Therefore, in this example, the signal There are four each.

他のプロセッサCPU1ないしCPU3においても,CPU0ない
しCPU3割込み部31ないし33が設けられ,所定の信号を送
出する。
In the other processors CPU1 to CPU3, CPU0 to CPU3 interrupt units 31 to 33 are provided, and transmit predetermined signals.

第5図は,異常監視処理フローであり,異常監視部4
の行う処理を示している。
FIG. 5 is a flowchart of the abnormality monitoring process, in which the abnormality monitoring unit 4
Shows the processing to be performed.

信号 が所定の時間間隔で送出されるので信号 の全てが送出されるのを待つため,予め定められた所定
時間の経過を待つ。
signal Is transmitted at predetermined time intervals, Is waited for a predetermined time to elapse.

所定時間が経過したら,信号 の全てを受信したか,即ち,識別番号0ないし7の全て
の割込みが発生しているかを調べる。
After a predetermined time, a signal , That is, whether all interrupts with identification numbers 0 to 7 have occurred.

全ての割込みが発生している場合,正常であると判断
して,処理に戻る。
If all the interrupts have occurred, it is determined that it is normal, and the process returns.

発生していない割込みがある場合,異常が発生した
と判断して,その種別を知るために,まずプロセッサ1
の異常について判断する。
If there is an interrupt that has not occurred, it is determined that an error has occurred, and the processor 1
Is determined for abnormalities.

識別番号0及び4の割込みが共に発生していない場
合,プロセッサCPU0に異常が発生したと判断し,これに
ついての異常検出処理をCPL異常検出処理部40によって
行う(後述する)。更に他のプロセッサCPU1ないしCPU3
についても,同様に異常発生の有無について調べ,異常
があれば異常検出処理を行う。
If the interrupts of the identification numbers 0 and 4 have not occurred, it is determined that an abnormality has occurred in the processor CPU0, and the abnormality detection processing for this is performed by the CPL abnormality detection processing unit 40 (described later). Still other processors CPU1 to CPU3
For, the presence or absence of an abnormality is similarly checked, and if there is an abnormality, an abnormality detection process is performed.

プロセッサ1の異常についての判断の後,共通メモ
リ2の異常について判断する。
After determining the abnormality of the processor 1, the abnormality of the common memory 2 is determined.

識別番号0ないし3の割込みが全て発生していない場
合,共通メモリM0に異常が発生したと判断し,これにつ
いての異常検出処理を共通メモリ異常検出処理部41によ
って行う(後述する)。共通メモリM1についても,同様
の処理を行う。
If all of the interrupts with identification numbers 0 to 3 have not occurred, it is determined that an abnormality has occurred in the common memory M0, and an abnormality detection process for this is performed by the common memory abnormality detection processing unit 41 (described later). The same processing is performed for the common memory M1.

前記以外の場合,プロセッサ1と共通メモリ2とを
接続する接続線の異常と判断し,前述の如く異常箇所を
特定し,異常監視部4が異常検出処理を行う。
In cases other than the above, it is determined that the connection line connecting the processor 1 and the common memory 2 is abnormal, the abnormal part is specified as described above, and the abnormality monitoring unit 4 performs abnormality detection processing.

この後,処理に戻る。 Thereafter, the process returns.

以上により,プロセッサCPU0ないしCPU3において,シ
ステムの各要素についての異常監視が行われる。
As described above, in the processors CPU0 to CPU3, abnormality monitoring of each element of the system is performed.

第6図はCPU異常検出処理フローであり,1つのプロセ
ッサCPUm(mは0ないし3のいずれか)のCPU異常検出
処理部40の行う処理を示している。
FIG. 6 is a flowchart of the CPU abnormality detection processing, showing the processing performed by the CPU abnormality detection processing unit 40 of one processor CPUm (m is any one of 0 to 3).

異常監視処理の結果に従って,検出したプロセッサ
CPUn(nはm以外の0ないし3のいずれか)の異常を,
共通メモリM0及びM1の対応するエラーフラグEFmに記録
する。
Processor detected according to the result of error monitoring processing
CPUn (n is any of 0 to 3 other than m)
It is recorded in the corresponding error flag EFm of the common memories M0 and M1.

プロセッサCPUn以外の他のプロセッサも,プロセッ
サCPUnの異常を記録しているかを,他のプロセッサに対
応するエラーフラグEFを参照して調べる。
The other processors other than the processor CPUn check whether or not the processor CPUn is abnormal by referring to the error flag EF corresponding to the other processor.

他のプロセッサもプロセッサCPUnの異常を記録して
いる場合,プロセッサCPUnに実際に異常が発生したと判
断する。
If another processor also records an abnormality in the processor CPUn, it is determined that an abnormality has actually occurred in the processor CPUn.

他のプロセッサがプロセッサCPUnの異常を記録して
いない場合,当該プロセッサCPUmに対する識別番号付き
の割込みを発生させるプロセッサCPUnの割込み部に異常
が発生したと判断する。
If another processor has not recorded an abnormality in the processor CPUn, it is determined that an abnormality has occurred in the interrupt section of the processor CPUn that generates an interrupt with an identification number for the processor CPUm.

第7図は共通メモリ異常検出処理フローであり,1つの
プロセッサCPUα(αは0ないし3のいずれか)の共通
メモリ異常検出処理部41の行う処理を示している。なお
βはα以外の0ないし3のいずれかを表す。
FIG. 7 is a flowchart of the common memory abnormality detection processing flow, showing the processing performed by the common memory abnormality detection processing unit 41 of one processor CPU α (α is any of 0 to 3). Β represents any of 0 to 3 other than α.

異常監視処理の結果に従って,検出した共通メモリ
Mn(nは0又は1)の異常を,共通メモリMn以外の共通
メモリの対応するエラーフラグEFαに記録する。
Common memory detected according to the result of the error monitoring process
Mn abnormality of (n is 0 or 1), and records the error flag EF alpha corresponding common memory other than the common memory Mn.

他のプロセッサも,共通メモリMnの異常を記録して
いるかを,他のプロセッサに対応するエラーフラグEFを
参照して調べる。
The other processors also check whether the abnormality of the common memory Mn is recorded by referring to the error flag EF corresponding to the other processor.

他のプロセッサも共通メモリMnの異常を記録してい
る場合,共通メモリMnに実際に異常が発生したと判断す
る。
If another processor records an abnormality in the common memory Mn, it is determined that an abnormality has actually occurred in the common memory Mn.

他のプロセッサが共通メモリMnの異常を記録してい
ない場合,当該プロセッサCPUαに対する識別番号付き
の割込みを発生させるプロセッサの割込み部に異常が発
生したと判断する。
If another processor has not recorded an abnormality in the common memory Mn, it is determined that an abnormality has occurred in the interrupt section of the processor that generates an interrupt with an identification number for the processor CPU α .

異常検出処理の結果は,全て共通メモリM0及び/又は
M1に記録される。各プロセッサCPU0ないしCPU3のシステ
ム状態監視部5は,所定の周期毎に前記結果を参照し,
システムの状態を監視する。
The results of the abnormality detection processing are all stored in the common memory M0 and / or
Recorded in M1. The system status monitoring unit 5 of each of the processors CPU0 to CPU3 refers to the result at a predetermined cycle, and
Monitor system status.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,多重化システ
ムの相互監視処理において,識別番号付きの割込み信号
を所定の時間間隔で共通メモリを介して少なくとも他の
プロセッサに送出することによって,異常の発生を正確
に知ると共にその場所を正しく特定することができ,ま
た,システムが特に複雑になることもないのでプロセッ
サ及び共通メモリの数(多重化数)の制限をなくすこと
ができ,多重化数を多くして極めて信頼性の高いシステ
ムを構築することができる。
As described above, according to the present invention, in the mutual monitoring processing of the multiplexing system, an interrupt signal with an identification number is transmitted to at least another processor via the common memory at a predetermined time interval, whereby an abnormality is detected. The occurrence can be known accurately and its location can be specified correctly. In addition, since the system does not become particularly complicated, the number of processors and the number of common memories (multiplexing number) can be eliminated, and the number of multiplexing can be reduced. And an extremely reliable system can be constructed.

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

第1図は本発明の原理構成図, 第2図は本発明の作用説明図, 第3図は実施例構成図, 第4図は割込み発生処理フロー, 第5図は異常監視処理フロー, 第6図はCPU異常検出処理フロー, 第7図は共通メモリ異常検出処理フロー, 第8図は従来技術説明図。 1又はCPU0ないしCPU3はプロセッサ又は中央処理装置
(CPU),2又はM0及びM1は共通メモリ,3は割込み発生部,
4は異常監視部,20は記憶部,21又はEF0ないしEF3はエラ
ーフラグである。
FIG. 1 is a diagram illustrating the principle of the present invention, FIG. 2 is a diagram illustrating the operation of the present invention, FIG. 3 is a diagram illustrating the configuration of the embodiment, FIG. 4 is an interrupt generation processing flow, FIG. FIG. 6 is a flowchart of a CPU abnormality detection process, FIG. 7 is a flowchart of a common memory abnormality detection process, and FIG. 1 or CPU0 to CPU3 is a processor or central processing unit (CPU), 2 or M0 and M1 is a common memory, 3 is an interrupt generator,
4 is an abnormality monitoring unit, 20 is a storage unit, 21 or EF0 to EF3 are error flags.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のプロセッサ(1)を結合してなる多
重化システムにおいて、 前記複数のプロセッサ(1)と夫々接続するようにもう
けられた、少なくとも2個の共通メモリ(2)をそなえ
ると共に、 前記複数のプロセッサ(1)の各々に、前記複数の共通
メモリ(2)の夫々を介して他のプロセッサ(1)に対
し所定の時間間隔で識別番号付きの割込み信号を送出す
る割込み発生部(3)と、前記複数の共通メモリ(2)
の夫々を介して前記他のプロセッサ(1)からの前記識
別番号付きの割込み信号を受信する異常監視部(4)と
を設け、 前記異常監視部(4)が、同一のプロセッサ(1)から
の前記識別番号付きの割込み信号を前記複数の共通メモ
リ(2)から夫々共に受信できなかった第1の受信態様
時に当該識別番号に対応する前記プロセッサ(1)に異
常が発生したものと判断し、かつ複数の夫々のプロセッ
サ(1)からの前記識別番号付きの割込み信号を前記複
数の共通メモリ(2)のいずれか1つ経由ですべて受信
できなかった第2の受信態様時に当該受信できなかった
共通メモリ(2)に異常が発生したと判断し、かつ識別
番号付きのすべての割込み信号のうちのいずれか1つで
も受信できていない受信態様であって上記第1の受信態
様と上記第2の受信態様との両者以外の受信態様である
場合に上記夫々のプロセッサと上記夫々の共通メモリと
の間の接続線に異常が発生したと判断するようにした ことを特徴とする多重化システムの相互監視処理方式。
1. A multiplexing system comprising a plurality of processors (1), comprising at least two common memories (2) provided to be connected to the plurality of processors (1), respectively. An interrupt generation unit that sends an interrupt signal with an identification number to each of the plurality of processors (1) at predetermined time intervals to another processor (1) via each of the plurality of common memories (2); (3) the plurality of common memories (2)
And an abnormality monitoring unit (4) for receiving the interrupt signal with the identification number from the other processor (1) via each of the above-mentioned processors, wherein the abnormality monitoring unit (4) is provided from the same processor (1). It is determined that an abnormality has occurred in the processor (1) corresponding to the identification number in the first reception mode in which the interrupt signal with the identification number cannot be received from each of the plurality of common memories (2). And the interruption signal with the identification number from each of the plurality of processors (1) cannot be received in the second reception mode in which all of the interruption signals with the identification number cannot be received via any one of the plurality of common memories (2). It is determined that an abnormality has occurred in the common memory (2), and at least one of the interrupt signals with identification numbers has not been received. When the receiving mode is other than the second receiving mode, it is determined that an abnormality has occurred in a connection line between each of the processors and each of the common memories. Mutual monitoring processing method of the system.
JP1025221A 1989-02-03 1989-02-03 Mutual monitoring processing method of multiplex system Expired - Fee Related JP2580311B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1025221A JP2580311B2 (en) 1989-02-03 1989-02-03 Mutual monitoring processing method of multiplex system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1025221A JP2580311B2 (en) 1989-02-03 1989-02-03 Mutual monitoring processing method of multiplex system

Publications (2)

Publication Number Publication Date
JPH02205966A JPH02205966A (en) 1990-08-15
JP2580311B2 true JP2580311B2 (en) 1997-02-12

Family

ID=12159912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1025221A Expired - Fee Related JP2580311B2 (en) 1989-02-03 1989-02-03 Mutual monitoring processing method of multiplex system

Country Status (1)

Country Link
JP (1) JP2580311B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6165354A (en) * 1984-09-07 1986-04-03 Hitachi Ltd Detecting system of troubled processor
JPS6224330A (en) * 1985-07-24 1987-02-02 Hitachi Ltd Fault detecting system for multi-processor
JPS63100563A (en) * 1986-10-16 1988-05-02 Nissin Electric Co Ltd Faulty processor detecting system
JPS63201863A (en) * 1987-02-18 1988-08-19 Hitachi Ltd Information transfer system
JPS63273140A (en) * 1987-04-30 1988-11-10 Fuji Electric Co Ltd Mutual check system

Also Published As

Publication number Publication date
JPH02205966A (en) 1990-08-15

Similar Documents

Publication Publication Date Title
JPH01293450A (en) Troubled device specifying system
JPH0738183B2 (en) Communication processing method between central processing units
JP2580311B2 (en) Mutual monitoring processing method of multiplex system
US6934784B2 (en) Systems and methods for managing-system-management-event data
JP2538876B2 (en) Data processing device with common bus structure
JP2580558B2 (en) Interface device
JPS6112580B2 (en)
JP2937857B2 (en) Lock flag release method and method for common storage
JPH0934852A (en) Cluster system
WO2023028741A1 (en) Advanced extensible interface bus and on-chip system
JPS63201863A (en) Information transfer system
JPS6353575B2 (en)
JPH05224964A (en) Bus abnormality information system
JPH0726762Y2 (en) Bus mismatch circuit
JPS5918741B2 (en) Automatic diagnosis method
JPH02205910A (en) Time correction processing method for multiplexing system
JP2699899B2 (en) Fault information collection device
JPH0324601A (en) Control method
JPH06103251A (en) Monitor and control system for information processor
JPH10124338A (en) Parallel processor
JPH0434184B2 (en)
KR930002857B1 (en) System formation table making-up method for multi-processor system
JPH07117904B2 (en) Diagnostic method during operation of multiplex system
JPH0496847A (en) Bus monitor system
JPS624746B2 (en)

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees