JPH02280250A - Method for switching control system - Google Patents

Method for switching control system

Info

Publication number
JPH02280250A
JPH02280250A JP1102554A JP10255489A JPH02280250A JP H02280250 A JPH02280250 A JP H02280250A JP 1102554 A JP1102554 A JP 1102554A JP 10255489 A JP10255489 A JP 10255489A JP H02280250 A JPH02280250 A JP H02280250A
Authority
JP
Japan
Prior art keywords
control
system switching
switching
library
command
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
JP1102554A
Other languages
Japanese (ja)
Other versions
JPH0795281B2 (en
Inventor
Manabu Yamagata
学 山形
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 JP1102554A priority Critical patent/JPH0795281B2/en
Publication of JPH02280250A publication Critical patent/JPH02280250A/en
Publication of JPH0795281B2 publication Critical patent/JPH0795281B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To properly execute a system switching operation by providing a system switching control means to switch a control system based on a first instruction from a first or second controller in a standby. CONSTITUTION:A high order device 1 issues a second instruction to a second or first controller 4 or 2 in the standby by the chance of the reception of error generation information from the first or second controller 2 or 4 in the middle of operation or an instruction from an external part. The first or second controller 2 or 4 issues a first instruction to a system switching control means 3 by the chance of the second instruction, and it starts the system switching operation. Thus, the execution of the system switching operation to be mistaken due to the malfunction of the first or second controller 2 or 4 can be surely prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、制御系切り替え技術に関し、特に、情報処理
システムにおける多重化された制御系の切り替え技術に
適用して効果のある技術に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control system switching technique, and particularly to a technique that is effective when applied to a technique for switching multiplexed control systems in an information processing system.

〔従来の技術〕[Conventional technology]

たとえば、汎用の電子計算機システムなどのような情報
処理システムにおいては、中央処理装置およびこの中央
処理装置に代わって主記憶と外部との情報の授受を制御
するチャネル装置などに接続される外部記憶装置および
その制御装置などを複数系統にし、一つの系統で障害が
発生した場合には他の系統に動作を切り替えるようにし
て、障害発生時などに外部記憶装置全体が稼働停止に陥
ることを回避することが知られている。
For example, in an information processing system such as a general-purpose computer system, an external storage device is connected to a central processing unit and a channel device that controls the exchange of information between the main memory and the outside on behalf of the central processing unit. and its control devices, etc., so that if a failure occurs in one system, the operation is switched to another system to avoid the entire external storage device from stopping in the event of a failure. It is known.

ところで、このような技術としては、従来、特開昭61
−166644号公報に開示される技術が知られている
By the way, such technology has been developed in Japanese Unexamined Patent Publication No. 1983
A technique disclosed in Japanese Patent No. 166644 is known.

その概要は、ファイルメモリ群を介して疎結合された複
数系統の制御システムの間に通信手段を設け、特定のフ
ァイルメモリにおけるエラーを検出した制御システムか
ら他の制御システムに対して当該ファイルメモリの切り
離しおよび接続状態の再構成を通知することにより、複
数系統の制御システムとファイルメモリ群によるシステ
ム構成の動的な変更を可能にしよう、とするものである
The outline is that a communication means is provided between multiple control systems that are loosely coupled via a group of file memories, and a control system that detects an error in a specific file memory communicates with other control systems about the error in that file memory. By notifying the disconnection and reconfiguration of the connection state, it is possible to dynamically change the system configuration using multiple control systems and file memory groups.

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

ところが、上記の従来技術の場合には、特定のファイル
メモリにおけるエラーの検出情報が、制御システム自体
のエラーによって発生した場合には、当該ファイルメモ
リにおける入出力動作は正常で他系からの入出力処理が
正常に行われているにも関わらず、エラー発生と見なさ
れたファイルメモリへの入出力処理が強制的に打ち切ら
れてしまい、システムを構成するハードウェア資源の利
用効率が低下するという問題がある。
However, in the case of the above-mentioned conventional technology, if the error detection information in a specific file memory is caused by an error in the control system itself, the input/output operation in the file memory is normal and input/output from other systems is not detected. A problem in which input/output processing to file memory that is deemed to have caused an error is forcibly aborted even though the processing is being performed normally, resulting in a decrease in the efficiency of use of the hardware resources that make up the system. There is.

また、特定のファイルメモリにおけるエラーの検出時に
、直ちに前述のような当該ファイルメモリへの入出力処
理の打ち切りおよびシステムからの切り離しが行われる
ため、他の系から当該ファイルメモリに対してデータの
書き込み中であった場合には、データの破壊や喪失を生
じるなど、種々の問題がある。
In addition, when an error is detected in a specific file memory, the input/output processing to the file memory is immediately terminated and the system is disconnected as described above, so data cannot be written to the file memory from other systems. If it is inside, there are various problems such as destruction or loss of data.

そこで、本発明の目的は、多重化された制御系における
系切り替え操作を的確に行うことが可能な制御系切り替
え技術を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a control system switching technique that enables accurate system switching operations in multiplexed control systems.

本発明の他の目的は、多重化された制御系における保守
管理を容易に行うことが可能な制御系切り替え技術を提
供することにある。
Another object of the present invention is to provide a control system switching technique that allows easy maintenance and management of multiplexed control systems.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述および添付図面から明らかになるであろう
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

ホーにおいて開示される発明のうち、代表的なものの概
要を簡単に説明すれば、下記のとおりである。
A brief overview of typical inventions disclosed in Ho is as follows.

すなわち、本発明になる制御系切り替え方式は、上位装
置と下位装置との間に介在し、上位装置からの指令に基
づいて下位装置の制御動作を互いに独立に行う第1およ
び第2の制御装置と、この第1および第2の制御装置に
よって共用され、記憶内容が同一に維持される第1およ
び第2のメモリとからなり、第1および第2の制御装置
の一方が稼働状態にある時には他方を待機状態とすると
ともに、随時、双方の稼働状態および待機状態を切り替
えるように多重化された制御系において、待機中の第1
または第2の制御装置からの第1の指令に基づいて制御
系の切り替えを行う系切り替え制御手段を設けものであ
る。
That is, the control system switching method according to the present invention includes first and second control devices that are interposed between a higher-level device and a lower-level device and perform control operations for the lower-level devices independently of each other based on commands from the higher-level device. and first and second memories that are shared by the first and second control devices and whose storage contents are maintained the same, and when one of the first and second control devices is in an operating state. In a control system that is multiplexed so that the other is placed in a standby state and the two are switched between an operating state and a standby state at any time, one
Alternatively, system switching control means for switching the control system based on the first command from the second control device is provided.

〔作用〕[Effect]

上記した本発明の制御系切り替え方式によれば、たとえ
ば下位装置は、稼働中の第1または第2の制御装置から
のエラー発生情報または外部からの指示の受領を契機と
して第2の指令を待機中の第2または第1の制御装置に
発行し、待機中の第1または第2の制御装置は、この第
2の指令を契機として系切り替え制御手段に第1の指令
を発行して系切り替え操作を開始することで、第1また
は第2の制御装置の誤動作などに起因して誤った系切り
替え操作が行われることが確実に防止される。
According to the control system switching method of the present invention described above, for example, the lower-level device waits for the second command upon receiving error occurrence information from the operating first or second control device or an instruction from the outside. The first or second control device in standby issues the first command to the system switching control means using this second command as a trigger, and performs system switching. Starting the operation reliably prevents an erroneous system switching operation from being performed due to a malfunction of the first or second control device.

また、系切り替え制御手段に設けられた切り替え要求受
付回路およびタイマ回路などの動作により、稼働中の前
記第2または第1の制御装置に対して系切り替え予告信
号を発行して、第1および第2のメモリに対する書き換
え動作を完結させた後に、実際の系切り替え操作が実行
されるので第1ふよび第2のメモリに記憶される情報の
破壊などが確実に防止される。
Further, by the operation of a switching request receiving circuit, a timer circuit, etc. provided in the system switching control means, a system switching notice signal is issued to the second or first control device in operation, and the first and second control devices are activated. Since the actual system switching operation is executed after the rewrite operation for the second memory is completed, destruction of information stored in the first and second memories is reliably prevented.

これにより、多重化された制御系における系切り替え操
作を的確に行うことができる。
Thereby, system switching operations in multiplexed control systems can be performed accurately.

また、外部から意図的に上位装置に対して第2の指令を
待機中の第2または第1の制御装置に発行させることに
より、随時、任意の制御系を待機状態にすることが可能
となり、多重化された制御系における保守管理を容易に
行うことができる。
Furthermore, by intentionally issuing a second command to the host device from the outside to the second or first control device in standby, it becomes possible to put any control system into a standby state at any time. Maintenance and management of multiplexed control systems can be easily performed.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を参照しながら詳細に説
明する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例である制御系切り替え方式
を実現する回路構成の一例を示すブロック図であり、第
2図は、本実施例の制御系切り替え方式が適用される情
報処理システムの要部の一例を示すブロック図、さらに
第3図は、本実施例の制御系切り替え方式の作用の一例
を示すタイミングチャートであり、第4図は、情報処理
システムの外部記憶装置として用いられるカートリッジ
型磁気テープライブラリ装置の構成の一例を示す概念図
である。
FIG. 1 is a block diagram showing an example of a circuit configuration for realizing a control system switching method according to an embodiment of the present invention, and FIG. 2 is a block diagram showing an information processing system to which the control system switching method according to the present embodiment is applied. FIG. 3 is a block diagram showing an example of the main parts of the system, and FIG. 3 is a timing chart showing an example of the operation of the control system switching method of this embodiment. FIG. FIG. 2 is a conceptual diagram showing an example of the configuration of a cartridge type magnetic tape library device.

まず、第4図を参照しながら、カートリッジ型磁気テー
プライブラリ装置の構成の概略を説明する。
First, with reference to FIG. 4, the outline of the configuration of the cartridge type magnetic tape library device will be explained.

本実施例のカートリッジ型磁気テープライブラリ装置(
下位装置)は、記憶媒体である複数の図示しないカート
リッジ型磁気テープが個別に収容される複数のセル13
aを備えたライブラリ棚13と、実際にカー)+1ツジ
型磁気テープを駆動して情報の記録・再生動作を行うテ
ープ駆動装置14と、両者の間を移動して、目的のカー
トリッジ型磁気テープをテープ駆動装置14に装填した
り、逆に用済のカートリッジ型磁気テープをライブラリ
棚13における元の収納位置に戻すなどの搬送動作を行
う搬送ロボット12とを備えている。
Cartridge type magnetic tape library device of this embodiment (
The lower device) includes a plurality of cells 13 in which a plurality of cartridge-type magnetic tapes (not shown), which are storage media, are individually housed.
A library shelf 13 equipped with a cartridge-type magnetic tape, and a tape drive device 14 that actually drives a cartridge-type magnetic tape to record and reproduce information. The library includes a transport robot 12 that performs transport operations such as loading a used cartridge-type magnetic tape into a tape drive device 14 and returning a used cartridge-type magnetic tape to its original storage position on a library shelf 13.

この搬送ロボット12は、たとえばマイクロプロセッサ
などからなり互いに等価な制御動作を行う複数のライブ
ラリ制御装置2およびライブラリ制御袋ff14によっ
て動作が制御されている。
The operation of the transport robot 12 is controlled by a plurality of library control devices 2 and a library control bag ff14, each of which is composed of, for example, a microprocessor and performs mutually equivalent control operations.

さらに複数のライブラリ制御装置2および4は、インタ
ーフェイス線7を介して、たとえば、汎用の電子計算機
などの中央処理装置および当該中央処理装置の代わりに
主記憶と外部との情報の授受を制御するチャネル装置な
どからなる上位装置1に接続されており、その指令に基
づいて搬送口ボッ)12などの動作を適宜制御するよう
になっている。
Further, the plurality of library control devices 2 and 4 are connected via an interface line 7 to a central processing unit such as a general-purpose computer, and a channel that controls the exchange of information between the main memory and the outside on behalf of the central processing unit. It is connected to a host device 1 consisting of devices, etc., and the operations of the transport port 12 and the like are appropriately controlled based on the commands thereof.

ライブラリ制御装置t2によび4には、アクセス線10
およびアクセス線11を介して当該ライブラリ制御装置
2および4によって共有され、記憶内容が一致するよう
に同時に更新される互いに独立な複数のライブラリ管理
メモリ5およびライブラリ管理メモリ6が接続されてい
る。
Library controllers t2 and 4 have access lines 10
A plurality of mutually independent library management memories 5 and 6, which are shared by the library control devices 2 and 4 and updated simultaneously so that their stored contents match, are connected via an access line 11.

このライブラリ管理メモリ5および6には、予めシステ
ムの初期設定時などに上位装置1から与゛えられ、個々
のカートリッジ型磁気テープの識別番号V S Nとそ
のライブラリ棚13における格納位置を示すセルアドレ
スとの対応関係や、現在の搬送ロボット12の位置や動
作状態などの管理情報が格納されている。
The library management memories 5 and 6 contain cells that are given in advance from the host device 1 at the time of system initialization, and that indicate the identification number V S N of each cartridge-type magnetic tape and its storage position on the library shelf 13 . Management information such as correspondence with addresses and the current position and operating state of the transfer robot 12 is stored.

そして、ライブラリ制御装置2および4は、上位装置1
からの指令に基づいて、このような管理情報を随時参照
しながら適宜搬送ロボット12の搬送動作を制御し、目
的の図示しないカー) +Jッジ型磁気テープのテープ
駆動装置14への装填動作を行わせたり、逆に、用済の
カートリッジ型磁気テープをライブラリ棚の元のセル1
3aに収納させるなどの制御動作を行うとともに、時々
刻々変化するライブラリ棚13の状況や搬送ロボット1
2の位置などの管理情報の変化に応じて、ライブラリ管
理メモリ5および6の記憶内容を更新するなどの動作を
行うものである。
The library control devices 2 and 4 are connected to the host device 1.
Based on commands from the controller, the transport operation of the transport robot 12 is controlled as appropriate while referring to such management information from time to time, and the loading operation of the target car (not shown) + J-type magnetic tape into the tape drive device 14 is performed. Alternatively, you can store used cartridge-type magnetic tapes in their original cell 1 on the library shelf.
In addition to performing control operations such as storage in the library shelves 13 and the constantly changing status of the library shelves 13 and the transfer robot 1
It performs operations such as updating the storage contents of the library management memories 5 and 6 in response to changes in management information such as the location of the library management memories 5 and 6.

なお、互いに等価な制御動作を行う複数のライブラリ制
御装置2および4のうち、一方のライブラリ制御装置2
または4は前述のような制御動作を行う稼働状態にされ
、他方のライブラリ制御装置f4または2は直ちに制御
動作を開始することが可能な待機状態にされており、た
とえば稼働状態のライブラリ制御装置2または4に障害
が発生した場合には待機状態にあるライブラリ制御装置
4または2に制御動作を切り替えることにより、通常の
制御動作を継続させるものである。
Note that among the plurality of library control devices 2 and 4 that perform mutually equivalent control operations, one library control device 2
or 4 is put into an active state to perform the control operation as described above, and the other library control device f4 or 2 is put into a standby state where it can immediately start a control operation. Alternatively, if a failure occurs in the library control device 4 or 2, the control operation is switched to the library control device 4 or 2 in a standby state, thereby allowing the normal control operation to continue.

このため、両者の状態を適切に切り替えることが必要と
なるが、本実施例の場合、ライブラリ制御装置2とライ
ブラリ制御装置4との間には、第2図に示されるように
制御線8および制御線9を介して系切り替え制御手段3
が介設されており、待機中のライブラリ制御装置2また
は4から制御線8または9を介して発行される系切り替
え指令の受領を契機として、この系切り替え制御手段3
から稼働中のライブラリ制御装置4または2に発行され
る系切り替え予告信号および系切り替え実行信号によっ
て切り替え操作が行われるようになっている。
For this reason, it is necessary to appropriately switch the states of both, but in the case of this embodiment, a control line 8 and a System switching control means 3 via control line 9
is provided, and this system switching control means 3 is triggered by receiving a system switching command issued from the standby library control device 2 or 4 via the control line 8 or 9.
The switching operation is performed by a system switching notice signal and a system switching execution signal that are issued to the library control device 4 or 2 in operation.

すなわち、系切り替え制御手段3は、たとえば、第1図
に示されるように、ライブラリ制御装置2および4の各
々からの系切り替え指令であるスイッチストローブ信号
ASWSTB−P、スイッチイネーブル信号ASWEN
−Pおよびスイッチストローブ信号BSWSTB−P、
スイッチイネーブル信号BSWEN−Pが、論理ゲート
3hおよび3jを介してそれぞれ入力される切り替え要
求検出回路3aおよび切り替え要求検出回路3bを備え
ている。
That is, as shown in FIG. 1, the system switching control means 3 receives the switch strobe signal ASWSTB-P, which is a system switching command from each of the library control devices 2 and 4, and the switch enable signal ASWEN, for example.
-P and switch strobe signal BSWSTB-P,
A switching request detection circuit 3a and a switching request detection circuit 3b are provided, to which a switch enable signal BSWEN-P is inputted via logic gates 3h and 3j, respectively.

さらにこの切り替え要求検出回路3aおよび3b各々か
ら出力される論理信号は、論理ゲート3kを介して後段
の切り替え要求受付回路3Cに入力され、この切り替え
要求受付回路3Cは、切り替え要求検出回路3aまたは
3bからの前記論理信号の入力を契機として、ライブラ
リ制御装置2への系切り替え予告信号ΔMATEREQ
−Nおよびライブラリ制御装置4への系切り替え予告信
号BMATEREQ−Nを送出するようになっている。
Further, the logic signals output from each of the switching request detection circuits 3a and 3b are inputted to the subsequent switching request receiving circuit 3C via the logic gate 3k, and this switching request receiving circuit 3C is connected to the switching request detecting circuit 3a or 3b. Triggered by the input of the logic signal from
-N and a system changeover notice signal BMATEREQ-N to the library control device 4.

系切り替え予告信号AMATEREQ−Nおよび系切り
替え予告信号BMATEREQ−Nの論理状態は、系切
り替え予告信号AMATEREQ−Nの側に介設されて
いるインバータ3fによって互いに逆になるようになっ
ている。
The logical states of the system changeover notice signal AMATEREQ-N and the system changeover notice signal BMATEREQ-N are made to be opposite to each other by an inverter 3f interposed on the side of the system changeover notice signal AMATEREQ-N.

さらに、切り替え要求受付回路3Cの後段には、前記の
系切り替え予告信号AMATEREQ−Nおよび系切り
替え予告信号BMATEREQ−Nとなる論理信号が同
時人力される切り替え制御回路3dが接続されており、
さらにこの切り替え制御回路3dには、タイマ回路3e
からの論理信号が人力されるように構成されている。
Furthermore, a switching control circuit 3d is connected to the subsequent stage of the switching request receiving circuit 3C, and the logic signals that become the system switching notice signal AMATEREQ-N and the system switching notice signal BMATEREQ-N are simultaneously input manually.
Furthermore, this switching control circuit 3d includes a timer circuit 3e.
The system is configured so that the logic signals from the system can be input manually.

そして、切り替え制御回路3dは、前段の切り替え要求
受付回路3Cから、系切り替え予告信号AMATERE
Q−NおよびBMATEREQ−Nと同時に出力される
前記論理信号の入力時点から、タイマ回路3eに設定さ
れている所定の設定時間Tが経過した後、ライブラリ制
御装置2および4への系切り替え実行信号AMATES
EL−Nおよび系切り替え実行信号BMATESELN
を出力する動作を行うものである。
Then, the switching control circuit 3d receives a system switching notice signal AMATERE from the switching request receiving circuit 3C at the previous stage.
After a predetermined set time T set in the timer circuit 3e has elapsed from the time of input of the logic signal outputted simultaneously with Q-N and BMATEREQ-N, a system switching execution signal is sent to the library control devices 2 and 4. AMATES
EL-N and system switching execution signal BMATESELN
It performs the operation of outputting.

また、この系切り替え実行信号ΔMATE S EL−
Nおよび系切り替え実行信号BMATESEL−Nは、
インバータ3gによって互いに逆の論理状態になるよう
にされている。
In addition, this system switching execution signal ΔMATE S EL-
N and system switching execution signal BMATESEL-N are:
The inverter 3g causes the logic states to be opposite to each other.

さらに、この系切り替え実行信号A M A T E 
5EL−NおよびBMATESEL−Nの各々は、切り
替え要求受付回路3Cに対するRESET信号とともに
、論理ゲート3Ilおよび3m、さらには前記論理ゲー
)3hおよび3Jを介して切り替え要求検出回路3aふ
よび3bに対するリセット入力となっている。
Furthermore, this system switching execution signal A M A T E
Each of 5EL-N and BMATESEL-N provides a RESET signal to the switching request receiving circuit 3C, as well as a reset input to the switching request detecting circuits 3a and 3b via the logic gates 3Il and 3m, as well as the logic gates 3h and 3J. It becomes.

以下、本実施例の作用について説明する。The operation of this embodiment will be explained below.

まず、通常の状態では、ライブラリ制御装置2が搬送ロ
ボット12などの制御動作を行う稼働状態にあり、他方
のライブラリ制御装置4は、随時制御動作を開始するこ
とが可能な待機状態になっている。
First, in a normal state, the library control device 2 is in an operating state in which it performs control operations for the transfer robot 12, etc., and the other library control device 4 is in a standby state in which it can start control operations at any time. .

この時、系切り替え制御手段3から、稼働状態にあるラ
イブラリ制御装置![2に出力される系切り替え予告信
号AMATEREQ−Nおよび系切り替え実行信号AM
ATESEL−Nは“L”レベルになっており、待機状
態にあるライブラリ制御装置4に出力される系切り替え
予告信号BMATEREQ−Nおよび系切り替え実行信
号BMATESEL−Nは“H”レベルになっている。
At this time, the system switching control means 3 informs the library control device which is in the operating state! [System switchover notice signal AMATEREQ-N and system switchover execution signal AM output to [2]
ATESEL-N is at the "L" level, and the system switching advance signal BMATEREQ-N and the system switching execution signal BMATESEL-N output to the library control device 4 in the standby state are at the "H" level.

この状態で、上位装置ffからライブラリ制御装置2に
対して、カートリッジ型磁気テープの装填が指令される
と、これを受けたライブラリ制御装置2は、ライブラリ
管理メモリ5および6を参照し、指示されたカートリッ
ジ型磁気テープの識別番号VSNがライブラリ棚13の
複数のセル13aのいずれに格納されているかを知り、
目的のカートリッジ型磁気テープ当該セル13aから取
り出してテープ駆動装置14に装填するように搬送ロボ
ット12に指示する。
In this state, when the host device ff issues a command to the library control device 2 to load a cartridge-type magnetic tape, the library control device 2 that receives the command refers to the library management memories 5 and 6 and receives the instruction. knowing in which of the plurality of cells 13a of the library shelf 13 the identification number VSN of the cartridge type magnetic tape is stored;
The transport robot 12 is instructed to take out the target cartridge-type magnetic tape from the cell 13a and load it into the tape drive device 14.

これを受けた搬送口ボッ)12は、適宜移動動作を行っ
て、指示された識別番号VSNのカートリッジ型磁気テ
ープをテープ駆動装置14に装填する。
Upon receiving this, the transport port box 12 performs an appropriate movement operation and loads the cartridge type magnetic tape having the designated identification number VSN into the tape drive device 14 .

その後は、テープ駆動装置14に装填されたカートリッ
ジ型磁気テープと上位装置1との間で適宜データの授受
が行われる。
Thereafter, data is exchanged between the cartridge type magnetic tape loaded in the tape drive device 14 and the host device 1 as appropriate.

このような一連のライブラリ制御袋[2における制御動
作においてエラーが発生すると、当該ライブラリ制御装
置2は上位装置1に対して、エラーの発生を通知し、こ
れを検出した上位装置1は、待機状態にあるライブラリ
制御装置4に対して系切り替え命令を発行する。
When an error occurs in the control operations in a series of library control bags [2], the library control device 2 notifies the higher-level device 1 of the occurrence of the error, and the higher-level device 1 that detects this goes into a standby state. A system switchover command is issued to the library control device 4 located at

これを受けたライブラリ制御装置4は、系切り替え指令
として、制御線9を介して、第3図に示されるタイミン
グで“H”レベルのスイッチイネーブル信号BSWEN
−Pと、パルス状に変化するスイッチストローブ信号B
SWSTB−Pとを組み合わせて系切り替え制御手段3
の切り替え要求検出回路3bに出力する。
Upon receiving this, the library control device 4 outputs a switch enable signal BSWEN of "H" level at the timing shown in FIG. 3 via the control line 9 as a system switching command.
-P and a switch strobe signal B that changes in a pulsed manner.
System switching control means 3 in combination with SWSTB-P
The signal is output to the switching request detection circuit 3b.

ここで、スイッチイネーブル信号BSWEN−Pとスイ
ッチストローブ信号BSWSTB−Pとを第3図のよう
に組み合わせて出力するのは、ノイズなどによって容易
に誤った系切り替え動作が開始されることを防ぐためで
ある。
Here, the reason why the switch enable signal BSWEN-P and the switch strobe signal BSWSTB-P are output in combination as shown in Figure 3 is to prevent erroneous system switching operations from being easily started due to noise or the like. be.

こうして、スイッチイネーブル信号BSWEN−Pとス
イッチストローブ信号BSWSTB−Pとの所定のパタ
ーンの組み合わせによって系切り替え要求を確認した切
り替え要求検出回路3bは、後段の切り替え要求受付回
路3Cに対して所定の論理信号を出力する。
In this way, the switching request detection circuit 3b, which has confirmed the system switching request by the combination of the predetermined pattern of the switch enable signal BSWEN-P and the switch strobe signal BSWSTB-P, sends a predetermined logic signal to the subsequent switching request reception circuit 3C. Output.

これを契機として当該切り替え要求受付回路3Cは切り
替え制御回路3dに対して論理信号を出力すると同時に
、ライブラリ制御装置2に対する系切り替え予告信号A
MATEREQ−Nを“H”レベルに、ライブラリ制御
装置4に対する系切り替え予告信号BMATEREQ−
Nを″L″レベルにする。
Taking this as a trigger, the switching request reception circuit 3C outputs a logic signal to the switching control circuit 3d, and at the same time outputs a system switching notice signal A to the library control device 2.
MATEREQ-N is set to “H” level, and the system switching notice signal BMATEREQ- to the library control device 4 is set to “H” level.
Set N to "L" level.

そして、稼働中のライブラリ制御装置2は、系切り替え
予告信号AMATEREQ−Nが′H”レベルに変化し
たことにより、これから系切り替えが行われることを知
り、ライブラリ管理メモリ5および6に対する制御情報
の書き込み処理などを、前記タイマ回路3eに設定され
る所定時間Tの間に完結させ、実際の系切り替え処理の
実行に備える。
Then, the operating library control device 2 learns that system switching will be performed from now on as the system switching notification signal AMATEREQ-N changes to 'H' level, and writes control information to the library management memories 5 and 6. The processing is completed within a predetermined time T set in the timer circuit 3e, and preparations are made for execution of actual system switching processing.

また、切り替え制御回路3dは、タイマ回路3eからの
論理信号の入力を契機として、前記切り替え要求受付回
路3Cからの前記論理信号の入力時点から所定時間Tが
経過した後、すなわち、稼働中のライブラリ制御装置2
によるライブラリ管理メモリ5および6に対する所定の
書き込み処理が完結した後、稼働中のライブラリ制御装
置2への系切り替え実行信号AMATESEL−Nを“
H”レベルにし、待機中のライブラリ制御装置4の系切
り替え実行信号BMATESEL−Nを“L”レベルに
する。
Further, the switching control circuit 3d is triggered by the input of the logic signal from the timer circuit 3e, and after a predetermined time T has elapsed since the input of the logic signal from the switching request reception circuit 3C, that is, when the library is in operation. Control device 2
After the predetermined write processing to the library management memories 5 and 6 is completed, the system switchover execution signal AMATESEL-N to the operating library control device 2 is
H" level, and the standby system switching execution signal BMATESEL-N of the library control device 4 is set to "L" level.

これにより、搬送ロボット12などの制御動作が、エラ
ーの発生したライブラリ制御装置2から待機状態であっ
たライブラリ制御装置4に切り替えられ、稼働状態にあ
ったライブラリ制御装置2は待機状態となる。
As a result, the control operation of the transfer robot 12 and the like is switched from the library control device 2 where the error occurred to the library control device 4 that was in the standby state, and the library control device 2 that was in the operating state becomes the standby state.

その後、上位装置lは、自身が保持している管理情報と
ライブラリ管理メモリ5および6に格納されている管理
情報とが一致するか否かを把握すべく、一方のライブラ
リ管理メモリ6に格納されている管理情報を読み出して
調べる。
Thereafter, in order to determine whether or not the management information held by itself matches the management information stored in the library management memories 5 and 6, the host device 1 stores the information stored in one of the library management memories 6. Read and examine the management information.

そして、両者が一致している場合には、直ちに、切り替
えられたライブラリ制御装置40制御動作による通常の
入出力処理を継続する。
If the two match, normal input/output processing based on the switched library control device 40 control operation is immediately continued.

また、両者が一致しない場合には、ライブラリ制御装置
4を介して、ライブラリ管理メモリ5および6の内容を
自身が保持する管理情報に一致するように書き換えた後
、通常の入出力処理を継続する。
If the two do not match, the library control device 4 rewrites the contents of the library management memories 5 and 6 to match the management information held by itself, and then continues normal input/output processing. .

このように、本実施例の制御系切り替え方式によれば、
上位装置lからの指令を契機として、待機状態にある健
全なライブラリ制御装置4または2から系切り替え制御
手段3に対して、スイッチストローブ信号BSWSTB
−P (ASWSTB−P)およびスイッチイネーブル
信号BSWEN−P (ASWEN−P)の論理信号を
組み合わせた正確な系切り替え指令信号を与えることに
よって、ライブラリ制御装置2および4の相互の稼働状
態および待機状態の切り替えが行われるので、誤って切
り替え処理が実行されることが確実に防止される。
In this way, according to the control system switching method of this embodiment,
Triggered by a command from the host device 1, a switch strobe signal BSWSTB is sent from a healthy library control device 4 or 2 in a standby state to the system switching control means 3.
-P (ASWSTB-P) and switch enable signal BSWEN-P (ASWEN-P) by providing an accurate failover command signal that combines the logical signals of Since the switching is performed, erroneous execution of the switching process is reliably prevented.

また、系切り替え処理の実行に際しては、稼働状態から
待機状態に移行するライブラリ制御装置2または4に対
して、予め系切り替え予告信号AMATEREQ−N 
(BMATEREQ−N)を与え、実行中にあるライブ
ラリ管理メモリ5および6などに対する管理情報の書き
込み処理を完結させた後に、系切り替え実行信号AMA
TESEL−N (BMATESEL−N)を発行する
ことで実際の系切り替え処理が遂行されるので、ライブ
ラリ管理メモリ5および6に格納されている管理情報の
破壊や喪失を未然に防止することができる。
In addition, when executing system switching processing, a system switching advance notice signal AMATEREQ-N is sent to the library control device 2 or 4 that will transition from the active state to the standby state in advance.
(BMATEREQ-N) and completes the process of writing management information to the library management memories 5 and 6, etc. that are currently being executed, then the system switchover execution signal AMA
Since actual system switching processing is performed by issuing TESEL-N (BMATESEL-N), destruction or loss of the management information stored in the library management memories 5 and 6 can be prevented.

これにより、稼働状態または待機状態にあるライブラリ
制御装置2および4の相互間における制御動作の切り替
えが的確に行われる。
As a result, control operations are accurately switched between the library control devices 2 and 4 that are in the active state or the standby state.

なお、上記の説明では、稼働状態にあったライブラリ制
御装置2におけるエラーの発生を契機として系切り替え
処理を開始する場合について説明したがこれに限らず、
操作者が上位装置1に対して外部から意図的に指示を与
え、当該上位装置1から待機中のライブラリ制御装置2
または4に対して系切り替え処理の指令を発行するよう
にしてもよいものである。
Note that in the above description, a case has been described in which system switchover processing is started in response to the occurrence of an error in the library control device 2 that is in an operating state; however, the present invention is not limited to this.
An operator intentionally gives an instruction to the host device 1 from the outside, and the host device 1 sends a command to the library control device 2 that is on standby.
Alternatively, a command for system switching processing may be issued to node 4.

これにより、たとえば、ライブラリ制御装置2または4
の保守などを行う場合に、随時、目的のライブラリ制御
装置2または4を、保守作業を施すことが可能な待機状
態に移行させることが可能となり、ライブラリ制御装置
2および4の保守作業などを簡略化することができる。
This allows, for example, library control device 2 or 4
When carrying out maintenance, etc., it is possible to shift the target library control device 2 or 4 to a standby state where maintenance work can be performed at any time, simplifying the maintenance work of the library control devices 2 and 4. can be converted into

また、上記の説明では、最初にライブラリ制御装置2が
稼働状態にありライブラリ制御装置4が待機状態にある
場合からの系切り替え処理を説明したが両者の状態が逆
であってもよいことは言うまでもない。
Furthermore, in the above explanation, the system switchover process was first explained when the library control device 2 is in the operating state and the library control device 4 is in the standby state, but it goes without saying that the two states may be reversed. stomach.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は前記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であることはいうまでもない。
Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that the present invention is not limited to the Examples and can be modified in various ways without departing from the gist thereof. Nor.

たとえば、制御系としては、カートリッジ型磁気テープ
ライブラリ装置におけるライブラリ制御装置などに限ら
ず、一般の外部記憶サブシステムなどに釘ける多重化さ
れた制御系の系切り替え技術などに広く適用できる。
For example, the control system is not limited to a library control device in a cartridge type magnetic tape library device, but can be widely applied to a system switching technique for a multiplexed control system that can be applied to a general external storage subsystem.

〔発明の効果〕〔Effect of the invention〕

本願にふいて開示される発明のうち、代表的なものによ
って得られる効果を簡単に説明すれば、以下のとおりで
ある。
Among the inventions disclosed in this application, the effects obtained by typical inventions are briefly explained below.

すなわち、本発明になる制御系切り替え方式によれば、
上位装置と下位装置との間に介在し、前記上位装置から
の指令に基づいて前記下位装置の制御動作を互いに独立
に行う第1および第2の制御装置と、この第1および第
2の制御装置によって共用され、記憶内容が同一に維持
される第1および第2のメモリとからなり、前記第1お
よび第2の制御装置の一方が稼働状態にある時には他方
を待機状態とするとともに、随時、双方の稼働状態およ
び待機状態を切り替えるように多重化された制御系にお
いて、待機中の前記第1または第2の制御装置からの第
1の指令に基づいて前記制御系の切り替えを行う系切り
替え制御手段を設けたので、たとえば上位装置は、稼働
中の第1または第2の制御装置からのエラー発生情報ま
たは外部からの指示の受領を契機として第2の指令を待
機中の第2または第1の制御装置に発行し、待機中の第
1または第2の制御装置は、この第2の指令を契機とし
て系切り替え制御手段に第1の指令を発行して系切り替
え操作を開始することで、第1または第2の制御装置の
誤動作などに起因して誤った系切り替え操作が行われる
ことが確実に防止される。
That is, according to the control system switching method of the present invention,
first and second control devices that are interposed between a higher-level device and a lower-level device and perform control operations for the lower-level device independently of each other based on commands from the higher-level device; and the first and second control devices It consists of first and second memories that are shared by the device and whose storage contents are maintained the same, and when one of the first and second control devices is in an operating state, the other is in a standby state, and at any time. , in a control system that is multiplexed so as to switch between an operating state and a standby state, the control system is switched based on a first command from the first or second control device that is on standby. Since the control means is provided, for example, upon receiving error occurrence information from the operating first or second control device or an instruction from the outside, the host device can control the second or second control device that is waiting for the second command. The first or second control device, which is on standby, issues the first command to the system switching control means using this second command as a trigger and starts the system switching operation. , it is reliably prevented that an erroneous system switching operation is performed due to a malfunction of the first or second control device.

また、系切り替え制御手段に設けられた切り替え要求受
付回路およびタイマ回路などの動作により、稼働中の前
記第2または第1の制御装置に対して系切り替え予告信
号を発行して、第1および第2のメモリに対する書き換
え動作を完結させた後に、実際の系切り替え操作が実行
されるので第1および第2のメモリに記憶される情報の
破壊などが確実に防止される。
Further, by the operation of a switching request receiving circuit, a timer circuit, etc. provided in the system switching control means, a system switching notice signal is issued to the second or first control device in operation, and the first and second control devices are activated. Since the actual system switching operation is executed after the rewrite operation for the second memory is completed, destruction of information stored in the first and second memories is reliably prevented.

これにより、多重化された制御系における系切り替え操
作を的確に行うことができる。
Thereby, system switching operations in multiplexed control systems can be performed accurately.

また、外部から意図的に上位装置に対して第2の指令を
待機中の第2または第1の制御装置に発行させることに
より、随時、任意の制御系を待機状態にすることが可能
となり、多重化された制御系における保守管理を容易行
うことができる。
Furthermore, by intentionally issuing a second command to the host device from the outside to the second or first control device in standby, it becomes possible to put any control system into a standby state at any time. Maintenance and management of multiplexed control systems can be easily performed.

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

第1図は、本発明の一実施例である制御系切り替え方式
を実現する回路構成の一例を示すブロック図、 第2図は、本実施例の制御系切り替え方式が適用される
情報処理システムの要部の一例を示すブロック図、 第3図は、本実施例の制御系切り替え方式の作用の一例
を示すタイミングチャート、 第4図は、情報処理システムの外部記憶装置として用い
られるカートリッジ型磁気テープライブラリ装置の構成
の一例を示す概念図である。 1・・・上位装置、2・・・ライブラリ制御装置、3・
・・系切り替え制御手段、3a、3b・・・切り替え要
求検出回路、3c・・・切り替え要求受付回路、3d・
・・切り替え制御回路、3e・・・タイマ回路、3f、
3g・・・インバータ、3h、3j、3に、31,3m
・・・論理ゲート、4・・・ライブラリ制御装置、5.
6・・・ライブラリ管理メモリ、7・・・インターフェ
イス線、8・・・制御線、9・・・制御線、10゜11
・・・アクセス線、12・・・搬送ロボット、13・・
・ライブラリ棚、13a・・・セル、14・・・テープ
誤動装置、ASWEN−P、BSWEN−P・・・スイ
ッチイネーブル信号、ASWSTB−P、BSWSTB
−P・・・スイッチストローブ信号、AMATEREQ
−N、BMATEREQ−N・・・系切り替え予告信号
、AMATES’EL−N、BMATESEL−N・・
・系切り替え実行信号、T・・・タイマ回路による系切
り替え予告信号から系切り替え実行信号までの時間。 代理人 弁理士 筒 井 大 和 第4図 3a
FIG. 1 is a block diagram showing an example of a circuit configuration for realizing a control system switching method according to an embodiment of the present invention, and FIG. 2 is a block diagram of an information processing system to which the control system switching method of this embodiment is applied. FIG. 3 is a timing chart showing an example of the operation of the control system switching method of this embodiment. FIG. 4 is a cartridge-type magnetic tape used as an external storage device of an information processing system. FIG. 2 is a conceptual diagram showing an example of the configuration of a library device. 1... Host device, 2... Library control device, 3.
... System switching control means, 3a, 3b... Switching request detection circuit, 3c... Switching request receiving circuit, 3d.
...Switching control circuit, 3e...Timer circuit, 3f,
3g...Inverter, 3h, 3j, 3, 31,3m
. . . logic gate, 4. library control device, 5.
6...Library management memory, 7...Interface line, 8...Control line, 9...Control line, 10°11
...Access line, 12...Transportation robot, 13...
・Library shelf, 13a...Cell, 14...Tape malfunction device, ASWEN-P, BSWEN-P...Switch enable signal, ASWSTB-P, BSWSTB
-P...Switch strobe signal, AMATEREQ
-N, BMATEREQ-N... system switching notice signal, AMATES'EL-N, BMATESEL-N...
- System switching execution signal, T... Time from the system switching notice signal by the timer circuit to the system switching execution signal. Agent Patent Attorney Daiwa Tsutsui Figure 4 3a

Claims (1)

【特許請求の範囲】 1、上位装置と下位装置との間に介在し、前記上位装置
からの指令に基づいて前記下位装置の制御動作を互いに
独立に行う第1および第2の制御装置と、この第1およ
び第2の制御装置によって共用され、記憶内容が同一に
維持される第1および第2のメモリとからなり、前記第
1および第2の制御装置の一方が稼働状態にある時には
他方を待機状態とするとともに、随時、双方の稼働状態
および待機状態を切り替えるように多重化された制御系
において、待機中の前記第1または第2の制御装置から
の第1の指令に基づいて前記制御系の切り替えを行う系
切り替え制御手段を設けたことを特徴とする制御系切り
替え方式。 2、待機中の前記第1または第2の制御装置は、前記上
位装置からの第2の指令を契機として前記系切り替え制
御手段に前記第1の指令を発行するようにした請求項1
記載の制御系切り替え方式。 3、前記上位装置は、稼働中の前記第1または第2の制
御装置からのエラー発生情報または外部からの指示の受
領を契機として前記第2の指令を待機中の前記第2また
は第1の制御装置に発行するようにした請求項1または
2記載の制御系切り替え方式。 4、前記系切り替え制御手段は、待機中の前記第1また
は第2の制御装置からの前記第1の指令を確認する切り
替え要求検出回路と、稼働中の前記第2または第1の制
御装置に対して系切り替え予告信号を発行する切り替え
要求受付回路と、系切り替え信号を発行する切り替え制
御回路と、前記系切り替え予告信号から前記系切り替え
信号までの時差を設定するタイマ回路とからなることを
特徴とする請求項1、2または3記載の制御系切り替え
方式。
[Scope of Claims] 1. First and second control devices that are interposed between a higher-level device and a lower-level device and independently perform control operations for the lower-level device based on commands from the higher-level device; The first and second memories are shared by the first and second control devices and have the same storage contents, and when one of the first and second control devices is in operation, the other is In a control system that is multiplexed so as to put the device into a standby state and to switch between the operating state and the standby state of both at any time, the control system controls the control system based on a first command from the first or second control device that is on standby. A control system switching method characterized in that a system switching control means for switching control systems is provided. 2. Claim 1, wherein the first or second control device on standby issues the first command to the system switching control means in response to a second command from the host device.
Control system switching method described. 3. The higher-level device receives the error occurrence information from the first or second control device in operation or an instruction from the outside, and controls the second or first control device that is waiting for the second command. 3. The control system switching method according to claim 1, wherein the control system switching method is issued to a control device. 4. The system switching control means includes a switching request detection circuit that confirms the first command from the first or second control device that is on standby, and a switching request detection circuit that confirms the first command from the first or second control device that is in operation; The system is characterized by comprising a switching request receiving circuit that issues a system switching notice signal to a system switch, a switching control circuit that issues a system switching signal, and a timer circuit that sets a time difference between the system switching notice signal and the system switching signal. 4. The control system switching method according to claim 1, 2 or 3.
JP1102554A 1989-04-21 1989-04-21 Control system switching method Expired - Fee Related JPH0795281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1102554A JPH0795281B2 (en) 1989-04-21 1989-04-21 Control system switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1102554A JPH0795281B2 (en) 1989-04-21 1989-04-21 Control system switching method

Publications (2)

Publication Number Publication Date
JPH02280250A true JPH02280250A (en) 1990-11-16
JPH0795281B2 JPH0795281B2 (en) 1995-10-11

Family

ID=14330464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1102554A Expired - Fee Related JPH0795281B2 (en) 1989-04-21 1989-04-21 Control system switching method

Country Status (1)

Country Link
JP (1) JPH0795281B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111617391A (en) * 2019-02-28 2020-09-04 株式会社日立制作所 Particle beam therapy system, particle beam therapy method, and computer program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5850372A (en) * 1982-09-10 1983-03-24 Hitachi Ltd Suction valve device of reciprocating compressor
JPS6435634A (en) * 1987-07-31 1989-02-06 Fujitsu Ltd Fault recovery system for switcher of disk string

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5850372A (en) * 1982-09-10 1983-03-24 Hitachi Ltd Suction valve device of reciprocating compressor
JPS6435634A (en) * 1987-07-31 1989-02-06 Fujitsu Ltd Fault recovery system for switcher of disk string

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111617391A (en) * 2019-02-28 2020-09-04 株式会社日立制作所 Particle beam therapy system, particle beam therapy method, and computer program

Also Published As

Publication number Publication date
JPH0795281B2 (en) 1995-10-11

Similar Documents

Publication Publication Date Title
US5226157A (en) Backup control method and system in data processing system using identifiers for controlling block data transfer
US4603406A (en) Power backed-up dual memory system
JPH09128305A (en) External storage device
JPH02280250A (en) Method for switching control system
JPH04311219A (en) Data backup system
JPS5931743B2 (en) Duplex system
JP3492141B2 (en) Library device
JPH05258432A (en) Controlling system for magnetic tape medium transferring mechanism
JPH04174019A (en) Alternation processing method of accessor control part
JPH04125725A (en) Magnetic tape controller and its control method
JPH04229451A (en) Method for controlling cartridge library device
JPH083807B2 (en) Automatic switching device for dual magnetic disk device
JP2892429B2 (en) I / O controller
JPS63238655A (en) Information processor
JP2889038B2 (en) POS system
JPH03182929A (en) Transfer device controller for magnetic tape medium
JPH03240122A (en) Magnetic disk device
JP2624106B2 (en) Automatic verification method of backup file in exchange system
JPH01211347A (en) Method for controlling data writing of magnetic tape subsystem
JPS62249250A (en) Memory device
JPH04167120A (en) Magnetic disk subsystem
JPH04205518A (en) Disk device control system
JPS61134859A (en) Backup controlling system of memory
JPH0338716A (en) Peripheral controller
JPH07129208A (en) Numerical control unit

Legal Events

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