JP2000029890A - Database retrieval method and device and storage medium storing database retrieval program - Google Patents

Database retrieval method and device and storage medium storing database retrieval program

Info

Publication number
JP2000029890A
JP2000029890A JP10195968A JP19596898A JP2000029890A JP 2000029890 A JP2000029890 A JP 2000029890A JP 10195968 A JP10195968 A JP 10195968A JP 19596898 A JP19596898 A JP 19596898A JP 2000029890 A JP2000029890 A JP 2000029890A
Authority
JP
Japan
Prior art keywords
search
user
condition
database
candidate
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
JP10195968A
Other languages
Japanese (ja)
Inventor
Ryosuke Noda
良輔 野田
Yoshifumi Nagai
良史 永井
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP10195968A priority Critical patent/JP2000029890A/en
Publication of JP2000029890A publication Critical patent/JP2000029890A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce the procedures of searching a target retrieval candidate and to reduce stress given to a user by enlarging a retrieval condition inputted by the user in the case that the number of the retrieval candidates obtained by retrieval is counted and the retrieval candidate is not present and outputting the retrieval candidate to the user in the case that the retrieval candidate is present. SOLUTION: This database retrieval method is for retrieving information matched with the retrieval condition inputted or selected by the user from a database where the information to be the object of the retrieval request of the user and accessory information relating to the information are classified for respective items and stored. In the retrieval method, the candidates matched with the retrieval condition of the user are retrieved from the database (S1), the number of the retrieval candidates obtained by the retrieval is counted and succeeding processings are divided (S2). The retrieval condition inputted by the user is enlarged (S3) in the case that the retrieval candidate is not present and the retrieval candidate is outputted to the user in the case that the retrieval candidate is present (S4).

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 method and apparatus and a storage medium storing a database search program, and more particularly, to a search input by a user from a database storing information to be requested by a user. When searching for information that matches the conditions, if there is no search candidate that matches the search condition entered by the user, determine whether the search candidate can be found by expanding the search condition entered by the user The present invention relates to a database search method and apparatus for presenting a method for expanding search conditions to a user, and a storage medium storing a database search program.

【0002】[0002]

【従来の技術】従来のデータベース検索装置及び方法で
は、ユーザの入力した検索条件に一致する検索候補が存
在しなかった場合、主に、以下の方法でユーザの求める
候補を検索している。 (1) ユーザに検索候補がみつからなかったことを伝
え、もう一度別の検索条件をユーザに再入力させて検索
を行う。 (2) 予め決められた順番で検索条件の拡大をユーザ
に提示し、検索を進める。
2. Description of the Related Art In a conventional database search apparatus and method, when there is no search candidate that matches a search condition input by a user, a search for a candidate desired by the user is mainly performed by the following method. (1) Inform the user that no search candidate was found, and make the user input another search condition again to perform a search. (2) The search condition is expanded to the user in a predetermined order, and the search is advanced.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来の技術では、以下のような問題がある。 (1) ユーザの入力した検索条件が一部だけ間違って
いた場合でも、全ての検索条件を再入力させることにな
り、ユーザにストレスを与えている。 (2) ユーザが検索条件の再入力を行っても、あるい
は、提示された検索条件の拡大を選択しても、確実に検
索候補が見つかる保証はなく、無駄な操作を行わせてし
まい、ユーザにストレスを与えている。
However, the above-mentioned prior art has the following problems. (1) Even when some of the search conditions input by the user are incorrect, all of the search conditions are re-input, which is stressing the user. (2) Even if the user re-enters the search condition or selects to expand the presented search condition, there is no guarantee that the search candidate will be found without fail, and the user is forced to perform a useless operation. Is stressing.

【0004】(3) ユーザが再入力を行う場合に、間
違って前回と同じ入力を行って無駄な検索が生じてしま
うことがあり、ユーザにストレスを与えている。本発明
は、上記の点に鑑みなされたもので、ユーザの入力した
検索条件を自動的に拡大して検索を行った結果を元に、
次に行うべき拡大の条件と方法を決定することで、目的
の検索候補を探し出す手順を少なくしてユーザに与える
ストレスを軽減することが可能なデータベース検索方法
及び装置及びデータベース検索プログラムを格納した記
憶媒体を提供することを目的とする。
(3) When the user performs an input again, there is a case where the same input as the previous time is mistakenly performed and a useless search is caused, which gives stress to the user. The present invention has been made in view of the above points, and based on a result of performing a search by automatically expanding a search condition input by a user,
A database search method and apparatus capable of reducing the number of procedures for searching for a target search candidate and reducing stress given to a user by determining the condition and method of enlargement to be performed next, and storage storing a database search program The purpose is to provide a medium.

【0005】[0005]

【課題を解決するための手段】図1は、本発明の原理を
説明するための図である。本発明(請求項1)は、ユー
ザの検索要求の対象となる情報、及び、その情報に関連
する付帯情報を、各項目毎に分類して格納したデータベ
ースから、ユーザが入力または、選択した検索条件と一
致する情報を検索するデータベース検索方法において、
ユーザの検索条件に一致する候補をデータベースから検
索し(ステップ1)、検索により取得した検索候補の数
を数えて以後の処理を分け(ステップ2)、検索候補が
存在しなかった場合に、ユーザが入力した検索条件を拡
大し(ステップ3)、検索候補が存在した場合に、ユー
ザに対して該検索候補を出力する(ステップ4)。
FIG. 1 is a diagram for explaining the principle of the present invention. The present invention (Claim 1) provides a search input and selected by a user from a database in which information to be searched by a user and incidental information related to the information are classified and stored for each item. In a database search method for searching for information matching a condition,
The database searches for a candidate that matches the user's search condition (step 1), counts the number of search candidates obtained by the search, and divides the subsequent processing (step 2). Expands the input search condition (step 3), and outputs the search candidate to the user when the search candidate exists (step 4).

【0006】本発明(請求項2)は、検索条件を拡大す
る際に(ステップ3)、項目毎に拡大する上限を任意に
設定し、拡大する場合には、該上限を越えないように拡
大する。本発明(請求項3)は、検索条件を拡大する際
に(ステップ3)、検索条件の項目が階層構造を一つし
か持たない場合には、該検索条件を削除することにより
拡大を行う。
According to the present invention (claim 2), when the search condition is expanded (step 3), the upper limit to be expanded is set arbitrarily for each item, and when the search condition is expanded, the upper limit is not exceeded. I do. According to the present invention (claim 3), when a search condition is expanded (step 3), if the search condition item has only one hierarchical structure, the search condition is deleted to delete the search condition.

【0007】本発明(請求項4)は、検索条件を拡大す
る際に(ステップ3)、ユーザが入力した検索条件を項
目毎に拡大して、検索候補が存在するかを調べて、実際
に検索候補がみつかる項目のみを該検索条件の拡大方法
としてユーザに提示する。本発明(請求項5)は、検索
条件を拡大する際に(ステップ3)、拡大に使用する項
目の優先順位を任意に設定し、ユーザに検索条件の拡大
方法として提示できる項目が複数ある場合に、優先順位
に従って、どの項目を拡大に使用するかを決定する。
According to the present invention (claim 4), when the search condition is expanded (step 3), the search condition input by the user is expanded for each item, and it is checked whether a search candidate exists. Only items for which search candidates are found are presented to the user as a method for expanding the search conditions. According to the present invention (claim 5), when the search condition is expanded (step 3), the priority order of the items used for the expansion is arbitrarily set, and there are a plurality of items that can be presented to the user as a method of expanding the search condition. Then, according to the priority, which item is used for the enlargement is determined.

【0008】本発明(請求項6)は、検索条件を拡大す
る際に(ステップ3)、検索条件の拡大方法をユーザに
提示する際に、拡大すれば何等かの検索候補が見つかる
ことを明示して確認させる。図2は、本発明の原理構成
図である。本発明(請求項7)は、ユーザの検索要求の
対象となる情報、及び、該情報に関連する付帯情報を、
各項目毎に分類して格納したデータベース7から、該ユ
ーザが入力または、選択した検索条件と一致する情報を
検索するデータベース検索装置であって、ユーザの検索
条件に一致する候補をデータベースから検索するデータ
ベース検索手段2と、データベース検索手段2において
取得した検索候補の数を数えて以後の処理を分ける検索
候補分析手段3と、検索候補分析手段3において検索候
補が存在しなかった場合に、ユーザが入力した検索条件
を拡大する条件拡大判定手段4と、検索候補が存在した
場合に、ユーザに対して検索候補を出力する検索候補提
示手段5とを有する。
According to the present invention (claim 6), when the search condition is expanded (step 3), when the search condition expansion method is presented to the user, it is specified that any search candidate can be found if the search condition is expanded. And confirm. FIG. 2 is a diagram illustrating the principle of the present invention. According to the present invention (claim 7), information targeted for a user's search request and accompanying information related to the information are
A database search apparatus for searching information matching a search condition entered or selected by a user from a database 7 stored by classifying each item, and searching the database for candidates matching the search condition of the user. The database search means 2, a search candidate analysis means 3 for counting the number of search candidates acquired by the database search means 2 and dividing the subsequent processing, and a case where no search candidate exists in the search candidate analysis means 3, The system includes a condition expansion determining unit 4 for expanding the input search condition and a search candidate presenting unit 5 for outputting the search candidate to the user when the search candidate exists.

【0009】本発明(請求項8)は、データベース7に
おいて、ユーザの検索要求の対象となる情報の付帯情報
が、一段以上の階層を有する。本発明(請求項9)は、
条件拡大判定手段4において、検索条件を拡大する際
に、項目毎に拡大する上限を任意に設定し、拡大する場
合には設定した該上限を越えないように拡大を行う手段
を含む。
According to the present invention (claim 8), in the database 7, the supplementary information of the information to be requested by the user has one or more levels. The present invention (claim 9)
The condition expansion determining means 4 includes means for arbitrarily setting an upper limit for expansion for each item when the search condition is expanded, and for expanding the search condition so as not to exceed the set upper limit.

【0010】本発明(請求項10)は、条件拡大判定手
段4において、検索条件を拡大する際に、該検索条件の
項目が階層構造を一つしか持たない場合には、該検索条
件を削除することで拡大を行う手段を含む。本発明(請
求項11)は、条件拡大判定手段4において、ユーザが
入力した検索条件を項目毎に拡大して、検索候補が存在
するか否かを調べて、実際に検索候補が見つかる項目の
みを検索条件の拡大方法として、検索候補提示手段5に
転送する手段を含む。
According to the present invention (claim 10), in the condition expansion determining means 4, when the search condition is expanded and the search condition item has only one hierarchical structure, the search condition is deleted. Includes the means to enlarge by doing. According to the present invention (claim 11), the condition expansion determining means 4 expands the search condition input by the user for each item, checks whether or not there is a search candidate, and determines only those items for which a search candidate is actually found. As means for expanding the search condition.

【0011】本発明(請求項12)は、条件拡大判定手
段4において、拡大に使用する項目の優先順位を任意に
設定し、ユーザに検索条件の拡大方法として提示できる
項目が複数ある場合に、該優先順位に従って、どの項目
を拡大に使用するかを決定する手段を含む。本発明(請
求項13)は、検索候補提示手段5において、検索条件
の拡大方法をユーザに提示する際に、拡大すれば、何等
かの検索候補が見つかることを明示して、該ユーザに確
認させるよう検索候補提示手段に指示する手段を含む。
According to the present invention (claim 12), in the condition enlargement determining means 4, if there is a plurality of items which can be set as the priority of the items used for enlargement and presented to the user as a method of expanding the search condition, Means for determining which items to use for enlargement according to the priorities. According to the present invention (claim 13), when the search candidate presenting means 5 presents a search condition expansion method to a user, it is explicitly indicated that any search candidate can be found if the search condition is expanded, and confirmation is made to the user. Means for instructing the search candidate presenting means to perform the search.

【0012】本発明(請求項14)は、ユーザの検索要
求の対象となる情報、及び、該情報に関連する付帯情報
を、各項目毎に分類して格納したデータベースから、該
ユーザが入力または、選択した検索条件と一致する情報
を検索するデータベース検索プログラムを格納した記憶
媒体であって、ユーザの検索条件に一致する候補をデー
タベースから検索するデータベース検索プロセスと、デ
ータベース検索プロセスにおいて取得した検索候補の数
を数えて以後の処理を分ける検索候補分析プロセスと、
検索候補分析プロセスにおいて検索候補が存在しなかっ
た場合に、ユーザが入力した検索条件を拡大する条件拡
大判定プロセスと、検索候補分析プロセスにおいて、検
索候補が存在した場合に、ユーザに対して検索候補を出
力させる検索候補提示プロセスとを有する。
According to the present invention (claim 14), the user inputs or receives information from a database in which information to be searched by the user and supplementary information related to the information are classified and stored for each item. A storage medium storing a database search program for searching for information that matches a selected search condition, wherein the database search process searches a database for candidates that match a user's search condition, and a search candidate obtained in the database search process. A search suggestion analysis process that counts the number of
In the search candidate analysis process, when there is no search candidate, the condition expansion determination process that expands the search condition input by the user, and in the search candidate analysis process, when the search candidate exists, the search candidate Is output.

【0013】本発明(請求項15)は、データベース検
索プロセスにおいて、ユーザの検索要求の対象となる情
報の付帯情報が、一段以上の階層を有するデータベース
を検索する。本発明(請求項16)は、条件拡大判定プ
ロセスにおいて、検索条件を拡大する際に、項目毎に拡
大する上限を任意に設定し、拡大する場合には設定した
該上限を越えないように拡大を行うプロセスを含む。
According to the present invention (claim 15), in the database search process, a database is searched in which the incidental information of the information to be requested by the user has one or more levels. According to the present invention (claim 16), in the condition expansion determination process, when the search condition is expanded, an upper limit for expansion is set arbitrarily for each item, and when the search condition is expanded, the upper limit is set so as not to exceed the set upper limit. Including the process of doing.

【0014】本発明(請求項17)は、条件拡大判定プ
ロセスにおいて、検索条件を拡大する際に、該検索条件
の項目が階層構造を一つしか持たない場合には、該検索
条件を削除することで拡大を行うプロセスを含む。本発
明(請求項18)は、条件拡大判定プロセスにおいて、
ユーザが入力した検索条件を項目毎に拡大して、検索候
補が存在するか否かを調べて、実際に検索候補が見つか
る項目のみを検索条件の拡大方法として、検索候補提示
プロセスに転送するプロセスを含む。
According to the present invention (claim 17), in the condition expansion determining process, when the search condition is expanded and the search condition item has only one hierarchical structure, the search condition is deleted. Includes the process of scaling up. In the present invention (claim 18), in the condition expansion determination process,
A process of expanding a search condition input by a user for each item, checking whether or not a search candidate exists, and transferring only an item for which a search candidate is actually found to a search candidate presentation process as a search condition expansion method. including.

【0015】本発明(請求項19)は、条件拡大判定プ
ロセスにおいて、拡大に使用する項目の優先順位を任意
に設定し、ユーザに検索条件の拡大方法として提示でき
る項目が複数ある場合に、該優先順位に従って、どの項
目を拡大に使用するかを決定するプロセスを含む。本発
明(請求項20)は、条件拡大判定プロセスにおいて、
検索条件の拡大方法をユーザに提示する際に、拡大すれ
ば、何等かの検索候補が見つかることを明示して、該ユ
ーザに確認させるよう検索候補提示プロセスに指示する
プロセスを含む。
According to the present invention (claim 19), in the condition expansion judging process, when there is a plurality of items which can be set as a priority of the items used for expansion and presented to the user as a method of expanding the search condition, the present invention is applied to Includes the process of deciding which items to use for expansion according to priorities. In the present invention (claim 20), in the condition expansion determination process,
When presenting a search condition expansion method to a user, the method includes a process of explicitly indicating that any search candidate is found if the search condition is expanded, and instructing the search candidate presentation process to prompt the user to confirm.

【0016】上記のように、本発明では、ユーザの検索
要求の対象となる情報、及びその情報に関連する付帯情
報を、各項目毎に分類して格納したデータベースから、
ユーザが入力、または、選択した検索条件と一致する情
報を検索する際に、ユーザの入力した検索条件に完全に
一致する検索候補が存在しなかった場合でも、検索条件
を自動的に拡大して検索候補が見つかる拡大方法のみを
ユーザに提示することにより、検索候補を見つけるため
に検索条件を拡大する手順を少なくし、目的とする候補
を容易に確定することが可能となる。
As described above, according to the present invention, information to be searched by a user and supplementary information related to the information are stored in a database in which the information is classified and stored for each item.
When searching for information that matches the search conditions entered or selected by the user, the search conditions are automatically expanded even if there is no search candidate that completely matches the search conditions entered by the user. By presenting only the enlargement method in which the search candidate is found to the user, the number of procedures for expanding the search condition to find the search candidate is reduced, and the target candidate can be easily determined.

【0017】[0017]

【発明の実施の形態】図3は、本発明のデータベース検
索装置の構成を示す。同図に示すデータベース検索装置
6は、ユーザの入力した検索条件に一致する検索候補を
データベースから検索するデータベース検索装置本体で
あり、ハード的には、CPUやメモリから構成され、機
能的には検索条件入力部1、データベース検索部2、検
索候補分析部3、条件拡大判定部4、検索候補出力部5
及びデータベース本体7から構成される。
FIG. 3 shows the configuration of a database search apparatus according to the present invention. A database search device 6 shown in FIG. 1 is a main body of a database search device for searching a database for search candidates matching a search condition input by a user, and is constituted by a CPU and a memory in hardware, and functionally performs a search. Condition input unit 1, database search unit 2, search candidate analysis unit 3, condition expansion determination unit 4, search candidate output unit 5
And a database body 7.

【0018】検索条件入力部1は、ユーザの入力する検
索条件を取得し、データベース検索部2に転送する。デ
ータベース検索部2は、ユーザの入力した検索条件をキ
ーにデータベース本体7を検索し、検索条件と一致する
検索候補を検索候補分析部3へ転送する。検索候補分析
部3は、検索候補の数を数え、何らかの検索候補が存在
すれば、ユーザに対して候補の確認を行うため、それら
の検索候補を検索候補出力部5へ転送する。全く検索候
補が存在しなければ、検索条件を拡大することで、候補
が見つかる可能性があるかどうかをチェックするため、
ユーザが入力した検索条件を条件拡大判定部4へ転送す
る。
The search condition input unit 1 acquires a search condition input by the user, and transfers it to the database search unit 2. The database search unit 2 searches the database body 7 using the search condition input by the user as a key, and transfers a search candidate that matches the search condition to the search candidate analysis unit 3. The search candidate analysis unit 3 counts the number of search candidates, and if there is any search candidate, transfers the search candidates to the search candidate output unit 5 to confirm the candidates to the user. If no search suggestions exist, you can expand your search criteria to see if there is a possibility of finding one,
The search condition input by the user is transferred to the condition enlargement determination unit 4.

【0019】条件拡大判定部4は、検索候補分析部3よ
り転送された検索条件を項目毎に拡大し、実際に検索条
件の拡大を行うことで、何等かの候補が検索できること
がわかれば、ユーザに検索条件の拡大を提案する。さら
に、システムからの提案に応じてユーザが検索条件の拡
大を選択した場合には、それらの検索候補を検索候補出
力部5へ転送する。
The condition expansion determining unit 4 expands the search condition transferred from the search candidate analysis unit 3 for each item, and if it is found that any candidate can be searched by actually expanding the search condition, Suggest search conditions to the user. Further, when the user selects expansion of search conditions in response to a proposal from the system, those search candidates are transferred to the search candidate output unit 5.

【0020】検索候補出力部5は、転送されてきた検索
候補をユーザに対して提示する。次に、上記の構成によ
る動作を説明する。図4は、本発明のデータベース検索
装置の動作のフローチャートである。 ステップ101) 検索条件入力部1では、ユーザが入
力した検索条件を取得し、その情報をデータベース検索
部2に転送する。
The search candidate output unit 5 presents the transferred search candidates to the user. Next, the operation of the above configuration will be described. FIG. 4 is a flowchart of the operation of the database search device of the present invention. Step 101) The search condition input unit 1 acquires the search condition input by the user, and transfers the information to the database search unit 2.

【0021】ステップ102) データベース検索部2
は、検索条件入力部1から送られた検索条件をキーにし
てデータベース本体7を検索し、検索条件に一致した検
索候補を検索候補分析部3へ転送する。 ステップ103) 検索候補分析部3では、データベー
ス検索部2から送られてきた検索候補の数を数えて以後
の処理を分ける。
Step 102) Database search unit 2
Searches the database body 7 using the search condition sent from the search condition input unit 1 as a key, and transfers a search candidate that matches the search condition to the search candidate analysis unit 3. Step 103) The search candidate analysis unit 3 counts the number of search candidates sent from the database search unit 2 and divides the subsequent processing.

【0022】何等かの検索候補が存在すれば、ユーザに
対して確認をするため、それらの検索候補を検索候補出
力部5へ転送し、ステップ107に移行する。全く検索
候補が存在しなければ、検索条件を拡大するとで、検索
候補が見つかる可能性があるかどうかをチェックするた
め、ユーザが入力した検索条件を条件拡大判定部4へ転
送し、ステップ104に移行する。
If any search candidates exist, the search candidates are transferred to the search candidate output unit 5 to confirm with the user, and the process proceeds to step 107. If there is no search candidate, the search condition is expanded, and the search condition input by the user is transferred to the condition expansion determination unit 4 to check whether there is a possibility that the search candidate is found. Transition.

【0023】ステップ104) 条件拡大判定部4で
は、ユーザが入力した検索条件について、項目毎に拡大
を行い、実際に検索候補が見つかるかどうかをチェック
した後、どの項目を拡大するかを判断する。まず、最初
に実際に検索条件を拡大できるかのチェックを行う。当
該検索中に拡大不可能項目と設定された項目は、拡大に
使用する項目の対象外とする。また、これ以上検索条件
が拡大できない、即ち、予め定められた上限まで検索条
件を拡大している項目も、拡大に使用する項目の対象外
とする。この結果、全ての項目がこれ以上拡大に使用で
きないことがわかれば、これ以上検索を続けることがで
きないことをユーザに伝えて終了する。
Step 104) The condition enlargement determination section 4 enlarges the search condition input by the user for each item, checks whether a search candidate is actually found, and then determines which item is to be enlarged. . First, it is checked whether the search condition can be actually expanded. Items set as non-enlargeable items during the search are excluded from the items used for enlargement. Items for which the search conditions cannot be expanded any longer, that is, items whose search conditions have been expanded to a predetermined upper limit, are also excluded from the items used for expansion. As a result, if it is found that all the items cannot be used for enlargement any more, the user is informed that the search cannot be continued any more, and the process is terminated.

【0024】どれか一つでもまだ検索条件を拡大できる
項目が存在すれば、実際に拡大を行った場合に、検索候
補が見つかるかどうかをチェックし、ステップ105に
移行する。 ステップ105) ユーザから入力された検索条件の項
目毎に検索条件の拡大を行い、実際に検索を行って検索
候補を調べる。このとき、当該検索中に既に同じ項目で
拡大が行われている場合は、さらに、もう一段階上まで
検索条件を拡大して、検索候補が存在するか調べる。
If any one of the items for which the search condition can be expanded still exists, it is checked whether or not a search candidate can be found when the expansion is actually performed. Step 105) The search condition is expanded for each item of the search condition input by the user, and the search is actually performed to check the search candidates. At this time, if the same item has already been expanded during the search, the search condition is further expanded to another level to check whether a search candidate exists.

【0025】どれか一つでも拡大することで、検索候補
が見つかる項目があれば、実際にその項目について拡大
を行った後に検索候補を提示できるので、ユーザに検索
条件の拡大を確認し、ステップ106に移行する。どの
項目を拡大しても検索候補が見つからなければ、さらに
もう一段階検索条件を拡大できる可能性があるので、再
び条件拡大判定部4にて拡大方法を判断し、ステップ1
04に移行する。
If there is an item for which a search candidate can be found by enlarging any one of the items, the search candidate can be presented after actually expanding that item. Move to 106. If a search candidate is not found even if any item is expanded, there is a possibility that the search condition can be further expanded in one step.
Move to 04.

【0026】ステップ106) まず、拡大することで
検索候補が見つかる項目が複数ある場合には、予め定め
られた優先順位に従ってユーザに拡大を確認させる項目
を決定する。次に、ユーザに対して拡大することで何ら
かの検索項目が存在することを明示した上で検索条件の
拡大を確認する。
Step 106) First, when there are a plurality of items in which a search candidate can be found by enlarging, an item for which the user confirms the enlarging is determined according to a predetermined priority. Next, the enlargement of the search condition is confirmed after the enlargement is clearly shown to the user, indicating that some search item exists.

【0027】ユーザが提示された項目で拡大することを
選択したならば、その条件拡大で見つかった検索候補を
検索候補出力部5へ転送し、ステップ107に移行す
る。ユーザが提示された項目で拡大することを否定した
場合は、ユーザの記憶が正確であると考えられるので、
その項目を拡大不可能項目と設定する。他に拡大するこ
とで検索候補が見つかる項目が存在すれば、予め定めら
れた優先順位に従って、繰り返し順番に検索条件の拡大
を確認する。
If the user selects to enlarge the displayed item, the search candidate found by the condition expansion is transferred to the search candidate output unit 5, and the process proceeds to step 107. If the user denies zooming in on the presented item, the user's memory is considered accurate,
The item is set as a non-enlargeable item. If there is an item for which a search candidate can be found by other enlargement, the enlargement of the search condition is confirmed in a repeated order according to a predetermined priority.

【0028】他に拡大することで検索候補が見つかる項
目が存在しないか、あるいは拡大することで、検索候補
が見つかる項目がすべてにおいて検索条件の拡大を否定
されれば、再び条件拡大判定部4にて、拡大方法を判断
し、ステップ104に移行する。 ステップ107) 検索候補出力部5では、ユーザに対
して検索候補を出力する。
If there is no item in which a search candidate can be found by expanding the item or if the expansion of the search condition is denied in all items in which the search candidate is found, the condition expansion determining unit 4 returns to the condition expansion determining unit 4 again. Then, the enlargement method is determined, and the process proceeds to step 104. Step 107) The search candidate output unit 5 outputs search candidates to the user.

【0029】以上の処理により、ユーザの入力した検索
条件に完全に一致する検索候補が存在しなかった場合で
も、検索候補を見つけるために検索条件を拡大する手順
を少なくし、目的とする候補を容易に確定することが可
能となる。
According to the above processing, even when there is no search candidate that completely matches the search condition input by the user, the number of procedures for expanding the search condition to find the search candidate is reduced, and the target candidate is reduced. It can be easily determined.

【0030】[0030]

【実施例】以下、図面と共に本発明の実施例を説明す
る。図5〜図8は、データベース本体の内容の例を示し
ている。図5〜図8のデータベース本体7の名義情報
は、データベース本体7を検索する際に必須の検索条件
であり、住所情報と職業情報は名義情報に付帯する関連
情報で、最初に入力した検索条件では、検索候補が存在
しなかった場合に、拡大されることがある。電話番号は
ユーザの求める情報である。
Embodiments of the present invention will be described below with reference to the drawings. 5 to 8 show examples of the contents of the database body. The name information of the database body 7 shown in FIGS. 5 to 8 is a necessary search condition when searching the database body 7, and the address information and the occupation information are related information attached to the name information. In, when there is no search candidate, the search candidate may be enlarged. The telephone number is information requested by the user.

【0031】ここでは、ユーザが、名義「日本商事」、
住所「東京都港区赤坂」、職業「おもちゃ卸」で登録さ
れている会社の電話番号を調べようとする場合の実施例
を説明する。検索の際の前提条件として以下を規定す
る。 1. 名義については、入力した検索条件が部分的に含
まれているものを、住所と職業については入力した検索
条件と完全に一致するものを検索候補とする。
In this case, the user is named “Nihon Shoji”,
An embodiment in which the telephone number of a company registered at the address "Akasaka, Minato-ku, Tokyo" and the occupation "Toy wholesale" is to be checked will be described. The following prerequisites are specified for the search. 1. Names that partially include the input search conditions are set as search candidates, and addresses and occupations that completely match the input search conditions are set as search candidates.

【0032】2. 拡大に使用する項目の優先順位は、
最初に「住所」、その次に「職業」の順番に設定されて
いるものとする。 3. 住所については、「都道府県」「市区町村」「町
大字」と三段階の階層構造を持ち、初期入力された条件
から一つ上の行政区画まで(例えば、初期入力が「東京
都港区赤坂」であれば、「東京都港区」まで)を拡大の
上限とする。
2. The priority of items used for enlargement is
It is assumed that the address is set first, and then the occupation. 3. The address has a three-level hierarchical structure of "prefecture", "city", "town", and "upper". From the initial input condition to the next higher administrative division (for example, if the initial input is "Minato-ku, Tokyo" If it is "Akasaka", the upper limit of the expansion will be "To Minato-ku, Tokyo").

【0033】4. 職業については、階層構造を持た
ず、初期入力された条件を削除するまで、即ち、検索条
件として使用しないところまでを拡大の上限とする。 [第1の実施例]本実施例では、ユーザが入力した検索
条件は正しく、検索候補が見つかる場合について説明す
る。
4. The occupation does not have a hierarchical structure and the upper limit of enlargement is until the condition that is initially input is deleted, that is, it is not used as a search condition. [First Embodiment] In this embodiment, a case will be described in which a search condition input by a user is correct and a search candidate is found.

【0034】図5は、本発明の第1の実施例のデータベ
ース本体の内容の例である。検索条件入力部1では、電
話番号を調べたいところの名前を「日本」、住所を「東
京都港区赤坂」、職業を「おもちゃ卸」とユーザ入力
し、システムはそれを検索条件として取得して、データ
ベース検索部2に送る(ステップ101)。データベー
ス検索部2では、名前「日本」、住所「東京都港区赤
坂」、職業「おもちゃ卸」を検索条件としてデータベー
ス本体7を検索する(ステップ102)。
FIG. 5 shows an example of the contents of the database body according to the first embodiment of the present invention. In the search condition input section 1, the user inputs a name of "Japan", an address of "Akasaka, Minato-ku, Tokyo" and an occupation of "toy wholesale", and the system obtains it as a search condition. And sends it to the database search unit 2 (step 101). The database search unit 2 searches the database body 7 using the name "Japan", the address "Akasaka, Minato-ku, Tokyo", and the occupation "toy wholesale" as search conditions (step 102).

【0035】データベース本体7の内容は図5のように
なっているので、検索候補として「日本商事」、「日本
物産」の2件を取得する。よって、検索候補分析部3で
は、ユーザに検索候補の確認を行わせるため、それらの
検索候補を検索候補出力部5へ転送する(ステップ10
3)。検索候補出力部5では、送られてきた検索候補
「日本商事」、「日本物産」の2件をユーザに提示して
選択を行わせる(ステップ107)。
Since the contents of the database body 7 are as shown in FIG. 5, two search candidates, "Nihon Shoji" and "Nihon Bussan" are obtained. Therefore, the search candidate analysis unit 3 transfers the search candidates to the search candidate output unit 5 in order to make the user confirm the search candidates (step 10).
3). The search candidate output unit 5 presents the user with two sent search candidates “Japan Shoji” and “Nippon Bussan” to make a selection (step 107).

【0036】ユーザが求めているのは、「日本商事」で
あるため、ユーザが提示された候補のうち「日本商事」
を肯定すると、システムは「日本商事」に関する情報を
ユーザに提示して処理を終了する。 [第2の実施例]本実施例では、ユーザが入力した検索
条件が一部間違っており、検索条件を拡大することで、
検索候補が見つかる場合について説明する。
Since the user is seeking "Japan Shoji", "Japan Shoji" among the candidates presented by the user is
If the answer is affirmative, the system presents information about "Japan Shoji" to the user and ends the process. [Second Embodiment] In this embodiment, some of the search conditions input by the user are incorrect, and by expanding the search conditions,
A case where a search candidate is found will be described.

【0037】検索条件入力部1では、電話番号を調べた
いところの名前を「日本商事」、住所を「東京都港区六
本木」、職業を「おもちゃ卸」とユーザが入力し、シス
テムは、それを検索条件として取得し、データベース検
索部2に送る(ステップ101)。データベース検索部
2では、名前「日本商事」、住所「東京都港区六本
木」、職業「おもちゃ卸」を検索条件としてデータベー
ス本体7を検索する(ステップ102)。データベース
本体7の内容は図6に示すようになっているので、検索
候補は存在しない。
In the search condition input unit 1, the user inputs the name of the place where the telephone number is to be checked, "Nihon Shoji", the address "Roppongi, Minato-ku, Tokyo" and the occupation "Toy wholesale". Is acquired as a search condition and sent to the database search unit 2 (step 101). The database search unit 2 searches the database body 7 using the name "Japan Shoji", the address "Roppongi, Minato-ku, Tokyo", and the occupation "toy wholesale" as search conditions (step 102). Since the contents of the database body 7 are as shown in FIG. 6, there are no search candidates.

【0038】よって、検索候補分析部3では、検索条件
を拡大することで、検索候補が見つかるかどうかをチェ
ックする(ステップ103)。検索中に拡大不可能と設
定された項目はなく、またどの項目も拡大できる上限に
達していないので、住所、職業ともに検索条件の拡大を
行うことができる(ステップ104)。
Therefore, the search candidate analysis unit 3 checks whether or not a search candidate can be found by expanding the search condition (step 103). Since there is no item set as non-expandable during the search, and none of the items have reached the upper limit that can be expanded, the search condition can be expanded for both the address and the occupation (step 104).

【0039】住所の検索条件を「東京都港区六本木」か
ら「東京都港区」へ拡大すると、検索候補として職業が
「おもちゃ卸」で登録されている「日本商事」の1件が
得られる。これに対して、職業の検索条件である「おも
ちゃ卸」を拡大、即ち、検索条件から削除しても、検索
候補は得られない(ステップ105)。ユーザに対し
て、住所の検索条件を「東京都港区六本木」から「東京
都港区」へ拡大すると、職業が「おもちゃ卸」で、「日
本商事」という検索候補が存在することを明示して、拡
大を行うかどうかを確認する。ユーザが求めているもの
は、「おもちゃ卸」の「日本商事」であり、住所の記憶
が不確かであったとすると、ユーザは、提示された住所
で検索条件の拡大を選択する。
When the address search condition is expanded from "Roppongi, Minato-ku, Tokyo" to "Minato-ku, Tokyo", one search candidate "Nihon Shoji" whose occupation is registered as "toy wholesale" is obtained. . On the other hand, even if "toy wholesale", which is the search condition of the occupation, is expanded, that is, deleted from the search condition, no search candidate is obtained (step 105). If the user expands the address search condition from "Roppongi, Minato-ku, Tokyo" to "Minato-ku, Tokyo", it is made clear that the occupation is "toy wholesale" and the search candidate "Japan Shoji" exists. To see if you want to enlarge it. What the user is seeking is "Japan Shoji" of "toy wholesale", and if the storage of the address is uncertain, the user selects to expand the search condition with the presented address.

【0040】ユーザが住所で検索条件の拡大を行うこと
を選択したので、住所の検索条件を拡大して見つかる検
索候補の確認をユーザに行わせるため、それらの検索候
補を検索候補出力部5へ転送する(ステップ103)。
検索候補出力部5では、送られてきた検索候補「日本商
事」の1件をユーザに提示して選択を行わせる(ステッ
プ107)。
Since the user has selected to expand the search conditions by address, the search candidates are output to the search candidate output unit 5 in order to expand the address search conditions and to confirm the search candidates to be found. Transfer (step 103).
The search candidate output unit 5 presents one of the sent search candidates "Japan Shoji" to the user to make a selection (step 107).

【0041】ユーザが求めているものは「日本商事」で
あるため、ユーザが提示された候補のうち「日本商事」
を肯定すると、システムは「日本商事」に関する情報を
ユーザに提示して処理を終了する。 [第3の実施例]本実施例では、ユーザが入力した検索
条件が一部間違っており、検索条件を拡大することで、
検索候補が見つかる場合について説明する。
Since the user is requesting "Japan Shoji", among the candidates presented by the user, "Japan Shoji"
If the answer is affirmative, the system presents information about "Japan Shoji" to the user and ends the process. [Third Embodiment] In the present embodiment, some of the search conditions input by the user are incorrect, and by expanding the search conditions,
A case where a search candidate is found will be described.

【0042】検索条件入力部1では、電話番号を調べた
いところの名前を「日本商事」、住所を「東京都港区赤
坂」、職業を「プラスチック」とユーザが入力し、シス
テムは、そのそれを検索条件として取得して、データベ
ース検索部2に送る(ステップ101)。データベース
検索部2では、名前「日本商事」、住所「東京都港区赤
坂」、職業「プラスチック」を検索条件としてデータベ
ース本体7を検索する(ステップ102)。データベー
ス本体7の内容は図7に示すようになっているので、検
索候補は存在しない。
In the search condition input section 1, the user inputs the name of the place where the telephone number is to be checked, "Nihon Shoji", the address "Akasaka, Minato-ku, Tokyo", and the occupation "Plastic". Is acquired as a search condition and sent to the database search unit 2 (step 101). The database search section 2 searches the database body 7 using the name "Japan Shoji", the address "Akasaka, Minato-ku, Tokyo" and the occupation "plastic" as search conditions (step 102). Since the contents of the database body 7 are as shown in FIG. 7, there are no search candidates.

【0043】よって、検索候補分析部3では、検索条件
を拡大することで検索候補が見つかるかどうかをチェッ
クする(ステップ103)。検索中に拡大不可能と設定
された項目はなく、またどの項目も拡大できる上限に達
していないので、住所、職業ともに、検索条件の拡大を
行うことができる(ステップ104)。
Therefore, the search candidate analysis unit 3 checks whether or not a search candidate can be found by expanding the search condition (step 103). Since there is no item set as non-expandable during the search, and none of the items have reached the upper limit for expansion, the search conditions can be expanded for both the address and the occupation (step 104).

【0044】住所の検索条件を「東京都港区赤坂」から
「東京都港区」へ拡大すると、検索候補として職業が
「プラスチック」で登録されている「日本商事」の1件
が得られる。これに対して、職業の検索条件である「プ
ラスチック」を拡大、即ち、検索条件から削除すると、
検索候補として職業が「おもちゃ卸」で登録されている
「日本商事」の1件が得られる(ステップ105)。
When the address search condition is expanded from "Akasaka, Minato-ku, Tokyo" to "Minato-ku, Tokyo", one search candidate "Japan Shoji" whose occupation is registered as "plastic" is obtained. On the other hand, if you expand "Plastic", which is the search condition of the occupation, that is, delete it from the search condition,
One search candidate "Nihon Shoji" whose occupation is registered as "toy wholesale" is obtained (step 105).

【0045】拡大することで、検索候補が見つかる項目
が住所と職業の2つ存在するので、予め定められた優先
順位に従って、住所の拡大を先に確認することとする。
ユーザに対して住所の検索条件を「東京都港区赤坂」か
ら「東京都港区」へ拡大すると、職業が「プラスチッ
ク」で「日本商事」という検索候補が存在することを明
示して、拡大を行うかどうかを確認する。ユーザが求め
ている「日本商事」に関する住所の情報は正確であり、
職業の情報が曖昧であるとすると、ユーザが提示された
住所での検索条件の拡大を行わないことを選択する。
Since there are two items in which a search candidate can be found by the enlargement, that is, the address and the occupation, the enlargement of the address is first confirmed according to a predetermined priority.
Expanding the address search condition from "Akasaka, Minato-ku, Tokyo" to "Minato-ku, Tokyo" to the user, the search is expanded to clearly indicate that there is a search candidate "Plastic" and "Japan Shoji" Ask if you want to do. The information requested by the user regarding the address of "Nihon Shoji" is accurate,
If the occupation information is ambiguous, the user selects not to expand the search conditions at the presented address.

【0046】よって、住所を拡大不可能項目として設定
した後、次の優先順位である職業の検索条件の拡大を確
認する。ユーザに対して職業の検索条件「プラスチッ
ク」を削除すると、職業が「おもちゃ卸」で「日本商
事」という検索候補が存在することを明示して、拡大を
行うかどうかを確認する。ユーザが求めているのは「東
京都港区赤坂」にある「日本商事」であり、職業の記憶
が曖昧であったとすると、ユーザは提示された職業で検
索条件の拡大を行うことを選択する。
Therefore, after setting the address as a non-enlargeable item, it is confirmed that the search condition of the occupation which is the next priority is expanded. When the occupation search condition “Plastic” is deleted for the user, it is specified whether the occupation is “toy wholesale” and the search candidate “Japan Shoji” is present, and it is confirmed whether or not to enlarge. What the user wants is "Japan Shoji" located in "Akasaka, Minato-ku, Tokyo", and if the memory of the occupation is ambiguous, the user selects to expand the search condition in the presented occupation. .

【0047】ユーザが職業で検索条件の拡大を行うこと
を選択したので、職業の検索条件を拡大して見つかる検
索候補の確認をユーザに行わせるため、それらの検索候
補を検索候補出力部5へ転送する(ステップ103)。
検索候補出力部5では、送られてきた検索候補「日本商
事」の1件をユーザに提示して選択を行わせる(ステッ
プ107)。
Since the user has selected to expand the search conditions by occupation, the search conditions are expanded to the occupation, and the search candidates are checked and output to the search candidate output unit 5 in order to confirm the search candidates to be found. Transfer (step 103).
The search candidate output unit 5 presents one of the sent search candidates "Japan Shoji" to the user to make a selection (step 107).

【0048】ユーザの求めているのは、「日本商事」で
あるため、ユーザが提示した候補のうち「日本商事」を
肯定すると、システムは「日本商事」に関する情報をユ
ーザに提示して処理を終了する。 [第4の実施例]本実施例では、ユーザが入力した検索
条件では検索候補が見つからず、さらに、検索条件を拡
大しても目的とする検索候補がみつからなかった場合に
ついて説明する。
Since the user is requesting "Japan Shoji", if "Japan Shoji" is affirmed among the candidates presented by the user, the system presents information on "Japan Shoji" to the user and executes the processing. finish. [Fourth Embodiment] In the present embodiment, a case will be described in which no search candidate is found under the search condition input by the user, and a desired search candidate is not found even when the search condition is expanded.

【0049】検索条件入力部1では、電話番号を調べた
いところの名前を「日本商事」、住所「東京都港区赤
坂」、職業を「おもちゃ卸」とユーザが入力し、システ
ムはそれを検索条件として取得して、データベース検索
部2に送る(ステップ101)。データベース検索部2
では、名前「日本商事」、住所「東京都港区赤坂」、職
業「おもちゃ卸」を検索条件としてデータベース本体7
を検索する(ステップ102)。データベース本体7の
内容は図8に示すようになっているので、検索候補は存
在しない。
In the search condition input unit 1, the user inputs "Nihon Shoji", the address "Akasaka, Minato-ku, Tokyo" and the occupation "Toy wholesale" where the telephone number is to be checked, and the system searches for it. It is acquired as a condition and sent to the database search unit 2 (step 101). Database search unit 2
Then, the main body of the database 7 is searched using the name “Nihon Shoji”, the address “Akasaka, Minato-ku, Tokyo”, and the occupation “Toy wholesale”.
(Step 102). Since the contents of the database body 7 are as shown in FIG. 8, there are no search candidates.

【0050】よって、検索候補分析部3では、検索条件
を拡大することで検索候補が見つかるかどうかをチェッ
クする(ステップ103)。当該検索中に拡大不可能と
設定された項目はなく、またどの項目も拡大できる上限
に達していないので、住所、職業ともに検索条件の拡大
を行うことができる(ステップ104)。
Therefore, the search candidate analysis unit 3 checks whether a search candidate can be found by expanding the search condition (step 103). Since there are no items set as non-expandable during the search, and none of the items have reached the upper limit for expansion, the search conditions can be expanded for both the address and the occupation (step 104).

【0051】住所の検索条件を「東京都港区赤坂」から
「東京都港区」へ拡大しても、検索候補は得られない。
これに対して職業の検索条件である「おもちゃ卸」を拡
大、即ち、検索条件から削除すると、検索候補として職
業「プラスチック」で登録されている「日本商事」の1
件が得られる(ステップ105)。ユーザに対して、職
業の検索条件を「おもちゃ卸」を削除すると、職業が
「プラスチック」で「日本商事」という検索候補が存在
することを明示して、拡大を行うかどうかを確認する。
ユーザが求めているのは、「東京都港区赤坂」にある
「おもちゃ卸」の「日本商事」であり、住所も職業も記
憶が正確であったとすると、ユーザは提示された職業で
の検索条件の拡大を行わないことを選択する。
Even if the address search condition is expanded from "Akasaka, Minato-ku, Tokyo" to "Minato-ku, Tokyo", no search candidate is obtained.
On the other hand, if "Toy wholesale", which is a search condition of the occupation, is expanded, that is, if it is deleted from the search conditions, one of "Japan Shoji" registered with the occupation "Plastic" as a search candidate is searched.
A case is obtained (step 105). If the search condition of the occupation is "Toy wholesale", the user is clarified that the occupation is "Plastic" and there is a search candidate of "Japan Shoji", and it is confirmed whether or not to enlarge the search.
What the user is looking for is "Japan Shoji" of "Toy Wholesaler" in "Akasaka, Minato-ku, Tokyo". Assuming that the address and occupation are correct, the user can search for the presented occupation. Choose not to expand the condition.

【0052】よって、職業を拡大不可能項目と設定した
後、他に検索条件を拡大することで、検索候補が見つか
る項目は存在しないので、再び条件拡大判定部4にて、
拡大方法を判断する(ステップ106)。当該検索中に
職業が拡大不可能項目に設定されたため、住所のみを対
象に検索条件の拡大を行う(ステップ104)。
Therefore, after setting the occupation as an item that cannot be expanded, by expanding the search conditions, there is no item in which a search candidate can be found.
The enlargement method is determined (step 106). Since the occupation was set as the non-expandable item during the search, the search condition is expanded only for the address (step 104).

【0053】住所の検索条件である「東京都港区赤坂」
を「東京都港区」に拡大しても、検索候補は得られな
い。他に検索条件を拡大できる項目がないので、さらに
住所の項目でもう一段階検索条件を拡大できるかどうか
をチェックする(ステップ105)。ところが、住所も
予め定められた上限である「初期入力された検索条件か
ら一段階上まで」拡大されているので、これ以上検索条
件の拡大を続けるとはできない。
"Akasaka, Minato-ku, Tokyo" which is an address search condition
If you expand to "Minato-ku, Tokyo", you will not get any search candidates. Since there is no other item that can expand the search condition, it is checked whether the one-step search condition can be further expanded by the address item (step 105). However, since the address is also expanded to the predetermined upper limit "from the initially input search condition to one step higher", the search condition cannot be further expanded.

【0054】よって、検索候補がみつからなかったこと
をユーザに伝えて、処理を終了する(ステップ10
4)。また、上記の実施例では、図3の構成に基づいて
説明しているが、この例に限定されることなく、図3の
構成要件をプログラムとして構築し、データベース検索
装置として利用されるコンピュータに接続されるディス
ク装置や、フロッピーディスク、CD−ROM等の可搬
記憶媒体に格納しておき、本発明を実施する際にインス
トールすることにより、容易に本発明を実現できる。
Thus, the user is informed that no search candidate has been found, and the process is terminated (step 10).
4). Further, in the above-described embodiment, the description has been given based on the configuration of FIG. 3. However, the present invention is not limited to this example. The present invention can be easily realized by storing it in a portable storage medium such as a disk device to be connected, a floppy disk, a CD-ROM, or the like and installing it when implementing the present invention.

【0055】なお、本発明は、上記の実施例に限定され
ることなく、特許請求の範囲内で種々変更・応用が可能
である。
The present invention is not limited to the above embodiment, but can be variously modified and applied within the scope of the claims.

【0056】[0056]

【発明の効果】上述のように、本発明によれば以下の効
果が得られる。 (1) ユーザの入力した検索条件が一部だけ間違って
いた場合に、検索候補が得られる検索条件拡大方法のみ
を提示することによって、すべての検索条件を再入力さ
せる必要がなく、ユーザに与えるストレスを減少するこ
とができる。
As described above, according to the present invention, the following effects can be obtained. (1) When only some of the search conditions input by the user are incorrect, by presenting only the search condition expansion method for obtaining search candidates, it is not necessary to re-input all the search conditions, and the search conditions are given to the user. Stress can be reduced.

【0057】(2) ユーザの検索条件と一致する検索
候補が存在しない場合でも、何等かの検索候補が見つか
るような検索条件の拡大をユーザに提示することがで
き、目的とする検索候補を見つける処理を適切に進める
ことができる。その結果、ユーザに与えるストレスを減
少させることができる。 (3) これ以上どのように検索条件を拡大しても検索
候補を見つけられないことがわかれば、そこで拡大の処
理を終了することができ、無駄な検索条件の入力を要求
することがなくなるので、ユーザに与えるストレスを減
少させることができる。
(2) Even when there is no search candidate that matches the user's search condition, it is possible to present to the user an expansion of the search condition such that any search candidate is found, and find the target search candidate. Processing can proceed appropriately. As a result, stress applied to the user can be reduced. (3) If it is found that a search candidate cannot be found even if the search condition is expanded any more, the expansion process can be terminated there, and the need to input useless search conditions can be eliminated. Thus, the stress applied to the user can be reduced.

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

【図1】本発明の原理を説明するための図である。FIG. 1 is a diagram for explaining the principle of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】本発明のデータベース検索装置の構成図であ
る。
FIG. 3 is a configuration diagram of a database search device of the present invention.

【図4】本発明のデータベース検索装置の動作のフロー
チャートである。
FIG. 4 is a flowchart of the operation of the database search device of the present invention.

【図5】本発明の第1の実施例のデータベースの内容の
例である。
FIG. 5 is an example of the contents of a database according to the first embodiment of this invention.

【図6】本発明の第2の実施例のデータベースの内容の
例である。
FIG. 6 is an example of the contents of a database according to the second embodiment of this invention.

【図7】本発明の第3の実施例のデータベースの内容の
例である。
FIG. 7 is an example of the contents of a database according to a third embodiment of the present invention.

【図8】本発明の第4の実施例のデータベースの内容の
例である。
FIG. 8 is an example of the contents of a database according to a fourth embodiment of the present invention.

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

1 検索条件入力部 2 データベース検索手段、データベース検索部 3 検索候補分析手段、検索候補分析部 4 条件拡大判定手段、条件拡大判定部 5 検索候補出力手段、検索候補出力部 6 データベース検索装置 7 データベース、データベース本体 1 search condition input unit 2 database search unit, database search unit 3 search candidate analysis unit, search candidate analysis unit 4 condition expansion determination unit, condition expansion determination unit 5 search candidate output unit, search candidate output unit 6 database search device 7 database, Database body

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 ユーザの検索要求の対象となる情報、及
び、その情報に関連する情報(以下、付帯情報と記す)
を、各項目毎に分類して格納したデータベースから、ユ
ーザが入力または、選択した検索条件と一致する情報を
検索するデータベース検索方法において、 ユーザの検索条件に一致する候補を前記データベースか
ら検索し、 検索により取得した検索候補の数を数えて以後の処理を
分け、 検索候補が存在しなかった場合に、前記ユーザが入力し
た検索条件を拡大し、 検索候補が存在した場合に、前記ユーザに対して該検索
候補を出力することを特徴とするデータベース検索方
法。
1. Information targeted for a user's search request and information related to the information (hereinafter referred to as supplementary information)
In a database search method of searching for information that matches a search condition entered or selected by a user from a database stored by classifying each item, searching for a candidate that matches the search condition of the user from the database, The subsequent processing is divided by counting the number of search candidates obtained by the search, and if no search candidates exist, the search condition input by the user is expanded. And outputting the search candidate.
【請求項2】 前記検索条件を拡大する際に、 項目毎に拡大する上限を任意に設定し、 拡大する場合には、該上限を越えないように拡大する請
求項1記載のデータベース検索方法。
2. The database search method according to claim 1, wherein when the search condition is expanded, an upper limit for expansion is set arbitrarily for each item, and when the search condition is expanded, expansion is performed so as not to exceed the upper limit.
【請求項3】 前記検索条件を拡大する際に、 前記検索条件の項目が階層構造を一つしか持たない場合
には、該検索条件を削除することにより拡大を行う請求
項1または、2記載のデータベース検索方法。
3. The method according to claim 1, wherein, when the search condition is expanded, if the search condition item has only one hierarchical structure, the search condition is deleted to perform the expansion. Database search method.
【請求項4】 前記検索条件を拡大する際に、 前記ユーザが入力した検索条件を項目毎に拡大して、前
記検索候補が存在するかを調べて、実際に検索候補がみ
つかる項目のみを該検索条件の拡大方法として前記ユー
ザに提示する請求項1乃至3記載のデータベース検索方
法。
4. When expanding the search condition, the search condition input by the user is expanded for each item, and it is checked whether the search candidate exists. Only items for which a search candidate is actually found are checked. 4. The database search method according to claim 1, wherein the search condition is presented to the user as a method for expanding search conditions.
【請求項5】 前記検索条件を拡大する際に、 拡大に使用する項目の優先順位を任意に設定し、 前記ユーザに前記検索条件の拡大方法として提示できる
項目が複数ある場合に、前記優先順位に従って、どの項
目を拡大に使用するかを決定する請求項1乃至4記載の
データベース検索方法。
5. When the search condition is expanded, a priority order of items used for expansion is arbitrarily set, and when there are a plurality of items that can be presented to the user as a method of expanding the search condition, the priority order is set. 5. The database search method according to claim 1, wherein which item to use for enlargement is determined according to the following.
【請求項6】 前記検索条件を拡大する際に、 前記検索条件の拡大方法を前記ユーザに提示する際に、
拡大すれば何等かの検索候補が見つかることを明示して
確認させる請求項1乃至5記載のデータベース検索方
法。
6. When expanding the search condition, when presenting the search condition expansion method to the user,
6. The database search method according to claim 1, further comprising the step of explicitly confirming that any search candidate is found when the search is enlarged.
【請求項7】 ユーザの検索要求の対象となる情報、及
び、該情報に関連する情報(以下、付帯情報と記す)
を、各項目毎に分類して格納したデータベースから、該
ユーザが入力または、選択した検索条件と一致する情報
を検索するデータベース検索装置であって、 前記ユーザの検索条件に一致する候補を前記データベー
スから検索するデータベース検索手段と、 前記データベース検索手段において取得した検索候補の
数を数えて以後の処理を分ける検索候補分析手段と、 前記検索候補分析手段において検索候補が存在しなかっ
た場合に、前記ユーザが入力した検索条件を拡大する条
件拡大判定手段と、 検索候補が存在した場合に、前記ユーザに対して検索候
補を出力する検索候補提示手段とを有することを特徴と
するデータベース検索装置。
7. Information targeted for a user's search request, and information related to the information (hereinafter referred to as supplementary information)
A database search device that searches for information that matches a search condition entered or selected by the user from a database in which the items are classified and stored for each item. A database search means for searching from; a search candidate analysis means for counting the number of search candidates obtained in the database search means and separating the subsequent processing; and if no search candidates exist in the search candidate analysis means, A database search device comprising: condition expansion determining means for expanding a search condition input by a user; and search candidate presenting means for outputting a search candidate to the user when a search candidate exists.
【請求項8】 前記データベースは、 ユーザの検索要求の対象となる情報の付帯情報が、一段
以上の階層を有する請求項7記載のデータベース検索装
置。
8. The database search device according to claim 7, wherein the database has one or more levels of supplementary information of information to be requested by a user.
【請求項9】 前記条件拡大判定手段は、 前記検索条件を拡大する際に、項目毎に拡大する上限を
任意に設定し、拡大する場合には設定した該上限を越え
ないように拡大を行う手段を含む請求項7または、8記
載のデータベース検索装置。
9. The condition enlargement determining means arbitrarily sets an upper limit of enlargement for each item when the search condition is enlarged, and performs enlargement so as not to exceed the set upper limit in the case of enlargement. 9. The database search device according to claim 7, further comprising means.
【請求項10】 前記条件拡大判定手段は、 前記検索条件を拡大する際に、該検索条件の項目が階層
構造を一つしか持たない場合には、該検索条件を削除す
ることで拡大を行う手段を含む請求項7乃至9記載のデ
ータベース検索装置
10. The condition expansion determining means, when expanding the search condition, if the item of the search condition has only one hierarchical structure, deletes the search condition to perform expansion. 10. The database search device according to claim 7, further comprising means.
【請求項11】 前記条件拡大判定手段は、 前記ユーザが入力した前記検索条件を項目毎に拡大し
て、検索候補が存在するか否かを調べて、実際に検索候
補が見つかる項目のみを検索条件の拡大方法として、前
記検索候補提示手段に転送する手段を含む請求項7乃至
10記載のデータベース検索装置。
11. The condition expansion determining unit expands the search condition input by the user for each item, checks whether a search candidate exists, and searches only an item for which a search candidate is actually found. 11. The database search device according to claim 7, further comprising a unit for transferring the condition to the search candidate presenting unit.
【請求項12】 前記条件拡大判定手段は、 拡大に使用する項目の優先順位を任意に設定し、前記ユ
ーザに前記検索条件の拡大方法として提示できる項目が
複数ある場合に、該優先順位に従って、どの項目を拡大
に使用するかを決定する手段を含む請求項7乃至11記
載のデータベース検索装置。
12. The condition enlargement determining means arbitrarily sets the priority order of items used for enlargement, and when there are a plurality of items that can be presented to the user as the search condition enlargement method, according to the priority order, 12. The database search apparatus according to claim 7, further comprising a unit for determining which item is used for enlargement.
【請求項13】 前記検索候補提示手段は、 前記検索条件の拡大方法を前記ユーザに提示する際に、
拡大すれば、何等かの検索候補が見つかることを明示し
て、該ユーザに確認させる手段を含む請求項7乃至12
記載のデータベース検索装置。
13. The search candidate presenting means, when presenting the search condition expanding method to the user,
13. A means for explicitly confirming that any search candidate can be found by enlarging, and prompting the user to confirm.
Database search device as described.
【請求項14】 ユーザの検索要求の対象となる情報、
及び、該情報に関連する情報(以下、付帯情報と記す)
を、各項目毎に分類して格納したデータベースから、該
ユーザが入力または、選択した検索条件と一致する情報
を検索するデータベース検索プログラムを格納した記憶
媒体であって、 前記ユーザの検索条件に一致する候補を前記データベー
スから検索するデータベース検索プロセスと、 前記データベース検索プロセスにおいて取得した検索候
補の数を数えて以後の処理を分ける検索候補分析プロセ
スと、 前記検索候補分析プロセスにおいて検索候補が存在しな
かった場合に、前記ユーザが入力した検索条件を拡大す
る条件拡大判定プロセスと、 前記検索候補分析プロセスにおいて、検索候補が存在し
た場合に、前記ユーザに対して検索候補を出力させる検
索候補提示プロセスとを有することを特徴とするデータ
ベース検索プログラムを格納した記憶媒体。
14. Information to be requested by a user,
And information related to the information (hereinafter referred to as supplementary information)
Is stored in a database that stores a database search program for searching for information that matches the search condition entered or selected by the user from a database that is stored by classifying each item. A database search process for searching for a candidate to be performed from the database, a search candidate analysis process for counting the number of search candidates acquired in the database search process and separating subsequent processes, and a search candidate does not exist in the search candidate analysis process. A search expansion process for expanding the search condition input by the user, a search candidate presentation process for outputting a search candidate to the user when a search candidate is present in the search candidate analysis process. Stores a database search program characterized by having Storage media.
【請求項15】 前記データベース検索プロセスは、 ユーザの検索要求の対象となる情報の付帯情報が、一段
以上の階層を有する前記データベースを検索する請求項
14記載のデータベース検索プログラムを格納した記憶
媒体。
15. The storage medium storing the database search program according to claim 14, wherein the database search process searches the database in which the supplementary information of the information to be requested by the user has one or more levels.
【請求項16】 前記条件拡大判定プロセスは、 前記検索条件を拡大する際に、項目毎に拡大する上限を
任意に設定し、拡大する場合には設定した該上限を越え
ないように拡大を行うプロセスを含む請求項14また
は、15記載のデータベース検索プログラムを格納した
記憶媒体。
16. The condition enlargement determination process arbitrarily sets an upper limit of enlargement for each item when the search condition is enlarged, and performs enlargement so as not to exceed the set upper limit when the search condition is enlarged. A storage medium storing the database search program according to claim 14 or 15, including a process.
【請求項17】 前記条件拡大判定プロセスは、 前記検索条件を拡大する際に、該検索条件の項目が階層
構造を一つしか持たない場合には、該検索条件を削除す
ることで拡大を行うプロセスを含む請求項14乃至16
記載のデータベース検索プログラムを格納した記憶媒
体。
17. The condition expansion determination process, wherein, when the search condition is expanded, if the search condition item has only one hierarchical structure, the search condition is deleted to delete the search condition. 17. A process comprising a process.
A storage medium storing the described database search program.
【請求項18】 前記条件拡大判定プロセスは、 前記ユーザが入力した前記検索条件を項目毎に拡大し
て、検索候補が存在するか否かを調べて、実際に検索候
補が見つかる項目のみを検索条件の拡大方法として、前
記検索候補提示プロセスに転送するプロセスを含む請求
項14乃至17記載のデータベース検索プログラムを格
納した記憶媒体。
18. The condition expansion determination process includes: expanding the search condition input by the user for each item, checking whether a search candidate exists, and searching only for an item for which a search candidate is actually found. 18. The storage medium storing the database search program according to claim 14, which includes a process of transferring to the search candidate presentation process as a method of expanding the condition.
【請求項19】 前記条件拡大判定プロセスは、 拡大に使用する項目の優先順位を任意に設定し、前記ユ
ーザに前記検索条件の拡大方法として提示できる項目が
複数ある場合に、該優先順位に従って、どの項目を拡大
に使用するかを決定するプロセスを含む請求項14乃至
18記載のデータベース検索プログラムを格納した記憶
媒体。
19. The condition enlargement determination process includes: arbitrarily setting an order of items used for enlargement; and when there are a plurality of items that can be presented to the user as a method of expanding the search condition, according to the order of priority. 19. The storage medium storing the database search program according to claim 14, further comprising a process of determining which item is used for enlargement.
【請求項20】 前記条件拡大判定プロセスは、 前記検索条件の拡大方法を前記ユーザに提示する際に、
拡大すれば、何等かの検索候補が見つかることを明示し
て、該ユーザに確認させるよう前記検索候補提示プロセ
スに指示するプロセスを含む請求項14乃至19記載の
データベース検索プログラムを格納した記憶媒体。
20. The condition enlarging determination process, when presenting the search condition enlarging method to the user,
20. A storage medium storing the database search program according to claim 14, further comprising a process of instructing the search candidate presentation process to prompt the user to confirm that any search candidate is found when the database search program is enlarged.
JP10195968A 1998-07-10 1998-07-10 Database retrieval method and device and storage medium storing database retrieval program Pending JP2000029890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10195968A JP2000029890A (en) 1998-07-10 1998-07-10 Database retrieval method and device and storage medium storing database retrieval program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10195968A JP2000029890A (en) 1998-07-10 1998-07-10 Database retrieval method and device and storage medium storing database retrieval program

Publications (1)

Publication Number Publication Date
JP2000029890A true JP2000029890A (en) 2000-01-28

Family

ID=16349996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10195968A Pending JP2000029890A (en) 1998-07-10 1998-07-10 Database retrieval method and device and storage medium storing database retrieval program

Country Status (1)

Country Link
JP (1) JP2000029890A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151831A (en) * 2009-04-06 2009-07-09 Victor Co Of Japan Ltd Terminal, display method, and information processing program
JP2009151828A (en) * 2009-04-06 2009-07-09 Victor Co Of Japan Ltd Server device, communication support method, and communication support program
JP2009151830A (en) * 2009-04-06 2009-07-09 Victor Co Of Japan Ltd Terminal, display method, and information processing program
JP2009151829A (en) * 2009-04-06 2009-07-09 Victor Co Of Japan Ltd Server device, communication support method, and communication support program
JP2010020804A (en) * 2009-10-27 2010-01-28 Victor Co Of Japan Ltd Server device, communication support method, and communication support program
JP2012133785A (en) * 2010-12-23 2012-07-12 Nhn Corp Retrieval system and retrieval method recommending decrease query

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151831A (en) * 2009-04-06 2009-07-09 Victor Co Of Japan Ltd Terminal, display method, and information processing program
JP2009151828A (en) * 2009-04-06 2009-07-09 Victor Co Of Japan Ltd Server device, communication support method, and communication support program
JP2009151830A (en) * 2009-04-06 2009-07-09 Victor Co Of Japan Ltd Terminal, display method, and information processing program
JP2009151829A (en) * 2009-04-06 2009-07-09 Victor Co Of Japan Ltd Server device, communication support method, and communication support program
JP2010020804A (en) * 2009-10-27 2010-01-28 Victor Co Of Japan Ltd Server device, communication support method, and communication support program
JP2012133785A (en) * 2010-12-23 2012-07-12 Nhn Corp Retrieval system and retrieval method recommending decrease query

Similar Documents

Publication Publication Date Title
JP3422350B2 (en) Additional search word candidate presentation method, document search method, and their devices
JP2003228581A (en) Method of retrieving similarity by compatibility feedback
JP2004030526A (en) Retrieval result ranking change processing program, retrieval result ranking change processing program recording medium and contents retrieval processing method
JP2002207760A (en) Document retrieval method, executing device thereof, and storage medium with its processing program stored therein
JP2000029890A (en) Database retrieval method and device and storage medium storing database retrieval program
JP2002024261A (en) Information retrieval system
JPH08221169A (en) Method and device for displaying software keyboard
JP2008152560A (en) Facility retrieval apparatus
JP5265233B2 (en) Point search device, point search method, point search program, and recording medium
JP6472919B2 (en) Program, search program, search device, search system, facility search device, and facility search system
JPH1166078A (en) Retrieval request embodiment method/device and storage medium storing retrieval, request embodiment program
JP2004295797A (en) Information retrieval device
JP5059187B2 (en) Point search device, point search method, point search program, and recording medium
JP2812357B2 (en) Database search system
JP2000205870A (en) Travel history storage device
JP2004234242A (en) Method and apparatus for extracting target person of questionnaire
JPH09245042A (en) Retrieval supporting method and device therefor
JP2002316645A (en) Method and system for displaying station name input selection in route retrieving
JP2913933B2 (en) Database selection processor
JPH08235192A (en) Device and method for data base retrieval
JP3435471B2 (en) Information retrieval post-processing method and apparatus and information retrieval system
JP2005085109A (en) Information retrieval device and program
JPH08272810A (en) Distributed data base system
JPH11265401A (en) Information retrieval system
JPH1173428A (en) Device and method for structuring and storing information, and device and method for structuring, storing and retrieving information