JPH07122953B2 - Secondary storage access method - Google Patents

Secondary storage access method

Info

Publication number
JPH07122953B2
JPH07122953B2 JP11149386A JP11149386A JPH07122953B2 JP H07122953 B2 JPH07122953 B2 JP H07122953B2 JP 11149386 A JP11149386 A JP 11149386A JP 11149386 A JP11149386 A JP 11149386A JP H07122953 B2 JPH07122953 B2 JP H07122953B2
Authority
JP
Japan
Prior art keywords
medium
drive
host
virtual number
secondary storage
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
JP11149386A
Other languages
Japanese (ja)
Other versions
JPS62267965A (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.)
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Panasonic Mobile Communications Co Ltd
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Matsushita Communication Industrial Co 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 Hitachi Ltd, Nippon Telegraph and Telephone Corp, Matsushita Communication Industrial Co Ltd filed Critical Hitachi Ltd
Priority to JP11149386A priority Critical patent/JPH07122953B2/en
Publication of JPS62267965A publication Critical patent/JPS62267965A/en
Publication of JPH07122953B2 publication Critical patent/JPH07122953B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、可換記録媒体を有する2次記憶装置が中央処
理装置(ホスト)に接続される計算機システムにおける
2次記憶装置のアクセス方式に関する。
The present invention relates to an access method of a secondary storage device in a computer system in which a secondary storage device having a removable recording medium is connected to a central processing unit (host). .

〔従来の技術〕[Conventional technology]

計算機システムにおける2次記憶装置は、通常、制御装
置とこれに接続された1つ以上の駆動装置とを含んでい
る。特に記録媒体が可換媒体であるとき、媒体自動交換
装置付きの複数媒体内蔵形の2次記憶装置が存在する。
制御装置はホストと接続され、行われるべき動作、媒体
上のアドレス(データ転送スタート位置)、レングス
(データ転送長)等に関するコマンドをホストから受取
り、このコマンド情報を必要なオーダ情報に変換した
後、適当な駆動装置とその他のシステム・エレメントと
の間でのデータ転送を制御する。駆動装置はマウントさ
れている記録媒体を動作させ、記録媒体からデータを読
み出して制御装置にデータを転送し、また、制御装置か
ら転送されたデータを記録電体に書き込む。媒体自動変
換装置は、制御装置から媒体移動に関するオーダ情報を
受け、指定された媒体を媒体格納位置から駆動位置へマ
ウントし、また、駆動装置から媒体格納位置へデマウン
トし、さらに、ある媒体格納位置から別の媒体格納位置
へ移動せしめる。
The secondary storage device in a computer system usually includes a control device and one or more drive devices connected thereto. In particular, when the recording medium is a replaceable medium, there is a secondary storage device having a plurality of media built-in with an automatic medium exchange device.
The controller is connected to the host, receives commands from the host regarding the operations to be performed, addresses on the medium (data transfer start position), length (data transfer length), etc., and after converting this command information into the necessary order information. , Controls data transfer between appropriate drives and other system elements. The drive device operates the mounted recording medium, reads data from the recording medium, transfers the data to the control device, and writes the data transferred from the control device to the recording electric body. The automatic media conversion device receives order information regarding medium movement from the control device, mounts the specified medium from the medium storage position to the drive position, and demounts the specified medium from the drive device to the medium storage position. To another medium storage position.

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

計算機システムでは、一般に媒体自動変換装置に格納さ
れている媒体の管理を2次記憶装置自身が行い、ホスト
は現在駆動装置にマウントされている媒体に対し、過去
にアクセスしたアドレス空間と認識しているが、該媒体
が担う全アドレス空間までは認識していない。従来、こ
のようなシステムにおいて、ホストが2次記憶装置へア
クセスする場合、ホストは駆動装置の装置番号を該駆動
装置に固定した番号である実番号で指定していた。した
がって、例えば以下に述べる問題点が生じていた。
In the computer system, the secondary storage device itself generally manages the medium stored in the automatic medium conversion device, and the host recognizes the medium currently mounted in the drive device as the address space accessed in the past. However, it does not recognize the entire address space of the medium. Conventionally, in such a system, when the host accesses the secondary storage device, the host specifies the device number of the drive device by a real number which is a fixed number for the drive device. Therefore, for example, the following problems have occurred.

ホストがある媒体のあるアドレス空間Aにアクセスした
い時、アドレス空間Aにアクセスするよう制御装置に指
令する。またこの時、該当媒体をマウントすべき駆動装
置の装置番号aを指定する。指令を受けた制御装置は、
媒体自動交換装置に該当媒体を該当駆動装置aにマウン
トさせ、アドレス空間Aにアクセスする。次にホストが
その媒体に含まれる別のアドレス空間Bをアクセスする
必要が生じた時には、ホストはAとBが同一媒体に含ま
れることを認識していない。また、マウントされている
アドレス空間Aは一般に引き続いてアクセスされる可能
性が高いので、アドレス空間Aはそのまゝ駆動装置aに
マウントしておきたいとする。したがって、別の駆動装
置bにアドレス空間Bを持つ媒体をマウントしてアドレ
ス空間Bにアクセスするよう制御装置に指令する。
When the host wants to access a certain address space A of a medium, the controller is instructed to access the address space A. At this time, the device number a of the drive device on which the corresponding medium is to be mounted is designated. The control device that received the command,
The corresponding medium is mounted on the corresponding drive device a by the automatic medium exchange device, and the address space A is accessed. Then, when the host needs to access another address space B included in the medium, the host does not recognize that A and B are included in the same medium. Further, since the mounted address space A is generally highly likely to be subsequently accessed, it is desired to mount the address space A on the drive device a as it is. Therefore, the control device is instructed to mount the medium having the address space B on another drive device b and access the address space B.

このような場合、制御装置は該当媒体を駆動装置aから
デマウントして、駆動装置bにマウントしなければなら
ない。一般に媒体をデマウントしてマウントするまで十
数秒かゝるので、アドレス空間Bへのホストのアクセス
が大幅に遅くなる。また、この場合、ホストが駆動装置
aにマウントされていると認識しているアドレス空間A
は、駆動装置aからはデマウントされてしまっている。
ホストはそれを認識できないので、次のアドレス空間A
へのアクセスは駆動装置aを指定してしまう。
In such a case, the controller must demount the media from drive a and mount it on drive b. Generally, it takes dozens of seconds until the medium is demounted and mounted, so that the host access to the address space B is significantly delayed. Further, in this case, the address space A in which the host recognizes that it is mounted in the drive device a
Has been demounted from the drive device a.
Since the host cannot recognize it, the next address space A
Access to the drive device a is specified.

このように、ホストが指定する駆動装置の装置番号が駆
動装置に固定した実番号であった場合、1つの媒体に対
して駆動装置間を単に移動させるような動作が頻繁に起
こり、システム全体が大幅な性能低下をきたす。
As described above, when the device number of the drive device designated by the host is a real number fixed to the drive device, an operation of simply moving between the drive devices with respect to one medium frequently occurs, and the entire system is It causes a significant decrease in performance.

ホストが自身の指令によって現在駆動装置にマウントさ
せた媒体の全アドレス空間を認識している機能を持って
いる場合であっても、ホストを多数接続したマルチホス
トシステムにおいては、あるホストが媒体をマウントし
た時、その他のホストはマウントされた媒体の全アドレ
ス空間をそのホストと同様には認識できない。また、そ
の他のホストが、現在駆動装置にマウントされた媒体の
全アドレス空間をアクセスに先立って認識しようとすれ
ば、2次記憶装置に対しマウント状態を参照するような
特別な処理が必要であり、システムの複雑化と処理能力
低下を招く。
Even if the host has a function of recognizing the entire address space of the medium currently mounted on the drive device by its own command, in a multi-host system in which a large number of hosts are connected, one host is When mounted, other hosts cannot see the entire address space of the mounted medium as well as that host. In addition, if another host tries to recognize the entire address space of the medium currently mounted in the drive device before accessing, special processing such as referencing the mount state to the secondary storage device is necessary. However, the system becomes complicated and the processing capacity is lowered.

本発明の目的は、可換記録媒体を複数内蔵する2次記憶
装置がホストに接続された計算機システムにおいて、2
次記憶装置内の駆動装置にマウントされている媒体のア
ドレス空間をホストが逐一認識しなくても、性能低下を
きたすことなく任意のアドレス空間に迅速にアクセス可
能とすることにある。
An object of the present invention is to provide a computer system in which a secondary storage device containing a plurality of removable recording media is connected to a host.
Even if the host does not recognize the address space of the medium mounted on the drive device in the next storage device, it is possible to quickly access any address space without degrading the performance.

〔問題点を解決するための手段及び作用〕[Means and Actions for Solving Problems]

本発明は、複数の駆動装置の装置番号を該当駆動装置に
固定した実番号および該当実番号と同一または異なる仮
想番号との両者で定義し、2次記憶装置側に、駆動装置
にマウントされている媒体のアドレス空間と該当駆動装
置の該当仮想番号と該当実番号との三者を記憶する手段
と、駆動装置の仮想番号を実番号に割付ける手段と、ホ
ストから要求された媒体が駆動装置にマウントされてい
るか否かを判断する手段と、媒体自動交換装置内の媒体
のアドレス空間と該当媒体を格納する媒体格納位置のア
ドレスとの両者を記憶する手段と、ホストから要求され
た媒体が媒体格納位置に格納されているか否を判断する
手段とを設ける。これにより、ホストが2次記憶装置へ
アクセスする時には、駆動装置の装置番号を仮想番号で
指定することが可能になり、2次記憶装置内の駆動装置
にマウントされている媒体のアドレス空間をホストが逐
一認識しなくても、任意のアドレス空間に迅速にアクセ
スできることゝなる。
According to the present invention, the device numbers of a plurality of drive devices are defined by both a real number fixed to the corresponding drive device and a virtual number that is the same as or different from the corresponding real number, and the drive device is mounted on the secondary storage device side. Means for storing the address space of the medium, the virtual number and the real number of the drive, the means for assigning the virtual number of the drive to the real number, and the medium requested by the host is the drive. Means for determining whether or not the medium is mounted on the medium, a means for storing both the address space of the medium in the automatic medium changing device and the address of the medium storing position for storing the medium, and the medium requested by the host. And means for determining whether the medium is stored in the medium storage position. As a result, when the host accesses the secondary storage device, the device number of the drive device can be specified by a virtual number, and the host address space of the medium mounted on the drive device in the secondary storage device can be specified. Can quickly access any address space without needing to recognize it one by one.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により詳細に説明
する。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の実施例であって、1つ以上のホスト10
とそれに接続された2次記憶装置20からなる。2次記憶
装置20は1つの制御装置30、複数の駆動装置40、1つの
媒体自動交換装置50を含む。媒体自動交換装置50は複数
の媒体格納位置60を有している。制御装置30と媒体自動
交換装置50、制御装置30と複数の駆動装置40は、各々公
知の方法により接続されている。制御装置30はマウント
テーブル31と、格納テーブル32と、マウント判断機構33
と、仮想番号判断機構34と、仮想番号割付け機構35と、
格納判断機構36とを具備している。
FIG. 1 is an embodiment of the present invention in which one or more hosts 10 are included.
And a secondary storage device 20 connected thereto. The secondary storage device 20 includes one control device 30, a plurality of drive devices 40, and one automatic medium changing device 50. The automatic medium changing device 50 has a plurality of medium storing positions 60. The control device 30 and the automatic medium changing device 50, and the control device 30 and the plurality of drive devices 40 are connected by a known method. The control device 30 includes a mount table 31, a storage table 32, and a mount determination mechanism 33.
A virtual number determination mechanism 34, a virtual number assignment mechanism 35,
The storage determination mechanism 36 is provided.

第2図は第1図のテーブル類31,32の構成例を示したも
のである。第2図(a)にはマウントテーブル31の構成
が示され、複数の駆動装置40に対応して、該当駆動装置
に固定された装置番号である駆動装置実番号、制御装置
30が動的に該当駆動装置に割付ける駆動装置仮想番号、
該当駆動装置に仮想番号が割付けられているか否かを識
別する仮想番号識別フラグ、該当駆動装置に媒体がマウ
ントされているか否を識別するマウント識別フラグ、マ
ウントされている媒体のアドレス空間が記憶されてい
る。仮想番号識別フラグには、例えば仮想番号が割付け
られていなかったら“0"、割付けされていたら“1"と記
憶する。マウント識別フラグには、例えば媒体がマウン
トされていなかったら“0"、マウントされていたら“1"
と記憶する。第2図(b)には格納テーブル32の構成が
示され、複数の媒体格納位置60のそれぞれに対応して、
該当媒体格納位置アドレス、該当媒体格納位置に媒体が
格納されているか否かを識別する格納識別フラグ、格納
されている媒体のアドレス空間が記憶されている。該格
納識別フラグには、媒体が格納されているときには例え
ば“1"を、媒体が格納されていないときには例えば“0"
を記憶する。
FIG. 2 shows a configuration example of the tables 31 and 32 shown in FIG. The structure of the mount table 31 is shown in FIG. 2 (a), which corresponds to a plurality of drive devices 40 and is a drive device real number which is a device number fixed to the drive device and a control device.
30 is a virtual drive number dynamically assigned to the corresponding drive,
A virtual number identification flag that identifies whether a virtual number is assigned to the corresponding drive, a mount identification flag that identifies whether a medium is mounted on the corresponding drive, and an address space of the mounted medium are stored. ing. For example, "0" is stored in the virtual number identification flag if the virtual number is not assigned, and "1" is stored if the virtual number is assigned. In the mount identification flag, for example, "0" if the medium is not mounted, "1" if the medium is mounted
I remember. The structure of the storage table 32 is shown in FIG. 2 (b), which corresponds to each of the plurality of medium storage positions 60.
The medium storage position address, the storage identification flag for identifying whether or not the medium is stored in the medium storage position, and the address space of the stored medium are stored. The storage identification flag is, for example, "1" when the medium is stored, and is "0" when the medium is not stored.
Memorize

制御装置30のマウント判断機構33は、マウントテーデル
31を参照して複数の駆動装置40の媒体マウント状態を判
断する機構である。仮想番号判断機構34は、マウントテ
ーブル31を参照して複数の駆動装置40の仮想番号割付け
状態を判断する機構である。仮想番号割付け機構35は、
ホスト10から要求された駆動装置40の仮想番号を実番号
に割付ける機構である。格納判断機36は、格納テーブル
32を参照して複数の媒体格納位置60の媒体格納状態を判
断する機構である。制御装置30の実体は例えばマイクロ
プロセッサであり、各機構33〜36は例えばプログラムの
サブルーチンとして具備される。
The mount determination mechanism 33 of the control device 30 is
This is a mechanism for determining the medium mounted states of the plurality of drive devices 40 with reference to 31. The virtual number determination mechanism 34 is a mechanism that refers to the mount table 31 and determines the virtual number allocation state of the plurality of drive devices 40. The virtual number assignment mechanism 35
This is a mechanism for allocating the virtual number of the drive unit 40 requested by the host 10 to the real number. The storage judgment device 36 is a storage table.
This is a mechanism for determining the medium storage state of a plurality of medium storage positions 60 with reference to 32. The substance of the control device 30 is, for example, a microprocessor, and the respective mechanisms 33 to 36 are provided, for example, as program subroutines.

第3図は第1図に示した2次記憶装置20におけるホスト
10からの通常の媒体アクセス時の動作(例えばリード、
ライト動作)フローであり、以下、第3図に従って2次
記憶装置20における媒体アクセス動作を説明する。な
お、第3図中、Aはホスト、Bは制御装置、Cは駆動装
置、Dは媒体自動交換装置を示している。
FIG. 3 is a host in the secondary storage device 20 shown in FIG.
Normal media access operation from 10 (eg read,
Write operation) flow, and the medium access operation in the secondary storage device 20 will be described below with reference to FIG. In FIG. 3, A is a host, B is a control device, C is a drive device, and D is an automatic medium changing device.

まず、ホスト10が媒体アクセスの要求が生じた場合、ス
テップ100でホスト10はオペレータまたはプログラムが
指定したファイルネーム等から公知の方法により、その
ファイルが記憶されているかまたは記憶されるべきアド
レスおよびレングスを導出する。ホスト10は、導出した
該アドレスおよびレングス、さらにマウントすべき駆動
装置40の適当な仮想番号、必要とする動作、その他の情
報をコマンド情報に変換し、ステップ101で制御装置30
に送る。
First, when the host 10 requests a medium access, in step 100, the host 10 uses a known method such as a file name specified by an operator or a program to determine an address and a length at which the file is stored or should be stored. Derive. The host 10 converts the derived address and length, an appropriate virtual number of the driving device 40 to be mounted, required operation, and other information into command information, and in step 101, the control device 30
Send to.

制御装置30はステップ102でマウント判断機構33によ
り、マウントテーブル31を参照して、要求されたアドレ
スおよびレングスに対するアドレス範囲を有する媒体
が、複数の駆動装置40のいずれかにマウントされている
か否かを調べる。ステップ102で調べた結果、該当媒体
がマウントされていたら、制御装置30はステップ103で
仮想番号判断機構34により、同じくマウントテーブル31
を参照して、ホスト10からマウントするように要求され
た駆動装置40の仮想番号が、該当媒体をマウントしてい
る駆動装置40の直前に割付けられた仮想番号と一致して
いるか否かを調べる。ステップ103で調べた結果、現在
のアクセスにおける仮想番号とその直前に割付けられた
仮想番号と一致していたら、制御装置30はステップ104
で媒体のアドレスおよびレングス、必要とする動作、そ
の他の情報をオーダ情報に変換し、該当媒体をマウント
している駆動装置40に送る。その後、制御装置30はステ
ップ105でホストから要求された動作を公知の方法によ
り制御する。
In step 102, the control device 30 refers to the mount table 31 by the mount determination mechanism 33 to determine whether the medium having the requested address and the address range for the length is mounted in any of the plurality of drive devices 40. Find out. As a result of checking in step 102, if the corresponding medium is mounted, the control device 30 causes the virtual number determination mechanism 34 to similarly mount the mount table 31 in step 103.
Referring to, check whether the virtual number of the drive unit 40 requested to be mounted by the host 10 matches the virtual number assigned immediately before the drive unit 40 mounting the corresponding medium. . As a result of checking in step 103, if the virtual number in the current access matches the virtual number assigned immediately before, the control device 30 determines in step 104.
Then, the address and length of the medium, the required operation, and other information are converted into order information and sent to the drive device 40 mounting the medium. Thereafter, the controller 30 controls the operation requested by the host in step 105 by a known method.

ステップ103で調べた結果、現在のアクセスにおける仮
想番号とその直前に割付けられた仮想番号とが一致して
いなかったら、制御装置30はステップ106で、マウント
テーブル31の該当駆動装置40の実番号に対応する仮想番
号欄に現在のアクセスにおける仮想番号を記憶し、ステ
ップ104へ行く。
As a result of checking in step 103, if the virtual number in the current access and the virtual number assigned immediately before do not match, the control device 30 determines in step 106 that the real number of the corresponding drive device 40 in the mount table 31. The virtual number in the current access is stored in the corresponding virtual number column, and the process proceeds to step 104.

一方、ステップ102で調べた結果、所望の媒体が複数の
駆動装置40のいずれにもマウントされていなかったら、
制御装置30はステップ107で格納判断機構36により、格
納テーフル32を参照して、該当媒体が媒体格納位置60の
いずれに格納されているか否かを調べる。該当媒体が媒
体格納位置60のいずれにも格納されていなかったら、制
御装置30はステップ108でホストに該当媒体未格納を通
知し、以後、ホストの指示を待つ。
On the other hand, as a result of checking in step 102, if the desired medium is not mounted on any of the plurality of drive devices 40,
In step 107, the control device 30 refers to the storage table 32 by the storage determination mechanism 36 to check in which of the medium storage positions 60 the medium is stored. If the corresponding medium is not stored in any of the medium storing positions 60, the control device 30 notifies the host that the corresponding medium is not stored in step 108, and thereafter waits for an instruction from the host.

ステップ107で調べた結果、該当媒体が媒体格納位置60
のいずれかに格納されていたら、制御装置30はステップ
109で仮想番号判断機構34により、ホスト10から要求さ
れた駆動装置40の仮想番号が、マウントテーブル31の仮
想番号欄に存在するか否かを調べる。ステップ109で調
べた結果、仮想番号が存在したら、制御装置30はステッ
プ110でマウント判断機構33を用いて、該当仮想番号を
割付けられている駆動装置40にホスト10から要求された
以外の別媒体がマウントされているか否を調べる。ステ
ップ110で調べた結果、該当駆動装置に別媒体がマウン
トされていなかったら、制御装置30はステップ111で格
納判断機構36により、ホスト10から要求された媒体を格
納している媒体格納位置60を特定する。制御装置30は特
定した該当媒体格納位置60に格納されている媒体を該当
駆動装置40にマウントするように、ステップ112で媒体
格納位置アドレスおよびマウント駆動装置の実番号、マ
ウント動作、その他の情報をコマンド情報に変換し、媒
体自動交換装置50に送る。
As a result of checking in step 107, the corresponding medium is at the medium storage position 60.
If stored in one of the
At 109, the virtual number determination mechanism 34 checks whether or not the virtual number of the drive device 40 requested by the host 10 exists in the virtual number column of the mount table 31. As a result of checking in step 109, if the virtual number is present, the control device 30 uses the mount determination mechanism 33 in step 110, and another medium other than that requested by the host 10 to the drive device 40 to which the virtual number is assigned. Check if is mounted. As a result of checking in step 110, if another medium is not mounted in the drive device, the control device 30 causes the storage determination mechanism 36 to determine the medium storage position 60 storing the medium requested by the host 10 in step 111. Identify. In step 112, the control device 30 mounts the medium stored in the specified corresponding medium storage position 60 on the corresponding drive device 40 so as to display the medium storage position address, the real number of the mount drive device, the mount operation, and other information. It is converted into command information and sent to the automatic media changing device 50.

媒体自動交換装置50はステップ113で、制御装置30から
要求された媒体格納位置60から媒体を取出し、要求され
た駆動装置40にマウントする。マウント動作が完了する
と、媒体自動交換装置50はステップ114で、制御装置30
にマウント完了報告を行う。制御装置30はステップ115
で、マウントテーブル31の該当駆動装置40に対応するマ
ウント識別フラグを“1"とするとゝもに、媒体マウント
に伴う必要な処理を行う。以後、ホストから要求された
動作を制御するためにステップ104に行く。
In step 113, the automatic medium changing device 50 takes out the medium from the medium storing position 60 requested by the control device 30 and mounts it on the required driving device 40. When the mount operation is completed, the automatic media changing device 50 proceeds to step 114 to control device 30.
Report the completion of mounting. The control device 30 executes step 115.
Then, when the mount identification flag corresponding to the drive device 40 of the mount table 31 is set to "1", the necessary processing associated with the medium mounting is performed. Thereafter, the process goes to step 104 to control the operation requested by the host.

ステップ109で調べた結果、ホスト10から要求された駆
動装置40の仮想番号がマウントテーブル31の仮想番号欄
に存在しなかったら、制御装置30はステップ116でマウ
ント判断機構33により、媒体をマウントしていない空駆
動装置が存在しているか否かを調べる。ステップ116で
調べた結果、空駆動装置が存在した場合、制御装置30は
ステップ117で空駆動装置の中から1つの駆動装置40を
選択する。制御装置30はステップ118でマウントテーブ
ル31の選択した駆動装置40に対応する仮想番号欄に、ホ
スト10から要求された仮想番号を記憶するとゝもに、対
応する仮想番号識別フラグを“1"とする。その後、ホス
ト10から要求された媒体を該当駆動装置40にマウントす
べく、ステップ111へ行く。
As a result of checking in step 109, if the virtual number of the drive device 40 requested by the host 10 does not exist in the virtual number column of the mount table 31, the control device 30 mounts the medium by the mount determination mechanism 33 in step 116. Check if there is an idle drive not present. As a result of checking in step 116, if an idle driving device is present, the control device 30 selects one driving device 40 from the idle driving devices in step 117. In step 118, the control device 30 stores the virtual number requested by the host 10 in the virtual number column corresponding to the drive device 40 selected in the mount table 31, and at the same time sets the corresponding virtual number identification flag to “1”. To do. Then, the process goes to step 111 to mount the medium requested by the host 10 on the corresponding drive device 40.

ステップ116で調べた結果、空駆動装置が存在しなかっ
たら、制御装置30はステップ119で適当な公知の手法を
用いて媒体をデマウントすべき駆動装置40を選択する。
制御装置30はステップ120で、マウントテーブル31の選
択した駆動装置40に対応する仮想番号欄に、ホスト10か
ら要求された仮想番号を記憶する。制御装置30はステッ
プ121で格納判断機構36により、デマウントすべき媒体
を格納する媒体格納位置60を特定する。制御装置30は該
当駆動装置40から該当媒体をデマウントして特定した該
当媒体格納位置60に格納するように、ステップ122で媒
体格納位置アドレスおよびデマウント駆動装置の実番
号、デマウント動作、その他の情報をコマンド情報に変
換し、媒体自動変換装置50に送る。
If the idle drive is not present as determined by step 116, the controller 30 selects the drive 40 to demount the media in step 119 using any suitable known technique.
In step 120, the control device 30 stores the virtual number requested by the host 10 in the virtual number column corresponding to the drive device 40 selected in the mount table 31. In step 121, the control device 30 uses the storage determination mechanism 36 to identify the medium storage position 60 in which the medium to be demounted is stored. In step 122, the control device 30 stores the medium storage position address, the actual number of the demount drive device, the demount operation, and other information so that the medium is demounted from the corresponding drive device 40 and stored in the specified medium storage position 60. It is converted into command information and sent to the automatic media conversion device 50.

媒体自動変換装置50はステップ123で、要求され駆動装
置40から媒体をデマウントし、要求された媒体自動交換
装置60に格納する。デマウント動作が完了すると、媒体
自動交換装置50はステップ124で、制御装置30にデマン
ト完了報告を行う。制御装置30はステップ125で、マウ
ントテーブル31の該当駆動装置40に対応するマウント識
別フラグを“0"とするとゝもに、媒体デマウントに伴う
必要な処理を行う。以後、ホスト10から要求された媒体
を該当駆動装置40にマウントすべく、ステップ111へ行
く。
In step 123, the automatic media conversion device 50 demounts the medium from the requested drive device 40 and stores it in the requested automatic media exchange device 60. When the demount operation is completed, the automatic medium changing device 50 reports the demant completion to the control device 30 in step 124. In step 125, the control device 30 sets the mount identification flag corresponding to the drive device 40 of the mount table 31 to "0", and also performs the necessary processing associated with the medium demounting. Thereafter, the process goes to step 111 to mount the medium requested by the host 10 on the drive device 40.

ステップ110で調べた結果、該当仮想番号を割付けられ
ている駆動装置40にホスト10から要求されて以外の別媒
体がマウントされていたら、制御装置30はステップ126
でマウント判断機構33により、媒体をマウントしていな
い空駆動装置が存在しているか否かを調べる。ステップ
126で調べた結果、空駆動装置が存在した場合、ステッ
プ117へ行く。ステップ126で調べた結果、空駆動装置が
存在していない場合、該当仮想番号を割付けられている
駆動装置40にマウントされている媒体をデマウントすべ
く、ステップ121へいく。
As a result of checking in step 110, if another medium other than the one requested by the host 10 is mounted on the drive device 40 to which the corresponding virtual number is assigned, the control device 30 proceeds to step 126.
Then, the mount determination mechanism 33 checks whether or not there is an idle drive device that does not mount the medium. Step
As a result of checking in 126, if there is an idle drive device, the procedure goes to step 117. As a result of checking in step 126, if there is no empty drive, the process goes to step 121 to demount the medium mounted in the drive 40 assigned the virtual number.

以上が通常の動作における2次記憶装置20の動作フロー
である。なお、ホストが駆動装置40を特定してアクセス
したい時は、駆動装置の実番号を指定すれば良い。この
ために、制御装置30にはホストが指定した駆動装置の装
置番号が実番号か仮想番号かの認識手段が含まれる。あ
るいは、ホストの指定する装置番号が実番号か仮想番号
かによって、2つの動作モードを予めシステム内で取り
決めておくことゝし、例えば制御装置30にはいずれの動
作モードであるかを適宜設定しておく手段が含まれる。
The above is the operation flow of the secondary storage device 20 in the normal operation. When the host wants to specify and access the drive device 40, the real number of the drive device may be designated. For this purpose, the control device 30 includes a recognition means for recognizing whether the device number of the drive device designated by the host is a real number or a virtual number. Alternatively, two operation modes may be pre-arranged in the system depending on whether the device number designated by the host is a real number or a virtual number. For example, which operation mode is set in the control device 30 as appropriate. Means of saving are included.

以上本実施例では、制御装置30が格納テーブル32と格納
判断機構36を具備して、媒体の格納位置までを管理する
ように述べたが、媒体自動交換装置50が格納テーブル32
と格納判断機構36を具備し、媒体の格納位置管理は媒体
自動交換装置50が行っても良い。この場合、第3図の動
作フローの媒体格納アドレス特定動作は制御装置30では
なく、媒体自動交換装置50が行うことになる。また、制
御装置30から媒体自動交換装置50へのオーダ転送後、媒
体格納アドレス特定動作を行うことになる。このよう
に、こゝで述べた格納テーブル32と格納判断機構36とを
具備する装置、動作フローは一例であって、本発明の具
体的な実施方法に応じて任意に設計し得るものである。
As described above, in the present embodiment, the control device 30 includes the storage table 32 and the storage determination mechanism 36, and manages up to the storage position of the medium.
The storage automatic storage device 50 may be provided with a storage determination mechanism 36, and the storage position of the medium may be managed by the automatic medium exchange device 50. In this case, the medium storage address specifying operation in the operation flow of FIG. 3 is performed by the automatic medium exchange apparatus 50, not by the control apparatus 30. Further, after the order transfer from the control device 30 to the automatic medium exchange device 50, the medium storage address specifying operation is performed. As described above, the device including the storage table 32 and the storage determination mechanism 36 and the operation flow described above are merely examples, and can be arbitrarily designed according to the specific implementation method of the present invention. .

さらに、本実施例は、1つの制御装置、1つの媒体自動
交換装置を有する2次記憶装置について説明してきた
が、複数の制御装置、複数の媒体自動交換装置を有する
2次記憶装置についても、本実施例と同様な方法によっ
て実現されることが容易に理解される。
Further, although the present embodiment has been described with respect to the secondary storage device having one control device and one automatic media exchange device, the secondary storage device having a plurality of control devices and a plurality of automatic media exchange devices is also described. It is easily understood that the same method as that of this embodiment is used.

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

以上説明したように、本発明によれば、駆動装置に仮想
番号を付与し、ホストは仮想番号でアクセスすることが
可能になるので、2次記憶装置内の駆動装置にマウント
されている媒体のアドレス空間をホストが逐一認識しな
くても、性能を低下することなく任意のアドレス空間に
迅速にアクセス可能となる利点がある。
As described above, according to the present invention, a virtual number is given to a drive unit, and a host can access by the virtual number, so that the medium mounted on the drive unit in the secondary storage device can be Even if the host does not recognize the address space one by one, there is an advantage that any address space can be quickly accessed without degrading the performance.

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

第1図は本発明の一実施例の構成図、第2図は第1図に
おけるテーブル類の構成例を示す図、第3図は第1図の
通常の動作時の動作フロー例を示す図である。 10……ホスト、20……2次記憶装置、30……制御装置、
31……マウントテーブル、32……格納テーブル、33……
マウント判断機構、34……仮想番号判断機構、35……仮
想番号割付機構、36……格納判断機構、40……駆動装
置、50……媒体自動交換装置、60……媒体格納位置。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing a configuration example of the tables in FIG. 1, and FIG. 3 is a diagram showing an operation flow example during normal operation of FIG. Is. 10 ... Host, 20 ... Secondary storage device, 30 ... Control device,
31 …… Mount table, 32 …… Storage table, 33 ……
Mount determination mechanism, 34 ... Virtual number determination mechanism, 35 ... Virtual number assignment mechanism, 36 ... Storage determination mechanism, 40 ... Drive device, 50 ... Automatic medium exchange device, 60 ... Medium storage position.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 井沢 伸芳 東京都武蔵野市緑町3丁目9番11号 日本 電信電話株式会社電子機構技術研究所内 (72)発明者 武田 立 東京都武蔵野市緑町3丁目9番11号 日本 電信電話株式会社電子機構技術研究所内 (72)発明者 黒沢 勝広 神奈川県横浜市港北区綱島東4丁目3番1 号 松下通信工業株式会社内 (72)発明者 渡辺 真 神奈川県横浜市港北区綱島東4丁目3番1 号 松下通信工業株式会社内 (72)発明者 岡 隆史 神奈川県小田原市国府津2880番地 株式会 社日立製作所小田原工場内 (72)発明者 土井 隆 神奈川県小田原市国府津2880番地 株式会 社日立製作所小田原工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Nobuyoshi Izawa 3-9-11 Midoricho, Musashino-shi, Tokyo Inside Nippon Telegraph and Telephone Corporation Electronic Mechanical Engineering Laboratory (72) Inventor Tatsuda Takeshi Midori-cho, Musashino-shi, Tokyo 9-11 Nippon Telegraph and Telephone Corporation, Research Institute of Electronic Mechanism (72) Inventor Katsuhiro Kurosawa 4-3-1, Tsunashima-higashi, Kohoku-ku, Yokohama-shi, Kanagawa Matsushita Communication Industrial Co., Ltd. (72) Inventor Shin Watanabe Kanagawa 4-3-1, Tsunashimahigashi, Kohoku-ku, Yokohama Matsushita Communication Industrial Co., Ltd. (72) Inventor Takashi Oka 2880 Kozu, Odawara City, Kanagawa Hitachi Ltd. Odawara Factory (72) Inventor Taka Doi Odawara, Kanagawa 2880, Kozu, Ichi, Japan Otawara Plant, Hitachi Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】可換記録媒体を有する2次記憶装置が中央
処理装置に接続され、該2次記憶装置は前記中央処理装
置に接続された制御装置と該制御装置に接続された複数
の駆動装置と複数の媒体格納位置を含む媒体自動交換装
置とからなる計算機システムにおいて、前記複数の駆動
装置の装置番号を該駆動装置に固定した実番号および該
実番号と同一または異なる仮想番号との両者で定義し
て、前記2次記憶装置側に、前記駆動装置にマウントさ
れている可換記録媒体のアドレス空間と該駆動装置の該
仮想番号と該実番号との三者を記憶する手段と、前記駆
動装置の前記仮想番号を動的に前記駆動装置の前記実番
号に割付ける手段と、前記中央処理装置から要求された
可換記録媒体が前記駆動装置にマウントされているか否
かを判断する手段と、前記媒体自動交換装置内の可換記
録媒体のアドレス空間と該媒体を格納する前記媒体格納
位置のアドレスとの両者を記憶する手段と、前記中央処
理装置から要求された可換記録媒体が前記媒体格納位置
に格納されている否かを判断する手段とを設け、前記中
央処理装置は前記2次記憶装置へのアクセス時、駆動装
置の装置番号を仮想番号で指定することを特徴とする2
次記憶装置のアクセス方式。
1. A secondary storage device having a removable recording medium is connected to a central processing unit, the secondary storage device being a control unit connected to the central processing unit, and a plurality of drives connected to the control unit. In a computer system consisting of a device and an automatic medium exchange device including a plurality of medium storage positions, both a real number in which the device numbers of the plurality of drive devices are fixed to the drive device and a virtual number which is the same as or different from the real number And a means for storing, on the secondary storage device side, the address space of the exchangeable recording medium mounted on the drive device, the virtual number of the drive device, and the real number. Means for dynamically assigning the virtual number of the drive unit to the real number of the drive unit, and determining whether or not an exchangeable recording medium requested by the central processing unit is mounted in the drive unit Means and Means for storing both the address space of the removable recording medium in the medium automatic exchange device and the address of the medium storing position for storing the medium, and the removable recording medium requested by the central processing unit is the medium. A means for judging whether or not the drive is stored in the storage position is provided, and the central processing unit specifies the device number of the drive unit by a virtual number when accessing the secondary storage device.
Next storage access method.
JP11149386A 1986-05-15 1986-05-15 Secondary storage access method Expired - Lifetime JPH07122953B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11149386A JPH07122953B2 (en) 1986-05-15 1986-05-15 Secondary storage access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11149386A JPH07122953B2 (en) 1986-05-15 1986-05-15 Secondary storage access method

Publications (2)

Publication Number Publication Date
JPS62267965A JPS62267965A (en) 1987-11-20
JPH07122953B2 true JPH07122953B2 (en) 1995-12-25

Family

ID=14562670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11149386A Expired - Lifetime JPH07122953B2 (en) 1986-05-15 1986-05-15 Secondary storage access method

Country Status (1)

Country Link
JP (1) JPH07122953B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9264836B2 (en) 2007-12-21 2016-02-16 Dts Llc System for adjusting perceived loudness of audio signals
US9312829B2 (en) 2012-04-12 2016-04-12 Dts Llc System for adjusting loudness of audio signals in real time

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9264836B2 (en) 2007-12-21 2016-02-16 Dts Llc System for adjusting perceived loudness of audio signals
US9312829B2 (en) 2012-04-12 2016-04-12 Dts Llc System for adjusting loudness of audio signals in real time
US9559656B2 (en) 2012-04-12 2017-01-31 Dts Llc System for adjusting loudness of audio signals in real time

Also Published As

Publication number Publication date
JPS62267965A (en) 1987-11-20

Similar Documents

Publication Publication Date Title
US4467421A (en) Virtual storage system and method
US6052341A (en) Device element allocation manager and method for a multi-library system for multiple host connections
US5729761A (en) System for selecting one cluster of processors and upgrading the version of the program to be executed by the processors belonging to the selected cluster
US4984149A (en) Memory access control apparatus
USRE36989E (en) Virtual storage system and method
JPH0683708A (en) Method and device for storing data
JPH1063578A (en) Information recording and reproducing device
JPH07334310A (en) Disk device and buffer storage control method for read data of the same
US6697866B1 (en) Access control method for data stored in fixed-block length format in computer configurations utilizing variable length data format interfaces
JPH07122953B2 (en) Secondary storage access method
JPH04259048A (en) Pre-read data control system using statistic information
US20030110352A1 (en) Data storage apparatus that combines a group of continuous data series stored in buffer separately before storing in a recording medium
HUT75817A (en) Storage device capacity in excess of 528 megabytes apparatus and method for a personal computer
JPH11327802A (en) Disk system
JPH11212733A (en) External storage system
EP0108651A2 (en) Dynamic addressing for variable track length cache memory
JPH0664519B2 (en) Interchangeable recording medium access method
JPH0449134B2 (en)
JPH0664520B2 (en) Secondary memory address space allocation device
JPH0388018A (en) Disk controller
JPH0635624A (en) Fixed magnetic disk device
JP3456234B2 (en) Target device
JPS63117370A (en) Disk device
JPS63316368A (en) Alternate sector processing system for disk storage device
JPS6398720A (en) Access system for exchangeable recording medium