JPS61187060A - Input/output controller - Google Patents

Input/output controller

Info

Publication number
JPS61187060A
JPS61187060A JP60027674A JP2767485A JPS61187060A JP S61187060 A JPS61187060 A JP S61187060A JP 60027674 A JP60027674 A JP 60027674A JP 2767485 A JP2767485 A JP 2767485A JP S61187060 A JPS61187060 A JP S61187060A
Authority
JP
Japan
Prior art keywords
data
adapter
cache memory
channel
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP60027674A
Other languages
Japanese (ja)
Other versions
JPH0724042B2 (en
Inventor
Satoru Kaneko
悟 金子
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60027674A priority Critical patent/JPH0724042B2/en
Publication of JPS61187060A publication Critical patent/JPS61187060A/en
Publication of JPH0724042B2 publication Critical patent/JPH0724042B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To perform the operation at a high speed by transferring data of a cache memory part or data, which is obtained by selecting an input/output device through a subordinate-side transfer part, according as data exists or does not exist in the cache memory part. CONSTITUTION:If a channel adapter CA refers to a cache memory part 3 in response to the access request of a CPU/CHL to discriminate the presence of requested data in a cache memory 4, a device adapter DA can execute another processing to a DASD during the data transfer between the cache memory 4 and the CPU/CHL. If the absence of requested data in the cache memory 4 is discriminated, a device is selected through the device adapter DA, and the device adapter DA transfers one-track components of data to the cache memory 4 by the staging operation, and another processing can be performed after requested data out of this data is transferred to the CPU/CHL; and thus, a host-side a bus and a subordinate-side bus are operated in parallel independently of each other.

Description

【発明の詳細な説明】 〔目次〕 以下の順序で本発明を説明する。[Detailed description of the invention] 〔table of contents〕 The present invention will be explained in the following order.

産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段(第1図)実施例 (A)入出力制御装置の第1の実施例の構成の説明 (
第2図、第3図、第4図、第5図)(B)入出力制御装
置の全体の動作の説明(第6図) CC)DA及びデバイス選択動作の説明(第7図) (D)ステージング動作の説明  (第8図)(E)ヒ
ツト選択動作の説明   (第9図)(F)キャッシュ
動作の説明 (第10図、第1)図) (G)通常のリード/ライト動作の説明(第12図) (H)入出力制御装置の第2の実施例の説明(第13図
) 発明の効果 〔産業上の利用分野〕 本発明はCPU等の上位側とD A S D (Dir
ectAccess Storage Device)
等の複数の入出力装置との間に設けられ、上位側からの
要求に応じて入出力装置のデータを転送する入出力制御
装置に関し、特に、キャッシュメモリを有し、入出力装
置を直接アクセスせずにキャッシュメモリから入出力装
置のデータを上位側に転送する入出力制御装置に関する
Industrial Field of Application Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems (Fig. 1) Embodiment (A) Description of the configuration of the first embodiment of the input/output control device (
(Fig. 2, Fig. 3, Fig. 4, Fig. 5) (B) Explanation of the overall operation of the input/output control device (Fig. 6) CC) Explanation of the DA and device selection operation (Fig. 7) (D ) Explanation of staging operation (Figure 8) (E) Explanation of hit selection operation (Figure 9) (F) Explanation of cache operation (Figure 10, Figure 1)) (G) Description of normal read/write operation Explanation (FIG. 12) (H) Explanation of the second embodiment of the input/output control device (FIG. 13) Effects of the invention [Field of industrial application] The present invention is applicable to the upper side such as a CPU and the D A S D ( Dir
ectAccess Storage Device)
Regarding input/output control devices that are installed between multiple input/output devices such as the The present invention relates to an input/output control device that transfers data of an input/output device from a cache memory to a higher-level side without any processing.

コンピュータシステムにおいては、中央処理装置(以下
CPUと称す)が必要とするデータは入出力装置に保有
されており、CPUは必要に応じて入出力装置からデー
タを得るようにしている。
In a computer system, data required by a central processing unit (hereinafter referred to as CPU) is held in an input/output device, and the CPU obtains data from the input/output device as necessary.

このようなデータのやりとりは入出力装置とCPUとの
間に設けられた入出力制御装置によって行なわれ、CP
Uのアクセス要求に対し、入出力制御装置が入出力装置
からデータを得て、CPUへ転送するようにしている。
Such data exchange is performed by an input/output control device installed between the input/output device and the CPU.
In response to an access request from U, the input/output control device obtains data from the input/output device and transfers it to the CPU.

このような入出カシステムとしては、D A S D 
(Direct Access Storage De
vice)サブシステムが広く用いられており、DAS
Dサブシステムでは、入出力装置として磁気ディスク装
置が複数設けられている。
As such an input/output system, D.A.S.D.
(Direct Access Storage De
vice) subsystem is widely used, and DAS
The D subsystem is provided with a plurality of magnetic disk devices as input/output devices.

近年係る入出カシステムにおいて、入出力制御装置にキ
ャッシュメモリを設け、アクセスの高速化を計るものが
提供されている。
In recent years, input/output systems have been provided in which an input/output control device is provided with a cache memory to speed up access.

〔従来の技術〕[Conventional technology]

第14図は従来のDASDサブシステムの構成図であり
、入出力制御装置(以下コントローラと称す)CTとD
ASD9とが接続されている。コントローラCTは、各
々CPUのチャネルCHLに接続される一対のディレク
タ(制御部+DiR0、DIRIと、キャッシュメモリ
CMを有するキャッシュメモリ部CAとで構成されてお
り、各ディレクタDIRO5DIRIには上位側(CP
U/CHL)とDASD9及びキャッシュメモリ部CA
との間でデータ転送を行う自動転送機構ADTO,AD
TIが各々設けられている。一方、DASD9は、各々
ディレクタDIROSDIR1に接続されるアダプタA
PO1APIと、両アダプタAPO1APIにデータ線
1)、j22によって接続されたnヶの磁気ディスク装
置(以下デバイスと称す)90〜9nとで構成され、各
アダプタAPO,APIはアダプタ制御部C0NTO1
CONTIと、排他制御用メモリMEMO1MEM1と
で構成され、更に各デバイス90〜9nと制御線β3、
E4によってアダプタAPO,APIに割込み等の制御
信号のやりとりを行うように構成されている。
Figure 14 is a configuration diagram of a conventional DASD subsystem, showing input/output control devices (hereinafter referred to as controllers) CT and DASD.
ASD9 is connected. The controller CT is composed of a pair of directors (control unit + DiR0, DIRI, and a cache memory unit CA having a cache memory CM) each connected to a channel CHL of the CPU, and each director DIRO5DIRI has an upper side (CP
U/CHL) and DASD9 and cache memory section CA
Automatic transfer mechanism ADTO, AD that transfers data between
A TI is provided for each. On the other hand, each DASD9 is connected to an adapter A connected to the director DIROSDIR1.
It consists of PO1API and n magnetic disk devices (hereinafter referred to as devices) 90 to 9n connected to both adapters APO1API by data lines 1) and j22, and each adapter APO and API is controlled by an adapter control unit C0NTO1.
CONTI, exclusive control memory MEMO1MEM1, and each device 90 to 9n and control line β3,
The E4 is configured to exchange control signals such as interrupts with the adapters APO and API.

従って、各デバイス90〜9nは両アダプタAPO1A
PI、即ちディレクタADTO,ADT1によっていわ
ゆるクロスコールされるように構成され、デバイス90
〜9nば、ディレクタDIRO−アダプタAPOのパス
と、ディレクタDIR1−アダプタAPIのパスとの2
つのパスによってアクセスされる。
Therefore, each device 90 to 9n has both adapters APO1A
The device 90 is configured to be so-called cross-called by the PI, that is, the director ADTO, ADT1.
~9n, the director DIRO-adapter APO path and the director DIR1-adapter API path.
accessed by one path.

このような従来のDASDサブシステムでは、上位側が
ディレクタDrRO(又はDIRI)にアクセス要求を
発すると、ディレクタDIRO(又はD I R1)は
キャッシュメモリ部CAに要求されたデバイスの要求レ
コードが格納されているかを調べ、又、要求されたデバ
イスが他の上位側が使用で使用禁止されていないかをア
ダプタAPO1APIの排他制御メモリMEMO,ME
MIを参照して調べ、使用禁止でなく、キャッシュメモ
リ部CAに要求レフ−下が存在すれば、矢印Yの如(デ
ィレクタDIRIの自動転送機構ADT1がキャッシュ
メモリ部CAのキャッシュメモリCMより当該要求レコ
ードを上位側へ転送するいわゆるキャッシュ動作を行う
。逆に、キャッシュメモリ部CAに要求レコードが存在
せず、使用禁止でもない時には、例えば、ディレクタD
IROの自動転送機構ADTOはアダプタAPOを介し
要求デバイス(例えば90)を選択し、要求レコードを
含む1トラック分のデータを図の矢印Xの如く読出し、
キャッシュメモリ部CAに転送し、キャッシュメモリC
Mに1トラック分のデータを格納せしめるとともに、必
要な要求レコードのみを上位側に図の矢印X′の如く転
送する。いわゆるステージング動作を行う。従って、以
降当該キャッシュメモリCMに格納されたトラックに含
まれるレコードは前述のキャッシュ動作によって上位側
へ与えられる。このキャッシュメモリCMは一般に高速
の半導体メモリで構成されており、その容量は例えば4
Mバイト〜32Mバイトと大容量としておけば、上位側
からのアクセス要求の大半(例えば80%)程度はキャ
ッシュ動作によって行なわれ、高速動作が可能となる。
In such a conventional DASD subsystem, when the upper side issues an access request to the director DrRO (or DIRI), the director DIRO (or DIRI) stores the request record of the requested device in the cache memory section CA. Also check whether the requested device is prohibited from being used by another host using the exclusive control memories MEMO and MEMO of the adapter APO1API.
Check by referring to MI, and if the use is not prohibited and there is a request reference in the cache memory section CA, the automatic transfer mechanism ADT1 of the director DIRI transfers the request from the cache memory CM of the cache memory section CA as shown by arrow Y. A so-called cache operation is performed to transfer the record to the upper side.On the other hand, when the requested record does not exist in the cache memory section CA and its use is not prohibited, for example, the director D
The automatic transfer mechanism ADTO of the IRO selects the requesting device (for example, 90) via the adapter APO, reads one track worth of data including the request record as shown by arrow X in the figure, and
Transfer to cache memory section CA, cache memory C
One track worth of data is stored in M, and only necessary requested records are transferred to the upper side as indicated by arrow X' in the figure. A so-called staging operation is performed. Therefore, the records included in the tracks stored in the cache memory CM are subsequently given to the upper side by the cache operation described above. This cache memory CM is generally composed of high-speed semiconductor memory, and its capacity is, for example, 4
If the storage capacity is set to be as large as M bytes to 32 Mbytes, the majority (for example, 80%) of access requests from the upper side will be performed by cache operation, and high-speed operation will be possible.

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

このようなキャッシュメモリCMを有する入出カシステ
ムにおいては、各ディレクタDIRO1DIRIの自動
転送機構ADTO,ADTlの各々は、キャッシュメモ
リCMと上位側との上位側転送と、DASD9とキャッ
シュメモリCMとの下位側転送を行うが、上位側とキャ
ッシュメモリCMとの転送中には、DASD9とキャッ
シュメモリCMとの転送ができず、同様にDASD9と
キャッシュメモリCMとの転送終了までは、上位側とキ
ャンシュメモリCMとの転送ができず高速動作が困難で
あるという問題があった。又、上位側からのアクセス要
求毎にDASD9のアダプタの排他制御メモリMEMO
,MEMIを参照するため、DASD9との下位側パス
が空いていないときには(即ちステージング動作中)、
キャッシュメモリCMにデータがあっても上位側への転
送ができず、一層高速動作が困難であるという問題があ
った。
In an input/output system having such a cache memory CM, each of the automatic transfer mechanisms ADTO and ADTl of each director DIRO1DIRI performs upper side transfer between the cache memory CM and the upper side, and lower side transfer between the DASD9 and the cache memory CM. However, during the transfer between the upper side and the cache memory CM, the transfer between the DASD 9 and the cache memory CM is not possible, and similarly, until the transfer between the DASD 9 and the cache memory CM is completed, the transfer between the upper side and the cache memory CM is not possible. There was a problem in that high-speed operation was difficult because data could not be transferred to and from the computer. In addition, for each access request from the upper side, the exclusive control memory MEMO of the DASD9 adapter is
, MEMI, when the lower path to DASD9 is not free (that is, during staging operation),
Even if there is data in the cache memory CM, it cannot be transferred to the upper side, making it difficult to operate at higher speeds.

本発明は、上位側パスと下位側パスが独立にデータ転送
しうるようにして動作の高速化が可能な入出力制御装置
を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an input/output control device capable of speeding up the operation by allowing the upper path and the lower path to independently transfer data.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は、本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

第1図(A)中、第14図で示したものと同一のものは
同一の記号で示してあり、1a、1bは各々上位側転送
部であり、上位側(CPU/CHL)と接続され、又後
述するキャッシュメモリ部、下位側転送部及びテーブル
ストレッジと接続され、上位側のアクセス要求に従って
上位側へ要求データを転送するもの、2a、2bは各々
下位側転送部であり、DASD9  (のアダプタAP
O1API)及び上位側転送部1a、1b、後述するキ
ャッシュメモリ部3と接続され、DASD9及びキャッ
シュメモリ部3とのステージング動作による転送及び上
位側転送部1a、■bへのデータ転送を行うもの、3は
キャッシュメモリ部であり、4はキャッシュメモリであ
り、上位側転送部1a、1b又は下位側転送部2a、2
bの指示により、キャッシュメモリ部3がキャッシュメ
モリ4のデータ読出し、格納を制御するもの、5はテー
ブルストレンジであり、上位側転送部1a、1bに接続
され、前述のアダプタAPO1APIの排他制御メモI
JMEMO1MEM1に格納された排他制御用テーブル
を格納しておくものである。
In Fig. 1(A), the same parts as those shown in Fig. 14 are indicated by the same symbols, and 1a and 1b are upper-side transfer units, respectively, and are connected to the upper-layer side (CPU/CHL). , which are connected to a cache memory section, a lower transfer section, and a table storage, which will be described later, and transfer requested data to the upper side according to an access request from the upper side. 2a and 2b are lower transfer sections, respectively, and DASD9 adapter ap
O1API), the upper transfer units 1a and 1b, and a cache memory unit 3 to be described later, which performs data transfer by staging operation with the DASD 9 and the cache memory unit 3, and data transfer to the upper transfer units 1a and 1b; 3 is a cache memory section, 4 is a cache memory, and the upper transfer section 1a, 1b or the lower transfer section 2a, 2
The cache memory section 3 controls data reading and storage in the cache memory 4 according to the instruction b, and the table strange 5 is connected to the upper-side transfer sections 1a and 1b, and is connected to the exclusive control memory I of the above-mentioned adapter APO1 API.
It stores the exclusive control table stored in JMEMO1MEM1.

従って、本発明では、従来構成に比し、転送機構が上位
側転送部1a、lbと、下位側転送部2a、2bとに分
割され、いずれの転送部1a、1b、2a、2bともキ
ャッシュメモリ4をアクセスできること及びDASDQ
内のアダプタAPO1APIに存在した排他制御テーブ
ルを入出力制御装置CT内に設けて、これを上位側転送
部1a、1bの管理下においた点が相違している。
Therefore, in the present invention, compared to the conventional configuration, the transfer mechanism is divided into upper transfer units 1a, lb and lower transfer units 2a, 2b, and each transfer unit 1a, 1b, 2a, 2b has a cache memory. 4 and DASDQ
The difference is that the exclusive control table that existed in the adapter APO1API is provided in the input/output control device CT, and is placed under the control of the upper transfer units 1a and 1b.

〔作用〕[Effect]

本発明では、上位側転送部(以下チャネルアダプタCA
と称す)la、1bと下位側転送部(以下デバイスアダ
プタDAと称す)2a、2bとが独立に転送動作できる
ので、例えば、第1図(B)の原理動作説明図の如く、
CPU/CHLのアクセス要求に対しチャネルアダプタ
CAがキャッシュメモリ部3を参照して、キャッシュメ
モリ4に要求データ有り (ヒツトという)と判定し、
キャッシュメモリ4とCP U/CHLとのデータ転送
中には、デバイスアダプタDAは図のt□の間DASD
9との間で他の処理ができ、又、CPU/CHLのアク
セス要求に対し、チャネルアダプタCAがキャッシュメ
モリ部3を参照して、キャッシュメモリ4に要求データ
無しくミスという)と判定し、デバイスアダプタDAを
介しデバイスを選択し、デバイスアダプタDAがステー
ジング動作によって1トラック分のデータをキャッシュ
メモリ4へ転送し、その内の要求データをCPU/CH
Lへ転送後の図のtlの間はフリーとなり、他の処理(
例えば、キャッシュメモリ4とCPU/CHLとのキャ
ッシュ動作)を行うことができ、従って上位側パスと下
位側パスとを独立に並列動作を行うことができる。
In the present invention, the upper transfer unit (hereinafter referred to as channel adapter CA)
Since the lower side transfer units (hereinafter referred to as device adapters DA) 2a and 2b can perform transfer operations independently, for example, as shown in the diagram illustrating the principle operation in FIG. 1(B),
In response to an access request from the CPU/CHL, the channel adapter CA refers to the cache memory section 3 and determines that the requested data is present in the cache memory 4 (referred to as a hit).
During data transfer between cache memory 4 and CPU/CHL, device adapter DA connects DASD to
9, and in response to the access request from the CPU/CHL, the channel adapter CA refers to the cache memory unit 3 and determines that there is no requested data in the cache memory 4, which is called a miss. A device is selected via the device adapter DA, and the device adapter DA transfers one track worth of data to the cache memory 4 through a staging operation, and transfers the requested data to the CPU/CH.
The period tl in the figure after transfer to L is free and other processing (
For example, cache operations between the cache memory 4 and the CPU/CHL can be performed, and therefore, parallel operations can be performed independently on the upper path and the lower path.

〔実施例〕〔Example〕

以下、本発明を実施例により詳細に説明する。 Hereinafter, the present invention will be explained in detail with reference to Examples.

(A)入出力制御装置の第1の実施例の構成の説明。(A) Description of the configuration of the first embodiment of the input/output control device.

第2図は、本発明の第1の実施例全体ブロック図である
FIG. 2 is an overall block diagram of the first embodiment of the present invention.

図中、第1図で示した゛・ものと同一のものは同一の記
号で示してあり、6は共通バスであり、第3図にて構成
を詳述するチャネルアダプタ1a、1b、第4図にて構
成を詳述するデバイスアダプタ2a、2b、第5図にて
構成を詳述するキャッシュメモリ部(以下、キャッシュ
プロセッサCPと称す)3、キャッシュメモリ4及びテ
ーブルストレッジ5を接続し、これらによって共通バス
6を時分割的に使用され、データのやりとりが行われる
ものである。40はドライバ/レシーバであり、キャッ
シュメモリ4からデータを共通バス6へ送出するための
ドライバと、共通バス6からのデータを受けるためのレ
シーバとであり、41はシエアードストレッジコントロ
ール部であり、後述するトラックバッファを共通バス6
を介する他ユニットからのアクセス要求に応じて時分割
的にマルチアクセスするための制御部であり、ポート部
41aと、レジスタ郡41bとを有するもの、42はト
ラックバッファであり、高速大容量のICメモリで構成
され、その容量は例えば4メガバイトから32メガバイ
トの間であり、後述するステージング動作によってDA
SD9のデバイスから読出されたデータをトラック単位
で格納しておくものであり、例えば1トラック分をHA
(ホームアドレス) 、RO−C(レコード0のカウン
ト部)、RO−D(レコードOのデータ部)、以下同様
にしてRn  C−、Rn−Dと格納しておくものであ
る。50はドライバ/レシーバであり、テーブルストレ
ッジ5が共通バス6ヘデータを送出するドライバと共通
バス6からデータを受けるレシーバとであり、51はテ
ーブルストレッジコントロール部であり、他ユニットか
ら共通バス6を介するメモリアクセス要求により後述す
るシェアートチ−プルのアクセス制御を行い、テーブル
の読出し書込みを行うもの、52はECC回路であり、
シェアートチ−プルへのデータ、シエアードテーブルか
らのデータのエラーチェック(パリティチェツク)を行
うもの、53はシュアートテーブルであり、共用する制
御情報を格納するメモリで構成され、選択排他制御のた
め選択テーブル53a、53bと、各部の動作の進行状
況を格納しておく進行状況テーブル53cと、実行中コ
マンドエリア53dとを有しており、選択排他制御テー
ブルは、各デバイスアダプタ2a、2bが使用中である
か否か及びそのデバイスアダプタ2a、2bの制御情報
を格納するモジュール選択テーブル53aとDASD9
の各デバイス90〜9nが使用中であるか否か及びリザ
ーブされているか、ヒツト選択中かを示すデバイス選択
テーブル53bとで′構成されている。従って、この実
施例では、両チャネルアダプタ1a、1bはいずれのデ
バイスアダプタ2a、2bをも選択してDAS’D9の
デバイスをアクセスでき且つ各チャネルアダプタ1a、
1bはデバイスアダプタ2a12bの介在なしに共通バ
ス6を介しキャッシュプロセッサ3の制御の元にキャッ
シュメモリ4との間でデータ転送でき、同様に各デバイ
スアダプタ2a、2bもチャネルアダプタ1a、1bの
介在なしに共通バス6を介しキャッシュプロセッサ3の
制御の元にキャッシュメモリ4との間でデータ転送でき
る。又、共通バス6は時分割的に使用され、チャネルア
ダプタ1a、1b、デバイスアダプタ2a、2bは各々
キャッシュメモリ4とのデータ転送を独立に且つ時分割
的に行うことができる。
Components that are the same as those shown in FIG. 1 are indicated by the same symbols, and 6 is a common bus. Device adapters 2a and 2b, the configuration of which will be described in detail in FIG. The common bus 6 is used in a time-division manner to exchange data. 40 is a driver/receiver, which is a driver for sending data from the cache memory 4 to the common bus 6, and a receiver for receiving data from the common bus 6; 41 is a shared storage control unit; The track buffer described later is connected to the common bus 6.
This is a control unit for time-divisionally multi-accessing in response to access requests from other units via the controller, and has a port unit 41a and a register group 41b, and 42 is a track buffer, which is a high-speed, large-capacity IC. It is composed of memory, and its capacity is, for example, between 4 MB and 32 MB, and the DA is
Data read from the SD9 device is stored in track units. For example, one track is stored in the HA.
(home address), RO-C (count section of record 0), RO-D (data section of record O), and the following are similarly stored as Rn C- and Rn-D. 50 is a driver/receiver, which is a driver for the table storage 5 to send data to the common bus 6, and a receiver for receiving data from the common bus 6; 51 is a table storage control section, which allows the table storage 5 to send data to the common bus 6; 52 is an ECC circuit that controls access to shared triples (described later) based on memory access requests and reads and writes tables;
53 is a sure table that performs error checking (parity check) of data to the shared triple and data from the shared table, and is composed of a memory that stores shared control information. It has tables 53a and 53b, a progress table 53c that stores the progress status of the operation of each part, and an executing command area 53d, and the selection exclusive control table indicates which device adapters 2a and 2b are currently using. module selection table 53a and DASD 9 that store control information of the device adapters 2a and 2b.
The device selection table 53b indicates whether each of the devices 90 to 9n is in use, reserved, or selected as a hit. Therefore, in this embodiment, both channel adapters 1a, 1b can select any device adapter 2a, 2b to access the device of DAS'D9, and each channel adapter 1a, 1b can access the device of DAS'D9.
1b can transfer data to and from the cache memory 4 under the control of the cache processor 3 via the common bus 6 without the intervention of the device adapters 2a and 12b, and similarly, each device adapter 2a and 2b can also transfer data without the intervention of the channel adapters 1a and 1b. Data can be transferred to and from the cache memory 4 via the common bus 6 under the control of the cache processor 3. Further, the common bus 6 is used in a time-division manner, and the channel adapters 1a, 1b and device adapters 2a, 2b can each transfer data to and from the cache memory 4 independently and in a time-division manner.

次に、チャネルアダプタ(CA)la、■bの構成につ
いて説明する。
Next, the configuration of channel adapters (CA) la and b will be explained.

第3図は第2図構成のチャネルアダプタ(上位側転送部
)の一実施例ブロック図である。図中、10.15はド
ライバ/レシーバであり、ドライバ/レシーバ10は共
通バス6とのコマンド/データのやりとりのためのもの
、ドライバ/レシーバ15はCPU/C)(Lとのコマ
ンド/データのやりとりのためのものであり、1)はバ
ス制御部であり、必要に応じて共通バス6の支配権を獲
得し共通バス6との応答の制御のためのもの、12はデ
ータバッファであり、ドライバ/レシーバ10.15か
らのコマンド/データを一時格納しておくもの、13は
データバッファコントロール部であり、バッファリング
を含むデータ転送を行い、データバッファ12を制御す
るもの、14はチャネルインターフェイス制御部であり
、CPUのチャネル(CHL)とコマンドデータのやり
とりのためのチャネルインターフェイスの応答制御のた
めのもの、16はマイクロプロセッサ(以下MPUと称
す)であり、CPU/CHLからのコマンド/データに
応じて後述するキャッシュ動作、デバイスアダプタ選択
動作等をプログラムによって実行するもの、17はコン
トロールストレッジであり、MPU16の動作のため必
要な制御プログラム(マイクロインストラクション)、
パラメータ等を格納してお(もの、18はMPUバスで
あり、MPU16がコントロールストレッジ17、チャ
ネルインターフェイスコントロール部14、チー タバ
ッファコントロール部13及びバス制御部1)とコマン
ド/データのやりとりを行うものであり、19a、19
b、19cは内部バスであり、各々ドライバ/レシーバ
15とチャネルインターフェイスコントロール部14、
チャネルインターフェイスコントロール部14とデータ
バッファコントロール部13、ドライバレシーバ10と
データバッファコントロール部13及びバス制御部1)
を接続するためのものである。
FIG. 3 is a block diagram of an embodiment of the channel adapter (upper transfer unit) configured in FIG. 2. In the figure, 10.15 is a driver/receiver, the driver/receiver 10 is for exchanging commands/data with the common bus 6, and the driver/receiver 15 is for exchanging commands/data with the CPU/C) (L). 1) is a bus control unit which acquires control of the common bus 6 as necessary and controls responses to and from the common bus 6; 12 is a data buffer; Driver/receiver 10. 13 is a data buffer control unit that temporarily stores commands/data from 15. 13 is a data buffer control unit that performs data transfer including buffering and controls the data buffer 12. 14 is a channel interface control unit. 16 is a microprocessor (hereinafter referred to as MPU), which controls the response of the channel interface for exchanging command data with the CPU channel (CHL). 17 is a control storage which executes a cache operation, a device adapter selection operation, etc., which will be described later, according to the program; a control program (microinstruction) necessary for the operation of the MPU 16;
It stores parameters, etc. (18 is an MPU bus, and the MPU 16 exchanges commands/data with the control storage 17, channel interface control section 14, cheetah buffer control section 13, and bus control section 1). and 19a, 19
b and 19c are internal buses, which respectively include the driver/receiver 15 and the channel interface control unit 14;
Channel interface control section 14, data buffer control section 13, driver receiver 10, data buffer control section 13, and bus control section 1)
It is for connecting.

第3図構成の基本的動作を説明すると、CPU/CHL
からのコマンド/データはドライバ/レシーバ15を介
し内部バス19aよりチャネルインターフェイスコント
ロール部14へ与エラレ、MPUバス18を介しMPU
16へ通知されるとともに内部バス19bを介しデータ
バッファコントロール部13よりデータバッファ12に
格納される。又、共通バス6からのコマンド/データは
ドライバ/レシーバ10を介し内部バス19cよリバス
制御部1)及びデータバッファコントロール部13へ与
えられ、バス制御部1)よりMPUバス18を介し、M
PU16へ通知されるとともにデータバッファ12に格
納される。MPU16はMPUバス18を介しデータバ
ッファコントロール部13よりデータバッファ12に格
納されたCPU/CHL及び共通バス6から与えられた
コマンド/データを読出し、解析を行い必要な処理を実
行する。
To explain the basic operation of the configuration in Figure 3, the CPU/CHL
Commands/data from the internal bus 19a are sent to the channel interface control section 14 via the driver/receiver 15, and then sent to the MPU via the MPU bus 18.
16 and stored in the data buffer 12 from the data buffer control section 13 via the internal bus 19b. In addition, commands/data from the common bus 6 are given to the internal bus 19c via the driver/receiver 10 to the rebus control section 1) and the data buffer control section 13, and from the bus control section 1) via the MPU bus 18 to the MPU bus 18.
The information is notified to the PU 16 and stored in the data buffer 12. The MPU 16 reads commands/data supplied from the CPU/CHL stored in the data buffer 12 and the common bus 6 from the data buffer control section 13 via the MPU bus 18, analyzes them, and executes necessary processing.

一方、CP U/CHLヘコマンド/データを送出する
には、MPU16がチャネルインターフェイスコントロ
ール部14にMPUバス18を介しコマンド/データを
送り、又はデータバッファコントロール部13をMPU
バス18を介し起動してデータハ′ツファ12内のコマ
ンドデータをチャネルインターフェイスコントロール部
14に送って、内部ハス19aを介しドライバ/レシー
バ15よりcpU/CHLへ送出する。又、共通バス6
ヘコマント/データを送出するにはMPU16がMPU
バス18を介しバス制御部1)にバス支配権獲得を命じ
、バス制御部1)が共通バス6の支配権を獲得すると、
コマンド/データをデータバッファコントロール部13
がMPU16の指示でデータバッファ12より読出しド
ライバ/レシーバ10より共通バス6へ送出する。
On the other hand, in order to send commands/data to the CPU/CHL, the MPU 16 sends commands/data to the channel interface control unit 14 via the MPU bus 18, or the data buffer control unit 13 is sent to the MPU
The command data in the data buffer 12 is activated via the bus 18 and sent to the channel interface control unit 14, and then sent from the driver/receiver 15 to the cpU/CHL via the internal bus 19a. Also, common bus 6
Hecomant/To send data, MPU 16 is MPU
When the bus controller 1) is commanded to acquire bus control via the bus 18 and the bus controller 1) acquires control of the common bus 6,
Command/data to data buffer control section 13
is read from the data buffer 12 and sent to the common bus 6 from the driver/receiver 10 under the instruction of the MPU 16.

以上を組合せると、CPU/CHLからのデータを共通
バスに送出すること或いはその逆も可能となる。
Combining the above makes it possible to send data from the CPU/CHL to a common bus and vice versa.

次に、デバイスアダプタ(DA)2a、2bの構成につ
いて説明する。
Next, the configuration of the device adapters (DA) 2a and 2b will be explained.

第4図は第2図構成のデバイスアダプタ(下位側転送部
)の一実施例ブロック図である。図中、20.25はド
ライバ/レシーバであり、ドライバ/レシーバ20は共
通バス6とのコマンド/データのやりとりのためのもの
、ドライバ/レシーバ25はDASD9のアダプタとの
コマンド/データのやりとりのためのものであり、21
はバス制御部であり、共通バス6の支配権を獲得し、共
通バス6との応答の制御のためのもの、22はデータバ
ッファであり、ドライバ/レシーバ20.25からのコ
マンド/データを一時格納しておくもの、23はデータ
バッファコントロール部であり、バッファリングを含む
データ転送を行い、データバッファ22を制御するもの
、24はアダプタインターフェイス制御部であり、DA
SD9のアダプタとコマンドデータのやりとりのための
アダプタインターフェイスの応答制御のためのもの、2
6はマイクロプロセッサ(以下MPUと称す)であり、
チャネルアダプタla、lbの選択動作に応してデバイ
スを制御し、ステージング動作及びライトキャッシュ動
作等をプログラムによって実行するもの、27はコント
ロールストレッジであり、MPU26の動作のため必要
な制御プログラム(マイクロインストラクション)、パ
ラメータ等を格納しておくもの、28はMPUバスであ
り、MPU26がコントロールストレッジ27、アダプ
タインターフェイスコントロール部24、データバッフ
ァコントロール部23及びバス制御部21とコマンド/
データのやりとりを行うものであり、29 a、 29
 b、 29 cは内部バスであり、各々ドライバ/レ
シーバ25とアダプタインターフェイスコントロール部
24、アダプタインターフェイスコントロール部24と
データバッファコントロール部23、ドライバレシーバ
2oとデータバッファコントロール部23及びバス制御
部21を接続するためのものである。
FIG. 4 is a block diagram of an embodiment of the device adapter (lower side transfer section) configured in FIG. 2. In the figure, 20.25 is a driver/receiver, the driver/receiver 20 is for exchanging commands/data with the common bus 6, and the driver/receiver 25 is for exchanging commands/data with the adapter of DASD 9. 21
22 is a bus control unit that acquires control of the common bus 6 and controls responses to the common bus 6. 22 is a data buffer that temporarily receives commands/data from the driver/receiver 20. 23 is a data buffer control unit that performs data transfer including buffering and controls the data buffer 22; 24 is an adapter interface control unit;
For response control of the adapter interface for exchanging command data with the SD9 adapter, 2
6 is a microprocessor (hereinafter referred to as MPU);
27 is a control storage that controls the device according to the selection operation of channel adapters la and lb and executes staging operation, write cache operation, etc. by a program. ), parameters, etc. are stored, and 28 is an MPU bus, in which the MPU 26 communicates with a control storage 27, an adapter interface control section 24, a data buffer control section 23, and a bus control section 21, and command/
It is used to exchange data, 29 a, 29
b and 29c are internal buses, which connect the driver/receiver 25 and the adapter interface control section 24, the adapter interface control section 24 and the data buffer control section 23, and the driver receiver 2o, the data buffer control section 23, and the bus control section 21, respectively. It is for the purpose of

第4図構成の基本的動作を説明すると、DASD9(の
アダプタ)からのコマンド/データはドライバ/レシー
バ25を介し内部バス29aよりアダプタインターフェ
イスコントロール部24へ与えられ、MPUバス28を
介しMPU26へ通知されるとともに内部バス29bを
介しデータバッファコントロール部23よりデータバッ
ファ22に格納される。又、共通バス6からコマンド/
データはドライバ/レシーバ20を介し内部バス29c
よりバス制御部21及びデータバッファコントロール部
23へ与えられ、バス制御部21よりMPUバス28を
介し、MPU26へ通知されるとともにデータバッファ
22に格納される。MPU26はMPUバス28を介し
データバッファコントロール部23よりデータバッファ
22に格納されたコマンド/データ及び共通バス6から
与えられたコマンド/データを読出し、解析を行い必要
な処理を実行する。
To explain the basic operation of the configuration shown in FIG. 4, commands/data from the DASD 9 (its adapter) are given to the adapter interface control unit 24 from the internal bus 29a via the driver/receiver 25, and are notified to the MPU 26 via the MPU bus 28. At the same time, the data is stored in the data buffer 22 from the data buffer control section 23 via the internal bus 29b. Also, from the common bus 6 command/
Data is transferred via the driver/receiver 20 to the internal bus 29c.
The data is given to the bus control unit 21 and the data buffer control unit 23 from the bus control unit 21 via the MPU bus 28, and is notified to the MPU 26 and stored in the data buffer 22. The MPU 26 reads commands/data stored in the data buffer 22 and commands/data applied from the common bus 6 from the data buffer control unit 23 via the MPU bus 28, analyzes them, and executes necessary processing.

一方、DASD9 (のアダプタ)へコマンド/データ
を送出するには、MPU26がアダプタインターフェイ
スコントロール部24にMPUバス28を介しコマンド
/データを送り、又はデータバッファコントロール部2
3をMPUバス28を介し起動してデータバッファ22
内のコマンドデータをアダプタインターフェイスコント
ロール部24に送って、内部バス29aを介しドライバ
/レシーバ25よりDASD9  (のアダプタ)へ送
出する。又、共通バス6ヘコマンド/データを送出する
にはMPU26がMPUバス28を介しバス制御部21
にハス支配権獲得を命じ、バス制御部21が共通ハス6
の支配権を獲得すると、コマンド/データをデータバッ
ファコントロール部23がMPU26の指示でデータバ
ッファ22より読出しドライバ/レシーバ20より共通
バス6へ送出する。
On the other hand, in order to send commands/data to the DASD 9 (adapter), the MPU 26 sends commands/data to the adapter interface control section 24 via the MPU bus 28, or the MPU 26 sends commands/data to the adapter interface control section 24 via the MPU bus 28,
3 via the MPU bus 28 and the data buffer 22
The command data in the DASD 9 is sent to the adapter interface control section 24, and sent from the driver/receiver 25 to the DASD 9 (an adapter thereof) via the internal bus 29a. Also, in order to send commands/data to the common bus 6, the MPU 26 sends commands/data to the bus control unit 21 via the MPU bus 28.
The bus control unit 21 orders the common lotus 6 to acquire control over the lotus.
When control is acquired, the data buffer control unit 23 reads commands/data from the data buffer 22 under instructions from the MPU 26 and sends them to the common bus 6 from the driver/receiver 20 .

次に、キャッシュプロセッサ3の構成について説明する
Next, the configuration of the cache processor 3 will be explained.

第5図は第2図構成におけるキャッシュプロセッサ3の
一実施例ブロック図である。
FIG. 5 is a block diagram of an embodiment of the cache processor 3 in the configuration shown in FIG.

lul中、30はドライバ/レシーバであり、共通ハス
6とのコマンド/データのやりとりの′ためのもの、3
1はバス制御部であり、共通バス6の支配権を獲得し、
共通バス6との応答制御のためのもの、32はキャッシ
ュコントロールテーブルであり、キャッシュメモリ制御
のための情報を格納するメモリで構成され、キャッシュ
メモリ4に格納されているデータのデバイス名、トラッ
ク名を格納するハフシュテーブル3aと、キャッシュメ
モリ4に格納を禁止された(これをno cacheと
いう)デバイス名及びドック名を格納するエクステント
テーブル32c及びトラックバッファ42のスペースを
割当てるためのLRUテーブル32bとを有するもの、
33はキャッシュコントロールアクセレータ部であり、
キャンシュコントロールテーブル32のハツシュテーブ
ル32a及びエクステントテーブル32cの捜索を高速
化するためのハードウェア、34はマイクロプロセッサ
(以下MPUと称す)であり、ハツシュテーブル32a
及びエクステントテーブル32Cの捜索、更新処理や、
キャッシュメモリ4のポート割当て、アロケート (キ
ャッシュメモリ4のスペース割当て)制御を行うもの、
35はコントロールストレッジであり、MPU34の動
作のための制御プログラム(マイクロインストラクショ
ン)、パラメータ等を格納しておくもの、36はMPU
バスでありMPU26がバス制御部31、キャッシュコ
ントロールアクセレータ部33、キャッシュコントロー
ルテーブル32及びコントロールストレッジ35とコマ
ンド/データのやりとりを行うもの、37a、37bは
内部バスであり、各々キャッシュコントロールアクセレ
ータ部33とキャッシュコントロールテーブル32、ド
ライバ/レシーバ30とバス制御部31とを接続するた
めのものである。
30 is a driver/receiver for exchanging commands/data with the common lotus 6;
1 is a bus control unit that acquires control over the common bus 6;
A cache control table 32 is used for response control with the common bus 6, and is composed of a memory that stores information for cache memory control, and includes device names and track names of data stored in the cache memory 4. an extent table 32c for storing device names and dock names that are prohibited from being stored in the cache memory 4 (this is referred to as no cache), and an LRU table 32b for allocating space in the track buffer 42. those with
33 is a cache control accelerator section;
Hardware for speeding up the search of the hash table 32a and extent table 32c of the cache control table 32, 34 is a microprocessor (hereinafter referred to as MPU);
and search and update processing of the extent table 32C,
Controls port allocation and allocation (space allocation of cache memory 4) for cache memory 4,
35 is a control storage that stores control programs (micro instructions), parameters, etc. for the operation of the MPU 34; 36 is a control storage for the MPU 34;
37a and 37b are internal buses through which the MPU 26 exchanges commands/data with the bus control section 31, cache control accelerator section 33, cache control table 32, and control storage 35; This is for connecting the cache control table 32, driver/receiver 30, and bus control section 31.

第5図構成の基本的動作を説明すると、共通バス6から
のコマンド/データ(チャネルアダプタCAからの判定
要求、ポート要求、キャッシュアロケート要求、デバイ
スアダプタDAからの終了通知)は、バス制御部31の
内部バス37bを介し与えられ、更にMPUバス36を
介し、MPU34へ与えられる。MPU34は、与えら
れたコマンド/データを解析し、ハツシュテーブル32
a及びエクステントテーブル32Cの捜索(アクセレー
タ部33に命じてバーシュテーブル32a及びエクステ
ントテーブル32cを高速捜索)処理や、バーシュテー
ブル32aの更新処理、キャッシュメモリ4のポート、
レジスタ割当て処理、LRUテーブル32bを用いたア
ロケート処理を行い、その結果をMPUバス36を介し
バス制御部31へ与え、内部バス37bを介しドライバ
/レシーバ30より共通バス6へ送出する。
To explain the basic operation of the configuration in FIG. 5, commands/data from the common bus 6 (judgment request from channel adapter CA, port request, cache allocation request, termination notification from device adapter DA) are sent to the bus control unit 31. The signal is supplied to the MPU 34 via the internal bus 37b, and is further supplied to the MPU 34 via the MPU bus 36. The MPU 34 analyzes the given command/data and creates a hash table 32.
a and the extent table 32C (instructing the accelerator unit 33 to quickly search the versh table 32a and extent table 32c), updating the versh table 32a, the port of the cache memory 4,
Register allocation processing and allocation processing using the LRU table 32b are performed, and the results are given to the bus control unit 31 via the MPU bus 36, and sent from the driver/receiver 30 to the common bus 6 via the internal bus 37b.

(B)入出力制御装置の全体の動作説明。(B) Explanation of the overall operation of the input/output control device.

次に、第2図乃至第5図実施例構成の全体動作について
第6図の全体動作図により説明する。
Next, the overall operation of the embodiment configuration shown in FIGS. 2 to 5 will be explained with reference to the overall operation diagram shown in FIG. 6.

先づ、CPUから発行されるコマンドチェインを次のよ
うに仮定する。
First, assume that the command chain issued from the CPU is as follows.

eek Set File Mask Set  Sector 1?ead  Data  /Write  KD■C
PCIからチャネルCHLを介しチャネルアダプタCA
に5eek ”、SetFM”へ“Set 5ectO
r”が発行され、チャネルアダプタCAではデータハソ
ファ12に格納される。
eek Set File Mask Set Sector 1? ead Data /Write KD■C
PCI to channel adapter CA via channel CHL
5eek”, SetFM” to “Set 5ectO”
r'' is issued and stored in the data storage sofa 12 in the channel adapter CA.

■チャネルアダプタCAはSet 5ector ”コ
マンドまで受けると、そのMPU16の判定により、共
通ハス6を介しキャッシュプロセッサ(CP)3へ受取
ったコマンドに含まれるアクセス要求トラックがキャッ
シュメモリ4上に存在するか否かの判定要求を発する。
■When the channel adapter CA receives up to the "Set 5ector" command, the MPU 16 determines whether or not the access request track included in the command received to the cache processor (CP) 3 via the common lotus 6 exists on the cache memory 4. issue a request for judgment.

キャッシュプロセッサ3では、MPU34が判定要求を
解読するとキャッシュコントロールアクセレータ部33
に命じてキャッシュコントロールテーブル32のバーシ
ュテーブル32a及びエクステントテーブル32Cを高
速捜索し、アクセス要求トランクがキャッシュメモリ4
のトランクバッファ42に存在するか(これを「旧し、
ヒツト」という)存在しないか(これをrMiss、ミ
ス」という)又は前述の[ノーキ中ソシ:x、 J  
(no cache)かを調べ、MPU34に通知し、
MPU34は共通バス6よりチャネルアダプタCAにこ
れを通知する。
In the cache processor 3, when the MPU 34 decodes the determination request, the cache control accelerator unit 33
The cache table 32a and extent table 32C of the cache control table 32 are searched at high speed, and the access request trunk is located in the cache memory 4.
whether it exists in the trunk buffer 42 of the
(rMiss, Miss) or the above-mentioned [Noki middle class: x, J
(no cache), and notifies the MPU 34.
The MPU 34 notifies the channel adapter CA of this via the common bus 6.

■チャネルアダプタCAでは、MPU16が通知された
判定結果を調べ、「ヒツト」ならステップ■へ、「ミス
」ならステップ■へ、「ノーキャッシュ」ならステップ
■へ進む。
(2) In the channel adapter CA, the MPU 16 examines the notified determination result, and if it is a "hit", proceed to step (2), if it is a "miss", proceed to step (2), and if "no cache", proceed to step (2).

■「ミス」の場合には、チャネルアダプタCAのMPU
16はチャネルインターフェイスコントロール部14を
介しドライバ/レシーバ15よりチャネルCHLにチャ
ネルエンド(CE)ステータスを報告する。
■In case of "mistake", the MPU of channel adapter CA
16 reports the channel end (CE) status from the driver/receiver 15 to the channel CHL via the channel interface control unit 14.

0次にチャネルアダプタCAは、第7図にて後述する空
きデバイスアダプタDA及び要求デバイスを選択するD
A及びデバイス選択を行う。
0 Next, the channel adapter CA selects an empty device adapter DA and a request device, which will be described later in FIG.
A and device selection.

更に空きデバイスアダプタDA及び要求デバイスの選択
が成功すると、第8図にて後述するステージング動作を
行い、終了する。ステージング動作は要求デバイスから
要求レコードを含む1トラック分のデータをキャッシュ
メモリ4に転送することと、要求レコードを要求したチ
ャネルアダプタCAへ転送するものである。
Furthermore, if the free device adapter DA and the requested device are successfully selected, a staging operation, which will be described later in FIG. 8, is performed and the process ends. The staging operation is to transfer one track worth of data including the requested record from the requesting device to the cache memory 4, and to transfer the requested record to the requesting channel adapter CA.

■一方、「ヒント」の場合には、デバイスアダプタDA
及びデバイスの選択は必要ないので、チャネルアダプタ
CAのMPU16は、チャネルインターフェイスコント
ロール部14を介しドライバ/レシーバ15よりチャネ
ルCHLにチャネルエン1°(CE)ステータスと、デ
バイスエンド(DE)ステータスとを報告する。
■On the other hand, in the case of "hint", device adapter DA
Since it is not necessary to select a device and a device, the MPU 16 of the channel adapter CA reports the channel end 1° (CE) status and device end (DE) status to the channel CHL from the driver/receiver 15 via the channel interface control unit 14. do.

■次に、チャネルアダプタCAは、第9図にて後述する
要求デバイスがリザーブ(Reserve )中かを調
べるヒント選択動作を行う。リザーブとは、他のCPU
がそのデバイスのアクセスを禁止するものである。
(2) Next, the channel adapter CA performs a hint selection operation to check whether the requesting device is in reserve (described later in FIG. 9). Reserve means other CPU
prohibits access to that device.

更に、要求デバイスがリザーブ中でなくヒツト選択が成
功すると、第10図にて後述するライトキャッシュ動作
又は第1)図にて後述するリードキャ・7シユ動作を行
い、終了する。ライトキャッシュ動作は、キャッシュメ
モリ4の要求レコードの内容を書替えるとともに当該レ
コードを格納しているデバイスを選択し、そのレコード
の内容も書替えるものであり、リードキャッシュ動作は
、キャッシュメモリ4の要求レコードの内容を読出すも
のである。
Furthermore, if the requesting device is not in reserve and the hit selection is successful, a write cache operation (described later in FIG. 10) or a read cache operation (described later in FIG. 1) is performed, and the process ends. The write cache operation rewrites the contents of the requested record in the cache memory 4, selects the device that stores the record, and rewrites the contents of that record, and the read cache operation rewrites the contents of the requested record in the cache memory 4. This is to read the contents of a record.

■「ノーキャッシュ」の場合には、チャネルアダプタC
AのMPU16は、「ミス」の場合と同様チャネルイン
ターフェイスコントロール部14を介しドライバ/レシ
ーバ15よりチャネルCHLにチャネルエンド(CE)
ステータスを報告する。
■In the case of "no cache", channel adapter C
The MPU 16 of A sends a channel end (CE) signal to the channel CHL from the driver/receiver 15 via the channel interface control unit 14 as in the case of "miss".
Report status.

0次に、チャネルアダプタCAは、ステップ■と同様に
第7図にて後述するDA及びデバイス選択を行う。
0 Next, the channel adapter CA performs DA and device selection, which will be described later in FIG. 7, similarly to step (2).

更に空きデバイスアダプタDA及び要求デバイスの選択
が成功すると第12図にて後述する通常のリード又はラ
イト動作を行い、終了する。
Furthermore, if the free device adapter DA and the requested device are successfully selected, a normal read or write operation, which will be described later with reference to FIG. 12, is performed and the process ends.

次に、DA/デバイス選択動作、ステージング動作、ヒ
ツト選択動作、ライト又はリードキャッシュ動作、通常
のり−ド/ライト動作について説明する。
Next, the DA/device selection operation, staging operation, hit selection operation, write or read cache operation, and normal read/write operation will be explained.

(C)DA及びデバイス選択動作の説明。(C) Description of DA and device selection operation.

第7図はDA及びデバイス選択動作の説明図である。FIG. 7 is an explanatory diagram of the DA and device selection operation.

(C−1)チャネルアダプタCAは、そのMPU16の
指示によって共通ハス6を介しテーブルストレッジ5の
モジュールテーブル53aを続出ず。モジュールテーブ
ル53aには、各デバイスアダプタ2a、2bが使用中
かのフラグが格納されている。モジュールテーブル53
aの内容は、共通バス6を介しドライバ/レシーバ50
よりチャネルアダプタCAより与えられた指示に従って
テーブルストレッジコントロール部51によって読出さ
れ、ドライバ/レシーバ50を介し共通バス6からチャ
ネルアダプタCAに与えられる。
(C-1) The channel adapter CA does not sequentially output the module table 53a of the table storage 5 via the common lotus 6 according to instructions from the MPU 16. The module table 53a stores flags indicating whether each device adapter 2a, 2b is in use. module table 53
The contents of a are transmitted to the driver/receiver 50 via the common bus 6.
The data is read out by the table storage control section 51 according to an instruction given by the channel adapter CA, and is given to the channel adapter CA from the common bus 6 via the driver/receiver 50.

(C−2)チャネルアダプタCAでは、そのMPU16
がモジュールテーブル53aの内容を調べ空きデバイス
アダプタDAがあるかを富周べる。
(C-2) In channel adapter CA, its MPU16
checks the contents of the module table 53a to see if there is a free device adapter DA.

空きデバイスアダプタDAがなければ、デバイスアダプ
タDAが空きとなるまでビジー(busy)解除待ちと
なる。
If there is no free device adapter DA, the device waits for release from the busy state until the device adapter DA becomes free.

(C−3)空きデバイスアダプタDAがあると、チャネ
ルアダプタCAは、そのMPU16の指示によって共通
バス6を介しテーブルストレッジ5のデバイステーブル
53bを読出す。デバイステーブル53bには、DAS
D9の各デバイス90〜9n(第14図参照)が使用中
か否かのフラグと、リザーブ中か否かのフラグと、ヒツ
ト選択中か否かのフラグとが格納されている。デバイス
テーブル53bの内容は、共通バス6を介しドライバ/
レシーバ50よりチャネルアダプタCAより与えられた
指示に従ってテーブルストレッジコントロール部51に
よって読出され、ドライバ/レシーバ50を介し共通バ
ス6からチャネルアダプタCAに与えられる。
(C-3) If there is a free device adapter DA, the channel adapter CA reads the device table 53b of the table storage 5 via the common bus 6 according to the instruction from the MPU 16. The device table 53b includes DAS
A flag indicating whether each device 90 to 9n (see FIG. 14) of D9 is in use, a flag indicating whether it is in reserve, and a flag indicating whether hit selection is in progress are stored. The contents of the device table 53b are transmitted to the driver/driver via the common bus 6.
The data is read by the table storage control section 51 according to an instruction given by the channel adapter CA from the receiver 50, and is given to the channel adapter CA from the common bus 6 via the driver/receiver 50.

(C−4)チャネルアダプタCAでは、そのMPU16
がデバイステーブル53bの内容を調べ、CP U/C
HLが要求したデバイスがリザーブ中か否か及び他のチ
ャネルアダプタによって選択中(使用中)かを調べる。
(C-4) In channel adapter CA, its MPU16
examines the contents of the device table 53b, and the CPU
Check whether the device requested by the HL is reserved and selected (used) by another channel adapter.

要求したデバイスがリザーブ中又は選択中なら、リザー
ブが解除又は選択が解除されるまでそのアクセス要求を
ビジー解除待ち状態となる。
If the requested device is being reserved or selected, the access request is placed in a debusy wait state until the reservation is released or the selection is released.

(C−5)要求したデバイスがリザーブされてなくそし
て選択されてないと、チャネルアダプタCAでは、MP
U16が共通バス6を介しコントロールストレッジ5の
モジュールテーブル53a及びデバイステーブル53b
の使用フラグの更新登録を行う。即ち、モジュールテー
ブル53aの選択したデバイスアダプタDAの使用フラ
グを立て、且つデバイステーブル53bの要求したデバ
イスの使用フラグを立てる。
(C-5) If the requested device is not reserved and selected, channel adapter CA
U16 connects the module table 53a and device table 53b of the control storage 5 via the common bus 6.
Update and register the usage flag. That is, the usage flag of the selected device adapter DA in the module table 53a is set, and the usage flag of the requested device is set in the device table 53b.

(C−6)次に、チャネルアダプタCAは、共通バス6
を介し選択したデバイスアダプタDAに指示して要求し
たデバイス90〜9nに動作中かの問い合せを行う。各
デバイス90〜9nは一定期間使用されないと、磁気デ
ィスクと磁気ヘッドが(つついてしまい動作が良好に行
われなくなるため、デバイス90〜9n自体の制御でシ
ーク動作を行うパトロールシーケンス等を行う場合があ
る。このパトロールシーケンス中か否かを調べ、デバイ
ス動作中なら、デバイス動作が解除されるまでビジー解
除待ちとなる。
(C-6) Next, the channel adapter CA connects the common bus 6
The device adapter DA instructs the selected device adapter DA to inquire whether the requested devices 90 to 9n are in operation. If each device 90 to 9n is not used for a certain period of time, the magnetic disk and magnetic head will stick together and will not operate properly. Therefore, a patrol sequence etc. in which a seek operation is performed under the control of the devices 90 to 9n themselves may be performed. Yes, it is checked whether this patrol sequence is in progress, and if the device is in operation, it waits for the busy state to be released until the device operation is canceled.

(C−7)デバイスが動作中でないと又はなくなると、
チャネルアダプタCAは選択したデバイスアダプタDA
及び要求デバイスへのパスを獲得し、実選択が成功し、
DA及びデバイス選択を終了する。
(C-7) If the device is not in operation or disappears,
Channel adapter CA is the selected device adapter DA
and obtains a path to the requesting device, the actual selection is successful,
Finish DA and device selection.

(D)ステージング動作の説明。(D) Description of staging operations.

第8図はステージング動作の説明図である。FIG. 8 is an explanatory diagram of the staging operation.

(D−1)前述の如く、チャネルアダプタCAはデバイ
スアダプタDA及び要求デバイスの選択が成功すると、
チャネルアダプタCAでは、そのMPU16が共通バス
6を介してキャッシュプロセッサ(CP)3に対し、キ
ャッシュメモリ4、即ち、トラックバッファ42のスペ
ース割当てであるキャッシュアロケート要求を発行する
(D-1) As mentioned above, when the channel adapter CA successfully selects the device adapter DA and the requesting device,
In the channel adapter CA, the MPU 16 issues a cache allocation request to the cache processor (CP) 3 via the common bus 6 to allocate space in the cache memory 4, that is, the track buffer 42.

(D−2)キャッシュプロセッサ(CP)3では、MP
U34がこれを解読し、アロケート処理を行い、キャッ
シュコントロールテーブル32のLRUテーブル32a
の内容を調べ、LRUアルゴリズムによってトラックバ
ッファ42のスペースを確保し、そのスペースを示すア
ロケート情報を共通バス6を介しテーブルストレッジ5
へ与える。
(D-2) In cache processor (CP) 3, MP
The U34 decodes this, performs allocation processing, and stores the LRU table 32a of the cache control table 32.
The contents of the track buffer 42 are checked using the LRU algorithm, and allocation information indicating the space is sent to the table storage 5 via the common bus 6.
give to

テーブルストレッジ5では、ドライバ/レシーバ50を
介しテーブルストレッジコントロール部51がこれを受
け、シェアートチ−プル53の進行状況テーブル53c
に格納しておく。
In the table storage 5, the table storage control unit 51 receives this via the driver/receiver 50, and the progress status table 53c of the shared triple 53
Store it in .

(D−3)次に、チャネルアダプタCAは、そのMPU
16が共通バス6を介しテーブルストレッジ5にステー
ジング動作の内容を示す動作情報ICWを与える。動作
情報■CWはステージングコマンド、コマンド発行パス
(チャネルアダプタ)、シークアドレス、セクター情報
等で構成され、テーブルストレッジ5では、ドライバ/
レシーバ50を介しテーブルストレッジコントロール部
51がこれを受け、シェアートチ−プル53のコマンド
エリア53dに格納する。
(D-3) Next, the channel adapter CA
16 provides operation information ICW indicating the contents of the staging operation to the table storage 5 via the common bus 6. Operation information ■CW consists of staging command, command issuing path (channel adapter), seek address, sector information, etc. In table storage 5, driver/
The table storage control unit 51 receives this via the receiver 50 and stores it in the command area 53d of the share triple 53.

(D−4)次に、チャネルアダプタCAは、そのMPU
16が共通バス6を介し選択したデバイスアダプタDA
にテーブルストレッジ5の動作情報rcwのアドレスを
含む動作開始指示を発する。
(D-4) Next, the channel adapter CA
16 selects the device adapter DA via the common bus 6
Then, an operation start instruction including the address of the operation information rcw of the table storage 5 is issued.

(D−5)これによって、デバイスアダプタDAは共通
バス6を介しテーブルストレッジ5のシエアードテーブ
ル53の当該アドレスの動作情報ICWを読出し、DA
SD9の前述の要求デバイスに5eek、Set 5e
ctor  (セクタ値″0”)の指示を出す。
(D-5) As a result, the device adapter DA reads the operation information ICW of the corresponding address in the shared table 53 of the table storage 5 via the common bus 6, and
5eek, Set 5e to the above request device of SD9
ctor (sector value "0") is issued.

チャネルアダプタCAはステップ(D−4)の指示を行
った点で解放され、他の動作が可能となり、デバイスア
ダプタDAもデバイスへ指示を出した時点で解放される
The channel adapter CA is released when the instruction in step (D-4) is issued, and other operations can be performed, and the device adapter DA is also released when the instruction is issued to the device.

(D−6)デバイスはこれによって動作を開始し、指示
されたセクタ“0”に近づいたことによってデバイアダ
プタDAに割込みを上げる。これによってデバイアダプ
タDAは、共通バス6を介しテーブルストレッジ5のシ
エアードテーブル53内の動作情報ICWを読出す。こ
のデバイスアダプタDAは先のデバイスに指示を行った
デバイスアダプタDAと同じである必要はない。
(D-6) The device starts its operation and raises an interrupt to the device adapter DA as it approaches the designated sector "0". As a result, the device adapter DA reads the operation information ICW in the shared table 53 of the table storage 5 via the common bus 6. This device adapter DA does not need to be the same as the device adapter DA that instructed the previous device.

更に、デバイスアダプタDAはテーブルストレッジ5の
シエアードテーブル53内の進行状況テーブル53Cの
アロケート情報を読取り、トラックバッファ42の割当
てスペースを知り、デバイスから送られるホームアドレ
ス(HA)からステージングを開始する。即ち、デバイ
スアダプタDAはデバイスから与えられるホームアドレ
スHA以下順次RO−C,RO−I)−を共通バス6を
介しキャッシュメモリ4に与え、トラックバッファ42
の割当てられたスペースに書込んでいく。これとともに
デバイスアダプタDAは共通バス6を介しテーブルスト
レッジ5のシェアートチ−プル53内の進行状況テーブ
ル53Cにステージング進行状況を書込んでいく。
Further, the device adapter DA reads the allocation information of the progress table 53C in the shared table 53 of the table storage 5, learns the allocated space of the track buffer 42, and starts staging from the home address (HA) sent from the device. That is, the device adapter DA sequentially gives the home address HA (RO-C, RO-I)- given by the device to the cache memory 4 via the common bus 6, and stores the track buffer 42.
Write in the allocated space. At the same time, the device adapter DA writes the staging progress to the progress table 53C in the shared triple 53 of the table storage 5 via the common bus 6.

このようにしてステージングを行っていくうちに、デバ
イスアダプタDAがコマンド指定セクタ値に近づくと、
先づ、共通バス6を介しテーブルストレッジ5のシエア
ードテーブル53内のモジュールテーブル53aに割込
み理由(指定セクタに近づいた)をセントし、次に、共
通バス6を介し空いているチャネルアダプタCAにチャ
ネル再結合のための割込みを上げる。
While staging is performed in this way, when the device adapter DA approaches the command specified sector value,
First, the interrupt reason (approaching the designated sector) is sent to the module table 53a in the shared table 53 of the table storage 5 via the common bus 6, and then sent to the vacant channel adapter CA via the common bus 6. Raise interrupt for channel recombination.

(D−7)割込まれたチャネルアダプタCAは、共通バ
ス6を介しテーブルストレッジ5のシエアードテーブル
53内のモジュールテーブル53aの割込み理由を読出
し、指定セクタに近づいたことを知ると、チャネルCH
Lに再結合要求Req In及びデバイスエンド(D 
E)ステータスを通知する。
(D-7) The interrupted channel adapter CA reads the interrupt reason from the module table 53a in the shared table 53 of the table storage 5 via the common bus 6, and when it learns that it has approached the designated sector, the channel adapter CA
Recombination request Req In and device end (D
E) Notify status.

(D−8)チャネルCHLはこれによって次のコマンド
である5earch 10 Eqコマンドを発し、チャ
ネルアダプタCAがこれを受けとると、共通バス6を介
しテーブルストレッジ5のシエアードテーブル53内の
進行状況テーブル53cの進行状況を読出して、チsフ
クし、ステージングの同期をとって、コマンド転送モー
ドを共通バス6を介し当該進行状況テーブル53cに書
込む。
(D-8) The channel CHL issues the next command, 5search 10 Eq command, and when the channel adapter CA receives this, the progress table 53c in the shared table 53 of the table storage 5 is sent via the common bus 6. The progress status is read and updated, the staging is synchronized, and the command transfer mode is written to the progress status table 53c via the common bus 6.

(D−9)デバイスアダプタDAは、この進行状況テー
ブル53cの内容を共通バス6を介し読出し、FORK
モードの同期型転送を行う。
(D-9) The device adapter DA reads the contents of the progress table 53c via the common bus 6, and
Perform mode synchronous transfer.

即ち、デバイスからのデータを共通バス6を介しキャッ
シュメモリ4に転送するとともにチャネルアダプタCA
にも転送する。
That is, data from the device is transferred to the cache memory 4 via the common bus 6, and the channel adapter CA
Also forward it to

(D−10)一方、チャネルアダプタCAは、チャネル
CHLからのデータCCHHR(シリンダアドレス、ヘ
ッドアドレス、レコード番号)を受け、デバイスアダプ
タDAからのデータ(ここでは、レコード2のカウント
部R2−C)と比較する。この比較によって不一致なら
要求したレコードでないので、チャネルアダプタCAは
チャネルエンド(CE)及びデバイスエンド(DE)ス
テータスをチャネルCHLへ返し、再度5earch 
10Eqコマンドを受取る。
(D-10) On the other hand, channel adapter CA receives data CCHHR (cylinder address, head address, record number) from channel CHL, and receives data from device adapter DA (here, count section R2-C of record 2). Compare with. If there is a mismatch as a result of this comparison, it is not the requested record, so channel adapter CA returns the channel end (CE) and device end (DE) status to channel CHL, and then 5search again.
Receives 10Eq command.

(D−1)>デバイスアダプタDAは再び共通バス6を
介し進行状況テーブル53cの内容を読出すと、コマン
ド転送モードは変更ないので、FORKモードの同期型
転送を続け、R2−Cに続くデバイスからのレコード2
のデータ部R2−Dを共通バス6を介しキャッシュメモ
リ4及びチャネルアダプタCAに転送する。レコード2
は要求レコードでないのでチャネルアダプタCAでは、
R2−Dは読み捨てられる。そしてデバイスアダプタD
Aは、デバイスからの次のカウント部R3−Cを共通ハ
ス6を介しキャッシュメモリ4及びチャネルアダプタC
Aに転送する。チャネルアダプタCAでは、ステップ(
D−10)と同様チャネルCHLからCCHHRと次の
カウント部を比較し、一致と判定すると要求レコードと
判定し、ステータスモディファイアSTM、チャネルエ
ンド(CE)及びデバイスエンド(D E)ステータス
をチャネルCHLに返し、チャネルCHLより次のコマ
ンドを受ける。
(D-1)> When the device adapter DA reads the contents of the progress table 53c again via the common bus 6, the command transfer mode remains unchanged, so it continues the synchronous transfer in FORK mode, and the device following R2-C Record 2 from
The data portion R2-D of is transferred to the cache memory 4 and channel adapter CA via the common bus 6. record 2
is not a request record, so in channel adapter CA,
R2-D is read and discarded. and device adapter D
A transfers the next counting unit R3-C from the device to the cache memory 4 and channel adapter C via the common lotus 6.
Transfer to A. In channel adapter CA, step (
Similar to D-10), compare the channel CHL to CCHHR and the next count section, and if it is determined that they match, it is determined that it is a request record, and the status modifier STM, channel end (CE), and device end (DE) status is sent to the channel CHL. and receives the next command from channel CHL.

(D−12)次のコマンドがライトコマンド(Writ
e DAT^)であると、チャネルアダプタ通バス6を
介しテーブルストレッジ5の進行状況テーブル53cに
コマンド転送モード(Wrtte )をセットする。
(D-12) The next command is a write command (Writ
e DAT^), the command transfer mode (Wrtte) is set in the progress table 53c of the table storage 5 via the channel adapter communication bus 6.

デバイスアダプタDAはこの進行状況テーブル53Cの
内容を読出し、ライトであることを知ると、ライトモー
ドに変わる。そしてチャネルCHLからのレコード3の
ライトデータR3−DがチャネルアダプタCAより共通
バス6を介して転送されると、デバイスアダプタDAは
当該デバイスにライトデータR3−Dを書込む。同時に
ライトデータR3−Dはトラックバッファ42にも書込
まれる。
The device adapter DA reads the contents of the progress table 53C, and when it learns that it is a write operation, changes to the write mode. When write data R3-D of record 3 from channel CHL is transferred from channel adapter CA via common bus 6, device adapter DA writes write data R3-D to the device. At the same time, write data R3-D is also written to the track buffer 42.

−7、次のコマンドが図のカッコ内の如くリードコマン
ド(Read Data )であると、同様にチャネル
アダプタCAは共通バス6を介し進行状況テーブル53
cにコマンド転送モード(Read)をセットし、デバ
イスアダプタDAが共通バス6を介しこれを読出すと、
デバイスからのレコード3のデータ部R3−Dを図の点
線矢印の如く共通バス6を介しキャッシュメモリ4及び
チャネルアダプタCAへ転送し、チャネルアダプタCA
よりチャネルCHLへ更に転送せしめる。
-7. If the next command is a read command (Read Data) as shown in parentheses in the figure, the channel adapter CA similarly sends the progress status table 53 via the common bus 6.
When the command transfer mode (Read) is set in c and the device adapter DA reads it via the common bus 6,
The data part R3-D of record 3 from the device is transferred to the cache memory 4 and channel adapter CA via the common bus 6 as indicated by the dotted line arrow in the figure, and then transferred to the cache memory 4 and channel adapter CA.
The data is further transferred to the channel CHL.

そして、チャネルアダプタCAはコマンドチェインの終
了(Write DATA又はRead Dataで終
了)によって共通バス6を介しテーブルストレッジ5の
進行状況テーブル53Cのコマンド転送モードをリセッ
トする。これによってチャネルアダプタCAはフリーと
なり、他の処理が可能となる。
Then, the channel adapter CA resets the command transfer mode of the progress table 53C of the table storage 5 via the common bus 6 when the command chain ends (ends with Write DATA or Read Data). This frees the channel adapter CA and enables other processing.

(D−13)一方、デバイスアダプタDAは共通バス6
を介しテーブルストレッジ5の進行状況テーブル53c
の内容を読出し、コマンド転送モードのチェックを行い
、コマンド転送モードがリセットされたことを知る。更
に、デバイスアダプタDAは、当該デバイスの読出しト
ラックの残りに更にレコードがある場合には、キャッシ
ュメモリ4へのステージングによるデータ転送が続けら
れ、トラック上の最終レコードのステージングが終了す
ると、デバイスアダプタDAはキャッシュプロセッサ3
に共通バス6を介しステージング終了を通知する。これ
によってキャッシュプロセッサ3はハツシュテーブル3
2aにトラックバッファ42にステージング済トラック
の登録を行う。
(D-13) On the other hand, device adapter DA uses common bus 6.
Progress table 53c of table storage 5 via
Reads the contents of , checks the command transfer mode, and learns that the command transfer mode has been reset. Furthermore, if there are more records in the remaining read track of the device, the device adapter DA continues data transfer by staging to the cache memory 4, and when the staging of the last record on the track is completed, the device adapter DA is cache processor 3
is notified of the completion of staging via the common bus 6. As a result, the cache processor 3 uses the hash table 3
2a, the staged track is registered in the track buffer 42.

このようにしてステージング動作が終了すると、キャッ
シュメモリ4のトラックバッファ42には、CPU/C
HLが要求したレコードを含む1トラツク分のデータが
格納され、以降は当該トラックのレコードへのアクセス
はキャッシュメモリ4に対して行われる。一方、CPU
/CHLは、リードコマンドならステージング中に要求
レコードを得ることができ、ライトコマンドなら、デバ
イス内(及びキャッシュメモリ4内)の要求レコードを
書替えることができる。
When the staging operation is completed in this way, the track buffer 42 of the cache memory 4 contains the CPU/CPU
Data for one track including the record requested by the HL is stored, and from then on, access to the record of the track is made to the cache memory 4. On the other hand, the CPU
/CHL can obtain a request record during staging if it is a read command, and can rewrite the request record in the device (and in the cache memory 4) if it is a write command.

(E)ヒント選択動作の説明 第9図は、ヒツト選択動作の説明図である。(E) Explanation of hint selection operation FIG. 9 is an explanatory diagram of the hit selection operation.

(E−1)チャネルアダプタCAは、そのMPU16の
指示によって共通ハス6を介しテーブルストレッジ5の
デバイステーブル53bを読出す。
(E-1) The channel adapter CA reads the device table 53b of the table storage 5 via the common lotus 6 according to instructions from the MPU 16.

デバイステーブル53bには、前述の如<DASD9の
各デバイス90〜9n(第14図参照)が使用中か否か
のフラグと、リザーブ中か否かのフラグと、ヒツト選択
中か否かのフラグとが格納されている。デバイステーブ
ル53bの内容は、共通ハス6を介しドライバ/レシー
バ50よりチャネルアダプタCAより与えられた指示に
従ってテーブルストレッジコントロール部51によって
読出され、ドライバ/レシーバ50を介し共通バス6か
らチャネルアダプタCAに与えられる。
The device table 53b contains, as described above, a flag indicating whether each device 90 to 9n of the DASD 9 (see FIG. 14) is in use, a flag indicating whether it is in reserve, and a flag indicating whether it is in selection. is stored. The contents of the device table 53b are read by the table storage control unit 51 from the driver/receiver 50 via the common bus 6 in accordance with instructions given from the channel adapter CA, and are provided from the common bus 6 via the driver/receiver 50 to the channel adapter CA. It will be done.

(E−2)チャネルアダプタCAでは、そのMPUI 
6がデバイステーブル53bの内容を開べ、CPU/C
HLが要求したデバイスがリザーブ中か否かヒツト選択
中か否かを調べる。ヒツト選択動作は、デバイスの実選
択をしないので、そのデバイスのデータへのアクセスが
禁止されているか否かのリザーブ中か否か及びヒツト選
択中か否かを調べればよく、リザーブ中又はヒツト選択
中ならリザーブ又はヒツト選択解除までビジー解除待ち
となる。又、他のCAからの使用状況をチェックして同
一シリンダのアクセスがあるかどうかを調べる。有れば
待ちとなる。
(E-2) In channel adapter CA, its MPUI
6 opens the contents of the device table 53b, and the CPU/C
It is checked whether the device requested by the HL is being reserved or being selected. Since the hit selection operation does not actually select the device, it is sufficient to check whether access to the data of the device is prohibited, whether the device is in reserve, and whether the device is being selected. If it is, it will wait for the busy to be released until the reserve or hit selection is cancelled. Also, check the usage status from other CAs to see if there is access to the same cylinder. If there is, you will have to wait.

(E−3)要求したデバイスがリザーブ及びヒツト選択
されてなければチャネルアダプタCAでは、MPU16
が共通バス6を介しテーブルストレッジ5のデバイステ
ーブル53bの更新登録を行う。即ち、デバイステーブ
ル53bの要求デバイスのヒント選択欄に「ヒツト選択
」の旨書込み、シリンダアドレスを登録しておく。
(E-3) If the requested device is not reserved or hit selected, the MPU16
updates and registers the device table 53b of the table storage 5 via the common bus 6. That is, "hit selection" is written in the hint selection column of the requesting device in the device table 53b, and the cylinder address is registered.

これによってヒツト選択は成功し、ヒツト動作は終了す
る。
As a result, the hit selection is successful and the hit operation ends.

(F)キャッシュ動作の説明。(F) Explanation of cache operation.

キャッシュ動作はリードの場合には、単にキャッシュメ
モリ4の内容を読込むだけで済むが、ライトの場合には
、キャッシュメモリ4の内容を書替える他にデバイス自
体の内容も書替える必要がある。
In the case of a read cache operation, it is sufficient to simply read the contents of the cache memory 4, but in the case of a write operation, it is necessary to rewrite the contents of the device itself in addition to rewriting the contents of the cache memory 4.

先づ、ライトキャッシュ動作について第10回動作説明
図により説明する。
First, the write cache operation will be explained using the 10th operation explanatory diagram.

(F−1)前述の如(ヒツト選択が成功し、CP U/
CHLより5earch 10 Bqをチャネルアダプ
タCAが受けると、そのMPU16が共通バス6を介し
、キャッシュプロセッサ3にキャッシュメモリ4のボー
ト要求を発する。
(F-1) As mentioned above (hit selection is successful, CPU/
When the channel adapter CA receives 5 search 10 Bq from the CHL, its MPU 16 issues a vote request for the cache memory 4 to the cache processor 3 via the common bus 6.

これによってキャッシュプロセッサ3は、MPU34が
これを解読し、キャッシュメモリ4のシエアードストレ
ンジコントロール部41のボート部41aの一部のボー
トとレジスタ群41bのレジスタをチャネルアダプタC
Aの使用のため割当て、これを共通バス6を介しキャッ
シュメモリ4に送り、シェアードストレッジコントロー
ル部41のボート部41aのボート割当てと、レジスタ
群41bのレジスタセットアツプを行わしめる。
As a result, the MPU 34 of the cache processor 3 decodes this and transfers some of the ports of the port section 41a of the shared strange control section 41 of the cache memory 4 and the registers of the register group 41b to the channel adapter C.
A is allocated for use, and sent to the cache memory 4 via the common bus 6, and a vote is allocated to the port section 41a of the shared storage control section 41 and register set-up of the register group 41b is performed.

これによってチャネルアダプタCAはキャッシュメモリ
4のボートとレジスタを獲得し、共通バス6を介した多
重転送が可能となる。
As a result, the channel adapter CA acquires the vote and register of the cache memory 4, and multiple transfer via the common bus 6 becomes possible.

即ち、ステージング動作中でも時分割的にキャッシュメ
モリ4へのアクセスが可能となる。
That is, the cache memory 4 can be accessed in a time-sharing manner even during the staging operation.

(F−2)次に、チャネルアダプタCAは、そのMPU
16が共通バス6を介しキャッシュメモリ4ヘデータ転
送要求を発する、データ転送要求はトラックバッファ4
2における要求レコードの先頭アドレスとバイト数を含
んでいる。
(F-2) Next, the channel adapter CA
16 issues a data transfer request to the cache memory 4 via the common bus 6. The data transfer request is sent to the track buffer 4.
Contains the start address and number of bytes of the request record in 2.

キャッシュメモリ4では、シェアードストレフジコント
ロール部41がデータ転送要求をレジスタ群41bの割
当てられたレジスタにセットし、トランクバッファ42
をアクセスする。これによってトラックバッファ42か
らは、先づ、要求しコードのカウント部、例えばR3、
−Cが読出され、ポート部41aの割当てボートにセッ
トされた後、ドライバ/レシーバ40から共通バス6を
介し、チャネルアダプタCAに転送される。
In the cache memory 4, the shared storage control unit 41 sets a data transfer request to the assigned register of the register group 41b, and transfers the data transfer request to the trunk buffer 42.
access. As a result, the track buffer 42 first outputs the requested code count section, for example, R3.
-C is read out and set in the assigned port of the port section 41a, and then transferred from the driver/receiver 40 to the channel adapter CA via the common bus 6.

(F−3)チャネルアダプタCAでは、チャネルCHL
からのCCHHRと転送されたカウント部R3−Cを比
較し、一致と判定すると要求レコードと判定し、ステー
タスモディファイアSTM。
(F-3) In channel adapter CA, channel CHL
The CCHHR sent from CCHHR and the transferred count part R3-C are compared, and if it is determined that they match, it is determined that it is a request record, and the status modifier STM is sent.

チャンネルエンド(CE)及びデバイスエンド(DE)
ステータスをチャネルCHLに返し、チャネルCHLよ
り次のコマンドを受ける。
Channel end (CE) and device end (DE)
It returns the status to channel CHL and receives the next command from channel CHL.

(F−4)チャネルCHLからの次のコマンドがライト
コマンド(Write D )であると、チャネルアダ
プタCAはりトライステータス(Retry 5tat
us)をチャネルCHLへ返送したのち、DA及びデバ
イス選択動作を行う。即ち、ライトの場合には、デバイ
ス内のレコードの書替えも必要のため、DA及びデバイ
ス選択が行われ、この動作は(C)項で説明したDA及
びデバイス選択動作と同一のため説明は省略する。
(F-4) If the next command from channel CHL is a write command (Write D), channel adapter CA returns try status (Retry 5tat).
After returning the data (us) to channel CHL, DA and device selection operations are performed. That is, in the case of writing, it is necessary to rewrite the record in the device, so DA and device selection are performed.This operation is the same as the DA and device selection operation explained in section (C), so the explanation will be omitted. .

(F−5>次に、チャネルアダプタCAは、そのMPU
16が共通バス6を介しテーブルストレッジ5にライト
スルー動作の内容を示す動作情報ICWを与える。動作
情報ICWはライトスルーコマンド、コマンド発行パス
(チャネルアダプタ)、シークアドレス、セクター情報
等で構成され、テーブルストレッジ5では、ドライバ/
レシーバ50を介しテーブルストレッジコントロール部
51がこれを受け、シェアートチ−プル53のコマンド
エリア53dに格納する。
(F-5>Next, the channel adapter CA
16 provides operation information ICW indicating the contents of the write-through operation to the table storage 5 via the common bus 6. The operation information ICW consists of a write-through command, command issuing path (channel adapter), seek address, sector information, etc. In the table storage 5, the driver/
The table storage control unit 51 receives this via the receiver 50 and stores it in the command area 53d of the share triple 53.

(F−6)次に、チャネルアダプタCAは、そのMPU
16が共通バス6を介し選択したデバイスアダプタDA
にテーブルストレッジ5の動作情報ICWのアドレスを
含む動作開始指示を発する。
(F-6) Next, the channel adapter CA
16 selects the device adapter DA via the common bus 6
Then, an operation start instruction including the address of the operation information ICW of the table storage 5 is issued.

(F−7)これによって、デバイスアダプタDAは共通
バス6を介しテーブルストレッジ5のシエアードテーブ
ル53の当該アドレスの動作情報ICWを読出し、DA
SD9の前述の要求デバイスに5eek、Set 5e
ctor  (セクタ値はR3のもの)の指示を出す。
(F-7) As a result, the device adapter DA reads the operation information ICW of the corresponding address in the shared table 53 of the table storage 5 via the common bus 6, and
5eek, Set 5e to the above request device of SD9
ctor (sector value is R3).

チャネルアダプタCAはステップ(F−6)の指示を行
った点で解放され、他の動作が可能となり、デバイスア
ダプタDAもデバイスへ指示を出した時点で解放される
The channel adapter CA is released when the instruction in step (F-6) is issued, and other operations can be performed, and the device adapter DA is also released when the instruction is issued to the device.

(F−8)デバイスはこれによって動作を開始し、指示
されたセクタR3のセクタ値に近づいたことによってデ
バイスアダプタDAに割込みを上げる。これによってデ
バイスアダプタDAは、共通バス6を介しテーブルスト
レッジ5のシエアードテーブル53内の動作情報rcw
を続出す。このデバイスアダプタDAは先のデバイスに
指示を行ったデバイスアダプタDAと同じである必要は
ない。
(F-8) The device starts its operation and raises an interrupt to the device adapter DA when the sector value of the instructed sector R3 approaches. As a result, the device adapter DA transmits the operation information rcw in the shared table 53 of the table storage 5 via the common bus 6.
One after another. This device adapter DA does not need to be the same as the device adapter DA that instructed the previous device.

そして、デバイスアダプタDAは共通バス6を介しテー
ブルストレッジ5のシェアートチ−プル53内のモジュ
ールテーブル53aに割込み理由(指定セクタに近づい
た)をセットし、次に、共通バス6を介し空いているチ
ャネルアダプタCAにチャネル再結合のための割込みを
上げる。
Then, the device adapter DA sets the interrupt reason (nearing the specified sector) in the module table 53a in the shared triple 53 of the table storage 5 via the common bus 6, and then sets the interrupt reason (nearing the specified sector) to the module table 53a in the shared triple 53 of the table storage 5. Raise an interrupt to adapter CA for channel recombination.

(F−9)割込まれたチャネルアダプタCAは、共通バ
ス6を介しテーブルストレッジ5のシェアートチ−プル
53内のモジュールテーブル53aの割込み理由を読出
し、指定セクタに近づいたことを知ると、チャネルCH
Lに再結合要求Req In及びデバイスエンド(D 
E)ステータスを通知する。
(F-9) The interrupted channel adapter CA reads the interrupt reason from the module table 53a in the shared triple 53 of the table storage 5 via the common bus 6, and when it learns that it has approached the designated sector, the channel adapter CA
Recombination request Req In and device end (D
E) Notify status.

(F−10)チャネルCHLはこれによって次のコマン
ドであるwriteDを発行する。
(F-10) Channel CHL thereby issues the next command, writeD.

次のコマンドがライトコマンド(Write D )で
あると、チャネルアダプタCAは共通バス6を介しテー
ブルストレッジ5の進行状況テーブル53Cにコマンド
転送モード(Write )をセットした後、同期コマ
ンドをデバイスアダプタDAに共通バス6を介し与える
When the next command is a write command (Write D), the channel adapter CA sets the command transfer mode (Write) in the progress table 53C of the table storage 5 via the common bus 6, and then sends a synchronization command to the device adapter DA. via the common bus 6.

これによって、デバイスアダプタDAでは、デバイスか
らのデータカウント部と指定されたレコードR3とを比
較して内部サーチする。一方、チャネルアダプタCAで
は、ステップ(F−1)と同様にポート要求を発し、キ
ャッシュプロセッサ3によってキャッシュメモリのボー
ト割当て、しジスタセソトアンプを行わし、め、ボート
とレジスタを獲得する。
As a result, the device adapter DA performs an internal search by comparing the data count section from the device with the designated record R3. On the other hand, the channel adapter CA issues a port request in the same way as in step (F-1), and the cache processor 3 allocates a cache memory vote, performs register sesotoamplification, and acquires a port and a register.

(F−1)”)デバイスアダプタDAの内部サーチで指
定レコードR3とデバイスからのカウント部R3−Cと
の一致が得られると、デバイスアダプタDAは、共通バ
ス6を介しチャネルアダプタCAに同期コマンドを発す
る。これによってチャネルアダプタCAはチャネルCH
LからのライトデータR3−Dを共通バス6を介しキャ
ッシュメモ+J 4とデバイスアダプタDAに転送し、
キャッシュメモリ4のトラックバッファ42の内容を書
き替えるとともにデバイスアダプタDAより当該デバイ
スの内容も書き替える。
(F-1)") When a match is obtained between the specified record R3 and the count section R3-C from the device in the internal search of the device adapter DA, the device adapter DA sends a synchronization command to the channel adapter CA via the common bus 6. This causes channel adapter CA to issue channel CH
Transfers write data R3-D from L to cache memory +J4 and device adapter DA via common bus 6,
The contents of the track buffer 42 of the cache memory 4 are rewritten, and the contents of the device are also rewritten from the device adapter DA.

そして、チャネルアダプタCAはコマンドチェインの終
了(Write D終了)によって共通バス6を介しチ
ェイン終了通知をデバイスアダプタDAに送り、更にテ
ーブルストレッジ5の進行状況テーブル53Cのコマン
ド転送モードをリセットする。これによってチャネルア
ダプタCAはフリーとなり、他の処理が可能となる。又
、デバイスアダプタDAはチェイン終了通知に対しライ
トスルー終了を共通バス6を介しキャッシュプロセ・ノ
サ3に通知し、LRUテーブル32aの更新を行わしめ
、ライトのキャッシュ動作を終了せしめる。
When the command chain ends (Write D ends), the channel adapter CA sends a chain end notification to the device adapter DA via the common bus 6, and further resets the command transfer mode of the progress table 53C of the table storage 5. This frees the channel adapter CA and enables other processing. Further, in response to the chain end notification, the device adapter DA notifies the cache processor 3 of the write-through end via the common bus 6, updates the LRU table 32a, and ends the write cache operation.

次に、リードキャッシュ動作について第1)回動作説明
図により説明する。
Next, the read cache operation will be explained using the first) operation explanatory diagram.

(F−20)ステップ(F−1)と同様に、前述の如く
ヒツト選択が成功し、CP U/CHLより5earc
h 10 EQをチャネルアダプタCAが受けると、そ
のMPU16が共通バス6を介しキャッシュプロセッサ
3にキャッシュメモリ4のボート要求を発する。
(F-20) Similarly to step (F-1), the human selection is successful as described above, and 5earc is sent from the CPU/CHL.
When channel adapter CA receives h 10 EQ, its MPU 16 issues a vote request for cache memory 4 to cache processor 3 via common bus 6 .

これによってキャッシュプロセッサ3は、MPU34が
これを解読し、キャッシュメモリ4のシェアートストレ
ンシコントロール部41のポート部41aの一部のボー
トとレジスタ群41bのレジスタをチャネルアダプタC
Aの使用のため割当て、これを共通バス6を介しキャッ
シュメモリ4に送り、シェアートストレンシコントロー
ル部41のボート部41aのボート割当てと、レジスタ
群4. I bのレジスタセットアツプを行わしめる。
As a result, the MPU 34 decodes this and the cache processor 3 transfers some ports of the port section 41a of the share strength control section 41 of the cache memory 4 and registers of the register group 41b to the channel adapter C.
A is allocated for use, and sent to the cache memory 4 via the common bus 6, and is allocated to the boat section 41a of the share strength control section 41 and register group 4.A. Performs register setup for Ib.

これによってチャネルアダプタCAはキャッシュメモリ
4のボートとレジスタを獲得し、共通バス6を介した多
重転送が可能となる。
As a result, the channel adapter CA acquires the vote and register of the cache memory 4, and multiple transfer via the common bus 6 becomes possible.

即ち、ステージング動作中でも時分割的にキャッシュメ
モリ4へのアクセスが可能となる。
That is, the cache memory 4 can be accessed in a time-sharing manner even during the staging operation.

(F−21)次に、チャネルアダプタCAは、そのMP
U16が共通バス6を介しキャッシュメモリ4ヘデータ
転送要求を発する、データ転送要求はトラックバッファ
42における要求レコードのカウント部の先頭アドレス
とハイド数を含んでいる。
(F-21) Next, channel adapter CA
U16 issues a data transfer request to cache memory 4 via common bus 6. The data transfer request includes the start address of the count section of the requested record in track buffer 42 and the number of hides.

キャッシュメモリ4では、シェアートストレンシコント
ロール部41がデータ転送要求をレジスタ群41bの割
当てられたレジスタにセ・ソトし、トランクバッファ4
2をアクセスする。これによってトラックバッファ42
からは、先づ、要求レコードのカウント部、例えばR3
−Cが読出され、ポート部41aの割当てボートにセッ
トされた後、ドライバ/レシーバ40から共通バス6を
介し、チャネルアダプタCAに転送される。
In the cache memory 4, the share strength control unit 41 sets the data transfer request to the assigned register of the register group 41b, and transfers the data transfer request to the assigned register in the trunk buffer 4.
Access 2. As a result, the track buffer 42
From here, first, the count part of the request record, for example, R3.
-C is read out and set in the assigned port of the port section 41a, and then transferred from the driver/receiver 40 to the channel adapter CA via the common bus 6.

(F−22)チャネルアダプタCAでは、チャネルCH
LからのCCHHRと転送されたカウント部R3−Cを
比較し、一致と判定すると要求レコードと判定し、ステ
ータスモディファイアSTM、チャネルエンド(GE)
及びデバイスエンド(DE)ステータスをチャネルCH
Lに返し、チャネルCHLより次のコマンドを受ける。
(F-22) In channel adapter CA, channel CH
The CCHHR from L and the transferred count part R3-C are compared, and if it is determined that they match, it is determined that it is a request record, and the status modifier STM and channel end (GE)
and device end (DE) status on channel CH
It returns to L and receives the next command from channel CHL.

(F−23>チャネルCHLからの次コマンドがリード
コマンド(Read D)であると、チャネルアダプタ
CAは、そのMPU16が共通バス6を介しキャッシュ
メモリ4ヘデータ転送要求を発する、データ転送要求は
トラックバッファ42における要求レコードのデータ部
の先頭アドレスとバイト数を含んでいる。
(F-23> When the next command from channel CHL is a read command (Read D), the channel adapter CA issues a data transfer request from its MPU 16 to the cache memory 4 via the common bus 6.The data transfer request is sent to the track buffer. 42 includes the start address and number of bytes of the data portion of the request record.

キャッシュメモリ4では、シェアートストレンシコント
ロール部41がデータ転送要求をレジスタ群41bの割
当てられたレジスタにセントし、トランクバッファ42
をアクセスする。これによってトラックバッファ42か
らは、要求レコードのデータ部、例えばR3−Dが読出
され、ポート部41aの割当てボートにセットされた後
、ドライバ/レシーバ40から共通パス6を介し、チャ
ネルアダプタCAに転送される。
In the cache memory 4, the share strength control unit 41 sends the data transfer request to the assigned register of the register group 41b, and transfers the data transfer request to the assigned register of the register group 41b.
access. As a result, the data section of the request record, for example, R3-D, is read from the track buffer 42, set in the allocated port of the port section 41a, and then transferred from the driver/receiver 40 to the channel adapter CA via the common path 6. be done.

(F−24)そして、チャネルアダプタCAは更にこの
データ部R3−DをチャネルCHLへ転送した後、コマ
ンドチェイン終了を検知し、チャネルエンド(CE)及
びデバイスエンド(D E)ステータスをチャネルCH
Lに送り、チャネルCHLとの結合を解放後、テーブル
ストレッジ5のデバイス選択テーブル53bの当該デバ
イスのヒツト欄の選択フラグを解除して、リードキャッ
シュ動作を終了する。
(F-24) After further transferring this data part R3-D to channel CHL, channel adapter CA detects the end of the command chain and sends the channel end (CE) and device end (DE) status to channel CH.
After releasing the connection with channel CHL, the selection flag in the hit column of the device in the device selection table 53b of the table storage 5 is canceled, and the read cache operation is ended.

(G)通常のリード/ライト動作の説明。(G) Description of normal read/write operations.

第12図は通常のり−ド/ライト動作の説明図である。FIG. 12 is an explanatory diagram of a normal read/write operation.

(G−1)前述の如く、チャネルアダプタCAはデバイ
スアダプタDA及び要求デバイスの選択が成功すると、
チャネルアダプタCAは、そのMPU16が共通バス6
を介しテーブルストレッジ5に通常動作の内容を示す動
作情IBrcwを与える。動作情報ICWは通常動作コ
マンド、コマンド発行パス(チャネルアダプタ)、シー
クアドレス、セクター情報等で構成され、テーブルスト
、レッジ5では、ドライバ/レシーバ50を介しテーブ
ルストレッジコントロール部51がこれを受け、シェア
ートチ−プル53のコマンドエリア53dに格納する。
(G-1) As mentioned above, when the channel adapter CA successfully selects the device adapter DA and the requesting device,
The channel adapter CA has its MPU 16 connected to the common bus 6.
Operation information IBrcw indicating the contents of the normal operation is provided to the table storage 5 via the table storage 5. The operation information ICW is composed of a normal operation command, a command issuing path (channel adapter), a seek address, sector information, etc. In the table storage and ledge 5, the table storage control unit 51 receives it via the driver/receiver 50 and outputs the share command. - Store in the command area 53d of the pull 53.

次に、チャネルアダプタCAは、そのMPUl6が共通
バス6を介し選択したデバイスアダプタDAにテーブル
ストレッジ5の動作情報■CWのアドレスを含む動作開
始指示を発する。
Next, the channel adapter CA issues an operation start instruction including the address of the operation information CW of the table storage 5 to the device adapter DA selected by the MPU 16 via the common bus 6.

(G−2)これによって、デバイスアダプタDAは共通
バス6を介しテーブルストレッジ5のシェアートチ−プ
ル53の当該アドレスの動作情報ICWを読出し、DA
SD9の前述の要求デバイスに5eek、Set 5e
ctor  (指示セクタ値)の指示を出す。
(G-2) As a result, the device adapter DA reads the operation information ICW of the corresponding address of the shared triple 53 of the table storage 5 via the common bus 6, and
5eek, Set 5e to the above request device of SD9
ctor (instruction sector value).

チャネルアダプタCAはステップ(G−1)の指示を行
った点で解放され、他の動作が可能となり、デバイスア
ダプタDAもデバイスへ指示を出した時点で解放される
The channel adapter CA is released when the instruction in step (G-1) is issued, and other operations can be performed, and the device adapter DA is also released when the instruction is issued to the device.

(G−3)デバイスはこれによって動作を開始し、指示
されたセクタに近づいたことによってデバイスアダプタ
DAに割込みを上げる。これによってデバイスアダプタ
DAは共通バス6を介しテーブルストレッジ5のシェア
ートチ−プル53内の動作情1gicwを読出す。この
デバイスアダプタDAは先のデバイスに指示を行ったデ
バイスアダプタDAと同じである必要はない。
(G-3) The device starts its operation and raises an interrupt to the device adapter DA as it approaches the designated sector. As a result, the device adapter DA reads out the operating information 1gicw in the shared triple 53 of the table storage 5 via the common bus 6. This device adapter DA does not need to be the same as the device adapter DA that instructed the previous device.

デバイスアダプタDAはICWを解析し、共通ハス6を
介しテーブルストレッジ5のシエアードテーブル53内
のモジュールテーブル53aに割込み理由(指定セクタ
に近づいた)をセントし、次に、共通バス6を介し空い
ているチャネルアダプタCAにチャネル再結合のため゛
の割込みを上げる。
The device adapter DA analyzes the ICW, sends the interrupt reason (approaching the specified sector) to the module table 53a in the shared table 53 of the table storage 5 via the common bus 6, and then sends the interrupt reason (approaching the designated sector) to the module table 53a in the shared table 53 of the table storage 5 via the common bus 6. An interrupt is raised for channel adapter CA to recombine the channel.

(G−4)割込まれたチャネルアダプタCAは、共通バ
ス6を介しテーブルストレッジ5のシェアートチ−プル
53内のモジュールテーブル53aの割込み理由を読出
し、指定セクタに近づいたことを知ると、チャネルCH
Lに再結合要求Req In及びデバイスエンド(D 
E)ステータスを通知する。
(G-4) The interrupted channel adapter CA reads the interrupt reason from the module table 53a in the shared triple 53 of the table storage 5 via the common bus 6, and when it learns that it has approached the designated sector, the channel adapter CA
Recombination request Req In and device end (D
E) Notify status.

チャネルCHLはこれによって次のコマンドである5e
arch 10 Eqコマンドを発し、チャネルアダプ
タCAはこれを受けた後、コマンド転送モードを共通バ
ス6を介し当該進行状況テーブル53cに書込む。
Channel CHL will now issue the next command, 5e.
After issuing the arch 10 Eq command and receiving it, the channel adapter CA writes the command transfer mode to the progress table 53c via the common bus 6.

デバイスアダプタDAは、この進行状況テーブル53c
の内容を共通バス6を介し読出し、同期型転送を行う。
The device adapter DA uses this progress table 53c.
The contents are read out via the common bus 6 and synchronous transfer is performed.

即ち、デバイスからのデータを共通バス6を介しチャネ
ルアダプタCAに転送する。
That is, data from the device is transferred to the channel adapter CA via the common bus 6.

(G−5)一方1、チャネルアダプタCAは、チャネル
CHLからのデータCCHHR(シリンダアドレス、ヘ
ッドアドレス、レコード番号)を受け、デバイスアダプ
タDAからのデータ(ここでは、レコード2のカウント
部R2−C)と比較する。この比較によって不一致なら
要求したレコ−ドでないので、チャネルアダプタCAは
、チャネルエンド(G E)及びデバイスエンド(DE
)ステータスをチャネルCHLへ返し、再度5earc
hID Eqコマンドを受取る。
(G-5) On the other hand, channel adapter CA 1 receives data CCHHR (cylinder address, head address, record number) from channel CHL, and receives data from device adapter DA (here, count section R2-C of record 2). ). If there is a mismatch as a result of this comparison, it is not the requested record, so channel adapter CA sends the channel end (GE) and device end (DE).
) returns the status to channel CHL and 5earc again
Receive hID Eq command.

(G−6)デバイスアダプタDAは再び共通バス6を介
し進行状況テーブル53Gの内容を読出すと、コマンド
転送モードは変更ないのでR2−Cに続くデバイスから
のレコード2のデータ部R2−Dは転送せず、クロッキ
ングする。
(G-6) When the device adapter DA reads the contents of the progress table 53G again via the common bus 6, the command transfer mode remains unchanged, so the data section R2-D of record 2 from the device following R2-C is Clocking, not forwarding.

そしてデバイスアダプタDAは、デバイスからの次のカ
ウント部R3−Cを共通バス6を介しキャッシュメモリ
4及びチャネルアダプタCAに転送する。チャネルアダ
プタCAでは、ステップ(G−5)と同様チャネルCH
LからCCHHRと次のカウント部を比較し、一致と判
定すると要求レコードと判定し、ステータスモディファ
イアSTM、チャネルエンド(CE)及びデバイスエン
ド(DE)ステータスをチャネルCHLに返し、チャネ
ルCHLより次のコマンドを受ける。
Device adapter DA then transfers the next count section R3-C from the device to cache memory 4 and channel adapter CA via common bus 6. Channel adapter CA uses channel CH as in step (G-5).
Compare CCHHR and the next count part from L, and if it is determined that they match, it is determined to be a request record, status modifier STM, channel end (CE) and device end (DE) status are returned to channel CHL, and the next one is sent from channel CHL. Receive commands.

(G−7)次のコマンドがライトコマンド(Wrjte
 KD)であると、チャネルアダプタCAは共通バス6
を介しテーブルストレッジ5の進行状況テーブル53C
にコマンド転送モード(Wri te )をセ・ノドす
る。
(G-7) The next command is a write command (Wrjte
KD), the channel adapter CA is connected to the common bus 6.
Progress table 53C of table storage 5 via
Set the command transfer mode (Write) to

デバイスアダプタDAはこの進行状況テーブル53cの
内容を読出し、ライトであることを知ると、ライトモー
ドに変わる。そしてチャネルCHLからのレコード3の
ライトデータR3−DがチャネルアダプタCAより共通
バス6を介して転送されると、デバイスアダプタDAは
当該デバイスにライトデータR3−Dを書込む。
The device adapter DA reads the contents of the progress table 53c, and when it learns that it is a write operation, changes to the write mode. When write data R3-D of record 3 from channel CHL is transferred from channel adapter CA via common bus 6, device adapter DA writes write data R3-D to the device.

一方、次のコマンドが図のカッコ内の如くリードコマン
ド(Read Data )であると、同様にチャネル
アダプタCAは共通バス6を介し進行状況テーブル53
cにコマンド転送モード(Read)をセントし、デバ
イスアダプタDAが共通バス6を介しこれを読出すと、
デバイスからのレコード3のデータ部R3−Dを図の点
線矢印の如く共通バス6を介しキャッシュメモリ4及び
チャネルアダプタCAへ転送し、チャネルアダプタCA
よりチャネルCHLへ更に転送せしめる。
On the other hand, if the next command is a read command (Read Data) as shown in parentheses in the figure, the channel adapter CA similarly reads the progress status table 53 via the common bus 6.
When the command transfer mode (Read) is set to c and the device adapter DA reads it via the common bus 6,
The data part R3-D of record 3 from the device is transferred to the cache memory 4 and channel adapter CA via the common bus 6 as indicated by the dotted line arrow in the figure, and then transferred to the cache memory 4 and channel adapter CA.
The data is further transferred to the channel CHL.

そして、チャネルアダプタCAはコマンドチェインの終
了(Write KD又はRead Dataで終了)
によって共通バス6を介しテーブルストレッジ5の進行
状況テーブル53cのコマンド転送モードをリセットす
る。これによってチャネルアダプタCAはフリーとなり
、他の処理が可能となる。
Then, channel adapter CA ends the command chain (ends with Write KD or Read Data).
The command transfer mode of the progress table 53c of the table storage 5 is reset via the common bus 6. This frees the channel adapter CA and enables other processing.

又、デバイスアダプタDAは共通バス6を介しテーブル
ストレッジ5の進行状況テーブル53cのコマンド転送
モードのチェックを行い、リセットされたことを検出し
て、終了する。
The device adapter DA also checks the command transfer mode of the progress table 53c of the table storage 5 via the common bus 6, detects that it has been reset, and ends the process.

(■」)入出力制御装置の第2の実施例の構成の説明。(■) Explanation of the configuration of the second embodiment of the input/output control device.

第13図は、本発明の第2の実施例ブロック図である。FIG. 13 is a block diagram of a second embodiment of the present invention.

図中、第2図で示したものと同一のものは同一の記号で
示してあり、lc、ldは各々チャネルアダプタであり
、チャネルアダプタ1a、1bと同一の構成のもの、2
c、2dは各々デバイスアダプタであり、デバイスアダ
プタ2a、2bと同一の構成のもの、9aは第1のDA
SDであり、9bは第2のDASDであり、各々DAS
D9と同一の構成のものである。
In the figure, the same components as those shown in FIG. 2 are indicated by the same symbols, and lc and ld are channel adapters, respectively.
c and 2d are device adapters having the same configuration as device adapters 2a and 2b, and 9a is the first DA
SD, 9b is the second DASD, and each DAS
It has the same configuration as D9.

第2図の第1の実施例に比し、DASDを1個増設し、
これに応じてデバイスアダプタ2C12dを設け、更に
チャネルアダプタIC1)dも増設したものである。こ
のため上位側のバスはチャネルアダプタ1a〜ld分の
4パスとなり、下位側のバスも4バスとなる。このよう
に共通バス6を用いているので、チャネルアダプタ、デ
バイスアダプタの増設が容易であり、しかもいずれのチ
ャネルアダプタとデバイスアダプタとのデータ転送がで
きる。又、チャネルアダプタもいずれのDASD9a、
9bへもアクセスでき、極めて便利である。尚、第2の
実施例の詳細構成及び動作は第2図のものと同一である
ので説明は省略する。
Compared to the first embodiment shown in FIG. 2, one DASD is added,
Accordingly, a device adapter 2C12d is provided, and a channel adapter IC1)d is also added. Therefore, the upper bus has four paths for channel adapters 1a to 1d, and the lower bus has four buses. Since the common bus 6 is used in this way, it is easy to add channel adapters and device adapters, and data can be transferred between any channel adapter and device adapter. Also, the channel adapter is either DASD9a,
You can also access 9b, which is extremely convenient. Note that the detailed configuration and operation of the second embodiment are the same as those shown in FIG. 2, so a description thereof will be omitted.

チャネルアダプタやデバイスアダプタの増設数は任意に
でき、システム構成に応じて増設数が決定される。
Any number of channel adapters or device adapters can be added, and the number is determined according to the system configuration.

以上本発明を実施例により説明したが、本発明は本発明
の主旨に従い種々の変形が可能であり、本発明からこれ
らを排除するものではない。
Although the present invention has been described above using examples, the present invention can be modified in various ways according to the gist of the present invention, and these are not excluded from the present invention.

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

以上説明した様に、本発明によれば、上位側パスと下位
側パスとが独立にデータ転送できるので、上位側パスを
利用している時(ヒントの時)に、下位側パスを用いて
ステージングやライトパンクを行うことができ、逆に下
位側パスを利用している時に上位側パスを用いてヒント
動作できるから、システムの動作効率を向上することが
可能である。
As explained above, according to the present invention, data can be transferred independently between the upper path and the lower path. Staging and write puncturing can be performed, and conversely, hint operations can be performed using the upper path when the lower path is used, so it is possible to improve the operating efficiency of the system.

特に、キャッシュメモリを用いた上位側のアクセスが大
半を占めることから、下位側パスの使用中にもキャッシ
ュメモリのアクセスができることにより、CPUのアク
セスタイムが大幅に向上し、アクセスタイムの高速化が
可能となるという効果を奏し、CPUの高速動作に追い
付ける入出カシステムを提供できる。
In particular, since most of the accesses are on the upper side using the cache memory, by being able to access the cache memory even while the lower path is in use, the CPU access time can be greatly improved and the access time can be accelerated. It is possible to provide an input/output system that can keep up with the high-speed operation of the CPU.

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

第1図は本発明の原理説明図、 第2図は本発明の第1の実施例構成図、第3図は第2図
構成におけるチャネルアダプタの内部ブロック図、 第4図は第2図構成におけるデバイスアダプタの内部ブ
ロック図、 第5図は第2図構成におけるキャッシュプロセッサの内
部ブロック図、 第6図は第2図構成における全体動作説明図、第7図は
第6図におけるDA/デバイス選択動作説明図、 第8図は第6図におけるステージング動作説明図、 第9図は第6図におけるヒツト選択動作説明図、第10
図は第6図におけるライトキャ、7シユ動作説明図、 第1)図は第6図におけるリードキャ・ノシュ動作説明
図、 第12図は第6図における通常のり−ド/ライト動作説
明図、 第13図は本発明の第2の実施例構成図、第14[ff
lは従来の入出カシステムの構成図である。 図中、CT−人出力制御装置、la、lb、IC% t
d、c、A−・・チャネルアダプタ(上位側転送部) 
、2a、2b、2c、2d、DA−デバイスアダプタ(
下位側転送部)、3.4・−キャ・7シユメモリ部、5
−テーブルストレッジ(選択排他制御部) 、9−D 
A S D (入出力装置)。
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a configuration diagram of the first embodiment of the invention, Fig. 3 is an internal block diagram of the channel adapter in the configuration shown in Fig. 2, and Fig. 4 is the configuration shown in Fig. 2. Figure 5 is an internal block diagram of the cache processor in the configuration shown in Figure 2, Figure 6 is an explanatory diagram of the overall operation in the configuration shown in Figure 2, and Figure 7 is the DA/device selection in Figure 6. Figure 8 is a diagram explaining the staging operation in Figure 6. Figure 9 is a diagram explaining the human selection operation in Figure 6.
1) is an explanatory diagram of the read/write operation in FIG. 6; FIG. 12 is an explanatory diagram of the normal read/write operation in FIG. 6; The figure is a configuration diagram of the second embodiment of the present invention, the 14th [ff
1 is a configuration diagram of a conventional input/output system. In the figure, CT-human output control device, la, lb, IC% t
d, c, A-...Channel adapter (upper side transfer section)
, 2a, 2b, 2c, 2d, DA-device adapter (
lower side transfer section), 3.4.-ca.7 memory section, 5
-Table storage (selection exclusive control unit), 9-D
ASD (input/output device).

Claims (4)

【特許請求の範囲】[Claims] (1)上位側からのアクセス要求に応じて該要求のあっ
た入出力装置のデータを該上位側に転送する入出力制御
装置であって、 該上位側からのアクセス要求に応じ該入出力装置のデー
タを該上位側に転送する該上位側に接続された上位側転
送部と、 該入出力装置のデータを格納しておくためのキャッシュ
メモリ部と、複数の該入出力装置に接続され、該入出力
装置のデータを該キャッシュメモリ部に転送する下位側
転送部と、 該上位側転送部の管理下に置かれ、該複数の入出力装置
を共用する複数の該上位側からのアクセス要求に対し該
入出力装置の選択排他制御を行う選択排他制御部とを含
み、 該上位側転送部が該上位側のアクセス要求に応じて該キ
ャッシュメモリ部を参照し、該要求するデータが存在す
るかを調べ、該データの存在有無に応じて該キャッシュ
メモリ部の該データ又は該下位側転送部を介して該入出
力装置を選択して得たデータを転送することを特徴とす
る入出力制御装置。
(1) An input/output control device that transfers data of the requested input/output device to the higher level side in response to an access request from the higher level side, the input/output device in response to an access request from the higher level side. an upper-side transfer unit connected to the upper-layer side that transfers the data of the input-output device to the upper-layer side; a cache memory unit connected to the plurality of input-output devices; A lower-side transfer unit that transfers data of the input/output device to the cache memory unit; and access requests from a plurality of the upper-side transfer units that are placed under the management of the upper-side transfer unit and share the plurality of input/output devices. a selection exclusive control unit that performs selection exclusive control of the input/output device, and the higher-level transfer unit refers to the cache memory unit in response to an access request from the higher-level side, and the requested data exists. The input/output control is characterized in that the data in the cache memory unit or the data obtained by selecting the input/output device via the lower transfer unit are transferred depending on whether or not the data exists. Device.
(2)前記上位側転送部が複数の上位側転送ユニットで
構成されるとともに、 前記下位側転送部が各々前記複数の入出力装置に接続さ
れる複数の下位側転送ユニットで構成されたことを特徴
とする特許請求の範囲第(1)項記載の入出力制御装置
(2) The upper transfer unit is composed of a plurality of upper transfer units, and the lower transfer unit is composed of a plurality of lower transfer units each connected to the plurality of input/output devices. An input/output control device according to claim (1).
(3)前記上位側転送部、前記下位側転送部、前記キャ
ッシュメモリ部及び前記選択排他制御部が共通バスによ
って接続されたことを特徴とする特許請求の範囲第(1
)項記載の入出力制御装置。
(3) The upper transfer unit, the lower transfer unit, the cache memory unit, and the selection exclusive control unit are connected by a common bus.
) Input/output control device described in section 2.
(4)前記上位側転送部が前記キャッシュメモリ部の参
照の結果、前記下位側転送部を介して前記入出力装置を
選択した時は、該入出力装置からのデータを該下位側転
送部が該キャッシュメモリ部に転送して格納しておくこ
とを特徴とする特許請求の範囲第(1)項記載の入出力
制御装置。
(4) When the upper transfer unit selects the input/output device via the lower transfer unit as a result of referencing the cache memory unit, the data from the input/output device is transferred to the lower transfer unit. The input/output control device according to claim 1, wherein the input/output control device transfers and stores the data in the cache memory section.
JP60027674A 1985-02-15 1985-02-15 I / O controller Expired - Fee Related JPH0724042B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60027674A JPH0724042B2 (en) 1985-02-15 1985-02-15 I / O controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60027674A JPH0724042B2 (en) 1985-02-15 1985-02-15 I / O controller

Publications (2)

Publication Number Publication Date
JPS61187060A true JPS61187060A (en) 1986-08-20
JPH0724042B2 JPH0724042B2 (en) 1995-03-15

Family

ID=12227497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60027674A Expired - Fee Related JPH0724042B2 (en) 1985-02-15 1985-02-15 I / O controller

Country Status (1)

Country Link
JP (1) JPH0724042B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961788B2 (en) * 2002-04-26 2005-11-01 Hitachi, Ltd. Disk control device and control method therefor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58155464A (en) * 1981-11-27 1983-09-16 ストレ−ジ・テクノロジ−・コ−ポレ−シヨン Detection of sequential data stream
JPS6019260A (en) * 1983-07-13 1985-01-31 Mitsubishi Electric Corp Disk cache system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58155464A (en) * 1981-11-27 1983-09-16 ストレ−ジ・テクノロジ−・コ−ポレ−シヨン Detection of sequential data stream
JPS6019260A (en) * 1983-07-13 1985-01-31 Mitsubishi Electric Corp Disk cache system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961788B2 (en) * 2002-04-26 2005-11-01 Hitachi, Ltd. Disk control device and control method therefor

Also Published As

Publication number Publication date
JPH0724042B2 (en) 1995-03-15

Similar Documents

Publication Publication Date Title
US8041909B2 (en) Disk array system and method for migrating from one storage system to another
US5802345A (en) Computer system with a reduced number of command end interrupts from auxiliary memory unit and method of reducing the number of command end interrupts
US5867686A (en) High speed real-time information storage system
US6009498A (en) Disk control unit for holding track data in cache memory
US5202887A (en) Access control method for shared duplex direct access storage device and computer system therefor
US4593354A (en) Disk cache system
US7500059B2 (en) Inter-processor communication method using a shared cache memory in a storage system
JP2000056931A (en) Storage management system
US6101574A (en) Disk control unit for holding track data in non-volatile cache memory
JP3617631B2 (en) Storage control apparatus and control method thereof
JP3690295B2 (en) Disk array controller
JPH1031561A (en) Data multiplying method, information processor, and storage subsystem
US5363498A (en) Method of controlling shared data among computers
JPS61187060A (en) Input/output controller
US6574589B1 (en) Information processing system for sharing internal auxiliary storage device
US6988166B1 (en) Method for snooping raid 1 read transactions by a storage device
JP3719976B2 (en) Duplex controller configuration disk storage system controller and disk storage system in which the controller is duplicated
JP3141948B2 (en) Computer system
JPS6113261B2 (en)
JP3918077B2 (en) Storage controller control method
JP2001067188A (en) Data duplication system
JP2994917B2 (en) Storage system
JPS6230108Y2 (en)
JPS6319856Y2 (en)
JPS6319855Y2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees