JPS61206064A - Common input output device for controlling multi-computer system - Google Patents

Common input output device for controlling multi-computer system

Info

Publication number
JPS61206064A
JPS61206064A JP4609385A JP4609385A JPS61206064A JP S61206064 A JPS61206064 A JP S61206064A JP 4609385 A JP4609385 A JP 4609385A JP 4609385 A JP4609385 A JP 4609385A JP S61206064 A JPS61206064 A JP S61206064A
Authority
JP
Japan
Prior art keywords
central processing
common input
processing unit
output device
input
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
JP4609385A
Other languages
Japanese (ja)
Inventor
Junichi Hiramatsu
平松 純一
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP4609385A priority Critical patent/JPS61206064A/en
Publication of JPS61206064A publication Critical patent/JPS61206064A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To continue the I/O allocation without reducing the processing capacity and without executing the complicated processing in a CPU even when any CPU out of plural CPUs breaks down by providing the interruption signal sending means, etc. CONSTITUTION:When the necessity to use a common I/O 5 occurs at a CPU 1A, I/O using request data are written in a using request register 6A of a common input output control device 3, and then, the device 3 writes the code of the using permission in an input output control register 7. Next, the interrupting signal is sent through an interrupting signal line 8A to a CPU 1A by an interrupting signal sending means 9, and thus, when the using permission is informed, the data are exchanged between the CPU 1A and the device 5. When the CPU 1A breaks down before the command of the data exchange is sent, the device 3 monitors the time until the command is written in the register 7, judges that the CPU 1A breaks down when the prescribed time passes, and assigns the using right of the device 5 to other CPU. Thus, the I/O assignment can be continued without reducing the processing capacity even when the CPU breaks down.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数の中央処理装置が共通入出力制御装置
の制御の下に共通入出力装置を共有使用するマルチコン
ピュータシステムにおいて、共通入出力装置の使用割当
を制御する共通入出力装置制御方式に関する。
Detailed Description of the Invention [Field of Industrial Application] This invention is directed to a multi-computer system in which a plurality of central processing units share a common input/output device under the control of a common input/output control device. This invention relates to a common input/output device control method for controlling device usage allocation.

〔従来の技術〕[Conventional technology]

一般に、コンピュータシステムの高性能化を図る一方式
として、複数の中央処理装置を結合してコンピュータシ
ステムを形成し、夫々の中央処理装置に同時並行して処
理を実行させる所謂マルチコンピュータシステムを構成
することによってコンピュータシステムの処理能力の向
上を図る方式がある。
Generally, one way to improve the performance of a computer system is to combine multiple central processing units to form a computer system, and configure a so-called multi-computer system in which each central processing unit executes processing in parallel. There is a method of improving the processing power of a computer system by doing so.

この場合、各中央処理装置とデータ交換すべき入出力装
置は、夫々中央処理装置に対して共通であるのが普通で
あり、入出力装置は共通入出力装置となる。
In this case, the input/output device that exchanges data with each central processing unit is usually common to each central processing unit, and the input/output device becomes a common input/output device.

したがって、共通入出力装置は、一時には、複数の中央
処理装置の何れか1つの中央処理装置とのみデータ交換
を行い、中央処理装置とのデータ交換が終了した後に、
共通入出力装置を使用すべき他の中央処理装置とのデー
タ交換を行うように制御することで、共通入出力装置を
複数の中央処理装置に動的に割当てることが必要になる
Therefore, the common input/output device exchanges data with only one of the plurality of central processing units at a time, and after completing the data exchange with the central processing unit,
By controlling data exchange with other central processing units that should use the common input/output device, it becomes necessary to dynamically allocate the common input/output device to a plurality of central processing units.

従来、この種の共通入出力装置の動的割当を行う共通入
出力装置制御方式として種々のものが提案されている。
Conventionally, various common input/output device control methods have been proposed for dynamically allocating common input/output devices of this type.

すなわち、第1の制御方式は、中央処理装置が共通入出
力装置とのデータ交換の際に、中央処理装置から与える
指令を格納したり、共通入出力装置の動作状態を表示し
たりする一組のレジスタ手段を、共通入出力制御装置に
、各中央処理装置に夫々対応させて複数組設け、これに
より各中央処理装置は、他の中央処理装置が共通入出力
装置とデータ交換を行っているか否かに拘わらずデータ
交換の指令を夫々に割当てられているレジスタ手段の組
だけを使用して前記共通入出力制御装置に与えると、共
通入出力制御装置が複数の中央処理装置からの指令を走
査して一つ一つその指令に基づいて中央処理装置とのデ
ータ交換動作を実行し、動作終了後その旨を当該中央処
理装置に通知する。
In other words, the first control method is a set of control methods that stores commands given by the central processing unit and displays the operating status of the common input/output device when the central processing unit exchanges data with the common input/output device. A plurality of sets of register means are provided in the common input/output control unit, one for each central processing unit, so that each central processing unit can check whether other central processing units are exchanging data with the common input/output unit. Regardless of whether or not the data exchange command is given to the common input/output control device using only the sets of register means assigned to each, the common input/output control device can receive commands from a plurality of central processing units. It scans and executes a data exchange operation with the central processing unit based on each command, and notifies the central processing unit after the operation is completed.

また、第2の制御方式は、複数の中央処理装置のうちの
特定の中央処理装置が成る共通入出力装置の割当権を有
し、それ以外の中央処理装置は、何らかの中央処理装置
間連絡手段によって共通入出力装置の使用要求を割当権
を有する中央処理装置に通知し、これにより当該中央処
理装置が使用要求を行った中央処理装置が共通入出力装
置を使用可能な状態となると、中央処理装置間連絡手段
によってその旨を使用要求元中央処理装置へ通知して使
用許可を与える方式である。
In addition, in the second control method, a specific central processing unit among the plurality of central processing units has the right to allocate a common input/output device, and the other central processing units have some kind of inter-central processing unit communication means. The request to use the common input/output device is notified to the central processing unit that has the right to allocate the common input/output device, and when the central processing unit that made the request for use becomes able to use the common input/output device, the central processing unit This is a method in which the inter-device communication means notifies the requesting central processing unit of this fact and grants permission to use it.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記第1の制御方式にあっては、複数の
中央処理装置は夫々自己だけが制御する入出力装置を有
するかの如くデータ交換を行えるが、複数の情報を記憶
する1組のレジスタ手段を複数個用意しなければならな
いので、ハードウェア量が増大するという問題点があっ
た。
However, in the first control method, each of the plurality of central processing units can exchange data as if it had an input/output device controlled only by itself, but one set of register means for storing a plurality of pieces of information is used. Since multiple units must be prepared, there is a problem in that the amount of hardware increases.

また、第2の制御方式においては、入出力装置の割当権
を有しない中央処理装置が当該入出力装置の使用権を得
るためには、必ず中央処理装置間連絡を行わなければな
らず、中央処理装置間連絡のための処理プログラム走行
分だけ処理能力が低下するという問題点及び入出力装置
の割当権を有する中央処理装置が故障したときには、割
当権を他の中央処理装置が引き継ぐ処理が複雑となると
いう問題点があった。
In addition, in the second control method, in order for a central processing unit that does not have the right to allocate an input/output device to obtain the right to use the input/output device, communication between the central processing units must be performed, and the The problem is that the processing capacity is reduced by the amount of processing program running for communication between processing units, and when the central processing unit that has the right to allocate input/output devices breaks down, the process in which another central processing unit takes over the right to allocate the input/output device is complicated. There was a problem that.

そこで、この発明は、上記従来方式の問題点に着目して
なされたものであり、入出力装置の割当てのための中央
処理装置間連絡による処理能力の低下がなく、しかも、
複数の中央処理装置のうちの何れの中央処理装置が故障
しても中央処理装置における複雑な処理を行うことなく
入出力装置の割当てを継続することが可能なマルチプロ
セッサシステムにおける共通入出力装置制御方式を提供
することを目的とする。
Therefore, the present invention has been made by focusing on the problems of the above-mentioned conventional method, and there is no reduction in processing capacity due to communication between central processing units for allocating input/output devices.
Common input/output device control in a multiprocessor system that can continue assigning input/output devices without performing complicated processing in the central processing unit even if any one of the multiple central processing units fails The purpose is to provide a method.

c問題点を解決するための手段〕 上記目的を達成するために、この発明は、複数の中央処
理装置が共通入出力制御装置の制御の下に共通入出力装
置を共有するマルチコンピュータシステムにおいて、前
記共通入出力制御装置は、これと複数の中央処理装置と
を連係するための記憶手段を有すると共に各中央処理装
置に対して個別に割込信号を送出する割込信号送出手段
を有し、前記記憶手段は、前記複数の中央処理装置から
の当該中央処理装置固有の識別情報を表すビットフィー
ルドと使用要求の有無を表すビットとでなる入出力装置
使用要求を夫々保持可能な複数の記憶領域を有し、前記
共通入出力装置の使用を要求する中央処理装置が、前記
記憶手段に入出力装置使用要求を格納したときに、前記
共通入出力制御装置は、当該使用要求が受付は可能か否
かを判定し、共通入出力装置が使用可能な場合は、当該
使用要求を行った中央処理装置に共通入出力装置の使用
が可能である旨の割込信号を送出し、該割込信号を受信
した中央処理装置が前記共通入出力装置を使用すること
を特徴とする。
Means for Solving Problem c] In order to achieve the above object, the present invention provides a multi-computer system in which a plurality of central processing units share a common input/output device under the control of a common input/output control device. The common input/output control device has storage means for linking the common input/output control device with a plurality of central processing units, and has interrupt signal sending means for individually sending an interrupt signal to each central processing unit, The storage means includes a plurality of storage areas each capable of holding input/output device usage requests from the plurality of central processing units, each consisting of a bit field representing identification information unique to the central processing unit and a bit representing the presence or absence of a usage request. When the central processing unit that requests the use of the common input/output device stores the input/output device usage request in the storage means, the common input/output control device determines whether the usage request can be accepted. If the common input/output device is usable, an interrupt signal indicating that the common input/output device can be used is sent to the central processing unit that made the request for use, and the interrupt signal is The central processing unit receiving the information uses the common input/output device.

〔作用〕[Effect]

この発明は、共通入出力装置と複数の中央処理装置との
データ交換の割当を制御する共通入出力制御装置に、各
中央処理装置からの各中央処理装置固有の識別情報及び
使用要求ビットでなる入出力装置使用要求を記憶する記
憶手段を設けると共に、各中央処理装置の夫々に個別に
割込信号を送出する割込信号送出手段を設けることによ
り、共通入出力装置の使用を要求する中央処理装置は、
前記記憶手段に入出力装置使用要求を書込んだ後、共通
入出力制御装置からの使用許可通知を受信するまで待機
する。一方、共通入出力制御装置は、前記使用要求が受
付は可能となると、割込信号送出手段から使用要求を行
った中央処理装置に使用許可を通知する割込信号を送出
し、この割込信号を受けた中央処理装置が共通入出力装
置を使用してデータ交換を行う。このように、共通入出
力装置の各中央処理装置の割当てを共通入出力制御装置
で行い、共通入出力装置が割当てられた旨を中央処理装
置に通知することにより、前記従来方式の問題点を解決
することができる。
This invention provides a common input/output control device that controls the allocation of data exchange between a common input/output device and a plurality of central processing units, which includes identification information and use request bits specific to each central processing unit from each central processing unit. By providing storage means for storing input/output device use requests and interrupt signal sending means for individually sending interrupt signals to each central processing unit, the central processing unit requests the use of a common input/output device. The device is
After writing the input/output device usage request into the storage means, the storage means waits until a usage permission notification is received from the common input/output control device. On the other hand, when the common input/output control device becomes able to accept the use request, it sends an interrupt signal to notify the central processing unit that made the use request from the interrupt signal sending means of permission to use, and this interrupt signal The received central processing unit exchanges data using the common input/output device. In this way, the problems of the conventional method can be solved by assigning the common input/output device to each central processing unit using the common input/output control device and notifying the central processing unit that the common input/output device has been assigned. It can be solved.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示すブロック図である。 FIG. 1 is a block diagram showing one embodiment of the present invention.

まず、構成について説明すると、複数例えば3台の中央
処理装置IA−ICが入出力バス2に接続され、この入
出力バス2に共通人出力制御装置3のバスインタフェー
ス4が接続され、この共通人出力制御装置3に共通入出
力装置5が接続されている。
First, to explain the configuration, a plurality of, for example, three central processing units IA-IC are connected to an input/output bus 2, a bus interface 4 of a common person output control device 3 is connected to this input/output bus 2, and this common person A common input/output device 5 is connected to the output control device 3.

共通入出力制御装置3は、バスインタフェース4を介し
て各中央処理装置IA〜ICからの使用要求が夫々個別
に書き込まれる使用要求レジスタ6A〜6Cと、入出力
制御レジスタ7と、この入出力制御レジスタ7に格納さ
れた制御情報に基づき前記各中央処理装置IA〜ICに
個別に割込信号線8A〜8Cを介して割込信号を送出す
る割込信号送出手段9とを少なくとも有する。
The common input/output control device 3 includes usage request registers 6A to 6C in which usage requests from each central processing unit IA to IC are individually written via a bus interface 4, an input/output control register 7, and input/output control registers 6A to 6C. It has at least an interrupt signal sending means 9 for individually sending an interrupt signal to each of the central processing units IA to IC via interrupt signal lines 8A to 8C based on control information stored in the register 7.

使用要求レジスタ6A〜6Cの夫々は、第2図に示すよ
うに、例えば使用要求時“1”、不使用時“0”の使用
要求ビットを書込む使用要求記憶領域aと、各中央処理
装置IA〜ICに固有の識別情報を書込む識別情報記憶
領域すとから構成されている。
As shown in FIG. 2, each of the use request registers 6A to 6C includes a use request storage area a in which a use request bit of "1" is written when a use is requested and "0" when not used, and a use request storage area a in which a use request bit is written, for example, is "1" when a use is requested, and "0" is written when not used. It consists of an identification information storage area in which identification information unique to IA to IC is written.

また、人出力制御レジスタ7は、第3図に示すように、
各中央処理装置LA−ICからのデータ交換指令が書込
まれるデータ交換指令記憶領域Cと、各中央処理装置I
A〜ICが共通入出力装置5の使用を終了した時に使用
終了データを書込む使用終了データ記憶領域dと、共通
入出力制御装置3が各中央処理装置IA〜ICに割込信
号を送出する時にその使用許可データ、交換終了データ
等の割込原因データを書込む割込原因記憶領域eとから
構成されている。
In addition, the human output control register 7, as shown in FIG.
A data exchange command storage area C in which data exchange commands from each central processing unit LA-IC are written, and each central processing unit I
An end-of-use data storage area d in which end-of-use data is written when A-IC finishes using the common input/output device 5, and a common input/output control device 3 sends an interrupt signal to each central processing unit IA-IC. and an interrupt cause storage area e in which interrupt cause data such as usage permission data and exchange completion data are written.

なお、共通入出力制御装置3は、その入出力制御レジス
タ7の割込原因記憶領域eに格納した割込原因を、対応
する中央処理装置が読み込んだ後に他の記憶領域C又は
dに中央処理装置からのデータが書き込まれるまでの時
間を監視し、これが所定時間以内であるか否かを判定し
、所定時間を経過したときには、対応する中央処理装置
が故障したものとみなして、使用権を他の中央処理装置
に割当てるように構成されている。
Note that the common input/output control device 3 stores the interrupt cause stored in the interrupt cause storage area e of the input/output control register 7 in the other storage area C or d after the corresponding central processing unit reads it. It monitors the time it takes for data to be written from the device, determines whether it is within a predetermined time, and when the predetermined time has elapsed, it assumes that the corresponding central processing unit has failed and grants usage rights. It is configured to be assigned to another central processing unit.

次に、この実施例の作用について説明する。今、各中央
処理装置IA−ICがともに共通入出力装置5とのデー
タ交換を行っていないものとし、この状態で例えば中央
処理装置IAで共通入出力装置5を使用する必要が生じ
たものとする。
Next, the operation of this embodiment will be explained. Assume that each central processing unit IA-IC is not currently exchanging data with the common input/output device 5, and in this state, for example, it becomes necessary to use the common input/output device 5 in the central processing unit IA. do.

この状態では、まず、中央処理装置IAは、入出力バス
2を介して共通入出力制御装置3の当該中央処理装置I
Aに専用に割当てられた使用要求レジスタ6Aに入出力
装置使用要求データ即ち“1”の使用要求ビット及び識
別情報を書込む。
In this state, first, the central processing unit IA of the common input/output control unit 3 via the input/output bus 2
The input/output device use request data, that is, the use request bit of "1" and identification information are written into the use request register 6A exclusively allocated to A.

このように、共通入出力制御装置3の使用要求レジスタ
6Aに入出力装置使用要求データが書込まれると、共通
入出力制御装置3は、常時使用要求レジスタ6A〜6C
を走査して使用要求データが格納されているか否かを検
査しており、この場合は、使用要求レジスタ6Aのみに
使用要求データが格納されているので、入出力制御レジ
スタ7の割込原因記憶領域eに使用許可を表す所定のコ
ードを書込み、その後割込信号送出手段9によって割込
信号線8Aを介して中央処理装置LAに割込信号を送出
する。これと同時に使用要求レジスタ6Aの使用要求ビ
ットをクリヤする。
In this way, when the input/output device use request data is written to the use request register 6A of the common input/output control device 3, the common input/output control device 3 writes the input/output device use request data to the use request register 6A to 6C.
is scanned to check whether or not the use request data is stored. In this case, since the use request data is stored only in the use request register 6A, the interrupt cause memory in the input/output control register 7 is A predetermined code indicating usage permission is written in area e, and then the interrupt signal sending means 9 sends an interrupt signal to the central processing unit LA via the interrupt signal line 8A. At the same time, the use request bit of the use request register 6A is cleared.

中央処理装置IAは、割込信号を受信すると、入出力制
御レジスタ7の割込原因記憶領域eの内容を読込み、割
込信号が共通入出力装置5の使用許可であることを判知
すると、入出力制御レジスタ7のデータ交換指令記憶領
域Cにデータ交換を指示するコマンドを書込み、これに
より中央処理装置IAと共通入出力装置5との間でのデ
ータ交換の制御を共通入出力制御装置3に指令する。
When the central processing unit IA receives the interrupt signal, it reads the contents of the interrupt cause storage area e of the input/output control register 7, and when it determines that the interrupt signal is permission to use the common input/output device 5, A command instructing data exchange is written in the data exchange command storage area C of the input/output control register 7, and thereby the common input/output control device 3 controls the data exchange between the central processing unit IA and the common input/output device 5. command.

中央処理装置IAと共通入出力装置5との間のデータ交
換が終了すると、共通入出力制御装置3は、入出力制御
レジスタ7の割込原因記憶領域eにデータ交換の処理終
了を表す所定のデータを書込み、その後割込信号′fI
A8 Aに割込信号を送出して中央処理装置IAにデー
タ交換の終了を通知する。
When the data exchange between the central processing unit IA and the common input/output device 5 is completed, the common input/output control device 3 stores a predetermined value in the interrupt cause storage area e of the input/output control register 7 indicating the end of data exchange processing. Write data, then interrupt signal 'fI
A8 Sends an interrupt signal to A to notify the central processing unit IA of the end of data exchange.

中央処理装置IAは割込信号を受信すると再度入出力制
御レジスタ7の割込原因記憶領域eに格納されている処
理結果を読込んで、共通入出力装置5とのデータ交換の
終了を判知し、入出力制御レジスタの使用終了データ記
憶領域dに共通入出力装置5の使用が終了した旨の所定
の使用終了データを書込む。
When the central processing unit IA receives the interrupt signal, it reads the processing result stored in the interrupt cause storage area e of the input/output control register 7 again, and determines the end of data exchange with the common input/output device 5. , writes predetermined end-of-use data indicating that the use of the common input/output device 5 has ended in the end-of-use data storage area d of the input/output control register.

これにより、共通入出力制御装置3は、使用終了データ
を確認して、他の中央処理装置IB、ICからの使用要
求データが使用要求レジスタ6B。
Thereby, the common input/output control device 3 confirms the end-of-use data and stores the use request data from the other central processing units IB and IC in the use request register 6B.

6Cに格納されているか否かを判定し、格納されている
ときには、その使用要求を書込んだ中央処理装置IB又
はICに対して上記と同様の割当制御を実行する。
6C, and if it is stored, the same allocation control as above is executed for the central processing unit IB or IC that wrote the usage request.

また、上記のように、一つの中央処理装置IAに対して
、共通入出力装置5を割当てる処理を行っている状態で
、他の中央処理装置IB又はICから共通入出力制御装
置3の使用要求レジスタ6B又は6Cに入出力装置使用
要求データの書込みがあったときには、これに対する使
用許可を直に与えることなく、それ以前に使用要求レジ
スタ6A〜6Cに使用要求データを書込んだ全ての中央
処理装置と共通入出力装置5とのデータ交換処理が終了
した時点で、始めて共通入出力装置5とのデータ交換を
開始させる。
Further, as described above, while the common input/output device 5 is being allocated to one central processing unit IA, a request to use the common input/output control device 3 may be made from another central processing unit IB or IC. When input/output device use request data is written to register 6B or 6C, all central processing units that previously wrote use request data to use request registers 6A to 6C do not directly grant permission to use the input/output device. When data exchange processing between the device and the common input/output device 5 is completed, data exchange with the common input/output device 5 is started.

さらに、共通入出力制御装置3が中央処理装置IA−I
Cの何れか一つに使用許可を通知した後に、当該中央処
理装置がデータ交換の指令を送出する前に故障した場合
には、共通入出力制御装置3で、所定の中央処理装置に
使用許可を通知してからデータ交換の指令が入出力制御
レジスタ7のデータ交換指令記憶領域Cに書込まれるま
での時−間を監視し、これが所定時間を経過したときに
は、中央処理装置が故障したものとみなして、共通入出
力装置5の使用権を他の中央処理装置に割当てる処理を
行う。
Furthermore, the common input/output control device 3 is the central processing device IA-I.
If the central processing unit breaks down before sending a data exchange command after notifying one of the central processing units C of use permission, the common input/output control unit 3 issues permission to the specified central processing unit. The time from when the data exchange command is notified until the data exchange command is written to the data exchange command storage area C of the input/output control register 7 is monitored, and when a predetermined time has elapsed, it is determined that the central processing unit has failed. Assuming that this is the case, processing is performed to allocate the right to use the common input/output device 5 to another central processing unit.

同様に、中央処理装置と共通入出力装置5とのデータ交
換を開始してからそのデータ交換を終了してこれを通知
する割込信号を中央処理装置に送出した後に、入出力制
御レジスタ7の使用終了データ記憶領域dに使用終了デ
ータを書込む前に中央処理装置が故障した場合も、デー
タ交換の終了を通知してから使用終了データが書き込ま
れるまでの時間を監視して、これが所定時間を経過した
時点で、中央処理装置が故障したものとみなして、共通
入出力装置5の使用権を他の中央処理装置に割当てる処
理を行う。
Similarly, after starting data exchange between the central processing unit and the common input/output device 5, and after completing the data exchange and sending an interrupt signal to notify this to the central processing unit, the input/output control register 7 is Even if the central processing unit breaks down before writing the end-of-use data to the end-of-use data storage area d, the time from the notification of the end of data exchange until the end-of-use data is written is monitored, and it is determined that this is the predetermined time. At the point in time, it is assumed that the central processing unit has failed, and processing is performed to allocate the right to use the common input/output device 5 to another central processing unit.

なお、上記実施例においては、3台の中央処理装置IA
〜ICが共通入出力装置5を共有している場合について
説明したが、これに限らず2台以上の中央処理装置が1
つの共通入出力装置5を共有する場合にもこの発明を適
用し得ること勿論である。
In addition, in the above embodiment, three central processing units IA
~Although the case where the ICs share the common input/output device 5 has been described, this is not limited to the case where two or more central processing units share the common input/output device 5.
Of course, the present invention can also be applied to the case where two common input/output devices 5 are shared.

また、上記実施例においては、共通入出力制御装置3が
複数の中央処理装置IA〜ICに対して使用権を割当て
るに際して、使用要求の到着順に割当てるようにした場
合について説明したが、これに限らず、各中央処理装置
IA〜IC毎に予め設定した優先順位に従って割当るこ
とも可能である。
Furthermore, in the above embodiment, when the common input/output control device 3 allocates usage rights to a plurality of central processing units IA to IC, the case is explained in which the usage rights are allocated in the order in which usage requests arrive. First, it is also possible to allocate each central processing unit IA to IC according to a preset priority order.

さらに、上記実施例においては、各中央処理装置A〜I
Cの使用要求をそれらに専用の使用要求レジスタ6A〜
6Cに格納する場合について説明したが、これに代えて
、各中央処理装置IA〜ICに共通の先入れ先出しレジ
スタ(FiFoレジスタ)を適用して、これに中央処理
装置から使用要求を、書込むようにしてもよい。
Furthermore, in the above embodiment, each central processing unit A to I
C use request registers 6A~
6C has been described, but instead of this, a common first-in, first-out register (FiFo register) may be applied to each of the central processing units IA to IC, and usage requests may be written from the central processing unit to this register. good.

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

以上説明したように、この発明によれば、複数の中央処
理装置が共通入出力制御装置の制御の下に共通入出力装
置を共有するマルチコンピュータシステムにおいて、前
記共通入出力制御装置は、これと複数の中央処理装置と
を連係するための記憶手段を有すると共に各中央処理装
置に対して個別に割込信号を送出する割込信号送出手段
ををし、前記記憶手段は、前記複数の中央処理装置から
の当該中央処理装置固有の識別情報を表すビットフィー
ルドと使用要求の有無を表すビ・7トとでなる入出力装
置使用要求を夫々保持可能な複数の記憶領域を有し、前
記共通入出力装置の使用を要求する中央処理装置が、前
記記憶手段に入出力装置使用要求を格納したときに、前
記共通入出力制御装置は、当該使用要求が受付は可能か
否かを判定し、共通入出力装置が使用可能な場合は、当
該使用要求を行った中央処理装置に共通入出力装置の使
用が可能である旨の割込信号を送出し、該割込信号を受
信した中央処理装置が前記共通入出力装置を使用するよ
うにしたので、入出力装置使用要求のみを記憶する記憶
手段を複数設けるだけでよく、ハードウェア量を減少さ
せることができると共に、共通入出力装置に対する使用
権の割当てを行う際に、中央処理装置間連絡を行う必要
がないので、その処理能力が低下することがなく、しか
も複数の中央処理装置のうちの何れの中央処理装置が故
障しても中央処理装置における複雑な処理を行うことな
しに共通入出力装置の使用権割当を継続することが可能
な共通入出力装置の動的割当を実現することができると
いう効果が得られる。
As explained above, according to the present invention, in a multi-computer system in which a plurality of central processing units share a common input/output device under the control of a common input/output control device, the common input/output control device The storage means has a storage means for linking the plurality of central processing units, and an interrupt signal sending means for individually sending an interrupt signal to each central processing unit, and the storage means is connected to the plurality of central processing units. It has a plurality of storage areas each capable of holding an input/output device usage request consisting of a bit field representing identification information unique to the central processing unit and a bit 7 representing the presence or absence of a usage request from the device, and the common input When the central processing unit that requests the use of an output device stores an input/output device usage request in the storage device, the common input/output control device determines whether or not the usage request can be accepted, and If the input/output device is usable, an interrupt signal indicating that the common input/output device can be used is sent to the central processing unit that made the usage request, and the central processing unit that received the interrupt signal Since the common input/output device is used, it is only necessary to provide a plurality of storage means for storing only requests for using the input/output device, which reduces the amount of hardware, and also reduces the usage rights for the common input/output device. Since there is no need for communication between central processing units when making allocations, the processing capacity of the central processing units does not decrease, and even if any one of the multiple central processing units fails, the central processing unit The advantageous effect is that it is possible to realize dynamic allocation of common input/output devices in which the right to use the common input/output devices can be continuously allocated without performing complicated processing.

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

第1図はこの発明の一実施例を示すブロック図1、  
第2図は使用要求レジスタの構成を示す構成図、第3図
は入出力制御レジスタの構成を示す構成図である。 図中、IA〜ICは中央処理装置、2は入出力バス、3
は共通入出力制御装置、4はバスインタフェース、6A
〜6Cは使用要求レジスタ、7は入出力制御レジスタ、
8A〜8Cは割込信号線、9は割込信号送出手段、aは
使用要求ビット記憶領域、bは識別情報記憶領域、Cは
データ交換指令記憶頭載、dは使用終了データ記憶領域
、eは割込原因記憶領域である。 第 1 図
FIG. 1 is a block diagram 1 showing one embodiment of the present invention.
FIG. 2 is a block diagram showing the structure of the use request register, and FIG. 3 is a block diagram showing the structure of the input/output control register. In the figure, IA to IC are central processing units, 2 is an input/output bus, and 3
is a common input/output control device, 4 is a bus interface, 6A
~6C is a use request register, 7 is an input/output control register,
8A to 8C are interrupt signal lines, 9 is an interrupt signal sending means, a is a use request bit storage area, b is an identification information storage area, C is a data exchange command storage head, d is an end-of-use data storage area, e is the interrupt cause storage area. Figure 1

Claims (1)

【特許請求の範囲】[Claims] 複数の中央処理装置が共通入出力制御装置の制御の下に
共通入出力装置を共有するマルチコンピュータシステム
において、前記共通入出力制御装置は、これと複数の中
央処理装置とを連係するための記憶手段を有すると共に
各中央処理装置に対して個別に割込信号を送出する割込
信号送出手段を有し、前記記憶手段は、前記複数の中央
処理装置からの当該中央処理装置固有の識別情報を表す
ビットフィールドと使用要求の有無を表すビットとでな
る入出力装置使用要求を夫々保持可能な複数の記憶領域
を有し、前記共通入出力装置の使用を要求する中央処理
装置が、前記記憶手段に入出力装置使用要求を格納した
ときに、前記共通入出力制御装置は、当該使用要求が受
付け可能か否かを判定し、共通入出力装置が使用可能な
場合は、当該使用要求を行った中央処理装置に共通入出
力装置の使用が可能である旨の割込信号を送出し、該割
込信号を受信した中央処理装置が前記共通入出力装置を
使用することを特徴とするマルチコンピュータシステム
における共通入出力装置制御方式。
In a multi-computer system in which a plurality of central processing units share a common input/output device under the control of a common input/output control device, the common input/output control device has a memory for linking the common input/output control device with the plurality of central processing units. and interrupt signal sending means for individually sending an interrupt signal to each central processing unit, and the storage means stores identification information specific to the central processing unit from the plurality of central processing units. The central processing unit that requests the use of the common input/output device has a plurality of storage areas each capable of holding input/output device usage requests each consisting of a bit field representing a request and a bit representing the presence/absence of a usage request. When storing an input/output device use request, the common input/output control device determines whether the use request can be accepted, and if the common input/output device can be used, the common input/output control device makes the use request. A multi-computer system characterized in that an interrupt signal indicating that a common input/output device can be used is sent to a central processing unit, and the central processing unit that receives the interrupt signal uses the common input/output device. A common input/output device control method.
JP4609385A 1985-03-08 1985-03-08 Common input output device for controlling multi-computer system Pending JPS61206064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4609385A JPS61206064A (en) 1985-03-08 1985-03-08 Common input output device for controlling multi-computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4609385A JPS61206064A (en) 1985-03-08 1985-03-08 Common input output device for controlling multi-computer system

Publications (1)

Publication Number Publication Date
JPS61206064A true JPS61206064A (en) 1986-09-12

Family

ID=12737371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4609385A Pending JPS61206064A (en) 1985-03-08 1985-03-08 Common input output device for controlling multi-computer system

Country Status (1)

Country Link
JP (1) JPS61206064A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260377A (en) * 2005-03-18 2006-09-28 Seiko Epson Corp Parallel processor and information processing method
JP2010086456A (en) * 2008-10-02 2010-04-15 Renesas Technology Corp Data processing system and semiconductor integrated circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260377A (en) * 2005-03-18 2006-09-28 Seiko Epson Corp Parallel processor and information processing method
JP2010086456A (en) * 2008-10-02 2010-04-15 Renesas Technology Corp Data processing system and semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
EP1016957B1 (en) Method of managing resources shared by multiple processing units
US6141715A (en) Method and system for avoiding live lock conditions on a computer bus by insuring that the first retired bus master is the first to resubmit its retried transaction
US20060136640A1 (en) Apparatus and method for hardware semaphore
US6832303B2 (en) Method and system for managing an allocation of a portion of a memory
CN100442258C (en) Method for dynamically using direct memory access channel and arbitration circuit therefor
TW200404253A (en) Thread dispatch mechanism and method for multiprocessor computer systems
US8090801B1 (en) Methods and apparatus for performing remote access commands between nodes
JPS61206064A (en) Common input output device for controlling multi-computer system
US6889283B2 (en) Method and system to promote arbitration priority in a buffer queue
JPH02210542A (en) Execution control system for virtual computer system
JPH0888666A (en) Buffer control method for parallel processing of communication protocol
JPH03150654A (en) Preference control system for processor having cash
JPH05120039A (en) Task scheduling system
JP3273191B2 (en) Data transfer device
KR100215572B1 (en) Method and apparatus for controlling interface buffer
US6247093B1 (en) Data processing apparatus for executing synchronous instructions prior to executing asynchronous instructions
JP2000244585A (en) Bus interface circuit
JPH01305461A (en) Right of using bus control system
JPS61136159A (en) Single chip microcomputer
KR920004409B1 (en) I/o processing system for virtual computer
JPS6280753A (en) Bus control system
JPS63222544A (en) Dynamic flow control system
JPS63234316A (en) Exclusive control system for table storage
JPH0460257B2 (en)
JPH01142962A (en) Data transfer control system