JP2001283575A - Recording and reproducing device - Google Patents

Recording and reproducing device

Info

Publication number
JP2001283575A
JP2001283575A JP2000097930A JP2000097930A JP2001283575A JP 2001283575 A JP2001283575 A JP 2001283575A JP 2000097930 A JP2000097930 A JP 2000097930A JP 2000097930 A JP2000097930 A JP 2000097930A JP 2001283575 A JP2001283575 A JP 2001283575A
Authority
JP
Japan
Prior art keywords
data
file
area
recording
magnetic tape
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.)
Granted
Application number
JP2000097930A
Other languages
Japanese (ja)
Other versions
JP4244493B2 (en
Inventor
Yoshihisa Takayama
佳久 高山
Masaki Yamada
雅基 山田
Yuko Obata
優子 小幡
Nobuhisa Toshitani
暢久 利谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2000097930A priority Critical patent/JP4244493B2/en
Publication of JP2001283575A publication Critical patent/JP2001283575A/en
Application granted granted Critical
Publication of JP4244493B2 publication Critical patent/JP4244493B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To optimize capacity of program searching data (BOF data). SOLUTION: When BOF data is formed, first, it is discriminated whether a device area #2 is formed or not. when it is discriminated that the device area #2 is not formed, capacity of BOF data is set to a fixed value A, and recorded in a BOF data area (S1301-1303). Then it is discriminated whether the device area #2 is made or not while recording a file, when it is discriminated that the device area #2 is made. optimum capacity is obtained for BOF data of all files recorded at present, surplus data is erased (S1304-S1305). Also, when it is discriminated that the device area #2 is made. capacity of BOF data is set based on a recording position of a file, BOF data is recorded in a BOF data area E4 by capacity set in the step S1306 (S1306-S1307).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、頭出しデータを記
録して、この頭出しデータを用いてデータの再生を行う
ことができる記録再生装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording / reproducing apparatus which records cue data and reproduces data using the cue data.

【0002】[0002]

【従来の技術】磁気テープを記憶媒体としたテープドラ
イブ装置を用いて、例えば映像などのデータを記録する
ことが行われている。この場合、テープドライブ装置は
磁気テープに対してシーケンシャルアクセスによってデ
ータの記録、再生を実行するようにされている。
2. Description of the Related Art Data such as video data is recorded using a tape drive device using a magnetic tape as a storage medium. In this case, the tape drive device records and reproduces data on the magnetic tape by sequential access.

【0003】[0003]

【発明が解決しようとする課題】ところで、磁気テープ
は記録媒体として大容量の構成を採ることができるの
で、映像データなどの大容量のデータの記録に好適なも
のとなるが、上記したようにシーケンシャルなアクセス
動作によって記録、再生を行うようにしているので、磁
気テープにおける記録位置によっては、再生するファイ
ルにアクセスに要する時間が長いものとなってしまう。
そこで、例えばハードディスク装置などにより磁気テー
プに記録するファイルに対応した頭出しデータを記録し
ておき、リアルタイム性を損なわないようにしてデータ
の再生を行うことが知られている。このため、磁気テー
プ上におけるファイルの記録位置に応じて頭出しデータ
の容量を設定して、ハードディスク装置の効率よく利用
し、また、頭出しの再生データを途切れないようにする
ことが望まれている。
Since a magnetic tape can have a large capacity as a recording medium, it is suitable for recording large capacity data such as video data. Since recording and reproduction are performed by a sequential access operation, depending on the recording position on the magnetic tape, the time required to access the file to be reproduced becomes long.
Therefore, it is known that cue data corresponding to a file to be recorded on a magnetic tape is recorded by, for example, a hard disk device or the like, and the data is reproduced without deteriorating the real-time property. For this reason, it is desired to set the size of the cue data in accordance with the recording position of the file on the magnetic tape so that the hard disk device is used efficiently and that the cue reproduction data is not interrupted. I have.

【0004】[0004]

【課題を解決するための手段】本発明はこのような問題
点を解決するために、所定単位の記録領域が複数形成さ
れている磁気テープが収納されているテープカセットが
複数配置され、この複数のテープカセットを選択して搬
送することができるチェンジャ手段と、前記チェンジャ
手段によって搬送されたテープカセットを装填し、前記
テープカセットに収納されている磁気テープに対して記
録、再生を行うことができるテープドライブ手段と、少
なくとも、前記テープドライブ手段においてデータの記
録または再生を行う場合のバッファ領域と、前記磁気テ
ープに記録されているファイルに対応し、該ファイルの
再生を行う場合の頭出しデータを記録する頭出しデータ
領域を有しているハードディスクドライブ手段と、前記
チェンジャ手段によるテープカセットの搬送時間と、前
記磁気テープに作成されているロード/アンロード領域
とファイルの距離に基づいて、前記頭出しデータの容量
を設定する頭出しデータ容量設定手段を備えて記録再生
装置を構成する。
According to the present invention, in order to solve such a problem, a plurality of tape cassettes each containing a magnetic tape having a plurality of recording areas of a predetermined unit are arranged, and the plurality of tape cassettes are arranged. A changer means capable of selecting and conveying the tape cassette of the type described above, and a tape cassette conveyed by the changer means can be loaded, and recording and reproduction can be performed on a magnetic tape stored in the tape cassette. Tape drive means, at least a buffer area for recording or reproducing data in the tape drive means, and a cue data for reproducing the file corresponding to a file recorded on the magnetic tape. A hard disk drive means having a cue data area for recording; A recording / reproducing apparatus comprising a cue data capacity setting means for setting the cue data capacity based on a transport time of a tape cassette to be loaded and a distance between a file and a load / unload area created on the magnetic tape. Is composed.

【0005】また、所定単位の記録領域が複数形成され
ている磁気テープが収納されているテープカセットを装
填し、前記テープカセットに収納されている磁気テープ
に対して記録、再生を行うことができるテープドライブ
手段と、少なくとも、前記テープドライブ手段において
データの記録、再生を行う場合のバッファ領域と、前記
磁気テープに記録されているファイルに対応し、該ファ
イルの再生を行う場合の頭出しデータを記録する頭出し
データ領域を有しているハードディスクドライブ手段
と、前記頭出しデータ領域に頭出しデータを所定の容量
で記録することができる頭出しデータ記録制御手段と、
前記磁気テープにおける記録済み領域の終端が、記録可
能領域の所定の位置に到達した場合、前記所定の位置に
第二のロード/アンロード領域を作成することができる
ロード/アンロード領域作成手段と、前記磁気テープに
形成されている第二のロード/アンロード領域と、前記
磁気テープに記録されているファイルの距離に基づい
て、前記頭出しデータの容量を求める頭出しデータ容量
設定手段と、前記ロード/アンロード領域作成手段によ
って第二のロード/アンロード領域が作成された場合
に、既に記録されている頭出しデータから、前記頭出し
データ容量設定手段によって求められた容量との差分に
相当するデータを消去するデータ消去手段を備えて記録
再生装置を構成する。
Further, a tape cassette containing a magnetic tape having a plurality of recording areas of a predetermined unit is loaded, and recording and reproduction can be performed on the magnetic tape contained in the tape cassette. Tape drive means, at least a buffer area for recording and reproducing data in the tape drive means, and a cue data for reproducing the file corresponding to a file recorded on the magnetic tape. Hard disk drive means having a cue data area for recording, cue data recording control means capable of recording cue data with a predetermined capacity in the cue data area,
A load / unload area creating means for creating a second load / unload area at the predetermined position when the end of the recorded area on the magnetic tape reaches a predetermined position in the recordable area; A second load / unload area formed on the magnetic tape, and a cueing data capacity setting means for determining a cueing data capacity based on a distance between files recorded on the magnetic tape; When the second load / unload area is created by the load / unload area creating means, the difference between the cue data already recorded and the capacity obtained by the cue data capacity setting means is calculated. A recording / reproducing apparatus is provided with data erasing means for erasing corresponding data.

【0006】さらに、所定単位の記録領域が複数形成さ
れている磁気テープが収納されているテープカセットを
装填し、前記テープカセットに収納されている磁気テー
プに対して記録、再生を行うことができるテープドライ
ブ手段と、少なくとも、前記テープドライブ手段におい
てデータの記録、再生を行う場合のバッファ領域と、前
記磁気テープに記録されているファイルに対応し、該フ
ァイルの再生を行う場合の頭出しデータを記録する頭出
しデータ領域を有しているハードディスクドライブ手段
と、前記頭出しデータの容量を、前記磁気テープ上に作
成されているロード/アンロード領域とファイルの距離
に基づいて設定する頭出しデータ容量設定手段を備えて
記録再生装置を構成する。
Further, a tape cassette containing a magnetic tape in which a plurality of recording areas of a predetermined unit are formed is loaded, and recording and reproduction can be performed on the magnetic tape contained in the tape cassette. Tape drive means, at least a buffer area for recording and reproducing data in the tape drive means, and a cue data for reproducing the file corresponding to a file recorded on the magnetic tape. Hard disk drive means having a cue data area for recording, and cue data for setting the capacity of the cue data based on the distance between a load / unload area created on the magnetic tape and a file. A recording / reproducing apparatus is provided with the capacity setting means.

【0007】本発明は、チェンジャ手段によるテープカ
セットの搬送時間と、磁気テープに作成されているロー
ド/アンロード領域とファイルの距離に基づいて、頭出
しデータの容量を求めるようにしているので、再生する
ファイルのロード/アンロード領域からの距離や、テー
プカセットの搬送時間に対応した容量の頭出しデータを
記録しておくことができる。
According to the present invention, the amount of cue data is obtained based on the transport time of the tape cassette by the changer means and the distance between the load / unload area created on the magnetic tape and the file. Cueing data having a capacity corresponding to the distance of the file to be reproduced from the load / unload area and the transport time of the tape cassette can be recorded.

【0008】また、第二のロード/アンロード領域の近
くに記録され、ロード後のアクセス性が良いファイルに
対応した頭出しデータについては、必要に応じてその頭
出しデータの一部を消去することで、必要最低限の頭出
しデータを記録しておくことができるようになる。
[0008] In addition, for the cue data recorded near the second load / unload area and corresponding to a file having good accessibility after loading, a part of the cue data is deleted as necessary. As a result, the minimum necessary cue data can be recorded.

【0009】さらに、磁気テープをロードしてからファ
イルの記録位置までの移動時間に対応した容量の頭出し
データを記録しておくことができるので、ロード後に所
望するファイルの記録位置に移動する間は、そのファイ
ルに対応した頭出しデータを読み出すことができるよう
になる。
Furthermore, since the cue data having a capacity corresponding to the moving time from the loading of the magnetic tape to the recording position of the file can be recorded in advance, it is possible to record the cue data to the desired file recording position after loading. Can read the cue data corresponding to the file.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を以下
の順序で説明する。 1.システム全体の説明 1−1.外観図、ブロック図 1−2.データストレージ装置のブロック図 1−3.テープドライブ部のブロック図 1−4.記録時と再生時のデータの流れ 1−5.磁気テープのレイアウト 1−6.断片化に対応したディビジョンの大きさ 1−7.チェンジャ部の構成例 1−8.ハードディスク部 2.ファイルシステム 2−1.ホストコンピュータ装置の構成例 2−2.ドライバ部から出力されるコマンド例 2−3.コンピュータ装置側の処理 2−4.データストレージ装置側の処理 3.データの保存レベル 3−1.BOFデータの記録 3−2.保存レベル 3−3.保存レベル更新 3−4.ファイルのライフサイクル 4.磁気テープのロード/アンロード 4−1.EODエリアの後のロード/アンロード 4−2.デバイスエリア#1でのロード/アンロード 4−3.ロード/アンロードの工程 4−4.つなぎデータ 5.BOFデータの最適化
Embodiments of the present invention will be described below in the following order. 1. Description of overall system 1-1. External view, block diagram 1-2. Block diagram of data storage device 1-3. Block diagram of tape drive section 1-4. Data flow during recording and playback 1-5. Layout of magnetic tape 1-6. Division size corresponding to fragmentation 1-7. Configuration example of changer section 1-8. Hard disk unit 2. File system 2-1. Configuration example of host computer device 2-2. Example of command output from driver section 2-3. Processing on computer side 2-4. 2. Processing on the data storage device side Data storage level 3-1. Recording of BOF data 3-2. Storage level 3-3. Update of storage level 3-4. 3. File life cycle Loading / unloading of magnetic tape 4-1. Loading / unloading after EOD area 4-2. Loading / unloading in device area # 1 4-3. Loading / unloading process 4-4. 4. Connection data Optimization of BOF data

【0011】1.システム全体の説明 1−1.外観図、ブロック図 図1は、本実施の形態のデータストレージシステム全体
を示す外観図である。この図で、コンピュータ装置41
はホストコンピュータとして例えばパーソナルコンピュ
ータなどにより構成されており、キーボード100によ
って所要の操作を行うことができるようにされている。
また、コンピュータ装置41によって形成されるインタ
ーフェース用の操作画像(例えばGUI(Graphic User
Interface)などによるウインドウ形式)は、モニタ装
置100に表示される。したがって、ユーザはモニタ装
置101に表示される操作画像にしたがいコンピュータ
装置41の各種操作を行うことができる。
1. Description of overall system 1-1. FIG. 1 is an external view showing the entire data storage system of the present embodiment. In this figure, the computer device 41
Is constituted by, for example, a personal computer or the like as a host computer, and a keyboard 100 can perform required operations.
Further, an operation image for an interface formed by the computer device 41 (for example, a GUI (Graphic User
Interface) is displayed on the monitor device 100. Therefore, the user can perform various operations of the computer device 41 in accordance with the operation images displayed on the monitor device 101.

【0012】モニタ装置100に表示される操作画像と
しては、例えばコンピュータ装置41に内蔵されてい
る、ハードディスク装置、フロッピーディスクドライブ
装置、または例えばCD(Compact Disc)やCD−RO
M(Compact Disc Read Only Memory)などのディスク
状記録媒体に記録されているデータの読み出しを行うデ
ィスクドライブ装置などが、アイコン化されたものとさ
れる。したがって、ユーザがハードディスク装置に記憶
されているデータの内容を参照する場合は、ハードディ
スク装置に対応したアイコンを所要の操作によって選択
することにより、ハードディスク装置に対応したウイン
ドウが表示される。そして、そのウインドウ内にハード
ディスク装置に記憶されている各種ファイルやアプリケ
ーションプログラムなどに対応したアイコンが表示され
る。これにより、ユーザはウインドウを観ることによっ
て視覚的にファイルの有無などを把握することができ、
各種ファイルの選択操作や、アプリケーションソフトの
起動を実行させる操作に移行することができる。
The operation image displayed on the monitor device 100 is, for example, a hard disk device, a floppy disk drive device, or a CD (Compact Disc) or a CD-RO built in the computer device 41, for example.
A disk drive device that reads data recorded on a disk-shaped recording medium such as an M (Compact Disc Read Only Memory) is iconified. Therefore, when the user refers to the contents of the data stored in the hard disk device, a window corresponding to the hard disk device is displayed by selecting an icon corresponding to the hard disk device by a required operation. Then, icons corresponding to various files and application programs stored in the hard disk device are displayed in the window. This allows the user to visually grasp the presence or absence of a file by looking at the window,
It is possible to shift to an operation of selecting various files or an operation of executing the application software.

【0013】また、本実施の形態のデータストレージ装
置1は、例えばSCSI(Small Computer Serious Int
erface)などのインターフェース手段を介してコンピュ
ータ装置41と接続されている。すなわち、データスト
レージ装置1はコンピュータ装置41に接続される外部
記憶装置として構成されている。
The data storage device 1 according to the present embodiment is, for example, a SCSI (Small Computer Serious Int.).
The computer device 41 is connected to the computer device 41 via interface means such as an external device (e.g. That is, the data storage device 1 is configured as an external storage device connected to the computer device 41.

【0014】図2は、コンピュータ装置41とデータス
トレージ装置1の構成例を説明するブロック図である。
このデータストレージ装置1は、コンピュータ装置41
に対するデータの入/出力手段として、例えばSCSI
インターフェースや、当該データストレージ装置1の各
種制御を行う制御部などを有したコントローラ部2が備
えられる。ハードディスク部3は、コンピュータ装置4
1から供給されるデータ(例えば映像などとされるファ
イル)を、例えばテープドライブ部4に装填されている
磁気テープ(図示せず)に記録する場合や、または前記
磁気テープに記録されているデータの再生を行う場合の
バッファ領域や、前記磁気テープに記録されているファ
イルの管理情報が記録される領域、または再生時などに
用いる頭出しを行うデータの記憶領域、アクセスを行っ
ている間にデータの読み出しが途切れる場合に対応する
つなぎデータを記録する領域などが形成されている。ま
た、場合によっては、コンピュータ装置41から転送さ
れたデータが、ハードディスク部3にのみ、または前記
磁気テープのみに記録されている状態も生じる。
FIG. 2 is a block diagram illustrating a configuration example of the computer device 41 and the data storage device 1.
The data storage device 1 includes a computer device 41
For example, SCSI
A controller unit 2 having an interface and a control unit for performing various controls of the data storage device 1 is provided. The hard disk unit 3 includes a computer device 4
1 is recorded on a magnetic tape (not shown) mounted on the tape drive unit 4, or data recorded on the magnetic tape is recorded. Buffer area in the case of performing reproduction, an area in which management information of a file recorded on the magnetic tape is recorded, or a storage area of data for cueing used in reproduction or the like, during access. An area for recording connection data corresponding to a case where data reading is interrupted is formed. In some cases, data transferred from the computer device 41 may be recorded only on the hard disk unit 3 or only on the magnetic tape.

【0015】テープドライブ部4は、チェンジャ部5に
よって装填されるテープカセットに収納されている磁気
テープを記録媒体として、データの記録/再生を行うこ
とができるようにされている。なお、磁気テープには、
後述するようにディビジョンという単位の記録エリアが
形成されている。例えばデータの記録を行う場合は、ハ
ードディスク部3のバッファ領域に格納されたデータを
所要のディビジョンに記録していき、データの再生を行
う場合は、前記ディビジョンに記録されているデータを
ハードディスク部3のバッファ領域に出力するようにさ
れる。チェンジャ部5は、例えば本実施の形態では20
本のテープカセットを収納することができるラック手段
を備えて構成される。そしてこのチェンジャ部5は、ラ
ック手段に収納されている20本のテープカセットの中
から、記録/再生を行う特定のテープカセットを選択し
てテープドライブ部4に搬送するようにされている。但
し、データストレージ装置1では、例えば20本のテー
プカセットに収納されている磁気テープがそれぞれ独立
した記録媒体ではなく、1本の磁気テープとして扱われ
るようにされている。つまり、データストレージ装置1
は、ハードディスク部3とチェンジャ部5に備えられる
例えば20本の磁気テープに相当する容量を有した記録
媒体を備えた装置として構成されている。
The tape drive unit 4 can record / reproduce data by using a magnetic tape stored in a tape cassette loaded by the changer unit 5 as a recording medium. In addition, on magnetic tape,
As will be described later, a recording area is formed in units called divisions. For example, when recording data, the data stored in the buffer area of the hard disk unit 3 is recorded in a required division. When reproducing data, the data recorded in the division is recorded in the hard disk unit 3. Output to the buffer area. The changer unit 5 is, for example, 20 in the present embodiment.
It is provided with a rack means capable of storing a tape cassette. The changer unit 5 selects a specific tape cassette for recording / reproducing from among the 20 tape cassettes stored in the rack means and conveys the tape cassette to the tape drive unit 4. However, in the data storage device 1, for example, the magnetic tapes housed in 20 tape cassettes are not treated as independent recording media, but are treated as one magnetic tape. That is, the data storage device 1
Is configured as a device provided with a recording medium having a capacity corresponding to, for example, 20 magnetic tapes provided in the hard disk unit 3 and the changer unit 5.

【0016】コンピュータ装置41は、当該コンピュー
タ装置41の記憶手段として備えられるハードディスク
装置(図示せず)に、少なくともアプリケーションソフ
トウエア42(以下、アプリケーションという)、オペ
レーション/ファイルシステム43(以下、ファイルシ
ステムという)、およびデータストレージ装置1を駆動
制御するためのソフトウエアとされるドライバ部44が
記憶されている。なお、この図では要部のみを示して省
略しているが、コンピュータ装置41には例えばディス
ク状の記録媒体(フロッピー(登録商標)ディスク、C
D−ROMなど)のドライブ装置や、各種演算処理を行
うCPU(Central Processing Unit)などが備えら
れ、一般的なコンピュータ装置として用いることができ
るようにされている。
The computer device 41 includes at least application software 42 (hereinafter referred to as an application) and an operation / file system 43 (hereinafter referred to as a file system) in a hard disk device (not shown) provided as a storage means of the computer device 41. ), And a driver unit 44 which is software for driving and controlling the data storage device 1. Although only the main parts are shown and omitted in this figure, the computer device 41 has, for example, a disk-shaped recording medium (floppy (registered trademark) disk, C
A drive device such as a D-ROM, a CPU (Central Processing Unit) for performing various arithmetic processes, and the like are provided, and can be used as a general computer device.

【0017】ところで、コンピュータ装置41によって
GUIとして構築され、モニタ装置100に表示される
データストレージ装置1に対応したウインドウ画面は、
例えば図3に示されているようになる。ウインドウ10
1には、例えばコンピュータ装置41全体を示すものと
され、例えばフロッピーディスクドライブを示すアイコ
ン102、ハードディスクドライブを示すアイコン10
3、または各種設定を行う操作項目が含まれる設定ホル
ダを示すアイコン104、105、および本実施の形態
のデータストレージ装置1に対応したアイコン106が
示されている。ウインドウ110は、アイコン106を
選択した場合に開示されるウインドウとして、データス
トレージ装置1の内容に対応したアイコン111、11
2、113が示される。上記したようにデータストレー
ジ装置1では、複数(本実施の形態では20本)のテー
プカセットを一つの記録媒体として構成しているので、
アイコン111、112、113は、ハードディスク部
3やテープカセット単位に対応したものではなく、デー
タストレージ装置1のハードディスク部3や磁気テープ
に記憶されている、例えば映画などに対応したファイル
毎に形成されたものとされる。すなわち、データストレ
ージ装置1はコンピュータ装置41に対して、ハードデ
ィスク部3やテープカセットによる大容量を有する、例
えばハードディスクドライブ装置などと同様に1個のド
ライブ装置として認識させるようにしている。
By the way, a window screen corresponding to the data storage device 1 which is constructed as a GUI by the computer device 41 and displayed on the monitor device 100 is:
For example, as shown in FIG. Window 10
1, an icon 102 indicating a floppy disk drive, an icon 10 indicating a hard disk drive, for example,
3 or icons 104 and 105 indicating a setting holder including an operation item for performing various settings, and an icon 106 corresponding to the data storage device 1 of the present embodiment. The window 110 is a window that is disclosed when the icon 106 is selected, and includes icons 111 and 11 corresponding to the contents of the data storage device 1.
2, 113 are shown. As described above, in the data storage device 1, a plurality of (20 in this embodiment) tape cassettes are configured as one recording medium.
The icons 111, 112, and 113 do not correspond to the hard disk unit 3 or the tape cassette unit, but are formed for each file corresponding to, for example, a movie stored in the hard disk unit 3 or the magnetic tape of the data storage device 1. It is assumed that. That is, the data storage device 1 causes the computer device 41 to recognize it as one drive device having a large capacity by the hard disk unit 3 or a tape cassette, for example, like a hard disk drive device.

【0018】1−2.ドライブ装置のブロック図 図4は、データストレージ装置1の構成例を説明するブ
ロック図であり、この図では特にコントローラ部2につ
いて説明する。コントローラ部2における、記録または
再生時のデータの経路においては、インターフェース部
(以下、I/F部)6、バッファコントローラ部7、I
/Fバッファ8、インターフェース部9が備えられる。
1-2. FIG. 4 is a block diagram illustrating a configuration example of the data storage device 1. In this figure, the controller unit 2 will be particularly described. In the data path at the time of recording or reproduction in the controller unit 2, an interface unit (hereinafter, I / F unit) 6, a buffer controller unit 7,
/ F buffer 8 and an interface unit 9 are provided.

【0019】I/F部6はコンピュータ装置41との間
に配置され、記録/再生時などにデータストレージ装置
1とコンピュータ装置41がデータ通信を行う場合の入
/出力段として構成される。バッファコントローラ7部
は、例えばダイレクトメモリアクセス7a、7bによっ
て構成されI/F部6とI/F部9の間におけるデータ
転送を制御するようにされる。I/Fバッファ8はバッ
ファコントローラ部7のバッファメモリとして構成され
る、I/F部9はデータストレージ装置1内においてハ
ードディスク部3とテープドライブ部4とのデータ転送
に用いられるインターフェース手段として構成されてい
る。なお、コンピュータ装置41から転送されたデータ
をハードディスク部3に記録する場合や、テープドライ
ブ部4で再生されたデータをコンピュータ装置41に転
送する場合は、I/F部9を介してデータ転送が行われ
ることになるが、例えばハードディスク部3に格納され
ているデータをテープドライブ部4に供給する場合は、
ハードディスク部3とテープドライブ部4の間で直接デ
ータ転送が行われてもよい。
The I / F unit 6 is arranged between the computer device 41 and serves as an input / output stage when the data storage device 1 and the computer device 41 perform data communication during recording / reproduction. The buffer controller 7 is constituted by, for example, direct memory accesses 7a and 7b, and controls data transfer between the I / F unit 6 and the I / F unit 9. The I / F buffer 8 is configured as a buffer memory of the buffer controller unit 7, and the I / F unit 9 is configured as an interface unit used for data transfer between the hard disk unit 3 and the tape drive unit 4 in the data storage device 1. ing. When the data transferred from the computer device 41 is recorded on the hard disk unit 3 or the data reproduced by the tape drive unit 4 is transferred to the computer device 41, the data transfer via the I / F unit 9 is performed. For example, when data stored in the hard disk unit 3 is supplied to the tape drive unit 4,
Data transfer may be directly performed between the hard disk unit 3 and the tape drive unit 4.

【0020】例えば記録時には、コンピュータ装置41
から転送されたデータは、I/F部6を介してダイレク
トメモリアクセス7aに供給されてI/Fバッファ8に
格納される。そしてI/Fバッファ8に格納されたデー
タはダイレクトメモリアクセス7bによって読み出され
て、I/F部9を介してハードディスク部3に供給され
るようになる。また、例えば再生時には、ハードディス
ク部3またはテープドライブ部4から読み出されたデー
タは、I/F部9を介してダイレクトメモリアクセス7
bに供給されてI/Fバッファ8に格納される。そして
I/Fバッファ8に格納されたデータはダイレクトメモ
リアクセス7aによって読み出されて、I/F部6を介
してコンピュータ装置41に転送されるようになる。
For example, at the time of recording, the computer device 41
Is supplied to the direct memory access 7 a via the I / F unit 6 and stored in the I / F buffer 8. Then, the data stored in the I / F buffer 8 is read out by the direct memory access 7 b and supplied to the hard disk unit 3 via the I / F unit 9. For example, at the time of reproduction, data read from the hard disk unit 3 or the tape drive unit 4 is transferred to the direct memory access 7 via the I / F unit 9.
b and stored in the I / F buffer 8. Then, the data stored in the I / F buffer 8 is read out by the direct memory access 7a and transferred to the computer device 41 via the I / F unit 6.

【0021】制御部11は、例えばマイクロコンピュー
タなどで構成され、例えば記録や再生などを行う場合
に、バス14を介して上記したコントローラ部2の各部
位を制御して、データストレージ装置1全体の動作制御
を行うようにされている。また、制御部11は、I/F
部9を介してチェンジャ部5の制御を行うようにされて
いる。すなわち、コンピュータ装置41からI/F部6
を介して供給される記録または再生などに対応した各種
コマンドに基づいて、データの記録または再生を行う磁
気テープを収納している所定のテープカセットをテープ
ドライブ部4に搬送させる制御も行う。この場合、コン
ピュータ装置41から供給される情報とともに、ハード
ディスク部3に記憶されているテープカセットの使用状
況(管理情報)に基づいた制御になる。
The control unit 11 is composed of, for example, a microcomputer, and controls each part of the above-described controller unit 2 via a bus 14 when performing, for example, recording or reproduction, for example. Operation control is performed. Further, the control unit 11 controls the I / F
The changer unit 5 is controlled via the unit 9. That is, from the computer device 41 to the I / F unit 6
Also, based on various commands corresponding to recording or reproduction supplied via the CPU, control is performed to convey a predetermined tape cassette containing a magnetic tape for recording or reproducing data to the tape drive unit 4. In this case, the control is performed based on the tape cassette usage status (management information) stored in the hard disk unit 3 together with the information supplied from the computer device 41.

【0022】ROM12、RAM13は、制御部11
が、データの記録または再生などの制御を行う場合の各
種処理に用いるデータが記憶される。例えばROM12
には制御に用いる定数等が記憶される。またRAM13
はワークメモリなどとしても用いられる。なお、ROM
12、RAM13は、制御部11を構成するマイクロコ
ンピュータの内部メモリとしても用いられる。
The ROM 12 and the RAM 13 include a control unit 11
However, data used for various processes in the case of performing control such as data recording or reproduction is stored. For example, ROM12
Stores constants and the like used for control. RAM 13
Is also used as a work memory. In addition, ROM
The RAM 13 is also used as an internal memory of the microcomputer that constitutes the control unit 11.

【0023】1−3.テープストリーマ部のブロック図 図5は、テープドライブ部4の構成例を説明するブロッ
ク図である。テープドライブ部4における、記録または
再生時のデータの経路においては、I/F部20、コン
トローラ部21、グループバッファ22、RF処理部2
3が備えられ、さらに回転ドラム24の周囲において所
定の位置に、再生ヘッド25A、25B、25C、記録
ヘッド26A、26Bが備えられる。I/F部20はコ
ントローラ部2に対するデータの入/出力段として構成
される。
1-3. FIG. 5 is a block diagram illustrating a configuration example of the tape drive unit 4. In the data path at the time of recording or reproduction in the tape drive section 4, the I / F section 20, the controller section 21, the group buffer 22, the RF processing section 2
3 are provided, and reproduction heads 25A, 25B, 25C and recording heads 26A, 26B are provided at predetermined positions around the rotary drum 24. The I / F unit 20 is configured as a data input / output stage for the controller unit 2.

【0024】コントローラ部21は、例えばダイレクト
メモリアクセス21a、シグナルプロセッサ21bによ
って構成され、I/F部20とRF処理部23の間にお
けるデータ転送を制御するようにされる。また、シグナ
ルプロセッサ21bは、例えば記録データ、再生データ
に対して所要の誤り訂正処理などを施すようにされてい
る。RF処理部23は、磁気テープ40に記録する記録
信号の生成や、磁気テープ40から読み出された再生R
F信号に基づいて再生データの生成を行う。このRF処
理部23は、記録時において、コントローラ部21から
供給された記録データに対して増幅、記録イコライジン
グ等の処理を施して記録信号を生成し、記録ヘッド26
A、26Bに供給する。これにより記録ヘッド26A、
26Bから磁気テープ40に対するデータの記録が行わ
れることになる。また再生時には、磁気テープ40の記
録データが、再生ヘッド13A、13Bにより読み出さ
れたRF再生信号が再生出力として供給され、再生イコ
ライジング、再生クロック生成、2値化、デコード(例
えばビタビ復号)などが行われる。
The controller unit 21 includes, for example, a direct memory access 21a and a signal processor 21b, and controls data transfer between the I / F unit 20 and the RF processing unit 23. Further, the signal processor 21b performs, for example, a required error correction process on recording data and reproduction data. The RF processing unit 23 generates a recording signal to be recorded on the magnetic tape 40,
The reproduction data is generated based on the F signal. During recording, the RF processing unit 23 performs processing such as amplification and recording equalization on the recording data supplied from the controller unit 21 to generate a recording signal, and the recording head 26
A, 26B. Thereby, the recording head 26A,
From 26B, data is recorded on the magnetic tape 40. At the time of reproduction, the recording data on the magnetic tape 40 is supplied as a reproduction output from an RF reproduction signal read by the reproduction heads 13A and 13B, and reproduction equalization, reproduction clock generation, binarization, decoding (for example, Viterbi decoding), and the like are performed. Is performed.

【0025】メカコントローラ27は、図示は省略して
いるドラムモータ、キャプスタンモータ、リールモー
タ、ローディングモータ、イジェクトモータなどを回転
駆動させるように、各駆動モータに所要の駆動電圧を印
加するようにされている。このメカコントローラ27は
サーボコントローラ28からの制御に基づいて各モータ
を駆動する。サーボコントローラ28は各モータの回転
速度制御を行って通常の記録再生時の走行や高速再生時
のテープ走行、早送り、巻き戻し時のテープ走行などを
実行させる。なおEEP−ROM32にはサーボコント
ローラ28が各モータのサーボ制御に用いる定数等が格
納されている。
The mechanical controller 27 applies a required drive voltage to each drive motor so as to rotationally drive a drum motor, a capstan motor, a reel motor, a loading motor, an eject motor, and the like (not shown). Have been. The mechanical controller 27 drives each motor under the control of the servo controller 28. The servo controller 28 controls the rotation speed of each motor to execute the running at the time of normal recording / reproducing, the running of the tape at the time of high-speed playing, the running of the tape at the time of fast forward and the rewinding, and the like. The EEP-ROM 32 stores constants used by the servo controller 28 for servo control of each motor.

【0026】制御部29は、例えばマイクロコンピュー
タなどで構成され、例えば記録や再生などを行う場合
に、バス35を介し、コンピュータ装置41からコント
ローラ部2を介して供給される各種コマンドに基づいて
テープドライブ部4の各部位を制御するようにされてい
る。例えば、データの記録を行う場合は、チェンジャ部
5によって装填されたテープカセットの磁気テープ40
における記録位置までの早送りなどを実行させるととも
に、記録ヘッド26A、26Bに記録データを供給させ
る制御などを行い、再生時には、装填されたテープカセ
ットの磁気テープ40における再生位置までの早送りな
どを実行させる。
The control unit 29 is constituted by, for example, a microcomputer. For example, when performing recording or reproduction, the tape is controlled based on various commands supplied from the computer device 41 via the controller unit 2 via the bus 35. Each part of the drive unit 4 is controlled. For example, when data is recorded, the magnetic tape 40 of the tape cassette loaded by the changer unit 5 is used.
, And control to supply recording data to the recording heads 26A and 26B, and at the time of reproduction, the recording head 26A and the loaded tape cassette to the reproduction position on the magnetic tape 40. .

【0027】また、ROM30、RAM31は、図4で
コントローラ部2の構成として示したROM12、RA
M13と同様に、制御部29が、データの記録または再
生などの制御を行う場合の各種処理に用いるデータが記
憶される。すなわち、例えばフラッシュROM30には
制御に用いる定数等が記憶され、またRAM31はワー
クメモリなどとして用いられる。
The ROM 30 and the RAM 31 correspond to the ROM 12 and the RA shown in FIG.
Similarly to M13, data used for various processes when the control unit 29 performs control such as recording or reproduction of data is stored. That is, for example, constants used for control are stored in the flash ROM 30, and the RAM 31 is used as a work memory.

【0028】1−4.記録時のデータの流れ ここで、図6の模式図にしたがい、記録を行う場合のデ
ータストレージ装置1内におけるデータの一連の流れ
を、時間の経過に対応させて説明する。図6(a)に示
されているように、データストレージ装置1にコンピュ
ータ装置41から記録データが転送されると、まずI/
Fバッファ8に格納される(図4の経路)。次に、I
/Fバッファ8に格納されたデータは、図6(b)に示
されているようにハードディスク部3に転送される(図
4の経路)。これにより、記録データは、ハードディ
スク部3の例えばバッファエリアに格納される。この図
6(a)から図6(b)に示すデータ転送の遷移は、I
/Fバッファ8の容量によるものとされ、I/Fバッフ
ァ8に所定量のデータが蓄積された時点で行われる。次
に、ハードディスク部3に格納されたデータがテープド
ライブ部4に転送されて磁気テープ40に記録される場
合は、図6(c)に示されているようになり、まずテー
プドライブ部4のグループバッファ22に格納される
(図4の経路)。そして、図6(d)に示されている
ように、グループバッファ22からグループ単位で読み
出されたデータは、磁気テープ40に記録されていく
(図4の経路)。この、図6(c)から図6(d)に
示すデータ転送の遷移は、グループバッファ22の容量
により、グループバッファ22に例えば1グループ単位
のデータが蓄積された時点で実行される。なお、図6
(b)から図6(c)に示されているデータ転送の遷移
(図4の経路)は、例えばSCSIインターフェース
などにおいては、「COPY」コマンドによって実行す
ることができるが、例えばATA(AT Attachment)な
どのように前記「COPY」コマンドに対応したコマン
ドがないインターフェース手段が適用されてる場合は、
I/Fバッファ8を仲介してデータ転送を行うようにす
ることになる。
1-4. Data Flow During Recording Here, according to the schematic diagram of FIG. 6, a series of data flows in the data storage device 1 when recording is performed will be described in relation to the passage of time. As shown in FIG. 6A, when recording data is transferred from the computer device 41 to the data storage device 1, first, the I / O
It is stored in the F buffer 8 (path in FIG. 4). Next, I
The data stored in the / F buffer 8 is transferred to the hard disk unit 3 as shown in FIG. 6B (path in FIG. 4). Thereby, the recording data is stored in, for example, a buffer area of the hard disk unit 3. The transition of the data transfer from FIG. 6A to FIG.
This is based on the capacity of the / F buffer 8, and is performed when a predetermined amount of data is accumulated in the I / F buffer 8. Next, when the data stored in the hard disk unit 3 is transferred to the tape drive unit 4 and recorded on the magnetic tape 40, the data is as shown in FIG. It is stored in the group buffer 22 (path in FIG. 4). Then, as shown in FIG. 6D, the data read from the group buffer 22 in units of groups is recorded on the magnetic tape 40 (path in FIG. 4). The transition of the data transfer shown in FIGS. 6C to 6D is executed when data of, for example, one group unit is accumulated in the group buffer 22 due to the capacity of the group buffer 22. FIG.
The transition of the data transfer from (b) to FIG. 6 (c) (the path in FIG. 4) can be executed by a “COPY” command in a SCSI interface or the like. )), When an interface means having no command corresponding to the “COPY” command is applied,
The data transfer is performed via the I / F buffer 8.

【0029】したがって、図6(b)から図6(c)に
示す遷移は、ハードディスク部3のバッファエリアの大
きさに基づいた間隔で行われ、図6(a)から図6
(b)、および図6(c)から図6(d)に示す遷移
は、図6(b)から図6(c)に示す遷移よりも比較的
短い期間で行われる。
Therefore, the transition from FIG. 6B to FIG. 6C is performed at intervals based on the size of the buffer area of the hard disk unit 3, and the transition from FIG.
6 (b) and the transitions shown in FIGS. 6 (c) to 6 (d) are performed in a relatively shorter period than the transitions shown in FIGS. 6 (b) to 6 (c).

【0030】1−5.磁気テープのレイアウト 図7は、テープカセット内の所要のリールに巻装され収
納されている磁気テープ40のレイアウトを説明する模
式図である。なお、本実施の形態では1本の磁気テープ
40の記録領域は例えば50GB(ギガバイト)の容量
を有しているものとする。図7(a)には1本の磁気テ
ープ40が模式的に示されている。この磁気テープ40
の最初の部分には物理的にリーダーテープ(図示せず)
が先頭に位置しており、次に磁気テープ40をローディ
ング/アンローディングを行う領域となるデバイスエリ
アが設けられている。このデバイスエリアの先頭が物理
的テープの先頭位置PBOT(Physical Beginning of
Tape)とされる。なお、本明細書においてローディング
とは、テープドライブ部4にテープカセットを装填した
後に、このテープカセットに収納されている磁気テープ
を引き出して、記録されているデータの読み出しを可能
にするまでの動作とし、アンローディングとは、磁気テ
ープ40をテープカセット内に収納してテープドライブ
部4からテープカセットを排出するまでの動作とする。
1-5. Layout of Magnetic Tape FIG. 7 is a schematic diagram illustrating the layout of the magnetic tape 40 wound and stored on a required reel in a tape cassette. In this embodiment, the recording area of one magnetic tape 40 has a capacity of, for example, 50 GB (gigabytes). FIG. 7A schematically shows one magnetic tape 40. This magnetic tape 40
The first part is physically a leader tape (not shown)
Is located at the top, and a device area which is a region where the magnetic tape 40 is loaded / unloaded next is provided. The head of this device area is the head position PBOT (Physical Beginning of Physical Tape).
Tape). In this specification, loading means an operation from loading a tape cassette into the tape drive unit 4 to pulling out a magnetic tape stored in the tape cassette and enabling reading of recorded data. The unloading is an operation until the magnetic tape 40 is stored in the tape cassette and the tape cassette is discharged from the tape drive unit 4.

【0031】デバイスエリアに続いて、データの記録が
行われる記録エリアが形成されるが、例えばディビジョ
ン(Division)という所要の記録、再生を行う最小単位
で分割して利用するようにされている。また、この図に
示す各ディビジョンは、それぞれディビジョン#1、#
2、#3・・・として記されているように、ディビジョ
ンナンバが与えられて管理される。本実施の形態では、
後述するように例えばディビジョン#1〜ディビジョン
#400までの計400のディビジョンが形成される。
また、本実施の形態ではディビジョン#400となる最
後のディビジョンの終端部は、物理的テープの最終位置
PEOT(Physical End of Tape)とされている。
Following the device area, a recording area in which data is recorded is formed. For example, the recording area is divided and used in a required minimum unit of recording and reproduction called division. Also, the divisions shown in FIG.
As described as 2, # 3..., A division number is given and managed. In the present embodiment,
As will be described later, for example, a total of 400 divisions from division # 1 to division # 400 are formed.
Further, in the present embodiment, the end of the last division which becomes division # 400 is the final position PEOT (Physical End of Tape) of the physical tape.

【0032】なお、この図には示していないが、磁気テ
ープ40に対して記録を行っていき、その記録位置が所
定の位置とされる例えば中央部分(例えばディビジョン
#200)に到達した場合に、第一のロード/アンロー
ド領域とされるデバイスエリア#1に対して、第二のロ
ード/アンロード領域とされるデバイスエリア#2を形
成する。そしてデバイスエリア#2が形成された後は、
このデバイスエリア#2によってロード/アンロード動
作を行うようにする。このデバイスエリア#2を用いた
ロード/アンロード動作については後述する。
Although not shown in this figure, recording is performed on the magnetic tape 40, and when the recording position reaches a predetermined position, for example, a central portion (for example, division # 200). Then, a device area # 2 as a second load / unload area is formed with respect to a device area # 1 as a first load / unload area. After the device area # 2 is formed,
The load / unload operation is performed by this device area # 2. The load / unload operation using this device area # 2 will be described later.

【0033】例えば図7(b)に示す1ディビジョン内
におけるデータの記録単位は、図7(c)に示すグルー
プ(Group)といわれる固定長の単位に分割することが
できる。図示されているように1ディビジョンは112
グループにより形成される。例えばコンピュータ装置4
1から転送されたデータは、ハードディスク部3を介し
てグループ単位でテープドライブ部4に供給される。1
グループは20フレーム(Frame)のデータ量に対応す
る。この20フレームの内訳は、例えば18データフレ
ームと2パリティフレームとされる。そして、図7
(d)に示すように、1フレームは、2トラック(Trac
k)により形成される。この場合、1フレームを形成す
る2トラックは、互いに隣り合うプラスアジマスとマイ
ナスアジマスのトラックとされる。したがって、1グル
ープは40トラックにより形成されることになる。
For example, a data recording unit in one division shown in FIG. 7B can be divided into fixed-length units called groups shown in FIG. 7C. As shown, one division is 112
Formed by groups. For example, computer device 4
1 is supplied to the tape drive unit 4 via the hard disk unit 3 in units of groups. 1
The group corresponds to a data amount of 20 frames. The details of the 20 frames are, for example, 18 data frames and 2 parity frames. And FIG.
As shown in (d), one frame is composed of two tracks (Trac
k). In this case, the two tracks forming one frame are adjacent azimuth and minus azimuth tracks. Therefore, one group is formed by 40 tracks.

【0034】また、図7(d)に示した1トラック分の
データの構造は、図8(a)および図8(b)に示され
る。図8(a)にはブロック(Block)単位のデー
タ構造が示されている。1ブロックは1バイトのSYN
CデータエリアA1に続いてサーチ等に用いる6バイト
のIDエリアA2、IDデータのための2バイトからな
るエラー訂正用のパリティーエリアA3、64バイトの
データエリアA4より形成される。
The data structure for one track shown in FIG. 7D is shown in FIGS. 8A and 8B. FIG. 8A shows a data structure in block units. One block is one byte of SYN
Following the C data area A1, it is formed of a 6-byte ID area A2 used for searching and the like, a 2-byte error correction parity area A3 for ID data, and a 64-byte data area A4.

【0035】図8(b)に示す1トラック分のデータは
全471ブロックにより形成され、1トラックは図のよ
うに、両端に4ブロック分のマージンエリアA11、A
19が設けられ、これらマージンエリアA11の後ろと
マージンA19の前にはトラッキング制御用のATFエ
リアA12、A18が設けられる。さらに、AFTエリ
アA12の後ろとATFエリアA18の前にはパリティ
ーエリアA13、A17が備えられる。これらのパリテ
ィーエリアA13、A17としては32ブロック分の領
域が設けられる。
The data for one track shown in FIG. 8B is formed by a total of 471 blocks, and one track has four blocks of margin areas A11 and A11 at both ends as shown in the figure.
ATF areas A12 and A18 for tracking control are provided after the margin area A11 and before the margin A19. Further, parity areas A13 and A17 are provided after the AFT area A12 and before the ATF area A18. As the parity areas A13 and A17, areas for 32 blocks are provided.

【0036】また、1トラックの中間に対してATFエ
リアA15が設けられ、これらATFエリアA13、A
15、A18としては5ブロック分の領域が設けられ
る。そして、パリティーエリアA13とATFエリアA
15の間と、ATFエリアA15とパリティーエリアA
17との間にそれぞれ192ブロック分のデータエリア
A14、A16が設けられる。したがって、1トラック
内における全データエリア(A14およびA16)は、
全471ブロックのうち、192×2=384ブロック
を占めることになる。そして上記トラックは、磁気テー
プ40上に対して図8(c)に示すようにして物理的に
記録され、前述のように40トラック(=20フレー
ム)で1グループとされることになる。
An ATF area A15 is provided in the middle of one track, and these ATF areas A13 and A15 are provided.
Areas for 5 blocks are provided as 15 and A18. Then, the parity area A13 and the ATF area A
15, ATF area A15 and parity area A
17 and 192 blocks of data areas A14 and A16, respectively. Therefore, all data areas (A14 and A16) in one track are
Of the total 471 blocks, 192 × 2 = 384 blocks are occupied. The tracks are physically recorded on the magnetic tape 40 as shown in FIG. 8C, and as described above, 40 tracks (= 20 frames) constitute one group.

【0037】次に、図8(a)に示したIDエリアA2
について図9を参照して説明する。図9はIDエリアA
2のデータ構造を示すものとされ、このIDエリアA2
は9ビットのフィジカルブロックアドレス(Physical Bl
ock Address)A21と、これに続く39ビットのIDイ
ンフォメーションエリア(ID Information Area) A22
の領域よりなる。
Next, the ID area A2 shown in FIG.
Will be described with reference to FIG. FIG. 9 shows the ID area A.
2 shows the data structure of the ID area A2.
Is a 9-bit physical block address (Physical Bl
Ack Address) A21, followed by a 39-bit ID Information Area (ID Information Area) A22
Area.

【0038】前述のように、1トラック内における全デ
ータエリア(A14およびA16)は384ブロックよ
りなることから、これら全データエリアに含まれるフィ
ジカルブロックアドレスA21の数も384とされるこ
とになる。そして、これら384のフィジカルブロック
アドレスA21は、例えば1トラックの先頭に位置する
フィジカルブロックアドレスA21から順に、10進法
表現で0〜383までインクリメントするようにしてア
ドレス値が与えられる。これにより、例えば記録再生装
置側により、1トラック内のデータエリアに含まれるI
DインフォメーションエリアA22の情報を適正に扱う
ことが可能なようにされる。ここで、1トラック内のデ
ータエリアに含まれるIDインフォメーションエリアA
22のデータサイズとしては、 39(Bit )×384(Block)=14976(Bit)=1
872(Byte) で求められるように、1872バイトとなる。
As described above, since all data areas (A14 and A16) in one track are composed of 384 blocks, the number of physical block addresses A21 included in these all data areas is also 384. The 384 physical block address A21 is given an address value in such a manner as to increment from 0 to 383 in decimal notation in order from the physical block address A21 located at the head of one track, for example. Thereby, for example, the recording / reproducing apparatus side includes the I
The information in the D information area A22 can be properly handled. Here, the ID information area A included in the data area in one track
The data size of 22 is 39 (Bit) x 384 (Block) = 14976 (Bit) = 1
It is 1872 bytes, as required by 872 (Byte).

【0039】IDインフォメーションエリアA22に
は、磁気テープ40のデータ構造に対応した各種IDエ
リア情報が所定の規則にしたがって当てはめられるよう
にして格納されている。IDエリア情報としては、本実
施の形態では少なくとも、当該フレームが例えばデバイ
スエリアまたはディビジョンなどのどの記録領域に属し
ているかを示すものとされるエリアIDが格納される。
したがって、テープドライブ部4はテープカセットが装
填された後、磁気テープ40をロードしたときにエリア
IDを読み込むことにより、磁気テープ40をどの位置
(デバイスエリア#1、デバイスエリア#2、またはロ
ード/アンロードエリアLUA)でロードしたかを識別
することができる。なお、テープストリーマドライブ1
0によるIDエリア情報の確実な読み出しを可能とさせ
ることを考慮して、1トラック毎に同一の種類のIDエ
リア情報が所定の規則にしたがってって複数回記録され
る。
In the ID information area A22, various ID area information corresponding to the data structure of the magnetic tape 40 is stored so as to be applied according to a predetermined rule. In the present embodiment, at least an area ID that indicates which recording area the frame belongs to, for example, a device area or a division, is stored as the ID area information.
Therefore, the tape drive unit 4 reads the area ID when the magnetic tape 40 is loaded after the tape cassette is loaded, so that the magnetic tape 40 can be moved to any position (device area # 1, device area # 2, or load / load). It is possible to identify whether the data has been loaded in the unload area LUA). In addition, tape streamer drive 1
In consideration of enabling the ID area information to be reliably read by 0, the same type of ID area information is recorded a plurality of times for each track according to a predetermined rule.

【0040】1−6.チェンジャ部 図10は、チェンジャ部5のラック手段に装填されてい
る各テープカセット、および各テープカセット内に巻装
されている磁気テープ40のレイアウトを模式的に示す
図である。なお、テープカセットは例えば#Aから#T
までの計20本が装填されている。また、各テープカセ
ットに装填されている磁気テープ40(a〜t)のレイ
アウトにおいて、デバイスエリアは省略している。前記
したように、磁気テープ40には例えば400個のディ
ビジョンが形成されている。したがって、テープカセッ
ト#Aの磁気テープ40aを見ると、括弧内に示されて
いる符号として「A001」〜「A400」のディビジ
ョンが形成されていることがわかる。同様にして、磁気
テープ40bには「B001」〜「B400」、磁気テ
ープ40cには「C001」〜「C400」、磁気テー
プ40rには「R001」〜「R400」、磁気テープ
40sには「S001」〜「S400」、磁気テープ4
0Tには「T001」〜「T400」というように、そ
れぞれ400個のディビジョンが形成されている。
1-6. Changer Unit FIG. 10 is a diagram schematically showing the layout of each tape cassette loaded in the rack means of the changer unit 5 and the magnetic tape 40 wound in each tape cassette. The tape cassette is, for example, #A to #T.
Up to a total of 20 are loaded. In the layout of the magnetic tapes 40 (at) loaded in each tape cassette, the device area is omitted. As described above, for example, 400 divisions are formed on the magnetic tape 40. Therefore, when looking at the magnetic tape 40a of the tape cassette #A, it can be seen that divisions "A001" to "A400" are formed as the codes shown in parentheses. Similarly, “B001” to “B400” for the magnetic tape 40b, “C001” to “C400” for the magnetic tape 40c, “R001” to “R400” for the magnetic tape 40r, and “S001” for the magnetic tape 40s. "To" S400 ", magnetic tape 4
400 divisions are formed in OT, such as "T001" to "T400".

【0041】データストレージ装置1では、これら20
本のテープカセットの各磁気テープ(a〜t)に形成さ
れている全てのディビジョンが、連続して形成されてい
る記録領域として管理するようにされている。したがっ
て、データストレージ装置1が認識するディビジョンナ
ンバは、全ての磁気テープ(a〜t)に形成される80
00個(400個×20本)のディビジョンに対応した
通し番号とされる#1〜#8000とされる。つまり、
#1から#8000までの8000個のディビジョンを
有した磁気テープとしては、例えば図11に示されてい
るようになる。データストレージ装置1では、この図に
示されているように、磁気テープ40a〜40tを1本
の磁気テープと見なして扱うようにする。したがって、
前記したように各テープカセット内に巻装される1本の
磁気テープ40(a〜t)の記憶容量がそれぞれ例えば
50GB(ギガバイト)であった場合、1TB(テラバ
イト)の記憶容量を有したテープ状記録媒体がデータス
トレージ装置1に備えられるものとなる。したがって、
データストレージ装置1では映像データの転送レートが
例えば6Mbpsであった場合、370時間程度の録画
を行うことができる。なお、以降単に磁気テープ40a
〜40tを1本の磁気テープとして示す場合は、単に磁
気テープ40ともいうこととする。
In the data storage device 1, these 20
All divisions formed on each of the magnetic tapes (at) of the tape cassette are managed as recording areas formed continuously. Therefore, the division number recognized by the data storage device 1 is formed on all the magnetic tapes (at).
The serial numbers are # 1 to # 8000 which are serial numbers corresponding to 00 (400 × 20) divisions. That is,
A magnetic tape having 8000 divisions from # 1 to # 8000 is as shown in FIG. 11, for example. In the data storage device 1, as shown in this figure, the magnetic tapes 40a to 40t are treated as one magnetic tape. Therefore,
As described above, when the storage capacity of one magnetic tape 40 (at) wound around each tape cassette is, for example, 50 GB (gigabyte), a tape having a storage capacity of 1 TB (terabyte) The shape storage medium is provided in the data storage device 1. Therefore,
When the transfer rate of the video data is, for example, 6 Mbps, the data storage device 1 can record about 370 hours of video. Hereinafter, the magnetic tape 40a
When 4040t is indicated as one magnetic tape, it is simply referred to as a magnetic tape 40.

【0042】このようなディビジョン構造を構築するこ
とで、例えばディビジョンナンバ#6801に記録され
ているデータの読み出しを行う場合、データストレージ
装置1の制御部11は、チェンジャ部5に対してテープ
カセット#Rをテープドライブ部4に装填する指示を出
し、さらに、テープドライブ部4に対しては、磁気テー
プ40rの先頭から2個目のディビジョンにアクセスす
る指示を出す。これにより、テープドライブ部4からは
ディビジョンナンバ#6801のディビジョンに記録さ
れているデータを読み出して出力することができるよう
になる。
By constructing such a division structure, for example, when reading out data recorded in division number # 6801, the control unit 11 of the data storage device 1 sends the tape cassette # to the changer unit 5. An instruction to load R into the tape drive unit 4 is issued, and an instruction to access the second division from the top of the magnetic tape 40r is issued to the tape drive unit 4. As a result, the data recorded in the division with the division number # 6801 can be read and output from the tape drive unit 4.

【0043】1−7.ハードディスク部 図12は、データストレージ装置1に備えられるハード
ディスク部3に形成されている記録領域の構成例を説明
する図である。バッファエリアE1は、データストレー
ジ装置1からコンピュータ装置41から転送されるデー
タの記録を行う場合や、テープドライブ部4から読み出
されたデータをデータストレージ装置1からコンピュー
タ装置41に転送する場合のバッファリングエリアとし
て構成される。ファイルインフォメーションテーブルエ
リアE2は、データストレージ装置1に記録されるファ
イル(例えば映画などとされる映像データ単位)に関す
る管理情報などが格納されるテーブルエリアとされる。
ディビジョンアクセスマップE3は、磁気テープ40に
形成されているディビジョン(1〜8000)の使用状
況などの情報が格納されるエリアとされる。
1-7. Hard Disk Unit FIG. 12 is a diagram illustrating a configuration example of a recording area formed in the hard disk unit 3 provided in the data storage device 1. The buffer area E1 is a buffer for recording data transferred from the data storage device 1 from the computer device 41 or for transferring data read from the tape drive unit 4 from the data storage device 1 to the computer device 41. It is configured as a ring area. The file information table area E2 is a table area for storing management information and the like regarding a file (for example, a video data unit such as a movie) recorded in the data storage device 1.
The division access map E3 is an area in which information such as the use status of the divisions (1 to 8000) formed on the magnetic tape 40 is stored.

【0044】BOF(Beginning of File)エリアE4
は、例えばファイルの先頭部分を頭出しデータ(BOF
データ)として記録するエリアとされる。例えばファイ
ルの読み出しを行う場合に、まずBOFデータの読み出
しを行い、コンピュータ装置41にBOFデータを転送
している間に、テープドライブ部4が磁気テープ40の
所要のディビジョンにアクセスすることができるように
なる。これにより、比較的時間のかかる磁気テープ40
のアクセス動作の影響を受けず、コンピュータ装置41
から供給される再生コマンドに応じて、ほぼリアルタイ
ムでデータの再生を実行することができるようになる。
なお、テープドライブ部4において磁気テープ40の所
要のディビジョンにアクセスした後は、BOFデータに
替わって磁気テープ40から読み出されたでデータがコ
ンピュータ装置41に転送される。
BOF (Beginning of File) area E4
Is, for example, searching for the head of the file,
Area) to be recorded as data. For example, when reading a file, first, BOF data is read, and the tape drive unit 4 can access a required division of the magnetic tape 40 while transferring the BOF data to the computer device 41. become. As a result, the relatively long magnetic tape 40
Is not affected by the access operation of the
The data can be reproduced almost in real time in response to the reproduction command supplied from.
After the tape drive unit 4 accesses the required division of the magnetic tape 40, the data is read from the magnetic tape 40 instead of the BOF data, and the data is transferred to the computer device 41.

【0045】つなぎデータエリアE5は、例えば一つの
ファイルが複数の磁気テープに渡って断片化した状態で
記録される状況が生じた場合に、テープカセットの交換
を行う期間に必要とされるつなぎデータを記録しておく
エリアとされる。これにより、例えば一つのファイルの
再生中に、テープカセットの交換が必要な状態が生じて
も、チェンジャ部5によってテープカセットを交換して
いる間は、つなぎデータを読み出してコンピュータ装置
41に転送することで、再生データが途切れることなく
リアルタイム性を維持することができるようになる。
The connection data area E5 is, for example, a connection data required during a tape cassette exchange when a situation occurs in which one file is recorded in a fragmented state over a plurality of magnetic tapes. Is an area in which is recorded. Thus, for example, even if a state in which the tape cassette needs to be replaced occurs during reproduction of one file, the connection data is read out and transferred to the computer device 41 while the tape cassette is replaced by the changer unit 5. As a result, the real-time property can be maintained without interruption of the reproduction data.

【0046】図13は、バッファエリアE1の構成例を
説明する図である。このバッファエリアE1は、それぞ
れが磁気テープ40に形成されているディビジョン1個
の容量に対応したエリアBu0〜エリアBu79によっ
て形成されている。すなわち、このバッファエリアE1
には80個のディビジョンに対応したデータを格納する
ことができるようにされている。例えばエリアBuが1
25MBで構成された場合、バッファエリアE1は10
GB(ギガバイト)の容量を有するようになる。この場
合、例えばMPEG2を想定して時間に換算すると、約
2時間分の映像データをバッファリングすることができ
ることになる。なお、バッファエリアE1の容量につい
ては、データの記録を行う場合、例えばバッファエリア
E1が未使用状態であることを想定すると、コンピュー
タ装置41からデータストレージ装置1に転送されるデ
ータは、エリアBu0、エリアBu1、エリアBu2・
・・というように、ディビジョンに対応した容量毎にバ
ッファリングされていく。バッファエリアE1に記録す
るファイルの全てのデータが格納された場合は、その時
点でバッファリングが終了する。なお、バッファエリア
E1からテープドライブ部4へのデータ転送は、バッフ
ァリングが行われている間において必要に応じて所要の
タイミングで行われている。
FIG. 13 is a diagram for explaining a configuration example of the buffer area E1. The buffer area E1 is formed by areas Bu0 to Bu79 each corresponding to the capacity of one division formed on the magnetic tape 40. That is, the buffer area E1
Can store data corresponding to 80 divisions. For example, area Bu is 1
When configured with 25 MB, the buffer area E1 is 10
It has a capacity of GB (gigabyte). In this case, for example, if the time is converted by assuming MPEG2, about 2 hours of video data can be buffered. Regarding the capacity of the buffer area E1, when data is recorded, for example, assuming that the buffer area E1 is in an unused state, the data transferred from the computer device 41 to the data storage device 1 is the area Bu0, Area Bu1, Area Bu2
... Buffering is performed for each capacity corresponding to the division. When all the data of the file to be recorded in the buffer area E1 has been stored, the buffering ends at that point. The data transfer from the buffer area E1 to the tape drive unit 4 is performed at a required timing as needed during the buffering.

【0047】このようにして、バッファエリアE1を用
いた記録が行われると、例えば一つのファイルの記録を
行っている最中に、チェンジャ部5によりテープカセッ
トの交換が必要になり、一旦磁気テープ40への記録動
作が中断する場合が生じても、コンピュータ装置41か
ら転送されるデータは、リアルタイムでバッファエリア
E1に蓄積されている。したがって、テープカセットの
交換が終わった後に、バッファエリアE1において、記
録動作が中断した直前のデータをエリアBuから読み出
して、磁気テープ40に記憶していくことにより、磁気
テープ40に対するリアルタイムの記録動作を実現する
ことが可能になる。また、記録されたデータの再生を行
う場合も、テープドライブ部4、チェンジャ部5によっ
て磁気テープ40に対するアクセス動作を行っている
間、バッファエリアE1に記憶されているファイルの先
頭部分を読み出して、コンピュータ装置41に転送する
ことができるようになる。
When the recording using the buffer area E1 is performed in this manner, the tape cassette needs to be exchanged by the changer unit 5 while, for example, one file is being recorded. Even if the recording operation to the recording device 40 is interrupted, the data transferred from the computer device 41 is stored in the buffer area E1 in real time. Therefore, after the exchange of the tape cassette is completed, the data immediately before the interruption of the recording operation is read out from the area Bu and stored in the magnetic tape 40 in the buffer area E1, so that the real-time recording operation on the magnetic tape 40 is performed. Can be realized. Also, when reproducing the recorded data, the head portion of the file stored in the buffer area E1 is read while the tape drive unit 4 and the changer unit 5 perform the access operation to the magnetic tape 40. It can be transferred to the computer device 41.

【0048】また、コンピュータ装置41からデータス
トレージ装置1に転送されるファイルの容量が、バッフ
ァエリアE1よりも大きい場合は、エリアBu0、エリ
アBu1、エリアBu2・・・、エリアBu79までを
利用したバッファリングが終わると、続いて転送される
データは、例えば再びエリアBu0、エリアBu1、エ
リアBu2・・・を上書するようにしてバッファリング
を行うようにする。つまり、コンピュータ装置41から
転送されるデータの容量に関わらず、ファイルの記録を
行っている間はバッファリングが継続して行われる。な
お、この場合、例えばファイルの先頭に相当する部分が
消去されることになるが、必要に応じて頭出しデータエ
リアに、そのファイルに対応した頭出しデータを記憶し
ておけばよい。また、バッファエリアE1において上書
きを行う場合、上書きされるディビジョンに記録されて
いるデータについては、磁気テープ40に記録しておく
ようにする。
If the capacity of the file transferred from the computer device 41 to the data storage device 1 is larger than the buffer area E1, the buffer using the area Bu0, area Bu1, area Bu2,. When the ring is completed, the data to be subsequently transferred is buffered by overwriting the area Bu0, the area Bu1, the area Bu2,. That is, irrespective of the amount of data transferred from the computer device 41, the buffering is continuously performed while the file is being recorded. In this case, for example, a portion corresponding to the head of the file is deleted, but the cueing data corresponding to the file may be stored in the cueing data area as needed. When overwriting is performed in the buffer area E1, data recorded in the division to be overwritten is recorded on the magnetic tape 40.

【0049】図14はファイルインフォメーションテー
ブルエリアE2の構成例を説明する図である。このファ
イルインフォメーションテーブルエリアE2には、デー
タストレージ装置1に記録されているファイル毎の各種
情報が記録されている。例えばファイルIDは、ファイ
ルの識別子情報として、データストレージ装置1が例え
ばファイルの再生や更新などを行う場合に、特定のファ
イルを選択するための情報とされる。属性情報は、ファ
イルの保存レベルおよび再生レートにより形成される。
ファイルの保存レベルについては、次に説明するこのフ
ァイルインフォメーションテーブルエリアE2に記録さ
れている情報に基づいて、当該ファイルの状態を示す情
報とされる。また、再生レートは、データの転送レート
を示す情報とされる。アクセス回数情報は、当該ファイ
ルにアクセスが行われた回数を示す情報とされ、例えば
当該ファイルの再生を行う毎にインクリメントされる。
ライト終了時刻情報は、当該ファイルの記録が終了した
ときの時刻を示す情報とされる。最終アクセス日時情報
は、当該ファイルが最後にアクセスされたときの、年月
日および時刻が示される。開始ディビジョン番号は、当
該ファイルが磁気テープ40のどのディビジョンから開
始されているかが示される。本実施の形態では、例えば
#1〜#8000までのいずれかのディビジョンナンバ
が示されることになる。ファイルサイズ情報は、当該フ
ァイルの記録容量が示される。
FIG. 14 is a view for explaining a configuration example of the file information table area E2. Various information for each file recorded in the data storage device 1 is recorded in the file information table area E2. For example, the file ID is information for selecting a specific file when the data storage device 1 reproduces or updates a file, for example, as file identifier information. The attribute information is formed by the storage level and the reproduction rate of the file.
The storage level of the file is information indicating the state of the file based on information recorded in the file information table area E2 described below. The reproduction rate is information indicating a data transfer rate. The access count information is information indicating the number of times the file has been accessed, and is incremented, for example, each time the file is reproduced.
The write end time information is information indicating the time when the recording of the file ends. The last access date and time information indicates the date and time when the file was last accessed. The start division number indicates which division of the magnetic tape 40 the file is started from. In the present embodiment, for example, any one of division numbers # 1 to # 8000 is indicated. The file size information indicates the recording capacity of the file.

【0050】このように、ファイルインフォメーション
テーブルエリアE2には、データストレージ装置1に記
録されているファイルに関する情報が記録されるが、属
性情報、アクセス回数情報、ライト終了時刻、最終アク
セス日時情報、開始ディビジョン番号情報、ファイルサ
イズ情報などに基づいて保存レベルが設定される。
As described above, in the file information table area E2, information on the file recorded in the data storage device 1 is recorded, but the attribute information, the access count information, the write end time, the last access date and time information, the start The storage level is set based on division number information, file size information, and the like.

【0051】図15はディビジョンアクセスマップE3
の構成例を説明する図である。ディビジョンアクセスマ
ップE3は、磁気テープ40に記録されているファイル
に対応した各ディビジョンの使用状況などが示される。
すなわち、データストレージ装置1は、ディビジョンに
対応している状況コードにより各ディビジョンの使用状
況を把握することができる。状況コードとしては、例え
ばディビジョン#1に対応して「0002h」が示され
ている場合は、ディビジョン#1に続くデータがディビ
ジョン#2に格納されているということを示す。つま
り、記録データがどのような順序でディビジョンに記録
されているかが示される。したがって、例えばファイル
の再生を行う場合に、コンピュータ装置41からの指示
に基づいて、ファイルインフォメーションテーブルエリ
アE2に示した開始ディビジョン番号情報により、再生
するファイルの先頭に対応したディビジョン番号が指定
されると、その後はディビジョンアクセスマップE3を
参照して、順次所望するディビジョンにアクセスするこ
とができるようになる。また、状況コードとして「FF
FFh」は、当該ディビジョンがそのファイルの最後の
ディビジョンであることを示す。つまり、ディビジョン
アクセスマップE3において、状況コード「FFFF
h」は記録されているファイルの数だけ存在することに
なる。すなわち、図15に示されている例では、或るフ
ァイルを形成するデータが、ディビジョン5→ディビジ
ョン6→ディビジョン7→ディビジョン1→ディビジョ
ン2→ディビジョン3の順で記録されていることが示さ
れている。
FIG. 15 shows a division access map E3.
FIG. 3 is a diagram illustrating a configuration example of FIG. The division access map E3 indicates the usage status of each division corresponding to the file recorded on the magnetic tape 40.
That is, the data storage device 1 can grasp the use status of each division from the status code corresponding to the division. For example, when "0002h" is indicated as the status code corresponding to division # 1, it indicates that data following division # 1 is stored in division # 2. That is, the order in which the recording data is recorded in the division is indicated. Therefore, for example, when a file is reproduced, if the division number corresponding to the head of the file to be reproduced is specified by the start division number information shown in the file information table area E2 based on an instruction from the computer device 41. Thereafter, referring to the division access map E3, it is possible to sequentially access desired divisions. Also, as the status code "FF
"FFh" indicates that the division is the last division of the file. That is, in the division access map E3, the status code "FFFF
"h" exists as many as the number of recorded files. That is, in the example shown in FIG. 15, it is shown that data forming a certain file is recorded in the order of division 5 → division 6 → division 7 → division 1 → division 2 → division 3. I have.

【0052】また例えば、そのディビジョンが未使用で
ある場合は「0000h」とされ、現在そのディビジョ
ンが使用されていない、スペース領域またはブランク領
域に相当するディビジョンであることを示す。スペース
領域とは、過去にファイルの記録が行われたが、現時点
では例えば記録されたデータが消去されるなどして未使
用とされている領域である。また、ブランク領域とは、
磁気テープ40において過去にファイルの記録が行われ
ていない領域とされ、例えば磁気テープ40の先頭のデ
ィビジョンから記録を行っていった場合、記録済みとさ
れている終端、または最後のスペース領域の終端のディ
ビジョンから磁気テープ40において記録可能とされて
いる領域の終端とされているディビジョンまでの連続し
た未使用領域を示す。したがって、一度でもデータが記
録されたディビジョンは、記録されたデータを消去して
未使用領域となってもブランク領域として扱わないよう
にされる。
For example, if the division is not used, it is set to "0000h", indicating that the division is not currently used and corresponds to a space area or a blank area. The space area is an area in which a file has been recorded in the past, but is currently unused, for example, by deleting the recorded data. Also, the blank area is
An area where no file has been recorded in the past on the magnetic tape 40. For example, when recording has been performed from the first division of the magnetic tape 40, the recorded end or the end of the last space area is recorded. 4 shows a continuous unused area from the division No. to the end of the recordable area on the magnetic tape 40. Therefore, a division in which data has been recorded at least once is not treated as a blank area even if the recorded data is erased and becomes an unused area.

【0053】また、本実施の形態では、#1から#80
00までのディビジョンが形成され、各ディビジョンに
関する情報としては、ディビジョンナンバ#1〜#80
00までの情報を有することになるが、ディビジョンア
クセスマップE3にはディビジョンナンバ#0として、
例えばブランク領域に至るまでのオフセット量が示され
る。したがって、テープドライブ部4がブランク領域に
アクセスする場合は、ディビジョンアクセスマップE3
におけるディビジョン番号「0」の状況コードに示され
る内容に基づいて、ブランク領域を探していくことにな
る。このようにスペース領域とブランク領域を区別して
扱うことで未使用領域を効率よく使用して、ファイルの
断片化の抑制を図り、磁気テープ40を平均的に使用す
ることができるようにしている。
Also, in this embodiment, # 1 to # 80
The divisions up to 00 are formed, and information on each division includes division numbers # 1 to # 80.
00, but the division access map E3 has division number # 0 as
For example, the offset amount up to the blank area is shown. Therefore, when the tape drive unit 4 accesses the blank area, the division access map E3
Will be searched for a blank area based on the content indicated by the status code of the division number "0". By treating the space area and the blank area separately in this manner, the unused area is used efficiently, file fragmentation is suppressed, and the magnetic tape 40 can be used on average.

【0054】このように、すべてのディビジョンの使用
状況をディビジョンアクセスマップE3によって管理し
ている。したがって、データストレージ装置1はコンピ
ュータ装置41から例えば記録、再生などの指示を受け
た場合に、テープドライブ部4によって実際に磁気テー
プに対するアクセス動作を行う前に、ディビジョンアク
セスマップE3を参照することでディビジョンの使用状
況を把握することができる。
As described above, the status of use of all divisions is managed by the division access map E3. Therefore, when the data storage device 1 receives an instruction such as recording or reproduction from the computer device 41, the data storage device 1 refers to the division access map E3 before actually performing an access operation to the magnetic tape by the tape drive unit 4. The usage status of the division can be grasped.

【0055】1−8.断片化に対応したディビジョンの
大きさ ところで、データストレージ装置1を用いて、例えば映
画などの比較的大容量の映像データの記録、再生を行う
ことを想定した場合、データの記録、再生を行う場合は
リアルタイム性が要求されることになる。このため、一
つのファイルが断片化している場合、例えば第一の断片
の再生が終了すると、第二の断片、第三の断片・・・、
に移動して、その移動動作の後に再び再生を開始するこ
とになる。
1-8. The size of a division corresponding to fragmentation By the way, when it is assumed that relatively large-capacity video data such as a movie is recorded and reproduced by using the data storage device 1, when data is recorded and reproduced, Requires real-time performance. Therefore, when one file is fragmented, for example, when the reproduction of the first fragment is completed, the second fragment, the third fragment,.
And the reproduction is started again after the moving operation.

【0056】図16は、断片化しているファイルの再生
を行う場合の一例を示す模式図である。なお、第二の断
片の断片は、同一テープカセットの磁気テープか、また
はチェンジャ部5のラック手段に配されている他のテー
プカセットの磁気テープに在ることになるが、この図で
は、後者を例に挙げている。図16(a)に示されてい
るように、一つのファイルが分断して、第一の断片が磁
気テープ40f、第二の断片が磁気テープ40l、第三
の断片が磁気テープ40pに記録されている。このよう
に複数の磁気テープに渡って分断したファイルの再生を
行う場合、まずチェンジャ部5がテープカセットの交換
を行い、さらにテープドライブ部4が早送り動作などに
よって、断片が記録されているディビジョンにアクセス
していく。この遷移は図16(b)に示されているよう
に、第一の断片を磁気テープ40fから読み出した後
に、第一の断片から第二の断片までの移動時間t1(チ
ェンジャ部5、テープドライブ部4の動作)を経て、第
二の断片を磁気テープ40lから読み出す。そして、第
二の断片の読み出しが終わると、移動時間t2を経て、
磁気テープ40pから第三の断片の読み出しを行う。
FIG. 16 is a schematic diagram showing an example of a case where a fragmented file is reproduced. Note that the fragment of the second fragment is present on the magnetic tape of the same tape cassette or on the magnetic tape of another tape cassette arranged on the rack means of the changer unit 5. Is given as an example. As shown in FIG. 16A, one file is divided, the first fragment is recorded on the magnetic tape 40f, the second fragment is recorded on the magnetic tape 40l, and the third fragment is recorded on the magnetic tape 40p. ing. When playing back a file that has been divided over a plurality of magnetic tapes as described above, first, the changer unit 5 exchanges a tape cassette, and the tape drive unit 4 performs a fast-forward operation or the like to perform playback on a division where fragments are recorded. Access. As shown in FIG. 16B, this transition is performed after the first fragment is read from the magnetic tape 40f and then moved from the first fragment to the second fragment by the movement time t1 (changer unit 5, tape drive 5). The second fragment is read from the magnetic tape 40l through the operation of the unit 4). When the reading of the second fragment is completed, after the moving time t2,
The third fragment is read from the magnetic tape 40p.

【0057】図16(b)に示された遷移で磁気テープ
40から読み出されたデータ(断片)は、前記したよう
にハードディスク部3のバッファエリアE1に一旦格納
され、このバッファエリアE1から読み出されてコンピ
ュータ装置41に転送される。但し、この場合、磁気テ
ープ40からデータを読み出す速度よりも、磁気テープ
40から読み出されたデータがコンピュータ装置41で
再生される速度の方が遅いので、読み出し時間と再生時
間に時間差が生じることになる。したがって再生映像と
しては、図16(c)に示されているように各断片が連
結され、リアルタイム性を維持した映像が形成されるよ
うになる。
The data (fragment) read from the magnetic tape 40 at the transition shown in FIG. And transmitted to the computer device 41. However, in this case, since the speed at which the data read from the magnetic tape 40 is reproduced by the computer device 41 is slower than the speed at which the data is read from the magnetic tape 40, a time difference may occur between the read time and the reproduction time. become. Therefore, as shown in FIG. 16 (c), as the reproduced video, each fragment is connected to form a video maintaining real-time performance.

【0058】このように第一の断片から第二の断片に移
動する場合においても、テープドライブ部4から読み出
されて、ハードディスク部3のバッファエリアE1に格
納されたデータをコンピュータ装置41に転送し続ける
ことで、再生データのリアルタイム性を維持することが
できる。したがって、この再生データのリアルタイム性
を保証するためには、 磁気テープからの読み出し時間−映像の再生時間>=断
片への移動時間 という条件を満たせばよいことになる。すなわち断片の
間を移動するのに必要な時間以上の容量に相当するデー
タが、バッファエリアE1のエリアBuに蓄えられてい
ればよいことになる。
As described above, when moving from the first fragment to the second fragment, the data read from the tape drive unit 4 and stored in the buffer area E1 of the hard disk unit 3 is transferred to the computer device 41. By doing so, the real-time property of the reproduction data can be maintained. Therefore, in order to guarantee the real-time property of the reproduced data, it is necessary to satisfy the following condition: reading time from the magnetic tape−reproducing time of video> = moving time to the fragment. That is, it is only necessary that data corresponding to a capacity longer than the time required for moving between fragments is stored in the area Bu of the buffer area E1.

【0059】例えばディビジョンのサイズを128MB
yteとすると、MPEG2として例えば6Mbpsの
転送レートとされる映像データを例に挙げると、その再
生時間は、 128×8/6=171sec となる。例えばテープドライブ部4において磁気テープ
40から読み出されるデータの転送レートが、例えば4
8Mbpsであることを想定し、これを再生時間に換算
すると、 128×8/48=21sec となる。すなわち、再生時間として171secを要す
るデータを、テープドライブ部4では21secで読み
出すことができることになる。したがって、その差分と
される150secという時間を断片から断片への移動
時間に用いることができるようになる。
For example, if the division size is 128 MB
If it is assumed that the video data has a transfer rate of, for example, 6 Mbps as MPEG2, its reproduction time is 128 × 8/6 = 171 sec. For example, if the transfer rate of data read from the magnetic tape 40 in the tape drive unit 4 is, for example, 4
Assuming that the transmission speed is 8 Mbps, and converting this to the reproduction time, 128 × 8/48 = 21 sec. That is, data requiring 171 seconds as the reproduction time can be read out by the tape drive unit 4 in 21 seconds. Therefore, the time of 150 sec, which is the difference, can be used as the moving time from fragment to fragment.

【0060】このように、データストレージ装置1はハ
ードディスク部4に形成されるバッファエリアE1をバ
ッファ手段として、磁気テープ40に対する記録または
再生を行うように構成されている。すなわち、ハードデ
ィスク部4の高速アクセス性と、磁気テープ40の大容
量を兼ね備えた記録再生装置として構成されているの
で、例えば大容量かつリアルタイム性が要求される映像
データの記録、再生にも適したものとなる。
As described above, the data storage device 1 is configured to perform recording or reproduction on the magnetic tape 40 using the buffer area E1 formed on the hard disk unit 4 as a buffer means. That is, since the recording / reproducing device is configured to have both the high-speed accessibility of the hard disk unit 4 and the large capacity of the magnetic tape 40, it is also suitable for recording and reproducing, for example, video data requiring a large capacity and real-time property. It will be.

【0061】2.ファイルシステム 2−1.ホストコンピュータ装置の構成例 データストレージ装置1は、コンピュータ装置41に対
して例えばハードディスク装置などのようなランダムア
クセスデバイスとして認識させるようにするが、実際に
は複数のテープカセットを有したテープストリーマドラ
イブ装置として構成されているので、シーケンシャルア
クセスによって記録、再生動作を実行するようにされて
いる。そこで、コンピュータ装置41がデータストレー
ジ装置1を駆動(記録、再生)させるためのドライバ部
は、コンピュータ装置41のアプリケーションプログラ
ムやファイルシステムが発行するランダムアクセスコマ
ンドをシーケンシャルアクセスコマンドに変換するよう
にしている。つまり、コンピュータ装置41では、デー
タストレージ装置を例えばハードディスク装置などと同
様のランダムアクセスデバイスとして扱うことができる
ようにしている。
[0061] 2. File system 2-1. Configuration Example of Host Computer Device The data storage device 1 causes the computer device 41 to recognize it as a random access device such as a hard disk device, but in fact, a tape streamer drive device having a plurality of tape cassettes Therefore, recording and reproducing operations are performed by sequential access. Therefore, a driver unit for the computer device 41 to drive (record and reproduce) the data storage device 1 converts a random access command issued by an application program or a file system of the computer device 41 into a sequential access command. . That is, in the computer device 41, the data storage device can be handled as a random access device similar to, for example, a hard disk device.

【0062】図17は、データストレージ装置1の動作
を実行させる場合のコンピュータ装置41の構成例を説
明する図である。図示されているようにコンピュータ装
置41には、例えばユーザが利用して画像データなどを
ファイル単位による記録、再生を実行させるためのソフ
トウエアとされるアプリケーション42と、例えばハー
ドディスクに対して記録、再生を行う場合の単位とされ
るクラスタ(例えば64KB)のLBA(Logical Bloc
kAddress)を指定して記録、再生を実行させるオペレー
ション/ファイルシステム43(以下、ファイルシステ
ムという)が備えられる。これらのアプリケーションソ
フト42、ファイルシステム43を用いることにより、
例えばハードディスク装置などのランダムアクセスデバ
イスに対しては、ランダムアクセスによる記録、再生を
実行させることができる。
FIG. 17 is a diagram for explaining an example of the configuration of the computer device 41 when the operation of the data storage device 1 is executed. As shown in the figure, a computer device 41 includes, for example, an application 42 which is software for executing recording and reproduction of image data and the like in file units by a user, and recording and reproduction on a hard disk, for example. (Logical Bloc) of a cluster (for example, 64 KB) as a unit when performing
An operation / file system 43 (hereinafter, referred to as a file system) is provided for executing recording and reproduction by designating kAddress). By using these application software 42 and file system 43,
For example, a random access device such as a hard disk device can perform recording and reproduction by random access.

【0063】そして本実施の形態では、アプリケーショ
ンソフト42、ファイルシステム43に加えて、データ
ストレージ装置1に記録、再生動作などを実行させるた
めのソフトウエアとされるドライバ部44が備えられる
が、このドライバ部44にはランダムアクセスをシーケ
ンシャルアクセスに変換するためのLBA管理テーブル
が備えられる。LBA管理テーブルは、データストレー
ジ装置1に記録するファイル毎に対応した各種情報が格
納される。図17には例えばファイル「F001」に対
応した情報が示されている。このLBA管理テーブルに
おいて、Index情報は、LBA管理テーブルにおけ
るシーケンシャルな値とされる。CLBA情報は、前記
クラスタ単位でつけたアドレス、Size情報はCLB
A情報のアドレスに対応したクラスタの数を示してい
る。
In the present embodiment, in addition to the application software 42 and the file system 43, a driver unit 44 is provided as software for causing the data storage device 1 to execute recording and reproduction operations. The driver unit 44 is provided with an LBA management table for converting random access to sequential access. The LBA management table stores various information corresponding to each file recorded in the data storage device 1. FIG. 17 shows information corresponding to the file “F001”, for example. In this LBA management table, the Index information is a sequential value in the LBA management table. CLBA information is an address given in cluster units, and Size information is CLB
The number of clusters corresponding to the address of the A information is shown.

【0064】ドライバ部44は、ファイルシステム43
からランダムアクセスのライトコマンドが供給される
と、まず、データストレージ装置1にファイル名の通知
を行う。そして、記録を行うファイルに対応したライト
コマンドの順番と、そのときのLBAを対応させて、L
BA管理テーブルにIndex情報、CLBA情報とし
て記憶していく。また、ファイルに対応したテーブルを
特定することができるようにするために、ファイルID
情報として「F001」という情報が記憶される。
The driver unit 44 has a file system 43
When a random access write command is supplied from, first, the data storage device 1 is notified of a file name. Then, the order of the write command corresponding to the file to be recorded is associated with the LBA at that time, and
Index information and CLBA information are stored in the BA management table. Also, in order to be able to specify the table corresponding to the file, the file ID
Information “F001” is stored as information.

【0065】図17に示す例では、Index情報が
「0」のクラスタは「#10」とされ、サイズは「1」
とされている。同様に、Index情報が「1」「3」
のクラスタはそれぞれ「#15」「#18」とされ、サ
イズは「1」とされている。また、Index情報が
「2」のクラスタは「#18」とされ、サイズは「3」
とされている。ドライバ部44はファイルシステム43
から供給されるライトコマンドに応じて、LBA管理テ
ーブルにこのような情報を記憶し、さらに、Index
情報に示されている順序で、データストレージ装置1に
対してシーケンシャルにライトコマンドを送信する。例
えば、CLBAの#10を「a」、#15を「b」、#
18を「c」「d」「e」とした場合、データストレー
ジ装置1では、磁気テープ40に「a」「b」「c」
「d」「e」「f」というシーケンスでファイルが記録
されていく。
In the example shown in FIG. 17, the cluster with the index information “0” is “# 10”, and the size is “1”.
It has been. Similarly, if the index information is “1” “3”
Are “# 15” and “# 18”, respectively, and the size is “1”. The cluster whose Index information is “2” is “# 18”, and the size is “3”.
It has been. The driver unit 44 includes a file system 43
Such information is stored in the LBA management table in accordance with the write command supplied from the
The write commands are sequentially transmitted to the data storage device 1 in the order shown in the information. For example, CLBA # 10 is "a", # 15 is "b", #
When “c”, “d”, and “e” are set to 18, the data storage device 1 stores “a”, “b”, and “c” on the magnetic tape 40.
Files are recorded in a sequence of “d”, “e”, and “f”.

【0066】このようにして、磁気テープ40にデータ
が記録されると、LBA管理テーブルにおいてファイル
「F001」に対応したCLBA情報は、図18に示さ
れているようになる。図示されているように、ファイル
「F001」に対応したCLBA情報を見るとランダム
な配列になっているが、ファイル「F001」に対応し
たLBA管理テーブルではCLBA情報(a,b,c,
d,e,f,)のみを管理することにより、これらのデ
ータをシーケンシャルなものとして扱うことができるよ
うになる。つまり、ドライバ部44のLBA管理テーブ
ルに記録される情報は、データストレージ装置1に記録
されるファイルを構成するデータのシーケンスに対応す
るようになる。したがって、データストレージ装置1か
らファイル「F001」の読み出しを行うためにファイ
ルシステム43からランダムアクセスのリードコマンド
が供給された場合に、ドライバ部44はLBA管理テー
ブルに基づいて、ファイルシステム43から要求された
LBAが、当該ファイル「F001」の記録を行う際の
何番目のライトコマンドで記録したデータに対応してい
るかを特定することができるようになる。そして、デー
タストレージ装置1にファイルが記録されると、前記し
たファイルインフォメーションテーブルE2にそのファ
イルに関する各情報が記録される。
When the data is recorded on the magnetic tape 40 in this manner, the CLBA information corresponding to the file “F001” in the LBA management table is as shown in FIG. As shown in the figure, the CLBA information corresponding to the file “F001” has a random arrangement, but the LBA management table corresponding to the file “F001” has a CLBA information (a, b, c,
By managing only d, e, f, and), these data can be handled as sequential data. That is, the information recorded in the LBA management table of the driver unit 44 corresponds to the sequence of the data constituting the file recorded in the data storage device 1. Therefore, when a random access read command is supplied from the file system 43 to read the file “F001” from the data storage device 1, the driver unit 44 is requested from the file system 43 based on the LBA management table. It is possible to specify the number of the write command when the LBA corresponding to the file “F001” is recorded. When a file is recorded in the data storage device 1, each piece of information relating to the file is recorded in the file information table E2.

【0067】また、データストレージ装置1は、ファイ
ル単位でリードを行うようにされているので、複数のフ
ァイルを記録していくと、図19に示されているように
LBA管理テーブルはデータストレージ装置1に記録さ
れているファイル「F001」、「F002」、「F0
03」、「F004」・・・として示されているよう
に、各ファイルに対応した情報が記録されていく。した
がって、データストレージ装置1に記録されているファ
イルの再生を実行する場合、ドライバ部44はまずデー
タストレージ装置1に対してファイルID情報を送信す
る。そして、以降、シーケンシャルなリードコマンドを
送信していくことになる。例えば、ファイル「F00
1」の再生を行う場合は、リードコマンドとして#1
0、#15、#18、#30を送信すると、データスト
レージ装置1では、磁気テープ40に記録されている
「a」「b」「c」「d」「e」「f」というシーケン
スでデータの読み出しが行われるようになる。
Further, since the data storage device 1 performs reading on a file basis, when a plurality of files are recorded, the LBA management table becomes as shown in FIG. 1, files "F001", "F002", "F0"
As shown as “03”, “F004”,..., Information corresponding to each file is recorded. Therefore, when executing reproduction of a file recorded in the data storage device 1, the driver unit 44 first transmits file ID information to the data storage device 1. Thereafter, a sequential read command is transmitted. For example, the file “F00
When performing the reproduction of “1”, the read command is # 1
When the data storage device 1 transmits 0, # 15, # 18, and # 30, the data storage device 1 transmits the data in the sequence of “a”, “b”, “c”, “d”, “e”, and “f” recorded on the magnetic tape 40. Is read.

【0068】2−2.ドライバ部から出力されるコマン
ド例 このようにして、データストレージ装置1に対してファ
イル単位でのシーケンシャルな記録、再生を実現するた
めに、ドライバ部44では、例えば以下に説明するよう
なSCSIコマンドを定義する。なお、#Nはファイル
IDに対応するものとされ、前記した「F001」「F
002」「F003」「F004」などに相当する。 Create File #N : 新規ファイルの書
き込み開始。 Close File #N : ライト、リードを終
了。 Open File #N : 記録されているファイ
ルの読み込み開始 Delete File #N : 記録されたデータ
の消去 Send Real Time Speed(in M
bps): リアルタイム性を保証するために再生レー
トを通知 Set Realtime Mode ON: リアル
タイムモードをONにする Space : 早送り
2-2. Example of Commands Output from Driver Unit In this manner, in order to realize sequential recording and reproduction in file units with respect to the data storage device 1, the driver unit 44 uses, for example, a SCSI command as described below. Define. Note that #N corresponds to the file ID, and “F001”, “F
002, F003, F004, and the like. Create File #N: Start writing a new file. Close File #N: Ends writing and reading. Open File #N: Start reading of recorded file Delete File #N: Delete recorded data Send Real Time Speed (in M
bps): Notify the playback rate to guarantee real-time performance Set Realtime Mode ON: Turn on the real-time mode

【0069】2−3.コンピュータ装置の処理 図20は、データストレージ装置1にデータ記録を実行
させる場合に、コンピュータ装置41側で実行される処
理の遷移を、上記した各種コマンドに基づいて説明する
図である。まず、アプリケーション42がファイル#F
001の記録を実行させるためのライトコマンド「Wr
ite File #F001」を発行する。このアプ
リケーション42は、例えばユーザによる所要の操作な
どに基づいてコマンドの発行を行う。アプリケーション
42がライトコマンドを発行すると、ファイルシステム
43はクラスタ単位とされるLBAを指定したライトコ
マンドを発行する。ファイルシステム43からライトコ
マンドが供給されたドライバ部44は、まず新規ファイ
ルの書き込みを開始させる「Create File
#F001」コマンドをデータストレージ装置1に出力
する。なお、必要に応じて記録したデータの連続性を保
証するために「Send Real Time Spe
ed」コマンドを出力する。これ以降、ドライバ部44
はLB単位でライトコマンドを出力していく。また、ド
ライバ部44はファイルシステム43から供給されるL
BAをLBA管理テーブルに順次書き込んでいく。つま
り、「Create File #F001」コマンド
が発行された後は、データストレージ装置1には順次記
録データが転送されていき、LBA管理テーブルにはデ
ータストレージ装置1に転送されているデータのLB
(Logical Block)が記録されていく。
2-3. Processing of Computer Apparatus FIG. 20 is a diagram for explaining a transition of processing executed on the computer apparatus 41 side when the data storage apparatus 1 executes data recording, based on the various commands described above. First, when the application 42 has the file #F
001 for executing the write command “Wr
item File # F001 ”. The application 42 issues a command based on, for example, a required operation by the user. When the application issues a write command, the file system 43 issues a write command designating an LBA that is a cluster unit. The driver unit 44 to which the write command has been supplied from the file system 43 first starts the “Create File” command to start writing a new file.
# F001 ”command is output to the data storage device 1. In order to guarantee the continuity of the recorded data as necessary, “Send Real Time Speech” is used.
ed "command. Thereafter, the driver unit 44
Outputs a write command in LB units. Further, the driver unit 44 receives L supplied from the file system 43.
BA is sequentially written to the LBA management table. That is, after the "Create File # F001" command is issued, the recording data is sequentially transferred to the data storage device 1, and the LB of the data transferred to the data storage device 1 is stored in the LBA management table.
(Logical Block) is recorded.

【0070】記録を終了させる場合は、ドライバ部44
はデータストレージ装置1に対して「Close Fi
le #F001」コマンドを発行する。これにより、
データストレージ装置1はデータの記録動作を終了す
る。このように、データストレージ装置1に記録を実行
させる場合は、ドライバ部44はデータストレージ装置
1に対してファイルを指定して記録開始を指示する「C
reate File #F001」コマンドと、記録
終了を指示する「Close File #F001」
コマンドを発行することになる。その間のデータ記録に
関する処理工程は、ドライバ部44のLBA管理テーブ
ルによって管理される。
To end the recording, the driver unit 44
Indicates "Close Fi" to the data storage device 1.
le # F001 ”command. This allows
The data storage device 1 ends the data recording operation. As described above, when the data storage device 1 performs the recording, the driver unit 44 specifies the file to the data storage device 1 and instructs the data storage device 1 to start recording.
"Create File # F001" command and "Close File # F001" for instructing the end of recording.
Command. The processing steps related to data recording during that time are managed by the LBA management table of the driver unit 44.

【0071】図21は、データストレージ装置1にデー
タの再生を実行させる場合に、コンピュータ装置41側
で実行される処理の遷移を、上記した各種コマンドに基
づいて説明する図である。なお、図21は、ファイル#
F001を先頭から再生させる場合の例を示している。
アプリケーション42がファイル#F001の再生を実
行させるためのリードコマンド「Read File
#F001」を発行すると、ファイルシステム43はク
ラスタ単位とされるLBA(#10)を指定したリード
コマンドを発行する。そして、ファイルシステム43か
らリードコマンドが供給されたドライバ部44は、まず
ファイルの読み込みを開始させる「Open File
#F001」コマンドをデータストレージ装置1に出
力する。これによりデータストレージ装置1ではファイ
ルインフォメーションテーブルエリアE2を参照して、
例えば磁気テープ40に記録されているファイル#F0
01にアクセスして読み出す動作を実行する。以降、ド
ライバ部44はLB単位でリードコマンドを出力してい
き、読み出しを終了させる場合は、ドライバ部44はデ
ータストレージ装置1に対して「Close File
#F001」コマンドを発行する。
FIG. 21 is a diagram for explaining the transition of processing executed on the computer device 41 side when the data storage device 1 executes the reproduction of data, based on the various commands described above. FIG. 21 shows the file #
An example in which F001 is reproduced from the beginning is shown.
A read command “Read File” for causing the application 42 to execute the reproduction of the file # F001.
When "# F001" is issued, the file system 43 issues a read command specifying the LBA (# 10) which is a cluster unit. Then, the driver unit 44 to which the read command has been supplied from the file system 43 first starts reading the file, “Open File”.
# F001 ”command is output to the data storage device 1. As a result, the data storage device 1 refers to the file information table area E2 and
For example, file # F0 recorded on the magnetic tape 40
An operation of accessing and reading 01 is executed. Thereafter, the driver unit 44 outputs a read command in LB units, and when terminating the reading, the driver unit 44 sends a “Close File” to the data storage device 1.
# F001 "command is issued.

【0072】また、ファイル#F001の途中から再生
を実行させる場合は、例えば図22に示されているよう
になる。この場合も、アプリケーション42がファイル
#F001の読み出しを実行させるためのリードコマン
ド「Read File #F001」を発行するとフ
ァイルシステム43はクラスタ単位とされるLBA(#
15)を指定したリードコマンドを発行する。そして、
ファイルシステム43からリードコマンドが供給された
ドライバ部44は、まずファイルの読み出しを開始させ
る「Open File #F001」コマンドをデー
タストレージ装置1に出力し、さらに、リアルタイムで
の再生を実現させるために、「Set Realtim
e Mode ON」コマンドを出力する。これによ
り、データストレージ装置1では再生するファイルを認
識して再生実行可能な状態に移行するが、ファイル#F
001の先頭にアクセスした後に、その途中とされるデ
ータ「b」(LBA管理テーブルのCLBA情報#1
5)から再生を実行させるために、「Space」コマ
ンドを発行してデータ「b」まで磁気テープを早送りさ
せるようにする。以降、前記した場合と同様に、ドライ
バ部44はLB単位でリードコマンドを出力していき、
再生を終了させる場合は、「Close File #
F001」コマンドを発行する。
When the reproduction is executed from the middle of the file # F001, for example, it is as shown in FIG. Also in this case, when the application 42 issues a read command “Read File # F001” for executing the reading of the file # F001, the file system 43 sets the LBA (#
Issue a read command specifying (15). And
The driver unit 44 to which the read command has been supplied from the file system 43 first outputs an “Open File # F001” command to start reading the file to the data storage device 1, and furthermore, in order to realize real-time reproduction, "Set Realtime
e Mode ON ”command is output. As a result, the data storage device 1 recognizes the file to be reproduced and shifts to a state in which reproduction can be performed.
After accessing the top of 001, the data “b” (the CLBA information # 1 in the LBA management table) is set in the middle of the access.
In order to execute the reproduction from 5), a "Space" command is issued, and the magnetic tape is fast-forwarded to data "b". Thereafter, as in the case described above, the driver unit 44 outputs a read command in LB units,
To end playback, select “Close File #
F001 ”command.

【0073】図23は、図20に示したようにデータス
トレージ装置1にデータの記録を実行させる場合の、コ
ンピュータ装置41における処理の工程をフローチャー
トで示す図である。まず、アプリケーション42がファ
イルシステム43にデータ記録の実行を要求する(S0
01)。データライトの実行要求を受けたファイルシス
テム43は、ドライバ部44に対してランダムアクセス
のライトLBAを発行する(S002)。そして、ドラ
イバ部44では、ファイルシステム43から供給される
LBAをLBA管理テーブルに順次登録していき(S0
03)、さらにドライバ部44はデータストレージ装置
1にシーケンシャルなライトコマンドを発行していく
(S004)。これにより、データストレージ装置1で
は、コンピュータ装置41から転送されるデータをシー
ケンシャルアクセスによって記録していくことができる
ようになる。
FIG. 23 is a flowchart showing processing steps in the computer device 41 when the data storage device 1 executes data recording as shown in FIG. First, the application 42 requests the file system 43 to execute data recording (S0).
01). The file system 43 that has received the data write execution request issues a random access write LBA to the driver unit 44 (S002). Then, the driver unit 44 sequentially registers the LBA supplied from the file system 43 in the LBA management table (S0).
03), and the driver unit 44 issues a sequential write command to the data storage device 1 (S004). Thereby, the data storage device 1 can record data transferred from the computer device 41 by sequential access.

【0074】また、図24は、図21、図22に示した
ようにデータストレージ装置1に記録されているデータ
の再生を実行させる場合の、コンピュータ装置41にお
ける処理の工程をフローチャートで示す図である。アプ
リケーション42がファイルシステム43にデータ再生
の実行を要求すると(S101)、ファイルシステム4
3は、ドライバ部44に対してランダムアクセスのリー
ドLBAを発行する(S102)。ドライバ部44はフ
ァイルシステム43から供給されるLBAに基づいて、
読み出しを行うファイル#F001に対応したLBA管
理テーブルに記録されているCLBA情報の検索を行
い、読み出しを行うデータの検索を行う(S103)。
さらに、ドライバ部44はデータストレージ装置1に読
み出しを行うデータに対応したシーケンシャルなリード
コマンドを発行していく(S104)。
FIG. 24 is a flowchart showing the steps of processing in the computer device 41 when reproducing data recorded in the data storage device 1 as shown in FIGS. 21 and 22. is there. When the application 42 requests the file system 43 to execute data reproduction (S101), the file system 4
3 issues a random access read LBA to the driver unit 44 (S102). The driver unit 44, based on the LBA supplied from the file system 43,
The CLBA information recorded in the LBA management table corresponding to the file # F001 to be read is searched, and the data to be read is searched (S103).
Further, the driver unit 44 issues a sequential read command corresponding to the data to be read to the data storage device 1 (S104).

【0075】このように、コンピュータ装置41にドラ
イバ部44を備え、ランダムアクセスコマンドをシーケ
ンシャルアクセスコマンドに変換することにより、デー
タストレージ装置1に対してシーケンシャルアクセスに
よって、データの記録、またはデータの再生を実行させ
ることができるようになる。
As described above, the computer device 41 is provided with the driver unit 44, and by converting the random access command into the sequential access command, the data storage device 1 can record data or reproduce data by sequential access. Can be executed.

【0076】2−4.ドライブ側の処理 データストレージ装置1では、コンピュータ装置41の
ドライバ部44から供給されるシーケンシャルなコマン
ドに基づいて、記録、再生動作を実行することになる。
図25は、コンピュータ装置41から転送されてくるデ
ータをデータストレージ装置1の磁気テープ40に記録
する場合の、例えば制御部11によって実行される処理
工程の一例を説明するフローチャートである。データス
トレージ装置1が稼働状態に移行すると、ドライバ部4
4からのコマンドを待機する(S201)。そして、ド
ライバ部44からデータ記録の開始を指示するコマンド
(Create File)が供給されたと判別した場
合は、ファイルインフォメーションテーブルE2(図1
4)に必要な情報を格納して(S202)、コンピュー
タ装置41から転送されたデータをバッファエリアE1
(図13)に格納していく(S203)。そして、磁気
テープ40においてデータの記録を行うディビジョンの
選択を行う(S204)。ここで、つなぎデータが必要
であるか否かの判別を行い(S205)、つなぎデータ
が必要であると判別した場合は、つなぎデータエリアE
5に所要のつなぎデータを記録する(S206)。
2-4. Processing on Drive Side In the data storage device 1, recording and reproduction operations are executed based on sequential commands supplied from the driver unit 44 of the computer device 41.
FIG. 25 is a flowchart illustrating an example of processing steps executed by, for example, the control unit 11 when data transferred from the computer device 41 is recorded on the magnetic tape 40 of the data storage device 1. When the data storage device 1 shifts to the operating state, the driver unit 4
4 (S201). If it is determined that a command (Create File) for instructing the start of data recording has been supplied from the driver unit 44, the file information table E2 (FIG.
The necessary information is stored in 4) (S202), and the data transferred from the computer device 41 is stored in the buffer area E1.
(FIG. 13). Then, a division for recording data on the magnetic tape 40 is selected (S204). Here, it is determined whether or not the connection data is necessary (S205). If it is determined that the connection data is necessary, the connection data area E is determined.
5, the required connection data is recorded (S206).

【0077】このように、つなぎデータに関わる処理工
程を経ると、ドライバ部44から随時供給されるシーケ
ンシャルライトコマンドに基づいて、バッファエリアE
1に格納されているデータを、ステップS203で選択
した磁気テープ40上のディビジョンに記録していく処
理に移行する(S207)。つまり、このステップS2
07においては、まず、チェンジャ部5によってテープ
カセットの選択を行い、テープドライブ部4が選択され
たテープカセットにおいて所定のディビジョンまで移動
する制御が実行され、その後記録動作が実行される。デ
ータを記録する処理に移行すると、ドライバ部44から
記録の終了を指示する「Close File」コマン
ドが供給されたか否かの判別を行う(S208)。そし
て、「Close File」コマンドが供給されてい
ないと判別した場合は、引き続き記録を行っていくこと
になるが、この場合、選択したディビジョンに空き容量
が在るか否かの判別を行う(S209)。そして、空き
容量が在ると判別した場合は、ステップS207に戻り
記録動作を続けていく。しかし、空き容量がないと判別
した場合は、ステップS204に戻りディビジョンの選
択を行って記録動作を継続していく。また、「Clos
e File」コマンドが供給されたと判別した場合
は、バッファエリアE1において磁気テープ40に記録
するデータが残っているか否かの判別を行い(S21
0)、データが残っていないと判別した場合は、コンピ
ュータ装置41から転送されたデータの記録が終了した
と見なし、記録動作を終了させる(S211)。しか
し、ステップS210において磁気テープ40に記録す
べきデータが残っていると判別した場合はステップS2
09に進み、選択したディビジョンの空き容量に基づい
てデータの記録を行っていく。
As described above, after passing through the processing steps relating to the connection data, the buffer area E is controlled based on the sequential write command supplied from the driver section 44 as needed.
Then, the process proceeds to a process of recording the data stored in No. 1 in the division on the magnetic tape 40 selected in step S203 (S207). That is, this step S2
At 07, first, a tape cassette is selected by the changer unit 5, and control is performed to move the tape drive unit 4 to a predetermined division in the selected tape cassette, and thereafter, a recording operation is performed. When the process proceeds to the data recording process, it is determined whether or not a “Close File” command instructing the end of the recording is supplied from the driver unit 44 (S208). If it is determined that the "Close File" command has not been supplied, the recording is to be continued. In this case, it is determined whether or not there is free space in the selected division (S209). ). If it is determined that there is free space, the process returns to step S207 to continue the recording operation. However, if it is determined that there is no free space, the process returns to step S204 to select a division and continue the recording operation. Also, "Clos
If it is determined that the "e File" command has been supplied, it is determined whether or not data to be recorded on the magnetic tape 40 remains in the buffer area E1 (S21).
0) If it is determined that no data remains, it is considered that the recording of the data transferred from the computer device 41 has been completed, and the recording operation is terminated (S211). However, if it is determined in step S210 that data to be recorded on the magnetic tape 40 remains, the process proceeds to step S2.
In step 09, data recording is performed based on the free space of the selected division.

【0078】なお、ステップS203に示したディビジ
ョンの選択を行う処理工程については後で説明する。ま
た、この図に示したフローチャートでは、ハードディス
ク部3のバッファエリアE1を介して磁気テープ40に
記録を行う場合の一連の流れを説明したが、例えばコン
ピュータ装置41から転送されたデータがバッファエリ
アE1に全て記録することができた場合などは、バッフ
ァエリアE1に記録されたデータを、データストレージ
装置1の記録データとして扱い磁気テープ40には記録
しないようにする場合もある。
The processing for selecting a division shown in step S203 will be described later. In the flowchart shown in this figure, a series of flows when recording is performed on the magnetic tape 40 via the buffer area E1 of the hard disk unit 3 has been described. In some cases, data recorded in the buffer area E1 may be treated as recording data of the data storage device 1 and not recorded on the magnetic tape 40.

【0079】次に、図26のフローチャートにしたが
い、データストレージ装置1の磁気テープ40に記録さ
れているデータの再生を行う場合に、例えば制御部11
によって実行される処理工程の一例を説明する。記録時
のフローチャートで説明した場合と同様に、データスト
レージ装置1が稼働状態に移行すると、ドライバ部44
からのコマンドを待機する(S301)。そして、ドラ
イバ部44からデータの再生の開始を指示する「Ope
n File」コマンドが供給されたと判別した場合
は、「Open File」コマンドで指示されている
ファイルIDを検出し(S302)、検出したファイル
IDに基づいてファイルインフォメーションテーブルE
2の検索を行い、再生するファイルの開始ディビジョン
を特定する(S303)。開始ディビジョンを特定する
と、まず開始ディビジョン、すなわちファイルの先頭に
アクセスする処理を開始させる(S304)。この場
合、まず、チェンジャ部5によってテープカセットの選
択を行い、テープドライブ部4がチェンジャ部5によっ
て装填されたテープカセットにおいて所定のディビジョ
ンまで移動する制御を実行する。そして、その後磁気テ
ープ40からの読み出し動作を実行していくことにな
る。ここで、ドライバ部44から「Space」コマン
ドが供給されたか否かの判別を行い(S305)、「S
pace」コマンドが供給されたと判別した場合、すな
わち、ファイルの途中から再生を行う場合には、ファイ
ル内において再生を開始する位置まで移動して、「Sp
ace」コマンドに応じたオフセットを得る(S30
6)。
Next, according to the flowchart of FIG. 26, when reproducing the data recorded on the magnetic tape 40 of the data storage device 1, for example, the control unit 11
An example of the processing steps executed by will be described. As described in the flowchart at the time of recording, when the data storage device 1 shifts to the operating state, the driver unit 44
Waits for a command from (S301). Then, the driver unit 44 instructs “Start of data reproduction” “Open
If it is determined that the “n File” command has been supplied, the file ID specified by the “Open File” command is detected (S302), and the file information table E is determined based on the detected file ID.
Then, a search for the start division of the file to be reproduced is specified (S303). When the start division is specified, first, processing for accessing the start division, that is, the head of the file is started (S304). In this case, first, the tape cassette is selected by the changer unit 5, and the tape drive unit 4 is controlled by the changer unit 5 to move the tape cassette to a predetermined division. Then, the read operation from the magnetic tape 40 is performed thereafter. Here, it is determined whether a “Space” command has been supplied from the driver unit 44 (S305), and “S” is determined.
When it is determined that the “pace” command has been supplied, that is, when the reproduction is to be started from the middle of the file, the file is moved to the position where the reproduction is started in the file and “Sp”
ace "command (S30).
6).

【0080】ステップS304、またはステップS30
6によって再生開始位置を特定すると、磁気テープ40
におけるその位置からデータの読み出しを行っていく再
生動作に移行する(S307)。なお、磁気テープ40
から読み出されたデータは、一旦バッファエリアE1に
格納された後に、このバッファエリアE1から読み出さ
れてデータストレージ装置1に転送される。このように
してデータの再生動作が実行されると、当該ディビジョ
ンに記録されているデータの読み出しが終わったか否か
の判別を行い(S308)、まだ終わっていないと判別
した場合は、ステップS307に戻りデータの読み出し
を継続して行う。また、当該ディビジョンに記録されて
いるデータの記録が終了したと判別した場合は、ディビ
ジョンアクセスマップE3(図15)を参照して(S3
09)、ファイルのデータが記録されている次のディビ
ジョンがあるか否かの判別を行う(S310)。そし
て、次のディビジョンがあると判別した場合は、そのデ
ィビジョンにアクセスして(S311)、ステップS3
07に戻り次のディビジョンに記録されているデータの
読み出しを継続して行う。また、ステップS310で次
のディビジョンがないと判別した場合は、再生動作を終
了する(S312)。なお、ステップS307以降にお
いて、記録データの再生が行われている場合に、ドライ
バ部44から再生の終了を指示する「Close」コマ
ンドが供給された場合は、その時点で再生動作を終了す
る。
Step S304 or step S30
6, the reproduction start position is specified.
(S307). The magnetic tape 40
Is temporarily stored in the buffer area E1 and then read out from the buffer area E1 and transferred to the data storage device 1. When the data reproducing operation is performed in this manner, it is determined whether or not the reading of the data recorded in the division has been completed (S308). If it is determined that the reading has not been completed, the process proceeds to step S307. The return data is read continuously. If it is determined that the recording of the data recorded in the division has been completed, the division access map E3 (FIG. 15) is referred to (S3).
09), it is determined whether there is a next division in which the data of the file is recorded (S310). If it is determined that the next division exists, the division is accessed (S311), and step S3 is executed.
Returning to step 07, the reading of the data recorded in the next division is continued. If it is determined in step S310 that there is no next division, the reproduction operation ends (S312). In step S307 and subsequent steps, if the “close” command for instructing the end of the reproduction is supplied from the driver unit 44 while the recorded data is being reproduced, the reproduction operation is terminated at that time.

【0081】このように、コンピュータ装置41にデー
タストレージ装置1に対応したドライバ部44を備える
ことにより、コンピュータ装置41においてアプリケー
ション42、ファイルシステム43から発行されたラン
ダムアクセスコマンドを、ドライバ部44によってシー
ケンシャルアクセスコマンドに変換して、データストレ
ージ装置1に出力することができる。したがって、ドラ
イバ部44を備えることで、コンピュータ装置41はデ
ータストレージ装置1をランダムアクセスデバイスとし
て認識して、例えば一般的なハードディスク装置などの
外部記憶装置と同様に扱うことができるようになる。
As described above, by providing the computer device 41 with the driver unit 44 corresponding to the data storage device 1, the random access command issued from the application 42 and the file system 43 in the computer device 41 can be sequentially processed by the driver unit 44. It can be converted into an access command and output to the data storage device 1. Therefore, the provision of the driver unit 44 allows the computer device 41 to recognize the data storage device 1 as a random access device and to handle the same as an external storage device such as a general hard disk device.

【0082】さらに、コンピュータ装置41のファイル
システム43が管理するLBAと、データストレージ装
置1におけるファイル管理(ファイルインフォメーショ
ンテーブルE2、ディビジョンアクセスマップE3)を
個別に行い、ドライバ部44によるコマンド変換によっ
て対応をとるようにしている。したがって、コンピュー
タ装置41のファイルシステム43はデータストレージ
装置1に対してランダムアクセスデバイスとしてのコマ
ンドを発行し、またデータストレージ装置1はシーケン
シャルアクセスデバイスとしてコンピュータ装置41と
データ通信を行うことになる。つまり、データストレー
ジ装置1、コンピュータ装置41はそれぞれ、ドライバ
部44におけるコマンド変換についての処理工程を意識
する必要が無くなる。また、データストレージ装置1
は、コンピュータ装置41のファイルシステム43の指
示ではなく、データの記録をハードディスク部4または
磁気テープ40に行っていくかを独自に決定することが
できるようになる。データストレージ装置1が独自に、
最も効率のよい記録を行っていくことができるようにな
る。
Further, the LBA managed by the file system 43 of the computer device 41 and the file management (file information table E2, division access map E3) in the data storage device 1 are individually performed, and the correspondence is converted by the command conversion by the driver unit 44. I am taking it. Therefore, the file system 43 of the computer device 41 issues a command as a random access device to the data storage device 1, and the data storage device 1 performs data communication with the computer device 41 as a sequential access device. In other words, the data storage device 1 and the computer device 41 do not need to be aware of the processing steps for command conversion in the driver unit 44. In addition, the data storage device 1
Can independently determine whether to record data on the hard disk unit 4 or the magnetic tape 40, instead of the instruction from the file system 43 of the computer device 41. Data storage device 1 is unique
The most efficient recording can be performed.

【0083】3.データの保存レベル 3−1、BOFデータの記録、再生経路 テープドライブ部4は、例えば磁気テープ上におけるア
クセス距離が長い場合に、比較的長いアクセス時間を要
することになる。このため、例えば映像データのリアル
タイム性が損なわれてしまうことがある。そこで、デー
タストレージ装置1では、データの記録時にバッファ手
段としてハードディスク部3を備え、例えばデータの記
録時に所定容量のBOFデータとして、ファイルの先頭
部分とされる一部のデータをBOFデータエリアE4に
記録しておくことができるようにしている。
3. Data Storage Level 3-1, BOF Data Recording / Reproduction Path The tape drive unit 4 requires a relatively long access time when, for example, the access distance on a magnetic tape is long. For this reason, for example, the real-time property of video data may be impaired. Therefore, the data storage device 1 includes the hard disk unit 3 as a buffer unit when recording data. For example, when recording data, as the BOF data of a predetermined capacity, a part of the data, which is the head of the file, is stored in the BOF data area E4. You can keep a record.

【0084】図27は、データストレージ装置1におい
てコンピュータ装置41から転送されるデータを記録す
る場合の経路を説明する模式図である。コンピュータ装
置41から転送されたファイルは、経路K1に示されて
いるように一旦バッファエリアE1における所要のエリ
アBuに格納され、その後所要のタイミングで、経路K
2に示されているようにエリアBuから磁気テープ40
のディビジョン#nに記録される。つまり、テープドラ
イブ部4が磁気テープ40におけるディビジョン#nに
アクセス(チェンジャ部5の動作を含む)している間
は、エリアBuにデータが格納されていくようにされて
いる。さらに、経路K3に示されているようにエリアB
uにおいてファイルの先頭部分に相当するBOFデータ
をBOFデータエリアE4に格納する。
FIG. 27 is a schematic diagram for explaining a path for recording data transferred from the computer device 41 in the data storage device 1. The file transferred from the computer device 41 is temporarily stored in a required area Bu in the buffer area E1 as shown in a path K1, and thereafter, at a required timing, the path K
As shown in FIG.
Is recorded in the division #n. That is, while the tape drive unit 4 accesses the division #n of the magnetic tape 40 (including the operation of the changer unit 5), data is stored in the area Bu. Further, as shown in the route K3, the area B
In u, the BOF data corresponding to the head of the file is stored in the BOF data area E4.

【0085】このようにして磁気テープ40に記録され
たファイルの再生は、図28の模式図に示されている経
路で行われる。コンピュータ装置41から所要のコマン
ド(Open File)が供給され、ファイルの再生
要求があったと判別した場合、データストレージ装置1
では、まず、経路K4に示されているように、BOFデ
ータエリアE4に記録されているBOFデータを読み出
してコンピュータ装置41に転送する。これと同時に、
経路K5に示されているように磁気テープ40に記録さ
れているデータを読み出してバッファエリアE1の所要
のエリアBuに格納していく。つまり、BOFデータエ
リアE4に記録されているBOFデータを読み出してコ
ンピュータ装置41に転送している間に、磁気テープ4
0においてファイルが記録されているディビジョン#n
にアクセスして、データの読み出しを行うことができる
ようになる。そして、BOFデータエリアE4に記録さ
れているBOFデータの転送が終了すると、これに続い
て磁気テープ40から読み出されてバッファエリアE1
に格納されているデータを読み出して、コンピュータ装
置41に転送する。
The reproduction of the file recorded on the magnetic tape 40 in this manner is performed along the path shown in the schematic diagram of FIG. When a required command (Open File) is supplied from the computer device 41 and it is determined that there is a file reproduction request, the data storage device 1
First, as shown in the path K4, the BOF data recorded in the BOF data area E4 is read and transferred to the computer device 41. At the same time,
As shown in the path K5, data recorded on the magnetic tape 40 is read and stored in a required area Bu of the buffer area E1. That is, while the BOF data recorded in the BOF data area E4 is read and transferred to the computer device 41, the magnetic tape 4
Division #n where the file is recorded at 0
To read data. Then, when the transfer of the BOF data recorded in the BOF data area E4 is completed, the data is read from the magnetic tape 40 and subsequently transferred to the buffer area E1.
Is read and transferred to the computer device 41.

【0086】このように、BOFデータを形成して記録
しておくことにより、このBOFデータのデータを読み
出してコンピュータ装置41に転送している間に、磁気
テープ40にアクセスすることができるので、再生デー
タのリアルタイム性を維持することができるようにな
る。
As described above, by forming and recording the BOF data, the magnetic tape 40 can be accessed while the BOF data is being read out and transferred to the computer device 41. The real-time property of the reproduction data can be maintained.

【0087】図27、図28に示したBOFデータエリ
アE4に記録するBOFデータの容量は、例えばコンピ
ュータ装置41から転送されてくるデータのリアルタイ
ム速度をV[Mbps]とし、例えばT[sec]の再生時
間に相当するデータサイズを確保することを想定する
と、 VT/8[MB] として示すことができる。したがって、コンピュータ装
置41から例えば6MMbpsで転送されてくるデータ
を1分の再生時間を確保して記録する場合、 6×1×60/8=45[MB] となる。
The capacity of the BOF data recorded in the BOF data area E4 shown in FIGS. 27 and 28 is, for example, the real-time speed of the data transferred from the computer device 41 as V [Mbps], and for example, T [sec]. Assuming that a data size corresponding to the reproduction time is secured, it can be represented as VT / 8 [MB]. Therefore, when data transferred from the computer device 41 at, for example, 6 Mbps is recorded with a one-minute playback time secured, 6 × 1 × 60/8 = 45 [MB].

【0088】なお、コンピュータ装置41が転送するデ
ータの転送速度が一定ではない場合、コンピュータ装置
41はデータの転送を開始する前に、前記した「Sen
dRealtime Speed」コマンドによって、
データストレージ装置1にリアルタイム速度を通知す
る。データストレージ装置1では、Send Real
Time Speedで通知された再生レートによっ
て連続再生を保証することができるように、断片化など
を考慮したデータ記録を行うようにする。
If the transfer speed of the data transferred by the computer device 41 is not constant, the computer device 41 performs the above-described “Sen” before starting the data transfer.
dRealtime Speed ”command
The data storage device 1 is notified of the real-time speed. In the data storage device 1, Send Real
Data recording is performed in consideration of fragmentation and the like so that continuous reproduction can be guaranteed at the reproduction rate notified by Time Speed.

【0089】3−2.保存レベル データストレージ装置1では、ハードディスク部3にバ
ッファエリアE1、BOFデータエリアE4を備え、さ
らに磁気テープ40にデータの記録を行うようにしてい
る。したがって、データストレージ装置1に記録される
ファイルは、ファイル毎に記録形態が異なる場合が生じ
てくる。本実施の形態ではこれをファイルの保存レベル
として、例えば図29に示されているように定義する。
保存レベルを決定する要因としては、例えば (1).そのファイルの全部或いは一部がバッファエリ
アE1に記録されているか。 (2).そのファイルのBOFデータがBOFデータエ
リアE4に記録されているか。 (3).そのファイルの全部或いは一部が磁気テープ4
0上に記録されているか。 などが挙げられる。
3-2. In the storage level data storage device 1, the hard disk unit 3 has a buffer area E1 and a BOF data area E4, and further records data on the magnetic tape 40. Therefore, the file recorded in the data storage device 1 may have a different recording format for each file. In the present embodiment, this is defined as a file storage level, for example, as shown in FIG.
Factors that determine the storage level include, for example, (1). Whether all or part of the file is recorded in the buffer area E1. (2). Whether the BOF data of the file is recorded in the BOF data area E4. (3). All or part of the file is a magnetic tape 4
Is it recorded on 0? And the like.

【0090】これらの要因に基づいて、定義される保存
レベルとしては、バッファエリアE1、BOFデータエ
リアE4、および磁気テープ40にデータが記録されて
いるファイルは「保存レベル7」、バッファエリアE
1、およびBOFデータエリアE4にデータが記録され
ているファイルは「保存レベル6」、BOFデータエリ
アE4、および磁気テープ40にデータが記録されてい
るファイルは「保存レベル3」、磁気テープ40のみに
データが記録されているファイルは「保存レベル1」と
する。なお、「保存レベル0」は保存レベルの初期値を
示し、データストレージ装置1にそのファイルが存在し
ていないことを示すものとする。
Based on these factors, the storage levels defined are a buffer area E1, a BOF data area E4, a file in which data is recorded on the magnetic tape 40 as "storage level 7," and a buffer area E.
1, a file in which data is recorded in the BOF data area E4 is "storage level 6", a file in which data is recorded in the BOF data area E4 and the magnetic tape 40 is "storage level 3", and only the magnetic tape 40 is used. The file in which the data is recorded is “storage level 1”. Note that “save level 0” indicates an initial value of the save level, and indicates that the file does not exist in the data storage device 1.

【0091】これらの保存レベルは、例えばバッファエ
リアE1の残りの容量、BOFデータエリアE4の残り
の容量、またはファイルインフォメーションテーブルE
2における当該ファイルに対する過去のアクセス回数、
最終アクセス時刻などに応じて、上下させていくものと
される。そして、この保存レベルに基づいて、バッファ
エリアE1、磁気テープ40に対するファイルの記録制
御や、BOFデータエリアE3に対するBOFデータの
記録制御、またはバッファエリアE1に記録されている
ファイルやBOFデータエリアE3に記録されているB
OFデータの消去などの消去制御などを行い、バッファ
エリアE1、BOFデータエリアE3には、使用頻度の
高いファイルに関するデータを選択的に記録しておくよ
うにしている。
These storage levels are, for example, the remaining capacity of the buffer area E1, the remaining capacity of the BOF data area E4, or the file information table E.
2. The number of past accesses to the file in 2.
It is to be moved up and down according to the last access time and the like. Then, based on this storage level, the recording control of the file in the buffer area E1, the magnetic tape 40, the recording control of the BOF data in the BOF data area E3, or the recording of the file or the BOF data area E3 in the buffer area E1. B recorded
Erasure control such as OF data erasure is performed, and data relating to frequently used files is selectively recorded in the buffer area E1 and the BOF data area E3.

【0092】3−3.保存レベル更新 3−3−1.「保存レベル0」から「保存レベル6」 以下、保存レベルの更新について説明する。まず図30
に示されているフローチャートにしたがい、ファイルの
保存レベルを「0」から「6」に更新する処理、すなわ
ちデータストレージ装置1に新規にファイルを記録する
場合の処理を説明する。なお、この図に示すフローチャ
ートは、コンピュータ装置41から転送されたデータの
全てをバッファエリアE1に格納することができ、磁気
テープ40にはそのファイルのデータが記録されていな
い場合を想定している。まず、コンピュータ装置41の
ドライバ部44から、記録の開始を指示する「Crea
te File」コマンドが供給されたか否かの判別を
行い(S401)、ライトコマンドを受けたと判別した
場合は、そのライトコマンドに続いて供給される「Se
nd Realtime Speed」コマンドによっ
て指示されるリアルタイム速度に基づいてBOFデータ
の保存容量を設定する(S402)。そして、記録する
ファイルに対応した情報でファイルインフォメーション
テーブルE2を更新する(S403)。このステップS
403で更新する情報は、例えば最終アクセス時刻を現
在時刻、保存レベルを初期値の「0」から「6」、アク
セス回数のインクリメント、リアルタイム速度を「Se
nd Realtime Speed」コマンドで指示
された速度とする。
3-3. Update of storage level 3-3-1. "Save Level 0" to "Save Level 6" Update of the save level will be described below. First, FIG.
A process for updating the storage level of a file from “0” to “6”, that is, a process for newly recording a file in the data storage device 1 will be described with reference to the flowchart shown in FIG. Note that the flowchart shown in this figure assumes that all of the data transferred from the computer device 41 can be stored in the buffer area E1, and that the data of the file is not recorded on the magnetic tape 40. . First, the driver unit 44 of the computer device 41 instructs “Crea
It is determined whether or not a “te File” command has been supplied (S401). If it is determined that a write command has been received, “Se” supplied following the write command is supplied.
The storage capacity of the BOF data is set based on the real-time speed instructed by the “nd Realtime Speed” command (S402). Then, the file information table E2 is updated with the information corresponding to the file to be recorded (S403). This step S
The information to be updated in 403 includes, for example, the last access time as the current time, the storage level as the initial value of “0” to “6”, the increment of the access count, and the real-time speed as “Se”.
nd Realtime Speed ”command.

【0093】このようにファイルインフォメーションテ
ーブルE2の更新を行った後に、バッファエリアE1に
コンピュータ装置41から転送されたデータの蓄積を開
始する(S404)。さらに、バッファエリアE1にデ
ータの蓄積を開始すると、バッファエリアE1にBOF
データとして十分なデータ量が蓄積されたか否かの判別
を行い(S405)、十分なデータ量が蓄積されたと判
別した場合は、BOFデータに相当するデータをバッフ
ァエリアE1から読み出してBOFデータエリアE4に
記録する(S406)。そして、BOFデータエリアE
4にBOFデータを記録した後は、コンピュータ装置4
1から記録の終了を指示する「Close File」
コマンドが供給されたか否かの判別を行い(S40
7)、「Close File」コマンドが供給された
と判別した場合は、ファイルインフォメーションテーブ
ルE2のライト終了時刻を現在時刻で更新して(S40
8)、記録動作を終了する。このように、データストレ
ージ装置1において、例えばファイルのデータが全てバ
ッファエリアE1に格納することができた場合、例えば
記録が行われた直後のファイルは「保存レベル6」とし
て管理されることになる。
After updating the file information table E2 as described above, the storage of the data transferred from the computer device 41 to the buffer area E1 is started (S404). Further, when data accumulation is started in the buffer area E1, the BOF is stored in the buffer area E1.
It is determined whether or not a sufficient amount of data has been stored (S405). If it is determined that a sufficient amount of data has been stored, data corresponding to the BOF data is read from the buffer area E1 and the BOF data area E4 is read. (S406). And the BOF data area E
After recording the BOF data in the computer device 4,
"Close File" instructing the end of recording from 1
It is determined whether a command has been supplied (S40).
7) If it is determined that the "Close File" command has been supplied, the write end time of the file information table E2 is updated with the current time (S40).
8) The recording operation ends. As described above, in the data storage device 1, for example, when all the data of the file can be stored in the buffer area E1, for example, the file immediately after the recording is performed is managed as “storage level 6”. .

【0094】3−3−2.「保存レベル6」から「保存
レベル7」 図30に示したフローチャートでは、コンピュータ装置
41から転送されたデータの全てをバッファエリアE1
に格納することができた例を挙げて説明したが、転送デ
ータの容量に対して、バッファエリアE1の残り記録容
量が小さい場合、磁気テープ40に記録を行っていくこ
とになる。図31は、このような場合に、ファイルの保
存レベルを「6」から「7」に更新する工程を説明する
フローチャートである。なお、図31に示すフローチャ
ートは、例えば図30に示したように記録動作を行って
いる最中に、必要に応じて随時行われる処理工程とされ
る。なお、以降説明する処理工程における各敷居値の関
係は、 0<A1<A2<バッファエリアE1の全エリアBuの
数 とする。
3-3-2. “Save level 6” to “Save level 7” In the flowchart shown in FIG. 30, all of the data transferred from the computer device 41 are stored in the buffer area E1.
Has been described, but when the remaining recording capacity of the buffer area E1 is smaller than the transfer data capacity, recording is performed on the magnetic tape 40. FIG. 31 is a flowchart illustrating a process of updating the file storage level from “6” to “7” in such a case. Note that the flowchart shown in FIG. 31 is a processing step that is performed as needed, for example, during a recording operation as shown in FIG. Note that the relationship between the threshold values in the processing steps described below is 0 <A1 <A2 <the number of all areas Bu in the buffer area E1.

【0095】データストレージ装置1においてデータの
記録動作を開始すると、バッファエリアE1において使
用されていないエリアBuの数が例えば敷居値「A2」
よりも小さいか否かの判別を行う(S501)。そして
エリアBuの数が敷居値「A2」よりも小さいと判別し
た場合は、ファイルインフォメーションテーブルE2に
おいて「保存レベル6」とされているファイルの中で最
低優先度のファイル(i)を検索する(S502)。こ
こで、最低優先度のファイルとは、「保存レベル6」と
されているファイルのアクセス履歴として、アクセス回
数が一番少ないものとされ、もしこの条件に複数のファ
イルが該当した場合は、最終アクセス時刻が最も古いフ
ァイルとする。なお、以降の説明においても、最低優先
度のファイルとはこのようなアクセス履歴に基づいた条
件に対応したファイルとする。ステップS502におい
てファイル(i)を検索すると、バッファエリアE1の
エリアBuに記録されているファイル(i)のデータを
磁気テープ40の所要のディビジョンに記録する(S5
03)。そして、ファイルインフォメーションテーブル
E2においてファイル(i)の保存レベルを「6」から
「7」に更新する(S504)。
When the data recording operation is started in the data storage device 1, the number of unused areas Bu in the buffer area E1 becomes, for example, the threshold value “A2”.
It is determined whether it is smaller than (S501). If it is determined that the number of the areas Bu is smaller than the threshold value “A2”, the file (i) having the lowest priority is searched for among the files having “save level 6” in the file information table E2 ( S502). Here, the file with the lowest priority is the one with the least number of accesses as the access history of the file with the “save level 6”. The file with the oldest access time is assumed. In the following description, the file with the lowest priority is a file corresponding to such a condition based on the access history. When the file (i) is searched in step S502, the data of the file (i) recorded in the area Bu of the buffer area E1 is recorded in a required division of the magnetic tape 40 (S5).
03). Then, the storage level of the file (i) is updated from "6" to "7" in the file information table E2 (S504).

【0096】また、ステップS501でエリアBuの数
が敷居値「A2」よりも大きいと判別した場合は、「保
存レベル6」とされているファイルの中で、現在時刻−
ライト終了時刻、すなわち記録が終了してから現在に至
るまでの経過時間が所定の敷居値Tよりも大きいか否か
の判別を行う(S505)。そして、経過時間が敷居値
Tよりも大きいと判別した場合は、ライト終了時刻が最
も古いものをファイル(i)として(S506)、ステ
ップS503に進む。なお、経過時間が敷居値Tよりも
小さい場合は、保存レベルの更新を行わない。
If it is determined in step S501 that the number of areas Bu is larger than the threshold value "A2", the current time minus
It is determined whether or not the write end time, that is, the elapsed time from the end of the recording to the present is greater than a predetermined threshold value T (S505). If it is determined that the elapsed time is longer than the threshold value T, the file with the oldest write end time is set as the file (i) (S506), and the process proceeds to step S503. If the elapsed time is smaller than the threshold value T, the storage level is not updated.

【0097】3−3−3.「保存レベル7」から「保存
レベル3」 図32は、ファイルの保存レベルを「7」から「3」に
更新する工程を説明するフローチャートである。この図
に示す処理工程は、例えば記録、再生を行っている場合
に、磁気テープ40の新しいディビジョンを使用する直
前に行うようにされる。データストレージ装置1におい
てデータの記録動作を開始すると、バッファエリアE1
において使用されていないエリアBuの数が例えば敷居
値「A1」よりも小さいか否かの判別を行う(S60
1)。そしてエリアBuの数が敷居値「A1」よりも小
さいと判別した場合は、ファイルインフォメーションテ
ーブルE2において「保存レベル7」とされているファ
イルの中で最低優先度のファイル(i)を検索する(S
602)。但し、この図に示すフローチャートにおいて
も、最低優先度のファイルとは、「保存レベル7」とさ
れているファイルの中でアクセス回数が一番少ないもの
とし、さらにこの条件に複数のファイルが該当した場合
は、最終アクセス時刻が最も古いファイルとする。
3-3-3. “Save Level 7” to “Save Level 3” FIG. 32 is a flowchart illustrating a process of updating the save level of a file from “7” to “3”. The processing steps shown in this figure are performed immediately before using a new division of the magnetic tape 40, for example, when recording and reproducing are performed. When the data recording operation is started in the data storage device 1, the buffer area E1
It is determined whether or not the number of unused areas Bu is smaller than, for example, the threshold value “A1” (S60).
1). If it is determined that the number of the areas Bu is smaller than the threshold value “A1”, the file (i) having the lowest priority is searched for among the files having the “save level 7” in the file information table E2 ( S
602). However, also in the flowchart shown in this figure, the file with the lowest priority is assumed to be the file with the least number of accesses among the files having the “save level 7”, and a plurality of files satisfy the condition. In this case, the file with the last access time is the oldest.

【0098】ステップS602においてファイル(i)
を検索すると、バッファエリアE1のエリアBuに記録
されているファイル(i)のデータを消去する(S60
3)。そして、ファイルインフォメーションテーブルE
2においてファイル(i)の保存レベルを「7」から
「3」に更新する(S604)。
In step S602, file (i)
Is searched, the data of the file (i) recorded in the area Bu of the buffer area E1 is deleted (S60).
3). And the file information table E
In step 2, the storage level of the file (i) is updated from "7" to "3" (S604).

【0099】3−3−4.「保存レベル3」から「保存
レベル1」 図33は、ファイルの保存レベルを「3」から「1」に
更新する工程を説明するフローチャートである。この図
に示す処理工程は、例えばBOFデータエリアE4にB
OFデータを書き込む直前に行うようにされる。データ
ストレージ装置1においてデータの記録動作を開始する
と、BOFデータエリアE4の空き容量が、所定の敷居
値Bよりも大きいか否かの判別を行う(S701)。そ
して空き領域が敷居値Bよりも小さいと判別した場合
は、ファイルインフォメーションテーブルE2において
「保存レベル3」とされているファイルの中で最低優先
度のファイル(i)を検索する(S702)。ステップ
S702においてファイル(i)を検索すると、バッフ
ァエリアE1のエリアBuに記録されているファイル
(i)のBOFデータをBOFデータエリアE4から消
去する(S703)。そして、ファイルインフォメーシ
ョンテーブルE2においてファイル(i)の保存レベル
を「3」から「1」に更新する(S704)。なお、ス
テップS701でBOFデータエリアE4の空き容量が
敷居値Bよりも大きい場合は、そのままBOFデータの
記録を行うことができると見なして、すでに記録されて
いるBOFデータの消去や、保存レベルの更新などの処
理は行わない。このように、BOFデータエリアE4の
残り容量が小さくなった場合に、優先度の最も低いファ
イルのBOFデータを消去して、新たにBOFデータの
記録を行うことができるようになる。
3-3-4. “Save Level 3” to “Save Level 1” FIG. 33 is a flowchart illustrating a process of updating the save level of a file from “3” to “1”. The processing steps shown in FIG.
This is performed immediately before writing OF data. When the data recording operation is started in the data storage device 1, it is determined whether or not the free space of the BOF data area E4 is larger than a predetermined threshold value B (S701). If it is determined that the empty area is smaller than the threshold value B, the file (i) having the lowest priority is searched for among the files set as “storage level 3” in the file information table E2 (S702). When the file (i) is searched in step S702, the BOF data of the file (i) recorded in the area Bu of the buffer area E1 is deleted from the BOF data area E4 (S703). Then, the storage level of the file (i) is updated from "3" to "1" in the file information table E2 (S704). If the free space of the BOF data area E4 is larger than the threshold value B in step S701, it is considered that the BOF data can be recorded as it is, and the already recorded BOF data is deleted or the storage level is not changed. No processing such as updating is performed. As described above, when the remaining capacity of the BOF data area E4 becomes small, the BOF data of the file with the lowest priority can be erased and new BOF data can be recorded.

【0100】3−3−5.再生時 以下、図34にしたがいデータの再生時にアクセス回数
に基づいて保存レベルの更新を行う場合の処理工程を説
明する。コンピュータ装置41のドライブ部44から記
録の開始を指示する「OpenFile」コマンドが供
給されたか否かの判別を行い(S801)、「Open
File」コマンドを受けたと判別した場合は、再生
するファイルに対応したファイルインフォメーションテ
ーブルE2の更新を行う(S802)。このステップS
802では、例えば最終アクセス時刻を現在時刻で更新
すると共に、アクセス回数のインクリメントを行う。続
いて、再生を行うファイル(i)の保存レベルの判別を
行い(S803)、保存レベルが「1」または「3」で
あると判別した場合は、ファイル(i)に対応したファ
イルインフォメーションテーブルE2の保存レベルを
「7」に更新する(S804)。そして、ファイル
(i)の全データがバッファエリアE1に格納されてい
るか否かの判別を行い(S805)、バッファエリアE
1に全データが格納されていると判別した場合は、磁気
テープ40からのデータ読み出しを開始してバッファエ
リアE1に格納していく(S806)。さらに、ファイ
ル(i)に対応したBOFデータが記録されているか否
かの判別を行い(S807)、BOFデータが記録され
ていると判別した場合は、BOFデータの読み出しを開
始する(S808)。BOFデータの読み出し開始後
は、BOFデータの読み出しが終わったか否かの判別を
行うようにする(S809)。ステップS809でBO
Fデータの読み出しが終わったと判別すると、ファイル
(i)の読み込みが終了したか否かの判別を行い(S8
10)、ここで、ファイルの読み込みが終了したと判別
した場合は、再生動作を終了する(S811)。
3-3-5. At the time of reproduction In the following, a description will be given of a processing step in the case where the storage level is updated based on the number of accesses when reproducing data according to FIG. It is determined whether or not an “OpenFile” command for instructing the start of recording is supplied from the drive unit 44 of the computer device 41 (S801), and “Open” is determined.
If it is determined that the “File” command has been received, the file information table E2 corresponding to the file to be reproduced is updated (S802). This step S
At 802, for example, the last access time is updated with the current time, and the number of accesses is incremented. Subsequently, the storage level of the file (i) to be reproduced is determined (S803). If the storage level is determined to be “1” or “3”, the file information table E2 corresponding to the file (i) is determined. Is updated to "7" (S804). Then, it is determined whether or not all data of the file (i) is stored in the buffer area E1 (S805).
If it is determined that all the data are stored in No. 1, data reading from the magnetic tape 40 is started and stored in the buffer area E1 (S806). Further, it is determined whether or not the BOF data corresponding to the file (i) is recorded (S807). When it is determined that the BOF data is recorded, the reading of the BOF data is started (S808). After the start of the reading of the BOF data, it is determined whether or not the reading of the BOF data is completed (S809). BO in step S809
When it is determined that the reading of the F data has been completed, it is determined whether the reading of the file (i) has been completed (S8).
10) If it is determined that the reading of the file has been completed, the reproduction operation ends (S811).

【0101】また、ステップS810でファイルの読み
込みが終了していないと判別した場合は、磁気テープ4
0から読み出されたデータがバッファエリアE1に格納
されているか否かの判別を行う(S812)。ここで、
バッファエリアE1に読み出すデータが格納されている
と判別した場合は、バッファエリアE1に格納されてい
るデータの読み出を行い(S813)、コンピュータ装
置41に転送する。そして、先にステップS807でフ
ァイル(i)に対応したBOFデータがないと判別され
ていた場合は、ファイル(i)のBOFデータをBOF
データエリアE4に記録する(S814)。このステッ
プS814で記録されるBOFデータエリアの容量は、
前記したように、例えばVT/8[MB]とされる。そし
て、ステップS810に戻りファイルの読み込みが終了
したか否かの判別を行うようにする。なお、ステップS
805でファイル(i)の全データがバッファエリアE
1に格納されていると判別した場合は、ステップS81
3に進み、BOFデータの読み出し工程を省略してバッ
ファエリアE1に格納されているデータの読み出しを行
うようにする。
If it is determined in step S810 that the reading of the file has not been completed,
It is determined whether the data read from 0 is stored in the buffer area E1 (S812). here,
When it is determined that the data to be read is stored in the buffer area E1, the data stored in the buffer area E1 is read (S813) and transferred to the computer device 41. If it is determined in step S807 that there is no BOF data corresponding to the file (i), the BOF data of the file (i) is
The data is recorded in the data area E4 (S814). The capacity of the BOF data area recorded in step S814 is
As described above, for example, VT / 8 [MB] is set. Then, the process returns to step S810 to determine whether the reading of the file has been completed. Step S
At 805, all data of file (i) is stored in buffer area E
1 is stored in the step S81.
Proceeding to 3, the BOF data reading step is omitted, and the data stored in the buffer area E1 is read.

【0102】このように、ファイルの再生を行う場合、
ファイルにアクセスする毎にファイルインフォメーショ
ンテーブルE2のアクセス回数の更新を行い、必要に応
じてBOFデータを記録していくことにより、使用頻度
の高いファイルほど優先順位を高くすることができ、ハ
ードディスク部3の高速アクセス性を有用なものとして
データの読み出しを行うことができるようになる。
As described above, when reproducing a file,
The number of accesses in the file information table E2 is updated every time a file is accessed, and the BOF data is recorded as necessary, so that a file that is used more frequently can be given a higher priority. The data can be read with the high-speed accessibility of the data being useful.

【0103】3−3−6.ファイルの消去 図35はデータストレージ装置1に記録されているファ
イルを消去する場合の処理工程の一例を説明するフロー
チャートである。ステップS901でコンピュータ装置
41のドライバ部44から消去コマンドが供給されたと
判別すると、ファイルインフォメーションテーブルE2
において消去コマンドで指示されているファイル(i)
の保存レベルを検索する(S902)。そして保存レベ
ルの判別を行い(S903)、保存レベルが「7」であ
ると判別した場合は、ファイル(i)のデータを磁気テ
ープ40、バッファエリアE1、BOFデータエリアE
4から消去する(S904)。保存レベルが「6」であ
ると判別した場合は、ファイル(i)のデータをバッフ
ァエリアE1、BOFデータエリアE4から消去する
(S905)。保存レベルが「3」であると判別した場
合は、ファイル(i)のデータを磁気テープ40、BO
FデータエリアE4から消去する(S906)。さら
に、保存レベルが「1」であると判別した場合は、ファ
イル(i)のデータを磁気テープ40から消去する(S
907)。そして、ファイルインフォメーションテーブ
ルE2において、ファイル(i)に対応した、最終アク
セス時刻、ライト終了時刻、保存レベル、アクセス回
数、リアルタイム速度を初期化する(S908)。
3-3-6. FIG. 35 is a flowchart illustrating an example of processing steps when erasing a file recorded in the data storage device 1. If it is determined in step S901 that the erase command has been supplied from the driver unit 44 of the computer device 41, the file information table E2
File (i) designated by the erase command in
Is searched for (S902). The storage level is determined (S903). If the storage level is determined to be "7", the data of the file (i) is transferred to the magnetic tape 40, the buffer area E1, and the BOF data area E.
4 (S904). If it is determined that the storage level is "6", the data of the file (i) is deleted from the buffer area E1 and the BOF data area E4 (S905). If the storage level is determined to be “3”, the data of the file (i) is
Erase from the F data area E4 (S906). Further, when it is determined that the storage level is “1”, the data of the file (i) is deleted from the magnetic tape 40 (S
907). Then, in the file information table E2, the last access time, the write end time, the storage level, the number of accesses, and the real-time speed corresponding to the file (i) are initialized (S908).

【0104】3−4.ファイルのライフサイクル 次に、図36にしたがい、上記したように更新される保
存レベルに基づいたファイルのライフサイクルについて
説明する。前記したように「保存レベル0」は初期状態
とされ、新規にファイル(i)を作成して記録を実行す
ると、保存レベルは「6」に更新される。保存レベルが
「6」の状態では、データがバッファエリアE1のみに
格納されている。また、この状態のファイル(i)の再
生を行うと、アクセス回数がインクリメントされ保存レ
ベルの更新は行われない。保存レベルが「6」から
「7」に更新される条件としては、バッファエリアE1
の空き容量が敷居値A2以下になった場合とされ、この
更新は、例えばファイル(i)の記録、再生を行ってい
る場合において新しいディビジョンを使用する際に行わ
れる。また、保存レベルが「6」の場合と同様に、アク
セス回数がインクリメントされ保存レベルの更新は行わ
れない。
3-4. File Life Cycle Next, a file life cycle based on the storage level updated as described above will be described with reference to FIG. As described above, the “storage level 0” is in the initial state, and when a new file (i) is created and recording is performed, the storage level is updated to “6”. When the storage level is "6", data is stored only in the buffer area E1. When the file (i) in this state is reproduced, the number of accesses is incremented and the storage level is not updated. The condition for updating the storage level from “6” to “7” is that the buffer area E1
Is determined to be less than or equal to the threshold value A2, and this update is performed, for example, when a new division is used while recording or reproducing the file (i). Also, as in the case where the storage level is “6”, the access count is incremented and the storage level is not updated.

【0105】保存レベルが「7」から「3」に更新され
る条件としては、バッファエリアE1の空き容量が敷居
値A1以下になった場合とされ、記録、再生が行われて
いるときに、新しいディビジョンを使用する際に行われ
る。なお、ファイル(i)の保存レベルが「3」に更新
された後に再生が行われたら、読み出されたデータがバ
ッファエリアE1に格納されるようになるので保存レベ
ルは再び「7」に更新される。
The condition for updating the storage level from "7" to "3" is that the free space of the buffer area E1 becomes equal to or less than the threshold value A1. This is done when using a new division. If the reproduction is performed after the storage level of the file (i) is updated to “3”, the read data is stored in the buffer area E1, so that the storage level is updated to “7” again. Is done.

【0106】また、保存レベルが「3」から「1」に更
新される条件としては、BOFデータエリアE4の空き
領域が敷居値B以下となった場合とされる。そして、フ
ァイル(i)の保存レベルが「1」に更新された後に再
生が行われたら、保存レベルが「3」の場合と同様に、
読み出されたデータがバッファエリアE1に格納される
ようになるので保存レベルは再び「7」に更新される。
The condition for updating the storage level from "3" to "1" is when the free area of the BOF data area E4 becomes equal to or less than the threshold value B. Then, when the reproduction is performed after the storage level of the file (i) is updated to “1”, similar to the case where the storage level is “3”,
Since the read data is stored in the buffer area E1, the storage level is updated to "7" again.

【0107】さらに、ファイル(i)の保存レベルが
「6」「7」「3」「1」とされている場合に、コンピ
ュータ装置41からの指示によりファイル(i)が消去
された場合は、保存レベルを初期値とされる「0」にす
ると共に、図35で説明したようにファイルインフォメ
ーションテーブルE2に格納されている情報を初期化す
る。
Further, when the storage level of the file (i) is “6”, “7”, “3”, or “1”, and the file (i) is deleted by an instruction from the computer device 41, The storage level is set to “0”, which is the initial value, and the information stored in the file information table E2 is initialized as described with reference to FIG.

【0108】このように、保存レベルに基づいてハード
ディスク部4または磁気テープ40に記録されているデ
ータの管理を行うようにしているので、ハードディスク
部4の容量を効率よく使用することができるようにな
る。したがって、データストレージ装置1においてはハ
ードディスク部4を必要最低限の容量で構成することが
できるので、コストダウンを図ることができるようにな
る。また、ファイルに対するアクセス回数などのアクセ
ス履歴に基づいて保存レベルの上げ下げを行うようにし
ているので、比較的頻繁にアクセスするファイルについ
てはBOFデータエリアE4にBOFデータを形成して
記憶しておくことができるようになる。これにより、頻
繁にアクセスするファイルについては、その先頭部分を
ハードディスク部4から読み出してコンピュータ装置4
1に転送することができるようになる。すなわちコンピ
ュータ装置41からの再生要求を受けた場合でも、迅速
に応答してデータ転送を開始することができるようにな
る。さらに、例えば記録が終了してから間もないとき、
または最近再生したばかりのファイルについては、その
容量にもよるがファイル全体のデータをバッファエリア
E1に格納しておくようにしているので、磁気テープ4
0にアクセスする必要なくコンピュータ装置41にデー
タの転送を行うことができる。
As described above, since the data recorded on the hard disk unit 4 or the magnetic tape 40 is managed based on the storage level, the capacity of the hard disk unit 4 can be used efficiently. Become. Therefore, in the data storage device 1, the hard disk unit 4 can be configured with the minimum necessary capacity, so that the cost can be reduced. In addition, since the storage level is raised or lowered based on the access history such as the number of times of access to the file, BOF data is formed and stored in the BOF data area E4 for relatively frequently accessed files. Will be able to As a result, with respect to frequently accessed files, the head portion is read from the hard disk unit 4 and
1 can be transferred. That is, even when a reproduction request is received from the computer device 41, the data transfer can be started quickly in response. Furthermore, for example, just after the recording is over,
Alternatively, for a file that has just been reproduced recently, the data of the entire file is stored in the buffer area E1 depending on the capacity thereof.
It is possible to transfer data to the computer device 41 without having to access 0.

【0109】4.磁気テープのロード/アンロード 次に、磁気テープ40に記録されているファイルに対す
るアクセス性を向上するために、磁気テープの記録状態
に基づいてロード/アンロード動作を行うエリアを選択
する場合について説明する。 4−1.EODエリアの後のロード/アンロード 図37(a)(b)は1本の磁気テープ40(例えば磁
気テープ40a)におけるファイルの記録状態を説明す
る模式図である。なお、この図でデバイスエリア#1
は、図7(a)に示したデバイスエリアに対応してい
る。また、この図においては磁気テープ40aの記録可
能領域をディビジョン単位ではなくファイル単位で示し
ている。さらに、磁気テープ40においてPBOTから
PEOTに至るまでの記録可能領域の所定の位置は、例
えば前記記録可能領域の中央部分とされ、この中央部分
は例えばディビジョン#200の先頭部分に相当する。
また、磁気テープ40aを例に挙げているが、磁気テー
プ40b乃至磁気テープ40tについても同様である。
4. Loading / Unloading of Magnetic Tape Next, a description will be given of a case where an area for performing a loading / unloading operation is selected based on a recording state of the magnetic tape in order to improve accessibility to a file recorded on the magnetic tape 40. I do. 4-1. Loading / Unloading After EOD Area FIGS. 37A and 37B are schematic diagrams illustrating the recording state of a file on one magnetic tape 40 (for example, the magnetic tape 40a). In this figure, device area # 1
Corresponds to the device area shown in FIG. Also, in this figure, the recordable area of the magnetic tape 40a is shown not in division units but in file units. Further, the predetermined position of the recordable area from the PBOT to the PEOT on the magnetic tape 40 is, for example, a central portion of the recordable area, and this central portion corresponds to, for example, the head of the division # 200.
Although the magnetic tape 40a is taken as an example, the same applies to the magnetic tapes 40b to 40t.

【0110】図37(a)に示されているように、磁気
テープ40aに対してファイル#1、ファイル#2の記
録を行っていくと、最後に記録されたファイル#2の後
に、現在当該磁気テープ40aの記録領域においてデー
タが記録されている領域の終了位置を示すEOD(End
of Data)エリアが形成される。例えば磁気テープ40a
の全ての記録可能領域に、ファイルが記録されていない
状態では、デバイスエリア#1がロード/アンロード動
作を行う領域とされる。すなわち、磁気テープ40aの
先頭部分でローディングが行われて、記録が実行される
と磁気テープ40aの先頭部分からファイル#1、ファ
イル#2が記録されていく。そして例えばファイル#2
の記録が終了した時点で、EODエリアが形成される。
As shown in FIG. 37 (a), as the file # 1 and the file # 2 are recorded on the magnetic tape 40a, the current file # 2 is recorded after the file # 2 recorded last. EOD (End) indicating the end position of the area where data is recorded in the recording area of the magnetic tape 40a.
of Data) area is formed. For example, magnetic tape 40a
In the state where no file is recorded in all recordable areas, the device area # 1 is an area for performing a load / unload operation. That is, when loading is performed at the head of the magnetic tape 40a and recording is performed, file # 1 and file # 2 are recorded from the head of the magnetic tape 40a. And for example file # 2
Is completed, an EOD area is formed.

【0111】このようにして、ファイル#1、ファイル
#2の記録が行われた状態で、記録済み領域の終端部分
が記録可能領域の中央部分に到達していない場合、EO
Dエリアの後の領域をロード/アンロードエリアLUA
として使用する。したがって、図37(a)に示されて
いる状態で、例えばデータストレージ装置1のコントロ
ーラ部2から、例えばテープカセット#Aを排出する指
示を受けた場合は、テープドライブ部4はロード/アン
ロードエリアLUAに移動してアンロード動作を実行し
て、テープカセット#Aを排出することになる。つま
り、次回テープカセット#Aがテープドライブ部4に装
填された場合、磁気テープ40aはロード/アンロード
エリアLUAでロードされることになる。
When the end of the recorded area does not reach the center of the recordable area in a state where the file # 1 and the file # 2 are recorded in this manner, the EO
Load / unload area LUA after area D
Use as Therefore, in the state shown in FIG. 37A, for example, when an instruction to eject, for example, the tape cassette #A is received from the controller unit 2 of the data storage device 1, the tape drive unit 4 loads / unloads. The tape cassette #A is ejected by moving to the area LUA and executing the unload operation. That is, when the next tape cassette #A is loaded in the tape drive unit 4, the magnetic tape 40a is loaded in the load / unload area LUA.

【0112】図37(b)に示されているようにファイ
ル#2に続いて、ファイル#3、ファイル#4が記録さ
れていくと、ファイル#4の記録を行っているときに、
記録済み領域が記録可能領域の中央部分に到達すること
になる。このような場合、PEOTまでの未記録領域に
記録されるファイルに対しても、効率よくロード/アン
ロードを行うためにデバイスエリア#2を作成して、こ
れ以降磁気テープ40aではこのデバイスエリア#2に
おいてロード/アンロードを行うようにする。なお、デ
バイスエリア#2を作成する場合の処理については後述
する。このようにしてデバイスエリア#2が形成される
と、例えばファイル#5、ファイル#6が記録された場
合でも、デバイスエリア#1よりも近い位置に形成され
るデバイスエリア#2によってロード/アンロード動作
を行うようにすることで、各ファイルに対する平均アク
セス時間を短縮して、効率のよいアクセス動作を実現す
ることができるようになる。
As shown in FIG. 37 (b), if file # 3 and file # 4 are recorded after file # 2, when file # 4 is being recorded,
The recorded area reaches the center of the recordable area. In such a case, a device area # 2 is created in order to efficiently load / unload a file recorded in an unrecorded area up to the PEOT. In step 2, load / unload is performed. The process for creating the device area # 2 will be described later. When the device area # 2 is formed in this manner, for example, even when the file # 5 and the file # 6 are recorded, loading / unloading is performed by the device area # 2 formed at a position closer to the device area # 1. By performing the operation, the average access time to each file can be reduced, and an efficient access operation can be realized.

【0113】磁気テープ40aにデバイスエリア#1、
デバイスエリア#2の双方が形成された場合、その識別
方法としては、エリアIDの検出が挙げられる。磁気テ
ープ40aのロード時にエリアIDに記録されている情
報を読み込むことで、デバイスエリア#1またはデバイ
スエリア#2のいずれかでロードされたかを判別するこ
とができるので、アンロードの要求があった場合、検出
されたエリアIDに対応したいずれかのデバイスエリア
に移動して、アンロード動作に移行すればよい。また、
ロード/アンロードエリアLUAでロードされた場合
も、エリアIDに基づいて磁気テープ40a上における
位置を把握することができる。また、デバイスエリア#
1でロードされた後、ファイルの記録中にデバイスエリ
ア#2を形成した場合、テープドライブ部4ではデバイ
スエリア#2の作成動作を実行したことを把握している
ので、例えば記録が終了した後にアンロード要求があっ
た場合、デバイスエリア#2に移動してアンロード動作
を実行することができる。
The device area # 1,
When both of the device areas # 2 are formed, an identification method thereof includes detection of an area ID. By reading the information recorded in the area ID when the magnetic tape 40a is loaded, it is possible to determine whether the data was loaded in the device area # 1 or the device area # 2. In this case, it is sufficient to move to any device area corresponding to the detected area ID and shift to the unload operation. Also,
Even when the data is loaded in the load / unload area LUA, the position on the magnetic tape 40a can be grasped based on the area ID. Also, device area #
If the device area # 2 is formed during the recording of the file after the file is loaded in step 1, the tape drive unit 4 knows that the operation of creating the device area # 2 has been executed. When there is an unload request, it is possible to move to the device area # 2 and execute the unload operation.

【0114】デバイスエリア#2、ロード/アンロード
エリアLUAを用いてロード/アンロードを行う場合の
一例を、図38(a)(b)、図39(a)(b)で説
明する。図38(a)は例えば図37(b)に示した磁
気テープ40aの記録状態に対応しており、デバイスエ
リア#2によってロード/アンロード動作を行う状態を
示している。また、図38(b)は、例えばテープカセ
ット#Rに収納されている磁気テープ40rとして、コ
ンピュータ装置41から転送されたデータとしてはファ
イル#34のみが記録されている記録状態を示してい
る。
An example of loading / unloading using the device area # 2 and the load / unload area LUA will be described with reference to FIGS. 38 (a), (b) and 39 (a), (b). FIG. 38 (a) corresponds to, for example, the recording state of the magnetic tape 40a shown in FIG. 37 (b), and shows a state where the load / unload operation is performed by the device area # 2. FIG. 38B shows a recording state in which only the file # 34 is recorded as data transferred from the computer device 41, for example, as the magnetic tape 40r stored in the tape cassette #R.

【0115】例えば、テープドライブ部4において磁気
テープ40aのファイル#1の再生を行い、現在回転ド
ラム24がファイル#1が記録されている領域に対応し
ている状態で、コンピュータ装置41からファイル#3
4を再生するコマンドが供給された場合を想定する。こ
の場合、テープドライブ部4は磁気テープ40aのファ
イル#1からデバイスエリア#2に移動した後に、アン
ロード動作に移行してテープカセット#Aの排出を行
う。そして、チェンジャ部5によって搬送されたテープ
カセット#Rを装填する。ここで、磁気テープ40rが
例えば図38(b)に示されているような記録状態であ
った場合、前回ロード/アンロードエリアLUAでアン
ロードされているので、テープドライブ部4にテープカ
セット#Rが装填された時点でロード/アンロードエリ
アLUAが回転ヘッド24に対応するようになる。した
がって、テープドライブ部4ではロード/アンロードエ
リアLUAに対してローディング動作を実行することに
なる。そしてローディング動作が完了した時点でファイ
ル34が記録されている記録位置に移動する。
For example, the file # 1 of the magnetic tape 40a is reproduced in the tape drive section 4, and the computer 41 transmits the file # 1 while the rotating drum 24 corresponds to the area where the file # 1 is currently recorded. 3
Assume that a command for reproducing No. 4 is supplied. In this case, after moving from the file # 1 of the magnetic tape 40a to the device area # 2, the tape drive unit 4 shifts to the unload operation and discharges the tape cassette #A. Then, the tape cassette #R conveyed by the changer unit 5 is loaded. Here, when the magnetic tape 40r is in the recording state as shown in FIG. 38B, for example, it has been unloaded in the previous load / unload area LUA, so that the tape cassette # When R is loaded, the load / unload area LUA corresponds to the rotary head 24. Therefore, the tape drive unit 4 executes a loading operation on the load / unload area LUA. Then, when the loading operation is completed, it moves to the recording position where the file 34 is recorded.

【0116】また、磁気テープ40rに図39(b)に
示されているように、デバイスエリア#2が形成された
場合に、ファイル#6からファイル#38に移動する場
合は次のようになる。この場合、テープドライブ部4は
図39(a)に示されているように磁気テープ40aの
ファイル#6からデバイスエリア#2に移動した後に、
アンロード動作に移行してテープカセット#Aを排出し
て、チェンジャ部5によって搬送されたテープカセット
#Rを装填することになる。ここで、磁気テープ40r
が例えば図39(b)に示されているような記録状態で
あった場合、前回デバイスエリア#2でアンロードされ
ているので、テープカセット#Rの装填時においてデバ
イスエリア#2が回転ヘッド24に対応することにな
る。したがって、テープドライブ部4ではロード/アン
ロードエリアLUAに対してローディング動作を実行す
ることになる。そしてローディング動作が完了した時点
でファイル#38が記録されている記録位置に移動す
る。
As shown in FIG. 39 (b), when the device area # 2 is formed on the magnetic tape 40r, when moving from the file # 6 to the file # 38, the following is performed. . In this case, the tape drive unit 4 moves from the file # 6 of the magnetic tape 40a to the device area # 2 as shown in FIG.
The operation proceeds to the unload operation, and the tape cassette #A is ejected, and the tape cassette #R conveyed by the changer unit 5 is loaded. Here, the magnetic tape 40r
39 is in the recording state as shown in FIG. 39 (b), for example, since it has been unloaded in the device area # 2 last time, the device area # 2 is set in the rotating head 24 when the tape cassette #R is loaded. Will correspond. Therefore, the tape drive unit 4 executes a loading operation on the load / unload area LUA. Then, when the loading operation is completed, it moves to the recording position where the file # 38 is recorded.

【0117】4−2.デバイスエリア#1でのロード/
アンロード 1本の磁気テープ40aにおいて記録可能領域の端部が
中央部分に到達していない場合において、必ずしもEO
Dエリアの後となるロード/アンロードエリアLUAに
おいてロード/アンロードを行わなくてもよい。例え
ば、図40(a)に示されているように、ファイル#
1、ファイル#2が記録された状態で、記録可能領域の
端部が中央部分に到達していない場合、ロード/アンロ
ードはデバイスエリア#1を用いて行うことも可能であ
る。この場合テープドライブ部4に、テープカセット#
Aが装填された時点で、デバイスエリア#1が回転ヘッ
ド24に対応する。そして、ファイルの再生などが行わ
れ、デバイスエリア#2が形成されていない状態でアン
ロード要求があった場合、デバイスエリア#1に戻って
アンロード動作に移行する。そして、ファイル#3、フ
ァイル#4を記録していくことにより、記録可能領域の
端部が中央部分に到達した場合は、図40(b)に示さ
れているようにデバイスエリア#2を作成して、以降、
デバイスエリア#2でロード/アンロード動作を行うよ
うにする。
4-2. Loading in device area # 1 /
Unloading When the end of the recordable area of one magnetic tape 40a does not reach the center, the EO is not necessarily
The loading / unloading need not be performed in the loading / unloading area LUA after the D area. For example, as shown in FIG.
1. When the end of the recordable area does not reach the center in the state where the file # 2 is recorded, loading / unloading can be performed using the device area # 1. In this case, a tape cassette #
When A is loaded, the device area # 1 corresponds to the rotary head 24. Then, when a file is reproduced or the like and an unload request is made in a state where the device area # 2 is not formed, the process returns to the device area # 1 and shifts to an unload operation. By recording the file # 3 and the file # 4, when the end of the recordable area reaches the center, the device area # 2 is created as shown in FIG. Then,
The load / unload operation is performed in the device area # 2.

【0118】デバイスエリア#2が形成されている磁気
テープ40aから、デバイスエリア#2が形成されてい
ない磁気テープ40rに移動する遷移を図41(a)
(b)で説明する。テープドライブ部4において例えば
磁気テープ40aの現在位置がファイル#1であった場
合、例えばコンピュータ装置41から磁気テープ40r
のファイル#34を再生する要求を受けると、テープド
ライブ部4は磁気テープ40aのデバイスエリア#2に
移動してアンロード動作に移行して、テープカセット#
Aを排出する。そしてチェンジャ部5によってテープカ
セット#Rが装填されると、デバイスエリア#1で磁気
テープ40rをロードして、ファイル#35が記録され
ている位置に移動する。
The transition from the magnetic tape 40a having the device area # 2 formed to the magnetic tape 40r having no device area # 2 is shown in FIG.
This will be described in (b). For example, when the current position of the magnetic tape 40a is the file # 1 in the tape drive unit 4, for example, the computer device 41 sends the magnetic tape 40r
When the tape drive unit 4 receives the request for reproducing the file # 34 of the tape cassette #a, the tape drive unit 4 moves to the device area # 2 of the magnetic tape 40a and shifts to the unload operation, and
Discharge A. Then, when the tape cassette #R is loaded by the changer unit 5, the magnetic tape 40r is loaded in the device area # 1, and moves to the position where the file # 35 is recorded.

【0119】4−3.ロード/アンロードの工程 図42は、EODエリアの後とされるロード/アンロー
ドエリアLUAにおいてロード/アンロードを行う場合
の、データストレージ装置1の制御部11における処理
工程の一例を説明するフローチャートである。なお、以
下に示す磁気テープ40とは、磁気テープ40a〜40
tの中のいずれか1本の磁気テープを示している。例え
ばコンピュータ装置41から、ファイルに対する再生要
求を受けたか否かの判別を行い(S1001)、アクセ
ス要求を受けたと判別した場合は、ファイルインフォメ
ーションテーブルE2などを参照してアクセスするファ
イルの記録位置を検索する(S1002)。そして、現
在テープドライブ部4にテープカセットが装填されてい
る場合に、所望するファイルの再生を行う場合にテープ
カセットの交換が必要か否かの判別を行い(S100
3)、交換が必要であると判別した場合は、現在ロード
されている磁気テープ40にデバイスエリア#2が作成
されているか否かの判別を行う(S1004)。この判
別は、磁気テープ40がロードされたときに読み込んだ
エリアIDなどの情報によって行われ、デバイスエリア
#2でロードされた場合は、デバイスエリア#2が作成
されているものとする。
4-3. Loading / Unloading Process FIG. 42 is a flowchart illustrating an example of a processing process in the control unit 11 of the data storage device 1 when loading / unloading is performed in the load / unload area LUA that is located after the EOD area. It is. In addition, the magnetic tapes 40 shown below are magnetic tapes 40a to 40a.
One of the magnetic tapes in t is shown. For example, it is determined whether a reproduction request for a file has been received from the computer device 41 (S1001). If it is determined that an access request has been received, the file information table E2 or the like is searched for the recording position of the file to be accessed. (S1002). Then, when a tape cassette is currently loaded in the tape drive unit 4, it is determined whether or not the tape cassette needs to be replaced when a desired file is reproduced (S100).
3) If it is determined that replacement is necessary, it is determined whether a device area # 2 has been created on the currently loaded magnetic tape 40 (S1004). This determination is made based on information such as the area ID read when the magnetic tape 40 is loaded, and when loaded in the device area # 2, it is assumed that the device area # 2 has been created.

【0120】そして、デバイスエリア#2が作成されて
いると判別した場合は、デバイスエリア#2に移動して
磁気テープ40をアンロードする(S1005)。ま
た、ステップS1004においてデバイスエリア#2が
作成されていないと判別した場合は、ロード/アンロー
ドエリアLUAに移動してアンロードする(S100
6)。磁気テープ40をアンロードすると、テープドラ
イブ部4はテープカセットを排出し、チェンジャ部5に
よって搬送されたテープカセットを装填して(S100
7)、装填されたテープカセットの磁気テープ40をロ
ードする(S1008)。この場合、ステップS100
7では磁気テープ40が前回アンロードされた領域でロ
ードされることになる。このとき、磁気テープ40に記
録されている例えばエリアIDの検出を行い、ロードさ
れた領域の識別を行う(S1009)。つまり、ステッ
プS1009でロードされた磁気テープ40は、ステッ
プS1009で検出されたエリアIDに対応した領域で
アンロードすることができるようになる。そして、アク
セス要求に対応したファイルの記録位置に移動して、デ
ータの読み出しを開始する(S1010)。
When it is determined that the device area # 2 has been created, the process moves to the device area # 2 and unloads the magnetic tape 40 (S1005). If it is determined in step S1004 that the device area # 2 has not been created, it is moved to the load / unload area LUA and unloaded (S100).
6). When the magnetic tape 40 is unloaded, the tape drive unit 4 ejects the tape cassette, and loads the tape cassette transported by the changer unit 5 (S100).
7) The magnetic tape 40 of the loaded tape cassette is loaded (S1008). In this case, step S100
At 7, the magnetic tape 40 is loaded in the previously unloaded area. At this time, for example, an area ID recorded on the magnetic tape 40 is detected, and the loaded area is identified (S1009). That is, the magnetic tape 40 loaded in step S1009 can be unloaded in an area corresponding to the area ID detected in step S1009. Then, it moves to the recording position of the file corresponding to the access request, and starts reading data (S1010).

【0121】また、ステップS1003においてテープ
カセットの交換が必要ではないと判別した場合もステッ
プS1010に進み、同じ磁気テープ40内におけるア
クセス要求に対応したファイルの記録位置に移動して、
データの読み出しを開始する。なお、例えば図41で説
明したように、デバイスエリア#2を作成するまでの
間、デバイスエリア#1でアンロード動作を行う場合
は、この図に示すステップS1006においてデバイス
エリア#1に移動するようにすればよい。
If it is determined in step S1003 that the tape cassette need not be replaced, the flow advances to step S1010 to move to the recording position of the file corresponding to the access request in the same magnetic tape 40, and
Start reading data. For example, as described with reference to FIG. 41, when the unload operation is performed in the device area # 1 until the device area # 2 is created, the process moves to the device area # 1 in step S1006 illustrated in FIG. What should I do?

【0122】4−4.つなぎデータ 磁気テープ40(a〜t)において、上記デバイスエリ
ア#2は、例えば記録可能領域の端部が中央部分とされ
るディビジョン#200の先頭で作成されるので、デバ
イスエリア#2がファイルのデータを中断する形で記録
されることが考えられる。この場合、デバイスエリア#
2を作成しているときは、例えばコンピュータ装置41
から転送されるファイルデータの記録が一時中断される
ことになる。そこで、デバイスエリア#2を作成してい
る間は、ハードディスク部4のつなぎデータエリアE5
に、所要のつなぎデータを記録しておくようにする。
4-4. In the connection data magnetic tape 40 (at), the device area # 2 is created at the beginning of the division # 200 where the end of the recordable area is the center, for example. It is conceivable that the data is recorded in a form that interrupts the data. In this case, device area #
2 is created, for example, the computer device 41
The recording of the file data transferred from is temporarily suspended. Therefore, while the device area # 2 is being created, the connection data area E5
Then, necessary connection data is recorded.

【0123】図43はコンピュータ装置41から転送さ
れるの記録を行っていく場合に、デバイスエリア#2を
作成する場合のデータの流れを説明する模式図である。
コンピュータ装置41から経路K11で示されているよ
うにファイル#4のデータが転送されると、まずバッフ
ァエリアE1に格納される。そしてバッファエリアE1
にディビジョン単位のデータが格納された時点で、順次
バッファエリアE1から読み出されて磁気テープ40
(磁気テープ40a〜40tの中のいずれか)に記録さ
れていく。ここで、磁気テープ40における記録位置が
ディビジョン#200の先頭に到達したと判別した場合
は、テープドライブ部4はデバイスエリア#2を作成す
るようにする。このとき、磁気テープ40に対するファ
イル#4の記録は中断するが、バッファエリアE1にお
いてはバッファリングが継続されており、デバイスエリ
ア#2の作成が終了した後に、経路K12に示されてい
るように引き続きファイル#4のデータを磁気テープ4
0に記録していく。
FIG. 43 is a schematic diagram for explaining the flow of data when creating the device area # 2 when recording the data transferred from the computer device 41.
When the data of the file # 4 is transferred from the computer device 41 as indicated by the path K11, the data is first stored in the buffer area E1. And the buffer area E1
When the data in division units is stored in the magnetic tape 40, the data is sequentially read from the buffer area E1.
(One of the magnetic tapes 40a to 40t). Here, when it is determined that the recording position on the magnetic tape 40 has reached the beginning of the division # 200, the tape drive unit 4 creates the device area # 2. At this time, the recording of the file # 4 on the magnetic tape 40 is interrupted, but the buffering is continued in the buffer area E1, and after the creation of the device area # 2 is completed, as shown in the path K12. Continue to transfer the data of file # 4 to magnetic tape 4.
Record to zero.

【0124】つまり、バッファエリアE1から磁気テー
プ40へのデータ(D1、D2、D3)の転送遷移、お
よび磁気テープ40への記録動作を説明すると、バッフ
ァエリアE1からデータD1をテープドライブ部4に転
送して磁気テープ40に記録し、デバイスエリア#2を
作成しているときは、バッファエリアE1からテープド
ライブ部4へのデータ転送を一旦停止し、コンピュータ
装置41から転送されるデータのバッファリングのみを
行う。そしてデバイスエリア#2を作成し終わった時点
で、その間にバッファエリアE1に格納されたデータD
2、D3をテープドライブ部4に転送して磁気テープ4
0に記録する。
That is, the transfer transition of the data (D1, D2, D3) from the buffer area E1 to the magnetic tape 40 and the recording operation on the magnetic tape 40 will be described. The data D1 is transferred from the buffer area E1 to the tape drive unit 4. When the data is transferred and recorded on the magnetic tape 40 to create the device area # 2, the data transfer from the buffer area E1 to the tape drive unit 4 is temporarily stopped, and the data transferred from the computer device 41 is buffered. Do only. When the creation of the device area # 2 is completed, the data D stored in the buffer area E1 during that time.
2 and D3 are transferred to the tape drive unit 4 so that the magnetic tape 4
Record at 0.

【0125】このようにして、ファイル#4のデータを
全て磁気テープ40に記録することができるが、本来連
続したものとされるデータD1、D2、D3はデバイス
エリア#2によって分断されるようになる。したがっ
て、このファイル#4の再生時に、ファイル#4のデー
タを全て磁気テープ40から読み出して、バッファエリ
アE1に格納したデータをコンピュータ装置41に転送
する場合、磁気テープ40においてデバイスエリア#2
を走査している期間は、磁気テープ40からデータの読
み出しが途絶え、リアルタイム性を維持することが困難
になる。そこで、記録時において、デバイスエリア#2
を作成している期間に対応するデータD2をバッファエ
リアE1から読み出して、つなぎデータとしてつなぎデ
ータエリアE5に記録しておく。これにより、ファイル
#4の再生を行う場合は、図44の模式図に示されてい
るようになる。
In this manner, all the data of file # 4 can be recorded on magnetic tape 40, but data D1, D2, and D3, which are originally continuous, are separated by device area # 2. Become. Therefore, when reproducing all the data of the file # 4 from the magnetic tape 40 and transferring the data stored in the buffer area E1 to the computer 41 at the time of reproducing the file # 4, the device area # 2 of the magnetic tape 40 is read.
During the scanning period, the reading of data from the magnetic tape 40 is interrupted, and it is difficult to maintain real-time characteristics. Therefore, at the time of recording, device area # 2
Is read from the buffer area E1 and recorded as connection data in the connection data area E5. As a result, when the reproduction of the file # 4 is performed, the result is as shown in the schematic diagram of FIG.

【0126】磁気テープ40からデータの読み出しが開
始されると、読み出されたデータはバッファエリアE1
に格納されている。例えばデータD1が磁気テープから
読み出されると、経路K14に示すように順次バッファ
エリアE1格納されていく。そして経路K15に示され
ているように、バッファエリアE1に格納されたデータ
をコンピュータ装置41に転送していく。しかし、磁気
テープ40においてデバイスエリア#2を走査する期間
は、経路K16に示すようにつなぎデータエリアE5に
格納されているつなぎデータ(D2)を読み出してコン
ピュータ装置41に転送する。そして、デバイスエリア
#2を通過した後に、データD2の読み出しが開始さ
れ、バッファエリアE1に格納された時点から、経路K
17に示されているようにバッファエリアE1に格納さ
れたデータD3を読み出してコンピュータ装置41に転
送する。これにより、デバイスエリア#2を挟んで記録
されているファイルを磁気テープから読み出す場合で
も、コンピュータ装置41に転送するデータを途切れな
いようにすることができるので、再生データのリアルタ
イム性を維持することができるようになる。
When reading of data from the magnetic tape 40 is started, the read data is stored in the buffer area E1.
Is stored in For example, when the data D1 is read from the magnetic tape, it is sequentially stored in the buffer area E1 as shown in a path K14. Then, as shown in a path K15, the data stored in the buffer area E1 is transferred to the computer device 41. However, while scanning the device area # 2 on the magnetic tape 40, the connection data (D2) stored in the connection data area E5 is read out and transferred to the computer device 41 as shown by the path K16. Then, after passing through the device area # 2, the reading of the data D2 is started, and from the time when the data D2 is stored in the buffer area E1, the path K
As shown at 17, the data D3 stored in the buffer area E1 is read and transferred to the computer device 41. As a result, even when a file recorded across the device area # 2 is read from the magnetic tape, the data to be transferred to the computer device 41 can be kept uninterrupted, so that real-time reproduction data can be maintained. Will be able to

【0127】図45は、データストレージ装置1におい
て、つなぎデータを記録しながらファイルの記録を行う
場合の処理工程の一例を説明するフローチャートであ
る。なお、この図に示すフローチャートは、現在テープ
ドライブ部4に装填されている磁気テープ40に対して
記録を行う場合を例に挙げている。所要のテープカセッ
トをテープドライブ部4に装填した後に、磁気テープを
ロードして記録動作を開始すると(S1101)、バッ
ファエリアE1に対してバッファリングを開始して(S
1102)、バッファエリアE1に格納されたデータを
ディビジョン単位で磁気テープ40に記録していく(S
1103)。磁気テープ40に対して記録が開始される
と、これ以降はデバイスエリア#2が作成されているか
否かに基づいて(S1104)、処理工程が選択され
る。例えば、デバイスエリア#2が作成されていない場
合は、ステップS1105に進み、磁気テープ40の記
録位置が中央部分に到達したか否かの判別を行う。そし
て、中央部分に到達したと判別した場合は、磁気テープ
40にデバイスエリア#2を作成する(S1106)。
そして、コンピュータ装置41からのファイルの転送が
終わったか否かの判別を行う(S1107)。ここで、
ファイルの転送が終わっていないと判別した場合は、デ
バイスエリア#2を挟んで同一ファイルが記録されるよ
うになるので、つなぎデータエリアE5につなぎデータ
を記録する(S1108)。そして、ステップS110
3に戻りデータの記録を継続して行う。また、ステップ
S1107でファイルの転送が終わったと判別した場合
は、デバイスエリア#2を挟んで同一ファイルの記録が
行われないものとして、つなぎデータの記録を行わずに
記録動作を終了する(S1109)。
FIG. 45 is a flowchart for explaining an example of the processing steps in the case of recording a file while recording the connection data in the data storage device 1. It should be noted that the flowchart shown in this figure exemplifies a case where recording is performed on the magnetic tape 40 currently loaded in the tape drive unit 4. When the magnetic tape is loaded and the recording operation is started after the required tape cassette is loaded into the tape drive unit 4 (S1101), buffering is started for the buffer area E1 (S1101).
1102), the data stored in the buffer area E1 is recorded on the magnetic tape 40 in division units (S110).
1103). When recording on the magnetic tape 40 is started, a processing step is selected thereafter based on whether the device area # 2 has been created (S1104). For example, if the device area # 2 has not been created, the process advances to step S1105 to determine whether the recording position of the magnetic tape 40 has reached the center. If it is determined that the central area has been reached, a device area # 2 is created on the magnetic tape 40 (S1106).
Then, it is determined whether or not the transfer of the file from the computer device 41 has been completed (S1107). here,
If it is determined that the transfer of the file has not been completed, the same file is recorded across the device area # 2, so that the connection data is recorded in the connection data area E5 (S1108). Then, step S110
Returning to step 3, data recording is continued. If it is determined in step S1107 that the transfer of the file has been completed, it is determined that the same file is not to be recorded across the device area # 2, and the recording operation is terminated without recording the connection data (S1109). .

【0128】ステップS1104で、例えば、デバイス
エリア#2が作成されていると判別した場合は、コンピ
ュータ装置41からのファイルの転送が終わったか否か
の判別を行う(S1110)、ファイルの転送が終わっ
ていない場合はステップS1103に戻り記録動作を継
続して行う。またファイルの転送が終わったと判別した
場合は、ステップS1109に進み記録動作を終了す
る。
If it is determined in step S1104 that, for example, the device area # 2 has been created, it is determined whether or not the transfer of the file from the computer device 41 has been completed (S1110). If not, the process returns to step S1103 to continue the recording operation. If it is determined that the file transfer has been completed, the flow advances to step S1109 to end the recording operation.

【0129】図46は、データストレージ装置1におい
て、つなぎデータが記録されているファイルの再生を行
う場合の処理工程の一例を説明するフローチャートであ
る。所要のテープカセットをテープドライブ部4に装填
した後に、磁気テープ40をロードして再生動作を開始
すると(S1201)、磁気テープ40から読み出した
データをバッファエリアE1に格納していく(S120
2)。さらに、磁気テープ40から読み出したデータが
バッファエリアE1に十分格納されたか否かの判別を行
い(S1203)、十分なデータが格納されたと判別し
た場合は、バッファエリアE1に格納されたデータをコ
ンピュータ装置41に転送する(S1204)。
FIG. 46 is a flow chart for explaining an example of the processing steps when the data storage device 1 reproduces a file in which connection data is recorded. When the magnetic tape 40 is loaded and the reproducing operation is started after the required tape cassette is loaded in the tape drive unit 4 (S1201), the data read from the magnetic tape 40 is stored in the buffer area E1 (S120).
2). Further, it is determined whether or not the data read from the magnetic tape 40 has been sufficiently stored in the buffer area E1 (S1203). If it is determined that sufficient data has been stored, the data stored in the buffer area E1 is transferred to the computer. The data is transferred to the device 41 (S1204).

【0130】また、ステップS1203において、磁気
テープ40から読み出したデータがバッファエリアE1
に十分格納されていないと判別した場合は、ステップS
1207に進み、磁気テープ40に記録されているバッ
ファエリアE1へのバッファリングを継続して行ってい
く。そしてデバイスエリア#2が検出されたか否かの判
別を行い(S1208)、デバイスエリア#2を検出し
たと判別した場合は、デバイスエリア#2を早送りする
ようにして(S1209)、つなぎデータエリアE5か
ら、現在再生中のファイルに対応したつなぎデータを読
み出してコンピュータ装置41に転送する(S121
0)。また、ステップS1208でデバイスエリア#2
を検出していないと判別した場合は、ステップS120
8によってバッファエリアE1に格納されているデータ
をコンピュータ装置41に転送する(S1211)。
In step S1203, the data read from the magnetic tape 40 is stored in the buffer area E1.
If it is determined that the data is not sufficiently stored in the
Proceeding to 1207, buffering to the buffer area E1 recorded on the magnetic tape 40 is continued. Then, it is determined whether or not the device area # 2 has been detected (S1208). If it is determined that the device area # 2 has been detected, the device area # 2 is fast-forwarded (S1209), and the connection data area E5 , The connection data corresponding to the currently reproduced file is read and transferred to the computer device 41 (S121).
0). Also, in step S1208, device area # 2
If it is determined that is not detected, step S120
8, the data stored in the buffer area E1 is transferred to the computer device 41 (S1211).

【0131】そして、ステップS1204、S121
0、S1211においてコンピュータ装置41に対して
データの転送が開始されると、磁気テープ40からのデ
ータの読み出しが終わったか否かの判別を行い(S12
05)、ファイルの読み出しが終わったと判別した場合
は、バッファエリアE1に格納されたデータをコンピュ
ータ装置41に転送し終わった時点で再生動作を終了す
る(S1206)。またステップS1205でファイル
の読み出しが終わっていないと判別した場合は、ステッ
プS1203に戻り、再生動作を継続して行う。
Then, steps S1204, S121
0, when the data transfer to the computer device 41 is started in S1211, it is determined whether or not the reading of the data from the magnetic tape 40 is completed (S12).
05) If it is determined that the reading of the file has been completed, the reproduction operation ends when the data stored in the buffer area E1 has been transferred to the computer device 41 (S1206). If it is determined in step S1205 that the reading of the file has not been completed, the process returns to step S1203, and the reproducing operation is continuously performed.

【0132】このように、磁気テープ40における記録
済み領域の終端が、記録可能領域の中央部分に到達する
までは、例えばデバイスエリア#1またはロード/アン
ロードエリアLUAのいずれかによりロード/アンロー
ドを行い、また、前記記録可能領域の中央部分に到達し
た場合は、デバイスエリア#2を作成して、以降このデ
バイスエリア#2によってロード/アンロードを行うこ
とで、磁気テープ40の使用状況に基づいて、効率のよ
いロード/アンロードを行うことができるようになる。
これにより、磁気テープ40に記録されているファイル
に対する平均アクセス時間を短縮することができるよう
になり、アクセス要求を受けてからデータの読み出しを
開始するまでの動作を迅速に行うことができるようにな
る。
As described above, until the end of the recorded area on the magnetic tape 40 reaches the central portion of the recordable area, the loading / unloading is performed by, for example, either the device area # 1 or the load / unload area LUA. When the recording area reaches the center of the recordable area, a device area # 2 is created, and loading / unloading is performed by using the device area # 2. Based on this, efficient loading / unloading can be performed.
As a result, the average access time to the file recorded on the magnetic tape 40 can be reduced, and the operation from receiving an access request to starting reading data can be performed quickly. Become.

【0133】また、デバイスエリア#2を形成すること
により、記録されるファイルがデバイスエリア#2によ
って分断されて記録されているデータに対するアクセス
性が劣化することを考慮して、ハードディスク部4につ
なぎデータを記録しておくようにしている。これによ
り、デバイスエリア#2を走査することによりデータの
読み出しが途切れる場合に、つなぎデータを読み出して
コンピュータ装置41に転送することができる。したが
って、リアルタイム性を維持したデータ再生を実現する
ことができる。
Also, by forming the device area # 2, the file to be recorded is divided by the device area # 2, and the file is connected to the hard disk unit 4 in consideration of the deterioration of the accessibility to the recorded data. The data is recorded. Accordingly, when data reading is interrupted by scanning the device area # 2, the connection data can be read and transferred to the computer device 41. Therefore, it is possible to realize data reproduction while maintaining real-time properties.

【0134】なお、本実施の形態では、デバイスエリア
#2を作成する記録可能領域の所定の位置として、磁気
テープ40の例えば中央部分を例に挙げて説明したが、
デバイスエリア#2は必ずしも磁気テープ40の中央部
分に形成される必要はなく、例えばロード/アンロード
動作を効率よく行える位置に形成するようにされていれ
ばよい。
In the present embodiment, the predetermined position of the recordable area where the device area # 2 is created has been described by taking the center part of the magnetic tape 40 as an example.
The device area # 2 does not necessarily need to be formed in the central portion of the magnetic tape 40, but may be formed at a position where the load / unload operation can be performed efficiently.

【0135】5.BOFデータの最適化 磁気テープ40のロード位置からファイルの記録位置ま
での距離によってアクセス時間が異なるため、ファイル
個々に対するアクセス時間は異なったものとなる。した
がって、各ファイルに対応したBOFデータを形成する
場合、ロード位置の近くに配置されているファイルにつ
いては比較的小容量のBOFデータが形成されていれば
よいことになる。そこで、まず1本の磁気テープ(例え
ば磁気テープ40)においてBOFデータの最適化を図
る例について説明する。
[0135] 5. Optimization of BOF Data Since the access time varies depending on the distance from the loading position of the magnetic tape 40 to the recording position of the file, the access time for each file differs. Therefore, when forming BOF data corresponding to each file, it is sufficient that relatively small-capacity BOF data is formed for a file arranged near the load position. Therefore, first, an example will be described in which the BOF data is optimized for one magnetic tape (for example, the magnetic tape 40).

【0136】まず、図47、図48の模式図にしたが
い、デバイスエリア#1、#2からの距離に基づいてB
OFデータの容量を設定する一例を説明する。なお、以
下の説明においても、一例としてデバイスエリア#2は
磁気テープ40の中央部分に作成する例を挙げている。
図47(a)は、例えば磁気テープ40aにデバイスエ
リア#1のみが形成されている状態で、このデバイスエ
リア#1に続いて、ファイル#1、ファイル#2、ファ
イル#3が記録されている状態を示している。この場
合、テープドライブ部4に磁気テープ40aが収納され
ているテープカセット#Aが装填されると、上述したよ
うにデバイスエリア#1でローディング動作が行われ、
所要の再生コマンドに応じて各ファイル(#1〜#3)
にアクセスしていくことになる。この場合、図47
(b)に示されているように、BOFデータエリアE3
において各ファイル(#1〜#3)に対応したBOFデ
ータを形成する場合、その容量は固定サイズAとする。
つまり、記録済み領域の終端が記録可能領域の例えば中
央部分に至りデバイスエリア#2が形成されるまでは、
全て同じサイズでBOFデータを形成する。
First, according to the schematic diagrams of FIGS. 47 and 48, B is determined based on the distance from the device areas # 1 and # 2.
An example of setting the capacity of the OF data will be described. In the following description, an example in which the device area # 2 is created in the central portion of the magnetic tape 40 is also given as an example.
FIG. 47A shows a state in which, for example, only the device area # 1 is formed on the magnetic tape 40a, and the file # 1, the file # 2, and the file # 3 are recorded following the device area # 1. The state is shown. In this case, when the tape cassette #A containing the magnetic tape 40a is loaded in the tape drive unit 4, the loading operation is performed in the device area # 1 as described above,
Each file (# 1 to # 3) according to the required playback command
Will be accessed. In this case, FIG.
As shown in (b), the BOF data area E3
In the case of forming BOF data corresponding to each file (# 1 to # 3), the capacity is fixed size A.
That is, until the end of the recorded area reaches, for example, the center of the recordable area and the device area # 2 is formed.
BOF data are formed in the same size.

【0137】そして、図48(a)に示されているよう
にデバイスエリア#2が形成された後は、図48(b)
に示されているようにデバイスエリア#2が形成されて
いる位置からファイルが記録されている位置に応じて、
BOFデータの容量を変更していく。デバイスエリア#
2が作成される時点では、図47(b)に示したように
各ファイル(#1〜#3)に対応した固定サイズAのB
OFデータが形成が形成されているが、このような場合
デバイスエリア#2からの距離に応じてBOFデータの
一部を削除することができるようにする。図48(b)
に示す例では、デバイスエリア#2からファイル#1ま
では比較的長い距離があるものとしてファイル#1に対
応したBOFデータ#1は固定サイズAのままとする。
そしてファイル#1よりも近い位置に記録されているフ
ァイル#2に対応したBOFデータ#2は、ファイル#
2がファイル#1よりも短時間でアクセスできるので固
定サイズAよりも小さいサイズBとなるようにし、さら
にファイル#2よりも近い位置に記録されているファイ
ル#3に対応したBOFデータ#3は、ファイル#2よ
りも短時間でアクセスできるので固定サイズBよりも小
さいサイズCになるようにする。したがって、各BOF
データ(#1、#2、#3)の容量は、 BOFデータ#1 > BOFデータ#2 > BOF
データ#3 となる。
After the device area # 2 is formed as shown in FIG. 48 (a), FIG.
According to the position where the file is recorded from the position where the device area # 2 is formed as shown in FIG.
The size of the BOF data is changed. Device area #
At the time when the file No. 2 is created, as shown in FIG. 47 (b), a B of a fixed size A corresponding to each file (# 1 to # 3)
The OF data is formed. In such a case, a part of the BOF data can be deleted according to the distance from the device area # 2. FIG. 48 (b)
In the example shown in (1), it is assumed that there is a relatively long distance from the device area # 2 to the file # 1, and the BOF data # 1 corresponding to the file # 1 remains at the fixed size A.
The BOF data # 2 corresponding to the file # 2 recorded at a position closer to the file # 1 is the file # 2.
2 can be accessed in a shorter time than the file # 1, so that the size B is smaller than the fixed size A, and the BOF data # 3 corresponding to the file # 3 recorded at a position closer to the file # 2 is Since the file can be accessed in a shorter time than the file # 2, the size C is set to be smaller than the fixed size B. Therefore, each BOF
The capacity of the data (# 1, # 2, # 3) is as follows: BOF data # 1> BOF data # 2> BOF
Data # 3 is obtained.

【0138】また、デバイスエリア#2以降に記録され
るファイルに対応したBOFデータについては、デバイ
スエリア#2からの距離に基づいて予めそのサイズを設
定しておくようにする。これにより、例えばデバイスエ
リア#2の近い位置に記録されるファイル#4に対応し
たBOFデータ#4はサイズD、ファイル#4よりも遠
い位置に記録されているファイル#5に対応したBOF
データ#5はサイズE、さらに、ファイル#5よりも遠
い位置に記録されているファイル#6に対応したBOF
データ#6はサイズFとなるように形成することができ
るようになる。したがって、各BOFデータ(#4、#
5、#6)の容量は、 BOFデータ#4 < BOFデータ#5 < BOF
データ#6 となる。
The size of the BOF data corresponding to the file recorded after the device area # 2 is set in advance based on the distance from the device area # 2. Thus, for example, the BOF data # 4 corresponding to the file # 4 recorded at a position near the device area # 2 is the size D, and the BOF data corresponding to the file # 5 recorded at a position farther than the file # 4.
The data # 5 has a size E and a BOF corresponding to the file # 6 recorded at a position farther than the file # 5.
The data # 6 can be formed to have the size F. Therefore, each BOF data (# 4, #
5, # 6) is BOF data # 4 <BOF data # 5 <BOF
Data # 6 is obtained.

【0139】BOFデータの容量を決定する要因として
は、例えば図49に示されている動作に要する時間が挙
げられる。例えば、テープドライブ部4からテープカセ
ットを排出してチェンジャ部5の所定の位置への収納に
要する時間、チェンジャ部5から所望するテープカセッ
トを取り出しテープドライブ部4の装填に要する時間
は、各テープカセット毎においてほぼ一定とされてい
る。また、テープドライブ部4において磁気テープ40
をロードした後、データの読み出しを開始してからコン
ピュータ装置41に転送するための所要の量のデータを
用意する間での時間は、ほぼ一定とされる。しかし、テ
ープドライブ部4において例えば磁気テープ40のアン
ロード動作に要する時間は現在位置とデバイスエリア#
2(アンロードエリア)との距離に依存し、また、磁気
テープ40をロードして所望するファイルの記録位置ま
での移動に要する時間も、所望するファイルの位置とデ
バイスエリア#2(ロードエリア)との距離に依存する
ことになる。
A factor for determining the capacity of the BOF data is, for example, the time required for the operation shown in FIG. For example, the time required for ejecting the tape cassette from the tape drive unit 4 and storing the tape cassette in a predetermined position of the changer unit 5 and the time required for taking out the desired tape cassette from the changer unit 5 and loading the tape drive unit 4 are as follows. It is substantially constant for each cassette. In the tape drive unit 4, the magnetic tape 40
After the data is loaded, the time from the start of reading data to the preparation of a required amount of data to be transferred to the computer device 41 is substantially constant. However, for example, the time required for the unloading operation of the magnetic tape 40 in the tape drive unit 4 is determined by the current position and the device area #
2 (unload area), and the time required to load the magnetic tape 40 and move to the recording position of the desired file also depends on the position of the desired file and the device area # 2 (load area). Will depend on the distance.

【0140】このようなことを考慮して、BOFデータ
の容量をs(n)[MB]、デバイスエリア#2からの距
離をd(n)[m]、データ容量を決める係数をα、デー
タ容量を決める固定分をβとした場合、デバイスエリア
#2からの距離に応じたBOFデータの容量s[MB]は
s[MB]=β[MB]+α[MB/m]×d[m] ・・・
式(1)とすることができる。
In consideration of the above, the capacity of the BOF data is s (n) [MB], the distance from the device area # 2 is d (n) [m], the coefficient for determining the data capacity is α, and the data capacity is α. Assuming that the fixed amount that determines the capacity is β, the capacity s [MB] of the BOF data according to the distance from the device area # 2 is s [MB] = β [MB] + α [MB / m] × d [m]. ...
Equation (1) can be used.

【0141】なお、頭出しに要する時間t[s]は、チェ
ンジャ部5の搬送時間を一定値tx、時間を決めるため
の係数をtkとすると t[s]=一定値tx[sec]+係数tk[s/m]×d
[m] とすることができる。
The time t [s] required for cueing is represented by t [s] = constant value tx [sec] + coefficient, where the transport time of the changer unit 5 is a constant value tx and the coefficient for determining the time is tk. tk [s / m] x d
[m].

【0142】図50は、記録されているBOFデータ容
量の最適化、および最適なBOFデータ容量の設定を行
う処理工程の一例を示すフローチャートである。この図
に示されているフローチャートは、「3.データの保存
レベル」で説明したように、所要の条件に基づいてBO
Fデータの記録を行う場合に実行される工程とされる。
BOFデータを形成することとなった場合、まずデバイ
スエリア#2が形成されているか否かの判別を行い(S
1301)、デバイスエリア#2が形成されていないと
判別した場合は、BOFデータの容量を固定値Aに設定
して(S1302)、BOFデータエリアE4にBOF
データを記録する(S1303)。そして、前記ファイ
ルの記録に伴いデバイスエリア#2を作成したか否かの
判別を行い(S1304)、デバイスエリア#2を作成
したと判別した場合は、上記式1に基づいて、現在記録
されている全ファイルのBOFデータの最適な容量を求
めて、既に記録されているBOFデータにおいて、上記
式1で求めた容量との差分に相当するデータを消去する
(S1305)。このような処理工程(S1301〜S
1305)により、図48(b)に示したBOFデータ
#1、#2、#3が形成される。
FIG. 50 is a flowchart showing an example of processing steps for optimizing the recorded BOF data capacity and setting the optimum BOF data capacity. As described in “3. Data storage level”, the flowchart shown in FIG.
This is a step executed when recording F data.
When the BOF data is to be formed, it is first determined whether or not the device area # 2 has been formed (S2).
1301) If it is determined that the device area # 2 has not been formed, the BOF data capacity is set to the fixed value A (S1302), and the BOF data area E4 has the BOF data area.
The data is recorded (S1303). Then, it is determined whether or not the device area # 2 has been created in accordance with the recording of the file (S1304). If it is determined that the device area # 2 has been created, the currently recorded device area # 2 is determined based on Equation 1 above. The optimum capacity of the BOF data of all the existing files is obtained, and data corresponding to the difference from the capacity obtained by the above equation 1 in the already recorded BOF data is deleted (S1305). Such processing steps (S1301-S
1305), the BOF data # 1, # 2, and # 3 shown in FIG. 48B are formed.

【0143】また、ステップS1301において、すで
にデバイスエリア#2が作成されていると判別した場合
は、ファイルの記録位置に基づいて、上記式(1)を適
用してBOFデータの容量を設定する(S1306)。
これにより、図48(b)に示したBOFデータ#4、
#5、#6の容量が設定されていく。そして、ステップ
S1306で設定された容量によって、BOFデータエ
リアE4にBOFデータを記録する(S1307)。
If it is determined in step S1301 that the device area # 2 has already been created, the capacity of the BOF data is set by applying the above equation (1) based on the recording position of the file (step S1301). S1306).
As a result, the BOF data # 4 shown in FIG.
The capacities of # 5 and # 6 are set. Then, the BOF data is recorded in the BOF data area E4 according to the capacity set in step S1306 (S1307).

【0144】このように、デバイスエリア#2と記録さ
れているファイルの位置関係に基づいて、BOFデータ
の容量を最適化することで、BOFデータエリアE3に
おける記録容量を必要最低限とすることができるので、
ハードディスク部3の記録領域を効率よく使用すること
ができるようになる。また、デバイスエリア#2を作成
した後は、BOFデータを記録する際にその都度容量を
求めるようにしている。したがって、デバイスエリア#
2を作成する前に固定サイズでBOFデータを記録して
いた場合と比較して、短時間の処理で記録動作によるB
OFデータの記録を実現することができる。
As described above, by optimizing the capacity of the BOF data based on the positional relationship between the device area # 2 and the recorded file, the recording capacity in the BOF data area E3 can be minimized. So you can
The recording area of the hard disk unit 3 can be used efficiently. After the device area # 2 is created, the capacity is obtained each time BOF data is recorded. Therefore, device area #
2 compared to the case where BOF data was recorded in a fixed size before the creation of
Recording of OF data can be realized.

【0145】なお、本実施の形態では、デバイスエリア
#2を基準としてBOFデータの容量を設定する例を挙
げて説明したが、デバイスエリア#2を作成しないよう
にする場合には、デバイスエリア#1を基準にして、こ
のデバイスエリア#1からファイルまでの距離に基づい
てBOFデータの容量を設定するようにすればよい。
In the present embodiment, an example has been described in which the size of the BOF data is set based on the device area # 2. However, in the case where the device area # 2 is not created, the device area # 2 is set. 1, the capacity of the BOF data may be set based on the distance from the device area # 1 to the file.

【0146】ところで、データストレージ装置1では、
チェンジャ部5を備える複数のテープカセットを使用す
ることがでいるようにされている。したがって、各テー
プカセットに収納されている磁気テープ毎に対してBO
Fデータの最適化を図ることも可能である。例えば図5
1では、磁気テープ40aの記録状態がファイル#1〜
ファイル#6、磁気テープ40bの記録状態がファイル
#7〜ファイル#12、磁気テープ40cの記録状態が
ファイル#13〜ファイル#18とされている例を挙げ
ている。説明の便宜上これらのファイル全てに対してB
OFデータが形成され、上述したように1本の磁気テー
プ40においてBOFデータが最適化されている場合、
各ファイル(#1〜#18)に対応したBOFデータ
(#1〜#18)は、BOFデータエリアE3において
図52に示されているように記録される。
By the way, in the data storage device 1,
A plurality of tape cassettes having the changer unit 5 can be used. Therefore, BO for each magnetic tape stored in each tape cassette
It is also possible to optimize F data. For example, FIG.
1, the recording state of the magnetic tape 40a is changed to files # 1 to # 1.
In this example, the recording status of file # 6 and magnetic tape 40b is file # 7 to file # 12, and the recording status of magnetic tape 40c is file # 13 to file # 18. For convenience of explanation, B for all these files
When the OF data is formed and the BOF data is optimized on one magnetic tape 40 as described above,
The BOF data (# 1 to # 18) corresponding to each file (# 1 to # 18) is recorded in the BOF data area E3 as shown in FIG.

【0147】しかし、チェンジャ部5によってテープカ
セットの排出/装填を行う場合にも所要の時間を要する
ことになる。図53はテープドライブ部4とチェンジャ
部5の配置を模式的に示す図である。チェンジャ部5に
おいて各テープカセット#A〜#Tは所定の位置に収納
されるようにされている。したがって、チェンジャ部5
の搬送速度が一定とされている場合、図49で説明した
ようにテープカセット毎に、チェンジャ部5からテープ
ドライブ部4の搬送時間が異なることになる。つまり、
チェンジャ部5からテープカセット#Aが搬送されてテ
ープドライブ部4に装填されるまでの時間t1と、同じ
くチェンジャ部5からテープカセット#Tが搬送されて
テープドライブ部4に装填されるまでの時間t2では、
かなりの差がでる。
However, when the tape cassette is ejected / loaded by the changer unit 5, a required time is required. FIG. 53 is a diagram schematically showing the arrangement of the tape drive unit 4 and the changer unit 5. In the changer section 5, each of the tape cassettes #A to #T is stored at a predetermined position. Therefore, the changer section 5
When the transport speed is constant, the transport time from the changer unit 5 to the tape drive unit 4 differs for each tape cassette as described with reference to FIG. That is,
Time t1 from when the tape cassette #A is transported from the changer unit 5 to be loaded into the tape drive unit 4, and time between when the tape cassette #T is transported from the changer unit 5 and is loaded into the tape drive unit 4. At t2,
There is a considerable difference.

【0148】したがって、現在テープドライブ部4にテ
ープカセット#Aが装填されている場合に、テープカセ
ット#Bの磁気テープ40bに記録されているファイル
の再生を要求するコマンドを受けた場合と、テープカセ
ット#Tの磁気テープ40tに記録されているファイル
の再生を要求するコマンドを受けた場合とでは、所望す
るファイルにアクセスして再生を開始するまでに要する
時間が異なるものとなる。そこで、チェンジャ部5にお
けるテープカセットの収納位置とテープドライブ部4と
の距離に応じてBOFデータの容量を最適化すること
で、テープドライブ部4から遠い位置に収納されている
磁気テープ40からのデータの読み出し開始に比較的長
い時間を要する場合でも、読み出しが開始されるまでの
間、BOFデータをコンピュータ装置41に転送してお
くことができるようになる。
Therefore, when the tape drive # 4 is currently loaded with the tape cassette #A, a command requesting reproduction of a file recorded on the magnetic tape 40b of the tape cassette #B is received. The time required to access a desired file and start reproduction is different from the case where a command requesting reproduction of a file recorded on the magnetic tape 40t of the cassette #T is received. Therefore, by optimizing the capacity of the BOF data in accordance with the distance between the tape cassette storage position and the tape drive unit 4 in the changer unit 5, the magnetic tape 40 stored at a position far from the tape drive unit 4 can be used. Even when it takes a relatively long time to start reading data, BOF data can be transferred to the computer device 41 until reading is started.

【0149】図54は例えばチェンジャ部5に収納され
ているテープカセットの一部として、テープカセット#
A、#B、#Cに収納されている磁気テープ40a、4
0b、40cを例に挙げ、これら磁気テープ40a、4
0b、40cに記録されているファイルに対応したBO
Fデータ#1〜#18の容量を模式的に示す図である。
図54(a)に示されている磁気テープ40aのBOF
データ(#1〜#6)は、先に図52で説明した例と同
様の容量として示されているが、図54(b)に示され
ている磁気テープ40bのBOFデータ(#7〜#1
2)は、テープカセット#Bとテープドライブ部4との
距離を考慮して、BOFデータ(#1〜#6)よりも大
きい容量で記録する。さらに、図54(c)に示されて
いる磁気テープ40cのBOFデータ(#13〜#1
8)は、テープカセット#Cがテープドライブ部4に対
してテープカセット#Bよりも遠い位置に配置されてい
ることに対応して、BOFデータ(#7〜#12)より
も大きい容量で記録する。この場合、テープカセットの
搬送時間をγとするとBOFデータの容量は、 s[MB]=β[MB]+α[MB/m]×d[m]+γ ・・・ 式2 とすることができる。すなわち、図50で説明したフロ
ーチャートのステップS1305、およびステップS1
306において上記式2によってBOFデータの容量を
求めればよい。
FIG. 54 shows a tape cassette # as a part of the tape cassette housed in the changer section 5, for example.
A, #B, magnetic tapes 40a stored in #C, #C
0b and 40c as examples, these magnetic tapes 40a and 4c
0b, BO corresponding to the file recorded in 40c
It is a figure which shows the capacity | capacitance of F data # 1- # 18 typically.
BOF of the magnetic tape 40a shown in FIG.
The data (# 1 to # 6) are shown as having the same capacity as the example described above with reference to FIG. 52, but the BOF data (# 7 to # 6) of the magnetic tape 40b shown in FIG. 1
2) Recording is performed with a larger capacity than the BOF data (# 1 to # 6) in consideration of the distance between the tape cassette #B and the tape drive unit 4. Further, the BOF data (# 13 to # 1) of the magnetic tape 40c shown in FIG.
8) corresponds to the fact that the tape cassette #C is located at a position farther than the tape cassette #B with respect to the tape drive unit 4, and is recorded with a larger capacity than the BOF data (# 7 to # 12). I do. In this case, assuming that the transport time of the tape cassette is γ, the capacity of the BOF data can be expressed as follows: s [MB] = β [MB] + α [MB / m] × d [m] + γ (2) That is, step S1305 and step S1 of the flowchart described with reference to FIG.
In 306, the capacity of the BOF data may be obtained by the above equation (2).

【0150】このように、各テープカセット(#A〜#
T)毎に異なる搬送時間に対応した容量でBOFデータ
を記録しておくことで、チェンジャ部5によるテープカ
セットの搬送に長い時間を要する場合でも、その時間内
においてコンピュータ装置41に対してデータの転送を
途切れさせないようにすることができる。
As described above, each tape cassette (#A to #A)
By recording the BOF data with a capacity corresponding to a different transport time for each T), even if the transport of the tape cassette by the changer unit 5 takes a long time, the data is transmitted to the computer device 41 within that time. Transfers can be kept from being interrupted.

【0151】[0151]

【発明の効果】以上、説明したように本発明の記録再生
装置は、以下に示すような効果を奏する。請求項1の記
録再生装置は、チェンジャ手段によるテープカセットの
搬送時間と、磁気テープに作成されているロード/アン
ロード領域とファイルの距離に基づいて、頭出しデータ
の容量を求めるようにしている。したがって、再生する
ファイルが磁気テープ上において前記ロード/アンロー
ド領域から遠い位置に記録され、さらにテープカセット
の搬送に時間を要する場合でも、その時間に対応した容
量の頭出しデータを記録しておくことができる。これに
より、再生時にテープカセットの交換が必要とされ、チ
ェンジャ手段によるテープカセットの搬送時間が長く、
テープドライブ手段においてもファイルの記録位置まで
の移動に時間を要する場合でも、その間ファイルに対応
した頭出しデータを読み出すようにすることで、ファイ
ルに対するアクセス性を向上することができるととも
に、再生データを途切れないようにしてリアルタイム性
を維持することができるようになる。また、チェンジャ
手段による搬送時間が短く、磁気テープ上において前記
ロード/アンロード領域から近い位置に記録されている
ファイルについては、比較的小容量の頭出しデータを記
録しておくことができるので、ハードディスクドライブ
手段を効率よく使用することができる。さらに、頭出し
データの記録に関わる処理を短時間で行うことができる
ようになる。
As described above, the recording / reproducing apparatus of the present invention has the following effects. According to the first aspect of the present invention, the amount of the cue data is obtained based on the transport time of the tape cassette by the changer means and the distance between the load / unload area created on the magnetic tape and the file. . Therefore, even when a file to be reproduced is recorded on the magnetic tape at a position far from the load / unload area, and even when it takes time to transport the tape cassette, cueing data having a capacity corresponding to the time is recorded. be able to. As a result, the tape cassette needs to be replaced at the time of reproduction, and the transport time of the tape cassette by the changer means is long.
Even in the case where it takes time to move the file to the recording position even in the tape drive means, by reading the cue data corresponding to the file during that time, the accessibility to the file can be improved and the reproduction data can be reproduced. The real-time property can be maintained without interruption. Also, for a file recorded at a position near the load / unload area on the magnetic tape on which the transfer time by the changer means is short, cueing data having a relatively small capacity can be recorded. The hard disk drive means can be used efficiently. Further, processing relating to recording of cue data can be performed in a short time.

【0152】請求項2の記録再生装置は 磁気テープ上
の所定の位置に第二のロード/アンロード領域を作成し
た後は、この第二のロード/アンロード領域と、前記磁
気テープに記録されているファイルの距離に基づいて前
記頭出しデータの容量を求め、既に記録されている頭出
しデータとの差分に相当するデータを消去するようにし
ている。つまり、第二のロード/アンロード領域の近く
に記録され、ロード後のアクセス性が良いファイルに対
応した頭出しデータについては、その一部を消去するこ
とにより、必要最低限の頭出しデータを記録しておくこ
とができるようになる。したがって、ハードディスクド
ライブ手段の容量を効率よく使用することができるよう
になる。さらに、請求項3の記録再生装置は、第二のロ
ード/アンロード領域が作成された後は、この第二のロ
ード/アンロード領域とファイルの記録位置に基づい
て、予め容量を求めたうえで頭出しデータを記録するよ
うにしているので、ハードディスクドライブ手段の容量
を効率よく使用することができるようになる。
After the second load / unload area is created at a predetermined position on the magnetic tape, the recording / reproducing apparatus according to the second aspect records the second load / unload area and the data recorded on the magnetic tape. The size of the cue data is obtained based on the distance of the cue file, and the data corresponding to the difference from the cue data already recorded is deleted. In other words, with regard to the cue data recorded near the second load / unload area and corresponding to a file having good accessibility after loading, the minimum necessary cue data is deleted by deleting a part thereof. You will be able to keep a record. Therefore, the capacity of the hard disk drive can be used efficiently. Further, after the second load / unload area is created, the recording / reproducing apparatus according to the third aspect obtains a capacity in advance based on the second load / unload area and the recording position of the file. In this case, the cue data is recorded, so that the capacity of the hard disk drive can be used efficiently.

【0153】また、請求項4の記録再生装置は、前記頭
出しデータの容量を、前記磁気テープ上に作成されてい
るロード/アンロード領域とファイルの距離に基づいて
設定するようにしている。したがって、磁気テープをロ
ードしてからファイルの記録位置までの移動時間に対応
した容量の頭出しデータを記録しておくことができ、ロ
ード後に所望するファイルの記録位置に移動する間は、
そのファイルに対応した頭出しデータを読み出すように
することで、ファイルに対するアクセス性を向上するこ
とができる。
In the recording / reproducing apparatus according to the fourth aspect, the capacity of the cue data is set on the basis of the distance between the load / unload area created on the magnetic tape and the file. Therefore, it is possible to record the cue data of the capacity corresponding to the moving time from the loading of the magnetic tape to the recording position of the file, and during the movement to the recording position of the desired file after loading,
By reading the cue data corresponding to the file, the accessibility to the file can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の本実施の形態のデータストレージシス
テム全体を示す外観図である。
FIG. 1 is an external view showing an entire data storage system according to an embodiment of the present invention.

【図2】コンピュータ装置とデータストレージ装置の構
成例を説明するブロック図である。
FIG. 2 is a block diagram illustrating a configuration example of a computer device and a data storage device.

【図3】モニタ装置に表示されるウインドウの表示例を
説明する図である。
FIG. 3 is a diagram illustrating a display example of a window displayed on the monitor device.

【図4】データストレージ装置の構成例を説明するブロ
ック図である。
FIG. 4 is a block diagram illustrating a configuration example of a data storage device.

【図5】テープドライブ部の構成例を説明するブロック
図である。
FIG. 5 is a block diagram illustrating a configuration example of a tape drive unit.

【図6】コンピュータ装置から転送されるデータを磁気
テープに記録する場合のデータの流れを説明する模式図
である。
FIG. 6 is a schematic diagram illustrating a data flow when data transferred from a computer device is recorded on a magnetic tape.

【図7】磁気テープのレイアウトを説明する図である。FIG. 7 is a diagram illustrating a layout of a magnetic tape.

【図8】磁気テープに形成されるトラックのレイアウト
を説明する図である。
FIG. 8 is a diagram illustrating a layout of tracks formed on a magnetic tape.

【図9】IDエリアの説明図である。FIG. 9 is an explanatory diagram of an ID area.

【図10】チェンジャ部に配置される磁気テープのディ
ビジョンを説明する図である。
FIG. 10 is a diagram illustrating divisions of a magnetic tape arranged in a changer unit.

【図11】ディビジョンの構成例を説明する図である。FIG. 11 is a diagram illustrating a configuration example of a division.

【図12】ハードディスク部に形成される記録エリアの
一例を説明する図である。
FIG. 12 is a diagram illustrating an example of a recording area formed on a hard disk unit.

【図13】バッファエリアについて説明する図である。FIG. 13 is a diagram illustrating a buffer area.

【図14】ファイルインフォメーションテーブルについ
て説明する図である。
FIG. 14 is a diagram illustrating a file information table.

【図15】ディビジョンアクセスマップについて説明す
る図である。
FIG. 15 is a diagram illustrating a division access map.

【図16】磁気テープにおけるファイルの断片化につい
て説明する図である。
FIG. 16 is a diagram illustrating fragmentation of a file on a magnetic tape.

【図17】コンピュータ装置におけるドライバ部につい
て説明する図である。
FIG. 17 is a diagram illustrating a driver unit in a computer device.

【図18】クラスタのアドレスを説明する模式図であ
る。
FIG. 18 is a schematic diagram illustrating addresses of clusters.

【図19】コンピュータ装置におけるドライバ部につい
て説明する図である。
FIG. 19 is a diagram illustrating a driver unit in a computer device.

【図20】データの記録時にドライバ部からデータスト
レージ装置に出力されるコマンドの一例を説明する図で
ある。
FIG. 20 is a diagram illustrating an example of a command output from the driver unit to the data storage device when recording data.

【図21】データの再生時にドライバ部からデータスト
レージ装置に出力されるコマンドの一例を説明する図で
ある。
FIG. 21 is a diagram illustrating an example of a command output from the driver unit to the data storage device during data reproduction.

【図22】データの記録時にドライバ部からデータスト
レージ装置に出力されるコマンドの一例を説明する図で
ある。
FIG. 22 is a diagram illustrating an example of a command output from the driver unit to the data storage device when recording data.

【図23】データの記録を行う場合のコンピュータ装置
側の処理工程を説明するフローチャートを示す図であ
る。
FIG. 23 is a diagram illustrating a flowchart for describing processing steps on the computer device side when recording data.

【図24】データの再生を行う場合のコンピュータ装置
側の処理工程を説明するフローチャートを示す図であ
る。
FIG. 24 is a diagram illustrating a flowchart for describing processing steps on the computer device side when data is reproduced.

【図25】データの記録を行う場合のデータストレージ
側の処理工程を説明するフローチャートを示す図であ
る。
FIG. 25 is a flowchart illustrating a processing step on the data storage side when recording data.

【図26】データの再生を行う場合のデータストレージ
側の処理工程を説明するフローチャートを示す図であ
る。
FIG. 26 is a diagram illustrating a flowchart illustrating processing steps on the data storage side when data is reproduced.

【図27】データストレージ装置において記録を行う場
合のデータの流れを説明する模式図である。
FIG. 27 is a schematic diagram illustrating a flow of data when recording is performed in the data storage device.

【図28】データストレージ装置において再生を行う場
合のデータの流れを説明する模式図である。
FIG. 28 is a schematic diagram illustrating a flow of data when reproduction is performed in the data storage device.

【図29】保存レベルについて説明する図である。FIG. 29 is a diagram illustrating a storage level.

【図30】保存レベル更新(記録時)の一例を示すフロ
ーチャートを示す図である。
FIG. 30 is a diagram showing a flowchart showing an example of a storage level update (at the time of recording).

【図31】保存レベル更新(記録時)の一例を示すフロ
ーチャートを示す図である。
FIG. 31 is a diagram showing a flowchart illustrating an example of a storage level update (at the time of recording).

【図32】保存レベル更新(記録時)の一例を示すフロ
ーチャートを示す図である。
FIG. 32 is a diagram showing a flowchart illustrating an example of a storage level update (at the time of recording).

【図33】保存レベル更新(記録時)の一例を示すフロ
ーチャートを示す図である。
FIG. 33 is a diagram showing a flowchart illustrating an example of storage level updating (at the time of recording).

【図34】保存レベル更新(再生時)の一例を示すフロ
ーチャートを示す図である。
FIG. 34 is a diagram showing a flowchart showing an example of updating a storage level (at the time of reproduction).

【図35】保存レベル更新(消去時)の一例を示すフロ
ーチャートを示す図である。
FIG. 35 is a diagram showing a flowchart illustrating an example of a storage level update (at the time of erasure).

【図36】ファイルのライフサイクルについて説明する
図である。
FIG. 36 is a diagram illustrating a life cycle of a file.

【図37】磁気テープの記録状態とロード/アンロード
エリアについて説明する図である。
FIG. 37 is a diagram illustrating a recording state of a magnetic tape and a load / unload area.

【図38】ロード/アンロードエリアにおいてロード/
アンロード動作を行う場合の例を説明する図である。
FIG. 38: Load / unload in load / unload area
FIG. 9 is a diagram illustrating an example of a case where an unload operation is performed.

【図39】デバイスエリア#2においてロード/アンロ
ード動作を行う場合の例を説明する図である。
FIG. 39 is a diagram illustrating an example of a case where a load / unload operation is performed in device area # 2.

【図40】磁気テープの記録状態とEODエリアについ
て説明する図である。
FIG. 40 is a diagram illustrating a recording state of a magnetic tape and an EOD area.

【図41】EODエリアの後ろにおいてロード/アンロ
ード動作を行う場合の例を説明する図である。
FIG. 41 is a diagram illustrating an example of a case where a load / unload operation is performed behind an EOD area.

【図42】ロード/アンロード動作を行う場合の処理工
程の一例を説明する図である。
FIG. 42 is a diagram illustrating an example of a processing step when a load / unload operation is performed.

【図43】つなぎデータを作成する場合の例を説明する
模式図である。
FIG. 43 is a schematic diagram illustrating an example of a case where connection data is created.

【図44】再生時につなぎデータを用いる場合の例を説
明する模式図である。
FIG. 44 is a schematic diagram illustrating an example of a case where connection data is used during reproduction.

【図45】つなぎデータを作成する場合の処理工程の一
例を説明するフローチャートを示す図である。
FIG. 45 is a diagram illustrating a flowchart illustrating an example of a processing step when creating connection data;

【図46】再生時につなぎデータを用いる場合の処理工
程の一例を説明するフローチャートを示す図である。
FIG. 46 is a flowchart illustrating an example of a processing step in a case where connection data is used during reproduction.

【図47】磁気テープに記録されているファイルに対応
したBOFデータについて説明する模式図である。
FIG. 47 is a schematic diagram illustrating BOF data corresponding to a file recorded on a magnetic tape.

【図48】BOFデータを最適化する場合について説明
する模式図である。
FIG. 48 is a schematic diagram illustrating a case where BOF data is optimized.

【図49】BOFデータを最適化する場合の要因を示す
図である。
FIG. 49 is a diagram illustrating factors in optimizing BOF data.

【図50】BOFデータを記録する場合の処理工程を説
明するフローチャートを示す図である。
FIG. 50 is a diagram illustrating a flowchart for describing a processing step when BOF data is recorded.

【図51】複数の磁気テープに記録されているファイル
を示す模式図である。
FIG. 51 is a schematic diagram showing files recorded on a plurality of magnetic tapes.

【図52】図51に示した各ファイルに対応したBOF
データについて説明する図である。
FIG. 52 is a BOF corresponding to each file shown in FIG. 51;
FIG. 4 is a diagram illustrating data.

【図53】チェンジャ部とテープドライブ部の位置関
係、およびテープカセットの搬送時間を説明する模式図
である。
FIG. 53 is a schematic diagram illustrating a positional relationship between a changer unit and a tape drive unit, and a transport time of a tape cassette.

【図54】チェンジャ部の搬送時間に基づいてBOFデ
ータを最適化する場合について説明する模式図である。
FIG. 54 is a schematic diagram illustrating a case in which BOF data is optimized based on the transport time of a changer unit.

【符号の説明】[Explanation of symbols]

1 データストレージ装置、2 コントローラ部、3
ハードディスク部、4テープドライブ部、5 チェンジ
ャ部、6,9 I/F部、7 バッファコントローラ、
7a,7b ダイレクトメモリアクセス、8 I/Fバ
ッファ、11制御部、12 ROM、13 RAM、1
4 バス、20 I/F部、21コントローラ部、21
a ダイレクトメモリアクセス、21b シグナルプロ
セッサ、22 グループバッファ、23 RF処理部、
24 回転ドラム、25A,25B,25C 再生ヘッ
ド、26A,26B 記録ヘッド、27 メカコントロ
ーラ、28 サーボコントローラ、29 制御部、30
ROM、31 RAM、32 EEP−ROM、35
バス、40 磁気テープ、41 コンピュータ装置、
42 アプリケーション、43 ファイルシステム、4
4 ドライバ部、E1 バッファエリア、E2 ファイ
ルインフォメーションテーブル、E3ディビジョンアク
セスマップ、E4 BOFデータエリア、E5 つなぎ
データエリア
1 data storage device, 2 controller, 3
Hard disk, 4 tape drive, 5 changer, 6, 9 I / F, 7 buffer controller,
7a, 7b direct memory access, 8 I / F buffer, 11 control unit, 12 ROM, 13 RAM, 1
4 bus, 20 I / F section, 21 controller section, 21
a direct memory access, 21b signal processor, 22 group buffer, 23 RF processing unit,
24 rotating drum, 25A, 25B, 25C reproducing head, 26A, 26B recording head, 27 mechanical controller, 28 servo controller, 29 control unit, 30
ROM, 31 RAM, 32 EEP-ROM, 35
Bus, 40 magnetic tape, 41 computer device,
42 applications, 43 file systems, 4
4 Driver section, E1 buffer area, E2 file information table, E3 division access map, E4 BOF data area, E5 connection data area

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小幡 優子 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 利谷 暢久 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 5B065 BA01 BA07 CC03 ZA03 ZA04 5D044 BC01 CC03 CC09 DE32 DE34 DE40 5D077 AA01 AA22 AA38 BB18 CA02 CB04 DC12 EA33 EA34 HC05 HC28  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Yuko Obata 6-7-35 Kita-Shinagawa, Shinagawa-ku, Tokyo Inside Sony Corporation (72) Inventor Nobuhisa Toya 6-35, Kita-Shinagawa, Shinagawa-ku, Tokyo No. Sony Corporation F term (reference) 5B065 BA01 BA07 CC03 ZA03 ZA04 5D044 BC01 CC03 CC09 DE32 DE34 DE40 5D077 AA01 AA22 AA38 BB18 CA02 CB04 DC12 EA33 EA34 HC05 HC28

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 所定単位の記録領域が複数形成されてい
る磁気テープが収納されているテープカセットが複数配
置され、この複数のテープカセットを選択して搬送する
ことができるチェンジャ手段と、 前記チェンジャ手段によって搬送されたテープカセット
を装填し、前記テープカセットに収納されている磁気テ
ープに対して記録、再生を行うことができるテープドラ
イブ手段と、 少なくとも、前記テープドライブ手段においてデータの
記録または再生を行う場合のバッファ領域と、前記磁気
テープに記録されているファイルに対応し、該ファイル
の再生を行う場合の頭出しデータを記録する頭出しデー
タ領域を有しているハードディスクドライブ手段と、 前記チェンジャ手段によるテープカセットの搬送時間
と、前記磁気テープに作成されているロード/アンロー
ド領域とファイルの距離に基づいて、前記頭出しデータ
の容量を設定する頭出しデータ容量設定手段と、 を備えたことを特徴とする記録再生装置。
A plurality of tape cassettes accommodating magnetic tapes each having a plurality of recording areas formed in a predetermined unit, a changer means for selecting and transporting the plurality of tape cassettes; Tape drive means capable of loading a tape cassette conveyed by the means and recording and reproducing data on and from a magnetic tape stored in the tape cassette; and at least recording or reproducing data in the tape drive means. A hard disk drive means having a buffer area for performing the search, a cue data area corresponding to a file recorded on the magnetic tape, and cue data for recording the cue data when reproducing the file, Means for transporting the tape cassette by means and the A cueing data capacity setting means for setting the cueing data capacity based on the distance between the loaded load / unload area and the file.
【請求項2】 所定単位の記録領域が複数形成されてい
る磁気テープが収納されているテープカセットを装填
し、前記テープカセットに収納されている磁気テープに
対して記録、再生を行うことができるテープドライブ手
段と、 少なくとも、前記テープドライブ手段においてデータの
記録、再生を行う場合のバッファ領域と、前記磁気テー
プに記録されているファイルに対応し、該ファイルの再
生を行う場合の頭出しデータを記録する頭出しデータ領
域を有しているハードディスクドライブ手段と、 前記頭出しデータ領域に頭出しデータを所定の容量で記
録することができる頭出しデータ記録制御手段と、 前記磁気テープにおける記録済み領域の終端が、記録可
能領域の所定の位置に到達した場合、前記所定の位置に
第二のロード/アンロード領域を作成することができる
ロード/アンロード領域作成手段と、 前記磁気テープに形成されている第二のロード/アンロ
ード領域と、前記磁気テープに記録されているファイル
の距離に基づいて、前記頭出しデータの容量を求める頭
出しデータ容量設定手段と、 前記ロード/アンロード領域作成手段によって第二のロ
ード/アンロード領域が作成された場合に、既に記録さ
れている頭出しデータから、前記頭出しデータ容量設定
手段によって求められた容量との差分に相当するデータ
を消去するデータ消去手段と、 を備えたことを特徴とする記録再生装置。
2. A tape cassette containing a magnetic tape in which a plurality of recording areas of a predetermined unit are formed is loaded, and recording and reproduction can be performed on the magnetic tape contained in the tape cassette. Tape drive means, at least a buffer area for recording and reproducing data in the tape drive means, and a cue data for reproducing the file corresponding to a file recorded on the magnetic tape. A hard disk drive having a cue data area for recording; a cue data recording control means capable of recording cue data in the cue data area with a predetermined capacity; and a recorded area on the magnetic tape. When the end of the file reaches a predetermined position in the recordable area, the second load / unload is placed at the predetermined position. Load / unload area creating means capable of creating a read / write area; a second load / unload area formed on the magnetic tape; and a distance between files recorded on the magnetic tape. Cueing data capacity setting means for determining the size of the cueing data; and cueing data already recorded when a second load / unload area is created by the load / unload area creating means. A data erasing means for erasing data corresponding to a difference from the capacity obtained by the cueing data capacity setting means.
【請求項3】 頭出しデータ記録制御手段は、前記ロー
ド/アンロード領域作成手段によって第二のロード/ア
ンロード領域が作成された後に前記磁気テープに記録さ
れるファイルの頭出しデータは、頭出しデータ容量設定
手段によって求められた容量で記録するようにしたこと
を特徴とする請求項2に記載の記録再生装置。
3. The cueing data recording control means includes: cueing data of a file recorded on the magnetic tape after the second load / unload area is created by the load / unload area creating means; 3. The recording / reproducing apparatus according to claim 2, wherein recording is performed with the capacity determined by the output data capacity setting means.
【請求項4】 所定単位の記録領域が複数形成されてい
る磁気テープが収納されているテープカセットを装填
し、前記テープカセットに収納されている磁気テープに
対して記録、再生を行うことができるテープドライブ手
段と、 少なくとも、前記テープドライブ手段においてデータの
記録、再生を行う場合のバッファ領域と、前記磁気テー
プに記録されているファイルに対応し、該ファイルの再
生を行う場合の頭出しデータを記録する頭出しデータ領
域を有しているハードディスクドライブ手段と、 前記頭出しデータの容量を、前記磁気テープ上に作成さ
れているロード/アンロード領域とファイルの距離に基
づいて設定する頭出しデータ容量設定手段と、 を備えたことを特徴とする記録再生装置。
4. A tape cassette containing a magnetic tape in which a plurality of recording areas of a predetermined unit are formed is loaded, and recording and reproduction can be performed on the magnetic tape contained in the tape cassette. Tape drive means, at least a buffer area for recording and reproducing data in the tape drive means, and a cue data for reproducing the file corresponding to a file recorded on the magnetic tape. Hard disk drive means having a cue data area for recording; cue data for setting the capacity of the cue data based on a distance between a file and a load / unload area created on the magnetic tape; A recording / reproducing apparatus comprising: a capacity setting unit.
JP2000097930A 2000-03-30 2000-03-30 Recording / playback device Expired - Fee Related JP4244493B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000097930A JP4244493B2 (en) 2000-03-30 2000-03-30 Recording / playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000097930A JP4244493B2 (en) 2000-03-30 2000-03-30 Recording / playback device

Publications (2)

Publication Number Publication Date
JP2001283575A true JP2001283575A (en) 2001-10-12
JP4244493B2 JP4244493B2 (en) 2009-03-25

Family

ID=18612489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000097930A Expired - Fee Related JP4244493B2 (en) 2000-03-30 2000-03-30 Recording / playback device

Country Status (1)

Country Link
JP (1) JP4244493B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11768604B2 (en) 2021-11-15 2023-09-26 International Business Machines Corporation Reducing time to locate and read files within a tape medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11768604B2 (en) 2021-11-15 2023-09-26 International Business Machines Corporation Reducing time to locate and read files within a tape medium

Also Published As

Publication number Publication date
JP4244493B2 (en) 2009-03-25

Similar Documents

Publication Publication Date Title
US6778346B2 (en) Recording and reproducing apparatus and file managing method using the same
EP2317428B1 (en) Automatically linking partitions on a tape media device
JPH10289537A (en) Digital data recording method and digital data recording medium
JP2000048541A (en) Tape drive device
JP5618813B2 (en) Storage device, recording medium, and data long-term storage method
US7747144B2 (en) Information processing apparatus, information processing method, recording medium, control
JP6391061B2 (en) How to write a file on tape
JP2010152603A (en) Device and method for migrating data recorded in recording medium
KR19990088321A (en) Methods of copying, recording and editing data on the disk media and the disk recording apparatus
JP2006065999A (en) Magnetic tape control apparatus, and method and program therefor
US9236065B2 (en) Reclamation of data on tape cartridge
US7813248B2 (en) Method and apparatus for protecting data when a recording process has failed
JP4061727B2 (en) Tape drive device
JP4470270B2 (en) Recording / reproducing apparatus and file management method
JP4244493B2 (en) Recording / playback device
EP1035545A1 (en) Recording device and method, reproducing device and method, and recording medium
JP2001283563A (en) Recording and reproducing device
JP2001283574A (en) Recording and reproducing device
JPH09237474A (en) Tape cassette, digital data recorder and digital data reproducing device
JP4470471B2 (en) Recording / reproducing apparatus and method, and recording / reproducing system
US20070236817A1 (en) Magnetic-tape recording method, magnetic-tape recording apparatus, and computer system
JP2001282596A (en) Method and device for managing file
JP2001243107A (en) Av data recorder and its method, disk recored by av data recorder and the method
JP2001283573A (en) Recording device and recording method
KR100235123B1 (en) Digital data copying device using tape streamer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081120

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081216

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081229

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

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees