JPH0150991B2 - - Google Patents

Info

Publication number
JPH0150991B2
JPH0150991B2 JP2494382A JP2494382A JPH0150991B2 JP H0150991 B2 JPH0150991 B2 JP H0150991B2 JP 2494382 A JP2494382 A JP 2494382A JP 2494382 A JP2494382 A JP 2494382A JP H0150991 B2 JPH0150991 B2 JP H0150991B2
Authority
JP
Japan
Prior art keywords
block
blocks
write
tape
writing
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
Application number
JP2494382A
Other languages
Japanese (ja)
Other versions
JPS58143408A (en
Inventor
Masaki Fujiki
Tadahiro Wada
Tetsuo Nagabori
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 JP2494382A priority Critical patent/JPS58143408A/en
Publication of JPS58143408A publication Critical patent/JPS58143408A/en
Publication of JPH0150991B2 publication Critical patent/JPH0150991B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 (1) 発明の技術分野 本発明は、磁気テープ制御装置において、ブロ
ツク読み飛ばしが生じる可能性の高い、ラベル・
ブロツクのような書き込み長の短いブロツクの前
あるいは後のギヤツプ(IBG)を伸長させること
により、データ読み取りの確実性を向上させる書
込み制御回路に関する。
[Detailed Description of the Invention] (1) Technical Field of the Invention The present invention is directed to a magnetic tape control device that uses labels and tapes that are likely to cause block skipping.
The present invention relates to a write control circuit that improves the reliability of data reading by increasing the gap (IBG) before or after a block with a short write length.

(2) 技術の背景 従来の磁気テープ装置においては、磁気テープ
上の情報書き込み形式、すなわちテープ・フオー
マツトが、ある程度の範囲で標準化されている。
たとえば、第1図に示すような標準ラベル形式の
ものでは、テープの始端マーカーBOTから最初
のブロツクはボリユーム・ラベルVOL1であり、
続く2つのブロツクはヘツダ・ラベルHDR1,
HDR2である。更に、データ・ブロツクの後の
テープ・マークに続いた、2つのトレーラー・ラ
ベルEOF1,EOF2のブロツクが置かれる。こ
れらのラベル・ブロツクの大きさは、いずれも80
バイトの長さに規定されている。なお、EOTは、
テープ終端マーカーである。
(2) Background of the Technology In conventional magnetic tape devices, the format in which information is written on the magnetic tape, that is, the tape format, has been standardized to a certain extent.
For example, in the standard label format shown in Figure 1, the first block from the tape start marker BOT is the volume label VOL1,
The next two blocks are header label HDR1,
It is HDR2. Additionally, two blocks of trailer labels EOF1 and EOF2 are placed following the tape mark after the data block. The size of these label blocks is 80
Specified in byte length. Furthermore, EOT is
This is an end-of-tape marker.

ところで、各ブロツクの間は、IBGによつて区
切られており、磁気テープの走行を停止する場
合、第2図に示すように、ヘツドがブロツクの終
端を検出してからテープを減速し、ヘツドはIBG
内のある位置で停止する。そしてテープの走行開
始は、その停止位置から行なわれる。
By the way, each block is separated by an IBG, and when the magnetic tape stops running, the head detects the end of the block, decelerates the tape, and then stops the magnetic tape. is IBG
Stop at a certain position within. The tape starts running from the stop position.

したがつて、たとえばテープのリード時に、リ
ード・ヘツドがその停止位置から次のブロツクの
先頭位置に達するまでの距離は比較的短いから、
次のブロツクが上記ラベル・ブロツクのように書
込み長の短いブロツクである場合には、テープ走
行起動時の不安定走行状態のままそのブロツクを
リードすることになる。そのため、テープに振動
やすべりが生じると、リード・ヘツドは、ブロツ
クを読み飛ばしてしまうことがあり、問題があつ
た。
Therefore, when reading a tape, for example, the distance for the read head to reach the beginning position of the next block from its stop position is relatively short.
If the next block is a block with a short write length like the label block described above, that block will be read while remaining in the unstable running state at the start of tape running. Therefore, if vibration or slippage occurs in the tape, the read head may skip over blocks, which poses a problem.

(3) 発明の目的および構成 本発明は、上述した問題点を解決するため、読
み飛ばしが起る可能性があるテープ・フオーマツ
ト上の短いブロツクを書き込む際に、そのブロツ
クの前後のIBGを、テープが安定走行状態に達す
ることができる充分な長さに設定するものであ
る。
(3) Object and structure of the invention In order to solve the above-mentioned problems, the present invention, when writing a short block on a tape format where there is a possibility of skipping, writes the IBG before and after the block. The length is set to be sufficient to allow the tape to reach a stable running state.

本発明は、そのための構成として、磁気テープ
制御装置において、書き込み命令を検出する手段
と、該書き込み命令検出手段に応答して、磁気テ
ープ・フオーマツトに基づいて書き込まれること
が予測される短いブロツク長のブロツクの数を設
定する手段と、該設定されたブロツク数を記憶す
る手段と、上記ブロツクの書き込み実行に際して
ブロツク間ギヤツプを伸長させる手段と、上記ブ
ロツクの書き込みが実行されたときに上記ブロツ
ク数記憶手段の内容を一定の数だけ増加あるいは
減ずる手段と、上記ブロツク数記憶手段の内容が
規定の数でないときに上記ブロツク間ギヤツプ伸
長手段を能動化する手段と、を具えていることを
特徴とする。
The present invention provides, as a configuration for this purpose, a magnetic tape control device including means for detecting a write command, and in response to the write command detecting means, a short block length predicted to be written based on the magnetic tape format. means for setting the number of blocks, means for storing the set number of blocks, means for increasing the inter-block gap when writing of the blocks is executed, and means for setting the number of blocks when writing of the blocks is executed. It is characterized by comprising means for increasing or decreasing the contents of the storage means by a fixed number, and means for activating the inter-block gap expansion means when the contents of the block number storage means are not a predetermined number. do.

(4) 発明の実施例 以下に、本発明の実施例にしたがつて説明す
る。
(4) Examples of the invention Examples of the invention will be described below.

第3図は、本発明実施例の概略構成図である。
図において、1は磁気テープ装置、2は短いブロ
ツク長のブロツク書き込み回数のカウント値記憶
回路、3乃至5は磁気テープ装置1を並列制御す
る磁気テープ制御装置、6乃至8は短いブロツク
長のブロツクを書き込むときに、その書き込み回
数をカウントするブロツク数カウンタである。
FIG. 3 is a schematic configuration diagram of an embodiment of the present invention.
In the figure, 1 is a magnetic tape device, 2 is a count value storage circuit for the number of block write times with a short block length, 3 to 5 are magnetic tape control devices that control the magnetic tape device 1 in parallel, and 6 to 8 are blocks with a short block length. This is a block number counter that counts the number of times a block is written.

ブロツク数カウンタ6乃至8には、テープ始端
マーカーBOTからの書き込みあるいはテープマ
ークの書き込みの際に、前後のIBGを伸長させる
必要のある関連ブロツクの数が、プリセツトされ
る。そして1つのブロツクの書き込み(ブロツ
ク・ライト)が成功したとき、1だけカウントダ
ウンされる。
The block number counters 6 to 8 are preset with the number of related blocks for which it is necessary to expand the preceding and succeeding IBGs when writing from the tape start end marker BOT or when writing a tape mark. When writing to one block (block write) is successful, it is counted down by 1.

カウント値記憶回路2は、磁気テープ装置1
が、図示のように複数台の磁気テープ制御装置3
乃至5の任意のいずれかによつて並行的に制御さ
れる場合に、現在のブロツク数カウント値を、制
御動作を起動した任意の磁気テープ制御装置に通
知し、制御の連続性を維持するために必要なもの
である。
The count value storage circuit 2 is connected to the magnetic tape device 1.
However, as shown in the figure, multiple magnetic tape control devices 3
To maintain continuity of control by notifying the current block number count value to any magnetic tape control device that has started the control operation when the magnetic tape is controlled in parallel by any one of 5 to 5. It is necessary for

動作において、たとえば第1図に示すようなテ
ープ・フオーマツトの場合に、BOTから書き込
みを開始するとき、ボリユーム・ラベルとヘツ
ダ・ラベル,との合計3個のブロツク長が短
いブロツクであるから、書き込み命令を実行する
1つの磁気テープ制御装置のブロツク数カウンタ
に、値3がプリセツトされる。次に、ブロツクを
書き込むとき、カウンタの値が0でない限り、ブ
ロツク書き込みの開始を遅らせて所定の距離だけ
イレーズ(消去)し、その後にブロツク書き込み
を行なう。その結果、IBGは長くなる。
In operation, for example, in the case of a tape format as shown in Figure 1, when writing is started from BOT, the total length of three blocks (volume label and header label) is short, so writing is not possible. The value 3 is preset in the block number counter of one magnetic tape controller executing the instruction. Next, when writing a block, unless the counter value is 0, the start of block writing is delayed and erased by a predetermined distance, and then block writing is performed. As a result, the IBG becomes longer.

ブロツク書き込みが正しく終了すると、カウン
タの値が0でない限り、1だけカウントダウンさ
れる。ブロツク書き込みが正しく行なわれなかつ
たとき、およびカウンタの値が0であつたときに
は、カウンタはカウントダウンされない。
When the block write is completed correctly, unless the counter value is 0, it is counted down by 1. When the block write is not performed correctly and when the value of the counter is 0, the counter does not count down.

IBGを長くする他の実施例方法として、BOT
処理、あるいはテープ・マークおよびEOF等の
ブロツクの書き込みが終了した後、テープを直ぐ
に停止させずにイレーズを実行し、所定の距離走
行してから停止させるようにすれば、BOTから、
あるいはテープマークその他のブロツクから、所
定のブロツク数だけIBGを長くとることができ
る。この方法によれば、短いブロツクを書き込ん
だ後に、該ブロツクの終端からリードヘツドまで
の距離を十分な長さに確保できるので、その停止
位置からバツク方向に戻るときに、該ブロツクを
正しく認識することが可能となる。
As another example method to lengthen the IBG, BOT
After processing or writing blocks such as tape marks and EOF, erase is executed without stopping the tape immediately, and if the tape is stopped after traveling a predetermined distance, the BOT can
Alternatively, the IBG can be made longer by a predetermined number of blocks from tape marks or other blocks. According to this method, after writing a short block, it is possible to ensure a sufficient distance from the end of the block to the read head, so that the block can be recognized correctly when returning from the stopped position in the backward direction. becomes possible.

また、他の実施例としては、上述した書き込み
の開始を遅らせる方法と、書き込み終了後のテー
プ停止を遅らせる方法とを同時に組み合わせる方
法も可能である。
Furthermore, as another embodiment, it is also possible to simultaneously combine the method of delaying the start of writing described above and the method of delaying the stop of the tape after the end of writing.

第4図は、本発明実施例装置の細部構成図であ
る。図において、9はCPU等の上位装置、10
は磁気テープ制御装置、11は磁気テープ装置、
12は磁気テープ、13は命令解読回路、14は
AND回路、15はプリセツト値決定回路、16
はライト・テープマーク命令実行制御回路、17
はライト・データブロツク命令実行制御回路、1
8はOR回路、19はブロツク数カウンタ、20
はIBG長制御回路、21はBOT検出機構、22
はカウント値記憶回路、23は書き込み機構、2
4はBOTマーカーである。
FIG. 4 is a detailed configuration diagram of an apparatus according to an embodiment of the present invention. In the figure, 9 is a host device such as a CPU, and 10 is a host device such as a CPU.
is a magnetic tape control device, 11 is a magnetic tape device,
12 is a magnetic tape, 13 is an instruction decoding circuit, 14 is
AND circuit, 15 is a preset value determination circuit, 16
is a write/tape mark instruction execution control circuit, 17
is a write/data block instruction execution control circuit, 1
8 is an OR circuit, 19 is a block number counter, 20
is the IBG length control circuit, 21 is the BOT detection mechanism, 22
is a count value storage circuit, 23 is a writing mechanism, 2
4 is a BOT marker.

上位装置9から磁気テープ制御装置10に与え
られるライト(書き込み)系命令は、イレーズ命
令、ライト・データブロツク命令、ライト・テー
プマーク命令の3つを含む。
The write-related commands given from the host device 9 to the magnetic tape control device 10 include three commands: an erase command, a write data block command, and a write tape mark command.

命令解読回路13は、上位装置から与えられた
命令を解読し、それがライト系命令であれば、
AND回路14の一方の入力に“1”を与え、更
にそれがライト・テープマーク命令であれば、プ
リセツト値決定回路15およびライト・テープマ
ーク命令実行制御回路16を起動し、他方、ライ
ト・データブロツク命令であればライト・データ
ブロツク命令実行制御回路17を起動する。
The instruction decoding circuit 13 decodes the instruction given from the host device, and if it is a write type instruction,
When "1" is given to one input of the AND circuit 14, and if it is a write/tape mark command, the preset value determination circuit 15 and the write/tape mark command execution control circuit 16 are activated; If it is a block instruction, the write/data block instruction execution control circuit 17 is activated.

ライト系命令が与えられた場合、BOTマーカ
ー24がBOT検出機構21により検出されると、
BOT信号がAND回路14の他方の入力に与えら
れる。このため、AND回路14は、“1”に出力
を生じプリセツト値決定回路15を起動する。
When a write command is given and the BOT marker 24 is detected by the BOT detection mechanism 21,
The BOT signal is applied to the other input of AND circuit 14. Therefore, the AND circuit 14 outputs "1" and activates the preset value determining circuit 15.

プリセツト値決定回路15は、ライト系命令が
与えられてBOTマーカーを検出したとき、ある
いはライト・テープマーク命令が与えられ、その
書き込みが成功したとき、OR回路18を介した
プリセツト信号により、予め定められたブロツク
数を、ブロツク数カウンタ19にプリセツトす
る。
The preset value determining circuit 15 determines the preset value by a preset signal via the OR circuit 18 when a write system command is given and a BOT marker is detected, or when a write/tape mark command is given and the writing is successful. The obtained block number is preset in the block number counter 19.

与えられたライト系命令が、ライト・データブ
ロツク命令であつた場合には、ライト命令実行制
御回路17が、まずボリユームラベルのデータブ
ロツク書き込みの実行を制御する。カウンタ19
内のプリセツト値は、一旦、カウント値記憶回路
22に格納される。
If the given write-related command is a write data block command, the write command execution control circuit 17 first controls the execution of data block writing of the volume label. counter 19
The preset values within are temporarily stored in the count value storage circuit 22.

IBG長制御回路20は、カウント値記憶回路2
2からカウント値を読み出して、それが「0」で
ない限り、書き込み機構23に対して、上述した
ようなデータブロツク書込み開始のタイミングを
遅らせ、あるいは書き込み終了後にテープ走行停
止を遅らせイレーズを実行する、などの動作制御
を行なう。
The IBG length control circuit 20 includes a count value storage circuit 2
2, and unless it is "0", the write mechanism 23 delays the timing of starting data block writing as described above, or delays the tape running stop after the writing is completed, and executes erase. Control operations such as

ボリユームラベルの書き込みが成功すると、ラ
イト・データブロツク命令実行制御回路17は、
データブロツク書き込み成功信号をカウンタ19
に送り、カウンタの内容を1だけカウントダウン
する。その結果は「2」となり、この値でカウン
ト値記憶回路22の内容を更新する。
When the volume label is successfully written, the write/data block instruction execution control circuit 17
The data block write success signal is detected by the counter 19.
and counts down the contents of the counter by 1. The result is "2", and the contents of the count value storage circuit 22 are updated with this value.

次に続く2つのヘツダーラベルを書き込むため
のライト・データブロツク命令も、同様に実行さ
れ、最後に、カウンタ19の内容は「0」とな
る。したがつて、カウント値記憶回路の内容も
「0」に更新されるから、以後のデータブロツク
書き込みについては、IBG長制御回路20は動作
せず、IBGの伸長化処理は行なわれない。
The write data block command for writing the next two header labels is executed in the same way, and finally the contents of the counter 19 become "0". Therefore, since the contents of the count value storage circuit are also updated to "0", the IBG length control circuit 20 does not operate for subsequent data block writing, and no IBG expansion processing is performed.

次に、ライト・テープマーク命令が与えられる
と、カウンタ19は「2」にプリセツトされる。
その結果IBG長制御回路20は再び能動化し、テ
ープマークに続く2つのトレーラーラベルのブロ
ツクデータ書き込みにおいて、IBGの伸長化処理
を行なう。データが正しく書き込まれるたびに、
カウンタ19の内容はカウントダウンされ、「0」
になつたとき、IBG長制御回路20は、IBGの伸
長処理を停止する。
Next, when a write tape mark command is given, the counter 19 is preset to "2".
As a result, the IBG length control circuit 20 is activated again and performs IBG expansion processing when writing block data for the two trailer labels following the tape mark. Every time the data is written correctly,
The contents of counter 19 are counted down to "0"
When the length of the IBG is reached, the IBG length control circuit 20 stops the IBG expansion process.

プリセツト値決定回路15に予め設定されるプ
リセツト値は、使用する磁気テープ・ボリユーム
のラベル構成にしたがつて適宜選択、変更できる
ようにしてもよい。いずれにしても、本発明によ
り伸長化されるIBGの数は僅かであるから、磁気
テープの利用効率低下への影響は殆んど無視でき
る程度のものである。
The preset values preset in the preset value determination circuit 15 may be selected and changed as appropriate according to the label configuration of the magnetic tape volume to be used. In any case, since the number of IBGs expanded by the present invention is small, the effect on the reduction in the utilization efficiency of the magnetic tape is almost negligible.

(5) 発明の効果 以上述べたように、本発明によれば、読み飛ば
しのおそれのある短いブロツクの前後には、十分
な長さのIBGが設定されるので、常に安定した状
態でブロツクを読み取ることが可能となる。
(5) Effects of the Invention As described above, according to the present invention, IBGs of sufficient length are set before and after short blocks that are likely to be skipped, so blocks can always be read in a stable state. It becomes possible to read.

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

第1図は標準ラベル形式のテープフオーマツト
構成図、第2図はテープの停止、起動時のヘツド
位置説明図、第3図は本発明実施例の概略構成
図、第4図は本発明実施例の細部構成図である。 図中、10は磁気テープ制御装置、11は磁気
テープ装置、12は磁気テープ、13は命令解読
回路、15はプリセツト値決定回路、17はライ
ト・データブロツク命令実行制御回路、19はブ
ロツク数カウンタ、20はIBG長制御回路、21
はBOT検出機構、22はカウント値記憶回路、
23は書き込み機構、をそれぞれ示す。
Fig. 1 is a configuration diagram of a standard label format tape format, Fig. 2 is an explanatory diagram of the head position when the tape is stopped and started, Fig. 3 is a schematic configuration diagram of an embodiment of the present invention, and Fig. 4 is an embodiment of the present invention. FIG. 3 is a detailed configuration diagram of an example. In the figure, 10 is a magnetic tape control device, 11 is a magnetic tape device, 12 is a magnetic tape, 13 is an instruction decoding circuit, 15 is a preset value determining circuit, 17 is a write/data block instruction execution control circuit, and 19 is a block number counter. , 20 is an IBG length control circuit, 21
is a BOT detection mechanism, 22 is a count value storage circuit,
23 indicates a writing mechanism.

Claims (1)

【特許請求の範囲】[Claims] 1 磁気テープ制御装置において、書き込み命令
を検出する手段と、該書き込み命令検出手段に応
答して、磁気テープ・フオーマツトに基づいて書
き込まれることが予測される短いブロツク長のブ
ロツクの数を設定する手段と、該設定されたブロ
ツク数を記憶する手段と、上記ブロツクの書き込
み実行に際してブロツク間ギヤツプを伸長させる
手段と、上記ブロツクの書き込みが実行されたと
きに上記ブロツク数記憶手段の内容を一定の数だ
け増加あるいは減ずる手段と、上記ブロツク数記
憶手段の内容が規定の数でないときに上記ブロツ
ク間ギヤツプ伸長手段を能動化する手段と、を具
えていることを特徴とする磁気テープの書き込み
制御回路。
1. In a magnetic tape control device, means for detecting a write command, and means for setting the number of short block length blocks expected to be written based on the magnetic tape format in response to the write command detecting means. means for storing the set number of blocks; means for expanding the inter-block gap when writing the blocks; and storing the contents of the block number storage means to a certain number when writing the blocks. 1. A magnetic tape write control circuit comprising: means for increasing or decreasing the number of blocks; and means for activating the inter-block gap expansion means when the content of the block number storage means is not a predetermined number.
JP2494382A 1982-02-18 1982-02-18 Magnetic tape writing control circuit Granted JPS58143408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2494382A JPS58143408A (en) 1982-02-18 1982-02-18 Magnetic tape writing control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2494382A JPS58143408A (en) 1982-02-18 1982-02-18 Magnetic tape writing control circuit

Publications (2)

Publication Number Publication Date
JPS58143408A JPS58143408A (en) 1983-08-26
JPH0150991B2 true JPH0150991B2 (en) 1989-11-01

Family

ID=12152108

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2494382A Granted JPS58143408A (en) 1982-02-18 1982-02-18 Magnetic tape writing control circuit

Country Status (1)

Country Link
JP (1) JPS58143408A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4939598A (en) * 1988-02-08 1990-07-03 International Business Machines Corporation Managing data storage space on large capacity record media
US5132853A (en) * 1988-02-08 1992-07-21 International Business Machines Corporation Allocation procedures for optical disk recorders
EP0509637A3 (en) * 1991-03-15 1993-06-02 Fujitsu Limited Magnetic tape storage apparatus

Also Published As

Publication number Publication date
JPS58143408A (en) 1983-08-26

Similar Documents

Publication Publication Date Title
JP2007095231A (en) Data write and read control method of tape recorder
JPH0150991B2 (en)
US5581458A (en) Bufered intelligent digital tape controller with onboard ECC and featuring global control variables
JPH02103778A (en) Data recording and playback method
JP2560411B2 (en) Control method of magnetic tape processing device
JPH02146137A (en) Magnetic tape device
JP2677389B2 (en) Magnetic tape controller
JPS6243259B2 (en)
JPH06267014A (en) Magnetic tape controller
JPH0380405A (en) Method for controlling data recording in magnetic tape processor
JPH0219541B2 (en)
JPH04139604A (en) Control system for magnetic tape processor
JPS5939305Y2 (en) information recording device
JP2623145B2 (en) Rotating head type magnetic recording / reproducing device
JPS645364B2 (en)
JPH0749664Y2 (en) Audio file device
JPH02123569A (en) Magnetic tape and data recording system using the same
JP2624172B2 (en) Magnetic tape processing device
JPH0445138Y2 (en)
JPH0217853B2 (en)
JPH05250609A (en) Magnetic tape processor
JPS6292105A (en) Magnetic tape recording method
JPH0123811B2 (en)
JPH04364516A (en) Access control system for optical disk device
JPS6029835A (en) Data transfer system