JPH0594427A - Fault monitor system for decentralized processor system - Google Patents

Fault monitor system for decentralized processor system

Info

Publication number
JPH0594427A
JPH0594427A JP3278910A JP27891091A JPH0594427A JP H0594427 A JPH0594427 A JP H0594427A JP 3278910 A JP3278910 A JP 3278910A JP 27891091 A JP27891091 A JP 27891091A JP H0594427 A JPH0594427 A JP H0594427A
Authority
JP
Japan
Prior art keywords
processor system
sub
signal
main processor
port
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
JP3278910A
Other languages
Japanese (ja)
Inventor
Katsumi Hashimoto
克己 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3278910A priority Critical patent/JPH0594427A/en
Publication of JPH0594427A publication Critical patent/JPH0594427A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To easily operate the fault processing of a decentralized processor system. CONSTITUTION:A sub-processor system 1 is equipped with a port 11, and logical '1' and '0' signals are outputted through the port 11 to a monitoring signal line 4 of a communication line 3 by a program. A main processor system 2 is equipped with a retriggerable monostable multivibrator 21 which inputs the monitoring signal from the sub-processor system 1 as a trigger signal, and outputs a signal having a pulse width which is longer than the one cycle of the monitoring signal, and shorter than the two cycles of the monitoring signal. The output of the pertinent retriggerable monostable multivibrator 21 is inputted to the interruption terminal of a CPU 22. The retriggerable monostable multivibrator 21 detects that the monitoring signal is not periodically outputted due to the abnormal operation of the sub-processor system 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は分散プロセッサシステム
の障害監視方式に係り、特に副プロセッサシステムの障
害検出方式を実現するための分散プロセッサシステムの
障害監視方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fault monitoring system for a distributed processor system, and more particularly to a fault monitoring system for a distributed processor system for realizing a fault detection system for a secondary processor system.

【0002】[0002]

【従来の技術】従来の分散プロセッサシステムにおい
て、副プロセッサシステムの動作監視の一つの方式とし
て、主プロセッサシステムより副プロセッサシステムに
対し定期的に動作監視用のコマンドを送信し、副プロセ
ッサシステムは上記コマンドを受信するとこれに対する
応答コマンドを返送するようにし、主プロセッサシステ
ムにおいて副プロセッサシステムからの応答を監視する
タイマー監視方式がある。
2. Description of the Related Art In a conventional distributed processor system, as a method of monitoring the operation of a sub processor system, a command for operation monitoring is periodically transmitted from the main processor system to the sub processor system, and the sub processor system is operated as described above. There is a timer monitoring method in which when a command is received, a response command to the command is sent back, and the main processor system monitors the response from the sub processor system.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の動作監
視方式では、主プロセッサシステムと副プロセッサシス
テムの双方に動作監視用のコマンドを処理するプログラ
ムが必要であるという課題があり、また、本来の処理に
加え負荷がかかるという課題があった。また、通信回路
上で上記コマンドと応答コマンドを送受信するため通信
回路のトラヒックが増すという課題があり、さらに副プ
ロセッサシステムでは本来の処理に非同期に動作監視の
コマンドを処理する必要がありプログラムが複雑になり
バグが発生しやすくなるという課題があった。
The above-described conventional operation monitoring method has a problem that both the main processor system and the sub processor system need a program for processing a command for operation monitoring. There was a problem that a load was added to the processing. Also, there is a problem that the traffic of the communication circuit increases because the above-mentioned command and response command are transmitted and received on the communication circuit. Furthermore, in the secondary processor system, it is necessary to process the operation monitoring command asynchronously with the original processing, and the program is complicated. However, there was a problem that bugs are likely to occur.

【0004】[0004]

【課題を解決するための手段】本発明の分散プロセッサ
システムの障害監視方式は、主プロセッサシステムと、
この主プロセッサシステムの制御により分散処理を行う
副プロセッサシステムと、上記主プロセッサシステムと
上記副プロセッサシステムを接続する通信回路とから構
成される分散プロセッサシステムにおいて、上記主プロ
セッサシステムが上記副プロセッサシステムの動作監視
を行うため、上記通信回路に1本の信号線を追加し、こ
の副プロセッサシステムには上記信号線の1端に接続さ
れたポートを備え、上記副プロセッサシステムのプログ
ラムは上記ポートに交互に論理「1」,「0」のデータ
を周期的に書き込む書込手段を有し、一方の主プロセッ
サシステムには、上記信号線の1端に上記副プロセッサ
システムより送られてくる「1」,「0」交番の信号を
トリガー信号として入力し、その出力を上記主プロセッ
サシステムのCPUの割り込み入力に接続しておき、ト
リガー信号の1周期より長く2周期より短い周期のパル
ス信号を発生するリトリガブルモノステーブルマルチバ
イブレータを有するものである。
A fault monitoring system for a distributed processor system according to the present invention comprises a main processor system,
In a distributed processor system including a sub processor system that performs distributed processing under the control of the main processor system, and a communication circuit that connects the main processor system and the sub processor system, the main processor system is the sub processor system. In order to monitor the operation, one signal line is added to the communication circuit, the sub processor system has a port connected to one end of the signal line, and the program of the sub processor system alternates to the port. Has a writing means for periodically writing data of logic "1" and "0", and one main processor system has "1" sent from the sub processor system to one end of the signal line. , "0" alternating signal is input as a trigger signal and its output is the CP of the main processor system. Leave connection to the interrupt input, and has a retriggerable monostable multivibrator for generating a pulse signal having a period shorter than two periods longer than one period of the trigger signal.

【0005】[0005]

【作用】本発明においては、分散プロセッサシステムの
障害処理を容易にする。
In the present invention, the fault processing of the distributed processor system is facilitated.

【0006】[0006]

【実施例】図1は本発明の一実施例を示すブロック図で
ある。この図1において、2は主プロセッサシステム、
1はこの主プロセッサシステム2の制御により分散処理
を行う副プロセッサシステム、3は主プロセッサシステ
ム2と副プロセッサシステム1を接続し通信を行うため
の通信路である通信回路、4はこの通信回路3内に設け
られた監視信号線である。そして、副プロセッサシステ
ム1は、CPU12とプログラムメモリ13およびCP
Uバス14により構成されており、さらに、監視信号線
4に主プロセッサシステム2の動作監視のための信号を
出力するポート11を有し、プログラムメモリ13には
周期的にポート11に信号「1」と信号「0」を交互に
書き込むプログラムが格納されている。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, 2 is a main processor system,
Reference numeral 1 denotes a sub-processor system that performs distributed processing under the control of the main processor system 2, 3 is a communication circuit that is a communication path for connecting the main processor system 2 and the sub-processor system 1 for communication, and 4 is the communication circuit 3 It is a monitoring signal line provided inside. The sub processor system 1 includes the CPU 12, the program memory 13 and the CP.
The U bus 14 is further provided with a port 11 for outputting a signal for monitoring the operation of the main processor system 2 to the supervisory signal line 4, and the program memory 13 periodically sends a signal "1" to the port 11. , And a signal "0" are written alternately.

【0007】一方、主プロセッサシステム2はCPU2
2とプログラムメモリ23およびCPUバス24により
構成されており、さらに、監視信号線4を入力して一定
周期のパルス信号を出力するリトリガブルモノステーブ
ルマルチバイブレータ21を有し、このリトリガブルモ
ノステーブルマルチバイブレータ21の出力はCPU2
2の割り込み端子に接続されている。また、プログラム
メモリ23には、上記割り込みにより起動され割り込み
要因を解析し副プロセッサシステム1の異常処理を行う
プログラムが格納されている。ここで、副プロセッサシ
ステム1のCPU12とプログラムメモリ13は、ポー
ト11に交互に論理「1」,「0」のデータを周期的に
書き込む書込手段を構成している。
On the other hand, the main processor system 2 is the CPU 2
2 and a program memory 23 and a CPU bus 24, and further has a retriggerable monostable multivibrator 21 which inputs the monitoring signal line 4 and outputs a pulse signal of a constant cycle. The output of the table multivibrator 21 is the CPU 2
2 is connected to the interrupt terminal. Further, the program memory 23 stores a program which is activated by the above-mentioned interrupt and analyzes an interrupt factor to perform an abnormal process of the sub processor system 1. Here, the CPU 12 and the program memory 13 of the sub processor system 1 constitute a writing unit that alternately writes data of logic “1” and “0” to the port 11.

【0008】このように、主プロセッサシステム2が副
プロセッサシステム1の動作監視を行うため、通信回路
3に1本の監視信号線4を追加し、この副プロセッサシ
ステム1にはこの監視信号線4の1端に接続されたポー
ト11を備え、副プロセッサシステム1のプログラムは
ポート11に交互に論理「1」,「0」のデータを周期
的に書き込む書込手段を有し、一方の主プロセッサシス
テム2には、監視信号線4の1端に副プロセッサシステ
ム1より送られてくる「1」,「0」交番の信号をトリ
ガー信号として入力し、その出力を主プロセッサシステ
ム2のCPU22の割り込み入力に接続しておき、トリ
ガー信号の1周期より長く2周期より短い周期のパルス
信号を発生するリトリガブルモノステーブルマルチバイ
ブレータ21を有している。
As described above, since the main processor system 2 monitors the operation of the sub processor system 1, one supervisory signal line 4 is added to the communication circuit 3, and the supervisory signal line 4 is added to the sub processor system 1. Of the secondary processor system 1 has a writing means for writing data of logical "1" and "0" alternately to the port 11, and one main processor To the system 2, a signal of alternating "1" and "0" sent from the sub processor system 1 is input to one end of the monitoring signal line 4 as a trigger signal, and its output is interrupted by the CPU 22 of the main processor system 2. It has a retriggerable monostable multivibrator 21 that is connected to the input and generates a pulse signal with a period longer than 1 period and shorter than 2 periods of the trigger signal. To have.

【0009】図2は図1の動作説明に供するタイムチャ
ートで、(a)はポート11の書き込み信号を示したも
のであり、(b)はポート11の出力信号、(c)はリ
トリガブルモノステーブルマルチバイブレータ21の出
力信号を示したものである。
FIG. 2 is a time chart used to explain the operation of FIG. 1. (a) shows a write signal of the port 11, (b) is an output signal of the port 11, and (c) is a retriggerable signal. The output signal of the monostable multivibrator 21 is shown.

【0010】つぎに図1に示す実施例の動作を図2を参
照して説明する。まず、副プロセッサシステム1のCP
U12は予めプログラムメモリ13に書き込まれたプロ
グラムを読みだし動作する。ここで、プログラムにはプ
ログラムが正常に動作しているとき定期的に起動されポ
ート11に論理「1」,「0」を交互に書き込むプログ
ラムが組み込まれている。そして、このプログラムの動
作にしたがってポート11に図2の(a)に示す書き込
み信号aと論理「1」または論理「0」のデータが出力
され、ポート11に接続されている監視信号線4に周期
的に変化する図2の(b)に示すポート11の出力信号
bが出力される。そして、副プロセッサシステム1にお
いて暴走するなどの異常動作が発生すると、監視信号を
発生させるプログラムも起動されなくなることから、ポ
ート11への書き込みが定期的に行われなくなるため、
監視信号線4へ出力されるポート11の出力信号bも異
常になる。
Next, the operation of the embodiment shown in FIG. 1 will be described with reference to FIG. First, the CP of the sub processor system 1
The U12 reads out a program written in the program memory 13 in advance and operates. Here, the program incorporates a program that is started up periodically when the program is operating normally and writes logic "1" and "0" alternately to the port 11. Then, in accordance with the operation of this program, the write signal a shown in FIG. 2A and the data of logic “1” or logic “0” are output to the port 11 and are output to the monitor signal line 4 connected to the port 11. The output signal b of the port 11 shown in FIG. 2B, which changes periodically, is output. Then, when an abnormal operation such as a runaway occurs in the sub processor system 1, the program for generating the monitoring signal is also not started, and therefore writing to the port 11 is not performed regularly,
The output signal b of the port 11 output to the monitoring signal line 4 also becomes abnormal.

【0011】つぎに、主プロセッサシステム2におい
て、監視信号線4を介して到来したポート11の出力信
号bをリトリガブルモノステーブルマルチバイブレータ
21のトリガ端子に入力する。ここで、このリトリガブ
ルモノステーブルマルチバイブレータ21はトリガ信号
の1周期より長く、2周期より短いパルスを発生するよ
うに出力パルス幅を設定されている。そして、副プロセ
ッサシステム1が正常に動作してポート11の出力信号
bが周期的に到来している間は、リトリガブルモノステ
ーブルマルチバイブレータ21の出力は再トリガがかか
るため論理「1」に固定されるが、副プロセッサシステ
ム1の動作が異常になり2周期以上信号が変化しなくな
るとリトリガブルモノステーブルマルチバイブレータ2
1の出力が論理「0」に変化する。そして、このリトリ
ガブルモノステーブルマルチバイブレータ21の出力は
CPU22の割り込み端子に接続されており、CPU2
2に割り込みが発生する。この割り込みによりプログラ
ムメモリ23に予め書き込まれている割り込み処理プロ
グラムが起動され、割り込みの要因を解析し副プロセッ
サシステム1に対する異常処理を行う。
Next, in the main processor system 2, the output signal b of the port 11 coming through the supervisory signal line 4 is input to the trigger terminal of the retriggerable monostable multivibrator 21. Here, the retriggerable monostable multivibrator 21 has an output pulse width set so as to generate a pulse longer than one cycle and shorter than two cycles of the trigger signal. Then, while the sub-processor system 1 operates normally and the output signal b of the port 11 periodically arrives, the output of the retriggerable monostable multivibrator 21 is retriggered and thus becomes a logic "1". Although fixed, if the operation of the sub-processor system 1 becomes abnormal and the signal does not change for more than 2 cycles, the retriggerable monostable multivibrator 2
The output of 1 changes to logic "0". The output of the retriggerable monostable multivibrator 21 is connected to the interrupt terminal of the CPU 22.
2 is interrupted. An interrupt processing program previously written in the program memory 23 is activated by this interrupt, the cause of the interrupt is analyzed, and abnormal processing for the sub processor system 1 is performed.

【0012】[0012]

【発明の効果】以上説明したように本発明は、分散プロ
セッサシステムの障害処理を容易にするようにしたの
で、分散プロセッサシステムにおいてそれぞれのプロセ
ッサシステムのプログラムを複雑にすることなく、ま
た、複雑なハードウェアを追加すること無く、主プロセ
ッサシステムが副プロセッサシステムの動作監視を容易
に行うことができる効果がある。
As described above, according to the present invention, the failure processing of the distributed processor system is facilitated. Therefore, in the distributed processor system, the program of each processor system is not complicated, and complicated processing is possible. There is an effect that the main processor system can easily monitor the operation of the sub processor system without adding hardware.

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

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

【図2】図1の動作説明に供するタイムチャートであ
る。
FIG. 2 is a time chart used for explaining the operation of FIG.

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

1 副プロセッサシステム 2 主プロセッサシステム 3 通信回路 4 監視信号線(信号線) 11 ポート 12 CPU 13 プログラムメモリ 14 CPUバス 21 リトリガブルモノステーブルマルチバイブレータ 22 CPU 23 プログラムメモリ 24 CPUバス 1 Sub Processor System 2 Main Processor System 3 Communication Circuit 4 Monitoring Signal Line (Signal Line) 11 Port 12 CPU 13 Program Memory 14 CPU Bus 21 Retriggerable Monostable Multivibrator 22 CPU 23 Program Memory 24 CPU Bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 主プロセッサシステムと、この主プロセ
ッサシステムの制御により分散処理を行う副プロセッサ
システムと、前記主プロセッサシステムと前記副プロセ
ッサシステムを接続する通信回路とから構成される分散
プロセッサシステムにおいて、前記主プロセッサシステ
ムが前記副プロセッサシステムの動作監視を行うため前
記通信回路に1本の信号線を追加し、この副プロセッサ
システムには前記信号線の1端に接続されたポートを備
え、前記副プロセッサシステムのプログラムは前記ポー
トに交互に論理「1」,「0」のデータを周期的に書き
込む書込手段を有し、一方の主プロセッサシステムに
は、前記信号線の1端に前記副プロセッサシステムより
送られてくる「1」,「0」交番の信号をトリガー信号
として入力し、その出力を前記主プロセッサシステムの
CPUの割り込み入力に接続しておき、トリガー信号の
1周期より長く2周期より短い周期のパルス信号を発生
するリトリガブルモノステーブルマルチバイブレータを
有することを特徴とする分散プロセッサシステムの障害
監視方式。
1. A distributed processor system comprising a main processor system, a sub processor system for performing distributed processing under the control of the main processor system, and a communication circuit connecting the main processor system and the sub processor system, The main processor system adds one signal line to the communication circuit to monitor the operation of the sub processor system, and the sub processor system has a port connected to one end of the signal line, The program of the processor system has write means for periodically writing data of logic "1" and "0" alternately to the port, and one main processor system has the sub processor at one end of the signal line. The signal of the alternating "1" and "0" sent from the system is input as a trigger signal, and the output Power is connected to the interrupt input of the CPU of the main processor system, and a retriggerable monostable multivibrator for generating a pulse signal having a cycle longer than one cycle and shorter than two cycles of the trigger signal is distributed. Fault monitoring method for processor system.
JP3278910A 1991-10-01 1991-10-01 Fault monitor system for decentralized processor system Pending JPH0594427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3278910A JPH0594427A (en) 1991-10-01 1991-10-01 Fault monitor system for decentralized processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3278910A JPH0594427A (en) 1991-10-01 1991-10-01 Fault monitor system for decentralized processor system

Publications (1)

Publication Number Publication Date
JPH0594427A true JPH0594427A (en) 1993-04-16

Family

ID=17603801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3278910A Pending JPH0594427A (en) 1991-10-01 1991-10-01 Fault monitor system for decentralized processor system

Country Status (1)

Country Link
JP (1) JPH0594427A (en)

Similar Documents

Publication Publication Date Title
JPH0594427A (en) Fault monitor system for decentralized processor system
JPH0588926A (en) Automatic switching circuit for monitor and control system
JPS6361337A (en) Automatic resetting method
JP2518517B2 (en) Communication bus monitoring device
JP2954040B2 (en) Interrupt monitoring device
KR100427789B1 (en) Data input / output method
JPH01120652A (en) Setting system for monitor time of input/output device
JP3055249B2 (en) Processor debugging method
JPH0675653A (en) Computer redundancy control system
JP2834062B2 (en) Information processing system
JPH05324407A (en) Cpu monitor system
JPH0535460B2 (en)
JPH0387790A (en) Synchronous switching circuit
JPS6038951A (en) Communication processing device
JPS6160010A (en) Priority circuit for advanced signal
JPH05257725A (en) CPU unit error transmission device
JPH0830477A (en) Data equalization method for redundant control system
JPH02196316A (en) Common bus connecting device
JPH02271449A (en) Bus fault detecting system
JPS6091469A (en) Input/output interface circuit
JP2001175307A (en) Duplex pulse output device
JPH05189331A (en) Input and output controller for data processing system
JPS63298458A (en) Data transfer circuit
KR20000043347A (en) Data input/output device
JPS6058745A (en) Data transmission equipment