JP5299331B2 - Facility search apparatus and program - Google Patents
Facility search apparatus and program Download PDFInfo
- Publication number
- JP5299331B2 JP5299331B2 JP2010064503A JP2010064503A JP5299331B2 JP 5299331 B2 JP5299331 B2 JP 5299331B2 JP 2010064503 A JP2010064503 A JP 2010064503A JP 2010064503 A JP2010064503 A JP 2010064503A JP 5299331 B2 JP5299331 B2 JP 5299331B2
- Authority
- JP
- Japan
- Prior art keywords
- search
- facility name
- facility
- input
- word
- 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
Links
- 238000000034 method Methods 0.000 claims description 41
- 238000000605 extraction Methods 0.000 claims description 16
- 239000000284 extract Substances 0.000 claims description 6
- 239000004973 liquid crystal related substance Substances 0.000 description 12
- 230000004043 responsiveness Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 238000003825 pressing Methods 0.000 description 4
- 235000016496 Panda oleosa Nutrition 0.000 description 3
- 240000000220 Panda oleosa Species 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 208000003028 Stuttering Diseases 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Navigation (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、入力された検索語に基づいて施設情報を検索する施設検索装置及びプログラムに関するものである。 The present invention relates to a facility search apparatus and program for searching facility information based on an input search word.
従来より、入力された検索語に基づいて施設情報を検索する技術に関し種々提案されている。
例えば、目的地を表す施設名を単語分割し、分割した単語の順番を入れ替えた全名称を読み順にソートして当該施設名として登録した名称リストを作成しておき、入力された検索語と前方一致する名称を検索して、当該名称に該当する施設名を抽出して、表示手段に候補地点名として表示する車両用ナビゲーション装置がある(例えば、特許文献1参照。)。
Conventionally, various techniques for searching facility information based on an input search word have been proposed.
For example, the facility name representing the destination is divided into words, and all names obtained by changing the order of the divided words are sorted in reading order to create a name list registered as the facility name, and the input search word and the front There is a vehicle navigation device that searches for a matching name, extracts a facility name corresponding to the name, and displays it on a display unit as a candidate spot name (see, for example, Patent Document 1).
しかしながら、前記した特許文献1に記載された車両用ナビゲーション装置では、入力された検索語の先頭部と他の検索語の後端部、又は、入力された検索語の後端部と他の検索語の先頭部が互いに重複する継続関係がある場合には、各検索語毎に検索した施設名間において、再度、各検索語に対応する単語の位置関係から施設名の重複を排除する処理が必要となるため、検索時間が増大し、応答性能が低下するという問題がある。 However, in the vehicle navigation apparatus described in Patent Document 1 described above, the head of the input search word and the rear end of another search word, or the rear end of the input search word and another search When there is a continuation relationship in which the beginnings of the words overlap with each other, there is again a process of eliminating the duplication of the facility name from the positional relationship of the words corresponding to each search word between the facility names searched for each search word. Therefore, there is a problem that the search time is increased and the response performance is lowered.
そこで、本発明は、上述した問題点を解決するためになされたものであり、入力された検索語間に継続関係があっても、検索を高速で行い、応答性の低下を防止することが可能となる施設検索装置及びプログラムを提供することを目的とする。 Therefore, the present invention has been made to solve the above-described problems, and even if there is a continuation relationship between input search words, the search can be performed at high speed to prevent a decrease in responsiveness. An object of the present invention is to provide a facility search apparatus and a program that can be used.
前記目的を達成するため請求項1に係る施設検索装置は、検索対象となる複数の施設名をそれぞれ複数のキーワードに区切って記憶する施設名記憶手段と、検索語を入力する入力手段と、前記検索語が、前記施設名を構成する複数のキーワードを並び替えて作成された検索対象文字列と前方一致した場合に、施設名を候補施設名として抽出する候補施設名抽出手段と、前記候補施設名抽出手段によって抽出された候補施設名を出力する出力手段と、を備え、前記候補施設名抽出手段は、前記入力手段によって入力された検索語のうち、1つの検索語の後端部と他の検索語の先頭部が互いに重複する継続関係がある場合には、当該継続関係に従って検索語の検索順番を設定し、前記複数の施設名毎に、前記検索順番に従って1番目の検索語から順番に、該検索語と前方一致する検索対象文字列を検索し、該検索語と前方一致する検索対象文字列を構成する複数のキーワードのうち、該検索語と前方一致するときに使用された該検索語の文字を含むキーワードを順次除外して、最後の検索語と前方一致するキーワードを有する施設名を候補施設名として抽出することを特徴とする。 In order to achieve the object, the facility search apparatus according to claim 1 includes a facility name storage unit that stores a plurality of facility names to be searched by dividing each facility name into a plurality of keywords, an input unit that inputs a search word, A candidate facility name extracting unit that extracts a facility name as a candidate facility name when a search word matches a search target character string created by rearranging a plurality of keywords constituting the facility name; and the candidate facility Output means for outputting the candidate facility name extracted by the name extraction means, wherein the candidate facility name extraction means includes a search word input by the input means and a rear end portion of one search word and the other If there is a continuation relationship in which the beginnings of the search terms overlap with each other, the search term search order is set according to the continuation relationship, and the first search term is determined according to the search order for each of the plurality of facility names. First, a search target character string that matches the search word in front is searched, and among a plurality of keywords constituting the search target character string that matches the search word in front, the search word is used A keyword including the search word character is sequentially excluded, and a facility name having a keyword that coincides with the last search word is extracted as a candidate facility name.
また、請求項2に係る施設検索装置は、請求項1に記載の施設検索装置において、前記候補施設名抽出手段は、前記継続関係がある一対の検索語のうちの後端部が重複する検索語の検索順番を先頭部が重複する検索語の検索順番の1つ前の順番になるように設定することを特徴とする。 Moreover, the facility search device according to claim 2 is the facility search device according to claim 1, wherein the candidate facility name extraction unit searches for overlapping rear end portions of the pair of search words having the continuation relationship. The search order of words is set so as to be the order immediately before the search order of search words with overlapping heads.
また、請求項3に係る施設検索装置は、請求項2に記載の施設検索装置において、前記候補施設名抽出手段は、前記入力手段によって入力された検索語が前記継続関係を有しない場合には、前記継続関係のある検索語の検索順番に続いて、入力された順に検索順番を設定することを特徴とする。 The facility search apparatus according to claim 3 is the facility search apparatus according to claim 2, wherein the candidate facility name extraction unit is configured such that the search word input by the input unit does not have the continuation relationship. The search order is set in the input order following the search order of the search terms having the continuation relationship.
更に、請求項4に係るプログラムは、検索対象となる複数の施設名をそれぞれ複数のキーワードに区切って記憶する施設名記憶手段を備えたコンピュータに、検索語を入力する入力工程と、前記入力工程で入力された検索語が、前記施設名を構成する複数のキーワードを並び替えて作成された検索対象文字列と前方一致した場合に、施設名を候補施設名として抽出する候補施設名抽出工程と、前記候補施設名抽出工程で抽出された候補施設名を出力する出力工程と、を実行させ、前記候補施設名抽出工程において、前記入力手段によって入力された検索語のうち、1つの検索語の後端部と他の検索語の先頭部が互いに重複する継続関係がある場合には、当該継続関係に従って検索語の検索順番を設定し、前記複数の施設名毎に、前記検索順番に従って1番目の検索語から順番に、該検索語と前方一致する検索対象文字列を検索し、該検索語と前方一致する検索対象文字列を構成する複数のキーワードのうち、該検索語と前方一致するときに使用された該検索語の文字を含むキーワードを順次除外して、最後の検索語と前方一致するキーワードを有する施設名を候補施設名として抽出するように実行させるためのプログラムである。 Furthermore, the program according to claim 4 includes an input step of inputting a search word to a computer provided with a facility name storage unit that stores a plurality of facility names to be searched by dividing them into a plurality of keywords, and the input step. A candidate facility name extracting step of extracting the facility name as a candidate facility name when the search term input in the above matches a search target character string created by rearranging a plurality of keywords constituting the facility name. An output step of outputting the candidate facility name extracted in the candidate facility name extraction step, and in the candidate facility name extraction step, one of the search terms input by the input means When there is a continuation relationship in which the rear end portion and the head portion of another search word overlap each other, a search word search order is set according to the continuation relationship, and the search order is set for each of the plurality of facility names. Therefore, in order from the first search word, a search target character string that matches the search word in front is searched, and the search word and the front of the plurality of keywords constituting the search target character string that matches the search word in front This is a program for executing to extract a facility name having a keyword that matches forward with the last search word as a candidate facility name by sequentially excluding keywords including characters of the search word used when matching. .
前記構成を有する請求項1に係る施設検索装置では、入力された検索語の継続関係に従って検索語の検索順番を設定する。そして、複数の施設名毎に、検索順番に従って1番目の検索語から順番に、該検索語と前方一致する検索対象文字列を検索する。そして、該検索語と前方一致する検索対象文字列を構成する複数のキーワードのうち、該検索語と前方一致するときに使用された該検索語の文字を含むキーワードを順次除外して、最後の検索語と前方一致するキーワードを有する施設名を候補施設名として抽出し、出力する。 In the facility search apparatus according to claim 1 having the above configuration, the search word search order is set in accordance with the continuation relationship of the input search words. Then, for each of a plurality of facility names, a search target character string that matches the search word in front is searched in order from the first search word according to the search order. Then, from among a plurality of keywords constituting the search target character string that matches the search word in front, a keyword including the character of the search word used when the search word is matched forward is sequentially excluded, and the last A facility name having a keyword that matches the search word in front is extracted as a candidate facility name and output.
これにより、入力された検索語間に継続関係があっても、複数の施設名毎に、各検索語に設定された検索順番に従って一度の検索で候補施設名を抽出できるため、検索を高速で行い、応答性の低下を防止することが可能となる。 As a result, even if there is a continuation relationship between the input search terms, candidate facility names can be extracted for each facility name by a single search according to the search order set for each search term. This makes it possible to prevent a decrease in responsiveness.
また、請求項2に係る施設検索装置では、継続関係がある一対の検索語のうちの後端部が重複する検索語の検索順番を先頭部が重複する検索語の検索順番の1つ前の順番になるように設定するため、重複して該当するキーワードを確実に排除することができ、検索を更に高速で行い、応答性の更なる向上を図ることが可能となる。 Further, in the facility search device according to claim 2, the search order of the search words having the overlapping rear end portions of the pair of search words having the continuation relationship is one before the search order of the search words having the overlapping top portions. Since the setting is made in order, it is possible to surely eliminate the corresponding keyword in duplicate, perform the search at a higher speed, and further improve the responsiveness.
また、請求項3に係る施設検索装置では、入力手段によって入力された検索語が継続関係を有しない場合には、継続関係のある検索語の検索順番に続いて、入力された順に検索順番を設定するため、検索語の検索順番を迅速に設定し、検索を更に高速で行い、応答性の更なる向上を図ることが可能となる。 Further, in the facility search apparatus according to claim 3, when the search word input by the input means does not have a continuation relationship, the search order is changed in the input order following the search order of the search terms having the continuation relationship. Therefore, it is possible to quickly set the search order of the search terms, perform the search at a higher speed, and further improve the responsiveness.
更に、請求項4に係るプログラムでは、コンピュータは当該プログラムを読み込むことによって、入力された検索語の継続関係に従って検索語の検索順番を設定する。そして、複数の施設名毎に、検索順番に従って1番目の検索語から順番に、該検索語と前方一致する検索対象文字列を検索する。そして、該検索語と前方一致する検索対象文字列を構成する複数のキーワードのうち、該検索語と前方一致するときに使用された該検索語の文字を含むキーワードを順次除外して、最後の検索語と前方一致するキーワードを有する施設名を候補施設名として抽出し、出力する。 Furthermore, in the program according to claim 4, the computer sets the search term search order according to the continuation relation of the input search terms by reading the program. Then, for each of a plurality of facility names, a search target character string that matches the search word in front is searched in order from the first search word according to the search order. Then, from among a plurality of keywords constituting the search target character string that matches the search word in front, a keyword including the character of the search word used when the search word is matched forward is sequentially excluded, and the last A facility name having a keyword that matches the search word in front is extracted as a candidate facility name and output.
これにより、コンピュータは、入力された検索語間に継続関係があっても、複数の施設名の読み毎に、各検索語に設定された検索順番に従って一度の検索で候補施設名を抽出できるため、検索を高速で行い、応答性の低下を防止することが可能となる。 As a result, even if there is a continuation relationship between the input search terms, the computer can extract candidate facility names in a single search according to the search order set for each search term for each reading of a plurality of facility names. Thus, it is possible to perform a search at a high speed and prevent a decrease in responsiveness.
以下、本発明に係る施設検索装置及びプログラムをナビゲーション装置について具体化した一実施例に基づき図面を参照しつつ詳細に説明する。 Hereinafter, a facility search device and a program according to the present invention will be described in detail with reference to the drawings based on an embodiment in which a navigation device is embodied.
[ナビゲーション装置の概略構成]
先ず、本実施例に係るナビゲーション装置の概略構成について図1に基づいて説明する。図1は本実施例に係るナビゲーション装置1を示したブロック図である。
図1に示すように、本実施例に係るナビゲーション装置1は、自車の現在位置(以下、「自車位置」という。)等を検出する現在地検出処理部11と、各種のデータが記録されたデータ記録部12と、入力された情報に基づいて、各種の演算処理を行うナビゲーション制御部13と、操作者からの操作を受け付ける操作部14と、操作者に対して地図等の情報を表示する液晶ディスプレイ15と、経路案内等に関する音声ガイダンスを出力するスピーカ16と、不図示の道路交通情報センタや地図情報配信センタ等との間で携帯電話網等を介して通信を行う通信装置17と、液晶ディスプレイ15の表面に装着されたタッチパネル18とから構成されている。また、ナビゲーション制御部13には自車の走行速度を検出する車速センサ21が接続されている。
[Schematic configuration of navigation device]
First, a schematic configuration of the navigation device according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing a navigation device 1 according to the present embodiment.
As shown in FIG. 1, the navigation apparatus 1 according to the present embodiment records a current position
以下に、ナビゲーション装置1を構成する各構成要素について説明すると、現在地検出処理部11は、GPS31、方位センサ32、距離センサ33等からなり、自車位置、自車の向きを表す自車方位、走行距離等を検出することが可能となっている。
Hereinafter, each component constituting the navigation device 1 will be described. The current position
また、データ記録部12は、外部記憶装置及び記録媒体としてのハードディスク(図示せず)と、ハードディスクに記憶された地図情報データベース(地図情報DB)25、施設名データベース(施設名DB)27及び所定のプログラム等を読み出すとともにハードディスクに所定のデータを書き込む為のドライバである記録ヘッド(図示せず)とを備えている。
The
また、地図情報DB25には、ナビゲーション装置1の走行案内や経路探索に使用されるナビ地図情報26が格納されている。ここで、ナビ地図情報26には、経路案内及び地図表示に必要な各種情報から構成されており、例えば、各新設道路を特定するための新設道路情報、地図を表示するための地図表示データ、各交差点に関する交差点データ、ノード点に関するノードデータ、施設の一種である道路(リンク)に関するリンクデータ、経路を探索するための探索データ、施設の一種である店舗等のPOI(Point of Interest)に関する店舗データ、地点を検索するための検索データ等から構成されている。
The
尚、店舗データには、各地域のホテル、病院、ガソリンスタンド、駐車場、駅、空港、フェリー乗り場等のPOIに関する名称や住所、電話番号等に加えて、後述の検索結果表示画面71(図7参照)にリスト表示する表示優先度のデータをPOIを特定するIDとともに記憶するようにしてもよい。例えば、表示優先度は、「88」や「256」等の数値で表され、数値の大きいものほど優先度が高くなる。また、地図情報DB25の内容は、不図示の地図情報配信センタから通信装置17を介して配信された更新情報をダウンロードすることによって更新される。
The store data includes a search result display screen 71 (FIG. 5) described later in addition to the name, address, telephone number, etc. regarding POIs such as hotels, hospitals, gas stations, parking lots, stations, airports, and ferry platforms in each region. 7) may be stored together with the ID for specifying the POI. For example, the display priority is represented by a numerical value such as “88” or “256”, and the higher the numerical value, the higher the priority. The contents of the
また、施設名DB27には、後述の施設名及び該施設名の読みを所定文字数(本実施例では、1文字である。)の分割文字列に関連付けて分割単位毎に記憶する施設名データテーブル51(図2参照)が格納されている。 In addition, the facility name DB 27 stores a facility name and a reading of the facility name, which will be described later, in association with a divided character string of a predetermined number of characters (one character in this embodiment) and stored for each division unit. 51 (see FIG. 2) is stored.
また、図1に示すように、ナビゲーション装置1を構成するナビゲーション制御部13は、ナビゲーション装置1の全体の制御を行う演算装置及び制御装置としてのCPU41、並びにCPU41が各種の演算処理を行うに当たってワーキングメモリとして使用されるとともに、経路が探索されたときの経路データ等が記憶されるRAM42、制御用のプログラム等が記憶されたROM43、ROM43から読み出したプログラムを記憶するフラッシュメモリ44等の内部記憶装置や、時間を計測するタイマ45等を備えている。
As shown in FIG. 1, the
また、ROM43には、後述の50音キー62から入力された検索語に基づいて地点情報を検索してリスト表示する地点情報表示処理のプログラム(図3参照)等が記憶されている。
更に、前記ナビゲーション制御部13には、操作部14、液晶ディスプレイ15、スピーカ16、通信装置17、タッチパネル18の各周辺装置(アクチュエータ)が電気的に接続されている。
The
Furthermore, the
この操作部14は、走行開始時の現在地を修正し、案内開始地点としての出発地及び案内終了地点としての目的地を入力する際や施設に関する情報の検索を行う場合等に操作され、各種のキーや複数の操作スイッチから構成される。そして、ナビゲーション制御部13は、各スイッチの押下等により出力されるスイッチ信号に基づき、対応する各種の動作を実行すべく制御を行う。
The
また、液晶ディスプレイ15には、現在走行中の地図情報、後述の検索語入力画面61(図6参照)、検索した施設の名称をリスト表示する検索結果表示画面71(図7参照)、操作案内、操作メニュー、キーの案内、現在地から目的地までの推奨経路、推奨経路に沿った案内情報、交通情報、ニュース、天気予報、時刻、メール、テレビ番組等が表示される。
Further, the
また、スピーカ16は、ナビゲーション制御部13からの指示に基づいて、推奨経路に沿った走行を案内する音声ガイダンス等を出力する。ここで、案内される音声ガイダンスとしては、例えば、「200m先、○○交差点を右方向です。」等がある。
In addition, the
また、通信装置17は、地図情報配信センタと通信を行う携帯電話網等による通信手段であり、地図情報配信センタとの間で最もバージョンの新しい更新地図情報等の送受信を行う。また、通信装置17は地図情報配信センタに加えて、道路交通情報センタ等から送信された渋滞情報やサービスエリアの混雑状況等の各情報から成る交通情報を受信する。
The
また、タッチパネル18は、液晶ディスプレイ15の表面部に装着された透明なパネル状のタッチスイッチであり、液晶ディスプレイ15の画面に表示されたボタンや地図上を押下することによって各種指示コマンドを入力することが可能に構成されている。尚、タッチパネル18は、液晶ディスプレイ15の画面を直接押下する光センサ液晶方式等で構成してもよい。
The
ここで、施設名DB27に格納される施設名データテーブル51について図2に基づいて説明する。
図2に示すように、施設名データテーブル51は、「分割単位」と、施設名の読みを記憶する「読み」と、「施設名」とから構成されている。この「分割単位」には、施設名の読みを構成するキーワードと前方一致する平仮名が、50音順に1文字ずつ記憶されている。ここで、キーワードは、意味を成す単位で構成された読みの文字列である。
Here, the facility name data table 51 stored in the
As illustrated in FIG. 2, the facility name data table 51 includes “division units”, “reading” that stores the reading of the facility name, and “facility name”. In this “division unit”, hiragana characters that match the keywords that make up the reading of the facility name are stored one character at a time in the order of 50 tones. Here, the keyword is a character string of reading composed of units that make sense.
尚、「分割単位」には、例えば「ああ」、「あい」、「あう」、・・・や、「あああ」、「ああい」、「ああう」・・・等、50音順に2文字以上ずつ記憶するようにしてもよい。また、「分割単位」の一部区間だけ、例えば、・・・「お」、「かあ」、「かい」、・・・「かん」、「き」、「く」・・等、50音順に2文字以上ずつ記憶するようにしてもよい。 “Division unit” includes, for example, “Ah”, “Ai”, “Ah”,..., “Ah,” “Ah,” “Ah”, etc. You may make it memorize | store it one by one. In addition, only a part of the “division unit”, for example, “O”, “ka”, “ka”, “kan”, “ki”, “ku”, etc., 50 sounds Two or more characters may be stored in order.
また、「読み」には、各「分割単位」に記憶される平仮名と前方一致するキーワードを含む施設名の読みが記憶されている。また、施設名の読みは、キーワード毎に区切り文字(例えば「/」である。)で区切られて記憶されている。また、施設名の読みは、分割単位に記憶されている平仮名と前方一致するキーワードが先頭になるように、各キーワードの順序が当該施設名の読みの順番に従って循環するように並べ替えられて記憶されている。 Further, “reading” stores a reading of a facility name including a keyword that matches the hiragana stored in each “division unit”. In addition, the reading of the facility name is stored by being separated by a delimiter (for example, “/”) for each keyword. The facility name readings are rearranged so that the keyword order circulates in accordance with the reading order of the facility name so that the first keyword matching the hiragana stored in the division unit is first. Has been.
例えば、施設名の読みが「とうきょう/ねずみー/らんど」では、「とうきょう」、「ねずみー」、「らんど」が、施設名の読みのキーワードとして「読み」に記憶されている。また、施設名の読みの「とうきょう/ねずみー/らんど」は、施設名データテーブル51の「分割単位」の各平仮名「と」、「ね」、「ら」に対応する「読み」にそれぞれ記憶される。 For example, if the facility name is “Tokyo / Nezumi / Rand”, “Tokyo”, “Nezumi” and “Land” are stored in “Read” as keywords of the facility name. The facility name reading “Tokyo / Nezumi / Rand” is stored in the “reading” corresponding to each of the hiragana “to”, “ne”, “ra” in the “division unit” of the facility name data table 51, respectively. Is done.
尚、施設名の読みに含まれる「が」、「ぱ」等の濁音・半濁音は「か」、「は」等の清音に、「ゃ」、「っ」等の小文字仮名(拗音・促音)は「や」、「つ」等の大文字仮名に、長音は対応する母音等のように、仮名の基本文字に変換して記憶される。例えば、「とうきょう/ねずみー/らんど」は、実際には「とうきよう/ねすみい/らんと」と記憶されるが、本実施形態においては説明を簡単にするために施設名と読みとを一致させ「とうきょう/ねずみー/らんど」として説明する。 In addition, “g”, “pa”, and other muffled / semi-acoustic sounds included in the facility name readings are “ka”, “ha”, etc., as well as lower-case kana characters such as “nya”, “tsu”, etc. ) Is converted into kana basic characters such as “ya” and “tsu”, and long tones are converted into kana basic characters and stored, such as corresponding vowels. For example, “Tokyo / Nesumi / Rando” is actually stored as “Toukiyo / Nesumi / Rando”, but in this embodiment, in order to simplify the explanation, the facility name and the reading are used. Match and explain as “Tokyo / Nezumi / Land”.
そして、平仮名「と」が記憶されている「分割単位」に対応する施設名の「読み」には、キーワード「とうきょう」が先頭になるように「とうきょう/ねずみー/らんど」が記憶されている。また、平仮名「ね」が記憶されている「分割単位」に対応する施設名の「読み」には、キーワード「ねずみー」が先頭になるように「ねずみー/らんど/とうきょう」が記憶されている。また、平仮名「ら」が記憶されている「分割単位」に対応する施設名の「読み」には、キーワード「らんど」が先頭になるように「らんど/とうきょう/ねずみー」が記憶されている。 In the “reading” of the facility name corresponding to the “division unit” in which the hiragana “to” is stored, “Tokyo / nezumi / rando” is stored so that the keyword “Tokyo” is first. . In addition, in the “reading” of the facility name corresponding to the “division unit” in which the hiragana “ne” is stored, “nezumi / rando / tokyo” is stored so that the keyword “nezumi” is first. Yes. In addition, in the “reading” of the facility name corresponding to the “division unit” in which the hiragana “ra” is stored, “rando / tokyo / nezumi” is stored so that the keyword “rando” comes first. .
また、「施設名」には、検索対象となる目的地を表す施設名が、「読み」に記憶された施設名の読みに対応して記憶されている。例えば、施設名「東京ネズミーランド」が、施設名の読みの「とうきょう/ねずみー/らんど」に対応して記憶されている。従って、施設名「東京ネズミーランド」は、施設名データテーブル51の「分割単位」の各平仮名「と」、「ね」、「ら」内の「読み」の「とうきょう/ねずみー/らんど」、「ねずみー/らんど/とうきょう」、「らんど/とうきょう/ねずみー」のそれぞれに対応する「施設名」に記憶されている。 Further, in “facility name”, a facility name representing a destination to be searched is stored corresponding to the reading of the facility name stored in “reading”. For example, the facility name “Tokyo Nesme Land” is stored corresponding to the reading of the facility name “Tokyo / Nezumi / Land”. Accordingly, the facility name “Tokyo Nesme Land” is “Hi”, “Ne” and “Read” in “Tokyo” / “Nezumi / Land”, “ It is stored in the “facility name” corresponding to each of “Nezumi / Land / Tokyo” and “Rand / Tokyo / Nezumi”.
これにより、施設名データテーブル51の「分割単位」間では「施設名」に記憶された施設名の重複はあるが、各「分割単位」内においては、「施設名」に記憶された施設名の重複は無く、1つの施設名だけが記憶されている。従って、施設名データテーブル51の「分割単位」間では「読み」に記憶された施設名の読みの重複はあるが、各「分割単位」内においては、「読み」に記憶された施設名の読みの重複は無く、1つの施設名の読みだけが記憶されている。 As a result, there is an overlap of the facility name stored in the “facility name” among the “division units” in the facility name data table 51, but the facility name stored in the “facility name” within each “division unit”. There is no duplication, and only one facility name is stored. Accordingly, there is an overlap in the reading of the facility name stored in the “reading” among the “division units” in the facility name data table 51, but in each “division unit”, the facility name stored in the “reading” is stored. There is no duplication of readings, and only readings of one facility name are stored.
また、例えば、施設名の読みが「のうきょう/のーむ」のように、各キーワード「のうきょう」、「のーむ」の前方1文字の読みが一致する場合には、施設名データテーブル51の「分割単位」の「の」に対応する「読み」だけに、「のうきょう/のーむ」が記憶されると共に、「分割単位」の「の」に対応する「施設名」だけに「農協ノーム」が記憶される。 In addition, for example, if the reading of the name of the facility matches the reading of the first character of each keyword “NOUKYO” and “NOOM”, such as “NOOKYO / NOMU”, the name of the facility Only “Reading” corresponding to “No” in “Division unit” of the data table 51 stores “Now / Noum” and “Facility name” corresponding to “No” in “Division unit” "Agricultural cooperative gnome" is stored only.
これにより、施設名の読みを構成する複数のキーワードの前方1文字目が一致する場合には、施設名データテーブル51の「分割単位」間における「読み」及び「施設名」の重複記憶を削減することが可能となり、施設データテーブル51のデータ容量の削減化を図ることができる。また、各「分割単位」毎の「読み」と「施設名」との合計データ容量を所定データ容量以下(例えば、1メガバイト〜10メガバイト以下である。)に設定することが可能となる。 As a result, when the first character in front of a plurality of keywords constituting the facility name reading matches, the redundant storage of “reading” and “facility name” between “division units” in the facility name data table 51 is reduced. Therefore, the data capacity of the facility data table 51 can be reduced. In addition, the total data capacity of “reading” and “facility name” for each “division unit” can be set to a predetermined data capacity or less (for example, 1 megabyte to 10 megabyte or less).
[地点情報表示処理]
次に、上記のように構成されたナビゲーション装置1のCPU41が実行する処理であって、50音キー62から入力された検索語に基づいて地点情報を検索してリスト表示する「地点情報表示処理」について図3乃至図7に基づいて説明する。
[Point information display processing]
Next, a process executed by the
図3はCPU41が実行する処理であって、入力された検索語に基づいて地点情報を検索してリスト表示する「地点情報表示処理」を示すフローチャートである。尚、図3にフローチャートで示されるプログラムは、操作部14の不図示の目的地設定ボタンが押下された場合に、CPU41により実行される。
FIG. 3 is a flowchart showing a “spot information display process” which is a process executed by the
図3に示すように、先ず、ステップ(以下、Sと略記する)11において、CPU41は、液晶ディスプレイ15の画面に、地点情報として目的地の住所や施設に関する名称等を検索するための検索語を入力する検索語入力画面61を表示する。
ここで、検索語入力画面61の一例について図6に基づいて説明する。図6に示すように、検索語入力画面61には、50音キー62、入力文字表示部63、検索語表示部64、修正ボタン65、戻るボタン66、次ワードボタン67、完了ボタン68が表示される。
As shown in FIG. 3, first, in step (hereinafter abbreviated as S) 11, the
Here, an example of the search
この入力文字表示部63には、50音キー62によって入力された入力文字が表示される。そして、次ワードボタン67が押下された場合には、入力文字表示部63に表示されている文字列が検索語として検索語表示部64に確定表示されるとともに、次の文字列を入力することが可能となる。また、修正ボタン65を押下する毎に、入力文字表示部63に表示されている文字列の最終入力文字を1文字ずつ削除することができる。
In the input
また、戻るボタン66を押下することによって、検索語入力画面61の前の画面に戻すことができる。更に、完了ボタン68を押下することによって、検索語表示部64に表示されている各文字列と入力文字表示部63に表示されている文字列を検索語として、地点情報としての施設に関する名称等を検索してリスト表示するように指示することができる。
In addition, by pressing the
続いて、図3に示すように、S12において、CPU41は、50音キー62が押下されたか否か、つまり、50音キー62から検索語が入力されたか否かを判定する判定処理を実行する。そして、50音キー62が押下されたと判定した場合には(S12:YES)、CPU41は、50音キー62から入力された入力文字を入力文字表示部63に表示すると共に、入力文字表示部63に表示している文字列を検索語としてRAM42に記憶後、S13の処理に移行する。
Subsequently, as shown in FIG. 3, in S <b> 12, the
S13において、CPU41は、検索語表示部64に表示されている各文字列と入力文字表示部63に表示されている文字列を検索語として、施設名データテーブル51に記憶された施設名から目的地候補である候補施設名を抽出する後述の「候補施設名抽出処理」のサブ処理(図4参照)を実行後、再度、S12以降の処理を実行する。
In S13, the
一方、50音キー62が押下されていないと判定した場合には(S12:NO)、CPU41は、S14の処理に移行する。S14において、CPU41は、次ワードボタン67が押下されたか否かを判定する判定処理を実行する。そして、次ワードボタン67が押下されたと判定した場合には(S14:YES)、CPU41は、S15の処理に移行する。
On the other hand, if it is determined that the 50
S15において、CPU41は、入力文字表示部63に表示されている文字列を検索語として検索語表示部64に確定表示すると共に、この文字列を確定検索語としてRAM42に時系列的に記憶する。また、CPU41は、入力文字表示部63に表示されている文字列をクリアして、50音キー62から新たな文字列を入力できるように設定した後、再度、S12以降の処理を実行する。
In S15, the
一方、次ワードボタン67が押下されていないと判定した場合には(S14:NO)、CPU41は、S16の処理に移行する。S16において、CPU41は、完了ボタン68が押下されたか否かを判定する判定処理を実行する。そして、完了ボタン68が押下されていないと判定した場合には(S16:NO)、CPU41は、S17の処理に移行する。
On the other hand, if it is determined that the
S17において、CPU41は、修正ボタン65又は戻るボタン66が押下されたか否かを判定する判定処理を実行する。そして、修正ボタン65が押下されたと判定した場合には、CPU41は、入力文字表示部63に表示されている文字列の最終入力文字を1文字削除した後、再度、S12以降の処理を実行する。
In S17, the
また、戻るボタン66が押下されたと判定した場合には、CPU41は、図3に示す当該処理を終了し、検索語入力画面61の前の画面に戻る。更に、修正ボタン65及び戻るボタン66が押下されなかった場合には、CPU41は、再度、S12以降の処理を実行する。
If it is determined that the
一方、完了ボタン68が押下されたと判定した場合には(S16:YES)、CPU41は、S18の処理に移行する。S18において、CPU41は、上記S13で抽出された候補施設名をリスト表示する後述の「リスト表示処理」のサブ処理(図5参照)を実行後、当該処理を終了する。
On the other hand, if it is determined that the
[候補施設名抽出処理]
次に、上記S13で実行する「候補施設名抽出処理」のサブ処理について図4に基づいて説明する。
図4に示すように、S111において、CPU41は、入力文字表示部63に表示されている検索語と各検索語表示部64に表示されている確定検索語とをRAM42から読み出す。
[Candidate facility name extraction process]
Next, the sub-process of the “candidate facility name extraction process” executed in S13 will be described with reference to FIG.
As shown in FIG. 4, in S <b> 111, the
そして、S112において、CPU41は、このRAM42から読み出した各検索語の継続関係に従って検索語の検索順を設定し、この検索順に検索語をRAM42に記憶する。
In S112, the
具体的には、CPU41は、先ず、RAM42から読み出した1つの検索語の後端部と他の検索語との先頭部が互いに重複する継続関係がある場合には、この継続関係がある一対の検索語のうちの後端部が重複する検索語の検索順番を、先頭部が重複する検索語の検索順番の1つ前の順番になるように設定する。また、CPU41は、RAM42から読み出した検索語が継続関係を有しない場合には、継続関係のある検索語の検索順番に続いて、入力された順に、つまり、時系列的に早くRAM42に記憶した順に検索順番を設定する。
Specifically, first, when there is a continuation relationship in which the rear end portion of one search word read from the
例えば、入力文字表示部63に表示されていた検索語が「らんと」で、確定検索語が「とうきょう」、「ねずみー」の場合には、CPU41は、先ず、検索語「らんと」の後端部「と」と、検索語「とうきょう」の先頭部「と」が重複するため、検索語「らんと」の検索順番を「1番目」とし、検索語「とうきょう」の検索順番を「2番目」として設定する。そして、CPU41は、検索語「ねずみー」は、他の検索語と継続関係を有しないため、検索順番を「3番目」として設定し、この検索順に各検索語「らんと」、「とうきょう」、「ねずみー」をRAM42に記憶する。
For example, when the search word displayed on the input
尚、検索語に含まれる濁音、半濁音、拗音、促音、長音等の特殊文字はそれぞれ基本文字に変換して処理される。例えば、「とうきょう」は「とうきよう」、「ねずみー」は「ねすみい」、「らんと」は変わらず「らんと」として検索される。前述したように、施設名データテーブル51に記憶されている施設名の読みに含まれる特殊文字も基本文字に変換して記憶されているため、結果的には特殊文字を無視した検索を行うことになる。 Note that special characters such as muddy sound, semi-voiced sound, stuttering sound, prompt sound, and long sound included in the search word are converted into basic characters and processed. For example, “Tokyo” is searched as “Toukiyo”, “Nezumi” is searched as “Nesumi”, and “Ranto” is unchanged as “Ranto”. As described above, since the special characters included in the facility name reading stored in the facility name data table 51 are also converted into basic characters and stored, as a result, a search that ignores the special characters is performed. become.
続いて、S113において、CPU41は、検索順の1番目に設定された検索語をRAM42から読み出し、当該検索語と前方一致する平仮名が記憶された施設名データテーブル51の「分割単位」を、候補施設名を抽出する「分割単位」として特定する。例えば、CPU41は、検索順の1番目の検索語が「らんと」の場合には、この検索語「らんと」と前方一致する平仮名「ら」が記憶された施設名データテーブル51の「分割単位」を、候補施設名を抽出する「分割単位」として特定する。
Subsequently, in S113, the
そして、S114において、CPU41は、この特定した候補施設名を抽出する「分割単位」内の全施設名の「読み」及び「施設名」を施設名データテーブル51から順番に読み出して、RAM42に記憶する。また、CPU41は、各「施設名」に目的地候補である候補施設名か否かを表す表示対象フラグを対応させて記憶する。そして、CPU41は、全ての表示対象フラグを「OFF」に設定して、初期化する。
In S <b> 114, the
続いて、S115において、CPU41は、上記S114でRAM42に記憶した全施設名の「読み」及び「施設名」から1番目に記憶した施設名の「読み」を読み出す。
そして、S116において、CPU41は、検索順が1番目の検索語をRAM42から読み出す。
Subsequently, in S115, the
In S116, the
その後、S117において、CPU41は、この読み出した施設名の「読み」を構成するキーワードの中から既に他の検索語と前方一致した使用済みのキーワードを除いた、残りの未使用のキーワードの中に当該検索語と前方一致するキーワードがあるか否かを判定する判定処理を実行する。
Thereafter, in S117, the
そして、読み出した施設名の「読み」を構成するキーワードの中から既に他の検索語と前方一致した使用済みのキーワードを除いた、残りの未使用のキーワードの中に当該検索語と前方一致するキーワードが無いと判定した場合には(S117:NO)、CPU41は、上記S114でRAM42に記憶した次の施設名の「読み」があるか否かを判定する判定処理を実行する。
Then, from the keywords constituting the “reading” of the facility name that has been read out, used keywords that have already been forward-matched with other search words are excluded, and the remaining search keywords are forward-matched with the remaining search keywords. When it is determined that there is no keyword (S117: NO), the
そして、上記S114でRAM42に記憶した次の施設名の「読み」があると判定した場合には、CPU41は、次の施設名の「読み」について、再度S115以降のループを実行する。一方、上記S114でRAM42に記憶した次の施設名の「読み」が無いと判定した場合には、CPU41は、ループを終了して当該サブ処理を終了し、メインフローチャートに戻る。
If it is determined that there is a “reading” of the next facility name stored in the
他方、読み出した施設名の「読み」を構成するキーワードの中から既に他の検索語と前方一致した使用済みのキーワードを除いた、残りの未使用のキーワードの中に当該検索語と前方一致するキーワードがあると判定した場合には(S117:YES)、CPU41は、S118の処理に移行する。
On the other hand, used keywords that have already matched forward with other search terms are removed from the keywords that constitute the “reading” of the facility name that has been read out, and the search terms that match the search terms remain in the remaining unused keywords. If it is determined that there is a keyword (S117: YES), the
S118において、CPU41は、読み出した施設名の「読み」を構成する当該検索語と前方一致する未使用のキーワードを使用済みに設定してRAM42に記憶する。尚、CPU41は、使用済みに設定したキーワードの文字列よりも、検索語の文字列の方が長い場合には、この検索語の先頭から前方一致したキーワードを除いた文字列を、再度、検索語とする。そして、CPU41は、当該検索語と前方一致するキーワードを更に、使用済みに設定してRAM42に記憶する。
In S <b> 118, the
例えば、1番目の検索語が「らんと」の場合に、平仮名「ら」が記憶された「分割単位」の施設名の「読み」が「らん/とうきょう/こくさい」で、各キーワード「らん」、「とうきょう」、「こくさい」が未使用の場合には、CPU41は、先ず、検索語「らんと」と前方一致する1番目のキーワード「らん」を使用済みに設定してRAM42に記憶する。そして、CPU41は、使用済みに設定したキーワード「らん」の文字列よりも、検索語「らんと」の文字列の方が長いため、この検索語「らんと」からキーワード「らん」を除いた「と」を再度、検索語とする。そして、CPU41は、当該検索語「と」と前方一致する2番目のキーワード「とうきょう」を更に、使用済みに設定してRAM42に記憶する。
For example, if the first search term is “Ranto”, the “reading” of the facility name of the “division unit” in which the hiragana “ra” is stored is “Ran / Tokyo / Kokusai” and each keyword “Ran” ”,“ Tokyo ”, and“ Kokusai ”are not used, the
また例えば、1番目の検索語が「らんと」の場合に、平仮名「ら」が記憶された「分割単位」の施設名の「読み」が「らんど/とうきょう/ねずみー」で、各キーワード「らんど」、「とうきょう」、「ねずみー」が未使用の場合には、CPU41は、先ず、検索語「らんと」と前方一致する1番目のキーワード「らんど」を使用済みに設定してRAM42に記憶する。また、使用済みに設定されたキーワード「らんど」の文字列の長さは、1番目の検索語「らんど」の文字列の長さ以上であるため、2番目のキーワード「とうきょう」は、未使用に設定されたままである。
Also, for example, when the first search term is “Ranto”, the “reading” of the facility name of the “division unit” in which the hiragana “ra” is stored is “Rand / Tokyo / Nezumi” and each keyword “ When “Rando”, “Tokyo”, and “Nezumi” are not used, the
続いて、S119において、CPU41は、全検索語を選択したか否か、つまり、次の検索順の検索語が残っているか否かを判定する判定処理を実行する。そして、全検索語を選択していない場合、つまり、次の検索順の検索語が残っている場合には(S119:NO)、CPU41は、次の検索順の検索語について、再度、S116以降の処理を実行する。
Subsequently, in S119, the
一方、全検索語を選択した場合、つまり、次の検索順の検索語が残っていない場合には(S119:YES)、CPU41は、S120の処理に移行する。S120において、CPU14は、読み出した「読み」に対応する施設名は、全ての検索語をキーワードに有しているとして、この施設名に対応する表示対象フラグをRAM42から読み出し、「ON」に設定後、再度RAM42に記憶する。
On the other hand, when all the search words are selected, that is, when there are no search words in the next search order (S119: YES), the
続いて、CPU41は、上記S114でRAM42に記憶した次の施設名の「読み」があるか否かを判定する判定処理を実行する。そして、上記S114でRAM42に記憶した次の施設名の「読み」があると判定した場合には、CPU41は、次の施設名の「読み」について、再度S115以降のループを実行する。一方、上記S114でRAM42に記憶した次の施設名の「読み」が無いと判定した場合には、CPU41は、ループを終了して当該サブ処理を終了し、メインフローチャートに戻る。
Subsequently, the
[リスト表示処理]
次に、上記S18で実行する「リスト表示処理」のサブ処理について図5に基づいて説明する。
図5に示すように、S211において、CPU41は、上記S113の処理を実行し、候補施設名を特定する「分割単位」を特定する。
そして、S222において、この特定した候補施設名を抽出する「分割単位」内の全施設名のうち、表示対象フラグが「ON」に設定されている施設名を読み出し、目的地候補である候補施設名としてRAM42に順番に記憶する。
[List display processing]
Next, the sub-process of “list display process” executed in S18 will be described with reference to FIG.
As shown in FIG. 5, in S <b> 211, the
In S222, out of all the facility names in the “division unit” from which the identified candidate facility name is extracted, the facility name whose display target flag is set to “ON” is read out, and the candidate facility that is the destination candidate The names are stored in the
続いて、S213において、CPU41は、RAM42から候補施設名を読み出して一覧表示すると共に、候補施設名の件数を表示後、当該サブ処理を終了して、メインフローチャートに戻る。
尚、液晶ディスプレイ15には、一度に5件等、リスト順に所定個数表示される(図7参照)。尚、各施設名に表示優先度が付されている場合には、CPU41は、候補施設名を表示優先度の大きい順にソートしたリストとして一覧表示する。
Subsequently, in S213, the
The
ここで、図6に示すように、入力文字表示部63に表示されていた検索語が「らんと」で、確定検索語が「とうきょう」の場合に、完了ボタン68が押下された際の候補施設名のリスト表示の一例について図7に基づいて説明する。
図6に示すように、上記の通り、検索語「らんと」と確定検索語「とうきょう」とは継続関係を有するため、CPU41は、検索語「らんと」の検索順番を「1番目」とし、検索語「とうきょう」の検索順番を「2番目」として設定し、RAM42に記憶する。
Here, as shown in FIG. 6, when the search word displayed on the input
As shown in FIG. 6, as described above, since the search term “Ranto” and the finalized search term “Tokyo” have a continuation relationship, the
そして、CPU41は、検索順が1番目の検索語「らんと」と前方一致する平仮名「ら」が記憶された施設名データテーブル51の「分割単位」内の全施設名の「読み」及び「施設名」を読み出し、RAM42に記憶する。また、CPU41は、各施設名に付与した表示対象フラグに「OFF」を設定して、初期化する。
Then, the
続いて、例えば、施設名データテーブル51の当該「分割単位」の1番目の「読み」が、「らん/とうきょう/こくさい」の場合には、上記の通り、検索語「らんと」と前方一致する1番目のキーワード「らん」と2番目のキーワード「とうきょう」が使用済みに設定される。そのため、確定検索語「とうきょう」と前方一致する未使用のキーワードが無いことから、当該施設名「東京国際ラン」に対応する表示対象フラグは、「OFF」に設定されたままとなる(S117:NO)。 Subsequently, for example, when the first “reading” of the “division unit” in the facility name data table 51 is “Ran / Tokyo / Kokusai”, as described above, the search term “Ranto” and the front The matching first keyword “RAN” and the second keyword “Tokyo” are set as used. For this reason, since there is no unused keyword that matches forward with the finalized search term “Tokyo”, the display target flag corresponding to the facility name “Tokyo International Run” remains set to “OFF” (S117: NO).
また、例えば、当該「分割単位」の2番目の「読み」が、「らんど/とうきょう/ねずみー」の場合には、上記の通り、検索語「らんと」と前方一致する1番目のキーワード「らんど」が使用済みに設定される。また、確定検索語「とうきょう」と前方一致する2番目のキーワード「とうきょう」が未使用であるため、この2番目のキーワード「とうきょう」が使用済みに設定され、当該施設名「東京ネズミーランド」に対応する表示対象フラグは、「ON」に設定される(S120)。 Further, for example, when the second “reading” of the “division unit” is “Rand / Tokyo / Nezumi”, as described above, the first keyword “ Rando "is set as used. Also, since the second keyword “Tokyo” that matches the confirmed search term “Tokyo” is not used, this second keyword “Tokyo” is set to “used” and corresponds to the facility name “Tokyo Nesme Land”. The display target flag to be set is set to “ON” (S120).
また、例えば、当該「分割単位」の3番目の「読み」が、「らんど/とうきょう/れいんぼー」の場合には、上記の通り、検索語「らんと」と前方一致する1番目のキーワード「らんど」が使用済みに設定される。また、確定検索語「とうきょう」と前方一致する2番目のキーワード「とうきょう」が未使用であるため、この2番目のキーワード「とうきょう」が使用済みに設定され、当該施設名「東京レインボーランド」に対応する表示対象フラグは、「ON」に設定される(S120)。 Also, for example, when the third “reading” of the “division unit” is “Land / Tokyo / Reinbo”, as described above, the first one that matches the search term “Ranto” in the forward direction. The keyword “Land” is set as used. In addition, since the second keyword “Tokyo” that matches the confirmed search term “Tokyo” is not used, the second keyword “Tokyo” is set to “used” and the facility name “Tokyo Rainbow Land” is used. The corresponding display target flag is set to “ON” (S120).
従って、図7に示すように、CPU41は、液晶ディスプレイ15に検索結果表示画面71を表示し、表示対象フラグが「ON」に設定された「東京ネズミーランド」の候補施設名(地点情報)を一番上の検索結果表示欄72に表示する。また、CPU41は、表示対象フラグが「ON」に設定された「東京レインボーランド」の候補施設名(地点情報)を上から2番目の検索結果表示欄72に表示する。
Therefore, as shown in FIG. 7, the
ここで、ユーザが、各検索結果表示欄72の地点情報を押下して選択すると、CPU41は、当該施設を目的地に設定して経路探索を行い、推奨経路を地図上に表示する。また、当該施設に関する施設情報(例えば、営業時間、料金等である。)を表示する。
Here, when the user presses and selects the point information in each search
また、検索結果表示画面71の上部には、件数表示部73が設けられ、検索した検索対象の件数「2件」が表示される。また、各検索結果表示欄72の左側には、検索結果表示欄72の施設の名称を1件ずつスクロールダウン、スクロールアップするための前ボタン74、次ボタン75と、検索結果表示欄72の施設の名称を5件ずつスクロールダウン、スクロールアップするための各頁ボタン76、77とが表示されている。
In addition, a
以上詳細に説明した通り、本実施例に係るナビゲーション装置1では、CPU41は、入力された検索語のうち、1つの検索語の後端部と他の検索語の先頭部が互いに重複する継続関係がある場合には、当該の継続関係に従って検索語の検索順番を設定する。また、CPU41は、検索語が継続関係を有しない場合には、継続関係のある検索語の検索順番に続いて、入力された順に検索順番を設定する。
As described above in detail, in the navigation device 1 according to the present embodiment, the
そして、CPU41は、検索順番に従って1番目の検索語と前方一致する「分割単位」内の全施設名の「読み」及び「施設名」を読み出し、RAM42に記憶する。また、CPU41は、各施設名に付与した表示対象フラグに「OFF」を設定して、初期化する。そして、CPU41は、各「読み」を構成する複数のキーワードのうち、各検索語と前方一致するときに使用された該検索語の文字を含む1番目のキーワードから順番に使用済みに設定して、最後の検索語と前方一致する未使用のキーワードを有する施設名の表示対象フラグを「ON」に設定して、候補施設名として抽出する。
Then, the
これにより、入力された検索語間に継続関係があっても、該当する「分割単位」内の各施設名毎に、各検索語に設定された検索順番に従って一度の検索で候補施設名を抽出できるため、検索を高速で行い、応答性の低下を防止することが可能となる。 As a result, even if there is a continuation relationship between the input search terms, candidate facility names are extracted in a single search according to the search order set for each search term for each facility name in the corresponding "division unit" Therefore, it is possible to perform a search at a high speed and prevent a decrease in responsiveness.
また、CPU41は、継続関係がある一対の検索語のうちの後端部が重複する検索語の検索順番を先頭部が重複する検索語の検索順番の1つ前の順番になるように設定するため、重複して該当するキーワードを確実に排除することができ、検索を高速で行い、応答性の向上を図ることが可能となる。
In addition, the
更に、CPU41は、入力された検索語が継続関係を有しない場合には、継続関係のある検索語の検索順番に続いて、入力された順に検索順番を設定するため、検索語の検索順番を迅速に設定し、検索を更に高速で行い、応答性の更なる向上を図ることが可能となる。 Furthermore, when the input search word does not have a continuation relationship, the search order is set in the input order following the search order of the search terms having the continuation relationship. It is possible to set quickly, perform a search at a higher speed, and further improve the responsiveness.
尚、本発明は前記実施例に限定されるものではなく、本発明の要旨を逸脱しない範囲内で種々の改良、変形が可能であることは勿論である。 In addition, this invention is not limited to the said Example, Of course, various improvement and deformation | transformation are possible within the range which does not deviate from the summary of this invention.
例えば、継続関係がある一対の検索語のうちの先頭部が重複する検索語の検索順番を後端部が重複する検索語の検索順番の1つ前の順番になるように設定するようにしてもよい。また、この場合には、後端部が重複する検索語の文字列が前方一致したキーワードよりも長い場合には、この検索語から当該前方一致したキーワードを除いた文字列を再度、検索語として設定し、当該検索語と前方一致する未使用のキーワードがあるか否かを判定するようにしてもよい(S117)。これにより、CPU41は、重複して該当するキーワードを確実に排除することができ、検索を高速で行い、応答性の向上を図ることが可能となる。
For example, the search order of search words with overlapping head parts of a pair of search words having a continuation relationship is set to be the order one before the search order of search words with overlapping rear end parts. Also good. Also, in this case, if the character string of the search word with overlapping rear ends is longer than the keyword that has been matched forward, the character string that is obtained by removing the keyword that has been matched from the search word will be used again as the search word. It may be set to determine whether or not there is an unused keyword that matches the search word in front (S117). As a result, the
また例えば、入力された複数の検索語の中に継続関係を有しない検索語がある場合には、継続関係を有しない検索語は、入力された順に検索順番を設定し、それに続いて継続関係のある検索語の検索順番を設定するようにしてもよい。これにより、CPU41は、検索語の検索順番を迅速に設定し、検索を高速で行い、応答性の向上を図ることが可能となる。
Also, for example, if there are search terms that do not have a continuation relationship among the plurality of input search terms, the search terms that do not have a continuation relationship are set in the order in which they are entered, followed by a continuation relationship You may make it set the search order of a certain search term. As a result, the
1 ナビゲーション装置
14 操作部
15 液晶ディスプレイ
18 タッチパネル
25 地図情報DB
27 施設名DB
41 CPU
42 RAM
43 ROM
51 施設名データテーブル
61 検索語入力画面
62 50音キー
71 検索結果表示画面
72 検索結果表示欄
DESCRIPTION OF SYMBOLS 1
27 Facility name DB
41 CPU
42 RAM
43 ROM
51 Facility Name Data Table 61 Search
Claims (4)
検索語を入力する入力手段と、
前記検索語が、前記施設名を構成する複数のキーワードを並び替えて作成された検索対象文字列と前方一致した場合に、施設名を候補施設名として抽出する候補施設名抽出手段と、
前記候補施設名抽出手段によって抽出された候補施設名を出力する出力手段と、
を備え、
前記候補施設名抽出手段は、
前記入力手段によって入力された検索語のうち、1つの検索語の後端部と他の検索語の先頭部が互いに重複する継続関係がある場合には、当該継続関係に従って検索語の検索順番を設定し、
前記複数の施設名毎に、前記検索順番に従って1番目の検索語から順番に、該検索語と前方一致する検索対象文字列を検索し、
該検索語と前方一致する検索対象文字列を構成する複数のキーワードのうち、該検索語と前方一致するときに使用された該検索語の文字を含むキーワードを順次除外して、最後の検索語と前方一致するキーワードを有する施設名を候補施設名として抽出することを特徴とする施設検索装置。 Facility name storage means for storing a plurality of facility names to be searched by dividing them into a plurality of keywords,
An input means for entering a search term;
A candidate facility name extracting means for extracting a facility name as a candidate facility name when the search word is forward-matched with a search target character string created by rearranging a plurality of keywords constituting the facility name;
Output means for outputting the candidate facility name extracted by the candidate facility name extracting means;
With
The candidate facility name extraction means includes:
Of the search terms input by the input means, if there is a continuation relationship in which the rear end of one search term and the beginning of another search term overlap each other, the search terms are searched according to the continuation relationship. Set,
For each of the plurality of facility names, in search from the first search word in accordance with the search order, search for a search target character string that matches forward with the search word,
Of the plurality of keywords constituting the search target character string that matches the search word in front, the keyword including the character of the search word that was used when the search word is matched forward is sequentially excluded, and the last search word A facility search apparatus that extracts a facility name having a keyword that coincides with the keyword as a candidate facility name.
検索語を入力する入力工程と、
前記入力工程で入力された検索語が、前記施設名を構成する複数のキーワードを並び替えて作成された検索対象文字列と前方一致した場合に、施設名を候補施設名として抽出する候補施設名抽出工程と、
前記候補施設名抽出工程で抽出された候補施設名を出力する出力工程と、
を実行させ、
前記候補施設名抽出工程において、
前記入力手段によって入力された検索語のうち、1つの検索語の後端部と他の検索語の先頭部が互いに重複する継続関係がある場合には、当該継続関係に従って検索語の検索順番を設定し、
前記複数の施設名毎に、前記検索順番に従って1番目の検索語から順番に、該検索語と前方一致する検索対象文字列を検索し、
該検索語と前方一致する検索対象文字列を構成する複数のキーワードのうち、該検索語と前方一致するときに使用された該検索語の文字を含むキーワードを順次除外して、最後の検索語と前方一致するキーワードを有する施設名を候補施設名として抽出するように実行させるためのプログラム。 In a computer equipped with facility name storage means for storing a plurality of facility names to be searched, each divided into a plurality of keywords,
An input process for entering a search term;
A candidate facility name that extracts a facility name as a candidate facility name when the search term input in the input step matches a search target character string created by rearranging a plurality of keywords constituting the facility name. An extraction process;
An output step of outputting the candidate facility name extracted in the candidate facility name extraction step;
And execute
In the candidate facility name extraction step,
Of the search terms input by the input means, if there is a continuation relationship in which the rear end of one search term and the beginning of another search term overlap each other, the search terms are searched according to the continuation relationship. Set,
For each of the plurality of facility names, in search from the first search word in accordance with the search order, search for a search target character string that matches forward with the search word,
Of the plurality of keywords constituting the search target character string that matches the search word in front, the keyword including the character of the search word that was used when the search word is matched forward is sequentially excluded, and the last search word A program for executing a facility name having a keyword that matches the front of the name as a candidate facility name.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010064503A JP5299331B2 (en) | 2010-03-19 | 2010-03-19 | Facility search apparatus and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010064503A JP5299331B2 (en) | 2010-03-19 | 2010-03-19 | Facility search apparatus and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011198072A JP2011198072A (en) | 2011-10-06 |
| JP5299331B2 true JP5299331B2 (en) | 2013-09-25 |
Family
ID=44876179
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010064503A Expired - Fee Related JP5299331B2 (en) | 2010-03-19 | 2010-03-19 | Facility search apparatus and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5299331B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112989224B (en) * | 2021-03-25 | 2024-06-25 | 北京百度网讯科技有限公司 | A search method, device, electronic device and storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0997266A (en) * | 1995-09-29 | 1997-04-08 | Aisin Aw Co Ltd | On-vehicle navigation system |
| JP3826883B2 (en) * | 2002-12-26 | 2006-09-27 | カシオ計算機株式会社 | Information display control device and program |
| JP5182614B2 (en) * | 2007-12-07 | 2013-04-17 | アイシン・エィ・ダブリュ株式会社 | Search device, navigation device, and search program |
| JP4915379B2 (en) * | 2008-03-28 | 2012-04-11 | アイシン・エィ・ダブリュ株式会社 | Destination setting device and destination setting program |
-
2010
- 2010-03-19 JP JP2010064503A patent/JP5299331B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011198072A (en) | 2011-10-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2011018256A (en) | Location search device, location search method, and program | |
| JP5050815B2 (en) | Facility information output device, facility information output method, facility information output program | |
| JP2011002395A (en) | Location search device, and location search method and program thereof | |
| JP2010515982A (en) | Improved search capability for portable navigation devices | |
| JP2010009390A (en) | Navigator and database updating program | |
| JP5287752B2 (en) | Point search device | |
| JP5299331B2 (en) | Facility search apparatus and program | |
| US20100312790A1 (en) | Point search devices, methods, and programs | |
| JP2010286870A (en) | Spot search device, spot search method and program | |
| JP5359789B2 (en) | Point search device and program | |
| JP5353649B2 (en) | Point search device and program | |
| JP5299226B2 (en) | Point search device and program | |
| JP5273082B2 (en) | Facility search apparatus and program | |
| JP5577809B2 (en) | Facility search apparatus and program | |
| JP5407760B2 (en) | Point search device and program | |
| JP5287775B2 (en) | Point search device | |
| JP5299307B2 (en) | Point search device and program | |
| JP4873529B2 (en) | Facility search apparatus and method and program thereof | |
| JP2011118866A (en) | Spot searching device and program | |
| JP5299332B2 (en) | Point search device | |
| JPH06250585A (en) | Map display device | |
| JP2012022539A (en) | Facility search apparatus and program | |
| JP4923578B2 (en) | Traffic information providing apparatus and traffic information providing method | |
| JP4293260B2 (en) | Data search method, data search device, and navigation device | |
| JP2012027609A (en) | Facility search apparatus and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120229 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130516 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130521 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130603 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5299331 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |