JP2010152993A - Library device and its storage medium management method, and program - Google Patents

Library device and its storage medium management method, and program Download PDF

Info

Publication number
JP2010152993A
JP2010152993A JP2008330911A JP2008330911A JP2010152993A JP 2010152993 A JP2010152993 A JP 2010152993A JP 2008330911 A JP2008330911 A JP 2008330911A JP 2008330911 A JP2008330911 A JP 2008330911A JP 2010152993 A JP2010152993 A JP 2010152993A
Authority
JP
Japan
Prior art keywords
unit
medium
magazine
storage medium
slot
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.)
Withdrawn
Application number
JP2008330911A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Ishii
義之 石井
Tadashi Ishizuka
匡 石塚
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2008330911A priority Critical patent/JP2010152993A/en
Publication of JP2010152993A publication Critical patent/JP2010152993A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Automatic Tape Cassette Changers (AREA)
  • Automatic Disk Changers (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a library device capable of shortening a period of time required for a processing, in which a storage medium stored in a magazine is confirmed, to provide its storage medium management method, and to provide a program for managing the storage medium. <P>SOLUTION: A magazine 15 includes a counter for counting the number of times of loading and unloading of a storage medium for each slot. A counter read unit 17 reads a counted value of each counter of the magazine 15 as the number of times of insertion/discharge of corresponding each slot. A main control unit 12 compares independently the number of times of insertion/discharge of each slot read by the counter read unit 17 with the number of times of insertion/discharge of each slot read previously which is stored in a medium information storage unit 16, an unmatched slot is specified, and controls the operation of a medium confirming unit 19 so as to confirm the existence of a storage medium for this specified slot. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、複数の記憶媒体を収納するマガジンを搭載するライブラリ装置及びその記憶媒体管理方法,記憶媒体管理用プログラムに関する。   The present invention relates to a library apparatus equipped with a magazine for storing a plurality of storage media, a storage medium management method thereof, and a storage medium management program.

ライブラリ装置は、複数の記憶媒体を格納し、ホストコンピュータからの指令に従って指定の記憶媒体をドライブ装置に装填してこの記憶媒体に対してデータの読み書きを行うことによって複数の記憶媒体を人手の介入無しに利用可能とする装置である。   The library apparatus stores a plurality of storage media, loads a specified storage medium into a drive device in accordance with a command from the host computer, and reads / writes data from / to the storage medium, thereby manually interposing the plurality of storage media. This is a device that can be used without any use.

ここで、通常のライブラリ装置について、図面に基づいて説明する。図13および14は、マガジン単位で記憶媒体の出し入れが可能な通常のライブラリ装置の構成例を示す図である。図13は、通常のライブラリ装置8の構成例を示すブロック図を表している。図13に示すように、通常のライブラリ装置8は、マガジン85に格納されている記憶媒体のドライブ83への搬送命令や記憶媒体に対するデータの読み書き命令を発行するホストコンピュータ9と接続されている。   Here, a normal library apparatus will be described with reference to the drawings. FIGS. 13 and 14 are diagrams showing a configuration example of a normal library apparatus capable of taking in and out a storage medium in a magazine unit. FIG. 13 is a block diagram illustrating a configuration example of a normal library device 8. As shown in FIG. 13, the normal library device 8 is connected to a host computer 9 that issues a transport command to the drive 83 of a storage medium stored in the magazine 85 and a data read / write command to the storage medium.

通常のライブラリ装置8は、記憶媒体の搬送制御や記憶媒体に付された識別子ラベルの確認とホストコンピュータ9への報告を行う主制御部82と、ホストI/F(インタフェース)部81を介してホストコンピュータ9から受け取ったWrite命令により記憶媒体にデータを書き込みRead命令により記憶媒体からデータの読み出しを行うドライブ83と、複数の記憶媒体を格納することができ装置から取り外すことによりライブラリ装置8外にある記憶媒体を装置内に取り込む事が可能な媒体格納部(マガジン)85と、主制御部82の制御に従ってマガジン85のスロット間やマガジン85とドライブ83との間で記憶媒体の搬送を行う媒体搬送部84と、マガジン85の各スロットの媒体格納状態及び格納された記憶媒体の媒体識別子を記憶する媒体情報記憶部86とを備えて構成されている。   The normal library device 8 is connected via a main control unit 82 that controls the conveyance of the storage medium, checks the identifier label attached to the storage medium, and reports to the host computer 9, and the host I / F (interface) unit 81. A drive 83 that writes data to a storage medium by a Write command received from the host computer 9 and reads data from the storage medium by a Read command; a plurality of storage media can be stored; A medium storage unit (magazine) 85 capable of taking a certain storage medium into the apparatus, and a medium for transporting the storage medium between slots of the magazine 85 or between the magazine 85 and the drive 83 in accordance with the control of the main control unit 82 Media storage state of each slot of conveyance unit 84 and magazine 85 and medium of stored storage medium It is constituted by a medium information storage unit 86 for storing the Besshi.

図14(b)に示すように、マガジン85は装置本体から取り外しが可能で、マガジン85内に記憶媒体852を格納して装置に挿入することにより、ライブラリ装置8内に記憶媒体852を取り込むことができる。   As shown in FIG. 14B, the magazine 85 can be removed from the apparatus main body, and the storage medium 852 is taken into the library apparatus 8 by storing the storage medium 852 in the magazine 85 and inserting it into the apparatus. Can do.

このような通常のライブラリ装置8では、記憶媒体852それぞれを一意に特定するために、各記憶媒体852の個々にバーコードなどで媒体識別子を付し、バックアップジョブなどで予めオペレータが媒体を指定する場合や、データが格納された記憶媒体を装置外に取り出して保管する場合などに、このバーコードラベルの情報を利用している。   In such a normal library apparatus 8, in order to uniquely identify each storage medium 852, a medium identifier is attached to each storage medium 852 by a barcode or the like, and the operator designates the medium in advance by a backup job or the like. The information on the barcode label is used when the storage medium storing the data is taken out of the apparatus and stored.

また、通常のライブラリ装置8では、装置内に格納されている記憶媒体の情報をホストコンピュータ9から要求された場合に、ロボット動作などを行わずに即時で、情報を返す必要がある。   Further, in the normal library device 8, when information on a storage medium stored in the device is requested from the host computer 9, it is necessary to return the information immediately without performing a robot operation or the like.

ホストコンピュータ9に搭載されたバックアップソフトは、まず、ライブラリ装置8に格納されている全ての記憶媒体の情報を取得し、オペレータが記憶媒体を選択できるように媒体一覧の表示を行う。一方、ライブラリ装置8は、ホストコンピュータ9に知らせる全ての記憶媒体の情報を得るために、媒体搬送部84にバーコード読み取りセンサ機構と媒体有無確認機構とからなる媒体確認部19を併設しており、記憶媒体付近まで媒体有無確認機構とバーコード読み取りセンサ機構とが来るように媒体搬送部14を動作させ、媒体有無確認機構により記憶媒体が格納されているか否かの確認を行った後、バーコード読み取りセンサ機構を用いて記憶媒体に付されたバーコードなどから識別子を読み取り媒体情報記憶部86に記憶するというインベントリ処理を行っている。   The backup software installed in the host computer 9 first obtains information on all storage media stored in the library device 8 and displays a media list so that the operator can select the storage media. On the other hand, in order to obtain information on all storage media to be notified to the host computer 9, the library apparatus 8 is provided with a medium confirmation unit 19 including a bar code reading sensor mechanism and a medium presence / absence confirmation mechanism in the medium transport unit 84. Then, the medium transport unit 14 is operated so that the medium presence / absence confirmation mechanism and the barcode reading sensor mechanism come to the vicinity of the storage medium, and after confirming whether or not the storage medium is stored by the medium presence / absence confirmation mechanism, the bar An inventory process is performed in which an identifier is read from a barcode or the like attached to a storage medium using a code reading sensor mechanism and stored in the medium information storage unit 86.

このインベントリ処理は、機械的な動作を含むので、全てのスロットの媒体格納状態を調べるのに数分から十数分という時間がかかってしまい、ホストコンピュータ9から要求があってから媒体確認処理を開始していてはタイムアウトとなってしまうという問題があった。そのため、通常のライブラリ装置8は、起動時に、上述したインベントリ処理を実行して格納されている全ての記憶媒体を確認し、スロット毎の媒体情報を記憶した後に準備完了(READY)をホストコンピュータ9に報告している。これにより、ホストコンピュータ9から要求があった際には即時で応答可能となっている。また、起動時と同様に、運用中においても記憶媒体投入排出ポートやマガジン85の入れ替えなどにより記憶媒体の出し入れを行った後にも同様のインベントリ処理を行っている。   Since this inventory process includes mechanical operations, it takes a few minutes to a dozen minutes to check the storage status of the media in all slots, and the medium confirmation process starts after a request from the host computer 9 is received. However, there was a problem that it would time out. Therefore, at the time of startup, the normal library device 8 executes the above-described inventory processing to check all the stored storage media, stores the media information for each slot, and then prepares for completion (READY). To report. As a result, when a request is received from the host computer 9, an immediate response is possible. Similar to the start-up, the same inventory processing is performed even after the storage medium is inserted / removed by replacing the storage medium input / output port or the magazine 85 during operation.

しかし、この場合も、装置の起動時及び媒体の出し入れ時の後に、すべてのスロットを対象として媒体格納状態を調べるのに数分から十数分の時間がかかってしまい、その間、ライブラリ装置8は他の処理を実行することができず、ライブラリ装置8においてデータ読み書き処理が実行可能となるまでに時間がかかるという不都合があった。   However, also in this case, it takes several to tens of minutes to check the medium storage state for all slots after the apparatus is started and when the medium is inserted / removed. This processing cannot be executed, and it takes time until the data read / write processing can be executed in the library device 8.

これを鑑みて、特許文献1乃至3に関連技術が開示されている。特許文献1には、記憶媒体を格納するスロットに記憶媒体の有無を検出するセンサを取り付け、人手により記憶媒体の出し入れを行う可能性がある期間は、センサに対しポーリングを行い記憶媒体の出し入れを監視し、記憶媒体の出し入れを検出したときのみ各スロットに収納されている記憶媒体に付された媒体識別を読み込むという技術が開示されている。   In view of this, Patent Documents 1 to 3 disclose related technologies. In Patent Document 1, a sensor for detecting the presence / absence of a storage medium is attached to a slot for storing the storage medium, and during a period when the storage medium may be manually inserted / removed, the sensor is polled and the storage medium is inserted / removed. A technique is disclosed in which the medium identification attached to the storage medium accommodated in each slot is read only when monitoring and detection of the insertion / extraction of the storage medium are detected.

特許文献2には、装置を構成する各構成要素が、自己のコンソールの種類とコンソール列のコンソール情報を保持し、各構成要素がコンソール情報を基本制御部に送信することによって、各構成要素の情報を全て管理する技術が開示されている。   In Patent Document 2, each component constituting the device holds its own console type and console information of the console string, and each component transmits console information to the basic control unit. A technique for managing all information is disclosed.

特許文献3には、複数種類の記憶媒体を収納したマガジンが、各媒体の記録再生方式,媒体の収納数,格納位置,及びマガジン識別子を保持しており、書き込みデータの種類に応じて適切な記録媒体をマガジン内から選択するオートチェンジャーが開示されている。   In Patent Document 3, a magazine storing a plurality of types of storage media holds a recording / reproduction method, the number of stored media, a storage position, and a magazine identifier for each medium, and is appropriate for the type of write data. An autochanger for selecting a recording medium from a magazine is disclosed.

特開2001−92597号公報JP 2001-92597 A 特開2001−101752号公報JP 2001-101752 A 特開平8−138355号公報JP-A-8-138355

しかしながら、特許文献1に開示された関連技術では、センサをポーリングで監視しなければならないので、センサに常時通電して、かつセンサと通信可能でなければならず、取り外し可能なマガジンを用いるライブラリ装置には適用することができないという不都合があった。   However, in the related art disclosed in Patent Document 1, since the sensor must be monitored by polling, the library apparatus must be always energized and communicable with the sensor, and uses a removable magazine. Has the disadvantage that it cannot be applied.

特許文献2に開示された関連技術では、構成要素が装置から取り外された状態での構成要素の変更、例えば、構成要素(部品)を取り外して同等の構成要素(部品)に交換して取り付けた場合など、を検出することができないという不都合があった。特許文献3に開示された関連技術では、マガジンが別のマガジンに交換されたか否かを検出することができないという不都合があった。   In the related art disclosed in Patent Document 2, the component is changed in a state where the component is removed from the apparatus, for example, the component (part) is removed and replaced with an equivalent component (part). In some cases, it was impossible to detect the case. The related art disclosed in Patent Document 3 has a disadvantage that it cannot be detected whether or not a magazine has been replaced with another magazine.

そこで、本発明は、上記関連技術の不都合を改善し、複数の記録媒体を収納したマガジン内の記憶媒体の収納状況を確認する処理が完了するまでにかかる時間を短縮し得るライブラリ装置及びその記憶媒体管理方法,記憶媒体管理用プログラムを提供することを、その目的とする。   Therefore, the present invention improves the disadvantages of the related art and can reduce the time taken to complete the process of checking the storage status of the storage medium in the magazine storing a plurality of recording media, and its storage An object is to provide a medium management method and a storage medium management program.

上記目的を達成するため、本発明のライブラリ装置は、記憶媒体収納用の複数のスロットを有するマガジンと、このマガジンの各スロットに対して記憶媒体の有無を確認して収納されている記憶媒体に付された媒体識別子を読み取る媒体確認部と、この媒体確認部に取得された情報に従って前記スロット毎の記憶媒体の有無及び収納されている記憶媒体の媒体識別子を示す情報を記憶する媒体情報記憶部とを備えたライブラリ装置において、前記マガジンが前記スロット毎に前記記憶媒体の挿抜回数を計数するカウンタ部を備えており、装置本体が、前記各カウンタ部から各スロットの挿抜回数を読み取るカウンタリード部と、このカウンタリード部が読み取った前記各スロットの挿抜回数を記憶するカウンタ情報記憶部と、前記カウンタリード部に読み取られた各スロットの挿抜回数と前記カウンタ情報記憶部に記憶されている前回読み取られた各スロットの挿抜回数とを個別に比較して一致しなかったスロットを特定する主制御部とを備え、前記主制御部は、前記特定されたスロットに対して記憶媒体の有無を確認するように前記媒体確認部の動作を制御すると共に当該媒体確認部の確認結果に従って前記媒体情報記憶部に記憶されている前記情報を更新する主制御部を備えたことを特徴とする。   In order to achieve the above object, a library apparatus of the present invention includes a magazine having a plurality of slots for storing storage media, and a storage medium stored by checking the presence or absence of a storage medium in each slot of the magazine. A medium confirmation unit that reads the attached medium identifier, and a medium information storage unit that stores information indicating the presence / absence of the storage medium for each slot and the medium identifier of the stored storage medium in accordance with the information acquired by the medium confirmation unit The counter includes a counter unit that counts the number of insertions / removals of the storage medium for each slot, and the device body reads the number of insertions / removals of each slot from each counter unit. A counter information storage unit that stores the number of insertions / removals of each slot read by the counter read unit, and the counter reset A main control unit for identifying a slot that does not match by individually comparing the number of times of insertion / extraction of each slot read by the slot unit and the number of times of insertion / removal of each slot read previously stored in the counter information storage unit; The main control unit controls the operation of the medium confirmation unit so as to confirm the presence / absence of a storage medium for the specified slot, and stores the medium information storage unit in accordance with the confirmation result of the medium confirmation unit. A main control unit for updating the stored information is provided.

また、本発明の記憶媒体管理方法は、記憶媒体収納用の複数のスロットを備えたマガジンと、このマガジンを搭載する装置本体とからなるライブラリ装置にあって、前記装置本体に装備されたカウンタリード部が、前記マガジンの各スロットに設けられた前記記憶媒体の挿抜回数を計数するカウンタ部からその計数値を読み取り、この読み取られた各スロットの挿抜回数と前記装置本体に装備されたカウンタ情報記憶部に記憶されている前回読み取られた各スロットの挿抜回数とを前記装置本体に装備された主制御部が比較して一致しなかったスロットを特定し、前記主制御部の指令に従って前記装置本体に装備された媒体確認部が前記特定されたスロットに対して記憶媒体の有無を確認し収納されている記憶媒体に付された媒体識別子を読み取り、前記特定されたスロットの記憶媒体の有無及び収納されている記憶媒体の媒体識別子を前記装置本体に予め装備された媒体情報記憶部に記憶することを特徴とする。   Also, the storage medium management method of the present invention is a library device comprising a magazine having a plurality of slots for storing storage media and an apparatus body on which the magazine is mounted, and the counter read provided in the apparatus body. The unit reads the count value from a counter unit that counts the number of insertions / removals of the storage medium provided in each slot of the magazine, and stores the read / removal number of each slot and the counter information stored in the apparatus main body. The main control unit installed in the apparatus main body compares the number of insertions and withdrawals of each slot read last time stored in the unit and identifies a slot that does not match, and specifies the device main body according to a command from the main control unit The medium confirmation unit installed in the memory confirms the presence or absence of a storage medium in the specified slot and reads the medium identifier attached to the stored storage medium. Taken, and to store the medium information memory unit for the medium identifier has been previously installed in the apparatus main body of the presence and housed in and storage medium of the storage medium of the identified slot.

また、本発明の記憶媒体管理用プログラムは、記憶媒体収納用の複数のスロットを有するマガジンを搭載すると共に、この各スロットに対して記憶媒体の有無を確認し収納されている記憶媒体に付された媒体識別子を読み取る媒体確認部と、この媒体確認部に取得された情報に従って前記スロット毎の記憶媒体の有無及び収納されている記憶媒体の媒体識別子を示す情報を記憶する媒体情報記憶部と、前記各スロットに設けられた記憶媒体の挿抜回数を計数するカウンタ部の計数値を読み取るカウンタリード部と、このカウンタリード部が読み取った前記各スロットの挿抜回数を記憶するカウンタ情報記憶部とを備えた装置本体を有するライブラリ装置にあって、前記カウンタリード部が読み取った各スロットの挿抜回数と前記カウンタ情報記憶部に記憶されている前回読み取られた各スロットの挿抜回数とを個別に比較して一致しないスロットを特定する機能と、この特定されたスロットの記憶媒体の有無を確認して収納されている記憶媒体に付された媒体識別子を読み取るように前記媒体確認部の動作を制御する機能と、前記特定されたスロットの記憶媒体の有無及び収納されている記憶媒体の媒体識別子を前記媒体確認部から入力し前記媒体情報記憶部に記憶する機能とをコンピュータに実行させることを特徴とする。   Also, the storage medium management program of the present invention is provided with a magazine having a plurality of slots for storing storage media, and is attached to the storage medium stored by checking the presence or absence of a storage medium in each slot. A medium confirmation unit that reads the medium identifier, a medium information storage unit that stores information indicating the presence / absence of the storage medium for each slot and the medium identifier of the stored storage medium according to the information acquired by the medium confirmation unit; A counter lead unit that reads a count value of a counter unit that counts the number of insertions and withdrawals of the storage medium provided in each slot; and a counter information storage unit that stores the number of insertions and withdrawals of each slot read by the counter lead unit. In the library apparatus having the main body, the number of insertion / removal of each slot read by the counter read unit and the counter information A function for identifying a slot that does not match by comparing the number of insertions / removals of each slot read last time stored in the storage unit, and checking whether there is a storage medium in the identified slot is stored The function for controlling the operation of the medium confirmation unit to read the medium identifier attached to the storage medium, the presence / absence of the storage medium in the specified slot, and the medium identifier of the stored storage medium from the medium confirmation unit A function of inputting and storing in the medium information storage unit is executed by a computer.

本発明は、以上のように構成され機能するため、これにより、マガジンに装備された各カウンタ部から読み取った各スロットの挿抜回数を前回読み取って記憶した各スロットの挿抜回数と比較して、一致しなかったスロットに対して記憶媒体の確認を行うので、記録媒体の出し入れがあったスロットのみを対象にして記憶媒体の収納状況を確認することができ、マガジン内の記憶媒体を確認する処理が完了するまでにかかる時間を有効に短縮することができる。   Since the present invention is configured and functions as described above, this compares the number of insertions / removals of each slot read from each counter unit equipped in the magazine with the number of insertions / removals of each slot read and stored last time. Since the storage medium is checked for the slot that has not been processed, the storage status of the storage medium can be checked only for the slot in which the recording medium is inserted or removed, and the process of checking the storage medium in the magazine The time required for completion can be effectively shortened.

以下、本発明における一実施形態を、図面に基づいて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[第1の実施形態]
図1は、本発明に係る第1の実施形態の磁気テープライブラリ装置1の構成を示す機能ブロック図である。図1に示すように、本実施形態の磁気テープライブラリ装置1は、複数の記憶媒体(磁気テープ)を格納する媒体格納部(マガジン)15を着脱可能に搭載すると共に、ホストコンピュータ2と接続してデータの送受信を行うホストI/F(インタフェース)部11と、磁気テープライブラリ装置1の全体動作を制御する主制御部12と、搭載されたマガジン15から取り出された記憶媒体にデータを読み書きするデータ読み書き部(テープドライブ)13と、マガジン15及びテープドライブ13に対して記憶媒体を出し入れすると共にマガジン15とテープドライブ13との間で記憶媒体を搬送する媒体搬送部14とを備えている。
[First Embodiment]
FIG. 1 is a functional block diagram showing the configuration of the magnetic tape library apparatus 1 according to the first embodiment of the present invention. As shown in FIG. 1, the magnetic tape library apparatus 1 according to the present embodiment detachably mounts a medium storage unit (magazine) 15 for storing a plurality of storage media (magnetic tapes) and is connected to a host computer 2. The host I / F (interface) unit 11 that transmits / receives data, the main control unit 12 that controls the overall operation of the magnetic tape library device 1, and the data read / write from / to the storage medium taken out from the mounted magazine 15 A data read / write unit (tape drive) 13 and a medium transport unit 14 for loading / unloading storage media into / from the magazine 15 and the tape drive 13 and transporting the storage medium between the magazine 15 and the tape drive 13 are provided.

さらに、本実施形態の磁気テープライブラリ装置1は、マガジン15に収納されている記憶媒体を確認する媒体確認部19と、媒体確認部19に確認された結果得られたマガジン15のスロット毎に収納されている記憶媒体の識別子を記憶する媒体情報記憶部16とを備えている。   Further, the magnetic tape library device 1 of the present embodiment stores a medium confirmation unit 19 for confirming the storage medium stored in the magazine 15 and stores each slot of the magazine 15 obtained as a result of confirmation by the medium confirmation unit 19. And a medium information storage unit 16 for storing an identifier of the storage medium being stored.

ここで、本実施形態のマガジン15について説明する。図2は、本実施形態におけるマガジン15の構成を示す斜視図であり、図3は、マガジン15の内部を示す平面図である。   Here, the magazine 15 of the present embodiment will be described. FIG. 2 is a perspective view showing the configuration of the magazine 15 in the present embodiment, and FIG. 3 is a plan view showing the inside of the magazine 15.

図2及び3に示すように、本実施形態のマガジン15は、記憶媒体152を収納するためのスロット155を複数有しており、スロット155毎に、媒体押出部材151と、バネ153と、ストッパ154とを設けている。スロット155に記憶媒体152が収納されるとバネ153が伸びて媒体押出部材151が記憶媒体152に押し出す力を与え、ストッパ154が記憶媒体152を支えて押し出す力を打ち消すことにより記憶媒体152がスロット155内に格納された状態となる。   As shown in FIGS. 2 and 3, the magazine 15 of the present embodiment has a plurality of slots 155 for storing the storage medium 152, and for each slot 155, a medium pushing member 151, a spring 153, and a stopper 154. When the storage medium 152 is accommodated in the slot 155, the spring 153 extends to apply a force for the medium pushing member 151 to push the storage medium 152, and the stopper 154 supports the storage medium 152 to cancel the force to push the storage medium 152 into the slot. 155 is stored in the state.

図4(a)は、マガジン15のスロット155から記憶媒体152を取り出す動作を説明する図であり、図4(b)は、スロット155に記憶媒体152を収納する動作を説明する図である。   4A is a diagram for explaining the operation of taking out the storage medium 152 from the slot 155 of the magazine 15, and FIG. 4B is a diagram for explaining the operation of housing the storage medium 152 in the slot 155.

図4(a)に示すように、スロット155から記憶媒体152を取り出す動作は、ストッパ154をスロット155の外側にスライドさせて記憶媒体152に対する支えを無くし、バネ153の収縮する力により記憶媒体152を外に押し出す。また、図4(b)に示すように、マガジン15に記憶媒体を挿入する場合は、ストッパ154をスロット155の外側にスライドさせてから記憶媒体152をスロット155に押し込み、ストッパ154をスロット155の内側にスライドさせて記憶媒体152がマガジン15の外に出ないようにする。   As shown in FIG. 4A, in the operation of taking out the storage medium 152 from the slot 155, the stopper 154 is slid outside the slot 155 to remove the support to the storage medium 152, and the storage medium 152 is contracted by the force of the spring 153 contracting. Push out. 4B, when a storage medium is inserted into the magazine 15, the storage medium 152 is pushed into the slot 155 after the stopper 154 is slid outside the slot 155, and the stopper 154 is inserted into the slot 155. The storage medium 152 is prevented from going out of the magazine 15 by sliding inward.

また、図2及び3に示すように、本実施形態のマガジン15は、さらに、スロット155に記憶媒体152が出し入れされた回数をカウントするメカカウンタ157と、メカカウンタ157がカウントした回数を計数し表示するカウント表示機構158とからなるカウンタ部159をスロット155毎に備えている。図5(a)は、メカカウンタ157の設置位置を示す図である。また、図5(b)及び図5(c)は、メカカウンタ157の動作を説明する図である。   As shown in FIGS. 2 and 3, the magazine 15 of this embodiment further counts the number of times the mechanical counter 157 counts, and the mechanical counter 157 that counts the number of times the storage medium 152 is inserted into and removed from the slot 155. A counter unit 159 including a count display mechanism 158 for displaying is provided for each slot 155. FIG. 5A is a diagram showing the installation position of the mechanical counter 157. 5B and 5C are diagrams for explaining the operation of the mechanical counter 157. FIG.

メカカウンタ157は、図5(a)に示すような位置に設けられている。記憶媒体152をスロット155に挿入する場合、ストッパ154をスロット155の外側に向かってスライドさせた状態で記憶媒体152をスロット155内に押し込むので、その時、メカカウンタ157は、記憶媒体152に引っかかって押され回転する(図5(b)を参照)。記憶媒体152がスロット155内に完全に格納されると、メカカウンタ157の爪がマガジンスロット155間の隔壁の外に現れる。   The mechanical counter 157 is provided at a position as shown in FIG. When the storage medium 152 is inserted into the slot 155, the storage medium 152 is pushed into the slot 155 with the stopper 154 slid toward the outside of the slot 155. At that time, the mechanical counter 157 is caught by the storage medium 152. It is pushed and rotated (see FIG. 5B). When the storage medium 152 is completely stored in the slot 155, the claw of the mechanical counter 157 appears outside the partition between the magazine slots 155.

一方、記憶媒体152をスロット155から取り出す場合、ストッパ154をスロット155の外側に向かってスライドさせると、バネ153の収縮する力により媒体押出部材151が記憶媒体152を押し出すので、その時、メカカウンタ157は記憶媒体152の移動と共に回転し(図5(c)を参照)、記憶媒体152が完全にスロット155の外に出るとメカカウンタ157の爪がマガジンスロット155間の隔壁の外に現れる。   On the other hand, when the storage medium 152 is taken out from the slot 155, if the stopper 154 is slid toward the outside of the slot 155, the medium pushing member 151 pushes out the storage medium 152 by the contracting force of the spring 153. Rotates with the movement of the storage medium 152 (see FIG. 5C). When the storage medium 152 is completely out of the slot 155, the claw of the mechanical counter 157 appears outside the partition between the magazine slots 155.

カウント部159は、メカカウンタ157が回転しその爪が隔壁から現れたらカウントを加算し計数されたカウントがカウント表示機構158に表示されるというような構成である。   The count unit 159 is configured such that when the mechanical counter 157 rotates and the claw appears from the partition wall, the count is added and the counted count is displayed on the count display mechanism 158.

本実施形態のライブラリ装置1は、さらに、マガジン15に取り付けられたカウンタ部159の計数値を読み取るカウンタリード部17を備えている。このカウンタリード部17は、例えば、カウンタ部159が計数値を記憶する手段と通信手段を有している場合は、カウンタ部159と電気的に通信を行い、カウンタ部159から計数値を応答として受け取るような構成であり、また、カウンタ表示機構158の表示を撮影して画像認識し計数値を読み取る構成であってもよい。カウンタリード部17が読み取った各カウンタ159の計数値は、媒体情報記憶部16に記憶される。   The library apparatus 1 according to the present embodiment further includes a counter read unit 17 that reads the count value of the counter unit 159 attached to the magazine 15. For example, when the counter unit 159 has a means for storing a count value and a communication unit, the counter read unit 17 electrically communicates with the counter unit 159 and receives the count value from the counter unit 159 as a response. It may be configured to receive, or may be configured to capture the display of the counter display mechanism 158, recognize the image, and read the count value. The count value of each counter 159 read by the counter read unit 17 is stored in the medium information storage unit 16.

媒体確認部19は、マガジン15の各スロットに対して記憶媒体の有無を確認し収納されている記憶媒体に付された媒体識別子を読み取る機能を備えている。本実施形態の媒体確認部19は、媒体識別子を読み取る媒体識別読取機構を媒体搬送部14上に設けた構成であり、媒体識別読取機構が各スロットまで移動し、スロットに記憶媒体が収納されていると確認した場合に、記憶媒体に付された識別子を読み取るというような動作を行う。このとき、1つのスロットに2巻媒体が格納されていた場合(図2参照)、本実施形態の媒体確認部19は、手前の記憶媒体を媒体搬送部14に格納した状態で、奥に収納されている記憶媒体の識別子の読み取りを行うように構成されている。ここで、媒体識別読取機構は、例えば、記憶媒体の識別子がバーコードに記録されている場合はバーコードリーダであればよく、記憶媒体の識別子がRFID(Radio Frequency IDentification)タグに記録されている場合はタグリーダであればよい。   The medium confirmation unit 19 has a function of confirming the presence or absence of a storage medium for each slot of the magazine 15 and reading a medium identifier attached to the stored storage medium. The medium confirmation unit 19 of the present embodiment has a configuration in which a medium identification reading mechanism for reading a medium identifier is provided on the medium transport unit 14, and the medium identification reading mechanism moves to each slot, and a storage medium is stored in the slot. When it is confirmed that an identifier is attached, an operation such as reading an identifier attached to the storage medium is performed. At this time, when two volumes of media are stored in one slot (see FIG. 2), the medium confirmation unit 19 of the present embodiment stores the previous storage medium in the medium transport unit 14 and stores it in the back. It is configured to read the identifier of the storage medium that is stored. Here, for example, when the identifier of the storage medium is recorded in a barcode, the medium identification reading mechanism may be a barcode reader, and the identifier of the storage medium is recorded in an RFID (Radio Frequency IDentification) tag. In this case, a tag reader may be used.

上述した媒体情報記憶部16は、媒体確認部19により取得された情報に従ってスロット毎に記憶媒体の有無及び収納されている記憶媒体の媒体識別子を記録したテーブルデータを記憶する。   The medium information storage unit 16 described above stores table data in which the presence / absence of a storage medium and the medium identifier of the stored storage medium are recorded for each slot in accordance with the information acquired by the medium confirmation unit 19.

図6は、本実施形態における媒体記憶部16に記憶されているテーブルデータの一例を示す図である。媒体情報記憶部16に記憶されているテーブルデータは、マガジン15のスロット番号に対応付けてカウンタ値,媒体の有無又は媒体識別子が記録されたテーブルデータである。本実施形態のマガジン15が1つのスロットに2つの記憶媒体を収納できる構成となっているので、媒体情報記憶部16に記憶されているテーブルデータには、図6に示すように、スロット番号に対して「行1」,「行2」と2つの媒体情報が記録されている。図6に示すテーブルデータには、番号「1」のスロットのカウンタ値が「3」であり、「1」のスロットには識別子「VOL001」の記憶媒体が収納されていることが記録されている。   FIG. 6 is a diagram illustrating an example of table data stored in the medium storage unit 16 in the present embodiment. The table data stored in the medium information storage unit 16 is table data in which a counter value, the presence / absence of a medium, or a medium identifier is recorded in association with the slot number of the magazine 15. Since the magazine 15 of this embodiment is configured to be able to store two storage media in one slot, the table data stored in the media information storage unit 16 includes the slot number as shown in FIG. On the other hand, “row 1”, “row 2” and two medium information are recorded. The table data shown in FIG. 6 records that the counter value of the slot with the number “1” is “3”, and that the storage medium with the identifier “VOL001” is stored in the slot with “1”. .

また、媒体情報記憶部16は、磁気テープライブラリ装置1の主電源がOFFされても情報が保存されているものとする。このように、本実施形態における媒体記憶部16は、各スロットの挿抜回数(カウンタ値)を記憶するので、カウンタ情報記憶部として機能している。   The medium information storage unit 16 stores information even when the main power supply of the magnetic tape library apparatus 1 is turned off. As described above, the medium storage unit 16 in the present embodiment stores the number of insertions / removals (counter values) of each slot, and thus functions as a counter information storage unit.

主制御部12は、装置の電源がONされた時もしくはマガジン15装着時に、媒体確認手段19にマガジン15の各スロットを確認させて媒体情報記憶部16にスロット毎の媒体収納状況を記憶させる機能と、ホストコンピュータ2から装置内に格納されている記憶媒体の情報の要求を受けた場合に、媒体情報記憶部16に記憶されている情報を返信する機能とを備えている。   The main control unit 12 has a function of causing the medium confirmation unit 19 to confirm each slot of the magazine 15 and storing the medium storage status for each slot in the medium information storage unit 16 when the apparatus is turned on or when the magazine 15 is mounted. And a function of returning information stored in the medium information storage unit 16 when a request for information on the storage medium stored in the apparatus is received from the host computer 2.

また、主制御部12は、ホストコンピュータ2から指定の記憶媒体に対するデータ読み書き指令を受けると、媒体記憶部16に記憶されたテーブルデータを参照して指定の記憶媒体が収納されているスロットを特定し、そのスロットから指定の記憶媒体を取り出してテープドライブ13へ搬送するように媒体搬送部14の動作を制御する機能を備えている。   When the main control unit 12 receives a data read / write command from the host computer 2 with respect to the specified storage medium, the main control unit 12 refers to the table data stored in the medium storage unit 16 and identifies the slot in which the specified storage medium is stored. A function of controlling the operation of the medium transport unit 14 is provided so that a designated storage medium is taken out from the slot and transported to the tape drive 13.

さらに、主制御部12は、カウンタリード部17が読み取った各カウンタの計数値に基づいて媒体確認部19の動作を制御し媒体確認部19に取得された情報に従って媒体情報記憶部16に記憶されているテーブルデータを更新する機能を備えている。具体的に、主制御部12は、カウンタリード部17に読み取られた各カウンタの計数値とカウンタ情報記憶部16に記憶されている前回読み取られた各カウンタの計数値とを個別に比較して一致しなかったカウンタに対応するスロットを特定し、この特定されたスロットに対して記憶媒体の有無を確認するように媒体確認部19の動作を制御する。   Further, the main control unit 12 controls the operation of the medium confirmation unit 19 based on the count value of each counter read by the counter read unit 17 and is stored in the medium information storage unit 16 according to the information acquired by the medium confirmation unit 19. It has a function to update the table data. Specifically, the main control unit 12 individually compares the count value of each counter read by the counter read unit 17 with the count value of each counter read previously stored in the counter information storage unit 16. The slot corresponding to the counter that does not match is identified, and the operation of the medium confirmation unit 19 is controlled so as to confirm the presence / absence of a storage medium in the identified slot.

このような構成により、媒体確認部19は特定されたスロットのみを確認するので、マガジン51の装着時や装置起動時の記憶媒体の確認時間を短縮することができる。   With such a configuration, since the medium confirmation unit 19 confirms only the specified slot, it is possible to shorten the storage medium confirmation time when the magazine 51 is mounted or when the apparatus is activated.

またさらに、主制御部12は、媒体搬送部14にマガジン15から記憶媒体を出し入れさせた場合、記憶媒体が出し入れされたスロットに設けられたカウンタ部159の計数値をカウンタリード部17を介して読み取って媒体確認部19を動作させずに媒体情報記憶部16に記憶されているカウンタ情報を更新する機能を備えている。   In addition, when the main control unit 12 causes the medium transport unit 14 to take in and out the storage medium from the magazine 15, the count value of the counter unit 159 provided in the slot in which the storage medium is taken in and out is sent via the counter lead unit 17. A function of reading and updating the counter information stored in the medium information storage unit 16 without operating the medium confirmation unit 19 is provided.

これにより、主制御部12の制御下で行われた媒体搬送では、媒体情報記憶部16内のテーブルデータ中のカウンタ値と、マガジン15上のカウンタ部159の計数値とが一致した状態が保たれる。よって、一致しない場合を主制御部12の制御外で記憶媒体が移動されたと判断することが可能となり、主制御部12の制御以外の方法で記憶媒体の出し入れがあったことを検出することができる。   Thus, in the medium conveyance performed under the control of the main control unit 12, the state in which the counter value in the table data in the medium information storage unit 16 and the count value of the counter unit 159 on the magazine 15 coincide with each other is maintained. Be drunk. Accordingly, it is possible to determine that the storage medium has been moved outside the control of the main control unit 12 when the two do not match, and it is possible to detect that the storage medium has been inserted or removed by a method other than the control of the main control unit 12. it can.

ここで、本実施形態における主制御部12については、その機能内容をプログラム化してコンピュータに実行させるように構成してもよい。   Here, the main control unit 12 in the present embodiment may be configured such that the function content is programmed and executed by a computer.

次に、本実施形態の磁気テープライブラリ装置1の動作について説明する。ここで、以下の動作説明は、本発明の記憶媒体管理方法の実施形態となる。   Next, the operation of the magnetic tape library apparatus 1 of this embodiment will be described. Here, the following operation description is an embodiment of the storage medium management method of the present invention.

図7は、本実施形態の磁気テープライブラリ装置1の動作を示すフローチャートである。磁気テープライブラリ装置1の電源がONされた時やマガジン51の装着時に、装置内の記憶媒体の格納状況を確認するインベントリ処理を行う。インベントリ処理においては、まず、マガジン15に設けられたカウンタ部159の計数値を順にカウンタリード部17が読み取る(図7のステップS101)。主制御部12が、カウンタリード部17が読み取ったカウンタ値を入力し、この入力したカウンタ値と媒体情報記憶部16に記憶されているテーブルデータ(図6)内の前回読み取られた同一スロットのカウンタ値とを比較する(図7のステップS102)。   FIG. 7 is a flowchart showing the operation of the magnetic tape library apparatus 1 of the present embodiment. When the power source of the magnetic tape library apparatus 1 is turned on or when the magazine 51 is mounted, an inventory process for confirming the storage status of the storage medium in the apparatus is performed. In the inventory process, first, the counter read unit 17 sequentially reads the count values of the counter unit 159 provided in the magazine 15 (step S101 in FIG. 7). The main control unit 12 inputs the counter value read by the counter reading unit 17, and the input counter value and the table data (FIG. 6) stored in the medium information storage unit 16 previously read in the same slot. The counter value is compared (step S102 in FIG. 7).

テーブルデータのカウンタ値と、カウンタリード部17から入力したカウンタ値とが一致した場合には(図7のステップS102のYes)、何もせずに次のスロットに処理を進める。テーブルデータ内のカウンタ値とカウンタリード部17から入力したカウンタ値とが一致しなかった場合には(図7のステップS102のNo)、主制御部12の指示に従って媒体確認部19が、係るスロットの記憶媒体の有無、及び媒体識別子の読み取りを実行し、媒体確認部19による確認処理の結果に従って主制御部12がテーブルデータの更新を行う(図7のステップS103)。すべてのスロットに関してカウンタ値の比較が完了したら(図7のステップS104のYes)、インベントリ処理を終了する。   If the counter value of the table data matches the counter value input from the counter read unit 17 (Yes in step S102 in FIG. 7), the process proceeds to the next slot without doing anything. If the counter value in the table data does not match the counter value input from the counter read unit 17 (No in step S102 in FIG. 7), the medium confirmation unit 19 performs the slot concerned according to the instruction from the main control unit 12. The presence / absence of the storage medium and the medium identifier are read, and the main control unit 12 updates the table data in accordance with the result of the confirmation process by the medium confirmation unit 19 (step S103 in FIG. 7). When the comparison of counter values is completed for all slots (Yes in step S104 in FIG. 7), the inventory process is terminated.

このように、本実施形態の磁気テープライブラリ装置1では、マガジン15の装着時や装置起動時にマガジン15内の記憶媒体を確認する際、記憶媒体の出し入れが行われたスロットだけを媒体確認部19が確認するので、常に全てのスロットを確認する場合と比べて、記憶媒体の確認が完了するまでの時間が短縮される。   As described above, in the magnetic tape library apparatus 1 of the present embodiment, when the storage medium in the magazine 15 is checked when the magazine 15 is mounted or the apparatus is activated, only the slot in which the storage medium is inserted / removed is set in the medium check unit 19. Therefore, as compared with the case where all the slots are always confirmed, the time until the confirmation of the storage medium is completed is shortened.

図8は、本実施形態の磁気テープライブラリ装置1の媒体搬送処理動作を示すフローチャートである。主制御部12が、ホストI/F部11を介してホストコンピュータ2から搬送する記憶媒体と搬送先のスロットを指定された媒体搬送命令を受け取ると、媒体搬送部14を制御して、搬送元スロットから媒体を取り出す(図8のステップS201)。そして、主制御部12はカウンタリード部17を介して記憶媒体を取り出したスロットに設けられたカウンタ部159の計数値を読み取り(図8のステップS202)、媒体情報記憶部16に記憶されたテーブルデータを更新する(図8のステップS203)。   FIG. 8 is a flowchart showing the medium transport processing operation of the magnetic tape library apparatus 1 of this embodiment. When the main control unit 12 receives from the host computer 2 the host computer 2 via the host I / F unit 11 a medium transfer command specifying a storage medium and a transfer destination slot, the main control unit 12 controls the medium transfer unit 14 to control the transfer source. The medium is taken out from the slot (step S201 in FIG. 8). The main control unit 12 reads the count value of the counter unit 159 provided in the slot from which the storage medium is taken out via the counter read unit 17 (step S202 in FIG. 8), and the table stored in the medium information storage unit 16 Data is updated (step S203 in FIG. 8).

続いて、主制御部12は媒体搬送部14を搬送先のスロットに移動させ、記憶媒体を指定された搬送先へ挿入し(図8のステップS204)、記憶媒体を挿入したスロットのカウンタ部159の計数値を読み取り(図8のステップS205)、媒体情報記憶部16に記憶されたテーブルデータを更新する(図8のステップS206)。   Subsequently, the main control unit 12 moves the medium transport unit 14 to the transport destination slot, inserts the storage medium into the designated transport destination (step S204 in FIG. 8), and counter unit 159 of the slot into which the storage medium is inserted. Is read (step S205 in FIG. 8), and the table data stored in the medium information storage unit 16 is updated (step S206 in FIG. 8).

このように動作することにより、主制御部12の制御下で行われた媒体搬送では、媒体情報記憶部16内のテーブルデータのカウンタ値と、マガジン15のカウンタ部159の計数値とが一致した状態が保たれので、一致しない場合を主制御部12の制御外で記憶媒体が移動されたと判断することが可能となり、主制御部12の制御以外の方法で記憶媒体の出し入れがあったことを検出することができる。   By operating in this way, the counter value of the table data in the medium information storage unit 16 matches the count value of the counter unit 159 of the magazine 15 in the medium conveyance performed under the control of the main control unit 12. Since the state is maintained, it is possible to determine that the storage medium has been moved outside the control of the main control unit 12 when they do not match, and that the storage medium has been inserted or removed by a method other than the control of the main control unit 12 Can be detected.

ここで、本実施形態は、記憶媒体を磁気テープとしているが、記憶媒体の種類はこれに限らない。   In this embodiment, the storage medium is a magnetic tape, but the type of the storage medium is not limited to this.

[第2の実施形態]
次に、本発明にかかる第2の実施形態について説明する。
[Second Embodiment]
Next, a second embodiment according to the present invention will be described.

図9は、本第2実施形態の磁気テープライブラリ装置1bの構成を示す機能ブロック図である。第2実施形態の磁気テープライブラリ装置1bは、上述した第1実施形態の磁気テープライブラリ装置1の構成に比べて、マガジン15bにマガジンを識別するためのマガジン識別子156が付されている点が異なっている(図10参照)。このマガジン識別子156は、例えば、バーコードで記録されたものであってもよいし、RFIDといった電子的なタグに記録されたものであってもよい。   FIG. 9 is a functional block diagram showing the configuration of the magnetic tape library apparatus 1b of the second embodiment. The magnetic tape library apparatus 1b of the second embodiment differs from the configuration of the magnetic tape library apparatus 1 of the first embodiment described above in that a magazine identifier 156 for identifying a magazine is attached to the magazine 15b. (See FIG. 10). For example, the magazine identifier 156 may be recorded as a barcode, or may be recorded on an electronic tag such as an RFID.

また、図9に示すように、本第2実施形態の磁気テープライブラリ装置1bは、第1の実施形態の磁気テープライブラリ装置1と同様に、ホストI/F部11と、テープドライブ13と、媒体搬送部14と、媒体情報記憶部16と、カウンタリード部17と、媒体確認部19とを備えており、さらに、主制御部12bと、マガジン識別子156を保持するマガジン15bと、マガジン15bに付されているマガジン識別子156を読み取るマガジン識別子リード部18とを備えている。マガジン識別子リード部18は、例えば、マガジン識別子156がバーコードに記録されている場合は、媒体搬送部14にバーコードリーダを取り付けた構成であり、マガジン識別子156がRFIDタグに記録されている場合は、タグリーダである。マガジン識別子リード部18が読み取ったマガジン識別子156は媒体情報記憶部16に記憶される。   As shown in FIG. 9, the magnetic tape library apparatus 1b of the second embodiment is similar to the magnetic tape library apparatus 1 of the first embodiment in that a host I / F unit 11, a tape drive 13, A medium transport unit 14, a medium information storage unit 16, a counter read unit 17, and a medium confirmation unit 19 are provided. Further, a main control unit 12b, a magazine 15b holding a magazine identifier 156, and a magazine 15b And a magazine identifier read unit 18 for reading the attached magazine identifier 156. For example, when the magazine identifier 156 is recorded on the barcode, the magazine identifier read unit 18 has a configuration in which a barcode reader is attached to the medium transport unit 14, and the magazine identifier 156 is recorded on the RFID tag. Is a tag reader. The magazine identifier 156 read by the magazine identifier read unit 18 is stored in the medium information storage unit 16.

図11は、本第2実施形態の媒体情報記憶部16に記憶されるテーブルデータを表した図である。図11に示すように、本第2実施形態の媒体情報記憶部16には、スロット毎のカウンタ値,記憶媒体の有無又は記憶媒体の識別子に加えて、搭載されているマガジン15bのマガジン識別子156が記憶されている。図11に示すテーブルデータには、マガジン識別子が「MAG001」のマガジンのスロット「1」のカウンタ値が「3」であり、スロット「1」には識別子「VOL001」の記憶媒体が収納されていることが記録されている。   FIG. 11 is a diagram showing table data stored in the medium information storage unit 16 of the second embodiment. As shown in FIG. 11, in the medium information storage unit 16 of the second embodiment, in addition to the counter value for each slot, the presence / absence of the storage medium, or the identifier of the storage medium, the magazine identifier 156 of the magazine 15b installed. Is remembered. In the table data shown in FIG. 11, the counter value of the slot “1” of the magazine with the magazine identifier “MAG001” is “3”, and the storage medium with the identifier “VOL001” is stored in the slot “1”. It has been recorded.

また、本第2実施形態における主制御部12bは、上述した主制御部12と同様の機能と、マガジン識別子リード部18が読み取ったマガジン識別子と媒体情報記憶部16に記憶されている前回読み取ったマガジン識別子とを照合し、一致しなかった場合、全スロットの記憶媒体の有無を確認するように媒体確認部19の動作を制御する機能を備えている。   In addition, the main control unit 12b in the second embodiment reads the previous function stored in the magazine identifier read by the magazine identifier read unit 18 and the medium information storage unit 16 with the same function as the main control unit 12 described above. A function is provided to control the operation of the medium confirmation unit 19 so as to confirm the presence / absence of storage media in all slots when the magazine identifiers are collated and do not match.

このように、第2の実施形態では、マガジン15bの個体識別を行うためのマガジン識別子を用いてマガジン15bが他のマガジンに入れ替えられたことを判断し、マガジン15が入れ替えられた場合はすべてのスロットの媒体確認を行うことにより、異なるマガジンでカウンタ値が偶然一致している場合でも正しく記憶媒体の入れ替わりを検出することができる。   As described above, in the second embodiment, it is determined that the magazine 15b has been replaced with another magazine by using the magazine identifier for performing individual identification of the magazine 15b. By checking the medium in the slot, it is possible to correctly detect the change of the storage medium even if the counter values coincide by chance in different magazines.

次に、本第2実施形態の磁気テープライブラリ装置1bの動作について説明する。   Next, the operation of the magnetic tape library apparatus 1b of the second embodiment will be described.

図12は、本第2実施形態の磁気テープライブラリ装置1bの動作を示すフローチャートである。まず、マガジン識別子リード部18がマガジン15bのマガジン識別子156を読み取る(図12のステップS301)。   FIG. 12 is a flowchart showing the operation of the magnetic tape library apparatus 1b of the second embodiment. First, the magazine identifier read unit 18 reads the magazine identifier 156 of the magazine 15b (step S301 in FIG. 12).

主制御部12bが、この読み取られたマガジン識別子と媒体情報記憶部16に記憶されたマガジン識別子とが一致するか否か判断し(図12のステップS302)、一致した場合(図12のステップS302のYes)、第1の実施形態と同様に、各スロットのカウンタ部159の計数値とテーブルデータ内のカウンタ値との比較を行い、カウンタ値が異なるスロットのみの確認を行う(図12のステップS304,図7のステップS101〜S104))。   The main control unit 12b determines whether or not the read magazine identifier matches the magazine identifier stored in the medium information storage unit 16 (step S302 in FIG. 12). If they match (step S302 in FIG. 12). As in the first embodiment, the count value of the counter unit 159 in each slot is compared with the counter value in the table data, and only the slots having different counter values are confirmed (step in FIG. 12). S304, steps S101 to S104 in FIG. 7)).

マガジン識別子が一致しなかった場合(図12のステップS302のNo)、主制御部12bは、カウンタ値が一致するか否かに関わらず全てのスロットの媒体確認を行うように媒体確認部19の動作を制御する(図12のステップS303)。   If the magazine identifiers do not match (No in step S302 in FIG. 12), the main control unit 12b determines whether the medium check unit 19 checks all the slots regardless of whether the counter values match. The operation is controlled (step S303 in FIG. 12).

本第2実施形態の磁気テープライブラリ装置1bは、このように動作することで、マガジンを取り替えた際に、すべての記憶媒体が入れ替わったにも関わらず、入れ替えたマガジンのカウンタ部の計数値と前回読み取られたカウンタ部の計数値とが偶然一致してしまう場合があっても、マガジン識別子が変わると、全てのスロットの媒体確認を行うので、正しく記憶媒体の入れ替わりを検出することができる。   The magnetic tape library device 1b according to the second embodiment operates in this way, so that when the magazine is replaced, all the storage media are replaced, but the count value of the counter unit of the replaced magazine is Even if the count value of the counter section read last time coincides with the accident, if the magazine identifier is changed, the medium confirmation of all slots is performed, so that the replacement of the storage medium can be detected correctly.

本発明は、マガジン単位で記憶媒体の出し入れを行うライブラリ装置に適用できる。   The present invention can be applied to a library apparatus that takes in and out a storage medium in units of magazines.

本発明にかかる第1の実施形態の磁気テープライブラリ装置の構成を示す機能ブロック図である。1 is a functional block diagram showing a configuration of a magnetic tape library device according to a first embodiment of the present invention. 図1に開示した実施形態におけるマガジンの内部構造を示す斜視図である。It is a perspective view which shows the internal structure of the magazine in embodiment disclosed in FIG. 図1に開示した実施形態におけるマガジンの内部構造を示す図である。It is a figure which shows the internal structure of the magazine in embodiment disclosed in FIG. (a)図1に開示した実施形態におけるマガジンの記憶媒体取り出し時の動作を示す説明図である。(b)図1に開示した実施形態におけるマガジンの記憶媒体収納時の動作を示す説明図である。(A) It is explanatory drawing which shows the operation | movement at the time of the storage medium extraction of the magazine in embodiment disclosed in FIG. (B) It is explanatory drawing which shows the operation | movement at the time of storage medium storage of the magazine in embodiment disclosed in FIG. (a)図1に開示した実施形態におけるマガジンに装備されたカウンタの設置位置を示す図である。(b)図1に開示した実施形態におけるマガジンに装備されたカウンタの動作を示す説明図である。(c)図1に開示した実施形態におけるマガジンに装備されたカウンタの動作を示す説明図である。(A) It is a figure which shows the installation position of the counter with which the magazine in embodiment disclosed in FIG. 1 was equipped. (B) It is explanatory drawing which shows operation | movement of the counter with which the magazine in embodiment disclosed in FIG. 1 was equipped. (C) It is explanatory drawing which shows operation | movement of the counter with which the magazine in embodiment disclosed in FIG. 1 was equipped. 図1に開示した実施形態における媒体情報記憶部に記憶されたテーブルデータの一例を示す図である。It is a figure which shows an example of the table data memorize | stored in the medium information storage part in embodiment disclosed in FIG. 図1に開示した実施形態の磁気テープライブラリ装置の動作の一例を示すフローチャートである。3 is a flowchart showing an example of the operation of the magnetic tape library apparatus of the embodiment disclosed in FIG. 1. 図1に開示した実施形態の磁気テープライブラリ装置の動作の他の例を示すフローチャートである。6 is a flowchart showing another example of the operation of the magnetic tape library apparatus according to the embodiment disclosed in FIG. 1. 本発明にかかる第2の実施形態の磁気テープライブラリ装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the magnetic tape library apparatus of 2nd Embodiment concerning this invention. 図9に開示した実施形態におけるマガジンの外観を示す斜視図である。It is a perspective view which shows the external appearance of the magazine in embodiment disclosed in FIG. 図9に開示した実施形態における媒体情報記憶部に記憶されたテーブルデータの一例を示す図である。It is a figure which shows an example of the table data memorize | stored in the medium information storage part in embodiment disclosed in FIG. 図9に開示した実施形態の磁気テープライブラリ装置の動作の一例を示すフローチャートである。10 is a flowchart showing an example of the operation of the magnetic tape library apparatus of the embodiment disclosed in FIG. 9; 従来のライブラリ装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the conventional library apparatus. マガジンを着脱可能に搭載したライブラリ装置の動作説明図である。It is operation | movement explanatory drawing of the library apparatus which mounts the magazine so that attachment or detachment is possible.

符号の説明Explanation of symbols

1,1b 磁気テープライブラリ装置
2 ホストコンピュータ
11 ホストI/F部
12,12b 主制御部
13 データ書き込み部(テープドライブ)
14 媒体搬送部
15,15b 媒体格納部(マガジン)
16 媒体情報記憶部
17 カウンタリード部
18 マガジン識別子リード部
19 媒体確認部
151 媒体押出部材
152 記憶媒体(磁気テープ)
153 ばね
154 ストッパ
155 スロット
156 マガジン識別子
157 メカカウンタ
158 カウンタ表示機構
159 カウンタ部
1, 1b Magnetic tape library device 2 Host computer 11 Host I / F unit 12, 12b Main control unit 13 Data writing unit (tape drive)
14 Medium transport unit 15, 15b Medium storage unit (magazine)
16 Medium information storage unit 17 Counter read unit 18 Magazine identifier read unit 19 Medium confirmation unit 151 Medium push member 152 Storage medium (magnetic tape)
153 Spring 154 Stopper 155 Slot 156 Magazine identifier 157 Mechanical counter 158 Counter display mechanism 159 Counter section

Claims (11)

記憶媒体収納用の複数のスロットを有するマガジンと、この各スロットに対して記憶媒体の有無を確認し収納されている記憶媒体に付された媒体識別子を読み取る媒体確認部と、この媒体確認部に取得された情報に従って前記スロット毎の記憶媒体の有無及び収納されている記憶媒体の媒体識別子を示す情報を記憶する媒体情報記憶部とを備えたライブラリ装置において、
前記マガジンが前記スロット毎に前記記憶媒体の挿抜回数を計数するカウンタ部を備えており、
前記各カウンタ部から各スロットの挿抜回数を読み取るカウンタリード部と、このカウンタリード部が読み取った前記各スロットの挿抜回数を記憶するカウンタ情報記憶部と、前記カウンタリード部に読み取られた各スロットの挿抜回数と前記カウンタ情報記憶部に記憶されている前回読み取られた各スロットの挿抜回数とを個別に比較して一致しなかったスロットを特定する主制御部とを備え、
前記主制御部が、前記特定したスロットの記憶媒体の有無を確認するように前記媒体確認部の動作を制御すると共に当該媒体確認部の確認結果に従って前記媒体情報記憶部に記憶されている前記情報を更新することを特徴とするライブラリ装置。
A magazine having a plurality of slots for storing a storage medium, a medium confirmation unit for checking the presence or absence of a storage medium in each slot and reading a medium identifier attached to the stored storage medium, and a medium confirmation unit In a library apparatus comprising a medium information storage unit that stores information indicating the presence or absence of a storage medium for each slot and a medium identifier of a stored storage medium according to the acquired information,
The magazine includes a counter unit that counts the number of insertions and withdrawals of the storage medium for each slot,
A counter lead unit that reads the number of insertions / removals of each slot from each counter unit, a counter information storage unit that stores the number of insertions / removals of each slot read by the counter lead unit, and each slot read by the counter lead unit A main control unit that identifies a slot that does not match by comparing the number of insertions / removals and the number of times of insertion / removal of each slot read last time stored in the counter information storage unit,
The main control unit controls the operation of the medium confirmation unit so as to confirm the presence / absence of a storage medium in the specified slot, and the information stored in the medium information storage unit according to the confirmation result of the medium confirmation unit A library device characterized by updating
前記請求項1に記載のライブラリ装置において、
前記マガジンは装置本体に着脱可能であることを特徴とするライブラリ装置。
The library apparatus according to claim 1, wherein
The library apparatus, wherein the magazine is detachable from the apparatus main body.
前記請求項2に記載のライブラリ装置において、
前記主制御部は、前記装置本体に予め装備された媒体搬送部によって前記マガジンから記憶媒体が出し入れされた場合、この出し入れされたスロットに設けられたカウンタ部の計数値を前記カウンタリード部を介して取得し、前記カウンタ情報記憶部に記憶されている当該スロットの挿抜回数を前記取得した計数値に更新する機能を備えたことを特徴とするライブラリ装置。
The library apparatus according to claim 2, wherein
When the storage medium is taken in / out from the magazine by the medium transport unit pre-installed in the apparatus main body, the main control unit sends the count value of the counter unit provided in the inserted / removed slot via the counter lead unit. And a function of updating the acquired count value of the slot stored in the counter information storage unit to the acquired count value.
前記請求項3に記載のライブラリ装置において、
前記マガジンが当該マガジンを識別するマガジン識別子を保持しており、
前記マガジンに付されたマガジン識別子を読み取るマガジン識別子リード部と、この読み取られたマガジン識別子を記憶するマガジン識別記憶部とを備え、
前記主制御部が、前記マガジン識別子リード部が読み取ったマガジン識別子と前記マガジン識別記憶部に記憶されている前回読み取ったマガジン識別子とを照合し、一致しなかった場合、前記媒体確認部に全スロットの記憶媒体の有無を確認させることを特徴とするライブラリ装置。
The library apparatus according to claim 3, wherein
The magazine holds a magazine identifier that identifies the magazine,
A magazine identifier read unit for reading a magazine identifier attached to the magazine, and a magazine identification storage unit for storing the read magazine identifier,
The main control unit collates the magazine identifier read by the magazine identifier read unit with the magazine identifier read last time stored in the magazine identification storage unit. A library apparatus characterized in that the presence or absence of a storage medium is confirmed.
記憶媒体収納用の複数のスロットを有するマガジンにおいて、
前記スロット毎に前記記憶媒体の挿抜回数を計数するカウンタ部を備えたことを特徴とするマガジン。
In a magazine having a plurality of slots for storing storage media,
A magazine comprising a counter unit for counting the number of insertions and withdrawals of the storage medium for each slot.
記憶媒体収納用の複数のスロットを備えたマガジンと、このマガジンを搭載する装置本体とからなるライブラリ装置にあって、
前記装置本体のカウンタリード部が、前記マガジンの各スロットに設けられた前記記憶媒体の挿抜回数を計数するカウンタ部からその計数値を読み取り、
この読み取られた各スロットの挿抜回数と前記装置本体のカウンタ情報記憶部に記憶されている各スロットの挿抜回数とを前記装置本体の主制御部が比較して一致しなかったスロットを特定し、
前記主制御部の指令に従って前記装置本体の媒体確認部が前記主制御部に特定されたスロットに対して記憶媒体の有無を確認し収納されている記憶媒体に付された媒体識別子を読み取り、
前記特定されたスロットの記憶媒体の有無及び収納されている記憶媒体の媒体識別子を前記装置本体に装備された媒体情報記憶部に記憶することを特徴とする記憶媒体管理方法。
In a library apparatus comprising a magazine having a plurality of slots for storing storage media and an apparatus main body on which the magazine is mounted,
The counter read unit of the apparatus main body reads the count value from the counter unit that counts the number of insertions and withdrawals of the storage medium provided in each slot of the magazine,
The main control unit of the apparatus main body compares the read number of times of insertion / extraction of each slot and the number of times of insertion / removal of each slot stored in the counter information storage unit of the apparatus main body, and identifies a slot,
In accordance with an instruction from the main control unit, the medium confirmation unit of the apparatus main body reads the medium identifier attached to the stored storage medium by confirming the presence / absence of the storage medium in the slot specified by the main control unit,
A storage medium management method comprising: storing the presence / absence of a storage medium in the specified slot and a medium identifier of a storage medium stored in a medium information storage unit provided in the apparatus main body.
前記請求項6に記載の記憶媒体管理方法において、
前記装置本体に予め装備された媒体搬送部によって前記マガジンから記憶媒体が出し入れされた際に、この出し入れがあったスロットに対応するカウンタ部の計数値を前記カウンタリード部が読み取り、前記主制御部が前記カウンタ情報記憶部に記憶されている各スロットの挿抜回数を前記カウンタリード部が読み取った値に更新することを特徴とする記憶媒体管理方法。
The storage medium management method according to claim 6, wherein
When the storage medium is taken in / out from the magazine by the medium transport unit pre-installed in the apparatus main body, the counter read unit reads the count value of the counter unit corresponding to the slot in which the medium has been put in / out, and the main control unit Updating the number of insertions / removals of each slot stored in the counter information storage unit to a value read by the counter read unit.
前記請求項7に記載の記憶媒体管理方法において、
前記カウンタリード部が前記各カウンタ部の計数値を読み取る前に、
前記装置本体が備えているマガジン識別子リード部が前記マガジンに付されたマガジン識別子を読み取り、
この読み取られたマガジン識別子と前記装置本体に装備されたマガジン識別記憶部に記憶されているマガジン識別子とを前記主制御部が照合し、
一致しなかった場合に、前記主制御部の指令に従って前記媒体確認部が全てのスロットの記憶媒体の有無を確認し収納されている記憶媒体に付された媒体識別子を読み取り、
前記各スロットの記憶媒体の有無及び収納されている記憶媒体の媒体識別子を前記媒体情報記憶部に記憶することを特徴とする記憶媒体管理方法。
The storage medium management method according to claim 7,
Before the counter read unit reads the count value of each counter unit,
The magazine identifier read unit provided in the apparatus main body reads the magazine identifier attached to the magazine,
The main control unit collates the read magazine identifier with the magazine identifier stored in the magazine identification storage unit equipped in the apparatus body,
If they do not match, the medium confirmation unit confirms the presence / absence of the storage medium in all slots in accordance with a command from the main control unit, reads the medium identifier attached to the stored storage medium,
A storage medium management method, wherein the presence / absence of a storage medium in each slot and a medium identifier of a storage medium stored therein are stored in the medium information storage unit.
記憶媒体収納用の複数のスロットを有するマガジンと、この各スロットに対して記憶媒体の有無を確認し収納されている記憶媒体に付された媒体識別子を読み取る媒体確認部と、この媒体確認部に取得された情報に従って前記スロット毎の記憶媒体の有無及び収納されている記憶媒体の媒体識別子を示す情報を記憶する媒体情報記憶部と、前記各スロットに設けられた記憶媒体の挿抜回数を計数するカウンタ部の計数値を読み取るカウンタリード部と、このカウンタリード部が読み取った前記各スロットの挿抜回数を記憶するカウンタ情報記憶部とを備えたライブラリ装置にあって、
前記カウンタリード部が読み取った各スロットの挿抜回数と前記カウンタ情報記憶部に記憶されている各スロットの挿抜回数とを個別に比較して一致しないスロットを特定する機能と、
この特定されたスロットの記憶媒体の有無を確認して収納されている記憶媒体に付された媒体識別子を読み取るように前記媒体確認部の動作を制御する機能と、
前記特定されたスロットの記憶媒体の有無及び収納されている記憶媒体の媒体識別子を前記媒体確認部から入力し前記媒体情報記憶部に記憶する機能とをコンピュータに実行させることを特徴とする記憶媒体管理用プログラム。
A magazine having a plurality of slots for storing a storage medium, a medium confirmation unit for checking the presence or absence of a storage medium in each slot and reading a medium identifier attached to the stored storage medium, and a medium confirmation unit According to the acquired information, a medium information storage unit that stores information indicating the presence / absence of a storage medium for each slot and a medium identifier of the stored storage medium, and counts the number of insertions / removals of the storage medium provided in each slot In a library apparatus comprising a counter read unit that reads a count value of a counter unit, and a counter information storage unit that stores the number of insertions / removals of each slot read by the counter read unit,
A function of identifying a slot that does not match by individually comparing the number of insertions / removals of each slot read by the counter lead unit and the number of insertions / removals of each slot stored in the counter information storage unit;
A function of controlling the operation of the medium confirmation unit so as to read the medium identifier attached to the storage medium stored by confirming the presence or absence of the storage medium in the specified slot;
A storage medium for causing a computer to execute the function of inputting the presence / absence of a storage medium in the specified slot and the medium identifier of the stored storage medium from the medium confirmation unit and storing it in the medium information storage unit Administrative program.
前記請求項9に記載の記憶媒体管理用プログラムにおいて、
前記装置本体に予め装備された媒体搬送部によって前記マガジンから記憶媒体が出し入れされたのを検知した場合、その出し入れのあったスロットの挿抜回数を前記カウンタリード部から入力し、入力した情報に従って前記カウンタ情報記憶部に記憶されている情報を更新する機能をコンピュータに実行させることを特徴とする記憶媒体管理用プログラム。
In the storage medium management program according to claim 9,
When it is detected that a storage medium has been taken in / out from the magazine by the medium transport unit pre-installed in the apparatus main body, the number of insertions / removals of the inserted / removed slot is input from the counter lead unit, A storage medium management program which causes a computer to execute a function of updating information stored in a counter information storage unit.
前記請求項10に記載の記憶媒体管理用プログラムにおいて、
前記マガジンに付されたマガジン識別子を読み取るマガジン識別子リード部から読み取られたマガジン識別子を入力する機能と、
この入力されたマガジン識別子と前記装置本体に予め装備されたマガジン識別記憶部に記憶されているマガジン識別子と照合する機能と、
照合した結果一致しなかった場合、前記媒体確認部に全てのスロットの記憶媒体の有無を確認し収納されている記憶媒体に付された媒体識別子を読み取らせる機能と、
前記媒体確認部に取得された情報に従って前記各スロットの記憶媒体の有無及び収納されている記憶媒体の媒体識別子を前記媒体情報記憶部に記録する機能とをコンピュータに実行させることを特徴とする記憶媒体管理用プログラム。
The storage medium management program according to claim 10,
A function of inputting a magazine identifier read from a magazine identifier read unit for reading a magazine identifier attached to the magazine;
A function of collating the input magazine identifier with a magazine identifier stored in a magazine identification storage unit pre-installed in the apparatus main body;
If the result of the collation is that they do not match, the medium confirmation unit confirms the presence or absence of storage media in all slots, and allows the medium identifier attached to the stored storage medium to be read;
A storage that causes a computer to execute the function of recording the presence / absence of a storage medium in each slot and the medium identifier of the storage medium stored in the medium information storage unit according to the information acquired by the medium confirmation unit Media management program.
JP2008330911A 2008-12-25 2008-12-25 Library device and its storage medium management method, and program Withdrawn JP2010152993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008330911A JP2010152993A (en) 2008-12-25 2008-12-25 Library device and its storage medium management method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008330911A JP2010152993A (en) 2008-12-25 2008-12-25 Library device and its storage medium management method, and program

Publications (1)

Publication Number Publication Date
JP2010152993A true JP2010152993A (en) 2010-07-08

Family

ID=42571914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008330911A Withdrawn JP2010152993A (en) 2008-12-25 2008-12-25 Library device and its storage medium management method, and program

Country Status (1)

Country Link
JP (1) JP2010152993A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196738A (en) * 2012-03-22 2013-09-30 Nec Embedded Products Ltd Library device, and accessor control method in library device
JP2018129103A (en) * 2017-02-06 2018-08-16 富士フイルム株式会社 Recording system and recording method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196738A (en) * 2012-03-22 2013-09-30 Nec Embedded Products Ltd Library device, and accessor control method in library device
JP2018129103A (en) * 2017-02-06 2018-08-16 富士フイルム株式会社 Recording system and recording method

Similar Documents

Publication Publication Date Title
US20190141839A1 (en) Electronic component mounting method
US7386667B2 (en) Storing information regarding operation of an automated data storage library to memory and to a reserved cartridge
JP2566725B2 (en) Stacker / autoloader device with magazine control
JP4191661B2 (en) Library apparatus, control method and program
EP1239479A1 (en) Apparatus and method for retrieving data from information cartridge
CN101512650A (en) Validation of the identity of a removable media volume mounted in an automated data storage library
JP5782767B2 (en) Library device
US20040268039A1 (en) System and method for storing operational data of a storage automation device to a removable nonvolatile memory component
JP2001092597A (en) Medium controller
US7694884B2 (en) Removable cartridge identification system
JP2010152993A (en) Library device and its storage medium management method, and program
GB2410604A (en) Storage library with cartridge identifiers and inventory
US20050169126A1 (en) Library for storing and retrieving removable information storage elements
JP2007334958A (en) Medium storing device and medium storing system
US7893841B2 (en) Determining cartridge conflicts with deep slot technology
US20050083795A1 (en) Method for data transfer between systems connected to library apparatus, and library apparatus
JP2014093115A (en) Library apparatus
JP2020091741A (en) RFID label writing verification system and program
JP2005339407A (en) Card issuing apparatus
JP2005158175A (en) Magnetic tape library device and medium management method therefor
JP2012243346A (en) Medium library device, medium information management method and medium information management program
US20070043791A1 (en) Data backup system
JP4305441B2 (en) Library device, library device control method, and library device control program
JP2010250887A (en) System and method for detecting media cartridge theft
JP4937177B2 (en) Board component manual mounting equipment

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120306