JPH0573704U - Magnetic tape unit - Google Patents

Magnetic tape unit

Info

Publication number
JPH0573704U
JPH0573704U JP1816492U JP1816492U JPH0573704U JP H0573704 U JPH0573704 U JP H0573704U JP 1816492 U JP1816492 U JP 1816492U JP 1816492 U JP1816492 U JP 1816492U JP H0573704 U JPH0573704 U JP H0573704U
Authority
JP
Japan
Prior art keywords
magnetic tape
error
write
read
data
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.)
Granted
Application number
JP1816492U
Other languages
Japanese (ja)
Other versions
JP2565529Y2 (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)

Abstract

(57)【要約】 【目的】 磁気テープに書き込まれたデータの信頼性を
向上させることができる磁気テープ装置を提供する。 【構成】 読み出し命令および書き込み命令の場合に
は、磁気テープTが順方向に走行して磁気テープTのブ
ロックカウンタ3をアップカウントし、磁気テープTが
逆方向に走行しているときに磁気テープTのブロックカ
ウンタ3をダウンカウントする。巻き戻し命令およびア
ンロード命令の場合には磁気テープTを逆方向に走行さ
せて書き込みデータを読み出し、例えばパリティチェッ
ク等によりエラーがあるか否かをチェックする。また、
磁気テープTが逆方向に走行して開始位置BOTを判別
するとブロックカウンタの値が「0」か否かを判別し、
「0」でない場合には書き込みブロック数が正常でない
ので警告を行う。
(57) [Summary] [Object] To provide a magnetic tape device capable of improving the reliability of data written on a magnetic tape. [Structure] In the case of a read command and a write command, the magnetic tape T runs in the forward direction to up-count the block counter 3 of the magnetic tape T, and the magnetic tape T runs in the reverse direction. The T block counter 3 is down-counted. In the case of a rewind instruction and an unload instruction, the magnetic tape T is run in the reverse direction to read the write data, and whether or not there is an error is checked by, for example, a parity check. Also,
When the magnetic tape T runs in the reverse direction and the start position BOT is determined, it is determined whether the value of the block counter is "0",
If it is not "0", the number of write blocks is not normal and a warning is issued.

Description

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

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、磁気テープの書き込みデータを読み出して正しく書き込まれている か否かをチェックする磁気テープ装置に関する。 The present invention relates to a magnetic tape device that reads write data on a magnetic tape and checks whether the data is correctly written.

【0002】[0002]

【従来の技術】[Prior Art]

一般に、磁気テープに書き込まれたデータが必ずしも信頼性があるとは限らな いので、従来の磁気テープ装置では、磁気テープを走行させてデータを書き込み 、この書き込みデータを読み出して正しく書き込まれているか否かを例えばパリ ティチェック等によりチェックするように構成されている。 Generally, data written on a magnetic tape is not always reliable, so in a conventional magnetic tape device, the magnetic tape is run to write the data, and the written data is read and written correctly. For example, it is configured to check whether or not it is a parity check.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

しかしながら、このように書き込みデータを読み出して正しく書き込まれてい るか否かを例えばパリティチェック等によりチェックする方法では、現状ではデ ータの信頼性に乏しいという問題点があり、したがって、このような磁気テープ 装置を用いたシステムの利用者は少ない。 However, the method of checking whether the write data is read correctly and whether it is correctly written by, for example, a parity check or the like has a problem that the reliability of the data is poor at present. There are few users of systems that use magnetic tape devices.

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

【0005】[0005]

【課題を解決するための手段】[Means for Solving the Problems]

本考案は上記目的を達成するために、磁気テープの現在のブロック位置をカウ ントし、また、書き込み終了後の巻き戻し時に磁気テープの書き込みデータを読 み出してエラーを検出するとともに、磁気テープがその開始位置に巻き戻された ときに上記ブロック位置のカウント値と比較することによりエラーを検出するよ うにしている。すなわち、本考案によれば、磁気テープにブロック毎に書き込ま れたデータをチェックする磁気テープ装置において、磁気テープを読み出し方向 および書き込み方向の順方向に走行させるとともに、巻き戻し方向の逆方向に走 行させるための磁気テープ駆動手段と、前記磁気テープ駆動手段により走行する 磁気テープの現在のブロック位置をカウントするカウント手段と、書き込み終了 後の巻き戻し時に磁気テープの書き込みデータを読み出してエラーを検出すると ともに、磁気テープがその開始位置に巻き戻されたときに前記カウント手段のブ ロック位置を比較することによりエラーを検出するエラー検出手段とを有するこ とを特徴とする磁気テープ装置が提供される。 In order to achieve the above-mentioned object, the present invention counts the current block position of the magnetic tape, reads the write data of the magnetic tape at the time of rewinding after the writing is finished, detects an error, and detects the error. The error is detected by comparing with the count value of the block position when is rewound to the starting position. That is, according to the present invention, in a magnetic tape device that checks data written in blocks on a magnetic tape, the magnetic tape is run in the forward direction of the read direction and the write direction, and in the reverse direction of the rewind direction. Magnetic tape driving means for causing the magnetic tape to move, a counting means for counting the current block position of the magnetic tape running by the magnetic tape driving means, and a write data of the magnetic tape is read at the time of rewinding after the completion of writing to detect an error. At the same time, there is provided a magnetic tape device characterized by having an error detecting means for detecting an error by comparing the block positions of the counting means when the magnetic tape is rewound to its starting position. It

【0006】[0006]

【作用】[Action]

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

【0007】[0007]

【実施例】【Example】

以下、図面を参照して本考案の実施例を説明する。図1は、本考案に係る磁気 テープ装置の一実施例を示すブロック図、図2は、磁気テープの途中のブロック から書き込む場合のブロックカウンタの値を示す説明図、図3は、図1の磁気テ ープ装置の動作を説明するためのフローチャートである。 Embodiments of the present invention will be described below with reference to the drawings. 1 is a block diagram showing an embodiment of a magnetic tape device according to the present invention, FIG. 2 is an explanatory diagram showing a value of a block counter when writing from a block in the middle of a 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, the magnetic tape T runs in the forward direction (the right direction in the drawing) of the reading direction and the writing direction by the motor M, and runs in the reverse direction (the left direction in the drawing) of the rewinding direction. Data is written to the magnetic tape T block by block via the magnetic head H, and the written data is read. The writing means 1 drives the magnetic tape T in the forward direction by driving the motor M, and at the same time, writes the data to the magnetic tape T via the magnetic head H for each block. At the time of reading, the motor M is driven to move the magnetic tape T in the forward direction, and data is read from the magnetic tape T for each block via the magnetic head H.

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

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

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

【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 it 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 to rewind. In the case of an instruction and an unload instruction, the processing shown in steps S5 to S11 is executed.

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

【0014】 他方、巻き戻し命令およびアンロード命令の場合には磁気テープTの開始位置 BOTか否かを判別し(ステップS5)、開始位置BOTでない場合にはステッ プS6において磁気テープTを逆方向に走行させて書き込みデータを読み出す。 すなわち、このステップS6では高速の巻き戻し処理を行わない。そして、ステ ップS7において逆方向から読み出されたデータを例えばパリティチェック等に よりエラーがあるか否かをチェックし、エラーがない場合にステップS8におい てブロックカウンタ3をダウンカウントし、ステップS5に戻る。他方、ステッ プS7においてエラーを検出した場合にはステップS10に分岐し、警報手段5 により警告を行う。On the other hand, in the case of the rewind instruction and the unload instruction, it is judged whether or not it is the start position BOT of the magnetic tape T (step S5), and if it is not the start position BOT, the magnetic tape T is reversed in step S6. Direction is run to read the write data. That is, high-speed rewinding processing is not performed in this step S6. Then, in step S7, it is checked whether or not the data read from the reverse direction has an error by, for example, a parity check, and if there is no error, the block counter 3 is down-counted in step S8, Return to S5. On the other hand, if an error is detected in step S7, the process branches to step S10, and the warning means 5 gives a warning.

【0015】 そして、ステップS5において磁気テープTの開始位置BOTを判別すると、 ステップS9においてブロックカウンタ3の値が「0」か否かを判別し、「0」 でない場合には、書き込みブロック数が正常でないのでステップS10に進んで 警告を行い、ステップS11に進む。また、ステップ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 determined. Since it is not normal, the process proceeds to step S10 to issue a warning, and the process proceeds to step S11. If the value of the block counter is "0" in step S9, the number of write blocks is normal, so the process directly proceeds to step S11 to perform the rewinding process or the unloading process.

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

【0017】[0017]

【考案の効果】[Effect of the device]

以上説明したように本考案によれば、書き込み終了後の巻き戻し時に磁気テー プの書き込みデータが読み出されてエラーが検出されるとともに、磁気テープの 現在のブロック位置がカウントされて磁気テープがその開始位置に巻き戻された ときにこのカウント値と比較されて書き込みブロック数がチェックされるので、 磁気テープに書き込まれたデータの信頼性を向上させることができる。 As described above, according to the present invention, when rewinding after the end of writing, the write data of the magnetic tape is read to detect an error, and the current block position of the magnetic tape is counted to detect the magnetic tape. When it is rewound to the start position, the count value is compared with this count value to check the number of write blocks, so that the reliability of the data written on the magnetic tape can be improved.

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

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

【図2】磁気テープの途中のブロックから書き込む場合
のブロックカウンタの値を示す説明図である。
FIG. 2 is an explanatory diagram showing a value of a block counter when writing 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.

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

3 ブロックカウンタ 4 エラー検出手段 H 磁気ヘッド M モータ T 磁気テープ 3 block counter 4 error detection means H magnetic head M motor T magnetic tape

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 磁気テープにブロック毎に書き込まれた
データをチェックする磁気テープ装置において、 磁気テープを読み出し方向および書き込み方向の順方向
に走行させるとともに、巻き戻し方向の逆方向に走行さ
せるための磁気テープ駆動手段と、 前記磁気テープ駆動手段により走行する磁気テープの現
在のブロック位置をカウントするカウント手段と、 書き込み終了後の巻き戻し時に磁気テープの書き込みデ
ータを読み出してエラーを検出するとともに、磁気テー
プがその開始位置に巻き戻されたときに前記カウント手
段のブロック位置を比較することによりエラーを検出す
るエラー検出手段とを有することを特徴とする磁気テー
プ装置。
1. A magnetic tape device for checking data written in blocks on a magnetic tape, for moving the magnetic tape in a forward direction of a reading direction and a writing direction and in a reverse direction of a rewinding direction. Magnetic tape driving means, counting means for counting the current block position of the magnetic tape running by the magnetic tape driving means, reading the write data of the magnetic tape at the time of rewinding after the end of writing to detect an error, and A magnetic tape device comprising: an error detecting unit that detects an error by comparing the block position of the counting unit when the tape is rewound to the starting position.
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 true JPH0573704U (en) 1993-10-08
JP2565529Y2 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
JP2565529Y2 (en) 1998-03-18

Similar Documents

Publication Publication Date Title
JPH06131818A (en) Detection system of tape format
JPH0573704U (en) Magnetic tape unit
US5287229A (en) Method of avoiding accidental overwriting on magnetic tape
JPS62175914A (en) Re-positioning device for streaming magnetic tape device
JP3126829B2 (en) Magnetic tape reading method
JPH02146137A (en) Magnetic tape device
JP2669382B2 (en) Magnetic tape unit
US3614020A (en) Tape rewind speed change system
JPS5836431B2 (en) head control device
JP3450256B2 (en) Magnetic tape device positioning method
JPS6226110B2 (en)
JP2624172B2 (en) Magnetic tape processing device
JPS63136302A (en) Retrial control system for magnetic tape controller
JPS5951044B2 (en) Magnetic tape control method
JPS6243259B2 (en)
JP3094244U (en) Recording / reproducing device using magnetic recording tape
JPH0626964Y2 (en) Magnetic tape device
JPH01319103A (en) Magnetic tape control device
JPS6292105A (en) Magnetic tape recording system
JPH0253859B2 (en)
JPH03296947A (en) Data recording method on magnetic recording and reproducing device
JPH0799563B2 (en) Auto cleaner operation detection method
JPH01319104A (en) Magnetic tape control device
JPH0150993B2 (en)
JPH05282739A (en) Magnetic tape traveling method

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