JPH10105560A - Method and device for retrieving data base - Google Patents

Method and device for retrieving data base

Info

Publication number
JPH10105560A
JPH10105560A JP8275471A JP27547196A JPH10105560A JP H10105560 A JPH10105560 A JP H10105560A JP 8275471 A JP8275471 A JP 8275471A JP 27547196 A JP27547196 A JP 27547196A JP H10105560 A JPH10105560 A JP H10105560A
Authority
JP
Japan
Prior art keywords
search
search condition
input
user
input frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP8275471A
Other languages
Japanese (ja)
Other versions
JP2842413B2 (en
Inventor
Yoko Anpo
洋子 安保
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 JP8275471A priority Critical patent/JP2842413B2/en
Publication of JPH10105560A publication Critical patent/JPH10105560A/en
Application granted granted Critical
Publication of JP2842413B2 publication Critical patent/JP2842413B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten time for retrieval by utilizing the frequency of inputs to retrieval condition items for each user and to improve operability when inputting retrieval conditions. SOLUTION: When a user ID is inputted from an input device 1, a retrieval order determining means 4 reads an input frequency table 10 corresponding to that user ID. The input frequency table 10 records the frequency of inputting to the retrieval condition items for that user. An auxiliary retrieving means 5 retrieves a data base 11 with the prescribed number of high-order retrieval condition items having high input frequency in the input frequency table 10 as keys and the auxiliary retrieved result 12 classifying retrieval object data for each value of keys is prepared. Based on the input frequency table 10, the retrieval condition items on a retrieval condition item input picture are rearranged in order from the highest input frequency by an input picture shaping means 6. When the user inputs the retrieval conditions on the retrieval condition item input picture, a retrieving means 9 finds relevant data by retrieving the auxiliary retrieved result 12 and outputs these data to an output device 14. Besides, an input frequency table preparing means 8 updates the input frequency table 10 for the next time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータベース検索技
術に関し、特にユーザから入力された検索条件を満たす
データをデータベースから検索して出力するデータベー
ス検索方法およびその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database search technique, and more particularly to a database search method and apparatus for searching a database for data satisfying search conditions input by a user and outputting the data.

【0002】[0002]

【従来の技術】従来、この種のデータベース検索装置に
あっては、検索条件が複数のキーの論理積を含む場合、
可能な限り検索時間を短縮するための工夫がなされてい
る。従来のデータベース検索装置の一例が特開平7−1
05223号公報に記載されている。この公報に記載さ
れたデータベース検索装置は、予め同一のキーを持つデ
ータの出現回数をキーの内容と共に蓄積しておき、出現
回数の少ないキーから検索を行い、早期にデータの絞り
込みをすることによって、検索時間を短縮するものであ
る。
2. Description of the Related Art Conventionally, in this type of database search apparatus, when a search condition includes a logical product of a plurality of keys,
A device has been devised to reduce the search time as much as possible. An example of a conventional database search apparatus is disclosed in Japanese Patent Laid-Open No. 7-1.
No. 05223. The database search device described in this publication stores the number of appearances of data having the same key in advance together with the content of the key, searches from the key with the least number of occurrences, and narrows down the data early. , To shorten the search time.

【0003】[0003]

【発明が解決しようとする課題】従来の技術において
は、同一のキーを持つデータの出現回数が偏在的分布を
していない場合、検索時間の短縮化は期待できない。そ
の理由は、出現件数の少ないキーによるデータの絞り込
みが効果的に実施できないからである。このため、他の
工夫によって可能な限り検索時間を短縮し得る技術が求
められている。
In the prior art, if the number of appearances of data having the same key is not unevenly distributed, a reduction in search time cannot be expected. The reason is that it is not possible to effectively narrow down data by using a key having a small number of occurrences. For this reason, there is a demand for a technique that can shorten the search time as much as possible by other means.

【0004】本発明の目的は、ユーザによる検索条件項
目の現在までの入力頻度を利用することにより、ユーザ
が任意の検索条件を選択して入力するデータベース検索
における検索時間を短縮することにある。
An object of the present invention is to reduce a search time in a database search in which a user selects and inputs an arbitrary search condition by utilizing a user's input frequency of search condition items up to the present.

【0005】本発明の他の目的は、検索条件項目入力画
面上における検索条件項目の選択にかかる操作性を向上
させることにある。
Another object of the present invention is to improve the operability of selecting a search condition item on a search condition item input screen.

【0006】[0006]

【課題を解決するための手段】本発明は、個々の検索条
件項目に対するユーザの入力頻度を記録した入力頻度表
に基づき、入力頻度の高い順に検索条件項目入力画面上
の検索条件項目を並べ替えると共に、入力頻度の高い検
索条件項目をキーにして予備検索を行うことを基本とす
る。
The present invention rearranges search condition items on a search condition item input screen in descending order of input frequency based on an input frequency table in which the user's input frequency for each search condition item is recorded. In addition, a preliminary search is basically performed using a search condition item with a high input frequency as a key.

【0007】具体的には、検索条件項目入力画面上の複
数の検索条件項目のうちユーザによって選択された検索
条件項目に対して入力された検索条件を満たすデータを
データベースから検索して出力するデータベース検索方
法において、前記ユーザによる個々の検索条件項目に対
する入力頻度を記録した入力頻度表中の入力頻度の高い
上位所定個数の検索条件項目をキーにして前記データベ
ースを検索し、キーの値毎に検索対象データを分類した
予備検索結果を作成するステップと、前記入力頻度表に
基づき入力頻度の高い順に検索条件項目入力画面上の検
索条件項目を並べ替えるステップと、検索条件項目入力
画面上の複数の検索条件項目のうちユーザによって選択
された検索条件項目に対して入力された検索条件に基づ
いて前記予備検索結果を検索すると共に、ユーザによっ
て選択された検索条件項目に応じて前記入力頻度表を更
新するステップと、検索結果を出力装置に出力するステ
ップとを含むことを特徴とする。
More specifically, a database for searching and outputting data satisfying a search condition input for a search condition item selected by a user among a plurality of search condition items on a search condition item input screen. In the search method, the database is searched using, as a key, a predetermined number of search condition items having a high input frequency in an input frequency table in which input frequencies of individual search condition items by the user are recorded, and a search is performed for each key value. Creating a preliminary search result in which the target data is classified; rearranging the search condition items on the search condition item input screen in descending order of the input frequency based on the input frequency table; The preliminary search based on a search condition input for a search condition item selected by the user among the search condition items With Search results, characterized in that it comprises a step of updating the input frequency table in accordance with the search condition item selected by the user, and outputting to an output device search results.

【0008】また、検索条件項目入力画面上の複数の検
索条件項目のうちユーザによって選択された検索条件項
目に対して入力された検索条件を満たすデータをデータ
ベースから検索して出力するデータベース検索装置にお
いて、ユーザによる個々の検索条件項目に対する入力頻
度を記録したユーザ毎の入力頻度表と、今回検索を行う
ユーザに対応する入力頻度表中の入力頻度の高い上位所
定個数の検索条件項目をキーにして前記データベースを
検索し、キーの値毎に検索対象データを分類した予備検
索結果を作成する予備検索手段と、今回検索を行うユー
ザに対応する入力頻度表に基づき入力頻度の高い順に検
索条件項目入力画面上の検索条件項目を並べ替える入力
画面整形手段と、検索条件項目入力画面上の複数の検索
条件項目のうちユーザによって選択された検索条件項目
に対して入力された検索条件に基づいて前記予備検索結
果を検索する検索手段と、検索手段の検索結果を出力す
る出力装置と、検索条件項目入力画面上のユーザによっ
て選択された検索条件項目に応じてそのユーザの入力頻
度表中の該当する入力頻度を更新する入力頻度表作成手
段とを備えることを特徴とする。
[0008] Further, in a database search device for searching and outputting from a database data satisfying a search condition input for a search condition item selected by a user among a plurality of search condition items on a search condition item input screen. An input frequency table for each user that records the input frequency of each search condition item by the user, and a predetermined number of search condition items having a high input frequency in the input frequency table corresponding to the user performing the current search are used as keys. Preliminary search means for searching the database and creating a preliminary search result in which data to be searched is classified for each key value, and inputting search condition items in descending order of input frequency based on an input frequency table corresponding to the user performing the current search An input screen shaping means for rearranging search condition items on the screen, and a user interface among a plurality of search condition items on the search condition item input screen. Search means for searching for the preliminary search result based on the search condition input for the search condition item selected by the user, an output device for outputting the search result of the search means, and a user on the search condition item input screen Input frequency table creating means for updating the corresponding input frequency in the input frequency table of the user according to the search condition item selected by the user.

【0009】一般に検索条件項目入力画面上に複数の検
索条件項目が用意されていても、個々の検索では、その
一部の検索条件項目だけを選択する場合が多い。このと
きの検索条件項目の選択傾向はユーザ毎に相違するが、
個々のユーザに限って見れば、現在までの選択傾向から
或る程度予測することができる。つまり、過去に入力頻
度の高かった検索条件項目ほど今回も選択される可能性
が高い。そこで、ユーザによる個々の検索条件項目に対
する入力頻度を記録した入力頻度表に基づき、入力頻度
の高かった上位所定個数の検索条件項目をキーにしてデ
ータベースを検索して、キーの値毎に検索対象データを
分類した予備検索結果を作成しておけば、ユーザが実際
に検索条件の値を入力した後の検索時間を短縮すること
ができる。
In general, even if a plurality of search condition items are prepared on the search condition item input screen, it is often the case that only a part of the search condition items is selected in each search. At this time, the selection tendency of the search condition item differs for each user,
If viewed only from individual users, it can be predicted to some extent from the selection tendency up to now. In other words, a search condition item having a higher input frequency in the past is more likely to be selected this time. Therefore, based on an input frequency table that records the input frequencies of individual search condition items by the user, a database is searched using a predetermined number of search condition items having a high input frequency as a key, and a search object is searched for each key value. If a preliminary search result in which data is classified is created, the search time after the user actually inputs the value of the search condition can be reduced.

【0010】また、入力頻度の高い順に検索条件項目入
力画面上の検索条件項目を並べ替えるため、ユーザが頻
繁に選択する項目ほど画面の先頭に近い部分に集められ
る。このため、検索条件項目を選択するためにカーソル
を広範囲に移動させる必要がなくなり、操作性が向上す
る。
[0010] Also, since the search condition items on the search condition item input screen are rearranged in descending order of input frequency, items that are frequently selected by the user are collected in a portion near the top of the screen. Therefore, it is not necessary to move the cursor over a wide range in order to select a search condition item, and operability is improved.

【0011】[0011]

【発明の実施の形態】次に本発明の実施の形態の例につ
いて図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0012】図1を参照すると、本発明を適用したデー
タベース検索装置の一例は、キーボード等の入力装置1
と、プログラムによって動作するCPU等で構成された
制御装置15と、情報を記憶する主記憶や外部記憶等の
記憶装置16と、CRTディスプレイ等の出力装置14
とを含む。
Referring to FIG. 1, an example of a database search device to which the present invention is applied is an input device 1 such as a keyboard.
A control device 15 composed of a CPU or the like operated by a program; a storage device 16 such as a main storage or an external storage for storing information; and an output device 14 such as a CRT display.
And

【0013】制御装置15は、入力装置1から入力され
た検索条件項目の入力頻度をユーザ毎に記録する入力頻
度表作成手段8と、入力頻度が高い順に検索条件項目を
並べ替える検索順序決定手段4と、並べ替えられた検索
条件項目を表示するための入力画面整形手段6と、入力
頻度の高い上位幾つかの検索条件項目をキーとして予め
検索を行う予備検索手段5と、ユーザによる検索条件の
値によって検索を行う検索手段9と、これらの手段と入
力装置1,出力装置14との間の入出力を制御する入力
制御手段2および出力制御手段13とを備えている。
The control device 15 includes an input frequency table creating means 8 for recording the input frequency of the search condition items input from the input device 1 for each user, and a search order determining means for rearranging the search condition items in descending order of the input frequency. 4, an input screen shaping means 6 for displaying the sorted search condition items, a preliminary search means 5 for performing a search in advance using some of the most frequently input search condition items as keys, and a search condition by the user. And an input control means 2 and an output control means 13 for controlling input and output between these means and the input device 1 and the output device 14.

【0014】また記憶装置16は、検索条件項目とその
入力回数を記録するユーザ毎の入力頻度表10と、検索
対象データを格納してあるリレーショナルデータベース
等のデータベース11と、予備検索結果12とを記憶す
る。
The storage device 16 stores an input frequency table 10 for each user which records search condition items and the number of times of input, a database 11 such as a relational database storing search target data, and a preliminary search result 12. Remember.

【0015】次に本発明の実施の形態の動作について、
図1乃至図3を参照して詳細に説明する。
Next, the operation of the embodiment of the present invention will be described.
This will be described in detail with reference to FIGS.

【0016】ユーザが本データベース検索装置を使用す
る場合、先ず、入力装置1から自己のユーザIDを入力
する。この入力されたユーザIDは、入力制御手段2に
よって制御装置15内に入力され(101)、検索順序
決定手段4に供給される。検索順序決定手段4は、入力
されたユーザIDに対応する入力頻度表が記憶装置16
に記憶されているか否かを調べ(102)、記憶されて
いればその入力頻度表10を読み込み(103)、その
入力頻度表10に記録された各検索条件項目の入力回数
を参照して、頻度の高い順に検索条件項目を並べる(1
04)。この並べ替えられた検索条件項目は予備検索手
段5および入力画面整形手段6に供給される。
When a user uses the present database search device, first, the user inputs his / her user ID from the input device 1. The input user ID is input into the control device 15 by the input control means 2 (101), and is supplied to the search order determination means 4. The search order determining means 4 stores the input frequency table corresponding to the input user ID in the storage device 16.
Is checked (102), and if it is stored, the input frequency table 10 is read (103), and the input frequency of each search condition item recorded in the input frequency table 10 is referred to. Arrange search condition items in descending order of frequency (1
04). The rearranged search condition items are supplied to the preliminary search means 5 and the input screen shaping means 6.

【0017】予備検索手段5では、供給された検索条件
項目のうち、頻度の高い上位幾つかの検索条件項目を選
択し、それらをキーに検索対象のデータベース11を検
索し、キーの値毎に検索対象データを分類した予備検索
結果12を作成して記憶装置16に記憶する(10
5)。なお、頻度の高い上位幾つの検索条件項目を使用
するかは予め決められている。
The preliminary search means 5 selects some of the most frequently used search condition items from the supplied search condition items, searches the search target database 11 using them as a key, and, for each key value, A preliminary search result 12 in which search target data is classified is created and stored in the storage device 16 (10
5). The number of the most frequently used search condition items is determined in advance.

【0018】他方、入力画面整形手段6では、供給され
た検索条件項目を検索条件項目入力画面上の項目名に対
応させて整形し(106)、出力制御手段13を通じて
出力装置14に出力する(108)。これによって、入
力頻度の高い順に検索条件項目が並べられた検索条件項
目入力画面がユーザに提示される。
On the other hand, the input screen shaping means 6 shapes the supplied search condition items in correspondence with the item names on the search condition item input screen (106), and outputs them to the output device 14 through the output control means 13 (106). 108). Thereby, a search condition item input screen in which the search condition items are arranged in descending order of the input frequency is presented to the user.

【0019】なお、ユーザが初めて検索を行う場合は、
そのユーザの入力頻度表が未だ存在しないため、予備検
索は実施されず、従って予備検索結果12は作成されな
い。また、入力画面整形手段6では、予め決められた順
序で検索条件項目を並べた検索条件項目入力画面を作成
し(107)、出力制御手段13を通じて出力装置14
に表示する(108)。
When the user performs a search for the first time,
Since the input frequency table of the user does not yet exist, the preliminary search is not performed, and thus the preliminary search result 12 is not created. The input screen shaping means 6 creates a search condition item input screen in which the search condition items are arranged in a predetermined order (107), and outputs the output device 14 through the output control means 13.
(108).

【0020】その後、ユーザが出力装置14に表示され
た検索条件項目入力画面に対し、任意の検索条件項目を
カーソルによって順次選択して検索条件を入力すると、
この入力された検索条件が入力制御手段2を通じて入力
頻度表作成手段8および検索手段9に供給される(10
9)。
Thereafter, when the user sequentially selects arbitrary search condition items with a cursor on the search condition item input screen displayed on the output device 14 and inputs search conditions,
The input search condition is supplied to the input frequency table creation means 8 and the search means 9 through the input control means 2 (10).
9).

【0021】入力頻度表作成手段8では、先に入力した
ユーザIDに対応する入力頻度表10における今回入力
された検索条件項目の入力回数を更新する(110)。
なお、ユーザが初めて検索を行った場合にはそのユーザ
の入力頻度表は未だ作成されていない。このときは記憶
装置16中にそのユーザIDに対応する初期状態の入力
頻度表を作成した後、今回の検索条件項目の選択に応じ
て入力頻度を更新する。
The input frequency table creating means 8 updates the number of inputs of the currently input search condition item in the input frequency table 10 corresponding to the previously input user ID (110).
When the user performs a search for the first time, the input frequency table of the user has not been created yet. At this time, an input frequency table in the initial state corresponding to the user ID is created in the storage device 16, and the input frequency is updated in accordance with the current selection of the search condition item.

【0022】他方、検索手段9では、入力された検索条
件を用いて、記憶装置16に作成されている予備検索結
果118を検索して、条件に合致するデータを取り出し
(112)、出力制御手段13を通じて出力装置14に
検索結果を出力する(114)。また、ユーザが初めて
検索を行った場合には、予備検索結果12が作成されて
いないため、検索手段9は、予備検索結果12が作成さ
れていないことを検出(111)、元のデータベース1
1を用いて検索を実行し(113)、その検索結果を出
力制御手段13を通じて出力装置14に出力する(11
4)。
On the other hand, the search means 9 searches the preliminary search results 118 created in the storage device 16 using the input search conditions, and extracts data meeting the conditions (112). The search result is output to the output device 14 through the interface 13 (114). When the user performs a search for the first time, since the preliminary search result 12 has not been created, the search means 9 detects that the preliminary search result 12 has not been created (111) and returns to the original database 1
1 (113), and outputs the search result to the output device 14 through the output control means 13 (11).
4).

【0023】なお、図2および図3の流れ図では、予備
検索を終了した後に検索条件項目入力画面の表示と検索
条件の入力とを行うようにしているが、これらは各々独
立して実施できるため、予備検索の処理と並行して、検
索条件項目入力画面の表示と検索条件の入力の処理を行
うようにしても良い。
In the flowcharts of FIGS. 2 and 3, the display of the search condition item input screen and the input of the search condition are performed after the completion of the preliminary search, but these can be performed independently. Alternatively, the display of the search condition item input screen and the process of inputting the search condition may be performed in parallel with the preliminary search process.

【0024】[0024]

【実施例】次に本発明の実施例について、図1,図4お
よび図5を参照して詳細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to FIGS. 1, 4 and 5. FIG.

【0025】例えば入力制御手段2を通じて入力装置1
からユーザIDとして“Kensaku”が入力される
と(201)、“Kensaku”のユーザIDが付さ
れた入力頻度表10が記憶装置16から検索順序決定手
段4に読み込まれる(202)。このとき読み込まれた
入力頻度表10には、図4中に図示するように1,2,
3,4の検索条件項目について、それぞれ入力回数が
7,0,10,4と記録されているものとする。検索順
序決定手段4では、頻度が高い順に検索条件項目を並べ
替えるので、この例では図3の符号301に示すよう
に、3,1,4,2の順番で検索条件項目が並べられ
る。
For example, the input device 1 through the input control means 2
When "Kensaku" is input as a user ID from (step 201), the input frequency table 10 with the user ID "Kensaku" is read from the storage device 16 into the search order determining means 4 (202). In the input frequency table 10 read at this time, as shown in FIG.
It is assumed that the number of inputs is recorded as 7, 0, 10, and 4 for the search condition items 3 and 4, respectively. Since the search condition items are rearranged by the search order determining means 4 in descending order of frequency, in this example, the search condition items are arranged in the order of 3, 1, 4, and 2, as indicated by reference numeral 301 in FIG.

【0026】次に予備検索手段5で、入力頻度が高い上
位2つの検索条件項目3,1を選択し、データと検索条
件項目1,2,3,4との対応関係を格納した図4に図
示する如き表1〜表4から構成されるデータベース11
から検索条件項目3と検索条件項目1をキーにした検索
を行い、予備検索結果12を作成する(204)。この
とき、検索条件項目3の取りうる値がX,Y,Zの3つ
であり、検索条件項目1の取りうる値がa,b,cの3
つとすると、図4の表Aに示すように(項目3,項目
1)=(X,a)となるデータを集めた表Aと、図4の
表Bに示すように(X,b)となるデータを集めた表B
と、その他図示しないが、(X,c),(Y,a),
(Y,b),(Y,c),(Z,a),(Z,b),
(Z,c)に対応する合計9種類の表が作成される。
Next, the preliminary search means 5 selects the top two search condition items 3, 1 having a high input frequency, and stores the correspondence between the data and the search condition items 1, 2, 3, 4 in FIG. Database 11 composed of Tables 1 to 4 as shown
, A search is performed using the search condition item 3 and the search condition item 1 as keys, and a preliminary search result 12 is created (204). At this time, the search condition item 3 has three possible values X, Y, and Z, and the search condition item 1 has three possible values a, b, and c.
In other words, as shown in Table A of FIG. 4, Table A which collects data satisfying (item 3, item 1) = (X, a), and (X, b) as shown in Table B of FIG. Table B that collects different data
(X, c), (Y, a),
(Y, b), (Y, c), (Z, a), (Z, b),
A total of nine types of tables corresponding to (Z, c) are created.

【0027】他方、入力画面整形手段6では、図5の符
号302に示すように頻度の高い順に、すなわち3,
1,4,2の順に検索条件項目を並べた検索条件項目入
力画面を作成して出力制御手段13を通じて出力装置1
4に表示する(205)。
On the other hand, in the input screen shaping means 6, as indicated by reference numeral 302 in FIG.
A search condition item input screen in which search condition items are arranged in the order of 1, 4, and 2 is created, and the output device 1 is output through the output control means 13.
4 is displayed (205).

【0028】その後ユーザから、検索条件として、「項
目3=X,項目1=a,項目4=40以下」が入力され
たとすると、これが入力制御手段2によって入力され
(206)、入力頻度表作成手段8においては、ユーザ
IDとして“Kensaku”を持つ入力頻度表10を
更新して、図5に示すように1,2,3,4の検索条件
項目の入力回数をそれぞれ8,0,11,5とする(2
07)。
Thereafter, assuming that the user inputs "item 3 = X, item 1 = a, item 4 = 40 or less" as a search condition, this is input by the input control means 2 (206), and an input frequency table is prepared. In the means 8, the input frequency table 10 having "Kensaku" as the user ID is updated, and as shown in FIG. 5 (2
07).

【0029】また検索手段9においては、予備検索結果
12の中から、項目3=X,項目1=aに対応する表A
を選択し、この表Aを「項目4=40以下」の条件で検
索し、検索結果としてD1を求める(208)。そし
て、出力制御手段13がこの検索結果D1を出力装置1
4に出力する(209)。
In the search means 9, the table A corresponding to item 3 = X and item 1 = a from the preliminary search results 12
Is selected, and the table A is searched under the condition of “item 4 = 40 or less”, and D1 is obtained as a search result (208). Then, the output control means 13 outputs the search result D1 to the output device 1
4 (209).

【0030】なお、ユーザが選択した検索条件項目が予
備検索の場合と全く同じ項目1と項目3であった場合に
は、ユーザが指定した項目1,3の値に対応する何れか
表の内容全てが検索結果となる。例えば、上記の例にお
いてユーザが検索条件項目として項目3だけを選択し、
その値としてXを指定した場合、表A中のデータが検索
結果となる。また、ユーザが選択した検索条件項目の一
部が予備検索と一致する場合には、その一致した検索条
件項目の値を持つ全ての表中から不一致であった検索条
件項目の値を持つデータを検索する。例えば、上記の例
においてユーザが検索条件項目として項目3と項目4と
を選択し、その各々の値がX,40以下とすると、予備
検索結果を構成する9種類の表のうち、検索条件項目3
の値がXである3つの表から、項目4の値が40以下で
あるデータを検索する。更に、ユーザが選択した検索条
件項目と一致する検索条件項目が予備検索に使った検索
条件項目中に1つも存在しないときは、予備検索結果全
てに対して検索が実行される。この場合、予備検索結果
の検索に代えて元のデータベース11を検索するように
構成しても良い。
If the search condition items selected by the user are exactly the same as item 1 and item 3 in the case of the preliminary search, the contents of any table corresponding to the values of items 1 and 3 specified by the user Everything is a search result. For example, in the above example, the user selects only item 3 as a search condition item,
When X is specified as the value, the data in Table A is the search result. If a part of the search condition item selected by the user matches the preliminary search, data having the value of the unmatched search condition item from all the tables having the value of the matched search condition item is deleted. Search for. For example, in the above example, if the user selects item 3 and item 4 as search condition items, and their respective values are X, 40 or less, the search condition items in the nine types of tables constituting the preliminary search result 3
Are searched for data in which the value of item 4 is 40 or less from three tables in which the value of X is X. Furthermore, when there is no search condition item that matches the search condition item selected by the user in the search condition items used for the preliminary search, the search is executed for all the preliminary search results. In this case, the original database 11 may be searched instead of the search for the preliminary search result.

【0031】また、上記の例では、入力頻度表中の入力
頻度の高い上位所定個数の検索条件項目として2個の検
索条件項目を使用したが、その個数は2個に限定される
ことはない。また、入力頻度表中にそのユーザが検索を
行った総回数も記録しておき、総回数分の入力回数の値
が予め定められた値より大きな検索条件項目を予備検索
に使う検索条件項目としても良い。
In the above example, two search condition items are used as a predetermined number of search condition items having a high input frequency in the input frequency table, but the number is not limited to two. . In addition, the total number of times the user has performed a search is also recorded in the input frequency table, and a search condition item in which the value of the number of times of input for the total number is larger than a predetermined value is used as a search condition item for the preliminary search. Is also good.

【0032】[0032]

【発明の効果】以上説明したように本発明によれば以下
のような効果を得ることができる。
As described above, according to the present invention, the following effects can be obtained.

【0033】常に特定の検索条件項目を選択して検索を
行うことが多いユーザの場合、ユーザが検索条件を入力
した後の検索時間を短縮することができる。その理由
は、入力頻度の高かった検索条件項目をキーにして予備
検索を行うためである。
For a user who frequently performs a search by always selecting a specific search condition item, the search time after the user inputs the search condition can be reduced. The reason is that a preliminary search is performed using the search condition item that has been frequently input as a key.

【0034】また、常に特定の検索条件項目を選択して
検索を行うことが多いユーザの場合、検索条件入力時の
操作性が向上する。その理由は、検索条件項目入力画面
上の検索条件項目を入力頻度の高い順に並べ替えるた
め、検索条件項目を選択するためのカーソルの移動範囲
が狭まるからである。
In the case of a user who frequently selects a specific search condition item to perform a search, the operability at the time of inputting the search condition is improved. The reason is that, since the search condition items on the search condition item input screen are rearranged in descending order of the input frequency, the moving range of the cursor for selecting the search condition items is narrowed.

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

【図1】本発明を適用したデータベース検索装置の一例
を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of a database search device to which the present invention has been applied.

【図2】本発明の実施の形態のデータベース検索装置に
おいてユーザIDの入力から検索結果の出力までの動作
の流れの一部を示すフローチャートである。
FIG. 2 is a flowchart showing a part of an operation flow from input of a user ID to output of a search result in the database search device according to the embodiment of the present invention.

【図3】本発明の実施の形態のデータベース検索装置に
おいてユーザIDの入力から検索結果の出力までの動作
の流れの残りの部分を示すフローチャートである。
FIG. 3 is a flowchart showing the rest of the flow of operation from input of a user ID to output of a search result in the database search device according to the embodiment of the present invention.

【図4】本発明の実施例のデータベース検索装置におい
てユーザIDの入力から検索結果の出力までの動作の流
れの一部を示すフローチャートである。
FIG. 4 is a flowchart showing a part of an operation flow from input of a user ID to output of a search result in the database search device of the embodiment of the present invention.

【図5】本発明の実施例のデータベース検索装置におい
てユーザIDの入力から検索結果の出力までの動作の流
れの残りの部分を示すフローチャートである。
FIG. 5 is a flowchart showing the remaining part of the operation flow from the input of the user ID to the output of the search result in the database search device of the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…入力装置 2…入力制御手段 4…検索順序決定手段 5…予備検索手段 6…入力画面整形手段 8…入力頻度表作成手段 9…検索手段 10…入力頻度表 11…データベース 12…予備検索結果 13…出力制御手段 14…出力装置 15…制御装置 16…記憶装置 DESCRIPTION OF SYMBOLS 1 ... Input device 2 ... Input control means 4 ... Search order determination means 5 ... Preliminary search means 6 ... Input screen shaping means 8 ... Input frequency table preparation means 9 ... Search means 10 ... Input frequency table 11 ... Database 12 ... Preliminary search result 13 output control means 14 output device 15 control device 16 storage device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 個々の検索条件項目に対するユーザの入
力頻度を記録した入力頻度表に基づき、入力頻度の高い
順に検索条件項目入力画面上の検索条件項目を並べ替え
ると共に、入力頻度の高い検索条件項目をキーにして予
備検索を行うことを特徴とするデータベース検索方法。
1. A search condition item on a search condition item input screen is rearranged in descending order of input frequency based on an input frequency table in which a user input frequency for each search condition item is recorded. A database search method characterized by performing a preliminary search using an item as a key.
【請求項2】 検索条件項目入力画面上の複数の検索条
件項目のうちユーザによって選択された検索条件項目に
対して入力された検索条件を満たすデータをデータベー
スから検索して出力するデータベース検索方法におい
て、 前記ユーザによる個々の検索条件項目に対する入力頻度
を記録した入力頻度表中の入力頻度の高い上位所定個数
の検索条件項目をキーにして前記データベースを検索
し、キーの値毎に検索対象データを分類した予備検索結
果を作成するステップと、 前記入力頻度表に基づき入力頻度の高い順に検索条件項
目入力画面上の検索条件項目を並べ替えるステップと、 検索条件項目入力画面上の複数の検索条件項目のうちユ
ーザによって選択された検索条件項目に対して入力され
た検索条件に基づいて前記予備検索結果を検索すると共
に、ユーザによって選択された検索条件項目に応じて前
記入力頻度表を更新するステップと、 検索結果を出力装置に出力するステップとを含むことを
特徴とするデータベース検索方法。
2. A database search method for searching and outputting from a database data satisfying a search condition input for a search condition item selected by a user among a plurality of search condition items on a search condition item input screen. The database is searched using a predetermined number of search condition items having a high input frequency as a key in an input frequency table in which input frequencies of individual search condition items by the user are recorded, and search target data is searched for each key value. Creating a classified preliminary search result; rearranging search condition items on a search condition item input screen in descending order of input frequency based on the input frequency table; and a plurality of search condition items on a search condition item input screen. Search the preliminary search result based on the search condition input for the search condition item selected by the user And a step of updating the input frequency table according to a search condition item selected by a user, and a step of outputting a search result to an output device.
【請求項3】 検索条件項目入力画面上の複数の検索条
件項目のうちユーザによって選択された検索条件項目に
対して入力された検索条件を満たすデータをデータベー
スから検索して出力するデータベース検索装置におい
て、 ユーザによる個々の検索条件項目に対する入力頻度を記
録したユーザ毎の入力頻度表と、 今回検索を行うユーザに対応する入力頻度表中の入力頻
度の高い上位所定個数の検索条件項目をキーにして前記
データベースを検索し、キーの値毎に検索対象データを
分類した予備検索結果を作成する予備検索手段と、 今回検索を行うユーザに対応する入力頻度表に基づき入
力頻度の高い順に検索条件項目入力画面上の検索条件項
目を並べ替える入力画面整形手段と、 検索条件項目入力画面上の複数の検索条件項目のうちユ
ーザによって選択された検索条件項目に対して入力され
た検索条件に基づいて前記予備検索結果を検索する検索
手段と、 検索手段の検索結果を出力する出力装置と、 検索条件項目入力画面上のユーザによって選択された検
索条件項目に応じてそのユーザの入力頻度表中の該当す
る入力頻度を更新する入力頻度表作成手段とを備えるこ
とを特徴とするデータベース検索装置。
3. A database search device for searching a database for data satisfying a search condition input for a search condition item selected by a user among a plurality of search condition items on a search condition item input screen, and outputting the data. An input frequency table for each user that records the input frequency of each search condition item by a user, and a predetermined number of search condition items having a high input frequency in the input frequency table corresponding to the user who performs a search this time are used as keys. Preliminary search means for searching the database and creating a preliminary search result in which data to be searched is classified for each key value, and inputting search condition items in descending order of input frequency based on an input frequency table corresponding to a user who searches this time Input screen shaping means for rearranging the search condition items on the screen; and a user among a plurality of search condition items on the search condition item input screen. Search means for searching the preliminary search result based on the search condition input for the search condition item selected by the user, an output device for outputting the search result of the search means, and a user on the search condition item input screen. An input frequency table creating means for updating a corresponding input frequency in an input frequency table of the user according to a selected search condition item.
JP8275471A 1996-09-26 1996-09-26 Database search method and apparatus Expired - Lifetime JP2842413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8275471A JP2842413B2 (en) 1996-09-26 1996-09-26 Database search method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8275471A JP2842413B2 (en) 1996-09-26 1996-09-26 Database search method and apparatus

Publications (2)

Publication Number Publication Date
JPH10105560A true JPH10105560A (en) 1998-04-24
JP2842413B2 JP2842413B2 (en) 1999-01-06

Family

ID=17556005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8275471A Expired - Lifetime JP2842413B2 (en) 1996-09-26 1996-09-26 Database search method and apparatus

Country Status (1)

Country Link
JP (1) JP2842413B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015185078A (en) * 2014-03-26 2015-10-22 株式会社Nttドコモ Node retrieval device and node retrieval method
WO2016001965A1 (en) * 2014-06-30 2016-01-07 楽天株式会社 Information processing device, information processing method, and information processing program
WO2016132550A1 (en) * 2015-02-20 2016-08-25 富士通株式会社 Extraction program, extraction device, and extraction method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015185078A (en) * 2014-03-26 2015-10-22 株式会社Nttドコモ Node retrieval device and node retrieval method
WO2016001965A1 (en) * 2014-06-30 2016-01-07 楽天株式会社 Information processing device, information processing method, and information processing program
JPWO2016001965A1 (en) * 2014-06-30 2017-05-25 楽天株式会社 Information processing apparatus, information processing method, and information processing program
WO2016132550A1 (en) * 2015-02-20 2016-08-25 富士通株式会社 Extraction program, extraction device, and extraction method
JPWO2016132550A1 (en) * 2015-02-20 2017-11-24 富士通株式会社 Extraction program, extraction apparatus, and extraction method
US10497067B2 (en) 2015-02-20 2019-12-03 Fujitsu Limited System for perfoming an extraction process on input data containing XBRL files using a combination of extraction criteria

Also Published As

Publication number Publication date
JP2842413B2 (en) 1999-01-06

Similar Documents

Publication Publication Date Title
US8099422B2 (en) System and method for manipulating data using iconic representations
JP3087694B2 (en) Information retrieval device and machine-readable recording medium recording program
US20020073095A1 (en) Patent classification displaying method and apparatus
JP3020849B2 (en) Data retrieval device
US10002167B2 (en) Search-on-the-fly/sort-on-the-fly by a search engine directed to a plurality of disparate data sources
JPH07129597A (en) Database retrieving device
JP2842413B2 (en) Database search method and apparatus
JPH08329101A (en) Data base system
JP2003256472A (en) System for retrieving document
JP3212506B2 (en) Search support method and apparatus
JP4253134B2 (en) Document processing apparatus, document processing method, program, and recording medium
JP2001022778A (en) Device and method for retrieval
JP3603721B2 (en) Data search support method and apparatus, and storage medium storing data search support program
JPH09204449A (en) Parts list generation processor
JP3933407B2 (en) Document processing apparatus, document processing method, and storage medium storing document processing program
JPH0728834A (en) Information retrieving device
JPH09330369A (en) Retrieval system for data base with document form
JPS63101929A (en) Information retrieving device
JPH1091644A (en) Method and device for processing data base query
JPH02158870A (en) Data base retrieving system
JPH0511954A (en) Help message display device
JPH06223112A (en) User-taste reflective database device
JPH0785104A (en) Document processor
JPH07105223A (en) Data base retrieval device
JPH11184729A (en) Method and device for managing and displaying bug information