JP3156987B2 - Bus failure diagnosis method - Google Patents

Bus failure diagnosis method

Info

Publication number
JP3156987B2
JP3156987B2 JP20963494A JP20963494A JP3156987B2 JP 3156987 B2 JP3156987 B2 JP 3156987B2 JP 20963494 A JP20963494 A JP 20963494A JP 20963494 A JP20963494 A JP 20963494A JP 3156987 B2 JP3156987 B2 JP 3156987B2
Authority
JP
Japan
Prior art keywords
bus
processing unit
central processing
test
devices
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 - Lifetime
Application number
JP20963494A
Other languages
Japanese (ja)
Other versions
JPH0879281A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP20963494A priority Critical patent/JP3156987B2/en
Publication of JPH0879281A publication Critical patent/JPH0879281A/en
Application granted granted Critical
Publication of JP3156987B2 publication Critical patent/JP3156987B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の装置がその情報
転送ルートとして共通のバスに接続される構成のシステ
ムにおいて、バス経由の通信中の異常を検出した場合の
バス故障診断方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for diagnosing a bus failure in a system in which a plurality of devices are connected to a common bus as an information transfer route when an abnormality is detected during communication via the bus.

【0002】特に、交換システムや情報処理システム等
の高い信頼性と保守性が望まれるシステムでは、この種
のバス上の通信異常に対して、保守者が介在することな
くシステム自律で、確実に、かつ短時間に故障診断を特
定できることが期待されている。
In particular, in systems where high reliability and maintainability are desired, such as switching systems and information processing systems, system abnormalities can be assured automatically without maintenance personnel in response to this type of communication error on the bus. It is expected that failure diagnosis can be specified in a short time.

【0003】[0003]

【従来の技術】一般に交換システムのような高い信頼性
が要求されるシステムでは、装置が故障した場合でもシ
ステムの処理が継続できるよう、各装置を二重化した冗
長構成を採用している。また、経済性、および装置の拡
張性の観点から、装置の接続構成としてはバス接続方式
を採用するのが一般的である。
2. Description of the Related Art Generally, a system requiring high reliability such as a switching system employs a redundant configuration in which each device is duplicated so that processing of the system can be continued even if a device fails. Further, from the viewpoints of economy and expandability of the device, it is general to adopt a bus connection method as a connection configuration of the device.

【0004】図2は前述の考え方に従ったシステム構成
図の一例であり、以下、従来技術を図2の構成例を用い
て具体的に説明する。本システム構成例では、二重化さ
れた装置群は対称な2つの系(0系、1系)を構成し、
0系バス000には中央処理装置010,周辺装置03
1〜03nが接続され、1系バス100には中央処理装
置110,周辺装置131〜13nが接続される。0系
バス000と1系バス100は二重化された交差装置0
20と120および交差バス200を介して接続され
る。ここで、両系装置間の通信ルートは前記交差部を唯
一とする。
FIG. 2 is an example of a system configuration diagram in accordance with the above-described concept. Hereinafter, the prior art will be specifically described with reference to the configuration example of FIG. In this system configuration example, the duplicated device group forms two symmetric systems (0 system and 1 system),
Central processing unit 010, peripheral device 03
The central bus 100 is connected to the central processing unit 110 and the peripheral devices 131 to 13n. The 0-system bus 000 and the 1-system bus 100 are duplicated cross devices 0
20 and 120 and an intersection bus 200. Here, the communication route between the two devices is the only intersection.

【0005】システム内に固定故障が発生した場合、シ
ステムとして正常に処理を再開するためには、故障を含
む装置を特定しシステムから切り離す必要がある。各装
置がその内部処理の過程で異常を検出したような場合
は、その装置からの故障通知により、ソフトウェアは通
知元装置の故障と判定し、即座に故障処理を切り離すこ
とができる。しかしながら、ある装置からバス経由で他
の装置への通信中に異常を検出した場合は、その原因で
ある故障箇所の可能性としては、前記通信に関与した複
数の装置が考えられる。
[0005] When a fixed failure occurs in the system, it is necessary to identify the device containing the failure and disconnect it from the system in order to restart the processing normally as a system. If each device detects an abnormality in the course of its internal processing, the software determines that the notification source device has failed by the failure notification from that device, and can immediately disconnect the failure processing. However, when an abnormality is detected during communication from a certain device to another device via a bus, a plurality of devices involved in the communication may be considered as a possible cause of a failure point.

【0006】図3は、図2に示した構成例において、ソ
フトウェア(0系中央処理装置010)から1系の周辺
装置131へアクセスした時に無応答(バス通信異常)
となった場合の被疑範囲を示した図である。この場合の
被疑範囲は通信経路上の全ての装置であり、 ・0系中央処理装置010 ・0系バス000 ・0系交差装置020 ・交差バス200 ・1系交差装置120 ・1系バス100 ・1系通信先周辺装置131 のいずれかと考えられ、故障箇所の切り分け法(診断)
が重要な課題である。
FIG. 3 shows a non-response (abnormal bus communication) when software (0-system central processing unit 010) accesses the 1-system peripheral device 131 in the configuration example shown in FIG.
FIG. 9 is a diagram showing a suspected range when the condition becomes. In this case, the suspected range is all devices on the communication path. 0 system central processing unit 010 0 system bus 000 0 system crossing device 020 crossing bus 200 1 system crossing device 120 1 system bus 100 It is considered to be one of the system 1 communication destination peripheral devices 131, and a method for diagnosing a fault location (diagnosis)
Is an important issue.

【0007】従来、この種のバス通信異常時の故障装置
の切り分け法として、ローテーション法と呼ばれる方式
がある。ローテーション法は、故障を含む可能性がある
冗長化装置を一つずつ予め定められた順序にしたがって
単に切り替えることによって処理を再開する方式であ
る。この切り替えの過程で故障装置が切り離されれば、
再開後の処理は正常に実行される。故障装置が切り離さ
れていなければ再び異常が検出され、手順に従い次の装
置を切り替えて再び処理を再開する。このような装置切
り離しと処理再開の繰り返しにより、やがて故障装置は
システムから排除することができる。
Conventionally, there is a method called a rotation method as a method of isolating a faulty device when this type of bus communication is abnormal. The rotation method is a method in which the processing is restarted by simply switching the redundant devices that may have a failure one by one in a predetermined order. If the faulty device is disconnected during this switching process,
The processing after the restart is executed normally. If the faulty device has not been disconnected, the abnormality is detected again, and the next device is switched according to the procedure and the process is restarted again. By repeating such device disconnection and process resumption, the failed device can be eventually eliminated from the system.

【0008】図4は、従来例のローテーション法を説明
するための図であり、図3で示した0系中央処理装置0
10から1系周辺装置131へのバス通信が無応答(バ
ス通信異常)となった場合に実行するローテーションの
系構成パタンと変更順序の例を示している。
FIG. 4 is a diagram for explaining a conventional rotation method. The 0-system central processing unit 0 shown in FIG.
An example of a system configuration pattern and a change order of a rotation to be executed when a bus communication from 10 to the 1-system peripheral device 131 becomes unresponsive (bus communication abnormality) is shown.

【0009】図4(a)の系構成パターンにおいて、○
は該当パターンで系に組み込まれた状態を示す。周辺装
置031,131以外で、○は全装置が該当する系に組
み込まれている状態、△は一部の装置が該当する系に組
み込まれている状態を示す。又、装置種別名下の番号
は、図2の装置番号を示す。*は0(0系)または1
(1系)を示す。
In the system configuration pattern shown in FIG.
Indicates a state of being incorporated into the system in the corresponding pattern. In addition to the peripheral devices 031 and 131, ○ indicates a state in which all devices are incorporated in the corresponding system, and △ indicates a state in which some devices are incorporated in the corresponding system. The number under the device type name indicates the device number in FIG. * Indicates 0 (0 series) or 1
(1 system) is shown.

【0010】図4(b)に示した系構成変更順序の場
合、例えば図3で示したバス通信異常の故障箇所が0系
交差装置020とすると、パタン4の段階で0系交差装
置020は切り離され、正常な処理が再開できる。
In the case of the system configuration change order shown in FIG. 4B, for example, if the failure point of the bus communication abnormality shown in FIG. It is disconnected and normal processing can be resumed.

【0011】ただし、この段階では、0系バス000、
0系交差装置020、交差バス200、1系交差装置1
20のいずれが故障かは識別できないため、正常処理再
開後に、保守者が端末から前記各被擬装置に対する正常
性試験を実行し故障装置を特定する。
However, at this stage, the 0-system bus 000,
0 system crossing device 020, crossing bus 200, 1 system crossing device 1
Since it is not possible to identify which of the devices 20 is faulty, after the normal processing is restarted, the maintenance person executes a normality test on each of the simulated devices from the terminal and specifies the faulty device.

