JP2560892B2 - Error information processing device - Google Patents
Error information processing deviceInfo
- Publication number
- JP2560892B2 JP2560892B2 JP2186212A JP18621290A JP2560892B2 JP 2560892 B2 JP2560892 B2 JP 2560892B2 JP 2186212 A JP2186212 A JP 2186212A JP 18621290 A JP18621290 A JP 18621290A JP 2560892 B2 JP2560892 B2 JP 2560892B2
- Authority
- JP
- Japan
- Prior art keywords
- error
- identifier
- program
- unit
- output
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】 〔概 要〕 計算機における、エラー情報の処理に関し、エラー情
報を、情報間に関連付けが容易なように生成するように
したエラー情報処理装置を目的とし、 エラー管理部と、エラー処理部とを有し、 該エラー管理部は、エラー時に要求元からの個々のエラ
ーを識別するための識別子発生の要求を受けて、該要求
ごとに異なる値の識別子を発生して、該要求元に返し、 該エラー処理部は、所要のプログラムと該所要のプロ
グラムに呼び出されるプログラムごとに設けられ、且つ
それぞれのプログラムにおいて識別子保持部を有し、 該識別子保持部に保持される該識別子としては、エラ
ーの検出が他のプログラムと副次的な関係を持たない初
期エラーの場合には該エラー管理部に要求して取得する
値を保持し、該初期エラーに付随する副次的エラーの場
合には呼出先のプログラムから該識別子として通知され
る値を保持し、 当該プログラムの所定の処理中にエラーを検出し、該エ
ラーの検出に関連したエラー処理を実行する場合に、該
識別子保持部に保持された該識別子を該エラー処理によ
って出力する診断情報に付加して出力すると共に、呼出
元のプログラムが存在する場合には、該識別子を呼出元
のプログラムへ通知するように構成する。[Description] Regarding the processing of error information in a computer, an object of the error information processing device is to generate error information so that the information can be easily associated with each other. And an error processing unit, wherein the error management unit receives an identifier generation request from the request source at the time of error to generate an identifier for identifying each error, and generates an identifier having a different value for each request, Returning to the request source, the error processing unit is provided for each of a required program and a program called by the required program, and each program has an identifier holding unit, and the error holding unit is held in the identifier holding unit. As an identifier, when the error detection is an initial error that has no secondary relationship with other programs, a value obtained by requesting the error management unit is held and the initial error is held. In the case of a secondary error accompanying the error, the value notified as the identifier from the called program is retained, the error is detected during the predetermined processing of the program, and the error processing related to the detection of the error is performed. When executing, the identifier stored in the identifier storage unit is added to the diagnostic information output by the error processing and output, and when the calling source program exists, the identifier is stored in the calling source. Configure to notify the program.
本発明は、計算機におけるエラー情報の処理、特にエ
ラー情報を、情報間の関連付けが容易なように生成する
ようにしたエラー情報処理装置に関する。The present invention relates to error information processing in a computer, and more particularly to an error information processing device that generates error information so that information can be easily associated with each other.
第5図は計算機システムの構成例を示すブロック図で
ある。計算機システムで実行されるプログラムの、プロ
グラム1(プログラムAとする)がプログラム2(プロ
グラムBとする)を呼んで実行する場合に、プログラム
Bが実行中に何等かのエラーが検出されると、プログラ
ムBに設けられたエラー処理部8bが必要なエラー処理を
行って、検出されたエラー事象を、システムのエラー事
象を一元管理するエラー管理部3に事象通知bとして通
知した後(図ののパス(以下同様の場合単に等と示
す))、障害を示す復帰情報を伴ってプログラムAへ制
御を戻す()。FIG. 5 is a block diagram showing a configuration example of a computer system. When any error is detected during execution of the program B when the program 1 (referred to as the program A) of the program executed in the computer system calls and executes the program 2 (referred to as the program B), After the error processing unit 8b provided in the program B performs necessary error processing and notifies the detected error event to the error management unit 3 that centrally manages the error event of the system as an event notification b (in the figure, The control is returned to the program A along with the path (hereinafter, simply referred to as “the same case”) and the return information indicating the failure ().
そこでプログラムAは、エラー発生に対応した処理を
行うが、その結果の副次的にエラーを検出すると、プロ
グラムAのエラー処理部8aが、エラー管理部3にエラー
事象(事象通知aとする)を通知する()。Therefore, the program A performs a process corresponding to the occurrence of an error, but when an error is detected as a secondary result, the error processing unit 8a of the program A causes an error event (event notification a) in the error management unit 3. To notify ().
エラー管理部3では、受け取ったエラー事象通知のレ
コードをログ出力部6がログファイル5に格納すると共
に、端末4へエラーメッセージとして出力する。ログフ
ァイル5の内容は、別途障害解析プログラム等によって
解析される。In the error management unit 3, the log output unit 6 stores the received error event notification record in the log file 5 and outputs it to the terminal 4 as an error message. The contents of the log file 5 are separately analyzed by a failure analysis program or the like.
その場合に、前記のようにプログラムBが通知する元
のエラーの事象通知bと、プログラムAが通知する副次
的エラーの事象通知a等がある場合には、ログファイル
5のレコード上で、それらの事象通知レコード間の関連
が明示されていれば、処理が容易になる。In that case, if the event notification b of the original error notified by the program B and the event notification a of the secondary error notified by the program A as described above are present, on the record of the log file 5, If the relation between those event notification records is specified, the processing becomes easy.
そこで、本出願人の出願した特願昭62−88143号「エ
ラー事象の一元管理方式」には、次に例示する方式が開
示されている。即ち、エラー管理部3に識別子発生部7
を設け、事象通知を受け取るごとに、例えば累進させた
新しい番号値を識別子として発生し、事象の通知元に返
すと共に、ログ出力部6に渡して、今受け取った事象通
知レコードに付加するようにする。Therefore, Japanese Patent Application No. Sho 62-88143 “Unified error event centralized management system” filed by the present applicant discloses the following system. That is, the error management unit 3 is added to the identifier generation unit 7
Each time an event notification is received, a new number value that has been progressively generated is generated as an identifier and returned to the event notification source, and it is also passed to the log output unit 6 to be added to the event notification record that has just been received. To do.
プログラムA、B等では、例えば前記のようにプログ
ラムBがエラーを検出してで事象通知bを通知したと
き、で例えば識別子N1を受け取ると、で呼出元プロ
グラムAへ戻るとき、前記の復帰情報に識別子N1も付加
して渡す。そこでプログラムAがエラーを検出しての
ように事象通知aを通知する場合には、その事象通知a
のレコードの中に設ける関連事象の欄に識別子N1を設定
して渡す。In the programs A and B, for example, when the program B detects an error and notifies the event notification b as described above, when the identifier N1 is received, and when the program returns to the calling program A, The identifier N1 is also added to and passed. Therefore, when the program A notifies the event notification a as if an error was detected, the event notification a
The identifier N1 is set in the field of the related event provided in the record and passed.
これに対し、識別子発生部7は次の新たな識別子N2を
発生して返す()と共に、この識別子N2をログ出力部
6に渡して、事象通知に付加するようにする。On the other hand, the identifier generation unit 7 generates and returns the next new identifier N2 (), and also passes this identifier N2 to the log output unit 6 so as to add it to the event notification.
以上により、ログ出力部6が出力する事象通知レコー
ドには、第2図(a)に示すように、図に例示するよう
な従来の事象通知の各種情報の他に、当該事象識別子の
欄と関連事象識別子の欄を追加し、図のように両欄に記
録されている識別子のチェインによって、一連の事象を
関連付けることが比較的容易にできる。As described above, in the event notification record output by the log output unit 6, as shown in FIG. 2A, in addition to various information of the conventional event notification as illustrated in the figure, a field of the event identifier A column of related event identifiers is added, and a chain of identifiers recorded in both columns as shown in the figure makes it relatively easy to associate a series of events.
前記の技術によれば、一連の関連事象を識別子によっ
て認識することができるが、チェインになっているので
一連の事象を検索するのに比較的時間を要し、又個々の
事象を識別する場合にも、チェインをたどらなければ一
連の事象群に属すことを認識できないので、個別の処理
に不便である等の問題がある。According to the above-mentioned technique, a series of related events can be recognized by an identifier, but it takes a relatively long time to search a series of events because it is a chain, and when identifying individual events. However, since it cannot be recognized that it belongs to a series of event groups unless the chain is traced, there is a problem that it is inconvenient for individual processing.
本発明は、エラー情報を、情報間の関連付けが容易な
ように生成するようにしたエラー情報処理装置を目的と
する。An object of the present invention is to provide an error information processing device that generates error information so that information can be easily associated with each other.
第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.
図はエラー情報処理装置の構成であって、エラー管理
部12と、エラー処理部18a、18bとを有し、エラー管理部
12は、識別子発生部17と、ログ出力部16と、ログ参照部
19とを有し、識別子発生部17は識別子の要求を受けて、
該要求ごとに異なる値の識別紙を発生して、該要求元に
返し、ログ出力部16は、エラー処理部18a、18bから出力
される所定の情報を、ログファイル15へ格納し、ログ参
照部19は、所定の指定を受けた場合に、ログファイル15
に格納された情報を、前記識別子の値をキーエラー処理
部18a、18bは、所要のプログラムと所要のプログラムに
呼び出されるプログラムごとに設けられ、且つそれぞれ
のプログラムにおいて識別子保持部を有し、 該識別子保持部に保持される該識別子としては、エラ
ーの検出が他のプログラムと副次的な関係を持たない初
期エラーの場合には該エラー管理部12に要求して取得す
る値を保持し、該初期エラーに付随する副次的エラーの
場合には呼出先のプログラムから該識別子として通知さ
れる値を保持し、 当該プログラムの所定の処理中にエラーを検出し、該エ
ラーの検出に関連したエラー処理を実行する場合い、該
識別子保持部に保持された該識別子を該エラー処理によ
って出力する診断情報に付加して出力すると共に、呼出
元のプログラムが存在する場合には、該識別子を呼出元
のプログラムへ通知するように構成する。The figure shows the configuration of the error information processing apparatus, which has an error management unit 12 and error processing units 18a and 18b.
12 is an identifier generation unit 17, a log output unit 16, and a log reference unit
19, and the identifier generation unit 17 receives the request for the identifier,
An identification sheet having a different value is generated for each request and returned to the request source. The log output unit 16 stores the predetermined information output from the error processing units 18a and 18b in the log file 15 and refers to the log. The part 19 is for the log file 15 when it receives a predetermined designation.
The information stored in the key error processing unit 18a, 18b for the value of the identifier is provided for each required program and each program called by the required program, and has an identifier holding unit in each program, As the identifier held in the identifier holding unit, when the error detection is an initial error having no secondary relationship with other programs, a value obtained by requesting the error management unit 12 is held, In the case of a secondary error accompanying the initial error, the value notified as the identifier from the called program is held, and the error is detected during the predetermined processing of the program, and is related to the detection of the error. When executing error processing, the identifier held in the identifier holding unit is added to the diagnostic information output by the error processing and output, and the calling program Is present, the identifier is notified to the calling program.
また、前記エラー処理部18a、18bは、出力する診断情
報に、前記識別子と根本原因表示とを付加し、 該根本原因表示を、該識別子を前記エラー管理部12に
要求して取得した場合に出力する値と、該識別子を他の
プログラムから通知される場合に出力する値とが異なる
値となるよう構成する。The error processing units 18a and 18b add the identifier and the root cause display to the diagnostic information to be output, and when the root cause display is acquired by requesting the identifier to the error management unit 12. The value to be output is different from the value to be output when the identifier is notified by another program.
本発明のエラー情報処理装置により、関連する1群の
事象通知には、キーとなる同一の識別子が付けられ、且
つ診断情報等、事象通知以外のエラー情報にも同じ識別
子を付けるようにできる。更に、根本原因表示によって
原因となった最初の事象の事象通知と、その他の事象通
知とを区別できるようにすることもできるので、関連す
る事象通知をログ参照部で容易に検索したり、さらに検
索条件を付加して、その1群の中の特定の事象の通知を
取り出したり、診断情報と照合したりする作業を効率良
く行うことが可能になる。According to the error information processing apparatus of the present invention, a group of related event notifications has the same key identifier, and error information other than the event notification, such as diagnostic information, can have the same identifier. Furthermore, since it is possible to distinguish the event notification of the first event caused by the root cause display from other event notifications, the related event notifications can be easily searched in the log reference section, and By adding search conditions, it is possible to efficiently perform the work of taking out a notification of a specific event in the group and collating it with the diagnostic information.
第1図において、プログラム10(プログラムA)がプ
ログラム11(プログラムB)を呼んで実行する場合に、
プログラムBが実行中に何等かのエラーが検出される
と、プログラムBに設けられたエラー処理部18bが必要
なエラー処理を行って、検出されたエラー事象を、エラ
ー管理部12に事象通知bとして通知し()、障害を示
す復帰情報を伴ってプログラムAへ制御を戻す()
が、プログラムBが例えば最下位の制御プログラムであ
れば、エラー検出すると直ちにエラー管理部12の識別子
発生部17に識別子の要求を出し、例えば識別子N1を取得
する()ようにしておく。In FIG. 1, when the program 10 (program A) calls and executes the program 11 (program B),
When some error is detected during execution of the program B, the error processing unit 18b provided in the program B performs necessary error processing and notifies the detected error event to the error management unit 12 as an event notification b. (), And returns control to program A with return information indicating a failure ().
However, if the program B is, for example, the lowest control program, an identifier request is issued to the identifier generation unit 17 of the error management unit 12 immediately after an error is detected, and for example, the identifier N1 is acquired ().
エラー処理部18bは、このようにして識別子を獲得し
た後、例えば所定の診断情報を収集し、それを診断情報
ファイル13に書き出す場合に、識別子N1をキー情報とし
て付加して出力し()、前記の事象通知bのレコード
にも事象関連付け識別子の欄を設けて識別子N1を設定
し、又根本原因表示の欄を例えば「1」にすることによ
り、根本原因の事象であることを表示して出力する。After acquiring the identifier in this way, the error processing unit 18b collects, for example, predetermined diagnostic information, and when writing it to the diagnostic information file 13, adds the identifier N1 as key information and outputs (), The record of the event notification b is also provided with a field of the event association identifier, the identifier N1 is set, and the field of the root cause display is set to, for example, "1" to display the event of the root cause. Output.
制御が戻されたプログラムAは、エラー発生に対応し
た処理を行うが、その結果の副次的エラーを認識する
と、プログラムAのエラー処理部18aが、エラー管理部1
2にエラー事象を事象通知aとして通知する()。そ
の際従来のように新たな識別子を要求するのではなく、
プログラムBからの復帰情報として渡された識別子N1
を、事象通知bの場合と同様に事象通知aの事象関連付
け識別子の欄に設定し、但し根本原因表示の欄を例えば
「0」にすることにより、従属原因の事象であることを
表示して出力する。The program A to which the control is returned performs processing corresponding to the error occurrence, but when the secondary error as a result is recognized, the error processing unit 18a of the program A causes the error management unit 1 to
Notify 2 of the error event as event notification a (). At that time, instead of requesting a new identifier as in the past,
Identifier N1 passed as return information from program B
Is set in the field of the event association identifier of the event notification a as in the case of the event notification b, but the event of the subordinate cause is displayed by setting the field of the root cause display to, for example, “0”. Output.
エラー管理部12では、受け取ったエラー事象通知のレ
コードをログ出力部16がログファイル15に格納し、端末
4へメッセージを出力する。In the error management unit 12, the log output unit 16 stores the received error event notification record in the log file 15 and outputs a message to the terminal 4.
以上により、ログ出力部16が出力する事象通知レコー
ドには、第2図(b)に示すように、事象通知の各種情
報の欄の他に、事象関連付け識別子の欄と根本原因表示
の欄が設けられ、又診断情報のレコードにも事象関連付
け識別子の欄が設けられるので、図のように事象関連付
け識別子の欄の識別子の一致によって一連の事象及び関
連する診断情報等の関連付けが比較的容易にできるよう
になり、ログ参照部19は、この事象関連付け識別子の欄
をキーとして迅速に検索を行うことができる。As described above, in the event notification record output by the log output unit 16, as shown in FIG. 2B, in addition to the fields of various information of event notification, the field of event association identifier and the field of root cause display are included. Since a column of event association identifier is also provided in the record of diagnostic information, as shown in the figure, it is relatively easy to associate a series of events and related diagnostic information by matching the identifiers in the column of event association identifier. As a result, the log reference unit 19 can quickly search using the event association identifier field as a key.
第3図は本発明の一実施例を示すブロック図であり、
ユーザプログラム20がファイル管理プログラム21を呼ん
で磁気ディスク記憶装置29上のファイルへアクセスする
場合に、ファイル管理プログラム21は磁気ディスク記憶
装置29の制御について入出力スーパバイザ22のサービス
を受けるように構成されている。ハードウェア構成管理
プログラム23はハードウェア装置の障害に対応してシス
テム構成を管理する機構であり、実質的には後述のよう
に入出力スーパバイザ22のエラー処理部の一部としての
エラーを処理を行う。FIG. 3 is a block diagram showing one embodiment of the present invention.
When the user program 20 calls the file management program 21 to access a file on the magnetic disk storage device 29, the file management program 21 is configured to receive the service of the input / output supervisor 22 for controlling the magnetic disk storage device 29. ing. The hardware configuration management program 23 is a mechanism that manages the system configuration in response to a failure of the hardware device, and substantially handles errors as a part of the error processing unit of the input / output supervisor 22 as described later. To do.
ここで、入出力スーパバイザ22が実行中に、磁気ディ
スク記憶装置29の障害を検出すると、入出力スーパバイ
ザのエラー処理部18cが、エラー管理部12に識別子を要
求し()、例えば識別子N1を得ると、ハードウェア構
成管理プログラム23に識別子N1を付してハードウェア障
害通知を送り()、その後呼出元のファイル管理プロ
グラム21へ復帰する。その際の復帰情報として識別子N1
を渡す。When the I / O supervisor 22 detects a failure of the magnetic disk storage device 29 during execution, the error processing unit 18c of the I / O supervisor requests the error management unit 12 for an identifier (), and obtains, for example, the identifier N1. Then, the hardware configuration management program 23 is attached with the identifier N1 and a hardware failure notification is sent (), and then the file management program 21 of the calling source is returned to. Identifier N1 as return information in that case
give.
ハードウェア構成管理プログラム23は入出力スーパバ
イザ22からの障害通知に基づいて、磁気ディスク記憶装
置29について診断情報を識別子N1を付けた第2図(c)
のに例示するようなレコードとして診断情報ファイル
13に格納し、又、に示す内容の事象通知をエラー管理
部12に送るので()、ログ出力部16がログファイル15
へ格納する。The hardware configuration management program 23 attaches diagnostic information to the magnetic disk storage device 29 based on the failure notification from the I / O supervisor 22 and assigns the identifier N1 (FIG. 2 (c)).
Diagnostic information file as a record as shown in
Since the event notification having the contents shown in 13 is sent to the error management unit 12 (), the log output unit 16 causes the log file 15
Store to.
ファイル管理プログラム21では、入出力スーパバイザ
22からの異常復帰により磁気ディスク記憶装置29のハー
ドウェア障害によってファイルの処理を完了できなかっ
たことを知り、エラー処理部18dが当該ファイルについ
てのエラーの事象通知をエラー管理部12に通知し
()、ログファイル15へ格納される。このときの事象
通知は第2図(c)に示すような内容になる。In the file management program 21, I / O supervisor
Upon knowing that the processing of the file could not be completed due to a hardware failure of the magnetic disk storage device 29 due to the abnormal recovery from 22, the error processing unit 18d notifies the error management unit 12 of an error event notification regarding the file ( ), Is stored in the log file 15. The event notification at this time has the content shown in FIG.
第4図は第3図に示すシステムの、処理の流れの一例
を示す図であり、ファイル管理プログラム21は、ユーザ
プログラム20からの要求により、処理ステップ30で書き
込みレコードのバッファリングを行い、処理ステップ31
で識別して、ファイルの更新要する場合には、処理ステ
ップ32で入出力スーパバイザ22を呼んで、ファイルへの
書き込み要求を発行する。FIG. 4 is a diagram showing an example of the processing flow of the system shown in FIG. 3, and the file management program 21 buffers the write record in processing step 30 in response to a request from the user program 20, and Step 31
If the file needs to be updated, the input / output supervisor 22 is called in process step 32 to issue a file write request.
その後入出力スーパバイザ22から復帰すると、処理ス
テップ33で処理が完了したか復帰情報を判定し、例えば
復帰値が0なら処理完了として呼出元へ正常復帰し、復
帰値が0でなければ処理ステップ34で事象通知をエラー
管理部12へ送った後に異常復帰する。この場合、事象通
知は例えば第2図(c)の内容とし、事象関連付け識
別子の欄には入出力スーパバイザ22から渡された復帰値
の値(前記の通り非0)を識別子として使用し、根本原
因表示の欄は0とする。After that, when returning from the input / output supervisor 22, the return information is judged in the processing step 33 whether the processing is completed. For example, if the returning value is 0, the processing is completed and the operation is normally returned to the calling source. Then, the event notification is sent to the error management unit 12 and then the error is recovered. In this case, the event notification has, for example, the content shown in FIG. 2C, and the value of the return value (non-zero as described above) passed from the input / output supervisor 22 is used as the identifier in the event association identifier column. The cause display field is 0.
入出力スーパバイザ22は、ファイル管理プログラム21
から呼ばれると、処理ステップ40で所要のI/O命令を発
行して磁気ディスク記憶装置29を動作させる。処理ステ
ップ41でI/O命令の実行結果を判定し、正常に完了して
いれば復帰情報として渡す復帰値を0として正常復帰す
る。The I / O supervisor 22 is a file management program 21.
Then, in step 40, a required I / O command is issued to operate the magnetic disk storage device 29. In processing step 41, the execution result of the I / O instruction is judged, and if it is completed normally, the return value passed as the return information is set to 0 and the operation is returned to normal.
何等かのハードウェア障害で命令が完了できなかった
場合には、処理ステップ42でエラー管理部12に要求して
識別子(値をN1とする)を取得し、処理ステップ43で障
害通知をハードウェア構成管理プログラム23に通知す
る。この障害通知は、識別子N1、装置識別名、障害種別
その他からなる。その後、処理ステップ44で復帰値に今
取得した識別子N1を設定して、呼出元へ異常復帰する。If the instruction cannot be completed due to some hardware failure, the error management unit 12 is requested in process step 42 to acquire the identifier (value is N1), and the failure notification is sent to the hardware in process step 43. Notify the configuration management program 23. This failure notification is made up of an identifier N1, a device identification name, a failure type, and so on. After that, in the processing step 44, the identifier N1 just acquired is set as the return value, and abnormal return is made to the calling source.
ハードウェア構成管理プログラム23は、入出力スーパ
バイザ22から障害通知を受け取ると、処理ステップ60で
第2図(c)のような診断情報レコードにして診断情
報ファイル13に格納する。この診断情報データは装置識
別名、障害種別、センス情報その他で構成する。When the hardware configuration management program 23 receives the failure notification from the input / output supervisor 22, it makes a diagnostic information record as shown in FIG. The diagnostic information data is composed of a device identification name, a fault type, sense information, and the like.
次いで処理ステップ61で障害磁気ディスク記憶装置29
を使用しないようにシステム構成から切り離す処理を
し、処理ステップ62で第2図(c)のような事象通知
をエラー管理部12へ送る。事象通知の事象固有データに
は、装置識別名、障害発生時のレコード位置、その他の
障害状況等を含む。Then, in process step 61, the failed magnetic disk storage device 29
Is separated from the system configuration so that it will not be used, and an event notification as shown in FIG. The event-specific data of the event notification includes a device identification name, a record position at the time of failure occurrence, and other failure statuses.
エラー管理部12では、識別子の要求があると、識別子
発生部17が処理ステップ50で新しい値を生成し、識別子
として要求元に返す。識別子の値は、例えば要求ごとに
番号を+1累進させたり、要求元の識別名と要求日時
(例えば秒表示)から合成する等の方法を使用し、所要
の期間内のシステムにユニークな値となるようにする。In the error management unit 12, when an identifier is requested, the identifier generation unit 17 generates a new value in processing step 50 and returns it as an identifier to the request source. For the value of the identifier, use a method such as incrementing the number by +1 for each request or synthesizing from the requester's identification name and the request date and time (for example, second display), and make it unique to the system within the required period. To be
事象通知を受けると、ログ出力部16が処理ステップ51
でその内容によりレコードを組み立て、処理ステップ52
でログファイル15に格納する。処理ステップ53でメッセ
ージ出力要否(例えば事象通知に指定する)を識別し
て、必要な場合には処理ステップ54で事象通知からエラ
ーメッセージを生成して出力する。Upon receiving the event notification, the log output unit 16 performs the processing step 51.
Assemble a record according to its contents and process step 52
And store it in log file 15. In processing step 53, the necessity of message output (for example, designated in event notification) is identified, and if necessary, an error message is generated from the event notification and output in processing step 54.
以上の説明から明らかなように本発明によれば、計算
機のエラー情報の処理において、エラー情報を情報間の
関連付けが容易なように生成できるので、エラーの解析
処理等の作業効率を改善するという著しい工業的効果が
ある。As is clear from the above description, according to the present invention, in the processing of error information of a computer, it is possible to generate error information so that the information can be easily associated with each other, so that the work efficiency of error analysis processing and the like is improved. It has a remarkable industrial effect.
第1図は本発明の構成を示すブロック図、 第2図はエラー情報の例を説明する図、 第3図は本発明の実施例を示すブロック図、 第4図は本発明の処理の流れ図、 第5図は従来の構成例を示すブロック図である。 図において、 1、2、10、11はプログラム、 3、12はエラー管理部、5、15はログファイル、 6、16はログ出力部、7、17は識別子発生部、 8a、8b、18a〜18dはエラー処理部、 13は診断情報ファイル、19はログ参照部、 20はユーザプログラム、 21はファイル管理プログラム、 22は入出力スーパバイザ、 23はハードウェア構成管理プログラム、 29は磁気ディスク記憶装置、 30〜34、40〜44、50〜54、60〜62は処理ステップを示
す。FIG. 1 is a block diagram showing a configuration of the present invention, FIG. 2 is a diagram explaining an example of error information, FIG. 3 is a block diagram showing an embodiment of the present invention, and FIG. 4 is a flow chart of processing of the present invention. FIG. 5 is a block diagram showing a conventional configuration example. In the figure, 1, 2, 10, 11 are programs, 3, 12 are error management sections, 5 and 15 are log files, 6 and 16 are log output sections, 7 and 17 are identifier generation sections, and 8a, 8b and 18a ... 18d is an error processing unit, 13 is a diagnostic information file, 19 is a log reference unit, 20 is a user program, 21 is a file management program, 22 is an input / output supervisor, 23 is a hardware configuration management program, 29 is a magnetic disk storage device, 30 to 34, 40 to 44, 50 to 54, 60 to 62 indicate processing steps.
Claims (3)
ーを識別するための識別子発生の要求を受けて、該要求
ごとに異なる値の識別子を発生して、該要求元に返し、 該エラー処理部は、所要のプログラムと該所要のプログ
ラムに呼び出されるプログラムごとに設けられ、且つそ
れぞれのプログラムにおいて識別子保持部を有し、 該識別子保持部に保持される該識別子としては、エラー
の検出が他のプログラムと副次的な関係を持たない初期
エラーの場合には該エラー管理部に要求して取得する値
を保持し、該初期エラーに付随する副次的エラーの場合
には呼出先のプログラムから該識別子として通知される
値を保持し、 当該プログラムの所定の処理中にエラーを検出し、該エ
ラーの検出に関連したエラー処理を実行する場合に、該
識別子保持部に保持された該識別子の該エラー処理によ
って出力する診断情報を付加して出力すると共に、呼出
元のプログラムが存在する場合には、該識別子を呼出元
のプログラムへ通知するように構成されていることを特
徴とするエラー情報処理装置。1. An error management unit and an error processing unit, wherein the error management unit receives an identifier generation request for identifying an individual error from a request source at the time of an error and receives the request for each request. An identifier having a different value is generated and returned to the request source, the error processing unit is provided for each required program and each program called by the required program, and each program has an identifier holding unit, As the identifier held in the identifier holding unit, when the error detection is an initial error having no secondary relationship with another program, a value obtained by requesting the error management unit is held, In the case of a secondary error accompanying the initial error, the value notified as the identifier from the called program is retained, and the error is detected during the predetermined processing of the program, and the error When executing the error processing related to the detection, the diagnostic information output by the error processing of the identifier held in the identifier holding unit is added and output, and when the calling program exists, An error information processing apparatus, characterized in that the identifier is notified to a calling program.
に、前記識別子と根本原因表示とを付加し、 該根本原因表示を、該識別子を前記エラー管理部に要求
して取得した場合に出力する値と、該識別子を他のプロ
グラムから通知される場合に出力する値とが異なる値と
なる請求項1記載のエラー情報処理装置。2. The error processing unit adds the identifier and a root cause display to the diagnostic information to be output, and outputs the root cause display when the identifier is requested from the error management unit and acquired. The error information processing apparatus according to claim 1, wherein the value to be output is different from the value output when the identifier is notified from another program.
参照部とを有し、 該ログ出力部は、前記エラー処理部から出力される診断
情報をログファイルへ格納し、 該ログ参照部は、該ログファイルに格納された情報を、
前記識別子の値をキーとして検索出力するように構成さ
れている請求項1又は請求項2記載のエラー情報処理装
置。3. The error management unit includes a log output unit and a log reference unit, the log output unit stores diagnostic information output from the error processing unit in a log file, and refers to the log. Part, the information stored in the log file,
The error information processing apparatus according to claim 1, wherein the error information processing apparatus is configured to search and output using the value of the identifier as a key.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2186212A JP2560892B2 (en) | 1990-07-12 | 1990-07-12 | Error information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2186212A JP2560892B2 (en) | 1990-07-12 | 1990-07-12 | Error information processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0476633A JPH0476633A (en) | 1992-03-11 |
| JP2560892B2 true JP2560892B2 (en) | 1996-12-04 |
Family
ID=16184332
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2186212A Expired - Fee Related JP2560892B2 (en) | 1990-07-12 | 1990-07-12 | Error information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2560892B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5414292B2 (en) * | 2009-01-29 | 2014-02-12 | ルネサスエレクトロニクス株式会社 | Defect analysis apparatus, method and program |
| WO2020069218A1 (en) * | 2018-09-27 | 2020-04-02 | Siemens Healthcare Diagnostics Inc. | Method for deterministically reporting cause and effect in software systems |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63254536A (en) * | 1987-04-10 | 1988-10-21 | Fujitsu Ltd | Unitary control system for error event |
-
1990
- 1990-07-12 JP JP2186212A patent/JP2560892B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0476633A (en) | 1992-03-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7475387B2 (en) | Problem determination using system run-time behavior analysis | |
| US7437686B1 (en) | Systems, methods and computer program products for graphical user interface presentation to implement filtering of a large unbounded hierarchy to avoid repetitive navigation | |
| US9052972B2 (en) | Determining the processing order of a plurality of events | |
| US20130086418A1 (en) | Data processing failure recovery method, system and program | |
| US20060004839A1 (en) | Method and system for data processing with data replication for the same | |
| US10732841B2 (en) | Tracking ownership of memory in a data processing system through use of a memory monitor | |
| CN111639057A (en) | Log message processing method, device, computer equipment and storage medium | |
| CN113986739A (en) | Monitoring method and device for website memory leakage, storage medium and processor | |
| US20070150870A1 (en) | Method and apparatus for context oriented computer program tracing and visualization | |
| WO2015181612A1 (en) | System and method for dynamic collection of system management data in a mainframe computing environment | |
| JP2560892B2 (en) | Error information processing device | |
| US10997057B2 (en) | Debugging asynchronous functions | |
| EP2149088B1 (en) | System and method of tracking and communicating computing states | |
| CN117873685A (en) | Job scheduling method, device, equipment and medium | |
| CN1143214C (en) | Methods for Determining Data Status | |
| KR101091071B1 (en) | Method system and software for journaling system objects | |
| JP4271612B2 (en) | Fault detection system and method | |
| JP2024175764A (en) | Log storage device and log storage method | |
| US7584480B1 (en) | Method of monitoring multiple computer system calls using one routine and non-executable configuration file | |
| CN120731424A (en) | Method and apparatus for visualizing debug data of a complex data processing network | |
| JPH04268633A (en) | data processing equipment | |
| JP3247846B2 (en) | Medical practice input device | |
| JPH11327681A (en) | Virtual system time management system and management method and recording medium recording management program | |
| CN121681237A (en) | Database rollback method, device, medium and program product | |
| JPH05143422A (en) | Updated journal managing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080919 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080919 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090919 Year of fee payment: 13 |
|
| LAPS | Cancellation because of no payment of annual fees |