JPH06149627A - Monitoring device for computer system - Google Patents

Monitoring device for computer system

Info

Publication number
JPH06149627A
JPH06149627A JP4298709A JP29870992A JPH06149627A JP H06149627 A JPH06149627 A JP H06149627A JP 4298709 A JP4298709 A JP 4298709A JP 29870992 A JP29870992 A JP 29870992A JP H06149627 A JPH06149627 A JP H06149627A
Authority
JP
Japan
Prior art keywords
reset
software process
abnormality
software
computer system
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
JP4298709A
Other languages
Japanese (ja)
Inventor
Yoshiji Hama
義二 濱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4298709A priority Critical patent/JPH06149627A/en
Publication of JPH06149627A publication Critical patent/JPH06149627A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To monitor plural software processes and to specify a software process generating abnormality by making it possible to monitor plural software processes in executing as abnormality monitoring objects. CONSTITUTION:In a software process group 7 to be driven by a computer device 1, a counter reset signal D8 generated at the time of normal operation is specified in each overflow of a counter device 5 and stored in a counter latch circuit 6 and a software process continuously sending the counter reset signal D8 over the prescribed number of overflows in the device 5 is processed by the device 1 and stored in a reset expected value register 10. The contents of the circuit 6 is compared with that of the register 10 by a compare logic 11, and at the time of detecting abnormality, an alarm signal D2 is outputted from an alarm signal generating circuit 13.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は計算機システム監視装
置に係り、特に工業用の計算機システムにおける異常監
視を行うに好適な計算機システム監視装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system monitoring apparatus, and more particularly to a computer system monitoring apparatus suitable for performing abnormality monitoring in an industrial computer system.

【0002】[0002]

【従来の技術】図3は従来の計算機システム監視装置の
ブロック図である。図において、1は異常監視の対象と
なる計算機装置、5は設定された時間間隔でカウントダ
ウン動作してタイマー動作するカウンタ装置、3はカウ
ンタ装置5の動作を制御するカウンタ制御装置、4はカ
ウンタ装置5のオーバーフロー値、つまり設定時間を格
納するカウントバリューレジスタ、14は計算機装置
1、カウントバリューレジスタ4が接続されるデータバ
ス、15は計算機装置1において異常監視の対象となる
ソフトウエアプロセスである。なお、計算機装置1のソ
フトウエアプロセス15はこれが正常に動作している証
しとして一定の時間毎にリセット信号D17を送出する
が、このリセット信号D17はカウンタ制御装置3に与
えられる。一方、カウンタ制御装置3から計算機装置1
に対しては割り込み信号D16が送出される。また、カ
ウンタ制御装置3からは計算機装置1のソフトウエアプ
ロセス15が異常状態であることを外部に知らせるため
の警告信号D2が送出される。以上述べたような構成に
おいて、次にその動作を説明する。
2. Description of the Related Art FIG. 3 is a block diagram of a conventional computer system monitoring apparatus. In the figure, 1 is a computer device that is an object of abnormality monitoring, 5 is a counter device that counts down at preset time intervals and operates as a timer, 3 is a counter control device that controls the operation of the counter device 4, and 4 is a counter device. The overflow value of 5, that is, a count value register for storing the set time, 14 is a data bus to which the computer device 1 and the count value register 4 are connected, and 15 is a software process which is a target of abnormality monitoring in the computer device 1. Note that the software process 15 of the computer device 1 sends a reset signal D17 at regular time intervals as proof that it is operating normally, and this reset signal D17 is given to the counter control device 3. On the other hand, the counter control device 3 to the computer device 1
An interrupt signal D16 is sent to Further, the counter control device 3 sends a warning signal D2 for notifying the outside that the software process 15 of the computer device 1 is in an abnormal state. The operation of the configuration described above will be described below.

【0003】まず、計算機装置1により外部への警告信
号D2の送出が解除されると、カウンタ制御装置3から
の制御によりカウントバリューレジスタ4に格納された
カウント値がカウンタ装置5にロードされる。なお、カ
ウントバリューレジスタ4のカウント値は、ソフトウエ
アプロセス15が正常動作時にリセット信号D17を送
出する時間間隔よりも大きな値に設定される。そして、
その設定は計算機装置1からデータバス14を介してカ
ウンタ装置5にセットされる。
First, when the computer device 1 releases the warning signal D2 to the outside, the count value stored in the count value register 4 is loaded into the counter device 5 under the control of the counter control device 3. The count value of the count value register 4 is set to a value larger than the time interval at which the software process 15 sends the reset signal D17 during normal operation. And
The setting is set in the counter device 5 from the computer device 1 via the data bus 14.

【0004】以上のようにしてカウント値をロードされ
たカウンタ装置5は直ちにカウントダウンを開始する。
しかし、計算機装置1に持たせたある特定のソフトウエ
アプロセス15により生成されたリセット信号D17を
カウンタ制御装置3が受信するとカウンタ装置5はリセ
ットされ、再びカウントバリューレジスタ4からのカウ
ント値をセットされカウントダウン動作を行う。このカ
ウントダウン動作中に計算機装置1のソフトウエアプロ
セス15からリセット信号D17を受信し続ける限りカ
ウンタ装置5は同様にリセットとカウントダウンを繰り
返す。つまり、ソフトウエアプロセス15が正常に動作
している限りはカウンタ装置5のカウントダウン中にリ
セット信号D17の出力は行われるので、カウンタ装置
5はオーバーフローせずにカウントダウン動作を繰り返
す。
The counter device 5 loaded with the count value as described above immediately starts counting down.
However, when the counter control device 3 receives the reset signal D17 generated by a specific software process 15 provided to the computer device 1, the counter device 5 is reset and the count value from the count value register 4 is set again. Performs countdown operation. As long as the reset signal D17 is continuously received from the software process 15 of the computer device 1 during this countdown operation, the counter device 5 similarly repeats resetting and countdown. That is, as long as the software process 15 is operating normally, the reset signal D17 is output during the countdown of the counter device 5, so the counter device 5 does not overflow and repeats the countdown operation.

【0005】さて、カウンタ制御装置3が計算機装置1
からのリセット信号を受信する前にカウンタ装置5がオ
ーバーフローした場合は、つまり、カウンタ装置5のカ
ウントダウン終了までの間にソフトウエアプロセス15
がリセット信号D17を出力できなかった場合は、カウ
ンタ制御装置3は計算機装置1に対して割り込み信号D
16を送信する。その結果、カウンタ制御装置3はカウ
ンタ装置5をリセットし、カウントバリューレジスタ4
から再びカウント値をカウンタ装置5にセットして、カ
ウンタ装置5を再びカウントダウン動作させる。
Now, the counter control device 3 is the computer device 1
If the counter device 5 overflows before receiving the reset signal from, that is, before the countdown of the counter device 5 is completed, the software process 15
When the counter control device 3 cannot output the reset signal D17, the counter control device 3 sends the interrupt signal D to the computer device 1.
16 is transmitted. As a result, the counter control device 3 resets the counter device 5, and the count value register 4
Then, the count value is set in the counter device 5 again, and the counter device 5 is caused to count down again.

【0006】この2回目のカウントダウン動作中にカウ
ンタ制御装置3が計算機装置1からのリセット信号D1
7を受信できなかった場合は、つまりソフトウエアプロ
セス15がリセット信号D17を出力できなかった場合
は、カウンタ装置5は再びオーバーフローを起こすこと
になるが、この場合はカウンタ制御装置3は外部に警告
信号D2を送出し、計算機装置1のソフトウエアプロセ
ス15に異常が発生していることを外部に知らせる。
During the second countdown operation, the counter control device 3 resets the reset signal D1 from the computer device 1.
When 7 is not received, that is, when the software process 15 cannot output the reset signal D17, the counter device 5 causes overflow again, but in this case, the counter control device 3 issues an external warning. The signal D2 is transmitted to notify the outside that the software process 15 of the computer system 1 is abnormal.

【0007】[0007]

【発明が解決しようとする課題】従来の計算機システム
監視装置は上記のように構成されているので、計算機装
置1に組み込まれた特定のソフトウエアプロセス15で
しかカウンタ装置5をリセットすることができず、複数
のソフトウエアプロセスがある場合にはどのソフトウエ
アプロセスで異常を発生したかを知ることができず、し
かも監視の対象となるソフトウエアプロセスよりもプラ
イオリティの低いソフトウエアプロセスについては異常
を検出できないという問題点がある。
Since the conventional computer system monitoring device is constructed as described above, the counter device 5 can be reset only by the specific software process 15 incorporated in the computer device 1. If there are multiple software processes, it is not possible to know in which software process the error occurred, and if there is a software process with a lower priority than the monitored software process, the error is detected. There is a problem that it cannot be detected.

【0008】この発明は上記のような問題点を解消する
ためになされたもので、実行中の複数のソフトウエアプ
ロセスをスキャンニングし、そのスキャン結果により登
録されたすべてのソフトウエアプロセスを異常監視の対
象とすることを可能とし、複数のソフトウエアプロセス
の監視と異常を起こしたソフトウエアプロセスの特定を
行うことができる計算機システム監視装置を提供するこ
とを目的とする。
The present invention has been made to solve the above problems, and scans a plurality of software processes being executed, and abnormally monitors all the registered software processes based on the scan results. It is an object of the present invention to provide a computer system monitoring device capable of monitoring a plurality of software processes and identifying a software process in which an abnormality has occurred.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の計算機システム監視装置は、正常動
作中はそれぞれ所定の時間間隔でリセット信号を生成す
る複数のソフトウエアプロセスを実行する計算機システ
ムと、予め定められた時間間隔でタイムアウトするタイ
マ手段と、前記タイマ手段のタイムアウト毎に前記ソフ
トウエアプロセスの中でリセット信号を送出したソフト
ウエアプロセスを特定するラッチ手段と、前記タイマ手
段のタイムアウトの所定の回数にわたって連続してリセ
ット信号を送出したソフトウエアプロセスをリセット期
待値として格納するリセット期待値格納手段と、前記ラ
ッチ手段の内容と前記リセット期待値の内容を比較して
差異が生じた場合に異常を判定する比較手段と、を備え
る計算機システム監視装置を提供するものである。
In order to achieve the above object, the computer system monitoring apparatus according to claim 1 executes a plurality of software processes for generating reset signals at predetermined time intervals during normal operation. A computer system, a timer means for timing out at a predetermined time interval, a latch means for specifying a software process that has sent a reset signal in the software process for each time-out of the timer means, and the timer means. The reset expected value storage means for storing the software process which has continuously sent the reset signal for a predetermined number of times as the reset expected value, and the contents of the latch means and the contents of the reset expected value are compared to find a difference. A computer system including: a comparing unit that determines an abnormality when it occurs. There is provided a viewing device.

【0010】また、上記目的を達成するために、請求項
2記載の計算機システム監視装置は、正常動作中はそれ
ぞれ所定の時間間隔でリセット信号を生成する複数のソ
フトウエアプロセスを実行する計算機システムと、予め
定められた時間間隔でタイムアウトするタイマ手段と、
前記タイマ手段のタイムアウト毎に前記ソフトウエアプ
ロセスの中でリセット信号を送出したソフトウエアプロ
セスを特定するラッチ手段と、前記タイマ手段のタイム
アウトの所定の回数にわたって連続してリセット信号を
送出したソフトウエアプロセスをリセット期待値として
格納するリセット期待値格納手段と、前記ラッチ手段の
内容と前記リセット期待値の内容を比較して差異が生じ
た場合に異常を判定し、異常の原因となったソフトウエ
アプロセスを特定する異常判定手段と、を備える計算機
システム監視装置を提供するものである。
In order to achieve the above object, a computer system monitoring apparatus according to a second aspect of the present invention is a computer system that executes a plurality of software processes that generate reset signals at predetermined time intervals during normal operation. , Timer means for timing out at a predetermined time interval,
Latch means for specifying a software process that has sent a reset signal in the software process each time the timer means times out, and a software process that has continuously sent a reset signal for a predetermined number of times of the timer means Is stored as a reset expectation value, and the contents of the latch means and the contents of the reset expectation value are compared with each other to judge an abnormality when there is a difference, and the software process causing the abnormality And a computer system monitoring apparatus including an abnormality determining unit for identifying the above.

【0011】さらに、上記目的を達成するために、請求
項3記載の計算機システム監視装置は、正常動作中はそ
れぞれ所定の時間間隔でリセット信号を生成する複数の
ソフトウエアプロセスを実行する計算機システムと、特
定のソフトウエアプロセスを登録する登録手段と、予め
定められた時間間隔でタイムアウトするタイマ手段と、
前記タイマ手段のタイムアウト毎に前記ソフトウエアプ
ロセスの中でリセット信号を送出したソフトウエアプロ
セスを特定するラッチ手段と、前記タイマ手段のタイム
アウトの所定の回数にわたって連続してリセット信号を
送出したソフトウエアプロセスをリセット期待値として
格納するリセット期待値格納手段と、前記ラッチ手段の
内容と前記リセット期待値の内容を比較して差異が生じ
た場合に異常を判定し、異常の原因となったソフトウエ
アプロセスを特定する異常判定手段と、前記異常判定手
段により特定されたソフトウエアプロセスを登録手段に
登録されたソフトウエアプロセスとつき合わせ一致した
場合に異常報知する警告手段と、を備える計算機システ
ム監視装置を提供するものである。
Further, in order to achieve the above object, a computer system monitoring apparatus according to a third aspect of the present invention is a computer system that executes a plurality of software processes that generate reset signals at predetermined time intervals during normal operation. A registration means for registering a specific software process, a timer means for timing out at a predetermined time interval,
Latch means for specifying a software process that has sent a reset signal in the software process each time the timer means times out, and a software process that has continuously sent a reset signal for a predetermined number of times of the timer means Is stored as a reset expectation value, and the contents of the latch means and the contents of the reset expectation value are compared with each other to judge an abnormality when there is a difference, and the software process causing the abnormality A computer system monitoring device comprising: an abnormality determining means for identifying the above, and a warning means for notifying an abnormality when the software process identified by the abnormality determining means matches the software process registered in the registration means. It is provided.

【0012】[0012]

【作用】請求項1記載の計算機システム監視装置は、計
算機システムにおいて動作する複数のソフトウエアプロ
セスにおいて正常動作時に生成されるリセット信号をタ
イマ手段のタイムアウト毎に特定してラッチ手段に格納
し、前記タイマ手段のタイムアウトの所定の回数にわた
って連続してリセット信号を送出したソフトウエアプロ
セスをリセット期待値としてリセット期待値格納手段に
格納しておき、前記ラッチ手段の内容と前記リセット期
待値の内容を比較して差異が生じた場合に比較手段にお
いて異常と判定する。
According to the computer system monitoring apparatus of the present invention, a reset signal generated during normal operation in a plurality of software processes operating in the computer system is specified for each time-out of the timer means and stored in the latch means. The software process that has continuously sent the reset signal for a predetermined number of times of the timer means is stored in the reset expectation value storage means as the reset expectation value, and the contents of the latch means and the contents of the reset expectation value are compared. If there is a difference, the comparing means determines that there is an abnormality.

【0013】また、請求項2記載の計算機システム監視
装置は、計算機システムにおいて動作する複数のソフト
ウエアプロセスにおいて正常動作時に生成されるリセッ
ト信号をタイマ手段のタイムアウト毎に特定してラッチ
手段に格納し、前記タイマ手段のタイムアウトの所定の
回数にわたって連続してリセット信号を送出したソフト
ウエアプロセスをリセット期待値としてリセット期待値
格納手段に格納しておき、異常判定手段により前記ラッ
チ手段の内容と前記リセット期待値の内容を比較して差
異が生じた場合に異常を判定し、異常の原因となったソ
フトウエアプロセスを特定する。
According to another aspect of the computer system monitoring apparatus of the present invention, a reset signal generated during normal operation in a plurality of software processes operating in the computer system is specified for each timeout of the timer means and stored in the latch means. A software process that has continuously sent a reset signal for a predetermined number of times of the timer means is stored in the reset expectation value storage means as a reset expectation value, and the abnormality determination means resets the contents of the latch means and the resetting. If the contents of the expected values are compared and a difference occurs, the abnormality is judged and the software process that caused the abnormality is specified.

【0014】また、請求項3記載の計算機システム監視
装置は、計算機システムにおいて動作する複数のソフト
ウエアプロセスにおいて正常動作時に生成されるリセッ
ト信号をタイマ手段のタイムアウト毎に特定してラッチ
手段に格納し、前記タイマ手段のタイムアウトの所定の
回数にわたって連続してリセット信号を送出したソフト
ウエアプロセスをリセット期待値としてリセット期待値
格納手段に格納しておき、異常判定手段により前記ラッ
チ手段の内容と前記リセット期待値の内容を比較して差
異が生じた場合に異常を判定し、異常の原因となったソ
フトウエアプロセスを特定し、更に警告手段において異
常の原因となったソフトウエアプロセスを登録手段に登
録されたソフトウエアプロセスとつき合わせ一致した場
合に異常報知する。
A computer system monitor according to claim 3
The device is a set of software that operates in a computer system.
Reset generated during normal operation in the wear process
Latches the specified signal every time the timer means times out.
Stored in the means, and the predetermined time-out of the timer means
Software that continuously sends the reset signal over the number of times
Wear process as reset expected value Reset expected value
It is stored in the storage means, and the abnormality determination means stores the latch.
Compare the contents of the reset means and the contents of the reset expected value
If there is a difference, the abnormality is judged and the software that caused the abnormality is detected.
Software process, and the warning means
Register the software process that has always been the cause as a registration method.
If the recorded software process matches and matches
If it does, an error will be reported.

【0015】[0015]

【実施例】以下、図面を参照しながらこの発明の実施例
を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0016】図1はこの発明の一実施例に係る計算機シ
ステム監視装置のブロック図である。図において、7は
異常監視の対象である計算機装置1に組み込まれる複数
のソフトウエアプロセスを含むソフトウエアプロセス
群、6はソフトウエアプロセス群7の各ソフトウエアプ
ロセス毎に割りつけられたラッチ群を有し、ソフトウエ
アプロセス群7から送出されるカウンタリセット信号D
8をラッチするカウンタラッチ回路、10はカウンタラ
ッチ回路6からの信号に基づき計算機装置1におけるソ
フトウエアプロセス群7のスキャンニング結果に基づく
リセット期待値を格納するリセット期待値レジスタ、1
1はカウンタラッチ回路6の出力とリセット期待値レジ
スタ10の出力を論理的に比較して、比較結果をカウン
タ制御装置3に送出するコンペアロジック、13は計算
機装置1とデータバス14を介して接続され、リセット
期待値レジスタ10の出力結果とカウンタ制御装置3の
出力に基づいて警告信号D2の送出を判定する警告信号
生成回路である。なお、カウンタ制御装置3は計算機装
置1のソフトウエアプロセス群7において現在進行中の
ソフトウエアプロセスのスキャンニングを行うべく計算
機装置1に対して割り込み信号D9を送出する。また、
カウンタ制御装置3はコンペアロジック11の出力結果
からソフトウエアプロセス群7のなかのソフトウエアプ
ロセスのいずれかに異常が認められた場合、計算機装置
1に対して割り込み信号D12を送出する。
FIG. 1 is a block diagram of a computer system monitoring apparatus according to an embodiment of the present invention. In the figure, 7 is a software process group including a plurality of software processes incorporated in the computer apparatus 1 to be monitored for an abnormality, and 6 is a latch group assigned to each software process of the software process group 7. The counter reset signal D which has and is sent from the software process group 7
8 is a counter latch circuit that latches 8; 10 is a reset expected value register that stores a reset expected value based on the scanning result of the software process group 7 in the computer apparatus 1 based on the signal from the counter latch circuit 6;
Reference numeral 1 is a compare logic for logically comparing the output of the counter latch circuit 6 and the output of the reset expected value register 10 and sending the comparison result to the counter control device 3. Reference numeral 13 is connected to the computer device 1 via a data bus 14. The warning signal generation circuit determines whether or not to output the warning signal D2 based on the output result of the reset expected value register 10 and the output of the counter control device 3. The counter control device 3 sends an interrupt signal D9 to the computer device 1 in order to scan the software process currently in progress in the software process group 7 of the computer device 1. Also,
The counter control device 3 sends an interrupt signal D12 to the computer device 1 when an abnormality is found in any of the software processes in the software process group 7 from the output result of the compare logic 11.

【0017】以上述べたような構成において、次にその
動作を図2のフローチャートに基づいて説明する。
The operation of the above-described structure will be described below with reference to the flow chart of FIG.

【0018】まず、計算機装置1により外部への警告信
号D2の送出が解除されると、カウンタ制御装置3から
の制御によりカウントバリューレジスタ4に格納された
カウント値がカウンタ装置5にロードされる。なお、カ
ウントバリューレジスタ4のカウント値はデータバス1
4を介して計算機装置1によりセットされるが、このカ
ウント値は計算機装置1で動作するソフトウエアプロセ
ス群7の任意のソフトウエアプロセスが正常に動作して
いる場合に出力するカウンタリセット信号D8の出力時
間間隔をカバーできるような値が設定される。同時にソ
フトウエアプロセス群7の各ソフトウエアプロセス毎に
対応して配置されるカウンタラッチ回路6はイネーブル
とされる。
First, when the computer device 1 releases the warning signal D2 to the outside, the count value stored in the count value register 4 is loaded into the counter device 5 under the control of the counter control device 3. The count value of the count value register 4 is the data bus 1
The count value of the counter reset signal D8 output when the arbitrary software process of the software process group 7 operating in the computer device 1 is normally operated. The value is set to cover the output time interval. At the same time, the counter latch circuit 6 arranged corresponding to each software process of the software process group 7 is enabled.

【0019】以上のようにしてカウント値をロードされ
たカウンタ装置5は直ちにカウントダウン、つまりタイ
マー動作を開始する。この間に、計算機装置1に持たせ
たソフトウエアプロセス群7の中のあるソフトウエアプ
ロセスにより生成されたカウンタリセット信号D8はカ
ウンタラッチ回路6にその出力毎に保持される。
The counter device 5 loaded with the count value as described above immediately starts the countdown, that is, the timer operation. During this period, the counter reset signal D8 generated by a certain software process in the software process group 7 provided in the computer device 1 is held in the counter latch circuit 6 for each output.

【0020】さて、カウントダウン中のカウンタ装置5
がタイムアウトでオーバーフローするとカウンタ制御装
置3は計算機装置1に対して期待値生成の割り込み信号
D9を発生する。その結果、計算機装置1は期待値生成
の割り込み処理に入る。
Now, the counter device 5 during the countdown
When the counter overflows due to a timeout, the counter control device 3 generates an expected value generating interrupt signal D9 to the computer device 1. As a result, the computer system 1 starts an interrupt process for generating an expected value.

【0021】この処理では、先ずステップS1に示すよ
うに、カウンタラッチ回路6の保持データをリードす
る。次に、ステップS2に示すように、前回の同様の割
り込み処理においてリードしたデータとアンド条件を取
る。そして、ステップS3に示すように、例えば2回連
続してカウンタリセット信号D8を送信したソフトウエ
アプロセスのデータビットだけをリセット信号期待値と
して保持する。
In this process, first, as shown in step S1, the data held in the counter latch circuit 6 is read. Next, as shown in step S2, an AND condition is obtained with the data read in the previous similar interrupt processing. Then, as shown in step S3, for example, only the data bit of the software process that has transmitted the counter reset signal D8 twice consecutively is held as the reset signal expected value.

【0022】以上のような処理はカウンタ装置5がオー
バーフローする毎に行うが、これはステップS4により
回数判定しながら、ステップS5でカウンタ装置5のカ
ウントダウンを再開し、ステップS6でリターンして、
同様の動作を繰り返すことにより実行する。
The above-described processing is performed every time the counter device 5 overflows. This is determined in step S4 while restarting the countdown of the counter device 5 in step S5 and returning in step S6.
It is executed by repeating the same operation.

【0023】この繰り返し回数が所定の回数N回に達し
た段階でステップS4でこれを判定し、この段階でカウ
ンタ装置5がオーバーフローする前にリセット信号を送
信できるソフトウエアプロセス群7中のソフトウエアプ
ロセスを決定する。このリセット期待値はステップS7
において、データバス14を介してリセット期待値レジ
スタ10に格納される。
When the number of repetitions reaches a predetermined number N, this is judged in step S4, and at this stage, the software in the software process group 7 which can send the reset signal before the counter device 5 overflows. Determine the process. The expected reset value is step S7.
At, the data is stored in the reset expected value register 10 via the data bus 14.

【0024】以上の処理が終了すると、処理はステップ
S8に移り、カウンタ装置5のカウントダウンを再開
し、ステップS9でリターンして同様の動作を繰り返
す。
When the above processing is completed, the processing proceeds to step S8, the countdown of the counter device 5 is restarted, the operation returns at step S9, and the same operation is repeated.

【0025】さて、カウンタ制御装置3はリセット期待
値がリセット期待値レジスタ10に格納された後に、カ
ウンタ装置5のオーバーフローが発生する毎にカウンタ
ラッチ回路6とリセット期待値レジスタ10のリセット
期待値をコンペアロジック11を介して比較する。そし
て両者の間に差異を生じた場合にソフトウエアプロセス
エラーとして計算機装置1に対して割り込み信号D12
を発生する。つまり、異常を発生したソフトウエアプロ
セスはリセット期待値としてリセット期待値レジスタ1
0に登録されているにもかかわらカウンタ装置5のオー
バーフロー前にカウンタリセット信号D8を出力できな
かったために異常と判定される。
After the reset expected value is stored in the reset expected value register 10, the counter control device 3 outputs the reset expected value of the counter latch circuit 6 and the reset expected value register 10 every time the counter device 5 overflows. The comparison is made via the compare logic 11. If there is a difference between the two, an interrupt signal D12 is sent to the computer apparatus 1 as a software process error.
To occur. That is, the software process in which the error occurred is the reset expected value register 1 as the reset expected value.
Although registered as 0, the counter reset signal D8 could not be output before the counter device 5 overflowed, so that it is determined to be abnormal.

【0026】なお、計算機装置1は割り込み信号D12
を受けると異常の原因となったソフトウエアプロセスを
特定しこれを警告信号生成回路13に送出する。警告信
号生成回路13は、予め警告信号生成回路13にセット
されたソフトウエアプロセス群7の中の特定のソフトウ
エアプロセスとコンペアロジック11で差異を生じる原
因となったソフトウエアプロセスが一致した場合に、外
部に対して警告信号D2を送出し、異常発生を知らせ
る。ちなみに、警告信号生成回路13に予め設定される
ソフトウエアプロセス群7の中の任意のソフトウエアプ
ロセスは計算機装置1からデータバス14を通じて自由
に設定変更することができる。
The computer system 1 uses the interrupt signal D12.
Upon receipt, the software process that caused the abnormality is identified and sent to the warning signal generation circuit 13. The warning signal generation circuit 13 determines whether a specific software process in the software process group 7 set in advance in the warning signal generation circuit 13 and a software process that causes a difference in the compare logic 11 match. , A warning signal D2 is sent to the outside to notify the occurrence of an abnormality. Incidentally, any software process in the software process group 7 preset in the warning signal generation circuit 13 can be freely set and changed from the computer device 1 through the data bus 14.

【0027】なお、期待値生成の割り込み処理は、カウ
ンタ装置5のオーバーフロー毎に処理され、リセット信
号期待値はカウンタ装置5のオーバーフロー毎に更新さ
れる。その結果、カウンタ装置5のオーバーフロー時間
内で処理が可能な複数のソフトウエアプロセスの監視を
行うことができる。
The expected value generation interrupt process is performed each time the counter device 5 overflows, and the reset signal expected value is updated each time the counter device 5 overflows. As a result, it is possible to monitor a plurality of software processes that can be processed within the overflow time of the counter device 5.

【0028】なお、上記実施例では、カウンタ装置5に
カウントバリューレジスタ4からセットするカウント値
を1種類だけとしたが、このカウント値を一定の時間
毎、またはソフトウエアプロセス群7の中の動作頻度の
高いソフトウエアプロセスに合わせて適時切り替えるよ
うにしてもよく、より適確な異常監視を行うことができ
る。
In the above embodiment, only one type of count value is set in the counter device 5 from the count value register 4. However, this count value is set at regular intervals or in the software process group 7. The switching may be performed in a timely manner according to the frequently used software process, and more accurate abnormality monitoring can be performed.

【0029】また、上記実施例ではリセット可能で一定
の時間毎にタイムアウトするようなタイマとしてカウン
タ装置5を用いた構成を例示したが、水晶発振器等によ
るタイマ回路でも同様の目的を達成することができるこ
とは言うまでもない。
Further, in the above embodiment, the counter device 5 is used as a timer which can be reset and times out at regular intervals, but a timer circuit such as a crystal oscillator can achieve the same object. It goes without saying that you can do it.

【0030】更に、上記実施例では異常検出時に計算機
装置1に割り込みを発生するような構成を例示したが、
異常の状態によってはシステムの暴走も考えられ、この
ような場合は割り込みの受付も不可能な状態となるの
で、直ちにシステムリセットをかけるような構成とした
り、割り込みが受けつけられていないことを判定してシ
ステムリセットするような構成としてもよい。
Further, in the above-described embodiment, the configuration in which an interrupt is generated in the computer device 1 when an abnormality is detected has been exemplified.
Depending on the abnormal status, the system may run out of control, and in such a case, it will not be possible to accept interrupts.Therefore, the system should be reset immediately or it is judged that no interrupts have been accepted. The system may be reset by resetting.

【0031】また、上記実施例ではソフトウエアプロセ
ス群7の中で特定のソフトウエアプロセスに異常を発生
した場合にのみ警告信号生成回路13から警告信号D2
を出力するような構成を例示したが、ソフトウエアプロ
セス群7のいずれか1つでも異常が見つかった場合には
警告信号D2を送出するような構成としてもよい。
In the above embodiment, the warning signal generation circuit 13 outputs the warning signal D2 only when an abnormality occurs in a specific software process in the software process group 7.
Although the configuration for outputting the above is illustrated, the configuration may be such that when any one of the software process groups 7 is found to be abnormal, the warning signal D2 is transmitted.

【0032】[0032]

【発明の効果】以上のように、この発明によれば計算機
システム監視装置を複数のソフトウエアプロセスのスキ
ャンニングにより現在実行中の任意のソフトウエアプロ
セスの異常監視を行うことができ複数のソフトウエアプ
ロセスの異常監視に適用可能であり、さらに異常動作し
たソフトウエアプロセスを特定することができるのでデ
バッグ作業や工程回復が効率的になり、また異常発生し
たソフトウエアプロセスの中で重大な影響のあるものだ
けを選別して警報を出すことが可能なのでシステムに応
じた柔軟な対応が可能になるという効果がある。
As described above, according to the present invention, the computer system monitoring device can perform abnormality monitoring of any software process currently being executed by scanning a plurality of software processes, and a plurality of software processes can be monitored. It can be applied to process abnormality monitoring and can identify abnormally operating software processes, which makes debugging work and process recovery efficient, and has a significant impact on abnormal software processes. Since only the items can be selected and an alarm can be issued, it is possible to flexibly respond to the system.

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

【図1】この発明の一実施例に係る計算機システム監視
装置のブロック図である。
FIG. 1 is a block diagram of a computer system monitoring apparatus according to an embodiment of the present invention.

【図2】図1の構成の動作を説明するためのフローチャ
ートである。
FIG. 2 is a flow chart for explaining the operation of the configuration of FIG.

【図3】従来の計算機システム監視装置のブロック図で
ある。
FIG. 3 is a block diagram of a conventional computer system monitoring device.

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

1 計算機装置 3 カウンタ制御装置 4 カウントバリューレジスタ 5 カウンタ装置 6 カウンタラッチ回路 7 ソフトウエアプロセス群 10 リセット期待値レジスタ 11 コンペアロジック 13 警告信号生成回路 14 データバス 15 ソフトウエアプロセス 1 Computer Device 3 Counter Control Device 4 Count Value Register 5 Counter Device 6 Counter Latch Circuit 7 Software Process Group 10 Reset Expected Value Register 11 Compare Logic 13 Warning Signal Generation Circuit 14 Data Bus 15 Software Process

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】正常動作中はそれぞれ所定の時間間隔でリ
セット信号を生成する複数のソフトウエアプロセスを実
行する計算機システムと、予め定められた時間間隔でタ
イムアウトするタイマ手段と、前記タイマ手段のタイム
アウト毎に前記ソフトウエアプロセスの中でリセット信
号を送出したソフトウエアプロセスを特定するラッチ手
段と、前記タイマ手段のタイムアウトの所定の回数にわ
たって連続してリセット信号を送出したソフトウエアプ
ロセスをリセット期待値として格納するリセット期待値
格納手段と、前記ラッチ手段の内容と前記リセット期待
値の内容を比較して差異が生じた場合に異常を判定する
比較手段と、を備えることを特徴とする計算機システム
監視装置。
1. A computer system that executes a plurality of software processes that generate reset signals at predetermined time intervals during normal operation, timer means that times out at predetermined time intervals, and timeout of the timer means. Latch means for specifying the software process that has sent the reset signal in each of the software processes, and the software process that has continuously sent the reset signal for a predetermined number of times out of the timer means as the reset expected value. A computer system monitoring apparatus comprising: a reset expectation value storage means for storing the contents; and a comparison means for comparing the contents of the latch means with the contents of the reset expectation value to determine an abnormality when a difference occurs. .
【請求項2】正常動作中はそれぞれ所定の時間間隔でリ
セット信号を生成する複数のソフトウエアプロセスを実
行する計算機システムと、予め定められた時間間隔でタ
イムアウトするタイマ手段と、前記タイマ手段のタイム
アウト毎に前記ソフトウエアプロセスの中でリセット信
号を送出したソフトウエアプロセスを特定するラッチ手
段と、前記タイマ手段のタイムアウトの所定の回数にわ
たって連続してリセット信号を送出したソフトウエアプ
ロセスをリセット期待値として格納するリセット期待値
格納手段と、前記ラッチ手段の内容と前記リセット期待
値の内容を比較して差異が生じた場合に異常を判定し、
異常の原因となったソフトウエアプロセスを特定する異
常判定手段と、を備えることを特徴とする計算機システ
ム監視装置。
2. A computer system that executes a plurality of software processes that generate reset signals at predetermined time intervals during normal operation, timer means that times out at predetermined time intervals, and time-out of the timer means. Latch means for specifying the software process that has sent the reset signal in each of the software processes, and the software process that has continuously sent the reset signal for a predetermined number of times out of the timer means as the reset expected value. The reset expected value storing means for storing and the contents of the latch means and the contents of the reset expected value are compared to determine an abnormality when a difference occurs,
A computer system monitoring device, comprising: an abnormality determining unit that identifies a software process that has caused an abnormality.
【請求項3】正常動作中はそれぞれ所定の時間間隔でリ
セット信号を生成する複数のソフトウエアプロセスを実
行する計算機システムと、特定のソフトウエアプロセス
を登録する登録手段と、予め定められた時間間隔でタイ
ムアウトするタイマ手段と、前記タイマ手段のタイムア
ウト毎に前記ソフトウエアプロセスの中でリセット信号
を送出したソフトウエアプロセスを特定するラッチ手段
と、前記タイマ手段のタイムアウトの所定の回数にわた
って連続してリセット信号を送出したソフトウエアプロ
セスをリセット期待値として格納するリセット期待値格
納手段と、前記ラッチ手段の内容と前記リセット期待値
の内容を比較して差異が生じた場合に異常を判定し、異
常の原因となったソフトウエアプロセスを特定する異常
判定手段と、前記異常判定手段により特定されたソフト
ウエアプロセスを登録手段に登録されたソフトウエアプ
ロセスとつき合わせ一致した場合に異常報知する警告手
段と、を備えることを特徴とする計算機システム監視装
置。
3. A computer system that executes a plurality of software processes that generate a reset signal at predetermined time intervals during normal operation, a registration means that registers a specific software process, and a predetermined time interval. Timer means for time-out, a latch means for specifying a software process that has sent a reset signal in the software process for each time-out of the timer means, and a timer means for continuously resetting for a predetermined number of time-outs The contents of the latch means and the contents of the reset expectation value are compared with the reset expectation value storage means for storing the software process that has sent the signal as the reset expectation value, and if there is a difference, an abnormality is judged and Abnormality determination means that identifies the software process that caused the And warning means for abnormality notification if they match butted with software process that is registered in the registration means software process which is identified by atmospheric determining means, computer system monitoring device, characterized in that it comprises a.
JP4298709A 1992-11-09 1992-11-09 Monitoring device for computer system Pending JPH06149627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4298709A JPH06149627A (en) 1992-11-09 1992-11-09 Monitoring device for computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4298709A JPH06149627A (en) 1992-11-09 1992-11-09 Monitoring device for computer system

Publications (1)

Publication Number Publication Date
JPH06149627A true JPH06149627A (en) 1994-05-31

Family

ID=17863276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4298709A Pending JPH06149627A (en) 1992-11-09 1992-11-09 Monitoring device for computer system

Country Status (1)

Country Link
JP (1) JPH06149627A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5928366A (en) * 1996-09-25 1999-07-27 Nec Corporation Microcomputer based system for the fail-safe control of an electric motor or the like

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5928366A (en) * 1996-09-25 1999-07-27 Nec Corporation Microcomputer based system for the fail-safe control of an electric motor or the like

Similar Documents

Publication Publication Date Title
JPH04245751A (en) Event processing distributing type network monitoring system
US4183462A (en) Fault diagnosis apparatus and method for sequence control system
US5280626A (en) Multi-process emulator suitable for testing software under multi-process environments
EP0125797A1 (en) Interrupt signal handling apparatus
JPH06149627A (en) Monitoring device for computer system
US6272585B1 (en) Multiple interrupt handling method and apparatus
JPH06168163A (en) Method and device for monitoring cpu
EP0385404A2 (en) Clock failure recovery system
JP3118959B2 (en) Failure Counting Device and Failure Counting Method
JPS61193236A (en) Self-runaway handling device of microcomputer
SU1173415A1 (en) Apparatus for static control of logical units
JPS5819097B2 (en) Computer system monitoring method
JP2610670B2 (en) Testing equipment
SU1249446A1 (en) Device for performing quality control of acoustical contact
JPH1011324A (en) Signal sending-out circuit
JPS60262252A (en) Monitor system for runaway of microprocessor
JPH04287460A (en) Fault detection system
JPH03157739A (en) Performance measuring system for epu
JPH08171519A (en) Cpu device
JPH08202587A (en) Digital processor provided with software self-diagnostic function
JPS60243751A (en) Supervisory circuit of incorrect interruption in computer
JPS6359637A (en) Processor operation monitoring circuit
JP2004151846A (en) Runaway detection device
JPH02234240A (en) Information processor
JPH04133162A (en) Operation monitor for processor