[go: up one dir, main page]

JPH08328891A - Duplex system using standby redundant configuration - Google Patents

Duplex system using standby redundant configuration

Info

Publication number
JPH08328891A
JPH08328891A JP7136827A JP13682795A JPH08328891A JP H08328891 A JPH08328891 A JP H08328891A JP 7136827 A JP7136827 A JP 7136827A JP 13682795 A JP13682795 A JP 13682795A JP H08328891 A JPH08328891 A JP H08328891A
Authority
JP
Japan
Prior art keywords
data
standby
processing device
active
main memory
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
JP7136827A
Other languages
Japanese (ja)
Inventor
Ikuyoshi Hiroshima
郁芳 廣島
Akio Toda
明男 戸田
Yuji Otsu
裕司 大津
Satoru Nagao
哲 長尾
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 JP7136827A priority Critical patent/JPH08328891A/en
Publication of JPH08328891A publication Critical patent/JPH08328891A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE: To improve the throughput of the system by omitting the selection of the check point data that is performed by a CPU of operating system at a check point, the transfer of the check point data, etc. CONSTITUTION: A CPU 11 receives a store device full generation notification signal 91 and sends a check point instruction signal 92 to a data extension processor 60. The CPU 11 monitors a check point status signal 93 and starts execution of a task after the processing of the device 60 is completed. Then the CPU 11 produces the signal 92, and a data quantity counter of a data monitor device 30 is cleared. Furthermore, the change of the task management information 18 occurred at the CPU 11 is sent to a standby processor 2 from an operating processor 1. Then the device 60 extends the data stored in a data store device 50 into the task internal data stored in a main memory 22 and invalidates the signal 93.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムの待機
冗長化構成による二重化システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a redundant system having a standby redundant configuration of a computer system.

【0002】[0002]

【従来の技術】稼動系処理装置と待機系処理装置でメモ
リ共有を行わない疎結合による待機冗長化構成の二重化
システムでは、特定タイミング(以下、チェックポイン
トと呼ぶ)で処理引き継ぎに必要な情報(以下、チェッ
クポイントデータと呼ぶ)を稼動系処理装置から待機系
処理装置に通知する操作が必要がある。このチェックポ
イント操作で稼動系処理装置と待機系処理装置の状態の
同一性を図ることにより、稼動系処理装置での障害発生
時に、待機系処理装置は、チェックポイントから稼動系
処理装置の処理を引き継ぐことが可能となる。また、障
害発生時にチェックポイント操作が行える場合は、待機
系処理装置は稼動系処理装置の障害発生状態から処理を
引き継ぐことが可能となる。
2. Description of the Related Art In a redundant system having a standby redundant configuration by loose coupling that does not share memory between an active system processing unit and a standby system processing unit, information necessary for processing takeover at a specific timing (hereinafter referred to as a checkpoint) ( Hereinafter, the checkpoint data will be referred to as "checkpoint data" from the active processing device to the standby processing device. This checkpoint operation ensures that the states of the active system processing device and the standby system processing device are the same, so that when a failure occurs in the active system processing device, the standby system processing device performs the processing of the active system processing device from the checkpoint. It is possible to take over. If a checkpoint operation can be performed when a failure occurs, the standby processing device can take over the processing from the failure occurrence state of the active processing device.

【0003】図23は、例えば、「電子情報通信学会誌
特集3−3−1 疎結合マルチプロセッサ」(199
0年11月号 Vol.73)に示されたチェックポイ
ント方式による従来の待機冗長化構成の二重化システム
の構成図を示しており、図において、1は稼動状態にあ
る稼動系処理装置、11は中央演算処理装置(CP
U)、12は主メモリ、13はシステムバス、2は待機
状態にある待機系処理装置、21は中央演算処理装置
(CPU)、22は主メモリ、23はシステムバスであ
る。ここで稼動状態にある稼動系処理装置1と待機状態
にある待機系処理装置2は、同じ構成である。3は稼動
系処理装置1から待機系処理装置2へチェックポイント
データを通知するデータ転送手段である。このデータ転
送手段には、稼動系処理装置1と待機系処理装置2で共
有できるディスクを使用する方法、回線を通じて通信を
行う方法等がある。
FIG. 23 shows, for example, "Journal of the Institute of Electronics, Information and Communication Engineers Special Issue 3-3-1 Loosely Coupled Multiprocessor" (199).
Nov. 0 Vol. 73) is a block diagram of a conventional redundant system with a standby redundant configuration by the checkpoint system shown in FIG. 73, in which 1 is an active processor in an operating state, 11 is a central processing unit (CP).
U), 12 are main memories, 13 is a system bus, 2 is a standby processing unit in a standby state, 21 is a central processing unit (CPU), 22 is a main memory, and 23 is a system bus. Here, the active processing device 1 in the operating state and the standby processing device 2 in the standby state have the same configuration. Reference numeral 3 is a data transfer means for notifying the checkpoint data from the active processing device 1 to the standby processing device 2. As the data transfer means, there are a method of using a disk that can be shared by the active processing device 1 and the standby processing device 2, a method of performing communication through a line, and the like.

【0004】また、各主メモリ12,22に格納されて
いる4a〜4n,5a〜5nは、各CPU11,21で
走行させるタスクであり、タスク4aと5a,…,4n
と5nはそれぞれ同一のものである。6a〜6nはタス
ク4a〜4nの変数、フラグやレジスタ情報等のタスク
内部の状態を示すデータ(以下、タスク内部データと呼
ぶ)、7a〜7nはタスク5a〜5nのタスク内部デー
タ、18,28はタスク管理情報、19,29はチェッ
クポイントでのデータの選択に使用するチェックポイン
トデータリストである。
Further, 4a to 4n and 5a to 5n stored in the main memories 12 and 22 are tasks to be run by the CPUs 11 and 21, and tasks 4a and 5a, ..., 4n.
And 5n are the same. 6a to 6n are data indicating the internal state of the task such as variables, flags and register information of the tasks 4a to 4n (hereinafter referred to as task internal data), 7a to 7n are task internal data of the tasks 5a to 5n, 18, 28 Is task management information, and 19 and 29 are checkpoint data lists used for selecting data at checkpoints.

【0005】次に動作について説明する。ここで、図2
4は稼動系処理装置1のチェックポイント処理(操
作)、図25は待機系処理装置2のチェックポイント処
理(操作)の流れを示すフローチャートである。稼動系
処理装置1のCPU11は、タスク管理情報18に従い
主メモリ12に格納されたタスクを実行し(ST1
0)、定められたチェックポイントに到達すると(ST
11)、ST12へ進む。ここでチェックポイントと
は、タスク中に埋め込まれたチェックポイント命令実行
時やタスクスイッチのタイミングである。ST12へ進
むと、現チェックポイントで待機系処理装置2へ通知す
べきチェックポイントデータを選択する(ST12)。
チェックポイントデータの選択は、あらかじめ登録され
ているチェックポイントデータリスト19に基づいて行
う。この選択したチェックポイントデータをタスク内部
データ6a〜6nから読出し、データ転送手段3への伝
達を行う(ST13)。
Next, the operation will be described. Here, FIG.
4 is a flow chart showing a checkpoint process (operation) of the active processing device 1, and FIG. 25 is a flow chart showing a checkpoint process (operation) of the standby processing device 2. The CPU 11 of the active processing device 1 executes the task stored in the main memory 12 according to the task management information 18 (ST1
0), when the specified checkpoint is reached (ST
11) Go to ST12. Here, the checkpoint is the timing of executing a checkpoint instruction embedded in a task or the timing of task switching. When proceeding to ST12, the checkpoint data to be notified to the standby processing device 2 at the current checkpoint is selected (ST12).
The checkpoint data is selected based on the checkpoint data list 19 registered in advance. The selected checkpoint data is read from the task internal data 6a to 6n and transmitted to the data transfer means 3 (ST13).

【0006】一方、図25において待機系処理装置2は
稼動系処理装置1からのチェックポイントデータの通知
を監視し(ST14)、通知があればチェックポイント
データリスト29を参照し、受信したチェックポイント
データをタスク内部データ7a〜7nの該当領域へ格納
する(ST15)。以上の動作により、稼動系処理装置
1と待機系処理装置2のチェックポイントでの、タスク
内部データ6a〜6nと7a〜7nの一貫性が保たれ
る。
On the other hand, in FIG. 25, the standby system processing device 2 monitors the checkpoint data notification from the active system processing device 1 (ST14), and if there is the notification, it refers to the checkpoint data list 29 and receives the checkpoint data. The data is stored in the corresponding area of the task internal data 7a to 7n (ST15). With the above operation, the consistency of the task internal data 6a to 6n and 7a to 7n at the check points of the active processing device 1 and the standby processing device 2 is maintained.

【0007】又、図26は、例えば特開平4−3679
03号公報に示された、従来の2重化システムの構成図
である。図において、101は主系プロセッサ(稼動系
処理装置)、102は従系プロセッサ(待機系処理装
置)、112,122はトラッキングバッファ、11
3,123はバッファ分割手段、114はトラッキング
ケーブルである。
Further, FIG. 26 shows, for example, Japanese Patent Laid-Open No. 4-3679.
It is a block diagram of the conventional duplication system shown by the 03 gazette. In the figure, 101 is a main processor (operating processor), 102 is a slave processor (standby processor), 112 and 122 are tracking buffers, 11
Reference numeral 3123 is a buffer dividing means, and 114 is a tracking cable.

【0008】次に動作について説明する。図27は図2
6の動作手順を示すフローチャートで、主系プロセッサ
101がデ−タのトラッキングを行う時、バッファ分割
手段113は、トラッキングすべきデ−タをハンドリン
グするプログラムのスキャン周期が高速・低速かを判断
し、それぞれのプログラムが扱うデ−タ量を計算する
(ST20)。 得られたデ−タ量とトラッキングバッ
ファ112のサイズからトラッキングバッファ112で
のブロック数を計算する(ST21)。 そして、デ−
タをトラッキングする場合、高速トラッキングのみか、
低速トラッキングのみか、高速・低速の両方のトラッキ
ングが必要かのトラッキング方式をチェックし(ST2
2)、高速・低速・混合の分割方式を選択(ST23)
し、トラッキング処理を行う。
Next, the operation will be described. FIG. 27 shows FIG.
In the flow chart showing the operation procedure of No. 6, when the main system processor 101 performs tracking of data, the buffer dividing means 113 judges whether the scan cycle of the program for handling the data to be tracked is high speed or low speed. , The amount of data handled by each program is calculated (ST20). The number of blocks in the tracking buffer 112 is calculated from the obtained amount of data and the size of the tracking buffer 112 (ST21). And the de
If you want to track the
Check the tracking method whether only low-speed tracking or both high-speed and low-speed tracking are required (ST2
2) Select high / low speed / mixing division method (ST23)
Then, tracking processing is performed.

【0009】[0009]

【発明が解決しようとする課題】従来の図23における
チェックポイント方式による待機冗長化構成の二重化シ
ステムでは、チェックポイントデータの選択やデータ転
送手段への通知処理にかかる時間がオーバーヘッドとな
り、システムのスループットが低下するという問題があ
った。又、タスクのスケジューリングを行う計算機シス
テムでは、タスク管理情報も待機系処理装置2に転送す
る必要があり、この転送は、チェックポイントデータに
付加する方法と稼動系の故障発生時にのみ転送を行う方
法があるが、前者の場合はチェックポイント処理時間が
更に大きくなるという問題があり、後者の場合は故障の
程度によっては転送が不可能となることがあるという問
題があった。
In the conventional redundant system of the standby redundant configuration by the checkpoint system in FIG. 23, the time required for the checkpoint data selection and the notification processing to the data transfer means becomes an overhead and the system throughput. There was a problem that it decreased. In addition, in a computer system that schedules tasks, it is necessary to transfer task management information to the standby processing device 2, and this transfer is performed by adding the checkpoint data and transferring only when an active system failure occurs. However, in the former case, there is a problem that the checkpoint processing time becomes longer, and in the latter case, there is a problem that the transfer may be impossible depending on the degree of failure.

【0010】又、従来の特開平4−367903号公報
に示された2重化システムは、同値化用のバッファを分
割しているといっても、同値化対象のデータをそのアク
セスプログラムの必要に応じ、高速または低速にトラッ
キングするためのエリアを確保する分割であり、トラッ
キングされる主メモリ等の領域(アドレス)は固定され
た領域であるため、特定の領域だけを同値化したい場
合、又は、システムの変更により同値化したいアドレス
を変更したい場合等において、H/Wを変更しなければ
ならなという問題が生じていた。
Further, in the conventional duplexing system disclosed in Japanese Patent Laid-Open No. 4-369903, even if the buffer for equalization is divided, the data to be equalized requires the access program. Depending on, it is a division that secures an area for tracking at high speed or low speed, and the area (address) of the main memory or the like to be tracked is a fixed area, so if you want to equalize only a specific area, or However, there has been a problem that the H / W must be changed in the case where it is desired to change the address to be equivalenced by changing the system.

【0011】更に、従来の特開平4−367903号公
報に示された2重化システムでは、主系よりの書き込み
時に従系に同値化されるのみであり、例えば、故障して
いた従系を再立ち上げし、2重化システムに参入させる
ためメモリに対するデータの同値化のみを行いたいよう
な場合でもすべての領域に対し書き込み処理を行わねば
ならず、制御プログラム実行中で有れば場合によっては
不必要に外部に対し誤出力を行う原因にもなっていた。
Further, in the conventional duplexing system disclosed in Japanese Patent Laid-Open No. 4-369903, only the slave system is made to have the same value at the time of writing from the master system. Even if you just want to equalize the data in the memory to restart the system and enter the duplication system, you must write the data to all areas. It was also a cause of unnecessary erroneous output to the outside.

【0012】本発明は上記のような問題点を解決するた
めになされたもので、チェックポイントデータの選択時
間とチェックポイントデータの受け渡しに要する時間を
削減することにより、システムのスループットの向上を
目的とするものである。
The present invention has been made to solve the above problems, and an object thereof is to improve system throughput by reducing the time required for selecting checkpoint data and the time required for passing checkpoint data. It is what

【0013】[0013]

【課題を解決するための手段】第1の発明では、中央演
算処理装置と主メモリをそれぞれ有する稼動系処理装置
と待機系処理装置を並列に設け、障害発生時の処理の引
き継ぎに必要なデータを前記稼動系処理装置から前記待
機系処理装置に転送する待機冗長化構成の二重化システ
ムにおいて、系間接続用のモニタバスと、前記稼動系処
理装置で中央演算処理装置が主メモリにアクセスしたデ
ータを取り込むデータモニタ装置と、取り込んだデータ
を前記モニタバスを使用して前記待機系処理装置に転送
するデータ転送装置と、前記稼動系処理装置から転送さ
れたデータを蓄積するデータ蓄積装置と、このデータ蓄
積装置に蓄積されたデータを前記待機系処理装置の主メ
モリに書き込むデータ展開装置とを備えたものである。
According to a first aspect of the present invention, an active processing unit and a standby processing unit each having a central processing unit and a main memory are provided in parallel, and data necessary for taking over processing when a failure occurs is provided. In a redundant system having a standby redundancy configuration for transferring data from the active processing device to the standby processing device, a monitor bus for inter-system connection and data accessed by the central processing unit in the active processing device to the main memory A data monitor device that captures the data, a data transfer device that transfers the captured data to the standby processing device using the monitor bus, and a data storage device that stores the data transferred from the active processing device, And a data expansion device for writing the data accumulated in the data accumulating device into the main memory of the standby processing device.

【0014】第2の発明では、データモニタ装置で取り
込んだデータを蓄積する第1データ蓄積装置を稼動系処
理装置に備え、待機系処理装置の第2データ蓄積装置に
蓄積されたデータをデータ展開装置が主メモリに展開中
は、前記データモニタ装置で取り込んだデータを前記稼
動系処理装置の第1データ蓄積装置に蓄積するものであ
る。
In the second invention, the first data storage device for storing the data taken in by the data monitor device is provided in the active processing device, and the data stored in the second data storage device of the standby processing device is expanded. While the device is being developed in the main memory, the data taken in by the data monitor device is stored in the first data storage device of the operating system processing device.

【0015】第3の発明では、稼動系処理装置の主メモ
リの内容と待機系処理装置の主メモリの内容を同じ値に
するイコライズを、前記稼動系処理装置への指示で開始
し、イコライズ完了で前記待機系処理装置から前記稼動
系処理装置に割り込み通知するものである。
According to the third aspect of the invention, equalization is started by instructing the active processing unit to equalize the contents of the main memory of the active processing unit and the main memory of the standby processing unit with the same value, and the equalization is completed. Then, the standby system processing device notifies the active system processing device of an interrupt.

【0016】第4の発明では、稼動系処理装置の中央演
算処理装置が主メモリにアクセスを行う際に、アクセス
したデータを待機系処理装置に転送しそのデータを待機
系の主メモリに展開し、系間の同値化を同時に行うよう
にしたものである。
In the fourth invention, when the central processing unit of the operating system processor accesses the main memory, the accessed data is transferred to the standby system processor and the data is expanded in the standby system main memory. , And equivalence between systems is performed at the same time.

【0017】第5の発明では、待機系処理装置で故障が
発生すると、待機系ステータス信号により、前記待機系
処理装置の故障を稼動系処理装置に通知し、前記稼動系
処理装置のデータの前記待機系処理装置への転送を停止
するものである。
In the fifth aspect, when a failure occurs in the standby system processing device, the standby system status signal is used to notify the active system processing device of the failure of the standby system processing device, and the data of the active system processing device is described above. The transfer to the standby processing device is stopped.

【0018】第6の発明では、稼動系処理装置にモニタ
バスのバス占有時間監視装置を設け、前記バス占有時間
監視装置がモニタバスの監視時間オーバーを検出する
と、データ転送のリトライ処理を行いリトライ失敗で、
待機系処理装置が故障として前記稼動系処理装置のデー
タの前記待機系処理装置への転送を停止するものであ
る。
In the sixth invention, a bus occupation time monitoring device for the monitor bus is provided in the active processing device, and when the bus occupation time monitoring device detects that the monitor bus monitoring time has expired, data transfer retry processing is performed and retry is performed. On failure,
When the standby processing device has a failure, the transfer of the data of the active processing device to the standby processing device is stopped.

【0019】第7の発明では、稼動系処理装置で故障が
発生すると、稼動系ステータス信号により、前記稼動系
処理装置の故障を待機系処理装置に通知し、前記待機系
処理装置では前記稼動系処理装置からのデータの受け入
れを切り離し、その時に前記待機系処理装置のデータ蓄
積装置に蓄積されているデータを、正常データとして前
記待機系処理装置の主メモりにデータ展開するものであ
る。
In the seventh invention, when a failure occurs in the active system processing device, the active system status signal is used to notify the standby system processing device of the failure of the active system processing device. The reception of data from the processing device is cut off, and the data stored in the data storage device of the standby processing device at that time is expanded into the main memory of the standby processing device as normal data.

【0020】第8の発明では、中央演算処理装置と主メ
モリをそれぞれ有する稼動系処理装置と待機系処理装置
を並列に設け、障害発生時の処理の引き継ぎに必要なデ
ータを前記稼動系処理装置から前記待機系処理装置に転
送し前記両主メモリ間を同値化する待機冗長化構成の二
重化システムにおいて、前記両主メモリ間で同値化すべ
き領域を設定する領域設定部と、この領域設定部で設定
した領域を登録するイコライズ領域設定レジスタと、前
記中央演算処理装置が前記主メモリにアクセスしたアド
レスが前記イコライズ領域設定レジスタに設定されてい
る領域で有れば動作し、前記アドレスと引き継ぎに必要
なデータを前記待機系処理装置に転送するイコライズ回
路とを備えたものである。
According to the eighth aspect of the present invention, an active processing unit and a standby processing unit each having a central processing unit and a main memory are provided in parallel, and the data necessary for taking over the processing when a failure occurs is stored in the operating system processing unit. In the redundant system of the standby redundancy configuration in which the main memory is transferred from the main memory to the standby processing device and the two main memories are equalized, an area setting unit that sets an area to be equivalenced between the both main memories, and this area setting unit Operates if the equalized area setting register for registering the set area and the address accessed by the central processing unit to the main memory is the area set in the equalized area setting register, and is necessary for inheriting the address. And an equalizing circuit for transferring various data to the standby processing device.

【0021】第9の発明では、同値化対象が中央演算処
理装置のアクセス種別が書込み時か、読出時かを設定す
るモード指定信号と、前記中央演算処理装置からの書込
み信号または読出信号とを受けて、前記中央演算処理装
置のアクセス種別が設定されたモードであるか否かを判
断するモード選択部を設け、設定されたモードであれ
ば、イコライズ回路を動作させ、待機系処理装置にアド
レスと引き継ぎに必要なデータを転送するものである。
According to a ninth aspect of the invention, a mode designation signal for setting whether the access type of the central processing unit is to be equalized is a writing time or a reading time, and a writing signal or a reading signal from the central processing unit. In response to this, a mode selection unit is provided for determining whether or not the access type of the central processing unit is the set mode, and if it is the set mode, the equalizing circuit is operated and the standby processing unit is addressed. And the data required for takeover are transferred.

【0022】[0022]

【作用】第1の発明においては、中央演算処理装置が主
メモリにアクセスしたデータを稼動系のデータモニタ装
置がモニタし、データ転送装置によって待機系処理装置
に転送される。待機系に転送されたデータは待機系のデ
ータ蓄積装置により蓄積される。蓄積されたデータはデ
ータ展開装置により待機系の主メモリに書込み展開され
る。
According to the first aspect of the invention, the data accessed by the central processing unit to the main memory is monitored by the data monitor of the operating system and transferred to the standby system processing unit by the data transfer unit. The data transferred to the standby system is stored by the data storage device of the standby system. The accumulated data is written and expanded in the standby main memory by the data expansion device.

【0023】第2の発明においては、稼動系の第1デー
タ蓄積装置により、待機処理装置でのデータの展開中で
待機系にデータが転送できない場合でも、稼動処理装置
でのデータの蓄積を行い、稼動系のタスク実行を妨げな
い。
According to the second aspect of the invention, the first data storage device of the operating system stores the data in the active processing device even if the data cannot be transferred to the standby system while the data is being developed in the standby processing device. , Does not interfere with running task execution.

【0024】第3の発明においては、イコライズ(同値
化)を、稼動系処理装置への指示で開始し、イコライズ
完了で稼動系処理装置に割り込みが入るようにした。
In the third aspect of the invention, equalization (equalization) is started by an instruction to the active processing unit, and an interrupt is input to the active processing unit upon completion of equalization.

【0025】第4の発明においては、稼動系処理装置の
中央演算処理装置が主メモリにアクセスを行う際に、ア
クセスしたデータを待機系処理装置に転送しそのデータ
を待機系の主メモリに展開するようにして、稼動系の中
央制御装置が主メモリにアクセスしたデータが常に待機
系の主メモリに展開されるよう作用する。
According to the fourth aspect of the invention, when the central processing unit of the active processor accesses the main memory, the accessed data is transferred to the standby processor and the data is expanded in the standby main memory. Thus, the central control unit of the operating system operates so that the data accessed to the main memory is always expanded in the main memory of the standby system.

【0026】第5の発明においては、待機系処理装置で
故障が発生すると、その故障信号が待機系ステータス信
号により、稼動系処理装置に通知され、稼動系処理装置
からのデータの転送を停止する。
In the fifth invention, when a failure occurs in the standby system processing device, the failure signal is notified to the active system processing device by the standby system status signal, and the transfer of data from the active system processing device is stopped. .

【0027】第6の発明においては、バス占有時間監視
装置がモニタバスの監視時間オーバーを検出すると、デ
ータ転送のリトライ処理を行いリトライ失敗で、稼動系
処理装置のデータの転送を停止する。
In the sixth aspect of the present invention, when the bus occupation time monitoring device detects that the monitor bus monitoring time has expired, a retry process for data transfer is performed, and when the retry fails, the data transfer of the active system processing device is stopped.

【0028】第7の発明においては、稼動系処理装置で
故障が発生すると、稼動系ステータス信号により、稼動
系処理装置の故障を待機系処理装置に通知し、待機系処
理装置では稼動系処理装置からのデータの受け入れを切
り離し、その時に待機系処理装置のデータ蓄積装置に蓄
積されているデータを、正常データとして待機系処理装
置の主メモりにデータ展開する。
According to the seventh aspect of the invention, when a failure occurs in the active system processing device, the active system status signal is used to notify the standby system processing device of the failure, and the standby system processing device uses the active system processing device. The reception of the data from the device is cut off, and the data stored in the data storage device of the standby processing device at that time is expanded to the main memory of the standby processing device as normal data.

【0029】第8の発明においては、両主メモリ間で同
値化すべき領域を領域設定部からイコライズ領域設定レ
ジスタに登録し、中央演算処理装置が主メモリにアクセ
スしたアドレスがイコライズ領域設定レジスタに登録さ
れている領域で有れば、イコライズ回路が動作し、前記
アドレスと引き継ぎに必要なデータを待機系処理装置に
転送する。
In the eighth invention, the area to be equalized between the two main memories is registered in the equalize area setting register from the area setting section, and the address accessed by the central processing unit to the main memory is registered in the equalize area setting register. If it is in the specified area, the equalizing circuit operates to transfer the address and data necessary for taking over to the standby processing device.

【0030】第9の発明においては、同値化対象が中央
演算処理装置のアクセス種別が書込み時か、読出時かを
設定するモード指定信号と、中央演算処理装置からの書
込み信号または読出信号とを受けて、中央演算処理装置
のアクセス種別が設定されたモードであるか否かを判断
するモード選択部を設け、設定されたモードであれば、
イコライズ回路を動作させ、待機系処理装置にアドレス
と引き継ぎに必要なデータを転送する。
In the ninth invention, a mode designating signal for setting whether the access type of the central processing unit is to be written or read and the write signal or the read signal from the central processing unit are set as an equivalence target. In response, if a mode is set, a mode selection unit for determining whether the access type of the central processing unit is the set mode is provided.
The equalizer circuit is activated to transfer the address and the data required for takeover to the standby processing device.

【0031】[0031]

【実施例】【Example】

実施例1.以下、本発明の第1の実施例を図を下に説明
する。図1は、本発明の第1の実施例による待機冗長化
構成の二重化システムを示す構成図である。図1におい
て、1は稼動系処理装置、2は待機系処理装置であり、
図23に示す符号と同一符号は、従来のそれと同一ある
いは相当部分であるため詳細な説明は省略する。30は
CPU11から主メモリ12に書き込まれるタスク内部
データ6a〜6nを監視し取り込むデータモニタ装置、
40は取り込んだデータを待機系処理装置2に転送する
データ転送装置、50は稼動系処理装置1から転送され
たデータを蓄積するデータ蓄積装置、60は蓄積された
データをチェックポイントタイミングで、主メモリ22
内のタスク内部データ7a〜7nへ展開するデータ展開
装置、70は稼動系処理装置1から待機系処理装置2へ
データ転送を行うためのモニタバスである。
Example 1. The first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing a redundant system having a standby redundant configuration according to a first embodiment of the present invention. In FIG. 1, 1 is an active processing device, 2 is a standby processing device,
23, the same reference numerals as those shown in FIG. 23 are the same as or equivalent to those of the conventional one, and therefore detailed description thereof will be omitted. Reference numeral 30 is a data monitor device that monitors and fetches task internal data 6a to 6n written from the CPU 11 to the main memory 12.
Reference numeral 40 is a data transfer device for transferring the fetched data to the standby processing device 2, 50 is a data storage device for storing the data transferred from the active processing device 1, and 60 is a main point of the stored data at the checkpoint timing. Memory 22
A data expansion device for expanding the task internal data 7a to 7n therein, and a monitor bus 70 for transferring data from the active processing device 1 to the standby processing device 2.

【0032】又、91はデータモニタ装置30が取り込
んだデータの量をカウントすることにより、待機系デー
タ蓄積装置50のデータ蓄積量を監視し、満杯であれば
稼動系CPU11に通知する蓄積装置フル発生通知信
号、92は稼動系CPU11がデータ展開装置60へチ
ェックポイント(タイミング)を通知し、データの展開
開始を指示するチェックポイント指示信号、93はデー
タ展開装置60の動作状態を示すチェックポイントステ
ータス信号であり、データ展開処理中であれば有意、非
データ展開処理中であれば無意となる。
Further, reference numeral 91 is a storage device full for monitoring the data storage amount of the standby system data storage device 50 by counting the amount of data taken in by the data monitor device 30 and notifying the operating system CPU 11 if it is full. An occurrence notification signal, 92 is a checkpoint instruction signal for the operating CPU 11 to notify the data decompression device 60 of a checkpoint (timing), and an instruction to start data decompression, and 93 is a checkpoint status indicating the operating state of the data decompression device 60. It is a signal, and is significant during data expansion processing, and insignificant during non-data expansion processing.

【0033】次に動作について説明する。図2は第1の
実施例による稼動系処理装置1のチェックポイント処理
(操作)の流れを示すフローチャートである。今、CP
U11でのタスク実行(ST30)により、タスク内部
データ6a〜6nに変化が発生したとすると、データモ
ニタ装置30がその変化したデータとアドレスを取り込
み(ST34)、データ転送装置40が取り込んだデー
タとアドレスをモニタバス70を使用し待機系処理装置
2へ転送する(ST35)。ここでデータモニタ装置3
0は取り込んだデータ量をカウントしており、取り込ん
だデータ量すなわち、待機系処理装置2へ転送したデー
タ量が、データ蓄積装置50の容量を越える場合は(S
T36)、CPU11へ蓄積装置フル発生通知信号91
を発行する(ST37)。
Next, the operation will be described. FIG. 2 is a flow chart showing the flow of checkpoint processing (operation) of the operating system processing apparatus 1 according to the first embodiment. CP now
If a change occurs in the task internal data 6a to 6n due to the task execution (ST30) in U11, the data monitor device 30 takes in the changed data and address (ST34), and the data taken in by the data transfer device 40. The address is transferred to the standby processing device 2 using the monitor bus 70 (ST35). Here, the data monitor device 3
0 counts the amount of captured data, and if the amount of captured data, that is, the amount of data transferred to the standby processing device 2 exceeds the capacity of the data storage device 50 (S
T36), the storage device full occurrence notification signal 91 to the CPU 11
Is issued (ST37).

【0034】一方、蓄積装置フル発生通知信号91を受
け取ったCPU11は(ST31)、データ展開処理装
置60へチェックポイント指示信号92を発行する(S
T32)。CPU11はチェックポイントステータス信
号93を監視することにより、データ展開装置60の処
理完了を待ち(ST33)、再度タスク実行を開始す
る。ここでCPU11がチェックポイント指示信号92
を発行することにより、データモニタ装置30が持つデ
ータ量カウンタがクリアされる。また、ST31では、
従来例と同様に、タスク中に埋め込まれたチェックポイ
ント命令実行時やタスクスイッチのタイミングでもST
32へ進む。さらに、CPU11でのタスクスイッチ等
により発生する主メモリ12に格納されたタスク管理情
報18の変化も同様に、上記フローにて稼動系処理装置
1から待機系処理装置2へ転送を行う。
On the other hand, the CPU 11 receiving the storage device full occurrence notification signal 91 (ST31) issues a checkpoint instruction signal 92 to the data expansion processing device 60 (S).
T32). By monitoring the checkpoint status signal 93, the CPU 11 waits for the processing of the data expansion device 60 to be completed (ST33), and starts task execution again. Here, the CPU 11 causes the checkpoint instruction signal 92
Is issued, the data amount counter of the data monitor device 30 is cleared. In ST31,
Similar to the conventional example, ST is executed at the timing of the checkpoint instruction embedded in the task or the timing of the task switch.
Proceed to 32. Furthermore, changes in the task management information 18 stored in the main memory 12 caused by a task switch or the like in the CPU 11 are similarly transferred from the active processing device 1 to the standby processing device 2 in the above flow.

【0035】次に待機系処理装置2のチェックポイント
処理(操作)の流れを図3のフローチャートを用いて説
明する。データ蓄積装置50は稼動系処理装置1から転
送されてきたデータとアドレスを受信し、蓄積しておく
(ST40)、データ展開装置60は稼動系CPU11
からのチェックポイント指示信号92の通知があれば
(ST41)、チェックポイントステータス信号93を
有意にし、ST43へ進む(ST42)。ST43へ進
むと、データ展開装置60はデータ蓄積装置50に蓄積
されたデータを、主メモリ22内のタスク内部データ7
a〜7nへ展開し(ST43)、蓄積されたデータをす
べて展開完了した時点で、チェックポイントステータス
信号93を無意にし、データ展開完了を稼動系処理装置
1へ知らせる(ST44)。ここでデータを展開すべき
領域については、稼動系処理装置1から転送されたデー
タに付加されたアドレスで判断を行う。
Next, the flow of the checkpoint processing (operation) of the standby system processing device 2 will be described with reference to the flowchart of FIG. The data storage device 50 receives and stores the data and address transferred from the active processing device 1 (ST40).
If there is a notification of the checkpoint instruction signal 92 from (ST41), the checkpoint status signal 93 is made significant, and the process proceeds to ST43 (ST42). When the operation proceeds to ST43, the data decompression device 60 converts the data stored in the data storage device 50 into the task internal data 7 in the main memory 22.
a to 7n are expanded (ST43), and when the expansion of all the stored data is completed, the checkpoint status signal 93 is made insignificant, and the completion of data expansion is notified to the active processing device 1 (ST44). Here, the area where the data is to be expanded is determined by the address added to the data transferred from the active processing device 1.

【0036】このようにして、本発明の第1の実施例で
は、チェックポイント(タイミング)でのCPU11に
よるチェックポイントデータの選択、チェックポイント
データの転送(40から50への転送)を省略し、稼動
系処理装置1と待機系処理装置2のタスク内部データ6
a〜6nと7a〜7nの一貫性を保つ為のチェックポイ
ント処理を実現する。なお、30はCPU11から主メ
モリ12に書き込まれるタスク内部データ6a〜6nを
監視し取り込むデータモニタ装置として説明したが、待
機系処理装置2の再立ち上げのときは、CPU11が主
メモリをアクセス(読み取りあるいは書き込み)したタ
スク内部データ6a〜6nを監視し取り込むデータモニ
タ装置となる。
In this way, in the first embodiment of the present invention, selection of checkpoint data by the CPU 11 at checkpoint (timing) and transfer of checkpoint data (transfer from 40 to 50) are omitted, Internal task data 6 of the active processor 1 and the standby processor 2
A checkpoint process for maintaining consistency between a to 6n and 7a to 7n is realized. Although 30 has been described as a data monitor device for monitoring and fetching the task internal data 6a to 6n written from the CPU 11 to the main memory 12, the CPU 11 accesses the main memory when the standby processing device 2 is restarted ( The data monitor device monitors and takes in the task internal data 6a to 6n read or written.

【0037】実施例2.本発明の第2の実施例を図を下
に説明する。図4は、本発明の第2の実施例による待機
冗長化構成の二重化システムを示す構成図である。上記
した符号と同一符号は、上記と同一あるいは相当部分で
あるため詳細な説明は省略する。80は待機系処理装置
2に備えた(第2)データ蓄積装置50と同等の機能を
持つ(第1)データ蓄積装置である。
Example 2. A second embodiment of the present invention will be described below with reference to the drawings. FIG. 4 is a configuration diagram showing a redundant system having a standby redundancy configuration according to the second embodiment of the present invention. The same reference numerals as those described above are the same as or equivalent to those described above, and thus detailed description thereof will be omitted. Reference numeral 80 denotes a (first) data storage device having the same function as the (second) data storage device 50 provided in the standby system processing device 2.

【0038】次に動作について説明する。図5は第2の
実施例による稼動系処理装置1のチェックポイント処理
(操作)の流れを示すフローチャートである。今、CP
U11でのタスク実行(ST50)により、タスク内部
データ6a〜6nに変化が発生したとすると、データモ
ニタ装置30がその変化したデータとアドレスを取り込
み、取り込んだデータとアドレスを自処理装置内のデー
タ蓄積装置80に蓄積する(ST53)。ここでデータ
モニタ装置30は取り込んだデータ量をカウントしてお
り、取り込んだデータ量が、データ蓄積装置50の容量
を越える場合は(ST54)、CPU11へ蓄積装置フ
ル発生通知信号91を発行する(ST55)。蓄積装置
フル発生通知信号91を受け取ったCPU11は(ST
51)、データ展開処理装置60へチェックポイント指
示信号92を発行する(ST52)。
Next, the operation will be described. FIG. 5 is a flowchart showing the flow of checkpoint processing (operation) of the active processing device 1 according to the second embodiment. CP now
If a change occurs in the task internal data 6a to 6n due to the task execution (ST50) in U11, the data monitor device 30 takes in the changed data and address, and takes the taken data and address into the data in the own processing device. The data is stored in the storage device 80 (ST53). Here, the data monitor device 30 is counting the amount of data that has been taken in. If the amount of data that has been taken in exceeds the capacity of the data storage device 50 (ST54), the storage device full occurrence notification signal 91 is issued to the CPU 11 ( ST55). The CPU 11 receiving the storage device full occurrence notification signal 91 (ST
51), issue a checkpoint instruction signal 92 to the data expansion processing device 60 (ST52).

【0039】次に、データ転送装置40の処理について
説明する。データ転送装置40はデータ展開装置60の
状態を監視しながら動作する。データ蓄積装置80内に
データが存在する場合に(ST56)、チェックポイン
トステータス信号93によりデータ展開装置60の状態
を判定し(ST57)、チェックポイントステータス信
号が無意の場合に限りモニタバス70を使用し、待機系
処理装置2へデータを転送する(ST58)。一方チェ
ックポイントステータス信号が有意の場合は、待機系処
理装置2へのデータの転送を中断する(ST57)。こ
のようにしてデータ転送装置40が、待機系処理装置2
でのチェックポイント処理中であれば、稼動系処理装置
1側のデータ蓄積装置80にデータを蓄えたままにして
おくことにより、CPU11は待機系処理装置2のデー
タ展開完了を待つことなく、継続してタスク実行が可能
となる。
Next, the processing of the data transfer device 40 will be described. The data transfer device 40 operates while monitoring the state of the data expansion device 60. When there is data in the data storage device 80 (ST56), the state of the data expansion device 60 is judged by the checkpoint status signal 93 (ST57), and the monitor bus 70 is used only when the checkpoint status signal is insignificant. Then, the data is transferred to the standby processing device 2 (ST58). On the other hand, if the checkpoint status signal is significant, the transfer of data to the standby processing device 2 is interrupted (ST57). In this way, the data transfer device 40 becomes the standby processing device 2
If the checkpoint processing is in progress, the CPU 11 keeps the data stored in the data storage device 80 of the active processing device 1 so that the CPU 11 continues without waiting for the completion of data expansion of the standby processing device 2. Then, the task can be executed.

【0040】ここで待機系処理装置2のデータ展開装置
60からタスク内部データ7a〜7nへの書き込み性能
が、稼動系処理装置1のデータモニタ装置30の性能よ
り劣っている場合は、稼動系データ蓄積装置80の容量
をその性能比に応じて実装することにより、稼動系デー
タ蓄積装置80のフルが発生することは無い。実施例2
の待機系処理装置2のチェックポイント処理は、実施例
1と同一であるので詳細な説明は省略する。
If the writing performance from the data expansion device 60 of the standby processing device 2 to the task internal data 7a to 7n is inferior to the performance of the data monitoring device 30 of the active processing device 1, the operating data By mounting the capacity of the storage device 80 according to its performance ratio, the operating system data storage device 80 does not become full. Example 2
The checkpoint process of the standby system processing device 2 is the same as that of the first embodiment, and thus detailed description thereof will be omitted.

【0041】実施例3.本発明の第3の実施例を図を下
に説明する。図6は、本発明の第3の実施例による待機
冗長化構成の二重化システムを示す構成図である。上記
した符号と同一符号は、上記と同一あるいは相当部分で
あるため詳細な説明は省略する。94は外部から稼動系
処理装置1へのイコライズ起動信号であり、95はイコ
ライズ完了割り込み信号である。
Example 3. A third embodiment of the present invention will be described below with reference to the drawings. FIG. 6 is a block diagram showing a redundant system having a standby redundant configuration according to the third embodiment of the present invention. The same reference numerals as those described above are the same as or equivalent to those described above, and thus detailed description thereof will be omitted. Reference numeral 94 is an equalization start signal from the outside to the active processing device 1, and 95 is an equalization completion interrupt signal.

【0042】次に動作について説明する。図7は第3の
実施例による自動イコライズ処理の流れを示すフローチ
ャートである。今、稼動系処理装置1が実行の為、タス
クを実行する(ST201)。タスクの実行中に自動イ
コライズのタイミングが必要になった時、イコライズ起
動信号94をハイレベルにし、自動イコライズ指示を行
い、稼動系のDRAMデータのリード/ライトを行う
(ST202)。系間DMAが動作を開始し、上記DR
AMの内容を待機系に転送し、待機系ではデータをモニ
タし、データを取り込む(ST203)。DMAが終わ
るとデータイコライズが完了する(ST204)。デー
タイコライズが完了すると稼動系に通知する為、イコラ
イズ完了割り込み信号95を使用し稼動系への割り込み
を入れる(ST205)。割り込みを受けた稼動系では
割り込み処理を起動し(ST206)、この割り込み処
理により稼動系の自動イコライズ完了後の後処理を行
う。なお、自動イコライズとは、稼動系のメモリの内容
と待機系のメモリの内容を同じ値にする機能で、チェッ
クポイントの指示信号を必要としないモードである。
Next, the operation will be described. FIG. 7 is a flow chart showing the flow of automatic equalization processing according to the third embodiment. Since the active processing device 1 is now executing, the task is executed (ST201). When the timing of the automatic equalization is required during the execution of the task, the equalize start signal 94 is set to the high level, the automatic equalize instruction is given, and the DRAM data of the active system is read / written (ST202). The inter-system DMA starts operation, and the above DR
The contents of AM are transferred to the standby system, and the standby system monitors the data and fetches the data (ST203). When the DMA ends, the data equalization is completed (ST204). When the data equalization is completed, the active system is notified. Therefore, the equalization completion interrupt signal 95 is used to interrupt the active system (ST205). In the active system that has received the interrupt, the interrupt process is activated (ST206), and this interrupt process performs post-processing after completion of automatic equalization of the active system. The automatic equalization is a function that makes the contents of the memory of the active system and the contents of the memory of the standby system have the same value and does not require a checkpoint instruction signal.

【0043】実施例4.本発明の第4の実施例を図を下
に説明する。図8は、本発明の第4の実施例による待機
冗長化構成の二重化システムを示す構成図である。上記
した符号と同一符号は、上記と同一あるいは相当部分で
あるため詳細な説明は省略する。
Example 4. A fourth embodiment of the present invention will be described below with reference to the drawings. FIG. 8 is a configuration diagram showing a redundant system having a standby redundant configuration according to the fourth embodiment of the present invention. The same reference numerals as those described above are the same as or equivalent to those described above, and thus detailed description thereof will be omitted.

【0044】次に動作について説明する。図9は第4の
実施例の処理の流れを示すフローチャートである。稼動
系処理装置1上でタスクが実行される(ST301)。
タスクが主メモり12のメモリにアクセスする(ST3
02)。アクセスしたデータは、データ蓄積装置80に
送られる(ST303)。つまり主メモり12に送られ
るデータをデータ蓄積装置80にも同時に転送する。デ
ータ蓄積装置80に送られたデータはモニタバス70を
通じて待機系にデータが送られる(ST304)。待機
系では送られたデータを受信する(ST305)。受け
取ったデータは、主メモリ22上に展開される(ST3
06)。このように、主メモり12に送られるデータ
は、待機系にも転送され、同時に待機系の主メモリ22
上に展開される。そのため、実施例1の蓄積装置フル発
生通知信号91,チェックポイント指示信号92,チェ
ックポイントステータス信号93は、設けられていな
い。
Next, the operation will be described. FIG. 9 is a flowchart showing the flow of processing of the fourth embodiment. A task is executed on the active processing device 1 (ST301).
The task accesses the memory of the main memory 12 (ST3
02). The accessed data is sent to the data storage device 80 (ST303). That is, the data sent to the main memory 12 is also transferred to the data storage device 80 at the same time. The data sent to the data storage device 80 is sent to the standby system through the monitor bus 70 (ST304). The standby system receives the transmitted data (ST305). The received data is expanded on the main memory 22 (ST3
06). In this way, the data sent to the main memory 12 is also transferred to the standby system, and at the same time, the main memory 22 of the standby system 22 is transferred.
Expanded on. Therefore, the storage device full occurrence notification signal 91, the checkpoint instruction signal 92, and the checkpoint status signal 93 of the first embodiment are not provided.

【0045】実施例5.本発明の第5の実施例を図を下
に説明する。図10は、本発明の第5の実施例による待
機冗長化構成の二重化システムを示す構成図である。上
記した符号と同一符号は、上記と同一あるいは相当部分
であるため詳細な説明は省略する。98は待機系の状態
を通知する為の待機系ステ−タス信号である。
Example 5. A fifth embodiment of the present invention will be described below with reference to the drawings. FIG. 10 is a configuration diagram showing a redundant system having a standby redundancy configuration according to the fifth embodiment of the present invention. The same reference numerals as those described above are the same as or equivalent to those described above, and thus detailed description thereof will be omitted. Reference numeral 98 is a standby system status signal for notifying the state of the standby system.

【0046】次に動作について説明する。図11は第5
の実施例による処理の流れを示すフローチャートであ
る。稼動系処理装置1はタスクを実行する(ST60
1)。待機系処理装置2では稼動系処理装置1のデ−タ
をモニタし、デ−タを取り込む(ST602)。待機系
処理装置2で正常動作時は、待機系ステ−タス信号98
が有意である(ST603)。待機系処理装置2で故障
が発生する(ST604)。故障によって待機系ステ−
タス信号98が無意になる(ST605)。待機系ステ
−タス信号98が無意になったことによって稼動系処理
装置1では待機系処理装置の故障を認識する(ST60
6)。待機系処理装置2が故障になったことによって稼
動系処理装置1のデータモニタ装置30の機能を停止す
る(ST607)。これにより、稼動系処理装置1のデ
ータの待機系処理装置2への転送を停止する。
Next, the operation will be described. FIG. 11 is the fifth
5 is a flowchart showing a flow of processing according to the embodiment of FIG. The active processing device 1 executes the task (ST60
1). The standby system processing device 2 monitors the data of the active system processing device 1 and fetches the data (ST602). When the standby processing device 2 is operating normally, the standby status signal 98
Is significant (ST603). A failure occurs in the standby processing device 2 (ST604). Standby system due to failure
The task signal 98 becomes insignificant (ST605). Since the standby system status signal 98 becomes ineffective, the active system processing device 1 recognizes the failure of the standby system processing device (ST60).
6). The function of the data monitoring device 30 of the active processing device 1 is stopped due to the failure of the standby processing device 2 (ST607). As a result, the transfer of the data of the active processing device 1 to the standby processing device 2 is stopped.

【0047】実施例6.本発明の第6の実施例を図を下
に説明する。図12は、本発明の第6の実施例による待
機冗長化構成の二重化システムを示す構成図である。上
記した符号と同一符号は、上記と同一あるいは相当部分
であるため詳細な説明は省略する。99はモニタバスパ
リテイ生成装置、100はモニタバスパリテイ検出装
置、101はバス占有時間監視装置である。
Example 6. A sixth embodiment of the present invention will be described below with reference to the drawings. FIG. 12 is a configuration diagram showing a redundant system having a standby redundancy configuration according to a sixth embodiment of the present invention. The same reference numerals as those described above are the same as or equivalent to those described above, and thus detailed description thereof will be omitted. Reference numeral 99 is a monitor bus parity generation device, 100 is a monitor bus parity detection device, and 101 is a bus occupation time monitoring device.

【0048】次に動作について説明する。図13は第6
の実施例による処理の流れを示すフローチャートであ
る。稼動系処理装置1はタスクを実行する(ST70
1)。データモニタ装置30が変化したデータとアドレ
スを取り込む。データ転送装置40が取り込んだデータ
とアドレスを転送するにあたって、モニタバスパリティ
生成装置99がモニタバス70上にそのデータにパリテ
ィを付加する(ST702)。待機系処理装置2に送信
する(ST703)。稼動系処理装置1ではバス占有時
間監視装置101が常時モニタバス70のバス占有時間
を監視する(ST704)。モニタバス70の監視時間
がオーバーした時は、データ転送のリトライ処理を行い
(ST705)、リトライ失敗で出力を出す。待機系処
理装置2ではモニタバスパリティ検出装置100が送ら
れてきたデータをチェックする(ST706)。エラー
であればモニタバス70の待機系ステータス信号98に
出力(無意)される(ST707)。モニタバス70の
監視時間オーバーによるバス占有時間監視装置101の
リトライ失敗の出力とモニタバス70の待機系ステータ
ス信号98の出力(無意)との論理和を計算する(ST
708)。もし、いずれかに出力がある場合、待機系処
理装置2が故障になったと考え、稼動系処理装置1のデ
ータモニタ装置30の機能を停止する(ST709)。
これにより、稼動系処理装置1のデータの待機系処理装
置2への転送を停止する。
Next, the operation will be described. FIG. 13 is the sixth
5 is a flowchart showing a flow of processing according to the embodiment of FIG. The active processing device 1 executes the task (ST70
1). The data monitor device 30 takes in the changed data and address. When the data transfer device 40 transfers the fetched data and address, the monitor bus parity generation device 99 adds parity to the data on the monitor bus 70 (ST702). It is transmitted to the standby processing device 2 (ST703). In the active processing device 1, the bus occupation time monitoring device 101 constantly monitors the bus occupation time of the monitor bus 70 (ST704). When the monitoring time of the monitor bus 70 is over, a retry process of data transfer is performed (ST705), and an output is output due to a retry failure. In the standby processing device 2, the monitor bus parity detection device 100 checks the sent data (ST706). If there is an error, it is output (involuntarily) to the standby system status signal 98 of the monitor bus 70 (ST707). The logical sum of the output of the retry failure of the bus occupation time monitoring device 101 due to the monitoring time of the monitor bus 70 being exceeded and the output (unintentional) of the standby system status signal 98 of the monitor bus 70 is calculated (ST.
708). If there is an output in any of them, it is considered that the standby processing device 2 has failed, and the function of the data monitoring device 30 of the active processing device 1 is stopped (ST709).
As a result, the transfer of the data of the active processing device 1 to the standby processing device 2 is stopped.

【0049】実施例7.本発明の第7の実施例を図を下
に説明する。図14は、本発明の第7の実施例による待
機冗長化構成の二重化システムを示す構成図である。上
記した符号と同一符号は、上記と同一あるいは相当部分
であるため詳細な説明は省略する。102は稼動系処理
装置の状態を通知する稼動系ステータス信号、103は
稼動系処理装置1からのデータの受け入れを切り離す切
り離す装置、104はデータ蓄積装置50に蓄積されて
いるイコライズデータを、正常データとして待機系処理
装置2の主メモり22にデータ展開するデータ展開装置
である。
Example 7. A seventh embodiment of the present invention will be described below with reference to the drawings. FIG. 14 is a configuration diagram showing a redundant system having a standby redundancy configuration according to the seventh embodiment of the present invention. The same reference numerals as those described above are the same as or equivalent to those described above, and thus detailed description thereof will be omitted. 102 is an operating system status signal for notifying the state of the operating system processing device, 103 is a disconnecting device for disconnecting acceptance of data from the operating system processing device 104, 104 is equalization data accumulated in the data accumulating device 50, Is a data expansion device for expanding data in the main memory 22 of the standby processing device 2.

【0050】次に動作について説明する。図15は第7
の実施例による処理の流れを示すフローチャートであ
る。稼動系処理装置1はタスクを実行する(ST80
1)。稼動系処理装置1で故障が発生する(ST80
2)。故障によって稼動系ステ−タス信号102が無意
になる(ST803)。稼動系ステ−タス信号が無意に
なったことによって待機系処理装置2では稼動系処理装
置1の故障を認識する(ST804)。切り離し装置1
03が稼動系処理装置1からのデータの受け入れ処理を
切り放す(ST805)。待機系処理装置2のデータ蓄
積装置50に蓄積されているイコライズデータを、正常
データとしてデータ展開装置104が主メモリ22にデ
ータ展開を行う(ST806)。
Next, the operation will be described. FIG. 15 shows the seventh
5 is a flowchart showing a flow of processing according to the embodiment of FIG. The active processing device 1 executes the task (ST80
1). A failure occurs in the active processing device 1 (ST80
2). The failure causes the operating system status signal 102 to become insignificant (ST803). The standby-system processing device 2 recognizes the failure of the active-system processing device 1 because the operating-system status signal becomes ineffective (ST804). Disconnecting device 1
03 disconnects the process of accepting data from the active processing device 1 (ST805). The data expansion device 104 expands the equalized data stored in the data storage device 50 of the standby system processing device 2 to the main memory 22 as normal data (ST806).

【0051】実施例8.本発明の第8の実施例を図を下
に説明する。図16は、本発明の第8の実施例による待
機冗長化構成の二重化システムを示す構成図である。上
記した符号と同一符号は、上記と同一あるいは相当部分
であるため詳細な説明は省略する。300は主系プロセ
ッサすなわち稼動系処理装置、301は従系プロセッサ
すなわち待機系処理装置、302A,302Bは中央演
算処理装置(CPU)、303A,303Bは主メモ
リ、304A,304Bはイコライズ回路、305は稼
動系処理装置300と待機系処理装置301を接続する
イコライズ用バス、320A,320BはCPU302
A,302Bが出力するアドレス信号、321A,32
1Bはデ−タ信号である。
Embodiment 8 FIG. An eighth embodiment of the present invention will be described below with reference to the drawings. FIG. 16 is a configuration diagram showing a redundant system having a standby redundancy configuration according to the eighth embodiment of the present invention. The same reference numerals as those described above are the same as or equivalent to those described above, and thus detailed description thereof will be omitted. 300 is a main processor, that is, an active processor, 301 is a slave processor, that is, a standby processor, 302A and 302B are central processing units (CPU), 303A and 303B are main memories, 304A and 304B are equalizer circuits, and 305 is An equalizing bus connecting the active processing device 300 and the standby processing device 301, and 320A and 320B are CPUs 302
A, 302B output address signals, 321A, 32
1B is a data signal.

【0052】また、図17は図16の詳細図で、305
Aは稼動系処理装置300と待機系処理装置301間で
転送されるアドレス信号、305Bはデ−タ信号、30
5Cは制御信号である。310A,310Bは領域設定
部、311−1A〜311−NA,311−1B〜31
1−NBはイコライズ領域設定レジスタで、領域設定部
310A,310Bから設定されるイコライズ領域の上
限値が登録されている。312−1A〜312−NA,
312−1B〜312−NBはイコライズ領域設定レジ
スタで、領域設定部310A,310Bから設定される
イコライズ領域の下限値が登録されている。330は領
域一致信号である。
FIG. 17 is a detailed view of FIG.
A is an address signal transferred between the active processor 300 and the standby processor 301, 305B is a data signal, 30
5C is a control signal. Areas 310A and 310B are area setting units 311-1A to 311-NA and 311-1B to 31.
Reference numeral 1-NB is an equalization area setting register in which the upper limit value of the equalization area set by the area setting units 310A and 310B is registered. 312-1A to 312-NA,
Reference numerals 312-1B to 312-NB denote equalization area setting registers in which the lower limit values of the equalization areas set by the area setting units 310A and 310B are registered. Reference numeral 330 is a region coincidence signal.

【0053】また、図18はイコライズ領域の設定例
で、上限値と下限値を3種設定した場合を示し、「イコ
ライズする」部分がイコライズされ稼動系処理装置30
0と待機系処理装置301で同じ値となるが、「イコラ
イズしない」部分は同値化されず異なる値のままとな
る。
FIG. 18 shows an example of setting the equalizing area, and shows a case where the upper limit value and the lower limit value are set to three types. The "equalize" portion is equalized and the active processing unit 30 is shown.
Although 0 and the standby processing device 301 have the same value, the "not equalize" portion is not equalized and remains a different value.

【0054】次に動作について説明する。図19は第8
の実施例による処理の流れを示すフローチャートであ
る。イコライズ領域それぞれの上限値・下限値を領域設
定部310Aからイコライズ領域設定レジスタ311−
1A〜311−NA,312−1A〜312−NAに登
録する(ST900)。稼動系CPU302Aが稼動系
主メモリ303Aにアクセスする時(ST901)、各
イコライズ領域設定レジスタ311−1A〜311−N
A,312−1A〜312−NAは、該アドレスが各々
に設定されている上限値〜下限値の領域にあるかチェッ
クする(ST902)。各イコライズ領域設定レジスタ
311−1A〜311−NA,312−1A〜312−
NAは、該アドレスが自領域内にあるとき領域一致信号
330をイコライズ回路304Aに出力する。(領域外
であれば出力しない)(ST903)。イコライズ回路
は領域一致信号330を受けた場合、CPU302Aか
らのアドレス信号320Aと主メモり303Aからのデ
ータ信号321Aを取り込み、制御信号305Cと共に
待機系処理装置301のイコライズ回路304Bに出力
する(ST904)。待機系処理装置301のイコライ
ズ回路304Bでは、制御信号305Cにより稼動系処
理装置300のイコライズ回路304Aから受けたアド
レス信号とデータ信号で、待機系主メモリ303Bをイ
コライズする(ST905)。この場合、イコライズ回
路304BからCPU302Bに通知して主メモリ30
3Bに展開してもよいし、イコライズ回路304Bから
直接主メモリ303Bに展開してもよい。
Next, the operation will be described. FIG. 19 shows the eighth
5 is a flowchart showing a flow of processing according to the embodiment of FIG. The upper limit value / lower limit value of each equalization area is set from the area setting unit 310A to the equalization area setting register 311-.
1A to 311-NA and 312-1A to 312-NA are registered (ST900). When the active CPU 302A accesses the active main memory 303A (ST901), each equalize area setting register 311-1A to 311-N.
A, 312-1A to 312-NA check whether or not the address is in the area of the upper limit value to the lower limit value set for each (ST902). Each equalize area setting register 311-1A to 311-NA, 312-1A to 312-
The NA outputs the area coincidence signal 330 to the equalize circuit 304A when the address is in its own area. (No output if outside the area) (ST903). When the equalizing circuit receives the area coincidence signal 330, it takes in the address signal 320A from the CPU 302A and the data signal 321A from the main memory 303A, and outputs it together with the control signal 305C to the equalizing circuit 304B of the standby processing device 301 (ST904). . The equalizing circuit 304B of the standby processing device 301 equalizes the standby main memory 303B with the address signal and the data signal received from the equalizing circuit 304A of the active processing device 300 by the control signal 305C (ST905). In this case, the equalizer circuit 304B notifies the CPU 302B of the main memory 30.
3B or may be expanded directly from the equalizing circuit 304B to the main memory 303B.

【0055】イコライズ領域設定レジスタ311−1A
〜311−NA,312−1A〜312−NAはN個を
有し、任意の空間を設定可能であると共に、重複設定と
なる等設定誤りがあった場合には、領域設定部310A
から設定エラーとすることもエラーとしないことも可能
である。上記では稼動系処理装置300から待機系処理
装置301に書き込む場合を示したが、待機系処理装置
301から稼動系処理装置300にイコライズする場合
も同様の動作となる。
Equalize area setting register 311-1A
-311-NA, 312-1A to 312-NA have N pieces, can set an arbitrary space, and when there is a setting error such as overlapping setting, the area setting unit 310A
It is possible to set it as a setting error or not. In the above, the case of writing from the active processing device 300 to the standby processing device 301 has been described, but the same operation is performed when equalizing from the standby processing device 301 to the active processing device 300.

【0056】実施例9.本発明のさらに第9の実施例を
図を下に説明する。図20は、本発明のさらに第9の実
施例による待機冗長化構成の二重化システムを示す構成
図である。上記した符号と同一符号は、上記と同一ある
いは相当部分であるため詳細な説明は省略する。400
A,400BはCPU302A,302Bから出力され
る書き込み信号、401A,401BはCPU302
A,302Bから出力される読出信号、410A,41
0Bはイコライズモードを設定するモード指定信号であ
る。
Example 9. A ninth embodiment of the present invention will be described below with reference to the drawings. FIG. 20 is a configuration diagram showing a redundant system having a standby redundant configuration according to a ninth embodiment of the present invention. The same reference numerals as those described above are the same as or equivalent to those described above, and thus detailed description thereof will be omitted. 400
A and 400B are write signals output from the CPUs 302A and 302B, and 401A and 401B are CPU 302.
A read signal output from A, 302B, 410A, 41
0B is a mode designation signal for setting the equalize mode.

【0057】また、図21は図20のイコライズ回路3
04Aの一部の詳細図で、420Aは、書込み信号40
0Aと読出信号401Aとモード指定信号410Aとの
比較から、CPUからのアクセスモードの一致をチェッ
クするモード選択部、430Aはモード選択部420A
からモードの一致を知らせるイコライズ指示信号であ
る。この各機能,構成は待機系処理装置301でも同様
に有している。
Further, FIG. 21 shows the equalizer circuit 3 of FIG.
In a detailed view of a portion of 04A, 420A is a write signal 40.
0A, a read signal 401A, and a mode designation signal 410A are compared, and a mode selection unit 430A that checks whether the access modes from the CPU match, a mode selection unit 420A.
Is an equalize instruction signal for notifying the mode match. The standby system processing device 301 also has these functions and configurations.

【0058】次に動作について説明する。図22は第9
の実施例による処理の流れを示すフローチャートであ
る。最初に、イコライズ回路304Aにモード指定信号
410Aによりモード指定を行う(ST910)。CP
U302Aが主メモリ303A等にアクセスするためC
PU302Aから書込み信号400Aまたは読出信号4
01Aが出力される(ST911)。 イコライズ回路
304A内のモード選択部420Aにてモード指定信号
410Aと書込み信号400Aまたは読出信号401A
との対応を行う(ST912)。 モード指定信号41
0Aと書込み信号400Aまたは読出信号401Aとが
合致していれば、イコライズ指示信号430Aを出力す
る(ST913)。これにより、稼動系イコライズ回路
304Aから待機系イコライズ回路304Bにアドレス
信号305A、データ信号305B、制御信号305C
が送られ、同値化処理が実行される(ST914)。こ
のように、CPUの主メモリへの書込み動作だけでな
く、読出動作のみでも同値化でき、待機系処理装置の再
起動にも対応できる。
Next, the operation will be described. FIG. 22 shows the ninth
5 is a flowchart showing a flow of processing according to the embodiment of FIG. First, the equalizing circuit 304A is designated by the mode designating signal 410A (ST910). CP
C for U302A to access main memory 303A etc.
Write signal 400A or read signal 4 from PU 302A
01A is output (ST911). The mode selection section 420A in the equalizing circuit 304A uses the mode designation signal 410A and the write signal 400A or the read signal 401A.
(ST912). Mode designation signal 41
If 0A matches the write signal 400A or the read signal 401A, the equalize instruction signal 430A is output (ST913). As a result, the address signal 305A, the data signal 305B, and the control signal 305C are transferred from the active system equalizing circuit 304A to the standby system equalizing circuit 304B.
Is sent and the equivalence processing is executed (ST914). In this way, not only the write operation to the main memory of the CPU but also the read operation can be used for the same value, and the restart of the standby processing device can be supported.

【0059】[0059]

【発明の効果】以上のように、第1の発明によれば、チ
ェックポイントでの稼動系中央演算処理装置によるチェ
ックポイントデータの選択、チェックポイントデータの
転送が、中央演算処理装置のタスク実行処理と並列処理
されるかあるいは省略されるため、システムのスループ
ットを向上させることができる。
As described above, according to the first aspect of the present invention, the selection of checkpoint data by the active central processing unit at the checkpoint and the transfer of the checkpoint data are performed by the task execution processing of the central processing unit. Since it is processed in parallel or omitted, the system throughput can be improved.

【0060】第2の発明によれば、待機処理装置で蓄積
されたデータの展開中で待機系にデータが転送できない
場合でも、稼動処理装置でタスク実行が可能となるの
で、さらにシステムのスループットを向上させることが
できる。
According to the second invention, even when the data accumulated in the standby processing device is being expanded and the data cannot be transferred to the standby system, the task can be executed in the active processing device, so that the system throughput can be further increased. Can be improved.

【0061】第3の発明によれば、イコライズ(同値
化)要求をプログラムから操作でき、かつ、イコライズ
完了をプログラムで認識できる為、プログラムの実行の
区切りの良い箇所でイコライズを行うことにより最適な
箇所でのイコライズが可能になる。
According to the third aspect of the invention, the equalization request can be operated from the program and the completion of equalization can be recognized by the program. Equalize in place.

【0062】第4の発明によれば、稼動系処理装置の中
央演算処理装置が主メモリにアクセスを行う際に、アク
セスしたデータを待機系処理装置に転送しそのデータを
待機系の主メモリに展開するようにしたので、稼動系の
中央制御装置が主メモリにアクセスしたデータが常に待
機系の主メモリに展開させることができる。
According to the fourth invention, when the central processing unit of the active processing unit accesses the main memory, the accessed data is transferred to the standby processing unit and the data is transferred to the standby main memory. Since the data is expanded, the data accessed by the central controller of the operating system can be expanded in the main memory of the standby system at all times.

【0063】第5の発明によれば、待機系が故障になっ
た場合、稼動系処理装置のデータの転送を停止すること
により、待機系での故障による稼動系への影響をくい止
めることができる。
According to the fifth aspect of the present invention, when the standby system fails, the transfer of the data of the active system processing device is stopped, so that the influence of the failure in the standby system on the active system can be suppressed. .

【0064】第6の発明によれば、モニタバスが故障に
なった場合、稼動系処理装置のデータの転送を停止する
ことにより、モニタバスでの故障による稼動系への影響
をくい止めることができる。
According to the sixth aspect of the present invention, when the monitor bus fails, the transfer of the data of the active processing device is stopped, so that the effect on the active system due to the failure on the monitor bus can be suppressed. .

【0065】 第7の発明によれば、稼動系が故障にな
った場合、待機系処理装置では稼動系処理装置からのデ
ータの受け入れを切り離し、稼動系よりの異常データの
入力をくい止め、故障以前に受け取った正常データによ
り待機系が稼動系として実行でき、信頼性の高い2重化
システムを得ることができる。
According to the seventh aspect, when the operating system fails, the standby processing device disconnects the data reception from the operating system processing device and blocks the input of the abnormal data from the operating system to prevent the failure. The standby system can be executed as an operating system based on the normal data received in the above, and a highly reliable duplex system can be obtained.

【0066】第8の発明によれば、同一H/Wにおい
て、両主メモリ間で同値化すべき領域を領域設定部から
イコライズ領域設定レジスタに登録設定できるので、シ
ステム変更時、または、他システムへの適用時等に、H
/Wを再設計する必要が無くなり、コスト低減が図れ
る。また、各領域を同値化するかしないかは、主メモリ
をアクセスするアプリケーションプログラムからは何等
意識する必要がないため、ユーザに負荷を欠けない2重
化システムになる。
According to the eighth invention, in the same H / W, the area to be equalized between both main memories can be registered and set in the equalize area setting register from the area setting unit, so that it is possible to change the system or to another system. When applying
It is not necessary to redesign / W, and the cost can be reduced. Further, since it is not necessary for the application program accessing the main memory to consider whether or not the respective areas are to be equivalenced, the duplication system does not impose a load on the user.

【0067】第9の発明によれば、データの同値化を行
う場合、稼動系処置装置からの読出動作においても可能
となるため、主メモリを再度書込みすることなく同値化
が行えるため、システムの信頼性が上がり、待機系処理
装置のみを再立ち上げした場合でも稼動系処理装置との
同値化が容易となり、保守しやすい2重化システムにな
る。
According to the ninth aspect of the invention, when the data is equivalenced, the read operation from the active system treatment device is also possible, so that the equivalence can be performed without rewriting the main memory. The reliability is improved, and even if only the standby processing device is restarted, it becomes easy to make the equivalency with the active processing device, and the duplex system is easy to maintain.

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

【図1】 本発明の第1の実施例による待機冗長化構成
の二重化システムを示す構成図である。
FIG. 1 is a configuration diagram showing a redundant system having a standby redundant configuration according to a first embodiment of the present invention.

【図2】 本発明の第1の実施例による稼動系処理装置
のチェックポイント処理の流れを示すフローチャートで
ある。
FIG. 2 is a flowchart showing a flow of checkpoint processing of the active processing device according to the first embodiment of the present invention.

【図3】 本発明の第1の実施例による待機系処理装置
のチェックポイント処理の流れを示すフローチャートで
ある。
FIG. 3 is a flowchart showing a flow of checkpoint processing of the standby processing device according to the first embodiment of the present invention.

【図4】 本発明の第2の実施例による待機冗長化構成
の二重化システムを示す構成図である。
FIG. 4 is a configuration diagram showing a redundant system having a standby redundant configuration according to a second embodiment of the present invention.

【図5】 本発明の第2の実施例による稼動系処理装置
のチェックポイント処理の流れを示すフローチャートで
ある。
FIG. 5 is a flow chart showing the flow of checkpoint processing of the active processing device according to the second embodiment of the present invention.

【図6】 本発明の第3の実施例による待機冗長化構成
の二重化システムを示す構成図である。
FIG. 6 is a configuration diagram showing a redundant system having a standby redundant configuration according to a third embodiment of the present invention.

【図7】 本発明の第3の実施例による自動イコライズ
処理の流れを示すフローチャートである。
FIG. 7 is a flowchart showing a flow of automatic equalization processing according to a third embodiment of the present invention.

【図8】 本発明の第4の実施例による待機冗長化構成
の二重化システムを示す構成図である。
FIG. 8 is a configuration diagram showing a redundant system having a standby redundant configuration according to a fourth embodiment of the present invention.

【図9】 本発明の第4の実施例による処理の流れを示
すフローチャートである。
FIG. 9 is a flowchart showing the flow of processing according to the fourth embodiment of the present invention.

【図10】 本発明の第5の実施例による待機冗長化構
成の二重化システムを示す構成図である。
FIG. 10 is a configuration diagram showing a redundant system having a standby redundant configuration according to a fifth embodiment of the present invention.

【図11】 本発明の第5の実施例による処理の流れを
示すフローチャートである。
FIG. 11 is a flowchart showing the flow of processing according to the fifth embodiment of the present invention.

【図12】 本発明の第6の実施例による待機冗長化構
成の二重化システムを示す構成図である。
FIG. 12 is a configuration diagram showing a redundant system having a standby redundant configuration according to a sixth embodiment of the present invention.

【図13】 本発明の第6の実施例による処理の流れを
示すフローチャートである。
FIG. 13 is a flowchart showing the flow of processing according to the sixth embodiment of the present invention.

【図14】 本発明の第7の実施例による待機冗長化構
成の二重化システムを示す構成図である。
FIG. 14 is a configuration diagram showing a redundant system having a standby redundant configuration according to a seventh embodiment of the present invention.

【図15】 本発明の第7の実施例による処理の流れを
示すフローチャートである。
FIG. 15 is a flowchart showing a processing flow according to a seventh embodiment of the present invention.

【図16】 本発明の第8の実施例による待機冗長化構
成の二重化システムを示す構成図である。
FIG. 16 is a configuration diagram showing a redundant system having a standby redundant configuration according to an eighth embodiment of the present invention.

【図17】 図16の詳細図である。FIG. 17 is a detailed view of FIG. 16.

【図18】 本発明の第8の実施例によるイコライズ領
域の設定例である。
FIG. 18 is an example of setting an equalize area according to an eighth embodiment of the present invention.

【図19】 本発明の第8の実施例による処理の流れを
示すフローチャートである。
FIG. 19 is a flowchart showing the flow of processing according to the eighth embodiment of the present invention.

【図20】 本発明のさらに第9の実施例による待機冗
長化構成の二重化システムを示す構成図である。
FIG. 20 is a configuration diagram showing a redundant system having a standby redundant configuration according to a ninth embodiment of the present invention.

【図21】 図20のイコライズ回路の一部の詳細図で
ある。
FIG. 21 is a detailed view of a part of the equalize circuit of FIG. 20.

【図22】 本発明の第9の実施例による処理の流れを
示すフローチャートである。
FIG. 22 is a flow chart showing the flow of processing according to the ninth embodiment of the present invention.

【図23】 従来の待機冗長化構成の二重化システムを
示す構成図である。
FIG. 23 is a configuration diagram showing a conventional redundant system having a standby redundant configuration.

【図24】 従来の稼動系処理装置のチェックポイント
処理の流れを示すフローチャートである。
FIG. 24 is a flowchart showing the flow of checkpoint processing of a conventional operating system processing apparatus.

【図25】 従来の待機系処理装置のチェックポイント
処理の流れを示すフローチャートである。
FIG. 25 is a flowchart showing the flow of checkpoint processing of a conventional standby processing device.

【図26】 従来の他の2重化システムの構成図であ
る。
FIG. 26 is a configuration diagram of another conventional duplex system.

【図27】 図26の動作手順を示すフローチャートで
ある。
FIG. 27 is a flowchart showing the operation procedure of FIG. 26.

【符号の説明】[Explanation of symbols]

1 稼動系処理装置、2 待機系処理装置、11,21
中央演算処理装置、12,22 主メモり、18,2
8 タスク管理情報、4a〜4n,5a〜5n タス
ク、6a〜6n,7a〜7n タスク内部データ、30
データモニタ装置、40 データ転送装置、50 デ
ータ蓄積装置、60 データ展開装置、70 モニタバ
ス、80 データ蓄積装置、91 蓄積装置フル発生通
知信号、92 チェックポイント指示信号、93 チェ
ックポイントステータス信号、94 イコライズ起動信
号、95 イコライズ完了割り込み信号、98 待機系
ステ−タス信号、99 モニタバスパリテイ生成装置、
100 モニタバスパリテイ検出装置、101 バス占
有時間監視装置、102 稼動系ステ−タス信号、10
3 切り離し装置、104 データ展開装置、300
稼動系処理装置、301 待機系処理装置、302A,
302B 中央演算処理装置、303A,303B 主
メモリ、304A,304B イコライズ回路、305
A アドレス信号、305B データ信号、305C
制御信号、310A,310B 領域設定部、311−
1A〜311−NA,311−1B〜311−NB イ
コライズ設定レジスタ、312−1A〜312−NA,
312−1B〜312−NB イコライズ設定レジス
タ、320A,320B アドレス信号、321A,3
21B データ信号、400A,400B 書込み信
号、401A、401B 読出信号、410A,410
B モード指定信号、420A,420B モード選択
部、430A,430B イコライズ指示信号。
1 active processor, 2 standby processor 11, 21
Central processing unit, 12,22 Main memory, 18,2
8 task management information, 4a to 4n, 5a to 5n tasks, 6a to 6n, 7a to 7n task internal data, 30
Data monitor device, 40 data transfer device, 50 data storage device, 60 data expansion device, 70 monitor bus, 80 data storage device, 91 storage device full occurrence notification signal, 92 checkpoint instruction signal, 93 checkpoint status signal, 94 equalize Start signal, 95 equalization completion interrupt signal, 98 standby system status signal, 99 monitor bus parity generation device,
100 monitor bus parity detector, 101 bus occupation time monitor, 102 operating status signal, 10
3 separation device, 104 data expansion device, 300
Operating system processor, 301 Standby system processor, 302A,
302B Central processing unit, 303A, 303B main memory, 304A, 304B equalizing circuit, 305
A address signal, 305B data signal, 305C
Control signal, 310A, 310B area setting unit, 311-
1A to 311-NA, 311-1B to 311-NB equalize setting register, 312-1A to 312-NA,
312-1B to 312-NB equalize setting register, 320A, 320B address signal, 321A, 3
21B data signal, 400A, 400B write signal, 401A, 401B read signal, 410A, 410
B mode designation signal, 420A, 420B mode selection section, 430A, 430B equalize instruction signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 長尾 哲 神戸市兵庫区和田崎町1丁目1番2号 三 菱電機株式会社制御製作所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Satoshi Nagao 1-2-1, Wadasakicho, Hyogo-ku, Kobe Sanryo Electric Co., Ltd.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 中央演算処理装置と主メモリをそれぞれ
有する稼動系処理装置と待機系処理装置を並列に設け、
障害発生時の処理の引き継ぎに必要なデータを前記稼動
系処理装置から前記待機系処理装置に転送する待機冗長
化構成の二重化システムにおいて、系間接続用のモニタ
バスと、前記稼動系処理装置で中央演算処理装置が主メ
モリにアクセスしたデータを取り込むデータモニタ装置
と、取り込んだデータを前記モリタバスを使用して前記
待機系処理装置に転送するデータ転送装置と、前記稼動
系処理装置から転送されたデータを蓄積するデータ蓄積
装置と、このデータ蓄積装置に蓄積されたデータを前記
待機系処理装置の主メモリに書き込むデータ展開装置と
を備えたことを特徴とする待機冗長化構成の二重化シス
テム。
1. An active processor and a standby processor each having a central processing unit and a main memory are provided in parallel,
In a redundant system with a standby redundancy configuration that transfers the data necessary for taking over the processing at the time of a failure from the active processing device to the standby processing device, a monitor bus for intersystem connection and the active processing device A data monitoring device that captures data accessed by the central processing unit to the main memory, a data transfer device that transfers the captured data to the standby processing device using the Morita bus, and a data monitoring device that transfers data from the active processing device. A duplex system having a standby redundancy configuration, comprising: a data storage device for storing data; and a data expansion device for writing the data stored in the data storage device into a main memory of the standby processing device.
【請求項2】 データモニタ装置で取り込んだデータを
蓄積する第1データ蓄積装置を稼動系処理装置に備え、
待機系処理装置の第2データ蓄積装置に蓄積されたデー
タをデータ展開装置が主メモリに展開中は、前記データ
モニタ装置で取り込んだデータを前記稼動系処理装置の
第1データ蓄積装置に蓄積するようにしたことを特徴と
する請求項1記載の待機冗長化構成の二重化システム。
2. The operating system processing device is provided with a first data storage device for storing the data taken in by the data monitor device,
While the data expansion device is expanding the data stored in the second data storage device of the standby system processing device into the main memory, the data taken in by the data monitor device is stored in the first data storage device of the active system processing device. The duplex system having a standby redundant configuration according to claim 1, wherein
【請求項3】 稼動系処理装置の主メモリの内容と待機
系処理装置の主メモリの内容を同じ値にするイコライズ
を、前記稼動系処理装置への指示で開始し、イコライズ
完了で前記待機系処理装置から前記稼動系処理装置に割
り込み通知するようにした請求項1又は請求項2記載の
待機冗長化構成の二重化システム。
3. An equalizing process for starting the equalization of the contents of the main memory of the active processing device and the contents of the main memory of the standby processing device to the same value is started by an instruction to the active processing device, and the standby system is completed when the equalization is completed. The duplex system of the standby redundancy configuration according to claim 1 or 2, wherein an interrupt notification is given from the processing device to the operating system processing device.
【請求項4】 稼動系処理装置の中央演算処理装置が主
メモリにアクセスを行う際に、アクセスしたデータを待
機系処理装置に転送しそのデータを待機系の主メモリに
展開し、系間の同値化を同時に行うようにした請求項1
又は請求項2記載の待機冗長化構成の二重化システム。
4. When the central processing unit of the active processing unit accesses the main memory, the accessed data is transferred to the standby processing unit and the data is expanded to the main memory of the standby system, and the data is transferred between the systems. Claim 1 wherein the equalization is performed simultaneously.
Alternatively, the duplex system having the standby redundant configuration according to claim 2.
【請求項5】 待機系処理装置で故障が発生すると、待
機系ステータス信号により、前記待機系処理装置の故障
を稼動系処理装置に通知し、前記稼動系処理装置のデー
タの前記待機系処理装置への転送を停止するようにした
請求項1〜請求項4のいずれか1項に記載の待機冗長化
構成の二重化システム。
5. When a failure occurs in the standby system processing device, the standby system status signal notifies the active system processing device of the failure of the standby system processing device, and the standby system processing device of the data of the active system processing device. The redundant system having the standby redundant configuration according to any one of claims 1 to 4, wherein the transfer to the destination is stopped.
【請求項6】 稼動系処理装置にモニタバスのバス占有
時間監視装置を設け、前記バス占有時間監視装置がモニ
タバスの監視時間オーバーを検出すると、データ転送の
リトライ処理を行いリトライ失敗で、待機系処理装置が
故障として前記稼動系処理装置のデータの前記待機系処
理装置への転送を停止するようにした請求項1〜請求項
5のいずれか1項に記載の待機冗長化構成の二重化シス
テム。
6. A bus occupancy time monitoring device for a monitor bus is provided in an active processing device, and when the bus occupancy time monitoring device detects that the monitor bus monitoring time has expired, a retry process for data transfer is performed and a wait is made due to a retry failure. The redundant system of the standby redundant configuration according to any one of claims 1 to 5, wherein the system processing device stops the transfer of the data of the operating system processing device to the standby system processing device as a failure. .
【請求項7】 稼動系処理装置で故障が発生すると、稼
動系ステータス信号により、前記稼動系処理装置の故障
を待機系処理装置に通知し、前記待機系処理装置では前
記稼動系処理装置からのデータの受け入れを切り離し、
その時に前記待機系処理装置のデータ蓄積装置に蓄積さ
れているデータを、正常データとして前記待機系処理装
置の主メモりにデータ展開するようにした請求項1〜請
求項6のいずれか1項に記載の待機冗長化構成の二重化
システム。
7. When a failure occurs in the active processing device, an active system status signal is used to notify the standby processing device of the failure of the active processing device, and the standby processing device notifies the standby processing device of the failure from the active processing device. Cut off data acceptance,
7. The data stored in the data storage device of the standby system processing device at that time is expanded as normal data in a main memory of the standby system processing device. The redundant system with the standby redundant configuration described in.
【請求項8】 中央演算処理装置と主メモリをそれぞれ
有する稼動系処理装置と待機系処理装置を並列に設け、
障害発生時の処理の引き継ぎに必要なデータを前記稼動
系処理装置から前記待機系処理装置に転送し前記両主メ
モリ間を同値化する待機冗長化構成の二重化システムに
おいて、前記両主メモリ間で同値化すべき領域を設定す
る領域設定部と、この領域設定部で設定した領域を登録
するイコライズ領域設定レジスタと、前記中央演算処理
装置が前記主メモリにアクセスしたアドレスが前記イコ
ライズ領域設定レジスタに設定されている領域で有れば
動作し、前記アドレスと引き継ぎに必要なデータを前記
待機系処理装置に転送するイコライズ回路とを備えたこ
とを特徴とする待機冗長化構成の二重化システム。
8. An active processing unit and a standby processing unit each having a central processing unit and a main memory are provided in parallel,
In a redundant system with a standby redundancy configuration in which data necessary for taking over the processing when a failure occurs is transferred from the active processing device to the standby processing device and the two main memories are equivalenced An area setting unit for setting an area to be equalized, an equalizing area setting register for registering the area set by the area setting unit, and an address at which the central processing unit accesses the main memory are set in the equalizing area setting register. A redundant system having a standby redundant configuration, which operates if it is in a reserved area and is provided with an equalizing circuit for transferring the address and data necessary for taking over to the standby processing device.
【請求項9】 同値化対象が中央演算処理装置のアクセ
ス種別が書込み時か、読出時かを設定するモード指定信
号と、前記中央演算処理装置からの書込み信号または読
出信号とを受けて、前記中央演算処理装置のアクセス種
別が設定されたモードであるか否かを判断するモード選
択部を設け、設定されたモードであれば、イコライズ回
路を動作させ、待機系処理装置にアドレスと引き継ぎに
必要なデータを転送するようにしたことを特徴とする請
求項8記載の待機冗長化構成の二重化システム。
9. A mode designation signal for setting whether the access type of the central processing unit is to be equalized is write or read, and a write signal or read signal from the central processing unit to receive the mode designation signal. A mode selection unit is provided to determine whether the access type of the central processing unit is the set mode. If it is the set mode, the equalizer circuit is activated and the standby processing unit needs the address and takeover. 9. A redundant system having a standby redundant configuration according to claim 8, wherein different data is transferred.
JP7136827A 1995-06-02 1995-06-02 Duplex system using standby redundant configuration Pending JPH08328891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7136827A JPH08328891A (en) 1995-06-02 1995-06-02 Duplex system using standby redundant configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7136827A JPH08328891A (en) 1995-06-02 1995-06-02 Duplex system using standby redundant configuration

Publications (1)

Publication Number Publication Date
JPH08328891A true JPH08328891A (en) 1996-12-13

Family

ID=15184437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7136827A Pending JPH08328891A (en) 1995-06-02 1995-06-02 Duplex system using standby redundant configuration

Country Status (1)

Country Link
JP (1) JPH08328891A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008077216A (en) * 2006-09-19 2008-04-03 Toshiba Corp Network monitoring method
US7559064B2 (en) 2002-08-14 2009-07-07 Nippon Telegraph And Telephone Corporation Object state transfer method, object state transfer device, object state transfer program, and recording medium for the program
JP2009211517A (en) * 2008-03-05 2009-09-17 Nec Corp Virtual computer redundancy system
JP2009217505A (en) * 2008-03-10 2009-09-24 Hitachi Ltd Computer system, computer control method, and computer control program
WO2010106593A1 (en) * 2009-03-19 2010-09-23 株式会社日立製作所 High-reliability computer system and configuration method therefor
JP2011253242A (en) * 2010-05-31 2011-12-15 Fujitsu Ltd Duplexing system, active device, standby device and method for updating data
JP2012256240A (en) * 2011-06-09 2012-12-27 Nippon Telegr & Teleph Corp <Ntt> Duplex system and memory synchronization method
JP2013110668A (en) * 2011-11-24 2013-06-06 Nippon Telegr & Teleph Corp <Ntt> Method of making information for use in call control redundant and call control system
JP2015215803A (en) * 2014-05-12 2015-12-03 株式会社東芝 Programmable controller and arithmetic processing system
WO2017013785A1 (en) * 2015-07-23 2017-01-26 三菱電機株式会社 Duplexing process control device
WO2018216167A1 (en) * 2017-05-25 2018-11-29 三菱電機株式会社 Electronic circuit breaker

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7559064B2 (en) 2002-08-14 2009-07-07 Nippon Telegraph And Telephone Corporation Object state transfer method, object state transfer device, object state transfer program, and recording medium for the program
US8037478B2 (en) 2002-08-14 2011-10-11 Nippon Telegraph And Telephone Corporation Object state transfer method, object state transfer device, object state transfer program, and recording medium for the program
JP2008077216A (en) * 2006-09-19 2008-04-03 Toshiba Corp Network monitoring method
JP2009211517A (en) * 2008-03-05 2009-09-17 Nec Corp Virtual computer redundancy system
JP2009217505A (en) * 2008-03-10 2009-09-24 Hitachi Ltd Computer system, computer control method, and computer control program
WO2010106593A1 (en) * 2009-03-19 2010-09-23 株式会社日立製作所 High-reliability computer system and configuration method therefor
JP2011253242A (en) * 2010-05-31 2011-12-15 Fujitsu Ltd Duplexing system, active device, standby device and method for updating data
JP2012256240A (en) * 2011-06-09 2012-12-27 Nippon Telegr & Teleph Corp <Ntt> Duplex system and memory synchronization method
JP2013110668A (en) * 2011-11-24 2013-06-06 Nippon Telegr & Teleph Corp <Ntt> Method of making information for use in call control redundant and call control system
JP2015215803A (en) * 2014-05-12 2015-12-03 株式会社東芝 Programmable controller and arithmetic processing system
WO2017013785A1 (en) * 2015-07-23 2017-01-26 三菱電機株式会社 Duplexing process control device
JPWO2017013785A1 (en) * 2015-07-23 2017-09-21 三菱電機株式会社 Duplex process control device
WO2018216167A1 (en) * 2017-05-25 2018-11-29 三菱電機株式会社 Electronic circuit breaker
JPWO2018216167A1 (en) * 2017-05-25 2019-11-07 三菱電機株式会社 Electronic circuit breaker

Similar Documents

Publication Publication Date Title
JP3447404B2 (en) Multiprocessor system
JP2886856B2 (en) Redundant bus connection method
US6138247A (en) Method for switching between multiple system processors
US6209051B1 (en) Method for switching between multiple system hosts
JP3906015B2 (en) LSI having clock frequency switching function, computer system, and clock frequency switching method
US6601165B2 (en) Apparatus and method for implementing fault resilient booting in a multi-processor system by using a flush command to control resetting of the processors and isolating failed processors
JP5392594B2 (en) Virtual machine redundancy system, computer system, virtual machine redundancy method, and program
JPH08328891A (en) Duplex system using standby redundant configuration
JP2586138B2 (en) Microprocessor
US6247087B1 (en) Bus system for shadowing registers
GB2369692A (en) A fault tolerant computer with a bridge allowing direct memory access (DMA) between main memories of duplicated processing sets
JP2963426B2 (en) Bus bridge device and transaction forward method
US6564300B2 (en) Method and system for controlling the memory access operation by central processing unit in a computer system
JP2813182B2 (en) Multiprocessor computer multifunction device
US7430687B2 (en) Building-up of multi-processor of computer nodes
JP3299115B2 (en) Redundant system
JPH0916468A (en) Memory access system
JP2527964B2 (en) Backup system initial startup control method
JP2001022712A (en) Initial setting method of information processing device
JP2003330737A (en) Computer system
JP3168973B2 (en) Redundant memory system with memory dump function
US20050044290A1 (en) Apparatus having a transfer mode abnormality detecting function, storage controlling apparatus, and interface module for the storage controlling apparatus
JPH0827761B2 (en) Dual-system simultaneous writing method for dual memory
JP2001109581A (en) Hard disk system
JP3012402B2 (en) Information processing system