JP2943744B2 - Database search system - Google Patents

Database search system

Info

Publication number
JP2943744B2
JP2943744B2 JP8342181A JP34218196A JP2943744B2 JP 2943744 B2 JP2943744 B2 JP 2943744B2 JP 8342181 A JP8342181 A JP 8342181A JP 34218196 A JP34218196 A JP 34218196A JP 2943744 B2 JP2943744 B2 JP 2943744B2
Authority
JP
Japan
Prior art keywords
search
data
item
database
search item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP8342181A
Other languages
Japanese (ja)
Other versions
JPH10187740A (en
Inventor
大 久寿居
智治 山口
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
Nippon Electric Co Ltd
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 Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP8342181A priority Critical patent/JP2943744B2/en
Publication of JPH10187740A publication Critical patent/JPH10187740A/en
Application granted granted Critical
Publication of JP2943744B2 publication Critical patent/JP2943744B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 system, and more particularly to a database search system excellent in registering new data in a database and searching a database.

【0002】[0002]

【従来の技術】この様な、データベース検索システムの
従来の技術として、例えば、特開平6−324933号
公報がある。この記載されている検索システムでは、配
列の要素に対する条件検索を可能にし、検索を高速に行
うことを目的として、インデックスファイルにキーフィ
ールドを追加する時点で、配列を要素に分解し、各要素
をキーとし同じレコード識別子を値部に格納するように
形成した配列インデックスを、従来のインデックスファ
イルに追加して構成している。
2. Description of the Related Art As a conventional technique of such a database search system, for example, there is JP-A-6-324933. In the described search system, a conditional search can be performed on elements of an array, and for the purpose of performing a search at high speed, when a key field is added to an index file, the array is decomposed into elements, and each element is decomposed. An array index formed to store the same record identifier as a key in the value part is added to a conventional index file.

【0003】また、従来の技術として、特開平1−12
8128号公報がある。この公報に記載されている例
は、データを階層構造として選択させる検索メニュー方
式に関するものである。階層数が少ないとデータの絞り
込みが困難であり、階層数を多くすると検索メニュー画
面データが多くなるとともに、対象データがあいまいで
対象データが得られないような場合には繰り返し最初よ
り検索しなければならず、検索に時間がかかるという問
題点がある。この問題点を解決するために、入力された
キーワードに対して類似度を計算し、類似の項目データ
を抽出、編集して検索メニュー画面を動的に作成してい
る。
As a conventional technique, Japanese Patent Application Laid-Open No. 1-12
No. 8128. The example described in this publication relates to a search menu method for selecting data as a hierarchical structure. If the number of layers is small, it is difficult to narrow down the data.If the number of layers is large, the search menu screen data will be large, and if the target data is ambiguous and the target data cannot be obtained, the search must be repeated from the beginning. In addition, there is a problem that the search takes time. In order to solve this problem, a similarity is calculated for an input keyword, and similar item data is extracted and edited to dynamically create a search menu screen.

【0004】さらに、従来の技術として、特開昭63−
68925号公報がある。この公報では、定性的な条件
検索、データの値域が厳密でない検索を可能にするた
め、意味データの成立度を与える関数を定義し、あいま
いな表現によるデータベースの検索文指定ができるとと
もに、例を示すだけで類似したレコードを検索できるよ
うなデータベース検索システムが記載されている。
Further, as a conventional technique, Japanese Patent Application Laid-Open No.
No. 68925. In this gazette, in order to enable qualitative condition search and search in which the data range is not strict, a function that gives the degree of establishment of semantic data is defined. It describes a database search system that can search for similar records only by showing it.

【0005】データベース検索では、検索対象と検索条
件が検索要求として指定され、検索条件を満足するデー
タについて、検索要求中に検索対象として指定された項
目とその値のみが検索結果に表示されることを基本と
し、関係データベースでは表示されるデータの識別のた
めに検索結果にキー項目が補われることが一般的であ
る。カード型データベースの場合検索対象の項目を特に
指定せず、検索条件を満足する各データの全項目を表示
することも一般的である。
In a database search, a search target and a search condition are specified as a search request, and for data satisfying the search condition, only an item specified as a search target in the search request and its value are displayed in the search result. Generally, in a relational database, a search result is supplemented with a key item for identifying displayed data. In the case of a card-type database, it is also common to display all items of each data satisfying the search condition without specifying the item to be searched.

【0006】この様な、データベースの検索結果の表示
方式に関する従来の技術として、特開平2−04560
9号公報が知られている。この公報には、あらかじめキ
ーワードに帰属度を付加したデータベースを持ち、検索
要求中のキーワードにも必要度を与えて検索をおこな
い、帰属度と必要度に基づいてデータの優先順位を決定
して優先順位の順に検索結果のデータを出力することに
より、優先度の高いデータであるかの判断を容易にする
技術が開示されている。
As a prior art relating to such a method of displaying a database search result, Japanese Patent Laid-Open No. 02-04560 is disclosed.
No. 9 is known. This publication has a database in which the degree of belonging is added to keywords in advance, conducts a search by giving the degree of necessity to the keyword in the search request, and determines the priority of data based on the degree of belonging and the degree of necessity. A technique has been disclosed that outputs search result data in the order of ranks, thereby facilitating determination of whether the data has high priority.

【0007】[0007]

【発明が解決しようとする課題】上述したこれらの従来
の技術では、データベースに新たにデータを登録する際
に、どの検索項目を優先的に記入すれば検索時に効果的
かが明確でない。例えば事例データベースなどでは、一
つのデータに対して登録できる検索項目が多く、すべて
の検索項目を漏れなく記入する必要がないので、どの検
索項目から優先的に記入すればよいかが示されれば、デ
ータ登録時の手間を減らすことができる。
In these conventional techniques described above, it is not clear which search item should be preferentially entered for effective data retrieval when newly registering data in a database. For example, in case databases etc., there are many search items that can be registered for one data, and it is not necessary to fill out all search items completely, so if it is indicated which search item should be entered with priority, Time and effort when registering data can be reduced.

【0008】また、特開平1−128128号公報の例
では、データの絞り込みを容易にするために、入力した
キーワードに類似の項目データを抽出して検索メニュー
画面を生成する。入力した後に検索メニューを生成する
ので、データをさらに絞り込むために何を入力すればよ
いかを利用者が判断しなければならない。
In the example of Japanese Patent Application Laid-Open No. 1-128128, in order to easily narrow down data, item data similar to an input keyword is extracted to generate a search menu screen. Since the search menu is generated after the input, the user must determine what to input in order to further narrow down the data.

【0009】また、意思決定などにデータベースを使用
するような状況に於いては、検索結果中の各値がデータ
ベース中で希少な値であるか多量に存在する値であるか
などのデータベース中での位置づけが重要な判断材料と
なる。しかし、このような相対的な値はデータベースに
登録されたデータの更新により動的に変化するので、デ
ータベースの項目として登録してしまうと、更新の際の
計算量が著しく増大してしまい現実的ではない。一方、
データベースの項目として存在しなければ、検索要求と
して指定することはできない。
In a situation where a database is used for decision making, etc., it is necessary to check whether each value in a search result is a rare value or a large number of values in the database. Is an important factor in making decisions. However, since such a relative value dynamically changes by updating data registered in the database, if the relative value is registered as an item in the database, the amount of calculation at the time of updating is significantly increased, so that it is practical. is not. on the other hand,
If it does not exist as a database item, it cannot be specified as a search request.

【0010】特開平2−045609の技術によればデ
ータを優先順位の順に表示できるが、キーワードに帰属
度を付加したデータベースをあらかじめ構築する必要が
あり、データの項目値に新規の追加や削除がおこなわれ
るたびに帰属度を付加したデータベースの更新が必要と
なり、保守の労力が増大する。また、検索要求に必要度
を与えるための検索の労力の増大も避けられない。
According to the technique disclosed in Japanese Patent Application Laid-Open No. 2-45609, data can be displayed in the order of priority. However, it is necessary to construct a database in which the degree of belonging is added to a keyword in advance. Each time it is performed, it is necessary to update the database to which the degree of belonging is added, and the maintenance labor increases. In addition, it is inevitable that search effort for giving a necessary degree to a search request increases.

【0011】上述の通り、従来の技術では検索結果に含
まれる各項目の値がデータベース中でどのような位置を
占めるかを容易に一覧する事ができず、検索や保守に多
大な労力を要するという問題がある。
As described above, in the prior art, it is not easy to list at a glance the position of each item included in the search result in the database, and a great deal of labor is required for search and maintenance. There is a problem.

【0012】本発明の目的は、データ登録時にどの検索
項目を優先的に記入すれば検索時に効果的かを示すこと
ができるデータベース検索システムを提供することにあ
る。
It is an object of the present invention to provide a database search system which can indicate which search item should be preferentially entered at the time of data registration and which is effective at the time of search.

【0013】本発明の他の目的は、データベースを長い
期間にわたって利用し続けるうちに登録されるデータが
変化していくことがあり、そのような場合に、検索に効
果的な検索項目の種類や個数を自動的に変化することの
できるデータベース検索システムを提供することにあ
る。
Another object of the present invention is that the registered data may change as the database is used for a long period of time, and in such a case, the types of search items effective for the search and the types of the search items may be changed. It is an object of the present invention to provide a database search system capable of automatically changing the number.

【0014】[0014]

【課題を解決するための手段】本発明の第1の発明のデ
ータベース検索システムは、データベースにデータを登
録する際に、検索項目を主検索項目と副検索項目に分け
て提示することにより、どの検索項目を優先的に記入す
れば検索時に効果的かを示す。より具体的には、データ
ベースに登録されているデータに付加されている検索項
目を調べて、検索項目を主検索項目と副検索項目に分類
できる検索項目判定手段を有する。
The database search system according to the first invention of the present invention, when registering data in a database, divides a search item into a main search item and a sub search item and presents the search items. This indicates whether the priority is given to the search items to be effective at the time of search. More specifically, it has a search item determining means for checking a search item added to data registered in the database and classifying the search item into a main search item and a sub search item.

【0015】また、本発明の第2の発明のデータベース
検索システムは、最初に検索条件を入力して検索を行っ
た後、さらにデータを絞り込むためにシステムの側から
利用者に対して質問させ、検索データの絞り込みを容易
にする。より具体的には、検索されたデータに付加され
ている検索項目を調べて、データの絞り込みに最も有効
な検索項目を決定できる計数手段を有する。
Further, in the database search system according to the second invention of the present invention, after first inputting a search condition and performing a search, the system side asks a user to further narrow down the data, Easily narrow down search data. More specifically, it has a counting unit that can check the search items added to the searched data and determine the most effective search items for narrowing down the data.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態について図面
を参照して詳細に説明する。実施の形態は全部でつあ
り、第1の発明の実施の形態は、請求項1および2に対
応し、第2の発明の実施の形態は、請求項3および4に
対応する
Embodiments of the present invention will be described in detail with reference to the drawings. There are two embodiments in total, the first embodiment of the invention corresponds to claims 1 and 2, and the second embodiment of the invention corresponds to claims 3 and 4.
Corresponding .

【0017】(第1の発明の実施の形態)まず、本発明
の第1の発明の実施の形態について説明する。
(First Embodiment of the Invention) First, an embodiment of the first invention of the present invention will be described.

【0018】図1は、第1の発明の実施の形態の一構成
例を示すブロック図である。図1を参照すると、本発明
の第1の発明の一実施の形態は、データを記録するデー
タベース2と、データベースにデータを登録するデータ
登録手段1と、どの検索項目を優先的に登録すべきかを
判定する検索項目判定手段3とを含む。
FIG. 1 is a block diagram showing an example of the configuration of the first embodiment of the present invention. Referring to FIG. 1, an embodiment of the first invention of the present invention includes a database 2 for recording data, a data registration unit 1 for registering data in the database, and a search item to be preferentially registered. And a search item determining means 3 for determining

【0019】次に、図2は、データベース2の一例であ
る。
FIG. 2 shows an example of the database 2.

【0020】データベース2は、図2に示すように、一
つのデータに対して複数の検索項目を登録できるように
なっており、検索項目は主検索項目と副検索項目に分け
られている。
As shown in FIG. 2, the database 2 can register a plurality of search items for one data, and the search items are divided into a main search item and a sub search item.

【0021】次に、本実施の形態の動作について図1お
よび図3を参照して説明する。
Next, the operation of this embodiment will be described with reference to FIGS.

【0022】データをデータベース2に登録する場合に
は、データ登録手段1からデータとデータに付加する検
索項目およびその値を入力する(ステップA1)。
When registering data in the database 2, data and search items to be added to the data and their values are input from the data registration means 1 (step A1).

【0023】データ登録手段1は、入力されたデータと
検索項目およびその値をデータベース2に登録し(10
2)、同時に検索項目判定手段3に渡す(103)。
The data registration means 1 registers the input data, the search items and their values in the database 2 (10
2) At the same time, it is passed to the search item determining means 3 (103).

【0024】検索項目判定手段3は、データベース2を
検索し(302)、登録されている全データのうちで入
力された検索項目のそれぞれが付加されているデータ数
を数える(ステップA2)。
The search item determining means 3 searches the database 2 (302), and counts the number of data to which each of the input search items is added among all registered data (step A2).

【0025】データを登録したことにより、ある検索項
目が付加されていたデータ数が、全データ数に対してあ
る割合以上(例えば、ある検索項目が付加されていたデ
ータ数が全データ数の60%以上)になったかを判定す
る(ステップA3)。
By registering the data, the number of data to which a certain search item is added is equal to or more than a certain percentage of the total number of data (for example, the number of data to which a certain search item is added is 60% of the total number of data). % Or more) (step A3).

【0026】ある割合以上(例えば60%以上)になっ
た場合には、その検索項目を主検索項目とし(ステップ
A4)、ある割合以下(例えば60%未満)になった場
合には、その検索項目を副検索項目として(ステップA
5)、データベース2に検索項目を主検索項目と副検索
項目に分けて登録する(302)。
When the ratio is equal to or more than a certain ratio (for example, 60% or more), the search item is set as a main search item (step A4). Item as a sub-search item (step A
5) The search item is divided into a main search item and a sub search item and registered in the database 2 (302).

【0027】このようにすることで、データベースに記
録されているデータに対して、どの検索項目が多く登録
されているかを利用者に示すことができ、新規データの
登録の際に検索時に有効な検索項目を示すことができ
る。
By doing so, it is possible to indicate to the user which search items are registered with respect to the data recorded in the database. The search item can be indicated.

【0028】また、データベースを長い期間にわたって
利用し続けるうちに、登録されるデータが変化していく
ことがある。そのような場合に、検索に効果的な検索項
目の種類や個数を自動的に変化させていくことができ
る。
Further, while the database is used for a long period of time, the registered data may change. In such a case, the type and number of search items effective for the search can be automatically changed.

【0029】次に、本実施の形態の動作について詳細に
説明する。
Next, the operation of this embodiment will be described in detail.

【0030】例えば、データベース2が図2のように、
データとデータに付加されたいくつかの検索項目とその
値というように構成されているとする。
For example, as shown in FIG.
It is assumed that data and some search items added to the data and their values are configured.

【0031】例えば、データ1は検索項目Aの値がa1
であり、検索項目Dの値がd1であり、検索項目Eの値
がe1であるというように記録されている。検索項目の
値は、すべてのデータに関して登録されているわけでな
く、不明であったり、そのような項目を持たないデータ
も存在する。
For example, data 1 has a value of search item A of a1
And the value of the search item D is d1, and the value of the search item E is e1. The value of the search item is not registered for all data, and there is data that is unknown or has no such item.

【0032】本例では、検索項目判定手段3において、
検索項目を主検索項目と副検索項目とに分ける基準を、
全データ数に対してその検索項目が付加されているデー
タ数の割合が60%以上かどうかで判定するとする。
In this example, in the search item determining means 3,
The criteria for dividing search items into primary search items and secondary search items are as follows:
It is assumed that the determination is made based on whether or not the ratio of the number of data to which the search item is added to the total number of data is 60% or more.

【0033】データベース2の現在の状態は、全データ
数が6個であり、検索項目A、B、C、D、Eが付加さ
れているデータ数の割合はそれぞれ、100%(6/
6)、67%(4/6)、67%(4/6)、50%
(3/6)、50%(3/6)であって、付加されてい
るデータ数の割合が60%以上である検索項目A、B、
Cが主検索項目となり、60%未満である検索項目D、
Eが副検索項目となっている。
In the current state of the database 2, the total number of data is six, and the ratio of the number of data to which search items A, B, C, D, and E are added is 100% (6 /
6), 67% (4/6), 67% (4/6), 50%
(3/6), 50% (3/6), and the search items A, B,
C is the main search item, and search item D, which is less than 60%,
E is a sub search item.

【0034】このデータベース2に、図4に示すような
データ7、データ8を新規登録データとして登録する場
合を考える。
Consider a case where data 7 and data 8 as shown in FIG. 4 are registered as new registration data in the database 2.

【0035】まず、データ登録手段1からデータベース
2にデータ7を登録する(102)と(ステップA
1)、データ登録手段1から検索項目判定手段3にデー
タの追加があったことが伝えられ(103)、検索項目
判定手段3はデータベース2を調べ(302)、各検索
項目のデータに付加されている割合を計算する。
First, the data 7 is registered in the database 2 from the data registration means 1 (102) (step A).
1) The data registration means 1 informs the search item judgment means 3 that data has been added (103), and the search item judgment means 3 checks the database 2 (302) and adds the data to the data of each search item. Calculate the percentage you have.

【0036】データ7を登録することにより全データ数
は7個になり、検索項目A、B、C、D、Eが付加され
ているデータの割合はそれぞれ、86%(6/7)、5
7%(4/7)、71%(5/7)、57%(4/
7)、43%(3/7)となる(ステップA2)。検索
項目判定手段3はこの計算結果に基づき、検索項目を分
類する(302)。検索項目A、Cは主検索項目のまま
(ステップA4)、検索項目D、Eは副検索項目のまま
で変化させず(ステップA5)、検索項目Bは67%か
ら57%(60%未満)になるので、主検索項目から副
検索項目に変化させる(ステップA5)。この結果、デ
ータベース2は図5のような状態になる。
By registering the data 7, the total number of data becomes seven, and the ratio of the data to which the search items A, B, C, D, and E are added is 86% (6/7) and 5%, respectively.
7% (4/7), 71% (5/7), 57% (4 /
7), which is 43% (3/7) (step A2). The search item determining means 3 classifies the search items based on the calculation result (302). Search items A and C remain main search items (step A4), search items D and E remain sub search items and remain unchanged (step A5), and search item B ranges from 67% to 57% (less than 60%). Is changed from the main search item to the sub search item (step A5). As a result, the database 2 is in a state as shown in FIG.

【0037】次に、データ8を登録する場合を説明す
る。
Next, the case of registering the data 8 will be described.

【0038】データ登録手段1からデータベース2にデ
ータ8を登録する(102)と(ステップA1)、デー
タ登録手段1から検索項目判定手段3にデータの追加が
あったことが伝えられ(103)、検索項目判定手段3
はデータベース2を調べ(302)、各検索項目のデー
タに付加されている割合を計算する(ステップA2)。
When the data 8 is registered from the data registration means 1 to the database 2 (step A1) (step A1), the fact that data has been added from the data registration means 1 to the search item determination means 3 is notified (103). Search item determination means 3
Checks the database 2 (302) and calculates the ratio added to the data of each search item (step A2).

【0039】データ8を登録することにより全データ数
は8個になり、検索項目A、B、C、D、Eが付加され
ているデータの割合はそれぞれ、88%(7/8)、5
0%(4/8)、75%(6/8)、62%(5/
8)、38%(3/8)となる(ステップA3)。検索
項目判定手段3はこの計算結果に基づき、検索項目を分
類する(302)。検索項目A、Cは主検索項目のまま
(ステップA4)、検索項目B、Eは副検索項目のまま
で変化させず(ステップA5)、検索項目Dは57%か
ら62%(60%以上)になるので、副検索項目から主
検索項目に変化させる(ステップA4)。この結果、デ
ータベース2は図6のような状態になる。
By registering the data 8, the total number of data becomes eight, and the ratio of the data to which the search items A, B, C, D, and E are added is 88% (7/8), 5
0% (4/8), 75% (6/8), 62% (5 /
8), which is 38% (3/8) (step A3). The search item determining means 3 classifies the search items based on the calculation result (302). The search items A and C remain the main search items (step A4), the search items B and E remain the sub search items and do not change (step A5), and the search item D ranges from 57% to 62% (60% or more). Is changed from the sub search item to the main search item (step A4). As a result, the database 2 is in a state as shown in FIG.

【0040】また、新たにデータを登録する際に、デー
タベース2に検索項目として含まれていない新しい検索
項目とその値を付加してデータを登録した場合も同様に
扱われる。
When newly registering data, a new search item not included in the database 2 as a search item and its value are added and data is registered in the same manner.

【0041】以上説明したように、最初にデータベース
を構築する際には、主検索項目を何にするか、いくつに
するかをあまり気にせずにはじめることができ、新規デ
ータを追加していくにつれて、検索に効果的な主検索項
目の種類や個数が徐々に最適化されていく。
As described above, when constructing a database for the first time, it is possible to start without worrying much about what the main search item should be and how many, and new data will be added. As a result, the types and number of effective main search items for search are gradually optimized.

【0042】第一の実施の形態の変形として、主検索項
目の個数をあらかじめ決めておき、全データ中でその検
索項目が含まれる割合の大きいものから順に決まった個
数だけ主検索項目とする方法がある。例えば、検索項目
の10%(小数点以下切り上げとする)を主検索項目と
することとすれば、検索項目が55個あるときには、各
検索項目に注目して全データ中でその検索項目が付加さ
れていた割合の高いものから順に6個が主検索項目とな
る。
As a modification of the first embodiment, a method in which the number of main search items is determined in advance, and the number of main search items is determined as a main search item in ascending order of the percentage of the search items included in all data. There is. For example, assuming that 10% of the search items (rounded up to the decimal point) are the main search items, when there are 55 search items, the search items are added to all the data by focusing on each search item. Six items are the main search items in order from the one with the highest percentage.

【0043】また、検索項目の総数が、どの値域に含ま
れるかによって主検索項目の数を決定する方法もある。
例えば、検索項目が20個未満以下のときは、各検索項
目に注目して全データ中でその検索項目が付加されてい
た割合の高いものから順に5個を主検索項目にし、検索
項目が10個以上100個未満のときは主検索項目を1
0個にし、検索項目が100個以上のときは主検索項目
を20個にするなど、検索項目の数が増えるにつれて主
検索項目の数を段階的に増やす方法などがある。
There is also a method in which the number of main search items is determined based on which value range includes the total number of search items.
For example, when the number of search items is less than 20 or less, five items are set as main search items in ascending order of the ratio of the search items added to all the data, and the number of search items is 10 or less. When the number is more than 100 and less than 100, the main search item is 1
There is a method of gradually increasing the number of main search items as the number of search items increases, such as setting the number to zero and setting the number of main search items to 20 when the number of search items is 100 or more.

【0044】(第2の発明の実施の形態)次に、本発明
の第2の発明の実施の形態について説明する。
(Embodiment of the Second Invention) Next, an embodiment of the second invention of the present invention will be described.

【0045】図7は、本発明の第2の発明の実施の形態
の一構成例を示すブロック図である。図7を参照する
と、本発明の第2の発明の実施の形態は、図1に示され
た第1の発明の実施の形態における構成に加え、目的の
データを検索するためにディスプレイ装置等に入力要求
を表示しキーボード等を用いて検索項目を入力させる検
索項目入力手段5と、検索項目入力手段5から入力され
た検索項目を用いてデータベースを検索する検索手段4
と、ディスプレイ装置や印刷装置等を用いて検索結果を
表示する検索結果出力手段6と、検索手段4によって検
索されたデータに付加された検索項目の個数をカウント
する計数手段7とを有する点で異なる。
FIG. 7 is a block diagram showing a configuration example of the second embodiment of the present invention. Referring to FIG. 7, a second embodiment of the present invention has a structure similar to that of the first embodiment shown in FIG. 1 and a display device or the like for searching for target data. Search item input means 5 for displaying an input request and inputting search items using a keyboard or the like, and search means 4 for searching a database using the search items input from search item input means 5
And a search result output means 6 for displaying a search result using a display device or a printing device, and a counting means 7 for counting the number of search items added to the data searched by the search means 4. different.

【0046】本実施の形態の動作について図7および図
8を参照して説明する。データ登録手段1からデータベ
ース2に新規にデータが登録される(102)と同時
に、データ登録手段1から検索項目判定手段3に新規デ
ータとそのデータに付加された検索項目とその値が渡さ
れる(103)。
The operation of the present embodiment will be described with reference to FIGS. At the same time that data is newly registered in the database 2 from the data registration means 1 (102), the new data, the search item added to the data, and the value thereof are passed from the data registration means 1 to the search item determination means 3 ( 103).

【0047】検索項目判定手段3では、第1の発明の実
施の形態と同様にして検索項目を主検索項目と副検索項
目に分け、データベース2に登録する(302)と同時
に、検索項目入力手段5にも主検索項目と副検索項目を
登録する(305)。
The search item determining means 3 divides the search items into main search items and sub search items in the same manner as in the first embodiment, and registers them in the database 2 (302). 5, the main search item and the sub search item are registered (305).

【0048】データの検索時には、検索項目入力手段5
は利用者に対して検索項目の入力を促す。主検索項目と
副検索項目を分けて利用者に提示し、利用者が検索項目
のうちで値の判明しているものを入力する(ステップB
1)。検索項目に入力の優先順位を付けることにより、
利用者がデータの検索を行いやすくする。
At the time of data search, search item input means 5
Prompts the user to enter a search item. The main search item and the sub search item are separately presented to the user, and the user inputs a search item having a known value (step B).
1). By prioritizing your search terms for input,
Make it easier for users to search for data.

【0049】検索項目入力手段5は入力された検索項目
とその値を検索手段4に渡し(504)、検索手段4は
データベース2から入力された検索項目の値に当てはま
るデータをデータベース2から検索する(402、20
4)(ステップB2)。
The search item input means 5 passes the input search item and its value to the search means 4 (504), and the search means 4 searches the database 2 for data corresponding to the value of the search item input from the database 2. (402, 20
4) (Step B2).

【0050】検索手段4は検索と同時に、検索されたデ
ータを計数手段7に渡し(407)、計数手段7は、検
索されたデータに付加された検索項目を調べ、各検索項
目ごとに検索結果データのうち記入されているデータ数
を数える(ステップB3)。
At the same time as the search, the search means 4 passes the searched data to the counting means 7 (407), and the counting means 7 checks the search items added to the searched data. The number of entered data is counted (step B3).

【0051】検索項目ごとの記入されているデータ数
は、計数手段7から検索手段4に戻され(704)、検
索項目入力手段5に渡される(405)。
The number of data entered for each search item is returned from the counting means 7 to the search means 4 (704), and is passed to the search item input means 5 (405).

【0052】同時に、検索されたデータは検索結果出力
手段6に渡されて(406)利用者に提示され(ステッ
プB4)、さらに検索データを絞り込むかどうかという
質問が利用者に対してなされる(ステップB5)。
At the same time, the retrieved data is passed to the retrieval result output means 6 (406) and presented to the user (step B4), and the user is asked whether to narrow down the retrieval data (step B4). Step B5).

【0053】さらにデータを絞り込むならば、検索項目
入力手段5は、記入されていたデータ数の最も多い検索
項目のうち、まだ値の入力されていないものから順に利
用者に質問し(ステップB6)、利用者の入力した回答
を検索手段4に渡し(504)、以下同様にして検索を
続行する。
If the data is to be further narrowed down, the search item input means 5 asks the user in order from the search item having the largest number of entered data, for which the value has not been input yet (step B6). Then, the answer input by the user is passed to the search means 4 (504), and the search is continued in the same manner.

【0054】利用者が検索結果をもう絞り込まないと回
答すれば、検索を終了する(ステップB7)。
If the user replies that the search results will not be narrowed down, the search is terminated (step B7).

【0055】次に、本実施の形態の動作について、さら
に詳細に説明する。
Next, the operation of this embodiment will be described in more detail.

【0056】例えば、データベース2に図2のようなデ
ータが記録されているとする。
For example, assume that data as shown in FIG.

【0057】データ登録時にデータ登録手段1で入力さ
れたデータおよびデータに付加された検索項目とその値
は、データベース2に登録される(102)と同時に検
索項目判定手段3に渡され(103)、検索項目判定手
段3において検索項目は主検索項目と副検索項目に分類
される(302)。
The data input by the data registration means 1 at the time of data registration and the search items added to the data and their values are registered in the database 2 (102) and are also passed to the search item determination means 3 (103). The search items are classified into main search items and sub search items by the search item determining means 3 (302).

【0058】検索項目の分類結果は、データベース2に
登録される(302)と同時に、検索項目入力手段5に
も登録される(305)。
The classification result of the search item is registered in the database 2 (302), and simultaneously with the search item input means 5 (305).

【0059】利用者がデータを検索する場合には、検索
項目入力手段5から利用者に対して検索項目の入力を促
す。このとき主検索項目である検索項目A、B、Cと、
副検索項目である検索項目D、Eを分けて提示すること
で、検索項目A、B、Cは高い割合で値が記録されてい
ることが利用者にわかり、利用者がデータの検索を行い
やすくなる。
When the user searches for data, the search item input means 5 prompts the user to input search items. At this time, search items A, B, and C, which are main search items,
By separately presenting the search items D and E, which are the sub search items, the user can know that the search items A, B, and C have values recorded at a high rate, and the user searches the data. It will be easier.

【0060】例えば、検索項目入力手段5において、利
用者が「検索項目Aの値がa1であるデータ」の検索を
要求したとする(ステップB1)。
For example, it is assumed that the user has requested a search for "data having a search item A value of a1" in the search item input means 5 (step B1).

【0061】検索条件の入力手段は、例えば、ディスプ
レイ装置等を用いてウインドウ上に検索項目とその値の
入力フィールドを表示し、キーボードやマウス、ペン等
の装置を用いて値を入力する。
The search condition input means displays, for example, a search item and its input field on a window using a display device or the like, and inputs a value using a device such as a keyboard, a mouse, or a pen.

【0062】検索条件の入力では、主検索項目だけを直
接入力できるようにし、副検索項目はメニュー選択など
の利用者からの操作があった場合のみ入力できるように
する方法や、検索項目すべてを、全データ中で記載され
ている割合の多い順に並べる方法がある。
In the search condition input, only a main search item can be directly input, and a sub search item can be input only when a user performs an operation such as a menu selection. , There is a method of arranging in descending order of the percentage described in all data.

【0063】また、ポップアップウインドウ等を用い
て、主検索項目から順に利用者に値を質問していく方法
もある。
There is also a method in which a user is asked for a value in order from a main search item using a pop-up window or the like.

【0064】検索項目入力手段5は入力された検索条件
「検索項目Aの値がa1」を検索手段4に渡し(50
4)、検索手段4はデータベース2から入力された検索
条件に当てはまるデータを検索する(204、40
2)。
The search item input means 5 passes the input search condition “the value of the search item A is a1” to the search means 4 (50
4) The search means 4 searches for data that satisfies the search condition input from the database 2 (204, 40).
2).

【0065】この場合には、図9のようにデータ1、
2、4、5の4つのデータが検索される(ステップB
2)。
In this case, as shown in FIG.
Four data of 2, 4, and 5 are searched (step B)
2).

【0066】検索手段4は検索と同時に、検索されたデ
ータを計数手段7に渡し(407)、計数手段7は、検
索されたデータに付加された検索項目を調べ、各検索項
目ごとに検索結果データのうち記入されているデータ数
を数える。この場合には、検索が終わった時点で「検索
項目Bは2個」「検索項目Cは2個」「検索項目Dは3
個」「検索項目Eは2個」記入されているデータがある
ことになり(ステップB3)、この検索項目ごとの記入
されているデータ数は、計数手段7から検索手段4に戻
され(704)、検索項目入力手段5に渡される(40
5)。
At the same time as the search, the search means 4 passes the searched data to the counting means 7 (407), and the counting means 7 checks the search items added to the searched data. Count the number of data entered in the data. In this case, when the search is completed, “2 search items B”, “2 search items C”, and “3 search items D”
This means that there is data in which "item" and "two search items E" are entered (step B3), and the number of entered data for each search item is returned from the counting means 7 to the searching means 4 (704). ) And passed to the search item input means 5 (40
5).

【0067】検索されたデータは検索結果出力手段6に
渡され(406)、ディスプレイやプリンタ等の出力装
置を用いて利用者に提示される(ステップB4)。
The retrieved data is passed to the retrieval result output means 6 (406) and presented to the user using an output device such as a display or a printer (step B4).

【0068】検索結果が利用者に提示された後、検索項
目入力手段5から利用者に対して、さらに検索データを
絞り込むかどうかを質問する(ステップB5)。質問の
方法は、例えば、ディスプレイ装置等に表示されるポッ
プアップウインドウを用いることができる。
After the search results are presented to the user, the search item input means 5 asks the user whether to further narrow down the search data (step B5). As a method of inquiring, for example, a pop-up window displayed on a display device or the like can be used.

【0069】利用者の回答が、検索を継続するというも
のでなければ、検索を終了する(ステップB7)。
If the answer of the user is not to continue the search, the search is terminated (step B7).

【0070】利用者の回答が、検索を継続するというも
のであれば、検索項目入力手段5は、記入されていたデ
ータ数の最も多い検索項目のうち、まだ値の入力されて
いないものから順に利用者に質問する。この場合には、
値の入力されていない検索項目B、C、D、Eのうち
で、検索データに記入されていたデータ数が3件で最も
多かった検索項目Dを選び、利用者に値を質問する(ス
テップB6)。もし値が入力されてなく、記入されてい
たデータ数が同じ検索項目が複数あれば、そのいずれを
利用者に質問してもよい。例えば、五十音順やアルファ
ベット順に質問してもよい。
If the answer of the user is that the search is to be continued, the search item input means 5 sequentially searches the search items having the largest number of data items, for which no value has been input yet, from the search items having the largest number of data. Ask the user a question. In this case,
From among the search items B, C, D, and E for which no value has been input, select the search item D with the largest number of data entered in the search data, and ask the user for the value (step B6). If no search value is entered and there are a plurality of search items with the same number of data entered, any of them may be asked to the user. For example, questions may be asked in alphabetical order or alphabetical order.

【0071】利用者から新しく検索項目の値が入力され
れば、検索手段4にその検索項目と値を渡して(50
4)以下同様にして検索を続行する。
When a new value of the search item is input by the user, the search item and the value are passed to the search means 4 (50).
4) The search is continued in the same manner.

【0072】第二の実施の形態の変形として、計数手段
7において、検索されたデータに付加された検索項目を
調べ、各検索項目ごとに検索結果データのうち記入され
ているデータ数を数える際に、検索項目のそれぞれの値
ごとの個数も数えることとし、検索項目ごとの記入され
ているデータ数と、検索項目のそれぞれの値ごとの個数
を計数手段7から検索手段4に戻し(704)、検索項
目入力手段5に渡す(405)方法がある。
As a modification of the second embodiment, when the counting means 7 checks the search items added to the searched data and counts the number of data entered in the search result data for each search item. Then, the number of search items for each value is also counted, and the number of data entered for each search item and the number of each search item for each value are returned from the counting means 7 to the search means 4 (704). (405).

【0073】検索項目のそれぞれの値ごとの個数がわか
っていれば、検索されたデータを絞り込むために利用者
に検索項目の値を質問するときに、記録されている検索
項目の値の多い順にメニュー表示して質問することがで
きる。
If the number of search items for each value is known, when asking the user for the value of the search item in order to narrow down the searched data, when the user asks for the value of the search item, the order of the value of the recorded search item is large. You can ask questions by displaying a menu.

【0074】検索項目とその記録されている値が記録さ
れているデータ数の多い順に提示されるので、利用者は
検索されたデータを容易に絞り込むことができる。
Since the search item and its recorded value are presented in descending order of the number of recorded data, the user can easily narrow down the retrieved data.

【0075】第2の実施の形態の変形について、図10
を用いて詳細に説明する。
FIG. 10 shows a modification of the second embodiment.
This will be described in detail with reference to FIG.

【0076】例えば、図2のようにデータが記録されて
いるデータベース2から、「検索項目Aの値がa1」と
いう検索条件でデータを検索するとする。
For example, it is assumed that data is searched from the database 2 in which data is recorded as shown in FIG. 2 under a search condition of “the value of the search item A is a1”.

【0077】まず、検索項目入力手段5において検索条
件「検索項目Aの値がa1」が入力され(ステップB
1)、検索手段4に渡される(504)。検索手段4は
データベース2から入力された検索条件に当てはまるデ
ータを検索し(402、204)、図9のようにデータ
1、2、4、5の4つのデータが検索される(ステップ
B2)。
First, the search condition “the value of the search item A is a1” is input to the search item input means 5 (step B).
1), is passed to the search means 4 (504). The search means 4 searches for data that satisfies the search condition input from the database 2 (402, 204), and four data 1, 2, 4, and 5 are searched as shown in FIG. 9 (step B2).

【0078】検索手段4は検索と同時に、検索されたデ
ータを計数手段7に渡し(407)、計数手段7は、検
索されたデータにに付加された検索項目を調べ、各検索
項目ごとに検索結果データのうち記入されているデータ
数を数える(ステップB3)。また、同時に検索項目の
それぞれの値ごとの個数も数える(ステップB3’)。
この場合には、検索が終わった時点で記入されていたデ
ータ数は「検索項目Bは2個」「検索項目Cは2個」
「検索項目Dは3個」「検索項目Eは2個」となり(ス
テップB3)、検索項目のそれぞれの値ごとの個数は
「検索項目Bの値b2は1個」「検索項目Bの値b3は
1個」「検索項目Cの値c1は2個」「検索項目Dの値
d1は2個」「検索項目Dの値d2は1個」「検索項目
Eの値e1は1個」「検索項目Eの値e2は1個」とな
る(ステップB3’)。
At the same time as the search, the search means 4 passes the searched data to the counting means 7 (407), and the counting means 7 checks the search items added to the searched data, and searches for each search item. The number of entered data in the result data is counted (step B3). At the same time, the number of search items for each value is counted (step B3 ').
In this case, the number of data entered at the time of completion of the search is "2 search items B" and "2 search items C"
"Search item D is three" and "Search item E is two" (step B3), and the number of search items for each value is "one value b2 of search item B""value b3 of search item B""1value""2 values c1 for search item C""2 values d1 for search item D""1 value d2 for search item D""1 value e1 for search item E""Search The value e2 of the item E is one "(step B3 ').

【0079】これらの検索項目ごとの記入されているデ
ータ数と、検索項目のそれぞれの値ごとの個数は、計数
手段7から検索手段4に戻され(407)、検索項目入
力手段5に渡される(405)。検索されたデータは検
索結果出力手段6に渡され(406)、利用者に提示さ
れる(ステップB4)。
The number of data entered for each search item and the number of each search item for each value are returned from the counting means 7 to the search means 4 (407) and passed to the search item input means 5. (405). The searched data is passed to the search result output means 6 (406) and presented to the user (Step B4).

【0080】検索結果が利用者に提示された後、検索項
目入力手段5から利用者に対して、さらに検索データを
絞り込むかどうかを質問する(ステップB5)。
After the search result is presented to the user, the search item input means 5 asks the user whether to further narrow down the search data (step B5).

【0081】利用者の回答が、検索を継続するというも
のでなければ、検索を終了する(ステップB7)。
If the user's answer does not indicate that the search should be continued, the search is terminated (step B7).

【0082】利用者の回答が、検索を継続するというも
のであれば、検索項目入力手段5は、記入されていたデ
ータ数の最も多い検索項目のうち、まだ値の入力されて
いないものから順に利用者に質問する。値の入力されて
いない検索項目B、C、D、Eのうちで、検索データに
記入されていたデータ数が3件で最も多かった検索項目
Dを選び、利用者に値を質問する(ステップB7)。
If the user's answer is that the search is to be continued, the search item input means 5 sequentially searches the search items having the largest number of data items, for which no value has been input yet, from the search items having the largest number of data. Ask the user a question. From among the search items B, C, D, and E for which no value has been input, select the search item D with the largest number of data entered in the search data, and ask the user for the value (step B7).

【0083】このとき、「検索項目Dの値d1は2個」
「検索項目Dの値d2は1個」という情報が検索項目入
力手段5に渡されているので、記録されている検索項目
の値の多い順にメニュー表示して利用者に検索項目の値
を質問することができる。また、利用者に対して「検索
項目Dの値はd1ですか?それともd2ですか?」のよ
うに質問することもできる。
At this time, “the value d1 of the search item D is two”
Since the information that "the value d2 of the search item D is one" is passed to the search item input means 5, a menu is displayed in ascending order of the recorded search item values, and the user is asked about the value of the search item. can do. In addition, the user can be asked a question such as “Is the value of the search item D d1 or d2?”.

【0084】検索項目とその記録されている値が、記録
されているデータ数の多い順に提示されるので、利用者
は検索されたデータを容易に絞り込むことができる。
Since the search items and their recorded values are presented in descending order of the number of recorded data, the user can easily narrow down the searched data.

【0085】利用者から新しく検索項目の値が入力され
れば、検索手段4にその検索項目と値を渡し(50
4)、以下同様にして検索を続行する。
When a new search item value is input by the user, the search item and the value are passed to the search means 4 (50).
4) The search is continued in the same manner.

【0086】(本発明に関連する技術の形態) 次に、本発明に関連する技術の形態について図11から
図16を参照して説明する。
( Mode of Technology Related to the Present Invention) Next, a mode of technology related to the present invention will be described with reference to FIGS.

【0087】図11は本発明に関連する技術の形態のデ
ータベース検索システムの形態の一構成例を示すブロッ
ク図である。図11によれば、データベース2を検索
し、検索結果を一時的に格納する検索手段4と、検索結
果に含まれるデータ項目の各値について、その値がデー
タベースに格納されたデータに対する数量的属性を計算
する計数手段7と、計数手段によって計算された結果を
検索結果に併記して表示する結果統合手段8とを含んで
構成され、検索結果に含まれる値の重要度などを判断し
やすくなるように検索結果に含まれる各値について、そ
の値がデータベースに格納されたデータに対する数量的
属性を併記して検索結果出力手段6に出力する。結果統
合手段8の出力は検索結果出力手段6により表示される
以外に、データファイルに保存されるのでもよい。
FIG. 11 is a block diagram showing an example of the configuration of a database search system according to an embodiment of the present invention . According to FIG. 11, a search means 4 for searching the database 2 and temporarily storing the search result, and for each value of the data item included in the search result, a quantitative attribute corresponding to the data stored in the database And a result integrating means 8 for displaying the result calculated by the counting means together with the search result and displaying the result together with the search result, so that it is easy to determine the importance of the value included in the search result. As described above, for each value included in the search result, the value is described to the search result output means 6 together with the numerical attribute for the data stored in the database. The output of the result integrating means 8 may be stored in a data file in addition to being displayed by the search result output means 6.

【0088】図12は本発明に関連する技術の形態の一
動作例を示すフロー図である。
FIG. 12 is a flowchart showing an operation example of the embodiment of the technique related to the present invention .

【0089】本発明に関連する技術の形態においては、
まずデータベースから検索結果を受け取る(ステップS
10)。続いて、検索結果に含まれる値について数量的
属性の計算が行なわれたかチェックし(ステップS2
0)まだ計算が行なわれていない値があれば、その値を
抽出して(ステップS30)数量的属性を計算(ステッ
プS40)する。検索結果に含まれるすべての値につい
て数量的属性の計算がおこなわれたら、検索結果に含ま
れる値にそれぞれの数量的属性を併記し(ステップS5
0)、出力して(ステップS60)終了する。
In the technical form related to the present invention ,
First, a search result is received from the database (step S
10). Subsequently, it is checked whether or not a numerical attribute has been calculated for the value included in the search result (step S2).
0) If there is a value that has not been calculated yet, the value is extracted (step S30), and the numerical attribute is calculated (step S40). When the numerical attributes are calculated for all the values included in the search results, the respective numerical attributes are described together with the values included in the search results (step S5).
0), output (step S60) and end.

【0090】以下に、本発明に関連する技術の形態の動
作について、図面を参照してさらに詳しく説明する。
The operation of the embodiment of the technology related to the present invention will be described below in more detail with reference to the drawings.

【0091】例えば、図13に示すデータを含み検索要
求を受け取って検索結果を出力するデータベース2と、
CRTなどの検索結果出力手段6と、キーボードやマウ
スなどの入力装置を用いて入力する検索項目入力手段5
と、検索項目入力手段5から入力された信号を検索要求
としてデータベース2に入力し、検索結果を受け取る検
索手段4と、検索結果に含まれるデータ項目の各値につ
いて、その値がデータベースに格納されたデータに対す
る数量的属性を計算する計数手段7と、計数手段によっ
て計算された結果を検索結果に併記して表示する結果統
合手段8とを含んでデータ検索システムを構成する。
For example, a database 2 containing the data shown in FIG. 13 and receiving a search request and outputting a search result;
Search result output means 6 such as a CRT and search item input means 5 for inputting using an input device such as a keyboard or a mouse
The search means 4 receives a search result by inputting a signal input from the search item input means 5 to the database 2 as a search request, and stores the value of each data item included in the search result in the database. The data search system includes a counting means 7 for calculating a quantitative attribute for the data obtained, and a result integrating means 8 for displaying the result calculated by the counting means together with the search result and displaying the result.

【0092】検索項目入力手段5を介して検索手段4に
「製造品目が電子部品であるデータの会社名と所在地と
ランクを検索する」旨の検索要求を入力する。検索手段
4はこの検索要求をデータベース2に入力する。検索手
段4およびデータベース2への入力は、共にSQLのよ
うなデータベース検索言語で表現されてもよいし、検索
手段4を、本出願人が、本発明の出願以前に特許出願し
た特願平6−102413号(特開平7−311773
号公報)に記載されている自然言語インタフェース装置
を用いて実現し、検索手段4への入力は自然言語文で、
データベース2への入力はSQLのようなデータベース
検索言語としてもよい。
A search request to “search for company name, location, and rank of data whose manufacturing item is an electronic component” is input to search means 4 via search item input means 5. The search means 4 inputs the search request into the database 2. The input to the search means 4 and the database 2 may both be expressed in a database search language such as SQL. No. 102413 (JP-A-7-31773)
Publication), the input to the search means 4 is a natural language sentence,
The input to the database 2 may be in a database search language such as SQL.

【0093】検索手段4は前述の検索要求を受け取ると
データベース2を検索し、図14に示す検索結果を受け
取って(ステップS10)保存し、計数手段7に通知す
る。計数手段7は検索手段4に保存されている検索結果
を参照して、検索結果に含まれる値のそれぞれについて
数量的属性の計算が行なわれたかチェックし(ステップ
S20)まだ計算が行なわれていない値があれば、その
値を抽出して(ステップS30)数量的属性を計算(ス
テップS40)する。
When the search means 4 receives the above-mentioned search request, it searches the database 2, receives and stores the search results shown in FIG. 14 (step S10), and notifies the counting means 7. The counting unit 7 refers to the search results stored in the search unit 4 and checks whether the calculation of the quantitative attribute has been performed for each of the values included in the search results (step S20). If there is a value, the value is extracted (step S30), and a numerical attribute is calculated (step S40).

【0094】検索結果に含まれる各値の数量的属性とし
て、その値が同じデータ項目に出現する頻度を数量的属
性としてカウントした場合、図14に示した検索結果の
所在地について所在地頻度、ランクについてランク頻
度、製造品目に対して製造品目頻度を計算する。この計
算は例えば、データベースの再検索を自動的に実行する
ことで可能である。図14に示す検索結果の所在地の値
である「大阪市」の頻度を求めるには、図13に示すデ
ータベースについて所在地の項目値として出現する「大
阪市」の数を数えればよい。データベースの所在地の項
目に「大阪市」という値が123回出現するならば、
「大阪市」という値の頻度を123とする。検索結果に
含まれる他の値についても同様に頻度を求める。このと
き、会社名の項目のように、全てのデータの出現頻度が
1であるようなキー項目については頻度計算を省略して
もよい。
When the frequency at which the value appears in the same data item is counted as a quantitative attribute as a quantitative attribute of each value included in the search result, the location frequency and rank of the location of the search result shown in FIG. Calculate manufactured item frequency for rank frequency and manufactured item. This calculation can be performed, for example, by automatically re-searching the database. In order to obtain the frequency of "Osaka City" which is the location value of the search result shown in FIG. 14, the number of "Osaka City" appearing as the item value of the location in the database shown in FIG. 13 may be counted. If the value "Osaka City" appears 123 times in the location item of the database,
The frequency of the value “Osaka City” is 123. The frequency is similarly obtained for other values included in the search result. At this time, the frequency calculation may be omitted for a key item whose appearance frequency of all data is 1, such as a company name item.

【0095】計数手段7が検索結果に含まれる値につい
て頻度を計算し終えると、結果統合手段8は、検索手段
4に格納された検索結果と計数手段7の計算結果を統合
し、各項目の隣に頻度を記述するための項目を設けて図
15に示す出力を作成し(ステップS50)、検索結果
出力手段6に出力する(ステップS60)。所在地の項
目の隣には所在地頻度の項目を設け、所在地の値が「大
阪市」であるデータについて所在地頻度の項目の値を1
23とする。同様に他の項目、値についてもそれぞれの
頻度を併記する。
When the counting means 7 finishes calculating the frequency for the value included in the search result, the result integrating means 8 integrates the search result stored in the search means 4 and the calculation result of the counting means 7 to obtain a value of each item. An output shown in FIG. 15 is created by providing an item for describing the frequency next to the item (step S50), and is output to the search result output means 6 (step S60). A location frequency item is provided next to the location item, and the value of the location frequency item is set to 1 for data whose location value is “Osaka City”.
23. Similarly, the frequency of each of the other items and values is also described.

【0096】また、検索結果に含まれる各値の数量的属
性として、同じデータ項目に含まれる全値に対するその
値の出現比率を数量的属性としてカウントする場合、図
14に示した検索結果の所在地について所在地比率、ラ
ンクについてランク比率、製造品目に対して製造品目比
率を計算する。この計算は例えば、データベースの再検
索を自動的に実行することで可能である。図14に示す
検索結果の所在地の値である「大阪市」の比率を求める
には、図13に示すデータベースについて所在地の項目
値として出現する「大阪市」の数と、所在地の値の総数
を求めて比をとればよい。「大阪市」の数が123で、
所在地の値の総数が500であるとすると、所在地の値
の総数に対して「大阪市」は24.6%という比率が求
まる。
When the appearance ratio of all the values included in the same data item is counted as a quantitative attribute as a quantitative attribute of each value included in the search result, the location of the search result shown in FIG. Calculate the location ratio of the product, the rank ratio of the rank, and the production item ratio for the production item. This calculation can be performed, for example, by automatically re-searching the database. In order to obtain the ratio of “Osaka City”, which is the value of the location in the search result shown in FIG. 14, the number of “Osaka City” appearing as the item value of the location in the database shown in FIG. The ratio may be obtained. The number of "Osaka City" is 123,
Assuming that the total number of location values is 500, the ratio of “Osaka City” to the total number of location values is 24.6%.

【0097】計数手段7が検索結果に含まれる値につい
て比率を計算し終えると、結果統合手段8は、検索手段
4に格納された検索結果と計数手段7の計算結果を統合
し、各項目の隣に比率を記述するための項目を設けて図
16に示す出力を作成し(ステップS50)、検索結果
出力手段6に出力する(ステップS60)。所在地の項
目の隣には所在地比率の項目を設け、所在地の値が「大
阪市」であるデータについて所在地比率の項目の値を2
4.6%とする。同様に他の項目、値についてもそれぞ
れの比率を併記する。
When the counting means 7 finishes calculating the ratio for the value included in the search result, the result integrating means 8 integrates the search result stored in the search means 4 and the calculation result of the counting means 7, and integrates each item. Next, an item for describing the ratio is provided, and an output shown in FIG. 16 is created (step S50), and output to the search result output means 6 (step S60). A location ratio item is provided next to the location item, and the value of the location ratio item is set to 2 for data whose location value is “Osaka City”.
It shall be 4.6%. Similarly, the ratios of other items and values are also described.

【0098】[0098]

【発明の効果】本発明の第1の効果は、データ登録時に
どの検索項目を優先的に記入すれば検索時に効果的かを
示すことができることである。
A first effect of the present invention is that it is possible to indicate which search item is to be preferentially entered at the time of data registration to be effective at the time of search.

【0099】その理由は、データベースにデータを登録
する際に、データベースに登録されているデータに付加
されている検索項目を調べて、検索項目を主検索項目と
副検索項目に分けて提示するので、どの検索項目が多く
登録されているかを利用者に示せるためである。
The reason is that when data is registered in the database, the search items added to the data registered in the database are checked, and the search items are presented separately as main search items and sub search items. This is for showing the user which search items are registered in large numbers.

【0100】第2の効果は、最初にデータベースを構築
する際には、検索項目を何にするか、いくつにするかを
気にせずにはじめることができ、データを追加していく
につれて、検索に効果的な検索項目の種類や個数を自動
的に最適化していくことができることである。
The second effect is that when a database is first constructed, it is possible to start without worrying about what and how many search items are to be made. That is, it is possible to automatically optimize the types and the number of search items that are effective for the user.

【0101】その理由は、データを登録するごとに検索
項目判定手段において、主検索項目と副検索項目を決定
し直すためである。
The reason is that each time data is registered, the main item and the sub item are determined again by the search item determining means.

【0102】第3の効果は、データ検索時に、どの検索
項目を入力すればよいかを利用者に提示できることであ
る。
A third effect is that it is possible to present to the user which search item should be input at the time of data search.

【0103】その理由は、計数手段において、検索され
たデータに関してどの検索項目が多く記録されているか
を数えるためである。
The reason is that the counting means counts which search items are recorded in relation to the searched data.

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

【図1】本発明の第1の発明の実施の形態における構成
の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a configuration according to a first embodiment of the present invention.

【図2】本発明のデータベースの一例を示す図である。FIG. 2 is a diagram illustrating an example of a database according to the present invention.

【図3】本発明の第1の発明の動作の一例を説明するフ
ローチャートである。
FIG. 3 is a flowchart illustrating an example of the operation of the first invention of the present invention.

【図4】本発明のデータベースへの新規登録データの一
例を示す図である。
FIG. 4 is a diagram showing an example of newly registered data in a database according to the present invention.

【図5】本発明によるデータベースの一例を示す図であ
る。
FIG. 5 is a diagram showing an example of a database according to the present invention.

【図6】本発明によるデータベースの一を示す図であ
る。
FIG. 6 is a diagram showing an example of a database according to the present invention.

【図7】本発明の第2の発明の実施の形態における構成
の一例を示すブロック図である。
FIG. 7 is a block diagram showing an example of a configuration according to the second embodiment of the present invention.

【図8】本発明の第2の発明の動作の一例を説明するフ
ローチャートである。
FIG. 8 is a flowchart illustrating an example of the operation of the second invention of the present invention.

【図9】本発明のデータベースから検索されたデータの
一例を示す図である。
FIG. 9 is a diagram showing an example of data retrieved from a database according to the present invention.

【図10】本発明の第2の発明の動作の他の例を説明す
るフローチャートである。
FIG. 10 is a flowchart illustrating another example of the operation of the second invention of the present invention.

【図11】本発明に関連する技術の形態における構成の
一例を示すブロック図である。
FIG. 11 is a block diagram showing an example of a configuration according to a technology related to the present invention .

【図12】本発明に関連する技術の形態の動作の一例を
説明するフローチャートである。
FIG. 12 is a flowchart illustrating an example of an operation according to a technology related to the present invention .

【図13】データベースの一例を示す図である。FIG. 13 is a diagram illustrating an example of a database .

【図14】データベース検索結果の一例を示す図であ
る。
FIG. 14 is a diagram illustrating an example of a database search result.

【図15】頻度情報を併記する項目を追加した検索結果
の一例を示す図である。
FIG. 15 is a diagram illustrating an example of a search result obtained by adding an item in which frequency information is additionally described.

【図16】比率情報を併記する項目を追加した検索結果
の一例を示す図である。
FIG. 16 is a diagram illustrating an example of a search result obtained by adding an item to which ratio information is added.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】データベースに記憶されたデータを検索項
目毎に検索するデータベース検索システムにおいて、 前記データベースが、前記検索項目毎に主検索項目か副
検索項目かに分けて保持し、 前記データベースにデータを登録するデータ登録手段
と、 前記データ登録手段によって登録されるデータの内容
と、前記データベースに登録されているデータの内容に
よって、前記データベースの各検索項目が、主検索項目
か副検索項目かを判定する検索項目判定手段とを備える
ことを特徴とするデータベース検索システム。
1. A database search system for searching data stored in a database for each search item, wherein the database stores each of the search items separately as a main search item or a sub search item, and stores the data in the database. A data registration unit for registering the data, a content of the data registered by the data registration unit, and a content of the data registered in the database, each search item of the database is a main search item or a sub search item A database search system comprising: a search item determining unit for determining.
【請求項2】データベースに記憶されたデータを検索項
目毎に検索するデータベース検索システムにおいて、 前記データベースが、前記検索項目毎に主検索項目か副
検索項目かに分けて保持し、 前記データベースにデータを登録するデータ登録手段
と、 前記データ登録手段によって登録されたデータを含む前
記データベースの各検索項目に付加されているデータの
割合を求め、予め定めておいた割合以上の検索項目にお
いては主検索項目とし、予め定めておいた割合未満の検
索項目においては、副検索項目とする検索項目判定手段
とを備えることを特徴とするデータベース検索システ
ム。
2. A database search system for searching data stored in a database for each search item, wherein the database stores each of the search items separately as a main search item or a sub search item, and stores the data in the database. A data registration unit for registering data, and a ratio of data added to each search item of the database including the data registered by the data registration unit. A database search system comprising: a search item determination unit that sets a sub-search item for a search item having a ratio less than a predetermined ratio.
【請求項3】請求項1または2に記載のデータベース検
索システムにおいて、 目的のデータを検索するためにディスプレイ装置等に入
力要求を表示しキーボード等を用いて検索項目を入力さ
せる検索項目入力手段と、 前記検索項目入力手段から入力された検索項目を用いて
前記データベースを検索する検索手段と、 前記検索手段の検索結果付加された検索項目を調べ、
前記検索項目毎に前記検索結果のうち、記入されている
データ数を計算する計数手段と、 前記計数手段の計算結果と前記検索手段の検索結果を表
示する検索結果出力手段とをさらに備えることを特徴と
するデータベース検索システム。
3. A database search system according to claim 1, wherein a search item input means for displaying an input request on a display device or the like and inputting the search item using a keyboard or the like in order to search for target data. A search unit for searching the database using a search item input from the search item input unit; and a search item added to a search result of the search unit,
A counting unit for calculating the number of entered data in the search result for each of the search items; and a search result output unit for displaying a calculation result of the counting unit and a search result of the search unit. Characteristic database search system.
【請求項4】請求項3に記載のデータベース検索システ
ムにおいて、 前記検索項目入力手段が、前記検索項目判定手段によっ
て主検索項目と判定された検索項目を優先的に入力でき
るようにしたことを特徴とするデータベース検索システ
ム。
4. The database search system according to claim 3, wherein said search item input means is capable of preferentially inputting a search item determined as a main search item by said search item determination means. And a database search system.
JP8342181A 1996-12-20 1996-12-20 Database search system Expired - Fee Related JP2943744B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8342181A JP2943744B2 (en) 1996-12-20 1996-12-20 Database search system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8342181A JP2943744B2 (en) 1996-12-20 1996-12-20 Database search system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP11083116A Division JPH11316771A (en) 1999-03-26 1999-03-26 Database retrieval system

Publications (2)

Publication Number Publication Date
JPH10187740A JPH10187740A (en) 1998-07-21
JP2943744B2 true JP2943744B2 (en) 1999-08-30

Family

ID=18351748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8342181A Expired - Fee Related JP2943744B2 (en) 1996-12-20 1996-12-20 Database search system

Country Status (1)

Country Link
JP (1) JP2943744B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006190007A (en) * 2005-01-04 2006-07-20 Olympus Corp Image control program, image control device and recording medium

Also Published As

Publication number Publication date
JPH10187740A (en) 1998-07-21

Similar Documents

Publication Publication Date Title
JP3087694B2 (en) Information retrieval device and machine-readable recording medium recording program
JP3049636B2 (en) Data analysis method
US20190377720A1 (en) Methods and systems for data management and analysis
US20010016846A1 (en) Method for interactively creating an information database including preferred information elements, such as, preferred-authority, world wide web pages
US20030195873A1 (en) Identifier vocabulary data access method and system
US5933796A (en) Data extracting system based on characteristic quantities of data distribution
KR960706138A (en) SEMANTIC OBJECT MODELING SYSTEM FOR CREATING RELATIONAL DATABASE SCHEMAS
JPH0776936B2 (en) Access route selection method
JP2004005742A (en) User interface for document full-text search
JPH07160731A (en) Method and device for picture retrieval
JPH0675265B2 (en) Information retrieval method and system
JPH11272689A (en) Method and device for information retrieval processing and recording medium where information retrieval processing program is recorded
CN108664509A (en) A kind of method, apparatus and server of extemporaneous inquiry
JPH08147320A (en) Information retrieving method and system
JP4084647B2 (en) Information search system, information search method, and information search program
JP2943744B2 (en) Database search system
RU2433467C1 (en) Method of forming aggregated data structure and method of searching for data through aggregated data structure in data base management system
US20120191725A1 (en) Document ranking system with user-defined continuous term weighting
JP2842487B2 (en) Data editing method
EP2164007A1 (en) Data storage and fusion layer
JPH09259139A (en) Document data intelligent retrieval system
JP3552339B2 (en) Database system
JPH08272806A (en) Data base retrieval system
JPH11316771A (en) Database retrieval system
JPH1173394A (en) Information operation system with security function and method for accessing database in its system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990525

LAPS Cancellation because of no payment of annual fees