JPH0325643A - Disk controller - Google Patents
Disk controllerInfo
- Publication number
- JPH0325643A JPH0325643A JP1161511A JP16151189A JPH0325643A JP H0325643 A JPH0325643 A JP H0325643A JP 1161511 A JP1161511 A JP 1161511A JP 16151189 A JP16151189 A JP 16151189A JP H0325643 A JPH0325643 A JP H0325643A
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- control circuit
- disk
- read
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000000872 buffer Substances 0.000 claims abstract description 125
- 230000004044 response Effects 0.000 claims description 4
- 238000007726 management method Methods 0.000 description 40
- 230000004913 activation Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 125000000174 L-prolyl group Chemical group [H]N1C([H])([H])C([H])([H])C([H])([H])[C@@]1([H])C(*)=O 0.000 description 5
- 238000013500 data storage Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はディスク制御装置、特に複数の甲央処理装置に
接続されているディスク制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a disk control device, and particularly to a disk control device connected to a plurality of central processing devices.
従来、この種のディスク制御装置は、第3図にブロック
図を示すように、ホストインク7エースバス105を介
して複数の中央処理装置101,〜104に接続されて
いて、中央処理装置101,〜104との間でデータ釦
よび命令1aの送受を行なう。インタフェース回路10
6はホストインタ7エースバス105、制御回路307
およびパッファ読出し制御回路309に接続されており
、ホストインタフェースバス105上の情報3bを制御
回路307に送シ、1た逆に制御回路307からのデー
タパス接続指示信号3Cの受信によ9バ,ファ読出し匍
j御回路309からのデータをホストインタフェースバ
ス105に送出する機能を持っている。Conventionally, this type of disk control device is connected to a plurality of central processing units 101, - 104 via a host ink 7 ace bus 105, as shown in the block diagram in FIG. The data button and command 1a are sent and received between the terminals 104 and 104. Interface circuit 10
6 is host interface 7 ace bus 105, control circuit 307
and the buffer readout control circuit 309, and transmits the information 3b on the host interface bus 105 to the control circuit 307, and conversely, receives the data path connection instruction signal 3C from the control circuit 307. It has a function of sending data from the readout control circuit 309 to the host interface bus 105.
制御同路307はインタフェース回路106から送られ
るホストインタフェースバス105上の情報3bを入力
とし、命令、要求ブロックアドレスkよひホスト番号を
取出し、ディスク制御装置313の全体的な動作制御を
行う回路である。即ち、バ,ノアアドレス管理回路30
8へはホストの要求ブロックアドレス3dを送出し,バ
ッファアドレス管理回路308から受取った要求プロ,
ク有無信号3eの内容が「要求ブロック有り」を示す場
合は、インク7エース回路306に対してデータパス接
続指示信号3Cを、「要求プロ,夕無し」を示す場合は
、ディスク献出し制御回路312に対して読出し命令3
fを送出する機能を有する。バ,ファアドレス管理回路
308は制御回路307からの要求プロ,クアドレス信
号3dを入力として、要求プロ,クのデータがデータバ
ッファ310の中に既に存在するか検査し,存在する場
合は、制御回路307へ送出する要求プロ,ク有無信号
3Cの内容を「要求プロ,ク有り」にし、存在しない場
合は要求プロ,ク有無信号3eの内容を「要求プロ,ク
無し」にそれぞれ設定する。「要求プロ,ク有シ」に設
定した場合はさらにバ,ファ読出し制御回路309に対
して要求プロ,クのデータが存在するデータパッファ3
10内のアドレスとデータバッ77310からの読出し
データ3jをインタフェース回路106へ転送する起動
信号とからなる信号3gを送出する。「要求プロ,ク無
し」に設定した場合はディスク読出し制御回路312か
らのデータ3eをデータバ,77310へ転送する起動
信号とデータの書込みアドレスとからなる信号3hを送
出する。さらにバ,7ア書込み制御回路311から1込
み完了信号3mを受取った場合、要求されたプロ,クア
ドレスをデータバッファ310に存在するとして登録後
、制御回路307に対して登録完了信号3n卆送出する
。データバッファ310ぱディスク装置からのデータを
格納するバッ7アである。バッ7ア帯込み制御回路31
1ぱディスク読出し,制御回路312からのデータ3l
をバック〒アドレス管理回路308からのデータバッフ
ァアドレスおよび転送起動信号を受けてデータパ,ファ
310へ書込み転送を行う回路である。またデータバッ
ファ310への4F込み転送が完了後,バ,ノアアドレ
ス管理同路308に対して書込.み完了信号3mを送出
する0ディスク読出し制御回路3 1 2#′i.ディ
スク装置からのデータ読出しに必要な制御信号を発生す
る[ijl路で、ディスク装置からの絖出しデータ3l
をバ,7ア書込み制御回路311へ送出する。The control circuit 307 is a circuit that receives the information 3b on the host interface bus 105 sent from the interface circuit 106, extracts the command, request block address k, and host number, and controls the overall operation of the disk controller 313. be. That is, the address management circuit 30
The request block address 3d of the host is sent to 8, and the request block address 3d received from the buffer address management circuit 308 is sent to
If the content of the block presence/absence signal 3e indicates "request block present", the data path connection instruction signal 3C is sent to the ink 7 ace circuit 306; if the content indicates "request block, no data path", the disk dedication control is sent. Read command 3 to circuit 312
It has the function of sending f. The buffer address management circuit 308 inputs the request program address signal 3d from the control circuit 307 and checks whether the data of the request program already exists in the data buffer 310. The content of the request program presence/absence signal 3C sent to the circuit 307 is set to "request program, program present", and if it does not exist, the content of the request program, program presence/absence signal 3e is set to "request program, program absent". If it is set to "request pro, ku", the data buffer 3 in which the data of the request pro, ku exists for the buffer readout control circuit 309.
10 and an activation signal for transferring read data 3j from data buffer 77310 to interface circuit 106. When set to "no request program", a signal 3h consisting of an activation signal for transferring data 3e from the disk read control circuit 312 to the data bar 77310 and a data write address is sent. Further, when receiving the 1 write completion signal 3m from the write control circuit 311, the requested program address is registered as existing in the data buffer 310, and then a registration completion signal 3m is sent to the control circuit 307. do. The data buffer 310 is a buffer that stores data from the disk device. Buffer loading control circuit 31
1P disk reading, data 3l from control circuit 312
This circuit receives the data buffer address and transfer start signal from the address management circuit 308 and performs write transfer to the data buffer 310. Also, after the 4F write transfer to the data buffer 310 is completed, a write is made to the address management path 308. 0 disk read control circuit 3 1 2 #'i. Generates control signals necessary for reading data from the disk device.
is sent to the write control circuit 311.
このような従来のディスク制御装置において、中央処理
装#.101からの読出し命令によ#)%要求プロ,ク
アドレスのデータが中央処理装R101へ送られる屯の
過程を、データが既にテータバ,ファ310に存在する
場合と存在しない場合とについて説明する。まず、要求
ブロックのデータがデータバッファ310に存在する場
合、中央処理装mioiからホストインタフェースバス
105%インタフェース回路106を経由して読出し命
令釦よび要求プロ,クアドレス3bが制御回路307へ
送られる。制御回路307は送られてきた命令Dよび要
求プロ,クの解析を行いバッ7アアドレス管理回路30
8へ要求プロ,クアドレス3dを送出する。バ,ファア
ドレス管理向路308は送られてきた要求プロ,クアド
レスのデータがデータバッ773 1 0内に存在する
か検査し、存在する場合は要求プロ,ク有無信号3eの
内容を「要求ブロック有シ」として制御回路307に送
出する。制御回路307は要求プロ,ク有無信号3eの
内容が「要求プロ,ク有シ」であるとインタフェース回
路306へデータパス接続指示信号3cを送出する。バ
ッ7アアドレス管理回路308はバ,7ア読出し制御回
路309に要求プロ,クのデータが存在するアドレスを
送り、その後データバッファ310からの読出しデータ
3jをインタフェース回路106へ送る転送動作の起動
信号3gを送出する。バ,7ア読出し制御回路309は
送られて来たアドレスのバッ7アデータをインタフェー
ス回路106に送り、データはホストインタフェースパ
ス105を経由して中央処理装置101へ送られる。次
に、中央処理装置101からの要求プロ,クアドレスの
データがデータバッファ310内に存在しない場合、中
央処理装置101からの命令シよび要求プロ,クが制御
回路307へ送られる迄は前記の通やで有る。制御回路
307は送られてきた命令pよび要求プロ,クの解析を
行い、バ,7アアドレス管理回路308へ要求プロ,ク
アドレス3dを送出する0バッ7アアドレス管理回路3
08ぱ送られてきた要求ブロックアドレスのデータがデ
ータバッファ310内に存在するか検査し、存在しない
場合Fi.要求プロ,ク有無信号3Cの内容を「要求プ
ロ,ク無し」として制御回路307へ返送する。さらに
、バッファアドレス管理回路308は読出しデータの格
納アドレスと書込み転送の起動信号とを内容とする信号
3hをバ,ファアドレス書込み制御回路311へ送出し
,ディスク読出し制御回路312からの読出しデータ3
lを待つ。制御回路307はバッ7アアドレス管理回路
308からの前記信号にようディスク読出し制御回路3
12へ要求ブロックの読出し命令3fを送出する。ディ
スク読出し制御回路312はディスク装置の要求プロ,
クのデータを読出しバ,ノア書込み制御回路311へ送
出する0送出されたデータ3lはバ,ファ書込み制御回
路311によりデータバッファ310へ書込まれる。バ
ッファ書込み制御回路311ぱ転送動作が完了すると、
バ,ファアドレス管理回路308へ書込み完了信号3m
を送出する。バ,ファアドレス管理回路308は書込み
完了信号3mの受信により最初に制御回路307から送
られてきた要求プロ,クアドレスをデータバッファ31
0内に存在するとして登録した後、制御回路307へ登
録完了信号3nを送出する。バ,7アアドレス管理回路
308はさらにバ,7ア読出し制御回路309に対しデ
ータバッファ310内のデータ格納アドレスとデータバ
,7−r3 1 0からインタフェース回路106への
抗出し転送の起動信号とからなる信号3gを送出する。In such a conventional disk control device, central processing unit #. The process in which the data of the requested program address is sent to the central processing unit R101 by a read command from the data server 101 will be explained with reference to cases where the data already exists in the data server 310 and cases where the data does not exist. First, when data of the requested block exists in the data buffer 310, a read command button and request program address 3b are sent from the central processing unit mioi to the control circuit 307 via the host interface bus 105% interface circuit 106. The control circuit 307 analyzes the sent command D and the request program, and sends the buffer address management circuit 30
Sends request pro and quad address 3d to 8. The buffer address management path 308 checks whether the data of the sent request program address exists in the data buffer 77310, and if it exists, the content of the request program presence signal 3e is changed to "request block address". It is sent to the control circuit 307 as "Yes". The control circuit 307 sends a data path connection instruction signal 3c to the interface circuit 306 when the content of the request program presence/absence signal 3e is "request program presence/absence". The buffer address management circuit 308 sends the address where the requested program data exists to the buffer read control circuit 309, and then sends a transfer operation activation signal to send the read data 3j from the data buffer 310 to the interface circuit 106. Sends out 3g. The buffer read control circuit 309 sends the buffer data of the received address to the interface circuit 106, and the data is sent to the central processing unit 101 via the host interface path 105. Next, if the data of the request program address from the central processing unit 101 does not exist in the data buffer 310, the above-mentioned processing is performed until the command command and request program address from the central processing unit 101 are sent to the control circuit 307. I know it. The control circuit 307 analyzes the sent command p and the request program address, and sends the request program address 3d to the address management circuit 308.
Fi.08 checks whether the data of the requested block address sent by Fi. The content of the requested program presence/absence signal 3C is returned to the control circuit 307 as "no requested program". Furthermore, the buffer address management circuit 308 sends a signal 3h containing the storage address of the read data and a write transfer start signal to the buffer address write control circuit 311, and the buffer address management circuit 308 sends the signal 3h containing the storage address of the read data and the start signal of the write transfer to the buffer address write control circuit 311.
Wait for l. The control circuit 307 controls the disk read control circuit 3 according to the signal from the buffer address management circuit 308.
A request block read command 3f is sent to the request block 12. The disk read control circuit 312 is a disk device request processor,
The sent data 3l is written to the data buffer 310 by the buffer write control circuit 311. When the buffer write control circuit 311 completes the transfer operation,
Write completion signal 3m to the buffer address management circuit 308
Send out. Upon reception of the write completion signal 3m, the buffer address management circuit 308 transfers the requested program address sent from the control circuit 307 to the data buffer 30.
After registering as existing within 0, a registration completion signal 3n is sent to the control circuit 307. The bar, 7 address management circuit 308 further sends the data storage address in the data buffer 310 to the bar, 7 a read control circuit 309 from the data storage address in the data buffer 310 and the activation signal for the transfer from the data bar, 7-r3 1 0 to the interface circuit 106. It sends out a signal 3g.
ディスク制御回路307は登録完了信号3nの受信によ
りインタ7工一ス回路106ヘデータバス接続指示信号
3Cを送出する。バ,ファ読出し制御回路309はデー
タパッファ310からの読出しデータ3Kをインタフェ
ース回路106を経由して中央処理装置101へ送出す
る。Upon receiving the registration completion signal 3n, the disk control circuit 307 sends a data bus connection instruction signal 3C to the interface circuit 106. The buffer read control circuit 309 sends the read data 3K from the data buffer 310 to the central processing unit 101 via the interface circuit 106.
次に、中央処理装置からの要求ブロックのデータがデー
タバ,77310になくディスクから新たに読出す必要
がある場合のデータ格納アドレスの決め方について説明
する。第4図はデータバッファとして8つのプロ,ク分
のデータを持つデータバッファ310のアクセス順序と
データバッファの内容について説明する図である。第4
図にシいて符号401は同じ中央処理装置内でデータブ
ロックが要求された順序を示す番号で番号の小さ〜い程
過去に行なわれたことを示す。符号402はデータブロ
ックの内容を要求した中央処理装置の番号である。符号
403は中央処理装置からの読出し命令の要求順を示す
番号で番号の小さい程過去に行われたことを示す。符号
404 ,405はバ,7アブロックを示す。第4図f
a)はディスク制御装置313に対して中央処理装fi
101,102,103,104,104,102,1
02,103の順に要求されたデータバッ7アが全てデ
ータで充たされている状、轢を示す。(a)の状態で中
央処理装置103から3回目の読出し要求があり、かつ
要求プロ,クアドレスが1,2回目と異なっている場合
は、バ,7アアドレス管理回路308は第41留(b)
のように以前中央処理装[101のデータの格納されて
いたパ,ファブロック404を中央処理i[103の3
回目のデータ用アドレスとして割当てる。つ筐り、新た
な要求プロ,クの格納アドレスとして、要求された時点
でもっとも過去の要求により使用されたバ,7アブロッ
クを割当てている。この(b)の状態で中央処理装#.
101から(a)のバ,ファブロック405のデータと
同じ要求ブロックの読出し要求が来るとデータバッファ
310には既にデータがないため、前述の手11mによ
りディスク装置からの読出し動作が必要となって来る。Next, how to determine the data storage address when the data of the requested block from the central processing unit is not in the data bar 77310 and needs to be newly read from the disk will be explained. FIG. 4 is a diagram illustrating the access order and contents of the data buffer 310 having data for eight programs as a data buffer. Fourth
In the figure, reference numeral 401 indicates the order in which data blocks were requested within the same central processing unit, and the smaller the number, the earlier the requests were made. Reference numeral 402 is the number of the central processing unit that requested the contents of the data block. Reference numeral 403 is a number indicating the order of requests for read commands from the central processing unit, and the smaller the number, the more recently the read commands have been executed. Reference numerals 404 and 405 indicate ba and 7 a blocks. Figure 4 f
a) is the central processing unit fi for the disk control device 313;
101, 102, 103, 104, 104, 102, 1
The data buffers 7 requested in the order of 02 and 103 are all filled with data. If there is a third read request from the central processing unit 103 in state (a), and the requested program address is different from the first and second requests, the bar, address management circuit 308 will send the address to the 41st address ( b)
As shown in FIG.
Assigned as the second data address. As a storage address for a new request block, the block used by the most recent request at the time of the request is assigned. In this state (b), central processing unit #.
When a read request for the same request block as the data in the buffer block 405 in (a) comes from the buffer block 101, since there is no data in the data buffer 310, it is necessary to perform a read operation from the disk device by the above-mentioned step 11m. come.
このため中央処理装置101は要求ブロックのデータを
得るまでに(a)のときよりも長時間を要することとな
る。このようにもしディスク制御装置313へのアクセ
ス@度が中央処理装遭によりばらつくとアクセス頻度の
高い中央処理装置はデータを高速にアクセスできるが、
池の中央処理装置はこの影響でアクセスが遅くなるよう
になっている。Therefore, the central processing unit 101 requires a longer time than in case (a) to obtain the data of the requested block. In this way, if the degree of access to the disk control unit 313 varies depending on the central processing unit, the central processing unit with high access frequency can access data at high speed.
As a result of this, access to the pond's central processing unit becomes slow.
以上説明したように従来のディスク制御装置では、′!
j′rたな要求プロ,クに対するデータバッファ内の格
納アドレスの割当てに釦いて、空きが無い場合は要求順
番のみで消去するプロ,クを決めてかり、このため中央
処理装置のアクセス頻度によりデータバッファ内に要求
プロ,クの存在する割合が中央処理装置ごとに異なウ、
各中央処理装置から見るとディスク装置の処理能力が異
なってしまうという第1の問題点がある。さらに他の中
央処理装置ようアクセス頻度の低い中央処理装置では同
じデータブロックへの繰返しアクセスでも、毎回ディス
クから読出す必要があシ、処理能力が極端に低下すると
いう第2の問題点がある。As explained above, in the conventional disk control device, ′!
By allocating storage addresses in the data buffer to each request program, if there is no free space, the program to be erased is determined based only on the request order, and therefore, depending on the access frequency of the central processor. The ratio of request programs in the data buffer varies depending on the central processing unit.
The first problem is that the processing capabilities of the disk devices differ from the perspective of each central processing unit. Furthermore, in a central processing unit such as another central processing unit that has low access frequency, even if the same data block is accessed repeatedly, it is necessary to read data from the disk each time, resulting in a second problem that processing performance is extremely reduced.
本発明のディスク制御装置は、ホスト装置からのディス
クデータ読出し要求に対し、データバッファ内に要求デ
ータブロックが有るか検査し、有る場合はデータバッフ
ァ内に存在する要求データブロックのデータを、無い場
合はディスク装置から要求データブロックのデータを読
出して得たデータをそれぞれホスト装置へ送出する複数
のホスト装置に接続されたディスク制御装置に卦いて、
ディスク装置からの読出しデータを格納し対応ホスト装
置へのデータ送出元となるホスト装置に対応して配設さ
れたデータバッ7アと、このデータパ,ファの内容が以
前にホスト装置から要求されたデータブロックのデータ
により閉塞されていて、新たに要求されたデータブロッ
クのデータを格納する空領域が無い場合はこのデータバ
ッ7アのうち最も古く格納されたデータブロックの格納
領域を要求されたデータブロックの格納領域とするホス
ト装置に対応して設けられた格納制御手段とを有するこ
とにより構成される。In response to a disk data read request from a host device, the disk control device of the present invention checks whether there is a requested data block in the data buffer, and if there is, the data of the requested data block that exists in the data buffer is transferred, and if there is not, the disk control device checks whether the requested data block exists in the data buffer. is a disk control device connected to a plurality of host devices that reads data of a requested data block from a disk device and sends the obtained data to each host device.
A data buffer is provided corresponding to the host device that stores read data from the disk device and sends the data to the corresponding host device, and the contents of this data buffer are the data previously requested by the host device. If a block is blocked by data and there is no free space to store the data of a newly requested data block, the storage area of the oldest data block in this data buffer will be used to store the data of the requested data block. and a storage control means provided corresponding to the host device serving as the storage area.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のプロ,ク図である。FIG. 1 is a schematic diagram of one embodiment of the present invention.
第1図にトいて中央処理装置101,〜104はディス
ク制御装111 1 9に接続されたホスト装置で、ホ
ストインタフェースバス105はホスト装置とディスク
制御装置l1!3との間でデータトよび命令が送られる
バスである。インタフェース回路106はホストイ/タ
フェースバス105、制御回路107>よびバ,7ア読
出し制御同路112と接続されておシ、ホストインク7
エースバス105上の情報1bを制御回路107に送シ
、また逆に制御回路107からのデータバス接続指示信
号ICの受信によりバッファ読出し制御同路112から
のデータ1fをホストインタフェースバス105へ送出
する機能を持っている。制御回路107ぱイ/タ7エー
ス回路106から送られるパス上の情報1bを入力とし
、命令、要求プロ,クアドレスkよびホスト装置の番号
を取出しディスク制御装置119の全体的な動作制御を
行う回路である。即ち、バ,7アアドレス管理回路10
8〜111ヘホスト装置の要求プロ,クアドレスレよび
ホスト装置の番号を含む信号1dを送出し、バ,ファア
ドレス管理回路108〜111から声求ブロ,ク有無信
号1e>よび登録完了信号lxを受取る。さらに要求プ
ロ,ク有無信号1eの内容が「要求プロ,ク有シ」を示
す場合はインタフェース回路106ヘデータバス接続指
示信号ICを送出する。要求プロ,ク有無信号1eの内
容が「要求プロ,ク無し」を示す場合は、ディスク読出
し制御回路118へ読出し命令を送出した後に,バ,7
アアドレス管理回路108〜111からの登録完了信号
1zを受信することにより、インタ7エース回路106
ヘデータバス接続指示信号ICを送出する。バッファア
ドレス管理回路108〜111は制御回路107からの
要求プロ,クアドレスかよびホスト装置の番号よりなる
信号1dを入力とし、ホスト装置の香号によりバ,ファ
アドレス管理回路108〜111から対応した0とつの
バ,7アアドレス管理回路が選択され、ホスト装置の番
号に対応したデータバッファ内に要求プロ,クのデータ
が存在するか検査する回路である。データバッファ内に
存在する場合は制御回路107へ要求プロ,ク有無信号
1eの内容を「要求プロ,ク有シ」として送出し、パ,
7ア読出し制御回路112に対してバッファ番号(デー
タハッ7ア114〜117のうちホストに対応したもの
を選択するための番号)紫含むデータの転送元アドレス
とバ,7ア読出し転送の起動信号とからなる信号1gを
送出する。データバッファ内に存在しない場合は要求プ
ロ,ク有無信号1eの内容を「要求プロ,ク無し」とし
て制御回路107へ送出後、パッファ書込み制御回路1
13ヘバ,7丁番号を含むデータ格納アドレスとディス
ク装置からの読出しデータ1xの誉込み起動信号とから
なる信号(Ik〜1nのうちのいずれか)をパッファ書
込み制御回路113へ送出する。信号1k〜1nはバッ
ファ書込み制御回路113からの書込み完了信号も含む
双方向の信号である。バッ7ア書込み制御回路113か
らの書込み完了信号1k〜1nを受取ると,バ,7アア
ドレス管理回路108〜111のうち「要求プロ,ク無
し」を送出したものは、「要求プロ,ク無し」としたプ
ロ,クアドレスを存在するとして内部登録し、制御回路
107に登録完了信号1zを送出する。さらに、バッ7
ア読出し制御回路112に対してバ,ファ番号を含むデ
ータバッ7アアドレスと読出し転送起動信号とを含む信
号1g〜1jを送出する。In FIG. 1, central processing units 101 to 104 are host devices connected to disk controllers 111, 1, and 9, and a host interface bus 105 is used to exchange data and commands between the host devices and disk controllers l1!3. This is the bus that will take you there. The interface circuit 106 is connected to the host interface bus 105, the control circuit 107 and the read control circuit 112, and the host ink 7.
Sends the information 1b on the ace bus 105 to the control circuit 107, and conversely sends the data 1f from the buffer read control path 112 to the host interface bus 105 by receiving the data bus connection instruction signal IC from the control circuit 107. It has a function. The control circuit 107 takes as input the information 1b on the path sent from the P/A 7 Ace circuit 106, extracts the command, request program, quad address k, and host device number, and controls the overall operation of the disk control device 119. It is a circuit. That is, the address management circuit 10
It sends a signal 1d including the host device's request program, quad address, and host device number to 8-111, and receives a solicitation block, que presence/absence signal 1e>, and registration completion signal lx from the buffer address management circuits 108-111. Further, when the content of the request program, block presence signal 1e indicates "request program, block presence", a data bus connection instruction signal IC is sent to the interface circuit 106. If the content of the request program presence signal 1e indicates "no request program, program", after sending the read command to the disk read control circuit 118,
By receiving the registration completion signal 1z from the address management circuits 108 to 111, the interface 7 ace circuit 106
A data bus connection instruction signal IC is sent to the data bus connection instruction signal IC. The buffer address management circuits 108 to 111 receive a signal 1d consisting of the requested program address and the host device number from the control circuit 107, and respond from the buffer address management circuits 108 to 111 according to the name of the host device. This circuit selects the 0 and 7 address management circuits and checks whether the requested program data exists in the data buffer corresponding to the host device number. If the data exists in the data buffer, the content of the request program presence signal 1e is sent to the control circuit 107 as "request program, program presence";
7A For the read control circuit 112, the buffer number (data number for selecting the one corresponding to the host among 7A 114 to 117), the transfer source address of the data including purple, and the start signal for the 7A read transfer. A signal 1g consisting of If the data does not exist in the data buffer, the content of the request program presence signal 1e is sent to the control circuit 107 as "no request program, program", and then the buffer write control circuit 1
A signal (any one of Ik to 1n) consisting of a data storage address including the No. 13 and No. 7 numbers and an activation signal for reading data 1x from the disk device is sent to the puffer write control circuit 113. Signals 1k to 1n are bidirectional signals that also include a write completion signal from buffer write control circuit 113. Upon receiving the write completion signals 1k to 1n from the buffer write control circuit 113, the buffer address management circuits 108 to 111 that have sent out "request program, no block" output "request program, no block". ” is internally registered as existing, and a registration completion signal 1z is sent to the control circuit 107. In addition, bat 7
Signals 1g to 1j including a data buffer address including a buffer number and a read transfer activation signal are sent to the data buffer read control circuit 112.
パ,7ア読出し制御回路112ぱ絖出し転送制御回路で
.バ,7アアドレス管理回路108〜111からのバッ
7ア番号を含むバ,ファアドレスと読出し転送の起動信
号とからなる信号1g〜1jを受取り、指定されたバ,
ファアドレスのデータlo〜1rをインタフェース回路
106へ送出する。7A readout control circuit 112 is the output transfer control circuit. Receives signals 1g to 1j consisting of a buffer address including a buffer number and a read transfer activation signal from the buffer address management circuits 108 to 111, and transfers signals 1g to 1j to the specified buffer address.
The interface circuit 106 sends the data lo to 1r of the forward address to the interface circuit 106.
バ,ファ書込み制御回路113はディスク読出し制御回
路118からの読出しデータIXをデータバッファ11
4〜117へ書込み転送する制御回路である。データバ
,77114〜117tfホスト装置の番号に対応し、
ディスク装置からのデータを格納するためのデータバッ
ファである。ディスク読出し制御回路118は制御回路
107からのデータ読出し命令を受け、ディスク装置の
データを読出し、バッファ書込み制御回路113へ供給
する回路である。The buffer write control circuit 113 transfers the read data IX from the disk read control circuit 118 to the data buffer 113.
This is a control circuit that performs write transfer to 4-117. Data server, 77114-117tf corresponds to the host device number,
This is a data buffer for storing data from a disk device. The disk read control circuit 118 is a circuit that receives a data read command from the control circuit 107, reads data from the disk device, and supplies the read data to the buffer write control circuit 113.
次に、実施例において中央処理装t101からの読出し
命令により要求プロ,クのデータが中央処理装fill
O 1へ送られる迄の過程を、要求プロ,クのデータ
がデータバ,7, 1 1 4に存在する場合と、存在
しない場合との2つの場合について説明する。Next, in the embodiment, data of the request program is sent to the central processing unit t101 by a read command from the central processing unit t101.
The process up to being sent to O1 will be explained in two cases: a case where the data of the request program exists in the database 7, 114, and a case where it does not exist.
筐ず、要求プロ,クのデータが既に中央処理装置101
用のデータバッ7ア114に存在する場合について説明
する。中央処理装置101からホストインタフェースパ
ス105,インタフェース回路106を経由して読出し
命令かよび要求ブロ,クアドレス1bが制御回路107
へ送られる。The data of the request program has already been stored in the central processing unit 101.
The case where the data exists in the data buffer 114 will be explained. A read command and request block from the central processing unit 101 via the host interface path 105 and the interface circuit 106 and the quad address 1b are sent to the control circuit 107.
sent to.
制御回路107は送られて来た命令かよび要求プロ,ク
の解析を行いバ,7アアドレス管理回路108〜111
へ中央処理装置の番号「101(図面上の符号を中央処
理装置の番号とする)J>よび要求プロ,クアドレスを
含む信号1dを送出する。中央処理装置の番号がl’−
101Jであることから,バ,ファアドレス管理回路1
08〜111の内バッ7アアドレス管理回路108が選
択される。バ,7アアドレス管理回路108は要求プロ
,クアドレスを取込み中央処理装置の番号rioxJ用
のデータバッファ114内に前記プロ,クアドレスのデ
ータが存在するか検査する。存在する場合、バッ7アア
ドレス管理回路108は制御回路・107に対して要求
ブロック有無信号1eを「要求ブロック有シ」として返
送し、さらにバッ7ア読出し制御回路112ヘデータの
存在するバ,77番号、アドレスかよび読出し転送の起
動信号とからなる信号1gを送出する。一方、制御回路
107は要求プロ,ク有無信号1eの内容が「要求フロ
,ク有シ」であるので、インタフェース回路106へデ
ータバス接続指示信号1cを送出する。以上によう中央
処理装置101の要求プロ,クのデータがデータバッフ
ァ114から読出され信号i o, 1 f, 1
aL:7)IIi序でホストインタフェースバス10
5を経由して中央処理装置101へ送られる。The control circuit 107 analyzes the received command and request program, and sends the address management circuits 108 to 111.
Sends a signal 1d containing the central processing unit number "101 (the number on the drawing is the central processing unit number) J> and the request program and quad address to the central processing unit number l'-
Since it is 101J, the buffer address management circuit 1
The seven buffer address management circuits 108 from 08 to 111 are selected. The buffer/7 address management circuit 108 takes in the requested pro/quad address and checks whether data of the pro/quad address exists in the data buffer 114 for the central processing unit number rioxJ. If the buffer address management circuit 108 exists, the buffer address management circuit 108 returns the requested block presence/absence signal 1e to the control circuit 107 as "requested block present", and further sends the buffer address management circuit 108 to the buffer read control circuit 112 the buffer address management circuit 107 in which the data exists. A signal 1g consisting of a number, an address, and a read transfer start signal is sent. On the other hand, the control circuit 107 sends a data bus connection instruction signal 1c to the interface circuit 106 since the content of the request program presence/absence signal 1e is "request program presence/absence". As described above, the data of the request programs of the central processing unit 101 is read out from the data buffer 114 and the signals i o, 1 f, 1
aL: 7) Host interface bus 10 in IIi order
5 to the central processing unit 101.
次に,要求プロ,クのデータがデータバ,7T内に存在
しない場合について説明する。中央処理装置101から
の読出し命令レよび要求プロ,クが制御回路107へ送
られて、バ,7アアドレス管理回路108が選択され、
バ,ファアドレス管理回路108が要求プロ,クアドレ
スを受取る迄の過程は同様でちる。バ,7アアドレス管
理回路108は要求プロ,クアドレスにデータが中央処
理装置101用のデータバッファ114に存在しない場
合、要求プロ,ク有無信号1eの内容を「要求プロ,ク
無し」として制御回路107へ送出する0制御回路10
7は「要求プロ,ク無し」の内容を持つ要求ブロック有
無信号1eを受取るとディスク読出し制御回路118に
対して要求プロ,夕の読出し命令を送出する。またパッ
ファアドレス管理回路108はディスク装置からの読出
しデータを格納するデータバ,771 1 4内のアド
レスを割当て、アドレスとディスクデータの書込み転送
の起動信号とを含む信号1kをバ,7ア書込み制御回路
113へ送出する。ディスク読出し制御回路118から
のデータ1xが以上にようデータバッファ114に薔込
筐れる。バ,ファ書込み制御回路i13はバ,7アへの
書込み転送が完了すると、パッ7アアドレス管理回路1
08に対して書込み完了信号1kを通知する。バ,ファ
アドレス管理回路108はバ,ファ書込み制御回路11
3からの書込み完了信号1kの受信によυ、存在しない
としていた要求プロ,クアドレスを存在するとして内部
登録し、制御回路107に対して登録完了信号1zを送
出する。さらにバ,7ア読出し制御回路112に対して
ディスクからの読出しデータ格納用に割シ当てたデータ
バッ7ア114内のアドレス、データバッ7ア114を
示すバ,77番号訟よびバ,7アからの読出し転送の起
動信号とからなる信号igを送出する。制御回M107
は登録完了信号1zの受信によう、インタフェース回路
106ヘデータバス接続指示信号1cを送出する。以上
により中央処理装置101の要求プロ,クのデータがデ
ィスク装置から読出され、データバッファ114を経由
して中央処理装置101へ送られる。Next, a case will be explained in which the data of the request program does not exist in the database 7T. The read command and request program from the central processing unit 101 are sent to the control circuit 107, and the address management circuit 108 is selected.
The process up to the time when the server address management circuit 108 receives the requested program address is the same. If data at the requesting program address does not exist in the data buffer 114 for the central processing unit 101, the buffer address management circuit 108 controls the content of the requesting program presence signal 1e as "no requesting program," 0 control circuit 10 sending to circuit 107
Upon receiving the request block presence/absence signal 1e with the contents of "request program, no block", block 7 sends a request program, evening read command to the disk read control circuit 118. In addition, the puffer address management circuit 108 allocates an address in the data bar 771 1 4 that stores read data from the disk device, and sends a signal 1k containing the address and a start signal for write transfer of disk data to the data bar 771 1 to the write control circuit 108 . 113. Data 1x from the disk read control circuit 118 is stored in the data buffer 114 as described above. When the write transfer to the buffers and 7a is completed, the buffer write control circuit i13 transfers the data to the buffer address management circuit 1
08 is notified of the write completion signal 1k. The buffer address management circuit 108 is the buffer write control circuit 11.
Upon receiving the write completion signal 1k from the controller 3, the request program address which was assumed to be non-existent is internally registered as existing, and a registration completion signal 1z is sent to the control circuit 107. Furthermore, the address in the data buffer 114 assigned to the read control circuit 112 for storing read data from the disk, the address in the data buffer 114 indicating the data buffer 114, and the address from the bar, 7a. A signal ig consisting of a read transfer activation signal is sent. Control time M107
In response to receiving the registration completion signal 1z, the data bus connection instruction signal 1c is sent to the interface circuit 106. As described above, the data of the request programs of the central processing unit 101 is read from the disk device and sent to the central processing unit 101 via the data buffer 114.
次に、複数のホストからの読出し命令により、各ホスト
装置に対応したデータバッファ114〜117の内容が
どのようになるかを第2図を参照して説則する。第2図
(a)νよび(b)はそれぞれデータバッファの内容の
変化を示した図で、説明を簡略化するために第2図では
データバッファはそれぞれ2つのデータブロックを持つ
ものとしてある。Next, referring to FIG. 2, a description will be given of how the contents of the data buffers 114 to 117 corresponding to each host device change in response to read commands from a plurality of hosts. FIGS. 2(a) and 2(b) are diagrams showing changes in the contents of the data buffers. To simplify the explanation, each data buffer in FIG. 2 is assumed to have two data blocks.
第2図に釦いて符号201は同じ中央処理装置からの要
求順を示す査号、符号202は中央処理装置の番号を示
す第1図に対応した番号、符号203はディスク制御装
kll9に対する読出し要求順を示し、小さい程過去の
要求であることを示す番号、符号204、205ぱデー
タバッファ内のバッ7アプロ,クである。筐ず,(a)
に釦いて中央処理装置101〜104から中央処理装置
10l,102,102、103、104、104、1
03の順に読出し要求があった場合、各中央処理装置の
要求プロ,クアドレスのデータはそれぞれ中央処理装置
に対応したデータバッファに本図のように格納される。In FIG. 2, the symbol 201 indicates the order of requests from the same central processing unit, the symbol 202 indicates the number of the central processing unit corresponding to FIG. 1, and the symbol 203 indicates a read request to the disk controller kll9. The numbers 204 and 205 indicate the order, and the smaller the request, the older the request. Chikazu, (a)
button to switch from the central processing units 101 to 104 to the central processing units 10l, 102, 102, 103, 104, 104, 1.
When a read request is made in the order of 03, the data of the requested program and quad address of each central processing unit is stored in the data buffer corresponding to the central processing unit, as shown in the figure.
次に、8番目の読出し要求が中央処理装置102から出
された場合、バ,7アアドレス管理回路109は中央処
理装置102用に割当てられたデータバッファ115の
中で壕ず、要求プロ,クのデータが存在するか検査し、
存在しない場合はディスク装置からの読出しデータ格納
バ,7アブロ,クとしてバ,ファブロ,ク205を割当
てる。第2図(b)はこの8番目の要求プロ,クのデー
タがバッ7アプaヮク205に格納された後のデータバ
ッファ114〜117の内容を示す。Next, when the eighth read request is issued from the central processing unit 102, the buffer address management circuit 109 does not fill the data buffer 115 allocated for the central processing unit 102, and the request processor Check if the data exists,
If it does not exist, the server 205 is assigned as the read data storage server 7 from the disk device. FIG. 2(b) shows the contents of the data buffers 114-117 after the data of the eighth request program is stored in the buffer 205.
この後に,9番目の読出し要求が中央処理装置101か
ら出され、かつ要求プロ,クアドレスが同じ中央処理装
置の1番目の要求プロ,クアドレスと同じ場合は従来の
ディスク制御装置の場合と異なり、データバッファ内の
データは他の中央処理装置からの読出し要求により消去
されることがないため、直ちに中央処理装置へ転送可能
である。After this, if the ninth read request is issued from the central processing unit 101 and the requesting program and quad address are the same as the first requesting program and quad address of the same central processing unit, this is different from the case of conventional disk control devices. Since the data in the data buffer is not erased by a read request from another central processing unit, it can be immediately transferred to the central processing unit.
このように中央処理装置101以外の中央処理装置が頻
繁に読出し要求を行っても、中央処理装置101からの
次の要求プロ,クが以前の要求プロ,クと同じである限
シ、ディスク装置からデータを読出すことなく高速に中
央処理装置へ転送できる。なか,本実施例にシける各ブ
ロックがン7トウェア的手段により実現されていても、
本発明の効果を損なうものではないことは明らかである
。In this way, even if a central processing unit other than the central processing unit 101 frequently makes read requests, as long as the next request program from the central processing unit 101 is the same as the previous request program, the disk device The data can be transferred to the central processing unit at high speed without having to be read from the central processing unit. However, even if each block in this embodiment is realized by software-like means,
It is clear that this does not impair the effects of the present invention.
以上説明したように本発明のディスク制御装置では、ホ
ストの読出し要求の′jM度にかかわらず、いいかえれ
ば他のホスト装置との読出し要求の頻度差により既にデ
ータバッ7アに読込まれていたデータが消失することが
なく,各ホスト装置に対して等しい処理能力を示すディ
スク制御装置が得られる第1の効果がある。さらに読出
し要求の頻度が他のホストに比べて低いホスト装置でも
他のホスト装置の影響を受けて極端な処理能力の低下を
招くことのないディスク制御装置が得られる第2の効果
がある。As explained above, in the disk control device of the present invention, irrespective of the frequency of read requests from the host, data that has already been read into the data buffer 7 may be lost due to the difference in the frequency of read requests with other host devices. The first effect is that a disk control device that does not disappear and exhibits the same processing capacity for each host device can be obtained. Furthermore, there is a second effect that even if a host device receives read requests less frequently than other hosts, it is possible to obtain a disk control device that does not suffer from extreme reduction in processing capacity due to the influence of other host devices.
第1図は本発明の一実施例のブロック図、第2図(a)
および(b)は第1図のデータバッ7アのデータ内容の
変化の例を示す図、第3図は従来のディスク制御装置の
ブロック図、第4図(a)および(b)は第3図のデー
タバッ7アのデータ内容の変化の例を示す図である。
101.〜104・・・・・・中央処理装置、105・
・・・・・ホストインタフェースバス、106・・・・
・・インタ7エース回路% 107,307・・・・・
・制御回路,108,〜111,308・・・・・・バ
,7アアドレス管理回路,112,309・・・・・・
バ,7ア読出し制御回路、113,311・・・・・・
バッファ書込み制御回路,114.〜117.310・
・・・・・データバッファ、118,312・・・・・
・ディスク読出し制御回路、119,313・・・・・
・ディスク制御装1タ。Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2(a)
and (b) are diagrams showing examples of changes in the data contents of the data buffer 7 in FIG. 1, FIG. 3 is a block diagram of a conventional disk control device, and FIGS. FIG. 7 is a diagram showing an example of changes in the data contents of the data buffer 7 of FIG. 101. ~104...Central processing unit, 105.
...Host interface bus, 106...
...Inter 7 ace circuit% 107,307...
・Control circuit, 108, ~ 111, 308... Bar, 7 address management circuit, 112, 309...
B, 7 A read control circuit, 113, 311...
Buffer write control circuit, 114. ~117.310・
...Data buffer, 118,312...
・Disk read control circuit, 119, 313...
・One disk controller.
Claims (1)
データバッファ内に要求データブロックが有るか検査し
、有る場合はデータバッファ内に存在する要求データブ
ロックのデータを、無い場合はディスク装置から要求デ
ータブロックのデータを読出して得たデータをそれぞれ
ホスト装置へ送出する複数のホスト装置に接続されたデ
ィスク制御装置において、ディスク装置からの読出しデ
ータを格納し対応ホスト装置へのデータ送出元となるホ
スト装置に対応して配設されたデータバッファと、この
データバッファの内容が以前にホスト装置から要求され
たデータブロックのデータにより閉塞されていて、新た
に要求されたデータブロックのデータを格納する空領域
が無い場合はこのデータバッファのうち最も古く格納さ
れたデータブロックの格納領域を要求されたデータブロ
ックの格納領域とするホスト装置に対応して設けられた
格納制御手段とを有することを特徴とするディスク制御
装置。In response to a disk data read request from the host device,
It is checked whether there is a requested data block in the data buffer, and if there is, the data of the requested data block that exists in the data buffer is read, and if there is not, the data obtained by reading the data of the requested data block from the disk device is sent to the host device. In a disk control device connected to multiple host devices, a data buffer is provided corresponding to the host device that stores read data from the disk device and is a data source for sending data to the corresponding host device. If the contents of the data buffer are blocked by the data of a data block previously requested by the host device and there is no free space to store the data of the newly requested data block, the oldest data stored in this data buffer will be used. 1. A disk control device comprising storage control means provided in correspondence with a host device that sets a storage area for a requested data block as a storage area for a requested data block.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1161511A JPH0325643A (en) | 1989-06-23 | 1989-06-23 | Disk controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1161511A JPH0325643A (en) | 1989-06-23 | 1989-06-23 | Disk controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0325643A true JPH0325643A (en) | 1991-02-04 |
Family
ID=15736454
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1161511A Pending JPH0325643A (en) | 1989-06-23 | 1989-06-23 | Disk controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0325643A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5829722A (en) * | 1995-08-21 | 1998-11-03 | Nikko Kogyo Kabushiki Kaisha | Electric component holder and mechanism of securing the same |
-
1989
- 1989-06-23 JP JP1161511A patent/JPH0325643A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5829722A (en) * | 1995-08-21 | 1998-11-03 | Nikko Kogyo Kabushiki Kaisha | Electric component holder and mechanism of securing the same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5745789A (en) | Disc system for holding data in a form of a plurality of data blocks dispersed in a plurality of disc units connected by a common data bus | |
| JP2836283B2 (en) | Buffer management method | |
| JPH0325643A (en) | Disk controller | |
| US6643756B1 (en) | System and method for accessing video data using a translation client | |
| JPH01125644A (en) | Data transfer equipment | |
| US5875299A (en) | disk access apparatus for performing a stride processing of data | |
| JP3157513B2 (en) | Extended storage device | |
| JP3013993B2 (en) | Vector processing method | |
| JP2826780B2 (en) | Data transfer method | |
| JPH0833869B2 (en) | Data processing device | |
| JPS6044706B2 (en) | Memory access method | |
| JP3259095B2 (en) | Data transfer method | |
| JPH0689252A (en) | Storage system having extension swapping function | |
| JPH0427571B2 (en) | ||
| JPS6360396B2 (en) | ||
| JPS61267149A (en) | Data processor | |
| JPH02268356A (en) | Data transfer device | |
| JPS6142986B2 (en) | ||
| JPH0677239B2 (en) | Memory access controller | |
| JPS6134643A (en) | Buffer control system | |
| JPH05233037A (en) | Access method for programmable controller | |
| JPH10307802A (en) | Data transfer device by multi-buffer control in parallel computer | |
| JPH03253952A (en) | Buffer managing system | |
| KR19980033939A (en) | System memory control method and device of input / output controller | |
| JPS6162152A (en) | Storage device free space management method |