JPH01205359A - System for controlling input/output device - Google Patents

System for controlling input/output device

Info

Publication number
JPH01205359A
JPH01205359A JP2883188A JP2883188A JPH01205359A JP H01205359 A JPH01205359 A JP H01205359A JP 2883188 A JP2883188 A JP 2883188A JP 2883188 A JP2883188 A JP 2883188A JP H01205359 A JPH01205359 A JP H01205359A
Authority
JP
Japan
Prior art keywords
input
output
host
port
buffer
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
JP2883188A
Other languages
Japanese (ja)
Inventor
Minoru Yoshida
稔 吉田
Yasuo Inoue
靖雄 井上
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 JP2883188A priority Critical patent/JPH01205359A/en
Publication of JPH01205359A publication Critical patent/JPH01205359A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable the transfer of input/output information to from one and the same controller at a time without BUSY by storing the input/output information in a buffer memory, and taking and processing the stored input/output information asynchronously. CONSTITUTION:Respective boards 10 are provided with input/output buffer memories 15 to store temporarily the input/output information to be transferred between a host computer 2 and an input/output control part 1. Then, the storage and the processing of the input/output information are performed optionally at independent asynchronism by buffer control logical parts provided on the respective boards and the microprocessor 21 of an input/output control part 20. Thus, an input/output operation from the host 2 to the respective boards 10 can be performed simultaneously for every board 10, and besides, the host 2 comes free from wait or reject due to the BUSY of a device 1. Consequently, the use efficiency of a host interface 3 is improved, and BUSY reject processing at the host side is simplified.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、磁気ディスク装置や磁気テープ装置等のコン
ピュータ入出力装置の制御方式に係り、特に、ホストイ
ンタフェース用として互いに独立し又入出力制御部のマ
イクロプロセッサから4独立した複数ポートを待つ構成
を採るのに好適な入出力装置の制御方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a control system for computer input/output devices such as magnetic disk devices and magnetic tape devices, and particularly relates to control systems for computer input/output devices such as magnetic disk devices and magnetic tape devices, and in particular, for host interfaces, mutually independent and input/output control systems. The present invention relates to a control method for an input/output device suitable for adopting a configuration in which a plurality of four independent ports are waited for by a microprocessor in the unit.

〔従来の技術〕[Conventional technology]

従来、複数の・ホストコンピュータから複数のポートを
介して共通の入出力装置を制御する制御方式、およびこ
の制御方式におけろ複数ポート間の入出力動作競合の問
題については、例えは、「アイ魯ビー・エム・システム
/370アーキテクチヤ」として知られており、バリー
・カツツアン・ジュニア著、犬日方真訳[コンピュータ
・オーガニゼーションとIBMシステム/370J(第
179−180頁)(1972年TBS出版会発行)に
も記載されている。上記文献にも述べられているように
、俗ポートは選択的にスイッチされろようになっている
ため、一方のポートv介して制御装置が使用中であると
、他方のポートを介しての処理は待たされるか又はビジ
ーとなってリジェクトされるようになっていた。
Conventionally, a control method that controls a common input/output device from multiple host computers via multiple ports, and the problem of input/output operation conflict between multiple ports in this control method, has been discussed, for example, with the IBM Systems/370 Architecture, by Barry Katzuan, Jr., translated by Makoto Inuhikata [Computer Organization and IBM Systems/370J (pp. 179-180), published by TBS in 1972. (Published by the Association). As stated in the above document, the common ports are designed to be selectively switched, so if a control device is in use via one port, processing via the other port is disabled. were either forced to wait or were busy and rejected.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術では、同一の入出力制御装置上の複数個の
ポート間で入出力競合が生じる時の同時動作を可能とす
ることについては特に配慮がされておらず、このため、
あるポートを介してホストと入出力制御装置が接続され
情報を転送中に、他のポートを介してその入出力制御装
置と接続しようとし、又、情報を転送しようとしても、
当該入出力匍」御装置がビジーであるとして待たされる
かリジェクトされてしまい、その結果、ホストインタフ
ェースの使用効率が低下したり、ホスト側で再スケジュ
ーリング処理が必要になったりする問題があった。
In the above-mentioned conventional technology, no particular consideration is given to enabling simultaneous operation when input/output contention occurs between multiple ports on the same input/output control device.
If a host and an input/output control device are connected through a certain port and information is being transferred, if an attempt is made to connect to that input/output control device through another port or to transfer information,
The input/output control device is considered to be busy and is forced to wait or is rejected, resulting in a problem that the usage efficiency of the host interface decreases and rescheduling processing is required on the host side.

従って、本発明の目的は、上記従来技術の問題点を解消
し、他ポートと制御装置間の状態にかかわらず、各ポー
トが相互に独立し又制御装置に対し独立して、ビジー無
しに同時に同一制御装置との入出力情報の転送を可能と
する入出力装置の制御方式を提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned problems of the prior art, and to enable each port to simultaneously operate independently of each other and independently of the control device without being busy, regardless of the state between other ports and the control device. An object of the present invention is to provide a control method for an input/output device that allows input/output information to be transferred to and from the same control device.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明の入出力装置の制御方
式は、複数のポートのそれぞれに、各ホストと同一人出
力制御部(マイクロプロセッサ及びその周辺装置を含み
、ホストからのコマンド等の制御情報に従って入出力装
置を制御する部)との間で転送される入出力制御子H報
(コマンド及びレスポンス)を−時的に格納するバッフ
ァメモリと、ホストとのインタフェース処理を実行する
ためのホストインタフェース制御論理部と、創k ハッ
クアメモリの入力状態(格納状態)を表示するポートイ
ンタフェースレジスタとを設ける。又、ホストインタフ
ェース制御論理部及び前記マイクロプロセッサの双方に
バッファメモリ管理部を設けろ。これらのバッファメモ
リ管理部(例えばその一方のホストインタフェース制御
論理部上のバッファメモリ管理部)は、前記ポートイン
タフェースレジスタを参照することによりバッファメモ
リの入力状態を検査して、前記バッファメモリに前記入
出力制御情報(例えばコマンド)を格納し、又、(例え
ばその他方のマイクロプロセッサ上のバッファメモリ管
理部は)格納された入出力制御情報(前記コマンド)を
随時非同期的に取り出して対応する処理を行なうように
構成されろ。
In order to achieve the above object, the input/output device control method of the present invention is such that each host and the same person output control unit (including a microprocessor and its peripheral devices) control commands, etc. from the host at each of a plurality of ports. A buffer memory for temporarily storing input/output controller H information (commands and responses) transferred between the input/output device (controlling the input/output device according to the information) and a host for performing interface processing with the host. An interface control logic section and a port interface register for displaying the input state (storage state) of the hacker memory are provided. Also, provide a buffer memory manager in both the host interface control logic and the microprocessor. These buffer memory management units (for example, the buffer memory management unit on one of the host interface control logic units) check the input state of the buffer memory by referring to the port interface register, and perform the input to the buffer memory. Output control information (for example, commands) is stored, and (for example, the buffer memory management unit on the other microprocessor) asynchronously retrieves the stored input/output control information (the commands) at any time and performs the corresponding processing. be configured to do so.

〔作用〕[Effect]

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

各ポート上のバッファメモリとデータ転送回路は、相互
に独立していて、複数のホスト又はポートで同時に発生
する情報のポートホスト間の情報転送を同時に行なうこ
とを可能とする。
The buffer memory and data transfer circuits on each port are independent of each other and enable simultaneous transfer of information between port hosts for information occurring simultaneously on multiple hosts or ports.

前記ポートインタフェースレジスタは、複数のポートの
各々と前記マイクロプロセッサとの間に設けられ、各ポ
ートインタフェースレジスタには、そのポート上のバッ
ファメモリの管理に必安なポインタ、フラグが割り当て
られ、又、インタフェース制御に必要なポート及びマイ
クロプロセッサの各状態フラグが割り当てられる。
The port interface register is provided between each of the plurality of ports and the microprocessor, and each port interface register is assigned a pointer and a flag necessary for managing the buffer memory on the port, and Port and microprocessor status flags necessary for interface control are assigned.

ホストからの情報の入力時に、ホストインタフェース制
御論理部は、バッファ管理論理部として以下の動作を行
なう。即ち、ポートインタフェースレジスタ上のバッフ
ァ管理情報(前記割り轟てられ友各種のフラグ、ポイン
タ、アドレス情報等)に従い空きバッファを割シ当て、
データ転送回路により制御情報(コマンド)を入力(格
納)し、その入力状態をポートインタフェースレジスタ
に表示する。又、マイクロプロセッサのバッファ管理調
理部は、任意に随時に(非同期的に)ポートインタフェ
ースレジスタをチエツクし、入出力制御情報(コマンド
)が(格納されていることが)検出されると対応する入
出力処理を行ない、処理が終了すると七のバッファを解
放することをポートインタフェースレジスタに設定する
。この間、並列的に、次の制御情報入力はそのバッファ
の空き領域に同様に入力される。
Upon input of information from the host, the host interface control logic performs the following operations as a buffer management logic. That is, allocate an empty buffer according to the buffer management information on the port interface register (the various flags, pointers, address information, etc. of the allocated friends),
Control information (commands) is input (stored) by the data transfer circuit, and the input state is displayed on the port interface register. In addition, the buffer management cooking section of the microprocessor arbitrarily checks the port interface register at any time (asynchronously), and when input/output control information (command) is detected (stored), the corresponding input/output control information (command) is detected. Performs output processing, and sets the port interface register to release buffer No. 7 when the processing is completed. During this time, the next control information input is similarly input into the empty area of the buffer in parallel.

一方、入出力制御部側からあるポートを通じてホストへ
情報(レスポンス等)を出力する場合、マイクロプロセ
ッサの制御によりポートインタフェースレジスタ上のバ
ッファ管理情報から定まるバッファ空き領域に出力情報
が作られる。その後ホストからそのポートに壬の情報の
出力要求が出されると、ホストインタフェース制御論理
部は、ポートインタフェースレジスタ上のバッファ管理
情報からマイクロプロセッサの介入無しに随時(非同期
的に)データ転送回路により情報を送出し、送出抜上の
領域の空き状態をポートインタフェースレジスタに表示
する。この間、並列的に、マイクロプロセッサは、別の
出力情報をバッファに作ることもoJ罷である。
On the other hand, when outputting information (response, etc.) from the input/output control unit to the host through a certain port, the output information is created in a buffer free area determined from the buffer management information on the port interface register under the control of the microprocessor. Thereafter, when the host issues a request to output the current information to that port, the host interface control logic section outputs the information from the buffer management information on the port interface register to the data transfer circuit at any time (asynchronously) without microprocessor intervention. is sent, and the free status of the area on the sender is displayed in the port interface register. During this time, in parallel, the microprocessor may also create other output information in the buffer.

以上の動作により、入出力制御情報(入出力側飾部及び
ポート)上の谷ポートは、マイクロプロセッサの状態に
関係無く、’E7’C,他ポートと独立して、匍」御情
報の入出力がtiJ能になるので、ホストは入出力制御
装置に対するアクセスを待九されfcv、ビジーでリジ
ェクトされ交りすることが無い。
As a result of the above operation, the valley port on the input/output control information (input/output side ornament and port) is input to 'E7'C, 'C', 'C' and 'C', independently from other ports, regardless of the state of the microprocessor. Since the output is tiJ enabled, the host waits for access to the input/output control device, fcv is busy, and is rejected, so there is no interaction.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図及び第2図によって説
明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 2.

第1図は本発明の実施例の入出力制御方式の構成を示す
ブロック図であって、システムは、ホストコンピュータ
2.入出力装置力[1,及び、磁気ディスク装置や磁気
テープ装置等の入出力装置力から成る。入出力制御装置
1は、各ホストコンピュータ2に対応する複数のポート
10と、入出力装[50を制御する装置制御部(デバイ
ス制御部)銀とから成る。ポート10は、ホストインタ
フェース3を辿じてホスト2と接続されるインタフェー
ス回路14と、プロトコル制御処理バス61等を介して
ホスト2とのインタフェース(以下、「I/F」と略記
する)処理を実行するホストエ/F制御調理部11と、
ホスト2により発行されたコマンド情報やデバイス制何
部山からのレスポンス情報寺の、入出力制御情報を格納
する人出力バツファメモリ15と、該人出カバソファメ
モリ15の入力状態を表示し管理するポー)I/Fレジ
スタ13と、上記入出力バッファメモリ15に上記入出
力制御情報を転送する転送制御63及びデータ転送回路
12とを備える。デバイス制御部加は、MPU (マイ
クロプロセッサユニツ))20.及び、その周辺回路と
して、デバイス制御回路40.入出力装置力に対する入
出力データの几めのデータバッファ(9)、入出力装置
力とデータバッファ加の間のデータ転送を制御するデバ
イスデータ転送回路n、デバイス制御回路40に対する
制御バス、転送制御バス72を有している。入出力バッ
ファ15は、スタック管理アドレステーブル100と、
ホスト2からのコマンドを格納するコマンドバッファ1
01と、デバイス制御部加からのレスポンスを格納する
レスポンスバッファ101を有している。
FIG. 1 is a block diagram showing the configuration of an input/output control method according to an embodiment of the present invention, and the system includes a host computer 2. Consists of input/output device power [1] and input/output device power such as magnetic disk devices and magnetic tape devices. The input/output control device 1 includes a plurality of ports 10 corresponding to each host computer 2, and a device control section (device control section) that controls the input/output device [50]. The port 10 performs interface processing (hereinafter abbreviated as "I/F") with the host 2 via an interface circuit 14 connected to the host 2 via the host interface 3 and a protocol control processing bus 61, etc. A host E/F control cooking section 11 that executes;
A human output buffer memory 15 that stores input/output control information such as command information issued by the host 2 and response information from a device controller, and a port that displays and manages the input status of the human output buffer memory 15. ) An I/F register 13, a transfer control 63 for transferring the input/output control information to the input/output buffer memory 15, and a data transfer circuit 12. The device control unit is MPU (microprocessor unit))20. and a device control circuit 40 as its peripheral circuit. A data buffer (9) for storing input/output data for the input/output device output, a device data transfer circuit n for controlling data transfer between the input/output device output and the data buffer addition, a control bus for the device control circuit 40, and transfer control. It has a bus 72. The input/output buffer 15 has a stack management address table 100,
Command buffer 1 that stores commands from host 2
01 and a response buffer 101 for storing responses from the device control unit.

本実施力のIP!feとしで、入出力バッファ15はコ
マンドやレスポンス等の入出力制御情報を一時的に格納
するため設けられたものであり、また、ポートI/Fレ
ジスタ13は、この入出力バッファ150入力状態を表
示し設定し管理する九めのものである。各ポートのホス
)I/Fi’1tlJ御論理部11とマイクロプロセッ
サ21には、それぞれ独立したバッファ管理縞理部が設
けてあって、ホス)I/F制御論理部とマイクロプロセ
ッサ21の双方のバッファ管理部は、ポートエ/Fレジ
スタ13を通じて、それぞれ任意に独自に入出力バッフ
ァ15のバッファ入力状態を管理する。これKよって、
ポート10よりもホスト2側での入出力処理と、ポート
10よりもデバイス制御部加側での入出力処理とを、相
互に非同期的に行なうことができる。
IP of this implementation ability! fe, the input/output buffer 15 is provided to temporarily store input/output control information such as commands and responses, and the port I/F register 13 stores the input status of this input/output buffer 150. This is the ninth item to display, configure, and manage. The host) I/F control logic section 11 and the microprocessor 21 of each port are provided with independent buffer management control sections. The buffer management units arbitrarily and independently manage the buffer input states of the input/output buffers 15 through the port E/F registers 13. Since this is K,
Input/output processing on the host 2 side relative to the port 10 and input/output processing on the device control unit side relative to the port 10 can be performed asynchronously with respect to each other.

次に、本実施例の動作を詳細に説明する。Next, the operation of this embodiment will be explained in detail.

ホスト2は、入出力デバイス犯を制御する入出力装置力
[1に対し、ホストボー) 10に接続されたホストイ
ンタフェース3を介し、コマンドを発行する。発行され
几コマンドは、ポート上のインタフェース回M14と、
ホストI/F制両端理11によるプロトコル制御処理6
1と、データ転送回路12及び転送制御−により、ポー
ト上の人出カバッフア15中のコマンドバッファ101
にスタックされる。
The host 2 issues commands via the host interface 3 connected to the input/output device power 10 which controls the input/output device power 10. The command issued is interface times M14 on the port,
Protocol control processing 6 using host I/F control logic 11
1, the data transfer circuit 12 and the transfer control, the command buffer 101 in the traffic buffer 15 on the port
will be stacked.

入力するバッファの領域は、スタック管理アドレステー
ブル100とアクセスΦパス62によるポートエ/Fレ
ジスタ13の内容から定まりこのコマンド入力作業はマ
イクロプロセッサ21の介入無しに行われる。コマンド
入力状態はポートI/Fレジスタ13に設定されろ。マ
イクロプロセッサ21は、ポートI/Fレジスタ13を
随時アクセスバス70により参闇し、その内容からコマ
ンドの入力を検知し、コマンドバッファ101のコマン
ドな読出し解読し指示されている入出力装置刃へのアク
セスを制御パス71とデバイス制御回路40とにより起
動する。
The input buffer area is determined from the stack management address table 100 and the contents of the port E/F register 13 by the access Φ path 62, and this command input work is performed without intervention from the microprocessor 21. The command input state should be set in the port I/F register 13. The microprocessor 21 accesses the port I/F register 13 at any time via the access bus 70, detects the input of a command from its contents, reads and decodes the command from the command buffer 101, and sends the command to the specified input/output device blade. Access is activated by the control path 71 and the device control circuit 40.

入出力装f5oの入出力データがある場合、該データは
バス73?:介してデータバッファ加に一旦バツファリ
ングされる。データバッファ加と入出力装置製間のデー
タ転送は、°デバイスデータ転送回路nと七〇制惧バス
72により行なわれる。データバッファ加とホスト2間
のデータ転送は、ポートエ/Fレジスタ13に設定され
たバツファアドレスと転送レディ情報により、ポート上
のホス)I/F制御部11及び、データ転送回路12に
より行なわれる。コマンドの処理終了情報を含むデバイ
ス制御部加からホスト2へ報告されるレスポンスは、マ
イクロプロセッサ21によりポート上のレスポンスバッ
ファ102に生成スタックされる。このスタック領域は
石マントの場合と同様スタック管理アドレステーブル1
00と、マイクロプロセッサ21により設定され九ボー
)I/Fレジスタ13の内容で決定されろ。スタックさ
れたレスポンスのホストへの送出は、ホストの要求に対
応しホストI/F市13御論理11及びデータ転送回路
12が、マイクロプロセッサ21の介入無しにスタック
管理アドレステーブル100とボー)I/Fレジスタ1
3の内容から行なう。
If there is input/output data for input/output device f5o, the data is transferred to bus 73? : Once added to the data buffer, the data is buffered. Data transfer between the data buffer and the input/output device is performed by the device data transfer circuit n and the 70 bus 72. Data transfer between the data buffer and the host 2 is performed by the host I/F control unit 11 on the port and the data transfer circuit 12 based on the buffer address and transfer ready information set in the port E/F register 13. . A response reported to the host 2 from the device control unit including command processing completion information is generated and stacked in the response buffer 102 on the port by the microprocessor 21. This stack area is the same as in the case of stone cloak, stack management address table 1
00, which is set by the microprocessor 21 and determined by the contents of the I/F register 13. The stacked response is sent to the host by the host I/F control logic 11 and the data transfer circuit 12 in response to the host's request, and the stack management address table 100 and the board I/F address table 100 are sent without the intervention of the microprocessor 21. F register 1
Start from the contents of 3.

矢に、第2図において、バッファメモリ管理論理を説明
する。第2図で、100は入出力バッファ15上のスタ
ック管理アドレステーブル、131〜134はポートI
/Fレジスタ13上の指示ポインタである。
Referring now to FIG. 2, the buffer memory management logic will be explained. In FIG. 2, 100 is a stack management address table on the input/output buffer 15, and 131 to 134 are port I
/F This is an instruction pointer on the register 13.

先ず、コマンド入力の場合から説明する。First, the case of command input will be explained.

スタック管理アドレステーブル100上には、コマンド
スタックのn個のスタック領域の各アドレスがあらかじ
め設定されている。ホス)I/F制御論理部11は、ホ
スト2からのコマンド入力指示があると、ポートI/F
レジスタ13上に存在するコマンド入カボトンタPi、
131.の指し示すコマンドスタック領域馬9のアドレ
スをデータ転送回路12に指示しコマンドを入力する。
On the stack management address table 100, each address of n stack areas of the command stack is set in advance. When a command input instruction is received from the host 2, the host) I/F control logic unit 11 controls the port I/F control logic unit 11.
Command input card Pi existing on register 13,
131. The data transfer circuit 12 is instructed to the address of the command stack area 9 pointed to by the address of the command stack area 9, and a command is input.

入力後そのポインタP1は次のスタック領域AIOを指
し示す様進められる。一方、マイクロプロセッサはボー
)I/Fレジスタ13上に存在する入力コマンドの処理
ポインタP2,132.と入力ポインタP1の位置を比
較し両ポインタ位置の差の中に含まれるコマンドを、ス
タック済の未処理コマンドとして任意に取り出し処理す
る。処理終了情報のコマンドスタックを解放する為、ポ
インタP2を進め史耕する。ここでスタックの解放順序
がスタックされた順序と異なる場合が考えられるが、そ
の場合本図に示すスタック解放ポインタP3,133.
をポートI/Fレジスタ13上に収け、スタック解放時
スタック領域アドレスをP3の示す位置に登録し、つい
でP3を進め更新する処理を設ければよい。いずれの場
合も、入力ポインタP1からP21で、あるいはP31
でを設定しfc場合にはLJ 1からn、1.2・・・
を経てP31での間に含まれる領域のスタック領域が、
コマンド入力に解放されていることになり、P2からP
lの間のコマンドがスタック済みで処理未終了、P3を
設定時P3からP2の間のコマンドは処理中でP2から
Plは処理米開始とした制御が行なわれる。また、スタ
ック領域を巡回して使用する為のスタックサイズ134
を使用し、P1〜P3の各ポインタ史新時最大値口と比
較しnを越えた場合ポインタを先頭に医す処理を行なう
ことでバッファの巡回便用が可能となる。PlがP2に
(又はP3を便用時P3に)退い廂°いた場合、スタッ
クフルとなるが、ホストへその状態を報告するかまたは
、入力と処理の性能に合う鼠のスタックサイズ(スタッ
ク数)を選択することでその問題は屏決され2a常状態
において支障は無い。
After input, the pointer P1 is advanced to point to the next stack area AIO. On the other hand, the microprocessor is processing the input command processing pointers P2, 132 . The position of the input pointer P1 is compared with the position of the input pointer P1, and the command included in the difference between the positions of both pointers is arbitrarily taken out and processed as a stacked unprocessed command. In order to release the command stack of processing end information, the pointer P2 is advanced and history is read. Here, it is conceivable that the order in which the stacks are released is different from the order in which they are stacked, in which case the stack release pointers P3, 133.
may be stored in the port I/F register 13, the stack area address when the stack is released is registered at the position indicated by P3, and then P3 is advanced and updated. In either case, input pointers P1 to P21 or P31
If you set fc, LJ 1 to n, 1.2...
The stack area of the area included in P31 after passing through is
This means that it is open for command input, and P2 to P
When P3 is set, commands between P3 and P2 are being processed, and from P2 to P1, processing is started. In addition, the stack size is 134 to circulate and use the stack area.
It is possible to use the buffer cyclically by comparing each pointer P1 to P3 with the maximum value at the time of the new history, and if n is exceeded, the pointer is moved to the beginning. If Pl retreats to P2 (or P3 to P3 for convenience), the stack becomes full, but it must report its status to the host or change the stack size (number of stacks) of the mouse to suit the input and processing performance. ), the problem is resolved and there is no problem in the normal state of 2a.

次に制御装置1からホスト2ヘレスポンスを送出する場
合を説明する。第2図においてPlをマイクロプロセッ
サ21のレスポンス入力ポインタとし、P2をホストI
/F制御論理部11のレスポンス転送ポインタとすれば
、コマンド入力の場合と同様の動作で容易に制御が実現
される。
Next, the case where a response is sent from the control device 1 to the host 2 will be explained. In FIG. 2, Pl is the response input pointer of the microprocessor 21, and P2 is the host I
/F If the response transfer pointer of the control logic unit 11 is used, control can be easily realized by the same operation as when inputting a command.

ここで、入出力バッファ15はホス)I/F制御舖理部
11、データ転送回路12、マイクロプロセッサ21の
それぞれからアクセスされる為、アクセス競合解決手段
を要するが、データ転送回路12はプロトコル制御部で
制御される為、マイクロプロセッサとポート側の三者間
の競合解決としてデユアhボー) RAM方式(バッフ
ァ自身2つのポートを持ち、いずれか早い入力のあった
方を優先する方式)または、ポート側に優先度を持たせ
fcA停方式によりホストIZF制@l鍮理部11を待
たせること無く実現できる。本実施f91.1によれば
、各ポートが独立にホストからのコマンドを複数伽スタ
ックでき、’gfc、制伽装置からのレスポンスを複数
個スタックでき、他ポート状態に依らず、また、マイク
ロプロセッサの介入無く、ホストはコマンドやレスポン
スを相互に非同期で任意に転送出来ろ。従って、仮数の
ポートによる、制御情報の同時転送や、制御情報とデー
タ情報との同時転送も可能である。
Here, since the input/output buffer 15 is accessed by each of the host I/F control section 11, data transfer circuit 12, and microprocessor 21, access conflict resolution means are required, but the data transfer circuit 12 is controlled by protocol control. RAM method (the buffer itself has two ports and the one with the earliest input takes priority) or By giving priority to the port side and using the fcA stop method, it is possible to implement the host IZF system without making the host IZF system wait. According to this implementation f91.1, each port can independently stack multiple commands from the host, can stack multiple responses from the 'gfc, control device, and is independent of the status of other ports. Hosts can arbitrarily transfer commands and responses to each other asynchronously without any intervention. Therefore, simultaneous transfer of control information or simultaneous transfer of control information and data information is also possible using the mantissa port.

本実施例では、データバッファ加は、バッファ15と違
って1個設けただけであるため、データの転送は複数ポ
ート間で同時に出来ないが、データバッファ加を複数単
位に分割し入出力ポートに動的に(各バッファ領域を可
変にして)割当て、入力データは本実に例のコマンドス
タック手段同様の、出力データはレスポンススタック手
段同様の、管理論理を用いれば、容易にデータ情報の同
時転送を実現することができる。
In this embodiment, unlike the buffer 15, only one data buffer is provided, so data cannot be transferred between multiple ports at the same time. However, the data buffer is divided into multiple units and transferred to input/output ports. By dynamically allocating (by making each buffer area variable), input data is actually the same as the command stack means in the example, and output data is the same as the response stack means, by using management logic, you can easily transfer data information simultaneously. It can be realized.

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

以上詳しく述べたように、本発明の入出力制御方式によ
れば、各ポートにホストと入出力制御部間で転送される
入出力制御情報を一時的に格納するバッファメモリを収
け、各ポート及び入出力ポートのマイクロプロセッサに
設けたバッファ管理論理部により、任意に独立非同期で
前記入力制御情報の格納とその処理とを行なうようにし
たので、ホストから入出力制御装置の各ポートへの入出
力動作は各ポート間で同時に行なうことができ、又、ホ
ストは入出力制御装置のビジーによる待ちゃりジエクト
がたくなり、その結果、ホストインタフェースの使用効
率が向上しホスト側のビジーリジェクト処理が簡略化さ
れる等、優れた効果を奏する。
As described in detail above, according to the input/output control method of the present invention, a buffer memory for temporarily storing input/output control information transferred between the host and the input/output controller is stored in each port, and each port The input control information is arbitrarily stored and processed independently and asynchronously by the buffer management logic section provided in the microprocessor of the I/O port, so that input from the host to each port of the I/O control device is Output operations can be performed simultaneously between each port, and the host is less likely to wait for requests due to a busy input/output control device, resulting in improved host interface usage efficiency and simplified busy reject processing on the host side. It has excellent effects such as

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

第1図は本発明の一実施例の入出力装置の制御方式の構
成図、第2図はバッファメモリ管理論理の説明図である
。 1・・・・・・入出力ft1lJ 1141装置、2・
・・・・・ホストコンピュータ、3・・・・・・ホスト
インタフェース、10・・・・・・ポート、11・・・
・・・ホストインタフェース制御論理部、12・・・・
・・データ転送回路、13・・・・・・ポートインタフ
ェースレジスタ、 14・・・・・・インタフェース回
路、15・・°曲入出力パツ7アメモ!j、2o・・・
・・・入出力装&(デバイス)制御部#21・・・・・
・マイクロプロセッサ、22・・・・・・デバイスデー
タ転送回路、30・・・・・・データバッファ、50・
・・・・・入出力装置(入出力デバイス)、100・・
・・・・スタック管理アドレステーブル、101・曲・
コマンドバッファ、102・曲・レスポンスバッファ。 131・・・・・・入力ポインタ、132・・・・・・
処理ポインタ。 133・・・・・・スタック解放ポインタ、134・・
・・・・スタックサイズ。 第1コ 第2区 口エコ一一!34
FIG. 1 is a block diagram of a control system for an input/output device according to an embodiment of the present invention, and FIG. 2 is an explanatory diagram of buffer memory management logic. 1... Input/output ft1lJ 1141 device, 2.
...Host computer, 3...Host interface, 10...Port, 11...
...Host interface control logic section, 12...
...Data transfer circuit, 13...Port interface register, 14...Interface circuit, 15...° Song input/output parts 7 Amemo! j, 2o...
...I/O equipment & (device) control section #21...
・Microprocessor, 22...device data transfer circuit, 30...data buffer, 50...
...Input/output device (input/output device), 100...
・・・Stack management address table, 101・Song・
Command buffer, 102/song/response buffer. 131... Input pointer, 132...
Processing pointer. 133...Stack release pointer, 134...
...Stack size. 1st place, 2nd ward, Kuchi Eco-11! 34

Claims (1)

【特許請求の範囲】[Claims] 1、複数のホスト接続ポートと、入出力装置と、マイク
ロプロセッサ及びその周辺装置を含み前記ポートを介し
てホストからの制御情報に従い前記入出力装置を制御す
る入出力制御部とを有する入出力装置の制御方式におい
て、前記各ポート上にあつて前記ホストと前記入出力制
御部との間で転送される入出力制御情報を一時的に格納
するバッファメモリと、前記各ポート上にあつてホスト
とのインタフェース処理を実行するためのホストインタ
フェース制御論理部と、各ポート上にあつて前記バッフ
ァメモリの入力状態を表示するポートインタフェースレ
ジスタと、前記ホストインタフェース制御論理部及び前
記マイクロプロセッサにそれぞれ独立して設けられてい
て、前記ポートインタフェースレジスタを介して前記バ
ッファメモリの入力状態を検査して、前記バッファメモ
リに前記入出力制御情報を格納し又格納された入出力制
御情報を非同期で取り出してその処理をするバッファメ
モリ管理部とを備えたことを特徴とする入出力装置の制
御方式。
1. An input/output device having a plurality of host connection ports, an input/output device, and an input/output control unit that includes a microprocessor and its peripheral devices and controls the input/output device according to control information from the host via the port. In the control method, a buffer memory is provided on each of the ports and temporarily stores input/output control information transferred between the host and the input/output control unit, and a buffer memory is provided on each of the ports and is provided between the host and the input/output control unit. a host interface control logic unit for executing interface processing of the host interface, a port interface register on each port for displaying the input status of the buffer memory, and a host interface control logic unit for the host interface control logic unit and the microprocessor, respectively; and checking the input state of the buffer memory via the port interface register, storing the input/output control information in the buffer memory, and asynchronously retrieving the stored input/output control information and processing the input/output control information. 1. A control method for an input/output device, comprising: a buffer memory management section for controlling an input/output device.
JP2883188A 1988-02-12 1988-02-12 System for controlling input/output device Pending JPH01205359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2883188A JPH01205359A (en) 1988-02-12 1988-02-12 System for controlling input/output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2883188A JPH01205359A (en) 1988-02-12 1988-02-12 System for controlling input/output device

Publications (1)

Publication Number Publication Date
JPH01205359A true JPH01205359A (en) 1989-08-17

Family

ID=12259331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2883188A Pending JPH01205359A (en) 1988-02-12 1988-02-12 System for controlling input/output device

Country Status (1)

Country Link
JP (1) JPH01205359A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06301624A (en) * 1993-04-09 1994-10-28 Nec Corp Peripheral device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06301624A (en) * 1993-04-09 1994-10-28 Nec Corp Peripheral device

Similar Documents

Publication Publication Date Title
US20050138230A1 (en) Method, apparatus and program product for low latency I/O adapter queuing in a computer system
JPH0587854B2 (en)
JPS59167761A (en) Computer system
JPH01205359A (en) System for controlling input/output device
JPH08106443A (en) Data processing system and parallel computer
JP2553128B2 (en) Data buffer device
JPS63292356A (en) Dma controller
JPS6327936A (en) File management method
JPH01169565A (en) Multiprocessor control system
JPS62184560A (en) Input/output buffer controller
JPS58214957A (en) Computer system
JP3331943B2 (en) Information processing device and input / output control device
JPS5854478A (en) Controlling method of main storage
JPS61237158A (en) Shared memory device
JPS63217444A (en) Multiple port memory
JPS62236061A (en) Inter-cpu communication system
JPS6368960A (en) Sequential access controller for shared storage medium
JPH03156551A (en) Dma controller
JPH0380470A (en) Storage controller
JPH11161555A (en) Duplex file i/o device, method therefor and information processor using the same
JPH04120648A (en) Common bus connecting device
JPS6086654A (en) System for remote loading of system from another cpu
JPH05334012A (en) Large capacity disk controller
JPS61193245A (en) Memory control system
JPH06259374A (en) Input/output bus controller