JP3514494B2 - Magnetic tape unit - Google Patents

Magnetic tape unit

Info

Publication number
JP3514494B2
JP3514494B2 JP23491093A JP23491093A JP3514494B2 JP 3514494 B2 JP3514494 B2 JP 3514494B2 JP 23491093 A JP23491093 A JP 23491093A JP 23491093 A JP23491093 A JP 23491093A JP 3514494 B2 JP3514494 B2 JP 3514494B2
Authority
JP
Japan
Prior art keywords
tape
magnetic tape
read
recorded
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP23491093A
Other languages
Japanese (ja)
Other versions
JPH0793956A (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
Original Assignee
Fujitsu Ltd
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 filed Critical Fujitsu Ltd
Priority to JP23491093A priority Critical patent/JP3514494B2/en
Publication of JPH0793956A publication Critical patent/JPH0793956A/en
Application granted granted Critical
Publication of JP3514494B2 publication Critical patent/JP3514494B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、書込読出ヘッドによっ
て、ホスト装置よりのデータを磁気テープに記録し、ま
た、磁気テープに記録されているデータを読出す磁気テ
ープ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic tape device for recording data from a host device on a magnetic tape by a write / read head and for reading data recorded on the magnetic tape.

【0002】[0002]

【従来の技術】計算機等においては、計算機が処理する
大量のデータを磁気テープに記録させ、必要な時に磁気
テープに記録されているデータを読出して処理を行なわ
せている。
2. Description of the Related Art In a computer or the like, a large amount of data processed by the computer is recorded on a magnetic tape, and the data recorded on the magnetic tape is read and processed when necessary.

【0003】磁気テープへのデータの記録は、図7
(A)に示すように、記録する一連のデータは或る単位
で分割したデータブロック毎に記録される。データブロ
ックは、図7(B)に示すように、データブロックの始
まりを示す符号“ALL1”と、続いてデータの始まり
を示す“SYNC”と、次にデータ“DATA”と、次
にデータの終りを示す符号“SYNC”と、次にデータ
ブロックのIDを示すID番号“ID”と、最後にデー
タブロックの終りを示す符号“ALL1”で構成されて
いる。
Recording of data on a magnetic tape is shown in FIG.
As shown in (A), a series of data to be recorded is recorded for each data block divided in a certain unit. As shown in FIG. 7B, the data block includes a code “ALL1” indicating the beginning of the data block, a “SYNC” indicating the beginning of the data, a data “DATA”, and a data next. It is composed of a code "SYNC" indicating the end, an ID number "ID" indicating the ID of the data block next, and a code "ALL1" indicating the end of the data block at the end.

【0004】また、一連のデータブロックからなるファ
イルの区切りには、図7(A)に示すように、テープマ
ークが記録される。また、図7(C)に示すように、磁
気テープに損傷があって、データを記録することができ
ない場合は、損傷のあるブロックをイレーズブロックと
して一定長スキップして、次のデータブロックを記録さ
せている。
Further, as shown in FIG. 7A, a tape mark is recorded at a delimiter of a file consisting of a series of data blocks. As shown in FIG. 7C, when the magnetic tape is damaged and data cannot be recorded, the damaged block is skipped as an erase block for a certain length and the next data block is recorded. I am letting you.

【0005】従来の磁気テープ装置においては、ホスト
装置よりID番号Nにヘッドを位置付けよとの指令(ロ
ケートコマンド)や次または次の次のファイルにヘッド
を位置付けよとの指令(スペースファイルコマンド)を
受けた時は、磁気テープ装置は磁気テープを移動させな
がら順次データブロックのID番号を読出し、読み出し
たID番号が指定されたID番号と一致したとき、また
次または次の次のファイルのテープマークが検出された
とき磁気テープの駆動を停止させて位置付けを行ってい
た。
In the conventional magnetic tape device, the host device issues a command to locate the head at the ID number N (locate command) and a command to locate the head at the next or next file (space file command). When receiving the ID, the magnetic tape device sequentially reads the ID numbers of the data blocks while moving the magnetic tape, and when the read ID number matches the specified ID number, the tape of the next or next next file is read. When the mark was detected, the drive of the magnetic tape was stopped to perform positioning.

【0006】また、データを磁気テープに記録する時
に、記録したデータを読出して、記録誤りが発生してい
るか否かを検出し、記録誤りが有った場合は再度同一個
所に記録を行い、記録誤りが有るか無いかを検出する処
理を数回繰返していた。数回繰返しても記録誤りが発生
した場合は磁気テープが損傷しているものとして一定長
イレーズブロックであること示す記録を行ってスキップ
し、次の位置にデータブロックを記録するようにしてい
た。
Further, when recording data on a magnetic tape, the recorded data is read to detect whether or not a recording error has occurred, and if there is a recording error, recording is performed again at the same location. The process of detecting whether or not there is a recording error was repeated several times. If a recording error occurs even after repeating a few times, it is assumed that the magnetic tape is damaged, and recording is performed to indicate that the block is a fixed length erase block, and the data block is skipped, and a data block is recorded at the next position.

【0007】[0007]

【発明が解決しようとする課題】前述したように、従来
の磁気テープ装置においては、ホスト装置よりロケート
コマンドが転送されると、磁気テープ装置は磁気テープ
を駆動して、磁気テープに記録されているデータを順次
読出して、読出したデータブロックのID番号、または
ファイルのテープマークが指定されたものと一致したと
き停止させて位置付けを行っていた。
As described above, in the conventional magnetic tape device, when the locate command is transferred from the host device, the magnetic tape device drives the magnetic tape and records it on the magnetic tape. The data that has been read is sequentially read out, and when the ID number of the read data block or the tape mark of the file matches the specified one, the data is stopped and positioned.

【0008】このため、指示位置に位置付けするのに要
する時間が長時間となっていた。また、磁気テープに再
度データを記録する場合も、損傷がある個所において
新規の磁気テープでイレーズブロックをスキップさせた
と同様の処理が行なわれ、データ記録に長時間を要して
いた。
Therefore, it takes a long time to position at the designated position. Also, when recording the data again on the magnetic tape, Oite in a location where there is damage,
The same processing was performed as when the erase block was skipped on the new magnetic tape, and it took a long time to record the data.

【0009】本発明はロケートコマンドに従って書込読
出ヘッドに対する磁気テープの位置付けをする際に、書
込読出ヘッドに対する磁気テープの位置付けに要する時
間を短かくするように改良した磁気テープ装置を提供す
ることを第1の目的とする。本発明はスペースファイル
コマンドに従って書込読出ヘッドに対する磁気テープの
位置付けをする際に、書込読出ヘッドに対する磁気テー
プの位置付けに要する時間を短かくするように改良した
磁気テープ装置を提供することを第2の目的とする。
The present invention provides an improved magnetic tape apparatus for shortening the time required for positioning the magnetic tape with respect to the write / read head when positioning the magnetic tape with respect to the write / read head in accordance with the locate command. Is the first purpose. It is an object of the present invention to provide an improved magnetic tape device which shortens the time required to position the magnetic tape with respect to the write / read head when positioning the magnetic tape with respect to the write / read head according to the space file command. The purpose is 2.

【0010】[0010]

【課題を解決するための手段】前述の第1の目的を達成
するために本発明が採用した手段は、図1の本発明の原
理図に示す如く、書込読出ヘッドによって、ホスト装置
よりのデータをデータブロック毎にID番号を付して
気テープに記録し、該記録したデータを前記磁気テープ
から読出す磁気テープ装置において、 (a)前記磁気テープが前記書込読出ヘッドを通過する
テープ位置を示す信号を前記磁気テープの予め定められ
た所定のテープ位置において順次発生するテープ位置信
号発生手段(1)と、 (b)前記磁気テープへのデータの記録時に、前記テー
プ位置信号発生手段(1)が前記テープ位置を示す信号
を発生する毎に該テープ位置を示す信号に対応させて
磁気テープの当該テープ位置に記録した前記データブ
ロックのID番号を記録するテープ位置ID記録手段
(2)と、 (c)前記ホスト装置よりのロケートコマンドを受信し
た時に、該受信したロケートコマンドで指定される前記
データブロックのID番号に最も近いID番号が記録さ
れている前記テープ位置を示す信号を前記テープ位置I
D記録手段(2)より読出し、該読出した前記テープ位
置を示す信号と同一の信号を前記テープ位置信号発生手
段(1)が発生するまで前記磁気テープを高速で駆動さ
、その後前記磁気テープを低速の通常速度で駆動させ
て当該磁気テープに記録されている前記データブロック
のID番号を前記書込読出ヘッドによって読出し、該読
出した前記データブロックのID番号が前記ロケートコ
マンドで指定される前記データブロックのID番号と一
致したとき前記磁気テープの駆動を停止して位置付けを
終了するロケートコマンド位置付手段(3)と、を備え
る。
The means adopted by the present invention for attaining the above-mentioned first object is, as shown in the principle diagram of the present invention in FIG. data subjected to the data block ID number for each record in the magnetic <br/> care tape, in reading the magnetic tape apparatus the recorded data from the magnetic tape, (a) the magnetic tape is the write and read sequentially and tape position signal generating means (1) for generating at a predetermined tape position signals indicative of the tape position predetermined in the magnetic tape passing through the head, when recording of data to the (b) said magnetic tape, said before so as to correspond to a signal indicating the tape position for each tape position signal generating means (1) generates a signal indicating the tape position
Serial and tape position ID recording means for recording the ID number of the data blocks recorded on the tape position of the magnetic tape (2), when receiving a locate command from (c) the host device, in the Locate command thus received the <br/> data the block closest to the ID number in the ID number is recorded the signal indicating the tape position tape position I designated
Read from D recording means (2), is driven at a high speed the magnetic tape to the said same signal as a signal indicating the tape position tape position signal generating means (1) is generated that issued said read, then the magnetic tape Drive at low normal speed
The data block recorded on the magnetic tape
Read the ID number of the
The ID number of the data block issued is the locate code.
ID number of the data block specified by the command
When doing so, stop the drive of the magnetic tape and position it
Locating command positioning means (3) for terminating .

【0011】また、前述の第2の目的を達成するために
本発明が採用した手段は、図1の本発明の原理図に示す
如く、書込読出ヘッドによって、ホスト装置よりのデー
タをデータブロック毎にID番号を付すとともに一連の
前記データブロックからなるファイルの区切りを示すテ
ープマークを付して磁気テープに記録し、該記録したデ
ータを前記磁気テープから読出す磁気テープ装置におい
て、 (a)前記磁気テープが前記書込読出ヘッドを通過する
テープ位置を示す信号を磁気テープの予め定められた所
定のテープ位置において順次発生するテープ位置信号発
生手段(1)と、 (b)前記磁気テープへのデータの記録時に、前記テー
プ位置信号発生手段(1)が前記テープ位置を示す信号
を発生する毎に該テープ位置を示す信号に対応させて
磁気テープの当該テープ位置に記録した前記データブ
ロックのID番号を記録するテープ位置ID記録手段
(2)と、 (c)前記磁気テープに記録された前記テープマークの
前または後に記録されている前記データブロックのID
番号を記録するテープマークID記録手段(4)と、 (d)前記ホスト装置よりのスペースファイルコマンド
を受信した時に、該受信した前記スペースファイルコマ
ンドによって指定された前記ファイルに対応するテープ
マークに対する前記データブロックのID番号を前記テ
ープマークID記録手段(4)より読出し、該読出した
前記ID番号に最も近いID番号が記録されている前記
テープ位置を前記テープ位置ID記録手段(2)より読
出し、該読出した前記テープ位置を示す信号と同一の信
号を前記テープ位置信号発生手段(1)が発生するまで
前記磁気テープを高速で駆動させ、その後前記磁気テー
プを低速の通常速度で駆動させて当該磁気テープに記録
されている前記データブロックのID番号を前記書込読
出ヘッドによって読出し、該読出した前記データブロッ
クのID番号が前記ファイルに対応するテープマークに
対する前記データブロックのID番号と一致したとき前
記磁気テープの駆動を停止して位置付けを終了するスペ
ースファイルコマンド位置付手段(5)と、を備える。
Further, the means for the present invention is employed to achieve the second object described above, as shown in principle diagram of the present invention in FIG. 1, the write and read head, the data block data from the host apparatus A series of ID numbers are attached to each
A table showing the delimiter of the file consisting of the data blocks.
Recorded on the magnetic tape are denoted by the Pumaku, said recorded in reading the magnetic tape device data from the magnetic tape, (a) the magnetic tape is a magnetic tape a signal indicating the tape position passing through the write and read head sequential tape position signal generating means (1) for generating at a predetermined predetermined tape position, (b) at the time of recording data to the magnetic tape, the tape position signal generating means (1) the tape position before so as to correspond to a signal indicating the tape position for each for generating a signal indicating
A serial tape position ID recording means for recording the ID number of the data blocks recorded on the tape position of the magnetic tape (2), are recorded before or after the tape mark recorded in (c) said magnetic tape ID of the data block
A tape mark ID recording means for recording the number (4), corresponding in (d) of the when receiving space file command from the host device, the file specified by the space file piece <br/> command thus received read from the tape mark ID recording means the ID number of the data block to the tape mark (4) which, issued said read
Said tape position most the closest ID number is recorded <br/> read from the tape position ID recording section of the tape position (2), said read the same signal and the signal indicative of the tape position that issued the ID number Until the signal generation means (1) is generated
The magnetic tape is driven at high speed, and then the magnetic tape is
Drive at a low normal speed to record on the magnetic tape.
Write and read the ID number of the data block
The data is read by the output head and the read data block is read.
The ID number of the clip is the tape mark corresponding to the file.
Before when the ID number of the corresponding data block matches
Serial includes a space file command position with means you exit the positioned stops driving the magnetic tape (5), a.

【0012】[0012]

【作用】テープ位置信号発生手段1は、磁気テープが書
込読出ヘッドを通過するテープ位置を示す信号を前記磁
気テープの予め定められた所定のテープ位置において順
発生する。テープ位置ID記録手段2は、前記磁気テ
ープへのデータの記録時に、前記テープ位置信号発生手
段1が前記テープ位置を示す信号を発生する毎に該テー
プ位置を示す信号に対応させて前記磁気テープの当該テ
ープ位置に記録したデータブロックのID番号を記録す
る。
The tape position signal generating means 1 uses a magnetic tape for writing.
A signal indicating the position of the tape passing through the read / write head is sent to
Order at a predetermined tape position of the air tape
It occurs next . Tape position ID recording means 2, the when recording data to the magnetic tape, corresponding to the signal indicating the tape <br/> flop position for each of the tape position signal generating means 1 generates a signal indicative of the tape position It is allowed to record the ID number of the recorded data block to the tape position of the magnetic tape.

【0013】ロケートコマンド位置付手段3は、ホスト
装置よりのロケートコマンドを受信した時に、該受信し
たロケートコマンドで指定されるデータブロックのID
番号に最も近いID番号が記録されている前記テープ位
置を示す信号を前記テープ位置ID記録手段2より読出
し、読出した前記テープ位置を示す信号と同一の信号を
前記テープ位置信号発生手段1が発生するまで前記磁気
テープを高速で駆動させ、その後前記磁気テープを低速
の通常速度で駆動させて当該磁気テープに記録されてい
る前記データブロックのID番号を前記書込読出ヘッド
によって読出し、該読出した前記データブロックのID
番号が前記ロケートコマンドで指定される前記データブ
ロックのID番号と一致したとき前記磁気テープの駆動
を停止して位置付けを終了する。
When the locate command locating means 3 receives a locate command from the host device, the data block ID designated by the received locate command.
Nearest the ID number is recorded the signals indicative of the tape position read from the tape position ID recording means 2, the same signal as the signal indicative of the read said tape position the tape position signal generating means 1 generates the number is driven at a high speed the magnetic <br/> tape until, after the magnetic tape slow
Recorded on the magnetic tape by driving at the normal speed of
The ID number of the data block is written in the write / read head.
And the ID of the read data block
The database whose number is specified in the locate command
When the lock ID number matches, drive the magnetic tape.
Stop and finish positioning .

【0014】以上のように、書込読出ヘッドを通過する
テープ位置を示す信号に対応させて磁気テープの当該テ
ープ位置に記録したデータブロックのID番号を記録さ
せ、ロケートコマンドが転送された場合は、指定された
ID番号に最も近いID番ロケートコマンドで指定され
るデータブロックのID番号に最も近いID番号が記録
されているテープ位置を示す信号を前記テープ位置ID
記録手段2より読出し、読出したテープ位置を示す信号
と同一の信号を前記テープ位置信号発生手段1が発生す
るまで高速で磁気テープを駆動するようにしたので、指
定位置に短時間で位置付けすることができる。
As described above, the ID number of the data block recorded at the tape position of the magnetic tape is recorded in correspondence with the signal indicating the tape position passing through the write / read head, and when the locate command is transferred. , A signal indicating the tape position at which the ID number closest to the ID number of the data block specified by the ID number locate command closest to the specified ID number is recorded is the tape position ID.
Since the magnetic tape is read out from the recording means 2 and the same signal as the read-out tape position signal is generated by the tape position signal generating means 1 at high speed, the magnetic tape is positioned at a designated position in a short time. You can

【0015】また、磁気テープにデータを記録している
とき、テープ位置信号発生手段1よりテープ位置を示す
信号が発生されると、テープ位置を示す信号に対応させ
て磁気テープの当該テープ位置に記録したデータブロッ
クのID番号をテープ位置ID記録手段2は記録する。
また、一連のデータブロックの記録が終了し、磁気テー
プにテープマークが記録されると、テープマークID記
録手段4は、磁気テープに記録された一連のデータブロ
ックからなるファイルの区切りを示すテープマークの前
または後に記録されているデータブロックのID番号を
記録する。
When data is recorded on the magnetic tape, when a signal indicating the tape position is generated by the tape position signal generating means 1, the tape position signal is generated at the tape position corresponding to the signal indicating the tape position. The tape position ID recording means 2 records the ID number of the recorded data block.
When the recording of the series of data blocks is completed and the tape mark is recorded on the magnetic tape, the tape mark ID recording means 4 indicates the tape mark indicating the delimiter of the file composed of the series of data blocks recorded on the magnetic tape. The ID number of the data block recorded before or after is recorded.

【0016】ホスト装置より次または次の次のファイル
位置付けるスペースファイルコマンドが転送された場
合、スペースファイルコマンド位置付手段5は、コマン
ドによって指定されたファイルに対応するテープマーク
に対するデータブロックのID番号を前記テープマーク
ID記録手段4より読出し、該読出したID番号に最も
近いID番号が記録されているテープ位置を示す信号と
同一の信号を前記テープ位置信号発生手段1が発生する
まで高速で磁気テープを駆動させ、その後前記磁気テー
プを低速の通常速度で駆動させて当該磁気テープに記録
されている前記データブロックのID番号を前記書込読
出ヘッドによって読出し、該読出した前記データブロッ
クのID番号が前記ファイルに対応するテープマークに
対する前記データブロックのID番号と一致したとき前
記磁気テープの駆動を停止して位置付けを終了する。
When a space file command for positioning the next or next next file is transferred from the host device, the space file command positioning means 5 gives the ID number of the data block for the tape mark corresponding to the file designated by the command. The magnetic tape is read at a high speed from the tape mark ID recording means 4 until the tape position signal generating means 1 generates the same signal as the signal indicating the tape position where the ID number closest to the read ID number is recorded. Drive the magnetic tape and then
Drive at a low normal speed to record on the magnetic tape.
Write and read the ID number of the data block
The data is read by the output head and the read data block is read.
The ID number of the clip is the tape mark corresponding to the file.
Before when the ID number of the corresponding data block matches
The magnetic tape drive is stopped and the positioning is completed .

【0017】以上のように、テープ位置を示す信号に対
応させて磁気テープの当該テープ位置に記録したデータ
ブロックのID番号、および磁気テープに記録された一
連のデータブロックからなるファイルの区切りを示すテ
ープマークの前または後に記録されているデータブロッ
クのID番号を記録させ、スペースファイルコマンドが
転送されたとき、指定されたファイルに対応するテープ
マークに対するID番号を読出し、読出したID番号に
最も近いID番号が記録されているテープ位置を示す信
号と同一の信号が発生するテープ位置まで高速で磁気
ープを駆動するようにしたので、指定ファイルへの位置
付を短時間で行なうことができる。
As described above, the ID number of the data block recorded at the tape position on the magnetic tape and the file delimiter consisting of a series of data blocks recorded on the magnetic tape are shown in correspondence with the signal indicating the tape position. The ID number of the data block recorded before or after the tape mark is recorded, and when the space file command is transferred, the ID number for the tape mark corresponding to the specified file is read out and is the closest to the read ID number. Since the magnetic tape is driven at a high speed to the tape position where the same signal as the signal indicating the tape position where the ID number is recorded is generated, the positioning to the designated file can be performed in a short time. Can be done.

【0018】[0018]

【実施例】本発明の一実施例を図2〜図6を参照して説
明する。図2は本発明の実施例の構成図、図3は同実施
例のデータ書込時の動作フローチャート、図4は同実施
例のロケートコマンド時の動作フローチャート、図5は
実施例のスペースファイルコマンド時の動作フローチ
ャート、図6は同実施例の装置動作開始および終了時の
動作フローチャートである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. 2 is a block diagram of the embodiment of the present invention, FIG. 3 is an operation flowchart for writing data in the embodiment, FIG. 4 is an operation flowchart for a locate command in the embodiment, and FIG. 5 is a space file in the embodiment . FIG. 6 is an operation flow chart at the time of command start, and FIG. 6 is an operation flow chart at the start and end of the apparatus operation of the embodiment.

【0019】図2において、11は磁気テープが書込読
出ヘッドを通過するテープ位置を示す信号であるセクタ
信号に対応させて磁気テープの当該テープ位置に記録し
たデータブロックのID番号を記録するセクタID記録
部、12はセクタID記録部11にID番号を記録させ
るセクタID書込部、13はロケートコマンドが転送さ
れたときヘッドを位置付けるロケートコマンド位置付
部、14はテープマークに対応するID番号を記録する
テープマークID記録部、15はテープマークID記録
部14にID番号を記録させるテープマークID書込
部、16はスペースファイルコマンドが転送されたとき
ヘッドを位置付けるスペースファイルコマンド位置付
部、17はイレーズブロックに対応するID番号を記録
するイレーズID記録部、18はイレーズID記録部1
7にID番号を記録させるイレーズID書込部、19は
データ書込時にイレーズブロックをスキップさせるイレ
ーズブロックスキップ部、20はセクタカウンタ、21
はテープマークカウンタ、22および23はインタフェ
ース(I/O)、24は制御部、25は処理を行なうプ
ロセッサ(CPU)である。
In FIG. 2, 11 is a sector for recording the ID number of the data block recorded at the tape position of the magnetic tape in correspondence with the sector signal which is a signal indicating the tape position where the magnetic tape passes the write / read head. An ID recording unit, 12 is a sector ID writing unit for recording an ID number in the sector ID recording unit 11, 13 is a locate command positioning unit for positioning the head when a locate command is transferred, and 14 is an ID number corresponding to a tape mark. , 15 is a tape mark ID recording section for recording an ID number in the tape mark ID recording section 14, 16 is a space file command positioning section for positioning the head when a space file command is transferred, An erase ID recording unit 17 records an ID number corresponding to an erase block. 18 erase ID recording unit 1
An erase ID writing section for recording an ID number in 7, an erase block skip section for skipping an erase block at the time of writing data, 20 a sector counter, 21
Is a tape mark counter, 22 and 23 are interfaces (I / O), 24 is a control unit, and 25 is a processor (CPU) for processing.

【0020】また、31はホスト装置とのインタフェー
スとして働くホストI/O制御部、32は記録時にデー
タブロックやイレーズブロック、IBG(Internal Blo
ck Gap)のパターンを生成し、そのシーケンスを制御す
るライトフォマッタ(WFMT)、33は読出時にデー
タブロックのデータを抜出してホストI/O制御部31
のデータメモリ31bに転送するリードフォーマッタ
(RFMT)、34は磁気テープ36へのデータの書込
み、磁気テープ36からのデータの読出しを行なう書込
読出ヘッド、38はセクタ信号を発生するセクタ信号発
生部、37はリール35a、35bを回転させて磁気テ
ープ36を移動させる駆動部である。
Reference numeral 31 designates a host I / O control section which acts as an interface with the host device, and 32 designates a data block, erase block, IBG (Internal Bloat) during recording.
a write formatter (WFMT) 33 for generating a pattern of a ck gap) and controlling the sequence thereof, a data I / O control unit 31 for extracting data of a data block at the time of reading.
, A read formatter (RFMT) for transferring to the data memory 31b, a write / read head for writing data to the magnetic tape 36, and a read / write head for reading data from the magnetic tape 36, and a sector signal generator 38 for generating a sector signal. , 37 are drive units for rotating the reels 35a, 35b to move the magnetic tape 36.

【0021】ホストI/O制御部31の指令メモリ31
aには、ホスト装置より転送された指令が記録され、デ
ータメモリ31bには書込データおよび読出データが記
録される。セクタ信号発生部38では、リール35a、
35bに巻取られた磁気テープの半径r1 およびr2
比が予め設定された値となったときパルス信号を発生す
る。
Command memory 31 of host I / O controller 31
The command transferred from the host device is recorded in a, and the write data and the read data are recorded in the data memory 31b. In the sector signal generator 38, the reels 35a,
A pulse signal is generated when the ratio of the radii r 1 and r 2 of the magnetic tape wound around 35b reaches a preset value.

【0022】r1 およびr2 の比の設定値は、磁気テー
プ36の全長を、例えば、72に分割するような値が設
定されている。つぎに、図3を参照して、ホスト装置よ
りデータ書込指令が転送され、磁気テープにデータが記
録される時の動作を説明する。
The set value of the ratio of r 1 and r 2 is set such that the total length of the magnetic tape 36 is divided into 72, for example. Next, with reference to FIG. 3, the operation when the data write command is transferred from the host device and the data is recorded on the magnetic tape will be described.

【0023】処理S10では、制御部24は、後で図6
で説明する処理に基づいてヘッド34の磁気テープ36
に対する書込開始位置を位置付けする。処理S11で
は、制御部24は、位置付けされた磁気テープ位置の前
または後に記録されているデータブロックのID番号を
RFMT33で読取り、読取ったID番号に対応するセ
クタ値をセクタID記録部11より、また、読取ったI
D番号に対応するテープマーク値をテープマークID記
録部14より読出して、それぞれセクタカウンタ20お
よびテープマークカウンタ21にセットする。
In step S10, the control section 24 will be described later with reference to FIG.
The magnetic tape 36 of the head 34 based on the processing described in
Position the write start position for. In processing S11, the control unit 24 reads the ID number of the data block recorded before or after the positioned magnetic tape position with the RFMT 33, and the sector value corresponding to the read ID number is read from the sector ID recording unit 11 by the sector ID recording unit 11. Also, I read
The tape mark value corresponding to the D number is read from the tape mark ID recording section 14 and set in the sector counter 20 and the tape mark counter 21, respectively.

【0024】セクタID記録部11およびテープマーク
ID記録部14の記録データについては、後で処理S1
8およびS23で説明する。処理S12では、データの
書込処理が開始され、イレーズブロックスキップ部19
は、イレーズID記録部17に記録されているID番号
とWFMT32で発生して次のデータブロックに書込む
ID番号が一致するか否かを判定し、YESの場合は処
理S13に移って、一定長磁気テープをスキップするよ
う制御部24に指令する。
The recorded data in the sector ID recording section 11 and the tape mark ID recording section 14 will be processed later in step S1.
8 and S23. In step S12, the data writing process is started, and the erase block skip unit 19 is started.
Determines whether or not the ID number recorded in the erase ID recording unit 17 and the ID number generated in the WFMT 32 and written in the next data block match, and if YES, the process proceeds to step S13 and fixed. The control unit 24 is instructed to skip the long magnetic tape.

【0025】制御部24はスキップ指令を受けると、W
FMT32に通知すると共にI/O23を介して駆動部
37に指令して磁気テープを一定長スキップさせる。ま
た、スキップされたデータブロックに対してはWFMT
32はスキップブロックであることを示す符号を記録す
る。
When the control section 24 receives the skip command, the W
The FMT 32 is notified and the drive unit 37 is instructed via the I / O 23 to skip the magnetic tape for a certain length. Also, for skipped data blocks, WFMT
32 records a code indicating a skip block.

【0026】処理S14では通常の書込処理が実行され
て磁気テープ36にデータの書込が行なわれる。処理S
15では、制御部24は、処理S15での書込処理に対
して書込エラーが発生したか否かを判定し、エラーが発
生して再度書込みを行っても又エラーが発生した場合は
処理S16に移り、処理S16は、エラーの発生したブ
ロックをイレーズブロックとして、一定長磁気テープを
スキップする。
In step S14, a normal writing process is executed to write data on the magnetic tape 36. Process S
In 15, the control unit 24 determines whether or not a writing error occurs in the writing process in the process S15, and if an error occurs and writing is performed again, if the error occurs again, the process is performed. In step S16, the block in which the error has occurred is set as an erase block, and the fixed length magnetic tape is skipped.

【0027】処理S17では、イレーズID書込部18
は、WFMT32で次のデータブロックに記録するため
に発生しているID番号を読出して、イレーズID記録
部17に記録されているデータの最後の追加記録して処
理S21に移る。このように磁気テープの損傷により書
込エラーが発生した場合は、発生したデータブロックに
対応するID番号を記録しておき再度同一テープ位置
にデータを記録する場合が発生したときは、処理S12
イレーズブロックを検知して、処理S13でスキップ
させるようにし、処理S15の判定をYESとさせ、長
時間を要する処理S16のスキップ処理Sを回避させ
て、短時間で次のデータブロックに位置付けをすること
ができる。
In step S17, the erase ID writing unit 18
Reads the ID number generated for recording in the next data block by the WFMT 32, additionally records the last data of the data recorded in the erase ID recording section 17, and moves to the processing S21. If the write error occurs in this way due to damage of the magnetic tape, a note of the ID number corresponding to the generated data block, when the case of recording data occurs in the same tape position again, step S12
Then, the erase block is detected and skipped in step S13, the determination in step S15 is set to YES, the skip step S in step S16 that requires a long time is avoided, and the next data block is positioned in a short time. can do.

【0028】なお、実施例ではイレーズID記録部17
に記録するID番号を、イレーズブロックの次のデータ
ブロックのID番号を記録させるようにしていたが、イ
レーズブロックの前のデータブロックのID番号を記録
させるようにしても良い。処理S18では、セクタID
書込部12は、セクタ信号発生部38でセクタ信号が発
生したか否かを判定し、判定がNOの場合は処理S21
に、YESの場合は処理S19に移る。
In the embodiment, the erase ID recording section 17
Although the ID number of the data block next to the erase block is recorded as the ID number recorded in the above, the ID number of the data block before the erase block may be recorded. In step S18, the sector ID
The writing unit 12 determines whether or not a sector signal is generated by the sector signal generation unit 38, and if the determination is NO, the process S21.
If YES, the process moves to step S19.

【0029】処理S19では、セクタID書込部12
は、セクタカウンタ20のカウント値Sを+1する。す
なわち、セクタカウンタのカウント値はセクタ信号発生
部38で発生した信号の番号に相当する。
In step S19, the sector ID writing unit 12
Increments the count value S of the sector counter 20 by one. That is, the count value of the sector counter corresponds to the number of the signal generated by the sector signal generator 38.

【0030】処理S20では、セクタID書込部は、セ
クタID記録部11のアドレスがセクタカウンタ20カ
ウント値Sに対応するメモリに、WFMT32で発生し
ているデータブロックのID番号を記録して処理S21
に移る。処理S21では、制御部24は、一連のデータ
ブロック(ファイル)の書込が終了したか否かを判定
し、判定がNOならば処理S12に移り、処理S12〜
S21が繰返され、判定がYESの場合は、WFMT3
2は、図7(A)に示すように、磁気テープにテープマ
ークを記録する。
In process S20, the sector ID writing unit records the ID number of the data block generated in the WFMT 32 in the memory whose address in the sector ID recording unit 11 corresponds to the count value S of the sector counter 20 and processes it. S21
Move on to. In step S21, the control unit 24 controls the series of data.
It is determined whether or not the writing of the block (file) is completed. If the determination is NO, the process proceeds to step S12, and steps S12-
S21 is returned Repetitive, if the determination is YES, WFMT3
2 records a tape mark on a magnetic tape as shown in FIG.

【0031】処理S22では、イレーズID書込部18
は、テープマークカウンタ21のカウント値Mを+1す
る。処理S23では、イレーズID書込部18はイレー
ズID記録部17のアドレスがテープマークカウンタ2
1のカウント値に対応するメモリにWFMT32で発生
しているデータブロックのID番号を記録して書込処理
を終了する。
In process S22, the erase ID writing unit 18
Increments the count value M of the tape mark counter 21 by one. In step S23, the erase ID writing unit 18 determines that the address of the erase ID recording unit 17 is the tape mark counter 2
The ID number of the data block generated in the WFMT 32 is recorded in the memory corresponding to the count value of 1, and the writing process ends.

【0032】なお、テープマークID記録の際、磁気テ
ープにデータの再書込を行ってテープマークが増加した
場合は、以前に書込まれているID番号を順次繰下げて
再記録が行なわれる。つぎに、図4を参照して、ホスト
装置よりロケートコマンドが転送されて、ヘッドが位置
付される動作を説明する。
[0032] Note that when the tape mark ID recording, if the tape mark is increased by performing the re-writing of data to the magnetic tape, re-record perform ID numbers that are previously written in sequential deferred Be done. Next, with reference to FIG. 4, an operation in which the locate command is transferred from the host device and the head is positioned will be described.

【0033】処理S30では、ロケートコマンド位置付
部13は、RFMT33より磁気テープ36に記録され
ているデータブロックのID番号を読出し、セクタID
記録部11に記録されているID番号を参照して現在の
ヘッド位置のセクタ番号を算出し、算出したセクタ番号
をセクタカウンタ20にセットする。
In step S30, the locate command positioning unit 13 reads the ID number of the data block recorded on the magnetic tape 36 from the RFMT 33, and determines the sector ID.
The sector number of the current head position is calculated with reference to the ID number recorded in the recording unit 11, and the calculated sector number is set in the sector counter 20.

【0034】次に処理S31では、ホスト装置より指定
されたID番号が最も近いID番号となるセクタ番号S
A をセクタID記録部11の記録を参照して算出する。
処理S32では、制御部24は駆動部37に指令して高
速で磁気テープを駆動させる。
Next, in step S31, the sector number S, which is the ID number closest to the ID number designated by the host device.
A is calculated with reference to the recording of the sector ID recording unit 11.
In step S32, the control unit 24 drives the magnetic tape at high speed command to the drive unit 37.

【0035】処理S33では、ロケートコマンド位置付
部13は、I/O23を介してセクタ信号発生部38よ
りセクタ信号が入力されたか否かを判定し、判定がNO
の場合は処理S32に移って高速駆動を続行させ、判定
がYESの場合は処理S34に移ってセクタカウンタ2
0のカウント値Sを+1する。
In step S33, the locate command positioning unit 13 determines whether or not a sector signal is input from the sector signal generation unit 38 via the I / O 23, and the determination is NO.
If YES, the process proceeds to step S32 to continue high-speed driving. If the determination is YES, the process proceeds to step S34 and the sector counter 2
The count value S of 0 is incremented by 1.

【0036】なお、処理S32の高速駆動が逆方向の駆
動の場合は、処理S34では−1を加算する。処理S3
5では、ロケートコマンド位置付部13は、セクタカウ
ンタ20のカウント値Sと処理S31で算出したセクタ
番号SA が一致したか否かを判定し、判定がNOの場合
は処理S32に移って処理S32〜S35を繰返し、判
定がYESの場合は処理S36に移る。
If the high speed drive in the process S32 is the reverse drive, -1 is added in the process S34. Process S3
In 5, the locate command positioning unit 13 determines whether or not the count value S of the sector counter 20 and the sector number S A calculated in the process S31 match. If the determination is NO, the process moves to the process S32. S32 to S35 are repeated, and if the determination is YES, the process proceeds to S36.

【0037】処理S36では、制御部24は駆動部37
に指令して磁気テープを低速、すなわち通常の読出書込
時の速度で駆動させる。処理S37では、RFMT33
を介して磁気テープよりデータブロックのID番号ID
R を読込み、処理S38でホストより指定されたID
ID番号IDR が一致するか否かを判定し、一致し
ないときは処理S36に移って処理S36〜S38を繰
返し、一致すれば処理S39に移って磁気テープの駆動
を停止してヘッドの位置付けを終了する。
In step S36, the control section 24 causes the drive section 37 to operate.
To drive the magnetic tape at a low speed, that is, at the speed of normal reading and writing. In step S37, RFMT33
Data block ID number from the magnetic tape via
Read R , ID number specified by the host in process S38
It is determined whether the number and the ID number ID R match, and if they do not match, the process proceeds to step S36 and steps S36 to S38 are repeated. If they match, the process proceeds to step S39 to stop the drive of the magnetic tape and Finish positioning.

【0038】つぎに、図5を参照して、ホスト装置より
スペースファイルコマンドが転送された場合の動作を説
明する。処理S50では、スペースファイルコマンド位
置付部16は、RFMT33より磁気テープに記録され
ているデータブロックのID番号を読出し、セクタID
記録部11およびテープマークID記録部14に記録さ
れているID番号を参照して現在のヘッド位置のセクタ
番号Sおよびテープマーク番号Mを算出し、算出したS
およびMを、それぞれ、セクタカウンタ20およびテー
プマークカウンタ21にセットする。
Next, the operation when the space file command is transferred from the host device will be described with reference to FIG. In step S50, the space file command positioning unit 16 reads the ID number of the data block recorded on the magnetic tape from the RFMT 33, and reads the sector ID.
The sector number S and the tape mark number M at the current head position are calculated with reference to the ID numbers recorded in the recording unit 11 and the tape mark ID recording unit 14, and the calculated S is calculated.
And M are set in the sector counter 20 and the tape mark counter 21, respectively.

【0039】処理S51では、スペースファイルコマン
ド位置付部16は、ホスト装置より指定されファイルに
対応するテープマーク番号MA を算出する。すなわち、
ホスト装置より次のファイルに位置付け指令が転送され
た場合は、テープマークカウンタ21のカウント値Mに
+1した値がMA となる。
In step S51, the space file command positioning unit 16 calculates the tape mark number M A corresponding to the file designated by the host device. That is,
When the positioning command is transferred to the next file from the host device, the value obtained by adding +1 to the count value M of the tape mark counter 21 becomes M A.

【0040】処理S52では、スペースファイルコマン
ド位置付部16は、処理S51で算出したテープマーク
番号MA に対応するID番号をテープマークID記録部
14より読出し、続いて処理S53で、処理S52で読
出したID番号に最も近いID番号が記録されているセ
クタ番号SA をセクタID記録部11の記録を参照して
算出する。
In process S52, the space file command positioning unit 16 reads the ID number corresponding to the tape mark number M A calculated in process S51 from the tape mark ID recording unit 14, and then in process S53, in process S52. The sector number S A in which the ID number closest to the read ID number is recorded is calculated with reference to the recording of the sector ID recording unit 11.

【0041】処理S54では、制御部24は、駆動部3
7に指令して高速で磁気テープを駆動させる。処理S5
5では、スペースファイルコマンド位置付部16は、I
/O23を介してセクタ信号発生部38よりセクタ信号
の割込が有ったか否かを判定し、判定がNOの場合は処
理S54に移り、YESの場合は処理S56に移ってセ
クタカウンタ20のカウント値Sを+1する。
In step S54, the control section 24 controls the drive section 3
7 to drive the magnetic tape at high speed. Process S5
5, the space file command positioning unit 16 uses the I
It is determined whether or not there is a sector signal interrupt from the sector signal generation unit 38 via the / O23. If the determination is NO, the process proceeds to step S54, and if the determination is YES, the process proceeds to step S56 and the sector counter 20 The count value S is incremented by 1.

【0042】なお、処理S57では、処理S53で算出
したセクタ番号SA とセクタカウンタ20のカウント値
Sが一致するか否かを判定し、NOの場合は処理S54
に移り、YESの場合は処理S58に移る。処理S58
では、制御部24は駆動部37に指令して低速で磁気
ープを駆動させる。
In the process S57, it is determined whether or not the sector number S A calculated in the process S53 and the count value S of the sector counter 20 match, and if NO, the process S54.
If YES, the process moves to step S58. Process S58
Then, the control unit 24 instructs the drive unit 37 to drive the magnetic tape at a low speed.

【0043】処理S59では、RFMT33を介して
テープに記録されているデータブロックのID番号
R を読出し、処理S60に移って、処理S52で算出
したID番号と処理S59で磁気テープより読込んだ
D番号IDR とが一致するか否かを判定し、判定がNO
の場合は処理S58に移り、YESの場合は処理S61
に移って磁気テープのテープマークの記録を確認して
テープの駆動を停止して処理Sを終了する。
In step S59, the magnetic field is transmitted via RFMT33.
ID number I of the data block that has been recorded in the care tape
D R reads, proceeds to the processing S60, I read I from the magnetic tape by the ID number and the processing S59 calculated by the processing S52 I
It is determined whether or not the D number ID R matches, and the determination is NO.
If yes, then the process proceeds to step S58; if YES, then the process S61.
Magnetic to see a record of the tape mark of the magnetic tape is moved to
The drive of the air tape is stopped and the process S is ended.

【0044】なお、図4の処理S30および図5の処理
S50でのセクタカウントSのセットは、磁気テープ装
置動作開始にセットされるならば除去しても良い。つぎ
に、図6を参照して、磁気テープ装置の動作開始および
終了時または磁気テープ駆動時のID番号の処理を説明
する。
The setting of the sector count S in the processing S30 of FIG. 4 and the processing S50 of FIG. 5 may be removed if it is set to start the operation of the magnetic tape device. Next, referring to FIG. 6, the operation starts and the processing ends or when the magnetic tape drive when the ID number of the tape device.

【0045】処理S70では、磁気テープをセットし
て、動作を開始すると、まず、磁気テープの先頭または
指令場合よりセクタ番号に対応するID番号を読出し
て、セクタID記録部11に記録する。次に、処理S7
1では、同じく磁気テープよりテープマーク番号に対応
するID番号を読出してテープマークID記録部14に
記録する。
In step S70, when the magnetic tape is set and the operation is started, first, the ID number corresponding to the sector number is read and recorded in the sector ID recording section 11 from the head of the magnetic tape or when instructed. Next, step S7
In No. 1, similarly, the ID number corresponding to the tape mark number is read from the magnetic tape and recorded in the tape mark ID recording unit 14.

【0046】また、処理S72では、同じく磁気テープ
よりイレーズブロックに対応するID番号(イレーズI
D)を読出してイレーズID記録部17に記録する。記
録が終了すると処理S73に移って、通常の書込読出処
理が実行される。処理S74では、異なる磁気テープと
の取替および磁気テープ装置の電源をOFFにする等、
装置の動作が停止される場合は処理S75に移る。
Further, in the process S72, the ID number (erase I) corresponding to the erase block is also read from the magnetic tape.
D) is read and recorded in the erase ID recording unit 17. When the recording is completed, the process proceeds to step S73, and the normal writing / reading process is executed. In step S74, replacement with a different magnetic tape and power-off of the magnetic tape device are performed.
If the operation of the device is stopped, the process proceeds to step S75.

【0047】処理S75では、セクタID記録部11に
記録されているID番号(セクタID)を読出して、処
理S70で読出した磁気テープの領域に記録する。ま
た、処理S76およびS77では、それぞれ、テープマ
ークID記録部14およびイレーズID記録部17に記
録されているID番号(テープマークIDおよびイレー
ズID)を読出して磁気テープに記録して処理Sを終了
する。
In step S75, the ID number (sector ID) recorded in the sector ID recording section 11 is read and recorded in the area of the magnetic tape read in step S70. In processes S76 and S77, the ID numbers (tape mark ID and erase) recorded in the tape mark ID recording unit 14 and the erase ID recording unit 17, respectively.
ID) is read and recorded on the magnetic tape, and the process S is completed.

【0048】このように、セクタID、テープマークI
DおよびイレーズIDを磁気テープに記録させ、動作開
始時に、それを読出して各記録部に記録させることによ
り、磁気テープに記録されているデータに対するセクタ
ID、テープマークIDおよびイレーズIDを容易に得
ることができる。
In this way, the sector ID and tape mark I
By recording the D and the erase ID on the magnetic tape and reading them out at the start of the operation and recording them in each recording section, the sector ID, tape mark ID and erase ID for the data recorded on the magnetic tape can be easily obtained. be able to.

【0049】以上、本発明の一実施例について説明した
が、本発明はこの実施例に限定されるものではなく、そ
の発明の主旨に従った各種変形が可能である。
Although one embodiment of the present invention has been described above, the present invention is not limited to this embodiment, and various modifications can be made according to the gist of the invention.

【0050】[0050]

【発明の効果】以上説明したように、第1の目的を達成
するため成された本発明によれば、磁気テープが書込読
出ヘッドを通過しテープ位置を示す信号を発生する毎
に、テープ位置を示す信号に対応させて磁気テープの当
該テープ位置に記録したデータブロックのID番号を記
録させ、ロケートコマンドが転送されてきた場合は、
ケートコマンドで指定されたID番号に最も近いID番
号となるテープ位置を示す信号を読出し、この読出した
テープ位置まで高速で磁気テープを駆動するようにした
ので、指定位置に短時間で位置付けすることができる。
第2の目的を達成するため成された本発明によれば、磁
気テープが書込読出ヘッドを通過しテープ位置を示す信
号を発生する毎に、テープ位置を示す信号に対応させて
磁気テープの当該テープ位置に記録したデータブロック
のID番号、および磁気テープに記録された一連のデー
タブロックからなるファイルの区切りを示すテープマー
クの前または後に記録されているデータブロックのID
番号を記録させ、スペースファイルコマンドが転送され
てきたとき、スペースファイルコマンドで指定されたフ
ァイルに対応するテープマークに対するデータブロック
のID番号を読出し、該読出したID番号に最も近いI
D番号が記録されているテープ位置を読出し、この読出
したテープ位置まで高速で磁気テープを駆動するように
したので、指定ファイルへの位置付を短時間で行なうこ
とができる。
As described above, according to the present invention, which has been made to achieve the first object, the tape is read every time the magnetic tape passes the write / read head and generates a signal indicating the tape position. position to correspond to the signal indicating to record the ID number of the data blocks recorded on the tape position of the magnetic tape, b if locate command was specifically be forwarded, b
Since the signal indicating the tape position that has the ID number closest to the ID number specified by the GATE command is read and the magnetic tape is driven at high speed up to the read tape position, the magnetic tape can be positioned at the specified position in a short time. You can
According to the present invention made to achieve the second object, each time the magnetic tape passes the write / read head and generates a signal indicating the tape position, the magnetic tape of the magnetic tape is caused to correspond to the signal indicating the tape position. The ID number of the data block recorded at the tape position and the ID of the data block recorded before or after the tape mark indicating the delimiter of the file consisting of a series of data blocks recorded on the magnetic tape.
The number is recorded and the space file command is transferred.
Then, the ID number of the data block for the tape mark corresponding to the file specified by the space file command is read, and the I number closest to the read ID number is read.
Since the tape position where the D number is recorded is read and the magnetic tape is driven at a high speed to the read tape position, the position of the designated file can be determined in a short time.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

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

【図3】同実施例のデータ書込時の動作フローチャート
である。
FIG. 3 is an operation flowchart at the time of writing data in the embodiment.

【図4】同実施例のロケートコマンド時の動作フローチ
ャートである。
FIG. 4 is an operation flowchart at the time of a locate command in the embodiment.

【図5】同実施例のスペースファイルコマンド時の動作
フローチャートである。
FIG. 5 is an operation flowchart for a space file command in the embodiment.

【図6】同実施例の装置動作開始および終了時の動作フ
ローチャートである。
FIG. 6 is an operation flowchart at the start and end of the operation of the apparatus of the embodiment.

【図7】磁気テープのデータ記録の具体例である。FIG. 7 is a specific example of data recording on a magnetic tape.

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

1 テープ位置信号発生手段 2 テープ位置ID記録手段 3 ロケートコマンド位置付手段 4 テープマークID記録手段 5 スペースファイルコマンド位置付手 11 セ クタID記録部 12 セクタID書込部 13 ロケートコマンド位置付部 14 テープマークID記録部 15 テープマークID書込部 16 スペースファイルコマンド位置付 20 セ クタカウンタ 21 テープマークカウンタ 22,23 インタフェース(I/O) 24 制御部 25 プロセッサ(CPU) 31 ホストI/O制御部 32 ライトフォマッタ(WFMT) 33 リードフォマッタ(RFMT) 34 書込読出ヘッド 35 リール 36 磁気テープ 37 駆動部 38 セクタ信号発生部1 tape position signal generating means 2 tape position ID recording means 3 Locate command positions with means 4 tape mark ID recording means 5 a space file command position with hands stage 11 sector ID recording unit 12 sector ID writing unit 13 Locate command position with portions 14 tape mark ID recording unit 15 tape mark ID writing unit 16 space file command position with section 20 sectors counter 21 tape mark counter 22 and 23 interface (I / O) 24 control unit 25 the processor (CPU) 31 host I / O Control unit 32 Write formatter (WFMT) 33 Read formatter (RFMT) 34 Write / read head 35 Reel 36 Magnetic tape 37 Drive unit 38 Sector signal generation unit

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 書込読出ヘッドによって、ホスト装置よ
りのデータをデータブロック毎にID番号を付して磁気
テープに記録し、該記録したデータを前記磁気テープか
ら読出す磁気テープ装置において、 (a)前記磁気テープが前記書込読出ヘッドを通過する
テープ位置を示す信号を前記磁気テープの予め定められ
た所定のテープ位置において順次発生するテープ位置信
号発生手段(1)と、 (b)前記磁気テープへのデータの記録時に、前記テー
プ位置信号発生手段(1)が前記テープ位置を示す信号
を発生する毎に該テープ位置を示す信号に対応させて
磁気テープの当該テープ位置に記録した前記データブ
ロックのID番号を記録するテープ位置ID記録手段
(2)と、 (c)前記ホスト装置よりのロケートコマンドを受信し
た時に、該受信したロケートコマンドで指定される前記
データブロックのID番号に最も近いID番号が記録さ
れている前記テープ位置を示す信号を前記テープ位置I
D記録手段(2)より読出し、該読出した前記テープ位
置を示す信号と同一の信号を前記テープ位置信号発生手
段(1)が発生するまで前記磁気テープを高速で駆動さ
、その後前記磁気テープを低速の通常速度で駆動させ
て当該磁気テープに記録されている前記データブロック
のID番号を前記書込読出ヘッドによって読出し、該読
出した前記データブロックのID番号が前記ロケートコ
マンドで指定される前記データブロックのID番号と一
致したとき前記磁気テープの駆動を停止して位置付けを
終了するロケートコマンド位置付手段(3)と、を備え
たことを特徴とする磁気テープ装置。
By 1. A write and read head, and recorded on the magnetic tape are denoted by the ID number data for each data block from the host device, in reading the magnetic tape unit from the magnetic tape the recorded data, ( sequentially and tape position signal generating means (1) for generating at a signal indicating the tape position where a) the magnetic tape passes the write and read head a predetermined tape position a predetermined of said magnetic tape, (b) the at the data to the magnetic tape recording, the tape position signal generating means (1) before in association with a signal indicating the tape position for each for generating a signal indicating the tape position
Serial and tape position ID recording means for recording the ID number of the data blocks recorded on the tape position of the magnetic tape (2), when receiving a locate command from (c) the host device, in the Locate command thus received the <br/> data the block closest to the ID number in the ID number is recorded the signal indicating the tape position tape position I designated
Read from D recording means (2), is driven at a high speed the magnetic tape to the said same signal as a signal indicating the tape position tape position signal generating means (1) is generated that issued said read, then the magnetic tape Drive at low normal speed
The data block recorded on the magnetic tape
Read the ID number of the
The ID number of the data block issued is the locate code.
ID number of the data block specified by the command
When doing so, stop the drive of the magnetic tape and position it
A locate command positioning means (3) for terminating, and a magnetic tape device.
【請求項2】 前記テープ位置信号発生手段(1)が発
生する前記テープ位置を示す信号は、巻取リールに巻取
られている前記磁気テープの径値に基づいて発生するセ
クタ信号であることを特徴とする請求項1記載の磁気テ
ープ装置。
2. A signal indicating the tape position the tape position signal generating means (1) occurs, it is a sector signal generated on the basis of diameter values of the magnetic tape which is wound on the take-up reel The magnetic tape device according to claim 1, wherein:
【請求項3】 前記テープ位置ID記録手段(2)に記
録されている前記ID番号を、磁気テープ装置の動作終
了時に前記磁気テープに記録させ、該記録されている
ID番号を磁気テープ装置の動作開始時に前記磁気テ
ープから読出して前記テープ位置ID記録手段(2)に
記録させるようにしたことを特徴とする請求項1または
2記載の磁気テープ装置。
The method according to claim 3, wherein the ID number recorded on the tape position ID recording means (2), is recorded on the magnetic tape during operation the end of the magnetic tape device, before being the recording
Serial ID number tape device according to claim 1, wherein in that from the magnetic tape at the start of operation of the magnetic tape apparatus so as to record on the tape position ID recording means reads (2).
【請求項4】 書込読出ヘッドによって、ホスト装置よ
りのデータをデータブロック毎にID番号を付すととも
に一連の前記データブロックからなるファイルの区切り
を示すテープマークを付して磁気テープに記録し、該記
録したデータを前記磁気テープから読出す磁気テープ装
置において、 (a)前記磁気テープが前記書込読出ヘッドを通過する
テープ位置を示す信号を磁気テープの予め定められた所
定のテープ位置において順次発生するテープ位置信号発
生手段(1)と、 (b)前記磁気テープへのデータの記録時に、前記テー
プ位置信号発生手段(1)が前記テープ位置を示す信号
を発生する毎に該テープ位置を示す信号に対応させて
磁気テープの当該テープ位置に記録した前記データブ
ロックのID番号を記録するテープ位置ID記録手段
(2)と、 (c)前記磁気テープに記録された前記テープマークの
前または後に記録されている前記データブロックのID
番号を記録するテープマークID記録手段(4)と、 (d)前記ホスト装置よりのスペースファイルコマンド
を受信した時に、該受信した前記スペースファイルコマ
ンドによって指定された前記ファイルに対応するテープ
マークに対する前記データブロックのID番号を前記テ
ープマークID記録手段(4)より読出し、該読出した
前記ID番号に最も近いID番号が記録されている前記
テープ位置を前記テープ位置ID記録手段(2)より読
出し、該読出した前記テープ位置を示す信号と同一の信
号を前記テープ位置信号発生手段(1)が発生するまで
前記磁気テープを高速で駆動させ、その後前記磁気テー
プを低速の通常速度で駆動させて当該磁気テープに記録
されている前記データブロックのID番号を前記書込読
出ヘッドによって読出し、該読出した前記データブロッ
クのID番号が前記ファイルに対応するテープマークに
対する前記データブロックのID番号と一致したとき前
記磁気テープの駆動を停止して位置付けを終了するスペ
ースファイルコマンド位置付手段(5)と、を備えたこ
とを特徴とする磁気テープ装置。
4. A write / read head attaches an ID number to data from a host device for each data block.
A file delimiter consisting of a series of the above data blocks
Were recorded on the magnetic tape are denoted by the tape mark indicating signal indicating in the recorded reading magnetic tape unit from the magnetic tape data, the tape position that passes through (a) the magnetic tape is the write and read head the tape position signal generating means for sequentially generating the predetermined predetermined tape position of the magnetic tape (1), (b) the at the time of recording data to the magnetic tape, the tape position signal generating means (1) is the before so as to correspond to a signal indicating the tape position for each for generating a signal indicating the tape position
A serial tape position ID recording means for recording the ID number of the data blocks recorded on the tape position of the magnetic tape (2), are recorded before or after the tape mark recorded in (c) said magnetic tape ID of the data block
A tape mark ID recording means for recording the number (4), corresponding in (d) of the when receiving space file command from the host device, the file specified by the space file piece <br/> command thus received read from the tape mark ID recording means the ID number of the data block to the tape mark (4) which, issued said read
Said tape position most the closest ID number is recorded <br/> read from the tape position ID recording section of the tape position (2), said read the same signal and the signal indicative of the tape position that issued the ID number Until the signal generation means (1) is generated
The magnetic tape is driven at high speed, and then the magnetic tape is
Drive at a low normal speed to record on the magnetic tape.
Write and read the ID number of the data block
The data is read by the output head and the read data block is read.
The ID number of the clip is the tape mark corresponding to the file.
Before when the ID number of the corresponding data block matches
Magnetic tape apparatus characterized by serial and space file command position with means you exit the positioned stops driving the magnetic tape (5), comprising a.
【請求項5】 前記テープ位置信号発生手段(1)が発
生する前記テープ位置を示す信号は、巻取リールに巻取
られている前記磁気テープの径値に基づいて発生するセ
クタ信号であることを特徴とする請求項4記載の磁気テ
ープ装置。
Signal indicating the tape position wherein said tape position signal generating means (1) occurs, it is a sector signal generated on the basis of diameter values of the magnetic tape which is wound on the take-up reel The magnetic tape device according to claim 4, wherein
JP23491093A 1993-09-21 1993-09-21 Magnetic tape unit Expired - Fee Related JP3514494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23491093A JP3514494B2 (en) 1993-09-21 1993-09-21 Magnetic tape unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23491093A JP3514494B2 (en) 1993-09-21 1993-09-21 Magnetic tape unit

Publications (2)

Publication Number Publication Date
JPH0793956A JPH0793956A (en) 1995-04-07
JP3514494B2 true JP3514494B2 (en) 2004-03-31

Family

ID=16978210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23491093A Expired - Fee Related JP3514494B2 (en) 1993-09-21 1993-09-21 Magnetic tape unit

Country Status (1)

Country Link
JP (1) JP3514494B2 (en)

Also Published As

Publication number Publication date
JPH0793956A (en) 1995-04-07

Similar Documents

Publication Publication Date Title
US3950782A (en) Data storage and retrieval systems for use with plural track storage medium
JPH0713702A (en) System and method for reading out and processing of plurality of data blocks stored in storage medium
EP0628205A1 (en) Volume format table for data recording system
EP0628196B1 (en) Data recording system having unique end-of-recording and start-of-recording format indicators
US4223390A (en) System and method for attaching magnetic storage devices having dissimilar track capacities and recording formats
KR100465561B1 (en) Editing apparatus and editing method
JP3514494B2 (en) Magnetic tape unit
EP0628203B1 (en) Data recording system having demarking capability and method
US4814904A (en) Method of controlling erasing following format writing in a magnetic disc apparatus
EP1035545A1 (en) Recording device and method, reproducing device and method, and recording medium
US5517599A (en) Data recording system and method having logical overrecording capability
US5341378A (en) Data recording system having improved automatic rewrite capability and method of rewriting
JPH09161405A (en) Recording and reproducing device
JPS60207938A (en) Magnetic tape device and its accessing method
JP2797991B2 (en) Data retrieval system and data retrieval device for cartridge magnetic tape
JPH0650802Y2 (en) Storage content erasing device of disk storage device
JPH0626964Y2 (en) Magnetic tape device
JPS601670A (en) Data recording method and data recorder used for said recording method
JPH0258786A (en) Method for recording index information of rotary head type digital audio tape recorder
JPH031349A (en) Magnetic recording and reproducing device
JPS60226048A (en) Magnetic tape storage device
JP2003272299A (en) Recording medium, recording method, and recording apparatus
JPS6080189A (en) Pcm recording and reproducing device
JPH0743852B2 (en) Block positioning control method in magnetic tape device
JP2001297538A (en) Digital data storage device

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: 20040106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040113

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

Free format text: PAYMENT UNTIL: 20080123

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090123

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100123

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110123

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees