JP2565529Y2 - Magnetic tape unit - Google Patents

Magnetic tape unit

Info

Publication number
JP2565529Y2
JP2565529Y2 JP1816492U JP1816492U JP2565529Y2 JP 2565529 Y2 JP2565529 Y2 JP 2565529Y2 JP 1816492 U JP1816492 U JP 1816492U JP 1816492 U JP1816492 U JP 1816492U JP 2565529 Y2 JP2565529 Y2 JP 2565529Y2
Authority
JP
Japan
Prior art keywords
magnetic tape
block
error
data
blocks
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
JP1816492U
Other languages
Japanese (ja)
Other versions
JPH0573704U (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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP1816492U priority Critical patent/JP2565529Y2/en
Publication of JPH0573704U publication Critical patent/JPH0573704U/en
Application granted granted Critical
Publication of JP2565529Y2 publication Critical patent/JP2565529Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Magnetic Recording (AREA)

Description

【考案の詳細な説明】[Detailed description of the invention]

【0001】[0001]

【産業上の利用分野】本考案は、磁気テープの書き込み
データを読み出して正しく書き込まれているか否かをチ
ェックする磁気テープ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic tape device for reading data written on a magnetic tape and checking whether the data is correctly written.

【0002】[0002]

【従来の技術】一般に、磁気テープに書き込まれたデー
タが必ずしも信頼性があるとは限らないので、従来の磁
気テープ装置では、磁気テープを走行させてデータを書
き込み、この書き込みデータを読み出して正しく書き込
まれているか否かを例えばパリティチェック等によりチ
ェックするように構成されている。
2. Description of the Related Art In general, data written on a magnetic tape is not always reliable. Therefore, in a conventional magnetic tape device, data is written by running a magnetic tape, and the written data is read and correctly read. Whether or not the data has been written is checked by, for example, a parity check.

【0003】[0003]

【考案が解決しようとする課題】しかしながら、このよ
うに書き込みデータを読み出して正しく書き込まれてい
るか否かを例えばパリティチェック等によりチェックす
る方法では、磁気テープがスリップして、1つのブロッ
クのデータがそっくり脱落したような場合にはチェック
が困難であり、現状ではデータの信頼性に乏しく、した
がって、このような磁気テープ装置を用いたシステムや
利用者が少ないという問題点がある。
However, in the method of reading out the write data and checking whether or not the data has been written correctly by, for example, a parity check or the like , the magnetic tape slips and one block is read.
Check if the data in the network is completely lost
However, there is a problem that data reliability is poor at present, and thus there are few systems and users using such a magnetic tape device.

【0004】したがって本考案は、磁気テープに書き込
まれたデータの信頼性を向上させることができる磁気テ
ープ装置を提供することを目的とする。
Accordingly, an object of the present invention is to provide a magnetic tape device which can improve the reliability of data written on a magnetic tape.

【0005】[0005]

【課題を解決するための手段】本考案は上記目的を達成
するために、磁気テープの現在のブロック位置を示すブ
ロック数をカウントし、また、書き込み終了後の巻き戻
し時に磁気テープの書き込みデータを読み出してエラー
を検出するとともに、磁気テープがその開始位置に巻き
戻された時にカウントされたブロック数と、磁気テープ
の開始位置におけるブロック位置を示す本来のブロック
数の値とを比較することによりエラーを検出するように
している。すなわち、本考案によれば、磁気テープにブ
ロック毎に書き込まれたデータをチェックする磁気テー
プ装置において、前記磁気テープを読み出し方向および
書き込み方向である順方向に走行させるとともに、巻き
戻し方向である逆方向に走行させるための磁気テープ駆
動手段と、前記磁気テープ駆動手段により走行する前記
磁気テープが正常に走行した場合に、前記磁気テープに
おける現在のブロック位置を示すブロック数をカウント
するカウント手段と、書き込み終了後の巻き戻し時に
磁気テープの書き込みデータを読み出してエラーを検
出するとともに、前記磁気テープがその開始位置に巻き
戻されたときに前記カウント手段によりカウントされた
ブロック数と、前記磁気テープの開始位置におけるブロ
ック位置を示す本来のブロック数の値とを比較すること
によりエラーを検出するエラー検出手段とを有すること
を特徴とする磁気テープ装置が提供される。
In order to achieve the above object, the present invention provides a block indicating the current block position of a magnetic tape.
It counts the number of locks , reads the write data on the magnetic tape at the time of rewinding after writing is completed, detects an error, and detects the number of blocks counted when the magnetic tape is rewound to its start position,
Original block indicating the block position at the start position of
An error is detected by comparing the value with a number . That is, according to the present invention, in a magnetic tape apparatus for checking the data written for each block on the magnetic tape, together to travel in the forward direction is the direction and the writing direction reading the magnetic tape, a rewind direction opposite and the magnetic tape driving means for running in a direction, the traveling by the magnetic tape drive unit
When the magnetic tape runs normally, the magnetic tape
Counting means for counting the number of blocks indicating the definitive current block position, before the time of unwinding after completion of writing
And it detects an error by reading the write data of the serial magnetic tape, which is counted by the counting means when the magnetic tape is rewound to its starting position
The number of blocks and the block at the start position of the magnetic tape
And an error detecting means for detecting an error by comparing the value with the value of the original number of blocks indicating the lock position .

【0006】[0006]

【作用】本考案は上記構成を有するので、書き込み終了
後の巻き戻し時に磁気テープの書き込みデータが読み出
されてエラーが検出されるとともに、磁気テープの現在
のブロック位置がカウントされて磁気テープがその開始
位置に巻き戻されたときにこのカウント値と比較されて
書き込みブロック数がチェックされる。したがって、書
き込みデータと書き込みブロック数がチェックされるの
で、磁気テープに書き込まれたデータの信頼性を向上さ
せることができる。
Since the present invention has the above configuration, the write data on the magnetic tape is read out at the time of rewinding after the writing is completed, an error is detected, and the current block position of the magnetic tape is counted, and the magnetic tape is read. When rewinding to the start position, the count value is compared with this count value to check the number of write blocks. Therefore, the write data and the number of write blocks are checked, so that the reliability of the data written on the magnetic tape can be improved.

【0007】[0007]

【実施例】以下、図面を参照して本考案の実施例を説明
する。図1は、本考案に係る磁気テープ装置の一実施例
を示すブロック図、図2は、磁気テープの途中のブロッ
クから書き込む場合のブロックカウンタの値を示す説明
図、図3は、図1の磁気テープ装置の動作を説明するた
めのフローチャートである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the magnetic tape device according to the present invention, FIG. 2 is an explanatory diagram showing the value of a block counter when writing from a block in the middle of the magnetic tape, and FIG. 6 is a flowchart for explaining the operation of the magnetic tape device.

【0008】図1において、磁気テープTは、モータM
により読み出し方向および書き込み方向の順方向(図示
右方向)に走行するとともに巻き戻し方向の逆方向(図
示左方向)に走行する。また、この磁気テープTには、
磁気ヘッドHを介してデータがブロック毎に書き込ま
れ、この書き込みデータが読み出される。書き込み手段
1は、モータMを駆動することにより磁気テープTを順
方向に走行させるとともにデータをブロック毎に磁気ヘ
ッドHを介して磁気テープTに書き込み、また、読み出
し手段2は、通常の読み出し時にはモータMを駆動する
ことにより磁気テープTを順方向に走行させるとともに
データをブロック毎に磁気ヘッドHを介して磁気テープ
Tから読み出す。
In FIG. 1, a magnetic tape T includes a motor M
As a result, the vehicle travels in the forward direction (right direction in the figure) in the reading direction and the writing direction, and travels in the direction opposite to the rewinding direction (left direction in the figure). Also, this magnetic tape T has
Data is written for each block via the magnetic head H, and the write data is read. The writing means 1 drives the motor M to move the magnetic tape T in the forward direction, and writes data into the magnetic tape T via the magnetic head H for each block. By driving the motor M, the magnetic tape T runs in the forward direction, and data is read from the magnetic tape T via the magnetic head H for each block.

【0009】ブロックカウンタ3は、書き込み手段1ま
たは読み出し手段2の制御により磁気テープTが順方向
に走行している場合に、磁気テープTの現在のブロック
位置をアップカウントする。したがって、図1に示すよ
うに磁気テープの開始位置BOT(Beginning Of Tap
e)から書き込み(または読み出し)を行う場合、テー
プ開始位置BOTからの値がブロックカウンタ3により
アップカウントされ、また、図2に示すように途中のブ
ロックから書き込みを開始する場合にも現在のブロック
位置がブロックカウンタ3によりカウントされている。
The block counter 3 counts up the current block position of the magnetic tape T when the magnetic tape T runs in the forward direction under the control of the writing means 1 or the reading means 2. Therefore, as shown in FIG. 1, the start position BOT (Beginning Of Tap) of the magnetic tape
When writing (or reading) from e), the value from the tape start position BOT is counted up by the block counter 3, and when writing is started from an intermediate block as shown in FIG. The position is counted by the block counter 3.

【0010】そして、書き込み終了後の巻き戻し時に
は、読み出し手段2は、モータMを駆動することにより
磁気テープTを逆方向に走行させるとともにデータをブ
ロック毎に磁気ヘッドHを介して磁気テープTから読み
出し、ブロックカウンタ3は磁気テープTが逆方向に走
行している場合にブロック数をダウンカウントする。
At the time of rewinding after the end of writing, the reading means 2 drives the motor M to cause the magnetic tape T to run in the reverse direction and to transfer data from the magnetic tape T via the magnetic head H for each block. When reading, the block counter 3 counts down the number of blocks when the magnetic tape T runs in the reverse direction.

【0011】エラー検出手段4は、この書き込み終了後
の巻き戻し時に読み出し手段2により読み出されたデー
タを例えばパリティ等によりチェックするとともに、磁
気テープTがテープ開始位置BOTまで巻き戻された場
合にブロックカウンタ3のカウント値が0でないことに
よりエラーを検出する。警報手段5は、エラー検出手段
4がエラーを検出した場合に、表示やブザー等によりユ
ーザに対して警報を発する。なお、図1に示す書き込み
手段1と、読み出し手段2と、ブロックカウンタ3とエ
ラー検出手段4は、マイクロプロセッサのソフトウエア
により構成することができ、また、ブロックカウンタ3
のカウント値はマイクロプロセッサのワークエリアに記
憶される。
The error detecting means 4 checks the data read by the reading means 2 at the time of rewinding after completion of the writing by using, for example, parity or the like, and when the magnetic tape T is rewound to the tape start position BOT. An error is detected when the count value of the block counter 3 is not 0. The alarm unit 5 issues an alarm to the user by a display or a buzzer when the error detection unit 4 detects an error. The writing means 1, reading means 2, block counter 3 and error detecting means 4 shown in FIG. 1 can be constituted by software of a microprocessor.
Is stored in the work area of the microprocessor.

【0012】つぎに、図3を参照して上記実施例の動作
を説明する。まず、ステップS1において読み出し命令
か、書き込み命令か、巻き戻し命令かまたはアンロード
命令かを判別し、読み出し命令および書き込み命令の場
合にはステップS2〜S4に示す処理を実行し、巻き戻
し命令およびアンロード命令の場合にはステップS5〜
S11に示す処理を実行する。
Next, the operation of the above embodiment will be described with reference to FIG. First, in step S1, it is determined whether the command is a read command, a write command, a rewind command, or an unload command. In the case of a read command and a write command, the processes shown in steps S2 to S4 are executed. In the case of an unload instruction, steps S5 to S5
The processing shown in S11 is executed.

【0013】読み出し命令および書き込み命令の場合に
は、磁気テープTが順方向に走行しているときに磁気テ
ープTのブロックカウンタ3をアップカウントして(ス
テップS2、S3)ステップS1に戻り、磁気テープT
が逆方向に走行しているときに磁気テープTのブロック
カウンタ3をダウンカウントして(ステップS2、S
4)ステップS1に戻る。したがって、磁気ヘッドHが
現在位置する磁気テープTのブロック位置が検出され、
記憶される。
In the case of a read command and a write command, while the magnetic tape T is traveling in the forward direction, the block counter 3 of the magnetic tape T is counted up (steps S2 and S3), and the process returns to step S1 to return to step S1. Tape T
When the vehicle is traveling in the reverse direction, the block counter 3 of the magnetic tape T is counted down (steps S2 and S2).
4) Return to step S1. Therefore, the block position of the magnetic tape T where the magnetic head H is currently located is detected,
It is memorized.

【0014】他方、巻き戻し命令およびアンロード命令
の場合には磁気テープTの開始位置BOTか否かを判別
し(ステップS5)、開始位置BOTでない場合にはス
テップS6において磁気テープTを逆方向に走行させて
書き込みデータを読み出す。すなわち、このステップS
6では高速の巻き戻し処理を行わない。そして、ステッ
プS7において逆方向から読み出されたデータを例えば
パリティチェック等によりエラーがあるか否かをチェッ
クし、エラーがない場合にステップS8においてブロッ
クカウンタ3をダウンカウントし、ステップS5に戻
る。他方、ステップS7においてエラーを検出した場合
にはステップS10に分岐し、警報手段5により警告を
行うとともに、ステップS11に進んでリワインド又は
アンロード動作を行って終了する。この場合、磁気テー
プTに記録した内容にエラーがあることを警告により認
識できるので、磁気記録装置の使用者は記録を最初から
やり直し、再度同様のエラー検出動作を行うことができ
On the other hand, in the case of the rewind command and the unload command, it is determined whether or not the magnetic tape T is at the start position BOT (step S5). To read the write data. That is, this step S
In No. 6, high-speed rewind processing is not performed. Then, in step S7, it is checked whether or not there is an error in the data read from the reverse direction by, for example, a parity check. If there is no error, the block counter 3 is counted down in step S8 and the process returns to step S5. On the other hand, if an error is detected in step S7, the process branches to step S10, where a warning is issued by the alarm means 5 , and the process proceeds to step S11 to perform rewind or rewind.
Performs the unload operation and ends. In this case, the magnetic tape
Warning that there is an error in the contents recorded in
The user of the magnetic recording device can start recording from the beginning
Redo and perform the same error detection operation again.
You .

【0015】そして、ステップS5において磁気テープ
Tの開始位置BOTを判別すると、ステップS9におい
てブロックカウンタ3の値が「0」か否かを判別し、
「0」でない場合には、書き込みブロック数が正常でな
いのでステップS10に進んで警告を行い、ステップS
11に進む。また、ステップS9においてブロックカウ
ンタの値が「0」である場合には書き込みブロック数が
正常であるので、ステップS11に直接進み、巻き戻し
処理またはアンロード処理を行う。
When the start position BOT of the magnetic tape T is determined in step S5, it is determined in step S9 whether or not the value of the block counter 3 is "0".
If it is not “0”, the number of write blocks is not normal, so the process proceeds to step S10 to issue a warning, and
Proceed to 11. If the value of the block counter is "0" in step S9, the number of write blocks is normal, and the process directly proceeds to step S11 to perform a rewinding process or an unloading process.

【0016】したがって、上記実施例によれば、巻き戻
し時に磁気テープTを逆方向に走行させて書き込みデー
タを読み出してエラーチェックを行い、かつ磁気テープ
Tが開始位置BOTまで走行した場合に書き込みブロッ
ク数が正常であるか否かをチェックするので、磁気テー
プTの書き込みデータの信頼性を向上させることができ
る。
Therefore, according to the above embodiment, when rewinding, the magnetic tape T is run in the reverse direction to read out the write data to check for errors, and when the magnetic tape T runs to the start position BOT, the write block Since it is checked whether the number is normal, the reliability of the write data on the magnetic tape T can be improved.

【0017】[0017]

【考案の効果】以上説明したように本考案によれば、書
き込み終了後の巻き戻し時に磁気テープの書き込みデー
タが読み出されてエラーが検出されるとともに、磁気テ
ープの現在のブロック位置を示すブロック数がカウント
されて磁気テープがその開始位置に巻き戻された時にこ
のカウント値と、磁気テープの開始位置におけるブロッ
ク位置を示す本来の値とが比較されて書き込みブロック
数がチェックされるので、磁気テープのスリップなどの
影響による書込みエラーを確実に検出でき、磁気テープ
に書き込まれたデータの信頼性を向上することができ
る。
As described above, according to the present invention, at the time of rewinding after completion of writing, data written on the magnetic tape is read out, an error is detected, and the block indicating the current block position of the magnetic tape is read. When the number is counted and the magnetic tape is rewound to its start position, this count value and the block at the start position of the magnetic tape are added.
Since the original value indicating the click position is checked number of write blocks are compared, the magnetic tape slips such as
A write error due to the influence can be reliably detected , and the reliability of data written on the magnetic tape can be improved.

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

【図1】本考案に係る磁気テープ装置の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing one embodiment of a magnetic tape device according to the present invention.

【図2】磁気テープの途中のブロックから書き込む場合
のブロックカウンタの値を示す説明図である。
FIG. 2 is an explanatory diagram showing values of a block counter when writing is performed from a block in the middle of a magnetic tape;

【図3】図1の磁気テープ装置の動作を説明するための
フローチャートである。
FIG. 3 is a flowchart for explaining the operation of the magnetic tape device of FIG. 1;

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

3 ブロックカウンタ 4 エラー検出手段 H 磁気ヘッド M モータ T 磁気テープ 3 Block counter 4 Error detecting means H Magnetic head M Motor T Magnetic tape

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】 磁気テープにブロック毎に書き込まれた
データをチェックする磁気テープ装置において、前記 磁気テープを読み出し方向および書き込み方向であ
順方向に走行させるとともに、巻き戻し方向である
方向に走行させるための磁気テープ駆動手段と、 前記磁気テープ駆動手段により走行する前記磁気テープ
が正常に走行した場合に、前記磁気テープにおける現在
のブロック位置を示すブロック数をカウントするカウン
ト手段と、 書き込み終了後の巻き戻し時に前記磁気テープの書き込
みデータを読み出してエラーを検出するとともに、前記
磁気テープがその開始位置に巻き戻されたときに前記カ
ウント手段によりカウントされたブロック数と、前記磁
気テープの開始位置におけるブロック位置を示す本来の
ブロック数の値とを比較することによりエラーを検出す
るエラー検出手段とを有することを特徴とする磁気テー
プ装置。
1. A magnetic tape apparatus for checking the data written for each block on the magnetic tape, the direction and the write direction der reading the magnetic tape
That causes travel in the forward direction, and the magnetic tape driving means for running in the opposite direction is a rewinding direction, the magnetic tape travels by the magnetic tape drive unit
If the traveled normally, counting means for counting the number of blocks indicating the current block position in said magnetic tape, and detects an error when rewinding After writing the read write data of the magnetic tape, the <br/> The number of blocks counted by the counting means when the magnetic tape is rewound to its start position,
The original block position at the start of the tape
A magnetic tape device comprising: an error detection unit that detects an error by comparing the value with the value of the number of blocks .
JP1816492U 1992-02-28 1992-02-28 Magnetic tape unit Expired - Lifetime JP2565529Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1816492U JP2565529Y2 (en) 1992-02-28 1992-02-28 Magnetic tape unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1816492U JP2565529Y2 (en) 1992-02-28 1992-02-28 Magnetic tape unit

Publications (2)

Publication Number Publication Date
JPH0573704U JPH0573704U (en) 1993-10-08
JP2565529Y2 true JP2565529Y2 (en) 1998-03-18

Family

ID=11963973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1816492U Expired - Lifetime JP2565529Y2 (en) 1992-02-28 1992-02-28 Magnetic tape unit

Country Status (1)

Country Link
JP (1) JP2565529Y2 (en)

Also Published As

Publication number Publication date
JPH0573704U (en) 1993-10-08

Similar Documents

Publication Publication Date Title
JP2565529Y2 (en) Magnetic tape unit
US7167332B2 (en) Method and apparatus for recording data onto a recording medium including warning of the approach to an end of medium position
US5287229A (en) Method of avoiding accidental overwriting on magnetic tape
JPH01223671A (en) Method of storing data
JPH02146137A (en) Magnetic tape device
JP2669382B2 (en) Magnetic tape unit
JP3309873B2 (en) Data storage method on magnetic tape
JPS5951044B2 (en) Magnetic tape control method
JP3126829B2 (en) Magnetic tape reading method
JPS63136302A (en) Retrial control system for magnetic tape controller
JPS6040508A (en) Error processing system of magnetic tape device
JPH0626964Y2 (en) Magnetic tape device
JPS6243259B2 (en)
JP2624172B2 (en) Magnetic tape processing device
JPS6292105A (en) Magnetic tape recording system
JP3339176B2 (en) Tape formatting method, tape formatting device, and cassette tape
JPH01319103A (en) Magnetic tape control device
JPS63317950A (en) Data recording processing system by magnetic tape
JPS5858702B2 (en) Data display
JPH04102274A (en) Control system for magnetic memory
JPH02198051A (en) Magnetic tape device
JPH01319104A (en) Magnetic tape control device
JPS6226110B2 (en)
JPH0253859B2 (en)
JPS58150180A (en) System for reproducing magnetic data

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971104