JPS60237545A - Doubling system of computer - Google Patents

Doubling system of computer

Info

Publication number
JPS60237545A
JPS60237545A JP59091752A JP9175284A JPS60237545A JP S60237545 A JPS60237545 A JP S60237545A JP 59091752 A JP59091752 A JP 59091752A JP 9175284 A JP9175284 A JP 9175284A JP S60237545 A JPS60237545 A JP S60237545A
Authority
JP
Japan
Prior art keywords
cpu
memory
memories
data
cpus
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
JP59091752A
Other languages
Japanese (ja)
Inventor
Koshi Hattori
服部 幸志
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59091752A priority Critical patent/JPS60237545A/en
Publication of JPS60237545A publication Critical patent/JPS60237545A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To prevent abnormal operation in CPU switching by sending contents of a data and an image I/O memory from a master side to a stand-by side on every arithmetic cycle and making the memories of both CPUs periodical. CONSTITUTION:The CPUs 1a and 1b are provided with program memories 2a and 2b, arithmetic control parts 3a and 3b, data memories 4a and 4b, and image I/O memories 5a and 5b, data transmitters 6a and 6b between the CPUs 1a and 1b are provided with data receiving memories 61a and 61b, and the CPUs 1a and 1b are connected to a process input/output device 8 through a CPU switching device 7. Then, the CPU1a transfers the contents of the device 8 to the memory 5a to perform master-side processing and the result is stored in the memories 4 and 5, then transferred to the CPU1b to perform stand-by side processing; and received data from the CPU1a which are stored in the memory 61b are waited in the memories 4b and 5b.

Description

【発明の詳細な説明】 〔発明の技術分野〕 大発明は、イメージI10メモリケ有する2台の計算機
(CP[J)の二重化方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The great invention relates to a duplication system for two computers (CP[J) having image I10 memory cards.

〔従来技術〕[Prior art]

例えば、cprrを使用してプロセスを制御するよ5な
システムにおいては、計算機の故障はプロセスの操業効
率の低下につながるだけでなく、プロセスの安全性維持
等から許されない、それ故に高信頼性な要求されるプロ
セス制(2)においては、あらかじめ2台のcprIv
用意しておぎ% 1台のCPUは他の1台の故障に備え
て使用するCPTTの二重化方式がとられている。
For example, in a system that uses cprr to control a process, computer failure not only leads to a decrease in process operational efficiency, but is also unacceptable from the perspective of maintaining process safety, and therefore requires high reliability. In the required process system (2), two cprIv
A redundant CPTT system is used in which one CPU is used in case the other one fails.

第3図は、従来のこの種のcptIの二重化方式の一例
を示す構成ブロック図である。図において、(1a)は
第1のCPTI ユニット、(1b)はFIL 20)
 CPU :s−ニットで、これらのCPUユニットは
、いずれもプログラムメモリ(2)、演算制御部(3)
及びデータメモリ(4)で構成されている。 (6a)
、(6b)は各CPr7 ユニットv接続するデータ伝
送装置、(7)は2台のCPUユニットを切替えるため
のCP(1切替装置%CBはプロセス入出力装置、(9
)はこれらの各装置を接続するエメバスである。
FIG. 3 is a block diagram showing an example of a conventional cptI duplication system of this type. In the figure, (1a) is the first CPTI unit, (1b) is the FIL 20)
CPU: S-nit, each of these CPU units has a program memory (2), an arithmetic control unit (3)
and a data memory (4). (6a)
, (6b) is a data transmission device connected to each CPr7 unit, (7) is a CP for switching between two CPU units (1 switching device% CB is a process input/output device, (9
) is the Emebus that connects each of these devices.

この様に構成された装置において、いま、第1のCPU
(1a)とマスクCPU 、第2のCP[J(1b )
をスタンバイCPUとすると、CPU切替装置17)は
、薬3回に示す工)に纂1の0P(J(1a )側のI
J21バス(9a)’&選択しており、プロセス入出力
装置(8)は、第1のCPrJ(1a )と接続される
。第1のCPU(1a )の演算制御部(3a)は、遂
次プログラムメモリ(2a)の内容を読み出し実行し、
その結果をデータメモリ(4a)及びプロセス入出力装
置(8)へ出力する。また第1のCPU(1a )と第
2 (73CPtJ(1b)の同期化を行な5ために、
データ伝送装置(6a)を介してマスクCPrJである
ところの第1のCPU(1a )側からスタンバイcp
tIでおるところの第2のCPUt 1 b )側へデ
ータメモリ(4a)2J’iちの所定データの転送を行
な1S。
In the device configured in this way, the first CPU
(1a), mask CPU, second CP[J(1b)
Assuming that the CPU is the standby CPU, the CPU switching device 17) switches the 0P (J(1a) side I
J21 bus (9a)'& is selected, and the process input/output device (8) is connected to the first CPrJ (1a). The arithmetic control unit (3a) of the first CPU (1a) sequentially reads and executes the contents of the program memory (2a),
The results are output to the data memory (4a) and the process input/output device (8). In addition, in order to synchronize the first CPU (1a) and the second CPU (73CPtJ (1b)),
Standby CP from the first CPU (1a) side which is the mask CPrJ via the data transmission device (6a)
At tI, predetermined data in the data memory (4a) 2J'i is transferred to the second CPU t1b) side at 1S.

その処理順序を第4図に示す。マスクCP[J (1a
)側は、メイン処理を実行した後スタンバイ側CPU(
1目へデータ転送を行なう。また、スタンバイ側CPU
(1b )は、受信データ処理を実行し、マスタ(CP
(J) (1a )から送信されたデータを所定のデー
タメモリ(4b)エリアに格納する。
The processing order is shown in FIG. Mask CP[J (1a
) side executes the main processing and then the standby side CPU (
Data is transferred to the first eye. In addition, the standby side CPU
(1b) executes received data processing and master (CP)
(J) Store the data transmitted from (1a) in a predetermined data memory (4b) area.

この様に構成された装着による従来のCPrJPr化方
式においては、マスク側CPU(1a )が異常となり
、スタンバイ側CPUへ切替えるとき入出力信号につい
ての同期化がなさねておらず、また、切替前1サイクル
分のメイン処理結果が、スタンバイ側CPU(1b )
へ伝送されないため、切替直後に異常動作が生ずる恐れ
があるといへ問題点b1あった。
In the conventional CPrJPr system with installation configured in this way, the mask side CPU (1a) becomes abnormal and when switching to the standby side CPU, input/output signals are not synchronized, and before switching The main processing result for one cycle is sent to the standby CPU (1b).
There was a problem b1 in that there was a risk that an abnormal operation would occur immediately after the switching because the data was not transmitted to the switch.

〔発明の概要〕[Summary of the invention]

本発明は、イメージ■βメモリを有する2台のCPUを
データ伝送装置を介して接続し、CPUの演算周期終了
毎にマスクCPU側のデータメモリ及びイメージJ/p
メモリの内容をスタンバイCPU 側へ送信し、両方の
メモリの同期化な行ない、マスクCPU側異常時に自動
的にスタンバイCPU側へ切替えできる工うにしたこと
に工9.CPU切替時に異常動作を生ずることのないC
PTIの二重化方式を提供するものである。
The present invention connects two CPUs each having an image β memory through a data transmission device, and at the end of each CPU operation cycle, the data memory and image J/P on the mask CPU side are connected.
The contents of the memory are sent to the standby CPU side, both memories are synchronized, and the device can be automatically switched to the standby CPU side in the event of an error on the mask CPU side. C that does not cause abnormal operation when switching CPUs
This provides a duplex system for PTI.

〔発明の実施例〕[Embodiments of the invention]

第1図は、大発明に係る方式を実現した装置の一例ケ示
す構成ブロック図である。図において。
FIG. 1 is a block diagram showing an example of a device implementing the method according to the invention. In fig.

(Ia)、(Ib)はそれぞれ二重化の対象となる計算
機(CPrJユニット)で、これらの各計算機はいずれ
もプログラムメモリ(21,演算制御部(3)、データ
メそり(41及びプロセス入出力信号の同期でヒを行な
5ためのイメージ■汐メモリを含んで構成されているn
(6a)、(6b)は各計算機(1a)、(1b)間の
データ転送を行なうためのデータ歓送装置で、この内部
にはいずれもデータ受信メモリ(61a)、(61b)
を設けである。σ)はマスクCPU側と、プロセス入出
力装置(8)とを接続するためのCPU切替装置、(9
1は各装置間を結ぶI/′I!Iバスである。なお、符
号に示す添字(al 及び(bl ft、二重化すした
CPU−A 1lll 及びCPU−B 側のものであ
ることを表している。
(Ia) and (Ib) are computers to be duplicated (CPrJ units), and each of these computers has a program memory (21, arithmetic control unit (3), a data memory (41) and a process input/output signal An image for synchronously performing 5■ n configured including Ushio memory
(6a) and (6b) are data forwarding devices for transferring data between the computers (1a) and (1b), and each of them has data reception memories (61a) and (61b) inside.
This is provided. σ) is a CPU switching device (9) for connecting the mask CPU side and the process input/output device (8);
1 is I/'I! which connects each device. It is an I bus. Note that the suffixes (al and (bl) ft shown in the symbols represent those on the CPU-A 1ll and CPU-B sides that are duplexed.

CPU−A(1a)とeP[J−B(1blは、CPU
切替装置(71を介してプロセス入出力装置(8)と接
続されており、両方のCPU(11のプログラムメモリ
(2)には、同じプログラムが格納されている。いま、
CPTJ−A(1a )をマスタCPI1.CPU−B
(1b)をスタンバイCPryトスルト。
CPU-A (1a) and eP[J-B (1bl are CPU
It is connected to the process input/output device (8) via the switching device (71), and the same program is stored in the program memory (2) of both CPUs (11).
CPTJ-A (1a) as master CPI1. CPU-B
(1b) Standby CPry tosult.

CPU切替装置(7)は第1図に示すよ)に、 CPI
J−A(Ia)側の■yババス9a)’&選択し、プロ
セス入出力装置(81側0) I Oバス(9)と接続
している。その処理順序を11!2図に示す。
The CPU switching device (7) is shown in Figure 1), and the CPI
The I/O bus (9a) on the J-A (Ia) side is selected and connected to the process input/output device (81 side 0) IO bus (9). The processing order is shown in Figure 11!2.

CP(1−A(1a )はマスク側処理を実行する。処
理の順序として、最初にプロセス入出力装置(8)の入
力信号をイメージ■〃メモリ(51に転送する。次にイ
メージI/pIメモリ(51及びデータメモリ(4)の
信号によりメイン処理?実行12、その演算結果が、デ
ータメモリ(4)およびイメージI/16メモリ(51
に格納される。次にイメージI10メモリ(5)の出力
信号なプロセス入出力装置(81に転送し、その後マス
クcpry側のイメージI/mメモリ(51及び所定の
データメモリ(41の内容をデータ伝送装置(61ヲ介
してスタンバイ側cpxyへ転送する。CPU−B(1
b)はスタンバイ側処理を実行してお秒、データ伝送装
置(6b)からのデータ受信完了信号にエリ、データ受
信メモリ(61b)内のマスクCPU側からの受信デー
タをスタンバイ側CPU(1b )のイメージ■2タメ
モリ(51及びデータメモリ(41に格納し、再び待機
状態となる。このようにイメージx7sメモリ(5)を
介して、プログラムサイクルの先頭と最後で入出力処理
な行なっており、CPU切替時にマスク側CPrJは、
メイン処理途中の演算結果でプロセス入出力装置(81
に出力しておらず、またスタンバイ側CPUは必らずプ
ロ七ス入力読込処理から実行するため、 CPII切替
時に誤演算がされるのを防止できることになる。
The CP (1-A (1a)) executes mask side processing.The processing order is that the input signal of the process input/output device (8) is first transferred to the image memory (51).Then, the image I/pI Main processing ?execution 12 is carried out according to signals from the memory (51) and data memory (4), and the result of the calculation is sent to the data memory (4) and image I/16 memory (51).
is stored in Next, the output signal of the image I10 memory (5) is transferred to the process input/output device (81), and then the contents of the image I/m memory (51) and a predetermined data memory (41 on the mask cpry side are transferred to the data transmission device (61). CPU-B (1
b) executes the standby side processing, and then receives the data reception completion signal from the data transmission device (6b) and transfers the received data from the mask CPU side in the data reception memory (61b) to the standby side CPU (1b). The image is stored in the 2 data memory (51) and the data memory (41) and goes into a standby state again.In this way, input/output processing is performed at the beginning and end of the program cycle via the image x7s memory (5). At the time of CPU switching, the mask side CPrJ is
Process input/output device (81
Since the CPU on the standby side always executes the pro-7 input reading process, it is possible to prevent erroneous calculations when switching CPII.

なお、上記の実施例では、CPrJPr化方式について
説明したが、バック了ツブするCrlJ台数な増すこと
により、多重バックアップ方式も可能である。また、デ
ータ伝送装置の伝送方式についてG裏如伺なる方式であ
っても同様の効果を奏する。
In the above embodiment, the CPrJPr method has been described, but a multiple backup method is also possible by increasing the number of CrlJs that perform backup. Furthermore, the same effect can be obtained even if the transmission method of the data transmission device is a G-back method.

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

以上説明したよ)に1本発明によれば、スタンバイ側C
P[Jは、必ずプロセス入力読込処理から実行するもの
で、CPU切替時に異常動作が生ずる恐れのないCPr
JPr化方式が実現できる。
According to the present invention, the standby side C
P[J is always executed from the process input reading process, and there is no risk of abnormal operation occurring when switching CPUs.
JPr system can be realized.

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

第1図は、大発明に係る方式を実現した装置の一例を示
す構成ブロック図、第2図は@1図装置における二重化
の処理順序ケ示すフローチャート図、第3図は従来方式
の一例?示す構成ブロック図、あ4図は第3図装置にお
ける二重化の処理順序を示すフローチャート図である。 (1)・・・CP[Jユニット、(2)・・・プログラ
ムメモリ、 (31・・・CPU、(41・・・データ
メモリ、(5)・・・イメージI/Jlメモリ、(6)
・・・データ伝送装置、(61)・・・データ受信メモ
IJ、(力・・・CPrJ切替装置、(81・・・プロ
セス入出力装置、(9)・・・■汐バス、 なお、図中同一符号は、同−又は相半部分な示す。 代理人 弁理士 木 村 三 朗 第 1 図 12 図 第 3 図 tlI4 図
Fig. 1 is a block diagram showing an example of a device that implements the method according to the great invention, Fig. 2 is a flowchart showing the duplication processing order in the device shown in Fig. 1, and Fig. 3 is an example of a conventional method. The configuration block diagram shown in FIG. 4 is a flowchart showing the duplication processing order in the device shown in FIG. (1)...CP[J unit, (2)...Program memory, (31...CPU, (41...Data memory, (5)...Image I/Jl memory, (6)
...Data transmission device, (61)...Data reception memo IJ, (Power...CPrJ switching device, (81...Process input/output device, (9)...■Shio bus, The same reference numerals in the middle indicate the same or half of each other. Agent Patent Attorney Sanro Kimura 1 Figure 12 Figure 3 Figure tlI4 Figure

Claims (1)

【特許請求の範囲】 (11イメージI10メモリケ有する少なくとも2台の
計算機< cpU)なデータ伝送装置ケ介して接続し。 前記CPUの演算周期終了毎にマスクCPU側のデータ
メモリ及びイメージI10メモリの内容なスタンパ(C
Po 9t11へ送信し1両CPUのメモリの周期化を
行すってマスクCPU側異常時に自動的にスタンバ
[Scope of Claims] (At least two computers having 11 images and 10 memories <cpU) connected via a data transmission device. At the end of each calculation cycle of the CPU, a stamper (C
Send to Po 9t11 to cycle the memory of both CPUs and automatically standby when there is an error on the mask CPU side.
JP59091752A 1984-05-10 1984-05-10 Doubling system of computer Pending JPS60237545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59091752A JPS60237545A (en) 1984-05-10 1984-05-10 Doubling system of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59091752A JPS60237545A (en) 1984-05-10 1984-05-10 Doubling system of computer

Publications (1)

Publication Number Publication Date
JPS60237545A true JPS60237545A (en) 1985-11-26

Family

ID=14035266

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59091752A Pending JPS60237545A (en) 1984-05-10 1984-05-10 Doubling system of computer

Country Status (1)

Country Link
JP (1) JPS60237545A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04320539A (en) * 1991-04-19 1992-11-11 Mitsubishi Electric Corp Arithmetic unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04320539A (en) * 1991-04-19 1992-11-11 Mitsubishi Electric Corp Arithmetic unit

Similar Documents

Publication Publication Date Title
JP2532317B2 (en) Backup method of general-purpose I / O redundancy method in process control system
EP0476962B1 (en) System for configuring a shared storage
US6237108B1 (en) Multiprocessor system having redundant shared memory configuration
KR100258079B1 (en) The duplicated device by extention of memory bus in a tightly coupled fault tolerance system
JPS60237545A (en) Doubling system of computer
JP2626127B2 (en) Backup route test method
JP2004013723A (en) Device and method for fault recovery of information processing system adopted cluster configuration using shared memory
JP2511542B2 (en) Information processing system
KR940017582A (en) Dual Operation Method of Control System in Electronic Switching System
JPS5911455A (en) Redundancy system of central operation processing unit
JPH08202570A (en) Duplex process controller
JPH06259274A (en) Duplex system
KR100431467B1 (en) System of Duplicating between Two Processors and Managing Method thereof
JP3127939B2 (en) Event information transmission device
JPH11259324A (en) Main storage device copying system
WO1992005489A1 (en) Method of nonsynchronous access to shared memory
JP3055906B2 (en) Emergency operation method
WO2004079573A1 (en) Multi-processor system
JPH03171233A (en) Duplex information processor
JPH04112259A (en) Fault recovering system for multiprocessor system
JPH02252028A (en) Duplexing control system
JPH1145189A (en) Data setting method and data processor
JPH06245238A (en) Changeover circuit for duplex system
JPH06348604A (en) Memory copy system
JPH07287694A (en) Multiplex processing system and memory synchronous control method