JPH10320346A - Input and output processor - Google Patents

Input and output processor

Info

Publication number
JPH10320346A
JPH10320346A JP9130686A JP13068697A JPH10320346A JP H10320346 A JPH10320346 A JP H10320346A JP 9130686 A JP9130686 A JP 9130686A JP 13068697 A JP13068697 A JP 13068697A JP H10320346 A JPH10320346 A JP H10320346A
Authority
JP
Japan
Prior art keywords
channel
output
input
port
general
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
JP9130686A
Other languages
Japanese (ja)
Inventor
Michihiko Tsubota
三千彦 坪田
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.)
NIPPON DENKI FIELD SERVICE
NEC Fielding Ltd
Original Assignee
NIPPON DENKI FIELD SERVICE
NEC Fielding 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 NIPPON DENKI FIELD SERVICE, NEC Fielding Ltd filed Critical NIPPON DENKI FIELD SERVICE
Priority to JP9130686A priority Critical patent/JPH10320346A/en
Publication of JPH10320346A publication Critical patent/JPH10320346A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it unnecessary to set an assignment priority order by system generation or the like, and to eliminate any peripheral equipment sub-system which is invalidated due to the fault of a general input and output channel when a substitute function is provided at the time of the fault of the general input and output channel. SOLUTION: A channel allocating means 3 assigns one of general input and output channels Ci which are not being used by referring to a channel state chart 4 in response to a request from a channel common control part 2 or a port control part Pj, and sets information indicating the connection of the assigned general input and output channel Ci with a port connecting part Pj being the object of an input and output operation in a channel connection chart 5. A channel port connecting circuit 6 connects the objective general input and output channel Ci with the port connecting part Pj based on the content of the channel connection chart 5.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、入出力処理装置に
関し、特に複数の汎用入出力チャネルを有する情報処理
装置の入出力処理装置に関する。
The present invention relates to an input / output processing device, and more particularly to an input / output processing device of an information processing device having a plurality of general-purpose input / output channels.

【0002】[0002]

【従来の技術】従来、この種の入出力処理装置は、たと
えば特開平4−92948号公報に記載の入出力チャネ
ル制御方式に示されるように、ポート部の故障に際して
も、外部入出力処理装置を継続使用することができるよ
うに、対応する外部入出力処理装置が使用不能となるこ
とを防止するため、代替ポート部を備えた構成をとって
いる。
2. Description of the Related Art Conventionally, an input / output processing device of this type is provided with an external input / output processing device even when a port unit fails, as shown in an input / output channel control system described in Japanese Patent Application Laid-Open No. 4-92948. In order to prevent the corresponding external input / output processing device from becoming unusable so that the device can be used continuously, a configuration having an alternative port portion is adopted.

【0003】図6は、従来の入出力チャネル制御方式の
一例を示すブロック図である。
FIG. 6 is a block diagram showing an example of a conventional input / output channel control system.

【0004】図6に示す入出力チャネル制御方式は、中
央処理装置110と、外部入出力処理装置230に接続
される入出力チャネル制御部120から構成されてい
る。
[0006] The input / output channel control system shown in FIG. 6 comprises a central processing unit 110 and an input / output channel control unit 120 connected to an external input / output processing unit 230.

【0005】また、中央処理装置110は、命令および
データを保持する主記憶装置111と、命令を実行して
演算処理を行う演算処理装置112と、外部との入出力
処理を行う入出力処理装置113から構成されている。
The central processing unit 110 includes a main storage unit 111 for holding instructions and data, an arithmetic processing unit 112 for executing arithmetic processing by executing instructions, and an input / output processing unit for performing input / output processing with the outside. 113.

【0006】また、入出力チャネル制御部120は、入
出力処理装置113に接続されるポート制御部121
と、外部入出力処理装置230に接続されるポート部2
21〜22nから構成されている。
[0006] The input / output channel control unit 120 includes a port control unit 121 connected to the input / output processing unit 113.
And a port unit 2 connected to the external input / output processing device 230
21 to 22n.

【0007】次に動作を説明する。Next, the operation will be described.

【0008】図6において、外部入出力処理装置230
に対する入出力命令およびデータは、中央処理装置11
0によって処理されたものとする。
In FIG. 6, an external input / output processing unit 230
Instructions and data to the CPU 11
0 is assumed to have been processed.

【0009】入出力チャネル制御部120のポート部2
21〜22nにおいて、nは外部入出力処理装置230
に接続されるポート数を示しているが、このポート数は
情報処理システムのシステム設計によって最適値が決定
される。また、すべてのポート部221〜22nは、ポ
ート制御部121に接続されている。ポート制御部12
1は、ポート部221〜22nのそれぞれをどの外部入
出力処理装置230に接続するかの選択を行い、選択の
優先度は、情報処理システムのシステムジェネレーショ
ンで決定される。
The port unit 2 of the input / output channel control unit 120
In 21-22n, n is the external input / output processing device 230
The optimal number of ports is determined by the system design of the information processing system. Further, all the port units 221 to 22n are connected to the port control unit 121. Port control unit 12
1 selects which external input / output processing device 230 to connect each of the port units 221 to 22n, and the priority of the selection is determined by the system generation of the information processing system.

【0010】中央処理装置110において、外部入出力
処理装置130との間で出力処理を行う場合、主記憶装
置111および演算処理装置112からのデータは、入
出力処理装置113を介して入出力チャネル制御部12
0のポート制御部121に送出され、ポート制御部12
1にて予め定められたポート部22i(i≦n)を用い
て出力が行われる。
When the central processing unit 110 performs output processing with the external input / output processing unit 130, data from the main storage unit 111 and the arithmetic processing unit 112 are transferred to the input / output channel via the input / output processing unit 113. Control unit 12
0 to the port control unit 121,
The output is performed using the port unit 22i (i ≦ n) determined in step S1.

【0011】また、中央処理装置110と外部入出力処
理装置230との間で入力処理を行う場合は、外部入出
力処理装置230からのデータが、全てのポート部22
1〜22nを経由し、ポート制御部121に入力され
る。ポート制御部121において、予め定められたポー
ト部22iを選択し、選択されたポート部22iからの
データを中央処理装置110の入出力処理装置113を
介して主記憶装置111および演算処理装置112に渡
す。
When input processing is performed between the central processing unit 110 and the external input / output processing unit 230, data from the external input / output processing unit 230 is transmitted to all the port units 22.
The data is input to the port control unit 121 via 1 to 22n. In the port control unit 121, a predetermined port unit 22i is selected, and data from the selected port unit 22i is transmitted to the main storage device 111 and the arithmetic processing unit 112 via the input / output processing unit 113 of the central processing unit 110. hand over.

【0012】以上の入出力処理において、ポート部22
iに故障が発生した場合、ポート制御部121は、予め
定められた選択の優先度に基づき、代替のポート部22
m(m≦n、m≠i)を選択し、入出力処理を継続す
る。
In the above input / output processing, the port unit 22
If a failure occurs in i, the port control unit 121 determines whether the replacement port unit 22 has failed based on a predetermined selection priority.
m (m ≦ n, m ≠ i) is selected, and the input / output processing is continued.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、第1の
ポート部が故障した際に割り当てられる第2のポート部
の指定を予め情報処理システムのシステムジェネレーシ
ョンで決定しておかなければならず、システムの規模が
大きいほどポート部の数も増加し、また接続される外部
入出力処理装置の種類が多いほど最適な組み合わせの決
定が困難となることから、システム導入時のシステムジ
ェネレーションに際して、パラメータの決定が複雑にな
るという問題点がある。そして、この複雑さはシステム
の規模が大きいほど大きくなるため、増設等のシステム
構成の変更が困難となる。
However, the designation of the second port unit to be assigned when the first port unit has failed must be determined in advance by the system generation of the information processing system. The larger the scale, the greater the number of ports, and the more types of external input / output processing units connected, the more difficult it is to determine the optimal combination. There is a problem that it becomes complicated. Since the complexity increases as the scale of the system increases, it is difficult to change the system configuration such as expansion.

【0014】また、基本的にポート部と外部入出力処理
装置を半固定的に一対一に対応付ける方式であるため、
故障したポート部の数だけ使用できない外部入出力処理
装置が存在するため、ポート部の故障がシステムの機能
低下に繋がる問題点がある。
Also, since the port unit and the external input / output processing device are basically semi-fixed one-to-one correspondence with each other,
Since there are external input / output processing devices that cannot be used by the number of failed port units, there is a problem that the failure of the port unit leads to a decrease in the function of the system.

【0015】[発明の目的]本発明の目的は、システム
ジェネレーションに際してポート部すなわち汎用入出力
チャネルの故障時の代替割付優先順位の設定を不要にす
るという機能を提供することにある。
[Object of the Invention] An object of the present invention is to provide a function that makes it unnecessary to set an alternative assignment priority when a failure occurs in a port unit, that is, a general-purpose input / output channel during system generation.

【0016】本発明の他の目的は、汎用入出力チャネル
の故障に際しても外部入出力処理装置すなわち周辺装置
サブシステムが使用不能となることを防止する機能を提
供することにある。
It is another object of the present invention to provide a function for preventing an external input / output processing device, that is, a peripheral device subsystem from becoming unusable even when a general-purpose input / output channel fails.

【0017】[0017]

【課題を解決するための手段】本発明の入出力処理装置
は、チャネル共通制御部あるいは周辺装置サブシステム
からの接続要求に応じて使用中でない汎用入出力チャネ
ルを動的に割り付ける。
The input / output processing device of the present invention dynamically allocates a general-purpose input / output channel that is not being used in response to a connection request from a common channel control unit or a peripheral device subsystem.

【0018】また、本発明は、中央処理装置と複数の周
辺装置サブシステムの間の入出力関係を制御する入出力
処理装置において、前記周辺装置サブシステムとのイン
タフェースケーブルを収容し電気的整合をとるためのn
個のポート接続部と、前記周辺装置サブシステムとの間
のインタフェース制御を行うm個の汎用入出力チャネル
と、前記汎用入出力チャネルと前記ポート接続部を切り
換え接続するためのチャネルポート接続手段と、前記チ
ャネルポート接続手段の接続パターンを与えるためのチ
ャネル接続表と、前記汎用入出力チャネルの状態を表す
チャネル状態表と、前記ポート接続部と前記周辺装置サ
ブシステムとの接続関係の変更要求に応じ前記チャネル
状態表および前記チャネル接続表を用いて一つの前記汎
用入出力チャネルを入出力動作のために割り当てるチャ
ネル割付手段と、を備えており、前記中央処理装置に接
続されたチャネル共通制御部と前記周辺装置サブシステ
ムの間のパスの識別をポート番号で管理し使用する前記
汎用入出力チャネルを動的に割り付けることを特徴とす
る。
According to another aspect of the present invention, there is provided an input / output processing device for controlling an input / output relationship between a central processing unit and a plurality of peripheral device subsystems. N to take
Port connection units, m general-purpose input / output channels for performing interface control between the peripheral device subsystems, and channel port connection means for switching and connecting the general-purpose input / output channels and the port connection units. A channel connection table for providing a connection pattern of the channel port connection means, a channel state table indicating a state of the general-purpose input / output channel, and a request for changing a connection relationship between the port connection unit and the peripheral device subsystem. Channel allocation means for allocating one of the general-purpose input / output channels for input / output operations using the channel state table and the channel connection table, respectively, and a channel common control unit connected to the central processing unit. The general-purpose input / output channel that manages and uses the path identification between the Wherein the assigned dynamically.

【0019】また、上記入出力処理装置において、前記
チャネル状態表が、チャネル数mに応じた行数からなり
第i行はi番目の汎用入出力チャネルの状態である「未
使用」、「ポート番号jで使用中」、「故障中」のいず
れか一つを設定することを特徴とする。更に、上記入出
力処理装置において、前記チャネル接続表が、前記ポー
ト接続部の数nに応じた行数からなり第j行はj番目の
ポート接続部の状態である「未割付」、「汎用入出力チ
ャネルと接続中」のいずれか一つを設定することを特徴
とする。加えて、上記入出力処理装置において、前記チ
ャネル割付手段は書き換え可能なRAMからなる前記チ
ャネル状態表及び前記チャネル接続表のアドレスを指標
として前記汎用入出力チャネルの状態及びポート接続部
の状態を検索・書き換えを行うことを特徴とする。
In the above input / output processing apparatus, the channel status table is composed of a number of rows corresponding to the number of channels m, and the i-th row is the status of the i-th general-purpose input / output channel, "unused", "port". It is characterized in that any one of "in use by number j" and "failure" is set. Further, in the input / output processing device, the channel connection table includes a number of rows corresponding to the number n of the port connections, and the j-th row is a state of the j-th port connection, such as “unallocated”, “general purpose”. One of "connecting to input / output channel" is set. In addition, in the input / output processing device, the channel allocating unit may search for the status of the general-purpose input / output channel and the status of the port connection unit using an address of the channel status table and the channel connection table, each of which is a rewritable RAM, as an index. -It is characterized by rewriting.

【0020】より具体的には、図1を参照して、n個の
ポート制御部とm個の汎用入出力チャネルを切り換え接
続するためのチャネルポート接続手段(図1の6)と、
チャネルポート接続回路の接続パターンを与えるための
チャネル接続表(図1の5)と、汎用入出力チャネルの
状態を表すチャネル状態表(図1の4)と、チャネル状
態表およびチャネル接続表を用いてチャネル共通制御部
またはポート接続部からの要求により一つの汎用入出力
チャネルを割り付けるチャネル割付手段(図1の3)
と、を有する。
More specifically, referring to FIG. 1, channel port connection means (6 in FIG. 1) for switching connection between n port control units and m general purpose input / output channels,
A channel connection table (5 in FIG. 1) for giving a connection pattern of the channel port connection circuit, a channel state table (4 in FIG. 1) indicating the state of the general-purpose input / output channel, and a channel state table and a channel connection table are used. Allocating means for allocating one general-purpose input / output channel in response to a request from a channel common control unit or a port connection unit (3 in FIG. 1)
And

【0021】[作用]汎用入出力チャネルと周辺装置サ
ブシステムとの対応付けをチャネル共通制御部あるいは
ポート制御部からの接続要求毎に動的に行っている。こ
のため、汎用入出力チャネルの故障に際しての代替汎用
入出力チャネルの割付順位をシステムジェネレーション
時に設定する必要がない。また、汎用入出力チャネルは
最低1個が正常状態に有れば全ての周辺装置サブシステ
ムは動作可能である。さらに、汎用入出力チャネルの個
数を周辺装置サブシステムの個数に合わせる必要がなく
柔軟なシステムを構築できる。
[Operation] The association between the general-purpose input / output channel and the peripheral device subsystem is dynamically performed for each connection request from the channel common control unit or the port control unit. Therefore, there is no need to set the assignment order of the alternative general-purpose input / output channels when the general-purpose input / output channel fails, at the time of system generation. If at least one general-purpose input / output channel is in a normal state, all peripheral subsystems can operate. Further, a flexible system can be constructed without having to match the number of general-purpose input / output channels with the number of peripheral device subsystems.

【0022】[0022]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

([1]構成の説明)次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
([1] Description of Configuration) Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0023】図1は、本発明の入出力処理装置の第1の
実施の形態を示すブロック図である。本発明の入出力処
理装置1は、主記憶装置と、演算処理装置、入出力処理
装置とを備えた不図示の中央処理装置からの指令に基づ
き、外部入出力処理装置である周辺装置サブシステムS
1…Sj…Snとの間のケーブルを収容し、主にこれと
入出力処理装置1の内部との電気的レベルの整合を取る
ためのn個のポート接続部P1…Pj…Pnと、チャネ
ル共通制御部2からの指令に基づきポート接続部P1…
Pj…Pnを介して、周辺装置サブシステムS1…Sj
…Snとの間のインタフェース制御を行うm個の汎用入
出力チャネルC1…Ci…Cmと、汎用入出力チャネル
C1…Ci…Cmとポート接続部P1…Pj…Pnを切
り換え接続するためのチャネルポート接続回路6と、チ
ャネルポート接続回路6の接続パターンを与えるための
チャネル接続表5と、汎用入出力チャネルC1…Ci…
Cmの状態を表すチャネル状態表4と、チャネル状態表
4およびチャネル接続表5を用いてチャネル共通制御部
2またはポート接続部P1…Pj…Pnからの指示によ
り一つの汎用入出力チャネルC1…Ci…Cmを割り付
けるチャネル割付手段3から構成される。
FIG. 1 is a block diagram showing a first embodiment of the input / output processing device of the present invention. The input / output processing device 1 of the present invention is a peripheral device subsystem that is an external input / output processing device based on a command from a central processing unit (not shown) including a main storage device, an arithmetic processing device, and an input / output processing device. S
1 to Pj ... Pn for accommodating a cable between 1... Sj... Sn and for mainly adjusting the electrical level between the cable and the inside of the input / output processing device 1. Based on a command from the common control unit 2, the port connection units P1 ...
Peripheral device subsystems S1... Sj via Pj.
Channel ports for switching connection between m general-purpose input / output channels C1... Ci. Cm for performing interface control between... Sn and the general-purpose input / output channels C1. The connection circuit 6, a channel connection table 5 for providing connection patterns of the channel port connection circuit 6, and general-purpose input / output channels C1 ... Ci ...
Using the channel state table 4 representing the state of Cm, and the channel state table 4 and the channel connection table 5, one general-purpose input / output channel C1... Ci is instructed by the channel common control unit 2 or the port connection units P1. .. Are composed of channel allocating means 3 for allocating Cm.

【0024】上記チャネル状態表4及びチャネル接続表
5は書き換え可能なRAM等のアドレスとその対の状態
を指標として用いられ、そのRAMはチップを共通とし
てもよいし、別個のチップとしてもよく、チャネル割付
手段とバス形式で接続することができる。また、チャネ
ル共通制御部2及びチャネル割付手段3、チャネルポー
ト接続回路6はCPU等のプログラマブル演算手段や論
理回路が用いられ、汎用入出力チャネルC1…Ci…C
mやポート接続部P1…Pj…Pnはロジック動作を行
う論理回路等で構成される。また、図1に図示していな
いが、中央処理装置の入出力処理装置からの指示に従っ
て入出力チャネル制御部のチャネル共通制御部にポート
再試行やポート変更を実行する場合があることも想定し
て、以下説明する。
The channel state table 4 and the channel connection table 5 use the address of a rewritable RAM or the like and the state of the pair as an index, and the RAM may use a common chip or a separate chip. It can be connected to the channel allocation means in the form of a bus. The channel common control unit 2, the channel allocating unit 3, and the channel port connection circuit 6 use programmable operation means such as a CPU or a logic circuit, and use general-purpose input / output channels C1.
m and the port connection portions P1... Pj. Although not shown in FIG. 1, it is also assumed that port retry or port change may be performed in the channel common control unit of the input / output channel control unit in accordance with an instruction from the input / output processing unit of the central processing unit. This will be described below.

【0025】前記チャネル状態表4はm行からなり、第
i行は汎用入出力チャネルCiの状態である「未使
用」、「ポート番号jで使用中」、「故障中」のいずれ
か一つを表す。
The channel status table 4 is composed of m rows, and the ith row is one of the statuses of the general-purpose input / output channel Ci: "unused", "in use by port number j", or "in failure". Represents

【0026】また、チャネル接続表5はn行からなり、
第j行はポート接続部jの状態である「未割付」、「汎
用入出力チャネルCiと接続中」のいずれか一つを表
す。
The channel connection table 5 includes n rows,
The j-th row indicates one of “unallocated” and “connected to general-purpose input / output channel Ci”, which are the states of the port connection unit j.

【0027】([2]動作の説明)次に図2、図3、図
4を用いてチャネル割付手段3の動作について説明す
る。チャネル割付手段3は、周辺装置サブシステムSj
へのポート接続部Pjの再配置を試行したり、ポート接
続部Pjが故障した場合に、チャネル共通制御部2また
はポート接続部Pjからの入出力チャネル取得要求ある
いは入出力チャネル開放要求により動作を開始する。
([2] Description of Operation) Next, the operation of the channel allocating means 3 will be described with reference to FIGS. 2, 3 and 4. The channel allocating means 3 includes a peripheral device subsystem Sj
When an attempt is made to relocate the port connection unit Pj to the port or when the port connection unit Pj fails, the operation is performed by an input / output channel acquisition request or an input / output channel release request from the channel common control unit 2 or the port connection unit Pj. Start.

【0028】入出力チャネル取得要求を受けたチャネル
割付手段3は、まず入出力チャネル取得要求元から接続
すべきポート番号jを入手し(ステップA1)、そのポ
ート番号jを用いてチャネル接続表5を検索し(ステッ
プA2)、当該ポート番号jの状態を調べる(ステップ
A3)。
Upon receiving the input / output channel acquisition request, the channel allocating means 3 first obtains the port number j to be connected from the input / output channel acquisition request source (step A1), and uses the port number j to set the channel connection table 5. (Step A2), and checks the state of the port number j (step A3).

【0029】その結果、ポート番号jが「未割付」状態
であるならチャネル状態表4を検索し、「未使用」状態
のチャネルを調べ(ステップA4)、「未使用」状態の
チャネルの有無を判断し(ステップA5)、「未使用」
状態のチャネルが有る場合にはそのチャネル番号iを取
得し(ステップA6)、チャネル状態表4の第i行を
「ポート番号jで使用中」状態に設定し(ステップA
7)、チャネル接続表5の第j行を「汎用入出力チャネ
ルCiと接続中」状態に設定し(ステップA8)、入出
力チャネル取得要求元に完了通知を行う(ステップA
9)。
As a result, if the port number j is in the "unallocated" state, the channel state table 4 is searched to check the channels in the "unused" state (step A4). Judge (step A5), "unused"
If there is a channel in the state, the channel number i is obtained (step A6), and the i-th row of the channel state table 4 is set to the “in use by port number j” state (step A).
7), the j-th row of the channel connection table 5 is set to the “connected to general-purpose input / output channel Ci” state (step A8), and a completion notification is sent to the input / output channel acquisition request source (step A).
9).

【0030】また、ステップA3において当該ポート番
号jの状態が「汎用入出力チャネルCiと接続中」であ
る場合には、即入出力チャネル取得要求元に取得完了通
知を行う(ステップA9)。
If the status of the port number j is "connected to the general-purpose input / output channel Ci" in step A3, an acquisition completion notification is immediately sent to the input / output channel acquisition request source (step A9).

【0031】また、ステップA5において「未使用」状
態のチャネルが無い場合には、図3に示すように、入出
力チャネル取得要求元に全チャネル使用中の通知を行う
(ステップA10)。
If there is no channel in the "unused" state in step A5, as shown in FIG. 3, the input / output channel acquisition request source is notified that all channels are in use (step A10).

【0032】一方、チャネル割付手段3において入出力
チャネル開放要求を受け付けた場合には、図4に示すよ
うに、入出力チャネル開放要求元から解放すべきポート
番号jを入手し(ステップB1)、チャネル接続表5の
第j行の内容から接続中のチャネル番号iを取得する
(ステップB2)。そして、チャネル状態表4の第i行
の内容を読み出し(ステップB3)、当該チャネルが
「故障中」か否かを調べる(ステップB4)。
On the other hand, when the input / output channel release request is received by the channel allocating means 3, as shown in FIG. 4, the port number j to be released is obtained from the input / output channel release request source (step B1). The channel number i being connected is acquired from the contents of the j-th row of the channel connection table 5 (step B2). Then, the contents of the i-th row of the channel state table 4 are read (step B3), and it is checked whether or not the channel is "in failure" (step B4).

【0033】この時、当該チャネルが「故障中」でない
場合にはチャネル状態表4の第i行を「未使用」状態に
設定する(ステップB5)が、「故障中」の場合にはチ
ャネル状態表4の内容は変更しない。
At this time, if the channel is not "failed", the i-th row of the channel state table 4 is set to "unused" state (step B5). The contents of Table 4 are not changed.

【0034】いずれの場合においても、その後チャネル
接続表5の第j行を「未割付」状態に設定し(ステップ
B6)、入出力チャネル解放要求元へ解放完了通知を行
う(ステップB7)。
In any case, the j-th row of the channel connection table 5 is set to the "unallocated" state (step B6), and a release completion notification is sent to the input / output channel release request source (step B7).

【0035】ここで、以上の動作を踏まえて本発明の入
出力処理装置1の動作を説明する。
Here, the operation of the input / output processing device 1 of the present invention will be described based on the above operation.

【0036】チャネル共通制御部2は周辺装置サブシス
テムSjへのアクセスに先立ち、チャネル割付手段3に
ポート番号jに対する入出力チャネル取得要求を行い、
取得完了通知を待つ。
Prior to the access to the peripheral device subsystem Sj, the channel common control unit 2 issues an input / output channel acquisition request for the port number j to the channel allocating means 3.
Wait for the acquisition completion notification.

【0037】チャネル割付手段3から取得完了通知を受
け取ると、チャネル共通制御部2はチャネル接続表5を
参照し、ポート番号jに対して割り付けられた汎用入出
力チャネルCiの番号iを得る。この時、チャネルポー
ト接続回路6はチャネル接続表5の内容に従い汎用入出
力チャネルCiとポート接続部Pjを接続した状態とな
っており、チャネル共通制御部2は汎用入出力チャネル
Ci経由で目的とする周辺装置サブシステムSjとのデ
ータ転送動作を行う。
When receiving the acquisition completion notification from the channel allocating means 3, the channel common control unit 2 refers to the channel connection table 5 and obtains the number i of the general-purpose input / output channel Ci allocated to the port number j. At this time, the channel port connection circuit 6 is in a state where the general-purpose input / output channel Ci and the port connection part Pj are connected according to the contents of the channel connection table 5, and the channel common control unit 2 performs the purpose through the general-purpose input / output channel Ci. A data transfer operation with the peripheral device subsystem Sj is performed.

【0038】上記データ転送動作が終了すると、チャネ
ル共通制御部2はチャネル割付手段3に入出力チャネル
開放要求を行い、チャネル割付手段3から解放完了通知
を受け取った後、動作は終了する。
When the data transfer operation is completed, the channel common control unit 2 issues an input / output channel release request to the channel allocating unit 3 and, after receiving the release completion notification from the channel allocating unit 3, ends the operation.

【0039】また、チャネル共通制御部2からの入出力
チャネル取得要求に対してチャネル割付手段3が全チャ
ネル使用中通知を返した場合には、チャネル共通制御部
2は入出力動作を異常終了させる。
When the channel allocating unit 3 returns a notification indicating that all channels are in use in response to an input / output channel acquisition request from the channel common control unit 2, the channel common control unit 2 abnormally ends the input / output operation. .

【0040】一方、周辺装置サブシステムSjから入出
力処理装置1への接続要求が発生した場合には、それを
受けたポート接続部Pjがチャネル割付手段3に対して
入出力チャネル取得要求を行い、チャネル割付手段3か
ら取得完了通知を受け取ると、汎用入出力チャネルCi
経由でチャネル共通制御部2に割り込みを上げる。この
割り込みを受け付けたチャネル共通制御部2は、汎用入
出力チャネルCiの番号iを用いてチャネル状態表4を
検索することにより要求元のポート番号jを得る。その
後の動作はチャネル共通制御部2からの動作と同様であ
る。
On the other hand, when a connection request from the peripheral device subsystem Sj to the input / output processing device 1 occurs, the port connection unit Pj receiving the request makes an input / output channel acquisition request to the channel allocating means 3. Receives the acquisition completion notification from the channel allocating unit 3,
An interrupt is issued to the channel common control unit 2 via the interface. The channel common control unit 2 that has accepted the interrupt obtains the port number j of the request source by searching the channel state table 4 using the number i of the general-purpose input / output channel Ci. The subsequent operation is the same as the operation from the channel common control unit 2.

【0041】また、チャネル共通制御部2が汎用入出力
チャネルCiの故障を検出した場合には、チャネル状態
表4の当該チャネルに対応する第i行を「故障中」状態
とする。
When the common channel controller 2 detects a failure of the general-purpose input / output channel Ci, the i-th row corresponding to the relevant channel in the channel state table 4 is set to the "under failure" state.

【0042】以上述べたように、本発明においては汎用
入出力チャネルCiとポート接続部Pjを動的に対応づ
けるため、汎用入出力チャネルの故障に際してもシステ
ムの機能低下を防止できる。
As described above, in the present invention, since the general-purpose input / output channel Ci is dynamically associated with the port connection part Pj, it is possible to prevent the function of the system from deteriorating even when the general-purpose input / output channel fails.

【0043】([3]第2の実施の形態)次に、本発明
の第2の実施の形態について図面を参照して詳細に説明
する。
(3) Second Embodiment Next, a second embodiment of the present invention will be described in detail with reference to the drawings.

【0044】図5を参照すると、チャネル共通制御部1
2は、図1におけるチャネル共通制御部2と同等の機能
を有する基本制御手段16と、チャネル割付手段3と同
等の機能を有するチャネル割付手段13と、チャネル状
態表4と同等の機能を有するチャネル状態表14から構
成される。また、全てのポート接続部Pjと全ての汎用
入出力チャネルCliは直接接続されており、チャネル
接続表15からのチャネルポート接続信号は各汎用入出
力チャネルCliに入力されている。
Referring to FIG. 5, channel common control unit 1
Reference numeral 2 denotes a basic control unit 16 having the same function as the channel common control unit 2 in FIG. 1, a channel allocation unit 13 having the same function as the channel allocation unit 3, and a channel having the same function as the channel state table 4. It is composed of a state table 14. Further, all the port connection parts Pj and all the general-purpose input / output channels Cli are directly connected, and the channel port connection signal from the channel connection table 15 is input to each general-purpose input / output channel Cli.

【0045】図1におけるチャネルポート接続回路6の
規模は汎用入出力チャネルCliの数mおよびポート接
続部Pjの数nの積に比例して複雑になるため、mおよ
びnが大きくなった場合にチャネルポート接続回路6が
大きくなるという問題がある。この実施の形態では、チ
ャネルポート接続回路6の機能を各汎用入出力チャネル
Cliに分散させることにより独立して構成した場合に
比べて回路構成を簡素化できる。また、チャネル割付手
段13およびチャネル状態表14を基本制御手段16と
併せてマイクロプログラム化しチャネル共通制御部12
に組み込むことで、回路構成を小さくすることができ
る。
The scale of the channel port connection circuit 6 in FIG. 1 becomes complicated in proportion to the product of the number m of the general-purpose input / output channels Cli and the number n of the port connection portions Pj. There is a problem that the channel port connection circuit 6 becomes large. In this embodiment, the function of the channel port connection circuit 6 is distributed to the general-purpose input / output channels Cli, so that the circuit configuration can be simplified as compared with the case where the functions are independently configured. Further, the channel allocation means 13 and the channel status table 14 are microprogrammed together with the basic control means 16 to convert them into microprograms.
The circuit configuration can be made smaller by incorporating it into

【0046】本発明の第2の実施の形態は、第1の実施
の形態の効果に加えて、回路を小さくできるという効果
も有する。
The second embodiment of the present invention has an effect that the circuit can be reduced in addition to the effect of the first embodiment.

【0047】[0047]

【発明の効果】本発明によれば、汎用入出力チャネルの
割付をチャネル共通制御部あるいはチャネルポート接続
部からの要求に応じて動的に行っているので、システム
ジェネレーションに際して、代替汎用入出力チャネルの
故障時における割付優先順位の設定が不要である。
According to the present invention, the general-purpose input / output channel is dynamically allocated in response to a request from the channel common control unit or the channel port connection unit. It is not necessary to set the assignment priority when a failure occurs.

【0048】また、汎用入出力チャネルの割付をチャネ
ル共通制御部あるいはチャネルポート接続部からの要求
に応じて動的に行っているため、複数の汎用入出力チャ
ネルの故障に際しても1台の汎用入出力チャネルが正常
である限り全ての周辺装置サブシステムは使用可能であ
るということである。
Further, since the assignment of the general-purpose input / output channels is dynamically performed in response to a request from the channel common control unit or the channel port connection unit, one general-purpose input / output channel can be used even when a plurality of general-purpose input / output channels fail. This means that all peripheral subsystems are available as long as the output channel is normal.

【0049】さらに、汎用入出力チャネルの割付をチャ
ネル共通制御部あるいはポート接続部からの要求に応じ
て動的に行っているため、汎用入出力チャネルの数と周
辺装置サブシステムの数を同じにする必要が無く、柔軟
性の高いシステムを構築できるという効果がある。
Furthermore, since the assignment of general-purpose input / output channels is dynamically performed in response to a request from the channel common control unit or the port connection unit, the number of general-purpose input / output channels and the number of peripheral device subsystems are made equal. Therefore, there is an effect that a highly flexible system can be constructed.

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

【図1】本発明の入出力処理装置の第1の実施の形態を
示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of an input / output processing device of the present invention.

【図2】図1のチャネル割付手段の動作を説明する流れ
図である。
FIG. 2 is a flowchart illustrating an operation of a channel allocating unit of FIG. 1;

【図3】図1のチャネル割付手段の動作を説明する図2
に続く流れ図である。
FIG. 3 is a view for explaining the operation of the channel allocating means of FIG. 1;
FIG.

【図4】図1のチャネル割付手段の動作を説明する図3
に続く流れ図である。
FIG. 4 is a view for explaining the operation of the channel allocating means of FIG. 1;
FIG.

【図5】本発明の入出力装置の第2の実施の形態を示す
ブロック図である。
FIG. 5 is a block diagram showing a second embodiment of the input / output device of the present invention.

【図6】従来の入出力チャネル制御方式の一例を表すブ
ロック図である。
FIG. 6 is a block diagram illustrating an example of a conventional input / output channel control method.

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

1 入出力処理装置 2 チャネル共通制御部 3 チャネル割付手段 4 チャネル状態表 5 チャネル接続表 6 チャネルポート接続回路 11 入出力処理装置 12 チャネル共通制御部 13 チャネル割付手段 14 チャネル状態表 15 チャネル接続表 16 基本制御手段 110 中央処理装置 111 主記憶装置 112 演算処理装置 113 入出力処理装置 120 入出力チャネル制御部 121 ポート制御部 221〜22n ポート部 230 外部入出力処理装置 A1〜A10 チャネル割付手段3の動作ステップ B1〜B7 チャネル割付手段3の動作ステップ Cl〜Cm 汎用入出力チャネル Cll〜Clm 汎用入出力チャネル Pl〜Pn ポート接続部 Sl〜Sn 周辺装置サブシステム DESCRIPTION OF SYMBOLS 1 I / O processing device 2 Channel common control part 3 Channel allocation means 4 Channel status table 5 Channel connection table 6 Channel port connection circuit 11 I / O processing device 12 Channel common control part 13 Channel allocation means 14 Channel status table 15 Channel connection table 16 Basic control unit 110 Central processing unit 111 Main storage unit 112 Processing unit 113 Input / output processing unit 120 Input / output channel control unit 121 Port control unit 221 to 22n Port unit 230 External input / output processing unit A1 to A10 Operation of channel allocation unit 3 Steps B1 to B7 Operation steps of the channel allocating means 3 Cl to Cm General-purpose input / output channels Cll to Clm General-purpose input / output channels Pl to Pn Port connections Sl to Sn Peripheral device subsystem

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置と複数の周辺装置サブシス
テムの間の入出力関係を制御する入出力処理装置におい
て、 前記周辺装置サブシステムとのインタフェースケーブル
を収容し電気的整合をとるためのn個のポート接続部
と、 前記周辺装置サブシステムとの間のインタフェース制御
を行うm個の汎用入出力チャネルと、 前記汎用入出力チャネルと前記ポート接続部を切り換え
接続するためのチャネルポート接続手段と、 前記チャネルポート接続手段の接続パターンを与えるた
めのチャネル接続表と、前記汎用入出力チャネルの状態
を表すチャネル状態表と、 前記ポート接続部と前記周辺装置サブシステムとの接続
関係の変更要求に応じ前記チャネル状態表および前記チ
ャネル接続表を用いて一つの前記汎用入出力チャネルを
入出力動作のために割り当てるチャネル割付手段と、を
備えており、前記中央処理装置に接続されたチャネル共
通制御部と前記周辺装置サブシステムの間のパスの識別
をポート番号で管理し使用する前記汎用入出力チャネル
を動的に割り付けることを特徴とする入出力処理装置。
1. An input / output processing device for controlling an input / output relationship between a central processing unit and a plurality of peripheral device subsystems. Port connection units, m general-purpose input / output channels for performing interface control between the peripheral device subsystems, and channel port connection means for switching and connecting the general-purpose input / output channels and the port connection units. A channel connection table for providing a connection pattern of the channel port connection means, a channel state table indicating a state of the general-purpose input / output channel, and a request for changing a connection relationship between the port connection unit and the peripheral device subsystem. One general-purpose input / output channel using the channel status table and the channel connection table. And a channel allocating means for allocating the general-purpose input / output channel, wherein the identification of a path between the channel common control unit connected to the central processing unit and the peripheral device subsystem is managed by a port number and used. An input / output processing device characterized by dynamically allocating data.
【請求項2】 前記チャネル状態表が、チャネル数mに
応じた行数からなり第i行はi番目の汎用入出力チャネ
ルの状態である「未使用」、「ポート番号jで使用
中」、「故障中」のいずれか一つを設定することを特徴
とする請求項1に記載の入出力処理装置。
2. The channel status table has a number of rows corresponding to the number m of channels, and an i-th row is a status of an i-th general-purpose input / output channel, “unused”, “in use at port number j”, 2. The input / output processing device according to claim 1, wherein any one of "under failure" is set.
【請求項3】 前記チャネル接続表が、前記ポート接続
部の数nに応じた行数からなり第j行はj番目のポート
接続部の状態である「未割付」、「汎用入出力チャネル
と接続中」のいずれか一つを設定することを特徴とする
請求項1に記載の入出力処理装置。
3. The channel connection table includes a number of rows corresponding to the number n of the port connection sections, and a j-th row is a state of the j-th port connection section, “unallocated”, “a general-purpose input / output channel and 2. The input / output processing apparatus according to claim 1, wherein one of "connected" is set.
【請求項4】 前記チャネル割付手段は書き換え可能な
RAMからなる前記チャネル状態表及び前記チャネル接
続表のアドレスを指標として前記汎用入出力チャネルの
状態及びポート接続部の状態を検索・書き換えを行うこ
とを特徴とする請求項1に記載の入出力処理装置。
4. The channel allocating means retrieves and rewrites the status of the general-purpose input / output channel and the status of a port connection unit by using an address of the channel status table and the channel connection table, which are composed of a rewritable RAM, as an index. The input / output processing device according to claim 1, wherein:
JP9130686A 1997-05-21 1997-05-21 Input and output processor Pending JPH10320346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9130686A JPH10320346A (en) 1997-05-21 1997-05-21 Input and output processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9130686A JPH10320346A (en) 1997-05-21 1997-05-21 Input and output processor

Publications (1)

Publication Number Publication Date
JPH10320346A true JPH10320346A (en) 1998-12-04

Family

ID=15040203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9130686A Pending JPH10320346A (en) 1997-05-21 1997-05-21 Input and output processor

Country Status (1)

Country Link
JP (1) JPH10320346A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011371A (en) * 2013-06-26 2015-01-19 Necプラットフォームズ株式会社 Alternative control apparatus, alternative control method, and alternative control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011371A (en) * 2013-06-26 2015-01-19 Necプラットフォームズ株式会社 Alternative control apparatus, alternative control method, and alternative control program

Similar Documents

Publication Publication Date Title
US5640603A (en) Logical path scheduler for disconnecting currently connected paths to enable logical paths awaiting connection to connect based on path control tables thereof
CA1176337A (en) Distributed signal processing system
JP2753706B2 (en) IPL method in computer
JPH0661073B2 (en) How the multi-processor system works
US5228127A (en) Clustered multiprocessor system with global controller connected to each cluster memory control unit for directing order from processor to different cluster processors
JPS6215649A (en) Means for selective connection between several boats and several channels
US5687073A (en) Initial program loading system for multiprocessor system
JPS59106056A (en) Failsafe type data processing system
JP3490002B2 (en) Computers that make up a multi-cluster system
JP2979771B2 (en) Information processing apparatus and bus control method thereof
JPH10320346A (en) Input and output processor
TW202238373A (en) Server system with baseboard management controller to update firmware
JP3161319B2 (en) Multiprocessor system
US6694395B1 (en) Information processing unit with a plurality of input/output processors
JP2674907B2 (en) Computer system DMA channel allocation device
JPS60134352A (en) Duplex bus control device
JPH0427239A (en) Control method for lan connecting device
JP3457432B2 (en) Method of communication between processors and processor used therefor
JP2881234B2 (en) Loosely coupled multiprocessor system
JP3424644B2 (en) Method of communication between processors
JP2746201B2 (en) Bus connection control method and device
EP0316251A2 (en) Direct control facility for multiprocessor network
JPS61118847A (en) Simultaneous access control system of memory
JPS62156754A (en) Multi-processor system
JP2554942B2 (en) Information processing device