JP3078862B2 - High-speed positioning device for magnetic tape storage - Google Patents

High-speed positioning device for magnetic tape storage

Info

Publication number
JP3078862B2
JP3078862B2 JP03050931A JP5093191A JP3078862B2 JP 3078862 B2 JP3078862 B2 JP 3078862B2 JP 03050931 A JP03050931 A JP 03050931A JP 5093191 A JP5093191 A JP 5093191A JP 3078862 B2 JP3078862 B2 JP 3078862B2
Authority
JP
Japan
Prior art keywords
magnetic tape
tape
speed
positioning
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP03050931A
Other languages
Japanese (ja)
Other versions
JPH04286018A (en
Inventor
敏哉 中島
孝志 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Sony Corp
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd, Sony Corp filed Critical Fujitsu Ltd
Priority to JP03050931A priority Critical patent/JP3078862B2/en
Priority to EP19920302137 priority patent/EP0509637A3/en
Priority to US07/851,413 priority patent/US5384673A/en
Publication of JPH04286018A publication Critical patent/JPH04286018A/en
Priority to US08/318,353 priority patent/US5525902A/en
Application granted granted Critical
Publication of JP3078862B2 publication Critical patent/JP3078862B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、アクセス対象とする磁
気テープ上のデータブロックを高速テープ走行によりヘ
ッドに位置付ける磁気テープ記憶装置の高速位置付け
に関する。磁気テープ記憶装置では、記録されている
任意のデータブロック、またはテープマークに位置付け
る手段が幾つか用意されている。しかし、磁気テープは
その性質上、媒体の先頭から順に読み書きすることが必
要であり、媒体上の任意の位置に高速に位置付けること
が出来ない。
The present invention relates to a high-speed positioning instrumentation magnetic tape storage device to locate the data blocks on the magnetic tape to be accessed in the head by a high speed tape running
About the installation . In a magnetic tape storage device, there are provided some means for positioning at an arbitrary recorded data block or a tape mark. However, magnetic tapes need to be read and written sequentially from the beginning of the medium due to their properties, and cannot be positioned at an arbitrary position on the medium at high speed.

【0002】磁気テープ上の任意のデータブロックに位
置付けるためには、実際に媒体上のデータを読みながら
位置付ける必要があるため、通常の読み書きと同じ速度
でしか位置付け出来ない。従って、媒体上のデータが増
大すると、媒体上の最後の方にあるデータブロックに位
置付けるには膨大な時間がかかってしまう。記録密度の
向上により、1巻の媒体に書けるデータの量は今後さら
に増加していく事が予想されるため、高速な位置付けの
手段が必要である。
In order to locate an arbitrary data block on a magnetic tape, it is necessary to position the data while actually reading the data on the medium. Therefore, the positioning can be performed only at the same speed as ordinary reading and writing. Therefore, as the data on the medium increases, it takes an enormous amount of time to locate the data block at the end of the medium. With the improvement in recording density, the amount of data that can be written on one roll of medium is expected to further increase in the future, and a high-speed positioning means is required.

【0003】[0003]

【従来の技術】従来の磁気テープ記憶装置の高速位置付
装置は、そのいずれもが媒体上の物理的な位置情報に
よって高速な位置付けを行うものである。図16は従来
方式の一例を示したもので、磁気テープの物理位置をマ
シンリール100とファイルリール102との半径の比
(Rf/Rm)から求めるものである。即ち、磁気テー
プはファイルリール100からマシンリール102側に
巻き取られる。
2. Description of the Related Art Conventional high-speed positioning apparatuses for magnetic tape storage devices all perform high-speed positioning based on physical position information on a medium. FIG. 16 shows an example of a conventional system, in which the physical position of the magnetic tape is obtained from the ratio (Rf / Rm) of the radius between the machine reel 100 and the file reel 102. That is, the magnetic tape is wound from the file reel 100 to the machine reel 102 side.

【0004】そこで、ファイルリール100に巻いてあ
る磁気テープの半径Rfとマシンリール102側に巻き
取られた磁気テープの半径Rmとの比を一定の範囲の整
数で表すような方程式を用いて媒体上の物理的な位置と
し、この値によって大まかな高速位置付けを行い、その
後で通常の読み取りによって正確に位置付けるものであ
る。
Therefore, the medium is expressed by using an equation that expresses the ratio of the radius Rf of the magnetic tape wound on the file reel 100 to the radius Rm of the magnetic tape wound on the machine reel 102 by an integer within a certain range. With the above physical position, rough high-speed positioning is performed based on this value, and then accurate positioning is performed by ordinary reading.

【0005】また図16の方式を更に精密にしたものと
して、図17に示すように磁気テープ上のデータ記録ト
ラック110に加えて制御トラック104を設けたもの
がある。この方式では磁気テープ上にデータ記録用ヘッ
ド106とは別に制御用ヘッド108を設けている。制
御用ヘッド108によって書かれる制御トラック104
には、一定距離毎に+1ずつ増加する値が書き込まれ
る。また制御トラック104は通常の読み書きより高速
に読み取れるように記録周波数が変えてある。
As a further refinement of the system of FIG. 16, there is a system in which a control track 104 is provided in addition to a data recording track 110 on a magnetic tape as shown in FIG. In this method, a control head 108 is provided on a magnetic tape in addition to the data recording head 106. Control track 104 written by control head 108
Is written in the field at a value that increases by +1 at every fixed distance. The recording frequency of the control track 104 is changed so that the control track 104 can be read at a higher speed than normal reading / writing.

【0006】従って、制御トラック104の情報を高速
に読み取ることにより高速な位置付けを行うものであ
る。
Accordingly, high-speed positioning is performed by reading the information of the control track 104 at high speed.

【0007】[0007]

【発明が解決しようとする課題】しかし、このような従
来の高速位置付け装置には共通の欠点がある。この欠点
は実際に媒体上のデータブロックの物理的な位置を管理
する手段が無いことである。即ち、磁気テープ上の任意
のデータブロック、或い1又は複数のデータブロックで
構成されるデータファイルの終端に付けられるテープマ
ークに位置付けるためには、データブロック或いはテー
プマークの物理位置を記憶しておく必要がある。
However, such conventional high-speed positioning devices have common drawbacks. The drawback is that there is no way to actually manage the physical location of the data blocks on the media. That is, in order to locate a data block on a magnetic tape or a tape mark attached to the end of a data file composed of one or more data blocks, the physical position of the data block or the tape mark is stored. Need to be kept.

【0008】このようなデータブロック或いはテープマ
ークの物理位置の記憶はホストCPUの管理に頼らざる
を得ず、媒体が数10巻程度ならば良いが、数千巻、数
万巻に及ぶ現状では記憶場所の問題から実用的でない。
また磁気テープの特質上、媒体が交換可能であり、他の
CPUで書かれた媒体の物理位置を管理する手段は事実
上無く、従来の高速位置付け方式は殆ど使用されていな
いのが現状である。
[0008] Such storage of the physical position of the data block or tape mark must rely on the management of the host CPU, and it is sufficient if the medium has several tens of volumes. Not practical due to memory location issues.
Also, due to the nature of the magnetic tape, the medium can be exchanged, there is virtually no means for managing the physical position of the medium written by another CPU, and the conventional high-speed positioning method is hardly used at present. .

【0009】本発明は、このような従来の問題点に鑑み
てなされたもので、ホスト側に負担させることなく媒体
上の物理的位置の管理を適切に行って任意のデータブロ
ックへの高速位置付けを可能とする磁気テープ記憶装置
の高速位置付け装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of such a conventional problem, and appropriately manages a physical position on a medium without burdening a host, thereby quickly positioning an arbitrary data block. It is an object of the present invention to provide a high-speed positioning device for a magnetic tape storage device which enables the above.

【0010】[0010]

【課題を解決するための手段】図1は本発明の原理説明
図である。
1 SUMMARY OF THE INVENTION The Ru principle illustration der of the present invention.

【0011】[基本発明] まず本願による磁気テープ記憶装置の高速位置付け装置
の基本発明は、磁気テープ1上の位置情報と磁気テープ
1上のデータの区切り情報との対応テーブル2を作成し
て磁気テープ1上に書込むテーブル記録手段3を設け、
このテーブル2を参照して位置付け制御することを特徴
とする。
[Basic Invention] First, a high-speed positioning apparatus for a magnetic tape storage device according to the present application
The basic invention of the present invention relates to positional information on a magnetic tape 1 and a magnetic tape.
Creates a correspondence table 2 with data delimiter information on 1
Table recording means 3 for writing on the magnetic tape 1 by means of
It is characterized by positioning control with reference to this table 2.
And

【0012】[第1発明]本願の第1発明は、磁気テー
プ1上のデータブロック及びテープマーク6の論理番
号、該データブロック及びテープマーク6の磁気テープ
上の物理的な位置を示す物理番号、及び該データブロッ
クがテープマーク6であるか否かを示すフラグ情報を対
応づけた図1(b)のテーブル2を作成して磁気テープ
1上に書込むテーブル記録手段3を備える。
[First invention] A first invention of the present application is a logical number of a data block and a tape mark 6 on the magnetic tape 1 and a physical number indicating a physical position of the data block and the tape mark 6 on the magnetic tape. And table recording means 3 for creating the table 2 of FIG. 1B and associating it with flag information indicating whether or not the data block is a tape mark 6 and writing it on the magnetic tape 1.

【0013】また磁気テープ1上に記録された前記テー
ブル2を装置内に読み込むテーブル読込み手段4と、任
意の論理番号に対応するデータブロック又はテープマー
ク6に位置付けする際に、テーブル読込み手段4で装置
内に読込みまれたテーブル2を参照し、論理番号、テー
プマーク6又はフラグ情報から目的のデータブロック又
はテープマーク6の磁気テープ上の物理番号を得て、目
的のデータブロック又はテープマーク6まで高速に位置
付ける高速位置付け手段5とを備える。
The table reading means 4 for reading the table 2 recorded on the magnetic tape 1 into the apparatus and the table reading means 4 for positioning a data block or a tape mark 6 corresponding to an arbitrary logical number. With reference to the table 2 read into the apparatus, the physical number of the target data block or the tape mark 6 on the magnetic tape is obtained from the logical number, the tape mark 6 or the flag information, and up to the target data block or the tape mark 6. High-speed positioning means 5 for positioning at high speed.

【0014】ここで高速位置付け手段5は、目的のデー
タブロックの手前まで高速位置付けした後に通常速度に
切換えて目的ブロックに位置付ける。
Here, the high-speed positioning means 5 performs high-speed positioning up to a position just before the target data block, switches to normal speed, and positions the target data block.

【0015】[第2発明]また本願の第2発明は、1又
は複数のデータブロックで構成される磁気テープ1上の
データファイルの終端位置を示すテープマーク7の論理
番号と、テープマーク7の磁気テープ1上の物理的な位
置を示す物理番号とを対応づけた図1(c)に示すテー
ブルを作成して磁気テープ1上に書込むテーブル記録手
段2と、磁気テープ1上に記録されたテーブル2を装置
内に読み込むテーブル読込み手段4と、任意のデータブ
ロックに位置付ける際に、テーブル読込み手段4で読込
まれたテーブル2を参照して目的データブロックに最も
近いテープマーク7の論理番号に対応する磁気テープ1
上の物理番号を得てテープマーク7に位置付けた後、通
常速度に切替えて目的のデータブロックに位置付ける高
速位置付け手段5と設けたことを特徴とする。
[Second Invention] A second invention according to the present invention is directed to a logical number of a tape mark 7 indicating the end position of a data file on the magnetic tape 1 composed of one or a plurality of data blocks, A table recording means 2 for creating a table shown in FIG. 1C and associating it with a physical number indicating a physical position on the magnetic tape 1 and writing the table on the magnetic tape 1, and a table recorded on the magnetic tape 1 Table reading means 4 for reading the read table 2 into the apparatus, and, when positioning the data block in an arbitrary data block, referencing the table 2 read by the table reading means 4 to the logical number of the tape mark 7 closest to the target data block. Corresponding magnetic tape 1
After the above physical number is obtained and positioned at the tape mark 7, the high speed positioning means 5 for switching to the normal speed and positioning the target data block is provided.

【0016】[第1発明及び第2発明の共通事項]ここ
で第1発明および第2発明のいずれにおいても、テーブ
ル読込み手段4は磁気テープ1のロード時にテーブル2
を装置内のメモリに読込み、またテーブル記録手段3は
磁気テープ1のアクセスに応じてメモリ上のテーブル2
を更新すると共に磁気テープ1のアンロード時にメモリ
上のテーブル2を磁気テープ1に書込むか或いはテーブ
ル2の変更点のみを追記することを特徴とする。
[Common Items of the First Invention and the Second Invention] Here, in both the first invention and the second invention, the table reading means 4 uses the table 2 when the magnetic tape 1 is loaded.
Is read into the memory in the apparatus, and the table recording means 3 reads the table 2 in the memory in response to the access to the magnetic tape 1.
Is updated and the table 2 in the memory is written on the magnetic tape 1 when the magnetic tape 1 is unloaded, or only the changed points of the table 2 are added.

【0017】また第1発明及び第2発明の高速位置付け
装置に加え、更に、アンロード時にテーブル2の更新を
示す管理フラグをセットして磁気テープ1上のテーブル
2の記録領域に続くテーブル管理ブロック7の領域に記
録するフラグ記録手段と、磁気テープ1のロード時にテ
ーブル管理ブロック7の管理フラグをリセットするリセ
ット手段と、ロード時のリセット前に前記管理フラグが
セット状態にあれば前回のアンロード時に正常にテーブ
ル更新が行われたものと判断し、管理フラグがリセット
されていた際にはテーブル更新が正常に行われなかった
ものと判断するフラグ判断手段とを設けたことを特徴と
する。
Further, the high-speed positioning of the first and second inventions
In addition to the device , a flag recording means for setting a management flag indicating update of the table 2 at the time of unloading and recording the information in a table management block 7 area following the recording area of the table 2 on the magnetic tape 1; Reset means for resetting the management flag of the table management block 7 at the time of loading, and if the management flag is in a set state before the reset at the time of loading, it is determined that the table has been updated normally at the time of the previous unloading, A flag judging means for judging that the table has not been updated properly when the management flag has been reset is provided.

【0018】[0018]

【作用】このような構成を備えた本発明の磁気テープ記
憶装置の高速位置付け装置によれば、次の作用が得られ
る。
According to the high-speed positioning apparatus for a magnetic tape storage device of the present invention having the above-described structure, the following effects can be obtained.

【0019】[第1発明の作用]まず第1発明にあって
は、図1(b)に示すテーブル2を作成して磁気テープ
1に記録する。この図1(b)のテーブル2は、磁気テ
ープ1上のデータブロックの論理番号、データブロック
の磁気テープ上の物理的な位置を示す物理番号(制御ト
ラックから得られる値)、及びデータブロックがテープ
マーク6か否かをフラグ情報の対応付けを行っている。
[Operation of the First Invention] First, in the first invention, a table 2 shown in FIG. 1B is created and recorded on the magnetic tape 1. The table 2 of FIG. 1B includes a logical number of a data block on the magnetic tape 1, a physical number (a value obtained from a control track) indicating a physical position of the data block on the magnetic tape, and a data block. Whether or not the mark is a tape mark 6 is associated with flag information.

【0020】このテーブル2を磁気テープ1を装置にロ
ードする時に、装置内のメモリに読み込み、以後、メモ
リ内に格納されたテーブル2を参照しながら動作する。
テーブル2の参照及び更新はメモリ上で行う。即ち、デ
ータブロックまたはテープマークの書き込みの命令があ
る毎にメモリ上のテーブル2を最新の情報に更新する。
磁気テープ1に対するテーブル2の更新は磁気テープ1
のアンロード時に一括して行う。
When the magnetic tape 1 is loaded into the apparatus, the table 2 is read into a memory in the apparatus, and thereafter, the operation is performed with reference to the table 2 stored in the memory.
Reference and update of Table 2 are performed on the memory. That is, each time there is a data block or tape mark write command, the table 2 on the memory is updated to the latest information.
The update of the table 2 for the magnetic tape 1 is performed on the magnetic tape 1
Is performed at the time of unloading.

【0021】[第2発明の作用]一方、第2発明にあっ
ては、図1(c)に示すテーブルを作成して磁気テープ
に記憶する。この図1(c)のテーブル2は、1又は複
数のデータブロックで構成される磁気テープ1上のデー
タファイルの終端位置を示すテープマーク6の論理番号
と、テープマーク6の磁気テープ上の物理的な位置を示
す物理番号とを対応付けを行っている。
[Operation of the Second Invention] On the other hand, in the second invention, a table shown in FIG. 1C is created and stored on a magnetic tape. The table 2 in FIG. 1C includes a logical number of the tape mark 6 indicating the end position of the data file on the magnetic tape 1 composed of one or a plurality of data blocks, and a physical number of the tape mark 6 on the magnetic tape. And a physical number indicating a typical position.

【0022】第2発明における任意のデータブロックの
位置付けは、第1発明のように直接できないため、目的
データブロックに最も近いテープマークの物理番号に高
速位置付けした後に通常速度に切替えてデータを読みな
がら目的ブロックに位置付ける。このため第1発明より
は効率が下がるが、テーブル2の構成が簡単であり、メ
モリ容量も節減できる。
Since the positioning of an arbitrary data block in the second invention cannot be performed directly as in the first invention, high-speed positioning is performed at the physical number of the tape mark closest to the target data block, and then the data is read while switching to the normal speed. Position to the target block. For this reason, although the efficiency is lower than that of the first invention, the configuration of the table 2 is simple and the memory capacity can be reduced.

【0023】ロード時の読込みとメモリ上でのテーブル
更新、及びアンロード時の磁気テープ1上でのテーブル
更新は第1発明と同じである。
The reading at the time of loading and the updating of the table on the memory and the updating of the table on the magnetic tape 1 at the time of unloading are the same as those of the first invention.

【0024】[全体的な作用]この結果、本発明の磁気
テープ記憶装置は、データブロックの論理番号(論理ブ
ロックID)或いはテープマークの論理番号さえ与えら
れれば、自身でテーブル2を参照して物理的な位置を求
めて高速な位置付けを行う事が出来る。また磁気テープ
記憶装置で多用される「次のテープマークに位置付け
よ」という命令があるが、この命令にもテーブル2を参
照する事により、現在位置から最も近いテープマークの
位置を求め、高速な位置付けを行う事が出来る。
[Overall Operation] As a result, the magnetic tape storage device of the present invention refers to Table 2 by itself if only the logical number of the data block (logical block ID) or the logical number of the tape mark is given. High-speed positioning can be performed by obtaining a physical position. Also, there is a command such as "locate to the next tape mark" which is frequently used in the magnetic tape storage device. By referring to Table 2 also in this command, the position of the tape mark closest to the current position is obtained, and high-speed Can be positioned.

【0025】また、従来方式ではテープマークが磁気テ
ープ上の幾つ書かれているのか、どの位置に書かれてい
るのか知る手段がなかったため、一回の「次のテープマ
ークに位置付けよ」という命令毎に実行を行っていた
が、テープマークは通常、データファイルの区切りとし
て書かれており、磁気テープ1上に複数のファイルが存
在する場合には、ファイルの検索のために「次のテープ
マークに位置付けよ」という命令が複数回連続して発行
される事が多い。
Further, in the conventional method, there is no means for knowing how many tape marks are written on the magnetic tape and at what position, and therefore, there is no instruction of "position to the next tape mark" once. However, the tape mark is usually written as a data file delimiter, and when there are a plurality of files on the magnetic tape 1, the "next tape mark" In many cases, the command "Position at the position" is issued a plurality of times in succession.

【0026】この時、複数命令の1回毎に行われるテー
プの起動、停止にかかる時間の損失がファイル検索の速
度を低下させる要因となっていた。しかし、本発明によ
れば、テーブル2を検索すれば媒体上のすべてのテープ
マークの位置を知る事が出来るので、複数の「次のテー
プマークに位置付けよ」という命令を一括して実行する
ことも可能である。
At this time, the loss of the time required for starting and stopping the tape, which is performed each time a plurality of instructions are performed, has been a factor of reducing the speed of the file search. However, according to the present invention, since the positions of all the tape marks on the medium can be known by retrieving the table 2, it is necessary to execute a plurality of "position to the next tape mark" commands collectively. Is also possible.

【0027】これによりテープの起動、停止にかかる時
間を最小限におさえることが出来るため、高速位置付け
と併せて用いるとファイル検索の高速を更に上げること
が可能である。また特殊なコマンドを用意して、テーブ
ルの内容をホストCPUに転送すれば、CPU側で全て
の媒体上のブロック・テープマークの位置を知ることが
できるため、更に高速な検索を行う事も可能である。
Thus, the time required for starting and stopping the tape can be minimized. Therefore, when used in combination with high-speed positioning, the speed of file search can be further increased. If a special command is prepared and the contents of the table are transferred to the host CPU, the position of the block / tape mark on all media can be known on the CPU side, so that a higher-speed search can be performed. It is.

【0028】[テーブル更新フラグの作用]更に第1発
明及び第2発明のいずれについても、メモリ上のテーブ
ル2は磁気テープ1のロードからアンロードまでの間に
更新されるため、停電等の事故により正常なアンロード
が行えなかった場合、メモリ上のテーブルと実際に磁気
テープ1上に書かれている情報が一致しない可能性があ
る。
[Operation of Table Update Flag] In both the first invention and the second invention, since the table 2 in the memory is updated between the loading and unloading of the magnetic tape 1, an accident such as a power failure occurs. Therefore, if normal unloading cannot be performed, there is a possibility that the table in the memory does not match the information actually written on the magnetic tape 1.

【0029】そこで、磁気テープ1上にテーブル2とは
別にテーブル管理ブロック7を書き込んでおく。テーブ
ル管理ブロック7には、磁気テープ1上のテーブル2を
更新した時、即ち、アンロード時にセットしたテーブル
更新フラグを記録する。またテーブル更新フラグは、磁
気テープ1のロード時にリセットする。このためロード
時にテーブル更新フラグが記録されていなかった場合、
即ちリセットされていた場合、前回のアンロード時に磁
気テープ1上のテーブルは正常に更新されていないと判
断することができ、停電事故等の発生により更新されて
いないテーブルを使用して誤った位置に位置付けること
を未然に防止できる。
Therefore, a table management block 7 is written on the magnetic tape 1 separately from the table 2. When the table 2 on the magnetic tape 1 is updated, that is, the table update flag set at the time of unloading is recorded in the table management block 7. The table update flag is reset when the magnetic tape 1 is loaded. Therefore, if the table update flag was not recorded at the time of loading,
In other words, if the table has been reset, it can be determined that the table on the magnetic tape 1 has not been updated normally at the time of the previous unloading, and an incorrect position is determined by using the table that has not been updated due to the occurrence of a power failure or the like. Can be prevented beforehand.

【0030】尚、この場合のテーブルの復旧には、特別
なテーブル再構成支持のコマンドを用意するか、磁気テ
ープ記憶装置がロードもしくはアンロード時にテーブル
の再構成を自動的に行うようにすればよい。またテーブ
ル更新がされなかった場合、テーブル再構成処理の前に
位置付け命令を受け取った場合には、テーブルを参照せ
ずに、従来と同様データを読みながら位置付ける。
In order to recover the table in this case, a special table reconfiguration support command is prepared, or the table is automatically reconfigured when the magnetic tape storage device is loaded or unloaded. Good. If the table is not updated, or if a positioning instruction is received before the table reconfiguration processing, the positioning is performed while reading the data as in the related art without referring to the table.

【0031】[0031]

【実施例】図2は本発明の高速位置決め装置が適用され
る磁気テープ記憶装置の一実施例を示した実施例構成図
である。図2において、本発明の磁気テープ記憶装置は
磁気テープ記憶制御装置110と磁気テープドライブ装
置112に大別される。磁気テープドライブ装置112
はドライブコントローラ132とドライブ134を備え
る。
FIG. 2 is a block diagram showing an embodiment of a magnetic tape storage device to which the high-speed positioning device of the present invention is applied. 2, the magnetic tape storage device of the present invention is roughly divided into a magnetic tape storage control device 110 and a magnetic tape drive device 112. Magnetic tape drive 112
Has a drive controller 132 and a drive 134.

【0032】ドライブコントローラ132は磁気テープ
記憶制御装置110からのコマンドによりドライブ13
4を操作して磁気テープに対する、ローディング、書込
み、読出し、アンローディング等の直接的な操作を行
う。このため、ドライブ134は図16に示したように
ロード時に、ファイルリール(送出しリール)100と
マシンリール(巻取りリール)102を備えたカセット
ケース内に収納された磁気テープを引き出してヘッドに
接触させる。。
The drive controller 132 receives a command from the magnetic tape storage controller 110 to
4 is operated to directly perform operations such as loading, writing, reading, and unloading on the magnetic tape. For this reason, as shown in FIG. 16, the drive 134 pulls out the magnetic tape housed in the cassette case having the file reel (delivery reel) 100 and the machine reel (take-up reel) 102 at the time of loading as shown in FIG. Make contact. .

【0033】ドライブ134におけるローディングされ
た磁気テープに対してはリードライト用のヘッドと、磁
気テープの物理的な位置を得るための制御トラック用の
リードライトを行うヘッドとが設けられる。このうち、
データ記録再生用のヘッドについては記録密度を高める
ためにロータリヘッドを使用している。
For the magnetic tape loaded in the drive 134, a read / write head and a control track read / write head for obtaining the physical position of the magnetic tape are provided. this house,
For the data recording / reproducing head, a rotary head is used to increase the recording density.

【0034】磁気テープ記憶制御装置110はホストコ
ンピュータより受け取ったコマンド及びデータを解析且
つ処理し、磁気テープドライブ装置112の動作を制御
し、磁気テープの位置決めした後にデータリードあるい
はデータライトを行う。この磁気テープ記憶制御装置1
10にはマイクロプロセッサ(MPU)114が設けら
れ、制御装置全体を集中的にコントロールしている。
The magnetic tape storage controller 110 analyzes and processes commands and data received from the host computer, controls the operation of the magnetic tape drive 112, and reads or writes data after positioning the magnetic tape. This magnetic tape storage controller 1
The microprocessor 10 is provided with a microprocessor (MPU) 114 for centrally controlling the entire control device.

【0035】ホストコンピュータとのやり取りはホスト
インタフェース116が行い、磁気テープドライブ装置
112とのやり取りはドライブインタフェース118が
行う。データバッファ120は磁気テープの読み書きに
伴うデータ転送の際に使用されるバッファであり、デー
タバッファ120を使用したデータ転送はDMAコント
ローラ122が直接管理する。
The exchange with the host computer is performed by the host interface 116, and the exchange with the magnetic tape drive 112 is performed by the drive interface 118. The data buffer 120 is a buffer used at the time of data transfer accompanying reading / writing of a magnetic tape, and data transfer using the data buffer 120 is directly managed by the DMA controller 122.

【0036】コントロールストレージ124はマイクロ
プロセッサ114が実行するマイクロプログラムを展開
すると共に、本発明の高速位置決め制御を含むマイクロ
プログラムの制御に必要なレジスタ、ポインタ等の一時
的な記憶領域にも使用される。更に、126はディップ
スイッチであり、工場出荷の段階で磁気テープ記憶制御
装置110のハードウェア版数を設定するために使用し
ている。
The control storage 124 expands a microprogram executed by the microprocessor 114 and is also used as a temporary storage area such as a register and a pointer necessary for control of the microprogram including the high-speed positioning control of the present invention. . A dip switch 126 is used to set the hardware version of the magnetic tape storage controller 110 at the time of factory shipment.

【0037】図3は図2の磁気テープ記憶装置につい
て、本発明の高速位置決め装置に必要な部分を取り出し
て示した機能ブロック図である。図3において、まず磁
気テープドライブ装置112側にはロータリヘッドを用
いたデータ書込用のライトヘッド17、データ読出用の
リードヘッド18、更に磁気テープ上の物理的な位置を
得るための制御トラックに対する制御トラックライトヘ
ッド15、制御トラックリードヘッド16が設けられ
る。
FIG. 3 is a functional block diagram showing the magnetic tape storage device shown in FIG. 2 in which parts necessary for the high-speed positioning device of the present invention are extracted. In FIG. 3, first, a write head 17 for writing data using a rotary head, a read head 18 for reading data, and a control track for obtaining a physical position on a magnetic tape are provided on the magnetic tape drive 112 side. , A control track write head 15 and a control track read head 16 are provided.

【0038】更に、磁気テープを駆動するテープ駆動モ
ーター23に対してはテープ駆動速度を複数段階に切り
替えるための高速/低速切替スイッチ22が設けられ
る。尚、ここで低速とは通常の磁気テープの書込みある
いは読出時の走行速度を意味する。一方、磁気テープ記
憶制御装置110側にはマイクロプロセッサ14及びデ
ータバッファ10が設けられる。データバッファ10に
は後の説明で明らかにするように、磁気テープに記録さ
れているテーブルが展開される。
Further, a high-speed / low-speed switch 22 for switching the tape drive speed in a plurality of stages is provided for the tape drive motor 23 for driving the magnetic tape. Here, the low speed means a running speed at the time of writing or reading of a normal magnetic tape. On the other hand, the microprocessor 14 and the data buffer 10 are provided on the magnetic tape storage controller 110 side. In the data buffer 10, a table recorded on a magnetic tape is developed as will be described later.

【0039】また、磁気テープ記憶制御装置110側に
は物理ブロックIDジェネレータ9、論理ブロックID
レジスタ11、物理ブロックIDレジスタ12、テーブ
ル更新フラグレジスタ13、ポインタ21及びレジスタ
24が設けられる。これらのジェネレータ、レジスタ及
びポインタは図2に示したコントロールストレージ12
4を使用して実現される。
On the magnetic tape storage controller 110 side, a physical block ID generator 9 and a logical block ID
A register 11, a physical block ID register 12, a table update flag register 13, a pointer 21, and a register 24 are provided. These generators, registers and pointers are stored in the control storage 12 shown in FIG.
4 is implemented.

【0040】更に、ライトヘッド17及びリードヘッド
18からのデータラインにはスイッチ19,20が設け
られ、スイッチ19はホスト、データバッファ10ある
いはテーブル更新フラグレジスタ13のいずれかからの
ライトデータのライトヘッド17に対する経路を切り替
える。また、スイッチ20はリードヘッド18からのリ
ードデータのホストデータバッファ10あるいはテーブ
ル更新フラグレジスタ13に対する経路を切り替える。
Further, switches 19 and 20 are provided on the data lines from the write head 17 and the read head 18, and the switch 19 is a write head for write data from any of the host, the data buffer 10 and the table update flag register 13. Switch the route to 17. The switch 20 switches the path of the read data from the read head 18 to the host data buffer 10 or the table update flag register 13.

【0041】図4は本発明の高速位置付け装置で使用さ
れる磁気テープのフォーマットを示した説明図である。
図4において、磁気テープ1のテープ先頭には本発明の
高速位置付け方式に使用されるテーブル2が記録され、
テーブル2に続いてテーブル更新の有無を示す管理フラ
グを記録するテーブル管理ブロック7が記録されてい
る。
FIG. 4 is an explanatory diagram showing a format of a magnetic tape used in the high-speed positioning apparatus of the present invention.
In FIG. 4, a table 2 used for the high-speed positioning method of the present invention is recorded at the head of the magnetic tape 1,
Following the table 2, a table management block 7 for recording a management flag indicating whether or not the table has been updated is recorded.

【0042】このテーブル2及びテーブル管理ブロツク
7が記録された磁気テープ1の領域は、磁気テープ記憶
装置のみがアクセス可能でユーザはアクセスできないシ
ステム領域となる。テーブル管理ブロック7以降がユー
ザ領域となり、図示のようにデータブロックが順番に記
録される。
The area of the magnetic tape 1 on which the table 2 and the table management block 7 are recorded is a system area that can be accessed only by the magnetic tape storage device and cannot be accessed by the user. The user area starts from the table management block 7 and data blocks are recorded in order as shown in the figure.

【0043】この実施例ではユーザ領域の先頭から3つ
のデータブロックで=1ファイルを構成しており、ファ
イル終端となる3番目のデータブロックの後ろにはテー
プマーク6が記録されている。このテープマーク6に続
いては=2ファイルを構成する2つのデータブロックが
記録されており、=2ファイルの終端となるデータブロ
ックの後ろには同様にテープマーク6が記録されてい
る。
In this embodiment, one file is composed of three data blocks from the head of the user area, and a tape mark 6 is recorded after the third data block at the end of the file. Subsequent to the tape mark 6, two data blocks forming the = 2 file are recorded, and the tape mark 6 is similarly recorded after the data block at the end of the = 2 file.

【0044】更に磁気テープ1にはデータ領域と平行に
制御トラック104が記録されており、図17に示した
ように制御トラック104には一定距離毎に+1ずつ増
加する値が書き込まれ、且つ通常の読み書きより高速に
読み取れるように記録周波数を変えており、この制御ト
ラック104の情報を読み取ることにより磁気テープ1
の物理的位置を特定することができる。
Further, a control track 104 is recorded on the magnetic tape 1 in parallel with the data area. As shown in FIG. 17, the control track 104 is written with a value which increases by +1 at every fixed distance, and is normally written. The recording frequency is changed so that the magnetic tape 1 can be read at a higher speed than the read / write of the magnetic tape 1.
Can be identified.

【0045】図5は本願の第1発明に使用される磁気テ
ープ1の先頭に記録されるテーブル2の構成を示した説
明図である。図5において、第1発明のテーブル2にあ
っては、テープマークフラグ、データブロックの物理ブ
ロックID(物理番号)、データブロックの論理ブロッ
クID(論理番号)の3つの対応関係が記録される。
FIG. 5 is an explanatory diagram showing the structure of the table 2 recorded at the head of the magnetic tape 1 used in the first invention of the present application. In FIG. 5, in Table 2 of the first invention, three correspondences of a tape mark flag, a physical block ID (physical number) of a data block, and a logical block ID (logical number) of a data block are recorded.

【0046】図6は図5のテーブル2の内容に対応した
磁気テープ1上の記録状態を示す。まず図5のテープマ
ークフラグについては、データファイルの終端のテープ
マークTM1,TM2,TM3については1にセットさ
れ、テープマーク以外のデータブロックについては0に
リセットされている。各データブロックの物理ブロック
IDは、制御トラック104のカウント値により決まる
IDであり、例えば最初の3つのデータブロックでなる
ファイルの物理ブロックID1,ID2,ID3の順番
に図5に示すようにテーブル2に登録されている。
FIG. 6 shows a recording state on the magnetic tape 1 corresponding to the contents of the table 2 in FIG. First, the tape mark flag in FIG. 5 is set to 1 for the tape marks TM1, TM2, and TM3 at the end of the data file, and is reset to 0 for data blocks other than the tape mark. The physical block ID of each data block is an ID determined by the count value of the control track 104. For example, as shown in FIG. Registered in.

【0047】この場合、各データブロックのテープマー
クフラグは第1、第2及び第3の物理ブロックID1,
2,3についてはテープマークフラグは0にリセットさ
れており、4番目のテープマークTM1の物理ブロック
ID4についてはテープマークフラグは1にセットされ
ている。このような磁気テープ1上のテープマークの有
無を示すフラグ及び各ブロックの物理ブロックIDに対
し、磁気テープ記憶制御装置上でのデータアクセスに使
用する各データブロックの論理ブロックIDの対応付け
が行われている。
In this case, the tape mark flag of each data block is the first, second and third physical block ID1,
The tape mark flag is reset to 0 for 2 and 3, and the tape mark flag is set to 1 for the physical block ID 4 of the fourth tape mark TM1. The flag indicating the presence or absence of the tape mark on the magnetic tape 1 and the physical block ID of each block correspond to the logical block ID of each data block used for data access on the magnetic tape storage controller. Have been done.

【0048】再び図4を参照するに、テーブル2に続い
て設けられたテーブル管理ブロック7には、テーブル更
新の有無を示す管理フラグが記録されている。即ち、本
発明にあっては磁気テープ1を装置にロードした際に磁
気テープ1の先頭のテーブル2が読み取られて図3に示
すデータバッファ10に展開され、データバッファ10
に展開された例えば図5に示すテーブル2を使用して磁
気テープの高速位置付けが行われる。
Referring again to FIG. 4, a management flag indicating whether or not the table has been updated is recorded in the table management block 7 provided subsequent to the table 2. That is, in the present invention, when the magnetic tape 1 is loaded into the apparatus, the leading table 2 of the magnetic tape 1 is read and developed in the data buffer 10 shown in FIG.
The high-speed positioning of the magnetic tape is performed using, for example, the table 2 shown in FIG.

【0049】また、新たな磁気テープ1に対する書込み
が行われた場合には、データバッファ10上のテーブル
2の更新がその都度行われる。一方、磁気テープ1をア
ンロードする際にはデータバッファ10に展開されたテ
ーブル2を磁気テープ1の先頭のテーブル2の領域に記
録することでテーブル更新を行う。
When writing to a new magnetic tape 1 is performed, the table 2 in the data buffer 10 is updated each time. On the other hand, when the magnetic tape 1 is unloaded, the table is expanded by recording the table 2 developed in the data buffer 10 in the area of the table 2 at the head of the magnetic tape 1.

【0050】しかし、停電等より磁気テープのアンロー
ドが行われた場合には、メモリ上のテーブル2の磁気テ
ープ1に対する記録更新ができない。このアンロード時
のテーブル2の更新が正常に行われたか否かを判断する
ため、テーブル管理ブロック7に管理フラグが記録され
る。即ち、正常にテーブル2の磁気テープ1に対する記
録が行われた更新時には、テーブル管理ブロック7に管
理フラグを1にセットして書き込む。一方、ロード時に
はテーブル管理ブロック7の管理フラグを0にリセット
しておく。
However, when the magnetic tape is unloaded due to a power failure or the like, it is impossible to update the recording of the table 2 in the memory on the magnetic tape 1. A management flag is recorded in the table management block 7 to determine whether the update of the table 2 at the time of unloading has been performed normally. That is, at the time of updating when the recording of the table 2 on the magnetic tape 1 is normally performed, the management flag is set to 1 and written in the table management block 7. On the other hand, at the time of loading, the management flag of the table management block 7 is reset to 0.

【0051】このため、もし停電等によるアンロードで
テーブル2の更新ができなかった場合には、磁気テープ
1のテーブル管理ブロック7の管理フラグは0にリセッ
トされたままになり、次のロード時にテーブル管理ブロ
ック7を読んでも管理フラグは0にリセットされたまま
であることから、前回のアンロード時に磁気テープ1の
テーブル2の更新が正常に行われなかったものと判断で
きる。
For this reason, if the table 2 cannot be updated due to unloading due to a power failure or the like, the management flag of the table management block 7 of the magnetic tape 1 remains reset to 0, and the next time the table is loaded. Even if the table management block 7 is read, the management flag remains reset to 0, so it can be determined that the table 2 of the magnetic tape 1 was not updated normally at the time of the previous unloading.

【0052】磁気テープ1のテーブル管理ブロック7の
管理フラグは図3のテーブル更新フラグレジスタ13を
使用してセット、リセットが行われる。即ち、磁気テー
プのロード時にライトヘッド17により磁気テープ1の
テーブル管理ブロック7を読んでテーブルフラグ更新レ
ジスタ13に格納し、管理フラグのセット、リセット状
態をマイクロプロセッサ14に通知する。
The management flag of the table management block 7 of the magnetic tape 1 is set and reset using the table update flag register 13 shown in FIG. That is, when the magnetic tape is loaded, the table management block 7 of the magnetic tape 1 is read by the write head 17 and stored in the table flag update register 13 to notify the microprocessor 14 of the set and reset states of the management flag.

【0053】ロード時に管理フラグが0にリセットされ
ていればマイクロプロセッサ14は前回のアンロード時
に磁気テープ1のテーブル2の更新が正常に行われなか
ったものと判断し、例えば特別なテーブルの再構成時の
コマンドを実行してテーブル再構成をロードもしくはア
ンロード時に自動的に行う。更に、このテーブル再構成
処理の前にホストコンピュータから位置付け命令を受け
取った場合には、データバッファ10に展開されている
テーブル2を使用せずにリードヘッド18で磁気テープ
1のデータを読みながら位置付けを行うようになる。
If the management flag is reset to 0 at the time of loading, the microprocessor 14 determines that the table 2 of the magnetic tape 1 was not updated normally at the time of the previous unloading, and for example, re-executes a special table. Execute the command at the time of configuration to automatically perform table reconfiguration at the time of loading or unloading. Further, when a positioning command is received from the host computer before this table reconfiguration processing, the positioning is performed while reading the data of the magnetic tape 1 with the read head 18 without using the table 2 developed in the data buffer 10. Will do.

【0054】次に、図7,図8,図9,図10のフロー
チャートを参照して、図5に示したテーブル2を使用し
た本願第1発明による処理動作を説明する図7は磁気テ
ープに対するデータブロックのライト動作とテープマー
クのライト動作を示したフローチャートである。まずス
テップS1において、高速・低速切替スイッチ22を通
常速度側にセットし、ステップS2でテープ駆動モータ
ー23をスタートする。
Next, with reference to the flowcharts of FIGS. 7, 8, 9 and 10, a processing operation according to the first invention of the present application using the table 2 shown in FIG. 5 will be described with reference to FIG. 5 is a flowchart showing a data block write operation and a tape mark write operation. First, in step S1, the high speed / low speed switch 22 is set to the normal speed side, and in step S2, the tape drive motor 23 is started.

【0055】続いてステップS3でホストコンピュータ
からのコマンドが「ライトテープマーク」か否か判別す
る。ここで図4及び図6に示したように、テープマーク
6は複数ブロックで構成されるファイルの最後に付ける
ことから、最初のコマンドは「ライトテープマーク」で
はなく、データブロックのライトコマンドであることか
らステップS4に進み、磁気テープに対するデータブロ
ックの書込みを行う。
Subsequently, in step S3, it is determined whether or not the command from the host computer is a "write tape mark". Here, as shown in FIGS. 4 and 6, since the tape mark 6 is added to the end of a file composed of a plurality of blocks, the first command is not a “write tape mark” but a write command of a data block. Therefore, the process proceeds to step S4 to write a data block on the magnetic tape.

【0056】続いてステップS5でポインタ21の示す
テーブル位置のテープマークフラグをテープマークの書
込みを行っていないことからリセットする。尚、ポイン
タ21はテープ先頭位置にくる毎に0に初期化される。
続いてステップS6で物理ブロックIDレジスタ12と
論理ブロックID11をそのときのポインタ21の示す
テーブル2の位置にコピーし、これにより図5に示す1
つのテープマークフラグ、物理ブロックID及び論理ブ
ロックIDの対応関係が登録される。
Subsequently, in step S5, the tape mark flag at the table position indicated by the pointer 21 is reset because no tape mark has been written. The pointer 21 is initialized to 0 each time the pointer 21 reaches the head position of the tape.
Subsequently, in step S6, the physical block ID register 12 and the logical block ID 11 are copied to the position of the table 2 indicated by the pointer 21 at that time, whereby the 1 shown in FIG.
The correspondence relationship between two tape mark flags, physical block IDs and logical block IDs is registered.

【0057】続いてステップS7で物理ブロックIDレ
ジスタ11をインクリメントし、同様にステップS8で
ポインタ21をインクリメントし、以下、ブロックデー
タのライトコマンドを受け取る毎にステップS9,ステ
ップS10を介して同様な処理を繰り返す。複数のデー
タブロックでなる最終ブロックの書込みが終了すると、
ホストコンピュータよりコマンド「ライトテープマー
ク」が発行され、ステップS3がステップS11に進み
テープマークを磁気テープに書き込み、ステップS12
でそのときのポインタ21の示すテーブル2の位置のテ
ープマークフラグを1にセットする。
Subsequently, the physical block ID register 11 is incremented in step S7, the pointer 21 is similarly incremented in step S8, and thereafter, every time a write command of block data is received, the same processing is performed through steps S9 and S10. repeat. When writing of the last block consisting of multiple data blocks is completed,
The host computer issues a command “write tape mark”, and step S3 proceeds to step S11 to write the tape mark on the magnetic tape.
Then, the tape mark flag at the position of the table 2 indicated by the pointer 21 at that time is set to 1.

【0058】以下の処理はデータブロックのライト動作
と同じである。このようなデータブロックのライト動作
あるいはテープマークのライト動作中にステップS9で
コマンドチェインが断たれたことが判別されるとステッ
プS13に進み、テープ駆動モーター23を停止する。
図8はホストコンピュータからの論理ブロックIDの指
示による高速位置付け命令の処理動作を示したフローチ
ャートである。
The following processing is the same as the data block write operation. If it is determined in step S9 that the command chain has been interrupted during such a data block write operation or a tape mark write operation, the flow advances to step S13 to stop the tape drive motor 23.
FIG. 8 is a flowchart showing a processing operation of a high-speed positioning instruction according to an instruction of a logical block ID from the host computer.

【0059】図8において、ホストコンピュータより高
速位置付け命令を受けると、ステップS1で高速/低速
切替スイッチ22を高速値にセットし、続いてステップ
S2で指示された論理ブロックIDが現時点の論理ブロ
ックIDレジスタ11の値に等しいか否かチェックし、
もし等しければテープ位置付けが済んでいることから一
連の処理が終了する。
In FIG. 8, when a high-speed positioning command is received from the host computer, the high-speed / low-speed switch 22 is set to a high-speed value in step S1, and the logical block ID specified in step S2 is changed to the current logical block ID. Check if it is equal to the value of register 11,
If they are equal, a series of processing ends because the tape has been positioned.

【0060】ステップS2で両者の不一致が判別される
とステップS3に進み、指示された論理ブロックIDが
論理ブロックIDレジスタ11より大きいか否かチェッ
クし、小さければステップS4でテープ駆動モーター2
3を後進にしてスタートし、大きければステップS5で
テープ駆動モーター23を前進にしてスタートする。続
いてステップS6でポインタ21にホストコンピュータ
より指示された論理ブロックIDをセットし、ステップ
S7で高速走行中の制御トラックより得られる物理ブロ
ックIDがポインタ21にセットした論理ブロックID
の対応するテーブル2の物理ブロックIDより所定値i
を引いた値に等しくなるか否かチェックしている。
If it is determined in step S2 that the two do not match, the flow advances to step S3 to check whether the designated logical block ID is larger than the logical block ID register 11. If smaller, the tape drive motor 2 is determined in step S4.
3 is started in reverse, and if larger, the tape drive motor 23 is advanced in step S5 to start. Subsequently, in step S6, the logical block ID designated by the host computer is set in the pointer 21. In step S7, the physical block ID obtained from the control track running at high speed is the logical block ID set in the pointer 21.
A predetermined value i from the physical block ID of table 2 corresponding to
Checks whether it is equal to the value obtained by subtracting.

【0061】尚、iの値は高速から通常速度への切替時
間に基づいて決めている。ステップS7で物理ブロック
IDレジスタ12の値がポインタ21の指すテーブル位
置の物理ブロックIDから所定iを引いた値に一致した
ことが判別されると、ステップS8で高速/低速切替ス
イッチ22を通常速度側にセットし、ステップS9より
通常のテープ走行によるデータブロックの読込みを開始
する。
The value of i is determined based on the switching time from high speed to normal speed. If it is determined in step S7 that the value of the physical block ID register 12 matches the value obtained by subtracting a predetermined value i from the physical block ID at the table position indicated by the pointer 21, the high / low speed switch 22 is set to the normal speed in step S8. , And reading of data blocks by normal tape running is started from step S9.

【0062】即ち、ステップS10でテープ上から論理
ブロックIDを読み込み、ステップS11で論理ブロッ
クIDレジスタ11に読み込んだ論理ブロックIDをセ
ットし、ステップS12で物理ブロックIDレジスタ1
2の値と論理ブロックIDレジスタ11の指示された値
が一致したときに目的とするデータブロックへの位置付
け終了を判別してステップS13でテープ駆動モーター
23を停止する。
That is, the logical block ID is read from the tape in step S10, the read logical block ID is set in the logical block ID register 11 in step S11, and the physical block ID register 1 is set in step S12.
When the value of 2 matches the value specified in the logical block ID register 11, it is determined that the positioning to the target data block has been completed, and the tape drive motor 23 is stopped in step S13.

【0063】図9はホストコンピュータより次のテープ
マークへの位置付け命令を受けた場合の処理動作を示し
たフローチャートである。図9において、まずステップ
S1で高速/低速切替スイッチ22を高速値にセット
し、ステップS2で前方または後方検索を判別する。前
方検索であればステップS3に進み、ポインタ21をイ
ンクリメントし、ステップS4でポインタ21の示すテ
ーブル位置のテープフラグを調べる。
FIG. 9 is a flowchart showing a processing operation when a positioning command for a next tape mark is received from the host computer. In FIG. 9, first, the high-speed / low-speed switch 22 is set to a high-speed value in step S1, and a forward or backward search is determined in step S2. If the search is forward, the process proceeds to step S3, the pointer 21 is incremented, and the tape flag at the table position indicated by the pointer 21 is checked in step S4.

【0064】テープマークフラグはファイル終端でなけ
ればオフであり、ファイル終端でオンになっていること
から、ステップS4でファイル終端のテープマークフラ
グのオンを判別するとステップS5に進み、テープ駆動
モーター23を前進にしてスタートする。一方、ステッ
プS2で後方検索が判別された場合にはステップS6で
ポインタ21をデクリメントし、同様にステップS7で
ポインタの指すテーブル位置のテープマークフラグを調
べ、テープマークフラグがオンとなるポインタ21の値
が得られたときにステップS8でテープ駆動モーター2
3を後進にしてスタートする。
Since the tape mark flag is off at the end of the file and is on at the end of the file, if it is determined at step S4 that the tape mark flag at the end of the file is on, the process proceeds to step S5, where the tape drive motor 23 To start. On the other hand, if the backward search is determined in step S2, the pointer 21 is decremented in step S6, and similarly, the tape mark flag at the table position pointed to by the pointer is checked in step S7, and the pointer 21 whose tape mark flag is turned on is checked. When the value is obtained, the tape drive motor 2
Start with 3 in reverse.

【0065】ステップS5またはステップS8でテープ
駆動モーター23がスタートされると、ステップS9で
物理ブロックIDレジスタ12の値とポインタ21の示
すテーブル位置の物理ブロックIDから所定値iを引い
た値が一致するまで高速走行を行い、両者が一致すると
ステップS10に進み、高速/低速切替スイッチ22を
通常速度にセットし、通常のテープ走行としてステップ
S11でデータブロックを読み込み、ステップS12で
テープ上からの論理ブロックIDを読み込み、ステップ
S13で論理ブロックIDレジスタ11に論理ブロック
IDを格納し、ステップS14で論理ブロックIDレジ
スタ11の値と指示された論理ブロックIDとが一致し
たときにステップS15でテープ駆動モーター23を停
止して位置付けを終了する。
When the tape drive motor 23 is started in step S5 or S8, the value of the physical block ID register 12 and the value obtained by subtracting the predetermined value i from the physical block ID at the table position indicated by the pointer 21 match in step S9. The high speed / low speed switch 22 is set to the normal speed, the data block is read as the normal tape running in step S11, and the logical block from the tape is read in step S12. The block ID is read, the logical block ID is stored in the logical block ID register 11 in step S13, and when the value of the logical block ID register 11 matches the designated logical block ID in step S14, the tape drive motor is determined in step S15. Stop 23 and position To completion.

【0066】図10はホストコンピュータより複数の
「次のテープマークへの位置付け命令」を受けた際に、
複数命令を一括して実行する処理動作を示したフローチ
ャートである。図10において、ステップS1でポイン
タ21をまずレジスタ24に退避する。
FIG. 10 shows a case where a plurality of "positioning commands to the next tape mark" are received from the host computer.
9 is a flowchart illustrating a processing operation for executing a plurality of instructions at a time. In FIG. 10, the pointer 21 is first saved in the register 24 in step S1.

【0067】次にステップS2で前方または後方検索を
チェックし、前方検索であればステップS3でポインタ
21をインクリメントし、ステップS4でポインタの示
すテーブル位置のテープマークフラグがオンとなるまで
ポインタ21のインクリメントを繰り返す。一方、後方
検索であればステップS4でポインタ21をデクリメン
トし、ステップS6でポインタの示すテーブル位置のテ
ープマークフラグがオンになるまでポインタ21のデク
リメントを繰り返す。
Next, a forward or backward search is checked in step S2. If the search is forward, the pointer 21 is incremented in step S3, and the pointer 21 is incremented in step S4 until the tape mark flag at the table position indicated by the pointer is turned on. Repeat the increment. On the other hand, if it is a backward search, the pointer 21 is decremented in step S4, and the decrement of the pointer 21 is repeated in step S6 until the tape mark flag at the table position indicated by the pointer is turned on.

【0068】続いてステップS7でコマンド終結処理を
実行し、ステップS8で次のコマンドチェインの有無を
チェックする。複数の命令が連続している場合にはステ
ップS8でコマンドチェインが判別され、ステップS9
で次の命令は「次のテープマークに位置付けよ」という
命令か否かチェックし、この命令であれば再びステップ
S2に戻って同様に処理を繰り返す。
Subsequently, in step S7, a command termination process is executed, and in step S8, the presence or absence of the next command chain is checked. If a plurality of instructions are consecutive, a command chain is determined in step S8, and a step S9 is executed.
Then, it is checked whether or not the next command is a command of "position to the next tape mark". If this command is issued, the process returns to step S2 and repeats the same process.

【0069】ステップS8でコマンドチェインが切れた
場合あるいはステップS9で他の命令であった場合には
ステップS10に進み、最初のポインタ21の値を退避
していたレジスタ24の値と、ステップS3またはステ
ップS5で変更されたポインタ21の値とを比較し、両
者が一致していればテープ駆動が全く行われていないこ
とからステップS14に進んで、テープ停止及びコマン
ド終結を行う。
If the command chain is broken in step S8 or if the received instruction is another instruction in step S9, the process proceeds to step S10, where the value of the register 24 in which the value of the first pointer 21 has been saved is compared with the value in step S3 or S3. The value of the pointer 21 changed in step S5 is compared, and if they match, the tape drive is not performed at all, so the process proceeds to step S14 to stop the tape and terminate the command.

【0070】一方、テープ走行が正常に行われていなけ
ればステップS10で両者は一致せず、このためステッ
プS11に進み、レジスタ24に退避したポインタ21
の初期値と現時点のポインタ21との値の大小関係を比
較し、ポインタ初期値が現在値より小さければステップ
S12でテープ駆動モーター23を前進にしてスタート
して、磁気テープの高速送りを開始する。
On the other hand, if the tape running is not performed normally, the two do not match in step S10, so the process proceeds to step S11, where the pointer 21 saved in the register 24 is read.
Is compared with the current value of the pointer 21. If the initial value of the pointer is smaller than the current value, the tape drive motor 23 is moved forward in step S12 to start the high-speed feeding of the magnetic tape. .

【0071】一方、ステップS11でポインタ初期値が
ポインタ現在値より大きければステップS13でテープ
駆動モーター23を後進にしてスタートすることで、同
様に後進のテープ高速送りを行う。続いて図9のステッ
プS9にジャンプし、1回の「次のテープマークへの位
置付け命令」の処理動作と同様、複数のテープマークに
基づくポインタ21の示すテーブルの物理ブロックID
から所定値iを引いた位置までテープ高速位置付けを行
い、通常読出しによる目的ブロックへの位置付けを行
う。
On the other hand, if the pointer initial value is larger than the current pointer value in step S11, the tape drive motor 23 is moved backward in step S13 to start, so that the backward tape high-speed feeding is similarly performed. Subsequently, the process jumps to step S9 in FIG. 9, and the physical block ID of the table indicated by the pointer 21 based on a plurality of tape marks, similarly to the processing operation of the single “positioning instruction to the next tape mark”
The tape is positioned at a high speed up to a position obtained by subtracting a predetermined value i from the tape, and is positioned to the target block by normal reading.

【0072】図11は本願の第2発明で使用されるテー
ブル2の構成を示した説明図である。図11において、
テーブル2には磁気テープのファイル終端を示すテープ
マークに対応した物理ブロックIDと、同じくテープマ
ークに対応した論理ブロックIDの対応関係が登録され
ている。
FIG. 11 is an explanatory diagram showing the structure of the table 2 used in the second invention of the present application. In FIG.
In Table 2, the correspondence between the physical block ID corresponding to the tape mark indicating the end of the file of the magnetic tape and the logical block ID corresponding to the tape mark is registered.

【0073】図12は図11のテーブル2に対応する磁
気テープ1の記録状態を示したもので、テーブル1とそ
のテーブル2及びテーブル管理ブロック7に続くユーザ
領域に複数のデータブロックでなる=1ファイル,=2
ファイル,=3ファイル,・・・が記録されており、各
ファイルの終端にはテープマークTM1,TM2,TM
3が記録されている。
FIG. 12 shows the recording state of the magnetic tape 1 corresponding to the table 2 of FIG. 11, and the user area following the table 1, the table 2 and the table management block 7 is composed of a plurality of data blocks = 1. File, = 2
.. Are recorded, and tape marks TM1, TM2, TM are provided at the end of each file.
3 is recorded.

【0074】図11のテーブル2にあっては、図10の
最初のテープマークTM1の物理ブロックID3と、こ
れに対応する論理ブロックID3の対応関係を登録して
いる。テープマークTM2,TM3についても同様であ
る。このように本願の第2発明では第1発明のようにテ
ーブル2上に全てのデータブロックの対応表を持たず、
テープマークだけの対応表を持たせて簡略化している。
In the table 2 in FIG. 11, the correspondence between the physical block ID3 of the first tape mark TM1 in FIG. 10 and the corresponding logical block ID3 is registered. The same applies to the tape marks TM2 and TM3. Thus, the second invention of the present application does not have the correspondence table of all data blocks on the table 2 as in the first invention,
It is simplified by having a correspondence table with only tape marks.

【0075】この図11のテーブル2を使用した高速位
置付けは、目的とする移動先のデータブロックに最も近
いテープマークの物理ブロックIDをテーブル2から求
めて高速位置付けし、その後に通常走行に切り替えて実
際のデータブロックを探すことになる。このため、第1
発明に比べ効率は低くなるが、テーブル2の構成が簡単
で、装置に読み込んだ際のデータバッファ10にテーブ
ルが占める容量が大幅に節減できる。
In the high-speed positioning using the table 2 shown in FIG. 11, the physical block ID of the tape mark closest to the target data block is obtained from the table 2 and the high-speed positioning is performed. You have to look for the actual data block. Therefore, the first
Although the efficiency is lower than that of the present invention, the configuration of the table 2 is simple, and the capacity of the table occupied by the data buffer 10 when it is read into the apparatus can be greatly reduced.

【0076】図13,図14及び図15は図11に示し
たテープマークのテーブル2を使用した本願の第2発明
の処理動作を示したフローチャートである。まず図13
は本願の第2発明におけるブロックデータのライト、及
びファイル終端に対するテープマークのライトの処理動
作を示したフローチャートである。図13において、ま
ずステップS1で高速/低速切替スイッチ22を通常速
度にセットし、ステップS2でテープ駆動モーター23
をスタートする。
FIGS. 13, 14 and 15 are flowcharts showing the processing operation of the second invention of the present application using the tape mark table 2 shown in FIG. First, FIG.
FIG. 9 is a flowchart showing the processing operation of writing block data and writing a tape mark to the end of a file in the second invention of the present application. In FIG. 13, the high speed / low speed switch 22 is set to the normal speed in step S1, and the tape drive motor 23 is set in step S2.
Start.

【0077】続いてステップS3で最初データブロック
のライトコマンドを判別してステップS4に進み、デー
タブロックの書込みを行う。続いてステップS5で論理
ブロックIDレジスタ11をインクリメントし、ステッ
プS6で次のコマンドの有無を判別し、コマンドがあれ
ばステップS7でデータブロックのライトコマンドかテ
ープマークのライトコマンドかを判別してステップS3
に戻り、以下テープマークのライトコマンドが得られる
まで同様の処理を繰り返す。
Subsequently, in step S3, a write command for the data block is first determined, and the flow advances to step S4 to write the data block. Subsequently, in step S5, the logical block ID register 11 is incremented. In step S6, the presence or absence of the next command is determined. If there is a command, in step S7 it is determined whether the command is a data block write command or a tape mark write command. S3
And the same process is repeated until a write command for the tape mark is obtained.

【0078】ステップS3でファイル終端に達してテー
プマークのライトコマンドが判別されるとステップS8
でテープマークの書込みを行い、ステップS9でこのと
きの物理ブロックIDレジスタ12と論理ブロックID
レジスタ11をポインタ21の示すテーブル位置にコピ
ーして、1つのファイルデータに関する図11に示した
テープマークの物理ブロックIDとテープマークの論理
ブロックのIDの対応表を作成する。
When the end of the file is reached in step S3 and a write command for a tape mark is determined, step S8 is performed.
Is used to write a tape mark. At step S9, the physical block ID register 12 and the logical block ID
The register 11 is copied to the table position indicated by the pointer 21 to create a correspondence table of the physical block ID of the tape mark and the ID of the logical block of the tape mark shown in FIG.

【0079】以下、ファイルデータを受ける毎に同様の
処理を繰り返し、ステップS6でコマンドチェインが切
れるかあるいはステップS7でデータブロックまたはテ
ープマークのライトコマンド以外のコマンドであればス
テップS11に進み、テープ駆動モーター23を停止す
る。図14は本願の第2発明において、ホストコンピュ
ータから論理ブロックIDの指示による高速位置付け命
令を受けた場合の処理動作を示したフローチャートであ
る。
Thereafter, the same processing is repeated each time the file data is received. If the command chain is cut off in step S6 or if the command is a command other than the data block or tape mark write command in step S7, the flow advances to step S11 to execute tape drive. The motor 23 is stopped. FIG. 14 is a flowchart showing a processing operation when a high-speed positioning instruction is received from a host computer according to an instruction of a logical block ID in the second invention of the present application.

【0080】図14において、まずステップS1で高速
/低速切替スイッチ22を高速値にセットし、ステップ
S2で指示された論理ブロックIDがそのときの論理ブ
ロックIDレジスタ11の値に一致するか否かチェック
し、一致すればテープ位置付けが済んでいることから一
連の処理を終了する。ステップS2で不一致が判別され
るとステップS3に進み、指示された論理ブロックID
が論理ブロックIDレジスタ11の値より大きいか否か
チェックし、ステップS4,ステップS5で指示された
論理ブロックIDよりポインタの指すテーブル位置の論
理ブロックIDが大きくなるまでポインタ21のデクリ
メントを行う。
In FIG. 14, first, in step S1, the high speed / low speed switch 22 is set to a high speed value. In step S2, it is determined whether the logical block ID specified in step S2 matches the value of the logical block ID register 11 at that time. It is checked, and if they match, a series of processes is terminated because the tape has been positioned. If a mismatch is determined in step S2, the process proceeds to step S3, where the designated logical block ID is specified.
Is larger than the value of the logical block ID register 11, and the pointer 21 is decremented until the logical block ID at the table position indicated by the pointer becomes larger than the logical block ID specified in steps S4 and S5.

【0081】続いてステップS6でポインタ21を1つ
インクリメントして目的ブロックの1つ手前のテープマ
ークに戻し、ステップS7でテーブル駆動モーター23
を後進にしてスタートする。一方、ステップS3で指示
された論理ブロックIDの値が論理ブロックIDレジス
タ11の値より大きければステップS8,ステップS9
の処理により指示された論理ブロックIDがポインタ2
1の示すテーブル位置の論理ブロックIDより大きくな
るまでポインタ21がインクリメントを行い、ステップ
S10で逆にポインタ21を1つデクリメントし、目的
ブロックの1つ手前のテープマークをポインタ21によ
り指示してステップS11でテープ駆動モーター23を
前進にしてスタートする。
Subsequently, in step S6, the pointer 21 is incremented by one to return to the tape mark immediately before the target block.
Start with the reverse. On the other hand, if the value of the logical block ID specified in step S3 is larger than the value of the logical block ID register 11, steps S8 and S9
The logical block ID designated by the processing of
The pointer 21 increments until it becomes larger than the logical block ID at the table position indicated by No. 1, and the pointer 21 is decremented by one in step S10, and the tape mark immediately before the target block is indicated by the pointer 21. In S11, the tape drive motor 23 is advanced to start.

【0082】ステップS7またはステップS11の高速
送りが開始されると、ステップS12でポインタ21に
指示された論理ブロックIDの値をセットし、ステップ
S13で制御トラックから得られる物理ブロックIDレ
ジスタ12の値がポインタ21の示すテーブル位置の物
理ブロックIDより所定値iを引いた値に一致するまで
高速送りを行う。
When the high-speed feeding in step S7 or S11 is started, the value of the logical block ID pointed to by the pointer 21 is set in step S12, and the value of the physical block ID register 12 obtained from the control track is set in step S13. Until the value of the physical block ID at the table position indicated by the pointer 21 is less than the predetermined value i.

【0083】続いてステップS14で高速/低速切替ス
イッチ22を通常速度にセットし、以下ステップS15
〜ステップS18の処理によりテープのデータブロック
を読みながら目的とする論理ブロックIDに対する位置
付けを行い、位置付けが終了するとステップS19でテ
ープ駆動モーター23を停止する。図15は本願の第2
発明において、ホストコンピュータより「次のテープマ
ークへの位置付け」命令を受けた場合の処理動作を示し
たフローチャートである。
Subsequently, in step S14, the high / low speed switch 22 is set to the normal speed.
By performing the processing in steps S18 to S18, the tape drive motor 23 is stopped in step S19 after positioning is performed for the target logical block ID while reading the data block of the tape. FIG. 15 shows the second embodiment of the present application.
FIG. 4 is a flowchart showing a processing operation when a “position to next tape mark” command is received from the host computer in the present invention.

【0084】図15において、まずステップS1で高速
/低速切替スイッチ22を高速値にセットし、ステップ
S2で前方、後方検索を行う。前方検索であればステッ
プS3でポインタ21をインクリメントしてステップS
4でテープ駆動モーター23を前進でスタートする。後
方検索であればステップS5でポインタ21をデクリメ
ントしてステップS6でテープ駆動モーター23を後進
でスタートする。
In FIG. 15, first, the high / low speed switch 22 is set to a high speed value in step S1, and a forward and backward search is performed in step S2. If it is a forward search, the pointer 21 is incremented in step S3 and step S3 is executed.
At 4, the tape drive motor 23 is started forward. If it is a backward search, the pointer 21 is decremented in step S5, and the tape drive motor 23 is started in reverse in step S6.

【0085】続いてステップS7でテープ走行により制
御トラックから得られる物理ブロックIDレジスタ12
の値とポインタ21の示すテーブル位置の物理ブロック
IDから所定値iを引いた値とが一致するまで高速送り
を行い、一致するとステップS8で高速/低速切替スイ
ッチ22を通常速度にセットし、以下ステップS9〜ス
テップS12により通常走行によりデータブロックを読
みながら目的とする論理ブロックに位置付け、最終的に
ステップS13でテープ駆動モーター23を停止する。
Subsequently, in step S7, the physical block ID register 12 obtained from the control track by running the tape
The high-speed feed is performed until the value of coincides with the value obtained by subtracting the predetermined value i from the physical block ID at the table position indicated by the pointer 21, and if they match, the high / low speed switch 22 is set to the normal speed in step S8. In steps S9 to S12, the data block is read to the target logical block while being read in the normal running, and finally the tape drive motor 23 is stopped in step S13.

【0086】尚、ホストコンピュータより複数の「次の
テープマークへの位置付け命令」を受けて一括して実行
する場合の処理動作は図10に示した第1発明の場合と
同じである。
The processing operation when a plurality of "positioning commands to the next tape mark" are received from the host computer and executed collectively is the same as that of the first invention shown in FIG.

【0087】[0087]

【発明の効果】以上説明してきたように本発明によれ
ば、ホスト側の記憶負担を必要とすることなく、磁気テ
ープ上の論理ブロックIDと物理ブロックIDとの対応
を得ることができ、従来、通常の読み書きと同じ速度で
行っていたデータブロックあるいはテープマークへの位
置付けを物理ブロックIDを使用することによって高速
に位置付けることができ、磁気テープ記憶装置のアクセ
ス性能を大幅に向上することができる。
As described above, according to the present invention, the correspondence between the logical block ID and the physical block ID on the magnetic tape can be obtained without requiring the storage load on the host side. By using the physical block ID, the positioning to the data block or the tape mark, which has been performed at the same speed as the normal reading and writing, can be performed at a high speed, and the access performance of the magnetic tape storage device can be greatly improved. .

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

【図1】本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の実施例構成図FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】図2における本発明の要部を機能的に示した実
施例説明図
FIG. 3 is an explanatory view of an embodiment functionally showing a main part of the present invention in FIG. 2;

【図4】本発明で用いる磁気テープのフォーマット説明
FIG. 4 is an explanatory diagram of a format of a magnetic tape used in the present invention.

【図5】本願の第1発明で用いるテーブル構成図FIG. 5 is a table configuration diagram used in the first invention of the present application.

【図6】図5のテーブル構成に対応する磁気テープ記録
内容の説明図
FIG. 6 is an explanatory diagram of the contents recorded on a magnetic tape corresponding to the table configuration of FIG. 5;

【図7】第1発明のデータブロック及びテープマークの
テーブル作成を伴なうライト動作を示したフローチャー
FIG. 7 is a flowchart showing a write operation involving table creation of a data block and a tape mark according to the first invention;

【図8】第1発明の論理ブロックIDの指示による高速
位置付け動作を示したフローチャート
FIG. 8 is a flowchart showing a high-speed positioning operation according to an instruction of a logical block ID according to the first invention;

【図9】第1発明の「次のテープマークへの位置付け命
令」による動作を示したフローチャート
FIG. 9 is a flowchart showing the operation according to the “positioning command for next tape mark” of the first invention;

【図10】第1発明の複数の「次のテープマークへの位
置付け命令」による動作を示したフローチャート
FIG. 10 is a flowchart showing an operation according to a plurality of “positioning commands to the next tape mark” of the first invention;

【図11】本願の第2発明で用いるテーブル構成図FIG. 11 is a table configuration diagram used in the second invention of the present application.

【図12】図11のテーブル構成に対応する磁気テープ
記録内容の説明図
FIG. 12 is an explanatory diagram of the contents recorded on a magnetic tape corresponding to the table configuration of FIG. 11;

【図13】第2発明のデータブロック及びテープマーク
のテーブル作成を伴なうライト動作を示したフローチャ
ート
FIG. 13 is a flowchart showing a write operation involving table creation of a data block and a tape mark according to the second invention;

【図14】第2発明の論理ブロックIDの指示による高
速位置付け動作を示したフローチャート
FIG. 14 is a flowchart showing a high-speed positioning operation according to an instruction of a logical block ID according to the second invention;

【図15】第1発明の「次のテープマークへの位置付け
命令」による動作を示したフローチャート
FIG. 15 is a flowchart showing an operation according to a “positioning command for the next tape mark” of the first invention;

【図16】従来方式の一例を示した説明図FIG. 16 is an explanatory diagram showing an example of a conventional method.

【図17】従来方式の他の例を示した説明図FIG. 17 is an explanatory diagram showing another example of the conventional method.

【符号の説明】 1:磁気テープ 2:テーブル 3:テーブル記録手段 4:テーブル読込み手段 5:高速位置付け手段 6:テープマーク(TM) 7:テーブル管理ブロック 10:データバッファ 11:論理ブロックIDレジスタ 12:物理ブロックIDレジスタ 13:テーブル更新フラグレジスタ 14:マイクロプロセッサ(MPU) 15:制御トラックライトヘッド 16:制御トラックリードヘッド 17:ライトヘッド 18:リードヘッド 19,20:スイッチ 21:ポインタ 22:高速/低速切替えススイッチ 23:テープ駆動モーター 24:レジスタ 110:磁気テープ記憶制御装置 112:磁気テープドライブ装置 116:ホストインタフェース 118:ドライブインタフェース 122:DMAコントローラ 124:コントロールストレージ 126:ディップスイッチ 128:コントロールバス 130:DMAバス 132:ドライブコントローラ 134:ドライブ[Description of Signs] 1: Magnetic tape 2: Table 3: Table recording means 4: Table reading means 5: High-speed positioning means 6: Tape mark (TM) 7: Table management block 10: Data buffer 11: Logical block ID register 12 : Physical block ID register 13: table update flag register 14: microprocessor (MPU) 15: control track write head 16: control track read head 17: write head 18: read head 19, 20: switch 21: pointer 22: high speed / Low speed switching switch 23: Tape drive motor 24: Register 110: Magnetic tape storage controller 112: Magnetic tape drive 116: Host interface 118: Drive interface 122: DMA controller 124: Cement Roll Storage 126: DIP switch 128: a control bus 130: DMA bus 132: the drive controller 134: Drive

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−246075(JP,A) 特開 平2−195575(JP,A) 特開 昭50−99525(JP,A) 特開 昭60−47268(JP,A) 特開 平5−54551(JP,A) 矢吹貞雄、「DAT技術の外部記憶シ ステムへの応用」、インターフェース、 CQ出版株式会社、1989年7月1日、 146号、7月号、p253−264 (58)調査した分野(Int.Cl.7,DB名) G06F 3/06 303 G11B 20/12 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-2-246075 (JP, A) JP-A-2-195575 (JP, A) JP-A-50-99525 (JP, A) JP-A-60-1985 47268 (JP, A) JP-A-5-54551 (JP, A) Sadao Yabuki, "Application of DAT Technology to External Storage System", Interface, CQ Publishing Co., Ltd., July 1, 1989, No. 146, July issue, pp. 253-264 (58) Fields investigated (Int. Cl. 7 , DB name) G06F 3/06 303 G11B 20/12

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】磁気テープ(1)上の位置情報と磁気テー
プ(1)上のデータの区切り情報との対応テーブル
(2)を作成して磁気テープ(1)上に書込むテーブル
記録手段(3)を設け、前記テーブル(2)を参照して
位置付け制御することを特徴とする磁気テープ記憶装置
の高速位置付け装置
A table recording means for creating a correspondence table (2) between positional information on a magnetic tape (1) and delimiter information of data on the magnetic tape (1) and writing the table on a magnetic tape (1). 3) A high-speed positioning apparatus for a magnetic tape storage device, wherein the positioning is controlled with reference to the table (2).
【請求項2】磁気テープ(1)上のデータブロック及び
テープマーク(6)の論理番号、該データブロック及び
テープマーク(6)の磁気テープ上の物理的な位置を示
す物理番号、及び該データブロックがテープマーク
(6)であるか否かを示すフラグ情報を対応づけたテー
ブル(2)を作成して磁気テープ(1)上に書込むテー
ブル記録手段(3)と; 磁気テープ(1)上に記録された前記テーブル(2)を
装置内に読み込むテーブル読込み手段(4)と; 任意の論理番号に対応するデータブロック又はテープマ
ーク(6)に位置付けする際に、前記テーブル読込み手
段(4)で装置内に読込まれたテーブル(2)を参照
し、前記論理番号、テープマーク(6)又はフラグ情報
から目的のデータブロック又はテープマーク(6)の磁
気テープ上の物理番号を得て、目的のデータブロック又
はテープマーク(6)まで高速に位置付ける高速位置付
け手段(5)と; を設けたことを特徴とする磁気テープ記憶装置の高速位
置付け装置
2. A logical number of a data block and a tape mark (6) on a magnetic tape (1), a physical number indicating a physical position of the data block and a tape mark (6) on the magnetic tape, and the data Table recording means (3) for creating a table (2) in which flag information indicating whether or not the block is a tape mark (6) and writing the table on a magnetic tape (1); and a magnetic tape (1) A table reading means (4) for reading the table (2) recorded thereon into the apparatus; and a table reading means (4) for positioning a data block or a tape mark (6) corresponding to an arbitrary logical number. referring to the read filled-in table in the device (2) in), the logical number, magnetic tape of a tape mark (6) or from the flag information desired data block or tape mark (6) To obtain a physical number on flop, and high-speed positioning means (5) for positioning at high speed until the data block or tape mark object (6); fast positioning device of a magnetic tape storage device, characterized in that provided.
【請求項3】請求項記載の磁気テープ記憶装置の高速
位置付け装置に於いて、 前記高速位置付け手段(5)は、目的のデータブロック
の手前まで高速位置付けした後に通常速度に切換えて目
的ブロックに位置付けることを特徴とする磁気テープ記
憶装置高速位置付け装置
3. The high-speed positioning apparatus for a magnetic tape storage device according to claim 2 , wherein said high-speed positioning means (5) switches to a normal speed after positioning to a position immediately before a target data block, and switches to a normal speed. A magnetic tape storage device high-speed positioning device characterized by positioning.
【請求項4】請求項記載の磁気テープ記憶装置高速位
置付け装置に於いて、 前記テーブル読込み手段(4)は磁気テープ(1)のロ
ード時に前記テーブル(2)をメモリに読込み、前記テ
ーブル記録手段(3)は磁気テープ(1)のアクセスに
応じてメモリ上のテーブル(2)を更新すると共に磁気
テープ(1)のアンロード時に前記メモリ上のテーブル
(2)を磁気テープ(1)に書込むか或いはテーブル
(2)の変更点のみを追記することを特徴とする磁気テ
ープ記憶装置高速位置付け装置
4. A high-speed positioning apparatus for a magnetic tape storage device according to claim 2 , wherein said table reading means reads said table into a memory when said magnetic tape is loaded, and records said table. The means (3) updates the table (2) in the memory in response to the access of the magnetic tape (1) and, when the magnetic tape (1) is unloaded, transfers the table (2) in the memory to the magnetic tape (1). A high-speed positioning apparatus for a magnetic tape storage device, wherein writing is performed or only a changed point of a table (2) is added.
【請求項5】請求項記載の磁気テープ記憶装置高速位
置付け装置に於いて、更に、 アンロード時に前記テーブル(2)の更新を示す管理フ
ラグをセットして磁気テープ(1)上のテーブル記録領
域に続くテーブル管理ブロック(7)の領域に記録する
フラグ記録手段と; 磁気テープ(1)のロード時に前記テーブル管理ブロッ
ク(7)の管理フラグをリセットするリセット手段と; 該リセット手段によるリセット前に前記管理フラグがセ
ット状態にあれば前回のアンロード時に正常にテーブル
更新が行われたものと判断し、管理フラグがリセットさ
れていた際にはテーブル更新が正常に行われなかったも
のと判断するフラグ判断手段と; を設けたことを特徴とする磁気テープ記憶装置高速位置
付け装置
5. A high-speed positioning apparatus for a magnetic tape storage device according to claim 2 , further comprising: setting a management flag indicating an update of said table (2) at the time of unloading; Flag recording means for recording in the area of the table management block (7) following the area; reset means for resetting the management flag of the table management block (7) when loading the magnetic tape (1); before reset by the reset means If the management flag is in the set state, it is determined that the table has been updated normally at the time of the previous unloading, and if the management flag has been reset, it is determined that the table has not been updated properly. A high-speed magnetic tape storage device positioning apparatus .
【請求項6】1又は複数のデータブロックで構成される
磁気テープ(1)上のデータファイルの終端位置を示す
テープマーク(6)の論理番号と、該テープマーク
(6)の磁気テープ上の物理的な位置を示す物理番号と
を対応づけたテーブル(2)を作成して磁気テープ
(1)上に書込むテーブル記録手段(3)と; 磁気テープ(1)上に記録された前記テーブル(2)を
装置内に読み込むテーブル読込み手段(4)と; 任意のデータブロックに位置付ける際に、前記テーブル
読込み手段(4)で読込まれたテーブル(2)を参照し
て目的データブロックに最も近いテープマーク(6)の
論理番号に対応する磁気テープ(1)上の物理番号を得
て該テープマーク(6)に位置付けた後、通常速度に切
替えて目的のデータブロックに位置付ける高速位置付け
手段(5)と; を備えたことを特徴とする磁気テープ装置。
6. The logical number of a tape mark (6) indicating the end position of a data file on a magnetic tape (1) composed of one or a plurality of data blocks, and the tape mark (6) on the magnetic tape A table recording means (3) for creating a table (2) in correspondence with a physical number indicating a physical position and writing the table on a magnetic tape (1); and the table recorded on the magnetic tape (1) A table reading means (4) for reading (2) into the apparatus; when positioning an arbitrary data block, referencing the table (2) read by the table reading means (4) and closest to the target data block After obtaining the physical number on the magnetic tape (1) corresponding to the logical number of the tape mark (6) and positioning it on the tape mark (6), switching to normal speed and positioning on the target data block Fast positioning means (5) and; magnetic tape apparatus comprising the.
【請求項7】請求項記載の磁気テープ記憶装置高速位
置付け装置に於いて、 前記テーブル読込み手段(4)は磁気テープ(1)のロ
ード時に前記テーブル(2)をメモリに読込み、前記テ
ーブル記録手段(3)は磁気テープ(1)のアクセスに
応じてメモリ上のテーブル(2)を更新すると共に磁気
テープ(1)のアンロード時に前記メモリ上のテーブル
(2)を磁気テープ(1)に書込むか或いはテーブル
(2)の変更点のみを追記することを特徴とする磁気テ
ープ記憶装置高速位置付け装置
7. The magnetic tape storage device high-speed positioning apparatus according to claim 6 , wherein said table reading means reads said table into a memory when loading said magnetic tape, and records said table. The means (3) updates the table (2) in the memory in response to the access of the magnetic tape (1) and, when the magnetic tape (1) is unloaded, transfers the table (2) in the memory to the magnetic tape (1). A high-speed positioning apparatus for a magnetic tape storage device, wherein writing is performed or only a changed point of a table (2) is added.
【請求項8】請求項記載の磁気テープ記憶装置高速位
置付け装置に於いて、更に、 アンロード時に前記テーブル(2)の更新を示す管理フ
ラグをセットして磁気テープ(1)上のテーブル記録領
域に続くテーブル管理ブロック(7)の領域に記録する
フラグ記録手段と; 磁気テープ(1)のロード時に前記テーブル管理ブロッ
ク(7)の管理フラグをリセットするリセット手段と; 該リセット手段によるリセット前に前記管理フラグがセ
ット状態にあれば前回のアンロード時に正常にテーブル
更新が行われたものと判断し、管理フラグがリセットさ
れていた際にはテーブル更新が正常に行われなかったも
のと判断するフ ラグ判断手段と;を設けたことを特徴とする磁気テープ
記憶装置高速位置付け装置
8. A magnetic tape storage device high-speed positioning apparatus according to claim 6 , further comprising: setting a management flag indicating update of said table (2) at the time of unloading; Flag recording means for recording in the area of the table management block (7) following the area; reset means for resetting the management flag of the table management block (7) when loading the magnetic tape (1); before reset by the reset means If the management flag is in the set state, it is determined that the table has been updated normally at the time of the previous unloading, and if the management flag has been reset, it is determined that the table has not been updated properly. A high-speed magnetic tape storage device positioning apparatus .
JP03050931A 1991-03-15 1991-03-15 High-speed positioning device for magnetic tape storage Expired - Lifetime JP3078862B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP03050931A JP3078862B2 (en) 1991-03-15 1991-03-15 High-speed positioning device for magnetic tape storage
EP19920302137 EP0509637A3 (en) 1991-03-15 1992-03-12 Magnetic tape storage apparatus
US07/851,413 US5384673A (en) 1991-03-15 1992-03-13 Magnetic-tape storage apparatus
US08/318,353 US5525902A (en) 1991-03-15 1994-10-05 Magnetic tape storage apparatus writing status information to magnetic tape indicating a tape abnormality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03050931A JP3078862B2 (en) 1991-03-15 1991-03-15 High-speed positioning device for magnetic tape storage

Publications (2)

Publication Number Publication Date
JPH04286018A JPH04286018A (en) 1992-10-12
JP3078862B2 true JP3078862B2 (en) 2000-08-21

Family

ID=12872567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03050931A Expired - Lifetime JP3078862B2 (en) 1991-03-15 1991-03-15 High-speed positioning device for magnetic tape storage

Country Status (1)

Country Link
JP (1) JP3078862B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008041178A (en) * 2006-08-07 2008-02-21 Fujitsu Ltd Device, method and program for controlling magnetic tape device
JP2010134769A (en) 2008-12-05 2010-06-17 Hitachi Ltd Storage system and operation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
矢吹貞雄、「DAT技術の外部記憶システムへの応用」、インターフェース、CQ出版株式会社、1989年7月1日、146号、7月号、p253−264

Also Published As

Publication number Publication date
JPH04286018A (en) 1992-10-12

Similar Documents

Publication Publication Date Title
US6256706B1 (en) Storage and access to scratch mounts in VTS system
US7561372B2 (en) System and method for writing data to magnetic tape
US9135949B2 (en) Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands
EP0165382A2 (en) Data processing system including a data storage unit and its method of operation
US20040042112A1 (en) Removable media storage system with memory for storing operational data
JP3393828B2 (en) Search of meandering pattern data using memory element of tape cartridge
JP2000048541A (en) Tape drive device
EP0482297B1 (en) Method and apparatus for enabling fast access to a logical block on a tape medium
US6477628B1 (en) Backup copy achieving improved efficiency by waiting until rewind/unload command for bulk data copy
JPH04325923A (en) Access control system for optical disk device
JP3078862B2 (en) High-speed positioning device for magnetic tape storage
JP4452269B2 (en) Tape recording apparatus with improved data writing performance and data writing control method thereof
JP2006107720A (en) Data storage apparatus data storing method
US6525894B1 (en) Tape drive apparatus and method for mounting a volume from a tape medium
JP2002074903A (en) Magnetic recording and reproducing device and magnetic recording and reproducing method
JP3121387B2 (en) Magnetic tape control device
JPH0721070A (en) Signal processor
JP3089860B2 (en) Recirculating magnetic tape unit
JPH0876989A (en) Electronic apparatus driven by program and rewriting method for program
JP2000173128A (en) Tape drive device and recording medium
JPH03246616A (en) External storage device managed by fat
JP2972365B2 (en) Access control method for magnetic tape storage
JPH1078899A (en) Information recording and reproducing device
JP2001256695A (en) Magnetic recording and reproducing device and access method for magnetic tape
JPS62237538A (en) File management system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000606

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

Free format text: PAYMENT UNTIL: 20080616

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090616

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090616

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100616

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100616

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110616

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110616

Year of fee payment: 11