JPH07175601A - Library device and control method for the same - Google Patents

Library device and control method for the same

Info

Publication number
JPH07175601A
JPH07175601A JP32190293A JP32190293A JPH07175601A JP H07175601 A JPH07175601 A JP H07175601A JP 32190293 A JP32190293 A JP 32190293A JP 32190293 A JP32190293 A JP 32190293A JP H07175601 A JPH07175601 A JP H07175601A
Authority
JP
Japan
Prior art keywords
command
recording
unload
pseudo
medium
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
JP32190293A
Other languages
Japanese (ja)
Other versions
JP2824013B2 (en
Inventor
Hidehiko Tanaka
英彦 田中
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 JP32190293A priority Critical patent/JP2824013B2/en
Priority to US08/351,601 priority patent/US5654839A/en
Publication of JPH07175601A publication Critical patent/JPH07175601A/en
Priority to US08/814,384 priority patent/US5986835A/en
Application granted granted Critical
Publication of JP2824013B2 publication Critical patent/JP2824013B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Automatic Disk Changers (AREA)

Abstract

PURPOSE:To shorten demount processing time by issuing a move command by raising a pseudo unload completion report corresponding to an unload command from a host device. CONSTITUTION:Concerning mount processing, a storage medium is conveyed from a medium preserving box 10 or an inserting/ejecting device 15 to a recording and reproducing device 34 by a medium conveying device 25 based on a first move instruction received from a host device 20 to an input/output controller 26 and corresponding to the next load instruction, the medium is loaded to the recording and reproducing device 34 and read or written. Concerning the demount processing, after the read or write operation is finished, the storage medium is ejected from the recording and reproducing device 34 based on the unload instruction and conveyed to the medium preserving box 10 or the inserting/ejecting device 15 by the medium conveying device 25 based on the second move instruction. In this case, the end report of the pseudo unload operation is raised to the host vice 20 from the start of the medium ejecting operation to the end of the unload operation, and a first pseudo status reporting means 216 is provided to issue the second move instruction from the host device.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、磁気テープカートリッ
ジ等の着脱自在な記憶媒体に使用したライブラリ装置に
関し、特に、搬送ロボット機構によりセルに収納してい
る媒体を選択して記録装置に運んでリード、ライトを行
うライブラリ装置に関する。近年のコンピュータシステ
ムでは、外部記憶装置である磁気テープや光ディスクな
どの媒体数の増加に伴い、運用の効率化、保守性の向
上、更には信頼性の向上等が要求されている。このため
媒体の保管と記録再生装置への運搬をロボット機構を用
いて自動的に行なうライブラリ装置が提供されている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a library device used as a removable storage medium such as a magnetic tape cartridge, and more particularly to a medium stored in a cell selected by a transport robot mechanism and transported to a recording device. The present invention relates to a library device for reading and writing. 2. Description of the Related Art In recent computer systems, as the number of external storage devices such as magnetic tapes and optical discs has increased, there has been a demand for more efficient operation, improved maintainability, and improved reliability. For this reason, there is provided a library device which automatically stores a medium and transports it to a recording / reproducing device by using a robot mechanism.

【0002】ライブラリ装置にあっては、ジョブの稼動
数やホストコンピュータの接続数が増加すると、単位時
間当りのアクセス要求が増加してくる。図20は従来の
ライブラリ装置の概略を示す。ライブラリ装置400は
上位のホストコンピュータ20−1〜20−4の情報保
管庫として使用され、入出力制御部としての2台のディ
レクタ402を備える。ディレクタ402は例えばA〜
D、E〜Fの4チャネルをもち、この場合は、チャネル
A,BとチャネルE,Fを使用している。
In the library apparatus, the access request per unit time increases as the number of operating jobs and the number of host computer connections increase. FIG. 20 shows an outline of a conventional library device. The library device 400 is used as an information storage for the host computers 20-1 to 20-4, and has two directors 402 as input / output control units. The director 402 is, for example, A ~
It has four channels D and E to F, and in this case, channels A and B and channels E and F are used.

【0003】ライブラリ装置400の内部には、磁気テ
ープカートリッジ等の媒体を収納する媒体保管庫として
のセルブロック410が設けられ、セルブロック410
に沿ったレール414上を走行する媒体運搬ロボット機
構として2台のアクセッサ408が設けられる。アクセ
ッサ408はマシン・コントローラ406により制御さ
れる。マシン・コントローラ406の上位には、アクセ
ッサ・コントローラ404が設けられる。
Inside the library device 400, a cell block 410 is provided as a medium storage for accommodating a medium such as a magnetic tape cartridge.
Two accessors 408 are provided as a medium carrying robot mechanism that travels on a rail 414 along the track. The accessor 408 is controlled by the machine controller 406. An accessor controller 404 is provided above the machine controller 406.

【0004】通常は、一方のアクセッサ408が動作し
て運搬制御を実行しており、他方のアクセッサ408は
動作していない。これは1本のレール414上を2台の
アクセッサ408が動作するため、同時に動作できず、
排他制御法により別々に動作するように、1つの制御部
で一元的に管理を行うためである。
Normally, one of the accessors 408 is operating to execute the transportation control, and the other accessor 408 is not operating. This is because two accessors 408 operate on one rail 414, so they cannot operate at the same time.
This is because one control unit performs centralized management so that they operate separately by the exclusive control method.

【0005】またディレクタ402に対しては複数の磁
気テープ装置(MTU;Magnetic Tape Unit)が接続さ
れ、アクセッサ408で運搬した媒体をロードしてリー
ド動作又はライト動作を行い、終了後に再びアクセッサ
408でセルブロック410に戻す。このようなライブ
ラリ装置においては、磁気テープ装置416への磁気テ
ープカセットの装着(マウント)及び取り外し(デマウ
ント)をいかに早く処理できるかが、重要な要素になっ
ている。
A plurality of magnetic tape units (MTUs) are connected to the director 402, the medium carried by the accessor 408 is loaded to perform a read operation or a write operation, and after the completion, the accessor 408 again. Return to cell block 410. In such a library device, how quickly the mounting (mounting) and the removal (demounting) of the magnetic tape cassette to the magnetic tape device 416 can be processed quickly is an important factor.

【0006】すなわちリード処理又はライト処理の開始
に際しセルブロック410から指定された磁気テープカ
セットをできるだけ早く運搬すること、及びリード又は
ライト終了後に排出した磁気テープカットリッジをでき
るだけ早く元のセルに戻すことがライブラリ装置の性能
を高めるために必要となる。従来のライブラリ装置にお
ける媒体のマウント及びデマウント処理は次のようにな
る。
That is, at the start of the read process or the write process, the designated magnetic tape cassette is transported from the cell block 410 as soon as possible, and the magnetic tape cartridge discharged after the read or write is completed is returned to the original cell as soon as possible. Are required to improve the performance of the library device. The mount and demount processing of the medium in the conventional library device is as follows.

【0007】まずマウント処理は、ホストコンピュータ
に設けられたライブラリサポート・プログラムであるホ
ストOSが、セルブロック410のセルアドレスを移動
元アドセレス)(From Address) 、使用する磁気テープ
装置416の論理機番を移動先アドレス(To Address)
とするコマンドデータをもつムーブコマンドを発行す
る。
First, in the mounting process, the host OS, which is a library support program provided in the host computer, sets the cell address of the cell block 410 to the source address (From Address) and the logical unit number of the magnetic tape device 416 to be used. Move to address (To Address)
Issue a move command with command data

【0008】このムーブコマンドを受けたディレクタ4
02は、アクセッサコントローラ404に動作を指示
し、アクセッサ408によりセルブロック410から磁
気テープカセットを取り出し、指定された磁気テープ装
置416に運搬して挿入口に入れる。運搬終了でデバイ
スエンドが得られると、ホストOSはロード命令を発行
して運搬された磁気テープカセットを磁気テープ装置4
16にローディングさせる。ローデング完了のデバイス
エンドが得られると、ホストOSはリードコマント又は
ライトコマンドを発行し、リード動作又はライト動作を
行なう。
The director 4 who has received this move command
02 instructs the accessor controller 404 to operate, takes out the magnetic tape cassette from the cell block 410 by the accessor 408, transports it to the designated magnetic tape device 416, and inserts it in the insertion slot. When the device end is obtained at the end of transportation, the host OS issues a load command to transfer the transported magnetic tape cassette to the magnetic tape device 4
Load 16 When the device end for which loading is completed is obtained, the host OS issues a read command or a write command to perform a read operation or a write operation.

【0009】リード動作又はライト動作が完了すると、
ホストOSはデマウント処理を行う。デマウント処理
は、まずアンロードコマンドを発行し、リード又はライ
ト動作の済んだ磁気テープ装置416から磁気テープカ
セットを排出させるアンロード動作を行わせる。アンロ
ードコマンドがデバイスエンドにより終了すると、ホス
トOSは磁気カセットテープをセルブロックに戻すため
のムーブコマンドを発行する。すなちわアンロード動作
が済んだ磁気テープ装置の機番を移動元アドレス、元の
セルブロックの位置を移動先アドレスとしたコマンドデ
ータをもつムーブコマンドを発行する。
When the read operation or the write operation is completed,
The host OS performs demount processing. In the demount process, first, an unload command is issued, and an unload operation for ejecting the magnetic tape cassette from the magnetic tape device 416 that has completed the read or write operation is performed. When the unload command ends at the device end, the host OS issues a move command for returning the magnetic cassette tape to the cell block. That is, a move command having command data in which the machine number of the magnetic tape device that has completed the unloading operation is the source address and the position of the original cell block is the destination address is issued.

【0010】アクセッサ408が空き状態になると、デ
ィレクタ402からのコマンドデータに基づくアクセッ
サコントローラ404の制御で、アクセッサ408は排
出された磁気テープカートリッジをセルブロック410
のに元の位置に戻す。これで一連の処理が終了する。図
21は従来のライブラリ装置におけるデマウント処理の
詳細を示したタイムチャートである。図20は、上横方
向にホストOS、ディレクタ402、磁気テープ装置4
16、アクセッサ408を示し、縦方向が時間軸とな
り、各ユニット間の命令、指示、応答の様子を示してい
る。
When the accessor 408 becomes empty, the accessor controller 404 controls the ejected magnetic tape cartridge based on the command data from the director 402 so that the ejected magnetic tape cartridge is blocked.
Return it to its original position. This completes a series of processes. FIG. 21 is a time chart showing details of the demount process in the conventional library apparatus. In FIG. 20, the host OS, the director 402, and the magnetic tape device 4 are arranged in the horizontal direction.
16, the accessor 408 is shown, and the vertical direction is the time axis, and the states of commands, instructions, and responses between the units are shown.

【0011】図20において、まずホストコンピュータ
(ホストOS)20は磁気テープ装置の論理機番を指定
してアンロードコマンドをディレクタ402に発行す
る。ディレクタ402はアンロードコマンドを正常に受
領すると「00」の初期ステータス602を返しチャネ
ルエンドとする。またディレクタ402はアンロードコ
マンド600に基づき指定された論理機番の磁気テープ
装置416に対しアンロード指示604を行う。
In FIG. 20, first, the host computer (host OS) 20 specifies the logical unit number of the magnetic tape device and issues an unload command to the director 402. When the director 402 normally receives the unload command, the director 402 returns an initial status 602 of "00" and sets it as a channel end. Further, the director 402 issues an unload instruction 604 to the magnetic tape device 416 of the logical machine number designated based on the unload command 600.

【0012】アンロード指示604を受けた磁気テープ
装置416は、まず磁気テープのカセット巻き戻しを行
ない、巻戻し完了後にイジェクト動作を行ってアンロー
ド完了614をディレクタ402に報告する。このアン
ロード開始から終了までの動作時間は、10〜60秒程
度かかる。一方、ディレクタ412が磁気テープ装置4
16にアンロード指示604を行った時点で、アンロー
ドコマンド600に対する終了ステータス606として
コントロールエンド、ユニットエンド及びユニットチェ
ックの各ステータスを返し、ホストコンピュータ20は
コマンド発行の正常終了を認識する。
Upon receiving the unload instruction 604, the magnetic tape device 416 first rewinds the cassette of the magnetic tape, performs an eject operation after the rewind is completed, and reports the unload completion 614 to the director 402. The operation time from the start to the end of the unloading is about 10 to 60 seconds. On the other hand, the director 412 is the magnetic tape device 4
When the unload instruction 604 is issued to the control unit 16, the control end, unit end, and unit check statuses are returned as the end status 606 for the unload command 600, and the host computer 20 recognizes the normal end of command issuance.

【0013】続いてホストコンピュータ20は、センス
処理をアンロード動作中に行う。まずセンスコマンド6
08を発行し、これに対しコマンド受領に基づくチャネ
ルエンドとしての初期ステータスと所定バイト数のセン
スデータがディレクタ402から返される。次にデバイ
スエンドの最終ステータス612が返され、ライブラリ
装置の状態を認識する。このセンス処理は一定のタイマ
周期で行われる。
Subsequently, the host computer 20 performs a sense process during the unload operation. First, sense command 6
08 is issued, and in response thereto, the initial status as the channel end based on the command reception and the sense data of a predetermined number of bytes are returned from the director 402. Next, the final status 612 of the device end is returned, and the state of the library device is recognized. This sense process is performed at a constant timer cycle.

【0014】磁気テープ装置416のアンロード動作の
終了でアンロード完了614を受けたディレクタ402
は、アクセッサ408に割当てられた論理機番#8をも
つアテンションステータス616をホストコンピュータ
20に報告する。ホストコンピュータ20は、#8のア
テンションステータス616の受領でアンロード動作を
認識し、ムーブコマンド618を発行する。ムーブコマ
ンド618がディレクタ402で正常に受領されると
「00」の初期ステータを返してチャネルエンドとな
り、続いてコマンドデータとして移動元アドレスと移動
先アドレスデータ622を発行する。
The director 402 which has received the unload completion 614 at the end of the unload operation of the magnetic tape device 416.
Reports the attention status 616 having the logical unit number # 8 assigned to the accessor 408 to the host computer 20. Upon receiving the attention status 616 of # 8, the host computer 20 recognizes the unload operation and issues the move command 618. When the move command 618 is normally received by the director 402, the initial status of "00" is returned to become the channel end, and subsequently, the move source address and the move destination address data 622 are issued as command data.

【0015】ディレクタ402は、このときアクセッサ
408が空いていれば、移動元アドレスと移動先アドレ
スに基づくムーブ指示624を行い、アクセッサ408
の運搬動作が開始される。この運搬動作は、セル位置に
もよるが平均で10秒程度を要する。アクセッサ408
から動作完了628がディレクタ402に報告される
と、ホストコンピュータ20に対し最小ステータス63
0を報告し、ムーブコマンドの正常終了を示すデバイス
エンドが得られる。
If the accessor 408 is free at this time, the director 402 gives a move instruction 624 based on the source address and the destination address, and the accessor 408.
The transportation operation of is started. This carrying operation takes about 10 seconds on average, depending on the cell position. Accessor 408
When the operation completion 628 is reported from the director 402 to the director 402, the minimum status 63
A 0 is reported, and the device end indicating the normal end of the move command is obtained.

【0016】[0016]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のライブラリ装置におけるリード又はライト処
理完了後のデマウント処理は、ホストよりアンロード・
コマンドが発行されて動作が完了した時点でホストに対
し特殊なアテンションステータスを報告し、これを契機
にホストOSより元のセルへ媒体を戻すためのムーブコ
マンドが発行され、アンロード動作と運搬動作を順番に
行うシリアライズされた処理となっている。
However, the demount process after the completion of the read or write process in such a conventional library device is unloaded from the host.
When a command is issued and the operation is completed, a special attention status is reported to the host, and the move command is issued by the host OS to return the medium to the original cell when triggered by this, and the unload and transport operations are performed. It is a serialized process of sequentially performing.

【0017】このためアンロード動作が完了して初めて
アクセッサが磁気テープカセットを排出した磁気テープ
装置の位置に向けて動作を開始するようになる。従っ
て、デマウント終了までに少なくともアンロード動作時
間に運搬時間を加えた処理時間を必要とし、処理時間が
余計にかかってしまう問題点があった。この問題がクロ
ーズアップされるようになった背景には、ユーザにおい
てデータベースの蓄積量が膨大になりつつある今日、こ
れらのデータの処理を高速化することが、ライブラリ装
置を使用する上での必須の条件となったこと。更にライ
ブラリ装置の処理性能向上が他の競合装置の出現も伴な
って、ユーザニーズより強く要求されるようになったこ
とである。
Therefore, only after the unload operation is completed, the accessor starts the operation toward the position of the magnetic tape device that ejected the magnetic tape cassette. Therefore, there is a problem that at least the processing time of adding the unloading operation time to the transportation time is required until the end of the demounting, and the processing time is excessive. Behind the background of this problem is the huge amount of database storage for users, and to speed up the processing of these data is essential for using library devices. It became the condition of. Further, the improvement of the processing performance of the library device has been more strongly demanded than the user needs with the advent of other competing devices.

【0018】本発明の目的は、上記問題を解決するため
リード又はライト処理が済んだ媒体のデマウントに要す
る処理時間を可能な限り短縮して処理性能を向上するよ
うにしたライブラリ装置及びその制御方法を提供する。
In order to solve the above problems, an object of the present invention is to provide a library apparatus and a control method thereof for improving the processing performance by shortening the processing time required for demounting a medium that has been read or written. I will provide a.

【0019】[0019]

【課題を解決するための手段】図1は本発明の原理説明
図である。まず本発明のライブラリ装置は、着脱自在な
記憶媒体の読み書きを行う記録再生装置34、記憶媒体
の投入と排出を行う投入排出装置15、複数の記憶媒体
を格納する媒体保管庫10と、記憶媒体を媒体保管庫1
0と記録再生装置34又は媒体保管庫10と投入排出装
置15との間で運搬する媒体運搬装置25を備える。こ
れらの装置は、上位装置20からのコマンドを受けた入
出力制御装置(ディレクタ)26の指示で動作する。
FIG. 1 is a diagram for explaining the principle of the present invention. First, the library device of the present invention includes a recording / reproducing device 34 for reading / writing a removable storage medium, a loading / unloading device 15 for loading / unloading a storage medium, a media storage 10 for storing a plurality of storage media, and a storage medium. Media storage 1
0 and the recording / reproducing device 34 or the medium carrying device 25 for carrying between the medium storage 10 and the loading / unloading device 15. These devices operate according to an instruction from the input / output control device (director) 26 that receives a command from the host device 20.

【0020】入出力制御装置26は、上位装置20から
第1ムーブ命令、ロード命令、リード又はライト命令お
よびアンロード命令、第2ムーブ命令を順次受領して一
連のマウント処理およびデマウント処理を行う。まずマ
ウント処理は、第1ムーブ命令に基づき媒体運搬装置2
5により記憶媒体を媒体保管庫10又は前記投入排出装
置15から記録再生装置34に運搬させ、次にロード命
令で運搬された記憶媒体を記録再生装置34にローディ
ングしてリード又はライト命令に基づいてリード又はラ
イト動作を行わせる。
The input / output control device 26 sequentially receives a first move instruction, a load instruction, a read or write instruction, an unload instruction, and a second move instruction from the host device 20, and performs a series of mount processing and demount processing. First, the mounting process is based on the first move command, and the medium carrying device 2
5, the storage medium is transported from the medium storage 10 or the loading / unloading device 15 to the recording / reproducing device 34, and then the storage medium transported by the load command is loaded into the recording / reproducing device 34, and based on the read or write command. Read or write operation is performed.

【0021】デマウント処理は、リード又はライト動作
の終了後にアンロード命令に基づいて記録再生装置34
から記憶媒体を排出させ、最後に第2ムーブ命令に基づ
いて排出された記憶媒体を媒体運搬装置25により前記
媒体保管庫10又は投入排出装置15に運搬させる。こ
のようなライブラリ装置につき本発明は、入出力制御装
置26に、アンロード命令に基づく記録再生装置34か
ら媒体排出動作の開始からアンロード動作の終了までの
間に、上位装置20に擬似的なアンロード動作の終了報
告を行って第2ムーブコマンドを発行させる第1擬似ス
テータス報告手段216を設けたことを特徴とする。
The demount process is performed by the recording / reproducing device 34 based on the unload command after the end of the read or write operation.
The storage medium is discharged from the storage medium, and finally the storage medium discharged based on the second move command is transported by the medium transporting device 25 to the medium storage 10 or the loading / unloading device 15. With respect to such a library device, the present invention allows the input / output control device 26 to simulate the host device 20 from the start of the medium discharging operation to the end of the unload operation from the recording / reproducing device 34 based on the unload command. A first pseudo status reporting unit 216 for issuing a second move command by reporting the end of the unload operation is provided.

【0022】例えば、第1擬似ステータス報告手段21
6は、アンロード命令に基づき記録再生装置34にアン
ロード動作の指示を行うと同時に、上位装置20に擬似
的なアンロード動作の終了報告を行って第2ムーブコマ
ンドを発行させる。また記録再生装置34に磁気テープ
カートリッジを使用している場合、第1擬似ステータ報
告手段216は、アンロード命令に基づき記録再生装置
34からの磁気テープカートリッジのテープ巻戻しの完
了報告を受領すると同時に、上位装置20に擬似的なア
ンロード動作の終了報告を行って第2ムーブコマンドを
発行させるようにしてもよい。
For example, the first pseudo status reporting means 21
6 issues an unload operation instruction to the recording / reproducing device 34 based on the unload command, and at the same time, issues a pseudo unload operation end report to the upper level device 20 to issue a second move command. When a magnetic tape cartridge is used in the recording / reproducing device 34, the first pseudo-stator reporting means 216 receives the tape rewinding completion report from the recording / reproducing device 34 at the same time as receiving the unload command from the recording / reproducing device 34. Alternatively, the upper level device 20 may be notified of the end of the pseudo unload operation and the second move command may be issued.

【0023】この場合、第1擬似ステータス報告制御手
段216からの擬似的なアンロード終了報告に基づいて
上位装置20からアンロード動作中に第2ムーブ命令が
先行して発行されてくることから、受領した第2ムーブ
命令を保留し、記録再生装置34からアンロード動作の
終了報告を受けた際に、保留中の第2ムーブ命令に基づ
いた運搬動作を媒体運搬装置25に指示する。
In this case, the second move instruction is issued in advance during the unload operation from the higher-level device 20 based on the pseudo unload completion report from the first pseudo status report control means 216. When the received second move command is suspended and the unload operation completion report is received from the recording / reproducing device 34, the medium transport device 25 is instructed to perform the transport operation based on the suspended second move command.

【0024】また本発明の変形として、第1擬似ステー
タス報告手段216に加え、さらに第2擬似ステータス
報告手段と機番変換手段を設ける。第2擬似ステータス
報告手段は、第1擬似ステータス報告手段216による
アンロード動作の擬似的な終了報告に伴って上位装置2
0から第2ムーブコマンドを受領した際に、記録再生装
置34から排出した記憶媒体を元の位置に戻す運搬動作
の擬似的な終了報告を行って上位装置20に新たな入出
力要求に基づく命令を発行させる。
As a modification of the present invention, in addition to the first pseudo status reporting means 216, a second pseudo status reporting means and a machine number conversion means are further provided. The second pseudo status reporting means is in accordance with the pseudo end report of the unload operation by the first pseudo status reporting means 216.
When the second move command is received from 0, a pseudo end report of the transport operation of returning the storage medium ejected from the recording / reproducing device 34 to the original position is issued, and the upper device 20 is commanded based on a new input / output request. To issue.

【0025】機番変換手段は、擬似的な運搬動作の終了
報告に応じて上位装置20から同一の記録再生装置34
を指定する例えば論理機番#0をもつ命令を受領した際
に、この命令で指定された論理機番#0を、空き状態に
ある他の記録再生装置12の例えば論理機番#1に変換
して命令に応じた動作を指示する。ここで、機番変換手
段は、擬似的完了報告を行った機番#0の記録再生装置
12のアンロード動作の完了までに受領した新たな入出
力要求に伴う同じ機番#0の第1ムーブ命令について、
第1ムーブ命令に続く同一機番#0のロード命令、リー
ド又はライト命令、アンロード命令、及び第2ムーブ命
令の各命令について、論理機番#0から#1への変換に
よる動作指示を行う。
The machine number converting means is arranged so that the same recording / reproducing device 34 is operated by the host device 20 in response to the end report of the pseudo transportation operation.
When receiving an instruction having a logical machine number # 0 for specifying, the logical machine number # 0 specified by this instruction is converted to, for example, the logical machine number # 1 of another recording / reproducing apparatus 12 in the empty state. Then, the operation according to the instruction is instructed. Here, the machine number conversion means is the first of the same machine number # 0 that accompanies the new input / output request received until the completion of the unloading operation of the recording / reproducing apparatus 12 of the machine number # 0 that has issued the pseudo completion report. About move instructions,
For each of the load instruction, the read or write instruction, the unload instruction, and the second move instruction of the same machine number # 0 following the first move instruction, the operation instruction is given by the conversion from the logical machine number # 0 to # 1. .

【0026】[0026]

【作用】本発明のライブラリ装置にあっては、記録再生
装置にアンロード動作を指示すると同時に擬似的なアン
ロード動作の終了報告を行い、アンロードと動作中に媒
体を元に戻すための第2ムーブ命令を上位装置から発行
させて運搬動作を開始している。
In the library apparatus of the present invention, the unload operation is instructed to the recording / reproducing apparatus, and at the same time, a pseudo unload operation completion report is issued, and the first unloading operation is performed to restore the medium. A two-move command is issued from the host device to start the transportation operation.

【0027】このため、アンロード動作の完了で媒体が
排出された始点で、既に媒体運搬装置が移動元アドレス
で指定された記録再生装置の位置に移動を完了するか、
近くまで来ている。したがって、アンロード完了で直ち
に媒体がピックアップされて元の位置に運搬され、アン
ロード動作と運搬動作が重複している分の処理時間を短
縮することができる。
Therefore, at the start point where the medium is ejected upon completion of the unload operation, the medium carrying device has already completed the movement to the position of the recording / reproducing device designated by the movement source address, or
It's coming up close. Therefore, the medium is immediately picked up and transported to the original position upon completion of unloading, and the processing time can be shortened by the amount that the unloading operation and the carrying operation overlap.

【0028】またアンロード動作中に擬似的な完了報告
に伴なって発行された第2ムーブコマンドに対しても擬
似的な運搬動作の完了を報告し、新たな入出力要求に伴
なう同一機番の記録再生装置に対する命令を発行させ
る。アンロード中の記録再生装置の論理機番を指定した
新たなムーブ命令が発行された場合、このムーブ命令を
記録再生装置のビジイ応答で終了させずに正常に受領
し、論理機番を空き装置の論理機番に変更して命令動作
を指示することで、上位装置の入出力要求を効率良く処
理することができる。
Also, the completion of the pseudo transport operation is reported to the second move command issued along with the pseudo completion report during the unload operation, and the same with the new I / O request. Issue a command to the recording / playback device of the machine number. When a new move command is issued that specifies the logical unit number of the recording / playback device that is being unloaded, this move command is normally received without ending with a busy response from the recording / playback device, and the logical device number is set to an empty device. By changing to the logical machine number and instructing the instruction operation, the input / output request of the host device can be efficiently processed.

【0029】[0029]

【実施例】【Example】

<目 次> 1.システム構成と機構構造 2.ライブラリ装置のハードウェアと機能 3.本発明の第1実施例 4.本発明の第2実施例 5.本発明の第3実施例 1.システム構成と機構構造 図2は本発明のライブラリ装置の全体構成を透視図で示
す。ライブラリ装置は複数のフレームに分けられてお
り、これらのフレームを組み合わせることで装置を構成
することができる。
<Contents> 1. System configuration and mechanism structure 2. Library device hardware and functions 3. 3. First embodiment of the present invention 2. Second embodiment of the present invention Third embodiment of the present invention 1. System Configuration and Mechanism Structure FIG. 2 is a perspective view showing the overall configuration of the library device of the present invention. The library device is divided into a plurality of frames, and the device can be configured by combining these frames.

【0030】ライブラリ装置には媒体保管庫としてのセ
ルブロック10が設けられる。セルブロック10には磁
気テープ,磁気ディスク,光ディスクなどの記録媒体を
内蔵した媒体カートリッジが多数収納されている。以下
の実施例にあっては、記録媒体として磁気テープカート
リッジを使用した場合を例にとる。
The library device is provided with a cell block 10 as a medium storage. The cell block 10 houses a large number of medium cartridges containing recording media such as magnetic tapes, magnetic disks, and optical disks. In the following embodiments, the case where a magnetic tape cartridge is used as a recording medium will be taken as an example.

【0031】またライブラリ装置にはフレーム内の左右
に亘ってレール14が敷設され、レール14には媒体運
搬ロボットとして動作するアクセッサ12−1,12−
2が移動自在に設けられている。セルブロック10に対
しレール14を挟んだ反対側にはデッキユニット16−
1,16−2およびコントロールユニット18−1,1
8−2が設置される。
Further, rails 14 are laid across the left and right sides of the frame in the library device, and accessors 12-1 and 12- that operate as medium carrying robots are installed on the rails 14.
2 is movably provided. On the opposite side of the cell block 10 with the rail 14 sandwiched, a deck unit 16-
1, 16-2 and control unit 18-1, 1
8-2 is installed.

【0032】デッキユニット16−1,16−2には複
数の磁気テープ装置が設けられ、アクセッサ12−1,
12−2よりセルブロック10から運搬したカートリッ
ジをローディングしてデータの読み書きを行う。更に、
ライブラリ装置のフレーム前面には媒体投入排出口15
が設けられ、カートリッジの出し入れを行う。
A plurality of magnetic tape devices are provided on the deck units 16-1 and 16-2, and accessors 12-1 and
From 12-2, the cartridge carried from the cell block 10 is loaded to read / write data. Furthermore,
A medium input / output port 15 is provided on the front of the frame of the library device.
Is provided for loading and unloading the cartridge.

【0033】図3は図2のアクセッサを取り出して示
す。アクセッサ12−1,12−2は2本のレール14
の上を、走行部40に設けた走行用モータ44の駆動で
走行することができる。走行部40の上には支柱42が
起立され、支柱42に沿って上下に移動可能なリフト部
46を設け、リフト部46にロボットハンド48を搭載
している。ロボットハンド48の詳細は図4および図5
に示される。
FIG. 3 shows the accessor of FIG. 2 taken out. Accessors 12-1 and 12-2 are two rails 14
It is possible to travel on the above by driving a traveling motor 44 provided in the traveling unit 40. A column 42 is erected on the traveling unit 40, a lift unit 46 that can move up and down along the column 42 is provided, and a robot hand 48 is mounted on the lift unit 46. The details of the robot hand 48 are shown in FIGS.
Shown in.

【0034】ロボットハンドを搭載したリフト部46は
ネジシャフト50の回転により支柱42に沿って昇降駆
動される。またリフト部46には旋回プーリ56が設け
られ、旋回用モータ52の回転をワイヤベルト54で伝
えてロボットハンド48を水平回りに回転する。ロボッ
トハンド48の旋回部分には、図5の上蓋を外した状態
で見える固定プレート64を備えた媒体保持部62が設
けられる。
The lift portion 46 carrying the robot hand is moved up and down along the support column 42 by the rotation of the screw shaft 50. Further, the lift portion 46 is provided with a turning pulley 56, and the rotation of the turning motor 52 is transmitted by the wire belt 54 to rotate the robot hand 48 horizontally. At the turning portion of the robot hand 48, a medium holding portion 62 having a fixing plate 64 that is visible with the upper lid of FIG. 5 removed is provided.

【0035】媒体保持部62はスライドモータ58によ
るワイヤベルト60の駆動で、図4の位置から図5に示
す前方位置に水平移動することができる。このように媒
体保持部62を水平方向に送り出した状態で、固定プレ
ート64と図示しない下側の可動プレートの間にセルブ
ロックなどに収納しているカートリッジを挟むことがで
きる。 2.ライブラリ装置のハードウェアと機能 図6は本発明のライブラリ装置のシステム構成を示した
ブロック図である。
The medium holding portion 62 can be horizontally moved from the position shown in FIG. 4 to the front position shown in FIG. 5 by driving the wire belt 60 by the slide motor 58. In this manner, with the medium holding portion 62 being fed out in the horizontal direction, the cartridge housed in the cell block or the like can be sandwiched between the fixed plate 64 and the lower movable plate (not shown). 2. Hardware and Function of Library Device FIG. 6 is a block diagram showing the system configuration of the library device of the present invention.

【0036】図6において、本発明のライブラリ装置2
4に対しては、この実施例にあっては上位装置として4
台のホストコンピュータ20−1〜20−4を設けてい
る。ホストコンピュータ20−1〜20−4のそれぞれ
はチャネル・インタフェースバス22−1〜22−4に
よりライブラリ装置24に接続される。チャネル・イン
タフェースバス22−1〜22−4としては、例えばブ
ロック・マルチプレクサ・チャネル・インタフェース
(BMCインタフェース)が用いられる。
Referring to FIG. 6, the library device 2 of the present invention is shown.
In contrast to this, in this embodiment, 4 is set as the upper device.
The host computers 20-1 to 20-4 are provided. Each of the host computers 20-1 to 20-4 is connected to the library device 24 by channel interface buses 22-1 to 22-4. For example, block multiplexer channel interfaces (BMC interfaces) are used as the channel interface buses 22-1 to 22-4.

【0037】ライブラリ装置24には入出力制御装置と
して例えば4台のディレクタ26−1〜26−4が設置
される。ディレクタ26−1〜26−4はA〜Hで示す
8つずつのチャネルをもっている。なお、ディレクタ2
6−1〜26−4のチャネル数は最大構成で6チャネル
とすることができる。ディレクタ26−1,26−3の
チャネルAにはホストコンピュータ20−1からのチャ
ネル・インタフェースバス22−1が接続され、チャネ
ルBにはホストコンピュータ20−2からのチャネル・
インタフェースバス22−2が接続される。
In the library device 24, for example, four directors 26-1 to 26-4 are installed as input / output control devices. The directors 26-1 to 26-4 have eight channels A to H, respectively. In addition, director 2
The number of channels 6-1 to 26-4 can be set to 6 in the maximum configuration. The channel interface bus 22-1 from the host computer 20-1 is connected to the channels A of the directors 26-1 and 26-3, and the channel A from the host computer 20-2 is connected to the channel B.
The interface bus 22-2 is connected.

【0038】またディレクタ26−2,26−4のチャ
ネルEにはホストコンピュータ20−3からのチャネル
・インタフェースバス22−3が接続され、チャネルF
にはホストコンピュータ20−4からのチャネル・イン
タフェースバス22−4が接続される。尚、ディレクタ
26−1,26−3のチャネルC,Dおよびディレクタ
26−2,26−4のチャネルG,Hは、この実施例で
は使用されていない。
A channel interface bus 22-3 from the host computer 20-3 is connected to the channel E of the directors 26-2 and 26-4, and the channel F is connected to the channel F.
A channel interface bus 22-4 from the host computer 20-4 is connected to the. The channels C and D of the directors 26-1 and 26-3 and the channels G and H of the directors 26-2 and 26-4 are not used in this embodiment.

【0039】ディレクタ26−1〜26−4の端末側に
は2つのチャネルa,bが設けられる。チャネルaは記
録再生装置用であり、またチャネルbはアクセッサ制御
用である。ディレクタ26−1,26−2は左側に設け
た6台の磁気テープ装置34−1〜34−6を共用し、
チャネルaからのデバイス・インタフェース・バス36
−1,36−2を接続している。
Two channels a and b are provided on the terminal side of the directors 26-1 to 26-4. Channel a is for the recording / reproducing apparatus, and channel b is for controlling the accessor. The directors 26-1 and 26-2 share the six magnetic tape devices 34-1 to 34-6 provided on the left side,
Device interface bus 36 from channel a
-1, 36-2 are connected.

【0040】従って、ディレクタ26−1,26−2は
チャネルaより、左側の記録再生装置34−1〜34−
6に対しライトアクセスあるいはリードアクセスを実行
することができる。この6台の磁気テープ装置34−1
〜34−6に対し、ホストコンピュータ20−1〜20
−4側は論理機番#0〜#5を予め割り当てており、コ
マンド発行時に論理機番を指定する。
Therefore, the directors 26-1 and 26-2 have recording / reproducing devices 34-1 to 34-34 on the left side of the channel a.
A write access or a read access can be executed for the data. These six magnetic tape units 34-1
To 34-6 to host computers 20-1 to 20-6
The -4 side assigns logical machine numbers # 0 to # 5 in advance, and specifies the logical machine number when issuing a command.

【0041】ディレクタ26−3,26−4は右側に示
す同じく6台の磁気テープ装置34−7〜34−12を
共用し、チャネルaからのデバイス・インタフェース・
バス36−3,36−4を接続している。従って、ディ
レクタ26−3,26−4は右側の記録再生装置34−
1〜34−12に対しライトアクセスあるいはリードア
クセスを実行する。この右側の磁気テープ装置34−7
〜34−12についても同様に、論理機番#0〜#5が
予め割り当てられている。
The directors 26-3 and 26-4 share the same six magnetic tape devices 34-7 to 34-12 shown on the right side, and the device interface from the channel a.
The buses 36-3 and 36-4 are connected. Therefore, the directors 26-3 and 26-4 have the right side recording / reproducing device 34-.
A write access or a read access is executed for 1 to 34-12. This right magnetic tape device 34-7
Similarly, the logical machine numbers # 0 to # 5 are pre-assigned to .about.34-12.

【0042】尚、実際の装置では磁気テープ装置は片側
最大8台を実装することができ、従って論理機番は#0
〜#7が各々割り当てられる。ディレクタ26−1,2
6−2の配下には媒体運搬機構25−1が設けられ、ま
たディレクタ26−3,26−4の配下にも媒体運搬機
構25−2が設けられる。ここで媒体運搬機構25−1
が常用となり、媒体運搬機構25−2は予備用となる。
In an actual device, a maximum of eight magnetic tape devices can be mounted on each side, and the logical machine number is # 0.
~ # 7 are assigned respectively. Directors 26-1, 2
A medium carrying mechanism 25-1 is provided under 6-2, and a medium carrying mechanism 25-2 is also provided under directors 26-3 and 26-4. Here, the medium carrying mechanism 25-1
Is always used, and the medium carrying mechanism 25-2 is used as a spare.

【0043】常用となる媒体運搬機構25−1を説明す
ると、ディレクタ26−1,26−2から引き出された
デバイス・インタフェース・バス38−2はアクセッサ
・コントローラ28のチャネルaに接続される。同様に
ディレクタ6−3,26−4から引き出されたデバイス
・インタフェース・バス38−2は予備側のアクセッサ
・コントローラ30のチャネルbに接続される。
To explain the medium transport mechanism 25-1 which is commonly used, the device interface bus 38-2 drawn from the directors 26-1 and 26-2 is connected to the channel a of the accessor controller 28. Similarly, the device interface bus 38-2 drawn from the directors 6-3 and 26-4 is connected to the channel b of the accessor controller 30 on the spare side.

【0044】アクセッサ・コントローラ28,30のチ
ャネルa,bは共に渡り接続される。このため、アクセ
ッサ・コントローラ28,30はディレクタ26−1〜
26−4からのいずれかからの命令を受領して運搬処理
を実行する。アクセッサ・コントローラ28,30の配
下にはそれぞれアクセッサ12−1,12−2を制御す
るマシン・コントローラ32−1,32−2が設けられ
ている。アクセッサ・コントローラ28,30とマシン
・コントローラ32−1,32−2の間はクロス接続さ
れている。
Channels a and b of accessor controllers 28 and 30 are connected together. Therefore, the accessor controllers 28 and 30 are connected to the directors 26-1 to 26-1.
26-4 receives an instruction from any one of them and executes a transportation process. Machine controllers 32-1 and 32-2 for controlling the accessors 12-1 and 12-2 are provided under the accessor controllers 28 and 30, respectively. The accessor controllers 28 and 30 and the machine controllers 32-1 and 32-2 are cross-connected.

【0045】以下の説明では、常用となる媒体運搬機構
25−1について説明し、予備となる媒体運搬機構25
−2は省略する。ライブラリ装置24の上位装置として
設けられたホストコンピュータ20−1〜20−4のそ
れぞれは、ジョブの実行に伴うライブラリ装置24に対
する入出力要求の発生に基づき、論理機番アドレス(以
下、単に「機番アドレス」という)#iを指定して、磁
気テープカートリッジの運搬およびリード,ライト動作
を行う。
In the following description, the medium carrying mechanism 25-1 which is normally used will be explained, and the medium carrying mechanism 25 which serves as a spare.
-2 is omitted. Each of the host computers 20-1 to 20-4, which are provided as host devices of the library device 24, receives a logical machine number address (hereinafter, simply “machine No. address ") #i is designated to carry the magnetic tape cartridge and carry out read and write operations.

【0046】ここで、磁気テープ装置34−1〜34−
6および34−7〜34−12のそれぞれに機番アドレ
ス#0〜#5を割り当てており、最大で片側8台実装可
能であることから、機番アドレス#0〜#7が磁気テー
プ装置に使用される。これに対し、媒体運搬機構25−
1に対しては、機番アドレス#8が設定される。具体的
には、アクセッサ・コントローラ28に対し機番アドレ
ス#8が割り当てられる。
Here, the magnetic tape devices 34-1 to 34-
6 and 34-7 to 34-12 are assigned machine number addresses # 0 to # 5, and up to eight units can be mounted on one side. Therefore, the machine number addresses # 0 to # 7 can be used in the magnetic tape device. used. On the other hand, the medium transport mechanism 25-
For 1, the machine number address # 8 is set. Specifically, the machine number address # 8 is assigned to the accessor controller 28.

【0047】またライブラリ装置24における磁気テー
プカートリッジの存在する場所には予めセルアドレスが
定義されている。図7はライブラリ装置に割り当てられ
たセルアドレスを示しており、アクセッサ・ハンド,投
入排出口15,セルブロック10および磁気テープ装置
34−1〜34−12の各々に、図示の16進で示すセ
ルアドレスが予め割り当てられている。 3.ホストコンピュータの命令発行機能 図8は図6に示したホストコンピュータ側のライブラリ
装置に対する入出力命令の処理機能を示している。ホス
トコンピュータ20で任意のジョブ66が実行される
と、ジョブ66によってオペレーティングシステム(以
下「OS」という)のジョブコントロール・プログラム
70が起動する。
Further, a cell address is defined in advance in the place where the magnetic tape cartridge exists in the library device 24. FIG. 7 shows the cell address assigned to the library device, and the accessor hand, the loading / unloading port 15, the cell block 10 and the magnetic tape devices 34-1 to 34-12 each have a cell shown in hexadecimal notation. The address is assigned in advance. 3. Command Issuing Function of Host Computer FIG. 8 shows the input / output command processing function for the library device on the host computer side shown in FIG. When an arbitrary job 66 is executed by the host computer 20, the job 66 starts a job control program 70 of an operating system (hereinafter referred to as “OS”).

【0048】この状態でライブラリ装置24に対する入
出力要求が発生すると、データマネージメント・プログ
ラム72によりリードコマンドあるいはライトコマンド
を作成し、データ変換プログラム74を介してライブラ
リ装置用のOSとして動作するライブラリサポート・プ
ログラム76にアクセスする。データ変換プログラム7
6は当初のライブラリ装置がオペレータの操作を前提に
構築されていたことから、コンソールパネル80に設け
たCRTディスプレイにデータ表示を行うデータ形式に
変換しており、この変換データをライブラリサポート・
プログラム76はそのまま受け付けることができる。
When an input / output request is issued to the library device 24 in this state, a read command or a write command is created by the data management program 72, and a library support / operation that operates as an OS for the library device via the data conversion program 74. Access program 76. Data conversion program 7
In No. 6, since the initial library device was constructed on the premise of operator's operation, it is converted into a data format for displaying data on the CRT display provided on the console panel 80.
The program 76 can be accepted as it is.

【0049】OS68からのライブラリサポート・プロ
グラム76に対する要求コマンドは リードまたはライトのコマンド種別 ボリューム番号などの媒体番号 セクタアドレス データブロック長 を少なくとも指定してくる。
The request command to the library support program 76 from the OS 68 specifies at least the medium number such as the read or write command type volume number and the sector address data block length.

【0050】ライブラリサポート・プログラム76に対
しては制御用ディスク装置78が設けられ、コントロー
ルデータセットが格納されている。ライブラリサポート
・プログラム76は制御用ディスク装置78からコント
ロールデータセットを読み込み、OS68からの入出力
要求に対応した媒体の運搬情報を生成し、入出力サブシ
ステム処理部82を通じてライブラリ装置24に必要な
コマンドを発行する。
A control disk device 78 is provided for the library support program 76 and stores a control data set. The library support program 76 reads the control data set from the control disk device 78, generates the medium transportation information corresponding to the input / output request from the OS 68, and the command necessary for the library device 24 through the input / output subsystem processing unit 82. To issue.

【0051】通常のホストコンピュータ20からライブ
ラリ装置24に対する処理は、マウント処理とデマウン
ト処理に分けられる。マウント処理はセルブロック10
にある磁気テープカートリッジを磁気テープ装置に運搬
してローディングした後に、リードまたはライト動作を
行わせる処理である。またデマウント処理はリード動作
またはライト動作の終了後に磁気テープカートリッジを
磁気テープ装置からアンロードさせ、アンロードした磁
気テープカートリッジを元のセルブロックに運搬する処
理である。
The normal processing from the host computer 20 to the library device 24 is divided into mount processing and demount processing. Mount process is cell block 10
Is a process for carrying out a read or write operation after the magnetic tape cartridge in FIG. The demounting process is a process in which the magnetic tape cartridge is unloaded from the magnetic tape device after the read operation or the write operation is completed, and the unloaded magnetic tape cartridge is transported to the original cell block.

【0052】マウント処理を実行するためホストコンピ
ュータ20は、磁気テープカートリッジをセルブロック
から磁気テープ装置に運搬させるムーブコマンド(第1
ムーブコマンド)、ローディングコマンドおよびリード
コマンドまたはライトコマンドを逐次発行する。またデ
マウント処理にあっては、ホストコンピュータ20はア
ンロードコマンド、媒体をセルブロックの元の位置に戻
すムーブコマンド(第2ムーブコマンド)を逐次発行す
る。
To execute the mount process, the host computer 20 moves the magnetic tape cartridge from the cell block to the magnetic tape device (first move command).
Move command), loading command, and read command or write command are sequentially issued. Further, in the demount process, the host computer 20 sequentially issues an unload command and a move command (second move command) for returning the medium to the original position of the cell block.

【0053】このようなマウント処理およびデマウント
処理における各コマンドの発行に際しては、磁気テープ
装置34−1〜34−12の機番アドレス#i(但し、
i=0〜7)が指定される。また媒体運搬のコマンドに
ついては機番アドレス#8が指定される。図8のライブ
ラリ装置24は磁気テープ装置34−4の機番アドレス
#0を指定したコマンドの実行状態を示している。即
ち、ホストコンピュータ20のライブラリサポート・プ
ログラム76はまず機番アドレス#8を指定したムーブ
コマンドを発行する。
When issuing each command in such mount processing and demount processing, the machine number address #i of the magnetic tape devices 34-1 to 34-12 (however,
i = 0 to 7) is designated. A machine number address # 8 is designated for the medium transportation command. The library device 24 in FIG. 8 shows the execution state of the command specifying the machine number address # 0 of the magnetic tape device 34-4. That is, the library support program 76 of the host computer 20 first issues a move command specifying the machine number address # 8.

【0054】このムーブコマンドについては、セルブロ
ックの中の入出力の対象となる磁気テープカートリッジ
が収納されたセルブロックのセルアドレスを移動元アド
レスとし、磁気テープカートリッジをマウントする例え
ば磁気テープ装置34−1のセルアドレスを移動先セル
アドレスとした、移動元/移動先アドレスデータが発行
される。
With respect to this move command, the cell address of the cell block in which the magnetic tape cartridge to be input / output in the cell block is stored is set as the source address, and the magnetic tape cartridge is mounted, for example, the magnetic tape device 34- Source / destination address data is issued with the cell address of 1 as the destination cell address.

【0055】アクセッサ・コントローラ28はムーブコ
マンドに伴って発行された移動元アドレスで指定される
セルブロックの位置にアクセッサ12−1を移動して磁
気テープカートリッジをピックアップし、移動先アドレ
スで指定される磁気テープ装置34−1のテープ投入口
に運搬して磁気テープカートリッジを差し込む。アクセ
ッサ12−1による運搬動作が終了すると、ホストコン
ピュータ20は機番アドレス#0を指定したローディン
グコマンドを発行し、ディレクタ26−1からのロード
指示を受けて磁気テープ装置34−1で運搬された磁気
テープカートリッジのローディングが行われる。
The accessor controller 28 moves the accessor 12-1 to the position of the cell block designated by the move source address issued in accordance with the move command, picks up the magnetic tape cartridge, and is designated by the move destination address. The magnetic tape cartridge is transported to the tape insertion port of the magnetic tape device 34-1 and the magnetic tape cartridge is inserted. When the transportation operation by the accessor 12-1 is completed, the host computer 20 issues a loading command specifying the machine number address # 0, receives the load instruction from the director 26-1, and is transported by the magnetic tape device 34-1. Loading of the magnetic tape cartridge is performed.

【0056】磁気テープカートリッジのローディングが
済むとライブラリサポート・プログラム76はリードコ
マンドまたはライトコマンドを発行し、ディレクタ26
−1からのリード指示またはライト指示に従って、磁気
テープ装置34−1における磁気テープカートリッジに
対するデータの読み書きが行われる。リード動作または
ライト動作が終了すると、ライブラリサポート・プログ
ラム76からはアンロードコマンドが機番アドレス#0
の指定で発行される。このため、ディレクタ26−1は
機番アドレス#0で指定される磁気テープ装置34−1
に対しアンロード指示を行う。
When the magnetic tape cartridge is loaded, the library support program 76 issues a read command or a write command, and the director 26
According to the read instruction or the write instruction from -1, data is read from and written to the magnetic tape cartridge in the magnetic tape device 34-1. When the read operation or the write operation ends, the unload command is sent from the library support program 76 as the machine number address # 0.
Is issued by the designation. Therefore, the director 26-1 uses the magnetic tape device 34-1 designated by the machine number address # 0.
To unload.

【0057】アンロード指示を受けた磁気テープ装置3
4−1は、まず磁気テープカートリッジのテープの巻戻
しを実行し、巻戻し完了で外部に排出するイジェクト動
作を行う。本発明のライブラリ装置24にあっては、ホ
ストコンピュータ20からのアンロードコマンドの受領
で磁気テープ装置34−1にアンロード指示を行うと同
時に、ホストコンピュータ20に対し擬似的なアンロー
ド動作の終了を示す特殊な報告、具体的にはアクセッサ
・コントローラ28に対する機番アドレス#8を指定し
たアテンション・ステータスを報告する。
Magnetic tape device 3 that received an unload instruction
4-1 first performs rewinding of the tape of the magnetic tape cartridge, and when the rewinding is completed, an eject operation of ejecting the tape is performed. In the library device 24 of the present invention, upon receipt of the unload command from the host computer 20, the magnetic tape device 34-1 is instructed to unload, and at the same time, the pseudo unload operation for the host computer 20 ends. Is reported, specifically, the attention status indicating the machine number address # 8 to the accessor controller 28 is reported.

【0058】即ち、ライブラリ装置24側でアンロード
動作が完了する前に擬似的なアンロード終了報告が行わ
れ、これを受けてホストコンピュータ20のライブラリ
サポート・プログラム76はアンロード動作の完了を認
識し、排出された磁気テープカートリッジをセルブロッ
クに戻すムーブコマンドを発行するようになる。磁気テ
ープ装置34−1のアンロード動作中に発行されたムー
ブコマンドはディレクタ26−1で保留されている。
That is, a pseudo unload completion report is made before the unload operation is completed on the library device 24 side, and in response to this, the library support program 76 of the host computer 20 recognizes the completion of the unload operation. Then, a move command for returning the ejected magnetic tape cartridge to the cell block is issued. The move command issued during the unload operation of the magnetic tape device 34-1 is held by the director 26-1.

【0059】磁気テープ装置34−1より実際のアンロ
ード完了報告を受けると、アクセッサ・コントローラ2
8にコマンドデータを提供してセルブロック10に戻す
運搬動作をアクセッサ12−1に開始させる。 3.本発明の第1実施例 図9は図8のライブラリ装置24に代表して示したディ
レクタ26−1の実施例を示す。
When the actual unload completion report is received from the magnetic tape device 34-1, the accessor controller 2
8 to cause the accessor 12-1 to start a carrying operation of supplying command data to the cell block 10 and returning the command data to the cell block 10. 3. First Embodiment of the Present Invention FIG. 9 shows an embodiment of a director 26-1 represented by the library device 24 of FIG.

【0060】図9において、ディレクタ26−1にはM
PU部90が設けられる。MPU部90内にはプログラ
ム制御により実現されるホスト処理部92,MTU処理
部94およびアクセッサ処理部96が設けられている。
またディレクタ26−1にはホストインタフェース回路
部98,データ転送回路部100,バッファ回路部10
2,リード/ライト回路部104,MTUインタフェー
ス回路部106およびアクセッサインタフェース回路部
108が設けられ、実線で示すデータバスで接続されて
いる。
In FIG. 9, the director 26-1 has M
The PU unit 90 is provided. The MPU unit 90 is provided with a host processing unit 92, an MTU processing unit 94, and an accessor processing unit 96 which are realized by program control.
The director 26-1 includes a host interface circuit section 98, a data transfer circuit section 100, and a buffer circuit section 10.
2, a read / write circuit unit 104, an MTU interface circuit unit 106, and an accessor interface circuit unit 108 are provided and are connected by a data bus shown by a solid line.

【0061】またMPU90との間は破線で示す制御バ
ス110により接続され、MPU90による制御の下に
各回路部が動作する。図10は図9のMPU部90に設
けたホスト処理部92の詳細を示したブロック図であ
る。図10において、ホスト処理部92は全体制御部2
00,起動受け付け処理部202,コマンド取り込み部
204,選択I/O使用可能チェック部206,初期ス
テータス処理部208,最終ステータス処理部210,
アイドル処理部212およびステータス割込み処理部2
14で構成される。
The MPU 90 is connected to the MPU 90 by a control bus 110 indicated by a broken line, and each circuit unit operates under the control of the MPU 90. FIG. 10 is a block diagram showing details of the host processing unit 92 provided in the MPU unit 90 of FIG. In FIG. 10, the host processing unit 92 is the overall control unit 2.
00, start acceptance processing unit 202, command acquisition unit 204, selected I / O availability check unit 206, initial status processing unit 208, final status processing unit 210,
Idle processing unit 212 and status interrupt processing unit 2
It is composed of 14.

【0062】起動受け付け処理部202はホストコンピ
ュータ20からの起動要求を受け付けてコマンド取り込
み部204以降の処理を起動する。コマンド取り込み部
204はホストコンピュータから発行されたコマンドを
取り込んで解読する。選択I/O使用可能チェック部2
06はコマンド取り込み部204で解析されたコマンド
で指定された機番アドレス#iで指定される入出力装
置、具体的には磁気テープ装置とアクセッサ・コントロ
ーラが使用可能状態にあるか否かチェックし、使用可能
状態であれば初期ステータス処理部208に処理を渡
す。
The activation acceptance processing section 202 accepts an activation request from the host computer 20 and activates the processing after the command fetching section 204. The command capturing unit 204 captures and decodes the command issued from the host computer. Selectable I / O availability check unit 2
Reference numeral 06 indicates whether or not the input / output device specified by the machine number address #i specified by the command analyzed by the command fetching unit 204, specifically, the magnetic tape device and the accessor controller are available. If it is in the usable state, the process is passed to the initial status processing unit 208.

【0063】初期ステータス処理部208は使用可能な
入出力装置があることでコマンドの正常な受領をホスト
コンピュータ20に報告する。選択I/O使用可能チェ
ック部206で、機番アドレスで指定された入出力装置
が使用できない状態にある場合には、ホストコンピュー
タに対しビジィ応答を返す。ビジィ応答を返した後は、
対応する入出力装置が使用可能状態に戻るとビジィ解除
応答をホストコンピュータに発行して、再度のコマンド
発行を促すことになる。
The initial status processing unit 208 reports to the host computer 20 that the command has been normally received because there is an available input / output device. If the selected I / O availability check unit 206 cannot use the input / output device designated by the machine number address, it returns a busy response to the host computer. After returning the busy response,
When the corresponding input / output device returns to the usable state, a busy cancellation response is issued to the host computer to prompt the issuance of another command.

【0064】初期ステータス処理部208でコマンドの
正常受領がホストコンピュータに報告されると、MTU
処理部94またはアクセッサ処理部96に処理が引き渡
される。即ち、ロードコマンド,リードコマンド,ライ
トコマンドおよびアンロードコマンドの場合には、MT
U処理部94に処理が引き渡される。一方、ムーブコマ
ンドの場合にはアクセッサ処理部96に処理が引き渡さ
れる。
When the initial status processing unit 208 reports the normal receipt of the command to the host computer, the MTU
The processing is handed over to the processing unit 94 or the accessor processing unit 96. That is, in the case of load command, read command, write command and unload command, MT
The processing is handed over to the U processing unit 94. On the other hand, in the case of the move command, the processing is handed over to the accessor processing unit 96.

【0065】アクセッサ処理部96に対する処理の引き
渡しに際しては、コマンドデータとして得られた移動元
アドレスと移動先アドレスのアドレスデータが引き渡さ
れる。MTU処理部94およびアクセッサ処理部96
は、それぞれのコマンドに基づく指示を磁気テープ装置
およびアクセッサ・コントローラに対し実行する。
When the processing is delivered to the accessor processing unit 96, the address data of the source address and the destination address obtained as command data is delivered. MTU processing unit 94 and accessor processing unit 96
Executes instructions based on the respective commands to the magnetic tape device and the accessor controller.

【0066】MTU処理部94による磁気テープ装置に
対する動作指示あるいはアクセッサ処理部96によるア
クセッサ・コントローラに対する動作指示が済むと、最
終ステータス処理部210に処理が引き渡される。最終
ステータス処理部210は入出力装置に対する指示動作
の正常終了でデバイスエンドをホストコンピュータ20
で認識させるための最終ステータスを報告する。
When the operation instruction to the magnetic tape device by the MTU processing unit 94 or the operation instruction to the accessor controller by the accessor processing unit 96 is completed, the process is handed over to the final status processing unit 210. The final status processing unit 210 sends the device end to the host computer 20 when the instruction operation to the input / output device ends normally.
Report the final status for recognition in.

【0067】最終ステータス処理部210によるホスト
コンピュータに対するステータス報告が済むと、これで
一連のコマンドがデバイスエンドとなり、アイドル処理
部212に処理が引き渡される。アイドル処理部212
にあっては、ホストコンピュータからの起動要求あるい
は入出力装置側からの割込要求のいずれかで処理を抜け
出して、起動受け付け処理部202あるいはステータス
割込み処理部214に処理を引き渡す。
When the status report to the host computer by the final status processing section 210 is completed, a series of commands become the device end, and the processing is handed over to the idle processing section 212. Idle processing unit 212
In this case, the process is exited by either the activation request from the host computer or the interrupt request from the input / output device side, and the process is handed over to the activation acceptance processing unit 202 or the status interrupt processing unit 214.

【0068】ステータス割込み処理部214はMTU処
理部94による磁気テープ装置に対する動作指示あるい
はアクセッサ処理部96によるアクセッサ・コントロー
ラ側に対する動作指示をそれぞれ行って切り離した後
に、磁気テープ装置あるいはアクセッサ・コントローラ
側から得られる動作終了報告を割込み起動要求として受
けて動作し、ホストコンピュータ20に対し必要なステ
ータス報告を行う。
The status interrupt processing unit 214 issues an operation instruction to the magnetic tape device by the MTU processing unit 94 or an operation instruction to the accessor controller side by the accessor processing unit 96, and separates them, and then the magnetic tape device or the accessor controller side. It receives the obtained operation end report as an interrupt activation request and operates to issue a necessary status report to the host computer 20.

【0069】このステータス割込み処理部214には、
本発明の第1実施例による第1擬似ステータス報告部2
16が新たに設けられる。第1擬似ステータス報告部2
16はMTU処理部94においてホストコンピュータか
らのアンロードコマンドに基づくアンロード指示が行わ
れた際に、実際のアンロード完了報告を待たずにホスト
コンピュータに対し擬似的なアンロード完了を示すステ
ータス報告を実行する。
The status interrupt processing section 214 includes
First pseudo status reporting unit 2 according to the first embodiment of the present invention
16 is newly provided. First pseudo status report section 2
Reference numeral 16 denotes a status report indicating a pseudo unload completion to the host computer without waiting for an actual unload completion report when the MTU processing unit 94 issues an unload instruction based on the unload command from the host computer. To execute.

【0070】この第1擬似ステータス報告部216によ
る擬似的なアンロード完了を示すステータスとしては、
アクセッサ・コントローラ28の機番アドレス#8を指
定したアテンションステータスが使用される。第1擬似
ステータス報告部216より擬似的なアンロード動作完
了のアテンションステータスの報告を受けたホストコン
ピュータ20は、既にアンロード動作が完了したものと
判断し、アンロードが済んだ磁気テープカートリッジを
セルブロックの下の位置に戻すためのムーブコマンドを
発行するようになる。
The status indicating the pseudo unload completion by the first pseudo status reporting unit 216 is as follows.
Attention status specifying the machine number address # 8 of the accessor controller 28 is used. The host computer 20, which has received the pseudo unload operation completion attention status report from the first pseudo status reporting unit 216, determines that the unload operation has already been completed, and loads the magnetic tape cartridge that has been unloaded into a cell. It will issue a move command to return to the position below the block.

【0071】従って、図10に示した第1擬似ステータ
ス報告部216を備えた本発明のライブラリ装置にあっ
ては、アンロード動作中に、アンロード動作中の磁気テ
ープ装置を移動元アドレスとしたムーブコマンドによる
運搬動作が並行して開始されることになる。図11は図
10に示したホスト処理部92をディレクタ26−1が
備えた場合の本発明のライブラリ装置におけるデマウン
ト処理の詳細を示したタイムチャートである。なお、図
11のデマウント処理は機番アドレス#0をもつ磁気テ
ープ装置34−1でリード動作またはライト動作が終了
してデマウント処理を行う場合を示している。
Therefore, in the library apparatus of the present invention having the first pseudo status reporting section 216 shown in FIG. 10, the magnetic tape apparatus during the unload operation is used as the source address during the unload operation. The carrying operation by the move command will be started in parallel. FIG. 11 is a time chart showing details of the demount process in the library apparatus of the present invention when the director 26-1 includes the host processing unit 92 shown in FIG. Note that the demount process of FIG. 11 shows a case where the magnetic tape device 34-1 having the machine number address # 0 completes the read or write operation and performs the demount process.

【0072】図11において、ライブラリサポート・プ
ログラム76(以下「ホストOS」という)が磁気テー
プ装置34−1の機番アドレス#0を指定したアンロー
ドコマンド300をディレクタ26−1に対し発行す
る。ディレクタ26−1でアンロードコマンド300が
正常に受領されると「00」の初期ステータス302が
報告され、チャネルエンドとなる。アンロードコマンド
300を受領したディレクタ26−1は機番アドレス#
0で指定される磁気テープ装置34に対しアンロード指
示304を行い、これにより磁気テープ装置34−1は
アンロード動作を開始する。
In FIG. 11, the library support program 76 (hereinafter referred to as "host OS") issues an unload command 300 specifying the machine number address # 0 of the magnetic tape device 34-1 to the director 26-1. When the unload command 300 is normally received by the director 26-1, the initial status 302 of "00" is reported, and the channel end is reached. The director 26-1 receiving the unload command 300 receives the machine number address #
An unload instruction 304 is issued to the magnetic tape device 34 designated by 0, whereby the magnetic tape device 34-1 starts the unload operation.

【0073】アンロード動作は、まず磁気テープを巻き
戻し、巻戻し完了でカートリッジを排出する動作とな
る。ディレクタ26−1は磁気テープ装置34−1に対
するアンロード指示304と同時にホストOS76に対
し終了ステータス306としてコントロールエンド,ユ
ニットエンドおよびユニットチェックを報告する。
The unload operation is an operation in which the magnetic tape is first rewound and the cartridge is ejected when the rewinding is completed. At the same time as the unload instruction 304 to the magnetic tape device 34-1, the director 26-1 reports the control end, unit end and unit check as the end status 306 to the host OS 76.

【0074】更にアンロード指示304と同時にアクセ
ッサ・コントローラ28の機番アドレス#8を指定した
アテンションステータス308を擬似的に発行し、ホス
トOS76にアンロード動作の完了を擬似的に報告す
る。#8のアテンションステータス308を受けたホス
トOS76は、磁気テープ装置34−1のアンロード完
了を認識することができる。
Simultaneously with the unload instruction 304, the attention status 308 designating the machine number address # 8 of the accessor controller 28 is pseudo-issued and the completion of the unload operation is pseudo-reported to the host OS 76. The host OS 76 that has received the attention status 308 of # 8 can recognize the completion of unloading of the magnetic tape device 34-1.

【0075】続いてセンスコマンドの発行処理が行われ
ている。このセンスコマンドの発行処理は、まずホスト
OS76がセンスコマンド310を発行し、コマンド正
常受領としてディレクタ26−1より「00」の初期ス
テータスと所定バイトのセンスデータ312を報告し、
これが済むとデバイスエンドのための最終ステータス3
14を報告する。
Subsequently, a process of issuing a sense command is performed. In the process of issuing the sense command, the host OS 76 first issues the sense command 310 and reports the initial status of "00" and the sense data 312 of a predetermined byte from the director 26-1 as a command normal reception.
When this is done, the final status 3 for the device end
Report 14.

【0076】このセンス処理はコマンド発行の空き時間
において一定周期ごとに行われている。続いてホストO
S76よりディレクタ26−1からの#8のアテンショ
ンステータス308の報告に基づく擬似的なアンロード
完了報告の認識結果として、アンロードされた磁気テー
プカートリッジをセルブロックの元の位置に戻すための
アクセッサ・コントローラ28の機番アドレス#8を指
定したムーブコマンド316が発行される。
This sense processing is performed at regular intervals in the command issuing idle time. Then host O
As a result of recognizing the pseudo unload completion report based on the report of the attention status 308 of # 8 from the director 26-1 from S76, an accessor for returning the unloaded magnetic tape cartridge to the original position of the cell block. A move command 316 designating the machine number address # 8 of the controller 28 is issued.

【0077】このときアクセッサ・コントローラ28で
制御するアクセッサ12−1が空き状態にあれば、コマ
ンドの正常受領を示すチャネルエンドの初期ステータス
318が返される。この初期ステータス318を受けて
ホストOS76は移動元/移動先アドレスデータ320
をディレクタ26−1に発行する。ディレクタ26−1
はムーブコマンド316に伴って発行されたコマンドデ
ータとしての移動元アドレスと移動先アドレスに基づ
き、アクセッサ・コントローラ28にムーブ指示322
を行う。
At this time, if the accessor 12-1 controlled by the accessor controller 28 is in an empty state, the channel end initial status 318 indicating the normal reception of the command is returned. In response to this initial status 318, the host OS 76 moves the source / destination address data 320.
Is issued to the director 26-1. Director 26-1
Is a move instruction 322 to the accessor controller 28 based on the move source address and the move destination address as the command data issued along with the move command 316.
I do.

【0078】このムーブ指示322によりアクセッサ・
コントローラ28は、アクセッサ12−1を移動元アド
レスで指定されたアンロード動作中の磁気テープ装置3
4−1のカートリッジ排出位置に移動する運搬動作を開
始する。このとき磁気テープ装置34−1のアンロード
動作とアクセッサ・コントローラ28によるアクセッサ
12−1の運搬動作が同時に並行して行われることにな
る。
By this move instruction 322, the accessor
The controller 28 sets the accessor 12-1 to the magnetic tape device 3 in the unloading operation designated by the source address.
The carrying operation of moving to the cartridge discharge position of 4-1 is started. At this time, the unloading operation of the magnetic tape device 34-1 and the transporting operation of the accessor 12-1 by the accessor controller 28 are simultaneously performed in parallel.

【0079】磁気テープ装置34−1でテープ巻戻しが
済んで磁気テープカートリッジが排出されるとディレク
タ26−1に対しアンロード完了326の報告が行われ
る。このときアクセッサ12−1が磁気テープ装置34
−1の前に移動が済んでロボットハンドによる媒体取出
しの待ち状態にあれば、ディレクタ26−1を経由した
アンロード完了326の報告がアクセッサ・コントロー
ラ28に伝えられる。
When the magnetic tape device 34-1 completes the tape rewinding and ejects the magnetic tape cartridge, the director 26-1 is notified of the completion of unloading 326. At this time, the accessor 12-1 is the magnetic tape device 34.
If the robot hand has moved before -1 and is waiting for the medium to be taken out by the robot hand, the accessor controller 28 is notified of the unload completion 326 via the director 26-1.

【0080】したがってアクセッサ12−1のロボット
ハンドによる磁気テープカートリッジのピックアップが
行われ、ピックアップ後に移動先アドレスで指定された
セルブロックの位置に磁気テープカートリッジを運搬し
て戻すようになる。このアクセッサ・コントローラ28
によるアクセッサ12−1の運搬動作が終了するとディ
レクタ26−1に対し動作完了328の報告が行われ、
これを受けてディレクタ26−1はホストOS76に対
しムーブコマンド316を正常終了させるためのデバイ
スエンドの最終ステータス330を報告し、一連のデマ
ウント処理を終了する。
Therefore, the robot hand of the accessor 12-1 picks up the magnetic tape cartridge, and after picking up, the magnetic tape cartridge is transported and returned to the position of the cell block designated by the destination address. This accessor controller 28
When the transportation operation of the accessor 12-1 by the above is completed, the operation completion 328 is reported to the director 26-1.
In response to this, the director 26-1 reports the final status 330 of the device end for normally ending the move command 316 to the host OS 76, and ends a series of demount processing.

【0081】図12は図8に示したホストコンピュータ
20のライブラリサポート・プログラムにおけるライブ
ラリ装置に対するマウント処理およびデマウント処理を
行うための一連の処理動作を示したフローチャートであ
る。図12において、まずステップS1で上位のOSか
らの入出力要求をチェックしており、入出力要求がなけ
ればステップS13のアイドル処理にある。上位のOS
より入出力要求を受けると、ステップS2に進み、まず
ロードコマンド処理を実行する。
FIG. 12 is a flowchart showing a series of processing operations for mounting and demounting the library device in the library support program of the host computer 20 shown in FIG. In FIG. 12, first, in step S1, the input / output request from the host OS is checked, and if there is no input / output request, it is in the idle processing of step S13. Top OS
When the input / output request is further received, the process proceeds to step S2, and the load command process is first executed.

【0082】即ち、ライブラリ装置に対しコントロール
データセットから求めた入出力対象となる媒体のセルア
ドレスを移動元とし、特定の磁気テープ装置のセルアド
レスを移動先としたムーブコマンドを発行する。このよ
うなムーブコマンドに基づくムーブコマンド処理に対
し、ライブラリ装置側よりデバイスエンドとなるステー
タス報告がステップS3で得られると、ステップS4の
リード/ライトコマンド処理に進む。
That is, a move command is issued to the library device with the cell address of the medium to be input / output obtained from the control data set as the movement source and the cell address of the specific magnetic tape device as the movement destination. In response to a move command process based on such a move command, when a status report indicating device end is obtained from the library device side in step S3, the process proceeds to the read / write command process in step S4.

【0083】このリード/ライトコマンド処理に対し、
ライブラリ装置側より正常終了を示すステータス報告に
よりステップS5でデバイスエンドになると、ステップ
S6に進み、リードまたはライトが済んだ磁気テープ装
置の機番アドレスを指定したアンロードコマンドを発行
する。アンロードコマンドの発行に対し、ステップS7
でライブラリ装置よりコマンド正常受領を示す初期ステ
ータスの受領を判別すると、ステップS8に進み、終了
ステータスの受領を行う。
For this read / write command processing,
When the device end is made in step S5 by the status report indicating the normal end from the library device side, the process proceeds to step S6, and an unload command designating the machine number address of the magnetic tape device that has been read or written is issued. Step S7 for issuing the unload command
When it is determined that the initial status indicating the normal command reception is received from the library device, the process proceeds to step S8, and the end status is received.

【0084】終了ステータスが正常に受領できると、ス
テップS9に進み、アンロード動作の擬似的な完了報告
である機番アドレス#8を指定したアテンションステー
タスの受領を待つ。このアテンションステータスが受領
されると、ステップS10でセンスコマンドの発行処理
を行った後、ステップS11でアンロード動作が終了し
た磁気テープ装置のセルアドレスを移動元アドレス、セ
ルブロックの元の収納位置を移動先アドレスとしたムー
ブコマンドの発行によるムーブコマンド処理を行う。
When the end status is normally received, the process proceeds to step S9, and the reception of the attention status designating the machine number address # 8, which is a pseudo completion report of the unload operation, is awaited. When this attention status is received, the sense command issuance processing is performed in step S10, and then the cell address of the magnetic tape device for which the unload operation has been completed is set as the movement source address and the original storage position of the cell block in step S11. Move command processing is performed by issuing a move command with the move destination address.

【0085】このムーブコマンド処理に対し、ステップ
S12でライブラリ装置よりデバイスエンドが得られれ
ばムーブコマンドの正常終了として、再びステップS1
に戻る。図13は図8および図9に示した本発明のライ
ブラリ装置に設けたディレクタ26−1の全体的な処理
動作を示したフローチャートである。
In response to this move command processing, if the device end is obtained from the library device in step S12, the move command is normally terminated, and step S1 is executed again.
Return to. FIG. 13 is a flowchart showing the overall processing operation of the director 26-1 provided in the library apparatus of the present invention shown in FIGS. 8 and 9.

【0086】図13において、ライブラリ装置を起動す
ると、まずステップS0で初期化処理が行われ、ステッ
プS1でホストコンピュータからのコマンド受領をチェ
ックしている。コマンド受領がなければステップS2の
アイドル処理を繰り返す。ステップS1でコマンドを受
領すると、ステップS3でロードコマンドか否かチェッ
クし、ロードコマンドであればステップS4で、機番ア
ドレスで指定された磁気テープ装置に磁気テープカート
リッジをローディングするローディング処理を行う。
In FIG. 13, when the library device is activated, first, initialization processing is performed in step S0, and command reception from the host computer is checked in step S1. If no command is received, the idle process of step S2 is repeated. When the command is received in step S1, it is checked in step S3 whether or not it is a load command. If the command is a load command, in step S4, a loading process for loading the magnetic tape cartridge into the magnetic tape device designated by the machine number address is performed.

【0087】ステップS5で受領したコマンドがアンロ
ードコマンドであれば、ステップS6のアンロード処理
を行う。ステップS7は、受領したコマンドがムーブコ
マンドであった場合にはステップS8に進み、アクセッ
サによる媒体の運搬処理を行う。ステップS9は、受領
したコマンドがリードコマンドまたはライトコマンドで
あった場合にはステップS10に進み、リード/ライト
処理を行う。
If the command received in step S5 is an unload command, the unload process in step S6 is performed. In step S7, if the received command is a move command, the process proceeds to step S8, and the medium transportation process by the accessor is performed. If the received command is a read command or a write command, a step S9 proceeds to a step S10 to perform a read / write process.

【0088】更に、ステップS11で受領したコマンド
がセンスコマンドであった場合には、ステップS12で
センス処理を行う。更に、受領したコマンドがそれ以外
のコマンドであれば、そのコマンドに対応した処理を行
う。図14は図13のステップS6に示すアンロード処
理を示す。図14において、アンロード処理はまずステ
ップS1で、アンロードコマンドで指定された機番アド
レスの磁気テープ装置に対しテープ巻戻しを指示する。
続いてステップS2で、ホストコンピュータのOSに対
しアクセッサ・コントローラの機番アドレス#8のアテ
ンションステータスを応答し、擬似的なアンロード動作
の完了報告を行う。
Further, if the command received in step S11 is a sense command, sense processing is performed in step S12. Furthermore, if the received command is any other command, processing corresponding to that command is performed. FIG. 14 shows the unload process shown in step S6 of FIG. In FIG. 14, in the unload process, first, in step S1, the magnetic tape device of the machine number address designated by the unload command is instructed to rewind the tape.
Then, in step S2, the attention status of the machine number address # 8 of the accessor controller is returned to the OS of the host computer, and the completion of the pseudo unload operation is reported.

【0089】続いてステップS3でテープ巻戻し終了を
チェックしており、テープ巻戻しが終了すると、ステッ
プS4で磁気テープカセットのイジェクトを指示する。
ステップS5でイジェクト完了が判別されると、ステッ
プS6に進んで、ホストOSよりステップS2で発行し
たアテンションステータスに対応するムーブコマンドが
受領済みか否かチェックする。
Subsequently, in step S3, it is checked whether or not the tape rewinding is completed. When the tape rewinding is completed, an instruction to eject the magnetic tape cassette is issued in step S4.
When the ejection completion is determined in step S5, the process proceeds to step S6, and it is checked whether the move command corresponding to the attention status issued by the host OS in step S2 has been received.

【0090】ムーブコマンドが受領済みであればステッ
プS7に進み、アクセッサ・コントローラに対し受領済
みのムーブコマンドの実行を指示する。続いてステップ
S8でアクセッサ・コントローラ側からの運搬終了報告
を監視しており、運搬終了報告を受けると、ステップS
9で終了処理を行って、再び図13のメインルーチンに
リターンする。
If the move command has been received, the process advances to step S7 to instruct the accessor controller to execute the received move command. Then, in step S8, the transportation end report from the accessor controller side is monitored, and when the transportation end report is received, step S
The termination process is performed at 9, and the process returns to the main routine of FIG.

【0091】尚、、図14のステップS3,S5,S6
およびS8の報告待ちの処理は、実際には図10に示し
たステータス割込み処理部214の割込み処理により行
われ、この間、ディレクタとしてはアイドル状態に置か
れている。またステップS2に示したアンロード動作の
擬似的完了を報告するアテンションステータスの報告に
ついては、図10のステータス割込み処理部214に設
けた第1擬似ステータス報告部216による処理として
行われる。 4.本発明の第2実施例 図15は本発明のライブラリ装置におけるデマウント処
理の第2実施例を示したタイムチャートである。
Incidentally, steps S3, S5 and S6 of FIG.
The process of waiting for the report of S8 and S8 is actually performed by the interrupt process of the status interrupt processing unit 214 shown in FIG. 10, and during this period, the director is placed in the idle state. The attention status report for reporting the pseudo completion of the unload operation shown in step S2 is performed by the first pseudo status reporting unit 216 provided in the status interrupt processing unit 214 of FIG. 4. Second Embodiment of the Present Invention FIG. 15 is a time chart showing a second embodiment of the demount process in the library apparatus of the present invention.

【0092】図11のタイムチャートに示した第1実施
例にあっては、アンロードコマンド300に基づいてデ
ィレクタ26−1が磁気テープ装置34−1に対しアン
ロード指示304を行ったと同時に、アンロード動作の
擬似的完了を示すアテンションステータス308をホス
トOS76に返している。これに対し図15の第2実施
例にあっては、ホストOS76からのアンロードコマン
ド400に基づき、ディレクタ26−1が磁気テープ装
置34−1に対しアンロード指示404を行ってアンロ
ード動作が開始され、アンロード動作の最初に行われる
テープ巻戻しが終了してテープ巻戻し完了414の報告
がディレクタ26−1に行われると、これを契機にアク
セッサ・コントローラ28の機番アドレス#8のアテン
ションステータス416をホストOS76に返すように
している。
In the first embodiment shown in the time chart of FIG. 11, the director 26-1 issues the unload instruction 304 to the magnetic tape device 34-1 based on the unload command 300, and at the same time, the unload command is issued. The attention status 308 indicating the pseudo completion of the load operation is returned to the host OS 76. On the other hand, in the second embodiment of FIG. 15, based on the unload command 400 from the host OS 76, the director 26-1 issues the unload instruction 404 to the magnetic tape device 34-1 to start the unload operation. When the tape rewinding which is started at the beginning of the unloading operation is completed and the tape rewinding completion 414 is reported to the director 26-1, the machine number address # 8 of the accessor controller 28 is triggered by this. The attention status 416 is returned to the host OS 76.

【0093】このように磁気テープ装置34−1の擬似
的なアンロード完了報告をテープ巻戻し完了を契機に行
う以外は、図11の第1実施例と同じになる。この第2
実施例にあっても、磁気テープ装置のアンロード動作中
のテープ巻戻し完了時点で擬似的なアンロード動作の完
了報告がホストOSに対し行われ、次の磁気テープカセ
ットのイジェクト動作中にムーブコマンドが発行されて
アクセッサがアンロード動作中の磁気テープ装置に移動
できるため、実際にアンロードが完了した後の媒体運搬
動作時間を短縮することができる。
The procedure is the same as that of the first embodiment shown in FIG. 11 except that the pseudo unload completion report of the magnetic tape device 34-1 is sent when the tape rewind is completed. This second
Also in the embodiment, the completion of the pseudo unload operation is reported to the host OS at the time when the tape rewinding is completed during the unload operation of the magnetic tape device, and the move operation is performed during the eject operation of the next magnetic tape cassette. Since the command is issued and the accessor can be moved to the magnetic tape device during the unloading operation, it is possible to shorten the medium transporting operation time after the unloading is actually completed.

【0094】図16は図15の第3実施例におけるアン
ロード処理の詳細を示したフローチャートである。図1
6の第3実施例にあっては、ステップS2のテープ巻戻
し完了を判別してステップS3に進んだときに、ホスト
OSに機番アドレス#8のアテンションステータスを擬
似的なアンロード動作完了報告として行う点が、図14
に示した第1実施例のフローチャートと相違している。
それ以外の処理は図14の第1実施例と同じになる。 5.本発明の第3実施例 図17は本発明の第3実施例における図9のMPU部の
詳細を示す。図19の実施例にあっては、ホスト処理部
92のステータス割込処理部214に加え、第2擬似ス
テータス報告部218が新たに設けられる。
FIG. 16 is a flow chart showing details of the unload process in the third embodiment of FIG. Figure 1
In the third embodiment of No. 6, when the tape rewind completion in step S2 is determined and the process proceeds to step S3, the attention status of the machine number address # 8 is reported to the host OS as a pseudo unload operation completion report. Fig. 14
This is different from the flowchart of the first embodiment shown in FIG.
The other processes are the same as those in the first embodiment shown in FIG. 5. Third Embodiment of the Present Invention FIG. 17 shows details of the MPU section of FIG. 9 in a third embodiment of the present invention. In the embodiment of FIG. 19, in addition to the status interrupt processing unit 214 of the host processing unit 92, a second pseudo status reporting unit 218 is newly provided.

【0095】また選択I/O使用可能チェック部206
と初期ステータス処理部208の間に機番変換処理部2
20が新たに設けられる。これ以外の点は図10の第1
実施例と同じになる。第2擬似ステータス報告部218
は、第1擬似ステータス報告部216による#8のアテ
ンショクステータス(アンロード完了の擬似報告)によ
りホストOSから発行されたムーブコマンドに対し擬似
的にデバイスエンドの終了ステータスを報告する。
Further, the selection I / O availability check unit 206
And the initial status processing unit 208 between the machine number conversion processing unit 2
20 is newly provided. The other points are the first in FIG.
The same as the embodiment. Second pseudo status reporting unit 218
Reports the end status of the device end in a pseudo manner to the move command issued from the host OS based on the # 8 attention status (pseudo report of unload completion) by the first pseudo status reporting unit 216.

【0096】受領されたムーブコマンドのアドレスデー
タはアクセッサ処理部96に保留され、実際のムーブ指
示は、磁気テープ装置からアンロード終了の報告を受け
て行われる。第2擬似ステータス報告部218でムーム
コマンドに対し擬似的な終了ステータスが報告される
と、ホストOSは現在アンロード中の磁気テープ装置に
対し、次の入出力要求に伴うコマンドを発行することに
なる。
The address data of the received move command is held in the accessor processing section 96, and the actual move instruction is given upon receipt of the unload completion report from the magnetic tape device. When the second pseudo status reporting unit 218 reports a pseudo end status to the moom command, the host OS issues a command associated with the next I / O request to the magnetic tape device currently being unloaded. Become.

【0097】第3実施例にあっては、ホストOSからの
アンロード中の磁気テープ装置を指定した新たな入出力
要求のコマンドをそのまま受け入れて処理することがで
きる。ホスト処理部92で、現在、アンロード中にある
磁気テープ装置の機番アドレスを指定してホストOSか
ら発行されたコマンドを受領した場合、選択I/O使用
可能チェック部206で現在、空き状態にある磁気テー
プ装置を選択し、機番変換処理部220がコマンドで指
定された機番アドレスを空き状態にある別の磁気テープ
装置の機番アドレスに変換して新たな入出力要求のコマ
ンドを処理する。
In the third embodiment, a new input / output request command designating the magnetic tape device being unloaded from the host OS can be directly received and processed. When the host processing unit 92 receives a command issued from the host OS by designating the machine number address of the magnetic tape device currently being unloaded, the selected I / O availability check unit 206 is currently in an empty state. , A machine number conversion processing unit 220 converts the machine number address specified by the command into a machine number address of another magnetic tape apparatus in the empty state, and issues a new I / O request command. To process.

【0098】図18は本発明の第3実施例の処理動作を
示したタイムチャートである。図18において、まずホ
ストOS76は磁気テープ装置34−1の機番アドレス
#0を指定したアンロードコマンド50を発行し、これ
により磁気テープ装置34−1に対するアンロード指示
504が行われ、アンロード動作が開始される。このア
ンロード指示504を契機にディレクタ26−1はアク
セッサ・コントローラ28の機番アドレス#8のアテン
ションステータス514をホストOS76に報告し、磁
気テープ装置34−1のアンロード動作が完了したこと
を擬似的に報告する。
FIG. 18 is a time chart showing the processing operation of the third embodiment of the present invention. In FIG. 18, first, the host OS 76 issues an unload command 50 designating the machine number address # 0 of the magnetic tape device 34-1, thereby issuing an unload instruction 504 to the magnetic tape device 34-1 and unloading. The operation is started. In response to this unload instruction 504, the director 26-1 reports the attention status 514 of the machine number address # 8 of the accessor controller 28 to the host OS 76, and simulates that the unload operation of the magnetic tape device 34-1 is completed. Report.

【0099】#8のアテンションステータス514を受
けたホストOS76は、磁気テープ装置34−1の機番
アドレス#0を指定したムーブコマンド516を発行
し、チャネルエンドの初期ステータス518に続いて移
動元/移動先アドレスデータ520を発行する。このム
ーブコマンド516に伴う移動元/移動先アドレスデー
タ520は、ディレクタ26−1において522に示す
ように保留される。
Upon receiving the attention status 514 of # 8, the host OS 76 issues a move command 516 designating the machine number address # 0 of the magnetic tape device 34-1, and following the initial status 518 of the channel end, the move source / The destination address data 520 is issued. The source / destination address data 520 associated with this move command 516 is reserved in the director 26-1 as indicated by 522.

【0100】更にディレクタ26−1は、媒体をセルブ
ロックに戻すためのムーブコマンド516が擬似的に正
常終了したことを示すチャネルエンドの2次ステータス
524とデバイスエンドの最終ステータス526を発行
する。この2次ステータス524および最終ステータス
526を受けて、ホストOS76は磁気テープ装置34
−1に対するムーブコマンド516が正常終了したもの
と判断する。
Further, the director 26-1 issues a channel end secondary status 524 and a device end final status 526 indicating that the move command 516 for returning the medium to the cell block is pseudo normally completed. Upon receiving the secondary status 524 and the final status 526, the host OS 76 makes the magnetic tape device 34
It is determined that the move command 516 for -1 has been normally completed.

【0101】しかしながら磁気テープ装置34−1にあ
っては、実際にはアンロード動作中にあり、アンロード
完了ともなっておらず、また媒体運搬動作完了ともなっ
ていない。続いて、ホストOS76は磁気テープ装置3
4−1における擬似的な報告でアンロード動作および媒
体運搬動作が完了したものと認識したことから、次の新
たな入出力要求に基づくマウント処理のため、磁気テー
プ装置34−1の機番アドレス#0を指定したムーブコ
マンド528を発行している。
However, in the magnetic tape device 34-1, the unloading operation is actually in progress, and the unloading is not completed and the medium carrying operation is not completed. Subsequently, the host OS 76 is the magnetic tape device 3
Since it was recognized in the pseudo report in 4-1 that the unloading operation and the medium carrying operation were completed, the machine number address of the magnetic tape device 34-1 for the mount processing based on the next new I / O request. A move command 528 specifying # 0 is issued.

【0102】このムーブコマンド528に対し、ディレ
クタ26−1はチャネルエンドの初期ステータス530
で正常受領とし、続いてホストOS76は新たな入出力
要求のマウント処理のための移動元/移動先アドレスデ
ータ532を送ってくる。この新たな入出力要求に基づ
くムーブ動作のため、ディレクタ26−1は複数の磁気
テープ装置の状態を示す管理テーブルを参照し、空き状
態にある磁気テープ装置例えば磁気テープ装置34−2
を選択する。
In response to this move command 528, the director 26-1 sets the channel end initial status 530.
Then, the host OS 76 normally receives the data, and then the host OS 76 sends the source / destination address data 532 for mounting the new I / O request. Because of the move operation based on this new input / output request, the director 26-1 refers to the management table indicating the states of the plurality of magnetic tape devices, and the magnetic tape device in the empty state, for example, the magnetic tape device 34-2.
Select.

【0103】ムーブコマンド528で指定された機番ア
ドレス#0を、選択した空き磁気テープ装置34−2の
機番アドレス#1に変換して、ムーブ指示534を別の
空き状態にある磁気テープ装置34−2を移動先アドレ
スとしてアクセッサ・コントローラ28に指示する。こ
のため、ホストOS76からのムーブコマンドでは移動
先が磁気テープ装置34−1であったものが、実際の運
搬動作にあっては移動先を磁気テープ装置34−2とし
た運搬動作が行われる。
The machine number address # 0 designated by the move command 528 is converted into the machine number address # 1 of the selected free magnetic tape device 34-2, and the move instruction 534 is changed to another free magnetic tape device. The accessor controller 28 is instructed to use 34-2 as the destination address. Therefore, in the move command from the host OS 76, the moving destination is the magnetic tape device 34-1, but in the actual carrying operation, the carrying operation is performed with the moving destination being the magnetic tape device 34-2.

【0104】機番アドレス#1の磁気テープ装置34−
2に対する磁気テープカートリッジの運搬完了で動作完
了536がディレクタ26−1に報告されると、ホスト
OS76にデバイスエンドの最終ステータス538が報
告され、機番アドレス#0のムーブコマンド528の正
常終了を認識する。ホストOS76がデバイスエンドの
最終ステータス538を認識すると、新たな入出力要求
におけるマウント処理の終了を認識し、次に機番アドレ
ス#0を指定したリード/ライトコマンド540を発行
する。
Magnetic tape device 34 with machine number address # 1-
When the operation completion 536 is reported to the director 26-1 due to the completion of the transportation of the magnetic tape cartridge for 2, the final status 538 of the device end is reported to the host OS 76, and the normal end of the move command 528 of the machine number address # 0 is recognized. To do. When the host OS 76 recognizes the final status 538 of the device end, it recognizes the end of the mount processing in the new input / output request, and then issues the read / write command 540 designating the machine number address # 0.

【0105】このリード/ライトコマンド540を受け
たディレクタ26−1は、コマンドで指定された機番ア
ドレス#0を#1に変換して磁気テープ装置34−2に
リード/ライト指示542を行い、ホストOS76が認
識している磁気テープ装置34−1とは異なる別の磁気
テープ装置34−2でリード動作またはライト動作が行
われる。
Upon receiving this read / write command 540, the director 26-1 converts the machine number address # 0 designated by the command into # 1 and issues a read / write instruction 542 to the magnetic tape device 34-2. The read operation or the write operation is performed by another magnetic tape device 34-2 different from the magnetic tape device 34-1 recognized by the host OS 76.

【0106】磁気テープ装置34−2の動作が終了して
リード/ライト終了544が報告されると、ディレクタ
26−1はデバイスエンドの最終ステータス546をホ
ストOS76に送り、リード/ライトコマンドの正常終
了を認識する。この時点で磁気テープ装置34−1のア
ンロード動作が完了してアンロード完了548がディレ
クタ26−1に報告されると、ディレクタ26−1はそ
れ以降の新たな入出力要求に対するデバイス機番の変換
処理を解除する変換解除動作550を行う。
When the operation of the magnetic tape device 34-2 is completed and the read / write completion 544 is reported, the director 26-1 sends the final status 546 of the device end to the host OS 76, and the read / write command is normally completed. Recognize. At this time point, when the unload operation of the magnetic tape device 34-1 is completed and the unload completion 548 is reported to the director 26-1, the director 26-1 is assigned the device number for the subsequent new I / O request. A conversion cancel operation 550 for canceling the conversion process is performed.

【0107】尚、現在行っている機番アドレス#0から
#1への変換動作は、現在残っているデマウント処理の
ためのアンロードコマンドおよびムーブコマンドが終了
するまで有効となる。続いてディレクタ26−1の機番
アドレス#0へのムーブ指示保留動作522で保持して
いたムーブコマンド516に伴う移動元/移動先アドレ
スデータ520に基づくムーブ指示552をアクセッサ
・コントローラ28に対し行い、アンロード動作が済ん
だ磁気テープ装置34−1から磁気テープカートリッジ
をセルブロックの元の位置に運搬する運搬動作を行う。
The conversion operation from the machine number address # 0 to # 1 which is currently being performed is valid until the unload command and the move command for the remaining demount processing are completed. Subsequently, the move instruction 552 is issued to the accessor controller 28 based on the move source / destination address data 520 accompanying the move command 516 held in the move instruction holding operation 522 for the machine address # 0 of the director 26-1. The carrying operation for carrying the magnetic tape cartridge to the original position of the cell block is performed from the magnetic tape device 34-1 which has completed the unloading operation.

【0108】この運搬動作が完了して動作完了554が
ディレクタ26−1に報告されると、この時点でアドレ
ス機番#0のアンロードコマンド500から開始された
一連のデマウント処理が終了することになる。図19は
図18に示した第3実施例におけるディレクタ26−1
のアンロード処理の詳細を示したフローチャートであ
る。
When the carrying operation is completed and the operation completion 554 is reported to the director 26-1, at this point, the series of demount processing started from the unload command 500 of the address machine number # 0 ends. Become. FIG. 19 is a director 26-1 in the third embodiment shown in FIG.
5 is a flowchart showing details of the unload process of FIG.

【0109】図19において、ステップS1で受領した
アンロードコマンドで指定された機番アドレス#iの磁
気テープ装置に対するテープ巻戻し指示を行い、これを
契機にステップS2でホストOSへ機番アドレス#8の
アテンションステータスを擬似的に行い、擬似的なアン
ロード動作の完了報告とする。続いてステップS3で、
機番アドレス#iのムーブコマンドの受領の有無をチェ
ックし、受領済みであればステップS4で、このムーブ
コマンドに基づくムーブ指示を保留する保留動作を行
う。
In FIG. 19, a tape rewinding instruction is issued to the magnetic tape device having the machine number address #i designated by the unload command received in step S1, and triggered by this instruction to the host OS in step S2. The attention status of No. 8 is simulated and used as a completion report of the pseudo unload operation. Then in step S3,
Whether or not the move command for the machine number address #i has been received is checked. If the move command has been received, a holding operation for holding the move instruction based on the move command is performed in step S4.

【0110】続いてステップS5で機番アドレス#iの
デバイスエンドを擬似的にホストOSに通知し、これに
よって一連のデマウント処理が全て終了したことを擬似
的に報告する。このため、ホストOSはステップS5の
デバイスエンドの擬似的な報告を受けて次の新たな入出
力要求に進み、同じ機番アドレス#iを指定したマウン
ト処理のムーブコマンドを発行する。
Subsequently, in step S5, the device end of the machine number address #i is notified to the host OS in a pseudo manner, and thereby it is pseudoly reported that the series of demounting processes have been completed. Therefore, the host OS receives the pseudo report of the device end in step S5 and proceeds to the next new input / output request, and issues the move command for the mount process specifying the same machine number address #i.

【0111】ステップS6で現在、実際にアンロード動
作中の磁気テープ装置と同じ機番アドレス#iを指定し
たムーブコマンドを受領すると、ステップS7で指定機
番アドレス#i以外の空き磁気テープユニットを選択
し、例えば機番アドレス#jの磁気テープ装置を選択す
る。続いてステップS8で、ムーブコマンドで指定され
た機番アドレス#iを選択した空き磁気テープ装置の機
番アドレス#jに変換したロード処理を行う。
At step S6, when a move command designating the same machine number address #i as the magnetic tape device currently being unloaded is received, at step S7 empty magnetic tape units other than the designated machine number address #i are received. For example, the magnetic tape device having the machine number address #j is selected. Then, in step S8, load processing is performed in which the machine number address #i designated by the move command is converted into the machine number address #j of the selected free magnetic tape device.

【0112】ステップS8のロード処理が済むと、ステ
ップS9において、機番アドレス#iを指定したリード
コマンドまたはライトコマンドの受領に対し、ステップ
S7で選択した機番アドレス#jへの変換を行ってリー
ダライト処理を行う。続いてステップS10で、現在ア
ンロード動作中の機番アドレス#iの磁気テープ装置の
アンロード終了をチェックしている。
When the loading process of step S8 is completed, in step S9, the receipt of the read command or the write command designating the machine number address #i is converted into the machine number address #j selected in step S7. Performs reader / write processing. Then, in step S10, the completion of unloading of the magnetic tape device of the machine number address #i which is currently being unloaded is checked.

【0113】アンロード終了を認識すると、ステップS
11で、それ以降の新たな入出力要求に伴うマウント処
理およびデマウント処理の各コマンドで与えられる機番
アドレス#iの機番アドレス#jへの変換機能をリセッ
トする。勿論、既にリード処理またはライト処理に進ん
でいる現在実行途中にある入出力要求の残りのデマウン
ト処理におけるアンロードコマンドおよびムーブコマン
ドについては、機番アドレス#iから機番アドレス#j
への変換機能はそのまま有効として処理を継続する。
When the end of unloading is recognized, step S
At 11, the conversion function of the machine number address #i to the machine number address #j given by each command of the mount process and the demount process accompanying the subsequent new input / output request is reset. Of course, regarding the unload command and the move command in the remaining demount processing of the I / O request which is being executed, which is already in the read processing or the write processing, the machine number address #i to the machine number address #j
The conversion function to is valid as it is and processing is continued.

【0114】続いてステップS12で、ステップS4で
保留動作を行った現在保留中の機番アドレス#iのアン
ロード動作の完了に伴うムーブコマンドの動作をアクセ
ッサ側に指示し、アンロードが済んだ機番アドレス#1
の磁気テープ装置から媒体をピックアップし、セルブロ
ックの元の位置に移動する運搬動作を行わせる。ステッ
プS3で運搬動作の終了を認識すると、ステップS4に
進み、必要な終了処理を行って、図13に示したメイン
ルーチンにリターンする。
Then, in step S12, the mover operation is instructed to the accessor side in response to the completion of the unload operation of the machine number address #i currently held, which was held in step S4, and the unloading is completed. Machine address # 1
The medium is picked up from the magnetic tape device and moved to the original position of the cell block for carrying operation. When the end of the carrying operation is recognized in step S3, the process proceeds to step S4, necessary end processing is performed, and the process returns to the main routine shown in FIG.

【0115】この第3実施例にあっては、デマウント処
理におけるアンロードコマンドおよびムーブコマンドの
いずれについても擬似的な完了報告を行うことで、ホス
トコンピュータからの入出力要求をライブラリ装置で速
やかに受け入れることができ、ライブラリ装置に対する
入出力要求の処理効率を高めることができる。尚、上記
の実施例は記録媒体として磁気テープカートリッジを例
にとるものであったが、入出力装置として光ディスク装
置を用いた場合には光ディスクカートリッジを記憶媒体
として使用してもよいし、それ以外に着脱自在な適宜の
記録媒体を使用したライブラリ装置に適用できる。
In the third embodiment, the library device promptly accepts the input / output request from the host computer by issuing a pseudo completion report for both the unload command and the move command in the demount process. Therefore, the processing efficiency of the input / output request to the library device can be improved. In the above embodiment, the magnetic tape cartridge is used as the recording medium. However, when the optical disk device is used as the input / output device, the optical disk cartridge may be used as the storage medium. It can be applied to a library device using an appropriate recording medium that is detachable.

【0116】また本発明は上記の実施例に示された数値
による限定は受けないことは勿論である。
Of course, the present invention is not limited by the numerical values shown in the above embodiments.

【0117】[0117]

【発明の効果】以上説明してきたように本発明によれ
ば、上位装置からのアンロードコマンドに対し、アンロ
ード動作を指示してから動作を完了するまでの間に擬似
的なアンロード完了報告を上げることでアンロード完了
後の媒体運搬のためのムーブコマンドを発行させ、この
結果、アンロード動作と媒体の運搬動作を並行して行う
ことができ、再生記録装置から記録媒体をセルブロック
に戻すためのデマウント処理の処理時間を短縮すること
ができる。具体的には、従来装置に比べ約5秒の時間短
縮が確認されている。
As described above, according to the present invention, in response to an unload command from a host device, a pseudo unload completion report is issued from the time the unload operation is instructed until the operation is completed. By raising it, a move command for media transportation after unloading is completed is issued, and as a result, the unloading operation and the media transportation operation can be performed in parallel, and the recording / recording medium is converted into a cell block from the playback / recording device. It is possible to shorten the processing time of the demount processing for returning. Specifically, it has been confirmed that the time is shortened by about 5 seconds as compared with the conventional device.

【0118】またアンロードコマンドに対し擬似的な完
了報告を行うと同時に、次のムーブコマンドに対しても
擬似的な完了報告を行い、ホストコンピュータ側に擬似
的にアンロードから媒体戻し運搬完了までのデマウント
処理が全て終了したように見せかけて、同じ記録再生装
置に対し新たな入出力要求に伴うマウント処理を開始す
ることができる。このため、ライブラリ装置の上位装置
に対する入出力要求の受入れ効率を高めることができ、
処理性能を向上することができる。
At the same time as giving a pseudo completion report to the unload command, it also gives a pseudo completion report to the next move command, from the pseudo unload to medium return transportation completion to the host computer side. It is possible to start the mount processing associated with a new input / output request to the same recording / reproducing device by pretending that all the demount processing has been completed. Therefore, it is possible to improve the efficiency of accepting the input / output request to the host device of the library device,
The processing performance can be improved.

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

【図1】本発明の原理説明図FIG. 1 is an explanatory view of the principle of the present invention.

【図2】本発明の装置構成の実施例を示した説明図FIG. 2 is an explanatory diagram showing an embodiment of the device configuration of the present invention.

【図3】図2のアクセッサを取出して示した説明図FIG. 3 is an explanatory diagram showing the accessor of FIG. 2 taken out and shown.

【図4】図3のロボットハンドの詳細を示した説明図FIG. 4 is an explanatory view showing details of the robot hand of FIG.

【図5】図4の上蓋を外してロボットハンドの詳細を示
した説明図
FIG. 5 is an explanatory view showing the details of the robot hand with the upper lid of FIG. 4 removed.

【図6】本発明のハードウェア構成を示したブロック図FIG. 6 is a block diagram showing a hardware configuration of the present invention.

【図7】ライブラリ装置に割当てられたセルアドレスの
説明図
FIG. 7 is an explanatory diagram of cell addresses assigned to the library device.

【図8】本発明のホストコンピュータの機能を示したブ
ロック図
FIG. 8 is a block diagram showing functions of a host computer of the present invention.

【図9】図9のディレクタの詳細を示したブロック図FIG. 9 is a block diagram showing details of the director of FIG.

【図10】図9のMPU部の詳細を示した機能ブロック
FIG. 10 is a functional block diagram showing details of the MPU section in FIG.

【図11】本発明の第1実施例によるデマウント処理動
作を示したタイムチャート
FIG. 11 is a time chart showing a demount processing operation according to the first embodiment of the present invention.

【図12】図8のライブラリサポートプログラムの処理
動作を示したフローチャート
12 is a flowchart showing the processing operation of the library support program of FIG.

【図13】図8のディレクタのメインルーチンを示した
フローチャート
13 is a flowchart showing the main routine of the director shown in FIG.

【図14】図13のアンロード処理の第1実施例をサブ
ルーチンで示したフローチャート
FIG. 14 is a flowchart showing a subroutine of the first embodiment of the unload process of FIG.

【図15】本発明の第2実施例によるデマウント処理動
作を示したタイムチャート
FIG. 15 is a time chart showing a demount processing operation according to the second embodiment of the present invention.

【図16】図15のデマウント処理の第2実施例をサブ
ルーチンで示したフローチャート
FIG. 16 is a flowchart showing a second embodiment of the demount processing of FIG. 15 as a subroutine.

【図17】本発明の第3実施例における図9のMPU部
の詳細を示した機能ブロック図
FIG. 17 is a functional block diagram showing details of the MPU section of FIG. 9 in the third embodiment of the present invention.

【図18】本発明の第3実施例によるデマウント処理動
作を示したタイムチャート
FIG. 18 is a time chart showing a demount processing operation according to the third embodiment of the present invention.

【図19】図18のデマウント処理の第3実施例をサブ
ルーチンで示したフローチャート
FIG. 19 is a flowchart showing a third embodiment of the demount processing of FIG. 18 as a subroutine.

【図20】従来装置の概略説明図FIG. 20 is a schematic explanatory view of a conventional device.

【図21】従来装置のデマウント処理動作を示したタイ
ムチャート
FIG. 21 is a time chart showing the demount processing operation of the conventional device.

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

10:セルブロック(媒体保管庫) 12,12−1,12−2:アクセッサ(媒体運搬機
構) 14:レール 15:媒体投入排出口 16−1,16−2:デッキユニット 18−1,18−2:コントロールユニット 20−1〜20−4:ホストコンピュータ(上位装置) 22−1〜22−4:チャネル・インタフェースバス 24:ライブラリ装置 26,26−1〜26−4:ディレクタ(入出力制御装
置) 28:アクセッサ・コントローラ 30:アクセッサ・コントローラ(予備) 32−1,32−2:マシン・コントローラ 34:記録再生装置 34−1〜34−12:磁気テープ装置(MTU) 36−1,36−2,38−1,38−2:デバイス・
インタフェース・バス 40:走行部 42:支柱 44:走行用モータ 46:リフト部 48:ロボットハンド 50:ネジシャフト 52:旋回用モータ 54,60:プーリベルト 56:プーリ 58:モータ 62:媒体保持部 64:固定プレート 66:ジョブ 68:OS 70:ジョブコントロール・プログラム 72:データマネージメント・プログラム 74:データ変換プログラム 76:ライブラリサポート・プログラム 78:制御用ディスク装置 80:コンソールパネル 82:入出力サブシステム処理部 90:MPU部 92:ホスト処理部 94:MTU処理部 96:アクセッサ処理部 98:ホストインタフェース回路部 100:データ転送回路部 102:バッファ回路部 104:リード/ライト回路部 106:MTUインタフェース回路部 108:アクセッサインタフェース回路部 110:制御バス 200:全体制御部 202:起動受け付け処理部 204:コマンド取り込み部 206:選択I/O使用可能チェック部 208:初期ステータス処理部 210:最終ステータス処理部 212:アイドル処理部 214:ステータス割込み処理部 216:第1擬似ステータス報告部 218:第2擬似ステータス報告部 220:機番変換処理部
10: Cell block (medium storage) 12, 12-1, 12-2: Accessor (medium carrying mechanism) 14: Rail 15: Medium loading / unloading port 16-1, 16-2: Deck unit 18-1, 18- 2: Control unit 20-1 to 20-4: Host computer (upper device) 22-1 to 22-4: Channel interface bus 24: Library device 26, 26-1 to 26-4: Director (input / output control device ) 28: Accessor controller 30: Accessor controller (spare) 32-1, 32-2: Machine controller 34: Recording / reproducing device 34-1 to 34-12: Magnetic tape unit (MTU) 36-1, 36- 2, 38-1, 38-2: device
Interface bus 40: Traveling unit 42: Struts 44: Traveling motor 46: Lifting unit 48: Robot hand 50: Screw shaft 52: Turning motor 54, 60: Pulley belt 56: Pulley 58: Motor 62: Medium holding unit 64 : Fixed plate 66: Job 68: OS 70: Job control program 72: Data management program 74: Data conversion program 76: Library support program 78: Control disk unit 80: Console panel 82: Input / output subsystem processing unit 90: MPU unit 92: Host processing unit 94: MTU processing unit 96: Accessor processing unit 98: Host interface circuit unit 100: Data transfer circuit unit 102: Buffer circuit unit 104: Read / write circuit unit 106: MTU interface Interface circuit unit 108: accessor interface circuit unit 110: control bus 200: overall control unit 202: activation acceptance processing unit 204: command acquisition unit 206: selected I / O availability check unit 208: initial status processing unit 210: final status Processing unit 212: Idle processing unit 214: Status interrupt processing unit 216: First pseudo status reporting unit 218: Second pseudo status reporting unit 220: Machine number conversion processing unit

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】着脱自在な記憶媒体の読み書きを行う記録
再生装置(34)と、 前記記憶媒体の投入と排出を行う投入排出装置(15)
と、 前記記憶媒体の複数を格納する媒体保管庫(10)と、 前記記憶媒体を媒体保管庫(10)と記録再生装置(3
4)又は媒体保管庫(10)と投入排出装置(15)と
の間で運搬する媒体運搬装置(25)と、 上位装置(20)から第1ムーブ命令、ロード命令、リ
ード又はライト命令およびアンロード命令、第2ムーブ
命令を順次受領し、前記第1ムーブ命令に基づき媒体運
搬装置(25)により前記記憶媒体を前記媒体保管庫
(10)又は前記投入排出装置(15)から前記記録再
生装置(34)に運搬させ、次に前記ロード命令で運搬
された記憶媒体を前記記録再生装置(34)にローディ
ングして前記リード又はライト命令に基づいてリード又
はライト動作を行わせ、前記リード又はライト動作の終
了後に前記アンロード命令に基づいて前記記録再生装置
(34)から記憶媒体を排出させ、最後に前記第2ムー
ブ命令に基づいて排出された記憶媒体を前記媒体運搬装
置(25)により前記媒体保管庫(10)又は前記投入
排出装置に運搬させる入出力制御装置(26)と、を備
えたライブラリ装置に於いて、 前記入出力制御装置(26)に、前記アンロード命令に
基づく前記記録再生装置(34)の媒体排出動作の開始
からアンロード動作の終了までの間に、前記上位装置
(20)に擬似的なアンロード動作の終了報告を行って
前記第2ムーブコマンドを発行させる第1擬似ステータ
ス報告手段(216)を設けたことを特徴とするライブ
ラリ装置。
1. A recording / reproducing device (34) for reading and writing a removable storage medium, and a loading / unloading device (15) for loading and unloading the storage medium.
A medium storage (10) for storing a plurality of the storage media, a storage (10) for the storage media, and a recording / reproducing apparatus (3).
4) or the medium transport device (25) that transports between the medium storage (10) and the loading / unloading device (15), and the first move command, load command, read or write command, and the command from the host device (20). A load command and a second move command are sequentially received, and the recording medium is transferred from the medium storage (10) or the loading / unloading device (15) to the recording / reproducing device by a medium carrying device (25) based on the first move command. (34) and then the storage medium carried by the load command is loaded into the recording / reproducing device (34) to perform a read or write operation based on the read or write command. After the operation is completed, the storage medium is ejected from the recording / reproducing device (34) based on the unload command, and finally the memory ejected based on the second move command. An input / output control device (26) for transporting a medium to the medium storage (10) or the loading / unloading device by the medium transport device (25), comprising the input / output control device (26). ), A pseudo unload operation end report is sent to the host device (20) between the start of the medium ejection operation of the recording / reproducing apparatus (34) based on the unload command and the end of the unload operation. A library device comprising a first pseudo status reporting unit (216) for issuing the second move command.
【請求項2】請求項1記載のライブラリ装置に於いて、
前記第1擬似ステータス報告手段(216)は、前記ア
ンロード命令に基づき前記記録再生装置(34)にアン
ロード動作の指示を行うと同時に、前記上位装置(2
0)に擬似的なアンロード動作の終了報告を行って前記
第2ムーブコマンドを発行させることを特徴とするライ
ブラリ装置。
2. The library device according to claim 1, wherein
The first pseudo status reporting means (216) instructs the recording / reproducing device (34) to perform an unload operation based on the unload command, and at the same time, the upper device (2).
0) The end of the pseudo unload operation is reported to 0) and the second move command is issued.
【請求項3】請求項1記載のライブラリ装置に於いて、
前記記録再生装置(34)は磁気テープカートリッジを
記憶媒体に使用し、前記第1擬似ステータス報告手段
(216)は、前記記録再生装置(34)からのテープ
巻戻しの完了報告を受領すると同時に前記上位装置(2
0)に擬似的なアンロード動作の終了報告を行って前記
第2ムーブコマンドを発行させることを特徴とするライ
ブラリ装置。
3. The library device according to claim 1, wherein
The recording / reproducing apparatus (34) uses a magnetic tape cartridge as a storage medium, and the first pseudo-status reporting means (216) receives the tape rewinding completion report from the recording / reproducing apparatus (34) and at the same time. Host device (2
0) The end of the pseudo unload operation is reported to 0) and the second move command is issued.
【請求項4】請求項2又は3記載のライブラリ装置に於
いて、前記入出力制御装置(26)は、前記第1擬似ス
テータス報告手段(216)の擬似的なアンロード終了
報告に応じて前記上位装置(20)から発行された前記
第2ムーブ命令を保留し、前記記録再生装置(34)か
らアンロード動作の終了報告を受けた際に、前記保留中
の第2ムーブ命令に基づいて運搬動作を前記媒体運搬装
置(25)に指示することを特徴とするライブラリ装
置。
4. The library device according to claim 2 or 3, wherein the input / output control device (26) is responsive to the pseudo unload completion report of the first pseudo status reporting means (216). When the second move command issued from the host device (20) is suspended, and when the end of the unload operation is received from the recording / reproducing device (34), it is transported based on the suspended second move command. A library device characterized by instructing an operation to said medium carrying device (25).
【請求項5】請求項1記載のライブラリ装置に於いて、
更に、 前記アンロード動作の擬似的な終了報告に伴って前記上
位装置(20)から前記第2ムーブコマンドを受領した
際に、前記記録再生装置(34)から排出した記憶媒体
を元の位置に戻す運搬動作の擬似的な終了報告を行って
前記上位装置(20)に新たな入出力要求に基づく命令
を発行させる第2擬似ステータス報告手段と、 前記擬似的な運搬動作の終了報告に応じて前記上位装置
(20)から同一の記録再生装置(34)を指定する論
理機番(#i)をもつ命令を受領した際に、該命令で指
定された論理機番(#i)を空き状態にある他の記録再
生装置(34)の論理機番(#j)に変換して該命令に
よる動作を指示する機番変換手段と、を備えたことを特
徴とするライブラリ装置。
5. The library device according to claim 1, wherein:
Furthermore, when the second move command is received from the host device (20) in response to the pseudo end report of the unload operation, the storage medium ejected from the recording / reproducing device (34) is returned to its original position. Second pseudo status reporting means for issuing a pseudo end report of the carrying operation to be returned and issuing an instruction based on a new input / output request to the host device (20), and in response to the end report of the pseudo carrying operation. When a command having the logical machine number (#i) designating the same recording / reproducing apparatus (34) is received from the host device (20), the logical machine number (#i) designated by the command is free. And a machine number conversion means for converting into a logical machine number (#j) of the other recording / reproducing apparatus (34) and instructing an operation according to the command.
【請求項6】請求項1記載のライブラリ装置に於いて、
前記機番変換手段は、前記擬似的完了報告を行った前記
記録再生装置(34)のアンロード動作の完了までに受
領した新たな入出力要求に伴う前記第1ムーブ命令につ
いて、前記第1ムーブ命令及び後続する一連のロード命
令、リード又はライト命令、アンロード命令、及び第2
ムーブ命令の各命令について、論理機番の変換による動
作を指示することを特徴とするライブラリ装置。
6. The library device according to claim 1, wherein
The machine number conversion means, with respect to the first move instruction accompanying the new input / output request received until the completion of the unloading operation of the recording / reproducing device (34) that has issued the pseudo completion report, performs the first move. An instruction and a series of subsequent load instructions, a read or write instruction, an unload instruction, and a second
A library device characterized by instructing an operation by conversion of a logical machine number for each move instruction.
【請求項7】上位装置(20)からの第1ムーブ命令に
基づき媒体運搬装置(25)により前記記憶媒体を媒体
保管庫(10)又は投入排出装置(15)から記録再生
装置(34)に運搬させる第1運搬過程と、 前記第1ムーブ命令に続く前記上位装置(20)からの
ロード命令に基づき、前記第1運搬過程で運搬された前
記記憶媒体を前記記録再生装置(34)にローディング
させるロード過程と、 前記第1ムーブ命令に続く前記上位装置(20)からの
リード命令又はライト命令に基づいて前記記録再生装置
(34)にリード又はライト動作を行わせる入出力過程
と、 前記リード命令又はライト命令に続く前記上位装置(2
0)からのアンロード命令に基づいて前記記録再生装置
(34)から前記記憶媒体を排出させるアンロード過程
と、 前記アンロード過程における前記記録再生装置(34)
からの前記記憶媒体の排出動作の開始から排出までのア
ンロード動作中に、前記上位装置(20)に擬似的なア
ンロード動作の終了報告を行って前記第2ムーブコマン
ドを発行させる第1擬似ステータス報告過程と、 前記アンロード命令に続く前記上位装置(20)からの
第2ムーブ命令に基づいて、前記アンロード過程で排出
された記憶媒体を前記媒体運搬装置(25)により前記
媒体保管庫(10)又は前記投入排出装に運搬させる第
2運搬過程と、を備えたことを特徴とするライブラリ装
置の制御方法。
7. The recording medium is transferred from the medium storage (10) or the loading / unloading device (15) to the recording / reproducing device (34) by the medium carrying device (25) based on the first move command from the host device (20). Based on a first transportation process for transporting and a load command from the host device (20) following the first move command, the storage medium transported in the first transportation process is loaded into the recording / reproducing device (34). A loading process for causing the recording / reproducing device (34) to perform a read or write operation based on a read command or a write command from the host device (20) following the first move command; Command or write command followed by the host device (2
0), the recording / reproducing apparatus (34) ejecting the storage medium from the recording / reproducing apparatus (34), and the recording / reproducing apparatus (34) in the unloading step.
During the unloading operation from the start to the ejection of the storage medium from the first to the second device, the first pseudo command is issued to the upper-level device (20) to end the pseudo unloading operation and issue the second move command. Based on the status report process and the second move command from the upper device (20) following the unload command, the storage medium ejected in the unload process is transferred to the media storage device by the media transport device (25). (10) or a second transportation step of transporting to the loading / unloading device, the method for controlling a library device.
【請求項8】請求項7記載のライブラリ装置の制御方法
に於いて、前記第1擬似ステータス報告過程は、前記ア
ンロード過程で前記記録再生装置(34)にアンロード
動作の指示を行うと同時に、前記上位装置(20)に擬
似的なアンロード動作の終了報告を行って前記第2ムー
ブコマンドを発行させることを特徴とするライブラリ装
置の制御方法。
8. The method of controlling a library device according to claim 7, wherein the first pseudo status reporting step simultaneously instructs the recording / reproducing apparatus (34) to perform an unload operation in the unloading step. A method of controlling a library device, comprising: issuing a second move command by issuing a pseudo unload operation end report to the host device (20).
【請求項9】請求項7記載のライブラリ装置の制御方法
に於いて、前記記録再生装置(34)は磁気テープカー
トリッジを記憶媒体に使用し、前記第1擬似ステータス
報告過程は、前記アンロード過程における前記記録再生
装置(34)からの前記磁気テープカートリッジのテー
プ巻戻しの完了報告を受領すると同時に、前記上位装置
(20)に擬似的なアンロード動作の終了報告を行って
前記第2ムーブコマンドを発行させることを特徴とする
ライブラリ装置の制御方法。
9. The library device control method according to claim 7, wherein the recording / reproducing device (34) uses a magnetic tape cartridge as a storage medium, and the first pseudo status reporting process is the unloading process. At the same time as receiving the completion report of the tape rewinding of the magnetic tape cartridge from the recording / reproducing device (34), the second move command is sent to the upper device (20) to report the end of the pseudo unload operation. A method for controlling a library device, wherein:
【請求項10】請求項8又は9記載のライブラリ装置の
制御方法に於いて、前記第2運搬過程は、前記第1擬似
ステータス報告過程による擬似的なアンロード終了報告
に基づき前記上位装置(20)から発行された前記第2
ムーブ命令を保留し、前記記録再生装置(34)からア
ンロード動作の終了報告を受けた際に、前記保留中の第
2ムーブ命令に基づいて運搬動作を前記媒体運搬装置
(25)に指示することを特徴とするライブラリ装置の
制御方法。
10. The library device control method according to claim 8 or 9, wherein the second transportation process is based on a pseudo unload completion report by the first pseudo status reporting process. ) Said second issued by
When the move command is suspended and the end of the unload operation is received from the recording / reproducing device (34), the carrying operation is instructed to the medium carrying device (25) based on the suspended second move command. A method for controlling a library device, comprising:
【請求項11】請求項7記載のライブラリ装置の制御方
法に於いて、更に、 前記アンロード動作の擬似的な終了報告に伴って前記上
位装置(20)から前記第2ムーブコマンドを受領した
際に、記録再生装置(34)から排出した記憶媒体を元
の位置に戻す運搬動作の擬似的な終了報告を行って前記
上位装置(20)に新たな入出力要求に基づく命令を発
行させる第2擬似ステータス報告過程と、 前記擬似的な運搬動作の終了報告に応じて前記上位装置
(20)から同一の記録再生装置(34)を指定する論
理機番(#i)をもつ命令を受領した際に、該命令で指
定された論理機番(#i)を空き状態にある他の記録再
生装置(34)の論理機番(#j)に変換して該命令に
よる動作を指示する機番変換過程と、を備えたことを特
徴とするライブラリ装置の制御方法。
11. The library device control method according to claim 7, further comprising the step of receiving the second move command from the host device (20) in response to a pseudo end report of the unload operation. A second completion report of a transport operation for returning the storage medium discharged from the recording / reproducing device (34) to the original position, and causing the host device (20) to issue a command based on a new input / output request. When a command having a logical unit number (#i) designating the same recording / reproducing device (34) is received from the host device (20) in response to the pseudo status reporting process and the pseudo transportation operation end report. In addition, the logical machine number (#i) designated by the command is converted into the logical machine number (#j) of the other recording / reproducing device (34) in the idle state, and the machine number conversion for instructing the operation by the command is performed. Characterized by having a process Method of controlling the library system.
【請求項12】請求項7記載のライブラリ装置の制御方
法に於いて、前記機番変換過程は、前記擬似的終了報告
を行った前記記録再生装置(34)のアンロード動作の
完了までに受領した新たな入出力要求に伴う前記第1ム
ーブ命令について、前記第1ムーブ命令及び後続する一
連のロード命令、リード又はライト命令、アンロード命
令、及び第2ムーブ命令の各命令について、論理機番の
変換による動作指示を行うことを特徴とするライブラリ
装置の制御方法。
12. The method of controlling a library device according to claim 7, wherein the machine number conversion process is received before the completion of the unload operation of the recording / reproducing device (34) which has issued the pseudo end report. With respect to the first move instruction associated with the new input / output request, a logical unit number is assigned to each of the first move instruction and the subsequent series of load instruction, read or write instruction, unload instruction, and second move instruction. A method of controlling a library device, wherein an operation instruction is given by conversion of the library.
JP32190293A 1993-12-21 1993-12-21 Library apparatus and control method thereof Expired - Lifetime JP2824013B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP32190293A JP2824013B2 (en) 1993-12-21 1993-12-21 Library apparatus and control method thereof
US08/351,601 US5654839A (en) 1993-12-21 1994-12-07 Control apparatus and method for conveyance control of medium in library apparatus and data transfer control with upper apparatus
US08/814,384 US5986835A (en) 1993-12-21 1997-03-11 Control apparatus and method for conveyance control of medium in library apparatus and data transfer control with upper apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32190293A JP2824013B2 (en) 1993-12-21 1993-12-21 Library apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JPH07175601A true JPH07175601A (en) 1995-07-14
JP2824013B2 JP2824013B2 (en) 1998-11-11

Family

ID=18137685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32190293A Expired - Lifetime JP2824013B2 (en) 1993-12-21 1993-12-21 Library apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP2824013B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013077340A (en) * 2011-09-29 2013-04-25 Fujitsu Ltd Library device, and storage medium conveyance control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013077340A (en) * 2011-09-29 2013-04-25 Fujitsu Ltd Library device, and storage medium conveyance control method

Also Published As

Publication number Publication date
JP2824013B2 (en) 1998-11-11

Similar Documents

Publication Publication Date Title
US5654839A (en) Control apparatus and method for conveyance control of medium in library apparatus and data transfer control with upper apparatus
JPH05242656A (en) Automatic storage library
JP2824013B2 (en) Library apparatus and control method thereof
JP2602904B2 (en) Automatic changer for optical disks
JP3353953B2 (en) Library device
JPS61234425A (en) Device control system
JP2504256B2 (en) Control method of library type magnetic tape subsystem
JP3121387B2 (en) Magnetic tape control device
JP2676891B2 (en) Mass storage device and recording medium ejection control method for mass storage device
JP2922095B2 (en) Library device
JPH0635615A (en) Library device controller
JP3355224B2 (en) Library device
JP3183782B2 (en) Library device and library system
JPH04153106A (en) Discharge control system of library device
JPH02177168A (en) Optical disk autochanger
JPH0492241A (en) Control system for library type magnetic tape subsystem
JPH04162248A (en) Library apparatus
JPH10162460A (en) Control program updating method and changer device using the method
JPH07220346A (en) Collective magnetic tape storage
JPH02278327A (en) Initialization system for recording medium
JPH04310667A (en) Sequential access control method of library system
JPH0227750B2 (en) SHUGOKAATORITSUJIKIOKUSOCHI
JPH10255359A (en) Accessor control device
JPH0296964A (en) Automatic library system for memory medium
JPH0281355A (en) Cartridge mt library device

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: 19980818