JPS59146362A - Interface switching control system - Google Patents

Interface switching control system

Info

Publication number
JPS59146362A
JPS59146362A JP58020142A JP2014283A JPS59146362A JP S59146362 A JPS59146362 A JP S59146362A JP 58020142 A JP58020142 A JP 58020142A JP 2014283 A JP2014283 A JP 2014283A JP S59146362 A JPS59146362 A JP S59146362A
Authority
JP
Japan
Prior art keywords
cpu
cpu1
state
interface
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.)
Pending
Application number
JP58020142A
Other languages
Japanese (ja)
Inventor
Tetsuo Nagabori
長堀 哲夫
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58020142A priority Critical patent/JPS59146362A/en
Publication of JPS59146362A publication Critical patent/JPS59146362A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/004Error avoidance

Abstract

PURPOSE:To prevent a peripheral device from being occupied by a CPU owing to the fault of the control program of the CPU by making connections with plural CPUs except the CPU specified to be disconnected a specific time later. CONSTITUTION:For example, the execution of commands is completed, an input/ output controller 9 sends out the command end report to a CPU1, and the remaining items to be reported are still left in the device 9. In this case, a switching part 8 holds only the interface between the CPU1 and device 9 connectable until the reporting of the held items is completed. In this state, a specification part 3 specifies the disconnection from the CPU1 and a gate 4 is disconnected after a specific time set in a timer 6; the switching part 8 is reset to the state wherein a connection with a CPU1 is made. Therefore, even if the command for reporting the held items is not generated owing to the fault of the control program, etc., of the CPU1, the device 9 is never occupied forever by the CPU1.

Description

【発明の詳細な説明】 (A)  発明の技術分野 本発明は複数の中央処理装置が入出力制御装置を共有す
るコンビーータシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Technical Field of the Invention The present invention relates to a combiner system in which a plurality of central processing units share an input/output control device.

(B)  技術の背景 中央処理装置(以下CPUと記す)lこよる周辺装置の
制御は周辺装置側に設けられている入出力制御装置(以
下IOCと記す)を介しておこなわれ、例えば、CPU
からIOCに対しコマンドが発せられ、周辺装置が該コ
マンドによって定められた処理を実行すると該周辺装置
はIOCを介しCPU1こ対しコマンド実行終了報告を
おこなう。
(B) Background of the technology Control of peripheral devices by a central processing unit (hereinafter referred to as CPU) is performed via an input/output control device (hereinafter referred to as IOC) provided on the peripheral device side.
A command is issued to the IOC, and when the peripheral device executes the processing determined by the command, the peripheral device reports completion of command execution to the CPU 1 via the IOC.

コマンド実行終了報告は、コマンドの実行が正常lこお
こなわれたか否かtこ応じて、予め定められた、例えば
、1バイトのコードによって「正常」あるいは「異常1
:簡単(こおこなう方法、あるいは、特に「異常」の場
合、例えば、外部記憶装置からCPUへのデータの転送
において、CPUが指定したアドレスのデータが記憶媒
体の損傷によって読取れないような場合には、「異常」
の状況を、例えば、10バイトのデータlこよって具体
的ζこ報告する方法が用いられているが、通常、前者の
ように1バイトのコードによって報告する方法において
も、l0CIこは具体的な「異常」の状況を記憶し、次
にCPUから発せられるコマンドを待って必要に応じ具
体的ζこ状況報告するよ徨こしている。
The command execution completion report is marked as "normal" or "abnormal" by a predetermined 1-byte code, depending on whether the command was executed normally or not.
: Easy (How to do this, or especially in the case of an "abnormality", for example, when transferring data from an external storage device to the CPU, the data at the address specified by the CPU cannot be read due to damage to the storage medium. is "abnormal"
For example, a method is used to specifically report the situation using 10 bytes of data, but normally even in the former method of reporting using a 1-byte code, l0CI can be specifically reported. It memorizes the "abnormal" situation, waits for the next command issued from the CPU, and then reports the specific situation as necessary.

一方、コンピュータシステム(こは、データの共同利用
あるいは処理能力の向上等を図るため、マルチプロセッ
サシステム伊ファイル共用システム等、複数のCPUが
周辺装置を共用できるようfこ構成されたものが非常に
多く、したがって、このようなシステムにおいては、通
常複数のCPUとIOCとの間−こインタフェースの接
続状態を切換えるため切換え部等を備えている。
On the other hand, computer systems (such as multiprocessor systems and file sharing systems, which are configured so that multiple CPUs can share peripheral devices) are very popular in order to share data or improve processing capacity. Therefore, such systems usually include a switching section or the like for switching the connection state of the interface between the plurality of CPUs and the IOC.

(c)  従来技術と問題点 前記のように、CPUとIOCとの間−こ切換え部を設
けたコンピータシステム(こおいては、例を待った後ζ
こ必要に応じ報告する事項すなわち保留事項がある場合
には、該保留事項の報告が終了するまで、切換部は邑該
CPU1こ切換わった状態を維持するようにしていた。
(c) Prior art and problems As mentioned above, a computer system equipped with a switching section between the CPU and the IOC (in this case, after waiting for the example)
If there is a matter to be reported as necessary, that is, a pending matter, the switching section maintains the state where the CPU 1 is switched until the reporting of the pending matter is completed.

このような場合、もし5該CPUの制御プログラム等F
こ故障があって、保留事項があるにもか\わらず該報告
lこ関し何等の処置もおこなわない場合ζこは、該CP
Uが何時までもIOCを専有することになジ、したがっ
て他のCPUはffl0ciこ接続される周辺装置を利
用することができなかった。
In such a case, if the control program of the CPU, etc.
If there is a failure and no action is taken regarding the report even though there are pending matters, the CP
Since U would monopolize the IOC forever, other CPUs would not be able to use the peripheral devices connected to it.

(至)発明の目的 本発明の目的は、複数のCPUが周辺装置を共用するコ
ンピュータシステムにおいて、一方のCPUの制御プロ
グラムの故障等によって周辺装置が#CPUに専有され
る状態fこなることを防止することIこある。
(To) Purpose of the Invention An object of the present invention is to prevent a situation in which a peripheral device is monopolized by #CPU due to a failure of the control program of one CPU, etc., in a computer system in which multiple CPUs share a peripheral device. There are things you can do to prevent it.

■ 発明の構成 本発明lこなるインタフェース切換え制御方式は複数の
CPUと、IOCと、前記複数のCPUの各々と前記I
OCとの間のインタフェースのいずれをも接続できる状
態と前記複数のCPUのいずれか一つと前記IOCとの
間のインタフェースのみを接続できる状態とを切換える
切換え部と、前記複数のCPUの各々と前記IOCとの
間のインタフェースの接続もしくは切離しを指定する指
定部とを備える装置fこおいて、前記切換え部が前記複
数のCPUのいずれか一つと接続できる状態ζこ切換え
られているとき前記指定部が該CPUと前記IOCとの
間のインタフェースの切離しを指定した場合lこは、所
定時間を経過したのち前記切換え部を切離しを指定した
CPUを除く前記複数のCPUの各々と前記IOCとの
間のインタフェースのいずれをも接続できる状態に復旧
させるようにしたものである。
■ Structure of the Invention The interface switching control method of the present invention includes a plurality of CPUs, an IOC, each of the plurality of CPUs and the IOC.
a switching unit that switches between a state in which any of the interfaces between the plurality of CPUs and the IOC can be connected, and a state in which only the interface between any one of the plurality of CPUs and the IOC can be connected; and a designation part for designating connection or disconnection of an interface with the IOC, wherein the designation part is switched to a state where the switching part can be connected to any one of the plurality of CPUs; specifies disconnection of the interface between the CPU and the IOC, after a predetermined period of time has elapsed, the switching section is connected between each of the plurality of CPUs except the CPU for which disconnection is specified and the IOC. The system is designed to restore a state in which any of the interfaces can be connected.

(ト)発明の実施例 以下、本発明の要旨を実施例によって具体的に説明する
(G) Examples of the Invention The gist of the present invention will be specifically explained below with reference to Examples.

図は本発明一実施例のシステムブロック図を示し、1と
2は後記IOCを共有するCPU、3はCPU1および
CPU2の各々と後記IOCとの間のインタフェースの
接続もしくは切離しを指定する指定部、4はCPU1と
後記切換え部との間に設けられるゲート、5はCPU2
と後記切換え部との間lこ設けられるゲート、6はタイ
マ、7は後記切換え部を制御する切換え制御部、8はC
PU1およびCPU2の各々と後記IOCとの間のイン
タフェースのいずれをも接続できる状態とCPUIおよ
びCPU2のいずれか一方と後記IOCとの間のインタ
フェースのみを接続でさる状態とを切換える切換え部、
9はl0C110は周辺装置である。
The figure shows a system block diagram of an embodiment of the present invention, in which 1 and 2 are CPUs that share the IOC described later, 3 is a designation unit that specifies connection or disconnection of the interface between each of CPU 1 and CPU 2 and the IOC described later; 4 is a gate provided between the CPU 1 and a switching section described below, and 5 is a gate provided for the CPU 2.
6 is a timer, 7 is a switching control unit that controls the switching unit described below, and 8 is a gate provided between the switching unit and the switching unit described below.
a switching unit that switches between a state in which any of the interfaces between each of PU1 and CPU2 and the IOC described below can be connected, and a state in which only the interface between either one of CPUI and CPU2 and the IOC described later is connected;
9 is l0C110 is a peripheral device.

以上のような構成において、例えば、指定部3によりC
PUIとの接続が可能であるよう指示されている場合ゲ
ート4は信号を通過させ得る状態にあり、CPUの制御
をうけてコマンドを実行するとき、切換え部8はCPU
Iとl0C9との間のインタフェースのみを接続できる
状態rこ切換えられているが、前記コマンドの実行が終
ってIOC9がCPUIに対しコマンド終了報告を送出
し且つl0C9+こ保留事項が残っていない場合には切
換え部8はCPUIおよびCPU2の各々とl0C9と
の間のインタフェースのいずれをも接続できる状態tこ
復旧する。
In the above configuration, for example, the designation unit 3
When the gate 4 is instructed to allow connection with the PUI, the gate 4 is in a state where the signal can pass, and when executing a command under the control of the CPU, the switching unit 8 is connected to the CPU.
The state in which only the interface between I and IOC9 can be connected has been changed, but when the execution of the above command is finished and IOC9 sends a command completion report to the CPUI, and there are no pending items remaining, Then, the switching unit 8 restores the state in which it can connect any of the interfaces between each of the CPUI and CPU2 and the 10C9.

これに対し、前記コマンドの実行が終って工OC9がC
PU11こ対しコマンド終了報告を送出し且つl0C9
!こ報告残留事項が残っている場合fこは、CPUIか
ら送られるコマンドを受は該保留事項の報告を終るまで
、切換え部8はCPUIと10C9との間のインタフェ
ースのみを接続できる状態を保つ。この状態で指定部3
がCPUIとの切離しを指定したあとタイマ6!こ設定
した所定時間が経過すると、ゲート4は切断状態となり
、切換え部8はCPU2に対しても接続できる状態tこ
復旧される。したがって、CPUIの制御プログラム等
の故障によって保留事項報告のコマンドが発せられず、
何時までもl0C9がCPUIIこ専有されることがな
い。
On the other hand, after the execution of the above command is completed, the OC9 is
Sends a command completion report to PU11 and l0C9
! If there are any remaining items to be reported, the switching unit 8 maintains a state in which only the interface between the CPUI and the 10C9 can be connected until it receives a command sent from the CPUI and finishes reporting the pending items. In this state, specify section 3
After specifying disconnection from the CPUI, timer 6! When the set predetermined time has elapsed, the gate 4 becomes disconnected, and the switching section 8 is restored to a state where it can also be connected to the CPU 2. Therefore, due to a failure in the CPU control program, etc., the pending matter report command is not issued.
10C9 will never be exclusively used by the CPU II.

尚実施例ではコマンド終了後のエラー情報が保留されて
いる状態での説明を行なったが、切換え部8が、一方の
CPUサイドに倒れている他の状デ 態たとえば、IOCよりの割込要求状態あるいはコマン
ド動作中などζこ於いても、故障によってサービスを受
けられない状態は起シ得るがこの様な場合でも本特許が
有効であることは云う寸でもない。
In the embodiment, the explanation has been made for a state in which error information is held after the command is completed, but other states in which the switching unit 8 is placed on one side of the CPU, such as an interrupt request from an IOC, are explained. Although it is possible that service cannot be provided due to a failure in any state or during command operation, it is not the case that the present patent is valid even in such cases.

(Gl  発明の詳細 な説明したように、本発明によれば、複数のCPUが周
辺装置を共用するコンビーータシステムlこおいて、C
PUの制御プログラムの故障等ζこよって周辺装置が該
CPUに専有される状態に陥ることを防止することがで
きる。
(Gl) As described in detail, according to the present invention, in a combiner system in which a plurality of CPUs share a peripheral device, a C
It is therefore possible to prevent peripheral devices from being monopolized by the CPU due to a failure of the control program of the PU.

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

図は本発明一実施例のシステムブロック図を示し、1と
2はCPU、3は指定部、8は切換え部、9はIOCで
ある。
The figure shows a system block diagram of an embodiment of the present invention, in which 1 and 2 are CPUs, 3 is a designation section, 8 is a switching section, and 9 is an IOC.

Claims (1)

【特許請求の範囲】[Claims] 複数の中央処理装置と、入出力制御装置と、前記複数の
中央処理装置の各々と前記入出力制御装置との間のイン
タフェースのいずれをも接続できる状態と前記複数の中
央処理装置のいずれか一つと1記入出力制御装置との間
のインタフェースのみを接続できる状態とを切換える切
換え部と、前記複数の中央処理装置の各々と前記入出力
制御装置との間のインタフェースの接続もしくは切離し
を指定する指定部とを備える装置lこおいて、前記切換
え部が前記複数の中央処理装置のいずれか一つと接続で
きる状態tこ切換えられているとき前記指定部が膠中央
処理装置と前記入出力制御装置との間のインタフェース
の切離しを指定後、所定時間を経過したのち前記切換え
部を切離しを指定した中央処理装置を除く前記複数の中
央処理装置の各々と前記入出力制御装置との間のインタ
フェースのいずれをも接続できる状態に復旧させること
を特徴とするインタフェース切換え制御方式。
A state where any of the plurality of central processing units, an input/output control device, and an interface between each of the plurality of central processing units and the input/output control device can be connected, and one of the plurality of central processing units is connected. a switching unit that switches between a state in which only one interface between one input/output control device and one input/output control device can be connected; and a designation that specifies connection or disconnection of an interface between each of the plurality of central processing units and the input/output control device; In the apparatus, the switching section is in a state where it can be connected to any one of the plurality of central processing units. any of the interfaces between each of the plurality of central processing units and the input/output control device, excluding the central processing unit for which the switching unit has been specified to be disconnected, after a predetermined period of time has elapsed after specifying disconnection of the interface between the switching units; An interface switching control method characterized by restoring the state to a state where it can also be connected.
JP58020142A 1983-02-09 1983-02-09 Interface switching control system Pending JPS59146362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58020142A JPS59146362A (en) 1983-02-09 1983-02-09 Interface switching control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58020142A JPS59146362A (en) 1983-02-09 1983-02-09 Interface switching control system

Publications (1)

Publication Number Publication Date
JPS59146362A true JPS59146362A (en) 1984-08-22

Family

ID=12018888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58020142A Pending JPS59146362A (en) 1983-02-09 1983-02-09 Interface switching control system

Country Status (1)

Country Link
JP (1) JPS59146362A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62192448U (en) * 1986-05-21 1987-12-07
JPS63150753A (en) * 1986-12-16 1988-06-23 Hitachi Ltd Bus switching device for multi-processor system
JPH04273561A (en) * 1991-02-28 1992-09-29 Nec Corp Occupancy control method and device for input/output device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5622118A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Input/output control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5622118A (en) * 1979-07-31 1981-03-02 Fujitsu Ltd Input/output control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62192448U (en) * 1986-05-21 1987-12-07
JPS63150753A (en) * 1986-12-16 1988-06-23 Hitachi Ltd Bus switching device for multi-processor system
JPH04273561A (en) * 1991-02-28 1992-09-29 Nec Corp Occupancy control method and device for input/output device

Similar Documents

Publication Publication Date Title
US4014005A (en) Configuration and control unit for a heterogeneous multi-system
US6321346B1 (en) External storage
JPH0283601A (en) Programmable-controller
EP0446077B1 (en) A control system for multi-processor system
JPS59106056A (en) Failsafe type data processing system
JPS59146362A (en) Interface switching control system
JPH09218788A (en) Inservice direct down loading system
JPS59161743A (en) Constitution switching system
JPS6113627B2 (en)
GB2146810A (en) Achieving redundancy in a distributed process control system
JPH01283657A (en) Dynamic constitution changing method for input/output control system having cross call function
JP2985188B2 (en) Redundant computer system
JP2815730B2 (en) Adapters and computer systems
JP3903688B2 (en) Bank switching system
JPS59221702A (en) Digital controller
JPH0346855B2 (en)
JPS595331A (en) Waiting system in magnetic disk subsystem
JPS638500B2 (en)
JPS589444B2 (en) Shared input/output equipment control device
JPS584365B2 (en) Reset control system
JPS61290565A (en) Multiprocessor coupling circuit
JP2000347706A (en) Plant controller
JPS5920128B2 (en) input/output control device
JPH03206528A (en) Information processing system
JPS62212865A (en) Multiprocessor control system