JP2595096B2 - Control method of magnetic tape unit and buffer memory - Google Patents

Control method of magnetic tape unit and buffer memory

Info

Publication number
JP2595096B2
JP2595096B2 JP16073289A JP16073289A JP2595096B2 JP 2595096 B2 JP2595096 B2 JP 2595096B2 JP 16073289 A JP16073289 A JP 16073289A JP 16073289 A JP16073289 A JP 16073289A JP 2595096 B2 JP2595096 B2 JP 2595096B2
Authority
JP
Japan
Prior art keywords
data
magnetic tape
recorded
buffer memory
recording
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
JP16073289A
Other languages
Japanese (ja)
Other versions
JPH0329166A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP16073289A priority Critical patent/JP2595096B2/en
Publication of JPH0329166A publication Critical patent/JPH0329166A/en
Application granted granted Critical
Publication of JP2595096B2 publication Critical patent/JP2595096B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気テープ装置に係り、特に既に記録されて
いるデータを書き換える機能を有する磁気テープ装置と
バッファメモリの制御方式に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic tape device, and more particularly, to a magnetic tape device having a function of rewriting already recorded data and a control method of a buffer memory.

〔従来の技術〕[Conventional technology]

磁気テープ装置では、通常テープ先頭から順番にデー
タの記録を行う。新しいデータを磁気テープに記録する
場合には、以前に記録されたデータの最後部に続けて新
ししデータの記録を行う、いわゆるアペンド方式の記録
を行う。
In a magnetic tape device, data is normally recorded in order from the head of the tape. When recording new data on a magnetic tape, so-called append-type recording is performed, in which new data is recorded following the last part of previously recorded data.

特開昭63−251971号公報には、磁気テープ装置におい
て、既に記録されているデータを書き換える。いわゆる
アップデート・イン・プレース方式の記録を可能とする
方法が開示されている。この方法では、データを適当な
単位でまとめたブロックを形成し、磁気テープに対して
はこのブロックを単位として記録再生を行う。磁気テー
プ上では、ブロックとブロックの間には適当な長さのア
ンブルが記録される。
JP-A-63-251971 rewrites already recorded data in a magnetic tape device. A method that enables a so-called update-in-place recording is disclosed. In this method, a block in which data is grouped in an appropriate unit is formed, and recording and reproduction are performed on a magnetic tape in units of this block. On the magnetic tape, an amble of an appropriate length is recorded between blocks.

第10図により、アップデート・イン・プレース方式に
よるデータ記録の概要を説明する。第10図(a)にアッ
プデート・イン・プレース方式を使用する場合の磁気テ
ープのフォーマットを示す。101,102,103は前述したデ
ータを適当な単位でまとめたブロックである。これらの
ブロックの間にはアンブルが記録される。ブロック(n
−1)101とブロック(n)102の間にはアンブル104
が、またブロック(n)102とブロック(n+1)103の
間にはアンブル105が記録される。これらのアンブルは
ここではLの長さを持つものとする。これらのブロック
の内、例えばブロック(n)102を書き換える場合につ
いて説明する。第10図(b)に示すように、ブロック
(n)102に新たに記録するデータ106の前後にそれぞれ
長さ1/2Lのアンブル107,108を付加した形で記録を行
う。このデータを第10図(a)でし示されるフォーマッ
トの磁気テープに記録した場合、第10図(c)に示すよ
うになる。この場合、書き換えるデータ(アンブルを含
む)の記録開始位置109,記録終了位置110とをアンブル
領域104,105の中となる。したがって、書き換え開始位
置がアンブル104の長さLの半分の長さまで前後にずれ
たとしても、書き換えにより、前後のブロックのデータ
に重ねて記録してしまったり、書き換えたブロック、こ
の場合ブロック(n)102の古いデータが残ったりする
ことはない。したがって磁気テープのフォーマットにお
けるアンブルの長さLは、この書き込み開始位置のずれ
量を考慮して決定される。
An outline of data recording by the update-in-place method will be described with reference to FIG. FIG. 10A shows the format of a magnetic tape when the update-in-place method is used. Reference numerals 101, 102, and 103 denote blocks in which the above-described data is collected in appropriate units. An amble is recorded between these blocks. Block (n
-1) An amble 104 exists between 101 and block (n) 102
However, an amble 105 is recorded between the block (n) 102 and the block (n + 1) 103. These ambles have a length of L here. A case in which, for example, block (n) 102 is rewritten among these blocks will be described. As shown in FIG. 10 (b), recording is performed in such a manner that ambles 107 and 108 each having a length of 1/2 L are added before and after data 106 to be newly recorded in the block (n) 102. When this data is recorded on a magnetic tape having the format shown in FIG. 10 (a), the result is as shown in FIG. 10 (c). In this case, the recording start position 109 and the recording end position 110 of the data (including the amble) to be rewritten are in the amble areas 104 and 105. Therefore, even if the rewriting start position is shifted back and forth to half the length L of the amble 104, the rewriting may cause the overwriting of the data of the preceding and succeeding blocks or the rewriting of the block, in this case the block (n The old data of 102 does not remain. Therefore, the length L of the amble in the format of the magnetic tape is determined in consideration of the shift amount of the write start position.

このように磁気テープ装置においても、磁気テープに
既に記録されているデータをある単位ごとに、上記の例
ではブロックを単位として書き換えることを可能とする
方法が考案されている。
As described above, also in the magnetic tape device, a method has been devised which enables data already recorded on the magnetic tape to be rewritten in units of a certain unit and in units of blocks in the above example.

磁気テープ装置では、磁気テープに対するデータの記
録に要する時間を短縮するためにバッファメモリが使用
される。磁気テープ装置では、データを磁気テープに記
録する場合に、記録開始位置への位置決め処理に時間を
要する。バッファメモリはこの記録開始位置への位置決
め処理の回数を減らすためのものである。たとえば、磁
気テープへのデータを記録する単位がブロックである場
合、1ブロックごとに磁気テープに逐次記録を行うので
はなく、バッファメモリに記録すべきデータを蓄え、数
ブロックをまとめて磁気テープに記録する。これによ
り、1ブロック毎に記録開始位置への位置決めを行う必
要がなく、その分だけデータ記録に要する時間を短縮す
ることが可能である。
In a magnetic tape device, a buffer memory is used to reduce the time required for recording data on a magnetic tape. In a magnetic tape device, when data is recorded on a magnetic tape, it takes time to perform positioning processing to a recording start position. The buffer memory is for reducing the number of times of positioning processing to the recording start position. For example, when the unit for recording data on the magnetic tape is a block, data to be recorded is stored in a buffer memory instead of sequentially recording data on the magnetic tape for each block, and several blocks are collectively recorded on the magnetic tape. Record. Accordingly, it is not necessary to perform positioning to the recording start position for each block, and it is possible to shorten the time required for data recording by that amount.

第2図にバッファメモリを使用する場合の構成を示
す。磁気テープ装置11と、磁気テープ装置11を記憶装置
として使用するホストコンピュータ13との間に、バッフ
ァメモリ12を設ける。磁気テープ装置11とバッファメモ
リ12はバス14により、またバッファメモリ12とホストコ
ンピュータ13はバス15により接続される。第11図により
バッファメモリの働きを簡単に説明する。第11図(a)
は磁気テープのフォーマットを示す。ブロック(n−
1)131,ブロック(n)132,ブロック(n+1)133が
テープ先頭側から順に記録されるものとする。バッファ
メモリ12が接続されておらず、バス15によりホストコン
ピュータ13と磁気テープ装置11が直接接続されている場
合を考える。第11図(b)に示すように、ホストコンピ
ュータ13はバス15により、ブロック(n−1)131に記
録すべきデータ134,ブロック(n)132に記録すべきデ
ータ135,ブロック(n+1)133に記録すべきデータ134
を磁気テープ装置11に対して転送するが、たとえばブロ
ック(n−1)131に記録すべきデータ134とブロック
(n)132に記録すべきデータ135の間には125に示す時
間的な空白が生じる。この時間は、ホストコンピュータ
13がブロック(n)132に記録すべきデータ135を用意す
るためなどに必要な時間である。ところがこのように時
間的空白が生じると、磁気テープ装置11は、ブロック
(n−1)131にデータ134を記録した後、一旦122に示
す位置でテープの走行を止め、ブロック(n)132に記
録するデータ135が転送されるのを持ち、データ135の転
送が始まった時点で記録開始位置への位置決めを行い、
ブロック(n)132へのデータ記録を行うこととなる。
このように、ホストコンピュータ13が磁気テープに記録
するデータを磁気テープ装置11に対して連続して転送で
きない場合、その都度、磁気テープ装置11では磁気テー
プの走行を止め、記録を開始する際に記録開始位置への
位置決めを行う必要がある。これに対して、第11図
(c)にバッファメモリ12が磁気テープ装置11とホスト
コンピュータ13の間に接続されている場合を示す。ホス
トコンピュータ13からバッファメモリ12に転送されるデ
ータは第11図(b)に示す場合と同じタイミングであっ
ても、一旦アッファメモリ12にデータを蓄えることによ
り、磁気テープ装置11にバッファメモリ12から転送され
るデータは連続したものとすることができる。バス15で
転送されるデータはブロック(n−1)131に記録する
データ134,ブロック(n)132に記録するデータ135,ブ
ロック(n+1)13に記録するデータ136が間に時間的
空白125,126を持った形で転送されても、バッファメモ
リ12に一旦蓄えることにより、バス14を通して磁気テー
プ装置11に転送される際には、ブロック(n−1)131
に記録するデータ134から、ブロック(n+1)133に記
録するデータ136までが連続した形となる。これにより
磁気テープ装置11ではブロック(n−1)131の記録開
始位置121からブロック(n+1)133の記録終了位置12
4までは連続して、テープを止めることなく記録を行う
ことが可能となり、バッファメモリ12が接続されていな
い場合に比べて、記録開始位置への位置決め回数を減ら
すことが可能となる。バッファメモリの容量が大きけれ
ば、それだけ記録開始位置への位置決め回数を減らすこ
とが可能である。
FIG. 2 shows a configuration when a buffer memory is used. A buffer memory 12 is provided between the magnetic tape device 11 and a host computer 13 that uses the magnetic tape device 11 as a storage device. The magnetic tape device 11 and the buffer memory 12 are connected by a bus 14, and the buffer memory 12 and the host computer 13 are connected by a bus 15. The operation of the buffer memory will be briefly described with reference to FIG. Fig. 11 (a)
Indicates the format of the magnetic tape. Block (n-
1) It is assumed that 131, block (n) 132, and block (n + 1) 133 are sequentially recorded from the head of the tape. It is assumed that the buffer memory 12 is not connected and the host computer 13 and the magnetic tape device 11 are directly connected by the bus 15. As shown in FIG. 11 (b), the host computer 13 sends data 134 to be recorded in the block (n-1) 131, data 135 to be recorded in the block (n) 132, and block (n + 1) 133 via the bus 15. 134 to be recorded in
Is transferred to the magnetic tape device 11. For example, there is a temporal gap 125 shown between data 134 to be recorded in the block (n-1) 131 and data 135 to be recorded in the block (n) 132. Occurs. This time, the host computer
Reference numeral 13 denotes a time required for preparing data 135 to be recorded in the block (n) 132. However, when such a time gap occurs, the magnetic tape device 11 records the data 134 in the block (n-1) 131, then temporarily stops the tape from running at the position indicated by 122, and returns to the block (n) 132. With the data 135 to be recorded being transferred, positioning to the recording start position is performed when the transfer of the data 135 is started,
Data recording to the block (n) 132 is performed.
As described above, when the host computer 13 cannot continuously transfer the data to be recorded on the magnetic tape to the magnetic tape device 11, the magnetic tape device 11 stops running the magnetic tape and starts recording each time. It is necessary to perform positioning to the recording start position. On the other hand, FIG. 11 (c) shows a case where the buffer memory 12 is connected between the magnetic tape device 11 and the host computer 13. Even if the data transferred from the host computer 13 to the buffer memory 12 has the same timing as that shown in FIG. 11B, the data is temporarily stored in the buffer memory 12 so that the data is transferred from the buffer memory 12 to the magnetic tape device 11. The data to be provided can be continuous. The data transferred on the bus 15 includes data 134 to be recorded in the block (n-1) 131, data 135 to be recorded in the block (n) 132, and data 136 to be recorded in the block (n + 1) 13. Even if it is transferred in the form of being held, it is temporarily stored in the buffer memory 12 so that when it is transferred to the magnetic tape device 11 through the bus 14, the block (n-1) 131
To the data 136 to be recorded in the block (n + 1) 133 are continuous. Thus, in the magnetic tape device 11, the recording start position 121 of the block (n-1) 131 is shifted from the recording end position 12 of the block (n + 1) 133.
Up to 4, recording can be performed continuously without stopping the tape, and the number of times of positioning to the recording start position can be reduced as compared with the case where the buffer memory 12 is not connected. If the capacity of the buffer memory is large, it is possible to reduce the number of times of positioning to the recording start position.

このような磁気テープ装置におけるバッファメモリに
よるデータ記録時間の短縮の方法に関しては、たとえば
「磁気記録最新技術と装置・機器」磁気記録最新技術と
装置・機器編集委員会編(総合技術出版社)の3章,
「3.1/2インチストリーマ型磁気テープ装置」に述べら
れている。
Regarding the method of shortening the data recording time by the buffer memory in such a magnetic tape device, for example, the latest magnetic recording technology and device / equipment, the latest magnetic recording technology and device / equipment editing committee (General Technology Publishing Company) Chapter 3,
"3.1 / 2 inch streamer type magnetic tape device".

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

前述したように、磁気テープ装置ではデータ記録時間
を短縮するためにバッファメモリが用いられる。
As described above, the buffer memory is used in the magnetic tape device to shorten the data recording time.

このようなバッファメモリを使用した磁気テープ装置
において、上記従来技術により開示されているようなア
ップデート・イン・プレース方式によるデータ記録を行
う場合を考える。
In a magnetic tape device using such a buffer memory, consider a case where data recording is performed by an update-in-place method as disclosed in the above-described related art.

第12図(a)に、アップデート・イン・プレース方式
によりデータ記録を行う領域,アップデート・イン・プ
レース領域を含むテープフォーマットを示す。この例で
は、ブロック(n)141からブロック(n+4)142まで
の5ブロックをアップデート・イン・プレース方式によ
り記録した後、ブロック(n+5)143からブロック
(n+9)144までもアペンド方式により記録を行った
ものである。この状態において、ホストコンピュータ13
から、次のような順序でデータ記録処理を指示された場
合を考える。(1)ブロック(n+10)145からブロッ
ク(n+13)146まで4ブロックをアペンド方式により
データを記録する。(2)ブロック(n+2)140にア
ップデート・イン・プレース方式によりデータを記録す
る。(3)(1)で記録したデータに続けて、ブロック
(n+14)147からブロック(n+17)148まで4ブロッ
クをアペンド方式で記録する。これらの処理により磁気
テープでのデータ記録状態は第12図(b)に示すものと
なる。これらの処理を実行する場合、バッファメモリに
は第12図(c)に示す形で磁気テープに記録するデータ
が蓄えられる。即ち、ブロック(n+10)145からブロ
ック(n+13)146までに記録するデータ149から150ま
で、それに続けてブロック(n+2)140に記録するデ
ータ151,ブロック(n+14)147からブロック(n+1
7)148までに記録するデータ152から153まで、という形
でバッファメモリに蓄えられる。このバッファメモリに
蓄えられたデータを磁気テープ装置11により磁気テープ
に記録する場合を考える。第12図(d)に示すように、
この場合、まず、154の位置において記録開始位置の位
置決めを行いブロック(n+10)145からブロック(n
+13)146を記録する。続いて、ブロック(n+2)140
にデータを記録するために、155の位置で記録開始位置
の位置決めを行う。ブロック(n+2)140の記録を行
った後、今度はブロック(n+14)147からブロック
(n+17)148を記録するために、156の位置で記録開始
位置の位置決めを行う。このようにバッファがメモリ接
続されているにも関わらず、磁気テープの記録開始位置
への位置決め回数は減少せず、データ記録時間の短縮を
行うことはできない。
FIG. 12A shows a tape format including an area in which data is recorded by the update-in-place method and an update-in-place area. In this example, after five blocks from block (n) 141 to block (n + 4) 142 are recorded by the update-in-place method, recording is performed also from block (n + 5) 143 to block (n + 9) 144 by the append method. It is a thing. In this state, the host computer 13
Consider the case where data recording processing is instructed in the following order. (1) Four blocks from the block (n + 10) 145 to the block (n + 13) 146 are recorded with the append method. (2) Data is recorded in block (n + 2) 140 by the update-in-place method. (3) Following the data recorded in (1), four blocks from the block (n + 14) 147 to the block (n + 17) 148 are recorded in the append system. By these processes, the data recording state on the magnetic tape is as shown in FIG. 12 (b). When these processes are performed, data to be recorded on the magnetic tape is stored in the buffer memory in the form shown in FIG. 12 (c). That is, data 149 to 150 to be recorded from block (n + 10) 145 to block (n + 13) 146, data 151 to be subsequently recorded to block (n + 2) 140, and block (n + 14) 147 to block (n + 1)
7) The data 152 to 153 to be recorded by 148 are stored in the buffer memory in the form. It is assumed that the data stored in the buffer memory is recorded on a magnetic tape by the magnetic tape device 11. As shown in FIG. 12 (d),
In this case, first, the recording start position is positioned at the position 154, and the block (n + 10) 145 to the block (n
+13) Record 146. Subsequently, block (n + 2) 140
In order to record data on the recording position, the recording start position is determined at the position 155. After recording the block (n + 2) 140, the recording start position is determined at the position 156 to record the block (n + 14) 147 to the block (n + 17) 148. Although the buffer is connected to the memory in this manner, the number of times of positioning the magnetic tape at the recording start position does not decrease, and the data recording time cannot be reduced.

これらの問題は、磁気テープにおいてアップデート・
イン・プレース方式の記録を行う場合、つまり、既に記
録されているデータの再記録を行う場合に起こるもので
ある。これらのアップデート・イン・プレース方式によ
り記録されたデータの再記録と、アペンド方式のデータ
記録によるデータの追加記録を行う場合、それぞれの記
録領域は磁気テープ上では離れた位置になるため、その
分だけ、記録開始位置への位置決め回数が増加すること
となる。
These issues are being updated and
This occurs when performing in-place recording, that is, when re-recording data that has already been recorded. When re-recording data recorded by these update-in-place methods and additionally recording data by append data recording, the respective recording areas are separated from each other on the magnetic tape. Only, the number of times of positioning to the recording start position increases.

以上、述べたように、従来の磁気テープ装置では、ア
ップデート・イン・プレース方式によるデータ記録を行
う場合に、バッファメモリが有効に機能しないという問
題点があった。
As described above, the conventional magnetic tape device has a problem that the buffer memory does not function effectively when performing data recording by the update-in-place method.

本発明の目的は、アップデート・イン・プレース方式
によるデータ記録を行う磁気テープ装置においても、バ
ッファメモリを接続することにより記録開始位置への位
置決め回数を減少することが可能な、磁気テープ装置と
バッファメモリの制御方式を提供することにある。
An object of the present invention is to provide a magnetic tape device and a buffer which can reduce the number of times of positioning to a recording start position by connecting a buffer memory even in a magnetic tape device which performs data recording by an update-in-place method. An object of the present invention is to provide a memory control method.

〔課題を解決するための手段〕[Means for solving the problem]

上記目的は、バッファメモリに蓄えられるデータに、
そのデータがアップデート・イン・プレース方式で記録
されるものであるか、アペンド方式で記録されるもので
あるかを示す情報を付加し、バッファメモリから磁気テ
ープにデータを記録する場合、アペンド方式により記録
を行うデータの磁気テープへの記録が全て終了した後、
アップデート・イン・プレース方式により記録を行うデ
ータの記録を行うように制御することにより達成され
る。
The purpose is to store the data stored in the buffer memory,
When adding data indicating whether the data is recorded in the update-in-place method or in the append method, and recording the data from the buffer memory to the magnetic tape, the append method is used. After the recording of the data to be recorded on the magnetic tape is completed,
This is achieved by controlling to record data to be recorded by the update-in-place method.

〔作用〕[Action]

磁気テープ上にアップデート・イン・プレース方式に
よりデータ記録を行う領域と、アペンド方式によりデー
タ記録を行う領域が混在する場合、前述したようにそれ
らの領域は磁気テープ上で離れた位置に存在することと
なる。バッファメモリに蓄えられるデータにそれぞれ、
そのデータがアップデート・イン・プレース方式により
記録されるデータであるのか、アペンド方式により記録
されるデータであるのかを示す情報を付加し、バッファ
メモリから磁気テープにデータを記録する場合には、こ
の情報を参照することにより、まず、アペンド方式で記
録するデータをまとめて記録する。この場合、アペンド
方式で記録を行うデータは、間にアップデート・イン・
プレース方式により記録するデータを挟まない場合は、
磁気テープ上に連続して記録されるデータである。した
がって、バッファメモリに蓄えられているアペンド方式
により記録を行うデータは全てのデータを1回の記録開
始位置への位置決めにより記録することが可能である。
続けて、記録せずにバッファメモリ内に保留されている
アップデート・イン・プレース方式によりデータ記録を
行うデータを磁気テープに記録する。これにより、少な
くともアペンド方式によるデータ記録を行うデータを磁
気テープに記録するための記録開始位置への位置決めは
1回で済むため、記録開始位置への位置決め回数を減少
することが可能であり、データ記録時間の短縮を行うこ
とが可能である。
If there are areas on the magnetic tape where data is to be recorded by the update-in-place method and areas where data is to be recorded by the append method, the areas must be separated on the magnetic tape as described above. Becomes Each of the data stored in the buffer memory
When adding data indicating whether the data is data to be recorded by the update-in-place method or data to be recorded by the append method, and recording the data from the buffer memory to the magnetic tape, By referring to the information, first, data to be recorded in the append system is collectively recorded. In this case, the data to be recorded in the append mode is updated in-between.
If you do not insert the data to be recorded by the place method,
This is data that is continuously recorded on a magnetic tape. Therefore, all the data stored in the buffer memory and recorded by the append method can be recorded by positioning one data at the recording start position.
Subsequently, data to be recorded by the update-in-place method which is not recorded but is held in the buffer memory is recorded on the magnetic tape. As a result, at least the positioning to the recording start position for recording the data to be recorded by the append method on the magnetic tape needs to be performed only once, and the number of times of positioning to the recording start position can be reduced. It is possible to shorten the recording time.

〔実施例〕〔Example〕

本発明の磁気テープ装置とそれに接続されたバッファ
メモリの制御方式の実施例を図面を参照しながら詳細に
説明する。
An embodiment of a magnetic tape device and a control method of a buffer memory connected thereto according to the present invention will be described in detail with reference to the drawings.

磁気テープ装置とバッファメモリは第2図に示す形で
接続される。磁気テープ装置11はバス14によりバッファ
メモリ12と、またバッファメモリ12はバス15により磁気
テープ装置11を記憶装置として使用するホストコンピュ
ータ13と接続される。
The magnetic tape device and the buffer memory are connected as shown in FIG. The magnetic tape device 11 is connected by a bus 14 to a buffer memory 12, and the buffer memory 12 is connected by a bus 15 to a host computer 13 using the magnetic tape device 11 as a storage device.

第1図に、第2図の構成における磁気テープへのデー
タ記録の処理の流れを示す。まずホストコンピュータ13
はバス15を通してバッファメモリ12に磁気テープに記録
するデータを転送する(ステップ1)。バッファメモリ
12では、転送されたデータにアペンド方式により磁気テ
ープに記録するデータであるか、アップデート・イン・
プレース方式により磁気テープに記録するデータである
かを示す情報を付加し、バッファメモリ12内に格納する
(ステップ2)。磁気テープ装置11はまずバッファメモ
リ12に格納されているデータの中からアペンド方式によ
り磁気テープに記録を行うデータを順番にバス14を通し
て受け取り、磁気テープに記録する(ステップ3)。こ
の時、ステップ2で付加した情報が使用される。バッフ
ァメモリ12内に格納されているアペンド方式により磁気
テープに記録を行うデータを全て磁気テープに記録した
後、バッファメモリ12内に格納されているアップデート
・イン・プレース方式により磁気テープに記録を行うデ
ータをバス14を通して受け取り、磁気テープに記録する
(ステップ4)。
FIG. 1 shows a flow of processing for recording data on a magnetic tape in the configuration of FIG. First host computer 13
Transfers the data to be recorded on the magnetic tape to the buffer memory 12 through the bus 15 (step 1). Buffer memory
In step 12, the transferred data is data to be recorded on a magnetic tape by the append method,
Information indicating whether the data is data to be recorded on a magnetic tape by the place method is added and stored in the buffer memory 12 (step 2). The magnetic tape device 11 first receives, from the data stored in the buffer memory 12, data to be recorded on the magnetic tape by the append system in order through the bus 14, and records the data on the magnetic tape (step 3). At this time, the information added in step 2 is used. After all the data to be recorded on the magnetic tape by the append method stored in the buffer memory 12 is recorded on the magnetic tape, the data is recorded on the magnetic tape by the update-in-place method stored in the buffer memory 12 The data is received through the bus 14 and recorded on a magnetic tape (step 4).

第3図に、バッファメモリ12内でフラグによりアップ
デート・イン・プレース方式により記録を行うデータ
と、アペンド方式により記録を行うデータとの区別を行
う実施例を示す。
FIG. 3 shows an embodiment in which data to be recorded by the update-in-place method is distinguished from data to be recorded by the append method in the buffer memory 12 using a flag.

ホストコンピュータ13からバッファメモリ12へのデー
タ転送におけるホストコンピュータ13の処理を第3図
(a)に示す。ホストコンピュータ13は、まずバッファ
メモリ12に空き領域があるか検査し(ステップ51)、も
し空き領域がある場合はバッファメモリ1に1ブロック
分のデータを転送する(ステップ52)。これらの処理を
磁気テープに記録すべき全てのデータの転送が終了する
まで(ステップ53)繰り返す。以上の処理が第1図ステ
ップ1に対応した処理となる。この時の、バッファメモ
リ12における処理を第3図(b)に示す。バッファメモ
リ12では、1ブロック分のデータを受け取る度に(ステ
ップ54)、そのデータがアップデート・イン・プレース
方式により記録を行うブロックであるか否かを判断し
(ステップ55)、もしアップデート・イン・プレース方
式によるデータ記録を行うブロックであれば、アップデ
ート・イン・プレース方式により記録を行うデータであ
ることを示すフラグ(アップデート・イン・プレース・
フラグ)を付加し(ステップ56)、またアペンド方式に
より記録を行うデータであれば、アペンド方式により記
録を行うデータであることを示すフラグ(アペンド・フ
ラグ)を付加して(ステップ57)バッファメモリ12に格
納する。これらの処理をホストコンピュータ13同様、磁
気テープに記録すべき全てのデータをバッファメモリ12
に格納するまで繰り返す(ステップ58)。以上の処理が
第1図ステップ2に対応する処理である。
FIG. 3A shows the processing of the host computer 13 in the data transfer from the host computer 13 to the buffer memory 12. The host computer 13 first checks whether there is a free area in the buffer memory 12 (step 51), and if there is a free area, transfers one block of data to the buffer memory 1 (step 52). These processes are repeated until the transfer of all data to be recorded on the magnetic tape is completed (step 53). The above processing is processing corresponding to step 1 in FIG. FIG. 3B shows the processing in the buffer memory 12 at this time. Each time one block of data is received (step 54), the buffer memory 12 determines whether or not the data is a block to be recorded by the update-in-place method (step 55). A flag indicating that the data is to be recorded by the update-in-place method if the block performs data recording by the place-method (update-in-place-data)
(Step 56), and if the data is data to be recorded by the append method, a flag (append flag) indicating that the data is data to be recorded by the append method is added (step 57). Store in 12. All these data to be recorded on the magnetic tape are stored in the buffer memory 12 like the host computer 13.
(Step 58). The above processing is processing corresponding to step 2 in FIG.

この時のバッファメモリの構成としては、データとと
もにそのデータを記録するブロックの番号、および前記
のフラグを格納できる形であればよい。例えば、第4図
(a)に示すように、バッファメモリに格納されるそれ
ぞれのデータ63の先頭にブロック番号を格納する領域61
と、アップデート・イン・プレース方式によるデータ記
録を行うかアペンド方式によるデータ記録を行うかを示
すフラグを格納する領域62を付加したものでもよい。ま
た第4図(b)に示すように、磁気テープに記録すべき
データを格納する領域64、そのデータを記録するブロッ
ク番号を格納する領域65、アップデート・イン・プレー
ス方式による記録を行うかアペンド方式による記録を行
うかのフラグを記憶する領域66を別々に設け、それぞれ
を対応させて管理してもよい。
The configuration of the buffer memory at this time is not limited as long as it can store the data together with the number of the block for recording the data and the flag. For example, as shown in FIG. 4A, an area 61 for storing a block number at the head of each data 63 stored in the buffer memory.
And an area 62 for storing a flag indicating whether to perform data recording by the update-in-place method or data recording by the append method. As shown in FIG. 4 (b), an area 64 for storing data to be recorded on the magnetic tape, an area 65 for storing a block number for recording the data, and whether the recording is performed by the update-in-place method or not. An area 66 for storing a flag indicating whether to perform recording according to the method may be provided separately and managed in association with each other.

第5図に、バッファメモリ12から磁気テープ装置11へ
のデータ転送の処理を示す。なお、図示しないが、磁気
テープ装置11では転送されたデータを磁気テープに記録
する。まずNに1を設定する(ステップ71)。ここでN
はバッファメモリ12に格納されているデータのホストコ
ンピュータ13から転送された順番を示す値である。つま
りN=1の場合、ホストコンピュータ13が最初にバッフ
メモリ12に転送したブロックのデータを、またN=2の
場合、その次にバッファメモリ12に転送したデータを示
す。磁気テープ装置11はまずバッファメモリ12に格納さ
れているホストコンピュータ13から最初に転送されたデ
ータ、つまりN=1のデータのフラグの検査を行う(ス
テップ72)。もしフラグにアペンド・フラグがセットさ
れていれば磁気テープ装置11に転送する(ステップ7
3)。図示されないが、磁気テープ装置11では転送され
たデータを磁気テープに記録する。続いて、Nに1を加
え(ステップ74)、バッファメモリに蓄えられているデ
ータを全て処理したか否かをチェックし(ステップ7
5)、全てのデータの処理を終了するまで以上の処理を
繰り返す。バッファメモリ12に蓄えられたデータに対す
る処理が全て終了した後、バッファメモリ内に残された
アップデート・イン・プレース・フラグがセットされて
いるデータを磁気テープ装置11に転送する(ステップ7
6)。
FIG. 5 shows a data transfer process from the buffer memory 12 to the magnetic tape device 11. Although not shown, the magnetic tape device 11 records the transferred data on a magnetic tape. First, N is set to 1 (step 71). Where N
Is a value indicating the order in which the data stored in the buffer memory 12 is transferred from the host computer 13. That is, when N = 1, the host computer 13 indicates the data of the block first transferred to the buffer memory 12, and when N = 2, it indicates the data transferred to the buffer memory 12 next. The magnetic tape device 11 first checks the flag of the data first transferred from the host computer 13 stored in the buffer memory 12, that is, the flag of N = 1 data (step 72). If the append flag is set in the flag, it is transferred to the magnetic tape device 11 (step 7).
3). Although not shown, the magnetic tape device 11 records the transferred data on a magnetic tape. Subsequently, 1 is added to N (step 74), and it is checked whether all data stored in the buffer memory has been processed (step 7).
5) Repeat the above processing until all data processing is completed. After all the processes for the data stored in the buffer memory 12 are completed, the data in which the update-in-place flag left in the buffer memory is set is transferred to the magnetic tape device 11 (step 7).
6).

以上の処理を、第6図に示した磁気テープにデータを
記録する場合を例に具体的に説明する。
The above process will be specifically described with an example in which data is recorded on the magnetic tape shown in FIG.

第6図において、ブロック(n)21からブロック(n
+3)22までの4ブロックは過去にアップデート・イン
・プレース方式により記録されたブロックである。ブロ
ック(n+4)23からブロック(n+9)24までの6ブ
ロックは過去にアペンド方式により記録されたブロック
である。前述したようにアップデート・イン・プレース
方式の場合はブロック間にアンブル部25,26,27,28,29が
記録される。この磁気テープにホストコンピュータ13の
指示によりデータ記録処理を行う場合について説明す
る。(1)ブロック(n+9)24に続けてアペンド方式
により5ブロック記録する。(2)ブロック(n+2)
30にアップデート・イン・プレース方式によりデータ記
録を行う。(3)(1)で記録したブロックに続けてア
ペンド方式により5ブロック記録する。
In FIG. 6, block (n) 21 to block (n)
+3) Four blocks up to 22 are blocks recorded by the update-in-place method in the past. Six blocks from block (n + 4) 23 to block (n + 9) 24 are blocks recorded in the past by the append method. As described above, in the case of the update-in-place method, amble parts 25, 26, 27, 28, and 29 are recorded between blocks. A case in which data recording processing is performed on the magnetic tape in accordance with an instruction from the host computer 13 will be described. (1) After the block (n + 9) 24, five blocks are recorded by the append method. (2) Block (n + 2)
Data recording is performed at 30 by the update-in-place method. (3) After the block recorded in (1), five blocks are recorded by append method.

これらの処理は、第6図(a)に示される磁気テープ
にデータを記録し、第6図(b)に示す形とすることに
なる。バッファメモリ12を第4図(a)に示した形で使
用する場合、これらの処理によりバッファメモリ12には
第7図に示す形でデータが蓄えられる。まず、ブロック
(n+10)31に記録するデータ201には、そのブロック
番号である(n+10)202と、アップデート・イン・プ
レース方式によるデータ記録を行わないことを示すため
にアンペンド・フラグをフラグ領域203にセットした形
で格納される。同様に、ブロック(n+14)32に記録す
るデータまで5ブロック分のデータがバッファメモリ12
に蓄えられる。次に、バッファメモリ12にはブロック
(n+2)30に記録するデータ204にそのブロック番号2
05と、アップデート・イン・プレース方式によるデータ
記録を行うことを示すアップデート・イン・プレース・
フラグがフラグ領域206にセットされた形でバッファメ
モリ12に蓄えられる。続いて、ブロック(n+15)33か
らブロック(n+19)34に記録するデータがバッファメ
モリ12に前記のブロック(n+10)31からブロック(n
+14)32に記録するデータと同様の形で蓄えられる。
In these processes, data is recorded on the magnetic tape shown in FIG. 6 (a), so that the data has the form shown in FIG. 6 (b). When the buffer memory 12 is used in the form shown in FIG. 4 (a), data is stored in the buffer memory 12 in the form shown in FIG. 7 by these processes. First, in the data 201 to be recorded in the block (n + 10) 31, the block number (n + 10) 202 and an unpended flag to indicate that data recording by the update-in-place method is not performed are set in the flag area 203. It is stored in the form set in. Similarly, data for five blocks is stored in the buffer memory 12 until data to be recorded in the block (n + 14) 32.
Is stored in Next, the data 204 to be recorded in the block (n + 2) 30 has the block number 2
05 and update-in-place, which indicates that data is recorded by the update-in-place method
The flag is stored in the buffer memory 12 in a form set in the flag area 206. Subsequently, data to be recorded in the block (n + 15) 33 to the block (n + 19) 34 is stored in the buffer memory 12 from the block (n + 10) 31 to the block (n).
+14) Stored in the same manner as the data recorded in 32.

これらバッファメモリ12に蓄えられたデータは、第5
図に示した処理に従い、磁気テープ装置11に次の順序で
転送される。まず、ブロック(n+10)31からブロック
(n+14)32に記録するデータは、フラグ領域にアペン
ド・フラグがセットされているのでそのまま磁気テープ
装置11に転送され、また磁気テープ装置11はそれらのデ
ータを磁気テープに記録する。これらのデータに続けて
バッファメモリ12に格納されているデータはブロック
(n+2)30に記録するデータであるが、フラグ領域に
アップデート・イン・プレース・フラグがセットされて
いるので、磁気テープ装置11にはこの時点ではデータの
転送を行わず、バッファメモリ12内に置いておかれる。
続けてブロック(n+15)33からブロック(n+19)34
に記録するデータがバッファメモリ12に蓄えられている
が、これらのデータはフラグ領域にアペンド・フラグが
セットされているので、そのまま磁気テープ装置11に転
送される。これらの処理は連続して行われるため、磁気
テープ装置11にはブロック(n+10)31に記録するデー
タからブロック(n+19)32に記録するデータまで10ブ
ロック分のデータが連続して転送される。磁気テープ装
置11は図示しない方法により、ブロック(n+10)31の
記録開始位置36に位置決めした後、これらのデータを連
続して磁気テープに記録する。
The data stored in the buffer memory 12 is
According to the processing shown in the figure, the data is transferred to the magnetic tape device 11 in the following order. First, the data to be recorded in the block (n + 10) 31 to the block (n + 14) 32 is transferred to the magnetic tape device 11 as it is because the append flag is set in the flag area. Record on magnetic tape. The data stored in the buffer memory 12 following these data is data to be recorded in the block (n + 2) 30. However, since the update-in-place flag is set in the flag area, the data is stored in the magnetic tape device 11. At this time, the data is not transferred at this time, and is stored in the buffer memory 12.
Continue from block (n + 15) 33 to block (n + 19) 34
Are recorded in the buffer memory 12, but these data are transferred to the magnetic tape device 11 as they are because the append flag is set in the flag area. Since these processes are performed continuously, 10 blocks of data from the data recorded in the block (n + 10) 31 to the data recorded in the block (n + 19) 32 are continuously transferred to the magnetic tape device 11. The magnetic tape device 11 positions the data at the recording start position 36 of the block (n + 10) 31 by a method not shown, and then continuously records these data on the magnetic tape.

これらの、アペンド方式によるデータ記録を指示され
ているブロックに記録するデータの転送と、磁気テープ
に対する記録が終了した後、バッファメモリ12に残され
ているブロック(n+2)30に記録するデータが磁気テ
ープ装置11に転送される。この時、磁気テープ装置11
は、ブロック(n+2)30の記録開始位置35への位置決
めを行い、このデータをアップデート・イン・プレース
方式により磁気テープのブロック(n+2)30が記録さ
れている位置へ記録する。
After the transfer of the data to be recorded in the block to which the data recording by the append system is instructed and the recording on the magnetic tape are completed, the data to be recorded in the block (n + 2) 30 remaining in the buffer memory 12 is magnetically transferred. The data is transferred to the tape device 11. At this time, the magnetic tape device 11
Performs the positioning of the block (n + 2) 30 to the recording start position 35, and records this data in the position where the block (n + 2) 30 of the magnetic tape is recorded by the update-in-place method.

これらの処理による磁気テープの動作は、第6図
(c)に示す形となる。即ち、ブロック(n+10)31の
記録開始位置36に位置決めを行い(37),ブロック(n
+10)31からブロック(n+19)34まで10ブロックのデ
ータを記録した後(38),ブロック(n+2)30の記録
開始位置35に位置決めを行い(39),ブロック(n+
2)30の記録を行う(40)。
The operation of the magnetic tape by these processes is as shown in FIG. 6 (c). That is, positioning is performed at the recording start position 36 of the block (n + 10) 31 (37), and the block (n
After recording 10 blocks of data from (+10) 31 to block (n + 19) 34 (38), positioning is performed at the recording start position 35 of block (n + 2) 30 (39), and block (n +
2) Record 30 (40).

このように、アップデート・イン・プレース方式によ
るデータ記録を行うブロックと、アペンド方式によるデ
ータ記録を行うブロックとを識別するフラグを各ブロッ
クに記録するデータに付加し、アップデート・イン・プ
レース方式により記録を行うブロックの磁気テープへの
記録を、アペンド方式によるデータ記録を行うブロック
を全て磁気テープに記録した後に行うように制御するこ
とにより、磁気テープにおける記録開始位置への位置決
め回数を減少し、データ記録時間の短縮が可能である。
As described above, the flag for identifying the block for performing the data recording by the update-in-place method and the block for performing the data recording by the append method are added to the data to be recorded in each block, and the recording is performed by the update-in-place method. The number of positioning to the recording start position on the magnetic tape is reduced by controlling the recording of the block to be performed on the magnetic tape to be performed after all the blocks for performing the data recording by the append method are recorded on the magnetic tape. Recording time can be reduced.

第8図は、バッファメモリ12を二つの領域に予め分割
して制御を行い、上述の実施例と同じ効果を得るもので
ある。65の領域はアップデート・イン・プレース方式に
よるデータ記録を行うブロックのデータを蓄えるため
の、また66の領域はアペンド方式によるデータ記録を行
うブロックのデータを蓄えるための領域として使用され
る。バッファメモリ12では、第9図に示す処理を行う。
これは第1図におけるステップ2の処理に対応するもの
である。バッファメモリ12はホストコンピュータ13から
転送されたデータを受け取ると(ステップ81)、まずそ
のデータがアップデート・イン・プレース方式によるデ
ータ記録を行うものかどうか、アペンド方式によるデー
タ記録を行うものかをチェックする(ステップ82)。も
しデータがアップデート・イン・プレース方式によるデ
ータ記録を行うブロックに記録するものである場合、そ
のデータは第8図のアップデート・イン・プレース方式
によりデータ記録を行うデータ領域65に蓄えられる(ス
テップ83)。また、アペンド方式によるデータ記録を行
うブロックのデータは、第8図のアペンド方式によりデ
ータ記録を行うデータ領域66に蓄えられる。これらの処
理をホストコンピュータ13が転送する全てのブロックに
ついて行う(ステップ85)。バッファメモリ12から磁気
テープ装置11に対するデータ転送は、まず、アペンド方
式によりデータ記録を行うデータ領域66に蓄えられたデ
ータから行われる。66の領域に蓄えられているデータを
全て磁気テープ装置11に転送した後、即ち磁気テープに
記録した後、65のアップデート・イン・プレース方式に
よりデータ記録を行うデータ領域に蓄えられたデータを
磁気テープ装置11に転送する。
FIG. 8 shows a case in which the buffer memory 12 is divided into two areas in advance and the control is performed to obtain the same effect as in the above embodiment. An area 65 is used as an area for storing data of a block for performing data recording by the update-in-place method, and an area 66 is used for storing data of a block for performing data recording of the append method. The buffer memory 12 performs the processing shown in FIG.
This corresponds to the process of step 2 in FIG. Upon receiving the data transferred from the host computer 13 (step 81), the buffer memory 12 first checks whether the data is to be recorded in the update-in-place method or to be recorded in the append method. (Step 82). If the data is to be recorded in the block in which data is recorded by the update-in-place method, the data is stored in the data area 65 in FIG. 8 where data is recorded by the update-in-place method (step 83). ). Further, the data of the block for performing the data recording by the append system is stored in the data area 66 for performing the data recording by the append system in FIG. These processes are performed for all blocks transferred by the host computer 13 (step 85). The data transfer from the buffer memory 12 to the magnetic tape device 11 is first performed from the data stored in the data area 66 where data is recorded by the append method. After transferring all the data stored in the area 66 to the magnetic tape device 11, that is, recording the data on the magnetic tape, the data stored in the data area where data is to be recorded by the update-in-place method 65 is magnetically transferred. The data is transferred to the tape device 11.

以上の説明において、アップデート・イン・プレース
方式によるデータ記録を行う領域のデータの磁気テープ
装置への転送は、アペンド方式のデータ記録を行うデー
タ領域の転送が全て終了した後に行っているが、これは
磁気テープ装置に装着されている磁気テープの使用を終
了する直前に1回だけ記録することによっても目的は達
成される。この場合、バッファメモリに蓄えられたデー
タは、もしホストコンピュータが必要とするならば、読
み出すことが可能である。また、磁気テープが磁気テー
プ装置に装着された時点で、磁気テープ上のアップデー
ト・イン・プレース方式により記録されているブロック
のデータをバッファメモリのアップデート・イン・プレ
ース方式によりデータ記録を行うデータ領域に読み出
し、以後のホストコンピュータとアップデート・イン・
プレース方式によりデータ記録を行うブロックとの間の
データ転送は、磁気テープを実際にアクセスすることな
くバッファメモリとの間で行う構成とすることが可能で
ある。
In the above description, the transfer of the data in the area where the data recording by the update-in-place method is performed to the magnetic tape device is performed after the transfer of the data area where the data recording in the append method is completed. The object can also be achieved by recording once just before the use of the magnetic tape attached to the magnetic tape device is finished. In this case, the data stored in the buffer memory can be read if required by the host computer. In addition, when the magnetic tape is mounted on the magnetic tape device, the data area where the data of the block recorded on the magnetic tape by the update-in-place method is recorded by the update-in-place method of the buffer memory. To the host computer and update-in
It is possible to adopt a configuration in which data transfer to and from a block on which data recording is performed by the place method is performed to and from a buffer memory without actually accessing the magnetic tape.

次に、本発明の磁気テープ装置とバッファメモリの制
御方式を、いわゆるヘリカルスキャン形の磁気テープ装
置に適用した実施例を説明する。
Next, an embodiment in which the control method of the magnetic tape device and the buffer memory of the present invention is applied to a so-called helical scan type magnetic tape device will be described.

本実施例の磁気テープ装置は、磁気テープとしてDAT
(ディジタルオーディオテープレコーダ)で使用する磁
気テープを使用するものである。
The magnetic tape device of this embodiment uses a DAT as a magnetic tape.
(Digital Audio Tape Recorder) A magnetic tape used in a digital audio tape recorder is used.

本実施例の磁気テープ装置は、第13図に示す回転シリ
ンダ301,リードヘッド311a,311b,ライトヘッド312a,312
b,R/W(リード/ライト)回路313,ベリファイ回路314,
サーボ回路315,シリンダモータ316,キャプスタンモータ
317,リールモータ318,DAT信号処理回路319,サーブコー
ド制御回路320,ドライブ制御回路321,DAT符号復号回路3
22,メモリコントロール回路323,レイヤードECC(レイヤ
ード誤り訂正符号)回路324,バッファメモリ325,システ
ム制御回路326,SCSI(スモールコンピュータシステムイ
ンタフェース)327,メカ駆動回路328で構成される。リ
ードヘッド311a,311bおよびライトヘッド312a,312bは回
転シリンダ310に互いに±20度異なるアジマス角度によ
り取り付けられる。
The magnetic tape device of this embodiment includes a rotary cylinder 301, read heads 311a and 311b, and write heads 312a and 312 shown in FIG.
b, R / W (read / write) circuit 313, verify circuit 314,
Servo circuit 315, cylinder motor 316, capstan motor
317, reel motor 318, DAT signal processing circuit 319, serve code control circuit 320, drive control circuit 321, DAT code decoding circuit 3
22, a memory control circuit 323, a layered ECC (layered error correction code) circuit 324, a buffer memory 325, a system control circuit 326, a SCSI (small computer system interface) 327, and a mechanical drive circuit 328. The read heads 311a and 311b and the write heads 312a and 312b are attached to the rotary cylinder 310 at azimuth angles different from each other by ± 20 degrees.

本発明の磁気テープ装置で使用する磁気テープ329の
フォーマットは、DATの記録フォーマットを基本として
いる。磁気テープ329は回転シリンダ310に対して、6度
22分のリード(読取り)角度で傾け、90度巻き付けられ
8.15mm/秒で走行する。この時、回転シリンダ310は2000
rpmで回転する磁気テープ329が走行することによって、
リードヘッド311a,311b,ライトヘッド312a,312bは、磁
気テープ329上を斜めに走査することとなり、ライトヘ
ッド312a,312bの記録動作により、磁気テープ329上に第
14図に示すようなトラックを記録形成する。
The format of the magnetic tape 329 used in the magnetic tape device of the present invention is based on the DAT recording format. Magnetic tape 329 is 6 degrees with respect to rotating cylinder 310
Tilt at a 22 minute lead angle, wound 90 degrees
Drive at 8.15mm / sec. At this time, the rotating cylinder 310
By running the magnetic tape 329 rotating at rpm,
The read heads 311a, 311b and the write heads 312a, 312b scan obliquely on the magnetic tape 329, and the recording operation of the write heads 312a, 312b causes the read operation on the magnetic tape 329.
Tracks are formed as shown in FIG.

第14図において、331はライトヘッド312aで記録した
トラック、322はライトヘッド312bで記録したトラック
である。このように隣接したトラックのアジマス角度が
異なるように、また直前のトラックの一部にオーバーラ
ップして記録することにより、ギャップレスのアジマス
記録を行う。トラックピッチPは、13.6μm,トラック長
Lは23.5mm,記録幅Wは2.61mmである。
In FIG. 14, reference numeral 331 denotes a track recorded by the write head 312a, and 322 denotes a track recorded by the write head 312b. As described above, gapless azimuth recording is performed by recording the adjacent tracks so that the azimuth angles are different, and by overlapping with the part of the immediately preceding track. The track pitch P is 13.6 μm, the track length L is 23.5 mm, and the recording width W is 2.61 mm.

この各トラックに記録する信号の構成を第15図に示
す。このトラック・フォーマットはDAT懇談会で規格化
されたものである。
FIG. 15 shows the structure of the signal recorded on each track. This track format was standardized at the DAT roundtable.

トラックは第15図に示すように、複数の記録エリアに
分割され、種々の信号が各分割されたエリアに記録され
る。
As shown in FIG. 15, the track is divided into a plurality of recording areas, and various signals are recorded in the divided areas.

トラックは、磁気テープ329中央に配置される128デー
タブロックのPCM信号エリア(PCM)343,その両側に配置
されるATF信号(オートマティックトラックファインデ
ィング信号,トラッキング用基準信号)エリア(ATF−
1,ATF−2)342,344、さらにその外側に配置される8デ
ータブロックずつのサブコードエリア(SUB−1,SUB−
2)341,345によって構成される。
The track is composed of a PCM signal area (PCM) 343 of 128 data blocks arranged in the center of the magnetic tape 329 and ATF signal (automatic track finding signal, tracking reference signal) areas (ATF-
1, ATF-2) 342, 344, and sub-code areas (SUB-1, SUB-
2) It is composed of 341 and 345.

DATでは、PCM(パルスコード変調)信号エリア343に
は、オーディオ信号をPCM化したディジタルデータに、
誤り訂正符号を付加したデータが記録される。本実施例
の磁気テープ装置では、このPCM信号エリア343にコンピ
ュータ等で利用するディジタルデータに誤り訂正符号を
付加したデータを記録する。
In DAT, the PCM (pulse code modulation) signal area 343 contains audio data converted to PCM digital data,
Data to which an error correction code is added is recorded. In the magnetic tape device of this embodiment, data obtained by adding an error correction code to digital data used by a computer or the like is recorded in the PCM signal area 343.

サブコードエリア341,345には、磁気テープ329上のデ
ータの特定の位置をサーチ(検索)するためのサーチ情
報等が記録される。
In the subcode areas 341 and 345, search information for searching for a specific position of data on the magnetic tape 329 is recorded.

ATF信号エリア342,344には、トラッキング制御(再生
時に磁気ヘッドが対応するアジマス角度の傾斜トラック
上を走行させる)用のATF信号が記録される。
In the ATF signal areas 342 and 344, ATF signals for tracking control (the magnetic head is caused to travel on an inclined track having a corresponding azimuth angle during reproduction) are recorded.

DATでは、記録テープ329に記録される信号は、データ
ブロックと呼ばれる単位により取り扱う。たとえばPCM
信号エリア343は、128のデータブロックで構成する。PC
M信号エリア343のデータブロックの構成を第16図に示
す。1データブロックは、32シンボル(1シンボルは8b
itt)のメイン・データ355に、同期信号(SYNC)351,メ
インID352,ブロック・アドレス353およびメインID352と
ブロックアドレス353の誤りを検出するためのパリティ3
54の各1シンボルが付加され、合計36シンボルで構成さ
れている。
In DAT, signals recorded on the recording tape 329 are handled in units called data blocks. For example PCM
The signal area 343 is composed of 128 data blocks. PC
FIG. 16 shows the configuration of the data block in the M signal area 343. One data block consists of 32 symbols (one symbol is 8b
Itt) includes, in the main data 355, a synchronization signal (SYNC) 351, a main ID 352, a block address 353, and a parity 3 for detecting an error in the main ID 352 and the block address 353.
One symbol of 54 is added to each, making up a total of 36 symbols.

第15図におけるPCM信号エリア343のブロック構成を第
17図に示す。PCM信号エリア343は合計128データブロッ
クで構成され、SYNC領域356,メインID領域357,ブロック
アドレス領域358,パリティ領域359,128データブロック
のメインデータ355により構成されるデータと誤り訂正
符号の領域360によって構成される。DATのトラックフォ
ーマットでは誤り訂正符号を除いたデータ領域の大き
さ、言い替えれば、ユーザがデータを記録可能な容量は
1トラックあたり2880バイトである。
The block configuration of the PCM signal area 343 in FIG.
As shown in FIG. The PCM signal area 343 is composed of a total of 128 data blocks, and is composed of data composed of a SYNC area 356, a main ID area 357, a block address area 358, a parity area 359, main data 355 of a 128 data block, and an error correction code area 360. Is done. In the DAT track format, the size of the data area excluding the error correction code, in other words, the capacity of the user to record data is 2880 bytes per track.

DATにおいて、アップデート・イン・プレース方式に
よるデータ記録を行うために、磁気テープへのデータの
記録再生を、複数トラックをまとめたグループを単位と
して行うこととする。第18図にグループ・フォーマット
を示す。
In the DAT, in order to perform data recording by the update-in-place method, recording and reproduction of data on a magnetic tape are performed in units of a group of a plurality of tracks. FIG. 18 shows the group format.

1グループは32フレーム(2トラックを1フレームと
呼ぶため、64トラックを意味する)で構成する。フレー
ムナンバーが−31のフレーム381から、−1のフレーム3
28までの3フレームと、フレームナンバーが28のフレー
ム385をグループとグループの間のギャップとする。従
って、フレームナンバーが0のフレーム383から、フレ
ームナンバーが327である31番目のフレーム384までの28
個のフレームをデータを記録する領域とする。グループ
内のフレームナンバーは、データを記録する領域の先頭
フレームのフレームナンバーを‘0'とし、第18図で示す
ごとく‘−3'から‘28'まで付番する。このフレームナ
ンバーは後述するグループ番号とともに、前述したサブ
コードエリア341,345に記録され、サーチに利用され
る。
One group is composed of 32 frames (two tracks are called one frame, meaning 64 tracks). From frame 381 with frame number -31 to frame 3 with -1
Three frames up to 28 and a frame 385 having a frame number of 28 are defined as gaps between groups. Therefore, 28 frames from the frame 383 with the frame number 0 to the 31st frame 384 with the frame number 327
Each frame is an area for recording data. The frame numbers in the group are numbered from “−3” to “28” as shown in FIG. 18, with the frame number of the first frame of the data recording area being “0”. This frame number is recorded in the above-described subcode areas 341 and 345 together with a group number described later, and is used for search.

第19図にグループのデータを記録する領域の構成を示
す。第18図において説明した通り、この領域はフレーム
ナンバー0のフレーム383からフレームナンバー27のフ
レーム384までの28フレームで構成される。DATにおい
て、1トラックに記録されるデータは2880バイトであ
る。したがって28フレームでは161280バイトとなる。
FIG. 19 shows the configuration of an area for recording group data. As described with reference to FIG. 18, this area includes 28 frames from frame 383 of frame number 0 to frame 384 of frame number 27. In DAT, data recorded on one track is 2880 bytes. Therefore, it becomes 161280 bytes in 28 frames.

通常、コンピュータの論理ブロックとしては、256バ
イトの整数倍が使用される。そこで28フレームのデータ
の内、131072バイト(256×512バイト)をユーザが使用
できるデータ領域(図中391)とする。
Normally, an integer multiple of 256 bytes is used as a logical block of a computer. Therefore, of the data of 28 frames, 131072 bytes (256 × 512 bytes) are set as a data area (391 in the figure) that can be used by the user.

残りの30208バイトの内、4736バイトを磁気テープ装
置自身が使用するシステム領域(図中392)とし、25464
バイトをリードソロモンコードを用いたエラー訂正用の
C3パリティ(図中393)に使用する。システム領域392は
ユーザが直接任意のデータを記録再生することは不可能
であり、磁気テープ装置が磁気テープ329を管理するた
めの情報を記録する。残りの8バイトは未使用とする。
Of the remaining 30208 bytes, 4736 bytes are used as the system area (392 in the figure) used by the magnetic tape device itself.
Bytes for error correction using Reed-Solomon code
Used for C3 parity (393 in the figure). In the system area 392, it is impossible for the user to directly record and reproduce arbitrary data, and information for the magnetic tape device to manage the magnetic tape 329 is recorded. The remaining 8 bytes are unused.

エラー訂正用のC3パリティ393は、磁気テープ329の走
行方向に沿ったデータ誤りを訂正するために、データ領
域391とシステム領域392の両方のデータに付加し、DAT
のトラック内で使用している誤り訂正符号によるエラー
訂正と相まって、連続8トラックのバーストエラーが生
じてもデータの訂正を可能としている。
The C3 parity 393 for error correction is added to data in both the data area 391 and the system area 392 to correct data errors along the running direction of the magnetic tape 329, and the DAT
In addition to the error correction by the error correction code used in the track No. 1, the data can be corrected even if a burst error of eight consecutive tracks occurs.

各グループにはグループ番号が付番され、磁気テープ
329はこのグループを単位として管理される。またこの
グループ番号は前述したサブコードエリア341,345に記
録される。
Each group is assigned a group number and a magnetic tape
329 are managed in units of this group. This group number is recorded in the subcode areas 341 and 345 described above.

本実施例の磁気テープ装置では、アペンド方式により
データの記録を行う場合も、前述したアップデート・イ
ン・プレース方式によるデータ記録と同様、グループを
単位として磁気テープに記録を行う。これは、前述した
C3パリティを付加することにより、データ信頼性を向上
するためである。ただし、アペンド方式によりデータを
記録する場合は、第18図におけるギャップは記録しな
い。これは一度記録を行ったグループの書き換えを行わ
ないため、必要ないためである。即ちアペンド方式によ
りデータを記録する場合のグループフォーマットはフレ
ームナンバーが0のフレーム383から、フレームナンバ
ーが327であるフレーム384までの28個のフレームだけで
構成される。したがって、アペンド方式によりデータを
記録する場合のグループフォーマットのデータを記録す
る領域の構成は、アップデート・イン・プレース方式に
よりデータを記録する場合のグループフォーマットの場
合と同じであり、第19図に示す形となる。
In the magnetic tape device according to the present embodiment, even when data is recorded by the append method, recording is performed on the magnetic tape in units of groups, similarly to the data recording by the update-in-place method described above. This is described earlier
This is to improve data reliability by adding C3 parity. However, when data is recorded by the append method, the gap in FIG. 18 is not recorded. This is because the group that has been recorded once is not rewritten and is not necessary. That is, the group format when data is recorded by the append system is composed of only 28 frames from a frame 383 having a frame number of 0 to a frame 384 having a frame number of 327. Therefore, the configuration of the area for recording data in the group format when data is recorded by the append method is the same as that in the group format when data is recorded by the update-in-place method, and is shown in FIG. It takes shape.

第20図にシステム領域392の構成を示す。システム領
域392は4736バイトの大きさを持つ。この内、先頭の409
6バイトをレコードIDリスト領域394に使用する。レコー
ドIDリスト領域394には、グループの中に記録されるす
べてのレコードの属性情報が記録される。レコードとは
磁気テープ329に記録するデータの最小単位である。続
く512バイトの領域を予約領域395とする。予約領域395
は将来、機能を拡張することを可能とするために予約し
ておくための領域である。最後の128バイトの領域をグ
ループID396とし、グループの属性情報などを記録す
る。
FIG. 20 shows the configuration of the system area 392. The system area 392 has a size of 4736 bytes. Of these, the top 409
Six bytes are used for the record ID list area 394. In the record ID list area 394, attribute information of all records recorded in the group is recorded. The record is the minimum unit of data recorded on the magnetic tape 329. The subsequent 512-byte area is a reserved area 395. Reserved area 395
Is an area reserved for future expansion of functions. The last 128-byte area is used as a group ID 396, and the group attribute information and the like are recorded.

本実施例の磁気テープ装置におけるテープレイアウト
を第21図に示す。磁気テープ先頭にはロード/アンロー
ド領域401が記録される。ロード/アンロード領域401
は、磁気テープを磁気テープ装置に装着し、回転シリン
ダに磁気テープをロードする領域である。磁気テープを
回転シリンダにロードする、あるいは回転シリンダから
アンロードする動作時には、磁気テープを損傷する可能
性が高い。したがって、磁気テープの回転シリンダへの
ロード/アンロードを常に決められた位置、ここではロ
ード/アンロード領域401で行うこととし、ユーザがデ
ータを記録する領域の信頼性を確保している。続くリー
ドインエリア402は磁気テープ装置が磁気テープを管理
するために必要な情報を記録する領域であり、プリアン
ブル405,ヘッダー406,リファレンス407,ポストアンブル
408により構成される。ヘッダー406は磁気テープの固定
的な情報、たとえば磁気テープの使用を開始した日時に
関する情報や、磁気テープのフォーマットに関する情報
が記録される。リファレンス407には磁気テープに記録
されているデータに関する情報が記録される。データ領
域403はユーザがデータを記録する領域である。前述し
たように、ここではグループを単位とした記録が行われ
る。アップデート・イン・プレース方式によるデータ記
録を行う場合は、第18図に示すグループの前後にギャッ
プを持ったグループフォーマット(以下、グループフォ
ーマット0と呼ぶ)により、またアペンド方式によりデ
ータ記録を行う場合には、第18図に示すグループフォー
マットから前後のギャップを除いた形のグループフォー
マット(以下、グループフォーマット1と呼ぶ)により
データ記録が行われる。データ領域403に記録されるグ
ループがそれぞれどちらのグループフォーマットで記録
されているかは、リファレンス407に記録される。した
がって、リファレンス407を参照することにより、ある
グループ番号を持ったグループがどちらのグループフォ
ーマットで記録されているか、言い替えればアップデー
ト・イン・プレース方式によるデータ記録が可能か否か
を判断することが可能である。EOI404は、記録されてい
る有効データの終了位置を表わすグループであり、これ
以降に有効データは記録されていないことを示す。デー
タを追加記録する場合は、既に記録されているEOI404の
先頭位置から記録を行い、つまり既に記録されているデ
ータの最後部に続けてデータの記録を行い、記録したデ
ータの後ろに新たにEOI404を記録する。これにより、EO
I404は常に有効データの終端を表わすこととなる。
FIG. 21 shows a tape layout in the magnetic tape device of this embodiment. A load / unload area 401 is recorded at the head of the magnetic tape. Load / unload area 401
Is an area where the magnetic tape is mounted on the magnetic tape device and the magnetic tape is loaded on the rotating cylinder. During the operation of loading or unloading the magnetic tape from the rotating cylinder, the possibility of damaging the magnetic tape is high. Therefore, the loading / unloading of the magnetic tape to / from the rotating cylinder is always performed at a predetermined position, here, the loading / unloading area 401, thereby ensuring the reliability of the area where the user records data. The subsequent lead-in area 402 is an area for recording information necessary for the magnetic tape device to manage the magnetic tape, and includes a preamble 405, a header 406, a reference 407, and a postamble.
408. The header 406 records fixed information on the magnetic tape, for example, information on the date and time when the use of the magnetic tape started, and information on the format of the magnetic tape. The reference 407 records information on data recorded on the magnetic tape. The data area 403 is an area where the user records data. As described above, recording is performed here in units of groups. In the case of performing data recording by the update-in-place method, the data is recorded in a group format having a gap before and after the group shown in FIG. 18 (hereinafter, referred to as group format 0) and in an append method. Is recorded in a group format (hereinafter, referred to as group format 1) in which the front and rear gaps are removed from the group format shown in FIG. Which group format is recorded in the data area 403 is recorded in the reference 407. Therefore, by referring to the reference 407, it is possible to determine in which group format a group having a certain group number is recorded, in other words, whether data recording by the update-in-place method is possible or not. It is. The EOI 404 is a group indicating the end position of the recorded valid data, and indicates that no valid data is recorded thereafter. When additional data is recorded, recording is performed from the start position of the already recorded EOI 404, that is, data is recorded following the last part of the already recorded data, and a new EOI 404 is added after the recorded data. Record This allows EO
I404 always indicates the end of valid data.

本実施例においてもバッファメモリ325は、第4図
(a)に示す形で使用する。即ちSCSI327を通してホス
トコンピュータから送られてくるブロックのデータに、
そのブロックがアップデート・イン・プレース方式によ
り記録を行うブロックであるか、アペンド方式によりデ
ータ記録を行うブロックであるのかを示すフラグを付加
した形でバッファメモリ325に格納する。したがって、
ホストコンピュータからバッファメモリ325へのデータ
転送処理は第3図(b)に示すものとなり、またバッフ
ァメモリに格納されたデータを磁気テープに転送する処
理も第5図に示すものとなる。
Also in this embodiment, the buffer memory 325 is used in the form shown in FIG. That is, to the data of the block sent from the host computer through SCSI327,
The block is stored in the buffer memory 325 with a flag indicating whether the block is a block for recording in the update-in-place system or a block for data recording in the append system. Therefore,
The process of transferring data from the host computer to the buffer memory 325 is as shown in FIG. 3B, and the process of transferring data stored in the buffer memory to the magnetic tape is also as shown in FIG.

本実施例において、SCSI327を通してホストコンピュ
ータから磁気テープに記録するために転送されるデータ
はブロックを単位として転送される。本実施例の磁気テ
ープ装置では、このブロックを前述したテープフォーマ
ットのレコードとして磁気テープへの記録を行う。した
がって、1グループに複数のブロックが記録されること
なる。
In this embodiment, data transferred from the host computer to the magnetic tape via the SCSI 327 is transferred in units of blocks. In the magnetic tape device of this embodiment, this block is recorded on a magnetic tape as a record in the above-described tape format. Therefore, a plurality of blocks are recorded in one group.

本実施例において、磁気テープにデータを記録する場
合の処理を説明する。
In the present embodiment, processing for recording data on a magnetic tape will be described.

グループ番号がnのグループに、磁気テープ装置に接
続されたホストコンピュータがデータを記録する場合を
考える。ホストコンピュータは、SCSI327を介して、ブ
ロックnにデータを記録するためのライトコマンドを送
信する。これに先立ち、ホストコンピュータはSCSI327
のバスが他の装置によって使用されていないかを検査
し、使用されていなければ使用権を獲得する。次に本発
明の磁気テープ装置に与えられたSCSIのIDをSCSI327の
バスに送出する。システム制御回路326はSCSI327を介し
て、SCSI327のバスに自分に与えられているのと同じSCS
IのIDが出力されていることを検出したら、ホストコン
ピュータからのコマンド、ここではライトコマンドを受
信する。
It is assumed that a host computer connected to a magnetic tape device records data in a group having a group number n. The host computer transmits a write command for recording data in the block n via the SCSI 327. Prior to this, the host computer was SCSI327
Check that the bus is not being used by another device, and if not, acquire the usage right. Next, the SCSI ID given to the magnetic tape device of the present invention is transmitted to the SCSI327 bus. The system control circuit 326 is connected to the SCSI 327 bus via the SCSI 327, and the same SCS is given to itself.
When it is detected that the ID of I is output, a command from the host computer, here, a write command is received.

システム制御回路326は、ライトコマンドを受信する
と、データを記録するグループnをサーチするため、ド
ライブ制御回路321に「再生モード」を指示し、サーボ
回路315を介してシリンダモータ316,キャプスタンモー
タ317,リールモータ318をそれぞれ駆動する。リードヘ
ッド311a,311bで読み込んだ信号をDAT信号処理回路319
で選別し、サブコードエリア341,345から読み出された
データはサブコード制御回路20へ送信され、ここでエラ
ー検査を行った後、このデータをシステム制御回路326
へ送信し、現在の磁気テープ329のグループ番号を読
む。現在のグループ番号が目的のグループ番号nよりも
小さければグループ番号が増加する方向へ(フォワード
サーチ)、大きければグループ番号が減少する方向へ
(リバースサーチ)サーチを行う。サーチを行う間、ホ
ストコンピュータはデータ待ちの状態になるので、SCSI
327のバスを占有してしまうこととなる。従って、この
間、他のSCSI327のバスに接続された装置がSCSI327のバ
スを利用することができなくなり、SCSI327のバスの使
用効率を低下させることとなる。これを避けるためにシ
ステム制御回路326は、サーチを行う前に、ホストコン
ピュータに対してSCSI327のバスの切り離しを指示する
セイブポインタメッセージとディスコネクトメッセージ
を送出する。ホストコンピュータは、このメッセージを
受け取ると、磁気テープ329に記録すべきデータが格納
されているホストコンピュータのメモリアドレスを所定
のメモリに格納し、一旦SCSI327のバスの使用を中止す
る。一方、システム制御回路326はこのメッセージを送
出した後、SCSI327のバス使用権を一旦放棄する。従っ
て、この状態ではSCSI327のバスが未使用となり、他の
装置がSCSI327のバスを使用することが可能となる。こ
のように磁気テープ装置では、一旦、SCSI327のバスを
切り離した状態でサーチを行う。
Upon receiving the write command, the system control circuit 326 instructs the drive control circuit 321 to perform a “reproduction mode” in order to search for a group n in which to record data, and the cylinder motor 316 and the capstan motor 317 via the servo circuit 315. , Respectively. A signal read by the read heads 311a and 311b is converted into a DAT signal processing circuit 319.
The data read out from the sub-code areas 341 and 345 are transmitted to the sub-code control circuit 20, where an error check is performed.
And reads the current group number of the magnetic tape 329. If the current group number is smaller than the target group number n, the search is performed in the direction in which the group number increases (forward search), and if it is larger, the search is performed in the direction in which the group number decreases (reverse search). During the search, the host computer waits for data.
This would occupy 327 buses. Therefore, during this time, the devices connected to the other SCSI327 bus cannot use the SCSI327 bus, and the usage efficiency of the SCSI327 bus is reduced. To avoid this, the system control circuit 326 sends a save pointer message and a disconnect message for instructing the disconnection of the SCSI327 bus to the host computer before performing the search. Upon receiving this message, the host computer stores the memory address of the host computer storing the data to be recorded on the magnetic tape 329 in a predetermined memory, and temporarily stops using the SCSI327 bus. On the other hand, after transmitting this message, the system control circuit 326 once relinquishes the bus use right of the SCSI 327. Therefore, in this state, the SCSI327 bus becomes unused, and other devices can use the SCSI327 bus. As described above, in the magnetic tape device, the search is performed once with the SCSI327 bus disconnected.

サーチは磁気テープ329を、通常の記録再生を行う速
度の200倍で走行させ、回転シリンダ310の回転数を磁気
テープ329と、回転シリンダ310に取り付けられたリード
ヘッド311a,311b、およびライトヘッド312a,312bとの相
対速度が通常の記録再生の速度と同じとなるように制御
し、サブコードエリア341,345に記録されたデータを読
み取り、目的のグループを検出する。
In the search, the magnetic tape 329 is run at 200 times the normal recording / reproducing speed, and the number of rotations of the rotary cylinder 310 is increased by the magnetic tape 329, the read heads 311a, 311b, and the write head 312a attached to the rotary cylinder 310. , 312b is controlled to be the same as the normal recording / reproducing speed, the data recorded in the subcode areas 341 and 345 are read, and the target group is detected.

マイクロコンピュータ1は、サーチの方向を決定した
後、ドライブ制御回路321を介し、サーボ回路315にフオ
ワードサーチかリバースサーチかを知らせる。サーボ回
路315は指示された方向へ磁気テープ329を200倍で走行
させるため、リールモータ318を駆動する。サーボ回路3
15は磁気テープ329のサプライ側のリールと巻き取り側
のリールから取り出すリールパルスの和を一定値となる
ように制御する。同時に回転シリンダ310の回転をフォ
ワードサーチの場合には3000rpm、リバースサーチの場
合には1000rpmとなるように制御する。この時、回転シ
リンダ310に取り付けられたリードヘッド311a,311bは磁
気テープ329上の複数のトラックを横切ることとなる。
リードヘッドのアジマスにより、同じアジマスのトラッ
クの信号は大きな出力が得られ、異なったアジマスのト
ラックの信号は小さな出力しか得られないため、大きな
出力信号の数を数えることにより、横切ったトラックの
本数を知ることができる。従って、この数が一定となる
ようにリールモータ318を制御する。
After determining the direction of the search, the microcomputer 1 notifies the servo circuit 315 via the drive control circuit 321 whether the search is a forward search or a reverse search. The servo circuit 315 drives the reel motor 318 in order to cause the magnetic tape 329 to travel in the designated direction at a magnification of 200 times. Servo circuit 3
Numeral 15 controls the sum of the reel pulses taken out from the supply-side reel and the take-up side reel of the magnetic tape 329 to be a constant value. At the same time, the rotation of the rotary cylinder 310 is controlled to be 3000 rpm in the case of the forward search and 1000 rpm in the case of the reverse search. At this time, the read heads 311a and 311b attached to the rotary cylinder 310 cross a plurality of tracks on the magnetic tape 329.
Due to the read head azimuth, the signal of the same azimuth track has a large output and the signal of the different azimuth track has a small output, so by counting the number of large output signals, the number of tracks traversed You can know. Therefore, the reel motor 318 is controlled so that this number becomes constant.

この状態では、リードヘッド311a,311bから出力され
る信号はトラックの一部分であり、トラック内に設けら
れたサブコードエリア341,345のブロックを2つ連続で
誤りなく読み出したかどうかをDAT信号処理回路319を介
し、サブコード制御回路320が検出する。サブコードエ
リア341,345のデータは連続2ブロック読み出しを行う
ことにより必要な情報が得られる構成となっている。つ
まり連続2ブロック正しく読み出しが行われた場合、そ
のトラックの含まれるグループ番号を知ることが可能で
ある。
In this state, the signal output from the read heads 311a and 311b is a part of the track, and the DAT signal processing circuit 319 determines whether or not two consecutive blocks of the subcode areas 341 and 345 provided in the track are read without error. Via the sub-code control circuit 320. The data of the subcode areas 341 and 345 are configured so that necessary information can be obtained by performing continuous two-block reading. That is, when two consecutive blocks are correctly read, it is possible to know the group number including the track.

サブコード制御回路320は正しく読み出しが行われた
サブコードエリア341,345のブロックのデータをシステ
ム制御回路326に送出し、サブコードエリアに記録され
ているデータに含まれるグループ番号を目的のグループ
番号nと比較する。一致したらマイクロコンピュータ1
は、ドライブ制御回路321を介し、サーボ制御回路315に
「停止モード」を指示し、一旦リールモータ318を止
め、回転シリンダ310を通常データを再生する速度であ
る2000rpmに戻した後、グループ番号nの先頭のトラッ
クを再生できる場所まで磁気テープ329をサブコードエ
リア341,345に記録されたデータに含まれるグループ番
号,フレームナンバーを検査しながらリールモータ318
を使用して移動する。
The subcode control circuit 320 sends the data of the blocks of the subcode areas 341 and 345 that have been correctly read out to the system control circuit 326, and the group numbers included in the data recorded in the subcode areas are set as the target group numbers n and n. Compare. If matched, microcomputer 1
Indicates the “stop mode” to the servo control circuit 315 via the drive control circuit 321, temporarily stops the reel motor 318, returns the rotary cylinder 310 to 2000 rpm, which is the speed at which normal data is reproduced, and then sets the group number n The magnetic tape 329 is checked for the group number and the frame number included in the data recorded in the subcode areas 341 and 345 until the first track of the reel motor 318 can be reproduced.
Use to move.

この後、ドライブ制御回路321,サーボ制御回路315を
「再生モード」に設定し、読み込んだ信号をDAT信号処
理回路319で処理、サブコードエリア341,345に記録され
ているデータはサブコード制御回路320に送出し、PCM信
号エリア343に記録されているデータはDAT符号復号回路
322に送出する。サブコード制御回路320はサブコード34
1,345に記録されているデータを解析することにより、
フレームナンバーが0であるフレーム383の位置からDAT
符号復号回路322を起動させる。
Thereafter, the drive control circuit 321 and the servo control circuit 315 are set to the “reproduction mode”, the read signal is processed by the DAT signal processing circuit 319, and the data recorded in the subcode areas 341 and 345 are transmitted to the subcode control circuit 320. The data transmitted and recorded in the PCM signal area 343 is a DAT code decoding circuit.
Send to 322. The subcode control circuit 320 has the subcode 34
By analyzing the data recorded in 1,345,
DAT from frame 383 with frame number 0
The code decoding circuit 322 is activated.

DAT符号復号回路322は、サブコード制御回路、320か
らの信号で動作を開始し、再生モードでは受信した信号
を復号してトラックごとのデータをメモリコントロール
回路323を介して、バッファメモリ325に格納する。フレ
ームナンバーが327であるフレーム384までのデータがバ
ッファメモリ325に格納されたら、システム制御回路326
は、メモリコントロール回路323,レイヤードECC回路324
を使用してC3パリティ393による謝り検出と、謝り訂正
を行う。謝り訂正の結果は再びバッファメモリ325に格
納する。
The DAT code decoding circuit 322 starts operation with the signal from the subcode control circuit 320, and in the playback mode, decodes the received signal and stores the data for each track in the buffer memory 325 via the memory control circuit 323. I do. When data up to a frame 384 having a frame number of 327 is stored in the buffer memory 325, the system control circuit 326
Is a memory control circuit 323, a layered ECC circuit 324
Is used to perform apology detection and correction using the C3 parity 393. The result of the apology correction is stored in the buffer memory 325 again.

システム制御回路326はバッファメモリ325にグループ
nのデータを読み出した後、ホストコンピュータから記
録するデータを受け取るために、SCSI327のバスのリセ
レクションを実行し、リコネクトメッセージを送出す
る。これを受けたホストコンピュータはSCSI327のバス
を再び接続し、データをSCSI327のバスに送出する。シ
ステム制御回路326はこのデータをSCSI327を介して受信
し、磁気テープ329より読み込んだグループnのデータ
の中の、データを記録すべき位置からバッファメモリ32
5に格納する。これらのデータを受け取る際に、システ
ム制御回路326はそのデータのブロック番号により、そ
のデータを記録するグループのグループ番号を知ること
ができる。とたがって、リファレンス407を参照するこ
とにより、そのブロックのデータがアップデート・イン
・プレース方式により記録するデータであるか、または
アペンド方式により記録するデータであるかを知る事が
可能である。本実施例では、これら両方式の違いは、デ
ータを記録する場合のグループフォーマットの違いであ
る。アップデート・イン・プレース方式により記録を行
うブロックはグループフォーマット0で、またアペンド
方式により記録を行うブロックはグループフォーマット
1で記録される。システム制御回路326は受け取ったブ
ロックのデータバッファメモリ325に格納する場合に、
第4図(a)に示すように、アップデート・イン・プレ
ース・フラグがアペンド・フラグをそのブロックのデー
タを格納するフラグ領域に格納する。指定されたブロッ
クのデータの受信が終了したらSCSI327でのデータ転送
中にSCSI327のバス上でパリティエラーが起こっていな
いかどうかを検査し、正しく転送が行われていた場合に
はグッドステータスをホストコンピュータに返し、コマ
ンドコンプリートメッセージを送出してコマンドを終了
する。もしパリティエラーが発生していればステータス
にチェックコンディションを設定し、センスデータにエ
ラーの内容を設定しておく。もちろんホストコンピュー
タからセンスステータスコマンドを受信したらこのデー
タを送出して、エラーの内容を知らせる。
After reading the data of the group n into the buffer memory 325, the system control circuit 326 performs reselection of the SCSI327 bus to receive data to be recorded from the host computer, and sends out a reconnect message. Upon receiving this, the host computer reconnects the SCSI327 bus and sends data to the SCSI327 bus. The system control circuit 326 receives this data via the SCSI 327, and from the data of the group n read from the magnetic tape 329 to the buffer memory 32 from the position where the data is to be recorded.
Store in 5. When receiving these data, the system control circuit 326 can know the group number of the group that records the data from the block number of the data. Therefore, by referring to the reference 407, it is possible to know whether the data of the block is data to be recorded by the update-in-place method or data to be recorded by the append method. In this embodiment, the difference between these two methods is the difference in the group format when data is recorded. Blocks to be recorded by the update-in-place method are recorded in group format 0, and blocks to be recorded by the append method are recorded in group format 1. The system control circuit 326 stores the received block in the data buffer memory 325,
As shown in FIG. 4 (a), the update-in-place flag stores the append flag in the flag area for storing the data of the block. When the reception of the data of the specified block is completed, check whether a parity error has occurred on the SCSI327 bus during the data transfer by the SCSI327, and if the transfer has been performed correctly, the good status is reported to the host computer. And sends a command complete message to end the command. If a parity error has occurred, a check condition is set in the status, and the content of the error is set in the sense data. Of course, when a sense status command is received from the host computer, this data is sent out to notify the contents of the error.

システム制御回路326はバッファメモリ325に格納され
ているデータに対して、レイヤードECC回路324を用いて
C3パリティ393を付加して、バッファメモリ325に格納す
る。このデータをメモリコントローラ回路323がDAT符号
復号回路322に送信し、DATのトラック内で定めたエラー
訂正パリティを付加し、DAT信号処理回路319にシリアル
データとして出力する。このデータを受信したDAT信号
処理回路319はトラック内のデータフォーマットに合わ
せてデータの8−10変換を行い、ベリファイ回路314へ
入力すると同時に、R/W回路313を介し、ライトヘッド31
2a,312bにより磁気テープ329に信号を記録する。この時
リードヘッド311a,311bはライトヘッド312a,312bが記録
したデータを読み、DAT信号処理回路319を介し、ベリフ
ァイ回路314へ入力する。ベリファイ回路314は記録した
信号と読み出した信号とを比較し、一致しているかどう
かを検査する。角トラックごとの一致しない信号の数を
システム制御回路326に送信する。システム制御回路326
は、1グループ分の一致しない信号数を集計し、エラー
訂正が可能な範囲かどうかを検査する。この判断にはユ
ーザが設定可能なスレッショホールドを使用し、エラー
訂正能力のN%以内の信号の不一致であれば正しく記録
されたとして処理を続行する。
The system control circuit 326 uses the layered ECC circuit 324 for the data stored in the buffer memory 325.
The C3 parity 393 is added and stored in the buffer memory 325. The data is transmitted from the memory controller circuit 323 to the DAT encoding / decoding circuit 322, the error correction parity determined in the DAT track is added, and the data is output to the DAT signal processing circuit 319 as serial data. Upon receiving this data, the DAT signal processing circuit 319 performs 8-10 conversion of the data in accordance with the data format in the track and inputs the data to the verify circuit 314, and at the same time, via the R / W circuit 313, the write head 31.
Signals are recorded on the magnetic tape 329 by 2a and 312b. At this time, the read heads 311a and 311b read the data recorded by the write heads 312a and 312b, and input the data to the verify circuit 314 via the DAT signal processing circuit 319. The verify circuit 314 compares the recorded signal with the read signal to check whether they match. The number of signals that do not match for each square track is transmitted to the system control circuit 326. System control circuit 326
Collects the number of unmatched signals for one group and checks whether the number is in a range where error correction is possible. For this determination, a threshold that can be set by the user is used, and if the signals do not match within N% of the error correction capability, the processing is continued assuming that the signal has been correctly recorded.

もし、このスレッショルドホールドを越える信号の不
一致が検出されたら、このグループは正しく記録されな
かったとして、以後使用しないようにし、代わりに同じ
グループを次に続けて記録する。したがってデータ読み
出し時に同じグループ番号のグループが続けて読み出さ
れた場合には、先に読み出したグループは無効であると
して、スキップする。
If a signal mismatch is detected that exceeds this threshold hold, the group is not recorded correctly and will not be used in the future, but will instead be recorded in succession with the same group. Therefore, when a group having the same group number is successively read at the time of data reading, the previously read group is invalid and skipped.

これらの磁気テープ329へのデータ記録は第5図に従
い、バッファメモリ325内のデータでアペンド・フラグ
がフラグ領域にセットされているブロックのデータから
行われる。
In accordance with FIG. 5, data recording on the magnetic tape 329 is performed from data in the block in which the append flag is set in the flag area in the buffer memory 325.

いずれの場合も、本実施例によれば、アップデート・
イン・プレース方式によりデータ記録を行うブロックの
データと、アペンド方式によりデータ記録を行うブロッ
クのデータをバッファメモリ上で磁気テープ装置が識別
することを可能とし、アペンド方式によるデータ記録を
行うブロックのデータ記録を、アップデート・イン・プ
レース方式によるデータ記録に先立って行うため、アペ
ンド方式によるデータ記録を行うブロックの磁気テープ
への記録は、1回の記録開始位置への位置決めで行うこ
とが可能となり、記録開始位置への位置決め回数を減少
することにより、磁気テープへのデータ記録時間を短縮
することが可能である。
In any case, according to the present embodiment, the update
Enables the magnetic tape device to identify on the buffer memory the data of the block for which data recording is performed by the in-place method and the data of the block for which data recording is performed by the append method, and the data of the block for which data recording is performed by the append method Since the recording is performed prior to the data recording by the update-in-place method, the recording of the block for performing the data recording by the append method on the magnetic tape can be performed by positioning to the recording start position once, By reducing the number of times of positioning to the recording start position, it is possible to shorten the data recording time on the magnetic tape.

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

本発明の磁気テープ装置とそれに接続されるバッファ
メモリの制御方式によれば、既に記録されているデータ
を書き換える機能を有する磁気テープ装置とバッファメ
モリにおいて、磁気テープ上にデータを書き換えること
が可能な領域と、書き換えることが不可能な領域とが混
在した場合でも、バッファメモリにおいて各領域に記録
するデータを分けて蓄え、書き換えを行う領域に対する
データの記録を書き換えを行わない領域への記録が終了
してから行うため、磁気テープにおける記録開始位置へ
の位置決め回数を減少することが可能であり、よってデ
ータ記録に要する時間を短縮することか可能である。
According to the control method of the magnetic tape device and the buffer memory connected thereto according to the present invention, it is possible to rewrite data on a magnetic tape in a magnetic tape device and a buffer memory having a function of rewriting already recorded data. Even if the area and the area that cannot be rewritten are mixed, the data to be recorded in each area is separately stored in the buffer memory, and the recording of the data in the area to be rewritten is completed in the area in which the data is not rewritten. After that, the number of times of positioning to the recording start position on the magnetic tape can be reduced, so that the time required for data recording can be reduced.

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

第1図は、磁気テープ装置とバッファメモリの制御方式
における、磁気テープ装置に対するデータ記録の処理の
流れを示す図である。第2図は磁気テープ装置とそれに
接続されるバッファメモリの制御方式における磁気テー
プ装置の構成の一例を示す図、第3図はフラグを用いる
実施例におけるバッファメモリでのデータ格納処理の流
れを示す図、第4図はバッファメモリの構成を示す図、
第5図はバッファメモリから磁気テープへのデータ転送
の処理の流れを示す図、第6図は本発明の磁気テープ装
置とバッファメモリの制御方式を用いる磁気テープ装置
におけるテープ・フォーマットの例を示す図、第7図は
フラグを用いる実施例におけるバッファメモリの内容を
示す図、第8図はバッファメモリの二つの領域に分割す
る実施例におけるバッファメモリの構成を示す図、第9
図はバッファメモリを二つの領域に分割する実施例にお
けるバッファメモリでのデータ格納の処理の流れを示す
図、第10図は従来例を説明するための図、第11図はバッ
ファメモリの使用方法を説明するための図、第12図は従
来例におけるバッファメモリの使用方法を説明するため
の図である。第13図は本発明の磁気テープとバッファメ
モリの制御方式を、ヘリカルスキャン形の磁気テープ装
置に適用した実施例における磁気テープ装置とバッファ
メモリの構成を示す図である。第14図はヘリカルスキャ
ン形の磁気テープ装置における磁気テープへの記録方法
を示す図、第15図はDATにおけるトラックの構成を示す
図、第16図はDATにおけるデータブロックの構成を示す
図、第17図はDATにおけるデータ記録領域の構成を示す
図、第18図は第13図に記載の実施例におけるグループの
構成を示す図、第19図はグループのデータ記録領域の構
成を示す図、第20図はグループのシステム領域の構成を
示す図、第21図は第13図に記載の実施例の磁気テープ装
置が使用する磁気テープのテープフォーマットを示す図
である。 2……アペンド機能によるデータ記録とアップデート・
イン・プレース機能によるデータ記録との識別情報を付
加するステップ、 3……アペンド機能によるデータ記録を行うステップ、 4……アップデート・イン・プレース機能によるデータ
記録を行うステップ、 11……磁気テープ装置、12……バッファメモリ、 13……ホストコンピュータ、 61…フラグ格納領域、63……データ格納領域、 66……フラグ格納領域、325……バッファメモリ、 327……SCSI、402……リードインエリア、 403……データ領域、407……リファレンス。
FIG. 1 is a diagram showing a flow of processing of data recording on a magnetic tape device in a control method of a magnetic tape device and a buffer memory. FIG. 2 is a diagram showing an example of the configuration of a magnetic tape device in a control method of a magnetic tape device and a buffer memory connected thereto, and FIG. 3 shows a flow of data storage processing in a buffer memory in an embodiment using flags. FIG. 4 is a diagram showing a configuration of a buffer memory;
FIG. 5 is a diagram showing the flow of processing of data transfer from the buffer memory to the magnetic tape, and FIG. 6 shows an example of a tape format in the magnetic tape device and the magnetic tape device using the buffer memory control method of the present invention. FIG. 7 is a diagram showing the contents of the buffer memory in the embodiment using the flag. FIG. 8 is a diagram showing the configuration of the buffer memory in the embodiment in which the buffer memory is divided into two areas.
FIG. 10 is a diagram showing a flow of processing for storing data in the buffer memory in an embodiment in which the buffer memory is divided into two areas, FIG. 10 is a diagram for explaining a conventional example, and FIG. 11 is a method of using the buffer memory. FIG. 12 is a diagram for explaining a method of using a buffer memory in a conventional example. FIG. 13 is a diagram showing a configuration of a magnetic tape device and a buffer memory in an embodiment in which the control method of the magnetic tape and the buffer memory of the present invention is applied to a helical scan type magnetic tape device. FIG. 14 is a diagram showing a recording method on a magnetic tape in a helical scan type magnetic tape device, FIG. 15 is a diagram showing a configuration of a track in a DAT, FIG. 16 is a diagram showing a configuration of a data block in a DAT, FIG. 17 is a diagram showing the configuration of a data recording area in the DAT, FIG. 18 is a diagram showing the configuration of a group in the embodiment described in FIG. 13, FIG. 19 is a diagram showing the configuration of a data recording area of the group, FIG. FIG. 20 is a diagram showing the configuration of the system area of the group, and FIG. 21 is a diagram showing the tape format of the magnetic tape used by the magnetic tape device of the embodiment shown in FIG. 2. Data recording and update using append function
A step of adding identification information to the data recording by the in-place function; 3, a step of recording data by the append function; 4, a step of recording data by the update-in-place function; 11: a magnetic tape device , 12: Buffer memory, 13: Host computer, 61: Flag storage area, 63: Data storage area, 66: Flag storage area, 325: Buffer memory, 327: SCSI, 402: Lead-in area , 403 ... data area, 407 ... reference.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】磁気テープに既に記録されているデータを
書き換える機能(アップデート・イン・プレース機能)
と、磁気テープに既に記録されているデータの終了位置
からデータを記録する機能(アペンド機能)とを有する
磁気テープ装置と、この磁気テープ装置に接続され、磁
気テープに記録するデータを一時蓄えるバッファメモリ
と、このバッファメモリに接続され前記磁気テープ装置
を外部記憶装置として使用する電子計算機システムとに
おいて、前記電子計算機システムから磁気テープに記録
するために前記バッファメモリに転送されたデータを、
そのデータがアップデート・イン・プレース機能により
磁気テープに記録するデータであるか、アペンド機能に
より磁気テープに記録するデータであるかを示す情報と
ともにバッファメモリに格納する構成とし、前記磁気テ
ープ装置は、バッファメモリから磁気テープに記録する
データを取り出す場合に前記情報を調べ、アペンド機能
により磁気テープに記録するデータを全て磁気テープに
記録した後に、アップデート・イン・プレース機能によ
り磁気テープに記録するデータを磁気テープに記録する
構成としたことを特徴とする、磁気テープ装置とバッフ
ァメモリの制御方式。
1. A function of rewriting data already recorded on a magnetic tape (update-in-place function)
A magnetic tape device having a function of recording data from an end position of data already recorded on the magnetic tape (append function), and a buffer connected to the magnetic tape device and temporarily storing data to be recorded on the magnetic tape In a memory and an electronic computer system connected to the buffer memory and using the magnetic tape device as an external storage device, data transferred from the electronic computer system to the buffer memory for recording on a magnetic tape,
Whether the data is data to be recorded on the magnetic tape by the update-in-place function or data to be recorded on the magnetic tape by the append function is stored in a buffer memory together with information indicating whether the data is data to be recorded on the magnetic tape. When the data to be recorded on the magnetic tape is taken out from the buffer memory, the information is examined.After all the data to be recorded on the magnetic tape are recorded on the magnetic tape by the append function, the data to be recorded on the magnetic tape by the update-in-place function is retrieved. A control method for a magnetic tape device and a buffer memory, characterized in that recording is performed on a magnetic tape.
【請求項2】請求項1記載の磁気テープ装置とバッファ
メモリの制御方式において、電子計算機システムから磁
気テープに記録するために前記バッファメモリに転送さ
れたデータを、そのデータがアップデート・イン・プレ
ース機能により磁気テープに記録するデータであるかア
ペンド機能により磁気テープに記録するデータであるか
を示すフラグとともにバッファメモリに格納する構成と
し、磁気テープ装置はバッファメモリからデータを取り
出す場合に前記フラグをチェックし、アペンド機能によ
り磁気テープに記録するデータを全て磁気テープに記録
した後に、アップデート・イン・プレース機能により磁
気テープに記録するデータを磁気テープに記録する構成
としたことを特徴とする磁気テープ装置とバッファメモ
リの制御方式。
2. The control method of a magnetic tape device and a buffer memory according to claim 1, wherein the data transferred from said electronic computer system to said buffer memory for recording on said magnetic tape is updated in place. A function to store the data in the buffer memory together with a flag indicating whether the data is to be recorded on the magnetic tape by the function or the data to be recorded on the magnetic tape by the append function, and the magnetic tape device sets the flag when extracting the data from the buffer memory. A magnetic tape characterized in that, after checking and recording all the data to be recorded on the magnetic tape by the append function, the data to be recorded on the magnetic tape by the update-in-place function is recorded on the magnetic tape Device and buffer memory control method.
【請求項3】請求項1記載の磁気テープ装置とバッファ
メモリの制御方式において、前記バッファメモリを、ア
ップデート・イン・プレース機能により磁気テープに記
録を行うデータを格納する第1の領域と、アペンド機能
により磁気テープに記録を行うデータを格納する第2の
領域とにより構成し、磁気テープ装置は前記第2の領域
に格納されたデータを磁気テープに記録した後、第1の
領域に格納されたデータを磁気テープに記録する構成と
したことを特徴とする磁気テープ装置とバッファメモリ
の制御方式。
3. A control method for a magnetic tape device and a buffer memory according to claim 1, wherein said buffer memory has a first area for storing data to be recorded on a magnetic tape by an update-in-place function, and an appending method. And a second area for storing data to be recorded on the magnetic tape by the function. The magnetic tape device records the data stored in the second area on the magnetic tape and then stores the data in the first area. A magnetic tape device and a buffer memory, wherein the recorded data is recorded on a magnetic tape.
JP16073289A 1989-06-26 1989-06-26 Control method of magnetic tape unit and buffer memory Expired - Lifetime JP2595096B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16073289A JP2595096B2 (en) 1989-06-26 1989-06-26 Control method of magnetic tape unit and buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16073289A JP2595096B2 (en) 1989-06-26 1989-06-26 Control method of magnetic tape unit and buffer memory

Publications (2)

Publication Number Publication Date
JPH0329166A JPH0329166A (en) 1991-02-07
JP2595096B2 true JP2595096B2 (en) 1997-03-26

Family

ID=15721262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16073289A Expired - Lifetime JP2595096B2 (en) 1989-06-26 1989-06-26 Control method of magnetic tape unit and buffer memory

Country Status (1)

Country Link
JP (1) JP2595096B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4131517B2 (en) 2005-09-06 2008-08-13 インターナショナル・ビジネス・マシーンズ・コーポレーション Device for writing data to tape media
WO2009133605A1 (en) 2008-04-30 2009-11-05 富士通株式会社 Virtual tape drive, control method, and control unit

Also Published As

Publication number Publication date
JPH0329166A (en) 1991-02-07

Similar Documents

Publication Publication Date Title
JP2854391B2 (en) Method for assembling data groups on DAT tape
EP0628197B1 (en) Digital servo track format
JP2740217B2 (en) Recording medium retrieval method and recording medium retrieval device
KR100187544B1 (en) Apparatus and method for recording a digital signal
JPH08500927A (en) Data recording system with improved longitudinal and spiral search capabilities
EP0628196B1 (en) Data recording system having unique end-of-recording and start-of-recording format indicators
JP3482676B2 (en) Data recording method and data recording device
JP2595096B2 (en) Control method of magnetic tape unit and buffer memory
JPH1011896A (en) Data recorder and reproducer
JPH09231508A (en) Data recording system with demarking function and its method
JP3160413B2 (en) Method for calculating recording capacity of magnetic tape device
JP2550139B2 (en) Magnetic recording device
JPH08501171A (en) Data recording system with single non-record detection
JPH08501174A (en) Data recording system having improved automatic rewriting function and rewriting method
JP3065697B2 (en) Magnetic recording method
JP3477795B2 (en) Data recording method, data recording medium and data streamer
JP3871351B2 (en) Data recording method
JP3045325B2 (en) Magnetic recording / reproducing device
JPH08235836A (en) Data recorder
JP2666409B2 (en) Search device
JP2661067B2 (en) Data recorder
JP2633924B2 (en) Magnetic recording / reproducing device
JP2576535B2 (en) Data recorder
JPH04286779A (en) Magnetic recording and reproducing device
JPH04326420A (en) Magnetic tape storage and its control system