JP2882459B2 - Error information collection test system - Google Patents

Error information collection test system

Info

Publication number
JP2882459B2
JP2882459B2 JP7014841A JP1484195A JP2882459B2 JP 2882459 B2 JP2882459 B2 JP 2882459B2 JP 7014841 A JP7014841 A JP 7014841A JP 1484195 A JP1484195 A JP 1484195A JP 2882459 B2 JP2882459 B2 JP 2882459B2
Authority
JP
Japan
Prior art keywords
information
test
diagnosis
processing apparatus
information processing
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
JP7014841A
Other languages
Japanese (ja)
Other versions
JPH08212113A (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 Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7014841A priority Critical patent/JP2882459B2/en
Publication of JPH08212113A publication Critical patent/JPH08212113A/en
Application granted granted Critical
Publication of JP2882459B2 publication Critical patent/JP2882459B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はエラー情報収集試験シス
テムに関し、特に情報処理装置の試験診断を長時間かつ
繰返し行うランニング試験に用いられるエラー情報収集
試験システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error information collection test system, and more particularly to an error information collection test system used for a running test in which test diagnosis of an information processing apparatus is repeated for a long time and repeatedly.

【0002】[0002]

【従来の技術】従来、情報処理装置のランニング試験に
おいては、そのランニング試験中に試験診断制御プログ
ラムがシステムダウンに陥るエラーを検出した場合、操
作者が情報処理装置のリセットを行う等の何らかのアク
ションを起こすまで、その時点で試験診断が停止してい
る。
2. Description of the Related Art Conventionally, in a running test of an information processing apparatus, if a test diagnosis control program detects an error that causes a system down during the running test, the operator performs some action such as resetting the information processing apparatus. The test diagnosis has stopped at that time until the event occurs.

【0003】また、システムダウンに陥った場合、シス
テムダウンに陥るに至ったエラー原因解析のため、その
時点におけるCPUレジスタの状態やスタックエリアの
状態、及び実行していたタスク(試験診断プログラム)
の状態、主記憶部の状態、情報処理装置の状態等の情報
収集を操作者が人手によって行っている。
When the system goes down, the state of the CPU register and the state of the stack area at that time and the task (test diagnosis program) being executed are analyzed to analyze the cause of the error that led to the system down.
The operator manually collects information such as the status of the main storage unit, the status of the information processing device, and the like.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の情報処
理装置のランニング試験では、ランニング試験中にシス
テムダウンに陥るエラーが検出されると、操作者が何ら
かのアクションを起こすまでその時点で試験診断が停止
してしまうので、特に夜間の人手がない時のランニング
試験等の場合、試験開始まもなくシステムダウンして試
験診断が停止してしまうと長時間そのまま放置されるこ
ととなり、試験診断を再開するまでに時間がかかるとい
う問題がある。
In the running test of the conventional information processing apparatus described above, if an error that causes the system to go down during the running test is detected, the test diagnosis is performed at that time until the operator takes some action. Since the system will stop, especially in the case of running tests during nighttime when there is no manpower, if the system is shut down shortly after the test starts and the test diagnosis is stopped, it will be left as it is for a long time, until the test diagnosis is restarted. There is a problem that it takes time.

【0005】また、システムダウンに陥った時に情報処
理装置の状態等の情報収集を操作者が人手によって行っ
ているので、その情報収集後に情報処理装置をリセット
して試験診断を再実行しなければならず、試験診断を再
開するまでに時間がかかるという問題がある。
Further, since the operator manually collects information such as the state of the information processing apparatus when the system goes down, it is necessary to reset the information processing apparatus after the information collection and re-execute the test diagnosis. In addition, there is a problem that it takes time to restart the test diagnosis.

【0006】そこで、本発明の目的は上記の問題点を解
消し、情報処理装置の状態等の情報収集を自動的に行う
ことができ、その情報収集後に情報処理装置を自動的に
ハードウェアリセットして試験診断を再実行することが
できるエラー情報収集試験システムを提供することにあ
る。
Therefore, an object of the present invention is to solve the above-mentioned problems and to automatically collect information such as the state of the information processing apparatus, and automatically reset the information processing apparatus after the information collection. It is an object of the present invention to provide an error information collection test system that can re-execute test diagnosis.

【0007】[0007]

【課題を解決するための手段】本発明によるエラー情報
収集試験システムは、情報処理装置の試験診断を長時間
かつ繰返し行うランニング試験に用いられるエラー情報
収集試験システムであって、前記試験診断において前記
情報処理装置がシステムダウンしたことを明示するフラ
グと、前記情報処理装置がシステムダウンした時の診断
プログラムを特定する情報を保持する保持手段と、前記
情報処理装置がシステムダウンした時に前記診断プログ
ラムから前記試験診断の処理手段に強制的に制御を移行
するソフトウェアリセット手段と、前記ソフトウェアリ
セット手段による強制的な制御移行処理の後に前記フラ
グの内容に基づいて前記情報処理装置内からエラー情報
を収集すべきか否かを判断する判断手段と、前記エラー
情報の収集範囲を示しかつ予め設定された収集範囲情報
を格納する格納手段と、前記判断手段で前記エラー情報
を収集すべきと判断された時に前記格納手段の前記収集
範囲情報を基に前記情報処理装置内から前記エラー情報
を収集するエラー情報収集手段と、前記エラー情報収集
手段による前記エラー情報の収集後に前記保持手段の内
容を基に前記情報処理装置の試験診断を再実行する試験
再開手段と、前記情報処理装置の試験診断を行うための
試験診断プログラム列を記憶する記憶手段と、前記情報
処理装置の試験診断の再実行時に前記記憶手段の試験診
断プログラム列から次に実行する試験診断プログラムを
取出して前記情報処理装置の試験診断を再実行する手段
を備えている。
An error information collection test system according to the present invention is an error information collection test system used for a running test in which test diagnosis of an information processing apparatus is repeated for a long time and repeatedly. A flag that indicates that the information processing apparatus has gone down, a holding unit that holds information that specifies a diagnostic program when the information processing apparatus goes down, and a storage unit that stores information identifying the diagnostic program when the information processing apparatus goes down. Software reset means for forcibly transferring control to the test diagnosis processing means; and error information from the information processing apparatus based on the contents of the flag after the forced control transfer processing by the software reset means. Determining means for determining whether or not the error information is collected; Storage means for storing collection range information set in advance, and when the determination unit determines that the error information should be collected, the storage unit stores the collection range information based on the collection range information of the storage unit. and error information collecting means for collecting the error information, a test resumption means to re-run the test diagnostics of the information processing apparatus based on the contents of the holding means after the collection of the error information collecting means and the error information by the information processing For testing and diagnosing equipment
Storage means for storing a test diagnosis program sequence, and the information
When the test diagnosis of the processing device is re-executed, the test diagnosis of the storage means is performed.
The test diagnostic program to be executed next is
Means for extracting and re-executing a test diagnosis of the information processing apparatus
And

【0008】[0008]

【0009】本発明による別のエラー情報収集試験シス
テムは、上記の構成のほかに、前記エラー情報収集手段
による前記エラー情報の収集後にかつ前記情報処理装置
の試験診断の再実行前に前記情報処理装置のハードウェ
アリセットを行う手段を具備している。
In another error information collecting test system according to the present invention, in addition to the above configuration, the error information collecting means may collect the error information before the error information is collected and before re-executing a test diagnosis of the information processing apparatus. There is provided means for performing a hardware reset of the device.

【0010】[0010]

【作用】情報処理装置の試験診断において情報処理装置
がシステムダウンしたことを情報採取フラグに明示する
ともに、その時の試験診断プログラムのプログラム名を
プログラム名保存領域に保存しておく。
In the test diagnosis of the information processing apparatus, the fact that the system of the information processing apparatus has been shut down is specified in the information collection flag, and the program name of the test diagnosis program at that time is stored in the program name storage area.

【0011】その後に、システムダウン時の試験診断プ
ログラムから試験診断制御プログラムに強制的に制御を
移行し、情報採取フラグの内容に基づいて情報処理装置
内からエラー情報を収集すべきと判断した時に情報採取
アドレステーブルの情報を基に情報収集部で情報処理装
置内からエラー情報を収集する。
Then, when the control is forcibly transferred from the test diagnosis program at the time of the system down to the test diagnosis control program and it is determined that error information should be collected from the information processing apparatus based on the contents of the information collection flag. An error collecting unit collects error information from inside the information processing device based on the information in the information collecting address table.

【0012】このエラー情報の収集後にハードウェアの
リセットを行ってから、プログラム名保存領域に保存し
たプログラム名を基に試験再開部で情報処理装置の試験
診断プログラムを再実行する。
After collecting the error information, the hardware is reset, and then the test resuming unit re-executes the test diagnosis program of the information processing apparatus based on the program name stored in the program name storage area.

【0013】これによって、情報処理装置のランニング
試験、特に夜間等の無人試験においてシステムダウンに
陥るエラーを検出した場合でも自動的にエラー解析のた
めの情報収集が可能となる。
This makes it possible to automatically collect information for error analysis even when an error that causes a system down is detected in a running test of the information processing apparatus, particularly an unmanned test such as at night.

【0014】よって、エラー情報の収集後に情報処理装
置のハードウェアリセットを行ってランニング試験を自
動的に再開することができるので、試験が停止したまま
放置されることなく、効率的な情報処理装置の試験や診
断、及び評価が可能となる。
Thus, the hardware test of the information processing apparatus can be performed after the error information is collected, and the running test can be automatically restarted. Therefore, the test can be efficiently stopped without being stopped. Test, diagnosis, and evaluation are possible.

【0015】[0015]

【実施例】次に、本発明の一実施例について図面を参照
して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0016】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、試験診断制御プログラム1
は試験診断処理部10と、ソフトウェアリセット部11
と、情報収集判定部12と、情報収集部13と、情報採
取アドレステーブル14と、試験再開部15と、プログ
ラム名保存部16とから構成され、情報採取フラグ2及
びプログラム名保存領域3に接続されている。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, a test diagnosis control program 1
Indicates a test diagnosis processing unit 10 and a software reset unit 11
, An information collection determination unit 12, an information collection unit 13, an information collection address table 14, a test resumption unit 15, and a program name storage unit 16, which are connected to the information collection flag 2 and the program name storage area 3. Have been.

【0017】試験診断処理部10は情報処理装置(図示
せず)の資源管理や試験診断プログラムの実行管理等の
システム全体の制御を行い、操作者から指示された試験
診断プログラムを情報処理装置の資源に対して実行し、
その実行結果をコンソール画面(図示せず)に出力する
というような一連の制御を行う。
The test diagnosis processing unit 10 controls the entire system such as resource management of the information processing apparatus (not shown) and execution management of the test diagnosis program, and executes the test diagnosis program instructed by the operator. Run on resources,
A series of controls such as outputting the execution result to a console screen (not shown) are performed.

【0018】ソフトウェアリセット部11は情報処理装
置がシステムダウンに陥るようなエラーが検出された場
合、CPUレジスタの状態やスタックエリアの状態、及
び実行していたタスク(試験診断プログラム)の状態、
主記憶部の状態、情報処理装置の状態等を破壊せずに情
報処理装置のリセットを行う。
The software reset unit 11 detects the state of the CPU register, the state of the stack area, the state of the task (test diagnosis program) that has been executed,
The information processing apparatus is reset without destroying the state of the main storage unit, the state of the information processing apparatus, and the like.

【0019】すなわち、ソフトウェアリセット部11は
試験診断プログラムが無限ループに陥るようなシステム
ダウンにつながるエラーが検出されると、その無限ルー
プ等による処理を一旦停止させ、その無限ループから試
験診断処理部10に制御を強制的に戻すための処理を行
う。
That is, when an error that leads to a system failure such that the test diagnosis program falls into an infinite loop is detected, the software reset unit 11 temporarily stops the processing by the infinite loop and the like, and starts the test diagnosis processing unit from the infinite loop. Then, a process for forcibly returning control to 10 is performed.

【0020】情報採取フラグ2は情報処理装置のソフト
ウェアリセットあるいはコールドリセット(ハードウェ
アリセット)が行われる時に参照され、エラー情報収集
を行うか否かを判断するために用いられる。
The information collection flag 2 is referred to when a software reset or a cold reset (hardware reset) of the information processing apparatus is performed, and is used to determine whether to collect error information.

【0021】試験診断プログラムを再実行する際には情
報処理装置の初期化を行わなければならず、そのために
情報処理装置のコールドリセットが実行される。ここ
で、コールドリセットとはパワーオンリセットと同等の
リセットを意味するので、情報採取フラグ2はコールド
リセットが実行されても影響のない不揮発性RAMや外
部記憶装置等の資源に確保される。
When the test diagnosis program is re-executed, the information processing apparatus must be initialized, and a cold reset of the information processing apparatus is executed. Here, since the cold reset means a reset equivalent to the power-on reset, the information collection flag 2 is secured in a resource such as a nonvolatile RAM or an external storage device which is not affected even if the cold reset is executed.

【0022】情報収集判定部12は情報採取フラグ2を
参照し、エラー情報収集を行うか否かを判定する。情報
収集部13は情報収集判定部12で情報収集が必要と判
定された場合に情報採取アドレステーブル14を参照
し、情報採取アドレステーブル14が示すアドレスから
必要なサイズの情報を収集してフロッピディスク等の外
部記憶装置(図示せず)に保存する。
The information collection determining unit 12 refers to the information collection flag 2 and determines whether or not to collect error information. The information collection unit 13 refers to the information collection address table 14 when the information collection determination unit 12 determines that information collection is necessary, collects information of a required size from the address indicated by the information collection address table 14, and stores the information in a floppy disk. Etc. in an external storage device (not shown).

【0023】情報採取アドレステーブル14は情報収集
部13が採取すべきエラー情報のメモリアドレス及びサ
イズの情報を予め保持している。
The information collection address table 14 holds information on the memory address and size of error information to be collected by the information collection unit 13 in advance.

【0024】試験再開部15は試験診断処理部10がシ
ステムダウンに陥るエラーを検出してからソフトウェア
リセット部11によるソフトウェアリセットが行われ、
情報収集部13によって必要なエラー情報が収集された
後に、情報処理装置のコールドリセットを行う。その後
に、試験再開部15はプログラム名保存領域3を参照
し、システムダウンに陥るエラーが検出された時に実行
していた試験診断プログラムあるいは次の試験診断プロ
グラムを再実行する。
The test resuming unit 15 performs a software reset by the software reset unit 11 after the test diagnosis processing unit 10 detects an error that causes the system to go down.
After the necessary error information is collected by the information collecting unit 13, the information processing apparatus is cold-reset. Thereafter, the test resuming unit 15 refers to the program name storage area 3 and re-executes the test diagnostic program that was being executed when the error that caused the system to go down or the next test diagnostic program.

【0025】プログラム名保存部16は試験診断処理部
10がシステムダウンに陥るエラーを検出した際に実行
していた試験診断プログラム名をプログラム名保存領域
3に格納する。プログラム名保存領域3はプログラム名
保存部16が試験診断プログラム名を格納する領域であ
る。
The program name storage unit 16 stores the name of the test diagnosis program that was being executed when the test diagnosis processing unit 10 detected an error that caused the system to go down, in the program name storage area 3. The program name storage area 3 is an area where the program name storage unit 16 stores a test diagnosis program name.

【0026】図2は図1の情報採取アドレステーブル1
4の構成を示す図である。図2は試験診断プログラム1
内に定数として保持している例を示しており、情報採取
アドレステーブル14にはメモリアドレスとそのメモリ
アドレスからどのくらいの情報が必要かを示すサイズと
が交互に格納されている。
FIG. 2 shows the information collection address table 1 of FIG.
4 is a diagram showing a configuration of FIG. FIG. 2 shows the test diagnosis program 1
In the information collection address table 14, a memory address and a size indicating how much information is required from the memory address are stored alternately.

【0027】すなわち、メモリアドレス100が示す
「00000000」番地からサイズ101が示す「2
56」バイトの情報を、またメモリアドレス110が示
す「00001000」番地からサイズ111が示す
「32」バイトの情報を、さらにまた「0000200
0」番地から「2548」バイトの情報を、さらにまた
メモリアドレス1m0が示す「50002000」番地
からサイズ1m1が示す「168」バイトの情報を順次
採取することを意味している。
That is, from the address “00000000” indicated by the memory address 100 to “2” indicated by the size 101
56 bytes of information, “320000” bytes of size 111 from address “00001000” indicated by memory address 110, and “0000200”
This means that information of "2548" bytes from address "0" and information of "168" bytes of size 1m1 from address "5002000" indicated by memory address 1m0 are sequentially collected.

【0028】尚、メモリアドレス1n0が示す「fff
fffff」番地を特別に情報採取アドレステーブル1
4のストッパとして使用しており、そこで情報採取アド
レステーブル14が終りであることを示している。
Note that "fff" indicated by the memory address 1n0.
ffffff ”address specially in information collection address table 1
4, which indicates that the information collection address table 14 is over.

【0029】図3は本発明の一実施例の動作を示すフロ
ーチャートである。これら図1〜図3を用いて本発明の
一実施例による情報処理装置のランニング試験の処理動
作について説明する。
FIG. 3 is a flowchart showing the operation of one embodiment of the present invention. The processing operation of the running test of the information processing apparatus according to one embodiment of the present invention will be described with reference to FIGS.

【0030】情報処理装置の立上げ動作(コールドリセ
ット)(図3ステップS1)で情報処理装置の初期化が
実行されると(図3ステップS2)、試験診断制御プロ
グラム1に制御が渡る。試験診断制御プログラム1は制
御が渡ってくると、情報採取フラグ2がセットされてい
るかをチェックする(図3ステップS3)。
When the initialization of the information processing apparatus is performed in the start-up operation (cold reset) of the information processing apparatus (step S1 in FIG. 3) (step S2 in FIG. 3), the control is transferred to the test diagnosis control program 1. When the control is passed, the test diagnosis control program 1 checks whether the information collection flag 2 is set (step S3 in FIG. 3).

【0031】通常の立上げ動作では情報採取フラグ2が
セットされていないので、試験診断制御プログラム1は
試験診断処理アイドル状態に入る(図3ステップS
4)。ここで、試験診断処理アイドル状態とは情報処理
装置の資源に対して試験診断プログラムが実行されてお
らず、操作者からの起動要求を待っている状態のことで
ある。
Since the information collection flag 2 is not set in the normal start-up operation, the test diagnosis control program 1 enters the test diagnosis processing idle state (step S3 in FIG. 3).
4). Here, the test diagnosis processing idle state refers to a state in which the test diagnosis program is not executed for the resources of the information processing apparatus, and waits for an activation request from the operator.

【0032】試験診断制御プログラム1が試験診断処理
アイドル状態の時に、操作者がキーボード等の入力装置
(図示せず)から情報処理装置の資源に対する試験診断
プログラムの起動要求を入力すると、試験診断処理部1
0は試験診断プログラムの実行を開始する(図3ステッ
プS9)。
When the test diagnosis control program 1 is in the test diagnosis processing idle state, when the operator inputs a request for starting the test diagnosis program for the resources of the information processing apparatus from an input device (not shown) such as a keyboard, the test diagnosis processing is started. Part 1
0 starts execution of the test diagnosis program (step S9 in FIG. 3).

【0033】試験診断プログラムが通常に実行された場
合、その試験診断プログラムは情報処理装置の資源に対
して試験診断を行い、その結果をコンソール画面等(図
示せず)に出力し(図3ステップS11)、試験診断プ
ログラムが終了となる(図3ステップS12)。
When the test diagnosis program is normally executed, the test diagnosis program performs a test diagnosis on the resources of the information processing apparatus, and outputs the result to a console screen or the like (not shown) (step 3 in FIG. 3). S11), the test diagnosis program ends (step S12 in FIG. 3).

【0034】試験診断プログラムが終了すると、試験診
断処理部10は再度ステップS4の試験診断処理アイド
ル状態に入る。試験診断プログラムのランニング試験に
おいては上記の処理が繰返し実行される。
When the test diagnosis program ends, the test diagnosis processing section 10 enters the test diagnosis processing idle state in step S4 again. In the running test of the test diagnosis program, the above processing is repeatedly executed.

【0035】次に、試験診断プログラムまたは試験診断
処理部10がランニング試験中にエラーを検出すると、
そのエラーがシステムダウンに値するエラーか否かを判
定する(図3ステップS10)。そのエラーがシステム
ダウンに値しないエラーの場合、そのエラーをコンソー
ル画面等に出力してエラー表示し(図3ステップS1
1)、試験診断プログラムが終了となる(図3ステップ
S12)。
Next, when the test diagnosis program or the test diagnosis processing unit 10 detects an error during the running test,
It is determined whether or not the error is an error worthy of system down (step S10 in FIG. 3). If the error is not worth the system down, the error is output to a console screen or the like and displayed as an error (step S1 in FIG. 3).
1), the test diagnosis program ends (step S12 in FIG. 3).

【0036】一方、システムダウンにすべき致命的なエ
ラーであった場合、試験診断処理部10はエラーが検出
されていた時に実行していた試験診断プログラムのプロ
グラム名をプログラム名保存部16によってプログラム
名保存領域3に保存し(図3ステップS16)、情報採
取フラグ2をセットする(図3ステップS17)。
On the other hand, if the error is a fatal error that should cause the system to go down, the test diagnosis processing unit 10 stores the program name of the test diagnosis program being executed when the error was detected by the program name storage unit 16. The information is stored in the name storage area 3 (step S16 in FIG. 3), and the information collection flag 2 is set (step S17 in FIG. 3).

【0037】また、試験診断処理部10は情報採取フラ
グ2にソフトウェアリセットを実行することを示す情報
をセットし(図3ステップS18)、ソフトウェアリセ
ット部11によってソフトウェアリセットを実行する
(図3ステップS19)。
The test / diagnosis processing section 10 sets information indicating that software reset is to be executed in the information collection flag 2 (step S18 in FIG. 3), and executes software reset by the software reset section 11 (step S19 in FIG. 3). ).

【0038】この時、ソフトウェアリセット部11はエ
ラーの発生によって試験診断プログラムが無限ループに
陥っていれば、制御を無限ループから切離して試験診断
処理部10に強制的に戻すよう処理する。よって、CP
Uレジスタの状態やスタックエリアの状態、及び実行し
ていたタスク(試験診断プログラム)の状態、主記憶部
の状態、情報処理装置の状態等は破壊されずにそのまま
の状態とされる。
At this time, if the test diagnosis program has fallen into an infinite loop due to the occurrence of an error, the software reset unit 11 disconnects the control from the infinite loop and forcibly returns to the test diagnosis processing unit 10. Therefore, CP
The state of the U register, the state of the stack area, the state of the task (test / diagnosis program) being executed, the state of the main storage unit, the state of the information processing apparatus, and the like are not destroyed and are left as they are.

【0039】ソフトウェアリセットによって主記憶部の
内容が破壊されずに情報処理装置の処理が停止し、試験
診断制御プログラム1に制御が移るので、試験診断処理
部10は情報収集判定部12によって情報採取フラグ2
がセットされているか否かのチェックを行う(図3ステ
ップS3)。
The processing of the information processing apparatus is stopped without destroying the contents of the main storage unit by the software reset, and the control is transferred to the test diagnosis control program 1. Therefore, the test diagnosis processing unit 10 Flag 2
It is checked whether or not is set (step S3 in FIG. 3).

【0040】この場合、システムダウンになるようなエ
ラーが検出されて情報採取フラグ2がセットされている
ので、情報収集判定部12は情報採取フラグ2の内容を
基にソフトウェアリセットが行われているか否かを判定
する(図3ステップS5)。
In this case, since an error that would cause the system to go down is detected and the information collection flag 2 is set, the information collection determination unit 12 determines whether the software reset is performed based on the contents of the information collection flag 2. It is determined whether or not it is (step S5 in FIG. 3).

【0041】情報収集判定部12は情報採取フラグ2に
ソフトウェアリセットを実行することを示す情報がセッ
トされていればソフトウェアリセットありと判定するの
で、試験診断処理部10は情報収集部13によって情報
採取アドレステーブル14の内容を基に情報処理装置か
ら情報を収集する(図3ステップS13)。
When the information indicating that the software reset is to be executed is set in the information collection flag 2, the information collection determination unit 12 determines that there is a software reset. Information is collected from the information processing device based on the contents of the address table 14 (step S13 in FIG. 3).

【0042】すなわち、情報収集部13は情報採取アド
レステーブル14の内容を参照し、システムダウンに陥
るに至ったエラー原因解析のため、その時点のCPUレ
ジスタの状態、スタックエリアの状態、実行していたタ
スク(試験診断プログラム)の状態、主記憶部の状態、
情報処理装置の状態等の情報を収集し、収集した情報を
フロッピディスク等の外部記憶装置に保存する。
That is, the information collection unit 13 refers to the contents of the information collection address table 14 and analyzes the cause of the error that has led to the system down, the CPU register state, the stack area state, and the execution at that time. Task (test diagnosis program) status, main memory status,
Information such as the state of the information processing apparatus is collected, and the collected information is stored in an external storage device such as a floppy disk.

【0043】情報収集部13による情報処理装置内の情
報等の収集及び保存が終了すると、試験診断処理部10
は情報処理装置のコールドリセットを行い(図3ステッ
プS14)、情報採取フラグ12からソフトウェアリセ
ットを実行することを示す情報を消去する(図3ステッ
プS15)。ここで、情報採取フラグ2にはエラー情報
を採取したという意味の情報を残しておく。
When the collection and storage of information and the like in the information processing apparatus by the information collection unit 13 is completed, the test diagnosis processing unit 10
Performs a cold reset of the information processing apparatus (step S14 in FIG. 3), and deletes information indicating that a software reset is to be executed from the information collection flag 12 (step S15 in FIG. 3). Here, information indicating that error information has been collected is left in the information collection flag 2.

【0044】コールドリセットが実行されるとパワーオ
ン(POW ON)リセットと同様のリセット処理が実
行されて情報処理装置の初期化が行われ、試験診断制御
プログラム1に制御が渡り(図3ステップS1,S
2)、情報収集判定部12によって情報採取フラグ2の
チェックが行われる(図3ステップS3)。
When the cold reset is executed, the same reset processing as the power-on (POW ON) reset is executed to initialize the information processing apparatus, and the control is passed to the test diagnosis control program 1 (step S1 in FIG. 3). , S
2) The information collection flag 2 is checked by the information collection determination unit 12 (step S3 in FIG. 3).

【0045】この場合、情報採取フラグ2がセットされ
ているので、情報収集判定部12は情報採取フラグ2の
内容を基にソフトウェアリセットが行われているか否か
を判定する(図3ステップS5)。
In this case, since the information collection flag 2 is set, the information collection determination unit 12 determines whether or not software reset has been performed based on the contents of the information collection flag 2 (step S5 in FIG. 3). .

【0046】情報収集判定部12は情報採取フラグ2に
エラー情報を採取したという意味の情報がセットされ、
ソフトウェアリセットを実行することを示す情報がセッ
トされていないためにソフトウェアリセットなしと判定
するので、試験診断処理部10は試験再開部15によっ
てプログラム名保存領域3の内容を読出し、システムダ
ウン時に実行していた試験診断プログラムのプログラム
名を得る(図3ステップS6)。
The information collection determination unit 12 sets information indicating that error information has been collected in the information collection flag 2,
Since the information indicating that the software reset is to be executed is not set, it is determined that there is no software reset. Therefore, the test diagnosis processing unit 10 reads out the contents of the program name storage area 3 by the test resuming unit 15 and executes it when the system is down. The program name of the test diagnosis program used is obtained (step S6 in FIG. 3).

【0047】試験診断処理部10は試験再開部15が試
験診断プログラムのプログラム名を得ると、情報採取フ
ラグ2をオフ(何の意味も持たせない)にし(図3ステ
ップS7)、プログラム名保存領域3から読出した試験
診断プログラムのプログラム名を基に試験再開部15に
よって試験診断プログラムを起動し(図3ステップS
8)、試験診断プログラムの実行を再開する(図3ステ
ップS9)。
When the test resuming unit 15 obtains the program name of the test diagnosis program, the test diagnosis processing unit 10 turns off the information collection flag 2 (does not have any meaning) (step S7 in FIG. 3) and saves the program name. The test diagnosis program is started by the test resuming unit 15 based on the program name of the test diagnosis program read from the area 3 (step S in FIG. 3).
8), the execution of the test diagnosis program is resumed (Step S9 in FIG. 3).

【0048】この試験診断プログラムが終了すると、試
験診断処理部10は再度ステップS4の試験診断処理ア
イドル状態に入る。試験診断プログラムのランニング試
験においては上記の処理が繰返し実行される。
When the test diagnosis program ends, the test diagnosis processing section 10 enters the test diagnosis processing idle state in step S4 again. In the running test of the test diagnosis program, the above processing is repeatedly executed.

【0049】尚、上記の処理では同じ試験診断プログラ
ムを再開するようにしているが、情報処理装置の試験診
断を行うための試験診断プログラム列を記憶装置(図示
せず)に記憶しておき、情報処理装置の試験診断プログ
ラムの再実行時に記憶装置の試験診断プログラム列から
次に実行する試験診断プログラムを取出して実行するよ
うにすることも可能である。
In the above processing, the same test diagnosis program is restarted. However, a test diagnosis program sequence for performing a test diagnosis of the information processing apparatus is stored in a storage device (not shown). When the test diagnostic program of the information processing device is re-executed, the test diagnostic program to be executed next may be extracted from the test diagnostic program sequence of the storage device and executed.

【0050】このように、情報処理装置の試験診断にお
いて情報処理装置がシステムダウンしたことを情報採取
フラグ2に明示するともに、その時の試験診断プログラ
ムのプログラム名をプログラム名保存領域3に保存して
おき、その後にシステムダウン時の試験診断プログラム
から試験診断制御プログラム1に強制的に制御を移行し
た後に情報採取フラグ2の内容に基づいて情報処理装置
内からエラー情報を収集すべきと判断した時に情報採取
アドレステーブル14の情報を基に情報収集部13で情
報処理装置内からエラー情報を収集し、そのエラー情報
の収集後にハードウェアリセットを行ってプログラム名
保存領域3に保存したプログラム名を基に試験再開部1
5で情報処理装置の試験診断プログラムを再実行するこ
とによって、情報処理装置のランニング試験、特に夜間
等の無人試験においてシステムダウンに陥るエラーを検
出した場合でも自動的にエラー解析のための情報収集す
ることができる。
As described above, in the test diagnosis of the information processing apparatus, the fact that the system of the information processing apparatus has been shut down is clearly indicated in the information collection flag 2, and the program name of the test diagnosis program at that time is stored in the program name storage area 3. After that, when it is determined that error information should be collected from the information processing apparatus based on the contents of the information collection flag 2 after forcibly shifting the control from the test diagnosis program at the time of the system down to the test diagnosis control program 1 The information collection unit 13 collects error information from within the information processing apparatus based on the information in the information collection address table 14, and after collecting the error information, performs a hardware reset and uses the program name stored in the program name storage area 3. Test restart section 1
By re-executing the test diagnosis program of the information processing device in step 5, information collection for error analysis is automatically performed even when an error that causes a system down in a running test of the information processing device, particularly an unmanned test at night or the like is detected. can do.

【0051】よって、エラー情報の収集後に情報処理装
置のハードウェアリセットを行ってランニング試験を自
動的に再開することができるので、試験が停止したまま
放置されることなく、効率的な情報処理装置の試験や診
断、及び評価が可能となる。
Thus, the hardware test of the information processing apparatus can be performed after the error information is collected, and the running test can be automatically restarted. Therefore, the test can be efficiently stopped without being stopped. Test, diagnosis, and evaluation are possible.

【0052】[0052]

【発明の効果】以上説明したように本発明によれば、情
報処理装置の試験診断において情報処理装置がシステム
ダウンしたことをフラグに明示するともに、その時の診
断プログラムを特定する情報を保持しておき、その後に
システムダウン時の診断プログラムから試験診断の処理
手段に強制的に制御を移行した後にフラグの内容に基づ
いて情報処理装置内からエラー情報を収集すべきと判断
した時に予め設定されたエラー情報の収集範囲の情報を
基に情報処理装置内からエラー情報を収集し、エラー情
報の収集後にシステムダウン時に保持した診断プログラ
ムを特定する情報を基に情報処理装置の試験診断を再実
行することによって、情報処理装置の状態等の情報収集
を自動的に行うことができ、その情報収集後に情報処理
装置を自動的にハードウェアリセットして試験診断を再
実行することができるという効果がある。
As described above, according to the present invention, in the test / diagnosis of the information processing apparatus, the fact that the system of the information processing apparatus has been shut down is specified in the flag, and the information for specifying the diagnosis program at that time is held. After that, after the system is down, the control is forcibly shifted from the diagnostic program to the test diagnosis processing means, and when it is determined that error information should be collected from within the information processing apparatus based on the content of the flag, the preset value is set in advance. Error information is collected from within the information processing apparatus based on the information on the collection range of the error information, and after the error information is collected, the test diagnosis of the information processing apparatus is re-executed based on the information specifying the diagnostic program held when the system is down. As a result, information such as the state of the information processing apparatus can be automatically collected, and the information processing apparatus is automatically collected after the information is collected. There is an effect that it is possible to re-run the test diagnostics by de hardware reset.

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

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

【図2】図1の情報採取アドレステーブルの構成を示す
図である。
FIG. 2 is a diagram showing a configuration of an information collection address table of FIG. 1;

【図3】本発明の一実施例の動作を示すフローチャート
である。
FIG. 3 is a flowchart showing the operation of one embodiment of the present invention.

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

1 試験診断制御プログラム 2 情報採取フラグ 3 プログラム名保存領域 10 試験診断処理部 11 ソフトウェアリセット部 12 情報収集判定部 13 情報収集部 14 情報採取アドレステーブル 15 試験再開部 16 プログラム名保存部 1 Test Diagnosis Control Program 2 Information Collection Flag 3 Program Name Storage Area 10 Test Diagnosis Processing Unit 11 Software Reset Unit 12 Information Collection Judgment Unit 13 Information Collection Unit 14 Information Collection Address Table 15 Test Resume Unit 16 Program Name Storage Unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 情報処理装置の試験診断を長時間かつ繰
返し行うランニング試験に用いられるエラー情報収集試
験システムであって、前記試験診断において前記情報処
理装置がシステムダウンしたことを明示するフラグと、
前記情報処理装置がシステムダウンした時の診断プログ
ラムを特定する情報を保持する保持手段と、前記情報処
理装置がシステムダウンした時に前記診断プログラムか
ら前記試験診断の処理手段に強制的に制御を移行するソ
フトウェアリセット手段と、前記ソフトウェアリセット
手段による強制的な制御移行処理の後に前記フラグの内
容に基づいて前記情報処理装置内からエラー情報を収集
すべきか否かを判断する判断手段と、前記エラー情報の
収集範囲を示しかつ予め設定された収集範囲情報を格納
する格納手段と、前記判断手段で前記エラー情報を収集
すべきと判断された時に前記格納手段の前記収集範囲情
報を基に前記情報処理装置内から前記エラー情報を収集
するエラー情報収集手段と、前記エラー情報収集手段に
よる前記エラー情報の収集後に前記保持手段の内容を基
に前記情報処理装置の試験診断を再実行する試験再開手
段と、前記情報処理装置の試験診断を行うための試験診
断プログラム列を記憶する記憶手段と、前記情報処理装
置の試験診断の再実行時に前記記憶手段の試験診断プロ
グラム列から次に実行する試験診断プログラムを取出し
て前記情報処理装置の試験診断を再実行する手段とを有
することを特徴とするエラー情報収集試験システム。
1. An error information collection test system used in a running test for performing test diagnosis of an information processing device for a long time and repeatedly, wherein a flag indicating that the information processing device has been shut down in the test diagnosis,
Holding means for holding information for identifying a diagnostic program when the information processing apparatus goes down, and forcibly transferring control from the diagnostic program to the test diagnosis processing means when the information processing apparatus goes down Software resetting means; determining means for determining whether error information should be collected from within the information processing apparatus based on the content of the flag after forcible control transfer processing by the software resetting means; and A storage unit indicating a collection range and storing preset collection range information; and the information processing apparatus based on the collection range information in the storage unit when the determination unit determines that the error information should be collected. Error information collecting means for collecting the error information from within, and the error information collected by the error information collecting means. A test resumption means to re-run the test after the diagnosis of collected based on the contents of said holding means and said information processing apparatus, diagnosis test for testing diagnosis of the information processing apparatus
Storage means for storing a disconnection program sequence;
When the test diagnosis of the storage device is re-executed, the test diagnosis
Extract the next test diagnostic program to be executed from the gram sequence
Means for re-executing a test diagnosis of the information processing apparatus .
【請求項2】 前記エラー情報収集手段による前記エラ
ー情報の収集後にかつ前記情報処理装置の試験診断の再
実行前に前記情報処理装置のハードウェアリセットを行
う手段を含むことを特徴とする請求項1記載のエラー情
報収集試験システム。
2. The error information collecting means according to claim 2, wherein
-After the collection of information and re-testing
Before execution, a hardware reset of the information processing device is performed.
2. The error information collection test system according to claim 1, further comprising means for collecting error information.
JP7014841A 1995-02-01 1995-02-01 Error information collection test system Expired - Fee Related JP2882459B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7014841A JP2882459B2 (en) 1995-02-01 1995-02-01 Error information collection test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7014841A JP2882459B2 (en) 1995-02-01 1995-02-01 Error information collection test system

Publications (2)

Publication Number Publication Date
JPH08212113A JPH08212113A (en) 1996-08-20
JP2882459B2 true JP2882459B2 (en) 1999-04-12

Family

ID=11872270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7014841A Expired - Fee Related JP2882459B2 (en) 1995-02-01 1995-02-01 Error information collection test system

Country Status (1)

Country Link
JP (1) JP2882459B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010066869A (en) * 2008-09-09 2010-03-25 Nec Corp Information processor, control method thereof and program
KR101283809B1 (en) * 2009-08-04 2013-07-08 후지쯔 가부시끼가이샤 Reset method and monitoring apparatus

Also Published As

Publication number Publication date
JPH08212113A (en) 1996-08-20

Similar Documents

Publication Publication Date Title
US5948112A (en) Method and apparatus for recovering from software faults
CN101901177B (en) Multicore microprocessor and debug method thereof
JPH08297598A (en) Computer system analytic device
EP1640865A2 (en) Process management system
EP0111952B1 (en) Verification of a processor architecture having a partial instruction set
JP2882459B2 (en) Error information collection test system
CN115543759A (en) Log lookup method and device for operating system, electronic device and storage medium
JP4558376B2 (en) controller
US5655072A (en) Method and apparatus for testing a sytem component with test checkpointing
JPH10333944A (en) Memory dump sample system
JPH09223046A (en) Computer system having damp collecting function
WO2018036318A1 (en) Method and device for collecting abnormality information during startup of operating system
JP2979553B2 (en) Fault diagnosis method
JP2998793B2 (en) Test method for information processing equipment
JP3399741B2 (en) Dump data display method and failure analysis system
JPH0581051A (en) Resource destruction supervisory system
JPH02207347A (en) Method for detecting fault of software
CN116860546A (en) Log storage method, vehicle-mounted equipment, storage medium and chip
JPH0827748B2 (en) Memory information automatic collection device
JPH0322657A (en) Test system for electronic exchange
CN116860525A (en) Disaster recovery method and device for IO data, computer equipment and storage medium
JPH07121392A (en) Automatic fault information sampling system for restarting computer system
JP2000089977A (en) Debugging system
JPH03242739A (en) Trouble analysis information collection system
JPH04257938A (en) Trouble information collecting system for electronic computer system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080205

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090205

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100205

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100205

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110205

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees