JP4255796B2 - DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM - Google Patents

DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM Download PDF

Info

Publication number
JP4255796B2
JP4255796B2 JP2003346045A JP2003346045A JP4255796B2 JP 4255796 B2 JP4255796 B2 JP 4255796B2 JP 2003346045 A JP2003346045 A JP 2003346045A JP 2003346045 A JP2003346045 A JP 2003346045A JP 4255796 B2 JP4255796 B2 JP 4255796B2
Authority
JP
Japan
Prior art keywords
data
recording
recorded
stream
management information
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
Application number
JP2003346045A
Other languages
Japanese (ja)
Other versions
JP2005116007A (en
Inventor
智哉 紫村
裕利 岩野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2003346045A priority Critical patent/JP4255796B2/en
Publication of JP2005116007A publication Critical patent/JP2005116007A/en
Application granted granted Critical
Publication of JP4255796B2 publication Critical patent/JP4255796B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、映像データや音声データなどの時系列データと、該時系列データに対応し、後で記録するために現時点では空白であるアフレコデータとを1組の連続データとして、複数組の連続データを、ランダムアクセス可能な記録媒体に連続して記録するデータ記録装置、データ記録方法、データ記録プログラム、および該プログラムを記録した記録媒体に関するものである。   In the present invention, time series data such as video data and audio data, and post-record data corresponding to the time series data and currently blank for recording later are used as a set of continuous data. The present invention relates to a data recording apparatus, a data recording method, a data recording program, and a recording medium on which the program is recorded, for continuously recording data on a randomly accessible recording medium.

光ディスクや磁気ディスクなどのディスク記録媒体や半導体記録媒体に対して、映像、音声、音楽などのAV(Audio Visual)コンテンツの記録再生を行うデータ記録装置が普及してきている。これらAVコンテンツの記録において、テープメディアと同様にアフターレコーディング(以下、「アフレコ」と略称する。)機能を実現する技術が考案されている。   Data recording apparatuses for recording / reproducing AV (Audio Visual) contents such as video, audio, music, etc., on disk recording media such as optical disks and magnetic disks, and semiconductor recording media have become widespread. In recording these AV contents, a technique has been devised that realizes an after-recording (hereinafter abbreviated as “after-recording”) function in the same manner as a tape medium.

アフレコ機能は、既に記録した映像データや音声データと同期して再生するデータを後から追記する機能である。このようなデータの例としては、音楽やナレーションなどのサウンドデータ、映像データと重畳して表示する静止画などのグラフィックデータや字幕などのテキストデータが挙げられる。   The post-recording function is a function for adding data to be reproduced in synchronization with video data and audio data that have already been recorded. Examples of such data include sound data such as music and narration, graphic data such as still images to be displayed superimposed on video data, and text data such as subtitles.

ディスク記録媒体を用いてアフレコ機能を実現する方法について、図20に基づいて説明する。図20は、AVコンテンツを記録するときに作成される複数のファイルと、これらファイル内のデータが記録媒体に記録される物理的な記録位置とを示している。図示のように、AVコンテンツを記録するときには、AVストリームデータファイル2031、アフレコファイル2032、および付加データファイル2033が作成される。   A method for realizing an after-recording function using a disk recording medium will be described with reference to FIG. FIG. 20 shows a plurality of files created when AV content is recorded, and physical recording positions at which data in these files are recorded on a recording medium. As shown in the figure, when AV content is recorded, an AV stream data file 2031, an after-recording file 2032, and an additional data file 2033 are created.

AVストリームデータファイル2031は、映像や音声のデータである複数のAVストリームデータを含む構成である。アフレコファイル2032は、AVストリームデータのそれぞれに対応する複数のアフレコデータを含む構成である。なお、アフレコデータは、上述のように後で記録されるデータであるから、AVコンテンツを記録媒体に記録するときには、アフレコデータが記録される記録領域2000〜2003が確保されるのみである。この記録領域2000〜2003は、ポストレコーディングユニット(Post Recording Unit)領域(以下「PRU領域」と称する。)と呼ばれている。   The AV stream data file 2031 includes a plurality of AV stream data that are video and audio data. The after-recording file 2032 includes a plurality of after-recording data corresponding to each AV stream data. Since the after-recording data is data to be recorded later as described above, when recording the AV content on the recording medium, only the recording areas 2000 to 2003 for recording the after-recording data are secured. The recording areas 2000 to 2003 are called post recording unit areas (hereinafter referred to as “PRU areas”).

付加データファイル2033は、各AVストリームデータを適切なタイミングで再生するために付加される複数の管理情報データを含む構成である。管理情報データには、AVストリームデータを再生するのに必要な時間アドレス変換テーブルなどが含まれる。   The additional data file 2033 includes a plurality of management information data added to reproduce each AV stream data at an appropriate timing. The management information data includes a time address conversion table necessary for reproducing AV stream data.

図示のように、AVストリームデータの記録とPRU領域の確保とを記録媒体上で行う場合には、或るAVストリームデータの記録領域と該AVストリームデータに対応するPRU領域とを1つのセットとして物理的に連続配置するようにデータの記録および領域の確保を行い、上記セット2010〜2013のそれぞれが順次実行されることになる。そして、AVストリームデータの記録後に、各AVストリームデータに対応するアフレコデータが、該当するPRU領域に記録されて、AVコンテンツが完成する。   As shown in the figure, when recording AV stream data and securing a PRU area on a recording medium, one AV stream data recording area and a PRU area corresponding to the AV stream data are set as one set. Data is recorded and areas are secured so that they are physically continuously arranged, and each of the above sets 2010 to 2013 is sequentially executed. After the AV stream data is recorded, the post-record data corresponding to each AV stream data is recorded in the corresponding PRU area, thereby completing the AV content.

このように、AVストリームデータと該AVストリームデータに対応するアフレコデータとを記録媒体上で連続配置することにより、AVストリームデータを再生する時に、対応するアフレコデータが遅延して再生されることを防止できる。   In this way, by continuously arranging the AV stream data and the after-record data corresponding to the AV stream data on the recording medium, the corresponding after-record data is reproduced with a delay when the AV stream data is reproduced. Can be prevented.

また、上記セット2010〜2013の単位で記録する場合、各セットに対応する管理情報データは、各セットのAVストリームデータに連続配置されて記録される。これにより、AVストリームデータを再生する時に、再生に必要な各種情報を続けて読み出すことができる。   When recording is performed in units of the sets 2010 to 2013, the management information data corresponding to each set is continuously arranged and recorded in the AV stream data of each set. Thereby, when reproducing AV stream data, various information necessary for reproduction can be read continuously.

さらに、下記の特許文献1では、全ての管理情報データを含む管理情報ファイル730を別の記録領域1620にも記録している。これにより、AVストリームデータに連続配置されて記録された各管理情報データが、記録媒体の破損等により読み出すことができなくなっても、管理情報ファイル730から管理情報データを再作成することができる。
特開2002−197839号公報(平成14年7月12日公開)
Further, in Patent Document 1 below, a management information file 730 including all management information data is recorded in another recording area 1620. As a result, management information data can be re-created from the management information file 730 even if each management information data recorded continuously arranged in the AV stream data cannot be read due to damage of the recording medium or the like.
JP 2002-197839 A (published July 12, 2002)

上述のように、従来の場合では、或るセットの記録を行った後に、その連続する記録領域に上記セットに対応する管理情報データを記録し、その後次のセットの記録を行っている。すなわち、各セットの記録の間に管理情報データの記録が行われる。このため、管理情報データを記録する間に入力されるAVストリームデータを一時的に蓄積できる記録用バッファが必要である。また、記録用バッファに蓄積されたAVストリームデータを次のセットで記録するために、記録すべきAVストリームデータの長さを長くする必要がある。   As described above, in the conventional case, after recording a certain set, the management information data corresponding to the set is recorded in the continuous recording area, and then the next set is recorded. In other words, the management information data is recorded during the recording of each set. For this reason, a recording buffer capable of temporarily storing AV stream data input while recording management information data is required. Further, in order to record the AV stream data accumulated in the recording buffer in the next set, it is necessary to increase the length of the AV stream data to be recorded.

同様のことがデータの再生に関しても言える。すなわち、各セットの再生の間に管理情報データの再生が行われる。このため、管理情報データを再生する間に出力すべきAVストリームデータを一時的に蓄積できる再生用バッファが必要であり、再生用バッファに蓄積すべきAVストリームデータを記録媒体から再生するため、再生すべきAVストリームデータの長さを長くする必要がある。   The same can be said for data reproduction. That is, the management information data is reproduced during the reproduction of each set. For this reason, a reproduction buffer capable of temporarily storing AV stream data to be output during reproduction of management information data is necessary, and the AV stream data to be accumulated in the reproduction buffer is reproduced from the recording medium. It is necessary to increase the length of the AV stream data to be processed.

記録用バッファまたは再生用バッファの容量を増大すると、これらのバッファの回路規模が増大することになる。また、AVストリームデータの長さを長くすると、AVストリームデータの移動や削除を伴う編集(破壊編集)を行うときに指定する単位が粗くなる。   Increasing the capacity of the recording buffer or the reproducing buffer increases the circuit scale of these buffers. Further, when the length of the AV stream data is increased, the unit specified when editing (destructive editing) accompanied by movement or deletion of the AV stream data becomes coarse.

さらに、管理情報データを、各セットのAVストリームデータに連続配置しない場合には、シーク動作を必要とするので、AVストリームデータの記録および再生がさらに遅延することになる。このため、記録用バッファまたは再生用バッファの容量をさらに増大させ、AVストリームデータの長さをさらに長くする必要がある。また、シーク動作の発生により、動作音や振動が増大することや、消費電力が増大することになる。   Further, when the management information data is not continuously arranged in each set of AV stream data, a seek operation is required, so that recording and reproduction of AV stream data is further delayed. For this reason, it is necessary to further increase the capacity of the recording buffer or the reproduction buffer and further increase the length of the AV stream data. In addition, the occurrence of a seek operation increases operation noise and vibration, and increases power consumption.

また、管理情報データの記録領域は、AVストリームデータの記録領域に比べて狭いため、AVストリームデータの記録領域として再利用することが困難である。このため、記録媒体の利用効率が低下することになる。   Also, since the recording area of management information data is narrower than the recording area of AV stream data, it is difficult to reuse it as a recording area of AV stream data. For this reason, the utilization efficiency of a recording medium will fall.

上記問題点に対し、上記特許文献1から、管理情報データを、各セットのAVストリームデータに連続配置せずに、全セットの記録後に全ての管理情報データを含む管理情報ファイルを記録することが考えられる。この場合、セットの記録間で管理情報データの記録が行われることがないから、記録用バッファの容量を最小とすることができ、AVストリームデータのデータ長を最小とすることができる。   In order to solve the above-mentioned problem, it is possible to record a management information file including all management information data after recording all sets, without continuously arranging management information data in each set of AV stream data. Conceivable. In this case, since management information data is not recorded between sets of recording, the capacity of the recording buffer can be minimized, and the data length of AV stream data can be minimized.

しかしながら、全ての管理情報データを記憶する必要があるため、記憶装置の記憶領域を管理情報データで圧迫することになる。また、場合によっては、AVストリームデータの記録中に、それまでに記録したAVストリームデータの管理情報データの量が記憶装置の記憶容量を越えて、それ以上、AVストリームデータを記録することが不可能となることがある。   However, since it is necessary to store all the management information data, the storage area of the storage device is compressed with the management information data. In some cases, during the recording of the AV stream data, the amount of management information data of the AV stream data recorded so far exceeds the storage capacity of the storage device, and it is impossible to record the AV stream data any more. It may be possible.

また、AVストリームデータとともにアフレコデータを記録する場合には、各セットのPRU領域には、該セットのAVストリームデータに対応するアフレコデータを記録する必要があるから、記録すべきAVストリームデータが確定するまでアフレコデータの記録を待機する必要があり、記録の遅延が生じることになる。さらに、図20に示されるように、AVストリームデータの記録領域の上流側にPRU領域が設けられている場合には、AVストリームデータの記録後にシーク動作を行ってPRU領域にアフレコデータを記録する必要があり、さらなる記録の遅延が生じることになる。   Further, when recording the after-recording data together with the AV stream data, it is necessary to record the after-recording data corresponding to the AV stream data of each set in the PRU area of each set. Until this is done, it is necessary to wait for the recording of post-recording data, resulting in a recording delay. Furthermore, as shown in FIG. 20, when the PRU area is provided upstream of the recording area of the AV stream data, a seek operation is performed after the recording of the AV stream data to record the post-recording data in the PRU area. This will cause additional recording delays.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、記録用バッファまたは再生用バッファの容量を抑えるとともに、AVストリームデータのサイズを小さく抑えて、記録媒体の利用効率を向上させたデータ記録装置、データ記録方法、データ記録プログラム、および該プログラムを記録した記録媒体を提供することにある。   The present invention has been made in view of the above problems, and its object is to reduce the capacity of the recording buffer or the reproduction buffer and to reduce the size of the AV stream data, thereby improving the efficiency of use of the recording medium. An object is to provide an improved data recording apparatus, data recording method, data recording program, and recording medium on which the program is recorded.

上記の課題を解決するため、本発明に係るデータ記録装置は、連続的に記録および/または再生すべきデータであるストリームデータの記録と、該ストリームデータに同期して再生され、かつ後で記録されるデータであるアフレコデータの記録領域の確保とを1セットとして記録媒体に対し連続して行い、これを複数セットについて行うように制御する記録制御手段を備えるデータ記録装置において、上記記録制御手段は、或るセットにおいて、上記ストリームデータの記録を行うとともに、上記ストリームデータと異なるデータである特定データを上記アフレコデータの記録領域に記録するように制御することを特徴としている。   In order to solve the above problems, a data recording apparatus according to the present invention records stream data, which is data to be continuously recorded and / or reproduced, and is reproduced in synchronization with the stream data and recorded later. In a data recording apparatus comprising recording control means for continuously securing a recording area of post-record data, which is data to be recorded, to a recording medium as one set, and controlling the recording medium to be performed for a plurality of sets, the recording control means Is characterized in that, in a certain set, the stream data is recorded, and control is performed so that specific data that is different from the stream data is recorded in a recording area of the after-recording data.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記記録制御手段は、複数セットの記録を行った後、上記アフレコデータの記録領域に記録された特定データを、上記ストリームデータおよびアフレコデータの記録領域とは別の記録領域に移動するように制御する特定データ移動制御手段を備えることを特徴としている。   Furthermore, in the data recording apparatus according to the present invention, in the above configuration, the recording control unit performs a plurality of sets of recording, and then specifies the specific data recorded in the recording area of the after-recording data as the stream data and the after-recording. A specific data movement control means for controlling to move to a recording area different from the data recording area is provided.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記記録制御手段は、各セットにおいて、上記特定データを記録するように制御することを特徴としている。   Furthermore, the data recording apparatus according to the present invention is characterized in that, in the above configuration, the recording control means controls to record the specific data in each set.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記記録制御手段は、或るセットにおいて、複数の上記特定データをまとめて記録するように制御することを特徴としている。   Furthermore, the data recording apparatus according to the present invention is characterized in that, in the above configuration, the recording control means controls to record a plurality of the specific data in a certain set.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記記録制御手段は、前回に上記特定データを記録してから所定期間経過後に記録するセットにおいて、上記特定データを記録するように制御することを特徴としている。   Furthermore, the data recording apparatus according to the present invention is configured such that, in the above configuration, the recording control means controls to record the specific data in a set in which the specific data is recorded after a lapse of a predetermined period from the previous recording. It is characterized by doing.

さらに、本発明に係るデータ記録装置は、上記の構成において、特定データを蓄積する記憶手段をさらに備えており、上記記録制御手段は、上記記憶手段の残量の低下を検出した場合に、上記記憶手段に蓄積された特定データを記録するように制御することを特徴としている。   Furthermore, the data recording apparatus according to the present invention further includes a storage unit that accumulates specific data in the above configuration, and the recording control unit detects the decrease in the remaining amount of the storage unit when Control is performed so as to record specific data stored in the storage means.

さらに、本発明に係るデータ記録装置は、上記の構成において、ユーザが情報を入力する入力手段をさらに備えており、上記記録制御手段は、上記入力手段からの書込み指示の情報に基づいて、上記特定データを記録するように制御することを特徴としている。   Further, the data recording apparatus according to the present invention further includes an input means for the user to input information in the above configuration, and the recording control means is configured to perform the above operation based on the information of the write instruction from the input means. It is characterized by controlling to record specific data.

さらに、本発明に係るデータ記録装置は、上記の構成において、装置の状況を検知する状況検知手段をさらに備えており、上記記録制御手段は、上記状況検知手段の検知に基づいて、上記特定データを記録するように制御することを特徴としている。   Further, the data recording apparatus according to the present invention further includes a situation detecting unit for detecting the situation of the apparatus in the above configuration, and the recording control unit is configured to detect the specific data based on the detection by the situation detecting unit. It is characterized by controlling to record.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記記録制御手段は、上記複数セットの複数の特定データを管理する1つの管理ファイルを記録するように制御することを特徴としている。   Furthermore, the data recording apparatus according to the present invention is characterized in that, in the above-mentioned configuration, the recording control means controls to record one management file for managing the plurality of sets of specific data.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記記録制御手段は、上記複数セットの複数の特定データを管理する複数の管理ファイルを記録するように制御することを特徴としている。   Further, the data recording apparatus according to the present invention is characterized in that, in the above configuration, the recording control means controls to record a plurality of management files for managing the plurality of sets of specific data.

さらに、本発明に係るデータ記録装置は、上記の構成において、ユーザが情報を入力する入力手段をさらに備えており、上記特定データは、上記入力手段からの入力データであることを特徴としている。   Further, the data recording apparatus according to the present invention is characterized in that, in the above-described configuration, the data recording apparatus further includes an input means for a user to input information, and the specific data is input data from the input means.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記特定データは、上記ストリームデータに関連する関連データであることを特徴としている。   Furthermore, the data recording apparatus according to the present invention is characterized in that, in the above configuration, the specific data is related data related to the stream data.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記関連データは、上記ストリームデータの再生に必要な管理情報であることを特徴としている。   Furthermore, the data recording apparatus according to the present invention is characterized in that, in the above configuration, the related data is management information necessary for reproducing the stream data.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記関連データは、上記ストリームデータに同期して再生されるデータであることを特徴としている。   Furthermore, the data recording apparatus according to the present invention is characterized in that, in the above configuration, the related data is data reproduced in synchronization with the stream data.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記記録制御手段は、或るセットの関連データを、上記セットより後のセットにて確保されるアフレコデータの記録領域に記録するように制御することを特徴としている。   Further, in the data recording apparatus according to the present invention, in the above configuration, the recording control means records a certain set of related data in a recording area of post-record data secured in a set after the set. It is characterized by controlling to.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記ストリームデータの内容から上記関連データを取得する関連データ取得手段をさらに備えることを特徴としている。   Furthermore, the data recording apparatus according to the present invention is characterized in that, in the above configuration, the data recording apparatus further includes related data acquisition means for acquiring the related data from the contents of the stream data.

さらに、本発明に係るデータ記録装置は、上記の構成において、上記特定データは、上記ストリームデータに関連しないデータであることを特徴としている。   Furthermore, the data recording apparatus according to the present invention is characterized in that, in the above configuration, the specific data is data not related to the stream data.

また、本発明に係るデータ記録方法は、上記の課題を解決するために、連続的に記録および/または再生すべきデータであるストリームデータの記録と、該ストリームデータに対応しかつ後で記録されるデータであるアフレコデータの記録領域の確保とを1セットとして記録媒体に対し連続して行い、これを複数セットについて行うデータ記録方法において、或るセットにおいて、上記ストリームデータの記録を行うとともに、上記ストリームデータと異なるデータである特定データを上記アフレコデータの記録領域に記録することを特徴としている。   Further, in order to solve the above problems, the data recording method according to the present invention records stream data that is data to be continuously recorded and / or reproduced, and corresponds to the stream data and is recorded later. In a data recording method in which the recording area of the after-recording data, which is data to be recorded, is continuously recorded on a recording medium as one set, and this is performed for a plurality of sets, the stream data is recorded in a certain set, and Specific data that is different from the stream data is recorded in a recording area of the after-recording data.

また、本発明に係るデータ記録プログラムは、上記の課題を解決するため、上記データ記録装置を動作させるためのデータ記録プログラムであって、コンピュータを上記記録制御手段として機能させるためのデータ記録プログラムであることを特徴としている。   A data recording program according to the present invention is a data recording program for operating the data recording apparatus to solve the above-described problem, and is a data recording program for causing a computer to function as the recording control means. It is characterized by being.

また、本発明に係るコンピュータ読取り可能な記録媒体は、上記の課題を解決するため、上記のデータ記録プログラムが記録されていることを特徴としている。   In addition, a computer-readable recording medium according to the present invention is characterized in that the data recording program is recorded in order to solve the above problems.

以上のように、本発明に係るデータ記録装置は、上記記録制御手段が、或るセットにおいて、上記ストリームデータの記録を行うとともに、上記ストリームデータと異なるデータである特定データを上記アフレコデータの記録領域に記録するように制御する構成である。ここで、特定データには、ストリームデータに関連する関連データと、放送、ネットワーク、および外部機器からのデータなどのストリームデータに関連しないデータとが含まれる。   As described above, in the data recording apparatus according to the present invention, the recording control unit records the stream data in a certain set and records specific data that is different from the stream data in the recording of the post-recording data. It is the structure which controls to record to an area | region. Here, the specific data includes related data related to the stream data and data not related to the stream data such as data from the broadcast, the network, and the external device.

上記の構成によると、特定データが、アフレコデータのために確保される記録領域に記録されるので、特定データを記録するために別の記録領域を確保する必要がない。また、特定データをセット内の記録領域に記録するから、特定データをセット外の記録領域に記録するためにシーク動作を行う必要がない。したがって、特定データの記録により生じる遅延を抑えることができるので、ストリームデータのサイズを小さく抑え、ディスクの利用効率を向上させる効果を奏する。   According to the above configuration, the specific data is recorded in the recording area reserved for the after-recording data, so that it is not necessary to secure another recording area for recording the specific data. Further, since the specific data is recorded in the recording area in the set, it is not necessary to perform a seek operation in order to record the specific data in the recording area outside the set. Therefore, the delay caused by the recording of the specific data can be suppressed, so that the stream data size can be reduced and the disk utilization efficiency can be improved.

なお、上記記録制御手段は、複数セットの記録を行った後、上記アフレコデータの記録領域に記録された特定データを、上記ストリームデータおよびアフレコデータの記録領域とは別の記録領域に移動するように制御する特定データ移動制御手段を備えることが望ましい。   The recording control means moves the specific data recorded in the recording area of the after-recording data to a recording area different from the recording area of the stream data and the after-recording data after performing a plurality of sets of recording. It is desirable to provide specific data movement control means for controlling the data.

この場合、複数セットの記録の終了後に、特定データを別の記録領域に移動されるので、後でアフレコデータを記録するときにアフレコデータの記録領域の全てを利用できる効果を奏する。なお、上記別の記録領域を、特定データを本来記録すべき領域とすれば、従来と同様のデータ再生処理によりストリームデータおよび特定データを再生することができ、特別なデータ再生処理が不要となる効果を奏する。また、特定データを、アフレコデータとしては無意味なダミーデータとすれば、アフレコデータを記録するために特定データを削除する必要が無くなり、特定データが記録されていることによりアフレコデータの記録処理が遅延することを防止する効果を奏する。   In this case, since the specific data is moved to another recording area after a plurality of sets of recording is completed, there is an effect that the entire recording area of the after-recording data can be used when the after-recording data is recorded later. If the other recording area is an area where the specific data is to be originally recorded, the stream data and the specific data can be reproduced by the same data reproduction process as before, and no special data reproduction process is required. There is an effect. Further, if the specific data is dummy data which is meaningless as post-record data, it is not necessary to delete the specific data in order to record the post-record data, and the recording process of the post-record data is performed because the specific data is recorded. There is an effect of preventing the delay.

また、上記記録制御手段は、各セットにおいて、上記特定データを記録するように制御してもよい。この場合、各セットに特定データが記録されているから、データのコピーや移動、挿入処理といった編集作業をセット単位で行うことができる効果を奏する。さらに、特定データがストリームデータの再生に必要な管理情報である場合には、ストリームデータの記録開始から終了までを一括して管理している管理情報を解釈し、データ操作せずとも、セット内のデータを操作するだけで、編集することができ、特に有効である。   Further, the recording control means may control to record the specific data in each set. In this case, since specific data is recorded in each set, it is possible to perform editing operations such as data copying, moving, and insertion processing in units of sets. Further, when the specific data is management information necessary for reproducing the stream data, the management information that is managed collectively from the start to the end of the recording of the stream data is interpreted, and the data in the set can be obtained without operating the data. This is particularly effective because it can be edited simply by manipulating the data.

これに対し、上記記録制御手段は、或るセットにおいて、複数の上記特定データをまとめて記録するように制御してもよい。この場合、特定データを書き込む回数が減少するので、データの記録処理が迅速となる効果を奏する。なお、書き込むタイミングとしては、以下のように種々のタイミングが存在する。   On the other hand, the recording control means may perform control so as to record a plurality of the specific data together in a certain set. In this case, since the number of times of writing the specific data is reduced, there is an effect that the data recording process becomes quick. There are various timings for writing as follows.

例えば、上記記録制御手段は、前回に上記特定データを記録してから所定期間経過後に記録するセットにおいて、上記特定データを記録するように制御することが挙げられる。この場合、特定データをアフレコデータの記録領域に記録したところまでのストリームデータとその特定データとが記録媒体上に記録されるので、データ記録装置の電源の供給が突然停止した場合においても、記録した内容は保持されこととなり、電源断対策という効果が生じる。   For example, the recording control means may control to record the specific data in a set in which the specific data is recorded last time and recorded after a predetermined period. In this case, since the stream data up to the point where the specific data is recorded in the recording area of the after-recording data and the specific data are recorded on the recording medium, the recording can be performed even when the power supply of the data recording apparatus is suddenly stopped. The contents are retained, and the effect of taking measures against power interruption occurs.

別の例としては、特定データを蓄積する記憶手段をさらに備えており、上記記録制御手段は、上記記憶手段の残量の低下を検出した場合に、上記記憶手段に蓄積された特定データを記録するように制御することが挙げられる。この場合、記憶手段の記憶容量を超えて特定データを記憶しようとして失敗し、特定データを消失することを防止し、記憶手段の記憶容量の増大を防止する効果を奏する。これにより、記憶手段の記憶容量が少なくても、長時間のストリームデータを記録できる効果を奏する。なお、記憶手段に蓄積されている特定データの全てを書き込んでも良いし、一部を書き込んでも良い。   As another example, a storage means for storing specific data is further provided, and the recording control means records the specific data stored in the storage means when detecting a decrease in the remaining amount of the storage means. It is possible to control so as to. In this case, there is an effect that the attempt to store the specific data exceeding the storage capacity of the storage means fails, the specific data is lost, and the storage capacity of the storage means is prevented from increasing. As a result, even if the storage capacity of the storage means is small, it is possible to record long-time stream data. Note that all of the specific data stored in the storage means may be written, or a part thereof may be written.

さらに別の例としては、ユーザが情報を入力する入力手段をさらに備えており、上記記録制御手段は、上記入力手段からの書込み指示の情報に基づいて、上記特定データを記録するように制御することが挙げられる。この場合、ユーザの判断によって、特定データをメモリから記録媒体にバックアップできる効果を奏する。また、特定データの内容の重要度によって、バックアップを行うタイミングを自由に設定できる効果を奏する。   As yet another example, the apparatus further includes input means for inputting information by the user, and the recording control means performs control so as to record the specific data based on information of a write instruction from the input means. Can be mentioned. In this case, the specific data can be backed up from the memory to the recording medium according to the user's judgment. In addition, there is an effect that the backup timing can be freely set according to the importance of the content of the specific data.

その他の例としては、装置の状況を検知する状況検知手段をさらに備えており、上記記録制御手段は、上記状況検知手段の検知に基づいて、上記特定データを記録するように制御することが挙げられる。ここで、状況検知手段としては、装置の衝撃を検知する加速度センサや、装置の電源である電池の残容量を検知するための電池容量検知センサが挙げられる。この場合、ストリームデータの記録中に、装置に加えられた衝撃による記録処理の失敗や、電源断によるメモリ上の特定データの消失を防止する効果を奏する。   As another example, it is further provided with a status detection unit that detects the status of the apparatus, and the recording control unit controls to record the specific data based on the detection of the status detection unit. It is done. Here, examples of the state detection means include an acceleration sensor that detects an impact of the apparatus and a battery capacity detection sensor that detects a remaining capacity of a battery that is a power source of the apparatus. In this case, during the recording of the stream data, there is an effect of preventing a recording process failure due to an impact applied to the apparatus and a loss of specific data on the memory due to a power failure.

また、上記記録制御手段は、上記複数セットの複数の特定データを管理する1つの管理ファイルを記録するように制御してもよい。この場合、複数の特定データを1つの管理ファイルで管理するので、特定データの記録されたアフレコデータの記録領域を直ちに把握できる効果を奏する。また、上記記録領域を簡素な方法で管理できるため、上記記録領域を管理し易いという効果を奏する。   Further, the recording control means may control to record one management file for managing the plurality of sets of specific data. In this case, since a plurality of specific data is managed by one management file, there is an effect that the recording area of the after-recording data in which the specific data is recorded can be immediately grasped. In addition, since the recording area can be managed by a simple method, the recording area can be easily managed.

これに対し、上記記録制御手段は、上記複数セットの複数の特定データを管理する複数の管理ファイルを記録するように制御してもよい。この場合、各管理ファイルを、特定データが記録されるタイミング別、特定データの種類別などで記録することができ、特定データの内容ごとに整理や分類を行い易くなるという効果を奏する。   On the other hand, the recording control unit may control to record a plurality of management files for managing the plurality of sets of specific data. In this case, each management file can be recorded by the timing at which the specific data is recorded, by the type of the specific data, and the like, and there is an effect that it becomes easy to organize and classify for each content of the specific data.

また、ユーザが情報を入力する入力手段をさらに備え、上記入力手段からの入力データを上記特定データとしてもよい。この場合、ストリームデータの記録中に、ユーザが思い立ったタイミングで入力した入力データを記録することができ、記録中にメモをとるといった機能を提供できる効果を奏する。   Further, an input means for a user to input information may be further provided, and input data from the input means may be the specific data. In this case, there is an effect that it is possible to provide the function of recording the input data input by the user at a timing that is conceived during the recording of the stream data and taking a memo during the recording.

なお、入力データは、記録しているストリームデータの再生に関する情報や内容に関する情報であることが望ましい。この場合、ストリームデータの記録後に、ストリームデータの最終的な分割作業などを行うときに、記録中に付加した前記メモを参照することによりスムーズに行うことが可能となる効果を奏する。   Note that the input data is preferably information related to reproduction or content of the recorded stream data. In this case, when the final division operation of the stream data is performed after the recording of the stream data, there is an effect that it can be performed smoothly by referring to the memo added during the recording.

また、上記特定データは、上記ストリームデータに関連する関連データであることが望ましい。ここで、ストリームデータに関連する関連データとしては、ストリームデータの再生に必要な時間アドレス変換テーブルなどの管理情報や、上記アフレコデータのようにストリームデータに同期して再生されるデータが挙げられる。   The specific data is preferably related data related to the stream data. Here, as the related data related to the stream data, there are management information such as a time address conversion table necessary for reproducing the stream data, and data reproduced in synchronization with the stream data such as the after-recording data.

なお、関連データがストリームデータに同期して再生されるデータである場合には、ストリームデータの再生時に、関連データとストリームデータとを連続的に再生できる。したがって、再生ヘッドのシークが発生しないので、消費電力が小さくなり、データ再生装置の動作音が小さくなるという効果が得られる。   If the related data is data that is reproduced in synchronization with the stream data, the related data and the stream data can be continuously reproduced when the stream data is reproduced. Therefore, since the seek of the reproducing head does not occur, the power consumption is reduced and the operation sound of the data reproducing apparatus is reduced.

また、上記記録制御手段は、或るセットの関連データを、上記セットより後のセットにて確保されるアフレコデータの記録領域に記録するように制御してもよい。この場合、関連データを、対応するセットより後のセットに記録するから、記録すべきストリームデータの確定後に関連データを作成して記録するまでに生じる記録の遅延を抑えることができる効果を奏する。   Further, the recording control means may control to record a certain set of related data in a recording area of post-recording data secured in a set after the set. In this case, since the related data is recorded in a set after the corresponding set, there is an effect that it is possible to suppress a recording delay that occurs until the related data is created and recorded after the stream data to be recorded is determined.

また、上記ストリームデータの内容から上記関連データを取得する関連データ取得手段をさらに備えてもよい。ここで、ストリームデータの内容としては、シーン情報やチャプター情報などが挙げられる。この場合、記録したストリームデータを再生するときに、ストリームデータの全体の内容がどのような内容または構成となっているかを把握し易くなり、ストリームデータ中の任意の再生したい箇所を直ちに検索するのに役立つ効果を奏する。   Moreover, you may further provide the related data acquisition means which acquires the said related data from the content of the said stream data. Here, the contents of the stream data include scene information and chapter information. In this case, when the recorded stream data is played back, it becomes easier to grasp what kind of content or configuration the entire stream data has, and any part of the stream data to be played back is immediately searched. Has a useful effect.

また、上記特定データは、上記ストリームデータに関連しないデータであってもよい。この場合、ストリームデータとは異なる用途のデータをストリームデータと同時に記録できるという効果を奏する。   The specific data may be data not related to the stream data. In this case, there is an effect that data for a different purpose from the stream data can be recorded simultaneously with the stream data.

また、本発明に係るデータ記録方法は、以上のように、或るセットにおいて、上記ストリームデータの記録を行うとともに、上記特定データを上記アフレコデータの記録領域に記録する方法である。   Further, as described above, the data recording method according to the present invention is a method for recording the stream data in a certain set and recording the specific data in a recording area of the after-recording data.

上記の方法によると、特定データが、アフレコデータのために確保される記録領域に記録されるので、特定データを記録するために別の記録領域を確保する必要がない。また、特定データをセット内の記録領域に記録するから、特定データをセット外の記録領域に記録するためにシーク動作を行う必要がない。したがって、特定データの記録により生じる遅延を抑えることができるので、ストリームデータのサイズを小さく抑え、ディスクの利用効率を向上させる効果を奏する。   According to the above method, the specific data is recorded in the recording area reserved for the after-recording data, so that it is not necessary to secure another recording area for recording the specific data. Further, since the specific data is recorded in the recording area in the set, it is not necessary to perform a seek operation in order to record the specific data in the recording area outside the set. Therefore, the delay caused by the recording of the specific data can be suppressed, so that the stream data size can be reduced and the disk utilization efficiency can be improved.

なお、上記データ記録装置における記録制御手段を、記録制御プログラムによりコンピュータ上で実行させることができる。さらに、上記記録制御プログラムをコンピュータ読取り可能な記録媒体に記憶させることにより、任意のコンピュータ上で上記記録制御プログラムを実行させることができる。   The recording control means in the data recording apparatus can be executed on a computer by a recording control program. Furthermore, the recording control program can be executed on an arbitrary computer by storing the recording control program in a computer-readable recording medium.

〔実施の形態1〕
以下、本発明の一実施形態について、図1ないし図18に基づいて説明する。図2は、本実施形態におけるアフレコ可能なビデオディスクレコーダの概略構成を示している。
[Embodiment 1]
Hereinafter, an embodiment of the present invention will be described with reference to FIGS. FIG. 2 shows a schematic configuration of a video disc recorder capable of post-recording in the present embodiment.

図2に示されるように、このビデオディスクレコーダ10は、バス100、ホストCPU(Central Processing Unit)101、RAM(Random Access Memory)102、ROM(Read Only Memory)103、ユーザインタフェース104、システムクロック発生器105、光ディスク(記録媒体)106、ピックアップ107、ECC(Error Correcting Coding)デコーダ108、ECCエンコーダ109、再生用バッファ110、記録/アフレコ用バッファ111、デマルチプレクサ112、マルチプレクサ113、多重化用バッファ114、オーディオデコーダ115、ビデオデコーダ116、オーディオエンコーダ117、ビデオエンコーダ118、および図示しないカメラ、マイク、スピーカ、ディスプレイ等で構成される。   As shown in FIG. 2, the video disk recorder 10 includes a bus 100, a host CPU (Central Processing Unit) 101, a RAM (Random Access Memory) 102, a ROM (Read Only Memory) 103, a user interface 104, and a system clock generator. 105, optical disk (recording medium) 106, pickup 107, ECC (Error Correcting Coding) decoder 108, ECC encoder 109, reproduction buffer 110, recording / post-recording buffer 111, demultiplexer 112, multiplexer 113, multiplexing buffer 114 , An audio decoder 115, a video decoder 116, an audio encoder 117, a video encoder 118, and a camera, a microphone, a speaker, a display, etc. (not shown).

ホストCPU101は、プログラムの実行により、ピックアップ107、デマルチプレクサ112、マルチプレクサ113、オーディオデコーダ115、ビデオデコーダ116、オーディオエンコーダ117、ビデオエンコーダ118等の制御を、バス100を通じて行う。デマルチプレクサ112、マルチプレクサ113、ピックアップ107、オーディオデコーダ115、ビデオデコーダ116、オーディオエンコーダ117、およびビデオエンコーダ118は、ハードウエアで各機能を実現させてもよいし、CPUにてソフトウェアを実行することにより各機能を実現させてもよい。   The host CPU 101 controls the pickup 107, the demultiplexer 112, the multiplexer 113, the audio decoder 115, the video decoder 116, the audio encoder 117, the video encoder 118, and the like through the bus 100 by executing the program. The demultiplexer 112, the multiplexer 113, the pickup 107, the audio decoder 115, the video decoder 116, the audio encoder 117, and the video encoder 118 may implement each function by hardware, or by executing software by the CPU. Each function may be realized.

RAM102は、ビデオディスクレコーダの動作を制御するためにホストCPU101に実行させる制御プログラム等のプログラムやプログラムの実行に必要なデータをロードしたり、プログラムの実行のための作業領域を提供したりしている。   The RAM 102 loads a program such as a control program executed by the host CPU 101 in order to control the operation of the video disk recorder, data necessary for executing the program, and provides a work area for executing the program. Yes.

ROM103は、上記のプログラムやデータを格納している。制御プログラムは、後述する記録時の処理を実現するためのデータ記録プログラムを含んでいる。このデータ記録プログラムは、ROM103に限らず、コンピュータが読み取り可能である光ディスク、光磁気ディスク、磁気ディスク、磁気テープ、半導体メモリ等の記録媒体に記録され、図示しないドライブ装置によって読み出されてRAM102に格納されてもよい。   The ROM 103 stores the above programs and data. The control program includes a data recording program for realizing processing at the time of recording described later. This data recording program is recorded not only in the ROM 103 but also in a recording medium such as an optical disk, a magneto-optical disk, a magnetic disk, a magnetic tape, and a semiconductor memory that can be read by a computer, and is read by a drive device (not shown) and stored in the RAM 102. It may be stored.

ユーザインタフェース104は、ユーザが本ビデオディスクレコーダ10の各種の操作をリモートコントローラを用いてできるように、操作案内等をディスプレイの画面に表示したりユーザによる操作入力を受け入れたりするためのものである。ユーザインタフェース104は、CPUにてソフトウェアを実行することにより実現できる。システムクロック発生器105は、CPU101、RAM102、ROM103等に供給するためのシステムクロックを発生する回路である。   The user interface 104 is for displaying operation guidance on a display screen or accepting operation input by the user so that the user can perform various operations of the video disc recorder 10 using the remote controller. . The user interface 104 can be realized by executing software on the CPU. The system clock generator 105 is a circuit that generates a system clock to be supplied to the CPU 101, the RAM 102, the ROM 103, and the like.

再生時に、光ディスク106からピックアップ107を通じて読み出されたデータは、ECCデコーダ108によって誤り訂正され、再生用バッファ110に一旦蓄えられる。デマルチプレクサ112は、オーディオデコーダ115、ビデオデコーダ116からのデータ送信要求に従って、再生用バッファ110中のデータをその種別によって適切なデコーダ115・116に振り分ける。オーディオデコーダ115およびビデオデコーダ116は、デマルチプレクサ112から送られたデータのデコードを行う。   During reproduction, data read from the optical disk 106 through the pickup 107 is error-corrected by the ECC decoder 108 and temporarily stored in the reproduction buffer 110. In accordance with the data transmission request from the audio decoder 115 and the video decoder 116, the demultiplexer 112 distributes the data in the reproduction buffer 110 to the appropriate decoders 115 and 116 depending on the type. The audio decoder 115 and the video decoder 116 decode the data sent from the demultiplexer 112.

一方、記録時には、オーディオデータおよびビデオデータがそれぞれオーディオエンコーダ117およびビデオエンコーダ118によって圧縮符号化される。圧縮符号化されたオーディオデータおよびビデオデータは、マルチプレクサ113を介して多重化用バッファ114に送られ、そこで一時的に格納される。さらに、マルチプレクサ113は、多重化用バッファ114から上記データを読み出してAV多重化し、AV多重化データを記録/アフレコ用バッファ111に送る。ECCエンコーダ109は、記録/アフレコ用バッファ111から送られたAV多重化データに対し誤り訂正符号を付加し、ピックアップ107を通じて光ディスク106に記録する。   On the other hand, at the time of recording, audio data and video data are compression encoded by the audio encoder 117 and the video encoder 118, respectively. The compression-coded audio data and video data are sent to the multiplexing buffer 114 via the multiplexer 113 and temporarily stored there. Further, the multiplexer 113 reads the data from the multiplexing buffer 114 and AV-multiplexes it, and sends the AV multiplexed data to the recording / post-recording buffer 111. The ECC encoder 109 adds an error correction code to the AV multiplexed data sent from the recording / after-recording buffer 111 and records it on the optical disc 106 through the pickup 107.

ECCエンコーダ109によるオーディオデータの符号化方式には、例えばISO/IEC 11172-3で規定されるMPEG1 Layer-IIを用いることができる。一方、ECCエンコーダ109によるビデオデータの符号化方式には、例えばISO/IEC 13818-2で規定されるMPEG2を用いることができる。   As an encoding method of audio data by the ECC encoder 109, for example, MPEG1 Layer-II defined by ISO / IEC 11172-3 can be used. On the other hand, for example, MPEG2 defined by ISO / IEC 13818-2 can be used as a video data encoding method by the ECC encoder 109.

光ディスク106は、例えばDVD−RAMのように、外周から内周に向かって螺旋状に記録再生の行われるものであり、ビデオディスクレコーダ10に対して脱着可能な記録媒体とする。また、光ディスク106は、2048byteを1セクタとし、誤り訂正のため16セクタでECCブロックを構成する。ECCブロック中のデータを書き換える場合には、そのデータが含まれるECCブロック全体を読み込み、誤り訂正を行い、対象のデータを書き換え、再び誤り訂正符号を付加し、ECCブロックを構成して光ディスク106に記録することが行われる。   The optical disk 106 is a recording medium that is recorded and reproduced spirally from the outer periphery to the inner periphery, such as a DVD-RAM, and is a recording medium that can be attached to and detached from the video disk recorder 10. The optical disk 106 has 2048 bytes as one sector, and an ECC block is composed of 16 sectors for error correction. When the data in the ECC block is rewritten, the entire ECC block including the data is read, error correction is performed, the target data is rewritten, an error correction code is added again, and the ECC block is configured on the optical disk 106. Recording is done.

また、光ディスク106への記録時における回転制御方式としては、記録効率を上げるためZCAV(ゾーン角速度一定)を採用している。このため、記録領域は回転数の異なる複数のゾーンで構成される。   Further, as a rotation control method at the time of recording on the optical disc 106, ZCAV (constant zone angular velocity) is adopted in order to increase recording efficiency. For this reason, the recording area is composed of a plurality of zones having different rotational speeds.

本実施の形態に係るビデオディスクレコーダ10では、光ディスク106上の各種情報を管理するためにファイルシステムを用いており、このファイルシステムに従ってデータ(アフレコデータ、オーディオデータ、ビデオデータ)が光ディスク106に記録される。ファイルシステムには、パーソナルコンピュータ(以下、PCと略称する)との相互運用を考慮してUDF(Universal Disk Format)を使用することができる。ファイルシステム上では、各種管理情報(関連データ)やAVストリームはファイルとして扱われる。   In the video disc recorder 10 according to the present embodiment, a file system is used to manage various information on the optical disc 106, and data (after-recording data, audio data, video data) is recorded on the optical disc 106 in accordance with this file system. Is done. For the file system, UDF (Universal Disk Format) can be used in consideration of interoperability with a personal computer (hereinafter abbreviated as PC). On the file system, various management information (related data) and AV streams are handled as files.

ファイルシステムは、ユーザエリアを2048バイトの論理ブロックで管理している。この論理ブロックはセクタと一対一に対応する。ユーザエリア上の各ファイルは、整数個のエクステント(extent)(連続した論理ブロック)で構成され、エクステント単位で分散して記録されてもよい。ユーザエリア内の空き領域は、Space Bitmapを用いて論理ブロック単位で管理される。   The file system manages the user area with 2048-byte logical blocks. This logical block has a one-to-one correspondence with the sector. Each file on the user area is composed of an integer number of extents (consecutive logical blocks), and may be recorded in a distributed manner in units of extents. Free areas in the user area are managed in units of logical blocks using Space Bitmap.

本実施形態では、AVストリーム管理のためのフォーマットとして、QuickTimeファイルフォーマットを用いる。QuickTimeファイルフォーマットとは、Apple社が開発したマルチメディアデータ管理用フォーマットであり、PCの世界では広く用いられている。   In this embodiment, the QuickTime file format is used as a format for AV stream management. The QuickTime file format is a multimedia data management format developed by Apple and widely used in the PC world.

QuickTimeファイルフォーマットは、ビデオデータやオーディオデータ等(これらを総称してメディアデータと呼ぶこともある)と管理情報とで構成される。メディアデータと管理情報とを合わせてここでは、QuickTimeムービー(ムービーと略称する)と称する。メディアデータと管理情報とは、同じファイル中に存在してもよいし、別々のファイルに存在してもよい。   The QuickTime file format is composed of video data, audio data, etc. (these may be collectively referred to as media data) and management information. The media data and the management information are collectively referred to herein as a QuickTime movie (abbreviated as a movie). The media data and the management information may exist in the same file or may exist in different files.

図4(a)は、両者が同じファイル201中に存在する場合にとる構成を示している。各種情報は“atom”という共通の構造に格納される。より詳細には、第1の管理情報はMovie atom211という構造に格納され、メディアデータはMovie data atom212という構造に格納される。   FIG. 4A shows a configuration that is used when both exist in the same file 201. Various types of information are stored in a common structure called “atom”. More specifically, the first management information is stored in a structure called Movie atom 211, and the media data is stored in a structure called Movie data atom 212.

Movie atom211における管理情報には、メディアデータ中の任意の時間に対応するメディアデータのファイル中での相対位置を導くためのテーブルや、メディアデータの属性情報や、後述する外部参照情報等が含まれている。一方、Movie data atom212におけるメディアデータすなわちAVストリーム(AV stream)213には、AH(Atom Header)が付加される。このような構成では、Movie atomはメディアデータをatom内で参照している。   The management information in Movie atom 211 includes a table for deriving a relative position in the media data file corresponding to an arbitrary time in the media data, media data attribute information, external reference information described later, and the like. ing. On the other hand, AH (Atom Header) is added to the media data in the Movie data atom 212, that is, the AV stream (AV stream) 213. In such a configuration, the Movie atom refers to the media data in the atom.

図4(b)は、管理情報とメディアデータとをそれぞれ別々のファイル202・203に格納した場合の構成を示している。管理情報はMovie atom211という構造に格納されるが、メディアデータはatomに格納される必要はない。このとき、Movie atom211は、メディアデータを格納したファイル203を「外部参照」している、という。   FIG. 4B shows a configuration when management information and media data are stored in separate files 202 and 203, respectively. Management information is stored in a structure called Movie atom 211, but media data need not be stored in atom. At this time, it is said that the Movie atom 211 “externally references” the file 203 storing the media data.

図4(c)に示すように、外部参照は、例えば、ファイル204におけるMovie atom211から、複数のファイル205・206にそれぞれ格納されるAVストリーム213(AV stream ♯1,♯2)に対して行うことが可能である。   As shown in FIG. 4C, external reference is performed, for example, from the Movie atom 211 in the file 204 to the AV streams 213 (AV stream # 1, # 2) stored in a plurality of files 205 and 206, respectively. It is possible.

このような仕組みにより、AVストリーム213自体を物理的に移動することなく、見かけ上編集を行ったように見せる、いわゆる「ノンリニア編集」や「非破壊編集」が可能になる。また、光ディスク106上に記録したAVストリームの同一のシーンを使って複数のユーザプログラムを作成することが可能であり、かつ、同一のアフレコデータを複数のユーザプログラムにて参照することも可能である。   By such a mechanism, so-called “non-linear editing” and “non-destructive editing” that make it appear as if editing has been performed without physically moving the AV stream 213 itself become possible. In addition, it is possible to create a plurality of user programs using the same scene of the AV stream recorded on the optical disc 106, and it is also possible to refer to the same post-record data using a plurality of user programs. .

図5は、AVストリームの形態を示している。AVストリーム401は、1個以上のCU(Continuous Unit)402で構成される。CU402は、ディスク上で連続的に記録される単位である。CU402の境界は、ECCブロック境界と一致するようにストリームが構成されている。   FIG. 5 shows the form of an AV stream. The AV stream 401 is composed of one or more CUs (Continuous Units) 402. The CU 402 is a unit that is continuously recorded on the disc. The stream is configured so that the boundary of the CU 402 matches the ECC block boundary.

CU402の長さは、AVストリーム401を構成するCU402をどのように光ディスク106上に配置してもシームレス再生(再生中に画像や音声が途切れないで再生できること)やリアルタイムアフターレコーディング(アフレコ対象のビデオをシームレス再生しながらオーディオを記録すること)が保証されるように設定される。   The length of the CU 402 is such that the CU 402 constituting the AV stream 401 can be seamlessly reproduced (images and sounds can be reproduced without interruption during reproduction) or real-time after recording (video to be dubbed) regardless of how the CU 402 constituting the AV stream 401 is arranged. Recording the audio while seamlessly playing the video).

また、CU402は、先頭から連続する番号が♯1,♯2,…,♯Lのように付与されており、各CU402は、1つのPRU403と1個以上のVU(Video Unit)404とから構成される。PRU403は、前述のアフレコデータのブロックに対応する。PRU403の領域サイズは、CU402の再生時間にオーディオの最大ビットレートを乗算したものである。一方、VU404は、単独再生可能な単位であり、VU404の集合が前述のオリジナルブロックに対応する。また、VU404は、CU402と同様に、先頭から連続する番号が♯1,♯2,…,♯Mのように付与される。   Further, the CU 402 is assigned consecutive numbers from the beginning such as # 1, # 2,..., #L, and each CU 402 is composed of one PRU 403 and one or more VUs (Video Units) 404. Is done. The PRU 403 corresponds to the aforementioned post-record data block. The area size of the PRU 403 is obtained by multiplying the playback time of the CU 402 by the maximum audio bit rate. On the other hand, the VU 404 is a unit that can be reproduced independently, and a set of the VU 404 corresponds to the original block described above. Similarly to the CU 402, the VU 404 is assigned numbers such as # 1, # 2,.

なお、QuickTimeの管理情報の構成については後述する。   The configuration of QuickTime management information will be described later.

本実施形態において用いられるファイルシステムのフォーマットであるUDF(Universal Disk Format)について図6を用いて説明する。同図(a)はディレクトリおよびファイルの構成例であり、同図(b)は該構成例をUDFで記録した例を示している。   A UDF (Universal Disk Format) which is a file system format used in this embodiment will be described with reference to FIG. FIG. 4A shows an example of the configuration of directories and files, and FIG. 4B shows an example of recording the configuration example in UDF.

図6(b)のAVDP(Anchor Volume Descriptor Pointer)602は、UDFの管理情報を探すためのエントリポイントに相当し、通常256セクタ目、Nセクタ目、あるいは(N−256)セクタ目(Nは最大論理セクタ番号)に記録される。VDS(Volume Descriptor Sequence)601は、UDFが管理する領域であるボリュームに関する管理情報を記録する。ボリュームは、一般に1枚のディスクに1個存在し、その中にパーティションを一般に1個含む。   An AVDP (Anchor Volume Descriptor Pointer) 602 in FIG. 6B corresponds to an entry point for searching for UDF management information, and is usually the 256th sector, the Nth sector, or the (N-256) th sector (N is (Maximum logical sector number). A VDS (Volume Descriptor Sequence) 601 records management information related to a volume that is an area managed by the UDF. One volume generally exists on one disk, and generally contains one partition.

FSD(File Set Descriptor)603は、パーティションに1個存在する。パーティションの中での位置情報はパーティションの先頭からのセクタ番号に相当する論理ブロック番号で示される。なお、1個の論理ブロックは1セクタに対応する。また、各パーティションには図示しないがSpace Bitmapと呼ばれる各論理ブロックがファイルにすでに割り当てられているか否かを示すテーブルが存在する。   One FSD (File Set Descriptor) 603 exists in the partition. The position information in the partition is indicated by a logical block number corresponding to the sector number from the head of the partition. One logical block corresponds to one sector. Each partition has a table (not shown) indicating whether each logical block called Space Bitmap has already been assigned to the file.

FSD603は、ルートディレクトリのFE(File Entry)604の位置情報(論理ブロック番号と論理ブロック数とで構成されて“extent”と呼ばれる)を含む。FEは、extentの集合を管理しており、extentを書き換えたり、追加や削除を行うことで、ファイルを構成する実データの順番を変えたり、データを挿入や削除を行うことが可能である。   The FSD 603 includes position information of an FE (File Entry) 604 of the root directory (consisting of a logical block number and a logical block number and called “extent”). The FE manages a set of extents, and it is possible to change the order of actual data constituting a file and insert or delete data by rewriting extents or adding or deleting extents.

FE604は、ルートディレクトリの直下のファイルやディレクトリの名称等を格納するFID(File Identifier Descriptor)611・612・…の集合を格納する領域605を管理する。領域605中のFID611・612は、それぞれファイル621・622のファイル名やextentの集合を管理するFE606・608の位置情報を含む。   The FE 604 manages an area 605 that stores a set of FIDs (File Identifier Descriptors) 611, 612,... That store files directly under the root directory, directory names, and the like. The FIDs 611 and 612 in the area 605 include file names of the files 621 and 622 and position information of the FEs 606 and 608 that manage a set of extents, respectively.

FE606は、ファイル621の実データを構成する領域である領域607・610をextentとして管理する。FE608は、ファイル622の実データを構成する領域である領域609をextentとして管理する。このとき、ファイル621の実データにアクセスするには、AVDP602、VDS601、FSD603、FE604、FID611、FE606、領域607、領域610の順にリンクを辿っていけばよい。   The FE 606 manages the areas 607 and 610 that are areas constituting the actual data of the file 621 as extents. The FE 608 manages an area 609 that is an area constituting the actual data of the file 622 as an extent. At this time, in order to access the actual data of the file 621, the links may be followed in the order of AVDP 602, VDS 601, FSD 603, FE 604, FID 611, FE 606, area 607, and area 610.

光ディスク106のデータ記録領域には、図6(b)の構成でAVストリームが記録されている。前述のムービーファイル、すなわちAVストリームや管理情報は、図6(b)の領域607・610で表されるファイルを構成する実データとして記録される。例えば、図4(a)のムービーファイル201のMovie atom211は、領域610の前半部分に記録され、AVストリームを含むMovie data atom212は、領域610の後半部分および領域607全体に記録されるようなことが考えられる。   In the data recording area of the optical disc 106, an AV stream is recorded with the configuration of FIG. The above-mentioned movie file, that is, the AV stream and management information are recorded as actual data constituting the file represented by the areas 607 and 610 in FIG. For example, the Movie atom 211 of the movie file 201 in FIG. 4A is recorded in the first half of the area 610, and the Movie data atom 212 including the AV stream is recorded in the second half of the area 610 and the entire area 607. Can be considered.

この場合、FE606には、ファイルシステムを通して、ムービーファイル201を読み出したときに、図4(a)の順に読み出されるように、領域610のエクステント、領域607のエクステントの順に位置情報を格納する。つまり、この例で示すように、ファイルを構成する実データは、実際には、光ディスク106では連続的に記録される保証はなく、また、ファイル中の順序で光ディスク106に記録される保証もない。   In this case, the position information is stored in the FE 606 in the order of the extent of the area 610 and the extent of the area 607 so that the movie file 201 is read through the file system in the order shown in FIG. In other words, as shown in this example, the actual data constituting the file is not actually guaranteed to be continuously recorded on the optical disk 106, and is not guaranteed to be recorded on the optical disk 106 in the order in the file. .

ただし、次のような例外もある。ディスク記録媒体に対しては、ディスク上で物理的に離れた場所にあるデータにアクセスするのに、ピックアップの移動を伴い、その間にデータの読み出しおよび記録が停止する。そのため、管理情報を物理的に連続して記録することで、管理情報の読み出しを高速化したり、AVストリームを所定の長さ以上で連続的に記録したりすることで、ビデオデータやオーディオデータを途切れることなく再生することを保証するのはよく知られた技術である。   There are some exceptions: With respect to a disk recording medium, access to data at a physically distant place on the disk accompanies the movement of the pickup, during which data reading and recording stops. Therefore, it is possible to record video data and audio data by recording management information physically continuously, thereby speeding up the reading of management information, or recording AV streams continuously with a predetermined length or more. It is a well-known technique to ensure playback without interruption.

図3は、ビデオディスクレコーダ10において光ディスク106に対するデータの記録制御に関する機能ブロックを示している。図示の連続記録制御部120、管理情報ファイル作成部121、および部分管理情報作成部122は、ホストCPU101にてプログラムを実行することにより、それぞれの機能を実現することができる。また、RAM102は、上述の管理情報を格納する管理情報格納部123を備えている。   FIG. 3 shows functional blocks related to data recording control on the optical disc 106 in the video disc recorder 10. The continuous recording control unit 120, the management information file creation unit 121, and the partial management information creation unit 122 shown in the figure can implement their functions by executing programs on the host CPU 101. The RAM 102 also includes a management information storage unit 123 that stores the management information described above.

連続記録制御部120は、AVストリーム213・401を前述のCU402単位で光ディスク106上に連続的に記録されるように記録/アフレコ用バッファ111を制御する。また、連続記録制御部120は、記録されたAVストリームに関する管理情報を作成して、RAM102の管理情報格納部123に記憶させる。また、連続記録制御部120は、部分管理情報作成部122から部分管理情報を受け取り、受け取った部分管理情報を、PRU403内に格納するように記録/アフレコ用バッファ111に送り出す。   The continuous recording control unit 120 controls the recording / after-recording buffer 111 so that the AV streams 213 and 401 are continuously recorded on the optical disk 106 in units of the CU 402 described above. In addition, the continuous recording control unit 120 creates management information related to the recorded AV stream and stores it in the management information storage unit 123 of the RAM 102. The continuous recording control unit 120 also receives the partial management information from the partial management information creating unit 122 and sends the received partial management information to the recording / after-recording buffer 111 so as to be stored in the PRU 403.

部分管理情報作成部122は、管理情報格納部123に格納された管理情報の量が容量一杯に達した場合に、管理情報格納部123から管理情報の一部を読み出し、部分管理情報として連続記録制御部120に送り出す。また、部分管理情報作成部122は、読み出した管理情報の一部を管理情報格納部123から消去する。これにより、管理情報の量が管理情報格納部123の容量を超えることを防止でき、管理情報の一部が消失することを防止できる。   When the amount of management information stored in the management information storage unit 123 reaches the capacity, the partial management information creation unit 122 reads a part of the management information from the management information storage unit 123 and continuously records it as partial management information. Send to control unit 120. In addition, the partial management information creation unit 122 deletes a part of the read management information from the management information storage unit 123. Thereby, it is possible to prevent the amount of management information from exceeding the capacity of the management information storage unit 123, and it is possible to prevent a part of the management information from being lost.

管理情報ファイル作成部121は、AVストリームの記録後に、管理情報を含む管理情報ファイルを作成し、作成した管理情報ファイルを、光ディスク106に記録するように記録/アフレコ用バッファ111に送り出す。管理情報作成部122における管理情報ファイルの作成処理は、部分管理情報を作成したか否かで異なる。   After recording the AV stream, the management information file creation unit 121 creates a management information file including management information, and sends the created management information file to the recording / after-recording buffer 111 so as to be recorded on the optical disc 106. The management information file creation process in the management information creation unit 122 differs depending on whether or not the partial management information has been created.

部分管理情報を作成しない場合には、管理情報全てが管理情報格納部123に記憶されているので、管理情報格納部123から管理情報を読み出し、管理情報ファイルとして光ディスク106に記録すればよい。   When the partial management information is not created, all the management information is stored in the management information storage unit 123. Therefore, the management information may be read from the management information storage unit 123 and recorded on the optical disc 106 as a management information file.

一方、部分管理情報を作成した場合には、管理情報の一部が部分管理情報として光ディスク106上のPRU領域に記録されている。そこで、管理情報ファイル作成部121は、PRU領域から部分管理情報を再生して、デマルチプレクサ112を介して管理情報格納部123に一旦記憶し、管理情報格納部123から読み出して、管理情報を記録する別の記録領域に記録し、これを全ての部分管理情報に関して繰り返すことになる。   On the other hand, when the partial management information is created, a part of the management information is recorded in the PRU area on the optical disc 106 as the partial management information. Therefore, the management information file creation unit 121 reproduces the partial management information from the PRU area, temporarily stores it in the management information storage unit 123 via the demultiplexer 112, reads it from the management information storage unit 123, and records the management information. Is recorded in another recording area, and this is repeated for all pieces of partial management information.

なお、AVストリームの記録終了後には、管理情報格納部123に管理情報の残り部分が格納されている。このため、光ディスク106から部分管理情報を再生して管理情報格納部123に記憶するときに、管理情報格納部123の容量が不足する虞がある。   Note that after the recording of the AV stream is completed, the remaining portion of the management information is stored in the management information storage unit 123. For this reason, when the partial management information is reproduced from the optical disk 106 and stored in the management information storage unit 123, the capacity of the management information storage unit 123 may be insufficient.

そこで、本実施形態では、管理情報ファイル作成部121は、AVストリームの記録終了後に、まず、管理情報格納部123に格納されている管理情報の残り部分を一時データファイルとして光ディスク106の所望の記録領域に記録する。この場合、管理情報ファイル作成部121は、上述のように全ての部分管理情報をPRU領域から再生して管理情報の記録領域に記録した後に、光ディスク106から一時データファイルを再生し、デマルチプレクサ112を介して管理情報格納部123に一旦記憶し、管理情報格納部123から読み出して、管理情報を記録する別の記録領域に記録することになる。これにより管理情報全てが管理情報の記録領域に記録されることになる。   Therefore, in the present embodiment, after the recording of the AV stream ends, the management information file creation unit 121 first performs a desired recording on the optical disc 106 using the remaining portion of the management information stored in the management information storage unit 123 as a temporary data file. Record in the area. In this case, the management information file creation unit 121 reproduces all the partial management information from the PRU area and records it in the management information recording area as described above, and then reproduces the temporary data file from the optical disk 106 and demultiplexer 112. Are temporarily stored in the management information storage unit 123, read out from the management information storage unit 123, and recorded in another recording area for recording the management information. As a result, all management information is recorded in the management information recording area.

次に、AVストリームデータを記録中にAVストリームデータと異なるデータ(以下、付加データ)を記録する方法について図1および図7に基づいて説明する。本実施の形態では、付加データとしてAVストリームデータを再生するのに必要な時間アドレス変換テーブルや、記録日時、記録場所などの属性情報である管理情報を記録する方法について説明する。   Next, a method for recording data different from the AV stream data (hereinafter referred to as additional data) while recording the AV stream data will be described with reference to FIGS. In the present embodiment, a method for recording management information that is attribute information such as a time address conversion table necessary for reproducing AV stream data as additional data, recording date and time, and recording location will be described.

図1は、光ディスク106上に、AVストリームデータおよびPRUからなる前述のCUの単位でAVコンテンツを記録し、AVストリームデータを再生するのに必要な時間アドレス変換テーブルなどの管理情報を記録した場合を示している。なお、PRUに関しては、AVストリームデータ記録後に、アフレコデータを記録するために、あらかじめ記録領域が確保されるのみである。また、AVストリームデータの初期記録時に、AVストリームデータとインターリーブして記録される全ての物理上のPRU領域を、ファイルシステムを介し論理上の連続領域として管理する1つのアフレコファイル732が作成される。この領域のデータはダミーデータとして記録される。   FIG. 1 shows a case in which AV content is recorded on the optical disk 106 in units of the above-mentioned CU composed of AV stream data and PRU, and management information such as a time address conversion table necessary for reproducing the AV stream data is recorded. Is shown. With respect to PRU, after recording AV stream data, only a recording area is secured in advance in order to record post-record data. Further, at the time of initial recording of AV stream data, one after-recording file 732 is created that manages all physical PRU areas recorded by interleaving with AV stream data as logically continuous areas via the file system. . Data in this area is recorded as dummy data.

1つのCUのサイズは、PRU領域の確保とAVストリームデータの記録とに要する時間と、記録したCUから次のCUの先頭へシークする時間とを考慮して、記録が破綻しないようにバッファリングされるサイズである。さらに、1つのCUのサイズは、アフレコデータおよびAVストリームデータの再生に要する時間と、再生したCUから次のCUの先頭へシークする時間を考慮して、再生が破綻しないようにバッファリングされるサイズである。つまり、AVストリームデータおよびアフレコデータをシームレスな記録または再生を可能とする最小のサイズ以上を記録媒体上に連続的に確保する必要がある。   The size of one CU is buffered so that recording does not fail in consideration of the time required to secure the PRU area and recording AV stream data and the time to seek from the recorded CU to the beginning of the next CU. Size. Furthermore, the size of one CU is buffered so that playback does not fail in consideration of the time required for playback of post-recording data and AV stream data and the time required to seek from the reproduced CU to the beginning of the next CU. Size. That is, it is necessary to continuously ensure on the recording medium at least a minimum size that enables seamless recording or reproduction of AV stream data and post-recording data.

本実施形態では、図1に示されるように、AVストリームデータを光ディスク106に記録する場合に、全管理情報を1つの管理情報ファイル730に記録する。各管理情報は、1つのCUに相当するAVストリームデータを記録媒体に記録する度に作成されて、メモリ(RAM102の管理情報格納部123)に蓄積されるものである。したがって、メモリが全管理情報を保持できる記憶容量を有している場合には、AVストリームデータの記録終了後にメモリ上に一括して保持されている全管理情報を、1つの管理情報ファイル730として光ディスク106に記録すればよい。   In the present embodiment, as shown in FIG. 1, when AV stream data is recorded on the optical disc 106, all management information is recorded in one management information file 730. Each piece of management information is created each time AV stream data corresponding to one CU is recorded on a recording medium, and is accumulated in a memory (management information storage unit 123 of the RAM 102). Therefore, when the memory has a storage capacity capable of holding all management information, all management information collectively held on the memory after the recording of the AV stream data is completed as one management information file 730. What is necessary is just to record on the optical disk 106.

一方、メモリが全管理情報を保持できる記憶容量を有していない場合には、保持できるメモリが一杯となったときに、光ディスク106上や異なるメモリへ退避する必要がある。本実施形態では、メモリが一杯となる前にそれまで保持していたメモリ上のデータを付加データとして、CUのPRU領域に記録することを行う。本実施形態のデータ記録処理の方法を以下に図を用いて説明する。   On the other hand, if the memory does not have a storage capacity capable of holding all management information, it is necessary to save to the optical disk 106 or a different memory when the memory that can be held is full. In the present embodiment, the data on the memory that has been held until the memory is full is recorded as additional data in the PRU area of the CU. The data recording processing method of this embodiment will be described below with reference to the drawings.

図1は、CUや管理情報が光ディスク106に物理的に記録される状態とファイルシステムを介して論理的に記録される状態とを示している。ファイルシステムを介して光ディスク106上に記録されたデータを、AVストリームデータファイル731、アフレコファイル732、管理情報ファイル730によって、それぞれ論理的に連続データとして管理している。また、管理情報ファイル730は、AVストリームデータを管理するファイルフォーマットとしてQuickTimeファイルフォーマットを用いて、AVストリームデータファイル731およびアフレコファイル732を外部参照する形式で、コンテンツデータを管理している。   FIG. 1 shows a state where CU and management information are physically recorded on the optical disc 106 and a state where it is logically recorded via a file system. Data recorded on the optical disc 106 via the file system is managed as logical continuous data by an AV stream data file 731, an after-recording file 732, and a management information file 730, respectively. The management information file 730 manages content data in a format in which the AV stream data file 731 and the after-recording file 732 are externally referenced using the QuickTime file format as a file format for managing AV stream data.

次に、図1および図7を用いて、AVストリームデータの新規記録処理を説明する。まず、光ディスク106上に記録するファイルとして、AVストリームデータファイル731、アフレコファイル732、および管理情報ファイル730をそれぞれ新規作成ファイルとしてオープンする(ステップS101。以下「S101」と略称することがある。その他のステップについても同様である。)。   Next, a new recording process of AV stream data will be described with reference to FIGS. 1 and 7. First, as a file to be recorded on the optical disc 106, an AV stream data file 731, an after-recording file 732, and a management information file 730 are opened as newly created files (step S101; hereinafter may be abbreviated as “S101”). The same applies to the steps in step 1).

このとき、QuickTimeファイルフォーマットにおいてAVストリームデータを管理するビデオトラック(Video Track)およびオーディオトラック(Audio Track)と、PRU領域においてアフレコデータが記録されていない領域を管理するPRU管理トラックとをメモリ上に作成する。PRU管理トラックでは、CU単位のPRU領域を1サンプルとして、全てのPRU領域について、ファイル内の位置、サイズ、時間情報をサンプルテーブル(Sample Table)に登録する。また、PRU管理トラックは、再生を行わないトラックであるため、Track Header atomのTrack Enabledフラグを0にセットし、再生対象ではないことを示す。   At this time, a video track (Audio Track) for managing AV stream data in the QuickTime file format and an audio track (Audio Track) for managing AV stream data and a PRU management track for managing an area where no post-record data is recorded in the PRU area are stored in the memory. create. In the PRU management track, the PRU area in the CU unit is set as one sample, and the position, size, and time information in the file are registered in the sample table for all the PRU areas. Since the PRU management track is a track that is not played back, the Track Enabled flag of the Track Header atom is set to 0 to indicate that it is not a playback target.

次に、1つ目のCU710に相当するPRU領域700をシークし、AVストリームデータ記録領域705の先頭へシークする。そして、PRU領域700に対応するサンプルテーブルをPRU管理トラックに登録する(S102)。   Next, the PRU area 700 corresponding to the first CU 710 is sought, and seek is performed to the head of the AV stream data recording area 705. Then, the sample table corresponding to the PRU area 700 is registered in the PRU management track (S102).

次に、AVストリームデータをAVストリームデータ領域705へ記録する(S103)。記録したAVストリームデータのサンプルテーブルをビデオデータおよびオーディオデータ別にそれぞれビデオトラックおよびオーディオトラックに登録する。   Next, the AV stream data is recorded in the AV stream data area 705 (S103). A sample table of recorded AV stream data is registered in a video track and an audio track for each video data and audio data.

次に、AVストリームデータの記録終了であるか否かの判定を行う(S104)。AVストリームデータの記録を終了する場合には、ステップS109へ進む。ここでは、AVストリームデータの記録を続けるため、ステップS105へ進む。   Next, it is determined whether or not the recording of the AV stream data is completed (S104). When recording of the AV stream data is finished, the process proceeds to step S109. Here, in order to continue recording AV stream data, the process proceeds to step S105.

ステップS105では、次のAVストリームデータを記録するため、シームレス記録・再生を補償するのに必要なCUサイズ以上の連続空き領域を光ディスク106上から検索し、見つかった連続空き領域711の先頭へシークする。   In step S105, in order to record the next AV stream data, a search is made for a continuous free area of a CU size or more necessary for compensating seamless recording / reproduction from the optical disk 106, and seek to the head of the found continuous free area 711 is performed. To do.

次に、記録済みのAVストリームデータに相当するビデオトラックやオーディオトラック、PRU管理トラックなどの管理情報がメモリサイズを超えるか否かの確認を行うことによって、メモリ上の管理情報を付加データとしてPRU領域に記録するか否かの判定を行う(S106)。付加データの記録を行う場合にはステップS107へ進み、そうでない場合にはステップS108へ進む。   Next, by checking whether management information such as a video track, an audio track, and a PRU management track corresponding to the recorded AV stream data exceeds the memory size, the management information on the memory is added as PRU as additional data. It is determined whether or not to record in the area (S106). If additional data is to be recorded, the process proceeds to step S107. If not, the process proceeds to step S108.

ここでは、メモリ上の管理情報データが一杯となっていないためステップS108へ進む。すなわち、現在の記録位置からPRU領域701を読み飛ばし、AVストリームデータ記録領域706の先頭へシークする。そして、S102と同様に、PRU領域701に相当するサンプルテーブルをPRU管理トラックに登録する(S108)。そして、メモリ上の管理情報が一杯となるまでステップS103からステップS108を繰り返す。   Here, since the management information data on the memory is not full, the process proceeds to step S108. That is, the PRU area 701 is skipped from the current recording position, and seek is performed to the head of the AV stream data recording area 706. Then, similarly to S102, the sample table corresponding to the PRU area 701 is registered in the PRU management track (S108). Steps S103 to S108 are repeated until the management information on the memory is full.

ステップS106でメモリ上のデータが一杯となったことを検出した場合には、それまでのメモリ上に登録した管理情報を付加データとしてPRU領域に記録し、PRU領域に記録した付加データの位置を記憶するために、付加データが存在するアフレコファイル内のオフセット値とサイズ、またはPRU管理トラックでのサンプル番号とサイズを別途メモリ上に記憶する(以下、メモリ上に記憶したデータを付加データの格納箇所データテーブルとする)(S107)。この結果、図1に示されるように、CU領域712におけるPRU領域702が、付加データの記録された領域715と残りの領域725とになる。   If it is detected in step S106 that the data on the memory is full, the management information registered on the memory so far is recorded as additional data in the PRU area, and the position of the additional data recorded in the PRU area is recorded. In order to store, the offset value and size in the after-recording file where the additional data exists, or the sample number and size in the PRU management track are separately stored in the memory (hereinafter, the data stored in the memory is stored as additional data). (S107). As a result, as shown in FIG. 1, the PRU area 702 in the CU area 712 becomes an area 715 where additional data is recorded and a remaining area 725.

次に、現在の記録位置から残りの領域725読み飛ばし、AVストリームデータ記録領域707の先頭へシークする。そして、S102と同様に、PRU領域702に相当するサンプルテーブルをPRU管理トラックに登録する(S108)。ここで、PRU領域702全てをPRU管理トラックに登録するのは、PRU領域に記録した付加データ717が、アフレコファイルから見た場合は、ダミーデータの1つとして管理することを示しており、PRU領域702には、意味の有するデータが記録されていないということを管理している。そのため、PRU領域702に記録した付加データの位置を、PRU管理トラックとは別に、付加データの格納箇所データテーブルとして管理する必要がある。   Next, the remaining area 725 is skipped from the current recording position, and seek is performed to the head of the AV stream data recording area 707. Then, similarly to S102, a sample table corresponding to the PRU area 702 is registered in the PRU management track (S108). Here, registering all the PRU areas 702 in the PRU management track indicates that the additional data 717 recorded in the PRU area is managed as one of dummy data when viewed from the post-recording file. The area 702 manages that no meaningful data is recorded. Therefore, it is necessary to manage the position of the additional data recorded in the PRU area 702 as a storage location data table for the additional data separately from the PRU management track.

以上のステップS103〜S108をAVストリームデータの記録終了まで繰り返す。AVストリームデータの記録を終了する場合には、記録処理終了判定処理(S104)にてステップS109に進む。   The above steps S103 to S108 are repeated until the recording of the AV stream data is completed. When recording of the AV stream data is to end, the process proceeds to step S109 in the recording process end determination process (S104).

ステップS109においてAVストリームデータの記録開始から一度も付加データを光ディスク106上に記録していない場合、すなわちAVストリームデータの管理情報が全てメモリ上に記憶されている場合には、ステップS116に進み、メモリ上の管理情報を管理情報ファイル730に記録する(S116)。そして、AVストリームデータファイル731、管理情報ファイル730、アフレコファイル732をクローズし、AVストリームデータの記録処理を終了する(S117)。   If additional data has not been recorded on the optical disc 106 even once AV stream data is recorded in step S109, that is, if all AV stream data management information is stored in the memory, the process proceeds to step S116. The management information on the memory is recorded in the management information file 730 (S116). Then, the AV stream data file 731, the management information file 730, and the after-recording file 732 are closed, and the AV stream data recording process is terminated (S 117).

一方、ステップS109においてAVストリームデータの記録開始から一度でも付加データを光ディスク106上に記録した場合は以下の処理を行う。すなわち、それまでに記録した付加データであるAVストリームデータの部分管理情報を、光ディスク106からそれぞれ読み出し、1つの管理情報として結合して、管理情報ファイル730に記録する処理を行う。   On the other hand, if additional data is recorded on the optical disc 106 even once from the start of recording of AV stream data in step S109, the following processing is performed. That is, the partial management information of the AV stream data, which is the additional data recorded so far, is read from the optical disc 106 and combined as one piece of management information and recorded in the management information file 730.

しかしながら、最後に付加データをPRU領域703に記録してからAVストリームデータの記録終了までの管理情報、すなわち、記録領域708の先頭742から記録領域709の末尾743までに記録されたAVストリームデータの管理情報をメモリ上に記憶している。このため、光ディスク106上の付加データ715・716をメモリ上に読み出すことができない。   However, the management information from the last recording of the additional data in the PRU area 703 to the end of recording of the AV stream data, that is, the AV stream data recorded from the beginning 742 of the recording area 708 to the end 743 of the recording area 709 is recorded. Management information is stored in the memory. For this reason, the additional data 715 and 716 on the optical disk 106 cannot be read onto the memory.

そこで、メモリ上の管理情報を記録媒体の任意の空き領域(図1では、記録領域719)に一時データファイル733として記録し、この記録箇所を最後の付加データとしてメモリ上の付加データの格納箇所データテーブルに記憶する(S110)。次に、付加データの格納箇所データテーブルから最初の付加データ領域715の位置を取得し、アフレコファイル732内の最初の付加データ領域717へシークする(S111)。次に、付加データを読み出し(S112)、読み出した付加データを管理情報ファイル730に追記する(S113)。   Therefore, the management information on the memory is recorded as a temporary data file 733 in an arbitrary free area (recording area 719 in FIG. 1) of the recording medium, and this recording location is used as the last additional data for storing the additional data on the memory. Store in the data table (S110). Next, the position of the first additional data area 715 is acquired from the additional data storage location data table, and seek is performed to the first additional data area 717 in the after-recording file 732 (S111). Next, the additional data is read (S112), and the read additional data is added to the management information file 730 (S113).

次に、付加データの格納箇所データテーブルから全ての付加データを管理情報ファイル730に記録したか否かを判定し(S114)、記録し終えている場合は、ステップS117へ進む。   Next, it is determined whether or not all the additional data has been recorded in the management information file 730 from the additional data storage location data table (S114). If the recording has been completed, the process proceeds to step S117.

一方、全ての付加データを記録し終えていない場合は、付加データの格納箇所データテーブルから次の付加データ領域の位置を取得し、アフレコファイル732内の次の付加データ領域へシークし(S115)、以下、アフレコファイル732内および一時データファイル733内の全ての付加データを管理情報ファイル730へ記録し終えるまで、上記ステップS112〜S115を繰り返す。ここで、最後の付加データについては、付加データの格納箇所データテーブル中の最後に記録されている付加データ領域の位置を取得し、光ディスク106上の記録領域719のデータが管理情報ファイル730に記録される。   On the other hand, if all the additional data has not been recorded, the position of the next additional data area is acquired from the additional data storage location data table, and seek is performed to the next additional data area in the after-recording file 732 (S115). Thereafter, steps S112 to S115 are repeated until all the additional data in the after-recording file 732 and the temporary data file 733 have been recorded in the management information file 730. Here, for the last additional data, the position of the last recorded additional data area in the additional data storage location data table is acquired, and the data in the recording area 719 on the optical disc 106 is recorded in the management information file 730. Is done.

そして、AVストリームデータファイル731、管理情報ファイル730、アフレコファイル732をクローズし、AVストリームデータの記録処理を終了する(S117)。   Then, the AV stream data file 731, the management information file 730, and the after-recording file 732 are closed, and the AV stream data recording process is terminated (S 117).

以上より、本実施形態のデータ記録装置10は、管理情報データをPRU領域に記録するので、管理情報データを記録するために別の記録領域を確保する必要がない。また、管理情報データをセット内の記録領域に記録するから、管理情報データセット外の記録領域に記録するためにシーク動作を行う必要がない。したがって、管理情報データの記録により生じる遅延を抑えることができるので、AVストリームデータのサイズを小さく抑え、光ディスク106の利用効率を向上させる効果を奏する。   As described above, since the data recording apparatus 10 of the present embodiment records management information data in the PRU area, it is not necessary to secure another recording area in order to record the management information data. Further, since the management information data is recorded in the recording area in the set, it is not necessary to perform a seek operation in order to record in the recording area outside the management information data set. Therefore, the delay caused by the recording of the management information data can be suppressed, so that the size of the AV stream data can be suppressed and the utilization efficiency of the optical disc 106 can be improved.

また、メモリサイズを超えた管理情報をPRU領域に記録することにより、少ないメモリサイズの装置においても、長時間のAVストリームデータの記録が可能となる。また、付加データをCUとは異なる領域に記録する場合に比べて、CUの連続記録長をより短くすることが可能となり、AVストリームデータの破壊編集の単位をより細かい単位で指定することが可能となる。   Further, by recording management information exceeding the memory size in the PRU area, it is possible to record AV stream data for a long time even in an apparatus having a small memory size. In addition, the continuous recording length of the CU can be made shorter than when the additional data is recorded in an area different from the CU, and the destructive editing unit of the AV stream data can be specified in a finer unit. It becomes.

また、全てのPRU領域内のデータであるアフレコファイル732内に付加データを記録し、AVストリームデータの記録が終了し、管理情報ファイル730を生成した後は、アフレコファイル732内のデータにある付加データをダミーデータとみなすことにより、アフレコ処理を行う場合に、アフレコデータにより付加データを上書きすることになる。そのため、AVストリームデータ記録終了後に、付加データを削除するといった特別な処理を行う必要がない。   Further, after the additional data is recorded in the after-recording file 732 that is data in all the PRU areas, the recording of the AV stream data is completed, and the management information file 730 is generated, the additional data in the data in the after-recording file 732 is added. By considering the data as dummy data, the additional data is overwritten with the after-record data when the after-recording process is performed. Therefore, it is not necessary to perform a special process such as deleting the additional data after the AV stream data recording is completed.

なお、本実施形態では、確保したメモリが一杯となる単位でメモリの内容を記録媒体上に記録していたが、図7のステップS109でYESの場合のように、AVストリームデータの記録開始から終了までの管理情報が確保メモリサイズ内に全て収まる場合は、AVストリームデータ記録中にメモリの内容を記録媒体に記録する必要はない。   In the present embodiment, the contents of the memory are recorded on the recording medium in units in which the secured memory is full, but from the start of recording AV stream data as in the case of YES in step S109 of FIG. When all the management information up to the end is within the reserved memory size, it is not necessary to record the contents of the memory on the recording medium during AV stream data recording.

次に、図8ないし図18を用いて、QuickTimeの管理情報のフォーマットについて説明する。まず、共通の情報格納フォーマットであるatomについて説明する。   Next, the format of QuickTime management information will be described with reference to FIGS. First, atom, which is a common information storage format, will be described.

atomの先頭には、そのatomのサイズであるAtom sizeと、そのatomの種別情報であるTypeとが必ず存在する。Typeは4文字で区別され、例えば、図8に示すMovie atomでは‘moov’となっており、Movie data atomでは‘mdat’となっている。atom間には階層構造があり、各atomは別のatomを含むことができる。   At the beginning of an atom, there is always an Atom size that is the size of the atom and Type that is the type information of the atom. Type is distinguished by 4 characters. For example, in the Movie atom shown in FIG. 8, it is “moov”, and in the Movie data atom, it is “mdat”. There is a hierarchical structure between atoms, and each atom can contain another atom.

図8は、Movie atomの構成を示している。この構造において、“Movie header atom”は、そのMovie atomが管理するムービーの全体的な属性を管理する。“Track atom”は、そのムービーに含まれるビデオやオーディオ等のトラックに関する情報を格納する。“User data atom”は、ユーザにて独自に定義可能なatomである。   FIG. 8 shows the structure of the Movie atom. In this structure, “Movie header atom” manages the overall attributes of the movie managed by the Movie atom. “Track atom” stores information about a track such as video and audio included in the movie. “User data atom” is an atom that can be defined independently by the user.

図9は、Track atomの構成を示している。“Track header atom”は、そのトラックの全体的な属性を管理する。“Edit atom”は、メディアデータのどの区間を、ムービーのどのタイミングで再生するかを管理する。“Track reference atom”は、本トラックと別のトラックとの関係を管理する。“Media atom”は、実際のビデオやオーディオといったデータを管理する。   FIG. 9 shows the configuration of the Track atom. “Track header atom” manages the overall attributes of the track. “Edit atom” manages which section of media data is played back at which timing of the movie. “Track reference atom” manages the relationship between this track and another track. “Media atom” manages actual video and audio data.

図10は、Track header atomの構成を示している。ここでは、後での説明に必要なもののみについて説明する。“Flags”は、属性を示すフラグの集合であり、代表的なものとしてTrack enabledフラグがあり、このフラグが1であれば、そのトラックは再生され、0であれば再生されない。“Track ID”は、トラック固有のIDである。“Layer”は、そのトラックの空間的な優先度を表しており、画像を表示するトラックが複数あれば、Layerの値が小さいトラックほど画像が前面に表示される。   FIG. 10 shows the configuration of the Track header atom. Here, only what is necessary for later description will be described. “Flags” is a set of flags indicating attributes. A typical example is a Track enabled flag. If this flag is 1, the track is reproduced, and if it is 0, the track is not reproduced. “Track ID” is a track-specific ID. “Layer” represents the spatial priority of the track. If there are a plurality of tracks on which an image is displayed, the track with the smaller layer value is displayed in front.

図11は、Media atomの構成を示している。“Media header atom”は、そのMedia atomの管理するメディアデータに関する全体的な属性等を管理する。“Handler reference atom”は、メディアデータをどのデコーダでデコードするかを示す情報を格納する。“Media information atom”は、ビデオやオーディオ等のメディア固有の属性情報を管理する。   FIG. 11 shows the configuration of the Media atom. “Media header atom” manages overall attributes and the like related to media data managed by the Media atom. “Handler reference atom” stores information indicating which decoder decodes the media data. “Media information atom” manages attribute information unique to media such as video and audio.

図12は、Media information atomの構成を示している。“Media information header atom”は、ビデオやオーディオ等メディア固有の属性情報を管理する。“Handler reference atom”は、前述のMedia atomに含まれるものと同じである。“Data information atom”は、そのQuickTimeムービーが参照するメディアデータを含むファイルの名称を管理するatomである“Data reference atom”を含む。“Sample table atom”は、データのサイズや再生時間等を管理している。   FIG. 12 shows the configuration of the Media information atom. “Media information header atom” manages attribute information unique to media such as video and audio. “Handler reference atom” is the same as that included in the aforementioned Media atom. “Data information atom” includes “Data reference atom” which is an atom for managing the name of a file including media data referred to by the QuickTime movie. “Sample table atom” manages data size, playback time, and the like.

次に、Sample table atomについて説明するが、その前に、QuickTimeにおけるデータの管理方法について、図13を用いて説明する。QuickTimeでは、データの最小単位(例えばビデオフレーム)をサンプル(sample)と称する。サンプルには、個々のトラック毎に、再生時間順に1から番号(サンプル番号)が♯1,♯2,…,♯i,…,#jというように付与されている。   Next, the sample table atom will be described. Before that, a data management method in QuickTime will be described with reference to FIG. In QuickTime, the minimum unit of data (for example, a video frame) is called a sample. Samples are assigned numbers (sample numbers) starting from 1 in the order of playback time, such as # 1, # 2,..., #I,.

また、QuickTimeフォーマットでは、個々のサンプルの再生時間長およびデータサイズを管理している。同一トラックに属するサンプルが再生時間順にファイル中で連続的に配置された領域をチャンク(chunk)と称する。チャンクにも、サンプルと同様に、再生時間順に1から番号が付与されている。すなわち、QuickTimeフォーマットでは、このようにチャンクが連続して配置されることにより1つのファイル901が形成される。   In the QuickTime format, the playback time length and data size of each sample are managed. An area in which samples belonging to the same track are continuously arranged in the file in the order of playback time is referred to as a chunk. Chunks are also numbered from 1 in order of playback time, as with samples. That is, in the QuickTime format, one file 901 is formed by sequentially arranging chunks in this way.

さらに、QuickTimeフォーマットでは、個々のチャンクにおけるファイル先頭からのアドレスと、個々のチャンクが含むサンプル数とを管理している。これらの情報に基づき、任意の時間に対応するサンプルの位置を求めることが可能となっている。   Furthermore, in the QuickTime format, the address from the beginning of the file in each chunk and the number of samples included in each chunk are managed. Based on these pieces of information, it is possible to obtain the position of the sample corresponding to an arbitrary time.

図14は、Sample table atomの構成を示している。“Sample description atom”は、個々のチャンクのデータフォーマット(Data format)やサンプルが格納されているファイルのチャンクのインデックス等を管理する。“Time-to-sample atom”は、個々のサンプルの再生時間を管理する。“Sync sample atom”は、個々のサンプルのうち、デコード開始可能なサンプルを管理する。“Sample-to-chunk atom”は、個々のチャンクに含まれるサンプル数を管理する。“Sample size atom”は、個々のサンプルのサイズを管理する。“Chunk offset atom”は、個々のチャンクのファイル先頭からのアドレスを管理する。   FIG. 14 shows the configuration of the Sample table atom. “Sample description atom” manages the data format (Data format) of each chunk, the index of the chunk of the file in which the sample is stored, and the like. “Time-to-sample atom” manages the playback time of each sample. “Sync sample atom” manages samples that can start decoding among individual samples. “Sample-to-chunk atom” manages the number of samples included in each chunk. “Sample size atom” manages the size of each sample. “Chunk offset atom” manages the address of each chunk from the beginning of the file.

図15(a)は、Sample description atomの構成を示している。“number-of-entries”は、使用されているデータフォーマットの数を表し、その数だけSample description tableが存在する。図15(b)は、オーディオのSample description tableの構成例を示している。   FIG. 15A shows the configuration of the Sample description atom. “Number-of-entries” represents the number of data formats used, and there are as many sample description tables as there are. FIG. 15B shows a configuration example of an audio sample description table.

図16は、Edit atomの構成を示している。Edit atomは、1個のEdit list atomを含む。Edit list atomは、Number of entriesで指定される個数分の、“Track duration”、“Media time”、“Media rate”の値の組(エントリ)を持つ。各エントリは、トラック上で連続的に再生される区間に対応し、そのトラック上での再生時間順に並んでいる。   FIG. 16 shows the configuration of the Edit atom. The Edit atom includes one Edit list atom. The Edit list atom has a set (entries) of “Track duration”, “Media time”, and “Media rate” as many as the number specified by Number of entries. Each entry corresponds to a section that is continuously played back on the track, and is arranged in the order of playback time on the track.

Track durationは、そのエントリが管理する区間のトラック上での再生時間を表している。Media timeは、そのエントリが管理する区間の先頭に対応するメディアデータ上での位置を表している。Media rateは、そのエントリが管理する区間の再生スピードを表している。なお、Media timeが−1の場合は、そのエントリのTrack duration分、そのトラックでのサンプルの再生を停止する。この区間のことをempty editと称する。   Track duration represents the playback time on the track in the section managed by the entry. Media time represents the position on the media data corresponding to the head of the section managed by the entry. Media rate represents the playback speed of the section managed by the entry. When Media time is −1, the playback of the sample on the track is stopped for the track duration of the entry. This section is called empty edit.

図17は、Edit listの使用例を示している。ここでは、Edit list atomの内容が図17(a)に示す内容であり、さらにサンプルの構成が図17(b)に示す構成であるとする。なお、ここではi番目のエントリのTrack durationをD(i)、Media timeをT(i)、Media rateをR(i)としている。このとき、実際のサンプルの再生は、図17(c)に示す順に行われる。このことについて簡単に説明する。   FIG. 17 shows an example of using the Edit list. Here, it is assumed that the content of the Edit list atom is the content shown in FIG. 17A and the configuration of the sample is the configuration shown in FIG. Here, the track duration of the i-th entry is D (i), the media time is T (i), and the media rate is R (i). At this time, the actual sample reproduction is performed in the order shown in FIG. This will be briefly described.

まず、エントリ♯1は、D(1)が13000、T(1)が20000、R(1)が1であるため、そのトラックの先頭から13000の区間は、サンプル中の時刻20000から33000の区間を再生する。次に、エントリ♯2は、D(2)が5000、T(2)が−1であるため、トラック中の時刻13000から18000の区間、何も再生を行わない(図17(c)における“null”)。そして、エントリ♯3は、D(3)が10000、T(3)が0、R(3)が1であるため、トラック中の時刻18000から28000の区間において、サンプル中の時刻0から10000の区間を再生する。   First, since entry # 1 is 13000 for D (1), 20000 for T (1), and 1 for R (1), the section 13000 from the beginning of the track is the section from time 20000 to 33000 in the sample. Play. Next, since entry (D2) is 5000 for D (2) and -1 for T (2), no reproduction is performed in the section from time 13000 to 18000 in the track ("" in FIG. 17 (c)). null ”). Since entry # 3 has D (3) of 10000, T (3) of 0, and R (3) of 1, entry # 3 has an interval from time 0 to 10000 in the sample in the section from time 18000 to 28000 in the track. Play the section.

図18は、User data atomの構成を示している。このatomには、QuickTimeフォーマットで定義されてない独自の情報を任意個数格納することができる。1個の独自情報は1個のエントリで管理され、1個のエントリは“Atom size”と“Type”と“User data”とで構成される。Atom sizeはそのエントリ自体のサイズを表し、Typeは独自情報をそれぞれ区別するための識別情報を表し、User dataは実際のデータを表している。   FIG. 18 shows the configuration of the User data atom. This atom can store any number of unique information not defined in the QuickTime format. One unique information is managed by one entry, and one entry is composed of “Atom size”, “Type”, and “User data”. Atom size represents the size of the entry itself, Type represents identification information for distinguishing unique information, and User data represents actual data.

その他、ディスク内に含まれるQuickTimeムービーを管理するためのインデックスファイルという特別なファイルがディスク内に1個配置される。インデックスファイルには、ディスク内のファイル(QuickTimeムービーやQuickTimeムービーから参照されている静止画等)に関するサムネイルや各種属性が登録されている。   In addition, one special file called an index file for managing QuickTime movies included in the disc is arranged in the disc. In the index file, thumbnails and various attributes relating to files on the disc (such as QuickTime movies and still images referenced from QuickTime movies) are registered.

各種属性の中には、そのファイルが外部参照されている回数を示すlink countがある。このlink countを参照することで、そのファイルを参照しているファイルが存在するか否かを容易に知ることができ、他から参照されているファイルを不用意に削除してしまうことを防ぐことができる。   Among the various attributes is a link count that indicates the number of times the file has been externally referenced. By referring to this link count, you can easily know whether there is a file that refers to the file, and prevent accidental deletion of files referenced by others. Can do.

なお、上記の実施形態では、データ記録装置10に確保されているメモリサイズを超えた時を検出して、メモリ上の管理情報を付加データとして光ディスク106上のPRU領域に記録しているが、管理情報の量があらかじめ確保したメモリサイズを超えない範囲において、所定の周期、所定の量、所定のメモリ占有率などの所定のタイミングで、メモリ上の管理情報を付加データとしてPRU領域に記録しても良い。   In the above embodiment, the time when the memory size reserved in the data recording device 10 is exceeded is detected, and the management information on the memory is recorded as additional data in the PRU area on the optical disc 106. As long as the amount of management information does not exceed the memory size secured in advance, the management information on the memory is recorded as additional data in the PRU area at a predetermined timing such as a predetermined cycle, a predetermined amount, and a predetermined memory occupancy rate. May be.

例えば、特定の周期でPRU領域に管理情報を記録することにより、管理情報をPRU領域に記録したところまでのAVストリームデータおよびその管理情報が記録媒体上に記録される。これにより、データ記録装置10の電源の供給が突然停止した場合においても、既に記録した内容は保持され、再生することができるので、電源断対策という効果がある。   For example, by recording the management information in the PRU area at a specific cycle, the AV stream data up to the point where the management information is recorded in the PRU area and the management information are recorded on the recording medium. Thereby, even when the supply of power to the data recording apparatus 10 is suddenly stopped, the recorded content can be retained and reproduced, so that there is an effect of taking measures against power interruption.

またメモリ上に記憶される管理情報は、AVストリームデータの内容と関連する単位でPRU領域に記録しても良い。AVストリームデータの内容と関連する単位としては、AVストリームデータのシーンやチャプター(Chapter:章)、およびAVストリームデータの最小連続記録単位が挙げられる。   The management information stored in the memory may be recorded in the PRU area in units related to the content of the AV stream data. Units related to the contents of AV stream data include AV stream data scenes and chapters, and minimum continuous recording units of AV stream data.

具体的な処理動作としては、AVストリームデータの記録中に、シーンやチャプターに付加する名前や分割する位置情報、その要約情報などを管理情報と共にPRU領域に記録する。そして、AVストリームデータ記録後に全管理情報を生成する際、PRU領域に記録したシーンやチャプターの情報も管理情報データとして同時に記録する。   Specifically, during recording of AV stream data, a name to be added to a scene or chapter, position information to be divided, summary information thereof, and the like are recorded in the PRU area together with management information. When all management information is generated after AV stream data is recorded, scene and chapter information recorded in the PRU area is simultaneously recorded as management information data.

このように、AVストリームデータを記録中にシーンやチャプター情報を記録することにより、記録したAVストリームデータを再生するときに、AVストリームデータの全体の内容がどのような内容または構成となっているかを把握し易くなり、AVストリームデータ中の任意の再生したい箇所を迅速に検索するのに役立つ。   In this way, by recording scene and chapter information while recording AV stream data, when the recorded AV stream data is played back, what kind of content or configuration is the entire content of the AV stream data? This is useful for quickly searching for a desired playback position in the AV stream data.

さらに、AVストリームデータの内容と関連する単位として、AVストリームデータの内容と関連する静止画データ、テキストデータ、音楽・音声データ、映像データなどのAVデータを指すファイル名などのリンク情報を管理情報としてPRU領域に記録しても良い。   Further, as information related to the content of the AV stream data, management information includes link information such as a file name indicating AV data such as still image data, text data, music / audio data, and video data related to the content of the AV stream data. May be recorded in the PRU area.

これにより、AVストリームデータと同期して再生したい前記AVデータやその同期再生する位置情報を、AVストリームデータを記録中に付加することが可能となり、ユーザの利便性が向上する。   This makes it possible to add the AV data to be reproduced in synchronism with the AV stream data and the position information to be reproduced in synchronism while recording the AV stream data, thereby improving the convenience for the user.

なお、AVストリームデータのシーンやチャプターの区切りは、AVストリームデータを記録中に、AVストリームデータをディスプレイなどの表示出力手段に送り出して、表示出力を行い、ユーザが、その表示出力をユーザが参照して、上記区切りと判断した場合に、キーボードなどの入力手段を用いてデータ記録装置10に通知することによって上記区切りを検出してもよい。また、静止画、テキスト、音楽・音声データ、映像データへのリンク情報を記録する場合についても同様である。   The AV stream data scenes and chapters are separated by sending the AV stream data to a display output means such as a display while recording the AV stream data, and performing the display output. The user refers to the display output. Then, when it is determined that the separation is detected, the separation may be detected by notifying the data recording apparatus 10 using an input unit such as a keyboard. The same applies to the case of recording link information to still images, text, music / audio data, and video data.

これにより、AVストリームデータの記録中に、記録しているAVストリームデータの再生に関する情報やデータの内容を、ユーザが所望するタイミングで自由に行うことができ、例えば記録中にメモをとるといった機能を提供できる。また、AVストリームデータの記録後に、これらシーンやチャプターの最終的な分割作業などをユーザが行うときに、記録中に付加した前記メモ機能によりスムーズに行うことが可能となる。   Thereby, during recording of AV stream data, information relating to reproduction of the recorded AV stream data and the content of the data can be freely performed at a timing desired by the user. For example, a function of taking a memo during recording Can provide. In addition, when the user performs final division work of these scenes and chapters after recording AV stream data, the memo function added during recording can be performed smoothly.

同様に、上記の実施形態において、入力手段によるユーザからの指示に基づいて、メモリ上の管理情報を記録媒体上のPRU領域へ記録しても良い。これにより、ユーザの判断によって、記録したAVストリームデータに関する管理情報のバックアップを記録することができる。また、ユーザが、記録したAVストリームデータの内容の重要度に基づいて、バックアップを行うタイミングを自由に行うことが可能となる。   Similarly, in the above embodiment, management information on the memory may be recorded in the PRU area on the recording medium based on an instruction from the user by the input means. Thus, a backup of management information related to the recorded AV stream data can be recorded at the user's discretion. In addition, the user can freely perform the backup timing based on the importance of the content of the recorded AV stream data.

また、上記の実施形態では、記録装置に確保されているメモリサイズを超えた時を検出して、メモリ上の管理情報を付加データとして記録媒体上のPRU領域に記録しているが、データ記録装置に加わる加速度を検出し、検出された加速度が大きい場合にメモリ上の管理情報を付加データとして記録媒体上のPRU領域に記録するとしてもよい。また、データ記録装置のバッテリの残容量を検出し、検出したバッテリの残容量が少なくなった場合に、メモリ上の管理情報を付加データとしてPRU領域に記録するとしてもよい。   In the above embodiment, when the memory size secured in the recording device is exceeded, the management information on the memory is recorded as additional data in the PRU area on the recording medium. The acceleration applied to the apparatus may be detected, and when the detected acceleration is large, the management information on the memory may be recorded as additional data in the PRU area on the recording medium. Further, when the remaining capacity of the battery of the data recording device is detected and the detected remaining capacity of the battery decreases, the management information on the memory may be recorded as additional data in the PRU area.

このように、種々の検出手段が検出したタイミングに基づいて、付加データをPRU領域に記録しても良い。これにより、AVストリームデータの記録中に、データ記録装置へ加わった衝撃による記録処理失敗や電源断によるメモリ上の付加データの消失を防止することができる。   As described above, the additional data may be recorded in the PRU area based on the timing detected by various detection means. Thereby, during recording of AV stream data, it is possible to prevent a recording process failure due to an impact applied to the data recording device and loss of additional data on the memory due to power interruption.

また、上記の実施形態では、図1に示されるように、付加データとして管理情報を記録していないPRU領域が存在するが、或るCU内のAVストリームデータに関する管理情報を、次のCU内のPRU領域に記録することにより、最初のCUを除く全てのCU内のPRU領域に付加データとして管理情報を記録しても良い。   In the above embodiment, as shown in FIG. 1, there is a PRU area in which management information is not recorded as additional data. However, management information related to AV stream data in a certain CU is stored in the next CU. By recording in the PRU area, management information may be recorded as additional data in the PRU areas in all CUs except the first CU.

これにより、管理情報がAVストリームデータごとに作成されるので、データのコピーや移動、挿入処理といった編集作業をAVストリームデータ単位で行うことが可能となる。したがって、AVストリームデータの記録開始から終了までを一括して管理している管理情報を解釈し、データ操作せずとも、CU内のデータを操作するだけで、編集することができる。   As a result, since management information is created for each AV stream data, editing operations such as data copying, moving, and insertion processing can be performed in units of AV stream data. Therefore, it is possible to edit only by manipulating the data in the CU without interpreting the management information that is collectively managed from the start to the end of the recording of the AV stream data, and without manipulating the data.

また、上記の実施形態では、AVストリームデータとともに記録する付加データとして、AVストリームデータの管理情報を利用しているが、この付加データは、静止画データやテキストデータ、音楽・音声データ、映像データなどAVストリームデータの再生と同期して再生を行う任意のデータを利用することができる。   In the above embodiment, AV stream data management information is used as additional data to be recorded together with AV stream data. This additional data includes still image data, text data, music / audio data, video data, and the like. Any data that is reproduced in synchronism with the reproduction of AV stream data can be used.

PRU領域にAVストリームデータと同期して再生するデータを記録することにより、AVストリームデータを再生する際に、同期して再生するデータの読み出しとAVストリームデータの読み出しが連続的に行うことが可能となる。従って、読み出しヘッドのシークが発生しないため、消費電力が小さくなることやデータ記録装置の動作音が小さくなるという効果がある。   By recording data to be played back in synchronization with AV stream data in the PRU area, it is possible to continuously read out data to be played back and AV stream data when playing back AV stream data. It becomes. Therefore, since the read head seek does not occur, the power consumption is reduced and the operation sound of the data recording apparatus is reduced.

また、上記の実施形態では、PRU領域に記録する付加データはAVストリームデータの記録や再生に使用されるデータであったが、AVストリームデータの記録や再生に使用されないデータを記録しても良い。このような付加データには、AVストリームデータの記録再生を行う機器とネットワークを介して接続された外部の機器からのデータや、衛星、地上波放送などによる放送からの番組データなどがある。   In the above embodiment, the additional data to be recorded in the PRU area is data used for recording and reproduction of AV stream data. However, data that is not used for recording and reproduction of AV stream data may be recorded. . Such additional data includes data from an external device connected to a device that records and reproduces AV stream data via a network, program data from broadcasting by satellite, terrestrial broadcasting, and the like.

前者の外部の機器からのデータには、AVストリームデータの記録再生を行う機器の制御を行う制御情報や映像、音声、静止画、テキストなどのAVコンテンツが挙げられる。また、AVストリームデータの記録再生を行う機器および外部の機器としてビデオカメラが挙げられる。   Data from the former external device includes control information for controlling a device that records and reproduces AV stream data, and AV content such as video, audio, still image, and text. In addition, a video camera is an example of a device that records and reproduces AV stream data and an external device.

これらビデオカメラを用いる応用例としては、一方のビデオカメラで映像を撮影中に、それとは異なる外部のビデオカメラの映像を同時に記録することが可能となることや、一方のビデオカメラの撮影制御情報であるプログラムをそれとは異なるビデオカメラからネットワークを通じて保存し、一方のビデオカメラは、記録した撮影制御情報プログラムに基づいて、撮影動作を行うなどがある。また、ビデオカメラで撮影中に、携帯電話を通じて撮影者に対して伝言を伝えたい場合に、一時的に伝言内容を記録するといった使い方がある。   As an application example using these video cameras, it is possible to simultaneously record video from a different external video camera while shooting video with one video camera, or shooting control information of one video camera. Is stored from a different video camera through a network, and one video camera performs a shooting operation based on the recorded shooting control information program. In addition, there is a method of temporarily recording the content of a message when it is desired to convey a message to a photographer through a mobile phone while shooting with a video camera.

この場合、AVストリームデータの記録再生を行う機器がAVストリームデータを記録しながら、ネットワークを介して外部の機器が記録した前記のデータを記録することにより、外部の機器のデータを同時に、AVストリームデータを記録する機器に保存ができる。また、外部の機器の記録データを記録するため、外部の機器のデータをバックアップデータとしてAVストリームデータを記録再生する機器に保存することが可能となる。   In this case, by recording the data recorded by the external device via the network while the device that records and reproduces the AV stream data records the AV stream data, the data of the external device is simultaneously recorded in the AV stream. It can be saved on the device that records the data. Further, since the recording data of the external device is recorded, it is possible to store the data of the external device as backup data in a device that records and reproduces AV stream data.

一方、後者のように、AVストリームデータの記録中に前記付加データに含まれる衛星や地上波放送などの放送や番組データを記録する場合には、AVストリームデータの記録動作の有無にかかわらず、電源が投入されている限り、番組データを記録することが可能である。したがって、AVストリームデータの記録中においても、放送されている番組やデータなどを記録することが可能となり、放送中のデータを逃さず記録媒体に記録することができ、予約録画の機能を実現することが可能となる。   On the other hand, as in the latter case, when recording broadcast or program data such as satellite or terrestrial broadcast included in the additional data during recording of AV stream data, regardless of whether or not AV stream data is recorded, As long as the power is turned on, program data can be recorded. Therefore, even during the recording of AV stream data, it is possible to record a broadcast program or data, and the data being broadcast can be recorded on a recording medium without missing, thereby realizing a reservation recording function. It becomes possible.

また、上記の実施形態では、図1に示されるように、光ディスク106に記録した付加データであるメモリ上の内容をアフレコファイル732として1つのファイルに記録しているが、付加データを光ディスク106に記録する単位で1つのファイルとすることや、いくつかのファイルに付加データを分散して記録するなど、付加データを複数のファイルに分割して記録しても良い。例えば、PRU領域に記録した付加データを付加データファイルとして1つのファイルで管理し、PRU領域の空き領域をアフレコファイルで管理することや、PRU領域に記録した付加データを複数のファイルで管理し、PRU領域の空き領域をアフレコファイルで管理することなどである。   In the above embodiment, as shown in FIG. 1, the contents on the memory, which is additional data recorded on the optical disc 106, are recorded in one file as an after-recording file 732, but the additional data is recorded on the optical disc 106. The additional data may be divided and recorded in a plurality of files, for example, the recording unit may be a single file or the additional data may be distributed and recorded in several files. For example, the additional data recorded in the PRU area is managed as one additional data file as a single file, the free area in the PRU area is managed as an after-record file, and the additional data recorded in the PRU area is managed as a plurality of files. For example, the free area of the PRU area is managed by an after-recording file.

この場合、記録開始から終了までの付加データを複数のファイルに分割して記録することにより、各付加データの記録するタイミングの単位で記録媒体上の異なるファイルに記録することが可能となり、付加データの内容ごとに整理や分類がしやすくなるという効果がある。   In this case, by dividing the additional data from the start to the end of recording into a plurality of files and recording, it becomes possible to record in different files on the recording medium in units of recording timing of each additional data. There is an effect that it becomes easy to organize and classify each content.

〔実施の形態2〕
次に、本発明の他の実施形態について図19に基づいて説明する。上記の実施形態では、図1に示されるようにCUごとに記録領域が分断しているが、本実施形態では、図19に示されるように、各CUを光ディスク106上に連続的に配置している。なお、本実施形態は、上記の実施形態に比べて、データの記録方法が異なるのみであり、その他の構成は同様であるので、その説明を省略する。
[Embodiment 2]
Next, another embodiment of the present invention will be described with reference to FIG. In the above embodiment, the recording area is divided for each CU as shown in FIG. 1, but in this embodiment, each CU is continuously arranged on the optical disk 106 as shown in FIG. ing. Note that this embodiment is different from the above embodiment only in the data recording method, and the other configurations are the same, and thus the description thereof is omitted.

上記実施形態では、CUのサイズをAVストリームデータおよびアフレコデータを、シームレスな記録または再生が可能な最小のサイズ以上であるとしている。本実施形態においては、これに加えて、AVストリームデータと同期して再生するアフレコデータも含めてシームレスに記録または再生が可能となる間隔でPRU領域をインターリーブするCUのサイズとする必要がある。これは、AVストリームデータを光ディスク106上に連続的に記録することから、1つのPRU領域と1つのAVストリームデータ領域という記録形態では、AVストリームデータを長時間記録した場合に、アフレコデータをシームレスに同期して再生することが不可能となるということである。   In the above embodiment, the size of the CU is assumed to be equal to or larger than the minimum size capable of seamless recording or reproduction of AV stream data and post-recording data. In the present embodiment, in addition to this, it is necessary to set the size of the CU for interleaving the PRU area at an interval that enables seamless recording or reproduction including post-recording data that is reproduced in synchronization with AV stream data. This is because the AV stream data is continuously recorded on the optical disk 106, and therefore, in the recording form of one PRU area and one AV stream data area, after recording the AV stream data for a long time, the after-recording data is seamlessly recorded. It is impossible to play back in synchronization with.

また、AVストリームデータの記録に関して、上記実施形態と異なるのは、図19に示されるように、第1のCU1110の終了位置と第2のCU1111の先頭位置や、第2のCU1111の終了位置と第3のCU1112の先頭位置が連続となっているように、連続するCU間で分断が生じず、物理的に連続して記録するということである。   Also, regarding the recording of AV stream data, the difference from the above embodiment is that the end position of the first CU 1110 and the start position of the second CU 1111 and the end position of the second CU 1111 are different as shown in FIG. The third CU 1112 is recorded continuously continuously without being divided between consecutive CUs so that the head position of the third CU 1112 is continuous.

このような処理動作は、図7において、AVストリームデータの記録処理終了の判定(S104)後、次のCUの先頭へのシーク処理(S105)を行わず、次のPRU領域に一時データを記録する判定処理(S106)を行うことにより実現できる。これにより、直前のAVストリームデータ記録終了位置から続けて、次のCUの記録が行われる。   In this processing operation, in FIG. 7, after the end of the recording process of the AV stream data (S104), the seek process to the head of the next CU (S105) is not performed, and the temporary data is recorded in the next PRU area. This can be realized by performing the determination process (S106). As a result, the next CU is recorded continuously from the previous AV stream data recording end position.

なお、本実施形態を実施する上では、記録するAVストリームデータの時間(データサイズ)に相当する十分な連続空き領域が光ディスク106上に存在している必要がある。すなわち、未だデータの記録が行われていない光ディスクや、初期化直後の光ディスクが望ましい。   In carrying out this embodiment, it is necessary that a sufficient continuous free space corresponding to the time (data size) of AV stream data to be recorded exists on the optical disc 106. In other words, an optical disc on which no data has been recorded or an optical disc immediately after initialization is desirable.

このように、CUを連続的に記録することによりCU間に分断が発生しないため、AVストリームデータの記録または再生時において、シークが発生しないという効果がある。これは、無駄なヘッドの動作を必要とせず、消費電力を削減させることが可能となる。また、ヘッドの移動による振動や移動音を発生させないという効果がある。さらに、AVストリームデータを他の記録媒体にコピーを行う場合にも、分断が生じている場合と比べ、コピーするAVストリームデータを高速に読み出すことが可能となり、コピー時間を短縮することが可能となる。   As described above, since the CU is continuously recorded, no division occurs between the CUs. Therefore, there is an effect that no seek occurs when recording or reproducing AV stream data. This does not require a wasteful head operation and can reduce power consumption. Further, there is an effect that vibration and moving sound due to the movement of the head are not generated. Furthermore, even when AV stream data is copied to another recording medium, it is possible to read out the AV stream data to be copied at a higher speed than in the case where the division occurs, and to shorten the copy time. Become.

また、記録したAVストリームデータに関連するデータ(PRU領域やアフレコデータ、管理情報など)以外がCU間に存在しないため、1つの関連あるデータを光ディスク上にまとめて記録でき、ディスクの使用効率を向上させることができる。これは、光ディスクに対し、ファイルの記録および削除を繰り返していくと、各ファイルの物理データ領域が細かく分断し、データのアクセス速度低下につながるが、CUを連続的に記録することにより、前記のような各ファイルにおける物理データ領域の分断の発生を削減することが可能となる。さらに、CU間が連続となっているAVストリームデータを消去した場合に、光ディスク上に連続的な空き領域を作成することができるため、次回からのデータの記録に対して都合が良いという効果がある。   In addition, since data other than the data related to the recorded AV stream data (PRU area, post-record data, management information, etc.) does not exist between CUs, one related data can be recorded on the optical disc together, thereby improving the efficiency of use of the disc. Can be improved. This is because if the file recording and deletion are repeated on the optical disc, the physical data area of each file is divided finely, leading to a decrease in data access speed. However, by continuously recording CUs, It is possible to reduce the occurrence of the division of the physical data area in each file. Further, when the AV stream data in which the CUs are continuous is deleted, a continuous free area can be created on the optical disc, which is advantageous for the next data recording. is there.

なお、本実施形態では、全てのCUを連続的に記録しているが、可能な限りCUを連続的に記録し、必要に応じて分断を生じさせて記録しても良い。これにより、前述の効果同様に、ディスクの使用効率がより一層向上する。   In the present embodiment, all the CUs are continuously recorded. However, the CUs may be continuously recorded as much as possible, and may be divided and recorded as necessary. As a result, the use efficiency of the disk is further improved in the same manner as described above.

また、上記の実施形態では、ストリームデータとして映像および音に関するAVストリームデータを利用しているが、連続的に記録および/または再生すべきデータであれば、任意のストリームデータを利用することができる。   In the above embodiment, AV stream data relating to video and sound is used as stream data. However, any stream data can be used as long as it is data to be recorded and / or reproduced continuously. .

また、上記の実施形態では、AVストリームデータの読出し前にアフレコデータをメモリに読み出しておくため、AVストリームデータの記録領域の前にPRU領域を配置しているが、AVストリームデータの記録領域の後にPRU領域を配置してもよい。   In the above embodiment, since the post-record data is read out to the memory before the AV stream data is read out, the PRU area is arranged in front of the AV stream data recording area. You may arrange | position a PRU area | region later.

また、データ記録装置10の各ブロック、特に連続制御部120、管理情報ファイル作成部121、および部分管理情報作成部122は、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。   In addition, each block of the data recording apparatus 10, in particular, the continuous control unit 120, the management information file creation unit 121, and the partial management information creation unit 122 may be configured by hardware logic, and uses a CPU as follows. It may be realized by software.

すなわち、データ記録装置10は、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit )、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアであるデータ記録装置10の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記データ記録装置10に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, the data recording apparatus 10 includes a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, and a RAM (random access memory) that expands the program. And a storage device (recording medium) such as a memory for storing the program and various data. An object of the present invention is a recording medium on which a program code (execution format program, intermediate code program, source program) of a control program of the data recording apparatus 10 which is software that realizes the above-described functions is recorded so as to be readable by a computer. This can also be achieved by supplying the data recording apparatus 10 and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フレキシブルディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a disk system including a magnetic disk such as a flexible disk / hard disk and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R, and an IC card. A card system such as an optical card (including a memory card) or a semiconductor memory system such as a mask ROM / EPROM / EEPROM / flash ROM can be used.

また、データ記録装置10を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された搬送波あるいはデータ信号列の形態でも実現され得る。   Further, the data recording apparatus 10 may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Further, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired communication such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth, It can also be used with radio such as 802.11 radio, HDR, mobile phone network, satellite line, and terrestrial digital network. The present invention can also be realized in the form of a carrier wave or a data signal sequence in which the program code is embodied by electronic transmission.

また、本発明を以下のように構成することもできる。   The present invention can also be configured as follows.

例えば、本発明に係るデータ記録再生方法は、少なくとも映像または音声からなる第1のデータと、該第1のデータと同期する第2のデータを記録する領域を記録媒体に記録するデータ記録再生方法において、記録媒体上に、該第1のデータを記録しながら、該第1のデータと異なるデータを、該第2のデータを記録する領域に記録する方法である。これにより、第1のデータとしてAVストリームデータを記録しながら、AVストリームデータと異なるデータを見かけ上同時に記録することが可能となる。   For example, in the data recording / reproducing method according to the present invention, a data recording / reproducing method for recording, on a recording medium, an area for recording first data composed of at least video or audio and second data synchronized with the first data. In this method, the first data is recorded on the recording medium, and the data different from the first data is recorded in an area for recording the second data. As a result, while recording AV stream data as the first data, it becomes possible to simultaneously record apparently different data from the AV stream data.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第2のデータは、前記第1のデータの記録または再生に使用されるデータである。これにより、第1のデータとしてAVストリームデータを記録しながら、第2のデータとして音楽データや静止画データ、テキストデータなどを同時に記録することが可能となる。   Furthermore, in the data recording / reproducing method according to the present invention, in the above method, the second data is data used for recording or reproducing the first data. This makes it possible to simultaneously record music data, still image data, text data, and the like as the second data while recording the AV stream data as the first data.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第1のデータの記録または再生に使用される第2のデータは、前記第1のデータの再生に必要な管理情報である。これにより、第1のデータとしてAVストリームデータを記録しながら、第2のデータとしてそのAVストリームデータの管理情報を同時に記録することが可能となる。   Further, in the data recording / reproducing method according to the present invention, in the above method, the second data used for recording or reproducing the first data is management information necessary for reproducing the first data. . Accordingly, it is possible to simultaneously record the management information of the AV stream data as the second data while recording the AV stream data as the first data.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第1のデータの記録または再生に使用される第2のデータは、前記第1のデータの再生に必要な管理情報の一部分である。これにより、メモリサイズを超えた管理情報をPRU領域に記録することにより、少ないメモリサイズのシステムにおいても、長時間のAVストリームデータの記録が可能となる。また、付加データをCUとは異なる領域にライトする場合に比べ、CUの連続記録長をより短くすることが可能となり、AVストリームデータの破壊編集の単位をより細かい単位で指定することが可能となるという効果がある。   Further, in the data recording / reproducing method according to the present invention, in the above method, the second data used for recording or reproducing the first data is a part of management information necessary for reproducing the first data. It is. Thus, by recording management information exceeding the memory size in the PRU area, it is possible to record AV stream data for a long time even in a system with a small memory size. In addition, the continuous recording length of the CU can be made shorter than when the additional data is written in an area different from the CU, and the unit for destructive editing of the AV stream data can be specified in a finer unit. There is an effect of becoming.

また、全てのPRU領域であるアフレコファイル内に付加データを記録することにより、AVストリームデータの記録が終了し、管理情報ファイルを生成した後は、アフレコファイル内データにある付加データをダミーデータとみなすことにより、アフレコ処理を行う際、アフレコデータにより付加データを上書きすることになる。そのため、AVストリームデータ記録終了後に、付加データを削除するといった特別な処理をする必要がないという効果がある。   Further, by recording additional data in the after-recording file that is the PRU area, after the recording of the AV stream data is completed and the management information file is generated, the additional data in the data in the after-recording file is set as dummy data. As a result, when the after-recording process is performed, the additional data is overwritten by the after-recording data. Therefore, there is an effect that it is not necessary to perform a special process such as deleting the additional data after the AV stream data recording is completed.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第1のデータの記録または再生に使用される第2のデータは、前記第1のデータと同期して再生されるデータである。PRU領域にAVストリームデータと同期して再生するデータを記録することにより、AVストリームデータを再生する際に、同期して再生するデータの読み出しとAVストリームデータの読み出しが連続的に行うことが可能となる。従って、読み出しヘッドのシークが発生しないため、消費電力が小さくなることやデータ記録装置の動作音が小さくなるという効果がある。   Furthermore, in the data recording / reproducing method according to the present invention, in the above method, the second data used for recording or reproducing the first data is data reproduced in synchronization with the first data. is there. By recording data to be played back in synchronization with AV stream data in the PRU area, it is possible to continuously read out data to be played back and AV stream data when playing back AV stream data. It becomes. Therefore, since the read head seek does not occur, the power consumption is reduced and the operation sound of the data recording apparatus is reduced.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第2のデータの記録は、特定(時間)間隔で、前記第2のデータを記録する領域に記録する方法である。特定の時間間隔でPRU領域に管理情報を記録することにより、管理情報をPRU領域に記録したところまでのAVストリームデータおよびその管理情報が記録媒体上に記録される。管理情報は、AVストリームデータとインターリーブされ、AVストリームデータ内で分散して記録される。これは、データ記録装置の電源の供給が突然停止した場合においても、記録した内容は保持されこととなり、電源断対策という効果がある。   Furthermore, the data recording / reproducing method according to the present invention is a method in which, in the above method, the recording of the second data is performed in a region where the second data is recorded at a specific (time) interval. By recording the management information in the PRU area at specific time intervals, the AV stream data up to the point where the management information is recorded in the PRU area and the management information are recorded on the recording medium. The management information is interleaved with the AV stream data and is distributed and recorded in the AV stream data. This is because even if the supply of power to the data recording apparatus suddenly stops, the recorded contents are retained, and there is an effect of taking measures against power interruption.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第2のデータの記録は、第1のデータの内容と関連する単位で、前記第2のデータを記録する領域に記録する方法である。このように、AVストリームデータを記録中にシーンやチャプター情報を記録することにより、記録したAVストリームデータを再生する際に、AVストリームデータの全体の内容がどのような内容または構成となっているかを把握しやすくなり、AVストリームデータ中の任意の再生したい個所を瞬時に検索するのに役立つ。これにより、AVストリームデータと同期して再生したい前記AVデータやその同期再生する位置情報を、AVストリームデータを記録中に付加することが可能となり、ユーザの利便性が向上する。   Furthermore, in the data recording / reproducing method according to the present invention, in the above method, the recording of the second data is performed in an area where the second data is recorded in a unit related to the content of the first data. Is the method. In this way, by recording scene and chapter information during recording of AV stream data, when the recorded AV stream data is played back, what is the content or configuration of the entire content of the AV stream data? This is useful for instantly searching for a desired playback position in the AV stream data. This makes it possible to add the AV data to be reproduced in synchronism with the AV stream data and the position information to be reproduced in synchronism while recording the AV stream data, thereby improving the convenience for the user.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第2のデータの記録は、ユーザまたはシステムからの指示によって、前記第2のデータを記録する領域に記録する方法である。これにより、記録しているAVストリームデータの再生に関する情報やデータの内容をユーザが思い立ったタイミングでAVストリームデータを記録中に自由に行うことができ、記録中にメモをとるといった機能を提供できる。また、AVストリームデータの記録後に、これらシーンやチャプターの最終的な分割作業などを行う際に、記録中に付加した前記メモ機能によりスムーズに行うことが可能となる。   Furthermore, the data recording / reproducing method according to the present invention is a method in which, in the above method, the recording of the second data is performed in an area where the second data is recorded according to an instruction from a user or a system. As a result, it is possible to freely perform information related to reproduction of the recorded AV stream data and the content of the data while recording the AV stream data at a timing that the user thinks, and to provide a function of taking a memo during recording. . In addition, when the final division work of these scenes and chapters is performed after the AV stream data is recorded, the memo function added during the recording can be performed smoothly.

また、ユーザの判断によって記録したAVストリームデータの管理情報のバックアップを記録することができる。ユーザが記録したAVストリームデータの内容の重要度によって、バックアップを行うタイミングを自由に行うことが可能となる。また、記録再生システムの指示により、付加データとしてメモリ上の管理情報をPRU領域に記録することにより、AVストリームデータの記録中に、記録再生システムへ加わった衝撃による記録処理失敗や電源断によるメモリ上の付加データの消失を防ぐことができる。   Also, it is possible to record a backup of management information of AV stream data recorded at the user's discretion. Depending on the importance of the content of the AV stream data recorded by the user, the backup timing can be freely performed. Further, by recording the management information on the memory as additional data in the PRU area according to the instruction of the recording / reproducing system, the recording processing failure due to the impact applied to the recording / reproducing system or the power-off memory during recording of AV stream data The loss of the above additional data can be prevented.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記システムからの指示は、メモリの記憶残量によって指示される方法である。メモリの記憶残量によって指示されることにより、メモリサイズを超えて管理情報が記憶されることを防ぐことが可能となる。   Furthermore, the data recording / reproducing method according to the present invention is a method in which the instruction from the system is instructed by the remaining storage capacity of the memory. By being instructed by the remaining storage capacity of the memory, it is possible to prevent management information from being stored exceeding the memory size.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第2のデータの記録は、常時、前記第2のデータを記録する領域に記録する方法である。全てのPRU領域に付加データとして管理情報を記録することにより、1つのCU内におけるAVストリームデータとその管理情報がまとまって記録されるため、データのコピーや移動、挿入処理といった編集作業をCU単位で行うことが可能となる。したがって、AVストリームデータの記録開始から終了までを一括して管理している管理情報を解釈し、データ操作せずとも、CU内のデータを操作するだけで、編集することができる。   Furthermore, the data recording / reproducing method according to the present invention is a method in which, in the above method, the recording of the second data is always performed in an area for recording the second data. By recording management information as additional data in all PRU areas, AV stream data and its management information are recorded together in one CU, so that editing operations such as data copying, moving, and insertion processing are performed on a CU basis. Can be performed. Therefore, it is possible to edit only by manipulating the data in the CU without interpreting the management information that is collectively managed from the start to the end of the recording of the AV stream data, and without manipulating the data.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第2のデータは、前記第1のデータの記録または再生に使用されないデータである。第1のデータの記録または再生に使用されないデータを第2のデータに記録することによって、第1のデータの記録とは、全く異なる用途のデータを記録することが可能となる。これによりデータ記録処理という一連の処理において、見かけ上同時に複数の機能を持たせることが可能となるという効果がある。   Furthermore, in the data recording / reproducing method according to the present invention, in the above method, the second data is data that is not used for recording or reproducing the first data. By recording data that is not used for recording or reproduction of the first data in the second data, it is possible to record data for a completely different purpose from the recording of the first data. Thus, there is an effect that it is possible to have a plurality of functions at the same time in a series of processing called data recording processing.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第1のデータと関連しない第2のデータは、放送やネットワーク、外部機器からのデータである。   Furthermore, in the data recording / reproducing method according to the present invention, in the above method, the second data not related to the first data is data from a broadcast, a network, or an external device.

第2のデータが外部機器からのデータである場合には、AVストリームデータの記録再生を行う機器がAVストリームデータを記録しながら、ネットワークを介して外部の機器が記録した前記のデータを記録することにより、外部の機器のデータを同時に、AVストリームデータを記録する機器に保存ができる。また、外部の機器の記録データを記録するため、外部の機器のデータをバックアップデータとしてAVストリームデータを記録再生する機器に保存することが可能となる。   When the second data is data from an external device, the device that records and plays back AV stream data records the data recorded by the external device via the network while recording the AV stream data. As a result, the data of the external device can be simultaneously stored in the device that records the AV stream data. Further, since the recording data of the external device is recorded, it is possible to store the data of the external device as backup data in a device that records and reproduces AV stream data.

一方、第2のデータが衛星や地上波放送からのデータである場合には、AVストリームデータの記録中においても、放送されている番組やデータなどを記録することが可能となり、放送中のデータを逃さず記録媒体に記録することができ、予約録画の機能を実現することが可能となる。   On the other hand, when the second data is data from a satellite or terrestrial broadcast, it is possible to record a broadcast program or data even during recording of AV stream data. Can be recorded on a recording medium without missing, so that a reservation recording function can be realized.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第2のデータは、1つのファイルで構成される方法である。第2のデータを1つのファイルで構成することにより、第1のデータとインターリーブして記録するPRU領域を瞬時に把握することが可能となり、PRU領域を簡素な方法で管理することができるため、PRU領域の管理が行いやすいという効果がある。   Furthermore, the data recording / reproducing method according to the present invention is a method in which the second data is composed of one file in the above method. By configuring the second data in one file, it is possible to instantly grasp the PRU area to be recorded by interleaving with the first data, and the PRU area can be managed in a simple manner. There is an effect that the PRU area can be easily managed.

さらに、本発明に係るデータ記録再生方法は、上記の方法において、前記第2のデータは、複数のファイルで構成される方法である。記録開始から終了までの付加データを複数のファイルに分割して記録することにより、各付加データの記録するタイミングの単位で記録媒体上の異なるファイルに記録することが可能となり、付加データの内容ごとに整理、分類がしやすくなるという効果がある。   Furthermore, the data recording / reproducing method according to the present invention is a method in which, in the above method, the second data is composed of a plurality of files. By dividing the additional data from the start to the end of recording into a plurality of files and recording, it becomes possible to record in different files on the recording medium in units of recording timing of each additional data. This has the effect of making it easier to organize and classify.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、さらに、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims. Further, the present invention can be obtained by appropriately combining technical means disclosed in different embodiments. Embodiments are also included in the technical scope of the present invention.

上記実施形態におけるデータ記録方法は、光ディスク、ハードディスク、半導体メモリなどの記録媒体や、これら記録媒体に対してデータの記録再生を行う記録再生装置や記録再生システムに適用することが可能である。   The data recording method in the above embodiment can be applied to recording media such as optical disks, hard disks, and semiconductor memories, and recording / reproducing apparatuses and recording / reproducing systems that record and reproduce data on these recording media.

本発明の一実施形態であるビデオディスクレコーダにおいて、AVコンテンツを記録するときに作成される複数のファイルと、これらファイル内のデータの記録位置とを示す図である。It is a figure which shows the several file produced when recording AV content in the video disc recorder which is one Embodiment of this invention, and the recording position of the data in these files. 上記ビデオディスクレコーダの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the said video disc recorder. 上記ビデオディスクレコーダにおけるホストCPUおよびRAMの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of host CPU and RAM in the said video disc recorder. 同図(a)ないし(c)は、QuickTimeファイルフォーマットにおける管理情報とAVストリームとの関係を示す図である。FIGS. 7A to 7C are diagrams showing the relationship between management information and AV streams in the QuickTime file format. 上記AVストリームの構成を示す図である。It is a figure which shows the structure of the said AV stream. 同図(a)はディレクトリ/ファイル構成を示す図であり、(b)はそのディレクトリ/ファイル構成のUDFにおける管理を示す図である。FIG. 4A is a diagram showing a directory / file configuration, and FIG. 4B is a diagram showing management in the UDF of the directory / file configuration. 上記ビデオディスクレコーダにおいて、記録媒体にAVコンテンツを記録する処理動作を示すフローチャートである。4 is a flowchart showing a processing operation for recording AV content on a recording medium in the video disc recorder. 上記ファイルフォーマットにおけるMovie atomの構成を示す図である。It is a figure which shows the structure of Movie atom in the said file format. 上記Movie atomにおけるTrack atomの構成を示す図である。It is a figure which shows the structure of Track atom in the said Movie atom. 上記Track atomにおけるTrack header atomの構成を示す図である。It is a figure which shows the structure of Track header atom in the said Track atom. 上記Track atomにおけるMedia atomの構成を示す図である。It is a figure which shows the structure of Media atom in the said Track atom. 上記Media atomにおけるMedia information atomの構成を示す図である。It is a figure which shows the structure of Media information atom in the said Media atom. 上記Media information atomにおけるSample table atomによるデータ管理の例を示す図である。It is a figure which shows the example of the data management by Sample table atom in the said Media information atom. 上記Sample table atomの構成を示す図である。It is a figure which shows the structure of the said Sample table atom. 同図(a)は上記Sample table atomにおけるSample description atomの構成を示す図であり、同図(b)は上記Sample description atomにおけるSample description Tableのうち、オーディオのSound Sample description Tableの構成例を示す図である。The figure (a) is a figure which shows the structure of Sample description atom in the above-mentioned Sample table atom, The figure (b) shows the example of composition of the Sound Sample description Table of audio among Sample description Tables in the above-mentioned Sample description atom. FIG. 同図(a)は上記Track atomにおけるEdit atomの構成を示す図であり、同図(b)は上記Edit atomにおけるEdit list atomの構成を示す図である。FIG. 4A is a diagram showing the configuration of the Edit atom in the Track atom, and FIG. 4B is a diagram showing the configuration of the Edit list atom in the Edit atom. 同図(a)〜(c)は上記Edit atomによる再生範囲指定の例を示す図である。FIGS. 9A to 9C are diagrams showing an example of reproduction range designation by the Edit atom. 上記ファイルフォーマットにおけるUser data atomの構成を示す図である。It is a figure which shows the structure of User data atom in the said file format. 本発明の他の実施形態であるビデオディスクレコーダにおいて、AVコンテンツを記録するときに作成される複数のファイルと、これらファイル内のデータの記録位置とを示す図である。It is a figure which shows the several file created when recording AV content in the video disc recorder which is other embodiment of this invention, and the recording position of the data in these files. 従来のビデオディスクレコーダにおいて、AVコンテンツを記録するときに作成される複数のファイルと、これらファイル内のデータの記録位置とを示す図である。It is a figure which shows the some recording file created when recording AV content in the conventional video disc recorder, and the recording position of the data in these files.

符号の説明Explanation of symbols

10 ビデオディスクレコーダ(データ記録装置)
102 RAM
106 光ディスク(記録媒体)
120 連続記録制御部(記録制御手段)
121 管理情報ファイル作成部(特定データ移動制御手段)
122 部分管理情報作成部(記録制御手段)
700〜704、1100〜1104 PRU領域(アフレコデータの記録領域)
705〜709、1105〜1109 AVストリームデータ(ストリームデータ)の記録領域
710〜714、1110〜1114 CU(セット)
720、1120 管理情報の記録領域
730、1130 管理情報ファイル(ファイル)
10 Video disc recorder (data recording device)
102 RAM
106 Optical disc (recording medium)
120 Continuous recording control unit (recording control means)
121 Management information file creation unit (specific data movement control means)
122 Partial management information creation unit (recording control means)
700 to 704, 1100 to 1104 PRU area (recording area for post-recording data)
705 to 709, 1105 to 1109 Recording area of AV stream data (stream data) 710 to 714, 1110 to 1114 CU (set)
720, 1120 Management information recording area 730, 1130 Management information file (file)

Claims (16)

連続的に記録および/または再生すべきデータであるストリームデータの記録と、該ストリームデータに同期して再生され、かつ後で記録されるデータであるアフレコデータの記録領域の確保とを1セットとして記録媒体に対し連続して行い、これを複数セットについて行うように制御する記録制御手段を備えるデータ記録装置において、
上記記録制御手段は、或るセットにおいて、上記ストリームデータの記録を行うとともに、上記ストリームデータと異なるデータであって、上記ストリームデータに関連するデータである関連データを上記アフレコデータの記録領域に記録するように制御しており、
上記記録制御手段は、或るセットにおいて、該セットより前に記録された複数の上記ストリームデータに関連する複数の上記関連データのうち、未記録の関連データをまとめて記録するように制御しており、
上記記録制御手段は、複数セットの記録を行った後、複数の上記アフレコデータの記録領域に記録された関連データを、上記ストリームデータおよびアフレコデータの記録領域とは別の記録領域に移動するように制御する関連データ移動制御手段を備えることを特徴とするデータ記録装置。
Recording of stream data that is data to be continuously recorded and / or reproduced and securing a recording area for post-recording data that is data that is reproduced in synchronization with the stream data and recorded later are set as one set. In a data recording apparatus comprising a recording control means for continuously performing recording on a recording medium and controlling this to be performed for a plurality of sets.
It said recording control means, in a certain set, performs recording of the stream data, a data different from the stream data, records the relevant data is data associated with the stream data in the recording area of the after-recording data Control to
The recording control means performs control so that unrecorded related data is collectively recorded in a certain set among the plurality of related data related to the plurality of stream data recorded before the set. And
The recording control means, after performing a plurality of sets of recording, moves the related data recorded in the plurality of post-recording data recording areas to a recording area different from the stream data and post-recording data recording areas. And a related data movement control means for controlling the data recording apparatus.
上記関連データは、上記アフレコデータとしては無意味なダミーデータであることを特徴とする請求項1に記載のデータ記録装置。  2. The data recording apparatus according to claim 1, wherein the related data is dummy data meaningless as the post-record data. 上記記録制御手段は、前回に上記関連データを記録してから所定期間経過後に記録するセットにおいて、上記関連データを記録するように制御することを特徴とする請求項に記載のデータ記録装置。 Said recording control means is the set of records from a record of the relevant data to the previous after a predetermined period of time, the data recording apparatus according to claim 1, wherein the controller controls so as to record the relevant data. 関連データを蓄積する記憶手段をさらに備えており、
上記記録制御手段は、上記記憶手段の残量の低下を検出した場合に、上記記憶手段に蓄積された関連データを記録するように制御することを特徴とする請求項に記載のデータ記録装置。
A storage means for storing related data;
2. A data recording apparatus according to claim 1 , wherein said recording control means controls to record related data accumulated in said storage means when a decrease in the remaining capacity of said storage means is detected. .
ユーザが情報を入力する入力手段をさらに備えており、
上記記録制御手段は、上記入力手段からの書込み指示の情報に基づいて、上記関連データを記録するように制御することを特徴とする請求項に記載のデータ記録装置。
An input means for the user to input information;
2. The data recording apparatus according to claim 1 , wherein the recording control unit performs control so as to record the related data based on information of a writing instruction from the input unit.
装置の状況を検知する状況検知手段をさらに備えており、
上記記録制御手段は、上記状況検知手段の検知に基づいて、上記関連データを記録するように制御することを特徴とする請求項に記載のデータ記録装置。
It further comprises a status detection means for detecting the status of the device,
2. The data recording apparatus according to claim 1 , wherein the recording control unit performs control so as to record the related data based on detection by the situation detection unit.
上記記録制御手段は、上記複数セットの複数の関連データを管理する1つの管理ファイルを記録するように制御することを特徴とする請求項1に記載のデータ記録装置。 2. The data recording apparatus according to claim 1, wherein the recording control unit performs control so as to record one management file for managing the plurality of sets of related data. 上記記録制御手段は、上記複数セットの複数の関連データを管理する複数の管理ファイルを記録するように制御することを特徴とする請求項1に記載のデータ記録装置。 The data recording apparatus according to claim 1, wherein the recording control unit controls to record a plurality of management files for managing the plurality of sets of related data. ユーザが情報を入力する入力手段をさらに備えており、
上記関連データは、上記入力手段からの入力データであることを特徴とする請求項1に記載のデータ記録装置。
An input means for the user to input information;
The data recording apparatus according to claim 1, wherein the related data is input data from the input unit.
上記関連データは、上記ストリームデータの再生に必要な管理情報であることを特徴とする請求項に記載のデータ記録装置。 2. The data recording apparatus according to claim 1 , wherein the related data is management information necessary for reproducing the stream data. 上記関連データは、上記ストリームデータに同期して再生されるデータであることを特徴とする請求項に記載のデータ記録装置。 2. The data recording apparatus according to claim 1 , wherein the related data is data reproduced in synchronization with the stream data. 上記記録制御手段は、或るセットの関連データを、上記セットより後のセットにて確保されるアフレコデータの記録領域に記録するように制御することを特徴とする請求項に記載のデータ記録装置。 2. The data recording according to claim 1 , wherein the recording control means controls to record a certain set of related data in a recording area of post-recording data secured in a set after the set. apparatus. 上記ストリームデータの内容から上記関連データを取得する関連データ取得手段をさらに備えることを特徴とする請求項に記載のデータ記録装置。 2. The data recording apparatus according to claim 1 , further comprising related data acquisition means for acquiring the related data from the content of the stream data. 連続的に記録および/または再生すべきデータであるストリームデータの記録と、該ストリームデータに同期して再生され、かつ後で記録されるデータであるアフレコデータの記録領域の確保とを1セットとして記録媒体に対し連続して行い、これを複数セットについて行うデータ記録方法において、
或るセットにおいて、上記ストリームデータの記録を行うとともに、上記ストリームデータと異なるデータであって、上記ストリームデータに関連するデータである関連データを上記アフレコデータの記録領域に記録し、
或るセットにおいて、該セットより前に記録された複数の上記ストリームデータに関連する複数の上記関連データのうち、未記録の関連データをまとめて記録し、
複数セットの記録を行った後、複数の上記アフレコデータの記録領域に記録された関連データを、上記ストリームデータおよびアフレコデータの記録領域とは別の記録領域に移動することを特徴とするデータ記録方法。
Recording of stream data that is data to be continuously recorded and / or reproduced and securing a recording area for post-recording data that is data that is reproduced in synchronization with the stream data and recorded later are set as one set. In a data recording method for continuously performing recording on a recording medium and performing this for a plurality of sets,
In some sets, along with the recording of the stream data, a data different from the stream data, the related data is data associated with the stream data recorded in the recording area of the after-recording data,
In a certain set, unrecorded related data among a plurality of the related data related to the plurality of stream data recorded before the set is collectively recorded,
Data recording characterized in that after a plurality of sets of recording are performed, related data recorded in a plurality of the recording areas for the after-recording data is moved to a recording area different from the recording area for the stream data and the after-recording data Method.
請求項1ないし13の何れか1項に記載のデータ記録装置を動作させるためのデータ記録プログラムであって、コンピュータを上記記録制御手段として機能させるためのデータ記録プログラム。 A data recording program for operating the data recording apparatus according to any one of claims 1 to 13, the data recording program for causing a computer to function as the recording control means. 請求項15に記載のデータ記録プログラムが記録されたコンピュータ読取り可能な記録媒体。 A computer-readable recording medium on which the data recording program according to claim 15 is recorded.
JP2003346045A 2003-10-03 2003-10-03 DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM Expired - Fee Related JP4255796B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003346045A JP4255796B2 (en) 2003-10-03 2003-10-03 DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003346045A JP4255796B2 (en) 2003-10-03 2003-10-03 DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Publications (2)

Publication Number Publication Date
JP2005116007A JP2005116007A (en) 2005-04-28
JP4255796B2 true JP4255796B2 (en) 2009-04-15

Family

ID=34539135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003346045A Expired - Fee Related JP4255796B2 (en) 2003-10-03 2003-10-03 DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

Country Status (1)

Country Link
JP (1) JP4255796B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193321B (en) * 2006-11-27 2012-02-22 汤姆森许可贸易公司 encoding device, decoding device, recording device, audio/video data transmission system
JP2016192605A (en) * 2015-03-30 2016-11-10 株式会社ニコン Electronic apparatus, recording medium and program

Also Published As

Publication number Publication date
JP2005116007A (en) 2005-04-28

Similar Documents

Publication Publication Date Title
JP5386384B2 (en) Data recording method, data deleting method, recording apparatus, recording medium, and program
JP4591405B2 (en) Information processing apparatus, information processing method, and computer program
JPWO2003079359A1 (en) DATA RECORDING METHOD, DATA RECORDING DEVICE, DATA RECORDING MEDIUM, DATA REPRODUCING METHOD, AND DATA REPRODUCING DEVICE
JP3285029B2 (en) recoding media
JP2009005371A (en) Data recording method, data editing method, data decoding method, apparatus and recording medium therefor
JP4513780B2 (en) Information processing apparatus, information processing method, and computer program
JP3164111B2 (en) Recording method, recording device, and computer-readable recording medium
JP3164107B2 (en) recoding media
JP3895305B2 (en) Data recording method, data recording apparatus, and data recording medium
JP4255796B2 (en) DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP3986973B2 (en) AV data recording method, AV data recording apparatus, data recording medium, and program
JP4549855B2 (en) Data recording method, data reproducing method, data recording device, data reproducing device, data structure, program, and recording medium storing the program
JP2002373480A (en) Data-recording method, data recorder and recording medium
JP3139497B1 (en) Playback device, playback method, and computer-readable recording medium
JP4312783B2 (en) AV data reproducing method, AV data reproducing apparatus, program, and recording medium
JP4321053B2 (en) Recording medium, recording apparatus, reproducing apparatus, recording method, and computer-readable recording medium
JP3329338B1 (en) Recording method, recording device, and computer-readable recording medium
JP3829713B2 (en) Recording method, recording apparatus, and computer-readable recording medium
JP3329339B2 (en) Reproduction method, reproduction apparatus, and computer-readable recording medium
JP2008005525A (en) Data recording method, data deletion method, recording apparatus, recording medium, and program
JP2003168284A (en) Data recording method and data editing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060927

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081226

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

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

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

Free format text: PAYMENT UNTIL: 20120206

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees