JP4171986B2 - Recording apparatus and method, and program - Google Patents
Recording apparatus and method, and program Download PDFInfo
- Publication number
- JP4171986B2 JP4171986B2 JP2004047746A JP2004047746A JP4171986B2 JP 4171986 B2 JP4171986 B2 JP 4171986B2 JP 2004047746 A JP2004047746 A JP 2004047746A JP 2004047746 A JP2004047746 A JP 2004047746A JP 4171986 B2 JP4171986 B2 JP 4171986B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- recording
- marker
- recording medium
- recorded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Description
本発明は、記録装置および方法、並びにプログラムに関し、特に、記録媒体に対してデータを記録している際、その記録の処理が正常に終了されなかった場合においても、記録媒体に記録されたデータを読み出せるようにした記録装置および方法、並びにプログラムに関する。 The present invention relates to a recording apparatus, method, and program, and in particular, when data is recorded on a recording medium, the data recorded on the recording medium even when the recording process is not completed normally The present invention relates to a recording apparatus and method, and a program that can read data.
ディジタルビデオカメラにより撮像された映像を記録する記録媒体として、磁気テープや光ディスクなどが知られている。撮像された映像(および集音された音声)のデータ(以下、映像データおよび音声データを合わせてAVデータと記述する)を、光ディスク等のようにファイルシステムを用いてAVデータを管理する記録媒体に記録した場合、磁気テープに記録した場合と比較して、より迅速に所望する位置から映像および音声を再生することができるという利点がある。 As a recording medium for recording an image picked up by a digital video camera, a magnetic tape, an optical disk, and the like are known. Recording medium for managing video data (and collected audio) data (hereinafter referred to as AV data together with video data and audio data) using a file system such as an optical disc In the case of recording on the recording medium, there is an advantage that video and audio can be reproduced from a desired position more quickly than in the case of recording on the magnetic tape.
ここで、ファイルシステムとは、光ディスクに対するAVデータの記録が完了した後に、光ディスクに記録されるものであって、AVデータのファイル名と、AVデータの光ディスク上における記録位置などの情報を含むものである。 Here, the file system is recorded on the optical disc after the recording of the AV data on the optical disc is completed, and includes information such as the file name of the AV data and the recording position of the AV data on the optical disc. .
光ディスクに記録されたAVデータ等のファイルは、このファイルシステムにより管理されている。例えば、光ディスクを再生する場合、再生装置は、光ディスクに記録されたファイルシステムを参照して、光ディスクに記録された1個以上のファイルのファイル名、および各ファイルの光ディスク上の記録位置などを取得する。そして、ユーザにより所望のファイルの再生が指示されたとき、ファイルシステムに基づいて、指示されたファイルの記録位置を特定し、その記録位置からファイルを構成するAVデータ等を読み出して、再生する。 Files such as AV data recorded on the optical disc are managed by this file system. For example, when playing back an optical disc, the playback device refers to the file system recorded on the optical disc, and acquires the file name of one or more files recorded on the optical disc, the recording position of each file on the optical disc, and the like. To do. When the user instructs the reproduction of the desired file, the recording position of the instructed file is specified based on the file system, and AV data or the like constituting the file is read from the recording position and reproduced.
なお、AVデータ等の記録位置は、1箇所にまとめられているとは限らず、光ディスクの複数の記録位置に分散されている場合もある。このような場合、ファイルシステムには、1つのファイルに対応する、分散された複数の記録位置が全て記録されている。従って、複数の記録領域に分散して記録されたAVデータ等などからなるファイルを再生する場合でも、ファイルシステムに基づいて、分散して記録された全てのAVデータ等を読み出すことができる(例えば、特許文献1参照)。 Note that the recording positions of AV data and the like are not necessarily collected at one place, but may be distributed at a plurality of recording positions on the optical disc. In such a case, a plurality of distributed recording positions corresponding to one file are recorded in the file system. Therefore, even when a file composed of AV data and the like recorded in a plurality of recording areas is reproduced, all the AV data and the like recorded in a distributed manner can be read based on the file system (for example, , See Patent Document 1).
しかしながら、ディジタルビデオカメラのような従来の記録装置では、撮影中であってAVデータを光ディスクに記録している最中や、撮影終了直後等に、例えば、誤ってバッテリが取り外される等により電力供給が停止した場合、記録済のAVデータに対応するファイルシステムが未記録となることがあり得る。このような場合、電力回復後にその光ディスクを再生しようとしても、対応するファイルシステムが存在しないために、記録済のAVデータが認識されず、従って、そのAVデータが再生されないという課題があった。 However, in a conventional recording apparatus such as a digital video camera, power is supplied during shooting and while recording AV data on an optical disk or immediately after shooting, for example, by accidentally removing the battery. May stop, the file system corresponding to the recorded AV data may become unrecorded. In such a case, there is a problem that even if an attempt is made to reproduce the optical disk after the power is restored, the recorded AV data is not recognized because the corresponding file system does not exist, and therefore the AV data is not reproduced.
なお、上述した事態の発生を避けるため、所定の単位量のAVデータを光ディスクに記録する毎、ファイルシステムを更新する方法も考えられる。しかしながら、通常、ファイルシステムとAVデータ等は光ディスク上で記録される位置が離れているので、ファイルシステムを頻繁に更新すると、光ディスクに書き込みを行うピックアップを頻繁に大きく移動させる必要が生じる。これは、シーク音の発生のみならず、一連の記録時間に占めるシーク時間の割合が高くなるため、記録効率の低下を招いてしまうという課題があった。 In order to avoid the occurrence of the above-mentioned situation, a method of updating the file system every time a predetermined unit amount of AV data is recorded on the optical disk is also conceivable. However, since the file system and the AV data are usually recorded at different positions on the optical disk, if the file system is updated frequently, it is necessary to frequently move the pickup for writing to the optical disk. This has a problem that not only the generation of a seek sound but also the ratio of the seek time to a series of recording times increases, resulting in a decrease in recording efficiency.
また、上述した課題は、AVデータ以外のデータを光ディスクに記録する場合においても、その発生が想定される。 Further, the above-described problem is expected to occur even when data other than AV data is recorded on the optical disc.
本発明はこのような状況に鑑みてなされたものであり、記録媒体に対する記録処理が正常に終了されなかった場合においても、記録媒体に記録済のデータを読み出せるようにすることを目的とする。 The present invention has been made in view of such a situation, and an object of the present invention is to enable data recorded on a recording medium to be read even when recording processing on the recording medium is not normally completed. .
本発明の記録装置は、1つのファイルを構成する複数の分割データ毎に、記録媒体に記録されてはいるがファイルシステムに反映されていない分割データをファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも記録媒体に記録された分割データの記録媒体上の配置情報を含むマーカを生成する生成手段と、分割データとマーカとが記録媒体上で所定の順番に配置されるように分割データおよびマーカを記録媒体に記録する記録手段と、記録媒体上のマーカの配置情報を保持する保持手段とを含み、生成手段は、記録媒体に記録された分割データの記録媒体上の配置情報を蓄積して、マーカを生成し、マーカのデータサイズが所定の上限に達したものをキーマーカに指定することを特徴とする。 The recording apparatus of the present invention is used for salvage processing for reflecting, in a file system, divided data that is recorded in a recording medium but not reflected in the file system, for each of a plurality of divided data constituting one file. Generating means for generating at least a marker including arrangement information on the recording medium of the divided data recorded on the recording medium, and the divided data and the divided data and the marker so that the divided data and the marker are arranged in a predetermined order on the recording medium. and recording means for recording a marker in the recording medium, viewed contains a holding means for holding the placement information of the marker on the recording medium, generating means, storing the location information on the recording medium of the divided data recorded on a recording medium Then, a marker is generated, and a marker whose marker data size has reached a predetermined upper limit is designated as a key marker .
前記保持手段は、不揮発メモリであるようにすることができる。 The holding means may be a nonvolatile memory.
前記保持手段は、生成手段によって生成されたキーマーカの配置情報を保持するようにすることができる。 The holding means may hold key marker arrangement information generated by the generating means.
前記保持手段は、マーカに含まれた状態で記録媒体に記録されていない、記録媒体に記録された分割データの記録媒体上の配置情報も保持するようにすることができる。 The holding means can also hold arrangement information on the recording medium of the divided data recorded on the recording medium that is not recorded on the recording medium in a state of being included in the marker.
本発明の記録装置は、保持手段によって保持されているマーカの配置情報に基づき、記録媒体からマーカを読み出す読み出し手段と、読み出し手段によって読み出されたマーカに基づき、サルベージ処理を実行するサルベージ手段とをさらに含むことができる。 The recording apparatus of the present invention includes a reading unit that reads a marker from a recording medium based on marker arrangement information held by the holding unit, and a salvage unit that executes salvage processing based on the marker read by the reading unit. Can further be included.
本発明の記録方法は、1つのファイルを構成する複数の分割データ毎に、記録媒体に記録されてはいるがファイルシステムに反映されていない分割データをファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも記録媒体に記録された分割データの記録媒体上の配置情報を含むマーカを生成する生成ステップと、分割データとマーカとが記録媒体上で所定の順番に配置されるように分割データおよびマーカを記録媒体に記録する記録ステップと、記録媒体上のマーカの配置情報を保持する保持ステップとを含み、生成ステップは、記録媒体に記録された分割データの記録媒体上の配置情報を蓄積して、マーカを生成し、マーカのデータサイズが所定の上限に達したものをキーマーカに指定することを特徴とする。 The recording method of the present invention is used for salvage processing for reflecting, in a file system, divided data that is recorded in a recording medium but not reflected in the file system, for each of a plurality of divided data constituting one file. A generating step for generating at least a marker including arrangement information on the recording medium of the divided data recorded on the recording medium, and the divided data and the divided data and the marker are arranged in a predetermined order on the recording medium. accumulation and recording step of recording a marker in the recording medium, viewed including a holding step of holding arrangement information of the marker on the recording medium, generating step, the location information on the recording medium of the divided data recorded on a recording medium Then, a marker is generated, and a marker whose data size has reached a predetermined upper limit is designated as a key marker .
本発明のプログラムは、1つのファイルを構成する複数の分割データ毎に、記録媒体に記録されてはいるがファイルシステムに反映されていない分割データをファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも記録媒体に記録された分割データの記録媒体上の配置情報を含むマーカを生成する生成ステップと、分割データとマーカとが記録媒体上で所定の順番に配置されるように分割データおよびマーカを記録媒体に記録させる記録ステップと、記録媒体上のマーカの配置情報を保持させる保持ステップとを含み、生成ステップは、記録媒体に記録された分割データの記録媒体上の配置情報を蓄積して、マーカを生成し、マーカのデータサイズが所定の上限に達したものをキーマーカに指定する処理をコンピュータに実行させることを特徴とする。 The program of the present invention is used for salvage processing for reflecting, in a file system, divided data that is recorded in a recording medium but not reflected in the file system, for each of a plurality of divided data constituting one file. A generation step of generating a marker including at least arrangement information of the divided data recorded on the recording medium on the recording medium, and the divided data and the marker so that the divided data and the marker are arranged in a predetermined order on the recording medium. a recording step of recording on a recording medium, viewed including a holding step for holding the placement information of the marker on the recording medium, generating step accumulates the placement information on the recording medium of the divided data recorded on a recording medium Te, and it generates a marker, computer processing of the data size of the markers specified in Kimaka what has reached a predetermined upper limit Characterized in that to execute the.
本発明の記録装置および方法、並びにプログラムにおいては、1つのファイルを構成する複数の分割データ毎に、記録媒体に記録されてはいるがファイルシステムに反映されていない分割データをファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも記録媒体に記録された分割データの記録媒体上の配置情報を含むマーカが生成され、分割データとマーカとが記録媒体上で所定の順番に配置されるように記録媒体に記録され、記録媒体上のマーカの配置情報が保持される。なお、生成の処理では、記録媒体に記録された分割データの記録媒体上の配置情報が蓄積されてマーカが生成され、マーカのデータサイズが所定の上限に達したものがキーマーカに指定される。 In the recording apparatus, method, and program of the present invention, for each of a plurality of divided data constituting one file, the divided data that is recorded in the recording medium but not reflected in the file system is reflected in the file system. Used for salvage processing for generating a marker that includes at least the arrangement information of the divided data recorded on the recording medium on the recording medium, and arranging the divided data and the marker in a predetermined order on the recording medium It is recorded on the recording medium, and the marker arrangement information on the recording medium is held. In the generation process, arrangement information on the recording medium of the divided data recorded on the recording medium is accumulated to generate a marker, and a marker whose data size has reached a predetermined upper limit is designated as a key marker.
本発明によれば、記録媒体に対する記録処理が正常に終了されなかった場合においても、記録媒体に記録済のデータを読み出せるようにすることが可能となる。 According to the present invention, it is possible to read data recorded on a recording medium even when the recording process on the recording medium is not normally completed.
以下に本発明の実施の形態を説明するが、請求項に記載の構成要件と、発明の実施の形態における具体例との対応関係を例示すると、次のようになる。この記載は、請求項に記載されている発明をサポートする具体例が、発明の実施の形態に記載されていることを確認するためのものである。従って、発明の実施の形態中には記載されているが、構成要件に対応するものとして、ここには記載されていない具体例があったとしても、そのことは、その具体例が、その構成要件に対応するものではないことを意味するものではない。逆に、具体例が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その具体例が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。 Embodiments of the present invention will be described below. Correspondences between constituent elements described in the claims and specific examples in the embodiments of the present invention are exemplified as follows. This description is to confirm that specific examples supporting the invention described in the claims are described in the embodiments of the invention. Therefore, even if there are specific examples that are described in the embodiment of the invention but are not described here as corresponding to the configuration requirements, the specific examples are not included in the configuration. It does not mean that it does not correspond to a requirement. On the contrary, even if a specific example is described here as corresponding to a configuration requirement, this means that the specific example does not correspond to a configuration requirement other than the configuration requirement. not.
さらに、この記載は、発明の実施の形態に記載されている具体例に対応する発明が、請求項に全て記載されていることを意味するものではない。換言すれば、この記載は、発明の実施の形態に記載されている具体例に対応する発明であって、この出願の請求項には記載されていない発明の存在、すなわち、将来、分割出願されたり、補正により追加されたりする発明の存在を否定するものではない。 Further, this description does not mean that all the inventions corresponding to the specific examples described in the embodiments of the invention are described in the claims. In other words, this description is an invention corresponding to the specific example described in the embodiment of the invention, and the existence of an invention not described in the claims of this application, that is, a future divisional application. It does not deny the existence of an invention that is added by correction.
請求項1に記載の記録装置(例えば、図7の記録再生装置110)は、1つのファイルを構成する複数の分割データ(例えば、年輪データ)毎に、記録媒体(例えば、光ディスク111)に記録されてはいるがファイルシステムに反映されていない分割データをファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも記録媒体に記録された分割データの記録媒体上の配置情報を含むマーカ(例えば、サルベージマーカ)を生成する生成手段(例えば、図7のサルベージマーカ生成部21)と、分割データとマーカとが記録媒体上で所定の順番に配置されるように分割データおよびマーカを記録媒体に記録する記録手段(例えば、図10のステップS5の処理を行う図7のピックアップ部113)と、記録媒体上のマーカの配置情報を保持する保持手段(例えば、図7の不揮発メモリ)とを含み、生成手段は、記録媒体に記録された分割データの記録媒体上の配置情報を蓄積して、マーカを生成し、マーカのデータサイズが所定の上限に達したものをキーマーカ(例えば、キ^サルベージマーカ)に指定することを特徴とする。
The recording apparatus according to claim 1 (for example, the recording / reproducing
請求項7に記載の記録装置は、保持手段によって保持されているマーカの配置情報に基づき、記録媒体からマーカを読み出す読み出し手段(例えば、図23のステップS93の処理を行う図7のピックアップ部113)と、読み出し手段によって読み出されたマーカに基づき、サルベージ処理を実行するサルベージ手段(例えば、図23のステップS94の処理を行う図7の制御部120)とをさらに含むことを特徴とする。
The recording apparatus according to
請求項6に記載の記録方法は、1つのファイルを構成する複数の分割データ(例えば、年輪データ)毎に、記録媒体(例えば、光ディスク111)に記録されてはいるがファイルシステムに反映されていない分割データをファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも記録媒体に記録された分割データの記録媒体上の配置情報を含むマーカ(例えば、サルベージマーカ)を生成する生成ステップ(例えば、図10のステップS3)と、分割データとマーカとが記録媒体上で所定の順番に配置されるように分割データおよびマーカを記録媒体に記録する記録ステップ(例えば、図10のステップS5)と、記録媒体上のマーカの配置情報を保持する保持ステップ(例えば、図10のステップS6)とを含み、生成ステップは、記録媒体に記録された分割データの記録媒体上の配置情報を蓄積して、マーカを生成し、マーカのデータサイズが所定の上限に達したものをキーマーカ(例えば、キ^サルベージマーカ)に指定することを特徴とする。
The recording method according to
なお、本発明のプログラムの請求項に記載の構成要件と、発明の実施の形態における具体例との対応関係は、上述した本発明の記録方法のものと同様であるので、その記載は省略する。 The correspondence between the constituent elements described in the claims of the program of the present invention and the specific examples in the embodiments of the present invention is the same as that of the recording method of the present invention described above, and therefore the description thereof is omitted. .
以下、本発明の実施の形態について説明する。記録再生装置は、所定のファイルシステム(例えば、UDF(Universal Disc format))に準拠し、ファイルとして管理されるオーディオデータやビデオデータを光ディスクに記録し、記録したデータの間に、サルベージマーカと称する情報を記録する。そして、例えば、バッテリが取り外される等により電力供給が絶たれ、記録処理が正常に完了しなかった場合、すなわち、光ディスクに記録されたデータが1つのファイルとしてファイルシステムに登録されなかった場合、電力復旧後において、このサルベージマーカを参照して、記録処理が中断されるまでに記録された分のデータの、記録媒体上の記録位置を特定し、それに基づいて、記録処理が中断されるまでに記録された分のデータを含むファイルをファイルシステムに登録する。結果的に、記録処理が正常に完了しなかった場合でも、記録処理が中断されるまでに記録媒体に記録されたデータを再生することが可能となる。以下、このような一連の処理をサルベージと称する。 Embodiments of the present invention will be described below. The recording / reproducing apparatus records audio data and video data managed as files on an optical disc in accordance with a predetermined file system (for example, UDF (Universal Disc format)), and is called a salvage marker between the recorded data. Record information. For example, when the power supply is cut off due to the removal of the battery and the recording process is not normally completed, that is, when the data recorded on the optical disk is not registered in the file system as one file, After recovery, refer to this salvage marker to specify the recording position on the recording medium for the data recorded until the recording process is interrupted, and based on that, the recording process is interrupted. Register the file containing the recorded data in the file system. As a result, even when the recording process is not normally completed, it is possible to reproduce the data recorded on the recording medium before the recording process is interrupted. Hereinafter, such a series of processes is referred to as salvage.
なお、ファイルシステムが光ディスクに対して正常に記録されたか否かを確認するためには、例えば、ファイルシステムとしてUDF(Universal Disk Format)が採用されている場合、光ディスクに記録されているUDFのLVID(Logical Volume Integrity Descriptor)を参照すればよい。LVIDとは、光ディスクに記録されたファイルが正常にクローズされているか否かを示すフラグであって、ファイルが正常にクローズされてファイルシステムが正常に記録されている場合、LVIDにはクローズフラグがセットされ、ファイルがクローズされずファイルシステムが正常に記録されていない場合、LVIDにはオープンフラグがセットされる。 In order to confirm whether the file system is normally recorded on the optical disk, for example, when UDF (Universal Disk Format) is adopted as the file system, the LVID of the UDF recorded on the optical disk Refer to (Logical Volume Integrity Descriptor). LVID is a flag that indicates whether the file recorded on the optical disk is normally closed. If the file is normally closed and the file system is normally recorded, the LVID has a close flag. If the file is not closed and the file system is not recorded properly, the LVID is set with an open flag.
図1は、本発明を適用した記録再生装置によってオーディオデータやビデオデータが記録される光ディスクに設けられる領域区分の一例を示している。 FIG. 1 shows an example of area divisions provided on an optical disc on which audio data and video data are recorded by a recording / reproducing apparatus to which the present invention is applied.
図1の例の場合、光ディスクには、内周側から順に、内周側FS記録領域1、ファイル記録領域2、および外周側FS記録領域3が設けられている。
In the case of the example in FIG. 1, an inner peripheral
内周側FS記録領域1には、ファイル記録領域2のどこにどのようなファイルが記録されているかを示す情報であって、光ディスクからファイルが読み出されるときに参照される管理情報が記録されている。なお、この管理情報のことを、ファイルシステム(FS)と称することがある。この管理情報は、ファイル記録領域2に対してファイルが記録されたり、記録されているファイルが更新されたり、記録されているファイルが消去されたりしたときに更新される。
In the inner circumference
ファイル記録領域2は、さらに、ノンリアルタイム(NRT)領域11とリアルタイム(RT)領域12に区分されている。
The
ノンリアルタイム領域11には、再生時にリアルタイム性が要求されないファイル、例えば、インデックスファイル、ディスクインフォメーションファイル、クリップインフォメーションファイル、ノンリアルタイムメタデータファイル等(いずれも、図3および図4を参照して後述する)を構成するデータが記録される。
In the non-real-
リアルタイム領域12には、リアルタイム性が要求されるファイル、例えば、オーディオファイル、ビデオファイルをそれぞれ構成するオーディオデータ、ビデオデータ等が記録される。
In the real-
外周側FS記録領域3には、内周側FS記録領域1に記録される管理情報と同一の管理情報が記録される。このように、内周側FS記録領域1と外周側FS記録領域3に同一の管理情報を記録することにより、仮に、内周側FS記録領域1と外周側FS記録領域3の一方に記録された管理情報が光ディスクの傷や汚れ等に起因して読み出すことができなくなったとしても、他方に記録された管理情報を読み出すことができる可能性が残るので、ファイル記録領域2に記録されている各種のファイルが読み出せなくなる事態の発生を抑止することができる。
The same management information as that recorded in the inner
次に、光ディスクのリアルタイム領域12に対する、オーディオデータおよびビデオデータの記録の概要について、図2を参照して説明する。
Next, an outline of recording of audio data and video data in the real-
図2Aでは、1フレームのビデオデータVと、その1フレームのビデオデータVに付随するオーディオデータAとが、交互に配置されており、以下、適宜、この記録方式を、フレーム単位でのインタリーブ方式と称する。 In FIG. 2A, one frame of video data V and audio data A accompanying the one frame of video data V are alternately arranged. Hereinafter, this recording method is referred to as an interleaving method in units of frames. Called.
図2Bでは、ビデオデータの系列全体とオーディオデータの系列全体が、それぞれ1つのファイルとして、別々に配置されており、以下、適宜、この記録方式を、インタリーブなし方式と称する。 In FIG. 2B, the entire video data sequence and the entire audio data sequence are separately arranged as one file, and this recording method will be referred to as a non-interleaved method as appropriate.
図2Cでは、1フレーム分を越えるが、ビデオデータの系列全体ではないサイズのビデオデータVと、やはり、1フレーム分を越えるが、オーディオデータの系列全体ではないサイズのオーディオデータAとが、交互に配置されている。 In FIG. 2C, video data V having a size exceeding one frame but not the entire video data sequence and audio data A having a size exceeding one frame but not the entire audio data sequence are alternately displayed. Is arranged.
ここで、この1フレーム分を越えるが、全体ではないサイズのビデオデータVとオーディオデータAを交互に配置して、光ディスクの内周から外周方向(あるいは、その逆方向)に向かって記録していった場合に、ビデオデータVの記録部分と、オーディオデータAの記録部分とに、例えば、異なる濃淡や色彩などを付すると、そのビデオデータVの記録部分と、オーディオデータAの記録部分とは、まるで、樹木の幹の横断面(木口)に形成される年輪のように見える。 Here, video data V and audio data A of a size exceeding the one frame but not the whole are alternately arranged and recorded from the inner periphery to the outer periphery (or the opposite direction) of the optical disk. In this case, if the recording portion of the video data V and the recording portion of the audio data A are given different shades or colors, for example, the recording portion of the video data V and the recording portion of the audio data A are It looks like an annual ring formed on the cross section of the trunk of the tree.
そこで、1フレーム分を越えるが、全体ではないサイズのビデオデータVやオーディオデータAなどを、以下、適宜、年輪データという。また、図2Cに示したように、ビデオデータVとオーディオデータAなどの複数のデータ系列を年輪データ単位で周期的に配置して記録する記録方式を、以下、適宜、年輪単位でのインタリーブ方式と称する。 Accordingly, video data V, audio data A, and the like that exceed one frame but are not the entire size are hereinafter referred to as annual ring data as appropriate. Further, as shown in FIG. 2C, a recording method for periodically arranging and recording a plurality of data series such as video data V and audio data A in an annual ring data unit is hereinafter referred to as an interleaving method in an annual ring unit. Called.
図2Aのフレーム単位でのインタリーブ方式では、1フレーム分のビデオデータVとオーディオデータAが、交互に、光ディスクに書き込まれるから、その書き込みは、少なくとも、1フレーム分のビデオデータVまたはオーディオデータAをバッファリングすることができるバッファがあれば行うことができる。そして、このバッファは、1フレーム分のビデオデータVまたはオーディオデータAを記憶することができるもので足りるから、バッファに、ビデオデータVまたはオーディオデータAをバッファリングすることによる遅延(記録遅延)も短くすることができる。 In the interleaving method in units of frames shown in FIG. 2A, video data V and audio data A for one frame are alternately written on the optical disk. Therefore, at least video data V or audio data A for one frame is written. This can be done if there is a buffer that can be buffered. Since this buffer is sufficient to store video data V or audio data A for one frame, a delay (recording delay) caused by buffering video data V or audio data A in the buffer is also possible. Can be shortened.
しかしながら、フレーム単位でのインタリーブ方式では、光ディスクに、1フレーム分のビデオデータVとオーディオデータAとが交互に記録されているため、例えば、映像または音声のいずれか一方だけを編集する、いわゆるAV(Audio Video)スプリット編集を行う場合であっても、ビデオデータVとオーディオデータAの両方を読み出すことになり、光ディスクからのデータの読み出しを効率的に行うことが困難となる。 However, in the interleave method in units of frames, since one frame of video data V and audio data A are alternately recorded on the optical disk, for example, so-called AV in which only one of video and audio is edited. (Audio Video) Even when split editing is performed, both video data V and audio data A are read, making it difficult to efficiently read data from the optical disk.
即ち、例えば、映像だけを編集する場合には、ビデオデータVだけを読み出せばよいが、フレーム単位でのインタリーブ方式で記録された光ディスクからビデオデータVだけを読み出す場合には、1フレームのビデオデータVを読み出し、その後、次の1フレームのビデオデータVの記録位置までのシークを行い、その読み出しを行うことを繰り返す必要がある。しかしながら、フレーム単位のインタリーブ方式では、ある1フレームのビデオデータVの記録位置から、次の1フレームのビデオデータVの記録位置までの間に記録されているのは、1フレーム分のオーディオデータAであり、そのような少ないオーディオデータAを読み出す読み出し時間と、そのオーディオデータAを読み飛ばすためのシークを行うシーク時間とを比較すると、一般的に、読み出し時間の方が、シーク時間よりも短い。従って、光ディスクから、ビデオデータVだけを読み出すよりは、ビデオデータVとオーディオデータAの両方を読み出す方が、全体の読み出しに要する時間は短くなる。しかしながら、編集対象でないオーディオデータも読み出すのは、効率的であるとは言い難い。 That is, for example, when editing only video, only video data V needs to be read. However, when only video data V is read from an optical disc recorded in an interleaved manner in units of frames, one frame of video is read. It is necessary to read the data V, then seek to the recording position of the video data V of the next one frame, and repeat the reading. However, in the interleave method in units of frames, one frame of audio data A is recorded from the recording position of one frame of video data V to the recording position of the next one frame of video data V. When the read time for reading such a small amount of audio data A is compared with the seek time for performing a seek for skipping the audio data A, the read time is generally shorter than the seek time. . Therefore, it takes less time to read the entire video data V and audio data A than to read only the video data V from the optical disk. However, it is difficult to say that it is efficient to read audio data that is not an object of editing.
一方、図2Bのインタリーブなし方式では、ビデオデータの系列全体とオーディオデータの系列全体が、別々に配置され、光ディスクに記録されるから、AVスプリット編集を行う場合に、ビデオデータとオーディオデータのうちの、編集対象とする方だけを、効率的に読み出すことができる。 On the other hand, in the non-interleaved method of FIG. 2B, the entire video data sequence and the entire audio data sequence are separately arranged and recorded on the optical disc. Therefore, when performing AV split editing, Only the person to be edited can be read efficiently.
しかしながら、インタリーブなし方式では、ビデオデータの系列全体とオーディオデータの系列全体が、別々にまとめて配置され、光ディスクに記録されるため、即ち、例えば、光ディスクの記録領域が、まとまったビデオ領域とオーディオ領域に分けられ、ビデオデータがビデオ領域に、オーディオデータがオーディオ領域に、それぞれ記録されるため、内周から外周方向に向かって、いわゆる一筆書きのように、光ディスクに対してデータの書き込みを行う場合には、ビデオデータの系列全体またはオーディオデータの系列全体をバッファリングすることのできる膨大なサイズのバッファが必要となる。そして、この膨大なサイズのバッファに、ビデオデータまたはオーディオデータをバッファリングすることによる遅延(記録遅延)も非常に長くなる。 However, in the method without interleaving, the entire video data sequence and the entire audio data sequence are separately arranged and recorded on the optical disk, that is, for example, the recording area of the optical disk is a group of the video area and audio. Since the video data is recorded in the video area and the audio data is recorded in the audio area, the data is written to the optical disc from the inner circumference toward the outer circumference in the manner of one-stroke writing. In some cases, an enormous size buffer that can buffer the entire video data sequence or the entire audio data sequence is required. In addition, the delay (recording delay) caused by buffering video data or audio data in this enormous size buffer becomes very long.
そこで、インタリーブなし方式において、光ディスクのビデオ領域へのビデオデータの書き込みと、オーディオ領域へのオーディオデータの書き込みとを、時分割で交互に行う方法がある。 Therefore, in a method without interleaving, there is a method of alternately writing video data to the video area of the optical disc and writing audio data to the audio area in a time division manner.
しかしながら、この場合、ディスクドライブのピックアップ(いずれも不図示)が、光ディスクのビデオ領域からオーディオ領域に移動するシークと、その逆の移動を行うシークとが頻発し、実効記録レートを著しく低下させることになる。さらに、当該記録再生装置がディジタルビデオカメラである場合には、対衝撃の観点からシーク動作をできるだけ避けたい。 However, in this case, the disk drive pickup (both not shown) frequently seeks to move from the video area to the audio area of the optical disk and vice versa, thereby significantly reducing the effective recording rate. become. Further, when the recording / reproducing apparatus is a digital video camera, it is desirable to avoid a seek operation as much as possible from the viewpoint of impact.
そこで、図2Cの年輪単位でのインタリーブ方式では、ビデオデータとオーディオデータとが、年輪データ単位で交互に配置されて記録される。年輪データのサイズは、上述したように、1フレーム分を越えるが、全体ではないサイズであるが、実装上は、さらに、以下の第1と第2の条件を満たすサイズであるのが望ましい。 Therefore, in the interleave method in units of annual rings in FIG. 2C, video data and audio data are alternately arranged and recorded in units of annual ring data. As described above, the size of the annual ring data exceeds one frame, but is not the whole size. However, in terms of mounting, it is desirable that the size satisfies the following first and second conditions.
即ち、第1の条件としては、光ディスクから年輪データを読み出す時間と、その年輪データの記録領域を読み飛ばすためにシークを行うのに要するシーク時間とを比較した場合に、シーク時間の方が、読み出し時間よりも短いこと、即ち、年輪データを読み飛ばすより、読み出した方が速い場合には、フレーム単位でのインタリーブ方式(図2A)を採用するのと変わらないから、年輪データを読み出すよりは、読み飛ばした方が速いことが要求される。なお、好ましくは、シーク時間の方が、読み出し時間よりも十分短くなっていることが望ましい。 That is, as a first condition, when comparing the time for reading the annual ring data from the optical disc and the seek time required for seeking to skip the recording area of the annual ring data, the seek time is: If the reading time is shorter than the reading time, that is, if reading is faster than skipping the annual ring data, it is not different from adopting the interleave method (FIG. 2A) in units of frames. , It is required to skip the reading. Preferably, the seek time is sufficiently shorter than the read time.
第2の条件としては、年輪データのサイズが、年輪データをバッファリングする現実的な大きさのバッファが存在するような大きさであることが要求される。即ち、年輪単位でのインタリーブ方式では、ビデオデータVとオーディオデータAとが年輪データ単位で交互に配置されて記録されるから、その記録時には、少なくとも、年輪データ単位のビデオデータVまたはオーディオデータAをバッファリングするバッファが必要となる。従って、年輪データ単位のビデオデータVまたはオーディオデータAをバッファリングすることができるバッファが現実に存在しなければ、年輪単位でのインタリーブ方式によってデータの記録を行うことができないから、第2の条件として、年輪データをバッファリングする現実的な大きさのバッファが存在することが要求される。 As a second condition, it is required that the size of the annual ring data is such that there is a realistic size buffer for buffering the annual ring data. That is, in the interleave method in units of annual rings, video data V and audio data A are alternately arranged and recorded in units of annual ring data. Therefore, at the time of recording, at least video data V or audio data A in units of annual ring data is recorded. Need a buffer to buffer Therefore, unless there is actually a buffer capable of buffering video data V or audio data A in annual ring data units, data cannot be recorded by an interleave method in annual ring units. As described above, it is required that a buffer having a realistic size for buffering annual ring data exists.
なお、年輪データを、バッファにバッファリングしている間は、そのバッファリング中の年輪データを光ディスクに記録することはできず、バッファへの年輪データのバッファリングによる遅延(記録遅延)が生じるが、この遅延時間は、バッファに記憶される年輪データのサイズ、即ち、バッファのサイズに対応する。従って、例えば、システム設計上、バッファへの年輪データのバッファリングによる遅延時間が制限されている場合には、バッファのサイズは、その制限されている時間内に、年輪データのバッファリングによる遅延時間が収まるものであることが必要となる。 While the annual ring data is buffered in the buffer, the buffered annual ring data cannot be recorded on the optical disc, and a delay (recording delay) occurs due to buffering of the annual ring data in the buffer. The delay time corresponds to the size of the annual ring data stored in the buffer, that is, the size of the buffer. Therefore, for example, when the delay time due to buffering of the annual ring data in the buffer is limited due to the system design, the buffer size is set to the delay time due to buffering of the annual ring data within the limited time. Must be within the range.
第1の条件は、年輪データのサイズがなるべく大となることを要求しているのに対して、第2の条件は、年輪データのサイズがなるべく小となることを要求しており、従って、第1と第2の条件は、相反している。 The first condition requires that the size of annual ring data be as large as possible, whereas the second condition requires that the size of annual ring data be as small as possible. The first and second conditions are contradictory.
ところで、年輪データを読み飛ばすシークを行うシーク時間の方が、年輪データを読み出す読み出し時間よりも短いという第1の条件を満たすには、一般に、年輪データが、光ディスクの複数のトラックに跨っていること、つまり、年輪データのサイズが、光ディスクの1トラック分より大であることが必要である。なお、年輪データについてのシーク時間の方を、その読み出し時間よりも十分短くするには、年輪データのサイズは、一般に、光ディスクの数トラック分とする必要がある。また、1トラックのサイズは、そのトラックの半径位置にもよるが、数百KB(キロバイト)程度である。 By the way, in order to satisfy the first condition that the seek time for performing the seek for skipping the annual ring data is shorter than the read time for reading the annual ring data, the annual ring data generally straddles a plurality of tracks of the optical disk. That is, the size of the annual ring data needs to be larger than one track of the optical disk. In order to make the seek time for the annual ring data sufficiently shorter than the read time, the size of the annual ring data generally needs to be several tracks of the optical disk. The size of one track is about several hundred KB (kilobytes) although it depends on the radial position of the track.
次に、年輪データをバッファリングする現実的な大きさのバッファが存在するという第2の条件については、バッファの現実的なサイズの上限としては、現在、例えば、数十MB(メガバイト)程度である。 Next, regarding the second condition that there is a buffer of a realistic size for buffering annual ring data, the upper limit of the practical size of the buffer is currently, for example, about several tens of megabytes (MB). is there.
従って、年輪データのサイズは、大雑把ではあるが、数MB乃至数十MB程度とするのが妥当である。このサイズは、ディスク上では、大雑把に数十トラック程度に相当する。ここで、このサイズで、ビデオデータVとオーディオデータAが交互に書き込まれた光ディスクの記録領域の様子が木の年輪に似ていることから、そのサイズのデータを、上述したように、年輪データと称することにする。なお、年輪データには、AVデータ以外のデータが含まれていてもよい。 Accordingly, the size of the annual ring data is roughly, but it is appropriate to set it to several MB to several tens MB. This size roughly corresponds to about several tens of tracks on the disk. Here, since the state of the recording area of the optical disk in which the video data V and the audio data A are alternately written at this size is similar to the tree ring, the data of the size is used as described above. I will call it. The annual ring data may include data other than AV data.
次に、年輪データとサルベージマーカの関係について、図3および図4を参照して説明する。 Next, the relationship between annual ring data and salvage markers will be described with reference to FIGS.
図3は、データの記録順の一例を示している。図3おいて、「SA#1」、「SA#2」および「SA#3」は、サルベージマーカを示している。「A#1」、「A#2」、および「A#3」は、オーディオデータを示している。「V#1」、および「V#2」は、ビデオデータを示している。なお、#1、#2等は、年輪を識別するための符号とする。
FIG. 3 shows an example of the data recording order. In FIG. 3, “
図3においては、左側から順番に、サルベージマーカSM#1、オーディオデータA#1、ビデオデータV#1、サルベージマーカSM#2、オーディオデータA#2、ビデオデータV#2、サルベージマーカSM#3、およびオーディオデータA#3が記録されている。すなわち、各年輪データに対応して、1つのサルベージマーカが記録される。
In FIG. 3, in order from the left, salvage
サルベージマーカには、このデータがサルベージマーカであることを示す認識パターン(以下、サルベージマーカであることを示す認識パターンのことをサルベージIDと称する)、属するファイルを特定するための識別情報(例えば、ファイル名)等などが含まれている。記録再生装置は、リアルタイム領域12から読み出したデータの中から、サルベージIDを検索することにより、サルベージマーカを検出することができる。なお、サルベージマーカに含まれる情報の詳細については、図8を参照して後述する。
The salvage marker includes a recognition pattern indicating that this data is a salvage marker (hereinafter, a recognition pattern indicating that it is a salvage marker is referred to as a salvage ID), and identification information for specifying a file to which the data belongs (for example, File name) etc. are included. The recording / reproducing apparatus can detect the salvage marker by searching for the salvage ID from the data read from the real-
記録の処理が終了せずに途中で中断された光ディスクの挿入を検知した場合、記録再生装置は、その光ディスク上で、サルベージIDを検索する。例えば、サルベージマーカSM#1に含まれているサルベージIDが検出された場合、記録再生装置は、そのサルベージIDの位置に記録されたサルベージマーカSM#1を読み出す。そして、記録再生装置は、サルベージマーカSM#1に含まれている、ファイルを特定するための識別情報(例えば、ファイル名Xとする)に基づいて、サルベージマーカSM#1に後続して記録されているオーディオデータA#1、およびビデオデータV#1が、ファイルXを構成するデータであると判定する。
When detecting the insertion of an optical disc that has been interrupted halfway without completing the recording process, the recording / reproducing apparatus searches for the salvage ID on the optical disc. For example, when the salvage ID included in the salvage
さらに、引き続いてサルベージIDが検索され、サルベージマーカSM#2に含まれているサルベージIDが検出された場合、サルベージマーカSM#2に含まれている、ファイルを特定するための識別情報(同様に、ファイル名Xとする)に基づいて、サルベージマーカSM#2に後続して記録されているオーディオデータA#2、およびビデオデータV#2が、ファイルXを構成するデータであると判定する。
Further, when the salvage ID is subsequently searched and the salvage ID included in the salvage
これ以降も同様にしてサルベージマーカを読み出して、ファイルXに含まれるデータを特定してゆく。以上のようにして、サルベージマーカを順にたどってゆくことにより、ファイルシステムにファイルとして反映されていない、記録済のオーディオデータ、およびビデオデータを検索していき、最終的に検出することができたオーディオデータ、およびビデオデータを含むファイルXを、1つのファイルとしてファイルシステムに登録する。 In the same manner, the salvage marker is read out and data included in the file X is specified. By following the salvage markers in this way, the recorded audio data and video data that are not reflected in the file system as files are searched and finally detected. A file X including audio data and video data is registered in the file system as one file.
図4は、記録の処理が中断された瞬間の記録位置の状態を示している。図4においても、図3と同様の順番で左側から、サルベージマーカSM#3、オーディオデータA#3、ビデオデータV#3、サルベージマーカSM#4、オーディオデータA#4が記録されている。ところがその右側のビデオデータV#4の途中の「記録中断点」の矢印で示された位置で、ビデオデータV#4の記録が中断されている。当然、この後ろに記録されるべきサルベージマーカSM#5は記録媒体上に記録されていない。
FIG. 4 shows the state of the recording position at the moment when the recording process is interrupted. 4, salvage
このような記録中断点付近においては、サルベージマーカSM#3とSA#4の間に記録されたオーディオデータA#3、ビデオデータV#3は、ファイルに含まれるデータの一部として採用することができるが、サルベージマーカSM#4以降のデータは、採用されない。従って、サルベージマーカSM#4より以前のデータを以って、1つのファイルが作成される。
In the vicinity of such a recording interruption point, the audio
なお、サルベージマーカSM#4以降のオーディオデータA#4およびビデオデータV#5の途中までを採用するようにしてもよい。ただし、この場合、サルベージしたファイルを再生した時に、ファイルの終了付近で映像が乱れたり、表示されなくなったりする可能性がある。そのような場合、ユーザは、映像が乱れたり表示されなくなったりする直前でデータをカット編集すればよく、そのようにすれば、記録中断点の直前までに記録された全てのデータを含むファイルを作成することができる。
Note that up to the middle of audio
なお、図3および図4の説明においては、オーディオデータおよびビデオデータが同一のファイルに含まれる場合を例としたが、オーディオデータおよびビデオデータがそれぞれ別のファイルに含まれているようにしてもよい。その場合、図4のように記録が中断された後、サルベージマーカをたどって検出されたオーディオデータおよびビデオデータは、それぞれ別のファイルとしてファイルシステムに登録される。なお、以降の説明において、オーディオデータおよびビデオデータは、それぞれ別のファイルとして管理されるものとする。 In the description of FIGS. 3 and 4, the audio data and the video data are included in the same file as an example. However, the audio data and the video data may be included in different files. Good. In that case, after the recording is interrupted as shown in FIG. 4, the audio data and the video data detected by following the salvage marker are registered in the file system as separate files. In the following description, it is assumed that audio data and video data are managed as separate files.
次に、図3および図4は、光ディスクのファイル記録領域2に記録されたデータがファイルとして管理されるときのディレクトリ構造を示している。
Next, FIGS. 3 and 4 show the directory structure when data recorded in the
図5に示すように、ルートディレクトリ(ROOT)31の直下には、PROAVディレクトリ32が設けられる。このPROAVディレクトリ32の下には、ビデオデータ、オーディオデータ、これらの編集データ、その他のデータなどが、直接、またはさらにディレクトリを設けて格納される。
As shown in FIG. 5, a
PROAVディレクトリ32には、光ディスクに記録されている全てのデータに対するタイトルやコメントを含むファイルであるディスクメタファイル(DISCMETA.XML)41(プログラムメタデータに相当する)、光ディスクに記録されている全てのクリップおよびエディットリストを管理するための管理情報等を含むインデックスファイル(INDEX.XML)42、およびインデックスファイル(INDEX.BUP)43が設けられている。なお、インデックスファイル43は、インデックスファイル42を複製したものであり、2つのファイルを用意することにより、信頼性の向上が図られている。
In the
さらに、PROAVディレクトリ32には、光ディスクに記録されているデータ全体に対するメタデータであり、例えば、ディスク属性、再生開始位置、またはディスク記録禁止等の情報を含むファイルであるディスクインフォメーションファイル(DISCINFO.XML)44およびディスクインフォメーションファイル(DISKINFO.BUP)45が設けられている。なお、ディスクインフォメーションファイル45は、ディスクインフォメーションファイル44を複製したものであり、2つのファイルを用意することにより、信頼性の向上が図られている。
Further, the
また、PROAVディレクトリ32には、上述したファイル以外にも、クリップのデータが下位のディレクトリに設けられるクリップルートディレクトリ(CLPR)33、および、エディットリストのデータが下位のディレクトリに設けられるエディットリストルートディレクトリ(EDTR)34が設けられる。
In addition to the above-described files, the
クリップルートディレクトリ33には、光ディスクに記録されているクリップのデータが、クリップ毎に異なるディレクトリに分けて管理されており、例えば、図5の場合、3つのクリップのデータが、クリップディレクトリ(C0001)51、クリップディレクトリ(C0002)52、および、クリップディレクトリ(C0003)53の3つのディレクトリに分けられて管理されている。
In the
ここで、クリップとは、撮像処理の回数の単位である。またそれ以外にも、クリップは、その撮像処理の撮像開始から撮像終了までの時間を示す単位を示したり、その撮像処理により得られた各種のデータの長さを示す単位を示したり、その撮像処理により得られた各種のデータのデータ量を示す単位を示したりする。さらに、クリップは、その各種のデータの集合体そのものも示す場合もある。 Here, the clip is a unit of the number of imaging processes. In addition, the clip indicates a unit indicating the time from the start of imaging to the end of imaging of the imaging process, a unit indicating the length of various data obtained by the imaging process, or the imaging A unit indicating the data amount of various data obtained by processing is indicated. Furthermore, the clip may also indicate the collection of various data itself.
エディットリストルートディレクトリ34には、光ディスクに記録されているエディットリスト(クリップに対して編集処理を行ったときの編集内容を示す編集情報)が、その編集処理毎に異なるディレクトリに分けて管理されており、例えば、図5の場合、4つのエディットリストが、エディットリストディレクトリ(E0001)61、エディットリストディレクトリ(E0002)62、エディットリストディレクトリ(E0003)63、およびエディットリストディレクトリ(E0004)64の4つのディレクトリに分けて管理されている。
In the edit
上述したクリップルートディレクトリ33に設けられるクリップディレクトリ51の下位のディレクトリには、光ディスクに記録されたクリップの各データが、図6に示されるようなファイルとして設けられて管理される。
In the directory below the
図6の場合、クリップディレクトリ51には、このクリップを管理するファイルであるクリップインフォメーションファイル(C0001C01.SMI)81、このクリップのビデオデータから成るファイルであるビデオデータファイル(C0001V01.MXF)82、それぞれ、このクリップの各チャンネルのオーディオデータからなる8つのファイルであるオーディオデータファイル(C0001A01.MXF乃至C0001A08.MXF)83乃至90、このクリップのビデオデータに対応するローレゾデータ(当該ビデオデータと同一の素材であって、かつ、当該ビデオデータよりも低解像度であって、当該ビデオデータよりもデータ量が少ないデータ)を含むファイルであるローレゾデータファイル(C0001S01.MXF)91、このクリップのエッセンスデータに対応する、例えば、LTC(Linear Time Code)とフレーム番号を対応させる変換テーブル等の、リアルタイム性を要求されないメタデータであるクリップメタデータを含むファイルであるノンリアルタイムメタデータファイル(C0001M01.XML)92が設けられる。
In the case of FIG. 6, the
さらに、クリップディレクトリ51には、このクリップのエッセンスデータに対応する、例えばLTC等の、リアルタイム性を要求されるメタデータであるフレームメタデータを含むファイルであるフレームメタデータファイル(C0001R01.BIM)93、並びに、ビデオデータファイル82のフレーム構造(例えば、MPEG等におけるピクチャ毎の圧縮形式に関する情報や、ファイルの先頭からのオフセットアドレス等の情報)が記述されたファイルであるピクチャポインタファイル(C0001I01.PPF)94等のファイルが設けられる。
Further, in the
図5および図6に示された各ファイルのうち、例えば、PROAVディレクトリ32のディスクメタファイル41、インデックスファイル42および43、ディスクインフォメーションファイル44および45、クリップディレクトリ51には、このクリップを管理するファイルであるクリップインフォメーションファイル81、並びにノンリアルタイムメタデータファイル92等のリアルタイム性を要求されないファイルを構成するデータは、光ディスクに設けられたノンリアルタイム領域11に記録されている。
Among the files shown in FIGS. 5 and 6, for example, the
その他の、クリップディレクトリ51のビデオデータファイル82、オーディオデータファイル83乃至90、フレームメタデータファイル93、およびピクチャポインタファイル94等のリアルタイム性を要求されるファイルを構成するデータは、光ディスクに設けられたリアルタイム領域12に記録されている。
Other data constituting the files requiring real-time properties such as the
次に、図7は、本発明を適用した記録再生装置の構成例を示している。この記録再生装置110において、スピンドルモータ112は、サーボ制御部115からのスピンドルモータ駆動信号に基づいて、光ディスク111を線速度一定(CLV(Constant Linear Velocity))や角速度一定(CAV(Constant Angular Velocity))等で回転駆動する。
Next, FIG. 7 shows a configuration example of a recording / reproducing apparatus to which the present invention is applied. In this recording / reproducing
ピックアップ部113は、記録時においては、信号処理部116から供給される記録信号に基づきレーザ光の出力を制御して、光ディスク111に記録信号を記録する。再生時においては、光ディスク111にレーザ光を照射し、光ディスク111からの反射光を光電変換して電流信号を生成し、RFアンプ114に供給する。なお、レーザ光の照射位置は、サーボ制御部115からピックアップ部113に供給されるサーボ信号により制御される。
During recording, the
RFアンプ114は、ピックアップ部113からの電流信号に基づいて、フォーカス誤差信号およびトラッキング誤差信号、並びに再生信号を生成し、トラッキング誤差信号およびフォーカス誤差信号をサーボ制御部115に供給し、再生信号を信号処理部116に供給する。
The
サーボ制御部115は、フォーカスサーボ動作やトラッキングサーボ動作を行う。具体的には、サーボ制御部115は、RFアンプ114からのフォーカス誤差信号やトラッキング誤差信号に基づいてフォーカスサーボ信号またはトラッキングサーボ信号を生成し、ピックアップ部13のアクチュエータ(図示せず)に供給する。またサーボ制御部115は、スピンドルモータ112を駆動するスピンドルモータ駆動信号を生成して、光ディスク111を所望の回転速度に制御するスピンドルサーボ動作を行う。
The servo control unit 115 performs a focus servo operation and a tracking servo operation. Specifically, the servo control unit 115 generates a focus servo signal or tracking servo signal based on the focus error signal and tracking error signal from the
さらにサーボ制御部115は、ピックアップ部113を光ディスク111の径方向に移動させてレーザ光の照射位置を変えるスレッド制御を行う。なお、光ディスク111の信号読み出し位置の設定は、制御部120によって行われ、設定された読み出し位置から信号を読み出すことができるようにピックアップ部113の位置が制御される。
Further, the servo control unit 115 performs thread control for moving the
信号処理部116は、メモリコントローラ117から入力される、光ディスク111に記録すべきオーディオデータ、ビデオデータ、およびその他のデータ、並びにサルベージマーカを変調して記録信号を生成し、ピックアップ部113に供給する。信号処理部116はまた、RFアンプ114から入力される再生信号を復調して再生データを生成し、メモリコントローラ117に供給する。
The
メモリコントローラ117は、データ変換部119から入力される、光ディスク111に記録すべき、オーディオデータ、ビデオデータ、およびその他のデータ、並びにサルベージマーカ生成部121によって生成されるサルベージマーカを、適宜、メモリ118にバッファリングさせるとともに、それを読み出し、信号処理部116に供給する。メモリコントローラ117はまた、信号処理部116からの再生データに含まれるオーディオデータ、ビデオデータ、およびその他のデータを抽出して、適宜、メモリ118にバッファリングするとともに、それを読み出し、データ変換部119に供給する。また、メモリコントローラ117は、信号処理部116からの再生データに含まれているサルベージマーカを抽出して、適宜、メモリ118に記憶するとともに、それを読み出し、制御部120に供給する。
The
データ変換部119は、信号入出力装置141から供給される、ビデオカメラ(図示せず)によって取得された映像や音声の信号、任意の記録メディア(図示せず)から再生された映像や音声の信号等を、例えば、MPEG(Moving Picture Experts Group)、JPEG(Joint Photographic Experts Group)等の方式に基づいてエンコードし、その結果得られたオーディオデータおよびビデオデータをメモリコントローラ117に供給する。なお、データ変換部119は、設けなくてもかまわない。
The
データ変換部119はまた、メモリコントローラ117から供給される、再生データに含まれているオーディオデータおよびビデオデータをデコードして、その結果得られた映像や音声の信号を所定のフォーマットの出力信号に変換し、信号入出力装置141に供給する。
The
制御部120は、サーボ制御部115、信号処理部116、メモリコントローラ117、データ変換部119、およびサルベージマーカ生成部121を制御し、記録処理、再生処理、サルベージ処理(光ディスク111に記録されていながらもファイルシステムに反映されてされなかったオーディオデータおよびビデオデータの分を、サルベージマーカに基づいて、ファイルシステムに反映させる処理)等を実行させる。また、制御部120は、不揮発メモリ122に保持させるための不揮発メモリ保持情報を生成する。
The
サルベージマーカ生成部121は、サルベージマーカを生成してメモリコントローラ117に供給する。サルベージマーカ生成部121は、作成したサルベージマーカを内蔵するメモリに記憶しておくことができる。不揮発メモリ122は、制御部120によって生成された不揮発メモリ保持情報を記憶する。
The salvage
制御部120に内蔵されるアロケーションマネージャ131は、光ディスク111における各データの記録位置、再生位置等を管理する。なお、サルベージマーカ生成部121も、アロケーションマネージャ131と同様、制御部120に内蔵されるようにしてもよい。
The allocation manager 13 1 which is incorporated in the
また、図示は省略するが、記録再生装置110には、光ディスク111の挿入時および排出時に駆動するディスク挿入排出モータ、記録再生装置110の動作状況や種々の案内を表示する表示部、およびユーザからの操作の入力を受け付ける操作部なども備えられていてもよい。
Although not shown, the recording / reproducing
次に、サルベージマーカに含まれる情報について、図8を参照して説明する。図8は、年輪#nに対応するサルベージマーカに含まれる情報の一例を示している。 Next, information included in the salvage marker will be described with reference to FIG. FIG. 8 shows an example of information included in the salvage marker corresponding to annual ring #n.
サルベージマーカに含まれる情報は、管理データと保管データに区別される。管理データには、サルベージマーカID、インクリメントナンバ、記録日時、ネクストサルベージマーカポインタ、キーサルベージマーカポインタ、UMID(Unique Material ID)、および保管データヘッダが含まれる。 Information included in the salvage marker is classified into management data and storage data. The management data includes a salvage marker ID, an increment number, a recording date and time, a next salvage marker pointer, a key salvage marker pointer, a UMID (Unique Material ID), and a storage data header.
サルベージマーカIDは、当該データがサルベージマーカであることを識別するための情報であり、当該サルベージマーカを検出するために利用される。インクリメントナンバは、オーディオデータおよびビデオデータを挟んで隣接する他のサルベージマーカとの連続性を示すための、例えば、シリアル番号等から成る情報である。図8に示されたサルベージマーカのインクリメントナンバを#nとする。 The salvage marker ID is information for identifying that the data is a salvage marker, and is used for detecting the salvage marker. The increment number is information including, for example, a serial number or the like for indicating continuity with other salvage markers adjacent to each other with audio data and video data interposed therebetween. The increment number of the salvage marker shown in FIG. 8 is #n.
記録日時は、当該サルベージマーカが記録された日時を示す情報であり、ユーザが意図的に消去したデータを誤ってフルサルベージの対象としないためのものである。ただし、記録日時の代わりに、日付と時刻の一方だけを用いたり、記録されたタイミングを特定できるその他のデータを用いたりするようにしてもよい。 The recording date and time is information indicating the date and time when the salvage marker is recorded, and is intended to prevent data that is intentionally deleted by the user from being accidentally subjected to full salvage. However, instead of the recording date and time, only one of the date and time may be used, or other data that can specify the recorded timing may be used.
ネクストサルベージマーカポインタは、当該サルベージマーカSM#nの次のサルベージマーカSM#(n+1)が記録される予定の位置を示す配置情報(予定)である。キーサルベージマーカポインタは、光ディスク111に記録済のキーサルベージマーカ(後述)が記録されている位置を示す配置情報(実績)である。なお、キーサルベージマーカポインタは、所定の数(例えば、100)だけ蓄積することができる。
The next salvage marker pointer is arrangement information (plan) indicating a position where a salvage marker SM # (n + 1) next to the salvage marker SM # n is to be recorded. The key salvage marker pointer is arrangement information (actual result) indicating a position where a key salvage marker (described later) recorded on the
UMIDは、対応する年輪#nのオーディオデータおよびビデオデータを一意に識別するための情報である。保管データヘッダは、以降のデータがサルベージマーカの保管データであることを示す情報である。 The UMID is information for uniquely identifying the audio data and video data of the corresponding annual ring #n. The stored data header is information indicating that subsequent data is stored data of the salvage marker.
サルベージマーカの保管データは、ファイルデータとファイルシステム管理データに区別されている。ファイルデータには、当該サルベージマーカSM#nに対応する年輪#nの次以降の年輪#(n+1),#(n+2),…のオーディオデータおよびビデオデータに対応するノンリアルタイムファイルであるプログラムメタデータ、インデックスファイル追記分、クリップインフォメーション、およびノンリアルタイムメタデータが含まれる。なお、インデックスファイル以外のデータについても、追記分だけを保管データに記録するようにしてもよい。 Salvage marker storage data is classified into file data and file system management data. The file data includes program metadata which is a non-real-time file corresponding to audio data and video data of annual rings # (n + 1), # (n + 2),... Following the annual ring #n corresponding to the salvage marker SM # n. , Additional index file entries, clip information, and non-real-time metadata. For data other than the index file, only the additional data may be recorded in the storage data.
サルベージマーカの保管データは、図5および図6を参照して説明した、プログラムメタデータファイル41、インデックスファイル42、クリップインフォメーション81、およびノンリアルタイムメタデータ92に相当する。
The salvage marker storage data corresponds to the
ファイルシステム管理データには、ファイルエントリ、年輪の配置情報、およびディフェクトリストが含まれる。 The file system management data includes a file entry, annual ring arrangement information, and a defect list.
ファイルエントリは、当該サルベージマーカに基づいて復元されるファイルを識別するための識別情報であり、例えば、ファイル名等である。年輪の配置情報は、当該サルベージマーカSM#nに対応する年輪#nの2年輪以前までの年輪#(n−2)、年輪#(n−3)、…のオーディオデータおよびビデオデータが記録された位置を示すものである。ディフェクトリストは、年輪データを記録していたときに欠陥が生じた位置を示す情報である。 The file entry is identification information for identifying a file restored based on the salvage marker, and is, for example, a file name. As the annual ring arrangement information, audio data and video data of annual ring # (n-2), annual ring # (n-3),... Up to the second annual ring of annual ring #n corresponding to the salvage marker SM # n are recorded. The position is indicated. The defect list is information indicating a position where a defect has occurred when annual ring data was recorded.
ただし、年輪データの配置情報は、サルベージマーカに設けられているサイズの上限(例えば、64キロバイト)を越えない限り、1年輪前のサルベージマーカSM#(n−1)に記録されていた年輪データの配置情報に、2年輪前の年輪データ#(n−2)の配置情報を蓄積して保持することができるが、2年輪前の年輪データ#(n−2)の配置情報を蓄積することによって、サルベージマーカの全体のサイズが上限を越えてしまう場合、2年輪前の年輪データ#(n−2)だけを保持するようにする。 However, the arrangement information of the annual ring data is the annual ring data recorded in the salvage marker SM # (n−1) one year before the annual ring data unless the upper limit (for example, 64 kilobytes) of the size provided in the salvage marker is exceeded. The arrangement information of the annual ring data # (n-2) before the second annual ring can be accumulated and held in the arrangement information of the second annual ring, but the arrangement information of the annual ring data # (n-2) before the second annual ring should be accumulated. Therefore, if the total size of the salvage marker exceeds the upper limit, only the annual ring data # (n-2) before the 2nd annual ring is retained.
なお、サルベージマーカの全体のサイズが上限を越えない範囲で、2年輪以前までの年輪データの配置情報が最大限に蓄積されたサルベージマーカが、キーサルベージマーカに指定される。 Note that a salvage marker in which the arrangement information of annual ring data up to the second annual ring is accumulated to the maximum is specified as the key salvage marker in a range where the overall size of the salvage marker does not exceed the upper limit.
次に、不揮発メモリ122に保持される不揮発メモリ保持情報について、図9を参照して説明する。図9は、不揮発メモリ保持情報に含まれる情報の一例を示している。
Next, non-volatile memory holding information held in the
不揮発メモリ保持情報は、管理データと保管データに区別される。管理データには、更新日時、インデックスID、および保管データヘッダが含まれる。 Nonvolatile memory retention information is classified into management data and storage data. The management data includes an update date / time, an index ID, and a storage data header.
更新日時は、当該不揮発メモリ保持情報が記録または更新された最新の日時を示す情報である。インデックスIDは、当該不揮発メモリ保持情報が記録された時に記録再生装置110に装着されている光ディスク111を一意に識別するための固有情報であり、例えば、光ディスク111がフォーマットされたときに付与されている情報を用いする。保管データヘッダは、以降のデータが不揮発メモリ保持情報の保管データであることを示す情報である。
The update date / time is information indicating the latest date / time when the nonvolatile memory holding information is recorded or updated. The index ID is unique information for uniquely identifying the
不揮発メモリ保持情報の保管データには、カレントサルベージマーカポインタ、キーサルベージマーカポインタ、ディスク上のサルベージマーカに未記録の年輪の配置情報、および記録済の年輪情報が含まれる。 The stored data of the nonvolatile memory holding information includes the current salvage marker pointer, the key salvage marker pointer, the arrangement information of the annual rings not recorded on the salvage marker on the disc, and the recorded annual ring information.
カレントサルベージマーカポインタは、光ディスク111に記録済みのサルベージマーカのうち、最新のものが記録されている位置を示す情報である。キーサルベージマーカポインタは、光ディスク111に記録済のキーサルベージマーカが記録されている位置を示す情報である。なお、キーサルベージマーカポインタは、所定の数(例えば、100)だけ蓄積することができる。ディスク上のサルベージマーカに未記録の年輪の配置情報には、年輪の配置情報のうち、サルベージマーカに含まれた状態で光ディスク111に未記録のものが記録される。記録済の年輪情報は、光ディスク111に記録済の年輪データのうち、最新のものを特定する情報である。
The current salvage marker pointer is information indicating a position where the latest salvage marker recorded in the
次に、記録再生装置110による、光ディスク111にオーディオデータやビデオデータを記録する処理(以下、単に記録処理と称する)について、図10を参照して説明するこの記録処理は、例えば、ユーザの指示に基づき、信号入出力装置141から音声信号および映像信号が供給された時に開始される。
Next, a process for recording audio data and video data on the
ステップS1において、データ変換部119は、制御部120からの制御に従い、信号入出力装置141から供給される音声信号と画像信号を圧縮する処理を開始し、その結果得られたオーディオデータおよびビデオデータをメモリコントローラ117に出力する。メモリコントローラ117は、制御部120からの制御に従い、データ変換部19から入力されたオーディオデータおよびビデオデータの、メモリ118へのバッファリングを開始する。
In step S1, the
ステップS2において、制御部20は、年輪の識別に利用するパラメータnを1に初期化する。ステップS3において、サルベージマーカ生成部121は、年輪#nに対応するサルベージマーカSM#nを生成する。このステップS3の処理について、図11のフローチャートを参照して詳述する。
In step S2, the
ステップS21において、サルベージマーカ生成部121は、内蔵するメモリから、サルベージマーカのひな型として、前回作成したサルベージマーカSM#(n−1)を取得する。これ以降、サルベージマーカのひな型に含まれる情報を更新することによって、サルベージマーカSM#nを作成する。なお、前回作成したサルベージマーカSM#(n−1)が存在しない場合、その代わりに、内蔵するメモリに記憶されたデフォルトのひな型を取得する。
In step S <b> 21, the salvage
また、ステップS21の処理を実行せずに、ステップS22以降の処理を、サルベージマーカ生成部121に内蔵されたメモリ上のひな型を更新していくようにしてもよい。
Further, without executing the process of step S21, the process after step S22 may be performed by updating the model on the memory built in the salvage
ステップS22において、サルベージマーカ生成部121は、ひな型の記録日時を現在の日時に更新し、インクリメントナンバを1だけインクリメントする。
In step S <b> 22, the salvage
ステップS23において、サルベージマーカ生成部121は、ひな型のネクストサルベージマーカポインタを、1つ先のサルベージマーカSM#(n+1)の配置情報(予定)に変更する。なお、配置情報(予定)は、サルベージマーカと年輪データのサイズがそれぞれほぼ一定であることを根拠として算出される。
In step S23, the salvage
ステップS24において、サルベージマーカ生成部121は、前回、サルベージマーカSM#(n−1)を作成する処理の過程において、サルベージマーカSM#(n−1)をキーサルベージマーカに指定していた場合、アロケーションマネージャ131からサルベージマーカSM#(n−1)の配置情報(実績)を取得して、ひな型のキーサルベージマーカポインタに追記する。
In step S24, the salvage
ステップS25において、サルベージマーカ生成部121は、1つ先の年輪#(n+1)のオーディオデータおよびビデオデータに対応するNRTメタデータを取得して(例えば、制御部120から)、ひな型のファイルデータに上書きする。
In step S25, the salvage
ステップS26は、サルベージマーカ生成部121は、2つ前の年輪#(n−2)のオーディオデータおよびビデオデータの配置情報(実績)をアロケーションマネージャ131から取得する。
In step S <b> 26, the salvage
ステップS27において、サルベージマーカ生成部121は、ステップS26の処理で取得した、年輪#(n−2)のオーディオデータおよびビデオデータの配置情報(実績)を、ひな型の年輪の配置情報に追記した場合、生成しているサルベージマーカSM#nのサイズが所定の閾値(上限値、例えば64キロバイト)を超過するか否かを判定する。
In step S27, the salvage
ステップS27において、生成しているサルベージマーカSM#nのサイズが所定の閾値を超過しないと判定された場合、処理はステップS28に進む。ステップS28において、サルベージマーカ生成部121は、ステップS26の処理で取得した、年輪#(n−2)のオーディオデータおよびビデオデータの配置情報(実績)を、ひな型の年輪の配置情報に追記する。
If it is determined in step S27 that the size of the generated salvage marker SM # n does not exceed the predetermined threshold, the process proceeds to step S28. In step S28, the salvage
ステップS29において、サルベージマーカ生成部121は、さらに1年輪分のオーディオデータおよびビデオデータの配置情報(実績)を、ひな型の年輪の配置情報に追記した場合、生成しているサルベージマーカSM#nのサイズが所定の閾値を超過するか否かを判定する。生成しているサルベージマーカSM#nのサイズが所定の閾値を超過すると判定した場合、サルベージマーカ生成部121は、ステップS30に進み、生成しているサルベージマーカSM#nを、キーサルベージマーカに指定する。
In step S29, the salvage
ステップS30において、サルベージマーカ生成部121は、ひな型のその他の情報を適宜更新して、サルベージマーカSM#nを完成させ、生成したサルベージマーカSM#nをメモリコントローラ117に出力する。ただし、ひな型のファイルエントリについては、記録処理が開始されてから終了されるまでは同一のものとし、次回の記録処理が開始された場合、今回とは異なるファイルエントリを生成するものとする。これにより、同一のファイルを構成する年輪が識別されることになる。
In step S <b> 30, the salvage
なお、ステップS29において、生成しているサルベージマーカSM#nのサイズが所
定の閾値を超過しないと判定された場合、ステップS30の処理はスキップされる。
If it is determined in step S29 that the size of the generated salvage marker SM # n does not exceed a predetermined threshold, the process of step S30 is skipped.
ステップS27において、生成しているサルベージマーカSM#nのサイズが所定の閾値を超過すると判定された場合、処理はステップS32に進む。ステップS32において、サルベージマーカ生成部121は、ひな型に記録されている年輪#(n−1)以前のオーディオデータおよびビデオデータの配置情報(実績)を消去して、ステップS26の処理で取得した、年輪#(n−2)のオーディオデータおよびビデオデータの配置情報(実績)だけを、ひな型の年輪の配置情報に記録する。この後処理はステップS31に進む。
If it is determined in step S27 that the size of the generated salvage marker SM # n exceeds a predetermined threshold, the process proceeds to step S32. In step S32, the salvage
以上、年輪#nに対応するサルベージマーカ生成処理の説明を終了する。 This is the end of the description of the salvage marker generation process corresponding to annual ring #n.
図10の説明に戻る。ステップS3の処理で、サルベージマーカSM#nが生成された後、ステップS4において、メモリコントローラ117は、制御部120の制御に従い、メモリ118を監視し、メモリ118に1年輪分のオーディオデータおよびビデオデータがバッファリングされたか否かを判定し、1年輪分のオーディオデータおよびビデオデータがバッファリングされたと判定するまで待機する。そして、メモリ118に1年輪分のオーディオデータおよびビデオデータがバッファリングされたとき、処理はステップS5に進む。なお、ステップS3とステップS4の処理は平行して実行してもよい。
Returning to the description of FIG. After the salvage marker SM # n is generated in the process of step S3, in step S4, the
ステップS5において、メモリコントローラ117は、制御部120からの制御に従い、サルベージマーカ生成部121から入力されたサルベージマーカSM#nと、メモリ118にバッファリングされた年輪#nのオーディオデータおよびビデオデータを信号処理部116に供給する。以下、年輪#nのオーディオデータおよびビデオデータを、それぞれ、オーディオデータA#nおよびビデオデータV#nと記述する。また、両者を併せてAVデータ#nとも記述する。
In step S <b> 5, the
信号処理部116は、供給されたサルベージマーカSM#n、オーディオデータA#nおよびビデオデータV#nを、この順番で記録信号に変調し、ピックアップ部113に供給する。ピックアップ部113は、信号処理部116から入力された記録信号を光ディスク111に記録する。
The
ステップS6において、制御部120は、不揮発メモリ122の不揮発メモリ保持情報を更新する。なお、不揮発メモリ122上に不揮発メモリ保持情報が存在しない場合には、以下に説明する不揮発メモリ保持情報の更新と同様に不揮発メモリ保持情報を新たに生成する。
In step S <b> 6, the
具体的には、不揮発メモリ保持情報の管理データの記録日時を、現在の日時に更新し、保管データのカレントサルベージマーカポインタを、ステップS5の処理で光ディスク111に記録されたサルベージマーカSM#nの配置情報(実績)で更新する。さらに、ステップS3の処理で生成されたサルベージマーカSM#nが、ステップS30の処理でキーサルベージマーカに指定されていたならば、保管データのキーサルベージマーカポインタに、キーサルベージマーカであるサルベージマーカSM#nの配置情報(実績)を追記する。また、保管データの「ディスク上のサルベージマーカに未記録の年輪の配置情報」に、年輪#nのAVデータ#nの配置情報(実績)と年輪#(n−1)のAVデータ#(n−1)の配置情報(実績)を記録する。
Specifically, the recording date / time of the management data of the nonvolatile memory holding information is updated to the current date / time, and the current salvage marker pointer of the stored data is set to the salvage marker SM # n recorded on the
ステップS7において、メモリコントローラ117は、信号処理部116に出力されていないオーディオデータおよびビデオデータがメモリ118にバッファリングされているか否かを判定し、その判定結果を制御部120に通知する。制御部120は、メモリコントローラ117からの判定結果に基づいて、この記録処理を終了するか否かを判定する。具体的には、信号処理部116に出力されていないオーディオデータおよびビデオデータがメモリ118にバッファリングされている場合、記録処理を終了しないと判定されて、処理はステップS8に進み、パラメータnが1だけインクリメントされた後、ステップS3に戻り、それ以降の処理が繰り返される。
In step S <b> 7, the
ステップS7において、信号処理部116に出力されていないオーディオデータおよびビデオデータがメモリ118にバッファリングされていない場合、記録処理を終了すると判定されて、処理はステップS9に進む。
In step S7, when the audio data and video data not output to the
ステップS9において、制御部120は、ステップS5の処理によって光ディスク111に記録されたサルベージマーカ、オーディオデータおよびビデオデータをファイルとして管理するためのファイルシステム(管理情報)を作成し、これを信号処理部116に供給して、光ディスク111の内周側FS記録領域1または外周側FS記録領域3の少なくとも一方に記録されているファイルシステム(管理情報)を更新させ、ファイルシステムが正常にクローズされたことを記録させる。例えば、ファイルシステムがUDFである場合、UDFのLVID(Logical Volume Integrity Descriptor)にクローズフラグをセットする。さらに、制御部120は、不揮発メモリ122上の不揮発メモリ保持情報を消去させる。以上、記録処理の説明を終了する。
In step S9, the
なお、以上の説明は、記録処理が正常に終了された場合であって、この記録処理が正常に終了されず、中断された場合に対処できるようにすることが本発明の目的である。 The above description is an object of the present invention to cope with a case where the recording process is normally terminated and this recording process is not terminated normally and is interrupted.
次に、上述した記録処理を、より具体的に説明する。図12乃至図20は、不揮発メモリ122に保持された不揮発メモリ保持情報の主要部分、ファイルシステム(管理情報)に反映されている記録済のデータ、光ディスク111のリアルタイム領域12に対するデータの記録の状況、および、サルベージマーカに含まれる主要な情報の変化を、時系列的に示している。
Next, the above-described recording process will be described more specifically. 12 to 20 show the main part of the non-volatile memory holding information held in the
図12は、記録処理が開始される前の状態である。このとき、不揮発メモリ122には、何も記録されていない。光ディスク111に既に記録済のデータが存在し、そのデータは、既にファイルシステムに反映されている。
FIG. 12 shows a state before the recording process is started. At this time, nothing is recorded in the
図13は、年輪#1に対応するサルベージマーカSM#1とAVデータ#1が、光ディスク111に記録されようとして状態である。未記録のサルベージマーカSM#1には、ネクストサルベージマーカポインタとして、サルベージマーカSM#2の配置情報(予定)が含まれている。
FIG. 13 shows a state where salvage
図14は、年輪#1に対応するサルベージマーカSM#1とAVデータ#1の一部が光ディスク111に記録され、年輪#2に対応するサルベージマーカSM#2とAVデータ#2が、光ディスク111に記録されようとして状態である。未記録のサルベージマーカSM#2には、ネクストサルベージマーカポインタとして、サルベージマーカSM#3の配置情報(予定)が含まれている。
FIG. 14 shows that salvage
図15は、年輪#1に対応するAVデータ#1の光ディスク111に対する記録が終わり、さらに、年輪#2に対応するサルベージマーカSM#2とAVデータ#2の一部が、光ディスク111に記録され、年輪#3に対応するサルベージマーカSM#3とAVデータ#3が、光ディスク111に記録されようとして状態である。未記録のサルベージマーカSM#3には、ネクストサルベージマーカポインタとして、サルベージマーカSM#4の配置情報(予定)と、2年輪前の年輪#1の配置情報(実績)が含まれている。なお、記録が終わった年輪#1の配置情報(実績)を含むサルベージマーカSM#3は、未記録であるので、不揮発メモリ保持情報に、2年輪前の年輪#1の配置情報(実績)が記録される。
In FIG. 15, the recording of the
図16は、年輪#2に対応するAVデータ#2の光ディスク111に対する記録が終わり、さらに、年輪#3に対応するサルベージマーカSM#3とAVデータ#3の一部が、光ディスク111に記録され、年輪#4に対応するサルベージマーカSM#4とAVデータ#4が、光ディスク111に記録されようとして状態である。未記録のサルベージマーカSM#4には、ネクストサルベージマーカポインタとして、サルベージマーカSM#5の配置情報(予定)と、2年輪以前の年輪#1と年輪#2の配置情報(実績)が含まれている。サルベージマーカSM#4は、この段階でデータサイズが上限に迫ったので、キーサルベージマーカに指定される。なお、記録が終わった年輪#2の配置情報(実績)を含むサルベージマーカSM#4は、未記録であるので、不揮発メモリ保持情報に、年輪#2の配置情報(実績)が記録される。
In FIG. 16, the recording of the
図17は、年輪#3に対応するAVデータ#3の光ディスク111に対する記録が終わり、さらに、年輪#4に対応するサルベージマーカSM#4とAVデータ#4の一部が、光ディスク111に記録され、年輪#5に対応するサルベージマーカSM#5とAVデータ#5が、光ディスク111に記録されようとして状態である。未記録のサルベージマーカSM#5には、ネクストサルベージマーカポインタとして、サルベージマーカSM#6の配置情報(予定)と、2年輪前の年輪#3の配置情報(実績)が含まれている。なお、記録が終わった年輪#3の配置情報(実績)を含むサルベージマーカSM#5は、未記録であるので、不揮発メモリ保持情報に、年輪#3の配置情報(実績)が記録される。さらに、キーサルベージマーカポインタとして、年輪#4に対応するサルベージマーカSM#4の配置情報(実績)が記録される。さらに、不揮発メモリ保持情報から、キーサルベージマーカSM#4に含まれる、年輪#1と年輪#2の配置情報(実績)が消去される。
In FIG. 17, the recording of the
図18は、年輪#6に対応するAVデータ#6までの光ディスク111に対する記録が終わり、さらに、年輪#7に対応するサルベージマーカSM#7とAVデータ#7の一部が、光ディスク111に記録され、年輪#8に対応するサルベージマーカSM#8とAVデータ#8が、光ディスク111に記録されようとして状態である。未記録のサルベージマーカSM#8には、ネクストサルベージマーカポインタとして、サルベージマーカSM#9の配置情報(予定)と、2年輪前の年輪#6の配置情報(実績)が含まれている。なお、記録が終わった年輪#6の配置情報(実績)を含むサルベージマーカSM#8は、未記録であるので、不揮発メモリ保持情報に、年輪#6の配置情報(実績)が記録される。さらに、キーサルベージマーカポインタとして、年輪#7に対応するサルベージマーカSM#7の配置情報(実績)が蓄積記録される。さらに、不揮発メモリ保持情報から、キーサルベージマーカSM#7に含まれる、年輪#3乃至#5の配置情報(実績)が消去される。
In FIG. 18, the recording on the
図19は、年輪#9に対応するAVデータ#9までの光ディスク111に対する記録が終わり、さらに、年輪#10に対応するサルベージマーカSM#10とAVデータ#10の一部が、光ディスク111に記録され、年輪#11に対応するサルベージマーカSM#11とAVデータ#11が、光ディスク111に記録されようとして状態である。未記録のサルベージマーカSM#11には、ネクストサルベージマーカポインタとして、サルベージマーカSM#12の配置情報(予定)と、2年輪前の年輪#9の配置情報(実績)が含まれている。なお、記録が終わった年輪#9の配置情報(実績)を含むサルベージマーカSM#11は、未記録であるので、不揮発メモリ保持情報に、年輪#9の配置情報(実績)が記録される。さらに、キーサルベージマーカポインタとして、年輪#10に対応するサルベージマーカSM#10の配置情報(実績)が蓄積記録される。さらに、不揮発メモリ保持情報から、キーサルベージマーカSM#10に含まれる、年輪#6乃至#8の配置情報(実績)が消去される。
In FIG. 19, the recording on the
図19に示された状態の直後に、バッテリの取り外し等によって電力供給が遮断された場合、図20に示すように、光ディスク111には、年輪#9に対応するAVデータ#9までと、年輪#10に対応するサルベージマーカSM#10とAVデータ#10の一部が記録され、不揮発メモリ保持情報には、年輪#9の配置情報(実績)と、キーサルベージマーカポインタとして、年輪#4,#7,#10にそれぞれ対応するサルベージマーカSM#4,#7,#10の配置情報(実績)が蓄積記録されている状態となる。
When the power supply is cut off immediately after the state shown in FIG. 19 due to the removal of the battery or the like, as shown in FIG. 20, the
図20に示された状態では、年輪#1に対応するサルベージマーカSM#1から年輪#10に対応するAVデータ#10の一部までが光ディスク111に記録されているものの、ファイルシステム(管理情報)に反映されていない。したがって、これらのデータは現状では読み出すことができない。そこで、これらのデータの読み出しが可能となるように、以下に説明するデータ復旧処理が実行される。
In the state shown in FIG. 20, although the salvage
次に、データ復旧処理を含むディスク応対処理について、図21のフローチャートを参照して説明する。このディスク応対処理は、記録再生装置110に対する電力の供給が開始されたときに開始される。
Next, disk response processing including data recovery processing will be described with reference to the flowchart of FIG. This disk response process is started when power supply to the recording / reproducing
ステップS51において、制御部120は、光ディスク111が挿入された状態となるまで待機し、光ディスク111が挿入された状態となった場合、ステップS52に進み、復旧実行判定処理を実行する。ここで、復旧実行判定処理とは、挿入された光ディスク111が、以前、記録処理が中断された光ディスクであって、データの復旧(記録処理が中断されるまでに記録されたデータをファイルとしてファイルシステムに登録すること)が必要であるか否かを判定する処理である。
In step S51, the
ステップS52の復旧実行判定処理について、図22のフローチャートを参照して説明する。 The restoration execution determination process in step S52 will be described with reference to the flowchart in FIG.
ステップS71において、制御部120は、サーボ制御部115を制御して、光ディスク11に記録されている、ファイルシステム(管理情報)が正常にクローズされているか否かを示す情報を参照する。例えば、ファイルシステムがUDFの場合、UDFのLVIDを参照する。ステップS72において、制御部120は、ステップS71で参照した情報が、ファイルシステム(管理情報)が正常にクローズされていることを示しているか否かを判定する。ファイルシステムがUDFの場合、LVIDにクローズフラグがセットされているか否かを判定し、クローズフラグがセットされていない場合、処理はステップS73に進む。
In step S71, the
ファイルシステムには、光ディスク111に記録されたデータに対応するファイル名、データの光ディスク111上の記録位置などの情報が登録されている。仮に、記録処理が中断されている場合、ファイルシステムには、記録中だったデータの光ディスク111上の記録位置や、記録中だったデータに対応するファイル名などの情報は登録されない。従って、記録処理が中断されるまでにデータが記録された記録領域は、ファイルシステム上は、データが記録されていない空き領域として登録されている。
In the file system, information such as a file name corresponding to data recorded on the
そこで、ステップS73において、制御部120は、アロケーションマネージャ31に、連続空き容量を仮予約する。アロケーションマネージャ131は、ファイルシステムに登録されたデータの記録位置に関する情報に基づいて、光ディスク111の記録領域の中で、データが記録されていない空き領域を特定し、特定した空き領域に仮にデータを記録する場合に、どの空き領域のどの位置からデータを記録してゆくかという順番を特定する。ステップS74において、制御部120は、サーボ制御部115を制御して、ステップS73の処理で予約した空き領域内で、サルベージIDを検出し、検出したサルベージIDを含むサルベージマーカを読み出す。
Therefore, in step S73, the
ステップS75において、制御部120は、サルベージマーカに含まれている記録時間が、ファイルシステムの更新日時より新しいか否かを判定する。サルベージマーカに含まれている記録時間情報が、ファイルシステムの更新日時より新しいと判定した場合、処理はステップS76に進み、制御部120は、復旧処理が必要であると判定する。その後、処理は図21のステップS53に進む。
In step S75, the
なお、ステップS72において、ステップS71で参照したLVIDにクローズフラグがセットされていると判定された場合、処理はステップS78に進む。 If it is determined in step S72 that the close flag is set in the LVID referred to in step S71, the process proceeds to step S78.
ステップS78において、制御部120は、復旧処理は必要ないと判定する。その後、処理は図21のステップS53に進む。
In step S78, the
ステップS75において、サルベージマーカに含まれている記録時間情報が、ファイルシステムの更新日時より古いと判定された場合、処理はステップS77に進む。ステップS77において、制御部120は、サーボ制御部115および信号制御部116を制御して、光ディスク111に記録された、ファイルシステム(管理情報)が正常にクローズされているか否かを示す情報を、正常にクローズされていると示すように更新する。具体的には、UDFのLVIDにクローズフラグをセットする。その後、処理はステップS78に進む。
If it is determined in step S75 that the recording time information included in the salvage marker is older than the file system update date and time, the process proceeds to step S77. In step S77, the
以上、復旧実行判定処理の説明を終了する。図21に戻る。 This is the end of the description of the recovery execution determination process. Returning to FIG.
ステップS53において、制御部120は、ステップS52の復旧実行判定処理における判定結果が、「データの復旧が必要である」であるか否かを判定し、「データの復旧が必要である」であると判定した場合、処理はステップS54に進む。
In step S53, the
ステップS54において、制御部120は、図示せぬ表示部に、データ復旧処理(サルベージ処理)を行うか否かを選択するように促す通知を表示させる。そして、ステップS55において、この通知に対応してユーザからデータ復旧処理の実行を指示する操作が行われたか否かを判定し、データ復旧処理の実行を指示する操作が行われたと判定された場合、ステップS56に進み、データ復旧処理を実行する。
In step S54, the
なお、ステップS53において、「データの復旧が必要である」であると判定された場合に、ステップS54の処理を省略して、直ちにステップS56の処理を実行するようにしてもよい。 If it is determined in step S53 that “data recovery is necessary”, the process in step S54 may be omitted and the process in step S56 may be performed immediately.
また、ステップS53において、ステップS52の復旧実行判定処理における判定結果が、「データの復旧が必要である」はないと判定された場合、ステップS54乃至S56の処理はスキップされる。また、ステップS55において、データ復旧処理の実行を指示する操作が行われなかった(データ復旧処理を実行しない旨の指示が行われた)と判定された場合にも、ステップS56の処理はスキップされる。 If it is determined in step S53 that the determination result in the recovery execution determination process in step S52 is “data recovery is necessary”, the processes in steps S54 to S56 are skipped. Even when it is determined in step S55 that the operation for instructing the execution of the data recovery process has not been performed (the instruction for not performing the data recovery process has been performed), the process of step S56 is skipped. The
ステップS56のデータ復旧処理について、図23のフローチャートを参照して説明する。ステップS91において、制御部120は、不揮発メモリ122に不揮発メモリ保持情報が存在するか否かを判定する。不揮発メモリ保持情報が存在すると判定された場合、処理はステップS92に進む。
The data recovery process in step S56 will be described with reference to the flowchart in FIG. In step S <b> 91, the
ステップS92において、制御部120は、不揮発メモリ122の不揮発メモリ保持情報と、光ディスク111のファイルシステムとのそれぞれから、光ディスク111の識別情報であるインデックスIDを読み出して、両者か一致するか否かを判定する。当該記録再生装置110によって光ディスク111に対する記録処理が中断されていた場合には、両者が一致すると判定されて、処理はステップS93に進む。
In step S92, the
ステップS93において、制御部120は、不揮発メモリ保持情報に記録されているキーサルベージマーカポインタに基づき、光ディスク111からキーサルベージマーカを順次読み出させて記憶する。
In step S93, the
例えば、図20に示された状態から、データ復旧処理が行われる場合、図24に示すように、不揮発メモリ保持情報のキーサルベージマーカポインタに基づき、キーサルベージマーカSM#4,#7#10が読み出される。
For example, when the data recovery process is performed from the state shown in FIG. 20, as shown in FIG. 24, the key salvage
このとき、キーサルベージマーカは、飛び飛びに配置されているので、光ディスク111を回転させるスピンドルモータ112をCAV方式とすることができる。この場合、CLV方式とするよりもより高速で、全てのキーサルベージマーカを読み出すことができる。
At this time, since the key salvage markers are arranged in a jumping manner, the
ステップS94において、制御部120は、キーサルベージマーカに記録されている各年輪の配置情報(実績)に基づいてファイルシステムを更新する。
In step S94, the
例えば、図24の状態の場合、キーサルベージマーカSM#4から年輪#1,#2の配置情報(実績)、キーサルベージマーカSM#7から年輪#3乃至#5の配置情報(実績)、キーサルベージマーカSM#10から年輪#6乃至#8の配置情報(実績)が取得され、不揮発メモリ保持情報から年輪#9の配置情報(実績)が取得されるので、図25に示すように、ファイルシステムには、年輪#1乃至#9のサルベージマーカとAVデータが反映されることになる。
For example, in the state of FIG. 24, arrangement information (actual) from key salvage
なお、ステップS91において、不揮発メモリ保持情報が存在しないと判定された場合、処理はステップS95に進む。 If it is determined in step S91 that the nonvolatile memory holding information does not exist, the process proceeds to step S95.
また、ステップS92において、不揮発メモリ保持情報と、光ディスク111のファイルシステムのそれぞれのインデックスIDが一致しないと判定された場合にも、処理はステップS95に進む。
If it is determined in step S92 that the nonvolatile memory holding information does not match the respective index IDs of the file system of the
ステップS95において、制御部120は、光ディスク111からサルベージマーカを検出させ、順次読み出させて記憶する。この後、処理はステップS94に進む。ステップS94において、制御部120は、サルベージマーカに記録されている各年輪の配置情報(実績)に基づいてファイルシステムを更新する。この場合、全てのサルベージマーカを読み出すことになるので、スピンドルモータ112へのCAV方式の適用が困難となる。したがって、ステップS93の処理でキーサルベージマーカだけを読み出す場合に比較して、読み出しに要する時間が長くなる。
In step S95, the
なお、サルベージマーカSM#1乃至#9には、年輪#10までに対応するノンリアルタイムのファイルデータが記録されているので、それを用いて、年輪#10までに対応するノンリアルタイムのファイルデータをノンリアルタイム領域11に記録し、記録したノンリアルタイムのファイルデータをファイルシステムに反映させることができる。
The salvage
以上で、データ復旧処理が終了される。またディスク応対処理も終了される。 This completes the data recovery process. The disk response process is also terminated.
なお、ステップS55において、データを復旧しない旨の操作が行われ、ステップS56の復旧処理が実行されなかった場合、その後に、上述した記録処理が実行されると、復旧されなかったデータ(ファイルシステムにファイルとして登録されなかったデータ)の上に、新たなデータが上書きされる。従って、復旧されなかったデータは、いずれ光ディスク111から消去されることになる。
In step S55, if an operation for not recovering data is performed and the recovery process in step S56 is not executed, if the recording process described above is subsequently executed, the data that has not been recovered (file system New data is overwritten on top of (data not registered as a file). Therefore, the data that has not been recovered will be erased from the
以上のように、本発明によれば、記録が正常に終了しなかった場合でも、記録中だったデータを復旧することが可能となる。 As described above, according to the present invention, it is possible to recover data that was being recorded even if the recording did not end normally.
なお、以上の説明においては、単一の記録再生装置110により、記録処理、復旧実行判定処理、およびデータ復旧処理を実行する場合を例として説明したが、例えば、記録処理を実行する記録装置、復旧実行判定処理およびデータ復旧処理を実行するサルベージ装置、および光ディスクを再生する再生装置を、それぞれ別の装置とするようにしてもよい。
In the above description, a case where the recording process, the recovery execution determination process, and the data recovery process are executed by the single recording / reproducing
すなわち、復旧実行判定処理およびデータ復旧処理を実行する機能、並びに光ディスクを再生する機能を有さない記録装置により、記録処理を実行するようにしてもよいし、光ディスクの記録処理および再生処理を実行する機能を有さないサルベージ装置により、復旧実行判定処理およびデータ復旧処理を実行するようにしてもよい。 That is, the recording process may be executed by a recording device that does not have a function of executing the recovery execution determination process and the data recovery process and a function of playing back the optical disc, or an optical disc recording process and a playback process are executed. The recovery execution determination process and the data recovery process may be executed by a salvage device that does not have the function to perform the above.
なお、本発明は、光ディスク以外のディスク状記録媒体や、その他のランダムアクセス可能な記録媒体(例えば、半導体メモリ)に適用することができる。さらに、本発明は、ファイルとして管理していれば、どのような記録媒体にデータを記録する場合にも適用可能である。 The present invention can be applied to disc-shaped recording media other than optical discs and other randomly accessible recording media (for example, semiconductor memories). Furthermore, the present invention can be applied to recording data on any recording medium as long as it is managed as a file.
また、以上においては、同一の記録媒体にオーディオデータおよびビデオデータなどのコンテンツデータ、並びにファイルシステム(コンテンツデータを管理するための管理データ)を記録する場合を例として説明したが、コンテンツデータとファイルシステム(管理データ)が同一の記録媒体に記録されていない場合にも、本発明は適用可能である。例えば、1つのカートリッジにディスクメディア(もしくはテープメディア)および半導体メモリを格納したパッケージメディアのうち、ディスクメディア(もしくはテープメディア)にコンテンツデータを記録し、半導体メモリにファイルシステムを記録するようにしてもよい。また、例えば、ネットワークで接続された2台の装置のうち1台の装置においてコンテンツデータを保持し、もう1台の装置においてファイルシステムを保持するようにしてもよい。勿論、コンテンツデータおよびファイルシステム(管理データ)が同一の記録媒体に記録されていない、上記以外の例にも本発明は適用可能である。 In the above description, the case where content data such as audio data and video data and a file system (management data for managing content data) are recorded on the same recording medium has been described as an example. The present invention is also applicable when the system (management data) is not recorded on the same recording medium. For example, content data is recorded on a disk medium (or tape medium) out of package media in which a disk medium (or tape medium) and a semiconductor memory are stored in one cartridge, and a file system is recorded on the semiconductor memory. Good. Further, for example, content data may be held in one of two devices connected via a network, and a file system may be held in the other device. Of course, the present invention can also be applied to examples other than the above in which the content data and the file system (management data) are not recorded on the same recording medium.
上述した一連の処理は、ハードウエアにより実現させることもできるが、ソフトウエアにより実現させることもできる。一連の処理をソフトウエアにより実現する場合には、そのソフトウエアを構成するプログラムがコンピュータにインストールされ、そのプログラムがコンピュータで実行されることより、上述したディスク記録再生装置110が機能的に実現される。
The series of processes described above can be realized by hardware, but can also be realized by software. When a series of processing is realized by software, a program constituting the software is installed in a computer, and the program is executed by the computer, whereby the above-described disc recording / reproducing
なお、本明細書において、記録媒体(プログラム格納媒体)により提供されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 In the present specification, the steps for describing a program provided by a recording medium (program storage medium) are not necessarily processed in time series, as well as processes performed in time series in the described order. Both include processes executed in parallel or individually.
110 記録再生装置, 111 光ディスク, 112 スピンドルモータ, 113 ピックアップ部, 114 RFアンプ, 115 サーボ制御部, 116 信号処理部, 117 メモリコントローラ, 118 メモリ, 119 データ変換部, 120 制御部, 121 サルベージマーカ生成部, 122 不揮発メモリ, 131 アロケーションマネージャ, 141 信号入出力装置 110 recording / reproducing apparatus, 111 optical disk, 112 spindle motor, 113 pickup unit, 114 RF amplifier, 115 servo control unit, 116 signal processing unit, 117 memory controller, 118 memory, 119 data conversion unit, 120 control unit, 121 salvage marker generation Part, 122 non-volatile memory, 131 allocation manager, 141 signal input / output device
Claims (7)
1つの前記ファイルを構成する複数の分割データ毎に、前記記録媒体に記録されてはいるが前記ファイルシステムに反映されていない前記分割データを前記ファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも前記記録媒体に記録された前記分割データの前記記録媒体上の配置情報を含むマーカを生成する生成手段と、
前記分割データと前記マーカとが前記記録媒体上で所定の順番に配置されるように前記分割データおよび前記マーカを前記記録媒体に記録する記録手段と、
前記記録媒体上の前記マーカの配置情報を保持する保持手段とを含み、
前記生成手段は、前記記録媒体に記録された前記分割データの前記記録媒体上の配置情報を蓄積して、前記マーカを生成し、前記マーカのデータサイズが所定の上限に達したものをキーマーカに指定する
ことを特徴とする記録装置。 In a recording apparatus that records data on a recording medium as a file, and also records on the recording medium a file system that indicates a correspondence relationship between identification information for identifying the file and a recording position of the file on the recording medium.
For each of a plurality of divided data constituting one file, it is used for a salvage process for reflecting the divided data that is recorded in the recording medium but not reflected in the file system to the file system. Generating means for generating at least a marker including arrangement information on the recording medium of the divided data recorded on the recording medium;
Recording means for recording the divided data and the marker on the recording medium so that the divided data and the marker are arranged in a predetermined order on the recording medium;
Look including a holding means for holding the placement information of the marker on the recording medium,
The generation means accumulates arrangement information on the recording medium of the divided data recorded on the recording medium, generates the marker, and uses a marker whose data size has reached a predetermined upper limit as a key marker A recording device characterized by specifying .
ことを特徴とする請求項1に記載の記録装置。 The recording apparatus according to claim 1, wherein the holding unit is a nonvolatile memory.
ことを特徴とする請求項1に記載の記録装置。 It said retaining means, a recording apparatus according to claim 1, characterized in that holding arrangement information of the Kimaka generated by the generating means.
ことを特徴とする請求項1に記載の記録装置。 The holding means also holds arrangement information on the recording medium of the divided data recorded on the recording medium that is not recorded on the recording medium in a state of being included in the marker. The recording apparatus according to 1.
前記読み出し手段によって読み出された前記マーカに基づき、前記サルベージ処理を実行するサルベージ手段と
をさらに含むことを特徴とする請求項1に記載の記録装置。 Based on the marker arrangement information held by the holding means, reading means for reading the marker from the recording medium;
The recording apparatus according to claim 1, further comprising: a salvage unit that executes the salvage process based on the marker read by the reading unit.
1つの前記ファイルを構成する複数の分割データ毎に、前記記録媒体に記録されてはいるが前記ファイルシステムに反映されていない前記分割データを前記ファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも前記記録媒体に記録された前記分割データの前記記録媒体上の配置情報を含むマーカ生成する生成ステップと、
前記分割データと前記マーカとが前記記録媒体上で所定の順番に配置されるように前記分割データおよび前記マーカを前記記録媒体に記録する記録ステップと、
前記記録媒体上の前記マーカの配置情報を保持する保持ステップとを含み、
前記生成ステップは、前記記録媒体に記録された前記分割データの前記記録媒体上の配置情報を蓄積して、前記マーカを生成し、前記マーカのデータサイズが所定の上限に達したものをキーマーカに指定する
ことを特徴とする記録方法。 In a recording method for recording data on a recording medium as a file, and also recording on the recording medium a file system indicating a correspondence relationship between identification information for identifying the file and a recording position of the file on the recording medium.
For each of a plurality of divided data constituting one file, it is used for a salvage process for reflecting the divided data that is recorded in the recording medium but not reflected in the file system to the file system. A generation step of generating a marker including at least arrangement information of the divided data recorded on the recording medium on the recording medium;
A recording step of recording the divided data and the marker on the recording medium so that the divided data and the marker are arranged in a predetermined order on the recording medium;
Look including a holding step of holding arrangement information of the marker on the recording medium,
The generation step accumulates the arrangement information on the recording medium of the divided data recorded on the recording medium, generates the marker, and uses the data whose marker data size reaches a predetermined upper limit as a key marker A recording method characterized by specifying .
1つの前記ファイルを構成する複数の分割データ毎に、前記記録媒体に記録されてはいるが前記ファイルシステムに反映されていない前記分割データを前記ファイルシステムに反映させるためのサルベージ処理に用いられる、少なくとも前記記録媒体に記録された前記分割データの前記記録媒体上の配置情報を含むマーカを生成する生成ステップと、
前記分割データと前記マーカとが前記記録媒体上で所定の順番に配置されるように前記分割データおよび前記マーカを前記記録媒体に記録させる記録ステップと、
前記記録媒体上の前記マーカの配置情報を保持させる保持ステップとを含み、
前記生成ステップは、前記記録媒体に記録された前記分割データの前記記録媒体上の配置情報を蓄積して、前記マーカを生成し、前記マーカのデータサイズが所定の上限に達したものをキーマーカに指定する
処理をコンピュータに実行させることを特徴とするプログラム。 A file system that records data on a recording medium as a file and also shows a correspondence relationship between identification information for identifying the file and a recording position of the file on the recording medium is a program for recording on the recording medium. There,
For each of a plurality of divided data constituting one file, it is used for a salvage process for reflecting the divided data that is recorded in the recording medium but not reflected in the file system to the file system. Generating a marker including at least arrangement information on the recording medium of the divided data recorded on the recording medium;
A recording step of recording the divided data and the marker on the recording medium so that the divided data and the marker are arranged in a predetermined order on the recording medium;
Look including a holding step for holding the arrangement information of the marker on the recording medium,
The generation step accumulates the arrangement information on the recording medium of the divided data recorded on the recording medium, generates the marker, and uses the data whose marker data size reaches a predetermined upper limit as a key marker A program that causes a computer to execute a specified process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004047746A JP4171986B2 (en) | 2004-02-24 | 2004-02-24 | Recording apparatus and method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004047746A JP4171986B2 (en) | 2004-02-24 | 2004-02-24 | Recording apparatus and method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005243078A JP2005243078A (en) | 2005-09-08 |
JP4171986B2 true JP4171986B2 (en) | 2008-10-29 |
Family
ID=35024669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004047746A Expired - Fee Related JP4171986B2 (en) | 2004-02-24 | 2004-02-24 | Recording apparatus and method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4171986B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6478760B2 (en) * | 2015-03-27 | 2019-03-06 | キヤノン株式会社 | Recording apparatus, control method therefor, and computer program |
-
2004
- 2004-02-24 JP JP2004047746A patent/JP4171986B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005243078A (en) | 2005-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7486598B2 (en) | Playback apparatus, playback method, and program | |
US7949842B2 (en) | Method and apparatus for formatting storage medium | |
US20060215984A1 (en) | Device and method for recording information | |
JP2002150699A (en) | Information processor, information processing method, and recording medium with this method recorded thereon | |
CA2484605C (en) | Recording device and recording method | |
JP4140516B2 (en) | Recording control apparatus and method, recording medium, and program | |
JP2000324435A (en) | Disk device | |
CN100382189C (en) | Recording method, recording device, and recording medium | |
JP4169049B2 (en) | Information processing apparatus, information processing method, and computer program | |
RU2284589C2 (en) | Method and device for recording, and data carrier | |
JP4171986B2 (en) | Recording apparatus and method, and program | |
RU2523733C2 (en) | Recording device and method of editing video and audio | |
KR100641931B1 (en) | Method for recording and reproducing data link of multiple medium | |
US20100097905A1 (en) | Information processing device, information recording medium, information processing method and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060823 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080125 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080321 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080717 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080730 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110822 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120822 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |