JPH0831048B2 - Anomaly detection method for multiplexer - Google Patents

Anomaly detection method for multiplexer

Info

Publication number
JPH0831048B2
JPH0831048B2 JP63201302A JP20130288A JPH0831048B2 JP H0831048 B2 JPH0831048 B2 JP H0831048B2 JP 63201302 A JP63201302 A JP 63201302A JP 20130288 A JP20130288 A JP 20130288A JP H0831048 B2 JPH0831048 B2 JP H0831048B2
Authority
JP
Japan
Prior art keywords
signal
memory
normal
slave
cma
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
JP63201302A
Other languages
Japanese (ja)
Other versions
JPH0250736A (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.)
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 JP63201302A priority Critical patent/JPH0831048B2/en
Publication of JPH0250736A publication Critical patent/JPH0250736A/en
Publication of JPH0831048B2 publication Critical patent/JPH0831048B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第7図〜第12図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作用 実施例(第2図〜第6図) 発明の効果 〔概要〕 多重化装置の異常検出方式に関し、 多重化された装置が故障した場合、下位装置の何れか
1つから正常応答を受信した時点での応答のない下位装
置を強制的にエラーと見做して故障した装置をはやく検
出することを目的とし、 多重化された下位装置を備え、これら下位装置は上位
装置から送出されるクロックにより同期動作を行い、か
つ下位装置は上位装置から発せられたコマンドに対する
動作終了報告を終了ステータスとともに各々個別に報告
するようにした多重化装置において、上位装置に下位装
置の異常を検出する異常検出手段を具備し、下位装置か
ら正常応答に比べて速い異常報告があった場合はこれを
無視して何の応答もなかったものとみなし、下位装置の
何れか1つの正常応答を受取った時点で応答のない装置
は強制的に異常とみなして制御するように構成したも
の。
DETAILED DESCRIPTION OF THE INVENTION [Table of Contents] Outline Industrial field of application Conventional technology (FIGS. 7 to 12) Problem to be solved by the invention Means for solving the problem (FIG. 1) Action Example (FIGS. 2 to 6) Effects of the Invention [Outline] Regarding an abnormality detection method for a multiplexing device, when a multiplexed device fails, a normal response is received from any one of the lower devices. For the purpose of promptly detecting a failed device by forcibly considering a non-responsive lower device as an error, it is equipped with multiplexed lower devices, and these lower devices operate synchronously with the clock sent from the upper device. In addition, in the multiplexing device, the lower device reports the operation end report for the command issued from the upper device together with the end status individually. If there is an abnormal report that is faster than the normal response from the lower device, it is assumed that there is no response, and when one of the lower devices receives a normal response, A device that does not respond is configured to be forcibly regarded as abnormal and controlled.

〔産業上の利用分野〕[Industrial applications]

本発明は多重化装置に於ける異常検出方式に係り、特
に、コンピュータ等において、多重化された装置が故障
した場合、その故障装置を速やかに切り離すため、故障
装置を少しでも速く検出できるようにした多重化装置に
於ける異常検出方式に関する。
The present invention relates to an abnormality detection method in a multiplexing device, and in particular, in a computer or the like, when a multiplexed device fails, the failed device is quickly disconnected, so that the failed device can be detected as soon as possible. The abnormality detection method in the multiplexing device described above.

〔従来の技術〕[Conventional technology]

最近の著しい情報化社会の発展に伴いシステムの高速
性及び高信頼性の要望が益々重要となってきている。
With the recent remarkable development of the information society, the demand for high speed and high reliability of the system is becoming more important.

従来、この要求に対し、システムを多重化し、一方が
ダウンすれば他方のシステムにより業務を遂行する方法
が一般的に採用されてきた。
Conventionally, a method has been generally adopted in which systems are multiplexed in response to this request, and when one of the systems goes down, the other system carries out a task.

最近では、ノンストップコンピュータとして設計段階
より各ユニットをコンポーネント化し、これらを多重化
する構成がとられ、一部が故障した場合、故障部分を縮
退し業務を遂行するようにハードウェアに組み込まれる
ように成ってきた。
Recently, as a non-stop computer, each unit has been made into a component from the design stage and these units have been configured to be multiplexed, and if a part fails, it should be built into hardware so that the failed part can be degenerated and work can be performed. Came to.

しかしながら、何れの場合も故障システム、或いは故
障部分を切り離したり、切り換えたりする場合、これを
短時間で行うことが重要となる。
However, in any case, when disconnecting or switching a failed system or a failed part, it is important to perform this in a short time.

そして、一般的には、上位装置により下位装置の故障
を検出する場合、下位装置からの何らかのエラーまたは
正常報告信号により行い、下位装置がその応答を返せな
い場合、或る一定時間待っても応答が返ってこなければ
(タイムアウト)下位装置の故障とみなす方法が多く使
用されている。
In general, when a failure of the lower device is detected by the upper device, it is performed by an error or normal report signal from the lower device, and when the lower device cannot return its response, it responds even after waiting for a certain period of time. If is not returned (timeout), it is often used to consider it as a failure of the lower device.

以下、従来の具体例を図面に基づいて説明する。 Hereinafter, a specific example of the related art will be described with reference to the drawings.

第7図は従来における多重化装置を示した図である。 FIG. 7 is a diagram showing a conventional multiplexing device.

図において、CMAはコモン・メモリ・アダプタであ
り、この内部には、タイマT、フリップフロップFF、イ
ンバータINV等が設けられている。
In the figure, CMA is a common memory adapter, inside which a timer T, a flip-flop FF, an inverter INV, etc. are provided.

このCMAは、上位装置であるCPU(A)及びCPU(B)
からの要求により、該CPUからのクロックに同期して下
位に接続された多重化CM(コモンメモリ)にデータを書
き込んだり(多重化された共通メモリCMは全てそのデー
タの同一性を保証)、或いは、CMのデータを読み出し、
上位装置に送出する為の制御等を行う装置である。
This CMA is a high-level device CPU (A) and CPU (B)
In response to the request from the CPU, the data is written to the multiplexed CM (common memory) connected to the lower order in synchronization with the clock from the CPU (the shared common memory CMs all guarantee the sameness of the data), Or read the CM data,
It is a device that performs control for sending to a higher-level device.

多重化CMとしては、マスタメモリであるCM(1)とス
レーブメモリであるCM(2)を設ける。
As the multiplexed CM, CM (1) which is a master memory and CM (2) which is a slave memory are provided.

BUSは、CMAとCM(1)及びCM(2)間の双方向デー
タバスであり、CMAがコマンドを送出する場合は、デー
タ長及びCM内のメモリアドレスがCMAより送出される。
BUS is a bidirectional data bus between CMA and CM (1) and CM (2). When CMA sends a command, the data length and the memory address in CM are sent from CMA.

また、CMAがデータを送出する場合には、DATV信号
(データ有効信号)と共にライト(write)データが送
出される。
When the CMA sends data, write data is sent together with the DATV signal (data valid signal).

CMAがCM(コモンメモリ)上りデータを読み出す場合
には、マスタCMから送出されるDSEND信号(データ有効
信号)と共に、リード(Read)データがのせられる。
When the CMA reads CM (common memory) upstream data, read data is placed together with the DSEND signal (data valid signal) sent from the master CM.

次に、第8図乃至第12図に基づいて、上記第7図の動
作を説明する。
Next, the operation of FIG. 7 will be described with reference to FIGS. 8 to 12.

(1)CMへの書き込みシーケンスにおいて、CM(1)及
びCM(2)が共に正常な場合(第8図参照) CMAの上位装置(この例ではCPU(A)、CPU(B)が
該当)は、バスを通しCMAに同期信号に同期して、デ
ータを送出する。
(1) When both CM (1) and CM (2) are normal in the writing sequence to CM (see Fig. 8), the higher device of CMA (CPU (A) and CPU (B) correspond in this example) Sends data to the CMA through the bus in synchronization with the sync signal.

そのデータを受取ったCMA内の制御回路は、CMに対す
る種々の要求(リフレッシュリクエスト、パトロール、
その他CPUの要求)のプライオリティをとる。
The control circuit in the CMA that receives the data receives various requests for the CM (refresh request, patrol,
Other CPU requests) takes priority.

そして、条件が取れれば、CMに対しメモリアドレス
(ADD)、データレングス(LNG)をバス(BUS)に、C
MD(コマンド)信号をライト(write)にし、CMDV
(コマンド有効)信号をオンにする。
Then, if the conditions are met, the memory address (ADD), data length (LNG) to the bus (BUS), and C to the CM.
Set MD (command) signal to write and use CMDV
Turn on the (command valid) signal.

その後、CMDV信号をオフにし、書き込みデータをバス
(BUS)にのせ、DATV(データ有効)信号をオンに
し最初のデータを送出する。
After that, the CMDV signal is turned off, the write data is placed on the bus (BUS), the DATV (data valid) signal is turned on, and the first data is transmitted.

データの送出はLNG(レングス)で示した数だけ(8
バイト)繰返し(この例では、1バイトデータを8回繰
返し、システムクロックに同期して、送出する)、送出
が終わればDATV(データバリッド)信号をオフにする。
Only the number indicated by LNG (length) is sent (8
Byte) repeated (in this example, 1-byte data is repeated 8 times and transmitted in synchronization with the system clock), and when the transmission is completed, the DATV (data valid) signal is turned off.

その後、CM(1)及びCM(2)からエンド信号(END
#0及びEND#1)とステータス信号(STAT#0及びSTA
T#1)がCMAに送られてくる。
After that, end signal (END) from CM (1) and CM (2)
# 0 and END # 1) and status signals (STAT # 0 and STA
T # 1) is sent to CMA.

この例はCM(1)及びCM(2)が共に正常なので、所
定のCMAビジー時間内にEND信号があり、そのまま次のサ
イクルへ移る。
In this example, since both CM (1) and CM (2) are normal, there is an END signal within a predetermined CMA busy time, and the process directly proceeds to the next cycle.

(2)CMからの読み出しシーケンスにおいて、CM(1)
及びCM(2)が共に正常な場合(第9図参照) CMの読み出しの場合は、書き込みと同様な動作を行う
が、データの送出及びDSEND(データ送出)信号の送出
は、フリップフロップFFから出されるMASTER信号を受
け取ったCMのみが送出する。
(2) CM (1) in the read sequence from CM
When CM and CM (2) are both normal (see Fig. 9) When CM is read, the same operation as writing is performed, but data transmission and DSEND (data transmission) signal transmission are performed from the flip-flop FF. Only the CM that received the issued MASTER signal sends it.

この例ではCM(1)がマスタでCM(2)がスレーブと
なっているが、フリップフロップの状態を反転させれば
CM(2)がマスタでCM(1)がスレーブとなる。
In this example, CM (1) is the master and CM (2) is the slave, but if you flip the flip-flop state,
CM (2) is the master and CM (1) is the slave.

CMAがCPUより読み出し要求を受け取ると、上記と同様
な手順(プライオリティ)を取り、CMに対し、メモリア
ドレス(ADD)、データレングス(LNG)をバス(BUS)
に、CMD信号をリード(Read)にし、CMDV(コマン
ドバリッド)信号をオンにする。
When the CMA receives a read request from the CPU, the same procedure (priority) as above is followed, and the memory address (ADD) and data length (LNG) are sent to the bus (BUS).
Then, the CMD signal is set to Read and the CMDV (command valid) signal is turned on.

その後、CMDV信号をオフにすると共に、BUSを受けの
状態にし、DSEND信号を待つ。
After that, the CMDV signal is turned off, the BUS is received, and the DSEND signal is waited for.

DSEND信号を受け取ると、その時のBUS上のデータを受
け取る。
When the DSEND signal is received, the data on the BUS at that time is received.

このように、同期信号(システムクロック)に同期し
て、順次DSEND信号と共に送られてくるデータを受け取
り、END信号とステータス信号を待つ。
In this way, in synchronization with the synchronizing signal (system clock), the data sequentially sent with the DSEND signal are received, and the END signal and the status signal are waited for.

この例では、8回データがCMAに送出し終わるとEND#
0、STAT#0、END#1、STAT#1が出されるので、全
て正常である。
In this example, END # is sent when data has been sent to the CMA eight times.
0, STAT # 0, END # 1, STAT # 1 are issued, so everything is normal.

したがって、CMAビジー時間が終了すると次のサイク
ルへ移る。
Therefore, when the CMA busy time ends, the next cycle starts.

(3)CMからの読み出しシーケンスにおいて、CM(1)
が正常でCM(2)が異常の場合(第10図参照) この例も上記と同様にして、8バイトデータを8回に
分けてリードする。この時、CM(1)は正常であるから
8回目のデータ送出と同時にEND#0信号とSTAT信号と
を出す。
(3) In the read sequence from CM, CM (1)
Is normal and CM (2) is abnormal (see FIG. 10) In this example as well, the 8-byte data is read in eight times. At this time, since CM (1) is normal, the END # 0 signal and the STAT signal are issued at the same time as the eighth data transmission.

しかし、スレーブメモリCM(2)が、3回目のデータ
送出時に異常となり、END#1とSTAT信号を出す。
However, the slave memory CM (2) becomes abnormal at the time of the third data transmission and outputs END # 1 and the STAT signal.

この場合、STAT信号は2ビットで構成されており、
例えば“00"ならば何の異常もなく正常、“01"ならば1
ビットエラー、“10"ならば2ビットエラー、“11"なら
ば異常とする。
In this case, the STAT signal consists of 2 bits,
For example, "00" is normal without any abnormality, and "01" is 1
Bit error, 2-bit error if "10", abnormal if "11".

すなわち、1ビットエラーと、2ビットエラーは異常
として取り扱わないようにし、制御回路の(例えばカウ
ンタ等のパリティエラー)エラーである“11"の場合だ
け異常としてカットするものである。
That is, the 1-bit error and the 2-bit error are not treated as abnormal, and only the case of "11" which is a control circuit (for example, a parity error of a counter or the like) error is cut as an abnormality.

したがって、この例ではCM(2)が“11"で異常であ
るが、CM(1)は正常であるから、CM(2)を切り離
し、CM(1)のみで次のサイクルを実行する。即ち、SC
UT(スレーブカット)信号をオンしてCM(2)を切り離
す。
Therefore, in this example, although CM (2) is abnormal at "11", but CM (1) is normal, CM (2) is disconnected and CM (1) alone executes the next cycle. That is, SC
Turn on the UT (slave cut) signal to disconnect CM (2).

(4)CMからの読み出しシーケンスにおいて、CM(1)
が異常でCM(2)が正常の場合(第11図参照) この例では、スレーブメモリCM(2)が正常でマスタ
メモリCM(1)が異常であるから、フリップフロップFF
の状態を反転させることにより、CM(1)をスレーブと
し、CM(2)をマスタに切り換えた後、SCUT信号をオン
にしてこのスレーブとなったスレーブメモリCM(1)を
切り離す。
(4) CM (1) in the read sequence from CM
Is abnormal and CM (2) is normal (see FIG. 11) In this example, since the slave memory CM (2) is normal and the master memory CM (1) is abnormal, the flip-flop FF
By reversing the state of, the CM (1) is switched to the slave and the CM (2) is switched to the master, and then the SCUT signal is turned on to disconnect the slave memory CM (1) which is the slave.

(5)CMからの読み出しシーケンスにおいて、 CM(1)正常、CM(2)無応答(異常)の場合(第12図
参照) この例では、マスタメモリCM(1)は8回目のデータ
送出と共にエンド信号を送出するので正常であるが、ス
レーブメモリCM(2)は全く無応答(異常)のままであ
る。
(5) In the read sequence from the CM, when CM (1) is normal and CM (2) is unresponsive (abnormal) (see FIG. 12), in this example, the master memory CM (1) sends the 8th data and Although the end signal is sent normally, the slave memory CM (2) remains completely unresponsive (abnormal).

この場合には、CMA内のタイマTが作動し、該タイマ
Tがタイムアップした後、スレーブメモリCM(2)を異
常として切り離す。
In this case, the timer T in the CMA is activated, and after the timer T has timed out, the slave memory CM (2) is disconnected as an abnormality.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記のような従来のものにおいては次のような欠点が
あった。
The conventional device as described above has the following drawbacks.

即ち、下位装置が多重化されている場合、一方からは
正常応答、他方からは無応答となる場合がある(例えば
上記第12図の例を参照)。
That is, when the lower-level devices are multiplexed, one side may have a normal response and the other side may have no response (for example, see the example of FIG. 12 above).

このような場合、上位装置は、両方の終了ステータス
を知るため、ある一定時間(タイマがタイムアウトする
までの時間)待つことになり、上位装置の性能を落とす
欠点があった。
In such a case, the host device waits for a certain period of time (time until the timer times out) in order to know both end statuses, which has a drawback of degrading the performance of the host device.

本発明は、このような従来の欠点を解決するためにな
されたものであり、一方の下位装置が正常にシーケンス
を完了したと判断される(2ビット以下のエラーは正常
とみなす)応答が返って来たタイミングで、他方の応答
がないか、またはないと見なされた場合、その装置は故
障とみなすようにして、多重化装置の性能を落とさない
ようにすることを目的としたものである。
The present invention has been made in order to solve such a conventional drawback, and one of the lower devices judges that the sequence is normally completed (an error of 2 bits or less is regarded as normal) and a response is returned. The purpose of this is to consider the device as a failure when the other response is considered to be absent or absent at the timing when the other device arrives so that the performance of the multiplexing device is not degraded. .

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

上記の目的を達成するため、本発明は次のようにした
ものである。
In order to achieve the above object, the present invention is as follows.

第1図は本発明に係る多重化装置に於ける異常検出方
式の原理図であり、以下この図に基づいて本発明の原理
を説明する。
FIG. 1 is a principle diagram of an abnormality detection system in a multiplexing device according to the present invention, and the principle of the present invention will be described below with reference to this diagram.

多重化された下位装置として2つのメモリ、すなわ
ち、マスタメモリとしてのコモンメモリCM(1)と、ス
レーブメモリとしてのコモンメモリCM(2)とを設け
る。
Two memories, that is, a common memory CM (1) as a master memory and a common memory CM (2) as a slave memory are provided as the multiplexed lower devices.

そして、バスに接続された上位装置、例えば、中央
処理装置CPU等から送出されるクロックに同期して、種
々のコマンドに対する実行をするようになっている。
Then, various commands are executed in synchronization with a clock transmitted from a host device connected to the bus, such as a central processing unit CPU.

また、CMA(コモン・メモリ・アダプタ)内には、異
常検出回路ADを設けて下位装置であるCM(1)とCM
(2)の異常を検出する。
Also, an abnormality detection circuit AD is provided in the CMA (common memory adapter), and CM (1) and CM, which are lower devices, are installed.
The abnormality of (2) is detected.

CM(1)及びCM(2)からは、CMAに対して、それぞ
れ終了信号であるEND#0とEND#1(それぞれ1ビット
で、例えば未終了の時“0"で終了すると“1"となる)
と、ステータス信号であるSTAT#0とSTAT#1(2ビッ
トから成り、正常の時B“00"で、1ビットエラー時は
B“01"、2ビットエラー時はB“10"で、制御回路の異
常時はB“11")を送出して報告する。
From CM (1) and CM (2), the end signals END # 0 and END # 1 to the CMA (each is 1 bit, for example, when it is not finished, it ends with "0", and then with "1"). Become)
And status signals STAT # 0 and STAT # 1 (consisting of 2 bits, B "00" for normal operation, B "01" for 1-bit error, B "10" for 2-bit error, and control When the circuit is abnormal, B "11") is sent and reported.

CMA内の異常検出回路ADでは、この報告に基づき、異
常を検出する。
The abnormality detection circuit AD in the CMA detects an abnormality based on this report.

この場合、正常応答よりも速くエラー報告があるとこ
れを無視して報告がなかったものとし、下位装置の何れ
か1つの正常応答を受け取った時点で、応答のない装置
(上記のように無視されたものを含む)は強制的にエラ
ーと見なすようにして異常を検出する。
In this case, if there is an error report faster than the normal response, it is ignored and it is assumed that there was no report, and when any one of the lower-level devices receives a normal response, the device with no response (ignored as above) (Including the ones that have been specified) are forcibly regarded as errors, and anomalies are detected.

〔作用〕[Action]

多重化された下位装置であるCM(1)とCM(2)にお
いて異常(エラー)が発生した場合、そのエラーをCMA
に報告できる場合と、できない場合とがある。
If an error (error) occurs in CM (1) and CM (2), which are multiplexed lower-level devices, the error is reported by CMA.
May or may not be reported to.

正常終了時において、異常が報告できない場合は当然
に応答なしとして検出されるが、正常終了時以前にエラ
ーの報告があった場合には、これを無視することによ
り、上記のような無応答の場合と同じに取り扱うもので
ある。
At the time of normal termination, if no error can be reported, it is naturally detected as no response, but if an error is reported before the normal termination, by ignoring this, the above-mentioned no response is returned. It is handled as in the case.

これにより、異常検出が簡単に、かつ容易にできる。 This makes it possible to easily and easily detect an abnormality.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて説明する。第
2図は本発明の1実施例である多重化装置に於ける異常
検出方式を示した図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a diagram showing an anomaly detection method in a multiplexing device according to an embodiment of the present invention.

CPU1及びCPU2は、それぞれCMA(コモン・メモリ・ア
ダプタ)の上位装置であり、CMAに対してバスで接続
されている。
The CPU1 and the CPU2 are host devices of a CMA (common memory adapter), and are connected to the CMA by a bus.

また、CMAの下位装置としては、多重化コモンメモリ
が設けられており、その1つであるCM(1)を例えばマ
スタメモリとし、他の1つであるCM(2)を例えばスレ
ーブメモリとして多重化されている。
Also, as a lower device of the CMA, a multiplexing common memory is provided, one of which, CM (1), is used as a master memory, and the other one, CM (2), is used as a slave memory, for example. Has been converted.

そして、コモン・メモリ・アダプタCMA内には、コモ
ンメモリであるCM(1)及びCM(2)の異常を検出する
異常検出回路AD、マスタメモリとスレーブメモリを切り
換えるためのフリップフロップFF、フリップフロップFF
の出力信号を反転するためのインバータINV、及び制御
回路等を設ける。
Then, in the common memory adapter CMA, an abnormality detection circuit AD for detecting an abnormality of the common memory CM (1) and CM (2), a flip-flop FF for switching between the master memory and the slave memory, a flip-flop FF
An inverter INV for inverting the output signal of, a control circuit, and the like are provided.

CMAとコモンメモリとの間の接続は、上記従来例と同
じであり、各種の信号も同様である。
The connection between the CMA and the common memory is the same as in the conventional example described above, and the same applies to various signals.

即ち、BUSは双方向性バス、CMDV(コモンバリッ
ド)信号は、CMAからコモンメモリCMに送出されるコマ
ンド有効信号、DATV(データバリッド)信号は、CMA
からコモンメモリCMに送出されるデータ有効信号、DS
END信号(データ送出信号)は、CMからCMAにデータを送
出する場合のデータ有効信号(マスタメモリのみが送出
可)、CMDはCMAからCMに送出されるコマンド信号であ
る。
That is, BUS is a bidirectional bus, CMDV (common valid) signal is a command valid signal sent from CMA to common memory CM, and DATV (data valid) signal is CMA.
Data valid signal sent from CM to common memory CM, DS
The END signal (data transmission signal) is a data valid signal when data is transmitted from the CM to the CMA (only the master memory can be transmitted), and the CMD is a command signal transmitted from the CMA to the CM.

また、clock(クロック)は、CMAから送出されるコ
モンメモリのクロック線であり、このクロック線から送
出されるクロックにより、CMAとCM(1)及びCM(2)
は同期して動作するものである。
Also, clock is the clock line of the common memory sent from the CMA, and the CMA and CM (1) and CM (2) are sent by the clock sent from this clock line.
Operates in synchronization.

STAT#0及びSTAT#1は、それぞれ2ビットから成
るステータス信号、END#0及びEND#1はそれぞれエ
ンド信号(終了信号)である。
STAT # 0 and STAT # 1 are 2-bit status signals, and END # 0 and END # 1 are end signals (end signals).

SCUT(スレーブカット)信号はCM(1)またはCM
(2)のうち、スレーブCMとなった方を異常時に切り離
すために用いるものである。
SCUT (slave cut) signal is CM (1) or CM
Of (2), it is used to disconnect the one that became the slave CM when an abnormality occurs.

MASTERとSLAVEはCM(1)とCM(2)の内、どちら
か一方をマスタとし、他方をスレーブとするための信号
であり、フリップフロップFFから出される信号である。
MASTER and SLAVE are signals for making one of CM (1) and CM (2) a master and the other a slave, and are signals output from the flip-flop FF.

第3図は、第2図の異常検出回路の詳細図である。 FIG. 3 is a detailed diagram of the abnormality detection circuit of FIG.

図において、INV(1)〜INV(4)はそれぞれインバ
ータ、NAND(1)〜NAND(5)はそれぞれナンド回路、
AND(1)〜AND(4)はそれぞれアンド回路、JK−1〜
JK−4はJKフリップフロップ、DはDフリップフロッ
プ、MDはマスタ側のデコーダ、SDはスレーブ側のデコー
ダである。
In the figure, INV (1) to INV (4) are inverters, NAND (1) to NAND (5) are NAND circuits, respectively.
AND (1) to AND (4) are AND circuits, JK-1 to JK-1, respectively.
JK-4 is a JK flip-flop, D is a D flip-flop, MD is a master side decoder, and SD is a slave side decoder.

また、入力信号としては、STAT#0の2ビットがST
AT0#0とSTAT1#0であり、STAT#1の2ビットがST
AT0#1とSTAT1#1、END#0とEND#1がそれぞれ
END#0とEND#1となる。
Also, as the input signal, 2 bits of STAT # 0 are ST
AT0 # 0 and STAT1 # 0, 2 bits of STAT # 1 are ST
AT0 # 1 and STAT1 # 1, END # 0 and END # 1 respectively
It becomes END # 0 and END # 1.

次に第4図乃至第6図に示した具体例について説明す
る。
Next, the specific example shown in FIGS. 4 to 6 will be described.

(1)CMからの読み出し(シーケンスにおいて、マスタ
メモリCM(1)が正常で、スレーブメモリCM(2)が無
応答(異常)の場合(第4図参照)。
(1) Reading from CM (when the master memory CM (1) is normal and the slave memory CM (2) is non-responsive (abnormal) in the sequence (see FIG. 4).

この場合は、上記従来例と同様にしてデータの読み出
しを行う。
In this case, the data is read in the same manner as the above-mentioned conventional example.

即ち、データの送出及びDSEND信号の送出はマスタ信
号でオンを受け取った方のCM(この図ではMASTERでCM
(1)がマスタ)のみが送出を行う。
In other words, data transmission and DSEND signal transmission are performed by the CM that received ON from the master signal (in this figure, the CM by MASTER
Only (1) is the master).

CPU1またはCPU2よりCMAが読み出し要求(Read要求)
を受取ると、所定の手順を取り、CMに対し、メモリアド
レス(ADD)、データレングス(LNG)をBUSに、CMD信
号をリード(Read)にし、CMDV信号をオンにする。
CMA requests read from CPU1 or CPU2 (Read request)
When it receives a message, it takes a predetermined procedure, sets the memory address (ADD) and data length (LNG) to BUS, sets the CMD signal to read (Read), and turns on the CMDV signal.

その後、CMDV信号をオフとし、DSEND信号を待つ。 After that, turn off the CMDV signal and wait for the DSEND signal.

DSEND信号を受取ると、その時のBUS上のデータを受取
る。このようにして、システムクロック毎に1バイトず
つのデータを8回受け取ると、マスタメモリであるCM
(1)からはEND信号(END#0)とステータス信号(ST
AT)が送られてくる。
When the DSEND signal is received, the data on the BUS at that time is received. In this way, when 1 byte of data is received 8 times for each system clock, the CM that is the master memory
From (1), END signal (END # 0) and status signal (ST
AT) will be sent.

しかし、この時、スレーブメモリであるCM(2)から
は何の応答もない(END#1信号とSTAT#1信号な
し)。
However, at this time, there is no response from the slave memory CM (2) (no END # 1 signal and STAT # 1 signal).

したがって、この時異常検出回路がこれを検知するか
ら、これに基づいて、SCUT(スレーブカット)をオンに
してスレーブメモリであるCM(2)を切り離す。
Therefore, at this time, the abnormality detection circuit detects this, and based on this, the SCUT (slave cut) is turned on to disconnect the CM (2) which is the slave memory.

結局、無応答の場合には、従来のように、タイマのタ
イムアウトを待つことなく、異常状態とみなして異常メ
モリを切り離す。
After all, if there is no response, the abnormal memory is disconnected without waiting for the timer to time out as in the conventional case.

そして、残った方のメモリだけで次のサイクルの実行
をする。
Then, only the remaining memory executes the next cycle.

(2)CMからの読み出しシーケンスにおいて、マスタCM
(1)正常、スレーブCM(2)異常の場合(応答あり) この場合は、CM(1)が正常でCM(2)が異常である
(報告あり)。この例のように、データ送出の途中で異
常となり、異常信号(END#1のB“11"信号)を異常検
出回路が検出した時は、これを無視し、CM(1)の正常
応答(END#0とSTAT信号)があった時のみ、その時点
でCM(1)からのEND信号がなかったものとして取り扱
うものである。
(2) Master CM in the read sequence from CM
(1) Normal, Slave CM (2) Abnormality (with response) In this case, CM (1) is normal and CM (2) is abnormal (reported). As in this example, when an abnormality occurs during data transmission and the abnormality detection circuit detects the abnormality signal (B # 11 signal of END # 1), this is ignored and the normal response of CM (1) ( Only when there is END # 0 and STAT signal), it is treated as if there was no END signal from CM (1) at that time.

したがって、この例では、END#1の異常信号を無視
するからEND#0が出された後のサイクルでSCUT ONとな
りスレーブメモリCM(2)を切り離す。
Therefore, in this example, since the abnormal signal of END # 1 is ignored, SCUT becomes ON in the cycle after END # 0 is issued, and the slave memory CM (2) is disconnected.

(3)CMからの読み出しシーケンスにおいて、スレーブ
メモリCM(2)が正常で、マスタメモリCM(1)が異常
の場合 この例では、データ転送の途中でマスタメモリCM
(1)から異常信号(STATB“11")が出されたが、スレ
ーブメモリCM(2)からは正常終了信号が出された場合
である。
(3) When the slave memory CM (2) is normal and the master memory CM (1) is abnormal in the read sequence from the CM In this example, the master memory CM is in the middle of data transfer.
This is a case where the abnormal signal (STATB “11”) is output from (1) but the normal end signal is output from the slave memory CM (2).

この時CM(1)から出された異常信号は無視する。 At this time, the abnormal signal output from CM (1) is ignored.

そして、マスタメモリの異常であるからフリップフロ
ップFFの状態を反転して、マスタとスレーブとを反転
し、新スレーブメモリを切り離す。
Then, since the master memory is abnormal, the state of the flip-flop FF is inverted, the master and the slave are inverted, and the new slave memory is separated.

すなわ、CM(2)をマスタとし、CM(1)をスレーブ
とした状態でスレーブメモリCM(1)を切り離す。
That is, the slave memory CM (1) is disconnected while the CM (2) is the master and the CM (1) is the slave.

第3図に示した異常検出回路の動作は次のとおりであ
る。
The operation of the abnormality detection circuit shown in FIG. 3 is as follows.

END信号は未終了で“0"、正常終了で“1"、STATは2
ビットから成り、“00"は正常、“01"は1ビットエラ
ー、“10"は2ビットエラー、“11"は異常(2ビットエ
ラーまでは正常とみなす)である。
END signal is "0" when not completed, "1" when completed normally, STAT is 2
It consists of bits, "00" is normal, "01" is 1-bit error, "10" is 2-bit error, and "11" is abnormal (up to 2-bit error is considered normal).

(1)マスタ、スレーブ共に正常な場合(第8図、第9
図参照) 入力信号は、END#0B“1"(END#0のビットが“1"の
意味)、STAT0#0(STAT#0の1ビット目)B“0"、S
TAT1#0(STAT#0の2ビット目)B“0"、END#1B
“1"、STAT0#1B“0"、STAT1#1B“0"である。
(1) When both master and slave are normal (Figs. 8 and 9)
(Refer to the figure) Input signals are END # 0B “1” (meaning that the END # 0 bit is “1”), STAT0 # 0 (1st bit of STAT # 0) B “0”, S
TAT1 # 0 (2nd bit of STAT # 0) B “0”, END # 1B
These are “1”, STAT0 # 1B “0”, and STAT1 # 1B “0”.

この信号によりNAND(1)〜NAND(4)の出力は全部
“0"となり、NAND(5)の出力は“1"となるから、AND
(1)〜AND(4)の出力は全て“0"となる。
With this signal, the outputs of NAND (1) to NAND (4) all become "0", and the output of NAND (5) becomes "1".
The outputs of (1) to AND (4) are all "0".

このため、マスタ側とスレーブ側のデコーダ出力はB
“00"となり正常である旨 の信号が出される。
Therefore, the decoder outputs on the master and slave sides are B
It becomes "00" and a signal indicating that it is normal is output.

(2)マスタ及びスレーブ共に正常であるが、マスタメ
モリが1ビットエラーでスレーブメモリが2ビットエラ
ーの場合(第8図、第9図参照) 入力信号は、END#0B“1"、STAT0#0B“1"、STAT1#0
B“0"、END#1B“1"、STAT0#1B“0"、STAT1#1B“1"で
ある。
(2) Both the master and slave are normal, but the master memory has a 1-bit error and the slave memory has a 2-bit error (see Figures 8 and 9). Input signals are END # 0B “1”, STAT0 # 0B “1”, STAT1 # 0
B “0”, END # 1B “1”, STAT0 # 1B “0”, and STAT1 # 1B “1”.

この信号により、NAND(1)とNAND(4)の出力は
“1"で、NAND(2)とNAND(3)の出力は“1"となる。
With this signal, the outputs of NAND (1) and NAND (4) are "1", and the outputs of NAND (2) and NAND (3) are "1".

したがって、AND(1)とAND(4)の出力は“1"でAN
D(2)とAND(3)の出力は“0"となるから、マスタ側
デコーダMDの出力はB“01"となり、スレーブ側デコー
ダSDの出力はB“10"となる。
Therefore, the output of AND (1) and AND (4) is "1" and AN
Since the outputs of D (2) and AND (3) are "0", the output of the master side decoder MD is B "01" and the output of the slave side decoder SD is B "10".

しかし、この場合、1ビットエラーと、2ビットエラ
ーであるから、この例では正常として扱われることにな
る。
However, in this case, since there are 1-bit error and 2-bit error, they are treated as normal in this example.

(3)マスタメモリが正常でスレーブメモリが異常の場
合(第5図参照) 入力信号は、END#0B“1"、STAT0#0B“0"、STAT1#0
B“0"、END#1B“1"、STAT0#1B“1"、STAT1#1B“1"で
ある。
(3) When the master memory is normal and the slave memory is abnormal (see Fig. 5) The input signals are END # 0B “1”, STAT0 # 0B “0”, STAT1 # 0
B “0”, END # 1B “1”, STAT0 # 1B “1”, and STAT1 # 1B “1”.

この信号により、NAND(1)とNAND(2)の出力は
“0"でNAND(3)とNAND(4)の出力は“1"となり、NA
ND(5)の出力は“1"となる。
This signal causes the outputs of NAND (1) and NAND (2) to be "0" and the outputs of NAND (3) and NAND (4) to be "1",
The output of ND (5) becomes "1".

このため、AND(1)とAND(2)の出力は“0"でAND
(3)とAND(4)の出力は“1"となるから、マスタ側
デコーダMDの出力はB“00"で正常、スレーブ側デコー
ダSDの出力はB“11"で異常信号となる。
Therefore, the output of AND (1) and AND (2) is AND with "0".
Since the outputs of (3) and AND (4) are "1", the output of the master side decoder MD is B "00", which is normal, and the output of the slave side decoder SD is B "11," which is an abnormal signal.

なお、上記実施例においては、コモンメモリが、一方
は正常で他方が無応答(異常)の場合について説明した
が、両方の下位装置が同時に無応答となることも考えら
れる。
It should be noted that, in the above embodiment, the case where one of the common memories is normal and the other is non-responsive (abnormal) has been described, but it is conceivable that both lower-level devices become non-responsive at the same time.

しかし、このような異常は非常に稀であると考えられ
るから、その場合には従来と同様にタイマによるタイム
アップで検出することになる。
However, since such an abnormality is considered to be extremely rare, in that case, the time will be detected by the timer as in the conventional case.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば次のような効果
がある。
As described above, the present invention has the following effects.

多重化した装置(例えばメモリ)の一方が無応答とな
るような故障をした場合でも、性能を落とすことなく切
り離し動作を行うことが可能となる。
Even if one of the multiplexed devices (for example, memories) has a failure such that there is no response, the disconnection operation can be performed without degrading the performance.

また、それぞれの多重化した装置の終了報告が別々の
タイミングで来たとしても、そのエラーステータス等を
記憶しておく必要が無く、回路の簡素化が図れる等の効
果がある。
Further, even if the completion reports of the respective multiplexed devices come at different timings, there is no need to store the error status and the like, and there is an effect that the circuit can be simplified.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例構成図、 第3図は本発明における異常検出回路の一例、 第4図〜第6図は本発明の動作説明図、 第7図は従来例構成図、 第8図〜第12図は従来例の動作説明図である。 CMA……コモン・メモリ・アダプタ AD……異常検出回路 FF……フリップフロップ INV……インバータ CM(1)……コモンメモリ(マスタメモリ) CM(2)……コモンメモリ(スレーブメモリ) NAND……ナンド回路 AND……アンド回路 MD……マスタ側デコーダ SD……スレーブ側デコーダ JK−1〜JK−4……JKフリップフロップ D……Dフリップフロップ FIG. 1 is a diagram illustrating the principle of the present invention, FIG. 2 is a configuration diagram of an embodiment of the present invention, FIG. 3 is an example of an abnormality detection circuit in the present invention, and FIGS. FIG. 7 is a configuration diagram of a conventional example, and FIGS. 8 to 12 are operation explanatory diagrams of the conventional example. CMA …… Common memory adapter AD …… Abnormality detection circuit FF …… Flip-flop INV …… Inverter CM (1) …… Common memory (master memory) CM (2) …… Common memory (slave memory) NAND …… NAND circuit AND …… AND circuit MD …… Master side decoder SD …… Slave side decoder JK-1 to JK-4 …… JK flip-flop D …… D flip-flop

フロントページの続き (56)参考文献 特開 昭54−529(JP,A) 特開 昭57−125446(JP,A) 実開 昭62−166539(JP,U)Continuation of the front page (56) References JP-A-54-529 (JP, A) JP-A-57-125446 (JP, A) Actually developed JP-A-62-166539 (JP, U)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】多重化された下位装置を備え、これら下位
装置は上位装置から送出されるクロックにより同期動作
を行い、かつ下位装置は上位装置から発せられたコマン
ドに対する実行結果が正常に終了した場合は正常応答の
動作報告を行い、異常検出の場合は異常報告の動作終了
報告を終了ステータスとともに各々個別に報告するよう
にした多重化装置において、 上位装置に下位装置の異常を検出する異常検出手段(A
D)を具備し、 下位装置から正常応答に比べて速い異常報告があった場
合はこれを無視して何の応答もなかったものとみなし、 下位装置の何れか1つからコマンド実行に対する正常応
答を受取った時点でこのコマンドの実行結果にもとづき
制御するように構成したことを特徴とする多重化装置の
異常検出方式。
1. A multiplexed lower device is provided, and these lower devices perform a synchronous operation by a clock sent from the upper device, and the lower device normally ends an execution result for a command issued from the upper device. In the case of a multiplexing device, an operation report of normal response is reported in case of abnormality, and an operation completion report of abnormality report is reported in addition to the termination status in case of abnormality detection. Means (A
D) is provided, and if there is an abnormal report that is faster than the normal response from the lower device, it is ignored and it is considered that there is no response, and a normal response to the command execution from any one of the lower devices. An abnormality detection method for a multiplexing device, characterized in that it is configured to perform control based on the execution result of this command at the time of receiving.
JP63201302A 1988-08-12 1988-08-12 Anomaly detection method for multiplexer Expired - Fee Related JPH0831048B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63201302A JPH0831048B2 (en) 1988-08-12 1988-08-12 Anomaly detection method for multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63201302A JPH0831048B2 (en) 1988-08-12 1988-08-12 Anomaly detection method for multiplexer

Publications (2)

Publication Number Publication Date
JPH0250736A JPH0250736A (en) 1990-02-20
JPH0831048B2 true JPH0831048B2 (en) 1996-03-27

Family

ID=16438744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63201302A Expired - Fee Related JPH0831048B2 (en) 1988-08-12 1988-08-12 Anomaly detection method for multiplexer

Country Status (1)

Country Link
JP (1) JPH0831048B2 (en)

Also Published As

Publication number Publication date
JPH0250736A (en) 1990-02-20

Similar Documents

Publication Publication Date Title
US5452443A (en) Multi-processor system with fault detection
US4494190A (en) FIFO buffer to cache memory
CN110147343B (en) Full-comparison Lockstep processor architecture
JP2006178636A (en) Fault tolerant computer and its control method
US5905875A (en) Multiprocessor system connected by a duplicated system bus having a bus status notification line
US4736365A (en) Method and apparatus for controlling access to an asynchronous communication network
JPH0232656B2 (en)
JPH0831048B2 (en) Anomaly detection method for multiplexer
JP4048988B2 (en) Fault tolerant system and synchronization method used therefor
JPH11191073A (en) PCI bus processor
JPH08123770A (en) Data communication controller
JP2941387B2 (en) Multiplexing unit matching control method
JP3471913B2 (en) Computer system
JP3141948B2 (en) Computer system
JP2969744B2 (en) Data transmission method of computer system
JPS633351B2 (en)
JP2573790B2 (en) Transfer control device
JPS63201863A (en) Information transfer method
JP2001356881A (en) Multiplexed storage controller
JP2910281B2 (en) Serial bus synchronization method
JP3497179B2 (en) Bus management method for data processing system
JPH0751633Y2 (en) Memory control circuit
JPH07143148A (en) High-speed cyclic transmission device
JPS59200365A (en) Transfer system of control information
JPH06223031A (en) Transfer controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees