JPH03191440A - Software monitoring system - Google Patents

Software monitoring system

Info

Publication number
JPH03191440A
JPH03191440A JP1334371A JP33437189A JPH03191440A JP H03191440 A JPH03191440 A JP H03191440A JP 1334371 A JP1334371 A JP 1334371A JP 33437189 A JP33437189 A JP 33437189A JP H03191440 A JPH03191440 A JP H03191440A
Authority
JP
Japan
Prior art keywords
task
software
monitoring information
monitoring
timer
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
JP1334371A
Other languages
Japanese (ja)
Inventor
Hiroshi Aso
麻生 寛
Akira Iida
顕 飯田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP1334371A priority Critical patent/JPH03191440A/en
Publication of JPH03191440A publication Critical patent/JPH03191440A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To execute detailed software abnormal operation monitoring in each task by transmitting software monitoring information like a loop among respective tasks. CONSTITUTION:At the time of executing the software, the initially started task a5 starts a monitoring timer 8 and sends software monitoring information 2 to the succeeding task b6 and the task b6 receives and checks the software monitoring information sent from the preceding task a5 and then sends the software monitoring information to the succeeding task c7 so that the similar operation is repeated among respective tasks. If any one of the tasks 5 to 7 executes abnormal operation, the sending of the software monitoring information is interrupted, the monitoring timer 8 generates time-out and an alarm is outputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はソフトウェアの監視に関し、特にソフトウェア
の異常動作を監視する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to software monitoring, and more particularly to a method for monitoring software for abnormal operations.

〔従来の技術〕[Conventional technology]

従来、この種のソフトウェアの監視方式は、特定した1
つのタスクからのソフトウェア命令により、ソフトウェ
アを監視するタイマをリスタートさせ、通常は該タイマ
がタイムアウトしないタイミングでソフトウェア命令が
発行され、該タイマがタイムアウトした時ソフトウェア
の異常動作と判断していた。
Traditionally, this type of software monitoring method has been
A software command from one task restarts a timer that monitors the software, and normally the software command is issued at a timing when the timer would not time out, and when the timer times out, it is determined that the software has malfunctioned.

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

上述した従来のソフトウェアの監視方式は、ソフトウェ
ア命令を発行する特定したタスクさえ正常動作していれ
ば、タイマをリスタートすることができるため他のタス
クが異常動作していても、その異常動作を検知すること
ができないという欠点があった。
In the conventional software monitoring method described above, as long as the specified task that issues software instructions is operating normally, the timer can be restarted, so even if other tasks are operating abnormally, the abnormal operation cannot be detected. The drawback was that it could not be detected.

本発明の目的は、各タスク間をソフト監視情報をループ
状に伝送を繰返すことにより、タスク単位に木目細かな
ソフトウェアの異常動作監視を行うことができるソフト
ウェア監視方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a software monitoring method that can perform detailed monitoring of software abnormal operations on a task-by-task basis by repeatedly transmitting software monitoring information in a loop between each task.

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

本発明のソフトウェアの監視方式は、ソフトウェア正常
動作監視用ハードウェアタイマを起動し、前記ソフト監
視情報を受信した次の動作順タスクが前記ソフト監視情
報を更に次のタスクへと各タスク間をループ状に伝送を
繰返し、−巡した該ソフト監視情報が前記動作順が最初
のタスクを通過する時、前記ソフトウェア正常動作監視
用のハードウェアタイマを再起動し、該ハードウェアタ
イマのタイムアウトにより、異常動作検出する機能を有
する。
In the software monitoring method of the present invention, a hardware timer for monitoring normal software operation is started, and the next operation order task that receives the software monitoring information further passes the software monitoring information to the next task in a loop between each task. When the software monitoring information that has been repeatedly transmitted and circulated passes through the first task in the operating order, the hardware timer for monitoring the software normal operation is restarted, and an abnormality occurs due to the hardware timer's timeout. It has a function to detect motion.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

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

第1図は、タスクa5と、タスクb6と、タスクc7と
、タスクaが送出するソフト監視情報2と、タスクbが
送出するソフト監視情報3と、タスクCが送出するソフ
ト監視情報4と、タイマリスタート信号1と、監視タイ
マ8とがら構成される。
FIG. 1 shows task a5, task b6, task c7, software monitoring information 2 sent by task a, software monitoring information 3 sent by task b, software monitoring information 4 sent out by task C, It consists of a timer restart signal 1 and a monitoring timer 8.

タスクa5はタイマリスタート信号を監視タイマ8へ送
出すると同時に、タスクb6に対しソフト監視情報2を
送出する。タスクb6が起動するとタスクa5からのソ
フト監視情報2の受信を確認の上、ソフト監視情報3を
タスクc7へ送出する。続いてタスクc7が起動すると
、同様にソフト監視情報3の受信を確認の上、ソフト監
視情報4をタスクa5へ送出する。タスクa5が起動し
タスクc7からのソフト監視情報4の受信を確認すると
、タイマリスタート信号1を出力すると共にタスクb6
ヘソフト監視情報2を出力する。
Task a5 sends a timer restart signal to monitoring timer 8, and at the same time sends software monitoring information 2 to task b6. When task b6 starts, it confirms that it has received software monitoring information 2 from task a5, and then sends software monitoring information 3 to task c7. Subsequently, when task c7 is activated, it similarly confirms that the software monitoring information 3 has been received, and then sends the software monitoring information 4 to task a5. When task a5 starts and confirms the reception of software monitoring information 4 from task c7, it outputs timer restart signal 1 and task b6
Output software monitoring information 2 to

一方タスクa5からタイマリスタート信号1を受けた監
視タイマ8はリセットされ、再び動作を開始する。
On the other hand, the monitoring timer 8 that receives the timer restart signal 1 from the task a5 is reset and starts operating again.

こうしてソフトウェアの実行に際し、最初に起動される
タスクが監視タイマを起動すると共に、次のタスクへソ
フト監視情報を送出し、次のタスクは前タスクからのソ
フト監視情報の受信を確認後、更に次のタスクへソフト
監視情報を送出する動作を各タスク間で繰返し、該ソフ
トウェア実行の最初のタスクを通過する時監視タイマが
一部リセットされた後再スタートする。
In this way, when software is executed, the first task to start starts the monitoring timer and sends software monitoring information to the next task, and after confirming that the software monitoring information has been received from the previous task, the next task continues to the next task. The operation of sending the software monitoring information to the task is repeated between each task, and when the software execution passes the first task, the monitoring timer is partially reset and then restarted.

なおいずれかのタスクが異常動作するとソフト監視情報
が途切れ、その結果予め定められた所定の時間までに監
視タイマがリセットされないため、監視タイマがタイム
アウトし、ソウトウエアの異常動作を知らしめる警報を
出力する。
Note that if any task operates abnormally, the software monitoring information is interrupted and as a result, the monitoring timer is not reset by a predetermined time, so the monitoring timer times out and outputs an alarm to notify of abnormal software operation. .

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、各タスクの正常動作を監
視するために、各タスク間をソフト監視情報をループ状
に伝送することにより、タスク単位に木目細かなソフト
ウェア正常動作の監視を行うことができる効果がある。
As explained above, in order to monitor the normal operation of each task, the present invention transmits software monitoring information between each task in a loop, thereby performing detailed monitoring of the normal operation of software on a task-by-task basis. It has the effect of

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

1・・・タイマリスタート信号、2.3.4・・・ソフ
ト監視情報、5・・・タスクa、6・・・タスクb、7
・・・タスクC18・・・監視タイマ。
1... Timer restart signal, 2.3.4... Software monitoring information, 5... Task a, 6... Task b, 7
...Task C18...Monitoring timer.

Claims (1)

【特許請求の範囲】[Claims] ソフトウェアの動作状態を監視する装置において、各タ
スクの正常動作を監視するため、動作順が最初のタスク
がソフト監視情報を送出すると共に、ソフトウェア正常
動作監視用ハードウェアタイマを起動し、前記ソフト監
視情報を受信した次の動作順タスクが前記ソフト監視情
報を更に次のタスクへと逐次伝送し最後のタスクから最
初のタスクへ一巡した該ソフト監視情報が前記動作順が
最初のタスクを通過する時、前記ソフトウェア正常動作
監視用のハードウェアタイマを再起動し、該ハードウェ
アタイマのタイムアウトにより、異常動作検出すること
を特徴とするソフトウェアの監視方式。
In a device that monitors the operating status of software, in order to monitor the normal operation of each task, the task that is first in the operating order sends out software monitoring information and starts a hardware timer for monitoring the software normal operation, and the software monitors the software. The task in the next operating order that received the information sequentially transmits the software monitoring information to the next task, and when the software monitoring information that has gone around from the last task to the first task passes through the first task in the operating order. . A software monitoring method, characterized in that the hardware timer for monitoring normal software operation is restarted, and abnormal operation is detected when the hardware timer times out.
JP1334371A 1989-12-21 1989-12-21 Software monitoring system Pending JPH03191440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1334371A JPH03191440A (en) 1989-12-21 1989-12-21 Software monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1334371A JPH03191440A (en) 1989-12-21 1989-12-21 Software monitoring system

Publications (1)

Publication Number Publication Date
JPH03191440A true JPH03191440A (en) 1991-08-21

Family

ID=18276622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1334371A Pending JPH03191440A (en) 1989-12-21 1989-12-21 Software monitoring system

Country Status (1)

Country Link
JP (1) JPH03191440A (en)

Similar Documents

Publication Publication Date Title
JPH09244923A (en) Abnormality monitoring device using watchdog timer
JPH03191440A (en) Software monitoring system
JP2006252388A (en) Software abnormality detection method
JP2000516745A (en) Rebooting a master CPU that has stopped functioning with a slave DSP
JPS63163932A (en) System monitoring system for control computer
JPH0644093A (en) System for changing-over duplicating device
JPH04273541A (en) Monitoring method for software
JPH064318A (en) Error detecting system
JP6835422B1 (en) Information processing device and information processing method
JPH0962520A (en) Infinite loop monitoring device
JPH06214830A (en) Supervisory and controlling system for information processor
JPH11232143A (en) Multithread monitor method
JPH11282725A (en) Computer
JPH02115967A (en) Microcomputer resetting method
JPH02181839A (en) Watch dog supervison circuit
JPH0343653B2 (en)
JPH0679279B2 (en) Supervisory control device for microprocessor-applied equipment
JPH11327959A (en) Method and device for monitoring abnormality of processor
JPH04195437A (en) Program runaway monitoring device
JPH0581065A (en) Self diagnostic method for programmable controller system
JP2695785B2 (en) Processing state display method of processing unit
JPH05282167A (en) Method for processing fault
JPH02310755A (en) Health check system
JPH0287893A (en) Remote supervisory controller
JPH1011327A (en) System for monitoring abnormality in multitask