JPS62140153A - Duplicated data processor - Google Patents

Duplicated data processor

Info

Publication number
JPS62140153A
JPS62140153A JP60282399A JP28239985A JPS62140153A JP S62140153 A JPS62140153 A JP S62140153A JP 60282399 A JP60282399 A JP 60282399A JP 28239985 A JP28239985 A JP 28239985A JP S62140153 A JPS62140153 A JP S62140153A
Authority
JP
Japan
Prior art keywords
data
memory
memory device
bus
contents
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
JP60282399A
Other languages
Japanese (ja)
Inventor
Makoto Tazaki
田崎 信
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 JP60282399A priority Critical patent/JPS62140153A/en
Publication of JPS62140153A publication Critical patent/JPS62140153A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent the breakdown of a system caused by a double fault by writing the same data to both working and spare systems and comparing the data read out of both systems with each other with a reading request given from a CPU of the working system. CONSTITUTION:The contents of a memory device 4 are read out in response to a reading request given from a CPU 2 of own working system 1. At the same time, the contents of a memory device 4' of another spare system 1' are also read out via the double interface circuits 5 and 5'. Here the same data is written to the same address of the system 1' via the circuits 5 and 5'. These data read out in synchronism with each other are compared with each other by the CPU 2. When no coincidence is obtained from the comparison, the error information is produced. As a result, the coincidence is secured be tween the contents of both memories. The generation of the breakdown of a system caused by a double fault is prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は中央処理装置およびメモリ装置などを二重化し
た待機予備型の二重化データ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a redundant standby type data processing apparatus in which a central processing unit, a memory device, etc. are duplicated.

〔1既要〕 本発明は、同一データを現用メモリおよび予備メモリと
に格納する二重化データ処理装置において、 メモリに格納されているデータの一致を照合することに
より、 予備メモリのデータが破壊さていることを予備系への切
替以前にあらかじめ検知することができるようにしたも
のである。
[1 Already Required] The present invention provides, in a duplex data processing device that stores the same data in a current memory and a spare memory, the data in the spare memory is destroyed by verifying that the data stored in the memories match. This can be detected in advance before switching to the standby system.

〔従来の技術〕[Conventional technology]

従来の二重化データ処理装置では、自系のメモリ装置へ
のデータ書込み時に他系のメモリ装置へ同一データを書
込むことにより障害時の系切替をスムーズに行っていた
In conventional duplex data processing devices, when data is written to the memory device of the own system, the same data is written to the memory device of the other system, thereby smoothly switching systems in the event of a failure.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来例では、命令またはデータの読み出し時
には自系のメモリ装置からのみ読み出すので、他系のメ
モリ装置に障害が発生してデータが破壊されていても、
検知する手段がなく、系が切替ってはしめて障害が検出
されることになり、/二重障害によりシステムがダウン
する欠点があった。
In such conventional examples, when reading instructions or data, the data is read only from the memory device of the own system, so even if a failure occurs in the memory device of the other system and the data is destroyed,
There was no means to detect it, and the fault would be detected only after the system was switched and shut down, resulting in the system going down due to double faults.

本発明はこのような欠点を除去するもので、系の切替時
以前にあらかじめ二つのメモリに格納されたデータの一
敗を検知することができる二重化データ処理装置を提供
することを目的とする。
The present invention aims to eliminate such drawbacks, and aims to provide a duplex data processing device that can detect failure of data stored in two memories before switching systems.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、現用系に含まれる第一のメモリと、予備系に
含まれる第二のメモリと、この第一のメモリおよび第二
のメモリの対応するアドレスの付された領域に同一デー
タを書き込む手段とを備えた二重化データ処理装置にお
いて、上記第一のメモリと第二のメモリの対応するアド
レスの付された領域から読み出したデータを比較する比
較手段を備えたことを特徴とする。
The present invention writes the same data to a first memory included in the active system, a second memory included in the backup system, and areas with corresponding addresses in the first memory and second memory. The duplex data processing device is characterized by comprising a comparing means for comparing data read from correspondingly addressed areas of the first memory and the second memory.

〔作用〕[Effect]

現用系および予備系には同一データが書き込まれる。し
かし、この書きこまれた結果のデータが雑音などの影響
により常に一致するとは限らない。
The same data is written to the active system and the backup system. However, the written data does not always match due to noise and other factors.

本発明はこの不一致を検知するものであって、現用系の
中央処理装置からのメモリリード要求が現用系および予
備系のメモリに送出され、この二つのメモリからの読み
出しデータが比較回路で比較され、不一致時にはエラー
情報が生成される。これにより二つのメモリの内容の一
致が保証される。
The present invention detects this mismatch by sending a memory read request from the active central processing unit to the active and backup memories, and comparing the read data from these two memories in a comparison circuit. , error information is generated when there is a mismatch. This ensures that the contents of the two memories match.

このモードの設定は中央処理装置の指令に基づく。Setting of this mode is based on instructions from the central processing unit.

〔実施例〕〔Example〕

以下、本発明の実施例装置を図面に基づいて説明する。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be explained based on the drawings.

第1図は本発明実施例装置の構成を示すブロック構成図
であり、この装置は自系システム1と他系システム1′
とを備え、自系システム1には、中央処理装置2と入出
力制御装置3とがバス6を介してメモリ装置4と二重化
インタフェース回路5とに接続される。また、他系シス
テム1′でも自系システム1と同一の構成である。さら
に、自系システム1と他系システム1′とは、バス7を
介して二重化インタフェース回路5および5′により接
続される。第2図はこの実施例装置の二重化インタフェ
ース回路5の構成を示すブロック構成図であり、バス6
およびインタフエースハ′スフはそれぞれ制御綿60お
よび70とデータ線61および71と、アドレス線62
および72とに分けられる。二重化インタフェース回路
5は、バス6からアクセスを受付けてそれをハス7に送
出するアクセス送出回路8と、ハス7からアクセスを受
付けてそれをハス7へ送出するアクセス送出回路9と、
ハス6からの読み出しデータとバス7からの読み出しデ
ータを比較する比較回路10とを備える。バス7ヘアク
セスを送出するアクセス送出回路8は制御回路81を含
み、バス6ヘアクセスを送出するアクセス送出口路9は
制御回路91を含む。
FIG. 1 is a block diagram showing the configuration of a device according to an embodiment of the present invention, which includes a local system 1 and a foreign system 1'.
In the own system 1, a central processing unit 2 and an input/output control unit 3 are connected to a memory device 4 and a duplex interface circuit 5 via a bus 6. Furthermore, the other system 1' has the same configuration as the own system 1. Further, the own system 1 and the other system 1' are connected via a bus 7 by duplex interface circuits 5 and 5'. FIG. 2 is a block diagram showing the configuration of the duplex interface circuit 5 of this embodiment, and shows the configuration of the bus 6.
and the interface space includes control lines 60 and 70, data lines 61 and 71, and address line 62, respectively.
and 72. The duplex interface circuit 5 includes an access sending circuit 8 that accepts access from the bus 6 and sends it to the lotus 7, an access sending circuit 9 that receives access from the lotus 7 and sends it to the lotus 7,
A comparison circuit 10 is provided to compare data read from the bus 6 and data read from the bus 7. The access sending circuit 8 that sends out accesses to the bus 7 includes a control circuit 81 , and the access sending out path 9 that sends out accesses to the bus 6 includes a control circuit 91 .

次に、本発明の動作を第3図ないし第5図に基づいて説
明する。二重化システム1は非同期モード、コピーモー
ド、同期モードの三つの動作モードを持つ。まず、非同
期モード時に、第3図の破線で示すように自系の中央制
御装置2から他系メそり装置4′へのアクセスの経路が
形成される。
Next, the operation of the present invention will be explained based on FIGS. 3 to 5. The duplex system 1 has three operating modes: asynchronous mode, copy mode, and synchronous mode. First, in the asynchronous mode, an access path is formed from the central control unit 2 of the own system to the measuring device 4' of the other system, as shown by the broken line in FIG.

この経路でリードおよびライト共に可能である。Both reading and writing are possible using this path.

非同期モード時に中央処理装置2から自系のメモリ装置
4のアクセス時は、二重化インタフェース回路5は動作
しない。次にコピーモード時には、第4図に示すように
リード時は読み出しデータは自系のメモリ装置4から読
み出され、ライト時は自系のメモリ装置4と他系のメモ
リ装W4’の双方の同一番地に同一データが書込まれる
。すなわち、リード時にデータが通過するバスは中央処
理装置2 へ゛ス6 メモリ装置4 バ ス6 中央処理装置2 に対して、ライト時のバスは 中央処理装置2 区 ハ゛ス6 インタフェースバスフ アクセス送出回路9′ ハス6′ メモリ装置4′ になる。次に、同期モード時には、ライト時のバスは第
4図と同一であり、リード時のバスは第5図に示すよう
に 中央処理装置2 ■ 比較回路10     インタフェースバス7圏 アクセス送出回路9′ ハ゛スフ 比較回路10 である。このモード時には、中央処理装置2からメモリ
リード要求は自系のメモリ装置4と他系の送出装置4′
に送出され、自系のメモリ装置4からの読み出しデータ
と他系のメモリ装置4′からの読み出しデータとは比較
回路10で比較され、不一致時にはエラー情報がメモリ
アクセス先に送出され、すなわち、同一番地の自系のメ
モリ装置4の内容と他系の送出装置4′の内容とが毎回
比較される。
When the central processing unit 2 accesses the memory device 4 of its own system in the asynchronous mode, the redundant interface circuit 5 does not operate. Next, in the copy mode, as shown in FIG. 4, the read data is read from the own system's memory device 4 when reading, and the read data is read from both the own system's memory device 4 and the other system's memory device W4' when writing. The same data is written to the same location. That is, the bus through which data passes during reading is the central processing unit 2 bus 6 memory device 4 bus 6 central processing unit 2, whereas the bus during writing is the central processing unit 2 bus 6 interface bus access sending circuit 9' bus 6' becomes a memory device 4'. Next, in the synchronous mode, the bus at the time of writing is the same as that shown in FIG. 4, and the bus at the time of reading is as shown in FIG. This is a comparison circuit 10. In this mode, a memory read request from the central processing unit 2 is sent to the memory device 4 of the own system and the sending device 4' of the other system.
The data read from the memory device 4 of the own system and the data read from the memory device 4' of the other system are compared in the comparison circuit 10, and if they do not match, error information is sent to the memory access destination. The contents of the memory device 4 of the own system at the address and the contents of the sending device 4' of the other system are compared every time.

さて、これらのモードの遷移は、立上げ時には非同期モ
ードであり、自系および他系のメモリ内容は異なってい
るが、同期モードにする前に、コピーモードにして自系
および他系のメモリ内容が合わせられる。すなわち、自
系のO番地からメモリを読み、読み出したデータを順次
書込めばメモリコピーができる。次に、同期モード時に
はリード時に読み出しデータの比較が行われて自系メモ
リと他系メモリの内容の一致が保証される。以上の三つ
のモードは中央処理装置2からバス6の中の制御信号v
A60を介して二重化インタフェース回路5の制御回路
81に入り、ここでアクセスバスが決定される。
Now, the transition between these modes is asynchronous mode at startup, and the memory contents of the local system and other systems are different, but before changing to synchronous mode, change the memory contents of the local system and other systems by switching to copy mode. can be matched. That is, a memory copy can be performed by reading the memory from address O of the own system and sequentially writing the read data. Next, in the synchronous mode, read data is compared at the time of reading to ensure that the contents of the own system memory and the other system memory match. The above three modes are controlled by the control signal v in the bus 6 from the central processing unit 2.
It enters the control circuit 81 of the duplex interface circuit 5 via A60, where the access bus is determined.

比較手段の起動は原則として随時である。一定周期で起
動させることもできるし、何らかの処理の前または後で
起動させることもできる。
In principle, the comparison means can be activated at any time. It can be started at regular intervals, or it can be started before or after some processing.

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

本発明は以上説明したように、二重化待機予備型データ
処理システムで同期モード時に自系メモリと他系メモリ
のデータ照合が行われるので、二重障害によるシステム
ダウンの危険性を軽減する効果がある。
As explained above, the present invention has the effect of reducing the risk of system down due to double failure, since the redundant standby backup type data processing system collates the data of the local memory and the other system memory in the synchronous mode. .

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

第1図は本発明実施例装置の構成を示すブロック構成図
。 第2図は第1図に示す二重化インタフェース回路の構成
を示すブロック構成図。 第3図〜第5図は本発明実施例装置の動作を示す説明図
。 1・・・自系システム、1′・・・他系システム、2.
2′・・・中央制御装置、3.3′・・・人出力制御装
置、4.4′・・・メモリ装置、5.5′・・・二重化
インクフェース回路、6.6′・・・バス、7・・・イ
ンタフェースパス、8.8′、9.9′・・・アクセス
送出口路、10.10′・・・比較回路、6o、7o・
・・制御線、61.71・・・データ線、62.72・
・・アドレス線、81.91・・・制御回路。 特許出廓人 日本電気株式会社 代理人  弁理士 井 出 直 孝 実施例の構成 第  1  図 第2図 動作説明 第3図 動作説明 第4図
FIG. 1 is a block configuration diagram showing the configuration of an apparatus according to an embodiment of the present invention. FIG. 2 is a block diagram showing the configuration of the duplex interface circuit shown in FIG. 1. 3 to 5 are explanatory diagrams showing the operation of the apparatus according to the embodiment of the present invention. 1... Own system, 1'... Other system, 2.
2'... Central control device, 3.3'... Human output control device, 4.4'... Memory device, 5.5'... Duplex ink face circuit, 6.6'... Bus, 7... Interface path, 8.8', 9.9'... Access output path, 10.10'... Comparison circuit, 6o, 7o.
...Control line, 61.71...Data line, 62.72.
...Address line, 81.91...Control circuit. Patent distributor: NEC Co., Ltd. Agent: Naotaka Ide, patent attorney Structure of the embodiment Fig. 1 Fig. 2 Explanation of operation Fig. 3 Explanation of operation Fig. 4

Claims (1)

【特許請求の範囲】[Claims] (1)現用系に含まれる第一のメモリと、 予備系に含まれる第二のメモリと、 この第一のメモリおよび第二のメモリの対応するアドレ
スの付された領域に同一データを書き込む手段と を備えた二重化データ処理装置において、 上記第一のメモリと第二のメモリの対応するアドレスの
付された領域から読み出したデータを比較する比較手段 を備えたことを特徴とする二重化データ処理装置。
(1) A first memory included in the active system, a second memory included in the backup system, and means for writing the same data into areas with corresponding addresses in the first memory and second memory. A duplex data processing device comprising: a comparison means for comparing data read from correspondingly addressed areas of the first memory and the second memory. .
JP60282399A 1985-12-16 1985-12-16 Duplicated data processor Pending JPS62140153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60282399A JPS62140153A (en) 1985-12-16 1985-12-16 Duplicated data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60282399A JPS62140153A (en) 1985-12-16 1985-12-16 Duplicated data processor

Publications (1)

Publication Number Publication Date
JPS62140153A true JPS62140153A (en) 1987-06-23

Family

ID=17651900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60282399A Pending JPS62140153A (en) 1985-12-16 1985-12-16 Duplicated data processor

Country Status (1)

Country Link
JP (1) JPS62140153A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03204746A (en) * 1990-01-08 1991-09-06 Fujitsu Ltd Self-diagnostic system for dual shared memory
EP1703400A2 (en) 2005-03-17 2006-09-20 Fujitsu Limited Dual storage apparatus and control method for the dual storage apparatus
WO2010109537A1 (en) * 2009-03-27 2010-09-30 富士通株式会社 Information processing apparatus, memory control method, and memory control apparatus
JP5360301B2 (en) * 2010-08-13 2013-12-04 富士通株式会社 MEMORY CONTROL DEVICE, INFORMATION PROCESSING DEVICE, AND MEMORY CONTROL DEVICE CONTROL METHOD

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57120161A (en) * 1981-01-19 1982-07-27 Fujitsu Ltd Fault detecting system
JPS6045856A (en) * 1983-08-22 1985-03-12 Fujitsu Ltd Memory control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57120161A (en) * 1981-01-19 1982-07-27 Fujitsu Ltd Fault detecting system
JPS6045856A (en) * 1983-08-22 1985-03-12 Fujitsu Ltd Memory control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03204746A (en) * 1990-01-08 1991-09-06 Fujitsu Ltd Self-diagnostic system for dual shared memory
EP1703400A2 (en) 2005-03-17 2006-09-20 Fujitsu Limited Dual storage apparatus and control method for the dual storage apparatus
WO2010109537A1 (en) * 2009-03-27 2010-09-30 富士通株式会社 Information processing apparatus, memory control method, and memory control apparatus
US8762673B2 (en) 2009-03-27 2014-06-24 Fujitsu Limited Interleaving data across corresponding storage groups
JP5360301B2 (en) * 2010-08-13 2013-12-04 富士通株式会社 MEMORY CONTROL DEVICE, INFORMATION PROCESSING DEVICE, AND MEMORY CONTROL DEVICE CONTROL METHOD

Similar Documents

Publication Publication Date Title
JPS62140153A (en) Duplicated data processor
JPH0122653B2 (en)
JPS63238655A (en) Information processor
JPS5845116B2 (en) Duplex storage device
JPH05108493A (en) Memory control system
JPH08220198A (en) Battery backup memory unit and backup function testing method
JPH11120087A (en) Dual-memory processor
JPH1063528A (en) Memory controller
JP2553524B2 (en) Bus connection structure of redundant configuration processor of distributed control type electronic exchange.
JP3012402B2 (en) Information processing system
JPH05127935A (en) Duplicating system computer device
JP2001142730A (en) Control system for cpu access space
JPS60112171A (en) Duplex processing system
JPH07152659A (en) Storage data protection device of computer
JPH01237734A (en) Duplexing device
JPH06348604A (en) Memory copy system
JPH05289896A (en) Fault tolerant computer
KR20000041123A (en) Memory comparator for duplex control structure of exchange
JPH0683720A (en) Data backup type computer system
JPH0283631A (en) Memory access system for duplex information processor
JPH08137709A (en) Information processing system
JPH10187355A (en) Disk control system
JPS61150041A (en) Duplex information processing system
JPH0259494B2 (en)
JPS62276929A (en) Parity abnormality detection circuit