JP2004199787A - File management method , and recording device provided with the file management method - Google Patents

File management method , and recording device provided with the file management method Download PDF

Info

Publication number
JP2004199787A
JP2004199787A JP2002367157A JP2002367157A JP2004199787A JP 2004199787 A JP2004199787 A JP 2004199787A JP 2002367157 A JP2002367157 A JP 2002367157A JP 2002367157 A JP2002367157 A JP 2002367157A JP 2004199787 A JP2004199787 A JP 2004199787A
Authority
JP
Japan
Prior art keywords
recording
file
format
information
recorded
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.)
Pending
Application number
JP2002367157A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Hayashi
満博 林
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2002367157A priority Critical patent/JP2004199787A/en
Publication of JP2004199787A publication Critical patent/JP2004199787A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent disappearance of required information by taking over and utilizing required information recorded at the time of recording format of one at the time of recording format of the other, even if recording is changed from recording format of one to recording format of the other. <P>SOLUTION: In a file management method by which a plurality of recording formats can be recorded in a rewritable recording medium, a common file of which contents are information which can be utilized when recording is performed with each recording format is provided, when the recording format is changed, the common file is taken over from a recording format before change. The common file manages the number of times of recording for a recording region of the management information. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、書き換え可能な光ディスクなどの記録媒体において、初期化などにより複数の記録フォーマットで記録できる場合のファイル管理方法及びファイル管理方法を備えた記録装置に関する。
【0002】
【従来の技術】
DVD-RWディスク(光記録媒体)は、記録媒体に光ビームを照射し、この記録材料に光学的な変化を生じさせることにより、情報の記録を行うことができる、書き換え可能な相変化型の光記録媒体である。また、映像情報を数時間記録できることから、テレビジョン放送などの映像情報の記録などに使われている。
【0003】
DVD-RWディスクへの記録フォーマットは、ビデオレコーディングフォーマット(以下、VRフォーマットと称する)とビデオフォーマットの2つが規定されている。
【0004】
VRフォーマットは、論理的な記録フォーマットとしてUDF2.0規格に基づくボリューム情報とファイルシステム情報により、記録されるユーザー情報が管理されるようになっており、実時間に沿って情報本体(VR_MOVIE.VROファイル)および再生制御情報(VR_MANGER.IFOファイル)が生成され、それらが独立したファイルとして記録されるため、テレビジョン放送などの実時間に沿って記録するのに適した記録フォーマットである。この記録方式では、映像などの情報をユーザーが記録したとき、そのユーザーが記録した情報を管理するためのファイルシステム情報が頻繁に書き換えられる。また、必要に応じてボリューム情報も書き換えられる。そのためボリューム情報とファイルシステム情報を使って、記録した情報を再生することが可能である。
【0005】
DVD-RWディスクにVRフォーマットでファイルを記録する方法について簡単に説明する。図2にVRフォーマットでディスクに記録していくときの、ディスク領域の割り当てを示す。ロジカルセクタナンバー(LSN)の0h(hは16進数を示す。以下、同様)から217Fhまでをボリューム情報記録領域107、2180hから277Fhまでをファイルシステム情報とマネージャーファイル記録領域108、2780hからデータ記録領域109に割り当てる。
【0006】
VRフォーマット記録していくときのファイルの記録シーケンスを以下に示す。まず最初に、VRフォーマットに初期化する初期化動作を行う。ディスク上には、記録情報を管理するRecording Management Areaという領域と、ディスクの物理情報などを記述するControl Data Zoneが存在する。VRフォーマットに初期化するとき、これらの領域へも情報を記録するが、これらの領域への記録は本発明と直接関係がないので説明を省略する。初期化動作を開始すると、図2のLSN=0hから217Fh、2180hから277Fhまでの領域を、全て0x00でクリアする。次に、LSN=0hから217Fhまでのボリューム情報記録領域107にボリューム情報を記録し、LSN=2180hから277Fhまでのファイルシステム情報とマネージャーファイル記録領域108にファイルシステム情報を記録する。
【0007】
次に、ユーザーがテレビジョン放送などの映像データの記録を開始すると、LSN=2780hからのデータ記録領域109に、映像データの情報本体であるVR_MOVIE.VROファイルの記録を開始する。映像データの記録が終了すると、LSN=2180hからのファイルシステム情報とマネージャーファイル記録領域108に再生制御情報であるVR_MANGER.IFOファイルを記録し、ファイルシステム情報を更新し記録する。 さらに必要があれば、LSN=0hから217Fhのボリューム情報記録領域107にボリューム情報を記録する。
【0008】
これに対して、ビデオフォーマットは論理的な記録フォーマットとしてUDF(Universal Disk Format)ブリッジが使用され、ファイナライズすると再生専用のDVDと同じフォーマットになる記録フォーマットで、記録すべき情報の再生態様を制御するための再生制御情報(DVDの規格ではナビゲーション情報と称される)を再生制御情報との対応関係を考慮しつつ再生制御情報の全てを作成し、作成した再生情報とその再生情報に対応する情報本体(コンテンツ)とを纏めて、光ディスク上に記録しなければならない。そのため、この記録方式はテレビジョン放送などの実時間に沿った記録に適した記録フォーマットではない。このフォーマットで、実時間に沿って複数の情報を記録する方法およびファイナライズする前に記録した情報を再生する方法については、従来技術として開示されている(例えば、特許文献1、特許文献2を参照)。
【0009】
ビデオフォーマット記録していくときのファイルの記録シーケンスを以下に示す。まず最初にビデオフォーマットに初期化する初期化動作を行う。ディスク上には、記録情報を管理するRecording Management Areaという領域と、ディスクの物理情報などを記述するControl Data Zoneが存在し、ビデオフォーマットに初期化するとき、これらの領域へも情報を記録するが、これらの領域への記録は本発明と直接関係がないので説明を省略する。このとき、図9に示す、ボリューム情報記録領域101、ファイルシステム情報記録領域102、VMGIファイル記録領域103、メニュー用VOBSファイル記録領域104、バックアップVMGIファイル記録領域105を確保するため、LSN=0hから5FFhまでの領域を全て0x00でクリアする。
【0010】
次に、ユーザーがテレビジョン放送などの映像データを1つのタイトルとして記録を開始すると、図13のようにLSN=600hからVTSI(Video Title Set Information)ファイルを記録する30hの領域を確保するため00hデータでクリアを行い、LSN=600h+30hからVOBS(Video Object Set for Titles)ファイルの記録を開始する。なお、図13でP=600hである。映像データの記録が終了すると、VOBSファイルの次からバックアップVTSIファイル112を記録し、最後にLSN=600hからVTSIファイル110を記録する。別のタイトルを記録するときは、今説明した動作を繰り返す。
【0011】
そして、ユーザーからファイナライズの要求があると、最初に確保したLSN=0hから5FFhに、図9に示すように、LSN=0hから100hのボリューム情報記録領域101にUDF Bridge Volume Structureを記録し、LSN=101hから2FFhまでのファイルシステム情報記録領域102にFile Structure情報を、VMGIファイル記録領域103にVMGI(Video Manager Information)ファイルを、メニュー用VOBSファイル記録領域104にメニュー用VOBS(Video Object set)ファイルを、バックアップVMGIファイル記録領域105にバックアップVMGIファイルを記録する。
【0012】
DVD-RWディスクは、2つの記録フォーマットをもち、書き換え可能な記録媒体のため、同一フォーマット上で、記録、消去を行うこともできるし、同一フォーマットに初期化、あるいは別のフォーマットに初期化することも可能である。
【0013】
一般的に相変化型の書き換え可能な光ディスクは、加熱して記録膜を溶融して記録するため、他数回の書き換えを行うと、膜中の欠陥が増加してエラーが増大しやすくなる。
【0014】
DVD-RWのVRフォーマットはファイルシステム情報(必要に応じてボリューム情報)が頻繁に書き換えらるため、繰り返し記録を行うと、ファイルシステム情報とボリューム情報の読み出しエラーが増大し、場合によっては、全ての情報を読み出せなくなるという課題があった。そのため、ファイルシステム情報とボリューム情報は読めなくなる前に、別の場所に移動させて、常にファイルシステム情報とボリューム情報を読める状態にしておきたい。そのため、DVD-RWのボリューム情報に、そのための代替領域(Sparing Management Area)が確保されており、読み出しエラーが増大してきたら特定管理情報をSparing Management Areaに移動して使用していた。
【0015】
また、ディスク上にディスクの再生情報とは関係なしにダミーファイルを記録する方法については、従来技術として開示されている(例えば、特許文献3を参照)。
【0016】
また、ファイルを記録する場所を複数確保し、毎回違うところに書き換えることで、読み出しエラーの増大という課題を解決する方法が、従来技術として開示されている(例えば、特許文献4を参照)。
【0017】
【特許文献1】
特開2002-56650
【0018】
【特許文献2】
特開2002-63765
【0019】
【特許文献3】
特開2001-243096
【0020】
【特許文献4】
特開2001-291367
【0021】
【発明が解決しようとする課題】
上述した特許文献4では、ファイル管理情報を複数の記録場所に保持し、記録回数のできるだけ少ない記録領域に記録していくことで、ファイル管理情報の記録回数を増やすことができるが、複数の記録フォーマットに対応できない。
【0022】
また、DVD-RWのVRフォーマットで記録を繰り返し、読み出しエラーの増大したファイルシステム情報とボリューム情報をせっかくSparing Management Areaに移動させても、記録フォーマットの異なるビデオフォーマットで初期化されてしまうと、どこの領域のエラーが増していたかが判らなくなってしまう。一度判らなくなったものを、VRフォーマットでもう一度初期化し直しても、どこの領域のエラーが増してきたかの情報をすでに失ってしまっているので、仕方なくエラーの増大した場所に再記録することになってしまい、最悪、再生するとエラーが大き過ぎて読めなくなるという課題があった。
【0023】
また、VRフォーマットで映像情報を記録していたとき、ディスク上に傷などがあり記録できない領域が見つかると、その領域を無効な領域としてFile Entry(Non-Allocatable Space Stream)に記録することができるが、この情報も一度ビデオモードで初期化すると完全に失われてしまう。
【0024】
本発明の目的は、書き換え可能な記録媒体に複数の記録フォーマットで記録する際に、一の記録フォーマットから他の記録フォーマットに変更されても、一の記録フォーマット時に記録した必要情報を他の記録フォーマットのときにも引き継いで活用し、必要情報の消失を防ぐことにある。
【0025】
【課題を解決するための手段】
前記課題を解決するために、本発明は主として次のような構成を採用する。
書き換え可能な記録媒体に複数の記録フォーマットを記録できるファイル管理方法において、
各々の記録フォーマットで記録を行うときに利用できる情報を内容とするコモンファイルを設け、
各々の記録フォーマット上では、コモンファイルをダミーファイルとして記録し、前記記録フォーマットを変更する際に、前記変更前の記録フォーマットから前記コモンファイルを引き継ぐ構成とする。
【0026】
また、書き換え可能な記録媒体に複数の記録フォーマットを記録できるファイル管理方法において、
一の記録フォーマットから他の記録フォーマットに変更し、更に、前記一の記録フォーマットに戻す場合、
前記一の記録フォーマットの必要情報を前記他の記録フォーマットに変更するときには、ダミーファイルとして記録し、
前記一の記録フォーマットに戻すときには、前記他の記録フォーマットに前記ダミーファイルとして記録した必要情報を復活させる構成とする。
【0027】
そして、本発明はこのような構成を採用することにより、書き換え可能な記録媒体に複数の記録フォーマットで記録する際に、一の記録フォーマットから他の記録フォーマットに変更されても、一の記録フォーマット時に記録した必要情報を他の記録フォーマットのときにも引き継いで活用し、必要情報の消失を防ぐことができる。
【0028】
【発明の実施の形態】
本発明の実施形態に係る記録装置について図面を参照しながら以下説明する。最初に、VRフォーマットで使用するファイルであるUDF2.0のついて簡単に説明すると、このUDF2.0はボリュームレベルの管理情報とファイルシステムレベルの管理情報に分かれている。アドレスの指定の方法は2種類あり、1つは、ボリュームレベルの管理情報の先頭を0とするロジカルセクタナンバー(LSN)と、ボリュームレベルの管理領域を除いたパーティション内のアドレスを指定するロジカルブロックナンバー(LBN)がある。
【0029】
図5にVRフォーマットのボリューム情報の配置の例を示す。LSN=0から8575までに、Volume Recognition Sequence、Main Volume Descriptor Sequence、Reserve Volume Descriptor Sequence、Logical Volume Integrity Sequence、1st Anchor Point、Sparing Management Areaが記述される。
【0030】
図6にVRフォーマットのファイルシステム情報を、図7にVRフォーマットのDirectory Structureを示す。図6の例では、LSN=8576から8730にSpace Bitmap、File Set Descriptor Sequence、ICB for System Stream Directory、System Stream Directory、ICB for Non-Allocatable Space Stream、ICB for Root Directory、Root Directory、ICB for DVD_RTAV Directory、ICBs for DVD_RTAV filesが記述されている。
【0031】
このボリューム情報、ファイルシステム情報をDVD-RWディスクに記録するため、ディスク上に、図2に示すように、LSN=0hからLSN=217Fhまでをボリューム情報記録領域107、LSN=2180hから277Fhまでをファイルシステム情報とマネージャーファイル記録領域108に割り当てておく。図5のボリューム情報のサイズは、8576(=2180h)セクタで、これを図2のLSN=0hからLSN=217Fhまでのボリューム情報記録領域107に記録する。図6にファイルシステム情報のサイズは155セクタ分で、図2のLSN=2180hからのファイルシステム情報とマネージャーファイル記録領域108にファイルシステム情報を記録する。そして、ファイルシステム情報とマネージャーファイル記録領域108の記録していない残りの108領域に、再生制御情報であるVR_MANGER.IFOファイルを記録する(後述する図14の配置関係を参照)。
【0032】
図14にボリューム情報とファイルシステム情報の各情報の関係を示す。ボリューム管理情報の1st Anchor Pointは、LSN=256に必ず記録され、Main Volume Descriptor SequenceとReserve Volume Descriptor Sequenceの位置情報とサイズ情報が記述されている。Main Volume Descriptor SequenceとReserve Volume Descriptor Sequenceには、Logical Volume Integrity SequenceとFirst Sparing Table、Second Sparing Table、ファイルシステム情報のFile Set DescriptorSequenceとSpace Bitmapの位置情報とサイズ情報が記述されている。
【0033】
ファイルシステム情報のFile Set Descriptorには、File Entry(Root Directory)とFile Entry(System Stream Directory)の位置情報とサイズ情報が記述されている。ここでFile Entry(以下、FEと称する)がディレクトリの場合は、ディレクトリ情報(File Identifier Descriptor(以下、FIDと称する)の集合)が記録されている位置情報とサイズ情報が記述されている。ディレクトリ情報は、自身のディレクトリ情報が記録されているFEの位置情報とサイズ情報を示すFIDと、ファイル名やディレクトリ名と対応するFEが記録されている位置情報とサイズ情報を示すFIDが記録されている。それで、Root DirectoryのFID(DVD_RTAV)より、FE(DVD_RTAV)の位置情報とサイズ情報を知ることができ、FE(DVD_RTAV)より、DVD_RTAVディレクトリの下にVR_MANGER.IFOファイルとVR_MOVIE.VROファイルがあることを知ることができる。DVD_RTAVディレクトリのFID(VR_MANGER.IFO)から、FE(VR_MANGER.IFO)の位置情報とサイズ情報、FID(VR_MOVIE.VRO)から、FE(VR_MOVIE.VRO)の位置情報とサイズ情報を得ることができる。FEがファイルの場合は、ファイルが存在するディスク上の位置情報とサイズ情報が記述されている。FE(VR_MANGER.IFO)からディスク上に記録されたVR_MANGER.IFOファイルの位置情報とサイズ情報を、FE(VR_MOVIE.VRO)からディスク上に記録されたVR_MOVIE.VROファイルの位置情報とサイズ情報を得ることができる。
【0034】
これらの情報は、ボリューム管理情報の1st Anchor Pointから始まり、ディスク上記録したファイルまで関連付けられているため、1つでもリードできなくなると、ディスク上記録したファイルまでたどり着くことができず、ディスクに記録した映像などの情報を再生できなくなってしまう。そのため、ボリューム情報、ファイルシステム情報は、ディスク上に保障された書き換え回数以上書き込むことなく、書き換え回数の保障された範囲内の書き換え回数になるようにしたい。DVD-RWは16セクタを1つのブロックとして、ブロック単位で記録する。そのため、特定ブロックにある指定した書き換え回数以上記録することは避けたい。そのため、ボリューム管理情報の中に、ブロック単位で代替できるSparing Areaを設けている。
【0035】
特定ブロックをSparing Areaに移動するとき、Sparing Tableで移動元と移動先を管理するが、その管理の方法を図15をもとに説明する。Sparing Tableに、Sequence Numberというフィールドがあり、この領域の値は、もし代替処理を行うとすれば何番目のMap Entryを使えばよいかを示しており、たとえばSequence Number=1なら、1st Map Entryの示す移動先に移動させることを示している。
【0036】
Map Entryは移動元のアドレスを記述するフィールドと移動先を記述するフィールドがあり、1st Map Entryの移動先は、Sparing Areaの先頭のLSN=140hである。2nd Map Entryの移動先は150h、3rd Map Entryの移動先は160hになっている。そして、まだ使っていないSparing Areaに対応するMap Entryの移動元フィールドは、FFFFFFFFhが入っており、もしこのフィールドにFFFFFFF0hが入っていると使用できない、または使用中であることを示している。そしてこの移動元フィールドには、LSNではなくLBNで記述しなければならない。
【0037】
ボリューム情報がSparing Areaに移動する場合とファイルシステム情報がSparing Areaに移動する場合ではSparing Tableへの記述の方法が異なるので、まず、ボリューム情報の方から説明する。たとえば、Sequence Number=1でLSN=32から記述されているMain Volume Descriptor SequenceをSparing Areaを移動する場合を説明する。Main Volume Descriptor Sequence をLSN=140hからのブロックに移動すると、1st Map Entryの移動元LBNを記述するフィールドに、使用中を示すFFFFFFF0hを記述する。Main Volume Descriptor Sequenceの位置情報は、1st Anchor Pointに記述されているので、1st Anchor PointのMain Volume Descriptor Sequenceの位置情報を140hに書き換える。そしてSparing tableのSequence Numberをインクリメントし、2にしておく。
【0038】
もう一つの例として、Sequence Number=2で、Sparing AreaのLSN=140hからのブロックを移動したければ、今140hからのブロックにMain Volume Descriptor Sequenceが入っているので、2nd Map Entryの移動元フィールドにFFFFFFF0hを記述し、1st Anchor PointのMain Volume Descriptor Sequenceの位置情報を150hに書き換える。そしてSequence Number=3にしておく。
【0039】
次に、ファイルシステム領域をSparing Areaに移動する場合は、ファイルシステム領域はパーティション内なのでアドレスをロジカルブロックナンバーLBNでも指定できる。LBN内のブロックを移動する場合、たとえば、Sparing TableのSequence Number=3で、LBN=0hから記述されているSpace Bitmapの1ブロックを移動する必要が出てきた場合、Sparing TableのSequence Number=3なので、3rd Map Entryの移動先のLBN=160hからのブロックにSpace BitmapのLBN=0hからの1ブロック分を記録し、3rd Map Entryの移動元に、LBN=0hを書き込む。そして、Sparing TableのSequence Numberをインクリメントし、4にしておく。
【0040】
もう一つの方法は、LBNがすでに使用されているか否かを記述するSpace Bitmap上で使用中にし、まだ使用されていない部分に移動し書き込むという方法である。たとえば、LBN=90hからのブロックを移動する場合、Space Bitmap上でLBN=90hから9Fhに相当する領域を使用中とし、Space Bitmap上で使用されていない領域に移動するという方法である。この方法では、図14に示すように1st AnchorPointから各ファイルまでたどれるよう関連する位置情報を書き換えなければならない。
【0041】
本発明では、更に、ボリューム情報記録領域107と、ファイルシステム情報とマネージャーファイル記録領域108の記録回数を管理するコモン(COMMON)ファイルを設ける。ここで、このCOMMONファイルは本発明のファイル管理方法によってのみルール付けられたファイルであり、本発明では、VRフォーマットで記録するときもビデオフォーマットで記録するときも必ず記録するものである。本発明のファイル管理方法を採用していない記録装置では、このCOMMOMファイルはダミーファイルとなる。
【0042】
ここでボリューム情報記録領域107と、ファイルシステム情報とマネージャーファイル記録領域108の記録回数の管理について説明すると、図2で、ボリューム情報記録領域107と、ファイルシステム情報とマネージャーファイル記録領域108は、LSN=0hからLSN=277Fhまでである。DVD-RWは16セクタを1つのブロックとして記録するので、ボリューム情報とファイルシステム情報とマネージャーファイル記録領域108をブロック単位で表すと、Block No=0hからBlock No=277hまでで、278h個、10進数であらわすと632個の領域になる。1ブロックの書き換え回数を記録する領域を2バイトで表現すると、65535回の記録回数をカウントできる。DVD-RWの記録回数は、この65535回で十分管理できるので、1つのブロックの書き換え回数を2バイトで管理すればよい。よってボリューム情報記録領域107と、ファイルシステム情報とマネージャーファイル記録領域108のブロックを表現するには、278h(632)ブロック×2バイト=4f0h(1264)あればよい。よって記録回数を管理するCOMMONファイルは1セクタ(2048byte)で表現することができ、図10のようにあらわすことができる。もし、LSN=64から記録するReserved Volume Descriptor Sequenceを10回ディスクに記録すると、図10のBlock No=4の領域に、10を記述する。COMMONファイル自体をディスクに記録したときは、COMMONファイルを記録するBlock Noに記録回数を記述する。
【0043】
このCOMMONファイルは、図8と図1のように、Rootディレクトリの下にファイルを置く。ここで、図8はCOMMONファイルを記録するときのVRフォーマットのFile Structure、図1はCOMMONファイルを記録するときのVRフォーマットのDirectory Structureである。この例では、COMMONファイルは Rootディレクトリの下におかれ、FE(Root)→RootディレクトリのFID(COMMON)→FE(COMMON)とたどることができるが、前にも述べたように、このCOMMOMファイルは本発明のファイル管理方法によってのみルール付けられたもので本発明のファイル管理方法を採用していない記録装置ではダミーファイルとなる。そして、ディスクに記録する位置は、ファイルシステム情報とマネージャーファイル記録領域108に記述する。
【0044】
この書き換え回数には2つの閾値を用い、第1の閾値と第2の閾値を設ける。第1の閾値と第2の閾値は第2の閾値の方を大きな値にしておく。第1の閾値と第2の閾値を共にDVD-RWの保障された記録回数の範囲内にしておく。第1の閾値はブロックの代替の基準とし、第2の閾値は書込み禁止の基準とする(第2の閾値はビデオフォーマットで記録したときに使用するのでここでは使い方の説明を省略する)。第1の閾値と第2の閾値は同じ値でも構わない。VRフォーマットで記録しているとき、この第1の閾値を超えたブロックを別の場所に移動する。
【0045】
そして、もし、このディスクをもう一度VRフォーマットで初期化し直したとしても、このCOMMONファイルの内容はクリアせず、そのまま引き継ぐ。そして、このCOMMONファイルの記録回数をチェックし、第1の閾値を超える記録が行われているブロックを探し、そのブロックに記録することは行わない。たとえば、Block No=2の記録回数が第1の閾値を超えていれば、LSN=20hから記録するはずであったMain Volume Descriptor SequenceはLSN=20hに記録せずに、Sparing Areaに記録する。Sparing AreaもCOMMONファイルでチェックし、有効なSparing Areaを探し、Sparing Tableを構築する。具体的には、図10のCOMMONファイルのBlockNoの14hから213hまでがSparing Areaに相当するので、14hから記録回数をチェックする。Sequence Number=1とし、もし14hの記録回数が第1の閾値を超えていれば、Sparing tableのSequence Number を+1して、1st Map Entryの移動元をFFFFFFF0hにし15hをチェックする。もし15hの記録回数が第1の閾値を超えていれば、Sparing tableのSequence Number を+1して、2nd Map Entryの移動元をFFFFFFF0hにし16hをチェックする。これを繰り返し、第1の閾値を超えていないSparing Areaを探しながら、Sparing Tableを構築する。
【0046】
ファイルシステム情報とマネージャーファイル記録領域108においても同様に、図10のCOMMONファイルのBlock No=221hから記録回数をチェックし、もしBlock No=221hが記録回数を第1の閾値を超えていれば、221hはSparing Areaに移動するか、Bitmap上で使用中とし、221h以外の場所に記録することで、記録回数の第1の閾値を超えたBlockに記録することはなくなる。
【0047】
次に、このディスクをビデオフォーマットで記録する場合を説明する。最初にビデオフォーマットで初期化を行う。このとき、図9のようにボリューム情報記録領域101、ファイルシステム記録領域102、VMGIファイル記録領域103、メニュー用VOBSファイル記録領域104、バックアップVMGIファイル記録領域105を確保するため、00hでクリアを行う。
【0048】
ユーザーが映像データなどを記録するときは、データ記録領域106に図13に示すようにVTSI、VOBS、バックアップVOBSを記録する。ユーザーがファイナライズを指示したとき、図3に示すボリューム管理情報、ファイルシステム管理情報、VMGIファイル、メニュー用VOBSファイル、バックアップVMGIファイルを構築し、図9のボリューム情報の記録領域101にボリューム情報を、図9のファイルシステム記録領域102にファイルシステム情報を、VMGIファイル記録領域103にVMGIファイルを、メニュー用VOBSファイル記録領域104にメニュー用VOBSファイルを、バックアップVMGIファイル記録領域105にバックアップVMGIファイルを記録する。
【0049】
このとき、VRフォーマットで使用した記録回数を管理するCOMMONファイルをビデオレコーディングモードにも移動する。ユーザーがビデオレコーディングモードで記録しようとすると、最初に初期化を行うが、そのとき、VRレコーディングで使用したCOMMONファイルを保存する。そして、Block No=0hから277hまでのブロックの記録回数は、ビデオレコーディングモードで記録する場合にも更新する。もしファイナライズを行う前に、このCOMMONファイルを記録する必要があった場合、COMMONファイルの記録回数をみながら、ファイルシステム情報記録領域102のできるだけアドレスの大きいブロックに記録する。ファイナライズするときは、図11と図17のように、COMMONファイルを記述し、ディスクに記録する。この例でもCOMMONファイルはRootディレクトリの下に置かれ、FE(Root)→RootのFID(COMMON)→FE(COMMON)とたどることができるが、このCOMMONファイルは本発明のファイル管理方法によってのみルール付けられたもので、本発明のファイル管理方法を採用していない記録装置からみるとダミーファイルなっている。
【0050】
さらにこのディスクをもう一度、ビデオフォーマットで初期化し直すときには、COMMONファイルを引き継いで初期化を行うようにする。ビデオフォーマットで記録したディスクをVRフォーマットで記録しなおすときも同様で、COMMONファイルを引き継ぎ、VRフォーマットで初期化を行うようにする。
【0051】
図3または図11のビデオフォーマットのボリューム情報には、再生系のDVDと同じファイル管理フォーマットになるようにするため、代替領域であるSparing Management Areaが存在しない。そのため、同じ管理情報を同じ場所に記録していく。そのため、COMMONファイルの第1の閾値を超えることが発生する。ファイナライズを行ったとき、第2の閾値を超えるようなら、ユーザーに「今後このディスクを初期化して記録すると、ファイル管理情報を正しく読み取ることができなくなる可能性があります。最悪の場合、再生できなくなる可能性があります。」と警告を表示することが可能である。
【0052】
また、VRフォーマットで、記録したとき、Sparing Areaの全ての領域が第1の閾値を超えるようなことがあれば、ユーザーに「今後このディスクを初期化して記録すると、ファイル管理情報を正しく読み取ることができなくなる可能性があります。最悪の場合、再生できなくなる可能性があります。」と警告を表示することが可能である。
【0053】
次に、1つの記録フォーマットから別の記録フォーマットに記録するとき、ダミーファイルで情報を引き継ぐ実施形態を示す。この実施形態において、ダミーファイルは、ディスクへの記録不能領域を表すNon-Allocatable Space Streamを内容とするものを例示しており、これはビデオフォーマットでは不使用であってVRフォーマット時のみで使用されるものである。したがって、VRフォーマットからビデオフォーマットに変更したときには、Non-Allocatable Space Stream等を内容とするファイルはダミーファイルとなるものであり(ビデオフォーマットに初期化されてもダミーファイルとして保存されている)、続いて、ビデオフォーマットからVRフォーマットに再度変更したときにはこのダミーファイルが復活して使用されることとなる。
【0054】
VRフォーマットで記録したディスクには、ディスク上に傷などがあり、その部分に記録できなければ、傷の前後を含む領域にNon-Allocatable Space Streamファイルが記録されているとして、再生できないことを示している。このとき、FE(Non-Allocatable Space Stream)に、傷の前後を含む領域の位置情報とサイズ情報が記録されている。
【0055】
このディスクをビデオフォーマットで初期化し直すとき、FE(Non-AllocatableSpace Stream)をダミーファイルとしてディスクに書き込むことを行う。具体的には、ビデオモードでの初期化を要求されると、図9のようにボリューム情報記録領域101、ファイルシステム情報記録領域102、VMGIファイル記録領域103、メニュー用VOBSファイル記録領域104、バックアップVMGIファイル記録領域105を確保するため、00hでクリアを行う。そして、COMMONファイルの記録回数をみながら、ファイルシステム情報記録領域102のできるだけアドレスの大きいブロックにVRフォーマットのFE(Non-Allocatable Space Stream)を記録しておく。更に、ユーザーが映像データなどをディスクに記録する場合、図9のデータ記録領域106に記録する。
【0056】
そして、ファイナライズするときは、図16と図12のように、ディスクに記録したVRフォーマットのFE(Non-Allocatable Space Stream)をDUMMYファイルとして、ファイルシステム情報を構築し、ディスクに記録する。ここで図16はDUMMYファイルを記録するときのビデオフォーマットのVolume StructureとFile Structure、図12はDUMMYファイルを記録するときのビデオフォーマットのDirectory Structureである。
【0057】
さらにこのディスクをもう一度、ビデオフォーマットで初期化し直すときには、DUMMYファイル(ディスクに記録したVRフォーマットのFE(Non-Allocatable Space Stream))を引き継いで、初期化を行うようにする。
【0058】
そして、このディスクをVRフォーマットで初期化するときは、ビデオフォーマットで初期化し直すときにビデオフォーマットではDUMMYファイルとしてディスクに記録されていたVRフォーマットのFE(Non-Allocatable Space Stream)を読み出し、これをもとに、VRフォーマットのFE(Non-Allocatable Space Stream)を再構築する。
【0059】
以上説明したように、本発明は、次のような構成を有し機能乃至作用を備えることを特徴とするものである。即ち、一つの書き換え可能な記録媒体に複数の記録フォーマットを記録できる記録装置において、各々の記録フォーマットにで、共通なコモン(COMMN)ファイル(例えば、記録回数を記したファイル)を記録できるものであり、或る記録フォーマット(例えば、VRフォーマット)の情報を別の記録フォーマット(例えば、ビデオフォーマット)に変更するとき、あるフォーマット(VRフォーマット)でしか使用しないDescriptorを別の記録フォーマット(ビデオフォーマット)上にダミーファイルとして記録しておくことができる。
【0060】
このように、各々の記録フォーマットで、共通な内容のコモンファイルを引き継ぐことにより、記録フォーマットが変わっても、コモンファイルを通して、前に記録した必要な情報を必ず引き継ぐことができ、また、別の記録フォーマット(例えば、ビデオフォーマット)に変更されても、必要な情報がダミーファイルとして記録されているので、元の記録フォーマット(例えば、VRフォーマット)に戻したとき前の情報を引き継ぐことができて、情報の消失を防ぐことができる。
【0061】
【発明の効果】
本発明によれば、記録フォーマットが異なってもコモンファイルを作ることによって、記録フォーマットに依らない記録回数等のディスク特有情報を管理することができる。
【0062】
また、1つの記録フォーマット(例えば、VRフォーマット)上で連続的に管理したい情報(例えば、VRフォーマットにおけるSparing TableやNon-AllocatableSpace Stream;これらの情報はVRフォーマットでしか使用しないもの)も、途中で記録フォーマットが変更しても(ビデオフォーマットへの変更時に)失うことなく、元のフォーマット(例えば、VRフォーマット)において復活させることができる。
【図面の簡単な説明】
【図1】COMMONファイルを記録するときのVRフォーマットのDirectory Structureを示す図である。
【図2】VRフォーマットで記録するときのディスク上の記録領域を示す図である。
【図3】ビデオフォーマットのVolume StructureとFile Structureを示す図である。
【図4】ビデオフォーマットのDirectory Structureを示す図である。
【図5】VRフォーマットのVolume Structureを示す図である。
【図6】VRフォーマットのFile Structureを示す図である。
【図7】VRフォーマットのDirectory Structureを示す図である。
【図8】COMMONファイルを記録するときのVRフォーマットのFile Structureを示す図である。
【図9】ビデオフォーマットで記録するときのディスク上の記録領域を示す図である。
【図10】COMMONファイルを示す図である。
【図11】COMMONファイルを記録するときのビデオフォーマットのVolume StructuresとFile Structureを示す図である。
【図12】DUMMYファイルを記録するときのビデオフォーマットのDirectory Structureを示す図である。
【図13】データ記録領域に記録するファイルを示す図である。
【図14】VRフォーマットのボリューム情報とファイルシステム情報の関係を示す図である。
【図15】Sparing Tableの管理情報を示す図である。
【図16】DUMMYファイルを記録するときのビデオフォーマットのVolume StructureとFile Structureを示す図である。
【図17】COMMONファイルを記録するときのビデオフォーマットのDirectory Structureを示す図である。
【符号の説明】
101 ボリューム情報記録領域
102 ファイルシステム情報記録領域
103 VMGIファイル記録領域
104 メニュー用VOBSファイル記録領域
105 バックアップVMGI記録領域
106 データ記録領域
107 ボリューム情報記録領域
108 ファイルシステム情報とマネージャーファイル記録領域
109 データ記録領域
110 VTSIファイル
111 VOBファイル
112 バックアップVTSIファイル
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a file management method when recording can be performed in a plurality of recording formats by initialization or the like on a recording medium such as a rewritable optical disk, and a recording apparatus including the file management method.
[0002]
[Prior art]
A DVD-RW disc (optical recording medium) is a rewritable phase-change type that can record information by irradiating the recording medium with a light beam and causing an optical change in the recording material. An optical recording medium. Also, since video information can be recorded for several hours, it is used for recording video information such as television broadcasting.
[0003]
Two recording formats for DVD-RW discs are defined: a video recording format (hereinafter, referred to as a VR format) and a video format.
[0004]
In the VR format, user information to be recorded is managed by volume information and file system information based on the UDF 2.0 standard as a logical recording format, and the information body (VR_MOVIE.VRO Since the file and the playback control information (VR_MANGER.IFO file) are generated and recorded as independent files, this is a recording format suitable for recording in real time such as a television broadcast. In this recording method, when information such as video is recorded by a user, file system information for managing the information recorded by the user is frequently rewritten. Also, the volume information is rewritten as needed. Therefore, the recorded information can be reproduced using the volume information and the file system information.
[0005]
A method of recording a file in the VR format on a DVD-RW disc will be briefly described. FIG. 2 shows the allocation of disk areas when recording on a disk in the VR format. The logical sector number (LSN) 0h (h indicates a hexadecimal number; the same applies hereinafter) to 217Fh from the volume information recording area 107, and 2180h to 277Fh from the file system information and manager file recording areas 108 and 2780h to the data recording area Assign to 109.
[0006]
The file recording sequence when recording in VR format is shown below. First, an initialization operation for initializing to a VR format is performed. On the disc, there is an area called Recording Management Area for managing recording information, and a Control Data Zone for describing physical information of the disc. When the information is initialized to the VR format, information is also recorded in these areas, but the recording in these areas is not directly related to the present invention, and a description thereof will be omitted. When the initialization operation is started, the area from LSN = 0h to 217Fh and the area from 2180h to 277Fh in FIG. 2 are all cleared to 0x00. Next, volume information is recorded in the volume information recording area 107 from LSN = 0h to 217Fh, and file system information from LSN = 2180h to 277Fh and file system information in the manager file recording area 108.
[0007]
Next, when the user starts recording video data such as a television broadcast, recording of the VR_MOVIE.VRO file, which is the information body of the video data, in the data recording area 109 from LSN = 2780h is started. When the recording of the video data ends, the file system information from LSN = 2180h and the VR_MANGER.IFO file as the playback control information are recorded in the manager file recording area 108, and the file system information is updated and recorded. If necessary, the volume information is recorded in the volume information recording area 107 of LSN = 0h to 217Fh.
[0008]
On the other hand, the video format uses a UDF (Universal Disk Format) bridge as a logical recording format, and controls the reproduction mode of information to be recorded in a recording format that becomes the same format as a read-only DVD when finalized. All of the playback control information (called navigation information in the DVD standard) is created in consideration of the correspondence between the playback control information and the created playback information and information corresponding to the playback information. The main body (content) must be collected and recorded on an optical disk. Therefore, this recording method is not a recording format suitable for recording along real time such as television broadcasting. A method of recording a plurality of pieces of information in real time in this format and a method of reproducing information recorded before finalization are disclosed as conventional techniques (for example, see Patent Documents 1 and 2). ).
[0009]
The file recording sequence when recording in video format is shown below. First, an initialization operation for initializing to a video format is performed. On the disc, there is an area called Recording Management Area that manages the recorded information, and a Control Data Zone that describes the physical information of the disc. When the video format is initialized, information is also recorded in these areas. Since the recording in these areas is not directly related to the present invention, the description is omitted. At this time, in order to secure the volume information recording area 101, the file system information recording area 102, the VMGI file recording area 103, the menu VOBS file recording area 104, and the backup VMGI file recording area 105 shown in FIG. Clear all areas up to 5FFh with 0x00.
[0010]
Next, when the user starts recording video data such as a television broadcast as one title, 00h to secure an area of 30h for recording a VTSI (Video Title Set Information) file from LSN = 600h as shown in FIG. Clear with data and start recording VOBS (Video Object Set for Titles) file from LSN = 600h + 30h. Note that P = 600h in FIG. When the recording of the video data is completed, the backup VTSI file 112 is recorded from the position following the VOBS file, and finally the VTSI file 110 is recorded from LSN = 600h. To record another title, the operation just described is repeated.
[0011]
Then, when there is a request for finalization from the user, the UDF Bridge Volume Structure is recorded in the volume information recording area 101 of LSN = 0h to 100h from LSN = 0h to 5FFh initially secured, as shown in FIG. = File structure information recording area 102 from 101h to 2FFh, File structure information in VMGI file recording area 103, VMGI (Video Manager Information) file in menu VOBS file recording area 104, Menu VOBS (Video Object set) file Is recorded in the backup VMGI file recording area 105.
[0012]
Since a DVD-RW disc has two recording formats and is a rewritable recording medium, recording and erasing can be performed in the same format, and initialization is performed in the same format or in another format. It is also possible.
[0013]
Generally, a phase-change type rewritable optical disk is heated to melt a recording film for recording. Therefore, if the rewritable operation is performed several times, the number of defects in the film increases, and errors tend to increase.
[0014]
In the VR format of DVD-RW, file system information (volume information if necessary) is frequently rewritten, so if repeated recording is performed, reading errors of file system information and volume information increase, and in some cases, all There is a problem that information cannot be read out. Therefore, before it becomes impossible to read the file system information and the volume information, it is necessary to move the file system information to another location so that the file system information and the volume information can always be read. Therefore, a spare area (Sparing Management Area) for that purpose is secured in the volume information of the DVD-RW, and when read errors increase, the specific management information is moved to the Sparing Management Area and used.
[0015]
Also, a method of recording a dummy file on a disc without relation to the reproduction information of the disc has been disclosed as a conventional technique (for example, see Patent Document 3).
[0016]
Further, a method for solving the problem of increasing read errors by securing a plurality of locations for recording files and rewriting the locations each time to a different location is disclosed as a conventional technique (for example, see Patent Document 4).
[0017]
[Patent Document 1]
JP 2002-56650
[0018]
[Patent Document 2]
JP 2002-63765
[0019]
[Patent Document 3]
JP 2001-243096
[0020]
[Patent Document 4]
JP 2001-291367
[0021]
[Problems to be solved by the invention]
In Patent Document 4 described above, the number of times of recording of file management information can be increased by holding the file management information in a plurality of recording locations and recording the file management information in a recording area where the number of recordings is as small as possible. Cannot support format.
[0022]
Also, even if recording is repeatedly performed in the DVD-RW VR format and the file system information and volume information with increased read errors are moved to the Sparing Management Area, if they are initialized with a video format with a different recording format, It is impossible to determine whether the error in the area has increased. Even if you do not understand once, even if you re-initialize it again in the VR format, you already lost the information of the area where the error has increased, so you will have to re-record it in the place where the error increased. In the worst case, there is a problem that, when reproduced, the error is too large to be read.
[0023]
Also, when recording video information in VR format, if an area that can not be recorded due to scratches etc. is found on the disc, that area can be recorded as an invalid area in File Entry (Non-Allocatable Space Stream) However, this information is completely lost once it is initialized in the video mode.
[0024]
An object of the present invention is to record necessary information recorded in one recording format in another recording format even when the recording format is changed from one recording format to another recording format when recording in a plurality of recording formats on a rewritable recording medium. It is also used to take over the format and prevent loss of necessary information.
[0025]
[Means for Solving the Problems]
In order to solve the above problems, the present invention mainly employs the following configuration.
In a file management method capable of recording a plurality of recording formats on a rewritable recording medium,
Provide a common file containing information that can be used when recording in each recording format,
In each recording format, a common file is recorded as a dummy file, and when the recording format is changed, the common file is inherited from the recording format before the change.
[0026]
In a file management method capable of recording a plurality of recording formats on a rewritable recording medium,
When changing from one recording format to another recording format, and further returning to the one recording format,
When changing the necessary information of the one recording format to the other recording format, record as a dummy file,
When returning to the one recording format, the necessary information recorded as the dummy file in the other recording format is restored.
[0027]
By adopting such a configuration, the present invention adopts one recording format even when the recording format is changed from one recording format to another recording format when recording on a rewritable recording medium in a plurality of recording formats. The necessary information that is sometimes recorded can be taken over and used for other recording formats, and the loss of the necessary information can be prevented.
[0028]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a recording apparatus according to an embodiment of the present invention will be described with reference to the drawings. First, UDF 2.0, which is a file used in the VR format, will be briefly described. This UDF 2.0 is divided into volume level management information and file system level management information. There are two types of address specification methods. One is a logical sector number (LSN) where the head of the volume level management information is 0, and the other is a logical block that specifies an address in a partition excluding the volume level management area. There is a number (LBN).
[0029]
FIG. 5 shows an example of the arrangement of volume information in the VR format. From LSN = 0 to 8575, Volume Recognition Sequence, Main Volume Descriptor Sequence, Reserve Volume Descriptor Sequence, Logical Volume Integrity Sequence, 1st Anchor Point, and Sparing Management Area are described.
[0030]
FIG. 6 shows file system information in VR format, and FIG. 7 shows Directory Structure in VR format. In the example of FIG. 6, Space Bitmap, File Set Descriptor Sequence, ICB for System Stream Directory, System Stream Directory, ICB for Non-Allocatable Space Stream, ICB for Root Directory, Root Directory, ICB for DVD_RTAV Directory from 8SN to 8730. , ICBs for DVD_RTAV files.
[0031]
To record this volume information and file system information on the DVD-RW disc, the volume information recording area 107 from LSN = 0h to LSN = 217Fh and the volume information from LSN = 2180h to 277Fh are recorded on the disc as shown in FIG. It is allocated to the file system information and the manager file recording area 108. The size of the volume information in FIG. 5 is 8576 (= 2180h) sectors, which are recorded in the volume information recording area 107 from LSN = 0h to LSN = 217Fh in FIG. In FIG. 6, the size of the file system information is 155 sectors, and the file system information from LSN = 2180h in FIG. Then, the VR_MANGER.IFO file, which is playback control information, is recorded in the remaining 108 area of the file system information and the manager file recording area 108 where no recording is made (see the arrangement relationship in FIG. 14 described later).
[0032]
FIG. 14 shows the relationship between the volume information and the file system information. The 1st Anchor Point of the volume management information is always recorded in LSN = 256, and describes the position information and the size information of the Main Volume Descriptor Sequence and the Reserve Volume Descriptor Sequence. In the Main Volume Descriptor Sequence and the Reserve Volume Descriptor Sequence, the position information and the size information of the Logical Volume Integrity Sequence, the First Sparing Table, the Second Sparing Table, the File Set Descriptor Sequence of the file system information, and the Space Bitmap are described.
[0033]
In the File Set Descriptor of the file system information, position information and size information of File Entry (Root Directory) and File Entry (System Stream Directory) are described. Here, when the File Entry (hereinafter, referred to as FE) is a directory, position information and size information in which directory information (a set of File Identifier Descriptor (hereinafter, referred to as FID)) is recorded are described. As the directory information, an FID indicating the position information and size information of the FE in which the own directory information is recorded, and an FID indicating the position information and size information in which the FE corresponding to the file name and the directory name are recorded are recorded. ing. Therefore, the location information and size information of FE (DVD_RTAV) can be known from FID (DVD_RTAV) of Root Directory, and VR_MANGER.IFO file and VR_MOVIE.VRO file under DVD_RTAV directory from FE (DVD_RTAV). You can know. The position information and the size information of the FE (VR_MANGER.IFO) can be obtained from the FID (VR_MANGER.IFO) of the DVD_RTAV directory, and the position information and the size information of the FE (VR_MOVIE.VRO) can be obtained from the FID (VR_MOVIE.VRO). When the FE is a file, the position information and the size information on the disk where the file exists are described. Obtain the position information and size information of the VR_MANGER.IFO file recorded on the disc from FE (VR_MANGER.IFO), and the position information and size information of the VR_MOVIE.VRO file recorded on the disc from FE (VR_MOVIE.VRO) be able to.
[0034]
Since this information starts from the 1st Anchor Point of the volume management information and is linked to the file recorded on the disk, if even one of them cannot be read, the file recorded on the disk cannot be reached, and the information is recorded on the disk. The information such as the reproduced video cannot be reproduced. Therefore, it is desired that the volume information and the file system information be written within the guaranteed number of rewrite times without writing more than the guaranteed number of rewrite times on the disk. DVD-RW records 16 sectors as one block, in units of blocks. Therefore, it is desirable to avoid recording more than the specified number of rewrites in a specific block. Therefore, a Sparing Area that can be replaced in units of blocks is provided in the volume management information.
[0035]
When a specific block is moved to the Sparing Area, the source and destination are managed in the Sparing Table. A method of managing the source and destination will be described with reference to FIG. In the Sparing Table, there is a field called Sequence Number, and the value in this area indicates which Map Entry should be used if alternative processing is performed. For example, if Sequence Number = 1, 1st Map Entry Is moved to the destination indicated by.
[0036]
The Map Entry has a field describing the source address and a field describing the destination. The destination of the 1st Map Entry is the first LSN of the Sparing Area = 140h. The destination of the 2nd Map Entry is 150h, and the destination of the 3rd Map Entry is 160h. The source field of the Map Entry corresponding to the Sparing Area not yet used contains FFFFFFFFh, and if FFFFFFF0h is contained in this field, it indicates that the field cannot be used or is in use. In this source field, it is necessary to describe not the LSN but the LBN.
[0037]
When the volume information moves to the Sparing Area and when the file system information moves to the Sparing Area, the description method in the Sparing Table is different, so the volume information will be described first. For example, a case will be described in which a Main Volume Descriptor Sequence described from LSN = 32 with Sequence Number = 1 is moved in Sparing Area. When the Main Volume Descriptor Sequence is moved to a block starting from LSN = 140h, FFFFFFF0h indicating that it is in use is described in the field describing the source LBN of the 1st Map Entry. Since the position information of the Main Volume Descriptor Sequence is described in the 1st Anchor Point, the position information of the Main Volume Descriptor Sequence of the 1st Anchor Point is rewritten to 140h. Then, the Sequence Number of the Sparing table is incremented to 2 in advance.
[0038]
As another example, if you want to move a block from LSN = 140h of Sparing Area with Sequence Number = 2, since the block from 140h now contains the Main Volume Descriptor Sequence, the source field of the 2nd Map Entry FFFFFFF0h, and rewrite the position information of the Main Volume Descriptor Sequence of the 1st Anchor Point to 150h. Then, set Sequence Number = 3.
[0039]
Next, when moving the file system area to the Sparing Area, since the file system area is within the partition, the address can be specified by the logical block number LBN. When a block in the LBN is moved, for example, when Sequence Number = 3 in the Sparing Table and it becomes necessary to move one block of the Space Bitmap described from LBN = 0h, Sequence Number = 3 in the Sparing Table Therefore, one block from LBN = 0h of the Space Bitmap is recorded in the block from LBN = 160h at the destination of the 3rd Map Entry, and LBN = 0h is written to the source of the 3rd Map Entry. Then, the Sequence Number of the Sparing Table is incremented to four.
[0040]
Another method is to use the space bitmap that describes whether or not the LBN has already been used, move it to a part that has not been used, and write it. For example, when moving a block starting from LBN = 90h, a method is used in which an area corresponding to 9Fh from LBN = 90h is used on the Space Bitmap and moves to an area not used on the Space Bitmap. In this method, as shown in FIG. 14, related position information must be rewritten so as to trace from the 1st AnchorPoint to each file.
[0041]
In the present invention, a volume information recording area 107 and a common (COMMON) file for managing the number of times of recording in the file system information and the manager file recording area 108 are further provided. Here, this COMMON file is a file that is ruled only by the file management method of the present invention, and is always recorded in the present invention both when recording in the VR format and when recording in the video format. In a recording device that does not employ the file management method of the present invention, this COMMOM file is a dummy file.
[0042]
Here, the management of the number of times of recording in the volume information recording area 107, the file system information and the manager file recording area 108 will be described. In FIG. 2, the volume information recording area 107, the file system information and the manager file recording area 108 = 0h to LSN = 277Fh. Since a DVD-RW records 16 sectors as one block, if the volume information, file system information, and manager file recording area 108 are expressed in block units, from Block No = 0h to Block No = 277h, 278h, 10 In hexadecimal, there are 632 areas. If the area for recording the number of times of rewriting of one block is represented by 2 bytes, the number of times of recording 65535 can be counted. Since the number of recordings of the DVD-RW can be sufficiently managed by this 65535 times, the number of rewrites of one block may be managed by 2 bytes. Therefore, to represent the blocks of the volume information recording area 107, the file system information, and the manager file recording area 108, 278h (632) blocks × 2 bytes = 4f0h (1264) is sufficient. Therefore, the COMMON file for managing the number of recordings can be represented by one sector (2048 bytes), and can be represented as shown in FIG. If the Reserved Volume Descriptor Sequence recorded from LSN = 64 is recorded on the disc 10 times, 10 is described in the area of Block No = 4 in FIG. When the COMMON file itself is recorded on a disk, the number of recordings is described in the Block No. for recording the COMMON file.
[0043]
This COMMON file is located under the Root directory as shown in FIGS. Here, FIG. 8 shows a VR-format File Structure when recording a COMMON file, and FIG. 1 shows a VR-format Directory Structure when recording a COMMON file. In this example, the COMMON file is located under the Root directory and can be traced as FE (Root) → FID (COMMON) → FE (COMMON) in the Root directory, but as mentioned earlier, this COMMOM file Is a rule created only by the file management method of the present invention, and becomes a dummy file in a recording apparatus that does not employ the file management method of the present invention. The position to be recorded on the disc is described in the file system information and the manager file recording area 108.
[0044]
Two threshold values are used for the number of times of rewriting, and a first threshold value and a second threshold value are provided. For the first threshold value and the second threshold value, the second threshold value is set to a larger value. Both the first threshold value and the second threshold value are set within the range of the guaranteed number of recordings of the DVD-RW. The first threshold is used as an alternative criterion for a block, and the second threshold is used as a criterion for write-protection (the second threshold is used when recording in video format, so the description of how to use it is omitted here). The first threshold value and the second threshold value may be the same value. When recording in the VR format, a block exceeding the first threshold is moved to another location.
[0045]
And even if this disk is re-initialized in VR format again, the contents of this COMMON file will not be cleared and will be inherited as it is. Then, the number of times of recording of the COMMON file is checked, a block in which recording exceeding the first threshold is performed is searched, and recording is not performed in the block. For example, if the number of recordings of Block No = 2 exceeds the first threshold, the Main Volume Descriptor Sequence that should have been recorded from LSN = 20h is recorded in Sparing Area without recording in LSN = 20h. Also check the Sparing Area in the COMMON file, search for a valid Sparing Area, and build a Sparing Table. Specifically, since the block numbers 14h to 213h of the COMMON file in FIG. 10 correspond to the Sparing Area, the number of recordings is checked from 14h. Sequence Number = 1, and if the number of recordings of 14h exceeds the first threshold, the Sequence Number of the Sparing table is incremented by 1, the source of the 1st Map Entry is set to FFFFFFF0h, and 15h is checked. If the recording count of 15h exceeds the first threshold value, the Sequence Number of the Sparing table is incremented by 1, the source of the 2nd Map Entry is set to FFFFFFF0h, and 16h is checked. This is repeated to construct a Sparing Table while searching for Sparing Areas not exceeding the first threshold.
[0046]
Similarly, in the file system information and manager file recording area 108, the number of recordings is checked from Block No = 221h of the COMMON file in FIG. 10, and if Block No = 221h exceeds the number of recordings by the first threshold, The 221h is moved to the Sparing Area or is being used on the Bitmap, and is recorded in a place other than the 221h, so that it is not recorded in the Block exceeding the first threshold of the number of recordings.
[0047]
Next, a case where this disc is recorded in a video format will be described. First, initialize in the video format. At this time, to secure the volume information recording area 101, the file system recording area 102, the VMGI file recording area 103, the menu VOBS file recording area 104, and the backup VMGI file recording area 105 as shown in FIG. .
[0048]
When the user records video data or the like, VTSI, VOBS, and backup VOBS are recorded in the data recording area 106 as shown in FIG. When the user instructs finalization, the volume management information, file system management information, VMGI file, VOBS file for menu, and backup VMGI file shown in FIG. 3 are constructed, and the volume information is recorded in the volume information recording area 101 in FIG. The file system information is recorded in the file system recording area 102 of FIG. 9, the VMGI file is recorded in the VMGI file recording area 103, the menu VOBS file is recorded in the menu VOBS file recording area 104, and the backup VMGI file is recorded in the backup VMGI file recording area 105. I do.
[0049]
At this time, the COMMON file for managing the number of recordings used in the VR format is also moved to the video recording mode. When the user attempts to record in the video recording mode, it initializes first, but then saves the COMMON file used for VR recording. Then, the number of recordings of the block from Block No = 0h to 277h is updated even when recording is performed in the video recording mode. If it is necessary to record this COMMON file before finalization, the COMMON file is recorded in the block having the largest possible address in the file system information recording area 102 while checking the number of times of recording of the COMMON file. When finalizing, as shown in FIGS. 11 and 17, a COMMON file is described and recorded on a disk. Also in this example, the COMMON file is placed under the Root directory and can be traced as FE (Root) → FID of Root (COMMON) → FE (COMMON), but this COMMON file is ruled only by the file management method of the present invention. It is a dummy file when viewed from a recording device that does not employ the file management method of the present invention.
[0050]
When re-initializing this disc to the video format again, the COMMON file will be inherited and initialized. The same applies when re-recording a disc recorded in the video format in the VR format. The COMMON file is inherited and the disc is initialized in the VR format.
[0051]
In the volume information of the video format in FIG. 3 or FIG. 11, there is no Sparing Management Area which is an alternative area in order to have the same file management format as the DVD of the reproduction system. Therefore, the same management information is recorded in the same place. Therefore, the first threshold of the COMMON file may be exceeded. When finalizing, if it exceeds the second threshold, if the disk is initialized and recorded in the future, the file management information may not be able to be read correctly. In the worst case, playback will not be possible There is a possibility. "
[0052]
In addition, when recording in the VR format, if all areas of the Sparing Area exceed the first threshold value, the user is prompted, "If this disc is initialized and recorded in the future, file management information will be read correctly. May be unable to play. In the worst case, playback may not be possible. "
[0053]
Next, an embodiment will be described in which when recording from one recording format to another recording format, information is taken over by a dummy file. In this embodiment, the dummy file exemplifies a content having a Non-Allocatable Space Stream representing a non-recordable area on the disc, which is not used in the video format and is used only in the VR format. Things. Therefore, when the format is changed from the VR format to the video format, the file containing the Non-Allocatable Space Stream or the like is a dummy file (the dummy file is stored even if initialized to the video format). When the video format is changed to the VR format again, the dummy file is restored and used.
[0054]
If the disc recorded in the VR format has scratches on the disc, and if it can not be recorded on that part, it indicates that the Non-Allocatable Space Stream file is recorded in the area including the front and back of the scratch and it can not be played ing. At this time, the FE (Non-Allocatable Space Stream) records the position information and the size information of the area including before and after the flaw.
[0055]
When the disc is re-initialized in the video format, FE (Non-AllocatableSpace Stream) is written to the disc as a dummy file. Specifically, when the initialization in the video mode is requested, as shown in FIG. 9, the volume information recording area 101, the file system information recording area 102, the VMGI file recording area 103, the menu VOBS file recording area 104, the backup Clear in 00h to secure the VMGI file recording area 105. Then, a FE (Non-Allocatable Space Stream) in VR format is recorded in a block having the largest possible address in the file system information recording area 102 while observing the number of recording times of the COMMON file. Further, when the user records video data or the like on a disc, the video data is recorded in the data recording area 106 in FIG.
[0056]
Then, when finalizing, as shown in FIGS. 16 and 12, FE (Non-Allocatable Space Stream) of the VR format recorded on the disc is constructed as a DUMMY file, and file system information is constructed and recorded on the disc. Here, FIG. 16 shows Volume Structure and File Structure of a video format when recording a DUMMY file, and FIG. 12 shows Directory Structure of a video format when recording a DUMMY file.
[0057]
Further, when the disk is re-initialized in the video format again, the DUMMY file (FE (Non-Allocatable Space Stream) in VR format recorded on the disk) is taken over and the disk is initialized.
[0058]
Then, when initializing this disc in the VR format, when re-initializing it in the video format, read the FE (Non-Allocatable Space Stream) of the VR format recorded on the disc as a DUMMY file in the video format, and Based on this, reconstruct FE (Non-Allocatable Space Stream) in VR format.
[0059]
As described above, the present invention is characterized by having the following configuration and having functions and functions. That is, in a recording device capable of recording a plurality of recording formats on one rewritable recording medium, a common (COMMN) file (for example, a file indicating the number of recordings) can be recorded in each recording format. Yes, when changing information of one recording format (for example, VR format) to another recording format (for example, video format), a Descriptor used only in one format (VR format) is used for another recording format (video format). It can be recorded as a dummy file above.
[0060]
In this way, by inheriting the common file of the common contents in each recording format, even if the recording format changes, the necessary information previously recorded can be always inherited through the common file. Even if the recording format (eg, video format) is changed, the necessary information is recorded as a dummy file, so that when the original recording format (eg, VR format) is restored, the previous information can be inherited. In addition, loss of information can be prevented.
[0061]
【The invention's effect】
According to the present invention, it is possible to manage disc-specific information such as the number of times of recording independent of the recording format by creating a common file even if the recording format is different.
[0062]
Also, information (for example, Sparing Table or Non-Allocatable Space Stream in VR format; these information are used only in VR format) that are to be continuously managed on one recording format (for example, VR format) are also in the middle. Even if the recording format changes, it can be restored in the original format (for example, the VR format) without losing (when changing to the video format).
[Brief description of the drawings]
FIG. 1 is a diagram showing a directory structure in a VR format when a COMMON file is recorded.
FIG. 2 is a diagram showing a recording area on a disc when recording is performed in a VR format.
FIG. 3 is a diagram showing a volume structure and a file structure of a video format.
FIG. 4 is a diagram showing a directory structure of a video format.
FIG. 5 is a diagram showing a Volume Structure of a VR format.
FIG. 6 is a diagram showing a file structure in a VR format.
FIG. 7 is a diagram showing a directory structure in a VR format.
FIG. 8 is a diagram showing a file structure of a VR format when a COMMON file is recorded.
FIG. 9 is a diagram showing a recording area on a disc when recording in a video format.
FIG. 10 is a diagram showing a COMMON file.
FIG. 11 is a diagram showing Volume Structures and File Structure of a video format when a COMMON file is recorded.
FIG. 12 is a diagram showing a directory structure of a video format when a DUMMY file is recorded.
FIG. 13 is a diagram showing a file to be recorded in a data recording area.
FIG. 14 is a diagram showing a relationship between VR format volume information and file system information.
FIG. 15 is a diagram showing management information of a Sparing Table.
FIG. 16 is a diagram showing Volume Structure and File Structure of a video format when a DUMMY file is recorded.
FIG. 17 is a diagram showing a directory structure of a video format when a COMMON file is recorded.
[Explanation of symbols]
101 Volume information recording area
102 File system information recording area
103 VMGI file recording area
104 VOBS file recording area for menu
105 Backup VMGI recording area
106 Data recording area
107 Volume information recording area
108 File system information and manager file recording area
109 Data recording area
110 VTSI file
111 VOB file
112 Backup VTSI file

Claims (6)

書き換え可能な記録媒体に複数の記録フォーマットを記録できるファイル管理方法において、
各々の記録フォーマットで記録を行うときに利用できる情報を内容とするコモンファイルを設け、
前記記録フォーマットを変更する際に、前記変更前の記録フォーマットから前記コモンファイルを引き継ぐ
ことを特徴とするファイル管理方法。
In a file management method capable of recording a plurality of recording formats on a rewritable recording medium,
Provide a common file containing information that can be used when recording in each recording format,
When changing the recording format, the file management method inherits the common file from the recording format before the change.
書き換え可能な記録媒体に複数の記録フォーマットを記録できるファイル管理方法において、
一の記録フォーマットから他の記録フォーマットに変更し、更に、前記一の記録フォーマットに戻す場合、
前記一の記録フォーマットの必要情報を前記他の記録フォーマットに変更するときには、ダミーファイルとして記録し、
前記一の記録フォーマットに戻すときには、前記他の記録フォーマットに前記ダミーファイルとして記録した必要情報を復活させる
ことを特徴とするファイル管理方法。
In a file management method capable of recording a plurality of recording formats on a rewritable recording medium,
When changing from one recording format to another recording format, and further returning to the one recording format,
When changing the necessary information of the one recording format to the other recording format, record as a dummy file,
When returning to the one recording format, the necessary information recorded as the dummy file in the other recording format is restored.
請求項1において、
前記コモンファイルは、複数の記録フォーマットに共通するダミーファイルとして機能することを特徴とするファイル管理方法。
In claim 1,
The file management method according to claim 1, wherein the common file functions as a dummy file common to a plurality of recording formats.
請求項1において、
前記コモンファイルは、管理情報の記録領域への記録回数を管理するものであることを特徴とするファイル管理方法。
In claim 1,
The file management method according to claim 1, wherein the common file manages the number of times management information is recorded in a recording area.
請求項2において、
前記ダミーファイルにはディスクへの記録不能領域を表すNon-Allocatable Space Streamを含むことを特徴とするファイル管理方法。
In claim 2,
A file management method according to claim 1, wherein said dummy file includes a non-allocatable space stream representing a non-recordable area on a disk.
請求項1ないし5のいずれか1つの請求項に記載されたファイル管理方法を備えた記録装置。A recording apparatus comprising the file management method according to any one of claims 1 to 5.
JP2002367157A 2002-12-18 2002-12-18 File management method , and recording device provided with the file management method Pending JP2004199787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002367157A JP2004199787A (en) 2002-12-18 2002-12-18 File management method , and recording device provided with the file management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002367157A JP2004199787A (en) 2002-12-18 2002-12-18 File management method , and recording device provided with the file management method

Publications (1)

Publication Number Publication Date
JP2004199787A true JP2004199787A (en) 2004-07-15

Family

ID=32764141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002367157A Pending JP2004199787A (en) 2002-12-18 2002-12-18 File management method , and recording device provided with the file management method

Country Status (1)

Country Link
JP (1) JP2004199787A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8396343B2 (en) 2007-10-25 2013-03-12 Sony Corporation Data conversion method and data conversion device, data recording device, data playing device, and computer program
US8750690B2 (en) 2006-06-23 2014-06-10 Sony Corporation Apparatus, method, and computer program for processing information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8750690B2 (en) 2006-06-23 2014-06-10 Sony Corporation Apparatus, method, and computer program for processing information
US8396343B2 (en) 2007-10-25 2013-03-12 Sony Corporation Data conversion method and data conversion device, data recording device, data playing device, and computer program

Similar Documents

Publication Publication Date Title
TWI235362B (en) Method and apparatus for recording a digital information signal
JPH11232836A (en) Information storage medium having multilayered information layer and multipurpose information processing device
US20080205222A1 (en) Read-only recording medium and reproducing method thereof
JP3593075B2 (en) Information storage medium, information recording method and apparatus, and information reproducing method and apparatus
KR100940419B1 (en) Recording device and recording method
KR100918143B1 (en) Optical disk recording method, optical disk recording device, and information recording medium
JP3945807B2 (en) Optical disc device, optical disc recording method, optical disc recording method program, and recording medium recording optical disc recording method program
KR100563684B1 (en) Method for managing a playlist in optical disc device
JP2004199787A (en) File management method , and recording device provided with the file management method
WO2004023483A1 (en) Access method, access device, and information recording medium
JP2003346426A (en) Optical disk device, optical disk recording method, program for the optical disk recording method, and recording medium on which the optical disk recording method is recorded
WO2005091287A1 (en) Recorder, host device, recording method, instruction method, program, integrated circuit, reproducing device, reproducing method, and write-once-read-many recording medium
TWI235361B (en) Information recording medium, information recording method, information recording apparatus, information reproduction method, and information reproduction apparatus
JP4022739B2 (en) Optical disc device, optical disc recording method, optical disc recording method program, and recording medium recording optical disc recording method program
JP4016321B2 (en) Optical disc device, optical disc recording method, optical disc recording method program, and recording medium recording optical disc recording method
JP2004022043A (en) Optical disk device, optical disk recording method, program for the optical disk recording method, and recording medium recording the program of the same
JP3583742B2 (en) Information storage medium and information recording apparatus and method
JP3583743B2 (en) Information storage medium and information recording / reproducing apparatus and method
US8077575B2 (en) Information recording method that records management information for managing dummy information as a file in a user data area
KR100701385B1 (en) Method for managing defect in optical disc device and optical disc thereof
JP3906235B2 (en) Information storage medium, information recording method and apparatus, and information reproducing apparatus
JP2004013967A (en) Optical disk recording method, optical disk recording device and information recording medium
JP2008276886A (en) Recording device and method for recording