JPH05265977A - Input/output control system - Google Patents

Input/output control system

Info

Publication number
JPH05265977A
JPH05265977A JP6232592A JP6232592A JPH05265977A JP H05265977 A JPH05265977 A JP H05265977A JP 6232592 A JP6232592 A JP 6232592A JP 6232592 A JP6232592 A JP 6232592A JP H05265977 A JPH05265977 A JP H05265977A
Authority
JP
Japan
Prior art keywords
peripheral device
input
group
output
address
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
JP6232592A
Other languages
Japanese (ja)
Inventor
Yoshihiko Abe
佳彦 阿部
Toshiyuki Sato
佐藤  利之
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 JP6232592A priority Critical patent/JPH05265977A/en
Publication of JPH05265977A publication Critical patent/JPH05265977A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the availability of a peripheral device by grouping plural peripheral devices, and executing input/output by selecting the arbitrary peripheral device in an unworking state in a group to which the required peripheral device belongs. CONSTITUTION:In a controller 30, a group address discriminating part 32 discriminates whether a frame transferred from one of CPUs 10 to 12 is direct designation or group designation. Then, at the time of the group designation, the group address is sent to a group address correspondence table 33. A working state managing part 35 selects the working state of the peripheral devices 2 connected to ports 36 corresponding to the plural addresses sent from the table 33, and a port address selecting part 34 selects the unworking peripheral device 2. A data switch part 31 sends the transferred frame sent from the CPU to the port 36 corresponding to the port address sent from the port address selecting part 34.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数のCPUと、それ
らCPUにより共用される複数の周辺装置との間で制御
装置によりパスを切り換えて所定のCPUと周辺装置間
でデータの入出力を行なう入出力制御方式に係り、特
に、複数のCPUと複数の周辺装置を効率よく利用でき
るように切り換え接続し、また切り換えたパスをリザー
ブ/リリーズする入出力制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention controls a path between a plurality of CPUs and a plurality of peripheral devices shared by the CPUs by a control device to input / output data between a predetermined CPU and peripheral devices. More particularly, the present invention relates to an input / output control system in which a plurality of CPUs and a plurality of peripheral devices are switched and connected so that they can be efficiently used, and a path that has been switched is reserved / released.

【0002】[0002]

【従来の技術】従来、複数のCPUと、それらCPUに
より共用される複数の周辺装置(例えば外部記憶装置や
プリンタ等の入出力装置)とを、制御装置により相互に
接続してデータを入出力する方式として、CPUと周辺
装置との間の伝送経路を切り換える方式が知られてい
る。この方式は、接続するCPU側ポートと周辺装置側
ポートとを1対1で指定してスイッチングさせる(予め
プログラム等により1台のCPUが1台の周辺装置を指
定して入出力を行なう)方式であり、また、1つの入出
力単位でポートが使用/未使用となる方式である。
2. Description of the Related Art Conventionally, a plurality of CPUs and a plurality of peripheral devices shared by the CPUs (for example, an input / output device such as an external storage device or a printer) are mutually connected by a control device to input / output data. A known method is to switch the transmission path between the CPU and peripheral devices. In this method, the CPU side port and the peripheral device side port to be connected are designated and switched one-to-one (one CPU designates one peripheral device in advance by a program or the like to perform input / output). In addition, the port is used / unused for each input / output unit.

【0003】なお、この種の方式として関連するもの
に、日経コンピュータ1991.1.28(No.24
5)「次世代チャネルの本命ねらいIBMが投入したE
SCON」が挙げられる。
A system related to this type is Nikkei Computer 1991.1.28 (No. 24).
5) "E, which was introduced by IBM, the aim of the next generation channel
SCON ”.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術では、複
数のCPUと複数の周辺装置を相互に接続する場合、予
めプログラム等によりCPU側ポートの1つと周辺装置
側ポートの1つを指定してスイッチングを行なうように
なっているため、指定された周辺装置が稼動状態のとき
には、他の未稼動状態の周辺装置があっても、指定され
た周辺装置が空くのを待たなければならないので、周辺
装置の利用効率が悪い。
In the above-mentioned prior art, when a plurality of CPUs and a plurality of peripheral devices are connected to each other, one of the CPU side port and one of the peripheral device side ports are designated in advance by a program or the like. Since switching is performed, when the specified peripheral device is operating, even if there is another peripheral device that is not in operation, the peripheral device must wait for the specified peripheral device to become available. The utilization efficiency of the device is poor.

【0005】そこで、本発明者等は、プリンタ装置や外
部記憶装置のように、複数の周辺装置のいずれもが複数
のCPUによって共用され得、また、それらの周辺装置
のいずれか1台により入出力処理を行なえば所要の入出
力処理を済ませることができる場合には、それらの周辺
装置の中の空いているものを選んでその周辺装置で入出
力を行なうようにすることを考えた。この場合、複数の
CPUに共通に接続される共用周辺装置群(周辺装置数
が1台ないし複数台)に対して、いずれかのCPUがこ
の周辺装置群中の未稼動状態の周辺装置を選択して入出
力を行なうために、共用システム中の特定の1台のCP
Uが共用周辺装置の稼動状態を監視・監理し、その他の
CPUが共用周辺装置群に対して入出力を行ないたい場
合には、この「特定の」CPUに共用装置の稼動状態を
問い合わせ、その結果に基いて動的にパス指定(CPU
側ポート及び周辺装置側ポートの指定)を行なうことに
より、周辺装置の利用効率を高める方式が考えられる。
しかし、この方式では、システム中の特定のCPUが多
数の周辺装置の1台1台の稼動状態を監視・管理し、ま
た1台1台の稼動状態の問い合わせをしなければなら
ず、CPUのオーバヘッドの増加や周辺装置との接続効
率の低下が問題となる。
Therefore, the inventors of the present invention can share any of a plurality of peripheral devices with a plurality of CPUs, such as a printer device and an external storage device, and can use only one of these peripheral devices. When the output processing can complete the required input / output processing, it was considered to select an empty one of those peripheral devices and perform the input / output by the peripheral device. In this case, for a shared peripheral device group (the number of peripheral devices is one or more) commonly connected to a plurality of CPUs, one of the CPUs selects an inactive peripheral device in this peripheral device group. A specific CP in the shared system for input / output
When the U monitors and supervises the operating status of the shared peripheral device and other CPUs want to perform input / output to / from the shared peripheral device group, this "specific" CPU is inquired about the operating status of the shared peripheral device, and the Dynamic path specification based on the result (CPU
By designating the side port and the peripheral device side port), a method of improving the utilization efficiency of the peripheral device can be considered.
However, in this method, a specific CPU in the system must monitor and manage the operating status of each of a large number of peripheral devices, and must also inquire about the operating status of each peripheral device. An increase in overhead and a decrease in connection efficiency with peripheral devices pose problems.

【0006】従って、本発明の第1の目的は、上記従来
技術の問題点を克服し、複数のCPUと、これら複数の
CPUにより共用される複数の周辺装置との間のパスを
切換え制御することによって、複数のCPU及び複数の
周辺装置を効率よく利用すると共に、CPUのオーバヘ
ッドの増加や周辺装置との接続効率の低下のない入出力
制御方式を提供することにある。
Therefore, a first object of the present invention is to overcome the above problems of the prior art and to control switching of paths between a plurality of CPUs and a plurality of peripheral devices shared by the plurality of CPUs. This makes it possible to efficiently use a plurality of CPUs and a plurality of peripheral devices, and to provide an input / output control system that does not increase the CPU overhead and decrease the connection efficiency with peripheral devices.

【0007】また、上記従来技術では、複数のCPUと
複数の周辺装置との間のパスの切り換えは、1つのI/
O単位(入出力単位)でポートの切り換えが行なわれる
ため、例えば長大な文書を何回も分けてプリントする場
合のように、一連の(複数の)入出力命令を実行するこ
とで1つの業務が遂行されるような場合に、途中で他の
CPUからの割り込みが発生すると所要の業務が完遂で
きない問題が生じる。
Further, in the above conventional technique, switching of paths between a plurality of CPUs and a plurality of peripheral devices is performed by one I / O.
Port switching is performed in units of O (input / output unit), so that a single job can be performed by executing a series of (plural) input / output commands, such as when printing a large document several times. If an interrupt from another CPU occurs in the middle of the process, the problem that the required work cannot be completed occurs.

【0008】従って、本発明の第2の目的は、複数のI
/O処理単位から成る業務単位でCPU及び周辺装置の
間のパスを占有させることにより、1つのまとまった業
務を遂行できるようにした入出力方式を提供することに
ある。
Therefore, a second object of the present invention is to provide a plurality of I's.
An object of the present invention is to provide an input / output method that enables a single integrated job to be performed by occupying a path between a CPU and a peripheral device in a job unit including an / O processing unit.

【0009】[0009]

【課題を解決するための手段】上記第1の目的を達成す
るため、本発明は、複数のCPU及び複数の周辺装置の
間で入出力パスを切り換えて所要の周辺装置に対し入出
力を行なう入出力制御方式において、前記複数の周辺装
置をグループ化する(グループとして定義する手段)
と、各グループにおける周辺装置の稼動状態を管理する
手段と、所要の周辺装置が属するグループにおける未稼
動状態の周辺装置を選択する手段と、選択した周辺装置
に入出力が行なわれるように前記入出力パスを切り換え
る手段とを備えたことを特徴とする。
In order to achieve the first object, the present invention switches input / output paths between a plurality of CPUs and a plurality of peripheral devices to perform input / output to / from required peripheral devices. In the input / output control method, the plurality of peripheral devices are grouped (means defined as a group)
A means for managing the operating status of the peripheral device in each group, a means for selecting an inactive peripheral device in the group to which the required peripheral device belongs, and a means for inputting / outputting data to / from the selected peripheral device. And a means for switching the output path.

【0010】また、前記グループ化手段、稼動状態管理
手段、未稼動状態周辺装置選択手段、並びに、入出力パ
ス切り換え手段は、制御装置上に設けられる。
Further, the grouping means, the operating state managing means, the non-operating state peripheral device selecting means, and the input / output path switching means are provided on the control device.

【0011】また、以上の手段に加えて、CPUの1つ
が直接複数の周辺装置の中の1つを動的に指定して、指
定した周辺装置に入出力が行われるようにパスを切り換
える機能を併用させることもできる。
In addition to the above means, one of the CPUs dynamically designates one of the peripheral devices directly and switches the path so that input / output is performed to the designated peripheral device. Can also be used in combination.

【0012】上記第2の目的を達成するため、更に、複
数の入出力処理単位から成る業務を遂行する場合、業務
単位でCPUと所要周辺回路との間のパスを占有させる
ように構成する。
In order to achieve the above-mentioned second object, when a business consisting of a plurality of input / output processing units is further executed, the path between the CPU and the required peripheral circuit is occupied in each business unit.

【0013】[0013]

【作用】上記構成に基づく作用を説明する。The operation based on the above configuration will be described.

【0014】本発明によれば、複数のCPUが制御装置
に接続されている複数の共用周辺装置に対し入出力をす
る場合、これらの周辺装置をグループ化し(グループ分
けの定義をし)、各グループにおける周辺装置の稼動状
態が常に管理監視されている。そして、CPUは、所要
の周辺装置に対して入出力をしようとするとき、周辺装
置に転送するフレーム中に、グループ別の定義をした周
辺装置アドレス情報を付加してデータを転送する。する
と、所要の周辺装置が属するグループにおける未稼動状
態の(稼動していない)周辺装置が選択され、選択され
た周辺装置に対するパスが切り換え接続されて入出力が
行なわれる。これによって、グループ中にどれか1つで
も未稼動状態の周辺装置があれば直ちにこの周辺装置に
対するパスを確立して入出力を行うことができるため、
従来のCPUと周辺装置を1対1で指定する方式に比べ
て、稼動中の周辺装置が空くのを待つようなことほとん
どなくなり、周辺装置の利用効率が向上する。
According to the present invention, when a plurality of CPUs perform input / output to a plurality of shared peripheral devices connected to the control device, these peripheral devices are grouped (definition of grouping), and each peripheral device is grouped. The operating status of peripheral devices in the group is constantly managed and monitored. Then, when the CPU attempts to perform input / output to / from a required peripheral device, the CPU transfers the data by adding the peripheral device address information defined for each group to the frame to be transferred to the peripheral device. Then, the non-operational (non-operational) peripheral device in the group to which the required peripheral device belongs is selected, the path to the selected peripheral device is switched and connected, and input / output is performed. As a result, if any one of the peripheral devices in the group is in a non-operational state, it is possible to immediately establish a path to this peripheral device and perform input / output.
Compared to the conventional method of designating the CPU and the peripheral device on a one-to-one basis, there is almost no need to wait for an active peripheral device to become available, and the utilization efficiency of the peripheral device is improved.

【0015】また、各グループの周辺装置の稼動状態管
理手段、グループにおける未稼動周辺装置選択手段、入
出力パス切り換え手段等を、制御装置内に設け、制御装
置の配下の未稼動状態の周辺装置に対する選択切換えを
一括して制御するようにしたので、多数の周辺装置の稼
動状態を管理するために特定のCPUを設ける場合のよ
うに、システム中の入出力をしようとするCPUは、い
ちいち周辺装置の稼動状態を特定のCPUに問い合わせ
る必要がなく、またグループ内のどの周辺装置に入出力
するかを意識する必要もなく、単にグループ指定するだ
けで以後の選択接続動作はすべて制御装置が行ない所要
の入出力装置に対する入出力をすることができる結果、
CPUのオーバヘッドが増加することなく効率的に処理
を実行できる。
Further, an operating state management means for the peripheral devices of each group, a non-operating peripheral device selecting means for the group, an input / output path switching means, etc. are provided in the control device, and the non-operating peripheral devices under the control device are provided. Since the selection switching for the CPUs is collectively controlled, the CPUs that try to perform input / output in the system are connected to the peripherals one by one as in the case where a specific CPU is provided to manage the operating states of many peripheral devices. There is no need to inquire the operating status of the device to a specific CPU, and it is not necessary to be aware of which peripheral device in the group the input / output is performed. Simply by specifying the group, the control device will perform all subsequent selective connection operations. As a result of being able to input and output to the required I / O device,
The processing can be executed efficiently without increasing the CPU overhead.

【0016】また、以上の手段と併用して、CPUの1
つが直接複数の周辺装置の中の1つを動的に指定して、
指定した周辺装置に入出力する機能を持たせるようにし
ている。この場合、制御装置は、制御装置内で転送フレ
ームのアドレス情報に基づき、指定の周辺装置へ入出力
するのか、またはグループ定義した周辺装置群へ入出力
するのかを判定し、前者であれば、指定の周辺装置へ直
ちにフレームを転送する。また、後者であれば、アドレ
ス情報からグループ定義してある周辺装置群を選択し、
周辺装置の稼動状態を管理している稼動状態管理部(管
理手段)から当該周辺装置群の稼動状態とポートのリザ
ーブ/リリーズ状態を調べ、当該周辺装置群の中から未
稼動状態の周辺装置を選択し、フレームをその周辺装置
へ送る。
Further, in combination with the above means, the CPU 1
One directly specifies one of multiple peripherals,
The specified peripheral device has the function of inputting and outputting. In this case, the control device determines, based on the address information of the transfer frame within the control device, whether to perform input / output to the specified peripheral device or to the peripheral device group defined by the group, and if the former, Immediately transfers the frame to the specified peripheral. In the latter case, select a peripheral device group that has a group definition from the address information,
From the operating status management unit (management means) that manages the operating status of peripheral devices, check the operating status of the peripheral device group and the reserve / release status of the port, and select the peripheral device that is inactive from the peripheral device group. Select and send frame to its peripherals.

【0017】また、複数の入出力処理単位から成る業務
を遂行する場合、CPUと所要周辺回路との間のパスを
業務単位で占有(リザーブ)させる場合、具体的には、
CPUと周辺装置(プリンタ等)の間のパスの確定時
に、パスリザーブコマンドにより、リザーブする周辺装
置が接続されている制御装置のポートを占有状態にし、
業務終了時にパスリリーズコマンドによりこのポートを
解放する。
Further, in the case of carrying out a task consisting of a plurality of input / output processing units, when occupying (reserving) the path between the CPU and the required peripheral circuit in the task unit, specifically,
When the path between the CPU and the peripheral device (printer etc.) is established, the port reserve command is used to occupy the port of the control device to which the peripheral device to be reserved is connected,
This port is released by the pass release command at the end of business.

【0018】[0018]

【実施例】以下に、本発明の実施例を図面により詳細に
説明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0019】図1は、本発明の入出力制御方式を実現す
るシステムの構成図で、情報を処理するCPU10,1
1,12と、CPUからの指示に基づいて入出力を行う
周辺装置20,21,……2nと、CPUおよび周辺装
置を相互に接続し、転送されるフレームに付加されてい
るアドレス情報に対応してCPUと周辺装置間の入出力
パスをスイッチングすることができる制御装置(入出力
制御装置)30とから構成されている。
FIG. 1 is a block diagram of a system that realizes the input / output control method of the present invention. CPUs 10 and 1 for processing information.
1 and 12 and peripheral devices 20, 21, ... 2n that perform input / output based on instructions from the CPU, and the CPU and peripheral devices are connected to each other, and correspond to address information added to a frame to be transferred. In addition, the control device (input / output control device) 30 is capable of switching the input / output path between the CPU and the peripheral device.

【0020】制御装置30には、CPUおよび周辺装置
を接続し、CPUからのパスリザーブ/リリーズコマン
ドにより、占有/解放を行う機能を有するポート36
と、CPUおよび周辺装置の間で転送されるフレーム中
に含まれるグループアドレス識別情報の定義から、転送
フレームがダイレクト指定かグループ指定かを判定する
グループアドレス判定部32と、グループアドレスに対
応するポートアドレスグループを定義しているグループ
アドレス対応テーブル33と、制御装置30に接続して
いる周辺装置20,21,……2nの稼動状態とポート
36のリザーブ/リリーズ状態を管理している稼動状態
管理部35と、稼動状態管理部35から報告される周辺
装置20,21,……2nの稼動状態情報及びポート3
6のリザーブ/リリーズ状態情報により、未稼動状態の
周辺装置を選択し、その周辺装置が接続されているポー
トアドレスを指定するポートアドレス選択部34と、グ
ループアドレス判定部32を経て送られて来た転送フレ
ーム中のポートアドレス、またはポートアドレス選択部
34から指定されたポートアドレスにより、転送フレー
ムを各ポートへスイッチングするデータスイッチ部31
とにより構成されている。(なお、ここで、リザーブ状
態とは、一連の命令で何回も周辺装置が入出力処理を行
なう場合、それらの処理が完了するまで、他のCPUが
入れないように、特定のCPUが接続された状態をい
い、稼動状態とは、リザーブ状態のうち、周辺装置が実
際に入出力を行っている期間の状態をいう)。
A CPU and peripheral devices are connected to the control device 30, and a port 36 having a function of occupying / releasing by a path reserve / release command from the CPU.
And a group address determination unit 32 that determines whether the transfer frame is direct designation or group designation based on the definition of the group address identification information included in the frame transferred between the CPU and the peripheral device, and the port corresponding to the group address. A group address correspondence table 33 that defines an address group, and an operating state management that manages the operating states of the peripheral devices 20, 21, ... 2n connected to the control device 30 and the reserve / release state of the port 36. Section 35 and the operating status information of the peripheral devices 20, 21, ... 2n reported from the operating status management section 35 and the port 3
It is sent through the group address determination unit 32 and the port address selection unit 34 that selects a peripheral device in an inactive state according to the reserve / release status information of No. 6 and specifies the port address to which the peripheral device is connected. The data switch unit 31 that switches the transfer frame to each port according to the port address in the transfer frame or the port address specified by the port address selection unit 34.
It is composed of and. (Here, in the reserved state, when a peripheral device performs input / output processing many times with a series of instructions, a specific CPU is connected so that another CPU cannot enter until the processing is completed. The operating state refers to the state of the reserved state during which the peripheral device is actually performing input / output).

【0021】図2はCPUと周辺装置間で転送するフレ
ームの構造を表わし、転送フレームは、制御情報(装置
アドレスを含む)及びデータ(これらの部分は通常のも
のと同じであり、詳細な説明は省略する)に加えて、そ
の先頭にはアドレス情報50が付加してある。このアド
レス情報50は、転送フレームを指定のポートダイレク
ト転送(ダイレクト指定)するのか、またはグループア
ドレス対応テーブル33に定義してあるポートグループ
に転送(グループ指定)するのかを指定するグループア
ドレス識別情報51と、このグループアドレス識別情報
51の指定(ダイレクト指定またはグループ指定)によ
り、周辺装置側ポートアドレスまたは、グループアドレ
スを指定するアドレスA52と、CPU側ポートアドレ
スを指定するアドレスB53と、周辺装置側のポートを
リザーブ/リリーズするパスリザーブ/リリーズ情報5
4とにより構成されている。
FIG. 2 shows the structure of a frame to be transferred between the CPU and the peripheral device. The transfer frame has control information (including a device address) and data (these parts are the same as usual ones). Is omitted), and address information 50 is added to the head of the address information. The address information 50 is group address identification information 51 that specifies whether a transfer frame is to be transferred directly to a designated port (direct designation) or to a port group defined in the group address correspondence table 33 (group designation). By specifying the group address identification information 51 (direct specification or group specification), a peripheral device side port address or an address A52 specifying a group address, an address B53 specifying a CPU side port address, and a peripheral device side address Port reserve / release information for port reserve / release 5
4 and.

【0022】図3は、制御装置30内の各ポート36に
1つずつ固定的に付加されるポートアドレスの対応を示
しており、CPU側及び周辺装置側の各ポートにそれぞ
れ設定してある。
FIG. 3 shows the correspondence of the port addresses fixedly added one by one to each port 36 in the control device 30, and is set for each port on the CPU side and the peripheral device side.

【0023】図4は、制御装置30内のグループアドレ
ス対応テーブル33に定義してあるグループアドレスと
ポートアドレスの対応を示している。
FIG. 4 shows the correspondence between group addresses and port addresses defined in the group address correspondence table 33 in the control device 30.

【0024】(実施例1)本実施例において、CPU1
1からグループ指定により周辺装置20,21のどちら
かにフレームを転送するケースを例に以下説明する。
(Embodiment 1) In the present embodiment, the CPU 1
A case where a frame is transferred from 1 to one of the peripheral devices 20 and 21 by group designation will be described below as an example.

【0025】CPU11から転送されるフレーム(図
2)のアドレス情報50内のグループアドレス識別情報
51には、グループ指定である情報“1”がセットさ
れ、アドレスA52にはグループアドレス“00”がセ
ットされ、アドレスB53にはCPU側ポートのポート
アドレス“01”がセットしてある。
The group address identification information 51 in the address information 50 of the frame (FIG. 2) transferred from the CPU 11 is set to the group designation information "1", and the address A52 is set to the group address "00". The port address "01" of the CPU side port is set in the address B53.

【0026】CPU11から制御装置30のポートN
o.2へ送られたフレームは、データスイッチ部31と
グループアドレス判別部32に送られ、グループアドレ
ス判別部32は、転送フレームのグループアドレス識別
情報51の情報により、この転送フレームがグループ指
定であることを判定し、アドレスA52にセットされて
いるグループアドレス“00”をグループアドレス対応
テーブル33に送る。グループアドレス対応テーブル3
3は、グループアドレス判別部32から送られてきたグ
ループアドレス“00”から、このアドレス“00”に
対応して定義してあるポートアドレス“03”,“0
4”(図4)をポートアドレス選択部34及び稼動状態
管理部35に送る。稼動状態管理部35では、ポート3
6に接続されている周辺装置20,21,……2nの最
新稼動状態(稼動状態か未稼動状態)およびポートのリ
ザーブ/リリーズ状態を管理しており、グループアドレ
ス対応テーブル33から送られてきたポートアドレス
“03”,“04”に接続されている周辺装置20,2
1の稼動状態及びポートのリザーブ/リリーズ状態をポ
ートアドレス選択部34に送る。この説明において周辺
装置20,21の稼動状態は、周辺装置20が稼動状
態、周辺装置21が未稼動状態、ポートNo.4がリザ
ーブ状態、ポートNo.5がリリーズ状態とする。
From the CPU 11 to the port N of the control device 30
o. The frame sent to No. 2 is sent to the data switch section 31 and the group address discrimination section 32, and the group address discrimination section 32 determines that this transfer frame is a group designation by the information of the group address identification information 51 of the transfer frame. Then, the group address “00” set in the address A52 is sent to the group address correspondence table 33. Group address correspondence table 3
3 is a port address “03”, “0” defined from the group address “00” sent from the group address discrimination unit 32, corresponding to the address “00”.
4 "(FIG. 4) is sent to the port address selection unit 34 and the operating state management unit 35. In the operating state management unit 35, the port 3
It manages the latest operating status (operating status or non-operating status) and port reserve / release status of the peripheral devices 20, 21, ... Peripheral devices 20, 2 connected to port addresses "03", "04"
The operating state of 1 and the reserve / release state of the port are sent to the port address selecting unit 34. In this description, the peripheral devices 20 and 21 are in the operating state, that is, the peripheral device 20 is in the operating state, the peripheral device 21 is in the non-operating state, 4 is reserved, port No. 5 is in the release state.

【0027】ポートアドレス選択部34は、稼動管理部
35より送られてきた周辺装置20,21の稼動状態情
報及びポートのリザーブ/リリーズ状態情報から、未稼
動の周辺装置21を選択し、その周辺装置21が接続さ
れているポートのポートアドレス“04”を、データス
イッチ部31に送る。
The port address selection unit 34 selects an inactive peripheral device 21 from the operation status information of the peripheral devices 20 and 21 and the port reserve / release status information sent from the operation management unit 35, and its surroundings. The port address “04” of the port to which the device 21 is connected is sent to the data switch unit 31.

【0028】データスイッチ部31は、ポートアドレス
選択部34から送られてきたポートアドレス“04”に
対応して、CPU11から送られてきた転送フレーム
を、ポートアドレス“04”のポートに送り、周辺装置
21で転送フレームが処理される。
The data switch unit 31 sends the transfer frame sent from the CPU 11 to the port with the port address "04" in response to the port address "04" sent from the port address selecting unit 34, and sends it to the peripheral. The device 21 processes the transfer frame.

【0029】(実施例2)本構成において、CPU12
からダイレクト指定により周辺装置20へフレームを転
送しようとする場合は、CPU12から転送するフレー
ム(図2)のアドレス情報50内のグループアドレス識
別情報51には、ダイレクト指定である“0”がセット
され、アドレスA52にはポートアドレス“03”がセ
ットしてある。
(Embodiment 2) In this configuration, the CPU 12
When a frame is to be transferred from the CPU 12 to the peripheral device 20 by direct designation, "0" which is direct designation is set in the group address identification information 51 in the address information 50 of the frame (FIG. 2) transferred from the CPU 12. The port address "03" is set in the address A52.

【0030】CPU12から制御装置30のポートN
o.3へ送られたフレームは、データスイッチ部31と
グループアドレス判別部32に送られ、グループアドレ
ス判別部32は、転送フレームのグループアドレス識別
情報51の情報により、この転送フレームがダイレクト
指定であることを判定し、アドレスA52にセットされ
ているポートアドレス“03”をデータスイッチ部31
に送る。
From the CPU 12 to the port N of the controller 30
o. The frame sent to No. 3 is sent to the data switch unit 31 and the group address discrimination unit 32, and the group address discrimination unit 32 determines that the transfer frame is directly designated by the information of the group address identification information 51 of the transfer frame. And the port address “03” set in the address A52 is set to the data switch unit 31.
Send to.

【0031】データスイッチ部31は、グループアドレ
ス判定部32から送られてきたポートアドレス“03”
に対応して、CPU12から送られてきた転送フレーム
を、ポートアドレス“03”のポートに送り、周辺装置
20で転送フレームが処理される。
The data switch unit 31 sends the port address "03" sent from the group address determination unit 32.
In response to the above, the transfer frame sent from the CPU 12 is sent to the port with the port address “03”, and the peripheral device 20 processes the transfer frame.

【0032】(実施例3)業務単位(複数I/O処理単
位)でパスをリザーブ/リリーズすることが必要な周辺
装置(プリンタ等)に対し、CPUからグループ指定に
より周辺装置群中の未稼動状態周辺装置への入出力を行
う場合において、パスリザーブ/リリーズの動作につい
て説明する。
(Embodiment 3) Peripheral devices (printers, etc.) that need to reserve / release paths in business units (units of a plurality of I / O processes) are inactive in the peripheral device group by the group designation from the CPU. The operation of the path reserve / release when inputting / outputting to / from the state peripheral device will be described.

【0033】CPUと周辺装置群中の未稼動状態周辺装
置とのパス接続は、実施例1と同様の手順で行なわれ
る。
The path connection between the CPU and the inactive peripheral devices in the peripheral device group is performed in the same procedure as in the first embodiment.

【0034】さらに、この実施例におけるパスリザーブ
/リリーズの動作では、実施例1に加えCPU11から
業務開始時に転送されるフレームのアドレス情報50内
のパスリザーブ/リリーズ情報54に、パスリザーブコ
マンドである“0”がセットされ送られる。
Further, in the path reserve / release operation in this embodiment, in addition to the first embodiment, the path reserve command is set in the path reserve / release information 54 in the address information 50 of the frame transferred from the CPU 11 at the start of work. "0" is set and sent.

【0035】実施例1において、CPU11と周辺装置
21間で最初にパスが接続された時点で、パスリザーブ
/リリーズ情報54にセットされていたパリザーブコマ
ンドにより、周辺装置21が接続されているポートN
o.5(ポートアドレス“04”)はリザーブ状態とな
り、リザーブ状態中はCPU11以外のCPUからのフ
レームは受付けない。そして、リザーブ状態は、CPU
11から転送されるフレームのパスリザーブ/リリーズ
情報54にパスリリーズコマンドである“1”がセット
されて送られてくるまで続き、この時点で当該ポートは
リリーズされる。
In the first embodiment, when the path is first connected between the CPU 11 and the peripheral device 21, the port to which the peripheral device 21 is connected by the parize command set in the path reserve / release information 54. N
o. 5 (port address "04") is in the reserved state, and during the reserved state, frames from CPUs other than the CPU 11 are not accepted. And the reserve state is the CPU
This continues until the path reserve / release information 54 of the frame transferred from 11 is set to "1" which is the path release command, and the port is released at this point.

【0036】従って、業務単位(複数I/O処理単位)
にパスのリザーブ/リリーズが必要な周辺装置は、CP
Uからの業務開始時のフレームにパスリザーブコマンド
を付加し、業務終了時のフレームにパスリリーズコマン
ドを付加することにより、業務単位(複数I/O処理単
位)にパスのリザーブ/リリーズが可能となり、接続す
ることができる。
Therefore, a business unit (a plurality of I / O processing units)
Peripheral devices that require pass reservation / release are CP
By adding a path reserve command to the frame at the start of work from U and a path release command to the frame at the end of work, it becomes possible to reserve / release the path for each business unit (multiple I / O processing units). , Can be connected.

【0037】なお、本実施例におけるグループ別けの基
準としては、同種のプリンタ同志(どのプリンタで出力
してもよいもの)でまとめるとか、どの入力装置から入
力しても構わないもの同志でまとめるようにする。
As the criteria for grouping in the present embodiment, printers of the same type (which can be output by any printer) or those which may be input from any input device are grouped together. To

【0038】[0038]

【発明の効果】以上詳しく説明したように、本発明によ
れば、複数CPUと複数の共用の周辺装置とを有する入
出力制御方式において、複数の周辺装置をグループ化
し、所要周辺装置の属するグループ内の未稼動状態の任
意の周辺装置を選択して入出力を行なうようにしたの
で、周辺装置の利用効率を向上することができる効果が
ある。また、このグループ化しグループ内の未稼動状態
の周辺装置を選択するための手段を制御装置上に設け、
配下の周辺装置に対する選択切り換え制御を一括して行
なうようにしたので、入出力をしようとするCPUは、
オーバヘッドを増加させることなく、単にグループを指
定するだけで自動的に未稼動状態の周辺装置が選ばれて
入出力を行なうことができる効果がある。
As described in detail above, according to the present invention, in an input / output control system having a plurality of CPUs and a plurality of shared peripheral devices, a plurality of peripheral devices are grouped and a group to which a required peripheral device belongs. Since an arbitrary peripheral device in a non-operating state is selected and input / output is performed, there is an effect that the utilization efficiency of the peripheral device can be improved. In addition, a means for selecting a peripheral device in this group that is not in operation within the group is provided on the control device,
Since the selection switching control for the peripheral devices under the control is performed collectively, the CPU that intends to perform input / output is
It is possible to automatically select an inactive peripheral device and perform input / output by simply specifying a group without increasing overhead.

【0039】さらに、パスリザーブ/リリーズ機能によ
り、複数I/O処理の途中で他のCPUの割り込みをさ
せないようにして、業務単位(複数I/O処理単位)に
パスのリザーブ/リリーズが必要な周辺装置(プリンタ
等)を制御装置に接続することが可能となる効果があ
る。
Further, by using the path reserve / release function, it is necessary to reserve / release the path for each business unit (a plurality of I / O processing units) so as not to interrupt other CPUs during the plurality of I / O processing. The peripheral device (printer or the like) can be connected to the control device.

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

【図1】本発明の入出力制御方式の一実施例のシステム
構成図である。
FIG. 1 is a system configuration diagram of an embodiment of an input / output control system of the present invention.

【図2】CPUと周辺装置との間で転送される転送フレ
ームの構成図である。
FIG. 2 is a configuration diagram of a transfer frame transferred between a CPU and a peripheral device.

【図3】制御装置内のポートに個々に取り付けられてい
るポートアドレスの対応表を示す図である。
FIG. 3 is a diagram showing a correspondence table of port addresses individually attached to ports in the control device.

【図4】制御装置内グループアドレス対応テーブルに定
義されているグループアドレスとポートアドレスグルー
プとの対応表を示す図である。
FIG. 4 is a diagram showing a correspondence table of group addresses and port address groups defined in a group address correspondence table in the control device.

【符号の説明】[Explanation of symbols]

10,11,12 CPU 20,21,2n 周辺装置 30 制御装置 31 データスイッチ部 32 グループアドレス判定部 33 グループアドレス対応テーブル 34 ポートアドレス選択部 35 稼動状態管理部 36 ポート 10, 11, 12 CPU 20, 21, 2n Peripheral device 30 Control device 31 Data switch unit 32 Group address determination unit 33 Group address correspondence table 34 Port address selection unit 35 Operating state management unit 36 ports

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のCPU及び複数の周辺装置の間で
入出力パスを切り換えて所要の周辺装置に対し入出力を
行なう入出力制御方式において、前記複数の周辺装置を
グループ化する手段と、各グループにおける周辺装置の
稼動状態を管理する手段と、所要の周辺装置が属するグ
ループにおける未稼動状態の周辺装置を選択する手段
と、選択した周辺装置に入出力が行なわれるように前記
入出力パスを切り換える手段とを備えたことを特徴とす
る入出力制御方式。
1. An input / output control system for switching input / output paths between a plurality of CPUs and a plurality of peripheral devices to input / output to / from a required peripheral device, and means for grouping the plurality of peripheral devices. Means for managing the operating state of the peripheral device in each group, means for selecting an inactive peripheral device in the group to which the required peripheral device belongs, and the input / output path for inputting / outputting to / from the selected peripheral device And an input / output control system characterized by comprising means for switching between.
【請求項2】 前記グループ化する手段,前記稼動状態
を管理する手段,前記周辺装置を選択する手段,並び
に、前記入出力パスを切り換える手段を制御装置上に設
けたことを特徴とする請求項1記載の入出力制御方式。
2. The control device is provided with the grouping means, the operating state management means, the peripheral device selection means, and the input / output path switching means. Input / output control method described in 1.
【請求項3】 前記CPUの1つが直接複数の周辺装置
の中の1つを動的に指定し、指定した周辺装置に入出力
が行なわれるようにパスを切り換える手段を付加したこ
とを特徴とする請求項1または2記載の入出力制御方
式。
3. A means for dynamically designating one of a plurality of peripheral devices by one of the CPUs and adding a means for switching paths so that input / output is performed to the designated peripheral device. The input / output control system according to claim 1 or 2.
【請求項4】 複数の入出力処理単位から成る業務を遂
行する場合、業務単位でCPUと所要周辺回路との間の
パスを占有させるように構成したことを特徴とする請求
項1ないし3のいずれか1記載の入出力制御方式。
4. When carrying out a job consisting of a plurality of input / output processing units, the path between the CPU and the required peripheral circuit is occupied in each job unit. The input / output control method according to any one of items 1.
JP6232592A 1992-03-18 1992-03-18 Input/output control system Pending JPH05265977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6232592A JPH05265977A (en) 1992-03-18 1992-03-18 Input/output control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6232592A JPH05265977A (en) 1992-03-18 1992-03-18 Input/output control system

Publications (1)

Publication Number Publication Date
JPH05265977A true JPH05265977A (en) 1993-10-15

Family

ID=13196874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6232592A Pending JPH05265977A (en) 1992-03-18 1992-03-18 Input/output control system

Country Status (1)

Country Link
JP (1) JPH05265977A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10509545A (en) * 1995-08-25 1998-09-14 アペックス・ピーシー・ソルーションズ・インコーポレーテッド Computer connection system
JP2007249661A (en) * 2006-03-16 2007-09-27 Nec Corp Input/output controller, input/output control method and input/output control program
USRE44814E1 (en) 1992-10-23 2014-03-18 Avocent Huntsville Corporation System and method for remote monitoring and operation of personal computers

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE44814E1 (en) 1992-10-23 2014-03-18 Avocent Huntsville Corporation System and method for remote monitoring and operation of personal computers
JPH10509545A (en) * 1995-08-25 1998-09-14 アペックス・ピーシー・ソルーションズ・インコーポレーテッド Computer connection system
JP2007249661A (en) * 2006-03-16 2007-09-27 Nec Corp Input/output controller, input/output control method and input/output control program

Similar Documents

Publication Publication Date Title
TWI239450B (en) Apparatus, computer readable recording medium, and method for yielding to a processor within a logically partitioned data processing system
EP0459714B1 (en) Interrupt processing allocation in a multiprocessor system
JPH03147151A (en) File server sharing graftable resource using common routine
JPH0830471A (en) Execution processor change system for job
JPH05120193A (en) Apparatus and method for indirect addressing through logic channel group
EP0147574A2 (en) Resource sharing method between workstations
JP2000020179A (en) Printer system
US5511194A (en) Processing system and processing method capable of dynamically replacing job environment
US6523138B1 (en) Input/output processing system
US5408334A (en) Method and apparatus for having a processor execute a job utilizing an electronic mail system
JPH05265977A (en) Input/output control system
JPH07200494A (en) Decentralized control system
US5436888A (en) Communication path control method and communication device
KR920004061B1 (en) A system for reconstructing i/o control system
JP3853535B2 (en) Data transfer system, apparatus and method, and recording medium
JPS59188749A (en) System for controlling data transfer
JPH02113339A (en) Virtual computer control system
JPH03255519A (en) Printer managing device
JPS63184149A (en) Multicontroller system
JPH03225417A (en) Input/output control system for extended storage device
JPH11219275A (en) Printer system
JPH05225109A (en) Peripheral device sharing system between virtual computers
JPH11353287A (en) Scheduling system for process of parallel system
JPH0535643A (en) Fully duplex channel input/output control system
JPH05153184A (en) Communication control equipment