JP2009059454A - Data recording apparatus, data recording method, and computer program - Google Patents
Data recording apparatus, data recording method, and computer program Download PDFInfo
- Publication number
- JP2009059454A JP2009059454A JP2007228330A JP2007228330A JP2009059454A JP 2009059454 A JP2009059454 A JP 2009059454A JP 2007228330 A JP2007228330 A JP 2007228330A JP 2007228330 A JP2007228330 A JP 2007228330A JP 2009059454 A JP2009059454 A JP 2009059454A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- data
- logical sector
- recorded
- disk
- 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
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
【課題】OSTAが規定するUDF(登録商標)に準じる形式で記録メディアにデータを複数回にわたって好適に追加記録を行なう。
【解決手段】各回の追加記録時には、最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の2箇所にAVDPの書き込みを逐次的に行なうことで、旧来のデータ再生専用装置との互換性を確保する。また、ディスクへユーザ・データの記録中に記録装置の電源遮断やその他の不慮の事態のためにAVDPの記録に失敗する危険に備え、追加記録の度に生成されるAVDPを逐次的にバックアップするために第2の予約領域を利用する。
【選択図】 図1
Data is suitably recorded on a recording medium a plurality of times in a format conforming to UDF (registered trademark) defined by OSTA.
At the time of each additional recording, AVDP writing is sequentially performed at two locations of the last logical sector number N and the logical sector number before 256 sectors from N, so that a conventional data reproduction dedicated device is connected. Ensure compatibility. Also, in preparation for the risk of AVDP recording failure due to power interruption of the recording device or other unforeseen circumstances while recording user data on the disc, the AVDP generated at every additional recording is backed up sequentially. Therefore, the second reserved area is used.
[Selection] Figure 1
Description
本発明は、記録メディア上にデータを記録するデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムに係り、例えばDVD−R、DVD+R、CD−Rといった1回のみ記録可能な光ディスクにデータを追記するデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムに関する。 The present invention relates to a data recording apparatus and a data recording method for recording data on a recording medium, and a computer program. For example, data is additionally recorded on an optical disc that can be recorded only once, such as DVD-R, DVD + R, and CD-R. The present invention relates to a data recording apparatus, a data recording method, and a computer program.
さらに詳しくは、本発明は、OSTA(Optical Storage Technology Association)が規定するUDF(Universal Disk Format)(登録商標)に準じる形式で記録メディアにデータを複数回にわたって追記するデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムに係り、特に、再生専用装置で再生できる状態で追記型の記録メディアに対し複数回の追加記録を行なうデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムに関する。 More specifically, the present invention relates to a data recording apparatus and a data recording method for additionally recording data on a recording medium a plurality of times in a format conforming to UDF (Universal Disk Format) (registered trademark) defined by OSTA (Optical Storage Technology). In particular, the present invention relates to a data recording apparatus and data recording method for performing additional recording a plurality of times on a write-once type recording medium in a state where it can be reproduced by a reproduction-only apparatus, and a computer program.
DVD(Digital Versatile Disk)やCD(Compact Disk)といった光学的読み取りを応用したディスク型記録メディア(以下では、「光ディスク」と呼ぶ)が、コンピュータ・ファイルや動画像ストリームの保存用途として、急速に普及してきている。光ディスクは、記憶容量が大きく、ランダム・アクセスが可能である。また、接触型の磁気記録メディアとは異なり、読み取りによる記録面の摩耗や損傷、ヘッド・クラッシュなどの心配がない。また、ディスク表面は頑丈であり、偶発的なデータ消失の危険性も低い。近年では、DVD−R、DVD+R、CD−Rといった追記型の光ディスクを用いた記録再生装置も開発・製造されて、例えばコンピュータ用の外部記録メディア並びに外部記憶装置として利用に供されている。 Disc-type recording media (hereinafter referred to as “optical discs”) such as DVDs (Digital Versatile Disks) and CDs (Compact Discs) are rapidly spreading as storage for computer files and video streams. Have been doing. Optical disks have a large storage capacity and can be accessed randomly. Also, unlike a contact-type magnetic recording medium, there is no concern about wear or damage to the recording surface or head crash due to reading. Also, the disk surface is sturdy and the risk of accidental data loss is low. In recent years, recording / reproducing apparatuses using write-once optical disks such as DVD-R, DVD + R, and CD-R have been developed and manufactured, and are used as, for example, external recording media for computers and external storage devices.
例えば、OSTA(Optical Storage Technology Association)が策定するUDF(Universal Disk Format)(登録商標)が互換性の高い光ディスク・フォーマットとして知られている(例えば、非特許文献1を参照のこと)。UDFは、ECMA(European Computer Manufacturers Association)−167(例えば、非特許文献2を参照のこと)としても知られるISO/IEC 13346標準の実装技術に相当する(ISO/IEC 13346は、ディスク容量やファイル数の大規模化に対応した、ISO9660の後継である)。1990年代にCD−RWメディア並びにCD記録装置の低価格化と相俟って、UDFは書き込み可能光ディスク用途として広範に浸透していった。 For example, UDF (Universal Disk Format) (registered trademark) formulated by OSTA (Optical Storage Technology Association) is known as a highly compatible optical disc format (for example, see Non-Patent Document 1). UDF corresponds to an implementation technology of ISO / IEC 13346 standard also known as ECMA (European Computer Manufacturers Association) -167 (see, for example, Non-Patent Document 2) (ISO / IEC 13346 is a disk capacity or file format). It is the successor to ISO 9660 corresponding to the increase in the number of scales). In the 1990s, coupled with the low prices of CD-RW media and CD recording devices, UDF became widespread as a writable optical disc application.
UDFでは、パケット書き込み方式を採用することによって、光ディスクに対するファイルの追加や削除といった処理を、通常のファイルシステムを通じて行なうことができる。ここで言うパケット書き込み方式とは、ユーザ・データの前にリンク・ブロックと、4つのRun−In領域を設けるとともに、ユーザ・データの最後に2つのRun−Out領域を設けるパケット構造としてデータ書き込みを行なうものである。すなわち、1つのパケットは、ユーザ・データ領域以外に、7ブロックが隣接パケット間の接合領域であるリンク領域(Linking Area)として使用される。UDFは、ほとんどのオペレーティング・システム(OS)からも書き込み可能で、且つ書き込んだファイルは特別な読み取りプログラムなしでOS上での再生互換が実現されたファイルシステムであり、ハード・ディスクやフロッピー(登録商標)・ディスク、USB(Universal Serial Bus)フラッシュメモリと同様の方法で、光ディスク内のコンテンツを操作することができる。但し、DVD−R、DVR+R、CD−Rなどの追記型の記録メディアの場合には、削除したファイルはディレクトリ上からは論理的に消滅するだけで、物理的にはデータの実体は記録メディアに残ったままである。 In UDF, by adopting a packet writing method, processing such as addition or deletion of a file on an optical disc can be performed through a normal file system. The packet writing method here refers to a packet structure in which a link block and four Run-In areas are provided in front of user data, and two Run-Out areas are provided at the end of user data. To do. That is, in addition to the user data area, one packet is used as a link area (Linking Area) in which 7 blocks are junction areas between adjacent packets. UDF is writable by almost any operating system (OS), and the written file is a file system that is compatible with playback on the OS without a special reading program. The content in the optical disc can be manipulated in the same manner as a trademark (trademark) disc and a USB (Universal Serial Bus) flash memory. However, in the case of write-once recording media such as DVD-R, DVR + R, and CD-R, the deleted file only logically disappears from the directory, and the physical substance of the data is physically stored in the recording media. It remains.
DVD−RやCD−Rなどの追記型のディスクの場合、物理セクタへの書き込みは1度しか行なえない、空き論理セクタを置かずに外周に向かって連続的(incrementaly)にデータを書き込まなければならない、といった制約がある。このことは、オリジナルのUDFフォーマットでは、データをプレマスタした後、すべてのデータをひとまとまりにしてメディアに書き込まなければならないことを意味する(ISO9660でCDメディアに書き込みを行なう場合と同様)。 In the case of a write-once disc such as a DVD-R or CD-R, writing to a physical sector can be performed only once, and data must be written incrementally toward the outer circumference without placing an empty logical sector. There is a restriction that it must not. This means that in the original UDF format, after pre-mastering the data, all the data must be written together on the media (similar to writing on CD media with ISO 9660).
そこで、CD−RやDVD−R上のファイルを仮想的にはハード・ディスクと同じように修正できるようにするために、OSTAは、UDF標準に対し、Virtual Allocation Table(以下、「VAT」とする)、及びVirtual Partition Mapを用いて記録する手法を追加した。VATは、ファイルが実際に記録されている論理アドレスと、この論理アドレスに対応する仮想アドレスを管理するテーブルからなる、ディスク上の付加的なデータ構造である。ディスク上のファイル若しくはその他のデータが変更されたときに、VATを用いて論理アドレスの再配置を行なうことができ、順次書き込みが行なわれるメディアをあたかもランダム読み書き可能なメディアのように扱うことができる。この場合、ディスク記録装置にVATを搭載することで、DVD−RやDVD+R、CD−Rといった1回のみ記録可能な記録メディアに対し追加記録を行なうことが可能となる。 Therefore, in order to be able to virtually modify files on CD-R and DVD-R in the same way as hard disks, OSTA has set up a Virtual Allocation Table (hereinafter referred to as “VAT”) for the UDF standard. And a method of recording using the Virtual Partition Map. The VAT is an additional data structure on the disk including a logical address where a file is actually recorded and a table for managing a virtual address corresponding to the logical address. When a file or other data on the disk is changed, the logical addresses can be rearranged using VAT, and the media on which sequential writing is performed can be handled as if it were a random readable / writable media. . In this case, it is possible to perform additional recording on a recording medium that can be recorded only once, such as DVD-R, DVD + R, and CD-R, by installing VAT in the disk recording device.
ここで、ユーザの利便性を考慮すると、UDFに準じて追加記録されている記録メディアを、ファイナライズなどの特殊処理を経る前、すなわちまだ追加記録することができる状態のままで、再生専用装置でも再生できることが好ましい。例えば、デジタルカメラで撮影してDVDに記録した静止画像や動画像などを取り出して、DVDプレーヤに装填して画像を表示出力し、再びデジタルカメラに装填して撮影画像を追加記録するといったディスクの利用方法をユーザは望んでいる。 Here, in consideration of the convenience of the user, the recording medium additionally recorded according to the UDF is not yet subjected to special processing such as finalization, that is, in a state where it can still be additionally recorded, even in a playback-only device. Preferably it can be regenerated. For example, a disc such as a still image or a moving image taken with a digital camera and recorded on a DVD is taken out, loaded into a DVD player, displayed and output, and loaded again into the digital camera to record additional shot images. The user wants to use it.
上述したVATを用いれば、このような柔軟なディスクの利用方法が可能である。しかしながら、現在既に普及しているディスク再生専用装置の多くはVATを実装していないことから、ディスク記録装置はこれら既存のディスク再生専用装置との間で互換性を確保することはできない。例えば、パーソナル・コンピュータ上で焼いた動画DVDをセットトップDVDプレーヤで再生できなかったというユーザからの報告があるが、原因は各装置が準ずるUDFフォーマットがVATに対応するかどうかにも依拠する。今後市場に出回るディスク再生専用装置にVATを搭載することも考えられるが、装置コストが増大するという問題がある。 By using the VAT described above, such a flexible disk utilization method is possible. However, since many of the disk read-only apparatuses that are already widely used do not implement VAT, the disk recording apparatus cannot ensure compatibility with these existing disk read-only apparatuses. For example, there is a report from a user that a moving image DVD burned on a personal computer could not be reproduced by a set-top DVD player. The cause depends on whether the UDF format conforming to each device is compatible with VAT. Although it is conceivable to install VAT in a dedicated disk playback device that will be on the market in the future, there is a problem that the cost of the device increases.
また、UDFでは、ファイルシステム・データには、ボリューム構造の中身に関する情報を記述した記述子であるVDS(Volume Descriptor Sequence)が含まれ、各データ・フィールドの書き込みに関する制限事項・必須条件の1つとして、VDSに対するポインタ情報としてのAVDPを256番目の論理セクタ番号(1st AVDP)と、記録が済んだ最後の論理セクタ番号N(3rd AVDP)及びNから256セクタだけ手前の論理セクタ番号(2nd AVDP)の少なくとも2箇所にAVDPを記録することが取り決められている。2以上の場所にAVDPを記録しておけば、万一ディスクに欠陥が発生して一部のAVDPが読み出せなくなっても、その他の記録場所から同じ情報を読み出すことができる。 In UDF, file system data includes VDS (Volume Descriptor Sequence), which is a descriptor describing information about the contents of the volume structure, and is one of the restrictions / requirements for writing each data field. AVDP as pointer information for the VDS is the 256th logical sector number (1st AVDP), the last logical sector number N (3rd AVDP) that has been recorded, and the logical sector number (2nd AVDP) just before 256 sectors from N ) To record AVDP in at least two places. If AVDP is recorded in two or more locations, even if a defect occurs in the disc and some AVDP cannot be read, the same information can be read from other recording locations.
VATを使用せずに、ファイナライズする前すなわち追加記録できる状態のままでディスクをディスク記録装置とディスク再生専用装置の間で交互に利用するには、ディスク記録装置側では、データを記録又は追加記録した後で排出するディスクがUDFフォーマットを遵守していることが望まれる。言い換えれば、ディスク上の規定の3箇所のうち少なくとも2箇所にAVDPを記録しておく必要がある。 In order to use the disc alternately between the disc recording device and the disc playback-dedicated device before finalization, that is, in a state where additional recording is possible without using VAT, the disc recording device records data or performs additional recording. It is desirable that the disc ejected after this conforms to the UDF format. In other words, it is necessary to record AVDP in at least two of the three prescribed points on the disc.
ディスク記録装置からディスクを受け取ったディスク再生装置側では、AVDPの記録場所が取り決められていることから、「AVDP(Anchor Volume Descriptor)→VDS(LVD(Logical Volume Descriptor))→MD(Meta Data)ファイルのFE(File Entry)→FSD(File Set Descriptor)→ルート・ディレクトリのICB(Information Control Block)→ルート・ディレクトリ内のFID(File Identifier Descriptor)→…→ファイルのICB→データ」という手順でファイル検索が行なわれ、この検索結果を用いてファイル・データを読み出すことができる。すなわち、AVDPはホストが最初に読み出すポイントであり、その場所を起点として光ディスク上のすべてのファイルに辿り着くことができる(例えば、特許文献1を参照のこと)。例えば、ディスクをマウントした際のAVDPなどのファイル管理データを迅速にキャッシュする記録装置について提案がなされている(例えば、特許文献2を参照のこと)。 Since the recording location of the AVDP is determined on the side of the disc playback device that has received the disc from the disc recording device, an AVDP (Anchor Volume Descriptor) → VDS (LVD (Logical Volume Descriptor)) → MD (Meta Data) file FE (File Entry)-> FSD (File Set Descriptor)-> root directory ICB (Information Control Block)-> FID (File Identifier Descriptor) in the root directory-> IC file search by file " The file data can be read using the search result. That is, the AVDP is a point that the host reads first, and can reach all files on the optical disk starting from the location (see, for example, Patent Document 1). For example, a recording apparatus that quickly caches file management data such as AVDP when a disk is mounted has been proposed (see, for example, Patent Document 2).
ここで、AVDPを記録する2箇所のうち一方は256番目の論理セクタ番号(1st AVDP)とし、他方は記録が済んだ最後の論理セクタ番号N(3rd AVDP)及びNから256セクタだけ手前の論理セクタ番号(2nd AVDP)とすれば、離間して2つのAVDPを記録することで欠陥に対する耐性が高まる。しかしながら、追記型のディスクでは空き論理セクタを置かずに外周に向かって連続的にデータを書き込まなければならないという制約から、一度256番目の論理セクタ番号にAVDP(1st AVDP)を記録した時点で当該ディスクのAVDPが確定してしまい、以後は未使用領域が残っているかどうかに拘らず、ディスクへの追加記録が不能となってしまう。すなわち、ディスク記録装置がディスク排出時に1st AVDPを記録すると、AVDPの保全は図られるものの、ディスク記録装置とディスク再生専用装置の間で追記型のディスクを交互に入れ替えながら複数回にわたって追加記録を繰り返すという利用形態は許容されなくなる。 Here, one of the two locations where the AVDP is recorded is the 256th logical sector number (1st AVDP), and the other is the last logical sector number N (3rd AVDP) that has been recorded and the logical sector that is 256 sectors before N. If the sector number (2nd AVDP) is used, resistance to defects is enhanced by recording two AVDPs apart from each other. However, due to the restriction that the write-once disc must write data continuously toward the outer periphery without placing an empty logical sector, when the AVDP (1st AVDP) is once recorded in the 256th logical sector number The AVDP of the disc is determined, and thereafter, additional recording on the disc becomes impossible regardless of whether an unused area remains. That is, when the disc recording device records the 1st AVDP when the disc is ejected, the AVDP can be maintained, but the additional recording is repeated a plurality of times while alternately switching the write-once disc between the disc recording device and the disc reproduction dedicated device. This type of usage is not allowed.
また、ディスクへユーザ・データの記録中に記録装置の電源遮断やその他の不慮の事態のためにAVDPの記録に失敗したときには、データ自体は成功裏に記録できたとしても、ファイルシステム・データが解析不能となるため、その後はディスクそのものが使用不能になってしまう。また、このようなディスクを再度解析可能な状態にするためには、記録が済んだ最後の論理セクタ番号Nのセクタから内周側のセクタに向かってAVDPを探索する必要があり、処理に時間を要する。 Also, when user data is recorded on the disc, if the AVDP recording fails due to the power interruption of the recording device or other unforeseen circumstances, the file system data is not recorded even if the data itself can be recorded successfully. Since the analysis becomes impossible, the disk itself becomes unusable after that. Further, in order to make such a disc reanalysable, it is necessary to search the AVDP from the sector of the last logical sector number N that has been recorded toward the sector on the inner circumference side, and processing takes time. Cost.
本発明の目的は、OSTAが規定するUDF(登録商標)に準じる形式で記録メディアにデータを複数回にわたって好適に追加記録を行なうことができる、優れたデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムを提供することにある。 An object of the present invention is to provide an excellent data recording apparatus, data recording method, and computer that can suitably perform additional recording of data on a recording medium in a format conforming to UDF (registered trademark) defined by OSTA multiple times. To provide a program.
本発明のさらなる目的は、VATを実装していない再生専用装置との間で互換性を確保しながら、追記型の記録メディアに対し複数回の追加記録を行なうことができる、優れたデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムを提供することにある。 A further object of the present invention is to provide an excellent data recording apparatus capable of performing additional recording a plurality of times on a write-once recording medium while ensuring compatibility with a read-only apparatus not equipped with VAT. And a data recording method and a computer program.
本発明のさらなる目的は、VATを用いずに、ボリューム構造を記述するVDSに対するポインタ情報としてのAVDPを規定された場所に記録して、追記型の記録メディアへの追加記録を好適に行なうことができる、優れたデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムを提供することにある。 A further object of the present invention is to record AVDP as pointer information for the VDS describing the volume structure in a specified location without using VAT, and to suitably perform additional recording on a write-once recording medium. An object is to provide an excellent data recording apparatus and data recording method, and a computer program.
本発明のさらなる目的は、追記の際にAVDPの記録に失敗した場合であっても、短時間の処理で記録メディアを再度解析可能な状態に回復することができる、優れたデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムを提供することにある。 A further object of the present invention is to provide an excellent data recording apparatus and data capable of recovering a recording medium to a reanalyzable state in a short time even if AVDP recording fails during additional recording. To provide a recording method and a computer program.
本発明は、上記課題を参酌してなされたものであり、その第1の側面は、所定のファイルシステム・フォーマットに準じて、複数の論理セクタからなるディスクに対して追加記録を行なうデータ記録装置であって、前記所定のファイルシステム・フォーマットでは、ディスク内周側の第1の論理セクタ及び記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタのうち少なくとも2箇所にファイルシステム・データに対する参照情報を記録することが決められており、
ディスク最内周から所定の論理セクタ位置に標準情報を記録するとともに、該標準情報の記録が済んだ直後から前記第1の論理セクタを含む第1の予約領域を予約するとともに、前記第1の予約領域の直後からファイル・データ記録開始位置となる第4の論理セクタの直前までの第2の予約領域を予約して、ディスクの初期化を行なうディスク初期化手段と、
前記第2の予約領域の直後となる第4の論理セクタ(但し、初期化した直後でファイル・データが未記録のディスクの場合)、又は記録済み領域の直後の論理セクタから連続的にファイル・データ及びファイルシステム・データの記録を行なうとともに、記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所にファイルシステム・データに対する参照情報を記録するデータ記録手段と、
前記第2の予約領域中の未使用領域の最内周から前記データ記録手段が記録したファイルシステム・データへの参照情報のバックアップを記録する参照情報バックアップ手段と、
を具備することを特徴とするデータ記録装置である。
The present invention has been made in consideration of the above problems, and a first aspect of the present invention is a data recording apparatus for performing additional recording on a disk composed of a plurality of logical sectors in accordance with a predetermined file system format. In the predetermined file system format, at least two of the first logical sector on the inner circumference side of the disk and the second and third logical sectors on the inner circumference side from the last recorded logical sector are recorded. It is decided to record reference information for file system data in
The standard information is recorded at a predetermined logical sector position from the innermost circumference of the disk, the first reserved area including the first logical sector is reserved immediately after the recording of the standard information, and the first Disk initialization means for reserving the second reserved area immediately after the reserved area and immediately before the fourth logical sector serving as the file / data recording start position, and for initializing the disk;
A fourth logical sector immediately after the second reserved area (in the case of a disk in which file data has not been recorded immediately after initialization), or a continuous file from the logical sector immediately after the recorded area Data recording means for recording data and file system data, and for recording reference information for file system data in two locations of the second and third logical sectors on the inner circumference side from the last logical sector that has been recorded When,
Reference information backup means for recording a backup of reference information from the innermost circumference of the unused area in the second reserved area to the file system data recorded by the data recording means;
A data recording apparatus comprising:
本発明は、例えば、OSTAが規定するUDFに準じるファイルシステムに基づいて、光ディスクなどの記録メディアにデータを複数回にわたって追加記録を行なうデータ記録装置に関する。 The present invention relates to a data recording apparatus for performing additional recording of data on a recording medium such as an optical disc a plurality of times based on, for example, a file system conforming to UDF defined by OSTA.
ここで、ユーザの利便性を考慮すると、UDFに準じて追加記録されている記録メディアを、ファイナライズなどの特殊処理を経る前、すなわちまだ追加記録することができる状態のままで、再生専用装置でも再生できることが好ましい。しかしながら、現在既に普及しているディスク再生専用装置の多くはVATを実装していないことから、VATを用いた追加記録方法はディスク再生専用装置との互換性の観点からは必ずしも好ましくない。 Here, in consideration of the convenience of the user, the recording medium additionally recorded according to the UDF is not yet subjected to special processing such as finalization, that is, in a state where it can still be additionally recorded, even in a playback-only device. Preferably it can be regenerated. However, since many of the disk read-only apparatuses that are already widely used do not implement VAT, the additional recording method using VAT is not necessarily preferable from the viewpoint of compatibility with the disk read-only apparatus.
また、UDFでは、各データ・フィールドの書き込みに関する制限事項・必須条件の1つとして、ボリューム構造を記述するVDSに対するポインタ情報としてのAVDPを256番目の論理セクタ番号と、記録が済んだ最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の少なくとも2箇所にAVDPを記録することが取り決められている。 In UDF, as one of the restrictions / requirements regarding writing of each data field, AVDP as pointer information for the VDS describing the volume structure is the 256th logical sector number and the last logical that has been recorded. It has been decided that AVDP is recorded in at least two locations of the sector numbers N and N that are 256 sectors before the sector number N.
VATを使用しない場合、ディスクへユーザ・データの記録又は追加記録を行なう度に、規定の3箇所のうち少なくとも2箇所にAVDPを記録する必要がある。データの保全の観点からは、256番目の論理セクタ番号にAVDP(1st AVDP)を記録することが好ましい。しかしながら、追記型のディスクでは空き論理セクタを置かずに外周に向かって連続的にデータを書き込まなければならないという制約から、ディスクを追加記録が可能な状態を保つには1st AVDPを記録できないという問題がある。 When VAT is not used, it is necessary to record AVDP in at least two of the three prescribed locations each time user data is recorded or additionally recorded on the disc. From the viewpoint of data integrity, it is preferable to record AVDP (1st AVDP) in the 256th logical sector number. However, in the write-once disc, there is a problem that 1st AVDP cannot be recorded in order to keep the disc in a state where additional recording can be performed due to the restriction that data must be continuously written toward the outer periphery without placing an empty logical sector. There is.
また、ディスクへユーザ・データの記録中に記録装置の電源遮断やその他の不慮の事態のためにAVDPの記録に失敗したときには、データ自体は成功裏に記録できたとしても、ファイルシステム・データが解析不能となるため、その後はディスクそのものが使用不能になってしまうという問題もある。 Also, when user data is recorded on the disc, if the AVDP recording fails due to the power interruption of the recording device or other unforeseen circumstances, the file system data is not recorded even if the data itself can be recorded successfully. Since the analysis becomes impossible, there is also a problem that the disk itself becomes unusable thereafter.
これに対し、本発明に係るデータ記録装置によれば、ディスクの初期化処理時には、ディスク初期化手段が256番目の論理セクタを含む領域を第1の予約領域として予約しておくようになっている。第1の予約領域は、ファイナライズなど特殊処理を行なう際に、ディスクへの追加記録を終了する段階で内容が確定する所定のファイルシステム・データを最終的に書き込むために確保された領域である。したがって、最終的なAVDP(1st AVDP)を256番目の論理セクタに書き込むことができる状態にした上で、この予約領域以降からデータ記録を行なうようにした。予約領域は、ファイナライズなどの特殊処理により明示的に指示がなされるまでの間は、予約の状態が保たれる。 On the other hand, according to the data recording apparatus of the present invention, the disk initialization means reserves the area including the 256th logical sector as the first reserved area during the disk initialization process. Yes. The first reserved area is an area reserved for finally writing predetermined file system data whose contents are determined at the stage of finishing additional recording to the disc when performing special processing such as finalization. Therefore, after the final AVDP (1st AVDP) can be written in the 256th logical sector, data recording is performed from this reserved area. The reserved area is kept in a reserved state until an explicit instruction is given by special processing such as finalization.
データ記録手段は、初期化した後のディスクに対してデータの記録又は追加記録を行なうときには、記録済み領域(予約領域を含む)の直後の論理セクタからパケット書き込みを開始する。パケット構造の中では、内周側の論理セクタから外周に向かってユーザ・データが書き込まれ、続いて、その直後から未記録領域を残さず、ファイルシステム・データが書き込まれる。 When data recording or additional recording is performed on the disc after initialization, the data recording means starts packet writing from a logical sector immediately after the recorded area (including the reserved area). In the packet structure, user data is written from the inner logical sector toward the outer periphery, and then file system data is written without leaving an unrecorded area immediately thereafter.
ファイルシステム・データには、ボリューム構造の中身に関する情報を記述した記述子であるVDS(Volume Descriptor Sequence)が含まれ、このVDSはAVDP(Anchor Volume Descriptor Pointer)によって指し示されている。UDFでは、パケット構造の中ではVDSを自由に配置することが許容されているが、AVDPの位置に関しては制限事項・必須条件が課されている。そこで、データ記録手段は、ディスクに記録又は追加記録を行なう際、記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所(すなわち、記録済み領域の最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の2箇所)にAVDPを記録するようにした。 The file system data includes a VDS (Volume Descriptor Sequence) that is a descriptor describing information about the contents of the volume structure, and this VDS is indicated by an AVDP (Anchor Volume Descriptor Pointer). In UDF, VDS is allowed to be freely arranged in the packet structure, but restrictions and essential conditions are imposed on the position of AVDP. Therefore, when the data recording means performs recording or additional recording on the disk, the data recording means performs recording at the two locations of the second and third logical sectors on the inner circumference side from the last logical sector that has been recorded (that is, The AVDP is recorded in the logical sector numbers N and 2 at the location of 256 sectors before the logical sector number N).
この時点でのディスクは、UDFフォーマットに準じたものであるから、当該データ記録装置から取り出して、他のディスク再生専用装置で再生処理を行なうことが可能である。また、再び当該記録装置にディスクを装填して、以降もUDFに準じた形式で追加記録することができる。ファイナライズなどの特殊処理が施されるまでの間、記録容量の上限に到達しない限り、同様のパケット書き込みを逐次行なうことにより、ディスクへの追加記録を複数回にわたって行なうことができる。 Since the disc at this point conforms to the UDF format, it can be taken out from the data recording device and can be played back by another disc playback dedicated device. In addition, the disc can be loaded again into the recording apparatus, and thereafter, additional recording can be performed in a format conforming to UDF. Until special processing such as finalization is performed, unless the upper limit of the recording capacity is reached, additional packet recording can be performed a plurality of times by sequentially performing similar packet writing.
本発明に係るデータ記録装置によれば、ディスクの初期化処理時には、ディスク初期化手段が前記第1の予約領域の直後からファイル・データ記録開始位置となる第4の論理セクタの直前までの領域を、第2の予約領域として予約しておくようになっている。第2の予約領域は、追加記録の度に生成されるAVDPを逐次的にバックアップするために確保された領域である。 According to the data recording apparatus of the present invention, in the disk initialization process, the area from the disk initialization means immediately after the first reserved area to immediately before the fourth logical sector serving as the file / data recording start position Are reserved as a second reserved area. The second reserved area is an area reserved for sequentially backing up AVDP generated every time additional recording is performed.
データ記録手段は、初期化した後のディスクに対してデータの記録又は追加記録を行なうときには、記録済み領域(予約領域を含む)の直後の論理セクタからパケット書き込みを開始するが、内周側の論理セクタから外周に向かってユーザ・データを書き込むとともに、記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所にAVDPを記録するが、その後さらに参照情報バックアップ手段は、第2の予約領域中の未使用領域の最内周(Next Writable Area)から、バックアップとしてのAVDPを記録するようになっている。したがって、第2の予約領域の最も値の大きい論理セクタ番号には常に最新のAVDPのバックアップが確保されることになる。 The data recording means starts packet writing from the logical sector immediately after the recorded area (including the reserved area) when performing data recording or additional recording on the disc after initialization. User data is written from the logical sector toward the outer periphery, and the AVDP is recorded in two locations of the second and third logical sectors on the inner periphery side from the last recorded logical sector. The means records the AVDP as a backup from the innermost circumference (Next Writable Area) of the unused area in the second reserved area. Therefore, the latest AVDP backup is always secured for the logical sector number having the largest value in the second reserved area.
記録装置の電源遮断やその他の不慮の事態のためにデータ記録手段がディスクへのデータの書き込みに失敗したとき、そのディスクは、記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所(すなわち、記録済み領域の最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の2箇所)にAVDPが記録されていない状態となる。 When the data recording means fails to write data to the disk due to the power-off of the recording device or other unforeseen circumstances, the disk has the second and second inner circumferential sides from the last recorded logical sector. Thus, AVDP is not recorded in two locations of the logical sector 3 (that is, the last logical sector number N in the recorded area and the two logical sector numbers before 256 sectors from N).
そこで、ディスク認識手段は、ディスクが新たに装填されたときに、当該ディスクの記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所からAVDPを読み出してファイルシステム・データにアクセスし、その解析を行なうことを通じて当該ディスクを認識することができる。そして、AVDPを読み出せないなどファイルシステム・データの解析に失敗したときには、修復手段は、第2の予約領域の最も値の大きい論理セクタにバックアップされているAVDPを読み出し、これを記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所(すなわち、記録済み領域の最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の2箇所)に記録することによって、当該ディスクを前記データ記録手段によって追加記録することが可能な状態に修復することができる。 Therefore, when the disc is newly loaded, the disc recognition unit reads the AVDP from the second and third logical sectors on the inner circumference side from the last logical sector on which the disc has been recorded, The disk can be recognized through accessing and analyzing system data. When analysis of the file system data fails, such as when AVDP cannot be read, the restoration means reads AVDP backed up in the logical sector having the largest value in the second reserved area, and has recorded this Recorded in two locations of the second and third logical sectors on the inner circumference side from the last logical sector (that is, the last logical sector number N in the recorded area and two locations in the logical sector number just before 256 sectors) By doing so, it is possible to restore the disc to a state where it can be additionally recorded by the data recording means.
その後、ファイナライズなどの特殊処理により明示的に指示がなされた際には、ファイナライズ処理手段は、第1の予約領域となっている256番目の論理セクタにAVDPを記録するとともに、第1の予約領域並びに第2の予約領域の余剰領域にパディングを施す。このようにして、最終的には損傷を受け難い256番目の論理セクタにAVDP(1st AVDP)を記録することができる。また、AVDPを256番目の論理セクタに配置することで、旧来のディスク再生専用装置との間で幅広く互換性を確保することができる。 Thereafter, when an explicit instruction is given by special processing such as finalization, the finalization processing means records the AVDP in the 256th logical sector serving as the first reserved area and also uses the first reserved area. In addition, the surplus area of the second reserved area is padded. In this manner, AVDP (1st AVDP) can be recorded in the 256th logical sector that is hardly damaged in the end. Further, by arranging the AVDP in the 256th logical sector, it is possible to ensure wide compatibility with the conventional disc reproduction dedicated device.
また、本発明の第2の側面は、所定のファイルシステム・フォーマットに準じて、複数の論理セクタからなるディスクに対して追加記録を行なうための処理をコンピュータ上で実行するようにコンピュータ可読形式で記述されたコンピュータ・プログラムであって、
前記所定のファイルシステム・フォーマットでは、ディスク内周側の第1の論理セクタ及び記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタのうち少なくとも2箇所にファイルシステム・データに対する参照情報を記録することが決められており、
前記コンピュータに対し、
ディスク最内周から所定の論理セクタ位置に標準情報を記録するとともに、該標準情報の記録が済んだ直後から前記第1の論理セクタを含む第1の予約領域を予約するとともに、前記第1の予約領域の直後からファイル・データ記録開始位置となる第4の論理セクタの直前までの第2の予約領域を予約して、ディスクの初期化を行なうディスク初期化手順と、
前記第2の予約領域の直後となる第4の論理セクタ(但し、初期化した直後でファイル・データが未記録のディスクの場合)、又は記録済み領域の直後の論理セクタから連続的にファイル・データ及びファイルシステム・データの記録を行なうとともに、記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所にファイルシステム・データに対する参照情報を記録するデータ記録手順と、
前記第2の予約領域中の未使用領域の最内周から前記データ記録手段が記録したファイルシステム・データへの参照情報のバックアップを記録する参照情報バックアップ手順と、
新たに装填されたディスクの記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所においてファイルシステム・データの解析を行なうことを通じて当該ディスクを認識するディスク認識手順と、
前記ディスク認識手順を実行してディスクを認識できないときに、前記第2の予約領域の最も値の大きい論理セクタにバックアップされたファイルシステム・データへの参照情報を読み出し、第4の論理セクタ以降の記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所に該参照情報を記録して、当該ディスクを追加記録することが可能な状態に修復する修復手順と、
ディスクへの追加記録を終了する際に、前記の予約された領域の内周側から前記第1の論理セクタの直前までをダミーデータでパディングし、最後に追加記録されたファイルシステム・データに対する参照情報の記録を前記第1の論理セクタから開始し、該参照情報の記録が済んだ直後から前記第4の論理セクタの直前までの領域をダミーデータでパディングするファイナライズ処理手順と、
を実行させることを特徴とするコンピュータ・プログラムである。
According to a second aspect of the present invention, in a computer-readable format, a process for performing additional recording on a disk composed of a plurality of logical sectors is executed on a computer according to a predetermined file system format. A written computer program comprising:
In the predetermined file system format, at least two of the first logical sector on the inner circumference side of the disk and the second logical sector on the inner circumference side from the last logical sector on which recording has been performed are placed in the file system. It is decided to record reference information for the data,
For the computer
The standard information is recorded at a predetermined logical sector position from the innermost circumference of the disk, the first reserved area including the first logical sector is reserved immediately after the recording of the standard information, and the first A disk initialization procedure for reserving the second reserved area from immediately after the reserved area to immediately before the fourth logical sector as the file / data recording start position, and for initializing the disk;
A fourth logical sector immediately after the second reserved area (in the case of a disk in which file data has not been recorded immediately after initialization), or a continuous file from the logical sector immediately after the recorded area Data recording procedure for recording data and file system data, and recording reference information for the file system data in the second and third logical sectors on the inner circumference side from the last logical sector that has been recorded When,
A reference information backup procedure for recording a backup of reference information from the innermost circumference of the unused area in the second reserved area to the file system data recorded by the data recording means;
Disc recognition procedure for recognizing a disc by analyzing file system data at two locations of the second and third logical sectors on the inner circumference side from the last logical sector on which a newly loaded disc has been recorded When,
When the disk cannot be recognized by executing the disk recognition procedure, the reference information to the file system data backed up in the logical sector having the largest value in the second reserved area is read, A repair procedure for recording the reference information in two locations of the second and third logical sectors on the inner circumference side from the last recorded logical sector and repairing the disc to a state in which additional recording is possible; ,
When the additional recording to the disk is finished, padding is performed from the inner circumference side of the reserved area to immediately before the first logical sector with dummy data, and a reference to the file system data recorded last is added A finalizing process procedure in which information recording is started from the first logical sector, and an area from immediately after the recording of the reference information to immediately before the fourth logical sector is padded with dummy data;
Is a computer program characterized in that
本発明の第2の側面に係るコンピュータ・プログラムは、コンピュータ上で所定の処理を実現するようにコンピュータ可読形式で記述されたコンピュータ・プログラムを定義したものである。換言すれば、本発明の第2の側面に係るコンピュータ・プログラムをコンピュータにインストールすることによって、コンピュータ上では協働的作用が発揮され、本発明の第1の側面に係るデータ記録装置と同様の作用効果を得ることができる。 The computer program according to the second aspect of the present invention defines a computer program described in a computer-readable format so as to realize predetermined processing on the computer. In other words, by installing the computer program according to the second aspect of the present invention in the computer, a cooperative action is exhibited on the computer, and the same as the data recording apparatus according to the first aspect of the present invention. An effect can be obtained.
本発明によれば、OSTAが規定するUDF(登録商標)に準じる形式で記録メディアにデータを複数回にわたって好適に追加記録を行なうことができる、優れたデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムを提供することができる。 According to the present invention, an excellent data recording apparatus and data recording method capable of suitably performing additional recording on a recording medium a plurality of times in a format conforming to UDF (registered trademark) defined by OSTA, and a computer A program can be provided.
また、本発明によれば、VATを用いずに、ボリューム構造を記述するVDSに対するポインタ情報としてのAVDPを規定された場所に記録して、追記型の記録メディアへの追加記録を好適に行なうことができる、優れたデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムを提供することができる。 Further, according to the present invention, without using VAT, AVDP as pointer information for the VDS describing the volume structure is recorded at a prescribed location, and additional recording onto a write-once recording medium is suitably performed. It is possible to provide an excellent data recording apparatus, data recording method, and computer program.
また、本発明によれば、追記の際にAVDPの記録に失敗した場合であっても、短時間の処理で記録メディアを再度解析可能な状態に回復することができる、優れたデータ記録装置及びデータ記録方法、並びにコンピュータ・プログラムを提供することができる。 In addition, according to the present invention, an excellent data recording apparatus capable of recovering a recording medium to a reanalyzable state in a short time process even if AVDP recording fails during additional recording, and A data recording method and a computer program can be provided.
本発明のさらに他の目的、特徴や利点は、後述する本発明の実施形態や添付する図面に基づくより詳細な説明によって明らかになるであろう。 Other objects, features, and advantages of the present invention will become apparent from more detailed description based on embodiments of the present invention described later and the accompanying drawings.
以下、図面を参照しながら本発明の実施形態について詳解する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
装置構成:
本発明に係るデータ記録装置は、OSTAが規定するUDFに準じるファイルシステムに基づいて、DVD−R、DVD+R、CD−Rといった1回のみ記録可能な光ディスクなどの記録メディアにデータを複数回にわたって追加記録を行なう。1つの典型的な装置構成例として、固体撮像素子で捕捉した画像をデジタル化するデジタルカメラを挙げることができる。
Device configuration:
The data recording apparatus according to the present invention adds data to a recording medium such as an optical disc that can be recorded only once, such as DVD-R, DVD + R, and CD-R, based on a file system conforming to UDF defined by OSTA. Make a record. One typical apparatus configuration example is a digital camera that digitizes an image captured by a solid-state imaging device.
図1には、本発明の一実施形態に係るデジタルカメラ10のハードウェア構成を模式的に示している。 FIG. 1 schematically shows a hardware configuration of a digital camera 10 according to an embodiment of the present invention.
被写体を撮像するカメラ・ブロック1は、被写体像を取り込むレンズ、入力光量に応じて光電変換により電気的な画像信号を生成するCCD(ChargeCoupled Device)やCMOS(Complementary Mental−Oxide Semiconductor)などの固体撮像素子、画像信号をデジタル変換するA/D変換器、デジタル画像信号からRGB信号を算出するデモザイク処理部など(図示を省略)で構成される。 A camera block 1 that captures a subject includes a lens that captures the subject image, a solid-state imaging such as a CCD (Charge Coupled Device) or a CMOS (Complementary Mental-Oxide Semiconductor) that generates an electrical image signal by photoelectric conversion according to the amount of input light. It comprises an element, an A / D converter that digitally converts an image signal, a demosaic processing unit that calculates an RGB signal from the digital image signal, and the like (not shown).
画像信号演算処理部2では、RGB信号から色差及び輝度信号への色基準形変換や、JPEGやMPEG形式などへの符号化圧縮処理などを行なう。また、画像信号演算処理部2は、処理した画像信号を、液晶表示ディスプレイ(Liquid Crystal Display:LCD)などで構成される表示部7に供給して、画像出力する。
The image signal calculation processing unit 2 performs color reference form conversion from RGB signals to color differences and luminance signals, and encoding / compression processing to JPEG or MPEG format. Further, the image signal calculation processing unit 2 supplies the processed image signal to the
記録部4は、画像信号演算処理部2で符号化圧縮された画像ファイルを、データ・バッファ3経由で受け取って、光ディスクなどの装填中の記録メディア4−1に記録する。本実施形態では、OSTAが規定するUDFに準じるファイルシステムに基づいて、記録メディアにデータを複数回にわたって追加記録を行なわれるが、この点の詳細については後述に譲る。
The
中央処理部5は、RAM(Random Access Memory)などで構成される一時記憶媒体6に実行プログラムをロードするとともにシステム変数や環境変数を一時的に格納しながら、オペレーティング・システム(OS)が提供する実行環境下でプログラムを実行するという形式で当該デジタルカメラ10全体の処理動作を統括的にコントロールする。ここで言う処理動作としては、カメラ・ブロック1における動画像撮影やこれに伴うオート・フォーカス機能、自動露光、手振れ補正、オート・シャッターといったカメラ・ワーク、記録部4における記録メディア4−1へのデータ記録などである。
The
図2には、記録部4の内部ハードウェア構成を示している。
FIG. 2 shows an internal hardware configuration of the
OP(Optical Pickup)部13は、対物レンズ、レーザ・ダイオード(LD)、レーザ・ダイオード・ドライバ(LDdrv)、フォトディテクトIC(Photo Detect IC)、ハーフ・ミラーなどで構成される。データ再生時には、照射したレーザ光に対する光ディスク25の記録面からの反射光信号を検出してRF処理部14へ出力する。また、データ記録時には、ピット形成に必要な信号処理部17からのレーザの点滅・駆動信号(DECEFMW)、レーザ強度と明滅の最適値を示すライトストラテジ信号などに基づいて光ディスク25に対してデータ書き込みを行なう。ライトストラテジとは、書き込み後のピット・サイズが規格を満たすように、書き込み時のレーザ・パルスをピット毎に時間方向とレベル方向に修正する技術である。
The OP (Optical Pickup)
RF処理部14は、OP部13から検出されたビーム・シグナル、サイド、メインからなる8系統の信号を、サンプリング及びホールドして演算処理し、8系統の信号のうちの所定の信号からFE(フォーカス誤差)、TE(トラッキング誤差)、MIRR(ミラー)、ATIP(Absolute Time In Pregroove)、読み出し主信号などの信号を生成する。RF処理部14は、生成した信号のうち、FMDT(周波数変調データ)、FMCK(周波数変調クロック)、TE、FEをサーボ信号処理部15へ出力し、試し書きによって検出したレーザ強度の最適値(OPC:Optical Power Calibration)信号及びレーザ点滅・駆動信号を信号処理部17へ出力し、MIRRを中央処理部5へ出力する。
The
サーボ信号処理部15は、RF処理部14からのFMDT、FMCK、TE、FEを入力すると、中央処理部5からの指示により光ディスク特有の各種サーボ制御信号を生成し、アナログ・フィルタ処理部16へ出力する。
When the FMDT, FMCK, TE, and FE are input from the
アナログ・フィルタ処理部16は、サーボ信号処理部15からの各種サーボ制御信号を基にアナログ信号を生成して、スピンドル・ドライバ18、スレッド・ドライバ19、トラッキング・ドライバ20、フォーカス・ドライバ21へ出力する。
The analog
信号処理部17は、中央処理部5の制御により、RF処理部14からのOPC、DECEFMを入力し、CIRC(Cross Interleave Reed−Solomon Code)復号及び符号化、ライトストラテジ、ADDrデコード、アシンメトリ、ランニングOPCなどの処理を行なう。光ディスク25に対してデータの書き込みを行なう場合は、レーザの点滅・駆動信号、レーザ強度の最適値を示す信号などの信号をOP部13に出力する。
The
スピンドル・ドライバ18は、アナログ・フィルタ処理部16からの信号に基づいてスピンドル・モータ22の回転を制御する。スレッド・ドライバ19は、アナログ・フィルタ処理部16からの信号に基づいてスレッド・モータ23のスレッド動作を制御する。トラッキング・ドライバ20は、アナログ・フィルタ処理部16からの信号に基づいてOP部13を揺動して、光ディスク25の記録面に照射されるビームスポットの位置を制御する。フォーカス・ドライバ21は、アナログ・フィルタ処理部16からの信号に基づいてOP部13を光ディスク25の記録面に対して垂直方向に動かして、レーザの焦点調整を制御する。スピンドル・モータ22は、スピンドル・ドライバ18からの信号に基づいて光ディスク25を回転させる。スレッド・モータ23は、スレッド・ドライバ19からの信号に基づいてOP部13のスレッド動作を行なう。
The spindle driver 18 controls the rotation of the spindle motor 22 based on the signal from the analog
中央処理部5は、一時記憶媒体6をワークメモリとして使用するが(前述)、例えば、ファイルやディレクトリの更新、追加、削除などに伴ってその都度更新されるUDFファイルシステムに関するファイルシステム・データを当該装置1の主電源がオフになる直前まで記憶する。
The
光ディスク25からデータを読み出す際、記録面から反射されたレーザ・ダイオードの光は、OP部13のレンズ光学系で読取られる。レンズ光学系からの光は、PDICによって電気信号に変換され、RF処理部14内でサンプリング及びホールドされ、8つのそれぞれ所定の信号からFE、TE、MIRR、ATIP、読み出し主信号などの信号が演算処理により生成される。
When reading data from the
まず、RF処理部14で求められたFEは、サーボ信号処理部15で特性を調整された後、アナログ・フィルタ処理部16を経て、フォーカス・ドライバ21に入力される。フォーカス・ドライバ21は、OP部13のレンズ駆動フォーカス・コイル(図示しない)を上下方向に移動し、フォーカスのずれを修正する。
First, the FE obtained by the
また、RF処理部14で求められたTEは、サーボ信号処理部15にてAC成分を取り出してデジタル・フィルタ処理を施した後、アナログ・フィルタ処理部16を通り、トラッキング・ドライバ20に入力される。トラッキング・ドライバ20は、OP部13のレンズ駆動トラッキング・コイルを半径方向へと微動させ、トラッキングのずれを修正する。
The TE obtained by the
また、RF処理部14で求められたTEは、サーボ信号処理部15にてDC成分を取り出してデジタル・フィルタ処理を施した後、アナログ・フィルタ処理部16を通り、スレッド・ドライバ19に入力される。スレッド・ドライバ19は、スレッド・モータを動作させ、OP部13全体を記録媒体の径方向に移動し、スレッド動作のずれを修正する。シーク動作時には、このスレッド制御の電圧を外部から意図的に加えることによって強制的にスレッド・モータを駆動している。
The TE obtained by the
このようにしてTEのAC成分を基にレンズのみが径方向に微動されるトラッキング動作が行なわれるとともに、DC成分を基にOP部13全体を径方向に移動するスレッド動作が行なわれる。
In this way, a tracking operation is performed in which only the lens is finely moved in the radial direction based on the AC component of TE, and a thread operation is performed to move the
RF処理部14から出力される記録媒体の反射率変化の検出信号(ミラー)は、OP部13がトラックを横切る際に検出されるので、ミラーをカウントすることによって、現在のシーク位置及び読取り位置の検出、光ピックアップ動作の開始及び停止を行なう。
Since the detection signal (mirror) of the change in reflectance of the recording medium output from the
スピンドル・モータ22の制御は、ATIP処理に基づいて行なわれる。光ディスク25に書き込まれているウォッブル(Wobble)溝と呼ばれる蛇行した溝には、径方向に22.05KHzの中心周波数で+/−1KHzのFM変調により、時間情報が記録されている。変調されているのは、Bi−Phase変調されたATIPと呼ばれる時間情報である。
The spindle motor 22 is controlled based on ATIP processing. Time information is recorded in a meandering groove called a wobble groove written on the
フォーカスとトラッキングが合っているとき、RF処理部14では、入力された8信号の所定の組み合わせからウォッブル信号が取り出される。FM復調、ATIP復号が施され、FMCKとFMDTとして取り出される。FMDTは、サーボ信号処理部15にて光ディスク25の絶対時間位置、すなわちアドレスとその他の付加情報として分類された所定のレジスタに格納され、それに応じてデータの読み出しを行なう。
When the focus and the tracking are matched, the
RF処理部14において、8信号の所定の組み合わせから記録ピットに対応した信号を取り出して等化処理をした後、EFM(Eight to Fourteen Moduration)信号の形式のまま信号処理部17に供給される。信号処理部17で、CIRCに基づいた復号を行なって所望のデータを得ることができる。
The
光ディスク25に対してデータを書き込む際、まず始めにリードイン領域にピックアップを移動してATIP情報を読出す。さらに、その中からスペシャル・インフォメーションの部分を読出し、リードイン領域の開始位置を知る。開始位置は、通常、時間情報として格納されている。スペシャル・インフォメーションに書き込まれている情報は、光ディスク25の個別識別コードに相当するものである。当該装置1では、この個別識別コードに対応するライトストラテジ・パラメータと他の関連パラメータとをテーブルとしてあらかじめ記憶している。記録媒体毎には、あらかじめこの補正パラメータが用意されている。
When writing data to the
次に、レーザ出力の最適値を決定するためのOPC(Optical Power Caribration)動作を行なう。上述のライトストラテジが書き込みピット毎のレーザの詳細な制御であるのに対して、OPCは、全体の最適値を算出するための動作である。OPCを行なうことによって、理想的な読み取り目標値に対応した書き込み設定値を得る。 Next, an OPC (Optical Power Calibration) operation for determining an optimum value of the laser output is performed. While the above-described write strategy is detailed control of the laser for each write pit, OPC is an operation for calculating the overall optimum value. By performing OPC, a write set value corresponding to an ideal read target value is obtained.
データの書き込みは、データ・バッファ3中に用意された圧縮済みの撮影画像データに対してCIRCやEFMの符号化処理を行なった後に、ピット形成に必要なレーザの点滅・駆動信号、ライトストラテジ信号としてOP部13のレーザ・ドライバに入力される。このとき、ATIPを復号して得られるFMDT信号から得られるフレーム単位のアドレスを基準としてファイルシステムに沿って、所定の位置にタイミングを合わせて書込みが行なわれる。最初の書込みでは、後のクローズ・セッションの際にリードイン領域となる約20メガバイト分の領域をスキップした位置から書き込みを開始する。
Data is written by performing a CIRC or EFM encoding process on the compressed captured image data prepared in the
光ディスクへの追加記録動作:
本実施形態に係るデータ記録装置1では、OSTAが規定するUDFに準じるファイルシステムに基づいて光ディスク25に対してデータ記録を行なうが、DVD−RやCD−Rなどの1回のみ記録可能な記録メディアに対し、ディスク再生専用装置との間で互換性を確保しながら、複数回にわたって追加記録を行なう点に特徴がある。
Additional recording operations on optical discs:
In the data recording apparatus 1 according to the present embodiment, data recording is performed on the
OSTAでは、CD−RやDVD−R上のファイルを仮想的にはハード・ディスクと同じように修正できるようにするために、UDF標準に対して、Virtual Allocation Table及びVirtual Partition Mapを用いて記録する手法を追加している。しかしながら、多くのディスク再生専用装置ではVAT技術を搭載していないことから、VATを用いてディスクに追加記録を行なうと、ディスク再生専用装置では再生できる状態ではなく、互換性が失われる。そこで、本実施形態に係るデータ記録装置1は、VATを用いないで光ディスクに追加記録を行なうことによって、光ディスクを常にディスク再生専用装置でも再生できる状態に保つ(すなわち、旧来の多くのディスク再生専用装置との互換性を維持する)ようにした。 In OSTA, files on a CD-R or DVD-R can be virtually modified in the same way as a hard disk, and recorded using the Virtual Allocation Table and the Virtual Partition Map against the UDF standard. The technique to be added is added. However, since many disc playback-only devices do not incorporate VAT technology, when additional recording is performed on a disc using VAT, the disc-playback-only device is not ready for playback, and compatibility is lost. Therefore, the data recording apparatus 1 according to the present embodiment performs additional recording on the optical disk without using VAT, so that the optical disk can always be played back by a dedicated disk playback apparatus (that is, many conventional disk playback only). Maintain compatibility with the device).
既に述べたように、UDFではパケット書き込み方式が採用されており、ユーザ・データの前にリンク・ブロックと、4つのRun−In領域を設けるとともに、ユーザ・データの最後に2つのRun−Out領域を設けるボリューム構造のパケットとしてデータ書き込みを行なうようになっている。すなわち、ユーザ・データ領域以外に7ブロックを隣接パケット間の接合領域であるリンク領域(Linking Area)として使用している。また、DVD−RやCD−Rなどの1回のみ記録可能なメディアの場合には、未書き込みの論理セクタを置かずに外周に向かって連続的(incrementaly)にデータを書き込まなければならない。 As described above, the packet writing method is adopted in UDF, and a link block and four Run-In areas are provided in front of user data, and two Run-Out areas are provided at the end of user data. The data is written as a packet having a volume structure. That is, in addition to the user data area, 7 blocks are used as a link area (Linking Area) that is a joint area between adjacent packets. In the case of a medium that can be recorded only once, such as a DVD-R or a CD-R, data must be written continuously toward the outer periphery without placing unwritten logical sectors.
図3には、光ディスクに対して初期化処理を実行した直後のデータ・レイアウトを示している。 FIG. 3 shows a data layout immediately after the initialization process is performed on the optical disc.
最内周から外周に向かって15番目までの論理セクタ(Logical Sector Number:LSN)をNULLデータでパディング(padding)した後、16番目の論理セクタからVRS(Volume Recognition Sequence)と呼ばれる標準情報が書き込まれる。VRSは、ボリューム構造に関するタイプ、識別子、バージョン情報といった情報を記述した1又は複数のボリューム構造記述子(Volume Structure Descriptor)からなる。VRSの内容自体は本発明の要旨に直接関連しないので、ここではこれ以上説明しない。 After padding the 15th logical sector (Logical Sector Number: LSN) from the innermost periphery to the outer periphery with NULL data, standard information called VRS (Volume Recognition Sequence) is written from the 16th logical sector. It is. The VRS is composed of one or a plurality of volume structure descriptors (Volume Structure Descriptors) describing information such as type, identifier, and version information related to the volume structure. The content of the VRS itself is not directly related to the gist of the present invention and will not be further described here.
VRSの書き込みが終わってから511番目の論理セクタに至るまでの領域には第1の予約領域が設けられ、また、512番目から1023番目の論理セクタの領域には第2の予約領域が設けられる。領域の予約は、例えば、SCSI(Small Computer System Interface)−3 Multimedia Commandsで定義されたRESERVE TRACK(トラック予約)コマンドを利用して行なう。 The first reserved area is provided in the area from the end of VRS writing to the 511st logical sector, and the second reserved area is provided in the 512th to 1023rd logical sector areas. . The area reservation is performed by using, for example, a RESERVE TRACK (track reservation) command defined in SCSI (Small Computer System Interface) -3 Multimedia Commands.
また、1024番目の論理セクタ以降の未記録領域は、パーティション、すなわちユーザ・データのファイルや、そのファイルに関するファイルシステム・データを記録するための空間であり、VDS内でその構成が定義される(後述)。パーティション内には、パケット書き込み方式によって、UDFファイルシステムに準じてファイル・データ及びこれに関連するファイルシステム・データを記録することができる。 The unrecorded area after the 1024th logical sector is a partition, that is, a space for recording a file of user data and file system data related to the file, and its configuration is defined in the VDS ( Later). In the partition, file data and related file system data can be recorded according to the UDF file system by a packet writing method.
第1の予約領域は、ファイナライズなど特殊処理を行なう際に、ディスクへの追加記録を終了する段階で内容が確定する所定のファイルシステム・データを最終的に書き込むために確保された領域である。初期化の段階ではこのようなファイルシステム・データをディスクに書き込むことはできないが、DVD−RやCD−Rなどの追記型のディスクにおいては、未記録領域を残さず、記録済み領域の直後の論理セクタから連続的(incremental)にデータ書き込みを行なわなければならない。VRSの直後からユーザ・データの書き込みを開始すると、追記を行なった際にもはやこの領域にファイルシステム・データを書き込むことはできなくなる。一方、この領域にファイルシステム・データを書き込むと、ディスクの内容が確定してしまい、以降の追加記録が不能になってしまう。そこで、本実施形態では、最終的なファイルシステム・データの記録場所を含む領域に第1の予約領域を置くことで、ファイナライズなどの特殊処理時にファイルシステム・データを書き込める状態を保ちながら、予約領域の直後の論理セクタからデータ書き込みを行なえるようにした。 The first reserved area is an area reserved for finally writing predetermined file system data whose contents are determined at the stage of finishing additional recording to the disc when performing special processing such as finalization. In the initialization stage, such file system data cannot be written to the disc. However, in a write-once disc such as a DVD-R or CD-R, an unrecorded area is not left, and a recording area immediately after the recorded area is not stored. Data must be written sequentially from the logical sector. If writing of user data is started immediately after VRS, file system data can no longer be written to this area when additional writing is performed. On the other hand, when file system data is written in this area, the contents of the disc are fixed, and subsequent additional recording becomes impossible. Therefore, in this embodiment, the first reserved area is placed in the area including the final file system data recording location, so that the reserved area can be maintained while the file system data can be written during special processing such as finalization. The data can be written from the logical sector immediately after.
ここで言う、第1の予約領域に最終的に書き込むべきファイルシステム・データは、具体的には、AVDPのことである。AVDPは、ルート・ディレクトリへのポインタ情報などのボリューム構造の中身に関する情報を記述したVDSを指し示すポインタ情報である。 The file system data to be finally written in the first reserved area here is specifically AVDP. AVDP is pointer information indicating a VDS describing information about the contents of a volume structure such as pointer information to a root directory.
UDFでは、パケット書き込みが行なわれたボリューム構造(パケット構造)の中で、VDSを自由に配置することが許容されている。一方、データ書き込みに関する制限事項や必須条件の1つとして、AVDPを256番目の論理セクタと、記録が済んだ最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の少なくとも2箇所にAVDPを記録することが取り決められている。UDFフォーマットに準じたディスクの再生処理を行なうにはVDSを解析する必要があり、VDSにアクセスするためにはAVDPの配置に関する上記の取り決めは極めて重要である。 In UDF, VDS is allowed to be freely arranged in a volume structure (packet structure) in which a packet is written. On the other hand, as one of the restrictions and indispensable conditions for data writing, the AVDP is placed at least in two places, the 256th logical sector and the last logical sector number N and the logical sector number before 256 sectors from the recorded N. It is agreed to record AVDP. It is necessary to analyze the VDS in order to perform playback processing of the disc in accordance with the UDF format, and the above-mentioned arrangement regarding the arrangement of the AVDP is extremely important in order to access the VDS.
図3に示したように、初期化した直後ではボリューム構造の中身がなく、VDSが記述されないから、AVDPは存在しない。また、ディスクへの追加記録が完了するまでは、最終的なAVDPの内容は確定しない。初期化処理の際に256番目の論理セクタにAVDP(1st AVDP)を記録すると、その時点でVDSの情報が確定してしまい、以降はこの光ディスクに対してはUDFに準ずる形式で追加記録を行なうことができなくなってしまう。 As shown in FIG. 3, since there is no volume structure immediately after initialization and no VDS is described, there is no AVDP. Further, the final AVDP contents are not determined until the additional recording on the disc is completed. When AVDP (1st AVDP) is recorded in the 256th logical sector during the initialization process, VDS information is determined at that time, and additional recording is performed on this optical disc in a format conforming to UDF. It becomes impossible to do.
勿論、上述した第1の予約領域を設けずに、VRSの直後からユーザ・データの書き込みを開始し、ディスクに追加記録する度に、各々のパケット構造の中において、常に最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の2箇所にAVDPの書き込みを行なうようにしても、UDFが規定する上記の制約事項・必須条件を満たすことができる。この場合、AVDPを256番目の論理セクタに置くことができなくなる。 Of course, without writing the first reserved area described above, writing of user data is started immediately after the VRS and each time additional recording is performed on the disk, the last logical sector number N is always included in each packet structure. And even if AVDP is written in two locations of logical sector numbers just before 256 sectors from N, the above-mentioned restrictions and essential conditions defined by UDF can be satisfied. In this case, the AVDP cannot be placed in the 256th logical sector.
しかしながら、外周側に位置するAVDPはディスクを取り扱うユーザの手先が振れるなどダメージを受け易く内周側すなわち256番目の論理セクタ番号のAVDPはダメージを受け難いことや、最後の論理セクタ番号N及びNから256セクタだけ手前という近い場所では2つのAVDPがともにダメージを受け易いことを考慮すると、3箇所のうち少なく1箇所は外周側から離間した256番目の論理セクタにAVDP(1st AVDP)を最終的には書き込みたいという要求がある。また、とりわけ低廉に製作される再生専用装置においては256番目の論理セクタ番号のAVDPしか読むことができないことがあり、256番目の論理セクタ番号のAVDPを書き込まなければ互換性を確保できない。 However, the AVDP located on the outer peripheral side is susceptible to damage such as the shake of the user's hand handling the disk, and the AVDP of the inner peripheral side, that is, the 256th logical sector number is less susceptible to damage, and the last logical sector numbers N and N In consideration of the fact that both of the two AVDPs are susceptible to damage at a location close to only 256 sectors from the first, the AVDP (1st AVDP) is finally applied to the 256th logical sector at least one of the three locations separated from the outer peripheral side. Has a request to write. In particular, in a reproduction-only device manufactured at a low cost, only the 256th logical sector number AVDP can be read, and compatibility cannot be ensured unless the 256th logical sector number AVDP is written.
本実施形態では、図3に示したように、初期化時においてVRSを書き込んだ直後から511番目の論理セクタ番号までの領域を予約領域とすることで、将来的に256番目の論理セクタ番号にAVDPの書き込みを行なうことができる状態を保ちながら、1024番目以降に設けられた未記録領域(パーティション)でデータの追加記録を行なうことができる。 In the present embodiment, as shown in FIG. 3, by setting the area from immediately after writing VRS to the 511st logical sector number as a reserved area at the time of initialization, the 256th logical sector number is set in the future. It is possible to perform additional recording of data in an unrecorded area (partition) provided after the 1024th while maintaining a state in which AVDP can be written.
このように、ディスクをファイナライズするまでの各回の追加記録時には、最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の2箇所にAVDPの書き込みを逐次的に行なうことで、各追加記録を行なった時点でのディスクはUDFフォーマットに準じたものとなり、旧来のデータ再生専用装置との互換性を確保する。しかしながら、ディスクへユーザ・データの記録中に記録装置の電源遮断やその他の不慮の事態のために、AVDPの記録に失敗する危険がありファイルシステム・データが解析不能となり、あるいはディスクを再度解析可能な状態にするために長い処理時間を要する。記録動作が失敗することは稀であるが、頻繁に追加記録する場合には、その都度AVDPの記録動作が伴うので、失敗する可能性は高まる。そこで、本実施形態では、追加記録の度に生成されるAVDPを逐次的にバックアップするために第2の予約領域を利用するようにしている。 In this way, at each additional recording until the disc is finalized, each additional recording is performed by sequentially writing AVDP in two locations of the logical sector number just before 256 sectors from the last logical sector number N and N. The disc at the time of recording is in conformity with the UDF format, ensuring compatibility with a conventional data reproduction dedicated device. However, there is a risk that AVDP recording may fail due to power interruption of the recording device or other unforeseen circumstances while recording user data to the disc, making it impossible to analyze the file system data, or re-analyzing the disc It takes a long processing time to achieve a stable state. Although the recording operation rarely fails, when additional recording is frequently performed, the possibility of the failure increases because an AVDP recording operation is accompanied each time. Therefore, in the present embodiment, the second reserved area is used for sequentially backing up AVDP generated at every additional recording.
図4には、光ディスクをフォーマッティングするための処理手順をフローチャートの形式で示している。この処理手順は、実際には、中央処理部5が所定のプログラム・コードを実行するという形態で実現される。
FIG. 4 shows a processing procedure for formatting an optical disc in the form of a flowchart. This processing procedure is actually realized in a form in which the
まず、論理セクタ番号が0〜511までの領域を第1の予約領域として予約し(ステップS1)、続いて、論理セクタ番号が512〜1023までの領域を第2の予約領域として予約する(ステップS2)。
First, an area with logical sector numbers 0 to 511 is reserved as a first reserved area (step S1), and an area with
次いで、論理セクタ番号が0〜15までの領域にダミーデータを記録してパディングを施した後(ステップS3)、論理セクタ番号が16のセクタから、UDFで規定する標準情報の1つであるVRSの記録を行なって(ステップS4)、ディスクのフォーマッティングを終了する。
Next, after dummy data is recorded in the area of logical sector numbers 0 to 15 and padding is performed (step S3), VRS which is one of the standard information defined by UDF from the sector with
図5には、図3に示したデータ・レイアウトで初期化処理が施された光ディスクに対して、1回の追加記録を行なった後のデータ・レイアウトを示している。 FIG. 5 shows a data layout after one additional recording is performed on the optical disc that has been initialized with the data layout shown in FIG.
ディスクへの書き込みには、パケット書き込み方式が適用される(前述)。予約領域の直後の1024番目の論理セクタからユーザ・データ・ファイルの書き込みを開始し、続いてこれに関連するファイルシステム・データの書き込みを行なう。ファイルシステム・データは、UDFファイルシステムに関する情報を記述したUDFファイル・データ構造、VDS、LVIS、AVDPなどである。 For writing to the disk, a packet writing method is applied (described above). The writing of the user data file is started from the 1024th logical sector immediately after the reserved area, and then the file system data related to this is written. The file system data is a UDF file data structure describing information about the UDF file system, VDS, LVIS, AVDP, or the like.
VDS(Volume Descriptor Sequence)は、パーティション(Partition)やLVIS(Logical Volume Integrity Sequence)の開始位置、ルート・ディレクトリへのポインタ情報などのボリューム構造の中身に関する情報を記述した、光ディスク内のファイルシステム構成に関する基本的な情報からなる。 VDS (Volume Descriptor Sequence) is a file system configuration in the optical disc that describes the contents of the volume structure such as the start position of partition (Partition) and LVIS (Logical Volume Integrity Sequence), and pointer information to the root directory. Consists of basic information.
LVISは、例えば光ディスクの空き領域サイズやファイル数などの、光ディスクの状態に関する情報を含んだデータである。 LVIS is data including information related to the state of the optical disk, such as the free area size of the optical disk and the number of files.
AVDP(Anchor Volume Descriptor Pointer)は、VDSの開始位置とサイズに関する情報を含むデータである。 AVDP (Anchor Volume Descriptor Pointer) is data including information on the start position and size of the VDS.
UDFでは、パケット書き込みが行なわれたボリューム構造の中でのVDSやLDVISの配置は自由であるが、2個のVDSを配置することと、AVDPを256番目の論理セクタと(1st AVDP)、記録が済んだ最後の論理セクタ番号N(3rd AVDP)及びNから256セクタだけ手前の論理セクタ番号(2nd AVDP)の3箇所のうち少なくとも2箇所にAVDPを記録することが取り決められている。 In UDF, VDS and LDVIS can be freely arranged in the volume structure in which the packet is written. However, the arrangement of two VDSs, the AVDP as the 256th logical sector (1st AVDP), and recording It is agreed that AVDP is recorded in at least two of the three logical sector numbers N (3rd AVDP) and the logical sector number (2nd AVDP) before 256 sectors before N.
図5に示すように、まだディスクに追加記録を行なう状態(すなわちファイナライズ処理を行なっていない状態)では、最終的なAVDPを256番目の論理セクタに書き込むことはできないが、この時点において記録が済んだ最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の2箇所(すなわち、2nd AVDP及び3rd AVDP)にAVDPが記録されているので、UDFフォーマットに抵触せず、且つディスク再生装置との間で互換性を確保できている。また、2nd AVDP及び3rd AVDP間の余剰領域にはパディングが施される。 As shown in FIG. 5, in the state in which additional recording is still performed on the disc (that is, in the state where finalization processing is not performed), the final AVDP cannot be written in the 256th logical sector, but recording has been completed at this point. However, since AVDP is recorded in two locations (that is, 2nd AVDP and 3rd AVDP) preceding the logical sector number N and N by 256 sectors before the last logical sector number N, there is no conflict with the UDF format and the disc playback apparatus Compatibility can be secured. Also, padding is applied to the surplus area between the 2nd AVDP and the 3rd AVDP.
また、ディスクへユーザ・データの記録中に記録装置の電源遮断やその他の不慮の事態によりAVDPの記録に失敗する危険に備えて、2nd AVDP及び3rd AVDPに記録されたものと同じデータが、第2の予約領域内で最も値の大きいLSNを持つ論理セクタ(すなわち、Next Writable Area)(この場合は1024番目の論理セクタ)に記録される。 In addition, the same data recorded in the 2nd AVDP and 3rd AVDP is recorded in preparation for the risk of AVDP recording failure due to power interruption of the recording device or other unforeseen circumstances while recording user data on the disc. 2 is recorded in the logical sector having the largest LSN in the reserved area (that is, Next Writeable Area) (in this case, the 1024th logical sector).
図6には、図5に示した1回の追加記録が行なわれた後に光ディスクに対して、さらに1回の追加記録を行なった後のデータ・レイアウトを示している。 FIG. 6 shows a data layout after one additional recording is performed on the optical disk after the one additional recording shown in FIG. 5 is performed.
ディスクへの書き込みには、パケット書き込み方式が適用される(同上)。記録済み領域の最後のセクタに続いて(すなわち、ユーザ・データ領域のNext Writable Areaから)、未記録の論理セクタを残さず、ユーザ・データ・ファイルの書き込みが開始され、さらにその直後からファイルシステム・データの書き込みが行なわれる。 A packet writing method is applied to writing to the disk (same as above). Following the last sector of the recorded area (that is, from the next writeable area of the user data area), writing of the user data file is started without leaving an unrecorded logical sector, and the file system immediately thereafter • Data is written.
ファイルシステム・データは、UDFファイル構造に関する情報、FSDS、VDS、LVIS、AVDPなどであり、記録が済んだ最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号に配置された各AVDP(すなわち、2nd AVDP及び3rd AVDP)がそれぞれのVDSを指し示し、2個のAVDP間の余剰領域にはパディングが施される。 The file system data includes information on the UDF file structure, FSDS, VDS, LVIS, AVDP, etc., and the last logical sector number N that has been recorded and each AVDP arranged at the logical sector number before 256 sectors from N (That is, 2nd AVDP and 3rd AVDP) indicate the respective VDS, and padding is applied to the surplus area between the two AVDPs.
ここで、ディスクに追加記録が行なわれる度に、新規に書き込まれる各AVDPは古いVDSを指し示さないので、以前に記録されたファイルシステム・データは新しく記録されたファイルシステム・データから参照されなくなり、無効データとなる。 Here, each time additional recording is performed on the disc, each newly written AVDP does not point to the old VDS, so the previously recorded file system data is no longer referenced from the newly recorded file system data. It becomes invalid data.
また、ディスクへユーザ・データの記録中に記録装置の電源遮断やその他の不慮の事態によりAVDPの記録に失敗する危険に備えて、2nd AVDP及び3rd AVDPに記録されたものと同じデータが、第2の予約領域内で最も値の大きいLSNを持つ論理セクタ(すなわち、Next Writable Area)に記録される。 In addition, the same data recorded in the 2nd AVDP and 3rd AVDP is recorded in preparation for the risk of AVDP recording failure due to power interruption of the recording device or other unforeseen circumstances while recording user data on the disc. 2 is recorded in the logical sector having the largest LSN in the reserved area (that is, Next Writeable Area).
図6に示すように、まだディスクに追加記録を行なう状態(すなわちファイナライズ処理を行なっていない状態)では、最終的なAVDPを256番目の論理セクタに書き込むことはできないが、この時点において記録が済んだ最後の論理セクタ番号N及びNから256セクタだけ手前の論理セクタ番号の2箇所にAVDPが記録されているので、UDFフォーマットに抵触せず、且つディスク再生装置との間で互換性を確保できている。 As shown in FIG. 6, in a state where additional recording is still performed on the disc (that is, a state where finalization processing has not been performed), the final AVDP cannot be written in the 256th logical sector, but recording has been completed at this point. However, since the AVDP is recorded in two locations of the last logical sector number N and 256 sectors before the logical sector number N, the UDF format is not violated and compatibility with the disk playback device can be ensured. ing.
図7には、フォーマットした後のディスク(追加記録した後でファイナライズ処理前のディスクを含む)に対して、図5並びに図6に示したようにユーザ・データを記録するための処理手順をフローチャートの形式で示している。この処理手順は、実際には、中央処理部5が所定のプログラム・コードを実行するという形態で実現される。
FIG. 7 is a flowchart showing a processing procedure for recording user data as shown in FIGS. 5 and 6 on a formatted disc (including a disc after additional recording and before finalization processing). It is shown in the form of This processing procedure is actually realized in a form in which the
まず、記録済み領域の最外周の論理セクタにファイルを追加記録するという形態で、ファイル・データを記録する(ステップS11)。 First, file data is recorded in such a manner that a file is additionally recorded in the outermost logical sector of the recorded area (step S11).
次いで、上記のファイル・データに追加記録する形態で、UDFファイル・データ構造を記録する(ステップS12)。 Next, the UDF file data structure is recorded in the form of additional recording in the file data (step S12).
次いで、上記のUDFファイル・データ構造ファイル・データに追加記録する形態で、2個のVDS、並びにLVISを記録する(ステップS13)。ボリューム構造内では、VDS並びにLVISを自由に配置することができる。 Next, two VDSs and LVIS are recorded in the form of additional recording in the UDF file data structure file data (step S13). Within the volume structure, VDS and LVIS can be freely arranged.
次いで、上記のVDS並びにLVISに追加記録する形態で、AVDPを記録する(ステップS14)。このAVDPは、2個のVDSをそれぞれ指し示している。 Next, AVDP is recorded in the form of additional recording in the above VDS and LVIS (step S14). This AVDP points to two VDSs, respectively.
さらに、AVDPに追加記録する形でダミーデータを255セクタ分だけ記録してパディングを施した後(ステップS15)、このダミーデータに追加記録する形態で、2個のVDSをそれぞれ指し示すAVDPを記録する(ステップS16)。 Further, after dummy data is recorded for 255 sectors in the form of additional recording in the AVDP and padded (step S15), the AVDP indicating two VDSs is recorded in the form of additional recording in the dummy data. (Step S16).
このようにして2nd AVDP及び3rd AVDPを記録した後、ディスクへユーザ・データの記録中に記録装置の電源遮断やその他の不慮の事態によりAVDPの記録に失敗する危険に備え、2nd AVDP及び3rd AVDPに記録されたものと同じデータが、第2の予約領域内で最も値の大きいLSNを持つ論理セクタ(すなわち、Next Writable Area)に記録する(ステップS17)。 After recording 2nd AVDP and 3rd AVDP in this way, 2nd AVDP and 3rd AVDP are prepared for the risk of failing to record AVDP due to power interruption of the recording device or other unforeseen circumstances while recording user data on the disc. The same data as that recorded in the second reserved area is recorded in the logical sector having the largest LSN in the second reserved area (ie, Next Writeable Area) (step S17).
図8には、図6に示した光ディスクに対してファイナライズ処理をした後のデータ・レイアウトを示している。 FIG. 8 shows a data layout after finalizing the optical disk shown in FIG.
図6に示したように、32番目の論理セクタ以降から、第2の予約領域の直前の511番目までの論理セクタは、第1の予約領域となっている。 As shown in FIG. 6, the logical sector from the 32nd logical sector to the 511th logical sector immediately before the second reserved area is the first reserved area.
ファイナライズ処理では、UDFにおけるデータ書き込みに関する制限事項・必須条件に従って、256番目の論理セクタからAVDPの記録を開始する。そして、32番目の論理セクタ以降からAVDPの記録が行なわれる直前の255番目までの論理セクタ、並びに、AVDPの記録が済んだ直後から511番目までの論理セクタにダミーデータを書き込んでパディングを施す。 In the finalizing process, AVDP recording is started from the 256th logical sector in accordance with restrictions and essential conditions concerning data writing in UDF. Then, dummy data is written and padded in the logical sector from the 32nd logical sector to the 255th logical sector immediately before AVDP recording, and the 511th logical sector immediately after AVDP recording.
また、第2の予約領域は、最後にバックアップ用のAVDPが記録された以降の論理セクタ(すなわち、Next Writable Area)から1023番目までの論理セクタにダミーデータを書き込んでパディングを施す。 In the second reserved area, dummy data is written in the 1023rd logical sector from the logical sector (that is, the next writeable area) after the AVDP for backup is recorded last to perform padding.
256番目の論理セクタから記録されたAVDP(1st AVDP)は、最後の追加記録によって記録されたファイルシステム・データ内の2個のVDSを指し示し、この時点でVDSの情報が確定し、以降はこの光ディスクに対してはUDFに準ずる形式で追加記録を行なうことができなくなる。 AVDP (1st AVDP) recorded from the 256th logical sector indicates two VDSs in the file system data recorded by the last additional recording. At this time, the VDS information is determined. It becomes impossible to perform additional recording on the optical disc in a format conforming to UDF.
最後の追加記録によって記録されたファイルシステム・データ内の2個のAVDP(2nd AVDP及び3rd AVDP)によっても、UDFにおけるデータ書き込みに関する制限事項・必須条件を満たすことができるが、外周側に位置するAVDPはディスクを取り扱うユーザの手先が振れるなどダメージを受け易い。これに対し、内周側すなわち256番目の論理セクタ番号のAVDPはダメージを受け難い。また、256番目の論理セクタ番号のAVDPしか読むことができない再生専用装置があり、図8に示したようなデータ・レイアウトによれば幅広く互換性を確保することができる。 The two AVDPs (2nd AVDP and 3rd AVDP) in the file system data recorded by the last additional recording can satisfy the restrictions and essential conditions regarding data writing in UDF, but they are located on the outer circumference side. AVDP is susceptible to damage such as shaking of the user's hand handling the disc. On the other hand, the AVDP of the inner periphery side, that is, the 256th logical sector number is hardly damaged. In addition, there is a read-only device that can read only the AVDP of the 256th logical sector number, and according to the data layout as shown in FIG. 8, wide compatibility can be ensured.
図9には、ディスクをファイナライズするための処理手順をフローチャートの形式で示している。この処理手順は、実際には、中央処理部5が所定のプログラム・コードを実行するという形態で実現される。
FIG. 9 shows a processing procedure for finalizing the disc in the form of a flowchart. This processing procedure is actually realized in a form in which the
まず、ディスク・フォーマット時に予約しておいた領域中の論理セクタ番号が255までの領域にダミーデータを記録してパディングを施す(ステップS21)。 First, dummy data is recorded in an area up to 255 in the area reserved at the time of disk formatting and padding is performed (step S21).
次いで、256番目の論理セクタから、AVDPの記録を行なう(ステップS22)。ここで記録されるAVDPは、最後の追加記録によって記録されたファイルシステム・データ内の2個のVDSを指し示し、この時点でVDSの情報が確定し、以降はこの光ディスクに対してはUDFに準ずる形式で追加記録を行なうことができなくなる。 Next, AVDP recording is performed from the 256th logical sector (step S22). The AVDP recorded here indicates the two VDSs in the file system data recorded by the last additional recording. At this time, the VDS information is determined. Thereafter, the optical disc conforms to the UDF. It becomes impossible to perform additional recording in the format.
そして、AVDPの記録が済んだ以降から1023番目の論理セクタまでの余剰の予約領域にダミーデータを記録してパディングを施し(ステップS23)、ディスクの境界をクローズする処理を施すことによって(ステップS24)、ファイナライズ処理を終了する。 Then, dummy data is recorded in the extra reserved area from the end of AVDP recording to the 1023rd logical sector, padding is performed (step S23), and the process of closing the boundary of the disk is performed (step S24). ), The finalizing process is terminated.
ここまでは、追記型のディスクを初期化(フォーマッティング)してからファイナライズするまで、すべての処理が成功裏に終了した場合について説明してきた。しかしながら、現実には、ディスクへユーザ・データの記録中に記録装置の電源遮断やその他の不慮の事態が発生する可能性は皆無ではない。 Up to this point, the description has been given of the case where all the processes from the initialization (formatting) of the write-once disc to the finalization are completed successfully. However, in reality, there is no possibility that the recording apparatus may be turned off or other unforeseen circumstances may occur during recording of user data on the disc.
図6には、図5に示した1回の追加記録が行なわれた後に光ディスクに対して、さらに1回の追加記録を行なった後のデータ・レイアウトを示したが、図10には、これとの対比で、2回目の追加記録の途中で電源遮断などによりユーザ・データの記録が中断したときのデータ・レイアウトを示している。図10では、記録済み領域の最後のセクタに続いてユーザ・データ・ファイルの書き込みを行なう途中で、ファイルシステム・データの記録を行なうことなしに記録動作が途切れている。言い換えれば、最後の論理セクタ番号N及びNから256セクタだけ手前の2箇所には有効なAVDP(すなわち、2nd AVDP及び3rd AVDP)は存在しない。また、上述したファイナライズ処理を行なう前であるから、256番目の論理セクタにも有効なAVDP(すなわち1st AVDP)は存在しない。このように規定の3箇所のいずれにも有効なAVDPが存在しないことから、当該ディスクはUDFフォーマットに抵触し、他のディスク再生装置に入れ替えた場合には互換性が全く補償されない。 FIG. 6 shows a data layout after one additional recording is performed on the optical disc after the one additional recording shown in FIG. 5 is performed. In contrast to this, the data layout is shown when user data recording is interrupted due to power interruption or the like during the second additional recording. In FIG. 10, during the writing of the user data file following the last sector of the recorded area, the recording operation is interrupted without recording the file system data. In other words, there is no effective AVDP (that is, 2nd AVDP and 3rd AVDP) in two places before 256 sectors from the last logical sector numbers N and N. Further, since the finalizing process is not performed, there is no effective AVDP (that is, 1st AVDP) in the 256th logical sector. Thus, since there is no effective AVDP in any of the three specified locations, the disc conflicts with the UDF format, and compatibility is not compensated at all when the disc is replaced with another disc reproducing apparatus.
他方、既に述べたように、本実施形態では、ディスクへの追加記録を行なう度に第2の予約領域内にAVDPのバックアップを記録するようになっている。すなわち、第2の予約領域内で最も値の大きいLSNを持つ論理セクタには、追加記録に失敗する直前までに有効であったAVDPが記録されているので、この最も新しいAVDPを基に、最後の論理セクタ番号N及びNから256セクタだけ手前の2箇所に2nd AVDP及び3rd AVDPを記録することによって、追加記録に失敗する直前の状態を擬似的に再現して、ディスクを追加記録可能な状態に修復することができる。 On the other hand, as described above, in this embodiment, an AVDP backup is recorded in the second reserved area every time additional recording is performed on the disc. That is, since the AVDP that was valid until immediately before the additional recording failed is recorded in the logical sector having the largest LSN in the second reserved area, the last one is based on this newest AVDP. By recording 2nd AVDP and 3rd AVDP in two places before 256 sectors from the logical sector numbers N and N, the state immediately before the failed additional recording is simulated and the disk can be additionally recorded Can be repaired.
図11には、図10に示したユーザ・データの記録が中断したディスクを修復処理したときのデータ・レイアウトを示している。 FIG. 11 shows a data layout when the disk in which user data recording shown in FIG. 10 is interrupted is repaired.
第2の予約領域内で最も値の大きいLSNを持つ論理セクタに記録されているAVDPを読み出すと、それを基に最後の論理セクタ番号N及びNから256セクタだけ手前の2箇所に2nd AVDP及び3rd AVDPを記録することで、ユーザ・データの追加記録に失敗する前の状態を復元している。図示のデータ・レイアウトは、勿論、図5に示したデータ・レイアウトとは相違するが(追加記録が中断したユーザ・データは無効な領域となる)、2nd AVDP及び3rd AVDPから、有効なユーザ・データへアクセスするためのVDSなどのファイルシステム・データを参照することができるので、UDFフォーマットに合致するとともに、他のデータ再生装置との互換性が保たれている。また、図5並びに図6に示したデータ・フォーマットと同様に、最外周からさらにユーザ・データの追加記録が可能である。 When the AVDP recorded in the logical sector having the largest LSN in the second reserved area is read, 2nd AVDP and 2nd AVDP and 256 sectors before the last logical sector number N and N are read based on the AVDP. By recording 3rd AVDP, the state before the user data additional recording fails is restored. Of course, the data layout shown in FIG. 5 is different from the data layout shown in FIG. 5 (the user data in which the additional recording is interrupted becomes an invalid area). From the 2nd AVDP and the 3rd AVDP, an effective user Since file system data such as VDS for accessing data can be referred to, it conforms to the UDF format and is compatible with other data reproducing apparatuses. Further, similarly to the data format shown in FIGS. 5 and 6, additional user data can be recorded from the outermost periphery.
図12には、追加記録に失敗したディスクを追加記録可能な状態に修復するための処理手順をフローチャートの形式で示している。この処理手順は、実際には、中央処理部5が所定のプログラム・コードを実行するという形態で実現される。
FIG. 12 is a flowchart showing a processing procedure for repairing a disc that has failed in additional recording to a state in which additional recording is possible. This processing procedure is actually realized in a form in which the
まず、第2の予約領域内で最も値の大きいLSNを持つ論理セクタからAVDPの読み出しを試みる(ステップS31)。 First, AVDP reading is attempted from the logical sector having the largest LSN in the second reserved area (step S31).
ここで、第2の予約領域内で最も値の大きいLSNを持つ論理セクタからAVDPを読み出すことができなかったときには(ステップS32のNo)、当該処理に失敗したとして、本処理ルーチン全体を終了する。 Here, when the AVDP cannot be read from the logical sector having the largest LSN in the second reserved area (No in step S32), it is determined that the process has failed and the entire processing routine is terminated. .
一方、第2の予約領域内で最も値の大きいLSNを持つ論理セクタからAVDPを読み出すことができたときには(ステップS32のYes)、読み出したAVDPを基に、書き込み済み領域の最外周の論理セクタ番号に1個目のAVDP(2nd AVDP)を記録する(ステップS33)。このAVDPは、有効な2個のVDSをそれぞれ指し示している。 On the other hand, when the AVDP can be read from the logical sector having the largest LSN in the second reserved area (Yes in step S32), the outermost logical sector of the written area is based on the read AVDP. The first AVDP (2nd AVDP) is recorded in the number (step S33). This AVDP points to two valid VDSs.
さらに、AVDPに追加記録する形でダミーデータを255セクタ分だけ記録してパディングを施した後(ステップS34)、このダミーデータに追加記録する形態で、2個のVDSをそれぞれ指し示す2個目のAVDP(3rd AVDP)を記録する(ステップS35)。 Further, after the dummy data is recorded for 255 sectors in the form of additional recording in the AVDP and padded (step S34), the second data indicating the two VDSs is recorded in the form of additional recording in the dummy data. AVDP (3rd AVDP) is recorded (step S35).
また、図13には、既にユーザ・データの記録が行なわれたディスクが記録部4に装填されたときに実施される、ディスク認識処理の手順をフローチャートの形式で示している。この処理手順は、実際には、中央処理部5が所定のプログラム・コードを実行するという形態で実現される。
FIG. 13 is a flowchart showing a disc recognition process performed when a disc on which user data has already been recorded is loaded in the
まず、記録済み領域の最外周、若しくは256番目の論理セクタにアクセスして、ファイルシステム・データを取得して、その解析を行なう(ステップS41)。 First, the outermost periphery of the recorded area or the 256th logical sector is accessed to obtain file system data and analyze it (step S41).
ここで、ファイルシステム・データの解析に失敗したときには(ステップS42のNo)、装填されたディスクは図10に示したようにユーザ・データの記録が中断したために、UDFフォーマットに抵触する状態となっている可能性がある。そこで、この場合には、当該ディスクに対して修復処理を実施する(ステップS47)。 Here, when the analysis of the file system data has failed (No in step S42), since the recording of the user data is interrupted as shown in FIG. 10, the loaded disc is in a state in conflict with the UDF format. There is a possibility. Therefore, in this case, a repair process is performed on the disk (step S47).
ステップS47における修復処理は、図12に示した処理手順に従って行なわれる。そして、ディスクの第2の予約領域内にAVDPのバックアップが記録されているときには、これに基づいて最後の論理セクタ番号N及びNから256セクタだけ手前の2箇所に2nd AVDP及び3rd AVDPを記録することで、ユーザ・データの追加記録に失敗する前の状態(図11を参照のこと)を復元することができる。ステップS47を終えると、当該処理に成功したか否かをチェックする(ステップS48)。復元処理に成功していればステップS41に復帰するが、成功していなければ、ディスクの認識に失敗したものとして、本処理ルーチン全体を終了する。 The repair process in step S47 is performed according to the process procedure shown in FIG. Then, when an AVDP backup is recorded in the second reserved area of the disc, 2nd AVDP and 3rd AVDP are recorded at two locations just before 256 sectors from the last logical sector numbers N and N based on this. As a result, it is possible to restore the state (see FIG. 11) before the user data additional recording failed. When step S47 is completed, it is checked whether or not the process is successful (step S48). If the restoration process is successful, the process returns to step S41. If the restoration process is not successful, it is determined that the disk recognition has failed, and the entire processing routine is terminated.
ファイルシステム・データの解析に成功し、又はディスクの修復処理によってファイルシステム・データが解析できるようになったときには(ステップS42のYes)、続いて、装填中のディスクは追加記録が可能かどうかを判定処理する(ステップS43)。この追加記録の可否判定処理は別途定義されている。 When the analysis of the file system data is successful or the file system data can be analyzed by the disk repair process (Yes in step S42), subsequently, whether the loaded disk can be additionally recorded is checked. Determination processing is performed (step S43). This additional recording permission / inhibition determination process is separately defined.
ここで、追加記録が不可能と判定された場合には(ステップS44のNo)、以後は読み取り専用ディスクとして認識し(ステップS45)、追加記録が可能と判定された場合には(ステップS44のYes)、以後は追加記録が可能なディスクとして認識する(ステップS46)。 If it is determined that additional recording is not possible (No in step S44), the disk is subsequently recognized as a read-only disk (step S45). If it is determined that additional recording is possible (step S44). After that, it is recognized as a disc that can be additionally recorded (step S46).
図14には、図13に示したフローチャートのステップS43で実行される、ディスクへの追加記録の可否判定処理の手順をフローチャートの形式で示している。この処理手順は、実際には、中央処理部5が所定のプログラム・コードを実行するという形態で実現される。
FIG. 14 shows, in the form of a flowchart, the procedure of the process for determining whether or not to allow additional recording to the disc, which is executed in step S43 of the flowchart shown in FIG. This processing procedure is actually realized in a form in which the
まず、256番目の論理セクタにアクセスし、AVDPが記録されているかどうかを確認する(ステップS51)。 First, the 256th logical sector is accessed to check whether AVDP is recorded (step S51).
256番目の論理セクタにAVDPが記録されている場合には、続いて記録領域のボーダーがクローズされているかどうかをチェックする(ステップS52)。 If AVDP is recorded in the 256th logical sector, it is subsequently checked whether the border of the recording area is closed (step S52).
そして、ボーダーがクローズされている場合には、当該ディスクが追記可能状態であると判定する(ステップS53)。 If the border is closed, it is determined that the disc is in a recordable state (step S53).
一方、256番目の論理セクタにAVDPが記録されていない場合、あるいは、256番目の論理セクタにAVDPが記録されているがボーダーがクローズされていない場合には、当該ディスクは追記不可状態と判定する(ステップS54)。 On the other hand, if the AVDP is not recorded in the 256th logical sector, or if the AVDP is recorded in the 256th logical sector but the border is not closed, the disc is determined to be in an additionally recordable state. (Step S54).
以上、特定の実施形態を参照しながら、本発明について詳解してきた。しかしながら、本発明の要旨を逸脱しない範囲で当業者が該実施形態の修正や代用を成し得ることは自明である。 The present invention has been described in detail above with reference to specific embodiments. However, it is obvious that those skilled in the art can make modifications and substitutions of the embodiment without departing from the gist of the present invention.
本明細書では、OSTAが策定するUDFフォーマットに準じて1回のみ記録可能な光ディスクに追加記録する際に本発明を適用した実施形態を中心に説明してきたが、本発明の要旨はこれに限定されるものではない。追加記録を終了するまでは内容が確定しないファイルシステム・データをディスク内周側に配置したいが、最内周から連続的にデータを記録していかなければならないという同様の制約事項があるファイルシステム・フォーマットが課されている場合に、本発明を適用することで同様の効果を得ることができる。また、記録メディアの種別は特に光ディスクに限定されない。 In the present specification, the embodiment in which the present invention is applied when additional recording is performed on an optical disc that can be recorded only once according to the UDF format established by OSTA has been described. However, the gist of the present invention is limited to this. It is not done. File system data whose contents are not fixed until the end of additional recording is placed on the inner circumference side of the disk, but the file system has the same restriction that data must be recorded continuously from the innermost circumference When the format is imposed, the same effect can be obtained by applying the present invention. In addition, the type of the recording medium is not particularly limited to the optical disc.
要するに、例示という形態で本発明を開示してきたのであり、本明細書の記載内容を限定的に解釈するべきではない。本発明の要旨を判断するためには、特許請求の範囲を参酌すべきである。 In short, the present invention has been disclosed in the form of exemplification, and the description of the present specification should not be interpreted in a limited manner. In order to determine the gist of the present invention, the claims should be taken into consideration.
1…カメラ・ブロック
2…画像信号演算部
3…データ・バッファ
4…記録部
5…中央処理部
6…一時記憶媒体
10…デジタルカメラ
13…OP部
14…RF処理部
15…サーボ信号処理部
16…アナログ・フィルタ部
17…信号処理部
18…スピンドル・ドライバ
19…スレッド・ドライバ
20…トラッキング・ドライバ
21…フォーカス・ドライバ
22…スピンドル・モータ
23…スレッド・モータ
25…記録メディア(光ディスク)
DESCRIPTION OF SYMBOLS 1 ... Camera block 2 ... Image
Claims (6)
ディスク最内周から所定の論理セクタ位置に標準情報を記録するとともに、該標準情報の記録が済んだ直後から前記第1の論理セクタを含む第1の予約領域を予約するとともに、前記第1の予約領域の直後からファイル・データ記録開始位置となる第4の論理セクタの直前までの第2の予約領域を予約して、ディスクの初期化を行なうディスク初期化手段と、
前記第2の予約領域の直後となる第4の論理セクタ(但し、初期化した直後でファイル・データが未記録のディスクの場合)、又は記録済み領域の直後の論理セクタから連続的にファイル・データ及びファイルシステム・データの記録を行なうとともに、記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所にファイルシステム・データに対する参照情報を記録するデータ記録手段と、
前記第2の予約領域中の未使用領域の最内周から前記データ記録手段が記録したファイルシステム・データへの参照情報のバックアップを記録する参照情報バックアップ手段と、
を具備することを特徴とするデータ記録装置。 A data recording apparatus for performing additional recording on a disk composed of a plurality of logical sectors according to a predetermined file system format, wherein the first logical sector on the inner circumference side of the disk is used in the predetermined file system format. In addition, it is determined to record the reference information for the file system data in at least two of the second and third logical sectors on the inner circumference side from the last logical sector that has been recorded,
The standard information is recorded at a predetermined logical sector position from the innermost circumference of the disk, the first reserved area including the first logical sector is reserved immediately after the recording of the standard information, and the first Disk initialization means for reserving the second reserved area immediately after the reserved area and immediately before the fourth logical sector serving as the file / data recording start position, and for initializing the disk;
A fourth logical sector immediately after the second reserved area (in the case of a disk in which file data has not been recorded immediately after initialization), or a continuous file from the logical sector immediately after the recorded area Data recording means for recording data and file system data, and for recording reference information for file system data in two locations of the second and third logical sectors on the inner circumference side from the last logical sector that has been recorded When,
Reference information backup means for recording a backup of reference information from the innermost circumference of the unused area in the second reserved area to the file system data recorded by the data recording means;
A data recording apparatus comprising:
ことを特徴とする請求項1に記載のデータ記録装置。 The predetermined file system format is UDF (Universal Disk Format) formulated by OSTA (Optical Storage Technology Association).
The data recording apparatus according to claim 1, wherein:
前記ディスク認識手段が当該ディスクを認識できないときに、前記第2の予約領域の最も値の大きい論理セクタにバックアップされたファイルシステム・データへの参照情報を読み出し、第4の論理セクタ以降の記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所に該参照情報を記録して、当該ディスクを前記データ記録手段によって追加記録することが可能な状態に修復する修復手段と、
をさらに備えることを特徴とする請求項1に記載のデータ記録装置。 When a disk is newly loaded, the disk is analyzed by analyzing file system data at two locations of the second and third logical sectors on the inner circumference side from the last logical sector on which the disk has been recorded. Disc recognition means for recognizing
When the disk recognizing unit cannot recognize the disk, the reference information to the file system data backed up in the logical sector having the largest value in the second reserved area is read, and the recording after the fourth logical sector is recorded. The reference information is recorded in two locations of the second and third logical sectors on the inner circumference side from the last logical sector that has been completed, and the disk is restored to a state where it can be additionally recorded by the data recording means. Repair means,
The data recording apparatus according to claim 1, further comprising:
ことを特徴とする請求項1に記載のデータ記録装置。 When the additional recording to the disk is completed by the data recording means, the last recorded file is padded with dummy data from the inner circumference side of the reserved area to immediately before the first logical sector. Finalization processing means for starting recording of reference information for system data from the first logical sector and padding an area from immediately after the recording of the reference information to immediately before the fourth logical sector with dummy data; In addition,
The data recording apparatus according to claim 1, wherein:
ディスク最内周から所定の論理セクタ位置に標準情報を記録するとともに、該標準情報の記録が済んだ直後から前記第1の論理セクタを含む第1の予約領域を予約するとともに、前記第1の予約領域の直後からファイル・データ記録開始位置となる第4の論理セクタの直前までの第2の予約領域を予約して、ディスクの初期化を行なうディスク初期化ステップと、
前記第2の予約領域の直後となる第4の論理セクタ(但し、初期化した直後でファイル・データが未記録のディスクの場合)、又は記録済み領域の直後の論理セクタから連続的にファイル・データ及びファイルシステム・データの記録を行なうとともに、記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所にファイルシステム・データに対する参照情報を記録するデータ記録ステップと、
前記第2の予約領域中の未使用領域の最内周から前記データ記録手段が記録したファイルシステム・データへの参照情報のバックアップを記録する参照情報バックアップ・ステップと、
新たに装填されたディスクの記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所においてファイルシステム・データの解析を行なうことを通じて当該ディスクを認識するディスク認識ステップと、
前記ディスク認識ステップにおいてディスクを認識できないときに、前記第2の予約領域の最も値の大きい論理セクタにバックアップされたファイルシステム・データへの参照情報を読み出し、第4の論理セクタ以降の記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所に該参照情報を記録して、当該ディスクを前記データ記録ステップにおいて追加記録することが可能な状態に修復する修復ステップと、
ディスクへの追加記録を終了する際に、前記の予約された領域の内周側から前記第1の論理セクタの直前までをダミーデータでパディングし、最後に追加記録されたファイルシステム・データに対する参照情報の記録を前記第1の論理セクタから開始し、該参照情報の記録が済んだ直後から前記第4の論理セクタの直前までの領域をダミーデータでパディングするファイナライズ処理ステップと、
を具備することを特徴とするデータ記録方法。 A data recording method for performing additional recording on a disk composed of a plurality of logical sectors according to a predetermined file system format, wherein the first logical sector on the inner circumference side of the disk is used in the predetermined file system format. In addition, it is determined to record the reference information for the file system data in at least two of the second and third logical sectors on the inner circumference side from the last logical sector that has been recorded,
The standard information is recorded at a predetermined logical sector position from the innermost circumference of the disk, the first reserved area including the first logical sector is reserved immediately after the recording of the standard information, and the first A disk initialization step for reserving the second reserved area immediately after the reserved area and immediately before the fourth logical sector serving as the file data recording start position, and for initializing the disk;
A fourth logical sector immediately after the second reserved area (in the case of a disk in which file data has not been recorded immediately after initialization), or a continuous file from the logical sector immediately after the recorded area Data recording step for recording data and file system data, and recording reference information for the file system data in two locations of the second and third logical sectors on the inner circumference side from the last logical sector that has been recorded When,
A reference information backup step of recording a backup of reference information from the innermost circumference of the unused area in the second reserved area to the file system data recorded by the data recording means;
Disc recognition step for recognizing the disc by analyzing file system data at two locations of the second and third logical sectors on the inner circumference side from the last logical sector on which the newly loaded disc has been recorded When,
When the disc cannot be recognized in the disc recognition step, the reference information to the file system data backed up in the logical sector having the largest value in the second reserved area is read, and the recording after the fourth logical sector is completed. The reference information is recorded in two locations of the second and third logical sectors on the inner circumference side from the last logical sector, and the disc is repaired so that the disc can be additionally recorded in the data recording step. Steps,
When the additional recording to the disk is finished, padding is performed from the inner circumference side of the reserved area to immediately before the first logical sector with dummy data, and a reference to the file system data recorded last is added A finalize processing step of starting information recording from the first logical sector and padding an area from immediately after the recording of the reference information to immediately before the fourth logical sector with dummy data;
A data recording method comprising:
前記所定のファイルシステム・フォーマットでは、ディスク内周側の第1の論理セクタ及び記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタのうち少なくとも2箇所にファイルシステム・データに対する参照情報を記録することが決められており、
前記コンピュータに対し、
ディスク最内周から所定の論理セクタ位置に標準情報を記録するとともに、該標準情報の記録が済んだ直後から前記第1の論理セクタを含む第1の予約領域を予約するとともに、前記第1の予約領域の直後からファイル・データ記録開始位置となる第4の論理セクタの直前までの第2の予約領域を予約して、ディスクの初期化を行なうディスク初期化手順と、
前記第2の予約領域の直後となる第4の論理セクタ(但し、初期化した直後でファイル・データが未記録のディスクの場合)、又は記録済み領域の直後の論理セクタから連続的にファイル・データ及びファイルシステム・データの記録を行なうとともに、記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所にファイルシステム・データに対する参照情報を記録するデータ記録手順と、
前記第2の予約領域中の未使用領域の最内周から前記データ記録手段が記録したファイルシステム・データへの参照情報のバックアップを記録する参照情報バックアップ手順と、
新たに装填されたディスクの記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所においてファイルシステム・データの解析を行なうことを通じて当該ディスクを認識するディスク認識手順と、
前記ディスク認識手順を実行してディスクを認識できないときに、前記第2の予約領域の最も値の大きい論理セクタにバックアップされたファイルシステム・データへの参照情報を読み出し、第4の論理セクタ以降の記録が済んだ最後の論理セクタから内周側の第2及び第3の論理セクタの2箇所に該参照情報を記録して、当該ディスクを追加記録することが可能な状態に修復する修復手順と、
ディスクへの追加記録を終了する際に、前記の予約された領域の内周側から前記第1の論理セクタの直前までをダミーデータでパディングし、最後に追加記録されたファイルシステム・データに対する参照情報の記録を前記第1の論理セクタから開始し、該参照情報の記録が済んだ直後から前記第4の論理セクタの直前までの領域をダミーデータでパディングするファイナライズ処理手順と、
を実行させることを特徴とするコンピュータ・プログラム。
According to a predetermined file system format, a computer program described in a computer-readable format so that a process for performing additional recording on a disk composed of a plurality of logical sectors is executed on a computer,
In the predetermined file system format, at least two of the first logical sector on the inner circumference side of the disk and the second logical sector on the inner circumference side from the last logical sector on which recording has been performed are placed in the file system. It is decided to record reference information for the data,
For the computer
The standard information is recorded at a predetermined logical sector position from the innermost circumference of the disk, the first reserved area including the first logical sector is reserved immediately after the recording of the standard information, and the first A disk initialization procedure for reserving the second reserved area from immediately after the reserved area to immediately before the fourth logical sector as the file / data recording start position, and for initializing the disk;
A fourth logical sector immediately after the second reserved area (in the case of a disk in which file data has not been recorded immediately after initialization), or a continuous file from the logical sector immediately after the recorded area Data recording procedure for recording data and file system data, and recording reference information for the file system data in the second and third logical sectors on the inner circumference side from the last logical sector that has been recorded When,
A reference information backup procedure for recording a backup of reference information from the innermost circumference of the unused area in the second reserved area to the file system data recorded by the data recording means;
Disc recognition procedure for recognizing a disc by analyzing file system data at two locations of the second and third logical sectors on the inner circumference side from the last logical sector on which a newly loaded disc has been recorded When,
When the disk cannot be recognized by executing the disk recognition procedure, the reference information to the file system data backed up in the logical sector having the largest value in the second reserved area is read, A repair procedure for recording the reference information in two locations of the second and third logical sectors on the inner circumference side from the last recorded logical sector and repairing the disc to a state in which additional recording is possible; ,
When the additional recording to the disk is finished, padding is performed from the inner circumference side of the reserved area to immediately before the first logical sector with dummy data, and a reference to the file system data recorded last is added A finalizing process procedure in which information recording is started from the first logical sector, and an area from immediately after the recording of the reference information to immediately before the fourth logical sector is padded with dummy data;
A computer program for executing
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007228330A JP2009059454A (en) | 2007-09-03 | 2007-09-03 | Data recording apparatus, data recording method, and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007228330A JP2009059454A (en) | 2007-09-03 | 2007-09-03 | Data recording apparatus, data recording method, and computer program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2009059454A true JP2009059454A (en) | 2009-03-19 |
Family
ID=40555038
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007228330A Pending JP2009059454A (en) | 2007-09-03 | 2007-09-03 | Data recording apparatus, data recording method, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009059454A (en) |
-
2007
- 2007-09-03 JP JP2007228330A patent/JP2009059454A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1898409A1 (en) | Data recording device, data recording method, and computer program | |
| JP3722057B2 (en) | Data recording / reproducing apparatus, data recording / reproducing method, and digital camera | |
| CN101341542B (en) | Data recording device, data recording method, and computer program | |
| JP4769881B2 (en) | Digital data recording method, recording apparatus and reproducing apparatus | |
| US7940627B2 (en) | Data recording device, data recording method, and computer program | |
| US7911887B2 (en) | Data recording and reproducing apparatus, data recording and reproducing method, and computer program | |
| JP2009059454A (en) | Data recording apparatus, data recording method, and computer program | |
| JP4092907B2 (en) | Data reproduction apparatus, data reproduction method, and digital camera | |
| US7734964B2 (en) | Optical disc recording/reproducing apparatus | |
| US7693024B2 (en) | Recording/reproducing method and disc | |
| US20090304366A1 (en) | Reliable video recording on optical discs | |
| US8176244B2 (en) | Information processing device, information recording medium, information processing method and computer program | |
| JP2009211746A (en) | Optical disc recording apparatus | |
| JP2006277859A (en) | Method of recording information on optical disk, and optical disk drive | |
| JP2007188584A (en) | Recording apparatus, recording method, and recording program | |
| JP2008059704A (en) | Optical disc recording / reproducing apparatus and optical disc recording / reproducing method | |
| TW200813999A (en) | Method and device for handling optical discs of the rewritable type | |
| JP2005346858A (en) | Information recording medium, information recording / reproducing apparatus, and information recording / reproducing program | |
| JP2004335033A (en) | Write-once recording medium, recording method, recording apparatus |