JPH0323991B2 - - Google Patents

Info

Publication number
JPH0323991B2
JPH0323991B2 JP55163597A JP16359780A JPH0323991B2 JP H0323991 B2 JPH0323991 B2 JP H0323991B2 JP 55163597 A JP55163597 A JP 55163597A JP 16359780 A JP16359780 A JP 16359780A JP H0323991 B2 JPH0323991 B2 JP H0323991B2
Authority
JP
Japan
Prior art keywords
tape
magnetic tape
buffer memory
identifier information
recording
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
JP55163597A
Other languages
Japanese (ja)
Other versions
JPS5788506A (en
Inventor
Hajime Sugiura
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP55163597A priority Critical patent/JPS5788506A/en
Publication of JPS5788506A publication Critical patent/JPS5788506A/en
Publication of JPH0323991B2 publication Critical patent/JPH0323991B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B5/00Recording by magnetisation or demagnetisation of a record carrier; Reproducing by magnetic means; Record carriers therefor
    • G11B5/02Recording, reproducing, or erasing methods; Read, write or erase circuits therefor
    • G11B5/09Digital recording

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Automatic Tape Cassette Changers (AREA)
  • Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 本発明は磁気テープ装置に係り、特に磁気テー
プ(記録媒体)を自動的に保管庫から選出して記
録再生部に装着する自動機構を備えた磁気テープ
装置に適用して好適な磁気テープ装置の改良に係
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a magnetic tape device, and is particularly applicable to a magnetic tape device equipped with an automatic mechanism that automatically selects a magnetic tape (recording medium) from a storage and attaches it to a recording/reproducing section. The present invention relates to an improvement of a magnetic tape device suitable for use in a magnetic tape device.

近年、電子計算機システムは増々大量の情報を
処理している。こうした大量の情報を処理する電
子計算機システムにおいては、単位情報記憶容量
当りの価格が低い磁気テープが記憶媒体として使
用される。そして、処理プログラムからオペレー
タに対して必要な磁気テープの識別番号の通知が
コンソールを介して行われ、それによりオペレー
タは通知された識別番号を有する磁気テープを保
管場所から取り出し、磁気テープ装置に装着(マ
ウント)することが通常行われる。
In recent years, electronic computer systems are processing increasingly large amounts of information. In computer systems that process such large amounts of information, magnetic tape is used as a storage medium because of its low price per unit of information storage capacity. Then, the processing program notifies the operator of the required magnetic tape identification number via the console, and the operator then takes out the magnetic tape with the notified identification number from the storage location and inserts it into the magnetic tape device. (mount).

他方、記憶装置の速度と容量とを同時に向上さ
せる方式として従来から仮想記憶方式が採用され
ている。この方式は、小容量高速記憶装置と大容
量低速記憶装置とを組合せて使用し、大容量低速
記憶装置に対するアクセスを小容量高速記憶装置
を介して行う方式であり、大容量低速記憶装置と
小容量高速記憶装置との間においては比較的大き
な量を単位として情報をやりとりし、中央処理装
置はこのブロツク単位の情報の中から所要の情報
(語)を選択して利用する。従つて同一ブロツク
内の情報を何回も利用(アクセス)する場合に
は、1回だけ比較的長い時間を要する大容量低速
記憶装置からの読出しを行うだけであとは利用
(アクセス)回数分の小容量高速記憶装置に対す
る読出(又は書込)を行うだけで済むから、大容
量低速記憶装置を直接アクセスする場合に比較し
てはるかに短い時間しか、かからないことにな
る。
On the other hand, a virtual storage method has conventionally been adopted as a method for simultaneously improving the speed and capacity of a storage device. This method uses a combination of a small-capacity, high-speed storage device and a large-capacity, low-speed storage device, and accesses the large-capacity, low-speed storage device through the small-capacity, high-speed storage device. Information is exchanged in relatively large units with the high-capacity high-speed storage device, and the central processing unit selects and uses the required information (words) from among the blocks of information. Therefore, when using (accessing) information in the same block many times, it is only necessary to read it from the large-capacity, low-speed storage device, which takes a relatively long time, and then the information is read out for the number of uses (accesses). Since it is only necessary to read from (or write to) a small-capacity, high-speed storage device, it takes much less time than when directly accessing a large-capacity, low-speed storage device.

そこで、近年ではこのような考えを磁気テープ
装置と磁気デイスク装置とに適用した大容量記憶
システムが実用化されてきている。この大容量記
憶システムにおいては磁気テープ装置における磁
気テープのかけ替えを自動的に行うことが可能に
なつている。すなわち、磁気テープは砲弾状のカ
ートリツジに収容されて蜂の巣状の棚に多数格納
されており、これらの棚の各々を往き来してカー
トリツジを取り出したり逆に棚に格納する搬送手
段としてピツカ機構をもうけられている。これら
カートリツジの格納庫およびそれに付属するピツ
カ機構はテープ保管部を構成するものである。こ
のようなテープ保管部をもつ磁気テープ装置は従
来の磁気テープ装置とは異なり、オペレータを介
在させる必要がないので、省力化、高速化、信頼
性の向上に寄与することができるが、反面非常に
高価となる。
Therefore, in recent years, large-capacity storage systems that apply this idea to magnetic tape devices and magnetic disk devices have been put into practical use. In this mass storage system, it has become possible to automatically replace the magnetic tape in the magnetic tape device. That is, magnetic tapes are contained in bullet-shaped cartridges and stored in a large number of honeycomb-shaped shelves, and a picker mechanism is used as a transport means to go back and forth between these shelves to take out the cartridges and store them on the shelves. It's profitable. These cartridge storages and the picker mechanism attached thereto constitute a tape storage section. Unlike conventional magnetic tape devices, magnetic tape devices with such a tape storage section do not require operator intervention, so they can contribute to labor savings, increased speed, and improved reliability. becomes expensive.

従つて、このような高価な装置を広く利用でき
るようにするためには複数の各々独立した計算機
システムが共通に使用し得ることが必要である。
Therefore, in order to make such expensive equipment widely available, it is necessary that a plurality of independent computer systems can be used in common.

第1図はこのような共用システムの一構成例を
示す図であり、図中、HostCPU1は第1の計算
機システム、HostCPU2は第2の計算機システ
ム、MSSは前記大容量記憶システムの中枢をな
す磁気テープ装置である。この磁気テープ装置は
2つの制御装置CN1CN2を有し、かつ各々の制御
装置CN1,CN1は前記第1、第2の計算機システ
ムHostCPU1、HostCPU2に共用可能である。
また、前記テープ保管部としては各制御装置
CN1,CN2に1:1で対応した2組のピツカ機構
と、共通使用されるテープ格納用の棚とを備えた
テープ保管部SHELLが使用されている。更に、
前記制御装置CN1,CN2のいずれからも制御可能
な2台以上のテープドライブD1,D2…が各々独
立なバスにより各制御装置CN1,CN2に接続され
ている。そして、各テープドライブD1,D2,…
には記録再生を連続的に行うことができるよう
に、次に読むべき磁気テープを保管し待機させて
おく待機部がもうけられている。この共用システ
ムは以上の構成を有しているので、第1の計算機
システムHostCPU1がいずれかの制御装置CN1
を介して、1つのテープドライブD1により所望
の磁気テープに対し記録/再生を行つている期間
に、もう一方の計算機システムHostCPU2が空
いている制御装置CN2を介して、他のテープドラ
イブD2により別の磁気テープに対して記録/再
生を行うことができるし、また全部のテープドラ
イブが使用中ならばそれらのうち1つが空き次第
使用開始し得るように所望の磁気テープを所望の
テープドライブにおいて待機させておくこともで
きる。
FIG. 1 is a diagram showing an example of the configuration of such a shared system. In the figure, HostCPU1 is the first computer system, HostCPU2 is the second computer system, and MSS is the magnetic storage system that is the core of the mass storage system. It is a tape device. This magnetic tape device has two control devices CN 1 CN 2 , and each of the control devices CN 1 and CN 1 can be shared by the first and second computer systems HostCPU1 and HostCPU2.
In addition, each control device serves as the tape storage section.
A tape storage section SHELL is used, which is equipped with two sets of picker mechanisms corresponding to CN 1 and CN 2 on a 1:1 basis, and a commonly used shelf for storing tapes. Furthermore,
Two or more tape drives D1 , D2 , . And each tape drive D 1 , D 2 ,...
A standby section is provided in which the magnetic tape to be read next is stored and kept on standby so that recording and playback can be performed continuously. Since this shared system has the above configuration, the first computer system HostCPU1 is connected to one of the control devices CN1
During the period when one tape drive D1 is recording/reproducing on/from a desired magnetic tape, the other computer system HostCPU2 is connected to another tape drive D2 via the vacant control unit CN2 . This allows you to record/play back on another magnetic tape, and if all tape drives are in use, you can start using it as soon as one of them becomes available. It can also be kept on standby.

しかしながら、次のような問題がこの共用シス
テムにおいては残されている。すなわち、磁気テ
ープを記録再生中の1つの計算機システム
HostCPU1が障害などにより停止し、同時に他
の計算機システムHostCPU2が同一のテープド
ライブにより記録再生を行うために待機中である
場合、不当と認められる長時間のテープドライブ
の専有の検出を行ない、前記停止した計算機シス
テムHostCPU1が記録再生をやりかけていた磁
気テープを強制的にテープドライブから取り外し
て待機中の別の磁気テープを装着することが行わ
れるが、この結果、障害を解消し再稼動できた計
算機システムは磁気テープをかけかえられたこと
に対応できず、ややもすると全く別の磁気テープ
に対して記録再生を行うことである。
However, the following problems remain in this shared system. In other words, one computer system is recording and reproducing magnetic tape.
If HostCPU1 is stopped due to a failure, etc., and at the same time another computer system, HostCPU2, is on standby for recording and playback using the same tape drive, the system detects that the tape drive has been occupied for a long period of time, which is considered to be unreasonable, and stops the computer system. The computer system HostCPU1 was forced to remove the magnetic tape it was recording/playing from the tape drive and install another standby magnetic tape, but as a result, the failure was resolved and the system was able to resume operation. Computer systems cannot cope with changing magnetic tapes, and end up recording and reproducing data on completely different magnetic tapes.

本発明はこのような不具合を解消することを目
的としており、この目的は本発明においては、複
数の上位装置に接続された磁気テープ制御部と、
該磁気テープ制御部に接続され、個々の磁気テー
プ媒体を識別するためのテープ識別子情報が記録
された磁気テープ媒体を保管するテープ保管部
と、該テープ保管部より選択的に取り出されセツ
トされたテープ媒体に対して情報を記録再生する
複数のテープドライブとを有する磁気テープ装置
であつて、 前記各テープドライブ部に格納されたテープ識
別子情報を格納するバツフアメモリを備え、 前記磁気テープ制御部に磁気テープ媒体が新た
にテープドライブに格納された時に起動され、磁
気テープ媒体より読み出されたテープ識別子情報
と、前記バツフアメモリに格納されているテープ
識別子情報とを比較照合する第1の照合手段と、
該比較照合の結果不一致の時に前記磁気テープ媒
体より読み出されたテープ識別子情報によつて前
記バツフアメモリへ内容を書替えるバツフアメモ
リ書込み手段とを備えるとともに、 上位装置からの命令によつて与えられる識別子
情報と、前記バツフアメモリより読み出された識
別子情報を比較照合する第2の照合手段と、該比
較照合の結果、一致する場合に記録再生動作を許
可する信号を発し、不一致の時に記録再生動作を
不許可とする異常処理手段とを備えたことを特徴
とする磁気テープ装置によつて達成されるが以下
その一実施例を図面に従つて詳細に説明する。
The purpose of the present invention is to eliminate such problems, and this purpose is to provide a magnetic tape control section connected to a plurality of host devices,
a tape storage unit that is connected to the magnetic tape control unit and stores magnetic tape media on which tape identifier information for identifying individual magnetic tape media is recorded; and a tape storage unit that is selectively taken out and set from the tape storage unit. A magnetic tape device having a plurality of tape drives for recording and reproducing information on and from a tape medium, comprising a buffer memory for storing tape identifier information stored in each of the tape drive units, and a buffer memory for storing tape identifier information stored in each of the tape drive units, and a buffer memory for storing tape identifier information stored in each tape drive unit; a first verification means that is activated when a tape medium is newly stored in the tape drive and compares and verifies the tape identifier information read from the magnetic tape medium and the tape identifier information stored in the buffer memory;
buffer memory writing means for rewriting the contents in the buffer memory with tape identifier information read from the magnetic tape medium when the comparison results in a discrepancy; and identifier information given by a command from a host device. and a second collation means for comparing and collating the identifier information read from the buffer memory, and generating a signal to permit recording and reproducing operation when a match is found as a result of the comparison and collating, and disabling the recording and reproducing operation when there is a discrepancy. The present invention is achieved by a magnetic tape device characterized in that it is equipped with an abnormality processing means for processing permission, and one embodiment thereof will be described in detail below with reference to the drawings.

第2図は本発明に係る磁気テープ装置の一部を
示す図である。図中、CN1は制御装置、Dxはテ
ープドライブである。制御装置CN1は4個のチヤ
ネル装置CH1〜CH4と接続可能であり、そのため
に4個のチヤネルインタフエス制御部CIF1
CIF4を備えると共にこれらのチヤネルインタフ
エース制御部CIF1〜CIF4のうちの一個を選択す
るためのチヤネルクロスコール制御部CCCを備
えている。また、この制御装置CN1はテープドラ
イブとの接続を行うためのデバイスインタフエー
ス制御部、DIF、該デバイスインタフエース制御
部DIFと択一されたチヤネルインターフエース制
御部CIFとを介してチヤネル装置テープドライブ
間のデータ転送を制御するデータ、転送制御部
XMIT、制御装置CN1の全動作を制御統割するマ
イクロプログラム制御部μpuを具備している。
FIG. 2 is a diagram showing a part of the magnetic tape device according to the present invention. In the figure, CN 1 is a control device and Dx is a tape drive. The control device CN 1 can be connected to four channel devices CH 1 to CH 4 and for this purpose four channel interface control units CIF 1 to
CIF 4 and a channel cross call control unit CCC for selecting one of these channel interface control units CIF 1 to CIF 4 . The control device CN 1 also connects a device interface control section DIF to a tape drive, and a channel interface control section CIF selected from the device interface control section DIF to connect the channel device tape to the device interface control section DIF. Data and transfer control unit that controls data transfer between drives
It is equipped with a microprogram control unit μpu that controls and coordinates all operations of XMIT and control device CN 1 .

他方、テープドライブDxは2台の制御装置
CN1CN2に接続するために2個のインタフエース
制御部IF1,IF2を有すると共に、これら2個のイ
ンタフエース制御部IF1,IF2の一方を選択するデ
バイスクロスコール制御部DCCを有し、また該
デバイスクロスコール制御部DCCを介して1個
のインタフエース制御部に対し記録再生情報を送
受し、磁気テープに対しての信号の変復調を行う
変復調回路MDMと、該変復調回路MDMに再生
信号を送ると共に該変復調回路MDMからの記録
信号により磁気テープに対して記録/再生を行う
電磁変換器と該電磁変換器および磁気テープの機
械的動作を前記選択されたインタフエース制御部
からの制御信号に基づいて行うテープドライブ機
構MECHとを備えている。更に、テープドライ
ブDxはバツフアメモリBUFFを有しており、こ
のバツフアメモリBUFFと前記制御装置CN1内に
おけるマイクロプログラム制御部μpuとにより、
本発明に基づく構成を成しているが、次にマイク
ロプログラム制御部の概念的構成を第3図に従つ
て説明する。
On the other hand, the tape drive Dx has two control devices.
It has two interface control units IF 1 and IF 2 for connection to CN 1 CN 2 , and a device cross call control unit DCC for selecting one of these two interface control units IF 1 and IF 2 . a modulation/demodulation circuit MDM which transmits/receives recording/reproduction information to one interface control unit via the device cross call control unit DCC and modulates/demodulates signals on the magnetic tape; and the modulation/demodulation circuit MDM. An electromagnetic transducer that sends a playback signal to the magnetic tape and performs recording/playback on the magnetic tape using a recording signal from the modulation/demodulation circuit MDM, and controls the mechanical operation of the electromagnetic transducer and the magnetic tape from the selected interface control unit. It is equipped with a tape drive mechanism MECH that operates based on control signals. Furthermore, the tape drive Dx has a buffer memory BUFF, and by this buffer memory BUFF and the microprogram control unit μpu in the control device CN 1 ,
Although the configuration is based on the present invention, the conceptual configuration of the microprogram control section will be explained next with reference to FIG.

第3図において、CCCはチヤネルクロスコー
ル制御部、DIFはデバイスインタフエース制御部
であり、これらを除く部分がマイクロプログラム
制御部μpuの枢要部である。
In FIG. 3, CCC is a channel cross call control section, DIF is a device interface control section, and the parts other than these are the essential parts of the microprogram control section μpu.

MAINは本発明に基づく動作とは直接関連の
ない各種の制御動作を行う常用制御部で、この常
用制御部MAIN以外が第2図に示すバツフアメ
モリBUFFに関する制御動作を行う部分である。
バツフアメモリBUFFに関する制御動作は主に3
つの部分に分かれており、次にこれらの各々を順
次説明する。
MAIN is a regular control unit that performs various control operations that are not directly related to the operations according to the present invention, and the regular control unit other than MAIN is a portion that performs control operations regarding the buffer memory BUFF shown in FIG.
The control operations related to buffer memory BUFF are mainly 3.
It is divided into two parts, each of which will be explained in turn.

(i) バツフアメモリBUFFの書替(磁気テープ装
着時に行なわれる。)第3図に示すロード割込
検出部LOADは現在制御中のテープドライブ
Dxおいて磁気テープの装着を完了した旨の割
込が発生すると、これを検出し計算機システム
にチヤネルクロスコール制御部CCCを介して
その旨を報告するためにロード割込報告部
TELLを起動する。また、このときロード割込
検出部LOADは書替制御フリツプ・フロツプ
EXCHをセツトすることにより、制御動作を
常用制御部MAINから切離す。なお、この動
作はマイクロプログラムにより実現される場合
においてはメインルーチンからサブルーチンへ
の移行と等価であることは言うまでもない。書
替制御フリツプ・フロツプEXCHはその出力
SUBIを以後に常用制御部MAINに制御継続す
る時点までの動作に関連する各部に伝達してい
る。第1には、この出力SUBIによりバツフア
メモリリード部READBが起動され、これによ
りデバイスインタフエース制御部DIFを介しテ
ープドライブDxにおけるバツフアメモリ
BUFFの内容CURRENTが獲得される。第2
には、この出力SUBIによりテープ識別子リー
ド部READTが起動され、これによりデバイス
インタフエース制御部DIFを介しテープドライ
ブDxに装着完了した磁気テープからその識別
子NEWが読出される。第3にはこれらバツフ
アメモリリード部READBとテープ識別子リー
ド部READTとから夫々得られる情報
CURRENT、NEWが比較例CMPに与えられ、
比較を行う。この比較の結果両者の一致を示す
出力OKIが得られる場合には、直ちにオアゲー
ト部CRIを介して書替制御フリツプ・フロツプ
EXCHかリセツトされるので、制御動作の担
手は常用制御部MAINに移行する。さもなけ
れば、前記比較部CMPからの出力OKIは両者
の不一致を示すことにより、この出力OKIを反
転ゲート部INにより反転させることにより、
アクテイブな出力“1”が得られる。そして、
この出力“1”と書替制御フリツプ・フロツプ
EXCHの出力とが双方ともアクテイブである
であることをアンドゲート部ANDが検出し、
バツフアメモリライト部WRITEBを起動する。
この結果、デバイスインタフエス制御部DIFを
介してテープ識別子リード部READTからの情
報(識別子)がテープドライブDxのバツフア
メモリBUFFに格納され、しかる後書替終了出
力ENDIによりオアゲート部OKIを介し書替制
御フリツプフロツプEXCHがリセツトされ、
常用制御部MAINの制御動作に移行する。
(i) Rewriting the buffer memory BUFF (performed when the magnetic tape is installed).The load interrupt detection unit LOAD shown in Figure 3 indicates the current control of the tape drive.
When an interrupt indicating that magnetic tape loading is completed occurs in the Dx, the load interrupt reporting unit detects this and reports this to the computer system via the channel cross call control unit CCC.
Start TELL. Also, at this time, the load interrupt detection unit LOAD is connected to the rewrite control flip-flop.
By setting EXCH, the control operation is separated from the regular control section MAIN. It goes without saying that when this operation is realized by a microprogram, it is equivalent to transitioning from a main routine to a subroutine. The rewriting control flip-flop EXCH outputs
The SUBI is subsequently transmitted to the regular control unit MAIN to each unit related to the operation up to the point where control is continued. First, this output SUBI activates the buffer memory read section READB, which causes the buffer memory read section READB in the tape drive Dx to be activated via the device interface control section DIF.
The content of BUFF, CURRENT, is obtained. Second
Then, the output SUBI activates the tape identifier read unit READT, and the identifier NEW is thereby read from the magnetic tape that has been completely installed in the tape drive Dx via the device interface control unit DIF. Third, the information obtained from these buffer memory read section READB and tape identifier read section READT.
CURRENT, NEW is given to the comparative example CMP,
Make a comparison. As a result of this comparison, if an output OKI indicating a match is obtained, the rewrite control flip-flop is immediately transferred via the OR gate CRI.
Since EXCH is reset, control operations are transferred to the regular control unit MAIN. Otherwise, the output OKI from the comparator CMP indicates a mismatch between the two, and by inverting this output OKI by the inverting gate IN,
An active output "1" is obtained. and,
This output “1” and the rewriting control flip-flop
The AND gate section AND detects that both EXCH outputs are active,
Start the buffer memory write section WRITEB.
As a result, the information (identifier) from the tape identifier read unit READT is stored in the buffer memory BUFF of the tape drive Dx via the device interface control unit DIF, and then the rewrite control is performed via the OR gate OKI by the rewrite end output ENDI. Flipflop EXCH is reset,
Shift to the control operation of the regular control unit MAIN.

(ii) バツフアメモリBUFFのリセツト(磁気テー
プ取外し時に行なわれる。)常用制御部MAIN
が計算機システムからのコマンドにより、また
は特定のテープドライブの不等な長時間の専有
のために他の計算機システムが待機させられて
いることを検出することにより、テープドライ
ブDxに対して磁気テープ制御部の取外しを行
わせる。この取外し動作の終予がテープドライ
ブDxから割込により通知されるとき、アンロ
ード割込検出部UNLOADはこれを検出し、バ
ツフアメモリセツト部WRITEB′を起動させ
る。この結果、バツフアメモリセツト部
WRITEB′はデバイスインタフエース制御部
DIFを介しテープドライブDxのバツフアメモ
リBUFFをリセツトするが、例えばこのリセツ
トはバツフアメモリBUFFの内容に特別の内容
を書込むことにより行われ、バツフアメモリ
BUFFの内容は如何なる磁気テープの識別子で
もないことを示すようになる。その後は、常用
制御部MAINの制御動作となる。
(ii) Resetting the buffer memory BUFF (performed when removing the magnetic tape) Regular control unit MAIN
performs magnetic tape control over the tape drive Dx by a command from the computer system or by detecting that another computer system is on standby due to exclusive use of a particular tape drive for an unequal amount of time. remove the parts. When the tape drive Dx notifies the end of this unloading operation by an interrupt, the unload interrupt detection unit UNLOAD detects this and activates the buffer memory set unit WRITEB'. As a result, the buffer memory reset section
WRITEB′ is the device interface control section
The buffer memory BUFF of the tape drive Dx is reset via DIF. For example, this reset is performed by writing special contents to the buffer memory BUFF, and the buffer memory BUFF is reset.
The contents of BUFF now indicate that it is not an identifier for any magnetic tape. After that, the control operation is performed by the regular control unit MAIN.

(iii) 識別子の照合(照合指示命令受領時に行われ
る。)本発明においては、磁気テープの識別子
について、計算機システムが予期しているもの
と、実際のテープドライブに装着されている磁
気テープのものとを比較照合することができる
が、この動作は計算機システムからの要求に応
じて行われる。すなわち、この要求を持つ計算
機システム、例えば障害復旧後に再稼動しよう
としている計算機システムは、一連の記録再生
用コマンドよりなるコマンドチエーンに対し、
その先頭部分に照合指令を付加することができ
る。そして、この照合指示命令には、計算機シ
ステムが予期している磁気テープの識別子が参
照情報として付随される。一方、この照合指示
命令およびその参照用識別子を受取つた制御装
置CN1においては、ベリフアイ命令検出部
VFYCMDがこの命令を検出し、照合制御フリ
ツプ・フロツプVFYをセツトし、上述(i)の場
合と同様に常用制御部MAINから制御動作を
切離すことが行われる。また、書替制御フリツ
プ・フロツプVFYの出力SUBは、該照合制
御フリツプフロツプVFYがセツトされている
期間中に動作する各部に伝達されている。第1
には、この出力SUBにより、バツフアメモ
リリード部READB′が起動され、デバイスイ
ンタフエース制御部DIFを介しテープドライブ
DxにおけるバツフアメモリBUFFの内容
CURRENTが獲得される。第2には、前記照
合指示命令と一緒に与えられた参照用識別子
Refを記憶している参照識別子記憶部REGの内
容と、バツフアメモリリード部READB′によ
り獲得されたバツフアメモリの内容とが比較部
CMP′において行なわれる。この比較の結
果、両者が一致する場合は、比較部の出力OK
は“1”となり、オアゲート部ORを経て
照合制御フリツプフロツプをリセツトする。す
なわち、計算機システムの予期していた通りの
磁気テープがテープドライブに装着されている
ので、この照合指示命令に続く一連の命令を許
可することができ、従つてこれらの一連の命令
を実行する常用制御部MAINに制御動作が引
き継がれる。これに対して、比較部CMP′で
の比較結果によつて、両者Ref、CURRENT
が不一致であることが判別されると、比較部
CMP′の出力OKは“0”となり、反転ゲー
トIN′を経た出力が“1”となるので、該反転
ゲートIN′の出力“1”を受けた異常処理部
ERRORが起動される。異常処理部ERRORが
起動されると、バツフアメモリリード部
READB′からの内容CURRENTが計算機シス
テムに対する報告ステータス中に編集されると
共に、照合指示命令に続く一連の命令を無効に
される。そして、照合一致がとれなかつた旨の
情報を計算機システムに送出する。この結果、
照合制御が終了し、終了出力ENDによりオ
アゲート部ORを介し照合制御フリツプ・フ
ロツクVFYをリセツトすると、次に計算機シ
ステムから与えられるステータス検査命令によ
り、常用制御部MAINは前記編集されたステ
ータスを計算機システムに転送する。
(iii) Identifier verification (performed when a verification instruction command is received) In the present invention, the magnetic tape identifier is the one expected by the computer system and the one of the magnetic tape actually installed in the tape drive. This operation is performed in response to a request from the computer system. In other words, a computer system that has this requirement, for example, a computer system that is about to restart operation after recovery from a failure, will respond to a command chain consisting of a series of recording and playback commands.
A collation command can be added to the beginning part. The verification instruction command is accompanied by the magnetic tape identifier expected by the computer system as reference information. On the other hand, in the control device CN 1 that received this verification instruction command and its reference identifier, the verification command detection unit
VFYCMD detects this command, sets the verification control flip-flop VFY, and separates the control operation from the regular control unit MAIN in the same manner as in the case (i) above. Further, the output SUB of the rewriting control flip-flop VFY is transmitted to each section operating during the period when the collation control flip-flop VFY is set. 1st
In this case, this output SUB activates the buffer memory read section READB', and the tape drive is read via the device interface control section DIF.
Contents of buffer memory BUFF in Dx
CURRENT is acquired. Second, the reference identifier given together with the verification instruction command.
The comparison unit compares the contents of the reference identifier storage unit REG that stores Ref with the contents of the buffer memory acquired by the buffer memory read unit READB′.
This is done in CMP′. As a result of this comparison, if the two match, the output of the comparison section is OK.
becomes "1" and resets the verification control flip-flop via the OR gate section OR. In other words, since the magnetic tape is installed in the tape drive as expected by the computer system, it is possible to permit a series of instructions following this collation instruction instruction, and therefore, a regular user who executes these series of instructions can The control operation is taken over by the control unit MAIN. On the other hand, depending on the comparison result in the comparison section CMP', both Ref and CURRENT
If it is determined that there is a mismatch, the comparison section
Since the output OK of CMP' becomes "0" and the output after passing through the inversion gate IN' becomes "1", the abnormality processing section receives the output "1" of the inversion gate IN'.
ERROR is triggered. When the error processing unit ERROR is activated, the buffer memory read unit
The content CURRENT from READB' is edited during the reporting status to the computer system, and the series of commands following the verification instruction command are invalidated. Then, information indicating that a match cannot be found is sent to the computer system. As a result,
When the verification control is completed and the end output END resets the verification control flip-flop VFY via the OR gate section OR, the regular control section MAIN transmits the edited status to the computer system in response to a status check command given from the computer system. Transfer to.

以上実施例に従つて説明したように、本発明に
おいては、計算機システムが障害などから復旧し
て再稼働する場合に、照合命令を行うことにより
バツフアメモリに記憶されている内容すなわちテ
ープドライブに装着されている磁気テープの識別
子と計算機システムが予期している磁気テープの
識別子との照合一致を確認できるので、不要な磁
気テープ上の情報の破壊を未然に防止することが
できる。しかし、磁気テープを巻し戻して読直す
ような機械的動作を伴なわず、バツフアメモリか
ら直ちに読出して照合を行うので、時間的なロス
が殆どなくスムーズに制御を行うことができる。
As explained above in accordance with the embodiments, in the present invention, when a computer system recovers from a failure and restarts operation, the contents stored in the buffer memory, that is, the contents loaded in the tape drive, can be retrieved by executing a verification command. Since it is possible to check whether the magnetic tape identifier in use matches the magnetic tape identifier expected by the computer system, destruction of unnecessary information on the magnetic tape can be prevented. However, since the magnetic tape is immediately read out from the buffer memory and checked without any mechanical action such as rewinding and rereading the magnetic tape, smooth control can be performed with almost no time loss.

なお、前記実施例においては、マイクロプログ
ラム制御部μpuの内容を回路により示したが、こ
れと等価なものをマイクロプログラムそのものに
より構成し得ることは言うまでもない。また、計
算機システムは3以上が磁気テープ装置を共用す
る場合にも本発明を適用して、同等の効果を得る
ことができる。また、磁気テープの装着をオペレ
ータが介在して行う磁気テープ装置においても、
操作ミスを防止するために同様に本発明を適用し
得る。
In the embodiments described above, the contents of the microprogram control unit μpu have been shown by a circuit, but it goes without saying that something equivalent to this can be constructed by the microprogram itself. Furthermore, the present invention can be applied to a case where three or more computer systems share a magnetic tape device, and the same effect can be obtained. Also, in magnetic tape devices where the operator intervenes to load the magnetic tape,
The present invention can be similarly applied to prevent operational errors.

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

第1図は従来の大容量記憶システムの共用形態
を示す図、第2図は本発明を適用した磁気テープ
装置の一構成を示す図、第3図は第2図に示すマ
イクロプログラム制御部の概念的構成例を示す図
である。 BUFF……バツフアメモリ、READB……バツ
フアメモリリード部、WRITEB……バツフアメ
モリライト部、REC……参照識別子記憶部、
CMP′……比較部、ERROR……異常処理部。
FIG. 1 is a diagram showing a shared configuration of a conventional large-capacity storage system, FIG. 2 is a diagram showing a configuration of a magnetic tape device to which the present invention is applied, and FIG. FIG. 2 is a diagram showing a conceptual configuration example. BUFF...Buffer memory, READB...Buffer memory read section, WRITEB...Buffer memory write section, REC...Reference identifier storage section,
CMP′...Comparison section, ERROR...Error processing section.

Claims (1)

【特許請求の範囲】 1 複数の上位装置に接続された磁気テープ制御
部と、該磁気テープ制御部に接続され、個々の磁
気テープ媒体を識別するためのテープ識別子情報
が記録された磁気テープ媒体を保管するテープ保
管部と、該テープ保管部より選択的に取り出され
セツトされたテープ媒体に対して情報を記録再生
する複数のテープドライブとを有する磁気テープ
装置であつて、 前記各テープドライブ部に格納されたテープ識
別子情報を格納するバツフアメモリを備え、 前記磁気テープ制御部に磁気テープ媒体が新た
にテープドライブに格納された時に起動され、磁
気テープ媒体より読み出されたテープ識別子情報
と、前記バツフアメモリに格納されているテープ
識別子情報とを比較照合する第1の照合手段と、
該比較照合の結果不一致の時に前記磁気テープ媒
体より読み出されたテープ識別子情報によつて前
記バツフアメモリへ内容を書替えるバツフアメモ
リ書込み手段とを備えるとともに、 上位装置からの命令によつて与えられる識別子
情報と、前記バツフアメモリより読み出された識
別子情報を比較照合する第2の照合手段と、該比
較照合の結果、一致する場合に記録再生動作を許
可する信号を発し、不一致の時に記録再生動作を
不許可とする異常処理手段とを備えたことを特徴
とする磁気テープ装置。
[Scope of Claims] 1. A magnetic tape control unit connected to a plurality of host devices, and a magnetic tape medium connected to the magnetic tape control unit and recording tape identifier information for identifying individual magnetic tape media. A magnetic tape device comprising: a tape storage section for storing tape media; and a plurality of tape drives for recording and reproducing information on tape media selectively taken out and set from the tape storage section, wherein each tape drive section a buffer memory for storing tape identifier information stored in the magnetic tape medium; the buffer memory is activated when a magnetic tape medium is newly stored in the tape drive in the magnetic tape control unit, and the buffer memory stores the tape identifier information read from the magnetic tape medium; a first collation means for comparing and collating the tape identifier information stored in the buffer memory;
buffer memory writing means for rewriting the contents in the buffer memory with tape identifier information read from the magnetic tape medium when the comparison results in a discrepancy; and identifier information given by a command from a host device. and a second collation means for comparing and collating the identifier information read from the buffer memory, and generating a signal to permit recording and reproducing operation when a match is found as a result of the comparison and collating, and disabling the recording and reproducing operation when there is a discrepancy. What is claimed is: 1. A magnetic tape device comprising: abnormality processing means for determining permission.
JP55163597A 1980-11-20 1980-11-20 Magnetic tape device Granted JPS5788506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55163597A JPS5788506A (en) 1980-11-20 1980-11-20 Magnetic tape device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55163597A JPS5788506A (en) 1980-11-20 1980-11-20 Magnetic tape device

Publications (2)

Publication Number Publication Date
JPS5788506A JPS5788506A (en) 1982-06-02
JPH0323991B2 true JPH0323991B2 (en) 1991-04-02

Family

ID=15776939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55163597A Granted JPS5788506A (en) 1980-11-20 1980-11-20 Magnetic tape device

Country Status (1)

Country Link
JP (1) JPS5788506A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5470740A (en) * 1977-11-17 1979-06-06 Fujitsu Ltd Recording device/medium identification display system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5470740A (en) * 1977-11-17 1979-06-06 Fujitsu Ltd Recording device/medium identification display system

Also Published As

Publication number Publication date
JPS5788506A (en) 1982-06-02

Similar Documents

Publication Publication Date Title
US5537552A (en) Apparatus for selectively comparing pointers to detect full or empty status of a circular buffer area in an input/output (I/O) buffer
JP3714046B2 (en) Virtual tape storage
JPH05307443A (en) Data management method for magnetic tape and magnetic tape storage device
US20020138694A1 (en) Magnetic disc drive, method for recording data, and method for reproducing data
JPH0786811B2 (en) Array disk drive drive position confirmation method
JPH04325923A (en) Access control system for optical disk device
US5161072A (en) Information recording/reproducing apparatus for recording information and verifying recorded information
US20020087783A1 (en) Low cost, high performance tape drive
EP0437202B1 (en) Information recording/reproducing apparatus for recording information and verifying recorded information
JP2002074903A (en) Magnetic recording and reproducing device and magnetic recording and reproducing method
JPH0323991B2 (en)
US8730771B2 (en) Recording/reproducing device
JP2576523B2 (en) External storage device
JP2623238B2 (en) Information playback method
JP2002042303A (en) Magnetic disk device and error-processing method of magnetic disk device
JPH11242802A (en) System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program
US6920011B2 (en) Recording device having disk-shaped recording medium and servo information processing method
JPH0935417A (en) Method and device for backing up temporary storage information for information memory
JPH0254584B2 (en)
JPH04326420A (en) Magnetic tape storage and its control system
JPS592161A (en) Overrun retrying system
JPS6148172A (en) Information write control system
JPH04341977A (en) Data reproducing control system
JPS58141409A (en) Data high-speed processing system for magnetic disc device
JPH10255359A (en) Accessor control device