JP6677040B2 - Trajectory data processing method, trajectory data processing program and trajectory data processing device - Google Patents

Trajectory data processing method, trajectory data processing program and trajectory data processing device Download PDF

Info

Publication number
JP6677040B2
JP6677040B2 JP2016060825A JP2016060825A JP6677040B2 JP 6677040 B2 JP6677040 B2 JP 6677040B2 JP 2016060825 A JP2016060825 A JP 2016060825A JP 2016060825 A JP2016060825 A JP 2016060825A JP 6677040 B2 JP6677040 B2 JP 6677040B2
Authority
JP
Japan
Prior art keywords
nodes
trajectory data
common
pairs
trajectory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016060825A
Other languages
Japanese (ja)
Other versions
JP2017174230A (en
Inventor
淳一 重住
淳一 重住
達哉 浅井
達哉 浅井
稲越 宏弥
宏弥 稲越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2016060825A priority Critical patent/JP6677040B2/en
Publication of JP2017174230A publication Critical patent/JP2017174230A/en
Application granted granted Critical
Publication of JP6677040B2 publication Critical patent/JP6677040B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、軌跡データ処理方法、軌跡データ処理プログラム及び軌跡データ処理装置に関する。   The present invention relates to a trajectory data processing method, a trajectory data processing program, and a trajectory data processing device.

従来から、複数の軌跡データを用いた経路分析が行われている。例えば、経路分析では、複数の軌跡データの集合の中から、2つの軌跡データの組み合わせたペアごとに経路を比較して経路の共通部分を求め、類似度の高い軌跡データのペアを抽出する。これにより、例えば、軌跡データの類似度の高いユーザ同士を友達として提案したり、タクシーの相乗りを提案するなどに利用できる。   Conventionally, a route analysis using a plurality of trajectory data has been performed. For example, in the path analysis, a common part of the path is obtained by comparing the paths for each pair of two pieces of path data from a set of a plurality of path data, and a pair of path data having a high similarity is extracted. Thereby, for example, it can be used for proposing, as friends, users having a high degree of similarity in the locus data, and for proposing a taxi sharing.

特開2014−41617号公報JP 2014-41617 A 特開2011−40064号公報JP 2011-40064 A 特開2014−229069号公報JP 2014-229069 A 特開2012−202796号公報JP 2012-202796 A

しかしながら、軌跡データの数が多くなるほど、軌跡データのペア数が急増し、経路分析が現実的な時間で処理できなくなる場合がある。例えば、日々得られる軌跡データの集合の経路分析の処理がそれぞれ1日で完了しなくなる場合がある。   However, as the number of trajectory data increases, the number of pairs of trajectory data rapidly increases, and the route analysis may not be able to be processed in a realistic time. For example, there is a case where the processing of the path analysis of a set of trajectory data obtained daily does not complete in one day.

一般的に、経路分析では、経路の共通部分が長いペアほど重要である。経路の共通部分は、比較する軌跡データのペアの経路が一致する部分である。このため、経路の共通部分は、比較する軌跡データそれぞれの経路の長さよりも短い。そこで、軌跡の長い軌跡データから経路分析の計算を行い、所定の基準で経路分析の計算を打ち切ることで、計算量を削減することが考えられる。しかし、計算を打ち切る基準を事前に適切に設定することが困難であるため、計算量を適切に削減できない。   In general, in path analysis, a pair having a longer common part in a path is more important. The common part of the path is a part where the path of the pair of the track data to be compared matches. For this reason, the common part of the route is shorter than the length of each route of the track data to be compared. Therefore, it is conceivable that the calculation of the route analysis is performed from the locus data having a long locus, and the calculation of the route analysis is terminated based on a predetermined standard, thereby reducing the amount of calculation. However, since it is difficult to appropriately set the criteria for terminating the calculation in advance, the amount of calculation cannot be reduced appropriately.

一つの側面では、計算量を適切に削減できる軌跡データ処理方法、軌跡データ処理プログラム及び軌跡データ処理装置を提供することを目的とする。   An object of one aspect is to provide a trajectory data processing method, a trajectory data processing program, and a trajectory data processing device that can appropriately reduce the amount of calculation.

第1の案では、軌跡データ処理方法は、コンピュータが、複数の軌跡データのペア数の指定を受け付ける処理を実行する。軌跡データ処理方法は、コンピュータが、相互に異なる識別情報に対応付けられた複数のノードのうちの何れかのノードにそれぞれが対応付けられた複数の位置情報を含む複数の軌跡データを記憶する記憶部を参照する。軌跡データ処理方法は、コンピュータが、記憶部から特定のノード数以上のノード数の軌跡データを取得する処理を実行する。軌跡データ処理方法は、コンピュータが、取得した軌跡データのペアごとに、各ペアに含まれる軌跡データ間で識別情報が共通である共通ノード数を算出する処理を実行する。軌跡データ処理方法は、コンピュータが、算出した共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する処理を実行する。軌跡データ処理方法は、コンピュータが、生成した分布情報と、受け付けたペア数とに基づき、特定のノード数未満である他のノード数を決定する処理を実行する。軌跡データ処理方法は、コンピュータが、特定のノード数及び他のノード数間のノード数の軌跡データのペアを出力する処理を実行する。   In the first plan, in the trajectory data processing method, the computer executes a process of receiving designation of the number of pairs of a plurality of trajectory data. The trajectory data processing method includes storing a plurality of trajectory data including a plurality of pieces of position information respectively associated with any one of a plurality of nodes associated with identification information different from each other. See section. In the trajectory data processing method, the computer executes a process of acquiring trajectory data of a number of nodes equal to or more than a specific number of nodes from the storage unit. In the trajectory data processing method, the computer executes, for each pair of the acquired trajectory data, a process of calculating the number of common nodes having the same identification information between the trajectory data included in each pair. In the trajectory data processing method, a computer executes a process of generating distribution information of the number of pairs for each number of common nodes based on the calculated number of common nodes. In the trajectory data processing method, the computer executes a process of determining the number of other nodes less than the specific number of nodes based on the generated distribution information and the number of accepted pairs. In the trajectory data processing method, the computer executes a process of outputting a pair of trajectory data of the number of nodes between a specific number of nodes and another number of nodes.

本発明の一の実施態様によれば、計算量を適切に削減できるという効果を奏する。   According to one embodiment of the present invention, there is an effect that the amount of calculation can be appropriately reduced.

図1は、システム構成の一例を説明する図である。FIG. 1 is a diagram illustrating an example of a system configuration. 図2は、軌跡データ処理装置の機能的な構成を概略的に示した図である。FIG. 2 is a diagram schematically showing a functional configuration of the trajectory data processing device. 図3は、移動軌跡データのデータ構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a data configuration of the movement trajectory data. 図4は、ノード情報のデータ構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a data configuration of node information. 図5は、リンク情報のデータ構成の一例を示す図である。FIG. 5 is a diagram illustrating an example of a data configuration of link information. 図6は、正規化軌跡データのデータ構成の一例を示す図である。FIG. 6 is a diagram illustrating an example of a data configuration of the normalized trajectory data. 図7は、正規化の一例を説明する図である。FIG. 7 is a diagram illustrating an example of normalization. 図8は、正規化した軌跡間の共通部分の一例を説明する図である。FIG. 8 is a diagram illustrating an example of a common part between the normalized trajectories. 図9は、共通ノード数ごとのペア数の分布の一例を示す図である。FIG. 9 is a diagram illustrating an example of the distribution of the number of pairs for each number of common nodes. 図10Aは、共通ノード数ごとのペア数の分布の一例を示す図である。FIG. 10A is a diagram illustrating an example of the distribution of the number of pairs for each number of common nodes. 図10Bは、共通ノード数ごとのペア数の分布の一例を示す図である。FIG. 10B is a diagram illustrating an example of the distribution of the number of pairs for each number of common nodes. 図11Aは、従来の基準を事前に適切に設定することが困難な一例を説明する図である。FIG. 11A is a diagram illustrating an example in which it is difficult to appropriately set a conventional standard in advance. 図11Bは、従来の基準を事前に適切に設定することが困難な一例を説明する図である。FIG. 11B is a diagram illustrating an example in which it is difficult to appropriately set a conventional standard in advance. 図11Cは、従来の基準を事前に適切に設定することが困難な一例を説明する図である。FIG. 11C is a diagram illustrating an example in which it is difficult to appropriately set a conventional standard in advance. 図12は、分布の推定の流れを説明する図である。FIG. 12 is a diagram illustrating the flow of estimating the distribution. 図13は、第1方式によりペア数の分布を推定した結果の一例を示す図である。FIG. 13 is a diagram illustrating an example of a result of estimating the distribution of the number of pairs by the first method. 図14は、第2方式の推定を説明する図である。FIG. 14 is a diagram illustrating the estimation of the second method. 図15は、移動軌跡データの一例を示す図である。FIG. 15 is a diagram illustrating an example of the movement trajectory data. 図16は、道路ノードの構成の一例を示す図である。FIG. 16 is a diagram illustrating an example of the configuration of a road node. 図17は、正規化軌跡データの一例を示す図である。FIG. 17 is a diagram illustrating an example of the normalized trajectory data. 図18Aは、処理状況の一例を示す図である。FIG. 18A is a diagram illustrating an example of a processing state. 図18Bは、処理状況の一例を示す図である。FIG. 18B is a diagram illustrating an example of the processing status. 図18Cは、処理状況の一例を示す図である。FIG. 18C is a diagram illustrating an example of a processing state. 図18Dは、処理状況の一例を示す図である。FIG. 18D is a diagram illustrating an example of the processing status. 図18Eは、処理状況の一例を示す図である。FIG. 18E is a diagram illustrating an example of the processing status. 図19は、正規化処理の流れの一例を示すフローチャートである。FIG. 19 is a flowchart illustrating an example of the flow of the normalization processing. 図20は、軌跡データ処理の流れの一例を示すフローチャートである。FIG. 20 is a flowchart illustrating an example of the flow of the trajectory data processing. 図21は、軌跡データ処理プログラムを実行するコンピュータの一例を示す図である。FIG. 21 is a diagram illustrating an example of a computer that executes a trajectory data processing program.

以下に、本発明にかかる軌跡データ処理方法、軌跡データ処理プログラム及び軌跡データ処理装置の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。そして、各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。   Hereinafter, embodiments of a trajectory data processing method, a trajectory data processing program, and a trajectory data processing device according to the present invention will be described in detail with reference to the drawings. The present invention is not limited by the embodiment. The embodiments can be appropriately combined within a range that does not contradict processing contents.

[システム構成]
最初に、システムの一例を説明する。図1は、システム構成の一例を説明する図である。システム10は、軌跡の経路分析を行うシステムである。システム10は、軌跡データ処理装置11と、軌跡記録装置12とを有する。軌跡データ処理装置11及び軌跡記録装置12は、ネットワークNに通信可能に接続されている。かかるネットワークNの一態様としては、有線又は無線を問わず、携帯電話などの移動体通信網、インターネット(Internet)、LAN(Local Area Network)やVPN(Virtual Private Network)などの任意の種類の通信網を採用できる。なお、図1の例では、軌跡記録装置12を1台ずつ設けた場合を例示したが、これに限定されず、軌跡記録装置12を任意の数とすることができる。
[System configuration]
First, an example of the system will be described. FIG. 1 is a diagram illustrating an example of a system configuration. The system 10 is a system that performs a path analysis of a trajectory. The system 10 includes a trajectory data processing device 11 and a trajectory recording device 12. The trajectory data processing device 11 and the trajectory recording device 12 are communicably connected to a network N. As an aspect of the network N, any type of communication, such as a mobile communication network such as a mobile phone, the Internet (Internet), a LAN (Local Area Network), and a VPN (Virtual Private Network), regardless of whether it is wired or wireless. Net can be adopted. Note that, in the example of FIG. 1, the case where one trajectory recording device 12 is provided is exemplified, but the present invention is not limited to this, and the trajectory recording devices 12 can be any number.

軌跡記録装置12は、移動の軌跡を記録する装置である。例えば、軌跡記録装置12は、スマートフォンやタブレット端末などの携帯型の情報処理装置、電車や車などの車両に搭載される車載器などである。軌跡記録装置12は、GPS(global positioning system)モジュールなどの位置を検出可能なセンサが設けられており、周期的に現在位置を検出し、検出した現在位置の位置情報を軌跡データとして記録する。軌跡記録装置12は、所定のタイミングで軌跡データを軌跡データ処理装置11へアップロードする。例えば、軌跡記録装置12は、ネットワークNを介して軌跡データをアップロードする。なお、軌跡記録装置12は、メモリカード等の記憶媒体を介して軌跡データを軌跡データ処理装置11へアップロードしてもよい。   The locus recording device 12 is a device that records a locus of movement. For example, the trajectory recording device 12 is a portable information processing device such as a smartphone or a tablet terminal, or an on-board device mounted on a vehicle such as a train or a car. The trajectory recording device 12 is provided with a sensor capable of detecting a position such as a global positioning system (GPS) module, detects the current position periodically, and records position information of the detected current position as trajectory data. The locus recording device 12 uploads locus data to the locus data processing device 11 at a predetermined timing. For example, the trajectory recording device 12 uploads trajectory data via the network N. The trajectory recording device 12 may upload the trajectory data to the trajectory data processing device 11 via a storage medium such as a memory card.

軌跡データ処理装置11は、軌跡データの経路分析を行う装置である。軌跡データ処理装置11は、例えば、パーソナルコンピュータやサーバコンピュータなどのコンピュータである。軌跡データ処理装置11は、1台のコンピュータとして実装してもよく、また、複数台のコンピュータにより実装してもよい。なお、本実施例では、軌跡データ処理装置11を1台のコンピュータとした場合を例として説明する。   The trajectory data processing device 11 is a device that performs path analysis of trajectory data. The trajectory data processing device 11 is, for example, a computer such as a personal computer or a server computer. The trajectory data processing device 11 may be implemented as one computer, or may be implemented by a plurality of computers. In this embodiment, a case where the locus data processing device 11 is a single computer will be described as an example.

[軌跡データ処理装置の構成]
次に、軌跡データ処理装置11の構成について説明する。図2は、軌跡データ処理装置の機能的な構成を概略的に示した図である。軌跡データ処理装置11は、通信I/F(インタフェース)部20と、入力部21と、表示部22と、記憶部23と、制御部24とを有する。なお、軌跡データ処理装置11は、上記の機器以外の他の機器を有してもよい。
[Configuration of trajectory data processing device]
Next, the configuration of the trajectory data processing device 11 will be described. FIG. 2 is a diagram schematically showing a functional configuration of the trajectory data processing device. The trajectory data processing device 11 has a communication I / F (interface) unit 20, an input unit 21, a display unit 22, a storage unit 23, and a control unit 24. Note that the trajectory data processing device 11 may include devices other than the above devices.

通信I/F部20は、他の装置との間で通信制御を行うインタフェースである。通信I/F部20は、ネットワークNを介して他の装置と各種情報を送受信する。例えば、通信I/F部20は、ネットワークNを介して軌跡記録装置12から軌跡データを受信する。通信I/F部20としては、LANカードなどのネットワークインタフェースカードを採用できる。   The communication I / F unit 20 is an interface that controls communication with another device. The communication I / F unit 20 transmits and receives various information to and from other devices via the network N. For example, the communication I / F unit 20 receives trajectory data from the trajectory recording device 12 via the network N. As the communication I / F unit 20, a network interface card such as a LAN card can be adopted.

入力部21は、各種の情報を入力する入力デバイスである。入力部21としては、マウスやキーボードなどの操作の入力を受け付ける入力デバイスが挙げられる。入力部21は、経路分析に関する各種の入力を受け付ける。   The input unit 21 is an input device for inputting various information. Examples of the input unit 21 include an input device that receives an input of an operation such as a mouse or a keyboard. The input unit 21 receives various inputs related to the route analysis.

表示部22は、各種情報を表示する表示デバイスである。表示部22としては、LCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)などの表示デバイスが挙げられる。表示部22は、各種情報を表示する。例えば、表示部22は、操作画面など各種の画面を表示する。   The display unit 22 is a display device that displays various information. The display unit 22 includes a display device such as an LCD (Liquid Crystal Display) or a CRT (Cathode Ray Tube). The display unit 22 displays various information. For example, the display unit 22 displays various screens such as an operation screen.

記憶部23は、各種のデータを記憶する記憶デバイスである。例えば、記憶部23は、ハードディスク、SSD(Solid State Drive)、光ディスクなどの記憶装置である。なお、記憶部23は、RAM(Random Access Memory)、フラッシュメモリ、NVSRAM(Non Volatile Static Random Access Memory)などのデータを書き換え可能な半導体メモリであってもよい。   The storage unit 23 is a storage device that stores various data. For example, the storage unit 23 is a storage device such as a hard disk, a solid state drive (SSD), and an optical disk. The storage unit 23 may be a rewritable semiconductor memory such as a random access memory (RAM), a flash memory, or a non-volatile random access memory (NVSRAM).

記憶部23は、制御部24で実行されるOS(Operating System)や各種プログラムを記憶する。例えば、記憶部23は、後述する正規化処理及び軌跡データ処理を実行するプログラムを含む各種のプログラムを記憶する。さらに、記憶部23は、制御部24で実行されるプログラムで用いられる各種データを記憶する。例えば、記憶部23は、移動軌跡データ30と、ノード情報31と、リンク情報32と、正規化軌跡データ33と、ペア共通部分情報34と、分析結果情報35とを記憶する。   The storage unit 23 stores an OS (Operating System) executed by the control unit 24 and various programs. For example, the storage unit 23 stores various programs including a program for executing a later-described normalization process and a trajectory data process. Further, the storage unit 23 stores various data used in the program executed by the control unit 24. For example, the storage unit 23 stores movement trajectory data 30, node information 31, link information 32, normalized trajectory data 33, pair common portion information 34, and analysis result information 35.

移動軌跡データ30は、軌跡記録装置12からアップロードされた軌跡データを記憶したデータである。図3は、移動軌跡データのデータ構成の一例を示す図である。図3に示すように、移動軌跡データ30は、「軌跡ID」、「X座標」、「Y座標」の項目を有する。なお、図3に示した移動軌跡データ30の各項目は、一例であり、その他の項目を有してもよい。また、移動軌跡データ30のデータ構成も一例であり、これに限定されるものではない。   The movement trajectory data 30 is data that stores trajectory data uploaded from the trajectory recording device 12. FIG. 3 is a diagram illustrating an example of a data configuration of the movement trajectory data. As shown in FIG. 3, the movement trajectory data 30 has items of “trajectory ID”, “X coordinate”, and “Y coordinate”. Each item of the movement trajectory data 30 shown in FIG. 3 is an example, and may have other items. Further, the data configuration of the movement trajectory data 30 is also an example, and is not limited to this.

軌跡IDの項目は、それぞれの軌跡を識別する識別情報を記憶する領域である。軌跡には、識別情報として、ユニークな軌跡ID(identification)が付与される。軌跡IDは、例えば、アップロードされた軌跡データごとに付与してもよく、軌跡記録装置12ごとに付与してもよく、軌跡記録装置12を操作するユーザごとに付与してもよい。また、軌跡IDは、例えば、軌跡記録装置12ごとに日別に新たに付与してもよく、所定期間や所定の移動範囲ごと新たに付与してもよい。軌跡IDは、1つの軌跡を区切る単位で付与されていればよい。X座標及びY座標の項目は、位置を示す位置情報を記憶する領域である。例えば、X座標及びY座標の項目には、GPSで測位された緯度及び経度の情報が格納される。図3の例では、軌跡ID「t1」は、X座標が「z1」、Y座標が「w1」であることを示す。   The item of the track ID is an area for storing identification information for identifying each track. A unique track ID (identification) is assigned to the track as identification information. The trajectory ID may be assigned, for example, for each uploaded trajectory data, for each trajectory recording device 12, or for each user who operates the trajectory recording device 12. Further, the trajectory ID may be newly provided for each trajectory recording device 12 for each day, or may be newly provided for a predetermined period or a predetermined movement range, for example. The trajectory ID only needs to be given in units that divide one trajectory. The items of X coordinate and Y coordinate are areas for storing position information indicating a position. For example, in the items of X coordinate and Y coordinate, information on the latitude and longitude measured by GPS is stored. In the example of FIG. 3, the locus ID “t1” indicates that the X coordinate is “z1” and the Y coordinate is “w1”.

図2に戻り、ノード情報31は、軌跡を正規化する際のノードの位置を記憶したデータである。図4は、ノード情報のデータ構成の一例を示す図である。図4に示すように、ノード情報31は、「ノード」、「X座標」、「Y座標」の項目を有する。なお、図4に示したノード情報31の各項目は、一例であり、その他の項目を有してもよい。また、ノード情報31のデータ構成も一例であり、これに限定されるものではない。   Returning to FIG. 2, the node information 31 is data that stores the position of the node when the trajectory is normalized. FIG. 4 is a diagram illustrating an example of a data configuration of node information. As shown in FIG. 4, the node information 31 has items of “node”, “X coordinate”, and “Y coordinate”. Each item of the node information 31 shown in FIG. 4 is an example, and may have other items. Further, the data configuration of the node information 31 is also an example, and is not limited to this.

ノードの項目は、それぞれのノードを識別する識別情報を記憶する領域である。ノードには、識別情報が付与される。X座標及びY座標の項目は、ノードの位置を示す位置情報を記憶する領域である。例えば、X座標及びY座標の項目には、ノードの位置を示す緯度及び経度の情報が格納される。図4の例では、ノードN1は、X座標が「x1」、Y座標が「y1」であることを示す。   The node item is an area for storing identification information for identifying each node. The node is provided with identification information. The items of the X coordinate and the Y coordinate are areas for storing position information indicating the position of the node. For example, in the items of the X coordinate and the Y coordinate, information on latitude and longitude indicating the position of the node is stored. In the example of FIG. 4, the node N1 indicates that the X coordinate is “x1” and the Y coordinate is “y1”.

図2に戻り、リンク情報32は、ノード間のリンクに関する情報を記憶したデータである。図5は、リンク情報のデータ構成の一例を示す図である。図5に示すように、リンク情報32は、「リンク」の項目を有する。なお、図5に示したリンク情報32の各項目は、一例であり、その他の項目を有してもよい。また、リンク情報32のデータ構成も一例であり、これに限定されるものではない。   Returning to FIG. 2, the link information 32 is data that stores information on links between nodes. FIG. 5 is a diagram illustrating an example of a data configuration of link information. As shown in FIG. 5, the link information 32 has an item of “link”. Each item of the link information 32 shown in FIG. 5 is an example, and may have other items. Further, the data configuration of the link information 32 is also an example, and is not limited to this.

リンクの項目は、接続関係にある各ノードの識別情報を記憶する領域である。リンクの項目には、接続関係にある各ノードの識別情報がリンクとして格納される。図5の例では、ノードNiとノードNjが、接続関係があることを示す。   The item of link is an area for storing identification information of each node in a connection relationship. In the link item, identification information of each node having a connection relationship is stored as a link. In the example of FIG. 5, the node Ni and the node Nj have a connection relationship.

図2に戻り、正規化軌跡データ33は、移動軌跡データ30の位置情報をノードに正規化したデータである。図6は、正規化軌跡データのデータ構成の一例を示す図である。図6に示すように、正規化軌跡データ33は、「ID」、「正規化軌跡」の項目を有する。なお、図6に示した正規化軌跡データ33の各項目は、一例であり、その他の項目を有してもよい。また、正規化軌跡データ33のデータ構成も一例であり、これに限定されるものではない。   Returning to FIG. 2, the normalized trajectory data 33 is data obtained by normalizing the position information of the movement trajectory data 30 into nodes. FIG. 6 is a diagram illustrating an example of a data configuration of the normalized trajectory data. As shown in FIG. 6, the normalized trajectory data 33 has items of “ID” and “normalized trajectory”. Each item of the normalized trajectory data 33 shown in FIG. 6 is an example, and may have other items. Further, the data configuration of the normalized trajectory data 33 is also an example, and the present invention is not limited to this.

IDの項目は、正規化された軌跡の軌跡IDを記憶する領域である。正規化軌跡の項目は、軌跡に沿って、軌跡の各位置に対応するノードの識別情報を記憶する領域である。図6の例では、ID「t1」の軌跡は、ノードN11、N12、N13、N14を順に通過していることを示す。   The item of ID is an area for storing the track ID of the normalized track. The item of the normalized trajectory is an area for storing the identification information of the node corresponding to each position of the trajectory along the trajectory. In the example of FIG. 6, the locus of the ID “t1” indicates that the locus passes through the nodes N11, N12, N13, and N14 in order.

図2に戻り、ペア共通部分情報34は、移動軌跡データ30に対して経路分析を行って、軌跡のペアごとの共通部分に関する情報を記憶したデータである。分析結果情報35は、経路分析の分析結果に関する情報を記憶したデータである。ペア共通部分情報34及び分析結果情報35について、データ構成の一例は、後述する。   Returning to FIG. 2, the pair common part information 34 is data in which a path analysis is performed on the movement trajectory data 30 and information about a common part of each trajectory pair is stored. The analysis result information 35 is data that stores information on the analysis result of the route analysis. An example of a data configuration of the pair common portion information 34 and the analysis result information 35 will be described later.

制御部24は、軌跡データ処理装置11を制御するデバイスである。制御部24としては、CPU(Central Processing Unit)、MPU(Micro Processing Unit)等の電子回路や、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)等の集積回路を採用できる。制御部24は、各種の処理手順を規定したプログラムや制御データを格納するための内部メモリを有し、これらによって種々の処理を実行する。制御部24は、各種のプログラムが動作することにより各種の処理部として機能する。例えば、制御部24は、格納部40と、正規化部41と、受付部42と、取得部43と、算出部44と、生成部45と、決定部46と、出力部47とを有する。   The control unit 24 is a device that controls the trajectory data processing device 11. As the control unit 24, an electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array) can be adopted. The control unit 24 has an internal memory for storing programs and control data defining various processing procedures, and executes various processing by using these. The control unit 24 functions as various processing units when various programs operate. For example, the control unit 24 includes a storage unit 40, a normalization unit 41, a reception unit 42, an acquisition unit 43, a calculation unit 44, a generation unit 45, a determination unit 46, and an output unit 47.

格納部40は、軌跡記録装置12からアップロードされた軌跡データを移動軌跡データ30に格納する。例えば、格納部40は、軌跡データがアップロードされるごとに軌跡IDを付与して軌跡データを移動軌跡データ30に格納する。   The storage unit 40 stores the locus data uploaded from the locus recording device 12 in the moving locus data 30. For example, the storage unit 40 assigns a trajectory ID each time trajectory data is uploaded, and stores the trajectory data in the movement trajectory data 30.

正規化部41は、移動軌跡データ30に記憶された位置情報をノードに正規化する。例えば、正規化部41は、ノード情報31及びリンク情報32に基づき、移動軌跡データ30に記憶された軌跡の各位置情報を、位置が対応するノードで示したデータに正規化する。例えば、正規化部41は、移動軌跡データ30に記憶された軌跡の各位置情報を、ノード情報31の各ノードの位置情報とマップマッチングを行って、軌跡の位置をノードで示したデータに正規化する。正規化部41は、正規化した軌跡データを正規化軌跡データ33に格納する。   The normalization unit 41 normalizes the position information stored in the movement trajectory data 30 to a node. For example, based on the node information 31 and the link information 32, the normalization unit 41 normalizes each piece of position information of the trajectory stored in the movement trajectory data 30 into data indicated by a node corresponding to the position. For example, the normalization unit 41 performs a map matching of each position information of the trajectory stored in the movement trajectory data 30 with the position information of each node of the node information 31, and normalizes the position of the trajectory into data indicating the position of the trajectory by the node. Become The normalization unit 41 stores the normalized trajectory data in the normalized trajectory data 33.

ここで、正規化の一例を説明する。図7は、正規化の一例を説明する図である。図7には、軌跡L1、L2が示されている。また、図7には、ノードA〜Hが示されている。正規化部41は、軌跡L1、L2の各位置情報を、ノードA〜Hの各位置情報とマップマッチングを行って、軌跡L1、L2をノードで示したデータに正規化する。図7の例では、軌跡L1は、<A,E,F,B,C,D>に正規化される。<A,E,F,B,C,D>は、ノードA、ノードE、ノードF、ノードB、ノードC、ノードDを順に通過することを示している。また、軌跡L2は、<A,F,G,C,D>に正規化される。<A,F,G,C,D>は、ノードA、ノードF、ノードG、ノードC、ノードDを順に通過することを示している。   Here, an example of normalization will be described. FIG. 7 is a diagram illustrating an example of normalization. FIG. 7 shows trajectories L1 and L2. FIG. 7 shows nodes A to H. The normalization unit 41 performs map matching of each position information of the trajectories L1 and L2 with each position information of the nodes A to H, and normalizes the trajectories L1 and L2 to data represented by nodes. In the example of FIG. 7, the trajectory L1 is normalized to <A, E, F, B, C, D>. <A, E, F, B, C, D> indicates that the vehicle passes through the nodes A, E, F, B, C, and D in this order. The trajectory L2 is normalized to <A, F, G, C, D>. <A, F, G, C, D> indicates that the light passes through the nodes A, F, G, C, and D in order.

このように軌跡をノードに正規化することにより、軌跡間の共通部分を特定し易くなる。図8は、正規化した軌跡間の共通部分の一例を説明する図である。図8には、図7に示した軌跡L1の正規化した軌跡<A,E,F,B,C,D>と、軌跡L2の正規化した軌跡<A,F,G,C,D>とが示されている。正規化した軌跡間の共通部分は、一致するノードを求めることにより特定できる。軌跡間の共通部分は、一致するノードの間や前後に、一致しないノードがあってもよい。図8の例では、軌跡L1の<A,E,F,・・・>と、軌跡L2の<A,F,・・・>では軌跡L1のノードAとノードFの間にノードEがあるが、ノードAとノードFは共通部分となる。図8の例では、軌跡L1の<A,E,F,B,C,D>と、軌跡L2の<A,F,G,C,D>の共通文は、<A,F,C,D>と特定される。以下、本実施例では、軌跡の長さをノード数により表すものとする。例えば、軌跡の長さは、正規化した軌跡データに含まれるノードのノード数で表す。例えば、軌跡L1は、正規化した軌跡が<A,E,F,B,C,D>であるため、長さをノード数の6とする。また、軌跡データの共通部分の長さは、共通部分に含まれるノードのノード数で表す。例えば、軌跡L1と軌跡L2の共通部分は、<A,F,C,D>であるため、長さをノード数の4とする。   By normalizing the trajectory to the nodes in this manner, it becomes easy to specify a common part between the trajectories. FIG. 8 is a diagram illustrating an example of a common part between the normalized trajectories. FIG. 8 shows a normalized locus <A, E, F, B, C, D> of the locus L1 shown in FIG. 7 and a normalized locus <A, F, G, C, D> of the locus L2. Are shown. The intersection between the normalized trajectories can be identified by finding the matching nodes. The common part between the trajectories may include an unmatched node between or before and after the matching node. In the example of FIG. 8, the node E exists between the node A and the node F of the trajectory L1 in <A, E, F,...> Of the trajectory L1 and in <A, F,. However, the nodes A and F are common parts. In the example of FIG. 8, the common sentence of <A, E, F, B, C, D> of the trajectory L1 and <A, F, G, C, D> of the trajectory L2 are <A, F, C, D>. Hereinafter, in the present embodiment, the length of the trajectory is represented by the number of nodes. For example, the length of the trajectory is represented by the number of nodes included in the normalized trajectory data. For example, the length of the trajectory L1 is 6 as the number of nodes since the normalized trajectory is <A, E, F, B, C, D>. The length of the common part of the trajectory data is represented by the number of nodes included in the common part. For example, since the common part of the trajectory L1 and the trajectory L2 is <A, F, C, D>, the length is set to 4 as the number of nodes.

受付部42は、各種の操作を行う。例えば、受付部42は、経路分析に関する各種の情報の入力を受け付ける。例えば、受付部42は、操作画面を表示して、経路分析で抽出する軌跡データのペアの目標数として、複数の軌跡データのペア数の指定を受け付ける。   The receiving unit 42 performs various operations. For example, the receiving unit 42 receives input of various types of information related to route analysis. For example, the receiving unit 42 displays an operation screen and receives designation of the number of pairs of a plurality of locus data as the target number of pairs of locus data to be extracted by the route analysis.

取得部43は、記憶部23の正規化軌跡データ33を参照して、特定のノード数以上のノード数の軌跡データを取得する。例えば、取得部43は、正規化軌跡データ33に記憶された軌跡の最大のノード数から、後述する決定部46により決定したノード数となるまで、ノード数を順に減らして当該ノード数以上のノード数の軌跡データを取得する。例えば、取得部43は、正規化軌跡データ33に記憶された軌跡の最大のノード数が6である場合、最初に、正規化軌跡データ33からノード数が6の軌跡データを読み出す。最大のノード数が6である場合、ノード数が6の軌跡データを読み出すことで、ノード数が6以上の軌跡データが取得される。次に、取得部43は、ノード数が5の軌跡データを読み出す。ノード数が6以上の軌跡データが最初に取得されているため、ノード数が5の軌跡データを読み出すことで、ノード数が5以上の軌跡データが取得される。取得部43は、同様に、後述する決定部46により決定したノード数となるまで、ノード数を1ずつ順に減らして当該ノード数の軌跡データを読み出す。   The acquisition unit 43 refers to the normalized trajectory data 33 in the storage unit 23 and acquires trajectory data of a number of nodes equal to or more than a specific number of nodes. For example, the acquisition unit 43 reduces the number of nodes in order from the maximum number of nodes of the trajectory stored in the normalized trajectory data 33 to the number of nodes determined by the determination unit 46, which will be described later. Get number trajectory data. For example, when the maximum number of nodes of the trajectory stored in the normalized trajectory data 33 is 6, the acquiring unit 43 first reads trajectory data having six nodes from the normalized trajectory data 33. When the maximum number of nodes is 6, by reading the locus data having the number of nodes of 6, the locus data having the number of nodes of 6 or more is obtained. Next, the acquiring unit 43 reads the locus data having five nodes. Since the locus data having the number of nodes of 6 or more is acquired first, the locus data having the number of nodes of 5 or more is acquired by reading the locus data having the number of nodes of 5. Similarly, the acquiring unit 43 sequentially decreases the number of nodes by one until the number of nodes reaches the number of nodes determined by the determining unit 46 described later, and reads the locus data of the number of nodes.

算出部44は、取得部43により取得した軌跡データのペアごとに、各ペアに含まれる軌跡データ間でノードの識別情報が共通である共通ノード数を算出する。例えば、算出部44は、取得部43により軌跡データを取得すると、取得した軌跡データを組み合わせたペアごとに、各ペアに含まれる軌跡データ間の共通ノード数を算出する。例えば、算出部44は、ノード数が6の軌跡データが取得されると、ノード数が6の軌跡データのペアごとに、各ペアに含まれる軌跡データ間の共通ノード数を算出する。次に、算出部44は、ノード数が5の軌跡データが取得されると、ノード数が6及び5の軌跡データのペアごとに、各ペアに含まれる軌跡データ間の共通ノード数を算出する。ここで、ノード数が6のみの軌跡データのペアの共通ノード数は、最初に算出されている。このため、算出部44は、共通ノード数を算出済みのペアを除いて、軌跡データのペアごとに、共通ノード数を算出する。例えば、算出部44は、ノード数が6の軌跡データとノード数が5の軌跡データとを組み合わせたペア、及び、ノード数が5の軌跡データのみを組み合わせたペアごとに、共通ノード数を算出する。   The calculating unit 44 calculates, for each pair of the locus data acquired by the acquiring unit 43, the number of common nodes in which the node identification information is common between the locus data included in each pair. For example, when the acquisition unit 43 acquires the trajectory data, the calculation unit 44 calculates the number of common nodes between the trajectory data included in each pair for each pair obtained by combining the acquired trajectory data. For example, when the locus data having six nodes is acquired, the calculating unit 44 calculates, for each pair of locus data having six nodes, the number of common nodes between the locus data included in each pair. Next, when the trajectory data with the number of nodes of 5 is acquired, the calculation unit 44 calculates, for each pair of the trajectory data with the number of nodes of 6 and 5, the number of common nodes between the trajectory data included in each pair. . Here, the number of common nodes of a pair of locus data having only six nodes is calculated first. Therefore, the calculation unit 44 calculates the number of common nodes for each pair of the trajectory data, excluding the pair for which the number of common nodes has been calculated. For example, the calculation unit 44 calculates the number of common nodes for each pair obtained by combining locus data having 6 nodes and 5 locus data and for each pair obtained by combining only locus data having 5 nodes. I do.

生成部45は、算出部44により算出した共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する。   The generation unit 45 generates distribution information of the number of pairs for each number of common nodes based on the number of common nodes calculated by the calculation unit 44.

ここで、一般的に、経路分析では、経路の共通部分が長いペアほど重要である。経路の共通部分は、比較する軌跡データのペアの経路が一致する部分である。このため、経路の共通部分は、比較する軌跡データそれぞれの経路の長さよりも短い。例えば、ノード数が3の2つの軌跡データを比較した場合、経路の共通部分は、ノード数が3以下であり、ノード数が4以上となることはない。このため、ノード数の多い軌跡データから順に経路の共通部分である共通ノード数を算出すると、共通ノード数が多いものからペア数が確定する。   Here, in the route analysis, in general, the longer the common portion of the route, the more important the pair. The common part of the path is a part where the path of the pair of the track data to be compared matches. For this reason, the common part of the route is shorter than the length of each route of the track data to be compared. For example, when two locus data having three nodes are compared, the common part of the route has three or less nodes and does not have four or more nodes. Therefore, when the number of common nodes, which is a common part of the route, is calculated in order from the locus data having a large number of nodes, the number of pairs is determined from the one having a large number of common nodes.

図9は、共通ノード数ごとのペア数の分布の一例を示す図である。図9の例は、取得対象のノード数を6から1へ1ずつ順に減らして、取得対象のノード数以上の軌跡データ間の共通ノード数を求め、共通ノード数ごとのペア数の分布を示したものである。図9の各グラフの縦軸は、ペア数を対数目盛で示している。図9の各グラフの横軸は、共通ノード数を示している。   FIG. 9 is a diagram illustrating an example of the distribution of the number of pairs for each number of common nodes. The example of FIG. 9 shows the distribution of the number of pairs for each number of common nodes by obtaining the number of common nodes between trajectory data that is equal to or more than the number of nodes to be obtained by sequentially reducing the number of nodes to be obtained from 6 to 1 by one. It is a thing. The vertical axis of each graph in FIG. 9 indicates the number of pairs on a logarithmic scale. The horizontal axis of each graph in FIG. 9 indicates the number of common nodes.

図9の例では、最初に、ノード数が6以上の軌跡データのペアの共通ノード数が算出され、ノード数が6以上の軌跡データによるペア数の分布が生成される。ノード数が6以上の軌跡データによるペア数の分布は、共通ノード数が5のペア数が1であり、共通ノード数が1のペア数が2となっている。次に、図9の例では、ノード数が5以上の軌跡データのペアの共通ノード数が算出され、ノード数が5以上の軌跡データによるペア数の分布が生成される。ノード数が5以上の軌跡データによるペア数の分布は、共通ノード数が5のペア数が1であり、共通ノード数が0のペア数が2となっている。ここで、ノード数が4以下の軌跡データのペアは、経路の共通部分のノード数が4以下であり、経路の共通部分のノード数が5以上となることはない。このため、ノード数が5以上の軌跡データによるペア数の分布では、経路の共通部分のノード数が5以上のペア数が確定する。図9の例では、共通ノード数が5のペア数が1と確定する。   In the example of FIG. 9, first, the number of common nodes of a pair of locus data having six or more nodes is calculated, and a distribution of the number of pairs based on locus data having six or more nodes is generated. In the distribution of the number of pairs based on the trajectory data having the number of nodes of 6 or more, the number of pairs having the common node number of 5 is 1, and the number of pairs having the number of common nodes of 1 is 2. Next, in the example of FIG. 9, the number of common nodes of a pair of locus data having five or more nodes is calculated, and a distribution of the number of pairs based on locus data having five or more nodes is generated. In the distribution of the number of pairs based on the trajectory data having five or more nodes, the number of pairs having five common nodes is one, and the number of pairs having zero common nodes is two. Here, for a pair of locus data having four or less nodes, the number of nodes in the common part of the route is four or less, and the number of nodes in the common part of the route does not become five or more. Therefore, in the distribution of the number of pairs based on the trajectory data having five or more nodes, the number of pairs having five or more nodes at the common part of the route is determined. In the example of FIG. 9, the number of pairs where the number of common nodes is 5 is determined to be 1.

次に、図9の例では、ノード数が4以上の軌跡データのペアの共通ノード数が算出され、ノード数が4以上の軌跡データによるペア数の分布が生成される。これにより、経路の共通部分のノード数が4以上となるペア数が確定する。図9の例では、共通ノード数が4のペア数が0と確定する。次に、図9の例では、ノード数が3以上の軌跡データのペアの共通ノード数が算出され、ノード数が3以上の軌跡データによるペア数の分布が生成される。これにより、経路の共通部分のノード数が3以上となるペア数が確定する。図9の例では、共通ノード数が3のペア数が4と確定する。次に、図9の例では、ノード数が2以上の軌跡データのペアの共通ノード数が算出され、ノード数が2以上の軌跡データによるペア数の分布が生成される。これにより、経路の共通部分のノード数が2以上となるペア数が確定する。図9の例では、共通ノード数が2のペア数が19と確定する。次に、図9の例では、ノード数が1以上の軌跡データのペアの共通ノード数が算出され、ノード数が1以上の軌跡データによるペア数の分布が生成される。これにより、経路の共通部分のノード数が1以上となるペア数が確定する。図9の例では、共通ノード数が1のペア数が67と確定する。また、経路の共通部分のノード数が0となる何れもとも経路が共通しないペア数も確定する。図9の例では、共通ノード数が0のペア数が209と確定する。このように、ノード数の多い軌跡データから順に経路の共通部分である共通ノード数を算出すると、共通ノード数が多いものからペア数が確定する。   Next, in the example of FIG. 9, the number of common nodes of a pair of locus data having four or more nodes is calculated, and a distribution of the number of pairs based on locus data having four or more nodes is generated. As a result, the number of pairs in which the number of nodes in the common part of the route is 4 or more is determined. In the example of FIG. 9, the number of pairs with four common nodes is determined to be zero. Next, in the example of FIG. 9, the number of common nodes of a pair of locus data having three or more nodes is calculated, and a distribution of the number of pairs based on locus data having three or more nodes is generated. As a result, the number of pairs in which the number of nodes in the common part of the route is 3 or more is determined. In the example of FIG. 9, the number of pairs is determined to be 4 while the number of common nodes is 3. Next, in the example of FIG. 9, the number of common nodes of a pair of locus data having two or more nodes is calculated, and a distribution of the number of pairs based on locus data having two or more nodes is generated. As a result, the number of pairs for which the number of nodes in the common part of the route is 2 or more is determined. In the example of FIG. 9, the number of pairs with the number of common nodes being 2 is determined to be 19. Next, in the example of FIG. 9, the number of common nodes of a pair of locus data having one or more nodes is calculated, and a distribution of the number of pairs based on locus data having one or more nodes is generated. As a result, the number of pairs in which the number of nodes in the common part of the route is 1 or more is determined. In the example of FIG. 9, the number of pairs where the number of common nodes is 1 is determined to be 67. In addition, the number of pairs whose paths are not common to any of the nodes where the number of nodes in the common part of the path is 0 is also determined. In the example of FIG. 9, the number of pairs where the number of common nodes is 0 is determined to be 209. As described above, when the number of common nodes, which is a common part of the route, is calculated in order from the locus data having a large number of nodes, the number of pairs is determined from the one having a large number of common nodes.

一般的に、複数の軌跡データを組み合わせたペアごとに経路の共通部分を求めた場合、共通ノード数ごとのペア数の分布は、共通ノード数が多いほどペア数が急激に減少しており、指数的な分布になっている場合が多い。図10A及び図10Bは、共通ノード数ごとのペア数の分布の一例を示す図である。図10A及び図10Bに示すように、共通ノード数が多いほど、ペア数が急激に減少しており、指数的な分布になっている。しかし、分布ごとに、分布の最大値や、共通ノード数に対するペア数の減り方が異なる。このため、計算を打ち切る基準を事前に適切に設定することが困難である。   In general, when the common part of the route is obtained for each pair obtained by combining a plurality of trajectory data, the distribution of the number of pairs for each number of common nodes shows that the number of pairs decreases rapidly as the number of common nodes increases. Often it has an exponential distribution. 10A and 10B are diagrams illustrating an example of the distribution of the number of pairs for each number of common nodes. As shown in FIG. 10A and FIG. 10B, as the number of common nodes increases, the number of pairs sharply decreases, and the distribution is exponential. However, the maximum value of the distribution and how to reduce the number of pairs with respect to the number of common nodes differ for each distribution. For this reason, it is difficult to appropriately set the criteria for terminating the calculation in advance.

例えば、抽出するペア数の目標数を60とする。このような場合に、例えば、事前に、計算を打ち切る基準として、軌跡データの長さをノード数が3と定める。図11A及び図11Bは、従来の基準を事前に適切に設定することが困難な一例を説明する図である。図11A及び図11Bには、共通ノード数ごとのペア数の分布の一例が示されており、分布が異なる。図11Aの例では、共通部分のノード数が3まで軌跡データのペアを抽出すると、ペア数が79となり、目標の60よりも多く、軌跡データのペアの絞込みができない。一方、図11Bの例では、共通部分のノード数が3まで軌跡データのペアを抽出すると、ペア数が1と目標の60よりも少なくなり、十分なペア数が得られない。   For example, the target number of pairs to be extracted is set to 60. In such a case, for example, as a criterion for terminating the calculation, the length of the trajectory data is set to three nodes in advance. 11A and 11B are diagrams illustrating an example in which it is difficult to appropriately set a conventional standard in advance. FIGS. 11A and 11B show an example of the distribution of the number of pairs for each number of common nodes, and the distributions are different. In the example of FIG. 11A, if the number of nodes of the locus data is extracted up to three nodes of the common part, the number of pairs becomes 79, which is more than the target of 60, and it is not possible to narrow down the pairs of the locus data. On the other hand, in the example of FIG. 11B, if the number of nodes of the common portion is extracted up to three pairs of trajectory data, the number of pairs becomes 1 and less than the target of 60, and a sufficient number of pairs cannot be obtained.

また、例えば、目標数の60が得られるまで計算を行うものとする。図11Cは、従来の基準を事前に適切に設定することが困難な一例を説明する図である。図11Cには、共通ノード数ごとのペア数の分布の一例が示されている。図11Cの分布では、共通部分のノード数が1以上の軌跡データのペア数は、54となり、目標の60よりも少ない。そこで、共通部分のノード数が0まで含めるとペア数が多くなり、軌跡データのペアの絞込みができない。   Further, for example, it is assumed that calculation is performed until the target number of 60 is obtained. FIG. 11C is a diagram illustrating an example in which it is difficult to appropriately set a conventional standard in advance. FIG. 11C shows an example of the distribution of the number of pairs for each number of common nodes. In the distribution of FIG. 11C, the number of pairs of trajectory data in which the number of nodes in the common part is 1 or more is 54, which is smaller than the target of 60. Therefore, if the number of nodes in the common portion is included up to 0, the number of pairs increases, and it is not possible to narrow down the pairs of the track data.

そこで、決定部46は、生成部45により生成した分布情報と、指定された目標数とに基づき、特定のノード数未満である他のノード数を決定する。例えば、決定部46は、分布情報から、正規化軌跡データ33に記憶された複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。そして、決定部46は、推定されたペア数が、指定された目標数に最も近い共通ノード数を他のノード数と決定する。すなわち、決定部46は、他のノード数として、計算を打ち切る基準とする共通ノード数を決定する。   Therefore, the determining unit 46 determines the number of other nodes that is less than the specific number of nodes based on the distribution information generated by the generating unit 45 and the specified target number. For example, the determination unit 46 estimates the number of pairs of trajectory data that is equal to or more than the number of common nodes for each number of common nodes, with the plurality of trajectory data stored in the normalized trajectory data 33 as the estimation target from the distribution information. . Then, the determination unit 46 determines the number of common nodes whose estimated number of pairs is closest to the specified target number as the number of other nodes. That is, the determination unit 46 determines the number of common nodes as a reference for terminating the calculation as the number of other nodes.

出力部47は、各種の出力を行う。例えば、出力部47は、特定のノード数及び他のノード数間のノード数の軌跡データのペアを出力する。例えば、出力部47は、特定のノード数と、計算を打ち切る基準とされた共通ノード数間のノード数の軌跡データのペアを経路分析の結果として分析結果情報35に出力する。なお、出力部47は、経路分析の結果を他の装置や他のプログラムへ出力してもよい。また、出力部47は、経路分析の結果を表示した画面を表示部22へ出力してもよい。   The output unit 47 performs various outputs. For example, the output unit 47 outputs a pair of locus data of the number of nodes between a specific number of nodes and another number of nodes. For example, the output unit 47 outputs, to the analysis result information 35, a pair of the trajectory data of the specific number of nodes and the number of nodes between the number of common nodes used as a reference for terminating the calculation as the result of the route analysis. The output unit 47 may output the result of the route analysis to another device or another program. The output unit 47 may output a screen displaying the result of the route analysis to the display unit 22.

上述したように、一般的に、複数の軌跡データを組み合わせたペアごとに経路の共通部分を求めた場合、共通ノード数ごとのペア数の分布は、指数的な分布になる。このため、分布の一部の情報から分布全体を推定できる。決定部46は、生成部45により生成した分布情報の分布に基づき、全ての軌跡データでの分布全体を推定し、計算を進めるかどうかを判断し、計算を行う範囲とするノード数を決定する。図12は、分布の推定の流れを説明する図である。図12には、ノード数が2以上の軌跡データについて、共通ノード数ごとのペア数の分布が示されている。ノード数が2以上のペア数は、確定している。図12の例では、目標数を40とする。図12の例では、共通ノード数が2以上のペア数は、24である。例えば、決定部46は、ノード数が2以上のペア数の分布を用いて、全ての軌跡データでの分布全体を推定する。図12の例では、推定された分布から、共通ノード数が1以上のペア数は、70と推定される。決定部46は、共通ノード数が2以上のペア数の24の方が、推定された共通ノード数が1以上のペア数の70よりも、目標数を40に近いため、目標数に最も近い共通ノード数を2と決定する。これにより、ノード数が1以上の軌跡データについて、計算が行われずに計算を終了するため、計算量を削減できる。   As described above, in general, when a common portion of a route is obtained for each pair obtained by combining a plurality of trajectory data, the distribution of the number of pairs for each number of common nodes is an exponential distribution. For this reason, the entire distribution can be estimated from partial information of the distribution. The deciding unit 46 estimates the entire distribution of all the trajectory data based on the distribution of the distribution information generated by the generating unit 45, determines whether to proceed with the calculation, and determines the number of nodes within the range in which the calculation is performed. . FIG. 12 is a diagram illustrating the flow of estimating the distribution. FIG. 12 shows the distribution of the number of pairs for each number of common nodes for locus data having two or more nodes. The number of pairs with two or more nodes is determined. In the example of FIG. 12, the target number is set to 40. In the example of FIG. 12, the number of pairs having two or more common nodes is 24. For example, the determination unit 46 estimates the entire distribution in all the trajectory data using the distribution of the number of pairs having two or more nodes. In the example of FIG. 12, the number of pairs whose common node number is 1 or more is estimated to be 70 from the estimated distribution. The determination unit 46 determines that the target number is closer to 40 when the number of common nodes is 2 or more than 24 when the estimated number of common nodes is 70 or more than 70 when the estimated number of common nodes is 1 or more. The number of common nodes is determined to be two. Accordingly, the calculation is completed without performing the calculation for the trajectory data having one or more nodes, so that the calculation amount can be reduced.

ここで、軌跡データのペア数を推定する計算方法について説明する。軌跡データのペア数を推定する計算方法として複数の方式を例示する。   Here, a calculation method for estimating the number of pairs of trajectory data will be described. A plurality of methods are illustrated as a calculation method for estimating the number of pairs of the trajectory data.

最初に、第1方式を説明する。第1方式では、計算済みの分布で確定部分と未確定部分の値を用いて幾何分布により近似する。幾何分布は、一般的に以下の式(1)のように表せる。   First, the first method will be described. In the first method, the values of the determined portion and the undetermined portion of the calculated distribution are used to approximate the geometric distribution. The geometric distribution can be generally expressed as in the following equation (1).

P(X=k)=p・q (1) P (X = k) = p · q k (1)

この幾何分布の式(1)は、以下の式(2)から以下の式(3)、(4)のように近似できる。

Figure 0006677040
Equation (1) of this geometric distribution can be approximated from the following equation (2) as in the following equations (3) and (4).
Figure 0006677040

式(3)、(4)についてk=1,・・・,Kで平均を取とると、以下の式(5)、(6)のように表せる。   By averaging the expressions (3) and (4) with k = 1,..., K, they can be expressed as the following expressions (5) and (6).

Figure 0006677040
Figure 0006677040

ここで、
K:計算済みの共通ノード数の最大値
N:推定対象の軌跡データの組み合わせの総数
:計算済みの共通ノード数がk以上のペア数
N~:共通ノード数がk以上の組の数の推定値
here,
K: the maximum value of the calculated number of common nodes N: the total number of combinations of the trajectory data to be estimated N k : the number of pairs where the calculated number of common nodes is k or more N ~ k : the number of pairs where the number of common nodes is k or more Number estimates

図13は、第1方式によりペア数の分布を推定した結果の一例を示す図である。図13の例では、ノード数が3以上、ノード数が2以上、ノード数が1以上(全ての軌跡データ計算)と順に、共通ノード数ごとのペア数の分布を計算した場合を示している。図13の例では、それぞれの分布で共通ノード数kごとに、共通ノード数k以上のペア数を累計したペア数がNとなる。また、図13の例では、ペア数の分布を推定した推定値が示されている。推定値は、次のように算出する。図13の例では、計算済みの共通ノード数の最大値Kは、5である。また、図13の例では、推定対象の軌跡データの組み合わせの総数Nは、300である。図13の例では、K=5、N=300として、計算済みの共通ノード数がk以上のペア数Nを用いて、式(6)からqの値を求める。そして、図13の例では、求めたqの値を用いて式(5)から共通部分のノード数kの場合の推定値N~を求めている。 FIG. 13 is a diagram illustrating an example of a result of estimating the distribution of the number of pairs by the first method. The example of FIG. 13 illustrates a case where the distribution of the number of pairs for each number of common nodes is calculated in the order of three or more nodes, two or more nodes, and one or more nodes (all trajectory data calculations). . In the example of FIG. 13, for each common node number k in each distribution, the number of pairs of total number of pairs or the common node number k becomes N k. In the example of FIG. 13, an estimated value obtained by estimating the distribution of the number of pairs is shown. The estimated value is calculated as follows. In the example of FIG. 13, the maximum value K of the calculated number of common nodes is 5. In the example of FIG. 13, the total number N of combinations of the trajectory data to be estimated is 300. In the example of FIG. 13, assuming that K = 5 and N = 300, the value of q is obtained from Expression (6) using the number of pairs N k whose number of calculated common nodes is equal to or more than k . Then, in the example of FIG. 13, the estimated values N to k in the case of the number k of nodes of the common part are obtained from the equation (5) using the obtained value of q.

ここで、式(5)では、共通ノード数k以上となる軌跡データのペア数の推定値N~が算出される。例えば、k=3とした場合、共通ノード数が3以上となる軌跡データのペア数の推定値N~が算出される。また、k=2とした場合、共通ノード数が2以上となる軌跡データのペア数の推定値N~が算出される。共通ノード数kのペア数の推定値は、共通ノード数k以上となる軌跡データのペア数の推定値N~から、共通ノード数k+1以上となる軌跡データのペア数の推定値N~k+1を減算して求める。例えば、共通ノード数が2のペア数の推定値は、共通ノード数が2以上となる軌跡データのペア数の推定値N~から、共通ノード数が3以上となる軌跡データのペア数の推定値N~を減算して求める。 Here, in the equation (5), the estimated values N to k of the number of pairs of the trajectory data that is equal to or more than the number k of the common nodes are calculated. For example, when k = 3, estimated values N to 3 of the number of pairs of trajectory data in which the number of common nodes is 3 or more are calculated. Also, when the k = 2, the estimated value N ~ 2 number of pairs locus data number common node is 2 or more is calculated. The estimated value of the number of pairs of the common node number k is estimated from the estimated number of pairs of trajectory data N to k equal to or more than the number of common nodes k to the estimated value N to k + 1 of the number of pairs of trajectory data equal to or more than the number k + 1 of common nodes. Is subtracted. For example, estimates of the number of pairs of the common node number 2, from the estimated value N ~ 2 number of pairs locus data number common node is 2 or more, the number of pairs of locus data as a common node number is 3 or more It is obtained by subtracting the estimated values N to 3 .

第1方式では、分布の下限を推定している。Nの値は、例えば、ノード数が3以上や、ノード数が2以上のように、全ての軌跡データの計算が行われていない途中の段階で、全ての軌跡データを計算したときの値(真の値)以下となっている。このため、途中の段階では、Nの値を使って計算したN~の値は、真の値を用いて計算したN~の値の下限になる。 In the first method, the lower limit of the distribution is estimated. The value of N k is, for example, a value when all the trajectory data is calculated at a stage where all the trajectory data is not calculated, for example, when the number of nodes is 3 or more or the number of nodes is 2 or more. (True value) or less. Therefore, in the intermediate stage, the value of N ~ k calculated using the value of N k becomes the lower limit value of N ~ k calculated using the true value.

また、第1方式では、推定の計算には、全ての共通ノード数kについて、共通ノード数k以上のペア数を累計したペア数Nを用いている。このように、未確定部分のペア数Nも加えて推定値N~を計算することにより、加えない場合よりも、ペア数Nに真の値を用いて計算した推定値N~に値が近くなる。すなわち、第1方式では、計算済みの分布で確定部分と未確定部分の値を用いることが精度を向上させている。 Further, in the first method, the number of pairs N k obtained by accumulating the number of pairs equal to or more than the number k of common nodes is used for the calculation of estimation for all the number k of common nodes. Thus, by calculating the number of pairs N k be added estimate N ~ k undetermined portion, than without addition also estimate N ~ k of the number of pairs N k was calculated using the true value Becomes closer to the value. That is, in the first method, using the values of the determined portion and the undetermined portion in the calculated distribution improves the accuracy.

次に、第2方式を説明する。第2方式では、計算済みの共通ノード数の最大値を用いて幾何分布により近似する。   Next, the second method will be described. In the second method, the approximate value is approximated by a geometric distribution using the maximum value of the calculated number of common nodes.

目標数をNとする。基準kに対して、Nqk0≒Nとおくと、以下の式(7)より式(8)のように表せる。 The target number and N 0. If Nq k0 ≒ N 0 with respect to the reference k 0 , it can be expressed as in Expression (8) from Expression (7) below.

Figure 0006677040
Figure 0006677040

この式(8)は、推定対象の軌跡データの組み合わせの総数Nと、目標数Nのみから計算できる。これは、第1方式では、Logqを式(6)のように近似したのに対し、第2方式では、Logqを以下の式(9)のように近似している。すなわち、第2方式では、分布のパラメータqを、計算済みの共通ノード数の最大値Kと、推定対象の軌跡データの組み合わせの総数Nのみで近似している。 The equation (8), the total number N of combinations of locus data to be estimated, can be calculated from only the target number N 0. This is because, in the first method, Logq is approximated as in Expression (6), whereas in the second method, Logq is approximated as in Expression (9) below. That is, in the second method, the parameter q of the distribution is approximated only by the maximum value K of the calculated number of common nodes and the total number N of the combinations of the trajectory data to be estimated.

Figure 0006677040
Figure 0006677040

図14は、第2方式の推定を説明する図である。図14の例では、ノード数が2以上の軌跡データについて、共通ノード数ごとのペア数の分布が示されている。図14の例では、計算済みの分布から共通ノード数の最大値Kが5と求まる。図14の例では、指定された目標数Nを40とする。また、図14の例では、推定対象の軌跡データの組み合わせの総数Nを300とする。これにより、式(8)の右辺の値を算出できる。例えば、右辺は、0.35となる。この値は、総数Nと目標数Nから事前に算出できる。第2方式では、共通部分の最大値K=5を使って分布の下限を推定する。図14には、推定された共通ノード数に対するペア数の分布が示されている。また、図14には、共通ノード数ごとに、共通ノード数以上のペア数を累計したペア数の分布が示されている。第2方式では、共通ノード数の最大値Kを用いて、式(8)から基準kの値を計算する。図14の例では、基準kが1.75と算出される。これは、目標数である40に対応する基準kの値を求めることに該当する。第2方式では、基準kが1.75を四捨五入して、目標数に最も近い共通ノード数を2と決定する。すなわち、第2方式では、共通部分の最大値Kが定まった段階で、目標数Nに最も近い共通ノード数が決定する。 FIG. 14 is a diagram illustrating the estimation of the second method. In the example of FIG. 14, the distribution of the number of pairs for each number of common nodes is shown for trajectory data having two or more nodes. In the example of FIG. 14, the maximum value K of the number of common nodes is determined to be 5 from the calculated distribution. In the example of FIG. 14, the designated target number N 0 is set to 40. In the example of FIG. 14, the total number N of the combinations of the trajectory data to be estimated is 300. Thereby, the value on the right side of Expression (8) can be calculated. For example, the right side is 0.35. This value can be calculated in advance from the total number N and the target number N. In the second method, the lower limit of the distribution is estimated using the maximum value K = 5 of the common part. FIG. 14 shows the distribution of the number of pairs with respect to the estimated number of common nodes. FIG. 14 shows the distribution of the number of pairs obtained by accumulating the number of pairs equal to or more than the number of common nodes for each number of common nodes. In the second method, using the maximum value K of the common node number, to calculate the value of the reference k 0 from equation (8). In the example of FIG. 14, the reference k 0 is calculated as 1.75. This corresponds to determining the value of the reference k 0 corresponding to 40 is the target number. In the second method, the reference k 0 is rounded off to 1.75, and the number of common nodes closest to the target number is determined as 2. That is, in the second method, at the stage of definite maximum value K of the intersection, the common node number is determined closest to the target number N 0.

決定部46により決定された共通ノード数が、現在の取得が完了しているノード数以下である場合、取得部43は、決定した最も近い共通ノード数となるまでノード数を順に減らして当該ノード数以上のノード数の軌跡データの取得を繰り返す。これにより、算出部44、生成部45、決定部46は、再度取得された軌跡データに対して再度を同様の処理を行う。すなわち、取得部43、算出部44、生成部45、決定部46は、決定部46により決定された共通ノード数が、現在の取得が完了しているノード数となるまでノード数を順に減らして処理を繰り返す。   When the number of common nodes determined by the determination unit 46 is equal to or less than the number of nodes for which the current acquisition has been completed, the acquisition unit 43 reduces the number of nodes in order until the number of common nodes is the closest to the determined number of common nodes. The acquisition of the track data of the number of nodes equal to or more than the number is repeated. As a result, the calculation unit 44, the generation unit 45, and the determination unit 46 perform the same processing again on the locus data acquired again. That is, the acquisition unit 43, the calculation unit 44, the generation unit 45, and the determination unit 46 sequentially reduce the number of nodes until the number of common nodes determined by the determination unit 46 becomes the number of nodes for which the current acquisition has been completed. Repeat the process.

次に、具体例を用いて説明する。図15は、移動軌跡データの一例を示す図である。例えば、図15に示す移動軌跡データ30が記憶されているものとする。図16は、道路ノードの構成の一例を示す図である。例えば、道路などのネットワークは、図16に示すノードの接続関係があるものとする。図16には、ネットワークに対応したノード情報31とリンク情報32のデータが示されている。   Next, a description will be given using a specific example. FIG. 15 is a diagram illustrating an example of the movement trajectory data. For example, it is assumed that movement locus data 30 shown in FIG. 15 is stored. FIG. 16 is a diagram illustrating an example of the configuration of a road node. For example, it is assumed that a network such as a road has a connection relation of nodes shown in FIG. FIG. 16 shows data of the node information 31 and the link information 32 corresponding to the network.

正規化部41は、移動軌跡データ30に記憶された軌跡の各位置情報を、ノード情報31及びリンク情報32に基づき、軌跡の位置をノードで示したデータに正規化する。図17は、正規化軌跡データの一例を示す図である。図17には、軌跡の位置をノードで示した正規化軌跡データ33が示されている。図17の例では、IDが1から25の正規化された軌跡が示されている。また、図17の例では、ノード数の多い順(軌跡の長い順)に、軌跡をソートした結果が示されている。   The normalization unit 41 normalizes each position information of the trajectory stored in the movement trajectory data 30 into data indicating the position of the trajectory as a node based on the node information 31 and the link information 32. FIG. 17 is a diagram illustrating an example of the normalized trajectory data. FIG. 17 shows normalized trajectory data 33 in which the position of the trajectory is indicated by a node. In the example of FIG. 17, a normalized trajectory having an ID of 1 to 25 is shown. Also, in the example of FIG. 17, the result of sorting the trajectories in the order of the number of nodes (longest trajectory) is shown.

受付部42は、抽出するペア数の目標数の指定を受け付ける。ここでは、目標数は、40と指定されたものとする。   The receiving unit 42 receives designation of a target number of pairs to be extracted. Here, it is assumed that the target number is designated as 40.

取得部43は、正規化軌跡データ33を参照して、特定のノード数以上のノード数の軌跡データを取得する。例えば、取得部43は、正規化軌跡データ33に記憶された軌跡の最大のノード数から、ノード数を順に減らして当該ノード数以上のノード数の軌跡データを取得する。図17の例では、取得部43は、最初に、正規化軌跡データ33に記憶された軌跡の最大のノード数であるノードが6以上のノード数の軌跡データを読み出す。   The acquisition unit 43 refers to the normalized trajectory data 33 and acquires trajectory data of a number of nodes equal to or more than a specific number of nodes. For example, the acquisition unit 43 sequentially reduces the number of nodes from the maximum number of nodes of the trajectory stored in the normalized trajectory data 33 and acquires trajectory data of the number of nodes equal to or greater than the number of nodes. In the example of FIG. 17, the acquiring unit 43 first reads the locus data in which the maximum number of nodes of the locus stored in the normalized locus data 33 is 6 or more.

ここで、処理中の状況をわかり易くするため、データ及びパラメータなどの処理状況を図示して説明する。図18Aは、処理状況の一例を示す図である。図18Aの例は、ノードが6以上のノード数の軌跡データに対する処理状況を示している。   Here, in order to make it easier to understand the status during processing, the processing status of data and parameters will be illustrated and described. FIG. 18A is a diagram illustrating an example of a processing state. The example of FIG. 18A shows the processing status for the locus data having the number of nodes of 6 or more.

処理ノード数xには、読み出しを行った軌跡のノード数が記憶される。図17の例では、処理ノード数xに最大のノード数である6が設定される。候補リストは、読み出された軌跡が記憶される。処理ノード数xが6の場合、候補リストには、ノード数が6以上のIDが6、7、21の軌跡が記憶される。   The number of processing nodes x stores the number of nodes of the trajectory from which the reading was performed. In the example of FIG. 17, 6 which is the maximum number of nodes is set as the number of processing nodes x. In the candidate list, the read trajectory is stored. When the number x of processing nodes is 6, the trajectories of IDs 6, 7, and 21 having the number of nodes of 6 or more are stored in the candidate list.

算出部44は、取得した軌跡データのペアごとに、各ペアに含まれる軌跡データ間の共通ノード数を算出する。図17の例では、算出部44は、IDが6、7、21の軌跡を組み合わせたペアごとに、共通ノード数を算出する。例えば、算出部44は、IDが6の軌跡<B,A,F,A,B,C>と、IDが7の軌跡<B,A,F,G,B,C>を比較して、共通ノード数を5と算出する。   The calculating unit 44 calculates, for each pair of the acquired trajectory data, the number of common nodes between the trajectory data included in each pair. In the example of FIG. 17, the calculation unit 44 calculates the number of common nodes for each pair in which the trajectories with IDs 6, 7, and 21 are combined. For example, the calculation unit 44 compares the locus <B, A, F, A, B, C> with an ID of 6 with the locus <B, A, F, G, B, C> with an ID of 7, The number of common nodes is calculated as 5.

図18Aには、共通ノードの計算結果が表形式で示されている。共通ノードの計算結果は、比較した軌跡のIDを縦横の項目として、軌跡間で算出された共通ノード数が示さている。例えば、IDが6、7、21の軌跡を組み合わせるため、図18Aの共通ノードの計算結果には、横の項目にIDの6、7が並び、縦の項目にIDの7、21が並んでいる。図18Aの共通ノードの計算結果では、横の項目が6、縦の項目が7に対応する領域の値が5であることから、IDが6とIDが7の軌跡間で算出された共通ノード数が5であることを示している。   FIG. 18A shows a calculation result of the common node in a table format. The calculation result of the common node indicates the number of common nodes calculated between the trajectories, using the IDs of the compared trajectories as vertical and horizontal items. For example, since the trajectories with IDs of 6, 7, and 21 are combined, in the calculation result of the common node in FIG. 18A, IDs 6 and 7 are arranged in horizontal items, and IDs 7 and 21 are arranged in vertical items. I have. In the calculation result of the common node in FIG. 18A, since the value of the area corresponding to the horizontal item is 6 and the vertical item is 7 is 5, the common node calculated between the trajectories of ID 6 and ID 7 is This indicates that the number is 5.

生成部45は、算出部44により算出した共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する。図18Aには、分布情報に、共通ノード数ごとのペア数が示されている。図18Aには、共通ノード数が5についてペア数が1と格納されている。また、共通ノード数が4から1についてペア数が0と格納されている。また、共通ノード数が0についてペア数が2と格納されている。   The generation unit 45 generates distribution information of the number of pairs for each number of common nodes based on the number of common nodes calculated by the calculation unit 44. FIG. 18A shows the number of pairs for each number of common nodes in the distribution information. In FIG. 18A, the number of pairs is stored as 1 for the number of common nodes of 5. Further, the number of pairs is stored as 0 for the number of common nodes of 4 to 1. Further, the number of pairs is stored as 2 for the number of common nodes of 0.

決定部46は、分布情報から、正規化軌跡データ33に記憶された複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。そして、決定部46は、推定されたペア数が、指定された目標数に最も近い共通ノード数を、計算を打ち切る基準の共通ノード数と決定する。   The deciding unit 46 estimates the number of pairs of trajectory data that is equal to or more than the number of common nodes for each number of common nodes, with the plurality of trajectory data stored in the normalized trajectory data 33 as the estimation target from the distribution information. Then, the determining unit 46 determines the number of common nodes whose estimated number of pairs is closest to the specified target number as the reference number of common nodes to terminate the calculation.

図18Aには、第1方式と第2方式でそれぞれ推定する場合のパラメータと推定結果が示さている。図18Aの例では、IDが1から25の軌跡を組み合わせたペアについて推定を行うため、推定対象の軌跡データの組み合わせの総数Nは、300となる。   FIG. 18A shows parameters and estimation results in the case of performing estimation using the first method and the second method, respectively. In the example of FIG. 18A, estimation is performed for a pair of trajectories with IDs of 1 to 25, and the total number N of combinations of trajectory data to be estimated is 300.

第1方式では、分布情報から、計算済みの共通ノード数がk以上のペア数Nを求める。例えば、共通ノード数が5以上のペア数Nは、共通ノード数が5のペア数が1であるため、1となる。共通ノード数が0以上のペア数Nは、共通ノード数が5のペア数の1と共通ノード数が0のペア数の2を加算して、3となる。また、計算済みの共通ノード数の最大値Kは、共通ノード数が5が最大であるため、5となる。第1方式では、式(6)からqの値を算出し、算出されたqの値を用いて式(5)から共通部分のノード数kの場合の推定値N~をそれぞれ算出する。図18Aの例では、推定値N~が、22.2であり、推定値N~が、300.0である。決定部46は、共通ノード数が1の推定値N~が目標数の40に最も近いため、計算を打ち切る基準を1と決定する。 In the first method, the number of pairs N k whose number of calculated common nodes is equal to or greater than k is obtained from distribution information. For example, the number of pairs N 5 number common node is 5 or more, since the number of the common node number pair 5 is 1, the 1. The number of pairs N 0 whose number of common nodes is 0 or more is 3 by adding 1 of the number of pairs whose common node number is 5 and 2 of the number of pairs whose common node number is 0. In addition, the maximum value K of the calculated number of common nodes is 5 because the number of common nodes is 5 at maximum. In the first method, the value of q is calculated from Expression (6), and the estimated values N to k in the case of the number k of nodes of the common portion are calculated from Expression (5) using the calculated value of q. In the example of FIG. 18A, the estimated value N- 1 is 22.2, and the estimated value N- 0 is 300.0. Determination section 46, the estimated value N ~ 1 number common nodes 1 for closest to the 40 target number, to determine a reference to abort the computation 1.

一方、第2方式では、分布情報から、計算済みの共通ノード数の最大値Kが5となる。また、推定対象の軌跡データの組み合わせの総数Nは、300である。また、目標数Nは、40である。第2方式では、式(8)から基準kの値が算出し、基準kの値を四捨五入した値を計算を打ち切る基準と決定する。図18Aの例では、基準は、2と決定する。第2方式では、図18Aに示すように、計算済みの共通ノード数の最大値Kが定まった段階で、式(8)の各パラメータが以降変化しないため、計算を打ち切る基準が確定する。 On the other hand, in the second method, the maximum value K of the number of common nodes calculated from the distribution information is 5. The total number N of combinations of the trajectory data to be estimated is 300. The target number N 0 is 40. In the second method, the value of the reference k 0 is calculated from Expression (8), and the value obtained by rounding off the value of the reference k 0 is determined as the reference for terminating the calculation. In the example of FIG. 18A, the reference is determined to be 2. In the second method, as shown in FIG. 18A, at the stage when the maximum value K of the calculated number of common nodes is determined, since each parameter of Expression (8) does not change thereafter, the reference for stopping the calculation is determined.

出力部47は、共通ノード数が基準のノード数以上となる軌跡データのペアの各ID、及び、共通ノード数をペア共通部分情報34に格納する。図18Aの例では、ペア共通部分情報34には、IDの6とIDの7に対応づけて軌跡の共通ノード数の5が格納される。   The output unit 47 stores, in the pair common portion information 34, each ID of a pair of locus data in which the number of common nodes is equal to or greater than the reference number of nodes, and the number of common nodes. In the example of FIG. 18A, the pair common portion information 34 stores 5 as the number of common nodes of the trajectory in association with ID 6 and ID 7.

図18Aの例では、第1方式及び第2方式とも、処理ノード数xの値「6」が、基準の値となっていない。この場合、取得部43は、処理ノード数xの値を1減算して「5」とし、ノード数が5以上のノード数の軌跡データを取得する。例えば、ノード数が6以上の軌跡データが既に取得されているため、取得部43は、ノード数が5の軌跡データを読み出す。   In the example of FIG. 18A, the value “6” of the number of processing nodes x is not a reference value in both the first method and the second method. In this case, the acquisition unit 43 subtracts 1 from the value of the number x of processing nodes to obtain “5”, and acquires trajectory data of the number of nodes having five or more nodes. For example, since the track data having the number of nodes of 6 or more has already been obtained, the obtaining unit 43 reads the track data having the number of nodes of 5.

ここで、図17に示した正規化軌跡データ33には、ノード数が5の軌跡が無い。新しく読み出される軌跡が無い場合、分布情報は、変化しない。このため、第1方式の基準は、図18Aの状態のままである。取得部43は、処理ノード数xの値「5」が、基準の値となっていない。この場合、取得部43は、処理ノード数xの値を1減算して「4」とし、ノード数が4以上のノード数の軌跡データを取得する。例えば、ノード数が5以上の軌跡データが既に取得されているため、取得部43は、ノード数が4の軌跡データを読み出す。   Here, the normalized trajectory data 33 shown in FIG. 17 does not include a trajectory having five nodes. If there is no newly read trajectory, the distribution information does not change. Therefore, the reference of the first method remains in the state of FIG. 18A. The acquisition unit 43 has determined that the value “5” of the processing node number x is not the reference value. In this case, the acquisition unit 43 subtracts 1 from the value of the number x of processing nodes to obtain “4”, and acquires trajectory data of the number of nodes having four or more nodes. For example, since the locus data having five or more nodes has already been obtained, the acquiring unit 43 reads the locus data having four nodes.

図18Bは、処理状況の一例を示す図である。図18Bの例では、候補リストに、ノード数が4のIDが8、12、18の軌跡が追加されている。   FIG. 18B is a diagram illustrating an example of the processing status. In the example of FIG. 18B, trajectories with IDs of 8, 12, and 18 having 4 nodes are added to the candidate list.

算出部44は、共通ノード数を算出済みのペアを除いて、軌跡データのペアごとに、共通ノード数を算出する。例えば、算出部44は、ノード数が6の軌跡データとノード数が4の軌跡データとを組み合わせたペア、及び、ノード数が4の軌跡データのみを組み合わせたペアごとに、共通ノード数を算出する。図18Bには、共通ノードの計算結果が示されている。   The calculation unit 44 calculates the number of common nodes for each pair of the trajectory data except for the pair for which the number of common nodes has been calculated. For example, the calculation unit 44 calculates the number of common nodes for each pair obtained by combining locus data having 6 nodes and 4 locus data and each pair obtained by combining only locus data having 4 nodes. I do. FIG. 18B shows a calculation result of the common node.

生成部45は、算出部44により算出した共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する。図18Bには、分布情報が示されている。   The generation unit 45 generates distribution information of the number of pairs for each number of common nodes based on the number of common nodes calculated by the calculation unit 44. FIG. 18B shows distribution information.

決定部46は、分布情報から、正規化軌跡データ33に記憶された複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。   The deciding unit 46 estimates the number of pairs of trajectory data that is equal to or more than the number of common nodes for each number of common nodes, with the plurality of trajectory data stored in the normalized trajectory data 33 as the estimation target from the distribution information.

第1方式では、分布情報から、計算済みの共通ノード数がk以上のペア数Nを求めて、式(6)からqの値が再度算出し、式(5)から共通部分のノード数kの場合の推定値N~をそれぞれ算出する。図18Bの例では、推定値N~が、6.2であり、推定値N~が、43.3であり、推定値N~が、300.0である。決定部46は、共通ノード数が1の推定値N~が目標数の40に最も近いため、計算を打ち切る基準を1と決定する。 In the first method, the number of pairs N k whose number of calculated common nodes is equal to or more than k is obtained from the distribution information, the value of q is calculated again from equation (6), and the number of nodes of the common part is calculated from equation (5). The respective estimated values N to k for k are calculated. In the example of FIG. 18B, the estimated value N ~ 2 is 6.2, the estimated value N ~ 1 is 43.3, and the estimated value N ~ 0 is 300.0. Determination section 46, the estimated value N ~ 1 number common nodes 1 for closest to the 40 target number, to determine a reference to abort the computation 1.

一方、第2方式では、計算を打ち切る基準が2と確定されている。   On the other hand, in the second method, the reference for terminating the calculation is determined to be 2.

出力部47は、共通ノード数が基準のノード数以上となる軌跡データのペアの各ID、及び、共通ノード数をペア共通部分情報34に格納する。図18Bの例では、ペア共通部分情報34には、例えば、IDの6とIDの8に対応づけて軌跡の共通ノード数の3などが追加されている。   The output unit 47 stores, in the pair common portion information 34, each ID of a pair of locus data in which the number of common nodes is equal to or greater than the reference number of nodes, and the number of common nodes. In the example of FIG. 18B, for example, the number 3 of the common nodes of the trajectory is added to the pair common portion information 34 in association with ID 6 and ID 8.

図18Bの例では、第1方式及び第2方式とも、処理ノード数xの値「4」が、基準の値となっていない。この場合、取得部43は、処理ノード数xの値を1減算して「3」とし、ノード数が3以上のノード数の軌跡データを取得する。例えば、ノード数が4以上の軌跡データが既に取得されているため、取得部43は、ノード数が3の軌跡データを読み出す。   In the example of FIG. 18B, the value “4” of the number of processing nodes x is not a reference value in both the first method and the second method. In this case, the acquisition unit 43 subtracts 1 from the value of the number of processing nodes x to “3”, and acquires trajectory data of the number of nodes having three or more nodes. For example, since the track data having four or more nodes has already been obtained, the obtaining unit 43 reads the track data having three nodes.

図18Cは、処理状況の一例を示す図である。図18Cの例では、候補リストに、ノード数が3のIDが2、3、10、23、25の軌跡が追加されている。   FIG. 18C is a diagram illustrating an example of a processing state. In the example of FIG. 18C, trajectories with IDs of 2, 3, 10, 23, and 25 having 3 nodes are added to the candidate list.

算出部44は、上記と同様に、共通ノード数を算出済みのペアを除いて、軌跡データのペアごとに、共通ノード数を算出する。図18Cには、共通ノードの計算結果が示されている。   The calculation unit 44 calculates the number of common nodes for each pair of trajectory data, except for the pair for which the number of common nodes has been calculated, as described above. FIG. 18C shows a calculation result of the common node.

生成部45は、算出部44により算出した共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する。図18Cには、分布情報が示されている。   The generation unit 45 generates distribution information of the number of pairs for each number of common nodes based on the number of common nodes calculated by the calculation unit 44. FIG. 18C shows distribution information.

決定部46は、分布情報から、正規化軌跡データ33に記憶された複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。   The deciding unit 46 estimates the number of pairs of trajectory data that is equal to or more than the number of common nodes for each number of common nodes, with the plurality of trajectory data stored in the normalized trajectory data 33 as the estimation target from the distribution information.

第1方式では、分布情報から、計算済みの共通ノード数がk以上のペア数Nを求めて、式(6)からqの値が再度算出し、式(5)から共通部分のノード数kの場合の推定値N~をそれぞれ算出する。図18Cの例では、推定値N~が13.3であり、推定値N~が63.2であり、推定値N~が300.0である。決定部46は、共通ノード数が1の推定値N~が目標数の40に最も近いため、計算を打ち切る基準を1と決定する。 In the first method, the number of pairs N k whose number of calculated common nodes is equal to or more than k is obtained from the distribution information, the value of q is calculated again from equation (6), and the number of nodes of the common part is calculated from equation (5). The respective estimated values N to k for k are calculated. In the example of FIG. 18C, the estimated value N ~ 2 is 13.3, the estimated value N ~ 1 is 63.2, and the estimated value N ~ 0 is 300.0. Determination section 46, the estimated value N ~ 1 number common nodes 1 for closest to the 40 target number, to determine a reference to abort the computation 1.

一方、第2方式では、計算を打ち切る基準が2と確定されている。   On the other hand, in the second method, the reference for terminating the calculation is determined to be 2.

出力部47は、共通ノード数が基準のノード数以上となる軌跡データのペアの各ID、及び、共通ノード数をペア共通部分情報34に格納する。図18Cの例では、ペア共通部分情報34には、例えば、IDの6とIDの3に対応づけて軌跡の共通ノード数の3などが追加されている。   The output unit 47 stores, in the pair common portion information 34, each ID of a pair of locus data in which the number of common nodes is equal to or greater than the reference number of nodes, and the number of common nodes. In the example of FIG. 18C, for example, the number 3 of the common nodes of the trajectory is added to the pair common portion information 34 in association with ID 6 and ID 3.

図18Cの例では、第1方式及び第2方式とも、処理ノード数xの値「3」が、基準の値となっていない。この場合、取得部43は、処理ノード数xの値を1減算して「2」とし、ノード数が2以上のノード数の軌跡データを取得する。例えば、ノード数が3以上の軌跡データが既に取得されているため、取得部43は、ノード数が2の軌跡データを読み出す。   In the example of FIG. 18C, the value “3” of the number of processing nodes x is not a reference value in both the first method and the second method. In this case, the acquisition unit 43 subtracts 1 from the value of the processing node number x to obtain “2”, and acquires trajectory data of the node number of 2 or more. For example, since the track data having three or more nodes has already been obtained, the obtaining unit 43 reads the track data having two nodes.

図18Dは、処理状況の一例を示す図である。図18Dの例では、候補リストに、ノード数が2のIDが4、13、15、19の軌跡が追加されている。   FIG. 18D is a diagram illustrating an example of the processing status. In the example of FIG. 18D, trajectories with IDs of 4, 13, 15, and 19 having 2 nodes are added to the candidate list.

算出部44は、上記と同様に、共通ノード数を算出済みのペアを除いて、軌跡データのペアごとに、共通ノード数を算出する。図18Dには、共通ノードの計算結果が示されている。   The calculation unit 44 calculates the number of common nodes for each pair of trajectory data, except for the pair for which the number of common nodes has been calculated, as described above. FIG. 18D shows a calculation result of the common node.

生成部45は、算出部44により算出した共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する。図18Dには、分布情報が示されている。   The generation unit 45 generates distribution information of the number of pairs for each number of common nodes based on the number of common nodes calculated by the calculation unit 44. FIG. 18D shows distribution information.

決定部46は、分布情報から、正規化軌跡データ33に記憶された複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。   The deciding unit 46 estimates the number of pairs of trajectory data that is equal to or more than the number of common nodes for each number of common nodes, with the plurality of trajectory data stored in the normalized trajectory data 33 as the estimation target from the distribution information.

第1方式では、分布情報から、計算済みの共通ノード数がk以上のペア数Nを求めて、式(6)からqの値が再度算出し、式(5)から共通部分のノード数kの場合の推定値N~をそれぞれ算出する。図18Dの例では、推定値N~が17.6であり、推定値N~が72.6であり、推定値N~が300.0である。決定部46は、共通ノード数が2の推定値N~が目標数の40に最も近いため、計算を打ち切る基準を2と決定する。 In the first method, the number of pairs N k whose number of calculated common nodes is equal to or more than k is obtained from the distribution information, the value of q is calculated again from equation (6), and the number of nodes of the common part is calculated from equation (5). The respective estimated values N to k for k are calculated. In the example of FIG. 18D, the estimated value N ~ 2 is 17.6, the estimated value N ~ 1 is 72.6, and the estimated value N ~ 0 is 300.0. Determination section 46, the estimated value N ~ 2 common node number 2 for closest to the 40 target number, to determine a reference to abort the computation 2.

一方、第2方式では、計算を打ち切る基準が2と確定されている。   On the other hand, in the second method, the reference for terminating the calculation is determined to be 2.

出力部47は、共通ノード数が基準のノード数以上となる軌跡データのペアの各ID、及び、共通ノード数をペア共通部分情報34に格納する。図18Dの例では、ペア共通部分情報34には、例えば、IDの6とIDの4に対応づけて軌跡の共通ノード数の2などが追加されている。   The output unit 47 stores, in the pair common portion information 34, each ID of a pair of locus data in which the number of common nodes is equal to or greater than the reference number of nodes, and the number of common nodes. In the example of FIG. 18D, for example, the number 2 of the common nodes of the trajectory is added to the pair common portion information 34 in association with ID 6 and ID 4.

図18Dの例では、第1方式及び第2方式とも、処理ノード数xの2が、基準となっている。これにより、ノード数が1の軌跡については、読み出しが行われず、共通部分の計算が打ち切れる。   In the example of FIG. 18D, both the first method and the second method are based on the number of processing nodes x of 2. As a result, reading is not performed for the trajectory having the number of nodes of 1, and the calculation of the common portion is terminated.

出力部47は、図18Dに示したペア共通部分情報34から、特定のノード数と、計算を打ち切る基準とされた共通ノード数間のノード数の軌跡データのペアを経路分析の結果として分析結果情報35に出力する。図18Eは、処理状況の一例を示す図である。図18Eでは、共通ノード数が、基準とされたノード数の2以上の軌跡データのペアが示されている。なお、出力部47は、図18Eの右側に示すように、軌跡ごとに、共通ノード数が基準以上となる軌跡を対応付けて分析結果情報35に出力してもよい。   The output unit 47 uses the pair common part information 34 shown in FIG. 18D to analyze the pair of the locus data of the number of nodes between the specific number of nodes and the number of common nodes used as the reference for terminating the calculation as the analysis result. Output to information 35. FIG. 18E is a diagram illustrating an example of the processing status. FIG. 18E shows a pair of trajectory data in which the number of common nodes is two or more of the number of reference nodes. The output unit 47 may output the analysis result information 35 in association with a trajectory having the number of common nodes equal to or more than the reference for each trajectory, as shown on the right side of FIG. 18E.

このように、本実施例に係る軌跡データ処理装置11は、計算済みの分布情報から、全ての軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。そして、軌跡データ処理装置11は、推定されたペア数が、指定された目標数に最も近い共通ノード数に、計算を打ち切る基準を動的に変更する。これにより、軌跡データ処理装置11は、目標数に近いペア数に、軌跡データのペアを適切に絞込むことができる。また、軌跡データ処理装置11は、特定のノード数からノード数を順に減らして当該ノード数以上のノード数の軌跡データを取得する。そして、軌跡データ処理装置11は、取得した軌跡データの共通部分を順に算出する。その際、軌跡データ処理装置11は、ノード数の少ない軌跡データに対して共通部分を算出すると、ペア数が目標値から離れることが推定される場合、計算を打ち切ることができるため、計算量を適切に削減できる。   As described above, the trajectory data processing apparatus 11 according to the present embodiment sets the number of pairs of trajectory data that is equal to or more than the number of common nodes for each common node number, with all trajectory data as targets of estimation from the calculated distribution information. Is estimated. Then, the trajectory data processing device 11 dynamically changes the reference for terminating the calculation to the number of common nodes whose estimated number of pairs is closest to the specified target number. Thereby, the trajectory data processing device 11 can appropriately narrow down the pairs of the trajectory data to the number of pairs close to the target number. Further, the trajectory data processing device 11 acquires the trajectory data of the number of nodes equal to or greater than the number of nodes by sequentially decreasing the number of nodes from the specific number of nodes. Then, the trajectory data processing device 11 sequentially calculates the common part of the acquired trajectory data. At this time, if the trajectory data processing device 11 calculates the common part for the trajectory data with a small number of nodes, if the number of pairs is estimated to depart from the target value, the calculation can be terminated. Can be reduced appropriately.

次に、本実施例に係る軌跡データ処理装置11による各種の処理の流れを説明する。最初に、本実施例に係る軌跡データ処理装置11が軌跡を正規化する正規化処理の流れを説明する。図19は、正規化処理の流れの一例を示すフローチャートである。この正規化処理は、所定のタイミング、例えば、軌跡記録装置12から軌跡データがアップロードされたタイミングで実行される。なお、軌跡記録装置12からアップロードされた軌跡データの格納と、軌跡データの正規化とは、別なタイミングで処理されてもよい。例えば、軌跡データの正規化は、入力部21から正規化の開始を指示する所定操作が行われたタイミングで実行されてもよい。   Next, the flow of various processes by the trajectory data processing device 11 according to the present embodiment will be described. First, the flow of a normalization process in which the trajectory data processing device 11 according to the present embodiment normalizes a trajectory will be described. FIG. 19 is a flowchart illustrating an example of the flow of the normalization processing. This normalization process is executed at a predetermined timing, for example, at a timing when the locus data is uploaded from the locus recording device 12. The storage of the locus data uploaded from the locus recording device 12 and the normalization of the locus data may be processed at different timings. For example, the normalization of the trajectory data may be executed at a timing when a predetermined operation for instructing the start of the normalization is performed from the input unit 21.

図19に示すように、格納部40は、軌跡記録装置12から軌跡データがアップロードされると、アップロードされた軌跡データに軌跡IDを付与して移動軌跡データ30に格納する(S10)。   As shown in FIG. 19, when the trajectory data is uploaded from the trajectory recording device 12, the storage unit 40 assigns a trajectory ID to the uploaded trajectory data and stores it in the movement trajectory data 30 (S10).

正規化部41は、移動軌跡データ30に記憶された軌跡の各位置情報を、ノード情報31の各ノードの位置情報とマップマッチングを行って、軌跡の位置をノードで示したデータに正規化する(S11)。   The normalization unit 41 performs map matching of each position information of the trajectory stored in the movement trajectory data 30 with the position information of each node of the node information 31, and normalizes the position of the trajectory to data indicated by the node. (S11).

正規化部41は、正規化が完了した軌跡データを移動軌跡データ30から削除し、処理を終了する(S12)。   The normalizing unit 41 deletes the normalized trajectory data from the movement trajectory data 30 and ends the process (S12).

次に、本実施例に係る軌跡データ処理装置11が複数の軌跡データの集合の中から、類似度の高い軌跡データのペアを抽出する軌跡データ処理の流れを説明する。図20は、軌跡データ処理の流れの一例を示すフローチャートである。この軌跡データ処理は、所定のタイミング、例えば、入力部21から軌跡データ処理の開始を指示する所定操作が行われたタイミングで実行される。   Next, a flow of the trajectory data processing in which the trajectory data processing device 11 according to the present embodiment extracts a pair of trajectory data having high similarity from a set of a plurality of trajectory data will be described. FIG. 20 is a flowchart illustrating an example of the flow of the trajectory data processing. The trajectory data processing is executed at a predetermined timing, for example, when a predetermined operation for instructing the start of the trajectory data processing is performed from the input unit 21.

図20に示すように、受付部42は、操作画面を表示して、経路分析で抽出する軌跡データのペアの目標数として、複数の軌跡データのペア数の指定を受け付ける(S20)。   As illustrated in FIG. 20, the receiving unit 42 displays the operation screen, and receives designation of a plurality of pairs of trajectory data as the target number of trajectory data pairs to be extracted in the route analysis (S20).

取得部43は、記憶部23の正規化軌跡データ33に記憶された軌跡データをノード数の多い順にソートする(S21)。取得部43は、正規化軌跡データ33を参照して、軌跡データの最大のノード数を求め、求めた最大のノード数を処理ノード数xに設定する(S22)。また、取得部43は、候補リストを空に初期化する(S23)。   The acquisition unit 43 sorts the trajectory data stored in the normalized trajectory data 33 of the storage unit 23 in descending order of the number of nodes (S21). The acquiring unit 43 refers to the normalized trajectory data 33, obtains the maximum number of nodes of the trajectory data, and sets the obtained maximum number of nodes to the processing node number x (S22). Further, the acquisition unit 43 initializes the candidate list to empty (S23).

取得部43は、正規化軌跡データ33を参照して、ノード数が処理ノード数xの軌跡データを読み出し、候補リストに追加する(S24)。算出部44は、候補リストに格納された軌跡データのペアごとに、共通ノード数を算出する(S25)。生成部45は、算出部44により算出した共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する(S26)。   The acquisition unit 43 refers to the normalized trajectory data 33, reads the trajectory data whose number of nodes is the processing node number x, and adds it to the candidate list (S24). The calculation unit 44 calculates the number of common nodes for each pair of trajectory data stored in the candidate list (S25). The generation unit 45 generates distribution information of the number of pairs for each number of common nodes based on the number of common nodes calculated by the calculation unit 44 (S26).

決定部46は、分布情報から、正規化軌跡データ33に記憶された複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する(S27)。決定部46は、推定されたペア数が、指定された目標数に最も近い共通ノード数を、計算を打ち切る基準の共通ノード数と決定する(S28)。   The determination unit 46 estimates the number of pairs of trajectory data that is equal to or greater than the number of common nodes for each common node number, with the plurality of trajectory data stored in the normalized trajectory data 33 as the estimation target from the distribution information (S27). ). The determining unit 46 determines the number of common nodes whose estimated number of pairs is closest to the specified target number as the reference number of common nodes to terminate the calculation (S28).

出力部47は、共通ノード数が計算を打ち切る基準のノード数以上の軌跡データのペアの各ID、及び、共通ノード数をペア共通部分情報34に格納する(S29)。   The output unit 47 stores, in the pair common part information 34, each ID of the pair of trajectory data whose number of common nodes is equal to or larger than the reference number of nodes at which the calculation is terminated, and the number of common nodes (S29).

取得部43は、処理ノード数xが基準の共通ノード数となったか否かを判定する(S30)。処理ノード数xが基準の共通ノード数となっていない場合(S30否定)、取得部43は、処理ノード数xの値から1を減算し(S31)、上記のS24へ移行する。   The acquisition unit 43 determines whether or not the number of processing nodes x has become the reference number of common nodes (S30). If the processing node number x is not the reference common node number (No at S30), the acquiring unit 43 subtracts 1 from the value of the processing node number x (S31), and proceeds to S24.

処理ノード数xが基準の共通ノード数となった場合(S30肯定)、出力部47は、次の処理を行う。すなわち、出力部47は、ペア共通部分情報34から、計算を打ち切る基準とされた共通ノード数以上のノード数の軌跡データのペアを経路分析の結果として分析結果情報35に出力し(S32)、処理を終了する。   When the processing node number x has become the reference common node number (Yes at S30), the output unit 47 performs the following processing. That is, the output unit 47 outputs, from the pair common part information 34, pairs of trajectory data having a number of nodes equal to or greater than the number of common nodes used as a reference for terminating the calculation to the analysis result information 35 as a result of the path analysis (S32). The process ends.

[効果]
軌跡データ処理装置11は、複数の軌跡データのペア数の指定を受け付ける。軌跡データ処理装置11は、記憶部23の正規化軌跡データ33を参照して、特定のノード数以上のノード数の軌跡データを取得する。軌跡データ処理装置11は、取得した軌跡データのペアごとに、各ペアに含まれる軌跡データ間で識別情報が共通である共通ノード数を算出する。軌跡データ処理装置11は、算出した共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する。軌跡データ処理装置11は、生成した分布情報と、受け付けたペア数とに基づき、特定のノード数未満である他のノード数を決定する。軌跡データ処理装置11は、特定のノード数及び他のノード数間のノード数の軌跡データのペアを出力する。これにより、軌跡データ処理装置11は、計算量を適切に削減できる。また、軌跡データ処理装置11は、多数の軌跡データの中から、類似度の高い軌跡を計算する際に、分布に基づいて適度な絞り込みができるため、処理時間の長期化を抑制できる。
[effect]
The trajectory data processing device 11 receives designation of the number of pairs of a plurality of trajectory data. The trajectory data processing device 11 refers to the normalized trajectory data 33 in the storage unit 23 and acquires the trajectory data of the number of nodes equal to or more than the specific number of nodes. The trajectory data processing device 11 calculates, for each pair of the acquired trajectory data, the number of common nodes whose identification information is common between the trajectory data included in each pair. The trajectory data processing device 11 generates distribution information of the number of pairs for each number of common nodes based on the calculated number of common nodes. The trajectory data processing device 11 determines the number of other nodes less than the specific number of nodes based on the generated distribution information and the number of accepted pairs. The trajectory data processing device 11 outputs a pair of trajectory data of the number of nodes between a specific number of nodes and another number of nodes. Thereby, the trajectory data processing device 11 can appropriately reduce the amount of calculation. In addition, when calculating a locus having a high degree of similarity from a large number of locus data, the locus data processing device 11 can appropriately narrow down based on the distribution, so that it is possible to suppress an increase in processing time.

また、軌跡データ処理装置11は、分布情報から、記憶部23の正規化軌跡データ33に記憶された複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。軌跡データ処理装置11は、推定されたペア数が、受け付けたペア数に最も近い共通ノード数を他のノード数と決定する。これにより、軌跡データ処理装置11は、複数の軌跡データでの共通ノード数のペア数の分布について、指数的な分布の形状がどのような場合であっても、計算を打ち切る基準を適切に変更できる。   Further, the trajectory data processing device 11 uses the plurality of trajectory data stored in the normalized trajectory data 33 of the storage unit 23 from the distribution information as an estimation target, and for each common node number, the trajectory data that is equal to or more than the common node number. Estimate the number of pairs. The trajectory data processing device 11 determines the number of common nodes whose estimated number of pairs is closest to the number of accepted pairs as the number of other nodes. Accordingly, the trajectory data processing device 11 appropriately changes the reference for terminating the calculation of the distribution of the number of pairs of the common nodes in the plurality of trajectory data, regardless of the shape of the exponential distribution. it can.

また、軌跡データ処理装置11は、分布情報の共通ノード数ごとのペア数と、正規化軌跡データ33に記憶された複数の軌跡データを組み合わせたペアの総数から、幾何分布を用いて共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。軌跡データ処理装置11は、推定されたペア数が、受け付けたペア数に最も近い共通ノード数を他のノード数と決定する。軌跡データ処理装置11は、特定のノード数から、決定した他のノード数となるまでノード数を順に減らして当該ノード数以上のノード数の軌跡データの取得を繰り返す。これにより、軌跡データ処理装置11は、共通ノード数以上となる軌跡データのペア数を精度よく推定できる。   Further, the trajectory data processing device 11 calculates the number of common nodes using the geometric distribution based on the number of pairs for each number of common nodes of the distribution information and the total number of pairs obtained by combining a plurality of trajectory data stored in the normalized trajectory data 33. In each case, the number of pairs of trajectory data that is equal to or greater than the number of common nodes is estimated. The trajectory data processing device 11 determines the number of common nodes whose estimated number of pairs is closest to the number of accepted pairs as the number of other nodes. The trajectory data processing device 11 repeats the acquisition of the trajectory data of the number of nodes equal to or more than the specified number of nodes, and sequentially decreasing the number of nodes until reaching the determined other number of nodes. Thus, the trajectory data processing device 11 can accurately estimate the number of pairs of trajectory data that is equal to or greater than the number of common nodes.

また、軌跡データ処理装置11は、最大の共通ノード数から、幾何分布を用いて共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定する。軌跡データ処理装置11は、推定されたペア数が、受け付けたペア数に最も近い共通ノード数を他のノード数と決定する。軌跡データ処理装置11は、決定した他のノード数以上のノード数の軌跡データを取得する。これにより、軌跡データ処理装置11は、読み出す範囲となる他のノード数を速やかに求めることができる。   In addition, the trajectory data processing device 11 estimates the number of pairs of trajectory data that is equal to or greater than the number of common nodes for each number of common nodes using the geometric distribution from the maximum number of common nodes. The trajectory data processing device 11 determines the number of common nodes whose estimated number of pairs is closest to the number of accepted pairs as the number of other nodes. The trajectory data processing device 11 acquires trajectory data of the number of nodes equal to or larger than the determined number of other nodes. Thus, the trajectory data processing device 11 can quickly obtain the number of other nodes within the read range.

さて、これまで開示の装置に関する実施例について説明したが、開示の技術は上述した実施例以外にも、種々の異なる形態にて実施されてよい。そこで、以下では、本発明に含まれる他の実施例を説明する。   [C] Third Embodiment Although the embodiments related to the disclosed apparatus have been described above, the disclosed technology may be implemented in various different forms other than the above-described embodiments. Therefore, another embodiment included in the present invention will be described below.

例えば、上記の実施例では、幾何分布を用いた第1方式、第2方式により軌跡データのペア数を推定する場合を例に説明したが、開示の装置はこれに限定されない。例えば、指数分布を用いて軌跡データのペア数を推定してもよい。指数分布を用いた第3方式を説明する。指数分布は、一般的に以下の式(10)のように表せる。   For example, in the above embodiment, the case where the number of pairs of trajectory data is estimated by the first method and the second method using the geometric distribution is described as an example, but the disclosed device is not limited to this. For example, the number of pairs of locus data may be estimated using an exponential distribution. A third method using the exponential distribution will be described. The exponential distribution can be generally expressed as in the following equation (10).

Figure 0006677040
Figure 0006677040

この指数分布の式(10)は、以下の式(11)から以下の式(12)、(13)のように近似できる。

Figure 0006677040
The expression (10) of the exponential distribution can be approximated from the following expression (11) as in the following expressions (12) and (13).
Figure 0006677040

式(12)、(13)についてk=1,・・・,Kで平均を取とると、以下の式(14)、(15)のように表せる。   By averaging the equations (12) and (13) with k = 1,..., K, they can be expressed as the following equations (14) and (15).

Figure 0006677040
Figure 0006677040

ここで、
K:計算済みの共通ノード数の最大値
N:推定対象の軌跡データの組み合わせの総数
:計算済みの共通ノード数がk以上のペア数
N~:共通ノード数がk以上の組の数の推定値
here,
K: the maximum value of the calculated number of common nodes N: the total number of combinations of the trajectory data to be estimated N k : the number of pairs where the calculated number of common nodes is k or more N ~ k : the number of pairs where the number of common nodes is k or more Number estimates

計算済みの共通ノード数の最大値Kは、ノード数の多い軌跡データから順に共通ノード数の分布を求めることで、定めることができる。推定対象の軌跡データの組み合わせの総数Nは、軌跡データの数が定まる。第3方式でも、第1方式と同様に、ノード数の多い軌跡データから順に共通ノード数の分布を求めた際に、計算済みの共通ノード数がk以上のペア数Nを用いて、式(15)からλの値を求める。そして、第3方式でも、求めたλの値を用いて式(14)から共通部分のノード数kの場合の推定値N~を求める。 The calculated maximum value K of the number of common nodes can be determined by obtaining the distribution of the number of common nodes in order from the locus data having the largest number of nodes. The total number N of combinations of trajectory data to be estimated determines the number of trajectory data. In the third method, as in the first method, when the distribution of the number of common nodes is obtained in order from the locus data having the largest number of nodes, the calculated number of pairs of the common nodes is equal to or more than k using the number of pairs Nk. The value of λ is obtained from (15). Then, also in the third method, the estimated values N to k in the case of the number k of nodes of the common part are obtained from the equation (14) using the obtained value of λ.

第3方式は、第1方式と同様に、分布の下限を推定している。また、第3方式は、第1方式と同様に、計算済みの分布で確定部分と未確定部分の値を用いることが精度を向上させている。   The third method estimates the lower limit of the distribution, as in the first method. In the third method, as in the first method, the accuracy is improved by using the values of the determined portion and the undetermined portion in the calculated distribution.

幾何分布と指数分布の主な違いは、幾何分布が離散型の分布に対し、指数分布が連続型の分布である。本実施例の共通部分の長さは、離散型の分布を取るものであるため、幾何分布で近似するのが望ましい。しかし、上述の式(11)のような近似法を用いることで、同様の計算結果を得ることができる。   The main difference between the geometric distribution and the exponential distribution is that the exponential distribution is a continuous type distribution in contrast to the discrete type distribution. Since the length of the common portion in this embodiment has a discrete type distribution, it is desirable to approximate the length with a geometric distribution. However, a similar calculation result can be obtained by using an approximation method such as the above equation (11).

また、上記の実施例では、特定のノード数として、軌跡の最大のノード数を用いる場合を例に説明したが、開示の装置はこれに限定されない。例えば、軌跡データのペアの目標数が40と指定されている場合に、例えば、6個の軌跡データを組み合わせてもペア数が15であるため、十分なペア数が得られない。そこで、ノード数の多い順に複数の軌跡データを組み合わせした組み合わせ数が、受け付けた目標値以上となるノード数を特定のノード数として最初に設定してもよい。例えば、6個の軌跡データを組み合わせは、45となる。このため、軌跡データのペアの目標数が40と指定されている場合に、特定のノード数に10を設定してもよい。   Further, in the above embodiment, the case where the maximum number of nodes of the trajectory is used as the specific number of nodes has been described as an example, but the disclosed device is not limited to this. For example, when the target number of pairs of trajectory data is designated as 40, for example, even if six trajectory data are combined, the number of pairs is 15, so that a sufficient number of pairs cannot be obtained. Therefore, the number of nodes in which the number of combinations obtained by combining a plurality of trajectory data in the descending order of the number of nodes may be greater than or equal to the received target value may be initially set as the specific number of nodes. For example, the combination of six locus data is 45. Therefore, when the target number of trajectory data pairs is specified as 40, the specific number of nodes may be set to 10.

また、上記の実施例では、第2方式においても目標数Nに最も近い共通ノード数が決定しても、ノード数を順に減らして当該ノード数以上のノード数の軌跡データの取得を繰り返す場合を例に説明したが、開示の装置はこれに限定されない。例えば、第2方式では、目標数Nに最も近い共通ノード数が決定すると、取得部43は、目標数Nに最も近い共通ノード数以上のノード数の軌跡データをまとめて取得してもよい。 In the above embodiment, even in the second method, even if the number of common nodes closest to the target number N 0 is determined, the number of nodes is sequentially reduced and the acquisition of the locus data of the number of nodes equal to or more than the number of nodes is repeated. Has been described as an example, but the disclosed device is not limited to this. For example, in the second method, when the number of common nodes closest to the target number N 0 is determined, the acquiring unit 43 may collectively acquire the locus data of the number of nodes equal to or more than the number of common nodes closest to the target number N 0. Good.

また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的状態は図示のものに限られず、その全部又は一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。例えば、格納部40、正規化部41、受付部42、取得部43、算出部44、生成部45、決定部46及び出力部47の各処理部が適宜統合されてもよい。さらに、各処理部にて行なわれる各処理機能は、その全部又は任意の一部が、CPU及び該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。   Each component of each device illustrated is a functional concept, and does not necessarily need to be physically configured as illustrated. In other words, the specific state of the distribution / integration of each device is not limited to the one shown in the figure, and all or a part thereof may be functionally or physically distributed / arbitrarily divided into arbitrary units according to various loads and usage conditions. Can be integrated and configured. For example, the processing units of the storage unit 40, the normalization unit 41, the reception unit 42, the acquisition unit 43, the calculation unit 44, the generation unit 45, the determination unit 46, and the output unit 47 may be appropriately integrated. Further, all or any part of each processing function performed by each processing unit may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware by wired logic. .

[軌跡データ処理プログラム]
また、上記の実施例で説明した各種の処理は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータシステムで実行することによって実現することもできる。そこで、以下では、上記の実施例と同様の機能を有するプログラムを実行するコンピュータシステムの一例を説明する。図21は、軌跡データ処理プログラムを実行するコンピュータの一例を示す図である。
[Track data processing program]
The various processes described in the above embodiments can also be realized by executing a prepared program on a computer system such as a personal computer or a workstation. Therefore, an example of a computer system that executes a program having the same function as the above embodiment will be described below. FIG. 21 is a diagram illustrating an example of a computer that executes a trajectory data processing program.

図21に示すように、コンピュータ300は、CPU(Central Processing Unit)310、HDD(Hard Disk Drive)320、RAM(Random Access Memory)340を有する。これら300〜340の各部は、バス400を介して接続される。   As shown in FIG. 21, the computer 300 includes a CPU (Central Processing Unit) 310, a HDD (Hard Disk Drive) 320, and a RAM (Random Access Memory) 340. These units 300 to 340 are connected via a bus 400.

HDD320には上記の格納部40、正規化部41、受付部42、取得部43、算出部44、生成部45、決定部46及び出力部47と同様の機能を発揮する軌跡データ処理プログラム320Aが予め記憶される。なお、軌跡データ処理プログラム320Aについては、適宜分離してもよい。   In the HDD 320, a trajectory data processing program 320A that performs the same functions as the above-described storage unit 40, normalization unit 41, reception unit 42, acquisition unit 43, calculation unit 44, generation unit 45, determination unit 46, and output unit 47 is provided. It is stored in advance. The trajectory data processing program 320A may be appropriately separated.

また、HDD320は、各種情報を記憶する。例えば、HDD320は、OSや各種の処理に用いる各種データを記憶する。   The HDD 320 stores various information. For example, the HDD 320 stores an OS and various data used for various processes.

そして、CPU310が、軌跡データ処理プログラム320AをHDD320から読み出して実行することで、実施例の各処理部と同様の動作を実行する。すなわち、軌跡データ処理プログラム320Aは、格納部40、正規化部41、受付部42、取得部43、算出部44、生成部45、決定部46及び出力部47と同様の動作を実行する。   Then, the CPU 310 reads out the locus data processing program 320A from the HDD 320 and executes the locus data processing program 320A, thereby performing the same operation as each processing unit of the embodiment. That is, the trajectory data processing program 320A performs the same operations as the storage unit 40, the normalization unit 41, the reception unit 42, the acquisition unit 43, the calculation unit 44, the generation unit 45, the determination unit 46, and the output unit 47.

なお、上記した軌跡データ処理プログラム320Aは、必ずしも最初からHDD320に記憶させることを要しない。   Note that the above-described trajectory data processing program 320A does not necessarily need to be stored in the HDD 320 from the beginning.

また、例えば、軌跡データ処理プログラム320Aは、コンピュータ300に挿入されるCD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」にプログラムを記憶させてもよい。そして、コンピュータ300がこれらからプログラムを読み出して実行するようにしてもよい。   Further, for example, the trajectory data processing program 320A may store the program in a “portable physical medium” such as a CD-ROM, a DVD disk, a magneto-optical disk, or an IC card inserted into the computer 300. Then, the computer 300 may read out the program from these and execute it.

さらには、公衆回線、インターネット、LAN、WANなどを介してコンピュータ300に接続される「他のコンピュータ(又はサーバ)」などにプログラムを記憶させておく。そして、コンピュータ300がこれらからプログラムを読み出して実行するようにしてもよい。   Further, the program is stored in “another computer (or server)” connected to the computer 300 via a public line, the Internet, a LAN, a WAN, or the like. Then, the computer 300 may read out the program from these and execute it.

10 システム
11 軌跡データ処理装置
12 軌跡記録装置
21 入力部
22 表示部
23 記憶部
24 制御部
30 移動軌跡データ
31 ノード情報
32 リンク情報
33 正規化軌跡データ
35 分析結果情報
40 格納部
41 正規化部
42 受付部
43 取得部
44 算出部
45 生成部
46 決定部
47 出力部
Reference Signs List 10 system 11 trajectory data processing device 12 trajectory recording device 21 input unit 22 display unit 23 storage unit 24 control unit 30 movement trajectory data 31 node information 32 link information 33 normalized trajectory data 35 analysis result information 40 storage unit 41 normalization unit 42 Reception unit 43 Acquisition unit 44 Calculation unit 45 Generation unit 46 Determination unit 47 Output unit

Claims (6)

複数の軌跡データのペア数の指定を受け付け、
相互に異なる識別情報に対応付けられた複数のノードのうちの何れかのノードにそれぞれが対応付けられた複数の位置情報を含む複数の軌跡データを記憶する記憶部を参照して、特定のノード数以上のノード数の軌跡データを取得し、
取得した前記軌跡データのペアごとに、各ペアに含まれる軌跡データ間で識別情報が共通である共通ノード数を算出し、
算出した前記共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成し、
生成した前記分布情報から、前記記憶部に記憶された前記複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定し、推定されたペア数が、受け付けた前記ペア数に最も近い共通ノード数を他のノード数と決定し、
共通ノード数が、決定した前記他のノード以上の軌跡データのペアを出力する
処理をコンピュータが実行することを特徴とする軌跡データ処理方法。
Accepts the number of pairs of multiple trajectory data,
A specific node is referred to by referring to a storage unit that stores a plurality of trajectory data including a plurality of pieces of position information respectively associated with any one of a plurality of nodes associated with mutually different identification information. Get track data with more than the number of nodes,
For each pair of the acquired trajectory data, calculate the number of common nodes in which the identification information is common between the trajectory data included in each pair,
Based on the calculated number of common nodes, generating distribution information of the number of pairs for each number of common nodes,
From the generated distribution information , the plurality of trajectory data stored in the storage unit is an estimation target, and for each common node, the number of pairs of trajectory data that is equal to or greater than the number of common nodes is estimated, and the estimated pair The number determines the number of common nodes closest to the received number of pairs as the number of other nodes ,
A trajectory data processing method, wherein a computer executes a process of outputting a pair of trajectory data whose number of common nodes is equal to or greater than the determined other node .
前記決定する処理は、前記分布情報の共通ノード数ごとのペア数と、前記記憶部に記憶された前記複数の軌跡データを組み合わせたペアの総数から、幾何分布又は指数分布を用いて共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定し、推定されたペア数が、受け付けた前記ペア数に最も近い共通ノード数を他のノード数と決定し、
前記取得する処理は、前記特定のノード数から、決定した前記他のノード数となるまでノード数を順に減らして当該ノード数以上のノード数の軌跡データの取得を繰り返す
ことを特徴とする請求項1に記載の軌跡データ処理方法。
The determining is performed by using a geometric distribution or an exponential distribution from the number of pairs for each common node number of the distribution information and the total number of pairs obtained by combining the plurality of trajectory data stored in the storage unit. For each, the number of pairs of trajectory data that is equal to or greater than the number of common nodes is estimated, and the estimated number of pairs determines the number of common nodes closest to the received number of pairs as the number of other nodes,
The acquisition process repeats acquisition of trajectory data of the number of nodes equal to or greater than the number of nodes by sequentially decreasing the number of nodes from the specific number of nodes until reaching the determined other number of nodes. 2. The trajectory data processing method according to 1.
前記決定する処理は、前記分布情報の最大の共通ノード数から、幾何分布を用いて共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定し、推定されたペア数が、受け付けた前記ペア数に最も近い共通ノード数を他のノード数と決定し、
前記取得する処理は、決定した前記他のノード数以上のノード数の軌跡データを取得する
ことを特徴とする請求項1に記載の軌跡データ処理方法。
The process of determining, from the maximum number of common nodes of the distribution information, for each common node number using a geometric distribution, estimate the number of pairs of trajectory data is equal to or more than the number of common nodes, the estimated number of pairs, Determine the number of common nodes closest to the received number of pairs as the number of other nodes,
The trajectory data processing method according to claim 1, wherein the acquiring process acquires trajectory data of a number of nodes equal to or greater than the determined number of other nodes.
前記記憶部に記憶された前記複数の軌跡データの最大のノード数、又は、ノード数の多い順に前記複数の軌跡データを組み合わせした組み合わせ数が、受け付けた前記ペア数以上となるノード数に、前記特定のノード数を設定する
処理をさらにコンピュータが実行することを特徴とする請求項1又は2に記載の軌跡データ処理方法。
The maximum number of nodes of the plurality of trajectory data stored in the storage unit, or the number of combinations obtained by combining the plurality of trajectory data in descending order of the number of nodes, to the number of nodes that is equal to or greater than the received number of pairs, 3. The trajectory data processing method according to claim 1, wherein a computer further executes a process of setting a specific number of nodes.
複数の軌跡データのペア数の指定を受け付け、
相互に異なる識別情報に対応付けられた複数のノードのうちの何れかのノードにそれぞれが対応付けられた複数の位置情報を含む複数の軌跡データを記憶する記憶部を参照して、特定のノード数以上のノード数の軌跡データを取得し、
取得した前記軌跡データのペアごとに、各ペアに含まれる軌跡データ間で識別情報が共通である共通ノード数を算出し、
算出した前記共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成し、
生成した前記分布情報から、前記記憶部に記憶された前記複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定し、推定されたペア数が、受け付けた前記ペア数に最も近い共通ノード数を他のノード数と決定し、
共通ノード数が、決定した前記他のノード以上の軌跡データのペアを出力する
処理をコンピュータに実行させることを特徴とする軌跡データ処理プログラム。
Accepts the number of pairs of multiple trajectory data,
A specific node is referred to by referring to a storage unit that stores a plurality of trajectory data including a plurality of pieces of position information respectively associated with any one of a plurality of nodes associated with mutually different identification information. Get track data with more than the number of nodes,
For each pair of the acquired trajectory data, calculate the number of common nodes in which the identification information is common between the trajectory data included in each pair,
Based on the calculated number of common nodes, generating distribution information of the number of pairs for each number of common nodes,
From the generated distribution information , the plurality of trajectory data stored in the storage unit is an estimation target, and for each common node, the number of pairs of trajectory data that is equal to or greater than the number of common nodes is estimated, and the estimated pair The number determines the number of common nodes closest to the received number of pairs as the number of other nodes ,
A trajectory data processing program for causing a computer to execute a process of outputting a pair of trajectory data whose number of common nodes is equal to or greater than the determined other node .
複数の軌跡データのペア数の指定を受け付ける受付部と、
相互に異なる識別情報に対応付けられた複数のノードのうちの何れかのノードにそれぞれが対応付けられた複数の位置情報を含む複数の軌跡データを記憶する記憶部を参照して、特定のノード数以上のノード数の軌跡データを取得する取得部と、
前記取得部により取得した前記軌跡データのペアごとに、各ペアに含まれる軌跡データ間で識別情報が共通である共通ノード数を算出する算出部と、
前記算出部により算出した前記共通ノード数に基づき、共通ノード数ごとのペア数の分布情報を生成する生成部と、
前記生成部により生成した前記分布情報から、前記記憶部に記憶された前記複数の軌跡データを推定の対象として、共通ノード数ごとに、共通ノード数以上となる軌跡データのペア数を推定し、推定されたペア数が、受け付けた前記ペア数に最も近い共通ノード数を他のノード数と決定する決定部と、
共通ノード数が、前記決定部により決定した前記他のノード数以上の軌跡データのペアを出力する出力部と、
を有することを特徴とする軌跡データ処理装置。
A receiving unit that receives designation of the number of pairs of a plurality of track data;
A specific node is referred to by referring to a storage unit that stores a plurality of trajectory data including a plurality of pieces of position information respectively associated with any one of a plurality of nodes associated with mutually different identification information. An acquisition unit that acquires trajectory data of the number of nodes equal to or more than the number of nodes,
For each pair of the trajectory data acquired by the acquisition unit, a calculation unit that calculates the number of common nodes in which identification information is common between the trajectory data included in each pair,
Based on the number of common nodes calculated by the calculating unit, a generating unit that generates distribution information of the number of pairs for each number of common nodes,
From the distribution information generated by the generation unit, as the target of the plurality of trajectory data stored in the storage unit, for each common node number, estimate the number of pairs of trajectory data that is equal to or more than the number of common nodes, Estimated number of pairs, a determination unit that determines the number of common nodes closest to the received number of pairs as the number of other nodes ,
An output unit that outputs a pair of trajectory data that is equal to or greater than the number of common nodes, the number of other nodes determined by the determination unit,
A trajectory data processing device comprising:
JP2016060825A 2016-03-24 2016-03-24 Trajectory data processing method, trajectory data processing program and trajectory data processing device Active JP6677040B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016060825A JP6677040B2 (en) 2016-03-24 2016-03-24 Trajectory data processing method, trajectory data processing program and trajectory data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016060825A JP6677040B2 (en) 2016-03-24 2016-03-24 Trajectory data processing method, trajectory data processing program and trajectory data processing device

Publications (2)

Publication Number Publication Date
JP2017174230A JP2017174230A (en) 2017-09-28
JP6677040B2 true JP6677040B2 (en) 2020-04-08

Family

ID=59971300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016060825A Active JP6677040B2 (en) 2016-03-24 2016-03-24 Trajectory data processing method, trajectory data processing program and trajectory data processing device

Country Status (1)

Country Link
JP (1) JP6677040B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7082542B2 (en) * 2018-07-24 2022-06-08 株式会社豊田中央研究所 Trajectory search device and trajectory search program
CN109540147B (en) * 2018-12-03 2021-04-02 拉扎斯网络科技(上海)有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN110909418A (en) * 2019-11-14 2020-03-24 北京润科通用技术有限公司 Flight simulation data processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4495620B2 (en) * 2004-03-05 2010-07-07 パナソニック株式会社 Destination prediction apparatus and destination prediction method
JP6207405B2 (en) * 2014-01-10 2017-10-04 三菱電機株式会社 Data processing device

Also Published As

Publication number Publication date
JP2017174230A (en) 2017-09-28

Similar Documents

Publication Publication Date Title
TWI619036B (en) Traffic time forecasting system, traffic time forecasting method and traffic model establish method
JP6162781B2 (en) Method and apparatus for determining the location of a new point of interest
US9582819B2 (en) Automated-valuation-model training-data optimization systems and methods
JP6677040B2 (en) Trajectory data processing method, trajectory data processing program and trajectory data processing device
US20240089896A1 (en) Fingerprint data pre-process method for improving localization model
JP5971828B1 (en) Real number estimation method for OD traffic, real number estimation device for OD traffic, real number estimation program for OD traffic, and information recording medium
US10082787B2 (en) Estimation of abnormal sensors
US9787557B2 (en) Determining semantic place names from location reports
US20190187296A1 (en) Method and system for processing trajectory data
JP2015161557A5 (en)
EP3220316A1 (en) Automatic optimization procedure termination using a smoothing-based technique
KR20180089417A (en) Stochastic map recognition stereoscopic vision sensor model
US10248462B2 (en) Management server which constructs a request load model for an object system, load estimation method thereof and storage medium for storing program
US9684747B2 (en) Parameter modeling for semiconductor arrangements
KR20180005153A (en) Marking of business district information of a merchant
US11120386B2 (en) Computer-readable recording medium, simulation method, and simulation apparatus
US9087298B2 (en) Inference of anomalous behavior of members of cohorts and associate actors related to the anomalous behavior based on divergent movement from the cohort context centroid
CN112200711B (en) Training method and system of watermark classification model
JP6985333B2 (en) Information processing equipment, information processing methods and information processing programs
US11068716B2 (en) Information processing method and information processing system
JPWO2016017171A1 (en) Flow rate prediction apparatus, mixture ratio estimation apparatus, method, and computer-readable recording medium
JP2016166800A (en) Position state estimation device and method
JP2019211984A (en) Learning apparatus, prediction apparatus, method, and program
KR102570399B1 (en) Method and apparatus for recommending places
US10645546B2 (en) Information processing apparatus and method for determining service

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191016

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191023

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200225

R150 Certificate of patent or registration of utility model

Ref document number: 6677040

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150