JP2692085B2 - Error correction method - Google Patents

Error correction method

Info

Publication number
JP2692085B2
JP2692085B2 JP62217547A JP21754787A JP2692085B2 JP 2692085 B2 JP2692085 B2 JP 2692085B2 JP 62217547 A JP62217547 A JP 62217547A JP 21754787 A JP21754787 A JP 21754787A JP 2692085 B2 JP2692085 B2 JP 2692085B2
Authority
JP
Japan
Prior art keywords
error
sequence
series
decoding
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
Application number
JP62217547A
Other languages
Japanese (ja)
Other versions
JPS6461123A (en
Inventor
曜一郎 佐古
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP62217547A priority Critical patent/JP2692085B2/en
Publication of JPS6461123A publication Critical patent/JPS6461123A/en
Application granted granted Critical
Publication of JP2692085B2 publication Critical patent/JP2692085B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、積符号、連接符号、鎖状符号など2つの
系列で2重の符号化がなされた符号を用いたエラー訂正
方法に関する。 〔発明の概要〕 この発明は、所定数のシンボルに対して第1の系列で
第1の符号の符号化がなされ、第2の系列で第2の符号
の符号化がなされた符号を用いたエラー訂正方法におい
て、第1の系列でのエラー訂正処理と第2のエラー訂正
処理とを繰り返して行うエラー訂正方法であって、第1
の系列でのエラー訂正処理を再度行うに際し、前回の第
1の系列でのエラー訂正処理を行ったときにはエラー訂
正できなかった行を対象とし、又は、第2のエラー訂正
処理においてエラー訂正されたシンボルを含む行を対象
とすることにより、不要な訂正処理時間をなくし、訂正
処理時間を短縮するようにしたものである。 〔従来の技術〕 近年、例えば光磁気ディスク等のように、極めて記録
容量の大きいデータ記録媒体が開発されている。光磁気
ディスク等のように極めて記録容量の大きいデータ記録
媒体では、バーストエラー等に対する対策が重要にな
る。そこで、例えば特願昭61−24367号明細書に示され
るように、光磁気ディスクに記録すべきデータに対し
て、エラー検出或いはエラー訂正符号化がなされてい
る。 光磁気ディスクでは、例えば各行及び各列に対して符
号化を行う積符号が用いられている。つまり、データが
2次元マトリクス状に配列され、この2次元配列データ
の各行のデータに対して第1のエラー訂正符号C1の符号
化がなされ、各列のデータに対して第2のエラー訂正符
号C2の符号化がなされる。光磁気ディスクでは、この他
に、2次元配列データの行方向の各データ系列毎に符号
化を行い、データの読み書きを列方向に行うLDC(Long
Distance Code)も用いられている。 このような積符号の復号は、従来、C1系列の復号とC2
系列の復号とを交互に繰り返すことによりなされる。つ
まり、先ず、データが行方向に読み出され、各行毎にC1
系列のシンドロームが求められる。このシンドロームか
ら、エラーシンボルが生じていた場合には、訂正可能な
ものについてはエラー訂正がなされる。エラー訂正が不
可能なときにはその行のシンボル中にエラーが含まれて
いることを示すエラーフラグが各行毎又は各行の夫々の
シンボルに設けられる。 次に、データが列方向に読み出され、各列毎にC2系列
のシンドロームが求められる。このシンドロームから、
エラーシンボルが生じていた場合には、訂正可能なエラ
ーについてはエラー訂正がなされる。また、C1系列の復
号時に得られたエラーフラグを用いてイレージャ訂正が
なされる。エラー訂正が不可能なときには、その例のシ
ンボル中にエラーが含まれていることを示すエラーフラ
グが各行毎または各行の夫々のシンボルに設けられる。 更に、C1系列の復号が再度なされる。このC1系列の復
号では、シンドロームからエラー訂正がなされると共
に、C2系列の復号時に得られたエラーフラグを用いてイ
レージャ訂正がなされる。 以下、C2系列の復号、C1系列の復号が繰り返して行わ
れる。 〔発明が解決しようとする問題点〕 このように、積符号のような2つの系列で符号化され
た符号は、C1系列の復号とC2系列の復号とを交互に繰り
返して復号される。 ところで、従来では、C1系列の復号を行い、C2系列の
復号を行ってから、C1系列の復号を再度繰り返す際、C1
系列の全ての行についてデータを読み出し、C1系列の各
行のシンドロームを全て求め、C1系列の全ての行につい
て復号を行うようにしている。また、C2系列の復号を再
度繰り返す際にも、C2系列の全ての列についてのデータ
を読み出し、C2系列の各列のシンドロームを全て求め、
C2系列の全ての列について復号を行うようにしている。
このため、C1系列の復号を繰り返す際には、C1系列の全
ての行のデータを読み出し、C1系列の全ての行のシンド
ロームを求める時間が必要であり、C2系列の復号を繰り
返す際には、C2系列の全ての列のデータを読み出し、C2
系列の全ての列のシンドロームを求める時間が必要であ
る。このため、従来のエラー訂正方法では、処理時間が
長くかかるという問題がある。 したがってこの発明の目的は、不要なデータ処理時間
をなくし、処理時間の短縮化がはかれるエラー訂正方法
を提供することにある。 〔問題点を解決するための手段〕 この発明は、所定数のシンボルに対して第1の系列で
第1の符号の符号化がなされ、第2の系列で第2の符号
の符号化がなされた符号を用いたエラー訂正方法であっ
て、第1の系列でエラー訂正処理を行うと共にエラー訂
正不能なときには第1の系列でのエラーフラグを訂正不
能な行若しくはその行の夫々のシンボルに対して設ける
ステップと、第2の系列でエラー訂正処理を行うと共に
第1の系列でのエラーフラグを用いてイレージャ訂正処
理を行い、エラー訂正不能なときには第2の系列でのエ
ラーフラグを訂正不能な列若しくはその列の夫々のシン
ボルに対して設けるステップと、第1の系列でのエラー
フラグが立てられた行を対象として再度第1の系列での
エラー訂正処理及び第2の系列でのエラーフラグを用い
てイレージャ訂正処理を行うステップとを有することを
特徴とするエラー訂正方法である。 この発明は、所定数のシンボルに対して第1の系列で
第1の符号の符号化がなされ、第2の系列で第2の符号
の符号化がなされた符号を用いたエラー訂正方法であっ
て、第1の系列でエラー訂正処理を行うと共にエラー訂
正不能なときには第1の系列でのエラーフラグを訂正不
能な行若しくはその行の夫々のシンボルに対して設ける
ステップと、第2の系列でエラー訂正処理を行うと共に
第1の系列でのエラーフラグを用いてイレージャ訂正処
理を行い、これと共に第2の系列で訂正されたシンボル
を含む行方向の位置を示すコレクションフラグを設ける
ステップと、コレクションフラグが設けられた行を対象
として、再度第1の系列でのエラー訂正処理及び第2の
系列でのエラーフラグを用いてイレージャ訂正処理を行
うステップとを有することを特徴とするエラー訂正方法
である。 〔作用〕 この発明では、C1系列のエラー訂正処理を繰り返す際
には、C1エラーフラグが立っている行を対象として訂正
処理が行われ、C2系列のエラー訂正処理を繰り返す際に
は、C2エラーフラグが立っている列を対象として訂正処
理が行われる。 また、この発明では、C2系列でエラーシンボルが訂正
されると、訂正されたシンボルを含む行にC1コレクショ
ンフラグが立てられ、C1系列のエラー訂正処理を繰り返
す際には、C1コレクションフラグが立っている行を対象
として訂正処理が行われる。また、C1系列でエラーシン
ボルが訂正されると、訂正されたシンボルを含む列にC2
コレクションフラグが立てられ、C2系列のエラー訂正処
理を繰り返す際には、C2コレクションフラグが立てられ
ている列を対象として訂正処理が行われる。 〔実施例〕 この発明の実施例について以下の順序に従って説明す
る。 a.光磁気ディスクの記録形態 b.積符号の復号 c.第1の実施例の説明 d.第2の実施例の説明 a.光磁気ディスクの記録形態 光磁気ディスクのように、極めて記録容量の大きいデ
ータ記録媒体では、バーストエラー等に対処するため
に、エラー訂正符号化がなされている。第1図は、積符
号によりエラー訂正符号化を行う場合の例である。 光磁気ディスクでは、第2図に示すように、セクタS
を単位としてデータの記録が行われる。エラー訂正符号
化は、このセクタS毎に行われる。1セクタ当たりに記
録できるユーザ・データは例えば512バイトである。第
1図に示すように、この512バイトのユーザ・データに
必要に応じて例えば12バイトの付加情報が付加され、更
に付加情報を含めた1セクタの524バイトのデータに対
して、例えば4バイトのエラー検出符号EDCが生成付加
される。付加情報には、リザーブ情報と共に、例えば次
のセクタへのリンク情報やデータ識別情報等が挿入され
る。エラー検出符号EDCとしては、CRCコードが用いられ
る。このように、付加情報及びエラー検出符号EDCが付
加された528バイトのデータに対して、C1系列のエラー
訂正符号化及びC2系列系列のエラー訂正符号化がなされ
る。 つまり、第1図は、符号化単位を形成するマトリクス
ブロックである。この14行,48列のマトリクスブロック
は、1セクタに記録するデータサイズに対応している。
上述のように、付加情報及びエラー検出符号EDCが付加
された528バイトのデータが、12行44列のマトリクス状
に配される。そして、各行毎にC1系列の符号化がなされ
る。C1系列のエラー訂正符号としては、例えば(48,4
4)リード・ソロモン符号が用いられる。C1系列の符号
化により、4バイトのチェックシンボルが各行毎に生成
付加される。更に、各列毎にC2系列の符号化がなされ
る。C2系列のエラー訂正符号としては、例えば(14,1
2)リード・ソロモン符号が用いられる。C2系列の符号
化により、2バイトのチェックシンボルが各列毎に生成
付加される。 このように、エラー訂正符号化されたデータは、第2
図及び第3図に示すように光磁気ディスク上に記録され
る。 第2図において、光磁気ディスク1は、例えば直径が
13cm(5インチ)で、片面で300Mバイト以上の記憶容量
を有している。ディスク1は、角速度一定で回転され、
1回転当たりを1トラックとして、同心円状或いはスパ
イラル状のトラック2を形成してデータが記録される。
片面のトラック数は、例えば18000〜20000本である。各
トラックは、第3図Aに示すように、セクタ0からセク
タ(n−1)までのn個のセクタ、例えば16或いは32セ
クタに分割される。この各セクタは、第3図Bに示すよ
うに、サーボ信号領域3とデータ・アドレス信号領域4
とに区分される。サーボ信号領域3は、例えば2バイト
相当の長さで、サーボ信号領域3にはサーボ信号がピッ
トの形態で記録される。データ・アドレス信号領域4
は、例えば16バイトの長さで、データ・アドレス信号領
域4には、データ信号やアドレス信号が記録される。1
つのセクタの先頭のデータ・アドレス信号領域4には、
アドレス信号が少なくとも記録される。 b.積符号の復号 この発明は、上述のように、C1系列とC2系列の2つの
系列により2重に符号化された積符号によりエラー訂正
を行う場合に用いることができる。 このような積符号の復号は、C1系列の復号とC2系列の
復号とを交互に繰り返すことによりなされる。つまり、
先ず、データが行方向に読み出され、各行毎にC1系列の
シンドロームが求められる。このシンドロームから、エ
ラーシンボルが生じていた場合には、訂正可能なものに
ついてはエラー訂正がなされる。C1系列では、4シンボ
ルイレージャ訂正が可能で、2シンボルエラー訂正が可
能である。したがって、最初のC1系列の復号では、2シ
ンボル以内のエラーであれば、訂正可能である。エラー
訂正が不可能なときには、その行のシンボル中にエラー
が含まれていることを示すC1エラーフラグが各行毎又は
各行の夫々のシンボルに設けられる。 次に、データが列方向に読み出され、各列毎にC2系列
のシンドロームが求められる。このシンドロームから、
エラーシンボルが生じていた場合には、訂正可能なエラ
ーについてはエラー訂正がなされる。C2系列では、2シ
ンボルイレージャ訂正が可能で、1シンボルエラー訂正
が可能である。したがって、このC2系列の復号では、エ
ラーが1シンボル以内であれば、訂正可能である。ま
た、エラーが2シンボル以内であれば、最初のC1系列の
復号時に得られたC1エラーフラグを用いて、イレージャ
訂正を行うことができる。エラー訂正が不可能なときに
はその列のシンボル中にエラーが含まれていることを示
すC2エラーフラグが各行毎又は各行の夫々のシンボルに
設けられる。 更に、C1系列の復号が再度なされる。このC1復号で
は、エラーが2シンボル以内であれば訂正可能であると
共に、エラーが4シンボル以内であればC2系列の復号時
に得られたC2エラーフラグを用いてイレージャ訂正を行
うことができる。 以下、C2系列の復号、C1系列の復号が繰り返して行わ
れる。 c.第1の実施例の説明 ところで、C1系列の復号を行い、C2系列の復号を行っ
てから、更にC1系列の復号を繰り返す際、C1系列の全て
の行のデータを読み出す必要はない。最初のC1系列の復
号時にエラーシンボルが含まれていない行又はエラーシ
ンボルが全て訂正されている行については、再度、処理
を行う必要はない。 この発明の第1の実施例では、C1系列の復号を繰り返
す際には、前回のC1系列の復号が終了したときに訂正で
きなかったシンボルを含む行を対象とするようにしてい
る。また、C2系列の復号を繰り返す際には、前回のC2系
列の復号が終了したときに訂正できなかったシンボルを
含む列を対象とするようにしている。このような処理を
行うことにより、不要なデータ処理時間がなくなり、処
理時間が短縮化される。 前回のC1系列の復号が終了したときに訂正できなかっ
たシンボルを含む行には、C1エラーフラグが立てられて
いる。また、前回のC2系列の復号が終了したときに訂正
できなかったシンボルを含む列には、C2エラーフラグが
立てられている。したがって、この発明の一実施例で
は、C1系列の復号を繰り返す際には、前回のC1系列の復
号時にC1エラーフラグが立てられた行が対象とされる。
また、C2系列の複合を繰り返す際には、前回のC2系列の
復号時にC2エラーフラグが立てられた列が対象とされ
る。 この発明の一実施例におけるエラー訂正処理手順につ
いて第4図に示すフローチャートを参照しながら説明す
る。 先ず、データが行方向に読み出され、C1系列に全ての
行について復号処理がなされる。この復号処理で、2シ
ンボル以下のエラーが訂正される。そして、3シンボル
以上のエラーが含まれている行にC1エラーフラグが立て
られる(ステップ)。 データが列方向に読み出され、C2系列に全ての列につ
いて復号処理がなされる。この復号処理で、1シンボル
のエラーが訂正される。また、C1エラーフラグを用いて
2シンボルエラーのイレージャ訂正がなされる。それ以
上のエラーが含まれている列にC2エラーフラグが立てら
れる(ステップ)。 C1系列及びC2系列のシンドロームが全て「0」になっ
たかどうかが判断される(ステップ)。シンドローム
が全て「0」であれば、復号処理が終了される。 シンドロームが全て「0」でないときには、C1エラー
フラグが立っている行のデータが読み出され、C1エラー
フラグが立っている行を対象として復号処理がなされ
る。この復号処理で2シンボル以下のエラーが訂正され
る。そして、C2エラーフラグを用いて4シンボルエラー
のイレージャ訂正がなされる。訂正がなされたら、訂正
された行のC1エラーフラグがクリアされる(ステップ
)。 C1系列及びC2系列のシンドロームが全て「0」になっ
たかどうかが判断される(ステップ)。シンドローム
が全て「0」であれば、復号処理が終了される。 シンドロームが全て「0」でないときには、C2エラー
フラグが立っている列のデータが読み出され、C2エラー
フラグが立っている列を対象として復号処理がなされ
る。この復号処理で1シンボルのエラーが訂正される。
そして、C1エラーフラグを用いて2シンボルエラーのイ
レージャ訂正がなされる。訂正がなされたら、訂正され
た列のC2エラーフラグがクリアされる(ステップ)。 ステップに戻り、シンドロームが全て「0」かどう
かが判断される。シンドロームが全て「0」でなけれ
ば、C1エラーフラグが立っている行についてのC1系列の
復号処理、C2エラーフラグが立っている列についてのC2
系列の復号処理が交互に続けられる。 d.第2の実施例の説明 上述の一実施例では、C1系列の復号を繰り返す際に
は、前回のC1系列の復号が終了したときに訂正できなか
ったシンボルを含む行が対象とされ、C2系列の復号を繰
り返す際には、前回のC2系列の復号が終了したときに訂
正できなかったシンボルを含む列が対象とされる。とこ
ろが、このようにすると、前回のC1系列の復号時やC2系
列の復号時に見逃したエラーがあった場合に対応できな
い。 この発明の第2の実施例では、C1系列の復号を繰り返
す際には、その前のC2系列の復号時に訂正されたシンボ
ルを含む行が対象とされ、C2系列の復号を繰り返す際に
は、その前のC1系列の復号時に訂正されたシンボルを含
む列が対象とされる。 この発明の第2の実施例では、C2系列の復号時にエラ
ーシンボルが訂正されると、訂正されたエラーシンボル
を含む行にC1コレクションフラグが立てられる。また、
C1系列の復号時にエラーシンボルが訂正されると、訂正
されたエラーシンボルを含む列にC2コレクションフラグ
が立てられる。C1系列の復号を繰り返す際には、その前
のC2系列の復号時にC1コレクションフラグが立てられた
行が対象とされる。C2系列の復号を繰り返す際には、そ
の前のC1系列の復号時にC2コレクションフラグが立てら
れた列が対象とされる。 例えば第5図Aに示すように、行l1に3個のエラーシ
ンボルe1,e2,e3が並び、行l2に3個のエラーシンボル
e4,e5,e6が並んでいるとする。 最初にC1系列の全ての行について復号処理が行われ
る。最初のC1系列の復号時には、行l1に生じているエラ
ーシンボルe1,e2,e3は3シンボル以上であり、行l2に生
じているエラーシンボルe4,e5,e6は3シンボル以上であ
るので、エラーシンボルe1,e2,e3及びエラーシンボル
e4,e5,e6は訂正できない。 次に、C2系列の全ての列について復号処理がなされ
る。C2系列の復号時に列m1のエラーシンボルe1が訂正さ
れ、列m2のエラーシンボルe2,e4がC1復号時のC1エラー
フラグを用いて訂正され、列m3のエラーシンボルe3,e5
がC1復号時のC1エラーフラグを用いて訂正され、列m4の
エラーシンボルe6が訂正される。そして第5図Bに示す
ように、訂正されたシンボルe1,e2,e3を含む行l1にC1コ
レクションフラグが立てられ、訂正されたシンボルe4,e
5,e6を含む行l2にC1コレクションフラグが立てられる。 そして、C1系列の復号が再度繰り返される。この時に
は、C1コレクションフラグが立てられている行l1,l2
データが読み出され、行l1,l2についてだけC1系列の復
号がなされる。 すなわち、C1系列の復号を再度繰り返す際、前回のC1
系列の復号時の処理と違う結果となるのは、C2系列の復
号時にエラー訂正されたシンボルを含む行だけである。
C2系列の復号時にエラー訂正されたシンボルを含んでい
ない行については、C1系列の復号を繰り返しても、前回
のC1系列の復号時の処理と同じ結果になる。 この発明の第2の実施例におけるエラー訂正処理手順
について第6図に示すフローチャートを参照しながら説
明する。 先ず、データが行方向に読み出され、C1系列に全ての
行について復号処理がなされる。C1系列では、2シンボ
ル以下のエラーが訂正できる。そして、3シンボル以上
のエラーが含まれている行にC1エラーフラグが立てられ
る(ステップ)。 データが列方向に読み出され、C2系列に全ての列につ
いて復号処理がなされる。この復号処理で、1シンボル
のエラーが訂正される。また、C1エラーフラグを用いて
2シンボルエラーのイレージャ訂正がなされる。それ以
上のエラーが含まれている列にC2エラーフラグが立てら
れる。これと共に、C2系列で訂正されたシンボルを含む
行にC1コレクションフラグが立てられる(ステップ
)。 C1系列及びC2系列のシンドロームが全て「0」になっ
たかどうかが判断される(ステップ)。シンドローム
が全て「0」であれば、復号処理が終了される。 シンドロームが全て「0」でないときには、C1コレク
ションフラグが立っている行のデータが読み出され、C1
コレクションフラグが立っている行を対象として復号処
理がなされる。この復号処理で2シンボル以下のエラー
が訂正される。そして、C2エラーフラグを用いて4シン
ボルエラーのイレージャ訂正がなされる。訂正がなされ
たら、訂正された行のC1エラーフラグがクリアされる。
これと共に、C1系列で訂正されたシンボルを含む列にC2
コレクションフラグが立てられる(ステップ)。 C1系列及びC2系列のシンドロームが全て「0」になっ
たかどうかが判断される(ステップ)。シンドローム
が全て「0」であれば、復号処理が終了される。 シンドロームが全て「0」でないときには、C2コレク
ションフラグが立っている列のデータが読み出され、C2
コレクションフラグが立っている列を対象として復号処
理がなされる。この復号処理で1シンボルのエラーが訂
正される。そして、C1エラーフラグを用いて2シンボル
エラーのイレージャ訂正がなされる。訂正がなされた
ら、訂正された列のC2エラーフラグがクリアされる。こ
れと共に、C2系列で訂正されたシンボルを含む行にC1コ
レクションフラグが立てられる(ステップ)。 ステップに戻り、シンドロームが全て「0」がどう
かが判断される。シンドロームが全て「0」でなけれ
ば、C1コレクションフラグが立っている行についてのC1
系列の復号処理、C2コレクションフラグが立っている列
についてのC2系列の復号処理が交互に続けられる。 なお、この発明は、積符号ばかりでなく、クロスイン
ターリーブ等の場合でも同様に適用できる。 〔発明の効果〕 この発明に依れば、C1系列の復号を行い、C2系列の復
号を行い、再度C1系列の復号を繰り返す際、前回のC1系
列の復号時にエラー訂正を行えなかったシンボルを含む
行、又は、C2系列の復号時にエラー訂正されたシンボル
を含む行がC1系列の復号処理の対象とされ、他の行につ
いては復号処理がなされない。C2系列の復号を再度繰り
返す際には、前回のC2系列の復号時にエラー訂正が行え
なかったシンボルを含む列、又は、C1系列の復号時にエ
ラー訂正されたシンボルを含む列がC2系列の復号処理の
対象とされ、他の列については復号処理がなされない。 このため、C1系列の復号を繰り返す際或いはC2系列の
復号を繰り返す際のデータ読み出し時間やシンドローム
を求める時間等の処理時間の短縮化をはかることができ
る。
Description: TECHNICAL FIELD The present invention relates to an error correction method using a code such as a product code, a concatenated code, or a chain code that is double-encoded with two sequences. SUMMARY OF THE INVENTION The present invention uses a code in which a first code is encoded in a first sequence and a second code is encoded in a second sequence for a predetermined number of symbols. In the error correction method, an error correction method in which an error correction process in a first series and a second error correction process are repeatedly performed,
When the error correction processing in the series of 1 is performed again, the line that could not be error-corrected when the error correction processing in the first series of the previous time was performed is targeted, or the error is corrected in the second error correction processing. By targeting the line including the symbol, unnecessary correction processing time is eliminated and the correction processing time is shortened. [Prior Art] In recent years, a data recording medium having an extremely large recording capacity such as a magneto-optical disk has been developed. In a data recording medium having a very large recording capacity such as a magneto-optical disk, it is important to take measures against burst errors. Therefore, as shown in Japanese Patent Application No. 61-24367, for example, error detection or error correction coding is performed on the data to be recorded on the magneto-optical disk. In a magneto-optical disk, for example, a product code for coding each row and each column is used. That is, the data are arranged in a two-dimensional matrix, the first error correction code C1 is encoded for the data of each row of the two-dimensional array data, and the second error correction code for the data of each column. C2 encoding is performed. In addition to the above, in the magneto-optical disk, the LDC (Long) that performs coding in each data series in the row direction of two-dimensional array data and reads / writes data in the column direction
Distance Code) is also used. Conventionally, decoding of such product codes is performed by decoding C1 sequence and C2 sequence.
This is done by alternately repeating the sequence decoding. That is, first, the data is read in the row direction, and C1 is read for each row.
Series syndrome is required. If an error symbol is generated from this syndrome, error correction is performed for a correctable one. When error correction is impossible, an error flag indicating that an error is included in the symbol of the line is provided for each line or for each symbol of each line. Next, the data is read in the column direction, and the syndrome of the C2 series is obtained for each column. From this syndrome,
If an error symbol has occurred, error correction is performed for correctable errors. Further, erasure correction is performed using the error flag obtained at the time of decoding the C1 sequence. When error correction is impossible, an error flag indicating that an error is included in the symbol of the example is provided for each line or for each symbol of each line. Further, the C1 sequence is decoded again. In this C1 sequence decoding, error correction is performed from the syndrome, and erasure correction is performed using the error flag obtained during C2 sequence decoding. Hereinafter, C2 sequence decoding and C1 sequence decoding are repeatedly performed. [Problems to be Solved by the Invention] As described above, a code encoded by two sequences such as a product code is decoded by alternately repeating C1 sequence decoding and C2 sequence decoding. By the way, in the past, when C1 sequence decoding is performed, C2 sequence decoding is performed, and then C1 sequence decoding is repeated,
The data is read out for all the rows of the series, all the syndromes of each row of the C1 series are obtained, and the decoding is performed for all the rows of the C1 series. Further, even when the decoding of the C2 series is repeated again, the data for all the columns of the C2 series are read, and the syndromes of each column of the C2 series are obtained,
Decoding is performed for all columns of the C2 sequence.
Therefore, when repeating the decoding of the C1 series, it is necessary to read the data of all the rows of the C1 series and obtain the syndrome of all the rows of the C1 series, and when repeating the decoding of the C2 series, Read the data from all columns of the C2 series, and
It takes time to find the syndromes for all columns in the sequence. Therefore, the conventional error correction method has a problem that the processing time is long. Therefore, an object of the present invention is to provide an error correction method which eliminates unnecessary data processing time and shortens the processing time. [Means for Solving the Problems] According to the present invention, the first code is encoded in the first sequence and the second code is encoded in the second sequence for a predetermined number of symbols. An error correction method using a code, which performs error correction processing in the first sequence, and when error correction is impossible, an error flag in the first sequence is applied to an uncorrectable row or each symbol in that row. And the erasure correction processing using the error flag in the first series, and the error flag in the second series cannot be corrected. Steps provided for columns or respective symbols of the columns, and error correction processing in the first series and errors in the second series for the rows in which the error flags in the first series are set And a step of performing erasure correction processing using a flag. The present invention is an error correction method using a code in which a first code is encoded in a first sequence and a second code is encoded in a second sequence for a predetermined number of symbols. And performing error correction processing in the first series and providing an error flag in the first series for the uncorrectable row or each symbol of that row when the error correction is not possible, and for the second series Performing an error correction process and an erasure correction process using the error flag in the first series, and at the same time, providing a collection flag indicating a row direction position including a symbol corrected in the second series; The step of performing again the error correction processing in the first series and the erasure correction processing using the error flag in the second series for the row provided with the flag. It is an error correction method according to claim. [Operation] In the present invention, when the error correction process of the C1 series is repeated, the correction process is performed on the line in which the C1 error flag is set, and when the error correction process of the C2 series is repeated, the C2 error is generated. The correction process is performed on the flagged columns. Further, in the present invention, when the error symbol is corrected in the C2 series, the C1 correction flag is set in the row including the corrected symbol, and when the C1 series error correction process is repeated, the C1 correction flag is set. The correction process is performed for the existing line. When the error symbol is corrected in the C1 sequence, C2 is added to the column containing the corrected symbol.
When the collection flag is set and the C2 series error correction process is repeated, the correction process is performed for the column for which the C2 collection flag is set. Embodiments Embodiments of the present invention will be described in the following order. Recording form of magneto-optical disc b. Decoding of product code c. Description of first embodiment d. Description of second embodiment a. Recording form of magneto-optical disc Extremely recording capacity like magneto-optical disc In a large-sized data recording medium, error correction coding is performed in order to cope with burst errors and the like. FIG. 1 shows an example in which error correction coding is performed using a product code. In the magneto-optical disk, as shown in FIG.
Data is recorded in units of. The error correction coding is performed for each sector S. User data that can be recorded per sector is 512 bytes, for example. As shown in FIG. 1, additional information of, for example, 12 bytes is added to the 512-byte user data as necessary, and further, for example, 4 bytes for 524-byte data of one sector including the additional information. The error detection code EDC of is generated and added. For example, link information to the next sector, data identification information, and the like are inserted in the additional information together with the reserve information. A CRC code is used as the error detection code EDC. In this way, the C1 series error correction coding and the C2 series error correction coding are performed on the 528-byte data to which the additional information and the error detection code EDC are added. That is, FIG. 1 is a matrix block forming a coding unit. The matrix block of 14 rows and 48 columns corresponds to the data size recorded in one sector.
As described above, the 528-byte data to which the additional information and the error detection code EDC are added is arranged in a matrix of 12 rows and 44 columns. Then, the C1 sequence is encoded for each row. The C1 sequence error correction code is, for example, (48,4
4) Reed-Solomon code is used. By encoding the C1 sequence, 4-byte check symbols are generated and added for each row. Furthermore, C2 sequence coding is performed for each column. An example of the C2 sequence error correction code is (14,1
2) Reed-Solomon code is used. By the C2 sequence encoding, 2-byte check symbols are generated and added for each column. In this way, the error-correction-encoded data is the second data.
Recording is performed on the magneto-optical disk as shown in FIGS. In FIG. 2, the magneto-optical disk 1 has, for example, a diameter of
It is 13 cm (5 inches) and has a storage capacity of 300 Mbytes or more on one side. The disk 1 is rotated at a constant angular velocity,
Data is recorded by forming a concentric or spiral track 2 with one track per rotation.
The number of tracks on one side is, for example, 18000 to 20000. As shown in FIG. 3A, each track is divided into n sectors from sector 0 to sector (n-1), for example, 16 or 32 sectors. Each sector has a servo signal area 3 and a data / address signal area 4 as shown in FIG. 3B.
It is divided into and. The servo signal area 3 has a length corresponding to, for example, 2 bytes, and servo signals are recorded in the servo signal area 3 in the form of pits. Data address signal area 4
Has a length of 16 bytes, for example, and data signals and address signals are recorded in the data / address signal area 4. 1
In the data address signal area 4 at the beginning of one sector,
At least the address signal is recorded. b. Decoding of Product Code As described above, the present invention can be used when error correction is performed using a product code that is doubly encoded by two sequences of C1 sequence and C2 sequence. Decoding of such a product code is performed by alternately repeating C1 series decoding and C2 series decoding. That is,
First, the data is read out in the row direction, and the syndrome of the C1 series is obtained for each row. If an error symbol is generated from this syndrome, error correction is performed for a correctable one. In the C1 series, 4-symbol erasure correction is possible and 2-symbol error correction is possible. Therefore, in the first decoding of the C1 sequence, an error within 2 symbols can be corrected. When error correction is impossible, a C1 error flag indicating that an error is included in the symbol of the line is provided for each line or for each symbol of each line. Next, the data is read in the column direction, and the syndrome of the C2 series is obtained for each column. From this syndrome,
If an error symbol has occurred, error correction is performed for correctable errors. In the C2 series, 2-symbol erasure correction is possible and 1-symbol error correction is possible. Therefore, this C2 sequence decoding can be corrected if the error is within 1 symbol. If the error is within 2 symbols, erasure correction can be performed using the C1 error flag obtained when the first C1 sequence is decoded. When error correction is impossible, a C2 error flag indicating that an error is included in the symbol of the column is provided for each row or for each symbol of each row. Further, the C1 sequence is decoded again. In this C1 decoding, if the error is within 2 symbols, it can be corrected, and if the error is within 4 symbols, erasure correction can be performed using the C2 error flag obtained at the time of decoding the C2 sequence. Hereinafter, C2 sequence decoding and C1 sequence decoding are repeatedly performed. c. Description of the first embodiment By the way, when the C1 sequence is decoded, the C2 sequence is decoded, and then the C1 sequence is further decoded, it is not necessary to read the data of all the rows of the C1 sequence. It is not necessary to perform the process again for a row that does not include an error symbol at the time of decoding the first C1 sequence or a row in which all error symbols have been corrected. In the first embodiment of the present invention, when the decoding of the C1 sequence is repeated, the row including the symbol that cannot be corrected when the decoding of the previous C1 sequence is completed is targeted. Further, when the decoding of the C2 sequence is repeated, the column including the symbol that cannot be corrected when the decoding of the previous C2 sequence is completed is targeted. By performing such processing, unnecessary data processing time is eliminated and processing time is shortened. A C1 error flag is set on a line containing a symbol that could not be corrected when the previous decoding of the C1 sequence was completed. Further, a C2 error flag is set in a column including a symbol that could not be corrected when the previous decoding of the C2 sequence was completed. Therefore, in one embodiment of the present invention, when the decoding of the C1 sequence is repeated, the row in which the C1 error flag is set at the previous decoding of the C1 sequence is targeted.
Further, when repeating the combination of the C2 series, the column for which the C2 error flag was set at the time of the previous decoding of the C2 series is targeted. The error correction processing procedure in the embodiment of the present invention will be described with reference to the flowchart shown in FIG. First, the data is read in the row direction, and the decoding process is performed on all the rows in the C1 sequence. This decoding process corrects errors of 2 symbols or less. Then, a C1 error flag is set on a line containing an error of 3 symbols or more (step). The data is read in the column direction, and the decoding process is performed on all columns in the C2 series. This decoding process corrects one symbol error. In addition, erasure correction of 2-symbol error is performed using the C1 error flag. The column that contains more errors is flagged as C2 error (step). It is judged whether all the syndromes of the C1 series and the C2 series have become “0” (step). If all the syndromes are “0”, the decoding process ends. When all the syndromes are not "0", the data of the row in which the C1 error flag is set is read, and the decoding processing is performed on the row in which the C1 error flag is set. This decoding process corrects errors of 2 symbols or less. Then, erasure correction of a 4-symbol error is performed using the C2 error flag. When the correction is made, the C1 error flag of the corrected line is cleared (step). It is judged whether all the syndromes of the C1 series and the C2 series have become “0” (step). If all the syndromes are “0”, the decoding process ends. When all the syndromes are not "0", the data in the column in which the C2 error flag is set is read, and the decoding process is performed on the column in which the C2 error flag is set. This decoding process corrects an error of 1 symbol.
Then, erasure correction of a 2-symbol error is performed using the C1 error flag. When the correction is made, the C2 error flag of the corrected column is cleared (step). Returning to the step, it is judged whether the syndromes are all “0”. If the syndromes are not all "0", the decoding process of the C1 sequence for the row with the C1 error flag and the C2 for the column with the C2 error flag are performed.
The sequence decoding process continues in an alternating manner. d. Description of Second Embodiment In the above-described one embodiment, when the decoding of the C1 sequence is repeated, the row including the symbol that cannot be corrected when the decoding of the previous C1 sequence is completed is targeted. When the decoding of the C2 sequence is repeated, the column including the symbol that could not be corrected when the decoding of the previous C2 sequence was completed is targeted. However, this makes it impossible to deal with an error that was missed during the previous decoding of the C1 series or the decoding of the C2 series. In the second embodiment of the present invention, when the decoding of the C1 sequence is repeated, the row including the symbol corrected in the decoding of the previous C2 sequence is targeted, and when the decoding of the C2 sequence is repeated, The column containing the symbols corrected during the decoding of the previous C1 sequence is targeted. In the second embodiment of the present invention, when the error symbol is corrected during the decoding of the C2 sequence, the C1 correction flag is set in the row containing the corrected error symbol. Also,
When the error symbol is corrected during the decoding of the C1 sequence, the column containing the corrected error symbol is set with the C2 correction flag. When the decoding of the C1 series is repeated, the row for which the C1 collection flag is set at the time of the previous decoding of the C2 series is targeted. When the decoding of the C2 series is repeated, the column for which the C2 collection flag is set at the time of the previous decoding of the C1 series is targeted. For example, as shown in FIG. 5A, three error symbols e 1 , e 2 and e 3 are arranged in a row l 1 and three error symbols are arranged in a row l 2 .
It is assumed that e 4 , e 5 and e 6 are lined up. First, the decoding process is performed on all the rows of the C1 sequence. At the time of decoding the first C1 sequence, the error symbols e 1 , e 2 , and e 3 occurring in the row l1 are 3 symbols or more, and the error symbols e 4 , e 5 , and e 6 occurring in the row l2 are 3 symbols. As above, the error symbols e 1 , e 2 , e 3 and the error symbols
e 4, e 5, e 6 can not be corrected. Next, the decoding process is performed on all the columns of the C2 sequence. When decoding the C2 sequence, the error symbol e 1 of the column m1 is corrected, the error symbols e 2 and e 4 of the column m2 are corrected using the C1 error flag at the time of C1 decoding, and the error symbols e 3 and e 5 of the column m3 are corrected.
Is corrected using the C1 error flag at the time of C1 decoding, and the error symbol e 6 of the column m4 is corrected. Then, as shown in FIG. 5B, the C1 correction flag is set in the row l1 including the corrected symbols e 1 , e 2 and e 3 , and the corrected symbols e 4 and e
The C1 collection flag is set on line l2 containing 5 , e 6 . Then, the decoding of the C1 sequence is repeated again. At this time, the data of the rows l 1 and l 2 for which the C1 collection flag is set are read, and the C1 sequence is decoded only for the rows l1 and l2. That is, when C1 sequence decoding is repeated again,
Only the row containing the error-corrected symbol at the time of decoding the C2 sequence has a different result from the process at the time of decoding the sequence.
For a row that does not include an error-corrected symbol at the time of decoding the C2 series, even if the decoding of the C1 series is repeated, the same result as the processing at the time of the previous decoding of the C1 series is obtained. An error correction processing procedure according to the second embodiment of the present invention will be described with reference to the flowchart shown in FIG. First, the data is read in the row direction, and the decoding process is performed on all the rows in the C1 sequence. The C1 series can correct errors of 2 symbols or less. Then, a C1 error flag is set on a line containing an error of 3 symbols or more (step). The data is read in the column direction, and the decoding process is performed on all columns in the C2 series. This decoding process corrects one symbol error. In addition, erasure correction of 2-symbol error is performed using the C1 error flag. A column that contains more errors will be flagged as a C2 error. Along with this, the C1 collection flag is set on the line containing the corrected symbol in the C2 sequence (step). It is judged whether all the syndromes of the C1 series and the C2 series have become “0” (step). If all the syndromes are “0”, the decoding process ends. When all the syndromes are not "0", the data of the line where the C1 collection flag is set is read and
Decoding processing is performed on the rows for which the collection flag is set. This decoding process corrects errors of 2 symbols or less. Then, erasure correction of a 4-symbol error is performed using the C2 error flag. When the correction is made, the C1 error flag of the corrected row is cleared.
Along with this, C2 is added to the column containing the corrected symbols in the C1 sequence.
The collection flag is set (step). It is judged whether all the syndromes of the C1 series and the C2 series have become “0” (step). If all the syndromes are “0”, the decoding process ends. When the syndromes are not all "0", the data in the column for which the C2 collection flag is set is read and C2
The decoding process is performed on the column for which the collection flag is set. This decoding process corrects an error of 1 symbol. Then, erasure correction of a 2-symbol error is performed using the C1 error flag. When the correction is made, the C2 error flag of the corrected column is cleared. Along with this, the C1 collection flag is set on the line containing the corrected symbol in the C2 sequence (step). Returning to the step, it is judged whether the syndrome is all "0". If the syndromes are not all "0", C1 for the line where the C1 collection flag is set
The sequence decoding process and the C2 sequence decoding process for the columns for which the C2 collection flag is set are alternately repeated. The present invention can be applied not only to the product code but also to the case of cross interleaving or the like. (Effect of the invention) According to the present invention, when decoding the C1 sequence, performing the decoding of the C2 sequence, and repeating the decoding of the C1 sequence again, the symbols that could not be error-corrected during the decoding of the previous C1 sequence The row that includes the row or the row that includes the error-corrected symbol when decoding the C2 series is the target of the decoding processing of the C1 series, and the decoding processing is not performed on the other rows. When repeating C2 sequence decoding again, the column containing the symbols that could not be error corrected during the previous C2 sequence decoding, or the column containing the error-corrected symbols during the C1 sequence decoding, was the C2 sequence decoding process. , And the decoding process is not performed for other columns. Therefore, it is possible to shorten the processing time such as the data reading time and the time for obtaining the syndrome when the C1 series decoding is repeated or the C2 series decoding is repeated.

【図面の簡単な説明】 第1図はこの発明が適用できる符号構成の一例の略線
図、第2図及び第3図は光磁気ディスクの記録フォーマ
ットの一例の略線図、第4図はこの発明の第1の実施例
の説明に用いるフローチャート、第5図はこの発明の第
2の実施例の説明に用いる略線図、第6図はこの発明の
第2の実施例の説明に用いるフローチャートである。 図面における主要な符号の説明 1:光磁気ディスク、2:トラック、3:サーボ信号領域、4:
データ・アドレス信号領域。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of an example of a code structure to which the present invention is applicable, FIGS. 2 and 3 are schematic diagrams of an example of a recording format of a magneto-optical disk, and FIG. FIG. 5 is a flow chart used for explaining the first embodiment of the present invention, FIG. 5 is a schematic diagram used for explaining the second embodiment of the present invention, and FIG. 6 is used for explaining the second embodiment of the present invention. It is a flowchart. Description of main symbols in the drawings 1: Magneto-optical disk, 2: Track, 3: Servo signal area, 4:
Data address signal area.

Claims (1)

(57)【特許請求の範囲】 1.所定数のシンボルに対して第1の系列で第1の符号
の復号化がなされ、第2の系列で第2の符号の復号化が
なされ、上記第1及び第2の系列での復号化処理を繰り
返すエラー訂正方法において、 上記第1の系列でエラー訂正処理を行うと共に、エラー
訂正不能な場合に第1の系列でのエラーフラグを訂正不
能な行若しくはその行の夫々のシンボルに対して設ける
ステップと、 上記第2の系列でエラー訂正処理を行うと共に、エラー
訂正不能な場合に第2の系列でのエラーフラグを訂正不
能な列若しくはその列の夫々のシンボルに対して設ける
と共に、上記第2の系列で訂正されたシンボルを含む行
にコレクションフラグを立てるステップと、 再度上記第1の系列でエラー訂正処理を行う際に、上記
前回の第2の系列でのエラー訂正処理時に立てられたコ
レクションフラグの立っている行を対象にエラー訂正す
るステップとからなるエラー訂正方法。 2.上記再度第1の系列でのエラー訂正処理を行う際
に、上記前回の第2の系列でのエラー訂正処理時に立て
られたエラーフラグを用いてイレージャ訂正するように
したことを特徴とする特許請求の範囲第1項記載のエラ
ー訂正方法。 3.上記再度第1の系列でのエラー訂正処理を行う際
に、上記前回の第2の系列でのエラー訂正処理時に立て
られたエラーフラグを用いてイレージャ訂正を行い、訂
正がなされた行のエラーフラグをリセットすると共に、
上記第1の系列で訂正されたシンボルを含む列に対して
コレクションフラグをセットするようにしたことを特徴
とする特許請求の範囲第2項記載のエラー訂正方法。 4.更に上記第2の系列でのエラー訂正処理を行う際
に、上記第1の系列でセットされたコレクションフラグ
の立っている列を対象に復号訂正が行なわれるようにし
たことを特徴とする特許請求の範囲第3項記載のエラー
訂正方法。
(57) [Claims] The first code is decoded in the first sequence, the second code is decoded in the second sequence for a predetermined number of symbols, and the decoding process in the first and second sequences is performed. In the error correction method, the error correction process is performed in the first series, and when the error correction is impossible, an error flag in the first series is provided for the uncorrectable row or each symbol of the row. Error correction processing is performed in the second sequence, and when the error correction is impossible, an error flag in the second sequence is provided for the uncorrectable sequence or each symbol of the sequence, and And a step of setting a collection flag in a row including a symbol corrected in the second series, and when performing the error correction processing in the first series again, during the error correction processing in the previous second series. Error correction method comprising the step of correcting error in that row standing collection flag temple target. 2. When performing the error correction processing in the first series again, the erasure correction is performed by using the error flag set at the time of the error correction processing in the previous second series. The error correction method according to the first item of the above. 3. When performing the error correction processing in the first series again, erasure correction is performed using the error flag set at the time of the previous error correction processing in the second series, and the error flag of the corrected row Along with resetting
The error correction method according to claim 2, wherein a collection flag is set for a column including the symbols corrected in the first sequence. 4. Further, when performing error correction processing in the second stream, decoding correction is performed for the column in which the collection flag set in the first stream is set. The error correction method described in the third item of the above.
JP62217547A 1987-08-31 1987-08-31 Error correction method Expired - Lifetime JP2692085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62217547A JP2692085B2 (en) 1987-08-31 1987-08-31 Error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62217547A JP2692085B2 (en) 1987-08-31 1987-08-31 Error correction method

Publications (2)

Publication Number Publication Date
JPS6461123A JPS6461123A (en) 1989-03-08
JP2692085B2 true JP2692085B2 (en) 1997-12-17

Family

ID=16705968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62217547A Expired - Lifetime JP2692085B2 (en) 1987-08-31 1987-08-31 Error correction method

Country Status (1)

Country Link
JP (1) JP2692085B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62177768A (en) * 1986-01-31 1987-08-04 Sony Corp Error correcting device

Also Published As

Publication number Publication date
JPS6461123A (en) 1989-03-08

Similar Documents

Publication Publication Date Title
US6751771B2 (en) Method and apparatus for error processing in optical disk memories
US8166369B2 (en) Method for error processing in optical disk memories
AU604836B2 (en) Method and apparatus for error correction
US4760576A (en) Error correction method
US6275965B1 (en) Method and apparatus for efficient error detection and correction in long byte strings using generalized, integrated, interleaved reed-solomon codewords
KR100236367B1 (en) Error correction method
US20090077452A1 (en) Method of generating error detection codes
US6378100B1 (en) Method and apparatus for encoding multiword information with error locative clues directed to low protectivity words
US20030095056A1 (en) Enhanced coding for informed decoders
EP1590808A4 (en) Method for encoding and decoding error correction block
JP2692085B2 (en) Error correction method
JPS63251968A (en) Disk recording system
JP4112520B2 (en) Correction code generation apparatus, correction code generation method, error correction apparatus, and error correction method
TWI226612B (en) Data accessing apparatus and method
JP4294407B2 (en) Signal processing method and signal processing circuit
JP2735230B2 (en) Rewritable optical disk device
JP2001244823A (en) Device for error correction in process for decoding cross- interleaved reed-solomon code
JP2002319247A (en) Optical recording medium, data recording device and data recording method
JP2600678B2 (en) Digital data playback device
JP2647646B2 (en) Error correction method
JPH0824269B2 (en) Error correction method
JPH07112160B2 (en) Decoding method of error correction code
JPS63302628A (en) Error correction method
JP2003257134A (en) Signal reproducing method and signal reproducing device
JPS6320921A (en) Error correction method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term