[go: up one dir, main page]

JP2008310889A - Recording / playback device - Google Patents

Recording / playback device Download PDF

Info

Publication number
JP2008310889A
JP2008310889A JP2007158260A JP2007158260A JP2008310889A JP 2008310889 A JP2008310889 A JP 2008310889A JP 2007158260 A JP2007158260 A JP 2007158260A JP 2007158260 A JP2007158260 A JP 2007158260A JP 2008310889 A JP2008310889 A JP 2008310889A
Authority
JP
Japan
Prior art keywords
data
file
recording medium
recording
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.)
Pending
Application number
JP2007158260A
Other languages
Japanese (ja)
Inventor
Masanori Miko
正則 三皷
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.)
Panasonic Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2007158260A priority Critical patent/JP2008310889A/en
Publication of JP2008310889A publication Critical patent/JP2008310889A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

【課題】管理情報全体を世代毎にバックアップすると、記憶容量が必要で、ファイル単位での復元も困難となる。
【解決手段】第1の記録媒体に記録された映像データを第1の記録媒体上の配置情報を用いて管理し、映像データを第1の記録媒体に記録すると共に配置情報を更新するファイルシステムと、配置情報から映像データの配置情報を抜き出して復元用データとして作成する復元用データ作成部と、第2の記録媒体に低ビットレート映像データと共に復元用データを記録する記録部と、第1の記録媒体に記録された映像データに対応する復元用データを第2の記録媒体から読み込み、映像データの配置情報を復元する復元部と、を有する。
【選択図】図1
When entire management information is backed up for each generation, storage capacity is required, and restoration in units of files becomes difficult.
A file system that manages video data recorded on a first recording medium using arrangement information on the first recording medium, records the video data on the first recording medium, and updates the arrangement information. A restoration data creation unit that extracts the placement information of the video data from the placement information and creates it as restoration data, a recording unit that records the restoration data together with the low bit rate video data on the second recording medium, and a first A restoration unit that reads restoration data corresponding to the video data recorded on the recording medium from the second recording medium and restores the arrangement information of the video data.
[Selection] Figure 1

Description

本発明は、記録媒体にファイルとして映像データとファイルの管理情報を記録する記録再生装置に関し、特に、記録媒体のフォーマットや映像データの削除を誤って行ってしまった際に管理情報を復旧することができる記録再生装置に関する。   The present invention relates to a recording / reproducing apparatus for recording video data and file management information as a file on a recording medium, and particularly to recovering management information when the format of the recording medium or deletion of video data is mistakenly performed. The present invention relates to a recording / reproducing apparatus that can perform recording.

近年、デジタルビデオカメラ等で得られた映像データや音声データ等のコンテンツをファイルとしてフラッシュメモリや光ディスク、磁気ディスク等の記録媒体に記録することが行われている。このような機器では、ユーザーにより撮影したコンテンツを選択して削除したり、記録媒体のフォーマットを容易に行ったりすることができる。したがって、ユーザーが誤って重要なコンテンツを削除してしまったり、記録媒体をフォーマットしてしまったりすることが起こり得る。そのような場合、コンテンツを復元できるような仕組みが必要となる。   In recent years, content such as video data and audio data obtained by a digital video camera or the like is recorded as a file on a recording medium such as a flash memory, an optical disk, or a magnetic disk. In such a device, the user can select and delete the content photographed, or format the recording medium easily. Therefore, the user may accidentally delete important contents or format the recording medium. In such a case, a mechanism that can restore the content is required.

通常、ファイルの削除や記録媒体のフォーマットを行う場合、対象となるデータをすべて消去するには処理時間が掛かり、また記録媒体がフラッシュメモリのような書き込み回数に制限がある媒体の場合は書き込み回数を減らすため、ファイルのデータは実際には消去せずにデータの記録媒体上での配置を管理する管理情報において対象となるデータ領域部分を未使用状態にすることで行う。このような場合、ファイルのデータ自体は記録媒体上に存在したままであるため、管理情報を復元できれば削除されたファイルや、フォーマットされた記録媒体において、これらを再びファイルとして参照することができる。   Normally, when deleting files or formatting a recording medium, it takes a long time to erase all the target data, and when the recording medium is a medium with a limited number of writes, such as a flash memory, the number of writes In order to reduce the file data, the file data is not actually erased, and the data area portion that is the target in the management information for managing the arrangement of the data on the recording medium is made unused. In such a case, since the file data itself still exists on the recording medium, if the management information can be restored, these can be referred to again as a file in the deleted file or the formatted recording medium.

管理情報を復元する従来の手法としては、管理情報の更新前に、不揮発性メモリに設けられるバックアップ領域に、更新される管理情報のバックアップを行い、復元する場合にはバックアップした管理情報を書き戻すことで行う手法がある(特許文献1参照)。
特開2005−115856号公報
As a conventional method for restoring management information, before updating the management information, the management information to be updated is backed up in a backup area provided in the nonvolatile memory, and when the restoration is restored, the backed up management information is written back. There is a technique to perform (see Patent Document 1).
JP 2005-115856 A

上記手法は書き込み等の処理時における突然の電源遮断に対する復旧方法であり、管理情報全体をバックアップするため、更新毎に管理情報を保存するためにはそれだけの記憶容量が必要となる。また、記録媒体上の全ファイルの状態がそのバックアップ時点に戻るため、ファイル単位での復元が困難となる。   The above-described method is a recovery method for sudden power interruption during processing such as writing, and the entire management information is backed up. Therefore, in order to save the management information for each update, that much storage capacity is required. In addition, since the state of all the files on the recording medium returns to the backup point, it becomes difficult to restore in units of files.

本発明は上記課題に鑑み、少ない記憶容量でかつ管理が容易となるような構成でファイルを復元可能とすることを目的とする。   In view of the above problems, an object of the present invention is to make it possible to restore a file with a configuration with a small storage capacity and easy management.

上記課題は、以下の本発明によって解決される。すなわち、本発明に係る記録再生装置は、映像データをファイルとして第1の記録媒体に記録すると共に、映像データから映像データよりも低ビットレートの低ビットレート映像データを作成して第2の記録媒体に記録する記録再生装置であって、第1の記録媒体に記録された映像データを第1の記録媒体上の配置情報を用いて管理し、映像データを第1の記録媒体に記録すると共に配置情報を更新するファイルシステムと、配置情報から映像データの配置情報を抜き出して復元用データとして作成する復元用データ作成部と、第2の記録媒体に低ビットレート映像データと共に復元用データを記録する記録部と、第1の記録媒体に記録された映像データに対応する復元用データを第2の記録媒体から読み込み、映像データの配置情報を復元する復元部と、を有する。   The above problems are solved by the present invention described below. That is, the recording / reproducing apparatus according to the present invention records the video data as a file on the first recording medium, and creates low bit rate video data having a lower bit rate than the video data from the video data and performs the second recording. A recording / reproducing apparatus for recording on a medium, managing video data recorded on a first recording medium using arrangement information on the first recording medium, and recording the video data on the first recording medium A file system for updating the arrangement information, a restoration data creation unit for extracting the arrangement information of the video data from the arrangement information and creating it as restoration data, and recording the restoration data together with the low bit rate video data on the second recording medium Read the restoration data corresponding to the video data recorded on the first recording medium and the recording unit from the second recording medium, and restores the arrangement information of the video data That has a restoration unit, a.

本発明の記録再生装置によれば、映像データ復元に必要な配置情報のみを低ビットレート映像データ中にバックアップするため、記憶容量が少なくて済み、映像データの配置情報に異常がある場合や、映像データがファイルシステム上で削除された場合にも、映像データが書かれていたデータ領域が別のデータに上書きされない限り、映像データに対応する低ビットレート映像データとともに記録された復元用データを読み込み、映像データの配置情報を復元することで映像データにアクセス可能となる。また映像データと関連が深いプロキシデータに映像データの配置情報を付加することで管理も容易になる。   According to the recording / reproducing apparatus of the present invention, only the arrangement information necessary for restoring the video data is backed up in the low bit rate video data, so that the storage capacity is small and the arrangement information of the video data is abnormal, Even if the video data is deleted on the file system, the restoration data recorded together with the low bit rate video data corresponding to the video data will be saved unless the data area where the video data was written is overwritten with another data. The video data can be accessed by reading and restoring the arrangement information of the video data. Management is also facilitated by adding video data arrangement information to proxy data that is closely related to video data.

以下、本発明を実施するための最良の形態について、図面を参照しながら説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1の記録再生装置100の構成を示すブロック図である。記録再生装置100は、システム制御部101と、記録媒体110と、記録媒体111と、ユーザによる指示を受け付ける入力手段120と、映像信号や音声信号を入力する映像・音声入力手段121と、映像信号や音声信号の符号化を行うエンコーダHigh122およびエンコーダLow123と、映像信号や音声信号を復号化するデコーダ125と、複号化された映像信号や音声信号を出力する映像・音声出力手段124と、映像データのサムネイル等を表示するLCDモニタ126とを含む。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of a recording / reproducing apparatus 100 according to Embodiment 1 of the present invention. The recording / reproducing apparatus 100 includes a system control unit 101, a recording medium 110, a recording medium 111, an input unit 120 that receives an instruction from a user, a video / audio input unit 121 that inputs a video signal and an audio signal, and a video signal. Encoder High 122 and encoder Low 123 for encoding video signals and audio signals, decoder 125 for decoding video signals and audio signals, video / audio output means 124 for outputting decoded video signals and audio signals, and video And an LCD monitor 126 for displaying data thumbnails and the like.

システム制御部101は、例えば、CPUとメモリとを含むコンピュータによって実現される。このシステム制御部101には、クリップファイル処理手段102、配置情報処理手段103、GUI(Graphical User Interface)処理手段104、記録バッファメモリ105、再生バッファメモリ106、ファイルシステム107、ファイルシステム用メモリ108を備えている。システム制御部101に含まれる各手段は、CPUで各種のプログラムを実行することによって実現される。システム制御部101に含まれる各メモリは、例えば、用途ごとにそれぞれメモリを用いてもよく、また、単一のメモリを用途ごとに領域を分けて使うことによって実現してもよい。   The system control unit 101 is realized by a computer including a CPU and a memory, for example. The system control unit 101 includes a clip file processing unit 102, an arrangement information processing unit 103, a GUI (Graphical User Interface) processing unit 104, a recording buffer memory 105, a reproduction buffer memory 106, a file system 107, and a file system memory 108. I have. Each means included in the system control unit 101 is realized by executing various programs by the CPU. As each memory included in the system control unit 101, for example, a memory may be used for each application, or a single memory may be realized by dividing an area for each application.

システム制御部101内のファイルシステム107はファイルをブロック単位で管理し、前記ファイルが記録されているブロックの配置情報を有しているものである。例えばFAT(File Allocation Table)ファイルシステムが好ましい。FATファイルシステムではクラスタと呼ばれるブロックでデータを管理し、ファイルおよびディレクトリは、ディレクトリエントリと呼ばれる情報からファイル名・作成日時・ファイル属性・ファイルサイズ・開始クラスタ等が取得できる。また、FATテーブルと呼ばれるデータの配置を管理するテーブルにはファイルが使用するクラスタの位置・順番等の情報が記録されている。データ領域の最初のクラスタにはルートディレクトリエントリと呼ばれる、最上位のディレクトリにあるファイルやディレクトリのディレクトリエントリが記録されている。また、ディレクトリのディレクトリエントリから取得される開始クラスタには、同様に、そのディレクトリにあるファイルやディレクトリのディレクトリエントリが記録されている。これらの情報をもとに、ファイルやディレクトリを参照することができる。   The file system 107 in the system control unit 101 manages files in units of blocks and has arrangement information of blocks in which the files are recorded. For example, a FAT (File Allocation Table) file system is preferable. In the FAT file system, data is managed in blocks called clusters, and the file name, creation date / time, file attribute, file size, starting cluster, and the like can be acquired from information called directory entries for files and directories. In addition, information such as the position and order of clusters used by the file is recorded in a table that manages the arrangement of data called a FAT table. In the first cluster in the data area, a directory entry of a file or directory in the highest directory called a root directory entry is recorded. Similarly, in the start cluster acquired from the directory entry of the directory, the directory entry of the file or directory in the directory is recorded. Based on this information, files and directories can be referenced.

記録媒体110は着脱可能で高転送レートのものが好ましい。例えば半導体メディアであるP2(Professional Plug−in)カードは最大640Mbpsのデータ転送が可能であり放送業務用のビデオカメラの記録媒体として適している。また、記録媒体111は着脱可能で記録媒体110に比べ安価なものが好ましい。例えば半導体メディアであるSD(Secure Digital)メモリーカードはデジタルカメラ等で使用され、多く普及しており価格も年々低下してきているため適している。   The recording medium 110 is preferably removable and has a high transfer rate. For example, a P2 (Professional Plug-in) card, which is a semiconductor medium, can transfer data of up to 640 Mbps and is suitable as a recording medium for a video camera for broadcasting business. Further, it is preferable that the recording medium 111 is detachable and cheaper than the recording medium 110. For example, an SD (Secure Digital) memory card, which is a semiconductor medium, is suitable for use in digital cameras and the like because it is widely used and its price is decreasing year by year.

記録媒体110と記録媒体111は各々がFAT等のファイルシステムでフォーマットされており、各記録媒体へのファイルの書き込みは、システム制御部101内のファイルシステム107によりFATテーブルの更新とデータ書き込み動作により行われる。   Each of the recording medium 110 and the recording medium 111 is formatted by a file system such as FAT, and writing of a file to each recording medium is performed by updating the FAT table and writing data by the file system 107 in the system control unit 101. Done.

映像・音声入力手段121から入力される映像信号は、エンコーダHigh122によって放送に使用可能な高解像度で順次圧縮されて高解像度符号化データとされる。高解像度符号化データは、クリップファイル処理手段102によりMXF(Material Exchange Format)形式にファイル化され、ファイルシステム107により記録媒体110に記録される。   The video signal input from the video / audio input means 121 is sequentially compressed by the encoder High 122 at a high resolution that can be used for broadcasting to be high resolution encoded data. The high-resolution encoded data is filed in the MXF (Material Exchange Format) format by the clip file processing means 102 and recorded on the recording medium 110 by the file system 107.

このとき、クリップファイル処理手段102は、高解像度符号化データの先頭フレームのデータをビットマップ形式の画像ファイルであるサムネイル画像として作成し、ファイルシステム107がこれを記録媒体110および記録媒体111に記録する。このサムネイル画像データは、LCDモニタ126にサムネイル一覧として表示される。サムネイル画像データは、所望の映像を記録媒体から探しやすくしたりするものである。したがって、画像サイズは大きい必要はなく縦80ピクセル、横60ピクセル、1ピクセルあたり24ビットの画像データに圧縮される。   At this time, the clip file processing unit 102 creates the first frame data of the high resolution encoded data as a thumbnail image which is an image file in the bitmap format, and the file system 107 records this on the recording medium 110 and the recording medium 111. To do. The thumbnail image data is displayed on the LCD monitor 126 as a thumbnail list. The thumbnail image data makes it easy to find a desired video from a recording medium. Therefore, the image size does not need to be large and is compressed to image data of 80 bits vertically, 60 pixels horizontally, and 24 bits per pixel.

また、映像・音声入力手段121から入力される音声信号は、エンコーダHigh122によって圧縮されて高音質オーディオデータとされる。高音質オーディオデータは、クリップファイル処理手段102によりWave形式にファイル化され、ファイルシステム107により記録媒体110に記録される。   Also, the audio signal input from the video / audio input means 121 is compressed by the encoder High 122 to be high-quality audio data. The high sound quality audio data is filed in the Wave format by the clip file processing means 102 and recorded on the recording medium 110 by the file system 107.

なお、映像データと音声データを別ファイルとするのは、放送局などの業務用途の編集作業では、映像と音声とを独立して編集作業を行うことが多く、業務用途のノンリニア編集機では映像と音声とを別ファイルとするのが一般的なためである。上記映像ファイルと音声ファイルとの組み合わせをクリップと呼ぶ。   Note that video data and audio data are in separate files. When editing for business purposes such as broadcasting stations, video and audio are often edited independently. This is because it is common to create a separate file for audio and audio. A combination of the video file and the audio file is called a clip.

クリップファイル処理手段102は、映像データや音声データのフレームレートやフレーム数、データのサイズをフレーム数で表したデュレーション等の情報を管理したり関連付けを行ったりするためのクリップ管理情報を作成し、テキスト形式にファイル化する。クリップ管理情報も、ファイルシステム107により記録媒体110および記録媒体111に記録される。クリップには、クリップ管理情報も含まれる。   The clip file processing unit 102 creates clip management information for managing and associating information such as a frame rate and the number of frames of video data and audio data, and a duration in which the size of the data is represented by the number of frames. File in text format. Clip management information is also recorded on the recording medium 110 and the recording medium 111 by the file system 107. The clip includes clip management information.

同様にして、映像・音声入力手段121から入力される映像信号は、エンコーダLow123によってMPEG(Moving Picture Experts Group)に規定のフォーマットにより、遠隔地の編集装置などと無線または有線等でストレスなく送受信可能なデータ量となるように、高解像度符号化データよりも低解像度で順次圧縮されて低解像度符号化データとされる。低解像度符号化データは、クリップファイル処理手段102によりファイル化され、ファイルシステム107により記録媒体111に記録される。   Similarly, the video signal input from the video / audio input means 121 can be transmitted / received to / from a remote editing apparatus or the like without stress by wireless or wired, etc., according to the MPEG (Moving Picture Experts Group) format by the encoder Low 123. Therefore, the data is sequentially compressed at a lower resolution than the high-resolution encoded data so as to obtain low-resolution encoded data. The low-resolution encoded data is filed by the clip file processing unit 102 and recorded on the recording medium 111 by the file system 107.

また、エンコーダLow123は、必要に応じて映像・音声入力手段121から入力される音声信号を圧縮し、高音質オーディオデータよりも圧縮率の高い低音質オーディオデータとされる。低音質オーディオデータは、クリップファイル処理手段102によりWave形式にファイル化され、ファイルシステム107により記録媒体111に記録される。   In addition, the encoder Low 123 compresses the audio signal input from the video / audio input unit 121 as necessary to obtain low sound quality audio data having a compression rate higher than that of the high sound quality audio data. The low sound quality audio data is filed in the Wave format by the clip file processing means 102 and recorded on the recording medium 111 by the file system 107.

低解像度符号化データ(及び低音質オーディオデータ)はプロキシデータと呼ばれる。なお、映像信号及び音声信号は、エンコーダLow123においてひとつの低解像度符号化データに多重化され、記録媒体111にプロキシデータとして記録されるようにしてもよい。以下では説明のため、プロキシデータは、低解像度符号化データ、クリップ管理情報、サムネイル画像データ、復元用データを含むものとし、それぞれをプロキシ映像データ、プロキシクリップ管理情報、プロキシサムネイル画像データ、プロキシ復元用データと呼ぶ。   Low-resolution encoded data (and low-quality audio data) is called proxy data. Note that the video signal and the audio signal may be multiplexed into one low-resolution encoded data by the encoder Low 123 and recorded as proxy data on the recording medium 111. In the following description, it is assumed that proxy data includes low-resolution encoded data, clip management information, thumbnail image data, and restoration data, which are respectively proxy video data, proxy clip management information, proxy thumbnail image data, and proxy restoration. Called data.

プロキシデータは、近年一般的に行われている、いわゆるノンリニア編集を行うためのデータであり、パーソナルコンピュータ等に取り込まれた後、編集の素材とされる。すなわち、パーソナルコンピュータ等でノンリニア編集を行う場合、その処理能力が不足し、上述したような高解像度符号化データや高音質オーディオデータからなる本線データを、直接、編集の素材とすることができない場合がある。このように、プロキシデータを素材として行われる編集はプロキシ編集と呼ばれることがあり、このプロキシ編集は、例えば、撮影現場などで簡易な編集として行われる。プロキシ編集の結果は、最終的な放送用データを作成するスタジオの装置等に、SDメモリーカード等に記録された状態で配送されたり、ネットワークを介して送信される。そして、スタジオにおいて、プロキシ編集の結果に基づく本線データの編集が行われ、最終的な、放送用コンテンツが作成される。したがって、プロキシデータは本線データと深い関わりを持っていると言える。   Proxy data is data for performing so-called non-linear editing, which is generally performed in recent years, and is taken into a personal computer or the like and then used as editing material. In other words, when nonlinear editing is performed on a personal computer or the like, the processing capability is insufficient, and main line data composed of high-resolution encoded data and high-quality audio data as described above cannot be directly used as editing material. There is. In this way, editing performed using proxy data as a material may be referred to as proxy editing. This proxy editing is performed as simple editing at a shooting site, for example. The result of proxy editing is delivered to a studio apparatus or the like that creates final broadcast data in a state of being recorded on an SD memory card or the like, or transmitted via a network. Then, in the studio, the main line data is edited based on the result of the proxy editing, and the final broadcast content is created. Therefore, it can be said that proxy data is closely related to main line data.

配置情報処理手段103は、クリップを構成する各ファイルの記録媒体110における配置情報を、記録媒体110のFATテーブルをもとにプロキシ復元用データとして作成し、クリップファイル処理手段102によりファイル化し、プロキシデータとして、ファイルシステム107により記録媒体111に記録する。   The arrangement information processing means 103 creates the arrangement information of each file constituting the clip in the recording medium 110 as proxy restoration data based on the FAT table of the recording medium 110, converts the file into a file by the clip file processing means 102, and Data is recorded on the recording medium 111 by the file system 107.

プロキシ復元用データの作成について図2を用いて説明する。クリップファイルはクリップ管理情報ファイル、サムネイル画像ファイル、映像ファイル、および音声ファイルを備えている。図2(e)は、記録媒体110のデータ領域の一部分について、その状態の一例を示している。データ領域には各ファイルがクラスタ毎に記録される。また各クラスタにはクラスタ番号が順に割り振られている。図2(d)は、記録媒体110のFATテーブルのうち、図2(e)に対応する部分について、その状態を示したものである。FATテーブルは一定サイズ(FAT32では32ビット)毎にデータ領域のクラスタに対応しており、対応しているクラスタにデータが記録されていない場合は未使用を表す00hが記録される。データが記録されている場合は続きのデータが記録されているクラスタ番号が記録される。クラスタに記録されているデータが終端のときには終端を表すEOFが記録される。   The creation of proxy restoration data will be described with reference to FIG. The clip file includes a clip management information file, a thumbnail image file, a video file, and an audio file. FIG. 2E shows an example of the state of a part of the data area of the recording medium 110. Each file is recorded in the data area for each cluster. Each cluster is assigned a cluster number in order. FIG. 2D shows the state of a portion corresponding to FIG. 2E in the FAT table of the recording medium 110. The FAT table corresponds to a cluster in the data area for every fixed size (32 bits in FAT32), and 00h representing unused is recorded when no data is recorded in the corresponding cluster. When data is recorded, a cluster number in which subsequent data is recorded is recorded. When the data recorded in the cluster is the end, an EOF indicating the end is recorded.

まず、記録媒体110からプロキシ復元用データの元となるデータとして図2(d)のFATテーブルからクリップファイルの部分を抜き出す。ここで、クリップとは関係ないファイル部分については未使用を表す00hに置き換える。このようにして作成したプロキシ復元用データは非圧縮データとなる。図2(c)は、この非圧縮データの状態を示したものである。   First, the clip file portion is extracted from the FAT table of FIG. 2D as data that is the source of proxy restoration data from the recording medium 110. Here, the file portion not related to the clip is replaced with 00h indicating unused. The proxy restoration data created in this way is uncompressed data. FIG. 2 (c) shows the state of the uncompressed data.

また、映像・音声データを数フレーム単位ごとに記録する場合には、記録パターンを決めることが出来る。例えば、記録する映像データの1フレームのデータサイズが288000バイトに対し、音声データの1フレームのデータサイズが3840バイトのとき、映像データのデータサイズは音声データのデータサイズの75倍となる。このとき、音声データが1クラスタサイズに達するまで、記録バッファメモリ105にデータを蓄積し、1クラスタサイズに達したときに記録媒体に書き込むとすると、映像データが75クラスタ分書き込まれるのに対し、音声データは1クラスタ分書き込まれる。図2では説明のため、記録パターンとしてクリップ管理情報ファイル及びサムネイル画像ファイルがまず1クラスタずつ記録され、以後は映像ファイルが3クラスタ、音声ファイルが2クラスタのパターンが続く例を示している。記録パターンは記録レートや、音声チャンネル数などに依存する。例えば、25Mbpsの映像データに比べ50Mbpsの映像データはサイズが倍になるため映像データと音声データの比率が変わる。また音声チャンネル数が増えればファイル数も増える。このことは、機器間で、記録フォーマット毎の記録パターンを統一しておけば、記録フォーマットから記録パターンを知ることが出来るといえる。このように記録パターンが決まっている場合には、この記録パターンと、映像ファイルおよび音声ファイルが記録されている先頭クラスタ番号と、各ファイルのサイズと、各クラスタの使用・未使用とがわかればFATテーブルを復元できる。したがって、FATテーブルにおけるクリップファイル部分を、使用部分を1とおき未使用部分を0と置くようなビットマップ化を行うことでプロキシ復元用データのサイズを小さくすることができる。このようにして作成したプロキシ復元用データはビットマップ化データとなる。図2(b)は、このビットマップ化データの状態を示したものである。   In addition, when video / audio data is recorded every several frames, a recording pattern can be determined. For example, when the data size of one frame of video data to be recorded is 288000 bytes and the data size of one frame of audio data is 3840 bytes, the data size of the video data is 75 times the data size of the audio data. At this time, if the audio data is accumulated in the recording buffer memory 105 until it reaches one cluster size and written to the recording medium when the one cluster size is reached, the video data is written for 75 clusters. Audio data is written for one cluster. For the sake of explanation, FIG. 2 shows an example in which a clip management information file and a thumbnail image file are first recorded as recording patterns one cluster at a time, and thereafter, a video file has 3 patterns and an audio file has 2 patterns. The recording pattern depends on the recording rate and the number of audio channels. For example, since the size of video data of 50 Mbps is doubled compared to video data of 25 Mbps, the ratio of video data and audio data changes. As the number of audio channels increases, the number of files increases. This can be said that if the recording pattern for each recording format is standardized among devices, the recording pattern can be known from the recording format. If the recording pattern is determined in this way, if you know the recording pattern, the top cluster number where the video and audio files are recorded, the size of each file, and the use / unuse of each cluster The FAT table can be restored. Therefore, the size of the proxy restoration data can be reduced by converting the clip file portion in the FAT table into a bitmap so that the used portion is set to 1 and the unused portion is set to 0. The proxy restoration data created in this way becomes bitmapped data. FIG. 2B shows the state of this bitmapped data.

さらに、映像・音声データは記録速度を向上させるため、連続した空き領域に記録することが多い。このような場合、使用クラスタが連続するため、RLE(Run Length Encoded)を用いて圧縮を行うと効率がよくなる。RLEはデータの中に同じ符号が連続して並んでいる場合に、その符号と連続する個数によって表現することで圧縮する手法である。このようにして作成したプロキシ復元用データはRLEデータとなる。図2(a)は、このRLEデータの状態を示したものである。なお、圧縮手法はRLEでなくとも他の可逆である手法を用いてもよい。   Furthermore, video / audio data is often recorded in a continuous free area in order to improve the recording speed. In such a case, since the used clusters are continuous, the efficiency is improved by performing compression using RLE (Run Length Encoded). RLE is a method of compressing data by expressing it by the number of consecutive codes when the same codes are continuously arranged in the data. The proxy restoration data created in this way becomes RLE data. FIG. 2A shows the state of the RLE data. The compression method may be other reversible methods than RLE.

プロキシ復元用データを上記のどのタイプで作成するかは、クリップの記録フォーマットによって決めることで行う。例えば、フレーム間圧縮を行う記録フォーマットでは、動きが少ない映像の場合、動きが多い場合に比べサイズが小さくなるため、映像データと音声データの比率は変動する。このような記録フォーマットの場合は上記の非圧縮データをプロキシ復元用データとする。また、クリップを記録するクラスタのクラスタ番号が昇順になるとは限らないような場合も、非圧縮データをプロキシ復元用データとする。   Which type of proxy restoration data is created is determined by the clip recording format. For example, in a recording format that performs inter-frame compression, the size of a video with little motion is smaller than that with a lot of motion, so the ratio between video data and audio data varies. In the case of such a recording format, the uncompressed data is used as proxy restoration data. Further, even when the cluster numbers of the clusters that record the clips are not always in ascending order, the uncompressed data is used as proxy restoration data.

また、フレーム内圧縮を行いフレームデータのサイズが固定の記録フォーマットでは、上記のように記録パターンを決めることができる。このとき、クリップを記録するクラスタのクラスタ番号が昇順になるように記録できる場合でかつ、記録レートが低く、クリップデータを連続した空き領域に記録する必要がない場合には、クリップデータが記録されているクラスタの間に、他のファイルのデータが記録されることが多くなるため、上記のビットマップ化データをプロキシ復元用データとする。また、記録レートが高く、連続した空き領域に記録する場合には、上記のRLEデータをプロキシ復元用データとする。   In a recording format in which intra-frame compression is performed and the size of the frame data is fixed, the recording pattern can be determined as described above. At this time, if the recording can be performed so that the cluster numbers of the clips to be recorded are in ascending order, and the recording rate is low and there is no need to record the clip data in a continuous free area, the clip data is recorded. Since the data of other files is often recorded between the existing clusters, the bitmapped data is used as proxy restoration data. Further, when recording is performed in a continuous free area with a high recording rate, the RLE data is used as proxy restoration data.

以下、プロキシ復元用データはRLEで圧縮されたRLEデータであるものとして説明する。   In the following description, it is assumed that the proxy restoration data is RLE data compressed by RLE.

以上の方法で作成したプロキシ復元用データをもとに、クリップファイル処理手段102によりプロキシ復元用データファイルを作成する。プロキシ復元用データファイルにはFATテーブルを復元する際に必要となる情報を記録する。図3はプロキシ復元用データファイルのデータ構造を示す図である。図3に示されるようにプロキシ復元用データファイルはテキスト形式のファイルとして記録され、プロキシ復元用データファイルを構成する各要素はタグで囲まれている。例えば、MediaIDのタグで囲まれた要素はクリップが記録されている記録媒体110のシリアル番号であり、記録媒体を特定するためのものである。StartClusterのタグで囲まれた要素はクリップファイルが記録されている先頭のクラスタ番号を示しており、図2のクリップファイルの記録配置の場合、クリップ管理情報ファイルが記録されているクラスタ番号である“06h”が記録される。Patternのタグで囲まれた要素は記録パターンを示しており、Video、Audioのタグで囲まれた要素でそれぞれの記録されるクラスタ数を示している。なお、プロキシ復元用データを作成する機器と、プロキシ復元用データから復元する機器との間で、記録フォーマット毎の記録パターンが統一されていればPatternのタグは必要ない。Tableのタグで囲まれた要素はプロキシ復元用データを示しており、Typeのタグで囲まれた要素でデータ形式を示し、Dataのタグで囲まれた要素には上記で作成したプロキシ復元用データが記録される。ここではRLEで圧縮されたRLEデータが記録されている。なお、図3ではテキスト形式の例を示したが、バイナリ形式のファイルとしてもよい。   Based on the proxy restoration data created by the above method, a proxy restoration data file is created by the clip file processing means 102. Information necessary for restoring the FAT table is recorded in the proxy restoration data file. FIG. 3 is a diagram showing a data structure of the proxy restoration data file. As shown in FIG. 3, the proxy restoration data file is recorded as a text file, and each element constituting the proxy restoration data file is surrounded by tags. For example, the element surrounded by the MediaID tag is the serial number of the recording medium 110 on which the clip is recorded, and is used to specify the recording medium. The element enclosed by the StartCluster tag indicates the first cluster number in which the clip file is recorded. In the case of the clip file recording arrangement of FIG. 2, the cluster number in which the clip management information file is recorded is “ 06h "is recorded. Elements surrounded by the “Pattern” tag indicate a recording pattern, and the elements surrounded by the “Video” and “Audio” tags indicate the number of clusters to be recorded. Note that if the recording pattern for each recording format is unified between the device that creates the proxy restoration data and the device that restores from the proxy restoration data, the Pattern tag is not necessary. The element enclosed in the Table tag indicates the proxy restoration data, the element enclosed in the Type tag indicates the data format, and the element enclosed in the Data tag indicates the proxy restoration data created above. Is recorded. Here, RLE data compressed by RLE is recorded. In addition, although the example of the text format was shown in FIG. 3, it is good also as a file of a binary format.

次に、プロキシ復元用データファイルを用いて本線データを復旧する方法について説明する。   Next, a method for restoring main line data using a proxy restoration data file will be described.

図4は、クリップの配置情報復元方法のフローチャートである。ステップS401において、記録媒体111からプロキシデータを読み込み、GUI処理手段104によりLCDモニタ126にプロキシサムネイル画像一覧を表示する。ユーザは入力手段120を通して、GUI処理手段104により、LCDモニタ126に表示されているカーソルを移動してプロキシデータを選択する。選択されたプロキシデータのプロキシ映像データはファイルシステム107を通して読み込まれ、再生バッファメモリ106に蓄積される。再生バッファメモリ106のデータはデコーダ125によって復号された後、映像・音声出力手段124により出力される。ユーザは出力された映像・音声を確認することで復元したい映像データに対するプロキシデータを選ぶ。   FIG. 4 is a flowchart of the clip arrangement information restoring method. In step S 401, proxy data is read from the recording medium 111, and the proxy thumbnail image list is displayed on the LCD monitor 126 by the GUI processing unit 104. The user moves the cursor displayed on the LCD monitor 126 by the GUI processing means 104 through the input means 120 and selects proxy data. The proxy video data of the selected proxy data is read through the file system 107 and stored in the reproduction buffer memory 106. The data in the reproduction buffer memory 106 is decoded by the decoder 125 and then output by the video / audio output means 124. The user selects proxy data for video data to be restored by checking the output video / audio.

ステップS402において、選択されたプロキシデータのプロキシ復元用データファイルからプロキシ復元用データを読み込み、配置情報処理手段103によって、映像データのFATテーブルのデータとなるように復号する。ここで、復号方法について図5を用いて説明する。まず、図5において、図2(a)に示したRLEデータを図2(b)のビットマップ化データに復号することは容易である。すなわち、値を一つ読み込み、長さを求めた後、後ろに続くデータを長さ分書き出す。以後続けることでビットマップ化データに復号することができる。   In step S402, the proxy restoration data is read from the proxy restoration data file of the selected proxy data, and is decoded by the arrangement information processing means 103 so as to become the data of the FAT table of the video data. Here, the decoding method will be described with reference to FIG. First, in FIG. 5, it is easy to decode the RLE data shown in FIG. 2A into the bitmapped data in FIG. That is, after reading one value and obtaining the length, the subsequent data is written for the length. By continuing thereafter, it can be decoded into bitmapped data.

次に、ファイルシステム107により、プロキシ復元用データファイルからクリップの先頭クラスタ番号を読み込み、図5のようにビットマップ化データの各ビットに対しクラスタ番号を割り当てる。さらに、プロキシ復元用データファイルから記録パターンを読み込むことで、ビットマップ化データの使用部分に対し、各ファイルを対応付けすることができる。各ビットに対し、クラスタ番号とファイルとを対応付けすることができたので、各ファイルにおいてクラスタチェーンをつなぐことで図5のように、元のFATテーブルデータである非圧縮データに復号することができる。   Next, the file system 107 reads the first cluster number of the clip from the proxy restoration data file, and assigns a cluster number to each bit of the bitmapped data as shown in FIG. Furthermore, by reading the recording pattern from the proxy restoration data file, each file can be associated with the used portion of the bitmapped data. Since the cluster number and the file can be associated with each bit, it is possible to decode the original FAT table data into the uncompressed data as shown in FIG. 5 by connecting the cluster chain in each file. it can.

なお、プロキシ復元用データファイルに記録パターンが記録されておらず、プロキシ復元用データを作成する機器と、プロキシ復元用データから復元する機器との間で、記録フォーマット毎の記録パターンが統一されている場合にはプロキシクリップ管理情報ファイルから記録レートや音声チャンネル数などを取得し記録パターンを決める。   The recording pattern is not recorded in the proxy restoration data file, and the recording pattern for each recording format is unified between the device that creates the proxy restoration data and the device that restores from the proxy restoration data. If so, the recording pattern and the number of audio channels are acquired from the proxy clip management information file to determine the recording pattern.

ここで、本線データ及びプロキシデータの各ファイルは、図6に示すようなディレクトリ構成の下に配置される。本線データは記録媒体110に記録され、プロキシデータは記録媒体111に記録される。また、本線データの各ファイルとプロキシデータの各ファイルの名前(ファイル名を構成する、拡張子の左側部分)はクリップ毎に統一してあり、拡張子をファイルのフォーマットにしたがって変えてある。例えば図6においては、クリップ名が“0001”であり、このクリップのプロキシ映像ファイルは“0001.mp4”である。したがって、クリップが削除されたり、記録媒体110がフォーマットされたりして本線データのクリップの各ファイル名が不明になっても、プロキシデータからファイル名を復元することができる。また、本線データのクリップの各ファイルのサイズは、プロキシクリップ管理情報ファイルを参照することで取得できる。すなわち、プロキシクリップ管理情報ファイルからクリップの全フレーム数を表すデュレーションD(フレーム)と本線データの記録レートR(ビット/秒)とフレームレートF(フレーム/秒)とを取得でき、ファイルサイズS(ビット)は、S=D/F×Rで算出することができる。なお、プロキシクリップ管理情報ファイル及びプロキシサムネイル画像ファイルは本線データに記録されているクリップ管理情報ファイルおよびサムネイル画像ファイルと同一のものである。プロキシクリップ管理情報ファイルがない場合は、プロキシ復元用データを記録する際に各ファイルのファイルサイズ、またはファイルサイズを求めるのに必要なデュレーション、記録レート及びフレームレートを一緒に記録しておく必要がある。   Here, the main line data and proxy data files are arranged under a directory structure as shown in FIG. The main line data is recorded on the recording medium 110, and the proxy data is recorded on the recording medium 111. The names of the main line data files and the proxy data files (the left side of the extension constituting the file name) are unified for each clip, and the extensions are changed according to the file format. For example, in FIG. 6, the clip name is “0001”, and the proxy video file of this clip is “0001.mp4”. Therefore, even if the clip is deleted or the recording medium 110 is formatted and the file name of each clip of the main line data becomes unknown, the file name can be restored from the proxy data. Further, the size of each file of the main line data clip can be acquired by referring to the proxy clip management information file. That is, the duration D (frame) indicating the total number of frames of the clip, the recording rate R (bit / second) of the main line data, and the frame rate F (frame / second) can be acquired from the proxy clip management information file, and the file size S ( Bit) can be calculated by S = D / F × R. The proxy clip management information file and the proxy thumbnail image file are the same as the clip management information file and the thumbnail image file recorded in the main line data. If there is no proxy clip management information file, it is necessary to record the file size of each file or the duration, recording rate, and frame rate required to determine the file size when recording proxy restoration data. is there.

次にディレクトリエントリについて説明する。ディレクトリエントリはディレクトリやファイルの情報を示すものであり、ディレクトリやファイルの名前、データが記録されている先頭のクラスタ番号、データサイズ、及び作成日時などが記録される。また、ディレクトリ構成の最上階層のディレクトリはルートディレクトリと呼ばれ、このディレクトリ内のディレクトリやファイルに対するディレクトリエントリはFAT32の場合、クラスタ番号が02hのクラスタに記録される(FAT12及びFAT16の場合はルートディレクトリ専用の領域が存在する)。図7は図6のディレクトリ構成における、ディレクトリエントリ情報を示すものである。(a)ルートディレクトリにあるCONTENTSディレクトリに対するディレクトリエントリが指し示すクラスタ番号03hには(b)CONTENTSディレクトリ内のディレクトリやファイルに対するディレクトリエントリが記録されている。同様にすることで(c)VIDEOディレクトリや(d)AUDIOディレクトリなどを参照することができる。また、ファイルに対するディレクトリエントリが指し示す各クラスタ番号には、そのファイルのデータが記録されている。ここで、クリップが削除された場合にはクリップの各ファイルのディレクトリエントリが消去される。また、記録媒体をフォーマットした場合には(a)ルートディレクトリ内のディレクトリエントリがすべて消去される。ディレクトリを作成するとそのディレクトリ内のディレクトリエントリはすべて消去されるため、再度CONTENTSディレクトリ以下のディレクトリを作成するとクリップファイルに対するディレクトリエントリはすべて消去される。したがって、クリップファイルを復元するには、クリップファイルのディレクトリエントリを復元する必要がある。ディレクトリエントリ内の情報でファイルアクセスに必要なものは、ファイル名、ファイルサイズ及び開始クラスタであり、これらの情報はプロキシに記録されている。したがって、これらの情報をファイルシステム107によりプロキシ復元用データファイルから読み出すことでクリップファイルに対するディレクトリエントリを復元することが出来る。なお、作成日時等の情報は、復元するときの日時を記録すればよいが、必要であればプロキシ復元用データファイルを記録する際に、CreateDate等のタグを追加記録し、この情報を読み込むことで復元してもよい。以上のことで、プロキシ復元用データファイルからクリップの配置情報を復元することが出来る。   Next, the directory entry will be described. The directory entry indicates directory and file information, and the name of the directory and file, the top cluster number in which data is recorded, the data size, the creation date and time, and the like are recorded. The directory at the top level of the directory structure is called a root directory. Directory entries for directories and files in this directory are recorded in a cluster having a cluster number of 02h in the case of FAT32 (in the case of FAT12 and FAT16, the root directory). There is a dedicated area). FIG. 7 shows directory entry information in the directory structure of FIG. (A) In the cluster number 03h indicated by the directory entry for the CONTENTS directory in the root directory, the directory entry for the directory or file in the (b) CONTENTS directory is recorded. By doing the same, it is possible to refer to (c) VIDEO directory, (d) AUDIO directory, and the like. Each cluster number indicated by the directory entry for the file records the data of the file. Here, when the clip is deleted, the directory entry of each file of the clip is deleted. When the recording medium is formatted, (a) all directory entries in the root directory are deleted. When a directory is created, all directory entries in the directory are deleted. Therefore, when a directory below the CONTENTS directory is created again, all directory entries for clip files are deleted. Therefore, to restore the clip file, it is necessary to restore the directory entry of the clip file. Information necessary for file access in the directory entry is a file name, a file size, and a start cluster, and these information are recorded in the proxy. Therefore, the directory entry for the clip file can be restored by reading the information from the proxy restoration data file by the file system 107. Information such as creation date and time may be recorded as the date and time when the data is restored. If necessary, a tag such as CreateDate is additionally recorded and the information is read when the proxy restoration data file is recorded. You may restore it. As described above, the clip arrangement information can be restored from the proxy restoration data file.

次に、ステップS403において、ステップS402で復元した映像データのFATテーブルを記録媒体110のFATテーブルに書き戻す際に、書き戻す先がFATテーブル上で「未使用」であることを確認する。「未使用」である場合はステップS406に進む。「未使用」でない場合は、映像データが記録されていた領域に別のデータが記録されている可能性があるのでステップS404に進み、ユーザーに対しエラーを出力する。その後、ステップS405において、処理を続行するかどうかをユーザーに問い合わせる。続行しない場合は処理を終了する。続行する場合はステップS406に進む。   Next, in step S403, when the FAT table of the video data restored in step S402 is rewritten to the FAT table of the recording medium 110, it is confirmed that the rewriting destination is “unused” on the FAT table. If it is “unused”, the process proceeds to step S406. If it is not “unused”, there is a possibility that other data is recorded in the area where the video data was recorded, so the process proceeds to step S404, and an error is output to the user. Thereafter, in step S405, the user is inquired whether to continue the process. When not continuing, the process is terminated. When continuing, it progresses to step S406.

ステップS406において、ステップS402で復元した映像データのFATテーブルを用いて記録媒体110から映像データを読み出し、映像の再生を行う。このとき、映像ファイルや音声ファイルのフォーマット規格は既知であるため、各ファイルのフォーマットを調べ、フォーマット規格と一致しない場合には、映像データの記録領域に別のデータが記録された可能性があるため、ステップS407に進みエラーを出力して処理を終了する。一致した場合はステップS408に進む。   In step S406, the video data is read from the recording medium 110 using the FAT table of the video data restored in step S402, and the video is reproduced. At this time, since the format standards of the video file and the audio file are known, the format of each file is checked, and if it does not match the format standard, another data may be recorded in the video data recording area. Therefore, the process proceeds to step S407, an error is output, and the process is terminated. If they match, the process proceeds to step S408.

ステップS408において、ユーザーに対し、ステップS402で作成した映像データのFATテーブルを記録媒体110のFATテーブルに書き戻すかどうかを問い合わせる。書き戻さない場合は処理を終了する。書き戻す場合はステップS409に進み、ステップS402で作成した映像データのFATテーブルを記録媒体110のFATテーブルに書き戻す。このときステップS402で復元した映像データのFATテーブルの値が0である未使用部分は書き戻さないようにする。さらに、上述の通り、ディレクトリエントリの修復を行い、処理を終了する。   In step S408, the user is inquired whether to write back the FAT table of the video data created in step S402 to the FAT table of the recording medium 110. If not written back, the process is terminated. In the case of writing back, the process proceeds to step S409, and the FAT table of the video data created in step S402 is written back to the FAT table of the recording medium 110. At this time, the unused portion in which the value of the FAT table of the video data restored in step S402 is 0 is not written back. Further, as described above, the directory entry is repaired and the process is terminated.

なお、ディレクトリエントリが修復できない場合やFATテーブルを書き戻したくない場合は、図に記載していない他の記録媒体に、ステップS402で復元した映像データのFATテーブルを使用して、記録媒体110から読み込んだデータを新たにファイルとして記録してもよい。   Note that if the directory entry cannot be repaired or if it is not desired to write back the FAT table, the FAT table of the video data restored in step S402 is used as the other recording medium not shown in FIG. The read data may be recorded as a new file.

以上のステップを行うことで、誤ってフォーマットしてしまったり、クリップを削除してしまったりした記録媒体からクリップを復元することができる。   By performing the above steps, it is possible to restore a clip from a recording medium that has been accidentally formatted or deleted.

なお、上述の例ではプロキシデータを記録再生装置に装着されている記録媒体に記録したが、無線LANや有線LAN経由でネットワーク先の別の機器の記録媒体に記録してもよい。また、プロキシ復元用データをファイルとして、個別に記録したが、プロキシ映像ファイル等に組み込んでもよい。例えば、プロキシ映像ファイルがMPEG4ファイルフォーマットで記録される場合、MPEG4ファイルフォーマットは、オブジェクト構造を有し、幾つかのボックスにより構成されており、その中のフリースペースボックスやスキップボックスと呼ばれる、ユーザーデータや、パディングのためのパディングデータを格納するためのボックスがあるため、その領域にプロキシ復元用データを記録してもよい。   In the above example, proxy data is recorded on a recording medium mounted on the recording / reproducing apparatus. However, the proxy data may be recorded on a recording medium of another device at the network destination via a wireless LAN or a wired LAN. Further, although the proxy restoration data is individually recorded as a file, it may be incorporated into a proxy video file or the like. For example, when a proxy video file is recorded in the MPEG4 file format, the MPEG4 file format has an object structure and is composed of several boxes, and user data called a free space box or skip box in the box. In addition, since there is a box for storing padding data for padding, proxy restoration data may be recorded in that area.

(実施の形態2)
実施の形態1では、プロキシ復元用データを用いて、映像ファイルの管理情報に異常があった場合に管理情報を復元する方法について説明したが、実施の形態2では、プロキシ復元用データを、映像データの再生や映像データの取得のための情報として使用する方法について説明する。
(Embodiment 2)
In the first embodiment, the method for restoring management information when there is an abnormality in the management information of the video file using the proxy restoration data has been described. However, in the second embodiment, the proxy restoration data is used as the video restoration information. A method used as information for data reproduction and video data acquisition will be described.

図8は、実施の形態2が用いられる放送システムの略構成を示す図である。図8の記録再生装置100は実施の形態1の記録再生装置と同等の構成をしており、記録媒体110には高解像度の本線データが記録され、記録媒体111には低解像度のプロキシデータが記録される。   FIG. 8 is a diagram showing a schematic configuration of a broadcasting system in which the second embodiment is used. The recording / reproducing apparatus 100 in FIG. 8 has the same configuration as that of the recording / reproducing apparatus of the first embodiment, and high-resolution main line data is recorded on the recording medium 110, and low-resolution proxy data is recorded on the recording medium 111. To be recorded.

また、編集端末800はプロキシ編集を行うものであり、図示しない記録媒体I/Fに記録媒体111を接続しプロキシデータを読み込む。なお、プロキシデータは、無線LAN等のネットワーク経由で転送してもよい。   The editing terminal 800 performs proxy editing, and connects the recording medium 111 to a recording medium I / F (not shown) to read proxy data. The proxy data may be transferred via a network such as a wireless LAN.

データサーバ820は、記録再生装置100で撮影された映像データをバックアップするためのサーバであり、システム制御部101と同等の制御部を有している。図示しない記録媒体I/Fに記録媒体110を接続し、データを読み込み、データサーバ820に接続されている記録媒体830にコピーする。なお、記録媒体830は、大容量のものが好ましく、ハードディスクなどが適している。   The data server 820 is a server for backing up video data captured by the recording / reproducing apparatus 100 and has a control unit equivalent to the system control unit 101. The recording medium 110 is connected to a recording medium I / F (not shown), the data is read, and copied to the recording medium 830 connected to the data server 820. Note that the recording medium 830 preferably has a large capacity, and a hard disk or the like is suitable.

ここで、記録媒体110から記録媒体830へのデータのコピー方法について図9を用いて説明する。管理領域110aには、FATテーブルを含むファイルの管理情報が記録されており、データ領域110bには、データが記録されている。すなわち、データ領域110bは、FATテーブルが指し示すクラスタ群である。   Here, a method of copying data from the recording medium 110 to the recording medium 830 will be described with reference to FIG. Management information of a file including a FAT table is recorded in the management area 110a, and data is recorded in the data area 110b. That is, the data area 110b is a cluster group indicated by the FAT table.

ファイルシステム107により、記録媒体830にデータ領域110bをイメージコピーする。なお、イメージコピーは物理コピーとも呼ばれ、記録媒体の領域を順番に読み出し、コピー先の記録媒体に書き込むことで物理的な配置もコピーされる。すなわち、データ領域110bの全データをデータの物理的配置を変えることなくコピーし、イメージファイル830aとして記録する。このとき、記録媒体110からのデータであることがわかる識別情報を付加する。例えば、記録媒体110のシリアル番号に拡張子を付けたものを、イメージファイルのファイル名とする。シリアル番号が“0703230001”の場合、ファイル名は“0703230001.img”となる。   The data area 110 b is image copied to the recording medium 830 by the file system 107. Note that image copy is also called physical copy, and the physical layout is also copied by sequentially reading the area of the recording medium and writing it to the copy destination recording medium. That is, all data in the data area 110b is copied without changing the physical arrangement of the data, and recorded as an image file 830a. At this time, identification information indicating that the data is from the recording medium 110 is added. For example, the serial number of the recording medium 110 with an extension is used as the file name of the image file. When the serial number is “0703233001”, the file name is “0703233001.img”.

以上のことにより、データサーバ820には映像データが蓄積されていく。   As described above, video data is accumulated in the data server 820.

ネットワーク810は、インターネットやイントラネットなどのネットワークであり、編集端末800とデータサーバ820との通信を可能とする。編集端末800はプロキシ編集が完了したら、編集情報とプロキシ復元用データをネットワーク810を経由してデータサーバ820に送信する。   A network 810 is a network such as the Internet or an intranet, and enables communication between the editing terminal 800 and the data server 820. When the proxy editing is completed, the editing terminal 800 transmits the editing information and proxy restoration data to the data server 820 via the network 810.

データサーバ820は、受信したプロキシ復元用データをファイルシステム用メモリ108に保持する。プロキシ復元用データには、上述したように、記録再生装置100で記録される際に、記録媒体を識別するためのシリアル番号がMediaIDタグに囲まれて記録されているので、ファイルシステム107によりこのシリアル番号を取り出す。このシリアル番号に対応するファイル名のイメージファイル830aに対して、プロキシ復元用データのファイル配置情報をもとに、映像データを読み込む。すなわち、ファイルシステム107により、プロキシ復元用データから実施の形態1と同様にして、クリップファイルのFATテーブル及びディレクトリエントリを復元する。復元したFATテーブル及びディレクトリエントリはファイルシステム用メモリ108に保持する。イメージファイル830aは記録媒体110の物理的な配置が変化することなく記録されているため、復元したFATテーブル及びディレクトリエントリを使用することでクリップファイルを参照することができる。このようにして読み込んだ映像データは、編集端末800に送信されたり、受信した編集情報を元に編集され、放送(オンエア)することができる。なお、上記では記録媒体830に管理領域110aをコピーせずにデータ領域110bのみをイメージコピーすることでイメージファイル830aを作成した。このことで、管理領域110a分の容量を節約することができ、またプロキシ復元用データを使用する場合のみクリップデータを参照できるようになるため、第三者からの参照を防ぐことが出来る。   The data server 820 holds the received proxy restoration data in the file system memory 108. As described above, since the serial number for identifying the recording medium is recorded in the proxy restoration data while being recorded by the recording / reproducing apparatus 100, it is recorded by the file system 107 by the file system 107. Take out the serial number. For the image file 830a having a file name corresponding to the serial number, video data is read based on the file arrangement information of the proxy restoration data. That is, the file system 107 restores the FAT table and directory entry of the clip file from the proxy restoration data in the same manner as in the first embodiment. The restored FAT table and directory entry are held in the file system memory 108. Since the image file 830a is recorded without changing the physical arrangement of the recording medium 110, the clip file can be referred to by using the restored FAT table and directory entry. The video data read in this way can be transmitted to the editing terminal 800, edited based on the received editing information, and broadcast (on-air). In the above description, the image file 830a is created by copying only the data area 110b without copying the management area 110a to the recording medium 830. As a result, the capacity for the management area 110a can be saved, and clip data can be referred to only when proxy restoration data is used, so that reference from a third party can be prevented.

以上のことで、プロキシ復元用データを映像データの再生や映像データの取得のための情報として使用することができる。このことは、以下のような場合にも有効である。   As described above, the proxy restoration data can be used as information for reproduction of video data and acquisition of video data. This is also effective in the following cases.

通常、ファイルにアクセスするには配置情報から先頭クラスタ番号を参照し、そのクラスタにアクセスする。次のクラスタにアクセスするには再度、配置情報から次のクラスタ番号を参照し、そのクラスタにアクセスする。このことを順に繰り返すことでファイルにアクセスすることができる。したがって、クラスタを参照するためには配置情報−クラスタ間のシーク処理が発生する。一般には、このシーク処理を回避するために配置情報をファイルシステム用メモリ108のようなメモリに読み込んでおき、これを参照することでシーク処理を回避する。ただし、組み込み機器などメモリ容量が十分に用意できない場合には配置情報をすべてメモリに読み込まず、必要な部分のみを一定サイズ読み込む。したがって、参照する配置情報がメモリにない場合は記録媒体から読み込む必要があり、シーク処理が発生する。   Normally, to access a file, the first cluster number is referred to from the arrangement information, and the cluster is accessed. To access the next cluster, the next cluster number is referred to from the arrangement information again, and the cluster is accessed. By repeating this in order, the file can be accessed. Therefore, in order to refer to the cluster, a seek process between the arrangement information and the cluster occurs. In general, in order to avoid this seek process, the placement information is read into a memory such as the file system memory 108, and the seek process is avoided by referring to this information. However, if a sufficient memory capacity cannot be prepared, such as an embedded device, all the arrangement information is not read into the memory, and only a necessary part is read at a certain size. Therefore, when there is no arrangement information to be referenced in the memory, it is necessary to read from the recording medium, and seek processing occurs.

一方本発明では、取得したい本線データに関する配置情報だけをプロキシ復元用データとしてあらかじめプロキシデータ中に記録している。プロキシ復元用データは、配置情報全体よりもサイズが小さく、プロキシ復元用データをメモリに読み込んで参照することができれば本線データの取得が可能である。   On the other hand, in the present invention, only arrangement information relating to main line data to be acquired is recorded in the proxy data in advance as proxy restoration data. The proxy restoration data is smaller in size than the entire arrangement information, and the main line data can be acquired if the proxy restoration data can be read into the memory and referenced.

本発明にかかる記録再生装置では、映像データ毎に配置情報をバックアップすることで、映像データが書かれていたデータ領域が別のデータに上書きされない限り復元することができ、また映像データと関連が深いプロキシデータに映像データの配置情報を付加することで管理も容易になるため、後工程でプロキシ編集を行うような映像を記録する記録再生装置等においても有効である。   In the recording / reproducing apparatus according to the present invention, by backing up the arrangement information for each video data, the data area in which the video data has been written can be restored unless overwritten with another data. Since management is facilitated by adding video data arrangement information to deep proxy data, it is also effective in a recording / reproducing apparatus or the like that records video for proxy editing in a later process.

本発明の実施の形態1の記録再生装置の構成を示す図The figure which shows the structure of the recording / reproducing apparatus of Embodiment 1 of this invention. 本発明の実施の形態1におけるクリップデータの配置情報復元用データ作成方法を説明するための図The figure for demonstrating the data creation method for arrangement | positioning information restoration of clip data in Embodiment 1 of this invention 本発明の実施の形態1におけるプロキシ復元用データファイルのデータ構造を示す図The figure which shows the data structure of the data file for proxy restoration in Embodiment 1 of this invention 本発明の実施の形態1に係るクリップの配置情報復元方法のフローチャートFlowchart of clip arrangement information restoring method according to Embodiment 1 of the present invention 本発明の実施の形態1におけるクリップデータの配置情報復元方法を説明するための図The figure for demonstrating the arrangement information restoration method of the clip data in Embodiment 1 of this invention 本発明の実施の形態1におけるクリップのディレクトリ配置を示す図The figure which shows the directory arrangement | positioning of the clip in Embodiment 1 of this invention 本発明の実施の形態1におけるディレクトリ構成におけるディレクトリエントリ情報を示す図The figure which shows the directory entry information in the directory structure in Embodiment 1 of this invention. 本発明の実施の形態2の放送システムの略構成を示す図The figure which shows schematic structure of the broadcast system of Embodiment 2 of this invention. 本発明の実施の形態2における映像データのコピー方法を説明するための図The figure for demonstrating the copy method of the video data in Embodiment 2 of this invention

符号の説明Explanation of symbols

100 記録再生装置
101 システム制御部
102 クリップファイル処理手段
103 配置情報処理手段
104 GUI処理手段
105 記録バッファメモリ
106 再生バッファメモリ
107 ファイルシステム
108 ファイルシステム用メモリ
110 記録媒体
111 記録媒体
120 入力手段
121 映像・音声入力手段
122 エンコーダHigh
123 エンコーダLow
124 映像・音声出力手段
125 デコーダ
126 LCDモニタ
DESCRIPTION OF SYMBOLS 100 Recording / reproducing apparatus 101 System control part 102 Clip file processing means 103 Arrangement information processing means 104 GUI processing means 105 Recording buffer memory 106 Playback buffer memory 107 File system 108 File system memory 110 Recording medium 111 Recording medium 120 Input means 121 Video / Voice input means 122 Encoder High
123 Encoder Low
124 video / audio output means 125 decoder 126 LCD monitor

Claims (3)

映像データをファイルとして第1の記録媒体に記録すると共に、前記映像データから前記映像データよりも低ビットレートの低ビットレート映像データを作成して第2の記録媒体に記録する記録再生装置であって、
前記第1の記録媒体に記録された映像データを前記第1の記録媒体上の配置情報を用いて管理し、前記映像データを前記第1の記録媒体に記録すると共に前記配置情報を更新するファイルシステムと、
前記配置情報から前記映像データの配置情報を抜き出して復元用データとして作成する復元用データ作成部と、
前記第2の記録媒体に前記低ビットレート映像データと共に前記復元用データを記録する記録部と、
前記第1の記録媒体に記録された前記映像データに対応する前記復元用データを前記第2の記録媒体から読み込み、前記映像データの配置情報を復元する復元部と、
を有する記録再生装置。
A recording / reproducing apparatus that records video data as a file on a first recording medium, creates low bit rate video data having a lower bit rate than the video data from the video data, and records the video data on a second recording medium. And
A file for managing video data recorded on the first recording medium using arrangement information on the first recording medium, recording the video data on the first recording medium, and updating the arrangement information System,
A restoration data creation unit that extracts the placement information of the video data from the placement information and creates it as restoration data;
A recording unit for recording the restoration data together with the low bit rate video data on the second recording medium;
A restoration unit that reads the restoration data corresponding to the video data recorded on the first recording medium from the second recording medium and restores the arrangement information of the video data;
A recording / reproducing apparatus.
前記ファイルシステムは、記録される映像データを所定サイズのブロック単位で管理し、
前記復元用データ作成部は、前記配置情報から前記映像データの配置情報を抜き出し、前記ブロック単位で前記第1の記録媒体において前記映像データが記録されているかどうかを1ビットであらわすビットマップデータに変換して前記復元用データとする、請求項1記載の記録再生装置。
The file system manages recorded video data in units of a predetermined size block,
The restoration data creation unit extracts the arrangement information of the video data from the arrangement information, and converts the video data into the bitmap data that indicates whether the video data is recorded on the first recording medium in units of blocks. The recording / reproducing apparatus according to claim 1, wherein the data is converted into the restoration data.
前記復元用データ作成部は、前記ビットマップデータにさらに圧縮処理を施して前記復元用データとする、請求項2記載の記録再生装置。 The recording / reproducing apparatus according to claim 2, wherein the restoration data creation unit further compresses the bitmap data to obtain the restoration data.
JP2007158260A 2007-06-15 2007-06-15 Recording / playback device Pending JP2008310889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007158260A JP2008310889A (en) 2007-06-15 2007-06-15 Recording / playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007158260A JP2008310889A (en) 2007-06-15 2007-06-15 Recording / playback device

Publications (1)

Publication Number Publication Date
JP2008310889A true JP2008310889A (en) 2008-12-25

Family

ID=40238365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007158260A Pending JP2008310889A (en) 2007-06-15 2007-06-15 Recording / playback device

Country Status (1)

Country Link
JP (1) JP2008310889A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011081457A (en) * 2009-10-02 2011-04-21 Sony Corp Information processing apparatus and method
JP2013542513A (en) * 2010-09-29 2013-11-21 シマンテック コーポレーション Method and system for performing individual restore of a database from a differential backup
JP2016167787A (en) * 2015-03-10 2016-09-15 キヤノン株式会社 Recording apparatus and method
JP2020095636A (en) * 2018-12-14 2020-06-18 Necプラットフォームズ株式会社 Storage management device, storage system, storage management method and program
JP2023552294A (en) * 2020-12-01 2023-12-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Copying data from a storage system based on a linear tape file system to a random-access nonvolatile memory drive

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011081457A (en) * 2009-10-02 2011-04-21 Sony Corp Information processing apparatus and method
JP2013542513A (en) * 2010-09-29 2013-11-21 シマンテック コーポレーション Method and system for performing individual restore of a database from a differential backup
JP2016167787A (en) * 2015-03-10 2016-09-15 キヤノン株式会社 Recording apparatus and method
JP2020095636A (en) * 2018-12-14 2020-06-18 Necプラットフォームズ株式会社 Storage management device, storage system, storage management method and program
JP2023552294A (en) * 2020-12-01 2023-12-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Copying data from a storage system based on a linear tape file system to a random-access nonvolatile memory drive
JP7738654B2 (en) 2020-12-01 2025-09-12 インターナショナル・ビジネス・マシーンズ・コーポレーション Copying data from a linear tape file system-based storage system to a random access nonvolatile memory drive

Similar Documents

Publication Publication Date Title
CN101958136B (en) Video and audio recording and reproducing device and video and audio recording and reproducing method
JP4537083B2 (en) Data processing apparatus and control method thereof
EP1473934A2 (en) Video data recording/reproducing apparatus and video data management method for use in the same
JP2007108951A (en) Data management apparatus and recording medium management method
JP4580929B2 (en) Recording device, editing device, and digital video recording system
JP5156646B2 (en) Movie editing system and movie editing method
JP2008310889A (en) Recording / playback device
JP4251219B2 (en) Editing apparatus and editing method
JP2008192224A (en) Data and file system information recording apparatus and recording method
JP2010016748A (en) Recording apparatus and recording method
CN102270483A (en) Method to reserve index storage space during audio video interleaved recording
US9070403B2 (en) Processing of scalable compressed video data formats for nonlinear video editing systems
JP3524882B2 (en) Image recording device
KR20020069724A (en) Management method for video data of digital video recording and reproducting apparatus
JP2012065078A (en) Video server, and method for managing video data
JP4250477B2 (en) Media data recording method, media data recording apparatus, computer program, and computer-readable recording medium
US7865061B2 (en) Recording apparatus for recording data to recording medium with a Plurality of clusters
JP2004363825A (en) Recording / reproducing apparatus, recording / reproducing method, recording medium and program thereof
JP2010252128A (en) Metadata processing device, video processing device, and video processing system
JP4289403B2 (en) Editing apparatus and editing method
JP2011234068A (en) Video recording device and video recovery device
JP2014081974A (en) Information processing device and information processing method
JP2009171437A (en) Multi-image file creating method and multi-image file editing method
JP2009025899A (en) MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE DEVICE SYSTEM
JP4298583B2 (en) Imaging device and mobile phone