JP3522665B2 - Route search method, route search device, and recording medium storing route search program - Google Patents
Route search method, route search device, and recording medium storing route search programInfo
- Publication number
- JP3522665B2 JP3522665B2 JP2000234834A JP2000234834A JP3522665B2 JP 3522665 B2 JP3522665 B2 JP 3522665B2 JP 2000234834 A JP2000234834 A JP 2000234834A JP 2000234834 A JP2000234834 A JP 2000234834A JP 3522665 B2 JP3522665 B2 JP 3522665B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- route search
- route
- information
- requested
- 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
Landscapes
- Navigation (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Traffic Control Systems (AREA)
- Instructional Devices (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、コンピュータによ
り地図上で指定された始点から終点までの経路を自動的
に探索する技術に関し、特に、道路の接続関係を記述し
た道路ネットワークデータを利用せずに、効果的な経路
探索を実現する方法及び装置、並びにそのプログラムを
記録した記録媒体に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for automatically searching a route from a start point to an end point designated on a map by a computer, and particularly, without using road network data describing a road connection relation. In addition, the present invention relates to a method and an apparatus for realizing an effective route search, and a recording medium recording the program thereof.
【0002】[0002]
【従来の技術】近年、パソコンやカーナビゲーションな
どで利用される電子地図が急速に普及している。最近で
は、DVD−ROMなどの普及により、より詳細な地図
情報を含む電子地図が提供されている。このような電子
地図を利用する目的のひとつとして、利用者が所望する
目的地までの経路の探索がある。このような地図上の経
路を探索するための技術は、従来からいくつか存在して
いる。例えば、特開平6−160106号公報には、道
路の接続関係を記述した道路ネットワークデータを利用
して、経路の探索を行うことが記載されている。そし
て、ここでは、両地点間の距離及び曲がる回数並びに幅
員の大きさを考慮するなど、いろいろなバリエーション
を持つ経路探索を実現している。2. Description of the Related Art In recent years, electronic maps used in personal computers, car navigation systems, etc. have rapidly become popular. Recently, with the spread of DVD-ROM and the like, electronic maps including more detailed map information have been provided. One of the purposes of using such an electronic map is to search for a route to a destination desired by the user. There have been several techniques for searching such a route on a map. For example, Japanese Unexamined Patent Publication No. 6-160106 describes that a route search is performed using road network data that describes road connection relationships. Then, here, the route search having various variations is realized by considering the distance between both points, the number of turns, and the size of the width.
【0003】ところが、このような経路探索に必要な道
路ネットワークデータを作成する処理は非常に難しく、
実際の利用には、人手による修正が必要となっている。
しかも、最近よく利用されている詳細な地図情報には、
従来の道路地図と比較して桁違いに多くの道路情報が含
まれており、こうした道路ネットワークデータ自体の価
格は非常に高く、また、非常に時間のかかる処理であ
り、そのようなデータを簡便に利用するのは非常に困難
である。However, it is very difficult to create the road network data necessary for such a route search,
Manual modification is required for actual use.
Moreover, the detailed map information that is often used recently is
It contains an order of magnitude more road information than conventional road maps, and the price of such road network data itself is very high, and it is a very time-consuming process. It is very difficult to use for.
【0004】[0004]
【発明が解決しようとする問題】上述したように、従来
の道路ネットワークデータを利用して経路探索を行う方
法は、道路ネットワークデータを作成する処理が非常に
難しく、また、その地図情報には多くの道路情報が含ま
れているものの、それを簡便に利用するのは困難である
などの問題があった。As described above, in the conventional method for searching a route using road network data, the process of creating the road network data is very difficult, and the map information often has a lot of problems. Although the road information is included, there is a problem that it is difficult to use it easily.
【0005】本発明は、上述したような従来技術の問題
点に鑑みてなされたもので、地図上で指定された始点か
ら終点までの経路探索を、道路の接続関係を記述する道
路ネットワークデータを利用せずに簡便に実現すること
を目的とする。The present invention has been made in view of the above-mentioned problems of the prior art. The route search from the start point to the end point designated on the map is performed by using the road network data describing the road connection relationship. The purpose is to realize it easily without using it.
【0006】[0006]
【課題を解決するための手段】本発明は、地図上で指定
された始点から終点までの経路探索を、道路の接続関係
を探索するのではなく、地図データベースの街区の接続
関係を探索することにより行うことを特徴とする。SUMMARY OF THE INVENTION According to the present invention, a route search from a start point to an end point designated on a map is not searched for a road connection relation, but for a block connection relation of a map database. It is characterized by performing by.
【0007】本発明では、利用者から経路探索を要求す
る始点、終点の情報を受け付けると、対象となる街区に
接続する街区を探索し、街区を対象としたグラフ構造を
算出する。そして、このグラフ構造を利用して算出され
た街区経路から経路情報を取得し、出力する。また、街
区経路は、接する街区同士の距離をコストとして最短コ
スト計算を行い、算出する。In the present invention, when the information of the starting point and the ending point for requesting the route search is received from the user, the block connected to the target block is searched, and the graph structure for the block is calculated. Then, the route information is acquired from the block route calculated using this graph structure and output. In addition, the block route is calculated by performing the shortest cost calculation with the distance between adjacent block blocks as the cost.
【0008】本発明によれば、街区を基準としたグラフ
構造を利用することにより、非常に高速に経路を探索す
ることができる。これにより、従来必要であった道路ネ
ットワークデータを利用せずに、経路探索を行うことが
できる。また、接する街区同士の距離をコストとして最
短コスト計算を行うことにより、最短経路により近い経
路を探索することができる。According to the present invention, the route can be searched very quickly by using the graph structure based on the block. As a result, the route search can be performed without using the road network data that has been conventionally required. In addition, the shortest route can be searched for by performing the shortest cost calculation using the distance between the adjacent blocks as a cost.
【0009】[0009]
【発明の実施の形態】以下、本発明の一実施の形態につ
いて図面を用いて説明する。図1は、本発明による経路
探索装置の要部構成を示すブロック図である。経路探索
装置100は、利用者から経路探索を要求する始点、終
点の情報を受け付ける入力受付処理部110と、対象と
なる街区に接続する街区を探索し、街区をノード、接続
関係をリンクとしたグラフ構造を算出する街区ネットワ
ーク算出処理部120と、この街区ネットワーク算出処
理部120において算出されたグラフ構造を利用して、
要求された始点から終点までの街区経路を算出する街区
経路探索処理部130と、この街区経路探索処理部13
0において算出された街区経路から経路情報を取得し、
出力する出力制御処理部140とを備えている。地図デ
ータベース(地図DB)150は、地図中に存在する図
形の座標点列のデータ、その図形に付与されている属性
を含むデータなどを格納している。BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a main configuration of a route search device according to the present invention. The route search device 100 searches an input reception processing unit 110 that receives information about a start point and an end point that requests a route search from a user, a block that is connected to a target block, and sets the block as a node and a connection relationship as a link. By using the block network calculation processing unit 120 that calculates the graph structure and the graph structure calculated by this block network calculation processing unit 120,
A block route search processing unit 130 for calculating a block route from the requested start point to the end point, and this block route search processing unit 13
Obtain route information from the block route calculated in 0,
The output control processing part 140 which outputs is provided. The map database (map DB) 150 stores data of coordinate point sequences of figures existing in the map, data including attributes given to the figures, and the like.
【0010】ここで、経路探索装置100は、インター
ネットなどのネットワーク上にあってもよく、あるい
は、スタンドアロンのパソコンの一部を構成することで
もよい。本発明は、いずれも利用可能である。例えば、
経路探索装置100がネットワーク上にある場合には、
利用者はパソコンや携帯端末などから経路探索装置10
0をアクセスして、経路探索を要求する始点、終点の情
報を送ることにより、経路探索装置100が目的の経路
情報を利用者側に応答する。スタンドアロンのパソコン
自体が経路探索装置100の機能を具備する場合には、
利用者がキーボードやマウスで経路探索の始点、終点の
情報を入力することにより、目的の経路情報がデノスプ
レイ等に表示される。Here, the route search apparatus 100 may be on a network such as the Internet, or may be a part of a stand-alone personal computer. Any of the present inventions can be used. For example,
When the route search device 100 is on the network,
The user selects a route search device 10 from a personal computer or a mobile terminal.
The route search device 100 responds to the user side with desired route information by accessing 0 and sending information on the start point and end point for requesting the route search. When the standalone personal computer itself has the function of the route search device 100,
The user inputs the information on the starting point and the ending point of the route search with the keyboard or the mouse, and the target route information is displayed on the denomination or the like.
【0011】以下に、図1に示した経路探索装置100
内の入力受付処理部110、街区ネットワーク算出処理
部120、街区経路探索処理部130及び出力制御処理
部140の各処理について詳述する。Below, the route search apparatus 100 shown in FIG.
Each processing of the input reception processing unit 110, the block network calculation processing unit 120, the block route search processing unit 130, and the output control processing unit 140 in the above will be described in detail.
【0012】〈入力受付処理〉入力受付処理部110
は、利用者から経路探索を要求する始点、終点の情報を
受け付けて、その始点、終点に最近接の街区の情報を取
得する。この処理は図2に示す手順で行われる。<Input Reception Processing> Input reception processing unit 110
Receives the information of the starting point and the ending point for requesting the route search from the user, and acquires the information of the nearest block to the starting point and the ending point. This process is performed according to the procedure shown in FIG.
【0013】[ステップ201] 利用者からの検索要
求を解析する。
[ステップ202] 地図データベース150を検索
し、始点、終点の情報を保持しておく。
[ステップ203] 始点、終点に最も隣接する街区を
地図データベース150から取得する。
[ステップ204] 取得した始まりの街区Gs、終わ
りの街区Ggの情報を保持しておく。そして、処理を街
区経路探索処理部130へ移す。[Step 201] The search request from the user is analyzed. [Step 202] The map database 150 is searched, and information on the start point and the end point is held. [Step 203] The block closest to the start point and the end point is acquired from the map database 150. [Step 204] Information on the acquired starting block Gs and ending block Gg is held. Then, the process is transferred to the block route search processing unit 130.
【0014】〈街区ネットワーク算出処理〉街区ネット
ワーク算出処理部120は、街区経路探索処理部130
から対象となる街区Giを順次受け取り、この対象とな
る街区Giに接続する街区を探索し、街区を対象とした
グラフ構造を算出する。この処理は図3に示す手順で行
われる。<Block City Network Calculation Processing> The block network calculation processing unit 120 is a block route search processing unit 130.
The target block Gi is sequentially received from, and the block connected to this target block Gi is searched, and the graph structure for the block is calculated. This processing is performed according to the procedure shown in FIG.
【0015】[ステップ301] 対象となる街区Gi
に対して地図データベース150を検索し、Giに隣接
する街区Gjの情報を保持しておく。
[ステップ302] 対象となる街区Giを構成する未
処理の線分L(Gi,m)に対して、隣接する街区Gj
を構成する線分の中で上記線分との最短距離に存在する
線分L(Gj,n)を算出する。なお、m,nはそれぞ
れ街区を構成する線分の番号である。
[ステップ303] 街区Giの線分L(Gi,m)と
街区Giの線分L(Gj,n)の相対する角度を算出す
る。
[ステップ304] 算出した角度が、あらかじめ定め
た閾値を満たすかどうか判定する。そして、満たしてい
れば、ステップ305に進み、満たしていなければステ
ップ302に戻る。このステップ304は、相対する線
分の組で、線分の長さが極端に相違するものは接続対象
から除外するためである。
[ステップ305] 線分L(Gg,n)を線分L(G
i,m)の接続対象線分とし、その線分間の平均距離D
ist(L(Gi,m),L(Gj,n))を算出す
る。
[ステップ306] 対象となるすべての線分に対して
処理が終わるまで、ステップ302〜ステップ305を
繰り返す。
[ステップ307] 街区Giに隣接する街区Gjに対
して最短の平均距離Dist(L(Gi,m),L(G
j、n))を算出し、Gi−Gj間のコストCost
(Gi,Gj)とする。[Step 301] Target block Gi
The map database 150 is searched for, and the information of the block Gj adjacent to Gi is held. [Step 302] A block Gj adjacent to an unprocessed line segment L (Gi, m) forming the target block Gi
The line segment L (Gj, n) existing in the shortest distance from the above line segment among the line segments forming In addition, m and n are the numbers of the line segments which respectively comprise the block. [Step 303] The relative angle between the line segment L (Gi, m) of the block Gi and the line segment L (Gj, n) of the block Gi is calculated. [Step 304] It is determined whether the calculated angle satisfies a predetermined threshold value. Then, if satisfied, the process proceeds to step 305, and if not satisfied, the process returns to step 302. This step 304 is to exclude a pair of line segments that are opposed to each other and have extremely different line lengths from the connection target. [Step 305] Replace the line segment L (Gg, n) with the line segment L (G
i, m) is the connection target line segment, and the average distance D between the line segments
ist (L (Gi, m), L (Gj, n)) is calculated. [Step 306] Steps 302 to 305 are repeated until the processing is completed for all the target line segments. [Step 307] The shortest average distance Dist (L (Gi, m), L (G) for the block Gj adjacent to the block Gi
j, n)), and the cost Cost between Gi and Gj
(Gi, Gj).
【0016】この街区ネットワーク算出処理により、街
区をノード、街区の接続関係をリンクとし、リンクの属
性値は街区間の距離をコストとしたグラフ構造が算出さ
れる。なお、この街区ネットワーク算出処理は、あらか
じめ地図データベース150に格納された街区に対して
行い、その結果を、例えば、処理が実行された装置のメ
モリ上に格納しておき、その格納されたデータを利用す
る、としてもよい。By this block network calculation processing, a graph structure is calculated in which the block is a node and the connection relationship of the block is a link, and the attribute value of the link is the cost of the distance of the block. The block network calculation process is performed on the block stored in the map database 150 in advance, the result is stored in, for example, the memory of the device on which the process is executed, and the stored data is stored. It may be used.
【0017】〈街区経路探索処理〉街区経路探索処理部
130は、街区ネットワーク算出処理部120において
算出されたグラフ構造を利用して、最短コストの街区の
経路を探索する。この処理は図4に示す手順で行われ
る。ここでは、街区のノード情報を制御情報(1つ前の
街区、コスト、決定フラグ)で表わすことにする。「1
つ前の街区」には当該街区に接続された1つ前の街区I
Dが設定され、初期状態や接続される街区がない場合は
「NULL」とする。「コスト」には最初の街区から当
該街区までの探索された街区経路のコスト総和が設定さ
れ、初期状態では「無限大」、接続される街区がない場
合は「0」とする。「決定フラグ」は、当該街区が経路
検索の対象街区に決定されたか否かを示し、初期状態や
決定されない場合は「OFF」、決定された場合は「O
N」となる。<Block Route Search Process> The block route search processing unit 130 uses the graph structure calculated by the block network calculation processing unit 120 to search for the route of the block with the shortest cost. This processing is performed according to the procedure shown in FIG. Here, the node information of a block is represented by control information (previous block, cost, determination flag). "1
"Previous block" is the previous block I connected to the block.
When D is set and there is no initial state or connected block, it is set to "NULL". The "cost" is set to the total cost of the searched block route from the first block to the block, which is "infinity" in the initial state and "0" when there is no block to be connected. The “decision flag” indicates whether or not the block is determined as the target block for the route search, and is “OFF” in the initial state or when the block is not determined, and “O” when it is determined.
N ".
【0018】[ステップ401] 始まりの街区Gs、
終わりの街区Ggの情報を入力受付処理部110から取
得する。
[ステップ402] 始まりの街区Gsの制御情報(1
つ前の街区:NULL、コスト:0、決定フラグ:O
N)を設定する。
[ステップ403] 街区Gsに接続する街区Giの情
報を街区ネットワーク算出処理部120から取得し、街
区Giの制御情報(1つ前の街区:Gs、コスト:Co
st(Gi)=Cost(Gs,Gi)、決定フラグ:
OFF)を設定する。これを街区Gsに接続される各街
区について行う。[Step 401] The starting block Gs,
Information on the last block Gg is acquired from the input reception processing unit 110. [Step 402] Control information of the starting block Gs (1
Previous block: NULL, cost: 0, decision flag: O
N) is set. [Step 403] The information of the block Gi connected to the block Gs is acquired from the block network calculation processing unit 120, and the control information of the block Gi (previous block: Gs, cost: Co
st (Gi) = Cost (Gs, Gi), decision flag:
OFF) is set. This is performed for each block connected to the block Gs.
【0019】[ステップ404] 情報を取得したすべ
ての街区Giに対して、制御情報の決定フラグがOFF
でコストが最小となる街区Gjを算出する。
[ステップ405] 街区Gjの制御情報(1つ前の街
区:Gk、コスト:Cost(Gj)=Cost(G
k)+Cost(Gk,Gj)、決定フラグ:ON)を
設定する。なお、ステップ403,404からの場合は
Gk=Gsである。
[ステップ406] 街区Gjに接続する街区Giの情
報を街区ネットワーク算出処理部120から取得する。
これを街区Gjに接続される各街区について行う。
[ステップ407] 制御情報が初期化されていない街
区Giが選択された場合には、その制御情報の初期化を
行う。即ち、制御情報(1つ前の街区:NULL、コス
ト:無限大、決定フラグ:OFF)と設定する。
[ステップ408] 情報を取得したすべての街区Gi
に対して、制御情報の決定フラグがOFFで、Cost
(Gi)>Cost(Gj)+Cost(Gj,Gi)
を満たすか判定する。そして、満たさない場合はステッ
プ404に戻り、満たす場合はステップ409に進む。
この判定により、ステップ407で制御情報が初期化さ
れた街区Giは、すべてステップ409に進むことにな
る。
[ステップ409] 街区Giの制御情報(1つ前の街
区:Gj、コスト:Cost(Gi)=Cost(G
j)+Cost(Gj,Gi)、決定フラグ:OFF)
を設定する。
[ステップ410] 終りの街区Ggが選択されて、そ
の制御情報の決定フラグがONに設定されたか判定し、
否定の場合、ステップ404に戻る。以下、終わりの街
区Ggが選択されるまで、ステップ404〜ステップ4
10を繰り返す。そして、Ggが選択されると、処理を
出力制御処理部140へ移す。[Step 404] The control information decision flag is OFF for all the blocks Gi for which information has been acquired.
Then, the block Gj that minimizes the cost is calculated. [Step 405] Control information of block Gj (previous block: Gk, cost: Cost (Gj) = Cost (G
k) + Cost (Gk, Gj), decision flag: ON). Note that Gk = Gs in the case of steps 403 and 404. [Step 406] The information on the block Gi connected to the block Gj is acquired from the block network calculation processing unit 120.
This is performed for each block connected to the block Gj. [Step 407] When a block Gi whose control information has not been initialized is selected, the control information is initialized. That is, the control information (one block before: NULL, cost: infinity, determination flag: OFF) is set. [Step 408] All blocks Gi for which information has been acquired
, The control information determination flag is OFF, and Cost
(Gi)> Cost (Gj) + Cost (Gj, Gi)
Determine if If not satisfied, the process returns to step 404, and if satisfied, the process proceeds to step 409.
By this determination, all the blocks Gi whose control information has been initialized in step 407 proceed to step 409. [Step 409] Control information of block Gi (block immediately before: Gj, cost: Cost (Gi) = Cost (G
j) + Cost (Gj, Gi), decision flag: OFF)
To set. [Step 410] It is determined whether the final block Gg is selected and the determination flag of the control information is set to ON,
If not, return to step 404. Hereinafter, steps 404 to 4 are performed until the last block Gg is selected.
Repeat 10. Then, when Gg is selected, the process is transferred to the output control processing unit 140.
【0020】〈出力制御処理〉出力制御処理部140
は、街区経路探索処理部130において探索された街区
経路から経路情報を取得し、利用者へ出力する。この処
理は図5に示す手順で行われる。<Output Control Processing> Output control processing section 140
Acquires route information from the block route searched by the block route search processing unit 130 and outputs it to the user. This process is performed according to the procedure shown in FIG.
【0021】[ステップ501] 始点、終点の情報を
取得する。
[ステップ502] 街区経路探索処理部130におい
て探索された街区経路の制御情報を取得する。即ち、決
定フラグがNOの制御情報を取得する。
[ステップ503] 取得した街区の制御情報から、終
わりの街区Ggを起点にして始まり街区Gsまで、1つ
前の街区を順にたどり、街区の経路順を算出する。
[ステップ504] 算出された街区の経路順から、経
路情報を取得する。
[ステップ505] 指定された形式で、経路情報を出
力する。[Step 501] Information on the start point and the end point is acquired. [Step 502] The control information of the block route searched by the block route search processing unit 130 is acquired. That is, the control information whose decision flag is NO is acquired. [Step 503] From the acquired block control information, the last block is sequentially traced from the end block Gg to the start block Gs, and the route order of the block is calculated. [Step 504] Route information is acquired from the calculated route order of the block. [Step 505] The route information is output in the designated format.
【0022】なお、こうして算出された経路情報を、例
えば、特開平10−198267号公報に記載のデフォ
ルメ地図の生成などに利用して、そのデフォルメ地図を
出力するとしてもよい。The route information thus calculated may be used, for example, for generation of a deformed map described in Japanese Patent Laid-Open No. 10-198267, and the deformed map may be output.
【0023】図6乃至図11は、上述した処理手順を実
際のデータに即して、具体的に示したものである。以
下、この例について説明する。FIGS. 6 to 11 concretely show the above-mentioned processing procedure in accordance with actual data. Hereinafter, this example will be described.
【0024】利用者から、図6に示すような、始点O
s、終点Ogの経路探索の要求を受け付けたとする。入
力受付処理部110では、このOs,Ogに最も隣接す
る街区Gs,Ggを地図データベース150から取得
し、処理を街区経路探索処理部130に移す。From the user, the starting point O as shown in FIG.
It is assumed that a route search request for s and the end point Og is received. The input reception processing unit 110 acquires the block Gs, Gg closest to the Os, Og from the map database 150, and moves the process to the block route search processing unit 130.
【0025】街区経路探索処理部130では、図7に示
すような、始まりの街区Gs、終わりの街区Ggの情報
を取得し、まず、始まりの街区Gsの制御情報(1つ前
の街区:NULL、コスト:0、決定フラグ:ON)を
設定する。そして、このGsに接続する街区の情報を街
区ネットワーク算出処理部120から取得する。The block route search processing unit 130 obtains the information of the starting block Gs and the ending block Gg as shown in FIG. 7, and first, the control information of the starting block Gs (previous block: NULL , Cost: 0, decision flag: ON). Then, the information on the block connected to this Gs is acquired from the block network calculation processing unit 120.
【0026】街区ネットワーク算出処理部120では、
対象となる街区Gsに対して、地図データベース150
を検索し、隣接する街区G1、G2、G5の情報を保持
しておく。次に、図7に示すように、対象となる街区G
sを構成する未処理の線分L(Gs,1)に対して、例
えば、隣接する街区G2を構成する線分の中で、該線分
との最短距離に存在する線分L(G2,1)を算出し、
これらの相対する角度が閾値を満すか判定する。ここで
は、L(Gs,1)とL(G2,1)の角度が閾値を満
たしていたとして、その線分を接続対象線分とし、その
線分間の平均距離Dist(L(Gs,1),L(G
2,1))を算出する。対象となるすべての線分に対し
て処理が終わるまで、これを繰り返す。こうして処理を
行った結果、隣接する街区G2に対して、最短となった
Dist(L(Gs,1),L(G2,1)がGs−G
2間のコストCost(Gs,G2)として設定され
る。同様にして、街区G1に対してCost(Gs,G
1)が、街区G5に対してCost(Gs,G5)が設
定される。In the block network calculation processing unit 120,
Map database 150 for the target block Gs
Is searched and the information of the adjacent blocks G1, G2, G5 is held. Next, as shown in FIG. 7, the target block G
For the unprocessed line segment L (Gs, 1) forming s, for example, among the line segments forming the adjacent block G2, the line segment L (G2, G2, which exists in the shortest distance from the line segment. 1) is calculated,
It is determined whether these opposing angles satisfy the threshold value. Here, assuming that the angle between L (Gs, 1) and L (G2, 1) satisfies the threshold value, the line segment is set as the connection target line segment, and the average distance Dist (L (Gs, 1) between the line segments. , L (G
2, 1)) is calculated. This process is repeated until all target line segments are processed. As a result of performing the processing in this way, the shortest Dist (L (Gs, 1), L (G2, 1) is Gs-G for the adjacent block G2.
The cost between two is set as Cost (Gs, G2). Similarly, cost (Gs, G
In 1), Cost (Gs, G5) is set for the block G5.
【0027】街区経路探索処理部130では、こうして
取得したGsに接続する街区のGi(i=1,2,5)
に対して、制御情報(1つ前の街区:Gs、コスト:C
ost(Gi)=Cost(Gs,Gi)、決定フラ
グ:OFF)を設定し、図8に示すような状態になる。
このGsに対して、情報を取得したすべての街区Giに
おいて、決定フラグがOFFでコストが最小となる街区
Gjを算出する。ここでは、G5が選択されたとし、そ
の制御情報(1つ前の街区:Gs、コスト:Cost
(Gs,G5)、決定フラグ:ON)を設定する。In the block route search processing unit 130, the Gi of the block connected to the Gs thus acquired (i = 1, 2, 5)
In contrast, control information (previous block: Gs, cost: C
ost (Gi) = Cost (Gs, Gi), determination flag: OFF) is set, and the state shown in FIG. 8 is obtained.
With respect to this Gs, the block Gj in which the determination flag is OFF and the cost is the minimum is calculated for all the blocks Gi for which information has been acquired. Here, it is assumed that G5 is selected, and its control information (previous block: Gs, cost: Cost
(Gs, G5), decision flag: ON) is set.
【0028】次に、街経路探索処理部130では、街区
G5に接続する街区Giの情報を、前述と同様に街区ネ
ットワーク算出処理部120から取得する。このとき、
制御情報が初期化されていない街区が選択された場合に
は、その制御情報の初期化(1つ前の街区:NULL、
コスト:無限大、決定フラグ:OFF)を行う。こうし
て取得された街区Giに対して、決定フラグ:OFF、
Cost(Gi)>Cost(Gj)+Cost(G
j,Gi)を満たすとき、当該街区Giの制御情報(1
つ前の街区:Gj、コスト:Cost(Gi)=Cos
t(Gj)+Cost(Gj,Gi)、決定フラグ:O
FF)を設定する。ここでは、G5に接続するGs,G
4,G6,G9のうち、条件を満たす街区G4,G6,
G9の制御情報が設定され、図9に示すような状態にな
る。Next, the city route search processing unit 130 obtains the information of the city block Gi connected to the city block G5 from the city block network calculation processing unit 120 as described above. At this time,
When a block for which the control information has not been initialized is selected, the control information is initialized (one block before the block: NULL,
Cost: infinity, decision flag: OFF). For the block Gi acquired in this way, a determination flag: OFF,
Cost (Gi)> Cost (Gj) + Cost (G
j, Gi), the control information (1
Previous block: Gj, cost: Cost (Gi) = Cos
t (Gj) + Cost (Gj, Gi), decision flag: O
FF) is set. Here, Gs and G connected to G5
Blocks G4, G6 that meet the conditions of 4, G6, G9
The control information of G9 is set, and the state becomes as shown in FIG.
【0029】以下、街区経路探索処理部130では、街
区ネットワーク算出処理部120と協同して、情報を取
得したすべての街区に対して、決定フラグがOFFでコ
ストが最小となる街区を算出する処理が、終わりのGg
が選択されるまで繰り返される。ここでは、図10に示
すような状態で終了し、処理を出力制御処理部140へ
移す。In the following, the block route search processing unit 130 cooperates with the block network calculation processing unit 120 to calculate the block for which the decision flag is OFF and the cost is the minimum, for all the blocks for which information has been acquired. But the end Gg
Is repeated until is selected. Here, the processing ends in the state as shown in FIG. 10, and the processing is transferred to the output control processing unit 140.
【0030】出力制御処理部140では、始点、終点の
情報、及び街区経路探索処理部130において算出され
た街区の制御情報のうち、決定フラグがONの制御情報
を取得する。そして、この取得した制御情報から、Gg
を起点にGsまで1つ前の街区を順にたどり、Gsから
Ggまでの街区の経路順を算出する。ここでは、図10
に太線で示したように、Gs,G5,G9,G12、G
gという街区の経路順となる。この街区の経路順を利用
して経路情報を取得し、例えば、図11の(a)、
(b)に示すような経路情報として出力する。The output control processing unit 140 acquires control information whose decision flag is ON from the start point and end point information and the control information of the block calculated by the block route search processing unit 130. Then, from this acquired control information, Gg
Starting from, the previous block is sequentially traced to Gs, and the route sequence of the block from Gs to Gg is calculated. Here, FIG.
Gs, G5, G9, G12, G
The order of the routes in the block is g. Route information is acquired using the route order of this block, and for example, (a) of FIG.
The route information is output as shown in (b).
【0031】以上、本発明を一実施例に基づき具体的に
説明したが、本発明は上記の実施例に限定されるもので
はなく、その要旨を逸脱しない範囲で種々変更可能であ
ることはいうまでもない。Although the present invention has been specifically described based on an embodiment, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention. There is no end.
【0032】また、図2乃至図5に示したような処理手
順のアルゴリズムをコンピュータで実行可能な言語で記
述したプログラムを、例えば経路探索プログラムと称し
てフロッピー(登録商標)ディスク、CD−ROM、メ
モリカード等のコンピュータ読み取り可能な記録媒体に
記録して提供することも可能である。この記録媒体に記
録された経路探索プログラムをコンピュータにインスト
ールすることで、図1に示した経路探索装置100にお
ける各処理部110〜140の機能がコンピュータ上に
構築される。A program in which the algorithm of the processing procedure as shown in FIGS. 2 to 5 is described in a computer-executable language is called, for example, a route search program, a floppy (registered trademark) disk, a CD-ROM, It is also possible to provide by recording in a computer-readable recording medium such as a memory card. By installing the route search program recorded on the recording medium in the computer, the functions of the processing units 110 to 140 in the route search device 100 shown in FIG. 1 are constructed on the computer.
【0033】[0033]
【発明の効果】本発明によれば、街区を基準としたグラ
フ構造を利用することにより、非常に高速に経路を探索
することができる効果がある。これにより、従来必要で
あった道路ネットワークデータを利用せずに、経路探索
を行うことができる効果がある。また、接する街区同士
の距離をコストとして最短コスト計算を行うことによ
り、最短経路により近い経路を探索することができる効
果がある。According to the present invention, there is an effect that a route can be searched at a very high speed by using a graph structure based on a block. As a result, there is an effect that the route search can be performed without using the road network data that has been conventionally required. In addition, there is an effect that a route closer to the shortest route can be searched for by performing the shortest cost calculation by using the distance between adjacent blocks as a cost.
【図1】本発明の経路探索方法を実現する装置構成の一
実施形態を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a device configuration for realizing a route search method of the present invention.
【図2】図1に示した入力受付処理部の処理フロー例を
示す図である。FIG. 2 is a diagram showing an example of a processing flow of an input reception processing unit shown in FIG.
【図3】図1に示した街区ネットワーク算出処理部の処
理フロー例を示す図である。3 is a diagram showing an example of a processing flow of a block network calculation processing unit shown in FIG.
【図4】図1に示した街区経路探索処理部の処理フロー
例を示す図である。FIG. 4 is a diagram showing an example of a processing flow of a block route search processing section shown in FIG.
【図5】図1に示した出力制御処理部の処理フロー例を
示す図である。5 is a diagram showing an example of a processing flow of an output control processing unit shown in FIG.
【図6】本発明により経路探索処理の具体例を説明する
ための元となるデータを示す図である。FIG. 6 is a diagram showing original data for explaining a specific example of the route search processing according to the present invention.
【図7】本発明による経路探索処理の具体例を説明する
ための続きの図である。FIG. 7 is a continuation diagram for explaining a specific example of the route search processing according to the present invention.
【図8】本発明による経路探索処理の具体例を説明する
ための更に続きの図である。FIG. 8 is a further subsequent diagram for explaining a specific example of the route search processing according to the present invention.
【図9】本発明による経路探索処理の具体例を説明する
ための更に続きの図である。FIG. 9 is a still further diagram for explaining a specific example of the route search processing according to the present invention.
【図10】本発明による経路探索処理の具体例を説明す
るための更に続きの図である。FIG. 10 is a subsequent diagram for explaining a specific example of the route search process according to the present invention.
【図11】本発明の経路探索処理による出力の具体例を
説明するための図である。FIG. 11 is a diagram for explaining a specific example of output by the route search processing of the present invention.
100 経路探索装置 110 入力受付処理部 120 街区ネットワーク算出処理部 130 街区経路探索処理部 140 出力制御処理部 150 地図データベース 100 route search device 110 Input reception processing unit 120 Block network calculation processing unit 130 Block Route Search Processing Unit 140 Output control processing unit 150 map database
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI // G08G 1/0969 G08G 1/0969 (72)発明者 有川 知彦 東京都千代田区大手町二丁目3番1号 日本電信電話株式会社内 (56)参考文献 特開 平10−319839(JP,A) 特開 平9−258982(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01C 21/00 - 21/36 G06F 17/30,17/60 G09B 29/00 - 29/10 JICSTファイル(JOIS)─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI // G08G 1/0969 G08G 1/0969 (72) Inventor Tomohiko Arikawa 2-3-3 Otemachi, Chiyoda-ku, Tokyo Nippon Telegraph and Telephone Incorporated (56) Reference JP 10-319839 (JP, A) JP 9-258982 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G01C 21/00 -21/36 G06F 17 / 30,17 / 60 G09B 29/00-29/10 JISC file (JOIS)
Claims (4)
れた始点から終点までの経路を算出する経路探索方法で
あって、利用者から経路探索を要求された始点、終点の
情報を受け付ける入力受付処理と、対象となる街区に接
続する街区を探索し、街区をノード、接続関係をリンク
としたグラフ構造を算出する街区ネットワーク算出処理
と、前記街区ネットワーク算出処理において算出された
街区を対象としたグラフ構造を利用して、要求された始
点から終点までの街区経路を算出する街区経路探索処理
と、前記街区経路探索処理において算出された街区経路
から経路情報を取得し、利用者に出力する出力制御処理
とを備えることを特徴とする経路探索方法。1. A route search method for calculating a route from a start point to an end point requested by a user by a computer, and an input receiving process for receiving information of a start point and an end point for which a route search is requested by the user. , A block network calculation process for searching a block connected to the target block, and calculating a graph structure with the block as a node and a connection relation as a link, and a graph structure for the block calculated in the block network calculation process Block search processing for calculating a block path from the requested start point to the end point, and output control processing for acquiring path information from the block path calculated in the block path search processing and outputting to the user A route search method comprising:
士の距離をコストとしてグラフ構造の算出を行い、前記
街区経路探索処理は、要求された始点から終点までの最
短コストの街区経路を算出することを特徴とする請求項
1記載の経路探索方法。2. The block route search process calculates a graph structure using the distance between adjacent block blocks as a cost, and the block route search process calculates the block route with the shortest cost from the requested start point to the requested end point. The route search method according to claim 1, wherein:
要求された始点から終点までの経路を算出する経路探索
装置であって、 利用者から経路探索を要求された始点、終点の情報を受
け付け、地図データベースから前記始点、終点に隣接す
る街区の情報を取得する入力受け処理手段と、 地図データベースから、対象となる街区に接続する街区
を探索し、街区をノード、接続関係をリンクとしたグラ
フ構造を算出する街区ネットワーク算出処理手段と、 前記街区ネットワーク算出処理手段において算出された
街区を対象としたグラフ構造を利用して、要求された始
点から終点までの街区経路を算出する街区経路探索処理
手段と、 前記街区経路探索処理手段において算出された街区経路
から経路情報を取得し、利用者に出力する出力制御処理
手段と、 を備えることを特徴とする経路探索装置。3. A route search device that utilizes a map database to calculate a route from a start point to an end point requested by a user, and receives information on the start point and end point for which the user has requested a route search, Input receiving processing means for obtaining information on blocks adjacent to the start point and end point from a map database, and a block structure for searching block blocks connected to the target block from the map database and linking block blocks with connection relationships A block network calculation processing unit that calculates a block block route calculation processing unit that calculates a block block route from a requested start point to an end point by using a graph structure for the block calculated by the block block network calculation processing unit. And an output control processor that acquires route information from the block route calculated by the block route search processing means and outputs it to the user. Route search device characterized in that it comprises a and.
ピュータで実行するための経路探索プログラムを記録し
たことを特徴とするコンピュータで読み取り可能な記録
媒体。4. A computer-readable recording medium on which a route search program for executing the route search method according to claim 1 or 2 is recorded.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000234834A JP3522665B2 (en) | 2000-08-02 | 2000-08-02 | Route search method, route search device, and recording medium storing route search program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000234834A JP3522665B2 (en) | 2000-08-02 | 2000-08-02 | Route search method, route search device, and recording medium storing route search program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002048588A JP2002048588A (en) | 2002-02-15 |
| JP3522665B2 true JP3522665B2 (en) | 2004-04-26 |
Family
ID=18727148
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000234834A Expired - Fee Related JP3522665B2 (en) | 2000-08-02 | 2000-08-02 | Route search method, route search device, and recording medium storing route search program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3522665B2 (en) |
-
2000
- 2000-08-02 JP JP2000234834A patent/JP3522665B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002048588A (en) | 2002-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6952647B2 (en) | Route guidance apparatus and method | |
| CN111831766A (en) | Point-of-interest search method, readable storage medium, and electronic device | |
| US9285218B2 (en) | Shortest travel path determination using critical start time points | |
| JP2002228479A (en) | Route guidance generation method, route guidance device, server device, map information editing support device, and program | |
| CN109781132B (en) | A kind of empirical route replacement method, device, electronic device and storage medium | |
| WO2015129214A1 (en) | Route-finding device, route-finding method, and program | |
| JP3587691B2 (en) | Navigation method and apparatus, and recording medium recording program for processing this method | |
| CN113223516B (en) | Speech recognition method and device | |
| US8560224B2 (en) | Method and apparatus for establishing optimum route to intersection destination for navigation system | |
| JP2008076593A (en) | Simplified map generating apparatus and simplified map generation method | |
| JP4140338B2 (en) | Summary map generation device, road map conversion device, program, and summary map service system | |
| JP6055377B2 (en) | Route guidance system, route guidance method and computer program | |
| CN114428917B (en) | Map-based information sharing method and device, electronic equipment and medium | |
| JP3522665B2 (en) | Route search method, route search device, and recording medium storing route search program | |
| CN111814036A (en) | Search engine-based wireless hotspot and point of interest matching method, electronic device and storage medium | |
| JP2011145078A (en) | Device and method for generating data, and route search device | |
| CN115683127A (en) | Path planning method, device, equipment and medium | |
| JP2000076040A (en) | Voice input network terminal | |
| JP2000046576A (en) | Device and method for guiding moving body and machine- readable recording medium where program is recorded | |
| JP6276814B2 (en) | Route guidance system, route guidance method and computer program | |
| CN114993326B (en) | Navigation processing method, device and electronic equipment | |
| CN112115215A (en) | Method and device for determining lane center line | |
| JPH07200861A (en) | Center line calculator | |
| JP2001084357A (en) | How to extract road width data | |
| CN113470145A (en) | Map data processing method, map data processing device, map data processing equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040121 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040203 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040204 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080220 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090220 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090220 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100220 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110220 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110220 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120220 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |