JPH04111032A - Multiplexed storage device - Google Patents

Multiplexed storage device

Info

Publication number
JPH04111032A
JPH04111032A JP2227916A JP22791690A JPH04111032A JP H04111032 A JPH04111032 A JP H04111032A JP 2227916 A JP2227916 A JP 2227916A JP 22791690 A JP22791690 A JP 22791690A JP H04111032 A JPH04111032 A JP H04111032A
Authority
JP
Japan
Prior art keywords
memory
error
data
address
storage device
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
JP2227916A
Other languages
Japanese (ja)
Inventor
Kenji Miura
三浦 健治
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2227916A priority Critical patent/JPH04111032A/en
Publication of JPH04111032A publication Critical patent/JPH04111032A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To return to normal multiplexed configuration without stopping access performed by a CPU by performing access to a memory by the CPU and access to the memory for maintaining the multiplexed configuration by using first and second independent ports. CONSTITUTION:The CPU accesses and processes data in a tripled storage device 1. This tripled storage device 1 is equipped with three memories 2-4, read majority circuit 5 and memory comparison/correction circuit 8. The three memories respectively have first ports 21, 31 and 41 and second ports 22, 32 and 42 and access from the port is respectively independently performed. When the majority circuit 5 detects an erroneous data, the memory comparison/correction circuit 6 writes a data in the address of the other memory to the address of the memory. Thus, there is no adverse influence upon the processing time of the CPU.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は計算機システムに対し記憶装置を多重化した多
重化記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Field of Industrial Application) The present invention relates to a multiplexed storage device in which storage devices are multiplexed for a computer system.

(従来の技術) システムの信頼性を高める方法として同一の機能ユニッ
トの多重配置を行うことにより冗長度を高める多重化が
用いられている。この方法には、同一の機能ユニットを
二重に配置し個々の機能ユニットの出力を比較すること
により故障の検出を行う二重化、同一機能ユニットを三
重に配置し各機能ユニットの出力の多数決の結果を出力
とすることにより1つの機能ユニットの故障をマスクす
るとともに故障した機能ユニットの検出を行う三重化が
ある。この内、二重化では故障した機能ユニットが特定
できないため、三重化が広く用いられている。
(Prior Art) As a method of increasing system reliability, multiplexing is used to increase redundancy by arranging identical functional units in multiple ways. This method includes redundancy, which detects failures by arranging the same functional units in duplicate and comparing the outputs of each functional unit, and arranging the same functional units in triplicate, which detects failures by comparing the outputs of each functional unit. There is triplexing, which masks a failure in one functional unit and detects a failed functional unit by outputting . Of these, triplexing is widely used because redundancy makes it impossible to identify a failed functional unit.

計算機システムの記憶装置における三重化ではメモリを
三重に配置し、中央処理装置(CPU)によるデータの
書き込み動作時に、書き込みブタを3つのメモリに同時
に書き込む。又読み出し動作時には3つのメモリより同
時に読み出し、これら3つのデータを多数決により比較
し、比較結果の多数のデータ、すなわち読み出された3
つのデータのうち2つ以上読み出された同一のデータを
正しい記憶内容として中央処理装置(CPU)に転送す
る。またこの多数決による比較において少数であったデ
ータ、すなわち他の2つのメモリと異なったデータが読
み出されたメモリは障害の発生したものとみなされる。
In the triplexing of storage devices in computer systems, memories are arranged in triplicate, and when a central processing unit (CPU) performs a data write operation, a write block is written into three memories at the same time. Also, during a read operation, data is read from three memories at the same time, these three data are compared by majority vote, and a large number of data as a result of comparison, that is, three
Two or more of the same pieces of data that have been read out are transferred to a central processing unit (CPU) as correct storage contents. Furthermore, a memory from which a small number of data is read in the comparison based on the majority decision, that is, data different from the other two memories, is considered to be a faulty memory.

ここでメモリの1つに障害が発生した場合、他の2つの
メモリの記憶内容により処理の継続は可能であるが構成
は2重化と同等となるため、更に2つの読み出しデータ
が異なる場合は処理の継続が不可能となり計算機システ
ムは停止することとなる。そのため計算機システムを停
止させないためには、障害発生の後直ちに三重化の構成
に復帰させることが必要である。
If a failure occurs in one of the memories, it is possible to continue processing based on the storage contents of the other two memories, but the configuration is equivalent to duplication, so if the two read data are different, It becomes impossible to continue processing, and the computer system will stop. Therefore, in order to prevent the computer system from stopping, it is necessary to immediately return to the triplex configuration after a failure occurs.

しかしながら従来の三重化された記憶装置では、3つの
メモリの1つに障害が発生したとき再び三重化構成に復
帰させるためには、障害の発生したメモリに対し他の2
つの正常なメモリの記憶内容の複写により復元する動作
を必要とする。この動作を行うためには中央処理装置に
よる記憶装置への読み出し/書き込み動作を禁止する必
要があった。
However, in conventional triplex storage devices, when a fault occurs in one of the three memories, in order to return to the triplex configuration, it is necessary to replace the faulty memory with the other two.
It is necessary to perform a restoration operation by copying the contents of normal memory. In order to perform this operation, it was necessary to prohibit read/write operations to the storage device by the central processing unit.

(発明が解決しようとする課題) 以上述べた様に従来の多重化記憶装置では、CPUより
読み出しを行なった際にデータ比較により1つのメモリ
の障害発生が検出されると、CPUの動作を停止して該
メモリへの正しいデータの書き込み等を行なっていたた
め、CPUの処理時間が大幅に遅延するという欠点が有
った。
(Problems to be Solved by the Invention) As described above, in the conventional multiplexed storage device, if a failure in one memory is detected by data comparison when reading from the CPU, the operation of the CPU is stopped. Since the correct data is written to the memory, there is a drawback that the processing time of the CPU is significantly delayed.

そこで本発明の目的は、これらメモリの記憶内容の比較
や訂正等をCPUによるアクセスと独立して行なう手段
を設ける事により、CPUの処理時間に悪影響を与えな
い多重化記憶装置を提供することにある。
Therefore, an object of the present invention is to provide a multiplexed storage device that does not adversely affect the processing time of the CPU by providing means for comparing and correcting the stored contents of these memories independently of access by the CPU. be.

[発明の構成] (課題を解決するための手段) 本発明は、同一アドレスが順次付された少くとも3個の
メモリと、これらメモリに対しCPUよりアクセスする
ための第1のアクセスポートと、前記メモリに対し誤り
検出用にアクセスするための第2のアクセスポートと、
この第2のアクセスポートより前記メモリの同一アドレ
スのデータを夫々読み出し内容を多数決により比較して
誤りデータを検出する誤り検出手段と、この誤り検出手
段により誤りデータが検出された場合該メモリの当該ア
ドレスに対し他メモリの当該アドレスのデータを書き込
む誤り訂正手段とを具備したことを特徴とするものであ
る。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides at least three memories sequentially assigned the same address, a first access port for accessing these memories by a CPU, a second access port for accessing the memory for error detection;
an error detection means for detecting erroneous data by reading data at the same address in the memory from the second access port and comparing the contents by majority vote; The present invention is characterized by comprising an error correction means for writing data of the address in another memory to the address.

更に本発明では、前記誤り訂正手段により誤りデータの
検出されたメモリ及びアドレスを記録する誤り位置記録
手段と、この誤り位置記録手段に記録されているメモリ
の当該アドレスに対し前記誤り検出手段により再び誤り
データが検出された場合は該メモリに障害が発生したこ
とを通知し、誤りデータが検出されなかった場合は前記
誤り位置記録手段の該内容を消去する障害検出手段とを
具備したものである。
Further, in the present invention, there is provided an error position recording means for recording the memory and address where the error data was detected by the error correction means, and the error detection means again records the address of the memory recorded in the error position recording means. The apparatus is equipped with a failure detection means that notifies that a failure has occurred in the memory when erroneous data is detected, and erases the contents of the error position recording means when no erroneous data is detected. .

(作 用) 本発明によれば、中央処理装置による記憶装置へのアク
セスと、多重化構成を維持するための記憶装置へのアク
セスはそれぞれ第1、第2の独立したボートを用いて行
われるため、多重化構成を維持するためのアクセスが中
央処理装置によるアクセスを妨げることがない。従って
計算機システムの処理能力を低下することなくメモリの
多重化構成を維持することが実現できる。
(Function) According to the present invention, access to the storage device by the central processing unit and access to the storage device for maintaining the multiplexed configuration are performed using the first and second independent ports, respectively. Therefore, access for maintaining the multiplexed configuration does not interfere with access by the central processing unit. Therefore, it is possible to maintain the memory multiplex configuration without reducing the processing capacity of the computer system.

また、メモリの障害発生時における代替メモリへの記憶
内容の復元は、代替メモリの記憶内容はすべて誤りとさ
れ、他の正常なメモリの記憶内容に従って全て訂正され
ることにより復元のための特別な動作を行う必要がない
In addition, when a memory failure occurs, the contents of memory in the alternate memory are restored by treating all the contents of the alternate memory as errors and correcting them according to the contents of other normal memories. There is no need to perform any action.

(実施例) 以下、本発明の一実施例を図面を参照して説明する。本
実施例では三重化記憶装置を例に挙げて説明する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. This embodiment will be explained using a triplexed storage device as an example.

第1図は計算機システムの全体構成図であり、ここでは
三重化記憶装置1に対しCPUがデータをアクセスして
処理を行なう。
FIG. 1 is an overall configuration diagram of a computer system, in which a CPU accesses data from a triplexed storage device 1 to perform processing.

第2図は上記三重化記憶装置1の詳細ブロック図である
FIG. 2 is a detailed block diagram of the triplex storage device 1. As shown in FIG.

ここで三重化記憶装置(1)は、3つのメモリ(2) 
(3) (4)と、読み出し多数決回路(5)、記憶比
較・訂正回路(6)、アドレスカウンタ(7)、誤り位
置記録メモリ(8)により構成される。
Here, the triplexed storage device (1) has three memories (2)
(3) It is composed of (4), a read majority circuit (5), a storage comparison/correction circuit (6), an address counter (7), and an error position recording memory (8).

3つのメモリは、それぞれ書き込み読み出しの為の第1
ボート(21) (31) (41)及び第2ポート(
22)(32) (42)を持ち、第1ボート、第2ポ
ートからのアクセスはそれぞれ独立して行うことが可能
である。
The three memories each have a first memory for writing and reading.
Boat (21) (31) (41) and second port (
22), (32), and (42), and access from the first port and the second port can be performed independently.

中央処理装置による三重化記憶装置(1)に対するデー
タの書き込みは、同一データをメモリ(2) (3) 
(4)に対し各メモリの第1ボート(21) (31)
(41)より同時に書き込む。また、中央処理装置によ
る三重化記憶装置に対するデータの読み出しは、メモリ
(2) (3) (4)のボート(21) (31) 
(41)より読み出されたデータが読み出し多数決回路
(5)に与えられ、この読み出し多数決回路において3
つのデータの多数決による値を記憶内容として中央処理
装置に返す。
When the central processing unit writes data to the triplex storage device (1), the same data is written to the memory (2) (3).
For (4), the first boat of each memory (21) (31)
(41) Write simultaneously. In addition, the central processing unit reads data from the triplex storage device using the ports (21) (31) of the memory (2) (3) (4).
The data read from (41) is given to the read majority circuit (5), and in this read majority circuit, 3
The value based on the majority vote of the two data is returned to the central processing unit as the stored content.

これらとは独立に動作するものとして以下の構成要件が
存在する。
The following configuration requirements exist as those that operate independently of these.

まずアドレスカウンタは記憶比較訂正回路(6)の制御
に従いメモリ(2) (3) (4)の先頭番地から最
終番地までカウントし、最終番地到達後再び、先頭番地
からカウントを繰り返す。
First, the address counter counts from the first address to the last address of the memory (2), (3), and (4) under the control of the memory comparison and correction circuit (6), and after reaching the last address, the counting is repeated from the first address.

誤り位置記録メモリ(8)は、メモリ(2> (3) 
(4)と同じサイズのアドレス空間を持ち、各アドレス
における誤り発生の有無及び、誤りの発生したメモリの
記録を行う。第3図はその記録内容の一例を示す図であ
る。
The error position recording memory (8) is the memory (2> (3)
It has an address space of the same size as (4), and records whether or not an error has occurred at each address and the memory in which the error has occurred. FIG. 3 is a diagram showing an example of the recorded contents.

記憶比較訂正回路(6)は、アドレスカウンタ(7)の
示すアドレスに従い3つのメモリの第2ポート(22)
 (32) (42)よりデータを読み込むとともに、
過去にこのアドレスにおいて誤りの発生したメモリがあ
るか否かを誤りメモリ記録メモリ(8)を参照すること
により確認する。読み込んだ三つのデータを比較し、す
べてのデータが同じときであるときは誤りは無しとし、
誤りの発生したメモリがなかったことを誤り位置記録メ
モリ(8)に記録する。また同一の二つのデータと異な
る一つのデータが読み出されたときは、この二つのデー
タを正しいデータとし、他の一つのデータを誤りデータ
とする。この誤りデータの読み出されたメモリにおいて
過去に誤りが発生したとか誤り位置記録メモリ(8)に
記録されていた場合にはこのメモリが障害をもつメモリ
としてユーザに通知される。
The memory comparison and correction circuit (6) selects the second ports (22) of the three memories according to the address indicated by the address counter (7).
(32) Load data from (42) and
It is checked by referring to the error memory recording memory (8) whether there is any memory in which an error has occurred at this address in the past. Compare the three read data, and if all data are the same, there is no error,
The fact that there is no memory in which an error has occurred is recorded in the error position recording memory (8). Further, when two pieces of data that are the same and one piece of data that is different are read, these two pieces of data are treated as correct data, and the other piece of data is treated as error data. If an error has occurred in the past in the memory from which the error data was read, or if it is recorded in the error location recording memory (8), the user is notified that this memory is a faulty memory.

(ユーザはこの通知に従って該メモリを新しいメモリと
交換する。この間%CPUは他の2メモリとアクセスす
る。)過去に誤りが発生していない場合にはこのメモリ
に対し、正しいデータを書き込んで訂正を行うとともに
、誤り位置記録メモリにこのメモリに誤りが発生したこ
とを記録する。
(The user follows this notification and replaces the memory with a new memory. During this time, the CPU accesses the other two memories.) If no errors have occurred in the past, write correct data to this memory and correct it. At the same time, the fact that an error has occurred in this memory is recorded in the error position recording memory.

訂正に際しては、他の2つの正常メモリから該当アドレ
スのデータを読み出し、これを誤り発生メモリの該当ア
ドレスへ書き込む。
When making a correction, the data at the corresponding address is read from the other two normal memories and written to the corresponding address in the error memory.

この後、アドレスカウンタ(7)をカウントアツプし、
次のアドレスの比較・訂正動作を繰り返す。
After this, the address counter (7) is counted up,
Repeat the comparison/correction operation for the next address.

誤り位置記録メモリに記録された、誤りの発生したメモ
リに対しては、この後一定期間に渡って誤りデータが検
出されなかった場合、誤り位置記録メモリの該誤り内容
を消去する。
If no error data is detected for a certain period of time in a memory in which an error has occurred and is recorded in the error location recording memory, the error contents of the error location recording memory are erased.

障害の発生したメモリは代替のメモリに交換されるとそ
の後の記憶比較訂正回路(6〉の比較動作により代替メ
モリの全ての記憶内容は誤りとみなされ、上述の訂正動
作により全て訂正される。これによりアドレスカウンタ
(7)の値が一周した後代替のメモリへの記憶内容の復
元が完了する。
When the faulty memory is replaced with a substitute memory, all the stored contents of the substitute memory are deemed to be errors by the subsequent comparison operation of the memory comparison and correction circuit (6>), and are all corrected by the above-mentioned correction operation. As a result, after the value of the address counter (7) has gone around once, the restoration of the stored contents in the alternative memory is completed.

尚、本発明ではメモリを3個として説明したが、4個以
上であっても適用できる。この場合は5個、7個等の奇
数個が多数決による誤り検出を容易とするため望ましい
Although the present invention has been described using three memories, the present invention can also be applied to four or more memories. In this case, an odd number such as 5 or 7 is preferable because it facilitates error detection by majority vote.

[発明の効果] 本発明によれば、多重化記憶装置において特定のメモリ
に誤りデータや障害が検出された場合でも、CPUによ
るアクセスを停止することなく正常な多重化構成に復帰
させることができるため、計算機システムの処理能力を
大幅に向上できる。
[Effects of the Invention] According to the present invention, even if error data or a failure is detected in a specific memory in a multiplexed storage device, it is possible to restore the normal multiplexed configuration without stopping access by the CPU. Therefore, the processing power of the computer system can be greatly improved.

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

第1図は計算機システムの全体構成図、第2図は本発明
の一実施例による多重化記憶装置の構成図、第3図は誤
り位置記録メモリの内容を示す図である。 1・・・三重記憶装置、 2.3.4・・・メモリ、 21、31.41・・・第1ポート、 22、82.42・・・第2ポート、 5・・・読み出し多数決回路、 6・・・記憶比較・訂正回路、 7・・・アドレスカウンタ、 8・・・誤り位置記録メモリ。
FIG. 1 is an overall configuration diagram of a computer system, FIG. 2 is a configuration diagram of a multiplexed storage device according to an embodiment of the present invention, and FIG. 3 is a diagram showing the contents of an error position recording memory. DESCRIPTION OF SYMBOLS 1... Triple storage device, 2.3.4... Memory, 21, 31.41... 1st port, 22, 82.42... 2nd port, 5... Read majority circuit, 6... Memory comparison/correction circuit, 7... Address counter, 8... Error position recording memory.

Claims (3)

【特許請求の範囲】[Claims] (1)同一アドレスが夫々に付された少くとも3個のメ
モリと、これらのメモリに対しCPUよりアクセスする
ための第1のアクセスポートと、前記メモリに対し誤り
検出用にアクセスするための第2のアクセスポートと、
この第2のアクセスポートより前記メモリの同一アドレ
スのデータを夫々読み出し内容を多数決より比較して誤
りデータを検出する誤り検出手段と、この誤り検出手段
により誤りデータが検出された場合該メモリの当該アド
レスに対し他メモリの当該アドレスのデータを書き込む
誤り訂正手段とを具備したことを特徴とする多重化記憶
装置。
(1) At least three memories each having the same address, a first access port for accessing these memories from the CPU, and a first access port for accessing the memories for error detection. 2 access ports,
an error detection means for detecting erroneous data by reading data at the same address in the memory from the second access port and comparing the contents based on a majority decision; 1. A multiplexed storage device comprising: error correction means for writing data at an address in another memory into an address.
(2)前記誤り訂正手段により誤りデータの検出された
メモリ及びアドレスを記録する誤り位置記録手段と、こ
の誤り位置記録手段に記録されているメモリに対して前
記誤り検出手段により再び誤りデータが検出された場合
該メモリに障害が発生したことを通知する障害検出手段
とを更に備えたものである請求項1記載の多重化記憶装
置。
(2) error position recording means for recording the memory and address where the error data was detected by the error correction means; and error data detected again by the error detection means in the memory recorded in the error position recording means; 2. The multiplexed storage device according to claim 1, further comprising failure detection means for notifying that a failure has occurred in said memory when a failure occurs in said memory.
(3)前記障害検出手段は前記誤り位置記録手段に記録
されているメモリに対し一定期間に渡って前記誤り検出
手段により誤りデータが検出されなかった場合前記誤り
位置記録手段の該内容を消去するものである請求項2記
載の多重化記憶装置。
(3) The failure detection means erases the contents of the error position recording means if no error data is detected by the error detection means for a certain period of time in the memory recorded in the error position recording means. 3. The multiplexed storage device according to claim 2.
JP2227916A 1990-08-31 1990-08-31 Multiplexed storage device Pending JPH04111032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2227916A JPH04111032A (en) 1990-08-31 1990-08-31 Multiplexed storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2227916A JPH04111032A (en) 1990-08-31 1990-08-31 Multiplexed storage device

Publications (1)

Publication Number Publication Date
JPH04111032A true JPH04111032A (en) 1992-04-13

Family

ID=16868308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2227916A Pending JPH04111032A (en) 1990-08-31 1990-08-31 Multiplexed storage device

Country Status (1)

Country Link
JP (1) JPH04111032A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000098826A (en) * 1998-09-28 2000-04-07 Fuji Xerox Co Ltd Image forming device
JP2006523350A (en) * 2003-02-28 2006-10-12 マックスウェル テクノロジーズ, インク Self-correcting computer
WO2022185582A1 (en) * 2021-03-05 2022-09-09 オムロン株式会社 Data processing device, data processing method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000098826A (en) * 1998-09-28 2000-04-07 Fuji Xerox Co Ltd Image forming device
JP2006523350A (en) * 2003-02-28 2006-10-12 マックスウェル テクノロジーズ, インク Self-correcting computer
US7890799B2 (en) 2003-02-28 2011-02-15 Maxwell Technologies, Inc. Self-correcting computer
WO2022185582A1 (en) * 2021-03-05 2022-09-09 オムロン株式会社 Data processing device, data processing method, and program

Similar Documents

Publication Publication Date Title
JP2994070B2 (en) Method and apparatus for determining the state of a pair of mirrored data storage units in a data processing system
KR100878550B1 (en) Memory controller and method of controlling memory
JPS598852B2 (en) Error handling method
AU597140B2 (en) Efficient address test for large memories
JPS6235704B2 (en)
US20020010891A1 (en) Redundant memory access system
JPH04111032A (en) Multiplexed storage device
US6301682B1 (en) Error recognition in a storage system
RU2327236C2 (en) Random access memory with high extent of fault tolerance
GB2220091A (en) A memory error protection system
JP4292477B2 (en) Duplex processor unit
JPS6117479Y2 (en)
JPS6256538B2 (en)
JP2904117B2 (en) Device storage unit redundancy method and device
JPS6356751A (en) Memory patrol control system
JPH04252344A (en) Computer system
JPH01106247A (en) Memory card
JPH0922387A (en) Memory unit
JPH01216448A (en) Memory monitoring device
JPH05341921A (en) Disk array device
JPS63231551A (en) Trouble recovering processing system
JPS6160154A (en) Control system for access to memory
JPH01302451A (en) Microprogram control device
JPS60112171A (en) Duplex processing system
JPS63118953A (en) System for detecting parity abnormality