JPH0734173B2 - Device controller - Google Patents

Device controller

Info

Publication number
JPH0734173B2
JPH0734173B2 JP7605685A JP7605685A JPH0734173B2 JP H0734173 B2 JPH0734173 B2 JP H0734173B2 JP 7605685 A JP7605685 A JP 7605685A JP 7605685 A JP7605685 A JP 7605685A JP H0734173 B2 JPH0734173 B2 JP H0734173B2
Authority
JP
Japan
Prior art keywords
command
devices
interrupt
acc3
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP7605685A
Other languages
Japanese (ja)
Other versions
JPS61234425A (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 JP7605685A priority Critical patent/JPH0734173B2/en
Publication of JPS61234425A publication Critical patent/JPS61234425A/en
Publication of JPH0734173B2 publication Critical patent/JPH0734173B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Automatic Disk Changers (AREA)

Description

【発明の詳細な説明】 〔概要〕 自動ライブラリシステムのデバイス制御方式であって、
物理的には存在しない仮想デバイスアドレスを定義し
て、前記仮想デバイスアドレスを用いて上位装置への割
込みタイミング通知や状態情報の表示コマンドのサポー
トを行うように構成し、システムの処理効率の向上を可
能とする。
DETAILED DESCRIPTION [Outline] A device control method for an automatic library system,
By defining a virtual device address that does not physically exist and using the virtual device address to support interrupt timing notification and status information display commands to higher-level devices, system processing efficiency can be improved. It is possible.

〔産業上の利用分野〕[Industrial application field]

本発明は、記録媒体の自動ハンドリングを実現する自動
ライブラリシステムに係り、特に前記システムの処理効
率の向上を図るデバイス制御方式に関する。
The present invention relates to an automatic library system that realizes automatic handling of a recording medium, and more particularly to a device control method that improves the processing efficiency of the system.

情報処理システムの発達によって、複数の計算機システ
ムが外部記憶装置を共用して使用する運用形態が増大し
ている。これら複数のシステムに接続される外部記憶装
置は多数の利用者を満足させるために各種の情報を大量
に記憶してく必要がある。
With the development of information processing systems, the operating modes in which a plurality of computer systems share and use an external storage device are increasing. The external storage device connected to these plural systems needs to store a large amount of various information in order to satisfy many users.

この大容量記憶システムの1つとして使用頻度の少ない
情報を安価な記録媒体に記録してカートリッジとして保
管棚に保管しておき、必要の都度アクセッサ装置で取出
し運搬し、所定のデバイスに装着して使用する自動ライ
ブラリシステムがある。
As one of the mass storage systems, information that is rarely used is recorded on an inexpensive recording medium and stored as a cartridge in a storage shelf, taken out and transported by an accessor device whenever necessary, and mounted on a predetermined device. There is an automated library system to use.

上記自動ライブラリシステムを利用する場合、即時にデ
バイスを取り出し使用出来ることが要請される。即ち、
システムの運用効率の向上と、もし前記システムに障害
があれば、早目にその内容を知りリカバリ処理を施すこ
とが要請される。
When using the above automatic library system, it is required that the device can be immediately taken out and used. That is,
It is required to improve the operation efficiency of the system and, if there is a failure in the system, to know the content of the failure early and perform a recovery process.

〔従来の技術〕[Conventional technology]

第4図は従来の自動ライブラリシステムを説明する図、
第5図はアクセッサ装置とデバイスの関係を説明する
図、第6図は従来例の動作図をそれぞれ示す。
FIG. 4 is a diagram for explaining a conventional automatic library system,
FIG. 5 is a diagram for explaining the relationship between the accessor device and the device, and FIG. 6 is an operation diagram of the conventional example.

ホストA〜Cはデバイス4(0)〜4(n)での記録/
再生処理が完了するとデバイス4(0)〜4(n)に対
してカートリッジ7にある記録媒体(テープ)のアンロ
ード、即ち記録/再生等を終了して記録媒体(テープ)
を始端まで巻戻し、アクセッサ装置3(以下ACC3と称す
る)で取出し可能状態にするための指示をする。
Hosts A to C record on devices 4 (0) to 4 (n)
When the reproduction process is completed, the recording medium (tape) in the cartridge 7 is unloaded from the devices 4 (0) to 4 (n), that is, the recording / reproduction is completed and the recording medium (tape) is completed.
Is rewound to the starting end, and the accessor device 3 (hereinafter referred to as ACC3) gives an instruction to make it ready for taking out.

尚、カートリッジ7をデバイス4(0)〜4(n)に装
着する動作は以下により行う。即ち、ACC3は格納棚6か
ら格納されている所定カートリッジ7を取り出し所定デ
バイス4(i)の入口/出口機構部41に投入する。カー
トリッジ7は記録/再生のステーション42に自動的にマ
ウントされ、テープ始端部(BOT)にテープがロードさ
れる。
The operation of mounting the cartridge 7 on the devices 4 (0) to 4 (n) is performed as follows. That is, the ACC 3 takes out the predetermined cartridge 7 stored from the storage shelf 6 and inserts it into the inlet / outlet mechanism portion 41 of the predetermined device 4 (i). The cartridge 7 is automatically mounted on the recording / reproducing station 42, and the tape is loaded at the tape start end (BOT).

この後ホストA〜Cの指示により当該テープに対して記
録若しくは再生処理が行われる。以上のデータ処理が完
了するとホストA〜Cは当該デバイス4(i)にアンロ
ード(テープの取外し)指示を発行する。当該デバイス
4(i)は当該カートリッジ7を巻戻した後、入口/出
口機構部41に当該カートリッジ7を排出する。
After this, recording or reproducing processing is performed on the tape in accordance with an instruction from the hosts A to C. When the above data processing is completed, the hosts A to C issue an unload (tape removal) instruction to the device 4 (i). The device 4 (i) rewinds the cartridge 7 and then ejects the cartridge 7 to the inlet / outlet mechanism unit 41.

デバイス4(0)〜4(n)でのアンロード動作が完了
すると制御装置1或いは制御装置2はACC3の機番(制御
装置1,2が配下の機能体を制御するために指定したアド
レス)でアテンション(以下ATTと称する)割込みをホ
ストA〜Cに通知する。これは、デバイス4(0)〜4
(n)のアンロード動作が終了すれば、次はデバイス4
(0)〜4(n)の入口/出口機構部に排出されたカー
トリッジをACC3に運搬させる指示になるからである。
When the unloading operation of the devices 4 (0) to 4 (n) is completed, the control device 1 or the control device 2 causes the device number of the ACC3 (the address specified by the control devices 1 and 2 to control the subordinate functional bodies). Attention (hereinafter referred to as ATT) interrupt is notified to the hosts A to C. This is device 4 (0) -4
When the unload operation of (n) is completed, the device 4
This is because it becomes an instruction to carry the cartridge discharged to the inlet / outlet mechanism section of (0) to 4 (n) to the ACC3.

ホストA〜CはACC3に対して所定コマンド、例えば、リ
ードライブラリスティタス(以下RDLIBと称する)コマ
ンドを発行し、この時通知される状態情報により当該デ
バイス4(i)のアンロード動作完了を認識する。
The hosts A to C issue a predetermined command, for example, a read library status (hereinafter referred to as RDLIB) command to the ACC3, and recognize the completion of the unload operation of the device 4 (i) by the status information notified at this time. .

これにより、ホストA〜Cは当該デバイス4(i)の入
口/出口機構部41に排出された所定カートリッジ7をも
との格納棚6位置に戻すために、ACC3に対してムーブコ
マンドを発行する。
As a result, the hosts A to C issue a move command to the ACC3 in order to return the predetermined cartridge 7 discharged to the inlet / outlet mechanism section 41 of the device 4 (i) to the original storage shelf 6 position. .

第6図は上述の動作例を示す図で、この動作図に示す
(a)はデバイス4(i)のビジー状態(例えば、記録
/再生処理中)、(b)は制御装置1,2のパスビジー状
態、(c)はデバイス4(i)の動作、例えばアンロー
ド動作中の状態、(d)はACC3へのI/O要求状態で、上
からホストAからの制御装置1,2処理状態、次にACC3の
動作状態、3つ目がホストBによる制御装置1,2の処理
状態をそれぞれ示す。
FIG. 6 is a diagram showing the above-described operation example. In this operation diagram, (a) shows the busy state of the device 4 (i) (for example, recording / playback processing), and (b) shows the control devices 1 and 2. Path busy status, (c) is the operation of the device 4 (i), for example, the unloading operation is in progress, (d) is the I / O request status to the ACC3, and the control device 1, 2 processing status from the host A Next, the operation state of ACC3 and the third state of processing of the control devices 1 and 2 by the host B are shown.

例えば、ホストAからのムーブコマンドによりACC3が
動作し、完了とすると直ちにホストBからのムーブコ
マンド′によりACC3が動作し、完了′とする。この
時点ではアンロード動作完了中のデバイス4(i)が存
在するため、ACC3の機番で制御装置1或いは2を経由し
てATT割込みが行われ、このATT割込みに対応してACC3に
対してRDLIBコマンドが発行される。
For example, the move command from the host A causes the ACC3 to operate, and immediately upon completion, the move command 'from the host B causes the ACC3 to operate and complete. At this point, there is a device 4 (i) that has completed the unload operation, so an ATT interrupt is issued via the control device 1 or 2 at the machine number of ACC3, and in response to this ATT interrupt, ACC3 is sent to ACC3. The RDLIB command is issued.

しかし、例えばホストCより該当制御装置1或いは2に
対して記録/再生(R/W)処理が発行されるとビジーと
なり、RDLIBコマンドが実行できなくなる。これらを繰
り返し、(2)の期間を要してRDLIBコマンドが実行さ
れ、ホストBがアンロード完了を認識する。
However, if a recording / reproducing (R / W) process is issued from the host C to the control device 1 or 2, for example, it becomes busy and the RDLIB command cannot be executed. By repeating these steps, the RDLIB command is executed for the period of (2), and the host B recognizes the completion of unloading.

以上のように、当該デバイス4(i)におけるカートリ
ッジ7内記録媒体のアンロード完了後、直ちに当該カー
トリッジ7をもとの格納棚6に戻し、次のデバイス4
(i)における記録/再生処理が終了して制御装置1,2
がひまになる以前に他のデバイス4(j)若しくは4
(k)にカートリッジ7をマウントしないと、処理効率
が上がらない。
As described above, immediately after the unloading of the recording medium in the cartridge 7 in the device 4 (i) is completed, the cartridge 7 is immediately returned to the original storage shelf 6 and the next device 4
When the recording / reproducing process in (i) is completed, the control device 1, 2
Before another device 4 (j) or 4
If the cartridge 7 is not mounted in (k), the processing efficiency cannot be improved.

このためには、デバイス4(i)におけるアンロード動
作の完了通知をなるべく早くホストA〜Cに通知する必
要がある。
For this purpose, it is necessary to notify the hosts A to C of the completion notification of the unload operation in the device 4 (i) as soon as possible.

尚、ホストA〜Cからの入出力(以下I/Oと称する)要
求に対応して制御装置1,2はデバイス4(0)〜4
(n),ACC3の多重処理を行い、デバイス4(0)〜4
(n)に対する記録/再生処理中、制御装置1,2とホス
トA〜Cとのパスはビジー状態で他のデバイス(デバイ
ス4(0)〜4(n)及びACC3)に対するI/O要求を実
行出来ない。
Incidentally, in response to the input / output (hereinafter referred to as I / O) requests from the hosts A to C, the control devices 1 and 2 have devices 4 (0) to 4
(N), ACC3 multiple processing is performed, and devices 4 (0) -4
During the recording / reproducing process for (n), the paths between the control devices 1 and 2 and the hosts A to C are busy and issue I / O requests to other devices (devices 4 (0) to 4 (n) and ACC3). I can't do it.

又、ACC3に対するI/O要求(カートリッジ7運搬命令:
ムーブコマンド)時には、コマンドの受付けと動作完了
報告時のみ制御装置1,2はビジー状態となるが、実際の
運搬動作はACC3が単独で行う。
Also, I / O request to ACC3 (cartridge 7 transportation command:
At the time of move command), the control devices 1 and 2 are in the busy state only when the command is received and the operation completion is reported, but the actual transportation operation is performed by the ACC3 independently.

従って、この間制御装置1,2はデバイス4(i)に対す
るI/O要求を受けつけるか、他デバイス4(0)〜4
(n)の割込み状態をホストA〜Cに報告することが出
来る。尚、処理時間の目安としてムーブコマンドは数秒
のオーダ(数秒〜十数秒)、割込み状態報告若しくは状
態情報表示コマンドは数百μ秒程度である。
Therefore, during this time, the control devices 1 and 2 accept the I / O request to the device 4 (i) or other devices 4 (0) to 4 (4).
The interrupt status of (n) can be reported to the hosts A to C. As a measure of the processing time, a move command is on the order of several seconds (several seconds to ten and several seconds), and an interrupt status report or status information display command is on the order of hundreds of microseconds.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上述のようにATT割込み等をACC3の機番で行った場合、A
CC3機番に対するホストA〜Cからの競合、及びACC3に
対するカートリッジ7運搬指示等の輻輳により、以下の
各問題点が発生する。
If the ATT interrupt etc. is performed with the machine number of ACC3 as described above, A
Each of the following problems occurs due to the competition from the hosts A to C for the CC3 machine number and the congestion of the instruction to carry the cartridge 7 for the ACC3.

即ち、 (1).ACC3が動作中はデバイス4(i)のアンロード
完了通知のためのATT割込みを発生することが出来ない
ため、それだけ割込み通知が遅れる。
That is, (1) Since the ATT interrupt for notifying the unload completion of the device 4 (i) cannot be generated while .ACC3 is operating, the interrupt notification is delayed accordingly.

(2).例えばホストAに対してATT割込み発生時、他
のホストB,CからACC3へのI/O要求(コマンド発行によ
る)があった場合、その処理が優先されるため、当該AT
T割込みの報告が遅れる。
(2). For example, when an ATT interrupt is issued to host A, if there is an I / O request from another host B, C to ACC3 (by issuing a command), that process is prioritized.
Delayed reporting of T interrupts.

(3).例えばホストAがATT割込みに対応してRDLIBコ
マンドを発行しても、ACC3が他のホストB,Cにより使用
中であれば、ビジー応答となりデバイス4(i)の状態
情報を知ることが出来ない。
(3). For example, even if host A issues an RDLIB command in response to an ATT interrupt, if ACC3 is in use by another host B, C, a busy response will result and the device 4 (i) status information cannot be known. .

この場合、ACC3がフリーになったことを制御装置1,2か
ら通知されるのを待つて再度同一コマンドを発行する必
要がある。しかし、この時もACC3が他ホストB,Cにより
使用中である可能性がある。
In this case, it is necessary to issue the same command again after waiting for notification from the control devices 1 and 2 that the ACC3 has become free. However, at this time as well, ACC3 may be in use by other hosts B and C.

以上のような状態が発生した場合、本システムにおける
デバイス4(i)の状態情報認識が大幅に遅れることに
なる。更に、上位のホストの数が増加(最大1つの制御
装置に対して4ないし8)した場合には、各ホストと制
御装置1,2とのパスのビジー率がより増大し、ホストが
デバイス4(i)の状態情報を認識出来るタイミングが
さらにより一層遅れることになる。
When the above state occurs, the recognition of the state information of the device 4 (i) in this system will be significantly delayed. Furthermore, when the number of higher-order hosts increases (4 to 8 for one control unit at the maximum), the busy rate of the path between each host and the control units 1 and 2 increases, and the host device 4 The timing at which the state information (i) can be recognized is further delayed.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理を説明するシステム図を示す。 FIG. 1 shows a system diagram for explaining the principle of the present invention.

第1図において、ホストAは制御装置1と所定のパスを
通じて接続される上位装置であり、又ホストB,Cは制御
装置2とそれぞれ所定のパスを通じて接続される上位装
置である。
In FIG. 1, a host A is a host device connected to the control device 1 through a predetermined path, and hosts B and C are host devices connected to the control device 2 through predetermined paths.

又、制御装置1及び2は物理的に存在するデバイス4
(0)〜4(n)を下位装置として接続し、更に物理的
には存在しない仮想デバイスアドレス5を下位装置に持
つものとし、前記デバイス4(0)〜4(n)から前記
記録媒体のアンロード動作の完了の通知があったことを
検出したとき該アンロードコマンドを出した上位装置に
対して前記仮想デバイスアドレス5の機番で割込みを発
行する手段と、該上位装置から前記仮想デバイスアドレ
ス5に対するデバイスの状態情報表示コマンドを受けた
ときデバイス状態情報を通知する手段とを設けて制御す
る。更に、制御装置1及び2はアクセッサ装置3を下位
装置として制御する。
Also, the control devices 1 and 2 are physically present devices 4
(0) to 4 (n) are connected as a lower-level device, and a virtual device address 5 that does not physically exist is provided to the lower-level device, and the devices 4 (0) to 4 (n) are connected to the recording medium. Means for issuing an interrupt at the machine number of the virtual device address 5 to the upper device that has issued the unload command when it is detected that the unload operation has been completed, and the virtual device from the upper device Means for notifying the device status information when a device status information display command for the address 5 is received is provided and controlled. Further, the control devices 1 and 2 control the accessor device 3 as a subordinate device.

尚、制御装置1と制御装置2との間はクロスコール制御
cが行われ、各ホストA〜Cからデバイス4(0)〜4
(n),仮想デバイスアドレス5,アクセッサ装置3の捕
捉が可能なようにシステムが構成されている。
The cross call control c is performed between the control device 1 and the control device 2, and the devices 4 (0) to 4 are transmitted from the hosts A to C.
(N), the system is configured so that the virtual device address 5 and the accessor device 3 can be captured.

〔作用〕[Action]

デバイス4(i)でのアンロード動作が完了すると制御
装置1又は2は仮想デバイスアドレス5(以下仮想UCB5
と称する)の機番でATT割込みをアンロードコマンドを
出した、ホスト例えばAに通知する。ホストAはこれを
受けて仮想UCB5の機番に対してRDLIBコマンドを発行す
る。制御装置1又は2は仮想UCB5の機番に対するRDLIB
コマンドであることを認識してデバイス状態情報をホス
トAに通知する。ホストAは当該デバイス4(i)のア
ンロード動作完了を認識することができ、デバイス4
(i)の入口/出口機構部41に排出されたカートリッジ
7を元の格納棚6位置に戻すためにムーブコマンドを発
行することができる。このように、従来のようにアクセ
ッサ装置3(以下ACC3と称する)の機番でホストAに割
込みをかけるため生ずる〔発明が解決しようとする問題
点〕で述べたACC3動作に伴う処理時間の長さに影響され
る3つの問題点が解決され、ACC3動作に影響されること
なく、即時に必要な割込み/状態情報表示を行うことが
可能となり、リカバリ処理が迅速に行えるようになり、
システムの運用効率の向上が図れることになる。
When the unload operation on the device 4 (i) is completed, the control device 1 or 2 sends the virtual device address 5 (hereinafter virtual UCB5
The ATT interrupt is issued to the host, for example, A, which issued the unload command with the machine number (referred to as "A"). In response to this, the host A issues an RDLIB command to the virtual UCB5 machine number. Controller 1 or 2 is RDLIB for virtual UCB5 machine number
It recognizes that it is a command and notifies the device status information to the host A. The host A can recognize the completion of the unload operation of the device 4 (i),
A move command can be issued in order to return the cartridge 7 discharged to the inlet / outlet mechanism unit 41 of (i) to the original storage shelf 6 position. As described above, the processing time required for the ACC3 operation described in [Problems to be solved by the invention], which is caused by interrupting the host A with the machine number of the accessor device 3 (hereinafter referred to as ACC3) as in the conventional case, is long. Has been resolved, the necessary interrupt / status information can be displayed immediately without being affected by ACC3 operation, and recovery processing can be performed quickly.
The operational efficiency of the system can be improved.

〔実施例〕〔Example〕

以下本発明の要旨を第2図,第3図に示す実施例により
具体的に説明する。
The gist of the present invention will be specifically described below with reference to the embodiments shown in FIGS. 2 and 3.

第2図は本発明に係る一実施例を説明するシステムブロ
ック図、第3図は本発明に係る動作図をそれぞれ示す。
尚、全図を通じて同一符号は同一対象物を示す。
FIG. 2 is a system block diagram for explaining an embodiment according to the present invention, and FIG. 3 is an operation diagram according to the present invention.
The same reference numerals denote the same objects throughout the drawings.

第2図に示すシステムは、 第4図に示すホストA〜Cに相当するセンタ計算機8
(0)〜8(2)(以下CPU8(0)〜8(2)と称す
る)、 複数のデバイス4(0)a〜4(n)b及び仮想UCB5a,
5bをCPU8(0)〜8(2)からの命令により制御する制
御装置1a,2b、 ACC3a,3bをCPU8(0)〜8(2)からの命令により制御
する制御装置1b,2a、 記録媒体を収納しているカートリッジ7のデバイス4
(0)a〜4(n)bへの挿入・取出しを行うACC3a,3
b、 カートリッジ7を装着して記録媒体へのデータの記録/
再生を行うデバイス4(0)a〜4(n)b、 物理的には存在しないがCPU8(0)〜8(2)から見た
場合制御対象の仮想デバイスとしてそのアドレスが与え
られている仮想UCB5a,5b、 とから構成されている。
The system shown in FIG. 2 is a center computer 8 corresponding to the hosts A to C shown in FIG.
(0) to 8 (2) (hereinafter referred to as CPU8 (0) to 8 (2)), a plurality of devices 4 (0) a to 4 (n) b and a virtual UCB 5a,
Control device 1a, 2b for controlling 5b by a command from CPU8 (0) -8 (2), control device 1b, 2a for controlling ACC3a, 3b by a command from CPU8 (0) -8 (2), recording medium Device 4 in a cartridge 7 containing a
ACC3a, 3 for inserting / removing into (0) a-4 (n) b
b, recording data on a recording medium by mounting the cartridge 7
Reproduction devices 4 (0) a-4 (n) b, which are not physically present, but whose addresses are given as virtual devices to be controlled when viewed from CPUs 8 (0) -8 (2) It consists of UCB5a, 5b, and.

制御装置1aには、デバイス4(0)〜4(n)aからア
ンロード動作の完了の通知があったことを検出したとき
該アンロードコマンドを出した上位装置CPU8(0)〜8
(2)に対して仮想デバイスアドレス5aの機番で割込み
を発行するプログラムと、該上位装置CPU8(0)〜8
(2)から前記仮想デバイスアドレス5aに対するデバイ
スの状態情報表示コマンドを受けたときデバイス状態情
報を通知するプログラムを備えている。制御装置2bに
は、デバイス4(0)b〜4(n)bからアンロード動
作の完了の通知があったことを検出したとき該アンロー
ドコマンドを出した上位装置CPU8(0)〜8(2)に対
して仮想デバイスアドレス5bの機番で割込みを発行する
プログラムP1と、該上位装置CPU8(0)〜8(2)から
前記仮想デバイスアドレス5bに対するデバイスの状態情
報表示コマンドを受けたときデバイス状態情報を通知す
るプログラムP2を備えている。
When the control device 1a detects that the devices 4 (0) to 4 (n) a have notified the completion of the unload operation, it outputs the unload command to the higher-level device CPUs 8 (0) to 8
(2) A program that issues an interrupt at the machine number of the virtual device address 5a, and the higher-level device CPUs 8 (0) -8
A program is provided for notifying the device status information when the device status information display command for the virtual device address 5a is received from (2). When it is detected that the devices 4 (0) b to 4 (n) b are notified of the completion of the unload operation, the control device 2b issues the unload command to the higher-level CPUs 8 (0) to 8 (8) 2) When a program P1 that issues an interrupt at the machine number of the virtual device address 5b and a device status information display command for the virtual device address 5b are received from the host CPUs 8 (0) to 8 (2) It has a program P2 for notifying device status information.

次に本実施例の動作を第2図及び第3図を参照して説明
する。例えば、第2図に示すデバイス4(0)aがCPU8
(0)からのアンロードコマンドにより実行していたア
ンロード動作を完了(第3図(a)で示す)すると、制
御装置1aがこれを検出し、プログラムP1が動作して仮想
UCB5aの機番でCPU8(0)に対しATT割込みを通知する。
CPU8(0)は仮想UCB5aの機番に対し「RDLIB」コマンド
を発行(第3図(c))する。制御装置1aはこれを認識
してプログラムP2を動作させ、状態情報をCPU8(0)に
通知する。CPU8(0)はこれを受け、デバイス4(0)
aのアンロード動作完了を認識し、デバイス4(0)の
入口/出口機構部に排出されているカートリッジを所定
の格納棚に戻すため制御装置1bを経由してACC3a又はACC
3bにムーブコマンドを発行することができる。このよう
に、ACC3a又はACC3b動作に関係なくATT3割込み及び「RD
LIB」コマンドの発行ができ、ACC3a又はACC3bの動作時
間の長さ(1回のムーブコマンドによるACC3a,ACC3bの
動作は数秒〜十数秒)により、ACC3a,ACC3bの動作中
は4(0)aのアンロード完了通知のためのATT割込み
を発生できないためそれだけ割込み通知が遅れる、CP
U8(0)に対してATT割込み発生時他のCPU8(1),8
(2)からACC3a,ACC3bへのI/O要求があった場合その処
理が優先され当該ATT割込みの報告が遅れる、CPU8
(0)がATT割込みに対応してACC3a又はACC3bの機番で
「RDLIB」コマンドを発行してもACC3a又はACC3bが他のC
PU8(1),8(2)により使用中であればビジー応答と
なりデバイス4(0)の状態情報を知ることができな
い、という問題を解決することができる。
Next, the operation of this embodiment will be described with reference to FIG. 2 and FIG. For example, the device 4 (0) a shown in FIG.
When the unload operation being executed by the unload command from (0) is completed (shown in FIG. 3 (a)), the control device 1a detects this and the program P1 operates to execute the virtual operation.
The ATT interrupt is notified to CPU8 (0) with the UCB5a machine number.
The CPU 8 (0) issues an "RDLIB" command to the machine number of the virtual UCB 5a (Fig. 3 (c)). The control device 1a recognizes this, operates the program P2, and notifies the CPU 8 (0) of the state information. CPU8 (0) receives this and device 4 (0)
ACC3a or ACC via the control device 1b for recognizing the completion of the unloading operation of a and returning the cartridge discharged to the inlet / outlet mechanism of the device 4 (0) to a predetermined storage shelf.
You can issue move commands to 3b. In this way, the ATT3 interrupt and the RD3 interrupt regardless of ACC3a or ACC3b operation.
LIB ”command can be issued, and the length of operation time of ACC3a or ACC3b (according to one move command, operation of ACC3a, ACC3b is several seconds to tens of seconds), 4 (0) a of ACC3a, ACC3b is operating Since the ATT interrupt for unload completion notification cannot be generated, the interrupt notification is delayed accordingly, CP
When an ATT interrupt occurs for U8 (0) Other CPU8 (1), 8
If there is an I / O request from (2) to ACC3a, ACC3b, the processing is prioritized and the report of the ATT interrupt is delayed.
Even if (0) issues the "RDLIB" command with the machine number of ACC3a or ACC3b in response to the ATT interrupt, ACC3a or ACC3b will not change to another C
It is possible to solve the problem that the PU8 (1), 8 (2) causes a busy response if the PU8 (1), 8 (2) is in use and the state information of the device 4 (0) cannot be known.

〔発明の効果〕〔The invention's effect〕

以上のような本発明によれば、アクセッサ装置動作に伴
う処理時間の長さに影響されることなく、即時に必要な
割込み/状態情報表示を行うことが可能となり、システ
ムの運用効率の向上が図れると共に状態情報表示による
リカバリ処理が迅速に行えると言う効果がある。
According to the present invention as described above, it is possible to immediately display the necessary interrupt / state information without being affected by the length of processing time associated with the operation of the accessor device, and improve the operation efficiency of the system. There is an effect that the recovery processing by displaying the state information can be performed quickly.

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

第1図は本発明の原理を説明するシステム図、 第2図は本発明に係る一実施例を説明するシステムブロ
ック図、 第3図は本発明に係る動作図、 第4図は従来の自動ライブラリシステムを説明する図、 第5図はアクセッサ装置とデバイスの関係を説明する
図、 第6図は従来例の動作図、 をそれぞれ示す。 第2図,第4図,第5図において、 1,1a,1b,2,2a,2bは制御装置、 3,3a,3bはACC、 4(0)〜4(n),4(0)a〜4(n)bはデバイ
ス、 41は入口/出口機構部、42はステーション、 5,5a,5bは仮想UCB、6は格納棚、 7はカートリッジ、 をそれぞれ示す。
FIG. 1 is a system diagram for explaining the principle of the present invention, FIG. 2 is a system block diagram for explaining an embodiment according to the present invention, FIG. 3 is an operation diagram according to the present invention, and FIG. FIG. 5 is a diagram for explaining the library system, FIG. 5 is a diagram for explaining the relationship between the accessor device and the device, and FIG. 6 is an operation diagram for the conventional example. In FIGS. 2, 4, and 5, 1,1a, 1b, 2,2a, 2b are control devices, 3,3a, 3b are ACCs, 4 (0) to 4 (n), 4 (0) a to 4 (n) b are devices, 41 is an inlet / outlet mechanism unit, 42 is a station, 5,5a and 5b are virtual UCBs, 6 is a storage rack, and 7 is a cartridge.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】格納棚に収納されている記録媒体を装着し
てデータの記録/再生を行う複数のデバイス(4(0)
〜4(n))と、 前記記録媒体を運搬するアクセッサ装置(3)と、 前記複数のデバイス(4(0)〜4(n))やアクセッ
サ装置(3)等を制御するデバイス制御装置(1),
(2)とを備えてなる自動ライブラリシステムのデバイ
ス制御装置(1),(2)において、 物理的に存在しない仮想デバイスアドレス(5)を設け
ると共に、 前記デバイス制御装置(1),(2)に、前記デバイス
(4(0)〜4(n))から前記記録媒体のアンロード
動作の完了の通知があったことを検出したとき該アンロ
ードコマンドを出した上位装置に対して前記仮想デバイ
スアドレス(5)の機番で割込みを発行する手段と、前
記上位装置から前記仮想デバイスアドレス(5)に対す
るデバイスの状態情報表示コマンドを受けたときデバイ
ス状態情報を通知する手段とを設けたことを特徴とする
デバイス制御装置。
1. A plurality of devices (4 (0)) for recording / reproducing data by mounting a recording medium stored in a storage shelf.
˜4 (n)), an accessor device (3) that carries the recording medium, and a device control device that controls the plurality of devices (4 (0) to 4 (n)) and the accessor device (3). 1),
In a device controller (1), (2) of an automatic library system comprising (2), a virtual device address (5) that does not physically exist is provided, and the device controller (1), (2) When it is detected that the device (4 (0) to 4 (n)) has notified the completion of the unload operation of the recording medium, the virtual device is issued to the higher-level device that issued the unload command. A means for issuing an interrupt at the machine number of the address (5) and a means for notifying the device status information when receiving a device status information display command for the virtual device address (5) from the host device are provided. Characterized device control device.
JP7605685A 1985-04-10 1985-04-10 Device controller Expired - Lifetime JPH0734173B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7605685A JPH0734173B2 (en) 1985-04-10 1985-04-10 Device controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7605685A JPH0734173B2 (en) 1985-04-10 1985-04-10 Device controller

Publications (2)

Publication Number Publication Date
JPS61234425A JPS61234425A (en) 1986-10-18
JPH0734173B2 true JPH0734173B2 (en) 1995-04-12

Family

ID=13594116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7605685A Expired - Lifetime JPH0734173B2 (en) 1985-04-10 1985-04-10 Device controller

Country Status (1)

Country Link
JP (1) JPH0734173B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0334011A (en) * 1989-06-30 1991-02-14 Fujitsu Ltd Instruction issuing system
JP3998289B2 (en) * 1997-02-14 2007-10-24 富士通株式会社 Library control apparatus and method for logically dividing and controlling library apparatus
US6950723B2 (en) 2003-08-22 2005-09-27 International Business Machines Corporation Method, system, and program for virtualization of data storage library addresses

Also Published As

Publication number Publication date
JPS61234425A (en) 1986-10-18

Similar Documents

Publication Publication Date Title
WO2000067255A1 (en) Disk apparatus
JPH0734173B2 (en) Device controller
US5875453A (en) Apparatus for and method of information processing
JP2824013B2 (en) Library apparatus and control method thereof
JPH05314733A (en) Library device control method
JPS5917653A (en) Method for transferring data of magnetic disc controlling device
JP3492141B2 (en) Library device
JP2605935B2 (en) Library type magnetic tape subsystem control method.
JP2533917B2 (en) Media mount processing method for storage device with automatic carrier
JP2724429B2 (en) Automatic recording media formatter
JPH04106002A (en) Large capacity magnetic tape library device
JPH0334011A (en) Instruction issuing system
JPH0476187B2 (en)
JP2550767B2 (en) Peripheral processing device
JP2963229B2 (en) Tape mark writing device for magnetic tape storage device
JPH0296964A (en) Automatic library system for memory medium
JP2676891B2 (en) Mass storage device and recording medium ejection control method for mass storage device
JP2671485B2 (en) Disk processing device
JPH04319566A (en) Library device
JPH07220374A (en) Library device
JPH10255359A (en) Accessor control device
JPH04172665A (en) Medium quality control system
JP2001297541A (en) Magnetic tape device
JPS63269361A (en) Magnetic tape device
JP2005018484A (en) Backup device