Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4882950B2 - Recording apparatus, recording method, and program - Google Patents
[go: Go Back, main page]

JP4882950B2 - Recording apparatus, recording method, and program - Google Patents

Recording apparatus, recording method, and program Download PDF

Info

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
Application number
JP2007261347A
Other languages
Japanese (ja)
Other versions
JP2009094654A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2007261347A priority Critical patent/JP4882950B2/en
Publication of JP2009094654A publication Critical patent/JP2009094654A/en
Application granted granted Critical
Publication of JP4882950B2 publication Critical patent/JP4882950B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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, Patent Document 1, Patent Document 2, and Patent Document 3 below, recorded data can be read from the recording medium even when the recording process on the recording medium is not normally completed. Such a device is known.

特開2006−65912号公報JP 2006-65912 A 特開2005−243078号公報Japanese Patent Laying-Open No. 2005-243078 特開2005−173758号公報JP 2005-173758 A

ところで、上述した従来の技術では、入力映像等のデータの記録はクリップ単位で行われる。クリップとは撮像処理の回数の単位であり、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 apparatus 100 according to an embodiment of the present invention, and shows a configuration example of a recorder that records data on a medium 200 such as an optical disc. As shown in FIG. 1, the recording / reproducing apparatus 100 includes a video recording / reproducing memory 102, a video recording / reproducing block 104, a proxy (PROXY) recording / reproducing DSP (Digital Signal Processor) 106, and a control task 108. ing. A medium (recording medium such as an optical disk) 200 for storing a video signal converted into digital data is inserted into the recording / reproducing apparatus 100. In this embodiment, an optical disk is illustrated as the medium 200.

映像記録再生用メモリ102は、光ディスク200から読み出したデータ、および光ディスク200へ書き込みを行うデータ、を格納するメモリである。映像記録再生用メモリ102には、映像信号をデジタルデータに変換したデータが格納される。映像記録再生用メモリ102は、本線映像メモリエリア102a、PROXY映像メモリエリア102bを有している。本線映像メモリエリア102aには、映像記録再生ブロック104から送られたデータが格納される。また、PROXY映像メモリエリア102bには、PROXY記録再生DSP106から送られたデータが格納される。   The video recording / playback memory 102 is a memory for storing data read from the optical disc 200 and data to be written to the optical disc 200. The video recording / playback memory 102 stores data obtained by converting a video signal into digital data. The video recording / playback memory 102 has a main video memory area 102a and a PROXY video memory area 102b. Data sent from the video recording / reproducing block 104 is stored in the main video memory area 102a. In the PROXY video memory area 102b, data sent from the PROXY recording / playback DSP 106 is stored.

本実施形態の記録再生装置100においては、取り込んだ映像を、画質の劣化などが最小限となるように比較的低い圧縮率で圧縮した本線データの他に、本線データよりも高い圧縮率で圧縮したプロキシビデオデータ(低解像度の映像データ)が光ディスク200に記録される。なお、取り込んだ音声についても、本線の音声データの他、必要に応じて、高圧縮率のプロキシオーディオデータ(音声データ)、メタデータが作成される。プロキシビデオデータやプロキシオーディオデータは、近年、一般的に行われている、いわゆるノンリニア編集を行うためのデータであり、編集、高速アクセス用の高圧縮、低解像度のオーディオ、ビデオ、メタデータである。プロキシビデオデータやプロキシオーディオデータ等は、例えばパーソナルコンピュータに取り込まれた後、編集の素材とされる。   In the recording / reproducing apparatus 100 of the present embodiment, the captured video is compressed at a higher compression rate than the main line data, in addition to the main line data compressed at a relatively low compression rate so as to minimize the deterioration of image quality. The proxy video data (low-resolution video data) is recorded on the optical disc 200. In addition to the main line audio data, high-compression proxy audio data (audio data) and metadata are created as necessary for the captured audio. Proxy video data and proxy audio data are data for performing so-called non-linear editing that is generally performed in recent years, and are high-compression, low-resolution audio, video, and metadata for editing and high-speed access. . Proxy video data, proxy audio data, and the like are used as editing materials after being taken into a personal computer, for example.

映像記録再生ブロック104は、映像音声データ(以下、入力映像と称する)の入力を受ける。入力映像は、ビデオカメラ(不図示)によって取得された映像や音声の信号、任意の記録メディア(不図示)から再生された映像や音声の信号等である。映像記録再生ブロック104は、制御タスク108からの動作系制御を受けて、入力映像を所定のデジタルデータに変換(エンコード)して光ディスク200に記録するとともに、光ディスク200に記録されたデータを読み出して、映像信号として出力する。映像記録再生用メモリ102は、映像記録再生ブロック104からの指令を受けて、格納しているデータを光ディスク200へ記録し、また、光ディスク200から読み出したデータを格納する。   The video recording / playback block 104 receives input of video / audio data (hereinafter referred to as input video). The input video is a video or audio signal acquired by a video camera (not shown), a video or audio signal reproduced from an arbitrary recording medium (not shown), or the like. The video recording / playback block 104 receives the operation system control from the control task 108, converts (encodes) the input video to predetermined digital data, records it on the optical disc 200, and reads out the data recorded on the optical disc 200. And output as a video signal. In response to a command from the video recording / reproducing block 104, the video recording / reproducing memory 102 records the stored data on the optical disc 200, and stores the data read from the optical disc 200.

PROXY記録再生DSP106は、制御タスク108からの動作系制御を受けて、ENC動作時は映像記録再生ブロック104から受けた信号をPROXY画に変換(エンコード)し、映像記録再生用メモリ102へ書き込みを行う。また、DEC動作時は、PROXY画を映像出力データ(DEC画)へ変換(デコード)し、モニタ等の表示装置300へ出力する。   The PROXY recording / playback DSP 106 receives the operation system control from the control task 108, converts (encodes) the signal received from the video recording / playback block 104 into a PROXY image during ENC operation, and writes it to the video recording / playback memory 102. Do. Further, during the DEC operation, the PROXY image is converted (decoded) into video output data (DEC image) and output to the display device 300 such as a monitor.

制御タスク108は、操作パネル400から入力された記録指示に従って、映像記録再生ブロック104、PROXY記録再生DSP106を制御する。操作パネル400には、録画ボタン(REC)402、一時停止ボタン(PAUSE)404、録画停止ボタン(STOP)406が設けられている。   The control task 108 controls the video recording / playback block 104 and the PROXY recording / playback DSP 106 in accordance with a recording instruction input from the operation panel 400. The operation panel 400 is provided with a recording button (REC) 402, a pause button (PAUSE) 404, and a recording stop button (STOP) 406.

制御タスク108は、録画ボタン(REC)402が押された場合(録画時)は、PROXY記録再生DSP106をENC動作に切り換える。また、制御タスク108は、録画時は、映像記録再生ブロック104で入力信号を記録用フォーマットに変換し、映像記録再生用メモリ102へ変換した入力信号を蓄積し、光ディスク200へ書き込むように制御を行う。また、制御タスク108は、光ディスク200への書き込を行う際に書き込み制御を行い、光ディスク200からの読み出しを行う際に読み出し制御を行う。   When the recording button (REC) 402 is pressed (during recording), the control task 108 switches the PROXY recording / playback DSP 106 to the ENC operation. Further, the control task 108 performs control so that the video recording / playback block 104 converts the input signal into a recording format, stores the converted input signal in the video recording / playback memory 102, and writes it to the optical disc 200 during recording. Do. The control task 108 performs write control when writing to the optical disc 200 and performs read control when reading from the optical disc 200.

図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 / playback block 104 to the video recording / playback memory 102 and recorded on the optical disc 200. The input video is output from the video recording / playback block 104 to the display device 300 via the PROXY recording / playback DSP 106.

一方、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 / playback DSP 106 to the video recording / playback memory 102 and recorded on the optical disc 200.

なお、記録再生装置100は、光ディスク200に情報を記録するためのピックアップ部(不図示)を備えている。ピックアップ部は、記録時においては、レーザー光により光ディスク200に記録信号を記録する。また、再生時においては、光ディスク200にレーザー光を照射し、反射光を光電変換して電流信号を生成する。また、記録再生装置100は、光ディスク200に記録すべきデータを変調して記録信号を生成し、ピックアップ部へ供給する信号処理部を備えている。信号処理部はまた、ピックアップ部により読み出された信号を復調して再生データを生成する。   The recording / reproducing apparatus 100 includes a pickup unit (not shown) for recording information on the optical disc 200. At the time of recording, the pickup unit records a recording signal on the optical disc 200 with laser light. At the time of reproduction, the optical disc 200 is irradiated with laser light, and the reflected light is photoelectrically converted to generate a current signal. In addition, the recording / reproducing apparatus 100 includes a signal processing unit that modulates data to be recorded on the optical disc 200 to generate a recording signal and supplies the recording signal to the pickup unit. The signal processing unit also demodulates the signal read by the pickup unit to generate reproduction data.

図3は、本実施形態の記録再生装置110において、光ディスク200上に書き込まれたデータを示す模式図である。本実施形態に係る記録再生装置100は、一時停止ボタン(REC PAUSE)404の操作により、1つのクリップ内で連続してデータを書き込むことが可能である。図3は、この操作により1つのクリップ内で連続して書き込まれたデータ(分離データ)を示している。   FIG. 3 is a schematic diagram showing data written on the optical disc 200 in the recording / reproducing apparatus 110 of the present embodiment. The recording / reproducing apparatus 100 according to the present embodiment can write data continuously in one clip by operating a pause button (REC PAUSE) 404. FIG. 3 shows data (separated data) written continuously in one clip by this operation.

図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 take 1 is started (REC START) by first pressing the recording button 402, and then recording of take 1 is ended when the pause button 404 is pressed down. . Next, when the pause button 404 is pressed again or the recording button 402 is pressed, recording of the take 2 is started (REC START). In this way, data of take 1 (Take 1), take 2 (Take 2)... Take 4 (Take 4) can be sequentially recorded in one clip. Such a continuous recording (continuous recording) means that a new recording is performed within the same clip by depressing the pause button 404 or the recording button 402 after depressing the pause button 404 during recording. ; Continuous REC). A REC START essential mark (REC START EM) indicating the boundary position is given to the boundary position of each take. When the recording stop button (STOP) 406 is pressed, the clip ends. When the recording button 402 is pressed next, recording of the next clip is started.

従って、図3に示すように、一時停止ボタン404の操作により連続して記録を行う場合は、1つのクリップの中で複数のテイクを記録することができる。これにより、複数の映像シーンを記録した場合であっても、録画したクリップ数が増加することがなく、クリップ数が上限値に達するまでの間に多くの映像を記録することが可能となる。   Therefore, as shown in FIG. 3, when continuous recording is performed by operating the pause button 404, a plurality of takes can be recorded in one clip. Thereby, even when a plurality of video scenes are recorded, the number of recorded clips does not increase, and a large number of videos can be recorded until the number of clips reaches the upper limit.

図3に示すデータは、光ディスク200のファイル記録領域に記録される。また、光ディスク200のファイルシステム記録領域には、管理情報(ファイルシステム)が記録される。管理情報は、ファイル記録領域のどこにどのようなファイルが記録されているかを示す情報であって、光ディスクからファイルが読み出されるときに参照される。   The data shown in FIG. 3 is recorded in the file recording area of the optical disc 200. Management information (file system) is recorded in the file system recording area of the optical disc 200. The management information is information indicating what kind of file is recorded in the file recording area, and is referred to when the file is read from the optical disc.

光ディスク200に記録された映像音声データ等のファイルは、ファイルシステムにより管理されている。例えば、光ディスク200を再生する場合、記録再生装置100は、光ディスク200に記録されたファイルシステムを参照して、光ディスク200に記録された1個以上のファイル名、および各ファイルの光ディスク200上の記録位置などを取得する。そして、ユーザにより所望のファイルの再生が指示されたとき、ファイルシステムに基づいて、指示されたファイルの記録位置を特定し、その記録位置からファイルを構成する映像音声データを読み出して再生を行う。ファイル記録領域に記録されたデータは、ファイルシステムによりファイルとして管理され、ディレクトリ構造等による論理的なデータとして管理される。   Files such as video / audio data recorded on the optical disc 200 are managed by a file system. For example, when reproducing the optical disc 200, the recording / reproducing apparatus 100 refers to the file system recorded on the optical disc 200, records one or more file names recorded on the optical disc 200, and records each file on the optical disc 200. Get location etc. When the user instructs the reproduction of the desired file, the recording position of the designated file is specified based on the file system, and the video / audio data constituting the file is read from the recording position and reproduced. Data recorded in the file recording area is managed as a file by the file system, and managed as logical data based on a directory structure or the like.

図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 control task 108. As shown in FIG. 4, the control task 108 includes a continuous recording unit (continuous recording unit) 108a, a salvage marker recording unit 108b, a salvage marker detecting unit 108c, a data copying unit 108d, a data deleting unit 108e, and a data restoring unit 108f. It is equipped with. When continuous recording is performed by operating the pause button 404 described above, the continuous recording unit (continuous recording unit) 108a performs control to continuously record data in a single clip. . The functions of the salvage marker recording unit 108b, the salvage marker detection unit 108c, the data copying unit 108d, the data deletion unit 108e, and the data restoration unit 108f will be described later. The functional configuration of the control task 108 illustrated in FIG. 4 can be realized by a program that causes an arithmetic processing unit (CPU or the like) to function, for example.

図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 / playback memory 102, a timing at which data is written to the optical disc 200, and a control task in the recording / playback apparatus 100 according to this embodiment. It is a timing chart which shows the timing of operation | movement of 108 in parallel.

図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 / playback memory 102 with respect to the timing at which input video data is input. Similarly, a predetermined delay (time lag) occurs in the timing at which data is written into the optical disc 200 with respect to the timing at which data is stored in the video recording / playback memory 102.

図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 recording button 402 is pressed by the user and the recording operation is started, and recording of take 1 shown in FIG. 3 starts at this timing. The video recording / playback memory 102 stores data called annual ring data as data to be written to the optical disc 200. Here, one annual ring data corresponds to an input video every 2 seconds. The annual ring data includes audio data, video data, proxy data, and metadata, and a plurality of these data are arranged in time series in the annual ring data every 2 seconds. The annual ring data stored in the video recording / playback memory 102 is sequentially written on the optical disc 200.

図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 pause button 404 and recording of take 1 is stopped. In the example of FIG. 5, the recording stop time is in the middle of input of input video 5. For this reason, the data of the annual ring 5 recorded corresponding to the input 5 is less than the data for 2 seconds. Therefore, the data amount of the annual ring 5 recorded on the optical disc 200 is smaller than the data amount of the other annual rings 1 to 4.

記録停止時点で一時停止ボタン404ボタンが押下げられると、制御タスク108の状態は、フィル(Fill)、フッター(Footer)、ヘッダー(Header)の作成状態となり、映像記録再生用メモリ102にフィル、フッター、ヘッダーの各データ(管理情報)が格納される。管理情報のうち、フィル(Fill)は、効率的にメモリ、メディア管理をするため、特定のサイズのダミーデータを即入し、サイズを丸めるためのデータである。また、ヘッダー(Header)は、該当するクリップを再生するのに必要な情報(記録フォーマット、サイズ、開始タイムコード等)を格納する領域である。また、フッター(Footer)は、クリップの終わりを示すデータである。格納されたフィル、フッター、ヘッダーの各データは、光ディスク200に書き込まれる。フィル、フッター、ヘッダーの作成状態の後、制御タスク108の状態はメディア書込み待ち状態となり、映像記録再生用メモリ102が書き込み待ち状態となる。   When the pause button 404 is pressed at the time of recording stop, the state of the control task 108 becomes a creation state of a fill (Fill), a footer (Footer), and a header (Header). Stores footer and header data (management information). Of the management information, “Fill” is data for immediately entering dummy data of a specific size and rounding the size in order to efficiently manage memory and media. The header is an area for storing information (recording format, size, start time code, etc.) necessary for reproducing the corresponding clip. The footer is data indicating the end of the clip. The stored fill, footer, and header data are written to the optical disc 200. After the fill, footer, and header creation states, the control task 108 enters a media write wait state, and the video recording / playback memory 102 enters a write wait state.

記録開始時点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 recording button 402 is pressed again at the recording start time point 2 (REC) and continuous recording is performed, the input video (after input 12) sent to the video recording / playback memory 102 after waiting for media writing is recorded. Is stored. Immediately after the media write waiting time, the data of the annual ring 5 which is less than 2 seconds in the take 1 is stored again in the video recording / reproducing memory 102, and a part of the data of the input 12 ( Input #) is added. Thereby, the data of the annual ring 5 is converted into data for 2 seconds (annual ring 5 + input #) and stored in the video recording / reproducing memory 102. After the data (annual ring 5 + input #), the data of the annual ring 7 and the annual ring 8 corresponding to the input image for 2 seconds are sequentially stored. Data stored in the video recording / playback memory 102 is written to the optical disc 200 with a certain delay. As described above, the data of the last annual ring 5 of the take 1 is copied at the beginning of the take 2 and recorded on the optical disc 200. This processing is performed by the data copying unit 108d in FIG.

次に、本実施形態に係る異常発生時のサルベージ機能について説明する。図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 take 2 recording is started. Although not shown in FIG. 5 for convenience of explanation, a salvage marker SM is written between each annual ring data N, N + 1,..., And one salvage marker is recorded corresponding to each annual ring data. The The recording of the salvage marker SM is controlled by the salvage marker recording unit 108b of FIG.

サルベージマーカーには、このデータがサルベージマーカーであることを示す認識パターン(サルベージ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 apparatus 100 can detect the salvage marker by searching the salvage ID from the data read from the file recording area of the optical disc 200. Specifically, the detection of the salvage marker is controlled by the salvage marker detection unit 108c in FIG. For example, when the power supply is cut off due to the removal of the battery and the recording process is not normally completed, that is, when the data recorded on the optical disk is not registered in the file system as one file, after the power is restored In this step, with reference to the salvage marker, the recording position on the optical disc 200 of the data recorded until the recording process is interrupted is specified. Based on this, a file including data recorded until the recording process is interrupted is registered in the file system. As a result, even when the recording process is not normally completed, the data recorded on the optical disc 200 can be reproduced before the recording process is interrupted.

記録の処理が終了せずに途中で中断された光ディスク200の挿入を検知した場合、記録再生装置100は、その光ディスク200上でサルベージIDを検索する。そして、記録再生装置100は、サルベージマーカーに含まれている、ファイル名を特定するための識別情報に基づいて、サルベージマーカーに後続して記録されている年輪データのファイル名を判定する。   When the insertion of the optical disc 200 interrupted in the middle without detecting the end of the recording process is detected, the recording / reproducing apparatus 100 searches the optical disc 200 for a salvage ID. Then, the recording / reproducing apparatus 100 determines the file name of the annual ring data recorded after the salvage marker based on the identification information for specifying the file name included in the salvage marker.

例えば、上記特許文献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 Patent Document 1, the recording / reproducing apparatus 100 is stopped due to an abnormality. However, the annual ring data up to the second annual ring can be restored from the last recorded salvage marker. Further, in the case of the quick salvage process described in Patent Document 1 (a process for restoring a file system based on information in a nonvolatile memory included in the recording / reproducing apparatus 100 and a salvage marker recorded on the optical disc 200), The annual ring data up to one year before the salvage marker recorded last can be restored.

ユーザにより一時停止ボタン404が押されると、光ディスク200上には図6(A)に示すヘッダーまでの情報が書き込まれる。その後、一時停止ボタン404が再度押されるとテイク2が開始され、図5で説明したように、テイク1で年輪N+1の手前に書き込まれたサルベージマーカーSMとともに年輪N+1のデータが書き込まれる。その後、年輪N+2、年輪N+3・・・のデータが順次に書き込まれていく。   When the user presses the pause button 404, information up to the header shown in FIG. Thereafter, when the pause button 404 is pressed again, take 2 is started, and as described with reference to FIG. 5, the data of the annual ring N + 1 is written together with the salvage marker SM written in front of the annual ring N + 1 in take 1. Thereafter, the data of annual ring N + 2, annual ring N + 3,... Are sequentially written.

図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 take 2 is not written. However, in take 1, since the data of annual ring N + 1 and two salvage markers SM are written immediately after that, the data of annual ring N + 1 can be restored. Therefore, as shown in FIG. 6B, data up to the end of take 1 can be restored.

同様に、図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 optical disc 200 in the take 2 and the subsequent salvage marker SM is written. At this time, in the case of quick salvage, it is possible to restore to the annual ring N + 2 before the last written salvage marker. In the case of full salvage, it is possible to restore up to data of annual ring N + 1.

図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 last take 1 are written. The annual ring N + 1 data, footer, and header data written in take 1 physically exist on optical disc 200 but are logically deleted.

以上のようなサルベージ機能を詳細に説明する。図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-off 1 shown in FIG.

図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 optical disc 200 with the position of (1) in FIG. 5 as the end point. FIG. 7B shows data written on the disc with the position of (2) in FIG. 5 as the end point. As shown in FIG. 7B, in the salvage of the present embodiment, after the take 1 is finished and the header is written, when the data of the take 2 is written, the annual ring 5 and the fill written at the end of the take 1 are filled. , Footer and header data are logically deleted. As described above, the data of the annual ring 5 of the take 1 is written again at the beginning of the take 2, and at the end of the take 2, the fill, footer, and header data are written in the same manner as at the end of the take 1. When a clip ends, the fill, footer, and header data recorded in the last take is left as management information for that clip, and the fill, footer, and header data for other takes are logically deleted. It becomes the state.

図5の電源断1のタイミングで電源断が発生した場合、年輪5のデータを書き込んでいる最中に電源断が発生しているため、年輪5を復元するためのサルベージマーカーが不足した状態となる。このため、本実施形態では、図7(C)に示すように、本来は論理的に削除されるテイク1での年輪5のデータ、フィル、フッター、ヘッダーの各データが復元される。データの復元は、図4に示すデータ復元部108fによって制御される。そして、テイク2で書き込みの途中であった年輪5のデータは論理的に削除される。   When the power interruption occurs at the timing of the power interruption 1 in FIG. 5, the power interruption occurs while the data of the annual ring 5 is being written, so that the salvage marker for restoring the annual ring 5 is insufficient. Become. For this reason, in this embodiment, as shown in FIG. 7C, the data of the annual ring 5, the fill, footer, and header data in the take 1 that is originally logically deleted is restored. Data restoration is controlled by the data restoration unit 108f shown in FIG. Then, the data of the annual ring 5 that was being written in the take 2 is logically deleted.

これにより、同一のクリップ内で複数のデータを書き込む本実施形態の記録再生装置100において、新たなテイクの書き込み開始直後に電源断が生じた場合に、直前のテイクまで書き込まれていたデータを確実に復元することが可能となる。   As a result, in the recording / reproducing apparatus 100 of the present embodiment in which a plurality of data is written in the same clip, if the power is cut off immediately after the start of writing a new take, the data written up to the immediately preceding take can be reliably confirmed. It is possible to restore to.

図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-off 2 shown in FIG. Here, FIG. 8A shows data written on the optical disc 200 with the position of (1) in FIG. 5 as the end point. FIG. 8B shows data written on the optical disc 200 with the position of (3) in FIG. 5 as the end point.

図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 power interruption 2 in FIG. 5, data is written on the optical disk 200 up to the annual ring 5, the annual ring 6, and the annual ring 7 as shown in FIG. 8B. Therefore, as described with reference to FIGS. 6C and 6D, it is possible to restore at least the data up to the annual ring 5 of the take 2. The annual ring 5 data, fill, footer, and header data in take 1 are logically deleted.

以上説明したように本実施形態の記録再生装置100では、1つのクリップ内に複数の入力映像を記録することが可能な記録再生装置100において、1テイクの撮影が終了する間際の映像データを論理的に削除して次のテイクの冒頭に記録する。このため、次のテイクの開始直後に電源断が発生した場合は、論理的に削除したデータを復元することで、終了したテイクのデータを完全に復元することが可能となる。また、次のテイクを開始してから複数の年輪データを記録した後に電源断が発生した場合は、年輪データに対応して記録されたサルベージマーカーにより、電源断の直前の年輪データを復元することが可能となる。   As described above, in the recording / reproducing apparatus 100 of the present embodiment, the video data immediately before the end of one-take shooting is logically recorded in the recording / reproducing apparatus 100 capable of recording a plurality of input videos in one clip. Delete it and record it at the beginning of the next take. For this reason, when the power interruption occurs immediately after the start of the next take, it is possible to completely restore the data of the finished take by restoring the logically deleted data. In addition, if a power interruption occurs after recording multiple annual ring data after the start of the next take, restore the annual ring data immediately before the power interruption using the salvage marker recorded corresponding to the annual ring data. Is possible.

以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   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.

本発明の一実施形態に係る記録再生装置の構成例を示す模式図である。It is a schematic diagram which shows the structural example of the recording / reproducing apparatus which concerns on one Embodiment of this invention. 図1の構成において、データの流れを示す模式図である。FIG. 2 is a schematic diagram showing a data flow in the configuration of FIG. 1. 本実施形態の記録再生装置において、光ディスク上に書き込まれたデータを示す模式図である。It is a schematic diagram which shows the data written on the optical disk in the recording / reproducing apparatus of this embodiment. 制御タスクの機能構成を示すブロック図である。It is a block diagram which shows the function structure of a control task. 入力映像のデータが入力されるタイミング、映像記録再生用メモリにデータが格納されるタイミング、光ディスクにデータが書き込まれるタイミング、制御タスクの動作のタイミングを並列的に示すタイミングチャートである。4 is a timing chart showing in parallel a timing at which input video data is input, a timing at which data is stored in a video recording / playback memory, a timing at which data is written to an optical disc, and an operation timing of a control task. 年輪データの前後に書き込まれたサルベージマーカーSMを使用して異常発生時にデータを復元する手法を示す模式図である。It is a schematic diagram which shows the method of decompress | restoring data at the time of abnormality using the salvage marker SM written before and after annual ring data. 図5に示す電源断1のタイミングで電源が断たれた場合のサルベージ状態を示す模式図である。It is a schematic diagram which shows the salvage state when a power supply is cut off at the timing of the power-off 1 shown in FIG. 図5に示す電源断2のタイミングで電源が断たれた場合のサルベージ状態を示す模式図である。It is a schematic diagram which shows the salvage state when a power supply is cut off at the timing of the power-off 2 shown in FIG.

符号の説明Explanation of symbols

100 記録再生装置
108 制御タスク
108a 継続記録部
108b サルベージマーカー記録部
108c サルベージマーカー検出部
108d データ複写部
108e データ削除部
108f データ復元部
DESCRIPTION OF SYMBOLS 100 Recording / reproducing apparatus 108 Control task 108a Continuous recording part 108b Salvage marker recording part 108c Salvage marker detection part 108d Data copying part 108e Data deletion part 108f Data restoration part

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に記載の記録装置。   The recording according to claim 1, wherein the separated data includes at least video data and audio data, and is data separated in time series by operation of a pause button for temporarily stopping recording. apparatus. 前記分離データの各々は、時間毎に区切られた複数の区分データから構成され、
前記データ複写部は、前記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.
前記データ復元部は、前記次の分離データの記録を開始した直後に異常が発生した場合に前記削除したデータを復元することを特徴とする、請求項1に記載の記録装置。   The recording apparatus according to claim 1, wherein the data restoring unit restores the deleted data when an abnormality occurs immediately after the recording of the next separated data is started. 前記区分データとともに、前記区分データを復元するための復元用マーカーを記録する復元用マーカー記録部を備え、
前記次の分離データの記録を開始してから所定数の前記復元用マーカーが記録された後に異常が発生した場合は、前記復元用マーカーにより前記次の分離データを復元することを特徴とする、請求項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:
前記分離データは、少なくとも映像データ及び音声データを含み、記録を一時的に停止する一時停止ボタンの操作により時系列的に分離されたデータであることを特徴とする、請求項6に記載の記録方法。   7. The recording according to claim 6, wherein the separated data includes at least video data and audio data, and is separated in time series by operation of a pause button for temporarily stopping recording. Method. 前記分離データの各々は、時間毎に区切られた複数の区分データから構成され、
前記複写ステップにおいて、前記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.
前記復元ステップにおいて、前記次の分離データの記録を開始した直後に異常が発生した場合に前記削除したデータを復元することを特徴とする、請求項6に記載の記録方法。   The recording method according to claim 6, wherein in the restoration step, the deleted data is restored when an abnormality occurs immediately after the recording of the next separated data is started. 前記区分データとともに、前記区分データを復元するための復元用マーカーを記録するステップを備え、
前記次の分離データの記録を開始してから所定数の前記復元用マーカーが記録された後に異常が発生した場合は、前記復元用マーカーにより前記次の分離データを復元することを特徴とする、請求項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.
JP2007261347A 2007-10-04 2007-10-04 Recording apparatus, recording method, and program Expired - Fee Related JP4882950B2 (en)

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)

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