+

JP3869598B2 - Digital data encoding processing circuit, encoding processing method, and digital data recording apparatus including encoding processing circuit - Google Patents

Digital data encoding processing circuit, encoding processing method, and digital data recording apparatus including encoding processing circuit Download PDF

Info

Publication number
JP3869598B2
JP3869598B2 JP33257199A JP33257199A JP3869598B2 JP 3869598 B2 JP3869598 B2 JP 3869598B2 JP 33257199 A JP33257199 A JP 33257199A JP 33257199 A JP33257199 A JP 33257199A JP 3869598 B2 JP3869598 B2 JP 3869598B2
Authority
JP
Japan
Prior art keywords
data
code
ecc
generation
error detection
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
JP33257199A
Other languages
Japanese (ja)
Other versions
JP2001156649A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP33257199A priority Critical patent/JP3869598B2/en
Publication of JP2001156649A publication Critical patent/JP2001156649A/en
Application granted granted Critical
Publication of JP3869598B2 publication Critical patent/JP3869598B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Error Detection And Correction (AREA)

Description

【0001】
【発明の属する技術分野】
デジタルデータ記録媒体、特に、DVD(Digital Video Disc)への記録時における符号化回路、符号化方法、及び該符号化回路を備える記録装置に関する。
【0002】
【従来の技術】
記憶手段として利用されるDVDにおいて、記録データは、通常、図3に示すようなECC(Error Correction Code)ブロック構造を備える。このECCブロック構造は、短時間の大容量データの転送という目的に適うものである。ECCブロック構造は、大きさ2064バイトのデータセクタを16個含む。各データセクタの構造は、図4に示される。
【0003】
ホストコンピュータからDVDに書き込まれるべきユーザデータは2048バイト毎に分けられる。その分けられた2048バイトについて、各データセクタのアドレス情報とそのセクタの素性とを表すIDの4バイト、IDのエラー検出符号であるIEDの2バイト、リザーブ領域としてRSVの6バイト、セクタに対するエラー検出符号であるEDC(Error Detection Code)の4バイト、合計で16バイトが付加され、データセクタとなる。従って、各データセクタは、2048+16=2064バイトで構成されている。そして、このデータセクタは、後述するエラー訂正のためのパリティビットを符号化するために、172バイト×12行のデータ構造(図4)に分割される。
【0004】
ここで、図4に示すように、2048バイトのユーザデータ内の個々の相対アドレスは、「D0」から「D2047」までの表記により表される。D0からD159までのデータは1行目、D160からD331までのデータは2行目、・・・D1708からD1879までのデータは11行目、D1880からD2047までのデータは12行目に、分割される。
【0005】
大容量のデータを扱うDVDへの記録データには、データの信頼性を向上させるために、エラー訂正符号(ECC)が計算されて付加される。即ち、16のデータセクタを一つの固まり(ブロック)とし、この16セクタのブロックに対して、リードソロモン符号である積符号を求め、それらをエラー訂正符号(ECC)として付加し使用する。このようにエラー訂正符号の計算が行われる単位であるブロックが、「ECCブロック」と呼ばれる。
【0006】
ECCブロックの積符号化では、まず縦方向(列方向)のバイト列ごとに符号化を行い、得られた16バイトのECC符号を、関連する列の後に付加する。付加されるECC符号の全体(16バイト×172バイト)は、PO(Parity of Outer;外符号)部と呼ばれている(図3参照)。
【0007】
次に、ECCブロックの横方向(行方向)について、バイト行ごとに符号化を行い、得られた10バイトのECC符号を、関連する行の後に付加する。付加されるECC符号の全体(10バイト×208行)は、PI(Parity ofInner;内符号)部と呼ばれている(図3参照)。図3においても示されているように、PI部には、PO部に関するPIパリティ(図3のPI−2部分)も存在する。
【0008】
その後、ECCブロックをDVDに記録するときは、周知のように1つのECCブロックを16の物理セクタに変換する。この物理セクタは、まず、上述したデータセクタ2064バイト(172バイト×12行)に該データセクタに対応するPI部を加えた12行と、それに続けてPO部の1行を抜き出して付加した182バイト×13行の2336バイトを構成し(このことは、一般に「インターリーブする」と呼ばれる。)、次に、これを91バイトの「SYNC Frame」に26等分して、そのそれぞれの「Sync Frame」の先頭に2バイト分のシンク(Sync)コードを付加して2418バイトの物理セクタを得る。このようにして得られる物理セクタに必要な変調処理を行ったものをディスクに書込むことによってDVDへの記録が行われる(図5参照)。
【0009】
ホストコンピュータから転送されるユーザデータを符号化し、変調するまでの、上記の信号処理過程においては、データの一時記憶領域として外部記憶メモリ(例えば、DRAM)の利用が不可欠である。次に、以下において、従来技術におけるその過程とそこで利用される外部記憶メモリへのアクセス量について、ECCブロック単位に着目して、説明する。
【0010】
(1)まず、ホストコンピュータから送られるユーザデータを、外部記憶メモリへのアクセス処理を管理するバッファ・マネジャを介して、2Kバイト(1データセクタ)ずつ外部記憶メモリに格納する。この格納作業が16データセクタに関して行なわれる。このとき、外部記憶メモリへのアクセス量は、
2048バイトの書き込み×16セクタ=32768バイト(数字▲1▼)
となる。
【0011】
(2)次に、各データセクタに対して、ID(4バイト)、IED(2バイト)、RSV(6バイト)の付加を行う。このとき、外部記憶メモリへのアクセス量は、
・12バイトの書き込み×16セクタ=192バイト(数字▲2▼)
となる。
【0012】
(3)次に、各データセクタに対して、EDCコードの演算及びその付加を行う。EDCコードの演算においては、周知の技術を利用する。各データセクタにおいて先頭から2060バイトまでのデータを基礎にしてEDCコードを求める演算がなされ、導出された4バイトのEDCコードは、各データセクタの末尾アドレス上に付加される。このとき、外部記憶メモリへのアクセス量は、
・(2060バイトの読み取り+4バイトの書き込み)×16セクタ=33024バイト(数字▲3▼)
となる。
【0013】
(4)次に、ユーザデータ(2048バイト×16セクタ)に対するスクランブル処理が行われる。スクランブルについては、周知の技術を利用する。読み取ったユーザデータをスクランブルし外部記憶メモリへ書き戻す。このとき、外部記憶メモリへのアクセス量は、
・(2048バイトの読み取りと書き込み)×16セクタ=65536バイト(数字▲4▼)
となる。
【0014】
(5)次に、スクランブル処理が終了した16セクタのデータにおいて、バイト列毎に演算して得られるPO部の、パリティ演算と付加を行う。このとき、外部記憶メモリへのアクセス量は、
・(192バイトの読み取りと16バイトのパリティ書き込み)×172列=35776バイト(数字▲5▼)
となる。
【0015】
(6)次に、スクランブル処理が終了した16セクタのデータ、及び上記(5)において付加されたPO部データにおいて、バイト行毎に演算して得られるPI部のパリティ演算と付加を行う。このとき、外部記憶メモリへのアクセス量は、
・(172バイトの読み取りと10バイトのパリティ書き込み)×208行=37856バイト(数字▲6▼)
となる。この「208行」は、ユーザデータ192行とPO部データ10行とから、構成される。
【0016】
(7)PO部とPI部とのパリティが付加された16データセクタに対して、インターリーブしシンクコードを付加して、さらに8−16変調処理を行う。8−16変調処理に委ねるに際しての、外部記憶メモリへのアクセス量は、
・(2366バイトの読み取り)×16セクタ=37856バイト(数字▲7▼)
となる。
【0017】
以上のような従来技術での信号処理過程では、1つのECCブロックの信号処理を終えてディスク(DVD)へ書き込むべきデータを生成するまでには、外部記憶メモリへのデータアクセス量が膨大となる。例えば、上記の例では、総アクセス量(即ち、数字▲1▼から数字▲7▼までの総和)は、
・243008バイト(数字▲8▼)
となる。
【0018】
ところで、DVDの記録時の標準速度(一倍速)におけるECCブロック周期は、規格上、約(1/42)秒(周波数;約42Hz)と取り決められている。即ち、ディスク上に上記ECCブロックを1ブロックだけ書き込む時間は、約(1/42)秒である。このECCブロック周期内で、上記「243008バイト」(数字▲8▼)のデータ量が外部記憶メモリ上でアクセス(書き込み又は読み取り)されなければならないことになる。
【0019】
現在汎用利用される外部記憶メモリを使用すると、例えば、アクセスタイムが50ns(ナノ秒)程度のDRAMを使用して16ビット幅でアクセスすると、DRAMに対するバンド幅(単位時間当りで、最大でどれだけのデータ量をアクセスできるかを表す数字)は、精々約30−40Mバイト/秒である。つまり、上記のECCブロック周期内では、30−40Mバイト/42=約1Mバイト弱(数字▲9▼)のアクセスが可能である。この数字と、上記数字▲8▼「243008バイト」とを比較すると、
・「数字▲9▼」>「数字▲8▼」
であるから、この場合(即ち、一倍速時)では問題は生じない。
【0020】
しかし、今後、DVDへの記録の速度を、CD(Compact Disk)への記録処理が高速化したのと同様に、高速化させるとするならば、単位時間当りに外部記憶メモリでアクセス処理すべきデータ量を増大させなければならない。すると、上記「数字▲8▼」が増大することになるが、従来の技術では単位時間当りのアクセス処理可能データ量は、上記「数字▲9▼」以下に限定されている。つまり、従来の技術を用いた上記のような信号処理過程およびシステムでは、外部記憶メモリへのアクセス処理が律速段階になってしまい、DVD記録高速化は不可能であるという問題点が生じる。
【0021】
上記問題点を解決する一つの方策として、外部に記憶メモリを設けるのではなく、信号処理過程の回路(例えば、図1における信号処理回路4)の内部に記憶メモリを配してバンド幅を大きくする方策が考案されている。しかし、この方策では外部記憶メモリを配置するよりもコスト面で高価になり、効率的で安価なDVD記録装置(システム)を提供するという趣旨には反することになる。
【0022】
特開平10−126279号や特開平10―261263号において、一時記憶手段(一時外部記憶メモリ)へのアクセス量を軽減する方法が記載されている。しかし、いずれもデジタル記録データを再生する場合に主眼をおいて、アクセス量軽減を考察している。デジタルデータを記録するときに構成可能な手順の特性を、生かしたものではない。
【0023】
【発明が解決しようとする課題】
従って、本発明の目的は、DVDへの書込みの速度を高めるために、外部記憶メモリへのアクセス量を極力抑えるシステムを提供すること、及びそのシステムを用いた効率的で安価なDVD記録装置を提供することにある。
【0024】
【課題を解決するための手段】
本発明は、かかる目的を達成するためになされたものである。第1の発明に係るデジタルデータ符号化回路は、
一時記憶メモリと、
セクタ単位のデータに、IDと、該IDのエラー検出用符号とを生成し付加するID生成回路と、
セクタ単位のデータのエラー検出用符号を生成し付加するEDC生成回路と、
セクタ単位にデータをスクランブルする第1のスクランブル回路と、
所定の長さで区切られたデータストリームを順次読み、その所定の長さのデータに関するエラー訂正用符号を生成して付加するECC生成回路と
を含み、
上記ECC生成回路により、
(1)ECCブロック単位のデータのうちユーザデータ部分の、外符号の生成、
(2)ECCブロック単位のデータのうちユーザデータ部分の、内符号の生成、
(3)ECCブロック単位のデータのうち上記(1)の外符号部分の、内符号の生成、
以上のエラー訂正用符号の生成付加を行なうものである。
このデジタルデータ符号化回路において、
セクタ単位のデータを、一時記憶メモリに1回アクセスして読み取り、
読み取られたデータに関して、
EDC生成回路によりエラー検出用符号を生成し、
第1のスクランブル回路によりスクランブルを施し、
上記のIDと、該IDのエラー検出用符号と、セクタ単位のエラー検出用符号と、スクランブルされたデータとに基づいて、上記ECC生成回路により、該セクタ単位のデータに関する上記(2)の内符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号と、上記内符号とを、一時記憶メモリに書き込み、
上記ID生成付加、IDのエラー検出用符号生成付加、データのスクランブル、セクタのエラー検出用符号生成付加、及び内符号生成付加を、ECCブロック分行ない、
続いてECCブロックのデータに関して、一時記憶メモリからデータを読み取りつつ、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(1)の外符号を生成し、作成された外符号を一時記憶メモリに書き込み、更に、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(3)の内符号を生成し、作成された内符号を一時記憶メモリに書き込む、
ことを特徴とする。
【0025】
第2の発明に係るデジタルデータ符号化回路は、
データをスクランブルする第2のスクランブル回路と、
一時記憶メモリと、
セクタ単位のデータに、IDと、該IDのエラー検出用符号とを生成し付加するID生成回路と、
セクタ単位にデータをデスクランブルするデスクランブル回路と、
上記のデスクランブルされたセクタ単位のデータから、エラー検出用符号を生成し付加するEDC生成回路と、
所定の長さで区切られたデータストリームを順次読み、その所定の長さのデータに関するエラー訂正用符号を生成して付加するECC生成回路と
を含み、
上記ECC生成回路により、
(1)ECCブロック単位のデータのうちユーザデータ部分の、外符号の生成、
(2)ECCブロック単位のデータのうちユーザデータ部分の、内符号の生成、
(3)ECCブロック単位のデータのうち上記(1)の外符号部分の、内符号の生成、
以上のエラー訂正用符号の生成付加を行なうものである。
このデジタルデータ符号化回路において、
一時記憶メモリには第2のスクランブル回路によりスクランブルされたデータが書き込まれ、
スクランブルされたセクタ単位のデータを、一時記憶メモリに1回アクセスして読み取り、
読み取られたデータに関して、
デスクランブル回路によりデスクランブルを施した上で、EDC生成回路によりエラー検出用符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号とに基づいて、上記ECC生成回路により、該セクタ単位のデータに関する上記(2)の内符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号と、上記内符号とを、一時記憶メモリに書き込み、
上記ID生成付加、IDのエラー検出用符号生成付加、データのスクランブル、セクタのエラー検出用符号生成付加、及び内符号生成付加を、ECCブロック分行ない、
続いてECCブロックのデータに関して、一時記憶メモリからデータを読み取りつつ、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(1)の外符号を生成し、作成された外符号を一時記憶メモリに書き込み、更に、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(3)の内符号を生成し、作成された内符号を一時記憶メモリに書き込む、
ことを特徴とする。
【0026】
第3の発明に係る記録装置は、第1の発明または第2の発明のデジタルデータ符号化回路を有することを特徴とする。
【0027】
第4の発明に係るデジタルデータ符号化方法は、
一時記憶メモリと、
セクタ単位のデータに、IDと、該IDのエラー検出用符号とを生成し付加するID生成回路と、
セクタ単位のデータのエラー検出用符号を生成し付加するEDC生成回路と、
セクタ単位にデータをスクランブルする第1のスクランブル回路と、
所定の長さで区切られたデータストリームを順次読み、その所定の長さのデータに関するエラー訂正用符号を生成して付加するECC生成回路と
を含み、
上記ECC生成回路により、
(1)ECCブロック単位のデータのうちユーザデータ部分の、外符号の生成、
(2)ECCブロック単位のデータのうちユーザデータ部分の、内符号の生成、
(3)ECCブロック単位のデータのうち上記(1)の外符号部分の、内符号の生成、
以上のエラー訂正用符号の生成付加を行なう、
デジタルデータ符号化回路において、
セクタ単位のデータを、一時記憶メモリに1回アクセスして読み取り、
読み取られたデータに関して、
EDC生成回路によるエラー検出用符号の生成と、第1のスクランブル回路によるスクランブル処理を、並行して行ない、
上記のIDと、該IDのエラー検出用符号と、セクタ単位のエラー検出用符号と、スクランブルされたデータとに基づいて、上記ECC生成回路により、該セクタ単位のデータに関する上記(2)の内符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号と、上記内符号とを、第1の記憶手段に書き込み、
上記ID生成付加、IDのエラー検出用符号生成付加、データのスクランブル、セクタのエラー検出用符号生成付加、及び内符号生成付加を、ECCブロック分行ない、
続いてECCブロックのデータに関して、一時記憶メモリからデータを読み取りつつ、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(1)の外符号を生成し、作成された外符号を一時記憶メモリに書き込み、更に、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(3)の内符号を生成し、作成された内符号を一時記憶メモリに書き込む、
ことを特徴とする。
【0028】
第5の発明に係るデジタルデータ符号化方法は、
データをスクランブルする第2のスクランブル回路と、
一時記憶メモリと、
セクタ単位のデータに、IDと、該IDのエラー検出用符号とを生成し付加するID生成回路と、
セクタ単位にデータをデスクランブルするデスクランブル回路と、
上記のデスクランブルされたセクタ単位のデータから、エラー検出用符号を生成し付加するEDC生成回路と、
所定の長さで区切られたデータストリームを順次読み、その所定の長さのデータに関するエラー訂正用符号を生成して付加するECC生成回路と
を含み、
上記ECC生成回路により、
(1)ECCブロック単位のデータのうちユーザデータ部分の、外符号の生成、
(2)ECCブロック単位のデータのうちユーザデータ部分の、内符号の生成、
(3)ECCブロック単位のデータのうち上記(1)の外符号部分の、内符号の生成、
以上のエラー訂正用符号の生成付加を行なう、
デジタルデータ符号化回路において、
一時記憶メモリには第2のスクランブル回路によりスクランブルされたデータが書き込まれ、
スクランブルされたセクタ単位のデータを、一時記憶メモリに1回アクセスして読み取り、
読み取られたデータに関して、
デスクランブル回路によりデスクランブルを施した上で、EDC生成回路によりエラー検出用符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号とに基づいて、上記ECC生成回路により、該セクタ単位のデータに関する上記(2)の内符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号と、上記内符号とを、一時記憶メモリに書き込み、
上記ID生成付加、IDのエラー検出用符号生成付加、データのスクランブル、セクタのエラー検出用符号生成付加、及び内符号生成付加を、ECCブロック分行ない、
続いてECCブロックのデータに関して、一時記憶メモリからデータを読み取りつつ、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(1)の外符号を生成し、作成された外符号を一時記憶メモリに書き込み、更に、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(3)の内符号を生成し、作成された内符号を一時記憶メモリに書き込む、
ことを特徴とする。
【0029】
【発明の実施の形態】
以下において、添付の図面を参照しつつ、本発明に係る好適な実施形態を説明する。
【0030】
図1は、本発明に係る第1の実施形態であるDVD記録システム2のブロック図を示す。該記録システム2は、主として信号処理回路4において稼動し、制御部(CPU)6から動作の指示を受ける。信号処理回路4は、DVDに記録すべきユーザデータをホストコンピュータ8から受け取り、適宜外部記憶メモリ10を利用して該ユーザデータを変換し、8−16変調回路12を経て出力する。
【0031】
信号処理回路4は、ホストコンピュータ8とのデータのインタフェース部であるホストインタフェースブロック14と、外部記憶メモリ10へのアクセス処理を管理するバッファ・マネジャ16と、符号化ブロック18と、8−16変調を行なう8−16変調回路12とから構成される。さらに、符号化ブロック18は、バッファ・マネジャ16を介して、ホストインタフェースブロック14、外部記憶メモリ10及び8−16変調回路12とデータをやりとりし、その内部にID・IED・RSV生成回路20、シフトレジスタ22、EDC生成回路24、スクランブル回路26、及びパリティ生成回路28を備える。ID・IED・RSV生成回路20、シフトレジスタ22、EDC生成回路24、スクランブル回路26、及びパリティ生成回路28の詳細については、後で説明する。
【0032】
図1に示されるブロック図を用いて、信号処理回路4がユーザデータを変換し最後に8−16変調するまでの順序を説明する。
【0033】
まず、ホストから転送されるユーザデータはホストインタフェースブロック14を介し、バッファ・マネジャ16を介して外部記憶メモリ10に書き込まれる。
【0034】
(2Kバイト×16セクタ=)32Kバイトのデータが外部記憶メモリ10に蓄えられた時点で、信号処理回路4を制御する制御部(CPU)6は、符号化ブロック18に対して符号化命令を発行する。符号化ブロック18が符号化命令を受け取ると、符号化ブロック18内のID・IED・RSV生成回路20が、各々のデータセクタに対して、まず、IDの生成を行い外部記憶メモリ10の該当アドレス部分に書き込む。
【0035】
この時、IDの生成を信号処理回路4で行うか、行わないかをCPU6から選択できるようにしてもよい。また、IDの中のアドレス情報は信号処理回路4で自動生成されるようにするか、特定の内部レジスタ(図示せず。)に設定された値を使用するか、CPU6から選択できるようにしてもよい。
【0036】
続いて、上記と同様に、ID・IED・RSV生成回路20が、IDのエラー検出符号であるIEDを生成して外部記憶メモリ10の該当アドレス部分に書き込む。このとき、IEDの生成、付加を実行するか、実行せずに外部記憶メモリ10上の値を以降の符号化にそのまま使用するか、を選択できるようにしてもよい。
【0037】
更に上記と同様に、特定の内部レジスタ(図示せず。)に設定されたRSVを外部記憶メモリ10の該当アドレス部位に書き込む。このとき、RSVの付加を実行するか、実行せずに外部記憶メモリ10上の値を以降の符号化に使用するか、を選択できるようにしてもよい。
【0038】
ID、IED、RSVの付加が終了した後、符号化ブロック18は、外部記憶メモリ10からユーザデータを、データセクタ単位毎に、先頭から内部のシフトレジスタ20に順次取り込んでいく。
【0039】
シフトレジスタ22に取り込まれたデータは、スクランブル回路26とEDC生成回路24とに、同時に供給される。IDを含む最初の12バイトは、後段のパリティ生成回路28にも同時に供給される。このとき、EDC生成回路24に供給されるデータはID、IED、RSVの12バイトとユーザデータの先頭D0(即ち、1バイト目)からD2047(即ち、2048バイト目)までである。それらデータから4バイトのEDCコードが生成される。生成されたEDCコードは、後段のパリティ生成回路28に適宜のタイミングで供給される。また、このとき、スクランブル回路26に供給されるデータは、ユーザデータの先頭D0からD2047までの2048バイトである。それらデータに関してスクランブルが行われ、スクランブルされたデータは、後段のパリティ生成回路28に適宜のタイミングで供給される。
【0040】
即ち、後段のパリティ生成回路28に供給されるデータは、図4に示されるデータセクタの観点からみると、以下のように構成される。
◎シフトレジスタ22からの最初の12バイト(ID、IED、RSV)とスクランブル回路26からのD0からD159までの160バイトとにより1行目が構成され、
◎スクランブル回路26からのD160からD331までの172バイトにより2行目が構成され、以下同様にして3行目から11行目までが構成され、
◎そしてスクランブル回路26からのD1880からD2047までの168バイトとEDC生成回路24からの4バイトとにより12行目が構成される。
【0041】
パリティ生成回路28では、上記のように供給された12行(×172バイト)に基づいて行毎に10バイトのPIパリティが生成される。この処理で生成されるPIパリティは、ユーザデータ(172バイト×12行)に対するものであるから、図1に示されるPI−1部のパリティである。生成されたPIパリティは供給される172バイトの行毎にパリティ位置に付加される。行データはPIパリティが付加され順次シフトレジスタ22へ戻され、更に12行分が外部記憶メモリ10へバッファ・マネジャ16を介して書き戻される。
【0042】
従来技術における信号処理過程では、
(3)EDCコードの演算と、
(4)スクランブル処理と、
(6)PIパリティ生成とにおいて、
それぞれ別々に外部記憶メモリ10のユーザデータを読み取る(即ち、都合略3回読み取る)が、本発明に係る第1の実施形態では、外部記憶メモリ10への1回の読み取りで済ませている。また、従来技術における信号処理過程では、(5)POパリティ生成を行なってからその後(6)PIパリティ生成を行なうのであるが、後でも説明するように本発明に係る第1の実施形態では、(6)PIパリティ生成を行ないその後(5)POパリティ生成を行なう。仮に、POパリティ生成をPIパリティ生成よりも先に行なおうとすると、(3)EDCコード演算と(4)スクランブル処理の後に、必ず一旦外部記憶メモリ10にデータを書き込む処理を設けなければならない。即ち、POパリティ生成を先に行なうのではなく、PIパリティ生成を先に行なうことにより、上記のように従来技術での3回の読み取りが1回の読み取りに減少する。
【0043】
デジタル記録データを再生する装置、例えばDVDを再生する装置においては、まず、ECCブロックにおける列方向にデータを読みそれと該列に備わるPOパリティとを比較して、必要であればデータを訂正し、続いて、ECCブロックの行方向にデータを読みそれと該行に備わるPIパリティとを比較して、更に必要であればデータを訂正する。図6に示すように、例えば、CD40に損傷42(等)が加えられてしまうような場合、(ECCブロックにおける)行方向に連続してデータ(ビット値)が損なわれる可能性が、(ECCブロックにおける)列方向に連続してデータが損なわれる可能性に比べて、大幅に高いため、まず列方向のデータチェックによりデータ訂正を行なうことが合理的であるからである。従って、デジタル記録データの再生装置においては、列方向及びPOパリティに係る処理を先行させるのであるが、本発明のようにデジタルデータの記録装置においては、かかるような合理性は存在せず、従って、別の観点、即ち、外部記憶メモリへのアクセス量を減少させるという観点からは、行方向及びPIパリティに係る処理を先行させることが合理的である。このように本発明は、デジタルデータを記録するときに構成可能な手順の特性を生かしたものである。。
【0044】
符号化ブロック18が外部記憶メモリ10からユーザデータをシフトレジスタ22に順次取り込み、スクランブル処理、EDCコードの生成付加、及びPIパリティの生成付加するまでを、16データセクタ分(即ち、1ECCブロック分に相当)繰り返す。このことにより、1ECCブロックについて、
(2)ID,IED,RSVの付加、
(3)EDCコードの生成、付加、
(4)ユーザデータのスクランブル処理、
(6)PIパリティの大部分(即ちPI−1パリティ部分)の生成、付加
が終了したことになる。
【0045】
次に、書き戻したブロックデータ(32Kバイト)について、POパリティを生成付加する。バッファ・マネジャ16を介して、バイト列方向にデータを順次読み出して、シフトレジスタ22に取り込む。シフトレジスタ22に取り込まれたデータは、順次パリティ生成回路28に直接供給されてPOパリティが順次生成され、生成されたパリティは、シフトレジスタ22、バッファ・マネジャ16を介して外部記憶メモリ10へ書き戻される。これらの処理によって、
(5)POパリティ(16バイト×172列)の生成、付加
が終了したことになる。
【0046】
最後にPOパリティ部(172バイト×16行)に対するPIパリティ(図1のPI−2部分)を生成するため、外部記憶メモリ10からバッファ・マネジャ16を介して、POパリティ部分を読み取り、シフトレジスタ22からパリティ生成回路28に順次データが供給されて残りのPIパリティが生成され、生成されたパリティはシフトレジスタ22、バッファ・マネジャ16を介して外部記憶メモリ10へ書き戻されて、全ての符号化処理が終了する。
【0047】
符号化処理が終了したデータは、バッファ・マネジャ16を介して8−16変調回路12に読み出され、順次8−16変調が行われて外部のディスク書きこみ部に渡されディスク(DVD)に記録される。8−16変調処理については、公知のものを利用するため説明を省略する。
【0048】
図2は、本発明に係る第2の実施形態であるDVD記録システム2’のブロック図を示す。このブロック図における信号処理回路4では、ホストインタフェースブロック14とバッファ・マネジャ16との間に、第2のスクランブル回路30が配される。即ち、ホストコンピュータ8から受け取ったデータを、ホストインターフェースブロック14を介し、バッファ・マネジャ16を介して外部記憶メモリ10へ格納する段階で第2のスクランブル回路30に通過させ、まずスクランブル処理を終了させてしまう。よって、図1に配されているようなシフトレジスタ22とパリティ生成回路28との間のスクランブル回路26が、第2の実施形態では存在せず、PI−1部分(図1参照)のPIパリティ生成のためにパリティ生成回路28に供給されるデータについては、EDCコード4バイト以外はシフトレジスタ22から直接供給される。
【0049】
但し、EDC生成回路24にてEDCコードを生成する際に、EDC生成回路24にはスクランブル処理を施す前のデータが供給されなければならない。よって、図2に示すように、シフトレジスタ22とその後段のEDC生成回路24との間には、デスクランブル回路32が配されている。
【0050】
第2の実施形態のDVD記録システム2’において、この第2のスクランブル回路30によるスクランブル処理を行うか否かをCPUにより選択可能とし、第1の実施形態のDVD記録システム2でのスクランブル回路26によるスクランブル処理も実行するか否かを選択可能としてもよい。
【0051】
これまでの説明においては、記録媒体としてDVDを取り上げてきた。本発明発明は、DVDに限定されず他のデジタル記録媒体、例えばCD(コンパクト・ディスク)などへの記録においても、応用することができる。
【0052】
上記でも既に述べたが、従来技術における信号処理過程では、
(3)EDCコードの演算と、
(4)スクランブル処理と、
(6)PIパリティ生成とにおいて、
それぞれ別々に外部記憶メモリ10のユーザデータ(約32Kバイト)を読み取る(即ち、都合略3回読み取る)が、本発明に係る第1及び第2の実施形態では、外部記憶メモリ10への1回の読み取りの直後に上記3つの処理を行なっている。即ち従来技術では3回必要なところを、1回で済ませている。即ち、
・約32Kバイトの読み取り×2回=約64Kバイト
のアクセス量が減少する。前に記した「数字▲8▼」の「243008バイト」と比較すると、アクセス総量を(64K/243K)程度、即ち、約3割程度軽減できる。
【0053】
【発明の効果】
本発明によると、DVD記憶システムにおいて、一時外部記憶メモリへのアクセス総量を大幅に、即ち約3割程度減らすことができる。よって、従来の技術と略同様のシステム構成ではあるが、安価で効率的な高速処理に対応した記録システムを供給できる。
【図面の簡単な説明】
【図1】 本発明の第1の実施形態に係るDVD記録システムのブロック図である。
【図2】 本発明の第2の実施形態に係るDVD記録システムのブロック図である。
【図3】 DVDに記録されるデータのECCブロックの構造を示す模式図である。
【図4】 DVDに記録されるデータのデータセクタの構造を示す模式図である。
【図5】 DVDに記録されるデータの物理セクタの構造を示す模式図である。
【図6】 損傷が加えられたコンパクトディスクの平面図である。
【符号の説明】
2・・・DVD記録システム、
4・・・信号処理回路、
6・・・CPU、
8・・・ホストコンピュータ、
10・・・外部記憶メモリ、
12・・・8−16変調回路、
14・・・ホストインタフェースブロック、
16・・・バッファ・マネジャ、
18・・・符号化ブロック、
20・・・ID・IED・RSV生成回路、
22・・・シフトレジスタ、
24・・・EDC生成回路、
26・・・スクランブル回路、
28・・・パリティ生成回路、
30・・・第2のスクランブル回路、
32・・・ディスクランブル回路、
40・・・コンパクトディスク、
42・・・損傷
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an encoding circuit, an encoding method, and a recording apparatus including the encoding circuit at the time of recording on a digital data recording medium, in particular, a DVD (Digital Video Disc).
[0002]
[Prior art]
In a DVD used as a storage means, recording data usually has an ECC (Error Correction Code) block structure as shown in FIG. This ECC block structure is suitable for the purpose of transferring a large amount of data in a short time. The ECC block structure includes 16 data sectors of size 2064 bytes. The structure of each data sector is shown in FIG.
[0003]
User data to be written from the host computer to the DVD is divided into 2048 bytes. With regard to the divided 2048 bytes, 4 bytes of ID indicating the address information of each data sector and the identity of the sector, 2 bytes of IED which is an error detection code of ID, 6 bytes of RSV as a reserved area, error for the sector 4 bytes of EDC (Error Detection Code) which is a detection code, 16 bytes in total, are added to form a data sector. Therefore, each data sector is composed of 2048 + 16 = 2064 bytes. This data sector is divided into a data structure of 172 bytes × 12 rows (FIG. 4) in order to encode parity bits for error correction described later.
[0004]
Here, as shown in FIG. 4, each relative address in the 2048-byte user data is represented by a notation from “D0” to “D2047”. The data from D0 to D159 is divided into the first line, the data from D160 to D331 is divided into the second line, the data from D1708 to D1879 is divided into the 11th line, and the data from D1880 to D2047 is divided into the 12th line. The
[0005]
An error correction code (ECC) is calculated and added to data recorded on a DVD that handles a large amount of data in order to improve data reliability. That is, 16 data sectors are made into one block (block), a product code which is a Reed-Solomon code is obtained for the block of 16 sectors, and these are added and used as an error correction code (ECC). A block that is a unit in which an error correction code is calculated in this way is called an “ECC block”.
[0006]
In the product encoding of the ECC block, first, encoding is performed for each byte sequence in the vertical direction (column direction), and the obtained 16-byte ECC code is added after the related sequence. The whole ECC code (16 bytes × 172 bytes) to be added is called a PO (Parity of Outer) part (see FIG. 3).
[0007]
Next, encoding is performed for each byte row in the horizontal direction (row direction) of the ECC block, and the obtained 10-byte ECC code is added after the associated row. The whole of the added ECC code (10 bytes × 208 lines) is called a PI (Parity of Inner) part (see FIG. 3). As also shown in FIG. 3, the PI part also has a PI parity related to the PO part (PI-2 part in FIG. 3).
[0008]
Thereafter, when an ECC block is recorded on a DVD, as is well known, one ECC block is converted into 16 physical sectors. In this physical sector, first, 12 rows obtained by adding the PI portion corresponding to the data sector to the above-mentioned data sector 2064 bytes (172 bytes × 12 rows), followed by one row of the PO portion are extracted and added 182. It consists of 2336 bytes of bytes × 13 rows (this is commonly referred to as “interleave”), then it is divided into 26 equal parts of 91 bytes of “SYNC Frame”, and each “Sync Frame” ”Is added to the head of 2 bytes to obtain a 2418-byte physical sector. Recording on the DVD is performed by writing on the disk the necessary physical sector modulation processing thus obtained (see FIG. 5).
[0009]
In the above-described signal processing process until user data transferred from the host computer is encoded and modulated, it is indispensable to use an external storage memory (for example, DRAM) as a temporary data storage area. Next, the process in the prior art and the access amount to the external storage memory used there will be described below, focusing on the ECC block unit.
[0010]
(1) First, user data sent from the host computer is stored in the external storage memory in units of 2 Kbytes (one data sector) through a buffer manager that manages access processing to the external storage memory. This storage operation is performed for 16 data sectors. At this time, the amount of access to the external storage memory is
2048 bytes of writing x 16 sectors = 32768 bytes (number (1))
It becomes.
[0011]
(2) Next, ID (4 bytes), IED (2 bytes), and RSV (6 bytes) are added to each data sector. At this time, the amount of access to the external storage memory is
・ 12 bytes writing x 16 sectors = 192 bytes (number (2))
It becomes.
[0012]
(3) Next, an EDC code is calculated and added to each data sector. A known technique is used in the calculation of the EDC code. In each data sector, an operation for obtaining an EDC code is performed on the basis of data from the beginning to 2060 bytes, and the derived 4-byte EDC code is added to the end address of each data sector. At this time, the amount of access to the external storage memory is
-(2060 bytes read + 4 bytes write) x 16 sectors = 33024 bytes (number (3))
It becomes.
[0013]
(4) Next, scramble processing is performed on user data (2048 bytes × 16 sectors). For scrambling, a known technique is used. The read user data is scrambled and written back to the external storage memory. At this time, the amount of access to the external storage memory is
・ (Reading and writing of 2048 bytes) × 16 sectors = 65536 bytes (number (4))
It becomes.
[0014]
(5) Next, in the 16-sector data for which the scramble processing has been completed, the parity calculation and addition of the PO unit obtained by calculation for each byte string are performed. At this time, the amount of access to the external storage memory is
-(192 bytes read and 16 bytes parity write) x 172 columns = 35776 bytes (number 5)
It becomes.
[0015]
(6) Next, in the 16-sector data for which the scramble processing is completed and the PO part data added in (5) above, the parity calculation and addition of the PI part obtained by calculation for each byte row are performed. At this time, the amount of access to the external storage memory is
(172 bytes read and 10 bytes parity write) x 208 rows = 37856 bytes (number (6))
It becomes. This “208 rows” is composed of user data 192 rows and PO section data 10 rows.
[0016]
(7) The 16 data sectors to which the parity of the PO part and the PI part are added are interleaved, added with a sync code, and further subjected to 8-16 modulation processing. When entrusting to 8-16 modulation processing, the amount of access to the external storage memory is
・ (2366 bytes read) x 16 sectors = 37856 bytes (number 7)
It becomes.
[0017]
In the signal processing process in the prior art as described above, the amount of data access to the external storage memory becomes enormous before the signal processing of one ECC block is completed and data to be written to the disk (DVD) is generated. . For example, in the above example, the total access amount (that is, the total from the number (1) to the number (7)) is
-243008 bytes (number 8)
It becomes.
[0018]
By the way, the ECC block period at the standard speed (single speed) at the time of DVD recording is determined to be about (1/42) seconds (frequency: about 42 Hz) in the standard. That is, the time for writing one ECC block on the disk is about (1/42) seconds. Within the ECC block period, the data amount of “243008 bytes” (number (8)) must be accessed (written or read) on the external storage memory.
[0019]
When using an external storage memory that is currently used for general purposes, for example, when accessing with a 16-bit width using a DRAM having an access time of about 50 ns (nanoseconds), the bandwidth to the DRAM (how much at maximum per unit time) The number representing the amount of data that can be accessed is at most about 30-40 Mbytes / second. In other words, within the above ECC block period, 30-40 Mbytes / 42 = less than about 1 Mbyte (number (9)) can be accessed. When this number is compared with the above number (8) “243008 bytes”,
・ "Number ▲ 9 ▼">"Number ▲ 8 ▼"
Therefore, in this case (that is, at the time of the single speed), no problem occurs.
[0020]
However, in the future, if the recording speed on the DVD is to be increased in the same manner as the recording process on the CD (Compact Disk), the access processing should be performed in the external storage memory per unit time. The amount of data must be increased. Then, the “number (8)” increases, but in the conventional technology, the amount of data that can be accessed per unit time is limited to the “number (9)” or less. In other words, in the signal processing process and system as described above using the conventional technology, the access processing to the external storage memory becomes a rate-determining step, and there is a problem that DVD recording speed cannot be increased.
[0021]
As one measure for solving the above problem, a storage memory is arranged inside a circuit in a signal processing process (for example, the signal processing circuit 4 in FIG. 1) instead of providing a storage memory outside to increase the bandwidth. Measures have been devised. However, this measure is more expensive in terms of cost than disposing an external storage memory, which is contrary to the idea of providing an efficient and inexpensive DVD recording apparatus (system).
[0022]
Japanese Patent Application Laid-Open No. 10-126279 and Japanese Patent Application Laid-Open No. 10-261263 describe a method for reducing the access amount to temporary storage means (temporary external storage memory). However, in all cases, the reduction of the access amount is considered with the focus on reproducing digital recording data. It does not take advantage of the characteristics of the procedures that can be configured when recording digital data.
[0023]
[Problems to be solved by the invention]
Accordingly, an object of the present invention is to provide a system for minimizing the amount of access to the external storage memory in order to increase the writing speed to the DVD, and to provide an efficient and inexpensive DVD recording apparatus using the system. It is to provide.
[0024]
[Means for Solving the Problems]
The present invention has been made to achieve such an object. A digital data encoding circuit according to a first invention is:
Temporary storage memory,
An ID generation circuit that generates and adds an ID and an error detection code of the ID to sector-unit data;
An EDC generation circuit for generating and adding an error detection code for data in sectors;
A first scramble circuit that scrambles data in sector units;
An ECC generation circuit that sequentially reads a data stream delimited by a predetermined length, generates an error correction code for data of the predetermined length, and adds the error correction code;
By the ECC generation circuit,
(1) Outer code generation of user data portion of ECC block unit data,
(2) Generation of an inner code of the user data portion of the ECC block unit data,
(3) Generation of an inner code of the outer code part of (1) above in ECC block unit data,
The above error correction code is generated and added.
In this digital data encoding circuit,
Read sector unit data by accessing temporary storage memory once,
Regarding the read data,
An error detection code is generated by an EDC generation circuit,
Scrambled by the first scramble circuit,
Based on the ID, the error detection code of the ID, the error detection code in units of sectors, and the scrambled data, the ECC generation circuit causes the ECC unit to generate Generate a sign
The ID, the error detection code of the ID, the scrambled data, the error detection code for each sector, and the inner code are written in the temporary storage memory,
The above-mentioned ID generation addition, ID error detection code generation addition, data scrambling, sector error detection code generation addition, and inner code generation addition are performed for ECC blocks.
Subsequently, while reading data from the temporary storage memory with respect to the data of the ECC block, the ECC generation circuit generates the outer code of (1) regarding the data of the ECC block unit, and the generated outer code is stored in the temporary storage memory. Further, the ECC generation circuit generates the inner code of (3) related to the data of the ECC block unit, and writes the created inner code in the temporary storage memory.
It is characterized by that.
[0025]
A digital data encoding circuit according to a second invention is:
A second scramble circuit that scrambles the data;
Temporary storage memory,
An ID generation circuit that generates and adds an ID and an error detection code of the ID to sector-unit data;
A descrambling circuit for descrambling data in units of sectors;
An EDC generation circuit that generates and adds an error detection code from the descrambled sector unit data;
An ECC generation circuit that sequentially reads a data stream delimited by a predetermined length, generates an error correction code for data of the predetermined length, and adds the error correction code;
By the ECC generation circuit,
(1) Outer code generation of user data portion of ECC block unit data,
(2) Generation of an inner code of the user data portion of the ECC block unit data,
(3) Generation of an inner code of the outer code part of (1) above in ECC block unit data,
The above error correction code is generated and added.
In this digital data encoding circuit,
In the temporary storage memory, the data scrambled by the second scramble circuit is written,
Read the scrambled sector unit data by accessing the temporary storage memory once,
Regarding the read data,
After descrambling by the descrambling circuit, an error detection code is generated by the EDC generation circuit,
Based on the ID, the error detection code of the ID, the scrambled data, and the error detection code in units of sectors, the ECC generation circuit causes the ECC unit to generate Generate a sign
The ID, the error detection code of the ID, the scrambled data, the error detection code for each sector, and the inner code are written in the temporary storage memory,
The above-mentioned ID generation addition, ID error detection code generation addition, data scrambling, sector error detection code generation addition, and inner code generation addition are performed for ECC blocks.
Subsequently, while reading data from the temporary storage memory with respect to the data of the ECC block, the ECC generation circuit generates the outer code of (1) regarding the data of the ECC block unit, and the generated outer code is stored in the temporary storage memory. Further, the ECC generation circuit generates the inner code of (3) related to the data of the ECC block unit, and writes the created inner code in the temporary storage memory.
It is characterized by that.
[0026]
A recording apparatus according to a third invention has the digital data encoding circuit of the first invention or the second invention.
[0027]
A digital data encoding method according to a fourth invention is:
Temporary storage memory,
An ID generation circuit that generates and adds an ID and an error detection code of the ID to sector-unit data;
An EDC generation circuit for generating and adding an error detection code for data in sectors;
A first scramble circuit that scrambles data in sector units;
An ECC generation circuit that sequentially reads a data stream delimited by a predetermined length, generates an error correction code for data of the predetermined length, and adds the error correction code;
By the ECC generation circuit,
(1) Outer code generation of user data portion of ECC block unit data,
(2) Generation of an inner code of the user data portion of the ECC block unit data,
(3) Generation of an inner code of the outer code part of (1) above in ECC block unit data,
Generate and add the above error correction code,
In the digital data encoding circuit,
Read sector unit data by accessing temporary storage memory once,
Regarding the read data,
The error detection code generation by the EDC generation circuit and the scramble processing by the first scramble circuit are performed in parallel.
Based on the ID, the error detection code of the ID, the error detection code in units of sectors, and the scrambled data, the ECC generation circuit causes the ECC unit to generate Generate a sign
Write the ID, the error detection code of the ID, the scrambled data, the error detection code for each sector, and the inner code in the first storage means,
The above-mentioned ID generation addition, ID error detection code generation addition, data scrambling, sector error detection code generation addition, and inner code generation addition are performed for ECC blocks.
Subsequently, while reading data from the temporary storage memory with respect to the data of the ECC block, the ECC generation circuit generates the outer code of (1) regarding the data of the ECC block unit, and the generated outer code is stored in the temporary storage memory. Further, the ECC generation circuit generates the inner code of (3) related to the data of the ECC block unit, and writes the created inner code in the temporary storage memory.
It is characterized by that.
[0028]
A digital data encoding method according to a fifth invention is:
A second scramble circuit that scrambles the data;
Temporary storage memory,
An ID generation circuit that generates and adds an ID and an error detection code of the ID to sector-unit data;
A descrambling circuit for descrambling data in units of sectors;
An EDC generation circuit that generates and adds an error detection code from the descrambled sector unit data;
An ECC generation circuit that sequentially reads a data stream delimited by a predetermined length, generates an error correction code for data of the predetermined length, and adds the error correction code;
By the ECC generation circuit,
(1) Outer code generation of user data portion of ECC block unit data,
(2) Generation of an inner code of the user data portion of the ECC block unit data,
(3) Generation of an inner code of the outer code part of (1) above in ECC block unit data,
Generate and add the above error correction code,
In the digital data encoding circuit,
In the temporary storage memory, the data scrambled by the second scramble circuit is written,
Read the scrambled sector unit data by accessing the temporary storage memory once,
Regarding the read data,
After descrambling by the descrambling circuit, an error detection code is generated by the EDC generation circuit,
Based on the ID, the error detection code of the ID, the scrambled data, and the error detection code in units of sectors, the ECC generation circuit causes the ECC unit to generate Generate a sign
The ID, the error detection code of the ID, the scrambled data, the error detection code for each sector, and the inner code are written in the temporary storage memory,
The above-mentioned ID generation addition, ID error detection code generation addition, data scrambling, sector error detection code generation addition, and inner code generation addition are performed for ECC blocks.
Subsequently, while reading data from the temporary storage memory with respect to the data of the ECC block, the ECC generation circuit generates the outer code of (1) regarding the data of the ECC block unit, and the generated outer code is stored in the temporary storage memory. Further, the ECC generation circuit generates the inner code of (3) related to the data of the ECC block unit, and writes the created inner code in the temporary storage memory.
It is characterized by that.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
[0030]
FIG. 1 shows a block diagram of a DVD recording system 2 according to the first embodiment of the present invention. The recording system 2 mainly operates in the signal processing circuit 4 and receives an operation instruction from a control unit (CPU) 6. The signal processing circuit 4 receives user data to be recorded on the DVD from the host computer 8, converts the user data appropriately using the external storage memory 10, and outputs it through the 8-16 modulation circuit 12.
[0031]
The signal processing circuit 4 includes a host interface block 14 that is a data interface unit with the host computer 8, a buffer manager 16 that manages access processing to the external storage memory 10, an encoding block 18, and 8-16 modulation. And an 8-16 modulation circuit 12 for performing the above. Further, the encoding block 18 exchanges data with the host interface block 14, the external storage memory 10 and the 8-16 modulation circuit 12 via the buffer manager 16, and the ID / IED / RSV generation circuit 20, A shift register 22, an EDC generation circuit 24, a scramble circuit 26, and a parity generation circuit 28 are provided. Details of the ID / IED / RSV generation circuit 20, the shift register 22, the EDC generation circuit 24, the scramble circuit 26, and the parity generation circuit 28 will be described later.
[0032]
The order from when the signal processing circuit 4 converts user data to the last 8-16 modulation will be described with reference to the block diagram shown in FIG.
[0033]
First, user data transferred from the host is written into the external storage memory 10 via the host interface block 14 and the buffer manager 16.
[0034]
When (2 Kbytes × 16 sectors =) 32 Kbytes of data is stored in the external storage memory 10, the control unit (CPU) 6 that controls the signal processing circuit 4 sends an encoding instruction to the encoding block 18. Issue. When the encoding block 18 receives the encoding instruction, the ID / IED / RSV generation circuit 20 in the encoding block 18 first generates an ID for each data sector and the corresponding address of the external storage memory 10. Write to the part.
[0035]
At this time, the CPU 6 may select whether the ID generation is performed by the signal processing circuit 4 or not. Further, the address information in the ID is automatically generated by the signal processing circuit 4, or a value set in a specific internal register (not shown) is used, or the CPU 6 can select it. Also good.
[0036]
Subsequently, in the same manner as described above, the ID / IED / RSV generation circuit 20 generates an IED that is an ID error detection code and writes it in the corresponding address portion of the external storage memory 10. At this time, it may be possible to select whether to generate and add the IED, or to use the value on the external storage memory 10 as it is for the subsequent encoding without executing it.
[0037]
Further, similarly to the above, the RSV set in a specific internal register (not shown) is written in the corresponding address portion of the external storage memory 10. At this time, it may be possible to select whether to add the RSV or to use the value on the external storage memory 10 for the subsequent encoding without performing the addition.
[0038]
After the addition of ID, IED, and RSV is completed, the encoding block 18 sequentially fetches user data from the external storage memory 10 into the internal shift register 20 from the head for each data sector unit.
[0039]
The data taken into the shift register 22 is supplied to the scramble circuit 26 and the EDC generation circuit 24 at the same time. The first 12 bytes including the ID are simultaneously supplied to the parity generation circuit 28 at the subsequent stage. At this time, the data supplied to the EDC generation circuit 24 is 12 bytes of ID, IED, and RSV and the head D0 (that is, the first byte) to D2047 (that is, the 2048th byte) of the user data. A 4-byte EDC code is generated from the data. The generated EDC code is supplied to the subsequent parity generation circuit 28 at an appropriate timing. At this time, the data supplied to the scramble circuit 26 is 2048 bytes from the head D0 to D2047 of the user data. The data is scrambled, and the scrambled data is supplied to the subsequent parity generation circuit 28 at an appropriate timing.
[0040]
That is, the data supplied to the parity generation circuit 28 in the subsequent stage is configured as follows from the viewpoint of the data sector shown in FIG.
The first row is composed of the first 12 bytes (ID, IED, RSV) from the shift register 22 and 160 bytes from D0 to D159 from the scramble circuit 26,
The second row is composed of 172 bytes from D160 to D331 from the scramble circuit 26, and the third to eleventh rows are composed in the same manner,
The 12th row is composed of 168 bytes from D1880 to D2047 from the scramble circuit 26 and 4 bytes from the EDC generation circuit 24.
[0041]
The parity generation circuit 28 generates a 10-byte PI parity for each row based on the 12 rows (× 172 bytes) supplied as described above. Since the PI parity generated by this processing is for user data (172 bytes × 12 rows), it is the parity of the PI-1 portion shown in FIG. The generated PI parity is added to the parity position for each row of 172 bytes supplied. The row data is added with PI parity and sequentially returned to the shift register 22, and another 12 rows are written back to the external storage memory 10 via the buffer manager 16.
[0042]
In the signal processing process in the prior art,
(3) EDC code calculation;
(4) scramble processing;
(6) In PI parity generation,
The user data in the external storage memory 10 is read separately (that is, read about three times for convenience), but in the first embodiment according to the present invention, only one reading to the external storage memory 10 is required. Also, in the signal processing process in the prior art, (5) PO parity generation is performed, and then (6) PI parity generation is performed. As described later, in the first embodiment according to the present invention, (6) PI parity generation is performed, and then (5) PO parity generation is performed. If the PO parity generation is performed before the PI parity generation, a process for writing data to the external storage memory 10 must always be provided after (3) EDC code calculation and (4) scramble processing. That is, by performing the PI parity generation first instead of the PO parity generation first, the three readings in the prior art are reduced to one reading as described above.
[0043]
In an apparatus for reproducing digitally recorded data, for example, an apparatus for reproducing a DVD, first, the data is read in the column direction in the ECC block and compared with the PO parity provided in the column, and the data is corrected if necessary. Subsequently, the data is read in the row direction of the ECC block and compared with the PI parity provided in the row, and if necessary, the data is corrected. As shown in FIG. 6, for example, when the damage 42 (etc.) is added to the CD 40, there is a possibility that the data (bit value) is continuously lost in the row direction (in the ECC block) (ECC This is because it is much higher than the possibility that data is continuously lost in the column direction (in a block), and therefore it is reasonable to first perform data correction by checking data in the column direction. Therefore, in the digital recording data reproducing apparatus, the processing related to the column direction and the PO parity is preceded. However, in the digital data recording apparatus as in the present invention, such rationality does not exist. From another viewpoint, that is, from the viewpoint of reducing the access amount to the external storage memory, it is reasonable to precede the processing related to the row direction and the PI parity. As described above, the present invention makes use of the characteristics of procedures that can be configured when digital data is recorded. .
[0044]
The encoding block 18 sequentially fetches user data from the external storage memory 10 into the shift register 22 and scrambles, generates and adds an EDC code, and generates and adds a PI parity. Equivalent) Repeat. As a result, for one ECC block,
(2) Addition of ID, IED, RSV,
(3) EDC code generation, addition,
(4) User data scramble processing,
(6) The generation and addition of most of the PI parity (that is, the PI-1 parity portion) has been completed.
[0045]
Next, PO parity is generated and added to the rewritten block data (32 Kbytes). Data is sequentially read in the direction of the byte string via the buffer manager 16 and taken into the shift register 22. The data fetched into the shift register 22 is directly supplied to the parity generation circuit 28 in order and PO parity is sequentially generated. The generated parity is written to the external storage memory 10 via the shift register 22 and the buffer manager 16. Returned. Through these processes,
(5) Generation and addition of PO parity (16 bytes × 172 columns) have been completed.
[0046]
Finally, in order to generate a PI parity (PI-2 portion in FIG. 1) for the PO parity portion (172 bytes × 16 rows), the PO parity portion is read from the external storage memory 10 via the buffer manager 16, and the shift register 22 sequentially supplies data to the parity generation circuit 28 to generate the remaining PI parity. The generated parity is written back to the external storage memory 10 via the shift register 22 and the buffer manager 16, and all codes are Processing ends.
[0047]
The data that has been encoded is read out to the 8-16 modulation circuit 12 via the buffer manager 16, sequentially subjected to 8-16 modulation, and transferred to an external disk writing unit, to the disk (DVD). To be recorded. About 8-16 modulation processing, since a well-known thing is used, description is abbreviate | omitted.
[0048]
FIG. 2 shows a block diagram of a DVD recording system 2 ′ according to the second embodiment of the present invention. In the signal processing circuit 4 in this block diagram, a second scramble circuit 30 is disposed between the host interface block 14 and the buffer manager 16. That is, the data received from the host computer 8 is passed through the second scramble circuit 30 when it is stored in the external storage memory 10 via the host interface block 14 and the buffer manager 16, and the scramble process is terminated first. End up. Therefore, the scramble circuit 26 between the shift register 22 and the parity generation circuit 28 as shown in FIG. 1 does not exist in the second embodiment, and the PI parity of the PI-1 portion (see FIG. 1). As for data supplied to the parity generation circuit 28 for generation, data other than the EDC code 4 bytes is directly supplied from the shift register 22.
[0049]
However, when the EDC generation circuit 24 generates an EDC code, the EDC generation circuit 24 must be supplied with data before being scrambled. Therefore, as shown in FIG. 2, a descrambling circuit 32 is arranged between the shift register 22 and the EDC generation circuit 24 at the subsequent stage.
[0050]
In the DVD recording system 2 ′ of the second embodiment, the CPU can select whether or not to perform the scramble processing by the second scramble circuit 30, and the scramble circuit 26 in the DVD recording system 2 of the first embodiment. It may be possible to select whether or not to execute the scramble process according to.
[0051]
In the description so far, DVD has been taken up as a recording medium. The present invention is not limited to a DVD and can be applied to recording on other digital recording media such as a CD (compact disc).
[0052]
As already mentioned above, in the signal processing process in the prior art,
(3) EDC code calculation;
(4) scramble processing;
(6) In PI parity generation,
User data (about 32 Kbytes) in the external storage memory 10 is read separately (that is, read about three times for convenience), but in the first and second embodiments according to the present invention, the user data is read into the external storage memory 10 once. The above three processes are performed immediately after reading. In other words, in the prior art, the place that is required three times is completed once. That is,
-About 32 Kbytes read x 2 times = Access amount of about 64 Kbytes decreases. Compared with “243008 bytes” of “number 8” described above, the total access amount can be reduced by about (64K / 243K), that is, by about 30%.
[0053]
【The invention's effect】
According to the present invention, in the DVD storage system, the total access amount to the temporary external storage memory can be greatly reduced, that is, about 30%. Therefore, although the system configuration is almost the same as that of the conventional technology, a recording system that can be used for inexpensive and efficient high-speed processing can be supplied.
[Brief description of the drawings]
FIG. 1 is a block diagram of a DVD recording system according to a first embodiment of the present invention.
FIG. 2 is a block diagram of a DVD recording system according to a second embodiment of the present invention.
FIG. 3 is a schematic diagram showing the structure of an ECC block of data recorded on a DVD.
FIG. 4 is a schematic diagram showing a structure of a data sector of data recorded on a DVD.
FIG. 5 is a schematic diagram showing the structure of a physical sector of data recorded on a DVD.
FIG. 6 is a plan view of a damaged compact disc.
[Explanation of symbols]
2 ... DVD recording system,
4 ... Signal processing circuit,
6 ... CPU,
8: Host computer
10 ... External storage memory,
12 ... 8-16 modulation circuit,
14: Host interface block,
16: Buffer manager
18 ... coding block,
20... ID / IED / RSV generation circuit,
22 ... shift register,
24... EDC generation circuit,
26: Scramble circuit,
28: Parity generation circuit,
30 ... second scramble circuit,
32 ... descrambling circuit,
40 ... compact disc,
42 ... Damage

Claims (5)

一時記憶メモリと、
セクタ単位のデータに、IDと、該IDのエラー検出用符号とを生成し付加するID生成回路と、
セクタ単位のデータのエラー検出用符号を生成し付加するEDC生成回路と、
セクタ単位にデータをスクランブルする第1のスクランブル回路と、
所定の長さで区切られたデータストリームを順次読み、その所定の長さのデータに関するエラー訂正用符号を生成して付加するECC生成回路と
を含み、
上記ECC生成回路により、
(1)ECCブロック単位のデータのうちユーザデータ部分の、外符号の生成、
(2)ECCブロック単位のデータのうちユーザデータ部分の、内符号の生成、
(3)ECCブロック単位のデータのうち上記(1)の外符号部分の、内符号の生成、
以上のエラー訂正用符号の生成付加を行なう、
デジタルデータ符号化回路において、
セクタ単位のデータを、一時記憶メモリに1回アクセスして読み取り、
読み取られたデータに関して、
EDC生成回路によりエラー検出用符号を生成し、
第1のスクランブル回路によりスクランブルを施し、
上記のIDと、該IDのエラー検出用符号と、セクタ単位のエラー検出用符号と、スクランブルされたデータとに基づいて、上記ECC生成回路により、該セクタ単位のデータに関する上記(2)の内符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号と、上記内符号とを、一時記憶メモリに書き込み、
上記ID生成付加、IDのエラー検出用符号生成付加、データのスクランブル、セクタのエラー検出用符号生成付加、及び内符号生成付加を、ECCブロック分行ない、
続いてECCブロックのデータに関して、一時記憶メモリからデータを読み取りつつ、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(1)の外符号を生成し、作成された外符号を一時記憶メモリに書き込み、更に、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(3)の内符号を生成し、作成された内符号を一時記憶メモリに書き込む、
ことを特徴とする、デジタルデータ符号化回路。
Temporary storage memory,
An ID generation circuit that generates and adds an ID and an error detection code of the ID to sector-unit data;
An EDC generation circuit for generating and adding an error detection code for data in sectors;
A first scramble circuit that scrambles data in sector units;
An ECC generation circuit that sequentially reads a data stream delimited by a predetermined length, generates an error correction code for data of the predetermined length, and adds the error correction code;
By the ECC generation circuit,
(1) Outer code generation of user data portion of ECC block unit data,
(2) Generation of an inner code of the user data portion of the ECC block unit data,
(3) Generation of an inner code of the outer code part of (1) above in ECC block unit data,
Generate and add the above error correction code,
In the digital data encoding circuit,
Read sector unit data by accessing temporary storage memory once,
Regarding the read data,
An error detection code is generated by an EDC generation circuit,
Scrambled by the first scramble circuit,
Based on the ID, the error detection code of the ID, the error detection code in units of sectors, and the scrambled data, the ECC generation circuit causes the ECC unit to generate Generate a sign
The ID, the error detection code of the ID, the scrambled data, the error detection code for each sector, and the inner code are written in the temporary storage memory,
The above-mentioned ID generation addition, ID error detection code generation addition, data scrambling, sector error detection code generation addition, and inner code generation addition are performed for ECC blocks.
Subsequently, while reading data from the temporary storage memory with respect to the data of the ECC block, the ECC generation circuit generates the outer code of (1) regarding the data of the ECC block unit, and the generated outer code is stored in the temporary storage memory. Further, the ECC generation circuit generates the inner code of (3) related to the data of the ECC block unit, and writes the created inner code in the temporary storage memory.
A digital data encoding circuit characterized by the above.
データをスクランブルする第2のスクランブル回路と、
一時記憶メモリと、
セクタ単位のデータに、IDと、該IDのエラー検出用符号とを生成し付加するID生成回路と、
セクタ単位にデータをデスクランブルするデスクランブル回路と、
上記のデスクランブルされたセクタ単位のデータから、エラー検出用符号を生成し付加するEDC生成回路と、
所定の長さで区切られたデータストリームを順次読み、その所定の長さのデータに関するエラー訂正用符号を生成して付加するECC生成回路と
を含み、
上記ECC生成回路により、
(1)ECCブロック単位のデータのうちユーザデータ部分の、外符号の生成、
(2)ECCブロック単位のデータのうちユーザデータ部分の、内符号の生成、
(3)ECCブロック単位のデータのうち上記(1)の外符号部分の、内符号の生成、
以上のエラー訂正用符号の生成付加を行なう、
デジタルデータ符号化回路において、
一時記憶メモリには第2のスクランブル回路によりスクランブルされたデータが書き込まれ、
スクランブルされたセクタ単位のデータを、一時記憶メモリに1回アクセスして読み取り、
読み取られたデータに関して、
デスクランブル回路によりデスクランブルを施した上で、EDC生成回路によりエラー検出用符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号とに基づいて、上記ECC生成回路により、該セクタ単位のデータに関する上記(2)の内符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号と、上記内符号とを、一時記憶メモリに書き込み、
上記ID生成付加、IDのエラー検出用符号生成付加、データのスクランブル、セクタのエラー検出用符号生成付加、及び内符号生成付加を、ECCブロック分行ない、
続いてECCブロックのデータに関して、一時記憶メモリからデータを読み取りつつ、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(1)の外符号を生成し、作成された外符号を一時記憶メモリに書き込み、更に、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(3)の内符号を生成し、作成された内符号を一時記憶メモリに書き込む、
ことを特徴とする、デジタルデータ符号化回路。
A second scramble circuit that scrambles the data;
Temporary storage memory,
An ID generation circuit that generates and adds an ID and an error detection code of the ID to sector-unit data;
A descrambling circuit for descrambling data in units of sectors;
An EDC generation circuit that generates and adds an error detection code from the descrambled sector unit data;
An ECC generation circuit that sequentially reads a data stream delimited by a predetermined length, generates an error correction code for data of the predetermined length, and adds the error correction code;
By the ECC generation circuit,
(1) Outer code generation of user data portion of ECC block unit data,
(2) Generation of an inner code of the user data portion of the ECC block unit data,
(3) Generation of an inner code of the outer code part of (1) above in ECC block unit data,
Generate and add the above error correction code,
In the digital data encoding circuit,
In the temporary storage memory, the data scrambled by the second scramble circuit is written,
Read the scrambled sector unit data by accessing the temporary storage memory once,
Regarding the read data,
After descrambling by the descrambling circuit, an error detection code is generated by the EDC generation circuit,
Based on the ID, the error detection code of the ID, the scrambled data, and the error detection code in units of sectors, the ECC generation circuit causes the ECC unit to generate Generate a sign
The ID, the error detection code of the ID, the scrambled data, the error detection code for each sector, and the inner code are written in the temporary storage memory,
The above-mentioned ID generation addition, ID error detection code generation addition, data scrambling, sector error detection code generation addition, and inner code generation addition are performed for ECC blocks.
Subsequently, while reading data from the temporary storage memory with respect to the data of the ECC block, the ECC generation circuit generates the outer code of (1) regarding the data of the ECC block unit, and the generated outer code is stored in the temporary storage memory. Further, the ECC generation circuit generates the inner code of (3) related to the data of the ECC block unit, and writes the created inner code in the temporary storage memory.
A digital data encoding circuit characterized by the above.
請求項1または請求項2に記載のデジタルデータ符号化回路を有することを特徴とする記録装置。A recording apparatus comprising the digital data encoding circuit according to claim 1. 一時記憶メモリと、
セクタ単位のデータに、IDと、該IDのエラー検出用符号とを生成し付加するID生成回路と、
セクタ単位のデータのエラー検出用符号を生成し付加するEDC生成回路と、
セクタ単位にデータをスクランブルする第1のスクランブル回路と、
所定の長さで区切られたデータストリームを順次読み、その所定の長さのデータに関するエラー訂正用符号を生成して付加するECC生成回路と
を含み、
上記ECC生成回路により、
(1)ECCブロック単位のデータのうちユーザデータ部分の、外符号の生成、
(2)ECCブロック単位のデータのうちユーザデータ部分の、内符号の生成、
(3)ECCブロック単位のデータのうち上記(1)の外符号部分の、内符号の生成、
以上のエラー訂正用符号の生成付加を行なう、
デジタルデータ符号化回路において、
セクタ単位のデータを、一時記憶メモリに1回アクセスして読み取り、
読み取られたデータに関して、
EDC生成回路によるエラー検出用符号の生成と、第1のスクランブル回路によるスクランブル処理を、並行して行ない、
上記のIDと、該IDのエラー検出用符号と、セクタ単位のエラー検出用符号と、スクランブルされたデータとに基づいて、上記ECC生成回路により、該セクタ単位のデータに関する上記(2)の内符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号と、上記内符号とを、第1の記憶手段に書き込み、
上記ID生成付加、IDのエラー検出用符号生成付加、データのスクランブル、セクタのエラー検出用符号生成付加、及び内符号生成付加を、ECCブロック分行ない、
続いてECCブロックのデータに関して、一時記憶メモリからデータを読み取りつつ、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(1)の外符号を生成し、作成された外符号を一時記憶メモリに書き込み、更に、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(3)の内符号を生成し、作成された内符号を一時記憶メモリに書き込む、
ことを特徴とする、デジタルデータ符号化方法。
Temporary storage memory,
An ID generation circuit that generates and adds an ID and an error detection code of the ID to sector-unit data;
An EDC generation circuit for generating and adding an error detection code for data in sectors;
A first scramble circuit that scrambles data in sector units;
An ECC generation circuit that sequentially reads a data stream delimited by a predetermined length, generates an error correction code for data of the predetermined length, and adds the error correction code;
By the ECC generation circuit,
(1) Outer code generation of user data portion of ECC block unit data,
(2) Generation of an inner code of the user data portion of the ECC block unit data,
(3) Generation of an inner code of the outer code part of (1) above in ECC block unit data,
Generate and add the above error correction code,
In the digital data encoding circuit,
Read sector unit data by accessing temporary storage memory once,
Regarding the read data,
The error detection code generation by the EDC generation circuit and the scramble processing by the first scramble circuit are performed in parallel.
Based on the ID, the error detection code of the ID, the error detection code in units of sectors, and the scrambled data, the ECC generation circuit causes the ECC unit to generate Generate a sign
Write the ID, the error detection code of the ID, the scrambled data, the error detection code for each sector, and the inner code in the first storage means,
The above-mentioned ID generation addition, ID error detection code generation addition, data scrambling, sector error detection code generation addition, and inner code generation addition are performed for ECC blocks.
Subsequently, while reading data from the temporary storage memory with respect to the data of the ECC block, the ECC generation circuit generates the outer code of (1) regarding the data of the ECC block unit, and the generated outer code is stored in the temporary storage memory. Further, the ECC generation circuit generates the inner code of (3) related to the data of the ECC block unit, and writes the created inner code in the temporary storage memory.
And a digital data encoding method.
データをスクランブルする第2のスクランブル回路と、
一時記憶メモリと、
セクタ単位のデータに、IDと、該IDのエラー検出用符号とを生成し付加するID生成回路と、
セクタ単位にデータをデスクランブルするデスクランブル回路と、
上記のデスクランブルされたセクタ単位のデータから、エラー検出用符号を生成し付加するEDC生成回路と、
所定の長さで区切られたデータストリームを順次読み、その所定の長さのデータに関するエラー訂正用符号を生成して付加するECC生成回路と
を含み、
上記ECC生成回路により、
(1)ECCブロック単位のデータのうちユーザデータ部分の、外符号の生成、
(2)ECCブロック単位のデータのうちユーザデータ部分の、内符号の生成、
(3)ECCブロック単位のデータのうち上記(1)の外符号部分の、内符号の生成、
以上のエラー訂正用符号の生成付加を行なう、
デジタルデータ符号化回路において、
一時記憶メモリには第2のスクランブル回路によりスクランブルされたデータが書き込まれ、
スクランブルされたセクタ単位のデータを、一時記憶メモリに1回アクセスして読み取り、
読み取られたデータに関して、
デスクランブル回路によりデスクランブルを施した上で、EDC生成回路によりエラー検出用符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号とに基づいて、上記ECC生成回路により、該セクタ単位のデータに関する上記(2)の内符号を生成し、
上記のIDと、該IDのエラー検出用符号と、スクランブルされたデータと、セクタ単位のエラー検出用符号と、上記内符号とを、一時記憶メモリに書き込み、
上記ID生成付加、IDのエラー検出用符号生成付加、データのスクランブル、セクタのエラー検出用符号生成付加、及び内符号生成付加を、ECCブロック分行ない、
続いてECCブロックのデータに関して、一時記憶メモリからデータを読み取りつつ、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(1)の外符号を生成し、作成された外符号を一時記憶メモリに書き込み、更に、上記ECC生成回路により、該ECCブロック単位のデータに関する上記(3)の内符号を生成し、作成された内符号を一時記憶メモリに書き込む、
ことを特徴とする、デジタルデータ符号化方法。
A second scramble circuit that scrambles the data;
Temporary storage memory,
An ID generation circuit that generates and adds an ID and an error detection code of the ID to sector-unit data;
A descrambling circuit for descrambling data in units of sectors;
An EDC generation circuit that generates and adds an error detection code from the descrambled sector unit data;
An ECC generation circuit that sequentially reads a data stream delimited by a predetermined length, generates an error correction code for data of the predetermined length, and adds the error correction code;
By the ECC generation circuit,
(1) Outer code generation of user data portion of ECC block unit data,
(2) Generation of an inner code of the user data portion of the ECC block unit data,
(3) Generation of an inner code of the outer code part of (1) above in ECC block unit data,
Generate and add the above error correction code,
In the digital data encoding circuit,
In the temporary storage memory, the data scrambled by the second scramble circuit is written,
Read the scrambled sector unit data by accessing the temporary storage memory once,
Regarding the read data,
After descrambling by the descrambling circuit, an error detection code is generated by the EDC generation circuit,
Based on the ID, the error detection code of the ID, the scrambled data, and the error detection code in units of sectors, the ECC generation circuit causes the ECC unit to generate Generate a sign
The ID, the error detection code of the ID, the scrambled data, the error detection code for each sector, and the inner code are written in the temporary storage memory,
The above-mentioned ID generation addition, ID error detection code generation addition, data scrambling, sector error detection code generation addition, and inner code generation addition are performed for ECC blocks.
Subsequently, while reading data from the temporary storage memory with respect to the data of the ECC block, the ECC generation circuit generates the outer code of (1) regarding the data of the ECC block unit, and the generated outer code is stored in the temporary storage memory. Further, the ECC generation circuit generates the inner code of (3) related to the data of the ECC block unit, and writes the created inner code in the temporary storage memory.
And a digital data encoding method.
JP33257199A 1999-11-24 1999-11-24 Digital data encoding processing circuit, encoding processing method, and digital data recording apparatus including encoding processing circuit Expired - Fee Related JP3869598B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33257199A JP3869598B2 (en) 1999-11-24 1999-11-24 Digital data encoding processing circuit, encoding processing method, and digital data recording apparatus including encoding processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33257199A JP3869598B2 (en) 1999-11-24 1999-11-24 Digital data encoding processing circuit, encoding processing method, and digital data recording apparatus including encoding processing circuit

Publications (2)

Publication Number Publication Date
JP2001156649A JP2001156649A (en) 2001-06-08
JP3869598B2 true JP3869598B2 (en) 2007-01-17

Family

ID=18256419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33257199A Expired - Fee Related JP3869598B2 (en) 1999-11-24 1999-11-24 Digital data encoding processing circuit, encoding processing method, and digital data recording apparatus including encoding processing circuit

Country Status (1)

Country Link
JP (1) JP3869598B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257672A (en) * 2002-04-25 2007-10-04 Sanyo Electric Co Ltd Data processor and data processing system
JP2004206798A (en) 2002-12-25 2004-07-22 Ricoh Co Ltd Encoding data encoding circuit for optical disk device
US7334180B2 (en) 2003-08-19 2008-02-19 Via Technologies, Inc. Optical encoding method
KR100539261B1 (en) * 2004-05-04 2005-12-27 삼성전자주식회사 Digital Data Coding and Recording Device for DVD and Method thereof
JP2010211862A (en) 2009-03-10 2010-09-24 Panasonic Corp Encoding device and optical disk recording device
JP7028505B2 (en) * 2020-04-28 2022-03-02 Necプラットフォームズ株式会社 Programmable device configuration memory error correction circuit, error correction method and program

Also Published As

Publication number Publication date
JP2001156649A (en) 2001-06-08

Similar Documents

Publication Publication Date Title
JP2569478B2 (en) Data recording device
US7454691B2 (en) Method and system for encoding digital data for optical recording system
US8225179B2 (en) Method of generating error detection codes
US8281225B2 (en) Digital data coding and recording apparatus, and method of using the same
US6662335B1 (en) Method and apparatus for accessing DVD data
JP3869598B2 (en) Digital data encoding processing circuit, encoding processing method, and digital data recording apparatus including encoding processing circuit
CN1329911C (en) Scrambling method, writing data generating method, and repeated data writing method
JP2001023316A (en) Digital data reproduction method, digital data reproduction circuit, and error detection method
US7120849B2 (en) Data storage medium having link zone and apparatus and method for recording/reproducing data on/from the data storage medium
JP3459609B2 (en) Write cache circuit, recording device provided with write cache circuit, and write cache method
US6338155B1 (en) Data generation method and apparatus
US7334180B2 (en) Optical encoding method
JP2004310858A (en) Data recording method and data recording device
JPH1186465A (en) Signal processor
JP3176885B2 (en) Information playback device
JP2989152B2 (en) Disk storage device and disk control LSI
CN100437803C (en) Data storage medium having link zone and apparatus and method for recording reproducing data on or from the data storage medium
JP2005332543A (en) Data encoding circuit, data encoding method, and data recording apparatus
JP2002150681A (en) Digital signal recording / reproducing apparatus and recording / reproducing method
JP2002074838A (en) Digital signal processing circuit for recording and reproducing optical disks
KR19990018767A (en) Fast initialization method of DVD-RAM disk
JPH11266242A (en) Execution of ecc buffer bandwidth saving for dvd
JPH09213010A (en) Disk type recording medium, recording device and reproducing device
JP2003162865A (en) Data processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040426

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060928

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061010

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061013

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101020

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111020

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121020

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131020

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载