JPH08202505A - Array type storage device - Google Patents

Array type storage device

Info

Publication number
JPH08202505A
JPH08202505A JP7012400A JP1240095A JPH08202505A JP H08202505 A JPH08202505 A JP H08202505A JP 7012400 A JP7012400 A JP 7012400A JP 1240095 A JP1240095 A JP 1240095A JP H08202505 A JPH08202505 A JP H08202505A
Authority
JP
Japan
Prior art keywords
data
parity
register
stored
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
JP7012400A
Other languages
Japanese (ja)
Inventor
Takumi Kawahara
巧 川原
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP7012400A priority Critical patent/JPH08202505A/en
Publication of JPH08202505A publication Critical patent/JPH08202505A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide the array type storage device which can write data at a high speed and can be constituted at low cost. CONSTITUTION: The array type storage device 11 is provided internally with a parity generation part 16 having a function which performs exclusive OR operation between internally stored data and inputted data and rewrites the contents of registers according to the operation result and a function which rewrites the internally stored data. Then the array type storage device is so constituted that when data are written to each disk device in block units, the same data are supplied even to the parity generation part 16, the data in the parity generation part 16 are cleared before the data blocks are written to the disk device 151 , and the result of operation regarding the data blocks to the disk device 151 that the parity generation part 16 performs is supplied to a disk controller 14P.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、アレイ型記憶装置に係
わり、特に、データを冗長構成にして格納するアレイ型
記憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an array type storage device, and more particularly to an array type storage device for storing data in a redundant configuration.

【0002】[0002]

【従来の技術】アレイ型記憶装置では、アレイ型記憶装
置を構成する各ディスク装置の障害に対処するために、
カリフォルニア大学バークレイ校発表論文のRAID
(Redundant Arrays of Inexpensive Disks)を用いたア
ーキテクチャによりシステムが構築されているが、RA
ID3と呼ばれるアーキテクチャ(バイト単位でストラ
イピングを行い、特定の1台のディスク装置にパリティ
が格納される)を用いたアレイ型記憶装置では、データ
の書き込み時に常にパリティ記憶用のディスク装置が駆
動されることになるので、データの書き込み要求に対す
る応答速度が遅いという問題があった。
2. Description of the Related Art In an array type storage device, in order to cope with a failure of each disk device forming the array type storage device,
RAID for UC Berkeley Papers
Although the system is constructed by the architecture using (Redundant Arrays of Inexpensive Disks), RA
In an array-type storage device that uses an architecture called ID3 (striping is performed in byte units and parity is stored in one specific disk device), the disk device for parity storage is always driven when data is written. Therefore, there is a problem that the response speed to the data write request is slow.

【0003】このような問題に対処するための手段とし
ては、特開平3−225416号公報で開示されている
アレイ型記憶装置(図12)のように、バス制御部41
によってストライプされたデータを、それぞれのデータ
バッファ42に格納するとともに、パリティ生成部45
に、ストライプされたデータを基にパリティを生成さ
せ、そのパリティデータをデータバッファ42P に格納
しておき、同時にディスク装置44に書き込ませるとい
うものが知られている。
As a means for dealing with such a problem, a bus control unit 41 such as an array type storage device (FIG. 12) disclosed in Japanese Patent Laid-Open No. 3-225416 is used.
The data striped by is stored in each data buffer 42, and the parity generation unit 45
It is known that parity is generated based on the striped data, the parity data is stored in the data buffer 42 P , and simultaneously written in the disk device 44.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
アレイ型ディスク装置では、データ書き込み時の性能低
下を抑えるために、格納データ用データバッファをデー
タ記憶用ディスク装置の台数分必要としており、また、
パリティ用データバッファも必要とするため、高価なシ
ステムとなっていた。
However, in the above-mentioned array type disk device, the data buffers for stored data are required for the number of disk devices for data storage in order to suppress the performance deterioration at the time of writing data.
Since the parity data buffer is also required, the system is expensive.

【0005】そこで、本発明の目的は、高速なデータ書
き込みが行え、かつ、安価に構成することができるアレ
イ型記憶装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an array type storage device capable of high speed data writing and inexpensive construction.

【0006】[0006]

