JP2000148523A - Duplex memory device and method for switching memory - Google Patents

Duplex memory device and method for switching memory

Info

Publication number
JP2000148523A
JP2000148523A JP10319355A JP31935598A JP2000148523A JP 2000148523 A JP2000148523 A JP 2000148523A JP 10319355 A JP10319355 A JP 10319355A JP 31935598 A JP31935598 A JP 31935598A JP 2000148523 A JP2000148523 A JP 2000148523A
Authority
JP
Japan
Prior art keywords
memory
switching
bus
standby
active
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
JP10319355A
Other languages
Japanese (ja)
Inventor
Toshiaki Nagasawa
利明 長沢
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10319355A priority Critical patent/JP2000148523A/en
Publication of JP2000148523A publication Critical patent/JP2000148523A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a duplex shared memory system by simple consti-tution without reducing the performance of the system. SOLUTION: A switching circuit 14 is connected to a 1st memory 15 and a 2nd memory 16 in a shared memory part 13, and at the time of detecting a memory fault, switches the operating memory to the stand-by memory, controls respective accesses from plural proces-sors Pi to Pn and ends the switching of memories during the arbi-tration of a system bus 11 by an arbitration circuit 12, so that a processor can always access the operating memory without being conscious of the duplex memory.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、共有メモリを二重
化したマルチプロセッサシステムにおける二重化メモリ
装置及びメモリ切替方法に関する。
The present invention relates to a dual memory device and a memory switching method in a multiprocessor system in which a shared memory is duplicated.

【0002】[0002]

【従来の技術】通信制御装置用のメモリシステムは、デ
ータ処理量の増加に伴い、大容量化と同時に高い信頼性
が求められている。その実現手段として二重化メモリシ
ステムが多く採用されている。二重化メモリシステムに
おいては、一般的に、運用系及び待機系に二重化された
メモリに同じデータを格納し、データの同一性を保証す
る。また、データの読み込みは運用系データから行われ
る。そして、運用系のメモリで障害が発生したときに、
運用系から待機系に切り替える。
2. Description of the Related Art A memory system for a communication control device is required to have a large capacity and high reliability in accordance with an increase in data processing amount. As a means for achieving this, a duplicated memory system is often employed. In a duplicated memory system, generally, the same data is stored in duplicated memories in an active system and a standby system, and the same data is guaranteed. The data is read from the operational data. When a failure occurs in the active memory,
Switch from the active system to the standby system.

【0003】障害発生時の切替え制御方法として、ソフ
トウエア方式とハードウエア方式とがある。ソフトウェ
ア処理による切り替え制御では、処理は必ずシーケンシ
ャルに行われるので、データの書き込みが二重化された
メモリに同時に行われるわけではない。このため、一方
のメモリに書き込み中に障害が発生した場合、他方のメ
モリにデータが書き込まれず、データが正しく更新され
ない。このため、データの同一性が保証できない。
As a switching control method when a failure occurs, there are a software method and a hardware method. In the switching control by software processing, the processing is always performed sequentially, so that data writing is not performed simultaneously to the duplicated memory. Therefore, if a failure occurs during writing to one memory, the data is not written to the other memory, and the data is not correctly updated. For this reason, data identity cannot be guaranteed.

【0004】特にマルチプロセッサシステムにおいて
は、メモリにアクセス中のプロセッサは、メモリエラー
を認識し、対処できる。しかしながら、他のプロセッサ
はメモリエラーを認識しておらず、メモリにアクセスし
てくる。このため、古いデータを読み取り、誤った処理
を実行する。
Particularly in a multiprocessor system, a processor accessing a memory recognizes a memory error and can deal with it. However, other processors do not recognize the memory error and access the memory. Therefore, old data is read and erroneous processing is executed.

【0005】このような問題を解決するため、現在書き
換え中のメモリアドレスに印をつけておき、プロセッサ
がこのメモリアドレスのデータを読み取ろうとしたらア
クセスを制限することが考えられる。二重化メモリの同
一性を保証できるが、制御量が増大または制御処理速度
の低下を引き起こす。
In order to solve such a problem, it is conceivable to mark a memory address that is currently being rewritten and restrict access when the processor attempts to read data at this memory address. Although the identity of the duplicated memory can be guaranteed, the control amount increases or the control processing speed decreases.

【0006】これに対して、ハードウエアによる切り替
え制御は、ソフトウエア制御に比べて制御処理速度が速
い。また、二重化メモリに実質的に同時にデータを書き
込める。
On the other hand, switching control by hardware has a higher control processing speed than software control. Also, data can be written to the duplicated memory substantially simultaneously.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、ハード
ウェア制御においても、運用系メモリ及び待機系メモリ
間で切り替えにわずかではあるがプロセッサに待機させ
る必要がある。マルチプロセッサシステムでは高速で処
理が実行されるため、このわずかな待機時間が処理遅延
につながる。
However, even in hardware control, it is necessary to make the processor stand by, though slightly, for switching between the active memory and the standby memory. Since processing is performed at high speed in a multiprocessor system, this slight waiting time leads to processing delay.

【0008】また、プロセッサにメモリ切り替え中であ
ることを認知させる必要がある。このため、プロセッサ
に切り替え認知手段を設け、この切り替え認知手段が認
知した後にソフトウエアにより必要な制御が行こなわれ
ている。しかし、この方法では、回路が複雑化し、その
制御ソフトウエア数が増加するので、コストが高くなる
と共にシステムの信頼性が低下する。
Further, it is necessary to make the processor recognize that the memory is being switched. For this reason, the processor is provided with switching recognition means, and necessary control is performed by software after the switching recognition means recognizes. However, in this method, the circuit becomes complicated and the number of control software increases, so that the cost increases and the reliability of the system decreases.

【0009】一方、プロセッサが切り替えを認知するこ
となしにメモリへのアクセスを許容するために、プロセ
ッサ側のメモリアクセスを禁止するシステム的な同期回
路機構、制御信号回路等を設けることを行っている。し
かし、この方法でも、システムの機構が複雑になり、コ
ストが著しく高くなる。
On the other hand, in order to allow the processor to access the memory without recognizing the switching, a systematic synchronizing circuit mechanism, a control signal circuit and the like for inhibiting the memory access on the processor side are provided. . However, this method also complicates the mechanism of the system and significantly increases the cost.

【0010】本発明は、かかる点に鑑みてなされたもの
であり、マルチプロセッサシステムにおいて、簡単且つ
低コストで二重化メモリの同一性を確保すると共に高速
な処理が可能な二重化メモリ装置及びメモリ切替方法を
提供する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above, and in a multiprocessor system, a duplicated memory device and a memory switching method capable of easily and at low cost assuring identical duplicated memories and performing high-speed processing. I will provide a.

【0011】[0011]

【課題を解決するための手段】本発明は、障害検知部が
障害発生を検知した場合に、バスの使用権を調停するこ
となくプロセッサが扱うデータの格納先を運用系メモリ
から待機系メモリに自発的に切り替えるものである。
According to the present invention, when a failure detection unit detects the occurrence of a failure, the storage destination of data handled by the processor is changed from the active memory to the standby memory without arbitrating the right to use the bus. It is to switch spontaneously.

【0012】[0012]

【発明の実施の形態】本発明の第1の態様に係る二重化
メモリ装置は、バスで接続した複数のプロセッサが扱う
データを運用系メモリ及び待機系メモリに二重化して格
納する共有メモリ部と、前記運用系メモリでの障害発生
を検知する障害検知部と、前記障害検知部が障害発生を
検知した場合に、前記バスの使用権を調停することなく
前記データの格納先を前記運用系メモリから前記待機系
メモリに自発的に切り替えるメモリ切替部と、を具備す
る構成を採る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A dual memory device according to a first aspect of the present invention comprises: a shared memory unit for storing data handled by a plurality of processors connected by a bus in an active memory and a standby memory in a redundant manner; A failure detection unit that detects the occurrence of a failure in the active memory; and, when the failure detection unit detects the failure, the storage destination of the data from the active memory without arbitrating the right to use the bus. And a memory switching unit that spontaneously switches to the standby memory.

【0013】本発明の第2の態様は、第1の態様に係る
二重メモリ装置において、メモリ切替部は、リトライ処
理を行うまでに前記運用系メモリから前記待機系メモリ
に切り替えを行う構成を採る。
According to a second aspect of the present invention, in the dual memory device according to the first aspect, the memory switching unit switches from the active memory to the standby memory before performing a retry process. take.

【0014】これらの構成により、メモリ切替部は、障
害検知部が障害発生を検知した場合に、プロセッサ及び
バス調停回路のいずれのバスの使用権を調停することな
く、プロセッサがリトライ処理を行うまでに運用系メモ
リから待機系メモリに自発的に切り替える。これによ
り、プロセッサ側のソフトウエアは、常用系メモリに対
してアクセスを行うように設計するだけで済む。また、
プロセッサ側に切り替えを認知させる切替認知回路を設
ける必要がない。切替認知回路からの信号に応答するた
めのソフトウエア的制御も不要である。さらに、共有メ
モリ部側やバス調停回路側にプロセッサ側のメモリアク
セスを制限する回路を設ける必要がない。この結果、ソ
フトウエア的及びハードウエア的に簡単な構成でメモリ
の信頼性を向上することができる。
With these configurations, when the failure detection unit detects the occurrence of a failure, the memory switching unit does not arbitrate the right to use any of the buses of the processor and the bus arbitration circuit until the processor performs the retry process. At first, it switches spontaneously from the active memory to the standby memory. As a result, the software on the processor side only needs to be designed to access the ordinary memory. Also,
There is no need to provide a switching recognition circuit that allows the processor to recognize switching. No software control for responding to the signal from the switching recognition circuit is required. Further, there is no need to provide a circuit for restricting memory access on the processor side on the shared memory unit side or the bus arbitration circuit side. As a result, the reliability of the memory can be improved with a simple configuration in terms of software and hardware.

【0015】また、第2の態様では、プロセッサはバス
の使用権の調停が終わるまでリトライ処理を待つ必要が
ないのでマルチプロセッサシステム全体の処理速度を高
速化できる。
In the second embodiment, the processor does not need to wait for retry processing until arbitration of the right to use the bus ends, so that the processing speed of the entire multiprocessor system can be increased.

【0016】本発明の第3の態様に係るメモリ切替方法
は、共有メモリ部にバスで接続した複数のプロセッサが
扱うデータを運用系メモリ及び待機系メモリに二重化し
て格納し、障害発生を検知した場合に前記バスの使用権
を調停することなく前記データの格納先を前記運用系メ
モリから前記待機系メモリに自発的に切り替える構成を
採る。
In a memory switching method according to a third aspect of the present invention, data handled by a plurality of processors connected by a bus to a shared memory unit is duplicated and stored in an active memory and a standby memory, and the occurrence of a failure is detected. In this case, the storage destination of the data is spontaneously switched from the active memory to the standby memory without arbitrating the right to use the bus.

【0017】本発明の第4の態様は、第4の態様に係る
メモリ切替方法において、リトライ処理を行うまでに運
用系メモリから待機系メモリに切り替えを行う構成を採
る。
A fourth aspect of the present invention, in the memory switching method according to the fourth aspect, employs a configuration in which switching from the active memory to the standby memory is performed until retry processing is performed.

【0018】これらの構成により、障害発生を検知した
場合に、プロセッサ及びバス調停回路のいずれのバスの
使用権を調停することなく、リトライ処理を行うまでに
運用系メモリから待機系メモリに自発的に切り替える。
これにより、プロセッサ側のソフトウエアは、常用系メ
モリに対してアクセスを行うように設計するだけで済
む。また、プロセッサ側に切り替えを認知させる切替認
知回路を設ける必要がない。切替認知回路からの信号に
応答するためのソフトウエア的制御も不要である。さら
に、共有メモリ部側やバス調停回路側にプロセッサ側の
メモリアクセスを制限する回路を設ける必要がない。こ
の結果、ソフトウエア的及びハードウエア的に簡単な構
成でメモリの信頼性を向上することができる。
According to these configurations, when the occurrence of a failure is detected, the right to use any of the buses of the processor and the bus arbitration circuit is not arbitrated and the spontaneous transfer from the active memory to the standby memory is performed until the retry processing is performed. Switch to
As a result, the software on the processor side only needs to be designed to access the ordinary memory. Also, there is no need to provide a switching recognition circuit for causing the processor to recognize switching. No software control for responding to the signal from the switching recognition circuit is required. Further, there is no need to provide a circuit for restricting memory access on the processor side on the shared memory unit side or the bus arbitration circuit side. As a result, the reliability of the memory can be improved with a simple configuration in terms of software and hardware.

【0019】また、第4の実施の態様では、プロセッサ
はバスの使用権の調停が終わるまでリトライ処理を待つ
必要がないのでマルチプロセッサシステム全体の処理速
度を高速化できる。
Further, in the fourth embodiment, the processor does not need to wait for the retry process until the arbitration of the right to use the bus ends, so that the processing speed of the entire multiprocessor system can be increased.

【0020】以下、本発明の一実施の形態を図面を参照
して説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0021】図1は、本発明の一実施の形態に係る負荷
分散型マルチプロセッサシステムを具備する基地局制御
装置(無線制御装置ともいう)を用いた無線通信システ
ムの全体ブロック図である。
FIG. 1 is an overall block diagram of a radio communication system using a base station control device (also referred to as a radio control device) having a load sharing type multiprocessor system according to an embodiment of the present invention.

【0022】基地局制御装置1は、複数の基地局2と交
換機3との間に接続され、移動局4間並びに移動局4及
び固定網5上の電話間の伝送路を提供する働きを果た
す。
The base station controller 1 is connected between the plurality of base stations 2 and the exchange 3, and serves to provide transmission paths between the mobile stations 4 and between the mobile stations 4 and telephones on the fixed network 5. .

【0023】基地局制御装置1は、図2に示すように、
基地局2及び交換機3に接続された外部回線と接続する
ためのI/O部6と、データ処理を行うマルチプロセッ
サ構成からなる中央処理部7とを備えている。
As shown in FIG. 2, the base station controller 1
An I / O unit 6 for connecting to an external line connected to the base station 2 and the exchange 3 and a central processing unit 7 having a multiprocessor configuration for performing data processing are provided.

【0024】中央処理部7が行うデータ処理は、具体的
には、移動局4どうし及び移動局4及び電話間の通信回
線の接続制御、基地局4の運用制御(リセット、運用停
止、状態監視/管理、障害検出/復旧制御)、移動局4
又は他の基地局制御装置との間の制御データの伝送及び
プロトコル制御、基地局制御装置1内の状態・障害監視
/管理/制御、統計情報などのデータベース管理、各種
設定情報の入力/配信/表示等を含む。
The data processing performed by the central processing unit 7 includes, specifically, control of connection between the mobile stations 4 and the communication line between the mobile station 4 and the telephone, operation control of the base station 4 (reset, operation stop, state monitoring). / Management, fault detection / recovery control), mobile station 4
Or control data transmission and protocol control with another base station controller, status / fault monitoring / management / control in the base station controller 1, database management of statistical information, etc., input / distribution / Including display.

【0025】図3は、上記実施の形態に係る中央処理部
のブロック図である。
FIG. 3 is a block diagram of the central processing unit according to the above embodiment.

【0026】通信制御を行う中央処理部7は、システム
はシステムバス11を具備する。システムバス11に
は、複数のプロセッサP1〜Pnが接続されている。ま
た、システムバス11には、システムバス11の使用権
を調停する調停回路部13が接続されている。さらにシ
ステムバス11には、複数のプロセッサP1〜Pnに共有
される共有メモリ部12が接続されている。
The central processing unit 7 for controlling communication has a system bus 11. A plurality of processors P1 to Pn are connected to the system bus 11. In addition, an arbitration circuit 13 that arbitrates the right to use the system bus 11 is connected to the system bus 11. Further, a shared memory unit 12 shared by a plurality of processors P1 to Pn is connected to the system bus 11.

【0027】図3は、上記実施の形態に係る共有メモリ
部12を示すブロック図である。共有メモリ部12は、
システムバス11からクロックライン21a、アクセス
ライン21bおよびデータライン21cをそれぞれ引き
込んだ切替回路14を有する。切替回路14は、第1メ
モリ15および第2メモリ16に、クロックライン22
a、23a、アクセスライン22b、23bおよびデー
タライン22a、22bを介してパラレルに接続されて
いる。上記の構成により、複数のプロセッサP1〜Pn
は、システムバス11を介して、共有メモリ部12にア
クセス可能になっている。
FIG. 3 is a block diagram showing the shared memory unit 12 according to the above embodiment. The shared memory unit 12
It has a switching circuit 14 that draws a clock line 21a, an access line 21b, and a data line 21c from the system bus 11, respectively. The switching circuit 14 supplies a clock line 22 to the first memory 15 and the second memory 16.
a, 23a, access lines 22b, 23b, and data lines 22a, 22b. With the above configuration, the plurality of processors P1 to Pn
Can access the shared memory unit 12 via the system bus 11.

【0028】第1メモリ15および第2メモリ16によ
り、運用系および待機系を構成する。運用系および待機
系の区別は、カードステータスを表す制御レジスタに運
用/待機の区別を示すビットにより行う。この制御レジ
スタへの書き込みを切替回路14で制御することによ
り、第1メモリ15および第2メモリ16が同時に同じ
ステータスになることを防止している。
The first memory 15 and the second memory 16 constitute an operating system and a standby system. The distinction between the active system and the standby system is made by a bit indicating the distinction between the active and the standby in the control register indicating the card status. By controlling the writing to the control register by the switching circuit 14, the first memory 15 and the second memory 16 are prevented from having the same status at the same time.

【0029】切替回路14は、カードステータスに従っ
て運用系メモリに運用系アドレス空間を、待機系メモリ
に待機系アドレス空間をマッピングする。切替回路14
は、プロセッサより運用系メモリに書き込まれたデータ
を待機系に複製する。また、切替回路14は、読み込み
時には、運用系メモリからデータを送出するのと同時に
待機系メモリからデータを読み出してエラーチェックを
行う。
The switching circuit 14 maps the active address space to the active memory and the standby address space to the standby memory according to the card status. Switching circuit 14
Copies the data written from the processor to the active memory to the standby system. Further, at the time of reading, the switching circuit 14 reads data from the standby memory and performs an error check at the same time as sending data from the active memory.

【0030】以下、プロセッサP1がデータを共有メモ
リ部12に書き込んでいるときに、運用系メモリにパリ
ティエラーが発生した場合について説明する。この場
合、第1メモリ15を運用系メモリ、第2メモリ16を
待機系メモリとして使用している。図5は、上記実施の
形態に係る中央制御部におけるリトライシーケンスを示
すタイミングチャートである。中央制御部7における処
理は、バスクロック信号(BCLK)に同期して行われ
る。プロセッサP1は、システムバス11上にバス使用
権要求信号(BREQ)を送出する。これに応答して、
調停回路12は、バス使用権獲得信号(BGNT)とし
てアクセス権をプロセッサP1に渡す。図5では、タイ
ミングチャートに示す以前にBGNTがアサートされた
状態を示している。
A case where a parity error occurs in the active memory while the processor P1 is writing data to the shared memory unit 12 will be described below. In this case, the first memory 15 is used as an active memory and the second memory 16 is used as a standby memory. FIG. 5 is a timing chart showing a retry sequence in the central control unit according to the embodiment. The processing in the central control unit 7 is performed in synchronization with the bus clock signal (BCLK). The processor P1 sends a bus use request signal (BREQ) on the system bus 11. In response,
The arbitration circuit 12 passes the access right to the processor P1 as a bus use right acquisition signal (BGNT). FIG. 5 shows a state where BGNT is asserted before the timing chart is shown.

【0031】また、プロセッサP1は、データ転送開始
アドレス(A)およびデータ信号(D)を送出する。同
時に、プロセッサP1は、バス使用中信号(BB)をア
サートして、システムバス11を使用中であることを示
す。同様に、アドレスストローブ信号(AS)およびデ
ータストローブ信号(DS)をアサートする。
The processor P1 sends a data transfer start address (A) and a data signal (D). At the same time, the processor P1 asserts a bus busy signal (BB) to indicate that the system bus 11 is busy. Similarly, an address strobe signal (AS) and a data strobe signal (DS) are asserted.

【0032】プロセッサP1が共有メモリ部12に対し
てデータを書き込んでいるときに、切替回路14はパリ
ティチェックを行う。具体的には、システムバス11か
ら受信したデータおよびパリティを第1メモリ16に書
き込んだ後、正しく書き込めたか否かをメモリデバイス
から再読み取りする。次いで、パリティビットを使用し
てビット誤りが発生していないか否かを確認する。
When the processor P1 is writing data to the shared memory unit 12, the switching circuit 14 performs a parity check. Specifically, after writing the data and the parity received from the system bus 11 to the first memory 16, it reads again from the memory device whether or not the data was written correctly. Next, it is checked whether a bit error has occurred using the parity bit.

【0033】ここで、切替回路14が運用系の第1メモ
リ16にパリティエラーを検出した場合、切替回路14
は、データ転送完了信号(DTACK)およびデータ転
送エラー信号(BERR)を同時にアサートして、リト
ライ応答をプロセッサP1に送出する。
If the switching circuit 14 detects a parity error in the first memory 16 of the active system, the switching circuit 14
Asserts a data transfer completion signal (DTACK) and a data transfer error signal (BERR) simultaneously, and sends a retry response to the processor P1.

【0034】プロセッサP1は、DTACKおよびBE
RRを同時に検出し、共有メモリ部12が読み込みに失
敗し、リトライ応答になったことを認識する。この認識
の時点で、プロセッサP1は、バス使用中信号(BB)
を開放してバスサイクルを終了させる。
The processor P1 has DTACK and BE
RRs are detected at the same time, and the shared memory unit 12 recognizes that reading has failed and a retry response has been received. At the time of this recognition, the processor P1 issues a bus busy signal (BB)
To release the bus cycle.

【0035】一方、切替回路14はBBを監視し、プロ
セッサP1のアクセスの終了を待つ。バスサイクルの終
了を確認した後、切替回路14は、運用系と待機系とを
切り替える。具体的には、切替回路14は、運用系アド
レス空間に待機系メモリをマッピングし、かつ、カード
ステータスを変更するために、データライン21aを、
第1メモり15側のデータライン22aから第2メモリ
16側のデータライン23aに切り替える。この切り替
えは、切替回路14により自発的に行われる。すなわ
ち、プロセッサP1および調停回路12のいずれかの信
号により、信号を待って行うものではない。
On the other hand, the switching circuit 14 monitors BB and waits for the end of the access of the processor P1. After confirming the end of the bus cycle, the switching circuit 14 switches between the active system and the standby system. Specifically, the switching circuit 14 maps the data line 21a to map the standby memory to the active address space and change the card status.
The data line 22a on the first memory 15 side is switched to the data line 23a on the second memory 16 side. This switching is spontaneously performed by the switching circuit 14. That is, the processing is not performed by waiting for a signal based on one of the signals of the processor P1 and the arbitration circuit 12.

【0036】プロセッサP1は、リトライのためのアク
セス要求としてシステムバス11上にバス使用権要求信
号(BREQ)を送出する。調停回路12は、プロセッ
サP1からのBREQを検出した時点でアクセス要求の
ある全てのプロセッサを比較し、優先となる1つのプロ
セッサに対してアクセス権をバス使用権獲得信号(BG
NT)の形で渡す。他に要求がない場合、プロセッサP
1によるリトライサイクルが直ちに開始される。従っ
て、リトライサイクルの開始までには、システムバス1
1のアクセス要求から使用権の獲得、バス使用中信号の
送出、および、メモリデータアドレスの送出というバス
サイクルが必要である。このバスサイクルの間に、切替
回路14は、運用系/待機系の切り替えを完了している
ので、正常な運用系メモリへのアクセスが保証される。
The processor P1 sends a bus use right request signal (BREQ) on the system bus 11 as an access request for retry. The arbitration circuit 12 compares all the processors having access requests at the time of detecting the BREQ from the processor P1, and assigns an access right to one of the priority processors to a bus use right acquisition signal (BG
NT). Processor P, unless otherwise requested
The retry cycle with 1 starts immediately. Therefore, before the start of the retry cycle, the system bus 1
A bus cycle of acquiring a use right, transmitting a bus busy signal, and transmitting a memory data address from one access request is required. During this bus cycle, the switching circuit 14 has completed switching between the active system and the standby system, so that normal access to the active system memory is guaranteed.

【0037】以上説明したように、上記実施の形態によ
れば、複数のプロセッサP1〜Pnにより、共有メモリ
部13へのアクセスは常に運用系メモリのアドレスにの
み発生する。これにより、プロセッサは二重化を意識す
ることなくメモリへのアクセスを行うことができ、不要
な制御が介在しないため、非二重化メモリシステムに比
較して、性能的な劣化なしに、簡易にメモリの信頼性の
向上を図ることが可能となる。すなわち、従来に比べ
て、プロセッサ側制御回路/ソフトウェアに特別な制御
が不要になる。また、共有メモリ回路にバスへのメモリ
マッピングを切替える回路を接続するのみで、二重化を
実現することが可能である。また、メモリの障害発生を
バスのリトライ応答信号の形で、当該プロセッサに通知
するため、簡易な回路で対応が可能である。さらに、障
害検出と切替制御を同一回路内で行うため、制御回路が
簡易に構成可能である。
As described above, according to the above-described embodiment, access to the shared memory unit 13 by the plurality of processors P1 to Pn always occurs only at the address of the active memory. As a result, the processor can access the memory without being aware of the redundancy, and since unnecessary control does not intervene, the reliability of the memory can be easily reduced without deteriorating the performance as compared with the non-redundant memory system. It is possible to improve the performance. That is, special control is not required for the processor side control circuit / software as compared with the related art. Further, by simply connecting a circuit for switching memory mapping to a bus to the shared memory circuit, it is possible to realize redundancy. In addition, since the occurrence of a memory failure is notified to the processor in the form of a bus retry response signal, a simple circuit can be used. Further, since the failure detection and the switching control are performed in the same circuit, the control circuit can be easily configured.

【0038】本発明は、上記実施の形態に限定されるも
のでない。例えば、メモリの障害検知は、パリティ以外
のチェック方法であっても良い。例えば、CRC、EC
C、BCC等を利用することが可能である。
The present invention is not limited to the above embodiment. For example, the failure detection of the memory may be a check method other than the parity. For example, CRC, EC
C, BCC, etc. can be used.

【0039】[0039]

【発明の効果】以上説明したように、本発明よれば、通
信制御装置においてプロセッサ側の制御を変えずに、共
有メモリの二重化を実現することでシステムの信頼性向
上を図ることができる。
As described above, according to the present invention, the reliability of the system can be improved by realizing the duplexing of the shared memory without changing the control on the processor side in the communication control device.

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

【図1】本発明の一実施の形態に係る負荷分散型マルチ
プロセッサシステムを具備する基地局制御装置を用いた
無線通信システムの全体ブロック図
FIG. 1 is an overall block diagram of a wireless communication system using a base station control device including a load sharing multiprocessor system according to an embodiment of the present invention;

【図2】図1に示す基地局制御装置を示すブロック図FIG. 2 is a block diagram showing a base station controller shown in FIG. 1;

【図3】図2に示す中央制御部を示すブロック図FIG. 3 is a block diagram showing a central control unit shown in FIG. 2;

【図4】図2に示す中央制御部の共有メモリ部を示すブ
ロック図
FIG. 4 is a block diagram showing a shared memory unit of the central control unit shown in FIG. 2;

【図5】図5は、上記実施の形態に係る中央制御部にお
けるリトライシーケンスを示すタイミングチャート図
FIG. 5 is a timing chart showing a retry sequence in a central control unit according to the embodiment.

【符号の説明】 11 システムバス 12 調停回路部 13 共有メモリ部 14 切替回路 15 第1メモリ 16 第2メモリ[Description of Signs] 11 System bus 12 Arbitration circuit unit 13 Shared memory unit 14 Switching circuit 15 First memory 16 Second memory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 バスで接続した複数のプロセッサが扱う
データを運用系メモリ及び待機系メモリに二重化して格
納する共有メモリ部と、前記運用系メモリでの障害発生
を検知する障害検知部と、前記障害検知部が障害発生を
検知した場合に、前記バスの使用権を調停することなく
前記データの格納先を前記運用系メモリから前記待機系
メモリに自発的に切り替えるメモリ切替部と、を具備す
ることを特徴とする二重化メモリ装置。
1. A shared memory unit that stores data handled by a plurality of processors connected by a bus in a redundant manner in an active memory and a standby memory, a failure detector that detects occurrence of a failure in the active memory, A memory switching unit that spontaneously switches a storage destination of the data from the working memory to the standby memory without arbitrating the right to use the bus when the failure detecting unit detects the occurrence of a failure. Dual memory device.
【請求項2】 メモリ切替部は、リトライ処理を行うま
でに前記運用系メモリから前記待機系メモリに切り替え
を行うことを特徴とする請求項1記載の二重化メモリ装
置。
2. The dual memory device according to claim 1, wherein the memory switching unit switches from the active memory to the standby memory before performing a retry process.
【請求項3】 共有メモリ部にバスで接続した複数のプ
ロセッサが扱うデータを運用系メモリ及び待機系メモリ
に二重化して格納し、障害発生を検知した場合に前記バ
スの使用権を調停することなく前記データの格納先を前
記運用系メモリから前記待機系メモリに自発的に切り替
えることを特徴とするメモリ切替方法。
3. The method according to claim 1, wherein data handled by a plurality of processors connected to the shared memory unit via a bus is duplicated and stored in an active memory and a standby memory, and arbitration of the right to use the bus is performed when a failure is detected. Wherein the storage destination of the data is spontaneously switched from the active memory to the standby memory.
【請求項4】 リトライ処理を行うまでに運用系メモリ
から待機系メモリに切り替えを行うことを特徴とする請
求項3記載のメモリ切替方法。
4. The memory switching method according to claim 3, wherein switching from the active memory to the standby memory is performed until the retry processing is performed.
JP10319355A 1998-11-10 1998-11-10 Duplex memory device and method for switching memory Pending JP2000148523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10319355A JP2000148523A (en) 1998-11-10 1998-11-10 Duplex memory device and method for switching memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10319355A JP2000148523A (en) 1998-11-10 1998-11-10 Duplex memory device and method for switching memory

Publications (1)

Publication Number Publication Date
JP2000148523A true JP2000148523A (en) 2000-05-30

Family

ID=18109236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10319355A Pending JP2000148523A (en) 1998-11-10 1998-11-10 Duplex memory device and method for switching memory

Country Status (1)

Country Link
JP (1) JP2000148523A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005066805A1 (en) * 2003-12-26 2005-07-21 Fujitsu Limited Common memory accessing method and multiprocessor system employing it
KR100525677B1 (en) * 2002-07-09 2005-11-03 학교법인 두원학원 Apparatus and method for duplication of communication control module
JP2009288987A (en) * 2008-05-28 2009-12-10 Fujitsu Ltd Method for controlling connecting apparatus in information processing system, control program, and information processing apparatus
WO2022113747A1 (en) * 2020-11-24 2022-06-02 株式会社オートネットワーク技術研究所 In-vehicle information processing device and in-vehicle information processing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100525677B1 (en) * 2002-07-09 2005-11-03 학교법인 두원학원 Apparatus and method for duplication of communication control module
WO2005066805A1 (en) * 2003-12-26 2005-07-21 Fujitsu Limited Common memory accessing method and multiprocessor system employing it
US7664921B2 (en) 2003-12-26 2010-02-16 Fujitsu Limited Method for accessing shared memories and multiprocessor system using the method
JP2009288987A (en) * 2008-05-28 2009-12-10 Fujitsu Ltd Method for controlling connecting apparatus in information processing system, control program, and information processing apparatus
WO2022113747A1 (en) * 2020-11-24 2022-06-02 株式会社オートネットワーク技術研究所 In-vehicle information processing device and in-vehicle information processing method

Similar Documents

Publication Publication Date Title
US4807116A (en) Interprocessor communication
JP3807250B2 (en) Cluster system, computer and program
JP3657428B2 (en) Storage controller
EP1076853B1 (en) Controlling a bus with multiple system hosts
JPH05242060A (en) Multi-processor and data equalizing method
US6237108B1 (en) Multiprocessor system having redundant shared memory configuration
EP0333593B1 (en) A data processing system capable of fault diagnosis
JP2005293315A (en) Data mirror type cluster system and synchronous control method for it
JP2000332653A (en) Monitoring system and its method
JP2006178659A (en) Fault tolerant computer system and interrupt control method therefor
JP2000148523A (en) Duplex memory device and method for switching memory
JP3080552B2 (en) Memory device for multi-computer system
JP2979771B2 (en) Information processing apparatus and bus control method thereof
US6728818B2 (en) Dual storage adapters utilizing clustered adapters supporting fast write caches
JPH06259343A (en) Multiple bus control method and system using the same
JPS5845116B2 (en) Duplex storage device
JP2000155738A (en) Data processor
JP2004185640A (en) Storage device system
JP2002063047A (en) Doubling system switching device and switching method therefor
WO2004079573A1 (en) Multi-processor system
JPH04101255A (en) Bus backup mechanism
JPH09325916A (en) Memory controller
JP2000105753A (en) Two-way data transfer method
JPH06124242A (en) Duplex shared memory equivalency guarantee system
JPS6113266B2 (en)