JPH064499A - Processor diagnostic system - Google Patents

Processor diagnostic system

Info

Publication number
JPH064499A
JPH064499A JP4066676A JP6667692A JPH064499A JP H064499 A JPH064499 A JP H064499A JP 4066676 A JP4066676 A JP 4066676A JP 6667692 A JP6667692 A JP 6667692A JP H064499 A JPH064499 A JP H064499A
Authority
JP
Japan
Prior art keywords
processor
diagnostic
program
main processor
local
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.)
Withdrawn
Application number
JP4066676A
Other languages
Japanese (ja)
Inventor
Hiroaki Sasaki
博昭 佐々木
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido 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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP4066676A priority Critical patent/JPH064499A/en
Publication of JPH064499A publication Critical patent/JPH064499A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To appropriately deal with processor abnormality during a system operation by detecting the processor abnormality even during the system operation in addition to diagnosing respective processors at the time of starting the system and storing diagnostic result, thereby replacing the result with the diagnostic result in an initial state diagnosis at the time of starting a system. CONSTITUTION:This system is provided with an initial state diagnostic means 1 for diagnosing the functions or the like of the own processor by a diagnostic program on the respective processors at the time of starting the system, a diagnosed result storage means 2 for storing the diagnosed result on a local processor by the diagnostic program on a main processor in a diagnosed result storage area 3 provided on the main processor, a processor abnormality detection means 5 at the time of operation by the communication program on the own local processor and the main processor and a diagnosed result replacing means 4 for replacing the initial state diagnosed results in the diagnosed result storage area by the communication program on the main processor when the processor abnormality at the time of the operation is generated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はマルチプロセッサシステ
ムにおけるプロセッサ診断方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a processor diagnosis system in a multiprocessor system.

【0002】[0002]

【従来の技術】図3は、従来のプロセッサ診断方式を適
用したマルチプロセッサシステムの一例を示すブロック
図である。一般に、マルチプロセッサシステムにおける
従来のプロセッサ診断方式は、図3に示すように、シス
テム立ち上げ時に、各ローカルプロセッサ33,35,
37上で動作する診断プログラム34,36,38が自
己診断し、その診断結果をメインプロセッサ30上で動
作する診断プログラム31により、メインプロセッサ3
0上の診断結果格納領域32に格納している。
2. Description of the Related Art FIG. 3 is a block diagram showing an example of a multiprocessor system to which a conventional processor diagnosis method is applied. Generally, in the conventional processor diagnosis method in a multiprocessor system, as shown in FIG. 3, each local processor 33, 35,
The diagnostic programs 34, 36, and 38 operating on 37 self-diagnose, and the diagnostic program 31 operating on the main processor 30 uses the diagnostic results to detect the main processor 3
0 is stored in the diagnostic result storage area 32.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のプロセ
ッサ診断方式は、システム立ち上げ時にだけ、各ローカ
ルプロセッサが自己診断し、その診断結果をメインプロ
セッサ上に記憶していたために、プロセッサ間通信を行
う前にその診断結果を参照し、エラーや不正動作の防止
を行う際には、システムの初期状態にのみ影響を受け、
運用中でのプロセッサ異常に対する対策が講じられてい
ないという欠点を有してる。
In the conventional processor diagnosis method described above, each local processor self-diagnoses only when the system is started up and the diagnosis result is stored in the main processor. When you refer to the diagnosis result before doing it and prevent the error and the illegal operation, only the initial state of the system is affected.
It has the drawback that no measures are taken against processor abnormalities during operation.

【0004】本発明の目的は、プロセッサの初期診断に
加えて、運用中でもローカルプロセッサ上でプロセッサ
の異常を検出した場合には、その旨をメインプロセッサ
へ通知し、さらに、ローカルプロセッサ上で検出できな
いものについては、メインプロセッサからのポーリング
に対するローカルプロセッサの応答の有無でローカルプ
ロセッサのプロセッサ異常をメインプロセッサ上で検出
することにより、その結果をシステム立ち上げ時の初期
診断における診断結果に置き換えてシステム運用中での
プロセッサ異常にも対応できるマルチプロセッサシステ
ムにおけるプロセッサ診断方式を提供することにある。
In addition to the initial diagnosis of the processor, the object of the present invention is to notify the main processor to the effect that a processor abnormality is detected on the local processor even during operation, and cannot detect the abnormality on the local processor. For the system, by detecting the processor abnormality of the local processor on the main processor depending on the response of the local processor to the polling from the main processor, the result is replaced with the diagnosis result in the initial diagnosis at system startup. It is to provide a processor diagnosis method in a multiprocessor system capable of coping with a processor abnormality in the inside.

【0005】[0005]

【課題を解決するための手段】本発明のプロセッサ診断
方式は、システム立ち上げ時に各プロセッサ上の診断プ
ログラムで自己のプロセッサの機能等を診断する初期診
断手段と、メインプロセッサ上の診断プログラムにより
ローカルプロセッサ上での初期診断結果をメインプロセ
ッサ上に有する診断結果格納領域に格納する診断結果格
納手段とを含むマルチプロセッサシステムにおけるプロ
セッサ診断方式において、ローカルプロセッサ自身及び
メインプロセッサ上の通信プログラムによる運用時のプ
ロセッサ異常検出手段と、運用時のプロセッサ異常が発
生した場合にメインプロセッサ上の通信プログラムによ
って前記診断結果格納領域の初期診断結果の置換を行う
診断結果置換手段とを含んで構成されている。
SUMMARY OF THE INVENTION A processor diagnostic system of the present invention uses an initial diagnostic means for diagnosing the function of its own processor by a diagnostic program on each processor at system startup and a local diagnostic program on the main processor. In a processor diagnostic method in a multiprocessor system including a diagnostic result storage means for storing an initial diagnostic result on a processor in a diagnostic result storage area provided on a main processor, in a case of operation by a communication program on a local processor itself and a main processor. The processor abnormality detecting means and the diagnostic result replacing means for replacing the initial diagnostic result in the diagnostic result storage area by the communication program on the main processor when a processor abnormality occurs during operation.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は、本発明のプロセッサ診断方式の一
実施例を示すブロック図である。また、図2は、本実施
例を適用したマルチプロセッサシステムの一例を示すブ
ロック図である。本実施例は、図1に示すように、初期
診断手段1と、診断結果格納手段2と、診断結果格納領
域3と、運用時のプロセッサ異常検出手段5と、診断結
果置換手段4とから構成されている。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a processor diagnosis system of the present invention. 2 is a block diagram showing an example of a multiprocessor system to which this embodiment is applied. As shown in FIG. 1, this embodiment includes an initial diagnosis means 1, a diagnosis result storage means 2, a diagnosis result storage area 3, a processor abnormality detection means 5 during operation, and a diagnosis result replacement means 4. Has been done.

【0007】次に、図2により、マルチプロセッサシス
テムにおけるプロセッサの初期診断及び運用時のプロセ
ッサ異常検出による診断結果の格納及び置換について説
明する。まずシステムに電源が投入されると、各プロセ
ッサ10,14,17,20上で診断プログラム11,
15,18,21が動作し、自己のプロセッサ機能等を
診断する。
Next, referring to FIG. 2, the storage and replacement of the diagnosis result by the initial diagnosis of the processor in the multiprocessor system and the detection of the processor abnormality during the operation will be described. First, when the power of the system is turned on, the diagnostic program 11,
15, 18, and 21 operate to diagnose their own processor functions and the like.

【0008】そして、診断結果は、各ローカルプロセッ
サ14,17,20上の診断プログラム15,18,2
1により、メインプロセッサ10上の診断プログラム1
1に通知され、診断結果がそのプロセッサが正常に動作
することを示したときには、メインプロセッサ10上の
診断プログラム11は、メインプロセッサ10上の診断
結果格納領域2の対応するビットに“1”を設定し、動
作が不良を示したときには、メインプロセッサ10上の
診断結果格納領域12の対応するビットを“0”のまま
とする。
The diagnostic result is the diagnostic program 15, 18, 2 on each local processor 14, 17, 20.
1, the diagnostic program 1 on the main processor 10
1 is notified and the diagnostic result indicates that the processor operates normally, the diagnostic program 11 on the main processor 10 sets “1” to the corresponding bit of the diagnostic result storage area 2 on the main processor 10. When it is set and the operation is defective, the corresponding bit of the diagnostic result storage area 12 on the main processor 10 is left as "0".

【0009】その後に、あるプロセッサから他のプロセ
ッサに対して、プロセッサ間の通信を行うプログラムが
起動されると、ソフトウェア命令は、メインプロセッサ
10上の診断結果格納領域12を参照する。この時に、
通信先のプロセッサに対応するビットが“1”であった
場合には、ソフトウェア命令を実行し、そのプロセッサ
に対して割り込みを発生させる。また、通信先のプロセ
ッサに対応するビットが“0”であった場合には、ソフ
トウェアの実行を中止する。
After that, when a program for communicating between the processors is activated from one processor to another processor, the software instruction refers to the diagnostic result storage area 12 on the main processor 10. At this time,
When the bit corresponding to the processor of the communication destination is "1", the software instruction is executed and an interrupt is generated for the processor. If the bit corresponding to the processor of the communication destination is "0", execution of the software is stopped.

【0010】システム運用中に際し、ローカルプロセッ
サ14,17,20上でプロセッサ異常を検出した場合
には、その旨をローカルプロセッサ14,17,20上
の通信プログラム16,19,22からメインプロセッ
サ10上の通信プログラム13へ通知する。
When a processor abnormality is detected on the local processor 14, 17, 20 during system operation, the fact is notified from the communication program 16, 19, 22 on the local processor 14, 17, 20 on the main processor 10. The communication program 13 is notified.

【0011】さらに、ローカルプロセッサ14,17,
20上でプロセッサ異常を検出できないものについて
は、メインプロセッサ10上の通信プログラム13から
のポーリングに対するローカルプロセッサ14,17,
20上の通信プログラム16,19,22からの応答の
有無でメインプロセッサ10上の通信プログラム13が
ローカルプロセッサ14,17,20の異常を検出す
る。
Further, the local processors 14, 17,
If the processor abnormality cannot be detected on the local processor 20, the local processor 14, 17, for the polling from the communication program 13 on the main processor 10,
The communication program 13 on the main processor 10 detects an abnormality in the local processors 14, 17, 20 depending on the presence or absence of a response from the communication programs 16, 19, 22 on 20.

【0012】そして、メインプロセッサ10上の通信プ
ログラム13によりローカルプロセッサ14,17,2
0の異常を検出すると、メインプロセッサ10上の通信
プログラム13は、メインプロセッサ10上の診断結果
格納領域12の対応するビットを“0”で置き換える。
Then, the communication program 13 on the main processor 10 causes the local processors 14, 17, 2 to operate.
When an abnormality of 0 is detected, the communication program 13 on the main processor 10 replaces the corresponding bit in the diagnostic result storage area 12 on the main processor 10 with “0”.

【0013】[0013]

【発明の効果】以上説明したように、本発明のプロセッ
サ診断方式は、システム立ち上げ時に各プロセッサを診
断し、その診断結果を記憶しておく事に加えて、システ
ム運用時でもローカルプロセッサ上でプロセッサ異常を
検出した場合には、その旨をメインプロセッサへ通知
し、さらに、ローカルプロセッサ上で検出できないもの
については、メインプロセッサからのポーリングに対す
るローカルプロセッサからの応答の有無で、システム立
ち上げ時の初期診断における診断結果を置き換えるの
で、プロセッサ間通信を行う前にその診断結果を参照す
ることにより、システム運用中でのプロセッサ異常に
も、適切に対応できるという効果を有している。
As described above, according to the processor diagnosis method of the present invention, in addition to diagnosing each processor when the system is started up and storing the diagnosis result, the system can be operated on the local processor even during system operation. When a processor abnormality is detected, the fact is notified to the main processor, and if it cannot be detected on the local processor, the presence or absence of a response from the local processor to the polling from the main processor indicates whether or not the system was started up. Since the diagnosis result in the initial diagnosis is replaced, by referring to the diagnosis result before performing inter-processor communication, it is possible to appropriately deal with a processor abnormality during system operation.

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

【図1】本発明のプロセッサ診断方式の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a processor diagnosis system of the present invention.

【図2】本実施例を適用したマルチプロセッサシステム
の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of a multiprocessor system to which this embodiment is applied.

【図3】従来のプロセッサ診断方式を適用したマルチプ
ロセッサシステムの一例を示すブロック図である。
FIG. 3 is a block diagram showing an example of a multiprocessor system to which a conventional processor diagnosis method is applied.

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

1 初期診断手段 2 診断結果格納手段 3 診断結果格納領域 4 診断結果置換手段 5 運用時のプロセッサ異常検出手段 10 メインプロセッサ 11 診断プログラム 12 診断結果格納領域 13 通信プログラム 14 ローカルプロセッサ 15 診断プログラム 16 通信プログラム 17 ローカルプロセッサ 18 診断プログラム 19 通信プログラム 20 ローカルプロセッサ 21 診断プログラム 22 通信プログラム 30 メインプロセッサ 31 診断プログラム 32 診断結果格納領域 33 ローカルプロセッサ 34 診断プログラム 35 ローカルプロセッサ 36 診断プログラム 37 ローカルプロセッサ 38 診断プログラム DESCRIPTION OF SYMBOLS 1 Initial diagnosis means 2 Diagnostic result storage means 3 Diagnostic result storage area 4 Diagnostic result replacement means 5 Processor abnormality detection means during operation 10 Main processor 11 Diagnostic program 12 Diagnostic result storage area 13 Communication program 14 Local processor 15 Diagnostic program 16 Communication program 17 Local Processor 18 Diagnostic Program 19 Communication Program 20 Local Processor 21 Diagnostic Program 22 Communication Program 30 Main Processor 31 Diagnostic Program 32 Diagnostic Result Storage Area 33 Local Processor 34 Diagnostic Program 35 Local Processor 36 Diagnostic Program 37 Local Processor 38 Diagnostic Program

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 システム立ち上げ時に各プロセッサ上の
診断プログラムで自己のプロセッサの機能等を診断する
初期診断手段と、メインプロセッサ上の診断プログラム
によりローカルプロセッサ上での初期診断結果をメイン
プロセッサ上に有する診断結果格納領域に格納する診断
結果格納手段とを含むマルチプロセッサシステムにおけ
るプロセッサ診断方式において、ローカルプロセッサ自
身及びメインプロセッサ上の通信プログラムによる運用
時のプロセッサ異常検出手段と、運用時のプロセッサ異
常が発生した場合にメインプロセッサ上の通信プログラ
ムによって前記診断結果格納領域の初期診断結果の置換
を行う診断結果置換手段とを含むことを特徴とするプロ
セッサ診断方式。
1. An initial diagnostic means for diagnosing the function of its own processor by a diagnostic program on each processor when the system is started up, and an initial diagnostic result on the local processor by a diagnostic program on the main processor on the main processor. In a processor diagnostic method in a multiprocessor system including a diagnostic result storage unit for storing in a diagnostic result storage area, a processor abnormality detection unit during operation by a communication program on a local processor itself and a main processor, and a processor abnormality during operation And a diagnostic result replacement means for replacing the initial diagnostic result in the diagnostic result storage area by a communication program on the main processor when the processor diagnostic system is used.
JP4066676A 1992-03-25 1992-03-25 Processor diagnostic system Withdrawn JPH064499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4066676A JPH064499A (en) 1992-03-25 1992-03-25 Processor diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4066676A JPH064499A (en) 1992-03-25 1992-03-25 Processor diagnostic system

Publications (1)

Publication Number Publication Date
JPH064499A true JPH064499A (en) 1994-01-14

Family

ID=13322768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4066676A Withdrawn JPH064499A (en) 1992-03-25 1992-03-25 Processor diagnostic system

Country Status (1)

Country Link
JP (1) JPH064499A (en)

Similar Documents

Publication Publication Date Title
JPH09171460A (en) Diagnostic system for computer
JP2006040122A (en) Programmable controller
JPH064499A (en) Processor diagnostic system
JPH1153225A (en) Fault processor
JP2000259444A (en) Data processor and its testing method
JP2990008B2 (en) Processor self-diagnosis method
JPH0216647A (en) Information processor
JPH04175838A (en) Dumping system at the time of autorebooting
JPH0344730A (en) Trouble diagnostic controller for printer
JPS62139050A (en) Instruction test system by control of maintenance and diagnosis processor
JPH01140265A (en) Multiprocessor system
JPH0664569B2 (en) Micro program loading method
JPS61133443A (en) Fault processing system of electronic computer system
JPS63156251A (en) Diagnosing method for check circuit
JPH03276304A (en) Programmable controller and external trouble diagnostic method using the controller
JPS6364139A (en) Memory dumping control system
JPS60254251A (en) Debug system
JPS633984A (en) Printer with control part diagnosing function
JPH03184133A (en) Pseudo fault generating mechanism for data processor
JPH01166140A (en) Information processor diagnosing system
JPH01232448A (en) Acquiring system for fault information on microprocessor system
JPH02244208A (en) Information processor control system
JPS6259814B2 (en)
JPS61233841A (en) Personal computer with self-diagnostic function
JPH02244232A (en) Information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990608