【0012】[0012]

【発明が解決しようとする課題】前記ローテーション法
では、装置の系切り替え処理を伴うため、最終的に故障
装置を切り離すまでに長時間を有する問題がある。その
時間は、被擬装置数が多いほど指数関数的に大きくな
る。例えば、一装置あたり、装置の系を切り替えてから
処理を再開し再度異常を検出するまでの平均所要時間を
t、被擬装置数をnとすると、故障装置が切り離される
までの所要時間は最悪t×(2n −1)となりえる。
In the above-mentioned rotation method, there is a problem that it takes a long time until the faulty device is finally separated because the system switching process of the device is involved. The time increases exponentially as the number of devices to be simulated increases. For example, assuming that the average required time from switching the system of a device to restarting the process and detecting an abnormality again is t, and the number of devices to be simulated is n per device, the required time until the faulty device is separated is the worst. It can be t × (2 n −1).

【0013】また、最終的に正常系を構成するまでに、
本来系切り替えする必要のない正常な装置の切り替えを
伴う可能性があり、系切り替えに伴う誤処理(一時的な
処理の中断)が生じる問題がある。
Further, by the time a normal system is finally constructed,
There is a possibility that a normal device that does not need to be system-switched may be switched, and there is a problem that erroneous processing (temporary interruption of processing) is caused by the system switching.

【0014】さらに、ローテーション法はあくまでも故
障装置の切り離し(正常処理の再開)が目的であり、図
4に示した例のように最終的な故障装置の特定はできな
い場合がある。この場合、保守者による故障箇所特定化
が必要であり、保守者の作業を増加させることになる。
Furthermore, the purpose of the rotation method is merely to isolate a faulty device (restart normal processing), and it may not be possible to specify a final faulty device as in the example shown in FIG. In this case, it is necessary for the maintenance person to specify the failure location, which increases the work of the maintenance person.

【0015】本発明は上記の事情に鑑みてなされたもの
で、バス通信異常検出時の故障診断の迅速化、正常な装
置の系切り替えに伴う誤処理の回避、および、保守者作
業の軽減をし得るバス故障診断方式を提供することを目
的とする。
The present invention has been made in view of the above circumstances, and has been made to speed up failure diagnosis when a bus communication abnormality is detected, to avoid erroneous processing due to normal system switching, and to reduce maintenance work. It is an object of the present invention to provide a bus failure diagnosis method which can be performed.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
に本発明のバス故障診断方式は、中央処理装置を含む複
数の装置が一本の共通バスまたは中継装置を介した複数
本の共通バスに接続された単一または複数のバス系から
なるシステムにおいて、中央処理装置と前記中央処理装
置以外の装置との間で前記バス経由の通信中に異常を検
出した場合の故障診断方式であって、前記中央処理装置
は、前記各装置の内部回路の正常性を試験するプログラ
ムと、前記中央処理装置から前記各装置へのバス経由の
通信機能の正常性を試験するプログラムと、診断シナリ
オと、前記診断シナリオを解釈し実行するプログラムと
を有し、前記診断シナリオが、はじめに中央処理装置を
含むバス系の診断を実行し、中継装置を介して接続され
る複数のバス系が存在する場合は、前記中央処理装置を
含むバス系の診断を実行した後、中央処理装置から遠方
のバス系に向かって順番に前記バス系を診断するように
構成され、被擬装置に対する試験アクセスが中央処理装
置に近い装置から実行され、中央処理装置あるいは中継
装置を含む三つ以上の装置が接続されるバス系を診断す
る前記診断シナリオが、前記中央処理装置あるいは前記
中継装置以外の任意の二つの装置に対してバス経由の通
信機能の正常性を試験し、両方の装置に対する試験結果
が共に異常であった場合に前記中央処理装置あるいは前
記中継装置の内部回路を試験するように構成され、同一
のバスに接続される三つの装置に対するアクセスの結果
からバス故障の有無が判定され、中央処理装置が前記バ
ス経由の通信中の異常を検出したことを契機として、い
かなる装置をもシステムから切り離す前に、前記診断シ
ナリオを実行することによって故障装置を特定すること
を特徴とするものである。
In order to achieve the above object, a bus failure diagnosis system according to the present invention comprises a plurality of devices including a central processing unit which are connected to one common bus or a plurality of common buses via a relay device. In a system comprising a single or a plurality of bus systems connected to a, a failure diagnosis method when an abnormality is detected during communication via the bus between a central processing unit and a device other than the central processing unit, The central processing unit, a program for testing the normality of the internal circuit of each device, a program for testing the normality of the communication function via the bus from the central processing unit to each device, a diagnostic scenario, A program for interpreting and executing the diagnostic scenario, wherein the diagnostic scenario first executes a diagnosis of a bus system including a central processing unit, and a plurality of bus systems connected via a relay device. In the case where the bus system including the central processing unit is diagnosed, the bus system is diagnosed in order from the central processing unit to a bus system far away from the central processing unit. Is executed from a device close to the central processing unit, and the diagnostic scenario for diagnosing a bus system to which three or more devices including the central processing unit or the relay device are connected is an arbitrary one other than the central processing unit or the relay device. It is configured to test the normality of the communication function via the bus for the two devices, and to test the internal circuit of the central processing unit or the relay device when the test results for both devices are both abnormal. The presence or absence of a bus failure is determined from the result of access to three devices connected to the same bus, and the central processing unit detects an abnormality during communication via the bus. As a trigger, before disconnecting from the system any device, it is characterized in that identifying the defective unit by executing the diagnosis scenario.

【0017】また本発明は、前記バス故障診断方式にお
いて、中央処理装置あるいは中継装置を含む二つの装置
が接続されるバス系を診断する前記診断シナリオが、前
記中央処理装置あるいは前記中継装置以外の装置に対し
てバス経由の通信機能の正常性を試験し、その試験結果
が異常であった場合に前記中央処理装置あるいは前記中
継装置の内部回路を試験するように構成されることを特
徴とするものである。
Further, according to the present invention, in the bus failure diagnosis method, the diagnosis scenario for diagnosing a bus system to which two devices including a central processing unit or a relay device are connected may include a diagnostic system other than the central processing device or the relay device. The device is configured to test the normality of the communication function via the bus with respect to the device, and to test the internal circuit of the central processing unit or the relay device when the test result is abnormal. Things.

【0018】[0018]

【0019】[0019]

【0020】[0020]

【作用】上記手段により本発明は、複数の装置がその情
報転送ルートとして共通のバスに接続される構成のシス
テムにおいて、前記バス経由の通信中に異常を検出した
場合に、その故障箇所をシステム自律で確実に、かつ短
時間に特定可能とする診断方式である。
According to the present invention, in a system in which a plurality of devices are connected to a common bus as their information transfer routes, when an abnormality is detected during communication via the bus, the failure location is determined. This is a diagnostic method that enables autonomous and reliable identification in a short time.

【0021】中央処理装置は、各装置内部回路の正常性
を試験するプログラムと、中央処理装置から各装置への
前記バス経由の通信の正常性を試験するプログラムと、
これらの試験プログラムを組み合わせて構成される診断
シナリオと、この診断シナリオを解釈し実行するプログ
ラムを具備し、中央処理装置が前記バス経由の通信中の
異常を検出した場合、いかなる装置をも運用系から切り
離す前に、前記診断シナリオに従い、異常を検出した時
の通信経路上の被疑装置に対して試験プログラムを実行
し、その試験結果から故障装置を特定することを特徴と
する。
The central processing unit includes a program for testing the normality of each device internal circuit, a program for testing the normality of communication from the central processing unit to each device via the bus,
A diagnostic scenario configured by combining these test programs; and a program for interpreting and executing the diagnostic scenario. When the central processing unit detects an abnormality during communication via the bus, any device is operated by the operating system. Before disconnecting from the device, a test program is executed on the suspected device on the communication path at the time of detecting the abnormality according to the diagnostic scenario, and the faulty device is identified from the test result.

【0022】[0022]

【実施例】以下図面を参照して本発明の実施例を詳細に
説明する。図1は本実施例における故障箇所特定化処理
のフローチャートである。このフローチャートは、図2
のシステム構成例において、図3に示すように、0系中
央処理装置010から1系周辺装置131への通信が無
応答(バス通信異常)となった場合の実施例を示してい
る。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a flowchart of a failure point specifying process in the present embodiment. This flowchart is shown in FIG.
In the example of the system configuration shown in FIG. 3, as shown in FIG. 3, there is shown an embodiment in which the communication from the 0-system central processing unit 010 to the 1-system peripheral device 131 has no response (bus communication abnormality).

【0023】即ち、この場合の故障箇所は、前述の通り
以下の装置のいずれかである。 ・0系中央処理装置010 ・0系バス000 ・0系交差装置020 ・交差バス200 ・1系交差装置120 ・1系バス100 ・1系通信先周辺装置131 本実施例では、ソフトウェアが故障診断処理を実行し、
その手順は次の通りである。尚、以下の記述において、
中央処理装置から該当する装置へのバス経由の通信の正
常性試験を「試験A」、該当する装置内部回路の正常性
試験を「試験B」と表すこととする。
That is, the failure location in this case is one of the following devices as described above. -System 0 central processing unit 010-System 0 bus 000-System 0 crossing device 020-Crossing bus 200-System 1 crossing device 120-System 1 bus 100-System 1 communication destination peripheral device 131 In this embodiment, the software diagnoses a failure. Perform the processing,
The procedure is as follows. In the following description,
The normality test of communication via the bus from the central processing unit to the corresponding device is referred to as "test A", and the normality test of the corresponding device internal circuit is referred to as "test B".

【0024】試験Aは、例えば、該当する装置内の制御
レジスタに試験パターンをライト→リード→照合するこ
とによって実行する方法が考えられる。試験Bは、各装
置内部に具備された自律試験を起動する方法や、中央処
理装置から上位プログラム制御で実行する方法でも良
い。また、各装置内部に具備された自律試験を起動する
場合はバスとは別なルートで起動してもよい。
The test A can be executed by, for example, writing, reading, and collating a test pattern in a control register in a corresponding device. The test B may be a method of starting an autonomous test provided in each device or a method of executing the test under control of a higher-level program from a central processing unit. When the autonomous test provided in each device is started, it may be started on a route different from the bus.

【0025】ソフトウェアは、バス通信異常を検出する
と、まず、[試験10]0系交差装置020に対して試
験Aを実行する。この[試験10]の結果がNGの場
合、[試験11]0系バスに接続される装置のうち中央
処理装置010および試験済みの交差装置020以外の
任意の装置(本実施例では0系周辺装置031)に対し
て試験Aを実行する。この[試験11]の結果がNGの
場合、0系バスに接続される被擬故障箇所は0系バス0
00と0系中央処理装置010の可能性が考えられるた
め、両者のいずれかを切り分けるため、[試験12]0
系中央処理装置010に対して試験Bを実行する。この
[試験12]の結果がNGであれば0系中央処理装置0
10の故障(13)、結果がOKであれば0系バス00
0の故障(14)と判定できる。[試験11]の結果が
OKの場合は、0系バス000は正常であるため、0系
交差装置020の故障と判定できる(22)。[試験1
0]の結果がOKの場合、次に、[試験20]1系交差
装置120に対して試験Aを実行する。この[試験2
0]の結果がNGの場合、被擬故障箇所として、0系交
差装置020、1系交差装置120および交差バス20
0が考えられるため、さらに切り分けるため、[試験2
1]0系交差装置020に対して試験Bを実行する。こ
の[試験21]の結果がNGであれば0系交差装置02
0の故障(22)、結果がOKであれば1系交差装置1
20または交差バス200の故障(23)と判定でき
る。[試験20]の結果がOKの場合、次に、[試験3
0]バス通信異常検出時の通信先装置である1系周辺装
置131に対して試験Aを実行する。この[試験30]
の結果がNGの場合、次に、[試験31]1系バス10
0に接続される装置のうち、交差装置120および周辺
装置131以外の任意の装置(本実施例では1系中央処
理装置110とする)に対して試験Aを実行する。
When the software detects a bus communication abnormality, the test first executes [Test 10] Test A on the 0-system crossing device 020. If the result of this [Test 10] is NG, [Test 11] any device other than the central processing unit 010 and the tested intersection device 020 among the devices connected to the 0-system bus (in this embodiment, The test A is performed on the device 031). If the result of [Test 11] is NG, the simulated fault connected to the 0-system bus is 0-system bus 0
Since there is a possibility of the central processing unit 010 of system 00 and system 0, [Test 12] 0
The test B is executed for the system central processing unit 010. If the result of this [Test 12] is NG, the system 0 central processing unit 0
10 failure (13), if the result is OK, 0-system bus 00
It can be determined that the failure is 0 (14). If the result of [Test 11] is OK, since the 0-system bus 000 is normal, it can be determined that the 0-system crossing device 020 has failed (22). [Test 1
If the result of [0] is OK, then [Test 20] test A is performed on the 1-system crossover device 120. This [Test 2
0] is NG, the system 0 crossing device 020, the system 1 crossing device 120 and the crossing bus 20
[Test 2]
1] Test B is performed on the 0-system crossing device 020. If the result of this [Test 21] is NG, the 0-system crossing device 02
0 failure (22), if the result is OK, 1-system crossing device 1
20 or the failure of the crossing bus 200 (23). If the result of [Test 20] is OK, then [Test 3]
0] Test A is performed on the first system peripheral device 131 which is the communication destination device when the bus communication abnormality is detected. This [Test 30]
If the result of the test is NG, then [Test 31] the 1-system bus 10
The test A is executed for an arbitrary device other than the intersection device 120 and the peripheral device 131 (in this embodiment, the first system central processing device 110) among the devices connected to 0.

【0026】この[試験31]の結果がNGの場合、被
擬故障箇所として、1系バス100と1系交差装置12
0が考えられるため、いずれかを切り分けるために、さ
らに、[試験32]1系交差装置120に対して試験B
を実行する。この[試験32]の結果がNGであれば1
系交差装置120の故障(33)、OKであれば1系バ
ス100の故障(34)と判定できる。前記[試験3
1]の結果がOKであれば、1系バス100も1系交差
装置120も正常であるため、1系周辺装置131の故
障(35)と判定できる。また、前記[試験30]の結
果がOKの場合は、全ての装置が正常(固定故障装置な
し)であり、検出された故障は間欠的なものであったと
判定し運用を継続する(40)。
When the result of this [Test 31] is NG, the system 1 bus 100 and the system 1
Since test 0 is considered, [Test 32] test B is performed on the system 1
Execute If the result of this [Test 32] is NG, 1
It can be determined that the failure of the system crossing device 120 (33), and if it is OK, the failure of the system 1 bus 100 (34). [Test 3
If the result of [1] is OK, since both the system 1 bus 100 and the system 1 intersection device 120 are normal, it can be determined that the system 1 peripheral device 131 has failed (35). If the result of [Test 30] is OK, all devices are normal (no fixed failure device), and it is determined that the detected failure is intermittent and the operation is continued (40). .

【0027】尚、上記実施例の記載では、ソフトウェア
のオンラインプログラムで故障診断処理を実行すること
としたが、ファームウェアで実現してもよい。また、オ
フラインプログラムで実現しても良く、同じ効果が得ら
れる。
In the description of the above embodiment, the failure diagnosis processing is executed by an online program of software, but it may be realized by firmware. Further, it may be realized by an offline program, and the same effect is obtained.

【0028】以上説明したように、バス通信異常を検出
した場合に、装置をシステムから切り離す前に、システ
ム自律で、予め定められた手順に従い、前記異常を検出
した時の通信経路上の被擬装置に対して順次試験を実行
し、その試験結果から故障装置を特定することにより、
(a)従来のローテーション法における正常な装置の系
切り替えに伴う誤処理を回避できる、(b)装置の系切
り替えに要する時間が不要となるため故障箇所特定に要
する時間が大幅に短縮できる、(c)システム自律で装
置単位まで故障箇所の特定が可能である。
As described above, when a bus communication error is detected, the system is autonomously operated according to a predetermined procedure before disconnecting the device from the system. By performing tests sequentially on devices and identifying faulty devices from the test results,
(A) It is possible to avoid erroneous processing accompanying system switching of a normal device in the conventional rotation method. (B) The time required for system switching of the device is unnecessary, so that the time required for identifying a failure location can be greatly reduced. c) The fault location can be specified for each device autonomously by the system.

【0029】故障箇所特定の迅速化の点では、本発明の
故障箇所特定化手順は、(a)被擬装置に対する試験ア
クセスを中央処理装置に近い装置から実行すること、か
つ、(b)同一のバスに接続される3つの装置に対する
アクセスの結果からバス故障の有無を判定することを特
徴としている。これは、バス自身の故障を検出可能と
し、かつ、最終的に故障箇所を特定するまでの試験の平
均所要実行回数を最小とする手順であり、その点から
も、極力、故障箇所特定化の所要時間の短縮化が図られ
ている。
In terms of speeding up the failure location identification, the failure location identification procedure of the present invention includes (a) executing a test access to the simulated device from a device close to the central processing unit, and (b) performing the same access. It is characterized in that the presence or absence of a bus failure is determined from the result of access to three devices connected to the bus. This is a procedure that makes it possible to detect the failure of the bus itself and to minimize the average required number of tests to be performed until the failure location is finally identified. The required time is shortened.

【0030】[0030]

【発明の効果】以上述べたように本発明によれば、バス
通信異常検出時の故障診断の迅速化、正常な装置の系切
り替えに伴う誤処理の回避、および、保守者作業の軽減
ができるバス故障診断方式を提供することができる。
As described above, according to the present invention, it is possible to speed up fault diagnosis when a bus communication error is detected, avoid erroneous processing due to normal system switching, and reduce maintenance work. A bus fault diagnosis method can be provided.

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

【図1】本発明の一実施例を示す故障診断処理のフロー
チャートである。
FIG. 1 is a flowchart of a failure diagnosis process according to an embodiment of the present invention.

【図2】従来例および本発明の実施例におけるシステム
構成例を示す構成説明図である。
FIG. 2 is a configuration explanatory diagram showing a system configuration example in a conventional example and an embodiment of the present invention.

【図3】従来例および本発明の実施例におけるバス通信
中の応答待ちタイムアウトを検出した場合の被擬範囲の
一例を示す構成説明図である。
FIG. 3 is a configuration explanatory diagram showing an example of a simulated range when a response waiting timeout during bus communication is detected in the conventional example and the embodiment of the present invention.

【図4】従来例のローテーション法の系構成パターンお
よび系構成変更順序の一例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a system configuration pattern and a system configuration change order of a conventional rotation method.

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

10、11、12、20、21、30、31、32…故
障診断処理における各装置への試験、13、14、2
2、23、33、34、35、40…前記試験結果から
判定される故障箇所、000…0系バス、100…1系
バス、200…交差バス、010…0系中央処理装置、
110…1系中央処理装置、020…0系交差装置、1
20…1系交差装置、031〜03n…0系周辺装置、
131〜13n…1系周辺装置。
10, 11, 12, 20, 21, 30, 31, 32... Tests for each device in the failure diagnosis processing, 13, 14, 2
2, 23, 33, 34, 35, 40: failure location determined from the test result, 000: 0 system bus, 100: 1 system bus, 200: crossing bus, 010: 0 system central processing unit;
110 ... 1 system central processing unit, 020 ... 0 system crossing device, 1
20 ... 1 system crossing device, 031-03n ... 0 system peripheral device,
131 to 13n: 1-system peripheral device.

フロントページの続き (56)参考文献 特開 平4−291850(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 H04L 29/02 H04L 29/14 Continuation of front page (56) References JP-A-4-291850 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 12/28 H04L 29/02 H04L 29/14

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 中央処理装置を含む複数の装置が一本の
共通バスまたは中継装置を介した複数本の共通バスに接
続された単一または複数のバス系からなるシステムにお
いて、中央処理装置と前記中央処理装置以外の装置との
間で前記バス経由の通信中に異常を検出した場合の故障
診断方式であって、 前記中央処理装置は、 前記各装置の内部回路の正常性を試験するプログラム
と、前記中央処理装置から前記各装置へのバス経由の通
信機能の正常性を試験するプログラムと、診断シナリオ
と、前記診断シナリオを解釈し実行するプログラムとを
有し、 前記診断シナリオが、 はじめに中央処理装置を含むバス系の診断を実行し、 中継装置を介して接続される複数のバス系が存在する場
合は、前記中央処理装置を含むバス系の診断を実行した
後、中央処理装置から遠方のバス系に向かって順番に前
記バス系を診断するように構成され、被擬装置に対する
試験アクセスが中央処理装置に近い装置から実行され、 中央処理装置あるいは中継装置を含む三つ以上の装置が
接続されるバス系を診断する前記診断シナリオが、前記
中央処理装置あるいは前記中継装置以外の任意の二つの
装置に対してバス経由の通信機能の正常性を試験し、両
方の装置に対する試験結果が共に異常であった場合に前
記中央処理装置あるいは前記中継装置の内部回路を試験
するように構成され、同一のバスに接続される三つの装
置に対するアクセスの結果からバス故障の有無が判定さ
れ、 中央処理装置が前記バス経由の通信中の異常を検出した
ことを契機として、いかなる装置をもシステムから切り
離す前に、前記診断シナリオを実行することによって故
障装置を特定することを特徴とするバス故障診断方式。
1. A system comprising a single or a plurality of bus systems in which a plurality of devices including a central processing unit are connected to one common bus or a plurality of common buses via a relay device. A failure diagnosis method when an abnormality is detected during communication via the bus with a device other than the central processing unit, wherein the central processing unit tests a normality of an internal circuit of each of the devices. And a program for testing the normality of a communication function via the bus from the central processing unit to each device, a diagnostic scenario, and a program for interpreting and executing the diagnostic scenario, wherein the diagnostic scenario comprises: When a bus system including the central processing unit is diagnosed, and when there are a plurality of bus systems connected via the relay device, the bus system including the central processing unit is diagnosed, The bus system is configured to diagnose the bus system in order from the central processing unit to a distant bus system, and a test access to the device to be simulated is executed from a device close to the central processing unit. The diagnostic scenario for diagnosing a bus system to which one or more devices are connected tests the normality of the communication function via the bus for any two devices other than the central processing unit or the relay device, and If the test results for the devices are both abnormal, the internal circuit of the central processing unit or the relay device is tested, and the presence or absence of a bus failure is determined based on the result of access to three devices connected to the same bus. Before disconnecting any device from the system upon detecting that the central processing unit has detected an abnormality during communication via the bus, the diagnosis is performed. A bus failure diagnosis method for identifying a failed device by executing a disconnection scenario.
【請求項2】 中央処理装置あるいは中継装置を含む二
つの装置が接続されるバス系を診断する前記診断シナリ
オが、 前記中央処理装置あるいは前記中継装置以外の装置に対
してバス経由の通信機能の正常性を試験し、 その試験結果が異常であった場合に前記中央処理装置あ
るいは前記中継装置の内部回路を試験するように構成さ
れることを特徴とする請求項1記載のバス故障診断方
式。
2. The diagnostic scenario for diagnosing a bus system to which two devices including a central processing unit or a relay device are connected includes a communication function via a bus for a device other than the central processing unit or the relay device. 2. The bus failure diagnosis method according to claim 1, wherein a normality is tested, and an internal circuit of the central processing unit or the relay device is tested when the test result is abnormal.
JP20963494A 1994-09-02 1994-09-02 Bus failure diagnosis method Expired - Lifetime JP3156987B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20963494A JP3156987B2 (en) 1994-09-02 1994-09-02 Bus failure diagnosis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20963494A JP3156987B2 (en) 1994-09-02 1994-09-02 Bus failure diagnosis method

Publications (2)

Publication Number Publication Date
JPH0879281A JPH0879281A (en) 1996-03-22
JP3156987B2 true JP3156987B2 (en) 2001-04-16

Family

ID=16576046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20963494A Expired - Lifetime JP3156987B2 (en) 1994-09-02 1994-09-02 Bus failure diagnosis method

Country Status (1)

Country Link
JP (1) JP3156987B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015144595A (en) * 2014-02-04 2015-08-13 株式会社大塚組 bird net fastener

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4454772B2 (en) * 2000-03-17 2010-04-21 富士通マイクロエレクトロニクス株式会社 Communication bus abnormality detection device and microcomputer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015144595A (en) * 2014-02-04 2015-08-13 株式会社大塚組 bird net fastener

Also Published As

Publication number Publication date
JPH0879281A (en) 1996-03-22

Similar Documents

Publication Publication Date Title
US8347142B2 (en) Non-disruptive I/O adapter diagnostic testing
US5742851A (en) Information processing system having function to detect fault in external bus
JP3156987B2 (en) Bus failure diagnosis method
JP3420919B2 (en) Information processing device
JP2521996B2 (en) Communication system diagnostic method
JPS62236056A (en) Input/output controller for information processing system
JPS62271153A (en) Diagnostic system for common bus structure
JP2630100B2 (en) Fault handling method for interprocessor communication bus
JP3291729B2 (en) Redundant computer system
JP2800328B2 (en) Common bus diagnostic method
JP2636610B2 (en) Backup method
JPH04223534A (en) Information processing system
JPS61292457A (en) Diagnosing method for electronic exchange
JPH06282454A (en) Automatic fault diagnostic system
JP3088451B2 (en) Diagnosis method of electronic exchange system
JPS6213700B2 (en)
JPH07118831B2 (en) control method
JPH05313935A (en) Diagnostic circuit for information processor
JPS58172729A (en) Diagnosing circuit of input and output controller
JPH0436857A (en) Bus diagnostic system for multiprocessor system
JPS6120448A (en) Testing method of data transmitting device
JPH03138743A (en) Diagnostic system for dual io bus
JPH0452931A (en) Trouble processing method for information processor
JPH0477139A (en) Control system for suspected faulty device
JPH0566955A (en) Data bus fault detecting method

Legal Events

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

Free format text: PAYMENT UNTIL: 20090209

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090209

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120209

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130209

Year of fee payment: 12

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term