JPH0452936A - Monitoring method for local processing unit - Google Patents

Monitoring method for local processing unit

Info

Publication number
JPH0452936A
JPH0452936A JP2161652A JP16165290A JPH0452936A JP H0452936 A JPH0452936 A JP H0452936A JP 2161652 A JP2161652 A JP 2161652A JP 16165290 A JP16165290 A JP 16165290A JP H0452936 A JPH0452936 A JP H0452936A
Authority
JP
Japan
Prior art keywords
processing unit
local processing
state
local
normal state
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
JP2161652A
Other languages
Japanese (ja)
Inventor
Kazuhiko Shoji
東海林 一彦
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 JP2161652A priority Critical patent/JPH0452936A/en
Publication of JPH0452936A publication Critical patent/JPH0452936A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To simplify the recovery processing on the main processing unit side and to prevent a local processing unit from stalling by always monitoring the state of the local processing unit by a state monitor part in accordance with a report from a normal state report function part. CONSTITUTION:A main processing unit 10 is provided with a command issue part 1 and a state monitor part 2, and a local processing unit 20 is provided with a command reception part 3, a normal state report function part 4, and a reset function part 5. The state monitor part 2 always monitors the state of the local processing unit 20 by the report from the normal state report function part 4. Consequently, the state of the local processing unit 20 is periodically reported to quickly detect the abnormality of the local processing unit 20. Thus, the recovery processing on the main processing unit side is simplified, and the local processing unit is prevented from stalling.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数のマイクロプルセッサを有する電子計算
機におけるローカルプロセッシングユニットの監視方法
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for monitoring a local processing unit in an electronic computer having a plurality of micro processors.

[従来の技術] 従来この種のローカルプロセッシングユニット(Loc
al  Processing  Unit)の監視方
法では、ローカルプロセッシングユニットの異常の検知
はメインプロセッシングユニット(Main  Pro
cessingUnit)がローカルプロセッシングユ
ニットにコマンドを発行後、レスポンスのタイマー監視
を行ない、一定時間後もレスポンスが送られてこないこ
とにより異常を検知していた。
[Prior Art] Conventionally, this type of local processing unit (Loc
In the monitoring method of Al Processing Unit, abnormalities in the local processing unit are detected by the main processing unit (Main Processing Unit).
cessingUnit) issues a command to the local processing unit, it monitors the response timer, and detects an abnormality when no response is sent after a certain period of time.

[発明が解決しようとする課題] 上述した従来のローカルプロセッシングユニットの監視
方法では、メインプロセッシングユニットがローカルプ
ロセッシングユニットにコマンドを発行後にローカルプ
ロセッシングユニットの異常が検知されるので、メイン
プロセッシングユニット側のリカバリ処理が複雑になり
、また異常が検知されるまで時間がかかってしまう。
[Problems to be Solved by the Invention] In the conventional local processing unit monitoring method described above, an abnormality in the local processing unit is detected after the main processing unit issues a command to the local processing unit. Processing becomes complicated, and it takes time to detect abnormalities.

また、例えばローカルプロセッシングユニットがキーボ
ード入力装置のプロセッサのようにメインプロセッシン
グユニットはローカルプロセッシングユニットへコマン
ドを発行したままで入力操作などが行なわれて初めてメ
インプロセッシングユニットへレスポンスを返すような
場合には、操作が行なわれずにレスポンスが返らないの
か、ローカルプロセッシングユニットが異常となりレス
ポンスを返さないのか判別がつかないという欠点がある
Furthermore, for example, when the local processing unit is a processor of a keyboard input device, the main processing unit issues commands to the local processing unit and returns a response to the main processing unit only after an input operation is performed. The drawback is that it is difficult to determine whether no response is returned because no operation is performed, or whether the local processing unit is abnormal and does not return a response.

[課題を解決するための手段] 本発明のローカルプロセッシングユニットの監視方法は
、メインブロセッシングユニットニ状態監視部を設け、
ローカルプロセッシングユニットに常態通知機能部を設
け、前記常態通知機能部からの通知により前記常態監視
部が前記ローカルプロセッシングユニットの状態を常に
監視することを特徴とする。
[Means for Solving the Problems] The local processing unit monitoring method of the present invention includes providing a main processing unit state monitoring section,
The local processing unit is provided with a normal state notification function section, and the normal state monitoring section constantly monitors the state of the local processing unit based on notifications from the normal state notification function section.

[実施例コ 次に本発明について図面を参照して説明する。[Example code] Next, the present invention will be explained with reference to the drawings.

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

この実施例では、メインプロセッシングユニット側にコ
マンド発行部1と状態監視部2とを有する。また、ロー
カルプロセッシングユニット側にはコマンド受付部3と
常態通知機能部4とリセット機能部5とを有している。
This embodiment has a command issuing section 1 and a status monitoring section 2 on the main processing unit side. Further, the local processing unit side has a command reception section 3, a normal notification function section 4, and a reset function section 5.

メインプロセッシングユニット10はローカルプロセッ
シングユニット2oに処理の要求を行なう場合、コマン
ド発行部1からコマンド受付部3ヘコマンド11を発行
することにより行なう。ローカルプロセッシングユニッ
ト20からの処理の終了の通知は、コマンド受付部3か
らのコマンド11に対するレスポンス21をコマンド発
行部1で受付けることにより行なう。
When the main processing unit 10 makes a processing request to the local processing unit 2o, it does so by issuing a command 11 from the command issuing section 1 to the command receiving section 3. Notification of the end of processing from the local processing unit 20 is performed by receiving a response 21 to the command 11 from the command receiving section 3 in the command issuing section 1.

本発明の実施例では、ローカルプロセッシングユニット
の常態通知機能部4がコマンドエ1の実行状態によらず
コマンド実行中でも、未受付状態でも定期的に正常であ
ることをメインプロセッシングユニットの状態監視部へ
常態通知22を行なう。メインプロセッシングユニット
の状態監視部2では、ローカルプロセッシングユニット
からの常態通知22をタイマー監視し、規定時間内に通
知が来ればローカルプロセッシングユニットは正常に動
作していると判断し処理を継続し必要によりローカルプ
ロセッシングユニットへ処理の要求を行なう。一方、規
定時間内に通知が来ない場合は、ローカルプロセッシン
グユニットが異常であると認識し、リカバリ処理を行な
う。状態監視部2はローカルプロセッシングユニットの
リセット機能部5ヘリセット指令12を出すことにより
、ローカルプロセッシングユニットのリセットヲ行なう
。もしコマンド実行中であったならば、コマンド発行部
1はローカルプロセッシングユニットへコマンドを再発
行することによりリカバリが可能となる。
In the embodiment of the present invention, the normal status notification function unit 4 of the local processing unit periodically informs the status monitoring unit of the main processing unit that the status is normal regardless of the execution status of the command 1, even if the command is being executed or not being accepted. A normal status notification 22 is performed. The status monitoring unit 2 of the main processing unit monitors the normal status notification 22 from the local processing unit with a timer, and if the notification arrives within a specified time, it is determined that the local processing unit is operating normally, and the processing is continued as necessary. Requests processing to the local processing unit. On the other hand, if the notification does not arrive within the specified time, the local processing unit recognizes that there is an abnormality and performs recovery processing. The status monitoring section 2 issues a reset command 12 to the reset function section 5 of the local processing unit, thereby resetting the local processing unit. If the command is being executed, the command issuing unit 1 can recover by reissuing the command to the local processing unit.

[発明の効果コ 以上説明したように本発明は、ローカルプロセッシング
ユニットの状態を定期的に知ることにより、ローカルプ
ロセッシングユニットの異常を速かに検知することが可
能となり、簡単にリカバリ処理を行なうことが可能とな
り、ローカルプロセッシングユニットのストールを防止
できる効果を奏する。
[Effects of the Invention] As explained above, the present invention makes it possible to quickly detect abnormalities in the local processing unit by periodically knowing the status of the local processing unit, and to easily perform recovery processing. This makes it possible to prevent the local processing unit from stalling.

図  面  の  簡  単  な  説  間第1図
は本発明の一実施例のブロック図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of one embodiment of the present invention.

1・・・コマンド発行部、2・・・状態監視部、3・・
・コマンド受付部、4・・・常態通知機能部、5・・・
リセット機能部。
1... Command issuing unit, 2... Status monitoring unit, 3...
・Command reception unit, 4...Normal notification function unit, 5...
Reset function section.

Claims (1)

【特許請求の範囲】 1、メインプロセッシングユニットに状態監視部を設け
、ローカルプロセッシングユニットに常態通知機能部を
設け、前記常態通知機能部からの通知により前記常態監
視部が前記ローカルプロセッシングユニットの状態を常
に監視することを特徴とするローカルプロセッシングユ
ニットの監視方法。 2、常態通知機能部を有するローカルプロセッシングユ
ニットと、前記常態通知機能部からの通知により前記ロ
ーカル、プロセッシングユニットの状態を常に監視する
状態監視部を有するメインプロセッシングユニットとを
具備することを特徴とする電子計算機。
[Scope of Claims] 1. A state monitoring section is provided in the main processing unit, a normal state notification function section is provided in the local processing unit, and the normal state monitoring section monitors the state of the local processing unit based on the notification from the normal state notification function section. A method for monitoring a local processing unit characterized by constant monitoring. 2. The main processing unit is characterized by comprising a local processing unit having a normal state notification function section, and a main processing unit having a state monitoring section that constantly monitors the state of the local processing unit based on notifications from the normal state notification function section. Electronic computer.
JP2161652A 1990-06-20 1990-06-20 Monitoring method for local processing unit Pending JPH0452936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2161652A JPH0452936A (en) 1990-06-20 1990-06-20 Monitoring method for local processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2161652A JPH0452936A (en) 1990-06-20 1990-06-20 Monitoring method for local processing unit

Publications (1)

Publication Number Publication Date
JPH0452936A true JPH0452936A (en) 1992-02-20

Family

ID=15739257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2161652A Pending JPH0452936A (en) 1990-06-20 1990-06-20 Monitoring method for local processing unit

Country Status (1)

Country Link
JP (1) JPH0452936A (en)

Similar Documents

Publication Publication Date Title
US6964047B2 (en) Method and apparatus for a fast process monitor suitable for a high availability system
JP2735514B2 (en) Process status management method
JPH0452936A (en) Monitoring method for local processing unit
JP2665380B2 (en) System error detection processing method
JPH10269110A (en) A method for avoiding a hang-up of a computer system and a computer system using the method.
JP2578985B2 (en) Redundant controller
JPS6388660A (en) microprocessor system
JPS622685Y2 (en)
JPH02293939A (en) Stack overflow detection time processing system
JPS6389941A (en) Monitor and control equipment for microprocessor applied equipment
JP2749994B2 (en) Numerical control unit
JP2725107B2 (en) Interrupt device
JPH02310755A (en) Health check system
JPS5834855B2 (en) Computer monitoring method
JPH04278617A (en) Reset circuit
JPH11327959A (en) Method and device for monitoring abnormality of processor
JPH03263255A (en) Inter-processor communication method
JPS6356755A (en) Abnormality supervising system for slave processor
JPH0248736A (en) Information processing system
JPH04259045A (en) Watchdog timer monitoring system
JPH0346980A (en) Transmission device for elevator
JPH0691565B2 (en) Operation monitoring device for partner processing device
JPS5868166A (en) Processor fault monitoring device
JPH01205244A (en) System for collecting logging information
JPS62123531A (en) Cpu supervisory unit