JPH0148577B2 - - Google Patents
Info
- Publication number
- JPH0148577B2 JPH0148577B2 JP2040684A JP2040684A JPH0148577B2 JP H0148577 B2 JPH0148577 B2 JP H0148577B2 JP 2040684 A JP2040684 A JP 2040684A JP 2040684 A JP2040684 A JP 2040684A JP H0148577 B2 JPH0148577 B2 JP H0148577B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- output control
- shared
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Multi Processors (AREA)
Description
【発明の詳細な説明】
A 発明の技術分野
本発明は、共有制御方式、特に、複数の入出力
装置を共有する複数の入出力制御装置を複数の上
位チヤネルで共有する場合であつて、或る上位チ
ヤネルより或る入出力装置がリザーブされている
ときに、その入出力装置に対して別の上位チヤネ
ルより入出力要求がなされた場合、この入出力要
求を拒否する共有制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION A. Technical Field of the Invention The present invention relates to a shared control system, particularly a case where a plurality of input/output control devices that share a plurality of input/output devices are shared by a plurality of upper channels. This is related to a shared control method that rejects an input/output request when an input/output device is reserved from another upper channel and an input/output request is made to that input/output device from another upper channel. be.
B 従来技術とその問題点
複数の入出力装置を共有する複数の入出力制御
装置を、複数の上位チヤネルで共有する共有制御
方式においては、或る入出力装置が或るチヤネル
によつてリザーブされているときに、他のチヤネ
ルからその入出力装置に対して入出力要求がなさ
れた場合、この入出力要求を拒否する排他制御を
行う必要がある。B. Prior art and its problems In a shared control system in which multiple input/output control devices that share multiple input/output devices are shared by multiple upper channels, a certain input/output device is reserved by a certain channel. If an input/output request is made to the input/output device from another channel while the input/output device is running, it is necessary to perform exclusive control to reject this input/output request.
排他制御を行う共有制御方式としては、第1図
に示すように、n+1個の入出力装置D0,D1…
Dnを例えば2台の入出力制御装置C0およびC1で
共有し、これら入出力制御装置がホストコンピユ
ータをそなえた上位システムS0およびS1で共有さ
れるような場合、入出力制御装置C0およびC1の
両方からアクセス可能な共有メモリMを有し、こ
のメモリの記録内容により排他制御を行う方式が
ある。 As a shared control method that performs exclusive control, as shown in FIG. 1, n+1 input/output devices D 0 , D 1 . . .
For example, if Dn is shared by two input/output control devices C 0 and C 1 , and these input/output control devices are shared by host systems S 0 and S 1 equipped with host computers, the input/output control device C There is a method that has a shared memory M that can be accessed from both C0 and C1 , and performs exclusive control based on the recorded contents of this memory.
このような共有制御方式では、各上位システム
のチヤネルのパス毎に、上位システムを識別する
ための情報であるシステムID(Identification)
を、コマンド“セツトシステムID”により、入
出力制御装置C0およびC1のチヤネルポートAお
よびBにセツトして、入出力制御装置のチヤネル
ルート毎に保持する。すなわち、入出力制御装置
C0のチヤネルポートAと入出力制御装置C1のチ
ヤネルポートAにはシステムS0のIDがセツトさ
れ、他方、入出力制御装置C0のチヤネルポート
Bと入出力制御装置C1のチヤネルポートBには
システムS1のIDがセツトされる。 In such a shared control method, a system ID (Identification), which is information for identifying the upper system, is used for each channel path of each upper system.
is set to channel ports A and B of input/output control devices C0 and C1 by the command "Set System ID" and is held for each channel route of the input/output control devices. In other words, the input/output controller
The ID of system S 0 is set to channel port A of C 0 and channel port A of input/output controller C 1 , and on the other hand, channel port B of input/output controller C 0 and channel port of input/output controller C 1 . The ID of system S1 is set in B.
例えば、システムS0より、入出力装置D0に対
するリザーブコマンドが入出力制御装置C0に与
えられると、チヤネルポートAに保持されている
システムIDを、共有メモリM上の入出力装置D0
に割当てられているアドレスに書込む。第2図
は、共有メモリM上の入出力装置D0に割当てら
れたアドレスにシステムIDが書込まれた状態を
示す。 For example, when a reserve command for input/output device D 0 is given to input/output control device C 0 from system S 0 , the system ID held in channel port A is transferred to input/output device D 0 on shared memory M.
Write to the address assigned to . FIG. 2 shows a state in which the system ID has been written to the address assigned to the input/output device D0 on the shared memory M.
入出力装置D0がシステムS0によりリザーブさ
れている状態で、システムS1より入出力装置D0
に対する入出力コマンドが入出力制御装置C0の
チヤネルポートBに与えられると、そのチヤネル
ポートに保持されているシステムIDと、入出力
要求のあつた入出力装置D0に対応する共有メモ
リMのアドレスに書込まれているシステムIDと
を比較する。この場合、これらシステムIDは一
致しないから、入出力装置D0は使用できないと
して入出力コマンドは拒否されることとなる。こ
の排他制御は、上述のようなシステム間で行われ
るだけでなくチヤネルルート間(AとBとの間)
でも行われる。 When input/output device D 0 is reserved by system S 0 , input/output device D 0 is reserved by system S 1 .
When an input/output command is given to channel port B of input/output control device C 0 , the system ID held in that channel port and the shared memory M corresponding to input/output device D 0 that made the input/output request are Compare with the system ID written in the address. In this case, since these system IDs do not match, the input/output device D 0 is deemed unusable and the input/output command is rejected. This exclusive control is performed not only between systems as described above, but also between channel routes (between A and B).
But it is done.
このような排他制御を行う従来の共有制御方式
では、共有メモリMを入出力制御装置C0および
C1で共有するために、いずれの入出力制御装置
が電源供給状態にあつても共有メモリMを作動さ
せる必要がある。このため、従来の共有制御方式
における電源供給系は、第3図に示すように、入
出力制御装置C0側の電源装置P0と、入出力制御
装置C1側の電源装置P1とを、逆流防止用のダイ
オード1,2をそれぞれ経て共有の電源供給ライ
ン3で共有メモリMに接続しなければならない。
このように、2つの電源装置から共有メモリにそ
れぞれ電源を供給しなければならないので電力供
給系が複雑になるという欠点があつた。 In the conventional shared control method that performs such exclusive control, the shared memory M is connected to the input/output control devices C0 and
In order to share it with C1 , it is necessary to operate the shared memory M even if any input/output control device is in a power supply state. For this reason, the power supply system in the conventional shared control system, as shown in FIG . , must be connected to the shared memory M via a shared power supply line 3 through reverse current prevention diodes 1 and 2, respectively.
As described above, since power must be supplied to the shared memory from two power supply devices, the power supply system becomes complicated.
C 発明の目的と構成
本発明の目的は、電源供給系を簡単にすること
のできる共有制御方式を提供することにある。C. Object and Configuration of the Invention An object of the invention is to provide a shared control system that can simplify the power supply system.
このため、本発明は、複数の上位チヤネルによ
り共有される複数の入出力制御装置と、これら入
出力制御装置に共有される複数の入出力装置と、
前記複数の入出力制御装置の各々からアクセス可
能な共有メモリとを具え、前記共有メモリの記録
内容により排他制御を行うようにした共有制御方
式であつて、前記共有メモリを電源供給系を含め
前記入出力制御装置のいずれかに帰属させるとと
もに、前記入出力制御装置のそれぞれに内部メモ
リと他の入出力制御装置の電源供給状態を検出す
る検出回路とを設け、上位チヤネルよりある入出
力制御装置に入出力要求があつた場合に、前記検
出回路からの情報に基づいて、他の入出力制御装
置が電源供給状態であれば前記共有メモリを使用
し、他の入出力制御装置が電源供給状態にない場
合には、前記入出力要求のあつた入出力制御装置
の内部メモリのみを使用して排他制御を行うよう
にしたことを特徴とするものである。 Therefore, the present invention provides a plurality of input/output control devices shared by a plurality of upper channels, a plurality of input/output devices shared by these input/output control devices,
The shared control method includes a shared memory that can be accessed from each of the plurality of input/output control devices, and performs exclusive control based on the recorded contents of the shared memory, the shared memory including the power supply system being Each of the input/output control devices is provided with an internal memory and a detection circuit for detecting the power supply state of the other input/output control device, and the input/output control device is connected to one of the input/output control devices from the upper channel. When an input/output request is received, the shared memory is used if other input/output control devices are in the power supply state based on the information from the detection circuit, and the other input/output control devices are in the power supply state. If the input/output control device does not have the input/output request, exclusive control is performed using only the internal memory of the input/output control device that received the input/output request.
D 発明の実施例
以下、実施例においては、簡単のために、2台
の入出力制御装置を備えたシステムを例に説明す
る。D. Embodiments of the Invention In the following embodiments, for the sake of simplicity, a system including two input/output control devices will be described as an example.
第4図は、本発明の一実施例において、特に電
源供給系を説明するためのブロツク図である。 FIG. 4 is a block diagram particularly for explaining the power supply system in one embodiment of the present invention.
共有メモリMは、電源供給系を含めて入出力制
御装置C0に帰属させる。この入出力制御装置C0
および共有メモリMには、電源装置P0より電源
供給ラインL0を経て電源を供給する。他方、入
出力制御装置C1には、電源装置P1より電源供給
ラインL1を経て電源を供給する。各入出力制御
装置は内部メモリM0,M1と、電圧検出回路V0,
V1とをそれぞれ具えている。電圧検出回路V0は
電源供給ラインL1に接続され、電圧検出回路V1
は電源供給ラインL0に接続されており、それぞ
れ電源供給状態を検出する。 The shared memory M, including the power supply system, is assigned to the input/output control device C0 . This input/output control device C 0
And the shared memory M is supplied with power from the power supply P 0 via the power supply line L 0 . On the other hand, power is supplied to the input/output control device C1 from the power supply device P1 via the power supply line L1 . Each input/output control device has internal memories M 0 , M 1 and voltage detection circuits V 0 ,
V 1 respectively. The voltage detection circuit V 0 is connected to the power supply line L 1 , and the voltage detection circuit V 1
are connected to the power supply line L0 , and each detects the power supply state.
以上のような電源供給系においては、電源装置
P0がオンのときには共有メモリMおよび内部メ
モリM0が使用可能状態にあり、電源装置P1がオ
ンのときには内部メモリM1が使用可能状態にあ
る。また、電源装置P0およびP1が共にオンのと
きには、共有メモリMと内部メモリM0,M1とが
使用可能状態にある。 In the above power supply system, the power supply
When P 0 is on, shared memory M and internal memory M 0 are available, and when power supply P 1 is on, internal memory M 1 is available. Furthermore, when both power supplies P 0 and P 1 are on, shared memory M and internal memories M 0 and M 1 are available for use.
このため、本発明では、排他制御時において、
入出力コマンドが与えられる入出力制御装置のみ
が電源供給状態にある場合には、その内部メモリ
を用いて排他制御を行い、入出力コマンドが与え
られる入出力制御装置および他の入出力制御装置
が電源供給状態にあるときには、共有メモリを用
いて排他制御を行うようにしている。 Therefore, in the present invention, during exclusive control,
If only the input/output control device to which the input/output command is given is in the power supply state, exclusive control is performed using its internal memory, and the input/output control device to which the input/output command is given and other input/output control devices are When power is being supplied, exclusive control is performed using shared memory.
第5図は、第4図で説明した電源供給系を有す
る共有制御方式の一実施例を示すブロツク図であ
る。 FIG. 5 is a block diagram showing an embodiment of the shared control system having the power supply system described in FIG. 4.
例えばホストコンピユータより成る上位システ
ムS0およびS1が、入出力制御装置C0およびC1を
共有しており、これら入出力制御装置は、共通に
接続された入出力装置D0,D1…Dnを共有してい
るものとする。入出力制御装置C0のチヤネルポ
ートAおよび入出力制御装置C1のチヤネルポー
トAは、システムS0の各チヤネルに接続され各チ
ヤネルルートを形成している。また、入出力制御
装置C0のチヤネルポートBおよび入出力制御装
置C1のチヤネルポートBは、システムS1の各チ
ヤネルに接続され各チヤネルルートを形成してい
る。 For example, host systems S 0 and S 1 consisting of host computers share input/output control devices C 0 and C 1 , and these input/output control devices are commonly connected input/output devices D 0 , D 1 , etc. Assume that the Dn is shared. Channel port A of input/output controller C 0 and channel port A of input/output controller C 1 are connected to each channel of system S 0 to form each channel route. Further, the channel port B of the input/output control device C 0 and the channel port B of the input/output control device C 1 are connected to each channel of the system S 1 to form each channel route.
各入出力制御装置は、第4図において説明した
ようにして、内部メモリM0,M1をそれぞれ具え
ており、共有メモリMは入出力制御装置C0に帰
属されている。これら内部メモリM0,M1および
共有メモリMは、第2図において示したように、
入出力装置D0,D1…Dnに対応するアドレスをそ
れぞれ有している。また、共有メモリMは、メモ
リ・リード/ライト・インターフエース(図示せ
ず)をそれぞれ介して入出力制御装置C0および
C1から読取りおよび書込みが可能である。 Each input/output control device includes an internal memory M 0 and M 1 , respectively, as explained in FIG. 4, and the shared memory M is assigned to the input/output control device C 0 . These internal memories M 0 , M 1 and shared memory M are as shown in FIG.
Each of the input/output devices D 0 , D 1 , . . . has an address corresponding to Dn. The shared memory M also connects to input/output controllers C0 and C0 through memory read/write interfaces (not shown), respectively.
Readable and writable from C1 .
次に、本実施例の動作を説明する。各システム
S0およびS1の上位チヤネルのパス毎にシステムを
識別するためのシステムIDをコマンド“セツト
システムID”によりチヤネルルート毎にセツト
する。すなわち、入出力制御装置C0のチヤネル
ポートAと入出力制御装置C1のチヤネルポート
AにはシステムS0のID“X”がセツトされ、他
方、入出力制御装置C0のチヤネルポートBと入
出力制御装置C1のチヤネルポートBにはシステ
ムS1のID“Y”がセツトされる。 Next, the operation of this embodiment will be explained. Each system
A system ID for identifying the system for each upper channel path of S 0 and S 1 is set for each channel route using the command "set system ID". That is, ID "X" of system S 0 is set to channel port A of input/output controller C 0 and channel port A of input/output controller C 1 , and on the other hand, ID "X" of system S 0 is set to channel port A of input/output controller C 0 and channel port A of input/output controller C 1. The ID "Y" of the system S1 is set to the channel port B of the input/output control device C1 .
例えば、システムS0から入出力制御装置C0の
チヤネルポートAに、入出力装置D0に対するリ
ザーブコマンドが与えられると、入出力制御装置
C0のチヤネルポートAにセツトされているシス
テムID“X”が、内部メモリM0および共有メモ
リMの入出力装置D0に割当てられているアドレ
スに書込まれる。さらに、システムS1から入出力
制御装置C0のチヤネルポートBに入出力装置D1
に対するリザーブコマンドが与えられると、入出
力制御装置C0のチヤネルポートBに保持されて
いるシステムID“Y”が、内部メモリM1および
共有メモリMの入出力装置D1に割当てられてい
るアドレスに書込まれる。入出力制御装置C1へ
は、リザーブコマンドが与えられておらず、その
内部メモリM1はノン・リザーブであるとした場
合、共有メモリM、内部メモリM0、内部メモリ
M1の記録内容を、第6図a,b,cにそれぞれ
示す。図中、ノン・リザーブのアドレスは、空白
で示しているが、例えばノン・リザーブであるこ
とを示す特殊ID(例えばすべて0にする)を書込
むことができる。 For example, when a reserve command for input/output device D 0 is given from system S 0 to channel port A of input/output controller C 0 , the input/output controller
The system ID "X" set in channel port A of C0 is written to the address assigned to input/output device D0 of internal memory M0 and shared memory M. Further, from the system S 1 to the channel port B of the input/output control device C 0 , the input/output device D 1
When a reserve command is given to the input/output controller C0 , the system ID “Y” held in the channel port B of the input/output controller C0 is assigned to the address assigned to the input/output device D1 of the internal memory M1 and the shared memory M. written to. If no reserve command is given to the input/output control device C 1 and its internal memory M 1 is non-reserved, then the shared memory M, internal memory M 0 , internal memory
The recorded contents of M1 are shown in FIGS. 6a, b, and c, respectively. In the figure, non-reserved addresses are shown as blank spaces, but for example, a special ID indicating that they are non-reserved (for example, all 0s) can be written therein.
このような状態において、入出力コマンドが与
えられた場合の排他制御を以下に説明する。第7
図は、排他制御の動作を示すフローチヤートであ
る。例えば、システムS0の上位チヤネルより入出
力装置D0に対する入出力コマンドが、入出力制
御装置C0のチヤネルポートAに発信されたとす
る。また、このとき入出力制御装置C1側の電源
装置P1はオフされており入出力制御装置C1は電
源供給がされていない状態にあるものとする。入
出力制御装置C0側の電圧検出回路V0はこれを検
出して内部メモリM0を使用することを指示する。
入出力制御装置C0は、入出力コマンドにより指
定されたアドレス(入出力装置D1に割当てられ
ている)の内容を内部メモリMoより読取り、リ
ザーブされているか否かを判断する。この場合、
そのアドレスにはシステムID“Y”がリザーブさ
れており、このシステムID“Y”は、現在実行中
のチヤネルルート、すなわちチヤネルポートにセ
ツトされているシステムIDと同一であるか否か
が判断される。この場合、実行中のチヤネルポー
トは入出力制御装置CoのチヤネルポートAであ
り、セツトされているシステムIDは“X”であ
るから不一致であると判断される。その結果、こ
の入出力コマンドは拒否されることとなる。 Exclusive control when an input/output command is given in such a state will be explained below. 7th
The figure is a flowchart showing the operation of exclusive control. For example, assume that an input/output command for input/output device D 0 is sent from the upper channel of system S 0 to channel port A of input/output control device C 0 . Further, at this time, it is assumed that the power supply device P 1 on the side of the input/output control device C 1 is turned off, and the input/output control device C 1 is in a state where power is not supplied. The voltage detection circuit V 0 on the input/output control device C 0 side detects this and instructs to use the internal memory M 0 .
The input/output control device C0 reads the contents of the address specified by the input/output command (assigned to the input/output device D1 ) from the internal memory Mo, and determines whether or not it is reserved. in this case,
The system ID “Y” is reserved at that address, and it is determined whether or not this system ID “Y” is the same as the system ID set in the channel route currently being executed, that is, the channel port. Ru. In this case, the channel port being executed is channel port A of the input/output control device Co, and the set system ID is "X", so it is determined that there is a mismatch. As a result, this input/output command will be rejected.
以上は、チヤネルルート間での排他制御の一例
を説明したが、第7図のフローチヤートで示すよ
うに、指定アドレスがリザーブされていなければ
入出力コマンドは実行され、また、リザーブされ
ているシステムIDが、実行中のチヤネルルート
にセツトされているシステムIDと一致すれば入
出力コマンドは実行されることとなる。第7図に
示す動作は、例えば、マイクロプログラムで行わ
れると考えてよい。 The above has explained an example of exclusive control between channel routes, but as shown in the flowchart in Figure 7, if the specified address is not reserved, the input/output command will be executed, and if the specified address is not reserved, the input/output command will be executed. If the ID matches the system ID set for the channel root being executed, the input/output command will be executed. The operation shown in FIG. 7 may be considered to be performed by a microprogram, for example.
本実施例の動作の理解を助けるため、システム
間の排他制御の動作について説明する。共有メモ
リM、内部メモリM0およびM1の記録内容が第6
図に示す状態である場合において、システムS1の
上位チヤネルより、入出力装置D0に対する入出
力コマンドが、入出力制御装置C1のチヤネルポ
ートBに発信されたとする。また、このとき入出
力制御装置C0側の電源装置P0はオンされており、
入出力制御装置C0は電源が供給されている状態
にあるものとする。入出力制御装置C1側の電圧
検出回路V1はこれを検出して共有メモリMを使
用することを指示する。入出力制御装置C1は、
入出力コマンドにより指定されたアドレス(入出
力装置D0に割当てられている)の内容を共有メ
モリMより読取り、リザーブされているか否かを
判断する。この場合、そのアドレスにはシステム
ID“X”がリザーブされており、このシステムID
“X”は、現在実行中のチヤネルルート、すなわ
ちチヤネルポートにセツトされているシステム
IDと同一であるか否かが判断される。この場合、
実行中のチヤネルポートは入出力制御装置C1の
チヤネルポートBであり、セツトされているシス
テムIDは“Y”であるから不一致であると判断
される。その結果、この入出力コマンドは拒否さ
れることとなる。 To help understand the operation of this embodiment, the operation of exclusive control between systems will be explained. The recorded contents of shared memory M, internal memories M0 and M1 are the sixth
In the state shown in the figure, it is assumed that an input/output command for input/output device D 0 is transmitted from the upper channel of system S 1 to channel port B of input/output control device C 1 . Also, at this time, the power supply device P 0 on the input/output control device C 0 side is turned on.
It is assumed that power is being supplied to the input/output control device C0 . The voltage detection circuit V1 on the input/output control device C1 side detects this and instructs to use the shared memory M. The input/output controller C1 is
The contents of the address specified by the input/output command (assigned to input/output device D0 ) are read from the shared memory M, and it is determined whether or not it is reserved. In this case, the address has a system
ID “X” is reserved and this system ID
“X” is the currently running channel root, i.e. the system set to the channel port.
It is determined whether it is the same as the ID. in this case,
Since the channel port in execution is channel port B of the input/output control device C1 , and the set system ID is "Y", it is determined that there is a mismatch. As a result, this input/output command will be rejected.
すなわち、実施例による場合、入出力制御装置
C0および入出力制御装置C1の双方に電源が供給
されている状態においては、共有メモリMの内容
を基準にして排他制御を行う。そして、共有メモ
リMの内容を更新した場合には、そのときのアク
セス・ルートに属する側の内部メモリM0または
M1に、更新内容を反映させておく。また、一方
の側の入出力制御装置C0またはC1に、電源が供
給されていない状態においては、他方の入出力制
御装置C1またはC0は、少なくとも入出力制御装
置間にまたがる排他制御を考慮する必要がないの
で、共有メモリMを使用することなく、自己の内
部メモリによつて排他制御を行うようになつてい
る。 That is, according to the embodiment, the input/output control device
When power is supplied to both C 0 and input/output control device C 1 , exclusive control is performed based on the contents of shared memory M. When the contents of the shared memory M are updated, the internal memory M0 or M0 of the side belonging to the access route at that time is updated.
Reflect the updated content in M1 . Furthermore, when power is not supplied to the input/output control device C 0 or C 1 on one side, the input/output control device C 1 or C 0 on the other side performs exclusive control over at least the input/output control devices. Since there is no need to take this into account, exclusive control is performed using its own internal memory without using the shared memory M.
E 発明の効果
本発明共有制御方式によれば、共有メモリをあ
る入出力制御装置に帰属させて、共有メモリへの
電源供給はこの入出力制御装置への電源装置で行
うようにしているので電源供給系が簡単となる。
このような電源供給系を採用するため、各入出力
制御装置には内部メモリおよび電圧検出回路を設
けることとなるがこれら部材は安価であるため制
御方式全体としては従来の方式に比べてコストが
安価になるという利点がある。E Effects of the Invention According to the shared control method of the present invention, the shared memory is assigned to a certain input/output control device, and the power supply to the shared memory is performed by the power supply to this input/output control device, so the power supply The supply system becomes simple.
In order to adopt such a power supply system, each input/output control device must be equipped with an internal memory and voltage detection circuit, but since these components are inexpensive, the overall control system costs less than conventional systems. It has the advantage of being inexpensive.
第1図は従来の共有制御方式のブロツク図、第
2図は共有メモリの記録内容を示す図、第3図は
従来の共有制御方式の電源供給系を示す図、第4
図は本発明共有制御方式の電源供給系を示す図、
第5図は本発明の一実施例のブロツク図、第6図
は共有メモリおよび内部メモリの記録内容を示す
図、第7図は排他制御の動作のフローチヤートを
示す図である。
図中、S0,S1はシステム、A,Bはチヤネルポ
ート、C0,C1は入出力制御装置、Mは共有メモ
リ、M0,M1は内部メモリ、D0,D1…Dnは入出
力装置、V0,V1は電圧検出回路、P0,P1は電源
装置、L0,L1は電源供給ラインをそれぞれ示す。
Figure 1 is a block diagram of the conventional shared control system, Figure 2 is a diagram showing the recorded contents of the shared memory, Figure 3 is a diagram showing the power supply system of the conventional shared control system, and Figure 4 is a diagram showing the power supply system of the conventional shared control system.
The figure shows the power supply system of the shared control method of the present invention.
FIG. 5 is a block diagram of an embodiment of the present invention, FIG. 6 is a diagram showing recorded contents of the shared memory and internal memory, and FIG. 7 is a diagram showing a flowchart of exclusive control operation. In the figure, S 0 and S 1 are systems, A and B are channel ports, C 0 and C 1 are input/output control devices, M is shared memory, M 0 and M 1 are internal memories, and D 0 , D 1 ...Dn indicates an input/output device, V 0 and V 1 indicate a voltage detection circuit, P 0 and P 1 indicate a power supply device, and L 0 and L 1 indicate a power supply line, respectively.
Claims (1)
入出力制御装置と、これら入出力制御装置に共有
される複数の入出力装置と、前記複数の入出力制
御装置の各々からアクセス可能な共有メモリとを
具え、前記共有メモリの記録内容により排他制御
を行うようにした共有制御方式であつて、前記共
有メモリを電源供給系を含め前記入出力制御装置
のいずれかに帰属させるとともに前記入出力制御
装置のそれぞれに内部メモリと他の入出力制御装
置の電源供給状態を検出する検出回路とを設け、
上位チヤネルよりある入出力制御装置に入出力要
求があつた場合に、前記検出回路からの情報に基
づいて、他の入出力制御装置が電源供給状態であ
れば前記共有メモリを使用し、他の入出力制御装
置が電源供給状態にない場合には、前記入出力要
求のあつた入出力制御装置の内部メモリのみを使
用して排他制御を行うようにしたことを特徴とす
る共有制御方式。1 A plurality of input/output control devices shared by a plurality of upper channels, a plurality of input/output devices shared by these input/output control devices, and a shared memory accessible from each of the plurality of input/output control devices. The shared control method performs exclusive control based on the recorded contents of the shared memory, wherein the shared memory is assigned to any of the input/output control devices including the power supply system, and the shared memory is controlled by the input/output control device. Each is equipped with an internal memory and a detection circuit that detects the power supply status of other input/output control devices.
When an input/output request is made to a certain input/output control device from an upper channel, based on information from the detection circuit, if the other input/output control device is in the power supply state, the shared memory is used, and the other input/output control device uses the shared memory. A shared control method characterized in that when the input/output control device is not in a power supply state, exclusive control is performed using only the internal memory of the input/output control device that has received the input/output request.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2040684A JPS60167054A (en) | 1984-02-07 | 1984-02-07 | Common use control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2040684A JPS60167054A (en) | 1984-02-07 | 1984-02-07 | Common use control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60167054A JPS60167054A (en) | 1985-08-30 |
| JPH0148577B2 true JPH0148577B2 (en) | 1989-10-19 |
Family
ID=12026142
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2040684A Granted JPS60167054A (en) | 1984-02-07 | 1984-02-07 | Common use control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60167054A (en) |
-
1984
- 1984-02-07 JP JP2040684A patent/JPS60167054A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60167054A (en) | 1985-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0330475B1 (en) | Configuration control system | |
| JPS62237557A (en) | Duplex bus connection system | |
| JPH0148577B2 (en) | ||
| JPH0122653B2 (en) | ||
| JPS6357819B2 (en) | ||
| JPH0656604B2 (en) | Information processing equipment | |
| JPS605369A (en) | Memory control system | |
| JP2904266B2 (en) | Memory connection controller that can cope with bus degradation | |
| JPH06119200A (en) | Memory device and its test method | |
| JPS6020779B2 (en) | Composite computer system | |
| JPS6367707B2 (en) | ||
| JP2718846B2 (en) | Memory circuit | |
| JPS6342598A (en) | Time division multiplex system speech path controller | |
| JPH06259369A (en) | Information processor | |
| JPS6013497B2 (en) | How to diagnose cache memory | |
| JPH05127935A (en) | Duplicating system computer device | |
| JPH04263333A (en) | Memory duplication system | |
| JPS63217444A (en) | Multiple port memory | |
| JPS5854421B2 (en) | information processing equipment | |
| JPH0258156A (en) | data processing equipment | |
| JPH06222969A (en) | Common memory control method | |
| JPS5990150A (en) | Double structure method of input and output device | |
| JPH02168498A (en) | Nonvolatile semiconductor memory | |
| JPS63317863A (en) | Common area multiplexing method | |
| JPH0646133A (en) | Auxiliary storage device control system for exchange |