JPH07114372B2 - Error correction code decoding method - Google Patents
Error correction code decoding methodInfo
- Publication number
- JPH07114372B2 JPH07114372B2 JP61003149A JP314986A JPH07114372B2 JP H07114372 B2 JPH07114372 B2 JP H07114372B2 JP 61003149 A JP61003149 A JP 61003149A JP 314986 A JP314986 A JP 314986A JP H07114372 B2 JPH07114372 B2 JP H07114372B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- block
- error
- series
- error correction
- 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.)
- Expired - Lifetime
Links
Landscapes
- Error Detection And Correction (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、積符号,クロスインターリーブ符号等のエ
ラー訂正符号の復号方法に関する。Description: TECHNICAL FIELD The present invention relates to a method for decoding an error correction code such as a product code and a cross interleave code.
この発明は、ディジタルデータの複数シンボルの2次元
配列の互いに異なる方向に整列する第1の系列及び第2
の系列の夫々に第1のエラー訂正符号及び第2のエラー
訂正符号の符号化がされるエラー訂正符号の復合方法に
おいて、所定の第1の系列及び所定の第2の系列の間で
よりエラーが少ない方の系列を最初に訂正処理を行う系
列に設定し、次に、第1の系列及び第2の系列が交互に
処理されるように、設定された系列から隣接する系列に
2次元配列の系列の訂正処理を順次行うことにより、所
定の演算時間内でのエラー訂正能力の向上、得に、バー
ストエラーを効果的に訂正できるようにしたものであ
る。The present invention relates to a first series and a second series which are arranged in different directions of a two-dimensional array of a plurality of symbols of digital data.
In the decoding method of the error correction code in which the first error correction code and the second error correction code are coded in each of the sequences, the error between the predetermined first sequence and the predetermined second sequence is increased. The two-dimensional array is set from the set series to the adjacent series such that the series with the smaller number is set as the series to be corrected first, and then the first series and the second series are alternately processed. By sequentially performing the correction processing of the series of, the error correction capability is improved within a predetermined calculation time, and in addition, the burst error can be effectively corrected.
光磁気ディスクにディジタルデータを記憶する場合に、
データの書き込み又は読み出し時に生じるエラーを訂正
するために、積符号が用いられる。積符号は、ディジタ
ルデータの2次元配列(マトリクスブロック)の各列及
び各行に関して、エラー訂正符号の符号化を行うもの
で、エラー訂正符号としては、線形符号が用いられる。When storing digital data on a magneto-optical disk,
Product codes are used to correct errors that occur when writing or reading data. The product code encodes an error correction code for each column and each row of a two-dimensional array (matrix block) of digital data, and a linear code is used as the error correction code.
従来の積符号の復号方法では、例えば特開昭60−116230
号公報に示されるように、列方向のエラー訂正符号C1の
復号を符号C1の全ての系列について行うC1復合と行方向
のエラー訂正符号C2の復号を符号C2の全ての系列につい
て行うC2復号とが交互になされている。A conventional product code decoding method is disclosed in, for example, Japanese Patent Laid-Open No.
As shown in the publication, C1 decoding that performs the error correction code C1 in the column direction for all sequences of the code C1 and C2 decoding that performs the error correction code C2 in the row direction for all sequences of the code C2 and Are alternated.
積符号のマトリクスブロックの斜め方向(対角線の方
向)にデータを伝送する時に発生するバーストエラーを
訂正する場合、従来の復号方法は、符号C1の復号と符号
C2の復号の夫々の繰り返し回数を多くしないと、エラー
シンボルを訂正することができない問題点があった。従
って、積符号の1個のマトリクスブロックの復号に割り
当てられている演算時間が充分に長くない時には、訂正
されないエラーシンボルが残る問題があった。When correcting a burst error that occurs when data is transmitted in the diagonal direction (diagonal direction) of the matrix block of the product code, the conventional decoding method is decoding of code C1 and code C1.
There was a problem that the error symbol could not be corrected unless the number of times each C2 decoding was repeated was increased. Therefore, when the operation time allocated for decoding one matrix block of the product code is not sufficiently long, there is a problem that uncorrected error symbols remain.
上述の問題は、積符号に限らずクロスインターリーブ符
号に関しても同様に発生する。クロスインターリーブ符
号は、ディジタルデータの2次元配列の異なる2つの斜
め方向に並ぶ系列毎に第1のエラー訂正符号及び第2の
エラー訂正符号の符号化を行い、列方向がデータ伝送方
向とされたものである。従来のように、第1のエラー訂
正符号の復号を全ての符号系列について行い、次に第2
のエラー訂正符号の復号を全ての符号系列について行う
復号方法は、バーストエラーを効果的に訂正することが
できない。The above-mentioned problem occurs not only in the product code but also in the cross interleave code. The cross-interleaved code encodes the first error correction code and the second error correction code for each series of two diagonally arranged different two-dimensional arrays of digital data, and the column direction is the data transmission direction. It is a thing. As in the conventional method, the first error correction code is decoded for all code sequences, and then the second error correction code is decoded.
The decoding method in which the error correction code is decoded for all code sequences cannot effectively correct the burst error.
従って、この発明の目的は、バーストエラーを効果的に
補正することができるエラー訂正符号の復号方法を提供
することにある。Therefore, an object of the present invention is to provide a decoding method of an error correction code capable of effectively correcting a burst error.
この発明は、ディジタルデータの複数シンボルの2次元
配列の第1の方向に整列する1ブロックが複数個のシン
ボルからなる第1の系列C11,C12,・・・C1Nの夫々のブ
ロック毎に第1のエラー訂正符号C1の符号化がされ、2
次元配列の第2の方向に整列する1ブロックが複数個の
シンボルからなる第2の系列C21,C22,・・・C2Mの夫々
のブロック毎に第のエラー訂正符号C2の符号化がされる
エラー訂正符号の復号方法において、所定の第1の系列
C1n及び所定の第2の系列C2mの間でよりエラーが少ない
方の系列を最初に訂正処理を行う系列に設定するステッ
プと、第1の系列及び第2の系列が1ブロックを単位
として交互に処理されるように、設定された系列から隣
接する系列に2次元配列の系列の訂正処理を順次行うス
テップとからなることを特徴とするエラー訂正
符号の復号方法である。According to the present invention, each block of a first series C1 1 , C1 2 , ... C1 N in which one block aligned in the first direction of a two-dimensional array of a plurality of symbols of digital data is composed of a plurality of symbols The first error correction code C1 is encoded into
The first error correction code C2 is coded for each block of the second sequence C2 1 , C2 2 , ... C2 M in which one block aligned in the second direction of the dimensional array is composed of a plurality of symbols. In the decoding method of the error correction code, the predetermined first sequence
A step of setting a series having a smaller error between C1 n and a predetermined second series C2 m as a series for performing the correction process first, and the first series and the second series in units of one block A method for decoding an error correction code, comprising the steps of sequentially performing correction processing of a series of a two-dimensional array from a set series to an adjacent series so that the series are alternately processed.
ディジタルデータの複数シンボルの2次元配列(マトリ
スクブロック)の列方向にエラー訂正符号C1の符号化が
され、その行方向にエラー訂正符号C2の符号化がされて
いる積符号の場合、列方向の系列である列ブロックC11,
C12,・・・C1Nと行方向の系列である行ブロックC21,C
22,・・・C2Mとが1ブロック毎に交互に訂正処理され
る。マトリクスブロックの斜め方向にデータを伝送する
場合、バーストエラーによって、1個の列ブロック又は
1個の行ブロックにエラー訂正可能な個数例えば1個の
エラーシンボルより多い2個以上のエラーシンボルが含
まれるエラーパターンが発生する。このようなエラーパ
ターンの場合に、エラーシンボルの個数が少なく、エラ
ー訂正することができる列ブロック又は行ブロックから
隣接するブロック毎に列ブロック及び行ブロックを交互
に処理することにより、エラーシンボルが次々と訂正さ
れる。従って、所定の時間内で復号処理を行う場合に、
エラー訂正能力を実質的に上げることができる。In the case of a product code in which the error correction code C1 is encoded in the column direction of a two-dimensional array (matris block) of a plurality of symbols of digital data, and the error correction code C2 is encoded in the row direction, in the column direction Column block C1 1 , which is a sequence of
C1 2 , ... C1 N and row block C2 1 , C
2 2 , ..., C 2 M are corrected alternately for each block. When data is transmitted in a diagonal direction of a matrix block, one column block or one row block includes an error correctable number, for example, two or more error symbols, which is more than one error symbol, due to a burst error. An error pattern occurs. In the case of such an error pattern, the number of error symbols is small, and the error processing is performed by alternately processing the column block and the row block for each adjacent block from the column block or the row block that can perform error correction. Is corrected. Therefore, when performing the decoding process within a predetermined time,
The error correction capability can be substantially increased.
以下、この発明を積符号に適用した一実施例について図
面を参照して説明する。第1図は、この発明による復号
方法を実施するための復号装置を示す。An embodiment in which the present invention is applied to a product code will be described below with reference to the drawings. FIG. 1 shows a decoding device for carrying out the decoding method according to the present invention.
第1図において、1で示すメモリ(RAM)に積符号のマ
トリクスブロックを構成するディジタルデータ及びチェ
ックシンボルが記憶されている。メモリ1に記憶されて
いるデータは、光磁気ディスク(図示せず)から再生さ
れた1セクターのデータである。メモリ1の書き込みア
ドレス及び読み出しアドレスは、メモリアドレス制御回
路2により生成される。メモリ1から読み出された1個
の列ブロック或いは行ブロックのデータは、入出力制御
回路3に供給される。In FIG. 1, digital data and check symbols forming a matrix block of product codes are stored in a memory (RAM) designated by 1. The data stored in the memory 1 is one sector of data reproduced from a magneto-optical disk (not shown). The write address and the read address of the memory 1 are generated by the memory address control circuit 2. The data of one column block or row block read from the memory 1 is supplied to the input / output control circuit 3.
入出力制御回路3には、列方向のエラー訂正符号C1の復
号器(C1復号器)4と行方向のエラー訂正符号C2の復号
器(C2復号器)5とが接続されている。入出力制御回路
3は、アドレス制御回路2から発生する制御信号によっ
て制御される。アドレス制御回路2がメモリ1に対して
列ブロックのデータを読み出すためのアドレスデータを
発生する時には、メモリ1とC1復号器4との間が接続さ
れ、読み出された列ブロックのデータがC1復号器4に供
給され、訂正処理がこの列ブロックに関してなされ、訂
正がされた列ブロックのデータがメモリ1に書き込まれ
る。一方、アドレス制御回路2がメモリ1に対して行ブ
ロックのデータを読み出すためのアドレスデータを発生
する時には、メモリ1とC2復号器5との間が接続され、
読み出された行ブロックのデータがC2復号器5に供給さ
れ、訂正処理がこの行ブロックに関してなされ、訂正が
された行ブロックのデータがメモリ1に書き込まれる。The input / output control circuit 3 is connected to a decoder (C1 decoder) 4 for the error correction code C1 in the column direction and a decoder 5 (C2 decoder) 5 for the error correction code C2 in the row direction. The input / output control circuit 3 is controlled by a control signal generated from the address control circuit 2. When the address control circuit 2 generates address data for reading the column block data to the memory 1, the memory 1 and the C1 decoder 4 are connected, and the read column block data is C1 decoded. Then, the correction process is performed on the column block and the corrected column block data is written to the memory 1. On the other hand, when the address control circuit 2 generates address data for reading the row block data from the memory 1, the memory 1 and the C2 decoder 5 are connected,
The read row block data is supplied to the C2 decoder 5, correction processing is performed on this row block, and the corrected row block data is written to the memory 1.
アドレス制御回路2は、復号開始の列ブロック又は行ブ
ロックから列ブロックのデータと行ブロックのデータと
を交互にメモリ1から読み出すようなアドレスデータを
発生する。復号開始のスタートブロックを設定するため
に、スタートブロック設定回路6が設けられている。こ
の一実施例では、所定の列ブロックC1n又は所定の行ブ
ロックC2mの一方がスタートブロックに設定される。ス
タートブロック設定回路6は、後述するように、列ブロ
ックC1nの訂正が可能な場合には、C1nをスタートブロッ
クに設定し、若し、訂正が不可能な場合には、C2mをス
タートブロックに設定する。このため、C1復号器4から
の訂正が可能かどうかを示す判別信号がスタートブロッ
ク設定回路6に供給される。The address control circuit 2 generates address data such that the data of the column block and the data of the row block are alternately read from the memory 1 from the column block or the row block where the decoding is started. A start block setting circuit 6 is provided to set a start block for starting decoding. In this embodiment, one of the predetermined column block C1 n or the predetermined row block C2 m is set as the start block. As will be described later, the start block setting circuit 6 sets C1 n as the start block when the column block C1 n can be corrected, and starts C2 m when the column block C1 n cannot be corrected. Set to block. Therefore, the determination signal from the C1 decoder 4 indicating whether correction is possible is supplied to the start block setting circuit 6.
第2図は、この発明を適用することができる積符号の一
例の構成を示す。第2図に示すように、M行,N行のマト
リクス状に配列された(M・N)個のシンボルからなる
マトリクスブロックによって、符号化の単位が形成され
る。〔(M−P)×(N−Q)〕個のディジタルデータ
のシンボル(例えば1シンボルが1バイト)の列ブロッ
ク毎及びその行ブロック毎にエラー訂正符号の符号化が
される。光磁気ディスクを用いた記憶装置の場合、(M
−P=N−Q=23)とされ、1個のマトリクスブロック
が1個のセクターと対応する529バイトの大きさとされ
る。この529バイトの中の512バイトがディジタルデータ
とされ、他の17バイトがアドレス,識別コード,CRCコー
ド等の付加データとされている。FIG. 2 shows an example of the structure of a product code to which the present invention can be applied. As shown in FIG. 2, an encoding unit is formed by a matrix block composed of (M · N) symbols arranged in a matrix of M rows and N rows. The error correction code is encoded for each column block and each row block of [(MP) × (NQ)] digital data symbols (for example, one symbol is 1 byte). In the case of a storage device using a magneto-optical disk, (M
-P = N-Q = 23), and one matrix block has a size of 529 bytes corresponding to one sector. Of these 529 bytes, 512 bytes are digital data and the other 17 bytes are additional data such as address, identification code and CRC code.
N個の列ブロックC11,C12,・・・C1Nの夫々は、エラー
訂正符号C1の符号系列であり、P個のチェックシンボル
を含んでいる。同様に、M個の行ブロックC21,C22,・・
・C2Mの夫々は、エラー訂正符号C2の符号系列であり、
Q個のチェックシンボルを含んでいる。つまり、列ブロ
ックC1Nを含むQ個の列ブロックは、符号C2のチェック
シンボルに符号C1を符号化を行ったものであり、行ブロ
ックC2Mを含むP個の行ブロックは、符号C1のチェック
シンボルに符号C2の符号化を行ったものである。エラー
訂正符号C1及びC2としては、通常、線形符号が用いられ
る。例えば1シンボルエラーの訂正が可能なリード・ソ
ロモン符号がエラー訂正符号C1及びC2として用いられ、
列ブロック及び行ブロックの夫々に(P=Q=2)個の
チェックシンボルが含まれる。また、P個の行ブロック
とQ個の列ブロックとが重複する部分のチェックシンボ
ルは、線形符号であるから行ブロック及び列ブロックの
間で一致したものとなる。Each of the N column blocks C1 1 , C1 2 , ..., C1 N is a code sequence of the error correction code C1 and includes P check symbols. Similarly, M row blocks C2 1 , C2 2 , ...
Each of C2 M is a code sequence of the error correction code C2,
It contains Q check symbols. That is, the Q column blocks including the column block C1 N are obtained by encoding the code C1 on the check symbol of the code C2, and the P row blocks including the row block C2 M are checked by the code C1. The symbol is the code C2 encoded. Linear codes are usually used as the error correction codes C1 and C2. For example, a Reed-Solomon code capable of correcting one symbol error is used as the error correction codes C1 and C2,
Each of the column block and the row block includes (P = Q = 2) check symbols. Further, since the check symbols in the portion where the P row blocks and the Q column blocks overlap each other are linear codes, the check symbols are the same between the row blocks and the column blocks.
第2図において破線で示すように、マトリクスブロック
の斜め方向(対角線の方向)に位置するシンボルの順序
でデータが伝送される。エラー訂正符号C1及びC2の系列
の方向と異なる斜め方向にデータを伝送するのは、伝送
時に発生するバーストエラーをランダムエラーに分散化
させ、エラー訂正符号C1及びC2によりエラー訂正が不可
能となることを回避するためである。As shown by the broken line in FIG. 2, data is transmitted in the order of symbols located in the diagonal direction (diagonal direction) of the matrix block. Transmitting data in a diagonal direction different from the direction of the series of the error correction codes C1 and C2 disperses burst errors that occur during transmission into random errors, and error correction becomes impossible with the error correction codes C1 and C2. This is to avoid that.
C1復号器4及びC2復号器5は、第2図に示す積符号の復
号を行う。メモリ1には、光磁気ディスクから再生され
たマトリクスブロックの全てのデータが格納され、符号
系列を形成する列ブロック又は行ブロック毎にメモリ1
からデータが読み出され、リード・ソロモン符号の復号
がなされる。メモリ1からディジタルデータの列ブロッ
クC11,C12,・・・C1Nが夫々読み出される時に、入出力
制御回路3により、メモリ1及びC1復号器4の間が接続
される。同様に、メモリ1からディジタルデータの行ブ
ロックC21,C22,・・・C2Mが夫々読み出される時に、入
出力制御回路3により、メモリ1及びC2復号器5の間が
接続される。The C1 decoder 4 and the C2 decoder 5 decode the product code shown in FIG. The memory 1 stores all the data of the matrix block reproduced from the magneto-optical disk, and the memory 1 is stored for each column block or row block forming a code sequence.
The data is read from and the Reed-Solomon code is decoded. When the column blocks C1 1 , C1 2 , ..., C1 N of digital data are read from the memory 1, the memory 1 and the C1 decoder 4 are connected by the input / output control circuit 3. Similarly, when the row blocks C2 1 , C2 2 , ..., C2 M of digital data are read from the memory 1, the input / output control circuit 3 connects the memory 1 and the C2 decoder 5 to each other.
リード・ソロモン符号の復号処理は、パリティ検査行列
と各ブロックのシンボルとの乗算により2個のシンドロ
ームS0及びS1を求めるステップと、このシンドロームS0
及びS1からエラーの大きさをチェックするステップと、
1シンボルエラーの時に、エラーを訂正するステップと
からなる。In the decoding process of the Reed-Solomon code, a step of obtaining two syndromes S 0 and S 1 by multiplying the parity check matrix and the symbol of each block, and this syndrome S 0
And checking the magnitude of the error from S 1 .
When there is a 1-symbol error, the error is corrected.
従来では、全ての列ブロックC11,C12,・・・C1Nに関し
てのエラー訂正を行うC1復号と、全ての行ブロックC21,
C22,・・・C2Mに関してのエラー訂正を行うC2復号とを
交互に繰り返す方法で訂正処理がなされる。この発明
は、従来の訂正処理と同等の訂正能力であって、より複
合時間を短縮化できる方法であり、列ブロックの符号系
列と行ブロックの符号系列とを1ブロック毎に交互に訂
正するものである。第3図は、この発明の一実施例の訂
正処理の方法のフローチャートである。第3図におい
て、Yは肯定を表し、Nは否定を表している。Conventionally, C1 decoding for performing error correction on all column blocks C1 1 , C1 2 , ..., C1 N and all row blocks C2 1 ,
Correction processing is performed by a method of alternately repeating C2 decoding for performing error correction for C2 2 , ..., C2 M. The present invention is a method which has a correction capability equivalent to that of a conventional correction process and can further shorten the compound time, and corrects the code sequence of the column block and the code sequence of the row block alternately for each block. Is. FIG. 3 is a flow chart of a correction processing method according to an embodiment of the present invention. In FIG. 3, Y represents positive and N represents negative.
所定の列ブロックC1n及び所定の行ブロックC2mの一方が
復号開始の系列とされる。例えば、(C1n=C11)(C2m
=C21)とされ、メモリ1からこれらのスタートブロッ
クのシンボルが読み出される(ステップ)。One of the predetermined column block C1 n and the predetermined row block C2 m is the decoding start sequence. For example, (C1 n = C1 1 ) (C2 m
= C2 1 ) and the symbols of these start blocks are read from the memory 1 (step).
次に、復号開始の系列の一方例えば列ブロックC1nの訂
正が可能かどうかがシンドロームから調べられる(ステ
ップ)。エラーシンボルが無い場合又は1シンボルの
エラーの場合に、列ブロックC1nの訂正処理に移行する
(ステップ)。訂正処理は、リード・ソロモン符号の
復方処理を意味し、エラー訂正できる場合のみを意味す
るものではない。Next, it is checked from the syndrome whether or not one of the decoding start sequences, for example, the column block C1 n can be corrected (step). If there is no error symbol or if there is an error of one symbol, the process proceeds to the correction process of the column block C1 n (step). The correction process means a reversal process of the Reed-Solomon code, and does not mean only when an error can be corrected.
次に、行ブロックC2mの訂正処理がなされる(ステップ
)。訂正終了信号が到来しているかどうかがステップ
で調べられ、若しそうであれば、訂正処理が終了す
る。このステップ及びステップの訂正処理では、メ
モリ1からの列ブロックC1n及び行ブロックC2mの読み出
しが最初に行われる。Next, the row block C2 m is corrected (step). Whether or not a correction end signal has arrived is checked in a step, and if so, the correction process ends. In this step and the correction process of the step, the column block C1 n and the row block C2 m are read from the memory 1 first.
ステップにおいて、訂正終了信号が到来していない時
には、ブロックの番号(n及びm)が(+1)され(ス
テップ)、ステップの処理が繰り返される。従
って、〔C1n→C2m→C1n+1→C2m+1‥‥〕の順序で符号C1
の系列と符号C2の系列とが1ブロック毎に交互に処理さ
れる。In step, when the correction end signal has not arrived, the block number (n and m) is incremented by (+1) (step), and the process of step is repeated. Therefore, the code C1 in the order of [C1 n → C2 m → C1 n + 1 → C2 m + 1
And the sequence of code C2 are alternately processed for each block.
一方の復号開始の系列である列ブロックC1nに、2個以
上のエラーシンボルが含まれてるために、訂正が不可能
な場合には、他方の復号開始の系列である行ブロックC2
mの訂正処理がなされる(ステップ)。このC2mの訂正
処理が終了すると、ブロック番号mが(+1)され(ス
テップ)、上述のステップ(列ブロックC1nの訂正
処理)に戻る。従って、〔C2m→C1n→C2m+1→C1n+1‥
‥〕の順序で符号C1の系列と符号C2の系列とが1ブロッ
ク毎に交互に処理される。If correction cannot be performed because the column block C1 n , which is one decoding start sequence, contains two or more error symbols, the row block C2 that is the other decoding start sequence
Correction processing of m is performed (step). When the correction process of C2 m is completed, the block number m is incremented by (+1) (step), and the process returns to the above step (correction process of the column block C1 n ). Therefore, [C2 m → C1 n → C2 m + 1 → C1 n + 1
..], the sequence of code C1 and the sequence of code C2 are alternately processed for each block.
上述の符号C1の系列と符号C2の系列とを1ブロック毎に
交互に処理するこの発明によるエラー訂正は、第4図に
示すようなエラーパターンの訂正に逆効果である。The error correction according to the present invention, in which the sequence of the code C1 and the sequence of the code C2 are alternately processed for each block, is counterproductive to the error pattern correction as shown in FIG.
第4図は、簡単のため、マトリクスブロックが7行7列
の積符号を示し、×で示すシンボルがエラーシンボルを
表している。一般的な訂正処理として、1シンボルエラ
ーの訂正が可能な符号C1の系列である列ブロックの全て
の復号(C1復号)と1シンボルエラーの訂正が可能な符
号C2の系列である行ブロックの全ての復号(C2複合)と
を1回ずつ行うと、(C1復号→C2復号)又は(C2復号→
C1復号)の何れの場合でも、破線で囲んだ6個のエラー
シンボルが訂正されない。In FIG. 4, for simplification, the matrix block shows the product code of 7 rows and 7 columns, and the symbol shown by x shows the error symbol. As general correction processing, all decoding of column blocks (C1 decoding) that is a sequence of code C1 that can correct one symbol error and all row blocks that are sequences of code C2 that can correct one symbol error Decoding (C2 decoding) and (C1 decoding → C2 decoding) or (C2 decoding →
In any case of C1 decoding), the six error symbols surrounded by the broken line are not corrected.
しかし、前述のように、第1番目の行ブロックC21の訂
正から開始して、(C21→C11→C22・・・C27→C17)の
順序でC1系列とC2系列とを交互に訂正処理することによ
り、全てのエラーシンボルを訂正することができる。つ
まり、実質的に、等しい訂正のステップ数でもって、よ
り多くのエラーシンボルを訂正することができ、限られ
た訂正処理の時間を有効に利用することができる。第4
図に示すエラーパターンは、マトリクスブロックの斜め
方向にデータを伝送する時にバーストエラーによって生
じ易いものであり、バーストエラーの訂正にこの一実施
例の訂正処理は、頗る有効である。However, as described above, starting from the correction of the first row block C2 1 , the C1 series and the C2 series are arranged in the order of (C2 1 → C1 1 → C2 2 ... C2 7 → C1 7 ). By performing correction processing alternately, all error symbols can be corrected. That is, more error symbols can be corrected with substantially the same number of correction steps, and the limited correction processing time can be effectively used. Fourth
The error pattern shown in the figure is likely to be caused by a burst error when transmitting data in the diagonal direction of the matrix block, and the correction process of this embodiment is very effective for correcting the burst error.
勿論、この発明は、積符号のみならず、マトリクスブロ
ックの斜め方向にエラー訂正符号の符号化を行うものに
適用することができる。また、エラー訂正符号として
は、リード・ソロモン符号以外の符号を使用でき、例え
ば1シンボルが1ビットの場合には、BCH符号を用いる
ことができる。Of course, the present invention can be applied to not only the product code but also the code for performing the error correction code in the diagonal direction of the matrix block. In addition, as the error correction code, a code other than the Reed-Solomon code can be used. For example, when one symbol has 1 bit, a BCH code can be used.
この発明に依れば、伝送時のバーストエラーにより、2
つのエラー訂正符号C1及びC2の両者の系列に関して、複
数個のエラーシンボルが含まれる系列が多いエラーパタ
ーン(C1復号及びC2復号を何回か繰り返すことにより最
終的には訂正可能なエラーパターン)を復号する場合
に、従来の復号方法に比して、少ないステップ数とする
ことができ、復号時間を短縮化することができる。According to the present invention, due to a burst error during transmission, 2
For both error correction code sequences C1 and C2, the error pattern (the error pattern that can be finally corrected by repeating C1 decoding and C2 decoding several times) with many sequences containing multiple error symbols When decoding, the number of steps can be reduced and the decoding time can be shortened as compared with the conventional decoding method.
第1図はこの発明の一実施例のブロック図、第2図はこ
の発明の一実施例の符号構成の説明に用いる略線図、第
3図及び第4図はこの発明の一実施例の訂正処理の説明
に用いるフローチャート及び略線図である。 図面における主要な符号の説明 1:メモリ、2:アドレス制御回路、 3:入出力制御回路、4:C1復号器、 5:C2復号器。FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a schematic diagram used to explain a code configuration of an embodiment of the present invention, and FIGS. 3 and 4 are of an embodiment of the present invention. 9A and 9B are a flowchart and a schematic diagram used for explaining a correction process. Description of main symbols in the drawings 1: Memory, 2: Address control circuit, 3: Input / output control circuit, 4: C1 decoder, 5: C2 decoder.
Claims (1)
配列した際の第1の方向に整列する1ブロックが複数個
の上記シンボルからなる第1の系列の夫々の上記ブロッ
ク毎に第1のエラー訂正符号の符号化がされ、上記2次
元配列の第2の方向に整列する1ブロックが複数個の上
記シンボルからなる第2の系列の夫々の上記ブロック毎
に第2のエラー訂正符号の符号化がされるエラー訂正符
号の復号方法において、 所定の上記第1の系列及び所定の上記第2の系列の間で
よりエラーが少ない方の系列を最初に訂正処理を行なう
系列に設定するステップと、 上記第1の系列及び上記第2の系列が上記1ブロックを
単位として交互に処理されるように、上記設定された系
列から隣接する系列に上記2次元配列の系列の訂正処理
を順次行なうステップと からなることを特徴とするエラー訂正符号の復号方法。1. A first error correction for each of the blocks of a first series in which one block aligned in the first direction when a plurality of symbols of digital data are two-dimensionally arrayed is composed of a plurality of the symbols. The code is encoded, and the second error correction code is encoded for each of the blocks of the second sequence in which one block aligned in the second direction of the two-dimensional array is composed of a plurality of the symbols. In the decoding method of the error correction code, the step of setting a series having a smaller error between the predetermined first series and the predetermined second series as a series for performing correction processing first, In order that the first series and the second series are alternately processed in the unit of one block, the correction processing of the series of the two-dimensional array is sequentially performed from the set series to the adjacent series. The method of decoding error correction codes, characterized in that comprising a flop.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61003149A JPH07114372B2 (en) | 1986-01-10 | 1986-01-10 | Error correction code decoding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61003149A JPH07114372B2 (en) | 1986-01-10 | 1986-01-10 | Error correction code decoding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62161223A JPS62161223A (en) | 1987-07-17 |
| JPH07114372B2 true JPH07114372B2 (en) | 1995-12-06 |
Family
ID=11549292
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61003149A Expired - Lifetime JPH07114372B2 (en) | 1986-01-10 | 1986-01-10 | Error correction code decoding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07114372B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4564945A (en) * | 1983-06-20 | 1986-01-14 | Reference Technology, Inc. | Error-correction code for digital data on video disc |
-
1986
- 1986-01-10 JP JP61003149A patent/JPH07114372B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62161223A (en) | 1987-07-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11347584B2 (en) | Memory system | |
| KR960003094B1 (en) | Error correction code generator | |
| USRE34245E (en) | Two stage coding method | |
| US5299208A (en) | Enhanced decoding of interleaved error correcting codes | |
| US6581178B1 (en) | Error correction coding/decoding method and apparatus | |
| JP2824474B2 (en) | Error correction system and decoder using this error correction system | |
| EP0340139A2 (en) | Fast processor for multi-bit error correction codes | |
| KR19980042418A (en) | Error correction method, error correction device, data reading device, and data mapping method | |
| US6138263A (en) | Error correcting method and apparatus for information data having error correcting product code block | |
| JP3283130B2 (en) | Digital data encoding and decoding methods and apparatus for implementing these methods | |
| JP4674371B2 (en) | Error correction decoding method and apparatus | |
| EP1589665A1 (en) | Error correction decoder comprising an erasure correcting Reed-Solomon decoder and a CRC decoder | |
| US5243604A (en) | On-the-fly error correction | |
| JPH08293802A (en) | Interleaving type error correction method | |
| US6718505B1 (en) | Method and apparatus for error correction in a process of decoding cross-interleaved Reed-Solomon code (CIRC) | |
| JPH07114372B2 (en) | Error correction code decoding method | |
| JPH08509351A (en) | Method and apparatus for error-correctable data transmission based on semi-cyclic code | |
| EP0674395A2 (en) | Error correction code encoding device and error correction code encoding method | |
| JPH07114371B2 (en) | Decryption device | |
| EP1111799B1 (en) | Error correction with a cross-interleaved Reed-Solomon code, particularly for CD-ROM | |
| JPS62181530A (en) | Decoding method for error correction code | |
| US6405343B1 (en) | ECC Q-parity checkbyte indexing | |
| JP3813337B2 (en) | Erasure error correction method and apparatus | |
| JPH0628343B2 (en) | Product code decoding method | |
| JP2792670B2 (en) | Error correction code decoding method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |