JPH06175879A - Dummy fault setting system - Google Patents

Dummy fault setting system

Info

Publication number
JPH06175879A
JPH06175879A JP4325872A JP32587292A JPH06175879A JP H06175879 A JPH06175879 A JP H06175879A JP 4325872 A JP4325872 A JP 4325872A JP 32587292 A JP32587292 A JP 32587292A JP H06175879 A JPH06175879 A JP H06175879A
Authority
JP
Japan
Prior art keywords
pseudo
processing program
suspicious
area
fault
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.)
Granted
Application number
JP4325872A
Other languages
Japanese (ja)
Other versions
JP3184344B2 (en
Inventor
Mitsuo Akiyama
満夫 秋山
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 JP32587292A priority Critical patent/JP3184344B2/en
Publication of JPH06175879A publication Critical patent/JPH06175879A/en
Application granted granted Critical
Publication of JP3184344B2 publication Critical patent/JP3184344B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To exactly and accurately, namely, synchronously set a dummy fault by setting the dummy fault corresponding to a dummy fault parameter by starting a dummy fault processing program at the time of normal interruption to a communication control part and the like. CONSTITUTION:The device of a dummy fault setting object is provided with an empty area 10 for writing a dummy fault processing program 11 and a dummy fault parameter 12 and an interruption area 8 for writing a branching instruction to this dummy fault program 11. The dummy fault processing program 11 and the dummy fault parameter 12 are written in the empty area 8, the branching instruction to this dummy fault processing program 11 is written in the interruption area 7, the dummy fault processing program 11 is activated by the branching instruction wirtten in this interruption area 8 when any interruption is generated, the instruction is wirtten back to the original instruction, and this activated dummy fault processing program 11 sets the dummy fault to the device according to the dummy fault parameter 12.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、装置に疑似障害を設定
する疑似障害設定方式であって、OSのもとで運用中の
ハードウェアに疑似障害を設定する疑似障害設定方式に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pseudo failure setting method for setting a pseudo failure in a device, and a pseudo failure setting method for setting a pseudo failure in hardware operating under an OS. .

【0002】[0002]

【従来の技術】一般に無停止型通信制御処理装置は、装
置の中に通信制御プログラムをロードし、プロセッサモ
ジュール(PM)のアクセスにより通信制御を主体とし
た入出力動作を実現している。この際、装置に障害が発
生したときの切り替え動作を確認などするために、疑似
障害を発生させてその切替えを確認する必要がある。
2. Description of the Related Art Generally, a non-stop communication control processing device loads a communication control program into the device and realizes an input / output operation mainly for communication control by accessing a processor module (PM). At this time, in order to confirm the switching operation when a failure occurs in the device, it is necessary to generate a pseudo failure and check the switching.

【0003】従来、通信制御プログラムがOSの配下で
動作している状態で、装置に対して疑似障害を設定する
場合、外部から人手によるハードウェアクリップで行っ
たり、あるいは診断命令の実行により強制的に装置に疑
似障害を設定したりしていた。
Conventionally, when a pseudo fault is set for a device while a communication control program is operating under the OS, it is forced by a hardware clip from the outside or by executing a diagnostic command. I was setting a pseudo fault in the device.

【0004】[0004]

【発明が解決しようとする課題】前者の人手によるハー
ドウェアクリップにより疑似障害を設定する方法では、
的確にハードウェアに疑似障害を設定することが難しい
だけでなく、最近の高集積度回路では回路破壊などの危
険性があるという問題があった。
SUMMARY OF THE INVENTION In the former method of setting a pseudo fault by a manual hardware clip,
Not only is it difficult to accurately set a pseudo fault in hardware, but there is also a problem in that recent high-integrated circuits have a risk of circuit breakdown.

【0005】また、後者の診断命令の実行により強制的
に装置に疑似障害を設定する方法は、通信制御プログラ
ムの状態を無視して疑似障害の設定を行うため、通信制
御プログラムの誤動作が発生してしまい、本来の障害事
象に対応した確認ができなくなる恐れがあるという問題
があった。
In the latter method of forcibly setting a pseudo fault in a device by executing a diagnostic command, the state of the communication control program is ignored and the pseudo fault is set, so that the communication control program malfunctions. There is a problem that the confirmation corresponding to the original failure event may not be possible.

【0006】本発明は、これらの問題を解決するため、
通信制御部の空領域に疑障処理プログラムおよび疑障パ
ラメタを書き込むと共に割込み領域に疑障処理プログラ
ムへの分岐命令を書込んで疑似障害を設定し、通信制御
部への正常な割込み時などに疑障処理プログラムを起動
して疑障パラメタに対応した疑似障害を設定し、正確か
つ的確にいわば同期して疑似障害の設定を可能にするこ
とを目的としている。
The present invention solves these problems.
Write the suspiciousness processing program and suspiciousness parameter in the empty area of the communication control section, and write a branch instruction to the suspiciousness processing program in the interrupt area to set a pseudo failure, for example when a normal interruption to the communication control section occurs. The purpose is to start the suspiciousness processing program, set a pseudo failure corresponding to the suspicion parameter, and enable the pseudo failure to be set accurately and precisely in synchronization.

【0007】[0007]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、空領域1
0は、疑障処理プログラム11および疑障パラメタ12
を書き込む領域であって、例えばBSP(ブートストラ
ッププログラム)を書き込む空領域である。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, an empty area 1
0 is the doubt processing program 11 and the doubt parameter 12
Is an area for writing the BSP (bootstrap program), for example.

【0008】疑障処理プログラム11は、疑障パラメタ
12に従って装置に疑似障害を設定するものである。疑
障パラメタ12は、装置に設定する疑似障害を指示する
ものである。
The suspected failure processing program 11 sets a pseudo failure in the device according to the suspected failure parameter 12. The suspicious failure parameter 12 indicates a pseudo failure to be set in the device.

【0009】割込み領域8は、疑障処理プログラム11
への分岐命令を書き込む領域である。
The interrupt area 8 is a suspicious trouble processing program 11
This area is used to write a branch instruction to.

【0010】[0010]

【作用】本発明は、図1に示すように、空領域10に疑
障処理プログラム11および疑障パラメタ12を書き込
むと共に割込み領域8に当該疑障処理プログラム11へ
の分岐命令を書き込み、割込みが発生したときにこの割
込み領域8に書き込まれた分岐命令によって疑障処理プ
ログラム11を起動し、この起動した疑障処理プログラ
ム11が分岐命令を元の命令に書き戻すと共に疑障パラ
メタ12に従って疑似障害を装置に設定するようにして
いる。この際、空領域10として、BSP(ブートスト
ラッププログラム)の空領域10とするようにしてい
る。
According to the present invention, as shown in FIG. 1, a suspicious trouble processing program 11 and a suspicious trouble parameter 12 are written in the empty area 10 and a branch instruction to the suspicious trouble processing program 11 is written in the interrupt area 8 to cause an interrupt. When the error occurs, the branch instruction written in the interrupt area 8 activates the suspicious trouble processing program 11, and the activated suspicious trouble processing program 11 writes the branch instruction back to the original instruction and the pseudo failure according to the suspicion failure parameter 12. Is set in the device. At this time, the empty area 10 is the empty area 10 of the BSP (bootstrap program).

【0011】また、疑似障害を装置に設定した状態で、
当該装置に割込みなどで処理依頼が発生したときに、こ
の設定した疑似障害が発生した状態のログ情報を採取
し、当該装置の試験を行うようにしている。
In addition, with the pseudo fault set in the device,
When a processing request is issued to the device by an interrupt or the like, log information of the state in which the set pseudo fault has occurred is collected and the device is tested.

【0012】従って、装置(例えば通信制御部)の空領
域(例えばブートストラッププログラムの空領域)10
に疑障処理プログラム11および疑障パラメタ12を書
き込むと共に割込み領域8に分岐命令を書込み、装置へ
の正常な割込み時に疑障処理プログラム11を起動して
疑障パラメタ12に従って疑似障害を設定することによ
り、正確かつ的確に疑似障害を設定することが可能とな
る。また、この設定した疑似障害によって発生した疑似
障害のログ情報を採取し、当該装置の試験を行うことが
可能となる。
Therefore, an empty area (for example, an empty area of the bootstrap program) 10 of the device (for example, the communication controller) 10
To write the suspicious trouble processing program 11 and the suspicious trouble parameter 12 to the interrupt area 8 and to write a branch instruction in the interrupt area 8 to start the suspicious trouble processing program 11 at the time of a normal interrupt to the apparatus and set a pseudo fault according to the suspicious trouble parameter 12. This makes it possible to set a pseudo fault accurately and accurately. Further, it becomes possible to collect the log information of the pseudo fault generated by the set pseudo fault and test the device.

【0013】[0013]

【実施例】次に、図1から図3を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0014】図1は、本発明の1実施例構成図を示す。
図1の(a)は、構成図を示す。図1の(a)におい
て、プロセッサモジュール(PM)1は、プログラムに
従って各種制御を行うものである。
FIG. 1 shows a block diagram of an embodiment of the present invention.
FIG. 1A shows a configuration diagram. In FIG. 1A, a processor module (PM) 1 performs various controls according to programs.

【0015】メインメモリ2は、プログラムやデータを
格納したりするものである。ここではメインメモリ2
に、疑似障害発生制御部3として動作するプログラムを
格納する。
The main memory 2 stores programs and data. Main memory 2 here
In, the program that operates as the pseudo fault occurrence control unit 3 is stored.

【0016】疑似障害発生制御部3は、疑似障害を設定
する対象の装置である通信制御部4のBSP9の空領域
に、疑障処理プログラム11および疑障パラメタ12を
書き込んだり、通信制御部4の割込み領域8に疑障処理
プログラム11への分岐命令を書き込んだりなどするも
のである。
The pseudo fault occurrence control unit 3 writes the suspicious trouble processing program 11 and the suspicious trouble parameter 12 in the empty area of the BSP 9 of the communication control unit 4 which is the target device for setting the pseudo fault, and the communication control unit 4 For example, a branch instruction to the doubt processing program 11 is written in the interrupt area 8 of FIG.

【0017】通信制御部4は、本発明の疑似障害を設定
する対象の装置であって、I/Oバス制御アダプタ5、
論理部6、および通信スキャナ13などから構成される
ものである。
The communication control unit 4 is a device to which the pseudo fault of the present invention is set, and includes an I / O bus control adapter 5,
The logic unit 6 and the communication scanner 13 are included.

【0018】I/Oバス制御アダプタ(IOBC−A)
5は、I/Oバスを制御し、プロセッサモジュール1と
の間でデータの授受を制御などするものである。論理部
(CCU)6は、プログラムを実行するものである。
I / O bus control adapter (IOBC-A)
Reference numeral 5 controls the I / O bus and controls the exchange of data with the processor module 1. The logic unit (CCU) 6 executes a program.

【0019】通信制御プログラム7は、通信を制御する
プログラムである。割込み領域8は、割込み発生時に分
岐する領域であって、具体的には、通信制御部4内の通
信制御プログラム7へのレベル3の割込み処理の領域
(例えば100番地)の先頭の領域である。本発明で
は、この割込み領域8に、疑障処理プログラム11への
分岐命令(2バイト)を書き込み、通信制御部4の通信
制御プログラム7へのレベル3の割込みが発生したとき
に、自動的に疑障処理プログラム11に分岐するように
設定しておく。
The communication control program 7 is a program for controlling communication. The interrupt area 8 is an area that branches when an interrupt occurs, and is specifically a head area of an area (for example, address 100) of level 3 interrupt processing for the communication control program 7 in the communication control unit 4. . According to the present invention, a branch instruction (2 bytes) to the suspicious trouble processing program 11 is written in the interrupt area 8 and automatically when a level 3 interrupt to the communication control program 7 of the communication control unit 4 occurs. It is set to branch to the doubt processing program 11.

【0020】BSP9は、ブートストラッププログラム
である。このBSP9の空領域10に、本発明に係わる
疑障処理プログラム11および疑障パラメタ12を書き
込む。
BSP9 is a bootstrap program. In the empty area 10 of this BSP 9, the doubt processing program 11 and the doubt parameter 12 according to the present invention are written.

【0021】空領域10は、ここでは、BSP9の空領
域である。疑障処理プログラム11は、疑障パラメタ1
2に従って疑似障害を設定などするものである。例えば
図1の(b)の疑障コードに従って、疑似障害をセッ
ト、リセット、1回のみセットを行ったりする。疑似障
害としては、IOBC−A、CCU、CSなどに設定
し、例えばIOバスパリティエラー、IOBC−Aのバ
スエラーなどを設定する。
The empty area 10 is the empty area of the BSP 9 here. The suspicion / disability processing program 11 has a suspicion / disability parameter 1
According to 2, the pseudo obstacle is set. For example, the pseudo fault is set, reset, or set only once according to the suspicious fault code in FIG. As the pseudo fault, IOBC-A, CCU, CS, etc. are set, and for example, an IO bus parity error, an IOBC-A bus error, etc. are set.

【0022】疑障パラメタ12は、疑似障害を発生させ
るパラメタであって、後述する図1の(b)に示すよう
に疑障パラメタ12を設定する。通信スキャナ(CS)
13は、回線を制御するものである。
The suspected failure parameter 12 is a parameter for generating a pseudo failure, and the suspected failure parameter 12 is set as shown in FIG. Communication Scanner (CS)
Reference numeral 13 controls the line.

【0023】図1の(b)は、疑障パラメタ例を示す。
この疑障パラメタは、2バイトからなり、図示のように
設定する。 Byte0のBit0、1:OPコードを設定し、 00:NOP(ノーオペレーション) 01:SET(疑似障害をセットする) 10:RESET(疑似障害をリセットする) 11:SET/RESET(疑似障害を1回のみでリセ
ットする) Byte0のBit2から7:疑障コードを設定する。
FIG. 1B shows an example of the suspicious parameter.
This suspicion parameter consists of 2 bytes and is set as shown. Bit0 of Byte0, 1: Set OP code, 00: NOP (No operation) 01: SET (Set pseudo fault) 10: RESET (Reset pseudo fault) 11: SET / RESET (1 pseudo fault once) Reset with only) Bit2 of Byte0 to 7: Set suspicion code.

【0024】Byte1のBit0から7:疑障発生回
数制御(疑障発生回数を設定する)。 以上のように、疑障パラメタ12にOPコード、疑障コ
ード、および疑障発生回数を設定し、割込みで起動され
た疑障処理プログラム11が疑障パラメタ12に従って
疑似障害を設定する。
Byte 1 to Byte 1 to 7: Control of the number of suspicious trouble occurrences (setting the number of suspicious trouble occurrences). As described above, the OP code, the suspicious trouble code, and the number of suspicious trouble occurrences are set in the suspicious trouble parameter 12, and the suspicious trouble processing program 11 started by the interrupt sets the pseudo obstacle according to the suspicious trouble parameter 12.

【0025】次に、図2のフローチャートに示す順序に
従い、図1の構成の動作を詳細に説明する。図2におい
て、S1は、PMに疑障発生制御部3をロードする(図
1の(a)の)。これは、後述する図3のフロッピィ
ディスクからプログラムである疑障発生制御部3をプロ
セッセモジュール1のメインメモリ2内に書き込む(ロ
ードする)。
Next, the operation of the configuration of FIG. 1 will be described in detail according to the order shown in the flowchart of FIG. In FIG. 2, S1 loads the suspicious trouble occurrence control unit 3 into the PM ((a) in FIG. 1). This writes (loads) the suspicious trouble occurrence control unit 3, which is a program, into the main memory 2 of the processor module 1 from the floppy disk of FIG. 3 described later.

【0026】S2は、疑障発生制御部3の起動を行う。
これは、オペレータとの会話で、疑障発生制御部3の起
動を行う。S3は、疑障発生制御部3がBSP9の空領
域10に疑障処理プログラム11を書き込む(図1の
(a)の)。
In step S2, the suspicious trouble occurrence control unit 3 is activated.
This starts the suspicious trouble occurrence control unit 3 in a conversation with the operator. In S3, the suspicious failure occurrence control unit 3 writes the suspicious failure processing program 11 in the empty area 10 of the BSP 9 ((a) in FIG. 1).

【0027】S4は、疑障発生制御部3がBSP9の空
領域10へ疑障パラメタ11を書き込む(図1の(a)
の)。S5は、L3割込み領域8の先頭の命令2バイ
トを保持する。これは、図1のレベル3の割込み領域8
(例えば100番地)の先頭の命令2バイト(分岐命令
の2バイト)を保持する。
In S4, the suspicion and trouble occurrence control unit 3 writes the suspicion and trouble parameter 11 into the empty area 10 of the BSP 9 ((a) in FIG. 1).
of). S5 holds the instruction 2 bytes at the head of the L3 interrupt area 8. This is the interrupt area 8 of level 3 in FIG.
The first instruction 2 bytes (for example, address 100) (2 bytes of the branch instruction) is held.

【0028】S6は、OS(通信制御プログラム)に直
接L3割込みの領域へ分岐命令を2バイト書き込む(図
1の(a)の)。これは、図1の通信制御プログラム
7へのレベル3の割込み領域8に、疑障処理プログラム
11への分岐命令の2バイトを書き込む。これにより、
正常な割込みが発生したときに、書き込んだ分岐命令に
よって疑障処理プログラム11を起動して制御が渡るこ
ととなる。
In step S6, a 2-byte branch instruction is directly written in the L3 interrupt area in the OS (communication control program) ((a) in FIG. 1). This writes 2 bytes of a branch instruction to the suspicion processing program 11 in the level 3 interrupt area 8 to the communication control program 7 in FIG. This allows
When a normal interrupt occurs, the written branch instruction activates the doubt processing program 11 to transfer control.

【0029】S7は、PMとCCM(通信制御部4)と
の間の正常な割込み処理が発生した時に、CCMでL3
割込みが起きる。S8は、S7でL3割込みが発生した
とき、割込み領域8に格納されている分岐命令が実行さ
れ、分岐先の疑障処理プログラム11が起動される。ま
た、L3割込みは、インタバルタイマの割込みでも発生
する。ここで、正常なL3割込みで疑障処理プログラム
11に制御が渡るので、正常な割込み処理として疑似障
害を後述するように設定できる。
In step S7, when normal interrupt processing between the PM and CCM (communication control unit 4) occurs, L3 is set in the CCM.
Interrupt occurs. In S8, when the L3 interrupt is generated in S7, the branch instruction stored in the interrupt area 8 is executed, and the suspected fault processing program 11 at the branch destination is activated. The L3 interrupt is also generated by the interval timer interrupt. Here, since control is passed to the suspicious failure processing program 11 with a normal L3 interrupt, a pseudo failure can be set as a normal interrupt process as described later.

【0030】S9は、保持しておいた2バイト命令を元
に戻す。これは、割込み領域8に、元の2バイト命令を
戻し、疑障処理プログラム11への分岐命令が格納され
ていたものを、元の命令に戻しておく(疑似障害設定の
終了時に元に戻す)。
In step S9, the held 2-byte instruction is restored. This is because the original 2-byte instruction is returned to the interrupt area 8 and the branch instruction to the suspicious trouble processing program 11 is returned to the original instruction (returned to the original at the end of the pseudo obstacle setting). ).

【0031】S10は、疑障パラメタ12を分析してO
Pコードに従った動作を行う。例えば ・疑障の設定(図1の(b)のOPコードが01の“S
ET”の場合) ・疑障の解除(図1の(b)のOPコードが10の“R
ESET”の場合) などの動作を行う。
In step S10, the suspicious parameter 12 is analyzed and O
The operation according to the P code is performed. For example: ・ Setting of suspicion ("S" with OP code 01 in (b) of Fig. 1)
In the case of "ET")-Cancellation of the suspicion (OP code 10 in Fig. 1 (b) is "R"
In case of “ETSET”)

【0032】以上によって、フロッピィディスクなどか
ら疑似障害発生制御部3をPM1のメインメモリ2にロ
ードして起動した後(図1の(a)の)、疑似障害発
生制御部3が疑障処理プログラム11および疑障パラメ
タ12を通信制御部4内のBSP9の空領域10に格納
すると共に割込み領域8に疑障処理プログラム11への
分岐命令を書き込んでおく(図1の(a)の、、
)。そして、割込み発生時に割込み領域8に設定され
ている分岐命令によって起動された疑障処理プログラム
11が疑障パラメタ12に従って、疑似障害を設定す
る。
As described above, after the pseudo fault occurrence control unit 3 is loaded from the floppy disk or the like into the main memory 2 of the PM 1 and activated (in FIG. 1A), the pseudo fault occurrence control unit 3 causes the suspected fault processing program to be executed. 11 and the suspicious failure parameter 12 are stored in the empty area 10 of the BSP 9 in the communication control unit 4, and a branch instruction to the suspicious failure processing program 11 is written in the interrupt area 8 ((a) in FIG.
). Then, the suspicious trouble processing program 11 started by the branch instruction set in the interrupt area 8 when the interrupt occurs sets a pseudo fault according to the suspicious trouble parameter 12.

【0033】図3は、本発明のシステム構成図を示す。
これは、既述した図1の(a)の構成の実際の構成を示
す。図3において、PM1は、プロセッサモジュールで
あって、メインメモリ2に格納されたプログラムを取り
出して実行するものである。
FIG. 3 shows a system configuration diagram of the present invention.
This shows the actual configuration of the configuration shown in FIG. In FIG. 3, PM1 is a processor module that retrieves and executes a program stored in the main memory 2.

【0034】メインメモリ2は、疑似障害発生制御部3
として動作するプログラムなどを格納するものである。
CCM(#1)4、CCM(#2)4は、通信制御部4
であって、通信制御を行う本発明に係わる疑似障害を設
定する対象の装置であり、IOBC−A5、CCU6、
MS14、CS13などから構成されるものである。
The main memory 2 includes a pseudo fault occurrence control unit 3
It stores programs that operate as.
The CCM (# 1) 4 and the CCM (# 2) 4 are the communication control unit 4
Which is a target device for setting a pseudo fault according to the present invention, which performs communication control, and includes IOBC-A5, CCU6,
It is composed of MS 14, CS 13, and the like.

【0035】IOBC−A5は、IOバス制御アダプタ
5であって、PM1との接続を制御するものである。C
CU6は、論理部6であって、MS14内のプログラム
を実行するものである。
The IOBC-A5 is an IO bus control adapter 5 and controls the connection with the PM1. C
The CU 6 is the logic unit 6 and executes the program in the MS 14.

【0036】MS14は、メインメモリであって、通信
制御プログラムやBSPなどのプログラムを格納するも
のである。BSPは、ブートストラッププログラムであ
って、電源投入時などに通信制御プログラムなどをMS
14にローディングするプログラムである。
The MS 14 is a main memory and stores programs such as a communication control program and BSP. The BSP is a bootstrap program, which is used to execute a communication control program when the power is turned on.
14 is a program to be loaded.

【0037】空領域10は、BSPを格納するために準
備した領域のうちの空領域である。疑障処理プログラム
11は、BSPの空領域10に書き込み、CCM(#
1)4、CCM(#2)4内に疑障パラメタ12に従い
疑似障害を設定するものである。
The empty area 10 is an empty area of the area prepared for storing the BSP. The suspicion processing program 11 writes in the empty area 10 of the BSP, and CCM (#
1) 4, the pseudo fault is set in the CCM (# 2) 4 according to the suspected fault parameter 12.

【0038】疑障パラメタ12は、BSPの空領域10
に書き込み、疑障処理プログラム11にこれに従って疑
似障害を設定するように指示するものである(図1の
(b)参照)。
The suspiciousness parameter 12 is the empty area 10 of the BSP.
And instruct the suspicious failure processing program 11 to set a pseudo failure according to this (see (b) of FIG. 1).

【0039】CS13は、通信スキャナ13であって、
回線を制御するものである。CC(#1)15、CC
(#2)15は、回線接続部であって、回線に接続する
ものである。
The CS 13 is a communication scanner 13,
It controls the line. CC (# 1) 15, CC
(# 2) 15 is a line connection unit for connecting to a line.

【0040】SFM16は、オペレータインタフェース
制御部であって、フロッピーディスク17をアクセス制
御したり、コンソールディスプレイ18上の画面を使っ
てオペレータと会話したりなどするものである。ここで
は、オペレータからの指示に対応して、フロッピーディ
スクから疑似障害発生制御プログラムをメインメモリ2
に書き込んだり、起動したり、更に疑似障害発生制御プ
ログラム(疑障障害発生制御部3)に指示して疑障処理
プログラム11および疑障パラメタ12をBSPの空領
域10に書き込ませたり、疑障処理プログラム11への
分岐命令を割込み領域8に書き込ませたりなどするもの
である。
The SFM 16 is an operator interface controller, which controls access to the floppy disk 17 and uses the screen on the console display 18 to talk with the operator. Here, in response to an instruction from the operator, the pseudo failure occurrence control program is copied from the floppy disk to the main memory 2
To the pseudo-failure occurrence control program (suspicious failure occurrence control unit 3) to write the suspected failure processing program 11 and the suspected failure parameter 12 in the empty area 10 of the BSP. For example, a branch instruction to the processing program 11 is written in the interrupt area 8.

【0041】以上の構成をもとに、以下の手順によって
オペレータが疑似障害を、 ・IOBC−A ・CCU ・MS ・CS などに設定させる。
Based on the above configuration, the operator causes the pseudo faults to be set to, for example, IOBC-A, CCU, MS, and CS by the following procedure.

【0042】(1) オペレータがコンソールディスプ
レイ18から指示し、フロッピーディスクから疑似障害
発生制御プログラムを取り出してメインメモリ2に書き
込み、起動する。
(1) The operator gives an instruction from the console display 18, retrieves the pseudo failure occurrence control program from the floppy disk, writes it in the main memory 2, and starts it.

【0043】(2) オペレータは、(1)で起動した
疑似障害発生制御プログラム(疑似障害発生制御部3)
と会話し、CCM4のMS14のBSPの空領域10に
疑障処理プログラム11および疑障パラメタ12を書き
込む。
(2) The operator uses the pseudo fault occurrence control program (pseudo fault occurrence control unit 3) started in (1).
Speaking with, the suspected trouble processing program 11 and the suspected trouble parameter 12 are written in the empty area 10 of the BSP of the MS 14 of the CCM 4.

【0044】(3) オペレータは、疑似障害発生制御
部3と会話し、CCM4の割込み領域8に疑障処理プロ
グラム11への分岐命令を書き込む。以上によって、オ
ペレータによる疑似障害を設定する操作が終了したこと
となる。
(3) The operator talks with the pseudo fault occurrence control unit 3 and writes a branch instruction to the suspicious fault processing program 11 in the interrupt area 8 of the CCM 4. By the above, the operation for setting the pseudo obstacle by the operator is completed.

【0045】(4) CCM4に正常な割込みが発生し
たとき、割込み領域8に書き込まれている分岐命令によ
って疑障処理プログラム11に制御が渡るので、疑似処
理プログラム11は疑障パラメタ12に従ってCCM4
内の指定された部分に指定された疑似障害、例えば既述
したIOバスパリティエラーやIOBC−Aバスエラー
などを設定すると共に割込み領域8に元の命令を書き戻
す。
(4) When a normal interrupt is generated in the CCM 4, the branch instruction written in the interrupt area 8 transfers control to the suspicious trouble processing program 11, so that the pseudo processing program 11 follows the CCM 4 according to the suspicious trouble parameter 12.
A specified pseudo-failure, such as the IO bus parity error or IOBC-A bus error described above, is set in a specified portion of the area and the original instruction is written back to the interrupt area 8.

【0046】(5) (4)の疑似障害の設定に対応し
て、エラーが発生して例えばCCM4が切り離され、予
備のCCM4に切り替わると共にログ情報が採取される
こととなる。
(5) Corresponding to the setting of the pseudo fault in (4), an error occurs and the CCM 4 is disconnected, for example, and the log information is collected while switching to the spare CCM 4.

【0047】従って、オペレータは、疑似障害の設定を
疑似パラメタで指示したことに対応して、予知したCC
M4の切り替えが発生およびログ情報にその旨の情報が
採取されていることを読み出して知り、CCM4などの
試験を行うことが可能となる。
Therefore, in response to the operator instructing the setting of the pseudo fault by the pseudo parameter, the predicted CC
It becomes possible to read out that the switching of M4 has occurred and that the information to that effect has been collected in the log information, and to perform a test such as CCM4.

【0048】[0048]

【発明の効果】以上説明したように、本発明によれば、
装置(例えば通信制御部)の空領域(例えばブートスト
ラッププログラムの空領域)10に疑障処理プログラム
11および疑障パラメタ12を書き込むと共に割込み領
域8に分岐命令を書込み、装置への正常な割込み時に疑
障処理プログラム11を起動して疑障パラメタ12に従
って疑似障害を設定する構成を採用しているため、正確
かつ的確に疑似障害を設定することができる。これらに
より、 (1) 従来のハードウェアクリップや、通信制御プロ
グラムの状態を考慮しない診断命令の実行による疑似障
害を設定する場合に比し、安全かつ的確、特に正常な割
込みに対応して疑似障害を設定して発生させることが可
能となる。
As described above, according to the present invention,
At the time of a normal interrupt to the device, write a suspicious trouble processing program 11 and a suspicious trouble parameter 12 in an empty region 10 of the device (for example, a communication control unit) and a branch instruction in the interrupt region 8. Since the configuration is adopted in which the suspicious trouble processing program 11 is activated and the pseudo obstacle is set according to the suspicious trouble parameter 12, the pseudo obstacle can be set accurately and accurately. As a result, (1) Compared with the conventional hardware clip or setting a pseudo fault due to execution of a diagnostic instruction that does not consider the state of the communication control program, it is safe and accurate, especially in response to a normal interrupt. Can be set and generated.

【0049】(2) 疑似障害を設定するのに、特別な
ツールを必要としないため、試験作業が簡易となり、均
一性の高い試験を実現できる。 (3) オペレータつまり試験の実行者からみると、通
信制御プログラムなどの状態を考慮せずにプログラム制
御で疑似障害の設定ができるため、プログラムからのメ
ッセージを確認するだけで疑似障害の設定の完了を知る
ことができる。
(2) Since no special tool is required to set the pseudo obstacle, the test work can be simplified and the test with high uniformity can be realized. (3) From the viewpoint of the operator, that is, the person who executes the test, the pseudo fault can be set by program control without considering the state of the communication control program, so the pseudo fault setting is completed simply by checking the message from the program. You can know.

【0050】(4) 割込み領域8に疑障処理プログラ
ム11への分岐命令を設定しておき、正常な割込み時に
この分岐命令が疑障プグラム11を起動して疑似障害を
設定させた後、割込み領域8に元の命令を書き戻させて
いるため、運転中のOSや通信制御に影響を与えること
なく、疑似障害を発生させることができる。
(4) A branch instruction to the suspicious trouble processing program 11 is set in the interrupt area 8, and this branch instruction activates the suspicious trouble program 11 to set a pseudo fault at the time of a normal interrupt, and then the interrupt is executed. Since the original instruction is written back to the area 8, it is possible to generate a pseudo failure without affecting the operating OS and communication control.

【0051】(5) 疑障処理プログラム11および疑
障パラメタ12について、通信制御プログラム7を格納
したり、使用したりする領域とは別のBSP(ブートス
トラッププログラム)の空領域10に書き込んでいるた
め、当該通信制御プログラム7によって影響を受けた
り、影響を与えることがなく、疑似障害を設定すること
ができる。
(5) The suspected trouble processing program 11 and the suspected trouble parameter 12 are written in an empty area 10 of a BSP (bootstrap program) different from the area where the communication control program 7 is stored or used. Therefore, the pseudo fault can be set without being affected by or affected by the communication control program 7.

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

【図1】本発明の1実施例構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の動作説明フローチャートである。FIG. 2 is a flowchart explaining the operation of the present invention.

【図3】本発明のシステム構成図である。FIG. 3 is a system configuration diagram of the present invention.

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

1:プロセッサモジュール(PM) 2:メインメモリ 3:疑似障害発生制御部 4:通信制御部(CCM) 5:IOバス制御アダプタ(IOBC−A) 6:論理部(CCU) 7:通信制御プログラム 8:割込み領域 9:BSP(ブートストラッププログラム) 10:空領域 11:疑障処理プログラム 12:疑障パラメタ 13:通信スキャナ(CS) 14:MS(メインメモリ) 15:CC(回線接続部) 16:SFM(オペレータインタフェース制御部) 17:フロッピィディスク 18:コンソールディスプレイ 1: Processor module (PM) 2: Main memory 3: Pseudo fault occurrence control unit 4: Communication control unit (CCM) 5: IO bus control adapter (IOBC-A) 6: Logic unit (CCU) 7: Communication control program 8 : Interrupt area 9: BSP (bootstrap program) 10: Empty area 11: Suspicious trouble processing program 12: Suspicious trouble parameter 13: Communication scanner (CS) 14: MS (main memory) 15: CC (line connection part) 16: SFM (Operator interface control unit) 17: Floppy disk 18: Console display

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】装置に疑似障害を設定する疑似障害設定方
式において、 疑障処理プログラム(11)および疑障パラメタ(1
2)を書き込む空領域(10)と、 この疑障処理プログラム(11)への分岐命令を書き込
む割込み領域(8)とを疑障設定対象の装置に備え、 上記空領域(8)に疑障処理プログラム(11)および
疑障パラメタ(12)を書き込むと共に上記割込み領域
(8)に当該疑障処理プログラム(11)への分岐命令
を書き込み、 割込みが発生したときにこの割込み領域(8)に書き込
まれた分岐命令によって上記疑障処理プログラム(1
1)を起動すると共に元の命令に書き戻し、この起動し
た疑障処理プログラム(11)が疑障パラメタ(12)
に従って疑似障害を装置に設定するように構成したこと
を特徴とする疑似障害設定方式。
1. A pseudo failure setting method for setting a pseudo failure in a device, comprising a suspected failure processing program (11) and a suspected failure parameter (1).
An empty area (10) for writing 2) and an interrupt area (8) for writing a branch instruction to this suspicion processing program (11) are provided in the device for which suspiciousness is set, and the vacant area (8) is suspected. A processing program (11) and a suspicious trouble parameter (12) are written, and a branch instruction to the suspicious trouble processing program (11) is written in the interrupt area (8), and when an interrupt occurs, this interrupt area (8) is written. According to the written branch instruction, the above-mentioned suspicion processing program (1
1) is started and the original instruction is written back, and the started suspicious trouble processing program (11) is the suspicious trouble parameter (12).
Pseudo-fault setting method characterized in that a pseudo-fault is configured to be set in the device according to.
【請求項2】上記空領域(10)として、ブートストラ
ッププログラムの空領域(10)としたことを特徴とす
る請求項1記載の疑似障害設定方式。
2. The pseudo failure setting method according to claim 1, wherein the empty area (10) is an empty area (10) of a bootstrap program.
【請求項3】上記疑似障害を装置に設定した状態で、当
該装置に割込みなどによる処理依頼が発生したときに、
この設定した疑似障害が発生した状態のログ情報を採取
し、当該装置の試験を行うように構成したことを特徴と
する請求項1記載および請求項2記載の疑似障害設定方
式。
3. When a processing request due to an interrupt or the like occurs in the device with the pseudo fault set in the device,
The pseudo fault setting method according to claim 1 or 2, wherein the log information in a state in which the set pseudo fault has occurred is configured to be tested.
JP32587292A 1992-12-07 1992-12-07 Simulated fault setting device Expired - Fee Related JP3184344B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32587292A JP3184344B2 (en) 1992-12-07 1992-12-07 Simulated fault setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32587292A JP3184344B2 (en) 1992-12-07 1992-12-07 Simulated fault setting device

Publications (2)

Publication Number Publication Date
JPH06175879A true JPH06175879A (en) 1994-06-24
JP3184344B2 JP3184344B2 (en) 2001-07-09

Family

ID=18181563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32587292A Expired - Fee Related JP3184344B2 (en) 1992-12-07 1992-12-07 Simulated fault setting device

Country Status (1)

Country Link
JP (1) JP3184344B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1987003919A1 (en) * 1985-12-19 1987-07-02 Mitsubishi Rayon Co., Ltd. Carbon fiber for composite materials
JP2000181749A (en) * 1998-12-14 2000-06-30 Nec Software Kyushu Ltd Error process test system of software, testing method, and recording medium for test program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1987003919A1 (en) * 1985-12-19 1987-07-02 Mitsubishi Rayon Co., Ltd. Carbon fiber for composite materials
JP2000181749A (en) * 1998-12-14 2000-06-30 Nec Software Kyushu Ltd Error process test system of software, testing method, and recording medium for test program

Also Published As

Publication number Publication date
JP3184344B2 (en) 2001-07-09

Similar Documents

Publication Publication Date Title
US3916177A (en) Remote entry diagnostic and verification procedure apparatus for a data processing unit
JPH06175879A (en) Dummy fault setting system
JPS63305445A (en) Data writing system at power break
JPS6363935B2 (en)
JP2877138B2 (en) Microcomputer for software debugging
JP2584903B2 (en) External device control method
JPH01286598A (en) Exchange program debugging system
JPS60254362A (en) Saving method of status information in data processor
JPH0675813A (en) Artificial fault generating method for external storage device
JP2000330798A (en) Interrupt controller and method for verifying interrupt control
JPS581251A (en) Remotely controlled device
JP2684966B2 (en) I / O processor debug device
JPS63282852A (en) Stand-by system diagnosing system in duplex processing system
JPH0512144A (en) I/o module diagnostic system
JPS59180776A (en) System for making forced ipl to stanby system controlling device
JPS5846420A (en) Initial program loading control system
JPH0675810A (en) Verifying method for access processing function to input/ output device
JPH047655A (en) Program evaluation method and communication system evaluation device
JPH03209534A (en) Back-up device for development of program
JPH04243431A (en) Evaluation system for fault processing function
JPH1168682A (en) Remote debugging system
JPS6248872B2 (en)
JPS628829B2 (en)
JPH07225700A (en) In-circuit emulator
JPH0520115A (en) Pseudo fault testing system for information processor

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010327

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

Free format text: PAYMENT UNTIL: 20080427

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090427

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees