JPH09305424A - Dual systems - Google Patents

Dual systems

Info

Publication number
JPH09305424A
JPH09305424A JP8121455A JP12145596A JPH09305424A JP H09305424 A JPH09305424 A JP H09305424A JP 8121455 A JP8121455 A JP 8121455A JP 12145596 A JP12145596 A JP 12145596A JP H09305424 A JPH09305424 A JP H09305424A
Authority
JP
Japan
Prior art keywords
shared
bus
address
area
processor
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.)
Granted
Application number
JP8121455A
Other languages
Japanese (ja)
Other versions
JP3299115B2 (en
Inventor
Eiji Kobayashi
英二 小林
Hisao Nagayama
久雄 長山
Kenichi Kurosawa
憲一 黒澤
Ryoichi Takamatsu
良一 高松
Akihiro Ohashi
章宏 大橋
Tadahiko Hashimoto
忠彦 橋本
Koji Masui
晃二 桝井
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.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Process Computer Engineering Inc
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 Hitachi Ltd, Hitachi Process Computer Engineering Inc filed Critical Hitachi Ltd
Priority to JP12145596A priority Critical patent/JP3299115B2/en
Publication of JPH09305424A publication Critical patent/JPH09305424A/en
Application granted granted Critical
Publication of JP3299115B2 publication Critical patent/JP3299115B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide simple fast dual systems which manages common data with main memories without using a system-shared global memory(GM). SOLUTION: When an MPU 020 of an in-use system processor 010 gains write access to the main memory 030, a memory access information acquiring circuit 046 of a CME (common data coincidence device) 040 directly snoops the access information from a main memory bus 021 and transfers it to a transfer circuit comparing circuit 042. The comparing circuit 042 compares the address of the access information with a common area range (upper-limit register 044 and lower-limit register 055), and judges common data in case of writing to the common area 033 and sends it to a transmitting receiving circuit 143 of a stand-by system processor 110. A CME140 of the stand-by system when judging the common data from the address of the receive information by a coincidence bus 060 gains write access to the main memory 130 from a memory access circuit 146.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は二重化システムに係
り、特に、主メモリを利用した系間のデータ共有方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplex system, and more particularly to a data sharing system between systems using a main memory.

【0002】[0002]

【従来の技術】従来、各プロセッサの持つ主記憶装置と
は別に、共有データ用の記憶装置(以下、GM:グロー
バルメモリ)をシステムに設け、各系のプロセッサから
I/Oバスを経由して共通に使用していた。
2. Description of the Related Art Conventionally, in addition to a main storage device of each processor, a storage device for shared data (hereinafter, GM: global memory) is provided in a system, and each processor is connected via an I / O bus. It was commonly used.

【0003】図11に、従来の二重化システムの構成を
示す。常用系はI/Oバス064で、主メモリ030を
内蔵するプロセッサ010と共有データ用の常用系GM
005が接続され、待機系はI/Oバス164で、主メ
モリ130を内蔵したプロセッサ110と待機系GM1
05が接続され、さらに、一致化バス060を介して常
用系GM005と待機系GM105間で共有データを一
致化している。この方式では、共有メモリエリアの大き
さは固定となる。
FIG. 11 shows the configuration of a conventional duplex system. The regular system is the I / O bus 064, and the regular system GM for shared data with the processor 010 having the main memory 030 built therein.
005 is connected, and the standby system is the I / O bus 164, and the processor 110 including the main memory 130 and the standby system GM1.
05 is connected, and shared data is matched between the regular system GM005 and the standby system GM105 via the matching bus 060. In this method, the size of the shared memory area is fixed.

【0004】[0004]

【発明が解決しようとする課題】従来の二重系プロセッ
サ間のデータ共有方式では、主メモリとは別にGMを必
要とするため、システムの構成が複雑化するのみなら
ず、2つの記憶装置各々にある程度の余裕が必要となる
ためメモリ資源の有効な活用ができず、コストアップに
繋がるという問題があった。もちろん、GMの故障によ
り、共有データを使用しているシステム全体の処理が停
止してしまう。
In the conventional data sharing method between the dual processors, the GM is required in addition to the main memory, which not only complicates the system configuration but also increases the storage capacity of each of the two storage devices. There is a problem in that the memory resources cannot be effectively used because a certain amount of extra space is required, which leads to an increase in cost. Of course, due to the failure of the GM, the processing of the entire system using the shared data is stopped.

【0005】また、データの種類によっては、主メモリ
とGMの両方にデータを格納する2度のメモリアクセス
が必要となり、シングルシステムに比べ二重化システム
の処理時間が増加するという問題があった。特に、マル
チプロセッサシステムにおいては、共通のI/Oバスを
経由してGMを使用するため、共有データ量が増加する
と各プロセッサのアクセス待ち時間が増加し、マルチプ
ロセッサによる処理性能向上の利点を減殺してしまう。
Further, depending on the type of data, it is necessary to access the memory twice to store the data in both the main memory and the GM, which causes a problem that the processing time of the duplex system increases as compared with the single system. In particular, in a multiprocessor system, since GM is used via a common I / O bus, the access wait time of each processor increases as the amount of shared data increases, and the advantage of improving the processing performance by the multiprocessor is diminished. Resulting in.

【0006】さらに、各プロセッサでマルチタスクによ
るソフトウェアを構築する際、タスク毎に使用する共有
データエリアをGM上の決められたエリアに割り当てる
必要があるため、システムの開発や変更が一層煩雑にな
るという問題があった。
Further, when building software by multi-tasking in each processor, it is necessary to allocate a shared data area used for each task to a predetermined area on the GM, which makes system development and modification more complicated. There was a problem.

【0007】本発明の目的は、上記従来技術の問題点に
鑑み、主メモリ上で共有データを扱うことで、GMを使
用しない簡素で処理性の高い二重化システムを提供する
ことにある。
In view of the above-mentioned problems of the prior art, it is an object of the present invention to provide a simple and high-duplex system which does not use a GM by handling shared data on a main memory.

【0008】また、各プロセッサの各タスク(ジョブ)
毎に、共有データのエリアを任意に且つ動的に切替える
ことで、マルチタスクプログラムによるソフトウェアを
構築する際、各タスク間での共有エリアの割り付けが不
要になり、ソフトウェアの開発や変更が簡単になる二重
化システムを提供することにある。
Further, each task (job) of each processor
By freely and dynamically switching the shared data area for each task, when building software with a multi-task program, it is not necessary to allocate the shared area between tasks, making software development and modification easy. To provide a redundant system.

【0009】さらに、マルチプロセッサの場合に、系内
のプロセッサ間通信と系間の共有データ一致化を並行処
理できる高速な二重化システムを提供することにある。
また、系間のルートに異常のある場合、系内の他プロセ
ッサによる迂回ルートによる一致化処理を可能にする信
頼性の高い二重化システムを提供することにある。
Further, it is another object of the present invention to provide a high-speed duplex system capable of parallel processing of communication between processors in a system and matching of shared data between systems in the case of a multiprocessor.
Another object of the present invention is to provide a highly reliable duplex system that enables matching processing by a bypass route by another processor in the system when the route between the systems is abnormal.

【0010】[0010]

【課題を解決するための手段】上記の目的は、主メモリ
バスで接続されたMPU及び主記憶装置と、相手系と共
有情報を送受する送受信回路を持つ共有データ一致化装
置(以下、CMEと略称)を備えるプロセッサの二重化
システムにおいて、主記憶装置は、前記共有データを記
憶する共有エリアを有し、前記CMEは、MPUから主
記憶装置へ書き込むアドレスとデータを含むアクセス情
報を主メモリバスからスヌープするメモリアクセス情報
取得手段、相手系からの受信情報が前記共有データの場
合に前記共有エリアに書き込むメモリアクセス手段、前
記共有エリアの範囲を指定する共有エリア設定手段、前
記アクセス情報または前記受信情報中のアドレスが前記
共有エリアの範囲内にあるとき、該情報を共有データと
判断する共有データ監視手段を備えることにより達成さ
れる。
The above object is to provide a shared data matching device (hereinafter referred to as CME) having an MPU and a main storage device connected by a main memory bus, and a transmission / reception circuit for transmitting / receiving shared information to / from a partner system. In the duplex system of the processor including the abbreviated name), the main storage device has a shared area for storing the shared data, and the CME provides access information including an address and data to be written from the MPU to the main storage device from the main memory bus. Memory access information acquisition means for snooping, memory access means for writing in the shared area when the received information from the partner system is the shared data, shared area setting means for designating the range of the shared area, the access information or the received information When the address inside is within the range of the shared area, the shared data that determines the information as shared data It is achieved by providing the monitoring means.

【0011】前記CMEは、自系のプロセッサの送信/
受信状態に応じてCME内の情報の流れを送信側または
受信側に切り替える送受信状態管理手段を有しているこ
とを特徴とする。さらに、前記共有データを送受するた
めに自系と相手系のプロセッサを接続する一致化バスを
設け、MPUの処理と並行して一致化処理できるように
構成したことを特徴とする。
The CME transmits / receives data from its own processor.
It is characterized by having a transmission / reception state management means for switching the flow of information in the CME to the transmission side or the reception side according to the reception state. Further, a matching bus for connecting the processors of the own system and the partner system for transmitting and receiving the shared data is provided, and the matching processing can be performed in parallel with the processing of the MPU.

【0012】また、上記目的は、主記憶装置はマルチタ
スクを格納する場合、前記共有データを記憶するタスク
毎の共有エリアと、各共有エリア範囲の設定エリアと、
あるタスクの実行中に他のタスクを実行する場合に前記
あるタスクの共有エリア範囲を一時的に退避する保存エ
リアを有し、前記CMEはタスク切り替えに応じてその
共有エリア範囲を管理し、前記アクセス情報または前記
受信報中のアドレスが当該共有エリア範囲内にあると
き、該情報を共有データと判断する共有データ監視手段
を備えることにより達成される。
[0012] Further, the above-mentioned object is, when the main storage device stores multitasks, a shared area for each task that stores the shared data, a setting area for each shared area range,
The CME has a storage area for temporarily saving the shared area range of the certain task when another task is executed during execution of the certain task, and the CME manages the shared area range according to task switching. This is achieved by providing shared data monitoring means for determining the information as shared data when the access information or the address in the received information is within the shared area range.

【0013】さらに、上記目的は、マルチプロセッサの
二重化システムにおいて、主記憶装置に前記共有データ
を記憶する共有エリアを有し、対応関係にある自系と相
手系のプロセッサ間で前記送受信回路を接続する一致化
バスを設け、前記IOバスによる系内のプロセッサ間通
信と並行して共有データ一致化処理を行なえるように構
成したことにより達成される。
Further, the above-mentioned object is, in a multiprocessor duplex system, having a shared area for storing the shared data in a main memory, and connecting the transmission / reception circuit between corresponding processors of the own system and the partner system. This is achieved by providing a corresponding matching bus and performing the shared data matching process in parallel with the communication between the processors in the system by the IO bus.

【0014】前記CMEは、前記一致化バスを経由する
相手系からの応答信号を監視する異常監視手段と、他プ
ロセッサの転送エリアアドレスを指定する転送エリア設
定手段と、前記異常監視手段がバス異常(無応答)を検
知した場合に、前記転送エリアアドレスと前記アクセス
情報を前記I/Oバスインタフェースに出力するバスI
F手段を備え、系内の他プロセッサとその一致化バスを
経由する迂回ルートを通じて相手系へ共有データを送信
するように構成したことを特徴とする。
In the CME, the abnormality monitoring means for monitoring the response signal from the partner system via the matching bus, the transfer area setting means for designating the transfer area address of another processor, and the abnormality monitoring means for the bus abnormality. A bus I that outputs the transfer area address and the access information to the I / O bus interface when (no response) is detected.
It is characterized in that it is provided with F means and configured to transmit the shared data to the partner system through a bypass route passing through another processor in the system and its matching bus.

【0015】前記転送エリアアドレスは、前記他プロセ
ッサのCME内に設けられる転送データバッファのアド
レス範囲に設定される。あるいは、前記他プロセッサの
主記憶装置内に設けられる転送エリアのアドレス範囲に
設定される。
The transfer area address is set in the address range of the transfer data buffer provided in the CME of the other processor. Alternatively, it is set in the address range of the transfer area provided in the main memory of the other processor.

【0016】[0016]

【発明の実施の形態】以下、本発明による二重化システ
ムの実施形態、及び、マルチプロセッサの二重化システ
ムの実施形態を、図面にしたがって詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a duplex system and a multiprocessor duplex system according to the present invention will be described below in detail with reference to the drawings.

【0017】〔実施形態1〕図1は、本実施形態による
二重化システムの概略の構成を示す。常用系のプロセッ
サ010は、主にデータ処理やメモリ制御あるいは入出
力制御を行うMPU020、プログラムとデータを記憶
する主メモリ030、共有データを記憶する共有エリア
033、一致化バス060を介して待機系プロセッサ1
10と共有データの一致化を行う共有データ一致化装置
(CME:Common Memory Equlizer)040から構成さ
れる。
[First Embodiment] FIG. 1 shows a schematic configuration of a duplex system according to the present embodiment. The standby system processor 010 is a standby system mainly via an MPU 020 that mainly performs data processing, memory control or input / output control, a main memory 030 that stores programs and data, a shared area 033 that stores shared data, and a matching bus 060. Processor 1
10 and a shared data matching device (CME: Common Memory Equlizer) 040 for matching shared data.

【0018】MPU020と主メモリ030の間は、メ
モリアクセスを行うための主メモリバス021によって
結ばれ、CME040は主メモリバス021と接続され
ている。CME040内は、プロセッサ010から主メ
モリへのアクセス情報を主メモリバス021からスヌー
プによって直接取り込むメモリアクセス情報取得回路0
41と、常用系から受信した共有データを主メモリ03
0上にライトするためのメモリアクセス回路046、任
意に指定される転送範囲と主メモリアクセス情報のアド
レスがその転送範囲内に有るかチエックする転送範囲比
較回路042、待機系プロセッサ110との間で共有デ
ータを送受信する送受信回路043からなる。
The MPU 020 and the main memory 030 are connected by a main memory bus 021 for memory access, and the CME 040 is connected to the main memory bus 021. In the CME 040, a memory access information acquisition circuit 0 that directly takes in access information from the processor 010 to the main memory from the main memory bus 021 by snooping.
41 and the shared data received from the regular system to the main memory 03.
Between the memory access circuit 046 for writing onto 0, the transfer range arbitrarily specified and the transfer range comparison circuit 042 for checking whether the address of the main memory access information is within the transfer range, and the standby processor 110. It is composed of a transmission / reception circuit 043 for transmitting / receiving shared data.

【0019】転送範囲比較回路042は、共有エリアを
任意に設定するためのレジスタであり、共有エリア下限
レジスタ045と共有エリア上限レジスタ044を具備
する。また、送受信回路043には送信バッファ24
4、受信バッファ245が設けられている。なお、待機
系プロセッサ110のハードウェアも、常用系プロセッ
サ010のハードウェアと同じ構成となっている。常用
系/待機系は周知の切り替え機能によって、常用系に事
故の有る場合に待機系が常用系に切り替わる。
The transfer range comparison circuit 042 is a register for arbitrarily setting the shared area, and includes a shared area lower limit register 045 and a shared area upper limit register 044. Further, the transmission / reception circuit 043 has a transmission buffer 24.
4, a reception buffer 245 is provided. The hardware of the standby system processor 110 has the same configuration as the hardware of the regular system processor 010. The standby system / standby system is switched to the standby system by a well-known switching function when the standby system has an accident.

【0020】本システムにおいて、共有データの一致化
は以下のように行なわれる。図2に、常用系及び待機系
の主メモリマップを示す。常用系プロセッサ010側
は、初期立ち上げ時に共有エリア033のアドレス範囲
を、共有エリア下限レジスタ045及び共有エリア上限
レジスタ044に指定される。
In this system, matching of shared data is performed as follows. FIG. 2 shows main memory maps of the normal system and the standby system. On the regular processor 010 side, the address range of the shared area 033 is designated in the shared area lower limit register 045 and the shared area upper limit register 044 at the time of initial startup.

【0021】MPU020が主メモリ030に対してア
クセスすると、CME040は主メモリバス021上の
主メモリアクセス情報をメモリアクセス情報取得回路0
41を介して転送範囲比較回路042に取り込み、主メ
モリアクセス情報中のアドレスが共有エリア033のア
ドレス範囲内(ここでは、共有エリア033を主メモリ
の500番地〜1000番地に設定)であれば、そのア
クセス情報は共有データと判断する。そして、アドレス
とデータからなる共有データを送受信回路043の送信
バッファ244に転送し、一致化バス060を介して待
機系プロセッサ110に送信する。
When the MPU 020 accesses the main memory 030, the CME 040 transfers the main memory access information on the main memory bus 021 to the memory access information acquisition circuit 0.
If the address in the main memory access information is within the address range of the shared area 033 (here, the shared area 033 is set at addresses 500 to 1000 in the main memory) via 41, The access information is determined to be shared data. Then, the shared data including the address and the data is transferred to the transmission buffer 244 of the transmission / reception circuit 043 and transmitted to the standby processor 110 via the matching bus 060.

【0022】待機系プロセッサ110側の動作は常用系
側と同様、初期立ち上げ時に共有エリア133のアドレ
ス範囲を、共有エリア下限レジスタ145及び共有エリ
ア上限レジスタ144で設定してある。待機系のCME
140は常用系から受信し、受信バッファ345に格納
された受信情報のアドレスとデータを転送範囲比較回路
142に転送し、共有エリア133のアドレス範囲内の
データか否かチエックする。共有エリア133のアドレ
ス範囲内(ここでは、共有エリア133を500番地〜
1000番地に設定)であれば、そのデータはメモリア
クセス回路146及び主メモリバス121を経由して、
主メモリ130の共有エリア133へ書き込まれる。こ
れにより、常用系プロセッサ010と待機系プロセッサ
110の共有データ一致化(共有化)が終了する。
The operation of the standby system processor 110 side is similar to that of the normal system side, and the address range of the shared area 133 is set by the shared area lower limit register 145 and the shared area upper limit register 144 at the initial startup. Standby CME
140 receives from the regular system, transfers the address and data of the reception information stored in the reception buffer 345 to the transfer range comparison circuit 142, and checks whether the data is within the address range of the shared area 133. Within the address range of the shared area 133 (here, the shared area 133 is from address 500
1000 address), the data passes through the memory access circuit 146 and the main memory bus 121,
It is written in the shared area 133 of the main memory 130. As a result, the shared data matching (sharing) of the regular processor 010 and the standby processor 110 is completed.

【0023】このように、本実施形態の二重化システム
は、主メモリへのアクセス情報(アドレス、データ)を
主メモリから直接スヌープし、予め設定された共有デー
タエリアとの比較を行なう機能と、共有データエリアの
みを相手系に送信する機能及び、相手系からの受信情報
が共有データエリアの場合に自系の主メモリに書き込む
機能とからなる共有データ一致化装置を各プロセッサに
設けて、常用系プロセッサと待機系プロセッサの主メモ
リ間でデータ一の致化を行う。以下、本実施形態の構成
と動作を詳細に説明する。
As described above, the duplex system of the present embodiment has a function of snooping access information (address, data) to the main memory directly from the main memory, and a function of comparing with a preset shared data area and sharing. Each processor is equipped with a shared data matching device that has a function of transmitting only the data area to the partner system and a function of writing to the main memory of the host system when the information received from the partner system is the shared data area. Performs data matching between the main memory of the processor and the standby system processor. Hereinafter, the configuration and operation of this embodiment will be described in detail.

【0024】図3は、第1の実施形態による共有データ
一致化装置(CME)の構成を示す。同図には、常用系
のCME040を示しているが、待機系のCME140
の構成も同様である。以下、CME040について、常
用系及び待機系における共有データ一致化機能を説明す
る。
FIG. 3 shows the configuration of the shared data matching device (CME) according to the first embodiment. In the same figure, the regular CME040 is shown, but the standby CME140
The configuration of is also the same. The shared data matching function of the regular system and the standby system of the CME040 will be described below.

【0025】まず、共有データ送信時の動作について説
明する。常用系において、メモリアクセス情報取得回路
041内のアクセス情報取得タイミング回路050は、
メモリライト信号252及びメモリ選択信号253より
タイミング信号を生成し、そのタイミング信号によって
メモリデータ250がメモリアクセス情報取得データレ
ジスタ241に、メモリアドレス251がメモリアクセ
ス情報取得アドレスレジスタ240に取り込む。
First, the operation when transmitting shared data will be described. In the regular system, the access information acquisition timing circuit 050 in the memory access information acquisition circuit 041 is
A timing signal is generated from the memory write signal 252 and the memory selection signal 253, and the memory signal 250 is fetched into the memory access information acquisition data register 241 and the memory address 251 is fetched into the memory access information acquisition address register 240 by the timing signal.

【0026】メモリアクセス情報取得アドレスレジスタ
240内のアドレスは、共有エリア範囲比較回路051
に転送され、共有エリア上限レジスタ044及び共有エ
リア下限レジスタ045のアドレスと比較される。な
お、共有エリア下限レジスタ045及び共有エリア上限
レジスタ044を複数有し、設定する共有エリア033
のアドレス範囲を、一箇所の範囲指定に限らず複数範囲
を指定することが可能である。
The address in the memory access information acquisition address register 240 is the shared area range comparison circuit 051.
And is compared with the addresses of the shared area upper limit register 044 and the shared area lower limit register 045. A plurality of shared area lower limit registers 045 and shared area upper limit registers 044 are provided, and the shared area 033 to be set is set.
It is possible to specify a plurality of address ranges as well as the address range of one location.

【0027】その結果、共有エリア内のアドレスと判断
されると、共有エリア範囲比較回路051は送信アドレ
スバッファ008と送信データバッファ009に一致化
信号256を送り、メモリアクセス情報取得アドレスレ
ジスタ240内のアドレス001とメモリアクセス情報
取得データレジスタ241内のデータ002を、それぞ
れ送信アドレスバッファ008と送信データバッファ0
09に取り込む。
As a result, when it is determined that the address is within the shared area, the shared area range comparison circuit 051 sends a matching signal 256 to the transmission address buffer 008 and the transmission data buffer 009, and the memory access information acquisition address register 240 stores the same. The address 001 and the data 002 in the memory access information acquisition data register 241 are stored in the transmission address buffer 008 and the transmission data buffer 0, respectively.
Taken in 09.

【0028】送信アドレスバッファ008内のアドレス
001と送信データバッファ009内のデータ002
は、送信バッファ244に転送され共有データ003と
して、タイミング回路049が生成するタイミング信号
により待機系に送信される。
Address 001 in the transmission address buffer 008 and data 002 in the transmission data buffer 009
Is transferred to the transmission buffer 244 and transmitted as the shared data 003 to the standby system by the timing signal generated by the timing circuit 049.

【0029】次に、共有データ受信時の動作について説
明する。待機系において、受信情報が、送受信回路04
3内の受信バッファ245内に取り込まれると、タイミ
ング回路049が起動されるとともに、送信/受信状態
管理回路047の状態が受信系に切り替わり、CME0
40内の信号方向は受信側へ切り替わる。
Next, the operation when receiving the shared data will be described. In the standby system, the received information is the transmission / reception circuit 04
When it is fetched into the reception buffer 245 in No. 3, the timing circuit 049 is activated, the state of the transmission / reception state management circuit 047 is switched to the reception system, and CME0
The signal direction within 40 is switched to the receiving side.

【0030】タイミング回路049のタイミング信号に
より、受信バッファ245のアドレス001とデータ0
02は、受信アドレスバッファ006と受信データバッ
ファ007に転送される。受信アドレスバッファ006
内のアドレス001は共有エリア範囲比較回路051に
転送され、共有エリア上限レジスタ044及び共有エリ
ア下限レジスタ045のアドレスと比較される。
By the timing signal of the timing circuit 049, the address 001 and the data 0 of the reception buffer 245 are
02 is transferred to the reception address buffer 006 and the reception data buffer 007. Receive address buffer 006
The address 001 inside is transferred to the shared area range comparison circuit 051 and compared with the addresses of the shared area upper limit register 044 and the shared area lower limit register 045.

【0031】その結果、共有エリア内のアドレスと判断
されると、共有エリア範囲比較回路051はメモリアク
セス回路046内のメモリアクセスデータレジスタ24
2とメモリアクセスアドレスレジスタ243に一致化信
号256を送り、受信アドレスバッファ006内のアド
レス001と受信データバッファ007内のデータ00
2がそれぞれ、メモリアクセスアドレスレジスタ243
とメモリアクセスデータレジスタ242に取り込まれ
る。
As a result, when it is determined that the address is within the shared area, the shared area range comparison circuit 051 causes the memory access data register 24 within the memory access circuit 046.
2 and a match signal 256 to the memory access address register 243 to send an address 001 in the reception address buffer 006 and a data 00 in the reception data buffer 007.
2 is the memory access address register 243
Are stored in the memory access data register 242.

【0032】メモリアクセス回路046内のメモリアク
セス権取得回路052は、MPU020に対しメモリバ
ス使用権要求信号254を出し、MPU020からメモ
リバス使用許可信号255を受け取ると、メモリバスイ
ンターフェース051を起動し、主メモリ030にメモ
リライト信号252、メモリ選択信号253を送信す
る。そして、メモリアクセスアドレスレジスタ243内
のアドレス001及びメモリアクセスデータレジスタ2
42内のデータ002が、メモリバスインターフェース
051を経由して主メモリ030に転送され、共有デー
タの一致化が終了する。
The memory access right acquisition circuit 052 in the memory access circuit 046 issues a memory bus usage right request signal 254 to the MPU 020, and when receiving the memory bus usage permission signal 255 from the MPU 020, activates the memory bus interface 051. The memory write signal 252 and the memory selection signal 253 are transmitted to the main memory 030. Then, the address 001 in the memory access address register 243 and the memory access data register 2
The data 002 in 42 is transferred to the main memory 030 via the memory bus interface 051, and the matching of shared data ends.

【0033】以上、本実施形態の二重化システムでは、
各プロセッサの主メモリ内に共通の共有エリアを設定
し、常用系のMPUが主メモリへ情報を書き込む際に、
この情報を主メモリバスからスヌープし、そのアドレス
が共有エリア内であれば待機系へ転送し、一方、待機系
では常用系から受信情報のアドレスが自系の共有エリア
内であれば主メモリに書き込む、共有データ一致化方式
を実現している。
As described above, in the duplex system of this embodiment,
When a common shared area is set in the main memory of each processor and the MPU of the regular system writes information to the main memory,
This information is snooped from the main memory bus and transferred to the standby system if the address is in the shared area. On the other hand, in the standby system, if the address of the received information is from the regular system to the main memory, it is transferred to the main memory. A shared data matching method for writing is realized.

【0034】これによれば、従来のGMを使用する必要
がなく、システム構成の簡素化とコストダウンが可能に
なる。また、主メモリ上で共有エリアの設定を任意に行
えるので、シングル系/二重系の違いや共有データエリ
ア容量を意識することなく自由にプログラミングでき、
システムの開発や変更が容易になる。なお、本実施形態
は待機二重化システムの例により説明したが、並列二重
化システムにも適用可能である。
According to this, it is not necessary to use the conventional GM, and the system configuration can be simplified and the cost can be reduced. Also, since the shared area can be set arbitrarily on the main memory, programming can be done freely without being aware of the difference between single and dual systems and the shared data area capacity.
Easier system development and modification. Although the present embodiment has been described by taking the example of the standby duplex system, it can be applied to the parallel duplex system.

【0035】〔実施形態2〕図4に、本実施形態による
マルチプロセッサによる二重化システムの構成を示す。
各プロセッサの共有データ一致化装置CMEは、実施形
態1の構成と同様である。
[Second Embodiment] FIG. 4 shows the configuration of a duplex system using a multiprocessor according to the present embodiment.
The shared data matching device CME of each processor has the same configuration as that of the first embodiment.

【0036】本マルチプロセッサ二重化システムの常用
系は、基本プロセッサ(#1)010及び複数の拡張プ
ロセッサ(#2)011、(#3)012を有し、プロ
セッサ間通信を行うI/Oバス064により接続されて
いる。各プロセッサは個別に共有エリア033を有する
主メモリ030を内臓している、待機系も同様に、基本
プロセッサ(#1)110及び複数の拡張プロセッサ
(#2)111、(#3)112を有し、I/Oバス1
64によって接続されている。
The regular system of this multiprocessor duplex system has a basic processor (# 1) 010 and a plurality of extended processors (# 2) 011 and (# 3) 012, and an I / O bus 064 for performing interprocessor communication. Connected by. Each processor has a built-in main memory 030 having a shared area 033, and the standby system similarly has a basic processor (# 1) 110 and a plurality of extended processors (# 2) 111 and (# 3) 112. I / O bus 1
They are connected by 64.

【0037】常用系の基本プロセッサ010と待機系の
基本プロセッサ110は、常用系の主メモリ030内の
共有データを待機系の主メモリ130内に転送する一致
化バスA061により接続されている。同様に、常用系
の拡張プロセッサ011、112は、待機系の拡張プロ
セッサ111、112とそれぞれ、一致化バスB06
2、一致化バスC063により接続されている。各プロ
セッサはI/OバスIF090(図中、ハッチングのブ
ロック)を具備して、系毎にI/Oバス064またはI
/Oバス164と接続され、データの受け渡しを行う。
The basic processor 010 of the standby system and the basic processor 110 of the standby system are connected by a matching bus A061 for transferring the shared data in the main memory 030 of the standby system to the main memory 130 of the standby system. Similarly, the extension processors 011 and 112 of the regular system and the extension processors 111 and 112 of the standby system respectively match the bus B06.
2. Connected by the matching bus C063. Each processor is equipped with an I / O bus IF090 (hatched block in the figure), and I / O bus 064 or I
It is connected to the / O bus 164 to transfer data.

【0038】各プロセッサは、常用系と待機系間で個別
に設けられた一致化バスA061、一致化バスB06
2、一致化バスC063を介して、主メモリ030内共
有データ一致化処理を非同期に行う。この一致化処理と
は別に、I/Oバス064上でプロセッサ010と拡張
プロセッサ011間、プロセッサ010と拡張プロセッ
サ012間、あるいは拡張プロセッサ011と拡張プロ
セッサ012間で、プロセッサ間通信を並行して処理で
きる。待機系でも同様に、プロセッサ間通信を処理でき
る。
Each processor has a matching bus A061 and a matching bus B06 which are provided separately between the regular system and the standby system.
2. The shared data matching process in the main memory 030 is performed asynchronously via the matching bus C063. Apart from this matching processing, inter-processor communication is processed in parallel on the I / O bus 064 between the processor 010 and the extended processor 011 or between the processor 010 and the extended processor 012 or between the extended processor 011 and the extended processor 012. it can. Similarly, the standby system can process inter-processor communication.

【0039】本実施形態によるマルチプロセッサの二重
化システムによれば、各プロセッサの主メモリの各々に
共有エリアを持つ構成としているので、GMのようなシ
ステム全体に共通のハードウェアが不要となり、システ
ム構成の構成と動作が簡素化され、コストダウンも可能
となる。また、プロセス間通信を行なうI/Oバスとは
別に、他系との共有データの一致可化を行なうための一
致化バスを設けているので、マルチプロセッサ間のタス
ク処理による通信と共有データの一致化処理の通信を並
行でき、マルチプロセッサシステムの処理性を確保でき
る。
According to the multiprocessor duplex system according to the present embodiment, since the main memory of each processor has a shared area, common hardware for the entire system such as GM is unnecessary, and the system configuration is eliminated. The configuration and operation of is simplified, and the cost can be reduced. In addition to the I / O bus for performing inter-process communication, a matching bus for enabling matching of shared data with other systems is provided. The communication of the matching process can be performed in parallel, and the processability of the multiprocessor system can be secured.

【0040】〔実施形態3〕本実施形態によるマルチプ
ロセッサ二重化システムは、実施形態2のシステムと基
本構成は同じである。ここでは、一致化バスのルートに
故障のある場合、別ルートを使って一致化させる別ルー
ト一致化方式について説明する。
[Third Embodiment] The multiprocessor duplex system according to the present embodiment has the same basic configuration as the system of the second embodiment. Here, a different route matching method will be described in which, when there is a failure in the route of the matching bus, matching is performed using another route.

【0041】図5は、マルチプロセッサ二重化システム
において、別ルートによる一致化を示す説明図である。
常用系プロセッサ010と待機系プロセッサ110を結
ぶ一致化バスA061ルートに異常が発生した場合、図
示の一致化ルート〜〜が確立される。
FIG. 5 is an explanatory diagram showing matching by another route in the multiprocessor duplex system.
When an abnormality occurs in the matching bus A061 route connecting the regular processor 010 and the standby processor 110, the matching routes ~ shown in the figure are established.

【0042】図6に、本実施形態におけるCMEの構成
を示す。各プロセッサのCMEは、図3の構成を基本に
以下のように構成されている。プロセッサ010のCM
E040は、隣接するプロセッサ間で系内のI/Oバス
064を経由して共有データ003(アドレス001、
データ002)を迂回させるため、バスIF回路093
に他プロセッサ用転送バッファ036を設けている。ま
た、転送する共有データの転送エリアを設定するため、
転送範囲比較回路042に他プロセッサ転送エリア上限
レジスタ095、転送エリア下限レジスタ096を設け
ている。図示を省略しているが、拡張プロセッサ#2、
#3のCME040にも、他プロセッサの共有データを
バッファリングする転送バッファ036と、上下限レジ
スタを設けている。
FIG. 6 shows the structure of the CME in this embodiment. The CME of each processor is configured as follows based on the configuration of FIG. CM of processor 010
E040 is shared data 003 (address 001, address 001, between adjacent processors) via the I / O bus 064 in the system.
In order to bypass the data 002), the bus IF circuit 093
Further, a transfer buffer 036 for another processor is provided. Also, to set the transfer area for shared data to be transferred,
The transfer range comparison circuit 042 is provided with another processor transfer area upper limit register 095 and transfer area lower limit register 096. Although not shown, the expansion processor # 2,
The # 3 CME 040 is also provided with a transfer buffer 036 for buffering shared data of other processors and an upper and lower limit register.

【0043】本構成による通常時の共有データ一致化動
作は、送受信回路043が送信アドレスバッファ008
と送信データバッファ009内のデータを、一致化バス
060を経由して待機系に送信し、異常監視部098が
待機系から正常受信を示す応答信号を受け取ると、一致
化バス060は正常であると判断する。この場合の一致
化動作は、上記実施形態1または2と同じになる。次
に、一致化バス上で異常が生じた場合、別ルートを使っ
て一致化を行う時の各プロセッサの動作を詳細に説明す
る。
In the normal shared data matching operation according to this configuration, the transmission / reception circuit 043 causes the transmission address buffer 008.
And the data in the transmission data buffer 009 are transmitted to the standby system via the matching bus 060, and when the abnormality monitoring unit 098 receives a response signal indicating normal reception from the standby system, the matching bus 060 is normal. To judge. The matching operation in this case is the same as that of the first or second embodiment. Next, when an abnormality occurs on the matching bus, the operation of each processor when performing matching using another route will be described in detail.

【0044】[常用系プロセッサ#1の動作]一致化バ
スA061に異常が生じた場合、待機系プロセッサ11
0は常用系プロセッサ010へ異常受信応答信号(断線
故障時は無応答)を返す。これにより、常用系プロセッ
サ010のCME内送受信回路043の異常監視部09
8が異常を検出し、送信データバッファ009内のデー
タ002(AAA)、送信アドレスバッファ008内の
アドレス001(500番地)を、バスIF回路093
へ転送する。
[Operation of the regular processor # 1] When an abnormality occurs in the matching bus A061, the standby processor 11
0 returns an abnormal reception response signal (no response at the time of disconnection failure) to the regular processor 010. Accordingly, the abnormality monitoring unit 09 of the transmitting / receiving circuit 043 in the CME of the regular processor 010.
8 detects an abnormality, the data 002 (AAA) in the transmission data buffer 009, the address 001 (address 500) in the transmission address buffer 008, and the bus IF circuit 093.
Transfer to

【0045】バスIF回路093はI/OバスIF09
0に対し、拡張プロセッサ011の他プロセッサ転送エ
リア上限レジスタ095と下限レジスタ096による転
送先エリア(ここでは、先頭番地=1000番地とす
る)をI/OバスIF090に出力し、さらにアドレス
001とデータ002を出力する。これにより、共有エ
リア情報のデータ002とそのアドレス001は、送受
信部092からI/Oバス064を経由して、拡張プロ
セッサ011のI/OバスIF090へと転送される。
The bus IF circuit 093 is an I / O bus IF09.
With respect to 0, the extension processor 011 outputs the transfer destination area (here, the start address = 1000 address) by the other processor transfer area upper limit register 095 and the lower limit register 096 to the I / O bus IF 090, and further outputs the address 001 and the data. 002 is output. As a result, the shared area information data 002 and its address 001 are transferred from the transmission / reception unit 092 to the I / O bus IF090 of the expansion processor 011 via the I / O bus 064.

【0046】[常用系拡張プロセッサ#2の動作]I/
OバスIF090を経由して、指定された先頭番地に対
応する転送バッファ036に、アドレス001、データ
002を受信した拡張プロセッサ011は、転送先エリ
アを転送範囲比較回路042に渡し、他プロセッサ転送
エリア上限レジスタ095と下限レジスタ095による
設定エリア(1000番地〜1200番地に設定)と比
較する。
[Operation of the normal system expansion processor # 2] I /
The extended processor 011 which has received the address 001 and the data 002 in the transfer buffer 036 corresponding to the designated start address via the O bus IF 090 passes the transfer destination area to the transfer range comparison circuit 042, and the other processor transfer area. The area is set by the upper limit register 095 and the lower limit register 095 (set at addresses 1000 to 1200).

【0047】この結果、指定された転送先エリアが設定
エリア内であれば、他プロセッサからの迂回による共有
データであると判断し、アドレス001を送信アドレス
バッファ008へ、データ002を送信データバッファ
009へ転送する。これらバッファ008、009の内
容は転送先エリア情報とともに、一致化バスB062を
経由して待機系拡張プロセッサ111(#2)の送受信
回路043へ転送される。
As a result, if the designated transfer destination area is within the set area, it is determined that the shared data is a shared data due to a detour from another processor, and the address 001 is sent to the transmission address buffer 008 and the data 002 is sent to the transmission data buffer 009. Transfer to. The contents of these buffers 008 and 009 are transferred together with the transfer destination area information to the transmission / reception circuit 043 of the standby extended processor 111 (# 2) via the matching bus B062.

【0048】[待機系拡張プロセッサ#2の動作]常用
系拡張プロセッサ011からのアドレス001とデータ
002は、転送先エリア情報(1000番地)に従い、
受信アドレスバッファ006、受信データバッファ00
7へ格納される。その後、転送範囲比較回路042で、
転送先エリア情報と設定されている共有エリアまたは他
プロセッサ転送エリアと比較し、後者のエリア範囲のと
き他プロセッサからの迂回による共有データと判断し、
データ002とアドレス001をバスIF回路093へ
転送する。
[Operation of Standby System Expansion Processor # 2] The address 001 and data 002 from the normal system expansion processor 011 are in accordance with the transfer destination area information (address 1000).
Receive address buffer 006, receive data buffer 00
7 is stored. Then, in the transfer range comparison circuit 042,
Compare the transfer destination area information with the set shared area or the transfer area of another processor, and judge that it is the shared data due to the detour from another processor in the latter area range.
The data 002 and the address 001 are transferred to the bus IF circuit 093.

【0049】バスIF回路093内のプロセッサ選定部
094は、他プロセッサ転送エリアアドレス(1000
番地)をアドレス001(500番地)のアドレスに変
換し、I/OバスIF090に対して出力する。その
後、データ002(AAA)をI/OバスIF090に
出力し、I/Oバス164を経由して待機系常用プロセ
ッサ110のI/OバスIF090へ転送する。
The processor selection unit 094 in the bus IF circuit 093 uses the other processor transfer area address (1000
The address) is converted into the address of address 001 (address 500) and output to the I / O bus IF090. Thereafter, the data 002 (AAA) is output to the I / O bus IF090 and transferred to the I / O bus IF090 of the standby system regular processor 110 via the I / O bus 164.

【0050】[待機系常用プロセッサ#1の動作]拡張
プロセッサ111からのアドレス情報=500番地は、
I/OバスIF090内の送受信部092を経由して、
主メモリ130上の500番地にデータ情報=AAAを
書き込み、一致化が終了する。
[Operation of Standby System Regular Processor # 1] Address information from the extended processor 111 = 500
Via the transceiver 092 in the I / O bus IF090,
The data information = AAA is written to the address 500 on the main memory 130, and the matching is completed.

【0051】本実施形態によれば、各プロセッサのCM
E内に一致化のために、他プロセッサ対応に転送されて
くる共有情報(アドレス、データ)を格納する転送用格
納バッファを備え、一致化バスに故障が発生した場合
に、自系の隣接プロセッサを経由する迂回路により相手
系に共有データを転送して、共有データの一致化を可能
にするので、システムの信頼性を向上できる。
According to this embodiment, the CM of each processor is
In E, there is provided a transfer storage buffer for storing shared information (address, data) transferred corresponding to another processor for matching, and when a failure occurs in the matching bus, the adjacent processor of its own system Since the shared data is transferred to the partner system by the detour route via the route and the shared data can be made coincident, the reliability of the system can be improved.

【0052】〔実施形態4〕実施形態3では、各プロセ
ッサのCMEに、他プロセッサの共有データの転送用納
バッファを設けている。これに対し、本実施形態のマル
チプロセッサシステムでは、各プロセッサの主メモリ内
に、他プロセッサの共有データの転送エリアを設けてい
る。CMEの構成は、他プロセッサ用転送バッファ03
6を持たない以外は、図6の構成と同様になる。
[Fourth Embodiment] In the third embodiment, the CME of each processor is provided with a storage buffer for transfer of shared data of another processor. On the other hand, in the multiprocessor system of this embodiment, the transfer area for the shared data of other processors is provided in the main memory of each processor. The configuration of the CME is the transfer buffer 03 for another processor.
The configuration is the same as that of FIG.

【0053】本実施形態のマルチプロセッサの構成、二
重化システム構成は基本的には上記の実施形態と同様で
あり、図5に示した別ルートを使用する例で、一致化方
式を説明する。即ち、常用系プロセッサ010と待機系
プロセッサ110の間を結ぶ一致化バスA061に、故
障または異常が発生した場合、プロセッサ010がプロ
セッサ110から異常受信応答信号(断線故障時は無応
答)を受け取ると、一致化バスA061による転送不能
と判断し、〜〜ルートによる一致化処理が行なわ
れる。
The configuration of the multiprocessor and the duplicated system configuration of the present embodiment are basically the same as those of the above-mentioned embodiment, and the matching method will be explained by using the example of another route shown in FIG. That is, when a failure or an abnormality occurs in the matching bus A061 connecting the regular processor 010 and the standby processor 110, when the processor 010 receives an abnormal reception response signal (no response at the time of disconnection failure) from the processor 110. Then, it is determined that the transfer is impossible due to the matching bus A061, and the matching processing is performed by the routes.

【0054】図8は、本実施形態における主メモリマッ
プを示す。常用系プロセッサ010(#1)の主メモリ
030の500〜1000番地に共有エリア033を割
り付け、図示ではその500番地に共有データ=AAA
が格納されている。一致化バスA061故障時に、#1
の一致化処理を代行する常用系拡張プロセッサ011
(#2)の主メモリ030の1000〜1200番地に
は、#1のアドレス転送エリア034、データ転送エリ
ア035が割当てられる。
FIG. 8 shows a main memory map in this embodiment. A shared area 033 is allocated to addresses 500 to 1000 of the main memory 030 of the active processor 010 (# 1), and shared data = AAA at the address 500 in the figure.
Is stored. # 1 when the matching bus A061 fails
Extension processor 011 for substituting the matching processing of
The address transfer area 034 and the data transfer area 035 of # 1 are allocated to addresses 1000 to 1200 of the main memory 030 of (# 2).

【0055】待機系拡張プロセッサ111(#2)の主
メモリ030は、常用系のプロセッサ#2と同じマッピ
ングとなり、1000〜1200番地にアドレス転送エ
リア134とデータ転送エリア135が割当てられる。
一致化先である待機系プロセッサ110(#1)の主メ
モリ030は、常用系プロセッサ#1と同じマッピング
となる。以下、本構成による動作を詳細に説明する。
The main memory 030 of the standby extended processor 111 (# 2) has the same mapping as the regular processor # 2, and the address transfer area 134 and the data transfer area 135 are assigned to addresses 1000 to 1200.
The main memory 030 of the standby processor 110 (# 1), which is the matching destination, has the same mapping as the regular processor # 1. The operation of this configuration will be described in detail below.

【0056】[常用系プロセッサ#1の動作]一致化バ
スA061に異常が生じ、待機系プロセッサ110から
の異常受信応答信号(断線故障時は無応答)を受信する
と、常用系プロセッサ010はCME内の送受信回路0
43の異常監視部098が異常を検出し、送信データバ
ッファ009内のデータ002(=AAA)、送信アド
レスバッファ008内のアドレス001(=500番
地)をバスIF回路093へ転送する。
[Operation of the standby system processor # 1] When an abnormality occurs in the matching bus A061 and an abnormal reception response signal (no response at the time of disconnection failure) is received from the standby system processor 110, the standby system processor 010 is in the CME. Transmitter / receiver circuit 0
The abnormality monitoring unit 098 of 43 detects an abnormality and transfers the data 002 (= AAA) in the transmission data buffer 009 and the address 001 (= 500 address) in the transmission address buffer 008 to the bus IF circuit 093.

【0057】バスIF回路093は、拡張プロセッサ0
11における他プロセッサ転送エリア(上限レジスタ0
95、下限レジスタ096)のエリア情報(ここでは、
先頭番地である1000番地)をI/OバスIF090
に対して出力し、同時に共有データであるアドレス情報
=500番地とデータ情報=AAAをI/OバスIF0
90に出力する。これらの情報はI/Oバス064を経
由して拡張プロセッサ011のI/OバスIF090へ
転送される。
The bus IF circuit 093 is the extension processor 0.
11 other processor transfer area (upper limit register 0
95, lower limit register 096) area information (here,
The first address (1000) is the I / O bus IF090
To the I / O bus IF0 of address information = 500 address and data information = AAA which are shared data at the same time.
Output to 90. These pieces of information are transferred to the I / O bus IF090 of the expansion processor 011 via the I / O bus 064.

【0058】[常用系拡張プロセッサ#2の動作]常用
系プロセッサ010からの転送先エリア情報(=100
0番地)及び、共有データのアドレス情報とデータ情報
は、CME内バスIF回路093を経由して転送範囲比
較回路042へ取り込まれ、ここで他プロセッサ転送エ
リア上限レジスタ095、下限レジスタ095による転
送エリア範囲(ここでは、1000番地〜1200番
地)と比較され、共有データか否かをチエックする。共
有データの場合、アドレス情報を送信アドレスバッファ
008、データ情報を送信データバッファ009へ転送
する。以後、バッファ008、009の内容は、実施形
態3の場合と同様に一致化バスB062を経由し、待機
系拡張プロセッサ111の送受信回路043へ送信す
る。
[Operation of the normal system extended processor # 2] Transfer destination area information (= 100 from the normal system processor 010)
Address 0), and the address information and data information of the shared data are taken into the transfer range comparison circuit 042 via the intra-CME bus IF circuit 093, where the transfer area by the other processor transfer area upper limit register 095 and lower limit register 095 is transferred. It is compared with a range (here, addresses 1000 to 1200) to check whether it is shared data. In the case of shared data, the address information is transferred to the transmission address buffer 008 and the data information is transferred to the transmission data buffer 009. After that, the contents of the buffers 008 and 009 are transmitted to the transmission / reception circuit 043 of the standby expansion processor 111 via the matching bus B062 as in the case of the third embodiment.

【0059】[待機系拡張プロセッサ#2の動作]常用
系拡張プロセッサ011から受信した、他プロセッサの
アドレス情報(=500番地)は受信アドレスバッファ
006に、データ情報(=AAA)は受信データバッフ
ァ007に一旦、格納したの後、転送範囲比較回路04
2によって転送エリア範囲(1000〜1200番地)
と比較し、他プロセッサの共有データか判断する。他プ
ロセッサからの共有データの場合、バスIF回路093
へ転送する。
[Operation of Standby System Expansion Processor # 2] Address information (= 500 address) of another processor received from the normal system expansion processor 011 is stored in the reception address buffer 006, and data information (= AAA) is received data buffer 007. Once stored in the transfer range comparison circuit 04
Transfer area range (addresses 1000 to 1200) depending on 2
And whether the data is shared by another processor. In the case of shared data from another processor, the bus IF circuit 093
Transfer to

【0060】バスIF回路093のプロセッサ選定部0
94は、他プロセッサ転送先エリア(=1000番地)
をアドレス001(=500番地)に変換し、I/Oバ
スIF090に対して出力する。その後、データ002
(=AAA)をI/OバスIF090に出力し、I/O
バス064を経由して待機系常用プロセッサ110のI
/OバスIF090へと転送する。
Processor selection unit 0 of bus IF circuit 093
94 is another processor transfer destination area (= 1000 address)
Is converted into an address 001 (= 500 address) and is output to the I / O bus IF090. After that, data 002
(= AAA) is output to the I / O bus IF090, and I / O
I of the standby system regular processor 110 via the bus 064
/ O bus IF090.

【0061】[待機系常用プロセッサ#1の動作]拡張
プロセッサ111から転送されてきたアドレス001と
データ002は、I/OバスIF090の送受信部09
2を介して、主メモリ030のアドレス=500番地に
データ=AAAとして書き込まれ、一致化が終了する。
[Operation of Standby System Regular Processor # 1] The address 001 and the data 002 transferred from the expansion processor 111 are transmitted / received by the transmitting / receiving unit 09 of the I / O bus IF090.
The data is written as data = AAA at the address = 500 in the main memory 030 via 2 and the matching is completed.

【0062】本実施形態によれば、一致化バスルートに
異常の発生した場合に、別ルートによる一致化が可能に
なるので、マルチプロセッサ二重化システムの信頼性を
向上できる。特に、別ルートの転送バッファとして主メ
モリの一部を利用するので、他プロセッサ共有情報(ア
ドレス、データ)の格納エリアは可変にできる。
According to the present embodiment, when an abnormality occurs in the matching bus route, the matching can be performed by another route, so that the reliability of the multiprocessor duplex system can be improved. In particular, since a part of the main memory is used as a transfer buffer of another route, the storage area of shared information (address, data) shared by other processors can be made variable.

【0063】なお、上記の実施形態において、常用系プ
ロセッサ010と待機系プロセッサ110間で迂回路に
よって共有データを一致化する場合に、常用系拡張プロ
セッサ011と待機系拡張プロセッサ111は、他プロ
セッサからの共有データを主メモリに書き込まずに、一
致化バス060、I/Oバス064に対して直接、共有
データを転送することができる。これによって、共有デ
ータ一致化処理中のメモリ書き込み時間が削減でき、一
致化処理を高速化できる。
In the above embodiment, when the shared data is made to match by the detour between the regular processor 010 and the standby processor 110, the regular extended processor 011 and the standby extended processor 111 are separated from other processors. The shared data can be directly transferred to the matching bus 060 and the I / O bus 064 without writing the shared data in the main memory. As a result, the memory writing time during the shared data matching process can be reduced, and the matching process can be speeded up.

【0064】〔実施形態5〕本実施形態では、マルチタ
スクの二重化システムにおける共有データ一致化方式を
説明する。本実施形態ではタスク切り替え時、共有エリ
アがタスク毎に可変設定される。ハードウェアは、図1
ないし図3の構成と同様である。
[Embodiment 5] In this embodiment, a shared data matching method in a multitasking duplex system will be described. In the present embodiment, when tasks are switched, the shared area is variably set for each task. Figure 1 shows the hardware
To the same as the configuration of FIG.

【0065】図8に、本実施形態の主メモリマップを示
す。各主メモリ030(130)には、各タスク#1〜
#3の領域可変となるタスク#1用共有エリア071、
タスク#2用共有エリア073、タスク#3用共有エリ
ア075と、タスク毎のプログラム格納領域072、0
74、076と、タスク設定エリア089が設けられ
る。
FIG. 8 shows a main memory map of this embodiment. Each main memory 030 (130) has a task # 1 to task # 1.
The shared area 071 for task # 1 in which the area of # 3 is variable,
Shared area 073 for task # 2, shared area 075 for task # 3, and program storage area 072,0 for each task
74 and 076 and a task setting area 089 are provided.

【0066】タスク設定エリア089は、タスク毎の共
有エリアのアドレス上限及び下限値を設定する、共有ア
ドレス上限エリア081,083,085及び共有アド
レス下限エリア082,084,086と、タスク切り
替え時に前回起動されたタスクの共有アドレス上限及び
下限値を退避する前タスク保存エリア087,088を
有している。タスク設定エリア089には初期立ち上げ
時に、各タスクの共有エリアのアドレス範囲を指定して
おく。
The task setting area 089 sets the upper limit and lower limit of the address of the shared area for each task, and the shared address upper limit areas 081,083,085 and the shared address lower limit areas 082,084,086 and the previous activation at the time of task switching. It has pre-task save areas 087 and 088 for saving the shared address upper and lower limits of the assigned task. In the task setting area 089, the address range of the shared area of each task is designated at the initial startup.

【0067】図9に、タスク切り替え動作のフローを示
す。タスク切り替えはOSのタスク管理機能099によ
って処理される。タスク#1の処理中にタスク#2が起
動されると、OSはCMEの上限レジスタ044及び下
限レジスタ045の示すタスク#1の共有アドレス範囲
を読み出し、主メモリ030上の前タスク退避用エリア
087、088に保存する(S1)。次に、OSは主メ
モリの共有上限エリア083及び下限エリア084の示
すタスク#2の共有アドレス範囲を、CME040内の
共有エリア上限レジスタ044及び下限レジスタ045
に書き込む(S2)。
FIG. 9 shows a flow of task switching operation. The task switching is processed by the task management function 099 of the OS. When the task # 2 is activated during the processing of the task # 1, the OS reads the shared address range of the task # 1 indicated by the upper limit register 044 and the lower limit register 045 of the CME, and saves the previous task area 087 on the main memory 030. , 088 (S1). Next, the OS sets the shared address range of task # 2 indicated by the shared upper limit area 083 and the lower limit area 084 of the main memory to the shared area upper limit register 044 and lower limit register 045 in the CME 040.
(S2).

【0068】図10に、タスク切り替えによる主メモリ
マップの一例を示す。同図(a)はタスク#1の実行時
で、タスク#1共有上限エリア081に100、下限エ
リア082に200が格納されているので、タスク#1
用共有エリア071は主メモリ上のアドレス100番地
〜200番地となる。同図(b)はタスク#2の実行時
で、タスク#2用共有エリア073は主メモリ上のアド
レス500番地〜600番地となる。
FIG. 10 shows an example of the main memory map by task switching. In the same figure (a), when task # 1 is executed, 100 is stored in the task # 1 shared upper limit area 081, and 200 is stored in the lower limit area 082.
The shared area for use 071 is addresses 100 to 200 on the main memory. In the same figure (b), when the task # 2 is executed, the task # 2 shared area 073 has addresses 500 to 600 on the main memory.

【0069】その後、タスク#2の処理が開始される
(S2)。タスク#2の処理が終了すると、OSは前タ
スク保存用エリア上限087,前タスク保存用エリア下
限088内のアドレス値をCME040の共有エリア上
限レジスタ044及び下限レジスタ045に書き戻し
(S4)、タスク#1の処理が再開される。
Thereafter, the processing of task # 2 is started (S2). When the processing of task # 2 is completed, the OS writes back the address values in the previous task storage area upper limit 087 and the previous task storage area lower limit 088 to the shared area upper limit register 044 and lower limit register 045 of the CME 040 (S4), and the task The process of # 1 is restarted.

【0070】以上のように、タスク切り替え時に共有エ
リア上限レジスタ044及び下限レジスタ045のダイ
ナミックな書き換えができるので、タスク毎の共有デー
タのアドレス管理が可能となる。なお、タスク切り替え
後のCMEによる共有データの一致化動作は、実施形態
1の場合と同様に行なわれる。
As described above, since the shared area upper limit register 044 and the lower limit register 045 can be dynamically rewritten at the time of task switching, it becomes possible to manage the shared data address for each task. The shared data matching operation by the CME after task switching is performed in the same manner as in the first embodiment.

【0071】本実施形態によって、タスク毎の共有エリ
アが動的に可変設定できるので、タスクの増設分を考慮
した共有エリアの確保が不要となり、メモリ資源の有効
活用が可能となる。また、プログラム設計時において、
他のタスクを意識せずプログラミングできることから、
ソフト開発が容易になる。
According to this embodiment, since the shared area for each task can be dynamically variably set, it is not necessary to secure the shared area in consideration of the additional task, and the memory resources can be effectively used. Also, when designing the program,
Because you can program without being aware of other tasks,
Software development becomes easy.

【0072】[0072]

【発明の効果】本発明の二重化システムによれば、主メ
モリバスを直接スヌープして、主メモリ上の共有データ
エリアへアクセスするデータを検知し、相手系に送信し
て一致化処理を行なう機能を各プロセッサに設けている
ので、従来のシステム共通のGMが不要になり、メモリ
資源の有効活用とメモリ管理の簡素化が可能になる効果
がある。
According to the duplex system of the present invention, the function of directly snooping the main memory bus to detect the data for accessing the shared data area on the main memory and transmitting it to the partner system to perform the matching process. Since each processor is provided in each processor, the conventional GM common to the system is not required, and there is an effect that effective use of memory resources and simplification of memory management are possible.

【0073】また、主メモリ上の共有データエリアを任
意に指定するとともに、該共有エリアにアクセスするデ
ータのみを一致化処理するように一元管理するので、共
有データを意識することなくソフトウェア開発ができ
る。
Further, since the shared data area on the main memory is arbitrarily designated and the data to access the shared area is centrally managed so as to be matched, the software can be developed without being aware of the shared data. .

【0074】本発明のマルチタスクの二重化システムに
よれば、タスク切り替えと同時に、主メモリ上のタスク
毎の共有エリアが動的に切り替わるので、マルチタスク
のソフトウェア構築に際して、各タスク間での共有エリ
アの割付けが不要になり、システムの開発や変更が容易
になる。
According to the multitasking duplication system of the present invention, the shared area for each task on the main memory is dynamically switched at the same time when the tasks are switched. No need to allocate, which makes system development and modification easier.

【0075】本発明のマルチプロセッサの二重化システ
ムによれば、システム共通のバス(I/Oバス)とは別
に、系間に一致化バスを設けて共有データを転送するの
で、主メモリアクセスと同時に共有データの転送処理が
開始され、マルチプロセッサにより共有データが増加し
ても一致化処理を高速化でき、マルチプロセッサの処理
性を維持できる効果がある。あるいは、シングルシステ
ムに比べた二重化システムでの処理能力低下を防止でき
る。
According to the multiprocessor duplexing system of the present invention, a shared bus is provided between the systems in addition to the system common bus (I / O bus) to transfer the shared data. Even if the shared data transfer process is started and the shared data is increased by the multiprocessor, the matching process can be speeded up, and the processability of the multiprocessor can be maintained. Alternatively, it is possible to prevent a decrease in processing capacity in the duplex system as compared with the single system.

【0076】また、所定の一致化バスルートの故障時
に、隣接プロセッサとその一致化バスを経由する別ルー
ト一致化処理の機能を有しているので、システムの信頼
性を向上できる効果がある。
Further, when a predetermined matching bus route fails, it has a function of another route matching process through the adjacent processor and its matching bus, so that there is an effect that system reliability can be improved.

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

【図1】本発明の基本的な実施形態による二重化システ
ムの構成図。
FIG. 1 is a configuration diagram of a duplex system according to a basic embodiment of the present invention.

【図2】図1の実施形態における主メモリマップ。FIG. 2 is a main memory map in the embodiment of FIG.

【図3】実施形態1による共有データ一致化装置(CM
E)の構成図。
FIG. 3 is a shared data matching device (CM according to the first embodiment.
The block diagram of E).

【図4】実施形態2によるマルチプロセッサの二重化シ
ステムの構成図。
FIG. 4 is a configuration diagram of a multiprocessor duplexing system according to a second embodiment.

【図5】実施形態3による別ルート一致化方式のルート
説明図。
FIG. 5 is an explanatory diagram of routes of another route matching method according to the third embodiment.

【図6】実施形態3による別ルート一致化方式のCME
の構成図。
FIG. 6 is a CME of another route matching method according to the third embodiment.
FIG.

【図7】実施形態4における主メモリマップ。FIG. 7 is a main memory map according to the fourth embodiment.

【図8】実施形態5における主メモリマップ。FIG. 8 is a main memory map according to the fifth embodiment.

【図9】実施形態5におけるタスク切替のフロー図。FIG. 9 is a flowchart of task switching according to the fifth embodiment.

【図10】実施形態5における一動作例の主メモリマッ
プ。
FIG. 10 is a main memory map of an operation example according to the fifth embodiment.

【図11】GMを使用する従来の二重化システムの構成
図。
FIG. 11 is a block diagram of a conventional duplex system using GM.

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

001…アドレス、002…データ、003…共有デー
タ、006…受信アドレスバッファ、007…受信デー
タバッファ、008…送信アドレスバッファ、009…
送信データバッファ、010…常用系プロセッサ、01
1〜012…常用系拡張プロセッサ、020…MPU、
021…主メモリバス、030…主メモリ、033…共
有エリア、036…他プロセッサ用転送バッファ、04
0…CME、041…メモリアクセス情報取得回路、0
42…転送範囲比較回路、043…送受信回路、044
…共有エリア上限レジスタ、045…共有エリア下限レ
ジスタ、046…メモリアクセス回路、047…送信/
受信状態管理回路、049…タイミング回路、050…
アクセス情報取得タイミング回路、051…メモリバス
インターフェース、052…メモリアクセス権取得回
路、060…常用系一致化バス、061…常用系一致化
バスA、062…常用系一致化バスB、063…常用系
一致化バスC、064…常用系I/Oバス、070…共
有エリア、071…タスク#1用共有エリア、073…
タスク#2用共有エリア、075…タスク#3用共有エ
リア、081…タスク#1共有エリア上限、082…タ
スク#1共有エリア下限、083…タスク#3共有エリ
ア上限、084…タスク#3共有エリア下限、085…
タスク#3共有エリア上限、086…タスク#3共有エ
リア下限、087…前タスク保存エリア上限、088…
前タスク保存エリア下限、089…タスク設定エリア、
090…I/OバスIF、091…他プロセッサ転送エ
リア報告レジスタ、092…送受信部、093…バスI
F回路、094…プロセッサ選定部、095…他プロセ
ッサ転送エリア上限レジスタ、096…他プロセッサ転
送エリア下限レジスタ、097…バッファ制御部、09
8…異常監視部、099…OS、110…待機系プロセ
ッサ、111,112…待機系拡張プロセッサ、120
…MPU、121…主メモリバス、130…主メモリ、
133…共有エリア、134…プロセッサ010用アド
レス転送エリア、135…プロセッサ010用データ転
送エリア、136…プロセッサ010用転送バッファ、
137…プロセッサ011用転送バッファ、138…ア
ドレスバッファ、139…データバッファ、140…C
ME、141…メモリアクセス情報取得回路、142…
転送範囲比較回路、143…送受信回路、144…共有
エリア上限レジスタ、145…共有エリア下限レジス
タ、146…メモリアクセス回路、164…常用系I/
Oバス、240…メモリアクセス情報取得アドレスレジ
スタ、241…メモリアクセス情報取得データレジス
タ、242…メモリアクセスデータレジスタ、243…
メモリアクセスアドレスレジスタ、244…送信バッフ
ァ、245…受信バッファ、250…メモリデータ、2
51…メモリアドレス、252…メモリライト信号、2
53…メモリ選択信号、254…メモリバス使用権要求
信号、255…メモリバス使用許可信号、255,25
6…一致化信号。
001 ... address, 002 ... data, 003 ... shared data, 006 ... reception address buffer, 007 ... reception data buffer, 008 ... transmission address buffer, 009 ...
Transmission data buffer, 010 ... Regular processor, 01
1-012 ... normal system expansion processor, 020 ... MPU,
021 ... main memory bus, 030 ... main memory, 033 ... shared area, 036 ... transfer buffer for other processor, 04
0 ... CME, 041 ... Memory access information acquisition circuit, 0
42 ... Transfer range comparison circuit, 043 ... Transceiver circuit, 044
... shared area upper limit register, 045 ... shared area lower limit register, 046 ... memory access circuit, 047 ... transmission /
Reception state management circuit, 049 ... Timing circuit, 050 ...
Access information acquisition timing circuit, 051 ... Memory bus interface, 052 ... Memory access right acquisition circuit, 060 ... Normal system matching bus, 061 ... Normal system matching bus A, 062 ... Normal system matching bus B, 063 ... Normal system Matching bus C, 064 ... Regular system I / O bus, 070 ... Shared area, 071 ... Task # 1 shared area, 073 ...
Task # 2 shared area, 075 ... Task # 3 shared area, 081 ... Task # 1 shared area upper limit, 082 ... Task # 1 shared area lower limit, 083 ... Task # 3 shared area upper limit, 084 ... Task # 3 shared area Lower limit, 085 ...
Task # 3 shared area upper limit, 086 ... Task # 3 shared area lower limit, 087 ... Previous task storage area upper limit, 088 ...
Previous task save area lower limit, 089 ... task setting area,
090 ... I / O bus IF, 091 ... Other processor transfer area report register, 092 ... Transceiver, 093 ... Bus I
F circuit, 094 ... Processor selection unit, 095 ... Other processor transfer area upper limit register, 096 ... Other processor transfer area lower limit register, 097 ... Buffer control unit, 09
8 ... Abnormality monitoring section, 099 ... OS, 110 ... Standby system processor, 111, 112 ... Standby system extended processor, 120
... MPU, 121 ... Main memory bus, 130 ... Main memory,
133 ... Shared area, 134 ... Processor 010 address transfer area, 135 ... Processor 010 data transfer area, 136 ... Processor 010 transfer buffer,
137 ... Transfer buffer for processor 011, 138 ... Address buffer, 139 ... Data buffer, 140 ... C
ME, 141 ... Memory access information acquisition circuit, 142 ...
Transfer range comparison circuit, 143 ... Transceiver circuit, 144 ... Shared area upper limit register, 145 ... Shared area lower limit register, 146 ... Memory access circuit, 164 ... Normal system I /
O bus, 240 ... Memory access information acquisition address register, 241 ... Memory access information acquisition data register, 242 ... Memory access data register, 243 ...
Memory access address register, 244 ... Transmission buffer, 245 ... Reception buffer, 250 ... Memory data, 2
51 ... Memory address, 252 ... Memory write signal, 2
53 ... Memory selection signal, 254 ... Memory bus usage right request signal, 255 ... Memory bus usage permission signal, 255, 25
6 ... Matching signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 長山 久雄 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内 (72)発明者 黒澤 憲一 茨城県日立市大みか町七丁目1番1号 株 式会社日立製作所日立研究所内 (72)発明者 高松 良一 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 大橋 章宏 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 橋本 忠彦 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 桝井 晃二 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hisao Nagayama 5-2-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Process Computer Engineering Co., Ltd. (72) Inventor Kenichi Kurosawa 7-1, Omika-cho, Hitachi-shi, Ibaraki No. 1 Incorporated company Hitachi Ltd. Hitachi Research Laboratory (72) Inventor Ryoichi Takamatsu 5-2-1, Omika-cho, Hitachi City, Ibaraki Prefecture Incorporated company Hitachi Ltd. Omika Plant (72) Inventor Akihiro Ohashi Mika Oita, Ibaraki Prefecture 5-2-1 machi, Hitachi Ltd. Omika factory (72) Inventor Tadahiko Hashimoto 5-2-1 Omika-cho, Hitachi city, Ibaraki Hitachi Ltd. Omika factory (72) Inventor Koji Masui Ibaraki 2-5-1, Omika-cho, Hitachi-shi, Hitachi Inside the Omika factory of Hitachi, Ltd.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 主メモリバスで接続されたMPU及び主
記憶装置と、相手系と共有情報を送受する送受信回路を
持つ共有データ一致化装置(以下、CMEと略称)を備
えるプロセッサの二重化システムにおいて、 主記憶装置は、前記共有データを記憶する共有エリアを
有し、 前記CMEは、MPUから主記憶装置へ書き込むアドレ
スとデータを含むアクセス情報を主メモリバスからスヌ
ープするメモリアクセス情報取得手段、相手系からの受
信情報が前記共有データの場合に前記共有エリアに書き
込むメモリアクセス手段、前記共有エリアの範囲を指定
する共有エリア設定手段、前記アクセス情報または前記
受信情報中のアドレスが前記共有エリアの範囲内にある
とき、該情報を共有データと判断する共有データ監視手
段を有することを特徴とする二重化システム。
1. A duplex system of a processor including an MPU and a main storage device connected by a main memory bus, and a shared data matching device (hereinafter, abbreviated as CME) having a transmission / reception circuit for transmitting / receiving shared information to / from a partner system. A main memory device has a shared area for storing the shared data, and the CME snoops access information including an address and data to be written from the MPU to the main memory device from a main memory bus. When the received information from the system is the shared data, the memory access means for writing in the shared area, the shared area setting means for designating the range of the shared area, the address in the access information or the received information is the range of the shared area. When it is inside, it has a shared data monitoring means for judging the information as shared data. Redundant system to be.
【請求項2】 請求項1において、 前記CMEは、自系のプロセッサの送信/受信状態に応
じてCME内の情報の流れを送信側または受信側に切り
替える送受信状態管理手段を有していることを特徴とす
る二重化システム。
2. The CME according to claim 1, further comprising a transmission / reception state management means for switching a flow of information in the CME to a transmission side or a reception side according to a transmission / reception state of a processor of its own system. Redundant system characterized by.
【請求項3】 請求項1または2において、 前記共有データを送受するために自系と相手系のプロセ
ッサを接続する一致化バスを設け、MPUの処理と並行
して一致化処理できるように構成したことを特徴とする
二重化システム。
3. The matching bus according to claim 1 or 2, wherein a matching bus for connecting the processors of the own system and the partner system is provided for transmitting / receiving the shared data, and the matching processing can be performed in parallel with the processing of the MPU. A duplex system characterized by the above.
【請求項4】 マルチタスクのプログラムを記憶する主
記憶装置と、タスクを切り替えながら前記プログラムを
実行するMPUと、主記憶装置とMPUを接続する主メ
モリバスと、相手系と共有情報を送受する送受信回路を
持つ共有データ一致化装置(以下、CMEと略称)を備
えるプロセッサの二重化システムにおいて、 主記憶装置は、前記共有データを記憶するタスク毎の共
有エリアと、各共有エリア範囲の設定エリアと、あるタ
スクの実行中に他のタスクを実行する場合に前記あるタ
スクの共有エリア範囲を一時的に退避する保存エリアを
有し、 前記CMEは、MPUから主記憶装置へ書き込むアドレ
スとデータを含むアクセス情報を主メモリバスからスヌ
ープするメモリアクセス情報取得手段、相手系からの受
信情報が前記共有データの場合に前記共有エリアに書き
込むメモリアクセス手段、タスク切り替えに応じてその
共有エリア範囲を管理し、前記アクセス情報または前記
受信報中のアドレスが当該共有エリア範囲内にあると
き、該情報を共有データと判断する共有データ監視手段
を有していることを特徴とする二重化システム。
4. A main memory device for storing a multitasking program, an MPU for executing the program while switching tasks, a main memory bus for connecting the main memory device and the MPU, and shared information with a partner system. In a duplex system of a processor including a shared data matching device (hereinafter abbreviated as CME) having a transmission / reception circuit, a main storage device has a shared area for each task that stores the shared data and a set area of each shared area range. , A storage area for temporarily saving the shared area range of the certain task when another task is executed during execution of the certain task, and the CME includes an address and data to be written from the MPU to the main storage device. Memory access information acquisition means for snooping access information from the main memory bus, information received from the partner system is the shared data. In the case of, the memory access means for writing to the shared area, the shared area range is managed according to task switching, and when the access information or the address in the received information is within the shared area range, the information is shared data. A duplex system characterized by having a shared data monitoring means for judging.
【請求項5】 MPUと主記憶装置とI/Oバスインタ
ーフェースを持つ複数のプロセッサをI/Oバス(また
はシステムバス)で接続するマルチプロセッサと、相手
系と共有情報を送受する送受信回路を持つ共有データ一
致化装置(以下、CMEと略称)を各プロセッサに備え
るマルチプロセッサの二重化システムにおいて、 主記憶装置に前記共有データを記憶する共有エリアを有
し、対応関係にある自系と相手系のプロセッサ間で前記
送受信回路を接続する一致化バスを設け、前記CMEが
前記IOバスによる系内のプロセッサ間通信と並行して
共有データ一致化処理を行なえるように前記CMEを構
成したことを特徴とするマルチプロセッサの二重化シス
テム。
5. A multiprocessor for connecting a plurality of processors having an I / O bus interface with an MPU, a main memory, and an I / O bus (or a system bus), and a transmission / reception circuit for transmitting / receiving shared information to / from a partner system. In a multiprocessor duplex system including a shared data matching device (hereinafter, abbreviated as CME) in each processor, a main storage device has a shared area for storing the shared data, and is provided in a corresponding relationship between a self system and a partner system. A matching bus for connecting the transmission / reception circuit is provided between the processors, and the CME is configured so that the CME can perform shared data matching processing in parallel with inter-processor communication in the system by the IO bus. And a multiprocessor duplex system.
【請求項6】 請求項5において、 前記CMEは、MPUから主記憶装置へ書き込むアドレ
スとデータを含むアクセス情報を主メモリバスからスヌ
ープするメモリアクセス情報取得手段、相手系からの受
信情報が前記共有データの場合に前記共有エリアに書き
込むメモリアクセス手段、前記共有エリアの範囲を指定
する共有エリア設定手段、前記アクセス情報または前記
受信情報中のアドレスが前記共有エリアの範囲内にある
とき、該情報を共有データと判断する共有データ監視手
段を有していることを特徴とするマルチプロセッサの二
重化システム。
6. The CME according to claim 5, wherein the CME snoops access information including an address and data to be written from the MPU to the main storage device from the main memory bus, and the information received from the partner system is shared by the CME. In the case of data, memory access means for writing in the shared area, shared area setting means for designating the range of the shared area, and when the address in the access information or the received information is within the range of the shared area, the information is stored. A multiprocessor duplexing system having a shared data monitoring means for judging shared data.
【請求項7】 請求項6において、 前記CMEは、前記一致化バスを経由する相手系からの
応答信号を監視する異常監視手段と、他プロセッサの転
送エリアアドレスを指定する転送エリア設定手段と、前
記異常監視手段がバス異常(無応答)を検知した場合
に、前記転送エリアアドレスと前記アクセス情報を前記
I/Oバスインタフェースに出力するバスIF手段を備
え、系内の他プロセッサとその一致化バスを経由する迂
回ルートを通じて相手系へ共有データを送信するように
構成したことを特徴とするマルチプロセッサの二重化シ
ステム。
7. The CME according to claim 6, wherein the CME includes an abnormality monitoring unit that monitors a response signal from the partner system via the matching bus, and a transfer area setting unit that specifies a transfer area address of another processor. When the abnormality monitoring means detects a bus abnormality (no response), it is provided with a bus IF means for outputting the transfer area address and the access information to the I / O bus interface, and makes them coincident with other processors in the system. A multiprocessor duplex system characterized by being configured to transmit shared data to a partner system via a bypass route via a bus.
【請求項8】 請求項7において、 前記転送エリアアドレスは、前記他プロセッサのCME
内に設けられる転送データバッファのアドレス範囲に設
定されることを特徴とするマルチプロセッサの二重化シ
ステム。
8. The transfer area address according to claim 7, wherein the transfer area address is a CME of the other processor.
A multiprocessor duplication system characterized in that it is set within an address range of a transfer data buffer provided therein.
【請求項9】 請求項7において、 前記転送エリアアドレスは、前記他プロセッサの主記憶
装置内に設けられる転送エリアのアドレス範囲に設定さ
れることを特徴とするマルチプロセッサの二重化システ
ム。
9. The dual processor system according to claim 7, wherein the transfer area address is set in an address range of a transfer area provided in a main memory of the other processor.
JP12145596A 1996-05-16 1996-05-16 Redundant system Expired - Fee Related JP3299115B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12145596A JP3299115B2 (en) 1996-05-16 1996-05-16 Redundant system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12145596A JP3299115B2 (en) 1996-05-16 1996-05-16 Redundant system

Publications (2)

Publication Number Publication Date
JPH09305424A true JPH09305424A (en) 1997-11-28
JP3299115B2 JP3299115B2 (en) 2002-07-08

Family

ID=14811561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12145596A Expired - Fee Related JP3299115B2 (en) 1996-05-16 1996-05-16 Redundant system

Country Status (1)

Country Link
JP (1) JP3299115B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003131899A (en) * 2001-10-19 2003-05-09 Toshiba Corp Redundant control device
JP2009211517A (en) * 2008-03-05 2009-09-17 Nec Corp Virtual computer redundancy system
US9208037B2 (en) 2008-06-19 2015-12-08 Hitachi, Ltd. Duplexed operation processor control system, and duplexed operation processor control method
USRE46712E1 (en) 1998-03-18 2018-02-13 Koninklijke Philips N.V. Data processing device and method of computing the cosine transform of a matrix

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE46712E1 (en) 1998-03-18 2018-02-13 Koninklijke Philips N.V. Data processing device and method of computing the cosine transform of a matrix
JP2003131899A (en) * 2001-10-19 2003-05-09 Toshiba Corp Redundant control device
JP2009211517A (en) * 2008-03-05 2009-09-17 Nec Corp Virtual computer redundancy system
US9208037B2 (en) 2008-06-19 2015-12-08 Hitachi, Ltd. Duplexed operation processor control system, and duplexed operation processor control method

Also Published As

Publication number Publication date
JP3299115B2 (en) 2002-07-08

Similar Documents

Publication Publication Date Title
US5274789A (en) Multiprocessor system having distributed shared resources and dynamic and selective global data replication
JP3218773B2 (en) Cache controller
US5829052A (en) Method and apparatus for managing memory accesses in a multiple multiprocessor cluster system
US6219759B1 (en) Cache memory system
AU714681B2 (en) Parallel processor with redundancy of processor pairs
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
EP0431467A1 (en) Multiprocessor system having distributed shared resources and dynamic global data replication
KR20080104388A (en) Inter-port communication in a multi-port memory device
US7117338B2 (en) Virtual memory address translation control by TLB purge monitoring
JPH0576060B2 (en)
JP2002529810A (en) Processing configuration
EP0427023B1 (en) Data transmission control apparatus for parallel processing system
KR950010529B1 (en) Memory sharing for communicaiton between processors
JP2001333137A (en) Self-operating communication controller and self- operating communication control method
JP3299115B2 (en) Redundant system
JPH04291660A (en) Inter-processor communication method and its parallel processor
JP2813182B2 (en) Multiprocessor computer multifunction device
JP3187446B2 (en) Cache memory controller
JP3052460B2 (en) Cooperative processing type information processing device
EP0117837B1 (en) User programmable bus configuration for microcomputers
JPH0827761B2 (en) Dual-system simultaneous writing method for dual memory
JP3219422B2 (en) Cache memory control method
CN115687195A (en) Hybrid system architecture for implementing host operating system and real-time operating system within a system-on-a-chip
JPH0344749A (en) Data processor
JP2696899B2 (en) Multiprocessor system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080419

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090419

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100419

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110419

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120419

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120419

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130419

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140419

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees