JPH0567016A - Program abnormal operation monitor system - Google Patents

Program abnormal operation monitor system

Info

Publication number
JPH0567016A
JPH0567016A JP3227660A JP22766091A JPH0567016A JP H0567016 A JPH0567016 A JP H0567016A JP 3227660 A JP3227660 A JP 3227660A JP 22766091 A JP22766091 A JP 22766091A JP H0567016 A JPH0567016 A JP H0567016A
Authority
JP
Japan
Prior art keywords
message
program
abnormal operation
reception
time
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
JP3227660A
Other languages
Japanese (ja)
Inventor
Hiroshi Tawara
弘志 田原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3227660A priority Critical patent/JPH0567016A/en
Publication of JPH0567016A publication Critical patent/JPH0567016A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To detect the abnormality of a program by information issued at the time of transmitting and receiving a message constituted of plural synchronously operating tasks. CONSTITUTION:In a message monitoring part 30, an interface part 34 with a host CPU, memory 32 in which a program is stored, and sub CPU 31 which controls the transmission and reception of the message by the program, are connected through a local bus 33.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプログラム異常動作監視
方式に関し、特にCPUを有するリアルタイムシステム
において、搭載するプログラムが、リアルタイムOSの
管理下で、メッセージ送受信により同期をとって動作す
る複数のタスクからなる場合に、メッセージ送信・受信
時に発行されるメッセージ送信・受信通知を監視するプ
ログラム異常動作監視方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program abnormal operation monitoring system, and in particular, in a real-time system having a CPU, a program to be installed is controlled by a plurality of tasks that operate synchronously by sending and receiving messages under the control of a real-time OS. In this case, the present invention relates to a program abnormal operation monitoring method for monitoring a message transmission / reception notification issued at the time of message transmission / reception.

【0002】[0002]

【従来の技術】図4は従来のプログラム異常動作監視方
式の一例を示す図である。従来例は、複数タスクからな
るリアルタイムプログラムで構成され、21〜24はタ
スクを表し、タスク間を結ぶ矢印はタスク間インタフェ
ースとなるメッセージの流れを表す。21は、一定時間
毎に起動されるタスクであり、処理タスク22,23に
メッセージを送信する。メッセージにより起動された処
理タスク22,23は状況に応じて共通下位タスク24
を制御する。メッセージ送信・受信は各タスクから、リ
アルタイムOS対して、破線で示すシステムコールを発
行することにより行う。
2. Description of the Related Art FIG. 4 is a diagram showing an example of a conventional program abnormal operation monitoring system. The conventional example is composed of a real-time program consisting of a plurality of tasks, and 21 to 24 represent tasks, and arrows connecting the tasks represent the flow of a message serving as an inter-task interface. Reference numeral 21 is a task that is activated at regular intervals and sends a message to the processing tasks 22 and 23. The processing tasks 22 and 23 activated by the message are common lower tasks 24 depending on the situation.
To control. Message transmission / reception is performed by issuing a system call indicated by a broken line from each task to the real-time OS.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のプログ
ラム異常動作監視方式において、リアルタイムプログラ
ムを使用するシステムでは、プログラムの不具合や資源
の競合によるデッドロックのため、一部のタスクだけが
停止してしまう場合があった。この種の障害は、ソフト
ウェアに起因するため、ハードウェア的に検出すること
は困難である。
In the conventional program abnormal operation monitoring method described above, in a system using a real-time program, only some tasks are stopped due to a deadlock due to a program defect or resource conflict. There were times when it ended up. Since this kind of failure is caused by software, it is difficult to detect it in terms of hardware.

【0004】[0004]

【課題を解決するための手段】本発明のプログラム異常
動作監視方式では、ホストCPUとのインタフェース部
と、プログラムが格納されるメモリと、前記プログラム
によりメッセージの送受信を制御するサブCPUとがロ
ーカルバスで接続され、同期をとって動作する複数のタ
スクからなる前記メッセージの送受信時に発行される通
知により異常を検出する。
In the program abnormal operation monitoring method of the present invention, an interface unit with the host CPU, a memory for storing the program, and a sub CPU for controlling transmission / reception of messages by the program are provided on a local bus. The abnormality is detected by the notification issued when the message is transmitted and received, which is composed of a plurality of tasks that are connected with each other and operate in synchronization.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例のブロック図、図2は本実
施例の動作説明のための流れ図、図3は本実施例のメッ
セージの内容を示す図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flow chart for explaining the operation of the present embodiment, and FIG. 3 is a diagram showing the contents of a message of the present embodiment.

【0006】図1に示すメッセージ監視部30におい
て、31は、メッセージ監視部30を管理するサブCP
Uであり、メモリ32上のプログラムに従い、メッセー
ジ送信・受信通知を監視する。33はローカルバス、3
4はホストCPUとのインタフェース部である。
In the message monitoring unit 30 shown in FIG. 1, 31 is a sub-CP for managing the message monitoring unit 30.
U, which monitors the message transmission / reception notification according to the program on the memory 32. 33 is a local bus, 3
Reference numeral 4 is an interface with the host CPU.

【0007】図3はメッセージ送信・受信通知の内容を
示し、タスクIDはメッセージを送信したタスクを識別
するIDである。メッセージIDは該当タスクが発行し
たメッセージに番号を付与したものであり、タスクID
と共にメッセージを特定する。送信(受信)バイト数は
メッセージ長である。メッセージ監視部30は、これら
の情報により、送信時と受信時のメッセージ長が異った
り、規定時間を過ぎても受信されないメッセージの発生
を検出した場合に、障害警報を発生させる。
FIG. 3 shows the contents of the message transmission / reception notification, and the task ID is an ID for identifying the task that transmitted the message. The message ID is a number assigned to the message issued by the relevant task.
And specify the message. The number of bytes sent (received) is the message length. The message monitoring unit 30 issues a fault alarm when the message lengths at the time of transmission and the time of reception are different or the occurrence of a message that is not received even after the stipulated time has elapsed is detected based on these information.

【0008】次に本実施例の動作について図2(a),
(b)を参照して説明する。図2(a)のステップS1
1〜S13はメッセージ送信処理である。送信側のタス
クがメッセージ送信要求のシステムコールを発行した後
(S11)、リアルタイムOSは従来と同様の送信処理
を実行するが(S12)、その後、メッセージ監視部3
0に対して、メッセージを送信したことを通知する(S
13)。
Next, the operation of this embodiment will be described with reference to FIG.
This will be described with reference to (b). Step S1 of FIG. 2 (a)
1 to S13 are message transmission processes. After the task on the transmitting side issues a message transmission request system call (S11), the real-time OS executes the same transmission processing as the conventional one (S12), but thereafter, the message monitoring unit 3
Notify 0 that the message has been sent (S
13).

【0009】図2(b)のステップS14〜S16はメ
ッセージ受信処理である。受信側のタスクからメッセー
ジ受信要求のシステムコールを発行した後(S14)、
リアルタイムOSは従来と同様の受信処理を実行するが
(S15)、その後、メッセージ監視部30に対して、
メッセージを受信したことを通知する。
Steps S14 to S16 of FIG. 2B are a message receiving process. After issuing a message reception request system call from the task on the receiving side (S14),
The real-time OS executes the same receiving process as the conventional one (S15), but thereafter, with respect to the message monitoring unit 30,
Notify that a message has been received.

【0010】[0010]

【発明の効果】以上説明したように本発明のプログラム
異常動作監視方式では、メッセージ監視部を設け、メッ
セージ送信・受信時に発行されるメッセージ送信・受信
通知を監視することにより、プログラムの異常を検出す
ることができる。
As described above, in the abnormal program operation monitoring method of the present invention, a message monitoring unit is provided, and a message transmission / reception notification issued at the time of message transmission / reception is monitored to detect a program abnormality. can do.

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

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

【図2】本実施例の動作説明のための流れ図である。FIG. 2 is a flowchart for explaining the operation of the present embodiment.

【図3】本実施例のメッセージの内容を示す図である。FIG. 3 is a diagram showing the contents of a message of this embodiment.

【図4】従来のプログラム異常動作監視方式を説明する
ための図である。
FIG. 4 is a diagram for explaining a conventional program abnormal operation monitoring method.

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

30 メッセージ監視部 31 サブCPU 32 メモリ 33 ローカルバス 34 ホストCPUとのインタフェース部 30 message monitoring section 31 sub CPU 32 memory 33 local bus 34 interface section with host CPU

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ホストCPUとのインタフェース部と、
プログラムが格納されるメモリと、前記プログラムによ
りメッセージの送受信を制御するサブCPUとがローカ
ルバスで接続され、同期をとって動作する複数のタスク
からなる前記メッセージの送受信時に発行される通知に
より異常を検出することを特徴とするプログラム異常動
作監視方式。
1. An interface unit with a host CPU,
The memory in which the program is stored and the sub CPU that controls the transmission and reception of the message by the program are connected by the local bus, and the abnormality is notified by the notification issued when the message is transmitted and received, which consists of a plurality of tasks that operate in synchronization. A program abnormal operation monitoring method characterized by detecting.
JP3227660A 1991-09-09 1991-09-09 Program abnormal operation monitor system Pending JPH0567016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3227660A JPH0567016A (en) 1991-09-09 1991-09-09 Program abnormal operation monitor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3227660A JPH0567016A (en) 1991-09-09 1991-09-09 Program abnormal operation monitor system

Publications (1)

Publication Number Publication Date
JPH0567016A true JPH0567016A (en) 1993-03-19

Family

ID=16864344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3227660A Pending JPH0567016A (en) 1991-09-09 1991-09-09 Program abnormal operation monitor system

Country Status (1)

Country Link
JP (1) JPH0567016A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6298349A (en) * 1985-10-10 1987-05-07 アグフア・ゲヴエルト・ナ−ムロゼ・ベン ノ−トチヤツプ Silver complex salt diffusion transfer/inversion

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6298349A (en) * 1985-10-10 1987-05-07 アグフア・ゲヴエルト・ナ−ムロゼ・ベン ノ−トチヤツプ Silver complex salt diffusion transfer/inversion

Similar Documents

Publication Publication Date Title
US20090059810A1 (en) Network system
JPH0567016A (en) Program abnormal operation monitor system
JP3269489B2 (en) Process monitoring system and process monitoring method
JP3049010B2 (en) Parent-child relationship pseudo-continuation device and method
JP2008077324A (en) Server-client system
JPH11232143A (en) Multithread monitor method
JP3271590B2 (en) Business monitoring system, apparatus and method, and recording medium
JPH1031657A (en) Distributed controller
JPH10171769A (en) Composite computer system
KR100790098B1 (en) Management method of signalling link in centralization system
JPH1131136A (en) Abnormality monitoring method for distributed processing system
JP3166127B2 (en) LAN switching system and power system monitoring and control system
JP3486369B2 (en) Wait queue monitoring control method
JPH0522313A (en) Terminal monitoring system for local area network system
JP2000049783A (en) Network management method and system therefor
JPH11120140A (en) Method for automatically activating appllication on terminal computer
JP2004341779A (en) System, method, and program for mutual monitoring of computers
JP2000322290A (en) Computer system monitoring method
JPH06290126A (en) Fault monitoring system for computer system
JPH02310755A (en) Health check system
JPH0756773A (en) Method for diagnosing control device
JPH0936860A (en) Network management method
JPH02216931A (en) Fault information reporting system
JPH04199233A (en) System detecting fault processor
JPH04287446A (en) Fault information transmission method