JP4116740B2 - Information recording medium, information recording method, information recording apparatus, and information reproducing apparatus - Google Patents

Information recording medium, information recording method, information recording apparatus, and information reproducing apparatus Download PDF

Info

Publication number
JP4116740B2
JP4116740B2 JP25367899A JP25367899A JP4116740B2 JP 4116740 B2 JP4116740 B2 JP 4116740B2 JP 25367899 A JP25367899 A JP 25367899A JP 25367899 A JP25367899 A JP 25367899A JP 4116740 B2 JP4116740 B2 JP 4116740B2
Authority
JP
Japan
Prior art keywords
area
data
information
recording
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP25367899A
Other languages
Japanese (ja)
Other versions
JP2000322835A (en
Inventor
基志 伊藤
宏 植田
芳稔 後藤
能久 福島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP25367899A priority Critical patent/JP4116740B2/en
Publication of JP2000322835A publication Critical patent/JP2000322835A/en
Application granted granted Critical
Publication of JP4116740B2 publication Critical patent/JP4116740B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、情報記録媒体、情報記録方法、情報記録装置および情報再生装置に関する。
【0002】
【従来の技術】
セクタ構造を有する情報記録媒体として光ディスクがある。近年、高密度化、大容量化が進んでおり、信頼性の確保が重要となっている。この信頼性を確保するため、光ディスク装置は、ディスク上に記録再生できないセクタ(これを欠陥セクタと呼ぶ)を、状態のよい他のセクタで交替する欠陥管理を行っている。このような欠陥管理については、国際標準化機構(ISO)から、90mm光ディスクに対して、ISO/IEC10090(以下ISO規格と略す)が公開されている。
【0003】
以下、背景技術の一つとして、DVD規格に採用されているECCブロックと、ISO規格の欠陥管理方法とについて簡単に説明する。
【0004】
図17は、ディスク1の物理構造を示す。円盤状のディスク1には、同心円状またはスパイラル状に複数のトラック2が形成されている。複数のトラック2のそれぞれは、複数のセクタ3に分割されている。ディスク1の領域は、1以上のディスク情報領域4と、データ記録領域5とを含む。
【0005】
ディスク情報領域4には、ディスク1をアクセスするために必要なパラメータが格納されている。図17に示される例では、ディスク情報領域4は、ディスク1の最内周側と最外周側とにそれぞれ設けられている。最内周側のディスク情報領域4は、リードイン(lead−in)領域とも呼ばれる。最外周側のディスク情報領域4は、リードアウト(lead−out)領域とも呼ばれる。
【0006】
データの記録再生はデータ記録領域5に対して行われる。データ記録領域5の各々のセクタ3には物理セクタ番号という絶対番地が予め割り当てられている。
【0007】
図18Aは、誤り訂正符号の計算単位であるECCブロックの構成を示す。ECCブロックは、172バイト×48行に配置されたメインデータと、その1行毎に(横方向に)誤り訂正符号を計算した内符号パリティPIと、その1列毎に(縦方向に)誤り訂正符号を計算した外符号パリティPOとを含む。
【0008】
内符号パリティと外符号パリティとを用いた誤り訂正方法は、一般的に積符号を用いた誤り訂正方法と呼ばれる。積符号を用いた誤り訂正方法は、ランダムエラーとバーストエラー(局所的に集中した誤り)の両方に強い誤り訂正方法である。例えば、ランダムエラーに加えて、引っ掻き傷で2行分のバーストエラーが発生した場合を考えてみる。バーストエラーは、外符号から見れば殆どが2バイト誤りなので訂正できる。ランダムエラーが多く存在した列は、外符号で訂正できずに誤りが残るが、この残った誤りは内符号によって大抵の場合訂正できる。内符号によっても誤りが残ったとしても、再び外符号で訂正すれば、さらに誤りの減らすことができる。DVDでは、このような積符号を採用したことによって、パリティの冗長度を抑えながら、十分な訂正能力が実現されている。言い換えれば、パリティの冗長度を抑えた分、ユーザデータの容量を高めることができている。
【0009】
より大容量のDVDでは、高い誤り訂正能力と低い冗長度を両立させるために、1つのECCブロックは16セクタから構成される。但し、図18Aでは便宜上、4つのセクタからECCブロックが構成されるとする。
【0010】
図18Bは、ECCブロックに含まれるセクタの構成を示す。ECCブロックの外符号パリティは複数の行に分割され、各セクタに均等に配分される。その結果、1つの記録セクタは、182バイト×13行のデータから構成される。
【0011】
上位制御装置(一般的にはホストコンピュータが相当する)は、光ディスク装置に対して、セクタ単位に記録もしくは再生の命令を行う。あるセクタの再生を命令されると、光ディスク装置は、そのセクタを含むECCブロックをディスクから再生して、誤り訂正を施した後、指定されたセクタに相当するデータ部分だけを送り返す。あるセクタの記録を命令されると、光ディスク装置は、そのセクタを含むECCブロックをディスクから再生して、誤り訂正を施した後、指定されたセクタに相当するデータ部分を上位制御装置から受け取った記録データに置き換え、そのECCブロックについて誤り訂正符号を再計算して付け直し、そのセクタを含むECCブロックをディスクに記録する。特に、このような記録動作を、リード・モディファイド・ライト(Read Modified Write)と呼ぶ。
【0012】
以下の説明において、ブロックとは、上述したECCブロックを意味する。
【0013】
図19は、ISO規格の欠陥管理方法におけるディスク1の物理空間の例を示す。データ記録領域5は、ボリューム空間6とスペア領域9とを含む。
【0014】
ボリューム空間6は、論理セクタ番号と呼ばれる連続的な番地によって管理される。ボリューム空間6は、論理ボリューム空間6aと、論理ボリューム空間6aの構造を示すボリューム構造6bとを含む。
【0015】
スペア領域9は、ボリューム空間6に欠陥セクタが生じた場合にその欠陥セクタの代わりに使用され得る少なくとも1つのセクタを含む。
【0016】
図19に示される例では、ルートディレクトリ(図19では”ROOT”と示されている)の直下に、ファイルA(図19では”File−A”と示されている)が存在する。ルートディレクトリのデータエクステントに含まれるデータブロックa〜データブロックcのうちデータブロックcが欠陥ブロックである。欠陥ブロックcは、スペア領域9の#1スペアブロックによって交替されている。ファイルAのデータエクステントに含まれるデータブロックd〜データブロックgのうちデータブロックfが欠陥ブロックである。欠陥ブロックfは、スペア領域9の#2スペアブロックによって交替されている。
【0017】
欠陥ブロックとスペア領域9のスペアブロックとの交替関係は、2次欠陥リスト(Secondary Defect List;SDL)に登録されている。SDLは、欠陥管理情報の一部として欠陥管理情報領域に格納されている。
【0018】
さらに最近では、書換型の光ディスクも再生専用の光ディスクと同様に、より安価なカートリッジなしの裸ディスクで利用しようとする動きもある。欠陥管理の観点から見ると、裸ディスクは指紋が付き易いので、欠陥セクタが予想以上に増加することが懸念される。そこで、従来は固定であったスペア領域を、動的に拡張可能な手法が検討されている。
【0019】
続いて、光ディスクの大容量化と、動画の圧縮技術の実用化に伴い、動画を光ディスクに記録および再生する用途が拓けてきた。動画といったリアルタイム性を要求する用途の場合に、従来の欠陥管理の方式では、問題がある。つまり、欠陥セクタを物理的に距離の離れたスペアセクタで交替すると、光ヘッドを移動するために、余分な時間がかかり、リアルタイム性を保証できなくなる。そこで、欠陥セクタから離れた位置のスペアセクタで交替する方法に取って代わる欠陥管理方法が検討されている。
【0020】
以下、背景技術の2つ目として、検討されているAVデータ(すなわち、オーディオビデオデータ)を記録再生する方法を説明する。
【0021】
図20Aおよび図20Bは、AVデータの記録再生におけるディスク上のAVデータの配置図である。図20Aおよび図20Bにおいて、沿え字hは16進数を示す。
【0022】
図20Aは、欠陥セクタがない場合のAVデータの配置図である。欠陥セクタが無ければ、#1データから#4データまでのAVデータは、連続した論理セクタ番号(LSN)を持つセクタに記録することができる。また、連続した論理セクタ番号を持つセクタを再生することにより、AVデータを再生することができる。
【0023】
図20Bは、欠陥セクタがある場合のAVデータの配置図である。図20Bは、論理セクタ番号がnからn+0Fhまでの16セクタがデータを記録中に欠陥セクタとして検出された例を示している。この場合、検出された欠陥セクタを含むECCブロックはスキップされる。その結果、#3データと#4データは、論理セクタ番号がn+10hからn+1Fhまでのセクタと、論理セクタ番号がn+20hからn+2Fhまでのセクタとにそれぞれ記録される。このようなECCブロック単位のスキップ動作は、ブロックスキップと呼ばれる。
【0024】
図21は、AVデータの記録再生におけるディスク1の物理空間の例を示す。
【0025】
図21に示される例では、ルートディレクトリ(図21では”ROOT”と示されている)の直下に、AVデータを内容として含むファイルA(図21では”File−A”と示されている)が存在する。ルートディレクトリのデータエクステントに含まれるデータブロックa〜データブロックcのうちデータブロックcが欠陥ブロックである。欠陥ブロックcは、スペア領域9の#1スペアブロックによって交替されている。ファイルAのAVデータエクステントを記録しようとした領域において欠陥ブロックfが検出されたと仮定する。この場合、欠陥ブロックfはスキップされる。その結果、ファイルAのAVデータエクステントは、データブロックdとデータブロックeとを含むAVデータエクステントIと、データブロックgとデータブロックhとを含むAVデータエクステントIIとに分割される。
【0026】
欠陥ブロックcがスペア領域9の#1スペアブロックに交替されていることは、SDLに登録されている。しかし、欠陥ブロックfは、SDLには登録されない。欠陥ブロックfはスキップされただけであり、欠陥ブロックfにはスペアブロックが割り当てられていないし、交替もされていないからである。
【0027】
以下、図22A〜図22Cを参照して、SDLに登録されていない欠陥ブロックが存在することの問題を説明する。
【0028】
図22Aは、正常に記録されたECCブロックを示す。ECCブロックは、複数のセクタにわたって記録される。各セクタは、物理セクタ番号などが記載されたIDから始まる。このIDに続く領域にデータが記録される。そのデータは、メインデータに誤り訂正符号を付加し、誤り訂正符号が付加されたメインデータをさらにインタリーブすることによって得られる(図18参照)。
【0029】
図22Bは、上書きに失敗したECCブロックを示す。図22Aに示されるECCブロックに、新しいデータを上書きする場合、新しいメインデータに応じた誤り訂正符号が付加される。図22Bに示される例では、3つめのセクタのIDが不良IDであったために、最初の2つのセクタまでが新しいECCブロックのデータに書き換えられて、残りの2つのセクタが古いECCブロックのデータのままになっている。
【0030】
図22Cは、上書きに失敗したECCブロックの再生データの構造を示す。図22Bに示される4つのセクタを再生すると、2つのデータが入り混じってしまう。図22Cでは、2つのデータは、斜線の向きが異なるように表示されている。このことは、外符号パリティPOを用いた縦方向において、エラー訂正が常に失敗することを意味する。
【0031】
上述した説明で分かるように、一度でも途中で記録に失敗したブロックは、再生することができないブロックになる。このブロックの一部のセクタにデータを記録するためには、リード・モディファイド・ライト動作が必要になる。しかし、再生することができないブロックに対するリード・モディファイド・ライト動作は、常に失敗する。従って、このブロックは、二度と記録することができないブロックになる。このブロックは、後に交替もできないブロックでもある。なぜなら、リード・モディファイド・ライト動作と同様に交替先のブロックに移動すべきデータをこのブロックから再生できないからである。
【0032】
【発明が解決しようとする課題】
固定サイズのスペア領域を対象としたISO規格の欠陥管理方法に、動的に拡張可能なスペア領域の手法を取り入れようとすると、従来はあり得なかった一時的にスペア領域が枯渇する(すなわち、利用可能なスペア領域が存在しない)という事態が発生する。一時的にスペア領域が枯渇したときに検出された欠陥ブロックを管理する手法は検討されていなかった。この管理されていなかった欠陥ブロックに対するリード・モディファイド・ライト動作が失敗するため、欠陥ブロックにデータをセクタ単位で記録することはできないという問題点があった。
【0033】
また、AVデータをディスクに記録再生する場合においても、スキップされた欠陥ブロック対するリード・モディファイド・ライト動作が失敗する。従って、上述した問題点と同一の問題点があった。
【0034】
本発明は、上記問題点に鑑み、交替先のスペアブロックが存在しない場合でも欠陥ブロックを管理し、リード・モディファイド・ライト動作が失敗する確率を下げることにより、信頼性を高めた情報記録媒体、情報記録方法、情報記録装置および情報再生装置を提供することを目的とする。
【0035】
【課題を解決するための手段】
本発明の情報記録媒体は、ユーザデータが記録されるボリューム空間と、前記ボリューム空間に含まれる欠陥領域の代わりに使用され得る交替領域を含むスペア領域と、前記欠陥領域を管理するための欠陥管理情報が記録される欠陥管理情報領域とを備えた情報記録媒体であって、前記欠陥管理情報は、前記欠陥領域の位置を示す第1位置情報と、前記交替領域の位置に関する第2位置情報とをさらに含み、前記第2位置情報は、その値が前記交替領域の位置を示す値であるか交替先がないことを示す所定値であるかに基づいて、前記欠陥領域が前記交替領域に交替されているか否かを示し、これにより、上記目的が達成される。
【0036】
本発明の情報記録方法は、ユーザデータが記録されるボリューム空間と、前記ボリューム空間に含まれる欠陥領域の代わりに使用され得る交替領域を含むスペア領域と、前記欠陥領域を管理するための欠陥管理情報が記録される欠陥管理情報領域とを備えた情報記録媒体に情報を記録する情報記録方法であって、前記欠陥管理情報は、前記欠陥領域の位置を示す第1位置情報と前記交替領域の位置に関する第2位置情報とを含み、前記情報記録方法は、前記欠陥領域を検出するステップと、前記第2位置情報を前記欠陥管理情報領域に記録するステップとを包含し、前記第2位置情報は、その値が前記交替領域の位置を示す値であるか交替先がないことを示す所定値であるかに基づいて、前記欠陥領域が前記交替領域に交替されているか否かを示し、これにより、上記目的が達成される。
【0037】
本発明の情報記録装置は、ユーザデータが記録されるボリューム空間と、前記ボリューム空間に含まれる欠陥領域の代わりに使用され得る交替領域を含むスペア領域と、前記欠陥領域を管理するための欠陥管理情報が記録される欠陥管理情報領域とを備えた情報記録媒体に情報を記録する情報記録装置であって、前記欠陥管理情報は、前記欠陥領域の位置を示す第1位置情報と前記交替領域の位置に関する第2位置情報とを含み、前記情報記録装置は、前記欠陥領域を検出する検出部と、前記交替領域の位置に関する第2位置情報を前記欠陥管理情報領域に記録する記録部とを備え、前記第2位置情報は、その値が前記交替領域の位置を示す値であるか交替先がないことを示す所定値であるかに基づいて、前記欠陥領域が前記交替領域に交替されているか否かを示し、これにより、上記目的が達成される。
【0038】
本発明の情報再生装置は、ユーザデータが記録されるボリューム空間と、前記ボリューム空間に含まれる欠陥領域の代わりに使用され得る交替領域を含むスペア領域と、前記欠陥領域を管理するための欠陥管理情報が記録される欠陥管理情報領域とを備えた情報記録媒体に記録された情報を再生する情報再生装置であって、前記欠陥管理情報は、前記欠陥領域の位置を示す第1位置情報と前記交替領域の位置に関する第2位置情報とを含み、前記情報再生装置は、前記第2位置情報を参照することにより、前記欠陥領域が前記交替領域に交替されているか否かを判定する判定部と、前記判定結果に応じて、前記ユーザデータの再生を制御する制御部とを備え、前記制御部は、前記欠陥領域が前記交替領域に交替されていない場合には、前記欠陥領域の再生をスキップし、これにより、上記目的が達成される。
【0057】
【発明の実施の形態】
以下、図面を参照しながら本発明の実施の形態を説明する。
【0058】
(実施の形態1)
ディスク1は、円盤状の書換型の情報記録媒体である。ディスク1としては、DVD−RAMを含む任意の情報記録媒体が使用され得る。データはディスク1に記録され得る。ディスク1に記録されたデータは再生され得る。データの記録再生は、セクタ単位またはブロック単位に行われる。
【0059】
ディスク1の物理構造は、図17に示される構造と同一である。従って、ここでは、その説明を省略する。
【0060】
図1Aは、ディスク1の物理空間の構造を示す。ディスク1の領域は、1以上のディスク情報領域4と、データ記録領域5とを含む。図1に示される例では、ディスク情報領域4は、ディスク1の最内周側と最外周側とにそれぞれ設けられている。最内周側のディスク情報領域4は、リードイン(lead−in)領域とも呼ばれる。最外周側のディスク情報領域4は、リードアウト(lead−out)領域とも呼ばれる。
【0061】
データの記録再生は、データ記録領域5に対して行われる。データ記録領域5の全セクタには物理セクタ番号(Physical Sector Number;以下、PSNと略称する)という絶対番地が予め割り当てられている。
【0062】
データ記録領域5は、ボリューム空間6と、第1スペア領域7とを含む。
【0063】
ボリューム空間6は、ユーザデータを格納するために用意された領域である。ボリューム空間6をアクセスするために、ボリューム空間6に含まれる各セクタに論理セクタ番号(Logical Sector Number;以下、LSNと略称する)が割り当てられている。LSNを用いてディスク1のセクタにアクセスすることにより、データの記録再生が行われる。
【0064】
第1スペア領域7は、ボリューム空間6に欠陥セクタが生じた場合にその欠陥セクタの代わりに使用され得る少なくとも1つのセクタを含む。第1スペア領域7は、ボリューム空間6よりディスク1の内周側に配置されている。これは、ファイル管理情報(未使用空間管理情報やルートディレクトリのファイルエントリなど)を格納する領域において欠陥セクタが発生した場合に、その欠陥セクタの交替処理を高速に行うためである。ファイル管理情報は、論理セクタ番号”0”が割り当てられるセクタの近傍に格納される。従って、第1スペア領域7をボリューム空間6よりディスク1の内周側に配置することにより、欠陥セクタと交替セクタとの間のシーク距離を小さくすることができる。これにより、欠陥セクタの交替処理が高速化される。ファイル管理情報がアクセスされる頻度は高く、かつ、ファイル管理情報には高いデータ信頼性が求められる。従って、ファイル管理情報を格納する領域において発生した欠陥セクタの交替処理を高速に行うことは、きわめて有用である。
【0065】
ボリューム空間6は、論理ボリューム空間6aと、論理ボリューム空間6aの構造を示すボリューム構造6bとを含む。論理ボリューム空間6aには、論理ボリューム空間6aのセクタが使用済みか未使用かを示す未使用空間管理情報と、ファイルの内容が格納された1以上のデータエクステントと、そのファイルに対応する1以上のデータエクステントが登録されたファイルエントリとが格納される。これらの情報を用いてファイルが管理される。
【0066】
ディスク情報領域4は、制御データ領域4aと欠陥管理情報領域4bとを含む。欠陥管理情報領域4bには、欠陥セクタを管理するための欠陥管理情報10が格納される。
【0067】
欠陥管理情報10は、ディスク定義構造11と、1次欠陥リスト(Primary Defect List;以下、PDLと略称する)12と2次欠陥リスト(Second Defect List;以下、SDLと略称する)13とを含む。
【0068】
PDL12は、ディスク1の出荷時の検査において検出された欠陥セクタを管理するために使用される。ディスク1の出荷時の検査は、通常、ディスク1の製造者によってなされる。
【0069】
SDL13は、ユーザがディスク1を使用中に検出された欠陥セクタを管理するために使用される。
【0070】
図1Bは、SDL13の構造を示す。
【0071】
SDL13は、SDLであることを示す識別子を含む2次欠陥リストヘッダ(SDLヘッダ)20と、SDLに登録されているSDLエントリ22の数を示す情報(SDLエントリ数情報)21と、1以上のSDLエントリ22(図1Bに示される例では、第1エントリ〜第mエントリ)とを含む。なお、SDLエントリ数情報21の値がゼロであることは、SDLに登録されている欠陥セクタがないことを示す。
【0072】
図1Cは、SDLエントリ22の構造を示す。
【0073】
SDLエントリ22は、状態フィールド22aと、欠陥セクタの位置を示す情報を格納するためのフィールド22bと、欠陥セクタに交替する交替セクタの位置を示す情報を格納するためのフィールド22cとを含む。
【0074】
状態フィールド22aは、欠陥セクタが交替セクタに交替されているか否かを示すために使用される。欠陥セクタの位置は、例えば、欠陥セクタの物理セクタ番号によって表現される。交替セクタの位置は、例えば、交替セクタの物理セクタ番号によって表現される。
【0075】
例えば、状態フィールド22aは、1ビットのフラグ22a−1と予約領域22a−2とを含んでいてもよい。例えば、フラグ22a−1の値が1であることは、欠陥セクタが交替セクタに交替されていないことを示す。フラグ22a−1の値が0であることは、欠陥セクタが交替セクタに交替されていること示す。
【0076】
あるいは、状態フィールド22aは、1ビットの枯渇フラグ22a−3と、1ビットのAVフラグ22a−4と、予約領域22a−5とを含んでいてもよい(図1D参照)。枯渇フラグ22a−3およびAVフラグ22a−4は、それぞれ、欠陥セクタが交替セクタに交替されていない要因を示すフラグである。例えば、枯渇フラグ22a−3の値が1であることは、第1スペア領域7が枯渇したために、欠陥セクタが交替セクタに交替されていないことを示す。例えば、AVフラグ22a−4の値が1であることは、検出された欠陥セクタがAVデータをディスク1に記録している間に検出された欠陥セクタであるため、その欠陥セクタが交替セクタに交替されていないことを示す。
【0077】
あるいは、状態フィールド22aを設ける代わりに、交替セクタの位置を示す情報を格納するためのフィールド22cに「交替先なし(すなわち、欠陥セクタが交替セクタに交替されていない)」旨の表明を示す所定の値を挿入するようにしてもよい(図1E参照)。その所定の値は、例えば、0である。
【0078】
なお、図1C〜図1Eに示されるSDLエントリ22のフォーマットは一例であり、SDLエントリ22のフォーマットがこれらに限定されるわけではない。欠陥セクタが交替セクタに交替されているか否かを示す状態情報がSDLに含まれる限り、SDLエントリ22は任意のフォーマットをとることができる。
【0079】
例えば、状態フィールド22aの値が1である場合において、フィールド22cの値を所定の値に設定することによって、識別可能な状態の数を増やすこともできる。例えば、フィールド22cの値が0に設定されていることは、新規に検出された欠陥セクタが交替セクタに交替されておらず、交替セクタが割り当てられていないことを示す。例えば、フィールド22cの値が0以外の値に設定されていることは、以前に検出された欠陥セクタがフィールド22cによって特定される交替セクタに交替されていたが、その交替がキャンセルされたことを示す。
【0080】
さらに、上述した説明では、セクタ単位で欠陥管理を行っているが、複数のセクタを含むブロック単位で欠陥管理を行うようにしてもよい。この場合には、欠陥セクタの位置を示す情報の代わりに、欠陥ブロックの位置を示す情報(例えば、欠陥ブロックの先頭セクタの物理セクタ番号)をSDLに登録し、交替セクタの位置を示す情報の代わりに、交替ブロックの位置を示す情報(例えば、交替ブロックの先頭セクタの物理セクタ番号)をSDLに登録するようにすればよい。誤り訂正を行う単位であるECCブロック単位で欠陥管理を行うことも可能である。
【0081】
このように、欠陥領域(欠陥セクタまたは欠陥ブロック)が交替領域(交替セクタまたは交替ブロック)に交替されているか否かを示す状態情報を欠陥管理情報領域に格納することにより、欠陥領域は検出されているが、その欠陥領域が交替領域に交替されていないという状態を管理することが可能になる。
【0082】
図2は、AVデータを内容として含むファイルAをディスク1に記録した場合における、ディスク1の物理空間の例を示す。
【0083】
図2に示される例では、ルートディレクトリ(図2では”ROOT”と示されている)の直下に、ファイルA(図2では”File−A”と示されている)が存在する。ルートディレクトリのデータエクステントに含まれるデータブロックa〜データブロックcのうちデータブロックcが欠陥ブロックである。欠陥ブロックcは、第1スペア領域7の#1スペアブロックによって交替されている。ファイルAのAVデータエクステントを記録しようとした領域において欠陥ブロックfが検出されたと仮定する。この場合、欠陥ブロックfはスキップされる。その結果、ファイルAのAVデータエクステントは、データブロックdとデータブロックeとを含むAVデータエクステントI(File−A)とデータブロックgとデータブロックhとを含むAVデータエクステントII(File−A)とに分割される。
【0084】
SDL13の第1番目のSDLエントリ22は、欠陥ブロックcが第1スペア領域7の#1スペアブロックに交替されていることを示す。
【0085】
SDL13の第2番目のSDLエントリ22は、AVデータをディスク1に記録する際に検出され、かつ、スキップされた欠陥ブロックfが交替ブロックに交替されていないことを示す。
【0086】
図3は、AVデータを内容として含むファイルAをディスク1に記録した後に、AVデータ以外のデータを内容として含むファイルBをディスク1に記録した場合における、ディスク1の物理空間の例を示す。
【0087】
図3に示される例では、ファイルBのデータエクステントを記録する場所として、欠陥ブロックfが指定される。その結果、欠陥ブロックfは第1スペア領域7の#2スペアブロックに交替される。この交替処理に伴って、SDL13の第2番目のSDLエントリ22の状態フィールド22aの値が1から0に更新され、#2スペアブロックの位置を示す情報がフィールド22cに格納される。
【0088】
ここで、ファイルBのデータエクステントのサイズは1つのブロックのサイズに等しいと仮定する。ファイルBのデータエクステントの構成情報はファイルBのファイルエントリに記載される。ファイルBに対応するLSNは未使用空間管理情報において使用済みと記載される。ルートディレクトリのデータエクステントにファイルBが登録される。
【0089】
もし、光ディスク装置が欠陥ブロックfがAVデータを記録しようとして失敗した欠陥ブロックであることを知らずに、欠陥ブロックfの一部のセクタにデータを記録しようとすると、上記のようにはならない。その理由は、次の通りである。光ディスク装置は、記録を要求されたセクタと同じECCブロックに属する他のセクタのデータを変化させないために、リード・モディファイド・ライト動作を行う。光ディスク装置は、リード・モディファイド・ライト動作におけるデータ再生を試みるが、常に失敗する。結果として、スペアブロックに記録するのに必要なECC単位のデータを得られない為、交替処理もできない。
【0090】
もし、光ディスク装置が欠陥ブロックfがAVデータを記録しようとして失敗した欠陥ブロックであると分かっていれば、欠陥ブロックfには有効なユーザデータが記録されていないと断定することができる。なぜなら、AVデータの記録はリアルタイムに行われることが重視されるために、AVデータは、ECCブロック単位でディスク1に記録されることが要求されるからである。言いかえれば、ECCブロックの一部だけのセクタを書き換えることは要求されないのである。従って、スキップされた欠陥ブロックに対して、記録を要求されたセクタと同じECCブロックに属する他のセクタのデータを変化させないためのリード・モディファイド・ライト動作をする必要がない。そこで、他のセクタのデータを0で埋めることによりECCブロックを生成し、交替先のスペアブロックにそのECCブロックを記録することが可能となる。
【0091】
図4は、スペア領域に含まれる利用可能な交替領域が一時的に枯渇(不足)した場合における、ディスク1の物理空間の例を示す。
【0092】
図2に示される物理空間の例と比較して、データ記録領域5に拡張可能な第2スペア領域8が割り当てられている。第2スペア領域8の割り当てに伴い、ボリューム空間6のサイズと論理ボリューム空間6aのサイズとは第2スペア領域8のサイズの分だけ小さくなる。第2スペア領域8の割り当てに先だって、ディスク1の外周側に配置されているボリューム構造6bがディスク1の内周方向に移動される。未使用空間管理情報のサイズは、論理ボリューム空間6aのサイズに応じて調整される。
【0093】
図4に示される例では、ルートディレクトリ(図4では”ROOT”と示されている)の直下に、ファイルA(図4では”File−A”と示されている)とファイルB(図4では”File−B”と示されている)と記録途中のファイルC(図4では”File−C”と示されている)とが存在する。
【0094】
ルートディレクトリのデータエクステントに含まれるデータブロックcが欠陥ブロックである。欠陥ブロックcは、第1スペア領域7の#1スペアブロックによって交替されている。
【0095】
ファイルAのデータエクステントに含まれるデータブロックfが欠陥ブロックである。欠陥ブロックfは、第1スペア領域7の#2スペアブロックによって交替されている。
【0096】
ファイルBのデータエクステントに含まれるデータブロックhとデータブロックjとが欠陥ブロックである。欠陥ブロックhと欠陥ブロックjとは、それぞれ、第2スペア領域8の#3スペアブロックと#4スペアブロックとによって交替されている。ファイルCのデータエクステントとして記録しようとしたデータブロックmは、記録中に欠陥ブロックであることが検出されたが、第1スペア領域7および第2スペア領域8において利用可能なスペアブロックが存在しなかった。このため、ファイルCは不完全な状態にある。
【0097】
SDL13には、図1Bに示されるSDL13の構造と比較して、第2スペア領域8の位置を示す情報を格納するためのフィールド23が追加されている。第2スペア領域8の位置を示す情報として、例えば、第2スペア領域8の先頭セクタの物理セクタ番号がフィールド23に格納される。フィールド23は、第2スペア領域8を動的に拡張するために設けられている。
【0098】
SDL13の第1番目のSDLエントリ22は、欠陥ブロックcが第1スペア領域7の#1スペアブロックに交替されていることを示す。
【0099】
SDL13の第2番目のSDLエントリ22は、欠陥ブロックfが第1スペア領域7の#2スペアブロックに交替されていることを示す。
【0100】
SDL13の第3番目のSDLエントリ22は、欠陥ブロックhが第2スペア領域8の#3スペアブロックに交替されていることを示す。
【0101】
SDL13の第4番目のSDLエントリ22は、欠陥ブロックjが第2スペア領域8の#4スペアブロックに交替されていることを示す。
【0102】
SDL13の第5番目のSDLエントリ22は、欠陥ブロックmがスペアブロックに交替されていないことを示す。
【0103】
図5は、第2スペア領域8を拡張した後にファイルCの記録をやり直した場合における、ディスク1の物理空間の例を示す。
【0104】
図5に示されるように、第2スペア領域8が拡張されている。ボリューム空間6のサイズと論理ボリューム空間6aのサイズとは、第2スペア領域8が拡張された分だけ小さくなる。
【0105】
第2スペア領域8の拡張に先だって、ディスク1の外周側に配置されているボリューム構造6bがディスク1の内周方向に移動される。未使用空間管理情報のサイズは、論理ボリューム空間6aのサイズに応じて調整される。
【0106】
ファイルCのデータエクステントに含まれるデータブロックmは、拡張された第2スペア領域8の#5スペアブロックによって交替されている。ファイルCのデータエクステントは3つのデータブロックl、m、nから構成される。ファイルCのデータエクステントの構成情報がファイルCのファイルエントリに記載される。ファイルCに対応するLSNは未使用空間管理情報において使用済みと記載される。ルートディレクトリのデータエクステントにファイルCが登録される。
【0107】
SDL13の第5番目のSDLエントリ22は、データブロックmが拡張された第2スペア領域8の#5スペアブロックに交替されていることを示す。
【0108】
AVデータを記録しようとして失敗した場合と異なり、AVデータ以外のデータを記録しようとして失敗した場合は、欠陥ブロックに有効なユーザデータがあるかも知れない。従って、そのような欠陥ブロックをリカバリする処理は、欠陥ブロックに有効なユーザデータが含まれていない場合に比較して幾分複雑になる。
【0109】
交替ブロックが割り当てられていない欠陥ブロック(ECCブロック)に含まれるセクタにデータを記録することを光ディスク装置が要求されたと仮定する。この場合、光ディスク装置は、そのセクタが含まれるECCブロック内の他のセクタのそれぞれに対して、セクタ毎に独立した内符号パリティPI(図22C参照)だけを用いてデータを再生し、その再生されたデータを用いてリード・ディファイド・ライト動作を行う。
【0110】
このように、外符号パリティPOを使わないために誤り訂正能力は低くなるが、内符号パリティPIで訂正できる範囲の誤りであれば、その誤りを訂正することができる。
【0111】
なお、欠陥ブロックに有効なユーザデータが存在しないときに限り、交替ブロクが割り当てられていない欠陥ブロックをSDLに登録する場合には、欠陥ブロックをリカバリする処理は、上述したAVデータを記録しようとして失敗した場合の処理と同様である。
【0112】
以上のように、リアルタイム性が要求されるデータ(例えば、AVデータ)をディスク1に記録する際に欠陥領域が検出された場合には、そのデータはその欠陥領域には記録されない(すなわち、その欠陥領域はスキップされる)。その欠陥領域の位置は、ディスク1の欠陥管理情報領域4bに書き込まれる。また、その欠陥領域が交替領域に交替されていないことを示す状態情報がディスク1の欠陥管理情報領域4bに書き込まれる。その欠陥領域にリアルタイム性が要求されないデータ(例えば、AVデータ以外のデータ)を記録することが要求された場合には、リード・モディファイド・ライト動作を行うことなく、その欠陥領域が交替領域に交替される。その交替領域の位置は、ディスク1の欠陥管理情報領域4bに書き込まれる。
【0113】
このように、常に失敗することが予めわかっているリード・モディファイド・ライト動作を回避し、その欠陥領域を交替領域に交替することにより、その交替領域にリアルタイム性が要求されないデータを記録することを成功させることができる。
【0114】
さらに、その欠陥領域にデータを記録することを実際に要求されるまでは、その欠陥領域に交替領域が割り当てられない。このことは、交替領域が無駄に消費されないという利点を提供する。
【0115】
また、スペア領域が拡張可能な領域である場合には、そのスペア領域に含まれる利用可能な交替領域が一時的に不足することが起こり得る。スペア領域に含まれる利用可能な交替領域の一時的な不足により、検出された欠陥領域に交替領域を割り当てることができない場合には、その欠陥領域の位置は、ディスク1の欠陥管理情報領域4bに書き込まれる。また、その欠陥領域に交替領域が割り当てられていなくて、交替されていないことを示す状態情報がディスク1の欠陥管理情報領域4bに書き込まれる。スペア領域が拡張されて利用可能な交替領域が確保された後、その欠陥領域に交替領域が割り当てられ、それで交替される。その交替領域の位置は、ディスク1の欠陥管理情報領域4bに書き込まれる。
【0116】
なお、上述した情報記録媒体では、欠陥領域が検出された時点でその欠陥領域に交替領域が割り当てられるのではなく、欠陥領域に相当する論理ボリューム空間に有効なデータが記録される時点でその欠陥領域に交替領域が割り当てられる。このような情報記録媒体は、スペア領域を有効に利用することができるという点で優位性を有している。
【0117】
スペア領域を有効に利用することによる優位性は、リード・モディファイド・ライト動作を必要とする誤り訂正コードの構成に依存するものではない。
【0118】
(実施の形態2)
以下、実施の形態1で説明したディスク1に情報を記録し、または、ディスク1に記録された情報を再生する情報記録再生システムの一実施の形態を図面を参照しながら説明する。
【0119】
図6は、AVデータをディスク1に記録し、または、ディスク1に記録されたAVデータを再生する原理を示す概念図である。
【0120】
AVデータをディスク1に記録する場合には、論理ボリューム空間6a内の未使用空間管理情報が参照される。未使用空間管理情報に基づいて、論理ボリューム空間6a内の未使用領域が検索される。連続的に未使用な領域のブロック数は、記録しようとするAVデータに必要なブロック数より所定数以上大きいという条件を満たすことが要求される。ここで、その所定数は、スキップが許容できるブロック数に相当する。検索の結果、その条件を満たす未使用領域が発見された場合には、AVデータは、その未使用領域に割り付けられる。
【0121】
図6に示される例では、AVデータ63が領域61に含まれる未使用領域62に割り付けられている。領域61は、論理ボリューム空間6aの一部の領域である。未使用領域62は、ブロックB1〜ブロックB10から構成されている。
【0122】
スキップ記録命令のパラメータは、AVデータ63が割り付けられた未使用領域62(すなわち、割付領域)のサイズとAVデータ63のサイズ(すなわち、AVデータサイズ)とに基づいて生成される。
【0123】
参照番号65は、スキップ記録命令を実行した場合における記録動作を示す。
【0124】
AVデータ63を未使用領域62に記録する際に欠陥ブロックが検出される。AVデータ63は、検出された欠陥ブロックをスキップしながら未使用領域62に記録される。図6に示される例では、ブロックB4とブロックB7とが欠陥ブロックである。従って、AVデータ63の一部がブロックB1〜B3に記録され、AVデータ63の他の一部がブロックB5〜B6に記録され、AVデータ63の残りの一部がブロックB8〜B9に記録される。AVデータ63に続いてパディングデータ64がブロックB9に記録される。パディングデータ64は、パディングデータ64の終端がブロックの境界に一致するように配置される。記録動作の結果、ブロックB1〜B3、B5〜B6およびB8〜B9は使用済みになる。ブロックB4、B7およびB10は未使用である。
【0125】
欠陥ブロックB4、B7の位置は、欠陥リスト66aに蓄えられる。欠陥リスト66aの内容は、適当なタイミングでディスク1上の欠陥管理情報領域4bに格納されているSDL13に書き込まれ、必要に応じてスキップリスト66bとしてファイルシステムに報告される。ファイルシステムは、報告されたスキップリスト66bから、AVデータ63が記録された領域を示すAVデータエクステント66cの位置と、ECCブロックの端数(すなわち、一部にAVデータが記録されたECCブロックの中で、AVデータが記録されていないセクタ)を示すパディングエクステント66dの位置を求め、ファイル管理情報を更新する。
【0126】
スキップ再生命令のパラメータは、割付領域のサイズとAVデータサイズとである。
【0127】
参照番号67は、スキップ再生命令を実行した場合における再生動作を示す。
【0128】
ディスク1に記録されたAVデータ63を再生する場合には、SDL13が参照される。SDLに登録された欠陥ブロックをスキップしながら、AVデータ63が再生される。
【0129】
図7は、本発明の実施の形態2の情報記録再生システム700の構成を示すブロック図である。
【0130】
図7に示されるように、情報記録再生システム700は、システム全体の制御を行う上位制御装置710と、上位制御装置710からの命令に応じて書換型のディスク1(図7には示されていない)の記録再生制御を行うディスク記録再生ドライブ720と、磁気ディスク装置750と、ディジタルAVデータをアナログ映像・音声信号に変換して出力するAVデータ出力部760と、入力されたアナログAV信号をディジタルAVデータに変換するAVデータ入力部770と、データや制御情報を送受信するI/Oバス780とを含む。
【0131】
上位制御装置710は、制御プログラムや演算用メモリを内蔵するマイクロプロセッサを含む。上位制御装置710は、記録時に記録領域の割当てを行う記録領域割当部711と、記録したファイルのファイル管理情報を作成するファイル管理情報作成部712と、ファイル管理情報からファイルの記録位置の算出や属性情報の判別を行うファイル管理情報解釈部713と、データを一時的に格納するデータバッファメモリ714と、ディスク記録再生ドライブ720に命令を発行する命令発行部715とをさらに含む。
【0132】
命令発行部715は、欠陥領域をスキップしながら記録を行うことを要求するスキップ記録命令を発行するスキップ記録命令発行部716と、記録後にデータが記録された領域を決定する記録位置情報の返送を要求する記録位置要求命令を発行する記録位置要求命令発行部717と、欠陥領域をスキップしながら再生を行うことを要求するスキップ再生命令を発行するスキップ再生命令発行部718とを含む。
【0133】
ディスク記録再生ドライブ720は、制御プログラムや演算用メモリを内蔵するマイクロプロセッサを含む。ディスク記録再生ドライブ720は、マイクロプロセッサで制御される機構部や信号処理回路などで構成され、上位制御装置710からの命令を処理する命令処理部721と、書換型のディスク1への記録時の制御を行う記録制御部730と、書換型のディスク1からの再生時の制御を行う再生制御部740とを機能的に備えている。
【0134】
命令処理部721は、スキップ記録命令の処理を行うスキップ記録命令処理部722と、記録位置要求命令の処理を行う記録位置要求命令処理部723と、スキップ再生命令の処理を行うスキップ再生命令処理部724とを含む。
【0135】
記録制御部730は、記録時に欠陥領域を検出する欠陥領域検出部731と、記録時に検出した欠陥領域をスキップしながら記録するスキップ記録制御部732と、データを記録した位置に関する情報を格納する記録位置格納メモリ733と、記録後に記録したデータを読出すことにより正常に記録されているか否かを検査するデータ検査部734と、記録開始位置や記録長等の記録に必要となる制御情報を格納する記録制御情報メモリ735と、上位制御装置710から受領した記録データを一時的に格納する記録データ格納メモリ736と、記録時に検出しスキップした欠陥領域を欠陥管理情報に記録するスキップ位置記録部737とを含む。
【0136】
再生制御部740は、データを再生する位置に関する情報を格納する再生位置格納メモリ743と、再生位置格納メモリ743を参照して欠陥領域をスキップしながら再生するスキップ再生制御部742と、再生開始位置や再生長等の再生に必要となる制御情報を格納する再生制御情報メモリ745と、書換型のディスク1から読出したデータを一時的に格納する読出データ格納メモリ746と、欠陥管理情報からスキップすべき欠陥領域の位置を再生位置格納メモリ743に読み込むスキップ位置読込部747とを含む。
【0137】
次に、図7に示される情報記録再生システム700を用いて、AVデータを含むファイルをディスク1に記録する記録方法を説明する。
【0138】
図8は、その記録方法の各ステップを示す。
【0139】
図8において、書換型のディスク1に記録されたファイル(”AV_FILE”)のファイル管理情報はディスク1がディスク記録再生ドライブ720に挿入された時に読み出され、ファイル管理情報解釈部713によって解釈された後、上位制御装置710の内部に保持されているものとする。
【0140】
また、図8において、参照番号81は上位制御装置710によって実行される処理を示し、参照番号82はディスク記録再生ドライブ720によって実行される処理を示し、参照番号83は、上位制御装置710とディスク記録再生ドライブ720との間のI/Fプロトコルにおける命令、データ、処理結果の流れを示す。
【0141】
(ステップ801)上位制御装置710は、AVデータ入力部770を制御して、AVデータの受信動作を開始する。この時、AVデータ入力部770から入力されたAVデータは、AVデータ入力部770においてディジタルデータに変換された後、I/Oバス780を介して転送され、データバッファメモリ714に格納される。
【0142】
(ステップ802)上位制御装置710の記録領域割当部711は、AVデータの記録に先立って、ファイル管理情報解釈部713から書換型のディスク1の空き領域を示す情報を取得して、その空き領域を記録領域として割り当てる。ここで、記録領域割当部711は、再生時にAVデータが滑らかな再生が可能となるように、割り当てる領域のサイズ及び領域間の物理的な距離を考慮して、領域割当てを行う。
【0143】
(ステップ803)上位制御装置710のスキップ記録命令発行部716は、記録領域割当部711が割り当てた領域の位置情報を取得し、ディスク記録再生ドライブ720に対してスキップ記録命令である”SKIP WRITE”コマンドを発行する。この時スキップ記録命令発行部716は、”SKIP WRITE”コマンドのパラメータとして記録領域割当部711によって割り当てられた領域の位置情報と記録するサイズ情報とを指定する。さらに、”SKIP WRITE”コマンドに続いて、本コマンドで指定したサイズのデータがデータバッファメモリ714からディスク記録再生ドライブ720に転送される。
【0144】
図23Aおよび図23Bは、”SKIP WRITE”コマンドのフォーマットの例を示す。
【0145】
図23Aは、一度のコマンド発行で、割り当てられた領域と記録するデータサイズの両方を指定することができる”SKIP WRITE”コマンドのフォーマットの例を示す。バイト0には、”SKIP WRITE”コマンドであることを表明する固有の命令コードが格納される。バイト2〜5には、割り当てる領域の先頭セクタを示す論理セクタ番号が格納される、バイト6〜7には、記録するデータサイズに相当するセクタ数が格納される。バイト8〜9には、割り当てる領域サイズに相当するセクタ数が格納される。
【0146】
図23Bは、複数回のコマンド発行で、割り当てられた領域と記録するデータサイズとを指定することができる”SKIP WRITE”コマンドのフォーマットの例を示す。バイト0には、”SKIP WRITE”コマンドであることを表明する固有の命令コードが格納される。バイト1のビット0には、操作オプションが設けられている。操作オプションが1であることは割り当てられた領域を指定することを示す。操作オプションが0であることは記録するデータサイズを指定することを示す。操作オプションが1の場合、バイト2〜5には、割り当てる領域の先頭セクタを示す論理セクタ番号が格納され、バイト7〜8には、割り当てる領域サイズに相当するセクタ数が格納される。操作オプションが0の場合、バイト7〜8には、記録するデータサイズに相当するセクタ数が格納される。
【0147】
なお、図23Aおよび図23Bに示されるコマンドのフォーマットは、”SKIP WRITE”コマンドのフォーマットの一例にすぎない。割り当てられた領域の位置情報と記録するデータのサイズ情報とを指定することができる限り、”SKIP WRITE”コマンドは任意のフォーマットを採用し得る。
【0148】
(ステップ804)上位制御装置710から発行された”SKIP WRITE”コマンドを受取ったディスク記録再生ドライブ720のスキップ記録命令処理部722は、記録制御情報メモリ735と記録位置格納メモリ733とを”SKIP WRITE”コマンドに従って初期化し、スキップ記録制御部732を起動する。スキップ記録制御部732は、欠陥領域検出部731を用いて記録中の欠陥ブロック(新たに発見したものやSDLに登録済みのもの)を検出しながら、記録データ格納メモリ736からのデータをディスク1の欠陥ブロックでないブロックに記録する。欠陥ブロックが検出される毎に、記録制御情報メモリ735のスキップ可能ブロック数は1つ減じられ、記録位置格納用メモリ733に欠陥ブロックの位置が格納される。ブロックの記録に成功する毎に、記録制御情報メモリ735の記録完了ブロック数は1つ増やされる。スキップ可能ブロック数が0未満になる前に、要求されたブロック分の記録が完了すれば、正常終了となる。また、記録後に再生されたデータを検査することを指定された場合は、欠陥領域検出部731が検出した欠陥ブロックに加え、データ検査部734が検出した欠陥ブロックがスキップの対象となる。
【0149】
以上のように、スキップ記録制御部732は、記録中に検出された欠陥領域をスキップするとともに、そのスキップした位置情報を格納しながら、全てのデータを正常に記録するまで記録動作を続行する。
【0150】
(ステップ805)スキップ記録処理を実行したディスク記録再生ドライブ720は、終了ステータスを上位制御装置710に返送する。
【0151】
(ステップ806)上位制御装置710の記録位置要求命令発行部717は、ステップ804のスキップ記録処理においてスキップされた欠陥領域の位置情報を問い合わせる”REPORT SKIPPED ADDRESS”コマンドをディスク記録再生ドライブ720に発行する。
【0152】
図24Aは、”REPORT SKIPPED ADDRESS”コマンドのフォーマットの例を示す。バイト0には、”REPORT SKIPPED ADDRESS”コマンドであることを表明する固有の命令コードが格納される。バイト7〜8には、報告されるデータのサイズの上限値が格納される。
【0153】
図24Bは、”REPORT SKIPPED ADDRESS”コマンドに応答して報告されるデータのフォーマットの例を示す。バイト0〜1には、報告される位置情報の個数が格納される。バイト4以降の各4バイトには、スキップされた欠陥領域の位置情報が格納される。
【0154】
なお、図24Aに示されるコマンドおよび図24Bに示されるデータのフォーマットは、一例にすぎない。スキップされた欠陥領域の位置情報を問い合わせることができる限り、これらのコマンドまたはデータは任意のフォーマットを採用し得る。
【0155】
(ステップ812)スキップ位置記録部737は、ステップ804におけるスキップ記録処理中に記録位置格納メモリ733に格納された欠陥領域の位置情報をSDLのエントリとして登録する。このようにして、欠陥管理情報が更新される。
【0156】
(ステップ807)”REPORT SKIPPED ADDRESS”コマンドを受領したディスク記録再生ドライブ720の記録位置要求命令処理部723は、ステップ804におけるスキップ記録処理中に記録位置格納メモリ733に格納された欠陥領域の位置情報をスキップアドレスデータとして返送する。
【0157】
(ステップ808)スキップアドレスデータを受領した上位制御装置710のファイル管理情報作成部712は、ファイル管理情報を作成する。ここで、ファイル管理情報作成部712は、スキップアドレスデータによって示されるスキップされた領域以外の領域にデータが記録されたと判定してAVファイルのファイルエントリを作成し、記録されたと判定した領域に対応する未使用空間管理情報のビットを1(使用済み)に設定する。さらに、ファイル管理情報作成部712は、ステップ807において返送されたスキップアドレスデータからスキップされた領域を特定し、スキップされた領域に対応する未使用空間管理情報のビットを0(未使用)に設定する。また、ファイル管理情報作成部712は、ファイルのエクステントの終端がECCブロック途中となっている場合は、当該ECCブロックの残りの領域をパディングエクステントとして登録する。この時、パディングエクステントのエクステントタイプをパディングエクステントを意味する1に設定し、パディングエクステントに相当する未使用空間管理情報のビットを1(使用済み)に設定する。その後、ファイル管理情報作成部712は、作成されたファイル管理情報を書換型のディスク1に記録するために、そのファイル管理情報をデータバッファメモリ714に格納する。
【0158】
(ステップ809)上位制御装置710はデータバッファメモリ714に格納されたファイル管理情報を記録するためにディスク記録再生ドライブ720に従来の記録方法で記録することを要求する”WRITE”コマンドを発行する。ここで、”WRITE”コマンドのパラメータとして記録を開始するLSNと記録するセクタ数とが指定される。
【0159】
(ステップ810)ディスク記録再生ドライブ720は”WRITE”コマンドを受領し、従来どおりの記録方法に従ってファイル管理情報をディスク1に記録する。また、”WRITE”コマンドによる記録動作において検出された欠陥領域は、従来の交替方法によって交替処理が行われる。
【0160】
(ステップ811)ディスク記録再生ドライブ720は、”WRITE”コマンドによって指定された全てのデータ記録が完了すれば、終了ステータスを上位制御装置710に返送する。
【0161】
なお、ステップ812の実行は、ステップ804の直後に行ってもよいし、ステップ811が終了してから所定時間以上、上位制御装置710からの要求がないときに行ってもよい。
【0162】
以上のように、ディスク記録再生ドライブ720は、リアルタイム性を要求されるAVデータをディスク1に記録する際に欠陥領域を検出し、その欠陥領域をスキップする。スキップされた欠陥領域には交替領域は割り当てられない。スキップされた欠陥領域の位置が書換型のディスク1の欠陥管理情報領域4bに記録される。
【0163】
次に、図7に示される情報記録再生システム700を用いて、ディスク1に記録されたAVデータを含むファイルを再生する再生方法を説明する。
【0164】
図9は、その再生方法の各ステップを示す。
【0165】
図9において、参照番号91は上位制御装置710によって実行される処理を示し、参照番号92はディスク記録再生ドライブ720によって実行される処理を示し、参照番号93は、上位制御装置710とディスク記録再生ドライブ720との間のI/Fプロトコルにおける命令、データ、処理結果の流れを示す。
【0166】
(ステップ901)ディスク記録再生ドライブ720は、書換型のディスク1の装着時および欠陥管理情報の更新時に、スキップ位置読込部747を用いて書換型のディスク1上の欠陥管理情報を読み出し、再生位置格納メモリ743に格納する。
【0167】
(ステップ902)上位制御装置710の記録領域割当部711は、ステップ802において以前に割り当てたAVデータ記録領域を再生領域として割り当てる。
【0168】
(ステップ903)上位制御装置710のスキップ再生命令発行部718は、ステップ902において割り当てた領域の位置情報を取得し、ディスク記録再生ドライブ720に対してスキップ再生命令である”SKIP READ”コマンドを発行する。スキップ再生命令発行部718は、”SKIP READ”コマンドのパラメータとして、ステップ902において割り当てられた領域の位置情報と再生するサイズ情報とを指定する。さらに、”SKIP READ”コマンドに続いて、本コマンドで指定したサイズのデータがディスク記録再生ドライブ720からデータバッファメモリ714に転送される(ステップ905)。
【0169】
”SKIP READ”コマンドは、”SKIP WRITE”コマンドと同様に定義できる。例えば、図23Aと図23Bのフォーマットにおけるバイト0に”SKIP READ”コマンドであることを表明する固有の命令コードを設定すればよい。なお、これは、”SKIP READ”コマンドのフォーマットの一例である。割り当てられた領域の位置情報と再生するデータのサイズ情報とを指定することができる限り、”SKIP READ”コマンドは、任意のフォーマットを採用し得る。
【0170】
(ステップ904)上位制御装置710から発行された”SKIP READ”コマンドを受取ったディスク記録再生ドライブ720のスキップ再生命令処理部724は、再生制御情報メモリ745を”SKIP READ”コマンドに従って初期化して、スキップ再生制御部742を起動する。スキップ再生制御部742は、再生位置格納メモリ743を参照しながら、ディスク1の欠陥ブロックでないブロックを再生し、読出データ格納メモリ746にデータを格納する。ブロックの再生に成功する毎に、再生制御情報メモリ745の再生完了ブロック数は1つ増やされる。要求されたブロック分の再生が完了すれば、正常終了となる。
【0171】
(ステップ905)ステップ904において、読出データ格納メモリ746に格納されたAVデータが上位制御装置710に転送される。
【0172】
(ステップ906)受領したAVデータは、AVデータ出力部760に転送される。AVデータ出力部760は、入力されたデータをアナログ映像/音声信号に変換して出力する。
【0173】
(ステップ907)スキップ再生処理を実行したディスク記録再生ドライブ720は、終了ステータスを上位制御装置710に返送する。
【0174】
以上のように、ディスク記録再生ドライブ720は、リアルタイム性を要求されるAVデータを再生する場合には、欠陥管理情報を参照することにより、書換型のディスク1上の欠陥領域をスキップしながらAVデータを再生することができる。
【0175】
(実施の形態3)
以下、実施の形態1で説明したディスク1に情報を記録し、または、ディスク1に記録された情報を再生する情報記録再生システムの一実施の形態を図面を参照しながら説明する。
【0176】
図10は、本発明の実施の形態3のディスク記録再生ドライブ1020の構成を示すブロック図である。ディスク記録再生ドライブ1020は、I/Oバス780を介して、図7に示される上位制御装置710に接続されている。
【0177】
ディスク記録再生ドライブ1020は、制御プログラムや演算用メモリを内蔵するマイクロプロセッサを含む。ディスク記録再生ドライブ1020は、マイクロプロセッサで制御される機構部や信号処理回路などで構成され、上位制御装置710からの命令を処理する命令処理部1021と、書換型のディスク1への記録時の制御を行う記録制御部1030と、書換型のディスク1からの再生時の制御を行う再生制御部1040と、欠陥ブロックとその交替ブロックとの情報を格納する交替情報格納メモリ1050と、記録および再生データを一時的に格納するデータバッファ1060とを機能的に備えている。
【0178】
命令処理部1021は、スキップ記録を行わない通常の記録命令の処理を行う記録命令処理部1022と、スキップ再生を行わない通常の再生命令の処理を行う再生命令処理部1024とを含む。
【0179】
記録制御部1030は、記録データをセクタ単位からECCブロック単位に変換するデータ合成部1031と、ECCブロック単位のデータを書換型のディスク1に記録するブロック記録部1032と、欠陥ブロックを交替するスペアブロックを割り当てる交替割当部1033と、交替情報格納メモリ1050の内容を書換ディスク上のSDLに記録するSDL更新部1034と、ECC端数検査部1035とを含む。
【0180】
再生制御部1040は、データバッファ1060の一部を0に書き換える0データ埋め部1041と、ECCブロック単位のデータを書換型ディスクから再生するブロック再生部1042と、書換型のディスク1上のSDLから再生した内容を交替情報格納メモリ1050に格納するSDL読込部1043と、ECC端数補正部1044とを含む。
【0181】
次に、図10に示されるディスク記録再生ドライブ1020を用いて、ディスク1に記録されたリアルタイムデータでない通常のコンピュータデータを再生する再生方法を説明する。
【0182】
図11は、その再生方法の各ステップを示す。
【0183】
図11において、参照番号111は上位制御装置710によって実行される処理を示し、参照番号112はディスク記録再生ドライブ1020によって実行される処理を示し、参照番号113は、上位制御装置710とディスク記録再生ドライブ1020との間のI/Fプロトコルにおける命令、データ、処理結果の流れを示す。なお、ディスク記録再生ドライブ1020による再生処理の詳細は後述するので、ここでは簡単な説明に留める。
【0184】
(ステップ1101)ディスク記録再生ドライブ1020は、書換型のディスク1の装着時および欠陥管理情報の更新時に、SDL読込部1043を用いて書換型のディスク1上の欠陥管理情報を読み出し、交替情報格納メモリ1050に格納する。
【0185】
(ステップ1102)上位制御装置710は、ファイル構造を解析して、コンピュータデータが格納されている領域の位置を求める。
【0186】
(ステップ1103)上位制御装置710は、ステップ1102において求められた領域の位置を示す情報を取得し、ディスク記録再生ドライブ1020に対して通常の再生命令である”READ”コマンドを発行する。
【0187】
(ステップ1104)”READ”コマンドを受取ったディスク記録再生ドライブ1020の再生命令処理部1024は、指定されたデータを書換型のディスク1から読み出し、上位制御装置710にデータを転送し(ステップ1105)、要求された全てのデータの転送が終われば、終了ステータスを返送する(ステップ1107)。
【0188】
(ステップ1106)I/Fプロトコルを介して転送された再生データは、上位制御装置710のデータバッファメモリ714に格納される。
【0189】
I/Fプロトコルを介して終了ステータスを上位制御装置710が受け取ると、データバッファメモリ714に格納されたデータは、コンピュータデータとして利用される。
【0190】
図12は、ディスク記録再生ドライブ1020によって実行される再生処理(図11のステップ1104)の手順を示すフローチャートである。
【0191】
再生が要求される領域は、セクタ単位に指定される。ECC端数補正部1044が、再生を要求された領域を含むECCブロックを求める(ステップ1201)。ここで、再生が要求される領域の先頭セクタのLSNをSとし、再生が要求される領域のセクタ数をNとし、ECCブロックを構成するセクタ数をEすると、ECCブロックを考慮して再生が必要な領域の先頭セクタのLSN(S_ECC)および再生が必要な領域のセクタ数(N_ECC)は、次の式により求めることができる。
【0192】
S_ECC = 〔S÷E〕×E
N_ECC = 〔(S+N+E−1)÷E〕×E − S_ECC
ここで、〔α〕はαを超えない最大の整数を示す。
【0193】
再生が必要な全てのブロックをデータバッファ1060に格納し終えていない場合には(ステップ1202)、SDLが参照される(ステップ1203)。その結果、再生しようとするブロックが欠陥ブロックとしてSDLに登録されていない場合には処理はステップ1204に進み、再生しようとするブロックが交替先のスペアブロックが割り当てられた欠陥ブロックとしてSDLに登録されている場合には処理はステップ1205に進み、再生しようとするブロックが交替先のスペアブロックが割り当てられていない欠陥ブロックとしてSDLに登録されている場合には処理はステップ1206に進む。
【0194】
ステップ1204では、再生しようとしたブロックが再生される。ステップ1205では、再生しようとしたブロックの代わりに交替先のスペアブロックが再生される。ステップ1206では、0データ埋め部1041が、ディスク1からデータを再生する代わりに0で埋められたECCブロックを生成する。0で埋められたECCブロックは、例えば、データバッファ1060の所定の領域を0で埋めることによって生成される。
【0195】
再生が必要な全てのブロックをデータバッファ1060に格納し終えた場合には(ステップ1202)、データバッファ1060に格納されたデータが上位制御装置710に転送され(ステップ1207)、処理が終了する。
【0196】
なお、交替先のスペアブロックが割り当てられていない欠陥ブロックとしてSDLに登録されている場合に、その欠陥ブロックの再生データとして0で埋められたECCブロックを生成する代わりに、再生エラーと即座に判断して、上位制御装置710にエラーを報告するようにしてもよい。上位制御装置710は、再生エラーが報告されると、当該ブロックに対して記録を命令する。これにより、後述する交替処理が行われる。その結果、論理ボリューム空間において欠陥ブロックは再生可能なスペアブロックに交替される。
【0197】
以上のように、ディスク記録再生ドライブ1020は、交替先のスペアブロックが割り当てられていない欠陥ブロックに対して再生が要求されると、再生エラーを報告することなく、0で埋められたデータを再生データとして返送する。あるいは、交替先のスペアブロックが割り当てられていない欠陥ブロックに対して再生が要求されると、失敗するであろう無駄な再生動作に時間を費やさずに、再生エラーを報告するようにしてもよい。
【0198】
リアルタイムデータでない通常のコンピュータデータをディスク1に記録する記録方法の各ステップは、図11の”READ”コマンドの替わりに”WRITE”コマンドが発行され、再生データの転送の替わりに記録データが逆方向に転送されることを除いて、図11に示される再生方法の各ステップとほぼ同じである。
【0199】
図13は、ディスク記録再生ドライブ1020によって実行される記録処理の手順を示すフローチャートである。
【0200】
ディスク記録再生ドライブ1020は、記録しようとするデータを上位制御装置710から受け取り、データバッファ1060に格納する(ステップ1301)。
【0201】
記録が要求される領域は、セクタ単位に指定される。ECC端数検査部1035は、記録が要求された領域を包含するECCブロックを決定する。
【0202】
さらに、ECC端数検査部1035は、ECCブロックの端数があれば、その端数に対するバッファリング処理を行う。そのバッファリング処理は、図12に示される破線で囲まれたステップ1202〜ステップ1206によって達成される。
【0203】
記録が要求された領域の先頭セクタがECCブロックの先頭セクタでない場合(すなわち、S≠S_ECCの場合)には(ステップ1303)、その先頭セクタを含むECCブロックのバッファリング処理が行われる(ステップ1304)。 記録が要求された領域の最終セクタがECCブロックの最終セクタでない場合(すなわち、S+N≠S_ECC+N_ECCの場合)には(ステップ1305)、その最終セクタを含むECCブロックのバッファリング処理が行われる(ステップ1306)。
【0204】
データ合成部1031は、ステップ1301において得られたデータとステップ1303〜1306において得られたデータとを合成する。その結果、記録されるべき全てのECCブロックに対応する記録データがデータバッファ1060内に生成される(ステップ1307)。
【0205】
記録が必要なブロックをまだ書換型のディスク1に記録し終えていない場合には(ステップ1308)、SDLが参照される(ステップ1309)。その結果、記録しようとするブロックが欠陥ブロックとしてSDLに登録されていない場合には処理はステップ1310に進み、記録しようとするブロックが交替先のスペアブロックが割り当てられた欠陥ブロックとしてSDLに登録されている場合には処理はステップ1312に進み、記録しようとするブロックが交替先のスペアブロックが割り当てられていない欠陥ブロックとしてSDLに登録されている場合には処理はステップ1311に進む。
【0206】
ステップ1310では、記録しようとしたブロックにデータが記録される。ステップ1312では、記録しようとしたブロックの代わりに交替先のスペアブロックにデータが記録される。ステップ1311では、交替割当部1033は、交替先のスペアブロックを欠陥ブロックに割り当てる。その後、その交替先のスペアブロックにデータが記録される(ステップ1312)。
【0207】
ここで、ステップ1311において欠陥ブロックに交替先のスペアブロックを割り当てる方法には、2種類の方法がある。図1C〜図1Eを参照して説明したように、欠陥ブロックに対して以前に交替ブロックが割り当てられていたか否かは、交替ブロックの位置を格納するためのフィールド22cの値によって区別することができる。その欠陥ブロックに対して以前に割り当てられていた交替ブロックが無い(例えば、フィールド22cの値が0である)場合には、その欠陥ブロックにまだ利用されていないスペアブロックが新たに割り当てられる。その欠陥ブロックに対して以前に割り当てられていた交替ブロックが有る(例えば、フィールド22cに以前に割り当てられていた交替ブロックのアドレスが記載されている)場合には、その欠陥ブロックに対して以前に割り当てられていた交替ブロックと同一の交替ブロックが再びその欠陥ブロックに割り当てられる。
【0208】
記録が必要なブロックを書換型のディスク1に記録し終えた場合には(ステップ1308)、SDLの更新が必要か否かが判定される(ステップ1313)。例えば、処理1311において欠陥ブロックに対して交替先のスペアブロックを新たに割り当てた場合には、SDLの更新が必要である。SDLの更新が必要な場合には、SDLが更新され(ステップ1314)、処理が終了する。
【0209】
以上のように、ディスク記録再生ドライブ1020は、交替先のスペアブロックが割り当てられていない欠陥ブロックにデータを記録することが要求されると、その欠陥ブロックに交替先のスペアブロックが割り当てられた後に、そのデータが交替先のスペアブロックに記録される。このように、記録データはECCブロック単位でディスク1に記録される。ECCブロックの端数の調整は、例えば、その端数を0で埋めることによって行われる。
【0210】
(実施の形態4)
以下、実施の形態1で説明したディスク1に情報を記録し、または、ディスク1に記録された情報を再生する情報記録再生システムの一実施の形態を図面を参照しながら説明する。
【0211】
図14は、本発明の実施の形態4のディスク記録再生ドライブ1420の構成を示すブロック図である。ディスク記録再生ドライブ1420は、I/Oバス780を介して図7で示される上位制御装置710に接続される。図14において、図10と同一の構成要素には同一の参照番号を付し、その詳細な説明を省略する。
【0212】
ディスク記録再生ドライブ1420は、上位制御装置710からの命令を処理する命令処理部1021と、書換型のディスク1への記録時の制御を行う記録制御部1430と、書換型のディスク1からの再生時の制御を行う再生制御部1440と、欠陥ブロックとその交替ブロックとの情報を格納する交替情報格納メモリ1050と、記録および再生データを一時的に格納するデータバッファ1060とを機能的に備えている。
【0213】
記録制御部1430は、実施の形態3で説明した記録制御部1030の構成要素に加えて、利用可能なスペアブロックの残量を求めるスペア残量検出部1437を備えている。
【0214】
再生制御部1440は、実施の形態3で説明した再生制御部1040と比べて、0データ埋め部1041を削除し、書換型のディスク1に記録されたデータをセクタ単位に再生するセクタ再生部1441を加えた構成を有している。
【0215】
リアルタイムデータでない通常のコンピュータデータを再生する各ステップは、実施の形態3で説明したもの(図11)と同一なので割愛する。
【0216】
図15は、ディスク記録再生ドライブ1420によって実行される再生処理の手順を示すフローチャートである。図15に示される手順が図12に示される手順と異なる点は、再生しようとするECCブロックが、交替先のスペアブロックが割り当てられていない欠陥ブロックとしてSDLに登録されている場合に(ステップ1503)、セクタ再生部1441が、その再生しようとするECCブロックに含まれる複数のセクタのそれぞれに対して、セクタ単位の再生処理を行う(ステップ1507)点である。
【0217】
図22Cを参照しながら、セクタ単位の再生処理を説明する。内符号パリティPIは、1行毎に(横方向に)誤り訂正符号を計算しているので、内符号パリティPIをセクタ単位に切り分けてもメインデータと正しく対応する(すなわち、図22Cにおいて、メインデータの領域と内符号パリティPIの領域とでは斜線の方向が一致している)。このため、外符号パリティPOを使わないために誤り訂正能力は低くなるが、内符号パリティPIを用いて誤りを訂正することができる。例えば、不良IDのためにセクタの切れ目でデータの記録が中止した場合には、内符号パリティPIのみを用いた場合でもその誤りを高い確率で訂正することができる。
【0218】
以上のように、ディスク記録再生ドライブ1420は、交替先のスペアブロックが割り当てられていない欠陥ブロックに対しても、欠陥ブロック中の上書きされたセクタの正しいデータを返送し、欠陥ブロック中の上書きされなかったセクタの過去のデータを返送する。
【0219】
図16は、ディスク記録再生ドライブ1420によって実行される記録処理の手順を示すフローチャートである。図16に示される手順が図13に示される手順と異なる点は、書換型のディスク1にデータをブロック単位で記録することに失敗した場合にその記録が失敗したブロックを欠陥ブロックとしてSDLに登録する点と、欠陥ブロックに交替先のスペアブロックを割り当てる前に利用可能なスペアブロックが無ければエラー終了する点である。
【0220】
ディスク記録再生ドライブ1420は、記録しようとするデータを上位制御装置710から受け取り、データバッファ1060に格納する(ステップ1601)。
【0221】
記録が要求される領域は、セクタ単位に指定される。記録が要求された領域を包含する領域がECCブロック単位に求められる(ステップ1602)。
【0222】
ECCブロックの端数があれば、その端数に対するバッファリング処理が行われる。そのバッファリング処理は、図15に示される破線で囲まれたステップ1502〜ステップ1506によって達成される。
【0223】
ステップ1601のデータとステップ1603〜1606のデータとを合成することにより、記録に必要な全てのECCブロック分の記録データがデータバッファ1060内に生成される(ステップ1607)。
【0224】
記録が必要なブロックをまだ書換型のディスク1に記録し終えていない場合には(ステップ1608)、SDLが参照される(ステップ1609)。その結果、記録しようとするブロックが欠陥ブロックとしてSDLに登録されていない場合には処理はステップ1610に進み、記録しようとするブロックが交替先のスペアブロックが割り当てられた欠陥ブロックとしてSDLに登録されている場合には処理はステップ1612に進み、記録しようとするブロックが交替先のスペアブロックが割り当てられていない欠陥ブロックとしてSDLに登録されている場合には処理はステップ1615に進む。
【0225】
ステップ1610では、記録しようとしたブロックにデータが記録される。ステップ1612では、記録しようとしたブロックの代わりに交替先のスペアブロックにデータが記録される。ステップ1615では、スペア残量検出部1437が、スペア領域において利用可能なスペアブロックが存在するか否かを判定する。スペア領域において利用可能なスペアブロックが存在する場合には、記録しようとしたブロックに交替先のスペアブロックが割り当てられ(ステップ1611)、その交替先のスペアブロックにデータが記録される(ステップ1612)。
【0226】
ステップ1610またはステップ1612において、書換型のディスク1にデータをブロック単位で記録することに失敗した場合には(ステップ1616)、その記録に失敗したブロックは欠陥ブロックとしてSDLに登録され(ステップ1617)、その記録をやり直すために処理はステップ1609に戻る。
【0227】
記録が必要なブロックを書換型のディスク1に記録し終えた場合(ステップ1608)またはスペア領域において利用可能なスペアブロックが存在しない場合(ステップ1615)には、SDLの更新が必要か否かが判定される(ステップ1613)。例えば、ステップ1611において欠陥ブロックに対して交替先のスペアブロックを新たに割り当てた場合には、SDLの更新が必要である。また、ステップ1617において検出された欠陥ブロックをSDLに新たに登録した場合にも、SDLの更新が必要である。SDLの更新が必要な場合には、SDLが更新され(ステップ1614)、処理が終了する。
【0228】
ここで、全ブロックの記録完了(ステップ1608)によってここに到達した場合は正常終了と判断され、スペア枯渇(ステップ1615)によってここに到達した場合はエラー終了と判断される。
【0229】
以上のように、ディスク記録再生ドライブ1420は、交替先として利用可能なスペアブロックがなくても、検出した欠陥ブロックは必ず欠陥管理情報領域に登録する。また、ディスク記録再生ドライブ1420は、交替先のスペアブロックが割り当てられていない欠陥ブロックにデータを記録することが要求されると、そのドライブは、上位制御装置から受け取った記録データと、記録を途中でやめてしまった欠陥ブロック中の上書きされたセクタからの正しいデータおよび上書きされなかったセクタからの過去のデータとを合成することができる。このように合成された記録データは、ECCブロック単位でディスク1に記録される。
【0230】
なお、実施の形態2および実施の形態3および実施の形態4において、I/Fプロトコルで渡されるパラメータを、領域の開始位置とサイズ等としたが、四則演算すれば同じ情報を得られるパラメータであっても構わないことは明白である。また、上位制御装置とディスク記録再生ドライブとの間のデータ転送と、ディスク記録再生ドライブと書換型のディスクとの間のデータ転送とは、シーケンシャルに行っても良いし、同時並行に行ってもよい。また、上位制御装置とディスク記録再生ドライブとを一体で構成する場合には、パラメータの引渡しに共有メモリ等を使って実現できることは明白である。
【0231】
【発明の効果】
本発明の情報記録媒体によれば、欠陥領域が交替領域に交替されているか否かを示す状態情報を含む欠陥管理情報が欠陥管理情報領域に記録されている。この状態情報を用いて、欠陥領域は検出されているが、その欠陥領域が交替領域に交替されていないという状態を管理することが可能になる。
【0232】
リアルタイム性が要求されるデータ(例えば、AVデータ)を情報記録媒体に記録する際に欠陥領域が検出された場合には、その欠陥領域はスキップされる。その欠陥領域の位置とその欠陥領域が交替領域に交替されていないことを示す状態情報とが欠陥管理情報領域に書き込まれる。その欠陥領域にリアルタイム性が要求されないデータ(例えば、AVデータ以外のデータ)を記録することが要求された場合には、リード・モディファイド・ライトを行うことなく、その欠陥領域に交替領域が割り当てられる。これにより、要求された記録を成功させることができる。さらに、その欠陥領域にデータを記録することを実際に要求されるまでは、その欠陥領域に交替領域が割り当てられない。このことは、交替領域が無駄に消費されないという利点を提供する。
【0233】
スペア領域が拡張可能な領域である場合には、そのスペア領域に含まれる利用可能な交替領域が一時的に不足することが起こり得る。スペア領域に含まれる利用可能な交替領域の一時的な不足により、検出された欠陥領域に交替領域を割り当てることができない場合には、その欠陥領域の位置とその欠陥領域が交替領域に交替されていないことを示す状態情報とが欠陥管理情報領域に書き込まれる。スペア領域が拡張されて利用可能な交替領域が確保された後、その欠陥領域に交替領域が割り当てられる。その交替領域の位置は、欠陥管理情報領域に書き込まれる。
【0234】
本発明の情報記録方法および情報記録装置によれば、欠陥領域が交替領域に交替されているか否かを示す状態情報を含む欠陥管理情報が欠陥管理情報領域に記録される。これにより、上述した効果と同様の効果が得られる。
【0235】
本発明の情報再生装置によれば、状態情報を参照することにより欠陥領域が交替領域に交替されているか否かが判定され、その判定結果に応じてユーザデータの再生が制御される。これにより、欠陥領域が交替領域に交替されていない場合でも、ユーザデータを再生することができる。
【0236】
交替領域が割り当てられていない欠陥領域に対して再生が要求された場合には、その欠陥領域をスキップしながらユーザデータを再生するようにしてもよい。あるいは、その欠陥領域を再生することによって得られた再生データとして固定値を有するデータ(例えば、0で埋められたデータ)を出力するようにしてもよい。あるいは、複数セクタにまたがる誤り訂正符号による訂正をせずに、複数セクタにまたがらない(すなわち、1つのセクタ内の)誤り訂正符号による訂正だけを実行して、訂正されたデータを再生するようにしてもよい。
【図面の簡単な説明】
【図1A】本発明の実施の形態1の情報記録媒体であるディスク1の物理空間の構造を示す図である。
【図1B】図1Aに示されるSDL13の構造を示す図である。
【図1C】SDL13におけるSDLエントリ22の構造を示す図である。
【図1D】SDL13におけるSDLエントリ22の他の構造を示す図である。
【図1E】SDL13におけるSDLエントリ22の他の構造を示す図である。
【図2】AVデータを内容として含むファイルAをディスク1に記録した場合における、ディスク1の物理空間の例を示す図である。
【図3】AVデータを内容として含むファイルAをディスク1に記録した後に、AVデータ以外のデータを内容として含むファイルBをディスク1に記録した場合における、ディスク1の物理空間の例を示す図である。
【図4】スペア領域に含まれる利用可能な交替領域が一時的に枯渇(不足)した場合における、ディスク1の物理空間の例を示す図である。
【図5】第2スペア領域8を拡張した後にファイルCの記録をやり直した場合における、ディスク1の物理空間の例を示す図である。
【図6】AVデータをディスク1に記録し、または、ディスク1に記録されたAVデータを再生する原理を示す概念図である。
【図7】本発明の実施の形態2の情報記録再生システム700の構成を示すブロック図である。
【図8】情報記録再生システム700を用いて、AVデータを含むファイルをディスク1に記録する記録方法の手順を示す図である。
【図9】情報記録再生システム700を用いて、ディスク1に記録されたAVデータを含むファイルを再生する再生方法の手順を示す図である。
【図10】本発明の実施の形態3のディスク記録再生ドライブ1020の構成を示すブロック図である。
【図11】ディスク記録再生ドライブ1020を用いて、ディスク1に記録されたリアルタイムデータでない通常のコンピュータデータを再生する再生方法の手順を示す図である。
【図12】ディスク記録再生ドライブ1020によって実行される再生処理の手順を示すフローチャートである。
【図13】ディスク記録再生ドライブ1020によって実行される記録処理の手順を示すフローチャートである。
【図14】本発明の実施の形態4のディスク記録再生ドライブ1420の構成を示すブロック図である。
【図15】ディスク記録再生ドライブ1420によって実行される再生処理の手順を示すフローチャートである。
【図16】ディスク記録再生ドライブ1420によって実行される記録処理の手順を示すフローチャートである。
【図17】ディスク1の物理構造を示す図である。
【図18A】誤り訂正符号の計算単位であるECCブロックの構成を示す図である。
【図18B】ECCブロックに含まれるセクタの構成を示す図である。
【図19】ISO規格の欠陥管理方法におけるディスク1の物理空間の例を示す図である。
【図20A】欠陥セクタがない場合のAVデータの配置図である。
【図20B】欠陥セクタがある場合のAVデータの配置図である。
【図21】AVデータの記録再生におけるディスク1の物理空間の例を示す図である。
【図22A】正常に記録されたECCブロックを示す図である。
【図22B】上書きに失敗したECCブロックを示す図である。
【図22C】上書きに失敗したECCブロックの再生データの構造を示す図である。
【図23A】”SKIP WRITE”コマンドのフォーマットの例を示す図である。
【図23B】”SKIP WRITE”コマンドのフォーマットの他の例を示す図である。
【図24A】”REPORT SKIPPED ADDRESS”コマンドのフォーマットの例を示す図である。
【図24B】”REPORT SKIPPED ADDRESS”コマンドに応答して報告されるデータのフォーマットの例を示す図である。
【符号の説明】
1 ディスク
2 トラック
3 セクタ
4 ディスク情報領域
4a 制御データ領域
4b 欠陥管理情報領域
5 データ記録領域
6 ボリューム空間
6a 論理ボリューム空間
6b ボリューム構造
7 第1スペア領域
8 第2スペア領域
10 欠陥管理情報
11 ディスク定義構造
12 1次欠陥リスト(PDL)
13 2次欠陥リスト(SDL)
700 情報記録再生システム
710 上位制御装置
720、1020、1420 ディスク記録再生ドライブ
780 I/Oバス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information recording medium, an information recording method, an information recording apparatus, and an information reproducing apparatus.
[0002]
[Prior art]
There is an optical disc as an information recording medium having a sector structure. In recent years, higher density and larger capacity have been promoted, and ensuring reliability is important. In order to ensure this reliability, the optical disk apparatus performs defect management in which a sector that cannot be recorded on and reproduced from the disk (referred to as a defective sector) is replaced with another sector in good condition. For such defect management, ISO / IEC10090 (hereinafter abbreviated as ISO standard) is published by the International Organization for Standardization (ISO) for 90 mm optical disks.
[0003]
Hereinafter, as one of the background arts, an ECC block adopted in the DVD standard and a defect management method of the ISO standard will be briefly described.
[0004]
FIG. 17 shows the physical structure of the disk 1. A plurality of tracks 2 are formed concentrically or spirally on the disk-shaped disk 1. Each of the plurality of tracks 2 is divided into a plurality of sectors 3. The area of the disk 1 includes one or more disk information areas 4 and a data recording area 5.
[0005]
The disk information area 4 stores parameters necessary for accessing the disk 1. In the example shown in FIG. 17, the disc information areas 4 are provided on the innermost and outermost sides of the disc 1, respectively. The innermost disk information area 4 is also referred to as a lead-in area. The outermost disk information area 4 is also referred to as a lead-out area.
[0006]
Data recording / reproduction is performed on the data recording area 5. Each sector 3 in the data recording area 5 is assigned in advance an absolute address called a physical sector number.
[0007]
FIG. 18A shows the configuration of an ECC block that is a calculation unit of an error correction code. The ECC block includes main data arranged in 172 bytes × 48 rows, an inner code parity PI for which an error correction code is calculated for each row (horizontal direction), and an error for each column (vertically). And the outer code parity PO for which the correction code is calculated.
[0008]
An error correction method using an inner code parity and an outer code parity is generally called an error correction method using a product code. The error correction method using a product code is an error correction method that is strong against both random errors and burst errors (locally concentrated errors). For example, let us consider a case where a burst error of two lines occurs due to a scratch in addition to a random error. Most burst errors can be corrected because they are mostly 2-byte errors from the outer code. A sequence in which a lot of random errors exist cannot be corrected by the outer code, and an error remains, but the remaining error can be corrected by the inner code in most cases. Even if an error remains due to the inner code, the error can be further reduced by correcting again with the outer code. In DVD, such a product code is adopted, so that sufficient correction capability is realized while suppressing redundancy of parity. In other words, the capacity of user data can be increased by reducing the parity redundancy.
[0009]
In a larger capacity DVD, one ECC block is composed of 16 sectors in order to achieve both high error correction capability and low redundancy. However, in FIG. 18A, for convenience, it is assumed that an ECC block is composed of four sectors.
[0010]
FIG. 18B shows the configuration of the sectors included in the ECC block. The outer code parity of the ECC block is divided into a plurality of rows and is equally distributed to each sector. As a result, one recording sector is composed of data of 182 bytes × 13 rows.
[0011]
A host control device (generally a host computer) issues a recording or playback command to the optical disk device in units of sectors. When instructed to reproduce a certain sector, the optical disk apparatus reproduces an ECC block including the sector from the disk, performs error correction, and then returns only the data portion corresponding to the designated sector. When instructed to record a certain sector, the optical disk apparatus reproduces an ECC block including the sector from the disk, performs error correction, and then receives a data portion corresponding to the designated sector from the host controller. The error correction code is recalculated and appended for the ECC block, and the ECC block including the sector is recorded on the disk. In particular, such a recording operation is called a read modified write.
[0012]
In the following description, the block means the ECC block described above.
[0013]
FIG. 19 shows an example of the physical space of the disk 1 in the ISO standard defect management method. The data recording area 5 includes a volume space 6 and a spare area 9.
[0014]
The volume space 6 is managed by continuous addresses called logical sector numbers. The volume space 6 includes a logical volume space 6a and a volume structure 6b indicating the structure of the logical volume space 6a.
[0015]
The spare area 9 includes at least one sector that can be used in place of the defective sector when a defective sector occurs in the volume space 6.
[0016]
In the example shown in FIG. 19, a file A (shown as “File-A” in FIG. 19) exists immediately under the root directory (shown as “ROOT” in FIG. 19). Of the data blocks a to c included in the data extent of the root directory, the data block c is a defective block. The defective block c is replaced by the # 1 spare block in the spare area 9. Of the data blocks d to g included in the data extent of the file A, the data block f is a defective block. The defective block f is replaced by the # 2 spare block in the spare area 9.
[0017]
The replacement relationship between the defective block and the spare block in the spare area 9 is registered in a secondary defect list (SDL). The SDL is stored in the defect management information area as part of the defect management information.
[0018]
Furthermore, recently, there is a movement to use a rewritable optical disk as a bare disk without a cartridge, which is cheaper like a read-only optical disk. From the viewpoint of defect management, a bare disk is likely to have a fingerprint, so there is a concern that the number of defective sectors will increase more than expected. Therefore, a technique for dynamically expanding a spare area that has been fixed in the past has been studied.
[0019]
Subsequently, with the increase in capacity of optical disks and the practical application of moving image compression technology, applications for recording and reproducing moving images on optical disks have been developed. There is a problem with the conventional defect management method for applications that require real-time performance such as moving images. In other words, if the defective sector is replaced with a spare sector that is physically separated, it takes extra time to move the optical head, and real-time performance cannot be guaranteed. Therefore, a defect management method that replaces the method of replacing with a spare sector at a position away from the defective sector has been studied.
[0020]
Hereinafter, as a second background art, a method for recording and reproducing AV data (that is, audio-video data) being studied will be described.
[0021]
20A and 20B are layout diagrams of AV data on a disc in recording / reproducing AV data. In FIGS. 20A and 20B, the letter h indicates a hexadecimal number.
[0022]
FIG. 20A is a layout diagram of AV data when there is no defective sector. If there is no defective sector, AV data from # 1 data to # 4 data can be recorded in sectors having consecutive logical sector numbers (LSN). Further, AV data can be reproduced by reproducing sectors having consecutive logical sector numbers.
[0023]
FIG. 20B is a layout diagram of AV data when there is a defective sector. FIG. 20B shows an example in which 16 sectors with logical sector numbers n to n + 0Fh are detected as defective sectors during data recording. In this case, the ECC block including the detected defective sector is skipped. As a result, # 3 data and # 4 data are recorded in sectors with logical sector numbers n + 10h to n + 1Fh and sectors with logical sector numbers n + 20h to n + 2Fh, respectively. Such skip operation in units of ECC blocks is called block skip.
[0024]
FIG. 21 shows an example of the physical space of the disc 1 in recording / reproducing AV data.
[0025]
In the example shown in FIG. 21, a file A (shown as “File-A” in FIG. 21) that includes AV data immediately below the root directory (shown as “ROOT” in FIG. 21). Exists. Of the data blocks a to c included in the data extent of the root directory, the data block c is a defective block. The defective block c is replaced by the # 1 spare block in the spare area 9. Assume that a defective block f is detected in an area where the AV data extent of file A is to be recorded. In this case, the defective block f is skipped. As a result, the AV data extent of file A is divided into AV data extent I including data block d and data block e, and AV data extent II including data block g and data block h.
[0026]
The fact that the defective block c is replaced with the # 1 spare block in the spare area 9 is registered in the SDL. However, the defective block f is not registered in the SDL. This is because the defective block f is only skipped, and no spare block is assigned to the defective block f and is not replaced.
[0027]
Hereinafter, with reference to FIG. 22A to FIG. 22C, a problem that there is a defective block that is not registered in the SDL will be described.
[0028]
FIG. 22A shows an ECC block recorded normally. The ECC block is recorded over a plurality of sectors. Each sector starts with an ID in which a physical sector number or the like is described. Data is recorded in the area following this ID. The data is obtained by adding an error correction code to the main data and further interleaving the main data to which the error correction code is added (see FIG. 18).
[0029]
FIG. 22B shows an ECC block that has failed to be overwritten. When new data is overwritten on the ECC block shown in FIG. 22A, an error correction code corresponding to the new main data is added. In the example shown in FIG. 22B, since the ID of the third sector is a bad ID, up to the first two sectors are rewritten with new ECC block data, and the remaining two sectors are data of the old ECC block. It remains.
[0030]
FIG. 22C shows the structure of the reproduction data of the ECC block whose overwrite has failed. When the four sectors shown in FIG. 22B are reproduced, two data are mixed. In FIG. 22C, the two data are displayed so that the directions of the oblique lines are different. This means that error correction always fails in the vertical direction using the outer code parity PO.
[0031]
As can be seen from the above description, a block that has failed to be recorded even once is a block that cannot be reproduced. In order to record data in some sectors of this block, a read modified write operation is required. However, a read modified write operation on a block that cannot be reproduced always fails. Therefore, this block cannot be recorded again. This block is also a block that cannot be replaced later. This is because data to be moved to the replacement block cannot be reproduced from this block in the same manner as in the read-modify-write operation.
[0032]
[Problems to be solved by the invention]
If an attempt is made to incorporate a dynamically expandable spare area method into the ISO standard defect management method for a fixed size spare area, the spare area is temporarily depleted (that is, not possible in the past). There is no spare area available. A method for managing defective blocks detected when the spare area is temporarily depleted has not been studied. Since the read-modify-write operation for a defective block that has not been managed fails, there is a problem in that data cannot be recorded in the defective block in units of sectors.
[0033]
Even when AV data is recorded / reproduced on / from a disc, the read / modify / write operation for the skipped defective block fails. Therefore, there was the same problem as the problem described above.
[0034]
In view of the above problems, the present invention manages a defective block even when a spare block to be replaced does not exist, and reduces the probability that the read / modify / write operation fails, thereby improving the reliability of the information recording medium, An object is to provide an information recording method, an information recording apparatus, and an information reproducing apparatus.
[0035]
[Means for Solving the Problems]
  The information recording medium of the present invention includes a volume space in which user data is recorded, a spare area including a replacement area that can be used in place of the defect area included in the volume space, and defect management for managing the defect area. An information recording medium comprising a defect management information area in which information is recorded, wherein the defect management information isIt further includes first position information indicating the position of the defective area, and second position information regarding the position of the replacement area, and the second position information is a value indicating whether the value indicates the position of the replacement area. Based on whether a predetermined value indicating that there is no destination, indicates whether the defective area has been replaced by the replacement area,As a result, the above object is achieved.
[0036]
  The information recording method of the present invention includes a volume space in which user data is recorded, a spare area including a replacement area that can be used in place of the defect area included in the volume space, and defect management for managing the defect area. An information recording method for recording information on an information recording medium including a defect management information area in which information is recorded, wherein the defect management information includes first position information indicating a position of the defect area and the replacement area. Second position information related to a position, and the information recording method includes a step of detecting the defect area and a step of recording the second position information in the defect management information area. Whether or not the defective area has been replaced with the replacement area based on whether the value is a value indicating the position of the replacement area or a predetermined value indicating that there is no replacement destination Shown, thereby the objective described above being achieved.
[0037]
  An information recording apparatus according to the present invention includes a volume space in which user data is recorded, a spare area including a replacement area that can be used in place of the defect area included in the volume space, and defect management for managing the defect area. An information recording apparatus for recording information on an information recording medium including a defect management information area in which information is recorded, wherein the defect management information includes first position information indicating a position of the defect area and the replacement area. The information recording apparatus includes a detection unit that detects the defect area, and a recording unit that records the second position information regarding the position of the replacement area in the defect management information area. The second position information is replaced with the replacement area based on whether the value is a value indicating the position of the replacement area or a predetermined value indicating that there is no replacement destination. Indicates whether an, thereby the objective described above being achieved.
[0038]
  The information reproducing apparatus according to the present invention includes a volume space in which user data is recorded, a spare area including a replacement area that can be used in place of the defective area included in the volume space, and defect management for managing the defective area. An information reproducing apparatus for reproducing information recorded on an information recording medium including a defect management information area in which information is recorded, wherein the defect management information includes first position information indicating a position of the defect area, A determination unit that determines whether or not the defective area has been replaced with the replacement area by referring to the second position information; and second position information relating to a position of the replacement area. And a control unit that controls reproduction of the user data according to the determination result, and the control unit is configured to control the defect data when the defective area is not replaced with the replacement area. Skip reproduction areas, thereby the objective described above being achieved.
[0057]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0058]
(Embodiment 1)
The disc 1 is a disc-like rewritable information recording medium. As the disk 1, any information recording medium including a DVD-RAM can be used. Data can be recorded on the disc 1. Data recorded on the disc 1 can be reproduced. Data recording / reproduction is performed in units of sectors or blocks.
[0059]
The physical structure of the disk 1 is the same as that shown in FIG. Therefore, the description thereof is omitted here.
[0060]
FIG. 1A shows the structure of the physical space of the disk 1. The area of the disk 1 includes one or more disk information areas 4 and a data recording area 5. In the example shown in FIG. 1, the disc information areas 4 are provided on the innermost and outermost sides of the disc 1, respectively. The innermost disk information area 4 is also referred to as a lead-in area. The outermost disk information area 4 is also referred to as a lead-out area.
[0061]
Data recording / reproduction is performed on the data recording area 5. All sectors in the data recording area 5 are pre-assigned absolute addresses called physical sector numbers (hereinafter abbreviated as PSN).
[0062]
The data recording area 5 includes a volume space 6 and a first spare area 7.
[0063]
The volume space 6 is an area prepared for storing user data. In order to access the volume space 6, a logical sector number (hereinafter abbreviated as LSN) is assigned to each sector included in the volume space 6. Data is recorded and reproduced by accessing the sector of the disk 1 using the LSN.
[0064]
The first spare area 7 includes at least one sector that can be used in place of the defective sector when a defective sector occurs in the volume space 6. The first spare area 7 is arranged on the inner circumference side of the disk 1 from the volume space 6. This is because, when a defective sector occurs in an area for storing file management information (such as unused space management information and a root directory file entry), the defective sector replacement process is performed at high speed. The file management information is stored in the vicinity of the sector to which the logical sector number “0” is assigned. Therefore, by arranging the first spare area 7 on the inner circumference side of the disk 1 with respect to the volume space 6, the seek distance between the defective sector and the replacement sector can be reduced. This speeds up the replacement process of defective sectors. The frequency at which file management information is accessed is high, and high data reliability is required for file management information. Therefore, it is extremely useful to perform the replacement process of defective sectors generated in the area for storing the file management information at high speed.
[0065]
The volume space 6 includes a logical volume space 6a and a volume structure 6b indicating the structure of the logical volume space 6a. In the logical volume space 6a, unused space management information indicating whether the sector of the logical volume space 6a is used or unused, one or more data extents storing the contents of the file, and one or more corresponding to the file And a file entry in which the data extents are registered are stored. Files are managed using these pieces of information.
[0066]
The disc information area 4 includes a control data area 4a and a defect management information area 4b. The defect management information area 4b stores defect management information 10 for managing defective sectors.
[0067]
The defect management information 10 includes a disk definition structure 11, a primary defect list (hereinafter abbreviated as PDL) 12, and a secondary defect list (hereinafter abbreviated as SDL) 13. .
[0068]
The PDL 12 is used for managing defective sectors detected in the inspection at the time of shipment of the disk 1. The inspection at the time of shipment of the disk 1 is usually performed by the manufacturer of the disk 1.
[0069]
The SDL 13 is used to manage defective sectors detected while the user is using the disk 1.
[0070]
FIG. 1B shows the structure of SDL13.
[0071]
The SDL 13 includes a secondary defect list header (SDL header) 20 including an identifier indicating SDL, information (SDL entry number information) 21 indicating the number of SDL entries 22 registered in the SDL, and one or more SDL entry 22 (in the example shown in FIG. 1B, the first entry to the m-th entry). Note that the value of the SDL entry number information 21 being zero indicates that there is no defective sector registered in the SDL.
[0072]
FIG. 1C shows the structure of the SDL entry 22.
[0073]
The SDL entry 22 includes a status field 22a, a field 22b for storing information indicating the position of the defective sector, and a field 22c for storing information indicating the position of the replacement sector to be replaced with the defective sector.
[0074]
The status field 22a is used to indicate whether the defective sector has been replaced with a replacement sector. The position of the defective sector is expressed by, for example, the physical sector number of the defective sector. The position of the replacement sector is expressed by, for example, the physical sector number of the replacement sector.
[0075]
For example, the status field 22a may include a 1-bit flag 22a-1 and a reserved area 22a-2. For example, the value of the flag 22a-1 being 1 indicates that the defective sector has not been replaced with a replacement sector. The value of the flag 22a-1 being 0 indicates that the defective sector has been replaced with a replacement sector.
[0076]
Alternatively, the status field 22a may include a 1-bit depletion flag 22a-3, a 1-bit AV flag 22a-4, and a reserved area 22a-5 (see FIG. 1D). Each of the exhaustion flag 22a-3 and the AV flag 22a-4 is a flag indicating a factor that a defective sector is not replaced with a replacement sector. For example, the value of the depletion flag 22a-3 being 1 indicates that the defective sector has not been replaced by the replacement sector because the first spare area 7 has been exhausted. For example, when the value of the AV flag 22a-4 is 1, since the detected defective sector is a defective sector detected while the AV data is recorded on the disk 1, the defective sector becomes a replacement sector. Indicates that it has not been replaced.
[0077]
Alternatively, instead of providing the status field 22a, a predetermined state indicating that there is no replacement destination (that is, the defective sector has not been replaced with a replacement sector) in the field 22c for storing information indicating the position of the replacement sector. May be inserted (see FIG. 1E). The predetermined value is, for example, 0.
[0078]
The format of the SDL entry 22 shown in FIGS. 1C to 1E is an example, and the format of the SDL entry 22 is not limited to these. As long as the SDL includes status information indicating whether the defective sector has been replaced with a replacement sector, the SDL entry 22 can take any format.
[0079]
For example, when the value of the state field 22a is 1, the number of identifiable states can be increased by setting the value of the field 22c to a predetermined value. For example, the value of the field 22c being set to 0 indicates that a newly detected defective sector has not been replaced with a replacement sector, and no replacement sector has been assigned. For example, if the value of the field 22c is set to a value other than 0, the previously detected defective sector has been replaced with the replacement sector specified by the field 22c, but the replacement has been canceled. Show.
[0080]
Furthermore, in the above description, defect management is performed in units of sectors. However, defect management may be performed in units of blocks including a plurality of sectors. In this case, instead of the information indicating the position of the defective sector, information indicating the position of the defective block (for example, the physical sector number of the leading sector of the defective block) is registered in the SDL, and the information indicating the position of the replacement sector is stored. Instead, information indicating the position of the replacement block (for example, the physical sector number of the first sector of the replacement block) may be registered in the SDL. It is also possible to perform defect management in units of ECC blocks that are units for performing error correction.
[0081]
As described above, the defect area is detected by storing in the defect management information area the state information indicating whether or not the defect area (defective sector or defective block) has been replaced with the replacement area (replacement sector or replacement block). However, it is possible to manage a state in which the defective area is not replaced with the replacement area.
[0082]
FIG. 2 shows an example of the physical space of the disk 1 when a file A containing AV data as contents is recorded on the disk 1.
[0083]
In the example shown in FIG. 2, a file A (shown as “File-A” in FIG. 2) exists immediately under the root directory (shown as “ROOT” in FIG. 2). Of the data blocks a to c included in the data extent of the root directory, the data block c is a defective block. The defective block c is replaced by the # 1 spare block in the first spare area 7. Assume that a defective block f is detected in an area where the AV data extent of file A is to be recorded. In this case, the defective block f is skipped. As a result, the AV data extent of file A is AV data extent I (File-A) including data block d and data block e, and AV data extent II (File-A) including data block g and data block h. And divided.
[0084]
The first SDL entry 22 in the SDL 13 indicates that the defective block c has been replaced with the # 1 spare block in the first spare area 7.
[0085]
The second SDL entry 22 in the SDL 13 is detected when the AV data is recorded on the disc 1 and indicates that the skipped defective block f is not replaced with a replacement block.
[0086]
FIG. 3 shows an example of the physical space of the disk 1 when the file A including contents other than AV data is recorded on the disk 1 after the file A including AV data is recorded on the disk 1.
[0087]
In the example shown in FIG. 3, the defective block f is designated as the location where the data extent of file B is recorded. As a result, the defective block f is replaced with the # 2 spare block in the first spare area 7. Along with this replacement process, the value of the status field 22a of the second SDL entry 22 of the SDL 13 is updated from 1 to 0, and information indicating the position of the # 2 spare block is stored in the field 22c.
[0088]
Here, it is assumed that the data extent size of file B is equal to the size of one block. The configuration information of the data extent of file B is described in the file entry of file B. The LSN corresponding to the file B is described as used in the unused space management information. File B is registered in the data extent of the root directory.
[0089]
If the optical disk apparatus tries to record data in some sectors of the defective block f without knowing that the defective block f is a defective block that failed to record AV data, the above does not occur. The reason is as follows. The optical disc apparatus performs a read modified write operation so as not to change data of other sectors belonging to the same ECC block as the sector requested to be recorded. The optical disc apparatus tries to reproduce data in the read-modify-write operation, but always fails. As a result, the ECC unit data necessary for recording in the spare block cannot be obtained, and the replacement process cannot be performed.
[0090]
If the optical disk apparatus knows that the defective block f is a defective block that has failed to record AV data, it can be determined that no valid user data is recorded in the defective block f. This is because since it is important to record AV data in real time, it is required that AV data be recorded on the disk 1 in units of ECC blocks. In other words, it is not required to rewrite only a part of the ECC block. Therefore, it is not necessary to perform a read-modified-write operation for changing the data of other sectors belonging to the same ECC block as the sector requested to be recorded for the skipped defective block. Therefore, it is possible to generate an ECC block by filling the data of other sectors with 0, and to record the ECC block in the spare block to be replaced.
[0091]
FIG. 4 shows an example of the physical space of the disk 1 when the available replacement area included in the spare area is temporarily depleted (insufficient).
[0092]
Compared to the physical space example shown in FIG. 2, an expandable second spare area 8 is allocated to the data recording area 5. With the allocation of the second spare area 8, the size of the volume space 6 and the size of the logical volume space 6a are reduced by the size of the second spare area 8. Prior to the allocation of the second spare area 8, the volume structure 6 b arranged on the outer peripheral side of the disk 1 is moved in the inner peripheral direction of the disk 1. The size of the unused space management information is adjusted according to the size of the logical volume space 6a.
[0093]
In the example shown in FIG. 4, a file A (shown as “File-A” in FIG. 4) and a file B (shown in FIG. 4) are directly under the root directory (shown as “ROOT” in FIG. 4). And “File-B”) and a file C being recorded (shown as “File-C” in FIG. 4).
[0094]
The data block c included in the data extent of the root directory is a defective block. The defective block c is replaced by the # 1 spare block in the first spare area 7.
[0095]
Data block f included in the data extent of file A is a defective block. The defective block f is replaced by the # 2 spare block in the first spare area 7.
[0096]
Data block h and data block j included in the data extent of file B are defective blocks. The defective block h and the defective block j are replaced by a # 3 spare block and a # 4 spare block in the second spare area 8, respectively. The data block m to be recorded as the data extent of the file C is detected as a defective block during recording, but there is no spare block available in the first spare area 7 and the second spare area 8. It was. For this reason, the file C is in an incomplete state.
[0097]
A field 23 for storing information indicating the position of the second spare area 8 is added to the SDL 13 as compared with the structure of the SDL 13 shown in FIG. 1B. As information indicating the position of the second spare area 8, for example, the physical sector number of the head sector of the second spare area 8 is stored in the field 23. The field 23 is provided for dynamically expanding the second spare area 8.
[0098]
The first SDL entry 22 in the SDL 13 indicates that the defective block c has been replaced with the # 1 spare block in the first spare area 7.
[0099]
The second SDL entry 22 in the SDL 13 indicates that the defective block f has been replaced with the # 2 spare block in the first spare area 7.
[0100]
The third SDL entry 22 in the SDL 13 indicates that the defective block h has been replaced with the # 3 spare block in the second spare area 8.
[0101]
The fourth SDL entry 22 in the SDL 13 indicates that the defective block j has been replaced with the # 4 spare block in the second spare area 8.
[0102]
The fifth SDL entry 22 of the SDL 13 indicates that the defective block m has not been replaced with a spare block.
[0103]
FIG. 5 shows an example of the physical space of the disk 1 when the file C is recorded again after the second spare area 8 is expanded.
[0104]
As shown in FIG. 5, the second spare area 8 is expanded. The size of the volume space 6 and the size of the logical volume space 6a are reduced by the amount of expansion of the second spare area 8.
[0105]
Prior to the expansion of the second spare area 8, the volume structure 6 b arranged on the outer peripheral side of the disk 1 is moved in the inner peripheral direction of the disk 1. The size of the unused space management information is adjusted according to the size of the logical volume space 6a.
[0106]
The data block m included in the data extent of the file C is replaced by the # 5 spare block in the expanded second spare area 8. The data extent of file C is composed of three data blocks l, m, and n. The configuration information of the data extent of file C is described in the file entry of file C. The LSN corresponding to the file C is described as used in the unused space management information. File C is registered in the data extent of the root directory.
[0107]
The fifth SDL entry 22 in the SDL 13 indicates that the data block m has been replaced with the # 5 spare block in the extended second spare area 8.
[0108]
Unlike the case where the attempt to record AV data fails, if the attempt to record data other than AV data fails, there may be valid user data in the defective block. Therefore, the process of recovering such a defective block is somewhat more complicated than when the defective block does not contain valid user data.
[0109]
Assume that the optical disk apparatus is requested to record data in a sector included in a defective block (ECC block) to which no replacement block is assigned. In this case, the optical disk apparatus reproduces data using only the inner code parity PI (see FIG. 22C) independent for each sector for each of the other sectors in the ECC block including the sector, and reproduces the data. Read / write operation is performed using the read data.
[0110]
As described above, since the outer code parity PO is not used, the error correction capability is lowered. However, if the error is within a range that can be corrected by the inner code parity PI, the error can be corrected.
[0111]
Note that only when there is no valid user data in the defective block, when a defective block to which no replacement block is assigned is registered in the SDL, the process of recovering the defective block tries to record the AV data described above. It is the same as the processing in case of failure.
[0112]
As described above, when a defective area is detected when data (for example, AV data) requiring real-time property is recorded on the disc 1, the data is not recorded in the defective area (that is, the data The defective area is skipped). The position of the defect area is written in the defect management information area 4b of the disk 1. In addition, status information indicating that the defective area has not been replaced with the replacement area is written in the defect management information area 4b of the disk 1. When it is required to record data that does not require real-time property in the defective area (for example, data other than AV data), the defective area is replaced with a replacement area without performing a read-modify-write operation. Is done. The position of the replacement area is written in the defect management information area 4b of the disk 1.
[0113]
In this way, by avoiding a read-modify-write operation that is known to always fail in advance, by replacing the defective area with a replacement area, it is possible to record data that does not require real-time characteristics in the replacement area. Can be successful.
[0114]
Further, a replacement area is not assigned to the defective area until it is actually requested to record data in the defective area. This provides the advantage that the spare area is not wasted.
[0115]
In addition, when the spare area is an expandable area, there is a possibility that the available replacement area included in the spare area is temporarily insufficient. If the replacement area cannot be allocated to the detected defect area due to a temporary shortage of the available replacement area included in the spare area, the position of the defect area is stored in the defect management information area 4b of the disk 1. Written. In addition, since no replacement area is assigned to the defect area, status information indicating that the replacement area is not replaced is written in the defect management information area 4 b of the disk 1. After the spare area is expanded and an available replacement area is secured, a replacement area is assigned to the defective area and is replaced therewith. The position of the replacement area is written in the defect management information area 4b of the disk 1.
[0116]
In the information recording medium described above, the replacement area is not allocated to the defective area when the defective area is detected, but the defective data is recorded when valid data is recorded in the logical volume space corresponding to the defective area. A replacement area is assigned to the area. Such an information recording medium has an advantage in that the spare area can be used effectively.
[0117]
The advantage of effectively using the spare area does not depend on the configuration of the error correction code that requires the read-modify-write operation.
[0118]
(Embodiment 2)
Hereinafter, an embodiment of an information recording / reproducing system for recording information on the disc 1 described in the first embodiment or reproducing information recorded on the disc 1 will be described with reference to the drawings.
[0119]
FIG. 6 is a conceptual diagram showing the principle of recording AV data on the disc 1 or reproducing the AV data recorded on the disc 1.
[0120]
When AV data is recorded on the disc 1, unused space management information in the logical volume space 6a is referred to. Based on the unused space management information, an unused area in the logical volume space 6a is searched. The number of blocks in a continuously unused area is required to satisfy the condition that it is larger than the number of blocks necessary for AV data to be recorded by a predetermined number or more. Here, the predetermined number corresponds to the number of blocks that can be skipped. If an unused area that satisfies the condition is found as a result of the search, the AV data is allocated to the unused area.
[0121]
In the example shown in FIG. 6, the AV data 63 is allocated to the unused area 62 included in the area 61. The area 61 is a partial area of the logical volume space 6a. Unused area 62 is block B1~ Block BTenIt is composed of
[0122]
The parameter of the skip recording command is generated based on the size of the unused area 62 (that is, the allocated area) to which the AV data 63 is allocated and the size of the AV data 63 (that is, the AV data size).
[0123]
Reference numeral 65 indicates a recording operation when the skip recording command is executed.
[0124]
A defective block is detected when the AV data 63 is recorded in the unused area 62. The AV data 63 is recorded in the unused area 62 while skipping the detected defective block. In the example shown in FIG.FourAnd block B7Are defective blocks. Therefore, a part of the AV data 63 is a block B.1~ BThreeThe other part of the AV data 63 is recorded in the block B.Five~ B6The remaining part of the AV data 63 is recorded in block B.8~ B9To be recorded. Following the AV data 63, padding data 64 is block B.9To be recorded. The padding data 64 is arranged so that the end of the padding data 64 coincides with the block boundary. As a result of recording operation, block B1~ BThree, BFive~ B6And B8~ B9Becomes used. Block BFour, B7And BTenIs unused.
[0125]
Defective block BFour, B7Are stored in the defect list 66a. The contents of the defect list 66a are written to the SDL 13 stored in the defect management information area 4b on the disk 1 at an appropriate timing, and are reported to the file system as a skip list 66b as necessary. The file system determines from the reported skip list 66b the position of the AV data extent 66c indicating the area in which the AV data 63 is recorded, and the fraction of the ECC block (that is, in the ECC block in which AV data is partially recorded). Then, the position of the padding extent 66d indicating the sector in which AV data is not recorded is obtained, and the file management information is updated.
[0126]
The parameters of the skip playback command are the size of the allocation area and the AV data size.
[0127]
Reference numeral 67 indicates a playback operation when the skip playback command is executed.
[0128]
When reproducing the AV data 63 recorded on the disc 1, the SDL 13 is referred to. AV data 63 is reproduced while skipping defective blocks registered in the SDL.
[0129]
FIG. 7 is a block diagram showing a configuration of an information recording / reproducing system 700 according to Embodiment 2 of the present invention.
[0130]
As shown in FIG. 7, an information recording / reproducing system 700 includes a host controller 710 that controls the entire system, and a rewritable disc 1 (not shown in FIG. 7) in response to a command from the host controller 710. A disk recording / reproducing drive 720 that performs recording / reproducing control, a magnetic disk device 750, an AV data output unit 760 that converts digital AV data into an analog video / audio signal, and outputs the analog AV signal. An AV data input unit 770 for converting into digital AV data and an I / O bus 780 for transmitting and receiving data and control information are included.
[0131]
The host controller 710 includes a microprocessor that incorporates a control program and an arithmetic memory. The host control device 710 includes a recording area allocation unit 711 that allocates a recording area at the time of recording, a file management information creation unit 712 that creates file management information of the recorded file, a file recording position calculation from the file management information, It further includes a file management information interpreting unit 713 that determines attribute information, a data buffer memory 714 that temporarily stores data, and an instruction issuing unit 715 that issues an instruction to the disk recording / reproducing drive 720.
[0132]
The command issuing unit 715 returns a skip recording command issuing unit 716 that issues a skip recording command that requests recording while skipping a defective area, and returns recording position information that determines an area in which data is recorded after recording. It includes a recording position request command issuing unit 717 that issues a recording position request command to request, and a skip playback command issuing unit 718 that issues a skip playback command requesting playback while skipping a defective area.
[0133]
The disk recording / reproducing drive 720 includes a microprocessor having a control program and a calculation memory. The disk recording / reproducing drive 720 includes a mechanism section controlled by a microprocessor, a signal processing circuit, and the like. A recording control unit 730 that performs control and a reproduction control unit 740 that performs control during reproduction from the rewritable disc 1 are functionally provided.
[0134]
The command processing unit 721 includes a skip recording command processing unit 722 that processes a skip recording command, a recording position request command processing unit 723 that processes a recording position request command, and a skip playback command processing unit that processes a skip playback command. 724.
[0135]
The recording control unit 730 includes a defective area detection unit 731 that detects a defective area during recording, a skip recording control unit 732 that records while skipping the defective area detected during recording, and a recording that stores information regarding the position where the data is recorded. Stores a position storage memory 733, a data inspection unit 734 for checking whether or not data is normally recorded by reading data recorded after recording, and control information necessary for recording such as a recording start position and a recording length. A recording control information memory 735 for recording, a recording data storage memory 736 for temporarily storing recording data received from the host controller 710, and a skip position recording unit 737 for recording the defect area detected and skipped during recording in the defect management information. Including.
[0136]
The reproduction control unit 740 includes a reproduction position storage memory 743 that stores information related to a position where data is reproduced, a skip reproduction control unit 742 that performs reproduction while skipping a defective area with reference to the reproduction position storage memory 743, and a reproduction start position. Playback control information memory 745 for storing control information required for playback such as playback length, playback data storage memory 746 for temporarily storing data read from rewritable disc 1, and skip from defect management information A skip position reading unit 747 that reads the position of the defective area to be read into the reproduction position storage memory 743.
[0137]
Next, a recording method for recording a file containing AV data on the disc 1 using the information recording / reproducing system 700 shown in FIG. 7 will be described.
[0138]
FIG. 8 shows each step of the recording method.
[0139]
In FIG. 8, the file management information of the file (“AV_FILE”) recorded on the rewritable disc 1 is read when the disc 1 is inserted into the disc recording / reproducing drive 720, and is interpreted by the file management information interpreting unit 713. After that, it is assumed that it is held inside the host controller 710.
[0140]
Further, in FIG. 8, reference numeral 81 indicates processing executed by the host controller 710, reference numeral 82 indicates processing executed by the disk recording / reproducing drive 720, and reference numeral 83 indicates the host controller 710 and the disk. The flow of instructions, data, and processing results in the I / F protocol with the recording / reproducing drive 720 is shown.
[0141]
(Step 801) The host controller 710 controls the AV data input unit 770 to start an AV data receiving operation. At this time, AV data input from the AV data input unit 770 is converted into digital data by the AV data input unit 770, transferred via the I / O bus 780, and stored in the data buffer memory 714.
[0142]
(Step 802) Prior to recording AV data, the recording area allocation unit 711 of the host controller 710 obtains information indicating the free area of the rewritable disc 1 from the file management information interpretation unit 713, and the free area. Is assigned as a recording area. Here, the recording area allocation unit 711 performs area allocation in consideration of the size of the allocated area and the physical distance between the areas so that the AV data can be smoothly reproduced during reproduction.
[0143]
(Step 803) The skip recording command issuing unit 716 of the host control device 710 acquires the position information of the area allocated by the recording area allocating unit 711, and “SKIP WRITE” which is a skip recording command to the disk recording / reproducing drive 720. Issue a command. At this time, the skip recording command issuing unit 716 designates the position information of the area allocated by the recording area allocation unit 711 and the size information to be recorded as parameters of the “SKIP WRITE” command. Further, following the “SKIP WRITE” command, data of the size specified by this command is transferred from the data buffer memory 714 to the disk recording / reproducing drive 720.
[0144]
FIG. 23A and FIG. 23B show examples of the format of the “SKIP WRITE” command.
[0145]
FIG. 23A shows an example of the format of the “SKIP WRITE” command that can specify both the allocated area and the data size to be recorded by issuing a command once. Byte 0 stores a unique instruction code that asserts that it is a “SKIP WRITE” command. Bytes 2 to 5 store the logical sector number indicating the first sector of the area to be allocated, and bytes 6 to 7 store the number of sectors corresponding to the data size to be recorded. In bytes 8 to 9, the number of sectors corresponding to the allocated area size is stored.
[0146]
FIG. 23B shows an example of the format of the “SKIP WRITE” command that can specify the allocated area and the data size to be recorded by issuing the command multiple times. Byte 0 stores a unique instruction code that asserts that it is a “SKIP WRITE” command. An operation option is provided in bit 0 of byte 1. An operation option of 1 indicates that an allocated area is designated. An operation option of 0 indicates that the data size to be recorded is designated. When the operation option is 1, bytes 2 to 5 store the logical sector number indicating the first sector of the allocated area, and bytes 7 to 8 store the number of sectors corresponding to the allocated area size. When the operation option is 0, bytes 7 to 8 store the number of sectors corresponding to the data size to be recorded.
[0147]
Note that the format of the command shown in FIGS. 23A and 23B is merely an example of the format of the “SKIP WRITE” command. As long as the position information of the allocated area and the size information of data to be recorded can be designated, the “SKIP WRITE” command can adopt any format.
[0148]
(Step 804) Upon receiving the “SKIP WRITE” command issued from the host controller 710, the skip recording command processing unit 722 of the disk recording / reproducing drive 720 sets the recording control information memory 735 and the recording position storage memory 733 to “SKIP WRITE”. "Initialization is performed according to the command, and the skip recording control unit 732 is activated. The skip recording control unit 732 uses the defective area detection unit 731 to detect a defective block being recorded (newly discovered or registered in the SDL), while transferring data from the recording data storage memory 736 to the disk 1. Record in a block that is not a defective block. Each time a defective block is detected, the number of skippable blocks in the recording control information memory 735 is reduced by one, and the position of the defective block is stored in the recording position storage memory 733. Each time a block is successfully recorded, the number of recording completion blocks in the recording control information memory 735 is incremented by one. If the recording of the requested block is completed before the number of skippable blocks becomes less than 0, the process ends normally. In addition, when it is designated to inspect the data reproduced after recording, in addition to the defective block detected by the defective area detection unit 731, the defective block detected by the data inspection unit 734 is a target to be skipped.
[0149]
As described above, the skip recording control unit 732 skips the defective area detected during recording, and continues the recording operation until all data is normally recorded while storing the skipped position information.
[0150]
(Step 805) The disc recording / reproducing drive 720 that has executed the skip recording process returns an end status to the host controller 710.
[0151]
(Step 806) The recording position request command issuing unit 717 of the host controller 710 issues a “REPORT SKIPPED ADDRESS” command to the disc recording / reproducing drive 720 for inquiring the positional information of the defective area skipped in the skip recording process of Step 804. .
[0152]
FIG. 24A shows an example of the format of the “REPORT SKIPPED ADDRESS” command. Byte 0 stores a unique instruction code indicating that it is a “REPORT SKIPPED ADDRESS” command. Bytes 7 to 8 store the upper limit value of the size of data to be reported.
[0153]
FIG. 24B shows an example of the format of data reported in response to the “REPORT SKIPPED ADDRESS” command. Bytes 0 to 1 store the number of reported location information. In 4 bytes after byte 4, position information of the skipped defective area is stored.
[0154]
Note that the command format shown in FIG. 24A and the data format shown in FIG. 24B are merely examples. These commands or data can adopt any format as long as the location information of the skipped defect area can be queried.
[0155]
(Step 812) The skip position recording unit 737 registers the position information of the defective area stored in the recording position storage memory 733 during the skip recording process in step 804 as an SDL entry. In this way, the defect management information is updated.
[0156]
(Step 807) Upon receiving the “REPORT SKIPPED ADDRESS” command, the recording position request command processing unit 723 of the disk recording / reproducing drive 720 stores the position information of the defective area stored in the recording position storage memory 733 during the skip recording process in Step 804. Is returned as skip address data.
[0157]
(Step 808) Upon receiving the skip address data, the file management information creation unit 712 of the host control device 710 creates file management information. Here, the file management information creation unit 712 determines that data is recorded in an area other than the skipped area indicated by the skip address data, creates a file entry of the AV file, and corresponds to the area determined to be recorded. Set the unused space management information bit to 1 (used). Further, the file management information creation unit 712 identifies a skipped area from the skip address data returned in step 807, and sets the unused space management information bit corresponding to the skipped area to 0 (unused). To do. Further, when the end of the extent of the file is in the middle of the ECC block, the file management information creation unit 712 registers the remaining area of the ECC block as a padding extent. At this time, the extent type of the padding extent is set to 1, which means a padding extent, and the bit of unused space management information corresponding to the padding extent is set to 1 (used). Thereafter, the file management information creation unit 712 stores the file management information in the data buffer memory 714 in order to record the created file management information on the rewritable disc 1.
[0158]
(Step 809) In order to record the file management information stored in the data buffer memory 714, the host controller 710 issues a “WRITE” command for requesting recording to the disk recording / reproducing drive 720 by a conventional recording method. Here, the LSN for starting recording and the number of sectors to be recorded are designated as parameters of the “WRITE” command.
[0159]
(Step 810) The disc recording / reproducing drive 720 receives the “WRITE” command, and records the file management information on the disc 1 according to the conventional recording method. Further, the defective area detected in the recording operation by the “WRITE” command is subjected to a replacement process by a conventional replacement method.
[0160]
(Step 811) When all the data recording designated by the “WRITE” command is completed, the disc recording / reproducing drive 720 returns an end status to the host controller 710.
[0161]
The execution of step 812 may be performed immediately after step 804, or may be performed when there is no request from the host controller 710 for a predetermined time or more after step 811 is completed.
[0162]
As described above, the disk recording / reproducing drive 720 detects a defective area and skips the defective area when recording AV data requiring real-time performance on the disk 1. No replacement area is assigned to the skipped defect area. The position of the skipped defect area is recorded in the defect management information area 4b of the rewritable disc 1.
[0163]
Next, a reproducing method for reproducing a file including AV data recorded on the disc 1 using the information recording / reproducing system 700 shown in FIG. 7 will be described.
[0164]
FIG. 9 shows each step of the reproducing method.
[0165]
In FIG. 9, reference numeral 91 indicates processing executed by the host controller 710, reference numeral 92 indicates processing executed by the disk recording / reproducing drive 720, and reference numeral 93 indicates the host controller 710 and disk recording / reproducing. A flow of instructions, data, and processing results in the I / F protocol with the drive 720 is shown.
[0166]
(Step 901) When the rewritable disc 1 is mounted and when the defect management information is updated, the disc recording / reproducing drive 720 reads the defect management information on the rewritable disc 1 using the skip position reading unit 747, and reproduces the reproduction position. Store in the storage memory 743.
[0167]
(Step 902) The recording area allocating unit 711 of the host controller 710 allocates the AV data recording area previously allocated in Step 802 as a reproduction area.
[0168]
(Step 903) The skip playback command issuing unit 718 of the host controller 710 acquires the position information of the area allocated in step 902, and issues a “SKIP READ” command that is a skip playback command to the disk recording / playback drive 720. To do. The skip reproduction command issuing unit 718 designates the position information of the area allocated in step 902 and the size information to be reproduced as parameters of the “SKIP READ” command. Further, following the “SKIP READ” command, data of the size specified by this command is transferred from the disk recording / reproducing drive 720 to the data buffer memory 714 (step 905).
[0169]
The “SKIP READ” command can be defined in the same manner as the “SKIP WRITE” command. For example, a unique instruction code expressing that it is a “SKIP READ” command may be set in byte 0 in the formats of FIGS. 23A and 23B. This is an example of the format of the “SKIP READ” command. As long as the position information of the allocated area and the size information of the data to be reproduced can be designated, the “SKIP READ” command can adopt any format.
[0170]
(Step 904) Upon receiving the “SKIP READ” command issued from the host controller 710, the skip playback command processing unit 724 of the disk recording / playback drive 720 initializes the playback control information memory 745 according to the “SKIP READ” command. The skip reproduction control unit 742 is activated. The skip reproduction control unit 742 reproduces a block that is not a defective block on the disk 1 while referring to the reproduction position storage memory 743 and stores the data in the read data storage memory 746. Each time a block is successfully played back, the number of playback completion blocks in the playback control information memory 745 is incremented by one. When reproduction of the requested block is completed, the process ends normally.
[0171]
(Step 905) In step 904, the AV data stored in the read data storage memory 746 is transferred to the host controller 710.
[0172]
(Step 906) The received AV data is transferred to the AV data output unit 760. The AV data output unit 760 converts the input data into an analog video / audio signal and outputs it.
[0173]
(Step 907) The disc recording / reproducing drive 720 that has executed the skip reproducing process returns an end status to the host controller 710.
[0174]
As described above, the disc recording / reproducing drive 720 refers to the defect management information to reproduce the AV data that requires real-time performance while skipping the defective area on the rewritable disc 1. Data can be played back.
[0175]
(Embodiment 3)
Hereinafter, an embodiment of an information recording / reproducing system for recording information on the disc 1 described in the first embodiment or reproducing information recorded on the disc 1 will be described with reference to the drawings.
[0176]
FIG. 10 is a block diagram showing the configuration of the disk recording / reproducing drive 1020 according to the third embodiment of the present invention. The disc recording / reproducing drive 1020 is connected to the host controller 710 shown in FIG. 7 via the I / O bus 780.
[0177]
The disk recording / reproducing drive 1020 includes a microprocessor incorporating a control program and a calculation memory. The disk recording / reproducing drive 1020 is composed of a mechanism section controlled by a microprocessor, a signal processing circuit, and the like. A recording control unit 1030 that performs control, a reproduction control unit 1040 that performs control during reproduction from the rewritable disc 1, a replacement information storage memory 1050 that stores information on a defective block and its replacement block, and recording and playback A data buffer 1060 for temporarily storing data is functionally provided.
[0178]
The command processing unit 1021 includes a recording command processing unit 1022 that performs processing of a normal recording command that does not perform skip recording, and a playback command processing unit 1024 that performs processing of a normal playback command that does not perform skip reproduction.
[0179]
The recording control unit 1030 includes a data combining unit 1031 that converts recording data from sector units to ECC block units, a block recording unit 1032 that records data in ECC block units on the rewritable disc 1, and a spare that replaces defective blocks. A replacement allocation unit 1033 that allocates blocks, an SDL update unit 1034 that records the contents of the replacement information storage memory 1050 in the SDL on the rewritable disk, and an ECC fraction checking unit 1035 are included.
[0180]
The playback control unit 1040 includes a 0 data padding unit 1041 that rewrites a part of the data buffer 1060 to 0, a block playback unit 1042 that plays back data in units of ECC blocks from a rewritable disc, and SDL on the rewritable disc 1. An SDL reading unit 1043 that stores the reproduced content in the replacement information storage memory 1050 and an ECC fraction correction unit 1044 are included.
[0181]
Next, a reproducing method for reproducing normal computer data that is not real-time data recorded on the disk 1 using the disk recording / reproducing drive 1020 shown in FIG. 10 will be described.
[0182]
FIG. 11 shows the steps of the reproducing method.
[0183]
In FIG. 11, reference numeral 111 indicates processing executed by the host controller 710, reference numeral 112 indicates processing executed by the disk recording / reproducing drive 1020, and reference numeral 113 indicates the host controller 710 and disk recording / reproducing. A flow of instructions, data, and processing results in the I / F protocol with the drive 1020 is shown. The details of the playback process by the disk recording / playback drive 1020 will be described later, so only a brief description will be given here.
[0184]
(Step 1101) When the rewritable disc 1 is mounted and when the defect management information is updated, the disc recording / reproducing drive 1020 reads the defect management information on the rewritable disc 1 using the SDL reading unit 1043 and stores the replacement information. Store in the memory 1050.
[0185]
(Step 1102) The host controller 710 analyzes the file structure to determine the position of the area where the computer data is stored.
[0186]
(Step 1103) The host controller 710 obtains information indicating the position of the area obtained in Step 1102 and issues a “READ” command, which is a normal reproduction command, to the disk recording / reproducing drive 1020.
[0187]
(Step 1104) Upon receiving the “READ” command, the playback command processing unit 1024 of the disk recording / playback drive 1020 reads the designated data from the rewritable disk 1 and transfers the data to the host controller 710 (Step 1105). When the transfer of all requested data is completed, an end status is returned (step 1107).
[0188]
(Step 1106) The reproduction data transferred via the I / F protocol is stored in the data buffer memory 714 of the host controller 710.
[0189]
When the host controller 710 receives the end status via the I / F protocol, the data stored in the data buffer memory 714 is used as computer data.
[0190]
FIG. 12 is a flowchart showing the procedure of the reproduction process (step 1104 in FIG. 11) executed by the disk recording / reproduction drive 1020.
[0191]
The area for which reproduction is required is specified in units of sectors. The ECC fraction correction unit 1044 obtains an ECC block including an area requested for reproduction (step 1201). Here, if the LSN of the first sector of the area where reproduction is required is S, the number of sectors in the area where reproduction is required is N, and the number of sectors constituting the ECC block is E, reproduction is performed in consideration of the ECC block. The LSN (S_ECC) of the first sector of the necessary area and the number of sectors (N_ECC) of the area that needs to be reproduced can be obtained by the following equations.
[0192]
S_ECC = [S ÷ E] × E
N_ECC = [(S + N + E−1) ÷ E] × E−S_ECC
Here, [α] represents a maximum integer not exceeding α.
[0193]
If all the blocks that need to be reproduced have not been stored in the data buffer 1060 (step 1202), the SDL is referenced (step 1203). As a result, if the block to be reproduced is not registered in the SDL as a defective block, the process proceeds to step 1204, and the block to be reproduced is registered in the SDL as a defective block to which a spare block to be replaced is assigned. If so, the process proceeds to step 1205. If the block to be reproduced is registered in the SDL as a defective block to which no replacement spare block is assigned, the process proceeds to step 1206.
[0194]
In step 1204, the block to be reproduced is reproduced. In step 1205, the replacement spare block is reproduced instead of the block to be reproduced. In step 1206, the 0 data padding unit 1041 generates an ECC block padded with 0 instead of reproducing data from the disk 1. The ECC block filled with 0 is generated, for example, by filling a predetermined area of the data buffer 1060 with 0.
[0195]
When all the blocks that need to be reproduced have been stored in the data buffer 1060 (step 1202), the data stored in the data buffer 1060 is transferred to the host controller 710 (step 1207), and the process ends.
[0196]
When a replacement spare block is registered in the SDL as an unassigned defective block, it is immediately determined as a reproduction error instead of generating an ECC block filled with 0 as the reproduction data of the defective block. Then, an error may be reported to the host controller 710. When a reproduction error is reported, the host controller 710 instructs the block to record. Thereby, a replacement process described later is performed. As a result, the defective block is replaced with a reproducible spare block in the logical volume space.
[0197]
As described above, when the disk recording / reproducing drive 1020 is requested to reproduce a defective block to which no replacement spare block is assigned, the disk recording / reproducing drive 1020 reproduces the data filled with 0 without reporting a reproduction error. Send it back as data. Alternatively, when a reproduction is requested for a defective block to which a spare block to be replaced is not assigned, a reproduction error may be reported without spending time on a useless reproduction operation that would fail. .
[0198]
In each step of the recording method for recording normal computer data that is not real-time data on the disk 1, a “WRITE” command is issued in place of the “READ” command in FIG. 11, and the recording data is in the reverse direction instead of transferring the reproduction data. 11 is almost the same as each step of the reproduction method shown in FIG.
[0199]
FIG. 13 is a flowchart showing a procedure of recording processing executed by the disk recording / reproducing drive 1020.
[0200]
The disc recording / reproducing drive 1020 receives the data to be recorded from the host controller 710 and stores it in the data buffer 1060 (step 1301).
[0201]
The area where recording is required is specified in units of sectors. The ECC fraction inspection unit 1035 determines an ECC block including an area for which recording is requested.
[0202]
Furthermore, if there is a fraction of the ECC block, the ECC fraction checking unit 1035 performs buffering processing on the fraction. The buffering process is achieved by steps 1202 to 1206 surrounded by a broken line shown in FIG.
[0203]
When the head sector of the area requested to be recorded is not the head sector of the ECC block (that is, when S ≠ S_ECC) (step 1303), the buffering process of the ECC block including the head sector is performed (step 1304). ). If the last sector of the area requested to be recorded is not the last sector of the ECC block (that is, if S + N ≠ S_ECC + N_ECC) (step 1305), the ECC block including the last sector is buffered (step 1306). ).
[0204]
The data synthesis unit 1031 synthesizes the data obtained in step 1301 and the data obtained in steps 1303 to 1306. As a result, recording data corresponding to all ECC blocks to be recorded is generated in the data buffer 1060 (step 1307).
[0205]
If the blocks that need to be recorded have not yet been recorded on the rewritable disc 1 (step 1308), the SDL is referred to (step 1309). As a result, if the block to be recorded is not registered in the SDL as a defective block, the process proceeds to step 1310, and the block to be recorded is registered in the SDL as a defective block to which a spare block to be replaced is assigned. If YES in step 1312, the process advances to step 1312. If the block to be recorded is registered in the SDL as a defective block to which no replacement spare block is assigned, the process advances to step 1311.
[0206]
In step 1310, data is recorded in the block to be recorded. In step 1312, data is recorded in the replacement spare block instead of the block to be recorded. In step 1311, the replacement allocation unit 1033 allocates a replacement spare block to a defective block. Thereafter, data is recorded in the spare block of the replacement destination (step 1312).
[0207]
Here, there are two types of methods for assigning replacement spare blocks to defective blocks in step 1311. As described with reference to FIGS. 1C to 1E, whether or not a replacement block has been previously assigned to a defective block can be distinguished based on the value of the field 22c for storing the position of the replacement block. it can. If there is no replacement block previously assigned to the defective block (for example, the value of the field 22c is 0), a spare block not yet used for the defective block is newly assigned. If there is a replacement block previously assigned to the defective block (eg, the address of the replacement block previously assigned to field 22c is listed), A replacement block identical to the assigned replacement block is again assigned to the defective block.
[0208]
When the blocks that need to be recorded have been recorded on the rewritable disc 1 (step 1308), it is determined whether or not the SDL needs to be updated (step 1313). For example, when a replacement spare block is newly assigned to a defective block in the process 1311, the SDL needs to be updated. If the SDL needs to be updated, the SDL is updated (step 1314) and the process ends.
[0209]
As described above, when the disk recording / reproducing drive 1020 is requested to record data in a defective block to which no replacement spare block is assigned, after the replacement spare block is assigned to the defective block. The data is recorded in the replacement spare block. In this way, the recording data is recorded on the disk 1 in units of ECC blocks. Adjustment of the fraction of the ECC block is performed by, for example, filling the fraction with zero.
[0210]
(Embodiment 4)
Hereinafter, an embodiment of an information recording / reproducing system for recording information on the disc 1 described in the first embodiment or reproducing information recorded on the disc 1 will be described with reference to the drawings.
[0211]
FIG. 14 is a block diagram showing a configuration of a disk recording / reproducing drive 1420 according to the fourth embodiment of the present invention. The disk recording / reproducing drive 1420 is connected to the host controller 710 shown in FIG. 7 via the I / O bus 780. 14, the same components as those in FIG. 10 are denoted by the same reference numerals, and detailed description thereof is omitted.
[0212]
The disk recording / reproducing drive 1420 includes an instruction processing unit 1021 that processes an instruction from the host controller 710, a recording control unit 1430 that performs control during recording on the rewritable disk 1, and a reproduction from the rewritable disk 1. Functionally provided with a playback control unit 1440 for controlling the time, a replacement information storage memory 1050 for storing information on defective blocks and their replacement blocks, and a data buffer 1060 for temporarily storing recording and playback data Yes.
[0213]
In addition to the components of the recording control unit 1030 described in the third embodiment, the recording control unit 1430 includes a spare remaining amount detection unit 1437 that calculates the remaining amount of available spare blocks.
[0214]
Compared with the playback control unit 1040 described in the third embodiment, the playback control unit 1440 deletes the 0 data padding unit 1041 and plays back the data recorded on the rewritable disc 1 in units of sectors. It has the structure which added.
[0215]
Since each step of reproducing normal computer data that is not real-time data is the same as that described in the third embodiment (FIG. 11), it is omitted.
[0216]
FIG. 15 is a flowchart showing the procedure of the playback process executed by the disk recording / playback drive 1420. The procedure shown in FIG. 15 is different from the procedure shown in FIG. 12 in that the ECC block to be reproduced is registered in the SDL as a defective block to which no replacement spare block is assigned (step 1503). ), The sector reproducing unit 1441 performs a sector-by-sector reproduction process for each of the plurality of sectors included in the ECC block to be reproduced (step 1507).
[0217]
The sector-by-sector reproduction process will be described with reference to FIG. 22C. Since the inner code parity PI calculates an error correction code for each row (in the horizontal direction), the inner code parity PI correctly corresponds to the main data even if the inner code parity PI is divided into sectors (that is, in FIG. The direction of hatching is the same in the data area and the inner code parity PI area). For this reason, the error correction capability is lowered because the outer code parity PO is not used, but the error can be corrected using the inner code parity PI. For example, when data recording is stopped at a sector break due to a defective ID, the error can be corrected with high probability even when only the inner code parity PI is used.
[0218]
As described above, the disk recording / reproducing drive 1420 returns the correct data of the overwritten sector in the defective block even to the defective block to which the spare block of the replacement destination is not assigned, and is overwritten in the defective block. Return the past data of the sector that did not exist.
[0219]
FIG. 16 is a flowchart showing a procedure of recording processing executed by the disk recording / reproducing drive 1420. The procedure shown in FIG. 16 is different from the procedure shown in FIG. 13 in that when data recording on the rewritable disc 1 fails to record in units of blocks, the failed block is registered in the SDL as a defective block. The point is that the process ends with an error if there is no spare block available before assigning the spare block to be replaced to the defective block.
[0220]
The disc recording / reproducing drive 1420 receives the data to be recorded from the host controller 710 and stores it in the data buffer 1060 (step 1601).
[0221]
The area where recording is required is specified in units of sectors. An area including an area for which recording is requested is obtained for each ECC block (step 1602).
[0222]
If there is a fraction of the ECC block, buffering processing for that fraction is performed. The buffering process is achieved by steps 1502 to 1506 surrounded by a broken line shown in FIG.
[0223]
By combining the data of step 1601 and the data of steps 1603 to 1606, recording data for all ECC blocks necessary for recording is generated in the data buffer 1060 (step 1607).
[0224]
If the blocks that need to be recorded have not yet been recorded on the rewritable disc 1 (step 1608), the SDL is referred to (step 1609). As a result, if the block to be recorded is not registered in the SDL as a defective block, the process proceeds to step 1610, and the block to be recorded is registered in the SDL as a defective block to which a spare block to be replaced is assigned. If so, the process proceeds to step 1612. If the block to be recorded is registered in the SDL as a defective block to which no replacement spare block is assigned, the process proceeds to step 1615.
[0225]
In step 1610, data is recorded in the block to be recorded. In step 1612, data is recorded in the replacement spare block instead of the block to be recorded. In step 1615, the spare remaining amount detection unit 1437 determines whether there is a spare block that can be used in the spare area. If there is a spare block that can be used in the spare area, a replacement spare block is allocated to the block to be recorded (step 1611), and data is recorded in the replacement spare block (step 1612). .
[0226]
In step 1610 or step 1612, if data recording on the rewritable disc 1 fails in units of blocks (step 1616), the blocks that failed to be recorded are registered in the SDL as defective blocks (step 1617). In order to redo the recording, the process returns to step 1609.
[0227]
When recording of a block that needs to be recorded on the rewritable disc 1 (step 1608) or when there is no spare block available in the spare area (step 1615), it is determined whether or not the SDL needs to be updated. Determination is made (step 1613). For example, when a replacement spare block is newly assigned to a defective block in step 1611, the SDL needs to be updated. Also, when the defective block detected in step 1617 is newly registered in the SDL, the SDL needs to be updated. If the SDL needs to be updated, the SDL is updated (step 1614), and the process ends.
[0228]
Here, when reaching here due to the completion of recording of all blocks (step 1608), it is determined as normal termination, and when reaching here due to spare exhaustion (step 1615), it is determined as error termination.
[0229]
As described above, the disc recording / reproducing drive 1420 always registers the detected defective block in the defect management information area even if there is no spare block that can be used as a replacement destination. Further, when the disk recording / reproducing drive 1420 is requested to record data in a defective block to which a spare block to be replaced is not assigned, the drive records the recording data received from the host controller and the recording is in progress. The correct data from the overwritten sector and the past data from the sector that has not been overwritten in the defective block that has been stopped in step S3 can be combined. The recording data synthesized in this way is recorded on the disk 1 in units of ECC blocks.
[0230]
In the second embodiment, the third embodiment, and the fourth embodiment, the parameters passed by the I / F protocol are the start position and size of the area, but the parameters can be obtained by performing the four arithmetic operations. It is clear that it may be. Further, the data transfer between the host controller and the disk recording / reproducing drive and the data transfer between the disk recording / reproducing drive and the rewritable disk may be performed sequentially or simultaneously. Good. In addition, when the host controller and the disk recording / reproducing drive are integrally configured, it is obvious that the parameter can be transferred using a shared memory or the like.
[0231]
【The invention's effect】
According to the information recording medium of the present invention, defect management information including state information indicating whether or not a defect area has been replaced with a replacement area is recorded in the defect management information area. Using this state information, it is possible to manage a state in which a defective area is detected but the defective area is not replaced with a replacement area.
[0232]
If a defective area is detected when data (for example, AV data) requiring real-time property is recorded on the information recording medium, the defective area is skipped. The position of the defect area and the state information indicating that the defect area has not been replaced with the replacement area are written in the defect management information area. When it is requested to record data that does not require real-time property in the defective area (for example, data other than AV data), a replacement area is assigned to the defective area without performing read-modified-write. . Thereby, the requested recording can be made successful. Further, a replacement area is not assigned to the defective area until it is actually requested to record data in the defective area. This provides the advantage that the spare area is not wasted.
[0233]
When the spare area is an expandable area, there may be a temporary shortage of available replacement areas included in the spare area. If a spare area cannot be allocated to a detected defective area due to a temporary shortage of available spare areas included in the spare area, the position of the defective area and the defective area are replaced with the spare area. Status information indicating that there is no data is written in the defect management information area. After the spare area is expanded and an available replacement area is secured, a replacement area is assigned to the defective area. The position of the replacement area is written in the defect management information area.
[0234]
According to the information recording method and the information recording apparatus of the present invention, defect management information including state information indicating whether or not a defect area has been replaced with a replacement area is recorded in the defect management information area. Thereby, the effect similar to the effect mentioned above is acquired.
[0235]
According to the information reproducing apparatus of the present invention, it is determined whether or not the defective area is replaced with the replacement area by referring to the state information, and the reproduction of the user data is controlled according to the determination result. Thereby, even when the defective area is not replaced with the replacement area, the user data can be reproduced.
[0236]
When reproduction is requested for a defective area to which no replacement area is assigned, user data may be reproduced while skipping the defective area. Alternatively, data having a fixed value (for example, data padded with 0) may be output as reproduction data obtained by reproducing the defective area. Alternatively, the corrected data is reproduced by performing only the correction by the error correction code that does not extend over a plurality of sectors (that is, within one sector) without performing the correction by the error correction code that extends over the plurality of sectors. It may be.
[Brief description of the drawings]
FIG. 1A is a diagram showing a structure of a physical space of a disk 1 which is an information recording medium according to Embodiment 1 of the present invention.
FIG. 1B is a diagram showing the structure of SDL 13 shown in FIG. 1A.
FIG. 1C is a diagram showing a structure of an SDL entry 22 in the SDL 13;
FIG. 1D is a diagram showing another structure of the SDL entry 22 in the SDL 13;
FIG. 1E is a diagram showing another structure of the SDL entry 22 in the SDL 13;
FIG. 2 is a diagram showing an example of a physical space of the disc 1 when a file A including AV data as content is recorded on the disc 1;
FIG. 3 is a diagram showing an example of a physical space of the disk 1 when a file B including contents other than AV data is recorded on the disk 1 after a file A including AV data is recorded on the disk 1; It is.
FIG. 4 is a diagram showing an example of a physical space of the disk 1 when an available replacement area included in a spare area is temporarily exhausted (insufficient).
FIG. 5 is a diagram showing an example of the physical space of the disk 1 when the recording of the file C is performed again after expanding the second spare area 8;
FIG. 6 is a conceptual diagram showing the principle of recording AV data on the disc 1 or reproducing the AV data recorded on the disc 1;
FIG. 7 is a block diagram showing a configuration of an information recording / reproducing system 700 according to Embodiment 2 of the present invention.
8 is a diagram showing a procedure of a recording method for recording a file containing AV data on the disc 1 using the information recording / reproducing system 700. FIG.
FIG. 9 is a diagram showing a procedure of a reproducing method for reproducing a file including AV data recorded on the disc 1 using the information recording / reproducing system 700;
FIG. 10 is a block diagram showing a configuration of a disk recording / reproducing drive 1020 according to a third embodiment of the present invention.
FIG. 11 is a diagram showing a procedure of a reproducing method for reproducing normal computer data that is not real-time data recorded on the disc 1 by using the disc recording / reproducing drive 1020;
FIG. 12 is a flowchart showing the procedure of a reproduction process executed by the disk recording / reproduction drive 1020.
FIG. 13 is a flowchart showing a procedure of recording processing executed by the disk recording / reproducing drive 1020.
FIG. 14 is a block diagram showing a configuration of a disk recording / reproducing drive 1420 according to a fourth embodiment of the present invention.
FIG. 15 is a flowchart showing the procedure of playback processing executed by the disk recording / playback drive 1420;
FIG. 16 is a flowchart showing the procedure of recording processing executed by the disk recording / reproducing drive 1420;
FIG. 17 is a diagram showing a physical structure of the disk 1;
FIG. 18A is a diagram showing a configuration of an ECC block which is a calculation unit of an error correction code.
FIG. 18B is a diagram showing a configuration of sectors included in an ECC block.
FIG. 19 is a diagram showing an example of the physical space of the disc 1 in the ISO standard defect management method.
FIG. 20A is a layout diagram of AV data when there is no defective sector;
FIG. 20B is a layout diagram of AV data when there is a defective sector;
FIG. 21 is a diagram showing an example of the physical space of the disc 1 in recording / reproducing AV data.
FIG. 22A is a diagram showing an ECC block recorded normally.
FIG. 22B is a diagram showing an ECC block that has failed to be overwritten.
FIG. 22C is a diagram showing a structure of reproduction data of an ECC block whose overwrite has failed.
FIG. 23A is a diagram showing an example of a format of a “SKIP WRITE” command.
FIG. 23B is a diagram showing another example of the format of the “SKIP WRITE” command.
FIG. 24A is a diagram showing an example of a format of a “REPORT SKIPPED ADDRESS” command.
FIG. 24B is a diagram showing an example of a format of data reported in response to a “REPORT SKIPPED ADDRESS” command.
[Explanation of symbols]
1 disc
2 tracks
3 sectors
4 Disc information area
4a Control data area
4b Defect management information area
5 Data recording area
6 Volume space
6a Logical volume space
6b Volume structure
7 First spare area
8 Second spare area
10 Defect management information
11 Disk definition structure
12 Primary defect list (PDL)
13 Secondary defect list (SDL)
700 Information recording / reproducing system
710 Host controller
720, 1020, 1420 Disc recording / reproducing drive
780 I / O bus

Claims (4)

ユーザデータが記録されるボリューム空間と、前記ボリューム空間に含まれる欠陥領域の代わりに使用され得る交替領域を含むスペア領域と、前記欠陥領域を管理するための欠陥管理情報が記録される欠陥管理情報領域とを備えた情報記録媒体であって、
前記欠陥管理情報は、前記欠陥領域の位置を示す第1位置情報と、前記交替領域の位置に関する第2位置情報とをさらに含み、
前記第2位置情報は、その値が前記交替領域の位置を示す値であるか交替先がないことを示す所定値であるかに基づいて、前記欠陥領域が前記交替領域に交替されているか否かを示す、情報記録媒体。
Defect management information in which a volume space in which user data is recorded, a spare area including a replacement area that can be used in place of the defect area included in the volume space, and defect management information for managing the defect area are recorded. An information recording medium comprising an area,
The defect management information further includes first position information indicating the position of the defect area, and second position information regarding the position of the replacement area,
Whether the defect area is replaced with the replacement area based on whether the second position information is a value indicating the position of the replacement area or a predetermined value indicating that there is no replacement destination. This is an information recording medium.
ユーザデータが記録されるボリューム空間と、前記ボリューム空間に含まれる欠陥領域の代わりに使用され得る交替領域を含むスペア領域と、前記欠陥領域を管理するための欠陥管理情報が記録される欠陥管理情報領域とを備えた情報記録媒体に情報を記録する情報記録方法であって、
前記欠陥管理情報は、前記欠陥領域の位置を示す第1位置情報と前記交替領域の位置に関する第2位置情報とを含み、
前記情報記録方法は、
前記欠陥領域を検出するステップと、
前記第2位置情報を前記欠陥管理情報領域に記録するステップと
を包含し、
前記第2位置情報は、その値が前記交替領域の位置を示す値であるか交替先がないことを示す所定値であるかに基づいて、前記欠陥領域が前記交替領域に交替されているか否かを示す、情報記録方法。
Defect management information in which a volume space in which user data is recorded, a spare area including a replacement area that can be used in place of the defect area included in the volume space, and defect management information for managing the defect area are recorded. An information recording method for recording information on an information recording medium comprising an area,
The defect management information includes first position information indicating the position of the defect area and second position information regarding the position of the replacement area,
The information recording method includes:
Detecting the defective area;
Recording the second position information in the defect management information area,
Whether the defect area is replaced with the replacement area based on whether the second position information is a value indicating the position of the replacement area or a predetermined value indicating that there is no replacement destination. A method of recording information.
ユーザデータが記録されるボリューム空間と、前記ボリューム空間に含まれる欠陥領域の代わりに使用され得る交替領域を含むスペア領域と、前記欠陥領域を管理するための欠陥管理情報が記録される欠陥管理情報領域とを備えた情報記録媒体に情報を記録する情報記録装置であって、
前記欠陥管理情報は、前記欠陥領域の位置を示す第1位置情報と前記交替領域の位置に関する第2位置情報とを含み、
前記情報記録装置は、
前記欠陥領域を検出する検出部と、
前記交替領域の位置に関する第2位置情報を前記欠陥管理情報領域に記録する記録部と
を備え、
前記第2位置情報は、その値が前記交替領域の位置を示す値であるか交替先がないことを示す所定値であるかに基づいて、前記欠陥領域が前記交替領域に交替されているか否かを示す、情報記録装置。
Defect management information in which a volume space in which user data is recorded, a spare area including a replacement area that can be used in place of the defect area included in the volume space, and defect management information for managing the defect area are recorded. An information recording apparatus for recording information on an information recording medium comprising an area,
The defect management information includes first position information indicating the position of the defect area and second position information regarding the position of the replacement area,
The information recording device includes:
A detection unit for detecting the defect region;
A second recording unit that records second position information related to a position of the replacement area in the defect management information area;
Whether the defect area is replaced with the replacement area based on whether the second position information is a value indicating the position of the replacement area or a predetermined value indicating that there is no replacement destination. An information recording device that indicates
ユーザデータが記録されるボリューム空間と、前記ボリューム空間に含まれる欠陥領域の代わりに使用され得る交替領域を含むスペア領域と、前記欠陥領域を管理するための欠陥管理情報が記録される欠陥管理情報領域とを備えた情報記録媒体に記録された情報を再生する情報再生装置であって、
前記欠陥管理情報は、前記欠陥領域の位置を示す第1位置情報と前記交替領域の位置に関する第2位置情報とを含み、
前記情報再生装置は、
前記第2位置情報を参照することにより、前記欠陥領域が前記交替領域に交替されているか否かを判定する判定部と、
前記判定結果に応じて、前記ユーザデータの再生を制御する制御部と
を備え、
前記制御部は、前記欠陥領域が前記交替領域に交替されていない場合には、前記欠陥領域の再生をスキップする、情報再生装置。
Defect management information in which a volume space in which user data is recorded, a spare area including a replacement area that can be used in place of the defect area included in the volume space, and defect management information for managing the defect area are recorded. An information reproducing apparatus for reproducing information recorded on an information recording medium comprising an area,
The defect management information includes first position information indicating the position of the defect area and second position information regarding the position of the replacement area,
The information reproducing apparatus includes:
A determination unit that determines whether the defective area has been replaced with the replacement area by referring to the second position information ;
A control unit for controlling reproduction of the user data according to the determination result,
The control unit is an information reproducing apparatus that skips reproduction of the defective area when the defective area is not replaced with the replacement area.
JP25367899A 1999-03-08 1999-09-07 Information recording medium, information recording method, information recording apparatus, and information reproducing apparatus Expired - Lifetime JP4116740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25367899A JP4116740B2 (en) 1999-03-08 1999-09-07 Information recording medium, information recording method, information recording apparatus, and information reproducing apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP5978199 1999-03-08
JP11-59781 1999-03-08
JP25367899A JP4116740B2 (en) 1999-03-08 1999-09-07 Information recording medium, information recording method, information recording apparatus, and information reproducing apparatus

Related Child Applications (3)

Application Number Title Priority Date Filing Date
JP11259616A Division JP3075477B1 (en) 1999-03-08 1999-09-13 Information recording medium, information recording method and information recording device
JP11352462A Division JP3040779B1 (en) 1999-03-08 1999-12-10 Information recording medium, information recording method, information recording device, and information reproducing device
JP11352463A Division JP3075478B1 (en) 1999-03-08 1999-12-10 Information playback device

Publications (2)

Publication Number Publication Date
JP2000322835A JP2000322835A (en) 2000-11-24
JP4116740B2 true JP4116740B2 (en) 2008-07-09

Family

ID=26400857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25367899A Expired - Lifetime JP4116740B2 (en) 1999-03-08 1999-09-07 Information recording medium, information recording method, information recording apparatus, and information reproducing apparatus

Country Status (1)

Country Link
JP (1) JP4116740B2 (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7233550B2 (en) 2002-09-30 2007-06-19 Lg Electronics Inc. Write-once optical disc, and method and apparatus for recording management information on write-once optical disc
KR20040028469A (en) 2002-09-30 2004-04-03 엘지전자 주식회사 Method for managing a defect area on optical disc write once
KR100667749B1 (en) * 2002-10-18 2007-01-11 삼성전자주식회사 Method and apparatus for managing defect using temporary DFL and temporary DDS, and disc thereof
ATE462184T1 (en) 2002-12-11 2010-04-15 Lg Electronics Inc OVERWRITE METHOD AND INFORMATION RECORDING METHOD FOR A WRITE-ONCE OPTICAL DISK
US7355934B2 (en) 2003-01-27 2008-04-08 Lg Electronics Inc. Optical disc of write once type, method, and apparatus for managing defect information on the optical disc
TWI334595B (en) 2003-01-27 2010-12-11 Lg Electronics Inc Optical disc, method and apparatus for managing a defective area on an optical disc
EP2068322A3 (en) 2003-05-09 2009-09-23 LG Electronics Inc. Write once optical disc, and method and apparatus for recovering disc management information from the write once optical disc
US7313065B2 (en) 2003-08-05 2007-12-25 Lg Electronics Inc. Write-once optical disc, and method and apparatus for recording/reproducing management information on/from optical disc
KR100584600B1 (en) 2004-01-31 2006-05-30 삼성전자주식회사 Optical Recording medium, defect management apparatus/method and computer readable recording medium storing for a program for performing the method
KR101009343B1 (en) * 2004-02-24 2011-01-19 삼성전자주식회사 Recording method, host apparatus, recording/reproducing apparatus and computer readable recording medium storing a program for performing the method
JP4095977B2 (en) 2004-03-11 2008-06-04 株式会社リコー Defect management method and information recording apparatus
JP4037382B2 (en) 2004-03-11 2008-01-23 株式会社リコー Defect management method, reproducing method, program and recording medium, information recording apparatus, and information reproducing apparatus
US7710853B2 (en) 2004-03-18 2010-05-04 Lg Electronics, Inc. Recording medium with segment information thereon and apparatus and methods for forming, recording, and reproducing the recording medium
JP4610607B2 (en) * 2004-03-18 2011-01-12 エルジー エレクトロニクス インコーポレイティド Method and apparatus for recording / reproducing data on / from a recording medium
US7480764B2 (en) 2004-03-18 2009-01-20 Lg Electronics, Inc. Recording medium with overlapping segment information thereon and apparatus and methods for forming, recording, and reproducing the recording medium
CA2558895C (en) * 2004-03-19 2012-08-07 Lg Electronics Inc. Recording medium with physical access control (pac) information thereon and apparatus and methods for forming, recording, and reproducing the recording medium
US7970988B2 (en) 2004-03-19 2011-06-28 Lg Electronics Inc. Recording medium with status information thereon which changes upon reformatting and apparatus and methods for forming, recording, and reproducing the recording medium
WO2005091290A1 (en) * 2004-03-23 2005-09-29 Matsushita Electric Industrial Co., Ltd. Recording device, reproduction device, host device, drive device, recording method, reproduction method, program, and information recording medium
EP1650761B1 (en) * 2004-05-11 2013-02-27 Panasonic Corporation Information recording device
JP4562703B2 (en) * 2004-05-11 2010-10-13 パナソニック株式会社 Information recording medium and information recording apparatus
KR100619023B1 (en) * 2004-05-25 2006-08-31 삼성전자주식회사 Optical Recording medium, recording/reproducing method and recording/reproducing apparatus
CN101908358A (en) 2004-06-15 2010-12-08 松下电器产业株式会社 Drive device
US7948845B2 (en) * 2004-06-15 2011-05-24 Panasonic Corporation Drive device
US7940613B2 (en) * 2004-06-15 2011-05-10 Panasonic Corporation Drive device
KR101306265B1 (en) 2004-08-02 2013-09-09 삼성전자주식회사 Information recording medium, recording/reproducing apparatus and recording/reproducing method
JP2009064540A (en) 2007-08-10 2009-03-26 Hitachi Ltd Optical disk device, optical disk recording method and reproducing method
JP5124604B2 (en) 2010-02-12 2013-01-23 株式会社日立エルジーデータストレージ Recording apparatus, recording method, and reproducing method
JP2010192110A (en) * 2010-06-09 2010-09-02 Sony Corp Alternate processing method, recording device

Also Published As

Publication number Publication date
JP2000322835A (en) 2000-11-24

Similar Documents

Publication Publication Date Title
JP4116740B2 (en) Information recording medium, information recording method, information recording apparatus, and information reproducing apparatus
JP3075477B1 (en) Information recording medium, information recording method and information recording device
JP4744569B2 (en) Recording method and reproducing method suitable for recording / reproducing AV data, recording drive and reproducing drive thereof, information recording system, information reproducing system, and information recording medium
JP4604134B2 (en) Drive device and system including the same
JP3040779B1 (en) Information recording medium, information recording method, information recording device, and information reproducing device
JP4196512B2 (en) Recording method and reproducing method suitable for recording / reproducing AV data, recording drive and reproducing drive thereof, information recording system, information reproducing system, and information recording medium
JP4562703B2 (en) Information recording medium and information recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060626

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080305

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080418

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

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4116740

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140425

Year of fee payment: 6

EXPY Cancellation because of completion of term