JP3246926B2 - Error correction processor - Google Patents

Error correction processor

Info

Publication number
JP3246926B2
JP3246926B2 JP25050691A JP25050691A JP3246926B2 JP 3246926 B2 JP3246926 B2 JP 3246926B2 JP 25050691 A JP25050691 A JP 25050691A JP 25050691 A JP25050691 A JP 25050691A JP 3246926 B2 JP3246926 B2 JP 3246926B2
Authority
JP
Japan
Prior art keywords
code
erasure
correction
unit
data
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 - Fee Related
Application number
JP25050691A
Other languages
Japanese (ja)
Other versions
JPH0561699A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP25050691A priority Critical patent/JP3246926B2/en
Publication of JPH0561699A publication Critical patent/JPH0561699A/en
Application granted granted Critical
Publication of JP3246926B2 publication Critical patent/JP3246926B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、3重リード・ソロモン
符号を用いて誤り訂正符号の付加や誤り検出を行う誤り
訂正処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction processing apparatus for adding an error correction code and detecting an error using a triple Reed-Solomon code.

【0002】[0002]

【従来の技術】近年、デジタル化されたオーディオ信号
の代わりに、コンピュータから転送されたデジタルデー
タをデジタルオーディオテープレコーダ(以下DATと
いう)に記録再生することにより、DATをコンピュー
タ外部記憶装置として用いるための開発が行われてい
る。これらの装置では、オーディオ信号の記録再生時に
用いられるトラック単位の誤り訂正符号に加え、複数ト
ラックにわたるデジタルデータを符号系列とした第3の
誤り訂正符号を付加して、デジタルデータの記録再生時
における信頼性強化が行なわれつつある。この第3の誤
り訂正符号を用いた訂正処理では、オーディオと共通の
誤り訂正処理によって各データの消失情報を使って誤り
訂正処理が効率的に行なわれている。
2. Description of the Related Art In recent years, a digital audio tape recorder (hereinafter, referred to as DAT) records and reproduces digital data transferred from a computer instead of a digitized audio signal, so that the DAT can be used as a computer external storage device. Is being developed. In these devices, a third error correction code, which is a code sequence of digital data over a plurality of tracks, is added in addition to an error correction code in track units used at the time of recording and reproduction of an audio signal, so that at the time of recording and reproduction of digital data, Reliability is being enhanced. In the correction processing using the third error correction code, the error correction processing is efficiently performed by using the erasure information of each data by the error correction processing common to the audio.

【0003】以下に、従来の誤り訂正処理装置について
説明する。図15は従来の誤り訂正処理装置のブロック
図を示すものである。本図において、データ再生部1は
デジタルデータを磁気媒体から再生し、デジタルオーデ
ィオ信号の場合と共通の誤り訂正処理を行うものであ
り、その出力はデータ受信部2,フラグ受信部3に与え
られる。データ受信部2は再生された符号データを受信
するものであり、フラグ受信部3は符号データに付加さ
れた消失フラグを受信するものである。一方、データメ
モリ4は符号データを記憶し、フラグメモリ5は消失フ
ラグを記憶するものである。個別消失位置演算部6はフ
ラグメモリ5から符号系列毎に消失フラグを読み出し
消失位置を算出するもので、その出力は訂正行列演算
部7に与えられる。訂正行列演算部7は個別消失位置か
ら符号系列毎に訂正行列を算出するものであり、その出
力は訂正処理部8に与えられる。訂正処理部8は1符号
系列のシンドロームを算出するシンドローム演算部9、
及びシンドローム演算部9の出力するシンドロームと訂
正行列から誤りパターンを算出し消失訂正を行う訂正部
10を含むものである。メモリ管理部11はデータメモ
リ4とフラグメモリ5へのアクセスを、データ受信部
2,個別消失位置演算部6,訂正処理部8,データ出力
部12等の指示によって管理するものである。データ出
力部12は誤りが訂正されてデータを出力する出力部、
制御部13は訂正行列演算部7,訂正処理部8,メモリ
管理部11の動作を制御するものである。
[0003] A conventional error correction processing device will be described below. FIG. 15 shows a block diagram of a conventional error correction processing device. In the figure, a data reproducing unit 1 reproduces digital data from a magnetic medium and performs an error correction process common to the case of a digital audio signal, and its output is given to a data receiving unit 2 and a flag receiving unit 3. . The data receiving unit 2 receives the reproduced code data, and the flag receiving unit 3 receives the erasure flag added to the code data. On the other hand, the data memory 4 stores code data, and the flag memory 5 stores an erasure flag. Pieces reads erasure flags to code each sequence from the individual lost position calculating unit 6 flag memory 5
It calculates a separate erasure position, the output is given to the correction matrix calculation unit 7. The correction matrix calculation unit 7 calculates a correction matrix for each code sequence from the individual erasure position, and its output is provided to the correction processing unit 8. A correction processing unit 8 calculates a syndrome of one code sequence,
And a correction unit 10 that calculates an error pattern from the syndrome output from the syndrome operation unit 9 and the correction matrix and performs erasure correction. The memory management unit 11 manages access to the data memory 4 and the flag memory 5 according to instructions from the data reception unit 2, the individual erasure position calculation unit 6, the correction processing unit 8, the data output unit 12, and the like. A data output unit 12 for outputting data with the error corrected,
The control unit 13 controls operations of the correction matrix calculation unit 7, the correction processing unit 8, and the memory management unit 11.

【0004】以上のように構成された誤り訂正処理装置
の動作を図16を用いて説明する。図16は制御部13
により誤り訂正が実行される動作手順を示すフローチャ
ートである。動作を開始すると、まずステップ21でメ
モリ管理部11を制御して、データ受信部2を介して受
信した全符号系列の再生符号データをデータバス2aを
介してデータメモリ4に記憶させる。このときデータ再
生部1はオーディオデータと共通の誤り訂正処理では訂
正できなかった符号データに対して消失フラグを出力す
る。制御部13は同様にメモリ管理部11を制御して、
フラグ受信部3から受信した符号データの消失フラグを
ライン3aを介してフラグメモリ5に記憶させる。デー
タメモリ4の符号データ、フラグメモリ5の消失フラグ
は夫々、後述する図3のマトリックスに2次元データと
して管理され、行方向に順次格納される。各符号系列は
列方向に構成され、行番号が符号位置に、列番号が符号
系列番号となる。
[0004] The operation of the error correction processing apparatus configured as described above will be described with reference to FIG. FIG. 16 shows the control unit 13
Is a flowchart showing an operation procedure in which the error correction is performed by the following. When the operation is started, first, in step 21, the memory management unit 11 is controlled to store the reproduction code data of the entire code sequence received via the data reception unit 2 in the data memory 4 via the data bus 2a. At this time, the data reproducing unit 1 outputs an erasure flag for the coded data that could not be corrected by the common error correction processing with the audio data. The control unit 13 similarly controls the memory management unit 11,
The erasure flag of the code data received from the flag receiver 3 is stored in the flag memory 5 via the line 3a. The code data of the data memory 4 and the disappearance flag of the flag memory 5 are managed as two-dimensional data in a matrix shown in FIG. 3 described later, and are sequentially stored in the row direction. Each code sequence is configured in the column direction, with the row number being the code position and the column number being the code sequence number.

【0005】ステップ22に進み、符号系列番号をクリ
アし誤り訂正処理の初期化を行う。そしてステップ23
に移り、制御部13はメモリ管理部11を制御して符号
系列番号で指示される符号系列内の消失フラグをフラグ
メモリ5から読みだす。そして次のステップ24で個別
消失位置演算部6にその符号系列の個別消失位置を算出
させる。ステップ25に進み、消失フラグの付いた符号
データの個数(以降、消失個数という。)を調べ、消失
個数が規定の範囲内ならステップ26に進んで訂正行列
演算部7を制御し、得られた個別消失位置を基に訂正行
列を算出する。そして次のステップ27以降で訂正処理
部8を制御して、1符号系列のシンドローム算出、誤り
パターン算出、及び誤り訂正を実行する。即ちステップ
27で訂正処理部8のシンドローム演算部9がメモリ管
理部11を介して符号系列番号で指示される符号系列デ
ータを順次読み出し、情報ビットとチェックビットの値
よりシンドロームを算出する。そして、ステップ28で
訂正部10は、ステップ27で得られたシンドロームと
訂正行列から誤りパターンを検出する。又、訂正部10
は次のステップ29で特定の個別消失位置で示される符
号位置の符号データを訂正する。
At step 22, the code sequence number is cleared and error correction processing is initialized. And step 23
The control unit 13 controls the memory management unit 11 to read out the erasure flag in the code sequence indicated by the code sequence number from the flag memory 5. Then, in the next step 24, the individual erasure position calculation unit 6 calculates the individual erasure position of the code sequence. Proceeding to step 25, the number of coded data with the erasure flag (hereinafter referred to as the erasure number) is checked, and if the erasure number is within a specified range, the flow advances to step 26 to control the correction matrix operation unit 7, and the obtained value is obtained. A correction matrix is calculated based on the individual erasure positions. Then, in the next step 27 and thereafter, the correction processing unit 8 is controlled to execute syndrome calculation, error pattern calculation, and error correction of one code sequence. That is, in step 27, the syndrome operation unit 9 of the correction processing unit 8 sequentially reads out the code sequence data indicated by the code sequence number via the memory management unit 11, and calculates the syndrome from the information bit and the check bit value. Then, in step 28, the correction unit 10 detects an error pattern from the syndrome and the correction matrix obtained in step 27. Correction unit 10
Corrects the code data at the code position indicated by the specific individual erasure position in the next step 29.

【0006】以上のように1符号系列の誤り訂正が行わ
れ、続くステップ30で符号系列番号をインクリメント
し、ステップ31で、他の全符号系列の誤り訂正処理が
終了するまでステップ23から30の処理を繰り返し、
全符号データの誤り訂正を逐一実行する。全符号系列の
誤り訂正が終了した後、ステップ32に進み、訂正され
たデータをデータ出力部12を介して出力し処理を終え
る。
As described above, the error correction of one code sequence is performed. In the following step 30, the code sequence number is incremented. In step 31, the error correction of steps 23 to 30 is performed until the error correction processing of all other code sequences is completed. Repeat the process,
Error correction of all code data is executed one by one. After the error correction for all code sequences is completed, the process proceeds to step 32, where the corrected data is output via the data output unit 12, and the process is completed.

【0007】次に、ステップ25で符号データの消失個
数が訂正処理部8の訂正能力を超えた場合にはステップ
33に進み、訂正不能として再度同じデータを記録媒体
から再生し、誤り訂正を試みるリリード移行設定等の後
処理を行い全体の処理を終了する。
Next, if the number of erasures of the code data exceeds the correction capability of the correction processing unit 8 in step 25, the process proceeds to step 33, in which the same data is reproduced again from the recording medium as uncorrectable and error correction is attempted. Post processing such as reread transfer setting is performed, and the entire processing ends.

【0008】ここで実際の訂正例を挙げて誤り訂正処理
を説明する。例えば図3に示す符号系列Aの誤り訂正を
考えると、訂正処理として符号系列Aの消失フラグをフ
ラグメモリ5から順次読み出し、消失フラグの付く符号
位置#03,#40,#62を消失位置として検出す
る。この消失位置を基に訂正行列[H]を算出してお
く。続いて符号系列Aの符号データをデータメモリ4か
ら順次読み出し、シンドローム[S]を算出する。次の
(1)式で示すように訂正行列[H]とシンドローム
[S]から誤りパターン[Y]を求め、消失位置で指定
されるデータの誤りを訂正する。誤りパターン[Y]
は、シンドローム[S]、訂正行列[H]から次式で求
められる。 [Y]=[H][S]・・・(1) このような処理を符号系列Bや他の全符号系列で実行す
ることで全ての符号データの誤りを訂正することができ
る。
Here, the error correction processing will be described with reference to an actual correction example. For example, considering the error correction of the code sequence A shown in FIG. 3, the erasure flags of the code sequence A are sequentially read out from the flag memory 5 as the correction processing, and the code positions # 03, # 40, and # 62 with the erasure flags are set as the erasure positions. To detect. A correction matrix [H] is calculated based on this lost position. Subsequently, the code data of the code sequence A is sequentially read from the data memory 4, and the syndrome [S] is calculated. As shown by the following equation (1), an error pattern [Y] is obtained from the correction matrix [H] and the syndrome [S], and an error of data specified at the erasure position is corrected. Error pattern [Y]
Is obtained from the syndrome [S] and the correction matrix [H] by the following equation. [Y] = [H] [S] (1) By executing such processing on the code sequence B and all other code sequences, errors in all code data can be corrected.

【0009】[0009]

【発明が解決しようとする課題】しかしながらこのよう
な従来の構成では、1符号系列の誤り訂正を実行する度
にフラグメモリから消失フラグを読み出して消失位置を
検出する構成となっており、且つ訂正行列を符号系列毎
に毎回算出する構成となっている。このために、第1に
フラグメモリの読み出し、訂正行列演算のための多くの
処理時間が必要であること、第2に消失フラグを記憶す
るために大きなメモリ容量が必要であること、第3に訂
正行列算出のための高速性を有するハードウェアが必要
であること、第4に誤り訂正装置の訂正限界を超えてい
るかどうかが符号系列毎に符号データの消失個数を算出
される時点までの判明しないこと等の問題点を有してい
た。
However, in such a conventional configuration, the erasure flag is read from the flag memory every time the error correction of one code sequence is executed, and the erasure position is detected. The matrix is calculated every time a code sequence is calculated. For this reason, firstly, a large amount of processing time is required for reading out the flag memory and calculating the correction matrix, secondly, a large memory capacity is required to store the erasure flag, and thirdly, Fourth, it is necessary to have high-speed hardware for calculating the correction matrix. Fourth, it is determined whether the number of erasures of the code data is calculated for each code sequence, whether or not the correction limit of the error correction device is exceeded. There was a problem of not doing so.

【0010】本発明はこのような従来の問題点に鑑みて
なされたものであって、第1に高速に訂正処理が実行で
き、第2に訂正能力を劣化させることなく少ないメモリ
容量で効率的な訂正処理が実行でき、第3に訂正処理開
始前に訂正能力を超えているかが判別できる誤り訂正処
理装置を提供することを目的とする。
The present invention has been made in view of such a conventional problem. First, a correction process can be performed at a high speed, and second, an efficient correction process can be performed with a small memory capacity without deteriorating the correction capability. Thirdly, it is an object of the present invention to provide an error correction processing device capable of executing an accurate correction process and determining whether the correction capability is exceeded before the start of the correction process.

【0011】[0011]

【課題を解決するための手段】本願の請求項1の発明
は、誤り訂正符号を含む符号データを受信するデータ受
信部と、受信した符号データを記憶する符号データ記憶
部と、符号データが符号誤りを有するか又は符号誤り部
分を前後データから類推補完した疑似符号を有するかを
示す消失フラグを符号データから分離して受信するフラ
グ受信部と、1つ以上の符号系列で消失フラグの付いた
符号位置を、全符号系列において同じ符号位置に誤りが
存在するものとして扱う位置情報を共通消失位置とし、
各符号位置に対応した消失フラグの受信順序を基に共通
消失位置を算出する共通消失位置演算部と、共通消失位
置演算部より算出された共通消失位置から原符号データ
の訂正行列を算出する訂正行列演算部と、共通消失位置
演算部から算出された共通消失位置、及び訂正行列演算
部から算出された訂正行列を基に、受信した符号データ
の全符号系列に対し同じ消失位置の消失訂正処理を行う
訂正処理部と、を具備することを特徴とするものであ
る。
According to a first aspect of the present invention, there is provided a data receiving section for receiving code data including an error correction code, a code data storage section for storing the received code data, A flag receiving unit that receives an erasure flag indicating whether there is an error or has a pseudo code in which a code error portion is inferred from previous and subsequent data by analogy, from the code data and receives the erasure flag;
When the code position is changed to the same code position in all code sequences,
The location information treated as existing is defined as the common vanishing location,
Common based on the reception order of the erasure flags corresponding to each code position
The common erasure position calculation unit for calculating the erasure position, and correction matrix calculation unit for calculating a correction matrix of the original code data from a common lost position calculated from the common erasure position calculating unit, which is calculated from a common lost position calculating unit common Erasure position and correction matrix operation
And a correction processing unit that performs an erasure correction process at the same erasure position on the entire code sequence of the received code data based on the correction matrix calculated by the unit .

【0012】本願の請求項2の発明は、誤り訂正符号を
含む符号データを受信するデータ受信部と、受信した符
号データを記憶する符号データ記憶部と、符号データが
符号誤りを有するか又は符号誤り部分を前後データから
類推補完した疑似符号を有するかを示す消失フラグを符
号データから分離して受信するフラグ受信部と、1つ以
上の符号系列で消失フラグの付いた符号位置を、全符号
系列において同じ符号位置に誤りが存在するものとして
扱う位置情報を共通消失位置とし、各符号位置に対応し
た消失フラグの受信順序を基に共通消失位置を算出する
共通消失位置演算部と、消失フラグが付いた符号位置
を、消失フラグの受信順序を基に符号系列毎に個別に求
め、符号系列毎の個別消失位置を算出する個別消失位置
演算部と、共通消失位置又は個別消失位置から原符号デ
ータの訂正行列を算出する訂正行列演算部と、共通消失
位置に対する訂正行列を基に全符号系列に対し同じ消失
位置の消失訂正処理を行う動作を共通訂正モードとし、
個別消失位置に対する訂正行列を基に各符号系列別に各
消失位置の消失訂正処理を行う動作を個別訂正モードと
するとき、共通訂正モード又は個別訂正モードの何れか
の誤り訂正処理を実行する訂正処理部と、共通訂正モー
ド及び個別訂正モードの何れかを訂正処理部に指示する
訂正処理選択手段と、を具備することを特徴とするもの
である。
According to a second aspect of the present invention, there is provided a data receiving section for receiving code data including an error correction code, a code data storage section for storing the received code data, a flag receiving unit for receiving and separating the erasure flag indicating whether a pseudo code that analogy complement error portion from the longitudinal data from the code data, one or more
The code position with the erasure flag in the above code sequence is
Assuming that an error exists at the same code position in the sequence
The position information to be handled is a common erasure position, and
Calculating a common erasure position based on the received order of the erasure flags, a common erasure position calculation unit, and a code position with the erasure flag
For each code sequence based on the reception order of the erasure flags.
Therefore, an individual erasure position calculation unit that calculates an individual erasure position for each code sequence, and an original coded data from the common erasure position or the individual erasure position.
A correction matrix calculation unit for calculating the over data correction matrix, the common loss
Same erasure for all code sequences based on position correction matrix
The operation of performing position erasure correction processing is set to a common correction mode,
Each code sequence is based on the correction matrix for the individual erasure position.
The operation to perform the erasure correction processing of the erasure position is called the individual correction mode.
When to perform, either common correction mode or individual correction mode
A correction processing unit that performs error correction processing, the common correction mode
And a correction processing selecting means for instructing the correction processing unit to select one of a correction mode and an individual correction mode .

【0013】本願の請求項3の発明は、共通消失位置で
指示される訂正対象のデータ数を計数する消失個数計数
手段を有し、訂正処理選択手段は、消失個数と誤り訂正
符号の消失訂正能力を比較し、訂正能力内である場合に
共通消失位置演算部と訂正処理部の共通訂正モードを選
択し、訂正限界を超えている場合は個別消失位置演算部
訂正処理部の個別訂正モードを選択するものであること
を特徴とするものである。
[0013] The invention of claim 3 of the present application has erasure number counting means for counting the number of data to be corrected indicated at the common erasure position, and the correction processing selection means includes the erasure number and the erasure correction of the error correction code. Compare the abilities, select the common correction mode of the common erasure position calculation unit and the correction processing unit when the correction abilities are within the range, and set the individual correction mode of the individual erasure position calculation unit correction processing unit when the correction limit is exceeded. It is a feature that is selected.

【0014】本願の請求項4の発明は、請求項2記載の
誤り訂正処理装置において、高速誤り訂正処理と低速誤
り訂正処理とを切り替える処理速度切替手段を有し、訂
正処理選択手段は、高速処理が設定された場合は訂正処
理部の共通訂正モードを選択し、低速処理が設定された
場合は訂正処理部の個別訂正モードを選択することを特
徴とするものである。
The invention of claim 4 of the present application is directed to claim 2
In the error correction processing unit has a processing speed switching means for switching between a high-speed error correction processing and slow error correction processing, correction processing selection means, correction processing when the high-speed processing is set
And selecting an individual correction mode of the correction processing unit when the common correction mode of the processing unit is selected and the low-speed processing is set.

【0015】本願の請求項5の発明は、誤り訂正符号を
含む符号データを受信するデータ受信部と、受信した符
号データを記憶する符号データ記憶部と、符号データが
符号誤りを有するか又は符号誤り部分を前後データから
類推補完した疑似符号を有するかを示す消失フラグを符
号データから分離して受信するフラグ受信部と、消失フ
ラグが付いた符号位置を、消失フラグの受信順序を基に
符号系列毎に個別に求め、符号系列毎の個別消失位置を
算出する個別消失位置演算部と、個別消失位置を一時的
に記憶する個別消失位置記憶部と、個別消失位置演算部
から算出された個別消失位置、及び訂正行列を基に、
号系列別に各消失位置の消失訂正処理を行う訂正処理部
と、を具備することを特徴とするものである。
According to a fifth aspect of the present invention, there is provided a data receiving section for receiving code data including an error correction code, a code data storage section for storing the received code data, a flag receiving unit for receiving and separating the erasure flag indicating whether a pseudo code that analogy complement error portion from the longitudinal data from the code data, loss off
The code position with the lag is determined based on the reception order of the erasure flag.
The individual erasure positions for each code sequence are obtained individually for each code sequence.
An individual erasure position calculation unit for calculating, an individual erasure position storage unit for temporarily storing an individual erasure position, and an individual erasure position calculation unit
And a correction processing unit that performs erasure correction processing for each erasure position for each code sequence based on the individual erasure positions calculated from, and the correction matrix .

【0016】本願の請求項6の発明は、誤り訂正符号を
含む符号データを受信するデータ受信部と、受信した符
号データを記憶する符号データ記憶部と、符号データが
符号誤りを有するか又は符号誤り部分を前後データから
類推補完した疑似符号を有するかを示す消失フラグを符
号データから分離して受信するフラグ受信部と、符号デ
ータと消失フラグを1ワードとして同一アドレスに記憶
する符号データ記憶部と、符号データ記憶手段から各符
号系列の符号データを読出すとき、これと同時に読み出
される消失フラグをもとに個別消失位置を算出する個別
消失位置演算部と、個別消失位置から算出された訂正行
列と個別消失位置をもとに符号系列別に各消失位置の消
失訂正処理を行う訂正処理部と、を具備することを特徴
とするものである。
According to a sixth aspect of the present invention, there is provided a data receiving unit for receiving code data including an error correction code, a code data storage unit for storing the received code data, A flag receiving unit that separates and receives from the code data an erasure flag indicating whether or not a pseudo code has an error part supplemented by analogy from preceding and succeeding data, and a code data storage unit that stores the code data and the erasure flag as one word at the same address And when reading the code data of each code sequence from the code data storage means, an individual erasure position calculation unit that calculates an individual erasure position based on the erasure flag that is read at the same time, and a correction calculated from the individual erasure position. And a correction processing unit that performs erasure correction processing of each erasure position for each code sequence based on the matrix and the individual erasure positions.

【0017】本願の請求項7の発明は、誤り訂正符号を
含む符号データを受信するデータ受信部と、受信した符
号データを記憶する符号データ記憶部と、符号データが
符号誤りを有するか又は符号誤り部分を前後データから
類推補完した疑似符号を有するかを示す消失フラグを符
号データから分離して受信するフラグ受信部と、1つ以
上の符号系列で消失フラグの付いた符号位置を、全符号
系列において同じ符号位置に誤りが存在するものとして
扱う位置情報を共通消失位置とし、共通消失位置の個数
を消失フラグの入力時に計数する共通消失個数計数部
と、共通消失位置から原符号データの訂正行列を算出す
る訂正行列演算部と、共通消失個数計数部の計数値が消
失訂正能力を超えた時点で訂正不能であることを検出す
訂正不能検出部と、共通消失位置演算部から算出され
た共通消失位置、及び訂正行列演算部から算出された訂
正行列を基に、受信した符号データの全符号系列に対し
同じ消失位置の消失訂正処理を行う訂正処理部と、を具
備することを特徴とするものである。
According to a seventh aspect of the present invention, there is provided a data receiving section for receiving code data including an error correction code, a code data storage section for storing the received code data, a flag receiving unit for receiving and separating the erasure flag indicating whether a pseudo code that analogy complement error portion from the longitudinal data from the code data, one or more
The code position with the erasure flag in the above code sequence is
Assuming that an error exists at the same code position in the sequence
The position information to be handled is the common erasure position, and the number of common erasure positions
Erasure flag is input when the erasure flag is input, a correction matrix operation unit that calculates the correction matrix of the original code data from the common erasure position, and the count value of the common erasure number counter is erased.
Detects that it is impossible to correct the data when the uncorrectable capacity is exceeded
And uncorrectable detector that is calculated from a common lost position calculating unit
Common erasure position and the correction calculated by the correction matrix operation unit.
Based on the positive matrix, the entire code sequence of the received code data
And a correction processing unit for performing erasure correction processing at the same erasure position .

【0018】本願の請求項8の発明は、請求項1記載の
誤り訂正処理装置において、消失フラグが付いた符号デ
ータの個数を消失フラグの受信順序に基づいて符号系列
毎に求め、符号系列毎の個別消失個数として算出する個
別消失個数計数部と、個別消失個数計数部の計数値が消
失訂正能力を超えた時点で訂正不能であることを検出す
る訂正不能検出部と、を更に設けたことを特徴とするも
のである。
[0018] the invention of claim 8, of claim 1, wherein
In the error correction processor, the code data with the erasure flag
Data sequence based on the reception order of the erasure flag.
Number calculated for each code sequence and calculated as the number of individual erasures for each code sequence
The count values of the separate lost number counting unit and the individual lost number counting unit
Detects that it is impossible to correct the data when the uncorrectable capacity is exceeded
And an uncorrectable detection unit .

【0019】[0019]

【作用】このような特徴を有する本願の請求項1の発明
によれば、共通消失位置演算部が共通消失位置を算出
し、全符号系列に共通な消失位置の消失データがあるも
のとして訂正処理を行う。そして全符号系列で同じ訂正
行列演算を用いて高速に符号データの訂正処理を行う。
According to the first aspect of the present invention having such a feature, the common erasure position calculation unit calculates the common erasure position, and performs correction processing assuming that there is erasure data at the erasure position common to all code sequences. I do. Then, the code data is corrected at high speed by using the same correction matrix operation for all code sequences.

【0020】又、本願の請求項2〜4の発明によれば、
全符号系列に同じ消失位置の誤りがあったものとして訂
正処理する共通消失位置をフラグ入力時に算出する共通
消失位置演算部、又は各符号系列毎に各々異なる消失位
置の誤りがあるものとして訂正処理する個別消失位置を
フラグ入力時に算出する個別消失位置演算部の何れかに
より、符号データの訂正処理を行う。
According to the second to fourth aspects of the present invention,
A common erasure position calculation unit that calculates a common erasure position at the time of inputting a flag, or a correction process assuming that there is an error at a different erasure position for each code sequence. Correction processing of the code data is performed by any of the individual erasure position calculation units that calculate the individual erasure position to be performed when the flag is input.

【0021】更に、本願の請求項5の発明によれば、個
別消失位置演算部で入力される消失フラグの受信順序を
もとに消失フラグを算出し、個別消失位置記憶部で個別
消失位置を一時的に記憶させて、個別消失位置から算出
された訂正行列を用いて符号系列別に、符号データの訂
正処理を行う。
Further, according to the invention of claim 5 of the present application, the individual erasure position is calculated by the individual erasure position calculation unit based on the reception order of the erasure flags input, and the individual erasure position is stored in the individual erasure position storage unit. The code data is temporarily stored, and the code data is corrected for each code sequence using the correction matrix calculated from the individual erasure position.

【0022】本願の請求項6の発明によれば、符号デー
タ記憶部によりデータと消失フラグを1ワードとして記
憶し、これより消失フラグを読み出して個別消失位置を
算出し、符号データの訂正処理を行う。
According to the invention of claim 6 of the present application, the code data storage unit stores the data and the erasure flag as one word, reads out the erasure flag therefrom, calculates the individual erasure position, and executes the correction processing of the coded data. Do.

【0023】本願の請求項7〜8の発明によれば、共通
消失個数計数部又は個別消失個数計数部により、消失フ
ラグの受信順序をもとに符号データの符号位置の個数を
計数する。次に訂正不能検出部により共通消失個数計数
値又は個別消失個数計数値の出力と誤り訂正符号の消失
訂正能力とを比較して、符号データの訂正処理を行う。
According to the seventh and eighth aspects of the present invention, the number of code positions of code data is counted by the common erasure number counting unit or the individual erasure number counting unit based on the reception order of the erasure flags. Next, the uncorrectable detection unit compares the output of the common erasure number count value or the individual erasure number count value with the erasure correction capability of the error correction code, and performs code data correction processing.

【0024】[0024]

【実施例】以下本発明の第1実施例について、図面を参
照しながら説明する。図1は本発明の第1実施例におけ
る誤り訂正処理装置の全体構成を示すブロック図であ
る。データ再生部1,テータ受信部2,フラグ受信部
3,訂正行列演算部7,訂正処理部8,シンドローム演
算部9,訂正部10,メモリ管理部11,データ出力部
12,制御部13は、従来の誤り訂正装置と同一である
ので、詳細な説明は省略する。データ再生部1は記録媒
体からの信号を入力し、オーディオデータと共通の誤り
訂正処理を行うものであり、その出力はデータ受信部2
及びフラグ受信部3に与えられる。フラグ受信部3は符
号データの消失フラグを受信するもので、その出力は転
送カウンタ40及び共通消失位置演算部45に与えられ
る。転送カウンタ40はフラグデータの入力順をモニタ
するものであり、その構成を図4に示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of the error correction processing device according to the first embodiment of the present invention. The data reproducing unit 1, the data receiving unit 2, the flag receiving unit 3, the correction matrix operation unit 7, the correction processing unit 8, the syndrome operation unit 9, the correction unit 10, the memory management unit 11, the data output unit 12, and the control unit 13 Since the configuration is the same as that of the conventional error correction device, detailed description is omitted. The data reproducing unit 1 receives a signal from a recording medium and performs an error correction process common to audio data.
And the flag receiving unit 3. The flag receiving unit 3 receives the erasure flag of the code data, and its output is provided to the transfer counter 40 and the common erasure position calculation unit 45. The transfer counter 40 monitors the input order of the flag data, and its configuration is shown in FIG.

【0025】図4に示すように転送カウンタ40は、行
カウンタ41,列カウンタ42,行最大値検出部43に
より構成される。行カウンタ41は図3に示す消失フラ
グを含む符号データの行番号をカウントアップ信号によ
りカウントし、消失フラグを含む符号系列の行位置を出
力するものである。又、行カウンタ41により符号デー
タの行方向の計数値が最大値となれば行最大値検出部4
3によって行カウンタ41がクリアされ、列カウンタ4
2がインクリメントされる。列カウンタ42は符号デー
タの列番号をカウントし、その出力を符号位置データと
して出力するものである。ここで転送カウンタ40の消
失フラグを含む行位置と列位置のデータは共通消失位置
演算部45に与えられる。共通消失位置演算部45は転
送カウンタ40の出力値から消失フラグを有する符号デ
ータの共通消失位置を算出するもので、その出力は訂正
行列演算部7に与えられる。訂正行列演算部7は共通消
失位置から共通消失訂正行列のデータを求めるもので、
その出力は訂正処理部8に与えられる。訂正処理部8は
シンドローム演算部9及び訂正部10を含み、シンドロ
ーム演算部9は各符号系列の情報ビットとチェックビッ
トによりシンドローム値を算出するもので、その結果を
訂正部10に与える。訂正部10はシンドローム演算部
9からのシンドローム値と訂正行列演算部7からの訂正
行列からの誤りパターンを算出し、消失訂正を行うもの
である。
As shown in FIG. 4, the transfer counter 40 comprises a row counter 41, a column counter 42, and a row maximum value detecting section 43. The row counter 41 counts the row number of the code data including the erasure flag shown in FIG. 3 by a count-up signal, and outputs the row position of the code sequence including the erasure flag. When the count value of the code data in the row direction becomes the maximum value by the row counter 41, the row maximum value detection unit 4
3 clears the row counter 41 and the column counter 4
2 is incremented. The column counter 42 counts the column number of the code data and outputs the output as code position data. Here, the data of the row position and the column position including the erasure flag of the transfer counter 40 are given to the common erasure position calculation unit 45. The common erasure position calculation unit 45 calculates the common erasure position of the code data having the erasure flag from the output value of the transfer counter 40, and the output is provided to the correction matrix calculation unit 7. The correction matrix operation unit 7 calculates data of a common erasure correction matrix from a common erasure position.
The output is provided to the correction processing unit 8. The correction processing unit 8 includes a syndrome calculation unit 9 and a correction unit 10. The syndrome calculation unit 9 calculates a syndrome value using information bits and check bits of each code sequence, and provides the result to the correction unit 10. The correction unit 10 calculates an error pattern from the syndrome value from the syndrome operation unit 9 and the correction matrix from the correction matrix operation unit 7 and performs erasure correction.

【0026】一方、データ受信部2は再生された符号デ
ータを受信するものであり、その出力はデータバス2a
を介してシンドローム演算部9,訂正部10,データ出
力部12,メモリ46に与えられる。又、制御部13は
訂正行列演算部7,訂正処理部8,メモリ管理部11の
動作を制御するものであり、後述するように動作手順に
よりデータ出力部12より訂正後データを出力するよう
各ブロックを管理するものである。メモリ管理部11は
データ受信部2,訂正部10,シンドローム演算部9,
制御部13,データ出力部12と夫々制御信号の入出力
を行い、メモリ46の符号データを管理するものであ
る。メモリ46はメモリ管理部11からの指示により、
データ受信部2から出力される再生符号データを図3に
示す二次元の符号データとして記憶する符号データ記憶
部である。
On the other hand, the data receiving section 2 receives the reproduced code data, and its output is a data bus 2a.
To the syndrome operation unit 9, the correction unit 10, the data output unit 12, and the memory 46. The control unit 13 controls the operations of the correction matrix calculation unit 7, the correction processing unit 8, and the memory management unit 11, and outputs the corrected data from the data output unit 12 according to the operation procedure as described later. It manages blocks. The memory management unit 11 includes a data reception unit 2, a correction unit 10, a syndrome operation unit 9,
The control unit 13 and the data output unit 12 input and output control signals, respectively, and manage code data in the memory 46. The memory 46 receives an instruction from the memory management unit 11 and
This is a code data storage unit that stores reproduced code data output from the data receiving unit 2 as two-dimensional code data shown in FIG.

【0027】このように構成された第1実施例の誤り訂
正処理装置の動作について、図1及び図2を用いて説明
する。図2は制御部13により誤り訂正が実行される動
作手順を示すフローチャートである。まずステップ51
でメモリ管理部11を制御して、データ受信部2を介し
て受信した再生符号データをメモリ46に記憶させる。
このメモリ46の符号データは図3に示すような2次元
の符号データである。符号データの転送順は行方向に行
われ、1列のデータが1符号系列を形成する。またデー
タ再生部1はオーディオデータと共通の誤り訂正処理を
行い、この処理で訂正できなかった符号データに対する
消失フラグを、符号データと同じ転送順で出力する。こ
の消失フラグの入力順に従い、転送カウンタ40によっ
て図3の2次元データの行列位置を特定し、共通消失位
置演算部45は1行分の消失フラグの転送毎に消失フラ
グが少なくとも1つある行番号を共通消失位置として算
出する。図4の転送カウンタ40において、先ず2次元
データが行方向に転送されるため、行カウンタ41は転
送毎にインクリメントされ最大値になった後、行カウン
タ41がクリアされ、列カウンタ42をインクリメント
される。これにより各々のカウンタ値が、行及び列位
置、即ち符号位置及び符号系列番号を表すことになる。
The operation of the thus configured error correction processing device of the first embodiment will be described with reference to FIGS. FIG. 2 is a flowchart illustrating an operation procedure in which the control unit 13 performs error correction. First, step 51
And controls the memory management unit 11 to store the reproduction code data received via the data reception unit 2 in the memory 46.
The code data in the memory 46 is two-dimensional code data as shown in FIG. The transfer order of the code data is performed in the row direction, and one column of data forms one code sequence. Further, the data reproducing unit 1 performs common error correction processing with the audio data, and outputs an erasure flag for the code data that could not be corrected by this processing in the same transfer order as the code data. In accordance with the input order of the erasure flags, the transfer counter 40 identifies the matrix position of the two-dimensional data in FIG. The number is calculated as the common erasure position. In the transfer counter 40 of FIG. 4, first, the two-dimensional data is transferred in the row direction. Therefore, the row counter 41 is incremented every transfer and reaches a maximum value, then the row counter 41 is cleared and the column counter 42 is incremented. You. Thus, each counter value indicates a row and column position, that is, a code position and a code sequence number .

【0028】次にステップ52に進み共通消失位置とな
った行の個数(以下、共通消失個数という。)を調べ、
消失個数が規定の範囲内ならステップ53に進む。ここ
では訂正行列演算部7にその共通消失位置に対する訂正
行列を算出させる。訂正行列の演算が終了するとステッ
プ54に進み、符号系列番号をクリアし誤り訂正処理部
8を初期化する。そしてステップ55に進み誤り2次元
データからシンドロームの値の算出、誤りパターン算
出、及び誤り訂正を実行する。即ちシンドローム演算部
9がメモリ管理部11を介して符号系列番号で指示され
る符号データを順次読み出し、シンドローム値を算出す
る。そして訂正部10は得られたシンドローム値と訂正
行列から誤りパターンを算出し、消失位置で示される符
号位置の符号データを訂正する。これにより1符号系列
の誤り訂正が実行されるとステップ56に進み、符号系
列番号をインクリメントして全符号系列の誤り訂正処理
が終了するまでステップ55、56の処理を繰り返し、
全符号データの誤り訂正を実行する。ステップ57で全
符号データの誤りが訂正された後、ステップ58に進
み、メモリ管理部11を制御してデータ出力部12を介
して訂正された符号データを出力して処理を終える。
尚、ステップ52で消失個数が訂正能力を超えた場合に
はステップ59に進み、訂正不能とし処理を終了する。
Then, the process proceeds to a step 52, wherein the number of rows at the common erasure position (hereinafter referred to as the number of common erasures) is checked.
If the number of disappearances is within the specified range, the process proceeds to step 53. Here, the correction matrix calculation unit 7 is caused to calculate a correction matrix for the common erasure position. When the calculation of the correction matrix is completed, the process proceeds to step 54, where the code sequence number is cleared and the error correction processing unit 8 is initialized. Then, the process proceeds to a step 55, wherein calculation of a syndrome value, error pattern calculation, and error correction are performed from the error two-dimensional data. That is, the syndrome calculation unit 9 sequentially reads out the code data indicated by the code sequence number via the memory management unit 11 and calculates a syndrome value. Then, the correction unit 10 calculates an error pattern from the obtained syndrome value and the correction matrix, and corrects the code data at the code position indicated by the erasure position. When the error correction of one code sequence is executed, the process proceeds to step 56, where the code sequence number is incremented, and the processes of steps 55 and 56 are repeated until the error correction process of all code sequences is completed.
Executes error correction for all code data. After the errors of all the code data have been corrected in step 57, the process proceeds to step 58, where the memory management unit 11 is controlled to output the corrected code data via the data output unit 12, and the process ends.
If the erased number exceeds the correction capability in step 52, the process proceeds to step 59, in which the correction is disabled and the process is terminated.

【0029】ここで共通消失位置による訂正処理の例を
挙げて説明する。図3に示す2次元データにおいて符号
系列Aでは符号位置#03,#40,#62に消失フラ
グが付き、符号系列Bでは符号位置#03,#11,#
40に消失フラグが付いたものとし、その他の符号系列
には消失フラグはなかったとものする。この場合符号全
体でみると、符号位置#03,#11,#40,#62
が少なくとも1つの消失フラグが付いた符号位置とな
る。共通消失位置はこのように符号系列Aにおいて消失
フラグが付いていない符号位置11も消失位置として扱
うものである。同様に全く消失フラグの付いていない符
号系列も、消失位置03,11,40,62があったも
のとして扱われる。よってここでの訂正処理は、全ての
符号系列に全く同じ消失位置の誤りがあったものとして
消失訂正処理が行われる。この場合、消失位置が全符号
系列で同じになるので、訂正行列の計算を1回で済ます
ことができる。また消失フラグの入力順を利用しフラグ
入力時にその都度消失位置を算出することから、消失位
置算出に要する処理時間を短縮することが可能になる。
A description will now be given of an example of a correction process based on a common erasure position. In the two-dimensional data shown in FIG. 3, the erasure flag is attached to code positions # 03, # 40, and # 62 in code sequence A, and code positions # 03, # 11, and # in code sequence B.
It is assumed that an erasure flag has been attached to 40, and that other code sequences have no erasure flag. In this case, looking at the entire code, code positions # 03, # 11, # 40, # 62
Is a code position with at least one erasure flag. As the common erasure position, the code position 11 to which the erasure flag is not attached in the code sequence A is also treated as the erasure position. Similarly, a code sequence without any erasure flag is also treated as having erasure positions 03, 11, 40, and 62. Therefore, in this correction processing, the erasure correction processing is performed on the assumption that there is an error at the same erasure position in all code sequences. In this case, since the erasure position is the same for all code sequences, the calculation of the correction matrix can be performed only once. Further, since the disappearance position is calculated each time the flag is inputted by using the input order of the disappearance flag, the processing time required for calculating the disappearance position can be reduced.

【0030】以上のように第1本実施例によれば、消失
フラグ入力時に共通消失位置を算出する共通消失位置演
算部を設けることにより、符号データのメモリへの転送
が終了した時点で消失位置を確定でき、消失位置算出の
ための処理時間が不要になり、且つ訂正行列の算出を全
符号系列で1回にすることが可能となって、誤り訂正処
理を高速に実行できる。尚、訂正行列の算出はソフトウ
ェアで計算しても良い。
As described above, according to the first embodiment, by providing the common erasure position calculating section for calculating the common erasure position when the erasure flag is input, the erasure position is obtained when the transfer of the code data to the memory is completed. Can be determined, the processing time for calculating the erasure position is not required, and the calculation of the correction matrix can be performed once for all code sequences, so that the error correction processing can be executed at high speed. The correction matrix may be calculated by software.

【0031】次に本発明の第2実施例における誤り訂正
装置について説明する。図5は本発明の第2実施例の全
体構成を示すブロック図であり、図1と同じ構成のブロ
ックは同一符号を付けて詳細な説明を省略する。図1と
異なる点は消失位置演算部60として転送カウンタ40
と共通消失位置演算部45の他に個別消失位置演算部6
1を設けたことと、個別消失位置演算部61と訂正行列
演算部7の間に個別消失位置記憶部62を設けたことで
ある。個別消失位置演算部61はフラグ受信部3と共通
消失位置演算部45の各出力端に接続され、符号系列別
に消失位置を算出するものであり、その出力は個別消失
位置記憶部62に与えられる。又個別消失位置記憶部6
2は個別消失位置を記憶するものであり、その出力は訂
正行列演算部7に与えられる。他のブロックの構成は図
1と同一である。
Next, an error correction device according to a second embodiment of the present invention will be described. FIG. 5 is a block diagram showing the overall configuration of the second embodiment of the present invention. Blocks having the same configuration as in FIG. 1 are assigned the same reference numerals and detailed description is omitted. The difference from FIG. 1 is that the transfer counter 40
And the individual erasure position calculation unit 6 in addition to the common erasure position calculation unit 45
1 and that an individual erasure position storage unit 62 is provided between the individual erasure position operation unit 61 and the correction matrix operation unit 7. The individual erasure position calculation unit 61 is connected to each output terminal of the flag reception unit 3 and the common erasure position calculation unit 45, calculates the erasure position for each code sequence, and outputs the output to the individual erasure position storage unit 62. . Also, the individual erasure position storage unit 6
Numeral 2 stores an individual erasure position, and its output is supplied to a correction matrix operation unit 7. The configuration of the other blocks is the same as that of FIG.

【0032】このように構成された誤り訂正処理装置の
動作を図5及び図6を用いて説明する。図6は制御部1
3により誤り訂正が実行される動作手順を示すフローチ
ャートである。動作を開始するとステップ71でメモリ
管理部11を制御して、データ受信部2を介して受信し
た再生符号データをメモリ46に記憶させる。このとき
第1実施例と同様に、消失フラグの入力順から共通消失
位置演算部45に共通消失位置を検出させる。これと同
時に個別消失位置演算部61に対し個別消失位置を検出
させる。個別消失位置演算部61は図4に示すように消
失個数計数手段としての転送カウンタ40の行カウンタ
41と列カウンタ42から符号系列番号,符号位置を出
力し、消失フラグの付いた符号データの符号位置を符号
系列毎に算出し、個別消失位置として順次個別消失位置
記憶部62に記憶させていく。そして共通消失個数を検
査し、ステップ72でこの消失個数が訂正能力範囲内か
否かを調べ、範囲内であればステップ73に進み、以下
のステップ74〜78を経て第1実施例と同じ共通消失
位置データ処理を用いた誤り訂正処理を実行する。
The operation of the thus configured error correction processing device will be described with reference to FIGS. FIG. 6 shows the control unit 1.
3 is a flowchart showing an operation procedure in which error correction is performed by No. 3. When the operation is started, the memory control section 11 is controlled in step 71 so that the reproduction code data received via the data receiving section 2 is stored in the memory 46. At this time, similarly to the first embodiment, the common erasure position calculating unit 45 detects the common erasure position from the input order of the erasure flags. At the same time, the individual erasure position calculation unit 61 is caused to detect the individual erasure position. As shown in FIG. 4, the individual erasure position calculation unit 61 outputs the code sequence number and the code position from the row counter 41 and the column counter 42 of the transfer counter 40 as the erasure number counting means, and outputs the code of the code data with the erasure flag. The position is calculated for each code sequence, and is sequentially stored in the individual erasure position storage unit 62 as an individual erasure position. Then, the number of common erasures is checked. In step 72, it is checked whether or not the number of erasures is within the correction capability range. If the number is within the range, the process proceeds to step 73, and the same common steps as in the first embodiment are performed through the following steps 74 to 78. An error correction process using the erasure position data process is executed.

【0033】一方、ステップ72において共通消失個数
が訂正能力を超えている場合には、ステップ80に進み
個別消失個数を検査する。個別消失個数が訂正能力内で
ある場合にはステップ81に進み、以降符号系列毎に個
別消失位置に従った誤り訂正を実行する。即ちステップ
81で符号系列番号をクリアし誤り訂正処理部8を初期
化する。続いてステップ82に進み訂正行列演算部7に
その符号系列の個別消失位置を個別消失位置記憶部62
から読み出し、訂正行列を算出させる。ステップ83で
誤り訂正処理部8を制御してシンドロームの値を算出、
誤りパターン算出、及び誤り訂正を実行し、1符号系列
の誤り訂正が行われる。次にステップ84に進み符号系
列番号をインクリメントし、ステップ85で全符号系列
の誤り訂正処理が終了するまでステップ82,83,8
4の処理を繰り返し、全符号データの誤り訂正を実行す
る。全符号データの誤りが訂正された後、ステップ78
に進みメモリ管理部11を制御してデータ出力部12を
介して訂正されたデータを出力し処理を終える。又、ス
テップ80で個別消失個数が訂正能力を超えた場合に
は、ステップ86に進み訂正不能とし処理を終了する。
ここで制御部13による動作手順の内、ステップ72は
訂正処理選択手段の機能を達成している。
On the other hand, if the number of common erasures exceeds the correction capability in step 72, the flow advances to step 80 to check the number of individual erasures. If the number of individual erasures is within the correction capability, the process proceeds to step 81, and thereafter, error correction according to the individual erasure position is executed for each code sequence. That is, in step 81, the code sequence number is cleared and the error correction processing unit 8 is initialized. Then, the process proceeds to a step 82, wherein the individual erasure positions of the code sequence are stored in the correction matrix operation unit 7.
And a correction matrix is calculated. At step 83, the error correction processing unit 8 is controlled to calculate the value of the syndrome,
Error pattern calculation and error correction are performed, and error correction of one code sequence is performed. Next, in step 84, the code sequence number is incremented, and in steps 85, 82, 83, and 8 until the error correction processing for all code sequences is completed.
4 is repeated to execute error correction of all code data. After the error of all the code data is corrected, step 78
To control the memory management unit 11 to output the corrected data via the data output unit 12 and end the processing. On the other hand, if the number of individual erasures exceeds the correction capability in step 80, the flow advances to step 86 to make correction impossible and end the process.
Here, in the operation procedure by the control unit 13, step 72 achieves the function of the correction processing selecting means.

【0034】次に共通消失位置による訂正処理と個別消
失位置による訂正処理の切り替えに関して図3に示す符
号の訂正を例に説明する。符号系列Aでは符号位置#0
3,#40,#62に消失フラグが付き、符号系列Bで
は符号位置#03,#11,#40に消失フラグが付い
ている。よって共通消失位置は#03,#11,#4
0,#62となる。ここでもし符号の消失訂正能力が最
大3であったと仮定すると共通消失位置は全部で4とな
り、共通消失位置による訂正では訂正不能になってしま
う。しかしながら符号系列A,Bの個別消失個数は3で
あり、個々の符号系列は訂正能力内となる。本実施例は
このような場合に共通消失位置の訂正処理を用いずに、
個別消失位置による訂正処理を行うものである。この場
合個別訂正処理であるため訂正行列の演算が符号系列毎
に必要になり、処理速度は劣化するが最大訂正能力を確
保できる。
Next, switching between the correction processing based on the common erasure position and the correction processing based on the individual erasure position will be described with reference to the correction of the code shown in FIG. 3 as an example. In code sequence A, code position # 0
3, # 40, and # 62 have erasure flags, and code sequence B has erasure flags at code positions # 03, # 11, and # 40. Therefore, the common erasure positions are # 03, # 11, # 4
0, # 62. Here, if it is assumed that the erasure correction capability of the code is 3 at the maximum, the common erasure position becomes 4 in total, and correction by the common erasure position becomes impossible to correct. However, the number of individual erasures of the code sequences A and B is 3, and the individual code sequences are within the correction capability. In this case, the present embodiment does not use the correction process of the common erasure position in such a case,
The correction process is performed based on the individual erasure position. In this case, since it is an individual correction process, a calculation of a correction matrix is required for each code sequence, and the processing speed is deteriorated, but the maximum correction capability can be secured.

【0035】以上のように第2実施例によれば、共通消
失位置による訂正処理と個別消失位置による訂正処理を
切り替える訂正処理選択手段を設け、共通消失個数が訂
正能力を超えた場合に個別消失位置による訂正処理に切
り替えることにより、共通消失位置による最大限度まで
共通消失位置による訂正処理により高速な訂正処理を実
行し、共通消失位置による訂正処理が不可能な場合に個
別消失位置による訂正処理を実行し、訂正能力を常に最
大で高速になるよう確保するものである。
As described above, according to the second embodiment, the correction processing selecting means for switching between the correction processing based on the common erasure position and the correction processing based on the individual erasure position is provided. By switching to correction processing by position, high-speed correction processing is performed by the correction processing by the common erasure position up to the maximum limit by the common erasure position, and when the correction processing by the common erasure position is impossible, the correction processing by the individual erasure position is performed. And to ensure that the correction capability is always maximum and high speed.

【0036】図7は制御部13により誤り訂正がなされ
る他の動作手順を示すフローチャートである。図7が図
6と異なる点はステップ71とステップ72の間にステ
ップ71Sを設け、誤り訂正処理装置に要求される処理
速度を適切に切り替えることも可能である。ステップ7
1Sで高速処理を選択すると、共通消失位置の誤り訂正
を実行し処理速度の高速性を優先させる。又、高速処理
を選択しなければステップ80に進み、個別消失位置の
誤り訂正を実行し、処理速度を犠牲にし誤り訂正を高速
化する。図7においてステップ71S以外の動作手順は
図6と同一であるので、他のステップの説明は省略す
る。ここで制御部13の動作手順の内、ステップ71S
は処理速度切替手段の機能を達成している。
FIG. 7 is a flowchart showing another operation procedure in which the control section 13 performs error correction. FIG. 7 differs from FIG. 6 in that step 71S is provided between step 71 and step 72, and the processing speed required for the error correction processing device can be appropriately switched. Step 7
When high-speed processing is selected in 1S, error correction of a common erasure position is performed, and high-speed processing is prioritized. If the high-speed processing is not selected, the process proceeds to step 80, where the error correction of the individual erasure position is executed, and the processing speed is sacrificed to speed up the error correction. In FIG. 7, the operation procedure other than step 71S is the same as that in FIG. 6, and the description of the other steps will be omitted. Here, in the operation procedure of the control unit 13, step 71S
Achieves the function of the processing speed switching means.

【0037】次に本発明の第3実施例について図面を参
照しながら説明する。図8は本発明の第3実施例におけ
る誤り訂正処理装置の全体構成を示すブロックである。
本実施例の第2実施例と異なる点は共通消失位置演算部
45を設けないことである。個別消失位置演算部61及
び個別消失位置記憶部62は第2実施例と同一であり、
誤り訂正処理の他のブロックの構成の説明は省略する。
Next, a third embodiment of the present invention will be described with reference to the drawings. FIG. 8 is a block diagram showing the overall configuration of the error correction processing device according to the third embodiment of the present invention.
The present embodiment differs from the second embodiment in that the common erasure position calculation unit 45 is not provided. The individual erasure position calculation unit 61 and the individual erasure position storage unit 62 are the same as in the second embodiment,
The description of the configuration of the other blocks of the error correction processing is omitted.

【0038】このように構成された誤り訂正処理装置の
動作について図8,図9を用いて説明する。図9は制御
部13により誤り訂正が実行される動作手順を示すフロ
ーチャートである。先ず動作を開始するとステップ91
でメモリ管理部11を制御して、データ受信部2を介し
て受信した再生符号データをメモリ41に記憶させる。
このとき第2実施例と同様に消失フラグの入力順から個
別消失位置演算部61に対し個別消失位置を検出させ、
個別消失位置記憶部62に記憶させていく。ステップ9
2に進み個別消失個数を調べ、個別消失個数が訂正能力
範囲内である場合にはステップ83に進み、以降第2の
実施例と同様に符号系列毎に個別消失位置に従った誤り
訂正を実行する(ステップ93〜ステップ99)。
The operation of the thus configured error correction processing device will be described with reference to FIGS. FIG. 9 is a flowchart illustrating an operation procedure in which the control unit 13 performs error correction. First, when the operation is started, step 91 is executed.
To control the memory management unit 11 to store the reproduction code data received via the data reception unit 2 in the memory 41.
At this time, similarly to the second embodiment, the individual erasure position calculation unit 61 detects the individual erasure position from the input order of the erasure flag, and
It is stored in the individual erasure position storage unit 62. Step 9
The process proceeds to step 2 to check the number of individual erasures. If the number of individual erasures is within the correction capability range, the process proceeds to step 83 and thereafter performs error correction according to the individual erasure position for each code sequence as in the second embodiment. (Steps 93 to 99).

【0039】ここで個別消失位置を個別消失位置演算部
61で消失フラグの入力時に算出し、個別消失位置記憶
部62に記憶させた場合の必要なメモリ容量に関して説
明する。例えば図3に示す符号長64行、パリティ長5
行の符号フォーマットの場合には、個別消失位置は例え
ば訂正限界が5個の許容能力を有するものに記憶できれ
ばよい。1つの消失位置は0から63までの数値で表わ
されるから6ビットが必要であり、1符号系列の個別消
失位置の記憶には30ビットが必要である。これに対し
従来の誤り訂正装置では消失フラグをすべて記憶するた
め、1符号系列当り64ビットが必要である。よって個
別消失位置を記録するための必要なメモリ容量は消失フ
ラグをすべて記憶するのに比較し約半分で済むことにな
る。
Here, the required memory capacity when the individual erasure position is calculated at the time of input of the erasure flag by the individual erasure position calculation unit 61 and stored in the individual erasure position storage unit 62 will be described. For example, a code length of 64 rows and a parity length of 5 shown in FIG.
In the case of a line code format, the individual erasure positions need only be able to be stored in, for example, one having an allowable capacity of five correction limits. Since one erasure position is represented by a numerical value from 0 to 63, 6 bits are required, and storage of the individual erasure position of one code sequence requires 30 bits. On the other hand, in the conventional error correction device, since all erasure flags are stored, 64 bits are required for one code sequence. Therefore, the required memory capacity for recording the individual erasure positions is about half as compared with storing all the erasure flags.

【0040】以上のように本実施例によれば、個別消失
位置を消失フラグの入力と同時に算出し、消失フラグで
なく個別消失位置を記憶することにより、少ないメモリ
容量で誤り訂正を実行できるものである。また個別消失
個数を調べることにより訂正処理を実行する前に訂正不
能を検出できる利点がある。
As described above, according to this embodiment, the individual erasure position is calculated simultaneously with the input of the erasure flag, and the individual erasure position is stored instead of the erasure flag. It is. In addition, by checking the number of individual erasures, there is an advantage that an uncorrectable state can be detected before the correction processing is executed.

【0041】次に本発明の第4実施例について図面を参
照しながら説明する。図10は本発明の第4実施例にお
ける誤り訂正装置の全体構成を示すブロック図である。
第3実施例と異なる点は符号データと消失フラグを1ワ
ードとして記憶する符号データ記憶部としてメモリ10
0を設け、メモリ100から消失フラグを読み出して個
別消失位置を算出する個別消失位置演算部101を設け
たことである。又ここで図8に示す転送カウンタ40を
不要としている。フラグ受信部3の出力はメモリ100
のフラグを格納する部分に与えられる。メモリ100に
格納された消失フラグは個別消失位置演算部101に与
えられ、個別消失位置演算部101はこのこの消失フラ
グを読み出し、個別消失位置を訂正行列演算部7に与え
るよう構成される。又メモリ管理部11はメモリ100
のデータの読み出し又は格納を管理するものであり、第
3実施例と同じくデータ受信部2,訂正部10,シンド
ローム演算部9,データ出力部12,制御部13を入出
力信号により制御するものである。
Next, a fourth embodiment of the present invention will be described with reference to the drawings. FIG. 10 is a block diagram showing the overall configuration of the error correction device according to the fourth embodiment of the present invention.
The difference from the third embodiment is that the memory 10 serves as a code data storage unit for storing code data and an erasure flag as one word.
0 is provided, and an individual erasure position calculation unit 101 that reads an erasure flag from the memory 100 and calculates an individual erasure position is provided. Here, the transfer counter 40 shown in FIG. 8 is not required. The output of the flag receiving unit 3 is stored in the memory 100
Is given to the part storing the flag. The erasure flag stored in the memory 100 is provided to the individual erasure position calculation unit 101, and the individual erasure position calculation unit 101 is configured to read the erasure flag and provide the individual erasure position to the correction matrix calculation unit 7. In addition, the memory management unit 11
And controls the data receiving unit 2, the correcting unit 10, the syndrome calculating unit 9, the data output unit 12, and the control unit 13 by input / output signals as in the third embodiment. is there.

【0042】このように構成された誤り訂正処理装置の
動作について図10,図11,図12を用いて説明す
る。図11は制御部13により誤り訂正が実行される動
作手順を示すフローチャートである。第3実施例と異な
るのは個別消失位置の算出法である。動作を開始すると
まずステップ111でメモリ管理部11を制御して、デ
ータ受信部2を介して受信した再生符号データと、フラ
グ受信部3を介して受信した消失フラグを1ワードとし
てメモリ100に記憶する。図12はメモリ100の構
成例を示す説明図である。符号データ8ビットと消失フ
ラグ1ビットを1ワードとして同一アドレスに記憶する
よう構成されている。
The operation of the thus configured error correction processing device will be described with reference to FIGS. 10, 11, and 12. FIG. FIG. 11 is a flowchart showing an operation procedure in which the control unit 13 executes error correction. The difference from the third embodiment is the method of calculating the individual erasure position. When the operation is started, first, in step 111, the memory management unit 11 is controlled to store the reproduced code data received via the data reception unit 2 and the erasure flag received via the flag reception unit 3 as one word in the memory 100. I do. FIG. 12 is an explanatory diagram showing a configuration example of the memory 100. The configuration is such that eight bits of code data and one bit of the erasure flag are stored as one word at the same address.

【0043】次にステップ112に進み符号系列番号を
クリアし、次のステップ113でメモリ管理部11を制
御して符号系列番号で指示される符号系列の符号データ
を読出し、シンドローム演算部9にシンドローム値を算
出させる。図12に示すようにシンドローム演算では1
符号系列を構成する符号データがメモリ100から読み
出され、これにより1ワードとして記録されていた消失
フラグも同時に読み出される。個別消失位置演算部10
1はこれに同期して読みだされた消失フラグを入力し、
個別消失位置を算出する。これらの演算が終了するとス
テップ114に進み、消失個数を調べこの個数が訂正能
力内であればステップ115に進む。以降、図9のステ
ップ94と同一の処理がなされ、ステップ95と同一の
処理を行うステップ116,117を経て誤りパターン
算出と誤り訂正が行われる。更にステップ96〜99と
同一の手順ステップ118〜121を介して、誤り訂正
されたデータが出力される。
Next, proceeding to step 112, the code sequence number is cleared. At the next step 113, the memory management unit 11 is controlled to read out the code data of the code sequence indicated by the code sequence number. Let the value be calculated. As shown in FIG.
The code data forming the code sequence is read from the memory 100, whereby the erasure flag recorded as one word is also read at the same time. Individual erasure position calculation unit 10
1 inputs the disappearance flag read out in synchronization with this,
Calculate the individual disappearance position. When these calculations are completed, the routine proceeds to step 114, where the number of erased cells is checked, and if the number is within the correction capability, the routine proceeds to step 115. Thereafter, the same processing as in step 94 of FIG. 9 is performed, and the error pattern calculation and error correction are performed through steps 116 and 117 for performing the same processing as in step 95. Further, the error-corrected data is output through the same procedure steps 118 to 121 as steps 96 to 99.

【0044】このように消失フラグの読出しは従来の誤
り訂正装置と異なりシンドローム演算の実行と同時に行
えるようにしている。以上のように本実施例によれば、
消失フラグを符号データと合わせて1ワードとして記憶
し、シンドローム演算のデータ読出し時に消失フラグを
取り出すことにより、メモリアクセス回数を少なくして
訂正処理を実行でき高速な訂正処理を実現できる。
As described above, unlike the conventional error correction apparatus, the reading of the erasure flag can be performed simultaneously with the execution of the syndrome operation. As described above, according to the present embodiment,
By storing the erasure flag as one word together with the code data and extracting the erasure flag at the time of reading the data of the syndrome operation, the number of times of memory access can be reduced and the correction process can be executed, so that a high-speed correction process can be realized.

【0045】次に本発明の第5実施例について図面を参
照しながら説明する。図13は本発明の第5実施例にお
ける誤り訂正処理装置の全体構成を示すブロック図であ
る。第1実施例と異なる点は、共通消失位置となった符
号位置の数である共通消失個数を計数する共通消失個数
計数部130と、符号の訂正限界である最大許容消失数
を書き込む訂正能力設定部131と、共通消失個数計数
部130と最大訂正能力と比較し訂正不能を検知する訂
正不能検出部132を設けたことである。共通位消失位
置演算部45の出力は共通消失個数計数部130に与え
られ、制御部13により制御される訂正能力設定部13
1の出力は、共通消失個数計数部130と共に訂正不能
検出部132に与えられる。又訂正不能検出部132
出力は制御部13に与えられるが、上述した各部以外の
ブロックの構成は第1実施例と同一であるため説明は省
略する。
Next, a fifth embodiment of the present invention will be described with reference to the drawings. FIG. 13 is a block diagram showing the overall configuration of the error correction processing device according to the fifth embodiment of the present invention. The difference from the first embodiment is that the common erasure number counting unit 130 counts the number of common erasures, which is the number of code positions that have become common erasure positions, and the correction capability setting for writing the maximum allowable erasure number that is the code correction limit. That is, a unit 131, a common erasure number counting unit 130, and an uncorrectable detection unit 132 that detects uncorrectable by comparing with the maximum correction capability are provided. The output of the common erasure position calculation unit 45 is provided to the common erasure number counting unit 130, and the correction capability setting unit 13 controlled by the control unit 13
The output of 1 is provided to the uncorrectable detection unit 132 together with the common erasure number counting unit 130. The output of the uncorrectable detection unit 132 is provided to the control unit 13. However, the configuration of the blocks other than the above-described units is the same as that of the first embodiment, and a description thereof will be omitted.

【0046】このように構成された第5実施例の誤り訂
正処理装置の動作を図13を用いて説明する。まず制御
部13は予め最大許容消失数を訂正能力設定部131に
書き込み、共通消失個数計数部130をクリアしてお
く。続いて第1実施例と同様に符号データと消失フラグ
を受信し、消失フラグの受信と同時に共通消失位置演算
部45に共通消失位置を算出させる。このとき共通消失
位置演算部45は共通消失位置となった符号位置が発生
する度にカウントパルスを共通消失位置個数計数部13
0に出力する。訂正不能検出部132は常に共通消失個
数計数部130の値と訂正能力設定部131に書き込ま
れた最大許容消失数を比較し、最大許容消失数を超えた
時点で直ちに訂正不能を制御部13に出力する。これに
より制御部13は直ちに訂正不能としてリリード移行等
の処理を行う。
The operation of the thus configured error correction processing device of the fifth embodiment will be described with reference to FIG. First, the control unit 13 writes the maximum allowable number of erasures in the correction capability setting unit 131 in advance, and clears the common erasure number counting unit 130 in advance. Subsequently, the code data and the erasure flag are received in the same manner as in the first embodiment, and the common erasure position calculation unit 45 calculates the common erasure position at the same time as the reception of the erasure flag. At this time, the common erasure position calculation unit 45 generates a count pulse every time a code position that becomes a common erasure position is generated.
Output to 0. The uncorrectable detection unit 132 always compares the value of the common erasure number counting unit 130 with the maximum allowable erasure number written in the correction capability setting unit 131, and immediately when the maximum allowable erasure number is exceeded, the control unit 13 determines that the correction is impossible. Output. As a result, the control unit 13 immediately determines that the data cannot be corrected and performs processing such as rereading.

【0047】次に第6実施例について説明する。図14
は第5実施例の共通消失位置個数に代わって個別消失個
数を計数し、訂正不能を検出する場合の構成を示すブロ
ック図である。第5実施例と異なる点はフラグ受信部3
及び転送カウンタ40の信号を受ける個別消失位置演算
部61を設けたことである。個別消失位置演算部61は
第3実施例に示すものと同一であり、その出力は第3実
施例と同じく個別消失位置記憶部62に与えられる。又
個別消失位置演算部61の出力は個別消失個数計数部1
35にも与えられ、消失フラグ数がカウントされる。こ
のカウント結果は個別消失個数メモリ136に格納され
る。一方、訂正能力設定部131は第5実施例と同様、
制御部13により最大許容消失数を設定するものであ
る。訂正不能検出部132は、個別消失個数計数部13
5のカウント値と訂正能力設定部131に書込まれた最
大許容消失数を比較し、この最大許容消失数を超えた時
点で訂正不能信号を制御部13に出力するものである。
尚、他のブロックの構成は第5実施例に示すもの同一で
あるので説明は省略する。
Next, a sixth embodiment will be described. FIG.
FIG. 19 is a block diagram showing a configuration in which the number of individual erasures is counted in place of the number of common erasure positions in the fifth embodiment, and an uncorrectable state is detected. The difference from the fifth embodiment is that the flag receiving unit 3
And an individual erasure position calculating unit 61 for receiving a signal from the transfer counter 40. The individual erasure position calculation unit 61 is the same as that shown in the third embodiment, and its output is provided to the individual erasure position storage unit 62 as in the third embodiment. Also, the output of the individual erasure position calculation unit 61 is the individual erasure number counting unit 1
35, and the number of disappearance flags is counted. This count result is stored in the individual erased number memory 136. On the other hand, as in the fifth embodiment, the correction capability setting unit 131
The control unit 13 sets the maximum allowable number of disappearances. The uncorrectable detection unit 132 includes the individual erasure number counting unit 13
The count value of 5 is compared with the maximum allowable erasure number written in the correction capability setting unit 131, and when the maximum allowable erasure number is exceeded, an uncorrectable signal is output to the control unit 13.
The configuration of the other blocks is the same as that shown in the fifth embodiment, and a description thereof will be omitted.

【0048】まず個別消失個数メモリ136をクリアし
ておく。個別消失位置演算部61は消失フラグを有する
符号位置が検出される度に、対応する符号系列の消失個
数を個別消失個数メモリ136から読出し、インクリメ
ントして再度書き込む。訂正不能検出部132が常に個
別消失個数計数部135の値と、訂正能力設定部131
に書き込まれた最大許容消失数を比較し最大許容消失数
を超えた時点で直ちに訂正不能を制御部13に出力す
る。これにより制御部13は直ちに訂正不能としてリリ
ード移行等の処理を行う。以上のように本実施例によれ
ば、消失個数を消失フラグ入力時に計数する計数手段を
設け、訂正能力と比較し訂正不能を検出することによ
り、訂正処理の実行を行う前に訂正不能を検出すること
が可能である。
First, the individual erased number memory 136 is cleared. Every time a code position having an erasure flag is detected, the individual erasure position calculation unit 61 reads the number of erasures of the corresponding code sequence from the individual erasure number memory 136, increments it, and writes it again. The uncorrectable detection unit 132 always sets the value of the individual erasure number counting unit 135 and the correction capability setting unit 131
Is compared with the maximum allowable number of erasures, and when the maximum allowable number of erasures is exceeded, an uncorrectable value is output to the control unit 13 immediately. As a result, the control unit 13 immediately determines that the data cannot be corrected and performs processing such as rereading. As described above, according to the present embodiment, the counting means for counting the number of lost data at the time of inputting the lost flag is provided, and the uncorrectable data is detected by comparing the corrected data with the correction capability. It is possible to

【0049】[0049]

【発明の効果】以上のように本発明によれば、共通消失
位置演算部が符号データの消失フラグを入力して共通消
失位置を算出し、消失位置の消失データが全符号系列に
共通にあるものとして訂正処理を行うことが可能とな
る。従って全符号系列で一度の訂正行列演算を行うと共
に全符号系列で全く同じ形式の訂正処理を行って、高速
に訂正処理を実行できる効果が得られる。又、符号系列
毎に消失訂正を行う場合でも少ないメモリで高速に訂正
処理を実行することが可能であり、更に消失フラグ入力
時に消失個数を計数し訂正処理の実行前に訂正不能を早
期に検出することが可能となる。このため符号誤りを有
する符号データの訂正処理が高速に実行でき、訂正能力
を劣化させることなく少ないメモリ容量で効率的な訂正
処理が実行できる。更に、訂正処理開始前に訂正能力を
超えているかが判別できる優れた誤り訂正処理装置が得
られる。
As described above, according to the present invention, the common erasure position calculation unit inputs the erasure flag of the code data to calculate the common erasure position, and the erasure data at the erasure position is common to all code sequences. As a result, a correction process can be performed. Therefore, there is an effect that the correction process can be performed at high speed by performing the correction matrix operation once for all the code sequences and performing the same type of correction process for all the code sequences. In addition, even when erasure correction is performed for each code sequence, it is possible to execute the correction processing at a high speed with a small memory. It is possible to do. Therefore, correction processing of code data having a code error can be performed at high speed, and efficient correction processing can be performed with a small memory capacity without deteriorating the correction performance. Further, it is possible to obtain an excellent error correction processing device capable of determining whether the correction capability is exceeded before the start of the correction processing.

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

【図1】本発明の第1実施例における誤り訂正処理装置
のブロック図である。
FIG. 1 is a block diagram of an error correction processing device according to a first embodiment of the present invention.

【図2】第1実施例における制御部のフローチャートで
ある。
FIG. 2 is a flowchart of a control unit according to the first embodiment.

【図3】誤り訂正符号の符号フォーマットの構成図であ
る。
FIG. 3 is a configuration diagram of a code format of an error correction code.

【図4】第1実施例の転送カウンタの構成を示すブロッ
ク図である。
FIG. 4 is a block diagram illustrating a configuration of a transfer counter according to the first embodiment.

【図5】本発明の第2実施例における誤り訂正処理装置
のブロック図である。
FIG. 5 is a block diagram of an error correction processing device according to a second embodiment of the present invention.

【図6】第2実施例における制御部のフローチャートで
ある。
FIG. 6 is a flowchart of a control unit in the second embodiment.

【図7】第2実施例の処理速度切替え時の制御部のフロ
ーチャートである。
FIG. 7 is a flowchart of a control unit at the time of processing speed switching according to the second embodiment.

【図8】本発明の第3実施例における誤り訂正処理装置
のブロック図である。
FIG. 8 is a block diagram of an error correction processing device according to a third embodiment of the present invention.

【図9】第3実施例における制御部のフローチャートで
ある。
FIG. 9 is a flowchart of a control unit in the third embodiment.

【図10】本発明の第4の実施例における誤り訂正処理
装置のブロック図である。
FIG. 10 is a block diagram of an error correction processing device according to a fourth embodiment of the present invention.

【図11】第4実施例における制御部のフローチャート
である。
FIG. 11 is a flowchart of a control unit according to the fourth embodiment.

【図12】第4実施例におけるメモリの構成図である。FIG. 12 is a configuration diagram of a memory according to a fourth embodiment.

【図13】本発明の第5実施例における誤り訂正処理装
置のブロック図である。
FIG. 13 is a block diagram of an error correction processing device according to a fifth embodiment of the present invention.

【図14】本発明の第6実施例における誤り訂正処理装
置のブロック図である。
FIG. 14 is a block diagram of an error correction processing device according to a sixth embodiment of the present invention.

【図15】従来の誤り訂正処理装置の一例を示すのブロ
ック図である。
FIG. 15 is a block diagram showing an example of a conventional error correction processing device.

【図16】従来の誤り訂正処理装置における制御部のフ
ローチャートである。
FIG. 16 is a flowchart of a control unit in a conventional error correction processing device.

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

1 データ再生部 2 データ受信部 3 フラグ受信部 7 訂正行列演算部 8 訂正処理部 9 シンドローム演算部 10 訂正部 11 メモリ管理部 12 データ出力部 13 制御部 40 転送カウンタ 41 行カウンタ 42 列カウンタ 45,101 共通消失位置演算部 46,100 メモリ 61 個別消失位置演算部 62 個別消失位置記憶部 130 共通消失個数計数部 131 訂正能力設定部 132 訂正不能検出部 135 個別消失個数計数部 136 個別消失個数メモリ DESCRIPTION OF SYMBOLS 1 Data reproduction part 2 Data reception part 3 Flag reception part 7 Correction matrix operation part 8 Correction processing part 9 Syndrome operation part 10 Correction part 11 Memory management part 12 Data output part 13 Control part 40 Transfer counter 41 Row counter 42 Column counter 45, Reference Signs List 101 Common erasure position calculation unit 46, 100 Memory 61 Individual erasure position calculation unit 62 Individual erasure position storage unit 130 Common erasure number counting unit 131 Correction capability setting unit 132 Uncorrectable detection unit 135 Individual erasure number counting unit 136 Individual erasure number memory

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H03M 13/00 G06F 3/06 303 G06F 11/10 330 Continuation of front page (58) Fields investigated (Int.Cl. 7 , DB name) H03M 13/00 G06F 3/06 303 G06F 11/10 330

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 誤り訂正符号を含む符号データを受信す
るデータ受信部と、 受信した前記符号データを記憶する符号データ記憶部
と、 前記符号データが符号誤りを有するか又は符号誤り部分
を前後データから類推補完した疑似符号を有するかを示
す消失フラグを前記符号データから分離して受信するフ
ラグ受信部と、1つ以上の符号系列で前記消失フラグの付いた符号位置
を、全符号系列において同じ符号位置に誤りが存在する
ものとして扱う位置情報を共通消失位置とし、各符号位
置に対応した前記消失フラグの受信順序を基に前記共通
消失位置を算出する 共通消失位置演算部と、 前記共通消失位置演算部より算出された共通消失位置か
ら原符号データの訂正行列を算出する訂正行列演算部
と、 前記共通消失位置演算部から算出された前記共通消失位
置、及び前記訂正行列演算部から算出された訂正行列を
基に、受信した前記符号データの全符号系列に対し同じ
消失位置の消失訂正処理を行う訂正処理部と、を具備す
ることを特徴とする誤り訂正処理装置。
A data receiving unit that receives code data including an error correction code; a code data storage unit that stores the received code data; A flag receiving unit that receives an erasure flag indicating whether or not the pseudo code has a pseudo code complemented by analogy from the code data, and a code position with the erasure flag in one or more code sequences
Is the error at the same code position in all code sequences
The position information to be treated as
Based on the reception order of the erasure flags corresponding to the
A common erasure position calculation unit that calculates an erasure position; a correction matrix calculation unit that calculates a correction matrix of original code data from the common erasure position calculated by the common erasure position calculation unit; Said common vanishing point
And the correction matrix calculated from the correction matrix operation unit.
An error correction processing device, comprising: a correction processing unit that performs erasure correction processing of the same erasure position on all code sequences of the received code data.
【請求項2】 誤り訂正符号を含む符号データを受信す
るデータ受信部と、 受信した前記符号データを記憶する符号データ記憶部
と、 前記符号データが符号誤りを有するか又は符号誤り部分
を前後データから類推補完した疑似符号を有するかを示
す消失フラグを前記符号データから分離して受信するフ
ラグ受信部と、1つ以上の符号系列で前記消失フラグの付いた符号位置
を、全符号系列において同じ符号位置に誤りが存在する
ものとして扱う位置情報を共通消失位置とし、各符号位
置に対応した前記消失フラグの受信順序を基に前記共通
消失位置を算出する 共通消失位置演算部と、前記消失フラグが付いた符号位置を、前記消失フラグの
受信順序を基に符号系列毎に個別に求め、符号系列毎の
個別消失位置を算出する 個別消失位置演算部と、前記共通消失位置又は前記個別消失位置から原符号デー
タの訂正行列を算出す 訂正行列演算部と、前記共通消失位置に対する訂正行列を基に全符号系列に
対し同じ消失位置の消失訂正処理を行う動作を共通訂正
モードとし、前記個別消失位置に対する訂正行列を基に
各符号系列別に各消失位置の消失訂正処理を行う動作を
個別訂正モードとするとき、前記共通訂正モード又は個
別訂正モードの何れかの誤り訂正処理を実行する 訂正処
理部と、前記共通訂正モード及び前記個別訂正モードの何れかを
前記訂正処理部に指示する 訂正処理選択手段と、を具備
することを特徴とする誤り訂正処理装置。
2. A data receiving unit for receiving code data including an error correction code, a code data storage unit for storing the received code data, and a code data having a code error or a code error A flag receiving unit that receives an erasure flag indicating whether or not the pseudo code has a pseudo code complemented by analogy from the code data, and a code position with the erasure flag in one or more code sequences
Is the error at the same code position in all code sequences
The position information to be treated as
Based on the reception order of the erasure flags corresponding to the
A common erasure position calculation unit for calculating an erasure position; and a code position with the erasure flag,
Individually obtained for each code sequence based on the reception order,
An individual erasure position calculation unit for calculating an individual erasure position, and an original code data from the common erasure position or the individual erasure position.
A correction matrix calculator that to calculate the correction matrix data, the entire code sequence on the basis of the correction matrix for the common erasure locator
On the other hand, common correction of erasure correction processing for the same erasure position
Mode and based on the correction matrix for the individual erasure position
Operation to perform erasure correction processing for each erasure position for each code sequence
When the individual correction mode is set, the common correction mode or
A correction processing unit that executes any one of the error correction processes in the separate correction mode, and any one of the common correction mode and the individual correction mode.
An error correction processing device, comprising: a correction processing selection unit that instructs the correction processing unit.
【請求項3】 共通消失位置で指示される訂正対象のデ
ータ数を計数する消失個数計数手段を有し、 前記訂正処理選択手段は、 消失個数と誤り訂正符号の消失訂正能力を比較し、訂正
能力内である場合に共通消失位置演算部と訂正処理部の
共通訂正モードを選択し、訂正限界を超えている場合は
個別消失位置演算部訂正処理部の個別訂正モードを選択
するものであることを特徴とする請求項2記載の誤り訂
正処理装置。
3. An erasure number counting means for counting the number of data to be corrected indicated by a common erasure position, wherein the correction processing selecting means compares the number of erasures with the erasure correction capability of an error correction code, and performs correction. Select the common correction mode of the common erasure position calculation unit and the correction processing unit when within the capability, and select the individual correction mode of the individual erasure position calculation unit correction processing unit when the correction limit is exceeded. 3. The error correction processing device according to claim 2, wherein
【請求項4】 高速誤り訂正処理と低速誤り訂正処理と
を切り替える処理速度切替手段を有し、 前記訂正処理選択手段は、 高速処理が設定された場合は前記訂正処理部の共通訂正
モードを選択し、低速処理が設定された場合は前記訂正
処理部の個別訂正モードを選択することを特徴とする請
求項2記載の誤り訂正処理装置。
4. A processing speed switching means for switching between high-speed error correction processing and low-speed error correction processing, wherein said correction processing selection means includes a common correction unit for said correction processing unit when high-speed processing is set.
Select the mode and correct it if low-speed processing is set.
3. The error correction processing device according to claim 2 , wherein an individual correction mode of the processing unit is selected .
【請求項5】 誤り訂正符号を含む符号データを受信す
るデータ受信部と、 受信した前記符号データを記憶する符号データ記憶部
と、 前記符号データが符号誤りを有するか又は符号誤り部分
を前後データから類推補完した疑似符号を有するかを示
す消失フラグを前記符号データから分離して受信するフ
ラグ受信部と、前記消失フラグが付いた符号位置を、前記消失フラグの
受信順序を基に符号系列毎に個別に求め、符号系列毎の
個別消失位置を算出する 個別消失位置演算部と、 前記個別消失位置を一時的に記憶する個別消失位置記憶
部と、前記個別消失位置演算部から算出された前記個別消失位
置、及び訂正行列を基に、 符号系列別に各消失位置の消
失訂正処理を行う訂正処理部と、を具備することを特徴
とする誤り訂正処理装置。
5. A data receiving unit for receiving code data including an error correction code; a code data storage unit for storing the received code data; and a code data having a code error or a code error A flag receiving unit that separates and receives from the code data an erasure flag indicating whether or not the erasure flag has a pseudo code complemented by analogy, and a code position with the erasure flag,
Individually obtained for each code sequence based on the reception order,
An individual erasure position calculating unit that calculates an individual erasure position; an individual erasure position storage unit that temporarily stores the individual erasure position; and the individual erasure position calculated from the individual erasure position calculation unit
And a correction processing unit for performing erasure correction processing for each erasure position for each code sequence based on the error correction matrix and the correction matrix .
【請求項6】 誤り訂正符号を含む符号データを受信す
るデータ受信部と、 受信した前記符号データを記憶する符号データ記憶部
と、 前記符号データが符号誤りを有するか又は符号誤り部分
を前後データから類推補完した疑似符号を有するかを示
す消失フラグを前記符号データから分離して受信するフ
ラグ受信部と、 前記符号データと消失フラグを1ワードとして同一アド
レスに記憶する符号データ記憶部と、 前記符号データ記憶手段から各符号系列の符号データを
読出すとき、これと同時に読み出される消失フラグをも
とに個別消失位置を算出する個別消失位置演算部と、 前記個別消失位置から算出された訂正行列と前記個別消
失位置をもとに符号系列別に各消失位置の消失訂正処理
を行う訂正処理部と、を具備することを特徴とする誤り
訂正処理装置。
6. A data receiving unit for receiving code data including an error correction code, a code data storage unit for storing the received code data, and a code error in which the code data has a code error or a code error A flag receiving unit that separates and receives from the code data an erasure flag indicating whether or not the pseudo code has a pseudo code complemented by analogy, a code data storage unit that stores the coded data and the erasure flag as one word at the same address, When reading the code data of each code sequence from the code data storage means, an individual erasure position calculation unit that calculates an individual erasure position based on an erasure flag that is simultaneously read out, and a correction matrix calculated from the individual erasure position And a correction processing unit that performs erasure correction processing for each erasure position for each code sequence based on the individual erasure positions. Correction processing unit.
【請求項7】 誤り訂正符号を含む符号データを受信す
るデータ受信部と、 受信した前記符号データを記憶する符号データ記憶部
と、 前記符号データが符号誤りを有するか又は符号誤り部分
を前後データから類推補完した疑似符号を有するかを示
す消失フラグを前記符号データから分離して受信するフ
ラグ受信部と、1つ以上の符号系列で前記消失フラグの付いた符号位置
を、全符号系列において同じ符号位置に誤りが存在する
ものとして扱う位置情報を共通消失位置とし、前記共通
消失位置の個数を消失フラグの入力時に計数する 共通消
失個数計数部と、前記共通消失位置 から原符号データの訂正行列を算出す
る訂正行列演算部と、前記共通消失個数計数部の計数値が消失訂正能力を超え
た時点で訂正不能であることを検出する 訂正不能検出部
と、前記共通消失位置演算部から算出された前記共通消失位
置、及び前記訂正行列演算部から算出された訂正行列を
基に、受信した前記符号データの全符号系列に対し同じ
消失位置の消失訂正処理を行う 訂正処理部と、を具備す
ることを特徴とする誤り訂正処理装置。
7. A data receiving unit for receiving code data including an error correction code, a code data storage unit for storing the received code data, and a code data having a code error or a code error A flag receiving unit that receives an erasure flag indicating whether or not the pseudo code has a pseudo code complemented by analogy from the code data, and a code position with the erasure flag in one or more code sequences
Is the error at the same code position in all code sequences
The position information to be treated as the
A common vanishing number counting unit for counting the number of erasure position when entering the erasure flag, the common erasure from the position and correction matrix calculation unit for calculating a correction matrix of the original code data, the count value of the common erasure number counting unit is lost Beyond correction ability
An uncorrectable detection unit that detects that the data is uncorrectable at the time when the common erasure position is calculated by the common erasure position calculation unit.
And the correction matrix calculated from the correction matrix operation unit.
The same for all code sequences of the received code data
An error correction processing device comprising: a correction processing unit that performs erasure correction processing of an erasure position .
【請求項8】 前記消失フラグが付いた符号データの個
数を前記消失フラグの受信順序に基づいて符号系列毎に
求め、前記符号系列毎の個別消失個数として算出する個
別消失個数計数部と、 前記個別消失個数計数部の計数値が消失訂正能力を超え
た時点で訂正不能であることを検出する訂正不能検出部
と、を更に設けたことを特徴とする請求項1記載の 誤り
訂正処理装置。
8. The number of code data with the erasure flag.
Number for each code sequence based on the reception order of the erasure flag.
Calculated and calculated as the number of individual erasures for each code sequence
Another lost number counting unit, the count value of the individual lost number counting unit exceeds the lost correction capability
Uncorrectable detector that detects that it is not correctable
2. The error correction processing device according to claim 1, further comprising:
JP25050691A 1991-09-02 1991-09-02 Error correction processor Expired - Fee Related JP3246926B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25050691A JP3246926B2 (en) 1991-09-02 1991-09-02 Error correction processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25050691A JP3246926B2 (en) 1991-09-02 1991-09-02 Error correction processor

Publications (2)

Publication Number Publication Date
JPH0561699A JPH0561699A (en) 1993-03-12
JP3246926B2 true JP3246926B2 (en) 2002-01-15

Family

ID=17208903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25050691A Expired - Fee Related JP3246926B2 (en) 1991-09-02 1991-09-02 Error correction processor

Country Status (1)

Country Link
JP (1) JP3246926B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6276825A (en) * 1985-09-30 1987-04-08 Hitachi Ltd Code error correcting method
JP2600678B2 (en) * 1987-06-03 1997-04-16 ソニー株式会社 Digital data playback device
JPS63302628A (en) * 1987-06-03 1988-12-09 Sony Corp Error correction method
JP2863168B2 (en) * 1988-03-25 1999-03-03 ソニー株式会社 Error detection method
JP2792670B2 (en) * 1989-03-31 1998-09-03 日本放送協会 Error correction code decoding method

Also Published As

Publication number Publication date
JPH0561699A (en) 1993-03-12

Similar Documents

Publication Publication Date Title
US4881232A (en) Method and apparatus for error correction
JP2854391B2 (en) Method for assembling data groups on DAT tape
JP2554743B2 (en) Error correction device for reproduction
JP3430193B2 (en) Digital signal reproducing apparatus and digital signal reproducing method
JPH0681058B2 (en) Data transmission / reception method
JPS62177768A (en) Error correcting device
JPS6187277A (en) Method and device for pcm signal reproduction
US6522831B2 (en) Reproducing apparatus
JP3246926B2 (en) Error correction processor
US5805618A (en) Reproducing apparatus for reproducing video information recorded together with error correction codes
JP2000010807A (en) Digital data reproducing device
JPH1083356A (en) Method and device for hiding error in stored digital data
JP2605270B2 (en) Error correction and checking device
US6877127B2 (en) Quality control in data transfer and storage apparatus
JP2664267B2 (en) Code error correction device
JP2533132B2 (en) Magnetic tape device
JP3282425B2 (en) Digital signal recording device
JP2612029B2 (en) Error correction control method
JPH04186559A (en) Readout control system for magnetic tape
JPS6161188B2 (en)
JP2779540B2 (en) Magnetic tape unit
JP3242682B2 (en) Error correction processor
JP3255183B2 (en) Error correction device and error correction method
JP3114177B2 (en) Error correction circuit
JP2000101447A (en) Device and method of error correction

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071102

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees