JPH03129570A - Data base retrieving system - Google Patents

Data base retrieving system

Info

Publication number
JPH03129570A
JPH03129570A JP1268831A JP26883189A JPH03129570A JP H03129570 A JPH03129570 A JP H03129570A JP 1268831 A JP1268831 A JP 1268831A JP 26883189 A JP26883189 A JP 26883189A JP H03129570 A JPH03129570 A JP H03129570A
Authority
JP
Japan
Prior art keywords
search
search result
update
database
result file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1268831A
Other languages
Japanese (ja)
Inventor
Megumi Chino
千野 恵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1268831A priority Critical patent/JPH03129570A/en
Publication of JPH03129570A publication Critical patent/JPH03129570A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce user's labor and user's specification misses by providing the data base retrieving system with a retrieving condition cataloguing means, a rapid retrieval means, a data base processing means, and a retrieved result updating means. CONSTITUTION:The retrieving condition cataloguing means 10 stores the retrieved result of a data base 80 in a retrieved result file 70 and the rapid retrieving means 20 refers a catalogue table 60 and outputs the record of the corresponding retrieved result stored in the file 70 to an I/O device 50. At the time of receiving an updating request from a data base updating request program 90, the data base processing means 30 updates the data base 80, and when a retrieved result updating means 40 satisfies a retrieving condition expression stored in the table 60, updates the contents of the retrieved result file 70 for a retrieved result file name corresponding to the retrieving condition expression. Thus user's labor can be reduced and the generation of misspecification can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータベース検索方式に関し、特に検索処理の
高速化を目的としたデータベース検索方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a database search method, and particularly to a database search method aimed at speeding up search processing.

〔従来の技術〕[Conventional technology]

従来、この種のデータベース検索方式では、検索条5件
式を毎回指定し、指定された検索条件式に基づいてデー
タベースを検索する方式がとられていた、したがって、
頻繁に使用される検索条件式による検索処理の場合も、
検索条件式が長くても毎回指定する必要があった。
Conventionally, in this type of database search method, five search condition expressions were specified each time, and the database was searched based on the specified search condition expressions.
In the case of search processing using frequently used search condition expressions,
Even if the search condition expression was long, it had to be specified each time.

また、直前に同一の検索条件式に基づく検索結果が求め
られていても残ってはいなかったので、データベースを
再度検索しに行くことになっていた。
Furthermore, even if a search result based on the same search condition expression had been sought just before, there were none left, so the user had to search the database again.

〔発明が解決しようとする!!!!題〕上述した従来の
データベース検索方式では、頻繁に使用する長い検索条
件式による検索処理を行う場合でも、検索要求のたびに
長い検索条件式を指定する必要があったので、利用者の
手間がかかるという欠点がある。
[Invention tries to solve it! ! ! ! Problem] In the conventional database search method described above, even when performing search processing using long search condition expressions that are frequently used, it is necessary to specify a long search condition expression for each search request, which saves the user's effort. There is a drawback that it takes a long time.

また、長い検索条件式を何回も指定するため、利用者が
指定ξスを犯す可能性があるという欠点がある。
In addition, since a long search condition expression is specified many times, there is a possibility that the user may make a mistake in specification.

さらに、検索要求のたびに検索条件式を解析してデータ
ベースを検索するので、大量のデータベースレコードの
場合には検索のための処理時間がかかるという欠点があ
る。
Furthermore, since the search condition expression is analyzed and the database is searched every time a search request is made, there is a drawback that processing time is required for searching in the case of a large number of database records.

さらにまた、たびたび同じ検索処理を行う場合には、無
駄な処理を行うことになるという欠点がある。
Furthermore, if the same search process is performed repeatedly, there is a drawback that the process is wasted.

本発明の目的は、上述の点に鑑み、頻繁に使用する検索
条件式をカタログ化して検索条件式を指定する手間を軽
減するとともに、検索結果ファイルを設けてデータベー
ス検索時における処理速度を高めるようにしたデータベ
ース検索方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to catalog frequently used search condition expressions to reduce the trouble of specifying search condition expressions, and to improve the processing speed when searching a database by providing a search result file. The purpose of this invention is to provide a database search method based on the following methods.

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

本発明のデータベース検索方式は、コマンドによるデー
タベース検索要求を受け付けて実行する対話型システム
において、入出力装置から検索条件式、検索条件式に基
づく検索結果を入れるための検索結果ファイルの名前お
よび検索条件式と1対1に対応する条件式簡略名を受け
付けてカタログテーブルに条件式簡略名、検索条件式お
よび検索結果ファイル名を関係付けて蓄積し検索条件式
に基づいてデータベースを検索した結果を検索結果ファ
イルに蓄積する検索条件カタログ化手段と、入出力装置
から条件式簡略名を受け付は前記カタログテーブルを参
照して検索結果が入っている検索結果ファイル名を認識
し該当する検索結果ファイルに格納されている検索結果
のレコードを入出力装置に出力する高速検索手段と、デ
ータベース更新要求プログラムからの更新要求を受け付
けてデータベースを更新し更新前レコードおよび更新後
レコードのイメージを検索結果更新手段に渡すデータベ
ース処理手段と、このデータベース処理手段より更新前
レコードおよび更新後レコードのイメージを受け付けて
そのレコードが前記カタログテーブル内の検索条件式を
満たす場合には検索条件式と対応している検索結果ファ
イル名の検索結果ファイルの内容を更新する前記検索結
果更新手段とを有する。
The database search method of the present invention is an interactive system that receives and executes a database search request based on a command, and uses a search condition expression from an input/output device, a name of a search result file for storing search results based on the search condition expression, and a search condition. Accepts the conditional expression short name that corresponds one-to-one with the expression, stores the conditional expression short name, search condition expression, and search result file name in a catalog table, and searches the database based on the search condition expression. A search condition cataloging means to be accumulated in a result file and a condition expression short name received from an input/output device refer to the catalog table, recognize the search result file name containing the search result, and convert it into the corresponding search result file. A high-speed search means that outputs stored search result records to an input/output device, and a search result update means that receives an update request from a database update request program, updates the database, and sends images of records before and after the update to the search result update means. A database processing means to be passed, and a search result file corresponding to the search condition expression when the database processing means accepts images of records before update and records after update, and the record satisfies the search condition expression in the catalog table. and the search result updating means for updating the contents of the search result file of the name.

〔作用〕[Effect]

本発明のデータベース検索方式では、検索条件カタログ
化手段が入出力装置から検索条件式、検索条件式に基づ
く検索結果を入れるための検索結果ファイルの名前およ
び検索条件式と1対1に対応する条件式簡略名を受け付
けてカタログテーブルに条件式簡略名、検索条件式およ
び検索結果ファイル名を関係付けて蓄積し検索条件式に
基づいてデータベースを検索した結果を検索結果ファイ
ルに蓄積し、高速検索手段が入出力装置から条件式簡略
名を受け付はカタログテーブルを参照して検索結果が入
っている検索結果ファイル名を認識し該当する検索結果
ファイルに格納されている検索結果のレコードを入出力
装置に出力し、データベース処理手段がデータベース更
新要求プログラムからの更新要求を受け付けてデータベ
ースを更新し更新前レコードおよび更新後レコードのイ
メージを検索結果更新手段に渡し、検索結果更新手段が
データベース処理手段より更新前レコードおよび更新後
レコードのイメージを受け付けてそのレコードがカタロ
グテーブル内の検索条件式を満たす場合には検索条件式
と対応している検索結果ファイル名の検索結果ファイル
の内容を更新する。
In the database search method of the present invention, the search condition cataloging means receives the search condition expression from the input/output device, the name of the search result file for inputting the search result based on the search condition expression, and the condition that corresponds one-to-one with the search condition expression. It accepts the expression abbreviation, stores the condition expression abbreviation, search condition expression, and search result file name in a catalog table, and stores the results of searching the database based on the search condition expression in the search result file, thereby providing a high-speed search method. receives the conditional expression short name from the input/output device, refers to the catalog table, recognizes the name of the search result file that contains the search results, and transfers the search result record stored in the corresponding search result file to the input/output device. The database processing means receives an update request from the database update request program, updates the database, passes the images of the record before update and the record after update to the search result update means, and the search result update means updates the database from the database processing means. Images of the previous record and the updated record are received, and if the record satisfies the search condition expression in the catalog table, the content of the search result file with the search result file name corresponding to the search condition expression is updated.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係るデータベース検索方
式の構成を示すブロック図である0本実施例のデータベ
ース検索方式は、検索条件カタログ化手段10と、高速
検索手段20と、データベース処理手段30と、検索結
果更新手段40と、入出力装置50と、カタログテーブ
ル60と、検索結果ファイル70と、データベース80
と、データベース更新要求プログラム90とから構成さ
れている。
FIG. 1 is a block diagram showing the configuration of a database search method according to an embodiment of the present invention. means 30, search result update means 40, input/output device 50, catalog table 60, search result file 70, database 80
and a database update request program 90.

第2図を参照すると、カタログテーブル60は、条件式
簡略名、検索条件式および検索結果ファイル名が格納さ
れる複数の段からなる。
Referring to FIG. 2, the catalog table 60 consists of a plurality of columns in which conditional formula short names, search conditional formulas, and search result file names are stored.

入出力装置50は、コマンドによるデータベース検索要
求を受け付けて実行する対話型システムにおいて、利用
者から検索条件式等を受けて、その検索条件式等に応じ
た検索結果を利用者に知らせるために用いられる。
The input/output device 50 is used in an interactive system that receives and executes a database search request based on a command, for receiving a search condition expression etc. from a user and notifying the user of search results according to the search condition expression etc. It will be done.

検索条件カタログ化手段10は、入出力装置50から検
索条件式、検索条件式に基づく検索結果を入れるための
検索結果ファイル70の名前および検索条件式と1対1
に対応する条件式簡略名を受け付けて、カタログテーブ
ル60に条件式簡略名、検索条件式および検索結果ファ
イル名を関係付けてM積し、検索条件式に基づいてデー
タベース80を検索した結果を検索結果ファイル70に
蓄積する。
The search condition cataloging means 10 outputs a search condition expression from the input/output device 50, a name of a search result file 70 for storing search results based on the search condition expression, and a one-to-one correspondence with the search condition expression.
Accepts the conditional expression abbreviation corresponding to the conditional expression abbreviated name, associates the conditional expression abbreviated name, search conditional expression, and search result file name in the catalog table 60, and searches the results of searching the database 80 based on the search conditional expression. The results are accumulated in the result file 70.

第3図を参照すると、検索条件カタログ化手段10の処
理は、検索条件式、検索結果ファイル名および条件式簡
略名受付はステップ301と、カタログテーブル初段位
置付はステップ302と、位置付は段空判定ステンプ3
03と、カタログテーブル次段位置付はステップ304
と、条件式簡略名、検索条件式および検索結果ファイル
名格納ステップ305と、検索条件式解析ステップ30
6と、データベース検索ステップ307と、検索結果フ
ァイル蓄積ステンプ308とからなる。
Referring to FIG. 3, the process of the search condition cataloging means 10 is to accept the search condition expression, search result file name, and condition expression abbreviation in step 301, to assign the initial position of the catalog table in step 302, and to determine the position. Empty judgment step 3
03, and step 304 for catalog table next stage positioning.
, a step 305 for storing the conditional expression abbreviated name, search conditional expression, and search result file name, and a step 30 for analyzing the search conditional expression.
6, a database search step 307, and a search result file accumulation step 308.

高速検索手段20は、条件式簡略名を受け付けて、カタ
ログテーブル60から検索結果が入っている検索結果フ
ァイル名を認識し、その検索結果ファイル70に格納さ
れているレコードを入出力装置50に出力する。
The high-speed search means 20 receives the conditional expression abbreviation, recognizes the search result file name containing the search results from the catalog table 60, and outputs the records stored in the search result file 70 to the input/output device 50. do.

第4図を参照すると、高速検索手段2oの処理は、条件
式簡略名受付はステップ401と、カタログテーブル初
段位置付はステップ402と、条件式簡略名一致判定ス
テップ403と、カタログテーブル次段位置付はステッ
プ404と、位置付は段空判定ステンプ405と、条件
式□略名指定誤りエラーステップ406と、検索結果出
力ステップ407とからなる。
Referring to FIG. 4, the processing of the high-speed search means 2o includes step 401 for accepting the short name of the conditional expression, step 402 for assigning the first position of the catalog table, step 403 for determining whether the short name of the conditional expression matches, and step 403 for determining the next position of the catalog table. Attachment consists of a step 404, a positioning step 405 for determining whether a column is empty, a conditional expression□abbreviation specification error step 406, and a search result output step 407.

データベース処理手段30は、データベース更新要求プ
ログラム90からの更新要求を受け付けてデータベース
80を更新し、更新前レコードおよび更新後レコードの
イメージと更新種類フラグとを次の検索結果更新手段4
0に渡す。
The database processing means 30 receives an update request from the database update request program 90, updates the database 80, and transfers the images of the pre-update record and the post-update record and the update type flag to the next search result update means 4.
Pass to 0.

第5図を参照すると、データベース処理手段30の処理
は、更新要求受付はステップ501と、データベース更
新ステップ502と、更新前レコードおよび更新後レコ
ードイメージと更新種類フラグとの引渡しステップ50
3とからなる。
Referring to FIG. 5, the processing of the database processing means 30 includes step 501 for receiving an update request, step 502 for updating the database, and step 50 for delivering the pre-update record, post-update record image, and update type flag.
It consists of 3.

検索結果更新手段40は、データベース処理手段30よ
り更新前レコードおよび更新後レコードのイメージと更
新種類フラグとを受け付けて、そのレコードがカタログ
テーブル60内の検索条件式を満たす場合に、検索条件
式と対応している検索結果ファイル名の検索結果ファイ
ル70の内容を更新する。
The search result update means 40 receives the images of the pre-update record and the post-update record and the update type flag from the database processing means 30, and updates the search result expression with the search condition expression when the record satisfies the search condition expression in the catalog table 60. The contents of the search result file 70 of the corresponding search result file name are updated.

第6図を参照すると、検索結果更新手段40の処理は、
更新前レコードおよび更新後レコードイメージと更新種
類フラグとの受付はステ7ブ601と、カタログテーブ
ル初段位置付はステップ602と、更新t!類ラフラフ
判定ステップ03と、更新後レコード検索条件式満足判
定ステップ604と、更新後レコード追加ステップ60
5と、更新前レコード検索条件式満足判定ステップ60
6と、更新前レコード削除ステップ607と、更新前レ
コード検索条件式満足判定ステップ608と、更新前レ
コード削除ステンブ609と、更新後レコード検索条件
式満足判定ステップ610と、更新後レコード追加ステ
ップ611と、カタログテ−プル次段位置付はステップ
612と、位置付は段室判定ステンプ613とからなる
Referring to FIG. 6, the processing of the search result updating means 40 is as follows:
Reception of pre-update record, post-update record image, and update type flag is performed at step 7 601, catalog table first stage positioning is performed at step 602, and update t! Similar rough rough determination step 03, updated record search condition expression satisfaction determination step 604, and updated record addition step 60
5, and pre-update record search condition expression satisfaction determination step 60
6, pre-update record deletion step 607, pre-update record search condition expression satisfaction determination step 608, pre-update record deletion step 609, post-update record search condition expression satisfaction determination step 610, and post-update record addition step 611. , catalog table next stage positioning step 612, and positioning step 613 for determining stage chamber.

次に、このように構成された本実施例のデータベース検
索方式の動作について説明する。
Next, the operation of the database search method of this embodiment configured as described above will be explained.

検索条件カタログ化手段10は、入出力装W50より検
索条件式、検索結果ファイル名および条件式簡略名を受
け付けると(ステップ301)、カタログテーブル60
を初段に位置付け(ステップ302)、位置付けた段が
空であるかどうかを判断する(ステップ303)。位置
付けた段が空でないならば、検索条件カタログ化手段1
0は、カタログテーブル60を次の段に位置付けて(ス
テップ304)、ステップ303にI+御を戻し、位置
付けた段が空であるならば、条件式簡略名。
When the search condition cataloging means 10 receives the search condition expression, search result file name, and condition expression abbreviation from the input/output device W50 (step 301), the search condition cataloging means 10 stores the catalog table 60.
is positioned at the first stage (step 302), and it is determined whether the positioned stage is empty (step 303). If the positioned column is not empty, search condition cataloging means 1
0 positions the catalog table 60 in the next stage (step 304), returns I+ control to step 303, and if the positioned stage is empty, the conditional expression abbreviation.

検索条件式および検索結果ファイル名をその段に格納す
る(ステップ305)、次に、検索条件カタログ化手段
10は、検索条件式を解析しくステップ306)、解析
結果に基づいてデータベース80を検索しくステップ3
07)、検索結果を検索結果ファイル70に蓄積する(
ステップ308)。
The search condition expression and the search result file name are stored in that column (step 305). Next, the search condition cataloging means 10 analyzes the search condition expression (step 306), and searches the database 80 based on the analysis result. Step 3
07), accumulate the search results in the search result file 70 (
Step 308).

高速検索手段20は、入出力装置50より条件式簡略名
を受け付けると(ステップ401)、カタログテーブル
60を初段に位置付け(ステップ402)、入出力装置
50より受け付けた条件式簡略名とカタログテーブル6
0の位置付けられた段の条件式簡略名とが等しいかどう
かを比較する(ステップ403)。受け付けた条件式簡
略名とカタログテーブル60の位置付けられた段の条件
式簡略名とが等しくなければ、高速検索手段20は、カ
タログテーブル60を次の段に位置付け(ステップ40
4)、位置付けた段が空かどうか調べ(ステップ405
)、空であれば受け付けた条件式簡略名に一致する条件
式簡略名がカタログテーブル60に無いため、受け付け
た条件式簡略名の指定誤りエラーとして処理を中止する
(ステップ406)、位置付けた段が空でない場合、高
速検索手段20は、ステップ403および404を繰り
返し、等しい条件式簡略名が見つかったならばカタログ
テーブル60の位置付けた段に指定されている検索結果
ファイル名をもとに目的の検索結果ファイル70を読み
込んでその内容を検索結果として入出力装置5θに出力
する(ステップ407)。
When the high-speed search means 20 receives the conditional expression abbreviation from the input/output device 50 (step 401), it positions the catalog table 60 at the first stage (step 402), and uses the conditional expression abbreviation received from the input/output device 50 and the catalog table 6.
A comparison is made to see if they are equal to the conditional expression abbreviation of the column in which 0 is positioned (step 403). If the received conditional expression abbreviation is not equal to the conditional expression abbreviation of the positioned stage of the catalog table 60, the high-speed search means 20 positions the catalog table 60 in the next stage (step 40).
4) Check whether the positioned column is empty (step 405).
), if it is empty, there is no conditional expression abbreviation that matches the accepted conditional expression abbreviation in the catalog table 60, so the process is stopped as an error in specifying the accepted conditional expression abbreviation (step 406). is not empty, the high-speed search means 20 repeats steps 403 and 404, and if an equal conditional expression short name is found, the high-speed search means 20 searches for the target search result file name specified in the positioned column of the catalog table 60. The search result file 70 is read and its contents are output to the input/output device 5θ as a search result (step 407).

データベース処理手段30は、データベース更新要求プ
ログラム90からの更新要求を受け付けると(ステップ
501)、データベース80を更新しくステップ502
)、更新前レコードおよび更新後レコードのイメージと
更新種類フラグ(追加、削除または修正を示すフラグ)
とを検索結果更新手段40に渡す(ステップ503)。
Upon receiving an update request from the database update request program 90 (step 501), the database processing means 30 updates the database 80 in step 502.
), images of before-update record and after-update record, and update type flag (flag indicating addition, deletion, or modification)
and is passed to the search result updating means 40 (step 503).

検索結果更新手段40は、データベース処理手段30よ
り更新前レコードおよび更新後レコードのイメージと更
新種類フラグとを受け付けると(ステップ601)、カ
タログテーブル60を初段に位置付け(ステップ602
)、更新種類フラグの種類を判断する(ステップ603
)。
When the search result updating means 40 receives the images of the pre-update record and the post-update record and the update type flag from the database processing means 30 (step 601), it positions the catalog table 60 at the first stage (step 602).
), determine the type of update type flag (step 603
).

更新種類フラグの種類が追加の場合、検索結果更新手段
40は、更新後レコードがカタログテーブル60の位置
付けた段の検索条件式を満たすかどうかを判断する(ス
テップ604)。更新後レコードがカタログテーブル6
0の位置付けた段の検索条件式を満たす場合は、検索結
果更新手段40は、位置付けた段の検索結果ファイル名
を有する検索結果ファイル70に更新後レコードを追加
する(ステップ605)。
If the update type flag indicates addition, the search result update unit 40 determines whether the updated record satisfies the search condition expression of the positioned stage of the catalog table 60 (step 604). The updated record is catalog table 6
If the search condition expression of the positioned column 0 is satisfied, the search result updating means 40 adds the updated record to the search result file 70 having the search result file name of the positioned column (step 605).

更新種類フラグの種類が削除の場合、検索結果更新手段
40は、更新前レコードがカタログテーブル60の位置
付けた段の検索条件式を満たすかどうかを判断する(ス
テップ606)。更新前レコードがカタログテーブル6
0の位置付けた段の検索条件式を満たす場合は、検索結
果更新手段40は、位置付けた段の検索結果ファイル名
を有する検索結果ファイル70から更新前レコードを削
除する(ステップ607)。
If the update type flag indicates deletion, the search result update unit 40 determines whether the pre-update record satisfies the search condition expression of the positioned stage of the catalog table 60 (step 606). The record before update is catalog table 6
If the search condition expression of the positioned column 0 is satisfied, the search result update means 40 deletes the pre-update record from the search result file 70 having the search result file name of the positioned column (step 607).

更新種類フラグの種類が修正の場合、検索結果更新手段
40は、更新前レコードがカタログテーブル60の位置
付けた段の検索条件式を満たすかどうかを判断する(ス
テップ608)。更新前レコードがカタログテーブル6
0の位置付けた段の検索条件式を満たす場合は、検索結
果更新手段40は、位置付けた段の検索結果ファイル名
を有する検索結果ファイル70から更新前レコードを削
除する(ステップ609)。次に、検索結果更新手段4
0は、更新後レコードがカタログテーブル60の位置付
けた段の検索条件式を満たすかどうかを判断する(ステ
ップ610) 、更新後レコードがカタログテーブル6
0の位置付けた段の検索条件式を満たす場合は、位置付
けた段の検索結果ファイル名を有する検索結果ファイル
70に更新後レコードを追加する(ステップ611)。
If the update type flag indicates modification, the search result update unit 40 determines whether the pre-update record satisfies the search condition expression of the positioned stage of the catalog table 60 (step 608). The record before update is catalog table 6
If the search condition expression of the positioned column 0 is satisfied, the search result updating means 40 deletes the pre-update record from the search result file 70 having the search result file name of the positioned column (step 609). Next, search result updating means 4
0, it is determined whether the updated record satisfies the search condition expression of the positioned stage of the catalog table 60 (step 610), and the updated record is the catalog table 6.
If the search condition expression of the positioned column 0 is satisfied, an updated record is added to the search result file 70 having the search result file name of the positioned column (step 611).

以上のような追加、削除または修正の処理が終了したな
らば、検索結果更新手段40は、カタログテーブル60
を次の段に位置付け(ステップ612)、位置付けた段
が空かどうかを判断する(ステップ613)、検索結果
更新手段40は、位置付けた段が空でなければステップ
603に制御を戻して処理を繰り返し、位置付けた段が
空であれば処理を終了する。
When the above addition, deletion, or modification processing is completed, the search result update means 40 updates the catalog table 60.
is located in the next stage (step 612), and it is determined whether the located stage is empty (step 613).If the located stage is not empty, the search result updating means 40 returns control to step 603 to continue processing. Repeatedly, if the positioned stage is empty, the process ends.

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

以上説明したように本発明は、検索条件カタログ化手段
、高速検索手段、データベース処理手段および検索結果
更新手段を設けたことにより、頻繁に使用する検索条件
式をカタログ化し、すなわち条件式簡略名、検索条件式
および検索結果ファイル名を関連づけたカタログテーブ
ルを作成して、検索条件式の指定時には条件式簡略名を
指定することができようにして、利用者の手間を減らす
ことができるとともに、利用者による指定旦スを凍らす
ことができるという効果がある。
As explained above, the present invention provides a search condition cataloging means, a high-speed search means, a database processing means, and a search result updating means, so that frequently used search condition expressions are cataloged. By creating a catalog table that associates search condition expressions and search result file names, it is possible to specify a condition expression abbreviation when specifying a search condition expression, reducing the user's effort and making it easier to use. It has the effect of freezing the space designated by the person.

また、頻繁に使用する検索条件式に対する検索結果を検
索結果ファイルに蓄積し、検索処理時にはデータベース
を検索するのではなく、検索結果ファイルの内容を入出
力装置に出力することにより、処理時間を高速化するこ
とができるという効果がある。
In addition, search results for frequently used search condition expressions are stored in a search result file, and the contents of the search result file are output to the input/output device instead of searching the database during search processing, thereby speeding up processing time. It has the effect of being able to be transformed into

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

第1図は本発明の一実施例に係るデータベース検索方式
の構成を示すブロック図、 第2図は第1図中のカタログテーブルの内容を示す図、 第3図は第1図中の検索条件カタログ化手段の処理を示
す流れ図、 第4図は第1図中の高速検索手段の処理を示す流れ図、 第5図は第1図中のデータベース処理手段の処理を示す
流れ図、 第6図は第1図中の検索結果更新手段の処理を示す流れ
図である。 図において、 10・・・検索条件カタログ化手段、 20・・・高速検索手段、 30・・・データベース処理手段、 40・・・検索結果更新手段、 50・・・入出力装置、 60・・・カタログテーブル、 70・・・検索結果ファイル、 80・・・データベース、 90・・・データベース更新要求プログラムである。 第2図 第5図 第3図 第4図 高速検索手段20
Figure 1 is a block diagram showing the configuration of a database search method according to an embodiment of the present invention, Figure 2 is a diagram showing the contents of the catalog table in Figure 1, and Figure 3 is the search conditions in Figure 1. 4 is a flowchart showing the processing of the high-speed search means in FIG. 1; FIG. 5 is a flowchart showing the processing of the database processing means in FIG. 1; FIG. 6 is a flowchart showing the processing of the database processing means in FIG. 2 is a flowchart showing the processing of the search result updating means in FIG. 1; In the figure, 10... search condition cataloging means, 20... high speed search means, 30... database processing means, 40... search result updating means, 50... input/output device, 60... Catalog table, 70...Search result file, 80...Database, 90...Database update request program. Figure 2 Figure 5 Figure 3 Figure 4 High speed search means 20

Claims (1)

【特許請求の範囲】 コマンドによるデータベース検索要求を受け付けて実行
する対話型システムにおいて、 入出力装置から検索条件式、検索条件式に基づく検索結
果を入れるための検索結果ファイルの名前および検索条
件式と1対1に対応する条件式簡略名を受け付けてカタ
ログテーブルに条件式簡略名、検索条件式および検索結
果ファイル名を関係付けて蓄積し検索条件式に基づいて
データベースを検索した結果を検索結果ファイルに蓄積
する検索条件カタログ化手段と、 入出力装置から条件式簡略名を受け付け前記カタログテ
ーブルを参照して検索結果が入っている検索結果ファイ
ル名を認識し該当する検索結果ファイルに格納されてい
る検索結果のレコードを入出力装置に出力する高速検索
手段と、 データベース更新要求プログラムからの更新要求を受け
付けてデータベースを更新し更新前レコードおよび更新
後レコードのイメージを検索結果更新手段に渡すデータ
ベース処理手段と、 このデータベース処理手段より更新前レコードおよび更
新後レコードのイメージを受け付けてそのレコードが前
記カタログテーブル内の検索条件式を満たす場合には検
索条件式と対応している検索結果ファイル名の検索結果
ファイルの内容を更新する前記検索結果更新手段と を有することを特徴とするデータベース検索方式。
[Claims] In an interactive system that receives and executes a database search request using a command, a search condition expression, the name of a search result file for storing search results based on the search condition expression, and the search condition expression are provided from an input/output device. It accepts conditional expression abbreviations in one-to-one correspondence, stores the conditional expression abbreviation, search conditional expression, and search result file name in a catalog table, and stores the results of searching the database based on the search conditional expression in a search result file. a search condition cataloging means for accumulating the search condition in the input/output device; and a search condition cataloging means that receives a condition expression abbreviation from the input/output device, refers to the catalog table, recognizes the search result file name containing the search result, and stores the search result file name in the corresponding search result file. A high-speed search means that outputs search result records to an input/output device; and a database processing means that receives update requests from a database update request program, updates the database, and delivers images of pre-update records and post-update records to the search result update means. The database processing means accepts images of records before update and records after update, and if the record satisfies the search condition expression in the catalog table, a search result with a search result file name corresponding to the search condition expression is obtained. A database search method comprising: the search result update means for updating the contents of a file.
JP1268831A 1989-10-16 1989-10-16 Data base retrieving system Pending JPH03129570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1268831A JPH03129570A (en) 1989-10-16 1989-10-16 Data base retrieving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1268831A JPH03129570A (en) 1989-10-16 1989-10-16 Data base retrieving system

Publications (1)

Publication Number Publication Date
JPH03129570A true JPH03129570A (en) 1991-06-03

Family

ID=17463867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1268831A Pending JPH03129570A (en) 1989-10-16 1989-10-16 Data base retrieving system

Country Status (1)

Country Link
JP (1) JPH03129570A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06243170A (en) * 1993-02-16 1994-09-02 Fuji Xerox Co Ltd Retrieving device and retrieval result reutilizing method
JPH07311774A (en) * 1994-05-17 1995-11-28 Matsushita Electric Ind Co Ltd Electronic filing device
JPH0934769A (en) * 1995-07-20 1997-02-07 Fuji Xerox Co Ltd File managing device
WO2006109787A1 (en) * 2005-04-12 2006-10-19 Matsushita Electric Industrial Co., Ltd. Broadcasting device and receiver

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06243170A (en) * 1993-02-16 1994-09-02 Fuji Xerox Co Ltd Retrieving device and retrieval result reutilizing method
JPH07311774A (en) * 1994-05-17 1995-11-28 Matsushita Electric Ind Co Ltd Electronic filing device
JPH0934769A (en) * 1995-07-20 1997-02-07 Fuji Xerox Co Ltd File managing device
WO2006109787A1 (en) * 2005-04-12 2006-10-19 Matsushita Electric Industrial Co., Ltd. Broadcasting device and receiver
JPWO2006109787A1 (en) * 2005-04-12 2008-11-20 松下電器産業株式会社 Broadcasting device and receiving device
JP4553008B2 (en) * 2005-04-12 2010-09-29 パナソニック株式会社 Receiver
US8065705B2 (en) 2005-04-12 2011-11-22 Panasonic Corporation Broadcasting device selecting program information based on search conditions

Similar Documents

Publication Publication Date Title
US20020143751A1 (en) Method, system, and program for accessing rows in one or more tables satisfying a search criteria
JPH03129570A (en) Data base retrieving system
JPH09244945A (en) Information presenting device
JPH07319742A (en) Physical deleting system for logically deleted data
JPH0561758A (en) Information link device
JP3260587B2 (en) Time series data management method
US7010552B2 (en) Optimizing command execution in database systems that provide support for updatable scrollable cursors
JP2740238B2 (en) File exclusive control unit
JPS59146339A (en) Information retrieving system
JP2000148548A (en) Unnecessary record deleting device
JPH0736916A (en) Image retrieval device
JP2522437B2 (en) Database system
JPH0635774A (en) Data base management system
JPH03251937A (en) Data base retrieving system
JPS6380325A (en) Information retrieval method and index used therefor
JP3253772B2 (en) Computer system and database operation control method applied to the system
JPH08329095A (en) Data retrieval system for relational data base
JPH05313971A (en) Key word managing system in relational data base
JPH1091493A (en) Method for constructing database
JP2000148782A (en) Method and system for retrieval from relational data base and information recording medium where retrieving program for relational data base is recorded
JPH07244667A (en) Information retrieval method
JPH10240744A (en) System for processing retrieval of range division chart and method therefor and recording medium for recording retrieval processing program
JPH05233313A (en) Symbol table processing system
JPH06325088A (en) Information retrieving system
JP2001344240A (en) Retrieving method and retrieval system on internet