JP2729162B2 - Error information recording method for diagnostic programs - Google Patents

Error information recording method for diagnostic programs

Info

Publication number
JP2729162B2
JP2729162B2 JP7234964A JP23496495A JP2729162B2 JP 2729162 B2 JP2729162 B2 JP 2729162B2 JP 7234964 A JP7234964 A JP 7234964A JP 23496495 A JP23496495 A JP 23496495A JP 2729162 B2 JP2729162 B2 JP 2729162B2
Authority
JP
Japan
Prior art keywords
diagnostic
storage area
information
error
module
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 - Fee Related
Application number
JP7234964A
Other languages
Japanese (ja)
Other versions
JPH0981410A (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.)
NEC Platforms Ltd
Original Assignee
NEC Shizuoca 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 Shizuoca Ltd filed Critical NEC Shizuoca Ltd
Priority to JP7234964A priority Critical patent/JP2729162B2/en
Publication of JPH0981410A publication Critical patent/JPH0981410A/en
Application granted granted Critical
Publication of JP2729162B2 publication Critical patent/JP2729162B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は診断プログラムのエ
ラー情報記録方式に関する。
The present invention relates to a method for recording error information of a diagnostic program.

【0002】[0002]

【従来の技術】装置の正常/異常を診断するためにシス
テム制御部により診断プログラムを実行し、対象装置に
異常(エラー発生)があると診断プログラムにより発行
されたプログラムシーケンス等を含む対応するエラー情
報を磁気ディスク等の記憶装置の記憶領域に記録し参照
可能とすることにより障害の早期解決が図れるようにし
ている。
2. Description of the Related Art A diagnostic program is executed by a system control unit for diagnosing the normal / abnormal state of an apparatus. When an abnormality (error occurrence) occurs in a target apparatus, a corresponding error including a program sequence issued by the diagnostic program is performed. Information is recorded in a storage area of a storage device such as a magnetic disk, and can be referred to so that an early solution of a failure can be achieved.

【0003】図3に従来のエラー情報の記録方式の一例
を示す。図3において、エラー記録を行いたい診断プロ
グラム(以下、診断モジュールと記述)が3個(診断モ
ジュール1,2,3)あり、エラー情報を格納するため
の記憶領域が3個(領域番号1,2,3)ある。エラー
情報の記録(以下、ロギングと記述)を行う場合、記憶
領域1には診断モジュール1のエラー情報(ログ1)、
記憶領域2には診断モジュール2のエラー情報(ログ
2)、記憶領域3には診断モジュール3のエラー情報
(ログ3)をそれぞれ格納するというように記憶領域位
置と診断モジュールとを1対1に固定的に対応させてい
た。例えば、診断モジュール1でエラーが発生した場
合、モジュール1はロギング用モジュール(ログモジュ
ール)にエラーが発生した事とエラーの内容を通知す
る。ログモジュールは、あらかじめテーブルに登録した
記録領域とモジュールとの固定的対応情報に基づいて、
診断モジュール1に対応した記憶領域1にエラーの内容
をログ1として記録する。その後、診断モジュール3で
エラーが発生したならば、エラーの通知を受けたログモ
ジュールは先ほどと同様に、診断モジュール3に対応し
た記憶領域3にエラー内容をログ3として記録する。
FIG. 3 shows an example of a conventional error information recording method. In FIG. 3, there are three diagnostic programs (diagnostic modules 1, 2 and 3) for which error recording is to be performed, and three storage areas for storing error information (area numbers 1 and 2). 2,3). When recording error information (hereinafter referred to as logging), the storage area 1 stores error information (log 1) of the diagnostic module 1;
The storage area 2 stores the error information (log 2) of the diagnosis module 2 and the storage area 3 stores the error information (log 3) of the diagnosis module 3 in a one-to-one relationship with the storage area position and the diagnosis module. It corresponded fixedly. For example, when an error occurs in the diagnostic module 1, the module 1 notifies the logging module (log module) that the error has occurred and the content of the error. The log module is based on fixed correspondence information between the recording area registered in the table in advance and the module,
The contents of the error are recorded as a log 1 in the storage area 1 corresponding to the diagnostic module 1. Thereafter, if an error occurs in the diagnostic module 3, the log module that has been notified of the error records the error content as a log 3 in the storage area 3 corresponding to the diagnostic module 3 as described above.

【0004】[0004]

【発明が解決しようとする課題】従来のエラー情報記録
方式では、各診断モジュールごとにエラー情報を記録す
る記憶領域が固定的に割り当てられているため、図4に
示すように診断モジュール4の追加を行う場合は、シス
テム保守者によりあらかじめ、記憶領域において追加さ
れた診断モジュール4のエラー情報(ログ4)を記憶す
る記憶領域4を追加し、ログモジュールにおいて記憶領
域と診断モジュールとの対応テーブルを修正(記憶領域
4とモジュール4との対応づけの追加)しなければなら
ず、保守性が低かった。
In the conventional error information recording method, a storage area for recording error information is fixedly assigned to each diagnostic module. Therefore, as shown in FIG. When performing the above, the storage area 4 for storing the error information (log 4) of the diagnostic module 4 added in the storage area in advance by the system maintenance person is added, and the correspondence table between the storage area and the diagnostic module is added to the log module. Correction (addition of correspondence between the storage area 4 and the module 4) was required, and the maintainability was low.

【0005】[0005]

【課題を解決するための手段】本発明の診断プログラム
のエラー情報記録方式は、各々が装置の診断を行い異常
があると自己の識別情報を含むエラー発生通知とともに
対応するエラー情報を出力する装置診断プログラムであ
る複数の診断モジュールと、任意の前記診断モジュール
のエラー情報をそれぞれ記録可能な前記診断モジュール
の個数より少ない個数の記憶領域と、前記記憶領域と前
記診断モジュールとの対応情報を登録する登録テーブル
を有し、前記診断モジュールから前記エラー発生通知及
びエラー情報を受けると前記登録テーブルを参照し、前
記識別情報で識別される診断モジュールが既登録の場合
はそれに対応づけられた記憶領域の位置情報を取得し、
前記識別情報で識別される診断モジュールが未登録の場
合は空いている記憶領域との対応づけを登録するととも
にその記憶領域の位置情報を取得し、取得した位置情報
で指定される記憶領域に受けとったエラー情報を記録す
る記録手段とを備えている。
According to the error information recording system of the diagnostic program of the present invention, each of the devices diagnoses the device and, if there is an abnormality, outputs an error notification including self-identification information and corresponding error information. Register a plurality of diagnostic modules as diagnostic programs, storage areas of a number smaller than the number of the diagnostic modules capable of recording error information of any of the diagnostic modules, and correspondence information between the storage areas and the diagnostic modules. When the diagnostic module identified by the identification information is registered, the registration table is referred to when the error occurrence notification and the error information are received from the diagnostic module. Get location information,
If the diagnostic module identified by the identification information has not been registered, the association with the empty storage area is registered, the position information of the storage area is acquired, and received in the storage area specified by the acquired position information. Recording means for recording error information.

【0006】[0006]

【発明の実施の形態】次に本発明について図面を参照し
て詳細に説明する。図1は本発明の一実施の形態を示す
ブロック構成図である。診断モジュール部10は、それ
ぞれ実際に装置の診断を行い、エラー発生時にはエラー
発生通知及びエラー情報を出力する複数の診断モジュー
ル1,2,3,4を有している。 エラー情報記憶領域
部20は、診断モジュール1,2,3,4ごとのエラー
情報(ログ1,2,3,4)をそれぞれ対応自在に記憶
可能な複数の記憶領域1,2,3を有している。この記
憶領域の個数は診断モジュールの個数より少なくするこ
とができる。ログモジュール30は、各診断モジュール
1〜4からのエラー発生通知及びエラー情報を受け取
り、登録テーブル32を参照して対応する記憶領域1〜
3のいずれかにエラー情報を記録するロギング処理部3
1を有している。登録テーブル32は記憶領域1〜3ご
との診断モジュール1〜4との対応をロギング処理部3
1により任意に登録可能である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. The diagnostic module unit 10 has a plurality of diagnostic modules 1, 2, 3, and 4 that each actually diagnose the apparatus and output an error occurrence notification and error information when an error occurs. The error information storage area unit 20 has a plurality of storage areas 1, 2, 3 capable of storing error information (logs 1, 2, 3, 4) for each of the diagnosis modules 1, 2, 3, 4, respectively. doing. The number of storage areas can be smaller than the number of diagnostic modules. The log module 30 receives the error occurrence notification and the error information from each of the diagnostic modules 1 to 4 and refers to the registration table 32 to store the corresponding storage areas 1 to 4.
Logging processing unit 3 for recording error information in any one of 3
One. The registration table 32 indicates the correspondence between the storage modules 1 to 3 and the diagnosis modules 1 to 4 by the logging processing unit 3.
1 allows any registration.

【0007】次に、図1とともに図2のフローチャート
を参照して動作を説明する。
Next, the operation will be described with reference to the flowchart of FIG. 2 together with FIG.

【0008】装置の電源投入、あるいは保守員による診
断コマンドの投入により診断モジュール部10が起動さ
れ、各診断プログラム1〜4による一連の装置診断が実
行されるが、その実行に先立ち、ログモジュール30内
の登録テーブル32の登録内容がクリアされる(図2の
ステップS1)。各診断モジュール1〜4は図示してい
ないがそれぞれ、装置に対して各種機能テスト,特性テ
スト等を行う装置診断プログラム部と、装置診断プログ
ラム部でエラーを検出すると自モジュールの識別情報を
含むエラー発生通知及びエラー状況,内容等を示す詳細
なエラー情報を収集し出力するエラー情報処理部とから
構成されている。各診断モジュール1〜4は順次診断を
実行し(ステップS2)、エラーが検出されなければ
(ステップS3のNO)、ログモジュール30に対して
特に何もしない。いずれかの診断モジュール、例えば診
断モジュール2でエラーを検出すると、自己の診断モジ
ュール番号を含むエラー発生通知をログモジュール30
に送出し、引き続いてそのエラー情報を送出する(ステ
ップS4)。
The diagnostic module section 10 is started by turning on the power of the apparatus or inputting a diagnostic command by a maintenance person, and a series of apparatus diagnostics by the diagnostic programs 1 to 4 are executed. The registered contents of the registration table 32 are cleared (step S1 in FIG. 2). Although not shown, each of the diagnostic modules 1 to 4 includes an apparatus diagnostic program unit for performing various function tests and characteristic tests on the apparatus, and an error including identification information of the own module when an error is detected by the apparatus diagnostic program unit. And an error information processing unit that collects and outputs detailed error information indicating an occurrence notification, an error status, contents, and the like. Each of the diagnosis modules 1 to 4 sequentially executes a diagnosis (step S2), and if no error is detected (NO in step S3), does nothing to the log module 30. When an error is detected by any of the diagnostic modules, for example, the diagnostic module 2, an error occurrence notification including its own diagnostic module number is sent to the log module 30.
And then the error information is transmitted (step S4).

【0009】ログモジュール30のロギング処理部31
はエラー発生通知を受け取ると登録テーブル32を参照
し(ステップS5)、エラー発生通知の出力元の診断モ
ジュールがすでに登録されているかチェックし(ステッ
プS6)、登録されていなければ空いている記憶領域、
例えば記憶領域1に対応する診断モジュール2の番号
(モジュール2)を登録する(ステップS7)。既に登
録されていた場合や新規に登録した後に、ロギング処理
部31は登録テーブル32の登録内容に従って、エラー
発生通知とともに受け取ったエラー情報をエラー情報記
憶領域部20内の対応する記憶領域(記憶領域1)にロ
グ情報(ログ2)として記録する(ステップS8)。上
記ステップS2からステップS8までの処理を予定され
た診断プログラム1〜4がすべて終了するまで繰り返す
(ステップS9)。このようにして、例えば診断モジュ
ール4でエラーが検出されると、ログモジュール30の
登録テーブル32において記憶領域2に対応して診断モ
ジュール4の番号(モジュール4)が登録され、エラー
情報記憶領域部20内の記憶領域2に対応するエラー情
報がログ4として記録される。
The logging processor 31 of the log module 30
Receives the error occurrence notification, refers to the registration table 32 (step S5), checks whether the diagnostic module that has output the error occurrence notification is already registered (step S6), and if not registered, a free storage area ,
For example, the number of the diagnostic module 2 (module 2) corresponding to the storage area 1 is registered (step S7). If the information has already been registered or after a new registration, the logging processing unit 31 stores the error information received together with the error occurrence notification in the corresponding storage area (storage area) in the error information storage area unit 20 in accordance with the registered contents of the registration table 32. 1) is recorded as log information (log 2) (step S8). The processing from step S2 to step S8 is repeated until all the scheduled diagnostic programs 1 to 4 are completed (step S9). In this way, for example, when an error is detected in the diagnostic module 4, the number (module 4) of the diagnostic module 4 is registered in the registration table 32 of the log module 30 corresponding to the storage area 2, and the error information storage area section Error information corresponding to the storage area 2 in 20 is recorded as a log 4.

【0010】以上に説明したように、エラー情報記憶領
域部20の各記憶領域1〜3を各診断モジュール1〜4
と固定的に対応づけることをせず任意に対応づけ可能と
し、ロギング処理部30の登録テーブル32をエラー情
報の発生元診断モジュールについてだけ空いている記憶
領域と対応づけて登録可能としたので、全診断モジュー
ルのエラー検出確率に応じて記憶領域の個数を診断モジ
ュールの個数よりも少なくすることが可能となり記憶装
置の記憶容量の使用効率を向上することができる。ま
た、登録テーブル32への対応情報の登録は各診断モジ
ュール1〜4からのエラー発生通知によっているので、
診断モジュールの追加あるいは削除を行う場合に、シス
テム保守者は登録テーブルへの対応情報の登録あるいは
削除処理を行う必要性がなく、保守性がよくなる。例え
ば、図1の状態で診断モジュール5(図中、点線で示
す)を新規に追加しても、記憶領域(及び登録テーブ
ル)にはまだエラー情報を記録する余裕がある。
As described above, the storage areas 1 to 3 of the error information storage area section 20 are stored in the diagnostic modules 1 to 4 respectively.
Since the registration table 32 of the logging processing unit 30 can be registered in association with an empty storage area only for the error information source diagnostic module, instead of being fixedly associated with The number of storage areas can be made smaller than the number of diagnostic modules according to the error detection probabilities of all diagnostic modules, and the efficiency of using the storage capacity of the storage device can be improved. Since the registration of the correspondence information in the registration table 32 is based on the error occurrence notification from each of the diagnostic modules 1 to 4,
When a diagnostic module is added or deleted, the system maintainer does not need to register or delete the corresponding information in the registration table, thereby improving maintainability. For example, even if a diagnostic module 5 (indicated by a dotted line in the figure) is newly added in the state of FIG. 1, there is still room for recording error information in the storage area (and the registration table).

【0011】なお、エラー検出した診断モジュールの個
数があらかじめ用意した記憶領域の個数よりも上回る場
合は、上記ステップS7の登録テーブル32の空き検索
処理においてオーバフロー検出しその旨を通知する出力
を行い、エラー情報の記録は行わない(診断は続行す
る)。あるいは、登録テーブル32のオーバフロー検出
時にロギング処理部31が記憶領域の増加が可能かどう
かチェックし、増加可能ならばその分だけ登録テーブル
32の登録容量を増加させてオーバフローを防止するよ
うにすることができる。
If the number of diagnostic modules for which an error has been detected exceeds the number of storage areas prepared in advance, an overflow is detected in the empty search process of the registration table 32 in step S7, and an output notifying the fact is output. No error information is recorded (diagnosis continues). Alternatively, when the overflow of the registration table 32 is detected, the logging processing unit 31 checks whether the storage area can be increased, and if the storage area can be increased, the registration capacity of the registration table 32 is increased by that amount to prevent the overflow. Can be.

【0012】[0012]

【発明の効果】本発明によれば、診断モジュールとその
エラー情報を記録する記憶領域との対応づけが可変的に
かつエラー情報が発生したときのみ自動的に行われるの
で、診断モジュールの個数が増加した場合の人手による
記録手段内の登録テーブルの修正及び記憶領域の拡大の
必要性が従来技術と比較して大幅に減少し、保守性が向
上する。
According to the present invention, the association between the diagnostic module and the storage area for recording the error information is variably performed and is automatically performed only when the error information is generated. The necessity of manually correcting the registration table in the recording means and expanding the storage area when the number increases increases greatly as compared with the related art, thereby improving maintainability.

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

【図1】本発明の一実施の形態を示すブロック構成図で
ある。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の動作フローを示す図である。FIG. 2 is a diagram showing an operation flow of the present invention.

【図3】従来の方式を示すブロック構成図である。FIG. 3 is a block diagram showing a conventional system.

【図4】図3に示す従来の方式で新たに診断モジュール
を加えた場合の構成の変化を示す図である。
FIG. 4 is a diagram showing a change in the configuration when a diagnostic module is newly added in the conventional method shown in FIG. 3;

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

