JP4882950B2 - Recording apparatus, recording method, and program - Google Patents
Recording apparatus, recording method, and program Download PDFInfo
- Publication number
- JP4882950B2 JP4882950B2 JP2007261347A JP2007261347A JP4882950B2 JP 4882950 B2 JP4882950 B2 JP 4882950B2 JP 2007261347 A JP2007261347 A JP 2007261347A JP 2007261347 A JP2007261347 A JP 2007261347A JP 4882950 B2 JP4882950 B2 JP 4882950B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- recording
- separated
- recorded
- restoration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Description
本発明は、記録装置、記録方法及びプログラムに関する。 The present invention relates to a recording apparatus, a recording method, and a program.
従来、例えば下記の特許文献1、特許文献2、特許文献3に記載されているように、記録媒体に対する記録処理が正常に終了されなかった場合においても、記録媒体から記録済みのデータを読み出せるようにした装置が知られている。
Conventionally, as described in, for example,
ところで、上述した従来の技術では、入力映像等のデータの記録はクリップ単位で行われる。クリップとは撮像処理の回数の単位であり、1クリップは、記録再生装置の録画ボタン(RECボタン)を操作してから停止ボタン(STOPボタン)を操作するまでの撮像処理、または録画ボタン(RECボタン)を操作してから一時停止ボタン(PAUSEボタン)を操作するまでの撮像処理に対応する。 By the way, in the above-described conventional technique, recording of data such as input video is performed in units of clips. A clip is a unit of the number of times of imaging processing, and one clip is imaging processing from when the recording button (REC button) of the recording / reproducing apparatus is operated until the stop button (STOP button) is operated, or recording button (REC). This corresponds to the imaging process from the operation of the (button) to the operation of the pause button (PAUSE button).
映像データを光ディスクに記録した際には、1クリップ毎に管理のためのデータが作成される。ディスク投入時には、光ディスクに記録されている全てのクリップに関する管理情報が読み込まれるため、光ディスクに記録されるクリップ数が過度に多くなると、管理情報の読み出しに多くの時間が費やされ、記録又は再生開始のためのスタンバイの時間が長くなってしまう。このため、記録可能なクリップ数には一定の制限が設けられており、光ディスクの場合は、300クリップ以下のクリップ数のみが光ディスクに記録可能とされている。 When video data is recorded on the optical disc, management data is created for each clip. When the disc is inserted, the management information related to all clips recorded on the optical disc is read. Therefore, if the number of clips recorded on the optical disc increases excessively, a lot of time is spent reading the management information, and recording or playback is performed. The standby time for starting becomes longer. For this reason, a certain limit is imposed on the number of clips that can be recorded. In the case of an optical disc, only the number of clips of 300 clips or less can be recorded on the optical disc.
しかしながら、記録可能なクリップ数が制限されていると、例えば、録画〜一時停止〜録画〜一時停止、といった操作を短時間で繰り返し行うと、実質的な録画時間は少ない場合であっても、クリップ数が増えてしまい、記録可能なクリップの残量が減ってしまうという問題がある。 However, if the number of clips that can be recorded is limited, for example, if the operation of recording to pause to recording to pause is repeated in a short time, even if the substantial recording time is short, the clip There is a problem that the number increases and the remaining amount of clips that can be recorded decreases.
このため、一時停止ボタンの操作により継続的に録画が行われた場合は、新たなクリップを作成することなく、直前に撮影された映像と同じクリップの中で新たに記録を行うことが考えられる。このような手法によれば、一時停止ボタンの操作により録画が繰り返し行われた場合であっても、同一のクリップ中で複数の記録が行われるため、記録されたクリップの数を抑えることが可能である。 For this reason, when continuous recording is performed by operating the pause button, it is conceivable that new recording is performed in the same clip as the video captured immediately before without creating a new clip. . According to such a method, even when the recording is repeatedly performed by operating the pause button, a plurality of recordings are performed in the same clip, so that the number of recorded clips can be suppressed. It is.
しかしながら、同一のクリップ内で複数の記録を行う場合において、記録媒体に対する記録処理が正常に終了されなかった場合に記録済みのデータを読み出す際に問題が生じることが想定される。具体的には、上記特許文献に記載された手法では、映像データ(年輪データ)の間に記録したサルベージマーカーによって記録済みのデータを読み出すようにしているため、一時停止後、録画を再開した直後に電源断などの異常が発生した場合は、一時停止の直前に記録されたデータが失われてしまうことが想定される。通常、ユーザは、一時停止前に記録したデータは正常に記録されていると考えるため、一時停止後の異常によって一時停止前のデータが失われてしまうとユーザに対して違和感を与えてしまう。
However, when a plurality of recordings are performed in the same clip, it is assumed that a problem occurs when the recorded data is read when the recording process on the recording medium is not normally completed. Specifically, in the method described in the above-mentioned patent document, since recorded data is read by a salvage marker recorded during video data (annual ring data), immediately after resuming recording after pausing If an abnormality such as a power interruption occurs, the data recorded immediately before the temporary stop may be lost. Usually, the user thinks that the data recorded before the suspension is normally recorded, and therefore the user feels uncomfortable if the data before the suspension is lost due to an abnormality after the suspension.
そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、記録媒体に設定される単一のクリップ内に複数のデータを記録可能とした場合に、記録処理が正常に終了されなかった場合においても、記録媒体から記録済みのデータを読み出すことが可能な、新規かつ改良された記録装置、記録方法及びプログラムを提供することにある。 Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to record when a plurality of data can be recorded in a single clip set on a recording medium. It is an object of the present invention to provide a new and improved recording apparatus, recording method, and program capable of reading recorded data from a recording medium even when processing is not normally completed.
上記課題を解決するために、本発明のある観点によれば、記録媒体に設定されるデータ記録用の単一のクリップ内に時系列的に分離された複数の分離データを継続的に記録する継続記録部と、1の分離データの記録が終了した後、次の分離データを記録する際に、前記1の分離データの最後に記録したデータを次の分離データの冒頭に複写するデータ複写部と、前記1の分離データの最後に記録したデータを論理的に削除するデータ削除部と、異常発生時に前記論理的に削除したデータを復元するデータ復元部と、を備える記録装置が提供される。 In order to solve the above-described problem, according to an aspect of the present invention, a plurality of pieces of separated data separated in time series are continuously recorded in a single clip for data recording set on a recording medium. A continuous recording section and a data copying section for copying the last recorded data of the one separated data at the beginning of the next separated data when the next separated data is recorded after the recording of the first separated data is completed And a data deleting unit that logically deletes the last recorded data of the one separated data, and a data restoring unit that restores the logically deleted data when an abnormality occurs. .
上記構成によれば、記録媒体に設定されるデータ記録用の単一のクリップ内に時系列的に分離された複数の分離データが継続的に記録される記録装置において、1の分離データの記録が終了した後、次の分離データを記録する際に、1の分離データの最後に記録されたデータが次の分離データの冒頭に複写される。そして、1の分離データの最後に記録したデータは論理的に削除され、異常発生時には、論理的に削除されたデータが復元される。従って、異常が発生した場合に、隣接して記録される分離データの境界部分に配置されるデータを確実に復元することが可能となる。 According to the above configuration, in the recording apparatus in which a plurality of pieces of separated data separated in time series are continuously recorded in a single data recording clip set on the recording medium, one piece of separated data is recorded. When the next separated data is recorded after ending, the data recorded at the end of one separated data is copied to the beginning of the next separated data. The data recorded at the end of one piece of separated data is logically deleted. When an abnormality occurs, the logically deleted data is restored. Therefore, when an abnormality occurs, it is possible to reliably restore the data arranged at the boundary portion of the separated data recorded adjacently.
また、前記分離データは、少なくとも映像データ及び音声データを含み、記録を一時的に停止する一時停止ボタンの操作により時系列的に分離されたデータであってもよい。かかる構成によれば、映像データ及び音声データからなる分離データを単一のクリップ内に記録する記録装置において、異常発生時にデータを確実に復元することができる。 The separated data may include at least video data and audio data, and may be data separated in time series by operating a pause button that temporarily stops recording. According to this configuration, in a recording apparatus that records separated data composed of video data and audio data in a single clip, the data can be reliably restored when an abnormality occurs.
また、前記分離データの各々は、時間毎に区切られた複数の区分データから構成され、前記データ複写部は、前記1の分離データの最後に記録した前記区分データを次の分離データの冒頭に複写し、前記データ削除部は、前記1の分離データの最後に記録した前記区分データを論理的に削除するものであってもよい。かかる構成によれば、データ復元のために必要な区分データのみを削除することができる。 Each of the separated data includes a plurality of pieces of divided data divided by time, and the data copying unit sets the divided data recorded at the end of the one separated data at the beginning of the next separated data. The copy and the data deletion unit may logically delete the divided data recorded at the end of the one separated data. According to this configuration, it is possible to delete only the division data necessary for data restoration.
また、前記データ復元部は、前記次の分離データの記録を開始した直後に異常が発生した場合に前記削除したデータを復元するものであってもよい。かかる構成によれば、次の分離データの記録を開始した直後に異常が発生した場合であっても、直前の分離データを確実に復元することが可能となる。 The data restoration unit may restore the deleted data when an abnormality occurs immediately after the recording of the next separated data is started. According to such a configuration, even if an abnormality occurs immediately after the start of recording of the next separated data, it is possible to reliably restore the immediately preceding separated data.
また、前記区分データとともに、前記区分データを復元するための復元用マーカーを記録する復元用マーカー記録部を備え、前記次の分離データの記録を開始してから所定数の前記復元用マーカーが記録された後に異常が発生した場合は、前記復元用マーカーにより前記次の分離データを復元するものであってもよい。かかる構成によれば、次の分離データの記録を開始してから所定数の復元用マーカーが記録された後に異常が発生した場合に、復元用マーカーにより次の分離データを復元することが可能となる。 In addition, a restoration marker recording unit that records a restoration marker for restoring the division data together with the division data is recorded, and a predetermined number of the restoration markers are recorded after the recording of the next separated data is started. If an abnormality occurs after the recovery, the next separated data may be restored by the restoration marker. According to this configuration, when an abnormality occurs after a predetermined number of restoration markers have been recorded since the start of recording of the next separation data, it is possible to restore the next separation data using the restoration marker. Become.
また、上記課題を解決するために、本発明の別の観点によれば、記録媒体に設定されるデータ記録用の単一のクリップ内に時系列的に分離された複数の分離データを継続的に記録する記録方法であって、1の分離データの記録が終了した後、次の分離データを記録する際に、前記1の分離データの最後に記録したデータを次の分離データの冒頭に複写する複写ステップと、前記1の分離データの最後に記録したデータを論理的に削除する削除ステップと、異常発生時に前記論理的に削除したデータを復元する復元ステップと、
を備える記録方法が提供される。
In order to solve the above-described problem, according to another aspect of the present invention, a plurality of separated data separated in time series in a single clip for data recording set on a recording medium is continuously generated. In this recording method, after the recording of one separated data is completed, the next recorded data is copied at the beginning of the next separated data when the next separated data is recorded. A copying step, a deletion step of logically deleting the last recorded data of the one separated data, a restoration step of restoring the logically deleted data when an abnormality occurs,
A recording method is provided.
上記構成によれば、記録媒体に設定されるデータ記録用の単一のクリップ内に時系列的に分離された複数の分離データを継続的に記録する方法において、1の分離データの記録が終了した後、次の分離データを記録する際に、1の分離データの最後に記録されたデータが次の分離データの冒頭に複写される。そして、1の分離データの最後に記録したデータは論理的に削除され、異常発生時には、論理的に削除されたデータが復元される。従って、異常が発生した場合に、隣接して記録される分離データの境界部分に配置されるデータを確実に復元することが可能となる。 According to the above configuration, in the method of continuously recording a plurality of separated data separated in time series in a single clip for data recording set on a recording medium, recording of one separated data is completed After that, when recording the next separated data, the data recorded at the end of the one separated data is copied to the beginning of the next separated data. The data recorded at the end of one piece of separated data is logically deleted. When an abnormality occurs, the logically deleted data is restored. Therefore, when an abnormality occurs, it is possible to reliably restore the data arranged at the boundary portion of the separated data recorded adjacently.
また、前記分離データは、少なくとも映像データ及び音声データを含み、記録を一時的に停止する一時停止ボタンの操作により時系列的に分離されたデータであってもよい。かかる構成によれば、映像データ及び音声データからなる分離データを単一のクリップ内に記録する場合に、異常発生時にデータを確実に復元することができる。 The separated data may include at least video data and audio data, and may be data separated in time series by operating a pause button that temporarily stops recording. According to such a configuration, when separating data composed of video data and audio data is recorded in a single clip, the data can be reliably restored when an abnormality occurs.
また、前記分離データの各々は、時間毎に区切られた複数の区分データから構成され、前記複写ステップにおいて、前記1の分離データの最後に記録した前記区分データを次の分離データの冒頭に複写し、前記削除ステップにおいて、前記1の分離データの最後に記録した前記区分データを論理的に削除するものであってもよい。かかる構成によれば、データ復元のために必要な区分データのみを削除することができる。 Each of the separated data is composed of a plurality of divided data divided by time, and in the copying step, the divided data recorded at the end of the one separated data is copied to the beginning of the next separated data. In the deletion step, the section data recorded at the end of the one separated data may be logically deleted. According to this configuration, it is possible to delete only the division data necessary for data restoration.
また、前記復元ステップにおいて、前記次の分離データの記録を開始した直後に異常が発生した場合に前記削除したデータを復元するものであってもよい。かかる構成によれば、次の分離データの記録を開始した直後に異常が発生した場合であっても、直前の分離データを確実に復元することが可能となる。 In the restoration step, the deleted data may be restored when an abnormality occurs immediately after the recording of the next separated data is started. According to such a configuration, even if an abnormality occurs immediately after the start of recording of the next separated data, it is possible to reliably restore the immediately preceding separated data.
また、前記区分データとともに、前記区分データを復元するための復元用マーカーを記録するステップを備え、前記次の分離データの記録を開始してから所定数の前記復元用マーカーが記録された後に異常が発生した場合は、前記復元用マーカーにより前記次の分離データを復元するものであってもよい。かかる構成によれば、次の分離データの記録を開始してから所定数の復元用マーカーが記録された後に異常が発生した場合に、復元用マーカーにより次の分離データを復元することが可能となる。 And a step of recording a restoration marker for restoring the division data together with the division data, and an abnormality occurs after a predetermined number of the restoration markers are recorded after the start of recording of the next separated data. If this occurs, the next separated data may be restored by the restoration marker. According to this configuration, when an abnormality occurs after a predetermined number of restoration markers have been recorded since the start of recording of the next separation data, it is possible to restore the next separation data using the restoration marker. Become.
また、上記課題を解決するために、本発明の別の観点によれば、記録媒体に設定されるデータ記録用の単一のクリップ内に時系列的に分離された複数の分離データを継続的に記録する手段、1の分離データの記録が終了した後、次の分離データを記録する際に、前記1の分離データの最後に記録したデータを次の分離データの冒頭に複写する手段、前記1の分離データの最後に記録したデータを論理的に削除する手段、異常発生時に前記論理的に削除したデータを復元する手段、としてコンピュータを機能させるためのプログラムが提供される。 In order to solve the above-described problem, according to another aspect of the present invention, a plurality of separated data separated in time series in a single clip for data recording set on a recording medium is continuously generated. Means for copying the data recorded at the end of the first separated data at the beginning of the next separated data when the next separated data is recorded after the recording of the first separated data is completed, There is provided a program for causing a computer to function as means for logically deleting data recorded at the end of one separated data and means for restoring the logically deleted data when an abnormality occurs.
上記構成によれば、記録媒体に設定されるデータ記録用の単一のクリップ内に時系列的に分離された複数の分離データを継続的に記録するプログラムにおいて、1の分離データの記録が終了した後、次の分離データを記録する際に、1の分離データの最後に記録されたデータが次の分離データの冒頭に複写される。そして、1の分離データの最後に記録したデータは論理的に削除され、異常発生時には、論理的に削除されたデータが復元される。従って、異常が発生した場合に、隣接して記録される分離データの境界部分に配置されるデータを確実に復元することが可能となる。 According to the above configuration, in the program for continuously recording a plurality of separated data separated in time series in a single data recording clip set on the recording medium, recording of one separated data is completed. After that, when recording the next separated data, the data recorded at the end of the one separated data is copied to the beginning of the next separated data. The data recorded at the end of one piece of separated data is logically deleted. When an abnormality occurs, the logically deleted data is restored. Therefore, when an abnormality occurs, it is possible to reliably restore the data arranged at the boundary portion of the separated data recorded adjacently.
本発明によれば、記録媒体に設定される単一のクリップ内に複数のデータを記録可能とした場合に、記録処理が正常に終了されなかった場合においても、記録媒体から記録済みのデータを読み出すことが可能となる。 According to the present invention, when a plurality of data can be recorded in a single clip set on the recording medium, the recorded data is recorded from the recording medium even when the recording process is not normally completed. It can be read out.
以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In addition, in this specification and drawing, about the component which has the substantially same function structure, duplication description is abbreviate | omitted by attaching | subjecting the same code | symbol.
図1は、本発明の一実施形態に係る記録再生装置100の構成例を示す模式図であって、光ディスクなどのメディア200にデータを記録するレコーダの構成例を示している。図1に示すように、記録再生装置100は、映像記録再生用メモリ102、映像記録再生ブロック104、プロキシ(PROXY)記録再生DSP(Digital Signal Processor)106、制御タスク108、を有して構成されている。記録再生装置100には、映像信号をデジタルデータに変換したものを保存するメディア(光ディスクなどの記録媒体)200が挿入される。本実施形態では、メディア200として光ディスクを例示する。
FIG. 1 is a schematic diagram showing a configuration example of a recording / reproducing
映像記録再生用メモリ102は、光ディスク200から読み出したデータ、および光ディスク200へ書き込みを行うデータ、を格納するメモリである。映像記録再生用メモリ102には、映像信号をデジタルデータに変換したデータが格納される。映像記録再生用メモリ102は、本線映像メモリエリア102a、PROXY映像メモリエリア102bを有している。本線映像メモリエリア102aには、映像記録再生ブロック104から送られたデータが格納される。また、PROXY映像メモリエリア102bには、PROXY記録再生DSP106から送られたデータが格納される。
The video recording /
本実施形態の記録再生装置100においては、取り込んだ映像を、画質の劣化などが最小限となるように比較的低い圧縮率で圧縮した本線データの他に、本線データよりも高い圧縮率で圧縮したプロキシビデオデータ(低解像度の映像データ)が光ディスク200に記録される。なお、取り込んだ音声についても、本線の音声データの他、必要に応じて、高圧縮率のプロキシオーディオデータ(音声データ)、メタデータが作成される。プロキシビデオデータやプロキシオーディオデータは、近年、一般的に行われている、いわゆるノンリニア編集を行うためのデータであり、編集、高速アクセス用の高圧縮、低解像度のオーディオ、ビデオ、メタデータである。プロキシビデオデータやプロキシオーディオデータ等は、例えばパーソナルコンピュータに取り込まれた後、編集の素材とされる。
In the recording / reproducing
映像記録再生ブロック104は、映像音声データ(以下、入力映像と称する)の入力を受ける。入力映像は、ビデオカメラ(不図示)によって取得された映像や音声の信号、任意の記録メディア(不図示)から再生された映像や音声の信号等である。映像記録再生ブロック104は、制御タスク108からの動作系制御を受けて、入力映像を所定のデジタルデータに変換(エンコード)して光ディスク200に記録するとともに、光ディスク200に記録されたデータを読み出して、映像信号として出力する。映像記録再生用メモリ102は、映像記録再生ブロック104からの指令を受けて、格納しているデータを光ディスク200へ記録し、また、光ディスク200から読み出したデータを格納する。
The video recording /
PROXY記録再生DSP106は、制御タスク108からの動作系制御を受けて、ENC動作時は映像記録再生ブロック104から受けた信号をPROXY画に変換(エンコード)し、映像記録再生用メモリ102へ書き込みを行う。また、DEC動作時は、PROXY画を映像出力データ(DEC画)へ変換(デコード)し、モニタ等の表示装置300へ出力する。
The PROXY recording /
制御タスク108は、操作パネル400から入力された記録指示に従って、映像記録再生ブロック104、PROXY記録再生DSP106を制御する。操作パネル400には、録画ボタン(REC)402、一時停止ボタン(PAUSE)404、録画停止ボタン(STOP)406が設けられている。
The
制御タスク108は、録画ボタン(REC)402が押された場合(録画時)は、PROXY記録再生DSP106をENC動作に切り換える。また、制御タスク108は、録画時は、映像記録再生ブロック104で入力信号を記録用フォーマットに変換し、映像記録再生用メモリ102へ変換した入力信号を蓄積し、光ディスク200へ書き込むように制御を行う。また、制御タスク108は、光ディスク200への書き込を行う際に書き込み制御を行い、光ディスク200からの読み出しを行う際に読み出し制御を行う。
When the recording button (REC) 402 is pressed (during recording), the
図2は、図1の構成において、データの流れを示す模式図である。図2において、破線で示す矢印は、本線画を記録する際のデータの流れを示している。また、一点鎖線で示す矢印は、PROXY画を記録する際のデータの流れを示している。 FIG. 2 is a schematic diagram showing a data flow in the configuration of FIG. In FIG. 2, the arrows indicated by broken lines indicate the flow of data when the main line drawing is recorded. Moreover, the arrow shown with a dashed-dotted line has shown the flow of the data at the time of recording a PROXY image.
図2に示すように、本線画を記録する際には、入力映像が映像記録再生ブロック104から映像記録再生用メモリ102に送られて、光ディスク200へ記録される。また、入力映像は、映像記録再生ブロック104からPROXY記録再生DSP106を介して表示装置300へ出力される。
As shown in FIG. 2, when a main line image is recorded, the input video is sent from the video recording /
一方、PROXY画を記録する際には、ENC動作が行われて、PROXY記録再生DSP106から映像記録再生用メモリ102へ映像データ(ENC画)が送られて、光ディスク200に記録される。
On the other hand, when a PROXY image is recorded, an ENC operation is performed, and video data (ENC image) is sent from the PROXY recording /
なお、記録再生装置100は、光ディスク200に情報を記録するためのピックアップ部(不図示)を備えている。ピックアップ部は、記録時においては、レーザー光により光ディスク200に記録信号を記録する。また、再生時においては、光ディスク200にレーザー光を照射し、反射光を光電変換して電流信号を生成する。また、記録再生装置100は、光ディスク200に記録すべきデータを変調して記録信号を生成し、ピックアップ部へ供給する信号処理部を備えている。信号処理部はまた、ピックアップ部により読み出された信号を復調して再生データを生成する。
The recording / reproducing
図3は、本実施形態の記録再生装置110において、光ディスク200上に書き込まれたデータを示す模式図である。本実施形態に係る記録再生装置100は、一時停止ボタン(REC PAUSE)404の操作により、1つのクリップ内で連続してデータを書き込むことが可能である。図3は、この操作により1つのクリップ内で連続して書き込まれたデータ(分離データ)を示している。
FIG. 3 is a schematic diagram showing data written on the
図3に示すように、先ず、録画ボタン402の1回目の押下げによりテイク1の記録が開始(REC START)され、その後、一時停止ボタン404ボタンを押下げると、テイク1の記録が終了する。次に一時停止ボタン404ボタンを再度押下げるか、または録画ボタン402を押下げると、テイク2の記録が開始される(REC START)。このようにして、1つのクリップ内にテイク1(Take 1)、テイク2(Take 2)・・・テイク4(Take 4)のデータを順次に記録することが可能である。このような、録画中に一時停止ボタン404ボタンを押し下げた後、一時停止ボタン404又は録画ボタン402を押下げることにより同一のクリップ内で新たに記録を行うことを、コンティニュアス録画(継続録画;Continuous REC)と称することとする。各テイクの境界位置には、境界位置を示すREC STARTエッセンシャルマーク(REC START EM)が付与される。録画停止ボタン(STOP)406を押した際には、クリップが終了し、次に録画ボタン402が押されると次のクリップの記録が開始される。
As shown in FIG. 3, first, recording of
従って、図3に示すように、一時停止ボタン404の操作により連続して記録を行う場合は、1つのクリップの中で複数のテイクを記録することができる。これにより、複数の映像シーンを記録した場合であっても、録画したクリップ数が増加することがなく、クリップ数が上限値に達するまでの間に多くの映像を記録することが可能となる。
Therefore, as shown in FIG. 3, when continuous recording is performed by operating the
図3に示すデータは、光ディスク200のファイル記録領域に記録される。また、光ディスク200のファイルシステム記録領域には、管理情報(ファイルシステム)が記録される。管理情報は、ファイル記録領域のどこにどのようなファイルが記録されているかを示す情報であって、光ディスクからファイルが読み出されるときに参照される。
The data shown in FIG. 3 is recorded in the file recording area of the
光ディスク200に記録された映像音声データ等のファイルは、ファイルシステムにより管理されている。例えば、光ディスク200を再生する場合、記録再生装置100は、光ディスク200に記録されたファイルシステムを参照して、光ディスク200に記録された1個以上のファイル名、および各ファイルの光ディスク200上の記録位置などを取得する。そして、ユーザにより所望のファイルの再生が指示されたとき、ファイルシステムに基づいて、指示されたファイルの記録位置を特定し、その記録位置からファイルを構成する映像音声データを読み出して再生を行う。ファイル記録領域に記録されたデータは、ファイルシステムによりファイルとして管理され、ディレクトリ構造等による論理的なデータとして管理される。
Files such as video / audio data recorded on the
図4は、制御タスク108の機能構成を示すブロック図である。図4に示すように、制御タスク108は、コンティニュアス記録部(継続記録部)108a、サルベージマーカー記録部108b、サルベージマーカー検出部108c、データ複写部108d、データ削除部108e、データ復元部108f、を備えている。上述した一時停止ボタン404の操作によるコンティニュアス録画が行われた場合は、コンティニュアス記録部(継続記録部)108aにより、単一のクリップ内にデータを継続して記録する制御が行われる。サルベージマーカー記録部108b、サルベージマーカー検出部108c、データ複写部108d、データ削除部108e、データ復元部108fの機能については後述する。図4に示す制御タスク108の機能構成は、例えば演算処理部(CPU等)を機能させるプログラムによって実現することができる。
FIG. 4 is a block diagram showing a functional configuration of the
図5は、本実施形態に係る記録再生装置100において、入力映像のデータが入力されるタイミング、映像記録再生用メモリ102にデータが格納されるタイミング、光ディスク200にデータが書き込まれるタイミング、制御タスク108の動作のタイミングを並列的に示すタイミングチャートである。
FIG. 5 shows a timing at which input video data is input, a timing at which data is stored in the video recording /
図5に示すように、入力映像のデータが入力されるタイミングに対して、映像記録再生用メモリ102にデータが格納されるタイミングには所定の遅れ(タイムラグ)が生じる。同様に、映像記録再生用メモリ102にデータが格納されるタイミングに対して、光ディスク200にデータが書き込まれるタイミングには所定の遅れ(タイムラグ)が生じる。
As shown in FIG. 5, a predetermined delay (time lag) occurs in the timing at which data is stored in the video recording /
図5に示す記録開始時点1(REC)は、ユーザにより録画ボタン402が押されて記録動作が開始した時点であり、このタイミングで図3に示すテイク1の記録が開始するものとする。映像記録再生用メモリ102には、光ディスク200へ書き込むデータとして年輪データと称するデータが格納される。ここで、1つの年輪データは、2秒毎の入力映像に対応している。年輪データは、オーディオデータ、ビデオデータ、プロキシデータ、及びメタデータを含むものであり、これらの複数のデータが2秒毎の年輪データの中に時系列に配置されている。そして、映像記録再生用メモリ102に格納された年輪データは、光ディスク200に順次に書き込まれていく。
Recording start time point 1 (REC) shown in FIG. 5 is a time point when the
図5に示す記録停止時点は、ユーザにより一時停止ボタン404が押されてテイク1の記録が停止した時点である。図5の例では、記録停止時点は入力映像の入力5が入力されている途中である。このため、入力5に対応して記録される年輪5のデータは、2秒間のデータに満たないものとなる。従って、光ディスク200に記録された年輪5のデータ量は、他の年輪1〜4のデータ量よりも少なくなる。
The recording stop time point shown in FIG. 5 is a time point when the user presses the
記録停止時点で一時停止ボタン404ボタンが押下げられると、制御タスク108の状態は、フィル(Fill)、フッター(Footer)、ヘッダー(Header)の作成状態となり、映像記録再生用メモリ102にフィル、フッター、ヘッダーの各データ(管理情報)が格納される。管理情報のうち、フィル(Fill)は、効率的にメモリ、メディア管理をするため、特定のサイズのダミーデータを即入し、サイズを丸めるためのデータである。また、ヘッダー(Header)は、該当するクリップを再生するのに必要な情報(記録フォーマット、サイズ、開始タイムコード等)を格納する領域である。また、フッター(Footer)は、クリップの終わりを示すデータである。格納されたフィル、フッター、ヘッダーの各データは、光ディスク200に書き込まれる。フィル、フッター、ヘッダーの作成状態の後、制御タスク108の状態はメディア書込み待ち状態となり、映像記録再生用メモリ102が書き込み待ち状態となる。
When the
記録開始時点2(REC)で録画ボタン402が再び押されてコンティニュアス録画が行われると、映像記録再生用メモリ102には、メディア書込み待ち状態の後に送られた入力映像(入力12以降)が格納される。また、メディア書込み待ち時間の直後には、テイク1で2秒に満たなかった年輪5のデータが、再び映像記録再生用メモリ102に格納され、年輪5のデータに入力12のデータの一部(入力#)が追加される。これにより、年輪5のデータが2秒間のデータ(年輪5+入力#)とされて映像記録再生用メモリ102に格納される。データ(年輪5+入力#)の後には、2秒間の入力映像に対応した年輪7、年輪8のデータが順次に格納されていく。映像記録再生用メモリ102に格納されたデータは、一定の遅れを伴って光ディスク200に書き込まれる。このように、テイク1の最後の年輪5のデータは、テイク2の冒頭に複写されて光ディスク200に記録される。この処理は、図4のデータ複写部108dによって行われる。
When the
次に、本実施形態に係る異常発生時のサルベージ機能について説明する。図6は、年輪データの前後に書き込まれたサルベージマーカーSMを使用して異常発生時にデータを復元する手法を示す模式図である。 Next, the salvage function when an abnormality occurs according to the present embodiment will be described. FIG. 6 is a schematic diagram showing a method of restoring data when an abnormality occurs using salvage markers SM written before and after annual ring data.
図6(A)では、テイク2の記録開始直後において、年輪データN+1を書き込んでいる最中に、異常により電源が断たれた状態を示している。図5では説明の便宜上図示を省略したが、各年輪データN,N+1,・・・の間には、サルベージマーカーSMが書き込まれており、各年輪データに対応して1つのサルベージマーカーが記録される。サルベージマーカーSMの記録は、図4のサルベージマーカー記録部108bによって制御される。
FIG. 6A shows a state in which the power is cut off due to an abnormality while the annual ring data N + 1 is being written immediately after the
サルベージマーカーには、このデータがサルベージマーカーであることを示す認識パターン(サルベージID)、属するファイル名を特定するための識別情報(例えばファイル名)等が含まれている。記録再生装置100は、光ディスク200のファイル記録領域から読み出したデータの中から、サルベージIDを検索することにより、サルベージマーカーを検出することができる。具体的には、サルベージマーカーの検出は、図4のサルベージマーカー検出部108cによって制御される。例えば、バッテリが取り外される等により電力供給が断たれ、記録処理が正常に完了しなかった場合、すなわち、光ディスクに記録されたデータが1つのファイルとしてファイルシステムに登録されなかった場合、電力復旧後において、このサルベージマーカーを参照して、記録処理が中断されるまでに記録された分のデータの光ディスク200上の記録位置を特定する。そして、これに基づいて、記録処理が中断されるまでに記録された分のデータを含むファイルをファイルシステムに登録する。結果的に、記録処理が正常に完了しなかった場合でも、記録処理が中断されるまでに光ディスク200に記録されたデータを再生することが可能となる。
The salvage marker includes a recognition pattern (salvage ID) indicating that this data is a salvage marker, identification information (for example, a file name) for specifying a file name to which the data belongs. The recording / reproducing
記録の処理が終了せずに途中で中断された光ディスク200の挿入を検知した場合、記録再生装置100は、その光ディスク200上でサルベージIDを検索する。そして、記録再生装置100は、サルベージマーカーに含まれている、ファイル名を特定するための識別情報に基づいて、サルベージマーカーに後続して記録されている年輪データのファイル名を判定する。
When the insertion of the
例えば、上記特許文献1に記載されているフルサルベージ処理(光ディスク200に記録されている情報だけに基づいてファイルシステムを復元する処理)の場合、記録再生装置100が異常により停止した場合であっても、最後に記録されたサルベージマーカーよりも2年輪以前までの年輪データは復元可能である。また、特許文献1に記載されているクイックサルベージ処理(記録再生装置100が備える不揮発性メモリの情報と、光ディスク200に記録されているサルベージマーカーとに基づいてファイルシステムを復元する処理)の場合、最後に記録されたサルベージマーカーよりも1年輪以前までの年輪データは復元可能である。
For example, in the case of full salvage processing (processing for restoring a file system based only on information recorded on the optical disc 200) described in
ユーザにより一時停止ボタン404が押されると、光ディスク200上には図6(A)に示すヘッダーまでの情報が書き込まれる。その後、一時停止ボタン404が再度押されるとテイク2が開始され、図5で説明したように、テイク1で年輪N+1の手前に書き込まれたサルベージマーカーSMとともに年輪N+1のデータが書き込まれる。その後、年輪N+2、年輪N+3・・・のデータが順次に書き込まれていく。
When the user presses the
図6(A)に示す電源断が発生した場合、テイク2で書き込まれた年輪N+1のデータに対応するサルベージマーカーは書き込まれていない。しかし、テイク1では、既に年輪N+1のデータと、その直後に2つのサルベージマーカーSMが書き込まれているため、年輪N+1のデータは復元可能である。従って、図6(B)に示すように、テイク1終了までのデータを復元することが可能である。
When the power interruption shown in FIG. 6A occurs, the salvage marker corresponding to the data of the annual ring N + 1 written in
同様に、図6(C)は、テイク2で年輪N+2のデータを光ディスク200に書き込み、その後のサルベージマーカーSMを書き込んだ後に電源断が発生した状態を示している。このとき、クイックサルベージの場合は、最後に書かれたサルベージマーカーの手前の年輪N+2まで復元することが可能である。また、フルサルベージの場合は、年輪N+1のデータまで復元することが可能である。
Similarly, FIG. 6C shows a state in which the power interruption occurs after the data of the annual ring N + 2 is written to the
図6(D)は、図6(C)の場合にサルベージによってデータを復元した状態を示している。クイックサルベージの場合、年輪N+2までのデータが復元されて、最後にテイク1で書き込まれたフッター、ヘッダーが書き込まれる。テイク1で書き込まれた年輪N+1のデータ、フッター、ヘッダーのデータは、物理的には光ディスク200上に存在するが、論理的に削除された状態とされる。
FIG. 6D shows a state where data is restored by salvage in the case of FIG. In the case of quick salvage, the data up to the annual ring N + 2 is restored, and the footer and header written in the
以上のようなサルベージ機能を詳細に説明する。図7は、図5に示す電源断1のタイミングで電源が断たれた場合のサルベージ状態を示している。
The salvage function as described above will be described in detail. FIG. 7 shows a salvage state when the power is turned off at the timing of the power-
図7(A)は、図5の(1)の位置を終点として光ディスク200上に書かれているデータを示している。また、図7(B)は、図5の(2)の位置を終点としてディスク上に書かれているデータを示している。図7(B)に示すように、本実施形態のサルベージでは、テイク1が終了してヘッダーが書き込まれた後、テイク2のデータが書き込まれるとテイク1の最後に書き込まれた年輪5、フィル、フッター、ヘッダーの各データは論理的に削除される。上述したように、テイク1の年輪5のデータはテイク2の最初に再度書き込まれ、また、テイク2の終了時には、テイク1の終了時と同様にフィル、フッター、ヘッダーの各データが書き込まれる。クリップが終了した場合は、最後のテイクで記録されたフィル、フッター、ヘッダーの各データがそのクリップの管理情報として残され、他のテイクのフィル、フッター、ヘッダーの各データは論理的に削除された状態となる。
FIG. 7A shows data written on the
図5の電源断1のタイミングで電源断が発生した場合、年輪5のデータを書き込んでいる最中に電源断が発生しているため、年輪5を復元するためのサルベージマーカーが不足した状態となる。このため、本実施形態では、図7(C)に示すように、本来は論理的に削除されるテイク1での年輪5のデータ、フィル、フッター、ヘッダーの各データが復元される。データの復元は、図4に示すデータ復元部108fによって制御される。そして、テイク2で書き込みの途中であった年輪5のデータは論理的に削除される。
When the power interruption occurs at the timing of the
これにより、同一のクリップ内で複数のデータを書き込む本実施形態の記録再生装置100において、新たなテイクの書き込み開始直後に電源断が生じた場合に、直前のテイクまで書き込まれていたデータを確実に復元することが可能となる。
As a result, in the recording / reproducing
図8は、図5に示す電源断2のタイミングで電源が断たれた場合のサルベージ状態を示している。ここで、図8(A)は、図5の(1)の位置を終点として光ディスク200上に書かれているデータを示している。また、図8(B)は、図5の(3)の位置を終点として光ディスク200上に書かれているデータを示している。
FIG. 8 shows a salvage state when the power is turned off at the timing of the power-
図5の電源断2のタイミングで電源断が発生した場合、図8(B)に示すように、光ディスク200には年輪5、年輪6、年輪7までデータが書き込まれている。従って、図6(C)、図6(D)で説明したように、少なくてもテイク2の年輪5までのデータを復元することが可能である。テイク1での年輪5のデータ、フィル、フッター、ヘッダーの各データは論理的に削除される。
When the power interruption occurs at the timing of the
以上説明したように本実施形態の記録再生装置100では、1つのクリップ内に複数の入力映像を記録することが可能な記録再生装置100において、1テイクの撮影が終了する間際の映像データを論理的に削除して次のテイクの冒頭に記録する。このため、次のテイクの開始直後に電源断が発生した場合は、論理的に削除したデータを復元することで、終了したテイクのデータを完全に復元することが可能となる。また、次のテイクを開始してから複数の年輪データを記録した後に電源断が発生した場合は、年輪データに対応して記録されたサルベージマーカーにより、電源断の直前の年輪データを復元することが可能となる。
As described above, in the recording / reproducing
以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to the example which concerns. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.
100 記録再生装置
108 制御タスク
108a 継続記録部
108b サルベージマーカー記録部
108c サルベージマーカー検出部
108d データ複写部
108e データ削除部
108f データ復元部
DESCRIPTION OF
Claims (11)
1の分離データの記録が終了した後、次の分離データを記録する際に、前記1の分離データの最後に記録したデータを次の分離データの冒頭に複写するデータ複写部と、
前記1の分離データの最後に記録したデータを論理的に削除するデータ削除部と、
異常発生時に前記論理的に削除したデータを復元するデータ復元部と、
を備えることを特徴とする、記録装置。 A continuous recording unit for continuously recording a plurality of separated data separated in time series in a single clip for data recording set in a recording medium;
A data copying unit for copying the data recorded at the end of the one separated data at the beginning of the next separated data when recording the next separated data after the recording of the one separated data is completed;
A data deletion unit that logically deletes data recorded at the end of the one separated data;
A data restoration unit for restoring the logically deleted data when an abnormality occurs;
A recording apparatus comprising:
前記データ複写部は、前記1の分離データの最後に記録した前記区分データを次の分離データの冒頭に複写し、
前記データ削除部は、前記1の分離データの最後に記録した前記区分データを論理的に削除することを特徴とする、請求項1に記載の記録装置。 Each of the separation data is composed of a plurality of division data divided every time,
The data copying unit copies the section data recorded at the end of the one separated data to the beginning of the next separated data,
The recording apparatus according to claim 1, wherein the data deletion unit logically deletes the division data recorded at the end of the one separated data.
前記次の分離データの記録を開始してから所定数の前記復元用マーカーが記録された後に異常が発生した場合は、前記復元用マーカーにより前記次の分離データを復元することを特徴とする、請求項3に記載の記録装置。 Along with the division data, a restoration marker recording unit that records a restoration marker for restoring the division data,
When an abnormality occurs after a predetermined number of the restoration markers have been recorded since the start of recording of the next separation data, the next separation data is restored by the restoration marker, The recording apparatus according to claim 3.
1の分離データの記録が終了した後、次の分離データを記録する際に、前記1の分離データの最後に記録したデータを次の分離データの冒頭に複写する複写ステップと、
前記1の分離データの最後に記録したデータを論理的に削除する削除ステップと、
異常発生時に前記論理的に削除したデータを復元する復元ステップと、
を備えることを特徴とする、記録方法。 A recording method for continuously recording a plurality of separated data separated in time series in a single clip for data recording set in a recording medium,
A copy step of copying the data recorded at the end of the one separated data at the beginning of the next separated data when recording the next separated data after the recording of the one separated data is completed;
A deletion step of logically deleting the last recorded data of the one separated data;
A restoration step of restoring the logically deleted data when an abnormality occurs;
A recording method comprising:
前記複写ステップにおいて、前記1の分離データの最後に記録した前記区分データを次の分離データの冒頭に複写し、
前記削除ステップにおいて、前記1の分離データの最後に記録した前記区分データを論理的に削除することを特徴とする、請求項6に記載の記録方法。 Each of the separation data is composed of a plurality of division data divided every time,
In the copying step, the section data recorded at the end of the one separated data is copied at the beginning of the next separated data;
The recording method according to claim 6, wherein in the deleting step, the segment data recorded at the end of the one separated data is logically deleted.
前記次の分離データの記録を開始してから所定数の前記復元用マーカーが記録された後に異常が発生した場合は、前記復元用マーカーにより前記次の分離データを復元することを特徴とする、請求項8に記載の記録方法。 The step of recording a restoration marker for restoring the division data together with the division data,
When an abnormality occurs after a predetermined number of the restoration markers have been recorded since the start of recording of the next separation data, the next separation data is restored by the restoration marker, The recording method according to claim 8.
1の分離データの記録が終了した後、次の分離データを記録する際に、前記1の分離データの最後に記録したデータを次の分離データの冒頭に複写する手段、
前記1の分離データの最後に記録したデータを論理的に削除する手段、
異常発生時に前記論理的に削除したデータを復元する手段、
としてコンピュータを機能させるためのプログラム。 Means for continuously recording a plurality of separated data separated in a time series in a single clip for data recording set in a recording medium;
Means for copying the data recorded at the end of the one separated data at the beginning of the next separated data when recording the next separated data after the recording of the one separated data is completed;
Means for logically deleting the last recorded data of the one separated data;
Means for restoring the logically deleted data when an abnormality occurs;
As a program to make the computer function as.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007261347A JP4882950B2 (en) | 2007-10-04 | 2007-10-04 | Recording apparatus, recording method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007261347A JP4882950B2 (en) | 2007-10-04 | 2007-10-04 | Recording apparatus, recording method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009094654A JP2009094654A (en) | 2009-04-30 |
| JP4882950B2 true JP4882950B2 (en) | 2012-02-22 |
Family
ID=40666200
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007261347A Expired - Fee Related JP4882950B2 (en) | 2007-10-04 | 2007-10-04 | Recording apparatus, recording method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4882950B2 (en) |
-
2007
- 2007-10-04 JP JP2007261347A patent/JP4882950B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009094654A (en) | 2009-04-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101626455B (en) | Information record/reproduction apparatus and information record/playback method | |
| JPH11242850A (en) | Real-time data recording method | |
| US8885060B2 (en) | Recording apparatus for at least recording movie data and still image data so as to be associated with each other | |
| JP2010273327A (en) | Recording apparatus | |
| JP4882950B2 (en) | Recording apparatus, recording method, and program | |
| JP2005189982A (en) | Data storage device and data storage method | |
| JP2009253769A (en) | Imaging apparatus, method for controlling imaging apparatus, and program | |
| JP4957498B2 (en) | Recording apparatus, recording method, and program | |
| KR101044602B1 (en) | Apparatus and method for data backup in surveillance digital video recorder | |
| US8275236B2 (en) | Information-processing device, content-reproduction-propriety-determination-notification method, and content-reproduction-propriety-determination-notification program | |
| JP2014081974A (en) | Information processing device and information processing method | |
| JP4636592B2 (en) | Video camera | |
| JP4196903B2 (en) | Hard disk recorder | |
| JP2009003984A (en) | Information recording device | |
| JP2008269726A (en) | Recording / playback device | |
| JP5448671B2 (en) | Image playback device | |
| JP2006323953A (en) | Information recording apparatus and information recording / reproducing apparatus | |
| JP3840125B2 (en) | Image processing device | |
| JP2008077695A (en) | Video / audio recording and playback device | |
| JP4452440B2 (en) | Digital camera and image recording control method thereof | |
| JP3126031U (en) | Video editing system | |
| JP4744165B2 (en) | Content processing device | |
| JP2004362655A (en) | Information processing apparatus and information processing method | |
| JP4666064B2 (en) | Image data recording apparatus and image data recording method | |
| JP2008271414A (en) | Stream data recording device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100908 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111003 |
|
| 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: 20111108 |
|
| 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: 20111121 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141216 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141216 Year of fee payment: 3 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |