JPH0228845A - Information output device - Google Patents

Information output device

Info

Publication number
JPH0228845A
JPH0228845A JP63178197A JP17819788A JPH0228845A JP H0228845 A JPH0228845 A JP H0228845A JP 63178197 A JP63178197 A JP 63178197A JP 17819788 A JP17819788 A JP 17819788A JP H0228845 A JPH0228845 A JP H0228845A
Authority
JP
Japan
Prior art keywords
processing
information
processing program
executed
message
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
JP63178197A
Other languages
Japanese (ja)
Inventor
Taketoshi Ono
小野 健逸
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63178197A priority Critical patent/JPH0228845A/en
Publication of JPH0228845A publication Critical patent/JPH0228845A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speedily execute the investigation of abnormality causes and a countermeasure to abnormality by outputting information to judge the abnormality is generated while which processing program is executed out of the plural processing programs. CONSTITUTION:When processing is interrupted by any error generation, message contents 9c of a correspondent message number Mi in a message information table are displayed on a CRT 6 and operation waits for a correspondence instruction from a user. The instruction, which is inputted from a keyboard 5 by the user, is decided and when the operation is continued, continuous processing is executed. When it is instructed that the processing to be presently executed is canceled, cancel processing is executed and logging processing is executed and finished. Since information, to which processing message information and a processing program name are added, are recorded as logging information with timing at the time of reset processing end, the information can be utilized as information for trouble retrieval in future.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、情報出力装置に関し、特に稼動中の各種メツ
セージ情報をロギング記録する情報出力装置に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information output device, and more particularly to an information output device that logs various message information during operation.

[従来の技術] 従来、装置に何らかの異常が発生した場合に、エラーや
警告を使用者に伝えるメツセージ情報がCRTや液晶等
を用いた表示部へ出力表示され、同時にその内容がフロ
ッピディスク等の外部記憶装置に記録されていた。そし
て、外部記憶装置に記録されたメツセージ情報は、シス
テムダウン時にダンプされ、システムリカバリのための
原因追求などに利用されている。
[Prior Art] Conventionally, when an abnormality occurs in a device, message information informing the user of an error or warning is output and displayed on a display unit using a CRT, liquid crystal, etc., and at the same time, the contents are displayed on a floppy disk, etc. It was recorded on an external storage device. The message information recorded in the external storage device is dumped when the system goes down and is used to investigate the cause for system recovery.

[発明が解決しようとしている課題] しかしながら、外部記憶装置に格納されている複数の処
理プログラムの中から1つを読み込み、その処理プログ
ラムを実行中に異常が発生した場合には、上記従来例の
ように、ただ単に表示部に表示したメツセージ情報をそ
のまま外部記憶装置に記録するたけては、どの処理プロ
グラムを実行中に異常が発生したのか判断するのが困難
になるという欠点があった。
[Problems to be Solved by the Invention] However, if one of the processing programs stored in an external storage device is loaded and an abnormality occurs while executing the processing program, the above conventional example Thus, simply recording the message information displayed on the display unit in an external storage device has the disadvantage that it becomes difficult to determine which processing program is being executed when an abnormality has occurred.

本発明は、上記課題を解決するために成されたもので、
異常原因を検討する際に、複数の処理プログラムの中の
どの処理プログラムを実行中に発生した異常であるのか
を判断できる情報出力装置を提供することを目的とする
The present invention was made to solve the above problems, and
It is an object of the present invention to provide an information output device that can determine which processing program among a plurality of processing programs is executing an abnormality when examining the cause of the abnormality.

[課題を解決するための手段] 上記目的を達成するために、本発明の情報出力装置は、
以下の構成を備える。即ち、 処理プログラム名称を入力する入力手段と、該入力手段
より入力した処理プログラム名称に対応する処理プログ
ラムを読み込む手段と、前記処理プログラムを実行中に
異常が発生すると前記処理プログラム名称とメツセージ
情報を記憶する記憶手段と、前記メツセージ情報を表示
する表示手段とを備える。
[Means for Solving the Problem] In order to achieve the above object, the information output device of the present invention has the following features:
It has the following configuration. That is, an input means for inputting a processing program name, a means for reading a processing program corresponding to the processing program name inputted from the input means, and a means for reading the processing program name and message information when an abnormality occurs during execution of the processing program. It includes a storage means for storing the message information and a display means for displaying the message information.

[作用] 以上の構成において、処理プログラムを実行中異常が発
生した場合に、処理プログラムに対応した処理プログラ
ム名称とメツセージ情報を記憶装置に記憶するように動
作する。
[Operation] In the above configuration, when an abnormality occurs during execution of a processing program, the processing program name and message information corresponding to the processing program are stored in the storage device.

[実施例] 以下、添付図面を参照して本発明に係る好適な一実施例
を詳細に説明する。
[Embodiment] Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

[装置の説明 (第1図)] 第1図は、本実施例における情報出方装置1のブロック
図であり、図示するように情報出力装置1は、バスを介
して装置全体を演算制御するマイクロコンピュータの如
きCPU (中央演算処理装置)2、後述するCPU2
の制御手順プログラムや処理プログラムをロードするロ
ーダプログラムを格納するROM (リードオンメモリ
)3、CPU2が実行する処理プログラムを読み込む領
域と処理動作中のワークエリアとを有するRAM4、処
理プログラムの入れ換えコマンド等の入力に用いるキー
ボード5、メツセージ情報表示用CRT6、処理プログ
ラム格納、及び、メツセージ情報記録用の固定磁気ディ
スク装置7、フロッピディスク装置8、後述する処理プ
ログラム名称とメツセージ情報テーブルとを格納するE
EFROM9から成る。
[Description of the device (Fig. 1)] Fig. 1 is a block diagram of the information output device 1 in this embodiment, and as shown in the figure, the information output device 1 calculates and controls the entire device via a bus. CPU (Central Processing Unit) 2 such as a microcomputer, CPU 2 to be described later
A ROM (read-on memory) 3 that stores a loader program for loading control procedure programs and processing programs, a RAM 4 that has an area for reading processing programs executed by the CPU 2 and a work area during processing operations, processing program replacement commands, etc. A keyboard 5 used for inputting information, a CRT 6 for displaying message information, a fixed magnetic disk device 7 for storing processing programs and for recording message information, a floppy disk device 8, and an E for storing processing program names and message information tables to be described later.
Consists of 9 EFROMs.

[テーブルの説明 (第2図)] 第2図(a)は、本実施例におけるEEPROM9内の
メツセージ情報テーブル構成を示したもので、メツセー
ジ番号9a、レベル9b、メツセージ内容9cから成り
、異常発生時にCRT6に表示するメツセージ情報を格
納するテーブルである。次に、第2図(b)は、各処理
プログラムを実行する場合、その処理プログラムに対応
する処理プログラム名称を格納する処理プログラム名称
格納領域9dを示している。
[Explanation of Table (Figure 2)] Figure 2 (a) shows the structure of the message information table in the EEPROM 9 in this embodiment. It consists of a message number 9a, a level 9b, and a message content 9c. This table stores message information that is sometimes displayed on the CRT 6. Next, FIG. 2(b) shows a processing program name storage area 9d that stores the processing program name corresponding to each processing program when the processing program is executed.

なお、メツセージ番号9aは、処理プログラムのロード
エラー、実行中の各種エラー等を管理する番号であり、
異常発生時には、このメツセージ番号9aによって表示
出力等の処理が行われる。
Note that the message number 9a is a number for managing processing program loading errors, various errors during execution, etc.
When an abnormality occurs, processing such as display output is performed using this message number 9a.

また、レベル9bは、そのメツセージ情報の取扱いを示
すもので、例えば、警告エラーであるのか致命的エラー
なのかの判断に使用する。
Level 9b indicates how to handle the message information, and is used, for example, to determine whether it is a warning error or a fatal error.

[処理手順の説明 (第3図〜第5図)]次に、第3図
のフローチャートを参照して本実施例の中のシステムプ
ログラムの入れ換え動作を以下説明する。
[Description of Processing Procedures (FIGS. 3 to 5)] Next, the system program replacement operation in this embodiment will be described below with reference to the flowchart in FIG.

キーボード5からのキー入力を待機するキー入力待機ル
ーチンにおいて、キーボード5からキー入力があると、
第3図で示すコマンドルーチンの処理を実行する。
In the key input waiting routine that waits for a key input from the keyboard 5, when a key input is received from the keyboard 5,
The command routine processing shown in FIG. 3 is executed.

先ず、ステップS1でキーホード5から入力されたコマ
ンドを判定し、プログラム入れ換えコマンドでなければ
、ステップS3で入力コマンドに対応する処理を行う。
First, in step S1, a command input from the keychain 5 is determined, and if it is not a program replacement command, a process corresponding to the input command is performed in step S3.

しかし、プログラム入れ換えコマンドであれば、ステッ
プS2において、キーホード5から入力指示されたコマ
ンドパラメータを処理プログラム名称として磁気ディス
ク7及びフロッピー8の中を検索する。そして、ステッ
プS4にて、その検索結果を判定し、見つからないので
あれば、ステップS5においてエラー表示処理を行い、
キーボード5からのキー入力待機ルーチンに処理を戻す
However, if it is a program replacement command, in step S2, the magnetic disk 7 and floppy disk 8 are searched using the command parameter inputted from the keyboard 5 as the processing program name. Then, in step S4, the search result is determined, and if it is not found, an error display process is performed in step S5,
The process returns to the key input waiting routine from the keyboard 5.

もし指定ファイルが存在している場合は、ステップS6
において、ROM3内のロードプログラムを起動し、ス
テップS7で、処理プログラム名称に対応する処理プロ
グラムをロードする。ステップS8において、ステップ
S7のロード処理が正常に終了したか否かを判定し、も
しエラーが検出された場合は、ステップSllでエラー
表示処理を行い、ステップS12で異常終了処理を実行
して停止する。一方、正常にロード処理が終了したので
あれば、ステップS9においてロードした処理プログラ
ムに制御を渡す。ステップSIOでは、ロードされた処
理プログラムに対応する処理プログラム名称をEEFR
OM9の処理プログラム名称格納領域9dに格納し、処
理プログラムの入れ換え処理を終了する。
If the specified file exists, step S6
In step S7, the load program in the ROM 3 is activated, and in step S7, the processing program corresponding to the processing program name is loaded. In step S8, it is determined whether or not the loading process in step S7 has ended normally. If an error is detected, error display processing is performed in step Sll, and abnormal termination processing is performed in step S12 and the process is stopped. do. On the other hand, if the loading process has ended normally, control is passed to the loaded processing program in step S9. In step SIO, the processing program name corresponding to the loaded processing program is set to EEFR.
It is stored in the processing program name storage area 9d of the OM9, and the processing program replacement process is completed.

次に、第4図のフローチャートを参照してリセット指定
(処理の取消し)用コマンド入カ後の処理について説明
する。
Next, with reference to the flowchart of FIG. 4, the processing after inputting a command for reset designation (cancellation of processing) will be described.

先ず、ステップS13でキーボード5よりキー入力され
たコマンドを判定し、リセット指定コマンドでなければ
、ステップS14にて入力されたコマンドに対応する処
理を行う。リセット指定コマンドの場合は、ステップS
15でリセット処理を行い、ステップS16でCRT6
に表示されたメツセージ情報を磁気ディスク装置7又は
フロッピー8に記録する。そして、第2図(a)で示す
メツセージ番号9a内のMkのメツセージ情報に付加情
報として、第2図(b)で示す処理プログラム名称9d
を追加し、記録する。
First, in step S13, a command input from the keyboard 5 is determined, and if it is not a reset designation command, a process corresponding to the input command is performed in step S14. In the case of a reset specification command, step S
In step S15, reset processing is performed, and in step S16, the CRT6 is reset.
The message information displayed is recorded on the magnetic disk device 7 or floppy disk 8. The processing program name 9d shown in FIG. 2(b) is added to the Mk message information in the message number 9a shown in FIG. 2(a) as additional information.
Add and record.

次に、処理プログラム実行中に何らかのエラーが発生し
た場合の動作を第5図のフローチャートに従って、以下
説明する。
Next, the operation when some error occurs during execution of the processing program will be described below with reference to the flowchart of FIG.

ステップS17で、何らかのエラー発生により処理が中
断すると、ステップ818では、第2図(a)のメツセ
ージ情報テーブル内の対応するメツセージ番号Miのメ
ツセージ内容9cをCRT6に表示し、使用者からの対
応指示を待つ。ステップS19において、使用者がキー
ボード5より入力された指示を判定し、続行の場合は、
ステップS21で続行処理を行う。現在、実行中である
処理の取消しを指示された場合はステップS20で取消
し処理を行い、ステップS22にて、第4図のステップ
S16で説明した、ロギング処理を実行し終了する。
If the process is interrupted in step S17 due to the occurrence of some kind of error, in step 818 the message content 9c of the corresponding message number Mi in the message information table of FIG. wait. In step S19, the user determines the instruction inputted from the keyboard 5, and if the instruction is to continue,
Continuation processing is performed in step S21. If there is an instruction to cancel the process currently being executed, the process is canceled in step S20, and in step S22, the logging process described in step S16 of FIG. 4 is executed and the process ends.

本実施例では、異常発生時のロギングを磁気記憶装置7
,8に記録しているが、EEPROM9に記録しても良
い。
In this embodiment, logging when an abnormality occurs is performed on the magnetic storage device 7.
, 8, but it may also be recorded in EEPROM 9.

本実施例によれば、処理メツセージ情報テーブル内のエ
ラーに対応するメツセージ情報と、詳細情報としての処
理プログラム名称を付加したものを、リセット処理終了
時の適当なタイミングで磁気ディスクにロギング情報と
して記録するようにしたことで、後日、故障回復や保守
点検時に上記ロギング情報を調べる際、どの処理プログ
ラム実行時に異常が発生したのかを把握できる効果が得
られる。
According to this embodiment, the message information corresponding to the error in the processing message information table and the processing program name added as detailed information are recorded as logging information on the magnetic disk at an appropriate timing at the end of the reset processing. By doing so, when checking the logging information at a later date during failure recovery or maintenance inspection, it is possible to obtain the effect that it is possible to grasp which processing program was executed when the abnormality occurred.

[発明の効果] 以上説明したように、異常原因を検討する際、複数の処
理プログラムの中のどの処理プログラムを実行中に発生
した異常であるのかを判断でき、対策が迅速に行える。
[Effects of the Invention] As described above, when examining the cause of an abnormality, it is possible to determine which processing program among a plurality of processing programs is being executed during which the abnormality occurred, and countermeasures can be taken quickly.

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

第1図は本発明に係る一実施例である情報出方装置1の
ブロック図、 第2図は本実施例でのメツセージ情報テーブルの一例を
示す構成図、 第3図、第4図、第5図は本実施例での動作を示すフロ
ーチャートである。 図中、1・・・情報出力装置、2・・・CPU、3・・
・ROM、4 ・RA−M、 5 ・・・キーボード、
6 ・CRT、7・・・固定磁気ディスク装置、8・・
・フロッピディスク装置、9・・・EEPROMである
FIG. 1 is a block diagram of an information output device 1 according to an embodiment of the present invention, FIG. 2 is a configuration diagram showing an example of a message information table in this embodiment, FIGS. FIG. 5 is a flowchart showing the operation in this embodiment. In the figure, 1... information output device, 2... CPU, 3...
・ROM, 4 ・RA-M, 5 ・・・Keyboard,
6 ・CRT, 7...Fixed magnetic disk device, 8...
- Floppy disk device, 9... EEPROM.

Claims (1)

【特許請求の範囲】[Claims] 処理プログラム名称を入力する入力手段と、該入力手段
より入力した処理プログラム名称に対応する処理プログ
ラムを読み込む手段と、前記処理プログラムを実行中に
異常が発生すると前記処理プログラム名称とメッセージ
情報を記憶する記憶手段と、前記メッセージ情報を表示
する表示手段とを備えることを特徴とする情報出力装置
an input means for inputting a processing program name; a means for reading a processing program corresponding to the processing program name inputted from the input means; and a means for storing the processing program name and message information when an abnormality occurs during execution of the processing program. An information output device comprising a storage means and a display means for displaying the message information.
JP63178197A 1988-07-19 1988-07-19 Information output device Pending JPH0228845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63178197A JPH0228845A (en) 1988-07-19 1988-07-19 Information output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63178197A JPH0228845A (en) 1988-07-19 1988-07-19 Information output device

Publications (1)

Publication Number Publication Date
JPH0228845A true JPH0228845A (en) 1990-01-30

Family

ID=16044281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63178197A Pending JPH0228845A (en) 1988-07-19 1988-07-19 Information output device

Country Status (1)

Country Link
JP (1) JPH0228845A (en)

Similar Documents

Publication Publication Date Title
US5826078A (en) Job re-execution system and controlling method thereof
US5819024A (en) Fault analysis system
JPH0228845A (en) Information output device
JP3399741B2 (en) Dump data display method and failure analysis system
JPS6220579B2 (en)
JP2811906B2 (en) Vending machine data error notification control device
JPH0472257B2 (en)
JPH07248810A (en) Numerical controller
JPH05233349A (en) Automatic test tool for program module
JP2504151B2 (en) Data processing device
JP3199034B2 (en) Volume monitoring device for business computer system and medium recording volume monitoring program
JPH04253230A (en) Electronic equipment diagnostic device
JPS6211746B2 (en)
JPH0468446A (en) Debugging supporting device
JPS59106017A (en) Testing of input/output controller
JPS63193260A (en) Host processor monitoring system for loosely coupled multiprocessor system
JPH11191072A (en) Debug break processing method and debug processor
JPH05143422A (en) Updated journal managing system
JPH06161516A (en) Checking method for sequence program
JPH0520089A (en) Assembly system
JPS60110045A (en) Automatic trace damping method
JPH01154245A (en) Automatic display system for trouble area
JPH04177437A (en) Debugging state control system
JPH01118934A (en) Analysis/editing output system for error information
JPH04338840A (en) Program debug back-up processor