JP5768426B2 - Mobile terminal and travel route calculation program - Google Patents

Mobile terminal and travel route calculation program Download PDF

Info

Publication number
JP5768426B2
JP5768426B2 JP2011063265A JP2011063265A JP5768426B2 JP 5768426 B2 JP5768426 B2 JP 5768426B2 JP 2011063265 A JP2011063265 A JP 2011063265A JP 2011063265 A JP2011063265 A JP 2011063265A JP 5768426 B2 JP5768426 B2 JP 5768426B2
Authority
JP
Japan
Prior art keywords
line segment
absolute position
point
mobile terminal
movement
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.)
Active
Application number
JP2011063265A
Other languages
Japanese (ja)
Other versions
JP2012198146A (en
Inventor
仁史 屋並
仁史 屋並
秀直 岩根
秀直 岩根
花田 雄一
雄一 花田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2011063265A priority Critical patent/JP5768426B2/en
Publication of JP2012198146A publication Critical patent/JP2012198146A/en
Application granted granted Critical
Publication of JP5768426B2 publication Critical patent/JP5768426B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本件は、移動端末及び移動経路算出プログラムに関する。   This case relates to a mobile terminal and a travel route calculation program.

近年、GPS(Global Positioning System)と自律航法を組み合わせたナビゲーションシステムが普及してきている。最近では、当該システムが搭載された携帯電話などの移動端末も出現してきている。   In recent years, navigation systems combining GPS (Global Positioning System) and autonomous navigation have become widespread. Recently, mobile terminals such as mobile phones equipped with the system have also appeared.

特許文献1に記載の技術は、直進時におけるGPS出力位置の軌跡の連続性や直進性を維持しつつ、右折時や左折時等におけるGPS出力位置の追従性の問題を解消するため、GPS測位を頻繁に行うとともに、ジャイロセンサで進行方向曲がりを検出する。   The technique described in Patent Document 1 uses GPS positioning in order to solve the problem of followability of the GPS output position when turning right or left while maintaining the continuity and straightness of the locus of the GPS output position when going straight. Is frequently performed, and a bending in the traveling direction is detected by a gyro sensor.

特開2009−115514号公報JP 2009-115514 A

しかしながら、GPSは地磁気センサなどの端末内センサに比べて消費電力が大きいため、特許文献1のようにGPS測位を頻繁に行う方法を用いるのは現実的でない。一方、端末内センサを用いると、センサの計測誤差が累積的に蓄積される可能性が高い。   However, since GPS consumes more power than in-terminal sensors such as geomagnetic sensors, it is not practical to use a method of frequently performing GPS positioning as in Patent Document 1. On the other hand, when the in-terminal sensor is used, there is a high possibility that the measurement error of the sensor is accumulated.

1つの側面では、本発明は、移動経路を精度よく算出することが可能な移動端末及び移動経路算出プログラムを提供することを目的とする。   In one aspect, an object of the present invention is to provide a mobile terminal and a travel route calculation program that can accurately calculate a travel route.

本明細書に記載の移動端末は、移動端末の絶対位置を検出する絶対位置検出部と、前記移動端末の加速度を検出する加速度検出部と、前記移動端末がある地点から所定方向に移動する場合に、該ある地点から、移動方向が該所定方向から別の方向に変更される他の地点までの間を結ぶ線分の長さを、検出された前記加速度の変化に基づいて算出する線分長算出部と、前記ある地点から前記他の地点までの移動中に検出した前記絶対位置と、算出した前記線分の長さとに基づいて、前記移動端末の移動経路を算出する移動経路算出部と、を備え、前記移動経路算出部は、検出した前記絶対位置と、算出した前記線分の長さと、与えられた前記線分の方向の初期角度とに基づき、前記線分の始点及び終点の各座標を算出し、前記線分の始点及び終点の各座標から、前記絶対位置に対応する前記線分上の点の座標を算出し、前記ある地点から前記他の地点までの移動中に検出した前記絶対位置の各々と、前記絶対位置の各々に対応する前記線分上の点との距離に関する指標に基づき、前記線分の長さを補正するための補正パラメータと前記線分の方向とを算出する。 The mobile terminal described in the present specification includes an absolute position detection unit that detects an absolute position of the mobile terminal, an acceleration detection unit that detects an acceleration of the mobile terminal , and a case where the mobile terminal moves in a predetermined direction from a certain point. In addition, a line segment that calculates the length of a line segment from the certain point to another point where the moving direction is changed from the predetermined direction to another direction is calculated based on the detected change in acceleration. A travel route calculation that calculates a travel route of the mobile terminal based on a length calculation unit , the absolute position detected during the movement from the certain point to the other point, and the calculated length of the line segment The movement path calculation unit, based on the detected absolute position, the calculated length of the line segment, and the initial angle in the direction of the given line segment, Calculate the coordinates of the end point and start and end points of the line segment. From each of the coordinates, the coordinates of the point on the line segment corresponding to the absolute position are calculated, and each of the absolute position detected during the movement from the certain point to the other point, and each of the absolute position based on the indicator of the distance between a point on the line segment corresponding to the previous SL and out compute the correction parameters and direction before Symbol line for correcting a length of a line.

本明細書に記載の移動経路算出プログラムは、移動端末の絶対位置を検出する絶対位置検出部の検出結果を取得し、前記移動端末がある地点から所定方向に移動する場合に、該ある地点から、移動方向が該所定方向から別の方向に変更される他の地点までの間を結ぶ線分の長さを、前記移動端末の加速度の変化に基づいて算出し、前記ある地点から前記他の地点までの移動中に検出した前記絶対位置と、算出した前記線分の長さとに基づいて、前記移動端末の移動経路を算出する、処理をコンピュータに実行させ、前記移動経路を算出する処理では、検出した前記絶対位置と、算出した前記線分の長さと、与えられた前記線分の方向の初期角度とに基づき、前記線分の始点及び終点の各座標を算出し、前記線分の始点及び終点の各座標から、前記絶対位置に対応する前記線分上の点の座標を算出し、前記ある地点から前記他の地点までの移動中に検出した前記絶対位置の各々と、前記絶対位置の各々に対応する前記線分上の点との距離に関する指標に基づき、前記線分の長さを補正するための補正パラメータと前記線分の方向とを算出する移動経路算出プログラムである。
The movement route calculation program described in this specification acquires a detection result of an absolute position detection unit that detects an absolute position of a mobile terminal, and when the mobile terminal moves in a predetermined direction from a certain point, , Calculating the length of a line segment connecting the moving direction from the predetermined direction to another point where the moving direction is changed to another direction based on a change in acceleration of the mobile terminal; In the process of calculating the movement route by causing the computer to execute a process of calculating the movement route of the mobile terminal based on the absolute position detected during the movement to the point and the calculated length of the line segment. Calculating the coordinates of the start point and end point of the line segment based on the detected absolute position, the calculated length of the line segment, and the initial angle in the direction of the given line segment, From the coordinates of the start point and end point, The coordinates of the point on the line segment corresponding to the absolute position are calculated, and each of the absolute position detected during the movement from the certain point to the other point and the line corresponding to each of the absolute position It is a moving route calculation program for calculating a correction parameter for correcting the length of the line segment and the direction of the line segment based on an index related to the distance from the point on the minute.

本明細書に記載の移動端末及び移動経路算出プログラムは、移動経路を精度よく算出することができるという効果を奏する。   The mobile terminal and the travel route calculation program described in this specification have an effect that the travel route can be calculated with high accuracy.

一実施形態に係る移動端末の構成を概略的に示す図である。It is a figure which shows schematically the structure of the mobile terminal which concerns on one Embodiment. 移動端末のハードウェア構成図である。It is a hardware block diagram of a mobile terminal. 図1の制御部の機能ブロック図である。It is a functional block diagram of the control part of FIG. 移動端末で実行される処理の全体的な流れを示すフローチャートである。It is a flowchart which shows the whole flow of the process performed with a mobile terminal. 図5(a)は、ステップS12のリンク情報取得処理のサブルーチンを示す図であり、図5(b)は、リンクデータベースを示す図である。FIG. 5A is a diagram showing a subroutine of link information acquisition processing in step S12, and FIG. 5B is a diagram showing a link database. 図6(a)、図6(b)は、ステップS14のGPS取得処理のサブルーチンを示す図である。FIGS. 6A and 6B are diagrams showing a subroutine of the GPS acquisition process in step S14. 図7(a)は、ステップS40〜S48の処理を経たときの、アンカーポイント取得状況を示す図であり、図7(b)は、GPSアプリの停止コマンドが入力された直後のアンカーポイント取得状況を示す図である。FIG. 7A is a diagram illustrating an anchor point acquisition situation when the processes of steps S40 to S48 are performed, and FIG. 7B is an anchor point acquisition situation immediately after the stop command of the GPS application is input. FIG. 図6(a)のステップS50のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of step S50 of Fig.6 (a). GPSデータベースを示す図である。It is a figure which shows a GPS database. 図10(a)〜図10(c)は、アンカーポイントの取得方法を示す図(その1)である。Fig.10 (a)-FIG.10 (c) are figures (the 1) which show the acquisition method of an anchor point. 図11(a),図11(b)は、アンカーポイントの取得方法を示す図(その2)である。FIG. 11A and FIG. 11B are diagrams (part 2) illustrating an anchor point acquisition method. 図12(a),図12(b)は、アンカーポイントの取得方法を示す図(その3)である。FIG. 12A and FIG. 12B are views (No. 3) showing an anchor point acquisition method. ステップS20のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of step S20. 最適化処理を示す図(その1)である。FIG. 6 is a diagram (part 1) illustrating an optimization process. ステップS152のサブルーチンである。This is a subroutine of step S152. 対応点座標Piの求め方を説明するための図である。It is a diagram illustrating how to obtain coordinates of the corresponding points P i. 図17(a)は、鏡像関係にある2つの移動経路を示す図であり,図17(b)は、地図とのマッチングにより真の移動経路を選択する例について説明するための図である。FIG. 17A is a diagram showing two movement paths having a mirror image relationship, and FIG. 17B is a diagram for explaining an example in which a true movement path is selected by matching with a map. 図18(a)は図13のステップS162を説明するための図であり、図18(b)は、図4のステップS22を説明するための図である。FIG. 18A is a diagram for explaining step S162 in FIG. 13, and FIG. 18B is a diagram for explaining step S22 in FIG. 図19(a)、図19(b)は、マップマッチングについて説明するための図である。FIG. 19A and FIG. 19B are diagrams for explaining map matching. 図20(a)〜図20(f)は、変形例に係る係数kの設定方法を説明するための図である。FIG. 20A to FIG. 20F are diagrams for explaining a method for setting the coefficient k according to the modification. 変形例に係る最適化処理を示す図である。It is a figure which shows the optimization process which concerns on a modification.

以下、移動端末の一実施形態について、図1〜図21に基づいて詳細に説明する。図1には、移動端末100がブロック図にて示されている。本実施形態では、移動端末100は、例えば、携帯電話、PHS(Personal Handy-phone System)、スマートフォン、PDA(Personal Digital Assistant)などの携帯型の端末である。   Hereinafter, an embodiment of a mobile terminal will be described in detail with reference to FIGS. FIG. 1 shows a mobile terminal 100 in a block diagram. In the present embodiment, the mobile terminal 100 is a portable terminal such as a mobile phone, a PHS (Personal Handy-phone System), a smartphone, or a PDA (Personal Digital Assistant).

移動端末100は、図1に示すように、絶対位置検出部30と、地磁気情報検出部40と、加速度情報検出部50と、表示画面60と、入力インタフェース62と、制御部20と、を備える。なお、移動端末100は、通話機能や、メール、インターネットなどの通信機能、撮影機能などの各種機能を備える場合もあるが、図1では、これらの機能を実現するための構成についての図示は省略している。   As shown in FIG. 1, the mobile terminal 100 includes an absolute position detection unit 30, a geomagnetic information detection unit 40, an acceleration information detection unit 50, a display screen 60, an input interface 62, and a control unit 20. . The mobile terminal 100 may have various functions such as a call function, a communication function such as mail and the Internet, and a photographing function. However, in FIG. 1, a configuration for realizing these functions is not illustrated. doing.

絶対位置検出部30は、本実施形態では、GPS受信機であり、上空に存在する複数個のGPS衛星からの信号を受けて、絶対位置(緯度・経度で示される位置)情報を得るものである。   In this embodiment, the absolute position detection unit 30 is a GPS receiver, and receives signals from a plurality of GPS satellites existing in the sky and obtains absolute position (position indicated by latitude and longitude) information. is there.

地磁気情報検出部40は、方位センサとも呼ばれ、3軸座標系上での地磁気の検出が可能な地磁気センサ、すなわち磁気方位センサである。加速度情報検出部50は、例えば、3軸方向の加速度を検出するセンサである。   The geomagnetic information detector 40 is also called an orientation sensor, and is a geomagnetic sensor capable of detecting geomagnetism on a three-axis coordinate system, that is, a magnetic orientation sensor. The acceleration information detection unit 50 is, for example, a sensor that detects acceleration in three axis directions.

表示画面60は、制御部20の指示の下、各種情報を表示するものであり、例えば、移動端末100を保持するユーザが移動したルートの情報を、表示する。入力インタフェース62は、キーボードやタッチパネルなどを含む。   The display screen 60 displays various types of information under the instruction of the control unit 20. For example, the display screen 60 displays information on the route traveled by the user holding the mobile terminal 100. The input interface 62 includes a keyboard and a touch panel.

図2には、制御部20のハードウェア構成が示されている。この図2に示すように、制御部20は、CPU(Central Processing Unit)90、ROM(Read Only Memory)91、RAM(Random Access Memory)92、記憶部(ここではHDD(Hard Disk Drive)とする)93、入出力部94等を備えており、制御部20の構成各部は、バス95を介して接続されている。制御部20では、CPU90がRAM92又はHDD93に格納された移動経路算出プログラムを実行することで、図3に示す各処理部の機能を実現する。また、HDD94は、制御部20内で得られたデータなどを記憶し、図3の情報記憶部23として機能する。入出力部94は、表示画面60や入力インタフェース62との通信を行う入出力ポートである。   FIG. 2 shows a hardware configuration of the control unit 20. As shown in FIG. 2, the control unit 20 includes a CPU (Central Processing Unit) 90, a ROM (Read Only Memory) 91, a RAM (Random Access Memory) 92, and a storage unit (here, an HDD (Hard Disk Drive)). ) 93, an input / output unit 94, etc., and each component of the control unit 20 is connected via a bus 95. In the control unit 20, the CPU 90 executes the movement route calculation program stored in the RAM 92 or the HDD 93, thereby realizing the functions of the respective processing units shown in FIG. The HDD 94 stores data obtained in the control unit 20 and functions as the information storage unit 23 in FIG. The input / output unit 94 is an input / output port that communicates with the display screen 60 and the input interface 62.

図3は、図1の制御部20の機能ブロック図である。この図3に示すように、制御部20は、CPU90が移動経路算出プログラムを実行することにより、制御部としての検出制御部21、取得部としてのリンク情報生成部22、情報記憶部23、移動経路算出部24、表示制御部25、及び計時部26等の機能を実現している。   FIG. 3 is a functional block diagram of the control unit 20 of FIG. As shown in FIG. 3, the control unit 20 is configured such that the CPU 90 executes a movement route calculation program, so that a detection control unit 21 as a control unit, a link information generation unit 22 as an acquisition unit, an information storage unit 23, Functions such as a route calculation unit 24, a display control unit 25, and a timer unit 26 are realized.

検出制御部21は、リンク情報生成部22からの情報、及び計時部26からの情報に基づいて、絶対位置検出部30の起動タイミング、すなわち検出タイミングを決定する。そして、検出制御部21は、決定した検出タイミングで、絶対位置検出部30に絶対位置計測を実行させる。   The detection control unit 21 determines the activation timing of the absolute position detection unit 30, that is, the detection timing, based on the information from the link information generation unit 22 and the information from the time measurement unit 26. Then, the detection control unit 21 causes the absolute position detection unit 30 to execute absolute position measurement at the determined detection timing.

リンク情報生成部22は、地磁気情報検出部40と加速度情報検出部50との検出結果に基づいて、移動端末100が直線移動している間(移動端末100がある地点から所定方向に移動する場合に、該ある地点から移動方向が該所定方向から変更される地点までの間)の距離の情報を含む線分情報(「リンク情報」と呼ぶ)を生成する。なお、リンク情報生成部22は、移動端末100を保持するユーザが歩き始めたときからリンク情報の生成を開始する。一方、リンク情報生成部22は、入力インタフェース62を介してユーザから入力される歩行終了のコマンドを受け付けたときに、リンク情報の生成を終了する。また、リンク情報生成部22は、入力インタフェース62から入力される、GPSアプリケーションを終了するコマンドを受け付けたときに、検出制御部21に対して絶対位置検出部30による検出を中止すべき旨の指示を出す。   Based on the detection results of the geomagnetic information detection unit 40 and the acceleration information detection unit 50, the link information generation unit 22 moves while the mobile terminal 100 is moving linearly (when the mobile terminal 100 moves in a predetermined direction from a certain point). In addition, line segment information (referred to as “link information”) including distance information from a certain point to a point where the moving direction is changed from the predetermined direction is generated. The link information generation unit 22 starts generating link information when the user holding the mobile terminal 100 starts walking. On the other hand, the link information generation unit 22 ends the generation of the link information when receiving a walk end command input from the user via the input interface 62. Further, the link information generation unit 22 instructs the detection control unit 21 to stop detection by the absolute position detection unit 30 when receiving a command to end the GPS application input from the input interface 62. Put out.

情報記憶部23は、リンク情報生成部22で生成されたリンク情報や絶対位置検出部30で検出されたGPS計測結果を、データベースにて記憶する。移動経路算出部24は、移動端末100が直進移動している間に絶対位置検出部30で検出されたGPS計測結果に基づいて、移動方向所定方向を算出するとともに、当該移動方向とリンク情報に含まれる直進距離とから移動端末100の移動経路を算出する。移動経路算出部24は、リンク情報やGPS計測結果を情報記憶部23から読み出す。なお、情報記憶部23にて記憶されているデータベースの詳細な内容については、後述する。   The information storage unit 23 stores the link information generated by the link information generation unit 22 and the GPS measurement result detected by the absolute position detection unit 30 in a database. The movement route calculation unit 24 calculates a predetermined direction of movement based on the GPS measurement result detected by the absolute position detection unit 30 while the mobile terminal 100 is moving straight ahead, and uses the movement direction and link information. The travel route of the mobile terminal 100 is calculated from the included straight distance. The movement route calculation unit 24 reads link information and GPS measurement results from the information storage unit 23. The detailed contents of the database stored in the information storage unit 23 will be described later.

表示制御部25は、移動経路算出部24で取得された移動経路を取得して、表示画面60上に表示する。計時部26は、例えば、リアルタイムクロックを含み、所定時間間隔(例えば、3分間隔)で、後述する仮の検出タイミングが到来したことを、検出制御部21に通知する。   The display control unit 25 acquires the movement route acquired by the movement route calculation unit 24 and displays it on the display screen 60. The timer unit 26 includes, for example, a real-time clock, and notifies the detection control unit 21 that a temporary detection timing described later has arrived at a predetermined time interval (for example, every 3 minutes).

次に、上記のように構成される移動端末100における処理について、図4〜図19に基づいて、詳細に説明する。図4は、移動端末100で実行される処理の全体的な流れを示すフローチャートである。   Next, processing in the mobile terminal 100 configured as described above will be described in detail with reference to FIGS. FIG. 4 is a flowchart showing an overall flow of processing executed by the mobile terminal 100.

図4の処理では、ステップS10において、リンク情報生成部22が、加速度情報検出部50が起動したか否かを判断する。このステップS10の判断が肯定された場合には、ステップS12及びステップS14に移行する。ステップS12、S14の各ステップは同時並行的に処理されるステップであり、ステップS12ではリンク情報取得処理が行われ、ステップS14ではGPS取得処理が行われる。以下、リンク情報取得処理(ステップS12)及びGPS取得処理(ステップS14)について、具体的に説明する。   In the process of FIG. 4, in step S10, the link information generation unit 22 determines whether or not the acceleration information detection unit 50 has been activated. If the determination in step S10 is affirmed, the process proceeds to step S12 and step S14. Steps S12 and S14 are steps processed in parallel. In step S12, link information acquisition processing is performed, and in step S14, GPS acquisition processing is performed. Hereinafter, the link information acquisition process (step S12) and the GPS acquisition process (step S14) will be specifically described.

(A)リンク情報取得処理(ステップS12)
ステップS12のリンク情報取得処理のサブルーチンは、図5(a)のフローチャートに沿って行われる。具体的には、まず、ステップS30において、リンク情報生成部22が、曲がりを検出したか否かを判断する。ここで、曲がりとは、移動端末100を保持するユーザが進行方向を変更することを意味する。リンク情報生成部22は、例えば、地磁気情報検出部40で検出される地磁気の変化量が所定値以上になったときに、曲がりがあったことを検出する。
(A) Link information acquisition process (step S12)
The subroutine of the link information acquisition process in step S12 is performed according to the flowchart of FIG. Specifically, first, in step S30, the link information generation unit 22 determines whether or not bending has been detected. Here, the bending means that the user holding the mobile terminal 100 changes the traveling direction. For example, the link information generation unit 22 detects that there is a bend when the amount of change in geomagnetism detected by the geomagnetic information detection unit 40 exceeds a predetermined value.

ステップS30の判断が肯定されると、ステップS32に移行し、リンク情報生成部22は、直線移動した距離(リンク長)を次式(1)に基づいて算出する。
リンク長=(曲がりを検出したときの通算歩数
−前回曲がりを検出したときの通算歩数)×歩幅 …(1)
When the determination in step S30 is affirmed, the process proceeds to step S32, and the link information generation unit 22 calculates the distance (link length) moved linearly based on the following equation (1).
Link length = (total number of steps when bending was detected
-The total number of steps when a previous turn was detected) x stride (1)

ここで、歩数は、加速度情報検出部50により検出される加速度の変化から取得される値であり、歩幅は、ユーザにより設定される値である。なお、ユーザは歩幅に代えて、身長を入力することとしてもよく、この場合には、リンク情報生成部22は、入力された身長から、おおよその歩幅を算出する。なお、本実施形態では、上記のように歩数と予め入力された歩幅からリンク長を算出するため、リンク長が実際の歩行距離とは異なる値を示すおそれがある。   Here, the number of steps is a value acquired from a change in acceleration detected by the acceleration information detection unit 50, and the stride is a value set by the user. The user may input height instead of the stride. In this case, the link information generation unit 22 calculates an approximate stride from the input height. In this embodiment, since the link length is calculated from the number of steps and the step length input in advance as described above, the link length may have a value different from the actual walking distance.

ステップS12の処理が終了すると、図4のステップS16に移行する。ステップS16では、リンク情報生成部22が、移動経路算出用のデータとして、上式(1)に基づいて算出されたリンク長を情報記憶部23に格納されているリンクデータベース(図5(b)参照)の「補正前リンク長」に登録する。ここで、リンクデータベースには、図5(b)に示すように、リンクの通し番号である「リンクNo.」、曲がりを検出したときのユーザの通算の歩数である「曲がり時歩数」、曲がり時歩数と歩幅とから算出される「補正前リンク長」、及び補正前リンク長が補正された後のリンク長を示す「補正後リンク長」、所定方向(例えば、東)を基準とした角度(反時計回りの角度)である「リンク角度」、リンクの始点の座標である「リンク始点(x)」、「リンク始点(y)」、リンクの終点の座標である「リンク終点(x)」、「リンク終点(y)」の項目を含んでいる。なお、ステップS16の段階では、「リンク角度」、「リンク始点(x)」、「リンク始点(y)」、「リンク終点(x)」、「リンク終点(y)」の項目は空白のままとなる。   When the process of step S12 ends, the process proceeds to step S16 of FIG. In step S16, the link information generation unit 22 stores the link length calculated based on the above equation (1) as data for calculating the travel route in the information storage unit 23 (FIG. 5B). (See “Link length before correction”). Here, as shown in FIG. 5B, the link database includes “link No.” that is the serial number of the link, “steps at the time of bending” that is the total number of steps of the user when the bending is detected, “Link length before correction” calculated from the number of steps and the stride, and “Link length after correction” indicating the link length after correction of the link length before correction, an angle with reference to a predetermined direction (for example, east) ( "Link angle" which is a counterclockwise angle), "Link start point (x)" which is the coordinate of the link start point, "Link start point (y)", and "Link end point (x)" which is the coordinate of the end point of the link , “Link end point (y)” is included. In the step S16, the items “link angle”, “link start point (x)”, “link start point (y)”, “link end point (x)”, and “link end point (y)” are left blank. It becomes.

そして、ステップS18では、リンク情報生成部22が歩行終了か否かを判断し、ここでの判断が否定された場合には、ステップS12に戻る。なお、ステップS18において歩行終了と判断される場合とは、例えば、加速度情報検出部50が所定時間ユーザの歩行を検出しなかったような場合や、ユーザが入力インタフェース62から、歩行終了のコマンドを入力した場合などである。   In step S18, the link information generation unit 22 determines whether or not walking is completed. If the determination here is negative, the process returns to step S12. The case where it is determined in step S18 that the walking has ended is, for example, a case where the acceleration information detection unit 50 has not detected the user's walking for a predetermined time, or a case where the user has issued a walking end command from the input interface 62. This is the case when it is entered.

なお、ステップS12の処理により得られるリンク長を含む線分の情報は、リンク又はリンク情報と呼ばれる。リンク情報は、始点と終点との間の長さの情報を含んでいるが、始点から終点まで延びる方向(東に対する角度)についての情報は含んでいない。各リンクには、取得順にリンクNo.が付与される。   Note that the line segment information including the link length obtained by the process of step S12 is called a link or link information. The link information includes information on the length between the start point and the end point, but does not include information on the direction (angle with respect to the east) extending from the start point to the end point. Each link has a link No. in the order of acquisition. Is granted.

なお、以下においては、端末が現に移動しているリンクを「現在リンク」と呼ぶ。ただし、現在リンクを直進している間は、現在リンクの情報は、リンク情報生成部22では取得されないもので、次に曲がりが検出されたときにはじめて生成されるものである。また、現在リンクの前に生成されたリンク、すなわち、直近の曲がり検出が行われたときに生成されたリンクを、「1つ前のリンク」と呼ぶ(図11(a)等参照)。また、現在リンクの前の前に生成されたリンクを、「2つ前のリンク」と呼ぶ(図11(a)等参照)。   In the following, the link on which the terminal is currently moving is referred to as a “current link”. However, the current link information is not acquired by the link information generation unit 22 while the current link is traveling straight, and is generated only when the next turn is detected. In addition, a link generated before the current link, that is, a link generated when the latest bend detection is performed is referred to as “the previous link” (see FIG. 11A, etc.). A link generated before the current link is referred to as “two previous links” (see FIG. 11A, etc.).

(B)GPS取得処理(ステップS14)
次に、上記(A)リンク情報取得処理と同時並行的に行われる、ステップS14のGPS取得処理のサブルーチンについて、図6(a),図6(b)のフローチャートに沿って説明する。これら図6(a)の処理と、図6(b)の処理も、同時並行的に行われる。なお、図6(a)の処理については、以下において、「ステップS14(1)」と記述し、図6(b)の処理については、以下において、「ステップS14(2)」と記述するものとする。
(B) GPS acquisition process (step S14)
Next, the subroutine of the GPS acquisition process in step S14 performed in parallel with the above (A) link information acquisition process will be described with reference to the flowcharts of FIGS. 6 (a) and 6 (b). The processing of FIG. 6A and the processing of FIG. 6B are also performed in parallel. The process in FIG. 6A is described as “step S14 (1)” below, and the process in FIG. 6B is described as “step S14 (2)” in the following. And

図6(a)のステップS14(1)では、ステップS40において、検出制御部21が、ユーザにより、GPS計測用のアプリケーション(以下、「GPSアプリ」と呼ぶ)が起動されたか否かを判断する。ユーザは、GPSアプリを起動するためのコマンドを、入力インタフェース62から入力する。ここでの判断が肯定されると、検出制御部21は、ステップS42に移行する。   In step S14 (1) in FIG. 6A, in step S40, the detection control unit 21 determines whether or not a GPS measurement application (hereinafter referred to as “GPS application”) is activated by the user. . The user inputs a command for starting the GPS application from the input interface 62. If the determination here is affirmed, the detection control unit 21 proceeds to step S42.

ステップS42では、検出制御部21の指示の下、計時部26が、タイマーを起動する。次いで、ステップS44では、検出制御部21が、絶対位置検出部30を介して、GPS計測を行う。GPS計測では、移動端末100の絶対位置(緯度、経度)が検出されることになる。なお、以下においては、ステップS12のリンク情報取得処理と並行して行うGPS計測(取得)を、「アンカーポイント取得」とも呼ぶものとする。また、アンカーポイントの位置情報についても、単に「アンカーポイント」と呼ぶものとする。   In step S42, under the instruction of the detection control unit 21, the timer unit 26 starts a timer. Next, in step S <b> 44, the detection control unit 21 performs GPS measurement via the absolute position detection unit 30. In the GPS measurement, the absolute position (latitude, longitude) of the mobile terminal 100 is detected. In the following, the GPS measurement (acquisition) performed in parallel with the link information acquisition process in step S12 is also referred to as “anchor point acquisition”. Further, the position information of the anchor point is also simply referred to as “anchor point”.

ここまでのステップS40〜ステップS44の処理では、GPSアプリが起動された直後に、アンカーポイントが取得(アンカーポイントの位置情報が取得)されていることになる。   In the processing from step S40 to step S44 so far, the anchor point is acquired (position information of the anchor point is acquired) immediately after the GPS application is activated.

次いで、ステップS46では、検出制御部21が、ユーザが30m歩行したか否かを判断する。ここで、検出制御部21は、30m歩行したか否かの判断を、加速度情報検出部50により検出される歩数と、歩幅との積から算出した値に基づいて行うものとする。ただし、これに限らず、検出制御部21は、一般的にユーザが30m歩行するのに要する時間(例えば、23秒)が経過したか否かに基づいて、30m歩行したか否かの判断を行うこととしても良い。なお、30m歩行するのに要する時間は、予め設定されていても良いが、検出制御部21が過去に取得された歩数に関するデータなどから自動的に設定することとしても良い。ステップS46の判断が肯定されると、ステップS48に移行する。   Next, in step S46, the detection control unit 21 determines whether or not the user has walked 30 m. Here, the detection control unit 21 determines whether or not the user has walked for 30 m based on a value calculated from the product of the number of steps detected by the acceleration information detection unit 50 and the step length. However, not limited to this, the detection control unit 21 generally determines whether or not the user has walked for 30 m based on whether or not the time required for the user to walk for 30 m (for example, 23 seconds) has elapsed. It is good to do. The time required for walking 30 meters may be set in advance, or may be automatically set by the detection control unit 21 based on data relating to the number of steps acquired in the past. If the determination in step S46 is affirmative, the process proceeds to step S48.

ステップS48では、検出制御部21が、再度アンカーポイントを取得する。本実施形態では、上記のようにステップS40〜S48の処理を経ることで、図7(a)に示すように、GPSアプリを起動した位置(始点)から歩行を開始した後において、2つのアンカーポイントが取得されることになる。なお、図7(a)では、アンカーポイントを「Gn」で示し、アンカーポイントを取得した際のリンク上の位置(点)を「Pn」で示している。ここで、図7(a)において、始点から30m歩行した位置と、アンカーポイントを取得したときのリンク上の位置とが異なっている。このように位置が異なるのは、絶対位置検出部30では、その起動からアンカーポイントの検出までの間に、若干の遅れが生じることに起因している。なお、上記のように、検出制御部21が、始点から歩行を開始した後において2つのアンカーポイントを取得するのは、歩き始めの段階で、どちらの方向に向かって歩いているのかを取得しておくことで、後に行われる移動経路の算出精度を向上することができるからである。 In step S48, the detection control unit 21 acquires an anchor point again. In the present embodiment, after the processing of steps S40 to S48 as described above, as shown in FIG. 7A, after starting walking from the position (starting point) where the GPS application is activated, two anchors are used. Points will be acquired. In FIG. 7A, the anchor point is indicated by “G n ”, and the position (point) on the link when the anchor point is acquired is indicated by “P n ”. Here, in Fig.7 (a), the position which walked 30 m from the starting point, and the position on a link when an anchor point is acquired differ. The difference in position is caused by a slight delay in the absolute position detection unit 30 between the activation and detection of the anchor point. Note that, as described above, the detection control unit 21 acquires two anchor points after starting walking from the start point, and acquires which direction the person is walking toward at the beginning of walking. This is because it is possible to improve the calculation accuracy of the movement route performed later.

その後、検出制御部21は、ステップS50の通常処理に移行する。なお、ステップS50の処理については後述する。   Thereafter, the detection control unit 21 proceeds to the normal process of step S50. The process of step S50 will be described later.

上記図6(a)の処理と同時並行的に行われる図6(b)のステップS14(2)では、検出制御部21は、ステップS60において、GPSアプリがユーザにより停止されるまで待機する。ユーザが、入力インタフェース62を介して、GPSアプリの停止コマンドを入力すると、ステップS60の判断が肯定され、ステップS62に移行する。ステップS62では、検出制御部21が、アンカーポイントを取得し、その後、図4のステップS16に移行する。なお、ステップS62では、図7(b)に示すように、GPSアプリの停止コマンドが入力された直後に、アンカーポイントGfinalが取得されることになる。 In step S14 (2) of FIG. 6B performed in parallel with the processing of FIG. 6A, the detection control unit 21 waits until the GPS application is stopped by the user in step S60. When the user inputs a GPS application stop command via the input interface 62, the determination in step S60 is affirmed, and the process proceeds to step S62. In step S62, the detection control unit 21 acquires an anchor point, and then proceeds to step S16 in FIG. In step S62, as shown in FIG. 7B, the anchor point G final is acquired immediately after the stop command of the GPS application is input.

次に、図6(a)のステップS50における「通常処理」のサブルーチンについて、図8に基づいて、詳細に説明する。なお、図8の処理が開始されると同時に、計時部26による計時を開始、すなわち、タイマーをスタートする。   Next, the “normal processing” subroutine in step S50 of FIG. 6A will be described in detail with reference to FIG. At the same time as the processing shown in FIG.

図8では、まず、ステップS70において、検出制御部21が、計時部26のタイマーを参照して、所定時間経過したか否かを判断する。ここでの判断が肯定された場合にはステップS72に移行するが、否定された場合にはステップS80に移行する。なお、所定時間とは、GPS計測を間欠的に行う間隔を意味し、予め定められた時間(例えば3分)であるものとする。なお、所定時間が経過するタイミングは、絶対位置を検出するための、仮の検出タイミングであるともいえる。仮の検出タイミングとは、ステップS74において判断が否定されることで、真の検出タイミングになるタイミングのことをいう。   In FIG. 8, first, in step S <b> 70, the detection control unit 21 refers to the timer of the time measuring unit 26 and determines whether or not a predetermined time has elapsed. If the determination here is affirmed, the process proceeds to step S72. If the determination is negative, the process proceeds to step S80. The predetermined time means an interval at which GPS measurement is intermittently performed, and is a predetermined time (for example, 3 minutes). Note that the timing at which the predetermined time elapses can be said to be provisional detection timing for detecting the absolute position. The provisional detection timing refers to a timing at which a true detection timing is reached when the determination is negative in step S74.

ステップS70の判断が肯定されて、ステップS72に移行した場合、検出制御部21は、現在リンクにおいてGPS計測(アンカーポイント取得)が既に行われているか否かの検索を行う。このステップS72では、検出制御部21は、情報記憶部23内に格納されている図9のようなGPSデータベースを検索する。GPSデータベースは、図9に示すように、アンカーポイントの計測が行われたときに取得中であったリンクの通し番号である「リンクNo.」、GPS測位結果を示す「緯度」、「経度」、GPS取得時までに歩き始めからユーザが歩いた歩数を示す「GPS取得時歩数」、及び「フラグ」の項目を有している。図9では、例えば、リンクの通し番号が「10」や「9」のときには、GPS計測が行われたことを示しているが、リンクの通し番号が「8」や「7」のときには、GPSデータベースのリンクNo.の項目に、「8」や「7」が存在していないので、GPS計測が行われていないことを示している。   When the determination in step S70 is affirmed and the process proceeds to step S72, the detection control unit 21 performs a search to determine whether GPS measurement (anchor point acquisition) has already been performed on the current link. In step S <b> 72, the detection control unit 21 searches a GPS database as shown in FIG. 9 stored in the information storage unit 23. As shown in FIG. 9, the GPS database includes a “link No.” that is a serial number of the link that was being acquired when the anchor point was measured, a “latitude” that indicates a GPS positioning result, a “longitude”, It has items of “number of steps at the time of GPS acquisition” and “flag” indicating the number of steps the user has walked from the start of walking until GPS acquisition. In FIG. 9, for example, when the link serial number is “10” or “9”, it indicates that GPS measurement has been performed. However, when the link serial number is “8” or “7”, Link No. Since “8” and “7” do not exist in the item, it indicates that GPS measurement is not performed.

次のステップS74では、検出制御部21が、ステップS72の検索の結果に基づいて、現在リンクで既にGPS計測が行われたか否かを判断する。ここでの判断が否定された場合には、ステップS78に移行し、検出制御部21は、絶対位置検出部30を用いて、アンカーポイントを取得する。その後は、検出制御部21は、ステップS96において、計時部26のタイマーをリセットして、ステップS70に戻る。   In the next step S74, the detection control unit 21 determines whether GPS measurement has already been performed on the current link based on the search result in step S72. When determination here is denied, it transfers to step S78 and the detection control part 21 acquires an anchor point using the absolute position detection part 30. FIG. Thereafter, in step S96, the detection control unit 21 resets the timer of the time measuring unit 26 and returns to step S70.

すなわち、図10(a)に示すように、現在リンクにおいて、未だアンカーポイントを取得していない場合には、検出制御部21は、所定時間経過後に絶対位置検出部30を起動して、位置Piにてアンカーポイントを取得する。換言すると、1つのリンクにおいては、2回以上アンカーポイントを取得しないようにする。このようにするのは、1つのリンクにおいて2回以上アンカーポイントを取得しても、移動経路の算出精度にさほど寄与することがない一方で、絶対位置検出部30の検出回数を減らすことで、電力消費量を低減することができるからである。 That is, as shown in FIG. 10A, when an anchor point has not yet been acquired in the current link, the detection control unit 21 activates the absolute position detection unit 30 after a predetermined time elapses, and the position P Get an anchor point at i . In other words, an anchor point is not acquired more than once in one link. In this way, even if the anchor point is acquired twice or more in one link, it does not contribute much to the calculation accuracy of the movement route, while the number of detection times of the absolute position detection unit 30 is reduced. This is because power consumption can be reduced.

一方、ステップS74の判断が肯定された場合、すなわち、図10(b)に示すように、現在リンクでGPSが既に取得されていた場合には、ステップS76に移行する。このステップS76では、検出制御部21が、フラグを立てる、つまり図9のGPSデータベースの「フラグ」の項目に1を設定する。その後、検出制御部21は、ステップS80に移行する。   On the other hand, if the determination in step S74 is affirmative, that is, as shown in FIG. 10B, if the GPS has already been acquired with the current link, the process proceeds to step S76. In this step S76, the detection control unit 21 sets a flag, that is, sets 1 in the “flag” item of the GPS database in FIG. Thereafter, the detection control unit 21 proceeds to step S80.

ステップS80では、検出制御部21が、曲がり検出したか否かを判断する。ここでの判断が否定された場合には、ステップS70に戻るが、判断が肯定された場合には、ステップS82に移行する。   In step S80, the detection control unit 21 determines whether or not bending is detected. If the determination is negative, the process returns to step S70. If the determination is positive, the process proceeds to step S82.

ステップS82では、検出制御部21が、過去2リンクを検索する。この検索の際には、ステップS72と同様、検出制御部21は、図9(a)のデータベースを検索する。すなわち、検出制御部21は、例えば、現在取得中のリンクの通し番号が「10」であるならば、通し番号「9」と「8」のリンクを検索する。   In step S82, the detection control unit 21 searches for the past two links. In this search, as in step S72, the detection control unit 21 searches the database in FIG. That is, for example, if the serial number of the currently acquired link is “10”, the detection control unit 21 searches for links with serial numbers “9” and “8”.

次いで、ステップS84では、検出制御部21が、過去1リンク(1つ前のリンク)にフラグが立っているか否かを判断する。ここでの判断が肯定された場合、すなわち、1つ前のリンクにフラグ「1」が設定されている場合には、ステップS94に移行する。ステップS94に移行した場合、前述したのと同様、検出制御部21は、絶対位置検出部30を用いて、アンカーポイントを取得する。そして、検出制御部21は、ステップS96において、計時部26のタイマーをリセットして、ステップS70に戻る。すなわち、図10(c)に示すように、フラグが立った後に、曲がり検出がされた場合には、当該曲がり検出の直後に、アンカーポイントが取得されることになる。このように、曲がりが検出された直後にアンカーポイントを取得するのは、前述したように同一リンク上で2回以上絶対位置が取得されるのを回避した一方で、あまりにも長い間、絶対位置の取得が行われないとすると、移動経路の算出精度が低下するおそれがあるからである。   Next, in step S84, the detection control unit 21 determines whether or not a flag is set on the past one link (the previous link). If the determination here is affirmative, that is, if the flag “1” is set for the previous link, the process proceeds to step S94. When the process proceeds to step S94, the detection control unit 21 acquires an anchor point using the absolute position detection unit 30 as described above. And the detection control part 21 resets the timer of the time measuring part 26 in step S96, and returns to step S70. That is, as shown in FIG. 10C, when a bend is detected after the flag is set, an anchor point is acquired immediately after the bend is detected. Thus, acquiring an anchor point immediately after a bend is detected avoids acquiring an absolute position more than once on the same link as described above, while the absolute position is too long. This is because the calculation accuracy of the movement route may be reduced if the acquisition of the above is not performed.

これに対し、ステップS84の判断が否定された場合には、ステップS86において、検出制御部21が、2リンク前に、すなわち2つ前のリンクにおいてGPSが取得されているか否かを判断する。ここでの判断が肯定された場合には、ステップS70に戻る。すなわち、2リンク前にGPSが取得されていた場合には、図11(a)、図11(b)に示すように、1つ前のリンクにおいてGPSが取得されていたか否かにかかわらず、今回の曲がり検出後には、アンカーポイントを取得しない。このようにするのは、図11(b)のように連続するリンクでアンカーポイントを取得しなくても、リンクの角度を決定するのに支障はないためである。また、2本のリンクにおいてアンカーポイントを取得しなくても、次のリンクでアンカーポイントが取得できれば、リンクの角度を決定するのに支障はないためである。更に、アンカーポイントを取得しないこととすることで、絶対位置検出部30の検出回数を減らすことができ、これにより、電力消費量を低減することができるからである。   On the other hand, if the determination in step S84 is negative, in step S86, the detection control unit 21 determines whether GPS has been acquired two links before, that is, two links before. When judgment here is affirmed, it returns to step S70. That is, if GPS was acquired two links before, regardless of whether GPS was acquired in the previous link, as shown in FIGS. 11 (a) and 11 (b), The anchor point is not acquired after the current bend detection. This is because there is no hindrance in determining the link angle even if the anchor point is not acquired by a continuous link as shown in FIG. In addition, even if the anchor point is not acquired for the two links, if the anchor point can be acquired for the next link, there is no problem in determining the link angle. Furthermore, by not acquiring the anchor point, the number of detections by the absolute position detection unit 30 can be reduced, thereby reducing the power consumption.

一方、ステップS86の判断が否定された場合には、ステップS88に移行し、検出制御部21は、1リンク前、すなわち、1つ前のリンクにおいてGPS、すなわちアンカーポイントが取得されていたか否かを判断する。   On the other hand, if the determination in step S86 is negative, the process proceeds to step S88, and the detection control unit 21 determines whether the GPS, that is, the anchor point has been acquired in the previous link, that is, the previous link. Judging.

ここでの判断が肯定された場合には、ステップS94に移行して、検出制御部21は、絶対位置検出部30を用いて、アンカーポイントを取得する。そして、検出制御部21は、ステップS96において、計時部26のタイマーをリセットして、ステップS70に戻る。すなわち、図12(a)に示すように、2リンク前にアンカーポイントが取得されておらず、1リンク前にアンカーポイントが取得されている場合には、アンカーポイントを取得する。なお、このタイミングでアンカーポイントを取得するのは、図12(a)のPiにおいてアンカーポイントを取得しておかないと、移動経路算出に支障が出る(移動経路の一部が反転(左右対称)してしまう)おそれがあるからである。 When the determination here is affirmed, the process proceeds to step S94, and the detection control unit 21 acquires an anchor point using the absolute position detection unit 30. And the detection control part 21 resets the timer of the time measuring part 26 in step S96, and returns to step S70. That is, as shown in FIG. 12A, when the anchor point is not acquired two links before and the anchor point is acquired one link before, the anchor point is acquired. The anchor point is acquired at this timing unless the anchor point is acquired in P i of FIG. 12A. If the anchor point is not acquired, the movement path calculation is hindered (part of the movement path is reversed (symmetrical). This is because there is a risk of

一方、ステップS88の判断が否定された場合には、ステップS90に移行する。このステップS90では、検出制御部21が、絶対位置検出部30を用いて、アンカーポイントを取得し、その後、ステップS92において、ユーザが30m歩行したと判断されるまで待機する。そして、ステップS92において、ユーザが30m歩行したことを、検出制御部21が判断した段階で、ステップS94に移行する。このステップS94では、検出制御部21が、絶対位置検出部30を用いて、アンカーポイントを再度取得する。すなわち、この場合、図12(b)に示すように、曲がり検出後、30mの間隔を空けて、2つのアンカーポイントが取得されることになる。このようにアンカーポイントを続けて2回計測するのは、当該2回の計測により、現在リンクの方向がほぼ決まるので、これにより、その前の2つのリンクの方向を、反転なく、大まかに決めることができるからである。その後、検出制御部21は、ステップS96において、計時部26のタイマーをリセットして、ステップS70に戻る。   On the other hand, if the determination in step S88 is negative, the process proceeds to step S90. In step S90, the detection control unit 21 acquires an anchor point using the absolute position detection unit 30, and then waits until it is determined in step S92 that the user has walked 30 m. And in step S92, when the detection control part 21 judges that the user walked 30m, it transfers to step S94. In step S94, the detection control unit 21 uses the absolute position detection unit 30 to acquire an anchor point again. That is, in this case, as shown in FIG. 12B, two anchor points are acquired with an interval of 30 m after the detection of the bending. The measurement of the anchor point twice in this way is because the direction of the current link is almost determined by the two measurements, so the direction of the previous two links is roughly determined without inversion. Because it can. Thereafter, the detection control unit 21 resets the timer of the time measuring unit 26 in step S96, and returns to step S70.

以上の処理が繰り返し行われることで、アンカーポイントが間欠的に取得されることになる。なお、図8の繰り返し処理は、図6(b)のステップS60における判断が肯定された段階で、強制的に終了する。   By repeating the above processing, anchor points are acquired intermittently. Note that the iterative process in FIG. 8 is forcibly terminated when the determination in step S60 in FIG. 6B is affirmed.

図4に戻り、ステップS14の後に行われるステップS16では、検出制御部21が、移動経路算出用のデータとして、アンカーポイントの情報(GPS計測結果)を、情報記憶部23のGPSデータベースに保存する。そして、ステップS18に移行すると、検出制御部21は、歩行終了か否かを判断する。ここでの判断が肯定されると、検出制御部21は、ステップS20に移行する。以下、ステップS20の具体的な処理内容について、図13、図15のフローチャートに基づいて、説明する。   Returning to FIG. 4, in step S <b> 16 performed after step S <b> 14, the detection control unit 21 stores anchor point information (GPS measurement result) in the GPS database of the information storage unit 23 as data for moving route calculation. . And if it transfers to step S18, the detection control part 21 will judge whether it is a walk end. If the determination here is affirmed, the detection control unit 21 proceeds to step S20. Hereinafter, the specific processing content of step S20 is demonstrated based on the flowchart of FIG. 13, FIG.

(C)リンク角度・補正パラメータ算出処理(ステップS20)
図13は、ステップS20の処理の全体的な流れを示すフローチャートであり、図15は、図13のステップS152の処理内容を具体的に示すフローチャートである。なお、本ステップS20は、登録された歩幅の値に誤差があったり、実際の歩幅のばらつきがあったりするなどして、リンクの長さが正確でないことに起因して生じる移動経路の誤差の発生を抑制する処理である。また、本ステップS20は、アンカーポイントを間欠的に取得することにより実際の移動経路とは異なる(鏡像関係の)移動経路が算出されることを抑制する処理である。
(C) Link angle / correction parameter calculation processing (step S20)
FIG. 13 is a flowchart showing the overall flow of the processing in step S20, and FIG. 15 is a flowchart specifically showing the processing content of step S152 in FIG. In this step S20, the error of the movement path caused by the fact that the link length is not accurate due to an error in the registered stride value or a variation in the actual stride. This is a process for suppressing the occurrence. In addition, this step S20 is a process for suppressing the calculation of a movement path (mirror image relation) different from the actual movement path by intermittently acquiring anchor points.

図13の処理では、まず、ステップS140において、移動経路算出部24が、最適化処理を行う最初のリンクをリンク(i)とする。ここで、最適化処理とは、図14のように連続する3本のリンク(ここでは、それぞれにおいてアンカーポイントが取得されているものとする)と、各リンクに対応するアンカーポイントを用いて、3本のうちで最も過去に取得されたリンクの角度(t1)の最適値と、リンクの長さの補正パラメータr1の最適値を算出するというものである。なお、ここでは、i=1であるものとする。 In the process of FIG. 13, first, in step S140, the movement route calculation unit 24 sets the first link for performing the optimization process as the link (i). Here, the optimization process is performed using three consecutive links (here, anchor points are acquired in each case) and anchor points corresponding to each link as shown in FIG. Of these, the optimum value of the link angle (t 1 ) acquired in the past and the optimum value of the link length correction parameter r 1 are calculated. Here, it is assumed that i = 1.

次のステップS142では、移動経路算出部24が、最適化処理に用いるリンクの番号を示すパラメータjの値をiと同一に設定するとともに、リンク取得数を示すパラメータCの値を0に設定する。すなわち、ここでは、移動経路算出部24は、j=1、C=0とする。   In the next step S142, the movement route calculation unit 24 sets the value of the parameter j indicating the link number used in the optimization process to be the same as i, and sets the value of the parameter C indicating the number of acquired links to 0. . That is, here, the movement route calculation unit 24 sets j = 1 and C = 0.

次いで、ステップS144では、移動経路算出部24が、リンク(j)を取得する。すなわち、リンク(j)を最適化処理に用いるリンクとする。次いで、ステップS146では、Cを1インクリメント(C←C+1、ここではC←1)した後、ステップS148に移行する。次いで、ステップS148では、移動経路算出部24が、C=Nであるか否かを判断する。この場合の値Nは、最適化に用いるべき、アンカーポイント取得が行われたリンク、すなわち、アンカーポイントが対応付けられたリンク、の本数である。なお、ここでは、N=3であるものとして説明する。このステップS148の判断が否定されると、ステップS150に移行し、移動経路算出部24が、jを1インクリメントする(j←j+1、ここでは、j←2)。その後、ステップS144に戻り、N本(ここでは3本)のリンクが取得されるまで、移動経路算出部24は、ステップS144〜S150の処理判断を繰り返す。   Next, in step S144, the movement route calculation unit 24 acquires the link (j). That is, link (j) is a link used for optimization processing. Next, in step S146, C is incremented by 1 (C ← C + 1, here C ← 1), and then the process proceeds to step S148. Next, in step S148, the movement route calculation unit 24 determines whether or not C = N. The value N in this case is the number of links that have been acquired anchor points, that is, links that are associated with anchor points, to be used for optimization. Here, it is assumed that N = 3. If the determination in step S148 is negative, the process proceeds to step S150, and the movement route calculation unit 24 increments j by 1 (j ← j + 1, here j ← 2). Thereafter, the process returns to step S144, and the movement route calculation unit 24 repeats the processing determinations of steps S144 to S150 until N (in this case, three) links are acquired.

そして、ステップS148の判断が肯定された段階で、ステップS152に移行する。   Then, when the determination in step S148 is affirmed, the process proceeds to step S152.

このようにステップS152に移行する段階では、リンク(i)(ここでは、リンク(1))を最適化するために用いるリンクとして、図14に示す、リンク(1)〜リンク(3)が取得されたことになる。   Thus, at the stage of moving to step S152, links (1) to (3) shown in FIG. 14 are acquired as links used for optimizing link (i) (here, link (1)). It will be done.

次のステップS152では、最適化処理のサブルーチンが実行される。具体的には、図15の処理が実行される。図15の処理では、まず、ステップS160において、移動経路算出部24が、各リンクの初期角度を決定する。このステップS160では、例えば、N本(ここでは3本)の角度t1、t2、t3の初期値を、ランダムに設定する。なお、これに限らず、t1の初期値を0°、t2の初期値を90°、t3の初期値を180°というように、90°刻みで設定しても良い。また、t1の初期値を0°、t2の初期値を45°、t3の初期値を90°というように、45°刻みで設定しても良い。あるいは、その他の角度刻みで設定しても良い。 In the next step S152, an optimization processing subroutine is executed. Specifically, the process of FIG. 15 is executed. In the process of FIG. 15, first, in step S160, the movement route calculation unit 24 determines the initial angle of each link. In this step S160, for example, initial values of N (here, 3) angles t 1 , t 2 , t 3 are set at random. However, the present invention is not limited to this, and the initial value of t 1 may be set in increments of 90 °, such as 0 °, the initial value of t 2 may be 90 °, and the initial value of t 3 may be 180 °. Alternatively, the initial value of t 1 may be set in increments of 45 °, such as 0 °, the initial value of t 2 may be 45 °, and the initial value of t 3 may be 90 °. Alternatively, other angular increments may be set.

次いで、ステップS162では、移動経路算出部24が、対応点座標Pjを算出する。ここで、対応点座標Pjとは、アンカーポイントを取得したときに移動端末100が位置していたリンク上の1点(位置座標)を意味する。ここで、図16に示すように、j番目のリンクの始点をCj-1、終点をCj、長さ(リンク長)をljし、図14の始点C0の座標を(x0,y0)とすると、図14のC1〜C3は、次式(2)〜(4)にて表すことができる。
C1=C0+r1×l1×(cos(t1),sin(t1)) …(2)
C2=C1+r2×l2×(cos(t2),sin(t2)) …(3)
C3=C2+r3×l3×(cos(t3),sin(t3)) …(4)
Next, in step S162, the movement route calculation unit 24 calculates the corresponding point coordinates Pj. Here, the corresponding point coordinate Pj means one point (positional coordinate) on the link where the mobile terminal 100 was located when the anchor point was acquired. Here, as shown in FIG. 16, if the start point of the j-th link is Cj-1, the end point is Cj, the length (link length) is lj, and the coordinates of the start point C0 in FIG. 14 are (x0, y0). C1 to C3 in FIG. 14 can be expressed by the following equations (2) to (4).
C1 = C0 + r1 × l1 × (cos (t1), s i n (t1)) ... (2)
C2 = C1 + r2 × l2 × (cos (t2), s i n (t2)) ... (3)
C3 = C2 + r3 × l3 × (cos (t3), s i n (t3)) ... (4)

なお、上式(2)〜(4)のrjは、リンク長(又は設定されている歩幅)を補正するための変数である補正パラメータである。なお、パラメータrjの範囲は、予め設定されているものとする。例えば、rjの範囲は、3/4≦rj≦5/4とする。ただし、当該範囲は、ユーザが入力インタフェース62を介して調整することが可能であるものとする。これにより、ユーザは、表示画面60に表示される移動経路(経路)がより正しい経路となるように、rjの範囲を調整することが可能となる。 Note that r j in the above equations (2) to (4) is a correction parameter that is a variable for correcting the link length (or the set stride). Note that the range of the parameter r j is set in advance. For example, the range of r j is 3/4 ≦ r j ≦ 5/4. However, it is assumed that the range can be adjusted by the user via the input interface 62. Thereby, the user can adjust the range of r j so that the movement route (route) displayed on the display screen 60 becomes a more correct route.

また、始点Cj-1から終点Cjまで移動する間の時間に対する、始点Cj-1からアンカーポイントを取得するまでの間の時間の割合をmj(図16参照)とすると、対応点座標Pjは、次式(5)にて表すことができる。
j=Cj-1+mj×(Cj−Cj-1) …(5)
Further, if the ratio of the time from the start point C j-1 to the acquisition of the anchor point with respect to the time between the start point C j-1 and the end point C j is m j (see FIG. 16), the corresponding point The coordinate P j can be expressed by the following equation (5).
P j = C j−1 + m j × (C j −C j−1 ) (5)

次いで、ステップS164では、移動経路算出部24が、GPS座標(アンカーポイント)Gjと、対応点座標Pjの距離の2乗和を算出する。具体的には、次式(6)により、算出される。 Next, in step S164, the movement route calculation unit 24 calculates the sum of squares of the distance between the GPS coordinate (anchor point) G j and the corresponding point coordinate P j . Specifically, it is calculated by the following equation (6).

Figure 0005768426
ここで、距離の2乗和を算出するのは、点Gjと点Pjとの間に、各点を結ぶバネ(バネ定数kは一定であるものとする)が存在していると想定して、各バネが最も安定する状態、すなわち、エネルギが最小となる状態が最適な状態であると推定する理論(Kamada,Kawaiのモデル)に基づく。
Figure 0005768426
Here, the calculation of the sum of squares of the distance is based on the assumption that a spring connecting each point (assuming that the spring constant k is constant) exists between the point G j and the point P j. Thus, it is based on the theory (Kamada and Kawai model) that estimates that the state in which each spring is most stable, that is, the state in which the energy is minimum is the optimum state.

次いで、ステップS166では、移動経路算出部24が、角度t1、t2、t3、及び補正パラメータr1、r2、r3の値を変更しつつ、距離の2乗和を算出することで、距離の2乗和が最小となるt1、t2、t3、r1、r2、r3を算出する。そして、そのうちのt1、r1の値を、リンク(1)の角度及びリンク(1)の補正パラメータとして、算出する。なお、図14では、ステップS166において角度及び補正パラメータが最適化されたリンク(1)のみを実線にて示している。その後は、図13のステップS154に移行する。 Then, in step S166, the movement route calculating unit 24, the angle t 1, t 2, t 3, and while changing the value of the correction parameter r 1, r 2, r 3, calculating the sum of squares of distances Then, t 1 , t 2 , t 3 , r 1 , r 2 , r 3 that minimize the sum of squares of the distances are calculated. Then, the values of t 1 and r 1 are calculated as the angle of the link (1) and the correction parameter of the link (1). In FIG. 14, only the link (1) in which the angle and the correction parameter are optimized in step S166 is indicated by a solid line. Thereafter, the process proceeds to step S154 in FIG.

その後、図13のステップS154に移行すると、移動経路算出部24は、リンク(i+2)以降にリンクが存在しているか否かを判断する。ここでの判断が否定された場合には、ステップS156に移行して、リンク(i)、リンク(i+1)、リンク(i+2)を確定する。すなわち、リンク(i)、リンク(i+1)、リンク(i+2)のリンク角度ti、ti+1、ti+2と、補正パラメータri、ri+1、ri+2を確定する。一方、ステップS154の判断が肯定された場合には、ステップS158に移行する。 Thereafter, when the process proceeds to step S154 in FIG. 13, the movement route calculation unit 24 determines whether or not a link exists after the link (i + 2). If the determination here is negative, the process proceeds to step S156, and link (i), link (i + 1), and link (i + 2) are determined. That is, the link angles t i , t i + 1 , t i + 2 and the correction parameters r i , r i + 1 , r i + 2 of the link (i), link (i + 1), link (i + 2) are determined. . On the other hand, if the determination in step S154 is affirmed, the process proceeds to step S158.

ステップS158では、移動経路算出部24が、リンク(i)以降のアンカーポイントの取得数が、1つ,0,1つの順に並んでいるか否かを判断する。ここでの判断が肯定された場合には、ステップS160に移行し、移動経路算出部24は、鏡像のリンクを検証する。具体的には、リンク(i)以降のアンカーポイントの取得数が、1つ,0,1つの順に並んでいる場合、図17(a)に示すように、実線で示す移動経路と、これと鏡像(線対称)の関係にある破線にて示す移動経路とが得られる。したがって、移動経路算出部24は、これら2つの移動経路から真の移動経路を選択する必要がある。当該選択の方法としては、例えば、リンク(i)とリンク(i−1)との角度が90°に近い方の移動経路を真の移動経路として選択する方法を採用することができる。これは、道路の曲がり角は、一般的には90°に近い角度で曲がっている場合が多いという道路情報に基づくものであり、リンク(i)とリンク(i−1)との角度が90°に近い方が、正しい移動経路である可能性が高いからである。   In step S158, the movement route calculation unit 24 determines whether or not the number of anchor points acquired after the link (i) is arranged in the order of 1, 0, and 1. When the determination here is affirmed, the process proceeds to step S160, and the movement path calculation unit 24 verifies the mirror image link. Specifically, when the number of anchor points acquired after the link (i) is arranged in the order of 1, 0, 1 as shown in FIG. 17A, the movement route indicated by a solid line, A movement path indicated by a broken line having a mirror image (line symmetry) relationship is obtained. Therefore, the travel route calculation unit 24 needs to select a true travel route from these two travel routes. As the selection method, for example, a method of selecting a movement route having an angle between the link (i) and the link (i-1) close to 90 ° as a true movement route can be employed. This is based on road information that the turning angle of the road is generally bent at an angle close to 90 °, and the angle between the link (i) and the link (i-1) is 90 °. This is because there is a high possibility that the route closer to is a correct movement route.

なお、リンク(i)がリンク(1)である場合には、リンク(i−1)が存在しない。このような場合には、移動経路算出部24は、リンク(i+2)とリンク(i+3)との角度が90°に近い方の移動経路を、真の移動経路として選択することとしてもよい。ただし、これに限らず、リンク(i)がリンク(1)でなくとも、リンク(i+2)とリンク(i+3)との角度が90°に近い方の移動経路を、真の移動経路として選択することとしてもよい。   When link (i) is link (1), link (i-1) does not exist. In such a case, the movement route calculation unit 24 may select a movement route whose link (i + 2) and link (i + 3) are closer to 90 ° as a true movement route. However, the present invention is not limited to this, and even if the link (i) is not the link (1), the movement route with the angle between the link (i + 2) and the link (i + 3) close to 90 ° is selected as the true movement route. It is good as well.

なお、真の移動経路の選択方法は、上記方法に限られるものではない。例えば、図17(b)に示すように、2つの移動経路を道路情報としての地図(移動端末100の位置周辺の地図)とマッチングさせて、地図(道路)との合致度が高い(又は道路との乖離度が低い)ほうを真の移動経路とすることとしてもよい。なお、図17(b)では、図17(a)において破線で示す移動経路が、真の移動経路として選択されることになる。なお、これらの方法に限らず、その他、道路の情報に基づいて鏡像関係にある2つの移動経路から、真の移動経路を選択する方法を採用することとしてもよい。   Note that the method of selecting the true movement route is not limited to the above method. For example, as shown in FIG. 17B, two travel routes are matched with a map (map around the position of the mobile terminal 100) as road information, and the degree of coincidence with the map (road) is high (or road It is good also as making a true movement path | route the one where a deviation degree is low. In FIG. 17B, the movement route indicated by the broken line in FIG. 17A is selected as the true movement route. In addition, it is good also as employ | adopting not only these methods but the method of selecting a true movement path | route from two movement paths in mirror image relation based on the information of a road.

図13に戻り、上記のようにしてステップS160の処理が行われた後は、ステップS162に移行し、移動経路算出部24は、リンク(i)(ここでは、リンク(1))を確定する。なお、角度t1が確定すると、図5(b)のデータベースの「リンク角度」の項目への登録が可能となる。また、補正パラメータr1が決まると、図5(b)の「補正後リンク長」への登録が可能となる。また、t1、r1が決まることで、リンク始点(x),(y)、リンク終点(x),(y)の項目への登録も可能となる。 Returning to FIG. 13, after the process of step S160 is performed as described above, the process proceeds to step S162, and the movement route calculation unit 24 determines the link (i) (here, the link (1)). . When the angle t 1 is determined, registration in the “link angle” item in the database of FIG. 5B becomes possible. When the correction parameter r 1 is determined, registration to the “corrected link length” in FIG. 5B is possible. Further, by determining t 1 and r 1 , registration to the items of the link start point (x), (y) and the link end point (x), (y) is also possible.

一方、ステップS158の判断が否定された場合には、ステップS160を経ずにステップS162に移行し、リンク(i)を確定する。その後は、ステップS164に移行して、iを1インクリメント(i←i+1)した後に、ステップS142に戻る。そして、全てのリンクについての角度が決定(リンクが確定)するまで、ステップS142〜S164の処理・判断を繰り返す。なお、図13の処理が2回目に行われるときには、図18(a)に示すように、リンク(2),(3),(4)を用いて、リンク(2)の角度t2を算出することになる。この場合、リンクの角度t2,t3,t4の初期値としては、前回の最適化処理(角度t1を最適化した処理)で算出された、t2やt3の値を、初期値として用いることとしても良い。なお、新たに初期値を設定する角度(図18(a)の角度t4)については、ランダムに、又は角度t3との差が90°、45°となるように設定することとしても良い。以上のようにして、図13の全処理が終了すると、図4のステップS22に移行する。このように、ステップS22に移行する段階では、図18(b)に示す角度t1、t2、t3、t4…の値及び補正パラメータr1、r2、r3、r4…が最適化された状態となる。 On the other hand, if the determination in step S158 is negative, the process proceeds to step S162 without passing through step S160, and the link (i) is determined. Thereafter, the process proceeds to step S164, i is incremented by 1 (i ← i + 1), and then the process returns to step S142. Then, the processes and determinations in steps S142 to S164 are repeated until the angles for all links are determined (links are determined). When the process of FIG. 13 is performed for the second time, the angle t 2 of the link (2) is calculated using the links (2), (3), and (4) as shown in FIG. Will do. In this case, as the initial values of the link angles t 2 , t 3 , and t 4 , the values of t 2 and t 3 calculated in the previous optimization process (process that optimized the angle t 1 ) are used as initial values. It may be used as a value. Note that the angle at which a new initial value is set (angle t 4 in FIG. 18A) may be set randomly or so that the difference from angle t 3 is 90 ° or 45 °. . When all the processes in FIG. 13 are completed as described above, the process proceeds to step S22 in FIG. Thus, at the stage of shifting to step S22, the values of the angles t 1 , t 2 , t 3 , t 4 ... And the correction parameters r 1 , r 2 , r 3 , r 4 . It will be in an optimized state.

図4に戻り、ステップS22では、移動経路算出部24が、移動経路を算出する。具体的には、移動経路算出部24は、ステップS20で求められた角度t1、t2、t3、t4…及び補正パラメータr1、r2、r3、r4…で、各リンクを連結したものを、移動経路として算出する。次いで、ステップS24では、移動経路算出部24が、マップマッチング処理を行う。例えば、ステップS22において、図19(a)のような移動経路が算出された場合には、移動経路算出部24は、算出された移動経路と、情報記憶部23に記憶されている地図データとをマップマッチングする。そして、移動経路算出部24は、図19(b)に太線で示すような、地図データ上での移動経路を生成する。 Returning to FIG. 4, in step S <b> 22, the movement route calculation unit 24 calculates a movement route. Specifically, the movement route calculation unit 24 uses the angles t 1 , t 2 , t 3 , t 4 ... And the correction parameters r 1 , r 2 , r 3 , r 4 . Is obtained as a movement route. Next, in step S24, the movement route calculation unit 24 performs map matching processing. For example, when the travel route as shown in FIG. 19A is calculated in step S22, the travel route calculation unit 24 calculates the calculated travel route and the map data stored in the information storage unit 23. Map matching. Then, the movement route calculation unit 24 generates a movement route on the map data as indicated by a bold line in FIG.

次いで、図4のステップS26では、表示制御部25が、ステップS24にて生成された移動経路を、表示画面60上に出力する。   Next, in step S <b> 26 of FIG. 4, the display control unit 25 outputs the movement route generated in step S <b> 24 on the display screen 60.

以上のようにすることで、表示画面60上には、ユーザが歩行した経路が、表示されることになる。   By doing so, the route on which the user walks is displayed on the display screen 60.

以上、詳細に説明したように、絶対位置検出部30が移動端末100の絶対位置を検出した結果と、リンク情報生成部22が取得した、移動端末100がある地点から所定方向に移動したときの、該ある地点から移動方向が該所定方向から変更される地点までの間を結ぶリンク情報と、に基づいて、移動経路算出部24が移動経路を算出する。この場合、移動経路算出部24は、リンク情報が示すリンクの長さを補正するための補正パラメータ(r1、r2、r3、…)と、リンクの方向((角度t1、t2、t3、…))とを絶対位置と、当該絶対位置を検出したときに移動端末100が移動していたリンク上の点との距離に基づいて算出する。すなわち、リンクの長さの補正パラメータと角度が絶対位置と移動端末100が移動していたリンクとの距離から適切な値に決定されるので、リンクの長さに誤差が含まれるような場合でも、移動経路算出部24は、補正パラメータで補正されたリンクの長さと方向とを用いて移動経路を算出することができる。これにより、絶対位置を間欠的に取得することとしても、移動経路の算出精度を高い精度に維持することができる。すなわち、本実施形態によれば、移動経路の算出精度を高く維持しつつ、絶対位置を間欠的に取得することで消費電力の低減を図ることができる。 As described above in detail, the result of the absolute position detection unit 30 detecting the absolute position of the mobile terminal 100 and the link information generation unit 22 acquired when the mobile terminal 100 moves in a predetermined direction from a certain point. The movement route calculation unit 24 calculates the movement route based on the link information connecting the point from the certain point to the point where the movement direction is changed from the predetermined direction. In this case, the movement path calculation unit 24 corrects the link length indicated by the link information (r 1 , r 2 , r 3 ,...) And the link direction ((angles t 1 , t 2). , T 3 ,...)) Are calculated based on the distance between the absolute position and the point on the link to which the mobile terminal 100 has moved when the absolute position is detected. That is, since the link length correction parameter and angle are determined to be appropriate values from the distance between the absolute position and the link on which the mobile terminal 100 has moved, even if the link length includes an error. The movement route calculation unit 24 can calculate the movement route using the length and direction of the link corrected by the correction parameter. Thereby, even if the absolute position is acquired intermittently, the calculation accuracy of the movement route can be maintained with high accuracy. That is, according to the present embodiment, it is possible to reduce power consumption by intermittently acquiring the absolute position while maintaining high calculation accuracy of the movement route.

ここで、特開2009―92506号公報には、省電力化の観点から、ナビゲーション開始当初にGPSによる測位を行うとともに測位された現在位置から目的地までの距離又はルートに基づいて次の測位タイミングまでの歩数を算出し、その後、算出された歩数歩行した段階でGPS測位を行うとともに次の測位タイミングまでの歩数を算出するという方法が開示されている。しかしながら、この方法では、ルートが予め定められていなければ、GPS計測回数を減らすことはできない。これに対し、本実施形態では、ルートを予め定めておく必要がないため、ルートを定めずに移動経路を算出する場合において特に有用である。   Here, from the viewpoint of power saving, Japanese Patent Laid-Open No. 2009-92506 discloses positioning by GPS at the beginning of navigation and the next positioning timing based on the distance or route from the current position to the destination. A method of calculating the number of steps up to and then performing GPS positioning at the stage of walking the calculated number of steps and calculating the number of steps until the next positioning timing is disclosed. However, with this method, the number of GPS measurements cannot be reduced unless a route is predetermined. On the other hand, in this embodiment, since it is not necessary to determine a route in advance, it is particularly useful when a movement route is calculated without setting a route.

また、本実施形態では、移動経路算出部24は、絶対位置検出部30が検出した絶対位置と、この絶対位置を検出したときに移動端末100が位置していた線分上の点(位置)と、の距離を複数の絶対位置において算出し、これらの二乗和を最小とする補正パラメータ(r1、r2、r3、…)とリンクの方向(角度t1、t2、t3、…)を算出するので、適切な演算により、移動経路の算出精度を高く維持することが可能となる。 In the present embodiment, the movement route calculation unit 24 also detects the absolute position detected by the absolute position detection unit 30 and the point (position) on the line segment where the mobile terminal 100 was located when this absolute position was detected. Are calculated at a plurality of absolute positions, and a correction parameter (r 1 , r 2 , r 3 ,...) And a link direction (angles t 1 , t 2 , t 3 ,. ...) Is calculated, it is possible to maintain high calculation accuracy of the movement route by an appropriate calculation.

また、本実施形態では、リンク(i)に対応する絶対位置が1つ、リンク(i+1)に対応する絶対位置が0、リンク(i+2)に対応する絶対位置が1つ、であった場合に、移動経路算出部24は、リンク(i)〜リンク(i+2)から2つの線対称な移動経路を算出し、道路の情報に基づいて、2つの移動経路のうちの1つを、真の移動経路として選択する。このため、鏡像関係にある2つの移動経路が算出されてしまうような状況下でも、移動経路算出部24は、道路の情報に基づいて真の移動経路を選択することで、適切な移動経路を算出することができる。なお、本実施形態では、リンク(i−1)とリンク(i)とのなす角が90°に近い方の移動経路、又は、リンク(i+2)とリンク(i+3)とのなす角が90°に近い方の移動経路を、真の移動経路として選択することとしている。このため、道路の情報として、曲がり角の角度は90°に近い場合が多いという情報がある場合に、真の移動経路として、正しい移動経路(実際の移動経路と一致する移動経路)を高い確率で選択することができる。また、移動経路算出部24が、2つの移動経路のうち、道路地図との合致度が高い方を、真の移動経路として選択する場合には、道路情報として道路地図を用いることで、高い確率で真の移動経路を選択することができる。   In this embodiment, when the absolute position corresponding to link (i) is one, the absolute position corresponding to link (i + 1) is 0, and the absolute position corresponding to link (i + 2) is one. The movement route calculation unit 24 calculates two line-symmetric movement routes from the link (i) to the link (i + 2), and performs true movement on one of the two movement routes based on the road information. Select as a route. For this reason, even in a situation in which two movement paths having a mirror image relationship are calculated, the movement path calculation unit 24 selects an appropriate movement path based on road information, thereby selecting an appropriate movement path. Can be calculated. In the present embodiment, the moving path in which the angle formed by the link (i-1) and the link (i) is close to 90 °, or the angle formed by the link (i + 2) and the link (i + 3) is 90 °. The movement path closer to the point is selected as the true movement path. For this reason, when there is information that the turn angle is often close to 90 ° as road information, a correct travel route (a travel route that matches the actual travel route) is highly probable as a true travel route. You can choose. In addition, when the travel route calculation unit 24 selects, as a true travel route, one of the two travel routes that has a higher degree of matching with the road map, a high probability is obtained by using the road map as the road information. The true movement route can be selected with.

なお、上記実施形態では、上式(6)を用いて、GjとPjの距離の二乗和を算出し、その最小値から、リンクの角度の最適値を求める場合について説明した。しかしながらこれに限られるものではなく、Kamada,Kawaiモデルそのものを用いて、GiとPiとの間の仮想的なバネのエネルギが最も小さくなるような各リンクの角度を、最適値として求めることとしても良い。この場合、次式(7)が最小になるようにすれば良い。 In the above embodiment, the case where the sum of squares of the distance between G j and P j is calculated using the above equation (6) and the optimum value of the link angle is obtained from the minimum value has been described. However it is not limited thereto, Kamada, using Kawai model itself, the angle of each link, such as the energy of the virtual spring is minimized between the G i and P i, obtaining the optimum value It is also good. In this case, the following equation (7) may be minimized.

Figure 0005768426
Figure 0005768426

なお、上式(7)においては、エネルギの式の係数(1/2)を省略している。また、kjの値は、図20(a)〜図20(f)に示すような手法を用いて決定することとすれば良い。例えば、図20(a)、図20(b)に示すように、アンカーポイントを取得したときの、絶対位置検出部30による検出の信頼度が低かった場合、すなわち、通信できたGPS衛星の数が少なかった場合には、kを小さくする。一方、信頼度が高かった場合、すなわち、通信できたGPS衛星の数が多かった場合には、kを大きくする。なお、図20(a)〜図20(f)では、円の大きさが小さいほどkが大きいことを意味する。 In the above equation (7), the coefficient (1/2) of the energy equation is omitted. Further, the value of k j may be determined using a method as shown in FIGS. 20 (a) to 20 (f). For example, as shown in FIGS. 20A and 20B, when the reliability of detection by the absolute position detection unit 30 when the anchor point is acquired is low, that is, the number of GPS satellites that can communicate. When there is little, k is made small. On the other hand, if the reliability is high, that is, if the number of GPS satellites that can be communicated is large, k is increased. In FIGS. 20A to 20F, the smaller the circle, the larger k.

また、例えば、図20(c)に示すように、アンカーポイント間の距離が近い場合には、kが小さいと、破線で示すように2つのアンカーポイント内を通る直線の誤差を示す角度が大きくなる(角度a)。このため、図20(c)に示すように、角度が小さくするべく(角度b)、円を小さく、すなわちkを大きくする。これに対し、図20(d)に示すように、アンカーポイント間の距離が遠い場合には、円を大きく、すなわちkを小さくする。また、例えば、図20(e)に示すように、始点からアンカーポイントまでの距離が近い場合には、図20(c)の場合と同様、kを大きくする。これに対し、図20(f)に示すように、始点からアンカーポイントまでの距離が遠い場合には、図20(d)の場合と同様、kを小さくする。   For example, as shown in FIG. 20C, when the distance between the anchor points is short, if k is small, the angle indicating the error of the straight line passing through the two anchor points is large as shown by the broken line. (Angle a). Therefore, as shown in FIG. 20C, the circle is made smaller, that is, k is made larger in order to reduce the angle (angle b). On the other hand, as shown in FIG. 20 (d), when the distance between the anchor points is long, the circle is increased, that is, k is decreased. For example, as shown in FIG. 20 (e), when the distance from the start point to the anchor point is short, k is increased as in the case of FIG. 20 (c). On the other hand, as shown in FIG. 20 (f), when the distance from the start point to the anchor point is long, k is reduced as in the case of FIG. 20 (d).

このようにすることで、信頼性や、アンカーポイント間の距離などが考慮された、適切な移動経路の算出が可能となる。   By doing in this way, it is possible to calculate an appropriate movement path in consideration of reliability, distance between anchor points, and the like.

なお、上記実施形態及び上記変形例では、アンカーポイントと、これに対応するとの距離の二乗和を利用して、移動経路を算出する場合について説明したが、これに限られるものではない。例えば、図21に示すようにアンカーポイントGと、リンク(i)との距離、すなわち、アンカーポイントGとリンクのうちアンカーポイントGに最も近い1点との距離、の二乗和が最小値となるようなリンクの角度を、最適値とすることとしても良い。   In the above-described embodiment and the above-described modification, the case where the movement route is calculated using the anchor point and the sum of squares of the distance corresponding to the anchor point has been described. However, the present invention is not limited to this. For example, as shown in FIG. 21, the sum of squares of the distance between the anchor point G and the link (i), that is, the distance between the anchor point G and one of the links closest to the anchor point G is the minimum value. Such a link angle may be set to an optimum value.

なお、上記実施形態では、GPSデータベースにおける位置を、緯度、経度で表す場合について説明したが、緯度、経度をその他の値(例えば、出発点を原点とする距離)であらわすこととしても良い。この場合、x座標の正方向を東方向、y座標の正方向を北方向などとすることができる。   In the above embodiment, the case where the position in the GPS database is represented by latitude and longitude has been described. However, the latitude and longitude may be represented by other values (for example, a distance with the starting point as the origin). In this case, the positive direction of the x coordinate can be the east direction, and the positive direction of the y coordinate can be the north direction.

なお、上記実施形態では、移動経路を移動端末100内で算出する場合について説明したが、これに限られるものではない。例えば、移動端末100では、絶対位置検出部30、地磁気情報検出部40、加速度情報検出部50の検出結果を、外部のサーバ等に送信することとしても良い。サーバに、図3の制御部20と同様の機能を持たせることで、サーバにおいて、移動経路や移動経路を算出することができる。また、サーバからは、算出された移動経路や移動経路を移動端末100に送信することとしても良い。   In the above embodiment, the case where the movement route is calculated in the mobile terminal 100 has been described. However, the present invention is not limited to this. For example, in the mobile terminal 100, the detection results of the absolute position detection unit 30, the geomagnetic information detection unit 40, and the acceleration information detection unit 50 may be transmitted to an external server or the like. By giving the server the same function as that of the control unit 20 in FIG. 3, it is possible to calculate a movement route and a movement route in the server. In addition, the server may transmit the calculated travel route or travel route to the mobile terminal 100.

なお、上記実施形態では、絶対位置検出部30として、GPSセンサを用いる場合について説明したが、これに限らず、その他の装置を用いることとしても良い。絶対位置検出手段としては、例えば、RFIDシステムなどを採用することができる。また、上記実施形態では、地磁気情報検出部40としては、地磁気センサに代えて、その他の方位センサ、例えば、ジャイロセンサなどを用いることとしても良い。   In the above-described embodiment, a case where a GPS sensor is used as the absolute position detection unit 30 has been described. However, the present invention is not limited to this, and other devices may be used. As the absolute position detecting means, for example, an RFID system can be adopted. Moreover, in the said embodiment, it may replace with a geomagnetic sensor as the geomagnetic information detection part 40, and it is good also as using another direction sensor, for example, a gyro sensor.

なお、本実施形態における制御部20の処理機能は、コンピュータによって実現することができる。その場合、制御部20が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。   Note that the processing function of the control unit 20 in the present embodiment can be realized by a computer. In that case, a program describing the processing contents of the functions that the control unit 20 should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium.

プログラムを流通させる場合には、例えば、そのプログラムが記録されたDVD(Digital Versatile Disc)、CD−ROM(Compact Disc Read Only Memory)などの可搬型記録媒体の形態で販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When the program is distributed, for example, it is sold in the form of a portable recording medium such as a DVD (Digital Versatile Disc) or a CD-ROM (Compact Disc Read Only Memory) on which the program is recorded. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。   The above-described embodiment is an example of a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.

なお、以上の説明に関して更に以下の付記を開示する。
(付記1) 移動端末の絶対位置を検出する絶対位置検出部と、前記移動端末がある地点から所定方向に移動する場合に、該ある地点から、移動方向が該所定方向から別の方向に変更される地点までの間を結ぶ線分の線分情報を取得する取得部と、検出した前記絶対位置と、取得した前記線分情報とに基づいて、前記移動端末の移動経路を算出する移動経路算出部と、を備え、前記移動経路算出部は、取得した前記線分情報が示す前記線分の長さを補正するための補正パラメータと前記線分情報が示す前記線分の方向とを、前記絶対位置と当該絶対位置を検出したときの前記移動端末の前記線分上の位置との距離に基づいて算出することを特徴とする移動端末。
(付記2) 前記移動経路算出部は、前記絶対位置検出部が検出した前記絶対位置と、前記絶対位置を検出したときに前記移動端末が位置していた線分上の点と、の距離を複数の絶対位置において算出し、これらの二乗和を最小とする補正パラメータと線分の方向を算出することを特徴とする付記1に記載の移動端末。
(付記3) 前記移動経路算出部は、前記絶対位置検出部が検出した前記絶対位置と、前記絶対位置を検出したときに前記移動端末が移動していた線分上で前記絶対位置と最も近い点との距離を複数の絶対位置において算出し、これらの二乗和を最小とする補正パラメータと線分の方向とを算出することを特徴とする付記1に記載の移動端末。
(付記4) 前記取得部がi番目(iは自然数)に取得した線分に対応する絶対位置が1つ、(i+1)番目に取得した線分に対応する絶対位置が0、(i+2)番目に取得した線分に対応する絶対位置が1つ、であった場合には、前記移動経路算出部は、前記i番目、(i+1)番目、(i+2)番目の線分から2つの線対称な移動経路を算出し、前記2つの移動経路のうちの1つを、真の移動経路として選択することを特徴とする付記1〜3のいずれかに記載の移動端末。
(付記5) 前記移動経路算出部は、前記2つの移動経路のうち、(i−1)番目の線分とi番目の線分とのなす角が90°に近い方の移動経路、又は、(i+2)番目の線分と(i+3)番目の線分とのなす角が90°に近い方の移動経路を、前記真の移動経路として選択することを特徴とする付記4に記載の移動端末。
(付記6) 前記道路の情報は、前記移動端末が移動する付近の道路地図であり、前記移動経路算出部は、前記2つの移動経路のうち、前記道路地図との合致度が高い方を、前記真の移動経路として選択することを特徴とする付記4に記載の移動端末。
(付記7) 移動端末の絶対位置を検出する絶対位置検出部と、前記移動端末がある地点から所定方向に移動する場合に、該ある地点から移動方向が該所定方向から変更される地点までの間を結ぶ線分情報を取得する取得部と、前記絶対位置検出部で検出した前記絶対位置と、前記取得部によって取得された前記線分情報とに基づいて、前記移動端末の移動経路を算出する移動経路算出部と、を備え、前記取得部がi番目(iは自然数)に取得した線分に対応する絶対位置が1つ、(i+1)番目に取得した線分に対応する絶対位置が0、(i+2)番目に取得した線分に対応する絶対位置が1つ、であった場合には、前記移動経路算出部は、前記i番目、(i+1)番目、(i+2)番目の線分から2つの線対称な移動経路を算出し、道路の情報に基づいて、前記2つの移動経路のうちの1つを真の移動経路として選択することを特徴とする移動端末。
(付記8) 前記移動経路算出部は、前記2つの移動経路のうち、(i−1)番目の線分とi番目の線分とのなす角が90°に近い方の移動経路、又は、(i+2)番目の線分と(i+3)番目の線分とのなす角が90°に近い方の移動経路を、前記真の移動経路として選択することを特徴とする付記7に記載の移動端末。
(付記9) 前記道路の情報は、前記移動端末が移動する付近の道路地図であり、前記移動経路算出部は、前記2つの移動経路のうち、前記道路地図との合致度が高い方を、前記真の移動経路として選択することを特徴とする付記7に記載の移動端末。
(付記10) 移動端末の絶対位置を検出する絶対位置検出部の検出結果を取得し、前記移動端末がある地点から所定方向に移動する場合に、該ある地点から、移動方向が該所定方向から別の方向に変更される地点までの間を結ぶ線分の線分情報を取得し、検出した前記絶対位置と、取得した前記線分情報とに基づいて、前記移動端末の移動経路を算出する、処理をコンピュータに実行させ、前記移動経路を算出する処理では、取得した前記線分情報が示す前記線分の長さを補正するための補正パラメータと前記線分情報が示す前記線分の方向とを、前記絶対位置と当該絶対位置を検出したときの前記移動端末の前記線分上の位置との距離に基づいて算出することを特徴とする移動経路算出プログラム。
(付記11) 前記移動経路を算出する処理では、前記コンピュータに、前記絶対位置検出部が検出した前記絶対位置と、前記絶対位置を検出したときに前記移動端末が位置していた線分上の点と、の距離を複数の絶対位置において算出し、これらの二乗和を最小とする補正パラメータと線分の方向を算出させることを特徴とする付記10に記載の移動経路算出プログラム。
(付記12) 前記移動経路を算出する処理では、前記コンピュータに、前記絶対位置検出部が検出した前記絶対位置と、前記絶対位置を検出したときに前記移動端末が移動していた線分上で前記絶対位置と最も近い点との距離を複数の絶対位置において算出し、これらの二乗和を最小とする補正パラメータと線分の方向とを算出させることを特徴とする付記10に記載の移動経路算出プログラム。
(付記13) 前記取得する処理で、i番目(iは自然数)に取得した線分に対応する絶対位置が1つ、(i+1)番目に取得した線分に対応する絶対位置が0、(i+2)番目に取得した線分に対応する絶対位置が1つ、であった場合には、前記移動経路を算出する処理では、前記コンピュータに、前記i番目、(i+1)番目、(i+2)番目の線分から2つの線対称な移動経路を算出させ、前記2つの移動経路のうちの1つを、真の移動経路として選択させることを特徴とする付記10〜12のいずれかに記載の移動経路算出プログラム。
(付記14) 前記移動経路を算出する処理では、前記コンピュータに、前記2つの移動経路のうち、(i−1)番目の線分とi番目の線分とのなす角が90°に近い方の移動経路、又は、(i+2)番目の線分と(i+3)番目の線分とのなす角が90°に近い方の移動経路を、前記真の移動経路として選択させることを特徴とする付記13に記載の移動経路算出プログラム。
(付記15) 前記道路の情報は、前記移動端末が移動する付近の道路地図であり、前記移動経路を算出する処理では、前記コンピュータに、前記2つの移動経路のうち、前記道路地図との合致度が高い方を、前記真の移動経路として選択させることを特徴とする付記13に記載の移動経路算出プログラム。
(付記16) 移動端末の絶対位置を検出する絶対位置検出部の検出結果を取得し、前記移動端末がある地点から所定方向に移動する場合に、該ある地点から移動方向が該所定方向から変更される地点までの間を結ぶ線分情報を取得し、前記絶対位置検出部の検出結果と、前記線分情報とに基づいて、前記移動端末の移動経路を算出する、処理をコンピュータに実行させ、前記線分情報を取得する処理でi番目(iは自然数)に取得した線分に対応する絶対位置が1つ、(i+1)番目に取得した線分に対応する絶対位置が0、(i+2)番目に取得した線分に対応する絶対位置が1つ、であった場合には、前記移動経路を算出する処理では、前記i番目、(i+1)番目、(i+2)番目の線分から2つの線対称な移動経路を算出し、道路の情報に基づいて、前記2つの移動経路のうちの1つを真の移動経路として選択することを特徴とする移動経路算出プログラム。
(付記17) 前記移動経路を算出する処理では、前記コンピュータに、前記2つの移動経路のうち、(i−1)番目の線分とi番目の線分とのなす角が90°に近い方の移動経路、又は、(i+2)番目の線分と(i+3)番目の線分とのなす角が90°に近い方の移動経路を、前記真の移動経路として選択させることを特徴とする付記16に記載の移動経路算出プログラム。
(付記18) 前記道路の情報は、前記移動端末が移動する付近の道路地図であり、前記移動経路を算出する処理では、前記コンピュータに、前記2つの移動経路のうち、前記道路地図との合致度が高い方を、前記真の移動経路として選択させることを特徴とする付記16に記載の移動経路算出プログラム。
In addition, the following additional notes are disclosed regarding the above description.
(Supplementary note 1) When the mobile terminal moves in a predetermined direction from a certain point and the absolute position detection unit for detecting the absolute position of the mobile terminal, the moving direction is changed from the predetermined direction to another direction from the certain point. A travel route for calculating the travel route of the mobile terminal based on the acquisition unit that acquires the line segment information connecting to the point to be performed, the detected absolute position, and the acquired line segment information A calculation unit, and the movement path calculation unit includes a correction parameter for correcting a length of the line segment indicated by the acquired line segment information and a direction of the line segment indicated by the line segment information. A mobile terminal that is calculated based on a distance between the absolute position and a position on the line segment of the mobile terminal when the absolute position is detected.
(Supplementary Note 2) The movement path calculation unit calculates a distance between the absolute position detected by the absolute position detection unit and a point on the line segment where the mobile terminal was located when the absolute position was detected. The mobile terminal according to supplementary note 1, wherein the mobile terminal calculates at a plurality of absolute positions, and calculates a correction parameter and a line segment direction that minimize the sum of squares thereof.
(Supplementary Note 3) The movement path calculation unit is closest to the absolute position on the absolute position detected by the absolute position detection unit and a line segment on which the mobile terminal has moved when the absolute position is detected. The mobile terminal according to appendix 1, wherein distances to the points are calculated at a plurality of absolute positions, and a correction parameter that minimizes the sum of squares and a direction of the line segment are calculated.
(Supplementary Note 4) The absolute position corresponding to the i-th (i is a natural number) line segment acquired by the acquisition unit is one, the absolute position corresponding to the (i + 1) -th line segment is 0, and the (i + 2) -th line If there is one absolute position corresponding to the acquired line segment, the movement path calculation unit performs two line-symmetric movements from the i-th, (i + 1) -th, and (i + 2) -th line segments. The mobile terminal according to any one of appendices 1 to 3, wherein a route is calculated and one of the two travel routes is selected as a true travel route.
(Additional remark 5) The said movement path | route calculation part is the movement path | route whose angle formed by (i-1) th line segment and i-th line segment is near 90 degrees among the said two movement paths, or The mobile terminal according to supplementary note 4, wherein a moving path whose angle formed by the (i + 2) th line segment and the (i + 3) th line segment is closer to 90 ° is selected as the true moving path. .
(Supplementary Note 6) The road information is a road map in the vicinity where the mobile terminal moves, and the movement route calculation unit calculates the one of the two movement routes that has a higher degree of match with the road map, The mobile terminal according to appendix 4, wherein the mobile terminal is selected as the true travel route.
(Appendix 7) An absolute position detection unit that detects an absolute position of a mobile terminal, and when the mobile terminal moves from a certain point to a predetermined direction, from the certain point to a point where the moving direction is changed from the predetermined direction. The movement path of the mobile terminal is calculated based on the acquisition unit that acquires line segment information that connects them, the absolute position detected by the absolute position detection unit, and the line segment information acquired by the acquisition unit A moving path calculation unit that has one absolute position corresponding to the i-th (i is a natural number) line segment acquired by the acquisition unit, and an absolute position corresponding to the (i + 1) -th line segment acquired. If the absolute position corresponding to the 0th, (i + 2) th line segment is one, the movement path calculation unit starts from the ith, (i + 1) th, (i + 2) th line segment. Calculate two line-symmetric travel routes and A mobile terminal, wherein one of the two travel routes is selected as a true travel route based on the information.
(Additional remark 8) The said movement path | route calculation part is a movement path | route whose angle formed by (i-1) th line segment and i-th line segment is near 90 degrees among the said two movement paths, or The mobile terminal according to appendix 7, wherein a moving path whose angle formed by the (i + 2) th line segment and the (i + 3) th line segment is closer to 90 ° is selected as the true moving path. .
(Supplementary note 9) The road information is a road map of the vicinity where the mobile terminal moves, and the movement route calculation unit calculates the one of the two movement routes that has a higher degree of match with the road map, The mobile terminal according to appendix 7, wherein the mobile terminal is selected as the true travel route.
(Additional remark 10) When the detection result of the absolute position detection part which detects the absolute position of a mobile terminal is acquired and the said mobile terminal moves to a predetermined direction from a certain point, a moving direction is changed from this predetermined direction from this certain point. The line segment information connecting to the point to be changed in another direction is acquired, and the movement route of the mobile terminal is calculated based on the detected absolute position and the acquired line segment information. In the process of causing the computer to execute the process and calculating the movement path, the correction parameter for correcting the length of the line segment indicated by the acquired line segment information and the direction of the line segment indicated by the line segment information Is calculated based on the distance between the absolute position and the position on the line segment of the mobile terminal when the absolute position is detected.
(Supplementary Note 11) In the process of calculating the movement route, the computer detects the absolute position detected by the absolute position detection unit and a line segment where the mobile terminal is located when the absolute position is detected. The moving path calculation program according to appendix 10, wherein distances between the points are calculated at a plurality of absolute positions, and a correction parameter and a line segment direction that minimize the sum of squares thereof are calculated.
(Additional remark 12) In the process which calculates the said movement path | route, the said absolute position which the said absolute position detection part detected in the said computer, and the line segment which the said mobile terminal moved when the said absolute position was detected The travel route according to appendix 10, wherein distances between the absolute position and the closest point are calculated at a plurality of absolute positions, and a correction parameter that minimizes the sum of squares and a direction of the line segment are calculated. Calculation program.
(Supplementary Note 13) In the acquisition process, the absolute position corresponding to the i-th (i is a natural number) acquired line segment is one, the absolute position corresponding to the (i + 1) -th acquired line segment is 0, (i + 2 ) If there is one absolute position corresponding to the acquired line segment, the computer calculates the i-th, (i + 1) -th, (i + 2) -th in the process of calculating the movement route. The movement path calculation according to any one of appendices 10 to 12, wherein two line-symmetric movement paths are calculated from the line segment, and one of the two movement paths is selected as a true movement path. program.
(Supplementary Note 14) In the process of calculating the travel route, the computer makes the computer make an angle between the (i-1) th line segment and the i-th line segment closer to 90 ° out of the two travel routes. Or a movement path whose angle formed by the (i + 2) th line segment and the (i + 3) th line segment is close to 90 ° is selected as the true movement path. 13. A travel route calculation program according to 13.
(Supplementary Note 15) The road information is a road map of the vicinity where the mobile terminal moves, and in the process of calculating the movement route, the computer matches the road map of the two movement routes. The travel route calculation program according to appendix 13, wherein a higher degree is selected as the true travel route.
(Additional remark 16) When the detection result of the absolute position detection part which detects the absolute position of a mobile terminal is acquired and the said mobile terminal moves to a predetermined direction from a certain point, a moving direction changes from this certain point from this predetermined direction To obtain line segment information connecting to a point to be detected, and calculate a movement route of the mobile terminal based on the detection result of the absolute position detection unit and the line segment information, and cause the computer to execute a process. The absolute position corresponding to the i-th (i is a natural number) acquired line segment in the process of acquiring the line segment information is one, the absolute position corresponding to the (i + 1) -th acquired line segment is 0, (i + 2 ) If there is one absolute position corresponding to the first acquired line segment, in the process of calculating the movement route, two from the i-th, (i + 1) -th, and (i + 2) -th line segments are calculated. Calculate a line-symmetric movement route A travel route calculation program that selects one of the two travel routes as a true travel route based on information.
(Supplementary Note 17) In the process of calculating the travel route, the computer makes the computer make the angle between the (i-1) th segment and the i-th segment closer to 90 ° out of the two travel routes. Or a movement path whose angle formed by the (i + 2) th line segment and the (i + 3) th line segment is close to 90 ° is selected as the true movement path. 16. A travel route calculation program according to 16.
(Supplementary Note 18) The road information is a road map in the vicinity where the mobile terminal moves. In the process of calculating the movement route, the computer matches the road map of the two movement routes. The travel route calculation program according to appendix 16, wherein a higher degree is selected as the true travel route.

22 リンク情報生成部(取得部)
24 移動経路算出部
30 絶対位置検出部
100 移動端末
22 Link information generation unit (acquisition unit)
24 travel route calculation unit 30 absolute position detection unit 100 mobile terminal

Claims (8)

移動端末の絶対位置を検出する絶対位置検出部と、
前記移動端末の加速度を検出する加速度検出部と、
前記移動端末がある地点から所定方向に移動する場合に、該ある地点から、移動方向が該所定方向から別の方向に変更される他の地点までの間を結ぶ線分の長さを、検出された前記加速度の変化に基づいて算出する線分長算出部と、
前記ある地点から前記他の地点までの移動中に検出した前記絶対位置と、算出した前記線分の長さとに基づいて、前記移動端末の移動経路を算出する移動経路算出部と、
を備え、
前記移動経路算出部は、
検出した前記絶対位置と、算出した前記線分の長さと、与えられた前記線分の方向の初期角度とに基づき、前記線分の始点及び終点の各座標を算出し、
前記線分の始点及び終点の各座標から、前記絶対位置に対応する前記線分上の点の座標を算出し、
前記ある地点から前記他の地点までの移動中に検出した前記絶対位置の各々と、前記絶対位置の各々に対応する前記線分上の点との距離に関する指標に基づき、前記線分の長さを補正するための補正パラメータと前記線分の方向とを算出することを特徴とする移動端末。
An absolute position detector for detecting the absolute position of the mobile terminal;
An acceleration detector for detecting an acceleration of the mobile terminal;
Wherein when moving from the point where there is a mobile terminal in a predetermined direction, from a point in said, the length of a line connecting to the other point where the moving direction is changed to a different direction from the predetermined direction, detecting A line segment length calculation unit for calculating based on the change in the acceleration ,
A movement route calculation unit for calculating a movement route of the mobile terminal based on the absolute position detected during movement from the certain point to the other point and the calculated length of the line segment ;
With
The travel route calculation unit
Based on the detected absolute position, the calculated length of the line segment, and the initial angle in the direction of the given line segment, the coordinates of the start point and end point of the line segment are calculated,
From the coordinates of the start point and end point of the line segment, calculate the coordinates of the point on the line segment corresponding to the absolute position,
Based on the indicator of the distance between a point on the line segment and each of the absolute position where the certain point is detected during the movement to the other points, corresponding to each of said absolute position, long before the SL line mobile terminal, which comprises de San the direction of the correction parameter and the previous SL line to correct is.
前記移動経路算出部は、前記ある地点から前記他の地点までの移動中に検出した前記絶対位置の各々と、前記絶対位置の各々に対応する前記線分上の点との各距離を算出し、これらの二乗和を最小とする前記補正パラメータと前記線分の方向を算出することを特徴とする請求項1に記載の移動端末。 The moving path calculation section calculated out and each of the absolute position detected in the movement to the other point from the one point, the respective distances between the points on the line segments corresponding to each of the absolute position the mobile terminal according to claim 1, characterized in that to calculate the direction of the line segment and the correction parameter to minimize these square sum. 前記移動経路算出部は、前記絶対位置に対応する前記線分上の点の座標として、検出した前記絶対位置と、検出した前記加速度の変化から算出される移動距離とに基づく前記線分上の点の座標、または前記線分上で前記絶対位置と最も近い点の座標を算出することを特徴とする請求項1または2に記載の移動端末。The movement path calculation unit is a coordinate of a point on the line segment corresponding to the absolute position on the line segment based on the detected absolute position and a movement distance calculated from the detected change in acceleration. The mobile terminal according to claim 1 or 2, wherein the coordinates of a point or the coordinates of a point closest to the absolute position on the line segment are calculated. 前記線分長算出部がi番目(iは自然数)に長さを算出した線分に対応する前記絶対位置が1つ、(i+1)番目に長さを算出した線分に対応する前記絶対位置が0、(i+2)番目に長さを算出した線分に対応する前記絶対位置が1つ、であった場合には、
前記移動経路算出部は、
前記i番目、(i+1)番目、(i+2)番目の線分から2つの線対称な移動経路を算出し、前記2つの線対称な移動経路のうちの1つを、真の移動経路として選択することを特徴とする請求項1〜3のいずれか一項に記載の移動端末。
The segment length calculating section i-th (i is a natural number) one is the absolute position corresponding to the line segment was calculated length, the absolute position corresponding to the line segment was calculated length (i + 1) -th but 0, if the absolute position was one, a corresponding to the line segment was calculated (i + 2) -th length
The travel route calculation unit
Two line-symmetric movement paths are calculated from the i-th, (i + 1) -th, and (i + 2) -th line segments, and one of the two line-symmetric movement paths is selected as a true movement path. The mobile terminal as described in any one of Claims 1-3 characterized by these.
前記移動経路算出部は、前記2つの線対称な移動経路のうち、(i−1)番目の線分とi番目の線分とのなす角が90°に近い方の移動経路、又は、(i+2)番目の線分と(i+3)番目の線分とのなす角が90°に近い方の移動経路を、前記真の移動経路として選択することを特徴とする請求項4に記載の移動端末。 The movement path calculation unit is a movement path whose angle formed by the (i-1) th line segment and the i-th line segment is closer to 90 ° of the two line-symmetric movement paths, or ( 5. The mobile terminal according to claim 4, wherein a moving path whose angle formed by an i + 2) th line segment and an (i + 3) th line segment is close to 90 ° is selected as the true moving path. . 記移動経路算出部は、前記i番目、(i+1)番目、(i+2)番目の線分から2つの線対称な移動経路を算出し、道路の情報に基づいて、前記2つの線対称な移動経路のうちの1つを真の移動経路として選択することを特徴とする請求項4または5に記載の移動端末。 Before SL movement route computation unit, the i-th, (i + 1) th, (i + 2) -th calculating two axially symmetrical movement route from the line segment, based on the information of the road, the two axially symmetrical movement path The mobile terminal according to claim 4, wherein one of the mobile terminals is selected as a true travel route. 移動端末の絶対位置を検出する絶対位置検出部の検出結果を取得し、
前記移動端末がある地点から所定方向に移動する場合に、該ある地点から、移動方向が該所定方向から別の方向に変更される他の地点までの間を結ぶ線分の長さを、前記移動端末の加速度の変化に基づいて算出し、
前記ある地点から前記他の地点までの移動中に検出した前記絶対位置と、算出した前記線分の長さとに基づいて、前記移動端末の移動経路を算出する、処理をコンピュータに実行させ、
前記移動経路を算出する処理では、
検出した前記絶対位置と、算出した前記線分の長さと、与えられた前記線分の方向の初期角度とに基づき、前記線分の始点及び終点の各座標を算出し、
前記線分の始点及び終点の各座標から、前記絶対位置に対応する前記線分上の点の座標を算出し、
前記ある地点から前記他の地点までの移動中に検出した前記絶対位置の各々と、前記絶対位置の各々に対応する前記線分上の点との距離に関する指標に基づき、前記線分の長さを補正するための補正パラメータと前記線分の方向とを算出することを特徴とする移動経路算出プログラム。
Get the detection result of the absolute position detector that detects the absolute position of the mobile terminal,
Wherein when moving from the point where there is a mobile terminal in a predetermined direction, from a point in said, the length of a line connecting to the other point where the moving direction is changed to a different direction from the predetermined direction, wherein Calculated based on the acceleration of the mobile device ,
Based on the absolute position detected during the movement from the certain point to the other point and the calculated length of the line segment, the moving route of the mobile terminal is calculated.
In the process of calculating the travel route,
Based on the detected absolute position, the calculated length of the line segment, and the initial angle in the direction of the given line segment, the coordinates of the start point and end point of the line segment are calculated,
From the coordinates of the start point and end point of the line segment, calculate the coordinates of the point on the line segment corresponding to the absolute position,
Based on the indicator of the distance between a point on the line segment and each of the absolute position where the certain point is detected during the movement to the other points, corresponding to each of said absolute position, long before the SL line correction parameter before Symbol moving path calculation program, which comprises de San the direction of the line segment for correcting of.
前記線分の長さを算出する処理でi番目(iは自然数)に長さを算出した線分に対応する前記絶対位置が1つ、(i+1)番目に長さを算出した線分に対応する前記絶対位置が0、(i+2)番目に長さを算出した線分に対応する前記絶対位置が1つ、であった場合には、
前記移動経路を算出する処理では、前記i番目、(i+1)番目、(i+2)番目の線分から2つの線対称な移動経路を算出し、道路の情報に基づいて、前記2つの線対称な移動経路のうちの1つを真の移動経路として選択することを特徴とする請求項7に記載の移動経路算出プログラム。
I-th in the process of calculating the length of the line segment (i is a natural number) one is the absolute position corresponding to the line segment was calculated length, corresponding to the line segment was calculated length (i + 1) -th the absolute position is 0, if the absolute position was one, a corresponding to the line segment was calculated (i + 2) -th length
In the process of calculating the movement path, the i-th, (i + 1) th, (i + 2) -th calculating two axially symmetrical movement route from the line segment, based on the information of the road, moving the two axisymmetric 8. The moving route calculation program according to claim 7, wherein one of the routes is selected as a true moving route.
JP2011063265A 2011-03-22 2011-03-22 Mobile terminal and travel route calculation program Active JP5768426B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011063265A JP5768426B2 (en) 2011-03-22 2011-03-22 Mobile terminal and travel route calculation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011063265A JP5768426B2 (en) 2011-03-22 2011-03-22 Mobile terminal and travel route calculation program

Publications (2)

Publication Number Publication Date
JP2012198146A JP2012198146A (en) 2012-10-18
JP5768426B2 true JP5768426B2 (en) 2015-08-26

Family

ID=47180514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011063265A Active JP5768426B2 (en) 2011-03-22 2011-03-22 Mobile terminal and travel route calculation program

Country Status (1)

Country Link
JP (1) JP5768426B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2709635B2 (en) * 1989-08-21 1998-02-04 本田技研工業株式会社 Current position display device of moving object
JPH04359113A (en) * 1991-06-06 1992-12-11 Matsushita Electric Ind Co Ltd Azimuth calculation device for moving body
JP3431110B2 (en) * 1995-02-27 2003-07-28 日本電信電話株式会社 Moving object position detection device
JP3254175B2 (en) * 1996-09-11 2002-02-04 セイコーインスツルメンツ株式会社 Portable GPS receiver
JP2000241193A (en) * 1999-02-23 2000-09-08 Matsushita Electric Works Ltd Pedometer
JP2010223829A (en) * 2009-03-24 2010-10-07 Fujitsu Ltd Moving apparatus and program
JP5509991B2 (en) * 2010-03-29 2014-06-04 富士通株式会社 Portable portable terminal and moving shape calculation program

Also Published As

Publication number Publication date
JP2012198146A (en) 2012-10-18

Similar Documents

Publication Publication Date Title
JP5509991B2 (en) Portable portable terminal and moving shape calculation program
US8396659B2 (en) Navigation device, method, and program
JP6326711B2 (en) System and moving recording control method
JP5059933B2 (en) Mobile terminal, system and method
US20070078594A1 (en) Navigation system and vehicle position estimating method
JP2011191135A (en) Mobile terminal, and processing device and program
US10302435B2 (en) Method and system for enhanced navigation with multiple sensors assemblies
JP2009533692A (en) Navigation device that automatically improves GPS accuracy
WO2015025614A1 (en) Information processing device, information processing method, and recording medium
JP5036001B2 (en) Mobile terminal and program for determining pedestrian terminal holding state using geomagnetic sensor
US9864040B2 (en) Position correction apparatus, position correction method, program, position correction system
JP5464706B2 (en) Portable terminal, program and method for determining direction of travel of pedestrian using acceleration sensor and geomagnetic sensor
JP5294983B2 (en) Portable terminal, program and method for determining direction of travel of pedestrian using acceleration sensor and geomagnetic sensor
JP5072100B2 (en) Portable terminal, program and method for determining direction of travel of pedestrian using acceleration sensor and geomagnetic sensor
JP2016206017A (en) Electronic apparatus and travel speed calculation program
US20160349057A1 (en) Multiple data sources pedestrian navigation system
JP5768426B2 (en) Mobile terminal and travel route calculation program
JP5597080B2 (en) Computer program, map display device, and method for map data to be processed by map display device
JP5811558B2 (en) Mobile terminal and travel route calculation program
JP2009236535A (en) Mobile terminal , program and method for deciding walk timing of walker by using acceleration sensor
KR101140045B1 (en) Method and apparatus for tracking user location
JP6014987B2 (en) Positioning device, positioning method and program
CN114252068A (en) Pedestrian track generation method and device, electronic equipment and storage medium
JP2019152540A (en) Electronic apparatus, controller, and control program
JP2012073091A (en) Computer program with which map display device processes map data, map display device, and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140917

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141114

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: 20150526

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150608

R150 Certificate of patent (=grant) or registration of utility model

Ref document number: 5768426

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150