JPS62283457A - Magnetic tape device - Google Patents

Magnetic tape device

Info

Publication number
JPS62283457A
JPS62283457A JP12618786A JP12618786A JPS62283457A JP S62283457 A JPS62283457 A JP S62283457A JP 12618786 A JP12618786 A JP 12618786A JP 12618786 A JP12618786 A JP 12618786A JP S62283457 A JPS62283457 A JP S62283457A
Authority
JP
Japan
Prior art keywords
magnetic tape
data
register
block
host device
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
JP12618786A
Other languages
Japanese (ja)
Other versions
JPH0673223B2 (en
Inventor
Tadahiko Sakaguchi
坂口 忠彦
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 JP61126187A priority Critical patent/JPH0673223B2/en
Publication of JPS62283457A publication Critical patent/JPS62283457A/en
Publication of JPH0673223B2 publication Critical patent/JPH0673223B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To discriminate missing of block immediately at data read by writing a block number sent from a host device to the head of each block of a magnetic tape so as to make the write order of each block clear. CONSTITUTION:When the host device #0 gives an instruction of read of the content of a register 11 via a control line 1 to a magnetic tape device 100, a control section 10 of the device 100 reads the content of the register 11 and sends the result to the device #0 via a data line 20. The device #0 receiving it stores a value being the direction of '1' to the block number to the register 11 of the device 100 via the signal line 1 and the data line 20. When the device #0 gives a data write instruction, the control section 10 decodes the content of the signal line 1 to prepare the data transfer to the magnetic tape 12. In receiving the write data from the device #0, the control section 10 writes the content of the register 11 onto the tape 12 and the data from the device #0 are written via the data line. Thus, the block number is written in the head of each block.

Description

【発明の詳細な説明】 3、発明の詳細な説明 産業上の利用分野 本発明は、磁気テープ装置に関し、特に、磁気テープへ
の書込み制御に関する。
DETAILED DESCRIPTION OF THE INVENTION 3. Detailed Description of the Invention Field of Industrial Application The present invention relates to a magnetic tape device, and particularly relates to write control on a magnetic tape.

従来の技術 従来、この種の磁気テープ装置は、上位装置から送られ
る書込み命令に対し、記録密度に従って磁気テープ媒体
上に上位装置から送られたデータを記録(書込む)する
のみであった。
2. Description of the Related Art Conventionally, this type of magnetic tape device only records (writes) data sent from a host device onto a magnetic tape medium according to the recording density in response to a write command sent from a host device.

発明が解決しようとする問題点 しかしながら、上述した従来の磁気テープ装置は、磁気
テープ媒体に記録(書込む)する各ブロックのブロック
番号(各ブロックの順序関係)が不詳の為に、何らかの
理由によりデータブロックが欠落した場合等において、
原因調査に多大な時間が必要となる欠点がある。
Problems to be Solved by the Invention However, in the above-mentioned conventional magnetic tape device, the block number (order relationship of each block) of each block recorded (written) on the magnetic tape medium is unknown, and for some reason In cases such as when a data block is missing,
The disadvantage is that it takes a lot of time to investigate the cause.

本発明は従来の技術に内在する上記欠点を解消する為に
なされたものでおり、従って本発明の目的は、後日磁気
テープのデータを読取る時にデータブロックの欠落を即
座に判明させることを可能とした新規な磁気テープ装置
を提供することにある。
The present invention has been made in order to eliminate the above-mentioned drawbacks inherent in the conventional technology, and therefore, an object of the present invention is to make it possible to immediately identify missing data blocks when reading data from a magnetic tape at a later date. The object of the present invention is to provide a new magnetic tape device that has the following features.

問題点を解決するための手段 上記目的を達成する為に1本発明に係る磁気テープ装置
は、上位装置から送られるブロック番号を記憶する記憶
手段と、上位装置からの指示によシ前記記憶手段からブ
ロック番号を読み出す手段と、前記記憶手段の内容を磁
気テープ(媒体)に書込む制御を含む磁気テープ装置全
体を制御する制御部とを有している。
Means for Solving the Problems In order to achieve the above object, a magnetic tape device according to the present invention includes a storage means for storing a block number sent from a higher-level device, and a storage means for storing a block number sent from a higher-level device. and a control section for controlling the entire magnetic tape device including control for writing the contents of the storage means onto the magnetic tape (medium).

実捲例 次に本発明をその好ましい一実権例について図面を参照
して具体的に説明する。
EMBODIMENT OF THE INVENTION Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発明の一実椀例を示すブロック構成図である
FIG. 1 is a block diagram showing an embodiment of the present invention.

第1図を参照するに、参照番号1は上位装置す0から/
への制御信号線、2は上位装置◆1から/への制御信号
線、3け磁気テープ15の制御信号線。
Referring to FIG. 1, reference number 1 indicates the host device 0 to /
2 is a control signal line from/to the host device ◆1, and a control signal line for the 3-layer magnetic tape 15.

10はレジスタ11の制#(読み出し、書込み)を含む
磁気テープ装置100の制御部、IIFi上位装置す0
又はす1から送られるブロック番号を記憶するレジスタ
%12は磁気テープ、20は上位装置す0から/へのデ
ータ線、21は上位装置す1から/へのデータ線、22
は磁気テープ12への書込みデータのデータ線、23は
レジスタ11への書込みデータ又はレジスタ11からの
読み出しデータ線、100は磁気テープ装置をそれぞれ
示す。
10 is a control unit of the magnetic tape device 100 including control (reading, writing) of the register 11, and an IIFi host device 0
%12 is a magnetic tape; 20 is a data line from/to the upper device 0; 21 is a data line from/to the upper device 1; 22
23 is a data line for writing data to the magnetic tape 12, 23 is a data line for writing data to the register 11 or reading data from the register 11, and 100 is a magnetic tape device.

磁気テープ12にデータを記録するか又は情報を読み出
す時には1通常磁気テープ12を磁気テープ装置にセッ
トL、論理的な媒体の始端を示す標識(以下[BOTJ
 (Beginning Of Tape)という)に
位置した状態に置かれる。制御部10は、磁気テープ1
2のBOTを検出すると、データ線23を介してレジス
タ11に10”を書き込む(初期リセット)。
When recording data on the magnetic tape 12 or reading information, set the normal magnetic tape 12 in the magnetic tape device L, and mark the beginning of the logical medium (hereinafter [BOTJ
(referred to as "Beginning Of Tape"). The control unit 10 controls the magnetic tape 1
When BOT 2 is detected, 10'' is written in the register 11 via the data line 23 (initial reset).

次に、上位装置+0(磁気テープ制御装置等)から制御
信号線1を介して磁気テープ装置100の制御部10に
データ書込み命令が送出された場合について説明する。
Next, a case will be described in which a data write command is sent from a host device +0 (such as a magnetic tape control device) to the control unit 10 of the magnetic tape device 100 via the control signal line 1.

上位装置+0は磁気テープ装@、100に対し、データ
の書込命令を出す前に以下の事を行う。磁気テープ装置
100に対し、制御信号線1を介して、レジスタ11の
内容の読取シを指示する。磁気テープ製型100のgl
 94部10は、これを受理してレジスタ11の内容を
データ線23を介して読出し、上位装置にデータ、1j
)20を介して転送する。上位装置は、読出されたブロ
ック番号(レジスタ11の内容)に”1 “を加算した
値(これから処理開始するブロック番号となる)を磁気
テープ装置100のレジスタ11に制御信号線1及びデ
ータ線20全介して格納する。この後、上位装置す。V
i前記データの書込命令を発行する。磁気テープ装置1
000制御部10は、制御信号線1を解読する。解読結
果が書込命令であった時には制御部10はレジスタ11
の内容をデータ線23を介して読出し、データ線22を
介して磁気テープ12にデータ転送の準備を行う。上位
装置華Oからの書込データがデータ線20t−介して送
られた時には、制御部10は上記読出されたレジスタ1
1の内容を磁気テープ12(媒体)に書込み、続けて上
位装置から送られ続けられるデータをデータ線22を介
して転送(書込)し続ける。この様にシテブロック番号
が各ブロックの先頭に書込まれる。
The host device +0 performs the following before issuing a data write command to the magnetic tape device @100. The magnetic tape device 100 is instructed to read the contents of the register 11 via the control signal line 1. magnetic tape mold 100gl
The 94 unit 10 receives this, reads out the contents of the register 11 via the data line 23, and sends the data to the host device.
)20. The host device adds "1" to the read block number (contents of the register 11) and sends the value (which becomes the block number from which processing will start) to the register 11 of the magnetic tape device 100 on the control signal line 1 and the data line 20. Store everything through. After this, the host device will be installed. V
i Issue a write command for the data. Magnetic tape device 1
000 control unit 10 decodes control signal line 1. When the decoding result is a write instruction, the control unit 10 reads the register 11.
The contents are read out via the data line 23 and preparations are made for data transfer to the magnetic tape 12 via the data line 22. When write data from the host device O is sent via the data line 20t, the control unit 10 reads the read register 1.
The contents of 1 are written on the magnetic tape 12 (medium), and data that continues to be sent from the host device continues to be transferred (written) via the data line 22. In this way, the city block number is written at the beginning of each block.

一方、制御IB号線2及びデータ線21は、制御信号線
1及びデータ線20とベアで用いられ、それぞれ上位装
置す1及び上位装置す0と接続されている。そして1通
常本実抱例の磁気テープ装置100は上位装置÷0及び
上位装置+1から交互に書込命令を受け、動作すること
が出来る。もちろん上位装置すO又は上位装置Φ1いず
れか一方からのみの書込命令を含む制御も可能である。
On the other hand, the control IB line 2 and the data line 21 are used bare with the control signal line 1 and the data line 20, and are connected to the host device S1 and the host device S0, respectively. The magnetic tape device 100 of this embodiment can operate by receiving write commands alternately from the host device ÷ 0 and the host device + 1. Of course, control including a write command from either the host device O or the host device Φ1 is also possible.

次に、上位装置≠1から書込命令が発行された場合につ
いて説明する。
Next, a case where a write command is issued from a host device≠1 will be described.

上位装置◆Oと同様にまずレジスタ11の内容更新が制
御1tl信号線2及びデータ線21を介して行われる。
Similar to the host device ◆O, the contents of the register 11 are first updated via the control 1tl signal line 2 and the data line 21.

そして上位装置す1は、磁気テープ装置100に対し制
御信号線2を介して書込命令を発行する。
The host device 1 then issues a write command to the magnetic tape device 100 via the control signal line 2.

磁気テープ装置100の制御部10は、制御ri号線2
を解読し、m読績果が書込命令であった時には。
The control unit 10 of the magnetic tape device 100 connects the control ri line 2
, and when the m reading result is a write command.

制御部10は、レジスタ11の内容をデータ線23を介
して読出し、データ線22t−介して磁気テープ12に
データ転送の準備を行う。上位装置す1からの書込デー
タがデータ線21を介して送られた時、制御部10は、
上記読出されたレジスタ11の内容を磁気テープ12(
媒体)に書込み、続けて上位装置から送られ続くデータ
をデータ線22を介して転送(書込)し続ける。
The control unit 10 reads the contents of the register 11 via the data line 23 and prepares for data transfer to the magnetic tape 12 via the data line 22t. When write data from the host device 1 is sent via the data line 21, the control unit 10
The contents of the read register 11 are transferred to the magnetic tape 12 (
Then, data sent from the host device continues to be transferred (written) via the data line 22.

発明の詳細 な説明した様に1本発明によれば、上位装置から送られ
たブロック番号を磁気テープ12の各プロックの先頭に
書込むことにより、各ブロックの書込み頭注を明確にし
、後日この磁気テープ12のデータを読取る時にブロッ
ク欠落を直ちに判明させることができる効果が得られる
As described in detail, according to the present invention, the block number sent from the host device is written at the beginning of each block of the magnetic tape 12, thereby clarifying the writing headnote of each block, and later writing this magnetic tape. When reading the data on the tape 12, the effect of being able to immediately find out if a block is missing can be obtained.

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

第1図は本発明の一実抱例を示すブロック構成図である
。 1.2.3・・・制御言号線、 10・・・制御部、1
1・・・レジスタ、12・・・磁気テープ、20,21
,22.23・・・データ線、100・・・磁気テープ
装置 特許出願人   日本電気株式会社 代 理 人   弁理士 熊谷雄太部 第1図
FIG. 1 is a block diagram showing one practical example of the present invention. 1.2.3...Control word line, 10...Control unit, 1
1...Register, 12...Magnetic tape, 20, 21
, 22.23...Data line, 100...Magnetic tape device patent applicant NEC Corporation Representative Patent attorney Yutabe Kumagai Figure 1

Claims (1)

【特許請求の範囲】[Claims] 磁気テープ装置において、上位装置から送られるブロッ
ク番号を記憶する記憶手段と、上位装置からの指示によ
り前記記憶手段からブロック番号を読み出す手段と、前
記記憶手段の内容を磁気テープ(媒体)に書き込む制御
を含む磁気テープ装置全体を制御する制御部とを有する
ことを特徴とした磁気テープ装置。
In a magnetic tape device, a storage means for storing a block number sent from a host device, a means for reading the block number from the storage means according to an instruction from the host device, and a control for writing the contents of the storage means onto a magnetic tape (medium). A control unit that controls the entire magnetic tape device including the magnetic tape device.
JP61126187A 1986-05-31 1986-05-31 Magnetic tape system Expired - Fee Related JPH0673223B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61126187A JPH0673223B2 (en) 1986-05-31 1986-05-31 Magnetic tape system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61126187A JPH0673223B2 (en) 1986-05-31 1986-05-31 Magnetic tape system

Publications (2)

Publication Number Publication Date
JPS62283457A true JPS62283457A (en) 1987-12-09
JPH0673223B2 JPH0673223B2 (en) 1994-09-14

Family

ID=14928847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61126187A Expired - Fee Related JPH0673223B2 (en) 1986-05-31 1986-05-31 Magnetic tape system

Country Status (1)

Country Link
JP (1) JPH0673223B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0279267A (en) * 1988-09-16 1990-03-19 Csk Corp Card type optical recording medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6047268A (en) * 1983-08-25 1985-03-14 Fujitsu Ltd Block managing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6047268A (en) * 1983-08-25 1985-03-14 Fujitsu Ltd Block managing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0279267A (en) * 1988-09-16 1990-03-19 Csk Corp Card type optical recording medium

Also Published As

Publication number Publication date
JPH0673223B2 (en) 1994-09-14

Similar Documents

Publication Publication Date Title
JPH0378649B2 (en)
JPS627572B2 (en)
JPS62283457A (en) Magnetic tape device
US5319503A (en) Method and apparatus for writing successive streams of data on a magnetic medium by writing a cancel mark indicating the cancellation of a previously-written file mark
JPS63161565A (en) Data recorder
JPS58219658A (en) Magnetic disk controller
JPH054697B2 (en)
JPH0793101A (en) Data backup device
JP2536118B2 (en) Disk controller
JPS6297177A (en) Magnetic tape device
JPS61145767A (en) Magnetic disk device
JPH0129636Y2 (en)
JPH0711850B2 (en) Magnetic recording device
JPS6051129B2 (en) Record information reading processing method
JPH06103510A (en) Method for processing data of recording and reproducing device
JPH02121163A (en) Data recording device
JPH02123569A (en) Magnetic tape and data recording system using the same
JPH054693B2 (en)
JPH02185783A (en) Read/write system for cartridge magnetic tape device
JPS63251971A (en) Data recorder
JPS63124124A (en) Method for reading out data from disk device
JPS6316490A (en) Magnetic tape device
JPS61194675A (en) Disk control system
JPS61220102A (en) Magnetic disc device
JPS59101081A (en) Magnetic tape running distance measuring system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees