JP2001014604A - Data writing system - Google Patents

Data writing system

Info

Publication number
JP2001014604A
JP2001014604A JP11187420A JP18742099A JP2001014604A JP 2001014604 A JP2001014604 A JP 2001014604A JP 11187420 A JP11187420 A JP 11187420A JP 18742099 A JP18742099 A JP 18742099A JP 2001014604 A JP2001014604 A JP 2001014604A
Authority
JP
Japan
Prior art keywords
data
length
magnetic tape
writing
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.)
Withdrawn
Application number
JP11187420A
Other languages
Japanese (ja)
Inventor
Kinya Saito
金弥 斉藤
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 JP11187420A priority Critical patent/JP2001014604A/en
Publication of JP2001014604A publication Critical patent/JP2001014604A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Digital Magnetic Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To make rewritable in a short time by a simple process when a writing error occurs in a magnetic tape concerning the data writing system of a magnetic tape device in which an internal block gap is arranged between data blocks for writing and a read after write check function is provided. SOLUTION: The system is provided with a means 11, which determines the data block length of a data buffer that stores the data blocks to be written into a magnetic tape, a padding data adding means 13 and a writing control section 12. The section 12 discriminates whether the recording length, which includes the data block length discriminated by the means 11 and an IBG, exceeds the distance between the writing head of the magnetic tape and the reading head or not. When the recording length does not exceed the distance, the means 13 is driven to add padding data to the data blocks so that the recording length exceeds the distance between the heads.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は磁気テープ装置のデ
ータ書込方式に関する。
The present invention relates to a data writing system for a magnetic tape device.

【0002】磁気テープ装置にデータを書込む際には物
理ブロックの大きさが可変であり,各物理ブロックの間
にインターナルブロックギャップ(IBGという)を書
込むことになっている。また,磁気テープ装置では書込
ヘッドによりデータを書込んだ場合,その直後に読込ヘ
ッドにより読込みを行ってそのデータと書込んだデータ
を照合して正しく書込みが行われたかのチェックを行
い,誤りを検出すると再書込を行うために,磁気テープ
の誤りが検出されたブロックの前の部分が書込ヘッドの
位置に来るよう巻き戻しを行っている。
When writing data to a magnetic tape device, the size of a physical block is variable, and an internal block gap (IBG) is written between each physical block. Also, in the magnetic tape device, when data is written by the write head, immediately after that, the data is read by the read head, the data is compared with the written data, and it is checked whether the data is written correctly. In order to perform rewriting upon detection, the magnetic tape is rewound so that the portion in front of the block where the error has been detected is located at the position of the write head.

【0003】このような磁気テープの書込みの誤りを検
出した場合の再書込の制御を簡易化することが望まれて
いる。
It is desired to simplify the control of rewriting when such a writing error of the magnetic tape is detected.

【0004】[0004]

【従来の技術】図6は従来技術の説明図であり,図6の
A.は磁気テープ上の記録データの構成,B.は物理ブ
ロックの構成を示す。A.において,80は磁気テー
プ,81は管理のためのデータブロック,82はインタ
ーナルブロックギャップ(IBG),83はTM(テー
プマーク),84はユーザデータである。
2. Description of the Related Art FIG. Is the configuration of data recorded on the magnetic tape; Indicates the configuration of a physical block. A. In the figure, 80 is a magnetic tape, 81 is a data block for management, 82 is an internal block gap (IBG), 83 is a TM (tape mark), and 84 is user data.

【0005】磁気テープ装置の技術において,磁気テー
プ80にデータを書込む際の物理ブロック(管理のため
のデータ81,IBG82,TM83,ユーザデータ8
4等)の大きさは,1バイト(Byte) から451キロバ
イト(KByte)である。この大きさは,通常上位装置のイ
ンタフェースの最大転送バイト数に関係している。上位
装置は,書込むべきデータをある大きさに設定して,デ
ータを書込むことで,媒体上のデータの管理を行うよう
にしている。
In the magnetic tape device technology, physical blocks (data 81 for management, IBG 82, TM83, user data 8) when writing data to the magnetic tape 80 are used.
4) is from 1 byte (Byte) to 451 kilobytes (KByte). This size is usually related to the maximum number of transfer bytes of the interface of the host device. The host device manages the data on the medium by setting the data to be written to a certain size and writing the data.

【0006】一般的に,スタンダードラベル形式(以
下,SLという)では,磁気テープの先頭及びファイル
の切れ目に管理のためのデータ(ユーザデータの長さ,
名称等)81を書き込んでおり,長さは80バイトであ
り,この管理のためのデータは2乃至3個書き込まれて
おり,媒体に書き込んだ時の物理的な大きさは0.3m
m(テープ速度が2m/secの場合)程度になる。ま
た,磁気テープ80に書き込む場合,各種のデータを含
む物理ブロックと物理ブロックの間を示すために特定パ
ターンのデータであるIBG82が書き込まれる。この
大きさは1.6mm(最小)から3.0mm(最大)の
範囲(テープ速度は前記と同じ2m/secとする)に
規定され,標準的な大きさとして2.0mmが使用され
ている。
In general, in the standard label format (hereinafter referred to as SL), data for management (the length of the user data,
Name etc.) 81 is written, the length is 80 bytes, and two or three pieces of data for this management are written, and the physical size when written to the medium is 0.3 m
m (when the tape speed is 2 m / sec). When writing data on the magnetic tape 80, an IBG 82, which is data of a specific pattern, is written to indicate between physical blocks including various types of data. This size is defined in the range of 1.6 mm (minimum) to 3.0 mm (maximum) (the tape speed is assumed to be 2 m / sec as described above), and 2.0 mm is used as a standard size. .

【0007】図6のB.に従来の物理ブロックの構成を
示す。この例では磁気テープの幅(トラック数)は18
個とし,同時に18ビットのデータを並列に書き込むこ
とができる。物理ブロックの先頭と末尾にはそれぞれ物
理ブロックを制御するためのパターン(いわゆる,
“0”,“1”のデータとは異なる)であるプリアンブ
ル90とポストアンブル92が配置され,その間に
“1”,“0”のデータ部91が書き込まる。データ部
91には,14ビットのデータが並列に書き込まれるユ
ーザデータ部分91aとユーザデータ部分91aのデー
タの端数(14ビットで割り切れないビット)の部分に
書き込むためのパディング部分91b及び,ユーザデー
タ部分91aとパディング部分91bの各14ビットに
対して並列に4ビット分のエラーチェック訂正(EC
C)ビット等のビットを格納する領域が設けられてい
る。なお,パディング部分91bは予め決められたパデ
ィングであることを表す“1”,“0”により構成する
パターンであり,上記プリアンブル90やポストアンブ
ル92とは信号の性質及び構成が異なる。
FIG. 1 shows a configuration of a conventional physical block. In this example, the width (the number of tracks) of the magnetic tape is 18
And 18-bit data can be written in parallel at the same time. At the beginning and end of the physical block, patterns for controlling the physical block (so-called,
A preamble 90 and a postamble 92 (which are different from the data of “0” and “1”) are arranged, and a data portion 91 of “1” and “0” is written between them. The data portion 91 includes a user data portion 91a in which 14-bit data is written in parallel, a padding portion 91b for writing a fractional part (bits not divisible by 14 bits) of the data of the user data portion 91a, and a user data portion 91b. Error checking and correction for 4 bits in parallel with each 14 bits of the padding portion 91a and the padding portion 91b (EC
C) An area for storing bits such as bits is provided. Note that the padding portion 91b is a pattern composed of "1" and "0" indicating that the padding is a predetermined padding, and differs from the preamble 90 and the postamble 92 in the nature and configuration of the signal.

【0008】図7は書込ヘッドと読込ヘッドの位置と書
込みエラー発生時のリトライの説明図である。図7の
A.において,80は磁気テープ,85は書込ヘッド,
86は読込ヘッドを表す。
FIG. 7 is an explanatory view of the positions of the write head and the read head and the retry when a write error occurs. FIG. , 80 is a magnetic tape, 85 is a write head,
86 represents a read head.

【0009】書込みの際には,磁気テープ80へ書込ヘ
ッド85によりN番目のデータを書込んだ後に,IBG
を書込みその後にN+1番目のデータを書込む。この際
にN番目のデータが読込ヘッド86を通過し,N番目の
データのリードアフターライによる書込みエラーの有無
のチェックを行う。この検査でエラーを検出しなけれ
ば,N番目のデータは正常に書込まれたと判断する。し
かし,媒体欠損等によるデータ誤りがあった際には,N
番目のデータブロックを再度書込むためのリトライ処理
が必要になる。
At the time of writing, after writing the N-th data on the magnetic tape 80 by the write head 85, the IBG
Then, the (N + 1) th data is written. At this time, the N-th data passes through the read head 86, and it is checked whether or not there is a write error due to the read-after-write of the N-th data. If no error is detected in this check, it is determined that the Nth data has been written normally. However, when there is a data error due to medium loss, etc., N
A retry process for writing the second data block again is required.

【0010】この場合,図7のB.ののようにN+2
番目の書込み途中であっても,それを中断し,N番目の
データの再書込処理を実行する。の場合は1データブ
ロックだけ磁気テープを戻した状態(図では各ヘッドを
動かして相対的に磁気テープを戻した状態を表す)を示
すが,この状態ではデータブロックNの位置まで戻って
ない。そこでで示すように2つのデータブロック分戻
ると,書込ヘッドがデータブロックNを再書込可能にな
り,の状態でデータブロックNの再書込が終了し,続
いてデータブロックN+1についても再書込を行う。そ
の後,の状態で再書込されたデータブロックNを読込
んで検査を行い,更にデータブロックN+1についても
同様の検査を行う。
In this case, FIG. N + 2 like
Even during the writing of the Nth data, the writing is interrupted, and the Nth data is rewritten. In the case of (1), the magnetic tape is returned by one data block (in the figure, the state where each magnetic head is moved and the magnetic tape is relatively returned). In this state, the magnetic tape does not return to the position of the data block N. Then, as shown in the figure, when the data block is returned by two data blocks, the write head can rewrite the data block N, and the rewriting of the data block N is completed in the state described above, and then the data block N + 1 is rewritten. Write. Thereafter, the rewritten data block N is read in the state described above, and inspection is performed, and the same inspection is performed on the data block N + 1.

【0011】[0011]

【発明が解決しようとする課題】従来の技術によれば,
磁気テープのリード・アフター・ライトによる検査でエ
ラーを検出した場合,複数のデータブロック分だけ戻っ
て再書込みを行う必要があるが,複数のデータブロック
の再書込位置(再書込の対象となるデータブロックの前
のIBGの位置)まで正確に磁気テープを戻す制御動作
が複雑で時間を要し,この時に僅かな位置ずれが発生す
るという問題があった。
According to the prior art,
If an error is detected by the read-after-write inspection of the magnetic tape, it is necessary to go back by a plurality of data blocks and perform rewriting. The control operation of returning the magnetic tape to the position of the IBG immediately before the data block) is complicated and time-consuming, and there is a problem that a slight displacement occurs at this time.

【0012】書込情報のバイト数が設定値以下の場合は
IBG長を長くとった後にデータブロックを書込むこと
は特開昭56−34120号公報や特開昭56−8
0810号公報に開示されている。更に,特開昭58
−60418号公報によれば書込ヘッドと読込ヘッドの
間隔に相当する磁気テープ上のバイト数に満たないバイ
ス数のデータブロックを記録する場合,データブロック
にプリアンブルまたはポストアンブルを付加してヘッド
の間隔に対応する磁気テープ上のバイト数以上になるよ
うにする方式が開示されている。
When the number of bytes of the write information is equal to or less than the set value, writing the data block after increasing the IBG length is disclosed in Japanese Patent Application Laid-Open Nos. 56-34120 and 56-8.
No. 0810. Further, Japanese Patent Application Laid-Open
According to Japanese Patent Application Laid-Open No. 60418, when recording a data block having a number of devices less than the number of bytes on a magnetic tape corresponding to the interval between a write head and a read head, a preamble or a postamble is added to the data block, and A method is disclosed in which the number of bytes on the magnetic tape corresponding to the interval is equal to or greater than the number of bytes.

【0013】しかし,上記,に開示された技術を用
いても,IBG長は最大で3.0mmであるという規定
があるため,それより長くする必要がある場合に対応す
ることができないという問題があった。また,上記の
技術ではプリアンブルまたはポストアンブルの長さも,
規定により制限されているという問題があった。
[0013] However, even if the technique disclosed above is used, there is a provision that the IBG length is 3.0 mm at the maximum, so that it is not possible to cope with the case where the length needs to be longer than that. there were. In the above technique, the length of the preamble or postamble is also
There was a problem that it was restricted by regulations.

【0014】本発明は磁気テープに書込誤りが発生した
時に簡単な処理で短時間に再書込みを可能とする磁気テ
ープ装置のデータ書込方式を提供することを目的とす
る。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a data writing method for a magnetic tape device which enables simple rewriting in a short time when a writing error occurs on a magnetic tape.

【0015】[0015]

【課題を解決するための手段】本発明の第1の原理は磁
気テープに書込むための最小ブロックサイズを制限し,
第Nブロックの読込み検査が完了する前に第(N+1)
ブロックの書込みが終わらない大きさになるようデータ
にパディングを付加するものである。
A first principle of the present invention is to limit a minimum block size for writing on a magnetic tape,
Before the read inspection of the Nth block is completed, the (N + 1) th
The padding is added to the data so that the size of the block does not end.

【0016】本発明の第2の原理は磁気テープに書込む
ブロックサイズに応じてIBGの部分に標準で7.8m
mの大きさをもつイレーズ(Erase)パターンを書込むこ
とでIBG長を変化させ,第Nブロックの検査が完了す
る前に第N+1ブロックの書込みが終わらない大きさに
する。
The second principle of the present invention is that the IBG part is 7.8 m in standard depending on the block size to be written on the magnetic tape.
The IBG length is changed by writing an erase pattern having a size of m so that the writing of the (N + 1) th block does not end before the inspection of the Nth block is completed.

【0017】図1は本発明の第1の原理説明図であり,
A.は第1の原理構成,B.は磁気テープ上のデータブ
ロック長を増大した状態を示す図である。A.におい
て,1は書込部,10はデータバッファ,11はデータ
ブロック長判別手段,12は書込制御部,13はパディ
ングデータを付加するパディングデータ付加手段,14
は書込回路である。B.の2は磁気テープ,20はIB
G,21はデータブロック(N,N+1はブロック番号
を表す),22はパディングデータ,3は書込ヘッド,
4は読込ヘッド,X(mm)は書込ヘッドと読込ヘッド
の間隔(正確には各ヘッドの磁気ギャップの間隔)を表
し,Lib(mm)はIBG長,Lblk(mm)はデ
ータの物理ブロック長を表す。
FIG. 1 is a diagram illustrating a first principle of the present invention.
A. Is the first principle configuration; FIG. 4 is a diagram showing a state where the data block length on the magnetic tape is increased. A. In the figure, 1 is a writing unit, 10 is a data buffer, 11 is a data block length determining unit, 12 is a writing control unit, 13 is padding data adding unit for adding padding data, 14
Is a write circuit. B. 2 is magnetic tape, 20 is IB
G and 21 are data blocks (N and N + 1 represent block numbers), 22 is padding data, 3 is a write head,
4 is a read head, X (mm) is the distance between the write head and the read head (more precisely, the distance between the magnetic gaps of each head), Lib (mm) is the IBG length, and Lblk (mm) is the physical block of data. Indicates length.

【0018】本発明の第1の原理では,IBG長(Li
b)として最小値が1.6mm,標準が2.0mm,最
大値が3.0mmである場合,Nブロックのリードアフ
ターライト検査の完了前にN+1ブロックの書込が完了
しないようにするには,最小のIBG長の場合は要求さ
れる物理ブロック長(Lblk)はX−1.6(mm)
以上であり,標準のIBG長の場合は要求される物理ブ
ロック長(Lblk)はX−2.0(mm)以上であ
り,最大のIBG長の場合はX−3.0(mm)以上で
ある。従って,書込部1のデータバッファ10に図示さ
れないホスト(上位装置)からデータブロックが格納さ
れると,データブロック長判別手段11は格納されたデ
ータブロック長を判別し,書込制御部12は上記の条件
(Nブロックのリードアフターライト検査の完了前にN
+1ブロックの書込が完了しない)を満たすか判定す
る。
According to the first principle of the present invention, the IBG length (Li
b) Assuming that the minimum value is 1.6 mm, the standard value is 2.0 mm, and the maximum value is 3.0 mm, the writing of N + 1 blocks is not completed before the completion of the read-after-write inspection of N blocks. , The required physical block length (Lblk) for the minimum IBG length is X-1.6 (mm)
The required physical block length (Lblk) is X-2.0 (mm) or more for the standard IBG length, and X-3.0 (mm) or more for the maximum IBG length. is there. Therefore, when a data block is stored in the data buffer 10 of the writing unit 1 from a host (not shown), the data block length determining unit 11 determines the stored data block length, and the write control unit 12 The above conditions (N before the completion of the read-after-write inspection of N blocks)
(Writing of +1 block is not completed) is determined.

【0019】すなわち,IBG長を最小の値に設定した
場合でもデータの物理ブロック長(Lblk)が,X−
1.6(mm)以上であるかを判定する。この時,デー
タ長を当該磁気テープの記録密度に換算した場合の長さ
を求めて,この条件を満たす場合は,データバッファ1
0のデータだけが書込回路14に出力されてデータブロ
ックとして書込まれ,満たさない場合(X−1.6 に達
しない場合)は,パディングデータ付加手段13を駆動
して,データバッファ10のデータブロック21に付加
する形式で前記の条件を満たす長さ(不足する長さ)に
対応する量のパディングデータ22を発生して書込回路
14に供給し,図1のB.に示すようにデータブロック
21にパディングデータ22が付加された形式でデータ
ブロックが書込まれる。これによりデータブロック長が
増大されて,Nのデータブロックの検査が終了する前に
N+1のデータブロックの書込みが終了することがなく
なる。
That is, even when the IBG length is set to the minimum value, the physical block length (Lblk) of the data is equal to the X-length.
It is determined whether it is 1.6 (mm) or more. At this time, the length in the case where the data length is converted into the recording density of the magnetic tape is determined.
Only the data of 0 is output to the write circuit 14 and written as a data block. If the data is not satisfied (X-1.6 is not reached), the padding data adding means 13 is driven to In a format added to the data block 21, padding data 22 of an amount corresponding to the length satisfying the above condition (insufficient length) is generated and supplied to the writing circuit 14; The data block is written in a format in which padding data 22 is added to the data block 21 as shown in FIG. As a result, the data block length is increased, and the writing of the (N + 1) -th data block does not end before the inspection of the N-data block ends.

【0020】図2は本発明の第2の原理構成図であり,
A.は第2の原理構成,B.は磁気テープ上のIBG長
を増大した状態を示す図である。図2のA.において,
上記図1と同じものは同一の符号で表し,1は書込部,
10はデータバッファ,11はデータブロック長判別手
段,12は書込制御部,14は書込回路,15は通常の
IBG発生手段,16はIBGに付加されるイレーズ
(ERASE)パターン発生手段である。図2のB.の2は磁
気テープ,20はIBG,21はデータブロック(N,
N+1はブロック番号を表す),23はイレーズパター
ン(ERASE で表示) ,3は書込ヘッド,4は読込ヘッド
で,X(mm),Lib(mm),Lblk(mm)は
上記図1と同じであり説明を省略する。
FIG. 2 is a block diagram showing the second principle of the present invention.
A. Is the second principle configuration. FIG. 4 is a diagram showing a state where the IBG length on the magnetic tape is increased. A. of FIG. At
1 are denoted by the same reference numerals, 1 is a writing unit,
10 is a data buffer, 11 is a data block length determining means, 12 is a writing control unit, 14 is a writing circuit, 15 is a normal IBG generating means, and 16 is an erase (ERASE) pattern generating means added to the IBG. . B. of FIG. 2 is a magnetic tape, 20 is an IBG, 21 is a data block (N,
N + 1 represents a block number), 23 represents an erase pattern (denoted by ERASE), 3 represents a write head, 4 represents a read head, and X (mm), Lib (mm), and Lblk (mm) are the same as those in FIG. Therefore, the description is omitted.

【0021】本発明の第2の原理では,Nブロックの検
査が完了する前にN+1ブロックの書込が完了しないよ
うな位置関係を保つため,書込ヘッドと読込ヘッドの間
隔(X)に対しブロック長(Lblk)が最小の場合
(1バイト)に,ブロック長を変えずにIBG長を変え
るよう制御するが,この場合要求されるIBG長は(X
−最小Lblk)となる。しかし,IBG長は最大長が
予め規定されており,その規定を超える場合がある。具
体的には,IBG長の最大長が3.00mmに規定され
ている場合,ブロック長が1バイトでその記録長が0.
26mmである時,書込ヘッドと読込ヘッドの間隔が
3.81mmとすると,要求されるIBG長は3.81
−0.26=3.55mmとなり規定値を超える。
According to the second principle of the present invention, in order to maintain a positional relationship in which writing of the (N + 1) -th block is not completed before the inspection of the N-block is completed, the distance (X) between the write head and the read head is set. When the block length (Lblk) is minimum (1 byte), control is performed to change the IBG length without changing the block length. In this case, the required IBG length is (X
-Minimum Lblk). However, the maximum length of the IBG length is specified in advance, and may exceed the specified length. Specifically, when the maximum length of the IBG length is defined as 3.00 mm, the block length is 1 byte and the recording length is 0.
When the distance between the write head and the read head is 3.81 mm at 26 mm, the required IBG length is 3.81.
-0.26 = 3.55 mm, exceeding the specified value.

【0022】これに対処するため,この第2の原理構成
では,データバッファ10に書込まれたデータブロック
長をデータブロック長判別手段11で判別し,書込制御
部12において通常のIBG長で上記の条件(Nブロッ
クの読込みチェック完了前にN+1ブロックの書込が完
了する)を満たすか判定し,満たさない場合は通常のI
BG発生手段15を駆動して標準の長さのIBGを発生
すると共にイレーズパターン発生手段16も駆動して,
標準のIBGに加えてイレーズパターンも発生し,図2
のB.に示すようにIBG20とイレーズパターン23
及びIBG20が順番に書込回路14により書込まれ
る。イレーズパターンは標準で7.8mmの長さが規定
されており,多数個を連続して書込むことが可能であ
る。なお,イレーズパターンは,通常は媒体不良箇所を
スキップするために書込む信号パターンであるので,読
込み時には通常スキップされ,読込み動作に影響を与え
ない。
In order to cope with this, in the second principle configuration, the data block length written in the data buffer 10 is determined by the data block length determining means 11, and the write control unit 12 uses the normal IBG length. It is determined whether the above condition (the writing of the (N + 1) block is completed before the reading check of the N block is completed) is satisfied.
The BG generating means 15 is driven to generate an IBG having a standard length, and the erase pattern generating means 16 is also driven.
An erase pattern is generated in addition to the standard IBG.
B. As shown in IBG20 and erase pattern 23
And IBG 20 are written by the writing circuit 14 in order. The erase pattern has a standard length of 7.8 mm, and a large number of erase patterns can be written continuously. The erase pattern is usually a signal pattern to be written in order to skip a defective medium portion. Therefore, it is usually skipped at the time of reading, and does not affect the reading operation.

【0023】このように,イレーズパターンを書込むこ
とで,隣接するデータブロックの間に所定以上の距離を
確保することが可能となる。
As described above, by writing an erase pattern, it is possible to secure a predetermined distance or more between adjacent data blocks.

【0024】[0024]

【発明の実施の形態】図3は本発明の実施例のハードウ
ェア構成を示す。この実施例は,上記図1に示す本発明
の第1の原理構成及び図2に示す本発明の第2の原理構
成を実施することができる。図中,3は書込ヘッド(W
T HEAD),4は読込ヘッド(RD HEAD),
30は磁気テープ装置の制御を行うMPU(マイクロプ
ロセッサユニット)であり,上記図1,図2の書込制御
部12に対応し,31はプログラムやデータを格納した
メモリ,32はホストとのインタフェース制御を行うS
CSI(Small Computer System Interface)制御回路,
33は書込みデータ及び読込みデータを1次格納するデ
ータバッファ,34はIBGや,本発明によるIBGを
実質的に拡大するイレーズパターン(ERASE)を作成する
パターン作成回路,35は8ビットを9ビットに変換す
るデータ変換回路,36はECC(エラー検出訂正)符
号の作成及びパディングデータを作成するECC作成パ
ディング発生回路,37は符号34〜36で表す各回路
からのデータまたはパターンを順番に選択する多重回路
(MPX),38は書込回路である。
FIG. 3 shows a hardware configuration of an embodiment of the present invention. This embodiment can implement the first principle configuration of the present invention shown in FIG. 1 and the second principle configuration of the present invention shown in FIG. In the figure, 3 is a write head (W
T HEAD), 4 is a read head (RD HEAD),
Reference numeral 30 denotes an MPU (microprocessor unit) for controlling the magnetic tape device, which corresponds to the write control unit 12 in FIGS. 1 and 2, 31 is a memory storing programs and data, and 32 is an interface with a host. S to control
CSI (Small Computer System Interface) control circuit,
33 is a data buffer for temporarily storing write data and read data, 34 is a pattern creation circuit for creating an IBG or an erase pattern (ERASE) for substantially expanding the IBG according to the present invention, and 35 is a 9-bit to 8-bit data. A data conversion circuit for conversion, 36 is an ECC (error detection and correction) code generation and an ECC generation padding generation circuit for generating padding data, and 37 is a multiplex for sequentially selecting data or a pattern from each circuit represented by reference numerals 34 to 36. The circuits (MPX) and 38 are write circuits.

【0025】40は読込ヘッド4から読込まれたアナロ
グ信号からデータを検出する読込回路,41は各パター
ン(IBG,イレーズパターン等)を検出するパターン
検出回路,42は読込回路40からの信号についてパタ
ーン検出回路41の検出信号を含めて処理を行ってエラ
ー検出訂正を行うECC回路,43はECC回路42か
らの出力についてデータ変換(9ビットから8ビットに
変換)を行う回路である。
Reference numeral 40 denotes a read circuit for detecting data from an analog signal read from the read head 4, reference numeral 41 denotes a pattern detection circuit for detecting each pattern (IBG, erase pattern, etc.), and reference numeral 42 denotes a pattern for a signal from the read circuit 40. An ECC circuit 43 for performing error detection and correction by performing processing including the detection signal of the detection circuit 41, and a circuit 43 for performing data conversion (9-bit to 8-bit conversion) on the output from the ECC circuit 42.

【0026】図4は実施例のデータブロック拡大の処理
フローであり,図3に示すハードウェア構成において実
行される。この実施例の処理フローは上記図1の第1の
原理に対応する。
FIG. 4 is a processing flow for expanding a data block according to the embodiment, which is executed in the hardware configuration shown in FIG. The processing flow of this embodiment corresponds to the first principle of FIG.

【0027】ホストからSCSI制御部(図3の32)
を介してデータバッファ(図3の33)へデータ転送を
行って(図4のS1),転送完了を確認する(同S
2)。転送が完了すると,データバイトが規定以上であ
るか判別する(同S3)。このデータバイトが規定以上
であるかの判別は,上記図1について説明したIBG長
を最小の値(1.6mm)に設定した場合のデータの物
理ブロック長(Lblk)が,X−1.6(mm)以上
であるかの判別をする。規定バイト以上であれば,デー
タバッファのデータバイトをそのままの大きさで書込み
(図4のS5),規定バイトに達しない場合は,規定バ
イト以上になるようパディングを追加する(同S4)。
Host to SCSI controller (32 in FIG. 3)
The data is transferred to the data buffer (33 in FIG. 3) via the interface (S1 in FIG. 4), and the completion of the transfer is confirmed (S1 in FIG. 4).
2). When the transfer is completed, it is determined whether or not the data byte is equal to or larger than a specified value (S3). Whether the data byte is equal to or larger than the specified value is determined by determining that the physical block length (Lblk) of the data when the IBG length described with reference to FIG. 1 is set to the minimum value (1.6 mm) is X-1.6. (Mm) is determined. If it is equal to or more than the specified byte, the data byte of the data buffer is written with the same size (S5 in FIG. 4). If the data byte does not reach the specified byte, padding is added so as to be equal to or more than the specified byte (S4).

【0028】このデータブロック拡大を具体例で説明す
ると,書込ヘッドと読込ヘッドのヘッドギャップ間の距
離が3.81mmであり,IBG長(Libg)が最小
の1.6mmであると,Nブロックの検査が完了前にN
+1ブロックの書込が完了しないような物理ブロック長
(Lblk)は,3.81mm−1.6mm=2.21
mmである。
To explain this data block enlargement in a concrete example, if the distance between the head gap between the write head and the read head is 3.81 mm and the IBG length (Libg) is 1.6 mm, which is the minimum, N blocks N before inspection is completed
The physical block length (Lblk) at which the writing of the +1 block is not completed is 3.81 mm-1.6 mm = 2.21.
mm.

【0029】物理ブロックサイズが2.21mm以上に
するための物理ブロックのデータ量は,以下の計算で求
められる。
The data amount of the physical block for setting the physical block size to 2.21 mm or more can be obtained by the following calculation.

【0030】物理ブロックサイズ(Lblk)=[(NByte/14)
+28] ×(9×1.028 ×0.001) 但し「N」は求めるブロックサイズのバイト長であり,
「14」はテープ幅に並列に記録されるビット数は18ビ
ットでその中のデータのビット数が14で,残りの4ビ
ットはECC(エラーチェック訂正)のビットである。
「28」はプリアンブル, ポストアンブルのビット数,
「9 」は元の8ビット(1バイト)が9ビットに変換さ
れて記録されることを表し,「1.028 」はこの実施例で
の1 ビットを記録した時の長さ(単位はマイクロメータ
μm)を表し,「0.001 」はμmをmmにするための数
値である。
Physical block size (Lblk) = [(NByte / 14)
+28] × (9 × 1.028 × 0.001) where “N” is the byte length of the desired block size,
"14" indicates that the number of bits recorded in parallel with the tape width is 18 bits, the number of data bits is 14, and the remaining 4 bits are ECC (error check and correction) bits.
“28” is the number of preamble and postamble bits,
"9" indicates that the original 8 bits (1 byte) are converted to 9 bits and recorded, and "1.028" is the length when 1 bit is recorded in this embodiment (the unit is micrometer μm). ), And “0.001” is a numerical value for changing μm to mm.

【0031】従って,求めるバイト数Nは次の式で表さ
れ, NByte=〔{Lblk/(9 ×1.028 ×0.001)}-28]×14 IBG長が最低の状態でも,この関係を保証するには N=[{2.21/(9 ×1.028 ×0.001)}-28]×14=[(2.21/0.009252)-28] ×14 =2952.14Byte となり,N=2953バイト以上であることが必要であ
る。
Therefore, the number of bytes N to be obtained is represented by the following equation: NByte = [{Lblk / (9 × 1.028 × 0.001)} − 28] × 14 Even if the IBG length is in the minimum state, this relationship is guaranteed. Is N = [{2.21 / (9 × 1.028 × 0.001)} − 28] × 14 = [(2.21 / 0.009252) -28] × 14 = 2952.14 Bytes, and it is necessary that N = 2953 bytes or more.

【0032】媒体に書込む物理ブロックサイズの最小値
を磁気テープ装置側で2953バイト以上にするには,
上記図4の処理フローにおいて,ホストとのインタフェ
ース上の規定を変えることなく,磁気テープ装置内部の
媒体へのデータ書込フォーマットの際に,最小のブロッ
クサイズが2953バイトに満たない場合にも2953
バイト以上になるように,パディングデータを付加して
大きさを変更してデータを書込むようにする。読込の際
には,元の大きさ分のデータのみホスト側へデータを送
るようにする。
In order to set the minimum value of the physical block size to be written on the medium to 2953 bytes or more on the magnetic tape device side,
In the processing flow of FIG. 4 described above, even if the minimum block size is less than 2953 bytes in the format for writing data to the medium inside the magnetic tape device without changing the specification on the interface with the host, the 2953 bytes can be used.
The padding data is added and the size is changed so that the size becomes more than bytes, and the data is written. At the time of reading, only data of the original size is sent to the host.

【0033】図5は実施例のIBG拡大の処理フローで
あり,図3に示すハードウェア構成において実行され
る。この実施例の処理フローは上記図2の第2の原理に
対応する。
FIG. 5 is a flowchart of an IBG enlargement process of the embodiment, which is executed in the hardware configuration shown in FIG. The processing flow of this embodiment corresponds to the second principle of FIG.

【0034】ホストからSCSI制御部(図3の32)
を介してデータバッファ(図3の33)へデータ転送を
行って(図5のS1),転送完了を確認する(同S
2)。転送が完了すると,そのデータバイトを書込み
(同S3),データバイトが規定以上であるか判別する
(同S4)。このデータバイトが規定以上であるかの判
別は,上記図2について説明したデータブロック長が所
定バイト以上であるかを判別するものである。所定バイ
ト以上であれば,標準のIBG長を書込み(図5のS
6),所定バイトに達しない場合はイレーズパターンの
書込みを行い(同S5),続いて標準のIBG長を書込
む。
From host to SCSI controller (32 in FIG. 3)
The data is transferred to the data buffer (33 in FIG. 3) via the interface (S1 in FIG. 5), and the completion of the transfer is confirmed (S1 in FIG. 5).
2). When the transfer is completed, the data byte is written (S3), and it is determined whether the data byte is equal to or larger than a specified value (S4). The determination as to whether or not the data byte is equal to or greater than the specified value is to determine whether or not the data block length described with reference to FIG. 2 is equal to or greater than a predetermined byte. If the length is equal to or more than a predetermined byte, a standard IBG length is written (S in FIG. 5).
6) If the number does not reach the predetermined byte, an erase pattern is written (S5), and then a standard IBG length is written.

【0035】このIBGの拡大を具体例で説明すると,
書込ヘッドと読込ヘッドのヘッドギャップ間の距離が
3.81mmであり,IBG長(Libg)を標準
(2.0mm)にすると,3.81mm−2.0mm=
1.81mmとなり,ブロック長が1.81mmに達し
ない量(データ量は1バイト/0.26mm〜2346
バイト/1.81mm)の場合は,IBGの書込みに加
えてイレーズパターンを書込む。イレーズパターンはこ
の実施例では7.8mmであるため,IBG長にこのイ
レーズパターンを加えたデータ量により,Nブロックの
チェック完了前にN+1ブロックの書込完了することを
防止することができる。
The expansion of the IBG will be described with a specific example.
If the distance between the head gap between the write head and the read head is 3.81 mm and the IBG length (Libg) is standard (2.0 mm), 3.81 mm−2.0 mm =
1.81 mm, and the block length does not reach 1.81 mm (data amount is 1 byte / 0.26 mm to 2346
In the case of (byte / 1.81 mm), an erase pattern is written in addition to IBG writing. Since the erase pattern is 7.8 mm in this embodiment, the data amount obtained by adding the erase pattern to the IBG length can prevent the N + 1 block from being completely written before the N block check is completed.

【0036】[0036]

【発明の効果】本発明によれば磁気テープの記録におい
て書込誤りが検出された時に,必要以上の位置制御を行
わずに済み,全体の処理時間を短縮することができる。
また,複雑な位置制御を実行することにより位置ずれの
発生を抑えることができる。
According to the present invention, when a write error is detected in recording on a magnetic tape, unnecessary position control is not required, and the overall processing time can be shortened.
Further, by performing complicated position control, it is possible to suppress the occurrence of a position shift.

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

【図1】本発明の第1の原理構成を示す図である。FIG. 1 is a diagram showing a first principle configuration of the present invention.

【図2】本発明の第2の原理構成を示す図である。FIG. 2 is a diagram showing a second principle configuration of the present invention.

【図3】本発明の実施例のハードウェア構成を示す図で
ある。
FIG. 3 is a diagram illustrating a hardware configuration of an embodiment of the present invention.

【図4】実施例のデータブロック拡大の処理フローを示
す図である。
FIG. 4 is a diagram illustrating a processing flow for expanding a data block according to the embodiment;

【図5】実施例のIBG拡大の処理フローを示す図であ
る。
FIG. 5 is a diagram showing a processing flow of IBG enlargement of the embodiment.

【図6】従来技術の説明図である。FIG. 6 is an explanatory diagram of a conventional technique.

【図7】書込ヘッドと読込ヘッドの位置と書込みエラー
発生時のリトライの説明図である。
FIG. 7 is an explanatory diagram of positions of a write head and a read head and a retry when a write error occurs.

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

1 書込部 10 データバッファ 11 データブロック長判別手段 12 書込制御部 13 パディングデータ付加手段 2 磁気テープ 20 IBG 21 データブロック 22 パディングデータ 3 書込ヘッド 4 読込ヘッド X 書込ヘッドと読込ヘッドの間隔 Lib IBG長 Lblk データブロック長 DESCRIPTION OF SYMBOLS 1 Writing part 10 Data buffer 11 Data block length discriminating means 12 Writing control part 13 Padding data adding means 2 Magnetic tape 20 IBG 21 Data block 22 Padding data 3 Write head 4 Read head X Read head X Interval between write head and read head Lib IBG length Lblk Data block length

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データブロック間にインターナルブロッ
クギャップを配置して書込みを行いリードアフターライ
トチェックの機能を備えた磁気テープ装置のデータ書込
方式において,磁気テープへ書込むデータブロックを格
納するデータバッファのデータブロック長を判別する手
段と,パディングデータ付加手段と,書込制御部とを設
け,前記書込制御部は前記データブロック長判別手段に
より判別したデータブロック長とIBGを含めた記録長
が磁気テープの書込ヘッドと読込ヘッド間の距離を超え
ないか判別して,超えない場合に前記パディングデータ
付加手段を駆動して前記ヘッド間の距離を超えるよう前
記データブロックにパディングデータを付加することを
特徴とするデータ書込方式。
In a data writing method of a magnetic tape device having a function of reading and writing after arranging internal block gaps between data blocks and storing data blocks to be written to a magnetic tape, Means for determining the data block length of the buffer, padding data adding means, and a write control unit, wherein the write control unit determines the data block length determined by the data block length determination means and the recording length including IBG Discriminates whether the distance between the write head and the read head of the magnetic tape does not exceed, and if not, drives the padding data adding means to add padding data to the data block so as to exceed the distance between the heads. A data writing method.
【請求項2】 データブロック間にインターナルブロッ
クギャップを配置して書込みを行う磁気テープへのデー
タ書込方式において,磁気テープへ書込むデータブロッ
クを格納するデータバッファのデータブロック長を判別
する手段と,イレーズパターン発生手段と,書込制御部
とを設け,前記書込制御部は前記データブロック長判別
手段により判別したデータブロック長とIBGを含めた
記録長が磁気テープの書込ヘッドと読込ヘッドとの間隔
を超えないか判別し,超えない場合に前記データブロッ
クに対し標準長のインターナルブロックギャップと共に
前記イレーズパターン発生手段からのイレーズパターン
を書込むことを特徴とするデータ書込方式。
2. A method for determining a data block length of a data buffer for storing a data block to be written on a magnetic tape in a data writing method on a magnetic tape in which an internal block gap is arranged between data blocks and writing is performed. And an erase pattern generating means, and a write control section, wherein the write control section has a data block length determined by the data block length determining means and a recording length including IBG read from the write head of the magnetic tape. A data writing method for writing an erase pattern from the erase pattern generating means together with a standard-length internal block gap to the data block if it is determined whether the distance from the head is not exceeded;
JP11187420A 1999-07-01 1999-07-01 Data writing system Withdrawn JP2001014604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11187420A JP2001014604A (en) 1999-07-01 1999-07-01 Data writing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11187420A JP2001014604A (en) 1999-07-01 1999-07-01 Data writing system

Publications (1)

Publication Number Publication Date
JP2001014604A true JP2001014604A (en) 2001-01-19

Family

ID=16205746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11187420A Withdrawn JP2001014604A (en) 1999-07-01 1999-07-01 Data writing system

Country Status (1)

Country Link
JP (1) JP2001014604A (en)

Similar Documents

Publication Publication Date Title
JPH02216672A (en) Optical disk drive device
JP3935542B2 (en) Method for writing data on a magnetic tape storage medium and apparatus for writing data in the form of blocks on a storage medium
US20090103205A1 (en) Apparatus, Method and Program for Controlling Writing of Data by Tape Recording Apparatus
US5982572A (en) Method and apparatus for enabling fast access to a logical block on a tape medium
JPH08501169A (en) Digital servo track format
JPH08500927A (en) Data recording system with improved longitudinal and spiral search capabilities
US7143232B2 (en) Method, system, and program for maintaining a directory for data written to a storage medium
JPH08501168A (en) Data recording system having a single end-of-record and start-of-record format indicator
JPH08501173A (en) Longitudinal track format for data recording systems
JPH08501175A (en) Data recording system with improved reservation function
US5313341A (en) Device for processing file data with erasing identification data
JPH09231508A (en) Data recording system with demarking function and its method
JP2001014604A (en) Data writing system
JP3077667B2 (en) Magnetic tape device and computer-readable magnetic tape medium
JPH08501171A (en) Data recording system with single non-record detection
JPH08501174A (en) Data recording system having improved automatic rewriting function and rewriting method
JPH08501176A (en) Data recording system with logical overwrite function
JPH0782708B2 (en) Additional data writing method
KR100228799B1 (en) Method for generating data sector pulse
JP3272926B2 (en) Information storage control device
JP3782241B2 (en) Magnetic tape controller
JP2623145B2 (en) Rotating head type magnetic recording / reproducing device
JP3402777B2 (en) Write-once information recording medium sector management method
JPH09320207A (en) Information recording/reproducing device
JP2002124039A (en) Magnetic tape unit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905