JPH04155535A - Fault detecting system for information processor - Google Patents

Fault detecting system for information processor

Info

Publication number
JPH04155535A
JPH04155535A JP2282217A JP28221790A JPH04155535A JP H04155535 A JPH04155535 A JP H04155535A JP 2282217 A JP2282217 A JP 2282217A JP 28221790 A JP28221790 A JP 28221790A JP H04155535 A JPH04155535 A JP H04155535A
Authority
JP
Japan
Prior art keywords
central processing
check signal
processing unit
data
check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2282217A
Other languages
Japanese (ja)
Inventor
Kenichiro Kamaike
蒲池 健一郎
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2282217A priority Critical patent/JPH04155535A/en
Publication of JPH04155535A publication Critical patent/JPH04155535A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To suppress the number of check signal lines, and to detect a fault before the address and data on a bus disagree by transmitting a check signal to a central processing unit on the other side by each central processing unit, and detecting a noncoincidence between the self-check signal and the check signal inputted from the other side. CONSTITUTION:A check signal preparing circuit 13 of a central processing unit 1-1 at a master side prepares the check signal from the values of the data of both plural inside registers 11a - 11n and a state display flip flop 12. The check signal preparing circuit 13 of a central processing unit 1-2 at a slave side prepares the check signal from the values of the data of both plural inside registers 11a - 11n and the state display flip flop 12. A noncoincidence detecting circuit 14 checks whether or not this check signal is coincident with the check signal outputted from the central processing unit 1-1 at the master side. Thus, when the noncoincidence is detected, a fault detection signal is transmitted through a fault detection signal line 3.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は2重化された中央処理ユニットから構成される
情報処理装置の障害検出方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a failure detection method for an information processing apparatus composed of dual central processing units.

〔従来の技術〕[Conventional technology]

従来、この種の障害検出方式としては、2つの中央処理
ユニットの一方をマスク、他方をスレーブとする待機予
備冗長構成とし、スレーブ中処理ユニットが、マスク中
央処理ユニットからバス上に出力されるアドレス、デー
タをスレーブ中央処理ユニット自身で計算したアドレス
、データと比較する方式があった。
Conventionally, this type of failure detection method uses a standby redundant configuration in which one of the two central processing units is a mask and the other is a slave, and the slave middle processing unit uses the address output from the masked central processing unit on the bus. , there was a method of comparing the data with the address and data calculated by the slave central processing unit itself.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の障害検出方式は、アドレス、データ等の
中央処理ユニットからバスに出力される信号しか比較の
対象にしていないために、中央処理ユニット内部のレジ
スタや状態を表示するフリップフロップに格納されたデ
ータがマスク中央処理ユニットとスレーブ中央処理ユニ
ットの間で異なっていても、外部に出力されるアドレス
やデータに違いがないと障害が検出できないという欠点
がある。
The conventional failure detection method described above only compares signals output from the central processing unit to the bus, such as addresses and data, so the signals are stored in registers inside the central processing unit and flip-flops that display the status. Even if the data stored in the mask central processing unit and the slave central processing unit are different, the fault cannot be detected unless there is a difference in the address or data output to the outside.

また、n害を検出した場合でも、マスク中央処理ユニッ
トとスレーブ中央処理ユニットの内部で違いが発生して
から実際に障害として検出されるまで時間がかかる場合
があり、その間の誤動作が許されてしまうという欠点が
ある。
Furthermore, even if a fault is detected, it may take some time from the time a difference occurs between the mask central processing unit and the slave central processing unit until it is actually detected as a failure, and malfunctions may be allowed during that time. It has the disadvantage of being stored away.

一方、中央処理ユニット内部のレジスタや状態を表示す
るフリップフロップのデータを全てマスク中央処理ユニ
ットとスレーブ中央処理ユニットの間で監視すれば上記
の問題はなくなるが、中央処理ユニット間を接続する信
号線の数が大きくなり、実装上の制約から実現不可能で
ある。
On the other hand, if all the data of the registers inside the central processing unit and the flip-flops that display the status are monitored between the mask central processing unit and the slave central processing unit, the above problem will disappear, but the signal line connecting the central processing units , which is impossible due to implementation constraints.

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

本発明の障害検出方式は、2重化された中央処理ユニッ
トから構成される情報処理装置の障害検出方式において
、前記2重化された中央処理ユニットのそれぞれの中央
処理ユニットが、自己中央処理ユニット内部のレジスタ
及び状態を表示するフリップフロップに格納されたデー
タからチェック信号を生成し相手中央処理ユニットに出
力するチェック信号生成手段と;自己中央処理ユニット
で生成された前記チェック信号と前記相手処理ユニット
から入力されたチェック信号とを比較し不一致を検出す
る不一致検出手段とを有している。
The failure detection method of the present invention is a failure detection method for an information processing device configured with duplicated central processing units, in which each central processing unit of the duplicated central processing units is a self-central processing unit. check signal generation means for generating a check signal from data stored in internal registers and flip-flops that display the state and outputting it to the partner central processing unit; the check signal generated by the own central processing unit and the partner processing unit; and a discrepancy detection means for comparing the check signal input from the controller and detecting a discrepancy.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。な
お、第1図は障害検出に関連する部分のみを示している
FIG. 1 is a block diagram showing one embodiment of the present invention. Note that FIG. 1 shows only the portions related to failure detection.

中央処理ユニット1−1.1−2はそれぞれ、レジスタ
lla〜llnと、状態表示フリップフロップ12と、
複数のレジスタlla〜lln及び状態表示フリップフ
ロップ12に格納されたデータからチェック信号を生成
するチェック信号生成回路13と、自己及び相手の中央
処理ユニット1−1.1−2のチェック信号を比較し不
一致を検出する不一致検出回路14とを備えている。ま
た、各中央処理ユニット1−1.1−2は、バッファ回
路15及びチェック信号線2を介して自己のチェック信
号生成回路13の出力側と相手の不一致検出回路14の
入力側とが相互に接続されており、ゲートバッファ回路
16を介して両方の不一致検出回路14の出力側が障害
検出信号線3に接続されている。
Each of the central processing units 1-1.1-2 includes registers lla to lln, a status display flip-flop 12,
A check signal generation circuit 13 that generates a check signal from the data stored in the plurality of registers lla to lln and the status display flip-flop 12 compares the check signals of the own and partner central processing units 1-1.1-2. and a mismatch detection circuit 14 that detects mismatch. In addition, each central processing unit 1-1.1-2 has an output side of its own check signal generation circuit 13 and an input side of the other party's discrepancy detection circuit 14 connected to each other via a buffer circuit 15 and a check signal line 2. The output sides of both mismatch detection circuits 14 are connected to the failure detection signal line 3 via the gate buffer circuit 16.

なお、各中央処理ユニット1−1.1−2は、図示して
いないアドレスバス及びデータバスにより相互に接続さ
れており、待機予備冗長構成をとっている。
The central processing units 1-1, 1-2 are interconnected by an address bus and a data bus (not shown), and have a redundant standby configuration.

次に動作を説明する。Next, the operation will be explained.

2つの中央処理ユニット1−1.1−2のマスクとスレ
ーブとの切替えは外部からのマスタ/スレーブ切替信号
を“H”レベルまたは“L゛レベル切替えることにより
行う。今、中央処理ユニット1−1をマスタ(Hレベル
)中央処理ユニット1−2をスレーブ(Lレベル)にし
た場合を例に説明する。
The two central processing units 1-1, 1-2 are switched between mask and slave by switching the external master/slave switching signal to "H" level or "L" level. An example will be explained in which the CPU 1 is set as the master (H level) and the central processing unit 1-2 is set as the slave (L level).

マスク側中央処理ユニット1−1は実際の処理を行って
おり、スレーブ側中央処理ユニット1−2はマスク側中
央処理ユニット1−1の動作を監視しながら同一処理を
行っている。マスク側の中央処理ユニット1〜1は、チ
ェック信号生成回路13により内部の複数のレジスタl
la〜11n及び状態表示フリップフロップ12のデー
タの値からチェック信号を作成する。チェック信号生成
回路13の具体例としてはすべてのデータ値の排他的論
理和をとるものが考えられる。また、チェック信号は1
本とは限らず複数とすることも可能である。
The mask-side central processing unit 1-1 is performing actual processing, and the slave-side central processing unit 1-2 is performing the same processing while monitoring the operation of the mask-side central processing unit 1-1. The central processing units 1 to 1 on the mask side have a plurality of internal registers l by the check signal generation circuit 13.
A check signal is created from the data values of la to 11n and the status display flip-flop 12. A specific example of the check signal generation circuit 13 may be one that performs an exclusive OR of all data values. Also, the check signal is 1
It is not limited to a book, and it is also possible to use a plurality of books.

スレーブ側中央処理ユニット1−2は、内部動作はマス
ク側中央処理ユニット1−1と同一であり、チェック信
号生成回路13が、内部の複数のレジスタlla〜ll
n及び状態表示フリップフロップ12のデータの値から
チェック信号を作成する。不一致検出回路14は、この
チェック信号がマスク側中央処理ユニット1−1から出
力されるチェック信号と一致しているかどうかチェック
しており、チェックタイミング時に不一致を検出してい
ると、ゲートバッファ回路16及び障害検出信号線3を
介して外部に障害検出信号を送出する。なお、マスク側
のゲートバッファ回路16はマスタ/スレーブ切替信号
が“H”レベルのため動作せず、障害検出信号はスレー
ブ側中央処理ユニット1−2からしか出力されない。
The slave-side central processing unit 1-2 has the same internal operation as the mask-side central processing unit 1-1, and the check signal generation circuit 13 has internal registers lla-ll.
A check signal is created from the value of n and the data of the status display flip-flop 12. The mismatch detection circuit 14 checks whether this check signal matches the check signal output from the mask side central processing unit 1-1, and if a mismatch is detected at the check timing, the gate buffer circuit 16 and sends a fault detection signal to the outside via the fault detection signal line 3. Note that the gate buffer circuit 16 on the mask side does not operate because the master/slave switching signal is at the "H" level, and the failure detection signal is output only from the slave side central processing unit 1-2.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、各中央処理ユニットが、
自己中央処理ユニット内部のレジスタ及び状態を表示す
るフリップフロップに格納されたデータの値からチェッ
ク信号を生成し相手中央処理ユニットに送出し、自己の
チェック信号と相手から入力されるチェック信号との不
一致を検出することにより、2重化された中央処理ユニ
ット間のチェック信号線の数が、実現可能な範囲におさ
まり、かつ、バス上のアドレス、データが不一致となる
前に障害の検出が可能であるという効果がある。
As explained above, in the present invention, each central processing unit
A check signal is generated from the data values stored in the registers inside the own central processing unit and the flip-flops that display the status, and sent to the other party's central processing unit, and the discrepancy between the own check signal and the check signal input from the other party is detected. By detecting this, the number of check signal lines between duplicated central processing units can be kept within a feasible range, and failures can be detected before addresses and data on the bus become inconsistent. There is an effect that there is.

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

第1図は本発明の一実施例を示すブロック図である。 1−1.1−2・・・中央処理ユニット、2・・・チェ
ック信号線、3・・・障害検出信号線、lla〜11n
・・・レジスタ、12・・・状態表示フリップフロップ
、13・・・チェック信号生成回路、14・・・不一致
検出回路、15・・・バッファ回路、16・・・ゲート
バッファ回路。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1-1.1-2...Central processing unit, 2...Check signal line, 3...Fault detection signal line, lla to 11n
...Register, 12.. Status display flip-flop, 13.. Check signal generation circuit, 14.. Mismatch detection circuit, 15.. Buffer circuit, 16.. Gate buffer circuit.

Claims (1)

【特許請求の範囲】[Claims]  2重化された中央処理ユニットから構成される情報処
理装置の障害検出方式において、前記2重化された中央
処理ユニットのそれぞれの中央処理ユニットが、自己中
央処理ユニット内部のレジスタ及び状態を表示するフリ
ップフロップに格納されたデータからチェック信号を生
成し相手中央処理ユニットに出力するチェック信号生成
手段と;自己中央処理ユニットで生成された前記チェッ
ク信号と前記相手処理ユニットから入力されたチェック
信号とを比較し不一致を検出する不一致検出手段とを有
することを特徴とする情報処理装置の障害検出方式。
In a failure detection method for an information processing device configured with duplicated central processing units, each central processing unit of the duplicated central processing units displays registers and states inside its own central processing unit. check signal generation means for generating a check signal from data stored in a flip-flop and outputting it to a partner central processing unit; 1. A fault detection method for an information processing device, comprising a discrepancy detection means for comparing and detecting a discrepancy.
JP2282217A 1990-10-19 1990-10-19 Fault detecting system for information processor Pending JPH04155535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2282217A JPH04155535A (en) 1990-10-19 1990-10-19 Fault detecting system for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2282217A JPH04155535A (en) 1990-10-19 1990-10-19 Fault detecting system for information processor

Publications (1)

Publication Number Publication Date
JPH04155535A true JPH04155535A (en) 1992-05-28

Family

ID=17649585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2282217A Pending JPH04155535A (en) 1990-10-19 1990-10-19 Fault detecting system for information processor

Country Status (1)

Country Link
JP (1) JPH04155535A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129426A (en) * 1993-10-29 1995-05-19 Hitachi Ltd Fault processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129426A (en) * 1993-10-29 1995-05-19 Hitachi Ltd Fault processing system

Similar Documents

Publication Publication Date Title
JPH08255115A (en) Method and equipment for fault detection and fault- tolerant digital data processing
US4843608A (en) Cross-coupled checking circuit
JPH0792765B2 (en) Input / output controller
JPH02110388A (en) Integrated circuit module
JPH04155535A (en) Fault detecting system for information processor
JPS6227814A (en) Fault detection circuit
JPH03232040A (en) Data processor
JPH0916426A (en) Fault tolerant computer with two-port console
JPS63281539A (en) Error data generating circuit
JP2908135B2 (en) Microprocessor failure detection device
JPH07104795B2 (en) Error detection method
JPH06326716A (en) Communication bus supervisory equipment
JPS63115240A (en) Fault detecting system
JPH06245238A (en) Changeover circuit for duplex system
JPS6321217B2 (en)
JP3055249B2 (en) Processor debugging method
JPS62160539A (en) Multiplexing check system for central processing unit
JPH05289896A (en) Fault tolerant computer
JPH04257042A (en) Diagnostic system for memory
JPH0471037A (en) Duplex system for electronic computer
JPS63181001A (en) Fault diagnosing device
JPS61134846A (en) Electronic computer system
JPS59157759A (en) Dual system
JPH05313931A (en) Computer anti-fault system
JPS6370344A (en) Device duplication switching control system