JP2922095B2 - Library device - Google Patents

Library device

Info

Publication number
JP2922095B2
JP2922095B2 JP5182480A JP18248093A JP2922095B2 JP 2922095 B2 JP2922095 B2 JP 2922095B2 JP 5182480 A JP5182480 A JP 5182480A JP 18248093 A JP18248093 A JP 18248093A JP 2922095 B2 JP2922095 B2 JP 2922095B2
Authority
JP
Japan
Prior art keywords
medium transport
busy
control unit
channel
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.)
Expired - Fee Related
Application number
JP5182480A
Other languages
Japanese (ja)
Other versions
JPH0736637A (en
Inventor
朋憲 間瀬
恵一 加藤
陽一 高橋
安彦 花岡
芳明 越智
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 JP5182480A priority Critical patent/JP2922095B2/en
Priority to US08/218,117 priority patent/US5513156A/en
Publication of JPH0736637A publication Critical patent/JPH0736637A/en
Priority to US08/575,482 priority patent/US5768141A/en
Priority to US08/579,087 priority patent/US5640510A/en
Application granted granted Critical
Publication of JP2922095B2 publication Critical patent/JP2922095B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Tape Cassette Changers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、磁気テープカートリッ
ジ等を記憶媒体とするライブラリ装置に関し、特に複数
の媒体運搬情報を受領して2台設けた媒体運搬装置を同
時駆動するようにしたライブラリ装置に関する。近年の
コンピュータシステムでは外部記憶装置であるMTU装
置や光ディスク装置等の媒体数の増加に伴い、運用の効
率化や保守の容易性あるいは装置の信頼性等が要求され
ている。このため媒体の保管や装置への運搬の自動運用
を行うライブラリ装置が提供されているが、ジョブの稼
働数やホストコンピュータの接続数が増加すると、媒体
運搬情報が増加するので、これを効率良く実行する必要
がある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a library apparatus using a magnetic tape cartridge or the like as a storage medium, and more particularly to a library apparatus which receives a plurality of pieces of medium transport information and simultaneously drives two medium transport apparatuses. About. In recent computer systems, as the number of media such as an MTU device and an optical disk device, which are external storage devices, increases, there is a demand for more efficient operation, easier maintenance, reliability of the device, and the like. For this reason, a library device for automatically storing and transporting media to the device has been provided.However, as the number of running jobs and the number of connections to the host computer increase, media transport information increases. Need to do it.

【0002】[0002]

【従来の技術】図35は従来のライブラリ装置の概略を
示す。ライブラリ装置400は上位のホストコンピュー
タ20−1〜20−4の情報保管庫として使用され、デ
ィレクタ402−1,402−2は例えばA〜D、E〜
Fの4チャネルをもち、この場合は、チャネルa,bと
チャネルE,Fを使用している。ライブラリ装置400
の内部には、磁気テープカートリッジ等の媒体を収納す
る媒体保管庫としてのセルブロック410が設けられ、
セルブロック410に沿ったレール414上を走行する
媒体運搬機構として2台のアクセッサ408−1,40
8−2が設けられる。
2. Description of the Related Art FIG. 35 schematically shows a conventional library apparatus. The library device 400 is used as an information storage for higher-level host computers 20-1 to 20-4.
In this case, channels a and b and channels E and F are used. Library device 400
Inside, is provided a cell block 410 as a medium storage for storing a medium such as a magnetic tape cartridge,
The two accessors 408-1 and 408-40 serve as a medium transport mechanism that runs on a rail 414 along the cell block 410.
8-2 are provided.

【0003】アクセッサ408−1,408−2はマシ
ン・コントローラ406−1により直接制御され、アク
セッサ408−2はマシン・コントローラ406−2に
より直接制御される。マシン・コントローラ406−
1,406−2の上位には、アクセッサ・コントローラ
404が設けられる。通常は、アクセッサ408−1が
動作して運搬制御を実行しており、アクセッサ408−
2は動作していない。
The accessors 408-1 and 408-2 are directly controlled by a machine controller 406-1, and the accessor 408-2 is directly controlled by a machine controller 406-2. Machine controller 406-
An accessor controller 404 is provided above 1,406-2. Normally, the accessor 408-1 operates to execute transport control, and the accessor 408-
2 is not working.

【0004】これは1本のレール414上を2台のアク
セッサ408−1,408−2が動作するため、同時に
動作できず、排他制御法により別々に動作するように、
1つの制御部で一元的に管理を行うためである。このた
めアクセッサ・コントローラ404は、アクセッサ40
8−1が障害等を発生し実行不能に陥った時の交代用の
予備機として存在する。
[0004] Since two accessors 408-1 and 408-2 operate on one rail 414, they cannot operate at the same time and operate separately by an exclusive control method.
This is because one control unit performs centralized management. For this reason, the accessor controller 404
8-1 exists as a substitute spare machine when a failure or the like occurs and execution becomes impossible.

【0005】図36は従来装置における媒体運搬命令受
領時の動作を示す。ここでディレクタ402−1,40
2−2の物理機番アドレスをD0,D1と定義し、また
アクセッサ408−1,408−2の物理機番アドレス
をAS0,AS1と定義する。いまホストコンピュータ
20−2がチャネルBより論理機番アドレス(論理入出
力デバイスアドレス;論理IODアドレス)#0に媒体
運搬命令を発行したとする。尚、実際の装置では論理機
番アドレス#8を使用している。
FIG. 36 shows the operation of the conventional apparatus when receiving a medium transport command. Here, the directors 402-1 and 40-1
The physical machine number addresses of 2-2 are defined as D0 and D1, and the physical machine address of the accessors 408-1 and 408-2 are defined as AS0 and AS1. Now, it is assumed that the host computer 20-2 issues a medium transport instruction to the logical machine number address (logical input / output device address; logical IOD address) # 0 from channel B. Incidentally, the logical device number address # 8 is used in the actual device.

【0006】ディレクタ402−1はチャネルBより媒
体運搬命令を受け取ると、アクセッサ・コントローラ4
04に対して媒体運搬指示をする。アクセッサ・コント
ローラ404は、ディレクタ402−1からの運搬指示
を受領し、実行状態管理テーブル422を参照し、実行
フラグがセットされていないことから、アクセッサ40
8−1,408−2が使用可能であることを確認し、デ
ィレクタ402に運搬指示受領を応答する。
[0006] When the director 402-1 receives the medium transport command from the channel B, the accessor controller 4
04 is instructed to transport the medium. The accessor controller 404 receives the transport instruction from the director 402-1, refers to the execution state management table 422, and determines that the execution flag has not been set.
Confirm that 8-1 and 408-2 are available, and respond to the director 402 with the receipt of the transport instruction.

【0007】次にディレクタ402−1はアクセッサ・
コントローラ404からの受領応答を確認し、機番テー
ブル418−1のチャネルBの位置の実行フラグをセッ
トし、チャネルBに対してイニシャルステータスを報告
する。続いてディレクタ402−1はチャネルBより媒
体運搬情報「XXXX」を受領し、アクセッサ・コント
ローラ404に転送する。ここで媒体運搬情報は通常、
ムーブコマンドとして知られており、媒体運搬情報は移
動元アドレス(From Address)と移動先ア
ドレス(To Address)をパラメータとして持
つ。
[0007] Next, the director 402-1 has an accessor
After confirming the reception response from the controller 404, the execution flag of the position of the channel B in the device number table 418-1 is set, and the initial status is reported to the channel B. Subsequently, the director 402-1 receives the medium transport information “XXXX” from the channel B and transfers it to the accessor controller 404. Here, the media transport information is usually
This is known as a move command, and the medium transport information has a source address (From Address) and a destination address (To Address) as parameters.

【0008】アクセッサ・コントローラ404はディレ
クタ402−1から転送された媒体運搬情報「XXX
X」を運搬情報テーブル420に格納し、アクセッサ4
08−1に運搬動作を指示した後、ディレクタ402ー
1に受領を応答する。このとき実行状態管理テーブル4
22におけるアクセッサ機番AS0のスロットに実行フ
ラグをセットする。ディレクタ402−1は、アクセッ
サ・コントローラ404からの受領応答を確認後、チャ
ネルBに対してチャネルエンドステータスを報告する。
[0008] The accessor controller 404 transmits the medium transport information “XXX” transferred from the director 402-1.
X ”is stored in the transport information table 420 and the accessor 4
After instructing the transport operation to 08-1, a response is received to the director 402-1. At this time, the execution state management table 4
The execution flag is set to the slot of the accessor model number AS0 in 22. After confirming the response from the accessor controller 404, the director 402-1 reports the channel end status to the channel B.

【0009】図37は図36に続いてチャネルAから論
理機番アドレス#0の媒体運搬命令を受領した場合の動
作を示す。このときアクセッサ408−1がチャネルB
からの命令で媒体を運搬中であるため、チャネルAより
媒体運搬命令が発行されるとデバイスビジーを報告す
る。即ち、ディレクタ402−1はチャネルAより論理
機番アドレス#0の媒体運搬命令を受け取ると、アクセ
ッサ・コントローラ404に対して命令受領を指示す
る。アクセッサ・コントローラ404は実行状態管理テ
ーブル422を参照し、アクセッサ機番AS0の実行フ
ラグがセットされているため、ビジー管理テーブル42
4のディレクタ機番アドレスD0の位置にビジーフラグ
をセットし、ディレクタ402−1にビジー応答を返
す。
FIG. 37 shows an operation in the case where a medium transport command of the logical device number address # 0 is received from the channel A, following FIG. At this time, accessor 408-1 is set to channel B
Since the medium is being conveyed according to the instruction from, when the medium conveyance instruction is issued from the channel A, the device reports that the device is busy. That is, when the director 402-1 receives the medium transport instruction of the logical machine number address # 0 from the channel A, the director 402-1 instructs the accessor controller 404 to receive the instruction. The accessor controller 404 refers to the execution state management table 422, and since the execution flag of the accessor model number AS0 has been set, the busy management table 42
4 sets a busy flag at the position of the director machine number address D0, and returns a busy response to the director 402-1.

【0010】ディレクタ402はアクセッサ・コントロ
ーラ404からのビジー応答を確認し、機番テーブル4
18−1のチャネルAの位置にビジー報告フラグをセッ
トし、チャネルAに対してデバイスビジーステータスを
報告する。図38は図37に続いてチャネルEから論理
機番アドレス#1の媒体運搬命令を受領した場合の動作
を示す。この場合にも、アクセッサ408−1が媒体運
搬中であるため、最終的にチャネルEにビジーを報告す
る。
The director 402 confirms the busy response from the accessor controller 404 and checks the machine number table 4
A busy report flag is set at the position of channel A in 18-1 and a device busy status is reported to channel A. FIG. 38 shows the operation in the case where a medium transport instruction of the logical device number address # 1 is received from the channel E following FIG. Also in this case, since the accessor 408-1 is carrying the medium, the busy state is finally reported to the channel E.

【0011】図39はアクセッサ408−1の媒体運搬
が終了した時の動作を示す。アクセッサ・コントローラ
404は、アクセッサ408−1による媒体運搬の終了
を確認後、ディレクタ402−1に終了報告し、実行状
態管理テーブル422の実行フラグをクリアする。ディ
レクタ402−1はアクセッサ・コントローラ404か
らの運搬終了報告を受領後、機番テーブル418−1を
参照し、媒体運搬命令のあったチャネルBに対して運搬
終了ステータスを報告し、チャネルBの位置の実行フラ
グをクリアする。
FIG. 39 shows the operation when the medium transport of the accessor 408-1 is completed. After confirming that the medium transport by the accessor 408-1 has been completed, the accessor controller 404 reports the completion to the director 402-1 and clears the execution flag in the execution state management table 422. After receiving the transport end report from the accessor controller 404, the director 402-1 refers to the machine number table 418-1, reports the transport end status for the channel B for which the medium transport instruction has been issued, and indicates the position of the channel B. Clear the execution flag.

【0012】図40は図39の媒体運搬終了後のビジー
解除の報告動作を示す。アクセッサ・コントローラ40
4は実行状態管理テーブル422の実行フラグがオフに
なったことを確認後、ディレクタ402−1に対してビ
ジー解除を報告し、ビジー管理テーブル424のディレ
クタ機番アドレスD0のビジーフラグをクリアする。デ
ィレクタ402−1は、アクセッサ・コントローラ40
4からのビジー解除報告の確認後、ビジー報告フラグが
セットされているチャネルAに対してビジー解除ステー
タスを報告し、また機番テーブル418−1のビジー報
告フラグをクリアする。チャネルAはディレクタ402
−1からのビジー解除ステータスを受領後、論理機番ア
ドレス#0を指定して媒体運搬命令を再発行する。
FIG. 40 shows the operation of reporting the busy release after the completion of the conveyance of the medium in FIG. Accessor controller 40
4 confirms that the execution flag in the execution state management table 422 has been turned off, reports the busy release to the director 402-1, and clears the busy flag of the director machine number address D0 in the busy management table 424. The director 402-1 includes the accessor controller 40
After confirming the busy release report from No. 4, the busy release status is reported to the channel A for which the busy report flag is set, and the busy report flag in the device number table 418-1 is cleared. Channel A is the director 402
After receiving the busy release status from -1, the medium transport instruction is reissued by designating the logical machine number address # 0.

【0013】図41は従来装置における図36〜図40
の動作シーケンスをまとめて示す。チャネルBからの媒
体運搬命令500はディレクタ402−1で受領されて
アクセッサ・コントローラ404に媒体運搬指示502
として転送される。アクセッサ・コントローラ404は
受領応答504を返し、チャネルBにゼロステータス5
06を報告する。次にディレクタ402−1はチャネル
Bから媒体運搬情報508を受領し、運搬情報510と
してアクセッサ・コントローラ404に転送し、アクセ
ッサ208−1に対し運搬指示516が行われる。
FIG. 41 shows a conventional apparatus shown in FIGS.
Are shown together. The media transport instruction 500 from channel B is received by the director 402-1 and the media transport instruction 502 is sent to the accessor controller 404.
Will be forwarded as The accessor controller 404 returns an acknowledgment 504 and sends a zero status 5 to channel B.
Report 06. Next, the director 402-1 receives the medium transport information 508 from the channel B, transfers it as transport information 510 to the accessor controller 404, and issues a transport instruction 516 to the accessor 208-1.

【0014】同時にアクセッサ・コントローラ404は
受領応答512を返し、ディレクタ402−1はチャネ
ルBにチャネルエンドステータス514を報告する。次
にチャネルAからの媒体運搬命令518がディレクタ4
02−1で受領されてアクセッサ・コントローラ404
に媒体運搬指示520として転送される。アクセッサ・
コントローラ404はビジー応答522を返し、ディレ
クタ402−1はチャネルAにデバスイビジーステータ
ス524を報告する。
At the same time, accessor controller 404 returns an acknowledgment 512, and director 402-1 reports channel end status 514 to channel B. Next, the media transport instruction 518 from the channel A is sent to the director 4.
Accessor controller 404 received at 02-1
Is transferred as a medium transport instruction 520. Accessor
The controller 404 returns a busy response 522, and the director 402-1 reports the device busy status 524 to channel A.

【0015】次にチャネルEからの媒体運搬命令526
がディレクタ402−2で受領されてアクセッサ・コン
トローラ404に媒体運搬指示528として転送され
る。アクセッサ・コントローラ404はビジー応答53
0を返し、ディレクタ402−2はチャネルEにデバス
イビジーステータス532を報告する。ここでアクセッ
サ408−1による媒体運搬が終了してアクセッサ・コ
ントローラ404に運搬終了534が行われたとする
と、ディレクタ402−2に対し運搬終了報告536を
行い、ディレクタ402−2はデバイスエンドステータ
ス538をチャネルBに報告する。続いてビジー解除5
40を受けてディレクタ402−1はチャネルAにビジ
ー解除ステータス542を報告する。これを受けてチャ
ネルAから媒体運搬命令544が再発行される。
Next, a media transport instruction 526 from channel E
Is received by the director 402-2 and transferred to the accessor controller 404 as the media transport instruction 528. Accessor controller 404 is busy response 53
Returning 0, the director 402-2 reports the device busy status 532 to channel E. Here, assuming that the medium conveyance by the accessor 408-1 has been completed and the conveyance end 534 has been performed to the accessor controller 404, a conveyance end report 536 is sent to the director 402-2, and the director 402-2 displays the device end status 538. Report to channel B. Then busy release 5
Upon receiving the command 40, the director 402-1 reports the busy release status 542 to the channel A. In response to this, the medium transport instruction 544 is reissued from the channel A.

【0016】[0016]

【発明が解決しようとする課題】このような従来装置に
よればディレクタ402−1,402−2では機番テー
ブル418−1,418−2を1アドレス分しか持た
ず、またアクセッサ・コントローラ404では媒体運搬
情報を1つしか保持しない。このためライブラリ装置は
論理機番アドレスを1つしか割り当てることができず、
またチャネルからの媒体運搬命令に対し、1つの媒体運
搬命令を完全に終了しないと次の媒体運搬命令の実行に
とりかかれないという逐次処理しかできなかった。
According to such a conventional apparatus, directors 402-1 and 402-2 have machine number tables 418-1 and 418-2 for only one address, and accessor controller 404 does not. Only one media transport information is retained. For this reason, the library device can only assign one logical machine number address,
Further, in response to a medium transport instruction from a channel, only one sequential processing can be performed such that one medium transport instruction must be completely completed before the next medium transport instruction can be executed.

【0017】このため、ライブラリ装置がすでに1つの
媒体運搬命令を実行中の場合、次の媒体運搬命令を実行
することができるのは、現在実行中の命令の終了を示す
デバイスエンドステータスを報告した後となる。従っ
て、従来のライブラリ装置では以下のような問題を生じ
ていた。第1に、ライブラリ装置は複数の機番指定がで
きないため、同一チャネルからの異なる機番に対する複
数の媒体運搬命令を実行できない。
For this reason, when the library apparatus is already executing one medium transport instruction, the next medium transport instruction can be executed because a device end status indicating the end of the currently executed instruction is reported. Later. Therefore, the conventional library device has the following problems. First, since the library device cannot specify a plurality of device numbers, it cannot execute a plurality of media transport instructions for different device numbers from the same channel.

【0018】第2に、ライブラリ装置は複数のチャネル
から同時に発行された媒体運搬命令のうち1命令しか受
け付けることができない。第3に、ライブラリ装置はあ
るディレクタで運搬命令を実行中は、他のディレクタで
運搬命令を受け付けることができない。第4に、ライブ
ラリ装置は媒体運搬機構としてのアクセッサを複数台持
つにもかかわらず、運搬動作を行うのは常に1台だけで
あり、利用効率が悪い。
Second, the library device can accept only one of the media transport instructions issued simultaneously from a plurality of channels. Third, while the library device is executing a transport command in one director, the library device cannot accept the transport command in another director. Fourth, despite the fact that the library apparatus has a plurality of accessors as a medium transport mechanism, only one transport apparatus always performs a transport operation, resulting in poor utilization efficiency.

【0019】本発明は、このような従来の問題点に鑑み
てなされたもので、同一チャネルからの異なる機番の命
令、異なるチャネルが同時発行され複数命令の受領を可
能とし且つ複数の搬送機構の動作を同時に並列的にでき
るようして処理性能を向上するライブラリ装置を提供す
る。
SUMMARY OF THE INVENTION The present invention has been made in view of such a conventional problem, and it has been made possible to simultaneously issue instructions of different machine numbers and different channels from the same channel to receive a plurality of instructions, and to provide a plurality of transport mechanisms. And a library device for improving the processing performance by simultaneously performing the above operations in parallel.

【0020】[0020]

【課題を解決するための手段】図1は本発明の原理説明
図である。まず本発明のライブラリ装置は、磁気テープ
カートリッジ等の記憶媒体の読み書きを行う記憶再生装
置(MTU)と、記憶媒体の投入と排出を行う投入排出
装置と、記憶媒体を複数格納する媒体保管庫としてのセ
ルブロックと、記憶媒体をセルブロックと記憶再生装置
又はセルブロックと投入排出装置との間で運搬する媒体
運搬機構としてのアクセッサ12−1,12−2と、上
位装置からの命令を受領すると共に応答を返す第1制御
部としてのディレクタ26と、ディレクタ26を経由し
た上位装置からの命令に基づき2台のアクセッサ12−
1,12−2のいずれか一方に運搬命令を発行して制御
する第2制御部としてのアクセッサ・コントローラ28
とを備える。ここではアクセッサ12−1,12−2の
2台を示しているが、本発明は、少なくとも1台のアク
セッサがあればよい。
FIG. 1 is a diagram illustrating the principle of the present invention. First, a library device of the present invention includes a storage / reproduction device (MTU) for reading / writing a storage medium such as a magnetic tape cartridge, a loading / unloading device for loading / unloading a storage medium, and a media storage for storing a plurality of storage media. And an accessor 12-1 or 12-2 as a medium transport mechanism for transporting a storage medium between the cell block and the storage / reproducing device or between the cell block and the input / output device, and receives a command from a higher-level device. And a two-accessor 12-based on a command from a higher-level device via the director 26.
Accessor controller 28 as a second control unit for issuing and controlling a transport command to one of the first and the second.
And Although two accessors 12-1 and 12-2 are shown here, it is sufficient for the present invention that at least one accessor is provided.

【0021】このようなライブラリ装置につき本発明
は、第1制御部としてのディレクタ26に、機番制御テ
ーブル100、第1起動処理部92、及び第1アイドル
処理部94を設ける。機番制御テーブル100は、上位
装置からの媒体運搬命令(ムーブコマンド)で指示した
論理入出力デバイスアドレス(IODアドレス)として
の論理機番アドレス(#n)と入出力開始命令の指示チ
ャネル系統との関係を登録する。第1起動処理部92
は、上位装置からの媒体運搬命令を受領して機番制御テ
ーブル100の登録を行うと共に命令受領を第2制御部
としてのアクセッサ・コントローラ28に通知して次の
媒体運搬命令の受領の可否を決める応答を返す。第1ア
イドル処理部94は、第2制御部としてのアクセッサ・
コントローラ28より媒体運搬の実行終了通知を受けた
際に、機番制御テーブル100をクリアして上位装置に
終了応答を行う。
According to the present invention for such a library device, the director 26 as a first control unit is provided with a device number control table 100, a first activation processing unit 92, and a first idle processing unit 94. The device number control table 100 includes a logical device number address (#n) as a logical input / output device address (IOD address) specified by a medium transport command (move command) from a higher-level device, and a channel system indicated by an input / output start command. Register the relationship. First activation processing unit 92
Receives the media transport command from the host device, registers the machine number control table 100, and notifies the accessor controller 28 as the second control unit of the received command to determine whether the next media transport command can be received. Returns a response to decide. The first idle processing unit 94 includes an accessor
Upon receiving the notification of the completion of the medium conveyance from the controller 28, the controller 28 clears the machine number control table 100 and sends an end response to the host device.

【0022】また第2制御部としてのアクセッサ・コン
トローラ28には、キューイングテーブル122、実行
状態管理テーブル124、キューカウンタ125、第2
起動処理部114及び第2アイドル処理部116を設け
る。キューイングテーブル122は、媒体運搬命令に続
いて上位装置が発行した媒体運搬命令(移動元アドレス
と移動先アドレス)を複数格納する。実行状態管理テー
ブル124は、アクセッサ12−1,12−2の動作状
態を示すフラグを管理する。キューカウンタ125はキ
ューイングテーブル122への媒体運搬情報の格納で1
つインクリメントされ、アクセッサ側で命令実行を終了
するごとに1つデクリメントされる。
The accessor controller 28 as a second control unit includes a queuing table 122, an execution state management table 124, a queue counter 125, a second
An activation processing unit 114 and a second idle processing unit 116 are provided. The queuing table 122 stores a plurality of medium transport instructions (source address and destination address) issued by the host device following the medium transport instruction. The execution state management table 124 manages flags indicating the operation states of the accessors 12-1 and 12-2. The queue counter 125 stores 1 in the storage of the medium transport information in the queuing table 122.
Is incremented by one and decremented by one each time the instruction execution is completed on the accessor side.

【0023】第2起動処理部114は、媒体運搬命令の
受領通知を受ける毎に、キューカウンタ125の計数値
Nからキューイングテーブル122の空きの有無を判断
し、空きがあれば命令格納可能の応答を返して上位装置
から転送された媒体運搬情報をキューイングテーブル1
22に格納し、空き無しであればビジー応答を返す。第
2アイドル処理部116は、キューイングテーブル12
2に媒体運搬命令が少なくとも1つ格納された状態で実
行状態管理テーブル124を参照し、空き状態にある2
台のアクセッサ12−1,12−2のいずれか1つに媒
体運搬命令を発行して実行させる。
Each time the second start-up processing unit 114 receives the notification of receiving the medium transport instruction, the second activation processing unit 114 determines whether or not there is an empty space in the queuing table 122 from the count value N of the queue counter 125, and if there is an empty space, the instruction can be stored. A response is returned, and the medium transport information transferred from the host device is stored in the queuing table 1.
22. If there is no free space, a busy response is returned. The second idle processing unit 116 controls the queuing table 12
In the state where at least one medium transport instruction is stored in 2, the execution state management table 124 is referred to, and the 2
A medium transport instruction is issued to one of the accessors 12-1 and 12-2 and executed.

【0024】ここで、第2制御部としてのアクセッサ・
コントローラ28に設けた第2アイドル処理部116
は、アクセッサ12−1,12−2のうちのいずれか一
方が媒体運搬情報に基づく動作の実行中は、実行中の媒
体運搬情報に重複しない移動範囲の媒体運搬情報をキュ
ーイングテーブル122から取り出し、同時に並行して
動作させる。
Here, an accessor as a second control unit
Second idle processing unit 116 provided in controller 28
When one of the accessors 12-1 and 12-2 is executing an operation based on the medium transport information, the medium transport information in a movement range that does not overlap the medium transport information being executed is extracted from the queuing table 122. , Operate in parallel at the same time.

【0025】本発明のライブラリ装置は、機番制御テー
ブル100のスロット数(格納数)をnとした場合、第
1制御装置としてのディレクタ26には、n個の論理機
番アドレス(#0〜#n−1)を同一チャネル系統から
受領可能なアドレスとして割当てる。機番制御テーブル
100のスロット数nは、必要に応じて適宜に定めるこ
とができる。
In the library device of the present invention, when the number of slots (the number of storages) in the device number control table 100 is n, the director 26 as the first control device has n logical device number addresses (# 0 to # 0). # N-1) is assigned as an address receivable from the same channel system. The number n of slots in the machine number control table 100 can be appropriately determined as needed.

【0026】また第1制御部としてのディレクタ26に
対する上位装置からの命令チャネル系統数をmチャネル
とした場合、第2制御部としてのアクセッサ・コントロ
ーラ28のキューイングテーブル122は、論理機番ア
ドレス数(n)にチャネル系統数(m)を乗じた数(n
×m)をディレクタ26ごとに求め、総和となる命令格
納数(スロット数又はエントリ数)を備えることが望ま
しい。この命令格納数をもつことで、キューイングテー
ブル122のビジーが発生しなくなる。
When the number of instruction channels from the higher-level device to the director 26 as the first control unit is m, the queuing table 122 of the accessor controller 28 as the second control unit stores the number of logical machine number addresses. (N) multiplied by the number of channel systems (m) (n
Xm) is obtained for each director 26, and it is desirable to provide the total number of stored instructions (the number of slots or the number of entries). With this number of stored instructions, the queuing table 122 does not become busy.

【0027】具体的には、機番制御テーブル100のス
ロット数nをn=4とした場合、ディレクタ26には4
個の論理機番アドレス(#0〜#3)を同一チャネル系
統から受領可能なアドレスとして割当られる。この場
合、ビジーを起こさないキューイングテーブル122の
命令格納数(スロット数又はエントリ数)は、チャネル
数m=4とすると、16個の命令格納数となる。
Specifically, when the number n of slots in the machine number control table 100 is n = 4, the director 26
The logical machine number addresses (# 0 to # 3) are allocated as addresses that can be received from the same channel system. In this case, the number of instructions stored in the queuing table 122 (the number of slots or the number of entries) in the queuing table 122 that does not cause a busy becomes the number of stored instructions of 16 when the number of channels m = 4.

【0028】例えば2台のディレクタ26−1,26−
2をアクセッサ・コントローラ28に対し設けた場合、
ビジーを起こさないキューイングテーブル122の命令
格納数(エントリ数)は、ディレクタのチャネル数と論
理機番アドレス数を掛けてディレクタ分の総和を求めた
命令格納数32とする。キューイングテーブル122
は、格納位置を示すID番号を索引として、媒体運搬命
令及び命令受領系統を示す第1制御部としてのディレク
タ26の物理機番アドレスD0,D1を登録するテーブ
ル構造を備える。また実行状態管理テーブル124はア
クセッサ12−1,12−2の物理機番アドレスAS
0,AS1を索引として、キューイングテーブル122
のID番号、アクセッサ12−1,12−2の動作中の
有無を示す実行フラグ、及び命令受領系統を示すディレ
クタ26の物理機番アドレスD0,D1を登録するテー
ブル構造を備える。
For example, two directors 26-1 and 26-26
2 is provided for the accessor controller 28,
The number of stored instructions (the number of entries) in the queuing table 122 that does not cause a busy is the number of stored instructions 32, which is obtained by multiplying the number of channels of the director by the number of logical machine number addresses and calculating the sum of the directors. Queuing table 122
Has a table structure for registering the physical machine number addresses D0 and D1 of the director 26 as the first control unit indicating the medium transport command and the command receiving system, using the ID number indicating the storage position as an index. The execution state management table 124 stores the physical machine number address AS of the accessors 12-1 and 12-2.
The queuing table 122 uses 0, AS1 as an index.
And an execution flag indicating whether the accessors 12-1 and 12-2 are operating, and a physical machine number address D0, D1 of the director 26 indicating an instruction receiving system.

【0029】更にキューイングテーブル122に媒体運
搬命令を格納する毎に1つカウントアップされて次にテ
ーブル位置のID番号を示す格納ポインタ126と、キ
ューイングテーブル122に格納した媒体運搬命令をア
クセッサ12−1,12−2のいずれかで実行するテー
ブル一のID番号を示す実行ポインタ128とを設け
る。
Further, each time a medium transport instruction is stored in the queuing table 122, the storage pointer 126 is incremented by one and indicates the ID number of the table position. -1 and 12-2, an execution pointer 128 indicating the ID number of the first table to be executed.

【0030】アクセッサ・コントローラ28の第2起動
処理部114は、第1制御部としてのディレクタ26か
ら命令受領通知を受けた際に、キューカウンタ125を
参照してキューイングテーブル122に空きがあると判
断すると、命令受領の可能応答を行い、空きがなければ
ビジー応答を行う。アクセッサ・コントローラ28の第
2アイドル処理部116は、実行状態管理テーブル12
4から実行フラグがオフとなって空いているアクセッサ
12−1,12−2のいずれかを検索した場合は、実行
ポインタ128で指示された次の実行待ちとなっている
キューイングテーブル122のID番号の媒体運搬情報
を取り出し、空き状態にあるアクセッサに命令実行を指
示する。
The second activation processing unit 114 of the accessor controller 28 refers to the queue counter 125 when the command reception notification is received from the director 26 as the first control unit and determines that there is free space in the queuing table 122. If it is determined, a response that allows the command to be received is made, and if there is no free space, a busy response is made. The second idle processing unit 116 of the accessor controller 28
When the execution flag is turned off and any one of the vacant accessors 12-1 and 12-2 is searched, the ID of the next queuing table 122 waiting for execution indicated by the execution pointer 128 is retrieved. The medium transport information of the number is taken out, and the accessor in an empty state is instructed to execute an instruction.

【0031】第2制御部としてのアクセッサ・コントロ
ーラ28には、ビシー応答を行った媒体運搬命令を受領
したディレクタ26の物理機番アドレスDiを示すビジ
ーフラグを登録するビジー管理テーブル130を設け
る。キューイングテーブル122に空きがなかったビジ
ー応答時に、第2起動処理部114がビジー管理テーブ
ル130のビジー応答を行ったディレクタ26の物理機
番アドレスDiに対応した位置にビジーフラグを登録す
る。
The accessor controller 28 as the second control unit is provided with a busy management table 130 for registering a busy flag indicating the physical machine number address Di of the director 26 that has received the medium transport command that has sent a busy response. When there is no busy response in the queuing table 122, the second activation processing unit 114 registers a busy flag in the busy management table 130 at a position corresponding to the physical device number address Di of the director 26 that has made the busy response.

【0032】第1制御部としてのディレクタ26には、
さらに、ID管理テーブル102を設ける。この場合、
第1起動処理部92は、第2制御部としてのアクセッサ
・コントローラ28からキューイングテーブル122に
対する媒体運搬情報の格納終了通知を受けた際に、テー
ブル格納位置を示すID番号を索引として論理機番アド
レス#i、及びチャネル系統をID管理テーブル102
に登録する。
The director 26 as a first control unit includes:
Further, an ID management table 102 is provided. in this case,
When the first activation processing unit 92 receives a notification of the end of storage of the medium transport information in the queuing table 122 from the accessor controller 28 as the second control unit, the first activation processing unit 92 uses the ID number indicating the table storage position as an index, and The address #i and the channel system are stored in the ID management table 102.
Register with.

【0033】また第2制御部としてのアクセッサ・コン
トローラ28から媒体運搬終了通知を受けた際に、第1
アイドル処理部94は、ID番号管理テーブル102か
ら媒体運搬が終了した論理機番アドレス#i及びチャネ
ル系統を認識し、機番制御テーブル100の登録をクリ
アする。第1制御部としてのディレクタ26の第1起動
処理部92は、機番制御テーブル100に、更に、論理
機番アドレス#iの媒体運搬命令に対しビジー報告を行
ったことを示すビジー報告フラグをチャネル系統毎に登
録する。この場合、第1アイドル処理部94が第2制御
部としてのアクセッサ・コントローラ28から媒体運搬
終了に基づくビジー解除報告を受けると、機番制御テー
ブル100を検索してビジー報告フラグがセットされた
チャネル系統にビジー解除を応答すると共にビジー報告
フラグをクリアする。
When the medium transport end notification is received from the accessor controller 28 as the second control unit, the first
The idle processing unit 94 recognizes, from the ID number management table 102, the logical machine number address #i and the channel system for which the medium has been transported, and clears the registration in the machine number control table 100. The first activation processing unit 92 of the director 26 serving as the first control unit further includes a busy report flag indicating that the busy report has been performed in response to the medium transport instruction of the logical machine number address #i in the machine number control table 100. Register for each channel system. In this case, when the first idle processing unit 94 receives the busy release report based on the completion of the medium transport from the accessor controller 28 as the second control unit, the first idle processing unit 94 searches the device number control table 100 and sets the channel in which the busy report flag is set. Responds to the system to release busy, and clears the busy report flag.

【0034】[0034]

【作用】このような本発明のライブラリ装置によれば、
第1制御部としてのディレクタに機番制御テーブルを設
けることで、任意に設定した機番制御テーブルのスロッ
ト数に依存した複数の論理機番アドレス(論理IODア
ドレス)をチャネルに対し提供することができる。また
第2制御部としてのアクセッサ・コントローラにキュー
イングテーブルを設けることで、チャネルより発行され
た複数の媒体運搬情報を一時的に蓄え、かつ複数の媒体
運搬機構が並行動作するように運搬指示を行うことがで
きる。
According to the library apparatus of the present invention,
By providing the device number control table in the director as the first control unit, a plurality of logical device number addresses (logical IOD addresses) depending on the number of slots in the arbitrarily set device number control table can be provided to the channel. it can. In addition, by providing a queuing table in the accessor controller as the second control unit, a plurality of media transport information issued from the channel is temporarily stored, and a transport instruction is issued so that the plurality of media transport mechanisms operate in parallel. It can be carried out.

【0035】[0035]

【実施例】【Example】

< 目次 > 1.システム構成と機構構造 2.ライブラリ装置のハードウェアと機能 3.ホストコンピュータの命令発行機能 4.ディレクタ及びアクセッサ・コントローラの構成と
機能 5.ライブラリ装置の媒体運搬動作 (1)チャネルからの媒体運搬命令の受領 (2)キューイングテーブルに空きがなくなったときの
動作 (3)アクセッサ・コントローラによる媒体運搬動作 (4)媒体運搬終了時の動作 (5)全体的な動作シーケンス (6)ディレクタの起動処理部の処理動作 (7)ディレクタのアイドル処理部の処理動作 (8)アクセッサ・コントローラの起動処理部の処理動
作 (9)アクセッサ・コントローラのアイドル処理部の処
理動作 1.システム構成と機構構造 図2は本発明のライブラリ装置の全体構成を透視図で示
す。ライブラリ装置は複数のフレームに分けられてお
り、これらのフレームを組み合わせることで装置を構成
することができる。ライブラリ装置には媒体保管庫とし
てのセルブロック10が設けられ、セルブロック10に
は磁気テープ,磁気ディスク等の記録媒体を内蔵した媒
体カートリッジが多数収納されている。
<Table of contents> 1. System configuration and mechanism structure 2. Hardware and functions of library device 3. Instruction issuing function of host computer 4. Configuration and functions of director and accessor controller Media transport operation of library device (1) Receipt of media transport command from channel (2) Operation when empty space in queuing table (3) Media transport operation by accessor controller (4) Operation at end of media transport (5) Overall operation sequence (6) Processing operation of startup processing section of director (7) Processing operation of idle processing section of director (8) Processing operation of startup processing section of accessor controller (9) Processing of accessor controller Processing operation of idle processing section 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. The library device is provided with a cell block 10 as a medium storage, and the cell block 10 contains a large number of medium cartridges containing recording media such as magnetic tapes and magnetic disks.

【0036】セルブロック10のカートリッジ収納位置
はセルアドレスとして定義される。また、ライブラリ装
置にはフレーム内の左右に亘って敷設されたレール14
を移動する媒体運搬機構として動作するロボット装置で
あるアクセッサ12−1,12−2が設けられる。セル
ブロック10に対し、レール12を挟んだ反対側にはデ
ッキユニット16−1,16−2及びコントロールユニ
ット18−1,18−2が設置される。
The cartridge storage position of the cell block 10 is defined as a cell address. Also, the library device has rails 14 laid on the left and right sides of the frame.
Accessors 12-1 and 12-2, which are robot devices that operate as a medium transport mechanism that moves the robot, are provided. On the opposite side of the cell block 10 across the rail 12, deck units 16-1, 16-2 and control units 18-1, 18-2 are installed.

【0037】デッキユニット16−1,16−2には複
数の記録再生装置(MTU)が設けられ、アクセッサ1
2−1,12−2によりセルブロック10から運搬した
カートリッジをローディングしてデータの読み書きを行
う。更にライブラリ装置のフレーム前面には媒体投入排
出口15が設けられ、カートリッジの出し入れを行うよ
うにしている。
The deck units 16-1 and 16-2 are provided with a plurality of recording / reproducing devices (MTUs).
According to 2-1 and 12-2, the cartridge carried from the cell block 10 is loaded to read and write data. Further, a medium loading / unloading port 15 is provided on the front surface of the frame of the library apparatus so that a cartridge can be taken in and out.

【0038】図3は図2のアクセッサを取り出して示
す。アクセッサ12−1,12−2は2条のレール14
上に走行モータ44を備えた走行部40によって走行自
在に設置されている。走行部40の上には支柱42が起
立され、支柱42に沿って上下に移動可能なリフト部4
6にロボットハンド48を設けている。ロボットハンド
48の詳細は図4及び図5に示される。
FIG. 3 shows the accessor of FIG. 2 taken out. The accessors 12-1 and 12-2 have two rails 14
It is installed so as to be able to travel freely by a traveling section 40 having a traveling motor 44 thereon. A pillar 42 is erected on the running part 40, and can be moved up and down along the pillar 42.
6, a robot hand 48 is provided. Details of the robot hand 48 are shown in FIGS.

【0039】ロボットハンド48はリフト部46に搭載
され、リフト部46の支柱42に対する昇降動作はネジ
シャフト50の回転により行われる。リフト部46には
旋回プーリ56が設けられ、旋回用モータ52の回転を
ワイヤベルト54で伝えてロボットハンド48を水平回
りに回転する。ロボットハンド48の旋回部分には図5
の上蓋を外した状態で見える固定プレート64を備えた
媒体保持部62が設けられる。
The robot hand 48 is mounted on the lift unit 46, and the lifting operation of the lift unit 46 with respect to the column 42 is performed by rotation of a screw shaft 50. A swing pulley 56 is provided in the lift section 46, and transmits the rotation of the swing motor 52 by a wire belt 54 to rotate the robot hand 48 horizontally. FIG. 5 shows the turning part of the robot hand 48.
There is provided a medium holding portion 62 provided with a fixing plate 64 that can be seen with the upper lid removed.

【0040】媒体保持部62はスライド用モータ58に
よるワイヤベルト60の駆動で図4の位置から図5に示
す前方位置に水平移動することができる。このように媒
体保持部62を水平方向に送り出した状態で、固定プレ
ート64と図示しない下側の可動プレートとの間にセル
ブロック等に収納しているカートリッジを挟むことがで
きる。 2.ライブラリ装置のハードウェアと機能 図6は本発明のライブラリ装置のシステム構成を示した
ブロック図である。本発明のライブラリ装置24に対し
ては、この実施例にあっては上位装置として4台のホス
トコンピュータ20−1〜20−4を設けている。ホス
トコンピュータ20−1〜20−4のそれぞれはチャネ
ル・インタフェースバス22−1〜22−4によりライ
ブラリ装置24に接続される。このチャネル・インタフ
ェースバス22−1〜22−4としては、例えばブロッ
ク・マルチプレクサ・チャネル・・インタフェース(B
MCインタフェース)が設けられる。
The medium holding unit 62 can be moved horizontally 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 the state where the medium holding unit 62 is sent out in the horizontal direction, the cartridge accommodated 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 Functions of Library Apparatus FIG. 6 is a block diagram showing a system configuration of the library apparatus according to the present invention. In this embodiment, four host computers 20-1 to 20-4 are provided as a higher-level device for the library device 24 of the present invention. Each of the host computers 20-1 to 20-4 is connected to the library device 24 by a channel interface bus 22-1 to 22-4. As the channel interface buses 22-1 to 22-4, for example, a block multiplexer channel interface (B
MC interface) is provided.

【0041】ライブラリ装置24には第1制御部として
例えば4台のディレクタ26−1〜26−4が設置され
る。ディレクタ26−1〜26−4は同じ4つのチャネ
ルE,F,G,Hをもっている。尚、ディレクタ26−
1〜26−4のチャネル数は、実装置では最大で6チャ
ネルとすることができる。ディレクタ26−1,26−
3のチャネルAにはホストコンピュータ20−1からの
チャネル・インタフェースバス22−1が接続され、チ
ャネルBにはホストコンピュータ20−2からのチャネ
ル・インタフェースバス22−2が接続される。また、
ディレクタ26−2,26−4のチャネルEにはホスト
コンピュータ20−3からのチャネル・インタフェース
バス22−3が接続され、チャネルFにはホストコンピ
ュータ20−4からのチャネル・インタフェースバス2
2−4が接続される。尚、ディレクタ26−1,26−
3のチャネルC,D及びディレクタ26−2,26−4
のチャネルG,Hは、この実施例では使用されていな
い。
In the library device 24, for example, four directors 26-1 to 26-4 are installed as a first control unit. The directors 26-1 to 26-4 have the same four channels E, F, G, and H. The director 26-
The number of channels 1 to 26-4 can be set to a maximum of 6 in an actual device. Directors 26-1, 26-
The third channel A is connected to a channel interface bus 22-1 from the host computer 20-1, and the second channel B is connected to a channel interface bus 22-2 from the host computer 20-2. Also,
The channel E of the directors 26-2 and 26-4 is connected to the channel interface bus 22-3 from the host computer 20-3, and the channel F is connected to the channel interface bus 2 from the host computer 20-4.
2-4 are connected. The directors 26-1, 26-
3 and the channels C and D and the directors 26-2 and 26-4
Are not used in this embodiment.

【0042】ディレクタ26−1〜26−4の端末側に
は2つのチャネルa,bが設けられる。チャネルaは記
録再生装置用であり、またチャネルbはアクセッサ制御
用である。ディレクタ26−1,26−2は、左側に設
けた6台の記録再生装置(MTU)34−1〜34−6
を共用するもので、チャネルaからデバイス・バス36
−1,36−2を接続している。従ってディレクタ26
−1,26−2はチャネルaより左側の記録再生装置3
4−1〜34−6に対しライトアクセスあるいはリード
アクセスを実行することができる。
Two channels a and b are provided on the terminal side of the directors 26-1 to 26-4. Channel a is for a recording / reproducing device, and channel b is for accessor control. The directors 26-1 and 26-2 are provided with six recording / reproducing units (MTUs) 34-1 to 34-6 provided on the left side.
And the device bus 36 from the channel a.
-1 and 36-2 are connected. Therefore director 26
-1, 26-2 are the recording / reproducing devices 3 on the left side of the channel a
Write access or read access can be executed for 4-1 to 34-6.

【0043】またディレクタ26−3,26−4は、右
側に設けた同じく6台の記録再生装置36−7〜36−
12を共用し、チャネルaからデバイス・バス36−
3,36−4を接続している。従ってディレクタ26−
3,26−4は右側の記録再生装置34−1〜34−1
2に対しライトアクセスあるいはリードアクセスを実行
することができる。尚、実装置では、記録再生装置は片
側に最大16台を実装することができる。
The directors 26-3 and 26-4 are also provided with six recording / reproducing devices 36-7 to 36- provided on the right side.
12 and the device bus 36-
3, 36-4 are connected. Therefore director 26-
Reference numerals 3, 26-4 denote recording / reproducing devices 34-1 to 34-1 on the right side.
2 can perform write access or read access. In the actual device, a maximum of 16 recording / reproducing devices can be mounted on one side.

【0044】ディレクタ26−1,26−2のチャネル
bから引き出されたデバイス・インタフェース・バス3
8−1は、第2制御部としてのアクセッサ・コントロー
ラ28のチャネルaに接続される。またディレクタ26
−3,26−4のチャネルbから引き出されたデバイス
・インタフェース・バス38−2は第2制御部としての
アクセッサ・コントローラ28のチャネルbに接続され
る。アクセッサ・コントローラ30は予備機であり、デ
ィレクタ26−1,26−2のチャネルbからのデバイ
ス・インタフェース・バス38−1をチャネルaに接続
し、ディレクタ26−3,26−4のチャネルbからの
デバイス・インタフェース・バス38−2をチャネルb
に接続している。このためアクセッサ・コントローラ2
8,30はディレクタ26−1〜26−4のいずれかか
らの命令を受領して処理を実行する。
Device interface bus 3 drawn from channel b of directors 26-1 and 26-2
8-1 is connected to the channel a of the accessor controller 28 as a second control unit. Director 26
The device interface bus 38-2 drawn from the channel b of -3, 26-4 is connected to the channel b of the accessor controller 28 as a second control unit. The accessor controller 30 is a spare unit, and connects the device interface bus 38-1 from the channel b of the directors 26-1 and 26-2 to the channel a, and from the channel b of the directors 26-3 and 26-4. Device interface bus 38-2 to channel b
Connected to Therefore, accessor controller 2
8, 30 receive a command from any of directors 26-1 to 26-4 and execute processing.

【0045】アクセッサ・コントローラ28の配下には
アクセッサ12−1を制御するマシン・コントローラ3
2−1とアクセッサ12−2を制御するマシン・コント
ローラ32−2が設けられる。マシン・コントローラ3
2−1,32−2は予備としてのアクセッサ・コントロ
ーラ30に対しても接続される。通常時はアクセッサ・
コントローラ28からの指示を受けてアクセッサ12−
1,12−2による媒体運搬動作を行う。
The machine controller 3 that controls the accessor 12-1 is subordinate to the accessor controller 28.
A machine controller 32-2 for controlling the 2-1 and the accessor 12-2 is provided. Machine controller 3
2-1 and 32-2 are also connected to a spare accessor controller 30. Normally accessor
Upon receiving an instruction from the controller 28, the accessor 12-
1 and 12-2.

【0046】ここで以下の実施例にあっては、説明を判
り易くするため、ライブラリ装置24に設けた左側の2
台のディレクタ26−1,26−2、アクセッサ・コン
トローラ28、マシン・コントローラ32−1,32−
2及びアクセッサ12−1,12−2について説明し、
右側は除外する。ライブラリ装置24の上位装置として
設けられたホストコンピュータ20−1〜20−4のそ
れぞれはジョブの実行に伴うライブラリ装置24に対す
る入出力要求の発生に基づき、論理機番アドレス(以下
単に「機番アドレス」という)#iを指定して、ディレ
クタ26−1,26−2に対し自己の割当チャネルから
入出力起動命令として機能する媒体運搬命令を発行す
る。
Here, in the following embodiment, for the sake of easy understanding, the left two
Directors 26-1 and 26-2, accessor controller 28, machine controllers 32-1 and 32-
2 and accessors 12-1 and 12-2,
Exclude the right side. Each of the host computers 20-1 to 20-4 provided as upper devices of the library device 24 receives a logical device number address (hereinafter simply referred to as a "device number )), And issues a medium transport command that functions as an input / output start command to the directors 26-1 and 26-2 from their assigned channels.

【0047】この媒体運搬命令に対しディレクタ側より
正常受領応答が得られると、次にホストコンピュータは
媒体運搬情報としてのデータバイト(パラメータ)を転
送し、このデータバイトがアクセッサ・コントローラ2
8からマシン・コントローラ32−1または32−2に
伝えられ、アクセッサ12−1,12−2によるカート
リッジの運搬制御が行われる。
When a normal reception response is obtained from the director in response to the medium transport command, the host computer transfers a data byte (parameter) as medium transport information, and the data byte is transferred to the accessor controller 2.
8 to the machine controller 32-1 or 32-2, and the accessors 12-1 and 12-2 control the transport of the cartridge.

【0048】ここで、ディレクタ26−1,26−2に
割り当てられる論理アドレスとしての機番アドレス#i
は、この実施例では#0〜#3の4アドレスを最大とす
る。実際に使用される論理アドレスは、機番制御テーブ
ル100のスロット数で決まる。この実施例にあって
は、4スロットずつ使用していることから、ディレクタ
26−1に対する命令発行で使用する機番アドレスは#
0〜#3の4つであり、ディレクタ26−2に発行する
機番アドレスも#0〜#3の4つとなる。 3.ホストコンピュータの命令発行機能 図7は図6のホストコンピュータ側のライブラリ装置に
対する入出力命令の処理機能を示す。ホストコンピュー
タ20で任意のジョブ66が実行されると、ジョブ66
によってオペレーティングシステム(以下「OS」とい
う)のジョブコントロール・プログラム70が起動す
る。この状態でライブラリ装置24に対する入出力要求
が生ずると、データマネージメント・プログラム72に
よりリードコマンドあるいはライトコマンドを作成し、
データ変換プログラム74を介してライブラリサポート
・プログラム76にアクセスする。
Here, the machine number address #i as a logical address assigned to the directors 26-1 and 26-2
In this embodiment, four addresses # 0 to # 3 are set as the maximum. The logical address actually used is determined by the number of slots in the device number control table 100. In this embodiment, since four slots are used each time, the machine number address used for issuing the instruction to the director 26-1 is #
0 to # 3, and the machine number addresses to be issued to the director 26-2 are also # 0 to # 3. 3. Command Issuing Function of Host Computer FIG. 7 shows a processing function of an input / output command to the library device on the host computer side in FIG. When an arbitrary job 66 is executed by the host computer 20, the job 66
As a result, a job control program 70 of an operating system (hereinafter referred to as “OS”) is started. When an input / output request to the library device 24 occurs in this state, a read command or a write command is created by the data management program 72, and
The library support program 76 is accessed via the data conversion program 74.

【0049】データ変換プログラム74は元来、ライブ
ラリ装置24がオペレータの操作を前提に構築されてい
ることから、コンソールパネル80に設けたCRTにデ
ータ表示を行うデータ形式に変換しており、この変換デ
ータをライブラリサポート・プログラム76はそのまま
受け付けることができる。OS68からのライブラリサ
ポート・プログラム76に対する要求コマンドは リードまたはライトのコマンド種別 ボリューム番号等の媒体番号 セクタアドレス データ長 を少なくとも指定してくる。ライブラリサポート・プロ
グラム76に対しては制御用ディスク装置78が設けら
れ、制御用ディスク装置78から変換テーブルを読み込
み、この変換テーブルを使用してライブラリ装置24に
対し入出力起動命令(IOスタートコマンド)としての
媒体運搬命令及び媒体運搬情報を発行する。入出力起動
用の媒体運搬命令の発行時には、ホストコンピュータ2
0に予め割り当てられたライブラリ装置の機番アドレス
#iを使用する。例えば、図6のホストコンピュータ2
0−1にあっては、ディレクタ26−1で取り扱う機番
アドレス#0〜#3が割り当てられており、空いている
方の機番アドレスを使用して入出力起動用の媒体運搬命
令を発行する。
Since the data conversion program 74 is originally constructed on the premise that the library device 24 is operated by an operator, the data conversion program 74 converts the data into a data format for displaying data on a CRT provided on the console panel 80. The library support program 76 can accept the data as it is. A request command from the OS 68 to the library support program 76 specifies at least a read or write command type, a medium number such as a volume number, a sector address, and a data length. A control disk device 78 is provided for the library support program 76, a conversion table is read from the control disk device 78, and an I / O activation command (IO start command) is issued to the library device 24 using the conversion table. Issue a media transport command and media transport information. At the time of issuing the medium transport instruction for starting the input / output, the host computer 2
The device number #i of the library device assigned in advance to 0 is used. For example, the host computer 2 shown in FIG.
In 0-1, machine number addresses # 0 to # 3 handled by the director 26-1 are allocated, and a medium transport instruction for input / output activation is issued using the free machine number address. I do.

【0050】この論理アドレスとしての機番アドレス#
iを使用した媒体運搬命令(ムーブコマンド)が正常に
受領された応答が得られると、ホストコンピュータは媒
体運搬情報としてのデータバイトを発行する。ライブラ
リサポート・プログラム76による媒体運搬情報の発行
は、図8に示すようにMTUテーブル86及びセルテー
ブル88を使用して発行する。
Machine number address # as this logical address
When a response that a media transport command (move command) using i has been normally received is obtained, the host computer issues a data byte as media transport information. Issuance of the medium transport information by the library support program 76 is performed using the MTU table 86 and the cell table 88 as shown in FIG.

【0051】ここで、図6に示したライブラリ装置24
の媒体が移動する位置には、例えば図9に示すようにセ
ルアドレスが予め割り当てられている。ここでセルアド
レスは16進で示している。即ち、アクセッサ12−
1,12−2のロボットハンドにはセルアドレスA00
0,A001が割り当てられ、図2に示した媒体投入排
出口15にはセルアドレスB000が割り当てられる。
セルブロック10の各セルにはセルアドレスC000〜
CFFFが割り当てられる。更に、記録再生装置34−
1〜34−12にはセルアドレスD000〜D00Dが
割り当てられる。
Here, the library device 24 shown in FIG.
For example, as shown in FIG. 9, a cell address is assigned in advance to the position where the medium moves. Here, the cell address is shown in hexadecimal. That is, the accessor 12-
Cell address A00 is assigned to robot hands 1 and 12-2.
0 and A001 are assigned, and the cell address B000 is assigned to the medium insertion / ejection port 15 shown in FIG.
Each cell of the cell block 10 has a cell address C000-
CFFF is assigned. Further, the recording / reproducing device 34-
Cell addresses D000 to D00D are assigned to 1 to 34 to 12, respectively.

【0052】ライブラリサポート・プログラム76がO
S68よりマウントコマンド85を受けると、セルテー
ブル88を参照し、例えば媒体番号1であった場合には
セルアドレスC000を取り出す。また、MTUテーブ
ル86を参照して、空きフラグが1にセットされてい
る、例えばMTUアドレスとしてD000を取り出す。
そして移動元アドレスをセルアドレスC000とし、移
動先アドレスをMTUアドレスD000とした媒体搬送
情報としてライブラリ装置24に発行する。 4.ディレクタ及びアクセッサ・コントローラの構成と
機能 図10は図6に示した第1制御部としてのディレクタ2
6−1の実施例を示しし、ディレクタ26−2も同じ構
成となる。第1制御部としてのディレクタにはCPU9
0が設けられ、プログラム制御により起動処理部92及
びアイドル処理部94の機能を実現する。CPU90か
らのバス108にはROM96,DRAM98,チャネ
ルインタフェース制御部104及びデバイス・インタフ
ェース制御部110が接続される。
When the library support program 76 is O
When the mount command 85 is received from S68, the cell table 88 is referred to, and if the medium number is 1, for example, the cell address C000 is extracted. Further, with reference to the MTU table 86, the empty flag is set to 1, for example, D000 is extracted as the MTU address.
It is issued to the library device 24 as medium transport information in which the source address is the cell address C000 and the destination address is the MTU address D000. 4. Configuration and Function of Director and Accessor Controller FIG. 10 shows the director 2 as the first control unit shown in FIG.
6-1 shows an embodiment, and the director 26-2 has the same configuration. The CPU as the director as the first control unit
0 is provided, and the functions of the activation processing unit 92 and the idle processing unit 94 are realized by program control. The ROM 108, the DRAM 98, the channel interface control unit 104, and the device interface control unit 110 are connected to the bus 108 from the CPU 90.

【0053】チャネルインタフェース制御部104に対
してはチャネルアダプタ106−1〜106−3が接続
され、上位装置とのやり取りを行う。デバイス・インタ
フェース制御部110は下位のアクセッサ・コントロー
ラ28との間のやり取りを行う。DRAM98にはCP
U90の起動処理部92及びアイドル処理部94の処理
に使用する機番制御テーブル100とID管理テーブル
102が格納されている。
Channel adapters 106-1 to 106-3 are connected to the channel interface control unit 104 and exchange data with a higher-level device. The device interface control unit 110 exchanges data with the lower accessor controller 28. The DRAM 98 has a CP
A machine number control table 100 and an ID management table 102 used for processing by the activation processing unit 92 and the idle processing unit 94 of the U90 are stored.

【0054】図11は図6に示した第2制御部としての
アクセッサ・コントローラ28の詳細を示す。このアク
セッサ・コントローラはCPU112を有し、CPU1
12内にはプログラム制御により実現される起動処理部
114とアイドル処理部116が設けられる。CPU1
12のバス134にはROM118,DRAM120,
上位インタフェース制御部132及び下位インタフェー
ス制御部136が設けられる。
FIG. 11 shows details of the accessor controller 28 as the second control unit shown in FIG. This accessor controller has a CPU 112 and a CPU 1
A start processing unit 114 and an idle processing unit 116 that are realized by program control are provided in 12. CPU1
ROM 118, DRAM 120,
An upper interface controller 132 and a lower interface controller 136 are provided.

【0055】上位インタフェース制御部132はアダプ
タ134−1,134−2のチャネルa,bにより上位
の2台のディレクタ26−1,26−2との間でやり取
りを行う。下位インタフェース制御部136はマシン・
コントローラ32−1または32−2との間でやり取り
を行う。DRAM120にはCPU112の起動処理部
114及びアイドル処理部116の処理に使用するキュ
ーイングテーブル122,実行状態管理テーブル12
4,キューカウンタ125、格納ポインタ126,実行
ポインタ128及びビジー管理テーブル130が設けら
れている。
The upper interface control unit 132 communicates with the upper two directors 26-1 and 26-2 through the channels a and b of the adapters 134-1 and 134-2. The lower interface control unit 136
An exchange is performed with the controller 32-1 or 32-2. A queuing table 122 and an execution state management table 12 used for processing by the activation processing unit 114 and the idle processing unit 116 of the CPU 112 are stored in the DRAM 120.
4, a queue counter 125, a storage pointer 126, an execution pointer 128, and a busy management table 130 are provided.

【0056】図12は図10及び図11のハードウェア
で実現される第1制御部としてのディレクタ26−1,
26−2、及び第2制御部としてのアクセッサ・コント
ローラ28のテーブル及びポインタの詳細を示す。ここ
でディレクタ26−1,26−2に対する上位からの機
番アドレスは図13に示すように、ディレクタ26−1
についてはアドレス#0〜#3が割り当てられ、ディレ
クタ26−2についてもアドレス#0〜#3が割り当て
られる。
FIG. 12 shows a director 26-1 as a first control unit realized by the hardware of FIGS. 10 and 11,
26-2 and details of tables and pointers of the accessor controller 28 as the second control unit. Here, as shown in FIG. 13, the machine numbers of the directors 26-1 and 26-2 from the upper level are assigned to the directors 26-1 and 26-2.
Are assigned addresses # 0 to # 3, and addresses # 0 to # 3 are also assigned to director 26-2.

【0057】また、以下の処理で扱うディレクタ26−
1,26−2の物理機番アドレスは図14に示すよう
に、ディレクタ26−1はD0、ディレクタ26−2は
D1と定義される。更に、アクセッサ12−1,12−
2の物理機番アドレスについては、図15に示すよう
に、アクセッサ12−1がAS0、アクセッサ12−2
がAS1となる。尚、各機番アドレスの数字を一般系で
表す場合はASiとなり、iはi=0〜n−1の値を示
す。
The director 26- which is handled in the following processing
As shown in FIG. 14, the physical machine number addresses of 1, 26-2 are defined as D0 for the director 26-1 and D1 for the director 26-2. Furthermore, accessors 12-1 and 12-
As for the physical machine number address of No. 2 as shown in FIG.
Becomes AS1. In addition, when the number of each machine number address is represented by a general system, it becomes ASi, and i indicates a value of i = 0 to n-1.

【0058】図12において、第1制御部としてのディ
レクタ26−1には機番制御テーブル100−1が設け
られる。ここで、ディレクタ26−1は4つのチャネル
A〜Dをもっている。但し、この実施例では2つのチャ
ネルA,Bしか使用していない。機番制御テーブル10
0−1はディレクタ26−1で扱うIODアドレスとし
ての機番アドレス#0〜#3をインデックスとした4つ
のスロット(4エントリ)をもち、チャネルA〜D毎に
コマンド実行フラグとビジー報告フラグを登録できるよ
うにしている。
In FIG. 12, a director 26-1 as a first control unit is provided with a device number control table 100-1. Here, the director 26-1 has four channels A to D. However, in this embodiment, only two channels A and B are used. Machine number control table 10
0-1 has four slots (4 entries) indexed by machine number addresses # 0 to # 3 as IOD addresses handled by the director 26-1, and stores a command execution flag and a busy report flag for each of the channels A to D. You can register.

【0059】もう一方のディレクタ26−2の機番制御
テーブル100−2についても基本的には同じである。
すなわちディレクタ26−2にも同様に4つの機番アド
レス#0〜#3が割り当てられていることから、機番制
御テーブル100−2は機番#0〜#3をインデックス
とした4スロット(4エントリ)をもち、各エントリに
ついて別の4つのチャネルE〜H毎にコマンド実行フラ
グとビジー報告フラグの登録を可能としている。
The same applies to the machine number control table 100-2 of the other director 26-2.
That is, since four machine number addresses # 0 to # 3 are similarly assigned to the director 26-2, the machine number control table 100-2 has four slots (4 Entry), and it is possible to register a command execution flag and a busy report flag for each of the other four channels E to H for each entry.

【0060】また、ディレクタ26−1,26−2には
ID管理テーブル102−1,102−2が設けられ
る。ID管理テーブル102−1,102−2は後の説
明で明らかにするアクセッサ・コントローラ28に設け
ているキューイングテーブル122のID番号をインデ
ックスとした4つのスロットについて、機番アドレス#
0〜#3と命令を受けたチャネルルートを登録可能とし
ている。
The directors 26-1 and 26-2 are provided with ID management tables 102-1 and 102-2. The ID management tables 102-1 and 102-2 are machine number addresses # for four slots that are indexed by ID numbers of the queuing table 122 provided in the accessor controller 28, which will be described later.
Channel routes receiving instructions of 0 to # 3 can be registered.

【0061】即ち、キューイングテーブル122のID
番号でID管理テーブル102−1,102−2を参照
することで、機番制御テーブル100−1,100−2
のインデックスとしての機番アドレス#iを知り、更に
チャネルルートを知ることでコマンド実行フラグまたは
ビジー報告フラグを特定することができる。次に、アク
セッサ・コントローラ28側を説明する。アクセッサ・
コントローラ28にはキューイングテーブル122が設
けられる。キューイングテーブル122はID番号0〜
3をインデックスとした4スロット(4エントリ)をも
ち、各スロットにチャネルから発行された媒体運搬情報
と、媒体運搬情報を受領した系統である実行ルートを示
すディレクタ機番D0又はD1を格納するようにしてい
る。
That is, the ID of the queuing table 122
By referring to the ID management tables 102-1 and 102-2 by numbers, the machine number control tables 100-1 and 100-2
The command execution flag or the busy report flag can be specified by knowing the machine number address #i as an index of, and further knowing the channel route. Next, the accessor controller 28 will be described. Accessor
The controller 28 is provided with a queuing table 122. The queuing table 122 has ID numbers 0 to
It has 4 slots (4 entries) with 3 as an index, and stores, in each slot, medium transport information issued from a channel and a director machine number D0 or D1 indicating an execution route which is a system that has received the medium transport information. I have to.

【0062】また、実行状態管理テーブル124が設け
られる。実行状態管理テーブル124はアクセッサ12
−1,12−2の機番AS0,AS1をインデックスと
して2つのスロット(2エントリ)をもつ。アクセッサ
機番AS0,AS1をインデックスとした各領域には、
実行している命令のキューイングテーブル122の位置
を示すID番号、実行中の有無を示す実行フラグ、更に
実行ルートとしてディレクタ機番D0又はD1を格納す
るようにしている。
An execution state management table 124 is provided. The execution state management table 124 stores the accessor 12
It has two slots (two entries) using the machine numbers AS0 and AS1 of -1 and 12-2 as indexes. In each area indexed by accessor model numbers AS0 and AS1,
An ID number indicating the position of the executed instruction in the queuing table 122, an execution flag indicating whether or not the instruction is being executed, and a director machine number D0 or D1 are stored as an execution route.

【0063】また、格納ポインタ126と実行ポインタ
128が設けられる。格納ポインタ126はキューイン
グテーブル122に対する媒体運搬情報の格納位置を示
す。実行ポインタ128はキューイングテーブル122
に格納した媒体運搬情報の中の実行しようとするテーブ
ル位置を示す。ここで、キューイングテーブル122に
運搬情報が全く格納されていない初期状態にあっては、
格納ポインタ126及び実行ポインタ128のポインタ
値P1,P2は共に0となっている。即ち、格納ポイン
タ126はP1=0とすることで、次の媒体運搬命令に
伴う運搬情報の格納位置をキューイングテーブル122
のID=0として指定している。
A storage pointer 126 and an execution pointer 128 are provided. The storage pointer 126 indicates the storage position of the medium transport information in the queuing table 122. The execution pointer 128 is stored in the queuing table 122.
Indicates the position of the table to be executed in the medium transport information stored in the table. Here, in the initial state where no transport information is stored in the queuing table 122,
The pointer values P1 and P2 of the storage pointer 126 and the execution pointer 128 are both 0. That is, by setting the storage pointer 126 to P1 = 0, the storage position of the transport information associated with the next medium transport instruction is stored in the queuing table 122.
ID = 0.

【0064】更に、キューイングテーブル122に対す
る媒体運搬情報の格納数をカウントするキューカウンタ
125が設けられる。キューカウンタ125の計数値N
は、初期化時にN=0にリセットされており、キューイ
ングテーブル122に媒体運搬情報を格納するごとに1
つインクリメントされる。またアクセッサ12−1又は
12−2への運搬命令の発行時に1つデクリメントされ
る。このためキューカウンタ125の計数値Nは、現在
実行待ちとなっている媒体搬送情報の数を示す。またキ
ューイングテーブル122のスロット数で決まる最大格
納数Nmax は、この実施例ではNmax =4であることか
ら、キューカウンタ125の計数値Nが4未満であれ
ば、キューイングテーブル122に空きがあることが判
り、計数値N=4であれば、フルとなって空きのないこ
とが判る。
Further, there is provided a queue counter 125 for counting the number of media transport information stored in the queuing table 122. Count value N of queue counter 125
Has been reset to N = 0 at the time of initialization.
Is incremented by one. It is decremented by one when a transport command is issued to the accessor 12-1 or 12-2. Therefore, the count value N of the queue counter 125 indicates the number of pieces of medium transport information currently waiting to be executed. The maximum storage number N max determined by the number of slots in the queuing table 122 is N max = 4 in this embodiment. It can be seen that if the count value N = 4, it is full and there is no space.

【0065】チャネルからの媒体運搬命令に基づき、デ
ィレクタ26−1または26−2のいずれかより命令受
領通知を受けると、キューカウンタ125の計数値Nを
参照し、最大格納数Nmax =4未満であれば、キューイ
ングテーブル122に空きがあるものとして、格納ポイ
ンタ126のポインタ値P1で指定されるキューイング
テーブル122のID番号のスロットに、続いて受領す
る媒体運搬情報を格納する。
When a command reception notification is received from one of the directors 26-1 and 26-2 based on the medium transport command from the channel, the count value N of the queue counter 125 is referred to, and the maximum storage number N max is less than 4. If so, it is determined that there is a free space in the queuing table 122, and the subsequently received medium transport information is stored in the slot of the ID number of the queuing table 122 specified by the pointer value P1 of the storage pointer 126.

【0066】キューイングテーブル122に少なくとも
1つの媒体運搬情報が格納されると、アクセッサ12−
1または12−2に対しキューイングテーブル122に
格納した命令に基づく運搬動作が指示される。このキュ
ーイングテーブル122の実行しようとする媒体運搬情
報の指定は、実行ポインタ128のポインタ値P2で行
われる。
When at least one piece of medium transport information is stored in the queuing table 122, the accessor 12-
A transport operation based on the command stored in the queuing table 122 is instructed to 1 or 12-2. The medium transport information to be executed in the queuing table 122 is specified by the pointer value P2 of the execution pointer 128.

【0067】アクセッサ12−1,12−2に対する運
搬指示が行われると、実行状態管理テーブル124の対
応するアクセッサ機番、例えばアクセッサ機番AS0の
スロットについて運搬を指示したキューイングテーブル
122の媒体運搬情報の位置を示すID番号を格納し、
更に実行フラグをセットし、更に実行ルートとしてディ
レクタ機番D0又はD1を格納する。
When a transport instruction is issued to the accessors 12-1 and 12-2, the medium transport in the queuing table 122 instructing transport of the corresponding accessor model number in the execution state management table 124, for example, the slot of the accessor model number AS 0. Storing an ID number indicating the position of the information;
Further, the execution flag is set, and the director machine number D0 or D1 is stored as the execution route.

【0068】ここで格納ポインタ126と実行ポインタ
128の各ポインタ値P1,P2は、0,1,2,3,
と増加して再び0に戻るカウントを繰り返す。更に、ア
クセッサ・コントローラ28にはビジー管理テーブル1
30が設けられる。ビジー管理テーブル130は4台分
のディレクタ機番アドレスD0〜D3毎にビジーフラグ
をセット可能としている。ビジーフラグのセットは運搬
命令の受領通知に対しキューイングテーブル122に空
きがないことを判別したとき行われる。また、キューイ
ングテーブル122に格納している媒体運搬情報を実行
終了して空きができると、ビジーフラグがクリアされ
る。
Here, the pointer values P1 and P2 of the storage pointer 126 and the execution pointer 128 are 0, 1, 2, 3,
And the count is returned to 0 again. Further, the accessor controller 28 has a busy management table 1
30 are provided. The busy management table 130 can set a busy flag for each of the four director machine number addresses D0 to D3. The busy flag is set when it is determined that there is no free space in the queuing table 122 in response to the notification of receipt of the transport instruction. When the medium transportation information stored in the queuing table 122 is completed and a free space is created, the busy flag is cleared.

【0069】ビジー管理テーブル130のセット時には
ディレクタ26−1,26−2側にビジー応答を行い、
これに基づきディレクタ26−1,26−2は対応する
チャネルに対しビジー報告を行い、このとき機番制御テ
ーブル100−1,100−2のビジー報告フラグの対
応するチャネル位置にフラグセットが行われる。ここ
で、ディレクタ26−1,26−2に設けた図10のC
PU90に示す起動処理部92とアイドル処理部94の
機能を説明する。ディレクタ26−1,26−2に設け
られた起動処理部92は主にチャネルからの起動要求
(コマンド発行)があった場合にチャネルからのコマン
ドを受領し、アクセッサ・コントローラ28に対し媒体
運搬の指示等を行う。
When the busy management table 130 is set, a busy response is sent to the directors 26-1 and 26-2.
Based on this, the directors 26-1 and 26-2 perform a busy report on the corresponding channel, and at this time, a flag is set at the channel position corresponding to the busy report flag in the unit number control tables 100-1 and 100-2. . Here, C shown in FIG. 10 provided in the directors 26-1 and 26-2.
The functions of the activation processing unit 92 and the idle processing unit 94 shown in the PU 90 will be described. The activation processing unit 92 provided in each of the directors 26-1 and 26-2 mainly receives a command from the channel when there is an activation request (command issuance) from the channel, and sends the medium to the accessor controller 28 for transporting the medium. Give instructions.

【0070】また、アイドル処理部94は主にアクセッ
サ・コントローラ28からの媒体運搬終了を監視し、チ
ャネルに対し終了報告を行う。この起動処理部92及び
アイドル処理部94の処理機能は後の説明で更に明らか
にされる。また、アクセッサ・コントローラ28に設け
た図11に示す起動処理部114は、主にディレクタ2
6−1,26−2からの起動要求(コマンド発行)を受
領した場合、入出力起動用の媒体運搬指示の場合にはム
ーブコマンドとしての媒体運搬情報をキューイングテー
ブル122に格納する処理を行う。
The idle processing section 94 mainly monitors the end of medium transport from the accessor controller 28 and reports the end to the channel. The processing functions of the activation processing unit 92 and the idle processing unit 94 will be further clarified in a later description. The activation processing unit 114 provided in the accessor controller 28 shown in FIG.
When a start request (command issuance) from 6-1 or 26-2 is received, in the case of a medium transfer instruction for input / output start, processing for storing medium transfer information as a move command in the queuing table 122 is performed. .

【0071】また、アイドル処理部116は、主にアク
セッサ12−1,12−2に対しキューイングテーブル
122の媒体運搬情報に基づき運搬指示を行い、更にア
クセッサ12−1,12−2による媒体の運搬終了を監
視し、ディレクタ26−1,26−2に対し運搬終了報
告を行う。このアクセッサ・コントローラ28の起動処
理部114及びアイドル処理部116の詳細も後の説明
で明らかにする。
Further, the idle processing section 116 mainly issues a transport instruction to the accessors 12-1 and 12-2 based on the media transport information of the queuing table 122, and furthermore, the accessors 12-1 and 12-2 carry out media transfer. The transport completion is monitored, and a transport completion report is made to the directors 26-1 and 26-2. Details of the activation processing unit 114 and the idle processing unit 116 of the accessor controller 28 will be clarified later.

【0072】図16はディレクタ26−1,26−2か
らチャネルに対する応答ステータスについて媒体運搬処
理で使用するものを列挙している。まずイニシャルステ
ータスはコード「00」であり、チャネルからの媒体運
搬命令を正常に受領したことを示し、このイニシャルス
テータスの応答で次の媒体運搬情報の転送を促す。チャ
ネルエンドステータスはコード「08」であり、媒体運
搬情報を正常に受領したことを示す。
FIG. 16 lists the response statuses for the channels from the directors 26-1 and 26-2 used in the medium transport process. First, the initial status is code "00", indicating that the medium transport command from the channel has been normally received, and prompting the transfer of the next media transport information in response to the initial status. The channel end status is code "08", indicating that the medium transport information has been normally received.

【0073】デバイスビジーはコード「10」であり、
キューイングテーブル122に空きがないことを示す。
デバイスエンドステータスはコード「04」であり、ア
クセッサによる媒体の運搬終了を示す。更に、ビジー解
除ステータスはコード「04」であり、キューイングテ
ーブル122に空きがでて新たな媒体運搬命令が受領可
能になったことを知らせる。 5.ライブラリ装置の媒体運搬動作 次に図17乃至図26を参照して運搬命令受領時のライ
ブラリ装置の動作を説明する。 (1)チャネルからの媒体運搬命令の受領 いまディレクタ26−1はチャネルBから機番アドレス
#1を指定した媒体運搬命令を受領したとすると、アク
セッサ・コントローラ28に対し運搬指示を行う。アク
セッサ・コントローラ28はディレクタ26−1からの
運搬指示を受領すると、キューイングテーブル122に
空きがあるか否か確認する。具体的には、キューカウン
タ125の計数値Nを参照し、最大格納数Nmax 未満で
あれば空きがあると確認する。ここで、キューカウンタ
125の計数値N=0であったとすると、キューイング
テーブル122に空きがあることが判る。キューイング
テーブル122の空きを確認すると、アクセッサ・コン
トローラ28はディレクタ26に対し受領を応答する。
The device busy is code “10”,
This indicates that there is no free space in the queuing table 122.
The device end status is code "04", indicating that the medium has been conveyed by the accessor. Further, the busy release status is code "04", which indicates that the queuing table 122 has become empty and a new medium transport command can be received. 5. Media Transport Operation of Library Apparatus Next, the operation of the library apparatus at the time of receiving a transport command will be described with reference to FIGS. (1) Receiving a medium transport command from the channel Assuming that the director 26-1 has received a media transport command specifying the machine number address # 1 from the channel B, the director 26-1 issues a transport instruction to the accessor controller 28. Upon receiving the transport instruction from the director 26-1, the accessor controller 28 checks whether there is a free space in the queuing table 122. Specifically, referring to the count value N of the queue counter 125, if it is less than the maximum storage number Nmax , it is confirmed that there is a free space. Here, assuming that the count value N of the queue counter 125 is 0, it is understood that there is a space in the queuing table 122. Upon confirming the availability of the queuing table 122, the accessor controller 28 responds to the director 26 with an acknowledgment.

【0074】ディレクタ26はアクセッサ・コントロー
ラ28からの受領応答を受け取ると、機番制御テーブル
100−1内の媒体運搬命令で指定された機番アドレス
#1のスロット上にあるチャネルBに対応するコマンド
実行フラグをセットする。以下の説明においては、テー
ブルのフラグセットを黒丸で示し、フラグをクリアした
場合には白丸で示す。このコマンド実行フラグのセット
が済むと、媒体運搬命令を発行したチャネルBに対しデ
ィレクタ26−1はコード番号「00」のイニシャルス
テータスを報告する。
Upon receiving the acknowledgment from the accessor controller 28, the director 26 issues a command corresponding to channel B on the slot of the machine number address # 1 designated by the medium transport command in the machine number control table 100-1. Set the execution flag. In the following description, the flag set of the table is indicated by a black circle, and when the flag is cleared, it is indicated by a white circle. When the command execution flag is set, the director 26-1 reports the initial status of the code number "00" to the channel B that has issued the medium transport instruction.

【0075】ディレクタ26−1からイニシャルステー
タスを受けたチャネルBは、続いて移動元とセルアドレ
スと移動先セルアドレスをもつ媒体運搬情報「XXX
X」をディレクタ26−1に発行する。ディレクタ26
−1はチャネルBからの媒体運搬情報「XXXX」をア
クセッサ・コントローラ28に転送する。アクセッサ・
コントローラ28はディレクタ26−1からの媒体運搬
情報「XXXX」を受領すると、格納ポインタ126の
ポインタ値P1=1で示すキューイングテーブル122
のID番号のスロットに、受領した媒体運搬情報「XX
XX」を格納する。
Channel B, which has received the initial status from the director 26-1, continues with the medium transport information “XXX” having the source address, the cell address, and the destination cell address.
X "to the director 26-1. Director 26
-1 transfers the media transport information "XXXX" from channel B to the accessor controller 28. Accessor
When the controller 28 receives the medium transport information “XXXX” from the director 26-1, the queuing table 122 indicated by the pointer value P1 = 1 of the storage pointer 126
In the slot with the ID number of “XX”
XX ”is stored.

【0076】また、ディレクタ26−1,26−2のど
ちらからの指示を識別するため、実行ルートにディレク
タ26−1の機番D0を格納する。媒体運搬情報の格納
が済むと、格納ポインタ126のポインタ値P1を1つ
インクリメントしてP1=2とし、次に受領した媒体運
搬情報を格納するキューイングテーブル122のテーブ
ル位置を生成する。またキューカウンタ125は1つイ
ンクリメントされ、N=1となる。更に、ディレクタ2
6−1に対し媒体運搬情報「XXXX」を格納したキュ
ーイングテーブル122のID=1を転送する。
To identify the instruction from either of the directors 26-1 and 26-2, the machine number D0 of the director 26-1 is stored in the execution route. After the storage of the medium transport information, the pointer value P1 of the storage pointer 126 is incremented by one to P1 = 2, and the table position of the queuing table 122 for storing the next received medium transport information is generated. The queue counter 125 is incremented by one, and N = 1. In addition, Director 2
The ID = 1 of the queuing table 122 storing the medium transport information “XXXX” is transferred to 6-1.

【0077】ディレクタ26−1はアクセッサ・コント
ローラ28から送られたID=1をポインタとしてID
管理テーブル102−1内のスロットに機番アドレス#
1と命令を受領したチャネルルートを示すチャネル番号
Bを格納する。最終的に媒体運搬命令を発行したチャネ
ルBに対しコード番号(08)のチャネルエンドステー
タスを報告する。以上でチャネルBからディレクタ26
−1に対する一連の媒体運搬命令の転送処理が終了す
る。
The director 26-1 uses the ID = 1 sent from the accessor controller 28 as a pointer and
The machine number address # is assigned to the slot in the management table 102-1.
1 and a channel number B indicating the channel route that has received the instruction are stored. Finally, the channel end status of the code number (08) is reported to the channel B which has issued the medium transport instruction. Thus, channel B to director 26
The transfer process of a series of media transport instructions corresponding to -1 ends.

【0078】図18は図17に続いて、チャネルEから
ディレクタ26−2に対し機番アドレス#2の媒体運搬
命令を発行した場合の動作を示す。この場合にもアクセ
ッサ・コントローラ28のキューイングテーブル122
に空きがあることから、チャネルEに対しコード(0
0)のイニシャルステータスが報告されて媒体運搬情報
「YYYY」が転送され、キューイングテーブル122
のID=2のスロットに格納され、実行ルートとしてデ
ィレクタ26−2の機番D1が格納される。
FIG. 18 shows the operation in the case where a medium transport instruction of the machine number address # 2 is issued from the channel E to the director 26-2, following FIG. Also in this case, the queuing table 122 of the accessor controller 28
Is empty, the code (0
0) is reported, the medium transport information “YYYY” is transferred, and the queuing table 122
Is stored in the slot of ID = 2, and the machine number D1 of the director 26-2 is stored as the execution route.

【0079】また、機番制御テーブル100−2には機
番アドレス#2とチャネルEで決まる位置にコマンド実
行フラグがセットされる。更に、ID管理テーブル10
2−2にはアクセッサ・コントローラ28から送られた
ID=2をポインタとして機番アドレス#2とチャネル
ルートを示すチャネルEの値が格納される。この図18
の動作説明から明らかなように、ディレクタ26−1で
既に媒体運搬命令を実行中であっても、別のディレクタ
26−2で運搬命令を並行して実行することができる。
A command execution flag is set in a position determined by the device number address # 2 and the channel E in the device number control table 100-2. Further, the ID management table 10
2-2 stores the device number address # 2 and the value of the channel E indicating the channel route using the ID = 2 sent from the accessor controller 28 as a pointer. This FIG.
As is clear from the description of the operation, even if the medium transport instruction is already being executed by the director 26-1, the transport instruction can be executed in parallel by another director 26-2.

【0080】図19は図18に続いて更にチャネルAよ
りディレクタ26−1に対し機番アドレス#1の媒体運
搬命令が発行された場合の動作を示す。この場合、キュ
ーカウンタ125はN=2となってキューイングテーブ
ル122に空きがあることから、チャネルAに対しコー
ド(00)のイニシャルステータスが報告されて、媒体
運搬情報「ZZZZ」が転送される。受領された媒体運
搬情報「ZZZZ」はキューイングテーブル122のそ
のときの格納ポインタ126のポインタ値P1=3で指
定されるID=3のスロットに格納され、併せて実行ル
ートを示すディレクタ26−1の機番D0も格納する。
FIG. 19 shows the operation in the case where the medium transport instruction of the machine number address # 1 is further issued from the channel A to the director 26-1 following FIG. In this case, since the queue counter 125 has N = 2 and there is a free space in the queuing table 122, the initial status of the code (00) is reported to the channel A, and the medium transport information “ZZZZ” is transferred. . The received medium transport information “ZZZZ” is stored in the slot of ID = 3 designated by the pointer value P1 = 3 of the storage pointer 126 at that time in the queuing table 122, and the director 26-1 indicating the execution route Is stored.

【0081】また、機番制御テーブル100−1には機
番アドレス#1とチャネルAで定まる位置にコマンド実
行フラグがセットされ、ID管理テーブル102−1に
あってはアクセッサ・コントローラ28から送られたキ
ューイングテーブル122の格納位置を示すID=3を
ポインタとして、機番アドレス#1とチャネルルートを
示すチャネルAの値が格納される。
A command execution flag is set at a position determined by the device number address # 1 and the channel A in the device number control table 100-1, and sent from the accessor controller 28 in the ID management table 102-1. Using ID = 3 indicating the storage position of the queuing table 122 as a pointer, the value of the channel number indicating the machine number address # 1 and the channel route is stored.

【0082】この図19の動作から明らかなように、本
発明のライブラリ装置は同じディレクタ26−1に対し
異なるチャネルA,Bから同一の機番アドレス#1を指
定して発行された媒体運搬命令を実行することができ
る。図20は図19に続いて、更にチャネルEよりディ
レクタ26−2に対し機番アドレス#3の媒体運搬命令
が発行された場合の動作を示す。この場合、キューカウ
ンタ125はN=3となってアクセッサ・コントローラ
28のキューイングテーブル122には空きがあること
から、コード「00」のイニシャルステータスが報告さ
れ、チャネルEより媒体運搬情報「VVVV」が転送さ
れ、格納ポインタ126のポインタ値P1=0で指定さ
れるキューイングテーブル122のID=0のスロット
に運搬情報「VVVV」が格納され、併せて実行ルート
としてディレクタ26−2の機番D1が格納される。
As is apparent from the operation of FIG. 19, the library apparatus of the present invention issues a medium transport instruction issued from the different channels A and B to the same director 26-1 by designating the same machine number address # 1. Can be performed. FIG. 20 shows an operation in the case where a medium transport instruction of the machine number address # 3 is further issued from the channel E to the director 26-2 following FIG. In this case, since the queue counter 125 becomes N = 3 and the queuing table 122 of the accessor controller 28 has a free space, the initial status of the code “00” is reported, and the medium transport information “VVVV” is transmitted from the channel E. Is transferred, the transport information “VVVV” is stored in the slot of ID = 0 in the queuing table 122 specified by the pointer value P1 = 0 of the storage pointer 126, and the machine number D1 of the director 26-2 is also set as the execution route. Is stored.

【0083】また、機番制御テーブル102には機番ア
ドレス#3とチャネルEで決まる位置にコマンド実行フ
ラグがセットされる。更に、ID管理テーブル102−
2については、アクセッサ・コントローラ28から報告
されたID=0をポインタとして、機番アドレス#3及
びチャネルルートを示すチャネルEの値が格納される。
A command execution flag is set in a position determined by the device number address # 3 and the channel E in the device number control table 102. Further, the ID management table 102-
With respect to 2, the value of the channel number E indicating the device number address # 3 and the channel route is stored using the ID = 0 reported from the accessor controller 28 as a pointer.

【0084】この図20の動作から明らかなように、本
発明のライブラリ装置にあっては、同じチャネルEから
異なる機番アドレス#2,#3を指定して発行された2
つの媒体運搬命令を実行できることを示している。 (2)キューイングテーブルに空きがなくなったときの
動作 図21は図20に続いてチャネルBよりディレクタ26
−1に対し機番アドレス#0を指定した媒体運搬命令が
発行された場合の動作を示しており、このときキューイ
ングテーブル122がフル状態ににあるため、これを認
識してライブラリ装置はチャネルBに対しデバイスビジ
ーを報告するようになる。
As is apparent from the operation shown in FIG. 20, in the library device of the present invention, two different device numbers # 2 and # 3 issued from the same channel E are designated.
It shows that one media transport instruction can be executed. (2) Operation when there is no more space in the queuing table FIG.
-1 indicates an operation when a medium transport instruction designating the machine number address # 0 is issued. At this time, since the queuing table 122 is in a full state, the library device recognizes this, and B will report a device busy.

【0085】詳細に説明すると、ディレクタ26−1は
チャネルBから機番アドレス#0の媒体運搬命令を受領
すると、アクセッサ・コントローラ28に対し運搬指示
を行う。アクセッサ・コントローラ28はディレクタ2
6−1からの運搬指示を受領すると、キューカウンタ1
25の計数値Nを参照し、キューイングテーブル122
に空きがあるか否か確認する。このときキューカウンタ
125の計数値Nは、最大格納数Nmax に一致するN=
4となっており、キューイングテーブル122に空きが
ないことを確認する。
More specifically, when the director 26-1 receives the medium transport instruction of the machine number address # 0 from the channel B, the director 26-1 issues a transport instruction to the accessor controller 28. Accessor controller 28 is director 2
Upon receiving the transport instruction from 6-1, the queue counter 1
The queuing table 122 refers to the count value N of 25.
Check if there is a free space. At this time, the count value N of the queue counter 125 is equal to the maximum stored number Nmax.
4 to confirm that there is no free space in the queuing table 122.

【0086】キューイングテーブル122に空きがない
ことを確認すると、ディレクタ26−1に対しビジー応
答を返す。また、ビジー管理テーブル130のディレク
タ機番アドレスD0に対応するビット位置にビジーフラ
グをセットする。ディレクタ26−1はアクセッサ・コ
ントローラ28からのビジー応答を受け取ると、機番制
御テーブル100−1の機番アドレス#0のスロット上
にあるビジー報告フラグのチャネルBに対応したビット
にビジー報告フラグをセットする。そして、チャネルB
に対しコード(10)のデバイスビジーを報告する。
When it is confirmed that there is no free space in the queuing table 122, a busy response is returned to the director 26-1. Further, a busy flag is set at a bit position corresponding to the director machine number address D0 in the busy management table 130. When the director 26-1 receives the busy response from the accessor controller 28, the director 26-1 sets the busy report flag to the bit corresponding to the channel B of the busy report flag on the slot of the machine number address # 0 in the machine number control table 100-1. set. And channel B
To the device busy of code (10).

【0087】ここで、本発明のライブラリ装置における
デバイスビジーの発生はキューイングテーブル122の
スロット数(エントリ数)に依存する。従って、キュー
イングテーブル122のスロット数を、ディレクタ26
−1,26−2の各々におけるチャネル数に機番アドレ
スの総数nを掛け合わせた(m×n)の総和すると、キ
ューイングテーブル122のフルによるデバイスビジー
は発生しない。
Here, the occurrence of device busy in the library apparatus of the present invention depends on the number of slots (the number of entries) in the queuing table 122. Therefore, the number of slots in the queuing table 122 is
When the sum of (m × n) obtained by multiplying the number of channels in each of −1 and 26-2 by the total number n of the machine number addresses, the device busy due to the fullness of the queuing table 122 does not occur.

【0088】具体的に説明すると、本発明のライブラリ
装置で2台のディレクタ26−1,26−2のチャネル
数m=4、機番アドレス数n=4の場合、 (4×4)+(4×4)=32スロット とすれば、キューイングテーブル122のフルによるデ
バイスビジーは発生しない。
More specifically, in the library device of the present invention, when the number m of channels of the two directors 26-1 and 26-2 is m = 4 and the number of machine number addresses n = 4, (4 × 4) + ( If 4 × 4) = 32 slots, no device busy occurs due to the full queuing table 122.

【0089】また、図17〜図21の動作説明にあって
は、ディレクタ26−1,26−2の使用チャネル数m
=2、使用機番アドレス数n=2としていることから、
この場合、 (2×2)+(2×2)=8スロット とすれば、キューイングテーブル122のフルによるデ
バイスビジーは発生しない。この理由は各チャネルがデ
ィレクタ26−1,26−2に対し使用可能な機番アド
レスを全て使用して媒体運搬命令を発行してしまうと、
それ以上、媒体運搬命令を発行できず、ライブラリ装置
からの媒体運搬終了の応答による使用中の機番アドレス
の開放を待って次の媒体運搬命令を発行するからであ
る。 (3)アクセッサ・コントローラによる媒体運搬動作 図22は図20に示したキューイングテーブル122が
フルとなった状態でアクセッサ・コントローラ28がア
クセッサ機番AS0のアクセッサ12−1に対し媒体の
運搬を指示した場合の動作を示す。まず、アクセッサ・
コントローラ28は空き状態にあるアクセッサ12−1
または12−2を選択するため、実行状態管理テーブル
124を参照する。
In the description of the operation in FIGS. 17 to 21, the number m of channels used by directors 26-1 and 26-2 is m.
= 2 and the number of used machine number addresses n = 2,
In this case, if (2 × 2) + (2 × 2) = 8 slots, no device busy occurs due to the full queuing table 122. The reason for this is that if each channel issues a medium transport command to the directors 26-1 and 26-2 using all available machine number addresses,
This is because the medium transport command cannot be issued any more, and the next media transport command is issued after the currently used machine number address is released in response to the media transport end response from the library device. (3) Medium Transport Operation by Accessor Controller FIG. 22 shows that the accessor controller 28 instructs the accessor 12-1 of the accessor model number AS0 to transport a medium when the queuing table 122 shown in FIG. 20 is full. The operation in the case of performing is shown. First, accessor
The controller 28 is an accessor 12-1 in an empty state.
Alternatively, the execution state management table 124 is referred to in order to select 12-2.

【0090】このとき、アクセッサ12−1,12−2
の両方が空き状態にあることから、アクセッサ機番AS
0のアクセッサ12−1を選択し、このときの実行ポイ
ンタ128が示すポインタ値P2=1をID番号に格納
し、また実行フラグをセットし、更に実行ルートとして
ディレクタ機番D0を格納する。続いて実行ポインタ1
28のポインタ値P2=1に一致するID番号のスロッ
トを参照して、媒体運搬情報「XXXX」を媒体運搬命
令として取り出し、選択したアクセッサ12−1、具体
的には図6に示したマシン・コントローラ32−1に発
行する。
At this time, the accessors 12-1 and 12-2
Are both empty, so accessor machine number AS
The accessor 12-1 of 0 is selected, the pointer value P2 = 1 indicated by the execution pointer 128 at this time is stored in the ID number, the execution flag is set, and the director machine number D0 is stored as the execution route. Then execution pointer 1
With reference to the slot of the ID number corresponding to the pointer value P2 = 1 of 28, the medium transport information “XXXX” is extracted as the medium transport instruction, and the selected accessor 12-1, specifically, the machine accessor shown in FIG. Issue to controller 32-1.

【0091】この媒体運搬情報「XXXX」は移動元セ
ルアドレスと移動先セルアドレスをもっている。このた
め、媒体運搬情報「XXXX」を運搬命令として受領し
たアクセッサ12−1は、例えば移動元セルアドレスと
して指定されたセルブロックの指定セルからカートリッ
ジを取り出し、移動先セルアドレスとして指定された記
録再生装置に運んでカートリッジをローディングする。
また、アクセッサ・コントローラ28はアクセッサ12
−1に対する運搬命令の発行に伴い、実行ポインタ12
8のポインタ値P2を1つインクリメントしてP2=2
とする。さらにキューカウンタ125の値を1つデクリ
メントし、計数値NをN=3と1つ減らす。
The medium transport information “XXXX” has a source cell address and a destination cell address. For this reason, the accessor 12-1 that has received the medium transport information “XXXX” as the transport command takes out the cartridge from, for example, the specified cell of the cell block specified as the source cell address, and performs recording / reproduction specified as the destination cell address. Carry to the device and load the cartridge.
In addition, the accessor controller 28
-1 in response to issuance of the transport instruction for
Increment the pointer value P2 of P8 by 1 to P2 = 2
And Further, the value of the queue counter 125 is decremented by one, and the count value N is reduced by one to N = 3.

【0092】図23は図22に続いてアクセッサ・コン
トローラ28が別のアクセッサ12−2に対し運搬操作
を指示した場合の動作を示す。即ち、アクセッサ・コン
トローラ28は実行状態管理テーブル124を参照し、
このときアクセッサ機番AS1のアクセッサ12−2が
空いていることから、これを選択し、実行ポインタ12
8のポインタ値P2=2を格納し、また実行フラグをセ
ットし、更に実行ルートとしてディレクタ機番D1を格
納する。
FIG. 23 shows the operation following the case of FIG. 22 when the accessor controller 28 instructs another accessor 12-2 to perform a transport operation. That is, the accessor controller 28 refers to the execution state management table 124,
At this time, since the accessor 12-2 of the accessor model number AS1 is vacant, it is selected and the execution pointer 12 is selected.
8 is stored, an execution flag is set, and a director machine number D1 is stored as an execution route.

【0093】そして、実行ポインタ128のポインタ値
P2=2で指定されるキューイングテーブル122のI
D=2のスロットから媒体運搬情報「YYYY」を取り
出して、運搬命令としてアクセッサ12−2に対し運搬
を指示する。アクセッサ12−2に媒体運搬を指示する
と同時に、実行ポインタ128のポインタ値P2を1つ
インクリメントしてP2=3とする。またキューカウン
タ125の値を1つデクリメントし、N=2とする。
The I of the queuing table 122 specified by the pointer value P2 = 2 of the execution pointer 128
The medium transport information “YYYY” is extracted from the slot of D = 2, and the transport is instructed to the accessor 12-2 as the transport command. At the same time as instructing the medium transport to the accessor 12-2, the pointer value P2 of the execution pointer 128 is incremented by one to P2 = 3. Further, the value of the queue counter 125 is decremented by one, and N = 2.

【0094】この図23の動作説明から明らかなよう
に、本発明のライブラリ装置にあっては、2台設けてい
るアクセッサ12−1,12−2に対し媒体運搬命令を
発行することで同時に動作させることができる。ここ
で、アクセッサ12−1,12−2の同時動作を行う場
合には、アクセッサ12−1,12−2の移動範囲が重
複しないようにキューイングテーブル122から媒体運
搬情報を選択して運搬動作を指示する必要がある。図2
4は2台のアクセッサ12−1,12−2を同時動作す
る際の媒体運搬命令の割振り処理の基本的な考え方を示
している。
As is clear from the description of the operation shown in FIG. 23, in the library apparatus of the present invention, simultaneous operation is performed by issuing a medium transport instruction to the two accessors 12-1 and 12-2. Can be done. Here, when performing simultaneous operations of the accessors 12-1 and 12-2, the medium transport information is selected from the queuing table 122 so that the movement ranges of the accessors 12-1 and 12-2 do not overlap, and the transport operation is performed. Need to tell. FIG.
Reference numeral 4 indicates the basic concept of the process of allocating the medium transport command when the two accessors 12-1 and 12-2 operate simultaneously.

【0095】図2に示したように、セルブロック10に
対してはレール14を挟んで中央に相対してデッキユニ
ット16−1,16−2が設けられている。この場合、
アクセッサ12−1のアクセス可能領域S1はデッキユ
ニット16−1を含む左半分の領域となり、またアクセ
ッサ12−2のアクセス可能領域S2はセルブロック1
6−2を含む右側半分の領域となる。
As shown in FIG. 2, deck units 16-1 and 16-2 are provided opposite to the center of the cell block 10 with the rail 14 interposed therebetween. in this case,
The accessible area S1 of the accessor 12-1 is the left half area including the deck unit 16-1, and the accessible area S2 of the accessor 12-2 is the cell block 1.
It is the right half area including 6-2.

【0096】従って、アクセッサ12−1,12−2の
同時動作については、アクセッサ12−1についてはア
クセス可能領域S1のセルブロックにある例えば移動元
セルアドレスをもつ媒体運搬情報による命令を発行
し、アクセッサ12−2についてはアクセス可能領域S
2に含まれる例えば移動元セルアドレスをもつ媒体運
搬情報に基づく運搬命令を発行すればよい。
Accordingly, regarding the simultaneous operation of the accessors 12-1 and 12-2, the accessor 12-1 issues a command based on the medium transport information having, for example, the source cell address in the cell block of the accessible area S1. Accessible area S for accessor 12-2
2 may be issued based on the medium transport information having the source cell address, for example.

【0097】また、セルブロック10に対する媒体運搬
命令のセルアドレスの割当てはランダムであり、アクセ
ッサ可能領域S1,S2につき均等に生ずることはな
い。このため、キューイングテーブルに格納された媒体
運搬情報のうち、場合によっては実行が後回しにされる
命令が生ずる。このような場合にはキューイングテーブ
ル122に格納した媒体運搬情報が実行されるまでの時
間を監視し、所定時間を越えても実行されないオーバー
タイムを生じた場合には実行順位を最優先として強制的
に実行することで、特定の媒体運搬命令がキューイング
テーブルに取り残されてしまうことを防止する。
The assignment of the cell address of the medium transport command to the cell block 10 is random, and does not occur evenly for the accessible areas S1 and S2. For this reason, among the medium transport information stored in the queuing table, an instruction whose execution is postponed is generated in some cases. In such a case, the time until the medium transport information stored in the queuing table 122 is executed is monitored. Executing in a specific manner prevents a specific medium transport instruction from being left in the queuing table.

【0098】また、図24はセルブロック10の中央に
相対してデッキユニット16−1,16−2を設けた場
合を例にとっているが、デッキユニット16−1,16
−2をセルブロック10の両側に分けて設置した場合に
は、動的なアクセス可能領域S1,S2の設定が行われ
る。例えば、アクセッサ12−1が移動元セルアドレス
をもつ媒体運搬を行っている場合には、セルアドレス
の右側の領域がアクセッサ12−2のアクセス可能領
域S2に設定される。このようにデッキユニット16−
1,16−2をセルブロック10の両側に分けて設置し
た方が、アクセッサ12−1,12−2の同時動作によ
る処理効率は、制御は繁雑になるが向上する。 (4)媒体運搬終了時の動作 図25は図23に続いてアクセッサ12−1で媒体運搬
が終了したときの動作を示す。アクセッサ・コントロー
ラ28はアクセッサ12−1、即ちマシン・コントロー
ラ32−1より媒体の運搬終了報告を受けると、実行状
態管理テーブル124を参照してアクセッサ機番AS0
の実行フラグをリセットし、またディレクタ26−1に
対しアクセッサ機番AS0のスロットから読み出したI
D=1を転送する。
FIG. 24 shows an example in which the deck units 16-1 and 16-2 are provided opposite to the center of the cell block 10, but the deck units 16-1 and 16-2 are provided.
When -2 is separately set on both sides of the cell block 10, dynamic setting of the accessible areas S1 and S2 is performed. For example, when the accessor 12-1 is carrying a medium having the source cell address, the area to the right of the cell address is set as the accessible area S2 of the accessor 12-2. Thus, the deck unit 16-
If the control units 1 and 16-2 are installed separately on both sides of the cell block 10, the processing efficiency due to the simultaneous operation of the accessors 12-1 and 12-2 is improved although control becomes complicated. (4) Operation at the time of media conveyance end FIG. 25 shows the operation at the time of media conveyance end by the accessor 12-1 following FIG. When the accessor controller 28 receives the media transport completion report from the accessor 12-1, that is, the machine controller 32-1, the accessor controller 28 refers to the execution state management table 124 to accessor machine number AS0.
Is reset, and the director 26-1 reads the I read from the slot of the accessor model number AS0.
Transfer D = 1.

【0099】ディレクタ26−1はアクセッサ・コント
ローラ28から転送されたID=1をポインタとしてI
D管理テーブル102−1を参照し、ID=1のスロッ
トに格納している機番アドレス#1及びチャネルルート
を示すチャネルBを読み出す。続いてディレクタ26−
1は機番制御テーブル100−1を、ID管理テーブル
のコマンド実行フラグをID管理テーブル102−1か
ら読み出した機番アドレス#1とチャネルBにより検索
し、該当するコマンド実行フラグをクリアする。最終的
にディレクタ26−1は検索されたチャネルBに対し媒
体の運搬終了を示すコード「04」のデバイスエンドス
テータスを報告する。
The director 26-1 uses the ID = 1 transferred from the accessor controller 28 as a pointer and
With reference to the D management table 102-1, the device number address # 1 stored in the slot with ID = 1 and the channel B indicating the channel route are read. Then director 26-
1 searches the device number control table 100-1 for the command execution flag of the ID management table using the device number address # 1 and the channel B read from the ID management table 102-1 and clears the corresponding command execution flag. Finally, the director 26-1 reports the device end status of the code "04" indicating the end of the transport of the medium to the searched channel B.

【0100】図26は図25に続いてアクセッサ12−
2による媒体の運搬終了が行われたときの動作を示す。
この場合にもアクセッサ12−2、具体的にはマシン・
コントローラ32−2からの運搬終了報告を受けてアク
セッサ・コントローラ28は実行状態管理テーブル12
4におけるアクセッサ機番AS1の実行フラグをクリア
し、ディレクタ26−1にID=2を転送する。
FIG. 26 shows the accessor 12-
2 shows the operation when the transport of the medium is completed by the second method.
Also in this case, the accessor 12-2, specifically, the machine
Upon receiving the transport completion report from the controller 32-2, the accessor controller 28 sets the execution state management table 12
4 clears the execution flag of the accessor model number AS1, and transfers ID = 2 to the director 26-1.

【0101】ディレクタ26−1は転送されたID=2
をポインタとしてID管理テーブル102−2を参照し
て機番アドレス#2とチャネルEを読み出し、これによ
り機番制御テーブル100−2の機番アドレス#2とチ
ャネルEで特定されるコマンド実行フラグを検索してク
リアし、検索されたチャネルEに対しデバイスエンドス
テータスを報告する。
The director 26-1 receives the transferred ID = 2
With reference to the ID management table 102-2, the device number address # 2 and the channel E are read out, and the command execution flag specified by the device number address # 2 and the channel E of the device number control Search and clear, report device end status for searched channel E.

【0102】図27は図26に続いて行われるビジー解
除報告時の動作を示す。キューカウンタ125を参照
し、計数値Nが最大格納数Nmax 未満となったことでキ
ューイングテーブル122に空きがあることを確認する
と、ディレクタ26−1に対しビジー解除を報告する。
このときビジー管理テーブル130のディレクタ機番D
0についてセットしているビジーフラグをクリアする。
ディレクタ26−1はアクセッサ・コントローラ28か
らのビジー解除報告を受け取ると機番制御テーブル10
0−1のビジー報告フラグを参照し、デバイスビジーを
報告したチャネルBに対しコード「04」のビジー解除
ステータスを報告し、併せてビジー報告フラグをクリア
する。このディレクタ26からのビジー解除ステータス
を受けたチャネルBは機番アドレス#0が空いたことを
認識し、機番アドレス#0を指定して、前回ビジーとな
った媒体運搬命令を再発行することになる。 (5)全体的な動作シーケンス 図28及び図29は図17〜図27の動作をまとめて一
連の動作として示している。図28において、まずチャ
ネルBからディレクタ26−1の機番アドレス#1を指
定して媒体運搬命令200が発行されると、これが媒体
運搬指示202としてアクセッサ・コントローラ28に
伝えられ、受領応答204を返し、ディレクタ26−1
からゼロステータス206をチャネルBに返す。
FIG. 27 shows the operation at the time of the busy release report performed subsequent to FIG. When the queue counter 125 refers to the queue counter 125 and confirms that the queuing table 122 has a free space due to the count value N being less than the maximum storage number Nmax , the busy release is reported to the director 26-1.
At this time, the director machine number D in the busy management table 130
Clear the busy flag set for 0.
Upon receiving the busy release report from the accessor controller 28, the director 26-1 receives the busy release report from the accessor controller 28.
The busy report flag of code "04" is reported to the channel B that has reported the device busy by referring to the busy report flag of 0-1 and the busy report flag is also cleared. The channel B receiving the busy release status from the director 26 recognizes that the machine number address # 0 is vacant, designates the machine number address # 0, and reissues the previously busy medium transport command. become. (5) Overall Operation Sequence FIGS. 28 and 29 collectively show the operations of FIGS. 17 to 27 as a series of operations. In FIG. 28, first, when the medium transport instruction 200 is issued from the channel B by designating the machine number address # 1 of the director 26-1, this is transmitted to the accessor controller 28 as the medium transport instruction 202, and the reception response 204 is transmitted. Return, director 26-1
Returns a zero status 206 to channel B.

【0103】このゼロステータス206に対しチャネル
Bは媒体運搬情報208を発行し、ディレクタ26−1
を経由してアクセッサ・コントローラ28に運搬情報転
送210として送られ、キューイングテーブルに格納さ
れ、ID報告212を返す。これを受けてディレクタ2
6−1はチャネルBにチャネルエンドステータス214
を報告する。
In response to the zero status 206, the channel B issues medium transport information 208, and the director 26-1
Is sent to the accessor controller 28 as a transport information transfer 210, is stored in the queuing table, and returns an ID report 212. Director 2 receiving this
6-1 indicates the channel B channel end status 214
Report.

【0104】アクセッサ・コントローラ28のキューイ
ングテーブルに媒体運搬情報が格納されると、アクセッ
サ12−1に媒体運搬を指示し、媒体運搬中216とな
る。次にチャネルEからディレクタ26−2の機番アド
レス#3を指定して媒体運搬命令218が発行され、ア
クセッサ・コントローラ28に媒体運搬指示220とし
て伝えられ、キューイングテーブルに空きがあることか
ら受領応答222を返す。
When the medium transport information is stored in the queuing table of the accessor controller 28, the medium transport is instructed to the accessor 12-1. Next, the medium transport instruction 218 is issued from the channel E by designating the machine number address # 3 of the director 26-2, transmitted to the accessor controller 28 as the media transport instruction 220, and received because there is a space in the queuing table. A response 222 is returned.

【0105】これを受けてディレクタ26−2はチャネ
ルEにゼロステータス224を返し、チャネルEは媒体
運搬情報226を発行する。ディレクタ26−2からの
媒体運搬情報226は運搬情報転送228としてアクセ
ッサ・コントローラ28に送られ、キューイングテーブ
ルに格納され、ID報告230を返し、ディレクタ26
−2はチャネルエンドステータス232をチャネルEに
返す。
In response, the director 26-2 returns a zero status 224 to the channel E, and the channel E issues the medium transport information 226. The media transport information 226 from the director 26-2 is sent to the accessor controller 28 as a transport information transfer 228, stored in a queuing table, returning an ID report 230,
-2 returns the channel end status 232 to the channel E.

【0106】運搬情報転送228によりアクセッサ・コ
ントローラ28に媒体運搬情報226が格納されると、
アクセッサ12−2に対し媒体運搬を指示し、アクセッ
サ12−2も媒体運搬中234となる。次に、チャネル
Aからディレクタ26−1の機番アドレス#1を指定し
て媒体運搬命令236が発行され、アクセッサ・コント
ローラ28に媒体運搬指示238として伝えられ、キュ
ーイングテーブルに空きがあることから受領応答240
を返し、チャネルAにゼロステータス242を報告す
る。
When the medium transport information 226 is stored in the accessor controller 28 by the transport information transfer 228,
The medium transfer is instructed to the accessor 12-2, and the accessor 12-2 also becomes 234 during the medium conveyance. Next, the medium transport instruction 236 is issued from the channel A by designating the machine number address # 1 of the director 26-1, and is transmitted to the accessor controller 28 as the medium transport instruction 238. Since there is a space in the queuing table, Acknowledgment 240
And reports a zero status 242 to channel A.

【0107】これを受けてチャネルAからは媒体運搬情
報244が発行され、ディレクタ26−1から運搬情報
転送246としてアクセッサ・コントローラ28に送ら
れてキューイングテーブルに格納され、ID報告248
を返し、ディレクタ26−1はチャネルAにチャネルエ
ンドステータス250を報告する。次に、図29でチャ
ネルEからディレクタ26−2の機番アドレス#3を指
定して媒体運搬命令252が発行され、媒体運搬指示2
54としてアクセッサ・コントローラに伝えられ、キュ
ーイングテーブルに空きがあることから受領応答256
を返し、チャネルEにゼロステータス258として報告
する。これを受けてチャネルEからは媒体運搬情報26
0が発行され、ディレクタ26−2を経由してアクセッ
サ・コントローラ28に運搬情報転送262として送ら
れ、キューイングテーブルに格納され、ID報告264
を返し、チャネルEにチャネルエンドステータス266
が報告される。
In response to this, the medium transport information 244 is issued from the channel A, transmitted from the director 26-1 as the transport information transfer 246 to the accessor controller 28 and stored in the queuing table, and the ID report 248 is transmitted.
Is returned, and the director 26-1 reports the channel end status 250 to the channel A. Next, in FIG. 29, the medium transport instruction 252 is issued from the channel E by designating the machine number address # 3 of the director 26-2, and the medium transport instruction 2 is issued.
It is transmitted to the accessor controller as 54, and the acknowledgment 256
And report to channel E as zero status 258. In response to this, the medium transport information 26 is transmitted from the channel E.
0 is issued, sent as a transport information transfer 262 to the accessor controller 28 via the director 26-2, stored in the queuing table, and sent to the ID report 264.
And returns the channel end status 266 to the channel E.
Is reported.

【0108】更に、チャネルBからディレクタ26−1
の機番アドレス#0を指定して媒体運搬命令268が発
行され、媒体運搬指示270としてアクセッサ・コント
ローラ28に通知される。しかしながら、前回の媒体運
搬命令252の受領でキューイングテーブルはフル状態
にあるため、ビジー応答272が返され、チャネルBに
対しビジーステータス274を報告する。
Further, from channel B to director 26-1
A medium transport instruction 268 is issued by designating the machine number address # 0, and the accessor controller 28 is notified as a medium transport instruction 270. However, since the queuing table is full upon the previous receipt of the media transport command 252, a busy response 272 is returned and a busy status 274 is reported to channel B.

【0109】この後に、実行中であったアクセッサ12
−1による媒体運搬が終了して運搬終了276がアクセ
ッサ・コントローラ28に通知されると、ディレクタ2
6−1に運搬終了,ID報告278を行い、チャネルB
に対しデバイスエンドステータス280を報告する。続
いて、アクセッサ12−2による運搬終了282の報告
をアクセッサ・コントローラ28が受けたとすると、デ
ィレクタ26−2に対し運搬終了,ID報告284を行
い、チャネルEに対しデバイスエンドステータス286
を報告する。
Thereafter, the accessor 12 being executed is
When the transport end 276 is notified to the accessor controller 28 after the transport of the medium by -1 is completed, the director 2
At 6-1, the transportation is completed, an ID report 278 is made, and channel B is sent.
To the device end status 280. Subsequently, assuming that the accessor controller 28 receives a report of the transport end 282 by the accessor 12-2, the transport end and ID report 284 are made to the director 26-2, and the device end status 286 is sent to the channel E.
Report.

【0110】続いてアクセッサ・コントローラ28はキ
ューイングテーブルの空きを確認してディレクタ26−
1にビジー解除288を通知し、ディレクタ26−1は
チャネルBにビジー解除ステータス290を報告する。
これを受けてチャネルBは前回発行した媒体運搬命令2
68と同じ媒体運搬命令292を再発行する。 (6)ディレクタの起動処理部の処理動作 図30は図10に示したディレクタに設けた起動処理部
92の処理動作を示したフローチャートであり、起動処
理部92は主にチャネルからのコマンド発行を受領して
アクセッサ・コントローラに対し媒体運搬等の指示を行
う。
Subsequently, the accessor controller 28 confirms the availability of the queuing table, and
1 is notified of busy release 288, and director 26-1 reports busy release status 290 to channel B.
In response to this, channel B issued the previously issued medium transport instruction 2
Reissue the same media transport instruction 292 as 68. (6) Processing Operation of Director's Activation Processing Unit FIG. 30 is a flowchart showing the processing operation of the activation processing unit 92 provided in the director shown in FIG. Upon receipt, the accessor / controller is instructed to transport the medium.

【0111】チャネルよりコマンド発行によるチャネル
起動要求があると、ステップS1で起動要求があったチ
ャネルルートのアドレスを取り込み、更にステップS3
でコマンドを受信する。ステップS4ではステップS3
で受信したコマンドを解読して媒体運搬命令か否かチェ
ックする。媒体運搬命令でなければステップS5に進
み、他のコマンドの処理を実行する。
When a channel activation request is issued from the channel by issuing a command, the address of the channel route for which activation has been requested is fetched in step S1, and furthermore, in step S3.
To receive the command. In step S4, step S3
Decrypts the received command and checks whether it is a medium transport command. If the command is not a medium transport command, the process proceeds to step S5 to execute processing of another command.

【0112】媒体運搬命令であった場合にはステップS
6に進み、アクセッサ・コントローラに媒体運搬指示を
行い、ステップS7で受領応答を確認する。ステップS
8はアクセッサ・コントローラからの受領応答がビジー
応答か否かチェックする。もしキューイングテーブルに
空きがないことによるビジー応答であった場合にはステ
ップS9でチャネルに対しビジー報告を行い、機番制御
テーブルにビジー報告フラグをセットする。
If the command is a medium transport command, step S
The program proceeds to step S6, where a medium transport instruction is issued to the accessor controller, and a reception response is confirmed in step S7. Step S
8 checks whether the reception response from the accessor controller is a busy response. If the response is a busy response because there is no free space in the queuing table, a busy report is made to the channel in step S9, and a busy report flag is set in the device number control table.

【0113】ステップS8で応答がビジーでなかった場
合にはステップS11に進み、ステップS2で取り込ん
だ機番アドレス#iにより機番制御テーブルを検索し
て、対応するチャネルのスロット位置にコマンド実行フ
ラグをセットする。続いてステップS3でチャネルにゼ
ロステータスを報告する。このゼロステータスの報告に
対しチャネル側から媒体運搬情報が発行されてくること
から、ステップS14で媒体運搬情報を取り込み、ステ
ップS15でアクセッサ・コントローラに転送する。
If the response is not busy in step S8, the process proceeds to step S11, where the device number control table is searched by the device number address #i fetched in step S2, and the command execution flag is set in the slot position of the corresponding channel. Is set. Subsequently, a zero status is reported to the channel in step S3. Since the medium transport information is issued from the channel side in response to the zero status report, the medium transport information is fetched in step S14, and is transferred to the accessor controller in step S15.

【0114】アクセッサ・コントローラ側でキューイン
グテーブルに対する媒体運搬情報の格納が済むと、ID
番号が送り返されてくることから、ステップS16でI
D番号を受領し、ステップS17で獲得したID番号を
ポインタとしてID管理テーブルを検索し、ステップS
18で機番アドレス#i及びチャネルルートを示すステ
ップS1で取り込んだチャネルルートアドレスを格納す
る。最終的にステップS19でチャネルに対しチャネル
エンドステータスを報告する。 (7)ディレクタのアイドル処理部の処理動作 図31は図10のディレクタに設けたアイドル処理部9
4の処理動作を示す。このディレクタのアイドル処理部
は主にアクセッサ・コントローラからの媒体運搬終了を
監視し、チャネルに対し終了報告を行う。まずステップ
S1でアクセッサ・コントローラからの運搬終了指示を
確認しており、運搬終了指示を受けるとステップS2に
進み、アクセッサ・コントローラから送られたID番号
を獲得する。
When the medium transport information is stored in the queuing table on the accessor / controller side, the ID
Since the number is sent back, in step S16
Upon receiving the D number, the ID management table is searched using the ID number acquired in step S17 as a pointer, and the
At 18, the machine root address #i and the channel route address taken in step S1 indicating the channel route are stored. Finally, the channel end status is reported to the channel in step S19. (7) Processing Operation of Idle Processing Unit of Director FIG. 31 shows the idle processing unit 9 provided in the director of FIG.
4 shows the processing operation. The idle processing unit of the director mainly monitors the end of the medium transport from the accessor controller and reports the end to the channel. First, in step S1, a transportation end instruction from the accessor controller is confirmed. When the transportation end instruction is received, the process proceeds to step S2, and the ID number sent from the accessor controller is obtained.

【0115】ステップS3では、獲得したID番号によ
りID管理テーブルを検索して、対応する機番アドレス
#iとチャネルルートアドレスをステップS4で取り出
す。続いてステップS5で機番アドレス#iとチャネル
ルートアドレスにより機番管理テーブルを検索し、ステ
ップS6で該当するチャネルアドレスのチャネルに対し
運搬終了ステータスを報告し、ステップS7で機番管理
テーブルのコマンド受領フラグをクリアする。
In step S3, the ID management table is searched by the acquired ID number, and the corresponding device number address #i and channel route address are extracted in step S4. Subsequently, in step S5, the device number management table is searched by using the device number address #i and the channel route address. In step S6, the transport end status is reported for the channel having the corresponding channel address. Clear the receipt flag.

【0116】一方、ステップS1でアクセッサ・コント
ローラからの運搬終了報告がない場合にはステップS8
に進んで、ビジー解除報告の有無をチェックする。もし
ビジー解除報告を受けると、ステップ9でビジー報告を
行ったチャネルルートにビジー解除ステータスを報告
し、ステップS10で機番制御テーブルのビジー報告フ
ラグをクリアする。 (8)アクセッサ・コントローラの起動処理部の処理動
作 図32は図11に示したアクセッサ・コントローラの起
動処理部114の処理動作を示す。この起動処理部11
4は主にディレクタからのコマンド発行に伴う起動要求
があった場合に起動要求を受領し、起動要求が媒体運搬
指示であった場合には媒体運搬情報をキューイングテー
ブルに格納する。
On the other hand, if there is no transportation end report from the accessor controller in step S1, step S8.
To check if there is a busy release report. If a busy release report is received, a busy release status is reported to the channel route that has reported the busy in step 9, and a busy report flag in the machine number control table is cleared in step S10. (8) Processing Operation of Activation Processing Unit of Accessor Controller FIG. 32 shows processing operation of the activation processing unit 114 of the accessor controller shown in FIG. This activation processing unit 11
Reference numeral 4 mainly receives the start request when there is a start request accompanying the command issuance from the director, and stores the medium transfer information in the queuing table when the start request is a medium transfer instruction.

【0117】即ち、ステップS1でディレクタからのコ
マンドを受領すると、ステップS2で媒体運搬指示か否
かチェックする。媒体運搬指示でなかった場合にはステ
ップS3に進み、他のコマンド処理を行う。媒体運搬指
示であった場合にはステップS4に進み、キューイング
テーブルの空き状態、即ちキューイングテーブルがフル
か否か確認する。
That is, when a command is received from the director in step S1, it is checked in step S2 whether the command is a medium transport instruction. If the instruction is not a medium transport instruction, the process proceeds to step S3, and another command processing is performed. If the instruction is a medium transport instruction, the process proceeds to step S4 to check whether the queuing table is empty, that is, whether the queuing table is full.

【0118】具体的には、図12に示したキューカウン
タ125の計数値Nを参照し、キューイングテーブルの
最大格納数Nmax に一致すれば、キューイングテーブル
はフルであると判断してステップS5,S6の処理を行
う。即ち、ディレクタにビジー報告を行ってビジー管理
テーブルにビジーフラグをセットする。一方、キューカ
ウンタの計数値Nが最大格納数Nmax 未満で、キューイ
ングテーブルに空きがあった場合にはステップS7に進
み、ディレクタからの運搬情報を取り込み、ステップS
8で格納ポインタによりキューイングテーブルのID番
号をサーチし、ステップS9でサーチしたID番号のス
ロットに取り込んだ運搬情報を格納する。
Specifically, referring to the count value N of the queue counter 125 shown in FIG. 12, if it matches the maximum storage number Nmax of the queuing table, it is determined that the queuing table is full, and Steps S5 and S6 are performed. That is, a busy report is made to the director, and a busy flag is set in the busy management table. On the other hand, if the count value N of the queue counter is less than the maximum storage number Nmax , and there is a vacancy in the queuing table, the process proceeds to step S7, where the transport information from the director is fetched, and
At step 8, the ID number of the queuing table is searched by the storage pointer, and at step S9, the transport information taken into the slot of the searched ID number is stored.

【0119】更に、キューイングテーブルの対応する同
一スロットの実行ルートの位置にディレクタのルートを
示すディレクタ機番を格納する。このようなキューイン
グテーブルに対する格納が済むと、ステップS11で格
納ポインタ126のポインタ値P1を格納を行ったキュ
ーイングテーブルのID番号とし、このID番号をステ
ップS12でディレクタに送信する。続いてステップS
13で次の格納位置を指定するために格納ポインタのポ
インタ値P1を1つインクリメントする。
Further, the director number indicating the director's route is stored at the position of the execution route of the same slot corresponding to the queuing table. When the storage in the queuing table is completed, the pointer value P1 of the storage pointer 126 is set as the ID number of the stored queuing table in step S11, and the ID number is transmitted to the director in step S12. Then step S
In step 13, the pointer value P1 of the storage pointer is incremented by one to specify the next storage position.

【0120】続いてステップS14で格納ポインタのポ
インタ値P1が最大値MAX=3を越えたか否か確認す
る。MAX=3を越えた場合はステップS15に進み、
格納ポインタのポインタ値P1をP1=0にクリアす
る。即ち、格納ポインタのポインタ値P1はMAX=3
とした場合は、P1=0,1,2,3を順番に繰り返
す。ステップS16でキューカウンタの値を1つインク
リメントする。 (9)アクセッサ・コントローラのアイドル処理部の処
理動作 図33,図34は図11に示したアクセッサ・コントロ
ーラのアイドル処理部116の処理動作を示す。このア
イドル処理部116は主にアクセッサに対し運搬指示を
行って媒体運搬終了を監視し、ディレクタに対し運搬終
了報告を行う。まずステップS1,S2は電源投入時あ
るいはリセット時の初期化処理であり、即ちステップS
1で実行ポインタのポインタ値P2を0にクリアし、ま
たステップS2で格納ポインタのポインタ値P1を0に
クリアし、更にステップS2´でキューカウンタもN=
0にクリアする。
Subsequently, in step S14, it is determined whether or not the pointer value P1 of the storage pointer has exceeded the maximum value MAX = 3. If MAX = 3, go to step S15,
The pointer value P1 of the storage pointer is cleared to P1 = 0. That is, the pointer value P1 of the storage pointer is MAX = 3.
, P1 = 0, 1, 2, and 3 are repeated in order. In step S16, the value of the queue counter is incremented by one. (9) Processing Operation of Idle Processing Unit of Accessor Controller FIGS. 33 and 34 show processing operation of the idle processing unit 116 of the accessor controller shown in FIG. The idle processing section 116 mainly issues a transport instruction to the accessor, monitors the end of the media transport, and reports the transport end to the director. First, steps S1 and S2 are initialization processing at power-on or reset, that is, step S1.
At 1 the pointer value P2 of the execution pointer is cleared to 0, at step S2 the pointer value P1 of the storage pointer is cleared to 0, and at step S2 'the queue counter is set to N =
Clear to 0.

【0121】ステップS3にあっては、キューカウンタ
Nを参照し、N=0であればキューイングテーブルに実
行すべき媒体運搬情報が全く残っていない空の状態にあ
ることから、図34のステップS16以降の処理を行
う。キューカウンタNが1以上であれば、キューイング
テーブルに少なくとも1つの媒体運搬情報が格納されて
いることから、ステップS4〜S15に示すアクセッサ
に対する運搬指示の処理を行う。
In step S3, the queue counter N is referred to. If N = 0, there is no empty medium transport information to be executed in the queuing table. The processing after S16 is performed. If the queue counter N is 1 or more, since at least one piece of medium transport information is stored in the queuing table, the processing of the transport instruction to the accessor shown in steps S4 to S15 is performed.

【0122】まずステップS4で作業ポインタXをX=
0にクリアし、ステップS5で実行状態管理テーブルの
作業ポインタX=0で指定されるアクセッサ機番ASi
のスロットを参照する。この実行状態管理テーブルの参
照で、X=ASiとして指定された媒体運搬機構すなわ
ちアクセッサは動作中か否か動作フラグから確認する。
もし動作中であれば、ステップS7で作業ポインタXを
1つインクリメントしてX=1とし、ステップS8でア
クセッサ総数MAXを越えていなければ再びステップS
5に戻って、更新したチャネルポインタXを用いて実行
状態管理テーブルを参照する。
First, in step S4, the work pointer X is set to X =
0, and in step S5, the accessor model number ASi designated by the work pointer X = 0 in the execution state management table.
Refer to the slot. By referring to the execution state management table, it is confirmed from the operation flag whether or not the medium transport mechanism designated as X = ASi, that is, the accessor is operating.
If the operation is in progress, the work pointer X is incremented by one in step S7 to set X = 1, and if the total number of accessors MAX is not exceeded in step S8, step S8 is performed again.
5, the execution state management table is referenced using the updated channel pointer X.

【0123】ステップS6で作業ポインタX=ASiと
して参照した実行状態管理テーブルのアクセッサが動作
中でなかった場合にはステップS9に進む。ステップS
9にあっては、そのときの実行ポインタのポインタ値P
2=IDとしてキューイングテーブルをサーチし、ステ
ップS10で作業ポインタXにより選択された運搬機構
としてのアクセッサASiに対し、キューイングテーブ
ルから読み出した媒体運搬情報に基づく運搬指示を行
う。
If the accessor in the execution state management table referred to as the work pointer X = ASi in step S6 is not operating, the flow advances to step S9. Step S
9, the pointer value P of the execution pointer at that time
2 = Search the queuing table as ID and instruct the transporter ASi as the transport mechanism selected by the work pointer X in step S10 based on the media transport information read from the queuing table.

【0124】アクセッサに対する運搬指示が済むと、ス
テップS11で運搬指示を行った作業ポインタXで指定
されるアクセッサ機番ASiをポインタとする実行状態
管理テーブルの実行フラグをオンする。またステップS
12で同じスロットの実行ルートを示すディレクタ機番
Diを格納する。更にステップS13で実行ポインタの
ポインタ値P2を1つインクリメントして、次に実行す
るキューイングテーブルの位置を指定する。
When the transportation instruction to the accessor is completed, the execution flag in the execution state management table is turned on in which the accessor machine number ASi designated by the work pointer X to which the transportation instruction was issued in step S11 is used as a pointer. Step S
At 12, the director machine number Di indicating the execution route of the same slot is stored. In step S13, the pointer value P2 of the execution pointer is incremented by one, and the position of the queuing table to be executed next is designated.

【0125】続いてステップS14で、実行ポインタの
ポインタ値P2がキューイングテーブルの総スロット数
(総エントリ数)MAXを越えたか否かチェックする。
もし越えていた場合にはステップS15に進み、実行ポ
インタのポインタ値P2をP2=0にクリアする。さら
にステップS15´でキューカウンタの値を1つデクリ
メントする。このため、実行ポインタP2のキューイン
グテーブルのスロット数MAXまでの範囲で0,1,
2,・・・MAXを繰り返すことになる。
Subsequently, in step S14, it is checked whether or not the pointer value P2 of the execution pointer has exceeded the total number of slots (total number of entries) MAX in the queuing table.
If so, the process proceeds to step S15, where the pointer value P2 of the execution pointer is cleared to P2 = 0. Further, in step S15 ', the value of the queue counter is decremented by one. For this reason, 0, 1, and 0 in the range up to the slot number MAX of the queuing table of the execution pointer P2.
2,... MAX will be repeated.

【0126】図34のステップS16〜S22は媒体運
搬終了時の処理を示す。まず、ステップS16で作業ポ
インタXをX=0にクリアする。続いてステップS17
で実行状態管理テーブル内の作業ポインタXで指定され
るアクセッサ機番ASiのスロットを参照し、ステップ
S18で実行フラグのセットの有無でアクセッサ機番X
=ASiをもつアクセッサは動作中か否か確認する。
Steps S16 to S22 in FIG. 34 show the processing at the time when the medium conveyance is completed. First, the work pointer X is cleared to X = 0 in step S16. Subsequently, step S17
Refers to the slot of the accessor unit number ASi designated by the work pointer X in the execution state management table, and determines whether the accessor unit number X
Check whether the accessor with = ASi is operating.

【0127】もし動作中にあればステップS19に進
み、運搬終了の報告を確認する。運搬終了の報告を確認
すると、ステップS20で実行状態管理テーブルのX=
ASiのアクセッサ機番で指定されるスロットのID番
号をディレクタに送信し、ステップS12で同じスロッ
トの実行中を示す実行フラグをクリアし、更にキューカ
ウンタNを1つデクリメントする。尚、ステップS18
でアクセッサが動作中でなかったり、ステップS19で
運搬終了が確認されなかった場合には、ステップS22
以降の処理に進む。ステップS22にあっては、作業ポ
インタXを1つインクリメントし、ステップS23で全
アクセッサについての運搬終了の確認が済んだ場合には
ステップS24に進む。
If the operation is in progress, the flow advances to step S19 to confirm the report of the completion of the transportation. After confirming the report of the end of transportation, in step S20, X =
The ID number of the slot specified by the ASi accessor number is transmitted to the director, the execution flag indicating that the same slot is being executed is cleared in step S12, and the queue counter N is decremented by one. Step S18
If the accessor is not operating in step S19 or the end of transportation is not confirmed in step S19, step S22
Proceed to the subsequent processing. In step S22, the operation pointer X is incremented by one, and if it is confirmed in step S23 that the transportation of all the accessors has been completed, the process proceeds to step S24.

【0128】ステップS24ではビジー管理テーブルの
ビジーフラグがオンか否か確認する。もしビジーフラグ
がオンしていればステップS25に進み、キューカウン
タNが最大格納数Nmax 未満であれば、キューイングテ
ーブルに空きがあることを判断し、ステップS26でデ
ィレクタに対しビジー解除報告を行う。そして、ステッ
プS26でビジー管理テーブルのビジーフラグをクリア
する。また、ステップS25でビジーフラグがセットさ
れていなかったり、ステップS25でキューイングテー
ブルに空きがなかった場合には、図33のステップS3
の処理に戻る。
In step S24, it is checked whether the busy flag in the busy management table is on. If the busy flag is on, the process proceeds to step S25, and if the queue counter N is less than the maximum storage number Nmax , it is determined that there is a free space in the queuing table, and a busy release report is made to the director in step S26. . Then, in step S26, the busy flag in the busy management table is cleared. If the busy flag is not set in step S25 or if there is no free space in the queuing table in step S25, the process proceeds to step S3 in FIG.
Return to the processing of.

【0129】尚、本発明は上記の実施例に示した数によ
る限定は受けず、ディレクタ数、ディレクタに対するチ
ャネル数、同時動作可能なアクセッサ数、同時動作可能
なアクセッサ数に依存した入出力論理アドレスとしての
機番アドレス数、更にキューイングテーブルのスロット
数(エントリ数)は必要に応じて適宜に定めることがで
きる。
It should be noted that the present invention is not limited by the numbers shown in the above embodiments, but includes the number of directors, the number of channels for the directors, the number of simultaneously accessible accessors, and the input / output logical addresses depending on the number of simultaneously accessible accessors. The number of machine numbers and the number of slots (the number of entries) in the queuing table can be determined as needed.

【0130】[0130]

【発明の効果】以上説明してきたように本発明によれ
ば、上位のチャネルに対しライブラリ装置が複数の論理
機番アドレス(IODアドレス)を提供することで、上
位からの媒体運搬情報を連続して受領してキューイング
テーブルに格納でき、上位装置との間の命令のやり取り
を効率良くできる。また、キューイングテーブルに複数
の媒体運搬情報を格納し、複数の媒体運搬機構を同時に
動作させることができ、このため媒体の運搬能力が向上
し、ライブラリ装置の性能を大幅に向上することができ
る。
As described above, according to the present invention, the library apparatus provides a plurality of logical device number addresses (IOD addresses) to the higher-order channel, so that the medium transport information from the higher-order channel is continuously output. And can be stored in the queuing table, so that the exchange of instructions with the host device can be performed efficiently. Also, a plurality of media transport information can be stored in the queuing table, and a plurality of media transport mechanisms can be operated at the same time, so that the media transport capability is improved and the performance of the library device can be greatly improved. .

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

【図1】本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.

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

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

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

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

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

【図7】本発明のホストコンピュータの機能を示した説
明図
FIG. 7 is an explanatory diagram showing functions of the host computer of the present invention.

【図8】ライブラリ・サポート・プログラムによるムー
ブコマンドの発生動作を示した説明図
FIG. 8 is an explanatory diagram showing an operation of generating a move command by a library support program.

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

【図10】本発明のディレクタの実施例を示した実施例
構成図
FIG. 10 is an embodiment configuration diagram showing an embodiment of the director of the present invention.

【図11】本発明のアクセッサ・コントローラの実施例
を示した実施例構成図
FIG. 11 is a configuration diagram showing an embodiment of an accessor controller according to the present invention;

【図12】本発明ディレクタ及びアクセッサ・コントロ
ーラで用いるテーブル及びポインタの詳細を示した説明
FIG. 12 is an explanatory diagram showing details of tables and pointers used in the director and the accessor controller of the present invention;

【図13】ディレクタに対する論理機番アドレスの割当
てを示した説明図
FIG. 13 is an explanatory diagram showing assignment of logical machine number addresses to directors.

【図14】ディレクタ機番の割当説明図FIG. 14 is an explanatory diagram of assignment of director machine numbers

【図15】アクセッサ機番の割当説明図FIG. 15 is an explanatory diagram of assignment of accessor machine numbers

【図16】ディレクタ応答ステータスの説明図FIG. 16 is an explanatory diagram of a director response status.

【図17】チャネルBからディレクタ26−1へ機番ア
ドレス#1の媒体運搬命令を発行した場合の動作説明図
FIG. 17 is an operation explanatory diagram in the case where a medium transport instruction of the machine number address # 1 is issued from the channel B to the director 26-1.

【図18】チャネルEからディレクタ26−2へ機番ア
ドレス#2の媒体運搬命令を発行した場合の動作説明図
FIG. 18 is an operation explanatory diagram in the case where a medium transport instruction of the machine number address # 2 is issued from the channel E to the director 26-2.

【図19】チャネルAからディレクタ26−1へ機番ア
ドレス#1の媒体運搬命令を発行した場合の動作説明図
FIG. 19 is an operation explanatory diagram in the case where a medium transport instruction of the machine number address # 1 is issued from the channel A to the director 26-1.

【図20】チャネルFからディレクタ26−2へ機番ア
ドレス#3の媒体運搬命令を発行した場合の動作説明図
FIG. 20 is an operation explanatory diagram in the case where a medium transport instruction of the machine number address # 3 is issued from the channel F to the director 26-2.

【図21】キューイングテーブルのフル状態によるビジ
ー応答時の動作説明図
FIG. 21 is an operation explanatory diagram at the time of a busy response due to the full state of the queuing table.

【図22】アクセッサ12−1に運搬動作を指示した場
合の動作説明図
FIG. 22 is an operation explanatory diagram when a transport operation is instructed to the accessor 12-1.

【図23】アクセッサ12−2に運搬動作を指示した場
合の動作説明図
FIG. 23 is an explanatory diagram of an operation when a transport operation is instructed to the accessor 12-2.

【図24】2台のアクセッサを同時動作する際のアクセ
ス可能領域の割振り説明図
FIG. 24 is an explanatory diagram of allocation of accessible areas when two accessors operate simultaneously.

【図25】アクセッサ12−1から運搬終了報告を受け
た場合の動作説明図
FIG. 25 is an operation explanatory diagram when a transportation end report is received from the accessor 12-1.

【図26】アクセッサ12−2から運搬終了報告を受け
た場合の動作説明図
FIG. 26 is an operation explanatory diagram when a transportation end report is received from the accessor 12-2.

【図27】ビジー解除の報告動作を示した動作説明図FIG. 27 is an operation explanatory view showing a busy release reporting operation;

【図28】図17〜図27の一連の動作をまとめて示し
たシーケンス説明図
FIG. 28 is a sequence explanatory view collectively showing a series of operations in FIGS. 17 to 27;

【図29】図17〜図27の一連の動作をまとめて示し
たシーケンス説明図(続き)
FIG. 29 is a sequence explanatory view collectively showing a series of operations in FIGS. 17 to 27 (continued)

【図30】本発明のディレクタに設けた起動処理部の処
理動作を示したフローチャート
FIG. 30 is a flowchart showing a processing operation of a startup processing unit provided in the director of the present invention.

【図31】本発明のディレクタに設けたアイドル処理部
の処理動作を示したフローチャート
FIG. 31 is a flowchart showing the processing operation of an idle processing unit provided in the director of the present invention.

【図32】本発明のアクセッサ・コントローラに設けた
起動処理部の処理動作を示したフローチャート
FIG. 32 is a flowchart showing a processing operation of a startup processing unit provided in the accessor controller of the present invention.

【図33】本発明のアクセッサ・コントローラに設けた
アイドル処理部の処理動作を示したフローチャート
FIG. 33 is a flowchart showing a processing operation of an idle processing unit provided in the accessor controller of the present invention.

【図34】本発明のアクセッサ・コントローラに設けた
アイドル処理部の処理動作を示したフローチャート(続
き)
FIG. 34 is a flowchart showing the processing operation of the idle processing unit provided in the accessor controller of the present invention (continued)

【図35】従来装置の説明図FIG. 35 is an explanatory view of a conventional apparatus.

【図36】従来のチャネルBからディレクタへの媒体運
搬命令を発行した場合の動作説明図
FIG. 36 is an explanatory diagram of an operation when a medium transport instruction from the conventional channel B to the director is issued.

【図37】従来のチャネルAからの同一ディレクタに発
行した媒体運搬命令に対するビジー応答の動作説明図
FIG. 37 is a diagram illustrating the operation of a conventional busy response to a medium transport command issued to the same director from channel A;

【図38】従来のチャネルEからの別のディレクタに発
行した媒体運搬命令に対するビジー応答の動作説明図
FIG. 38 is an explanatory diagram showing the operation of a conventional busy response to a medium transport command issued from the channel E to another director.

【図39】従来の媒体運搬終了時のビジー解除の動作説
明図
FIG. 39 is a view for explaining a conventional operation of releasing a busy at the end of transporting a medium.

【図40】従来のチャネルへのビジー解除報告と媒体運
搬命令の再発行を示した動作説明図
FIG. 40 is an operation explanatory diagram showing a conventional method of reporting a busy release to a channel and reissuing a medium transport instruction.

【図41】従来装置の図36〜図40の動作をまとめて
示したシーケンス説明図
FIG. 41 is a sequence explanatory view collectively showing the operations of FIGS. 36 to 40 of the conventional device.

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

10:セルブロック(媒体保管庫) 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:ディレクタ(第1制御部) 28:アクセッサ・コントローラ(第2制御部) 30:アクセッサ・コントローラ(予備) 32−1,32−2:マシン・コントローラ 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:入出力サブシステム処理部 85:マウントコマンド 86:MTUテーブル 88:セルテーブル 90,112:CPU 92,114:起動処理部 94,116:アイドル処理部 96,118:ROM 98,120:DRAM 100,100−1,100−2:機番制御テーブル 102,102−1,102−2:ID管理テーブル 104:チャネルインタフェース制御部 106−1〜106−4:チャネルアダプタ 108,134:バス 122:キューイングテーブル 124:実行状態管理テーブル 125:キューカウンタ 126:格納ポインタ(P1) 128:実行ポインタ(P2) 130:ビジー管理テーブル 132:上位インタフェース制御部 134−1,134−2:アダプタ
10: Cell block (medium storage) 12-1, 12-2: Accessor (medium transport mechanism) 14: Rail 15: Medium inlet / outlet 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 (first control unit) 28 : Accessor controller (second control unit) 30: Accessor controller (spare) 32-1, 32-2: Machine controller 34-1 to 34-12: Recording / reproducing device (MTU) 36-1, 36-2 , 38-1, 38-2: Device
Interface bus 40: Traveling part 42: Strut 44: Traveling motor 46: Lifting part 48: Robot hand 50: Screw shaft 52: Turning motor 54, 60: Pulley belt 56: Pulley 58: Motor 62: Medium holding part 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 85: Mount command 86: MTU table 88: Cell table 90, 112: CPU 92, 114: Start-up processing unit 94, 116: Idle processing unit 96, 118: ROM 98, 120: DRAM 100, 100-1, 100 2: machine number control table 102, 102-1, 102-2: ID management table 104: channel interface control section 106-1 to 106-4: channel adapter 108, 134: bus 122: queuing table 124: execution state management Table 125: Queue counter 126: Storage pointer (P1) 128: Execution pointer (P2) 130: Busy management table 132: Upper interface control units 134-1 and 134-2: Adapter

───────────────────────────────────────────────────── フロントページの続き (72)発明者 花岡 安彦 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 越智 芳明 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (56)参考文献 特開 平4−125724(JP,A) 特開 平4−125844(JP,A) 特開 平4−153106(JP,A) 特開 平5−325358(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 3/06 301 G06F 3/06 550 G11B 15/68 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Yasuhiko Hanaoka 1015 Uedanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture Inside Fujitsu Limited (72) Inventor Yoshiaki Ochi 1015 Kamikodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Fujitsu Limited ( 56) References JP-A-4-125724 (JP, A) JP-A-4-125844 (JP, A) JP-A-4-153106 (JP, A) JP-A-5-325358 (JP, A) (58) ) Surveyed field (Int.Cl. 6 , DB name) G06F 3/06 301 G06F 3/06 550 G11B 15/68

Claims (11)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】磁気テープカートリッジ等の記憶媒体の読
み書きを行う記憶再生装置と、前記記憶媒体の投入と排
出を行う投入排出装置と、前記記憶媒体を複数格納する
媒体保管庫と、前記記憶媒体を媒体保管庫と記憶再生装
置又は媒体保管庫(10)と投入排出装置との間で運搬
する少なくとも1台の媒体運搬装置(12−1,12−
2)と、上位装置からの命令を受領すると共に応答を返
す第1制御部(26)と、該第1制御部(26)を経由
した前記上位装置からの命令に基づき前記運搬制御装置
(12−1,12−2)に動作命令を発行して制御する
第2制御部(28)とを備えたライブラリ装置に於い
て、 前記第1制御部(26)に、 上位装置からの媒体運搬命令で指示した論理機番アドレ
ス(#n)と該入出力開始命令の指示チャネル系統との
関係を登録する機番制御テーブル(100)と、 上位装置から前記媒体運搬命令を受領して前記機番制御
テーブル(100)の登録を行うと共に該命令受領を前
記第2制御部(28)に通知して次の媒体運搬情報の受
領の可否を決める応答を返す第1起動処理部(92)
と、 前記第2制御部(28)より媒体運搬の実行終了通知を
受けた際に前記機番制御テーブル(100)をクリアし
て上位装置に終了応答を行う第1アイドル処理部(9
4)と、を設け、 前記第2制御部(28)に、 前記媒体運搬情報に続いて上位装置が発行した媒体移動
元と移動先を示す媒体運搬情報を複数格納するキューイ
ングテーブル(122)と、 前記運搬機構(12−1,12−2)の動作状態を示す
実行状態管理テーブル(124)と、 前記第1制御部(26)から前記媒体運搬情報の受領通
知を受ける毎に、前記キューイングテーブル(122)
の空きの有無を判断し、空きがあれば格納可能の応答を
返して上位装置から転送された媒体運搬情報を前記キュ
ーイングテーブル(122)に格納し、空き無しであれ
ばビジー応答を返す第2起動処理部(114)と、 前記キューイングテーブル(122)に媒体運搬情報が
少なくとも1つ格納された状態で前記実行状態管理テー
ブル(124)を参照して空き状態にある前記運搬機構
(12−1,12−2)に媒体運搬情報を発行して実行
させる第2アイドル処理部(116)と、を設けたこと
を特徴とするライブラリ装置。
A storage device that reads and writes a storage medium such as a magnetic tape cartridge; a loading and unloading device that loads and unloads the storage medium; a medium storage that stores a plurality of the storage media; At least one medium transport device (12-1, 12-) for transporting the media between the media storage and the storage / reproducing device or the media storage (10) and the loading / unloading device.
2), a first control unit (26) that receives a command from a higher-level device and returns a response, and the transport control device (12) based on a command from the higher-level device via the first control unit (26). And a second control unit (28) for issuing and controlling an operation command to the first control unit (26). A machine number control table (100) for registering the relationship between the logical machine number address (#n) designated by the above and the designated channel system of the input / output start command; A first activation processing unit (92) for registering the control table (100) and notifying the second control unit (28) of the reception of the command and returning a response for determining whether or not to receive the next medium transport information;
A first idle processing unit (9) for clearing the machine number control table (100) and receiving an end response to the higher-level device when the medium transport execution completion notification is received from the second control unit (28).
And a queuing table (122) for storing, in the second control unit (28), a plurality of pieces of medium transport information indicating a medium source and a destination issued by a higher-level device following the medium transport information. An execution state management table (124) indicating an operation state of the transport mechanism (12-1, 12-2); and each time a reception notification of the medium transport information is received from the first control unit (26), Queuing table (122)
Judge whether there is a free space, and if there is a free space, return a storable response and store the medium transport information transferred from the higher-level device in the queuing table (122). If there is no free space, return a busy response. (2) a start-up processing unit (114) and the transport mechanism (12) in an empty state with reference to the execution state management table (124) in a state where at least one medium transport information is stored in the queuing table (122). -1, 12-2), and a second idle processing unit (116) for issuing and executing the medium transport information.
【請求項2】請求項1記載のライブラリ装置に於いて、
前記第2制御部(28)の第2アイドル処理部(11
6)は、複数の媒体運搬機構(12−1〜12−n)の
うち既に実行中の媒体運搬機構が存在する場合は、該実
行中の媒体運搬情報に重複しない移動範囲の媒体運搬情
報を前記キューイングテーブル(122)から取り出し
て実行させることを特徴とするライブラリ装置。
2. The library device according to claim 1, wherein:
The second idle processing unit (11) of the second control unit (28)
6), if there is a medium carrying mechanism that is already being executed among the plurality of medium carrying mechanisms (12-1 to 12-n), the medium carrying information in the movement range that does not overlap the medium carrying information that is being executed. A library device which is taken out of the queuing table (122) and executed.
【請求項3】請求項1記載のライブラリ装置に於いて、
前記第1制御装置(26)は任意に設定した前記機番制
御テーブル(100)の格納数n分の論理機番アドレス
(#0〜#n−1)を同一チャネル系統から受領可能と
したことを特徴とするライブラリ装置。
3. The library device according to claim 1, wherein
The first control device (26) is capable of receiving, from the same channel system, logical device number addresses (# 0 to # n-1) corresponding to the storage number n of the device number control table (100) arbitrarily set. A library device.
【請求項4】請求項3記載のライブラリ装置に於いて、
前記第2制御部(28)のキューイングテーブル(12
2)は、前記第1制御部(26)ごとに設けた論理機番
アドレス数(n)にチャネル系統数(m)を乗じた数
(n×m)の総和となる命令格納数を備えたことを特徴
とするライブラリ装置。
4. The library device according to claim 3, wherein
The queuing table (12) of the second control unit (28)
2) The number of instructions to be stored is the sum of the number (n × m) obtained by multiplying the number of logical machine number addresses (n) provided for each of the first control units (26) by the number of channel systems (m). A library device, characterized in that:
【請求項5】請求項4記載のライブラリ装置に於いて、
前記第1制御部(26)の命令チャネル系統数を4チャ
ネル、及び基板制御テーブル(100)の論理機番アド
レス数を4アドレスとした場合、前記第2制御部(2
8)のキューイングテーブル(122)は、16個の命
令格納数を備えたことを特徴とするライブラリ装置。
5. The library device according to claim 4, wherein:
When the number of instruction channel systems of the first control unit (26) is four and the number of logical machine number addresses of the board control table (100) is four, the second control unit (2)
8) The library device wherein the queuing table (122) has a storage number of 16 instructions.
【請求項6】請求項1記載のライブラリ装置に於いて、 前記第2制御部(28)のキューイングテーブル(12
2)は、格納位置を示すID番号を索引として、前記媒
体運搬情報及び命令受領系統を示す前記第1制御部(2
6)の物理機番アドレス(Di)を登録するテーブル構
造を備え、 前記実行状態管理テーブル(124)は前記媒体運搬装
置(12−1,12−2)の物理機番アドレス(AS
i)を索引として、前記キューイングテーブル(12
2)のID番号、前記媒体運搬機構(12−1,12−
2)の動作中の有無を示す実行フラグ、及び命令受領系
統を示す前記第1制御部(26)の物理機番アドレス
(Di)を登録するテーブル構造を備え、 更に前記キューイングテーブル(122)に媒体運搬情
報を格納する毎に1つカウントアップされて次にテーブ
ル位置のID番号を示す格納ポインタ(126)と、前
記媒体運搬機構(12−1,12−2)のいずれかで次
に実行する前記キューイングテーブル(122)に格納
した媒体運搬情報のテーブル位置のID番号を示す実行
ポインタ(128)と、前記キューイングテーブル(1
22)への媒体運搬情報の格納時に1つ加算され前記前
記媒体運搬機構(12−1,12−2)による命令実行
の終了に伴なって1つ減算され前記キューイングテーブ
ル(122)の格納状態を示すキューカウンタ(12
5)とを設け、 前記第2起動処理部(114)は、前記第1制御部(2
6)から命令受領通知を受けた際に、前記キューカウン
タ(125)の計数値(N)が前記キューイングテーブ
ル(122)の格納最大数(Nmax )未満であれば、前
記キューイングテーブル(122)に空きがあると判断
して命令受領の可能応答を行い、格納最大数(Nmax
であればビジー応答を行い、 更に、前記第2アイドル処理部(116)は、前記実行
状態管理テーブル(124)から実行フラグがオフとな
って空いている前記媒体運搬機構(12−1,12−
2)のいずれかを検索した場合は、前記実行ポインタ
(128)で指示された次の実行待ちとなっている前記
キューイングテーブル(122)のID番号の媒体運搬
情報を取り出して空き状態にある媒体運搬機構に命令実
行を指示することを特徴とするライブラリ装置。
6. The queuing table (12) of the second control unit (28) according to claim 1, wherein:
The second control unit (2) uses the ID number indicating the storage position as an index to indicate the medium transport information and the command receiving system.
6) a table structure for registering the physical machine number address (Di), wherein the execution status management table (124) stores the physical machine number address (AS) of the medium transport device (12-1, 12-2).
i), the queuing table (12)
2) The ID number of the medium transport mechanism (12-1, 12-
2) a table structure for registering an execution flag indicating the presence or absence of an operation, and a physical machine number address (Di) of the first control unit (26) indicating an instruction receiving system; and a queuing table (122). Is incremented by one each time the medium transport information is stored in the storage pointer (126) indicating the ID number of the table position. An execution pointer (128) indicating the ID number of the table position of the medium transport information stored in the queuing table (122) to be executed;
22) When the medium transport information is stored in the queuing table (122), one is added when the instruction is executed by the medium transport mechanism (12-1, 12-2). Queue counter (12
5), wherein the second activation processing unit (114) includes the first control unit (2).
If the count value (N) of the queue counter (125) is less than the maximum number ( Nmax ) stored in the queuing table (122) upon receiving the instruction receipt notification from (6), the queuing table (125) 122) to be determined that there is a free space performs a responsive instruction reception, storage maximum number (N max)
If so, a busy response is performed. Further, the second idle processing unit (116) sets the execution flag off from the execution state management table (124) and turns the medium transport mechanism (12-1, 12) −
If any of 2) is searched, the medium carrying information of the ID number of the queuing table (122) which is waiting for the next execution indicated by the execution pointer (128) is taken out and is in an empty state. A library device for instructing a medium transport mechanism to execute an instruction.
【請求項7】請求項6記載のライブラリ装置に於いて、
前記第2制御部(28)は、更にビジー応答を行った媒
体運搬命令による前記第1制御部(26)の物理機番ア
ドレス(Di)を示すビジーフラグを登録するビジー管
理テーブル(130)を設け、前記第2起動処理部(1
14)は、前記キューイングテーブル(122)に空き
がなかったビジー応答時に、前記ビジー管理テーブル
(130)のビシー応答を行った媒体運搬命令による前
記第1制御部(26)の物理機番アドレス(Di)に対
応した位置にビジーフラグを登録することを特徴とする
ライブラリ装置。
7. The library device according to claim 6, wherein:
The second control unit (28) further includes a busy management table (130) for registering a busy flag indicating a physical machine number address (Di) of the first control unit (26) according to the medium transport command that has sent a busy response. , The second activation processing unit (1
14) a physical machine number address of the first control unit (26) according to a medium transport command that has made a busy response of the busy management table (130) when a busy response in which there is no free space in the queuing table (122). A library device, wherein a busy flag is registered at a position corresponding to (Di).
【請求項8】請求項6記載のライブラリ装置に於いて、
前記第1制御部(26)は、更に、ID管理テーブル
(102)を設け、前記第1起動処理部(92)は、前
記第2制御部(28)からキューイングテーブル(12
2)に対する媒体運搬情報の格納終了通知を受けた際
に、テーブル格納位置を示すID番号を索引として論理
機番アドレス(#i)及びチャネル系統を登録し、前記
第1アイドル処理部(94)は、前記第2制御部(2
8)から媒体運搬終了通知を受けた際に前記ID番号管
理テーブル(102)から媒体運搬が終了した論理機番
アドレス(#i)及びチャネル系統を認識して前記機番
制御テーブル(100)の登録をクリアすることを特徴
とするライブラリ装置。
8. The library device according to claim 6, wherein:
The first control unit (26) further provides an ID management table (102), and the first activation processing unit (92) sends a queuing table (12) from the second control unit (28).
When the storage completion notification of the medium transport information for 2) is received, the logical machine number address (#i) and the channel system are registered using the ID number indicating the table storage position as an index, and the first idle processing unit (94) Is the second control unit (2
8) When the media transport end notification is received from the ID number management table (102), the logical machine number address (#i) and the channel system where the media transport is completed are recognized from the ID number management table (102), and A library device that clears registration.
【請求項9】請求項1記載のライブラリ装置に於いて、
前記第1制御部(26)の第1起動処理部(92)は、
前記機番制御テーブル(100)に、更に、論理機番ア
ドレス(#i)の媒体運搬情報に対しビジー報告を行っ
たことを示すビジー報告フラグをチャネル系統毎に登録
することを特徴とするライブラリ装置。
9. The library device according to claim 1, wherein
The first activation processing unit (92) of the first control unit (26) includes:
A library, wherein a busy report flag indicating that a busy report has been made for the medium transport information of the logical machine number address (#i) is registered in the machine number control table (100) for each channel system. apparatus.
【請求項10】請求項9記載のライブラリ装置に於い
て、前記第1制御部(26)の第1アイドル処理部(9
4)は、前記第2制御部(28)から媒体運搬終了に基
づくビジー解除報告を受けた際に、前記機番制御テーブ
ル(100)を検索してビジー報告フラグがセットされ
たチャネル系統に前記ビジー解除を応答すると共に該ビ
ジー報告フラグをクリアすることを特徴とするライブラ
リ装置。
10. The library apparatus according to claim 9, wherein the first idle processing section (9) of the first control section (26).
4) When receiving the busy release report based on the end of the medium transport from the second control unit (28), the device number control table (100) is searched and the busy channel is set to the channel system in which the busy report flag is set. A library apparatus which responds to a busy release and clears the busy report flag.
【請求項11】請求項1記載のライブラリ装置に於い
て、前記第2制御部(28)に対し少なくとも2台の第
1制御部(26−1,26−2)を設けたことを特徴と
するライブラリ装置。
11. The library apparatus according to claim 1, wherein at least two first control units (26-1, 26-2) are provided for said second control unit (28). Library device to do.
JP5182480A 1993-07-23 1993-07-23 Library device Expired - Fee Related JP2922095B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP5182480A JP2922095B2 (en) 1993-07-23 1993-07-23 Library device
US08/218,117 US5513156A (en) 1993-07-23 1994-03-25 Library apparatus
US08/575,482 US5768141A (en) 1993-07-23 1995-12-20 Library apparatus
US08/579,087 US5640510A (en) 1993-07-23 1995-12-21 Library apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5182480A JP2922095B2 (en) 1993-07-23 1993-07-23 Library device

Publications (2)

Publication Number Publication Date
JPH0736637A JPH0736637A (en) 1995-02-07
JP2922095B2 true JP2922095B2 (en) 1999-07-19

Family

ID=16119015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5182480A Expired - Fee Related JP2922095B2 (en) 1993-07-23 1993-07-23 Library device

Country Status (1)

Country Link
JP (1) JP2922095B2 (en)

Also Published As

Publication number Publication date
JPH0736637A (en) 1995-02-07

Similar Documents

Publication Publication Date Title
US5768141A (en) Library apparatus
US6425059B1 (en) Data storage library with library-local regulation of access to shared read/write drives among multiple hosts
US6813698B2 (en) Concurrent configuration of drives of a data storage library
US5802345A (en) Computer system with a reduced number of command end interrupts from auxiliary memory unit and method of reducing the number of command end interrupts
US6779077B1 (en) Virtual tape libraries
EP1318447A2 (en) Raid apparatus and access control method therefor
US5537598A (en) System for installing processor control code
US4639862A (en) Computer system
US20060020569A1 (en) Apparatus, system, and method for time-based library scheduling
JP2922095B2 (en) Library device
US6961867B2 (en) Apparatus and method to provide data storage device failover capability
JP3183781B2 (en) Library device and library system
JP3353953B2 (en) Library device
US7941242B2 (en) Apparatus and method to provide redundant accessor availability
JPH0573221A (en) Magnetic tape controller
JP2824013B2 (en) Library apparatus and control method thereof
JP2888222B2 (en) Data backup method
EP0458566A2 (en) Automated storage library
JP3355224B2 (en) Library device
JPS61234425A (en) Device control system
JPH11237959A (en) Multiple writing storage device
JP2000259357A (en) Library controller
JPH04162248A (en) Library apparatus
JPH04124721A (en) High speed parallel transfer system
JP2550767B2 (en) Peripheral processing 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: 19990413

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080430

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090430

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090430

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100430

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110430

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees