JPH0740277B2 - Search continuation control method - Google Patents
Search continuation control methodInfo
- Publication number
- JPH0740277B2 JPH0740277B2 JP63086943A JP8694388A JPH0740277B2 JP H0740277 B2 JPH0740277 B2 JP H0740277B2 JP 63086943 A JP63086943 A JP 63086943A JP 8694388 A JP8694388 A JP 8694388A JP H0740277 B2 JPH0740277 B2 JP H0740277B2
- Authority
- JP
- Japan
- Prior art keywords
- search
- data content
- central processing
- processing unit
- command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、中央処理装置とデータ内容検索装置と2次記
憶装置から構成され、データ内容検索装置が2次記憶装
置に記憶されている膨大なレコード群の中から、中央処
理装置から指定された条件に合致する内容を有するレコ
ード群のみを選別して中央処理装置へ転送する情報検索
システムにおいて、特に検索を複数回に分けて実施した
とき検索結果に過不足を生じせしめない検索継続制御方
法に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is composed of a central processing unit, a data content retrieval device, and a secondary storage device, and the data content retrieval device is stored in the secondary storage device. In the information retrieval system that selects only the record group having the content that matches the condition specified by the central processing unit from the various record groups and transfers it to the central processing unit, especially when the search is performed in plural times. The present invention relates to a search continuation control method that does not cause excess or deficiency in search results.
従来、情報検索の分野においては、中央処理装置の負担
を軽減するため、2次記憶装置と中央処理装置の中間に
データ内容検索装置を設置し、2次記憶装置に記憶され
ている膨大なレコード群の中から、所定の条件に合致す
る内容を有するレコード群のみを選別する所謂内容検索
処理を上記データ内容検索装置に受け持たせ、2次記憶
装置からのデータ読出しと同期して検索を実行させる方
式が実現している。かゝる場合の従来技術を以下に説明
する。Conventionally, in the field of information retrieval, in order to reduce the load on the central processing unit, a data content retrieval unit is installed between the secondary storage unit and the central processing unit, and an enormous number of records stored in the secondary storage unit are installed. A so-called content search process of selecting only a record group having a content satisfying a predetermined condition from the group is performed by the data content search device, and the search is executed in synchronization with the data read from the secondary storage device. The method of making is realized. The conventional technique in such a case will be described below.
第1図はこの種の情報検索システムの構成例を示す図
で、1はデータ群を記憶する2次記憶装置、2はデータ
内容検索装置、3は中央処理装置、4はI/Oインタフェ
ースである。このうち、1,3,4は現在広く使用されてい
る汎用コンピュータシステムにおける2次記憶装置、中
央処理装置、I/Oインタフェースの構成と同様である。
データ内容検索装置2は、中央処理装置3内の主記憶装
置31に用意されているチャネルプログラムの制御下で動
作し、2次記憶装置1上のレコード群から条件に合致す
るレコード群を選別し、中央処理装置3へ転送する。こ
のデータ内容検索装置2が転送するレコード群を格納す
るため、中央処理装置3の主記憶装置31には受信バッフ
ァが確保されている。FIG. 1 is a diagram showing an example of the configuration of this type of information retrieval system. 1 is a secondary storage device for storing a data group, 2 is a data content retrieval device, 3 is a central processing unit, and 4 is an I / O interface. is there. Among them, 1, 3 and 4 have the same configurations as the secondary storage device, the central processing unit and the I / O interface in the general-purpose computer system which is widely used at present.
The data content retrieval device 2 operates under the control of a channel program prepared in the main storage device 31 in the central processing unit 3, and selects a record group that matches the condition from the record group in the secondary storage device 1. , To the central processing unit 3. A reception buffer is secured in the main memory 31 of the central processing unit 3 in order to store the record group transferred by the data content retrieval device 2.
第2図はデータ内容検索装置2を動作させるチャネルプ
ログラムの従来の構成例である。チャネルプログラムお
よびその要素であるコマンドの形式は現在広く使用され
ている汎用コンピュータシステムにおける該当形式と同
様である。コマンド形式において、「命令部」はデータ
内容検索装置2への動作指令であり、「データアドレ
ス」はデータ内容検索装置2と中央処理装置3との間で
転送するデータの格納される中央処理装置3内の主記憶
装置31上のアドレスであり、「データサイズ」は該デー
タの容量である。本チャネルプログラムの構成例の場
合、コマンド1はデータ内容検索装置2に検索条件を転
送し内容検索を開始させるコマンドであり、コマンド2
〜nは検索結果を転送単位にまとめて中央処理装置3へ
転送させるコマンドである。各転送コマンド対応に、主
記憶装置31上に受信バッファが確保される。FIG. 2 shows a conventional configuration example of a channel program for operating the data content retrieval device 2. The format of the channel program and its constituent commands is the same as that of the general-purpose computer system currently in wide use. In the command format, the "command section" is an operation command to the data content searching device 2, and the "data address" is a central processing unit in which data to be transferred between the data content searching device 2 and the central processing unit 3 is stored. 3 is an address on the main storage device 31 in "3", and "data size" is the capacity of the data. In the case of the configuration example of this channel program, command 1 is a command for transferring the search condition to the data content search device 2 and starting the content search.
The symbols n to n are commands for collecting search results in transfer units and transferring them to the central processing unit 3. A reception buffer is secured in the main memory 31 for each transfer command.
第2図のチャネルプログラムにもとづき、データ内容検
索装置2で実行される内容検索の動作例を第3図に示
す。本例においては、図(イ)に示すように2次記憶装
置1に格納されている100個の格納単位(ページ)が検
索対象であり、各ページには12個のレコードがある。こ
ゝで、第Iページ内の第Jレコードは“I-J"の様に記述
する。なお、各レコードの内容そのものは省略されてい
る。FIG. 3 shows an operation example of content search executed by the data content search device 2 based on the channel program of FIG. In this example, 100 storage units (pages) stored in the secondary storage device 1 as shown in FIG. 2A are search targets, and each page has 12 records. Here, the Jth record in the Ith page is described as "IJ". The content itself of each record is omitted.
データ内容検索装置2では、2次記憶装置1中のレコー
ド群から、検索条件に合致したレコード群を中央処理装
置3の主記憶装置31に転送する。第3図(ロ)に検索条
件に合致したレコードの番号(I-J)を示す。これは、
条件に合致したレコードは8個ずつまとめられて転送単
位となり、その転送単位の数が10個であることを示して
いる。つまり、本例においては、転送コマンドが10回実
行されて検索条件に合致したレコード群の転送が終了す
る。これに対応して、主記憶装置31上の受信バッファ1
〜10が使用される。The data content search device 2 transfers the record group that matches the search condition from the record group in the secondary storage device 1 to the main storage device 31 of the central processing unit 3. FIG. 3B shows the record number (IJ) that matches the search condition. this is,
It is shown that the records that meet the conditions are grouped by 8 to form a transfer unit, and the number of transfer units is 10. That is, in this example, the transfer command is executed 10 times, and the transfer of the record group that matches the search condition is completed. Corresponding to this, the reception buffer 1 in the main memory 31
~ 10 is used.
内容検索においては、検索条件に合致するレコードの比
率(ヒット率と呼ぶ)は検索開始前に分からないため、
転送コマンドの受信バッファの合計が検索対象のデータ
容量に等しくなるだけ転送コマンドを用意しない限り、
検索結果を全て転送できないうちに転送コマンドが終了
し、検索が中断することがある。このため、上記従来方
法には以下の問題点がある。In content search, the ratio of records that match the search conditions (called the hit ratio) is unknown before the search starts, so
Unless you prepare the transfer command as much as the total of the receive buffer of the transfer command is equal to the data capacity of the search target,
The transfer command may end before all the search results can be transferred, and the search may be interrupted. Therefore, the above conventional method has the following problems.
中断した場合、検索を再開する開始位置を決定するの
が困難である。If interrupted, it is difficult to determine the starting position to resume the search.
中断させないだけ転送コマンドを用意するためには、
主記憶装置に検索対象と同一容量の受信バッファを確保
しなければならない。In order to prepare transfer commands only without interruption,
It is necessary to secure a receive buffer of the same capacity as the search target in the main storage device.
少ない転送コマンド(小さい受信バッファ容量)で、
中断なく検索を実行するためには、検索範囲を細切れに
しなければならない。With few transfer commands (small receive buffer capacity),
In order to perform a search without interruption, the search range must be chopped.
検索の結果、検索条件合致レコードが少なかった場合
には、用意した転送コマンド(受信バッファ)が無駄に
なる。As a result of the search, when there are few records that match the search condition, the prepared transfer command (reception buffer) is wasted.
本発明の目的は、かゝる従来方法の問題点に鑑み、検索
範囲の指定を細切れにすることなく、少ない転送コマン
ド(受信バッファ)からなるチャネルプログラムを繰返
し実行して、検索を継続する方法を提供することにあ
る。In view of the problems of the conventional method, an object of the present invention is to continue a search by repeatedly executing a channel program consisting of a small number of transfer commands (reception buffers) without finely specifying the search range. To provide.
本発明は、データ内容検索装置は、検索条件に合致する
所定容量のレコード群を中央処理装置へ転送すると、検
索の進行状況を示す状態情報を中央処理装置へ転送して
検索を中断し、中央処理装置は、データ内容検索装置か
ら転送される状態情報に基づいて検索開始位置を変更
し、それ以外は変更のない前と同一のチャネルプログラ
ムを再発行し、この再発行されたチャネルプログラムに
基づいて、データ内容検索装置は検索を再開することを
特徴とする。According to the present invention, when the data content search device transfers a record group having a predetermined capacity that matches the search condition to the central processing unit, the status information indicating the progress status of the search is transferred to the central processing unit to interrupt the search, The processing device changes the search start position based on the status information transferred from the data content search device, reissues the same channel program as before except otherwise, and based on this reissued channel program. The data content retrieval device is characterized by restarting the retrieval.
データ内容検索装置が中央処理装置へ転送する状態情報
には、そのとき検索が終了位置まで達していない場合、
検索中断と共に次に検索を再開できる開始位置が含まれ
ている。中央処理装置は、状態情報を受領し、検索中断
を認識すると、再度、前と同一のチャネルプログラムで
データ内容検索装置を起動するが、検索条件の内、検索
開始位置だけはデータ内容検索装置から転送されたもの
に変更する。これにより、検索開始位置を変更するだけ
で、同一のチャネルプログラムを繰返し実行して検索結
果を過不足なく転送することができるため、少ない転送
コマンド、小さい受信バッファで足りる。The status information that the data content retrieval device transfers to the central processing unit indicates that if the retrieval has not reached the end position at that time,
It includes the start position where the search can be restarted when the search is interrupted. When the central processing unit receives the status information and recognizes the search interruption, the central processing unit restarts the data content searching device with the same channel program as before, but only the search start position in the search condition is from the data content searching device. Change to the transferred one. As a result, the same channel program can be repeatedly executed and the search results can be transferred without excess or deficiency simply by changing the search start position. Therefore, a small number of transfer commands and a small receiving buffer are sufficient.
以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第4図は本発明においてデータ内容検索装置を動作させ
るチャネルプログラムの構成例を示したものである。な
お、2次記憶装置はデータ内容検索装置と中央処理装置
の関係は第1図と同様である。FIG. 4 shows an example of the structure of a channel program for operating the data content searching device in the present invention. The relationship between the data content retrieval device and the central processing unit in the secondary storage device is the same as in FIG.
第4図において、チャネルプログラムおよびその要素で
あるコマンドの形式は第2図の場合と同じく現在広く使
用されている汎用コンピュータシステムにおける該当形
式と同様である。第2図の従来例と異なる点は、新たに
検索の進行状況を転送するコマンド(状態転送コマン
ド)が使用されていることである。なお、検索が終了す
るコマンドは予め分からないため、各コマンドの次に状
態転送コマンドが実行可能なようになっている。In FIG. 4, the format of the channel program and the command which is the element thereof is the same as that of the general-purpose computer system which is widely used at present, as in the case of FIG. The difference from the conventional example of FIG. 2 is that a command (state transfer command) for newly transferring the progress status of the search is used. Since the command for ending the search is not known in advance, the state transfer command can be executed next to each command.
第5図は、第4図のチャネルプログラムにもとづき、デ
ータ内容検索装置2で実行される内容検索の動作例を示
したものである。本例は第3図の例と同様であり、第5
図(イ)に示すように、2次記憶装置1に格納されてい
る100個の格納単位(ページ)が検索対応で、各ページ
には12個のレコードがある。FIG. 5 shows an operation example of content search executed by the data content search device 2 based on the channel program of FIG. This example is similar to the example of FIG.
As shown in FIG. 1A, 100 storage units (pages) stored in the secondary storage device 1 are search-enabled, and each page has 12 records.
データ内容検索装置2では、2次記憶装置1中のレコー
ド群から検索条件に合致したレコードを選別して中央処
理装置3へ転送する。第5図(ロ)はこの様子を示した
ものである。こゝで、検索条件は第3図の例と同一と仮
定し、条件合致レコードが8個づつまとめられて転送単
位となること、および転送単位が10個であることも第3
図の例と同一である。但し、転送方法は全く異ってい
る。即ち、第4図のチャネルプログラムにおいては、検
索条件コマンドが発行された後(コマンド1)、転送コ
マンドが2回ずつ発行され(コマンド3,コマンド5)、
その後、状態転送コマンドが発行されて(コマンド
6)、1回の検索が終了することになっている。第5図
(ロ)の例では、これが5回繰返されて条件に合致した
全てのレコードの転送が終了することになる。そして、
1回目から5回目の転送において、主記憶装置31上の受
信バッファ1,2(コマンド3,5に対応する受信にッファ)
が繰返し使用される。The data content search device 2 selects records that match the search conditions from the record group in the secondary storage device 1 and transfers them to the central processing unit 3. FIG. 5B shows this situation. Here, it is assumed that the search condition is the same as that of the example of FIG. 3, and that 8 condition-matching records are grouped into a transfer unit and that the transfer unit is 10.
It is the same as the example in the figure. However, the transfer method is completely different. That is, in the channel program of FIG. 4, after the search condition command is issued (command 1), the transfer command is issued twice (command 3, command 5),
After that, the state transfer command is issued (command 6), and one search is to be completed. In the example of FIG. 5B, this is repeated 5 times, and the transfer of all the records that meet the conditions is completed. And
Receive buffers 1 and 2 on the main storage device 31 during the first to fifth transfers (reception buffers corresponding to commands 3 and 5)
Is used repeatedly.
以下、第5図の例について、データ内容検索装置2の動
作を第6図のフローチャートに沿って詳述する。The operation of the data content searching device 2 will be described below in detail with reference to the flowchart of FIG. 6 for the example of FIG.
データ内容検索装置2はコマンド1を中央処理装置3か
ら受領し(ステップ101)、その命令部が“検索開始”
であれば(ステップ102)、該コマンド1のデータ・ア
ドレス、データサイズにもとづき、該コマンド1のデー
タである検索条件を主記憶装置31上の検索条件送信バッ
ファより取込む(ステップ103)。検索条件には、レコ
ードに対する選別条件とゝもに、検索を開始するページ
番号、レコード番号、検索を終了するページ番号、レコ
ード番号、及び転送すべき転送単位の容量と転送単位の
数が含まれている。第5図の例における転送単位の容量
はレコード8個分であり、転送単位の数は2である。こ
れら条件に基づいて検索を開始する(ステップ104)。
検索は、検索を終了するページ/レコード番号が検出さ
れるか、あるいは条件合致レコードが転送単位に到達す
るまで続行される(ステップ105,106,107)。The data content search device 2 receives the command 1 from the central processing unit 3 (step 101), and the command part thereof "search start".
If so (step 102), based on the data address and data size of the command 1, the search condition which is the data of the command 1 is fetched from the search condition transmission buffer in the main memory 31 (step 103). The search conditions include the selection condition for records, and the page number to start the search, the record number, the page number to end the search, the record number, and the transfer unit capacity and the number of transfer units to be transferred. ing. The capacity of the transfer unit in the example of FIG. 5 is eight records, and the number of transfer units is two. The search is started based on these conditions (step 104).
The search is continued until the page / record number ending the search is detected or the condition-matching record reaches the transfer unit (steps 105, 106, 107).
条件合致レコードが転送単位(本例では8個)に到達し
た時、中央処理装置3に対してジャンプコマンドチェイ
ンを要求する(ステップ108)。これにより、中央処理
装置3からコマンド3を受領する(ステップ109)。デ
ータ内容検索装置2は、コマンド3の命令部が“結果転
送”であることを判別し(ステップ110)、該コマンド
3のデータアドレス、データ・サイズに基づき、転送単
位1(8個のレコード)を主記憶装置31の受信バッファ
1へ転送する(ステップ111)。そして、最終転送でな
いと(ステップ112)、検索を続行する(ステップ10
7)。再び条件合致レコードが転送単位に到達すると
(ステップ106)、中央処理装置3に対してジャンプコ
マンドチェインを要求する(ステップ108)。これによ
り、中央処理装置3からコマンド5を受領する(ステッ
プ109)。データ内容検索装置2は、該コマンド5に基
づき転送単位2を主記憶装置31の受信バッファ2へ転送
する(ステップ110,111)。When the condition-matching record reaches the transfer unit (eight in this example), a jump command chain is requested to the central processing unit 3 (step 108). As a result, the command 3 is received from the central processing unit 3 (step 109). The data content retrieval device 2 determines that the command part of the command 3 is "result transfer" (step 110), and based on the data address and data size of the command 3, transfer unit 1 (8 records). Is transferred to the reception buffer 1 of the main storage device 31 (step 111). If it is not the final transfer (step 112), the search is continued (step 10).
7). When the condition-matching record reaches the transfer unit again (step 106), the central processing unit 3 is requested to make a jump command chain (step 108). As a result, the command 5 is received from the central processing unit 3 (step 109). The data content retrieval device 2 transfers the transfer unit 2 to the reception buffer 2 of the main storage device 31 based on the command 5 (steps 110 and 111).
第5図の例では、1回の検索処理での転送単位数は2で
あるため、上記転送単位2の転送は最終転送であり、デ
ータ内容検索装置2は中央処理装置3に対して通常のコ
マンドチェインを要求する(ステップ113)。これによ
り,中央処理装置3からコマンド6を受領する(ステッ
プ114)。データ内容検索装置2は、該コマンド6の命
令部が“状態転送”であることを判別し(ステップ11
5)、該コマンド6に基づき、状態として“中断”、検
索の再開始位置情報のページ、レコード番号として“4-
6"(ページ4,レコード6)を中央処理装置3へ転送する
(ステップ116)。これで検索が一担終了する。In the example of FIG. 5, since the number of transfer units in one search process is 2, the transfer of the above transfer unit 2 is the final transfer, and the data content search device 2 is normally transferred to the central processing unit 3. Request a command chain (step 113). As a result, the command 6 is received from the central processing unit 3 (step 114). The data content retrieval device 2 determines that the command part of the command 6 is "state transfer" (step 11).
5) Based on the command 6, the status is "suspended", the search restart position information page, and the record number is "4-"
6 "(page 4, record 6) is transferred to the central processing unit 3 (step 116). This completes the search.
中央処理装置3は、状態として“中断”を受領すると、
再度、コマンド1を発行してデータ内容検索装置2を起
動する。たゞし、検索条件の内、検索開始位置情報だけ
は先ほどデータ内容検索装置から受領した“4-6"(ペー
ジ4,レコード6)に変更する。データ内容検索装置2
は、以後、ステップ101〜116の動作を再び実行する。When the central processing unit 3 receives "interruption" as the status,
The command 1 is issued again to activate the data content search device 2. However, of the search conditions, only the search start position information is changed to "4-6" (page 4, record 6) that was previously received from the data content search device. Data content retrieval device 2
Thereafter, the operations of steps 101 to 116 are executed again.
以上の動作が繰返され、本例では、第4図のチャネルプ
ログラムが合計4回実行された後、最後の5回目の検索
に進む。この5回目のデータ内容検索装置2の動作にお
いて、コマンド3による転送単位1の転送までは4回目
と同様である。引続く検索において、データ内容検索装
置2は検索範囲終了(最終ページ番号、最終レコード番
号)を検出する(ステップ105)。この場合、データ内
容検索装置2は、転送すべきレコードが有るかどうか調
べ(ステップ117)、あればシャンプコマンドチェイン
要求を、なければ通常のコマンドチェイン要求を中央処
理装置3へ発する(ステップ118,122)。The above operation is repeated, and in this example, after the channel program of FIG. 4 has been executed four times in total, the process proceeds to the final fifth search. In the fifth operation of the data content retrieval device 2, the transfer up to the transfer unit 1 by the command 3 is the same as the fourth operation. In the subsequent search, the data content search device 2 detects the end of the search range (last page number, last record number) (step 105). In this case, the data content retrieval device 2 checks whether or not there is a record to be transferred (step 117), and issues a shamp command chain request to the central processing unit 3 if there is one, and issues a normal command chain request to the central processing device 3 if none (steps 118 and 122). .
第5図に示すように、検索範囲が終了したとき、転送単
位2として条件合致レコードが4個あるため、中央処理
装置3に対しジャンプコマンドチェインを要求する(ス
テップ118)。これにより、中央処理装置3からコマン
ド5が指令される(ステップ119)。データ内容検索装
置2はコマンド5に基づき、転送単位2を主記憶装置31
の受信バッファ2へ転送する(ステップ120,121)。そ
して、これが最終転送であるため、こゝで通常のコマン
ドチェインを中央処理装置3へ要求する(ステップ12
2)。これにより、中央処理装置3からコマンド6を受
領する(ステップ123)。データ内容検索装置2は、該
コマンド6に基づき、状態として“終了”を転送する
(ステップ124,125)。これで全ての検索は終了する。As shown in FIG. 5, when the search range is completed, since there are four condition-matching records as the transfer unit 2, the central processing unit 3 is requested to make a jump command chain (step 118). As a result, the command 5 is issued from the central processing unit 3 (step 119). Based on the command 5, the data content retrieval device 2 transfers the transfer unit 2 to the main storage device 31.
To the receiving buffer 2 (steps 120 and 121). Then, since this is the final transfer, a normal command chain is requested to the central processing unit 3 at this point (step 12).
2). As a result, the command 6 is received from the central processing unit 3 (step 123). Based on the command 6, the data content retrieval device 2 transfers "end" as the status (steps 124, 125). This completes all searches.
以上のように、中央処理装置3は主記憶装置31に受信バ
ッファを2面用意し、それを繰返し使用することで、全
ての検索範囲の検索が可能である。なお、以上の説明に
おいて用いた容量、回数等はいずれも説明を簡単にする
ためのものであり、これに限られるものではない。As described above, the central processing unit 3 prepares two reception buffers in the main storage device 31 and repeatedly uses them, so that the entire search range can be searched. It should be noted that the capacities, the numbers of times, etc. used in the above description are for simplifying the description, and are not limited to these.
以上説明したように、本発明によれば、以下のような効
果が得られる。As described above, according to the present invention, the following effects can be obtained.
データ内容検索装置が検索の再開始位置を中央処理装
置に報告するため、検索の中断は中央処理装置にとって
オーバヘッドにならない。The interruption of the search is not an overhead to the central processing unit because the data content search unit reports the restart position of the search to the central processing unit.
同一のチャネルプログラムを繰り返して使用すること
により、この種チャネルプログラムの構成要素の一つで
ある転送コマンドの数が少なくでき、主記憶装置上のチ
ャネルプログラムを格納する領域を軽減できる。By repeatedly using the same channel program, the number of transfer commands, which is one of the constituent elements of this type of channel program, can be reduced, and the area for storing the channel program in the main storage device can be reduced.
転送コマンドの数の低減により、チャネルプログラム
の1回の実行で必要とする受信バッファ容量を削減で
き、結局、主記憶装置上に用意する受信バッファの容量
を検索対象の容量より小さくして、中断を繰返しなから
検索を継続することが可能である。By reducing the number of transfer commands, it is possible to reduce the receive buffer capacity required for one execution of the channel program. Eventually, the capacity of the receive buffer prepared in the main storage device is made smaller than the search target capacity, and interruption is performed. Since it is repeated, it is possible to continue the search.
検索が中断されるため、1つのジョブがデータ内容検
索装置を長期間占有することなく、チャネルプログラム
の切れ目毎に、データ内容検索装置をより優先度の高い
ジョブに割当てることが可能であり、これによりシステ
ム全体の性能が向上する。Since the search is interrupted, it is possible to assign the data content retrieval device to a higher priority job at each break of the channel program without a job occupying the data content retrieval device for a long time. This improves the performance of the entire system.
第1図は本発明が対象とする情報検索システムの概略ブ
ロック図、第2図は従来方法におけるデータ内容検索装
置を動作させるチャネルプログラム構成例を示す図、第
3図は第2図のチャネルプログラムで実行されるデータ
内容検索装置の動作例を示す図、第4図は本発明の一実
施例におけるデータ内容検索装置を動作させるチャネル
プログラムの構成例を示す図、第5図は第4図のチャネ
ルプログラムで実行されるデータ内容検索装置の動作例
を示す図、第6図は本発明の一実施例におけるデータ内
容検索装置の動作を説明するフローチャートである。 1……2次記憶装置、2……データ内容検索装置、3…
…中央処理装置、31……主記憶装置、4……I/Oインタ
フェース。FIG. 1 is a schematic block diagram of an information retrieval system targeted by the present invention, FIG. 2 is a diagram showing a channel program configuration example for operating a data content retrieval apparatus in a conventional method, and FIG. 3 is a channel program of FIG. FIG. 4 is a diagram showing an example of the operation of the data content retrieval apparatus executed in FIG. 4, FIG. 4 is a diagram showing an example of the configuration of a channel program for operating the data content retrieval apparatus in one embodiment of the present invention, and FIG. FIG. 6 is a diagram showing an operation example of the data content search device executed by the channel program, and FIG. 6 is a flow chart for explaining the operation of the data content search device in one embodiment of the present invention. 1 ... Secondary storage device, 2 ... Data content retrieval device, 3 ...
... Central processing unit, 31 ... Main memory, 4 ... I / O interface.
Claims (1)
記憶装置とを具備し、前記中央処理装置は前記データ内
容検索装置を動作させるチャネルプログラムを保持し、
前記データ内容検索装置は前記チャネルプログラムに基
づいて、前記2次記憶装置から指定された検索範囲のレ
コード群を読み出し、指定された検索条件に合致するレ
コード群を選別して前記中央処理装置へ転送する情報検
索システムにおける検索継続制御方法であって、 前記データ内容検索装置は、検索条件に合致する所定容
量のレコード群を前記中央処理装置へ転送すると、検索
の進行状況を示す状態情報を前記中央処理装置へ転送し
て検索を中断し、 前記中央処理装置は、前記データ内容検索装置から転送
される前記状態情報に基づいて検索開始位置を変更し、
それ以外は変更のない前と同一のチャネルプログラムを
再発行し、 前記データ内容検索装置は、前記中央処理装置が再発行
したチャネルプログラムに基づいて検索を再開する、 ことを特徴とする検索継続制御方法。1. A central processing unit, a data content retrieval device, and a secondary storage device are provided, said central processing unit holding a channel program for operating said data content retrieval device,
Based on the channel program, the data content retrieval device reads out a record group in a designated search range from the secondary storage device, selects a record group that matches a designated search condition, and transfers it to the central processing unit. In the information continuation control method in the information retrieval system, the data content retrieval apparatus transfers status information indicating a progress status of retrieval to the central unit when transferring a record group of a predetermined capacity that matches a retrieval condition to the central processing unit. Transfer to the processing device to interrupt the search, the central processing unit changes the search start position based on the state information transferred from the data content searching device,
Otherwise, the same channel program as before the change is reissued, and the data content retrieval device restarts the retrieval based on the channel program reissued by the central processing unit. Method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63086943A JPH0740277B2 (en) | 1988-04-08 | 1988-04-08 | Search continuation control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63086943A JPH0740277B2 (en) | 1988-04-08 | 1988-04-08 | Search continuation control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01258126A JPH01258126A (en) | 1989-10-16 |
| JPH0740277B2 true JPH0740277B2 (en) | 1995-05-01 |
Family
ID=13900953
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63086943A Expired - Fee Related JPH0740277B2 (en) | 1988-04-08 | 1988-04-08 | Search continuation control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0740277B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111143294B (en) * | 2019-12-25 | 2023-08-01 | 宁波三星医疗电气股份有限公司 | Data retrieval method and device for power acquisition terminal and electronic equipment |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61251932A (en) * | 1985-04-30 | 1986-11-08 | Usac Electronics Ind Co Ltd | Processing course control system of information retrieval processing system |
| JPH0679283B2 (en) * | 1985-07-09 | 1994-10-05 | 富士通株式会社 | Interruption processing control method |
-
1988
- 1988-04-08 JP JP63086943A patent/JPH0740277B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01258126A (en) | 1989-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6374327B2 (en) | Method of data migration | |
| US4593354A (en) | Disk cache system | |
| US5794072A (en) | Timing method and apparatus for interleaving PIO and DMA data transfers | |
| US20010008007A1 (en) | Command insertion and reordering at the storage controller | |
| JPH0772888B2 (en) | Dynamic polling device, machine processing method, controller and data processing system | |
| JPH04243458A (en) | Communication system between asynchronous channel direct access storage device | |
| JPH0679274B2 (en) | Error recovery method in asynchronous control unit | |
| GB2361557A (en) | Data storage device with data transfer before write instruction | |
| JPH0740277B2 (en) | Search continuation control method | |
| US6487632B1 (en) | Emulation technique for variable-length disk system to access data in a fixed-length disk system | |
| JP3122702B2 (en) | Disk device write-back control method | |
| KR920007949B1 (en) | Peripheral controller | |
| JPS6240736B2 (en) | ||
| JP3252517B2 (en) | Input/Output Control Method and Input/Output Control System | |
| JPH0581049A (en) | Time management system for memory | |
| JPH0436410B2 (en) | ||
| JPH086732A (en) | Disk controller | |
| JPH03156659A (en) | Direct memory access controller | |
| JPS60245055A (en) | Decision device for write area of main storage device | |
| JPS60251434A (en) | Retrieving method of information | |
| JPH02137016A (en) | Data input control system | |
| JPH04271472A (en) | System for processing data base | |
| JPH0561610A (en) | Method for selecting interruption magnetic disk device | |
| JPH03158920A (en) | Device positioning system for disk cache | |
| JPH04162126A (en) | Buffered storage and control and storage subsystems |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |