JPH05143379A - Program monitoring device - Google Patents

Program monitoring device

Info

Publication number
JPH05143379A
JPH05143379A JP3302859A JP30285991A JPH05143379A JP H05143379 A JPH05143379 A JP H05143379A JP 3302859 A JP3302859 A JP 3302859A JP 30285991 A JP30285991 A JP 30285991A JP H05143379 A JPH05143379 A JP H05143379A
Authority
JP
Japan
Prior art keywords
processing devices
circuit
check data
input
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3302859A
Other languages
Japanese (ja)
Inventor
Takashi Kamibayashi
隆志 上林
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3302859A priority Critical patent/JPH05143379A/en
Publication of JPH05143379A publication Critical patent/JPH05143379A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve a monitoring function and to reduce the load of a computer system by preparing the monitoring function for the program operation status of a multiplex computer system as an independent hardware. CONSTITUTION:This program monitoring device 7 is constituted of a comparator 5 having a function for receiving data from processors 1, 2 and comparing the program operation states of both the processors 1, 2, a timer circuit 6 having a time-out detecting function for checking the program operation states of both the processors 1, 2 and a control circuit 4 having a function for controlling the timer circuit 6 and informing the judged results of the operation states to the processors 1, 2. Since the device 7 is independent from the processors 1, 2, the abnormal operation of program monitoring due to the problem of each processor itself can be evaded and the load of the CPU can be reduced.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、多重系計算機システム
において処理装置間でプログラム動作状態を監視する装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for monitoring a program operating state between processors in a multi-computer system.

【0002】[0002]

【従来の技術】従来、計算機システムが正常に動作して
いることを確認する方策として、処理装置を複数使用
し、各処理装置に同じプログラムを実行させ、実行結果
を比較することで各処理装置が正常に動作しているかを
判断する方法が知られている。この比較による処理装置
の従来の動作確認方法を、図11〜図14を用いて説明
する。
2. Description of the Related Art Conventionally, as a measure for confirming that a computer system is operating normally, a plurality of processing units are used, each processing unit is made to execute the same program, and the execution results are compared to compare each processing unit. There is a known method for determining whether or not is operating normally. A conventional method for confirming the operation of the processing apparatus by this comparison will be described with reference to FIGS. 11 to 14.

【0003】図11はプログラムの動作状態の比較を比
較させる処理装置自身で行う場合のシステム構成を2重
系を例にして示し、図12はその場合の処理装置のプロ
グラムの動作状態を比較する機能の周辺のプログラムの
流れを示す。
FIG. 11 shows a system configuration in the case where the processing apparatus itself which compares the operating states of the programs is used as an example of a dual system, and FIG. 12 compares the operating states of the programs of the processing apparatuses in that case. The flow of the program around the function is shown.

【0004】また、図13はプログラムの動作状態の比
較を比較させる処理装置とは別な処理装置で行う場合の
システム構成を2重系を例にして示し、図14はその場
合の処理装置のプログラムの動作状態を比較する機能の
周辺のプログラムの流れを示す。 次に、図11及び図
12に従って、プログラムの動作の比較を比較される処
理装置自身で行う場合を説明する。
FIG. 13 shows a system configuration when a processing device different from the processing device for comparing the operating states of the programs is used as an example of a double system, and FIG. 14 shows the processing device in that case. The flow of the program around the function of comparing the operating states of the programs is shown. Next, referring to FIGS. 11 and 12, a case will be described in which the operations of the programs are compared by the compared processing devices themselves.

【0005】ここでは、処理装置16と処理装置17が
プログラムの動作状態が比較される処理装置である。処
理装置16、17のプログラムがプログラム設計時に組
み込まれたプログラム動作状態比較処理の開始点(チェ
ックポイント)まで動作すると、処理装置16、17は
プログラム設計時に組み込まれた自分のプログラムの動
作状況を示すデータ(チェックデータ)を相手の処理装
置16、17に通信線18を経由して送り、相手の処理
装置17、16のチェックデータを同様にして通信線1
8を経由して受け取り、自分のチェックデータと相手の
チェックデータを比較して、チェックデータが同じであ
れば両方の処理装置16、17が正常に動作している
と、チェックデータが異なっているといずれかまたは両
方の処理装置16、17が異常を起こしているとプログ
ラムの動作状態を判断する。処理装置16、17は正常
であると判断すると、次の通常のプログラム処理を開始
し、異常であると判断すると異常時処理を開始する。チ
ェックポイントは1つの処理装置16、17のプログラ
ムの中に複数設定されることが多い。
Here, the processing unit 16 and the processing unit 17 are processing units whose operating states of programs are compared. When the programs of the processing devices 16 and 17 operate up to the start point (checkpoint) of the program operating state comparison process installed at the time of program design, the processing devices 16 and 17 show the operating status of their own programs installed at the time of program design. The data (check data) is sent to the processing devices 16 and 17 of the other party via the communication line 18, and the check data of the processing devices 17 and 16 of the other party are similarly sent to the communication line 1
8, the check data of the other party is compared with the check data of the other party, and if the check data are the same, if both processing devices 16 and 17 are operating normally, the check data is different. If one or both of the processing devices 16 and 17 have an abnormality, the operating state of the program is determined. When it is determined that the processing devices 16 and 17 are normal, the next normal program processing is started, and when it is determined that the processing is abnormal, abnormal-time processing is started. In many cases, a plurality of checkpoints are set in the program of one processing device 16 or 17.

【0006】チェックデータには、チェックポイントで
の各処理装置16、17のCPUのレジスタや、チェッ
クポイント直前の演算の出力、チェックポイントとチェ
ックポイントの間で変更されたメモリデータなどが使わ
れる。異常時処理には、異常と判断された処理装置1
6、17を多重系から切り離す処理や、自己診断処理、
回復処理等がある。また、図13及び図14に従って、
プログラムの動作状態の比較を比較される処理装置1
6、17とは別の処理装置20で行う場合について説明
する。
As the check data, the registers of the CPUs of the processing units 16 and 17 at the checkpoint, the output of the operation immediately before the checkpoint, the memory data changed between the checkpoints, and the like are used. For abnormal time processing, the processing device 1 determined to be abnormal
The process of separating 6 and 17 from the multiple system, the self-diagnosis process,
There is a recovery process. In addition, according to FIG. 13 and FIG.
Processing device 1 for comparing program operating states
A case where the processing device 20 different from the processing devices 6 and 17 is used will be described.

【0007】処理装置16と17はプログラムがチェッ
クポイントまで動作すると、チェックデータをプログラ
ム動作の比較専用の処理装置20にそれぞれ通信線21
と22を経由して送る。処理装置20は、処理装置16
と17からのチェックデータを比較して、チェックデー
タが同じであれば処理装置16、17ともに正常に動作
していると、チェックデータが異なれば処理装置16、
17のいずれかまたは両方が異常を起こしているとプロ
グラムの動作状態を判断し、その結果を処理装置16と
17に対しそれぞれ通信線21と22を経由して送る。
処理装置16と17は正常であると判断されると、次の
通常のプログラム処理を開始し、異常であると判断され
ると異常時処理を開始する。
When the programs operate up to the checkpoints, the processing units 16 and 17 send the check data to the processing unit 20 dedicated to comparing the program operation with the communication line 21.
And send via 22. The processing device 20 is the processing device 16
If the check data is the same, the processing devices 16 and 17 are operating normally. If the check data is different, the processing device 16 is different.
If one or both of 17 is abnormal, the operating state of the program is judged, and the result is sent to the processors 16 and 17 via the communication lines 21 and 22, respectively.
When it is determined that the processing devices 16 and 17 are normal, the next normal program process is started, and when it is determined that the process is abnormal, the abnormal time process is started.

【0008】[0008]

【発明が解決しようとする課題】しかし、チェックデー
タの比較を比較される処理装置自身で実行する方法で
は、処理装置16、17が異常状態である場合、比較動
作自身が正常である保証がないという問題がある。ま
た、ソフトウェアで実現させるため、処理装置16、1
7の負荷を増大させるという問題がある。更に、チェッ
クデータの比較を比較される処理装置16、17とは別
の処理装置20で実行する方法では、余分な処理装置2
0が必要とされる。
However, in the method in which the comparison of the check data is executed by the compared processing devices themselves, there is no guarantee that the comparison operation itself is normal when the processing devices 16 and 17 are in an abnormal state. There is a problem. In addition, since it is realized by software, the processing devices 16 and 1
There is a problem of increasing the load of 7. Furthermore, in the method in which the comparison of the check data is executed by the processing device 20 different from the processing devices 16 and 17 to be compared, the redundant processing device 2 is used.
0 is required.

【0009】本発明はかかる問題点を解決するためにな
されたもので、その目的は、多重系計算機システムのプ
ログラム動作状態の監視機能を独立したハードウェア化
することで、監視機能を向上し、計算機システムの負荷
を軽減することにある。
The present invention has been made to solve the above problems, and an object of the present invention is to improve the monitoring function by making the monitoring function of the program operating state of the multi-computer system independent hardware. To reduce the load on the computer system.

【0010】[0010]

【課題を解決するための手段】本発明に係るプログラム
監視装置は、多重系計算機システムの2つの処理装置の
プログラム実行状態を監視する装置において、前記多重
系の2つの処理装置からチェックデータを受け取り、プ
ログラム動作状態を比較する機能を持つ比較回路と、前
記多重系の2つの処理装置のプログラムの同期をチェッ
クするためのタイムアウト検出機能を持つタイマ回路
と、比較回路とタイマ回路を制御し、前記多重系の2の
つ処理装置に対し動作状態の判定結果を通知する機能を
持つ制御回路とを備え、前記比較回路は、前記多重系の
2のつ処理装置のそれぞれの実行状態を示すチェックデ
ータ入力を前記多重系の2つの処理装置からそれぞれ入
力し、前記多重系の2つ処理装置がチェックデータ入力
をそれぞれ出力したことを通知する前記チェックデータ
完了入力を前記多重系の2つの処理装置からそれぞれ入
力して、前記多重系の2つの処理装置から受け取ったそ
れぞれのチェックデータを用いて前記多重系の2のつ処
理装置間の動作状態を比較する機能を有し、前記タイマ
回路は、前記多重系の2つの処理装置のプログラムの同
期状態を検査するために、前記多重系の2つの処理装置
からの前記チェックデータ完了入力の許容時間差を、前
記多重系の2つの処理装置または独立した処理装置から
タイムアウト時間データ入力とタイムアウト時間設定入
力を入力することで設定するタイムアウト時間で制限す
るための、タイムアウト検出機能を有し、前記制御回路
は、前記チェックデータ完了入力や前記多重系の2つの
処理装置が自分自身で異常を検出したことを示す処理装
置異常発生入力を前記多重系の2つの処理装置からそれ
ぞれ入力し、前記タイマ回路のタイムアウト検出機能を
制御するタイマスタート信号とタイマストップ信号を前
記タイマ回路に出力し、前記タイマ回路からタイムアウ
トを検出したことを通知するタイムアウト信号を入力
し、前記比較回路の比較機能を制御する比較開始信号を
前記比較回路に出力し前記多重系の2つの処理装置のプ
ログラム実行状態の比較結果を通知する比較結果信号を
入力し、前記多重系の2つの処理装置の動作状態を示す
ステータス信号とこのステータス信号を出力したことを
前記多重系の2つの処理装置に対してそれぞれ通知する
ステータス完了信号を出力する機能を有するものであ
る。
A program monitoring apparatus according to the present invention is an apparatus for monitoring program execution states of two processing units of a multi-system computer system, the check data being received from the two processing units of the multi-system. A comparator circuit having a function of comparing program operating states, a timer circuit having a time-out detection function for checking program synchronization of the two processing devices of the multiplex system, a comparator circuit and a timer circuit for controlling the comparator circuit, And a control circuit having a function of notifying the two processing devices of the multiplex system of the determination result of the operating state, and the comparison circuit is a check data indicating the execution state of each of the two processing devices of the multiplex system. Inputs are respectively input from the two processing devices of the multiplex system, and the two processing devices of the multiplex system output check data inputs, respectively. The check data completion input for notifying that the check data is completed is input from each of the two processing devices of the multiplex system, and the two check processes of the multiplex system are performed using the respective check data received from the two processing devices of the multiplex system. The timer circuit has a function of comparing operation states between devices, and the timer circuit checks the check data from the two processing devices of the multiplex system in order to check the synchronization state of the programs of the two processing devices of the multiplex system. A timeout detection function is provided to limit the allowable time difference between completion inputs by the timeout time set by inputting the timeout time data input and timeout time setting input from the two processing devices of the multiplex system or independent processing devices. However, in the control circuit, the check data completion input and the two processing devices of the multiplex system detect the abnormality by themselves. Inputting a processor abnormality occurrence input indicating the above from each of the two processors of the multiplex system, outputting a timer start signal and a timer stop signal for controlling the timeout detection function of the timer circuit to the timer circuit, From which a time-out signal is detected and a comparison start signal for controlling the comparison function of the comparison circuit is output to the comparison circuit to display the comparison result of the program execution states of the two processing devices in the multiplex system. A status signal indicating the operation state of the two processing devices of the multiplex system and a status completion signal for notifying the two processing devices of the multiplex system, respectively, that a comparison result signal to be notified is input It has a function of outputting.

【0011】[0011]

【作用】本発明の作用を図1により説明する。処理装置
1と2のプログラムが正常に動作している場合には、次
のような処理が行われる。
The operation of the present invention will be described with reference to FIG. When the programs of the processing devices 1 and 2 are operating normally, the following processing is performed.

【0012】処理装置1と2のチェックポイントにプロ
グラムが至った時に、処理装置1と2からチェックデー
タがそれぞれチェックデータ入力a1とa2として比較
回路5に入力され、次いで処理装置1と2からチェック
データ完了入力b1とb2が制御回路4と比較回路5に
入力される。チェックデータ完了入力b1とb2は完全
に同時に入力しない。ここでは、例としてチェックデー
タ完了入力b1、b2の順で入力したものとして説明を
進める。
When the program reaches the checkpoints of the processing devices 1 and 2, the check data is input from the processing devices 1 and 2 to the comparison circuit 5 as the check data inputs a1 and a2, respectively, and then checked by the processing devices 1 and 2. The data completion inputs b1 and b2 are input to the control circuit 4 and the comparison circuit 5. The check data completion inputs b1 and b2 are not input completely at the same time. Here, as an example, it is assumed that the check data completion inputs b1 and b2 are input in this order.

【0013】チェックデータ完了入力b1を受けた制御
回路4は、タイマスタート信号kをタイマ回路6に送
る。タイマ回路6はタイマスタート信号kを受け取ると
タイマを起動する。次に、チェックデータ完了入力b2
を制御回路4が受け取ると、制御回路4はタイマ回路6
に対してタイマストップ信号mを送り、また、比較回路
5に対して比較開始信号hを送る。タイマストップ信号
mを受け取ったタイマ回路6はタイマを停止する。比較
開始信号hを受け取った比較回路5はすでに入力されて
いるチェックデータ入力a1とa2を比較し、比較した
結果を制御回路4に対して比較結果信号iとして送り、
更に比較結果完了信号jを送る。処理装置1と2が正常
に動作している場合は、チェックデータ入力a1とa2
は同じであるから、比較結果信号iは比較異常無しとし
て返される。制御回路4は比較結果完了信号jを受け取
り、比較結果信号iが異常無しであることを確認する
と、処理装置1と2に対してそれぞれステータス出力d
1とd2を正常として出力し、ステータス完了出力e1
とe2をそれぞれ処理装置1と2に出力する。
Upon receiving the check data completion input b1, the control circuit 4 sends a timer start signal k to the timer circuit 6. When the timer circuit 6 receives the timer start signal k, it starts the timer. Next, check data completion input b2
When the control circuit 4 receives the
A timer stop signal m is sent to the comparison circuit 5 and a comparison start signal h is sent to the comparison circuit 5. Upon receiving the timer stop signal m, the timer circuit 6 stops the timer. The comparison circuit 5 receiving the comparison start signal h compares the already input check data inputs a1 and a2, and sends the comparison result to the control circuit 4 as a comparison result signal i,
Further, the comparison result completion signal j is sent. If the processing devices 1 and 2 are operating normally, check data inputs a1 and a2
Are the same, the comparison result signal i is returned as no comparison abnormality. When the control circuit 4 receives the comparison result completion signal j and confirms that the comparison result signal i is normal, the status output d is output to the processing devices 1 and 2, respectively.
1 and d2 are output as normal, and status completion output e1
And e2 are output to the processing devices 1 and 2, respectively.

【0014】処理装置1または2のプログラム動作状態
が異常で、チェックデータ入力a1とa2が異なってい
た場合は、上記の正常動作の場合の説明とタイマの停止
まではプログラム監視装置7の処理は同じであり、それ
以降の処理は次のようになる。比較回路5が制御回路4
に比較結果信号iが異常有りとして送り、更に比較結果
完了信号jを送る。比較結果信号iと比較結果完了信号
jを受け取り、比較結果信号が異常有りであることを確
認すると、制御回路4は処理装置1と2に対してそれぞ
れステータス出力d1とd2を比較異常として出力し、
ステータス完了出力e1とe2をそれぞれ処理装置1と
2に出力する。
If the program operating state of the processing device 1 or 2 is abnormal and the check data inputs a1 and a2 are different, the process of the program monitoring device 7 will be continued until the explanation of the normal operation and the stop of the timer. The processing is the same, and the subsequent processing is as follows. The comparison circuit 5 is the control circuit 4
The comparison result signal i is sent as an abnormal signal, and the comparison result completion signal j is sent. When the comparison result signal i and the comparison result completion signal j are received and it is confirmed that the comparison result signal is abnormal, the control circuit 4 outputs the status outputs d1 and d2 to the processing devices 1 and 2, respectively, as the comparison abnormality. ,
The status completion outputs e1 and e2 are output to the processing devices 1 and 2, respectively.

【0015】処理装置1と2のプログラムの同期がずれ
た場合や、いずれかの処理装置のプログラムが暴走して
動作比較処理を実行できなくなった場合は、次のような
処理が行われる。ここでは、処理装置1が先にチェック
ポイントに達し、処理装置2が同じチェックポイントに
達する前にタイムアウトが検出された場合を説明する。
When the programs of the processing devices 1 and 2 are out of synchronization with each other, or when the programs of any of the processing devices run out of control so that the operation comparison process cannot be executed, the following process is performed. Here, a case will be described in which the processing device 1 reaches the checkpoint first, and the timeout is detected before the processing device 2 reaches the same checkpoint.

【0016】処理装置1からチェックデータがチェック
データ入力a1として比較回路5に入力され、次いで処
理装置1からチェックデータ完了入力b1が制御回路4
と比較回路5に入力される。制御回路4はチェックデー
タ完了入力b1を受けると、タイマ回路6にタイマスタ
ート信号kを送る。制御回路4からタイマストップ信号
mが入力されないため、タイマ回路6でタイムアウトが
検出される。タイマ回路6は制御回路4に対しタイムア
ウト信号nを送る。タイムアウト信号nを受け取った制
御回路4は、チェックデータを送ってきている処理装置
1に対してはステータス出力d1を相手処理装置タイム
アウトとして、チェックデータを送ってこなかった処理
装置2に対してはステータス出力d2を自処理装置タイ
ムアウトとして出力し、ステータス完了出力e1とe2
をそれぞれ処理装置1と2に出力する。
Check data is input from the processing device 1 to the comparison circuit 5 as the check data input a1, and then the check data completion input b1 from the processing device 1 is input to the control circuit 4.
Is input to the comparison circuit 5. Upon receiving the check data completion input b1, the control circuit 4 sends a timer start signal k to the timer circuit 6. Since the timer stop signal m is not input from the control circuit 4, the timer circuit 6 detects the time-out. The timer circuit 6 sends a time-out signal n to the control circuit 4. The control circuit 4 which has received the time-out signal n sets the status output d1 to the processing device 1 which is sending the check data, and sets the status output d1 to the partner processing device time-out, and sets the status to the processing device 2 which has not sent the check data. The output d2 is output as the own processing device timeout, and status completion outputs e1 and e2
Are output to the processing devices 1 and 2, respectively.

【0017】処理装置のプログラムが暴走し動作比較処
理を連続して実行する場合は、次のような処理が行われ
る。ここでは、処理装置1が暴走状態に陥ったものとし
て説明する。
When the program of the processor runs out of control and continuously executes the operation comparison processing, the following processing is performed. Here, it is assumed that the processing device 1 is in a runaway state.

【0018】処理装置1からチェックデータがチェック
データ入力a1として比較回路5に入力され、次いで処
理装置1からチェックデータ完了入力b1が制御回路4
と比較回路5に入力される。制御回路4はチェックデー
タ完了入力b1を受けると、タイマ回路6にタイマスタ
ート信号kを送る。再び処理装置1からチェックデータ
がチェックデータ完了入力a1として比較回路5に入力
され、次いで処理装置1からチェックデータ入力b1が
制御回路4と比較回路5に入力される。制御回路4はチ
ェックデータ完了入力b1を受けて次に入力されるはず
のチェックデータ完了入力b2を待っている時に、チェ
ックデータ完了入力b1が連続して入力されたのを検出
すると、制御回路4はタイマ回路6に対してタイマスト
ップ信号mを送り、チェックデータ完了入力b1を2度
送ってきた処理装置1に対してはステータス出力d1を
自処理装置異常として、チェックデータ完了入力b2を
送ってこなかった処理装置2に対してステータス出力d
2を相手処理装置異常として出力し、次いでステータス
完了出力e1とe2をそれぞれ処理装置1と2に出力す
る。タイマストップ信号mを受け取ったタイマ回路6は
タイマを停止させる。
Check data is input from the processing device 1 to the comparison circuit 5 as the check data input a1, and then the check data completion input b1 from the processing device 1 is input to the control circuit 4.
Is input to the comparison circuit 5. Upon receiving the check data completion input b1, the control circuit 4 sends a timer start signal k to the timer circuit 6. The check data is again input from the processing device 1 to the comparison circuit 5 as the check data completion input a1, and then the check data input b1 is input from the processing device 1 to the control circuit 4 and the comparison circuit 5. When the control circuit 4 receives the check data completion input b1 and waits for the next check data completion input b2 to be input, and detects that the check data completion input b1 is continuously input, the control circuit 4 Sends a timer stop signal m to the timer circuit 6 and sends the check data completion input b2 to the processing device 1 which has sent the check data completion input b1 twice as the status output d1 as the own processing device error. Status output d to the processing device 2 that did not exist
2 is output as the partner processing device abnormality, and then status completion outputs e1 and e2 are output to the processing devices 1 and 2, respectively. The timer circuit 6 that has received the timer stop signal m stops the timer.

【0019】処理装置が自ら異常を検出し、監視制御回
路に対して処理装置異常発生入力を送ってきた場合は、
次の処理が行われる。ここでは、処理装置1が自分で異
常を検出したものとする。
When the processing device detects an abnormality by itself and sends a processing device abnormality occurrence input to the supervisory control circuit,
The following processing is performed. Here, it is assumed that the processing device 1 detects the abnormality by itself.

【0020】処理装置1からの処理装置異常発生入力c
1を受け取った制御回路4は、タイマ回路6に対してタ
イマストップ信号mを送り、処理装置異常発生入力c1
を送ってこなかった方の処理装置2に対して、ステータ
ス出力d2を相手処理装置異常として出力し、ステータ
ス完了出力e2を出力する。タイマストップ信号mを受
けたタイマ回路6はタイマを停止させる。
Processing device abnormality occurrence input c from the processing device 1
The control circuit 4 which has received 1 sends a timer stop signal m to the timer circuit 6, and the processor abnormality occurrence input c1
The status output d2 is output to the processing device 2 that did not send the message as an error in the other processing device, and the status completion output e2 is output. Upon receiving the timer stop signal m, the timer circuit 6 stops the timer.

【0021】タイムアウト時間の設定は、タイムアウト
時間設定入力fがタイマ回路6に入力された時点でのタ
イムアウト時間データ入力gの値で、タイムアウト時間
が設定される。
The time-out time is set by the value of the time-out time data input g when the time-out time setting input f is input to the timer circuit 6.

【0022】[0022]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本実施例の構成図、図2は制御回路4の実
現例の構成図、図3は比較回路5の実現例の構成図、図
4はタイマ回路6の実現例の構成図である。
Embodiments of the present invention will be described below with reference to the drawings. 1 is a configuration diagram of the present embodiment, FIG. 2 is a configuration diagram of an implementation example of the control circuit 4, FIG. 3 is a configuration diagram of an implementation example of the comparison circuit 5, and FIG. 4 is a configuration diagram of an implementation example of the timer circuit 6. ..

【0023】プログラム監視装置7は、処理装置1と2
からチェックデータを受け取り、プログラム動作状態を
比較する機能を持つ比較回路5と、処理装置1と2のプ
ログラムの同期をチェックするためのタイムアウト検出
機能を持つタイマ回路6と、比較回路5とタイマ回路6
を制御し、処理装置1と2に対し動作状態の判定結果を
通知する機能を持つ制御回路4から構成されている。
The program monitoring device 7 includes the processing devices 1 and 2.
Comparing circuit 5 having a function of receiving check data from each other and comparing program operating states, timer circuit 6 having a time-out detecting function for checking program synchronization of processing devices 1 and 2, comparing circuit 5 and timer circuit 6
And a control circuit 4 having a function of notifying the processing devices 1 and 2 of the determination result of the operating state.

【0024】比較回路5は、処理装置1と2からのチェ
ックデータを比較回路5に入力するチェックデータ入力
a1、a2と、処理装置1と2がチェックデータ入力a
1、a2を出力完了したことを比較回路5に通知するチ
ェックデータ完了入力b1、b2と、制御回路4が比較
回路5に対し処理装置1と2のチェックデータの比較の
実行を指示する比較開始信号hを入力として持ち、制御
回路4に対して処理装置1と2のチェックデータの比較
結果を送る比較結果信号iと、比較結果信号iが制御回
路4に対して送られたことを通知する比較結果完了信号
jを出力として持つ。
The comparison circuit 5 inputs check data inputs a1 and a2 for inputting the check data from the processing devices 1 and 2 to the comparison circuit 5 and the check data input a for the processing devices 1 and 2.
Check data completion inputs b1 and b2 for notifying the comparison circuit 5 that 1 and a2 have been output, and the control circuit 4 instructs the comparison circuit 5 to execute comparison of the check data of the processing devices 1 and 2 The comparison result signal i having the signal h as an input and sending the comparison result of the check data of the processing devices 1 and 2 to the control circuit 4 and the fact that the comparison result signal i has been sent to the control circuit 4 are notified. It has a comparison result completion signal j as an output.

【0025】タイマ回路6は、比較する対象の処理装置
1と2または別の処理装置を示す処理装置3からタイム
アウト時間を入力するタイムアウト時間データ入力g
と、タイムアウト時間を設定する指示を処理装置3から
入力するタイムアウト時間設定入力fと、タイマの起動
を指示する制御回路4からのタイマスタート信号kとタ
イマの停止を指示する制御回路4からのタイマストップ
信号mを入力として持ち、制御回路4に対してタイムア
ウトの検出を通知するタイムアウト信号nを出力として
持つ。
The timer circuit 6 inputs the timeout time from the processing devices 1 and 2 to be compared or the processing device 3 representing another processing device.
And a timeout time setting input f for inputting an instruction to set a timeout time from the processing device 3, a timer start signal k from the control circuit 4 for instructing the timer to start, and a timer from the control circuit 4 for instructing to stop the timer. It has a stop signal m as an input and a time-out signal n as an output for notifying the control circuit 4 of detection of a time-out.

【0026】制御回路4は、処理装置1と2がチェック
データ入力a1、a2を出力完了したことを制御回路4
に通知するチェックデータ完了入力b1、b2と、処理
装置1と2自身が検出した自己異常を制御回路4に通知
する処理装置異常発生入力c1、c2と、比較回路5か
らの比較結果を示す比較結果信号iと、比較回路5が比
較結果信号iを出力したことを制御回路4に通知する比
較結果完了信号jと、タイマ回路6がタイムアウトを検
出したことを制御回路4に通知するタイムアウト信号n
を入力として持ち、比較回路5に処理装置1と2のチェ
ックデータの比較の実行を指示する比較開始信号hと、
タイマ回路6にタイマ機能の開始を指示するタイマスタ
ート信号kと、タイマ回路6にタイマ機能の停止を指示
するタイマストップ信号mと、処理装置1と2に対して
プログラム動作状態の判定結果を通知するステータス出
力d1、d2と、ステータス出力d1、d2の出力が完
了したことを処理装置1と2に通知するステータス完了
出力e1、e2を出力して持つ。
The control circuit 4 indicates that the processors 1 and 2 have completed outputting the check data inputs a1 and a2.
Of the check data completion inputs b1 and b2 for notifying the control circuit 4 and the processing device abnormality occurrence inputs c1 and c2 for notifying the control circuit 4 of the self-abnormality detected by the processing devices 1 and 2 and the comparison result indicating the comparison result from the comparison circuit 5. The result signal i, the comparison result completion signal j that notifies the control circuit 4 that the comparison circuit 5 has output the comparison result signal i, and the timeout signal n that notifies the control circuit 4 that the timer circuit 6 has detected a timeout.
As an input, and a comparison start signal h for instructing the comparison circuit 5 to execute comparison of check data of the processing devices 1 and 2,
The timer start signal k instructing the timer circuit 6 to start the timer function, the timer stop signal m instructing the timer circuit 6 to stop the timer function, and the determination result of the program operating state to the processing devices 1 and 2 are notified. It outputs and holds status outputs d1 and d2 that perform output, and status completion outputs e1 and e2 that notify the processing devices 1 and 2 that the output of the status outputs d1 and d2 has been completed.

【0027】本実施例において、制御回路4はタイミン
グ制御回路8と出力制御回路9から構成されている。比
較回路5は2つのチェックデータラッチ回路10、11
とデータ比較回路12から構成されている。タイマ回路
6はカウンタ回路13とタイムアウト時間ラッチ回路1
4とクロック回路15から構成されている。
In the present embodiment, the control circuit 4 comprises a timing control circuit 8 and an output control circuit 9. The comparison circuit 5 has two check data latch circuits 10 and 11.
And a data comparison circuit 12. The timer circuit 6 includes a counter circuit 13 and a timeout time latch circuit 1.
4 and a clock circuit 15.

【0028】タイミング制御回路8は、処理装置1と2
からチェックデータ完了入力b1、b2と処理装置異常
発生入力c1、c2を入力し、データ比較回路12に比
較開始信号hを出力し、出力制御回路9にタイムアウト
ステータス信号oと処理装置異常ステータス信号pを出
力し、カウンタ回路13にタイマスタート信号kをタイ
マストップ信号mを出力し、カウンタ回路13からタイ
ムアウト信号nを入力する。
The timing control circuit 8 includes processing devices 1 and 2
Input check data completion inputs b1 and b2 and processing device abnormality occurrence inputs c1 and c2, output a comparison start signal h to the data comparison circuit 12, and output control circuit 9 a timeout status signal o and processing device abnormality status signal p. , A timer start signal k and a timer stop signal m are output to the counter circuit 13, and a timeout signal n is input from the counter circuit 13.

【0029】出力制御回路9は、データ比較回路12か
ら比較結果信号iと比較結果完了信号jが入力され、タ
イミング制御回路8からタイムアウトステータス信号o
と処理装置異常ステータス信号pが入力され、処理装置
1と2にステータス出力d1、d2とステータス完了出
力e1、e2が出力される。
The output control circuit 9 receives the comparison result signal i and the comparison result completion signal j from the data comparison circuit 12, and the timing control circuit 8 outputs the timeout status signal o.
The processing device abnormal status signal p is input, and status outputs d1 and d2 and status completion outputs e1 and e2 are output to the processing devices 1 and 2.

【0030】チェックデータラッチ回路10、11に
は、処理装置1と2からチェックデータ入力a1、a2
とチェックデータ完了入力b1、b2が入力され、デー
タ比較回路に比較データ信号q1、q2を出力する。
The check data latch circuits 10 and 11 receive check data inputs a1 and a2 from the processors 1 and 2, respectively.
And check data completion inputs b1 and b2 are input, and comparison data signals q1 and q2 are output to the data comparison circuit.

【0031】データ比較回路12は、チェックデータラ
ッチ回路10、11から比較データ信号q1、q2が入
力され、タィミング制御回路8から比較開始信号hが入
力され、出力制御回路9に比較結果信号iと比較結果完
了信号jを出力する。
The data comparison circuit 12 receives the comparison data signals q1 and q2 from the check data latch circuits 10 and 11, the comparison start signal h from the timing control circuit 8, and the comparison result signal i to the output control circuit 9. The comparison result completion signal j is output.

【0032】カウンタ回路13は、タィミング制御回路
8からタイマスタート信号kとタイマストップ信号mが
入力され、タィミング制御回路8にタイムアウト信号n
を出力し、タイムアウト時間ラッチ回路14からカウン
タデータ信号rを入力し、クロック回路15からクロッ
ク信号sを入力する。
The counter circuit 13 receives the timer start signal k and the timer stop signal m from the timing control circuit 8, and the timing control circuit 8 outputs the time-out signal n.
The counter data signal r is input from the time-out time latch circuit 14 and the clock signal s is input from the clock circuit 15.

【0033】タイムアウト時間ラッチ回路14は、処理
装置3からタイムアウト時間入力gとタイムアウト時間
設定入力fが入力され、カウンタ回路13にカウンタデ
ータ信号rを出力する。クロック回路15は、カウンタ
回路にクロック信号sを出力する。次に、本実施例の作
用を図1ないし図5に基づいて説明する。まず、各基本
構成回路の入出力動作を説明する。 1.タイミング回路8について タイミング回路8は、初期状態と処理装置1チェックデ
ータ完了待と処理装置2チェックデータ完了待の3つの
状態を持つ。状態遷移を図5に示す。 (a)初期状態の場合
The timeout time latch circuit 14 receives the timeout time input g and the timeout time setting input f from the processing device 3, and outputs the counter data signal r to the counter circuit 13. The clock circuit 15 outputs the clock signal s to the counter circuit. Next, the operation of this embodiment will be described with reference to FIGS. First, the input / output operation of each basic component circuit will be described. 1. Timing Circuit 8 The timing circuit 8 has three states: an initial state, a processing device 1 check data completion wait and a processing device 2 check data completion wait. The state transition is shown in FIG. (A) In the initial state

【0034】処理装置1(2)からのチェックデータ完
了入力b1(b2)を受け取ると、タイマ回路6にタイ
マスタート信号kを送り、処理装置2(1)チェックデ
ータ完了待の状態に移行する。チェックデータ完了入力
c1、c2が同時に入力された場合は、比較回路5に比
較開始信号hを送り、状態は移行しない。
When receiving the check data completion input b1 (b2) from the processing device 1 (2), a timer start signal k is sent to the timer circuit 6, and the processing device 2 (1) shifts to the check data completion waiting state. When the check data completion inputs c1 and c2 are simultaneously input, the comparison start signal h is sent to the comparison circuit 5, and the state does not shift.

【0035】処理装置異常発生入力c1、c2を受ける
と、タイマ回路6にタイマストップ信号mを送り、出力
制御回路9に処理装置異常ステータス信号pを処理装置
1、2異常発生として送り、状態は移行しない。 (b)処理装置1(2)チェックデータ完了待状態の場
When the processing device abnormality occurrence inputs c1 and c2 are received, the timer stop signal m is sent to the timer circuit 6, and the processing device abnormality status signal p is sent to the output control circuit 9 as the occurrence of the processing device 1 and 2 abnormality. Do not move. (B) Processing device 1 (2) Check data completion waiting state

【0036】処理装置1(2)からチェックデータ完了
入力b1(b2)を受け取ると、タイマ回路6にタイマ
ストップ信号mを送り、比較回路5に比較開始信号hを
送り、初期状態に移行する。
When the check data completion input b1 (b2) is received from the processing device 1 (2), the timer stop signal m is sent to the timer circuit 6 and the comparison start signal h is sent to the comparison circuit 5 to shift to the initial state.

【0037】処理装置2(1)からチェックデータ完了
入力b2(b1)を受けると、タイマ回路6にタイマス
トップ信号mを送り、出力制御回路9に処理装置異常ス
テータス信号pを処理装置1(2)異常として送り、初
期状態に移行する。
When the check data completion input b2 (b1) is received from the processing device 2 (1), a timer stop signal m is sent to the timer circuit 6 and the processing device abnormality status signal p is sent to the output control circuit 9 by the processing device 1 (2). ) Send as abnormal and shift to the initial state.

【0038】タイムアウト信号nをタイマ回路6から受
け取ると、出力制御回路9にタイムアウトステータス信
号oを処理装置2(1)タイムアウトとして送り、初期
状態に移行する。
When the time-out signal n is received from the timer circuit 6, the time-out status signal o is sent to the output control circuit 9 as the time-out of the processing device 2 (1), and the initial state is entered.

【0039】処理装置異常発生入力c1(c2)を受け
取ると、タイマ回路6にタイマストップ信号mを送り、
出力制御回路9に処理装置異常ステータス信号pを処理
装置1(2)異常発生として送り、初期状態に移行す
る。 2.出力制御回路9について
When the processor abnormality input c1 (c2) is received, a timer stop signal m is sent to the timer circuit 6,
The processor abnormality status signal p is sent to the output control circuit 9 as an abnormality occurrence of the processor 1 (2), and the initial state is entered. 2. Output control circuit 9

【0040】比較回路から比較結果完了信号jを受けた
時は、2つの処理装置1、2に対するステータス出力d
1、d2を、比較結果信号iが異常無しならば比較異常
無しとして、比較異常ならば比較異常としてそれぞれの
処理装置1、2へ送り、ステータス完了出力e1、e2
をそれぞれの処理装置1、2へ送る。
When the comparison result completion signal j is received from the comparison circuit, the status output d to the two processing devices 1 and 2 is given.
1 and d2 are sent to the respective processing devices 1 and 2 as the comparison abnormal signal if there is no abnormality in the comparison result signal i and as the comparison abnormal signal if the comparison result is abnormal, and the status completion outputs e1 and e2 are sent.
To the respective processing devices 1 and 2.

【0041】タイミング制御回路8から処理装置異常ス
テータス信号pを受けた時は、2つの処理装置1、2に
対するステータス出力d1、d2を、処理装置異常ステ
ータス信号pに異常と指定された処理装置に対しては自
処理装置異常として、他方の処理装置に対しては相手処
理装置異常としてそれぞれの処理装置へ送り、ステータ
ス完了出力e1、e2をそれぞれの処理装置1、2へ送
る。
When the processing device abnormality status signal p is received from the timing control circuit 8, the status outputs d1 and d2 for the two processing devices 1 and 2 are sent to the processing device designated as abnormal by the processing device abnormality status signal p. On the other hand, it is sent to each processing device as an error in its own processing device and as an error in the other processing device to the other processing device, and status completion outputs e1 and e2 are sent to the respective processing devices 1 and 2.

【0042】タイミング制御回路8からタイムアウトス
テータス信号oを受けた時は、処理装置1(2)がタイ
ムアウトとして受けた時は、ステータス出力d1(d
2)を、自処理装置タイムアウトとして、ステータス出
力d2(d1)を相手処理装置タイムアウトとしてそれ
ぞれの処理装置1、2へ送り、ステータス完了出力e
1、e2をそれぞれの処理装置1、2へ送る。 3.チェックデータラッチ回路10、11について
When the time-out status signal o is received from the timing control circuit 8, when the processing device 1 (2) receives the time-out status signal o, the status output d1 (d
2) is sent to the respective processing devices 1 and 2 as the self-processing device timeout and the status output d2 (d1) is sent to the respective processing devices 1 and 2 as a status completion output e.
1 and e2 are sent to the respective processing devices 1 and 2. 3. Check data latch circuits 10 and 11

【0043】処理装置1(2)からチェックデータ完了
入力b1(b2)を受けると、その時点でのチェックデ
ータ入力a1(a2)をチェックデータとして保持す
る。 4.データ比較回路12について
When the check data completion input b1 (b2) is received from the processing device 1 (2), the check data input a1 (a2) at that time is held as check data. 4. Data comparison circuit 12

【0044】制御回路4からの比較開始信号hを受ける
と、2つのチェックデータラッチ回路10、11から、
それぞれのチェックデータを比較データ信号q1、q2
として読み出し、データを比較する。そして、制御回路
4に比較結果信号iを、チェックデータの内容が同じで
あれば正常として、チェックデータの内容が異なれば比
較異常として送り、制御回路4に比較結果完了信号jを
送る。 5.カウンタ回路13について
When the comparison start signal h is received from the control circuit 4, the two check data latch circuits 10 and 11
Each check data is compared data signal q1, q2
, And compare the data. Then, the comparison result signal i is sent to the control circuit 4 as normal if the contents of the check data are the same, as a comparison error if the contents of the check data are different, and the comparison result completion signal j is sent to the control circuit 4. 5. About the counter circuit 13

【0045】制御回路4からのタイマスタート信号kを
受けると、カウンタ初期値をタイムアウト時間ラッチ回
路14からカウンタデータrとして読み出し、クロック
回路15からのクロック信号sでカウントダウンする。
When receiving the timer start signal k from the control circuit 4, the counter initial value is read from the timeout time latch circuit 14 as counter data r, and the clock signal s from the clock circuit 15 counts down.

【0046】制御回路4からのタイマストップ信号mを
受けると、カウンタを停止する。カウントダウンして、
カウントが0になった場合、制御回路4に対してタイム
アウト信号nを送る。 6.タイムアウト時間ラッチ回路14について 処理装置3からタイムアウト時間設定入力fを受ける
と、その時点のタイムアウト時間入力gを、カウンタ回
路13のカウンタ初期値として保存する。 7.クロック回路15について カウンタ回路13のカウントダウン用のクロック信号s
を発生する。図6〜図10に本監視制御装置の信号の流
れを図示する。
When receiving the timer stop signal m from the control circuit 4, the counter is stopped. Count down,
When the count reaches 0, the time-out signal n is sent to the control circuit 4. 6. Regarding the time-out time latch circuit 14, when the time-out time setting input f is received from the processing device 3, the time-out time input g at that time is stored as the counter initial value of the counter circuit 13. 7. Clock circuit 15 Clock signal s for counting down the counter circuit 13
To occur. 6 to 10 show the signal flow of the supervisory control device.

【0047】図6は処理装置1、2とも正常動作を示す
タイムチャートである。図7は処理装置1、2とも正常
動作を示すタイムチャートで、チェックデータ完了入力
が同時に入力される。図8は処理装置1、2間の同期ず
れを示すタイムチャートで、タイムアウト発生を示す。
図9は処理装置1、2とも正常動作を示すタイムチャー
トで、タイムアウト発生と同時にチェックデータ完了入
力が入力される。図10は処理装置異常を示すもので、
処理装置1は正常動作、処理装置2が自分で異常を検出
し、処理装置1からチェックデータ入力に処理装置2か
ら処理装置異常発生入力を入力する。
FIG. 6 is a time chart showing the normal operation of the processing devices 1 and 2. FIG. 7 is a time chart showing the normal operation of both the processing devices 1 and 2, and the check data completion input is simultaneously input. FIG. 8 is a time chart showing a synchronization shift between the processing devices 1 and 2, showing occurrence of a timeout.
FIG. 9 is a time chart showing the normal operation of both the processing devices 1 and 2, and the check data completion input is input at the same time when the timeout occurs. FIG. 10 shows a processing device abnormality.
The processing device 1 operates normally, the processing device 2 detects an abnormality by itself, and the processing device 2 inputs the processing device abnormality occurrence input to the check data input from the processing device 1.

【0048】以上の如く、本実施例によれば、まず、第
1に、監視機能を処理装置から独立させたので、処理装
置自身の問題によるプログラム監視の異常動作が回避で
きる。第2に、監視機能を処理装置から独立させたの
で、処理装置のCPUの負荷が軽減できる。第3に、比
較するデータがタイムアウト時間の間隔で入力された場
合、タイミング制御回路の処理によりタイムアウト発生
の通知を抑えることができる。第4に、ソフトウェアで
実現した場合、タイムアウト処理は割り込みで行われる
ため、時間精度が悪いが、ハードウェアで実現している
ので、時間の精度が高い。
As described above, according to the present embodiment, firstly, the monitoring function is made independent of the processing device, so that the abnormal operation of the program monitoring due to the problem of the processing device itself can be avoided. Second, since the monitoring function is independent of the processing device, the load on the CPU of the processing device can be reduced. Thirdly, when the data to be compared is input at the time-out interval, the timing control circuit process can suppress the notification of the time-out occurrence. Fourthly, when implemented by software, the time-out process is performed by an interrupt, so the time accuracy is poor, but because it is implemented by hardware, the time accuracy is high.

【0049】[0049]

【発明の効果】以上の如く、本発明によれば、2つの処
理装置のプログラムの実行状態の監視機能が向上する。
また、タイムアウト時間の精度が向上する。更に、比較
機能がCPU異常時も正確に動作する。更にまた、CP
Uの負荷が軽減できる等の利点がある。
As described above, according to the present invention, the function of monitoring the execution states of the programs of the two processing devices is improved.
Also, the accuracy of the timeout time is improved. Further, the comparison function operates correctly even when the CPU is abnormal. Furthermore, CP
There is an advantage that the load on U can be reduced.

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

【図1】本発明の実施例の全体構成図。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

【図2】本発明の実施例の制御回路の構成図。FIG. 2 is a configuration diagram of a control circuit according to an embodiment of the present invention.

【図3】本発明の実施例の比較回路の構成図。FIG. 3 is a configuration diagram of a comparison circuit according to an embodiment of the present invention.

【図4】本発明の実施例のタイマ回路の構成図。FIG. 4 is a configuration diagram of a timer circuit according to an embodiment of the present invention.

【図5】本発明の実施例のタイミング制御回路の状態遷
移図。
FIG. 5 is a state transition diagram of the timing control circuit according to the embodiment of the present invention.

【図6】本発明の実施例の正常時のタイムチャート。FIG. 6 is a time chart when the embodiment of the present invention is normal.

【図7】本発明の実施例の正常時のタイムチャート(チ
ェックデータ同時入力)。
FIG. 7 is a time chart when the embodiment of the present invention is normal (simultaneous input of check data).

【図8】本発明の実施例の異常時のタイムチャート(タ
イムアウト)。
FIG. 8 is a time chart (timeout) at the time of abnormality in the embodiment of the present invention.

【図9】本発明の実施例の正常時のタイムチャート(タ
イムアウト発生と同時のチェックデータ入力)。
FIG. 9 is a time chart when the embodiment of the present invention is normal (check data input at the same time as occurrence of timeout).

【図10】本発明の実施例の異常時のタイムチャート
(処理装置異常発生入力)。
FIG. 10 is a time chart at the time of abnormality in the embodiment of the present invention (processing device abnormality occurrence input).

【図11】従来例における比較される処理装置自身で比
較する場合の構成図。
FIG. 11 is a configuration diagram in the case of performing comparison by the processing apparatus itself to be compared in the conventional example.

【図12】従来例における比較される処理装置自身で比
較する場合のプログラムの流れを示す図。
FIG. 12 is a diagram showing a flow of a program in the case where the comparison is performed by the processing device itself in the conventional example.

【図13】従来例における特別な処理装置を使って比較
する場合の構成図。
FIG. 13 is a configuration diagram of comparison using a special processing device in a conventional example.

【図14】従来例における特別な処理装置を使って比較
する場合のプログラムの流れを示す図。
FIG. 14 is a diagram showing the flow of a program in the case of comparison using a special processing device in a conventional example.

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

1,2,3…処理装置、4…制御装置、5…比較回路、
6…タイマ回路、7…プログラム監視装置、8…タイミ
ング制御回路、9…出力制御回路、10,11…チェッ
クデータラッチ回路、12…データ比較回路、13…カ
ウンタ回路、14…タイムアウト時間ラッチ回路、15
…クロック回路
1, 2, 3 ... Processing device, 4 ... Control device, 5 ... Comparison circuit,
6 ... Timer circuit, 7 ... Program monitoring device, 8 ... Timing control circuit, 9 ... Output control circuit, 10, 11 ... Check data latch circuit, 12 ... Data comparison circuit, 13 ... Counter circuit, 14 ... Timeout time latch circuit, 15
… Clock circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 多重系計算機システムの2つの処理装置
のプログラム実行状態を監視する装置において、 前記多重系の2つの処理装置からチェックデータを受け
取り、プログラム動作状態を比較する機能を持つ比較回
路と、 前記多重系の2つの処理装置のプログラムの同期をチェ
ックするためのタイムアウト検出機能を持つタイマ回路
と、 比較回路とタイマ回路を制御し、前記多重系の2のつ処
理装置に対し動作状態の判定結果を通知する機能を持つ
制御回路とを備え、 前記比較回路は、前記多重系の2のつ処理装置のそれぞ
れの実行状態を示すチェックデータ入力を前記多重系の
2つの処理装置からそれぞれ入力し、前記多重系の2つ
処理装置がチェックデータ入力をそれぞれ出力したこと
を通知する前記チェックデータ完了入力を前記多重系の
2つの処理装置からそれぞれ入力して、前記多重系の2
つの処理装置から受け取ったそれぞれのチェックデータ
を用いて前記多重系の2のつ処理装置間の動作状態を比
較する機能を有し、 前記タイマ回路は、前記多重系の2つの処理装置のプロ
グラムの同期状態を検査するために、前記多重系の2つ
の処理装置からの前記チェックデータ完了入力の許容時
間差を、前記多重系の2つの処理装置又は独立した処理
装置からタイムアウト時間データ入力とタイムアウト時
間設定入力を入力することで設定するタイムアウト時間
で制限するための、タイムアウト検出機能を有し、 前記制御回路は、前記チェックデータ完了入力や前記多
重系の2つの処理装置が自分自身で異常を検出したこと
を示す処理装置異常発生入力を前記多重系の2つの処理
装置からそれぞれ入力し、前記タイマ回路のタイムアウ
ト検出機能を制御するタイマスタート信号とタイマスト
ップ信号を前記タイマ回路に出力し、前記タイマ回路か
らタイムアウトを検出したことを通知するタイムアウト
信号を入力し、前記比較回路の比較機能を制御する比較
開始信号を前記比較回路に出力し前記多重系の2つの処
理装置のプログラム実行状態の比較結果を通知する比較
結果信号を入力し、前記多重系の2つの処理装置の動作
状態を示すステータス信号とこのステータス信号を出力
したことを前記多重系の2つの処理装置に対してそれぞ
れ通知するステータス完了信号を出力する機能を有する
ことを特徴とするプログラム監視装置。
1. An apparatus for monitoring program execution states of two processing units of a multi-system computer system, comprising: a comparison circuit having a function of receiving check data from the two processing units of the multi-system and comparing program operating states. , A timer circuit having a time-out detection function for checking the synchronization of programs of the two processing devices of the multiplex system, and a comparator circuit and a timer circuit are controlled so that the two processing devices of the multiplex system are in the operating state. And a control circuit having a function of notifying a determination result, wherein the comparison circuit inputs check data inputs indicating respective execution states of the two processing devices of the multiplex system from the two processing devices of the multiplex system, respectively. The check data completion input for notifying that the two processing devices of the multiplex system have output the check data input, respectively. Type each from the heavy-based two processing devices, 2 of the multi-system
A function of comparing the operating states of the two processing devices of the multiplex system by using respective check data received from one of the multiple processing devices; In order to check the synchronization state, the allowable time difference of the check data completion input from the two processing devices of the multiplex system is set by the timeout time data input and the timeout time setting from the two processing devices of the multiplex system or independent processing devices. The control circuit has a timeout detection function for limiting the timeout time set by inputting the input, and the control circuit detects the abnormality by the check data completion input or the two processing devices of the multiplex system. A processor abnormality occurrence input indicating that the time-out of the timer circuit is input from each of the two processors of the multiplex system. A comparison start signal that outputs a timer start signal and a timer stop signal for controlling the detection function to the timer circuit, inputs a time-out signal for notifying that the time-out is detected from the timer circuit, and controls the comparison function of the comparison circuit. To the comparison circuit and inputs a comparison result signal for notifying the comparison result of the program execution states of the two processing devices of the multiplex system, and a status signal indicating the operating state of the two processing devices of the multiplex system and this status. A program monitoring device having a function of outputting a status completion signal for notifying the two processing devices of the multiplex system that the signal has been output.
JP3302859A 1991-11-19 1991-11-19 Program monitoring device Pending JPH05143379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3302859A JPH05143379A (en) 1991-11-19 1991-11-19 Program monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3302859A JPH05143379A (en) 1991-11-19 1991-11-19 Program monitoring device

Publications (1)

Publication Number Publication Date
JPH05143379A true JPH05143379A (en) 1993-06-11

Family

ID=17913957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3302859A Pending JPH05143379A (en) 1991-11-19 1991-11-19 Program monitoring device

Country Status (1)

Country Link
JP (1) JPH05143379A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100764062B1 (en) * 2006-05-01 2007-10-09 엘아이지넥스원 주식회사 Multiplex computer system of aircraft

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100764062B1 (en) * 2006-05-01 2007-10-09 엘아이지넥스원 주식회사 Multiplex computer system of aircraft

Similar Documents

Publication Publication Date Title
US5226152A (en) Functional lockstep arrangement for redundant processors
US5345566A (en) Method and apparatus for controlling dual bus system
US6845467B1 (en) System and method of operation of dual redundant controllers
JPH07129426A (en) Fault processing system
EP0397471B1 (en) Initialization system amd methods for input/output processing units
JP2001318807A (en) Method and device for controlling task switching
JPH05143379A (en) Program monitoring device
JPH08241217A (en) Information processor
JP3529994B2 (en) Verification circuit
JPH086800A (en) Data processor and microprocessor
JPH1115661A (en) Self-diagnosis method for cpu
JP2001175545A (en) Server system, fault diagnosing method, and recording medium
JPH1027110A (en) Computer system of plural computers
JPS6320540A (en) Information processor
SU1365086A1 (en) Device for checking control units
JPS61267810A (en) Deciding circuit for detection of service interruption
JPH0149975B2 (en)
JPH10143393A (en) Diagnosis and processing device
JPH0471037A (en) Duplex system for electronic computer
JPH053016B2 (en)
JPS6128146B2 (en)
JPH01284947A (en) Duplex bus switching method
JPH04211841A (en) Duplex processor
JPH08289014A (en) Sequence fault detector
JPH0471038A (en) Duplex system for electronic computer