JPH05135482A - Parallel storage controller - Google Patents

Parallel storage controller

Info

Publication number
JPH05135482A
JPH05135482A JP3321183A JP32118391A JPH05135482A JP H05135482 A JPH05135482 A JP H05135482A JP 3321183 A JP3321183 A JP 3321183A JP 32118391 A JP32118391 A JP 32118391A JP H05135482 A JPH05135482 A JP H05135482A
Authority
JP
Japan
Prior art keywords
parity
data
bits
bit
magnetic disk
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
JP3321183A
Other languages
Japanese (ja)
Inventor
Hiroshi Wakisaka
博 和気坂
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP3321183A priority Critical patent/JPH05135482A/en
Publication of JPH05135482A publication Critical patent/JPH05135482A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To prevent increase of number of a memory and to constitute a compacter hardwear. CONSTITUTION:By a data converting circuit 123, 1 byte data 110 is bisected to upper 4 bits and lower 4 bits, and 4 bits data 111 is outputted to a data selected-circuit 124. At this time, by a parity generating circuit 122, a parity is generated at every the input of the 4 bits data 111, and by a 4 bits shift register 121, the parity is stored successively while being shifted till a parity bit is generated to 4 bits. By the data selecting circuit 124, the 4 bits data 111 by 4 column is written on a magnetic disk 104 from the magnetic disk 101, and in 5th column thereafter, a parity column 112 is selected and written on the magnetic disk 104 from the magnetic disk 101.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、並列記憶制御装置に関
し、特に、データ列を当該データ列を構成するビットご
とに別々の記憶装置に記憶せしめる並列記憶制御装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel storage control device, and more particularly to a parallel storage control device for storing a data string in separate storage devices for each bit forming the data string.

【0002】[0002]

【従来の技術】従来、この種の並列記憶制御装置とし
て、磁気ディスクを記憶装置として使用する図2に示す
構成のものが知られている。同図に示す構成において、
データ列を当該データ列を構成するビットごとに別々の
記憶装置に記憶せしめるときに、データ変換回路221
は4ビットのデータ列をパラレルのビット列に変換して
各ビットを磁気ディスク201〜204に記憶せしめ、
パリティ演算回路220は当該データ列についてのパリ
ティを演算し、演算したパリティビットをさらに他の磁
気ディスク205に記憶するようにしている。
2. Description of the Related Art Conventionally, as a parallel storage control device of this type, there has been known a structure shown in FIG. 2 in which a magnetic disk is used as a storage device. In the configuration shown in FIG.
When the data string is stored in different storage devices for each bit forming the data string, the data conversion circuit 221
Converts a 4-bit data string into a parallel bit string and stores each bit in the magnetic disks 201-204.
The parity calculation circuit 220 calculates the parity of the data string and stores the calculated parity bit in another magnetic disk 205.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の並列記
憶制御装置においては、パリティビットの記憶のために
更にもう一台の記憶装置が必要であり、記憶装置の台数
が多くなって実装が困難になることがあるという課題が
あった。
In the above-mentioned conventional parallel storage control device, another storage device is required for storing the parity bit, and the number of storage devices increases, which makes implementation difficult. There was a problem that it might become.

【0004】本発明は、上記課題にかんがみてなされた
もので、よりコンパクトなハードウェア構成でデータ列
を構成するビットごとに別々の記憶装置に記憶せしめる
ことが可能な並列記憶制御装置の提供を目的とする。
The present invention has been made in view of the above problems, and provides a parallel storage control device capable of storing bits constituting a data string in separate storage devices with a more compact hardware configuration. To aim.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、データ列を当該データ列
を構成するビットごとに別々の記憶装置に記憶せしめる
並列記憶制御装置において、一のデータ列についてのパ
リティを求めるパリティ演算手段と、このパリティ演算
手段にて演算されたパリティを当該データ列を構成する
ビット数だけ順次記憶する一時記憶手段と、この一時記
憶手段にデータ列を構成するビット数だけパリティを記
憶されたときに当該一時記憶手段に記憶されたパリティ
を上記ビットごとの記憶と同様に別々の記憶装置に記憶
せしめるパリティ記憶制御手段とを備えた構成としてあ
る。
In order to achieve the above object, the present invention according to claim 1 provides a parallel storage control device for storing a data string in a separate storage device for each bit forming the data string. Parity calculating means for obtaining the parity for the data string, temporary storing means for sequentially storing the parity calculated by the parity calculating means by the number of bits forming the data string, and the data string is formed in the temporary storing means. When the parity is stored by the number of bits to be stored, the parity storage control means for storing the parity stored in the temporary storage means in a separate storage device similar to the storage for each bit is provided.

【0006】[0006]

【作用】上記のように構成した請求項1にかかる発明に
おいては、パリティ演算手段が一のデータ列についての
パリティを求めると、一時記憶手段はこのパリティ演算
手段にて演算されたパリティを当該データ列を構成する
ビット数だけ順次記憶し、この一時記憶手段にデータ列
を構成するビット数だけパリティを記憶されたときにパ
リティ記憶制御手段が当該一時記憶手段に記憶されたパ
リティを上記ビットごとの記憶と同様に別々の記憶装置
に記憶せしめる。
In the invention according to claim 1 configured as described above, when the parity calculating means obtains the parity for one data string, the temporary storage means uses the parity calculated by this parity calculating means as the data. The parity storage control means sequentially stores the parity stored in the temporary storage means when the parity is stored in the temporary storage means by the number of bits forming the data row. It is stored in a separate storage device as well as storage.

【0007】[0007]

【実施例】以下、図面にもとづいて本発明の実施例を説
明する。図1は、本発明の一実施例にかかる並列記憶制
御装置のブロック図である。本実施例では、1バイト幅
のデータを4ビット幅に二分して4台の磁気ディスク1
01〜104に記憶するようにしている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a parallel storage controller according to an embodiment of the present invention. In this embodiment, data of 1 byte width is divided into 4 bit width and 4 magnetic disks 1 are used.
01 to 104 are stored.

【0008】同図において、22進カウンタ120はデ
ータ選択回路124が磁気ディスク101〜104に対
してデータを書き込むごとにカウントアップし、そのカ
ウント結果を同データ選択回路124に出力する。
In the figure, the binary counter 120 counts up each time the data selection circuit 124 writes data to the magnetic disks 101 to 104, and outputs the count result to the data selection circuit 124.

【0009】データ選択回路124にはデータ変換回路
123と4ビットシフトレジスタ121,125が接続
されており、同データ選択回路124は22進カウンタ
120のカウント結果に基づいていずれかの出力ビット
列を選択して磁気ディスク101〜104に書き込む。
A data conversion circuit 123 and 4-bit shift registers 121 and 125 are connected to the data selection circuit 124, and the data selection circuit 124 selects one of the output bit strings based on the count result of the binary counter 120. Then, the data is written on the magnetic disks 101 to 104.

【0010】データ変換回路123は1バイトデータ1
10を4ビットデータ111の二列に変換して順次デー
タ選択回路124とパリティ生成回路122に出力す
る。パリティ生成回路122は4ビットのデータ列につ
いてのパリティを演算し、4ビットシフトレジスタ12
1,125に出力する。ここで、4ビットシフトレジス
タ121は順次入力されるパリティビットをシフトしな
がら記憶し、4ビット入力されたときにデータ選択回路
124とパリティ生成回路122に出力する。
The data conversion circuit 123 uses 1-byte data 1
10 is converted into two columns of 4-bit data 111 and sequentially output to the data selection circuit 124 and the parity generation circuit 122. The parity generation circuit 122 calculates a parity for a 4-bit data string, and the 4-bit shift register 12
Output to 1,125. Here, the 4-bit shift register 121 shifts and stores sequentially input parity bits, and outputs them to the data selection circuit 124 and the parity generation circuit 122 when 4 bits are input.

【0011】一方、4ビットシフトレジスタ125は、
4ビットシフトレジスタ121の出力をパリティ生成回
路122が入力してパリティビットを演算した場合に当
該パリティビットを順次シフトしながら記憶し、4ビッ
ト入力されたときにデータ選択回路124に出力する。
On the other hand, the 4-bit shift register 125 is
When the parity generation circuit 122 inputs the output of the 4-bit shift register 121 and calculates the parity bit, the parity bit is sequentially shifted and stored, and when 4 bits are input, it is output to the data selection circuit 124.

【0012】次に、上記構成からなる本実施例の動作を
説明する。データ変換回路123は1バイトデータ11
0を上位4ビットと下位4ビットとに二分し、4ビット
データ111をデータ選択回路124に出力する。そし
て、22進カウンタ120はデータ選択回路124が4
ビット選択データ114を出力するごとにカウントをイ
ンクリメントする。ここで、パリティ生成回路122は
4ビットデータ111の入力ごとにパリティを生成す
る。4ビットシフトレジスタ121はそのパリティを2
2進カウンタ120の値が3になるまで(パリティビッ
トが4ビット生成されるまで)シフトしながら順次格納
する。
Next, the operation of this embodiment having the above structure will be described. The data conversion circuit 123 uses 1-byte data 11
The 0 is divided into upper 4 bits and lower 4 bits, and the 4-bit data 111 is output to the data selection circuit 124. The data selection circuit 124 of the binary counter 120 is 4
Every time the bit selection data 114 is output, the count is incremented. Here, the parity generation circuit 122 generates a parity for each input of the 4-bit data 111. The 4-bit shift register 121 sets the parity to 2
Sequential storage is performed while shifting until the value of the binary counter 120 becomes 3 (until 4 parity bits are generated).

【0013】この間、データ選択回路124は4ビット
データ111を選択し、4ビットデータ111をそのま
ま磁気ディスク101から磁気ディスク104に書く。
続いて、22進カウンタ120が4になるまでデータ選
択回路124はパリティ列112を選択し、磁気ディス
ク101から磁気ディスク104に書き込む。そして、
4ビットシフトレジスタ125はパリティ列112を生
成するごとにシフトしながらパリティ列112のパリテ
ィを格納する。この動作を22進カウンタ120の値が
19になるまで(パリティ列112のパリティが4ビッ
ト生成されるまで)繰り返す。
During this period, the data selection circuit 124 selects the 4-bit data 111 and writes the 4-bit data 111 as it is from the magnetic disk 101 to the magnetic disk 104.
Subsequently, the data selection circuit 124 selects the parity column 112 until the binary counter 120 reaches 4, and writes the parity column 112 to the magnetic disk 104. And
The 4-bit shift register 125 stores the parity of the parity column 112 while shifting each time the parity column 112 is generated. This operation is repeated until the value of the binary counter 120 reaches 19 (until 4 bits of parity in the parity column 112 are generated).

【0014】22進カウンタ120が21になるまでデ
ータ選択回路124はパリティ列113を選択する。2
2進カウンタ120が20のときと21のときでは、4
ビットシフトレジスタ125の内容は1ビットシフトさ
れている。従って、4ビットデータ111を4列書くご
とにパリティ列112を一列、そしてデータ20列ごと
にパリティ列113を二列書くことになる。
The data selection circuit 124 selects the parity column 113 until the binary counter 120 reaches 21. Two
4 when the binary counter 120 is 20 and 21
The contents of the bit shift register 125 are shifted by 1 bit. Therefore, every time four columns of 4-bit data 111 are written, one parity column 112 is written, and every twenty data columns, two parity columns 113 are written.

【0015】パリティをシフトレジスタでシフトして磁
気ディスクに書いているのは、どれか一台の磁気ディス
クが故障しても故障した磁気ディスクのデータを復旧す
るために必要なパリティが故障していない磁気ディスク
に存在するようにしたためである。
The reason why the parity is shifted by the shift register and written on the magnetic disk is that even if one of the magnetic disks fails, the parity required to restore the data on the failed magnetic disk has failed. This is because there is no magnetic disk.

【0016】例えば、磁気ディスク101が故障したと
すると、磁気ディスク101に書かれているパリティP
P1,PP2を使うことはできないが、磁気ディスク1
02からパリティPP2、磁気ディスク104からパリ
ティPP1を使うことができる。他の磁気ディスクが故
障したときについてもパリティの存在が保証されてい
る。このパリティPP1〜PP4を用いてパリティP1
〜P6を求め、データを修復することができる。
For example, if the magnetic disk 101 fails, the parity P written on the magnetic disk 101 is written.
P1 and PP2 cannot be used, but magnetic disk 1
The parity PP2 from 02 and the parity PP1 from the magnetic disk 104 can be used. The existence of parity is guaranteed even when another magnetic disk fails. Parity P1 using these parities PP1 to PP4
~ P6 can be obtained and the data can be restored.

【0017】なお、上述した実施例では、記憶装置とし
て磁気ディスクを使用しているが、光ディスクなどの他
の記憶装置を使用することもできる。
Although the magnetic disk is used as the storage device in the above-mentioned embodiment, other storage devices such as an optical disk may be used.

【0018】[0018]

【発明の効果】以上説明したように本発明は、パリティ
ビットをまとめてデータ列を記憶する記憶装置に記憶す
るようにしているため、記憶装置の台数の増加を防いで
よりコンパクトなハードウェア構成とすることが可能な
並列記憶制御装置を提供することができる。
As described above, according to the present invention, the parity bits are collectively stored in the storage device for storing the data string, so that an increase in the number of storage devices is prevented and a more compact hardware configuration is provided. It is possible to provide a parallel storage controller capable of

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

【図1】本発明の一実施例にかかる並列記憶制御装置の
ブロック図である。
FIG. 1 is a block diagram of a parallel storage control device according to an embodiment of the present invention.

【図2】並列記憶制御装置のブロック図である。FIG. 2 is a block diagram of a parallel storage controller.

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

101〜104…磁気ディスク 120…22進カウンタ 121,125…4ビットシフトレジスタ 122…パリティ生成回路 123…データ変換回路 124…データ選択回路 101 to 104 ... Magnetic disk 120 ... Binary counter 121, 125 ... 4-bit shift register 122 ... Parity generation circuit 123 ... Data conversion circuit 124 ... Data selection circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データ列を当該データ列を構成するビッ
トごとに別々の記憶装置に記憶せしめる並列記憶制御装
置において、 一のデータ列についてのパリティを求めるパリティ演算
手段と、 このパリティ演算手段にて演算されたパリティを当該デ
ータ列を構成するビット数だけ順次記憶する一時記憶手
段と、 この一時記憶手段にデータ列を構成するビット数だけパ
リティを記憶されたときに、当該一時記憶手段に記憶さ
れたパリティを上記ビットごとの記憶と同様に別々の記
憶装置に記憶せしめるパリティ記憶制御手段とを具備す
ることを特徴とする並列記憶制御装置。
1. A parallel storage control device for storing a data string in a separate storage device for each bit forming the data string, and a parity operation means for obtaining a parity for one data string, and the parity operation means. Temporary storage means for sequentially storing the calculated parity by the number of bits forming the data string, and the temporary storage means storing the parity when the number of bits forming the data string is stored in the temporary storage means. And a parity storage control means for storing the parity in a separate storage device in the same manner as the storage for each bit.
JP3321183A 1991-11-08 1991-11-08 Parallel storage controller Pending JPH05135482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3321183A JPH05135482A (en) 1991-11-08 1991-11-08 Parallel storage controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3321183A JPH05135482A (en) 1991-11-08 1991-11-08 Parallel storage controller

Publications (1)

Publication Number Publication Date
JPH05135482A true JPH05135482A (en) 1993-06-01

Family

ID=18129718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3321183A Pending JPH05135482A (en) 1991-11-08 1991-11-08 Parallel storage controller

Country Status (1)

Country Link
JP (1) JPH05135482A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006331524A (en) * 2005-05-25 2006-12-07 Ricoh Co Ltd Modulation device, modulating method, modulation program and recording medium
US7447972B2 (en) 2004-08-05 2008-11-04 Samsung Electronics Co., Ltd. Methods and apparatus for constructing low-density parity check (LDPC) matrix

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7447972B2 (en) 2004-08-05 2008-11-04 Samsung Electronics Co., Ltd. Methods and apparatus for constructing low-density parity check (LDPC) matrix
JP2006331524A (en) * 2005-05-25 2006-12-07 Ricoh Co Ltd Modulation device, modulating method, modulation program and recording medium
JP4675157B2 (en) * 2005-05-25 2011-04-20 株式会社リコー Modulation apparatus, modulation method, modulation program, and recording medium

Similar Documents

Publication Publication Date Title
JP3250735B2 (en) Multipurpose error correction system
US4675869A (en) Fast decoder and encoder for Reed-Solomon codes and recording/playback apparatus having such an encoder/decoder
JPS6122826B2 (en)
US5856987A (en) Encoder and decoder for an SEC-DED-S4ED rotational code
JPH10207726A (en) Semiconductor disk device
US5537423A (en) Modular multiple error correcting code system
US7028248B2 (en) Multi-cycle symbol level error correction and memory system
JPH0680491B2 (en) Finite field arithmetic circuit
JPS5864844A (en) Synchronism detecting system
JPH0338125A (en) Buffer device for data unit aroup
EP0288989B1 (en) Address generating circuit
KR100305618B1 (en) Multipurpose error correction calculation circuit
JPS6114540B2 (en)
JP2001127645A (en) Error correction method and error correction device
JPH05135482A (en) Parallel storage controller
CN1264032B (en) Data error correcting device
JP2002280909A (en) Error correction device
US5099483A (en) Device for correcting errors by a long-distance code
KR100200810B1 (en) Error correction encoding method and apparatus
JP3972503B2 (en) Information recording device
JPH10215187A (en) Error detection encoding and decoding device and method
JP2516965B2 (en) Memory test method
JP2797569B2 (en) Euclidean circuit
JPH05341920A (en) Parallel disk device
JPH0516740Y2 (en)