10 診断モジュール部 20 エラー情報記憶領域部 30 ログモジュール 31 ロギング処理部 32 登録テーブル DESCRIPTION OF SYMBOLS 10 Diagnostic module part 20 Error information storage area part 30 Log module 31 Logging processing part 32 Registration table

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各々が装置の診断を行い異常があると自
己の識別情報を含むエラー発生通知とともに対応するエ
ラー情報を出力する装置診断プログラムである複数の診
断モジュールと、任意の前記診断モジュールのエラー情
報をそれぞれ記録可能な前記診断モジュールの個数より
少ない個数の記憶領域と、前記記憶領域と前記診断モジ
ュールとの対応情報を登録する登録テーブルを有し、前
記診断モジュールから前記エラー発生通知及びエラー情
報を受けると前記登録テーブルを参照し、前記識別情報
で識別される診断モジュールが既登録の場合はそれに対
応づけられた記憶領域の位置情報を取得し、前記識別情
報で識別される診断モジュールが未登録の場合は空いて
いる記憶領域との対応づけを登録するとともにその記憶
領域の位置情報を取得し、取得した位置情報で指定され
る記憶領域に受けとったエラー情報を記録する記録手段
とを備えることを特徴とする診断プログラムのエラー情
報記録方式。
1. A plurality of diagnostic modules, each of which is a device diagnostic program which outputs a corresponding error information together with an error occurrence notification including its own identification information when an abnormality is detected and an abnormality is detected, and an optional diagnostic module It has a storage area of a number smaller than the number of the diagnostic modules each capable of recording error information, and a registration table for registering correspondence information between the storage area and the diagnostic module. Upon receiving the information, the diagnostic module refers to the registration table, and if the diagnostic module identified by the identification information is already registered, acquires the position information of the storage area associated with the diagnostic module, and the diagnostic module identified by the identification information If not registered, the association with the free storage area is registered and the location information of the storage area is obtained. Recording means for recording the error information received in a storage area specified by the acquired and acquired position information.
JP7234964A 1995-09-13 1995-09-13 Error information recording method for diagnostic programs Expired - Fee Related JP2729162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7234964A JP2729162B2 (en) 1995-09-13 1995-09-13 Error information recording method for diagnostic programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7234964A JP2729162B2 (en) 1995-09-13 1995-09-13 Error information recording method for diagnostic programs

Publications (2)

Publication Number Publication Date
JPH0981410A JPH0981410A (en) 1997-03-28
JP2729162B2 true JP2729162B2 (en) 1998-03-18

Family

ID=16979017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7234964A Expired - Fee Related JP2729162B2 (en) 1995-09-13 1995-09-13 Error information recording method for diagnostic programs

Country Status (1)

Country Link
JP (1) JP2729162B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19841267C1 (en) * 1998-09-09 2000-03-02 Siemens Ag Process to implement error diagnostics with diagnostics modules monitoring subsystems in vehicle

Also Published As

Publication number Publication date
JPH0981410A (en) 1997-03-28

Similar Documents

Publication Publication Date Title
JPH0827738B2 (en) Online test method
JP2729162B2 (en) Error information recording method for diagnostic programs
JP2570104B2 (en) Failure information collection method in information processing equipment
JP2538876B2 (en) Data processing device with common bus structure
JPH0662114A (en) Inter-processor diagnostic processing system
JPH09305429A (en) Device diagnostic system
JP2842766B2 (en) Information processing system
JPH06244935A (en) Fault diagnostic system for configuration equipment of electronic exchange
JPS593657A (en) Collection processing system for fault information
JP3123831B2 (en) Information processing system
JPH03225536A (en) Method and device for log data collection
JPH0635749A (en) Data processing system
JPH0628195A (en) Downloading system for firmware
JPH0375939A (en) Information processing system
JPS6298438A (en) Remote maintenance system
JPH05342025A (en) Fault processing system for virtual machine system
JPH04230537A (en) Maintenance diagnostic device
JPH07248810A (en) Numerical controller
JPH04352041A (en) Device and method for collecting log information for information processing system
JPH09330280A (en) Device and method for recording diagnostic information
JPH04296632A (en) Failure cause ascertaining device and method
JPH04213123A (en) Preventive maintenance system for fault of electronic computer
JPH05298157A (en) Log file storing system for information processing system
JPH03276304A (en) Programmable controller and external trouble diagnostic method using the controller
JPH05108445A (en) Journal extraction system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971118

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071212

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081212

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091212

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091212

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101212

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101212

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees