JPH056218B2 - - Google Patents
Info
- Publication number
- JPH056218B2 JPH056218B2 JP5546886A JP5546886A JPH056218B2 JP H056218 B2 JPH056218 B2 JP H056218B2 JP 5546886 A JP5546886 A JP 5546886A JP 5546886 A JP5546886 A JP 5546886A JP H056218 B2 JPH056218 B2 JP H056218B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- control unit
- storage means
- data
- register element
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/122—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】
〔概要〕
複数のチヤネルを共通に制御する第1のマイク
ロプロセツサを含む共通制御部と、各チヤネルを
個別に制御する個別マイクロプロセツサを含む個
別制御部とを有するチヤネル処理装置において、
各チヤネルに対して起動予約と起動取消の手段を
設けて、異なるチヤネルに対して連続的にIO命
令を発行することを可能としたチヤネル制御方式
である。[Detailed Description of the Invention] [Summary] A common control unit including a first microprocessor that commonly controls a plurality of channels, and an individual control unit including an individual microprocessor that individually controls each channel. In the channel processing device,
This is a channel control method that provides activation reservation and activation cancellation means for each channel, making it possible to issue IO commands to different channels continuously.
本発明は、一般の計算機システムにおけるチヤ
ネル処理装置内のマイクロプロセツサ間で、IO
命令の起動予約及び起動取消の方式に関するもの
である。
The present invention provides IO between microprocessors in a channel processing device in a general computer system.
This relates to a method for reserving and canceling instruction activation.
第7図はチヤネル処理装置を持つ一般の計算機
システムの概要を示す図である。第7図におい
て、1は中央処理装置、2は主記憶装置、3はチ
ヤネル処理装置、CHはチヤネル、IOは入出力装
置をそれぞれ示している。チヤネル処理装置3
は、中央処理装置1からの入出力命令を受信した
り、主記憶装置2のチヤネル指令語を読取つた
り、チヤネル指令語に従つてチヤネルCHを制御
したり、主記憶装置2に格納されているデータを
入出力装置IOに送つたり或いは入出力装置IOか
らのデータを主記憶装置2に格納したり、データ
終了時のステータスを主記憶装置2に格納した
り、中央処理装置1に入出力終了割込みをかけた
りするものである。
FIG. 7 is a diagram showing an outline of a general computer system having a channel processing device. In FIG. 7, 1 is a central processing unit, 2 is a main storage device, 3 is a channel processing device, CH is a channel, and IO is an input/output device. Channel processing device 3
receives input/output commands from the central processing unit 1, reads channel command words from the main storage device 2, controls the channel CH according to the channel command words, and performs the functions stored in the main storage device 2. Send the data to the input/output device IO, store the data from the input/output device IO to the main storage device 2, store the status at the end of the data to the main storage device 2, or send the data from the input/output device IO to the main storage device 2. It is used to issue an output end interrupt.
第8図は従来のチヤネル処理装置の概要を示す
図である。第8図において、4は記憶制御装置、
5は第1のチヤネル共通制御部、6は第2のチヤ
ネル共通制御部、7は個別制御部をそれぞれ示し
ている。符号5ないし7の部分はチヤネル処理装
置3の中に存在する。第1のチヤネル共通制御部
5は、命令の解読と実行(対CPU)、サブチヤネ
ルのロード/ストア(対MCU)、IO割込み(対
CPU)などを行うものである。第2の共通制御
部6は、IO命令の解析と実行、サブチヤネルの
ロード/ストア、主記憶装置2との間のデータ転
送、チヤネル指令語の読出し、IO割込み等の機
能を有している。個別制御部7は、1個のチヤネ
ルに対して1個設けられており、主にIOインタ
フエースのシーケンス制御を行う機能、IOイン
タフエースのタグ・イン信号のオン/オフを見て
タグ・アウト信号のオン/オフを行う機能、IO
インタフエースの解析を行う機能等を有してい
る。第1のチヤネル共通制御部5、第2のチヤネ
ル共通制御部6及び個別制御部7の中にはそれぞ
れマイクロプロセツサが存在する。 FIG. 8 is a diagram showing an outline of a conventional channel processing device. In FIG. 8, 4 is a storage control device;
Reference numeral 5 indicates a first channel common control section, 6 indicates a second channel common control section, and 7 indicates an individual control section. Parts 5 to 7 are present in the channel processing device 3. The first channel common control unit 5 is responsible for decoding and execution of instructions (for the CPU), load/store of subchannels (for the MCU), and IO interrupts (for the CPU).
CPU), etc. The second common control unit 6 has functions such as analysis and execution of IO commands, loading/store of subchannels, data transfer to and from the main storage device 2, reading of channel command words, and IO interrupts. One individual control unit 7 is provided for each channel, and its main functions are sequence control of the IO interface, and tag-out by checking the on/off of the tag-in signal of the IO interface. Function to turn on/off signals, IO
It has functions such as analyzing the interface. Each of the first channel common control section 5, the second channel common control section 6, and the individual control section 7 includes a microprocessor.
従来技術においては、第1のチヤネル共通制御
部5のマイクロプロセツサと個別制御部7のマイ
クロプロセツサとの間に通信はマイクロ・コミユ
ニケーシヨンで行われており、このために時間が
かかる。なお、マイクロ・コミユニケーシヨンと
は、マイクロプログラムによるコミユニケーシヨ
ンを意味している。例えば、共通制御部5のマイ
クロプログラムをKとし、各個別チヤネルのマイ
クロプログラムをC1,C2,…,Coとした場合、
IO命令がCoに発行されると、KはCoとの間の信
号の遣り取りを各マイクロプログラムの制御の下
で行う。例えば、第1のチヤネル共通制御部5が
或るチヤネルを指定して起動予約を発行すると、
個別制御部7は、マイクロプログラムにより、チ
ヤネル状態を調べ、入出力命令受付可能ならば、
マイクロプログラムにより、第1のチヤネル共通
制御部5に対して応答を返している。 In the prior art, communication between the microprocessor of the first channel common control section 5 and the microprocessor of the individual control section 7 is performed by microcommunication, which takes time. Note that micro-comunication refers to communication using microprograms. For example, if the microprogram of the common control unit 5 is K and the microprograms of each individual channel are C 1 , C 2 , ..., Co ,
When an IO command is issued to C o , K exchanges signals with C o under the control of each microprogram. For example, when the first channel common control unit 5 specifies a certain channel and issues an activation reservation,
The individual control unit 7 uses a microprogram to check the channel status, and if it is possible to accept input/output commands,
A response is returned to the first channel common control unit 5 by the microprogram.
本発明は、上記の考察に基づくものであつて、
第1のチヤネル共通制御部と個別制御部との間の
通信を高速で行い得るようになつたチヤネル制御
方式を提供することを目的としている。
The present invention is based on the above considerations, and includes:
It is an object of the present invention to provide a channel control method that enables high-speed communication between a first channel common control section and an individual control section.
そしてそのため本発明のチヤネル制御方式は、
計算機システムにおけるチヤネル処理装置におい
て、
複数のチヤネルを共通に制御する第1のマイク
ロプロセツサ14を含むチヤネル共通制御部5
と、
各チヤネルの処理をチヤネル番号順に循環的に
個別に制御する個別マイクロプロセツサ15を含
む個別制御部7と、
各チヤネルに対応するレジスタ要素8を有し、
各レジスタ要素8にチヤネル状態データを記憶す
るチヤネル状態記憶手段S1と、
各チヤネルに対応するレジスタ要素9を有し、
各レジスタ要素9にIO命令発行有無データを記
憶するIO命令発行記憶手段S2と、
各チヤネルに対応するレジスタ要素10を有
し、各レジスタ10に起動予約有無データを記憶
するチヤネル起動予約記憶手段S3と、
各チヤネルに対応するレジスタ要素11を有
し、各レジスタ要素11に命令コードを記憶する
命令コード記憶手段S4と
を具備し、
個別制御部7はチヤネル状態記憶手段S1のレ
ジスタ要素8にチヤネル状態データを書き込み得
ると共に、チヤネル状態記憶手段S1のレジスタ
要素8のチヤネル状態データを読み取ることがで
き、
チヤネル共通制御部5はIO命令発行記憶手段
S2のレジスタ要素9にデータを書き込むことが
でき、個別制御部7はIO命令発行記憶手段S2
のレジスタ要素9のデータを読み取ることがで
き、チヤネル共通制御部5はチヤネル起動予約記
憶手段S3のレジスタ要素10に起動予約有デー
タを書き込み得ると共に起動予約無データを書き
込むことができ、個別制御部7はチヤネル起動予
約記憶手段S3のレジスタ要素10のデータを読
み取ることができ、
チヤネル共通制御部5は命令コード記憶手段S
4のレジスタ要素11に命令コードを書き込むこ
とができ、個別制御部7は命令コード記憶手段S
4のレジスタ要素11のデータを読み取ることが
でき、
個別制御部7は、チヤネル予約記憶手段S3の
或るレジスタ要素10に起動予約有データが存在
することを検出した場合には、チヤネル状態記憶
手段S1の対応するレジスタ要素8のチヤネル状
態データを調べ、チヤネル状態データが入出力命
令受付可を示しておれば入出力命令受付可をチヤ
ネル共通制御部5に通知し、チヤネル状態データ
が入出力命令受付否を示しておれば入出力命令受
付否をチヤネル共通制御部5に通知するように構
成され、
チヤネル共通制御部5は、命令コード記憶手段
S4に命令コードがセツトされたと言う応答を確
認したときには、次のチヤネルに対する処理を開
始できるように構成されている
ことを特徴とするものである。
Therefore, the channel control method of the present invention is
In a channel processing device in a computer system, a channel common control unit 5 includes a first microprocessor 14 that commonly controls a plurality of channels.
and an individual control unit 7 including an individual microprocessor 15 that individually controls the processing of each channel in the order of the channel number, and a register element 8 corresponding to each channel,
It has a channel state storage means S1 for storing channel state data in each register element 8, and a register element 9 corresponding to each channel,
IO command issuance storage means S2 that stores IO command issuance data in each register element 9; and channel activation reservation storage means S3 that has register elements 10 corresponding to each channel and stores activation reservation existence data in each register 10. and an instruction code storage means S4 which has a register element 11 corresponding to each channel and stores an instruction code in each register element 11, and the individual control unit 7 stores the channel state in the register element 8 of the channel state storage means S1. The channel common control unit 5 can write the state data and read the channel state data in the register element 8 of the channel state storage means S1, and the channel common control unit 5 can write data in the register element 9 of the IO instruction issue storage means S2. The individual control unit 7 is an IO command issuing storage means S2
The channel common control unit 5 can write activation reservation data and no activation reservation data in the register element 10 of the channel activation reservation storage means S3. 7 can read the data of the register element 10 of the channel activation reservation storage means S3, and the channel common control section 5 can read the data of the register element 10 of the channel activation reservation storage means S3.
An instruction code can be written in the register element 11 of No. 4, and the individual control unit 7 has an instruction code storage means S.
When the individual control unit 7 detects that activation reservation data exists in a certain register element 10 of the channel reservation storage means S3, the individual control unit 7 reads the data of the register element 11 of the channel reservation storage means S3. The channel status data of the corresponding register element 8 of S1 is checked, and if the channel status data indicates that the input/output command can be accepted, the channel common control unit 5 is notified that the input/output command can be accepted, and the channel status data indicates that the input/output command can be accepted. If the input/output command is not accepted, it is configured to notify the channel common control unit 5 of the input/output command acceptance failure, and the channel common control unit 5 confirms the response that the instruction code has been set in the instruction code storage means S4. Sometimes, it is characterized by being configured to be able to start processing for the next channel.
第1図は本発明のチヤネル処理装置の1例の概
要を示す図である。第8図と同一符号は同一物を
表している。個別制御部7には16台のチヤネルが
接続されている。中央処理装置1が入出力命令を
発行すると、第1のチヤネル共通制御部5は、個
別制御部7に起動予約を送り、該当するチヤネル
の状態を調べてから入出力命令を個別制御部7に
送る。個別制御部7は、入出力命令を受け取る
と、これを第2のチヤネル共通制御部6に送り、
入出力命令と解析と実行を要求する。個別制御部
7は、その外にデータ転送やIO割込み、その他
の処理を第2のチヤネル共通制御部6に要求す
る。個別制御部7は、例えば第0タイミングでは
機番0のチヤネルを制御するためのマイクロ命令
を制御記憶から読出して実行し、第1タイミング
では機番1のチヤネルを制御するためのマイクロ
命令を制御記憶から読出して実行し、第Fタイミ
ングでは機番Fのチヤネルを制御するためのマイ
クロ命令を制御記憶から読出して実行し、次の第
0タイミングでは再び制御記憶から機番0のチヤ
ネルを制御するためのマイクロ命令を読出して実
行する。以下、同様である。
FIG. 1 is a diagram showing an outline of an example of a channel processing device of the present invention. The same reference numerals as in FIG. 8 represent the same parts. Sixteen channels are connected to the individual control unit 7. When the central processing unit 1 issues an input/output command, the first channel common control unit 5 sends an activation reservation to the individual control unit 7, checks the status of the corresponding channel, and then issues the input/output command to the individual control unit 7. send. Upon receiving the input/output command, the individual control unit 7 sends it to the second channel common control unit 6,
Requests input/output instructions, parsing, and execution. In addition, the individual control unit 7 requests the second channel common control unit 6 to perform data transfer, IO interrupt, and other processing. For example, at the 0th timing, the individual control unit 7 reads out and executes a microinstruction for controlling the channel of machine number 0 from the control memory, and at the first timing, controls the microinstruction for controlling the channel of machine number 1. Read it from the memory and execute it. At the F-th timing, read the microinstruction for controlling the channel of machine number F from the control memory and execute it. At the next timing 0, control the channel of machine number 0 from the control memory again. Read and execute the microinstruction for The same applies hereafter.
第2図は本発明における第1のチヤネル共通制
御部と個別制御部との間の通信を説明するための
図である。第2図において、S1はチヤネル状態
記憶手段、S2は命令発行記憶手段、S3はチヤ
ネル起動予約記憶手段、S4は命令コード記憶手
段、8ないし11はレジスタ要素、12はオペレ
ーシヨン・コード・レジスタ、13は解読器、1
4は第1のマイクロプロセツサ、15は個別マイ
クロプロセツサをそれぞれ示している。チヤネル
状態記憶手段S1は16個のレジスタ要素8を有
し、これらは直列接続され、シフトレジスタを構
成しており、レジスタ要素8の内容は1サイクル
毎に右方向にシフトされる。他の記憶手段S2,
S3,S4についても同様である。個別制御部7
は、左端のレジスタ要素8ないし11の内容を読
み取り、第1のチヤネル共通制御部5は左端のレ
ジスタ要素9ないし11にデータを書き込む。個
別制御部7は左端から3番目のレジスタ要素8に
データを書き込む。なお、レジスタ要素8ないし
10はそれぞれ1ビツト構成であり、レジスタ要
素11は命令コードを示す複数ビツトで構成され
ている。データを書き込むとは、レジスタ要素8
ないし10についてはオン/オフを決定し、レジ
スタ要素11については命令コードをデータとし
て書き込むことを意味している。第1のチヤネル
共通制御部5からチヤネル番号に同期してオペレ
ーシヨン・コードが発行され、オペレーシヨン・
コード・レジスタ12にセツトされ、この内容は
解読器13によつて解読される。解読結果に従つ
て左端のレジスタ要素9ないし11の中の1個又
は複数個に対してオンの選択指示信号が送られ
る。選択指示信号がオンである左端のレジスタ要
素は、第1のチヤネル共通制御部5から送られて
来たデータを取込み、選択指示信号がオフである
左端のレジスタ要素は、右端のレジスタ要素の内
容を取込む。個別制御部7は、例えば機番0のチ
ヤネルに対する起動予約ビツトがオンになつたこ
とを検出すると、機番00のチヤネルの状態が入出
力命令受付可能ならば、第1の共通制御部5にそ
の旨応答を返す。 FIG. 2 is a diagram for explaining communication between the first channel common control section and the individual control sections in the present invention. In FIG. 2, S1 is a channel state storage means, S2 is an instruction issue storage means, S3 is a channel activation reservation storage means, S4 is an instruction code storage means, 8 to 11 are register elements, 12 is an operation code register, 13 is a decoder, 1
4 represents a first microprocessor, and 15 represents an individual microprocessor. The channel state storage means S1 has 16 register elements 8, which are connected in series to form a shift register, and the contents of the register elements 8 are shifted to the right every cycle. Other storage means S2,
The same applies to S3 and S4. Individual control section 7
reads the contents of the leftmost register elements 8 to 11, and the first channel common control unit 5 writes data to the leftmost register elements 9 to 11. The individual control unit 7 writes data to the third register element 8 from the left end. Note that register elements 8 to 10 each consist of one bit, and register element 11 consists of a plurality of bits indicating an instruction code. Writing data means register element 8
This means that ON/OFF is determined for the register elements 10 to 10, and an instruction code is written as data for the register element 11. An operation code is issued from the first channel common control unit 5 in synchronization with the channel number.
It is set in code register 12 and its contents are decoded by decoder 13. According to the decoding result, an ON selection instruction signal is sent to one or more of the leftmost register elements 9 to 11. The leftmost register element for which the selection instruction signal is on takes in the data sent from the first channel common control unit 5, and the leftmost register element for which the selection instruction signal is off takes in the contents of the rightmost register element. take in. For example, when the individual control unit 7 detects that the startup reservation bit for the channel of machine number 0 is turned on, if the state of the channel of machine number 00 is such that input/output commands can be accepted, the individual control unit 7 sends the command to the first common control unit 5. A response to that effect is returned.
第3図はサブチヤネルががビジーの場合の第1
のチヤネル共通制御部及び個別制御部の動作を示
す図である。いま、中央処理装置1がSTART
IO FAST RELEASE 命令を発行したと仮定す
ると、第1のチヤネル共通制御部5は指定された
チヤネル(例えば機番0)の起動予約を行い、こ
れと同時に主記憶装置2に対して該当するサブチ
ヤネル(入出力命令で指定された)のロードを要
求する。起動予約を検出すると、個別マイクロプ
ロセツサ15は機番0のチヤネルの状態が、入出
力命令受付可能ならば、第1の共通制御部5にそ
の旨応答する。命令受付不可能ならばその旨応答
する。主記憶装置2から読出したサブチヤネルが
ビジーを示しておれば、第1のチヤネル共通制御
部5は機番0のチヤネルで定めれるタイミングで
チヤネル起動予約記憶手段S3に論理「0」を書
込む。この論理「0」は起動予約の取消を意味し
ている。 Figure 3 shows the first channel when the subchannel is busy.
FIG. 3 is a diagram showing operations of a channel common control unit and an individual control unit. Now, central processing unit 1 is START
Assuming that the IO FAST RELEASE command has been issued, the first channel common control unit 5 makes a startup reservation for the specified channel (for example, machine number 0), and at the same time updates the main storage 2 to the corresponding subchannel ( (specified by an input/output instruction). When the activation reservation is detected, the individual microprocessor 15 responds to the first common control unit 5 to that effect if the channel of machine number 0 is in a state where it can accept input/output commands. If the command cannot be accepted, a response to that effect will be given. If the subchannel read from the main storage device 2 indicates busy, the first channel common control unit 5 writes logic "0" to the channel activation reservation storage means S3 at the timing determined by the channel with machine number 0. This logic "0" means cancellation of the activation reservation.
第4図はサブチヤネルが使用可能で且つチヤネ
ルがアイドルの場合の第1のチヤネル共通制御部
及び個別制御部の動作を示す図である。個別制御
部が入出力命令受付可能であり且つ該当するサブ
チヤネルが使用可能であることが判ると、第1の
チヤネル共通制御部5は、機番0のチヤネルで定
められるタイミングでIO命令発行記憶手段S2
に論理「1」をセツトし、同時に入出力命令を命
令コード記憶手段S4にセツトする。なお、個別
制御部7のマイクロプログラムは状態表示を予め
セツトしておく。第1のチヤネル共通制御部5
は、命令コード記憶手段S4に命令コードがセツ
トされたと言う応答を確認すれば、次のチヤネル
に対する処理を開始することが出来る。個別制御
部7は、機番0のチヤネルに対する入出力命令が
セツトされたことが判ると、第2のチヤネル共通
制御部6に対して入出力命令の解析と実行を要求
する。 FIG. 4 is a diagram showing the operations of the first channel common control section and the individual control section when the subchannel is usable and the channel is idle. When it is determined that the individual control unit is capable of accepting input/output commands and that the corresponding subchannel is usable, the first channel common control unit 5 issues an IO command at a timing determined by the channel with machine number 0. S2
A logic "1" is set in the input/output command, and at the same time, an input/output command is set in the instruction code storage means S4. Note that the microprogram of the individual control section 7 has the status display set in advance. First channel common control unit 5
After confirming the response that the instruction code has been set in the instruction code storage means S4, processing for the next channel can be started. When the individual control section 7 finds that the input/output command for the channel of machine number 0 has been set, it requests the second channel common control section 6 to analyze and execute the input/output command.
第5図はチヤネルのアイドル時における個別制
御部のマイクロフローを示す図である。 FIG. 5 is a diagram showing the microflow of the individual control unit when the channel is idle.
起動予約状態か否かを調べ、オフのときは
の処理を行い、オンのときはの処理を行う。 It is checked whether or not the activation reservation state is set, and if it is off, the process is performed, and if it is on, the process is performed.
IO要求があるか否か(例えばREQUEST
IN信号がオンか否か)を調べ、Noのときは
の処理に戻り、Yesのときはの処理を行う。 Whether there is an IO request (e.g. REQUEST
Check whether the IN signal is on or not. If No, return to the process in step 2, and if Yes, perform the process in step.
IO処理を行う。 Performs IO processing.
IO命令の実行か否かを調べ、オンのときは
の処理を行い、オフのときはの処理を行
う。 Check whether an IO instruction is being executed or not. If it is on, perform the process; if it is off, perform the process.
IO命令を実行する。 Execute IO instructions.
起動予約状態か否かを調べ、オンのときは
の処理に戻り、オフのときはの処理に戻る。
の処理に戻る場合が起動予約の取消しを意味
する。 It is checked whether or not the activation reservation state is set, and if it is on, the process returns to step 2, and if it is off, the process returns to step .
Returning to the process means cancellation of the activation reservation.
第6図はチヤネルのビジー時における個別制
御部のマイクロフローを示す図である。 FIG. 6 is a diagram showing the microflow of the individual control unit when the channel is busy.
起動予約状態か否かを調べ、オフのときは
の処理を行い、オンのときはの処理を行う。 It is checked whether or not the activation reservation state is set, and if it is off, the process is performed, and if it is on, the process is performed.
IO終了か否かを調べる。Noのときはの処
理に戻り、Yesのときはの処理を行う。 Check whether IO has finished. If the answer is No, return to the process in step 2. If the answer is yes, proceed to the process in step 3.
IO終了処理を行う。 Performs IO termination processing.
IO命令の実行か否かを調べ、オンのときは
の処理を行い、オフのときはの処理を行
う。 Check whether an IO instruction is being executed or not. If it is on, perform the process; if it is off, perform the process.
IO命令を実行する。 Execute IO instructions.
起動予約状態か否かを調べ、オンのときは
の処理に戻り、オフのときはの処理に戻る。
の処理に戻る場合が起動予約の取消しを意味
する。 It is checked whether or not the activation reservation state is set, and if it is on, the process returns to step 2, and if it is off, the process returns to step .
Returning to the process means cancellation of the activation reservation.
以上の説明から明らかなように、本発明によれ
ば、第1のチヤネル共通制御部と個別制御部との
間に、チヤネル状態表示記憶手段、IO命令発行
記憶手段、チヤネル起動予約記憶手段及び命令コ
ード記憶手段を各チヤネル対応に設けてあるの
で、起動予約及びその取消しを簡単に行い得ると
共に、異なるチヤネルに対して連続的にIO命令
を発行することが可能となる。
As is clear from the above description, according to the present invention, a channel status display storage means, an IO command issue storage means, a channel activation reservation storage means, and a channel activation reservation storage means are provided between the first channel common control section and the individual control section. Since the code storage means is provided for each channel, it is possible to easily make and cancel activation reservations, and it is also possible to issue IO commands to different channels continuously.
第1図は本発明のチヤネル処理装置の1例の概
要を示す図、第2図は本発明における第1のチヤ
ネル共通制御部と個別制御部との間の通信を説明
するための図、第3図はサブチヤネルがビジーの
場合の第1のチヤネル共通制御部及び個別制御部
の動作を示す図、第4図はサブチヤネルが使用可
能で且つチヤネルがアイドルの場合の第1のチヤ
ネル共通制御部及び個別制御部の動作を示す図、
第5図はチヤネルのアイドル時における個別制御
部のマイクロフローを示す図、第6図はチヤネル
のビジー時における個別制御部のマイクロフロー
を示す図、第7図はチヤネル処理装置を持つ一般
の計算機システムの概要を示す図、第8図は従来
のチヤネル処理装置の概要を示す図である。
1……中央処理装置、2……主記憶装置、3…
…チヤネル処理装置、4……記憶制御装置、5…
…第1のチヤネル共通制御部、6……第2のチヤ
ネル共通制御部、7……個別制御部、8ないし1
1……レジスタ要素、12……オペレーシヨン・
コード・レジスタ、13……解読器、14……第
1のマイクロプロセツサ、15……個別マイクロ
プロセツサ、S1……チヤネル状態記憶手段、S
2……IO命令発行記憶手段、S3……チヤネル
起動予約記憶手段、S4……命令コード記憶手
段。
FIG. 1 is a diagram showing an overview of an example of a channel processing device of the present invention, FIG. 3 is a diagram showing the operation of the first channel common control unit and the individual control unit when the subchannel is busy, and FIG. 4 is a diagram showing the operation of the first channel common control unit and the individual control unit when the subchannel is usable and the channel is idle. A diagram showing the operation of the individual control unit,
Fig. 5 is a diagram showing the microflow of the individual control unit when the channel is idle, Fig. 6 is a diagram showing the microflow of the individual control unit when the channel is busy, and Fig. 7 is a diagram showing the microflow of the individual control unit when the channel is busy. FIG. 8 is a diagram showing an overview of a conventional channel processing device. 1...Central processing unit, 2...Main storage device, 3...
...Channel processing device, 4...Storage control device, 5...
...First channel common control section, 6...Second channel common control section, 7...Individual control section, 8 to 1
1...Register element, 12...Operation
code register, 13... decoder, 14... first microprocessor, 15... individual microprocessor, S1... channel state storage means, S
2...IO command issue storage means, S3...channel activation reservation storage means, S4...instruction code storage means.
Claims (1)
おいて、 複数のチヤネルを共通に制御する第1のマイク
ロプロセツサ14を含むチヤネル共通制御部5
と、 各チヤネルの処理をチヤネル番号順に循環的に
個別に制御する個別マイクロプロセツサ15を含
む個別制御部7と、 各チヤネルに対応するレジスタ要素8を有し、
各レジスタ要素8にチヤネル状態データを記憶す
るチヤネル状態記憶手段S1と、 各チヤネルに対応するレジスタ要素9を有し、
各レジスタ要素9にIO命令発行有無データを記
憶するIO命令発行記憶手段S2と、 各チヤネルに対応するレジスタ要素10を有
し、各レジスタ10に起動予約有無データを記憶
するチヤネル起動予約記憶手段S3と、 各チヤネルに対応するレジスタ要素11を有
し、各レジスタ要素11に命令コードを記憶する
命令コード記憶手段S4と を具備し、 個別制御部7はチヤネル状態記憶手段S1のレ
ジスタ要素8にチヤネル状態データを書き込み得
ると共に、チヤネル状態記憶手段S1のレジスタ
要素8のチヤネル状態データを読み取ることがで
き、 チヤネル共通制御部5はIO命令発行記憶手段
S2のレジスタ要素9にデータを書き込むことが
でき、個別制御部7はIO命令発行記憶手段S2
のレジスタ要素9のデータを読み取ることがで
き、 チヤネル共通制御部5はチヤネル起動予約記憶
手段S3のレジスタ要素10に起動予約有データ
を書き込み得ると共に起動予約無データを書き込
むことができ、個別制御部7はチヤネル起動予約
記憶手段S3のレジスタ要素10のデータを読み
取ることができ、 チヤネル共通制御部5は命令コード記憶手段S
4のレジスタ要素11に命令コードを書き込むこ
とができ、個別制御部7は命令コード記憶手段S
4のレジスタ要素11のデータを読み取ることが
でき、 個別制御部7は、チヤネル予約記憶手段S3の
或るレジスタ要素10に起動予約有データが存在
することを検出した場合には、チヤネル状態記憶
手段S1の対応するレジスタ要素8のチヤネル状
態データを調べ、チヤネル状態データが入出力命
令受付可を示しておれば入出力命令受付可をチヤ
ネル共通制御部5に通知し、チヤネル状態データ
が入出力命令受付否を示しておれば入出力命令受
付否をチヤネル共通制御部5に通知するように構
成され、 チヤネル共通制御部5は、命令コード記憶手段
S4に命令コードがセツトされたと言う応答を確
認したときには、次のチヤネルに対する処理を開
始できるように構成されている ことを特徴とするチヤネル制御方式。[Claims] 1. In a channel processing device in a computer system, a channel common control section 5 including a first microprocessor 14 that commonly controls a plurality of channels.
and an individual control unit 7 including an individual microprocessor 15 that individually controls the processing of each channel in the order of the channel number, and a register element 8 corresponding to each channel,
It has a channel state storage means S1 for storing channel state data in each register element 8, and a register element 9 corresponding to each channel,
IO command issuance storage means S2 that stores IO command issuance data in each register element 9; and channel activation reservation storage means S3 that has register elements 10 corresponding to each channel and stores activation reservation existence data in each register 10. and an instruction code storage means S4 which has a register element 11 corresponding to each channel and stores an instruction code in each register element 11, and the individual control unit 7 stores the channel state in the register element 8 of the channel state storage means S1. The channel common control unit 5 can write the state data and read the channel state data in the register element 8 of the channel state storage means S1, and the channel common control unit 5 can write data in the register element 9 of the IO instruction issue storage means S2. The individual control unit 7 is an IO command issuing storage means S2
The channel common control unit 5 can write activation reservation data and no activation reservation data in the register element 10 of the channel activation reservation storage means S3, and the channel common control unit 5 can write data with activation reservation and no activation reservation data. 7 can read the data of the register element 10 of the channel activation reservation storage means S3, and the channel common control section 5 can read the data of the register element 10 of the channel activation reservation storage means S3.
An instruction code can be written in the register element 11 of No. 4, and the individual control unit 7 has an instruction code storage means S.
When the individual control unit 7 detects that activation reservation data exists in a certain register element 10 of the channel reservation storage means S3, the individual control unit 7 reads the data of the register element 11 of the channel reservation storage means S3. The channel status data of the corresponding register element 8 of S1 is checked, and if the channel status data indicates that the input/output command can be accepted, the channel common control unit 5 is notified that the input/output command can be accepted, and the channel status data indicates that the input/output command can be accepted. If the input/output command is not accepted, the channel common control unit 5 is configured to be notified of the input/output command acceptance failure, and the channel common control unit 5 confirms the response indicating that the instruction code has been set in the instruction code storage means S4. A channel control method, in some cases, being configured to start processing for the next channel.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5546886A JPS62212756A (en) | 1986-03-13 | 1986-03-13 | Channel control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5546886A JPS62212756A (en) | 1986-03-13 | 1986-03-13 | Channel control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62212756A JPS62212756A (en) | 1987-09-18 |
| JPH056218B2 true JPH056218B2 (en) | 1993-01-26 |
Family
ID=12999433
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5546886A Granted JPS62212756A (en) | 1986-03-13 | 1986-03-13 | Channel control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62212756A (en) |
-
1986
- 1986-03-13 JP JP5546886A patent/JPS62212756A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62212756A (en) | 1987-09-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4028668A (en) | Apparatus for selectively addressing sections and locations in a device controller's memory | |
| US4025906A (en) | Apparatus for identifying the type of devices coupled to a data processing system controller | |
| JPS646488B2 (en) | ||
| US5420989A (en) | Coprocessor interface supporting I/O or memory mapped communications | |
| JPS62251865A (en) | Information processor | |
| US3411147A (en) | Apparatus for executing halt instructions in a multi-program processor | |
| US4038537A (en) | Apparatus for verifying the integrity of information stored in a data processing system memory | |
| JPS623461B2 (en) | ||
| JPH056218B2 (en) | ||
| JPS5914775B2 (en) | Common memory lock method | |
| JPS6161416B2 (en) | ||
| CA1302580C (en) | Apparatus and method for using lockout for synchronization of access to main memory signal groups in a multiprocessor data processing system | |
| US3731285A (en) | Homogeneous memory for digital computer systems | |
| JP2846760B2 (en) | Programmable controller | |
| JPS6146552A (en) | Information processor | |
| JP2524620B2 (en) | Input / output control method | |
| JPH0424733B2 (en) | ||
| JPH03257665A (en) | Information processor | |
| JPS5840619A (en) | Sequence controller and its control method | |
| JPH0425581B2 (en) | ||
| JPS6020771B2 (en) | Micro diagnosis method | |
| JPS63129427A (en) | Conversion circuit for interruption response logic | |
| JPS5969844A (en) | Loading method of microprogram | |
| JPH02244361A (en) | Channel control system | |
| JPS6116114B2 (en) |