JPH02199562A - Duplicated memory copy system - Google Patents

Duplicated memory copy system

Info

Publication number
JPH02199562A
JPH02199562A JP1017680A JP1768089A JPH02199562A JP H02199562 A JPH02199562 A JP H02199562A JP 1017680 A JP1017680 A JP 1017680A JP 1768089 A JP1768089 A JP 1768089A JP H02199562 A JPH02199562 A JP H02199562A
Authority
JP
Japan
Prior art keywords
memory
active
standby
address
signal
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
JP1017680A
Other languages
Japanese (ja)
Inventor
Mitsuho Kojima
児島 光保
Shigeru Tatezawa
茂 立澤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1017680A priority Critical patent/JPH02199562A/en
Publication of JPH02199562A publication Critical patent/JPH02199562A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To attain the coincidence of contents of duplex memories at real time by turning a memory device in a waiting system also to a driving state at the time of outputting a writing instruction to a memory device in an operational system and simultaneously writing the contents of both the memories. CONSTITUTION:A self-system/other system distinguishing code bit for the operating system X is built in a memory address and a connecting device 4 including memory bus connecting circuits 4X, 4Y for the standby system Y and the operating system X is provided with a memory address modifying circuit and an address strobe modifying circuit. When a writing instruction is outputted to an operating system memory device 2X, the information of the self-system display code bit is inputted to a memory 2Y in the waiting system by means of the memory address modifying circuit, fixed modification is applied to an address strobing signal outputted to the operating system X by means of the address strobe modifying circuit and the modified result is written in the memory 2Y of the standby system Y. At the time of writing information in the operating system memory, the same information is written also in the waiting system memory in the same writing cycle and the coincidence of contents of the duplex memories can be attained at real time.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、プロセッサおよびメモリ装置を二重化して、
運用系のシステムと待機系のシステムとを構成するデー
タ処理システムにおいて、両系のメモリ装置の記憶内容
を一致させるための二重化メモリコピー方式に関するも
のである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention has dual processors and memory devices,
The present invention relates to a duplex memory copy method for matching the storage contents of memory devices of both systems in a data processing system comprising an active system and a standby system.

[従来の技術] 二重化メモリコピー方式とは、二重化メモリの内容を一
致させるための処理方式をいうもので、該方式を必要と
する前記データ処理システムの具体例としては、いわゆ
る二重化プロセッサ装置や、フォールト・トレラント・
プロセッサ装置を挙げることができる。
[Prior Art] A duplex memory copy method is a processing method for matching the contents of a duplex memory, and specific examples of the data processing system that requires this method include a so-called duplex processor device, fault tolerant
Mention may be made of processor devices.

さて、゛従来、このようなデータ処理システムにおける
二重化メモリコピー方式として、特開昭60−8664
0号公報に記載の技術が開発された。
Now, ``Conventionally, as a duplex memory copy method in such a data processing system, Japanese Patent Application Laid-Open No. 60-8664
The technology described in Publication No. 0 was developed.

この技術は、二つのメモリ装置が共有するメモリバスに
、プロセッサ、コピー処理用のデータ処理回路、バスア
ービタ等を接続しておいて、前記プロセッサが出力する
メモリコピー指示命令に従って、一方のメモリ装置に書
き込んだデータを他方の系のメモリ装置にコピーするも
のである。
This technology connects a processor, a data processing circuit for copy processing, a bus arbiter, etc. to a memory bus shared by two memory devices, and then transfers data to one memory device according to a memory copy instruction command output from the processor. This is to copy the written data to the memory device of the other system.

[発明が解決しようとする課題] とこ汐が、前述のような二重化メモリコピー方式におい
ては、書き込みd令が出された場合、まず、一方のメモ
リ装置への書き込みを終了させ、その後に、さらに一方
のメモリ装置へ書き込んだデータを他方のメモリ装置へ
写すため、−時的に、二重化メモリの内容が一致しない
場合が発生するという問題があり、今後の解決すべき課
題とされていた。
[Problems to be Solved by the Invention] In the duplex memory copy method as described above, when a write d command is issued, writing to one memory device is first completed, and then the further Since data written in one memory device is copied to the other memory device, there is a problem in that the contents of the dual memories sometimes do not match, and this problem has been considered to be a problem to be solved in the future.

本発明は、前記事情に鑑みてなされたもので、二重化メ
モリの内容の一致をよりリアルタイムに達成することの
できる二重化メモリコピー方式を提供することを目的と
する。
The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a duplex memory copying method that can achieve matching of the contents of duplex memories in real time.

[課題を解決するための手段] 本発明に係る二重化メモリコピー方式は、プロセッサお
よびメモリ装置を二重化して、運用系のシステムと待機
系のシステムとを構成するデータ処理システムにおいて
、書き込み命令が出された場合に、同一のデータを−ラ
イトサイクルで両系のメモリ装置に書き込ませるもので
ある。
[Means for Solving the Problems] The duplex memory copy method according to the present invention is a data processing system in which a processor and a memory device are duplexed to constitute an active system and a standby system, in which a write command is issued. In this case, the same data is written to the memory devices of both systems in a -write cycle.

具体的には、予め、運用系に対して自系か他系かを区別
するための符号ビットをメモリ・アドレスの空きビ□ッ
トの一つに組み入れておいて、読み書き処理時に該符号
ビットを各メモリ装置に取り込ませて、符号ビットによ
って選択されたメモリ装置を動作させることとする。
Specifically, a code bit for distinguishing between the active system and the other system is incorporated into one of the empty bits of the memory address in advance, and the code bit is inserted during read/write processing. is loaded into each memory device, and the memory device selected by the sign bit is operated.

また、運用系および待機系のメモリバス相互はメモリバ
ス連絡装置を介して接続しておき、このメモリバス連絡
装置には、メモリ・アドレス・モデイファイ回路と、ア
ドレス・ストローブ・モディファイ回路とを備えておく
In addition, the active and standby memory buses are connected to each other via a memory bus communication device, and this memory bus communication device is equipped with a memory address modify circuit and an address strobe modify circuit. put.

メモリ・アドレス・モディファイ回路は、運用系のメモ
リバスに書き込み命令が出力された場合に、前記符号ビ
ットを使って待機系のメモリ装置を動作させる回路であ
る。
The memory address modify circuit is a circuit that operates a standby memory device using the sign bit when a write command is output to the active memory bus.

アドレス・ストローブ・モディファイ回路は、運用系の
メモリバスに書き込み命令が出力された場合に、運用系
メモリバス連絡装置から出力されたアドレス・ストロー
ブ信号を待機系メモリバス連絡装置のアドレス・ストロ
ーブ・モディファイ回路にて一定の修飾を施して待機系
のメモリバスに出力する回路である。
The address strobe modification circuit modifies the address strobe signal output from the active memory bus communication device to the address strobe modification circuit of the standby memory bus communication device when a write command is output to the active memory bus. This is a circuit that performs certain modifications on the circuit and outputs it to the standby memory bus.

[作用] 本発明に係る二重化メモリコピー方式は、運用系に対し
て自系か他系かを区別する符号ビットをメモリ・アドレ
スに組み入れ、さらに、待機系および運用系のメモリバ
ス相互を接続するメモリバス連絡装置には、メモリ・ア
ドレス・モディファイ回路と、アドレス・ストローブ・
モディファイ回路とを設けた構成である。
[Operation] The duplex memory copy method according to the present invention incorporates a code bit into the memory address to distinguish between the active system and the other system, and further connects the memory buses of the standby system and the active system to each other. The memory bus communication device includes a memory address modify circuit and an address strobe.
This configuration includes a modify circuit.

そして、運用系のメモリ装置に書き込み命令が出力され
たときには、前記メモリ・アドレス・モディファイ回路
を使って、自系を示す符号ビットのデータを待機系のメ
モリ装置に取り込ませるとともに、前記アドレス・スト
ローブ・モディファイ回路を使って、運用系に出力され
たアドレス・ストローブ信号に一定の修飾を施して待機
系のメモリ装置に出力し、書き込みを実施させる。
When a write command is output to the active memory device, the memory address modify circuit is used to cause the standby memory device to take in the code bit data indicating the own system, and the address strobe・Using a modify circuit, certain modifications are made to the address strobe signal output to the active system, and the output is output to the standby system memory device to perform writing.

そのため、運用系のメモリ装置がデータの書き込みを実
施する場合には、同一のライトサイクルで待機系のメモ
リ装置にも同一のデータの書き込むことができ、二重化
メモリの内容の一致をよりリアルタイムに達成すること
ができる。
Therefore, when the active memory device writes data, the same data can be written to the standby memory device in the same write cycle, achieving matching of the contents of the redundant memory in real time. can do.

[実施例] 以下、本発明の一実施例を第1図〜第5図に基づいて説
明する。
[Example] Hereinafter, an example of the present invention will be described based on FIGS. 1 to 5.

一実施例の二重化メモリコピー方式は、プロセッサおよ
びメモリ装置を二重化して、運用系のシステムと待機系
のシステムとを構成するデータ処環システムに使用する
もので、簡単に説明すれば、運用系のメモリ装置に書き
込み命令が出された場合に、待機系のメモリ装置も動作
状態にして、同時に両メモリ装置に書き込みを行わせる
ものである。
The duplex memory copying method of one embodiment is used in a data processing system in which processors and memory devices are duplicated to configure an active system and a standby system. When a write command is issued to one memory device, the standby memory device is also put into operation, and writing is performed in both memory devices at the same time.

このような処理を行うために、一実施例の二重化メモリ
コピー方式では、システム構成に工夫を凝らすだけでな
く、メモリ・アドレスにおけるビットの割り振りにも工
夫を凝らしている。
In order to perform such processing, in the duplex memory copy method of one embodiment, not only the system configuration is devised, but also the bit allocation in the memory address is devised.

まず、簡単に、システム構成を説明する。First, the system configuration will be briefly explained.

一実施例の二重化メモリコピー方式を使うデータ処理シ
ステムは、いわゆる二重化プロセッサ装置であり、フォ
ールト・トレラント・プロセッサ装置として利用される
ものである。
A data processing system using the duplex memory copy method of one embodiment is a so-called duplex processor device, and is used as a fault-tolerant processor device.

具体的には、第2図に示すように、運用系のシステムX
と、待機系のシステムYとから構成されている(運用系
であるか待機系であるかは固定されたものではなく、ど
ちらか一方が運用系として稼働していれば、他方は待機
系となる)。
Specifically, as shown in Figure 2, the operational system
and a standby system Y (it is not fixed whether it is an active system or a standby system; if one of them is operating as an active system, the other is a standby system). Become).

運用系および待機系の各システムは、プロセッサ(cp
u)1x+  lyと、メモリ装置2x、2Yと、メモ
リバス3x、3Yとを具備したもので、メモリバス3x
、3Y相互が二重化メモリコピーのために新設したメモ
リバス連絡装置4を介して接続されている。
Each of the active and standby systems has a processor (cp
u) 1x+ly, memory devices 2x, 2Y, and memory buses 3x, 3Y, with memory bus 3x
, 3Y are connected to each other via a newly installed memory bus communication device 4 for duplex memory copying.

このメモリバス連絡装置4は、運用系のメモリバス連絡
回路(MXC)4Xと、待機系のメモリバス連絡回路(
MXC)4yとから構成されていて、両メモリバス3X
、3Y間での信号の受は渡しをする。
This memory bus communication device 4 includes an active memory bus communication circuit (MXC) 4X and a standby memory bus communication circuit (MXC) 4X.
MXC) 4y, both memory buses 3X
, 3Y, signals are received and passed.

前述のメモリ装置2X、2Yのメモリ領域に関して、第
3図および第4図を使って説明する。
The memory areas of the aforementioned memory devices 2X and 2Y will be explained using FIGS. 3 and 4.

メモリ・アドレスのビットの割り振りは、第3図に示す
構成をなしている。
The bit allocation of the memory address has the configuration shown in FIG.

即ち、メモリ・アドレスは、A o−A nまでの(n
+1)個のビットで構成している。そして、その内のA
。−A6の(a+1)個のビット(ただし、l<a<n
)を、一つの系のメモリ領域を表す実効ビットとして使
用している。また、A、4.〜Anのビットは、メモリ
容量に影響せず、かつシステム中のどの装置にも影響し
ない、いわゆる空きビットとしている。そして、この空
きビットA a+ 1〜Anの内の最上位のピッl−A
。を、運用系Xに対して自系か他系かを区別するための
符号ピッ)Pとして使用している。
That is, the memory addresses are (n
+1) bits. And among them, A
. - (a+1) bits of A6 (where l<a<n
) is used as an effective bit representing the memory area of one system. Also, A, 4. The bits ~An are so-called empty bits that do not affect the memory capacity or any devices in the system. Then, the most significant bit l−A among these vacant bits A a+ 1 to An
. is used as a code P to distinguish whether the active system X is the own system or the other system.

この符号ビットPは、“0”の場合に自系を示し、“l
“の場合に他系を示すものとし、読み書き処理時に該符
号ビットPを各メモリ装置2 x。
This sign bit P indicates the own system when it is “0”, and “l”
", it indicates a different system, and the code bit P is sent to each memory device 2x during read/write processing.

2Yに取り込ませて、自己が選択されているかどうかの
判断条件として使用する。
It is imported into 2Y and used as a condition for determining whether the self is selected.

これにより、前記符号ビットPとして“0″を取り込ん
だメモリ装置は、自己が選択されていると判断して動作
し、一方、符号ビットPとして゛ビ′を取り込んだメモ
リ装置は、自己が選択されていないと判断して動作しな
い。
As a result, the memory device that has taken in "0" as the sign bit P judges that it has been selected and operates, while the memory device that has taken in 'bi' as the sign bit P operates because it has been selected. It will not work if it is not determined.

なお、前記符号ビットPは、メモリ・アドレスを構成す
る各ビットの内、いわゆる空きビットの一つ、即ち、メ
モリ容量を表すのに影響せず、かつ、システム中どの装
置にも影響しないビットの一つに組み込めば良く、実施
例のように、空きビットの内の最上位のものである必要
はない。
Note that the sign bit P is one of the so-called free bits among the bits that make up the memory address, that is, a bit that does not affect the memory capacity and does not affect any device in the system. It is sufficient to incorporate them into one, and it does not need to be the most significant of the empty bits as in the embodiment.

このようなメモリ・アドレスを導入することによって、
プロセッサ側から見たメモリマツプは第4図の如(なる
By introducing such a memory address,
The memory map seen from the processor side is as shown in Figure 4.

この図において、全メモリ領域の内、符号5は自系のメ
モリ領域を示し、6は他系のメモリ領域を示す。
In this figure, among all the memory areas, numeral 5 indicates the memory area of the own system, and numeral 6 indicates the memory area of the other system.

また、このメモリマツプ上で、符号M。−M4で示す位
置のアドレスは、前述のメモリ・アドレスの割り振りを
使うと、次のようである。
Also, on this memory map, the symbol M. Using the memory address allocation described above, the address of the location indicated by -M4 is as follows.

Mo;An 〜Ao =ALL”0” M、;An〜A、、、=A L L ”0”A、 〜A
o =ALL ”l” M2;A、1=1 A、、 〜A、=A L L ”O°゛M3;A、1=
、I A n−H〜A、、、=ALL ”O”A、 〜Ao 
 =ALL”l” M、;An〜Ao  =ALL”1” 次に、前述のメモリバス連絡装置4について説明する。
Mo; An ~ Ao = ALL “0” M, ; An ~ A, , = A L “0” A, ~ A
o = ALL "l"M2; A, 1 = 1 A,, ~A, = ALL L "O°゛M3; A, 1 =
,I A n-H~A,,,=ALL "O"A, ~Ao
=ALL"1"M,;An~Ao=ALL"1" Next, the above-mentioned memory bus communication device 4 will be explained.

各メモリバス連絡回路4x、4Yには、メモリノ望スに
出力された信号を流すラインとして、系選択ライン9と
、符号ライン10と、アドレス・ストローブ・ライン1
1と、リード/ライト・ライン12と、他系終了ライン
13と、自系終了ライン14と、ライトデータやリード
データを流すデータライン(図示路)とが設けられてい
る。
Each memory bus communication circuit 4x, 4Y has a system selection line 9, a code line 10, and an address strobe line 1 as lines through which signals output to the memory bus are passed.
1, a read/write line 12, an other system termination line 13, an own system termination line 14, and a data line (path shown) through which write data and read data flow.

そして、前記符号ライン10にはメモリ・アドレス・モ
ディファイ回路(以下、アドレス・モディファイ回路と
呼ぶ)17が組み込まれ、また、アドレス・ストローブ
・ライン11にはアドレス・ストローブ・モ≠イファイ
回路(以下、ストローブ・モディファイ回路と呼ぶ)1
8が組み込まれた構成になっている。
A memory address modify circuit (hereinafter referred to as an address modify circuit) 17 is incorporated in the code line 10, and an address strobe modify circuit (hereinafter referred to as an address modify circuit) is incorporated in the address strobe line 11. (referred to as strobe modify circuit)1
It has a configuration that incorporates 8.

前述の各ラインにおいて、系選択ライン9は、運用系/
待機系を示す信号(ACT/SBY信号)が入ると、そ
の信号を前述のライン10〜14上の各制御端子に渡し
て、各ライン10〜14上での信号の流れを制御する回
路である。
In each of the above-mentioned lines, the system selection line 9 is the active system/
When a signal indicating the standby system (ACT/SBY signal) is input, this circuit passes the signal to each control terminal on the lines 10 to 14 mentioned above to control the flow of signals on each line 10 to 14. .

運用系であるか待機系であるかは両系のプロセッサlx
、ly同士で取り決められ、一方の系が運用系(A C
T)の場合に、他方は必ず待機系(百BY)となる。
The processor lx of both systems determines whether it is an active system or a standby system.
, ly, one system is the operational system (AC
T), the other side is always a standby system (100 BY).

また、それぞれのメモリバス連絡回路4x+4yは、そ
れぞれ自系のプロセッサからACT/SBYの信号を取
り込む。
Further, each of the memory bus communication circuits 4x+4y receives an ACT/SBY signal from its own processor.

符号ライン10はメモリ・アドレスにおける符号ビット
Pのデータ(以下、Pデータと呼ぶ)を流す回路であり
、前記アドレス・モディファイ回路17を介さずにPデ
ータを流す信号経路10aと、アドレス・モディファイ
回路17を介してPデータを流す信号経路10bとを備
えている。
The code line 10 is a circuit for passing the data of the code bit P in the memory address (hereinafter referred to as P data), and includes a signal path 10a for passing the P data without passing through the address modify circuit 17, and an address modify circuit. 17, and a signal path 10b through which P data flows.

信号経路10aは、前記系選択ライン9から経路中の制
御端子]Oc、10dにACT信号が入る場合だけ、運
用系側から待機系側にPデータを流し、SBY信号が制
御端子10c、10dに入ったときはPデータを流さな
い。
The signal path 10a passes P data from the active side to the standby side only when the ACT signal enters the control terminals Oc and 10d on the path from the system selection line 9, and the SBY signal flows to the control terminals 10c and 10d. When entering, do not transmit P data.

信号経路10bは、前記系選択ライン9の制御端子9a
によって反転させた信号がACTを示す場合(即ち、自
系のプロセッサから系選択ライン9に入力する信号がS
BY信号の場合)に、そのA’CT信号が経路中の制御
端子toe、lofに入ることによって、運用系側から
の肩信号をアドレス・モディファイ回路17を介して待
機系側にPデータを流す。
The signal path 10b connects to the control terminal 9a of the system selection line 9.
If the signal inverted by
(in the case of a BY signal), the A'CT signal enters the control terminals toe and lof in the path, and the shoulder signal from the active side is passed through the address modify circuit 17 to the standby side as P data. .

前記アドレス・モディファイ回路17は、系選択ライン
9に入るACT/S’B’Y信号と、リード/ライト・
ライン(以下、R/Wラインと呼ぶ)12を流れるリー
ド/ライト信号(以下、R/W信号と呼ぶ)とを監視し
ている。
The address modify circuit 17 receives the ACT/S'B'Y signal entering the system selection line 9 and the read/write signal.
A read/write signal (hereinafter referred to as an R/W signal) flowing through a line (hereinafter referred to as an R/W line) 12 is monitored.

また、待機系のメモリ装置に読み出し命令が出力されて
いる場合には、信号経路10bに入ったPデータ’“ビ
′は、アドレス・モディファイ回路17によって反転さ
せられミドデータ11011として出力され、回路17
の出力側にある待機系のメモリ装置を動作させる。
Furthermore, when a read command is being output to the standby memory device, the P data ``BI'' that has entered the signal path 10b is inverted by the address modify circuit 17 and output as mid data 11011.
Activate the standby memory device on the output side.

なお、前記制御端子9aを経た信号がSBYを示す場合
には、この経路10bはPデータを流さない。
Note that when the signal passed through the control terminal 9a indicates SBY, this path 10b does not flow P data.

アドレス・ストローブ・ライン11はアドレス・ストロ
ーブ信号(以下、AS信号と呼ぶ)を流す回路であり、
前記ストローブ・モディファイ回路18を介さずにに1
信号を流す信号経路11aと、ストローブ・モディファ
イ回路18を介してAS信号を流す信号経路11bとを
備えている。
The address strobe line 11 is a circuit that passes an address strobe signal (hereinafter referred to as an AS signal).
1 without going through the strobe modify circuit 18.
It includes a signal path 11a through which a signal flows, and a signal path 11b through which an AS signal flows through a strobe modify circuit 18.

信号経路11aは、前記系選択ライン9から経路中の制
御端子11C,11dにACT信号が入る場合だけ、運
用系から待機系に向けてAS信号を流し、SBY信号が
制御端子tlG+’lldに入ったときはA’S信号を
流さない。
The signal path 11a allows the AS signal to flow from the active system to the standby system only when the ACT signal is input from the system selection line 9 to the control terminals 11C and 11d on the path, and the SBY signal is input to the control terminal tlG+'lld. When this occurs, the A'S signal will not be sent.

信号経路1.1.bは、前記系選択ライン9の制御端子
9aによって反転させた信号がACTを示す場合(即ち
、自系のプロセッサから系選択ライン9に入力する信号
がSBY信号の場合)に、その信号が経路中の制御端子
lie、llfに入ることによって、運用系側からのス
トローブ・モディファイ回路18を介して待゛機系にA
S信号を流す。
Signal path 1.1. b indicates that when the signal inverted by the control terminal 9a of the system selection line 9 indicates ACT (that is, when the signal input from the own system's processor to the system selection line 9 is the SBY signal), the signal is routed. By entering the control terminals lie and llf in the middle, A is sent to the standby system via the strobe modify circuit 18 from the active system.
Send the S signal.

ここに、ストロ□′−ブ・モディファイ回路18は、A
CT’/SBY信号と、R/W信号と、Pデータとを監
視していて、運用系から書き込み命令が入った場合、あ
るいは運用系から待機系のメモリ装置に読み出し命令が
入った場合だけ、入ってくる肩信号に一定の修飾を施し
て出力する。
Here, the strobe modify circuit 18 is
The CT'/SBY signal, R/W signal, and P data are monitored, and only when a write command is received from the active system, or a read command is received from the active system to the standby system memory device. Applies certain modifications to the incoming shoulder signal and outputs it.

ここに、一定の修飾とは、例えば、運用系のメモリバス
に書き込み命令が出力された場合に、待機系のメモリ装
置も書き込み命令が出力されたと見せるように、運用系
に出されたAS信号を修飾することをいう。
Here, certain modification means, for example, when a write command is output to the active memory bus, the AS signal issued to the active system so that the standby memory device also shows that a write command has been output. It means to modify.

なお、制御端子9aを経た信号がSBYを示す場合には
、この経路11’bはAS信号を流さない。
Note that when the signal passed through the control terminal 9a indicates SBY, the AS signal does not flow through this path 11'b.

また、R/Wライン12は、メモリバスに出力された命
令が読み出し命令か書き込み命令かを示すR/W信号を
流す回路である。
Further, the R/W line 12 is a circuit that sends an R/W signal indicating whether the command output to the memory bus is a read command or a write command.

このR/Wライン12は、制御端子12aを介してR/
W信号を流す信号経路12bと、制御端子12Cを介し
てR/W信号を流す信号経路12dとを具備している。
This R/W line 12 is connected to the R/W line 12 via a control terminal 12a.
It includes a signal path 12b through which a W signal flows, and a signal path 12d through which an R/W signal flows through a control terminal 12C.

信号経路12bは、プロセッサから系選択回路9に入る
信号かACTの場合に動作して、運用系から待機系にR
,/W倍信号流す。
The signal path 12b operates when a signal enters the system selection circuit 9 from the processor or is ACT, and sends R from the active system to the standby system.
, /W times the signal.

信号経路12dは、プロセッサから系選択回路9に入る
信号がSBYの場合に動作して、運用系から待機系にR
/W信号を流す。
The signal path 12d is activated when the signal input from the processor to the system selection circuit 9 is SBY, and the signal path 12d is activated to send R from the active system to the standby system.
/W signal is sent.

他系終了ライン13は、待機系のメモリ装置の出力する
終了信号を運用系のプロセッサに取り込ませるための回
路で、制御端子I3aによって系選択回路9に入る信号
がACTの場合に、待機系からの信号を運用系に取り込
む。
The other system end line 13 is a circuit for allowing the active system processor to take in the end signal output from the standby system memory device, and when the signal input to the system selection circuit 9 by the control terminal I3a is ACT, This signal is taken into the operational system.

自系終了ライン14は、待機になった場合のメモリ装置
の出力する終了信号を運用系のプロセッサに取り込ませ
るための回路で、制御端子14aによって、系選択ライ
ン9に入る信号がSBYの場合に、待機系から運用系に
信号を流す。
The own system termination line 14 is a circuit for allowing the active system processor to take in the termination signal output from the memory device when it becomes standby. , sends a signal from the standby system to the active system.

待機系のメモリ装置から出る終了信号をMDSACKS
信号と呼び、運用系のメモリ装置から出る終了信号をM
 D S A’CK信号と呼ぶ。
MDSACKS is the end signal issued from the standby memory device.
The end signal issued from the active memory device is called a M signal.
It is called the DSA'CK signal.

これらのメモリパス連絡回路4 X、 、4Y相互間で
は、回路構成が対称に設定されていて、これらの回路4
x、4Y相互間での各ライン相互の接続は、以下の如く
である。
The circuit configurations are set symmetrically between these memory path communication circuits 4X, 4Y, and these circuits 4
The connections between the x and 4Y lines are as follows.

ライン10〜12の場合は、それぞれ同種のライン同士
が接続され、ライン13.14に関しては、一方の系の
他系終了ライン13と他方の系の自系終了ラインとが接
続されている。
In the case of lines 10 to 12, lines of the same type are connected to each other, and regarding line 13.14, the other system termination line 13 of one system is connected to the own system termination line of the other system.

以下に、前記一実施例による具体的な動作を説明する。The specific operation according to the above embodiment will be explained below.

(4)  運用系プロセッサ装置1xが自系のメモリ装
置2xにデータの書き込みを行う場合は、以下の如(で
ある。
(4) When the active processor device 1x writes data to its own memory device 2x, it is as follows.

運用系のメモリバスに出力された書き込み命令やライト
データは、連絡回路4x、−4YのR/WラインI2や
図示路のデータラインを介することによって、待機系の
メモリバスに送られる。
Write commands and write data output to the active memory bus are sent to the standby memory bus via the R/W line I2 of the communication circuits 4x and -4Y and the data line of the illustrated path.

また、運用系のメモリバス3xに出力されたPデータ“
0゛′は、運用系の連絡回路4xの符号ライン10にお
ける経路10aを通り、待機系の連絡回路4Yの符号ラ
イン10における経路1.Obを経て、0′″のまま待
機系に出力される。
In addition, the P data output to the active memory bus 3x “
0'' passes through the path 10a on the code line 10 of the active communication circuit 4x, and passes through the path 1.0a on the code line 10 of the standby communication circuit 4Y. After passing through Ob, it is output to the standby system as 0''.

従って、運用系のメモリ装置2Xが、自系のメモバスよ
り取り込んだPデータ“O゛により書き込み可能な状態
になる場合には、同一のライトサイクルで、待機系のメ
モリ装置2Yも書き込み可能な状態になる。
Therefore, when the active memory device 2X enters a writable state due to the P data "O" fetched from its own system's Memobus, the standby memory device 2Y also enters a writable state in the same write cycle. become.

また、運用系のメモリバス3xに出力されたAS信号は
、運用系の連絡回路4xのアドレス・ストローブ・ライ
ン11における経路14aを通り、待機系の連絡回路4
Y□のアドレス・ストローブ・ライン11における経路
11bを通り、該経路11bのストローブ・モディファ
イ回路18によって一定の修飾を施されて、待機系に出
力される。
Further, the AS signal output to the active memory bus 3x passes through a path 14a in the address strobe line 11 of the active communication circuit 4x, and passes through the standby communication circuit 4.
The signal passes through a path 11b in the address strobe line 11 of Y□, undergoes a certain modification by the strobe modify circuit 18 on the path 11b, and is output to the standby system.

従って、運用系のメモリ装置2Xが、自系のメモリバス
から取り込んだAS信号によってライトデータを書き込
む場合には、同一のライトサイクルで、待機系のメモリ
装置2Yも、待機系のメモリバス連絡回路4Yの出力す
るAS信号により同一のライトデータを書き込む。
Therefore, when the active memory device 2X writes write data using the AS signal fetched from its own memory bus, the standby memory device 2Y also writes write data to the standby memory bus communication circuit in the same write cycle. The same write data is written using the AS signal output by 4Y.

そのため、本方式によれば、ボライトサイクルで、運用
系および待機系の双方のメモリ装置に、同一のデータを
書き込ませることができ、二重化メモリの内容の一致を
よりリアルタイムに達成することができる。
Therefore, according to this method, it is possible to write the same data to both the active and standby memory devices in the volite cycle, and it is possible to achieve matching of the contents of the duplexed memory in real time. .

また、リアルタイムを重視した二重化フォールト・トレ
、ランド・プロセッサ装置等において、何らかの障害で
系の切替が発生しても、旧現用系で運用していた内容を
即継続し得る。
Furthermore, even if system switching occurs due to some kind of failure in redundant fault training, land processor equipment, etc. that emphasize real-time, the content that was being operated in the old active system can be immediately continued.

なお、運用系プロセッサ装置1xが自系のメモリ装置2
Xにデータの書き込みを命令した場合の、二重化メモリ
コピーのタイミングは、第5図の如(である。
Note that the active processor device 1x is the own memory device 2.
The timing of duplex memory copying when X is commanded to write data is as shown in FIG.

図中81はアドレス信号、S、はR/W信号、S3は運
用系のAS信号、S4は待機系のAS信号、S5はライ
トデー★、S6はMDSACK信号、S7はMDSAC
KS信号、Sllは運用系プロセ・ツサが感知する応答
信号である。
In the figure, 81 is an address signal, S is an R/W signal, S3 is an active system AS signal, S4 is a standby system AS signal, S5 is a write data★, S6 is an MDSACK signal, and S7 is an MDSAC signal.
The KS signal and Sll are response signals sensed by the active processor.

運用系プロセッサ1xは、両系のメモリ装置2 x。The active processor 1x is the memory device 2x of both systems.

2Yから、それぞれ終了信号s、、S7を受けることに
より、書き込み動作を終了する。
The write operation is ended by receiving end signals s, , S7 from 2Y, respectively.

(2)運用系プロセッサ1xが自系のメモリ装置2xか
らデータを読み出す場合は、以下の如くである。
(2) When the active processor 1x reads data from its own memory device 2x, the process is as follows.

運用系のメモリバス3xに出力されたPデータ“′0“
は、運用系の連絡回路4、の符号ラインIOにおける経
路10aを通り、待機系の連絡回路4Yの符号ラインI
Oにおける経路10bを経ることによって反転して、“
1°゛となって待機系に出力される。
P data "'0" output to the active memory bus 3x
passes through the path 10a in the code line IO of the active communication circuit 4, and passes through the code line I of the standby communication circuit 4Y.
Inverted by passing through the path 10b at O, “
1°" and is output to the standby system.

また、運用系のメモリバス3xに出力されたA否信号は
、運用系の連絡回路4xのアドレス・ストローブ・ライ
ン11における経路11aを通り、待機系の連絡回路4
Yのアドレス・ストローブ・ライン11における経路1
1bに入るが、該経路11bのストローブ・モディファ
イ回路18によって無効とされる。
Further, the A/NO signal output to the active memory bus 3x passes through a path 11a in the address strobe line 11 of the active communication circuit 4x, and passes through the standby communication circuit 4.
Path 1 in address strobe line 11 of Y
1b, but is invalidated by the strobe modify circuit 18 on path 11b.

従って、運用系のメモリ装置に読み出し命令が出ている
場合には、待機系は動作せず、運用系のメモリ装置だけ
からデータが読み出される。
Therefore, when a read command is issued to the active memory device, the standby system does not operate and data is read only from the active memory device.

(3)運用系プロセッサ1xが待機系のメモリ装置2Y
からデータを読み出す場合は、以下の如くである。
(3) The active processor 1x is the standby memory device 2Y
When reading data from , the procedure is as follows.

運用系のメモリバス3xに出力されたPデータ“1″は
、運用系の連絡回路4xの符号ラインIOにおける経路
10aを通り、待機系の連絡回路4Yの符号ライン10
における経路10bを経ることによって反転して、“0
′”となって待機系に出力される。
The P data "1" outputted to the active memory bus 3x passes through the path 10a on the code line IO of the active communication circuit 4x, and is transferred to the code line 10 of the standby communication circuit 4Y.
is reversed by passing through the path 10b at
''' and is output to the standby system.

また、運用系のメモリバス3xに出力されたA否信号は
、運用系の連絡回路4xのアドレス・ストローブ・ライ
ン11における経路11aを通り、待機系の連絡口14
Yのアドレス・ストローブ・ライン11における経路1
 lbに入り、該経路11bのストローブ・モディファ
イ回路18によって一定の修飾を施されて待機系に出力
される。
Further, the A/NO signal output to the active memory bus 3x passes through the path 11a in the address strobe line 11 of the active communication circuit 4x, and passes through the standby communication port 14.
Path 1 in address strobe line 11 of Y
lb, is subjected to a certain modification by the strobe modifying circuit 18 on the path 11b, and is output to the standby system.

従って、運用系のプロセッサから待機系のメモリ装置に
読み出し命令が出された場合には、運用系のメモリ装置
は自系に出力されたPデータ“1゛のために動作せず、
待機系のメモリ装置だけからデータが読み出される。
Therefore, when a read command is issued from the active processor to the standby memory device, the active memory device does not operate due to the P data "1" output to its own system.
Data is read only from the standby memory device.

即ち、読み出し動作の場合には、両系のメモリ装置を、
択一的に利用することができる。
That is, in the case of a read operation, the memory devices of both systems are
Can be used alternatively.

[発明の効果] 以上の説明から明らかなように、本発明に係る二重化メ
モリコピー方式は、運用系に対して自系か他系かを区別
する符号ビットをメモリ・アドレスに組み入れ、さらに
、待機系および運用系のメモリバス相互を接続するメモ
リバス連絡装置には、メモリ・アドレス・モディファイ
回路と、アドレス・ストローブ・モディファイ回路とを
設けた構成である。
[Effects of the Invention] As is clear from the above explanation, the duplex memory copy method according to the present invention incorporates a code bit into the memory address to distinguish between the active system and the other system, and furthermore, A memory bus communication device that interconnects the system and active memory buses is provided with a memory address modify circuit and an address strobe modify circuit.

そして、運用系のメモリ装置に書き込み命令が出力され
たときには、前記メモリ・アドレス・モディファイ回路
を使って、自系を示す符号ビットのデータを待機系のメ
モリ装置に取り込ませるとともに、前記アドレス・スト
ローブ・モディファイ回路を使って、運用系に出力され
たアドレス・ストローブ信号に一定の修飾を施して待機
系のメモリ装置に出力し、書き込みを実施させる。
When a write command is output to the active memory device, the memory address modify circuit is used to cause the standby memory device to take in the code bit data indicating the own system, and the address strobe・Using a modify circuit, certain modifications are made to the address strobe signal output to the active system, and the output is output to the standby system memory device to perform writing.

そのため、運用系のメモリ装置がデータの書き込みを実
施する場合には、同一のライトサイクルで待機系のメモ
リ装置にも同一のデータの書き込むことができ、二重化
メモリの内容の一致をよりリアルタイムに達成すること
ができる。
Therefore, when the active memory device writes data, the same data can be written to the standby memory device in the same write cycle, achieving matching of the contents of the redundant memory in real time. can do.

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

第1図は本発明の一実施例におけるメモリバス連絡装置
の回路図、第2図は本発明を適用するデータ処理システ
ムのブロック図、第3図は前記一実施例におけるメモリ
・アドレスの構成図、第4図は前記データ処理システム
におけるメモリマツプ上でのメモリ領域の説明図、第5
図は一実施例における二重化メモリコピーのタイミング
チャートである。 1x、IY・・・・・・プロセッサ、2 XH2Y・・
・・・・メモリ装置、3X、3Y・・・・・メモリバス
、4・・・・・・メモリバス連絡装置、4x、4y・・
・・・・メモリバス連絡回路、5・・・・・・自系メモ
リ領域、6・・・・・・他系メモリ領域、9・・・・・
・系選択ライン、10・・・・・・符号ライン、11・
・・・アドレス・ストローブ・ライン、12・・・・・
・R/Wライン、13・・・・・他系終了ライン、14
・・・・・・自系終了ライン、17・・・・・・メモリ
・アドレス・モディファイ回路、18・・・・・・アド
レス・ストローブ・モディファイ回路。 のののののののの
FIG. 1 is a circuit diagram of a memory bus communication device in an embodiment of the present invention, FIG. 2 is a block diagram of a data processing system to which the present invention is applied, and FIG. 3 is a configuration diagram of a memory address in the embodiment. , FIG. 4 is an explanatory diagram of the memory area on the memory map in the data processing system, and FIG.
The figure is a timing chart of duplex memory copying in one embodiment. 1x, IY... Processor, 2 XH2Y...
...Memory device, 3X, 3Y...Memory bus, 4...Memory bus communication device, 4x, 4y...
...Memory bus communication circuit, 5...Self system memory area, 6...Other system memory area, 9...
・System selection line, 10... Code line, 11・
...Address strobe line, 12...
・R/W line, 13... Other system end line, 14
.... Own system end line, 17.. Memory address modify circuit, 18.. Address strobe modify circuit. nononononononono

Claims (1)

【特許請求の範囲】 プロセッサおよびメモリ装置を二重化して、運用系のシ
ステムと待機系のシステムとを構成するデータ処理シス
テムにおいて、 予め、運用系に対して自系か他系かを区別するための符
号ビットをメモリ・アドレスの空きビットの一つに組み
入れておいて、読み書き処理時に該符号ビットを各メモ
リ装置に取り込ませて、符号ビットによって選択された
メモリ装置を動作させることとし、 一方、運用系および待機系のメモリバス相互はメモリバ
ス連絡装置を介して接続しておき、このメモリバス連絡
装置には、 運用系のメモリバスに書き込み命令が出力された場合に
、前記符号ビットを使って待機系のメモリ装置を動作さ
せるメモリ・アドレス・モディファイ回路と、 運用系メモリバス連絡装置から出力されたアドレス・ス
トローブ信号に一定の修飾を施して待機系のメモリ装置
に取り込ませて動作させるアドレス・ストローブ・モデ
ィファイ回路を設けて、前記メモリバス連絡装置を介し
て、運用系のメモリ装置に書き込む内容を待機系のメモ
リ装置にも書き込ませることを特徴とした二重化メモリ
コピー方式。
[Claims] In a data processing system in which processors and memory devices are duplicated to constitute an active system and a standby system, in order to distinguish in advance whether the active system is the own system or the other system. The code bit of is incorporated into one of the free bits of the memory address, and the code bit is taken into each memory device during read/write processing, and the memory device selected by the sign bit is operated; The active and standby memory buses are connected to each other via a memory bus communication device, and this memory bus communication device has a function that uses the sign bit when a write command is output to the active memory bus. a memory address modifying circuit that operates a standby memory device using a memory bus, and an address that modifies the address strobe signal output from an active memory bus communication device and causes the standby memory device to operate the address strobe signal. - A redundant memory copy method characterized in that a strobe modify circuit is provided so that the contents written in the active memory device are also written in the standby memory device via the memory bus communication device.
JP1017680A 1989-01-30 1989-01-30 Duplicated memory copy system Pending JPH02199562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1017680A JPH02199562A (en) 1989-01-30 1989-01-30 Duplicated memory copy system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1017680A JPH02199562A (en) 1989-01-30 1989-01-30 Duplicated memory copy system

Publications (1)

Publication Number Publication Date
JPH02199562A true JPH02199562A (en) 1990-08-07

Family

ID=11950557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1017680A Pending JPH02199562A (en) 1989-01-30 1989-01-30 Duplicated memory copy system

Country Status (1)

Country Link
JP (1) JPH02199562A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4406258A1 (en) * 1993-02-26 1994-09-08 Mitsubishi Electric Corp Information processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5650451A (en) * 1979-10-02 1981-05-07 Meidensha Electric Mfg Co Ltd Multiaccess system of multimicrocomputer
JPS57101958A (en) * 1980-12-16 1982-06-24 Fujitsu Ltd Memory address extension system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5650451A (en) * 1979-10-02 1981-05-07 Meidensha Electric Mfg Co Ltd Multiaccess system of multimicrocomputer
JPS57101958A (en) * 1980-12-16 1982-06-24 Fujitsu Ltd Memory address extension system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4406258A1 (en) * 1993-02-26 1994-09-08 Mitsubishi Electric Corp Information processing device
DE4406258C2 (en) * 1993-02-26 1998-01-29 Mitsubishi Electric Corp Information processing device
US6308244B1 (en) 1993-02-26 2001-10-23 Mitsubishi Denki Kabushiki Kaisha Information processing apparatus with improved multiple memory access and control

Similar Documents

Publication Publication Date Title
JPS62237557A (en) Duplex bus connection system
US6308244B1 (en) Information processing apparatus with improved multiple memory access and control
JPH02199562A (en) Duplicated memory copy system
JP2626127B2 (en) Backup route test method
JPS6357823B2 (en)
JPH0652067A (en) Multiport ram check control method
JPS6134645A (en) Control system of duplex structure memory
JPS6259825B2 (en)
JP3012402B2 (en) Information processing system
JP2904266B2 (en) Memory connection controller that can cope with bus degradation
JP3086245B2 (en) Other system access designation device
JP2806930B2 (en) Main memory match control method
JP3112280B2 (en) Computer system
JP2837522B2 (en) I / O instruction control method
JPS6321217B2 (en)
JPH0625987B2 (en) Complex computer system
JPS6159565A (en) Interrupt input device of multicomputer system
JPS62182953A (en) Memory access control system
JPS61211786A (en) Ic card
JPH08328602A (en) Duplex system switching system
JPH04263333A (en) Memory duplication system
JPS62123551A (en) Memory device
JPH02171991A (en) Control method for ic card
JPH02150939A (en) Processing system for page history memory
JPS6132153A (en) Memory controller