JPH01282709A - Magnetic tape device - Google Patents

Magnetic tape device

Info

Publication number
JPH01282709A
JPH01282709A JP63111808A JP11180888A JPH01282709A JP H01282709 A JPH01282709 A JP H01282709A JP 63111808 A JP63111808 A JP 63111808A JP 11180888 A JP11180888 A JP 11180888A JP H01282709 A JPH01282709 A JP H01282709A
Authority
JP
Japan
Prior art keywords
magnetic tape
medium
circuit
data
point
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.)
Pending
Application number
JP63111808A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Nakajima
中島 良之
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63111808A priority Critical patent/JPH01282709A/en
Publication of JPH01282709A publication Critical patent/JPH01282709A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To avoid a medium error in a short time by an automatic retry processing of once by detecting a medium error position and erasing the medium error position. CONSTITUTION:A data counter 4 counts demodulation data of a demodulating circuit 3 until a medium error signal of the demodulating circuit 3 is outputted by a write operation under the control of a control circuit 5B, and outputs data counting information extending from an (a) point of a magnetic tape medium to a (p) point of a medium error position to the control circuit 5B. Subsequently, due to a space reverse operation of an automatic retry processing, the control circuit 5B controls a driving circuit 7 and the magnetic tape medium is run in reverse from an (aa) point to the (a) point. Due to the subsequent erasing operation, the control circuit 5B runs the magnetic tape medium in the advance direction, and controls an erasing circuit 1 so as to erase up to a position which has added a prescribed position to the medium error position. As a result, as for the magnetic tape medium, the (a) point through an (r) point containing the (p) point of the medium error position are erased. In such a way, a medium error can be avoided at a time.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報処理装置の外部記憶装置である磁気テープ
装置に関し、特に磁気テープ装置の自動再試行処理に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a magnetic tape device that is an external storage device for an information processing device, and particularly relates to automatic retry processing of a magnetic tape device.

(従来技術) 従来、この種の磁気テープ装置は、第2図のブロック図
に示すような構成になっており、その記録状態は第4図
に示すような状態になっていた。
(Prior Art) Conventionally, this type of magnetic tape device has a configuration as shown in the block diagram of FIG. 2, and its recording state is as shown in FIG. 4.

この従来例を図にしたがって説明すれば、磁気テープ制
御装置9は磁気テープ装置8Aにデータを書き込むため
にライト命令にて書込データを送る。
To explain this conventional example according to the drawing, the magnetic tape control device 9 sends write data by a write command in order to write data to the magnetic tape device 8A.

磁気テープ装置8Aは磁気テープ制御装置9がらの命令
をインタフェース回路6で受けてライト動作を開始する
。インタフェース回路6は受けた命令を制御回路5Aに
出力するとともに書込データをデータバッファ1oに出
力する。制御回路5Aは駆動回路7を制御してリールモ
ータ及びキャプスタンモータを駆動して磁気テープ媒体
を進行方向に走行させる。又、ライト動作の始めで制御
回路5Aの内部レジスタの書込エラーフラッグをリセッ
トする。既に磁気テープ媒体に書き込まれていたデータ
を制御回路5Aの制御により消去回路1にて消去しなが
ら制御回路5Aの制御によりデータバッファ10からの
データを書込回路2にて前記磁気テープ媒体に書き込む
、直後にライト状態を確認するために前記磁気テープ媒
体へ書き込まれたデータを復調回路3にて読み出して制
御回路5Aの制御によりアナログ状のデータをパルス状
のデータに整形し、データを復調する。さらに復調回路
3はデータの読取信号のレベルが一定以上か否かを判断
し、データの読取信号のレベルが一定以下であるときド
ロップピントであるとみなして媒体エラー信号を制御回
路5Aへ出力する。
The magnetic tape device 8A receives a command from the magnetic tape control device 9 through the interface circuit 6 and starts a write operation. The interface circuit 6 outputs the received command to the control circuit 5A and also outputs write data to the data buffer 1o. The control circuit 5A controls the drive circuit 7 to drive the reel motor and capstan motor to run the magnetic tape medium in the traveling direction. Also, at the beginning of the write operation, the write error flag in the internal register of the control circuit 5A is reset. Data already written on the magnetic tape medium is erased by the erasing circuit 1 under the control of the control circuit 5A, and data from the data buffer 10 is written onto the magnetic tape medium by the writing circuit 2 under the control of the control circuit 5A. Immediately after, in order to confirm the write state, the data written to the magnetic tape medium is read out by the demodulation circuit 3, and the analog data is shaped into pulse data under the control of the control circuit 5A, and the data is demodulated. . Further, the demodulation circuit 3 determines whether the level of the data read signal is above a certain level, and when the level of the data read signal is below a certain level, it is assumed that drop focus is present and outputs a medium error signal to the control circuit 5A. .

制御回路5Aは復調回路3からの媒体エラー信号を受け
ると、内部レジスタに書込エラーフラッグをセットする
。これにて磁気テープ媒体は媒体エラー位置2点を含み
、a点よりaa点までデータが書き込まれる。
When the control circuit 5A receives the medium error signal from the demodulation circuit 3, it sets a write error flag in an internal register. As a result, the magnetic tape medium includes two medium error positions, and data is written from point a to point aa.

制御回路5Aは、内部レジスタの書込エラーフラッグが
セットされていると媒体エラー回避のため以下の自動再
試行処理を行う、スペースリバース動作のために制御回
路5Aは駆動回路7を制御してリールモータ及びキャプ
スタンモータを駆動して磁気テープ媒体を逆方向に走行
させる。復調回路3は磁気テープ媒体に書き込まれたデ
ータの書き始めを検出し、制御回路5Aに出力する。制
御回路5Aは駆動回路7を制御してモータの駆動を停止
させる。これにて6社気テープ媒体はaa点よりa点ま
で逆走行される。続くイレーズ動作のために制御回路5
Aは駆動回路7を制御してり−ルモータ及びキャプスタ
ンモータを駆動してu1気テープ媒体を進行方向に走行
させ、所定の距離Pを消去するように消去回路1を制御
する。これにて磁気テープ媒体はa点より一定距離!を
加えたb点までが消去されるが、媒体エラー位Mp点を
含んでいない、続くライト動作にてデータバッファlO
に格納されている書込エラーが生じた同一データを前記
同様のライト動作で磁気テープ媒体に書き込む、これに
て磁気テープ媒体はb点よりbb点までデータが書き込
まれるが、媒体エラー位置2点を含んでおり、再び制御
回路5Aの内部レジスタの書込エラーフラッグがセット
される。
The control circuit 5A performs the following automatic retry process to avoid medium errors when the write error flag of the internal register is set.For space reverse operation, the control circuit 5A controls the drive circuit 7 to reel. The motor and capstan motor are driven to run the magnetic tape medium in the opposite direction. The demodulation circuit 3 detects the start of data written on the magnetic tape medium and outputs it to the control circuit 5A. The control circuit 5A controls the drive circuit 7 to stop driving the motor. In this way, the tape medium 6 is run backwards from point aa to point a. Control circuit 5 for the subsequent erase operation.
A controls the drive circuit 7, drives the rotary motor and the capstan motor to run the tape medium in the traveling direction, and controls the erasing circuit 1 to erase a predetermined distance P. With this, the magnetic tape medium is a certain distance from point a! The data up to point b, which is the sum of
The same data in which a write error occurred is written to the magnetic tape medium using the same write operation as described above. As a result, data is written to the magnetic tape medium from point b to point bb, but the data is written at two points at the medium error position. The write error flag of the internal register of the control circuit 5A is set again.

以上の自動再試行処理により、磁気テープ媒体に前回書
き込んだデータを進行方向に消去した距離の分だけずら
したことになる。制御回路5Aの内部レジスタの書込エ
ラーフラッグがセットされているので、自動再試行処理
を繰り返して媒体エラーが検出されなくなる位置までデ
ータをずらして書き込んでいく、これにて磁気テープ媒
体は媒体エラー位置1点を含まないn点よりデータが書
き込まれる。
As a result of the above automatic retry process, the data previously written on the magnetic tape medium is shifted by the erased distance in the advancing direction. Since the write error flag in the internal register of the control circuit 5A is set, the automatic retry process is repeated and the data is shifted and written to a position where no medium error is detected.This causes the magnetic tape medium to detect a medium error. Data is written from n points that do not include position 1.

(発明が解決しようとする諜1!fl)上述した従来の
磁気テープ装置は、1回の自動再試行処理では書き込む
データに対して所定の短い距離しか消去できないので、
媒体エラー位置によっては媒体エラーを回避するために
何回も再試行処理を繰り返さなければならず自動再試行
処理にかかる時間が多大になるという欠点がある。
(Intelligence to be Solved by the Invention 1!fl) The conventional magnetic tape device described above can erase only a predetermined short distance of written data in one automatic retry process.
Depending on the position of the media error, the retry process must be repeated many times to avoid the media error, and the automatic retry process takes a lot of time.

(課題を解決するための手段) 本発明の磁気テープ装置は、磁気テープ媒体に書き込む
データを格納するデータバッファと、前記磁気テープ媒
体にデータを書き込む書込回路と、前記磁気テープ媒体
のデータを復調するとともに媒体エラーのドロップビッ
トの発生を検出する復調回路と、イレーズ動作にて一定
距離の消去を制i11する制御回路と、前記制御回路の
制御により消去を行う消去回路と、前記制御回路の制御
によりリールモータ及びキャプスタンモータを駆動する
駆動回路とを少なくとも備える磁^テープViinにお
いて、前記復調回路が媒体エラーを検出するまで該復調
回路の復調データを計数するデータカウンタと、自動再
試行処理のスペースリバース動作に続くイレーズ動作に
て前記データカウンタの情報により媒体エラーの位置に
一定距離を加えた位置までの消去を制御する制御回路と
を備えている。
(Means for Solving the Problems) A magnetic tape device of the present invention includes a data buffer for storing data to be written on a magnetic tape medium, a write circuit for writing data on the magnetic tape medium, and a write circuit for storing data to be written on the magnetic tape medium. a demodulation circuit that performs demodulation and detects the occurrence of drop bits due to medium errors; a control circuit that controls erasing of a certain distance in an erase operation; an erase circuit that performs erasing under the control of the control circuit; A magnetic tape Viin comprising at least a drive circuit that drives a reel motor and a capstan motor under control, a data counter that counts demodulated data of the demodulation circuit until the demodulation circuit detects a medium error, and automatic retry processing. In the erase operation following the space reverse operation, the control circuit controls erasing up to a position where a certain distance is added to the position of the medium error based on the information of the data counter.

(実施例) 次に本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は本発明の1実施例のブロフク図、第3図は本発
明の磁気テープ装置の記録状態図である。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 3 is a recording state diagram of the magnetic tape device of the present invention.

磁気テープ制御装置9は磁気テープ装置8Bにデータを
書き込むためにライト命令にて書込データを送る。磁気
テープ装置8Bは磁気テープ制御装置9からの命令をイ
ンタフェース回路6で受けてライト動作を開始する。イ
ンタフェース回路6は受けた命令を制御回路5Bに出力
するとともに書込データをデータバッファ10に出力す
る。制御回路5Bは駆動回路7を制御してリールモータ
及びキャプスタンモータを駆動して磁気テープ媒体を進
行方向に走行させる。又、ライト動作の始めで制御回路
5Bの内部レジスタの書込エラーフラッグ及びデータカ
ウンタ4をリセフトする。既に磁気テープ媒体に書き込
まれていたデータを制御回路5Bの制御により消去回路
1にて消去しながら制御回路5Bの制御によりデータバ
ッファ10からのデータを書込回路2にて前記磁気テー
プ媒体に書き込む。直後にライト状態をf+1!4’Q
するために前記磁気テープ媒体へ書き込まれたデータを
復調回路3にて読み出して、制御回路5Bの制御0によ
りアナログ状のデータをパルス状のデータに整形し、デ
ータを復調するとともにデータカウンタ4へ出力する。
The magnetic tape control device 9 sends write data using a write command in order to write data to the magnetic tape device 8B. The magnetic tape device 8B receives a command from the magnetic tape control device 9 through the interface circuit 6 and starts a write operation. The interface circuit 6 outputs the received command to the control circuit 5B and also outputs write data to the data buffer 10. The control circuit 5B controls the drive circuit 7 to drive the reel motor and capstan motor to run the magnetic tape medium in the traveling direction. Also, at the beginning of the write operation, the write error flag of the internal register of the control circuit 5B and the data counter 4 are reset. The data already written on the magnetic tape medium is erased by the erasing circuit 1 under the control of the control circuit 5B, while the data from the data buffer 10 is written onto the magnetic tape medium by the writing circuit 2 under the control of the control circuit 5B. . Immediately after, change the write state to f+1!4'Q
In order to do this, the data written on the magnetic tape medium is read out by the demodulation circuit 3, the analog data is shaped into pulse data by the control 0 of the control circuit 5B, and the data is demodulated and sent to the data counter 4. Output.

さらに復調回路3はデータの読取信号のレベルが一定以
上か否かを判断し、データの読取信号のレベルが一定以
下であるときドロップビットであるとみなして媒体エラ
ー信号を制御回路5Bへ出力子る。制御回路5Bは復調
回路3からの媒体エラー信号を受けると、内部レジスタ
に書込エラーフラッグをセットする。データカウンタ4
は制御回路5Bの制御によりライト動作にて復調回路3
の媒体エラー信号が出力されるまで復調回路3の復調デ
ータを計数し、制御回路5Bへ磁気テープ媒体のa点よ
り媒体エラー位iZP点までのデータ計数情報を出力す
る。これにて磁気テープ媒体は媒体エラー位置2点を含
み、a点よりaa点までデータが書き込まれる。
Further, the demodulation circuit 3 determines whether the level of the data read signal is above a certain level, and when the level of the data read signal is below a certain level, it is regarded as a drop bit and outputs a medium error signal to the control circuit 5B. Ru. When the control circuit 5B receives the medium error signal from the demodulation circuit 3, it sets a write error flag in an internal register. data counter 4
is the demodulation circuit 3 in the write operation under the control of the control circuit 5B.
The demodulated data of the demodulation circuit 3 is counted until a medium error signal of 1 is output, and the data count information from point a of the magnetic tape medium to the medium error point iZP is outputted to the control circuit 5B. As a result, the magnetic tape medium includes two medium error positions, and data is written from point a to point aa.

制御回路5Bは、内部レジスタの書込エラーフラッグが
セットされていると媒体エラー回避のため以下の自動再
試行処理を行う、スペースリバース動作のために制御回
路5Bは駆動回路7を制御してリールモータ及びキャプ
スタンモータを駆動して磁気テープ媒体を逆方向に走行
させる。復調回路3は磁気テープ媒体に書き込まれたデ
ータの書き始めを検出し、制御回路5Bに出力する。制
御回路5Bは駆動回路7を制御してモータの駆動を停止
させる。これにて磁気テープ媒体はaa点よりa点まで
逆走行される。続くイレーズ動作のために制御回路5B
は駆動回路7を制御してリールモータ及びキャプスタン
モータを駆動して磁気テープ媒体を進行方向に走行させ
、データカウンタ4の計数情報による媒体エラー位置に
一定距離を加えた位置までを消去するように消去回路1
を制御する。これにて磁気テープ媒体は媒体エラー位置
2点を含み、a点よりr点までが消去される。
The control circuit 5B performs the following automatic retry process to avoid medium errors when the write error flag of the internal register is set.For space reverse operation, the control circuit 5B controls the drive circuit 7 to reel. The motor and capstan motor are driven to run the magnetic tape medium in the opposite direction. The demodulation circuit 3 detects the start of data written on the magnetic tape medium and outputs it to the control circuit 5B. The control circuit 5B controls the drive circuit 7 to stop driving the motor. In this way, the magnetic tape medium is run backwards from point aa to point a. Control circuit 5B for subsequent erase operation
controls the drive circuit 7 to drive the reel motor and the capstan motor to run the magnetic tape medium in the advancing direction, and erase data up to a position where a certain distance is added to the medium error position according to the count information of the data counter 4. Erase circuit 1
control. With this, the magnetic tape medium includes two medium error positions, and the area from point a to point r is erased.

続くライト動作にてデータバッファ10に格納されてい
る書込エラーが生じた同一データを前記同様のライト動
作で6n気テ一プ媒体に書き込む。これにて磁気テープ
媒体は媒体エラー位Up点を含まないr点よりrr点ま
でデータが書き込まれる。
In the subsequent write operation, the same data that is stored in the data buffer 10 and in which the write error occurred is written to the 6n tape medium in the same write operation as described above. In this way, data is written on the magnetic tape medium from point r to point rr, which does not include the medium error point Up.

以上の自動再試行処理により、−度で媒体エラーを回避
できる。
With the above automatic retry process, it is possible to avoid medium errors at least once.

(発明の効果) 以上説明したように本発明は、媒体エラー位置を検知し
て媒体エラー位置を含んで消去することにより、媒体エ
ラーを一度の自動再試行処理で回避できるので媒体エラ
ーを短時間で回避できる効果がある。
(Effects of the Invention) As explained above, the present invention detects the media error position and erases the media including the error position, thereby avoiding the media error with one automatic retry process. There is an effect that can be avoided.

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

第1図は本発明の磁気テープ装置のブロック図、第2図
は従来の磁気テープ装置のブロック図、第3図は本発明
の磁気テープ装置の記録状態図、第4図は従来の磁気テ
ープ装置の記録状態図である。 l・・・消去回路、2・・・書込回路、3・・・復調回
路、4・・・データカウンタ、5A、5B・・・制御回
路、6・・・インタフェース回路、7・・・駆動回路、
8A、8b・・・磁気テープ装置、 9・・・磁気テープ制御装置、10・・・データバッフ
ァ、a、b、aa、n、r・・・データ書き始め点、2
・・・消去距離、p・・・媒体エラー位置、bb、nn
、rr・・・データ書き終り点。
FIG. 1 is a block diagram of a magnetic tape device of the present invention, FIG. 2 is a block diagram of a conventional magnetic tape device, FIG. 3 is a recording state diagram of the magnetic tape device of the present invention, and FIG. 4 is a conventional magnetic tape device. FIG. 3 is a recording state diagram of the device. l... Erase circuit, 2... Write circuit, 3... Demodulation circuit, 4... Data counter, 5A, 5B... Control circuit, 6... Interface circuit, 7... Drive circuit,
8A, 8b... Magnetic tape device, 9... Magnetic tape control device, 10... Data buffer, a, b, aa, n, r... Data writing start point, 2
...Erasure distance, p...Medium error position, bb, nn
, rr... Data writing end point.

Claims (1)

【特許請求の範囲】[Claims] 磁気テープ媒体に書き込むデータを格納するデータバッ
ファと、前記磁気テープ媒体にデータを書き込む書込回
路と、前記磁気テープ媒体のデータを復調するとともに
媒体エラーのドロップビットの発生を検出する復調回路
と、イレーズ動作にて一定距離の消去を制御する制御回
路と、前記制御回路の制御により消去を行う消去回路と
、前記制御回路の制御によりリールモータ及びキャプス
タンモータを駆動する駆動回路とを少なくとも備える磁
気テープ装置において、前記復調回路が媒体エラーを検
出するまで該復調回路の復調データを計数するデータカ
ウンタと、自動再試行処理のスペースリバース動作に続
くイレーズ動作にて前記データカウンタの情報により媒
体エラーの位置に一定距離を加えた位置までの消去を制
御する制御回路とを備えることを特徴とする磁気テープ
装置。
a data buffer that stores data to be written to a magnetic tape medium; a write circuit that writes data to the magnetic tape medium; a demodulation circuit that demodulates data on the magnetic tape medium and detects the occurrence of a drop bit due to a medium error; A magnetic field comprising at least a control circuit that controls erasing of a certain distance in an erase operation, an erasing circuit that performs erasing under the control of the control circuit, and a drive circuit that drives a reel motor and a capstan motor under the control of the control circuit. The tape device includes a data counter that counts demodulated data of the demodulation circuit until the demodulation circuit detects a medium error, and a data counter that counts the demodulated data of the demodulation circuit until the demodulation circuit detects a medium error. 1. A magnetic tape device comprising: a control circuit that controls erasing up to a position plus a certain distance.
JP63111808A 1988-05-09 1988-05-09 Magnetic tape device Pending JPH01282709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63111808A JPH01282709A (en) 1988-05-09 1988-05-09 Magnetic tape device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63111808A JPH01282709A (en) 1988-05-09 1988-05-09 Magnetic tape device

Publications (1)

Publication Number Publication Date
JPH01282709A true JPH01282709A (en) 1989-11-14

Family

ID=14570676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63111808A Pending JPH01282709A (en) 1988-05-09 1988-05-09 Magnetic tape device

Country Status (1)

Country Link
JP (1) JPH01282709A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878278A (en) * 1994-10-03 1999-03-02 International Business Machines Corporation System for controlling connection requests by each IO controllers storing and managing a request queue wherein additional channel addresses can be added

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878278A (en) * 1994-10-03 1999-03-02 International Business Machines Corporation System for controlling connection requests by each IO controllers storing and managing a request queue wherein additional channel addresses can be added

Similar Documents

Publication Publication Date Title
EP0110509A2 (en) Recording system for recording data on tape in a disk-recording format
JPS585461B2 (en) magnetic tape recording device
US4414593A (en) Streaming cartridge tape drive
US7167332B2 (en) Method and apparatus for recording data onto a recording medium including warning of the approach to an end of medium position
JPH01282709A (en) Magnetic tape device
US5287229A (en) Method of avoiding accidental overwriting on magnetic tape
JPH06131618A (en) Method for recording and reproducing reference signal in magnetic tape
JPH0652622B2 (en) Block pattern detection circuit device
JPH02260204A (en) Magnetic tape device
JPH04168609A (en) Magnetic tape device
JPH04172605A (en) Magnetic tape device
JPH04168610A (en) Magnetic tape device
JPH01125705A (en) Magnetic tape device
JPH05182152A (en) Data reproducing method for magnetic tape
JPS6243259B2 (en)
JPS645364B2 (en)
SU1016821A1 (en) Magnetic recording copying device
SU849250A1 (en) Device for checking and correcting information
JPH0711850B2 (en) Magnetic recording device
JPS6240781B2 (en)
JPH0158580B2 (en)
JPS5832212A (en) Magnetic tape processor
JPH01137469A (en) Magnetic disk device
JPS63304456A (en) Magnetic tape device
JPS5840271B2 (en) memory device