【課題を解決するための手段】請求項1記載の発明は、
(イ)データを記憶するためのN台のデータ記憶用ディ
スク装置と、(ロ)これらN台のディスク装置に記憶さ
れるデータのパリティを記憶するための1台のパリティ
記憶用ディスク装置と、(ハ)内部に記憶されているデ
ータと入力されたデータの排他的論理和演算を行い、そ
の演算結果で内部に記憶されているデータを書き換える
演算手段と、(ニ)書き込むべき所定サイズのデータが
入力されたときに、演算手段内に記憶されているデータ
をゼロクリアするクリア手段と、(ホ)所定サイズのデ
ータをN個のデータブロックに分割する分割手段と、
(ヘ)この分割手段によって分割されたN個のデータブ
ロックを順次、N台のデータ記憶用ディスク装置と演算
手段に供給するデータ供給手段と、(ト)このデータ供
給手段によるN個のデータブロックの供給が完了した際
に、演算手段の演算結果をパリティ記憶用ディスク装置
に書き込むパリティ書込手段とを具備する。
According to the first aspect of the present invention,
(A) N data storage disk devices for storing data, and (b) one parity storage disk device for storing the parity of data stored in these N disk devices, (C) A calculation means for performing an exclusive OR operation of the data stored inside and the input data and rewriting the data stored inside with the calculation result, and (d) data of a predetermined size to be written. When is input, clearing means for clearing the data stored in the computing means to zero, and (e) dividing means for dividing data of a predetermined size into N data blocks,
(F) Data supply means for sequentially supplying the N data blocks divided by the dividing means to the N data storage disk devices and the arithmetic means, and (g) N data blocks by the data supplying means. And a parity writing unit for writing the calculation result of the calculation unit to the parity storage disk device when the supply of the data is completed.

【0007】すなわち、請求項1記載の発明では、アレ
イ型記憶装置内に、内部に記憶されているデータと入力
されたデータの排他的論理和演算を行い、その演算結果
で内部に記憶されているデータを書き換える演算手段を
設けるとともに、データ記憶用ディスク装置に、ブロッ
ク単位のデータの書き込みを行う際に、演算手段に対し
ても同じデータが供給されるようにアレイ型記憶装置を
構成する。
That is, according to the first aspect of the invention, an exclusive OR operation of the data internally stored and the input data is performed in the array type storage device, and the result is stored internally. The arithmetic unit for rewriting the existing data is provided, and the array type storage device is configured so that the same data is supplied to the arithmetic unit when writing the data in units of blocks to the data storage disk device.

【0008】請求項2記載の発明は、(イ)データを記
憶するためのN台のデータ記憶用ディスク装置と、
(ロ)これらN台のディスク装置に記憶されるデータの
パリティを記憶するための1台のパリティ記憶用ディス
ク装置と、(ハ)第1および第2データブロック用レジ
スタと、第1および第2演算結果用レジスタとを備え、
第2データブロック用レジスタにデータの書込が行われ
ているときには、第1データブロック用レジスタに記憶
されているデータと第1演算結果用レジスタに記憶され
ているデータとの排他的論理和演算を行い、その演算結
果を第2演算結果レジスタに記憶し、第1データブロッ
ク用レジスタにデータの書込が行われているときには、
第2データブロック用レジスタに記憶されているデータ
と第2演算結果用レジスタに記憶されているデータとの
排他的論理和演算を行い、その演算結果を第1演算結果
レジスタに記憶する演算手段と、(ニ)書き込むべき所
定サイズのデータが入力されたときに、演算手段内の演
算用レジスタに記憶されているデータをゼロクリアする
クリア手段と、(ホ)所定サイズのデータをN個のデー
タブロックに分割する分割手段と、(ヘ)この分割手段
によって分割されたN個のデータブロックを順次、N台
のデータ記憶用ディスク装置に供給するとともに、演算
手段内の第1または第2データブロック用レジスタに書
き込むデータ供給手段と、(ト)演算手段のN番目のデ
ータブロックに関する演算結果をパリティ記憶用ディス
ク装置に書き込むパリティ書込手段とを具備する。
According to a second aspect of the present invention, (a) N data storage disk devices for storing data,
(B) One parity storage disk device for storing the parity of the data stored in these N disk devices, (c) the first and second data block registers, and the first and second Equipped with a calculation result register,
When data is being written to the second data block register, an exclusive OR operation of the data stored in the first data block register and the data stored in the first operation result register Is performed, the operation result is stored in the second operation result register, and when data is being written in the first data block register,
Arithmetic means for performing an exclusive OR operation of the data stored in the second data block register and the data stored in the second operation result register, and storing the operation result in the first operation result register; (D) Clear means for clearing the data stored in the arithmetic register in the arithmetic means to zero when data of a prescribed size to be written is input, and (e) N data blocks for the prescribed size of data. And (f) N data blocks divided by this dividing means are sequentially supplied to N data storage disk devices, and for the first or second data block in the computing means. The data supply means for writing in the register and the operation result of the (g) operation means for the Nth data block are written in the disk device for parity storage. ; And a utility writing means.

【0009】すなわち、請求項2記載の発明では、アレ
イ型記憶装置内に、第1および第2データブロック用レ
ジスタと、第1および第2演算結果用レジスタとを備
え、第2データブロック用レジスタにデータの書込が行
われているときには、第1データブロック用レジスタに
記憶されているデータと第1演算結果用レジスタに記憶
されているデータとの排他的論理和演算を行い、その演
算結果を第2演算結果レジスタに記憶し、第1データブ
ロック用レジスタにデータの書込が行われているときに
は、第2データブロック用レジスタに記憶されているデ
ータと第2演算結果用レジスタに記憶されているデータ
との排他的論理和演算を行い、その演算結果を第1演算
結果レジスタに記憶する演算手段を設けるとともに、デ
ータ記憶用ディスク装置に、ブロック単位のデータの書
き込みを行う際に、演算手段に対しても同じデータが供
給されるようにアレイ型記憶装置を構成する。
That is, according to the second aspect of the invention, the array type storage device is provided with the first and second data block registers and the first and second operation result registers, and the second data block register. When data is being written to, the exclusive OR operation of the data stored in the first data block register and the data stored in the first operation result register is performed. Is stored in the second operation result register, and when data is being written in the first data block register, the data stored in the second data block register and the second operation result register are stored. And a data storage disk for performing an exclusive OR operation with the stored data and storing the operation result in the first operation result register. The location, when writing data in block units, also the same data constitute the array type storage device so as to be supplied to the computing means.

【0010】[0010]

【実施例】以下、実施例につき本発明を詳細に説明す
る。
EXAMPLES The present invention will be described in detail below with reference to examples.

【0011】図1に、本発明の一実施例によるアレイ型
記憶装置の概略構成を示す。図示してあるように、実施
例のアレイ型記憶装置11は、プロセッサ12とデータ
転送制御部13と、4組のディスクコントローラ14お
よびディスク装置15と、パリティ生成部16と、イン
タフェース17から構成されており、インタフェース1
7を介してホストコンピュータなどの外部装置31と接
続される。
FIG. 1 shows a schematic structure of an array type memory device according to an embodiment of the present invention. As shown in the figure, the array type storage device 11 of the embodiment comprises a processor 12, a data transfer control unit 13, four sets of disk controllers 14 and disk devices 15, a parity generation unit 16, and an interface 17. Interface 1
An external device 31 such as a host computer is connected via 7.

【0012】実施例のアレイ型記憶装置では、図2に模
式的に示してあるように、4台あるディスク装置のう
ち、3台は、ブロック単位に分割されたデータ(“bloc
k 1”、“block 2”、…)を記憶するために用いら
れ、1台のディスク装置は、パリティ(“parity 1”、
“parity 2”、…)を記憶するために用いられる。
In the array type storage device of the embodiment, as schematically shown in FIG. 2, among the four disk devices, three are data (“bloc”) divided into blocks.
k 1 ”,“ block 2 ”, ...) Used to store parity (“ parity 1 ”,
It is used to store "parity 2", ...).

【0013】このようなデータ格納形態を実現している
のがプロセッサ12であり、プロセッサ12は、外部装
置31から入力されるコマンドの内容を解釈して、その
内容に応じた動作指示を各部に出力することにより、ア
レイ型記憶装置11が、外部装置31からは、1台のデ
ィスク装置と見なせるように制御している。なお、その
動作手順を規定するプログラムは、図示していないリー
ド・オンリ・メモリ(ROM)内に記憶されている。
The processor 12 realizes such a data storage mode. The processor 12 interprets the content of the command input from the external device 31 and gives an operation instruction to each section according to the content. By outputting, the array type storage device 11 is controlled so that it can be regarded as one disk device from the external device 31. The program defining the operation procedure is stored in a read only memory (ROM) (not shown).

【0014】データ転送制御部13は、プロセッサ12
からの指示に従って、外部装置31から供給されるデー
タの各ディスク装置への転送や、各ディスク装置から読
み出したデータの外部装置31に対する転送などを行う
回路であり、バス18によって、ディスクコントローラ
141 ないし143 とパリティ生成部16に接続されて
いる。
The data transfer control unit 13 includes a processor 12
Is a circuit that transfers data supplied from the external device 31 to each disk device and data read from each disk device to the external device 31 in accordance with an instruction from the disk controller 14 1 by the bus 18. Through 14 3 and the parity generator 16.

【0015】ディスクコントローラ14は、ディスク装
置15の制御を行う制御回路であり、たとえば、データ
の書込時には、データ転送制御部13からワード単位
(バス幅)でデータを受け取り、1セクタ分のデータが
内部に用意された段階で、そのデータをディスク装置1
5内に格納する。なお、ディスクコントローラ14とデ
ータ転送制御部13との間には、制御信号線(図示せ
ず)が設けられており、両者間のデータ転送は、いわゆ
る、REQ/ACKハンドシェークによって行われるよ
うになっている。
The disk controller 14 is a control circuit for controlling the disk device 15. For example, at the time of writing data, it receives data in word units (bus width) from the data transfer control unit 13 and data for one sector. The disk device 1
Store in 5. A control signal line (not shown) is provided between the disk controller 14 and the data transfer control unit 13, and data transfer between the two is performed by so-called REQ / ACK handshake. ing.

【0016】図3に、パリティ生成部の概略構成を示
す。パリティ生成部16は、パリティを作成する回路で
あり、図示してあるように、パリティ生成部16には、
ワード単位のデータを一時的に記憶するための3つのレ
ジスタ21ないし23と、2つのデータ(ワード単位)
の排他的論理和演算を行うXOR演算部25とが備えら
れている。パリティ生成部16には、これらの回路の他
に、各データ記憶・処理回路へ、動作指示信号の出力を
行う制御回路(図示せず)が設けられている。
FIG. 3 shows a schematic configuration of the parity generator. The parity generation unit 16 is a circuit that creates a parity, and as shown in the figure, the parity generation unit 16 includes:
Three registers 21 to 23 for temporarily storing data in word units and two data (word units)
And an XOR operation unit 25 that performs an exclusive OR operation of. In addition to these circuits, the parity generation unit 16 is provided with a control circuit (not shown) that outputs an operation instruction signal to each data storage / processing circuit.

【0017】パリティ生成部16内に設けられている制
御回路には、データ転送制御部13から、ディスクコン
トローラ141 ないし143 への制御信号が分岐入力さ
れており、制御回路は、データ転送制御部13が、ディ
スクコントローラ141 ないし143 に対してACK信
号を供給したことを検出した際、レジスタ21にバス1
8上のデータの取り込ませるとともに、レジスタ22に
レジスタ23に記憶されているデータを取り込ませる。
A control signal provided to the disk controllers 14 1 to 14 3 is branched and input from the data transfer control unit 13 to the control circuit provided in the parity generation unit 16, and the control circuit controls the data transfer control. When the unit 13 detects that the ACK signal has been supplied to the disk controllers 14 1 to 14 3 , it sends the bus 1 to the register 21.
8 and the data stored in the register 23 are loaded into the register 22.

【0018】そして、レジスタ21およびレジスタ22
の内容が確定した後に、レジスタ21およびレジスタ2
2内に記憶されている2つのデータの、排他的論理和演
算をXOR演算部25に出力させ、レジスタ23にその
演算結果を取り込ませる。なお、ACK信号を検出して
から行われる一連の処理(XOR演算部25が出力した
演算結果のレジスタ23への格納まで処理)は、次のA
CK信号が検出される時までに完了できるようになって
いる。
Then, the register 21 and the register 22
Register 21 and register 2 after the contents of
The exclusive OR operation of the two data stored in 2 is output to the XOR operation unit 25, and the operation result is stored in the register 23. It should be noted that the series of processing performed after the ACK signal is detected (processing up to the storage of the calculation result output by the XOR calculation unit 25 in the register 23) is performed by
It can be completed by the time the CK signal is detected.

【0019】以下、図2および図4ないし図10を用い
て、実施例のアレイ型記憶装置の総合的な動作を説明す
る。なお、図4は、データ書込要求を受け付けた際の、
プロセッサおよびデータ転送制御部の動作手順を示した
流れ図である。そして、図5ないし図10は、パリティ
生成部におけるデータ処理手順を模式的に示した図であ
る。
The overall operation of the array type memory device of the embodiment will be described below with reference to FIGS. 2 and 4 to 10. It should be noted that FIG. 4 shows that when a data write request is received,
6 is a flowchart showing an operation procedure of a processor and a data transfer control unit. 5 to 10 are diagrams schematically showing the data processing procedure in the parity generation unit.

【0020】図2を示してあるように、実施例のアレイ
型記憶装置は、3セクタ単位でアクセスされる記憶装置
として構成されており、データの書込時には、3セクタ
分のデータが外部装置から転送され、転送されたデータ
が、ワード単位のブロックデータ(“block 1 ”ないし
“block N ”)に分割されて、ディスク装置151 ない
し153 (“disk #1 ”ないし“disk #3 ”)に格納さ
れる。また、その際、“block 1 ”、“block 2 ”、
“block 3 ”から、“parity 1”が作成されるといった
ように、各ディスク装置に格納されることになる1セク
タ分のデータ内で、位置が対応する3つのブロックデー
タを基にパリティが算出され、算出されたパリティがデ
ィスク装置15P (“disk #P ”) に格納される。
As shown in FIG. 2, the array type memory device of the embodiment is configured as a memory device accessed in units of 3 sectors, and when writing data, data of 3 sectors is stored in an external device. From the disk device 15 1 to 15 3 (“disk # 1” to “disk # 3”) by dividing the transferred data from the word unit block data (“block 1” to “block N”) ). At that time, "block 1", "block 2",
Parity is calculated based on three block data corresponding to the position within one sector of data to be stored in each disk device, such as "parity 1" is created from "block 3". The calculated parity is stored in the disk device 15 P (“disk #P”).

【0021】実施例のアレイ型記憶装置では、このよう
な形態でのデータ格納が、以下のような手順によって実
現されている。
In the array type storage device of the embodiment, data storage in such a form is realized by the following procedure.

【0022】図4に示してあるように、外部装置からの
データ書込要求を受け付けたアレイ型記憶装置(プロセ
ッサ)は、その要求内容を解釈して、データ転送制御部
と、各ディスクコントローラに、要求内容に応じたデー
タ転送命令をセット(ステップS101)する。
As shown in FIG. 4, the array-type storage device (processor) that has received a data write request from an external device interprets the request content and sends it to the data transfer control unit and each disk controller. , A data transfer command corresponding to the request content is set (step S101).

【0023】たとえば、その書込要求が、3セクタ分の
データの書込を指示するものであった場合には、プロセ
ッサは、4つのディスクコントローラ、それぞれに対し
て、データ書込要求内で指定されているアドレス(アレ
イ型記憶装置の論理アドレス)に応じて決定されるアド
レス(ディスク装置の論理アドレス)に、1セクタ分の
データの書込を行うことを指示し、データ転送制御部に
対しては、ステップ102ないしステップ106の処理
を、3セクタ分のデータの転送が終了するまで繰り返す
ことを指示する。
For example, when the write request is for instructing to write data for 3 sectors, the processor designates the four disk controllers in the data write request. The data transfer control unit by instructing to write data for one sector to the address (logical address of the disk device) determined according to the address (logical address of the array type storage device). In this case, it is instructed to repeat the processing of steps 102 to 106 until the transfer of data for 3 sectors is completed.

【0024】その後、データ転送制御部は、まず、パリ
ティ生成部に対して、レジスタ23の“0”クリアを指
示(ステップS102)し、次いで、3台のディスクコ
ントローラ#1ないし#3に、順にブロックデータを転
送していく(ステップS103ないしS105)。これ
らステップS103ないしS105の各ステップにおけ
るデータ転送時には、データ転送制御部から、それぞ
れ、ディスクコントローラ#1ないし#3に対してAC
K信号が出力されるので、前述したような構成を有する
パリティ生成部にも、そのブロックデータが取り込まれ
ることになる。
After that, the data transfer control unit first instructs the parity generation unit to clear the register 0 to "0" (step S102), and then sequentially to the three disk controllers # 1 to # 3. The block data is transferred (steps S103 to S105). At the time of data transfer in each of these steps S103 to S105, the data transfer control unit performs an AC operation to the disk controllers # 1 to # 3, respectively.
Since the K signal is output, the block data is also fetched by the parity generation unit having the above-mentioned configuration.

【0025】たとえば、データ転送制御部が、ディスク
コントローラ#1に対して、“block 1 ”を転送した際
には、図5に模式的に示したように、パリティ生成部内
のXOR演算部に接続された一方のレジスタ21には、
データ“block 1 ”が書き込まれ、他方のレジスタ22
には、ステップ103で“0”クリアされたレジスタ2
3の内容が書き込まれることになる。また、その後、パ
リティ生成部は、図6に模式的に示したように、レジス
タ21とレジスタ22の内容の排他的論理和演算を行う
ので、結局、レジスタ23には、“block 1 ”が記憶さ
れることになる。
For example, when the data transfer control unit transfers "block 1" to the disk controller # 1, it is connected to the XOR operation unit in the parity generation unit as schematically shown in FIG. One of the registered registers 21
Data "block 1" is written to the other register 22
The register 2 cleared to "0" in step 103.
The contents of 3 will be written. Further, thereafter, the parity generation unit performs an exclusive OR operation of the contents of the registers 21 and 22 as schematically shown in FIG. 6, so that “block 1” is stored in the register 23 after all. Will be done.

【0026】このため、“block 2 ”がディスクコント
ローラ#2に転送される際には、図7に示したように、
レジスタ21に“block 2 ”が、レジスタ22に“bloc
k 1”が記憶されることになり、図8に示したように、
レジスタ23に、“block 1”と“block 2 ”の排他的
論理和が記憶されることになる。さらに、“block 3”
がディスクコントローラ#3に転送される際には、図9
に示したように、レジスタ21に“block 3”が、レジ
スタ22に“block 1 ”と“block 2 ”の排他的論理和
が記憶され、所定時間後には、図10に示すように、X
OR演算部からのバス上に、3つのブロックデータの排
他的論理和が出力されることになる。
Therefore, when "block 2" is transferred to the disk controller # 2, as shown in FIG.
Register 21 is "block 2" and register 22 is "bloc".
k 1 ”will be stored, and as shown in FIG.
The exclusive OR of “block 1” and “block 2” is stored in the register 23. In addition, “block 3”
Is transferred to the disk controller # 3, as shown in FIG.
10, the register 21 stores “block 3” and the register 22 stores the exclusive OR of “block 1” and “block 2”. After a predetermined time, as shown in FIG.
The exclusive OR of the three block data is output on the bus from the OR operation unit.

【0027】この状態下で、データ転送制御回路からデ
ィスクコントローラ#Pに対して、ACK信号が供給
(ステップS106)されるため、ディスクコントロー
ラ#Pは、1ワード分のパリティの入力を受ける。すな
わち、ディスクコントローラ#Pは、ディスクコントロ
ーラ#3が、ブロックデータを取得するのとほぼ同時
に、1ブロック分のパリティデータを取得し、1セクタ
分のパリティデータがそろったときに、ディスク装置へ
の書込を実行する。
In this state, the ACK signal is supplied from the data transfer control circuit to the disk controller #P (step S106), so that the disk controller #P receives the input of one word of parity. That is, the disk controller #P acquires the parity data for one block almost at the same time when the disk controller # 3 acquires the block data, and when the parity data for one sector is prepared, the disk controller #P sends the data to the disk device. Execute writing.

【0028】このように、実施例のアレイ型記憶装置
は、従来の技術と比して、安価に製造できる構成であり
ながら、データ書込と同時にパリティ書込を実行できる
ものとなっている。
As described above, the array type memory device of the embodiment has a structure that can be manufactured at a lower cost as compared with the conventional technique, but can execute the parity writing at the same time as the data writing.

【0029】なお、実施例のアレイ型記憶装置では、パ
リティ生成部を、ディスクコントローラが1ブロック分
のデータの転送を受ける間に、排他的論理和演算が完了
するよう構成したが、図11に示すようにパリティ生成
部を構成してもよい。
In the array type storage device of the embodiment, the parity generating unit is configured such that the exclusive OR operation is completed while the disk controller receives the transfer of one block of data. You may comprise a parity production | generation part as shown.

【0030】すなわち、バス18上のデータが、ACK
信号に同期して、2つのレジスタ211 、212 に交互
に記憶されるようにするとともに、演算結果も、2つの
レジスタ221 、222 に交互に記憶されるようにして
おき、書込が完了している方のレジスタ21、たとえ
ば、レジスタ211 とレジスタ221 内のデータ間の排
他的論理和演算処理が、XOR演算部25によって行わ
れ、その演算結果が、レジスタ222 に格納されるよう
にしておく。このような構成とした場合には、パリティ
生成部を、高速に動作しない素子を用いて構成できるこ
とになる。
That is, the data on the bus 18 is ACK
In synchronization with the signal, the two registers 21 1 and 21 2 are alternately stored, and the operation result is also alternately stored in the two registers 22 1 and 22 2 , and is written. XOR operation unit 25 performs the exclusive OR operation between the data in register 21 which is completed, for example, in register 21 1 and register 22 1 , and the operation result is stored in register 22 2 . Be prepared to do so. With such a configuration, the parity generation unit can be configured using an element that does not operate at high speed.

【0031】[0031]

【発明の効果】以上説明したように、本発明では、各デ
ィスク装置に供給されるブロック単位のデータを順に演
算に用いてパリティを算出するように構成されているた
め、データ書込時の性能劣化が生じないアレイ型記憶装
置が、従来の装置に比して、低コストで構成できること
になる。
As described above, in the present invention, the parity is calculated by sequentially using the data in block units supplied to each disk device for the calculation, and therefore, the performance at the time of writing data is improved. An array type storage device that does not deteriorate can be constructed at a lower cost than conventional devices.

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

【図1】 本発明の一実施例によるアレイ型記憶装置の
概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an array type storage device according to an embodiment of the present invention.

【図2】 実施例のアレイ型記憶装置における、データ
格納形態を示す模式図である。
FIG. 2 is a schematic diagram showing a data storage form in the array-type storage device of the embodiment.

【図3】 実施例のアレイ型記憶装置に設けられている
パリティ生成部の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of a parity generation unit provided in the array-type storage device of the embodiment.

【図4】 実施例のアレイ型記憶装置の動作手順を示し
た流れ図である。
FIG. 4 is a flowchart showing an operation procedure of the array type storage device of the embodiment.

【図5】 実施例のアレイ型記憶装置内のパリティ生成
部の動作を説明するための第1の模式図である。
FIG. 5 is a first schematic diagram for explaining the operation of the parity generation unit in the array storage device of the embodiment.

【図6】 実施例のアレイ型記憶装置内のパリティ生成
部の動作を説明するための第2の模式図である。
FIG. 6 is a second schematic diagram for explaining the operation of the parity generation unit in the array storage device of the embodiment.

【図7】 実施例のアレイ型記憶装置内のパリティ生成
部の動作を説明するための第3の模式図である。
FIG. 7 is a third schematic diagram for explaining the operation of the parity generation unit in the array-type storage device of the embodiment.

【図8】 実施例のアレイ型記憶装置内のパリティ生成
部の動作を説明するための第4の模式図である。
FIG. 8 is a fourth schematic diagram for explaining the operation of the parity generation unit in the array-type storage device of the embodiment.

【図9】 実施例のアレイ型記憶装置内のパリティ生成
部の動作を説明するための第5の模式図である。
FIG. 9 is a fifth schematic diagram for explaining the operation of the parity generation unit in the array storage device of the embodiment.

【図10】 実施例のアレイ型記憶装置内のパリティ生
成部の動作を説明するための第6の模式図である。
FIG. 10 is a sixth schematic diagram for explaining the operation of the parity generation unit in the array storage device of the embodiment.

【図11】 実施例のアレイ型記憶装置に用いることが
できる他のパリティ生成部の概略構成を示したブロック
図である。
FIG. 11 is a block diagram showing a schematic configuration of another parity generation unit that can be used in the array-type storage device of the embodiment.

【図12】 従来のアレイ型記憶装置の概略構成図であ
る。11…アレイ型記憶装置、12…プロセッサ、13
…データ転送制御回路、14…ディスクコントローラ、
15…ディスク装置、16…パリティ生成部、21、2
2、23…レジスタ、25…XOR演算部
FIG. 12 is a schematic configuration diagram of a conventional array type storage device. 11 ... Array type storage device, 12 ... Processor, 13
... data transfer control circuit, 14 ... disk controller,
15 ... Disk device, 16 ... Parity generation unit, 21, 2
2, 23 ... Register, 25 ... XOR operation unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データを記憶するためのN台のデータ記
憶用ディスク装置と、 これらN台のディスク装置に記憶されるデータのパリテ
ィを記憶するための1台のパリティ記憶用ディスク装置
と、 内部に記憶されているデータと入力されたデータの排他
的論理和演算を行い、その演算結果で内部に記憶されて
いるデータを書き換える演算手段と、 書き込むべき所定サイズのデータが入力されたときに、
前記演算手段内に記憶されているデータをゼロクリアす
るクリア手段と、 前記所定サイズのデータをN個のデータブロックに分割
する分割手段と、 この分割手段によって分割されたN個のデータブロック
を順次、前記N台のデータ記憶用ディスク装置と前記演
算手段に供給するデータ供給手段と、 このデータ供給手段によるN個のデータブロックの供給
が完了した際に、前記演算手段の演算結果を前記パリテ
ィ記憶用ディスク装置に書き込むパリティ書込手段とを
具備することを特徴とするアレイ型記憶装置。
1. N data storage disk devices for storing data, one parity storage disk device for storing the parity of data stored in these N disk devices, and An exclusive OR operation of the data stored in and the input data and the operation means for rewriting the internally stored data with the operation result, and when the data of a predetermined size to be written are input,
Clearing means for clearing the data stored in the computing means to zero, dividing means for dividing the data of the predetermined size into N data blocks, and N data blocks divided by the dividing means, The N data storage disk devices and the data supplying means for supplying the arithmetic means, and when the supply of N data blocks by the data supplying means is completed, the arithmetic result of the arithmetic means is used for the parity memory. An array type storage device comprising: parity writing means for writing to a disk device.
【請求項2】 データを記憶するためのN台のデータ記
憶用ディスク装置と、 これらN台のディスク装置に記憶されるデータのパリテ
ィを記憶するための1台のパリティ記憶用ディスク装置
と、 第1および第2データブロック用レジスタと、第1およ
び第2演算結果用レジスタとを備え、第2データブロッ
ク用レジスタにデータの書込が行われているときには、
第1データブロック用レジスタに記憶されているデータ
と第1演算結果用レジスタに記憶されているデータとの
排他的論理和演算を行い、その演算結果を第2演算結果
レジスタに記憶し、第1データブロック用レジスタにデ
ータの書込が行われているときには、第2データブロッ
ク用レジスタに記憶されているデータと第2演算結果用
レジスタに記憶されているデータとの排他的論理和演算
を行い、その演算結果を第1演算結果レジスタに記憶す
る演算手段と、 書き込むべき所定サイズのデータが入力されたときに、
前記演算手段内の演算用レジスタに記憶されているデー
タをゼロクリアするクリア手段と、 前記所定サイズのデータをN個のデータブロックに分割
する分割手段と、 この分割手段によって分割されたN個のデータブロック
を順次、前記N台のデータ記憶用ディスク装置に供給す
るとともに、前記演算手段内の第1または第2データブ
ロック用レジスタに書き込むデータ供給手段と、 前記演算手段のN番目のデータブロックに関する演算結
果を前記パリティ記憶用ディスク装置に書き込むパリテ
ィ書込手段とを具備することを特徴とするアレイ型記憶
装置。
2. N data storage disk devices for storing data, one parity storage disk device for storing the parity of data stored in these N disk devices, When the first and second data block registers and the first and second operation result registers are provided and data is being written to the second data block register,
An exclusive OR operation is performed on the data stored in the first data block register and the data stored in the first operation result register, and the operation result is stored in the second operation result register, When data is being written to the data block register, an exclusive OR operation is performed on the data stored in the second data block register and the data stored in the second operation result register. An operation means for storing the operation result in the first operation result register, and when data of a predetermined size to be written is input,
Clear means for clearing the data stored in the arithmetic register in the arithmetic means to zero, dividing means for dividing the data of the predetermined size into N data blocks, and N data divided by the dividing means. Data supply means for sequentially supplying blocks to the N data storage disk devices and writing to the first or second data block register in the operation means, and operation for the Nth data block of the operation means An array type storage device, comprising: a parity writing means for writing a result to the parity storage disk device.
JP7012400A 1995-01-30 1995-01-30 Array type storage device Pending JPH08202505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7012400A JPH08202505A (en) 1995-01-30 1995-01-30 Array type storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7012400A JPH08202505A (en) 1995-01-30 1995-01-30 Array type storage device

Publications (1)

Publication Number Publication Date
JPH08202505A true JPH08202505A (en) 1996-08-09

Family

ID=11804220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7012400A Pending JPH08202505A (en) 1995-01-30 1995-01-30 Array type storage device

Country Status (1)

Country Link
JP (1) JPH08202505A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254646A (en) * 1997-03-14 1998-09-25 Hitachi Ltd Method for backing up portable recording medium
JP2010128940A (en) * 2008-11-28 2010-06-10 Fuji Xerox Co Ltd Storage device and storage system
JPWO2015177917A1 (en) * 2014-05-23 2017-04-20 富士通株式会社 Arithmetic circuit, encoding circuit and decoding circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254646A (en) * 1997-03-14 1998-09-25 Hitachi Ltd Method for backing up portable recording medium
JP2010128940A (en) * 2008-11-28 2010-06-10 Fuji Xerox Co Ltd Storage device and storage system
JPWO2015177917A1 (en) * 2014-05-23 2017-04-20 富士通株式会社 Arithmetic circuit, encoding circuit and decoding circuit

Similar Documents

Publication Publication Date Title
US6370611B1 (en) Raid XOR operations to synchronous DRAM using a read buffer and pipelining of synchronous DRAM burst read data
US5373512A (en) Memory controller with parity generator for an I/O control unit
JP3742494B2 (en) Mass storage device
JP3011035B2 (en) Computer system
JP3247075B2 (en) Parity block generator
JP3661205B2 (en) Disk array system and method for generating parity data of disk array system
US6370616B1 (en) Memory interface controller for datum raid operations with a datum multiplier
JP3072700B2 (en) Storage device and method
USRE36448E (en) Memory controller with parity generator for an I/O control unit
JPH08202505A (en) Array type storage device
JP2981711B2 (en) Disk storage device
JPH11212728A (en) External storage sub-system
JP2005182538A (en) Data transfer device
JPH08234928A (en) Information storage controller
JP2733189B2 (en) Disk array device input / output control method
KR100423812B1 (en) RAID Controller and Parity Operator Method having Disk Cash Memory Controller and Parity Operator Device
JP4209108B2 (en) Storage device control method, storage device used in this method, disk array device, and disk controller
JP2857289B2 (en) Disk array device
JP3615250B2 (en) Disk array device
JPH11327796A (en) Disk array controller and cache control method to be applied to the same
JP2000112668A (en) Disk array controller and cache control method to be applied to the same
JP3224741B2 (en) Data storage device
JPH01223529A (en) Semiconductor disk device
JP2001282697A (en) Control method for disk controller
JPH09282238A (en) Disk device and disk array subsystem