JPH0480836A - Informing system for contents of system abnormality - Google Patents

Informing system for contents of system abnormality

Info

Publication number
JPH0480836A
JPH0480836A JP2194394A JP19439490A JPH0480836A JP H0480836 A JPH0480836 A JP H0480836A JP 2194394 A JP2194394 A JP 2194394A JP 19439490 A JP19439490 A JP 19439490A JP H0480836 A JPH0480836 A JP H0480836A
Authority
JP
Japan
Prior art keywords
program
abnormality
name
code
caused
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
JP2194394A
Other languages
Japanese (ja)
Inventor
Hidetoshi Yasukawa
安川 英俊
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2194394A priority Critical patent/JPH0480836A/en
Publication of JPH0480836A publication Critical patent/JPH0480836A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To estimate the processing at occurrence of the system abnormality by detecting the name of a program that causes the abnormality from a down code when a down is caused by an external factor. CONSTITUTION:The contents of a memory 25 are stored in a disk device 23 at occurrence of the system abnormality, and a linkage file is read out of the device 23 and sent into the memory 25. The name of the program that causes a system down and a relative address are obtained from the linkage file based on the value of an address part of an old PSW. An interruption factor is decided to judge whether the system down is caused by an internal or external factor. If the latter factor is judged, a down code is prepared with use of the program name that caused the system down. The name of each program of the system control is limited within 8 English letters, for example, by a naming rule. The program name can be directly used as a down code at generation of the down code. However a prescribed coding method is applied if a program name exceeds 4 letters.

Description

【発明の詳細な説明】 (概 要〕 システムダウンが発生したときに、その原因となった異
常の内容に応じたダウンコードを出力するシステム異常
内容の通知方式に関し、他発ダウンが発生したときに、
その原因の特定を容易にすることを目的とし、 実行中プログラムの処理論理あるいは動作の回復不可能
な異常の検出に応じて、その異常の内容に応じたダウン
コードを出力するコード出力手段と、異常を引き起こし
たプログラム名を取り出すプログラム名抽出手段と、ダ
ウンコードおよびプログラム名を出力する出力手段とを
備えたシステム異常内容の通知方式において、コード出
力手段は、プログラムの動作に回復不可能な異常を検出
したときに、その異常を引き起こしたプログラム名に基
づいてダウンコードを生成する構成とした。
[Detailed Description of the Invention] (Summary) This invention relates to a system abnormality notification method that outputs a down code according to the content of the abnormality that caused the system down when a system down occurs. To,
A code output means for outputting a down code according to the content of the abnormality in response to detection of an unrecoverable abnormality in the processing logic or operation of the executing program, with the aim of facilitating identification of the cause; In a system abnormality notification method that includes a program name extraction means for extracting the name of the program that caused the abnormality, and an output means for outputting a down code and the program name, the code output means detects an unrecoverable abnormality in the operation of the program. When an error is detected, a down code is generated based on the name of the program that caused the error.

〔産業上の利用分野〕[Industrial application field]

本発明は、システムダウンが発生したときに、その原因
となった異常の内容に応じたダウンコードを出力するシ
ステム異常内容の通知方式に関する。
The present invention relates to a system abnormality notification method that outputs a down code in accordance with the nature of the abnormality that caused the system failure when the system goes down.

[従来の技術] システムが回復不可能な異常を検出したときには、シス
テムダウンが発生する。このシステムダウンには、異常
の検出の仕方から以下の二つの場合がある。
[Prior Art] When a system detects an unrecoverable abnormality, a system down occurs. There are two cases of this system down depending on how the abnormality is detected:

一つは、システム制御プログラムの実行中に、プログラ
ム自身がその処理論理に矛盾を検出し、処理継続が不可
能である゛と判断してシステムをダウンさせる場合であ
る(以下、(「自発ダウン」という。)。
One is when the program itself detects an inconsistency in its processing logic during execution of the system control program, determines that it is impossible to continue processing, and shuts down the system (hereinafter referred to as ``spontaneous downdown''). ).

もう一つは、ハードウェアおよびファームウェアがプロ
グラムの動作異常、例えばプログラム例外、プロテクシ
ョン例外、特権例外およびその他を検出し、そのプログ
ラムがシステム制御プログラムであるときに、システム
がダウンする場合である(以下、「他見ダウン」という
、)。
The other is when the hardware and firmware detect malfunctions in the program, such as program exceptions, protection exceptions, privileged exceptions, etc., and the system goes down when the program is a system control program (hereinafter referred to as , called "other-looking down").

各システムダウンの発生時には、ダウンル−チンが起動
される。ダウンルーチンは、異常の内容に応したダウン
コードと、異常を引き起こしたフ。
When each system down occurs, a down routine is activated. The down routine includes a down code that corresponds to the content of the error and the code that caused the error.

ログラム名と、PSWの内容、レジスタの内容およびそ
の他を表示出力する。
The program name, PSW contents, register contents, and others are displayed and output.

このとき、自発ダウンの場合には、ブロク゛ラムごとに
その異常の内容に応したダウンコート力(出力され、他
見ダウンの場合には、ブロク゛ラム倹1外等の異常内容
に応じたダウンコードが出力される。
At this time, in the case of a spontaneous down, a down coat force (output) corresponding to the content of the abnormality is output for each block; is output.

ユーザは、システム復旧処理を行うためGこ、表示出力
された内容等をSEに通知する。
The user notifies the SE of the displayed contents and the like in order to perform system recovery processing.

[発明が解決しようとする課題] ところで、ユーザがSEに対して行う異常状況の説明は
、ユーザにとって簡単であること力(望ましい。すなわ
ち、SEは、ダウンコード力く通知されるだけで異常の
原因が推定できること力く望まれる。
[Problems to be Solved by the Invention] By the way, it is desirable for the user to explain the abnormal situation to the SE in a way that is easy for the user. In other words, the SE can easily understand the abnormal situation by simply being notified of the down code. It is strongly hoped that the cause can be estimated.

しかし、他見ダウンの場合には、ダウンコードから異常
の内容を知ることができても、どのような処理で異常が
発生したのかを知ることができない。通常、同し動作異
常を引き起こす可能性を持つ処理は複数存在し、異常の
内容だけからその原因を特定することは容易ではなく、
異常検出から復旧までに時間を要していた。
However, in the case of a temporary down, even if the details of the abnormality can be known from the down code, it is not possible to know what kind of processing caused the abnormality. Usually, there are multiple processes that can cause the same operational abnormality, and it is not easy to identify the cause from the contents of the abnormality alone.
It took time from detection of an abnormality to recovery.

本発明は、他見ダウンが発生したときに、その原因の特
定を容易にするシステム異常内容の通知方式を提供する
ことを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a system abnormality notification method that facilitates identification of the cause when a system failure occurs.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

図において、システム異常内容の通知方式では、実行中
プログラムの処理論理あるいは動作の回復不可能な異常
の検出に応じて、その異常の内容に応じたダウンコード
を出力するコード出力手段11と、異常を引き起こした
プログラム名を取り出すプログラム名抽出手段13と、
ダウンコードおよびプログラム名を出力する出力手段1
5とを備える。
In the figure, the system abnormality notification method includes a code output means 11 that outputs a down code according to the abnormality in response to the detection of an unrecoverable abnormality in the processing logic or operation of the program being executed; a program name extraction means 13 for extracting the name of the program that caused the problem;
Output means 1 for outputting down code and program name
5.

本発明では、コード出力手段11は、プログラムの動作
に回復不可能な異常を検出したときに、その異常を引き
起こしたプログラム名に基づいてダウンコードを生成す
る構成とする。
In the present invention, the code output means 11 is configured to generate a down code based on the name of the program that caused the abnormality when an unrecoverable abnormality is detected in the operation of the program.

〔作 用] 本発明では、プログラムの動作に異常が検出されるとき
には、異常を引き起こしたプログラム名に基づいてダウ
ンコードを生成することにより、ダウンコードから異常
を引き起こしたプログラム名を知ることを可能とする。
[Function] According to the present invention, when an abnormality is detected in the operation of a program, a down code is generated based on the name of the program that caused the abnormality, thereby making it possible to know the name of the program that caused the abnormality from the down code. shall be.

すなわち、プログラム名から異常を引き起こした処理を
推測することができ、異常の原因の特定が容易になる。
That is, the process that caused the abnormality can be inferred from the program name, making it easier to identify the cause of the abnormality.

〔実施例] 以下、図面に基づいて本発明の実施例について詳細に説
明する。
[Example] Hereinafter, an example of the present invention will be described in detail based on the drawings.

第2図は、本発明方式を採用するシステムの構成ブロッ
ク図である。
FIG. 2 is a block diagram of a system that employs the method of the present invention.

図において、CPU21には、ディスク装置23、メモ
リ25、表承部W27およびコンソールパネル29が接
続される。
In the figure, a disk device 23, a memory 25, a display portion W27, and a console panel 29 are connected to the CPU 21.

ディスク装置23には、システム制御プログラムが結合
編集されたときに生成され、結合された各プログラム名
と相対アドレスの情報を持つリンケージファイルが格納
される。
The disk device 23 stores a linkage file that is generated when system control programs are combined and edited and has information on the names and relative addresses of each combined program.

コンソールパネル29は、各種制御コードを表示出力す
るためのものである。制御コードは、例えば5桁で構成
され、システムダウン時には、先頭にソフトウェア異常
かハードウェア異常であるかを分類するコード、残り4
桁にダウンコードが出力される。
The console panel 29 is for displaying and outputting various control codes. The control code consists of, for example, 5 digits, and when the system goes down, there is a code at the beginning to classify whether it is a software error or a hardware error, and the remaining 4 digits.
A down code is output in the digit.

システムでは、回復不可能な異常の検出に応して、割り
込みが発生し、システムダウンの処理が起動される。第
3図は、システムダウンの際に起動されるシステム異常
内容を表示出力するダウンルーチンの処理の流れを示す
In the system, an interrupt is generated in response to the detection of an unrecoverable abnormality, and system down processing is activated. FIG. 3 shows the processing flow of a down routine that is activated when the system goes down and displays and outputs the contents of the system abnormality.

以下、第2図および第3図を参照して、実施例の動作に
ついて説明する。
The operation of the embodiment will be described below with reference to FIGS. 2 and 3.

システム異常発生時のメモリ25の内容がディスク装置
23に格納される。また、ディスク装置23上のリンケ
ージファイルがメモリ25に読み込まれる。
The contents of the memory 25 at the time of system abnormality are stored in the disk device 23. Further, the linkage file on the disk device 23 is read into the memory 25.

旧PSWのアドレス部の値に基づいて、リンケージファ
イルからシステムダウンの原因となったプログラム名と
相対アドレスが求められる。
Based on the value of the address part of the old PSW, the program name and relative address that caused the system down are determined from the linkage file.

割り込み原因を判定することにより、自発ダウンか他見
ダウンかが判定される。
By determining the cause of the interrupt, it is determined whether the system is down spontaneously or due to other reasons.

他見ダウンであるときには、先に求めたシステムダウン
の原因となったプログラム名を用いてダウンコードが作
成される。
If the system is apparently down, a down code is created using the previously determined name of the program that caused the system down.

システム制御の各プログラムの名前は、命名規約により
、例えば8文字以内の英文字と定められている。ダウン
コードの生成において、プログラム名をそのままダウン
コードとしても良いが、プログラム名が4文字を越える
ときには、所定の方法でコード化する。
The name of each system control program is determined to be, for example, eight or less English characters according to naming conventions. In generating the down code, the program name may be used as the down code, but if the program name exceeds 4 characters, it is encoded using a predetermined method.

例えば、プログラム名の第1文字から第4文字までを取
り出し、ダウンコードとする。
For example, the first to fourth characters of the program name are extracted and used as a down code.

また、プログラム名の先頭数文字、例えば2文字を用い
て各プログラムがスーパバイザ、データ管理等のコンポ
ーネントごとに分類されているときには、プログラム名
の第3文字から第6文字までを取り出してダウンコード
とする方法でもプログラム名を知るには、充分である。
In addition, if each program is classified by component such as supervisor, data management, etc. using the first few characters of the program name, for example, two characters, the third to sixth characters of the program name can be extracted and used as a down code. This method is sufficient to know the program name.

生成されたダウンコード、プログラム名、PSWの内容
、レジスタの内容、相対アドレスの内容およびその他が
表示装置27から出力される。
The generated down code, program name, PSW contents, register contents, relative address contents, and others are output from the display device 27.

なお、自発ダウンであるときには、旧PSWのアドレス
部の内容に基づいて、設定されているダウンコードが取
り出される。このダウンコードは、ダウンコードの4桁
全てが英文字となることがないように構成されている。
Note that when the downtime is spontaneous, the set downcode is retrieved based on the contents of the address field of the old PSW. This down code is configured so that all four digits of the down code cannot be alphabetic characters.

したがって、他見ダウン時にプログラム名に基づいてダ
ウンコードを生成しても、自発ダウンと他見ダウンのダ
ウンコードが重複することはない。
Therefore, even if a down code is generated based on the program name when the program is down by accident, the down codes for spontaneous down and accidental down will not overlap.

〔発明の効果〕 上述したように、本発明によれば、他見ダウンが発生し
たときには、ダウンコードから異常を引き起こしたプロ
グラム名を知ることができるので、異常発生時の処理を
推測することが可能となり、その異常の原因の特定が容
易になる。したがって、復旧までの時間を短縮すること
が可能となる。
[Effects of the Invention] As described above, according to the present invention, when an unexpected down occurs, the name of the program that caused the abnormality can be known from the down code, so it is possible to guess the process to be performed when the abnormality occurs. This makes it easier to identify the cause of the abnormality. Therefore, it is possible to shorten the time until recovery.

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

第1図は本発明の原理ブロック図、 第2図はシステムの構成ブロック図、 第3図は実施例の処理の流れを説明する図である。 図において、 1はコード出力手段、 3はプログラム名抽出手段、 5は出力手段、 lはCPU、 3はディスク装置、 5はメモリ、 7は表示装置、 9はコントロールパネルである。 本発明の原理ブロック図 第 図 システムの構成ブロック図 Figure 1 is a block diagram of the principle of the present invention. Figure 2 is a block diagram of the system configuration. FIG. 3 is a diagram explaining the processing flow of the embodiment. In the figure, 1 is a code output means, 3 is a program name extraction means; 5 is an output means; l is CPU, 3 is a disk device, 5 is memory, 7 is a display device; 9 is a control panel. Principle block diagram of the present invention No. figure System configuration block diagram

Claims (1)

【特許請求の範囲】[Claims] (1)実行中プログラムの処理論理あるいは動作の回復
不可能な異常の検出に応じて、その異常の内容に応じた
ダウンコードを出力するコード出力手段(11)と、 前記異常を引き起こしたプログラム名を取り出すプログ
ラム名抽出手段(13)と、 前記ダウンコードおよび前記プログラム名を出力する出
力手段(15)とを 備えたシステム異常内容の通知方式において、前記コー
ド出力手段(11)は、 プログラムの動作に回復不可能な異常を検出したときに
、その異常を引き起こしたプログラム名に基づいてダウ
ンコードを生成する構成としたこと を特徴とするシステム異常内容の通知方式。
(1) Code output means (11) for outputting a down code according to the content of the abnormality in response to the detection of an irrecoverable abnormality in the processing logic or operation of the running program; and the name of the program that caused the abnormality. In the system abnormality notification method, the code outputting means (11) includes: a program name extraction means (13) for extracting a program name; and an output means (15) for outputting the down code and the program name; A system abnormality notification method characterized in that when an unrecoverable abnormality is detected, a down code is generated based on the name of the program that caused the abnormality.
JP2194394A 1990-07-23 1990-07-23 Informing system for contents of system abnormality Pending JPH0480836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2194394A JPH0480836A (en) 1990-07-23 1990-07-23 Informing system for contents of system abnormality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2194394A JPH0480836A (en) 1990-07-23 1990-07-23 Informing system for contents of system abnormality

Publications (1)

Publication Number Publication Date
JPH0480836A true JPH0480836A (en) 1992-03-13

Family

ID=16323867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2194394A Pending JPH0480836A (en) 1990-07-23 1990-07-23 Informing system for contents of system abnormality

Country Status (1)

Country Link
JP (1) JPH0480836A (en)

Similar Documents

Publication Publication Date Title
EP3144813A1 (en) Information-processing device, information-processing monitoring method, program, and recording medium
CN110597601A (en) Controller task switching method, device, equipment and readable storage medium
JPH0480836A (en) Informing system for contents of system abnormality
JP3357777B2 (en) Program control system
JPH04332055A (en) Method for detecting program runaway
CN109753799B (en) Tamper-proofing method and system for Android application program and computer storage medium
CN112906000B (en) Program access method, device, equipment and readable storage medium
JPH0540668A (en) Program runaway preventing system
JP2018198000A (en) Monitoring program, monitoring method and information processing device
JP2621799B2 (en) Computer virus infection monitoring and prevention method
JPH076097A (en) Prevention system for rom erroneous insertion
JP6275098B2 (en) Control device and register failure recovery method
JPS62175834A (en) Detecting circuit for runaway of central processing unit
JPS6019241A (en) Boundary error detecting system for assembler instruction
JPH0423001A (en) Controller for industrial machine
JP2635777B2 (en) Programmable controller
JPH05134888A (en) Information processor
JPH01187640A (en) Unset area detection system
JP2008209990A (en) Invalid process detection apparatus
JPH01201762A (en) Micro computer
JPH0612251A (en) Program starting device
JPH04181447A (en) Computer system
JPS62217335A (en) Monitor circuit for cpu runaway
JPH0553879A (en) Program fault information collecting system
JPH05346801A (en) Program operation control device