JP2010267352A - Data tape control device - Google Patents

Data tape control device Download PDF

Info

Publication number
JP2010267352A
JP2010267352A JP2009119509A JP2009119509A JP2010267352A JP 2010267352 A JP2010267352 A JP 2010267352A JP 2009119509 A JP2009119509 A JP 2009119509A JP 2009119509 A JP2009119509 A JP 2009119509A JP 2010267352 A JP2010267352 A JP 2010267352A
Authority
JP
Japan
Prior art keywords
data
file
tape
index
recorded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009119509A
Other languages
Japanese (ja)
Inventor
Ikko Kuroki
一巧 黒木
Hiroyuki Seguchi
博行 瀬口
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 JP2009119509A priority Critical patent/JP2010267352A/en
Publication of JP2010267352A publication Critical patent/JP2010267352A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform high-speed retrieval and direct reproduction of an AV file recorded in a linear recording medium such as a data tape. <P>SOLUTION: An AV index 300 is added in addition to a file index 111. The information thereof is specific to the AV file. A thumbnail image file 301 and a proxy video file 302 associated with the AV file are continuously arranged in the AV index file 300, and information on all the AV files recorded in the tape is held in a latest AV index. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、データテープ等のリニアアクセス媒体にAVファイルを記録するデータテープ制御装置に関し、より詳細には、AVファイルのインデックスの作成方法および記録する情報と、それらを利用してAVファイルを操作するデータテープ制御装置に関する。   The present invention relates to a data tape control apparatus for recording an AV file on a linear access medium such as a data tape, and more specifically, an AV file index creation method and information to be recorded, and an AV file operation using them. The present invention relates to a data tape control device.

データテープ制御装置は、コンピュータで扱うファイルをテープに記録し読み出す装置である。テープにファイルを記録し復元するにはファイル名、ディレクトリパス、作成日時、作成者、テープ上の記録位置等のファイルの属性情報の論理的な構成を定義して、テープ上で管理する必要がある。その構成定義をテープフォーマットと呼ぶ。以下、データテープ制御装置におけるテープドライブ制御およびテープフォーマットについて説明する。 The data tape control device is a device that records and reads out files handled by a computer on a tape. To record and restore files on tape, it is necessary to define the logical structure of file attribute information such as file name, directory path, creation date, creator, and recording position on the tape and manage it on the tape. is there. The configuration definition is called a tape format. Hereinafter, tape drive control and tape format in the data tape control apparatus will be described.

一般的に、データテープ制御装置はコンピュータに接続され、同じくコンピュータに接続されたハードディスク(HDD)装置等に記録されている複数のファイルを読み出し、一度にテープに記録する。この単位をデータセットと呼び、データセットの最後にはそれに記録したファイルの検索情報であるインデックスを作成する。   Generally, a data tape control device is connected to a computer, reads a plurality of files recorded in a hard disk (HDD) device or the like that is also connected to the computer, and records them on a tape at a time. This unit is called a data set. At the end of the data set, an index that is search information for the files recorded in the unit is created.

図1は、テープフォーマットの最上位の概念を示す図である。図1に示すように、テープフォーマットは、テープヘッダ101、複数のデータセット102〜104、テープフッタ105で構成される。また、図3にテープヘッダ101の項目例を示す。図2にデータセットの構成図を示す。データセットはデータセットヘッダ106、複数のファイル107〜110、ファイルインデックス111、データセットフッタ112で構成される。   FIG. 1 is a diagram showing the highest level concept of a tape format. As shown in FIG. 1, the tape format includes a tape header 101, a plurality of data sets 102 to 104, and a tape footer 105. FIG. 3 shows an example of items of the tape header 101. FIG. 2 shows a configuration diagram of the data set. The data set includes a data set header 106, a plurality of files 107 to 110, a file index 111, and a data set footer 112.

図4にファイルインデックス111の構成例を示す。図4に示すファイルインデックスの項目のうち、物理ブロックアドレスと論理ブロックアドレスを使用し、テープ上の物理的な記録位置を示す。物理ブロックとはテープドライブを制御する際に物理的にデータをテープに読み書きする最小単位である。   FIG. 4 shows a configuration example of the file index 111. Of the file index items shown in FIG. 4, the physical block address and logical block address are used to indicate the physical recording position on the tape. The physical block is a minimum unit for physically reading / writing data from / to the tape when the tape drive is controlled.

図7に従来のテープドライブ制御装置の構成を示す。テープシーク手段406は、物理ブロックによってテープ上でのデータの位置を指定することができる。論理ブロックは物理ブロックをさらに分割した単位であり、論理ブロックアドレスで記録位置を指定する。図3に示すテープヘッダの項目のうち、物理ブロックサイズは物理ブロックの大きさを示し、論理ブロックサイズは論理ブロックの大きさを示す。   FIG. 7 shows the configuration of a conventional tape drive control apparatus. The tape seek means 406 can designate the position of data on the tape by a physical block. A logical block is a unit obtained by further dividing a physical block, and a recording position is designated by a logical block address. Among the items of the tape header shown in FIG. 3, the physical block size indicates the size of the physical block, and the logical block size indicates the size of the logical block.

図5にファイルの記録位置を指定する例を示す。ファイルaのデータ115の記録位置は、ファイルaの物理ブロックアドレス113とファイルaの論理ブロックアドレス114とを使いテープ上の一意の場所を示すことができる。同様にファイルbのデータ118の記録位置は、ファイルaの物理ブロックアドレス116とファイルbの論理ブロックアドレス117とによって示される。次にインデックスについて説明する。   FIG. 5 shows an example of specifying the file recording position. The recording position of the data 115 of the file a can indicate a unique location on the tape using the physical block address 113 of the file a and the logical block address 114 of the file a. Similarly, the recording position of the data 118 of the file b is indicated by the physical block address 116 of the file a and the logical block address 117 of the file b. Next, the index will be described.

図4に示すようにファイルインデックスには、ファイル名、ディレクトリパス、作成日時、作成者、テープ上の記録位置を保持する。これらの情報からファイルをコンピュータ上に復元することができる。データテープに記録されたファイルの内容を確認するには、一旦HDD装置等の別媒体に復元してから、ファイルに応じた閲覧用コンピュータソフトウェアで閲覧する。   As shown in FIG. 4, the file index holds the file name, directory path, creation date / time, creator, and recording position on the tape. Files can be restored from this information on the computer. In order to check the contents of the file recorded on the data tape, the file is once restored to another medium such as an HDD device and then browsed with browsing computer software corresponding to the file.

従来のデータテープ制御装置は、新規にデータセットを作成するとき、そのインデックスにはデータセットに含まれるファイルに関する情報を保持していた。そのためデータテープに記録した全ファイルの情報を取得するためには、テープに記録されているすべてのデータセットのインデックスを読み出す必要があった。   When a conventional data tape control apparatus creates a new data set, the index stores information on files included in the data set. Therefore, in order to acquire information on all files recorded on the data tape, it is necessary to read the indexes of all data sets recorded on the tape.

また、データテープ等のリニアアクセス媒体にデータファイルの形態で保管したAVファイルを再生するには、HDD装置等の別媒体にそれらのファイルを復元することが必要である。AVファイルとは、少なくとも映像データを含むファイルを指し、音声データやメタデータが含まれることもある。AVファイルはその性質上ファイルサイズが大きくなることもあり、データテープのようなリニア記録媒体からデータを復元して再生するまでには多くの時間を要するという課題があった。そこで、AVファイルの代表画像であるサムネイルをインデックスに記録する方法が提案されている。例えば特許文献1には、追記型の光ディスクにおいて、データセット中のAVファイルに対して生成したAVサムネイルファイルをインデックスに含める構成が開示されている。   Also, in order to play back AV files stored in the form of data files on a linear access medium such as a data tape, it is necessary to restore those files to another medium such as an HDD device. An AV file refers to a file that includes at least video data, and may include audio data and metadata. An AV file may have a large file size due to its nature, and there is a problem that it takes a long time to restore and reproduce data from a linear recording medium such as a data tape. Therefore, a method for recording a thumbnail, which is a representative image of an AV file, in an index has been proposed. For example, Patent Document 1 discloses a configuration in which an AV thumbnail file generated for an AV file in a data set is included in an index in a write-once optical disc.

ランダムアクセスメディアである追記型の光ディスクでは、新規にデータセットを作成するときに、このデータセットおよび以前に作成したデータセットに含まれるファイルの情報を含めたインデックスを作成して記録する方法が取られている。この方法ではデータセットを作成する度に過去に作成したデータセットの分も含めたインデックスが作成されるため、情報が重複し、インデックスを記録するための容量が増大してしまう。特許文献1では、この問題を解決するため、最新のインデックスには以前に作成したデータセットに記録されているインデックス中のファイル情報への参照情報を保持する方法を提案している。   For write-once optical discs, which are random access media, when a new data set is created, an index that includes information on the files contained in this data set and previously created data sets is created and recorded. It has been. In this method, every time a data set is created, an index including the data set created in the past is created, so that information is duplicated and the capacity for recording the index increases. In order to solve this problem, Patent Literature 1 proposes a method of holding reference information to file information in an index recorded in a previously created data set in the latest index.

図6に、特許文献1に記載された従来の装置におけるインデックス構成図を示す。データセット200の次にデータセット207を追記する際、データセット207のインデックスにはそれに記録したAVサムネイルファイル208、209、210を有し、データセット200のAVサムネイルファイルの参照情報211、212、213を保持する。これにより、データセット207のインデックスを取得することにより、以前のデータセットに書かれたAVサムネイルファイルの記録位置を得ることができる。   FIG. 6 shows an index configuration diagram in the conventional apparatus described in Patent Document 1. In FIG. When the data set 207 is added after the data set 200, the index of the data set 207 has the AV thumbnail files 208, 209, 210 recorded thereon, and reference information 211, 212, AV reference information 211, 212, 213 is held. Thereby, by acquiring the index of the data set 207, the recording position of the AV thumbnail file written in the previous data set can be obtained.

国際公開第03/079359号International Publication No. 03/079359

しかしながら、前記従来の構成では、データテープにAVファイルを記録すると次の課題があった。   However, the conventional configuration has the following problems when an AV file is recorded on a data tape.

データテープ等のリニアアクセス媒体にデータファイルの形態で保管したAVファイルを再生するには、HDD装置等の別媒体にそれらのファイルを復元することが必要である。AVファイルはその性質上ファイルサイズが大きくなることもあり、データテープのようなリニア記録媒体からデータを復元して再生するまでには多くの時間を要するという課題があった。   In order to reproduce AV files stored in the form of data files on a linear access medium such as a data tape, it is necessary to restore those files to another medium such as an HDD device. An AV file may have a large file size due to its nature, and there is a problem that it takes a long time to restore and reproduce data from a linear recording medium such as a data tape.

また、特許文献1に記載された従来の装置のように、インデックス中にAVサムネイルファイルを記録する方法では、サムネイルを参照することによりAVファイルの内容をある程度把握することができる。しかしながら、すべてのサムネイルを閲覧するためには、参照情報を元にテープ上で物理的に記録位置が離れた複数のインデックスを全て読み取る必要があり、リニアアクセス媒体であるテープでは多くの時間を要するという課題があった。   Further, in the method of recording the AV thumbnail file in the index as in the conventional apparatus described in Patent Document 1, the content of the AV file can be grasped to some extent by referring to the thumbnail. However, in order to view all thumbnails, it is necessary to read all of the plurality of indexes physically separated from the recording position on the tape based on the reference information, and a tape that is a linear access medium requires a lot of time. There was a problem.

このような課題に鑑みて本発明のデータテープ制御装置は、AVファイルとデータファイルとを混在してデータテープのようなリニアアクセス媒体に記録しながらも、そこに記録されたすべてのAVファイルの情報を高速に読み出す手段を提供することを目的とする。   In view of such problems, the data tape control apparatus of the present invention records all AV files recorded there while recording AV files and data files together on a linear access medium such as a data tape. An object is to provide means for reading out information at high speed.

前記課題を解決するために、本発明のデータテープ制御装置は、テープドライブを制御し、テープドライブに装填されたデータテープに対し、少なくともひとつの記録対象ファイルをまとめて記録対象データセットとして記録するデータテープ制御装置であって、テープドライブを制御してデータテープにアクセスするテープドライブ制御部と、記録対象ファイルおよび記録対象ファイルのうちAVファイルに関する情報であるAVインデックスを含む記録対象データセットを作成するテープフォーマット処理部とを備え、テープフォーマット処理部は、記録対象ファイルに含まれるAVファイルに関する情報に基づいて新規AVインデックスを作成し、データテープに記録済みのデータセットに含まれる記録済みAVインデックスを新規AVインデックスと組み合わせて記録対象AVインデックスを作成して記録対象データセットに含め、テープドライブ制御部は、記録対象データセットの記録に際し、記録対象ファイルの記録位置よりも前に記録対象AVインデックスをデータテープに記録する構成としたものである。   In order to solve the above problems, a data tape control device of the present invention controls a tape drive and records at least one recording target file as a recording target data set on a data tape loaded in the tape drive. A data tape control device that controls a tape drive to access a data tape, and creates a recording target data set including a recording target file and an AV index that is information about the AV file of the recording target file A tape format processing unit that creates a new AV index based on information about the AV file included in the recording target file, and a recorded AV index included in the data set recorded on the data tape. New A In combination with the index, a recording target AV index is created and included in the recording target data set, and the tape drive control unit records the recording target AV index before the recording position of the recording target file when the recording target data set is recorded. It is set as the structure recorded on.

本発明のデータテープ制御装置によれば、テープに記録されたすべてのAVファイルの属性情報を最新のデータセットのAVインデックスに集約することにより、最新のAVインデックスを読み出すだけでテープに記録されたすべてのAVファイルの情報を取得することができ、読み取り時間を劇的に短縮することができる一方、通常のファイルの情報は各データセットに重複なく記録することで、情報の重複を最小限にすることができる。   According to the data tape control device of the present invention, the attribute information of all the AV files recorded on the tape is aggregated into the AV index of the latest data set, so that it is recorded on the tape only by reading the latest AV index. Information on all AV files can be acquired, and reading time can be dramatically reduced, while normal file information is recorded in each data set without duplication, minimizing duplication of information. can do.

また、本発明のデータテープ制御装置は、AVインデックスの情報を利用することで、AVファイルに特化した検索や操作を可能とする。   In addition, the data tape control device of the present invention makes it possible to perform searches and operations specialized for AV files by using the AV index information.

従来のテープの構成図Configuration diagram of conventional tape 従来のデータセットの構成図Configuration diagram of conventional data set 従来のテープヘッダの項目例を示す図The figure which shows the item example of the conventional tape header 従来のファイルインデックスの項目例を示す図The figure which shows the item example of the conventional file index 従来のファイルの記録位置指示例を示す図The figure which shows the example of a recording position instruction of the conventional file 従来装置のインデックス構成図Index configuration diagram of conventional equipment 従来のテープドライブ制御装置の構成図Configuration diagram of a conventional tape drive controller 実施の形態1におけるテープフォーマット構成図Tape format configuration diagram in Embodiment 1 実施の形態1におけるAVインデックス項目例を示す図The figure which shows the example of AV index item in Embodiment 1 実施の形態1におけるAVインデックスとデータ配置関連図AV index and data arrangement relation diagram in the first embodiment 実施の形態1におけるデータセット1のAVインデックス例を示す図The figure which shows the AV index example of the data set 1 in Embodiment 1. 実施の形態1におけるデータセット1のファイルインデックス例を示す図The figure which shows the file index example of the data set 1 in Embodiment 1. 実施の形態1におけるデータセット2のAVインデックス例を示す図The figure which shows the AV index example of the data set 2 in Embodiment 1 実施の形態1におけるデータセット2のファイルインデックス例を示す図The figure which shows the file index example of the data set 2 in Embodiment 1. 実施の形態1におけるデータテープ制御装置の構成図Configuration diagram of data tape control apparatus according to Embodiment 1 実施の形態1におけるテープフォーマット処理装置のフローチャートFlowchart of tape format processing apparatus in Embodiment 1 実施の形態1におけるテープフォーマット処理装置のAVテーブル構成図AV table configuration diagram of tape format processing apparatus according to Embodiment 1 実施の形態1におけるデータテープ制御装置の映像再生の構成図Configuration diagram of video reproduction of data tape control device in embodiment 1 実施の形態1におけるデータ操作装置の画面例を示す図The figure which shows the example of a screen of the data operation device in Embodiment 1. 実施の形態1におけるデータ表示装置の画面例を示す図FIG. 5 is a diagram showing an example of a screen of the data display device in the first embodiment AVファイルの構成例を示す図A diagram showing a configuration example of an AV file

以下、実施の形態について、図面を参照しながら説明する。   Hereinafter, embodiments will be described with reference to the drawings.

(実施の形態1)
図15は、本実施の形態のデータテープ制御装置における、記録に関する構成を示すブロック図である。図16は、テープにデータセットを記録するときの処理の流れを示すフローチャートである。図17は、テープフォーマット処理装置のAVテーブル構成図であり、テープフォーマット作成処理において、一時的な内部インデックスとして使用する。図18は、本実施の形態のデータテープ制御装置のシステムの構成における映像再生時の構成を示すブロック図である。図19はデータテープ制御装置を操作する画面例を示す。図20は映像を再生する画面例を示す。
(Embodiment 1)
FIG. 15 is a block diagram showing a configuration relating to recording in the data tape control apparatus of the present embodiment. FIG. 16 is a flowchart showing the flow of processing when a data set is recorded on a tape. FIG. 17 is an AV table configuration diagram of the tape format processing apparatus, and is used as a temporary internal index in the tape format creation process. FIG. 18 is a block diagram showing a configuration at the time of video reproduction in the system configuration of the data tape control device of the present embodiment. FIG. 19 shows an example of a screen for operating the data tape control device. FIG. 20 shows an example of a screen for playing back video.

本実施の形態のデータテープ制御装置は、記録に関する構成として、テープフォーマット処理部500と、テープドライブ制御部405と、データ記憶媒体制御部400とを有している。テープフォーマット処理部500は、AVファイルおよびデータファイルをデータテープに書き込むためのテープフォーマットに関する情報を保持し、データテープから読み出したデータをテープフォーマットに従い解析する。また、記録すべきデータをテープフォーマットに従って変換する。データ記憶媒体制御部400は、データ記憶媒体401を読み書きする。テープドライブ制御部405は、データテープ403およびデータテープメモリ404を読み書きする。テープシーク手段406はデータテープを指定した物理ブロック位置にシークする。バッファ装置407は、テープフォーマット処理部500と、データテープの物理的な読み書きの速度差を吸収するための一時的な記憶領域であり、データ読み出し時データテープから読み出したデータを一時的に記憶し、また、データ書込み時書き込むデータを一時的に記憶する。   The data tape control apparatus according to the present embodiment includes a tape format processing unit 500, a tape drive control unit 405, and a data storage medium control unit 400 as a configuration relating to recording. The tape format processing unit 500 holds information related to the tape format for writing the AV file and the data file to the data tape, and analyzes the data read from the data tape according to the tape format. Also, the data to be recorded is converted according to the tape format. The data storage medium control unit 400 reads / writes the data storage medium 401. The tape drive control unit 405 reads and writes data tape 403 and data tape memory 404. The tape seek means 406 seeks the data tape to the designated physical block position. The buffer device 407 is a temporary storage area for absorbing a difference in physical read / write speed between the tape format processing unit 500 and the data tape, and temporarily stores data read from the data tape at the time of data reading. In addition, data to be written at the time of data writing is temporarily stored.

以下、これらの構成および処理について説明する。まず、本発明のデータテープ装置で扱うテープフォーマットについて説明する。   Hereinafter, these configurations and processes will be described. First, the tape format handled by the data tape device of the present invention will be described.

図8は、本発明のデータタープ制御装置で採用するデータセットの構成例を示す図である。データセットは、データセットヘッダ106に続き、AVインデックス300、サムネイル画像ファイル群301、プロキシ映像ファイル群302、AVファイル303〜305、ファイル107〜108、ファイルインデックス111の順番に配置し、最後にデータセットフッタ112で構成される。   FIG. 8 is a diagram showing a configuration example of a data set employed in the data tarp control apparatus of the present invention. The data set is arranged in the order of the AV index 300, the thumbnail image file group 301, the proxy video file group 302, the AV files 303 to 305, the files 107 to 108, and the file index 111 after the data set header 106, and finally the data It consists of a set footer 112.

図9は、図8に示したデータセット中に記録するAVインデックス300の項目を詳細に示す図である。ID1の映像クリップ名は、AVファイルの名称を示す。ID2のビデオファイル名は、AVファイルのデータ記憶媒体401におけるファイルパスを示す。ID3の本体映像ファイル−物理ブロックアドレスは、AVファイルのデータテープ403における物理ブロックアドレスを示す。ID4の本体映像ファイル−論理ブロックアドレスは、AVファイルのデータテープ403における論理ブロックアドレスを示す。   FIG. 9 is a diagram showing in detail the items of the AV index 300 recorded in the data set shown in FIG. The video clip name of ID1 indicates the name of the AV file. The video file name of ID2 indicates a file path in the data storage medium 401 of the AV file. The main body video file-physical block address of ID3 indicates the physical block address in the data tape 403 of the AV file. The ID4 main body video file-logical block address indicates a logical block address in the data tape 403 of the AV file.

ID5のサムネイル画像ファイル名は、AVファイルの内容を示すサムネイル画像ファイルのファイルパスを示す。ID6のサムネイル画像ファイル−物理ブロックアドレスは、サムネイル画像ファイルのデータテープ403における物理ブロックアドレスを示す。ID7のサムネイル画像ファイル−論理ブロックアドレスは、サムネイル画像ファイルのデータテープ403における論理ブロックアドレスを示す。   The thumbnail image file name of ID5 indicates the file path of the thumbnail image file indicating the contents of the AV file. The thumbnail image file-physical block address of ID6 indicates the physical block address on the data tape 403 of the thumbnail image file. The thumbnail image file-logical block address of ID7 indicates the logical block address on the data tape 403 of the thumbnail image file.

ID8のプロキシ映像ファイル名は、AVファイルの内容を示すプロキシ映像ファイルのデータ記憶媒体401におけるファイルパスを示す。ID9のプロキシ映像ファイル−物理ブロックアドレスは、プロキシ映像ファイルのデータテープ403における物理ブロックアドレスを示す。ID10のプロキシ映像ファイル−論理ブロックアドレスは、プロキシ映像ファイルのデータテープ403における論理ブロックアドレスを示す。   The proxy video file name of ID8 indicates the file path in the data storage medium 401 of the proxy video file indicating the contents of the AV file. The proxy video file-physical block address of ID9 indicates a physical block address in the data tape 403 of the proxy video file. The proxy video file-logical block address of ID10 indicates a logical block address in the data tape 403 of the proxy video file.

ID11のビデオコーデックは、AVファイルのビデオコーデック情報を示す。ID12の音声コーデックは、AVファイルの音声コーデック情報を示す。ID13の音声チャンネル数は、AVファイルの音声チャンネル数を示す。ID14の開始タイムコードは、AVファイルの開始タイムコードを示す。ID15の映像長さは、AVファイルの映像の再生時間を示す。ID16の編集単位は、AVファイルの1フレームのデータ長を示す。   The ID 11 video codec indicates video codec information of the AV file. The audio codec of ID12 indicates the audio codec information of the AV file. The number of audio channels of ID13 indicates the number of audio channels of the AV file. The start time code of ID14 indicates the start time code of the AV file. The video length of ID15 indicates the playback time of the video of the AV file. The editing unit of ID16 indicates the data length of one frame of the AV file.

開始タイムコードと編集単位とから、任意のタイムコードで指定したAVファイルの先頭からの相対的な位置を決定できる。また、AVファイルの物理ブロックアドレスと論理ブロックアドレスとを合わせて使うことにより、データテープ上の絶対位置を決定できる。   From the start time code and the editing unit, the relative position from the beginning of the AV file specified by an arbitrary time code can be determined. Also, the absolute position on the data tape can be determined by using the physical block address and the logical block address of the AV file together.

AVインデックス300は、AVファイル、サムネイル画像ファイル、プロキシ映像ファイルのデータテープ403における記録位置を指定するためにそれぞれに対する物理ブロックアドレスおよび論理ブロックアドレスを保持する。また、データテープ403上の記録位置を計算するために映像コーデックと音声コーデックと音声チャンネル数と編集単位と開始タイムコードと映像長さとを有する。   The AV index 300 holds a physical block address and a logical block address for specifying the recording position of the AV file, thumbnail image file, and proxy video file on the data tape 403. Further, in order to calculate the recording position on the data tape 403, it has a video codec, an audio codec, the number of audio channels, an editing unit, a start time code, and a video length.

図10は、図8に示したデータセットがテープ上に複数存在するときの、AVインデックス、ファイルインデックスおよびデータ配置の関連を示す図である。データテープ403に、データセット315およびデータセット316が順に記録されたものとする。すなわち、データセット316が最新のデータセットである。データセット316のAVインデックス306には、データセット315に含まれるAVファイル303〜305の情報を保持する。また、データセット316のサムネイル画像ファイル群313には、AVファイル307〜309のサムネイル画像ファイルに加え、サムネイル画像ファイル群301に含まれるサムネイル画像ファイル、すなわちデータセット315に含まれるAVファイル303〜305のサムネイル画像ファイルを重複して保持する。また、データセット316のプロキシ映像ファイル群314には、AVファイル307〜309のプロキシ映像ファイルに加え、プロキシ映像ファイル群302に含まれるプロキシ映像ファイル、すなわちデータセット315に含まれるAVファイル303〜305のプロキシ映像ファイルを重複して保持する。   FIG. 10 is a diagram showing the relationship between the AV index, the file index, and the data arrangement when there are a plurality of data sets shown in FIG. 8 on the tape. Assume that a data set 315 and a data set 316 are recorded in order on the data tape 403. That is, the data set 316 is the latest data set. The AV index 306 of the data set 316 holds information on the AV files 303 to 305 included in the data set 315. The thumbnail image file group 313 of the data set 316 includes the thumbnail image files included in the thumbnail image file group 301, that is, the AV files 303 to 305 included in the data set 315, in addition to the thumbnail image files of the AV files 307 to 309. Keep duplicate thumbnail image files. Further, in the proxy video file group 314 of the data set 316, in addition to the proxy video files of the AV files 307 to 309, the proxy video files included in the proxy video file group 302, that is, the AV files 303 to 305 included in the data set 315 are included. Duplicate proxy video files.

ファイルインデックス111は、データセット315に記録しているすべてのファイル、すなわちAVファイル303〜305、データファイル107〜108の情報を保持する。一方ファイルインデックス312はデータセット316に記録しているすべてのファイル、すなわちAVファイル307〜309、データファイル310〜311の情報を保持する。   The file index 111 holds information of all files recorded in the data set 315, that is, AV files 303 to 305 and data files 107 to 108. On the other hand, the file index 312 holds information of all files recorded in the data set 316, that is, AV files 307 to 309 and data files 310 to 311.

図11は、データセット315のAVインデックス300の内容を示す図である。AVインデックスの構成は説明のため簡略化し、ビデオファイル名と本体映像ファイル物理ブロックアドレスとサムネイル画像ファイル物理ブロックアドレスとプロキシ映像ファイル物理ブロックアドレスのみ示している。AVインデックス300は、AVファイル303、AVファイル304およびAVファイル305の物理ブロックアドレスを保持する。また、AVインデックス300は、サムネイル画像ファイル群301とプロキシ映像ファイル群302の物理ブロックアドレスも保持する。サムネイル画像ファイル群301、およびプロキシ映像ファイル群302は、AVファイル303、AVファイル304およびAVファイル305のそれぞれのサムネイル画像ファイルとプロキシ映像ファイルを有する。なお、AVファイル303〜305のファイル名(ビデオファイル名)および映像クリップ名は共に、それぞれAV−001、AV−002およびAV−003である。   FIG. 11 is a diagram showing the contents of the AV index 300 of the data set 315. The structure of the AV index is simplified for the sake of explanation, and only the video file name, main body video file physical block address, thumbnail image file physical block address, and proxy video file physical block address are shown. The AV index 300 holds physical block addresses of the AV file 303, the AV file 304, and the AV file 305. The AV index 300 also holds physical block addresses of the thumbnail image file group 301 and the proxy video file group 302. The thumbnail image file group 301 and the proxy video file group 302 have respective thumbnail image files and proxy video files of the AV file 303, the AV file 304, and the AV file 305. The file names (video file names) and video clip names of the AV files 303 to 305 are AV-001, AV-002, and AV-003, respectively.

図12は、データセット315のファイルインデックス111の内容を示す図である。ファイルインデックスの構成は説明のため簡略化し、ファイル名と物理ブロックアドレスのみ示す。ファイルインデックス111は、データセット315に記録されたAVファイル303、AVファイル304、AVファイル305、データファイル107およびデータファイル108の物理ブロックアドレスを保持する。   FIG. 12 is a diagram showing the contents of the file index 111 of the data set 315. The structure of the file index is simplified for explanation, and only the file name and physical block address are shown. The file index 111 holds the physical block addresses of the AV file 303, AV file 304, AV file 305, data file 107, and data file 108 recorded in the data set 315.

図13は、データセット316のAVインデックス306の内容を示す図である。AVインデックスの構成は説明のため簡略化し、ビデオファイル名と本体映像ファイル物理ブロックアドレスとサムネイル画像ファイル物理ブロックアドレスとプロキシ映像ファイル物理ブロックアドレスのみ示している。AVインデックス306は、AVファイル303、AVファイル304、AVファイル305、AVファイル307、AVファイル308およびAVファイル309の物理ブロックアドレスを保持する。また、AVインデックス306は、データセット316に記録したサムネイル画像ファイル群313とプロキシ映像ファイル群314の物理ブロックアドレスも保持する。サムネイル画像ファイル群313、およびプロキシ映像ファイル群314は、AVファイル303、AVファイル304、AVファイル305、AVファイル307、AVファイル308およびAVファイル309のそれぞれのサムネイル画像ファイルとプロキシ映像ファイルを有する。なお、AVファイル307〜309のファイル名(ビデオファイル名)および映像クリップ名は共に、それぞれAV−004、AV−005およびAV−006である。図11および図13をみればわかる通り、データセット315に含まれるAVファイル303〜305は、データセット316のAVインデックス306にも含まれる。また、AVファイル303〜305については、本体映像ファイル物理ブロックアドレスとして同じアドレスが記載されている。   FIG. 13 is a diagram showing the contents of the AV index 306 of the data set 316. The structure of the AV index is simplified for the sake of explanation, and only the video file name, main body video file physical block address, thumbnail image file physical block address, and proxy video file physical block address are shown. The AV index 306 holds the physical block addresses of the AV file 303, AV file 304, AV file 305, AV file 307, AV file 308, and AV file 309. The AV index 306 also holds physical block addresses of the thumbnail image file group 313 and the proxy video file group 314 recorded in the data set 316. The thumbnail image file group 313 and the proxy video file group 314 have respective thumbnail image files and proxy video files of the AV file 303, the AV file 304, the AV file 305, the AV file 307, the AV file 308, and the AV file 309. Note that the file names (video file names) and video clip names of the AV files 307 to 309 are AV-004, AV-005, and AV-006, respectively. As can be seen from FIGS. 11 and 13, the AV files 303 to 305 included in the data set 315 are also included in the AV index 306 of the data set 316. For the AV files 303 to 305, the same address is described as the main body video file physical block address.

図14は、データセット316のファイルインデックス312の内容を示す図である。ファイルインデックスの構成は説明のため簡略化し、ファイル名と物理ブロックアドレスのみ示す。ファイルインデックス312は、データセット316に記録されたAVファイル307、AVファイル308、AVファイル309、ファイル310およびファイル311の物理ブロックアドレスを保持する。   FIG. 14 is a diagram showing the contents of the file index 312 of the data set 316. The structure of the file index is simplified for explanation, and only the file name and physical block address are shown. The file index 312 holds the physical block addresses of the AV file 307, AV file 308, AV file 309, file 310, and file 311 recorded in the data set 316.

図21は、AVファイルの構成例である。AVファイルは、先頭にAVファイルの情報たとえばコーデック種別、フレーム数、音声チャンネル数などを格納するファイルヘッダ950が配置され、続いて複数のフレームが配置される。1フレーム目データ951、2フレーム目データ952と続き最後に最終フレームデータ953と並ぶ。例では音声データは2チャンネルの場合を示し、1フレーム目データは、1フレーム目映像と1フレーム目音声チャンネル1と1フレーム目音声チャンネル2とで構成される。続くフレームも同様に映像と音声データで構成される。   FIG. 21 is a structural example of an AV file. In the AV file, a file header 950 for storing AV file information such as codec type, the number of frames, the number of audio channels, and the like is arranged at the head, followed by a plurality of frames. The first frame data 951, the second frame data 952, and the last frame data 953 are arranged finally. In the example, the audio data has two channels, and the first frame data is composed of a first frame video, a first frame audio channel 1 and a first frame audio channel 2. Subsequent frames are similarly composed of video and audio data.

次に、テープアドレス計算手段501について説明する。テープアドレス計算手段501は、AVファイルのテープ上での記録位置の計算を行う。本発明のデータテープ制御装置では、AVファイルとタイムコードを指定すると、AVファイルにおいてタイムコードで示した映像のフレームデータの先頭が記録されている、テープ上の物理ブロックアドレスと論理ブロックアドレスとを取得することができる。図9に示すAVインデックス項目から、AVファイル先頭の物理ブロックアドレスと論理ブロックアドレスを取得できる。これにAVファイルの先頭に配置されるファイルヘッダ950のサイズを加算した値が1フレーム目の記録位置となる。指定タイムコードから開始タイムコードを減算するとフレーム数が算出でき、これに編集単位を乗算すると1フレーム目からのオフセット値を算出できる。前記オフセット値を先に算出した1フレーム目の記録位置に加算すれば、AVファイルの任意のタイムコードで示したフレームの記録位置を示す物理ブロックアドレスと論理ブロックアドレスとを決定することができる。   Next, the tape address calculation unit 501 will be described. The tape address calculation means 501 calculates the recording position of the AV file on the tape. In the data tape control device of the present invention, when an AV file and a time code are designated, a physical block address and a logical block address on the tape at which the head of the frame data of the video indicated by the time code is recorded in the AV file are determined. Can be acquired. From the AV index item shown in FIG. 9, the physical block address and logical block address at the beginning of the AV file can be acquired. A value obtained by adding the size of the file header 950 arranged at the head of the AV file to this is the recording position of the first frame. The number of frames can be calculated by subtracting the start time code from the specified time code, and the offset value from the first frame can be calculated by multiplying this by the editing unit. By adding the offset value to the previously calculated recording position of the first frame, the physical block address and logical block address indicating the recording position of the frame indicated by the arbitrary time code of the AV file can be determined.

次に、テープフォーマット処理部500について説明する。テープフォーマット処理部500は、ファイルインデックスを作成するファイルインデックス作成手段505、ファイルインデックスを一時的に記憶するファイルインデックスデータ保持手段502、AVインデックスを作成するAVインデックス作成手段506、テープに書き込まれた最新のデータセットのAVインデックスとサムネイル画像ファイル群とプロキシ映像ファイル群とを一時的に記憶するAVインデックスデータ保持手段503、新規にデータテープに書きこむAVファイルのインデックスを記憶する新規AVインデックス保持手段504、テープ上のファイルを書き込む物理ブロックアドレスと論理ブロックアドレスを計算するテープアドレス計算手段501、AVファイルの情報を管理するAVテーブル507、AVテーブルに格納するAVファイルの件数を管理するAVテーブルカウンタ508とを備えている。   Next, the tape format processing unit 500 will be described. The tape format processing unit 500 includes a file index creating unit 505 that creates a file index, a file index data holding unit 502 that temporarily stores the file index, an AV index creating unit 506 that creates an AV index, and the latest written to the tape. AV index data holding means 503 for temporarily storing the AV index, thumbnail image file group, and proxy video file group of the data set, and new AV index holding means 504 for storing the index of the AV file to be newly written on the data tape. A tape address calculation means 501 for calculating a physical block address and a logical block address for writing a file on the tape, an AV table 507 for managing AV file information, an AV table And a AV table counter 508 for managing the number of AV files stored in the table.

AVインデックス作成手段506について説明する。テープ上の最新のデータセットのAVインデックスとサムネイル画像ファイル群とプロキシ映像ファイル群とをAVインデックスデータ保持手段503に読み込み、データテープに新規に書きこむAVファイルのAVインデックスを新規AVインデックス保持手段504に作成した後、AVインデックスデータ保持手段503のAVインデックスに新規AVインデックスデータ保持手段504のAVインデックスを追加して、最新のAVインデックスとしてデータテープに書き込む。続いて、AVインデックスデータ保持手段503のサムネイル画像ファイル群をデータテープに書き込み、続いて新規のAVインデックスのサムネイル画像ファイル群をデータテープに書きこむ。続いて、AVインデックスデータ保持手段503のプロキシ映像ファイル群をデータテープに書き込み、続いて新規のAVインデックスのプロキシ映像ファイル群をデータテープに書きこむ。   The AV index creation means 506 will be described. The AV index, thumbnail image file group, and proxy video file group of the latest data set on the tape are read into the AV index data holding unit 503, and the AV index of the AV file to be newly written on the data tape is the new AV index holding unit 504. After that, the AV index of the new AV index data holding unit 504 is added to the AV index of the AV index data holding unit 503, and is written on the data tape as the latest AV index. Subsequently, the thumbnail image file group of the AV index data holding unit 503 is written on the data tape, and then the thumbnail image file group of the new AV index is written on the data tape. Subsequently, the proxy video file group of the AV index data holding means 503 is written to the data tape, and then the new AV index proxy video file group is written to the data tape.

データテープにAVファイルおよびデータファイルを書きこむ処理について、図16を用いて詳細に説明する。   Processing for writing an AV file and a data file on the data tape will be described in detail with reference to FIG.

最初に、未記録のデータテープに一つ目のデータセット315を記録するときの処理について説明する。   First, a process for recording the first data set 315 on an unrecorded data tape will be described.

まず、ファイルインデックスデータ保持手段502、AVインデックスデータ保持手段503および新規AVインデックス保持手段504の記憶内容を消去し、AVテーブルカウンタを0にする。   First, the stored contents of the file index data holding means 502, AV index data holding means 503, and new AV index holding means 504 are erased, and the AV table counter is set to zero.

続いて、AVインデックスを作成するために、AVファイル毎にサムネイル画像ファイルおよびプロキシ映像ファイルを関連づける処理を行う。この処理は選択されたすべてのファイルについて実行する。データ記憶媒体401からデータ記憶媒体制御部400によりファイルを読み出し、ファイルの内容を解析しAVファイルかデータファイルか判断する(S104)。AVファイルである場合、ディレクトリパスとファイルサイズをAVテーブル507に追加し(S105)、AVテーブルカウンタ508をインクリメントする(S106)。続いて対応するサムネイル画像ファイルをデータ記憶媒体401から読み出し、サムネイル画像のデータ記憶媒体401上でのディレクトリパスとファイルサイズをAVテーブル507に追加する(S110)。もしサムネイル画像ファイルが記憶媒体401になければ、AVファイルから作成する(S109)。続いて対応するプロキシ映像ファイルをデータ記憶媒体401から読み出し、プロキシ映像ファイルのディレクトリパスとファイルサイズをAVテーブル507に追加する(S114)。もしプロキシ映像ファイルが記憶媒体401になければ、AVファイルから作成する(S113)。以降、S103〜S115で示される処理をAVファイル関連付け処理と呼ぶ。   Subsequently, in order to create an AV index, a process for associating a thumbnail image file and a proxy video file for each AV file is performed. This process is executed for all selected files. The data storage medium control unit 400 reads the file from the data storage medium 401, analyzes the contents of the file, and determines whether the file is an AV file or a data file (S104). If it is an AV file, the directory path and file size are added to the AV table 507 (S105), and the AV table counter 508 is incremented (S106). Subsequently, the corresponding thumbnail image file is read from the data storage medium 401, and the directory path and file size of the thumbnail image on the data storage medium 401 are added to the AV table 507 (S110). If the thumbnail image file does not exist in the storage medium 401, it is created from the AV file (S109). Subsequently, the corresponding proxy video file is read from the data storage medium 401, and the directory path and file size of the proxy video file are added to the AV table 507 (S114). If the proxy video file is not in the storage medium 401, it is created from the AV file (S113). Hereinafter, the processing shown in S103 to S115 is referred to as AV file association processing.

続いて、AVインデックスを作成する。AVテーブル507から順次データを取り出し、テープアドレス計算手段501により、サムネイル画像ファイル(S302)とプロキシ映像ファイル(S402)とAVファイル(S502)のテープ上の物理ブロックアドレスと論理ブロックアドレスの値を計算し、各々AVテーブル507に追加する(S303)(S403)(S503)。続いて、AVインデックスデータ保持手段503に、AVテーブル507の情報を追加して、新規AVインデックスデータ保持手段504を作成する(S601)。以降、S301〜S601で示される処理をAVインデックス作成処理と呼ぶ。   Subsequently, an AV index is created. Data is sequentially extracted from the AV table 507, and the tape address calculation means 501 calculates the values of the physical block address and logical block address on the tape of the thumbnail image file (S302), proxy video file (S402), and AV file (S502). Then, each is added to the AV table 507 (S303) (S403) (S503). Subsequently, the information of the AV table 507 is added to the AV index data holding unit 503 to create a new AV index data holding unit 504 (S601). Hereinafter, the processing indicated by S301 to S601 is referred to as AV index creation processing.

続いて、ファイルインデックス作成手段505がファイルインデックスをファイルインデックス保持手段502に作成しながら、データテープ403にAVファイルおよびデータファイルを書き込む。まず初めに、データセットヘッダ106を作成しデータテープ403に書き込む(S602)。データセットヘッダ106は、このデータセット315の名前、作成された日時、作成したユーザ名、タイムゾーンなどを保持し、そこに記録されるAVファイルとデータファイルのバックアップ情報の識別などに用いる。続いて新規AVインデックスデータ保持手段504からAVインデックスデータ300を作成しデータテープ403に書き込む(S603)。続いてサムネイル画像ファイル群301をデータテープ403に書き込む(S604〜S607)。続いてプロキシ映像ファイル群302をデータテープ403に書き込む(S701〜S704)。続いてAVファイル303〜305をファイルインデックス保持手段502にインデックス情報を追加しながらデータテープ403に書き込む(S801〜S804)。続いて、ファイルインデックス保持手段502にインデックス情報を追加しながらデータファイル107〜108をデータテープ403に書き込む(S901〜S904)。続いてファイルインデックス保持手段502からファイルインデックス111を作成しデータテープ403に書き込む(S905)。続いてデータセットフッタ112を作成しデータテープ403に書き込む(S906)。これで、データセット315が完成する。   Subsequently, the file index creation unit 505 writes the AV file and the data file to the data tape 403 while creating the file index in the file index holding unit 502. First, the data set header 106 is created and written to the data tape 403 (S602). The data set header 106 holds the name of the data set 315, the date and time of creation, the name of the created user, the time zone, and the like, and is used for identifying backup information of AV files and data files recorded therein. Subsequently, the AV index data 300 is created from the new AV index data holding means 504 and written to the data tape 403 (S603). Subsequently, the thumbnail image file group 301 is written on the data tape 403 (S604 to S607). Subsequently, the proxy video file group 302 is written to the data tape 403 (S701 to S704). Subsequently, the AV files 303 to 305 are written to the data tape 403 while adding index information to the file index holding means 502 (S801 to S804). Subsequently, the data files 107 to 108 are written to the data tape 403 while adding index information to the file index holding means 502 (S901 to S904). Subsequently, the file index 111 is created from the file index holding means 502 and written to the data tape 403 (S905). Subsequently, the data set footer 112 is created and written to the data tape 403 (S906). Thus, the data set 315 is completed.

さらに、データテープメモリ404にAVインデックス300を書き込んだ物理ブロックアドレスと論理ブロックアドレスを書き込み、ファイルインデックス111を書き込んだ物理ブロックアドレスと論理ブロックアドレスを書き込む。   Further, the physical block address and logical block address at which the AV index 300 is written are written into the data tape memory 404, and the physical block address and logical block address at which the file index 111 is written are written.

次に、データセット315に続いてデータセット316を記録するときの処理について説明する。   Next, processing when the data set 316 is recorded following the data set 315 will be described.

まず、ファイルインデックスデータ保持手段502、AVインデックスデータ保持手段503および新規AVインデックス保持手段504の記憶内容を消去し、AVテーブルカウンタを0にする。   First, the stored contents of the file index data holding means 502, AV index data holding means 503, and new AV index holding means 504 are erased, and the AV table counter is set to zero.

まず、データテープから、データテープメモリ404に記録されている最新のAVインデックスの物理ブロックアドレスと論理ブロックアドレスを読み出し(S101)、それらの位置にテープをシークする。テープからAVインデックスデータ保持手段503に、AVインデックス300とサムネイル画像ファイル群301とプロキシ映像ファイル群302とを読み出す。続いてデータテープメモリ404に記録されているファイルインデックスの物理ブロックアドレスと論理ブロックアドレスを読み出し、それらの位置にテープをシークする。ファイルインデックスデータ保持手段502に、ファイルインデックス111を読み込む。   First, the physical block address and logical block address of the latest AV index recorded in the data tape memory 404 are read from the data tape (S101), and the tape is sought at these positions. The AV index 300, the thumbnail image file group 301, and the proxy video file group 302 are read from the tape to the AV index data holding unit 503. Subsequently, the physical block address and logical block address of the file index recorded in the data tape memory 404 are read, and the tape is sought at these positions. The file index 111 is read into the file index data holding unit 502.

続いて、上述したAVファイル関連付け処理により、AVファイル毎にサムネイル画像ファイルおよびプロキシ映像ファイルを関連づける。   Subsequently, the thumbnail image file and the proxy video file are associated for each AV file by the AV file association process described above.

続いて、上述したAVインデックス作成処理により、データセット316に含まれるAVファイルに関するAVインデックスデータを、新規AVインデックスデータ保持手段504上に作成する。   Subsequently, the AV index data relating to the AV file included in the data set 316 is created on the new AV index data holding unit 504 by the AV index creation process described above.

続いて、ファイルインデックス作成手段505がファイルインデックスをファイルインデックス保持手段502上に作成しながら、データテープ403にAVファイルおよびデータファイルを書き込む。まず、データセットヘッダ317を作成しデータテープ403に書き込む(S602)。続いて、AVインデックス保持手段503から、データセット315のAVインデックスを取り出し、それに新規AVインデックスデータ保持手段504を追加して、AVインデックスデータ306を作成しデータテープ403に書き込む(S603)。続いて、AVインデックス保持手段503から、データセット315のサムネイル画像ファイル群を取り出し、それにサムネイル画像ファイル群313を追加して、データテープ403に書き込む(S604〜S607)。続いて、データセット315のAVインデックス保持手段503から、プロキシ映像ファイル群を取り出し、それにプロキシ映像ファイル群314を加えてデータテープ403に書き込む(S701〜S704)。続いてAVファイル307〜309をファイルインデックス保持手段502にインデックス情報を追加しながらデータテープ403に書き込む(S801〜S804)。続いて、ファイルインデックス保持手段502にインデックス情報を追加しながらデータファイル311〜312をデータテープ403に書き込む(S901〜S904)。続いてファイルインデックス保持手段502からファイルインデックス312を作成しデータテープ403に書き込む(S905)。続いてデータセットフッタ318を作成しデータテープ403に書き込む(S906)。これで、データセット316が完成する。   Subsequently, the file index creating unit 505 writes the AV file and the data file to the data tape 403 while creating the file index on the file index holding unit 502. First, a data set header 317 is created and written to the data tape 403 (S602). Subsequently, the AV index of the data set 315 is taken out from the AV index holding means 503, and new AV index data holding means 504 is added to it to create AV index data 306 and write it to the data tape 403 (S603). Subsequently, the thumbnail image file group of the data set 315 is extracted from the AV index holding unit 503, the thumbnail image file group 313 is added to the thumbnail image file group, and written to the data tape 403 (S604 to S607). Subsequently, the proxy video file group is extracted from the AV index holding means 503 of the data set 315, and the proxy video file group 314 is added to the proxy video file group 314 and written to the data tape 403 (S701 to S704). Subsequently, the AV files 307 to 309 are written to the data tape 403 while adding index information to the file index holding means 502 (S801 to S804). Subsequently, the data files 311 to 312 are written to the data tape 403 while adding index information to the file index holding means 502 (S901 to S904). Subsequently, a file index 312 is created from the file index holding means 502 and written to the data tape 403 (S905). Subsequently, a data set footer 318 is created and written to the data tape 403 (S906). This completes the data set 316.

さらに、データテープメモリ404にAVインデックス306を書き込んだ物理ブロックアドレスと論理ブロックアドレスを書き込み、ファイルインデックス312を書き込んだ物理ブロックアドレスと論理ブロックアドレスを書き込む。   Further, the physical block address and logical block address at which the AV index 306 is written are written into the data tape memory 404, and the physical block address and logical block address at which the file index 312 is written are written.

以上のようにしてデータセット316を記録することにより、サムネイル画像ファイル群313は、データセット315のAVファイル303〜305とデータセット316のAVファイル307から310のサムネイル画像ファイルを保持し、プロキシ映像ファイル群314は、データセット315のAVファイル303〜305とデータセット316のAVファイル307から310のプロキシ映像ファイルを保持し、AVインデックス306はデータセット315のAVファイル303〜305とデータセット316のAVファイル307から310のAVファイルの情報を保持することができる。   By recording the data set 316 as described above, the thumbnail image file group 313 holds the thumbnail image files of the AV files 303 to 305 of the data set 315 and the AV files 307 to 310 of the data set 316, and proxy video The file group 314 holds the AV files 303 to 305 of the data set 315 and the proxy video files of the AV files 307 to 310 of the data set 316, and the AV index 306 includes the AV files 303 to 305 of the data set 315 and the data set 316. The AV file information of the AV files 307 to 310 can be held.

次に、データテープからAVファイルの記録位置を取得する方法を説明する。図10に示したデータセット315に記録したAVファイル304を、データセット316の最新のAVインデックス306を使用して、操作画面から選択し記録位置を取得する処理を例に挙げて説明する。   Next, a method for acquiring the recording position of the AV file from the data tape will be described. An example will be described in which the AV file 304 recorded in the data set 315 illustrated in FIG. 10 is selected from the operation screen using the latest AV index 306 of the data set 316 and the recording position is acquired.

図18は、本発明のデータテープ制御装置の映像再生に関する構成を示す図である。図15に示した構成と共通の構成については同一の符号を付与している。本実施の形態のデータテープ制御装置は、再生に関する構成として、操作部600と、再生部603と、データテープ再生制御処理部602と、テープドライブ制御部405とを有している。データテープ再生制御処理部602は、データテープからAVファイルの映像データを読み出す。   FIG. 18 is a diagram showing a configuration relating to video reproduction of the data tape control device of the present invention. Constituent elements common to those shown in FIG. 15 are given the same reference numerals. The data tape control apparatus according to the present embodiment includes an operation unit 600, a playback unit 603, a data tape playback control processing unit 602, and a tape drive control unit 405 as a configuration relating to playback. The data tape reproduction control processing unit 602 reads the video data of the AV file from the data tape.

操作部600はファイル選択手段601を備える。ファイル選択手段601は例えばタッチパネル式の表示部を備え、図19に示すようにファイル一覧の画面を表示し、ユーザの操作入力によりファイルを選択する。再生部603は、AVデータ分離手段604と映像再生手段605と音声再生手段606と映像・音声表示手段607とを備える。AVデータ分離手段604は、図21に示したAVファイルの構成における1フレーム単位でまとめられた映像と音声データとを分離し、映像データを映像再生手段605に、音声データを音声再生手段606に転送し、映像再生手段605は映像データを、音声再生手段606は音声データを再生可能な形式に変換する。映像・音声表示手段607は映像再生手段605と音声再生手段606からそれぞれ映像、音声データを受け取り、図20に示すような画面に構成して出力する。   The operation unit 600 includes file selection means 601. The file selection unit 601 includes, for example, a touch panel type display unit, displays a file list screen as shown in FIG. 19, and selects a file by a user operation input. The playback unit 603 includes AV data separation means 604, video playback means 605, audio playback means 606, and video / audio display means 607. The AV data separation unit 604 separates video and audio data collected in units of one frame in the AV file configuration shown in FIG. 21, and the video data is sent to the video playback unit 605 and the audio data is sent to the audio playback unit 606. The video reproduction means 605 converts the video data into a reproducible format, and the audio reproduction means 606 converts the audio data into a reproducible format. The video / audio display unit 607 receives video and audio data from the video reproduction unit 605 and the audio reproduction unit 606, respectively, and configures and outputs the screen as shown in FIG.

以下に、データテープからAVファイルを読み出し、映像・音声表示手段607に出力するまでを説明する。   Hereinafter, a process from reading an AV file from the data tape to outputting it to the video / audio display means 607 will be described.

データテープ再生制御処理部602は、データテープがセットされると、最初にデータテープメモリ404を読み取り、最新のAVインデックスを書き込んだ物理ブロックアドレスと論理ブロックアドレスを取得する。これらの位置にテープを直接シークすることができ、最新のAVインデックスを読み出すことができる。まず、データテープ403から最新のAVインデックス306をAVインデックスデータ保持手段503に読み込む。図9に示すAVインデックスの項目から、映像クリップ名と映像長さと開始タイムコードとサムネイル画像ファイルの物理ブロックアドレスと論理アドレス、およびプロキシ映像ファイルの物理ブロックアドレスと論理アドレスが取得できる。ここで、図10に示すように、サムネイル画像ファイル群313とプロキシ映像ファイル群314はAVインデックス306のすぐ後に配置しており、続けてサムネイル画像ファイル群313とプロキシ映像ファイル群314を取得することができる。   When a data tape is set, the data tape reproduction control processing unit 602 first reads the data tape memory 404 and acquires the physical block address and logical block address where the latest AV index is written. The tape can be directly sought at these positions, and the latest AV index can be read out. First, the latest AV index 306 is read from the data tape 403 into the AV index data holding unit 503. From the AV index items shown in FIG. 9, the video clip name, video length, start time code, physical block address and logical address of the thumbnail image file, and physical block address and logical address of the proxy video file can be acquired. Here, as shown in FIG. 10, the thumbnail image file group 313 and the proxy video file group 314 are arranged immediately after the AV index 306, and subsequently the thumbnail image file group 313 and the proxy video file group 314 are acquired. Can do.

図19にこれらを一覧表示した画面例を示す。この例では、AVインデックス306に基づいて読み出した、データセット315に含まれるAVファイル303〜305についての情報が表示されている。ユーザが、映像クリップ名がAV−002であるAVファイル304を選択したい場合、表示部に表示された選択画面中の映像クリップ名の欄から映像クリップ名がAV−002であるAVファイルを見つけて選択することができる。ファイル選択手段601により映像クリップ名がAV−002であるAVファイル304を選択すると、図13に示すAVインデックスデータ保持手段503の内容からAVファイル304の物理ブロックアドレスは235であることがわかる。図13では省略しているが同様に論理ブロックアドレスも取得できる。以降、この処理をアドレス取得処理と呼ぶ。   FIG. 19 shows a screen example in which these are displayed as a list. In this example, information about AV files 303 to 305 included in the data set 315 read based on the AV index 306 is displayed. When the user wants to select the AV file 304 whose video clip name is AV-002, the AV file whose video clip name is AV-002 is found from the video clip name column in the selection screen displayed on the display unit. You can choose. If the AV file 304 whose video clip name is AV-002 is selected by the file selection means 601, it can be seen from the contents of the AV index data holding means 503 shown in FIG. 13 that the physical block address of the AV file 304 is 235. Although omitted in FIG. 13, the logical block address can be obtained in the same manner. Hereinafter, this process is referred to as an address acquisition process.

選択した後の操作が、AVファイルの再生である場合、テープドライブ制御部405は、アドレス取得処理で取得した物理ブロックアドレスにデータテープをシークし、データテープ403におけるAVファイル304の記録位置235からデータをバッファ装置407に読み出す。   If the operation after selection is playback of an AV file, the tape drive control unit 405 seeks the data tape to the physical block address acquired in the address acquisition process, and starts from the recording position 235 of the AV file 304 on the data tape 403. Data is read into the buffer device 407.

続いて、AVインデックスデータ保持手段503からAVファイル304の編集単位を取得する。データテープ再生制御処理部602は、バッファ装置407から、この編集単位ずつAVデータ分離手段604にデータを渡す。テープドライブ制御部405は、随時データテープからバッファ装置407にデータを読み出す。AVデータ分離手段604は編集単位である1フレームのデータを映像データと音声データに分離し、映像データを映像再生手段605に、音声データを音声再生手段606に渡し、映像・音声表示手段607にて映像・音声データを図20のような画面に構成して出力する。   Subsequently, the editing unit of the AV file 304 is acquired from the AV index data holding unit 503. The data tape reproduction control processing unit 602 transfers data from the buffer device 407 to the AV data separation unit 604 for each editing unit. The tape drive control unit 405 reads data from the data tape to the buffer device 407 as needed. The AV data separation means 604 separates one frame of data, which is an editing unit, into video data and audio data, passes the video data to the video reproduction means 605, and delivers the audio data to the audio reproduction means 606, and the video / audio display means 607. Thus, the video / audio data is configured and output on a screen as shown in FIG.

一方、選択した後の操作が、AVファイルの復元である場合、テープドライブ制御部405は、アドレス取得処理で取得した物理ブロックアドレスにデータテープをシークし、データテープ403におけるAVファイル304の記録位置235からデータをバッファ装置407に読み出す。データテープ再生制御処理部602は、バッファ装置407からデータを順次取り出し、データ記憶媒体にファイルの形式で書き込む。   On the other hand, when the operation after the selection is restoration of the AV file, the tape drive control unit 405 seeks the data tape to the physical block address acquired in the address acquisition process, and the recording position of the AV file 304 on the data tape 403 Data is read from the buffer device 407 to the buffer device 407. The data tape reproduction control processing unit 602 sequentially retrieves data from the buffer device 407 and writes it in a data storage medium in the form of a file.

なお、図9に示すAVインデックス項目例には、撮影者名と撮影地と撮影日付と、撮影地の座標を示すGPS情報すなわち緯度と経度と高度があってもよい。   Note that the AV index item example illustrated in FIG. 9 may include a photographer name, a shooting location, a shooting date, and GPS information indicating the coordinates of the shooting location, that is, latitude, longitude, and altitude.

なお、本実施の形態では、コピー先の記録媒体としてデータテープを挙げて説明した。シーケンシャルアクセスメディアであるデータテープは指定したアドレスへのシークに時間がかかるため、本発明を適用すれば顕著な効果があるためである。しかしながら、追記型の記録媒体であれば同様の効果が得られる。   In the present embodiment, a data tape has been described as a copy destination recording medium. This is because a data tape that is a sequential access medium takes a long time to seek to a specified address, and therefore, if the present invention is applied, there is a remarkable effect. However, the same effect can be obtained with a write-once recording medium.

(実施の形態2)
実施の形態1のデータテープ制御装置において、図20に示す表示画面に対して映像の開始タイムコード決定と終了タイムコード決定ボタンを追加する。AVファイルをデータテープから再生しながら、開始タイムコード決定ボタンで開始タイムコードを保持し、同様に終了タイムコードを保持しておく。そしてその後の復元操作において、前記開始タイムコードと前記終了タイムコードの範囲のデータのみをファイルとして記憶媒体に復元することができる。
(Embodiment 2)
In the data tape control device of the first embodiment, a video start time code determination button and an end time code determination button are added to the display screen shown in FIG. While reproducing the AV file from the data tape, the start time code is held by the start time code determination button, and the end time code is similarly held. In the subsequent restoration operation, only data in the range of the start time code and the end time code can be restored to the storage medium as a file.

以上のように、本実施の形態のデータテープ制御装置によれば、テープのような追記型のリニア記録媒体に記録されたすべてのAVファイルの映像に特化した情報および記録位置を最新のデータセットのAVインデックスに集約させることにより、高速にテープに記録されたAVファイルの情報を読み取ることができる。AVファイルはテキストデータや文書データなどと比較してファイルサイズが大きい。したがって、AVインデックスに記録するAVファイル情報件数は少なくなり、新しいデータセットが以前のすべてのデータセットのAVインデックスの情報を保持しても、その無駄を削減できる。   As described above, according to the data tape control device of the present embodiment, information and recording positions specialized for all AV file videos recorded on a write-once linear recording medium such as a tape are updated with the latest data. By aggregating the set into the AV index, it is possible to read the AV file information recorded on the tape at high speed. AV files have a larger file size than text data and document data. Therefore, the number of AV file information items to be recorded in the AV index is reduced, and even if a new data set holds the AV index information of all previous data sets, the waste can be reduced.

なおかつ、AVインデックスには映像に特化した情報を記録することにより、外部のデータベースなどを使用することなく、AVファイルに特化した情報、すなわち撮影者、撮影日、撮影地、再生時間、開始タイムコードなどからAVファイルの内容を類推して検索することができる。さらに、AVインデックスの情報を利用することにより、データテープから別媒体を経由することなく直接に映像再生や、AVファイルの一部だけを切り出して別媒体への復元などの操作が可能となる。   Moreover, by recording information specific to the video in the AV index, information specific to the AV file, that is, the photographer, the shooting date, the shooting location, the playback time, and the start, without using an external database or the like It is possible to search by analogizing the contents of the AV file from the time code or the like. Furthermore, by using the AV index information, it is possible to perform operations such as video playback directly from the data tape without going through another medium, or cutting out only a part of the AV file and restoring it to another medium.

本発明のデータテープ制御装置は、テープのような追記型のリニア記録媒体にAVファイルを記録しながらも、高速なインデックス検索、ストリーミング映像再生を実現することができ、AVファイルを大量に管理する必要がある放送局などのAV資産をアーカイブするシステムなどに適用できる。   The data tape control apparatus of the present invention can realize high-speed index search and streaming video reproduction while recording an AV file on a write-once linear recording medium such as a tape, and manages a large amount of AV files. It can be applied to a system for archiving AV assets such as necessary broadcasting stations.

100 テープ
101 テープヘッダ
102 データセット1
103 データセット2
104 データセットN
105 テープフッタ
106 データセットヘッダ
107 データファイル1
108 データファイル2
109 データファイル3
110 データファイル4
111 ファイルインデックス
112 データセットフッタ
113 ファイル1物理ブロックアドレス
114 ファイル1論理ブロックアドレス
115 ファイル1データ
116 ファイル2物理ブロックアドレス
117 ファイル2論理ブロックアドレス
118 ファイル2データ
200 データセット1
207 データセット2
208 AVファイル4
209 AVファイル5
210 AVファイル6
211 AVサムネイルアドレス1
212 AVサムネイルアドレス2
213 AVサムネイルアドレス3
300 AVインデックス
301 サムネイル画像ファイル群
302 プロキシ映像ファイル群
303 AVファイル1
304 AVファイル2
305 AVファイル3
306 AVインデックス
307 AVファイル4
308 AVファイル5
309 AVファイル6
310 データファイル5
311 データファイル6
313 サムネイル画像ファイル群
314 プロキシ映像ファイル群
315 データセット1
316 データセット2
400 データ記憶媒体制御部
401 データ記憶媒体
402 テープドライブ
403 データテープ
404 データテープメモリ
405 テープドライブ制御部
406 テープシーク手段
407 バッファ装置
500 テープフォーマット処理部
501 テープアドレス計算手段
502 ファイルインデックスデータ保持手段
503 AVインデックスデータ保持手段
504 新規AVインデックスデータ保持手段
505 ファイルインデックス作成手段
506 AVインデックス作成手段
507 AVテーブル
508 AVテーブルカウンタ
600 操作部
601 ファイル選択手段
602 データテープ再生制御処理部
603 再生部
604 AVデータ分離手段
605 映像再生手段
606 音声再生手段
607 映像・音声表示手段
800 映像再生領域
950 ファイルヘッダ
951 1フレーム目データ
952 2フレーム目データ
953 最終フレームデータ
100 tape 101 tape header 102 data set 1
103 Data set 2
104 Data set N
105 Tape footer 106 Data set header 107 Data file 1
108 Data file 2
109 Data file 3
110 Data file 4
111 File Index 112 Data Set Footer 113 File 1 Physical Block Address 114 File 1 Logical Block Address 115 File 1 Data 116 File 2 Physical Block Address 117 File 2 Logical Block Address 118 File 2 Data 200 Data Set 1
207 Data Set 2
208 AV files 4
209 AV file 5
210 AV file 6
211 AV thumbnail address 1
212 AV thumbnail address 2
213 AV thumbnail address 3
300 AV index 301 Thumbnail image file group 302 Proxy video file group 303 AV file 1
304 AV file 2
305 AV file 3
306 AV index 307 AV file 4
308 AV file 5
309 AV file 6
310 Data file 5
311 Data file 6
313 Thumbnail image file group 314 Proxy video file group 315 Data set 1
316 Data set 2
400 Data storage medium control unit 401 Data storage medium 402 Tape drive 403 Data tape 404 Data tape memory 405 Tape drive control unit 406 Tape seek unit 407 Buffer device 500 Tape format processing unit 501 Tape address calculation unit 502 File index data holding unit 503 AV Index data holding means 504 New AV index data holding means 505 File index creation means 506 AV index creation means 507 AV table 508 AV table counter 600 Operation section 601 File selection means 602 Data tape playback control processing section 603 Playback section 604 AV data separation means 605 Video playback means 606 Audio playback means 607 Video / audio display means 800 Video playback Frequency 950 file header 951 the first frame data 952 2-th frame data 953 the final frame data

Claims (7)

テープドライブを制御し、前記テープドライブに装填されたデータテープに対し、少なくともひとつの記録対象ファイルをまとめて記録対象データセットとして記録するデータテープ制御装置であって、
前記テープドライブを制御して前記データテープにアクセスするテープドライブ制御部と、
前記記録対象ファイルおよび前記記録対象ファイルのうちAVファイルに関する情報であるAVインデックスを含む記録対象データセットを作成するテープフォーマット処理部と、
を備え、
前記テープフォーマット処理部は、前記記録対象ファイルに含まれるAVファイルに関する情報に基づいて新規AVインデックスを作成し、前記データテープに記録済みのデータセットに含まれる記録済みAVインデックスを前記新規AVインデックスと組み合わせて記録対象AVインデックスを作成して前記記録対象データセットに含め、
前記テープドライブ制御部は、前記記録対象データセットの記録に際し、前記記録対象ファイルの記録位置よりも前に前記記録対象AVインデックスを前記データテープに記録する、
データテープ制御装置。
A data tape control device that controls a tape drive and records at least one recording target file together as a recording target data set for a data tape loaded in the tape drive,
A tape drive controller that controls the tape drive to access the data tape;
A tape format processing unit that creates a recording target data set including an AV index that is information relating to an AV file among the recording target file and the recording target file;
With
The tape format processing unit creates a new AV index based on information about the AV file included in the recording target file, and uses the recorded AV index included in the data set recorded on the data tape as the new AV index. Create a recording target AV index in combination and include it in the recording target data set,
The tape drive control unit records the recording target AV index on the data tape before the recording position of the recording target file when recording the recording target data set;
Data tape controller.
前記テープフォーマット処理部は、前記データテープに記録済みの最新のデータセットに含まれる記録済みAVインデックスを読み出し、前記記録済みAVインデックスおよび前記新規AVインデックスを組み合わせて記録対象AVインデックスを作成して前記記録対象データセットに含める、
請求項1記載のデータテープ制御装置。
The tape format processing unit reads a recorded AV index included in the latest data set recorded on the data tape, creates a recording target AV index by combining the recorded AV index and the new AV index, and Included in the data set to be recorded,
The data tape control device according to claim 1.
前記AVインデックスは、前記データテープ上のAVファイルの記録位置、映像再生時間、編集単位および開始タイムコードを含む請求項1記載のデータテープ制御装置。 2. The data tape control device according to claim 1, wherein the AV index includes a recording position, video playback time, editing unit, and start time code of the AV file on the data tape. 前記AVインデックスは、前記AVファイルのサムネイル画像および前記AVファイルよりも低解像度のプロキシ映像データのうち少なくともいずれか一方を含む請求項1記載のデータテープ制御装置。 The data tape control device according to claim 1, wherein the AV index includes at least one of a thumbnail image of the AV file and proxy video data having a resolution lower than that of the AV file. 前記AVインデックスは、前記AVファイルに含まれる映像の撮影者名、撮影地名、撮影地の位置情報および撮影日付のうち少なくともいずれかひとつを含む請求項1記載のデータテープ制御装置。 2. The data tape control device according to claim 1, wherein the AV index includes at least one of a photographer name, a shooting place name, shooting place position information, and a shooting date of a video included in the AV file. 前記データテープからAVインデックスを読み出し、前記AVインデックスに含まれる前記映像再生時間、前記編集単位および前記開始タイムコードに基づいて前記データテープから再生対象AVファイルを読み出すデータテープ再生制御処理部と、
前記再生対象AVファイルを再生する再生部と、
を備える請求項3記載のデータテープ制御装置。
A data tape playback control processing unit that reads an AV index from the data tape and reads a playback target AV file from the data tape based on the video playback time, the editing unit, and the start time code included in the AV index;
A playback unit for playing back the playback target AV file;
A data tape control device according to claim 3.
追記型メディアにデータを記録するデータ記録方法であって、
記録済みデータが記録された前記メディアに追加データを追記するに際し、
前記記録済みデータに含まれる所定種別のデータのみに関するインデックス情報と、前記追加データに含まれるすべてのデータに関するインデックス情報とを、前記追加データと共に前記メディアに追記する、
データ記録方法。
A data recording method for recording data on a write-once medium,
When adding additional data to the media on which recorded data is recorded,
Adding index information relating only to data of a predetermined type included in the recorded data and index information relating to all data included in the additional data to the medium together with the additional data;
Data recording method.
JP2009119509A 2009-05-18 2009-05-18 Data tape control device Pending JP2010267352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009119509A JP2010267352A (en) 2009-05-18 2009-05-18 Data tape control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009119509A JP2010267352A (en) 2009-05-18 2009-05-18 Data tape control device

Publications (1)

Publication Number Publication Date
JP2010267352A true JP2010267352A (en) 2010-11-25

Family

ID=43364185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009119509A Pending JP2010267352A (en) 2009-05-18 2009-05-18 Data tape control device

Country Status (1)

Country Link
JP (1) JP2010267352A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016004413A (en) * 2014-06-17 2016-01-12 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation File writing method on to tape

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016004413A (en) * 2014-06-17 2016-01-12 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation File writing method on to tape

Similar Documents

Publication Publication Date Title
JP5480163B2 (en) Apparatus and method for reading data recorded on recording medium
JP2006114072A (en) Control of disk data, virtual disk creation apparatus, method, program, and medium
US7962005B2 (en) Image information processing apparatus and image information processing program
KR20050086748A (en) Integrated video data file integration device and method and integrated video data file reproduction device and method
GB2359916A (en) Media editing
JP4513780B2 (en) Information processing apparatus, information processing method, and computer program
JP2001157155A (en) Recording medium, recorder, reproducing device, recording method and computer-readable recording medium
JP2011203977A (en) Storage device and method for generating file system in storage device
US9251851B2 (en) Editing apparatus and control method therefor
JP4145646B2 (en) Data management method, data management device, data management program, and computer-readable storage medium storing data management program
JP4198711B2 (en) Recording / reproducing system, recording apparatus, reproducing apparatus, recording medium, recording / reproducing method, recording method, reproducing method, program, and recording medium
JP2001069460A (en) Recording method, recorder and computer readable recording medium
JP2000134565A (en) Recording medium, recorder, reproducing device, recording method and computer readable recording medium
JP2010267352A (en) Data tape control device
US7835614B2 (en) Data recording method, data recording apparatus, and data recording medium
US7877688B2 (en) Data processing apparatus
JP2007066370A (en) Play-back apparatus and play-back method
JP5746478B2 (en) Data processing apparatus, data processing method, and program
KR100497365B1 (en) Improved file system and recording media and file access method therefor
US20060181966A1 (en) Image retrieving and recording apparatus, an image retrieving and recording method, and a recording medium
JPH09282841A (en) Data recording apparatus and data reproducing apparatus
JP2006196086A (en) Play list preparation method
JP4293128B2 (en) Recording medium and material management apparatus
CN100585714C (en) Playback apparatus and playback method
JP2005005793A (en) Image recording and reproducing apparatus and control method thereof