JPS6316490A - Magnetic tape device - Google Patents
Magnetic tape deviceInfo
- Publication number
- JPS6316490A JPS6316490A JP16114486A JP16114486A JPS6316490A JP S6316490 A JPS6316490 A JP S6316490A JP 16114486 A JP16114486 A JP 16114486A JP 16114486 A JP16114486 A JP 16114486A JP S6316490 A JPS6316490 A JP S6316490A
- Authority
- JP
- Japan
- Prior art keywords
- magnetic tape
- data
- register
- record number
- record
- 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
Links
- 230000000694 effects Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は磁気テープ装置に関し、特に磁気テープに記録
されたデータのブロック抜は対策に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic tape device, and more particularly to a countermeasure against block deletion of data recorded on a magnetic tape.
従来、この種の磁気テープ装置は、上位装置から送られ
る読取り命令に対し、記録密度に従って磁気テープに記
録されたデータを転送していた。Conventionally, this type of magnetic tape device has transferred data recorded on a magnetic tape according to the recording density in response to a read command sent from a host device.
同時に読み取りエラーを1ブロツク読取る毎にチェック
し報告するのみであった。At the same time, reading errors were only checked and reported every time one block was read.
上述した従来の磁気テープ装置は、1ブロツク読取る毎
にデータの読取りエラーのみしかチェックできない為に
媒体上の何らかの理由により1ブロツク欠落した場合に
おいて、原因調査の為の時間が多大となる欠点がある。The above-mentioned conventional magnetic tape device has the disadvantage that since it can only check for data read errors each time one block is read, if one block is missing due to some reason on the medium, it takes a lot of time to investigate the cause. .
本発明の磁気テープ装置は、上位装置から送られるレコ
ード番号を記憶するレジスタと、上位装置からの指示に
より前記レジスタからレコード番号を読み出す手段およ
び上位装置からの指示により前記レジスタへレコード番
号を書込む手段を有する制御部とを具備している。A magnetic tape device of the present invention includes a register for storing a record number sent from a host device, a means for reading the record number from the register according to an instruction from the host device, and a means for writing the record number to the register according to an instruction from the host device. and a control section having means.
次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は、本発明の一実施例3示す。第1図において、
本実施例は磁気テープ3、制御部1およびレジスタ2を
含む磁気テープ装置100で、図示されないが磁気デー
タ制御装置に接続されている。制御部1は、レジスタ2
の制御を含むと共に磁気テープ装置100の全体を制御
する。レジスタ2は、制御部1から制御信号12を介し
て制御され現在処理中のレコード番号を記憶するレジス
タである。制御部1は磁気テープ制御装置#Oとの制御
信号線10を、磁気テープ制御装置#1との制御信号線
11を、レジスタ2への制御信号線12を、磁気テープ
3のハンドリング部への制御信号線13を有しており、
更に、磁気テープ制御装置#Oとのデータ線20を、磁
気テープ制御装置#1とのデータ線21を、レジスタ2
へのアクセスデータ線22を、磁気テープ3とのデータ
線23をそれぞれ有している。FIG. 1 shows a third embodiment of the present invention. In Figure 1,
In this embodiment, a magnetic tape device 100 includes a magnetic tape 3, a control section 1, and a register 2, and is connected to a magnetic data control device (not shown). The control unit 1 has a register 2
, and also controls the entire magnetic tape device 100. The register 2 is a register that is controlled by the control unit 1 via the control signal 12 and stores the record number currently being processed. The control unit 1 connects a control signal line 10 to the magnetic tape controller #O, a control signal line 11 to the magnetic tape controller #1, a control signal line 12 to the register 2, and a control signal line 12 to the magnetic tape 3 handling unit. It has a control signal line 13,
Furthermore, the data line 20 with the magnetic tape control device #O and the data line 21 with the magnetic tape control device #1 are connected to the register 2.
It has an access data line 22 to the magnetic tape 3 and a data line 23 to the magnetic tape 3, respectively.
本実施例に用いる磁気テープ3は、磁気テープの始端を
示す標識(以下r B OT 」(begiooiBo
r tape )という)から記録済ブロックの各先頭
には1バイトのブロック番号が記録されている。The magnetic tape 3 used in this embodiment has a mark indicating the starting end of the magnetic tape (hereinafter referred to as "rBOT").
A 1-byte block number is recorded at the beginning of each recorded block from the beginning (called r tape ).
次に、上記磁気テープ3を読み取る場合、上位装置(図
示せず)より制御信号線10を介して磁気テープ装置1
00に磁気テープ3の読取り命令が出されると、制御部
1は読取り命令をデコードし、制御信号線13を介して
磁気テープ3を読取る為リールを駆動する。一定時間経
過後磁気データ3の内容はデータ線23を介して制御部
1へ送られ、さらに制御部1からデータ線20を介して
上位装置へ1ブロツクのデータが転送される。Next, when reading the magnetic tape 3, a host device (not shown) sends a signal to the magnetic tape device 1 via a control signal line 10.
When a command to read the magnetic tape 3 is issued to 00, the control unit 1 decodes the read command and drives the reel to read the magnetic tape 3 via the control signal line 13. After a certain period of time has elapsed, the contents of the magnetic data 3 are sent to the control unit 1 via the data line 23, and one block of data is further transferred from the control unit 1 to the host device via the data line 20.
同様に制御信号線11を介して読取り命令が出された時
はデータ線21を介して上位装置に磁気テープ3の1ブ
ロツクのデータが転送される。Similarly, when a read command is issued via the control signal line 11, one block of data on the magnetic tape 3 is transferred to the host device via the data line 21.
制御信号線11およびデータ線21と制御信号線10お
よびデータ線20は各々ベアで用いられ、それぞれ1系
のシステムおよびO系のシステムと接続されている。The control signal line 11 and the data line 21 and the control signal line 10 and the data line 20 are each used bare, and are connected to the 1 system and the O system, respectively.
そして、0系および1系から磁気テープ3のデータが読
取られる場合、交互に読取り指令を受ける。O系から読
取り命令を受ける前に、O系からレジスタ2の内容がデ
ータ線20を介してO系システムに送られる。0系シス
テムは、このデータ線20を介して送られたデータに”
1”加算した値(これから処理開始するレコード番号(
以下レコード番号と略す)となる。)を保存すると供に
、磁気テープ装置のレジスタ2に制御信号線10および
データ線20を介して“1”加算された値を格納する。When data on the magnetic tape 3 is read from the 0 system and the 1 system, read commands are alternately received. Before receiving a read command from the O system, the contents of register 2 are sent from the O system to the O system via the data line 20. The 0 system uses the data sent via this data line 20.
1” added value (record number to start processing from now on)
(hereinafter abbreviated as record number). ), and the value added by "1" is stored in the register 2 of the magnetic tape device via the control signal line 10 and the data line 20.
次にO系システムから磁気テープ3の読取り命令が発行
される。そして読取られたデータはデータ線20を介し
てO系システムに転送される。0系システムにおいて、
データ線20を介して送られたデータの先頭1バイト(
レコード番号RO)と上記レコード番号の比較が行なわ
れ、一致している時は正常に読取れた事を示し、もし、
不一致となった時はレコード欠落であることを示す。Next, a command to read the magnetic tape 3 is issued from the O system. The read data is then transferred to the O system via data line 20. In the 0 system,
The first 1 byte of data sent via the data line 20 (
The record number RO) is compared with the record number above, and if they match, it means that the reading was successful.
When there is a mismatch, it indicates that a record is missing.
同様に1系システムから読取り命令が発行された時は、
データ線21を介して送られたデータの先頭1バイト(
レコード番号R1)と上記レコード番号の比較が1系シ
ステムで行なわれる。Similarly, when a read command is issued from the 1st system,
The first 1 byte of data sent via the data line 21 (
A comparison between the record number R1) and the above record number is performed in the 1-system system.
尚レジスタ2の値は磁気テープ3がrBOT。The value of register 2 is that magnetic tape 3 is rBOT.
に位置した時、制御信号線12を介して“0”にクリア
される。When located at , it is cleared to "0" via the control signal line 12.
以上説明したように本発明は、レジスタ内に常に今処理
中のブロックに対するブロック番号を保持し、磁気テー
プに記録されたブロック番号とレジスタの内容と上位装
置において読取り時に比較することによりレコード欠落
が直ちに判明させることができる効果がある。As explained above, the present invention always holds the block number for the block currently being processed in the register, and compares the block number recorded on the magnetic tape with the contents of the register at the time of reading in the host device, thereby preventing missing records. It has an effect that can be immediately noticed.
第1図は本発明の一実施例を示す図である。
1・・・制御部、2・・・レジスタ、3・・・磁気テー
プ、1o、11,12.13・・・制御信号線、20゜
21.22.23・・・データ線、100・・・磁気テ
ープ装置。FIG. 1 is a diagram showing an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1...Control part, 2...Register, 3...Magnetic tape, 1o, 11, 12.13...Control signal line, 20°21.22.23...Data line, 100...・Magnetic tape device.
Claims (1)
タと、上位装置からの指示により前記レジスタからレコ
ード番号を読み出す手段および上位装置からの指示によ
り前記レジスタへレコード番号を書込む手段を有する制
御部とを含むことを特徴とする磁気テープ装置。It includes a register that stores a record number sent from a host device, a control unit that has means for reading the record number from the register according to an instruction from the host device, and means for writing the record number to the register according to an instruction from the host device. A magnetic tape device characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16114486A JPS6316490A (en) | 1986-07-08 | 1986-07-08 | Magnetic tape device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16114486A JPS6316490A (en) | 1986-07-08 | 1986-07-08 | Magnetic tape device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6316490A true JPS6316490A (en) | 1988-01-23 |
Family
ID=15729428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16114486A Pending JPS6316490A (en) | 1986-07-08 | 1986-07-08 | Magnetic tape device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6316490A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59101083A (en) * | 1982-12-02 | 1984-06-11 | Fujitsu Ltd | Magnetic tape control system |
-
1986
- 1986-07-08 JP JP16114486A patent/JPS6316490A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59101083A (en) * | 1982-12-02 | 1984-06-11 | Fujitsu Ltd | Magnetic tape control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8176243B2 (en) | Tape recording apparatus and method | |
JPS627572B2 (en) | ||
JPS6316490A (en) | Magnetic tape device | |
JP2562473B2 (en) | Data writing control method for magnetic tape subsystem | |
JP2625744B2 (en) | Magnetic tape unit | |
JPS6050672A (en) | Read control system of rotary memory | |
JPH04285783A (en) | System for managing magnetic tape storage device | |
JP2544327B2 (en) | Magnetic disk controller | |
JPH11242802A (en) | System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program | |
JPS6374182A (en) | Magnetic tape device | |
JP2972365B2 (en) | Access control method for magnetic tape storage | |
JPS58182774A (en) | Controller | |
JPH10133867A (en) | Data reproducing device and data recording medium | |
JP2953874B2 (en) | Magnetic tape device control method for input / output channel device | |
JPS63269361A (en) | Magnetic tape device | |
JPH04102274A (en) | Control system for magnetic memory | |
JPH0258768A (en) | Disk controller | |
JPH02198051A (en) | Magnetic tape device | |
JPH0384760A (en) | Cartridge type magnetic tape device | |
JPS61204865A (en) | Control system of auxiliary storage device | |
JPS63317950A (en) | Data recording processing system by magnetic tape | |
JPH0673223B2 (en) | Magnetic tape system | |
JPH07117885B2 (en) | Storage device | |
JPH0317831A (en) | Optical disk controller | |
JPH05173724A (en) | Magnetic tape storage device |