JPH04281562A - Retrieving device by fuzzy inference - Google Patents

Retrieving device by fuzzy inference

Info

Publication number
JPH04281562A
JPH04281562A JP3044607A JP4460791A JPH04281562A JP H04281562 A JPH04281562 A JP H04281562A JP 3044607 A JP3044607 A JP 3044607A JP 4460791 A JP4460791 A JP 4460791A JP H04281562 A JPH04281562 A JP H04281562A
Authority
JP
Japan
Prior art keywords
retrieval
search
data
condition
conditions
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
JP3044607A
Other languages
Japanese (ja)
Inventor
Mika Hiramatsu
平松 美架
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP3044607A priority Critical patent/JPH04281562A/en
Publication of JPH04281562A publication Critical patent/JPH04281562A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To accelerate processing speed by narrowing down a retrieval target in first retrieval based on a significant condition, and finding the final retrieval result in second retrieval. CONSTITUTION:First retrieval parts 4, 5 which select first retrieval data by retrieving retrieval target data find adaptation for the first retrieval data by fuzzy inference by using a condition selected in advance as a required retrieval condition out of inputted retrieval conditions, and select data with adaptation over a threshold value as the first retrieval data. Second retrieval parts 7, 8 performs prescribed retrieval by the fuzzy inference setting the first retrieval data as a target by using the condition other than the required retrieval condition out of the inputted retrieval conditions. In other words, the retrieval target data is narrowed down based on whether or not the data satisfies the required retrieval condition over constant reference at the first retrieval parts 4, 5, and the retrieval is performed by using another retrieval condition at the second retrieval parts 7, 8.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、入力される検索条件
に基づいて、データベースに格納される検索対象データ
のうちから適合するものを検索する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for searching suitable search target data stored in a database based on input search conditions.

【0002】0002

【従来の技術】一般に、エキスパートシステムは、デー
タベースから希望するデータを検索する機能を備えてい
る。
2. Description of the Related Art Generally, expert systems have the ability to search for desired data from a database.

【0003】従来は、ユーザの入力する条件とルールを
用いてデータベースを検索し、格納されているデータに
対して順次マッチングを試みていき、「成立」または「
不成立」の判定を行っていた。
Conventionally, a database is searched using conditions and rules entered by the user, and matching is sequentially attempted with the stored data.
It was determined that the case had not been established.

【0004】0004

【発明が解決しようとする課題】しかしながら従来の検
索機能には、次のような問題点があった。
[Problems to be Solved by the Invention] However, the conventional search function has the following problems.

【0005】(1)ルールの「成立」「不成立」で判定
するため、基準値に満たないが、基準値に近い値がすべ
て不適合と判断され、ユーザの入力する条件(ユーザの
意図)に含まれる曖昧さが無視されてしまうので、ユー
ザの希望する検索結果が必ずしも出るとは限らなかった
。このため、条件を変えて何度も検索を繰り返さなけれ
ばならないなど、ユーザの負担が大きくなっていた。
(1) Since the judgment is based on whether the rule is met or not met, all values that do not meet the standard value but are close to the standard value are determined to be nonconforming and are included in the conditions input by the user (user's intention). Since the ambiguity of the search results is ignored, the search results desired by the user may not always be obtained. For this reason, the user has to repeat the search many times by changing the conditions, which increases the burden on the user.

【0006】(2)検索対象のデータに対して画一的に
マッチングを試みていくので、他のルールが明らかに成
立しないものに対してもマッチングを試みることとなり
、全体として無駄な処理が多くなり、処理速度の低下を
招いていた。
(2) Since matching is uniformly attempted for the data to be searched, matching is attempted even for items for which other rules clearly do not hold, resulting in a lot of wasteful processing overall. This caused a decrease in processing speed.

【0007】この発明は、このような問題点に鑑み、ユ
ーザの意図に含まれる曖昧さを検索に反映することがで
き、しかも処理速度に優れた検索装置を提供することを
目的とする。
SUMMARY OF THE INVENTION In view of these problems, it is an object of the present invention to provide a search device that can reflect ambiguity contained in a user's intention in a search and has excellent processing speed.

【0008】[0008]

【課題を解決するための手段】この発明によれば、検索
対象データを格納するデータベースを備え、入力される
検索条件に適合するデータを検索対象データのうちから
検索する装置において、次の手段を設けたものである。
[Means for Solving the Problems] According to the present invention, in an apparatus that includes a database for storing search target data and searches data matching input search conditions from among the search target data, the following means are provided. It was established.

【0009】(1)検索対象データを検索して第1検索
データを選定する第1検索部。この第1検索部は、入力
される検索条件のうち、必須検索条件としてあらかじめ
選定された条件を用い、ファジィ推論により検索対象デ
ータについて適合度を求め、この適合度がしきい値以上
のデータを第1検索データに選定するものである。
(1) A first search unit that searches for search target data and selects first search data. This first search unit uses the conditions selected in advance as essential search conditions among the input search conditions, uses fuzzy inference to determine the degree of suitability for the search target data, and searches data for which the degree of suitability is greater than a threshold value. This is selected as the first search data.

【0010】(2)入力される検索条件のうち、前記し
た必須検索条件以外の条件を用い、第1検索データを対
象としてファジィ推論により所定の検索を行う第2検索
部。
(2) A second search unit that performs a predetermined search using fuzzy inference on the first search data using conditions other than the above-mentioned essential search conditions among input search conditions.

【0011】[0011]

【作用】この装置では、あらかじめ検索条件項目にその
重要度に応じて必須検索条件を設定しておく。そして検
索を行う際は、第1検索部において、必須検索条件を一
定水準以上満足するかどうかに基づいて検索対象データ
を絞り込み、この後、第2検索部において他の検索条件
を用いて検索を行うこととし、明らかに不適合なデータ
について費す処理を削減している。しかも第1および第
2検索部においてファジィ推論を導入して、その適合度
をもって適否の判断を行うこととし、ユーザの意図に含
まれる曖昧さに適切に対応できるようにしている。
[Operation] In this device, essential search conditions are set in advance in search condition items according to their importance. When performing a search, the first search section narrows down the search target data based on whether or not the essential search conditions are satisfied at a certain level, and then the second search section searches using other search conditions. This reduces the amount of processing required for clearly non-conforming data. Moreover, fuzzy inference is introduced in the first and second search sections, and suitability is determined based on the degree of suitability, so that ambiguity contained in the user's intention can be appropriately dealt with.

【0012】0012

【実施例】以下、図面を用いて、この発明の実施例を説
明する。この実施例は、エキスパートシステムを用いて
構成されるスキーツアープランニングシステムへの適用
例である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described below with reference to the drawings. This embodiment is an example of application to a ski tour planning system configured using an expert system.

【0013】エキスパートシステムは、データベースや
推論ルールベース,推論エンジン,マンマシンシステム
などから構成されるが、スキーツアープランニングシス
テムの主な機能は、図1に示す機能ブロックで表現する
ことができる。図において、入力機能や出力機能は省略
している。データベース1には、種々のスキー場に関す
る所定のデータが格納されている。
The expert system is composed of a database, an inference rule base, an inference engine, a man-machine system, etc., and the main functions of the ski tour planning system can be expressed by the functional blocks shown in FIG. In the figure, input functions and output functions are omitted. A database 1 stores predetermined data regarding various ski resorts.

【0014】このデータのフォーマットの一例を図2に
示す。この図2に示すように、このフォーマットは各ス
キー場について、期間(リフト可動期間)やコース種別
(初級・中級・上級向けの種別)、各種交通機関による
移動所要時間・料金などのデータを有する。これらのデ
ータは、図3〜6に示すように、原則としてファジィ数
で表現されている。図3は期間、図4はコース種別、図
5は移動所要時間、図6は移動所要料金を示す。これら
のメンバシップ関数は、関数パターンの種別やパターン
の中央値・分布値等で設定されており、コース種別のメ
ンバシップ関数は点列データで設定されている。
An example of the format of this data is shown in FIG. As shown in Figure 2, this format contains data for each ski resort, such as period (lift operating period), course type (beginner, intermediate, and advanced), travel time and fares by various means of transportation. . As shown in FIGS. 3 to 6, these data are basically expressed by fuzzy numbers. 3 shows the period, FIG. 4 shows the course type, FIG. 5 shows the travel time, and FIG. 6 shows the travel fee. These membership functions are set based on the type of function pattern, median value, distribution value, etc. of the pattern, and membership functions for course types are set using point sequence data.

【0015】図7,8はこのシステムの動作手順を示す
。ユーザはまず、入力部(図示せず)を操作して、重要
な項目である必須検索項目(総予算・宿代・出発予定日
・日数・腕前・交通手段)を入力する。これらの条件は
条件格納部2に格納される。この際、腕前の入力は、初
級・中級・上級の人数を入力する形式で行われ、もし入
力人数が0であれば検索上支障をきたすため、再入力を
要請する。また、交通手段の入力は、飛行機・電車・バ
ス・車の選択枝を選択する形式で行われ、車が選択され
た場合、その台数の入力を要請する。
FIGS. 7 and 8 show the operating procedure of this system. First, the user operates an input unit (not shown) to input essential search items (total budget, lodging costs, scheduled departure date, number of days, skill, transportation means). These conditions are stored in the condition storage section 2. At this time, input of skill is done in the form of inputting the number of beginners, intermediates, and advanced students. If the number of inputs is 0, it will cause a problem in the search, so re-input is requested. In addition, the mode of transportation is entered by selecting the option of airplane, train, bus, or car, and if car is selected, the user is requested to input the number of vehicles.

【0016】そして、これらの項目について適合度演算
部4が各スキー場の適合度を求める。総費用について適
合度を求めるにあたっては、この実施例では条件演算部
3により、宿代や日数、交通手段などのデータから総費
用を演算し、この総費用と入力された総予算との適合度
を求める方式としている。また、期間の適合度を求める
場合も同様に出発予定日と日数からツアーの期間を求め
、スキー場の期間との適合度を求める。また、腕前の適
合度を求めるにあたっては、図9に示すように、コース
種別のメンバシップ関数(図中(A)で示す)と入力値
のメンバシップ関数(図中(B)で示す)とを比較し、
たとえば両方のグラフの重なり部分(ハッチング部)の
面積から適合度を求める方式をとることができる。また
、交通手段の適合度を求めるにあたっては、たとえば飛
行機は北海道地区に適合し、バスは北海道地区以外の地
区に適合する等の基準による。
[0016] Then, the suitability calculation unit 4 calculates the suitability of each ski resort for these items. In order to find the degree of compatibility with respect to the total cost, in this embodiment, the condition calculation unit 3 calculates the total cost from data such as accommodation fees, number of days, means of transportation, etc., and calculates the degree of compatibility between this total cost and the input total budget. The method used is to find the following. Furthermore, when determining the suitability of the period, the tour period is similarly determined from the scheduled departure date and the number of days, and the suitability with the ski resort period is determined. In addition, when calculating the suitability of skill, as shown in Figure 9, the membership function of the course type (indicated by (A) in the figure) and the membership function of the input value (indicated by (B) in the figure) are used. Compare the
For example, a method can be used in which the degree of compatibility is determined from the area of the overlapping part (hatched part) of both graphs. Furthermore, when determining the degree of suitability of transportation means, criteria are used such as, for example, airplanes are suitable for Hokkaido areas, buses are suitable for areas other than Hokkaido areas, etc.

【0017】そして、このようにして得られた適合度に
基づいて評価部4が各スキー場を評価し、すべての適合
度がしきい値を満足するか否かを基準として第1検索結
果を求める。これにより、重要な項目を満足しないスキ
ー場が以後の処理の対象から外される。
[0017] Then, the evaluation unit 4 evaluates each ski resort based on the degree of suitability obtained in this way, and based on whether or not all the degrees of suitability satisfy the threshold value, the first search result is determined. demand. As a result, ski resorts that do not satisfy important items are excluded from subsequent processing.

【0018】この後、第2検索に移行する。まずユーザ
は評価方式を選択する。評価方式には最大値評価方式(
各項目の適合度の最大値が許容範囲ならば良い)・最小
値評価方式(各項目の適合度の最小値が許容範囲ならば
良い)・平均評価(各項目の適合度の平均値が許容範囲
ならば良い)がある。この入力指令に基づいて、評価方
式選択部6が評価方式を選択・設定する。
[0018] After this, the process moves to the second search. First, the user selects an evaluation method. The evaluation method is the maximum value evaluation method (
It is acceptable if the maximum value of the degree of conformity for each item is within the acceptable range), minimum value evaluation method (it is fine if the minimum value of the degree of conformity for each item is within the acceptable range), average evaluation (the average value of the degree of conformity for each item is acceptable) (It's fine if it's within the range). Based on this input command, the evaluation method selection section 6 selects and sets an evaluation method.

【0019】この後、ユーザは第2検索における検索条
件を入力する。このときの入力画面を図10に示す。選
択枝1〜7は評価項目(検索条件項目)であり、選択枝
8は推論結果(検索結果)の出力指令,選択枝9は推論
動作(検索動作)の終了指令である。検索条件項目が選
択されると、その重要度か希望値の入力を要請し、この
入力値に基づいて適合度演算部7および評価部8が第2
検索を行う。この第2検索では、第1検索における適合
度も考慮して評価を行うことができる。表示部はこの検
索結果を極めて簡易な形式で表示する。さらに、推論結
果の出力指令が選択されると、出力方式(簡易表示モー
ド・詳細表示モード)や出力デバイス、スキー場の出力
数を確認したうえで、所定の出力動作を行う。簡易表示
画面と詳細表示画面を図11,12に示す。この後、推
論動作の終了指令が入力されると、所定の終了動作を行
い、処理を終了する。
After this, the user inputs search conditions for the second search. The input screen at this time is shown in FIG. Choices 1 to 7 are evaluation items (search condition items), choice 8 is a command to output the inference result (search result), and choice 9 is a command to end the inference operation (search operation). When a search condition item is selected, a request is made to input its importance level or desired value, and based on this input value, the suitability calculation unit 7 and the evaluation unit 8 perform the second
Perform a search. In this second search, the degree of relevance in the first search can also be taken into account for evaluation. The display section displays the search results in an extremely simple format. Furthermore, when the inference result output command is selected, the output method (simple display mode/detailed display mode), output device, and number of outputs of the ski resort are confirmed, and then a predetermined output operation is performed. A simple display screen and a detailed display screen are shown in FIGS. 11 and 12. Thereafter, when a command to end the inference operation is input, a predetermined end operation is performed and the process is ended.

【0020】[0020]

【発明の効果】以上説明したように、この発明によれば
、次の効果を奏する。
[Effects of the Invention] As explained above, the present invention provides the following effects.

【0021】(1)第1検索により重要な検索条件に基
づいて検索対象を絞り込んだうえで、第2検索により最
終的に検索結果を求めることとしているので、明らかに
不適合なデータ、すなわち重要な検索手段項目に不適合
なデータに対する処理が大幅に削減され、処理速度が向
上する。特に、検索条件を変えて再検索を行う場合、検
索条件のうち重要な項目に変更がなければ、第1検索デ
ータを使用して速やかに検索を行うことができる利点が
ある。
(1) Since the first search narrows down the search target based on important search conditions, the second search finally obtains the search results, so clearly unsuitable data, that is, important Processing of data that does not match the search method items is significantly reduced, and processing speed is improved. In particular, when performing a re-search with different search conditions, there is an advantage that the first search data can be used to quickly perform the search, as long as important items among the search conditions remain unchanged.

【0022】(2)ファジィ推論を用いて適合度の大小
により適否を評価するので、ユーザの意図に含まれる曖
昧さを検索結果に反映させることができる。このため、
極めて厳密に検索条件を設定しなくとも、希望する検索
結果が得られるので、検索条件の設定・入力が容易にな
る。しかも何度も検索を繰り返さなくても良くなるので
、ユーザの負担が大幅に軽減される。
(2) Since suitability is evaluated based on the degree of suitability using fuzzy inference, ambiguity contained in the user's intention can be reflected in the search results. For this reason,
Desired search results can be obtained without setting extremely strict search conditions, making it easier to set and input search conditions. Moreover, since there is no need to repeat the search many times, the burden on the user is greatly reduced.

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

【図1】この発明の一実施例に係るスキーツアープラン
ニングシステムの要部を示す機能ブロック図。
FIG. 1 is a functional block diagram showing main parts of a ski tour planning system according to an embodiment of the present invention.

【図2】スキー場のデータフォーマットの一例を示す説
明図。
FIG. 2 is an explanatory diagram showing an example of a ski resort data format.

【図3】期間を表現するメンバシップ関数の一例を示す
グラフ。
FIG. 3 is a graph showing an example of a membership function expressing a period.

【図4】コース種別を表現するメンバシップ関数の一例
を示すグラフ。
FIG. 4 is a graph showing an example of a membership function expressing course types.

【図5】移動所要時間を表現するメンバシップ関数の一
例を示すグラフ。
FIG. 5 is a graph showing an example of a membership function expressing travel time.

【図6】移動所要料金を表現するメンバシップ関数の一
例を示すグラフ。
FIG. 6 is a graph showing an example of a membership function expressing the required travel fee.

【図7】第1検索における処理手順を示すフローチャー
ト。
FIG. 7 is a flowchart showing a processing procedure in a first search.

【図8】第2検索における処理手順を示すフローチャー
ト。
FIG. 8 is a flowchart showing a processing procedure in a second search.

【図9】コース種別の適合度の演算の一例を示すグラフ
FIG. 9 is a graph showing an example of computation of degree of suitability for course types.

【図10】第2検索における検索条件等の入力画面を示
す説明図。
FIG. 10 is an explanatory diagram showing an input screen for search conditions, etc. in a second search.

【図11】簡易表示画面を示す説明図。FIG. 11 is an explanatory diagram showing a simple display screen.

【図12】詳細表示画面を示す説明図。FIG. 12 is an explanatory diagram showing a detailed display screen.

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

1…データベース 4…第1検索における適合度演算部 5…第1検索における評価部 7…第2検索における適合度演算部 8…第2検索における評価部 1...Database 4... Relevance calculation unit in first search 5...Evaluation section in first search 7... Relevance calculation unit in second search 8...Evaluation section in second search

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  検索対象データを格納するデータベー
スを備え、入力される検索条件に適合するデータを検索
対象データのうちから検索する装置において、前記検索
条件のうち、必須検索条件としてあらかじめ選定された
条件を用い、ファジィ推論により前記検索対象データに
ついて適合度を求め、この適合度がしきい値以上のもの
を第1検索データに選定する第1検索部と、前記検索条
件のうち、前記必須検索条件以外の条件を用い、第1検
索データを対象としてファジィ推論により所定の検索を
行う第2検索部とを備えたことを特徴とするファジィ推
論による検索装置。
[Claim 1] An apparatus comprising a database for storing search target data, and searching the search target data for data matching input search conditions, wherein the search target data is selected in advance as an essential search condition from among the search conditions. a first search unit that determines the degree of suitability of the search target data by fuzzy inference using conditions, and selects data for which the degree of suitability is equal to or higher than a threshold value as first search data; A search device using fuzzy inference, comprising: a second search unit that performs a predetermined search using fuzzy inference on the first search data using conditions other than the conditions.
JP3044607A 1991-03-11 1991-03-11 Retrieving device by fuzzy inference Pending JPH04281562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3044607A JPH04281562A (en) 1991-03-11 1991-03-11 Retrieving device by fuzzy inference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3044607A JPH04281562A (en) 1991-03-11 1991-03-11 Retrieving device by fuzzy inference

Publications (1)

Publication Number Publication Date
JPH04281562A true JPH04281562A (en) 1992-10-07

Family

ID=12696134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3044607A Pending JPH04281562A (en) 1991-03-11 1991-03-11 Retrieving device by fuzzy inference

Country Status (1)

Country Link
JP (1) JPH04281562A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH086970A (en) * 1994-06-15 1996-01-12 Ado In Kenkyusho:Kk Information retrieval device
JP2001518667A (en) * 1997-09-29 2001-10-16 フジュン ビ Multi-element confidence matching system and method
JP2009058690A (en) * 2007-08-30 2009-03-19 Fujitsu Ltd Storage location extracting apparatus and storage location extracting method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02214977A (en) * 1989-02-16 1990-08-27 Mitsubishi Electric Corp Data retrieving method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02214977A (en) * 1989-02-16 1990-08-27 Mitsubishi Electric Corp Data retrieving method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH086970A (en) * 1994-06-15 1996-01-12 Ado In Kenkyusho:Kk Information retrieval device
JP2001518667A (en) * 1997-09-29 2001-10-16 フジュン ビ Multi-element confidence matching system and method
JP2009058690A (en) * 2007-08-30 2009-03-19 Fujitsu Ltd Storage location extracting apparatus and storage location extracting method

Similar Documents

Publication Publication Date Title
US7249124B2 (en) Adaptive information-retrieval system
CN107423837A (en) The Intelligent planning method and system of tourism route
TW201741993A (en) System and method for determining routes of transportation service
Bader et al. Context-aware POI recommendations in an automotive scenario using multi-criteria decision making methods
CN112766607A (en) Travel route recommendation method and device, electronic device and readable storage medium
EP0578788A4 (en)
CN111428137B (en) Recommendation method and recommendation device for electric vehicle charging facilities
JPH11272689A (en) Method and device for information retrieval processing and recording medium where information retrieval processing program is recorded
CN109299245A (en) The method and apparatus that knowledge point is recalled
CN112328646B (en) Multitask course recommendation method and device, computer equipment and storage medium
White et al. A multiple objective optimization-based approach to choicemaking
JP3315781B2 (en) User information management device, information filter, information classification device, information reproduction device, information search device, and kana-kanji conversion device
CN110400107B (en) Intelligent agile discovery system for idle transportation business
JP3085254B2 (en) Information property recommendation device
CN114580742A (en) Travel planning information processing method and system
JPH04281562A (en) Retrieving device by fuzzy inference
KR102370988B1 (en) System for providing travel information using big data of user
US20050210085A1 (en) Method for determining a value given to different parameters of a system
CN116150489A (en) Entertainment place recommendation method and system based on multi-attribute decision
CN112989194B (en) Recommendation method and system integrating user request and service preference of Internet of vehicles
JPH0394375A (en) Device for retrieving document
CN111831931B (en) Method and device for ordering boarding points and information
Chen et al. A Tourist Flow Prediction Model for Scenic Areas Based on Particle Swarm Optimization of Neural Network.
CN116168530B (en) Intelligent dispatching and distributing system for taxis
Baykasoglu et al. Route prioritisation in a multi-agent transportation environment via multi-attribute decision making