JPS5834855B2 - Computer monitoring method - Google Patents

Computer monitoring method

Info

Publication number
JPS5834855B2
JPS5834855B2 JP52080843A JP8084377A JPS5834855B2 JP S5834855 B2 JPS5834855 B2 JP S5834855B2 JP 52080843 A JP52080843 A JP 52080843A JP 8084377 A JP8084377 A JP 8084377A JP S5834855 B2 JPS5834855 B2 JP S5834855B2
Authority
JP
Japan
Prior art keywords
computer
counter
signal
abnormality
reset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP52080843A
Other languages
Japanese (ja)
Other versions
JPS5415629A (en
Inventor
克己 村木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP52080843A priority Critical patent/JPS5834855B2/en
Publication of JPS5415629A publication Critical patent/JPS5415629A/en
Publication of JPS5834855B2 publication Critical patent/JPS5834855B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 この発明は例えばリアルタイムの制御を行う計算機の異
常を検出する事を目的とする計算機監視方法に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a computer monitoring method for the purpose of detecting an abnormality in a computer that performs real-time control, for example.

従来のこの種のものを第1図に示し説明する。A conventional device of this kind is shown in FIG. 1 and will be explained.

第1図に於て、1は一般的な計算機で、被監視対象であ
る。
In FIG. 1, numeral 1 is a general computer, which is the object to be monitored.

2は発振器で、一定周期のパルスを発生するものであり
、その発振信号は計算器1及び計算機監視装置6に加え
られる。
Reference numeral 2 denotes an oscillator which generates pulses of a constant period, and its oscillation signal is applied to the calculator 1 and the computer monitoring device 6.

6は監視装置であり、カウンタ3とリレー4とより構成
されたものである。
Reference numeral 6 denotes a monitoring device, which is composed of a counter 3 and a relay 4.

次に第1図に示したものの動作について説明する。Next, the operation of the device shown in FIG. 1 will be explained.

計算機1が正常な場合、発振器1からの発振信号として
のパルス信号23により周期的にカウンタ3がカウント
アツプされる。
When the computer 1 is normal, the counter 3 is periodically counted up by the pulse signal 23 as an oscillation signal from the oscillator 1.

同時にやはり発振器1からの発振信号としてのパルス信
号21より計算機1に割込みが入り、それによって起動
されるプログラムによって計算機1が正常動作状態にあ
ることが確認され、計算機1からのリセット信号13に
よりカウンタ3のリセットが行われる。
At the same time, a pulse signal 21 as an oscillation signal from the oscillator 1 causes an interrupt to the computer 1, and the program activated thereby confirms that the computer 1 is in a normal operating state, and a reset signal 13 from the computer 1 causes the counter to start. 3 reset is performed.

したがって計算機1が正常動作状態ではカウンタ3オー
バーフローは起きない。
Therefore, when the computer 1 is in a normal operating state, the counter 3 does not overflow.

計算機1に異常が発生すると、パルス信号21の割込み
に対して、計算機1のプログラム処理が出来ず、計算機
1からのリセット信号13は出力されずカウンタ3のリ
セットを行い得ない。
When an abnormality occurs in the computer 1, the program processing of the computer 1 cannot be performed in response to the interruption of the pulse signal 21, the reset signal 13 from the computer 1 is not output, and the counter 3 cannot be reset.

この場合カウンタ3はあらかじめセットされたカウント
数以上発振器1からのパルス信号23によりカウントア
ツプされることになり、その結果カウンタ3のオーバフ
ロー信号34が発生しリレー4を動作させ外部装置5に
計算機1の異常を知らせ監視するものである。
In this case, the counter 3 will be incremented by the pulse signal 23 from the oscillator 1 to a preset count number or more, and as a result, an overflow signal 34 of the counter 3 will be generated, which will operate the relay 4 and send the external device 5 to the computer 1. This is to notify and monitor any abnormalities.

このように、従来のものは上記のように構成されている
ので、計算機1のハードウェアの異常に対しては良いが
、ソフトウェアの異常についてはソフI−ウェア各々の
重要性に関係なく動作し、重要でないソフI・ウェアが
暴走して発振器2からの割込処理が出来ない時でも計算
機1の全体の異常とみなされ異常IJI/4が動作し、
1QltFlされている対象は計碧機1のハードウェア
の異常と同様の処理が心象て、かつ一度計算機1の異常
が対象とする制御装置に知らされると通常計算機運転を
再開するには多くのチェックが行われなくてはならず、
、1−1−算機システムとしての稼動率をおとしてしま
う等の欠点かあった。
In this way, since the conventional system is configured as described above, it is good for hardware abnormalities of computer 1, but it does not work for software abnormalities regardless of the importance of each piece of software. Even when unimportant software I/ware goes out of control and interrupt processing from the oscillator 2 is not possible, it is assumed that the entire computer 1 is abnormal and the abnormal IJI/4 is activated.
The target being 1QltFl imagines the same process as the hardware abnormality of the computer 1, and once the abnormality of the computer 1 is notified to the target control device, it takes many steps to resume normal computer operation. Checks must be made;
1-1- It had some drawbacks, such as lowering the operating rate as a computer system.

この発明はこれらの欠点を解消するためなされたもので
あり、例えばラフ1ヘウエアの重要性に対応しまた計算
機の異常検出を行い得るものであり、計算機の一部が動
作可能な場合は計算機を動作させ計算機システムの稼動
率を高めた計算機監視装置を提供するものである。
This invention was made in order to eliminate these drawbacks, and for example, it is capable of responding to the importance of rough hardware and detecting abnormalities in computers. The present invention provides a computer monitoring device that increases the operating rate of a computer system.

以下、(二の発明の実施例を第2図に示し説明する。Hereinafter, an embodiment of the second invention will be described with reference to FIG.

第2図に於て、11は計算機で、発振器2よりの一定周
期のパルス信号21を割込みとして受θつけプログ−ラ
l、を実行する機能及び、第1のカウンタとしてカウン
タ3aからのオーバフロート信号31により動作し、計
算機11が動作可能な場合第2のカウンタとしてのカウ
ンタ3bをリセツ1へする機能を有する。
In FIG. 2, reference numeral 11 denotes a computer, which has the function of receiving a constant periodic pulse signal 21 from the oscillator 2 as an interrupt and executing a programmer l, which receives the pulse signal 21 of a constant period from the oscillator 2 as an interrupt. It operates in response to a signal 31, and has the function of resetting the counter 3b as the second counter when the computer 11 is operable.

さらに、計算機11は第1図に示した計算機1と同様に
、カウンタ3at3bK対してリセットする機能を有す
るものである。
Furthermore, like the computer 1 shown in FIG. 1, the computer 11 has a function of resetting the counters 3at3bK.

3a、3bはカウンタであり、リセット信号13a、1
3bが来るまでは発振器2よりのパルス信号22によっ
て力のンl−アップされる機能及びあらかじめセラ1−
されたカラン1−数以上になるとオ・−バ・−)lコー
伯U31,34を発生する機能を有す。
3a and 3b are counters, and reset signals 13a and 1
Until 3b arrives, the power is increased by the pulse signal 22 from the oscillator 2 and the cell 1- is activated in advance.
It has a function of generating over 31, 34 when the number of calls exceeds 1.

4はリレ・−であり、力9ンタ3bのオーバフロー信号
34の発生によりセラ1へされ外部装置5に対して計算
機がダウンした事を知らせるものである。
4 is a relay which is sent to the cell 1 upon generation of an overflow signal 34 from the input terminal 3b to notify the external device 5 that the computer is down.

7は計算機監視装置で、カウンタ3a 、3b及びリレ
ー4で構成したものである。
Reference numeral 7 denotes a computer monitoring device, which is composed of counters 3a, 3b and a relay 4.

ここで、カウンタ3aと3bとを、カウンタ3aのオー
バフロー信号31がまず発生しかつソフI・ウェアの実
行が十分可能な時間後にカウンタ3bのオーバフロー信
号34が発生するようにあらかじめオーバフロ一時間を
かえてセットしておく。
Here, the counters 3a and 3b are changed in advance by one overflow time so that the overflow signal 31 of the counter 3a is generated first and the overflow signal 34 of the counter 3b is generated after a time that is sufficient for software I/ware to be executed. and set it.

第2図に示したものの動作について説明する。The operation of the device shown in FIG. 2 will be explained.

発振器2からは計算機11とカンフ3a 、 3bとに
一定周期でパ゛ルス信号2L23が発生されている。
A pulse signal 2L23 is generated from the oscillator 2 to the computer 11 and the amplifiers 3a and 3b at regular intervals.

これによりカウンタ3a、3bはカウントアツプされて
ゆく。
As a result, the counters 3a and 3b are counted up.

計算機11は発振器2からのパルス信号21を割込みと
して受けつけプログラムを実行させ、その結果、計算機
11が「E常動作状態である事によってカウンタ3a、
3bをリセツIへ信号13a、。
The computer 11 receives the pulse signal 21 from the oscillator 2 as an interrupt and executes the program.
3b to reset I signal 13a.

13bによりセットする。13b.

したがってこの動作が行い得ている間はつまり計算機が
正常動作中はカウンタ3 a y 3 bのオーバフロ
ー信号3L34は発生しない。
Therefore, while this operation can be performed, that is, while the computer is operating normally, the overflow signal 3L34 of the counter 3a y 3b is not generated.

計算機11の重要度の低いプログラムの暴走によって、
パルス信号21の割込みが計算S11にとり込めないよ
うになっていると、計算機11からリセット信@13a
、 13bが出力されず、カウンタ3a 、3bはカ
ウントアツプされるがリセツ1−されずついにまずカウ
ンタ3aからオーバフロー信号31が発生ずる。
Due to the runaway of a less important program on computer 11,
If the interrupt of the pulse signal 21 cannot be taken into calculation S11, the reset signal @13a is sent from the computer 11.
, 13b are not output, and the counters 3a and 3b are counted up, but are not reset to 1, and finally an overflow signal 31 is generated from the counter 3a.

このオーバフロー信刊31は計算機11内のプ[7グラ
ム禁止不能の割込みとして割りつけてよ5く。
This overflow newsletter 31 can be assigned as an interrupt that cannot be disabled within the computer 11.

この割込みはプログラムで禁止出来ないため、計算機1
1にどり込まれく二こで発振器2からのパルス信号21
の割込みがなぜ処理できなかったかの検査がプログラム
によって行われる。
Since this interrupt cannot be disabled by program, computer 1
1, the pulse signal 21 from the oscillator 2
The program checks why the interrupt could not be processed.

その原因がハ・−ドウエアやシステムの運転に重要なブ
[1グラl、の場合はfiiIも行わない。
If the cause is a bug that is important to the operation of the hardware or system, do not perform the procedure.

このため、リセット信号13at13bは出力されずカ
ウンタ3bはリセットされないので定時間後オーパフ[
J・−信号34を発生し計算機11の異常が外部装置E
−5に知らされる。
For this reason, the reset signal 13at13b is not output and the counter 3b is not reset, so the over-puff [
J・- Signal 34 is generated and an abnormality in computer 11 is detected by external device E.
-5 will be informed.

もし計算機11の一部動作可能な@要度の低いフログラ
ムによって異常が発生されている場合はそのプログラム
の実行を強制的にとめてしまい計算機11内の異常のあ
る部分を除去し、あわぜてカウンタ3at3bをリセッ
トする。
If an abnormality is caused by a part of the computer 11 that is partially operable@a less important program, the execution of that program will be forcibly stopped, the abnormal part of the computer 11 will be removed, and the problem will be solved. The counter 3at3b is reset.

この場合異常信号は外部装置5に対しては出力されない
In this case, the abnormality signal is not output to the external device 5.

したがって異常を発生したプログラムによって行われて
いた機能以外の機能は正常に動作の続行が行われシステ
ムとしては一部の機能をとめた縮退運転が行われる。
Therefore, functions other than those performed by the program that caused the abnormality continue to operate normally, and the system operates in a degraded manner with some functions stopped.

す」二の処理力法を第3図に示すフローチャ・−トに従
って要約すれば、次のよう、になる。
The second processing power method can be summarized as follows according to the flowchart shown in FIG.

50て、カウンタ3aがオーバーフロー信号31が発生
すると51で計算機11の原因は何かを判断処理し、そ
れが52で示すように計算機11の運転にとって重要の
低いプログラム等の異常であれば、53で示すように異
常となったプログラム等を破棄し、54でカウンタ3
a 、3 bをリセットして終了する。
50, when the counter 3a generates the overflow signal 31, the counter 3a determines what is the cause of the computer 11 at 51, and if it is an abnormality such as a program that is not important for the operation of the computer 11 as shown at 52, the counter 3a returns 53. As shown in , the programs that have become abnormal are discarded, and counter 3 is reset at 54.
Reset a, 3b and end.

また、その故障が55で示すような計算機11の運転に
とって不可避のハードウェア及び重要度の高いプログラ
ムの異常であれば計算機11は何もせず、結果として異
常であることを出力する。
Further, if the failure is an abnormality in hardware or a program of high importance for the operation of the computer 11, as indicated by 55, the computer 11 does nothing and outputs the result that it is abnormal.

このように構成することにより、計算機11のプログラ
ム等の異常発生を検出すると同時に、異常を起したプロ
グラムの重要度に応じて、計算機システム異常を出力す
るか否かを各システム固有に定めることが出来、きめこ
まやかな異常判断、及びそれによる計算機システムの稼
動率を向上させることができる。
With this configuration, it is possible to detect the occurrence of an abnormality in a program, etc. of the computer 11, and at the same time to determine for each system whether or not to output a computer system abnormality depending on the importance of the program that caused the abnormality. It is possible to improve the performance, fine-grained abnormality judgment, and the operating rate of the computer system thereby.

ここで、この発明の詳細な説明中、リアルタイムの制御
を行う計算機を例にとって説明したがこのような発振器
よりの割込み信号がつけられ、カウンタにリアツト信号
を出し得るようなものへの利用も可能である。
In the detailed explanation of this invention, a computer that performs real-time control was explained as an example, but it can also be used in a device that can receive an interrupt signal from an oscillator and output a rear signal to a counter. It is.

以上説明したように、この発明によれば、計算機の異常
発生を検知した場合、異常の重要度に応じて計算機シス
テム異常を出力するかどうかを各システム固有に定める
ことができ、きめこまかい異常判断、およびそれによる
計算機システムの稼動率向上が可能となる。
As explained above, according to the present invention, when a computer abnormality is detected, whether or not to output a computer system abnormality can be determined for each system depending on the importance of the abnormality. This also makes it possible to improve the operating rate of the computer system.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来の計算機監視方法を説明するための構成図
、第2図はこの発明の実施例による計算機監視方法を説
明するための構成図、第3図は第2図に示したものを説
明するためのフローチャート図である。 図中、2は発振器、3 a 、3 bは第1及び第2の
カウンタとしてのカウンタ、4はリレー、5は外部装置
、7は計算機監視装置、11は計算機である。 なお図中同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram for explaining a conventional computer monitoring method, FIG. 2 is a block diagram for explaining a computer monitoring method according to an embodiment of the present invention, and FIG. 3 is a block diagram for explaining a computer monitoring method according to an embodiment of the present invention. It is a flowchart figure for explaining. In the figure, 2 is an oscillator, 3 a and 3 b are counters as first and second counters, 4 is a relay, 5 is an external device, 7 is a computer monitoring device, and 11 is a computer. Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 1 発振器からの発振信号でカウントアツプされる第1
のカウンタと、同じく上記発振信号でカウントアツプさ
れ第1のカウンタよりオーバフロ一時間の長い第2のカ
ウンタと、同じく上記発振信号をうけてプログラムを実
行させ正常動作状態の時上記第1および第2のカウンタ
をリセットさせ、異常動作状態の時上記第1のカウンタ
からのオーバフロー信号を割込みとしてうける計算機と
を備え、上記計算機が上記第1カウンタからのオーバフ
ロー信号をうけた時、異常が重要度の低いプログラムに
よって発生している場合はそのプログラムを強匍酌にと
めて上記第1および第2のカウンタをリセットし、異常
が重要度の高いプログラムによって発生している場合は
リセットせず、結果として生じる上記第2のカウンタの
オーバフロー信号に応じて上記計算機が異常であること
を示すようにした計算機監視方法。
1 The first count is counted up by the oscillation signal from the oscillator.
a second counter which is also counted up by the oscillation signal and has a longer overflow time than the first counter; and a computer that receives an overflow signal from the first counter as an interrupt when there is an abnormal operation state, and when the computer receives the overflow signal from the first counter, the abnormality is determined to be of high importance. If the problem is caused by a low-level program, take that program seriously and reset the first and second counters above; if the problem is caused by a high-level program, do not reset, and as a result, A computer monitoring method that indicates that the computer is abnormal in response to an overflow signal of the second counter that occurs.
JP52080843A 1977-07-06 1977-07-06 Computer monitoring method Expired JPS5834855B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52080843A JPS5834855B2 (en) 1977-07-06 1977-07-06 Computer monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52080843A JPS5834855B2 (en) 1977-07-06 1977-07-06 Computer monitoring method

Publications (2)

Publication Number Publication Date
JPS5415629A JPS5415629A (en) 1979-02-05
JPS5834855B2 true JPS5834855B2 (en) 1983-07-29

Family

ID=13729629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52080843A Expired JPS5834855B2 (en) 1977-07-06 1977-07-06 Computer monitoring method

Country Status (1)

Country Link
JP (1) JPS5834855B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59148961A (en) * 1983-02-16 1984-08-25 Fuji Electric Co Ltd Monitoring system of operation of processor
JPH0264180U (en) * 1988-11-02 1990-05-14

Also Published As

Publication number Publication date
JPS5415629A (en) 1979-02-05

Similar Documents

Publication Publication Date Title
GB1420878A (en) Data processing control system
JPS5834855B2 (en) Computer monitoring method
JP2870250B2 (en) Microprocessor runaway monitor
JPH04148246A (en) Watchdog timer
JPS5868166A (en) Processor fault monitoring device
JPS6320548A (en) Supervisor/resetting circuit for cpu
JP2675645B2 (en) System failure monitoring device
JPS63280345A (en) Detection of program abnormality
JPH04155543A (en) Self detecting system for microcomputer malfunction
JPH04182842A (en) Timer monitor system
JPH05257748A (en) Microprocessor device
JP2589403B2 (en) Information processing device
JPH11327959A (en) Method and device for monitoring abnormality of processor
JPS62221015A (en) Computer system
JPH0293738A (en) Interruption processing system
SU881753A1 (en) Processor testing device
JPH08292901A (en) Watchdog timer and computer system using the same
JPH07200362A (en) Fault monitor method for computer, its device and computer system
JPH1160102A (en) Elevator controller
JPH0740233B2 (en) Data processor re-start control method
JPS62123531A (en) Cpu supervisory unit
JPS61248102A (en) Process controller
JPS58221456A (en) Method for detecting abnormal of computer
JPS60262252A (en) Monitor system for runaway of microprocessor
JPH02259845A (en) Processor