JP2004118967A - Optical disk defect processing device - Google Patents

Optical disk defect processing device Download PDF

Info

Publication number
JP2004118967A
JP2004118967A JP2002283157A JP2002283157A JP2004118967A JP 2004118967 A JP2004118967 A JP 2004118967A JP 2002283157 A JP2002283157 A JP 2002283157A JP 2002283157 A JP2002283157 A JP 2002283157A JP 2004118967 A JP2004118967 A JP 2004118967A
Authority
JP
Japan
Prior art keywords
physical address
address
defect information
defective
defect
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.)
Granted
Application number
JP2002283157A
Other languages
Japanese (ja)
Other versions
JP3882731B2 (en
Inventor
Hiroyuki Takeuchi
竹内 裕之
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002283157A priority Critical patent/JP3882731B2/en
Publication of JP2004118967A publication Critical patent/JP2004118967A/en
Application granted granted Critical
Publication of JP3882731B2 publication Critical patent/JP3882731B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a high speed and optimum defect processing device for converting a specified logic sector address into the sector address of an actual optical disk. <P>SOLUTION: When an expected physical address is a defective sector, the defect processing device judges whether the next physical address also is a defective sector or not from an entry table of the defective sector, the processing is stopped at a prescribed number of times, by retrieving the residual with two branches, the number of times of accesses of the entry table of the defective sector is reduced, and defect processing can be performed at a high speed. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
この発明は、光ディスクに記録されているデータを再生する光ディスク装置に関する。
【0002】
【従来の技術】
書き換え型の光ディスクを扱う光ディスク装置において、光ディスク上に読み書き不可能な領域、つまり欠陥セクタが存在し、光ディスク上にその欠陥セクタが登録されている時には、その欠陥セクタを読み飛ばし、正常なセクタに対して読み書きしなければならない。その欠陥セクタのうち、代替先(欠陥セクタの代わりにデータを読み書きする領域)がその欠陥セクタの直後にあるものを初期欠陥(PDL:Primary Defect List)と呼ぶ。ただし、その直後も欠陥セクタのときは次に現れる正常セクタに読み書きが行われる。また、この初期欠陥以外にも、欠陥セクタ発見時に所定の交替セクタに読み書きを行う2次欠陥(SDL:Secondary Defect List)や、その交替領域や光ディスクがゾーニングされている光ディスクにおいてはゾーン境界の未使用領域についても読み飛ばす必要がある。
【0003】
しかし、コンピュータなどのホストから読み書きする際には、光ディスク装置に対して、アクセスしたいデータを論理セクタアドレス(LBA:Logical Block Address)で指定してくるため、光ディスク装置は、欠陥セクタを考慮し、要求されたLBAを実際の光ディスク上の物理アドレス(PBA:Physical Block Address)に変換する必要がある。
【0004】
この欠陥セクタを読み書きする方法として、従来の方法は、ホストから指定された要求LBAをPDL、SDL、交替領域、ゾーン境界をそれぞれ考慮してPBAを算出している。
【0005】
詳しく説明すると、光ディスク上に登録された各ゾーンの先頭LBA(これはこの光ディスクの所定の領域に欠陥情報として記録されている)から、要求LBAがどのゾーンに存在するかを調査する。次に、要求データの存在するゾーンの先頭LBAと、要求LBAとのオフセット値を算出する。次に、ゾーンニングされている各ゾーンの先頭PBA(これは光ディスクの規格に依存する)に、先程算出したオフセット値を加算し、そのゾーンにおいてPDLとSDLを考慮していない要求LBAに相当するPBAの期待値が算出できる。
【0006】
しかし、これではPDL、SDLが考慮されていないので、まず、要求LBAの存在するゾーンの先頭PBAと、PBAの期待値までのPDLのセクタ数を調べ、そのセクタ数分PBAの期待値を加算する。次に加算前のPBA期待値と、加算後のPBA期待値のまでのPDLセクタ数を調べ更にPBAの期待値に加算し、PDLの加算値が0になるまで繰り返す。加算値が0になったときのPBAの期待値がSDLにエントリされていなければそのPBAが、SDLにエントリされていれば、その代替先PBAが求めるべきPBAとしている。
【0007】
これでは、毎回1セクタずつPDLエントリの欠陥処理を行う必要がある。しかし、ホストは一度に複数セクタ、または、連続した論理アドレスで要求してくることが多いため、PDLの欠陥処理を行うときは、欠陥処理後のPDLのエントリNOと、PDLを考慮した後の物理アドレスを保持しておいて、次の論理アドレスにおいては、PDLを考慮した物理アドレスをインクリメントした値と、PDLエントリそのエントリNOの指す欠陥アドレスとを見て、一致していたら、更に次のセクタを調査するといったように、欠陥セクタが連続している時は、期待される物理アドレスと、PDLエントリNOを一つずつインクリメントして、期待される物理アドレスと、PDLエントリNOの指す物理アドレスとを比較し、一致しなくなるところまで続け、一致しなくなった時の物理アドレスが、PDLを考慮した物理アドレスとなる(図9参照)。
【0008】
しかし、このような方法では、PDLに、連続した物理アドレスが登録されていた時、PDLの欠陥処理において、多大な時間を有してしまう。
【0009】
また、これらの欠陥セクタはそれぞれテーブルとして用意されているため、それらを一まとめにし、物理アドレスの昇順に並べ、その物理アドレスごとに識別情報と、その同一欠陥の係数を保存した、新しいテーブルを用意して、それを用いて、LBAをPBAに変換するものもある(特許文献1参照)。
【0010】
このように、LBAをPBAに変換する上で、従来の方法では、PDLのエントリがあまりに連続している場合に、PBAの変換に多大な時間を要するため、エントリテーブルの参照に時間を要するシステムにおいては、PDLの欠陥処理が処理時間のボトルネックとなり、処理が破綻してしまうことにもなりかねない。
【0011】
【特許文献1】
特開平11−126336号公報
【0012】
【発明が解決しようとする課題】
上記のように、ホストコンピューター等から指定された要求LBAを実際のPBAに変換する際にPDLのエントリが連続している時の欠陥処理に多大な時間を要していた。
【0013】
本発明は、上記従来の課題を解決しようとするもので、欠陥が連続している時のLBAからPBAへの変換処理時間を、あらゆる状態でも最適に短縮することを目的とする。
【0014】
【課題を解決するための手段】
光ディスクの所定の領域に記録されている欠陥情報を読み出す読み出し手段と、
前記読み出し手段により読み出された欠陥情報を記憶する記憶手段と、
前記記憶手段により記憶された欠陥情報を用いて、指定された論理アドレスを物理アドレスに変換する制御を行う制御手段とを備え、
前記制御手段が、前記欠陥情報の欠陥物理アドレスと、ホストにより指定された論理アドレスを物理アドレスに変換した時の期待値とを比較し、一致しない時はその物理アドレスの期待値を返して終了し、一致した時はその物理アドレスの期待値をインクリメントした値と、一致した欠陥情報のアドレスの次にエントリされている欠陥アドレスと比較し、一致しなければその物理アドレスを返して終了し、一致した時はその物理アドレスの期待値を更にインクリメントした値と、欠陥情報のアドレスの更に次にエントリされている欠陥アドレスとを比較する処理を所定の数まで繰り返し、その後、登録されている欠陥情報から2分岐検索で欠陥エントリがとぎれるところ、すなわちホストから指定された論理アドレスの欠陥セクタを読み飛ばし、指定された論理アドレスから前記欠陥情報を考慮した物理アドレスを返すことで、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを最小限にし、高速にLBAをPBAに変換することができる。
【0015】
ここで言う欠陥セクタは一般的に初期欠陥セクタ(PDL:Primary Defect List)と呼ばれ、交替先はその欠陥セクタの直後の有効なセクタとなっている。また、ホストからは連続した論理アドレスを指定することが多いため、欠陥セクタテーブルの何処を見れば、その要求されたLBAの間近のエントリ番号を知ることができる。さらに、欠陥セクタテーブルに一致した時は、所定の回数まで物理アドレスの期待値をインクリメントして、欠陥セクタが連続しているかどうかを調査するため、一つだけ欠陥セクタがあるときは、欠陥セクタテーブルの参照が1回となり、例えば、1000個以上欠陥セクタが続き、その後更に1000個の欠陥セクタが存在する時でも、所定の回数だけ欠陥セクタが連続しているかどうかをインクリメントして調査し、その後はその一致している欠陥セクタエントリ番号から欠陥セクタエントリの最後までで2分岐で欠陥セクタが途切れるところを調べるため、(所定の回数)+11回となり(2の11乗は2048)、インクリメントで行う場合の1000かいよりも、はるかに欠陥セクタテーブルへのアクセスは減り、処理時間も大幅に軽減できる。
【0016】
また、光ディスクの所定の領域に記録されている欠陥情報を読み出す読み出し手段と、
前記読み出し手段により読み出された欠陥情報を記憶する記憶手段と、
前記記憶手段により記憶された欠陥情報を用いて、指定された論理アドレスを物理アドレスに変換する制御を行う制御手段とを備え、前記記憶手段が、前記欠陥情報の欠陥物理アドレスの連続情報を付加することと、
前記制御手段が、前記欠陥情報の欠陥物理アドレスと指定された論理アドレスを、欠陥セクタを考慮せずに物理アドレスに変換した時の期待値と一致しない時はその物理アドレスを返して終了し、一致した時は前記連続情報を用いて、連続した数分加算した物理アドレスを返すことで、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを軽減し、高速にLBAをPBAに変換することができる。
【0017】
また、光ディスクの所定の領域に記録されている欠陥情報を読み出す読み出し手段と、前記読み出し手段により読み出された欠陥情報を記憶する記憶手段と、前記記憶手段により記憶された欠陥情報を用いて、指定された論理アドレスを物理アドレスに変換する制御を行う制御手段とを備え、前記記憶手段が、前記欠陥情報の欠陥物理アドレスの連続数情報が、所定のサイズを超えた時は最大サイズを連続数情報として付加し、前記制御手段が前記欠陥情報の欠陥物理アドレスと指定された論理アドレスを物理アドレスに変換した時の期待値と一致しない時は、その物理アドレスの期待値を返して終了し、一致した時は前記連続数情報を用いて、連続数情報分加算した物理アドレスの期待値と、連続数情報分先の欠陥情報を比較することを所定の数まで繰り返し、一致しなくなったときの物理アドレスの期待値を返すことで、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを軽減し、高速にLBAをPBAに変換することができる。
【0018】
また、この方法は欠陥セクタの連続数情報を制限しているため、連続数情報を保存する領域が小さくてすみ、例えば、欠陥セクタテーブルの内の空いている領域でも実現可能である。また、前記記憶手段の欠陥セクタエントリの連続数情報の準備は、光ディスク装置において、事前にしておくべき処理であるが、たとえ途中の状態であっても、前記制御手段が参照する段階で欠陥セクタエントリの連続数情報が初期値の時は従来のように1つずつインクリメントして調査するようにしておけば、従来のように1つずつインクリメントして連続数を調査するだけなので、光ディスク装置は時間的に余裕のあるときに、欠陥セクタエントリの連続数情報の準備をすることができ、光ディスクの初期読み書き読み出し時のアクセス開始までの時間の短縮にも貢献できる。
【0019】
【発明の実施の形態】
以下、添付図面を参照して、本発明の実施の形態につき説明し、本発明の理解に供する。尚、以下の実施の形態は、本発明を具体化した一例であって、本発明の技術的範囲を限定する性格のものではない。
【0020】
(実施の形態1)
図1は本発明の実施の形態1、2,3に係わる光ディスク装置のブロック図である。
【0021】
100は光ディスク装置であり、ホスト120からのデータ要求を受け、光ディスク101からデータを読み出し、ホスト120へ転送する。101は光ディスクであり、例えばガラスあるいはプラスティック等で形成された基板の表面に、金属被膜層がドーナツ型にコーティングされて構成され、スパイラル状のグルーブ及びランドの両方を用いてデータの記録されている。102はスピンドルモータであり、上記光ディスクを同心円方向に回転させる。103は光ピックアップモジュールであり、光ディスク101からデータをリード/ライトする。104はアクセス制御部であり、フォーカス制御、トラッキング制御及びスピンドル制御により光ピックアップモジュール103の動作を制御する。105は復調部であり、光ピックアップモジュール103からの信号を2値化し、有効データへ復調する。106はバッファメモリであり、例えば半導体メモリ等で構成され、復調部105により変換されたデータを格納している。107はエラー訂正部であり、バッファメモリ106のデータのエラー訂正処理を行う。108はECCエンコーディング部であり、ホスト120から送られてきたデータのECC部をエンコードする。109は変調部であり、ECCエンコード部108によりエンコードされたデータを変調する。110は記録/再生/消去波形生成部であり、変調部109により変調されたデータから光ディスク101に記録/再生/消去するための信号を生成する。111はホストIF部であり、ホスト120からの要求を受信し制御部に伝え、制御部の指示により光ディスク101から読み出されたデータをバッファメモリ106からホスト120へ転送、及び、ホストからのデータをバッファメモリ106へ転送する。112は制御部であり、光ディスク装置、すなわち上記のブロック全体を制御する。113は制御メモリであり、制御部112が120はホストであり、ドライブ装置100へ光ディスク101のデータリード/ライト要求を行う。
【0022】
ホストが光ディスク装置に対してデータリード要求をした時、まずその内容をホストIF部受信し、制御部に伝える。制御部は、アクセス制御部を使ってスピンドルモータと光ピックアップモジュールを制御し、光ディスクから、ホストの要求しているデータを読み出す。復調部で読み出された信号を復調し、バッファメモリに格納する。エラー訂正部によりデータのエラー訂正処理を行い、ホストIF部でホストへ要求データを転送する。
【0023】
次に、図2と図3を用いて、初期欠陥セクタと、データを読み書きしてはいけない領域であるガードエリアの例について説明する。図2に示すように物理アドレスPBAと論理アドレスは一般的に一致していない。まず、PDLと呼ばれる初期フォーマット時に読み書き不可能と判定されたものはPDLにその物理アドレスがエントリされる。そしてその次に読み書き可能となるセクタに論理アドレスが割り当てられる。さらに、例えばDVD−RAMのように、ゾーンニングされた光ディスクにはガードエリアと呼ばれる、論理アドレスが振り分けられない領域がある。図2を例にとると、PBA2、4、5、100〜149、152〜248がデータを読み書きできない領域として、論理アドレスを振り分けられない。
【0024】
ガードエリア領域のPBAは事前にメディア種別によって知ることができるため、各ゾーンの先頭物理アドレスは事前にすることができ、さらに、各ゾーンの先頭論理アドレス、つまり、ゾーン0の場合LBAが0、ゾーン1の場合はLBAが91という情報もDDS(Disc Definiton Structure)と呼ばれる領域、PDLと同様に光ディスクに記録されている。
【0025】
次に、このような構成において、本実施例における論理アドレスから物理アドレスへの変換に係る初期欠陥処理のフローを図4、5を用いて、詳細に説明する。ホストからリードライト要求を論理アドレスで指定してくる。これを要求LBAとする。
【0026】
ステップ401は、ターゲットの論理アドレスが、ホストがリード/ライトの要求してきたデータの先頭LBAかどうかを判定するステップである。ステップ402は、ステップ401によりターゲットのLBAがホストの要求してきたデータの先頭LBAと一致した時に、図5のフローにしたがって、ターゲットLBAの期待値PBAを求め、さらに、その期待値PBAに最も近く、期待値PBA以上のPDLエントリのエントリNOを「PDLエントリポインタ」に代入するステップである。ステップ403は、前回の初期欠陥処理により求められた期待値PBAをインクリメントするステップである。ステップ404は、X,Yという変数にそれぞれPDLエントリポインタ、期待値PBAを代入し、カウンタという変数に0を代入するステップである。ステップ405は、X、つまりPDLのエントリNOが指す欠陥セクタのPBAが、Y、つまりそのPBAが欠陥セクタでないときに期待される期待値PBAと一致しているかどうか調べるステップである。ステップ406は、X、Y、カウンタと呼ばれる各種変数をそれぞれインクリメントするステップである。ステップ407は、カウンタが、事前に決めることができる所定の数より大きかどうかを調べるステップである。ステップ408は、所定の数の回数だけ、ステップ406,407,408を実行した後、それでもXの指す欠陥セクタPBAとば一致しつづけたとき、図6のフローに従って、残り何処まで欠陥セクタが連続しているかを調査し、欠陥セクタの連続数分、期待値PBAに追加し、欠陥セクタの連続が途切れた直後のPDLエントリNOを、Yに代入するステップである。ステップ409は、ステップ405によりXの指す欠陥セクタPBAとYが一致しなかった時と、ステップ408により、XとYを更新された後とに、XとYをそれぞれ、期待値PBAとPDLエントリポインタに代入するステップである。ステップ410は、ターゲットとなっているLBAを初期欠陥セクタを考慮したPBAとそ手、期待値PBAを設定するステップである。また、ステップ402について、図5のフローを用いて詳細に説明する。ステップ501は、ターゲットとなるホストからの要求LBAが、光ディスク上のどのゾーンに存在するかを調査するステップである。ステップ502は、ステップ501により求めたゾーンの、先頭LBAとPBAを取得し、変数TOPLBA、TOPPBAに代入するステップである。ステップ503は、ターゲットLBAである要求LBAからTOPLBAを引いて、その差を変数OFFSETに代入するステップである。ステップ504は、TOPPBAにOFFSETを足して、変数BTMPBAに代入するステップである。ステップ505は、事前に光ディスクから取得したPDLを参照して、BTMPBAからTOPPBA間の欠陥セクタ数を数えて、変数COUNTに代入するステップである。ステップ506は、ステップ505で算出した変数COUNTが0かどうか調査するステップである。ステップ507は、TOPLBAにBTMLBAを代入し、BTMPBAにCOUNTを足すステップである。ステップ508は、ステップ507によりCOUNTが0になったときに、期待値PBAにBTMPBAを代入するステップである。ステップ509は、ステップ508から算出した期待値PBAから、期待値PBAに最も近く、かつ、期待値PBA以上のPDLエントリアドレスであるPDLエントリNOをPDLエントリポインタに代入するステップである。ステップ510は、ステップ508,509により求めた、期待値PBAとPDLエントリポインタを返すステップである。
【0027】
また、ステップ408について、図6のフローを用いて詳細に説明する。ステップ601は、変数TOPにXを代入し、事前に光ディスクから取得したDDSからPDLエントリの最終エントリNOを取得し、変数BTMに代入するステップである。ステップ602は、TOPとBTMを足したものを2で割った値の整数部分を、変数MIDに代入するステップである。ステップ603は、TOPとMIDが一致したかどうか調査するステップである。ステップ604は、MIDが指す欠陥PBAと、TOPが指す欠陥PBAの差が、MIDとTOPの差と一致しているか調べるステップである。ステップ605は、TOPにMIDを代入するステップである。ステップ606は、BTMにMIDを代入するステップである。ステップ607は、ステップ604によりTOPとMIDが一致しなかった時に、YにTOPの指す欠陥PBA+1を代入し、XにBTMを代入するステップである。
【0028】
以上のように、本発明においては、ホストにより指定された論理アドレスを物理アドレスに変換した時の期待値と、PDLのうちまさにその可能性のある欠陥物理アドレスと、を比較し、一致しない時はその物理アドレスの期待値を返して終了し、一致した時はその物理アドレスの期待値をインクリメントした値と、一致した欠陥情報のアドレスの次にエントリされている欠陥アドレスと比較し、一致しなければその物理アドレスを返して終了し、一致した時はその物理アドレスの期待値を更にインクリメントした値と、欠陥情報のアドレスの更に次にエントリされている欠陥アドレスとを比較する処理を所定の数まで繰り返し、その後、登録されている欠陥情報から2分岐検索で欠陥エントリがとぎれるところ、すなわちホストから指定された論理アドレスの欠陥セクタを読み飛ばし、指定された論理アドレスから前記欠陥情報を考慮した物理アドレスを返すことで、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを最小限にし、高速にLBAをPBAに変換することができる(図10参照)。
【0029】
(実施の形態2)
実施の形態1と同様のブロック構成において、制御部がもつ光ディスクから欠陥情報読み出し手段により初期欠陥情報であるPDLを取得し、制御メモリにPDLを記憶する。光ディスクの状態が図2の場合を例にとり説明する。制御メモリに記憶されたばかりのPDLを図3に示す。PDLにある欠陥アドレスを元に連続数を調査し、その連続数情報を制御メモリに追記する。追記され状態を図7に示す。
【0030】
次に、ターゲットとなる論理アドレスを物理アドレスに変換する際に、期待される物理アドレスが制御メモリ内のPDLにエントリされているか調査し、エントリされていた場合、そのエントリの連続情報を、期待される物理アドレスに追加したものが、ターゲット論理アドレスを欠陥処理後の物理アドレスに変換したものとなる。
【0031】
以上のように、本発明においては、制御メモリに欠陥情報を記憶する時に、欠陥アドレスの連続数情報を事前に求めておくため、ホストにより指定された論理アドレスを物理アドレスに変換した時の期待値と、PDLのうちまさにその可能性のある欠陥物理アドレスと、を比較し、一致しない時はその物理アドレスの期待値を返して終了し、一致した時はその物理アドレスの期待値に、その欠陥セクタの連続数情報を足せば、これが欠陥情報を考慮した物理アドレスとなるため、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを大きく軽減し、高速にLBAをPBAに変換することができる。
【0032】
(実施の形態3)
実施の形態1と同様のブロック構成において、制御部がもつ光ディスクから欠陥情報読み出し手段により初期欠陥情報であるPDLを取得し、制御メモリにPDLを記憶する。実施の形態2と同様に、光ディスクの状態が図2の場合を例にとり説明する。制御メモリに記憶されたばかりのPDLを図3に示す。PDLにある欠陥アドレスを元に連続数を調査し、その連続数情報を制御メモリに追記する。ただし、連続数情報が所定の連続数情報最大値を超えた場合が、連続数情報最大値を追記する。追記され状態を図8に示す。
【0033】
次に、ターゲットとなる論理アドレスを物理アドレスに変換する際に、期待される物理アドレスが制御メモリ内のPDLにエントリされているか調査し、エントリされていた場合、そのエントリの連続情報を、期待される物理アドレスに追加したものが、新しく期待される物理アドレスとなる。再びその期待される物理アドレスが制御メモリ内のPDLにエントリされているか調査し、エントリされていた場合、そのエントリの連続情報を、期待される物理アドレスに追加したものが、更に新しく期待される物理アドレスとなる。この処理を、連続数情報が0となるまで繰り返し、0となったときの期待される物理アドレスが、ターゲット論理アドレスを欠陥処理後の物理アドレスに変換したものとなる。
【0034】
以上のように、本発明においては、制御メモリに欠陥情報を記憶する時に、欠陥アドレスの連続数情報を事前に求めておくため、ホストにより指定された論理アドレスを物理アドレスに変換した時の期待値と、PDLのうちまさにその可能性のある欠陥物理アドレスと、を比較し、一致しない時はその物理アドレスの期待値を返して終了し、一致した時はその物理アドレスの期待値に、その欠陥セクタの連続数情報を足せば、これが欠陥情報を考慮した物理アドレスとなるため、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを大きく軽減し、高速にLBAをPBAに変換することができる。
【0035】
また、前記記憶手段の欠陥セクタエントリの連続数情報の準備は、光ディスク装置において、事前にしておくべき処理であるが、たとえ途中の状態であっても、前記制御手段が参照する段階で欠陥セクタエントリの連続数情報が初期値の時は従来のように1つずつインクリメントして調査するようにしておけば、従来のように1つずつインクリメントして連続数を調査するだけなので、光ディスク装置は時間的に余裕のあるときに、欠陥セクタエントリの連続数情報の準備をすることができ、光ディスクの初期読み書き読み出し時のアクセス開始までの時間の短縮にも貢献できる。
【0036】
【発明の効果】
以上のように本発明により、光ディスクの所定の領域に記録されている欠陥情報を読み出す読み出し手段と、前記読み出し手段により読み出された欠陥情報を記憶する記憶手段と、前記記憶手段により記憶された欠陥情報を用いて、指定された論理アドレスを物理アドレスに変換する制御を行う制御手段とを備えた光ディスク装置において、初期欠陥処理が、欠陥情報の欠陥物理アドレスと、ホストにより指定された論理アドレスを物理アドレスに変換した時の期待値とを比較し、一致しない時はその物理アドレスの期待値を返して終了し、一致した時はその物理アドレスの期待値をインクリメントした値と、一致した欠陥情報のアドレスの次にエントリされている欠陥アドレスと比較し、一致しなければその物理アドレスを返して終了し、一致した時はその物理アドレスの期待値を更にインクリメントした値と、欠陥情報のアドレスの更に次にエントリされている欠陥アドレスとを比較する処理を所定の数まで繰り返し、その後、登録されている欠陥情報から2分岐検索で欠陥エントリがとぎれるところ、すなわちホストから指定された論理アドレスの欠陥セクタを読み飛ばし、指定された論理アドレスから前記欠陥情報を考慮した物理アドレスを返すことで、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを最小限にし、高速にLBAをPBAに変換することができる。
【0037】
また、欠陥情報の欠陥物理アドレスの連続情報を付加することと、前記制御手段が、前記欠陥情報の欠陥物理アドレスと指定された論理アドレスを、欠陥セクタを考慮せずに物理アドレスに変換した時の期待値と一致しない時はその物理アドレスを返して終了し、一致した時は前記連続情報を用いて、連続した数分加算した物理アドレスを返すことで、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを軽減し、高速にLBAをPBAに変換することができる。また、前記記憶手段の欠陥セクタエントリの連続数情報の準備は、光ディスク装置において、事前にしておくべき処理であるが、たとえ途中の状態であっても、前記制御手段が参照する段階で欠陥セクタエントリの連続数情報が初期値の時は従来のように1つずつインクリメントして調査するようにしておけば、従来のように1つずつインクリメントして連続数を調査するだけなので、光ディスク装置は時間的に余裕のあるときに、欠陥セクタエントリの連続数情報の準備をすることができ、光ディスクの初期読み書き読み出し時のアクセス開始までの時間の短縮にも貢献できる。
【0038】
さらに、前記記憶手段が、前記欠陥情報の欠陥物理アドレスの連続数情報が、所定のサイズを超えた時は最大サイズを連続数情報として付加し、前記制御手段が前記欠陥情報の欠陥物理アドレスと指定された論理アドレスを物理アドレスに変換した時の期待値と一致しない時は、その物理アドレスの期待値を返して終了し、一致した時は前記連続数情報を用いて、連続数情報分加算した物理アドレスの期待値と、連続数情報分先の欠陥情報を比較することを所定の数まで繰り返し、一致しなくなったときの物理アドレスの期待値を返すことで、欠陥セクタが連続して存在している時でも、欠陥セクタテーブルへのアクセスを軽減し、高速にLBAをPBAに変換することができる。
【0039】
また、この方法は欠陥セクタの連続数情報を制限しているため、連続数情報を保存する領域が小さくてすみ、例えば、欠陥セクタテーブルの内の空いている領域でも実現可能である。
【0040】
また、欠陥セクタエントリの連続数情報の準備は、光ディスク装置の都合のいい時に、設定することができ、光ディスクの初期読み書き読み出し時のアクセス開始までの時間の短縮にも貢献できる。
【0041】
このように、欠陥セクタが連続していないことが多く、かつ、連続する時はその連続数が大きいことが多い初期欠陥における欠陥処理において、もっとも最適な処理を提供できる。
【図面の簡単な説明】
【図1】本発明の実施の形態における光ディスク装置の構成ブロック図
【図2】ゾーンニングされた光ディスクのPBAとLBAの対比図
【図3】図2の光ディスクにおけるPDLを示す図
【図4】図1の光ディスク装置における欠陥処理プログラムのフローチャート
【図5】図4フローチャートにおける、PDLエントリポインタと期待値PBAの算出するプログラムのフローチャート
【図6】図4フローチャートにおける、2分岐検索処理プログラムのフローチャート
【図7】本発明の実施の形態2における、PDLエントリが図3であるときの連続数情報を示す図
【図8】本発明の実施の形態3における、PDLエントリが図3であるときの連続数情報を示す図
【図9】従来の欠陥処理を示す図
【図10】本発明の実施の形態における欠陥処理を示す図
【符号の説明】
100 光ディスク装置
101 光ディスク
102 スピンドルモータ
103 光ピックモジュール
104 アクセス制御部
105 復調部
106 バッファメモリ
107 エラー訂正部
108 ECCエンコード部
109 変調部
110 記録/再生/消去波形生成部
111 ホストIF
112 制御部
113 制御メモリ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an optical disk device for reproducing data recorded on an optical disk.
[0002]
[Prior art]
In an optical disk device that handles a rewritable optical disk, when an unreadable / writable area on the optical disk, that is, a defective sector exists, and the defective sector is registered on the optical disk, the defective sector is skipped and a normal sector is read. Have to read and write to it. Among the defective sectors, those having an alternative destination (area for reading and writing data instead of the defective sector) immediately after the defective sector are referred to as an initial defect (PDL: Primary Defect List). However, immediately after that, in the case of a defective sector, reading and writing are performed on the next normal sector. In addition to the initial defect, a secondary defect list (SDL: Secondary Defect List) for reading and writing in a predetermined replacement sector when a defective sector is found, and an optical disc in which the replacement area or the optical disc is zoned, have no zone boundary. It is necessary to skip the used area.
[0003]
However, when reading and writing data from a host such as a computer, data to be accessed is specified by a logical sector address (LBA: Logical Block Address) with respect to the optical disk device. It is necessary to convert the requested LBA into an actual physical address (PBA: Physical Block Address) on the optical disk.
[0004]
As a method for reading and writing the defective sector, the conventional method calculates the PBA by considering the requested LBA specified by the host in consideration of the PDL, the SDL, the spare area, and the zone boundary.
[0005]
To be more specific, from the head LBA of each zone registered on the optical disc (this is recorded as defect information in a predetermined area of the optical disc), it is checked in which zone the requested LBA exists. Next, an offset value between the head LBA of the zone where the request data exists and the request LBA is calculated. Next, the offset value calculated above is added to the head PBA of each zoned zone (this depends on the standard of the optical disc), and this zone corresponds to a request LBA in which PDL and SDL are not considered. The expected value of PBA can be calculated.
[0006]
However, since PDL and SDL are not considered in this case, first, the head PBA of the zone where the requested LBA exists and the number of PDL sectors up to the expected value of the PBA are checked, and the expected value of the PBA is added by the number of sectors. I do. Next, the PBA expected value before the addition and the number of PDL sectors up to the PBA expected value after the addition are checked, further added to the expected value of the PBA, and repeated until the added value of the PDL becomes zero. If the expected value of the PBA when the added value becomes 0 is not entered in the SDL, the PBA is set as the PBA to be obtained if the PBA is found in the SDL.
[0007]
In this case, it is necessary to perform PDL entry defect processing one sector at a time. However, since the host often requests a plurality of sectors or a continuous logical address at a time, when performing the PDL defect processing, the PDL entry number after the defect processing and the PDL after considering the PDL are considered. The physical address is held, and in the next logical address, the value obtained by incrementing the physical address in consideration of the PDL and the defective address indicated by the PDL entry entry No. are found. When a defective sector is continuous such as when a sector is checked, the expected physical address and the PDL entry number are incremented by one, and the expected physical address and the physical address indicated by the PDL entry number are incremented. The physical address at the time of no match is the one in consideration of PDL. The address (see FIG. 9).
[0008]
However, according to such a method, when a continuous physical address is registered in the PDL, it takes a lot of time in PDL defect processing.
[0009]
In addition, since these defective sectors are prepared as tables, they are grouped together, arranged in ascending order of physical addresses, and a new table storing identification information and the coefficient of the same defect for each physical address is prepared. There is also one that prepares and uses it to convert LBA to PBA (see Patent Document 1).
[0010]
As described above, in converting the LBA to the PBA, in the conventional method, when the entries of the PDL are too continuous, the conversion of the PBA requires a large amount of time. In the above, the defect processing of the PDL may become a bottleneck of the processing time, and the processing may be broken.
[0011]
[Patent Document 1]
JP-A-11-126336
[0012]
[Problems to be solved by the invention]
As described above, when converting a request LBA specified by a host computer or the like into an actual PBA, a large amount of time is required for defect processing when PDL entries are continuous.
[0013]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned conventional problem and to optimally reduce the conversion processing time from LBA to PBA when defects continue in any state.
[0014]
[Means for Solving the Problems]
Reading means for reading defect information recorded in a predetermined area of the optical disc;
Storage means for storing the defect information read by the reading means,
Control means for performing control to convert a specified logical address into a physical address using the defect information stored by the storage means,
The control means compares the defective physical address of the defect information with an expected value when a logical address specified by a host is converted into a physical address, and returns an expected value of the physical address when they do not match, and ends. If there is a match, the value obtained by incrementing the expected value of the physical address is compared with the defect address entered next to the address of the matching defect information, and if there is no match, the physical address is returned and the processing is terminated. When they match, the process of comparing the value obtained by further incrementing the expected value of the physical address with the defect address entered next to the address of the defect information is repeated up to a predetermined number. Where a defective entry is interrupted by a two-branch search from the information, that is, a defective sector of a logical address specified by the host is skipped. By returning a physical address in consideration of the defect information from a designated logical address, even when defective sectors are continuously present, access to the defective sector table is minimized, and LBA is quickly converted to PBA. Can be converted.
[0015]
The defective sector referred to here is generally called an initial defective sector (PDL: Primary Defect List), and the replacement destination is a valid sector immediately after the defective sector. In addition, since the host often designates a continuous logical address, it is possible to know the entry number near the requested LBA by looking at the defective sector table. Further, when the number matches the defective sector table, the expected value of the physical address is incremented up to a predetermined number of times to check whether the defective sector is continuous. The table is referred to once, and, for example, even when 1000 or more defective sectors continue, and then there are 1000 more defective sectors, whether or not the defective sectors are continuous a predetermined number of times is incremented and checked. After that, in order to check where the defective sector is interrupted in two branches from the coincident defective sector entry number to the end of the defective sector entry, (predetermined number of times) +11 times (2 to the power of 11 is 2048). Access to the defective sector table is much reduced and processing time is much longer than 1000 or so. It can be reduced to.
[0016]
Reading means for reading defect information recorded in a predetermined area of the optical disc;
Storage means for storing the defect information read by the reading means,
Control means for controlling conversion of a specified logical address to a physical address using the defect information stored by the storage means, wherein the storage means adds continuous information of the defective physical address of the defect information. To do
When the control means does not match the expected value when the logical address specified as the defective physical address of the defect information is converted to a physical address without considering the defective sector, the physical address is returned and the processing is terminated. When a match occurs, the continuous information is used to return a physical address obtained by adding a number corresponding to the continuous number, so that access to the defective sector table can be reduced even when defective sectors are continuously present, and LBA can be performed at high speed. Can be converted to PBA.
[0017]
Further, using a reading means for reading defect information recorded in a predetermined area of the optical disk, a storage means for storing the defect information read by the reading means, and using the defect information stored by the storage means, Control means for performing control for converting a specified logical address to a physical address, wherein the storage means continuously increases the maximum size when the information on the number of consecutive defective physical addresses of the defect information exceeds a predetermined size. If it does not match the expected value when the control means converts the defect physical address of the defect information and the specified logical address into a physical address, the control means returns the expected value of the physical address and terminates. When they match, the expected value of the physical address added by the continuous number information is compared with the defect information ahead of the continuous number information by using the continuous number information. , And returning the expected value of the physical address when there is no more match, the access to the defective sector table can be reduced even when defective sectors exist continuously, and the LBA can be converted to the PBA at high speed. Can be converted.
[0018]
In addition, since this method limits the number-of-consecutive-times information on defective sectors, the area for storing the number-of-consecutive-times information can be small, and can be realized, for example, even in an empty area in the defective sector table. The preparation of the continuous number information of the defective sector entry in the storage means is a process to be performed in advance in the optical disk device. When the continuous number information of the entry is the initial value, if the increment is performed one by one as in the related art and the check is performed, only the increment is performed one by one and the continuous number is checked as in the conventional method. When there is enough time, it is possible to prepare continuous number information of defective sector entries, which can contribute to shortening of the time until the start of access at the time of initial reading / writing / reading of the optical disk.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings to provide an understanding of the present invention. It should be noted that the following embodiments are examples embodying the present invention, and do not limit the technical scope of the present invention.
[0020]
(Embodiment 1)
FIG. 1 is a block diagram of an optical disk device according to Embodiments 1, 2, and 3 of the present invention.
[0021]
An optical disk device 100 receives a data request from the host 120, reads data from the optical disk 101, and transfers the data to the host 120. Reference numeral 101 denotes an optical disk, which is formed by coating a metal film layer in a donut shape on a surface of a substrate formed of, for example, glass or plastic, and records data using both spiral grooves and lands. . A spindle motor 102 rotates the optical disk in a concentric direction. An optical pickup module 103 reads / writes data from / on the optical disk 101. An access control unit 104 controls the operation of the optical pickup module 103 by focus control, tracking control, and spindle control. A demodulation unit 105 binarizes a signal from the optical pickup module 103 and demodulates the signal into valid data. Reference numeral 106 denotes a buffer memory, which is formed of, for example, a semiconductor memory or the like, and stores data converted by the demodulation unit 105. An error correction unit 107 performs an error correction process on the data in the buffer memory 106. Reference numeral 108 denotes an ECC encoding unit, which encodes an ECC unit of data transmitted from the host 120. A modulation unit 109 modulates data encoded by the ECC encoding unit 108. Reference numeral 110 denotes a recording / reproducing / erasing waveform generating unit which generates a signal for recording / reproducing / erasing on the optical disc 101 from the data modulated by the modulating unit 109. Reference numeral 111 denotes a host IF unit that receives a request from the host 120, transmits the request to the control unit, transfers data read from the optical disk 101 from the buffer memory 106 to the host 120 according to an instruction from the control unit, and performs data transfer from the host. To the buffer memory 106. A control unit 112 controls the optical disk device, that is, the entire block described above. Reference numeral 113 denotes a control memory, and the control unit 112 issues a data read / write request to the drive device 100 for the optical disk 101 to the drive device 120.
[0022]
When the host issues a data read request to the optical disk device, the content is first received by the host IF unit and transmitted to the control unit. The control unit controls the spindle motor and the optical pickup module by using the access control unit, and reads data requested by the host from the optical disc. The signal read by the demodulation unit is demodulated and stored in the buffer memory. The error correction unit performs an error correction process on the data, and the host IF unit transfers the requested data to the host.
[0023]
Next, an example of an initial defective sector and a guard area which is an area where data cannot be read / written will be described with reference to FIGS. As shown in FIG. 2, the physical address PBA and the logical address generally do not match. First, the physical address of an object determined to be unreadable and writable at the time of initial format called PDL is entered in PDL. Then, a logical address is assigned to a sector which can be read and written next. Furthermore, a zoned optical disc, such as a DVD-RAM, has an area called a guard area to which a logical address cannot be assigned. Taking FIG. 2 as an example, the logical addresses cannot be assigned as areas where the PBAs 2, 4, 5, 100 to 149, and 152 to 248 cannot read or write data.
[0024]
Since the PBA of the guard area can be known in advance by the media type, the head physical address of each zone can be set in advance, and the head logical address of each zone, that is, the LBA of zone 0 is 0, In the case of zone 1, information indicating that the LBA is 91 is also recorded on an optical disk in the same manner as PDL, an area called DDS (Disc Definition Structure).
[0025]
Next, in such a configuration, the flow of the initial defect processing related to the conversion from the logical address to the physical address in the present embodiment will be described in detail with reference to FIGS. A read / write request is specified by a logical address from the host. This is referred to as a request LBA.
[0026]
Step 401 is a step of determining whether or not the target logical address is the first LBA of data requested by the host to read / write. In step 402, when the target LBA matches the head LBA of the data requested by the host in step 401, the expected value PBA of the target LBA is obtained according to the flow of FIG. , A step of substituting the entry number of the PDL entry having the expected value PBA or more into the “PDL entry pointer”. Step 403 is a step of incrementing the expected value PBA obtained by the previous initial defect processing. Step 404 is a step of substituting a PDL entry pointer and an expected value PBA for variables X and Y, and substituting 0 for a variable called counter. Step 405 is a step for checking whether or not X, that is, the PBA of the defective sector indicated by the PDL entry NO matches Y, that is, the expected value PBA expected when the PBA is not a defective sector. Step 406 is a step of incrementing various variables called X, Y, and counter, respectively. Step 407 is a step for checking whether the counter is larger than a predetermined number that can be determined in advance. In step 408, after executing steps 406, 407, and 408 a predetermined number of times, if the defect sector PBA still indicated by X continues to match, the remaining number of defective sectors continues according to the flow of FIG. This is a step of investigating whether or not the PDL entry number is equal to the number of consecutive defective sectors, adding the same to the expected value PBA, and substituting the PDL entry NO immediately after the discontinuity of the defective sectors into Y. In step 409, when the defective sector PBA indicated by X does not match Y in step 405, and after X and Y are updated in step 408, the expected value PBA and the PDL entry This is the step of substituting into a pointer. Step 410 is a step of setting the target LBA, the PBA in consideration of the initial defective sector, and the expected value PBA. Step 402 will be described in detail with reference to the flowchart of FIG. Step 501 is a step of examining in which zone on the optical disk the requested LBA from the target host exists. Step 502 is a step in which the head LBA and PBA of the zone obtained in step 501 are obtained and assigned to the variables TOPLBA and TOPPBA. Step 503 is a step of subtracting TOPLBA from the request LBA, which is the target LBA, and assigning the difference to the variable OFFSET. Step 504 is a step of adding OFFSET to TOPPBA and assigning it to a variable BTMPBA. Step 505 is a step of counting the number of defective sectors between BTMPBA and TOPPBA with reference to the PDL obtained in advance from the optical disc, and substituting the number into the variable COUNT. Step 506 is a step for checking whether the variable COUNT calculated in step 505 is 0 or not. Step 507 is a step of substituting BTMLBA for TOPLBA and adding COUNT to BTMPBA. Step 508 is a step of substituting BTMPBA for the expected value PBA when COUNT becomes 0 in step 507. Step 509 is a step of substituting the PDL entry NO that is the PDL entry address closest to the expected value PBA and equal to or higher than the expected value PBA from the expected value PBA calculated in step 508 to the PDL entry pointer. Step 510 is a step of returning the expected value PBA and the PDL entry pointer obtained in steps 508 and 509.
[0027]
Step 408 will be described in detail with reference to the flowchart of FIG. Step 601 is a step of substituting X for the variable TOP, obtaining the last entry number of the PDL entry from the DDS obtained in advance from the optical disk, and substituting it for the variable BTM. Step 602 is a step of substituting the integer part of the value obtained by dividing the sum of TOP and BTM by 2 into the variable MID. Step 603 is a step for checking whether the TOP and the MID match. Step 604 is a step of checking whether the difference between the defective PBA indicated by the MID and the defective PBA indicated by the TOP matches the difference between the MID and the TOP. Step 605 is a step of substituting the MID for TOP. Step 606 is a step of substituting the MID for the BTM. Step 607 is a step of substituting the defect PBA + 1 indicated by the TOP for Y and the BTM for X when the TOP and the MID do not match in step 604.
[0028]
As described above, according to the present invention, the expected value obtained when the logical address specified by the host is converted to the physical address is compared with the defective physical address that is likely to be in the PDL. Returns the expected value of the physical address and terminates.If there is a match, the value obtained by incrementing the expected value of the physical address is compared with the defect address entered next to the address of the matched defect information. If not, the physical address is returned and the processing is terminated. If the addresses match, a process of comparing the value obtained by further incrementing the expected value of the physical address with the defect address entered next to the address of the defect information is performed in a predetermined manner. It repeats up to the number of times, and then the defect entry is interrupted by two-branch search from the registered defect information, that is, specified from the host. By skipping the defective sector of the specified logical address and returning a physical address in consideration of the defect information from the specified logical address, access to the defective sector table can be minimized even when defective sectors exist continuously. LBA can be converted to PBA at high speed (see FIG. 10).
[0029]
(Embodiment 2)
In the same block configuration as in the first embodiment, PDL, which is initial defect information, is obtained from the optical disk of the control unit by defect information reading means, and the PDL is stored in the control memory. The case where the state of the optical disk is as shown in FIG. 2 will be described as an example. The PDL just stored in the control memory is shown in FIG. The number of continuations is checked based on the defect address in the PDL, and the information on the number of continuations is added to the control memory. FIG. 7 shows the added state.
[0030]
Next, when converting a target logical address into a physical address, it is checked whether or not the expected physical address is entered in the PDL in the control memory. The added physical address is the target logical address converted to the physical address after the defect processing.
[0031]
As described above, according to the present invention, when defect information is stored in the control memory, information on the number of consecutive defective addresses is obtained in advance, so that the expectation when the logical address specified by the host is converted into the physical address is obtained. The value is compared with the defective physical address of the PDL, and if the values do not match, the expected value of the physical address is returned and the processing is terminated. If the information on the number of consecutive defective sectors is added, this becomes a physical address in consideration of the defect information. Therefore, even when defective sectors are continuously present, access to the defective sector table is greatly reduced, and LBAs can be quickly deleted. Can be converted to PBA.
[0032]
(Embodiment 3)
In the same block configuration as in the first embodiment, PDL, which is initial defect information, is obtained from the optical disk of the control unit by defect information reading means, and the PDL is stored in the control memory. As in the second embodiment, an example in which the state of the optical disk is as shown in FIG. 2 will be described. The PDL just stored in the control memory is shown in FIG. The number of continuations is checked based on the defect address in the PDL, and the information on the number of continuations is added to the control memory. However, when the continuous number information exceeds a predetermined maximum continuous number information, the maximum continuous number information is added. FIG. 8 shows the added state.
[0033]
Next, when converting a target logical address into a physical address, it is checked whether or not the expected physical address is entered in the PDL in the control memory. The added physical address becomes the new expected physical address. It is again checked whether the expected physical address has been entered in the PDL in the control memory. If the entry has been entered, the information obtained by adding the continuous information of the entry to the expected physical address is further newly expected. It is a physical address. This process is repeated until the continuous number information becomes 0, and the expected physical address when it becomes 0 is obtained by converting the target logical address to the physical address after the defect processing.
[0034]
As described above, according to the present invention, when defect information is stored in the control memory, information on the number of consecutive defective addresses is obtained in advance, so that the expectation when the logical address specified by the host is converted into the physical address is obtained. The value is compared with the defective physical address of the PDL, and if the values do not match, the expected value of the physical address is returned and the processing is terminated. If the information on the number of consecutive defective sectors is added, this becomes a physical address in consideration of the defect information. Therefore, even when defective sectors are continuously present, access to the defective sector table is greatly reduced, and LBAs can be quickly deleted. Can be converted to PBA.
[0035]
The preparation of the continuous number information of the defective sector entry in the storage means is a process to be performed in advance in the optical disk device. When the continuous number information of the entry is the initial value, if the increment is performed one by one as in the related art and the check is performed, only the increment is performed one by one and the continuous number is checked as in the conventional method. When there is enough time, it is possible to prepare continuous number information of defective sector entries, which can contribute to shortening of the time until the start of access at the time of initial reading / writing / reading of the optical disk.
[0036]
【The invention's effect】
As described above, according to the present invention, a reading unit that reads defect information recorded in a predetermined area of an optical disc, a storage unit that stores the defect information read by the reading unit, and a storage unit that stores the defect information. An optical disc apparatus comprising: control means for performing control for converting a specified logical address into a physical address using defect information, wherein the initial defect processing is performed by using the defect physical address of the defect information and the logical address specified by the host. Is compared with the expected value when the address is converted to a physical address, and if they do not match, the expected value of the physical address is returned and the process is terminated, and if they match, the value obtained by incrementing the expected value of the physical address and the matching defect Compare with the defective address entered next to the address of the information, and if they do not match, return the physical address and end, If they match, the process of comparing the value obtained by further incrementing the expected value of the physical address with the defect address entered next to the address of the defect information is repeated up to a predetermined number. Where the defective entry is interrupted by a two-branch search from the information, that is, the defective sector of the logical address specified by the host is skipped, and the physical address in consideration of the defect information is returned from the specified logical address, so that the defective sectors are consecutive. Even when the LBA exists, the access to the defective sector table can be minimized, and the LBA can be converted to the PBA at high speed.
[0037]
In addition, adding the continuous information of the defective physical address of the defect information, and when the control means converts the logical address specified as the defective physical address of the defect information into a physical address without considering the defective sector. When it does not match the expected value, the physical address is returned and the process is terminated.When it matches, the physical address is added by the continuous number using the continuity information, and the defective sector is continuously present. In this case, access to the defective sector table can be reduced and LBA can be converted to PBA at high speed. The preparation of the continuous number information of the defective sector entries in the storage means is a process which should be performed in advance in the optical disk device. When the continuous number information of the entry is the initial value, if the increment is performed one by one as in the related art and the check is performed, as in the conventional case, only the increment is performed by one and the continuous number is checked. When there is enough time, it is possible to prepare the continuous number information of the defective sector entry, which can contribute to shortening of the time until the start of access at the time of initial reading / writing / reading of the optical disk.
[0038]
Further, the storage unit adds the maximum size as the continuous number information when the consecutive number information of the defective physical address of the defect information exceeds a predetermined size, and the control unit stores the defect physical address and the defective physical address of the defect information. If the specified logical address does not match the expected value when converted to a physical address, the expected value of the physical address is returned and the process is terminated. If it matches, the continuous number information is added using the continuous number information. The expected value of the physical address is compared with the defect information ahead of the continuous number information by a predetermined number of times, and the expected value of the physical address when the address no longer matches is returned. In this case, access to the defective sector table can be reduced and LBA can be converted to PBA at high speed.
[0039]
In addition, since this method limits the number-of-consecutive-times information on defective sectors, the area for storing the number-of-consecutive-times information can be small, and can be realized, for example, even in an empty area in the defective sector table.
[0040]
Also, the preparation of the continuous number information of the defective sector entry can be set when the optical disk device is convenient, and it can contribute to shortening the time until the start of access at the time of initial reading / writing / reading of the optical disk.
[0041]
As described above, the most optimal processing can be provided in the defect processing for the initial defect, in which the defective sectors are often not continuous, and when they are continuous, the number of continuous sectors is often large.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an optical disc device according to an embodiment of the present invention.
FIG. 2 is a comparison diagram of PBA and LBA of a zoned optical disc.
FIG. 3 is a view showing a PDL in the optical disc of FIG. 2;
FIG. 4 is a flowchart of a defect processing program in the optical disk device of FIG. 1;
FIG. 5 is a flowchart of a program for calculating a PDL entry pointer and an expected value PBA in the flowchart of FIG. 4;
FIG. 6 is a flowchart of a two-branch search processing program in the flowchart of FIG. 4;
FIG. 7 is a diagram showing continuation number information when the PDL entry is as shown in FIG. 3 according to the second embodiment of the present invention;
FIG. 8 is a diagram showing continuation number information when the PDL entry is as shown in FIG. 3 according to the third embodiment of the present invention;
FIG. 9 is a diagram showing a conventional defect processing.
FIG. 10 is a diagram showing defect processing according to the embodiment of the present invention.
[Explanation of symbols]
100 Optical disk drive
101 Optical Disk
102 Spindle motor
103 Optical Pick Module
104 Access control unit
105 Demodulation unit
106 buffer memory
107 Error correction unit
108 ECC encoding unit
109 Modulation section
110 Record / reproduce / erase waveform generator
111 Host IF
112 control unit
113 Control memory

Claims (3)

光ディスクの所定の領域に記録されている欠陥情報を読み出す読み出し手段と、
前記読み出し手段により読み出された欠陥情報を記憶する記憶手段と、
前記記憶手段により記憶された欠陥情報を用いて、指定された論理アドレスを物理アドレスに変換する制御を行う制御手段と
を備え、
前記制御手段が、前記欠陥情報の欠陥物理アドレスと、ホストにより指定された論理アドレスを物理アドレスに変換した時の期待値とを比較し、一致しない時はその物理アドレスの期待値を返して終了し、一致した時はその物理アドレスの期待値をインクリメントした値と、一致した欠陥情報のアドレスの次にエントリされている欠陥アドレスと比較し、一致しなければその物理アドレスを返して終了し、一致した時はその物理アドレスの期待値を更にインクリメントした値と、欠陥情報のアドレスの更に次にエントリされている欠陥アドレスとを比較する処理を所定の数まで繰り返し、その後、登録されている欠陥情報から2分岐検索で欠陥エントリがとぎれるところ、すなわちホストから指定された論理アドレスの欠陥セクタを読み飛ばし、指定された論理アドレスから前記欠陥情報を考慮したる物理アドレスを返すことを特徴とした光ディスク装置。
Reading means for reading defect information recorded in a predetermined area of the optical disc;
Storage means for storing the defect information read by the reading means,
Control means for performing control to convert a specified logical address into a physical address using the defect information stored by the storage means,
The control means compares the defective physical address of the defect information with an expected value when a logical address specified by a host is converted into a physical address, and returns an expected value of the physical address when they do not match, and ends. If there is a match, the value obtained by incrementing the expected value of the physical address is compared with the defect address entered next to the address of the matching defect information, and if there is no match, the physical address is returned and the processing is terminated. When they match, the process of comparing the value obtained by further incrementing the expected value of the physical address with the defect address entered next to the address of the defect information is repeated up to a predetermined number. Where a defective entry is interrupted by a two-branch search from the information, that is, a defective sector of a logical address specified by the host is skipped. , An optical disk apparatus, characterized in that return a physical address upcoming considering the defect information from the specified logical address.
光ディスクの所定の領域に記録されている欠陥情報を読み出す読み出し手段と、
前記読み出し手段により読み出された欠陥情報を記憶する記憶手段と、
前記記憶手段により記憶された欠陥情報を用いて、指定された論理アドレスを物理アドレスに変換する制御を行う制御手段と
を備え、
前記記憶手段が、前記欠陥情報の欠陥物理アドレスの連続情報を付加することと、前記制御手段が、前記欠陥情報の欠陥物理アドレスと指定された論理アドレスを、欠陥セクタを考慮せずに物理アドレスに変換した時の期待値と一致しない時はその物理アドレスを返して終了し、一致した時は前記連続情報を用いて、連続した数分加算した物理アドレスを返すことを特徴とした光ディスク装置。
Reading means for reading defect information recorded in a predetermined area of the optical disc;
Storage means for storing the defect information read by the reading means,
Control means for performing control to convert a specified logical address into a physical address using the defect information stored by the storage means,
The storage means adds the continuous information of the defective physical address of the defect information, and the control means converts the defective physical address and the designated logical address of the defect information into a physical address without considering a defective sector. An optical disk device characterized by returning the physical address when the value does not match the expected value when the data is converted to a format, and returning the physical address obtained by adding the number of continuous numbers using the continuous information when the value matches.
光ディスクの所定の領域に記録されている欠陥情報を読み出す読み出し手段と、
前記読み出し手段により読み出された欠陥情報を記憶する記憶手段と、
前記記憶手段により記憶された欠陥情報を用いて、指定された論理アドレスを物理アドレスに変換する制御を行う制御手段と
を備え、
前記記憶手段が、前記欠陥情報の欠陥物理アドレスの連続数情報が、所定のサイズを超えた時は最大サイズを連続数情報として付加し、前記制御手段が前記欠陥情報の欠陥物理アドレスと指定された論理アドレスを物理アドレスに変換した時の期待値と一致しない時は、その物理アドレスの期待値を返して終了し、一致した時は前記連続数情報を用いて、連続数情報分加算した物理アドレスの期待値と、連続数情報分先の欠陥情報を比較することを所定の数まで繰り返し、一致しなくなったときの物理アドレスの期待値を返すことを特徴とした光ディスク装置。
Reading means for reading defect information recorded in a predetermined area of the optical disc;
Storage means for storing the defect information read by the reading means,
Control means for performing control to convert a specified logical address into a physical address using the defect information stored by the storage means,
When the consecutive number information of the defective physical address of the defect information exceeds a predetermined size, the storage unit adds the maximum size as the consecutive number information, and the control unit is designated as the defective physical address of the defect information. If the logical address does not match the expected value when the address is converted to a physical address, the expected value of the physical address is returned and the process is terminated. An optical disc apparatus characterized by repeating comparison of an expected value of an address with defect information ahead of the continuous number information up to a predetermined number, and returning an expected value of a physical address when the addresses no longer match.
JP2002283157A 2002-09-27 2002-09-27 Optical disk defect processing device Expired - Fee Related JP3882731B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002283157A JP3882731B2 (en) 2002-09-27 2002-09-27 Optical disk defect processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002283157A JP3882731B2 (en) 2002-09-27 2002-09-27 Optical disk defect processing device

Publications (2)

Publication Number Publication Date
JP2004118967A true JP2004118967A (en) 2004-04-15
JP3882731B2 JP3882731B2 (en) 2007-02-21

Family

ID=32277101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002283157A Expired - Fee Related JP3882731B2 (en) 2002-09-27 2002-09-27 Optical disk defect processing device

Country Status (1)

Country Link
JP (1) JP3882731B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949852B2 (en) 2007-02-20 2011-05-24 Megachips Corporation Memory system, computer system and memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949852B2 (en) 2007-02-20 2011-05-24 Megachips Corporation Memory system, computer system and memory

Also Published As

Publication number Publication date
JP3882731B2 (en) 2007-02-21

Similar Documents

Publication Publication Date Title
US6336197B1 (en) Information recording medium, and method and apparatus for managing defect thereof
CA2473609C (en) Multi-layered information recording medium, reproduction apparatus, recording apparatus, reproduction method, and recording method
US8068390B2 (en) Information recording device
JP4544642B2 (en) Recording method and information recording apparatus
US7206267B2 (en) Defect area management system and method for optical storage medium
US6742147B1 (en) Information recording medium, and method and apparatus for managing defect thereof
JPH07235139A (en) Optical disc apparatus
US20080273437A1 (en) Device for and Method of Recording Information on a Record Carrier
US7487306B2 (en) Device and method for recording information
US20080273434A1 (en) Defect Management on File Level
JP2004118967A (en) Optical disk defect processing device
JP4504979B2 (en) Information storage device and method
KR20070030907A (en) Defect management on file level

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040713

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050707

A977 Report on retrieval

Effective date: 20060710

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060725

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060925

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: 20061024

A61 First payment of annual fees (during grant procedure)

Effective date: 20061106

Free format text: JAPANESE INTERMEDIATE CODE: A61

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

Free format text: PAYMENT UNTIL: 20091124

Year of fee payment: 3

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

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20101124

LAPS Cancellation because of no payment of annual fees