JPH0786995B2 - Memory control system for cartridge library - Google Patents
Memory control system for cartridge libraryInfo
- Publication number
- JPH0786995B2 JPH0786995B2 JP1137431A JP13743189A JPH0786995B2 JP H0786995 B2 JPH0786995 B2 JP H0786995B2 JP 1137431 A JP1137431 A JP 1137431A JP 13743189 A JP13743189 A JP 13743189A JP H0786995 B2 JPH0786995 B2 JP H0786995B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- cartridge
- writing
- area
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Automatic Tape Cassette Changers (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、カートリツジライブラリ装置のメモリ制御方
式に係り、特に、予期しない電源断や、停電時等におけ
るメモリ内容を保証するのに好適なカートリツジライブ
ラリ装置のメモリ制御方式に関する。The present invention relates to a memory control system of a cartridge library apparatus, and is particularly suitable for guaranteeing memory contents in the event of unexpected power failure, power failure, or the like. The present invention relates to a memory control system for a cartridge library device.
[従来の技術] 一般に、それぞれ磁気テープ記録媒体を収納した多数の
テープ・カートリツジを格納棚に収納しておき、ロボツ
ト装置によつて、任意のカートリツジを自動的に選択し
て格納棚から記録再生装置へ搬送し自動的に記録再生を
行なつたり、またはその逆の動作を行なうカートリツジ
ライブラリ装置が知られている。このようなロボツト装
置による自動動作は、通常、記録媒体(カートリツジ)
の格納棚への格納位置や、カートリツジの名称(ボリウ
ムシアリアルナンバーVSN#)や、付加情報を記憶して
いる不揮発化メモリを参照/更新することによつて実現
されている。[Prior Art] Generally, a large number of tape cartridges each containing a magnetic tape recording medium are stored in a storage shelf, and a robot device automatically selects an arbitrary cartridge to record / reproduce from the storage shelf. 2. Description of the Related Art Cartridge library devices are known, which are transported to a device and automatically perform recording / reproducing or vice versa. Automatic operation by such a robot device is usually performed by a recording medium (cartridge).
This is realized by referring to / updating the storage position of the storage shelf on the storage shelf, the name of the cartridge (volume serial number VSN # ), and the non-volatile memory storing additional information.
ここで、不揮発化メモリの書き替えデータとしては、上
記カートリツジ格納位置、カートリツジの名称のほか、
カートリツジの存在場所(例えば、アクセツサロボツト
によりカートリツジを取り出し、記録再生装置に挿入す
るとき、存在場所は、カートリツジ格納棚→アクセツサ
ロボツト上→記録再生装置のように変わる)、機構部
(アクセツサロボツト等)の再試行回数(例えば、アク
セツサロボツトがカートリツジを取り出す際に、1度目
は失敗したが2度目は成功したなら、再試行回数を1と
するなどにより、各機構部の寿命やインターミツテント
な障害データを記録しておくことで、部品交換の目安
や、事前保守の一助とする)、コマンドトレース(上位
CPUから受信したコマンド、例えばカートリツジを収納
棚から記録再生装置に挿入するコマンドに対して、その
受信時点からコマンドが終了する時点までの時間を、保
守情報の一種として記録しておく)等のデータ(これら
のデータを総称して、「動作情報」という)を含んでい
る。また、不揮発化メモリの書き替えは、例えば、カー
トリツジの出し入れ時(増減)や、カートリツジの存在
場所が前記のように変わつたときなどに行なわれる。Here, as the rewriting data of the non-volatile memory, in addition to the cartridge storage position and the cartridge name,
The location of the cartridge (for example, when the cartridge is taken out by the accessor robot and inserted into the recording / reproducing apparatus, the location is changed as in the cartridge storage shelf → on the accessor robot → recording / reproducing apparatus), the mechanism section (accessor The number of retries of the robot etc. (for example, when the accessor robot takes out the cartridge from the cartridge first, but fails the first time, but succeeds the second time, the number of retries is set to 1 and the life of each mechanical unit or By recording Mitsutent failure data, it will be a guideline for parts replacement and aids in pre-maintenance), command trace (upper level)
For a command received from the CPU, such as a command to insert a cartridge from the storage shelf into the recording / playback device, the time from the time when the command is received to the time when the command ends is recorded as a kind of maintenance information) (These data are collectively referred to as “motion information”). The non-volatile memory is rewritten, for example, when the cartridge is taken in and out (increased / decreased), or when the location of the cartridge is changed as described above.
従つて、上記メモリは、この種カートリツジライブラリ
装置を正しく動作させるための重要な要素の1つであ
り、予期しない停電等に対して該メモリの内容を保証す
る対策が不可欠である。もしもこのような対策がない
と、電源復旧後において、メモリの読み出しエラーが発
生したり、カートリツジを持つたままのロボツトのカー
トリツジ戻し処理や、記録再生装置に挿入されたままの
カートリツジの戻し先が不確定となるおそれがあり、こ
のため、人手による復旧が必要になり、膨大な時間と労
力が必要となる。Therefore, the memory is one of the important elements for operating the cartridge library device of this type correctly, and it is essential to take measures to guarantee the contents of the memory against an unexpected power failure or the like. If such measures are not taken, a memory read error may occur after power is restored, the cartridge cartridge may be returned to the cartridge that has the cartridge, or the cartridge may not be inserted into the recording / reproducing device. There is a risk of uncertainty, which necessitates manual restoration and a huge amount of time and labor.
この対策として、従来、例えば特開昭62−24465号公報
に示されているように、電源断を検知すると、その時の
カセツト格納棚、再生装置、運搬手段等の動作状態を示
すデータをメモリに記憶した後、ハード的にメモリへの
書き込みを禁止状態にして、メモリの内容保護を行なう
方式が知られている。As a countermeasure against this, conventionally, for example, as disclosed in Japanese Patent Laid-Open No. 62-24465, when a power failure is detected, data indicating the operating state of the cassette storage shelf, the reproducing device, the transporting means, etc. at that time is stored in a memory. A method is known in which, after storing, the contents of the memory are protected by forbidding the writing to the memory by hardware.
[発明が解決しようとする課題] 従来技術は、電圧の降下速度が比較的遅い停電等には効
果はあると考えられるが、メモリ電源端子の直前位置で
の断(例えば、AC200V/DC5V電源とメモリ電源端子の間
のブレーカの断)や、その他電圧が急激に降下する障害
(DCブレーカ断など)については配慮されておらず、こ
のような障害が発生した場合で、メモリに書き込みを実
行していた最中であつた場合、書き込みが正しく行なわ
れない状態で終了するとも考えられる。従つて、復旧後
もメモリ内容を正しく参照し判断することが出来ず、後
になつて当該領域を読み出した時に初めて読取りエラー
や、内容が不確定といつた事態を引起こし、システムダ
ウンにつながつて、結局、膨大な労力を要して復旧せざ
るを得ないという問題があつた。[Problems to be Solved by the Invention] Although it is considered that the conventional technology is effective for a power failure or the like in which the voltage drop speed is relatively slow, disconnection at a position immediately before the memory power supply terminal (for example, AC200V / DC5V power supply No consideration is given to the breaker between the memory power supply terminals) and other failures (such as DC breaker disconnection) where the voltage drops sharply.If such a failure occurs, write to the memory. If it is in the middle, it is considered that the writing will be terminated in an incorrect state. Therefore, even after the recovery, the memory contents cannot be correctly referenced and judged, and the read error or the indeterminate contents will not occur until the area is read out later, resulting in the system going down. After all, there was a problem that it took a huge amount of effort and had to be restored.
従つて、本発明の目的は、前記従来技術の問題点を除去
し、電源電圧が、ゆつくり降下する場合だけでなく、急
激に降下する場合でもメモリの記憶内容(ロボツトの動
作によりカートリツジを正しい状態に動作させるため
の、指示制御情報)を保証するカートリツジライブラリ
装置のメモリ制御方式を提供することにある。Therefore, the object of the present invention is to eliminate the above-mentioned problems of the prior art, and to correct the stored contents of the memory (correct the cartridge by the operation of the robot) not only when the power supply voltage drops sharply but also when it suddenly drops. The object of the present invention is to provide a memory control system of a cartridge library device which guarantees instruction control information) for operating in a state.
[課題を解決するための手段] 上記目的を達成するため、本発明のカートリツジライブ
ラリ装置のメモリ制御方式は、複数のカートリツジの収
納機構および記録再生装置間でカートリツジを選択して
搬送するアクセツサロボツトと、このアクセツサロボツ
トの動作(カートリツジの動作・状態も含む)を指示・
制御する動作情報(例えば、カートリツジの格納位置情
報,カートリツジ名称,その他、前記各種の付加情報)
を記憶する不揮発性のメモリとを有し、特徴として、前
記メモリに新たな動作情報の書き込みを行なうに当り
(書き替えの際に)、該書き込みの行なわれるエリアの
アドレスおよび旧動作情報を一旦特定エリア(11,12)
にセーブし(旧動作情報は、メモリの該書き込みの行な
われるエリアから読み出されて、メモリの該特定エリア
に移される)、しかる後、該書き込みを行なうように構
成する。[Means for Solving the Problems] In order to achieve the above object, a memory control system of a cartridge library apparatus according to the present invention is an accessor for selecting and transporting a cartridge between a storage mechanism for a plurality of cartridges and a recording / reproducing apparatus. Instruct the robot and the operation of this accessor robot (including the operation / state of the cartridge).
Operation information to be controlled (for example, cartridge storage position information, cartridge name, other various additional information described above)
And a non-volatile memory for storing the operation information. When writing new operation information to the memory (when rewriting), the address of the area to be written and the old operation information are temporarily stored. Specific area (11,12)
(The old operation information is read from the area of the memory where the writing is performed and moved to the specific area of the memory), and then the writing is performed.
また、前記旧動作情報の特定エリアへのセーブ後に、メ
モリ更新中フラグ(書込み中フラグ)をメモリ上の所定
エリア(10)に書き込んでから、前記新たな情報の前記
アドレスで示されるエリアへの書き込みを行ない、しか
る後、前記メモリ更新中フラグをリセツトする(また
は、前記メモリ更新中フラグと同一エリアに、メモリ更
新終了フラグを書き込む)ように構成する。この一連の
処理は、プログラム中のサブルーチンとし、書き込み指
示を行なう上位プログラムの負担を軽減させるように構
成することができる。In addition, after saving the old operation information in a specific area, a memory updating flag (writing flag) is written in a predetermined area (10) on the memory, and then the new information is written in the area indicated by the address. Writing is carried out, and then the memory updating flag is reset (or the memory updating end flag is written in the same area as the memory updating flag). This series of processes can be configured as a subroutine in the program so as to reduce the load on the upper-level program that issues a write instruction.
なお、次の電源投入などで、プログラムが先頭から走る
場合に、イニシヤライズ処理等で、以下の処理を行な
う。まず、上記メモリ上の特定領域内のメモリ書き込み
中フラグを読み出し、その内容が「書込み中でない」場
合はメモリの復旧に関しては何もせずに通常処理を行な
う(この通常処理は、ライブラリ装置が上位CPUからの
コマンドを受付け可能な状態、上位CPUからの処理待ち
状態、いわゆるREADY状態とすることをいう)。また、
「書込み中」であつた場合には、上記書込み処理中に電
源断が発生したと判断し、予めセーブしておいたアドレ
スと旧データを元に、当該領域に対し旧データを書き込
み、書込に中フラグをリセツトして通常処理へ移行す
る。また、「書込み中」フラグが読出しエラーもしく
は、内容が「書込み中」あるいは「書込み中でない」の
いずれにも該当しない場合は「書込み中」フラグの書込
み時に電源断になつたと判断し、「書込み中」フラグの
みをリセツトして通常処理へ移行する。When the program runs from the beginning when the power is turned on next time, the following processing is performed by the initialization processing or the like. First, the memory-writing flag in the specific area on the memory is read, and if the content is "not writing", normal processing is performed without doing anything to restore the memory. A state in which commands from the CPU can be accepted, a state waiting for processing from the upper CPU, which means a so-called READY state). Also,
If it is "writing", it is determined that the power is cut off during the writing process, and the old data is written and written to the area based on the address and the old data saved in advance. Then, the middle flag is reset to shift to the normal processing. If the "writing" flag does not correspond to a read error or the content is "writing" or "not writing", it is determined that the power was cut off when the "writing" flag was written, and Only the "medium" flag is reset and the normal processing is performed.
以上のような、メモリ書込み時の処理と電源投入時の処
理を特徴としたものである。It is characterized by the processing at the time of memory writing and the processing at power-on as described above.
[作用] 上記構成に基づく作用を説明する。[Operation] An operation based on the above configuration will be described.
本発明によれば、アクセツサロボツトの動作情報記憶用
のメモリにデータを書き込む時に(データ更新時に)、
旧データとそのアドレスを必ず特定エリアにセーブして
から更新を行なうので、更新中に予期せぬ電源断や、急
激な電圧降下のため、メモリにデータが正しく書き込ま
れていない状態が発生しても、旧データの破壊・消失を
防ぎ、メモリ内容を保証することができる。これによつ
て、電源復旧時には、メモリ上のデータを電源断の直前
の状態に戻すことができる。According to the present invention, when the data is written in the memory for storing the operation information of the accessor robot (when the data is updated),
Since the old data and its address are always saved in a specific area before updating, data may not be written correctly in the memory due to unexpected power failure or sudden voltage drop during updating. Also, it is possible to prevent the destruction and loss of old data and guarantee the memory contents. As a result, when the power is restored, the data on the memory can be returned to the state immediately before the power was cut off.
また、新データのメモリへの書込み時に、前記アドレス
と旧データを特定領域にセーブした後、メモリ更新中
(書込み中)フラグをセツトし指示されたデータを該ア
ドレスで示される領域に書込み、その後メモリ更新中フ
ラグをリセツトするように構成したので、次の電源投入
時、「メモリ更新中フラグ」の内容を確認することで、
電源断となつた時のメモリ書込みが正しく行なわれたか
どうかを判別でき、正しく行なわれなかつた場合には旧
データを戻す処理等により、電源断直前の状態に戻すこ
とが可能である。従つて、電源断時メモリにデータが正
しく書き込まれていない状態であつても、電源投入時に
自動的に復旧できるので、メモリの内容が不確定になる
ことはない。When writing new data to the memory, after saving the address and old data in a specific area, the memory updating (writing in progress) flag is set, and the instructed data is written in the area indicated by the address. Since it is configured to reset the memory updating flag, by checking the contents of the "memory updating flag" at the next power-on,
It is possible to determine whether or not the memory writing is correctly performed when the power is cut off, and when it is not correctly written, it is possible to restore the state immediately before the power shutdown by a process of returning the old data. Therefore, even if the data is not correctly written in the memory when the power is turned off, the data can be automatically restored when the power is turned on, so that the contents of the memory will not become uncertain.
[実施例] 以下に、本発明の一実施例を図面を用いて説明する。[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.
第1図は、本発明の実施例のカートリツジライブラリ装
置の構成図で、1はカートリツジライブラリ装置、2は
上位CPU、3は磁気テープ制御装置(MTC)、4はライブ
ラリ制御装置(ALC)、5は不揮発化メモリ(LCM、例え
ば、バツテリやコンデンサによりバツクアツプされたメ
モリで、停電時にも記憶データが消失しないことが保証
されている)、6はアクセツサロボツト制御装置(AD
U)、7はカートリツジ収納棚、8はアクセツサロボツ
ト(AC)、9は磁気テープ装置(MTU)である。FIG. 1 is a block diagram of a cartridge storage library apparatus according to an embodiment of the present invention, where 1 is a cartridge storage library apparatus, 2 is a high-order CPU, 3 is a magnetic tape controller (MTC), 4 is a library controller (ALC). 5 is a non-volatile memory (LCM, for example, a memory backed up by a battery or a capacitor, which guarantees that stored data will not be lost even in the event of a power failure), 6 is an accessor robot controller (AD
U), 7 are cartridge storage shelves, 8 is an accessor robot (AC), and 9 is a magnetic tape unit (MTU).
上位CPU2からライブラリ制御装置(ALC)4に対し、カ
ートリツジ収納棚7内の選択されたカートリツジを、指
示された磁気テープ制御装置(MTC)9にマウントする
命令がくると、ALC4は、不揮発化メモリ(LCM)5を参
照し、カートリツジ格納位置を調べて、ロボツト制御装
置(ADU)6に対し、MTU9にマウントする指令を出す。A
DU6は、アクセツサロボツト8を起動して、所定の位置
からカートリツジを取り出し、MTU9にカートリツジをマ
ウントする。同時に、ALC4は、LCM5内に、該カートリツ
ジが移動しているという付加情報等を記憶させる。この
ようにして、各カートリツジの状態やAC8の状態などを
随時LCM5に反映させながら、動作して行く。When a command to mount the selected cartridge in the cartridge storage shelf 7 to the instructed magnetic tape controller (MTC) 9 is sent from the upper CPU 2 to the library controller (ALC) 4, the ALC 4 is a non-volatile memory. (LCM) 5 is referred to, the cartridge storage position is checked, and a command to mount the MTU 9 is issued to the robot controller (ADU) 6. A
The DU6 activates the accessor robot 8, takes out the cartridge from a predetermined position, and mounts the cartridge on the MTU 9. At the same time, the ALC 4 stores in the LCM 5 additional information and the like that the cartridge is moving. In this way, the state of each cartridge and the state of AC8 are reflected in LCM5 at any time, and the operation continues.
第2図は、上述したLCM5の記憶内容を簡略化して示した
図で、領域51と52を有している。領域51は、カートリツ
ジやアクセツサロボツトAC8の状態を管理するカートリ
ツジ/ロボツト情報部で、ここには、上記第1図や上記
[従来技術]で述べた各種の指示・制御・動作情報デー
タが格納される。領域52は、本実施例の特徴として設け
たデータセーブエリアで、該データセーブエリア52は、
書込み中フラグ(メモリ更新中フラグ)をコードで示す
エリア10、書込みアドレスをセーブするエリア11、およ
び、旧データをセーブするエリア12を持つている。尚、
LCM5はバツテリ13により不揮発化されている。また、第
1図は、ALC4,ADU6,LCM5,MTC3,AC8がそれぞれ1台、MTU
9は4台の場合を図示しているが、それらの員数は特に
規定しない。FIG. 2 is a diagram showing the stored contents of the LCM 5 in a simplified manner, and has areas 51 and 52. Area 51 is a cartridge / robot information section that manages the state of the cartridge and accessor robot AC8, and stores the various instruction / control / operation information data described in FIG. 1 and [Prior Art] above. To be done. The area 52 is a data save area provided as a feature of this embodiment, and the data save area 52 is
It has an area 10 for indicating a writing flag (memory updating flag) by a code, an area 11 for saving a writing address, and an area 12 for saving old data. still,
The LCM5 is made nonvolatile by the battery 13. In addition, Fig. 1 shows that ALC4, ADU6, LCM5, MTC3, AC8 are each 1 unit, MTU
9 shows the case of four units, but the number of them is not specified.
次に、LCM5のデータセーブエリア52の制御方法について
説明する。Next, a method of controlling the data save area 52 of the LCM 5 will be described.
まず、LCM5に対し書き込みを行なう時は、指示されたア
ドレスで示される現在の内容(旧データ)を領域51から
読み取る。次に、読み取つた内容と指示アドレスをそれ
ぞれ旧データセーブエリア12とアクセスアドレスセーブ
エリア11に書き込む。その後、書込み中フラグエリアに
「書込み中」を示す特定コードを書き込む。次に、領域
51の指示アドレスに対して、指示されたデータ(カート
リツジの状態データ等)を書き込んでから、エリア10の
「書込み中」フラグをリセツトし(すなわち、書込み中
ではないことを示す特定コードの書込み終了信号を書き
込んで)書き込みにまつわる一連の処理を終了する。
尚、本処理はメモリ書込み毎に行なうので、サブルーチ
ン化して実施することによりメインプログラムでの負担
を減らすようにしても良い。なお、書き替えるデータの
単位(1回に書き込むデータの量)は、動作モード毎で
ある。First, when writing to LCM5, the present contents (old data) indicated by the designated address are read from area 51. Next, the read contents and the designated address are written in the old data save area 12 and the access address save area 11, respectively. After that, a specific code indicating "writing" is written in the writing flag area. Then the area
Write the instructed data (status data of the cartridge, etc.) to the instructed address of 51 and then reset the "writing in progress" flag in area 10 (that is, the end of writing the specific code indicating that writing is not in progress). (Write a signal) to end the series of processes related to writing.
Since this processing is performed every time writing to the memory, the load on the main program may be reduced by implementing it as a subroutine. The unit of data to be rewritten (the amount of data to be written at one time) is for each operation mode.
次に、電源断後の電源投入時の処理について説明する。
電源が投入されると、装置の自己診断等の処理を行なつ
た後、LCM5に関して次に示す処理を1回行なう。Next, a process at power-on after power-off will be described.
When the power is turned on, after performing processing such as self-diagnosis of the device, the following processing for LCM5 is performed once.
まず、書込み中フラグエリア10を読み出し、その内容コ
ードが「書込み中でない」であつた場合、LCM5に関して
の処理は何もしない。すなわち、書込み中の電源断は無
かつたものと判断し、通常処理へ移行する。上記エリア
10が「書込み中」であつた場合は、アクセスアドレスセ
ーブエリアで示されるエリアを書込み中に電源断したも
のと判断し、旧データセーブエリア12の内容を前記アド
レスで示されるエリアに書き込んで、書込み中フラグエ
リア10をリセツトし(電源断直前の状態に戻す)、通常
処理へ移行する。First, when the writing flag area 10 is read and the content code is "not writing", the process related to LCM5 is not performed. That is, it is determined that the power supply has not been cut off during writing, and the process proceeds to the normal process. Above area
If 10 is "writing", it is determined that the power of the area indicated by the access address save area is cut off during writing, and the contents of the old data save area 12 are written in the area indicated by the address, The writing flag area 10 is reset (returned to the state immediately before the power is cut off), and the processing shifts to the normal processing.
次に、書込み中フラグエリア10の内容が「書込み中」あ
るいは「書込み中でない」のいずれでもない場合、又
は、上記エリア読出し時にデータパリテイーエラー等が
検出された場合には、「書込み中フラグ」を書込み中に
電源断が発生したと判断し、書き込みを行なう予定であ
つたエリアはアクセスしていないので、単に「書込み中
フラグ」をリセツトして通常処理に移行する。Next, if the contents of the writing flag area 10 is neither "writing" or "not writing", or if a data parity error or the like is detected when reading the area, the "writing flag" is displayed. It is determined that the power supply is cut off during writing, and the area for which writing was planned is not being accessed. Therefore, the "writing flag" is simply reset and the process proceeds to normal processing.
このように、LCM5書込み時に、旧データとアドレス及び
書込み中であつたかどうかを示すフラグを記憶するの
で、次の電源投入時に、過去に電源断が発生したかどう
かを判別することが可能となり、旧データを戻す処理等
を行なうことにより、メモリの内容を保証し、不確定デ
ータを排除できる。従つて電源断によるメモリ内容の復
旧や、ロボツトが保持したままのカートリツジや、MTU9
内に残留したカートリツジの収納棚7への戻し作業を人
手を介さずにシステム内で自動的に行なえることにな
る。In this way, when writing the LCM5, the old data and the address and the flag indicating whether or not it was being written are stored, so it is possible to determine whether or not the power was cut off in the past when the power was turned on next time. By performing processing such as returning the old data, the contents of the memory can be guaranteed and uncertain data can be eliminated. Therefore, recovery of memory contents by power off, cartridge storage that the robot retains, and MTU9
It is possible to automatically return the remaining cartridges to the storage rack 7 in the system without human intervention.
なお、本発明はカートリツジライブラリ装置のみではな
く、不揮発化メモリを用いているシステムにも同様に適
用が考えられる。The present invention can be applied not only to the cartridge library device but also to a system using a non-volatile memory.
なお、停電等で書き込みできなかつた新データの入れ直
しは、主として上位CPUの制御下で行なわれ、例えば、
カートリツジ名称書込み(CPUからデータ受取り、L
CMに順次データ書込み、CPUに書込み終了報告)の場
合、の途中で電源断となると、の報告がないので、
電源復帰後、CPUはもう一度〜を実施する。それ以
外のデータ(カートリツジの存在場所など)の入れ直し
は、ライブラリ装置内で行なわれる。In addition, rewriting of new data that could not be written due to power failure etc. is mainly performed under the control of the upper CPU.
Write cartridge name (receive data from CPU, L
In the case of writing data sequentially to CM and writing completion report to CPU), there is no report of if the power is cut off in the middle of, so
After the power is restored, the CPU executes the steps 1 to 3 again. The rest of the data (the location of the cartridge, etc.) is replaced in the library device.
なお、また、停電等のためロボツトが途中で止まつて
も、それまでのシーケンスが不揮発化メモリLCMに記憶
されているので、それを基に、電源復帰後には継続した
動作が可能なように回復される。これらの事項は、本発
明と直接関係がないので、詳しくは述べない。In addition, even if the robot stops in the middle due to a power outage, etc., the sequence up to that point is stored in the non-volatile memory LCM. To be done. Since these matters are not directly related to the present invention, they will not be described in detail.
[発明の効果] 以上詳しく説明したように、本発明によれば、カートリ
ツジの選択,搬送を制御するアクセツサロボツト等の動
作・指示情報のメモリの書き替えの際に、旧情報および
そのアドレスを必ず一旦特定エリアにセーブするように
構成したので、予期しない電源断や停電による急激な電
圧降下が起きた場合は勿論、制御論理段のDC電源断等、
色々な障害が発生した場合でも、このメモリの内容を保
証でき、その結果、電源投入後の処理を混乱や誤りな
く、円滑かつ自動的に行なうことができる等、優れた効
果を奏する。[Effects of the Invention] As described in detail above, according to the present invention, when rewriting the memory of operation / instruction information such as an accessor robot for controlling selection and transportation of a cartridge, the old information and its address are preserved. Since it is configured to always save in a specific area, if there is a sudden voltage drop due to an unexpected power failure or power failure, of course, DC power failure of the control logic stage, etc.
Even if various failures occur, the contents of this memory can be guaranteed, and as a result, the processing after power-on can be smoothly and automatically performed without confusion or error, and other excellent effects can be obtained.
第1図は本発明の一実施例によるカートリツジライブラ
リ装置の概略構成図、第2図は不揮発化メモリの内容を
示した図である。 1……カートリツジライブラリ装置、2……上位CPU、
3……磁気テープ制御装置、4……ライブラリ制御装
置、5……不揮発化メモリ、6……アクセツサロボツト
制御装置、7……カートリツジ収納棚、8……アクセツ
サロボツト、9……磁気テープ装置、10……書込み中フ
ラグエリア、11……アクセスアドレスセーブエリア、12
……旧データセーブエリア、51……カートリツジ/ロボ
ツト情報部エリア、52……データセーブエリア。FIG. 1 is a schematic configuration diagram of a cartridge library apparatus according to an embodiment of the present invention, and FIG. 2 is a diagram showing the contents of a non-volatile memory. 1 ... Cartridge library device, 2 ... Upper CPU,
3 ... Magnetic tape controller, 4 ... Library controller, 5 ... Non-volatile memory, 6 ... Accessor robot controller, 7 ... Cartridge storage rack, 8 ... Accessor robot, 9 ... Magnetic tape Device, 10 ... Writing flag area, 11 ... Access address save area, 12
…… Old data save area, 51 …… Cartridge / robot information area, 52 …… Data save area.
Claims (2)
の記録再生を行なう記録再生装置と、複数のカートリツ
ジを収納するカートリツジ収納機構と、前記カートリツ
ジ収納機構および記録再生装置の間で、選択されたカー
トリツジを搬送するアクセツサロボツトと、前記アクセ
ツサロボツトの動作を指示する動作情報を記憶する不揮
発性のメモリとを有するカートリツジライブラリ装置に
おいて、前記メモリに新たな動作情報の書き込みを行な
うに当り、該書き込みの行なわれるエリアのアドレスお
よび旧動作情報を一旦特定エリアにセーブした後、該書
き込みを行なうように構成したことを特徴とするカート
リツジライブラリ装置のメモリ制御方式。1. A recording / reproducing apparatus for recording / reproducing data on / from a recording medium stored in a cartridge, a cartridge storage mechanism for storing a plurality of cartridges, and a cartridge storage mechanism selected between the cartridge storage mechanism and the recording / reproducing apparatus. In a cartridge library device having an accessor robot for transporting and a non-volatile memory storing operation information for instructing the operation of the accessor robot, when writing new operation information to the memory, A memory control system for a cartridge library device, characterized in that an address of an area to be written and old operation information are temporarily saved in a specific area and then the writing is performed.
みを行なうに当り、前記セーブを行なつた後、さらにメ
モリ更新中フラグを前記メモリに書き込み、その後、前
記新たな動作情報を前記アドレスで示されるエリアに書
き込んでから、前記メモリ更新中フラグをリセツトする
ように構成したことを特徴とする請求項1記載のカート
リツジライブラリ装置のメモリ制御方式。2. When writing the new operation information to the memory, after performing the save, a memory updating flag is further written to the memory, and then the new operation information is written at the address. 2. The memory control system of the cartridge library apparatus according to claim 1, wherein the memory updating flag is reset after writing in the area shown.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1137431A JPH0786995B2 (en) | 1989-06-01 | 1989-06-01 | Memory control system for cartridge library |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1137431A JPH0786995B2 (en) | 1989-06-01 | 1989-06-01 | Memory control system for cartridge library |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH035950A JPH035950A (en) | 1991-01-11 |
| JPH0786995B2 true JPH0786995B2 (en) | 1995-09-20 |
Family
ID=15198465
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1137431A Expired - Fee Related JPH0786995B2 (en) | 1989-06-01 | 1989-06-01 | Memory control system for cartridge library |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0786995B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9521003B2 (en) | 1998-01-26 | 2016-12-13 | Tq Delta, Llc | Multicarrier transmission system with low power sleep mode and rapid-on capability |
-
1989
- 1989-06-01 JP JP1137431A patent/JPH0786995B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9521003B2 (en) | 1998-01-26 | 2016-12-13 | Tq Delta, Llc | Multicarrier transmission system with low power sleep mode and rapid-on capability |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH035950A (en) | 1991-01-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8549237B2 (en) | Method and apparatus for use in data transfer | |
| US6253281B1 (en) | Method for updating firmware of a computer peripheral device | |
| US6161194A (en) | Data reconstruction method and system wherein timing of data reconstruction is controlled in accordance with conditions when a failure occurs | |
| US7190537B2 (en) | Self-raid system using hard disk drive having backup head and method of writing data to and reading data from hard disk drive having backup head | |
| JPH0786995B2 (en) | Memory control system for cartridge library | |
| JPH0536259A (en) | Electronics | |
| JP2002074903A (en) | Magnetic recording / reproducing apparatus and magnetic recording / reproducing method | |
| US5522035A (en) | Buffer memory self-diagnosis method for information signal processing apparatus | |
| US6684344B1 (en) | Control unit of external storage, method for substituting defective block, and storage medium wherein control program for substituting defective block has been stored | |
| JPH04229451A (en) | Control method for cartridge library device | |
| US20060114592A1 (en) | Data storage apparatus and method | |
| JPH0581789A (en) | Optical disk device | |
| JPH04372768A (en) | Library type disk device | |
| JPH03134728A (en) | Drive fault processing method for large capacity storage device | |
| JP2953552B2 (en) | Non-volatile memory write control method | |
| JPH07168769A (en) | Data updating method for nonvolatile memory | |
| JP2025120013A (en) | Magnetic tape library device, magnetic tape cartridge optimization method, and program therefor | |
| JPH06168076A (en) | Accessor of library device and it position information restoration method | |
| JPH07129208A (en) | Numerical control unit | |
| JPH11212736A (en) | Optical disk array library device | |
| JP2000048439A (en) | Library device | |
| JPS6289273A (en) | Magnetic disk device | |
| JPH06175793A (en) | Optical disk device | |
| JPH0384778A (en) | Data check retrial system | |
| JPS60107158A (en) | Method for informing statistical information |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |