JPH0418629A - Auxiliary storage controller - Google Patents
Auxiliary storage controllerInfo
- Publication number
- JPH0418629A JPH0418629A JP12194790A JP12194790A JPH0418629A JP H0418629 A JPH0418629 A JP H0418629A JP 12194790 A JP12194790 A JP 12194790A JP 12194790 A JP12194790 A JP 12194790A JP H0418629 A JPH0418629 A JP H0418629A
- Authority
- JP
- Japan
- Prior art keywords
- search information
- supplied
- request
- auxiliary storage
- unit data
- 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
Links
Abstract
Description
【発明の詳細な説明】
〔目 次]
概要
産業上の利用分野
従来の技術
発明が解決しようとする課題
課題を解決するための手段
作用
実施例
■、実施例と第1図との対応関係
■、実施例の構成
■、実施例の動作
■、実施例のまとめ
V6発明の変形態様
発明の効果
〔概 要〕
ディスク装置などの補助記憶装置からのレコードの検索
や続出を制御する補助記憶制御装置に関し、
ハードウェア量を増大させることなく、検索情報を効率
よく伝送することを目的とし、検索するレコードに対応
する検索情報を形成する各単位データの送信を要求する
要求信号を生成し、この要求信号を処理手段に供給する
要求手段と、要求信号に応じて処理手段から出力される
各単位データが供給されるとともに、補助記憶装置に記
録されている複数のレコードの何れかに対応する識別情
報を形成する各単位データが供給され、検索情報と識別
情報とが一致するか否かを処理手段に通知する検索処理
手段と、要求信号に基づいて、要求手段によって要求さ
れた単位データの数を計数する第1計数手段と、補助記
憶装置から供給される単位データの数を計数する第2計
数手段と、第1計数手段による計数結果と第2計数手段
による計数結果とが入力され、これらの計数結果の差が
所定の数に達したか否かに応じて、要求手段による要求
信号の出力動作を制御する要求制御手段とを備えるよう
に構成する。[Detailed Description of the Invention] [Table of Contents] Overview Industrial Field of Application Conventional Technology Problems to be Solved by the Invention Examples of Means and Effects for Solving the Problems ■ Correspondence between the Examples and FIG. 1 ■ , Structure of the embodiment ■, Operation of the embodiment ■, Summary of the embodiment V6 Variation of the invention Effects of the invention [Summary] Auxiliary storage control device that controls retrieval and successive retrieval of records from an auxiliary storage device such as a disk device With the aim of efficiently transmitting search information without increasing the amount of hardware, a request signal is generated that requests the transmission of each unit of data forming the search information corresponding to the record to be searched, and this request signal is requesting means for supplying a signal to the processing means; each unit of data output from the processing means in response to the request signal; and identification information corresponding to any one of the plurality of records recorded in the auxiliary storage device; a search processing means for notifying the processing means whether or not the search information and the identification information match each other; A first counting means for counting, a second counting means for counting the number of unit data supplied from the auxiliary storage device, a counting result by the first counting means and a counting result by the second counting means are input, and these counting results are inputted. and request control means for controlling the output operation of the request signal by the request means depending on whether or not the difference between the counting results reaches a predetermined number.
本発明は、ディスク装置などの補助記憶装置からのレコ
ードの検索や続出を制御する補助記憶制御装置に関する
ものである。TECHNICAL FIELD The present invention relates to an auxiliary storage control device that controls retrieval and succession of records from an auxiliary storage device such as a disk device.
例えば、チャネル装置は、ファイル制御装置を介してデ
ィスク装置などの補助記憶装置に接続されており、この
ファイル制御装置によって、ディスク装置からレコード
を検索や続出が制御されるようになっている。For example, a channel device is connected to an auxiliary storage device such as a disk device via a file control device, and this file control device controls retrieval and succession of records from the disk device.
このようなシステムにおいて、チャネル装置は、ファイ
ル制御装置からの要求に応じて、゛検索するレコードに
対応する検索情報(例えばキー情報)をファイル制御装
置に供給するようになっている。In such a system, the channel device supplies search information (for example, key information) corresponding to a record to be searched to the file control device in response to a request from the file control device.
また、ディスク装置は、指定されたディスク上の位置に
記録されているレコードを順次に読み出して、このレコ
ードに対応する識別情報(例えばキー情報)をファイル
制御装置に供給するようになっており、ファイル制御装
置によって、上述した検索情報と識別情報とが一致する
か否かが判定され、この結果がチャネル装置に返される
ようになっている。Further, the disk device is configured to sequentially read records recorded at specified positions on the disk and supply identification information (for example, key information) corresponding to the records to the file control device. The file control device determines whether or not the above-mentioned search information and identification information match, and this result is returned to the channel device.
このとき、チャネル装置とファイル制御装置と力唱(れ
た場所に設置されている場合には、上述した検索情報の
要求やこの要求に対応する検索情報を伝達するために、
距離に応じた時間(以下、装置間デイレイと称する)を
要する。このため、ファイル制御装置とチャネル装置と
の間でシェークハンド方式で検索情報を伝送するのでは
、上述した装置間デイレイに相当する待ち時間が生しる
ため、検索情報などの伝送効率が低下してしまう。At this time, if the channel device and the file control device are installed in a separate location, in order to transmit the above-mentioned search information request and the search information corresponding to this request,
It takes time depending on the distance (hereinafter referred to as inter-device delay). For this reason, if search information is transmitted between the file control device and the channel device using the shake hand method, there will be a waiting time equivalent to the inter-device delay described above, which will reduce the transmission efficiency of search information, etc. It ends up.
一方、チャネル装置とファイル制御装置とを光ファイバ
を介して接続した場合には、通常のケーブルによる接続
での限界とされていた距離(例えば120m)を超えて
、チャネル装置とファイル制御装置との間の距離がlk
m程度となる場合もあり、装置間デイレイは大きくなる
傾向にある。On the other hand, when a channel device and a file control device are connected via an optical fiber, the distance between the channel device and the file control device exceeds the limit of connection using a normal cable (for example, 120 m). The distance between is lk
In some cases, the delay between devices tends to be large.
このように増大する装置間デイレイに伴って、待ち時間
が増加することを防いで、検索情報を効率よく伝送する
ようにしたファイル制御装置が望まれている。With the increase in inter-device delay, there is a need for a file control device that can efficiently transmit search information while preventing an increase in waiting time.
従来は、ファイル制御装置内に所定の容量を有するバッ
ファを設け、ファイル制御装置が、チャネル装置からの
応答を待つことなく、このバッファの容量に相当する検
索情報についての要求を示す要求信号を連続して出力す
るようになっている。Conventionally, a buffer with a predetermined capacity is provided in a file control device, and the file control device continuously sends a request signal indicating a request for search information corresponding to the capacity of this buffer without waiting for a response from a channel device. and output it.
以下、このように、要求に対応する検索情報を待たずに
、次の検索情報についての要求を出力することを検索情
報を先取りすると称する。Hereinafter, outputting a request for the next search information without waiting for the search information corresponding to the request will be referred to as preempting search information.
ここで、」二連したバッファの容量は、ファイル制御装
置とチャネル装置との間の装置間デイレイに対応して決
められており、例えば、装置間デイレイに相当する時間
に、ファイル制御装置とチャネル装置との間の伝送路を
介して8バイトの検索情報を伝送することができる場合
は、上述したバッファとして8バイトの容量を有するバ
ッファを設ければよい。Here, the capacity of the two consecutive buffers is determined in accordance with the inter-device delay between the file control device and the channel device. For example, at the time corresponding to the inter-device delay, the file control device and the channel If 8 bytes of search information can be transmitted via the transmission path to the device, a buffer with a capacity of 8 bytes may be provided as the buffer described above.
この場合は、第5図(a)に示すように、8ハイド分の
検索情報についての要求を示す要求信号(図において、
■〜■で示す)が出力され、8ハイドの検索情報の先取
りが行なわれる。In this case, as shown in FIG. 5(a), a request signal indicating a request for search information for 8 hides (in the figure,
(2) to (2) are output, and the search information for 8 hides is prefetched.
また、ファイル制御装置は、第5図(b)に示すように
、上述したようにして先取りされた検索情報(図におい
て、■〜■で示す)が供給されて、ディスク装置から供
給される検索情報と比較された後に、次の検索情報の要
求を行なうようになっている。In addition, as shown in FIG. 5(b), the file control device is supplied with the search information prefetched as described above (indicated by After the information is compared, a request for the next search information is made.
通常は、上述したようにして、8ハイドの検索情報につ
いての要求が行なわれている間に、ディスク装置からの
検索情報が順次に供給され、別のバッファに格納されて
いる。Normally, as described above, while a request for 8-hide search information is being made, search information is sequentially supplied from the disk device and stored in another buffer.
従って、チャネル装置から1バイト目の検索情報が供給
されると、この検索情報の比較が行なわれるので、第5
図(a)に示すように、ファイル制御装置により、間断
なく検索情報の要求が行なわれ、これにより、検索情報
の伝送の効率の向上が図られている。Therefore, when the first byte of search information is supplied from the channel device, this search information is compared.
As shown in Figure (a), the file control device requests search information without interruption, thereby improving the efficiency of transmitting search information.
〔発明が解決しようとする課題]
ところで、上述した従来方式にあっては、装置間デイレ
イに対応する容量のバッファを設けて、このバッファの
容量に対応する検索情報の先取りが行なわれている。従
って、チャネル装置とファイル制御装置との間の距離が
大きくなった場合には、この距離に応じてファイル制御
装置に備えるバッファの容量を増やす必要があり、この
ため、ファイル制御装置のハードウェア量が増大すると
いう問題点があった。[Problems to be Solved by the Invention] In the above-mentioned conventional system, a buffer with a capacity corresponding to the inter-device delay is provided, and search information corresponding to the capacity of this buffer is prefetched. Therefore, when the distance between the channel device and the file control device increases, it is necessary to increase the buffer capacity of the file control device according to this distance. There was a problem that the amount of
また、上述したファイル制御装置とチャネル装置との間
の装置間デイレイが、バッファの容量に対応する装置間
デイレイよりも大きくなった場合には、第6図に示すよ
うに、バッファに格納できる8バイトの検索情報につい
ての要求の送信が終了してもチャネル装置からの応答が
返されない。Furthermore, if the inter-device delay between the file control device and the channel device described above becomes larger than the inter-device delay corresponding to the capacity of the buffer, as shown in FIG. No response is returned from the channel device even after the sending of the request for byte search information is completed.
従って、次の検索情報の要求を行なうことができず、チ
ャネル装置からの応答待ちの時間が生じ、検索情報を効
率よく伝送することができないという問題点があった。Therefore, it is not possible to request the next search information, resulting in a waiting time for a response from the channel device, resulting in the problem that the search information cannot be efficiently transmitted.
本発明は、このような点にかんがみて創作されたもので
あり、ハードウェア量を増大させることなく、効率よく
検索情報を伝送するようにした補助記憶制御装置を提供
することを目的としている。The present invention was created in view of these points, and an object of the present invention is to provide an auxiliary storage control device that efficiently transmits search information without increasing the amount of hardware.
第1図は、本発明の補助記憶制御装置の原理ブロック図
である。FIG. 1 is a principle block diagram of the auxiliary storage control device of the present invention.
図において、要求手段111は、検索するレコードに対
応する検索情報を形成する各単位データの送信を要求す
る要求信号を生成し、この要求信号を処理手段101に
供給する。In the figure, requesting means 111 generates a request signal requesting transmission of each unit of data forming search information corresponding to a record to be searched, and supplies this request signal to processing means 101.
検索処理手段112は、要求信号に応じて処理手段10
1から出力される各単位データが供給されるとともに、
補助記憶装置102に記録されている複数のレコードの
何れかに対応する識別情報を形成する各単位データが供
給され、検索情報と識別情報とが一致するか否かを処理
手段101に通知する。The search processing means 112 searches the processing means 10 in response to the request signal.
Each unit data output from 1 is supplied, and
Each unit of data forming identification information corresponding to any one of a plurality of records recorded in the auxiliary storage device 102 is supplied, and the processing means 101 is notified of whether or not the search information and the identification information match.
第1計数手段113は、要求信号に基づいて、要求手段
111によって要求された単位データの数を計数する。The first counting means 113 counts the number of unit data requested by the requesting means 111 based on the request signal.
第2計数手段114は、補助記憶装置102から供給さ
れる単位データの数を計数する。The second counting means 114 counts the number of unit data supplied from the auxiliary storage device 102.
要求制御手段115は、第1計数手段113による計数
結果と第2計数手段114による計数結果とが入力され
、これらの計数結果の差が所定の数に達したか否かに応
じて、要求手段112による要求信号の出力動作を制御
する。The request control means 115 receives the counting results by the first counting means 113 and the counting results by the second counting means 114, and controls the requesting means depending on whether the difference between these counting results reaches a predetermined number. 112 to output the request signal.
要求手段111により、検索するレコードに対応する検
索情報を形成する各単位データの送信を要求する要求信
号が生成され、この要求信号が処理手段101に供給さ
れる。これに応じて、処理手段101から一ヒ述した単
位データが出力され、検索処理手段112に供給される
。また、補助記憶装置102に記録されている複数のレ
コードの何れかに対応する識別情報を形成する各単位デ
ータが、上述した検索処理手段112に供給される。The requesting means 111 generates a request signal requesting transmission of each unit data forming the search information corresponding to the record to be searched, and this request signal is supplied to the processing means 101. In response, the unit data described above is output from the processing means 101 and supplied to the search processing means 112. Further, each unit data forming identification information corresponding to any one of the plurality of records recorded in the auxiliary storage device 102 is supplied to the above-mentioned search processing means 112.
また、この検索処理手段112により、上述した識別情
報と検索情報とが一致するか否かが判定され、処理手段
101に通知される。Further, the search processing means 112 determines whether or not the above-mentioned identification information and search information match, and notifies the processing means 101 of the result.
このとき、上述した要求信号に基づいて、第1計数手段
113により、要求手段111によって要求された検索
情報の単位データの数が計数され、第2計数手段114
により、上述した補助記憶装置101から供給された識
別情報の単位データの数が計数される。At this time, based on the above-mentioned request signal, the first counting means 113 counts the number of unit data of the search information requested by the requesting means 111, and the second counting means 114 counts the number of unit data of the search information requested by the requesting means 111.
Accordingly, the number of unit data of identification information supplied from the auxiliary storage device 101 described above is counted.
上述した第1計数手段113による計数結果と第2計数
手段114による計数結果とは、要求制御手段115に
入力されており、この要求制御手段115により、これ
らの計数結果の差が所定の数に達したか否かに応じて、
上述した要求手段111による要求信号の出力動作が制
御される。The counting results by the first counting means 113 and the counting results by the second counting means 114 described above are input to the request control means 115, and the request control means 115 adjusts the difference between these counting results to a predetermined number. Depending on whether you have reached
The output operation of the request signal by the request means 111 described above is controlled.
例えば、上述した計数結果の差が所定の数よりも小さい
ときは、要求手段111による要求信号の出力を許可し
、上述した所定の数に達したときに要求信号の出力動作
を停止すればよい。For example, when the difference between the counting results mentioned above is smaller than a predetermined number, the requesting means 111 may be allowed to output the request signal, and when the above-mentioned predetermined number is reached, the operation of outputting the request signal may be stopped. .
本発明にあっては、補助記憶装置102から識別情報を
形成する各単位データが順次に供給されていれば、上述
した第1計数手段113と第2計数手段114との計数
結果の差は所定の数よりも小さいとされ、要求制御手段
115により、要求手段111による要求信号の送出動
作が許可される。従って、検索処理手段112に処理手
段101と補助記憶制御装置との間の装置間デイレイに
相当する容量のバッファを備えなくても、補助記憶装置
102から供給される単位データの数に対応する数の単
位データを処理手段101に対して要求することができ
る。従って、ハードウェア量を増大させることなく、検
索情報を効率よく伝送することができる。In the present invention, if each unit data forming the identification information is sequentially supplied from the auxiliary storage device 102, the difference between the counting results of the first counting means 113 and the second counting means 114 described above is within a predetermined range. The request control means 115 permits the request means 111 to send out a request signal. Therefore, even if the search processing means 112 does not have a buffer with a capacity corresponding to the inter-device delay between the processing means 101 and the auxiliary storage control device, the number of units of data corresponding to the number of unit data supplied from the auxiliary storage device 102 can be unit data can be requested from the processing means 101. Therefore, search information can be efficiently transmitted without increasing the amount of hardware.
以下、図面に基づいて本発明の実施例について詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第2図は、本発明の一実施例における補助記憶制御装置
を適用したコンピユークシステムの構成を示す。FIG. 2 shows the configuration of a computer system to which an auxiliary storage control device according to an embodiment of the present invention is applied.
1、 と 1 との
ここで、本発明の実施例と第1図との対応関係を示して
おく。Here, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.
処理手段101は、チャネル装置202に相当する。The processing means 101 corresponds to the channel device 202.
補助記憶装置101は、ディスク装置204に相当する
。The auxiliary storage device 101 corresponds to the disk device 204.
要求手段111は、同期信号生成部238に相当する。The requesting means 111 corresponds to the synchronization signal generation section 238.
検索処理手段112は、バッファ231.バッファ23
2.比較回路233に相当する。The search processing means 112 stores the buffer 231. buffer 23
2. It corresponds to the comparison circuit 233.
第1計数手段113は、アップダウンカウンタ(カウン
タ)234に相当する。The first counting means 113 corresponds to an up/down counter (counter) 234.
第2計数手段114は、カウンタ235に相当する。The second counting means 114 corresponds to the counter 235.
要求制御手段115は、減算回路236.比較回路23
7に相当する。The request control means 115 includes a subtraction circuit 236. Comparison circuit 23
Corresponds to 7.
補助記憶制御装置は、ファイル制御装置230に相当す
る。The auxiliary storage control device corresponds to the file control device 230.
以上のような対応関係があるものとして、以下本発明の
実施例について説明する。Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.
1−1111榎l虜
第2図において、202はチャネル装置を、230はフ
ァイル制御装置を、204はディスク装置をそれぞれ示
しており、チャネル装置202とファイル制御装置23
0とは、伝送路205を介して接続され、この伝送路2
05を介してデータの授受を行なうようになっている。1-1111 Enoki Captive In FIG. 2, 202 represents a channel device, 230 represents a file control device, and 204 represents a disk device.
0 is connected via a transmission line 205, and this transmission line 2
Data is exchanged via 05.
チャネル装置202は、ファイル制御装置230からの
要求に応じて、検索するレコードを指定する検索情報を
出力同期信号S。1. SO2に同期して送出するよ
うに構成されている。例えば、レコドのnハイドのキー
情報を1ハイドずつ順次に送出するようにすればよい。In response to a request from the file control device 230, the channel device 202 outputs search information specifying a record to be searched via a synchronization signal S. 1. It is configured to transmit in synchronization with SO2. For example, key information for n hides of a record may be sequentially transmitted one hide at a time.
また、ファイル制御装置230において、231.23
2はバッファを、233.237は比較回路を、234
,235はアップダウンカウンタ(カウンタ)を、23
6は減算回路をそれぞれ示しており、238は上述した
要求を表す人力同期信号S、、、S、□を生成する同期
信号生成部を示している。例えば、この同期信号生成部
238は、入力同期信号S Il、 312として、
交互に正のパルスを出力し、これらのパルスのそれぞれ
によって検索情報を形成する各ハイドを要求するように
すればよい。Further, in the file control device 230, 231.23
2 is the buffer, 233.237 is the comparison circuit, 234
, 235 is an up/down counter (counter), 23
Reference numeral 6 indicates a subtraction circuit, and 238 indicates a synchronization signal generation unit that generates manual synchronization signals S, , S, □ representing the above-mentioned requests. For example, the synchronization signal generation unit 238 may have the input synchronization signal S Il, 312 as
Alternate positive pulses may be output and each of these pulses may request each hide forming the search information.
バッファ231は、8バイトの容量を有しており、上述
したチャネル装置202から1ハイドずつ供給される検
索情報は、このバッファ231に保持されるようになっ
ている。以下、チャネル装置202から供給される検索
情報の各バイトをチャネル側の検索情報と称する。また
、バッファ232は、512バイトの容量を有しており
、ディスク装置204によって読み出されたレコードに
含まれているnハイドのキー情報が、例えば1バイトず
つ順次に供給され、これらの各バイトがディスク側の検
索情報として保持されるようになっている。The buffer 231 has a capacity of 8 bytes, and the search information supplied one by one from the channel device 202 described above is held in this buffer 231. Hereinafter, each byte of search information supplied from the channel device 202 will be referred to as channel-side search information. Further, the buffer 232 has a capacity of 512 bytes, and the key information of n hides included in the record read by the disk device 204 is sequentially supplied, for example, one byte at a time, and each of these bytes is is retained as search information on the disk side.
これらのバッファ231,232に保持された検索情報
は、順次に比較回路233に供給されて比較されるよう
になっている。また、ファイル制御装置230は、この
比較回路233による比較結果に基づいて、上述したチ
ャネル側の検索情報とディスク側の検索情報とが、全て
一致したか否かをチャネル装置202に通知するように
なっている。The search information held in these buffers 231 and 232 is sequentially supplied to a comparison circuit 233 for comparison. Furthermore, the file control device 230 notifies the channel device 202 whether or not the above-mentioned channel-side search information and disk-side search information all match based on the comparison result by the comparison circuit 233. It has become.
また、カウンタ234は、上述した同期信号生成部23
8から検索情報の要求を示す人力同期信号S++、S+
。のパルスが出力されるごとに計数値を加算し、比較回
路233による比較が行なわれるごとに、計数値を減算
するように構成されている。従って、このカウンタ23
4の計数値は、上述した同期信号生成部238によって
要求された検索情報の数から比較回路233による比較
が終了した検索情報の数を差し引いたものを示している
。以下、この数を先取りされた検索情報の数と称する。Further, the counter 234 is connected to the synchronization signal generation section 23 described above.
Manual synchronization signals S++, S+ indicating a request for search information from 8
. The count value is added each time a pulse is outputted, and the count value is subtracted each time a comparison is performed by the comparator circuit 233. Therefore, this counter 23
The count value 4 indicates the number of search information requested by the synchronization signal generation section 238 described above minus the number of search information for which comparison by the comparison circuit 233 has been completed. Hereinafter, this number will be referred to as the number of prefetched search information.
カウンタ235は、バッファ232に新しいディスク側
の検索情報が書き込まれるごとに計数値を加算し、上述
した比較回路233による比較が行なわれるごとに計数
値を減算するように構成されている。従って、このカウ
ンタ235の計数値は、バッファ232に保持されてい
るディスク側の検索情報の数を示している。The counter 235 is configured to add a count value each time new disk-side search information is written to the buffer 232, and subtract the count value each time the above-described comparison circuit 233 performs a comparison. Therefore, the count value of the counter 235 indicates the number of disk-side search information held in the buffer 232.
また、上述したカウンタ234の計数値は、減算回路2
36に供給されており、この減算回路236により、バ
ッファ231の容量に相当する数値(例えば、l’8J
)が差し引かれるようになっており、この減算回路2
36による減算結果が、比較回路237に供給されてい
る。この比較回路237は、カウンタ235の計数値と
上述した減算回路236による減算結果とを比較し、カ
ウンタ235の計数値の方が大きい場合には論理“′0
゛を、逆の場合には論理“′1”を要求許可信号として
出力するように構成されている。Further, the count value of the counter 234 mentioned above is calculated by the subtraction circuit 2
36, and the subtraction circuit 236 calculates a value corresponding to the capacity of the buffer 231 (for example, l'8J
) is subtracted, and this subtraction circuit 2
36 is supplied to a comparison circuit 237. This comparison circuit 237 compares the count value of the counter 235 with the result of subtraction by the subtraction circuit 236 described above, and if the count value of the counter 235 is larger, the logic "'0" is applied.
In the opposite case, logic "'1" is output as a request permission signal.
従って、要求許可信号は、先取りされた検索情報の数と
バッファ232に保持されたディスク側の検索情報の数
との差が、バッファ231の容量に相当する数F8Jよ
りも大きいか否かを示している。Therefore, the request permission signal indicates whether the difference between the number of prefetched search information and the number of disk-side search information held in the buffer 232 is larger than the number F8J corresponding to the capacity of the buffer 231. ing.
この要求許可信号は、上述した同期信号生成部238に
供給されており、この同期信号生成部238は、要求許
可信号として論理゛0゛が供給されているときは、入力
同期信号Sz、S+□を出力して検索情報の要求を行な
い、論理” 1 ”が供給されたときには、入力同期信
号S++、St□の出力を停止するように構成されてい
る。This request permission signal is supplied to the above-mentioned synchronization signal generation section 238, and when the logic "0" is supplied as the request permission signal, this synchronization signal generation section 238 generates the input synchronization signals Sz, S+□ is output to request search information, and when a logic "1" is supplied, the output of the input synchronization signals S++ and St□ is stopped.
皿−11iU帽久快作
第3図に、実施例による検索情報の伝送動作を表すタイ
ミング図を示す。Figure 3 is a timing diagram showing the operation of transmitting search information according to the embodiment.
初期状態においては、カウンタ234,235の84数
値はともにFQjとなっている。従って、比較回路23
7により、減算回路236による減算結果「−8」とカ
ウンタ235の計数値fojとが比較されるので、要求
許可信号として論理“0パが同期信号生成部238に供
給される。In the initial state, the 84 values of the counters 234 and 235 are both FQj. Therefore, the comparison circuit 23
7, the subtraction result "-8" by the subtraction circuit 236 and the count value foj of the counter 235 are compared, so a logic "0 par" is supplied to the synchronization signal generation section 238 as a request permission signal.
これに応じて、この同期信号生成部238によって入力
同期信号S、、、S、□の出力が開始され(第3図(a
)、 (b)参照)、第3図げ)に示すように、カウン
タ234の計数値が加算される。In response, the synchronization signal generation unit 238 starts outputting the input synchronization signals S, , S, □ (Fig. 3(a)
), (b)), and the third figure), the count value of the counter 234 is added up.
また、通常は、上述したようにして、バッファ231の
容量に相当する8ハイドの検索情報の先取りが行なわれ
ている間に、ディスク装置204によって、ディスクに
記録されているレコードの読み出しが開始される。これ
に応じて、第3図(g)に示すように、ディスク側の検
索情報が供給されてバッファ232に格納され、これに
応じて、第3図(h)に示すように、カウンタ235の
計数値が加算される。Further, normally, as described above, while eight hides of search information corresponding to the capacity of the buffer 231 are being prefetched, the disk device 204 starts reading records recorded on the disk. Ru. In response to this, as shown in FIG. 3(g), the search information on the disk side is supplied and stored in the buffer 232, and in response, as shown in FIG. 3(h), the counter 235 is The count value is added.
従って、この場合は、8バイトの検索情報についての先
取りを行なった後でも、比較回路237から出力される
要求許可信号(第3図(i)参照)は論理“′0・°”
に保たれるので、同期信号生成部238により、連続し
て入力同期信号S11. s+□が出力され、チャネ
ル装置202に対する検索情報の要求が続けて行なわれ
る。Therefore, in this case, even after prefetching the 8-byte search information, the request permission signal output from the comparator circuit 237 (see FIG. 3(i)) is a logic "'0.°".
Therefore, the synchronization signal generating section 238 continuously generates the input synchronization signals S11. s+□ is output, and a request for search information to channel device 202 is subsequently made.
ここで、例えば、第3図(g)に示したように、ディス
ク側の検索情報の供給は、矢印への時点で開始されてお
り、1バイト目から順次に供給されている(図において
、(1)、 (2)、・・・で示す)。Here, for example, as shown in FIG. 3(g), the supply of search information on the disk side starts at the point of the arrow, and is supplied sequentially from the first byte (in the figure, (1), (2), ...).
一方、第3図(e)に矢印Bで示すように、チャネル側
の検索情報の各バイト(図において、■、■。On the other hand, as shown by arrow B in FIG. 3(e), each byte of search information on the channel side (■, ■ in the figure).
・・・で示す)は、これらの検索情報を要求する入力同
期信号S++、Sr□のパルスが出力されてから装置間
デイレイ(図において、記号τで示す)に相当する時間
後に、出力同期信号S。I+SO2に同期して供給され
る(第3図(C)、 (d)、 (e)参照)。従って
、これらの検索情報が供給されると、即座に、」1述し
たディスク側の対応する検索情報の部分と比較すること
ができる。) is the output synchronization signal after a time corresponding to the inter-device delay (indicated by the symbol τ in the figure) after the pulses of the input synchronization signals S++ and Sr□ requesting these search information are output. S. It is supplied in synchronization with I+SO2 (see FIGS. 3(C), (d), and (e)). Therefore, when these pieces of search information are supplied, they can be immediately compared with the corresponding pieces of search information on the disk as described in 1.
このように、ディスク装置204からの検索情報が順次
に供給されている場合は、チャネル側の検索情報が供給
されたときには、常に、対応するディスク側の検索情報
がバッファ232に格納されている。従って、同期信号
生成部238がバッファ231の容量を超えて検索情報
の先取りを行なっても、バッファ231に保持されてい
る比較済でない検索情報が更新されることはなく、上述
したように、連続して検索情報の要求を行なうことがで
きる。In this way, when the search information from the disk device 204 is sequentially supplied, the corresponding disk-side search information is always stored in the buffer 232 when channel-side search information is supplied. Therefore, even if the synchronization signal generation unit 238 prefetches search information exceeding the capacity of the buffer 231, the search information held in the buffer 231 that has not been compared will not be updated, and as described above, the search information will not be updated continuously. You can request search information by
また、例えば、ディスク装置204の障害などにより、
第3図(h)に示すように、ディスク装置204からキ
ー情報のmバイト目以降が供給されない場合は、カウン
タ235の計数値は、比較回路233による比較が行な
われるごとに減少する。Also, for example, due to a failure of the disk device 204, etc.
As shown in FIG. 3(h), if the m-th byte and subsequent keys of the key information are not supplied from the disk device 204, the count value of the counter 235 decreases each time the comparison circuit 233 performs a comparison.
一方、チャネル側の検索情報が供給されている間は、新
しい検索情報が要求されるとともに、バッファ231に
保持されている検索情報の比較が行なわれるので、カウ
ンタ234の計数値は変化しない(第3図(f)参照)
。従って、カウンタ234とカウンタ235との計数値
の差が増加し、減算回路236による減算結果とカウン
タ235の計数値とが等しくなった時点で、比較回路2
37により、要求許可信号として論理“′1゛が出力さ
れる。これに応じて、同期信号生成部238による入力
同期信号S++、St□の出力が停止されるので、チャ
ネル装置202に対して、m+8バイト目以降の検索情
報の要求が行なわれることはない。従って、mバイト目
からm+7バイト目までの8バイトの検索情報は、バッ
ファ231に保持される。On the other hand, while the search information on the channel side is being supplied, new search information is requested and the search information held in the buffer 231 is compared, so the count value of the counter 234 does not change (the count value of the counter 234 does not change). (See Figure 3 (f))
. Therefore, when the difference between the count values of the counter 234 and the counter 235 increases and the result of subtraction by the subtraction circuit 236 becomes equal to the count value of the counter 235, the comparison circuit 2
37 outputs a logic "'1" as a request permission signal. In response, the output of the input synchronization signals S++ and St□ by the synchronization signal generation unit 238 is stopped, so that No request is made for search information after the m+8th byte.Therefore, 8 bytes of search information from the mth byte to the m+7th byte are held in the buffer 231.
また、ディスク装置204から再び検索情報が供給され
れば、これに応じて、比較回路237により要求許可信
号として論理“′0”が出力され、同期信号生成部23
8により、入力同期信号S11゜S1□の出力が再開さ
れる。Furthermore, if search information is supplied again from the disk device 204, the comparator circuit 237 outputs logic "'0" as a request permission signal, and the synchronization signal generation section 23
8, the output of the input synchronizing signal S11°S1□ is restarted.
−■−実υ藪と1ζ吟
上述したように、カウンタ235の計数値とカウンタ2
34の計数値とに基づいて、減算回路236と比較回路
237とによって、先取りされた検索情報の数とバッフ
ァ232に保持されているディスク側の検索情報の数と
の差が数値vB1よりも大きいか否かを示す要求許可信
号を生成し、この要求許可信号により、同期信号生成部
238による入力同期信号SIl、St。の出力動作を
制御する。−■−MiυYabu and 1ζGin As mentioned above, the count value of counter 235 and counter 2
Based on the count value of 34, the subtraction circuit 236 and the comparison circuit 237 determine that the difference between the number of prefetched search information and the number of disk-side search information held in the buffer 232 is larger than the numerical value vB1. A request permission signal indicating whether the input synchronization signal SIl, St is generated by the synchronization signal generation section 238 is generated by the request permission signal. Controls the output operation of.
これにより、チャネル装置202.ディスク装置204
が正常に動作していれば、ファイル制御装置230に備
えられたバッファ231の容量にかかわりなく、連続し
て検索情報の先取りを行なうことが可能となる。This allows channel device 202. Disk device 204
If it is operating normally, it is possible to continuously prefetch search information regardless of the capacity of the buffer 231 provided in the file control device 230.
従って、例えば、上述した伝送路205として光ファイ
バを用い、チャネル装置202とファイル制御装置23
0とを離れた場所に設置した場合においても、装置間デ
イレイに相当する容量のバッファを設ける必要はない。Therefore, for example, if an optical fiber is used as the above-mentioned transmission line 205, the channel device 202 and the file control device 23
0, it is not necessary to provide a buffer with a capacity equivalent to the inter-device delay.
このように、ハードウェア量を増大させることなく、効
率よ(検索情報の伝送を行なうことができる。In this way, search information can be transmitted efficiently without increasing the amount of hardware.
!の・ン“ヒ、−
なお、上述した本発明の実施例にあっては、比較回路2
37により、減算回路236による減算結果とカウンタ
235の計数値とを比較したが、カウンタ234の計数
値とカウンタ235の計数値との差とバッファ231の
容量に相当する数値とを比較し、この比較結果に応じて
、同期信号生成部238を制御するようにしてもよい。! Note that in the embodiment of the present invention described above, the comparator circuit 2
37, the subtraction result by the subtraction circuit 236 and the count value of the counter 235 are compared, but the difference between the count value of the counter 234 and the count value of the counter 235 is compared with a value corresponding to the capacity of the buffer 231, and this The synchronization signal generation section 238 may be controlled according to the comparison result.
また、カウンタ234により、チャネル装置202に対
して要求された検索情報の数を計数し、カウンタ235
により、ディスク装置204から供給された検索情報の
数を計数するようにしてもよい。Further, the counter 234 counts the number of search information requested to the channel device 202, and the counter 235 counts the number of search information requested to the channel device 202.
Accordingly, the number of pieces of search information supplied from the disk device 204 may be counted.
また、同期信号生成部23Bを制御する手段としては、
比較回路と減算回路とに限らず、カウンタ234の計数
値とカウンタ235の計数値とをバッファ231の容量
を考慮して比較して、要求許可信号を生成するものであ
れば適用できる。Further, as means for controlling the synchronization signal generation section 23B,
The present invention is not limited to the comparison circuit and the subtraction circuit, but can be applied to any device that generates a request permission signal by comparing the count value of the counter 234 and the count value of the counter 235 in consideration of the capacity of the buffer 231.
例えば、上述したディスク側の検索情報が4パイ1−単
位でバッファ232に供給され、このバッファ232か
ら4バイト単位で比較回路233に供給される場合は、
カウンタ235の計数値は4の倍数で表される。この場
合は、第2図に示した減算回路236と比較回路237
とに代えて、第4図に示すような判定回路によって、上
述した要求許可信号を生成すればよい。For example, when the above-mentioned search information on the disk side is supplied to the buffer 232 in units of 4 bytes, and from this buffer 232 is supplied to the comparison circuit 233 in units of 4 bytes,
The count value of the counter 235 is expressed as a multiple of four. In this case, the subtraction circuit 236 and comparison circuit 237 shown in FIG.
Instead, the above-mentioned request permission signal may be generated by a determination circuit as shown in FIG.
第4図において、判定回路は、k個のアンドゲート41
1.、 ・・・、411にと、オアゲート412とで形
成されている。また、図において、記号S+ 、S2.
S3.・・・、SKは、それぞれ上述したカウンタ23
5の計数値計数値が’OJ 、 ’4J 。In FIG. 4, the determination circuit includes k AND gates 41
1. , . . . , 411 and an OR gate 412. Further, in the figure, symbols S+, S2.
S3. ..., SK are the counters 23 mentioned above, respectively.
The count value of 5 is 'OJ, '4J.
vB)、、・・・、”4X(k−1)Jであるときに論
理“1パとなる信号を示し、記号T+ 、Tz 、T!
。vB), . . . indicates a signal that becomes logic 1 when 4X(k-1)J, and the symbols T+, Tz, T!
.
・・、T、は、カウンタ234の計数値がそれぞれF8
」、I’12Jl、F16a、=−、I’8+4x (
k−1)Aであるときに論理” 1 ”となる信号を示
している。..., T, the count value of the counter 234 is F8.
", I'12Jl, F16a, =-, I'8+4x (
k-1) shows a signal that becomes logic "1" when A.
アントゲ−1−411,、・・・、411にの入力端子
の一方には、上述した信号S+ 、Sz、S。The above-mentioned signals S+, Sz, and S are connected to one of the input terminals of the anime game 1-411, . . . , 411.
・・・、Sxが、他方には、信号T、、T2. T3
。..., Sx, and the signals T, , T2 . T3
.
、TKが入力されている。従って、これらのアンドゲー
ト411.、 ・・・、411にのそれぞれにより、カ
ウンタ234の計数値とカウンタ235の計数値との差
が「8」となったときに論理“1”が出力され、これに
応じて、オアゲート412の出力から出力される要求許
可信号が論理“′1゛となって、上述した同期信号生成
部238による検索情報の要求動作が停止されるように
なっている。, TK are input. Therefore, these AND gates 411. , . The request permission signal outputted from the output becomes logic "'1", and the operation of requesting search information by the synchronization signal generation section 238 described above is stopped.
〔発明の効果〕
上述したように、本発明によれば、補助記憶装置からの
単位データが順次に供給されている限り、要求手段によ
る要求信号の送出動作が連続して行なわれ、検索処理手
段に処理手段と補助記憶制御手段との間の装置間デイレ
イに相当する容量のバッファを備えなくても、補助記憶
装置から供給された単位データに対応する数の検索情報
を処理子段に要求することができ、ハードウェア量を増
大させることなく、検索情報を効率よく伝送することが
できるので、実用的には極めて有用である。[Effects of the Invention] As described above, according to the present invention, as long as the unit data from the auxiliary storage device is sequentially supplied, the requesting means continues to send the request signal, and the search processing means Requesting a number of search information from the processing child stage corresponding to the unit data supplied from the auxiliary storage device without having to provide a buffer with a capacity equivalent to the inter-device delay between the processing means and the auxiliary storage control means. This is extremely useful in practice, since search information can be efficiently transmitted without increasing the amount of hardware.
第1図は本発明の補助記憶制御装置の原理プロ・ツク図
、
第2図は本発明の一実施例による補助記憶制御装置を適
用したコンピュータシステムの構成図、第3図は実施例
による検索情報の伝送動作を表すタイミング図、
第4図は別実施例による判定回路を示す図、第5図2第
6図は従来の検索情報の伝送動作を表すタイミング図で
ある。
図において、
101は処理手段、
102は補助記憶装置、
111は要求手段、
112は検索処理手段、
113は第1計数手段、
114は第2計数手段、
115は要求制御手段、
202はチャネル装置、
204はディスク装置、
205は伝送路、
230はファイル制御装置、
231 232はバッファ、
233.237は比較回路、
234.235はアップダウンカウンタタ)、
236は減算回路、
238は同期信号生成部、
411はアンドゲート、
412はオアゲートである。
(カウンFig. 1 is a principle block diagram of the auxiliary storage control device of the present invention, Fig. 2 is a configuration diagram of a computer system to which the auxiliary storage control device according to an embodiment of the present invention is applied, and Fig. 3 is a search according to the embodiment. FIG. 4 is a diagram showing a determination circuit according to another embodiment. FIG. 5, FIG. 5, and 6 are timing diagrams showing a conventional search information transmission operation. In the figure, 101 is a processing means, 102 is an auxiliary storage device, 111 is a requesting means, 112 is a search processing means, 113 is a first counting means, 114 is a second counting means, 115 is a request control means, 202 is a channel device, 204 is a disk device, 205 is a transmission path, 230 is a file control device, 231 and 232 are buffers, 233 and 237 are comparison circuits, 234 and 235 are up/down counters), 236 is a subtraction circuit, 238 is a synchronization signal generation section, 411 is an AND gate, and 412 is an OR gate. (Coun.
Claims (1)
各単位データの送信を要求する要求信号を生成し、この
要求信号を処理手段(101)に供給する要求手段(1
11)と、 前記要求信号に応じて処理手段(101)から出力され
る前記各単位データが供給されるとともに、補助記憶装
置(102)に記録されている複数のレコードの何れか
に対応する識別情報を形成する各単位データが供給され
、前記検索情報と前記識別情報とが一致するか否かを前
記処理手段(101)に通知する検索処理手段(112
)と、前記要求信号に基づいて、前記要求手段(111
)によって要求された前記単位データの数を計数する第
1計数手段(113)と、 前記補助記憶装置(102)から供給される前記単位デ
ータの数を計数する第2計数手段(114)と、 前記第1計数手段(113)による計数結果と前記第2
計数手段(114)による計数結果とが入力され、これ
らの計数結果の差が所定の数に達したか否かに応じて、
前記要求手段(112)による要求信号の出力動作を制
御する要求制御手段(115)と、 を備えるように構成したことを特徴とする補助記憶制御
装置。(1) A requesting means (1) that generates a request signal requesting transmission of each unit data forming the search information corresponding to the record to be searched, and supplies this request signal to the processing means (101).
11), each of the unit data output from the processing means (101) in response to the request signal is supplied, and an identification corresponding to any one of the plurality of records recorded in the auxiliary storage device (102) is provided. search processing means (112) to which each unit data forming the information is supplied and notifying the processing means (101) whether or not the search information and the identification information match;
), and the requesting means (111
); a second counting means (114) that counts the number of unit data supplied from the auxiliary storage device (102); The counting result by the first counting means (113) and the second
The counting results from the counting means (114) are input, and depending on whether the difference between these counting results reaches a predetermined number,
An auxiliary storage control device comprising: request control means (115) for controlling the output operation of the request signal by the request means (112).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2121947A JPH0833800B2 (en) | 1990-05-11 | 1990-05-11 | Auxiliary storage controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2121947A JPH0833800B2 (en) | 1990-05-11 | 1990-05-11 | Auxiliary storage controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0418629A true JPH0418629A (en) | 1992-01-22 |
| JPH0833800B2 JPH0833800B2 (en) | 1996-03-29 |
Family
ID=14823860
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2121947A Expired - Fee Related JPH0833800B2 (en) | 1990-05-11 | 1990-05-11 | Auxiliary storage controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0833800B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006523171A (en) * | 2003-03-07 | 2006-10-12 | デプナー バウエレメンテ ゲーエムベーハー ウント コー カーゲー | Transparent elements, especially composite glass elements |
-
1990
- 1990-05-11 JP JP2121947A patent/JPH0833800B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006523171A (en) * | 2003-03-07 | 2006-10-12 | デプナー バウエレメンテ ゲーエムベーハー ウント コー カーゲー | Transparent elements, especially composite glass elements |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0833800B2 (en) | 1996-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4680730A (en) | Storage control apparatus | |
| US3938097A (en) | Memory and buffer arrangement for digital computers | |
| US10157082B2 (en) | Preferential CPU utilization for tasks | |
| US20220246187A1 (en) | Memory controller and method of controlling the memory controller | |
| US7844752B2 (en) | Method, apparatus and program storage device for enabling multiple asynchronous direct memory access task executions | |
| US20190245799A1 (en) | Reliability processing of remote direct memory access | |
| US7334056B2 (en) | Scalable architecture for context execution | |
| CN100375007C (en) | Method and apparatus for reading or writing data units from or to a shared cache | |
| JP3505728B2 (en) | Storage controller | |
| JP2636088B2 (en) | Information processing device | |
| US6643718B1 (en) | Method and apparatus for controlling order dependency of items in a multiple FIFO queue structure | |
| EP0587370A1 (en) | Method and apparatus for software sharing between multiple controllers | |
| US11669271B2 (en) | Memory operations using compound memory commands | |
| JPH0833800B2 (en) | Auxiliary storage controller | |
| KR20000006575A (en) | system and method for managing buffers using free pointer FIFO's containing pointers to empty buffers | |
| JPH03158952A (en) | Dma controller and information processing system | |
| JP3323142B2 (en) | Crossbar device, multi-stage crossbar device, and information processing device | |
| KR100737904B1 (en) | Interface device between master / slave device and method | |
| KR870000117B1 (en) | Access control processing | |
| JP2563454B2 (en) | Logic simulation method and logic simulation device | |
| SU1282124A1 (en) | Device for processing interruptions | |
| US20210406175A1 (en) | Shared memory workloads using existing network fabrics | |
| US10078591B2 (en) | Data storage cache management | |
| SU1001100A1 (en) | Storage control device | |
| JPH02299053A (en) | Priority control system for plural fifo information storage devices |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |