JPH035950A - Memory control system for cartridge library device - Google Patents

Memory control system for cartridge library device

Info

Publication number
JPH035950A
JPH035950A JP1137431A JP13743189A JPH035950A JP H035950 A JPH035950 A JP H035950A JP 1137431 A JP1137431 A JP 1137431A JP 13743189 A JP13743189 A JP 13743189A JP H035950 A JPH035950 A JP H035950A
Authority
JP
Japan
Prior art keywords
memory
writing
cartridge
area
written
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.)
Granted
Application number
JP1137431A
Other languages
Japanese (ja)
Other versions
JPH0786995B2 (en
Inventor
Tsukasa Nishimura
司 西村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1137431A priority Critical patent/JPH0786995B2/en
Publication of JPH035950A publication Critical patent/JPH035950A/en
Publication of JPH0786995B2 publication Critical patent/JPH0786995B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Automatic Tape Cassette Changers (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To guarantee memory contents by once saving the address and old operation information of an area, to which writing is executed, in a specified area and afterwards, executing the writing. CONSTITUTION:When the new operation information are written to a memory 5 (in the case of rewriting), the address and old operation information of the area, to which the information are written, are once saved in specified areas 11 and 12 (the old operation information are read from the area, to which the information are written, of the memory and moved to the specified areas 11 and 12 of the memory). Thus, not only when the unexpected interruption of power supply or rapid voltage fall caused by the service interruption occurs, but also when a defect such as the interruption of DC power supply in a control logic step, etc., is generated, the contents of this memory 5 are guaranteed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、カートリッジライブラリ装置のメモリ制御方
式に係り、特に、予期しない電源断や、停電時等におけ
るメモリ内容を保証するのに好適なカートリッジライブ
ラリ装置のメモリ制御方式[従来の技術] 一般に、それぞれ磁気テープ記録媒体を収納した多数の
テープ・カートリッジを格納機に収納しておき、ロボッ
ト装置によって、任意のカートリッジを自動的に選択し
て格納機から記録再生装置へ搬送し自動的に記録再生を
行なったり、またはその逆の動作を行なうカートリッジ
ライブラリ装置が知られている。このようなロボット装
置による自動動作は、通常、記録媒体(カートリッジ)
の格納棚への格納位置や、カートリッジの名称(ボリウ
ムシアリアルナンバーMSN’)や、付加情報を記憶し
ている不揮発化メモリを参照/更新することによって実
現されている。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory control method for a cartridge library device, and in particular to a cartridge suitable for guaranteeing memory contents in the event of an unexpected power outage or power outage. Memory control method for library device [Prior art] Generally, a large number of tape cartridges each containing a magnetic tape recording medium are stored in a storage device, and a robot device automatically selects and stores an arbitrary cartridge. Cartridge library devices are known that transport cartridges from a machine to a recording/reproducing device and automatically record/reproduce them, or vice versa. Automated operations by such robotic devices usually involve recording medium (cartridge)
This is realized by referencing/updating the non-volatile memory that stores the storage position in the storage shelf, the name of the cartridge (volume serial number MSN'), and additional information.

ここで、不揮発化メモリの書き替えデータとしては、上
記カートリッジ格納位置、カートリッジの名称のほか、
カートリッジの存在場所(例えば、アクセッサロボット
によりカートリッジを取り出し、記録再生装置に挿入す
るとき、存在場所は。
Here, the data to be rewritten in the non-volatile memory includes the above-mentioned cartridge storage position, cartridge name, etc.
The location of the cartridge (for example, when the accessor robot takes out the cartridge and inserts it into the recording/playback device, the location of the cartridge exists).

カートリッジ格納棚→アクセッサロボット上→記録再生
装置のように変わる)1機構部(アクセッサロボット等
)の再試行回数(例゛えは、アクセッサロボットがカー
トリッジを取り出す際に、1度目は失敗したが2度目は
成功したなら、再試行回数を1とするなどにより、各機
構部の寿命やインターミツテントな障害データを記録し
ておくことで、部品交換の目安や、事前保守の一助とす
る)、コマンドトレース(上位CPUから受信したコマ
ンド、例えば、カートリッジを収納棚から記録再生装置
に挿入するコマンドに対して、その受13時点からコマ
ンドが終了する時点までの時間を、保守情報の一種とし
て記録しておく)等のデータ(これらのデータを総称し
て、「動作情報」という)を含んでいる。また、不揮発
化メモリの書き替えは、例えば、カートリッジの出し入
れ時(増減)や、カートリッジの存在場所が前記のよう
に変わったときなどに行なわれる。
Cartridge storage shelf → Accessor robot → Recording/playback device) Number of retries for one mechanism (accessor robot, etc.) If the first attempt is successful, the number of retries is set to 1, and the lifespan of each mechanical part and intermittent failure data are recorded to help guide parts replacement and advance maintenance.) Command trace (for a command received from a host CPU, for example, a command to insert a cartridge from a storage shelf into a recording/playback device, the time from the time the command is received to the time the command ends is recorded as a type of maintenance information. (This data is collectively referred to as ``operation information.'') Further, the nonvolatile memory is rewritten, for example, when a cartridge is inserted or removed (increase or decrease), or when the location of the cartridge changes as described above.

従って、上記メモリは、この種カートリッジライブラリ
装置を正しく動作させるための重要な要素の1つであり
、予期しない停電等に対して該メモリの内容を保証する
対策が不可欠である。もしもこのような対策がないと、
電源復旧後において、メモリの読み出しエラーが発生し
たり、カートリッジを持ったままのロボットのカートリ
ッジ戻し処理や、記録再生装置に挿入されたままのカー
トリッジの戻し先が不確定となるおそれがあり、このた
め1人手による復旧が必要になり、膨大な時間と労力が
必要となる。
Therefore, the memory is one of the important elements for correctly operating this type of cartridge library device, and it is essential to take measures to guarantee the contents of the memory against unexpected power outages and the like. If such measures do not exist,
After the power is restored, there is a risk that a memory read error may occur, the robot may be unable to return the cartridge while it is still in its possession, or the destination of the cartridge that is still inserted in the recording/playback device may become uncertain. Therefore, a one-person restoration is required, which requires a huge amount of time and effort.

この対策として、従来1例えば特開昭62−24465
号公報に示されているように、電源断を検知すると、そ
の時のカセット格納機、再生装置、運搬手段等の動作状
態を示すデータをメモリに記憶した後、ハード的にメモ
リへの書き込みを禁止状態にして、メモリの内容保護を
行なう方式が知られている。
As a countermeasure against this problem, conventional methods such as JP-A No. 62-24465
As stated in the publication, when a power outage is detected, data indicating the operating status of the cassette storage unit, playback device, transportation means, etc. at that time is stored in memory, and then writing to the memory is prohibited using hardware. A method is known in which the contents of the memory are protected by setting the memory to the state.

[発明が解決しようとする課題] 従来技術は、電圧の降下速度が比較的遅い停電等には効
果はあると考えられるが、メモリtt111JK端子の
直前位置での断(例えば、AC200V/DC5V電源
とメモリ電源端子の間のブレーカの断)や、その他電圧
が急激に降下する障害(DCブレーカ断など)について
は配慮されておらず、このような障害が発生した場合で
、メモリに書き込みを実行していた最中であった場合、
書き込みが正しく行なわれない状態で終了するとも考え
られる。
[Problems to be Solved by the Invention] The conventional technology is considered to be effective in power outages where the rate of voltage drop is relatively slow, but it is difficult to solve problems caused by a disconnection immediately before the memory tt111JK terminal (for example, when disconnecting from a 200V AC/5V DC power source). There is no consideration given to failures such as failure of a breaker between memory power supply terminals) or other failures that cause a sudden drop in voltage (such as a failure of a DC breaker). If you are in the middle of
It is also conceivable that the process ends without being written correctly.

従って、復旧後もメモリ内容を正しく参照し判断するこ
とが出来ず、後になって当該領域を読み出した時に初め
て読取りエラーや、内容が不確定といった事態を引起こ
し、システムダウンにつながって、結局、膨大な労力を
要して復旧せざるを得ないという問題があった。
Therefore, even after recovery, it is not possible to refer to and judge the memory contents correctly, and when the area is read later, a read error occurs or the contents become uncertain, leading to system downtime. There was a problem in that it required a huge amount of effort to recover.

従って、本発明の目的は、前記従来技術の問題点を除去
し、電源電圧が、ゆっくり降下する場合だけでなく、急
激に降下する場合でもメモリの記憶内容・(ロボットの
動作によりカートリッジを正しい状態に動作させるため
の、指示制御情報)を保証するカートリッジライブラリ
装置のメモリ制御方式を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to eliminate the above-mentioned problems of the prior art, and to maintain the stored contents of the memory and the cartridge in the correct state (by robot operation) even when the power supply voltage drops not only slowly but also rapidly. An object of the present invention is to provide a memory control method for a cartridge library device that guarantees instruction control information for operating the cartridge library device.

[課題を解決するための手段] 上記目的を達成するため、本発明のカートリッジライブ
ラリ装置のメモリ制御方式は、複数のカートリッジの収
納機構および記録再生装置間でカートリッジを選択して
搬送するアクセッサロボットと、このアクセッサロボッ
トの動作(カー1−リッジの動作・状態も含む)を指示
・制御する動作情報(例えば、カートリッジの格納位置
情報、カートリッジ名称、その他、前記各種の付加情報
)を記憶する不揮発性のメモリとを有し、特徴として5
前記メモリに新たな動作情報の書き込みを行なうに当り
(書き替えの際に)、該書き込みの行なわれるエリアの
アドレスおよび旧動作情報を一旦特定エリア(11,1
2)にセーブしく旧動作情報は、メモリの該書き込みの
行なわれるエリアから読み出されて、メモリの該特定エ
リアに移される)、シかる後、該書き込みを行なうよう
に構成する。
[Means for Solving the Problems] In order to achieve the above object, the memory control method of the cartridge library device of the present invention includes a storage mechanism for a plurality of cartridges and an accessor robot that selects and transports cartridges between recording and reproducing devices. , a non-volatile memory that stores operational information (for example, cartridge storage position information, cartridge name, and the various additional information mentioned above) that instructs and controls the operation of this accessor robot (including the operation and status of the cartridge 1). of memory, and has 5 features.
When writing new operation information to the memory (at the time of rewriting), the address of the area where the writing is to be performed and the old operation information are temporarily transferred to a specific area (11, 1
2) The old operation information to be saved is read from the area of the memory where the writing is to be performed and moved to the specific area of the memory), and then the writing is performed.

また、前記旧動作情報の特定エリアへのセーブ後に、メ
モリ更新中フラグ(書込み中フラグ)をメモリ上の所定
エリア(10)に書き込んでから、前記新たな情報の前
記アドレスで示されるエリアへの書き込みを行ない、し
かる後、前記メモリ更新中フラグをリセットする(また
は、前記メモリ更新中フラグと同一エリアに、メモリ更
新終了フラグを書き込む)ように構成する。この一連の
処理は、プログラム上のサブルーチンとし、書き込み指
示を行なう上位プログラムの負担を軽減させるように構
成することができる。
Furthermore, after the old operation information is saved to a specific area, a memory update flag (writing flag) is written to a predetermined area (10) on the memory, and then the new information is saved to the area indicated by the address. The memory update flag is written and then the memory update flag is reset (or a memory update end flag is written in the same area as the memory update flag). This series of processing can be configured as a subroutine on the program to reduce the burden on the higher-level program that issues write instructions.

なお、次の電源投入などで、プログラムが先頭から走る
場合に、イニシャライズ処理等で、以下の処理を行なう
。まず、上記メモリ上の特定領域内のメモリ書き込み中
フラグを読み出し、その内容が「書込み中でない」場合
はメモリの復旧に関しては何もせずに通常処理を行なう
(この通常処理は、ライブラリ装置が上位CPUからの
コマンドを受付は可能な状態、上位CPUからの処理待
ち状態、いわゆるREADY状態とすることをいう)、
また、「書込み中」であった場合には、上記書込み処理
中に電源断が発生したと判断し、予めセーブしておいた
アドレスと旧データを元に。
Note that when the program is run from the beginning when the power is turned on next time, the following processing is performed during initialization processing, etc. First, the memory writing flag in the specific area on the memory is read, and if the flag indicates "not writing", normal processing is performed without doing anything to restore the memory (this normal processing is performed by the library device at the higher level). A state in which it is possible to accept commands from the CPU, a state in which it is waiting for processing from a higher-level CPU, a so-called READY state),
If it is "writing in progress", it is determined that a power outage has occurred during the writing process, and based on the address and old data saved in advance.

当該領域に対し旧データを書き込み、書込み中フラグを
リセットして通常処理へ移行する。また。
The old data is written to the area, the writing flag is reset, and the process returns to normal processing. Also.

「書込み中」フラグが読出しエラーもしくは、内容が「
書込み中」あるいはr書込み中でないJのいずれにも該
当しない場合は[書込み中」フラグの書込み時に電源断
になったと判断し、「書込み中」フラグのみをリセット
して通常処理へ移行する。
The "Writing" flag indicates a read error or the content is "
If it does not correspond to either "Writing" or "R", which is not writing, it is determined that the power was cut off when the "Writing" flag was written, and only the "Writing" flag is reset to proceed to normal processing.

以上のような、メモリ書込み時の処理と電源投入時の処
理を特徴としたものである。
The above-mentioned features include processing during memory writing and processing when power is turned on.

[作用] 上記構成に基づく作用を説明する。[Effect] The effect based on the above configuration will be explained.

本発明によれば、アクセッサロボットの動作情報記憶用
のメモリにデータを書き込む時に(データ更新時に)、
旧データとそのアドレスを必す特定エリアにセーブして
から更新を行なうので、更新中に予期せぬ電源断や、急
激な電圧降下のため。
According to the present invention, when writing data to the memory for storing operation information of the accessor robot (when updating data),
Since the old data and its address are saved in a specific area before the update is performed, unexpected power outages or sudden voltage drops may occur during the update.

メモリにデータが正しく書き込まれていない状態が発生
しても、旧データの破壊・消失を防ぎ、メモリ内容を保
証することができる。これによって。
Even if a situation occurs in which data is not correctly written to the memory, destruction or loss of old data can be prevented and the memory contents can be guaranteed. by this.

電源復旧時には、メモリ上のデータを@源断の直前の状
態に戻すことができる。
When the power is restored, the data in memory can be returned to the state immediately before the power was cut off.

また、新データのメモリへの書込み時に、前記アドレス
と旧データを特定領域にセーブした後、メモリ更新中(
書込み中)フラグをセットし指示されたデータを該アド
レスで示される領域に書込み、その後メモリ更新中フラ
グをリセットするよう側ニ構成したので1次の電源投入
時、「メモリ更新中フラグ」の内容を確認することで、
電源断となった時のメモリ書込みが正しく行なわれたか
どうかを判別でき、正しく行なわれなかった場合には旧
データを戻す処理等により、電源断直前の状態に戻すこ
とが可能である。従って、電源断時メモリにデータが正
しく書き込まれていない状態であっても、電源投入時に
自動的に復旧できるので、メモリの内容が不確定になる
ことはない。
Also, when writing new data to memory, after saving the address and old data in a specific area, during memory update (
Since I configured the side to set the "Writing" flag, write the specified data to the area indicated by the address, and then reset the memory updating flag, the contents of the "memory updating flag" when the primary power is turned on. By checking the
It is possible to determine whether memory writing was performed correctly when the power was turned off, and if it was not written correctly, it is possible to return to the state immediately before the power was turned off by processing to restore old data. Therefore, even if data is not correctly written in the memory when the power is turned off, it can be automatically restored when the power is turned on, so that the contents of the memory will not become uncertain.

[実施例] 以下に、本発明の一実施例を図面を用いて説明する。[Example] An embodiment of the present invention will be described below with reference to the drawings.

第1図は1本発明の実施例のカートリッジライブラリ装
置の構成図で、1はカートリッジライブラリ装置、2は
上位CPU、3は磁気テープ制御装置(MTC)、4は
ライブラリ制御装置1(ALC)、5は不揮発化メモリ
(LCM、例えば、バッテリやコンデンサによりバック
アップされたメモリで、停電時にも記憶データが消失し
ないことが保証されている)、6はアクセッサロボット
制御装置(ADtJ) 、7はカートリッジ収納槽、8
はアクセッサロボット(AC) 、9は磁気テープ装置
(MTU)である。
FIG. 1 is a configuration diagram of a cartridge library device according to an embodiment of the present invention, in which 1 is a cartridge library device, 2 is a host CPU, 3 is a magnetic tape controller (MTC), 4 is a library controller 1 (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 outage), 6 is an accessor robot control device (ADtJ), and 7 is a cartridge storage Tank, 8
9 is an accessor robot (AC), and 9 is a magnetic tape unit (MTU).

上位CPU2からライブラリ制御装置(ALC)4に対
し、カートリッジ収納IflI7内の選択されたカート
リッジを、指示された磁気テープ制御装置(MTU)9
にマウントする命令がくると、ALC4は、不揮発化メ
モリ(LCM)5を参照し、カートリッジ格納位置を調
べて、ロボット制御装置(ADU)6に対し、M ”l
’ tJ 9にマウントする指令を出す、ADU6は、
アクセッサロボット8を起動して、所定の位置からカー
トリッジを取り出し、MTU9にカートリッジをマウン
トする。
The upper CPU 2 requests the library control unit (ALC) 4 to transfer the selected cartridge in the cartridge storage IflI 7 to the designated magnetic tape control unit (MTU) 9.
When a command to mount the cartridge is received, the ALC 4 refers to the non-volatile memory (LCM) 5, checks the cartridge storage position, and instructs the robot control unit (ADU) 6 to mount the cartridge.
' ADU6 issues a command to mount on tJ9,
The accessor robot 8 is started, the cartridge is taken out from a predetermined position, and the cartridge is mounted on the MTU 9.

同時に、ALC4は、LCM5内に、該カートリッジが
移動しているという付加情報等を記憶させる。このよう
にして、各カートリッジの状態や八〇8の状態などを随
時LCM5に反映させながら、動作して行く。
At the same time, the ALC 4 stores in the LCM 5 additional information indicating that the cartridge is moving. In this way, the operation continues while the status of each cartridge and the status of the 808 are reflected on the LCM 5 at any time.

第2図は、上述したLCM5の記憶内容を簡略化して示
した図で、領域51と52を有している。
FIG. 2 is a simplified diagram showing the storage contents of the LCM 5 described above, which has areas 51 and 52.

領域51は、カートリッジやアクセッサロボットAC8
の状態を管理するカートリッジ/ロボット情報部で、こ
こには、上記第1図や上記[従来技術]で述べた各種の
指示・制御・動作情報データが格納される。領域52は
1本実施例の特徴として設けたデータセーブエリアで、
該データセーブエリア52は、書込み中フラグ(メモリ
更新中フラグ)をコードで示すエリア10.1込みアド
レスをセーブするエリア11.および、旧データをセー
ブするエリア12を持っている。尚、LCM5はバッテ
リ13により不揮発化されている。また、第1図は、A
LC4,ADU6.LCM5゜MTC3,AC8がそれ
ぞれ1台、MTU9は4台の場合を図示しているが、そ
れらの員数は特に規定しない。
Area 51 contains cartridges and accessor robot AC8.
The cartridge/robot information section manages the status of the robot, and stores various kinds of instruction/control/operation information data described in FIG. 1 and [Prior Art] above. Area 52 is a data save area provided as a feature of this embodiment.
The data save area 52 includes an area 10.1 which indicates a writing flag (memory update flag) in code, and an area 11.1 which saves the write address. It also has an area 12 for saving old data. Note that the LCM 5 is made non-volatile by the battery 13. In addition, Fig. 1 shows A
LC4, ADU6. The figure shows a case where there are one each of LCM5°MTC3 and AC8, and four MTU9, but the number of them is not particularly defined.

次に、LCM5のデータセーブエリア5.2の制御方法
について説明する。
Next, a method of controlling the data save area 5.2 of the LCM 5 will be explained.

まず、LCM5に対し書き込みを行なう時は。First, when writing to LCM5.

指示されたアドレスで示される現在の内容(旧データ)
を領域51から読み取る。次に、読み取った内容と指示
アドレスをそれぞれ旧データセーブエリア12とアクセ
スアドレスセーブエリア11に書き込む。その後、書込
み中フラグエリアに「書込み中1を示す特定コードを書
き込む。次に。
Current contents indicated by the indicated address (old data)
is read from area 51. Next, the read contents and the designated address are written into the old data save area 12 and the access address save area 11, respectively. After that, write a specific code indicating "Writing 1" in the writing flag area.Next.

領域51の指示アドレスに対して、指示されたデータ(
カートリッジの状態データ等)を書き込んでから、エリ
アlOの「書込み中」フラグをリセットしくすなわち、
書込み中ではないことを示す特定コードの書込み終了信
号を書き込んで)書き込みにまつわる一連の処理を終了
する。尚、本処理はメモリ書込み毎に行なうので、サブ
ルーチン化して実施することによりメインプログラムで
の負担を減らすようにしても良い。なお、書き替えるデ
ータの単位(1回に書き込むデータの量)は、動作モー
ド毎である。
The specified data (
After writing (cartridge status data, etc.), reset the "writing" flag in area IO.
A series of processing related to writing is completed by writing a write end signal of a specific code indicating that writing is not in progress. Note that since this process is performed every time memory is written, it may be implemented as a subroutine to reduce the burden on the main program. Note that the unit of data to be rewritten (the amount of data written at one time) is for each operation mode.

次に、電源断後の電源投入時の処理について説明する。Next, processing when the power is turned on after the power is turned off will be explained.

電源が投入されると、装置の自己診断等の処理を行なっ
た後、LCM5に関して次に示す処理を1回行なう。
When the power is turned on, after performing processing such as self-diagnosis of the device, the following processing is performed once regarding the LCM 5.

まず、書込み中フラグエリア10を読み出し、その内容
コードが「書込み中でない」であった場合、L CM 
5に関しての処理は何もしない。すなわち、書込み中の
電源断は無かったものと判断し。
First, the writing flag area 10 is read, and if the content code is "not writing", L CM
No processing is performed regarding 5. In other words, it is assumed that the power was not cut off during writing.

通常処理へ移行する。上記エリア10が「書込み中」で
あった場合は、アクセスアドレスセーブエリアで示され
るエリアを書込み中に電源断したものと判断し、旧デー
タセーブエリア12の内容を前記アドレスで示されるエ
リアに書き込んで、書込み中フラグエリア10をリセッ
トしく電源断直前の状態に戻す)1通常処理へ移行する
Shift to normal processing. If the above area 10 is "writing", it is determined that the power was cut off while writing to the area indicated by the access address save area, and the contents of the old data save area 12 are written to the area indicated by the address. Then, the writing flag area 10 is reset and returned to the state immediately before the power was turned off.) 1) The program moves to normal processing.

次に、書込み中フラグエリア10の内容が「書込み中」
あるいは「書込み中でない」のいずれでもない場合、又
は、上記エリア読出し時にデータパリティ−エラー等が
検出された場合には、[!F込み中フラグjを書込み中
に電源断が発生したと判断し、書き込みを行なう予定で
あったエリアはアクセスしていないので、単に「書込み
中フラグ」をリセットして通常処理に移行する。
Next, the content of the writing flag area 10 is "Writing".
Or, if neither is "Writing in progress", or if a data parity error, etc. is detected when reading the above area, [! It is determined that the power has been cut off while writing the F writing flag j, and since the area to which writing was scheduled has not been accessed, the ``writing flag'' is simply reset and normal processing is started.

このように、LCM5書込み時に、旧データとアドレス
及び書込み中であったかどうかを示すフラグを記憶する
ので、次の!tt源投大投入時過去に電源断が発生した
かどうかを判別することが可能となり、旧データを戻す
処理等を行なうことにより、メモリの内容を保証し、不
確定データをυト除できる。従って電源断によるメモリ
内容の復111や、ロボットが保持したままのカートリ
ッジや、MTU9内に残留したカートリッジの収納機7
への戻し作業を人手を介さずにシステム内で自動的に行
なえることになる。
In this way, when writing to LCM5, the old data, address, and flag indicating whether writing is in progress are stored, so the next! It is possible to determine whether a power outage has occurred in the past when the power is turned on, and by performing processing to return old data, the contents of the memory can be guaranteed and uncertain data can be eliminated. Therefore, there is no need to restore the memory contents due to a power outage 111, or to store cartridges still held by the robot or cartridges remaining in the MTU 9.
This means that the restoration work can be done automatically within the system without human intervention.

なお、本発明はカートリッジライブラリ装置のみではな
く、不揮発化メモリを用いているシステムにも同様に適
用が考えられる。
Note that the present invention can be applied not only to cartridge library devices but also to systems using nonvolatile memory.

なお、停電等で書き込みできなかった新データの入れ直
しは、主として上位CPUの制御下で行なわれ、例えば
、カートリッジ名称書込み(■CPUからデータ受取り
、■LCMに順次データ書込み、■CPUに書込み終了
報告)の場合、■の途中でi!電源断なると、■の報告
がないので、電源復帰後、CPUはもう一度■〜■を実
施する。
In addition, re-insertion of new data that could not be written due to a power outage etc. is mainly performed under the control of the host CPU. ), in the middle of ■, i! When the power is turned off, there is no report of ``■'', so after the power is restored, the CPU performs ``■'' to ``■'' again.

それ以外のデータ(カートリッジの存在場所など)の入
れ直しは、ライブラリ装置内で行なわれる。
Other data (such as cartridge location) is reloaded within the library device.

なお、また、停電等のためロボットが途中で止まっても
、それまでのシーケンスが不揮発化メモリLCMに記憶
されているので、それを基に、電源復帰後には継続した
動作が可能なように回復される。これらの事項は2本発
明と直接関係がないので、詳しくは述べない。
Furthermore, even if the robot stops midway due to a power outage, etc., the sequence up to that point is stored in the non-volatile memory LCM, so it can be used to resume operation after the power is restored. be done. Since these matters are not directly related to the present invention, they will not be described in detail.

[発明の効果] 以上詳しく説明したように、本発明によれば。[Effect of the invention] As explained in detail above, according to the present invention.

カートリッジの選択、搬送を制御するアクセッサロボッ
ト等の動作・指示情報のメモリの書き替えの際に、旧情
報およびそのアドレスを必ず一旦特定エリアにセーブす
るように構成したので、予期しない電源断や停電による
急激な電圧降下が起きた場合は勿論、制御論理段のDC
電源断等、色々な障害が発生した場合でも、このメモリ
の内容を保証でき、その結果、電源投入後の処理を混乱
や誤りなく、円滑かつ自動的に行なうことができる等、
優れた効果を奏する。
When rewriting the memory of the operation/instruction information of the accessor robot, etc. that controls cartridge selection and transport, the old information and its address are always saved in a specific area, so there is no need to worry about unexpected power outages or power outages. Of course, if a sudden voltage drop occurs due to
The contents of this memory can be guaranteed even if various failures occur, such as a power outage, and as a result, processing after power is turned on can be performed smoothly and automatically without confusion or errors.
It has excellent effects.

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

第1図は本発明の一実施例によるカートリッジライブラ
リ装置の概略構成図、第2図は不揮発化メモリの内容を
示した図である。 1・・・・・・カートリッジライブラリ装置、2゛−°
−h位CPU、3・・・・・・磁気テープ制御装置、4
・・・・・・ライブラリ制御装置、5・・・・・不揮発
化メモリ、6“・。 ・アクセッサロボット制御装置、7・・・・・・カーI
−リッジ収納棚、8・・・・・・アクセッサロボット、
9・・・・・磁気テープ装置、10・・・・・・書込み
中フラグエリア。 11・・・・・・アクセスアドレスセーブエリア、12
・・・・・旧データセーブエリア、51・・・・・カー
トリッジ/ロボット情報部エリア、52・・・・・・デ
ータセーブエリア。 第1(!1 112 図
FIG. 1 is a schematic configuration diagram of a cartridge library device according to an embodiment of the present invention, and FIG. 2 is a diagram showing the contents of a nonvolatile memory. 1...Cartridge library device, 2゛-°
-h CPU, 3...Magnetic tape control device, 4
...Library control device, 5...Non-volatile memory, 6". -Accessor robot control device, 7...Car I
-Ridge storage shelf, 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 department area, 52 ... Data save area. 1st (!1 112 fig.

Claims (1)

【特許請求の範囲】 1、カートリッジに格納した記録媒体にデータの記録再
生を行なう記録再生装置と、複数のカートリッジを収納
するカートリッジ収納機構と、前記カートリッジ収納機
構および記録再生装置の間で、選択されたカートリッジ
を搬送するアクセツサロボツトと、前記アクセツサロボ
ツトの動作を指示する動作情報を記憶する不揮発性のメ
モリとを有するカートリッジライブラリ装置において、
前記メモリに新たな動作情報の書き込みを行なうに当り
、該書き込みの行なわれるエリアのアドレスおよび旧動
作情報を一旦特定エリアにセーブした後、該書き込みを
行なうように構成したことを特徴とするカートリッジラ
イブラリ装置のメモリ制御方式。 2、前記メモリに前記新たな動作情報の書き込みを行な
うに当り、前記セーブを行なつた後、さらにメモリ更新
中フラグを前記メモリに書き込み、その後、前記新たな
動作情報を前記アドレスで示されるエリアに書き込んで
から、前記メモリ更新中フラグをリセットするように構
成したことを特徴とする請求項1記載のカートリッジラ
イブラリ装置のメモリ制御方式。
[Scope of Claims] 1. A recording and reproducing device that records and reproduces data on a recording medium stored in a cartridge, a cartridge storage mechanism that stores a plurality of cartridges, and a selection method between the cartridge storage mechanism and the recording and reproducing device. A cartridge library device comprising: an accessor robot that transports a loaded cartridge; and a nonvolatile memory that stores operation information that instructs the operation of the accessor robot.
A cartridge library characterized in that, when writing new operational information to the memory, the address of the area where the writing is to be performed and the old operational information are once saved in a specific area, and then the writing is performed. Device memory control method. 2. When writing the new operation information to the memory, after performing the save, a memory update flag is further written to the memory, and then the new operation information is written to the area indicated by the address. 2. The memory control system for a cartridge library apparatus according to claim 1, wherein the memory updating flag is reset after the memory update flag is written.
JP1137431A 1989-06-01 1989-06-01 Memory control system for cartridge library Expired - Fee Related JPH0786995B2 (en)

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 true JPH035950A (en) 1991-01-11
JPH0786995B2 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040160906A1 (en) 2002-06-21 2004-08-19 Aware, Inc. Multicarrier transmission system with low power sleep mode and rapid-on capability

Also Published As

Publication number Publication date
JPH0786995B2 (en) 1995-09-20

Similar Documents

Publication Publication Date Title
US8549237B2 (en) Method and apparatus for use in data transfer
US7561372B2 (en) System and method for writing data to magnetic tape
JPH01231150A (en) Method and device for controlling backup data dump
JP2000112831A (en) Disk recording/reproducing method and device therefor
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
US20050033933A1 (en) Systems and methods for modifying disk drive firmware in a raid storage system
US7191365B2 (en) Information recorder and its control method
US7177108B2 (en) Emulation of auxiliary memory
JPH035950A (en) Memory control system for cartridge library device
JP2002074903A (en) Magnetic recording and reproducing device and magnetic recording and reproducing method
JPH04229451A (en) Method for controlling cartridge library device
JPH0423118A (en) Accessor control system for library device
JP2000137584A (en) Controller for external storage device, method for substituting defective block and storage medium storing defective block substitution control program
JPS6160149A (en) Control system for block identification number
JPH11212736A (en) Optical disk array library device
JP2000048439A (en) Library device
JPH03134728A (en) Drive fault processing method for large capacity storage device
JPH02113467A (en) Disk control system
JPH06168076A (en) Accessor of library device and it position information restoration method
JPH0384778A (en) Data check retrial system
JPH0338716A (en) Peripheral controller
JPH07129208A (en) Numerical control unit
JPH04172648A (en) Managing method for reserve cell of mass storage device
JPH09288646A (en) Data recorder for flash memory of portable information processing system
JPH04174019A (en) Alternation processing method of accessor control part

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees