JP2533484B2 - Magnetic tape control system - Google Patents

Magnetic tape control system

Info

Publication number
JP2533484B2
JP2533484B2 JP61049566A JP4956686A JP2533484B2 JP 2533484 B2 JP2533484 B2 JP 2533484B2 JP 61049566 A JP61049566 A JP 61049566A JP 4956686 A JP4956686 A JP 4956686A JP 2533484 B2 JP2533484 B2 JP 2533484B2
Authority
JP
Japan
Prior art keywords
track
magnetic tape
directory
block
directory 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 - Fee Related
Application number
JP61049566A
Other languages
Japanese (ja)
Other versions
JPS62208486A (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 JP61049566A priority Critical patent/JP2533484B2/en
Publication of JPS62208486A publication Critical patent/JPS62208486A/en
Application granted granted Critical
Publication of JP2533484B2 publication Critical patent/JP2533484B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔概 要〕 サーペンタイン記録方式による磁気テープ装置におい
て、磁気テープのユーザーデータ書込エリア間に各トラ
ックのユーザーデータ書込エリア内の状態を示す情報を
記録したディレクトリブロックを設け、該ディレクトリ
ブロックを読出して、読出された情報に基いて磁気ヘッ
ドを位置決めするようにしたものである。
DETAILED DESCRIPTION OF THE INVENTION [Summary] In a magnetic tape device using a serpentine recording system, a directory block in which information indicating a state in a user data writing area of each track is recorded between user data writing areas of a magnetic tape. The directory block is read, and the magnetic head is positioned based on the read information.

〔産業上の利用分野〕[Industrial applications]

本発明は磁気テープ位置付けのための制御装置に関す
るものであり、より特定的にはサーペンタイン記録方式
における磁気テープ制御方式に関するものである。
The present invention relates to a controller for positioning a magnetic tape, and more particularly to a magnetic tape control system in a serpentine recording system.

〔従来の技術、および、発明が解決しようとする問題点〕[Prior art and problems to be solved by the invention]

磁気テープ上に複数のトラックが設けられている場
合、該トラック上のデータをアクセスするに際し、磁気
テープを走行させて、第1のトラックに対して正方向で
アクセスした後、次の第2のトラックに対しては、磁気
ヘッドが磁気テープの走行方向と直交する方向に1トラ
ック分させ移動逆方向でアクセスし、以下、順次、磁気
ヘッドを移動させて正方向、逆方向、蛇行的にアクセス
するサーペンタイン記録方式が知られている。
When a plurality of tracks are provided on the magnetic tape, when the data on the tracks is accessed, the magnetic tape is run to access the first track in the forward direction and then the second For the tracks, the magnetic head moves one track in the direction orthogonal to the running direction of the magnetic tape to access in the reverse direction, and then the magnetic head is sequentially moved to access in the forward direction, the reverse direction, and the meandering direction. A known serpentine recording method is known.

しかしながら、このようなサーペンタイン記録方式
は、各トラックを正逆方向に順次シーケンシャルにアク
セスしていくので、所定のトラックに迅速にアクセスす
ることができないという問題がある。
However, such a serpentine recording method has a problem that a predetermined track cannot be quickly accessed because each track is sequentially and sequentially accessed in the forward and reverse directions.

〔問題を解決するための手段、および、作用〕[Means and Actions for Solving Problems]

本発明は上述の問題を解決し、サーペンタイン記録方
式の磁気テープ装置においても、任意のトラックの任意
の位置に迅速に磁気ヘッドの位置決めを可能とするもの
である。
The present invention solves the above-described problems and enables a magnetic head device of a serpentine recording system to quickly position a magnetic head at an arbitrary position on an arbitrary track.

従って、本発明においては、複数のトラックが長手方
向に設けられ、該トラックの各々に複数のデータ書込ブ
ロックが設けられた磁気テープをサーペンタイン方式に
よりアクセスするようにした磁気テープ制御方式におい
て、前記磁気テープの少くとも1つのトラック上のデー
タ書込ブロック間にそれぞれディレクトリブロックを設
け、該ディレクトリブロックに、該当するデータ書込ブ
ロックのそれぞれのトラックの有効性ビット、および当
該トラックのデータ書込ブロック内のデータ内容を示す
情報を書込む。次に、ファイルサーチ等の動作時には、
上記ディレクトリブロックの内容を読み出すことによ
り、該当するトラックのデータ書込ブロックの情報が得
られるために、この情報に基づいて磁気ヘッドの位置付
けを行う。
Therefore, according to the present invention, in the magnetic tape control method in which a plurality of tracks are provided in the longitudinal direction, and a magnetic tape having a plurality of data writing blocks on each of the tracks is accessed by the serpentine method, A directory block is provided between data write blocks on at least one track of the magnetic tape, and the validity bit of each track of the corresponding data write block and the data write block of the track are provided in the directory block. Write the information that shows the data contents in the. Next, at the time of operation such as file search,
By reading the contents of the directory block, the information of the data write block of the corresponding track can be obtained, and the magnetic head is positioned based on this information.

この結果、本発明においては、サーペンタイン方式に
より該当トラックをアクセスする場合でも、迅速に位置
付けを行うことが可能となる。
As a result, in the present invention, it is possible to perform positioning quickly even when the corresponding track is accessed by the serpentine method.

〔実施例〕〔Example〕

第1図は本発明の一実施例としての磁気テープ内の構
成図を示す。
FIG. 1 is a block diagram showing the inside of a magnetic tape as an embodiment of the present invention.

第1図において、磁気テープ1は、トラック0 TRK 0
からトラック5 TRK 5までの6トラックが磁気テープの
走行方向に平行して設けられている。各々のトラックは
また、走行方向に沿って、複数のユーザーデータ書込エ
リア11,12,13が設けられている。またこれらのエリア間
にはディレクトリブロック22,23が設けられており、デ
ィレクトリブロック22がデータ書込エリア11に対応して
いる。
In FIG. 1, the magnetic tape 1 is track 0 TRK 0
6 tracks from 5 to TRK 5 are provided in parallel with the running direction of the magnetic tape. Each track is also provided with a plurality of user data writing areas 11, 12, 13 along the traveling direction. Directory blocks 22 and 23 are provided between these areas, and the directory block 22 corresponds to the data writing area 11.

ディレクトリブロック22の内容は、第2図に図示の如
く、1トラック当り2バイト(16ビット)のワードで各
トラックの状態を示している。すなわち、バイドアドレ
ス(B.ADD)00はトラック0 TRK 0に対応し、15ビット目
が“1"の場合トラック0 TRK 0にデータが無いこと、
“0"の場合トラック0 TRK 0にデータが有ることを示
し、14−0ビット内にファイルマーク数を保存するよう
にしている。
As shown in FIG. 2, the contents of the directory block 22 indicate the state of each track with a word of 2 bytes (16 bits) per track. That is, the bind address (B.ADD) 00 corresponds to track 0 TRK 0, and if the 15th bit is “1”, there is no data on track 0 TRK 0.
When it is "0", it indicates that there is data in track 0 TRK 0, and the number of file marks is stored in 14-0 bits.

サーペンタイン記録方式においては、通常各トラック
は、第1図の矢印A1→A2→A3→A4→A5→A6→A7→A8→A9
→A10→A11の如く進行していく。矢印A2,A4,A6,A8,A10
で磁気ヘッドの移動が行なわれる。また方向A3,A7,A11
は、正方向A1,A5,A9と逆行している。
In the serpentine recording method, normally each track is indicated by an arrow A 1 →A 2 →A 3 →A 4 →A 5 →A 6 →A 7 →A 8 →A 9
→A 10 →A 11 Arrow A 2 ,A 4 ,A 6 ,A 8 ,A 10
The magnetic head is moved by. The direction A 3 ,A 7 ,A 11
Is reverse to the forward directions A 1 , A 5 , and A 9 .

第3図の回路を参照して以下制御動作について述べ
る。
The control operation will be described below with reference to the circuit of FIG.

トラック0 TRK 0の始めBからアクセスすべきライト
系(書込系)の命令が発信されると、先ず、ディレクト
リブロックの各バイトのビット15のトラック不良ビット
を全てクリアし、ディレクトリブロックをイニシャライ
ズした後に、ユーザーデータ書込エリアに書き込みを開
始する。
When a write-related (write-related) command to be accessed is transmitted from the beginning B of track 0 TRK 0, first, all the track defective bits of bit 15 of each byte of the directory block are cleared and the directory block is initialized. After that, writing is started in the user data writing area.

磁気テープ制御装置(図示せず)内に第3図に図示の
カウンタ110、レジスタ111,112およびディレクトリブロ
ックデータ書込回路113が設けられている。カウンタ110
は、上部イニシャライズ時にクリアされている。またカ
ウンタ110は、トラック開始信号S−TRK−Sによっても
クリアされる。一方、カウンタ110にはファイルマーク
検出信号S−FMDが印加されており、上記データ書込エ
リアへのデータ書込みに応じて検出されるファイルマー
ク検出信号を計数する。
A magnetic tape controller (not shown) is provided with a counter 110, registers 111 and 112, and a directory block data writing circuit 113 shown in FIG. Counter 110
Has been cleared at the time of initializing. The counter 110 is also cleared by the track start signal S-TRK-S. On the other hand, the file mark detection signal S-FMD is applied to the counter 110, and counts the file mark detection signal detected in response to the data writing in the data writing area.

トラック0 TRK 0の終端Eに達したとき、カウンタ110
で計数されたトラック0 TRK 0で書き込まれているファ
イルマーク数をレジスタ111に記憶する。
When the end E of track 0 TRK 0 is reached, counter 110
The number of file marks written in track 0 TRK 0 counted in step 1 is stored in the register 111.

トラック1 TRK 1に磁気ヘッドを移動してトラック1 T
RK 1の始端Bに磁気テープを移動させる。このときカウ
ンタ110トラック1 TRK 1のトラック開始信号S−TRK−
Sによりクリアされる。データ書込みに伴って磁気テー
プが走行しトラック1 TRK 1の終端Eまで達したときカ
ウンタ10の内容をレジスタ12に移し、磁気ヘッドをトラ
ック0 TRK 0に移動してディレクトリブロック22の内容
を読み取り、ディレクトリデータのトラック0及びトラ
ック1にデータが有ることを示す“0"とレジスタ111,11
2に保存されたファイルマーク数を該当バイトアドレス
にディレクトリブロックデータ書込回路113を介して書
き込む。以下トラック2 TRK 2をセレクトして上記同様
の処理を行なう。もしトラックnの途中でライト系命令
実行後、リワインド命令又はアンロード命令あるいはマ
ニュアルアンロードがなされた場合、EOD(End of Dat
a)ブロックを書き込み、そのトラックの終端までデー
タを消去した後、ディレクトリブロックを読み出し、
(n+1)番目以降のトラックにデータが有ることを示
す“0"の各々を、データが無いことを示す“1"にしてデ
ィレクトリブロック22を更新する。
Move the magnetic head to track 1 TRK 1 to move track 1 T
Move the magnetic tape to the starting end B of RK 1. At this time, the counter 110 track 1 TRK 1 track start signal S-TRK-
Cleared by S. When the magnetic tape runs along with data writing and reaches the end E of track 1 TRK 1, the contents of counter 10 are transferred to register 12, the magnetic head is moved to track 0 TRK 0, and the contents of directory block 22 are read. "0" indicating that there is data in the track 0 and track 1 of the directory data and the registers 111 and 11
The number of file marks stored in 2 is written to the corresponding byte address via the directory block data writing circuit 113. Then select track 2 TRK 2 and perform the same process as above. If a rewind command, an unload command, or a manual unload is executed after executing a write command in the middle of track n, EOD (End of Dat)
a) Write a block, erase the data to the end of that track, then read the directory block,
The directory block 22 is updated by setting "0" indicating that there is data in the (n+1)th and subsequent tracks to "1" indicating that there is no data.

実行中のトラックで読み取り系の命令のみを実行した
場合は、ディレクトリブロックのアクセスはしない。
The directory block is not accessed when only read commands are executed on the track being executed.

以上により、ディレクトリブロックには最新のファイ
ル情報がトラック毎に記録されているので、マルチファ
イルスペース命令が上位装置例えばコンピュータにより
発信されたとき、前記ディレクトリブロックを読むこと
により、目的ファイルがどのトラック上にあるかを迅速
かつ容易に求めることができ、前記上位装置からの命令
の実行時間を短縮することができる。
As described above, since the latest file information is recorded in the directory block for each track, when the multi-file space command is transmitted by the host device, for example, the computer, by reading the directory block, the target file is recorded It is possible to quickly and easily determine whether or not there is an error, and it is possible to reduce the execution time of an instruction from the host device.

又本発明の他の実施例としては、ディレクトリデータ
を保存するメモリを磁気テープ制御装置内に設け、磁気
テープがロードされるときディレクトリデータを読取
り、上記メモリに記憶し、各トラックの処理終了時にメ
モリ内容を更新する。そして磁気テープのアンロード動
作を行ったときのみディレクトリブロックの内容を書き
替えることも可能である。
In another embodiment of the present invention, a memory for storing directory data is provided in the magnetic tape control device, the directory data is read when the magnetic tape is loaded and stored in the memory, and at the end of processing of each track. Update memory contents. The contents of the directory block can be rewritten only when the magnetic tape is unloaded.

このような方法によれば、磁気テープ上のディレクト
リブロックをアクセスする回数が減少するから処理時間
の短縮が一層図ることができる。また各トラックの途中
で、マルチスペースファイル命令を受けつけたときで
も、そのトラック位置から目的のトラックに磁気ヘッド
を移動させることが可能となる。
According to such a method, the number of times the directory block on the magnetic tape is accessed is reduced, so that the processing time can be further shortened. Further, even when a multi-space file command is received in the middle of each track, the magnetic head can be moved from the track position to the target track.

上記実施例において、ディレクトリブロック22は、任
意のトラックにおくことができる。又、ユーザーデータ
書込エリア11に対するディレクトリブロックとして図示
のディレクトリブロック22とすることができる。すなわ
ち、ディレクトリブロックは、各ユーザーデータ書込エ
リア相互間の任意の位置に設けることができる。
In the above embodiment, the directory block 22 can be placed on any track. Further, a directory block 22 shown in the figure can be used as the directory block for the user data writing area 11. That is, the directory block can be provided at any position between the respective user data writing areas.

〔発明の効果〕〔The invention's effect〕

以上に述べたように本発明によれば、サーペンタイン
記録方式の磁気テープ位置付け制御装置においても、デ
ィレクトリブロックの内容を読むことにより各トラック
をシーケンシャルにアクセスする必要がなくなるので、
特定のトラックへの位置付けに要する時間を従来よりも
短くすることが可能となる。
As described above, according to the present invention, even in the magnetic tape positioning control device of the serpentine recording system, it is not necessary to sequentially access each track by reading the contents of the directory block.
It is possible to shorten the time required for positioning on a specific track as compared with the conventional case.

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

第1図は本発明の一実施例にもとづく磁気テープの構成
図、 第2図は第1図のディレクトリブロックの内容を示す
図、 第3図は、ディレクトリブロックにデータを書込むため
の回路図、である。 (符号の説明) 1……磁気テープ、 11〜13……ユーザーデータ書込エリア、 22,23……ディレクトリブロック、 110……カウンタ、 111,112……レジスタ、 113……ディレクトリブロックデータ書込回路。
1 is a block diagram of a magnetic tape according to an embodiment of the present invention, FIG. 2 is a diagram showing the contents of the directory block in FIG. 1, and FIG. 3 is a circuit diagram for writing data in the directory block. ,. (Description of symbols) 1... Magnetic tape, 11 to 13... User data writing area, 22,23... Directory block, 110... Counter, 111, 112... Register, 113... Directory block data writing circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のトラックが長手方向に設けられ、該
トラックの各々に複数のデータ書込ブロックが設けられ
た磁気テープをサーペンタイン方式によりアクセスする
ようにした磁気テープ制御方式において、 前記磁気テープの少くとも1つのトラック上のデータ書
込ブロック間にそれぞれディレクトリブロックを設け、 該ディレクトリブロックに、該当するデータ書込ブロッ
クのそれぞれのトラックの有効性ビット、および当該ト
ラックのデータ書込ブロック内のデータ内容を示す情報
を記録し、 前記ディレクトリブロックの内容に基いて磁気ヘッドの
位置付けを行うようにしたことを特徴とする、磁気テー
プ制御方式。
1. A magnetic tape control system in which a plurality of tracks are provided in a longitudinal direction, and a magnetic tape having a plurality of data writing blocks on each of the tracks is accessed by a serpentine system. Directory blocks are provided between the data write blocks on at least one of the tracks, and the directory block includes the validity bit of each track of the corresponding data write block and the data write block of the track. A magnetic tape control system characterized in that information indicating data contents is recorded and the magnetic head is positioned based on the contents of the directory block.
JP61049566A 1986-03-08 1986-03-08 Magnetic tape control system Expired - Fee Related JP2533484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61049566A JP2533484B2 (en) 1986-03-08 1986-03-08 Magnetic tape control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61049566A JP2533484B2 (en) 1986-03-08 1986-03-08 Magnetic tape control system

Publications (2)

Publication Number Publication Date
JPS62208486A JPS62208486A (en) 1987-09-12
JP2533484B2 true JP2533484B2 (en) 1996-09-11

Family

ID=12834752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61049566A Expired - Fee Related JP2533484B2 (en) 1986-03-08 1986-03-08 Magnetic tape control system

Country Status (1)

Country Link
JP (1) JP2533484B2 (en)

Also Published As

Publication number Publication date
JPS62208486A (en) 1987-09-12

Similar Documents

Publication Publication Date Title
JPH0245271B2 (en)
US4932014A (en) Data recording and reading system
JPH0572029B2 (en)
JPH0667805A (en) Method and device for controlling asynchronous dasd
JP2533484B2 (en) Magnetic tape control system
US5048004A (en) Optical recording medium recording and reproducing device
JP2006107720A (en) Data storage apparatus data storing method
US5999354A (en) Method and apparatus for recording/reproducing digital data and header information to/from areas of a tape record medium
US6525894B1 (en) Tape drive apparatus and method for mounting a volume from a tape medium
US5428755A (en) Method for automatically modifying program in a flash memory of a magnetic tape unit
JP2002074903A (en) Magnetic recording and reproducing device and magnetic recording and reproducing method
US8027109B1 (en) Reuse of partially expired physical tape volume
JPH0782708B2 (en) Additional data writing method
JP2625796B2 (en) Magnetic tape unit
JPS59221810A (en) Alternate sector device in magnetic storage device
JPS5816212B2 (en) Error retry control method
JP2854438B2 (en) Access control method for optical disk device
JPH0644248B2 (en) Cache memory positioning system
JP2745618B2 (en) Head repositioning method
KR100189927B1 (en) Hard disk drive control device and method
JP3204401B2 (en) Disk device
JPS5852248B2 (en) Read data length extraction method
JPH02178825A (en) Data transfer control system
JPH03271822A (en) Disk controller
KR980011265A (en) Hard disk drive control device and method thereof

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees