JPH02284247A - Access switching system for shared memory and control system using the same - Google Patents

Access switching system for shared memory and control system using the same

Info

Publication number
JPH02284247A
JPH02284247A JP1106381A JP10638189A JPH02284247A JP H02284247 A JPH02284247 A JP H02284247A JP 1106381 A JP1106381 A JP 1106381A JP 10638189 A JP10638189 A JP 10638189A JP H02284247 A JPH02284247 A JP H02284247A
Authority
JP
Japan
Prior art keywords
shared memory
control
processing
magnetic tape
shared
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.)
Ceased
Application number
JP1106381A
Other languages
Japanese (ja)
Inventor
Masahiro Takano
雅弘 高野
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 JP1106381A priority Critical patent/JPH02284247A/en
Publication of JPH02284247A publication Critical patent/JPH02284247A/en
Ceased legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To enable all processing devices to continue to operate without being influenced by the occurrence of a fault in some processing device by detecting the occurrence of the fault in the shared memory of the individual processing device, and informing other processing device of it, and obtaining information stored in the shared memory of other processing device. CONSTITUTION:For instance, in the case where the fault occurs in the shared memory 4 of the side of a magnetic tape control device 1, an error detecting part 22 detects it, and informs an access control part 5 of it, and a communica tion control part 6 informs the communication control part 6 of the side of the magnetic tape control device 1a of the occurrence of the fault. The access control part 5 of the side of the magnetic tape control device 1a sets an address and data at an input/ouput gate 7 to an input direction and an output direction respectively, and executes control operation so as to send the contents of the shared memory 4 designated by the address coming from the side of the mag netic tape control device 1 to the side of the magnetic tape control device 1. Thus, even if the fault occurs in some shared memory, all the control devices can be set always in an operating state by using other shared memory.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、共用メモリのアクセス切り替え技術および制
御システムに関し、特に、共用メモリを備えた複数の処
理装置を相互に接続して稼働させる際の障害対策や、多
重化された制御システムにおける障害対策に効果のある
技術に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a shared memory access switching technology and control system, and in particular to a shared memory access switching technology and a control system, particularly when a plurality of processing devices each having a shared memory are connected to each other and operated. It relates to techniques that are effective in countermeasures against faults and fault countermeasures in multiplexed control systems.

〔従来の技術〕[Conventional technology]

電子計算機システムなどの情報処理システムにおいては
、共用メモリを用いて複数の処理部分を並列に動作させ
る技術がシステム全体の処理速度や各部の可用性を向上
させるなどの観点から広く用いられている。
BACKGROUND ART In information processing systems such as computer systems, a technique of operating multiple processing parts in parallel using a shared memory is widely used from the viewpoint of improving the processing speed of the entire system and the availability of each part.

たとえば1.特開昭57−157328号公報に開示さ
れるように、電子計算機のチャネル装置に接続される周
辺装置の分野においても、複数のチャネル装置との接続
を制御する部分と、個々の周辺装置の全体を制御する部
分との間でメモリを共有し、それぞれの部分に並列動作
を行わせることでシステム全体の処理速度を向上させよ
うとしている。
For example 1. As disclosed in Japanese Unexamined Patent Publication No. 57-157328, in the field of peripheral devices connected to a channel device of a computer, there is a portion that controls connections with multiple channel devices, and a portion of each peripheral device as a whole. The aim is to improve the processing speed of the entire system by sharing memory between the control parts and having each part perform parallel operations.

一方、多重化された入出力制御装置おける処理速度や処
理効率さらには信頼性の向上を目的とした技術の一例と
して、たとえば特開昭63−26751号公報に開示さ
れる、技術が知られている。
On the other hand, as an example of a technique aimed at improving processing speed, processing efficiency, and reliability in a multiplexed input/output control device, a technique disclosed in Japanese Patent Laid-Open No. 63-26751 is known. There is.

すなわち、複数の機能別に区分された機能単位の組み合
わせにより構成される入出力制御装置において、入出力
命令に伴う制御情報を記憶する二つの記憶手段と、二つ
の読み書き経路と、二つの記憶手段の間でデータ複写を
可能にする経路を設け、入出力命令の処理を待たせるこ
となく、また制御情報の内容を変化させることなく、−
括読み出しを可能としたものである。
That is, in an input/output control device configured by a combination of functional units classified according to a plurality of functions, two storage means for storing control information accompanying input/output commands, two read/write paths, and two storage means are used. By providing a path that enables data copying between the
This allows bulk reading.

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

ところが、上記の従来技術では、一方の記憶手段に障害
が発生した場合の具体的なアクセス方法については明確
に示されていない。
However, the above-mentioned conventional technology does not clearly indicate a specific access method when a failure occurs in one of the storage means.

すなわち、記憶手段は物理的に2合の入出力制御装置の
各々の中に計2組存在しているにも関わらず、一方の記
憶手段に障害が発生して使用不能となった場合に、当該
記憶手段を有する側の入出力側@I装置全体の動作が不
可能になってしまうという問題がある。
That is, even though there are physically two sets of storage means in each of the two input/output control devices, if one of the storage means fails and becomes unusable, There is a problem in that the entire input/output side @I device having the storage means becomes inoperable.

そこで、本発明の目的は、それぞれが共用メモリを有す
る複数の処理装置を相互に接続してなる制御システムに
おいて、一部の処理装置の共用メモリにおける障害発生
に影響されることなく、すべての処理装置の稼働継続を
可能にする共用メモリのアクセス切り替え方式を提供す
ることにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a control system in which a plurality of processing units each having a shared memory are connected to each other, so that all processing can be performed without being affected by the occurrence of a failure in the shared memory of some processing units. The object of the present invention is to provide a shared memory access switching method that enables continued operation of the device.

本発明の他の目的は、動作の信頼性および各構成部の可
用性を向上させることが可能な制御システムを提供する
ことにある。
Another object of the present invention is to provide a control system that can improve operational reliability and availability of each component.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述および添付図面から明らかになるであろう
。
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 this application is as follows.

すなわち、本発明になる共用メモリのアクセス切り替え
方式は、各々が、複数の処理部分と、これらの処理部分
によって共有される共用メモリと、処理部分から共用メ
モリへのアクセスを制御する制御手段とを備えた複数の
処理装置を相互に接続し、個々の共用メモリを複数の処
理装置のすべて)処理部分で共用するようにした制御シ
ステムにおいて、個々の処理装置には共用メモリにおけ
る障害発生を検出する第1の手段と、この障害発生を他
の処理装置に報知する第2の手段と、他の処理装置内の
共用メモリの任意の領域に格納されている情報を得る第
3の手段とを設けたものである。
That is, the shared memory access switching method according to the present invention each includes a plurality of processing parts, a shared memory shared by these processing parts, and a control means for controlling access from the processing parts to the shared memory. In a control system that connects multiple processing units with each other and shares the individual shared memory among the processing parts of all of the multiple processing units, each processing unit has a system that detects the occurrence of a failure in the shared memory. A first means, a second means for notifying other processing devices of the occurrence of the failure, and a third means for obtaining information stored in an arbitrary area of a shared memory in the other processing devices. It is something that

また、本発明になる制御システムは、複数の制御装置の
各々に備えられた共用メモリを用いて複数の当該制御装
置を協調して稼働させるようにした制御システムにおい
て、請求項1.2,3tたは4記載の共用メモリのアク
セス切り替え方式を用いることにより、特定の制御装置
における共用メモリに障害が発生した場合には、他の制
御装置の共用メモリを用いて相互の協調した稼働を維持
するようにしたものである。
Further, the control system according to the present invention is a control system in which a plurality of control devices are operated in coordination using a shared memory provided in each of the plurality of control devices, as claimed in claim 1.2, 3t. Or, by using the shared memory access switching method described in 4, if a failure occurs in the shared memory of a specific control device, the shared memory of other control devices is used to maintain mutually coordinated operation. This is how it was done.

また、本発明になる制御システムは、2重化された制御
装置からなる制御システムであって、請求項1,2.3
または4記載の共用メモリのアクセス切り替え方式を用
いることにより、一方の制御装置の一部分に障害が発生
した場合には、他方の同一部分を用いてシステム全体の
動作を可能にしたものである。
Further, the control system according to the present invention is a control system consisting of a duplicated control device, and the control system according to claims 1 and 2.3
Alternatively, by using the shared memory access switching method described in 4, if a failure occurs in a portion of one of the control devices, the entire system can operate using the same portion of the other control device.

〔作用〕[Effect]

上記した本発明の共用メモリのアクセス切り替え方式に
よれば、第1の手段によって検知される特定の処理装置
の共用メモリにおける障害発生を契機として、第2の手
段によって他の正常な処理装置に当該障害発生を通知す
ることで、正常な処理装置に備えられた共用メモリに対
する前記特定の処理装置からのアクセスを可能にする準
備動作を行わせ、しかるのち、第3の手段を介して前記
特定の処理装置による正常な処理装置に備えられた共用
メモリに対するアクセスを行わせることが可能となり、
一部の処理装置に備えられた共用メモリにおける障害発
生などに影響されることなく、制御システムを構成する
すべての処理装置の稼働継続を実現することができる。
According to the shared memory access switching method of the present invention described above, when a failure occurs in the shared memory of a specific processing device detected by the first means, the second means causes the other normal processing device to switch to the other normal processing device. By notifying the occurrence of a failure, a preparatory operation is performed to enable access from the specific processing device to the shared memory provided in the normal processing device, and then the specific processing device is accessed via the third means. It becomes possible for the processing device to access the shared memory provided in the normal processing device,
It is possible to realize continuous operation of all the processing devices constituting the control system without being affected by the occurrence of a failure in the shared memory provided in some of the processing devices.

また、上記した本発明の制御システムによれば、一部の
共用メモリに障害が発生しても他の共用メモリを用いて
すべての制御装置を常に稼働状態にすることができ、制
御動作の信頼性および制御システム全体の可用性を向上
させることができる。
Further, according to the control system of the present invention described above, even if a failure occurs in a part of the shared memory, all the control devices can be kept in an operating state by using other shared memories, and the control operation is reliable. performance and the availability of the entire control system.

〔実施例〕〔Example〕

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

なお、以下の説明では、制御システムの一例として、電
子計算機システムに外部記憶装置として接続される磁気
テープ装置の動作を制御する磁気テープ制御装置を2台
相互に接続して稼働させる場合について説明する。
In the following explanation, as an example of a control system, a case will be described in which two magnetic tape control devices that control the operation of a magnetic tape device connected to a computer system as an external storage device are connected to each other and operated. .

すなわち、第1図は、本発明の一実施例である磁気テー
プ制御装置の各々の構成および相互の接続状態の一例を
示すブロック図であり、第2図はその要部の状態の一例
を示す概念図である。
That is, FIG. 1 is a block diagram showing an example of the configuration and mutual connection state of each of the magnetic tape control devices that are an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of the state of the main parts thereof. It is a conceptual diagram.

な右、本実施例の場合には、相互に接続される2台の磁
気テープ制御装置1および1aの各々の内部構成は合等
しいので、一方の磁気テープ制御装置1について構成の
説明を行い、他方の磁気テープ制御装置1aの対応する
各部の説明は、同一の符号を付すことでその説明は省略
する。
In this embodiment, since the internal configurations of the two mutually connected magnetic tape control devices 1 and 1a are the same, the configuration of one magnetic tape control device 1 will be explained. The description of each corresponding part of the other magnetic tape control device 1a will be omitted by giving the same reference numerals.

磁気テープ制御装置1には、たとえば図示しない上位の
図示しないチャネル装置などに接続されてコマンドやデ
ータの授受などにおけるインターフェイス制御などを行
う複数のチャネルインターフェイス2(CIF)と、こ
れらのチャネルインターフェイス2を含めた当該磁気テ
ープ制御装置1の全体を統轄して制御するマイクロプロ
セッサ3  (MP)とを備えている。
The magnetic tape control device 1 includes a plurality of channel interfaces 2 (CIF) that are connected to, for example, an upper-level channel device (not shown) and perform interface control in sending and receiving commands and data, and these channel interfaces 2. A microprocessor 3 (MP) is provided to supervise and control the entire magnetic tape control device 1 including the magnetic tape control device 1.

さらに、磁気テープ制御装置1には、チャネルインター
フェイス2およびマイクロプロセッサ3などにバス10
を介して接続され、所定の制御情報が格納される共用メ
モ!14(ISM)と、当該共用メモリ4に対する外部
からのアクセスを制御する動作を行うアクセス制御部5
 (ISAC)とが設けられている。
Furthermore, the magnetic tape control device 1 includes a channel interface 2, a microprocessor 3, etc., and a bus 10.
A shared memo that is connected via and stores predetermined control information! 14 (ISM), and an access control unit 5 that controls external access to the shared memory 4.
(ISAC) is provided.

複数のチャネルインターフェイス2およびマイクロプロ
セッサ3とアクセス制御部5との間には、それぞれ要求
応答線9が介設されており、マイクロプロセッサ3およ
びチャネルインターフェイス2の各々は、この要求応答
線9を介してアクセス制御部5との間でアクセス要求お
よび許可などの情報を授受することで、共用メモリ4に
対する制御情報の書き込みや読み出し動作を行うもので
ある。
A request response line 9 is interposed between each of the plurality of channel interfaces 2 and the microprocessor 3 and the access control unit 5. By exchanging information such as access requests and permissions with the access control unit 5, writing and reading control information to and from the shared memory 4 is performed.

磁気テープ制御装置1の内部には、複数台の当該磁気テ
ープ制御装置1を接続して稼働させる場合に備えて、後
述のように相互間における制御情報の授受や同期した動
作の制御などを行う通信制御部6 (COMC)と、双
方のバス10の接続を制御する人出力ゲート7 (第3
の手段)とが設けられており、本実施例のように、2台
の磁気テープ制御装置1および1aを接続して稼働させ
る場合には、双方の通信制御部6および人出力ゲート7
は通信線8を介して接続される。
Inside the magnetic tape control device 1, in case a plurality of magnetic tape control devices 1 are connected and operated, control information is exchanged between them and synchronized operation is controlled as described later. A communication control unit 6 (COMC) and a human output gate 7 (third
When the two magnetic tape controllers 1 and 1a are connected and operated as in this embodiment, the communication controller 6 and the human output gate 7 of both are provided.
are connected via a communication line 8.

また、人出力ゲート7は、アクセス制御部5からの指令
によって後述のようにアドレスやデータの授受方向を独
立に適宜切り替える動作を行うようになっている。
Further, the human output gate 7 is configured to independently and appropriately switch the direction of sending and receiving addresses and data as described later in response to instructions from the access control section 5.

なお、この通信線8を物理的に切り離すことにより、個
々の磁気テープ制御装置1ふよび1aは各々が単独に動
作することが可能であることはいうまでもない。
It goes without saying that by physically separating the communication line 8, each of the magnetic tape control devices 1 and 1a can operate independently.

この場合、磁気テープ制御装置1およびlaの各々には
、バス10に出力される共用メモリ4のデータなどを監
視することによって当該共用メモリ4における異常発生
の有無を検査するエラー検出部22 (EC)(第1の
手段)が設けられており、共用メモリ4における異常が
アクセス制御部5に伝達されるようになっている。
In this case, each of the magnetic tape control devices 1 and la includes an error detection unit 22 (EC ) (first means) is provided so that an abnormality in the shared memory 4 is transmitted to the access control unit 5.

通信制御部6と共用メモリ4との間には、占有要求線1
1.占有許可線12.被占有線13.障害発生表示線2
0.障害発生表示線21が介設され、稼働状況に応じて
後述のような論理信号が授受されるようになっている。
An occupancy request line 1 is connected between the communication control unit 6 and the shared memory 4.
1. Occupancy permit line 12. Occupied line 13. Failure indication line 2
0. A fault occurrence indicating line 21 is interposed so that logic signals as described below are exchanged depending on the operating status.

通信線8は、占有要求通信線15.占有許可通信線16
.被占有通信線17および障害発生表示通信線18.障
害発生表示通信線19 (第2の手段)などで構成され
ている。
The communication line 8 is connected to the occupancy request communication line 15. Occupancy permission communication line 16
.. Occupied communication line 17 and fault occurrence indication communication line 18. It is composed of a failure occurrence indication communication line 19 (second means) and the like.

ここで、磁気テープ制御装置1および1aの各々通信制
御部6は本来等価な動作を行うが、外部から指示線14
を介して与えられる論理信号の状、態が“1ルベルか“
0”レベルかで後述のように異なる制御動作を行うよう
になっている。
Here, each communication control section 6 of the magnetic tape control devices 1 and 1a essentially performs equivalent operations, but
Is the state of the logic signal given through “1 level”?
0'' level, different control operations are performed as described later.

そして、通信制御部゛6の間に介設される通信線8は、
障害発生表示通信線18.19を除いて、いずれも双方
向の通信が可能であるが、本実施例の場合には、磁気テ
ープ制御装置1の側の通信制御部6には“0”レベルが
設定され、磁気テープ制th装置1aの側の通信制御部
6には“1″レベルが設定されており、占有要求通信線
15.占有許可通信線16および被占有通信線17は、
第2図に示されるように一方向に固定されている。
The communication line 8 interposed between the communication control unit 6 is
Except for the failure occurrence display communication lines 18 and 19, bidirectional communication is possible for all lines, but in the case of this embodiment, the communication control unit 6 on the magnetic tape control device 1 side has a “0” level. is set, the "1" level is set in the communication control unit 6 on the side of the magnetic tape system 1a, and the occupancy request communication line 15. The occupancy permission communication line 16 and the occupied communication line 17 are
It is fixed in one direction as shown in FIG.

なお、磁気テープ制御装置1および1aの各々には、上
述のように各構成要素の他に、下位の図示しない磁気テ
ープ駆動装置との間で授受されるデータの変復調などを
行う部分や、インターフェイスの制御を行う部分などが
あるが、本発明の要旨には直接的に関係しないので、そ
の図示および説明は省略する。
In addition to the above-mentioned components, each of the magnetic tape control devices 1 and 1a includes a portion that modulates and demodulates data exchanged with a lower magnetic tape drive device (not shown), and an interface. Although there are parts for controlling the above, illustrations and explanations thereof will be omitted since they are not directly related to the gist of the present invention.

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

まず、相互に接続された磁気テープ制御装置1および1
aの双方の共用メモリ4が正常な状態にある通常の動作
について説明する。
First, magnetic tape control devices 1 and 1 are connected to each other.
A normal operation in which both shared memories 4 of a are in a normal state will be described.

たとえば、第1図の左側の磁気テープ制?B装置1の内
部のチャネルインターフェイス2やマイクロプロセッサ
3において共用メモリ4に対する読み出し要求が発生し
た場合、アクセス制御部5は要求応答線9を介して当該
読み出し要求を受は取る。
For example, the magnetic tape system on the left side of Figure 1? When a read request to the shared memory 4 is generated in the internal channel interface 2 or microprocessor 3 of the B device 1, the access control unit 5 receives and receives the read request via the request response line 9.

通信制御部6は、通常、占有許可線12および被占有線
13の論理状態をともに0”レベルにしているが、アク
セス制御部5は受は取ったアクセス要求が読み出し要求
であるので、被占有線13の論理状態が“0”レベルで
あることだけを確認して、アクセス要求を処理し、要求
応答線9を介してアクセス許可を応答する。
The communication control unit 6 normally sets the logic state of both the occupancy permission line 12 and the occupied line 13 to 0” level, but the access control unit 5 does not accept the occupied line because the received access request is a read request. It only confirms that the logic state of line 13 is at the "0" level, processes the access request, and responds with access permission via request response line 9.

次に、磁気テープ制御装置1の側で共用メモリ4に対す
る書き込み要求が発生した場合には、アクセス制御部5
は、被占有線13が“0″レベルで占有許可線12が“
0”レベルの時、占有要求線11を“1”レベルとして
、通信制御部6に対して占有要求を行う。
Next, when a write request to the shared memory 4 occurs on the magnetic tape control device 1 side, the access control unit 5
In this case, the occupied line 13 is at the “0” level and the occupancy permission line 12 is at the “0” level.
When the level is "0", the occupancy request line 11 is set to the "1" level and an occupancy request is made to the communication control unit 6.

磁気テープ制御装置1の側の通信制御部6はこの占有要
求を受けると、占有要求通信線15の論理状態を調べ、
“0”レベルであれば被占有通信線17の論理状態を“
1″レベルとし、しかる後に占有許可線12を″l″レ
ベルにする。
Upon receiving this occupancy request, the communication control unit 6 on the magnetic tape control device 1 side checks the logical state of the occupancy request communication line 15, and
If the level is “0”, the logical state of the occupied communication line 17 is set to “0”.
1" level, and then set the occupancy permission line 12 to the "1" level.

アクセス制御部5は占有許可線12の論理状態が“1”
レベルであることを検出すると、書き込みの場合には共
用メモリ4に対する書き込み制御を行うとともに、入出
力ゲート7を出力モードに切り替え、アドレス、データ
および書き込みのタイミングを通信線8に送出し、占有
要求線11を“0”レベルとする。
In the access control unit 5, the logic state of the occupancy permission line 12 is “1”
When the level is detected, in the case of writing, it controls writing to the shared memory 4, switches the input/output gate 7 to output mode, sends the address, data, and writing timing to the communication line 8, and requests occupancy. Line 11 is set to "0" level.

アクセス要求が占有要求を伴う場合には、開放要求を受
は取るまで、アクセス制御部5は占有要求線11の論理
状態を“0″レベルにしない。
When the access request is accompanied by an occupancy request, the access control unit 5 does not set the logic state of the occupancy request line 11 to the "0" level until the release request is received.

通信制御部6は占有要求線11が″0″レベルとなった
後に占有許可線12および被占有通信線17を“0″レ
ベルとする。
The communication control unit 6 sets the occupancy permission line 12 and the occupied communication line 17 to the ``0'' level after the occupancy request line 11 becomes the ``0'' level.

ここまでは磁気テープ制御装置1の側の動作であるが、
この間に、他方の磁気テープ制御装置1aの側では、通
信制御部6は被占有通信線17の論理状態が“1”レベ
ルになったことを検出すると、その論理状態である“l
”レベルをそのまま被占有線13に送出してアクセス制
御部5に伝達する。
Up to this point, the operation is on the magnetic tape control device 1 side.
During this time, on the side of the other magnetic tape control device 1a, when the communication control section 6 detects that the logic state of the occupied communication line 17 has become the "1" level, the communication control section 6 detects that the logic state of the occupied communication line 17 has become
”The level is sent as is to the occupied line 13 and transmitted to the access control unit 5.

アクセス制fit部5は被占有線13の論理状態が“1
”レベルになったことを検出すると、現在の共用メモリ
4の制御を直ちに完了させ、当該磁気テープ制御装置1
a内において発生するすべてのアクセス要求を保留にし
た後、入出力ゲート7を入力モードに切り替えて他の磁
気テープ制御装置1から到来するアドレス、データ、書
き込みタイミングに従って共用メモリ4を制御し、この
状態は被占有線13の論理状態が“1”レベルの間継続
される。
The access control fit unit 5 determines that the logic state of the occupied line 13 is “1”.
” level, the current control of the shared memory 4 is immediately completed, and the magnetic tape control device 1
After all access requests generated within a are put on hold, the input/output gate 7 is switched to input mode and the shared memory 4 is controlled according to the address, data, and write timing coming from other magnetic tape control devices 1. This state continues while the logic state of the occupied line 13 is at "1" level.

一方、当該磁気テープ制御装置laの内部において発生
したアクセス要求に対しては、当該磁気テープ制御装置
1aのアクセス制御部5は前述の磁気テープ制御装置1
の側のアクセス制御部5と同様に動作する。
On the other hand, in response to an access request generated within the magnetic tape control device la, the access control unit 5 of the magnetic tape control device la mentioned above
It operates in the same way as the access control unit 5 on the side.

ここで、前述の磁気テープ制御装置lの側と異なるのは
、磁気テープ制御装置1aの側の通信制御部6は受は取
った占有要求線11の“1”レベルの論理状態をそのま
ま占有要求通信線15に“1”レベルとして送出するこ
とで磁気テープ制御装置1の側の通信制御部6に伝える
ことである。
Here, the difference from the aforementioned magnetic tape control device 1 side is that the communication control unit 6 on the magnetic tape control device 1a side receives the occupancy request using the logic state of the “1” level of the occupancy request line 11 as it is. This information is transmitted to the communication control section 6 of the magnetic tape control device 1 by sending it as a "1" level to the communication line 15.

そして、磁気テープ制御装置1の側の通信制御部6は占
有要求通信線15の論理状態が“1”レベルであること
を検知すると、当該磁気テープ制御装置1の側のアクセ
ス制御部5からの占有要求線11の論理状態が“0ルベ
ルであることを確認後、被占有線13を“1”レベルに
し、次いで占有許可通信線16を“1”レベルとする。
When the communication control unit 6 on the magnetic tape control device 1 side detects that the logic state of the occupancy request communication line 15 is at the “1” level, the communication control unit 6 on the magnetic tape control device 1 side After confirming that the logic state of the occupancy request line 11 is "0 level", the occupied line 13 is set to the "1" level, and then the occupancy permission communication line 16 is set to the "1" level.

これを受けた磁気テープ制御装置1aの側の通信制御部
6はそのまま占有許可線12を“1”レベルとし、磁気
テープ制御装置1aの側のアクセス制御部5に占有を許
可する。磁気テープ制御装置1aの側のアクセス制御1
i’lS5も前述の磁気テープ制御装置1の側でのアク
セスでの磁気テープ制御装置1aの側のアクセス制御部
5と同様の動作を行う。
Upon receiving this, the communication control section 6 on the magnetic tape control device 1a side sets the occupancy permission line 12 to the "1" level, and grants occupancy to the access control section 5 on the magnetic tape control device 1a side. Access control 1 on the magnetic tape control device 1a side
The i'lS5 also performs the same operation as the access control unit 5 on the magnetic tape control device 1a side when accessing on the magnetic tape control device 1 side described above.

次に、磁気テープ制御装置1の側の共用メモリ4に障害
が発生した場合について説明する。
Next, a case will be described in which a failure occurs in the shared memory 4 on the magnetic tape control device 1 side.

エラー検出部22は、バス10に対する共用メモリ4か
らの出力を常時検証しており、なんろかの誤りが検出さ
れると、これを保持するとともに、アクセス制御部5に
報告する。
The error detection unit 22 constantly verifies the output from the shared memory 4 to the bus 10, and if any error is detected, it holds it and reports it to the access control unit 5.

これを受けたアクセス制御部5は、読み出し要求に対し
て、まず障害発生表示線20の論理状態を“1″レベル
にした後、占有要求線11を“1”レベルにする。
In response to the read request, the access control unit 5 first sets the logic state of the fault occurrence indication line 20 to the "1" level, and then sets the occupancy request line 11 to the "1" level.

これに対し、通信制御部6は障害発生表示通信線18を
l”レベルとし、磁気テープ制御装置1aの側の通信制
御部6へ障害発生を報知するとともに、占有要求通信線
15の論理状態を調べて“D″レベルあれば被占有通信
線17を“1”レベルとし、しかる後に占有許可線12
を“1”レベルとする。
In response, the communication control unit 6 sets the failure occurrence indication communication line 18 to the l'' level, notifies the communication control unit 6 of the magnetic tape control device 1a of the occurrence of the failure, and changes the logic state of the occupancy request communication line 15. If it is checked and the level is "D", the occupied communication line 17 is set to the "1" level, and then the occupied communication line 17 is set to the "1" level.
is the “1” level.

アクセス制御部5は、この占有許可線12の論理状態が
″1″レベルであることを検出すると、人出力ゲート7
のうち、アドレスを出力モードに、データを入力モード
に切り替え、磁気テープ制御装置1aの側から到来する
データをバス10に載せ、アクセス要求に対して応答す
る。
When the access control section 5 detects that the logic state of the occupancy permission line 12 is at the "1" level, the access control section 5 turns on the human output gate 7.
Among these, the address is switched to the output mode and the data to the input mode, data arriving from the magnetic tape control device 1a is placed on the bus 10, and a response is made to the access request.

この間、磁気テープ制御装置1aの側の通信制御部6は
、障害発生表示通信線18および被占有通信線17の論
理状態が1”レベルであることを検出すると、障害発生
表示線21および被占有線13を“1”レベルにして、
当該磁気テープ制御装置1aの側のアクセス制御部5に
通知する。
During this time, when the communication control unit 6 on the magnetic tape control device 1a side detects that the logical state of the fault occurrence indication communication line 18 and the occupied communication line 17 is at the 1" level, the communication control unit 6 of the magnetic tape control device 1a side Set line 13 to “1” level,
The access control unit 5 of the magnetic tape control device 1a is notified.

これにより、磁気テープ制御装置1aの側のアクセス制
御部5は、入出力ゲート7のうちアドレスを人力方向、
データを出力方向ヘセットし、磁気テープ制御装置lの
側から到来するアドレスで指定される共用メモリ4の内
容を磁気テープ制御装置1の側に送出するように制御動
作を行う。
As a result, the access control unit 5 on the magnetic tape control device 1a side changes the address of the input/output gate 7 in the manual direction.
A control operation is performed to set the data in the output direction and send the contents of the shared memory 4 specified by the address coming from the magnetic tape control device 1 side to the magnetic tape control device 1 side.

以上の動作は、障害が検出された後の読み出し動作につ
いて常に行われる。
The above operations are always performed for read operations after a failure is detected.

一方、障害発生後、当の磁気テープ制御装置1の内部で
書き込み要求が発生した場合には、当該磁気テープ制御
装置1の側のアクセス制御部5は、障害発生表示線20
の論理状態を“1″レベルとせず、当該磁気テープ制御
装置1の側の共用メモリ4に書き込みを行わないことを
除いて、各部は障害発生前の書き込み動作と全く同じ動
作を行い、他方の磁気テープ制御装置1aの側の共用メ
モリ4に対して書き込みを行う。
On the other hand, if a write request occurs inside the magnetic tape control device 1 after a failure occurs, the access control unit 5 of the magnetic tape control device 1
Each part performs exactly the same write operation as before the failure occurred, except that the logical state of Writing is performed to the shared memory 4 on the magnetic tape control device 1a side.

以上説明したように、本実施例の場合には、たとえば一
方の磁気テープ制御装置1の側の共用メモリ4で障害が
発生した場合でも、他方の磁気テープ制御装置1aの側
の共用メモリ4を用いて、磁気テープ制御装置1および
la内の全てのマイクロプロセッサ3およびチャネルイ
ンターフェイス2はなんら支障なく通常の制御動作を$
1続することができる。
As explained above, in the case of this embodiment, even if a failure occurs in the shared memory 4 of one magnetic tape control device 1, the shared memory 4 of the other magnetic tape control device 1a is All microprocessors 3 and channel interfaces 2 in the magnetic tape controller 1 and la can perform normal control operations without any hindrance.
Can be continued one after another.

このことは、逆の磁気テープ制御装置1aの側で障害が
発生した場合でも、双方のアクセス制御部5の制御動作
が前述の場合と逆になることで、同様に、正常な磁気テ
ープ制御装置1の共用メモリ4を用いて、磁気テープ制
御装置1および1aの全てのマイクロプロセッサ3とチ
ャネルインターフェイス2の通常の稼働状態を維持する
ことができる。
This means that even if a failure occurs on the opposite side of the magnetic tape control device 1a, the control operations of both access control units 5 will be reversed to those in the above case, so that the magnetic tape control device 1a can be operated normally. 1 shared memory 4 can be used to maintain normal operation of all microprocessors 3 and channel interfaces 2 of magnetic tape controllers 1 and 1a.

これにより、相互に接続された磁気テープ制御装置1お
よびlaのいずれか一方の共用メモリ4に発生した障害
に影響されることなく、常に、磁気テープ制御装置1お
よび1aの双方の稼働状態が維持され、個々の磁気テー
プ制御装置1および1に備えられたチャネルインターフ
ェイス2やマイクロプロセッサ3などによる制御動作の
信頼性と当該各部の可用性の向上を実現することができ
る。
As a result, the operating status of both magnetic tape control devices 1 and 1a is always maintained without being affected by a failure that occurs in the shared memory 4 of either of the mutually connected magnetic tape control devices 1 and la. This makes it possible to improve the reliability of control operations by the channel interface 2, microprocessor 3, etc. provided in the individual magnetic tape control devices 1 and 1, and improve the availability of the respective parts.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は前記実施例に限定されるも
のではなく、その要旨を通説しない範囲で種々変更可能
であることはいうまでもない。
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 above-mentioned Examples, and can be modified in various ways without getting across the gist of the invention. Nor.

たとえば、制御システムとしては、前記の実施例中に例
示した磁気テープ制御装置に限らず、磁気ディスク制御
装置やその他の一般の制御システムに広く適用できる。
For example, the control system is not limited to the magnetic tape control device exemplified in the above embodiments, but can be widely applied to magnetic disk control devices and other general control systems.

また、個々の磁気テープ制御装置の構成および動作は前
記の実施例中に例示されるものに限定されない。
Further, the configuration and operation of each magnetic tape control device are not limited to those exemplified in the above embodiments.

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

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

すなわち、本発明になる共用メモリのアクセス切り替え
方式によれば、各々が、複数の処理部分と、これらの処
理部分によって共有される共用メモリと、前記処理部分
から前記共用メモリへのアクセスを制御する制御手段と
を備えた複数の処理装置を相互に接続し、個々の前記共
用メモリを複数の前記処理装置のすべての前記処理部分
で共用するようにした制御システムにおいて、個々の前
記処理装置には前記共用メモリにおける障害発生を検出
する第1の手段と、この障害発生を他の前記処理装置に
報知する第2の手段と、他の前記処理装置内の前記共用
メモリの任意の領域に格納されている情報を得る第3の
手段とを設けたので、たとえば、第1の手段によって検
知される特定の処理装置の共用メモリにおける障害発生
を契機として、第2の手段によって他の正常な処理装置
に当該障害発生を通知することで、正常な処理装置に備
えられた共用メモリに対する前記特定の処理装置からの
アクセスを可能にする準備動作を行わせ、しかるのち、
第3の手段を介して前言己特定の処理装置による正常な
処理装置に備えられた共用メモリに対するアクセスを行
わせることが可能となり、一部の処理装置に備えられた
共用メモリにおける障害発生などに影響されることなく
、制御システムを構成するすべての処理装置の稼働継続
を実現することができる。
That is, according to the shared memory access switching method of the present invention, each controller controls a plurality of processing parts, a shared memory shared by these processing parts, and access from the processing parts to the shared memory. In a control system in which a plurality of processing devices each having a control means are connected to each other, and each of the shared memories is shared by all the processing parts of the plurality of processing devices, each of the processing devices includes: a first means for detecting the occurrence of a fault in the shared memory; a second means for notifying the other processing devices of the occurrence of the fault; For example, when a fault occurs in the shared memory of a particular processing device detected by the first means, the second means detects a failure in the shared memory of a specific processing device. By notifying the specific processing device of the occurrence of the failure, the normal processing device performs a preparation operation to enable access from the specific processing device to a shared memory provided in the normal processing device, and then,
Through the third means, it becomes possible to have a specific processing device access the shared memory provided in a normal processing device, and this will prevent the occurrence of a failure in the shared memory provided in some processing devices. All processing devices that make up the control system can continue to operate without being affected.

また、本発明になる制御システムによれば、複数の制御
装置の各々に備えられた共用メモリを用いて複数の当該
制御装置を協調して稼働させるようにした制御システム
において、請求項1,2゜3または4記載の共用メモリ
のアクセス切り替え方式を用いることにより、特定の前
記制御装置における前記共用メモリに障害が発生した場
合には、他の前記制御装置の前記共用メモリを用いて相
互の協調した稼働を維持するようにしたので、一部の共
用メモリに障害が発生しても他の共用メモリを用いてす
べての制御装置を常に稼働状態にすることができ、制御
動作の信頼性および制御システム全体の可用性を向上さ
せることができる。
Further, according to the control system of the present invention, in a control system in which a plurality of control devices are operated in coordination using a shared memory provided in each of the plurality of control devices, claims 1 and 2 are provided. By using the shared memory access switching method described in 3 or 4, if a failure occurs in the shared memory of a specific control device, mutual cooperation is established using the shared memory of other control devices. As a result, even if some shared memory fails, all control devices can be kept in operation using other shared memories, improving the reliability and control of control operations. Availability of the entire system can be improved.

また、本発明になる制御システムによれば、2重化され
た制御装置からなる制御システムであって、請求項1,
2.3または4記載の共用メモリのアクセス切り替え方
式を用いることにより、方の前記制御装置の一部分に障
害が発生した場合には、他方の同一部分を用いてシステ
ム全体の動作を可能にしたので、一部の共用メモリに障
害が発生しても他の共用メモリを用いてすべての制御装
置を常に稼働状態にすることができ、制御動作の信頼性
および制御システム全体の可用性を向上させることがで
きる。
Further, according to the control system of the present invention, it is a control system consisting of duplicated control devices, and the control system according to claim 1,
By using the shared memory access switching method described in 2.3 or 4, if a failure occurs in a portion of the control device, the entire system can operate using the same portion of the other control device. Even if some shared memory fails, all control devices can be kept in operation using other shared memories, improving the reliability of control operations and the availability of the entire control system. can.

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

第1図は、本発明の一実施例である磁気テープ制i11
装置の各々の構成および相互の接続状態の一例を示すブ
ロック図、 第2図はその要部の状態の一例を示す概念図である。 1・・・磁気テープ制御装置、1a・・・磁気テープ制
御装置、2・・・チャネルインターフェイス、3・・・
マイクロプロセッサ、4・・・共用メモリ、5・・・ア
クセス制御部、6・・・通信制御部、7・・・人出力ゲ
ート、8・・・通信線、9・・・要求応答線、10・・
・バス、11・・・占有要求線、12・・・占有許可線
、13・・・被占有線、14・・・指示線、15・・・
占を要求通信線、16・・・占有許可通信線、17・・
・被占有通信線、18.19・・・障害発生表示通信線
、20.21・・・障害発生表示線、22・・・エラー
検出部。 代理人 弁理士 筒 井 大 和 第2図 6:通信制御部
FIG. 1 shows a magnetic tape system i11 which is an embodiment of the present invention.
FIG. 2 is a block diagram showing an example of the configuration of each device and the mutual connection state. FIG. 2 is a conceptual diagram showing an example of the state of the main parts. DESCRIPTION OF SYMBOLS 1... Magnetic tape control device, 1a... Magnetic tape control device, 2... Channel interface, 3...
Microprocessor, 4... Shared memory, 5... Access control section, 6... Communication control section, 7... Person output gate, 8... Communication line, 9... Request response line, 10・・・
・Bus, 11... Occupancy request line, 12... Occupation permission line, 13... Occupied line, 14... Instruction line, 15...
Communication line requesting divination, 16... Possession permission communication line, 17...
-Occupied communication line, 18.19... Failure occurrence indication communication line, 20.21... Failure occurrence indication line, 22... Error detection unit. Agent Patent Attorney Daiwa Tsutsui Figure 2 6: Communication control section

Claims (1)

【特許請求の範囲】 1、各々が、複数の処理部分と、これらの処理部分によ
って共有される共用メモリと、前記処理部分から前記共
用メモリへのアクセスを制御する制御手段とを備えた複
数の処理装置を相互に接続し、個々の前記共用メモリを
複数の前記処理装置のすべての前記処理部分で共用する
ようにした制御システムにおいて、個々の前記処理装置
には前記共用メモリにおける障害発生を検出する第1の
手段と、この障害発生を他の前記処理装置に報知する第
2の手段と、他の前記処理装置内の前記共用メモリの任
意の領域に格納されている情報を得る第3の手段とを設
けたことを特徴とする共用メモリのアクセス切り替え方
式。 2、前記制御システムを構成する特定の前記処理装置の
前記共用メモリに障害が発生した場合には、当該処理装
置は他の前記処理装置に備えられた前記共用メモリを使
用することにより、当該制御システムを構成するすべて
の前記処理装置の稼働を継続可能にしたことを特徴とす
る請求項1記載の共用メモリのアクセス切り替え方式。 3、前記制御システムを構成する特定の前記処理装置の
前記共用メモリに障害が発生した場合には、当該処理装
置は他の前記処理装置に備えられた前記共用メモリに格
納されている情報を用いて前記障害の回復操作を行うよ
うにした請求項1または2記載の共用メモリのアクセス
切り替え方式。 4、複数の共用メモリに対して、正常時には書き込み動
作を同時に行うとともに読み出し動作は独立に行い、一
部の前記共用メモリに障害が発生した場合には他の正常
な共用メモリに対してのみ読み出し動作および書き込み
動作を行うようにした請求項1、2または3記載の共用
メモリのアクセス切り替え方式。 5、複数の制御装置の各々に備えられた共用メモリを用
いて複数の当該制御装置を協調して稼働させるようにし
た制御システムにおいて、請求項1、2、3または4記
載の共用メモリのアクセス切り替え方式を用いることに
より、特定の前記制御装置における前記共用メモリに障
害が発生した場合には、他の前記制御装置の前記共用メ
モリを用いて相互の協調した稼働を維持するようにした
制御システム。 6、2重化された制御装置からなる制御システムであっ
て、請求項1、2、3または4記載の共用メモリのアク
セス切り替え方式を用いることにより、一方の前記制御
装置の一部分に障害が発生した場合には、他方の同一部
分を用いてシステム全体の動作を可能にした制御システ
ム。
[Claims] 1. A plurality of processors, each comprising a plurality of processing parts, a shared memory shared by these processing parts, and a control means for controlling access from the processing parts to the shared memory. In a control system in which processing units are interconnected and the individual shared memory is shared by all the processing parts of the plurality of processing units, each of the processing units is configured to detect the occurrence of a failure in the shared memory. a first means for notifying the other processing devices of the occurrence of the failure; and a third means for obtaining information stored in an arbitrary area of the shared memory in the other processing devices. A shared memory access switching method characterized by providing a means for switching access to a shared memory. 2. In the event that a failure occurs in the shared memory of a specific processing device that constitutes the control system, the processing device can restore the control system by using the shared memory provided in the other processing device. 2. The shared memory access switching method according to claim 1, wherein all said processing devices constituting the system can continue to operate. 3. If a failure occurs in the shared memory of a particular processing device constituting the control system, the processing device uses information stored in the shared memory of the other processing device. 3. The shared memory access switching system according to claim 1, wherein the recovery operation for the failure is performed using the shared memory access switching system. 4. When normal, write operations are performed simultaneously on multiple shared memories, and read operations are performed independently. If a failure occurs in some of the shared memories, read operations are performed only on other normal shared memories. 4. A shared memory access switching system according to claim 1, wherein the shared memory access switching system performs operation and write operations. 5. In a control system in which a plurality of control devices are operated in cooperation using a shared memory provided in each of the plurality of control devices, accessing the shared memory according to claim 1, 2, 3, or 4. By using a switching method, if a failure occurs in the shared memory of a specific control device, the control system uses the shared memory of another control device to maintain mutually coordinated operation. . 6. A control system consisting of duplicated control devices, in which a failure occurs in a part of one of the control devices by using the shared memory access switching method according to claim 1, 2, 3, or 4. control system that allows operation of the entire system using the same parts of the other.
JP1106381A 1989-04-26 1989-04-26 Access switching system for shared memory and control system using the same Ceased JPH02284247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1106381A JPH02284247A (en) 1989-04-26 1989-04-26 Access switching system for shared memory and control system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1106381A JPH02284247A (en) 1989-04-26 1989-04-26 Access switching system for shared memory and control system using the same

Publications (1)

Publication Number Publication Date
JPH02284247A true JPH02284247A (en) 1990-11-21

Family

ID=14432134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1106381A Ceased JPH02284247A (en) 1989-04-26 1989-04-26 Access switching system for shared memory and control system using the same

Country Status (1)

Country Link
JP (1) JPH02284247A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07239799A (en) * 1994-02-22 1995-09-12 Internatl Business Mach Corp <Ibm> Method for providing remote data shadowing and remote data duplexing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07239799A (en) * 1994-02-22 1995-09-12 Internatl Business Mach Corp <Ibm> Method for providing remote data shadowing and remote data duplexing system

Similar Documents

Publication Publication Date Title
US6321346B1 (en) External storage
JPH0258823B2 (en)
JP2001043026A (en) Information communication system between systems
JP2946541B2 (en) Redundant control system
JPH06175868A (en) Redundant computer failure monitoring method
JPH0520107A (en) Redundant control device
KR19980067077A (en) Redundant Control System and Its Control Method
JP2716571B2 (en) Redundant data security device
JPH07271626A (en) Digital control system
JP3012402B2 (en) Information processing system
JPH0251950A (en) Electronic exchange duplex system
JPS62179044A (en) Multicomputer system
JPS6321217B2 (en)
JPH10187355A (en) Disk control system
JPS5831020B2 (en) multiprocessor control system
JPS60134352A (en) Duplex bus control device
JPH06133008A (en) Failure collection method in duplexer
JPH04253229A (en) Duplex system
JPS5923677B2 (en) Redundant system for exchange processing equipment
JPH0420495B2 (en)
JPH05289896A (en) Fault tolerant computer
JPH0133858B2 (en)
JPH04137144A (en) Data processor
JPS5851364A (en) Redundant peripheral storage controller
JPH0642217B2 (en) Passgroup cancellation notification method