JP2016091280A - Incoming-or-outgoing route determination device, incoming-or-outgoing route determination method, and program - Google Patents

Incoming-or-outgoing route determination device, incoming-or-outgoing route determination method, and program Download PDF

Info

Publication number
JP2016091280A
JP2016091280A JP2014224632A JP2014224632A JP2016091280A JP 2016091280 A JP2016091280 A JP 2016091280A JP 2014224632 A JP2014224632 A JP 2014224632A JP 2014224632 A JP2014224632 A JP 2014224632A JP 2016091280 A JP2016091280 A JP 2016091280A
Authority
JP
Japan
Prior art keywords
entry
polyline
exit
exit route
route
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.)
Granted
Application number
JP2014224632A
Other languages
Japanese (ja)
Other versions
JP6289342B2 (en
Inventor
敏典 高山
Toshinori Takayama
敏典 高山
昭夫 佐藤
Akio Sato
昭夫 佐藤
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.)
Zenrin Datacom Co Ltd
Original Assignee
Zenrin Datacom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zenrin Datacom Co Ltd filed Critical Zenrin Datacom Co Ltd
Priority to JP2014224632A priority Critical patent/JP6289342B2/en
Publication of JP2016091280A publication Critical patent/JP2016091280A/en
Application granted granted Critical
Publication of JP6289342B2 publication Critical patent/JP6289342B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To easily and correctly determine an incoming or outgoing route to or from a predetermined area, on the basis of location information provided from a portable information terminal of a user.SOLUTION: An incoming-or-outgoing route determination device 10 defines a predetermined area with line segments. The incoming-or-outgoing route determination device 10 is connected to the predetermined area, divides a set (i.e., a polyline) of line segments located between incoming or outgoing routes adjacent to each other on the basis of a predetermined condition, and sorts each division into a group of one of the incoming or outgoing routes. The incoming-or-outgoing route determination device 10 acquires location information from a portable information terminal 50 of a user, calculates a movement track from the location information, and determines whether or not the calculated movement track intersects with any of the divisions of the polyline. When an intersection is confirmed, the incoming-or-outgoing route determination device 10 determines that the user has entered or exited through an incoming or outgoing route which is associated with the division of the polyline with which the intersection is confirmed.SELECTED DRAWING: Figure 1

Description

本発明は、入出経路判定装置、入出経路判定方法、及びプログラムに関する。   The present invention relates to an entry / exit route determination device, an entry / exit route determination method, and a program.

所定のエリアに進入又は退出する人(例えば、そのエリア内に位置する施設等を利用する利用者)の入出経路を判定し、その判定結果をマーケティング活動等に利用したい場合、或いは行政等において、あるエリアの入出経路毎の交通量自体を把握したい場合等がある。
例えば、或るエリアの入出経路として鉄道と有料道路があり、入出経路の判定結果から有料道路の利用者が多いことが判明している場合、施設等の事業者は、駅のホームよりも、有料道路のサービスエリア等に広告を掲載する。
そのため、入出経路の判定は、マーケティング活動等を実施する上で、重要なポイントとなる。
If you want to determine the entry / exit route of a person entering or leaving a predetermined area (for example, a user who uses a facility located in the area) and want to use the result of the determination for marketing activities, etc. There is a case where it is desired to grasp the traffic volume for each entry / exit route in a certain area.
For example, if there are railways and toll roads as entry / exit routes in a certain area, and it is known from the entry / exit route judgment results that there are many users of toll roads, operators such as facilities can Place advertisements in toll road service areas.
Therefore, the determination of the entry / exit route is an important point in carrying out marketing activities and the like.

ここで、図17は、従来の入出経路の判定方法を示す図である。
従来の入出経路の判定方法では、図17に示すように、所定のエリアに対する入出経路を判定する場合、入出経路(図17 入出経路P)に対して、例えば、直交する線分(図17 点線)を設定し、その線分と(例えば、そのエリアを利用する者の所持している携帯情報端末のGPS機能により取得された位置情報から算出される)移動軌跡(図17 移動軌跡1)が交差すれば、その利用者は、入出経路Pより進入したものとして判定している。
Here, FIG. 17 is a diagram illustrating a conventional method for determining an entry / exit route.
In the conventional entry / exit route determination method, as shown in FIG. 17, when an entry / exit route for a predetermined area is determined, for example, a line segment orthogonal to the entry / exit route (FIG. 17 entry / exit route P) (dotted line in FIG. 17). ) And the movement trajectory (calculated from the position information acquired by the GPS function of the portable information terminal owned by the person using the area) (FIG. 17 movement trajectory 1) If it intersects, the user determines that the user has entered from the entrance / exit route P.

しかし、この従来の入出経路の判定方法では、移動軌跡が、例えば、図17の移動軌跡2のように、入出経路に直交させる線分の長さが短く移動軌跡がその線分と交差しない経路として算出されると、入出経路を正確に判定することができない。また、逆に入出経路に直交させる線分の長さを長く設定し過ぎると(図17 破線)、移動軌跡が図17の移動軌跡3のように算出された場合、入出経路を正確に判定することができなくなる。
このように、従来の入出経路の判定方法では、入出経路に直交させる線分の位置及び長さによって、入出経路を正確に判定することができない場合がある。そのため、入出経路を正確に判定するには、入出経路に設定する線分の位置及び長さを、入出経路毎に細かく設定する必要があり、非常に煩わしい作業となる。
However, in this conventional entry / exit route determination method, the movement locus is a route in which the length of the line segment orthogonal to the entry / exit route is short and the movement locus does not intersect the line segment, such as the movement locus 2 in FIG. As a result, the entry / exit route cannot be accurately determined. Conversely, if the length of the line segment orthogonal to the entry / exit route is set too long (broken line in FIG. 17), the entry / exit route is accurately determined when the movement locus is calculated as the movement locus 3 in FIG. I can't do that.
As described above, in the conventional method for determining an entry / exit route, the entry / exit route may not be accurately determined depending on the position and length of the line segment orthogonal to the entry / exit route. Therefore, in order to accurately determine the entry / exit route, the position and length of the line segment set for the entry / exit route must be set finely for each entry / exit route, which is a very troublesome operation.

本発明は、前記従来の問題に鑑みてなされたものであって、その目的は、入出経路の判定対象とするエリアにユーザが進入又は退出した場合に、ユーザから提供される位置情報に基づき、そのエリアに対する入出経路を、容易かつ正確に判定することができるようにすることである。   The present invention has been made in view of the above-described conventional problems, and its purpose is based on position information provided by a user when the user enters or leaves an area to be determined as an entry / exit route, It is to be able to easily and accurately determine the entry / exit route for the area.

本発明は、地理データを記憶した地理データ記憶手段から抽出した所定のエリアを表すポリゴンに入出する移動体の経路を、前記移動体の位置情報に基づき算出した移動軌跡から判定する入出経路判定装置であって、前記ポリゴンに入出する経路間毎に前記ポリゴンを定義するポリラインを生成するポリライン生成手段と、前記ポリライン生成手段により生成したポリラインを分割するポリライン分割手段と、前記ポリライン分割手段により分割した分割ポリラインを、前記ポリライン生成手段により生成したポリラインの両端にある入出経路のいずれかに分類するポリライン分類手段と、前記ポリライン分類手段により分類した分割ポリラインと前記移動体の移動軌跡の交差の有無を判定する交差判定手段と、前記移動体の移動軌跡と交差する前記ポリライン分類手段により分類した分割ポリラインが、前記経路のいずれに分類された分割ポリラインであるかを判定して、当該移動体の入出経路を判定する入出経路判定手段と、を有する入出経路判定装置である。   The present invention relates to an entry / exit route determination device for determining a route of a moving body entering / exiting a polygon representing a predetermined area extracted from a geographic data storage means storing geographic data from a movement locus calculated based on the position information of the moving body. A polyline generating means for generating a polyline defining the polygon for each path entering and exiting the polygon, a polyline dividing means for dividing the polyline generated by the polyline generating means, and the polyline dividing means. A polyline classification means for classifying the divided polyline into one of the entry / exit paths at both ends of the polyline generated by the polyline generation means; Intersection judging means for judging, intersecting with the moving locus of the moving body An entry / exit route determination unit that determines which of the routes the divided polyline classified by the polyline classification unit is an entry / exit route determination unit that determines an entry / exit route of the mobile body Device.

本発明によれば、入出経路の判定対象とするエリアにユーザが進入又は退出した場合に、ユーザから提供される位置情報に基づき、そのエリアに対する入出経路を、容易かつ正確に判定することができる。   According to the present invention, when a user enters or leaves an area to be determined as an entry / exit route, an entry / exit route for the area can be easily and accurately determined based on position information provided by the user. .

本発明の実施形態に係る入出経路判定システムの概略ブロック図である。1 is a schematic block diagram of an entry / exit route determination system according to an embodiment of the present invention. 本発明の実施形態に係る入出経路判定装置の機能ブロック図である。It is a functional block diagram of the entrance / exit path | route determination apparatus which concerns on embodiment of this invention. エリアデータ抽出部により抽出されたエリアデータを示す図である。It is a figure which shows the area data extracted by the area data extraction part. 線分定義部により、入出経路間毎にエリアを線分として定義したエリアデータを示す図である。It is a figure which shows the area data which defined the area as a line segment for every entrance / exit path | route by the line segment definition part. 入出経路判定装置におけるエリアデータの取得からエリアを線分として定義するまでの処理の手順を示すフロー図である。It is a flowchart which shows the procedure of the process from acquisition of the area data in the entrance / exit route determination apparatus to defining an area as a line segment. 入出経路の判定例1を示す図であるIt is a figure which shows the determination example 1 of an in / out route. 入出経路の判定例2を示す図である。It is a figure which shows the determination example 2 of an entrance / exit path | route. 入出経路の判定例3を示す図である。It is a figure which shows the determination example 3 of an entrance / exit path | route. ポリライン分割部により入出経路A−B間のポリラインを分割した結果を示す図である。It is a figure which shows the result of having divided | segmented the polyline between entrance / exit path | route AB by the polyline division | segmentation part. ポリライン分類部により入出経路A−B間の分割ポリラインを入出経路A又はBに分類した結果を示す図である。It is a figure which shows the result of having classified the division | segmentation polyline between entrance / exit path | route AB into the entrance / exit path | route A or B by the polyline classification | category part. 入出経路判定装置における入出経路間のポリラインを分割し、いずれか一方の入出経路に分類するまでの処理手順を示すフロー図である。It is a flowchart which shows the process sequence until it divides | segments the polyline between the input / output routes in the input / output route determination apparatus, and classify | categorizes into one of the input / output routes. 入出経路の判定例4を示す図である。It is a figure which shows the determination example 4 of an in / out route. 入出経路の判定例5を示す図である。It is a figure which shows the determination example 5 of an entrance / exit path | route. 入出経路の判定例6を示す図である。It is a figure which shows the determination example 6 of an entrance / exit path | route. 入出経路判定装置における入出経路の判定に関する処理手順を示すフロー図である。It is a flowchart which shows the process sequence regarding determination of the entrance / exit path | route in an entrance / exit path | route determination apparatus. 入出経路データ記憶部に記憶される入出経路データを示す図である。It is a figure which shows the entrance / exit path | route data memorize | stored in the entrance / exit path | route data storage part. 従来の入出経路の判定方法を示す図である。It is a figure which shows the determination method of the conventional entrance / exit path | route.

以下、本発明の実施形態について図面を参照して説明する。
なお、以後の説明では、所定のエリア内の施設等を利用する者をユーザとして、また、入出経路に関するデータを収集する者を管理者として説明する。
図1は、本発明の実施形態に係る入出経路判定システムの概略ブロック図である。
この入出経路判定システムは、図示のように、入出経路判定装置10と、表示装置20と、入力装置30と、基地局40と、携帯情報端末50と、公衆通信ネットワーク60から構成されている。
ここで、入出経路判定装置10は、表示装置20及び入力装置30に直接接続されていると共に、基地局40及び公衆通信ネットワーク60を介して携帯情報端末50と接続されている。
Embodiments of the present invention will be described below with reference to the drawings.
In the following description, a person who uses a facility or the like in a predetermined area will be described as a user, and a person who collects data related to an entry / exit route will be described as an administrator.
FIG. 1 is a schematic block diagram of an entry / exit route determination system according to an embodiment of the present invention.
As shown in the figure, the entry / exit route determination system includes an entry / exit route determination device 10, a display device 20, an input device 30, a base station 40, a portable information terminal 50, and a public communication network 60.
Here, the entry / exit route determination device 10 is directly connected to the display device 20 and the input device 30, and is connected to the portable information terminal 50 via the base station 40 and the public communication network 60.

入出経路判定装置10は、先ず、所定のエリア(即ち、管理者により設定されたエリア)を、当該エリアを構成する点(例えば、緯度、経度等により特定される座標値)と点を線分で結線することで定義する。
入出経路判定装置10は、次に、入出経路と入出経路の間に位置する線分の集合を、所定の条件に基づいて分割し、さらに、いずれか一方の入出経路に関連付ける。
その後に、ユーザが所持する携帯情報端末50から位置情報を取得し、その位置情報から移動軌跡を算出すると、入出経路判定装置10は、その算出した移動軌跡が、分割した線分のいずれかと交差するか否かを判定する。
そして、入出経路判定装置10は、交差していることを確認すると、交差した線分に関連付けられた入出経路より、ユーザが進入又は退出したものと判定する。
なお、ここで、所定のエリア(以下、ポリゴンともいう)を定義する、線分の集合の全て又は一部をポリラインという。
First, the entry / exit route determination device 10 divides a predetermined area (that is, an area set by the administrator) into points (for example, coordinate values specified by latitude, longitude, etc.) and points constituting the area. It is defined by connecting with.
Next, the entry / exit route determination device 10 divides a set of line segments located between the entry / exit routes and the entry / exit route based on a predetermined condition, and further associates the set with one of the entry / exit routes.
Thereafter, when the position information is acquired from the portable information terminal 50 possessed by the user and the movement locus is calculated from the position information, the entry / exit route determination device 10 causes the calculated movement locus to intersect with one of the divided line segments. It is determined whether or not to do.
And if the entrance / exit path | route determination apparatus 10 confirms having crossed, it will determine with the user having entered or exited from the entrance / exit path | route linked | related with the crossed line segment.
Here, all or part of a set of line segments defining a predetermined area (hereinafter also referred to as a polygon) is called a polyline.

表示装置20は、例えば、液晶表示装置等であり、入出経路判定装置10にインストールされる所定のソフトウェアの操作画面等を表示する。
入力装置30は、例えば、キーボード、マウス等であり、入出経路判定装置10に対して種々の入力操作を行うための装置である。
基地局40は、当該基地局40の通信可能なエリア内に位置する携帯情報端末50から収集される位置情報を、ブロードバンド回線等の所定の公衆通信ネットワークを介して、入出経路判定装置10に送信する。
The display device 20 is, for example, a liquid crystal display device or the like, and displays an operation screen or the like of predetermined software installed in the entry / exit route determination device 10.
The input device 30 is, for example, a keyboard, a mouse, or the like, and is a device for performing various input operations on the entry / exit route determination device 10.
The base station 40 transmits the position information collected from the portable information terminal 50 located within the communicable area of the base station 40 to the entry / exit route determination device 10 via a predetermined public communication network such as a broadband line. To do.

携帯情報端末50は、例えば、GPS(Global Positioning System:全地球測位システム)等の衛星測位システムにより、現在位置(緯度、経度等)を位置情報として取得し、当該位置情報を、現在位置を取得(計測)した時刻と併せて基地局40を介して入出経路判定装置10に送信する。   The portable information terminal 50 acquires the current position (latitude, longitude, etc.) as position information by a satellite positioning system such as GPS (Global Positioning System), and acquires the position information. Along with the (measured) time, the information is transmitted to the entry / exit route determination device 10 via the base station 40.

次に、入出経路判定装置10の機能構成について、図面を参照して説明する。
図2は、本発明の実施形態に係る入出経路判定装置10の機能ブロック図である。
図2において、GISデータ記憶部101は、例えば日本全国全域のGIS(Geographic Information System)データ、即ち、デジタルデータ化した地理データを記憶するサーバ(地理データ記憶装置)であり、GISデータは、例えば、緯度、経度等の位置情報等より構成される。
なお、本実施形態では、図2に示すように、GISデータ記憶部101を入出経路判定装置10の内部に実装させているが、GISデータ記憶部101を外部のサーバとして構築し、入出経路判定装置10に接続してもよい。
Next, the functional configuration of the entry / exit route determination device 10 will be described with reference to the drawings.
FIG. 2 is a functional block diagram of the entry / exit route determination device 10 according to the embodiment of the present invention.
In FIG. 2, a GIS data storage unit 101 is a server (geographic data storage device) that stores, for example, GIS (Geographic Information System) data throughout Japan, that is, geographical data converted into digital data. , And position information such as latitude and longitude.
In this embodiment, as shown in FIG. 2, the GIS data storage unit 101 is mounted inside the entry / exit route determination device 10. However, the GIS data storage unit 101 is constructed as an external server to determine the entry / exit route determination. It may be connected to the device 10.

設定情報取得部102は、入出経路を判定する上で必要な情報を取得する。設定情報取得部102は、入出経路の判定を行う対象とするエリア、入出経路間に位置するポリラインを分割するときに参照する情報等を取得する。
記憶制御部103は、取得又は計算した情報(データ)を該当する記憶部に記憶するように制御する。記憶制御部103は、例えば、位置情報取得部115により取得した位置情報を位置情報記憶部116に、入出経路判定部119により判定(特定)した入出経路を入出経路データ記憶部120に記憶する。
The setting information acquisition unit 102 acquires information necessary for determining the entry / exit route. The setting information acquisition unit 102 acquires an area to be subjected to determination of an entry / exit route, information to be referred to when dividing a polyline located between the entry / exit routes, and the like.
The storage control unit 103 performs control to store the acquired or calculated information (data) in the corresponding storage unit. For example, the storage control unit 103 stores the position information acquired by the position information acquisition unit 115 in the position information storage unit 116 and the input / output route determined (specified) by the input / output route determination unit 119 in the input / output route data storage unit 120.

エリアデータ抽出部104は、設定情報取得部102により取得した、入出経路の判定を行う対象とするエリアに関するデータ(即ち、エリアデータ)を、GISデータ記憶部101より抽出する。
なお、本実施形態では、エリアデータとして、緯度、経度の座標位置を用いる。また、エリアデータ抽出部104により抽出されるエリアデータについては、図3を用いて後述する。
The area data extraction unit 104 extracts, from the GIS data storage unit 101, data related to the area for which the entry / exit route determination is performed, acquired by the setting information acquisition unit 102 (ie, area data).
In the present embodiment, latitude and longitude coordinate positions are used as the area data. The area data extracted by the area data extraction unit 104 will be described later with reference to FIG.

エリアデータ記憶部105は、エリアデータ抽出部104により抽出したエリアデータ、また、その抽出したエリアデータを線分定義部106、ポリライン分割部110により処理した結果等を記憶する。
線分定義部106は、エリアデータ抽出部104により抽出したエリアデータがエリアデータ記憶部105に記憶されると、入出経路間毎にポリラインを構成する線分を定義する。具体的には、入出経路間毎に、エリアデータ記憶部105に記憶した緯度、経度等の位置情報より、入出経路間のエリアを線分として定義する。
なお、線分定義部106により線分として定義したエリアデータについては、図4を用いて後述する。
The area data storage unit 105 stores the area data extracted by the area data extraction unit 104, the results of processing the extracted area data by the line segment definition unit 106 and the polyline division unit 110, and the like.
When the area data extracted by the area data extraction unit 104 is stored in the area data storage unit 105, the line segment definition unit 106 defines a line segment constituting a polyline for each input / output path. Specifically, for each entry / exit route, an area between the entry / exit routes is defined as a line segment from position information such as latitude and longitude stored in the area data storage unit 105.
The area data defined as the line segment by the line segment defining unit 106 will be described later with reference to FIG.

ポリライン分割数決定部107は、入出経路間毎に、入出経路間を構成するポリラインを所定の条件に従って分割する。本実施形態では、線分定義部106により定義された線分の傾きの平均変化率に応じて、入出経路間毎にポリラインを分割する。
なお、傾きの平均変化率については後述する。
分割数設定データ記憶部108は、入出経路間のポリラインを構成する線分の傾きの平均変化率とポリラインの分割数を対照表として記憶する。
The polyline division number determination unit 107 divides the polylines constituting the input / output routes according to a predetermined condition for each input / output route. In the present embodiment, the polyline is divided for each entry / exit route according to the average change rate of the slope of the line segment defined by the line segment definition unit 106.
The average rate of change in slope will be described later.
The division number setting data storage unit 108 stores, as a comparison table, the average change rate of the slopes of the line segments constituting the polylines between the input / output paths and the number of polyline divisions.

距離算出部109は、入出経路間毎に、入出経路間のポリラインの距離(長さ)を算出する。
なお、入出経路間のポリラインの距離については後述する。
ポリライン分割部110は、ポリライン分割数決定部107により決定した分割数、及び距離算出部109により算出した距離に従って、入出経路間毎に、入出経路間のポリラインを分割する。
なお、入出経路間のポリラインを分割した結果については、図9を用いて後述する。
The distance calculation unit 109 calculates the distance (length) of the polyline between the input / output routes for each input / output route.
The polyline distance between the entry / exit routes will be described later.
The polyline dividing unit 110 divides the polyline between the input / output routes for each input / output route according to the number of divisions determined by the polyline division number determination unit 107 and the distance calculated by the distance calculation unit 109.
The result of dividing the polyline between the entry / exit routes will be described later with reference to FIG.

距離比較部111は、ポリライン分割部110により分割したポリライン(以後、分割したポリラインを分割ポリラインともいう)の各々に対して、中間地点を算出し、その中間地点から一方の入出経路とポリラインとの交点までの直線距離、とその中間地点から他方の入出経路とポリラインとの交点までの直線距離を比較する。
なお、ここで、中間地点とは、分割ポリラインの一方の端部と他方の端部からの距離(長さ)が等しい地点のことをいう。また、入出経路とポリラインとの交点を入出経路点という。
The distance comparison unit 111 calculates an intermediate point for each of the polylines divided by the polyline dividing unit 110 (hereinafter, the divided polyline is also referred to as a divided polyline), and from the intermediate point, the one entry / exit route and the polyline are calculated. The straight line distance to the intersection and the straight line distance from the intermediate point to the intersection of the other entry / exit route and the polyline are compared.
Here, the intermediate point refers to a point where the distance (length) from one end of the divided polyline is equal to the other end. The intersection of the entry / exit route and the polyline is called an entry / exit route point.

ポリライン分類部112は、ポリライン分割部110により分割したポリラインの各々を、距離比較部111の比較結果に基づき、両端に位置する入出経路のうち、直線距離が近い方の入出経路にグルーピング(分類)する。
なお、分割ポリラインの分類結果については、図10を用いて後述する。また、入出経路間のポリラインの分割、分類に関する処理の具体的な内容については、図6から図8を用いて後述する。
The polyline classifying unit 112 groups (classifies) each of the polylines divided by the polyline dividing unit 110 into an input / output route with a shorter linear distance among input / output routes located at both ends based on the comparison result of the distance comparison unit 111. To do.
The classification result of the divided polyline will be described later with reference to FIG. Further, the specific contents of the processing relating to the division and classification of the polylines between the entry / exit routes will be described later with reference to FIGS.

通信部113は、例えば、第3世代移動通信システム、LTE(Long Term Evolution)、Wi−MAX(Worldwide Interoperability for Microwave Access)等の通信規格に対応する通信手段である。
通信制御部114は、位置情報の受信等に関する制御を実行する。
The communication unit 113 is a communication unit that supports communication standards such as a third generation mobile communication system, LTE (Long Term Evolution), and Wi-MAX (Worldwide Interoperability for Microwave Access).
The communication control unit 114 executes control related to reception of position information.

位置情報取得部115は、携帯情報端末50に位置情報の送信を要求し、携帯情報端末50から送信される位置情報及び計測時刻を取得する。
位置情報記憶部116は、位置情報取得部115により取得した位置情報及び計測時刻を、位置情報を送信した携帯情報端末50の識別情報、に関連付けて記憶する。
移動軌跡算出部117は、例えば、時刻tにおける位置情報と、時刻tn−1における位置情報から、移動軌跡を算出する。具体的には、移動軌跡算出部117は、移動軌跡を線分として定義する。
The position information acquisition unit 115 requests the portable information terminal 50 to transmit position information, and acquires position information and measurement time transmitted from the portable information terminal 50.
The location information storage unit 116 stores the location information and measurement time acquired by the location information acquisition unit 115 in association with the identification information of the portable information terminal 50 that transmitted the location information.
For example, the movement trajectory calculation unit 117 calculates a movement trajectory from the position information at time t n and the position information at time t n−1 . Specifically, the movement locus calculation unit 117 defines the movement locus as a line segment.

領域進入退出判定部118は、設定情報取得部102により取得されたエリアに対する、ユーザの進入又は退出を判定する。
具体的には、領域進入退出判定部118は、移動軌跡算出部117により算出した移動軌跡がポリライン分割部110により分割したポリラインとの関係で交点を有するか否かを判定し、その交点の数(即ち、交差回数)から所定のエリアに対する進入又は退出を判定する。
The area entry / exit determination unit 118 determines the user's entry or exit from the area acquired by the setting information acquisition unit 102.
Specifically, the area entry / exit determination unit 118 determines whether the movement trajectory calculated by the movement trajectory calculation unit 117 has an intersection in relation to the polyline divided by the polyline dividing unit 110, and the number of the intersections. Based on (that is, the number of intersections), entry or exit from a predetermined area is determined.

なお、この進入又は退出の判定には、領域内外判定フラグを用いることで対応しており、ユーザが所定のエリアに進入すると領域内外判定フラグをセットし、ユーザが所定のエリアから退出すると領域内外判定フラグをリセットする。
また、領域進入退出判定部118は、位置情報取得部115により取得された位置情報と線分定義部106により線分として定義されたエリアから、携帯情報端末50が領域の内部、外部のいずれに位置しているか判定する。具体的には、位置情報取得部115により取得された位置情報(即ち、座標位置)から、例えば、水平に半直線を生成し、その半直線とエリアを定義する線分との交点の数により判定する。
This entry / exit determination is handled by using an area inside / outside determination flag. When the user enters a predetermined area, the area inside / outside determination flag is set, and when the user leaves the area, the area inside / outside determination is made. Reset the judgment flag.
In addition, the area entry / exit determination unit 118 determines whether the mobile information terminal 50 is located inside or outside the area from the position information acquired by the position information acquisition unit 115 and the area defined as the line segment by the line segment definition unit 106. Determine if it is located. Specifically, for example, a horizontal line is generated horizontally from the position information (that is, the coordinate position) acquired by the position information acquisition unit 115, and the number of intersections between the line and the line defining the area is determined. judge.

入出経路判定部119は、ポリライン分割部110により分割したポリライン(即ち、分割ポリライン)と移動軌跡算出部117により算出した移動軌跡が交差すると、その分割ポリラインの中間地点から入出経路点までの直線距離が一方に比べて近いと判定された入出経路を、ユーザが進入又は退出した入出経路として判定(特定)する。
なお、本実施形態において、入出経路判定部119は、移動軌跡算出部117により時刻tにおける位置情報と時刻tn−1における位置情報から算出した移動軌跡が、ポリライン分割部110により分割した複数の分割ポリラインと交差する場合であって、さらに、その交差した分割ポリラインが各々異なる入出経路に分類されている場合、つまり、入出経路を判定できない場合には、入出経路の判定に用いる移動軌跡に代えて、所定の線分を算出することで、入出経路における判定を再度、実行する。
具体的には、入出経路判定部119は、移動軌跡算出部117に時刻tにおける位置情報と時刻tn−2における位置情報から移動軌跡を算出させ、その移動軌跡に基づき入出経路を判定する。
また、この入出経路の判定に関する仕様は、図12、図13を用いて後述する。
When the polyline (that is, the divided polyline) divided by the polyline dividing unit 110 and the movement locus calculated by the movement locus calculating unit 117 intersect, the entry / exit route determination unit 119 is a linear distance from the intermediate point of the divided polyline to the entry / exit route point. Is determined (specified) as an entry / exit route that the user has entered or exited.
The plurality in the present embodiment, input and path determination unit 119, the movement trajectory calculated from position information in the position information and the time t n-1 at time t n by the movement locus calculating section 117, divided by the polyline division unit 110 If the intersecting divided polylines are classified into different entry / exit routes, that is, if the entry / exit route cannot be determined, the movement trajectory used for the determination of the entry / exit route is used. Instead, the determination on the entry / exit route is executed again by calculating a predetermined line segment.
Specifically, input and path determination unit 119, the movement trajectory calculation unit 117 to calculate the movement trajectory from the position information in the position information and the time t n-2 at time t n to determine the input and route based on the movement locus .
Further, specifications regarding the determination of the entry / exit route will be described later with reference to FIGS.

入出経路データ記憶部120は、所定のエリアの入出経路において進入又は退出が確認された場合に、入出経路毎に、進入又は退出に関するデータを入出経路データとして記憶する。
なお、入出経路データ記憶部120に記憶される入出経路データは、携帯情報端末50の識別情報、進入又は退出時の時刻等に関連付けて、記憶してもよい。また、入出経路データ記憶部120に記憶される入出経路データは、後述の図16を用いて説明する。
The entry / exit route data storage unit 120 stores entry / exit data as entry / exit route data for each entry / exit route when entry / exit is confirmed on an entry / exit route in a predetermined area.
The entry / exit route data stored in the entry / exit route data storage unit 120 may be stored in association with the identification information of the portable information terminal 50, the time of entry or exit, and the like. The entry / exit route data stored in the entry / exit route data storage unit 120 will be described with reference to FIG.

入出経路判定データ記憶部121は、入出経路を判定するためのデータを記憶する。
入出経路判定データ記憶部121には、入出経路を判定するためのデータとして、例えば、位置情報と入出経路の関係を示すテーブルが記憶されている。
入出経路判定不可データ記憶部122は、入出経路判定部119において入出経路を判定することができなかった場合に、例えば、そのユーザの進入、又は退出前後における位置情報等を記憶する。
The entry / exit route determination data storage unit 121 stores data for determining an entry / exit route.
The entry / exit route determination data storage unit 121 stores, for example, a table indicating the relationship between the position information and the entry / exit route as data for determining the entry / exit route.
When the entry / exit route determination unit 119 cannot determine the entry / exit route, the entry / exit route determination impossibility data storage unit 122 stores, for example, position information before and after the user enters or exits.

なお、以上の各部のうち、エリアデータ抽出部104、線分定義部106、ポリライン分割数決定部107、ポリライン分割部110、ポリライン分類部112、位置情報取得部115、移動軌跡算出部117、領域進入退出判定部118、入出経路判定部119は、入出経路判定装置10のコンピュータにプログラムを読み取らせることにより生成される機能実現手段である。   Of the above units, the area data extraction unit 104, line segment definition unit 106, polyline division number determination unit 107, polyline division unit 110, polyline classification unit 112, position information acquisition unit 115, movement trajectory calculation unit 117, region The entry / exit determination unit 118 and the entry / exit route determination unit 119 are function implementation means generated by causing a computer of the entry / exit route determination device 10 to read a program.

次に、図3から図5を用いてエリアデータの取得からエリアを線分として定義するまでの処理を、図6から図15を用いて分割したポリラインの分類、入出経路の判定に関する処理を説明する。
なお、図3から図5では入出経路の判定対象とするエリアの全体を処理の対象として説明するが、図6から図15では、説明の便宜上、エリアを構成するポリラインの一部(即ち、所定の入出経路間のポリライン)を処理の対象として説明する。
Next, processing from area data acquisition to defining an area as a line segment will be described with reference to FIGS. 3 to 5, and processing related to classification of polylines divided and entry / exit routes will be described with reference to FIGS. 6 to 15. To do.
3 to 5, the entire area to be determined as the entry / exit route is described as the processing target. However, in FIGS. 6 to 15, for convenience of explanation, a part of the polyline constituting the area (that is, the predetermined area) Will be described as a processing target.

図3は、エリアデータ抽出部104により抽出されたエリアデータを示す図であり、図3において、設定情報取得部102により取得されたエリア(即ち、入出経路を判定するエリア)を、R市として示している。
前述のように、GISデータ記憶部101には、例えば日本全国全域の地図情報がデジタルデータ化して記憶されており、エリアデータ抽出部104は、設定情報取得部102により取得されたR市に関するエリアデータを、GISデータ記憶部101から抽出する。
図3に示すように、エリアデータ抽出部104は、R市(即ち、入出経路を判定するエリア)を特定する点、及び入出経路点(即ち、入出経路とR市の領域を規定するポリラインとの交点)に関するデータを、緯度、経度の座標位置で抽出する。
FIG. 3 is a diagram showing the area data extracted by the area data extraction unit 104. In FIG. 3, the area acquired by the setting information acquisition unit 102 (that is, the area for determining the entry / exit route) is R city. Show.
As described above, the GIS data storage unit 101 stores, for example, the map information of the whole area of Japan as digital data, and the area data extraction unit 104 stores the area related to the R city acquired by the setting information acquisition unit 102. Data is extracted from the GIS data storage unit 101.
As shown in FIG. 3, the area data extraction unit 104 specifies an R city (that is, an area for determining an entry / exit route), and an entry / exit route point (that is, a polyline that defines an area of the entry / exit route and the R city). The data on the intersection of the latitude and longitude are extracted.

図4は、線分定義部106により、入出経路間毎にエリアを線分として定義したエリアデータを示す図である。
線分定義部106は、エリアデータ記憶部105にR市に関するデータ(即ち、図3に示されるデータ)が記憶されると、記憶されたデータを読み込み、R市を線分として定義する。
なお、入出経路判定部119により入出経路を判定する必要があることから、線分定義部106は、図4に示すように、入出経路(例えば、入出経路A−B、入出経路G−H)毎にエリアを線分として定義する。
FIG. 4 is a diagram illustrating area data in which an area is defined as a line segment for each input / output route by the line segment definition unit 106.
When data relating to R city (that is, data shown in FIG. 3) is stored in the area data storage unit 105, the line segment defining unit 106 reads the stored data and defines R city as a line segment.
Since it is necessary to determine the input / output route by the input / output route determination unit 119, the line segment definition unit 106, as shown in FIG. 4, inputs / outputs routes (for example, input / output route AB, input / output route GH). Each area is defined as a line segment.

図5は、入出経路判定装置10におけるエリアデータの取得からエリアを線分として定義するまでの処理手順を示すフロー図である。
管理者により入出経路を判定するエリアが設定されると、設定情報取得部102は、その設定されたエリア情報(図3、図4の例ではR市)を取得する(S101)。
FIG. 5 is a flowchart showing a processing procedure from acquisition of area data to definition of an area as a line segment in the entry / exit route determination device 10.
When the area for determining the entry / exit route is set by the administrator, the setting information acquisition unit 102 acquires the set area information (R city in the examples of FIGS. 3 and 4) (S101).

エリアデータ抽出部104は、ステップS101において設定情報取得部102により取得されたエリア及びそのエリアの入出経路に関するデータを、エリアデータとして抽出する(S102)。
なお、ステップS102において抽出されたエリアデータ(即ち、図3に示されるデータ)は、エリアデータ記憶部105に記憶される。
The area data extraction unit 104 extracts the area acquired by the setting information acquisition unit 102 in step S101 and data related to the entry / exit route of the area as area data (S102).
The area data extracted in step S102 (that is, the data shown in FIG. 3) is stored in the area data storage unit 105.

線分定義部106は、エリアデータ記憶部105に記憶されたエリアデータを読み込み、入出経路毎に線分を定義する(S103)。
なお、ステップS103において、入出経路毎に定義された線分に関するデータ(即ち、図4に示されるデータ)も、エリアデータ記憶部105に記憶される。
The line segment definition unit 106 reads the area data stored in the area data storage unit 105 and defines a line segment for each entry / exit route (S103).
In step S103, data relating to the line segment defined for each entry / exit route (that is, data shown in FIG. 4) is also stored in the area data storage unit 105.

ところで、本実施形態では、入出経路を判定する上で、前述のように、入出経路間毎に、入出経路間に位置する線分の集合(即ち、ポリライン)を、線分の傾きの平均変化率に応じて決定される分割数で分割し、その分割したポリラインを、その分割ポリラインの中間地点から入出経路点までの直線距離が近い方の入出経路に分類している。
以下、この点について、簡単に説明を補足する。
By the way, in the present embodiment, in determining the entry / exit route, as described above, a set of line segments (that is, polylines) located between the entry / exit routes is averaged between the entry / exit routes. The polylines are divided according to the number of divisions determined according to the rate, and the divided polylines are classified into the entry / exit routes having a shorter straight line distance from the intermediate point of the divided polylines to the entry / exit route points.
Hereinafter, a brief description will be supplemented regarding this point.

図6は、入出経路の判定例1を示す図である。
図6では、ユーザが入出経路Qよりエリア内に進入した例であって、GPS機能により取得した位置情報から算出した移動軌跡が、移動軌跡4に示すように入出経路Qと一致しない例を示している。
FIG. 6 is a diagram illustrating a determination example 1 of an entry / exit route.
FIG. 6 shows an example in which the user has entered the area through the entry / exit route Q, and the movement locus calculated from the position information acquired by the GPS function does not coincide with the entry / exit route Q as indicated by the movement locus 4. ing.

図6に示す入出経路の判定例1において、例えば、入出経路点Pと入出経路点Qとの中間地点(即ち、入出経路点P及びQから等距離に位置する点)をCとして設定し、さらに、入出経路を判定する上で、中間地点Cの左側のポリライン(C−P)を入出経路P、また中間地点Cの右側のポリライン(C−Q)を入出経路Qに関連付けた(分類した)場合、中間地点Cは、入出経路点P及びQを線分で結んだ場合の中点とそれほどズレがないことから、移動軌跡4と分割ポリライン(図6において、ポリラインC−P、C−Q)との交点から入出経路を判定する上で、判定誤差が生じる可能性は低くなる。
実際、図6の例では、移動軌跡4は入出経路Qに関連付けた中間地点Cの右側のポリライン(C−Q)との関係で交点を有することから、入出経路判定装置10は入出経路Qより進入したものと判定する。
このように、入出経路間を構成するポリライン(即ち、線分の集合)に関して、その線分の傾きの変化が小さい場合、つまりは、おおよそ直線で示される場合、中間地点でポリラインを分割し、分割したポリラインを各々の入出経路に割り当てることで、入出経路を判定することができる。
In the determination example 1 of the entry / exit route shown in FIG. 6, for example, an intermediate point between the entry / exit route point P and the entry / exit route point Q (that is, a point located equidistant from the entry / exit route points P and Q) is set as C. Further, in determining the entry / exit route, the polyline (CP) on the left side of the intermediate point C is associated with the entry / exit route P, and the polyline (CQ) on the right side of the intermediate point C is associated with the entry / exit route Q (classified). ), The intermediate point C is not so different from the midpoint when the entry / exit route points P and Q are connected by line segments, so the movement locus 4 and the divided polylines (in FIG. 6, polylines CP, C- In determining the entry / exit route from the intersection with Q), the possibility of a determination error is reduced.
In fact, in the example of FIG. 6, the movement path 4 has an intersection in relation to the polyline (CQ) on the right side of the intermediate point C associated with the entry / exit route Q. Judge that it has entered.
In this way, when the change in the inclination of the line segment is small, that is, approximately indicated by a straight line, the polyline is divided at the intermediate point with respect to the polyline (that is, the set of line segments) constituting the input / output route, By assigning the divided polylines to each entry / exit route, the entry / exit route can be determined.

図7は、入出経路の判定例2を示す図である。
図7では、ユーザが入出経路Qよりエリア内に進入した例であって、GPS機能により取得した位置情報から算出した移動軌跡が、移動軌跡5に示すように入出経路Qと一致しない例を示している。
FIG. 7 is a diagram illustrating a determination example 2 of an entry / exit route.
FIG. 7 shows an example in which the user has entered the area from the entry / exit route Q, and the movement locus calculated from the position information acquired by the GPS function does not coincide with the entry / exit route Q as indicated by the movement locus 5. ing.

図7に示す入出経路の判定例2では、ポリラインが複雑に折れ曲がっていることから、入出経路点Pと入出経路点Qとの中間地点Cを設定し、さらに、中間地点Cの左側のポリライン(C−P)を入出経路P、また中間地点Cの右側のポリライン(C−Q)を入出経路Qに対応させても、移動軌跡が移動軌跡5のように算出された場合には、入出経路を判定する上で、判定誤差が生じる可能性がある。
実際、移動軌跡5は、中間地点Cの左側の分割ポリライン(C−P)との関係で交点を有することから、入出経路判定装置10は入出経路Pより進入したものと判定する。即ち、入出経路を誤って判定することとなる。
In the entry / exit route determination example 2 shown in FIG. 7, since the polyline is bent in a complicated manner, an intermediate point C between the entry / exit route point P and the entry / exit route point Q is set, and the polyline ( If the movement trajectory is calculated as the movement trajectory 5 even if C-P) is associated with the entry / exit route P and the right polyline (CQ) of the intermediate point C is associated with the entry / exit route Q, the entry / exit route There is a possibility that a determination error will occur in determining.
Actually, since the movement locus 5 has an intersection in relation to the divided polyline (CP) on the left side of the intermediate point C, the entry / exit route determination device 10 determines that the vehicle has entered from the entry / exit route P. That is, the entry / exit route is erroneously determined.

そこで、本実施形態では、入出経路の判定精度を向上させるために、ポリラインが線分の集合で表されること(即ち、数式y=ax+bの集合で表されること)を前提に、入出経路間のポリラインを構成する線分の傾きの平均変化率に応じて決定される分割数で、入出経路間のポリラインを分割ポリラインとして分割し、その分割ポリラインの各々に対して、その分割ポリラインの中間地点から入出経路点までの直線距離が近い方の入出経路に対応させることで、入出経路を判定する仕様としている。
なお、線分の傾きの平均変化率は、入出経路間のポリラインを構成する線分の数をnとすると、例えば、以下のように示すことができる。

Figure 2016091280
Therefore, in this embodiment, in order to improve the determination accuracy of the entry / exit route, the entry / exit route is assumed on the assumption that the polyline is represented by a set of line segments (that is, represented by a set of mathematical formula y = ax + b). The polylines between the input and output paths are divided as divided polylines with the number of divisions determined according to the average change rate of the slopes of the line segments that form the polylines between, and for each of the divided polylines, the middle of the divided polylines The specification is such that the entry / exit route is determined by making it correspond to the entry / exit route having a shorter straight line distance from the point to the entry / exit route point.
The average rate of change in the slope of the line segment can be expressed as follows, for example, where n is the number of line segments constituting the polyline between the input and output paths.
Figure 2016091280

図8は、本実施形態における入出経路の判定例3を示す図である。
なお、図8に示す入出経路の判定例3では、入出経路(即ち、入出経路P及びQ)、ポリライン等の地理的位置、及び移動軌跡(即ち、移動軌跡5)は図7と同様のケースで、入出経路を判定している。
FIG. 8 is a diagram illustrating a determination example 3 of the entry / exit route in the present embodiment.
In the example 3 of entering / exiting route shown in FIG. 8, the entering / exiting route (that is, the entering / exiting route P and Q), the geographical position such as the polyline, and the movement locus (ie, the movement locus 5) are the same as those in FIG. Thus, the entry / exit route is determined.

図8に示す入出経路の判定例では、入出経路点Pから入出経路点Qまでのポリラインを構成する線分の傾きの平均変化率に応じて、例えば、入出経路点Pから入出経路点Qまでのポリラインを分割ポリラインとして21等分割し、その分割したポリラインの各々に対して、その分割ポリラインの中間地点から入出経路点P又はQまでの直線距離が近い方の入出経路に対応させている。
図8において、各々の分割ポリラインに付しているP及びQは、分割ポリラインに関連付ける入出経路を示している。
図8に示す入出経路の判定例3では、図7と同様のケースで入出経路を判定しているが、移動軌跡5は、入出経路Qに関連付けた分割ポリラインとの関係で交点を有することから、入出経路判定装置10は入出経路Qより進入したものと判定する。即ち、入出経路を正確に判定することができている。
In the determination example of the entry / exit route shown in FIG. 8, for example, from the entry / exit route point P to the entry / exit route point Q according to the average change rate of the slope of the line segment constituting the polyline from the entry / exit route point P to the entry / exit route point Q. These polylines are divided into 21 equal parts as divided polylines, and each of the divided polylines is made to correspond to an input / output route having a shorter linear distance from the intermediate point of the divided polyline to the input / output route point P or Q.
In FIG. 8, P and Q attached to each divided polyline indicate an entry / exit route associated with the divided polyline.
In the entry / exit route determination example 3 shown in FIG. 8, the entry / exit route is determined in the same case as in FIG. 7, but the movement locus 5 has an intersection in relation to the divided polyline associated with the entry / exit route Q. The entry / exit route determination device 10 determines that the vehicle has entered from the entry / exit route Q. That is, the entry / exit route can be accurately determined.

なお、入出経路間のポリラインを構成する線分の傾きの平均変化率に応じて設定されるポリラインの分割数は、前述のように、分割数設定データ記憶部108に記憶される対照表を参照することで決定される。
対照表には、平均変化率に応じたポリラインの分割数が設定されており、例えば、平均変化率が0〜0.25の場合には、ポリラインの分割数を2に設定している。即ち、入出経路間のポリラインを、入出経路点を線分で結線した状態と同様の状態として取り扱うことができる場合、入出経路判定装置10は、中間地点において、入出経路間のポリラインを2等分割して、入出経路の判定を実行する。
Note that the polyline division number set according to the average change rate of the slope of the line segment constituting the polyline between the input and output paths is referred to the comparison table stored in the division number setting data storage unit 108 as described above. To be determined.
In the comparison table, the number of polyline divisions corresponding to the average rate of change is set. For example, when the average rate of change is 0 to 0.25, the number of polyline divisions is set to 2. That is, when the polyline between the input / output routes can be handled as the same state as the state where the input / output route points are connected by the line segment, the input / output route determination device 10 divides the polyline between the input / output routes into two equal parts at the intermediate point. Then, the entry / exit route determination is executed.

入出経路判定装置10は、ポリラインの分割数を決定すると、距離算出部109により入出経路間のポリラインの距離(長さ)を算出する。
入出経路間のポリラインの距離は、線分定義部106において定義された線分に関して、各々の線分の長さの総和を算出することで、求めることができる。
具体的には、入出経路間のポリラインの距離は、以下の数式で求めることができる。

Figure 2016091280
When the entry / exit route determination device 10 determines the polyline division number, the distance calculation unit 109 calculates the polyline distance (length) between the entry / exit routes.
The distance of the polyline between the entry / exit routes can be obtained by calculating the sum of the lengths of the respective line segments with respect to the line segments defined by the line segment defining unit 106.
Specifically, the distance of the polyline between the entry / exit routes can be obtained by the following equation.
Figure 2016091280

入出経路判定装置10は、ポリライン分割部110により、距離算出部109により算出されたポリラインの距離に基づき、入出経路間のポリラインをポリライン分割数決定部107により決定された分割数で等分割する。
図9は、ポリライン分割部110により入出経路A−B間のポリラインを分割した結果を示す図である。
図9に示すように、分割ポリラインには、α、β、γ、δ・・・等の識別子が付加される。また、分割ポリラインは、分割ポリラインα、γ等のように1つの線分として示される場合もあれば、分割ポリラインβ、δ等のように2つの以上の線分として示される場合もある。
In the entry / exit route determination device 10, the polyline dividing unit 110 equally divides the polylines between the entry / exit routes by the number of divisions determined by the polyline division number determination unit 107 based on the polyline distance calculated by the distance calculation unit 109.
FIG. 9 is a diagram illustrating a result of dividing the polyline between the entry / exit routes A-B by the polyline dividing unit 110.
As shown in FIG. 9, identifiers such as α, β, γ, δ... Are added to the divided polylines. Further, the divided polyline may be shown as one line segment such as divided polylines α and γ, or may be shown as two or more line segments such as divided polylines β and δ.

入出経路判定装置10は、ポリライン分割部110によりポリラインを分割すると、分割ポリラインの各々に関して中間地点を算出し、分割ポリラインの中間地点から一方の入出経路点までの直線距離と、その中間地点から他方の入出経路点までの直線距離を比較し、近い方の入出経路点(即ち、入出経路)に分割ポリラインを関連付け(分類)する。
図10は、ポリライン分類部112により入出経路A−B間の分割ポリラインを入出経路A又はBに分類した結果を示す図である。
なお、図10に示す分類例では、分割ポリラインα、β、γを入出経路Aに、分割ポリラインδ、ε、ζを入出経路Bに分類している。
When the polyline dividing unit 110 divides the polyline, the entry / exit route determination device 10 calculates an intermediate point for each of the divided polylines, the straight line distance from the intermediate point of the divided polyline to one input / output route point, and the intermediate point to the other The straight line distances to the entry / exit route points are compared, and the divided polyline is associated (classified) with the closest entry / exit route point (that is, the entry / exit route).
FIG. 10 is a diagram illustrating a result of classifying the divided polylines between the entry / exit routes A and B into the entry / exit routes A or B by the polyline classification unit 112.
In the classification example shown in FIG. 10, the divided polylines α, β, and γ are classified as the input / output route A, and the divided polylines δ, ε, and ζ are classified as the input / output route B.

図11は、入出経路判定装置10における入出経路間のポリラインを分割し、その分割したポリラインをいずれか一方の入出経路に分類するまでの処理手順を示すフロー図である。
なお、図11に示すフロー図では、所定の入出経路間のポリラインにおける処理として、入出経路A−B間を例に採って説明する。
FIG. 11 is a flowchart showing a processing procedure for dividing the polylines between the input / output routes in the input / output route determination apparatus 10 and classifying the divided polylines into one of the input / output routes.
In the flowchart shown in FIG. 11, as an example of the process on the polyline between the predetermined entry / exit routes, between the entry / exit routes AB will be described as an example.

ポリライン分割数決定部107は、図5のステップS103において線分定義部106により定義された線分の傾きから、傾きの平均変化率を算出する(S201)(数式1)。
ポリライン分割数決定部107は、分割数設定データ記憶部108に記憶される分割数設定データ(即ち、対照表)を参照し、ステップS201において算出した傾きの平均変化率に応じた、入出経路A−B間のポリラインの分割数を決定する(S202)。
The polyline division number determination unit 107 calculates the average change rate of the inclination from the inclination of the line segment defined by the line segment definition unit 106 in step S103 of FIG. 5 (S201) (Equation 1).
The polyline division number determination unit 107 refers to the division number setting data (that is, the comparison table) stored in the division number setting data storage unit 108, and enters / exits the route A according to the average change rate of the slope calculated in step S201. The number of polylines divided between -B is determined (S202).

距離算出部109は、次に、入出経路点Aから入出経路点Bまでのポリラインの距離(長さ)を算出する(S203)。
なお、ステップS203におけるポリラインの距離の算出処理は、ステップS204のポリラインの分割処理以前に実行されていればよく、ステップS201、S202の前に実行してもよい。
ポリライン分割部110は、ステップS203において算出されたポリラインの距離に基づき、入出経路A−B間のポリラインをS202において決定された分割数で等分割する。即ち、入出経路A−B間のポリラインを分割する(S204)。
Next, the distance calculation unit 109 calculates the distance (length) of the polyline from the entry / exit route point A to the entry / exit route point B (S203).
The polyline distance calculation process in step S203 may be executed before the polyline dividing process in step S204, or may be executed before steps S201 and S202.
Based on the polyline distance calculated in step S203, the polyline dividing unit 110 equally divides the polyline between the entry / exit routes A and B by the number of divisions determined in S202. That is, the polyline between the entry / exit routes A-B is divided (S204).

距離比較部111は、ポリラインを分割すると(S204)、分割ポリラインの各々に対して、中間地点を算出する(S205)。
そして、距離比較部111は、その算出した中間地点から入出経路点Aまでの距離と、入出経路点Bまでの距離とを比較する(S206)。
ポリライン分類部112は、ステップS206の比較結果に基づき、中間地点からの距離が近い方の入出経路点(即ち、入出経路A又はBのいずれか一方)に分割ポリラインを関連付け(分類)する(S207)。
When the polyline is divided (S204), the distance comparison unit 111 calculates an intermediate point for each of the divided polylines (S205).
Then, the distance comparison unit 111 compares the calculated distance from the intermediate point to the entry / exit route point A with the distance to the entry / exit route point B (S206).
Based on the comparison result of step S206, the polyline classification unit 112 associates (classifies) the divided polylines with the entry / exit route points that are closer to the intermediate point (that is, either the entry / exit route A or B) (S207). ).

図11のステップS207の処理が完了すると、入出経路判定装置10は、入出経路の判定処理を開始することができる。入出経路判定装置10は、移動軌跡算出部117により算出される移動軌跡がいずれか一方の入出経路に分類した分割ポリラインとの関係で交点を有することになれば、その分割ポリラインに対応させた入出経路よりユーザが進入又は退出したものと判定する。
ここで、移動軌跡算出部117により算出される移動軌跡に関して、分割ポリラインとの関係で交点を有する場合において、交点が単数である場合、また交点が複数である場合であっても、その交点を有する分割ポリラインの全てが同じ入出経路に分類された分割ポリラインである場合には、入出経路判定装置10は、その入出経路よりエリア内に進入したものと判定することができる。
When the process of step S207 in FIG. 11 is completed, the entry / exit route determination device 10 can start the entry / exit route determination process. If the movement trajectory calculated by the movement trajectory calculation unit 117 has an intersection with the divided polyline classified into one of the incoming / outgoing routes, the entry / exit route determination device 10 inputs / outputs corresponding to the divided polyline. It is determined that the user has entered or exited from the route.
Here, regarding the movement trajectory calculated by the movement trajectory calculation unit 117, when there are intersections in relation to the divided polyline, even if there are a single intersection or a plurality of intersections, the intersection is If all of the divided polylines are divided polylines that are classified into the same entry / exit route, the entry / exit route determination device 10 can determine that the entry has entered the area from the entry / exit route.

但し、移動軌跡算出部117により算出される移動軌跡によっては、分割ポリラインとの関係で複数の交点を有し、かつ、その交点を有する分割ポリラインの全てが同じ入出経路に分類されてはいない場合がある。
図12は、入出経路の判定例4を示す図である。
図12では、ユーザが入出経路Qよりエリア内に進入した例であって、GPS機能により取得した時刻tにおける位置情報と、時刻tn−1における位置情報とから算出した移動軌跡が、移動軌跡6に示すように入出経路Qと一致しない例を示している。
However, depending on the movement trajectory calculated by the movement trajectory calculation unit 117, there are a plurality of intersections in relation to the divided polylines, and not all of the divided polylines having the intersections are classified into the same entry / exit route. There is.
FIG. 12 is a diagram illustrating a determination example 4 of the entry / exit route.
FIG. 12 shows an example in which the user has entered the area through the entry / exit route Q, and the movement locus calculated from the position information at time t n acquired by the GPS function and the position information at time t n−1 is As shown in the locus 6, an example that does not coincide with the entry / exit route Q is shown.

入出経路の判定例4では、図12に示すように、移動軌跡6が、入出経路Qに分類された分割ポリラインと、入出経路Pに分類された分割ポリラインの双方と交点を有している。この場合、入出経路判定部119は、移動軌跡6から、単純に、入出経路を入出経路P又はQのいずれかに判定することができない。
そこで、移動軌跡が、分割ポリラインとの関係で複数の交点を有し、かつ、その交点を有する分割ポリラインの全てが同じ入出経路に分類された分割ポリラインとはならない場合、入出経路判定装置10は、移動軌跡算出部117により時刻tにおける位置情報と、例えば、時刻tn−2における位置情報とから移動軌跡を算出し、その移動軌跡と分割ポリラインとの関係から、再度、入出経路の判定を実行する。
なお、時刻tn−2は、時刻tn−1以前に、位置情報を取得した時刻である。また、移動軌跡を算出する上で、前述のように時刻tn−1における位置情報を除外している。
In the entry / exit route determination example 4, as shown in FIG. 12, the movement trajectory 6 has an intersection with both the divided polyline classified into the entry / exit route Q and the divided polyline classified into the entry / exit route P. In this case, the entry / exit route determination unit 119 cannot simply determine the entry / exit route as either the entry / exit route P or Q from the movement locus 6.
Therefore, when the movement trajectory has a plurality of intersections in relation to the divided polylines and all the divided polylines having the intersections are not divided polylines classified into the same entry / exit route, the entry / exit route determination device 10 The movement trajectory calculation unit 117 calculates the movement trajectory from the position information at the time t n and, for example, the position information at the time t n−2 , and again determines the entry / exit route from the relationship between the movement trajectory and the divided polyline. Execute.
Time t n-2 is the time when the position information was acquired before time t n−1 . Further, in calculating the movement trajectory, the position information at time t n−1 is excluded as described above.

図13は、入出経路の判定例5を示す図である。
図13では、ユーザが入出経路Qよりエリア内に進入した例であって、GPS機能により取得した時刻tにおける位置情報と、時刻tn−2における位置情報とから算出した移動軌跡が、移動軌跡7に示すように入出経路Qと一致しない例を示している。
FIG. 13 is a diagram illustrating determination example 5 of an entry / exit route.
FIG. 13 shows an example in which the user has entered the area through the entry / exit route Q, and the movement locus calculated from the position information at time t n acquired by the GPS function and the position information at time t n−2 is As shown in the locus 7, an example that does not coincide with the entry / exit route Q is shown.

入出経路の判定例5では、図13に示すように、移動軌跡7が、入出経路Qに分類された分割ポリラインと交点を有していることから、入出経路判定部119は、入出経路Qより進入したものと判定することができる。
なお、図13では、移動軌跡(移動軌跡7)と交点を有する分割ポリラインの全てが同じ入出経路(入出経路Q)に分類されている例を示しているが、移動軌跡と交点を有する分割ポリラインの全てが同じ入出経路に分類されてはいなかった場合には、時刻tにおける位置情報と、時刻tn−3、tn−4、tn−5・・・における位置情報とから移動軌跡を算出し、その算出した移動軌跡と分割ポリラインとの関係(即ち、交差状況)から、再度、入出経路を判定することもできる。
In the entry / exit route determination example 5, as shown in FIG. 13, the movement locus 7 has intersections with the divided polylines classified into the entry / exit route Q. It can be determined that the vehicle has entered.
FIG. 13 shows an example in which all of the divided polylines having intersections with the movement locus (movement locus 7) and the intersection are classified into the same entry / exit route (entrance / exit route Q). However, the divided polylines having the intersection with the movement locus are shown. moving track from when all has not yet been classified in the same input and routes, the position information at time t n, and the position information at time t n-3, t n- 4, t n-5 ··· of And the entry / exit route can be determined again from the relationship between the calculated movement trajectory and the divided polyline (that is, the intersection state).

また、以上のように、以前に取得された位置情報より移動軌跡を算出して、入出経路を判定しても、入出経路を判定することができない場合、入出経路判定部119は、判定時に用いた位置情報等を、入出経路判定データ記憶部121に記憶されている位置情報等と照合することで、入出経路を判定することができる。
入出経路判定データ記憶部121に記憶されている入出経路を判定するためのデータと照合しても、入出経路を判定することができなかった場合、入出経路判定装置10は、記憶制御部103により、例えば、そのユーザの進入又は退出前後における位置情報等を入出経路判定不可データ記憶部122に記憶する。
この場合、管理者は、例えば、入出経路判定不可データ記憶部122に記憶されたデータと、実際に移動体(例えば、車両等、また携帯情報端末50を所持する人も含む)によりエリア内に進入又は退出することで取得したデータを照合することで、入出経路を特定することもできる。
In addition, as described above, when the movement path is calculated from the previously acquired position information and the entry / exit route cannot be determined even if the entry / exit route is determined, the entry / exit route determination unit 119 is used for determination. The incoming / outgoing route can be determined by comparing the received location information and the like with the positional information stored in the incoming / outgoing route determination data storage unit 121.
If the entry / exit route cannot be determined even after collating with the data for judging the entry / exit route stored in the entry / exit route determination data storage unit 121, the entry / exit route determination device 10 uses the storage control unit 103. For example, the location information before and after the user enters or exits is stored in the entry / exit route determination impossibility data storage unit 122.
In this case, for example, the administrator can enter the area by using the data stored in the entry / exit route determination impossibility data storage unit 122 and the mobile body (for example, the vehicle or the person who owns the portable information terminal 50). The entry / exit route can also be specified by collating the data acquired by entering or leaving.

ここで、図12及び図13の入出経路の判定例では、入出経路P及びQがエリア内に進入した後に、入出経路P及びQのいずれもが入出経路P−Q間のポリラインと交差しないことを前提としている。なお、入出経路P又はQのいずれかが入出経路P−Q間のポリラインと交差する場合には、その交差した点を入出経路点として、入出経路の判定処理を実行する。
また、入出経路判定装置10は、所定のエリアを貫通する入出経路、即ち、エリア内で連続する入出経路(即ち、例えば、同じ道路等)であっても、異なる入出経路として取り扱い、入出経路の判定処理を実行する。
Here, in the entry / exit route determination examples of FIGS. 12 and 13, after the entry / exit routes P and Q enter the area, neither the entry / exit routes P and Q intersect the polyline between the entry / exit routes P-Q. Is assumed. When either the entry / exit route P or Q intersects the polyline between the entry / exit routes P-Q, the entry / exit route determination process is executed with the intersected point as the entry / exit route point.
In addition, the entry / exit route determination device 10 treats an entry / exit route that penetrates a predetermined area, that is, an entry / exit route continuous in the area (that is, the same road, for example) as a different entry / exit route. Execute the judgment process.

図14は、入出経路の判定例6を示す図である。
図14では、ユーザが入出経路Qよりエリア内に進入し、入出経路Pより退出する例を示しており、GPS機能により取得した位置情報から算出した移動軌跡を、移動軌跡8として示している。
また、入出経路P及びQは、図14に示すように、エリア内で連続している。
FIG. 14 is a diagram illustrating a determination example 6 of an entry / exit route.
FIG. 14 shows an example in which the user enters the area from the entry / exit route Q and exits from the entry / exit route P, and the movement locus calculated from the position information acquired by the GPS function is shown as the movement locus 8.
Moreover, the entrance / exit routes P and Q are continuous in the area as shown in FIG.

この場合、入出経路判定装置10は、移動軌跡と分割ポリラインの交点より、入出経路Qを進入経路として、また入出経路Pを退出経路として判定する。
なお、ここでの入出経路の判定処理は、入出経路判定データ記憶部121に記憶されている位置情報と照合することで、入出経路を判定している。また、進入又は退出の判定は、前述の領域内外判定フラグを用いて実行する。
In this case, the entry / exit route determination device 10 determines the entry / exit route Q as the entry route and the entry / exit route P as the exit route from the intersection of the movement locus and the divided polyline.
In the entry / exit route determination process here, the entry / exit route is determined by collating with the position information stored in the entry / exit route determination data storage unit 121. Further, the determination of entry or exit is executed using the above-described area inside / outside determination flag.

図15は、入出経路判定装置10における入出経路の判定に関する処理手順を示すフロー図である。
図15に示すフロー図では、前述のように、所定の入出経路間(例えば、入出経路A−B間)のポリラインにおける処理として説明する。
なお、所定のエリア全体に対する進入又は退出の入出経路を判定(特定)するには、そのエリアを構成する、入出経路間のポリラインの全てに対して、入出経路間毎に図15に示す処理を実行し、その判定処理の結果を集計する必要がある。
また、入出経路の判定処理は、各々のユーザ(携帯情報端末50)に対して、実行する。
FIG. 15 is a flowchart showing a processing procedure related to determination of an input / output route in the input / output route determination device 10.
In the flowchart shown in FIG. 15, as described above, description will be given as processing in a polyline between predetermined input / output paths (for example, between input / output paths AB).
In order to determine (specify) the entry / exit routes for the entire predetermined area, the processing shown in FIG. 15 is performed for each of the input / output routes for all the polylines between the input / output routes constituting the area. It is necessary to execute and totalize the results of the determination process.
The entry / exit route determination processing is executed for each user (portable information terminal 50).

移動軌跡算出部117は、位置情報記憶部116より、時間的に前後の関係にある位置情報(例えば、時刻tと時刻tn−1における緯度、経度に関する座標位置)を取得する(S301)。
移動軌跡算出部117は、取得した位置情報から、移動軌跡を算出する(S302)。
領域進入退出判定部118は、ステップS302において移動軌跡算出部117により算出した移動軌跡が、ポリライン分割部110により分割したポリラインとの関係で、交点を有するか否かを判定する(即ち、交差するか否かを判定する)(S303)。
The movement trajectory calculation unit 117 acquires position information (for example, coordinate positions related to latitude and longitude at the time t n and the time t n−1 ) from the position information storage unit 116 in a temporal relationship (S301). .
The movement trajectory calculation unit 117 calculates a movement trajectory from the acquired position information (S302).
The area entry / exit determination unit 118 determines whether or not the movement trajectory calculated by the movement trajectory calculation unit 117 in step S302 has an intersection with the polyline divided by the polyline division unit 110 (that is, intersects). (S303).

判定の結果、領域進入退出判定部118が、交点を有さないと判定すると(S303 交点無し)、移動軌跡算出部117は、位置情報記憶部116より、時刻tn+1における緯度、経度に関する座標位置を取得し(S301)、取得した位置情報(即ち、時刻tn+1と時刻tにおける緯度、経度に関する座標位置)から、移動軌跡を算出する(S302)。
入出経路判定装置10は、以上のステップS301からS302までの処理を、ステップS303において交点を有する(即ち、交差する)と判定されるまで、繰り返し実行する。
なお、時刻tn+1は、時刻t以後に、位置情報を取得した時刻である。
As a result of the determination, if the area entry / exit determination unit 118 determines that there is no intersection (S303, no intersection), the movement trajectory calculation unit 117 uses the coordinate information regarding the latitude and longitude at time t n + 1 from the position information storage unit 116. get the (S301), the acquired position information (i.e., latitude at time t n + 1 and the time t n, the longitude relates coordinate position), it calculates the movement locus (S302).
The entry / exit route determination device 10 repeatedly executes the above-described processing from step S301 to step S302 until it is determined in step S303 that there is an intersection (that is, intersects).
Note that time t n + 1 is the time when the position information is acquired after time t n .

そして、ステップS303において、交点を有すると判定すると(S303 交点有り)、領域進入退出判定部118は、交点の数が単数であるか、複数であるかを判定する(S304)。
ここで、分割ポリラインと移動軌跡の交点は一つ(単数)となることが予定されるが、位置情報の取得状況、ポリラインの形状によっては、例えば、図12、図13等に示すように交点が複数になることもあるため、ステップS304において交点の数が単数であるか、複数であるかを判定している。
なお、ステップS304以後の処理では、先ず、交点の数が単数である場合(S304 単数)を説明し、その後に、交点の数が複数である場合(S304 複数)を説明する。
If it is determined in step S303 that there is an intersection (S303 with an intersection), the area entry / exit determination unit 118 determines whether the number of intersections is singular or plural (S304).
Here, the intersection of the divided polyline and the movement trajectory is expected to be one (single). However, depending on the acquisition status of the position information and the shape of the polyline, for example, as shown in FIGS. In some cases, the number of intersections is singular or plural in step S304.
In the processing after step S304, the case where the number of intersections is singular (S304 singular) will be described first, and then the case where the number of intersections is plural (S304 plural) will be described.

領域進入退出判定部118は、ステップS304において交点の数が単数であると判定すると(S304 単数)、領域内外判定フラグがリセット状態にあるか、セット状態にあるかを確認する(S305)。
領域進入退出判定部118は、ステップS305において、領域内外判定フラグがリセット状態にあると確認された場合には(S305 リセット)、エリア内に進入したものと判定する。他方、領域内外判定フラグがセット状態にあると確認された場合には(S305 セット)エリア外に退出したものと判定する。
If the area entry / exit determination unit 118 determines in step S304 that the number of intersections is singular (S304 singular), it confirms whether the area inside / outside determination flag is in the reset state or in the set state (S305).
In step S305, when the area inside / outside determination flag is confirmed to be in the reset state (step S305 reset), the area entry / exit determination unit 118 determines that the area has entered the area. On the other hand, when it is confirmed that the area inside / outside determination flag is in the set state (S305 set), it is determined that the vehicle has left the area.

入出経路判定部119は、領域内外判定フラグがリセット状態にある場合(S305 リセット)、交差が確認された分割ポリラインから、進入経路を特定(判定)する(S306)。
記憶制御部103は、ステップS306において特定された進入経路を、入出経路データ記憶部120に記憶する(S307)。
When the area inside / outside determination flag is in the reset state (S305 reset), the entry / exit route determination unit 119 identifies (determines) the approach route from the divided polyline in which the intersection is confirmed (S306).
The storage control unit 103 stores the approach route specified in step S306 in the entry / exit route data storage unit 120 (S307).

領域進入退出判定部118は、記憶制御部103により進入経路に関するデータが入出経路データ記憶部120に記憶されると、領域内外判定フラグをセットする(S308)。即ち、取得した位置情報より、ユーザがエリア内に位置(滞在)していることをデータとして保持しておく。
以上の入出経路の判定に関する処理が終了すると(S303〜S308)、入出経路判定装置10は、入出経路判定部119により入出経路判定フラグをリセットし(S309)、再度、ステップS301から処理を実行する。
なお、入出経路判定フラグについては、後述のステップS318の処理で説明する。
The area entry / exit determination unit 118 sets the area inside / outside determination flag when the storage control unit 103 stores the data regarding the approach route in the entry / exit route data storage unit 120 (S308). That is, based on the acquired position information, it is stored as data that the user is located (stayed) in the area.
When the above processing regarding the determination of the input / output route ends (S303 to S308), the input / output route determination device 10 resets the input / output route determination flag by the input / output route determination unit 119 (S309), and executes the processing from step S301 again. .
The entry / exit route determination flag will be described in the process of step S318 described later.

また、ステップS305において、領域内外判定フラグがセット状態にある場合(S305 セット)、入出経路判定部119は、交差が確認された分割ポリラインから、退出経路を特定(判定)する(S310)。
記憶制御部103は、ステップS310において特定された退出経路を、入出経路データ記憶部120に記憶する(S311)。
In step S305, when the area inside / outside determination flag is in the set state (set in S305), the entry / exit route determination unit 119 identifies (determines) the exit route from the divided polyline in which the intersection is confirmed (S310).
The storage control unit 103 stores the exit route identified in step S310 in the entry / exit route data storage unit 120 (S311).

領域進入退出判定部118は、記憶制御部103により進入経路に関するデータが入出経路データ記憶部120に記憶されると、領域内外判定フラグをリセットする(S312)。即ち、取得した位置情報より、ユーザがエリア外に位置していることをデータとして保持しておく。
入出経路の判定に関する処理が終了すると(S303〜S312)、入出経路判定装置10は、入出経路判定部119により入出経路判定フラグをリセットし(S309)、再度、ステップS301から処理を実行する。
When the storage control unit 103 stores the data related to the approach route in the entry / exit route data storage unit 120, the region entry / exit determination unit 118 resets the region inside / outside determination flag (S312). That is, the fact that the user is located outside the area is stored as data from the acquired position information.
When the processing related to the determination of the input / output route ends (S303 to S312), the input / output route determination device 10 resets the input / output route determination flag by the input / output route determination unit 119 (S309), and executes the processing from step S301 again.

次に、ステップS304において、交点の数が複数である場合(S304 複数)を説明する。
領域進入退出判定部118は、ステップS304において交点の数が複数であると判定すると、領域内外判定フラグがリセット状態にあるか、セット状態にあるかを判定する(S313)。
なお、領域進入退出判定部118は、領域内外判定フラグの状態に基づき、進入又は退出に関する判定を実行する。
Next, the case where there are a plurality of intersections in step S304 (S304 plural) will be described.
If the area entry / exit determination unit 118 determines in step S304 that there are a plurality of intersections, the area entry / exit determination unit 118 determines whether the area inside / outside determination flag is in the reset state or the set state (S313).
Note that the area entry / exit determination unit 118 executes determination regarding entry or exit based on the state of the area inside / outside determination flag.

入出経路判定部119は、領域内外判定フラグがリセット状態にある場合(S313 リセット)、交差が確認された分割ポリラインから、入出経路を特定(判定)する(S314)。
入出経路判定部119は、次に、特定された入出経路が全て同じ入出経路であるか否かを判定する(S315)。
When the region inside / outside determination flag is in the reset state (S313 reset), the entry / exit route determination unit 119 identifies (determines) the entry / exit route from the divided polyline in which the intersection is confirmed (S314).
Next, the entry / exit route determination unit 119 determines whether or not all the specified entry / exit routes are the same entry / exit route (S315).

そして、ステップS315において、特定された入出経路の全てが同じ入出経路であると判定すると(S315 Yes)、記憶制御部103は、ステップS314において特定された入出経路を、進入経路として入出経路データ記憶部120に記憶する(S316)。
領域進入退出判定部118は、記憶制御部103により進入経路に関するデータが入出経路データ記憶部120に記憶されると、領域内外判定フラグをセットする(S317)。即ち、取得した位置情報より、ユーザがエリア内に位置(滞在)していることをデータとして保持しておく。
入出経路の判定に関する処理が終了すると(S303〜S317)、入出経路判定装置10は、入出経路判定部119により入出経路判定フラグをリセットし(S309)、再度、ステップS301から処理を実行する。
If it is determined in step S315 that all of the identified entry / exit routes are the same entry / exit route (S315 Yes), the storage control unit 103 stores the entry / exit route identified in step S314 as the entry route. The information is stored in the unit 120 (S316).
The area entry / exit determination unit 118 sets the area inside / outside determination flag when the storage control unit 103 stores the data related to the approach route in the entry / exit route data storage unit 120 (S317). That is, based on the acquired position information, it is stored as data that the user is located (stayed) in the area.
When the processing related to the determination of the input / output route ends (S303 to S317), the input / output route determination device 10 resets the input / output route determination flag by the input / output route determination unit 119 (S309), and executes the processing from step S301 again.

また、ステップS315において、特定された入出経路の全てが同じ入出経路ではない(図12)と判定すると(S315 No)、入出経路判定部119は、入出経路判定フラグがリセット状態にあるか、セット状態にあるか確認する(S318)。
ここで、図15に示す入出経路の判定処理では、後述のステップS320において時刻tにおける位置情報と時刻tn−2における位置情報から算出される移動軌跡から入出経路を特定することができない場合に、入出経路判定データ記憶部121に記憶される、入出経路を判定するためのデータと照合して入出経路を判定する処理に、処理を分岐(移行)させるために、入出経路判定フラグを用いることで対応している。
なお、この入出経路判定フラグは、入出経路判定部119により管理される。
If it is determined in step S315 that all of the specified entry / exit routes are not the same entry / exit route (FIG. 12) (No in S315), the entry / exit route determination unit 119 determines whether the entry / exit route determination flag is in the reset state. It is confirmed whether it is in a state (S318).
Here, in the determination process in and out path shown in FIG. 15, if it is not possible to identify the input and the path from the movement trajectory calculated from position information in the position information and the time t n-2 at time t n in the step S320 described later In addition, an input / output path determination flag is used to branch (move) the process into the process of determining the input / output path by comparing with the data for determining the input / output path stored in the input / output path determination data storage unit 121. It corresponds by that.
The entry / exit route determination flag is managed by the entry / exit route determination unit 119.

そして、入出経路判定フラグがリセット状態にある場合(S318 リセット)、移動軌跡算出部117は、位置情報記憶部116より、ステップS301において取得した位置情報より以前の位置情報(例えば、時刻tn−2における緯度、経度に関する座標位置)を取得する(S319)。
移動軌跡算出部117は、時刻tn−2における位置情報を取得すると(S319)、時刻tにおける位置情報と時刻tn−2における位置情報から、移動軌跡を算出する(S320)。
入出経路判定装置10は、ステップS320において移動軌跡を算出すると、入出経路判定部119により入出経路判定フラグをセットし(S321)、ステップS303から処理を再度、実行する。
When the entry / exit route determination flag is in the reset state (S318 reset), the movement trajectory calculation unit 117 receives position information (for example, time t n−) earlier than the position information acquired in step S301 from the position information storage unit 116. 2 is acquired (S319).
When the movement trajectory calculation unit 117 acquires the position information at time t n-2 (S319), the movement trajectory calculation unit 117 calculates the movement trajectory from the position information at time t n and the position information at time t n-2 (S320).
When calculating the movement trajectory in step S320, the entry / exit route determination device 10 sets an entry / exit route determination flag by the entry / exit route determination unit 119 (S321), and executes the processing from step S303 again.

再度、実行された入出経路の判定処理において、ステップS304において交点が複数と判定され(S304 複数)、さらに特定された入出経路の全てが同じではないと判定された場合(S315 No)には、再度、入出経路判定部119により、入出経路判定フラグの状態が確認される(S318)。
なお、この場合、ステップS321において入出経路判定フラグをセットしていることから、入出経路判定部119は、入出経路判定フラグがセット状態にあると判定する(S318 セット)。
In the executed entry / exit route determination process again, if it is determined in step S304 that there are a plurality of intersections (S304 plural), and it is further determined that all of the specified entry / exit routes are not the same (No in S315), Again, the state of the input / output route determination flag is confirmed by the input / output route determination unit 119 (S318).
In this case, since the entry / exit route determination flag is set in step S321, the entry / exit route determination unit 119 determines that the entry / exit route determination flag is in the set state (set S318).

入出経路判定部119は、入出経路判定フラグがセット状態にある場合(S318 セット)、例えば、位置情報記憶部116より取得した位置情報(時刻t、時刻tn−1、時刻tn−2における緯度、経度に関する座標位置)と、入出経路判定データ記憶部121に記憶される、入出経路を判定するためのデータとを照合する(S322)。
具体的には、入出経路判定部119は、前述のように、入出経路判定データ記憶部121に記憶される位置情報と入出経路の関係を示すテーブル(データベース)を照合する。
照合した結果、入出経路を特定することができた場合(S323 特定可)、記憶制御部103は、進入経路、又は進入経路及び退出経路を、入出経路として入出経路データ記憶部120に記憶する(S324)。
When the entry / exit route determination flag is in the set state (S318 set), the entry / exit route determination unit 119, for example, the position information (time t n , time t n−1 , time t n−2 ) acquired from the position information storage unit 116. Are compared with the data for determining the entry / exit route stored in the entry / exit route determination data storage unit 121 (S322).
Specifically, as described above, the entry / exit route determination unit 119 collates the table (database) indicating the relationship between the position information stored in the entry / exit route determination data storage unit 121 and the entry / exit route.
As a result of the collation, when the entry / exit route can be identified (S323 can be identified), the storage control unit 103 stores the entry route or the entry route / exit route in the entry / exit route data storage unit 120 as the entry / exit route ( S324).

領域進入退出判定部118は、記憶制御部103により入出経路の記憶処理が終了すると、エリアデータ記憶部105より入出経路に関するデータを読み込み、入出経路の判定対象とする入出経路が連続しているか否かを判定する(S325)。
判定の結果、入出経路の判定対象とする入出経路が連続していないと判定すると(S325 不連続)、領域進入退出判定部118は、領域内外判定フラグをセットする(S327)。
また、領域進入退出判定部118は、入出経路の判定対象とする入出経路が連続していると判定した場合において(S325 連続)、さらに交点の数が奇数と判定した場合も(S326 奇数)、同様に、領域内外判定フラグをセットする(S327)。
When the storage control unit 103 finishes the storage process of the entry / exit route, the area entry / exit determination unit 118 reads data relating to the entry / exit route from the area data storage unit 105, and whether the entry / exit route as the determination target of the entry / exit route is continuous. Is determined (S325).
As a result of the determination, if it is determined that the input / output routes to be determined as the input / output routes are not continuous (discontinuous in S325), the region entry / exit determination unit 118 sets the region inside / outside determination flag (S327).
In addition, when the area entry / exit determination unit 118 determines that the entry / exit route to be determined as the entry / exit route is continuous (S325 continuous), and also determines that the number of intersections is an odd number (S326 odd), Similarly, an area inside / outside determination flag is set (S327).

領域内外判定フラグをセットすると(S327)、入出経路判定装置10は、入出経路判定部119により入出経路判定フラグをリセットし(S309)、再度、ステップS301から処理を実行する。
なお、領域進入退出判定部118により、入出経路の判定対象とする入出経路が連続していると判定した場合において(S325 連続)、さらに交点の数が偶数と判定した場合も(S326 偶数)、同様に、入出経路判定装置10は、入出経路判定部119により入出経路判定フラグをリセットし(S309)、再度、ステップS301から処理を実行する。
When the area inside / outside determination flag is set (S327), the entry / exit route determination unit 119 resets the entry / exit route determination flag by the entry / exit route determination unit 119 (S309), and executes the processing from step S301 again.
In addition, when the area entry / exit determination unit 118 determines that the entry / exit route as the determination target of the entry / exit route is continuous (S325 continuous), and also when the number of intersections is determined to be an even number (S326 even), Similarly, the entry / exit route determination device 10 resets the entry / exit route determination flag by the entry / exit route determination unit 119 (S309), and executes the processing from step S301 again.

また、ステップS323において、入出経路判定部119により入出経路を特定することができなかった場合(S323 特定不可)、記憶制御部103は、移動軌跡算出部117により算出した移動軌跡と分割ポリラインとの交点、また、取得した位置情報(時刻t、時刻tn−1、時刻tn−2における緯度、経度に関する座標位置)等を、入出経路判定不可データ記憶部122に記憶する(S328)。
入出経路判定装置10は、ステップS328の記憶処理が完了すると、ステップS325から処理を開始する。
なお、図15のフロー図には示していないが、入出経路判定部119により入出経路を特定することができなかった場合(S323 特定不可)、入出経路に関する処理を一時的に終了してもよい。
In step S323, if the entry / exit route cannot be specified by the entry / exit route determination unit 119 (S323 cannot be specified), the storage control unit 103 determines whether the movement track calculated by the movement track calculation unit 117 and the divided polyline The intersection and the acquired position information (coordinate positions related to latitude and longitude at time t n , time t n−1 , and time t n−2 ) and the like are stored in the entry / exit route determination impossibility data storage unit 122 (S328).
When the storage process in step S328 is completed, the entry / exit route determination device 10 starts the process from step S325.
Although not shown in the flowchart of FIG. 15, when the entry / exit route determination unit 119 cannot identify the entry / exit route (S323 cannot be specified), the processing related to the entry / exit route may be temporarily ended. .

また、ステップS313において、領域進入退出判定部118により領域内外判定フラグがセット状態にあることを確認すると(S313 セット)、入出経路判定部119は、交差が確認された、分割ポリラインから、入出経路を特定(判定)する(S329)。
入出経路判定部119は、次に、特定された入出経路が全て同じ入出経路であるか否かを判定する(S330)。
In step S313, when the area entry / exit determination unit 118 confirms that the area inside / outside determination flag is in the set state (S313 set), the entry / exit route determination unit 119 starts the entry / exit route from the divided polyline where the intersection is confirmed. Is specified (determined) (S329).
Next, the input / output route determination unit 119 determines whether or not all the specified input / output routes are the same input / output route (S330).

そして、ステップS330において、特定された入出経路の全てが同じ入出経路であると判定すると(S330 Yes)、記憶制御部103は、ステップS329において特定された入出経路を、退出経路として入出経路データ記憶部120に記憶する(S331)。
領域進入退出判定部118は、記憶制御部103により退出経路に関するデータが入出経路データ記憶部120に記憶されると、領域内外判定フラグをリセットする(S332)。即ち、取得した位置情報より、ユーザがエリア外に位置していることをデータとして保持しておく。
入出経路の判定に関する処理が終了すると(S303〜S332)、入出経路判定装置10は、入出経路判定部119により入出経路判定フラグをリセットし(S309)、再度、ステップS301から処理を実行する。
If it is determined in step S330 that all of the identified entry / exit routes are the same entry / exit route (S330 Yes), the storage control unit 103 stores the entry / exit route identified in step S329 as an exit route. The information is stored in the unit 120 (S331).
The area entry / exit determination unit 118 resets the area inside / outside determination flag when the storage control unit 103 stores the data related to the exit route in the entry / exit route data storage unit 120 (S332). That is, the fact that the user is located outside the area is stored as data from the acquired position information.
When the processing related to the determination of the input / output route ends (S303 to S332), the input / output route determination device 10 resets the input / output route determination flag by the input / output route determination unit 119 (S309), and executes the processing from step S301 again.

また、ステップS330において、特定された入出経路の全てが同じ入出経路ではないと判定すると(S330 No)、入出経路判定部119は、入出経路判定フラグがリセット状態にあるか、セット状態にあるか確認する(S333)。
そして、入出経路判定フラグがリセット状態にある場合(S333 リセット)、移動軌跡算出部117は、位置情報記憶部116より、ステップS301において取得した位置情報より以前の位置情報(例えば、時刻tn−2における緯度、経度に関する座標位置)を取得する(S334)。
移動軌跡算出部117は、時刻tn−2における位置情報を取得すると(S334)、時刻tにおける位置情報と時刻tn−2における位置情報から、移動軌跡を算出する(S335)。
入出経路判定装置10は、ステップS335において移動軌跡を算出すると、入出経路判定部119により入出経路判定フラグをセットし(S336)、ステップS303から処理を再度、実行する。
If it is determined in step S330 that all the specified entry / exit routes are not the same entry / exit route (No in S330), the entry / exit route determination unit 119 determines whether the entry / exit route determination flag is in the reset state or the set state. Confirmation is made (S333).
When the entry / exit route determination flag is in the reset state (S333 reset), the movement trajectory calculation unit 117 receives, from the position information storage unit 116, position information before the position information acquired in step S301 (for example, time t n−). 2 is acquired (S334).
When the movement trajectory calculation unit 117 acquires the position information at time t n-2 (S334), the movement trajectory calculation unit 117 calculates the movement trajectory from the position information at time t n and the position information at time t n-2 (S335).
When calculating the movement trajectory in step S335, the entry / exit route determination device 10 sets an entry / exit route determination flag by the entry / exit route determination unit 119 (S336), and executes the processing from step S303 again.

再度、実行された入出経路の判定処理において、ステップS304において交点が複数と判定され(S304 複数)、さらに特定された入出経路の全てが同じではないと判定された場合(S330 No)には、再度、入出経路判定部119により、入出経路判定フラグの状態が確認される(S333)。
なお、この場合、ステップS336において入出経路判定フラグをセットしていることから、入出経路判定部119は、入出経路判定フラグがセット状態にあると判定する(S333 セット)。
In the executed entry / exit route determination process again, if it is determined in step S304 that there are a plurality of intersections (S304 plural) and it is further determined that all of the specified entry / exit routes are not the same (No in S330), Again, the state of the input / output route determination flag is confirmed by the input / output route determination unit 119 (S333).
In this case, since the entry / exit route determination flag is set in step S336, the entry / exit route determination unit 119 determines that the entry / exit route determination flag is in the set state (set S333).

入出経路判定部119は、入出経路判定フラグがセット状態にある場合(S333 セット)、例えば、位置情報記憶部116より取得した位置情報(時刻t、時刻tn−1、時刻tn−2における緯度、経度に関する座標位置)と、入出経路判定データ記憶部121に記憶される、入出経路を判定するためのデータとを照合する(S337)。
具体的には、入出経路判定部119は、前述のように、入出経路判定データ記憶部121に記憶される位置情報と入出経路の関係を示すテーブル(データベース)を照合する。
照合の結果、入出経路を特定することができた場合(S338 特定可)、記憶制御部103は、退出経路、又は退出経路及び進入経路を、入出経路として入出経路データ記憶部120に記憶する(S339)。
When the entry / exit route determination flag is in the set state (S333 set), the entry / exit route determination unit 119, for example, the position information (time t n , time t n−1 , time t n−2 ) acquired from the position information storage unit 116. Are compared with the data for determining the entry / exit route stored in the entry / exit route determination data storage unit 121 (S337).
Specifically, as described above, the entry / exit route determination unit 119 collates the table (database) indicating the relationship between the position information stored in the entry / exit route determination data storage unit 121 and the entry / exit route.
As a result of the collation, when the entry / exit route can be identified (S338 can be identified), the storage control unit 103 stores the exit route or the exit route and the entry route in the entry / exit route data storage unit 120 as the entry / exit route ( S339).

領域進入退出判定部118は、記憶制御部103により入出経路の記憶処理が終了すると、エリアデータ記憶部105より入出経路に関するデータを読み込み、入出経路の判定対象とする入出経路が連続しているか否かを判定する(S340)。
判定の結果、入出経路の判定対象とする入出経路が連続していないと判定すると(S340 不連続)、領域進入退出判定部118は、領域内外判定フラグをリセットする(S342)。
また、領域進入退出判定部118は、入出経路の判定対象とする入出経路が連続していると判定した場合において(S340 連続)、さらに交点の数が奇数と判定した場合も(S341 奇数)、同様に、領域内外判定フラグをリセットする(S342)。
When the storage control unit 103 finishes the storage process of the entry / exit route, the area entry / exit determination unit 118 reads data relating to the entry / exit route from the area data storage unit 105, and whether the entry / exit route as the determination target of the entry / exit route is continuous. Is determined (S340).
As a result of the determination, if it is determined that the input / output routes to be determined as the input / output routes are not continuous (discontinuous in S340), the region entry / exit determination unit 118 resets the region inside / outside determination flag (S342).
In addition, when the area entry / exit determination unit 118 determines that the entry / exit route to be determined as the entry / exit route is continuous (S340 continuous), and also determines that the number of intersections is an odd number (S341 odd number), Similarly, the area inside / outside determination flag is reset (S342).

領域内外判定フラグをリセットすると(S342)、入出経路判定装置10は、入出経路判定部119により入出経路判定フラグをリセットし(S309)、再度、ステップS301から処理を実行する。
なお、領域進入退出判定部118により、入出経路の判定対象とする入出経路が連続していると判定した場合において(S340 連続)、さらに交点の数が偶数と判定した場合も(S341 偶数)、同様に、入出経路判定装置10は、入出経路判定部119により入出経路判定フラグをリセットし(S309)、再度、ステップS301から処理を実行する。
When the area inside / outside determination flag is reset (S342), the entry / exit route determination unit 119 resets the entry / exit route determination flag by the entry / exit route determination unit 119 (S309), and executes the processing from step S301 again.
In addition, when the area entry / exit determination unit 118 determines that the entry / exit route to be determined as the entry / exit route is continuous (S340 continuous), and also when the number of intersections is determined to be an even number (S341 even), Similarly, the entry / exit route determination device 10 resets the entry / exit route determination flag by the entry / exit route determination unit 119 (S309), and executes the processing from step S301 again.

また、ステップS338において、入出経路判定部119により入出経路を特定することができなかった場合(S338 特定不可)、記憶制御部103は、移動軌跡算出部117により算出された移動軌跡と分割ポリラインとの交点、また取得した位置情報(時刻t、時刻tn−1、時刻tn−2における緯度、経度に関する座標位置)等を、入出経路判定不可データ記憶部122に記憶する(S343)。
入出経路判定装置10は、ステップS343の記憶処理が完了すると、ステップS340の処理に移行する。
なお、図15のフロー図には示していないが、入出経路判定部119により入出経路を特定することができなかった場合(S338 特定不可)、入出経路に関する処理を一時的に終了してもよい。
In step S338, if the entry / exit route determination unit 119 cannot identify the entry / exit route (S338 cannot be specified), the storage control unit 103 determines whether the movement locus calculated by the movement locus calculation unit 117, the divided polyline, And the acquired position information (coordinate positions related to latitude and longitude at time t n , time t n−1 , and time t n−2 ) and the like are stored in the entry / exit route determination impossibility data storage unit 122 (S343).
The entry / exit route determination device 10 proceeds to the process of step S340 when the storage process of step S343 is completed.
Although not shown in the flowchart of FIG. 15, when the entry / exit route determination unit 119 cannot identify the entry / exit route (S338 cannot be specified), the processing related to the entry / exit route may be temporarily ended. .

図15に示すフロー図では、以前の位置情報(即ち、時刻tn−2における位置情報)より算出した移動軌跡が、分割ポリラインとの関係で複数の交点を有する場合であって、かつ、交点より特定される入出経路の全てが同じ入出経路とはならない場合、入出経路判定装置10は、入出経路を判定することができないと、入出経路判定フラグにより、入出経路判定データ記憶部121に記憶されるデータと照合する処理に、処理を分岐(移行)させている。
ここでの処理を、図15のフロー図に示すように1回の処理で分岐させることなく、例えば、時刻tにおける位置情報と、時刻tn−3、tn−4、tn−5・・・における位置情報とから移動軌跡を算出し、その算出した移動軌跡と分割ポリラインとの関係から、入出経路を判定してもよい。
In the flowchart shown in FIG. 15, the movement locus calculated from the previous position information (that is, position information at time t n−2 ) has a plurality of intersection points in relation to the divided polyline, and the intersection points If all of the specified entry / exit routes are not the same entry / exit route, the entry / exit route determination device 10 stores the entry / exit route determination flag in the entry / exit route determination data storage unit 121 if it cannot determine the entry / exit route. The process is branched (shifted) to the process of collating with the data to be checked.
The processing here without diverting in a single process as shown in the flow diagram of FIG. 15, for example, the position information at time t n, the time t n-3, t n- 4, t n-5 .. May be calculated from the positional information in... And the entry / exit route may be determined from the relationship between the calculated movement locus and the divided polyline.

図16は、入出経路データ記憶部120に記憶される入出経路データを示す図である。
入出経路データは、図16に示すように、例えば、入出経路の判定対象とするエリア、ユーザの携帯情報端末ID、入出経路、進入/退出、進入/退出時刻等で構成される。
なお、ユーザの携帯情報端末IDは、位置情報の取得時に同時に取得され、例えば、携帯情報端末の製造番号等を用いる。
また、進入/退出に関しては、前述の領域内外判定フラグの値(即ち、セット、又はリセット状態)を反映している。
FIG. 16 is a diagram showing entry / exit route data stored in the entry / exit route data storage unit 120.
As shown in FIG. 16, the entry / exit route data includes, for example, an area to be determined as an entry / exit route, a user's portable information terminal ID, an entry / exit route, an entry / exit, an entry / exit time, and the like.
In addition, a user's portable information terminal ID is acquired simultaneously with the acquisition of position information, for example, the manufacturing number of a portable information terminal etc. are used.
Further, regarding the entry / exit, the value of the above-mentioned area inside / outside determination flag (that is, the set or reset state) is reflected.

管理者は、入出経路データ記憶部120に記憶される入出経路データに対して、入力装置30を用いて、入出経路、進入/退出、進入/退出時刻毎にソート(並べ替え)処理を実行することができ、ユーザの多くが、どの時間帯に、どの入出経路を利用しているのか確認することができる。
また、所定のエリアを利用するユーザの属性情報(例えば、性別、年齢、居住地、趣味等)を位置情報と同時に取得することができれば、入出経路データ記憶部120に記憶される入出経路データに、それらの属性情報を関連付けることもできる。
The administrator uses the input device 30 to perform sorting (rearrangement) processing on the entry / exit route data stored in the entry / exit route data storage unit 120 for each entry / exit route, entry / exit, and entry / exit time. It is possible to check which entry / exit route is used at which time zone by many users.
In addition, if the attribute information (for example, gender, age, place of residence, hobbies, etc.) of the user who uses the predetermined area can be acquired simultaneously with the position information, the entry / exit route data stored in the entry / exit route data storage unit 120 is stored. The attribute information can be associated with each other.

以上、説明したように、本発明の実施形態に係る入出経路判定装置によれば、入出経路の判定対象とするエリアにユーザが進入又は退出した場合に、ユーザから提供される位置情報に基づき、そのエリアに対する入出経路を、容易かつ正確に判定することができる。
これにより、その入出経路の判定対象とするエリア内に施設等を所有する事業者は、適切なマーケティング活動を実施することができる。
As described above, according to the entry / exit route determination device according to the embodiment of the present invention, when the user enters or leaves the area to be determined as the entry / exit route, based on the position information provided by the user, The entrance / exit route for the area can be easily and accurately determined.
As a result, the business owner who owns the facility or the like in the area to be determined for the entry / exit route can carry out appropriate marketing activities.

101…GISデータ記憶部、102…設定情報取得部、103…記憶制御部、104…エリアデータ抽出部、105…エリアデータ記憶部、106…線分定義部、107…ポリライン分割数決定部、108…分割数設定データ記憶部、109…距離算出部、110…ポリライン分割部、111…距離比較部、112…ポリライン分類部、113…通信部(送受信部)、114…通信制御部、115…位置情報取得部、116…位置情報記憶部、117…移動軌跡算出部、118…領域進入退出判定部、119…入出経路判定部、120…入出経路データ記憶部、121…入出経路判定データ記憶部、122…入出経路判定不可データ記憶部。   DESCRIPTION OF SYMBOLS 101 ... GIS data storage part 102 ... Setting information acquisition part 103 ... Storage control part 104 ... Area data extraction part 105 ... Area data storage part 106 ... Line segment definition part 107 ... Polyline division | segmentation number determination part 108 ... division number setting data storage unit, 109 ... distance calculation unit, 110 ... polyline division unit, 111 ... distance comparison unit, 112 ... polyline classification unit, 113 ... communication unit (transmission / reception unit), 114 ... communication control unit, 115 ... position Information acquisition unit 116 ... position information storage unit 117 117 movement trajectory calculation unit 118 ... area entry / exit determination unit 119 ... entry / exit route determination unit 120 ... entry / exit route data storage unit 121 ... entry / exit route determination data storage unit 122... An entry / exit route determination impossibility data storage unit.

Claims (8)

地理データを記憶した地理データ記憶手段から抽出した所定のエリアを表すポリゴンに入出する移動体の経路を、前記移動体の位置情報に基づき算出した移動軌跡から判定する入出経路判定装置であって、
前記ポリゴンに入出する経路間毎に前記ポリゴンを定義するポリラインを生成するポリライン生成手段と、
前記ポリライン生成手段により生成したポリラインを分割するポリライン分割手段と、
前記ポリライン分割手段により分割した分割ポリラインを、前記ポリライン生成手段により生成したポリラインの両端にある入出経路のいずれかに分類するポリライン分類手段と、
前記ポリライン分類手段により分類した分割ポリラインと前記移動体の移動軌跡の交差の有無を判定する交差判定手段と、
前記移動体の移動軌跡と交差する前記ポリライン分類手段により分類した分割ポリラインが、前記経路のいずれに分類された分割ポリラインであるかを判定して、当該移動体の入出経路を判定する入出経路判定手段と、
を有する入出経路判定装置。
An entry / exit route determination device that determines a route of a moving body that enters and exits a polygon representing a predetermined area extracted from a geographic data storage unit that stores geographic data, based on a movement locus calculated based on the position information of the moving body,
A polyline generating means for generating a polyline defining the polygon for each path entering and exiting the polygon;
Polyline dividing means for dividing the polyline generated by the polyline generating means;
A polyline classification means for classifying the divided polyline divided by the polyline dividing means into any of the entry / exit paths at both ends of the polyline generated by the polyline generation means;
An intersection determining means for determining whether or not the divided polyline classified by the polyline classification means and the moving locus of the moving object intersect;
Entry / exit route determination for determining which of the routes the divided polylines classified by the polyline classification means intersecting with the moving trajectory of the moving object are the divided polylines classified into the route, and determining the entering / exiting route of the moving object Means,
An entry / exit route determination device.
請求項1に記載された入出経路判定装置において、
前記移動体の移動軌跡と前記ポリライン分割手段により分割した分割ポリラインとの交差回数より、前記ポリゴンに対する進入又は退出を判定する領域進入退出判定手段を有する入出経路判定装置。
In the entry / exit route determination device according to claim 1,
An entry / exit route determination device having area entry / exit determination means for determining entry / exit to / from the polygon based on the number of intersections between the movement trajectory of the moving object and the divided polyline divided by the polyline dividing means.
請求項1又は2に記載された入出経路判定装置において、
前記ポリラインを構成する線分の傾きの平均変化率を算出する平均変化率算出手段を有し、
前記ポリライン分割手段が、前記平均変化率算出手段により算出された平均変化率に応じて決定される分割数に応じて、前記ポリラインを分割する入出経路判定装置。
In the entry / exit route determination device according to claim 1 or 2,
An average rate of change calculating means for calculating an average rate of change of the slope of the line segment constituting the polyline;
An entry / exit route determination device in which the polyline dividing unit divides the polyline according to the number of divisions determined according to the average change rate calculated by the average change rate calculating unit.
請求項3に記載された入出経路判定装置において、
前記分割ポリラインの各々に対して、中間地点を算出し、当該中間地点から一方の入出経路と前記ポリラインとの交点までの直線距離と当該中間地点から他方の入出経路とポリラインとの交点までの直線距離を比較する距離比較手段を有し、
前記ポリライン分類手段が、前記距離比較手段の比較結果に基づき、前記分割ポリラインを、いずれか一方の入出経路に分類する入出経路判定装置。
In the entry / exit route determination device according to claim 3,
For each of the divided polylines, an intermediate point is calculated, a straight line distance from the intermediate point to the intersection of one entry / exit route and the polyline, and a straight line from the intermediate point to the intersection of the other entry / exit route and the polyline A distance comparison means for comparing distances;
An entry / exit route determination device in which the polyline classification unit classifies the divided polyline into any one of the entry / exit routes based on a comparison result of the distance comparison unit.
請求項1ないし4のいずれかに記載された入出経路判定装置において、
交差の有無を判定する交差判定手段が交差有りと判定したときにおいて、前記入出経路判定手段が、前記交差判定手段により交差が確認された前記分割ポリラインの前記ポリライン分類手段による分類結果から、入出経路を判定することができない場合、前記移動軌跡に代えて、前記移動軌跡における交差直前の前記移動体の位置情報を除外して算出した新たな移動軌跡と交差した前記分割ポリラインに基づき、入出経路を判定する入出経路判定装置。
In the entry / exit route determination device according to any one of claims 1 to 4,
When the intersection determination means for determining the presence or absence of an intersection determines that there is an intersection, the entry / exit route determination means determines the entry / exit from the classification result by the polyline classification means of the divided polyline whose intersection has been confirmed by the intersection determination means. If the route cannot be determined, instead of the movement locus, the entry / exit route is based on the divided polyline intersecting with the new movement locus calculated by excluding the position information of the moving body immediately before the intersection in the movement locus. Entry / exit route determination device for determining
請求項1ないし4のいずれかに記載された入出経路判定装置において、
入出経路を判定するためのデータを記憶した入出経路判定データ記憶手段を有し、
前記入出経路判定手段が、交差の有無を判定する交差判定手段が交差有りと判定したときにおいて、交差した分割ポリラインの前記ポリライン分類手段による分類結果から、入出経路を判定することができない場合、前記入出経路判定データ記憶手段に記憶された入出経路を判定するためのデータと照合し、入出経路を判定する入出経路判定装置。
In the entry / exit route determination device according to any one of claims 1 to 4,
It has an entry / exit route determination data storage means for storing data for judging an entry / exit route,
When the entry / exit route determination means determines that there is an intersection when the intersection determination means determines that there is an intersection, when the entry / exit route cannot be determined from the classification result by the polyline classification means of the divided divided polyline, An entry / exit route determination device that determines an entry / exit route by collating with data for determining an entry / exit route stored in the entry / exit route determination data storage means.
地理データを記憶した地理データ記憶装置から抽出した所定のエリアを表すポリゴンに入出する移動体の経路を、前記移動体の位置情報に基づき算出した移動軌跡から判定する入出経路判定装置における入出経路判定方法であって、
ポリゴン生成手段による、前記ポリゴンに入出する経路毎に前記ポリゴンを定義するポリラインを生成するポリライン生成工程と、
ポリライン分割手段による、前記ポリライン生成工程において生成したポリラインを分割するポリライン分割工程と、
ポリライン分類手段による、前記ポリライン分割工程において分割した分割ポリラインを、前記ポリライン生成工程において生成したポリラインの両端にある入出経路のいずれかに分類するポリライン分類工程と、
交差判定手段による、前記ポリライン分類工程において分類した分割ポリラインと前記移動体の移動軌跡の交差の有無を判定する交差判定工程と、
入出経路判定手段による、前記移動体の移動軌跡と交差する前記ポリライン分類工程において分類した分割ポリラインが、前記経路のいずれかに分類された分割ポリラインであるかを判定して、当該移動体の入出経路を判定する入出経路判定工程と、
を有する入出経路判定装置における入出経路判定方法。
Entry / exit route determination in an entry / exit route determination device for determining a route of a moving body entering / exiting a polygon representing a predetermined area extracted from a geographic data storage device storing geographic data from a movement locus calculated based on the position information of the moving body A method,
A polyline generating step for generating a polyline defining the polygon for each path entering and exiting the polygon by a polygon generating means;
A polyline dividing step of dividing the polyline generated in the polyline generating step by a polyline dividing unit;
A polyline classification step of classifying the divided polyline divided in the polyline dividing step by the polyline classification means into one of the entry / exit paths at both ends of the polyline generated in the polyline generation step;
An intersection determination step for determining the presence or absence of an intersection between the divided polyline classified in the polyline classification step and the movement locus of the moving body by an intersection determination unit;
By determining whether the divided polyline classified in the polyline classification step intersecting with the moving locus of the moving object by the entering / exiting route determining means is a divided polyline classified into any of the paths, the moving object is input / output An entry / exit route determination step for determining a route;
An entry / exit route determination method in an entry / exit route determination apparatus.
コンピュータを、請求項1に記載された入出経路判定装置のポリライン生成手段、ポリライン分割手段、ポリライン分類手段、交差判定手段、入出経路判定手段として機能させるためのプログラム。
A non-transitory computer-readable storage medium storing a program for causing a computer to function as polyline generation means, polyline dividing means, polyline classification means, intersection determination means, and entry / exit route determination means of the entry / exit route determination device according to claim 1.
JP2014224632A 2014-11-04 2014-11-04 Entry / exit route determination device, entry / exit route determination method, and program Active JP6289342B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014224632A JP6289342B2 (en) 2014-11-04 2014-11-04 Entry / exit route determination device, entry / exit route determination method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014224632A JP6289342B2 (en) 2014-11-04 2014-11-04 Entry / exit route determination device, entry / exit route determination method, and program

Publications (2)

Publication Number Publication Date
JP2016091280A true JP2016091280A (en) 2016-05-23
JP6289342B2 JP6289342B2 (en) 2018-03-07

Family

ID=56016881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014224632A Active JP6289342B2 (en) 2014-11-04 2014-11-04 Entry / exit route determination device, entry / exit route determination method, and program

Country Status (1)

Country Link
JP (1) JP6289342B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020110215A1 (en) * 2018-11-28 2020-06-04 本田技研工業株式会社 Path evaluation device, path evaluation system, path evaluation method, and path evaluation program
CN113139027A (en) * 2020-01-20 2021-07-20 阿里巴巴集团控股有限公司 Method, device and equipment for splitting job task and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002243477A (en) * 2001-02-16 2002-08-28 Nissan Motor Co Ltd Navigation system
JP2003288663A (en) * 2002-03-28 2003-10-10 Seiko Epson Corp Movable body guide system, movable body guide method and information storage medium
US20080119202A1 (en) * 2002-03-28 2008-05-22 Hines Gordon J Area watcher for wireless network
JP2014149607A (en) * 2013-01-31 2014-08-21 Zenrin Datacom Co Ltd Information processor, information processing method and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002243477A (en) * 2001-02-16 2002-08-28 Nissan Motor Co Ltd Navigation system
JP2003288663A (en) * 2002-03-28 2003-10-10 Seiko Epson Corp Movable body guide system, movable body guide method and information storage medium
US20080119202A1 (en) * 2002-03-28 2008-05-22 Hines Gordon J Area watcher for wireless network
JP2014149607A (en) * 2013-01-31 2014-08-21 Zenrin Datacom Co Ltd Information processor, information processing method and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020110215A1 (en) * 2018-11-28 2020-06-04 本田技研工業株式会社 Path evaluation device, path evaluation system, path evaluation method, and path evaluation program
CN113168610A (en) * 2018-11-28 2021-07-23 本田技研工业株式会社 Route evaluation device, route evaluation system, route evaluation method, and route evaluation program
TWI739193B (en) * 2018-11-28 2021-09-11 日商本田技研工業股份有限公司 Route evaluation device, route evaluation system, route evaluation method and route evaluation program
JPWO2020110215A1 (en) * 2018-11-28 2021-09-30 本田技研工業株式会社 Route evaluation device, route evaluation system, route evaluation method and route evaluation program
JP7183297B2 (en) 2018-11-28 2022-12-05 本田技研工業株式会社 Route evaluation device, route evaluation system, route evaluation method and route evaluation program
JP7433380B2 (en) 2018-11-28 2024-02-19 本田技研工業株式会社 Route evaluation device, route evaluation method, and route evaluation program
CN113139027A (en) * 2020-01-20 2021-07-20 阿里巴巴集团控股有限公司 Method, device and equipment for splitting job task and storage medium
CN113139027B (en) * 2020-01-20 2023-03-24 阿里巴巴集团控股有限公司 Method, device and equipment for splitting job task and storage medium

Also Published As

Publication number Publication date
JP6289342B2 (en) 2018-03-07

Similar Documents

Publication Publication Date Title
US11022454B2 (en) Transportation system reconstruction
JP5389853B2 (en) Regional information distribution server, mobile terminal, regional information distribution system, regional information distribution method, and regional information display method
US20180268039A1 (en) Recommending Car/Passenger Resources for User According to Mobility Habits
US10445610B2 (en) Method, apparatus, and computer program product for determining vehicle lanes of a road segment based on received probe data
JP2013210870A (en) Traffic line information measuring system and method and information processing apparatus
KR20130077754A (en) Location information representation method, location information processing method, location information model constructing method, and locational information processing apparatus
Horn et al. QZTool—automatically generated origin-destination matrices from cell phone trajectories
Gambella et al. A city-scale IoT-enabled ridesharing platform
Tettamanti et al. Road traffic measurement and related data fusion methodology for traffic estimation
JP6289342B2 (en) Entry / exit route determination device, entry / exit route determination method, and program
JP2018077756A (en) Device, program, and method for estimating traffic volume on the basis of moving position range group including target route
JP2019074836A (en) Candidate position evaluation program, candidate position evaluation device, and candidate position evaluation method
Velaga et al. Development of a map-matching algorithm for rural passenger information systems through mobile phones and crowd sourcing
JP5615777B2 (en) Route guidance device and route guidance method
JP5901392B2 (en) Information processing system and information processing method
JP7324771B2 (en) TRAFFIC INFORMATION ANALYSIS DEVICE AND TRAFFIC INFORMATION ANALYSIS METHOD
CN112380443B (en) Guide recommendation method, device, computer equipment and storage medium
US10852155B2 (en) Language density locator
KR101466668B1 (en) Location Classifying method and electronic apparatus for the same method
WO2015170385A1 (en) Transportation means identification system, transportation means identification method, and computer-readable non-transient storage medium
US11580850B2 (en) Method, apparatus and computer program product for determining lane status confidence indicators using probe data
EP4012680A1 (en) Method, apparatus and computer program product for detecting a lane closure using probe data
US20220180739A1 (en) Method, apparatus and computer program product for detecting a lane shift using probe data
JP6383657B2 (en) Information processing system and information processing method
Sierpinski et al. Dynamic Organisation of Traffic Flows in the Transport Network in Terms of Sustainable Mobility

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170322

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180206

R150 Certificate of patent or registration of utility model

Ref document number: 6289342

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250