HK1237407B - Method and device for matching track points acquired by positioning system into map - Google Patents

Method and device for matching track points acquired by positioning system into map Download PDF

Info

Publication number
HK1237407B
HK1237407B HK17111187.1A HK17111187A HK1237407B HK 1237407 B HK1237407 B HK 1237407B HK 17111187 A HK17111187 A HK 17111187A HK 1237407 B HK1237407 B HK 1237407B
Authority
HK
Hong Kong
Prior art keywords
point
trajectory
probability
candidate location
matching
Prior art date
Application number
HK17111187.1A
Other languages
Chinese (zh)
Other versions
HK1237407A1 (en
HK1237407A (en
Inventor
韩璐懿
Original Assignee
北京京东振世信息技术有限公司
Filing date
Publication date
Application filed by 北京京东振世信息技术有限公司 filed Critical 北京京东振世信息技术有限公司
Publication of HK1237407A1 publication Critical patent/HK1237407A1/en
Publication of HK1237407A publication Critical patent/HK1237407A/en
Publication of HK1237407B publication Critical patent/HK1237407B/en

Links

Description

将定位系统采集到的轨迹点匹配到地图的方法及其装置Method and device for matching trajectory points collected by positioning system to map

技术领域Technical Field

本发明涉及定位导航领域,具体涉及将定位系统采集到的轨迹点匹配到地图的方法及其装置。The present invention relates to the field of positioning and navigation, and in particular to a method and device for matching trajectory points collected by a positioning system to a map.

背景技术Background Art

如今在汽车中广泛安装了导航仪。然而,受车载导航仪自身精度和周边环境的影响,通过定位系统(例如全球定位系统(GPS)或北斗定位系统)直接得到的GNSS定位结果往往不在车辆实际行驶的道路(例如车载的电子地图上的道路)上,需要依靠地图匹配技术实时地或者通过后处理的方式将获取到的轨迹点归算到路径上,以实现实时导航和历史轨迹回放。Navigation systems are now widely installed in cars. However, due to the accuracy of the car navigation system itself and the surrounding environment, the GNSS positioning results directly obtained by positioning systems (such as the Global Positioning System (GPS) or the Beidou Positioning System) are often not on the actual road the vehicle is traveling (such as the road shown on the vehicle's electronic map). Therefore, map matching technology is needed to convert the acquired track points into a path in real time or through post-processing to achieve real-time navigation and historical track playback.

现有的地图匹配技术包括增量计算技术或全局计算技术。增量计算技术大多采用最新获取的GNSS轨迹点的所有候选位置点与上一轨迹点之间的关系来选择获得最大概率的候选位置点,以作为匹配结果,然后将利用所获得的匹配结果与下一轨迹点的所有候选位置点之间的关系来进行下一轨迹点的匹配结果的选择,并重复该过程。全局计算技术将从定位系统获得的轨迹上上的所有轨迹点的所有候选位置点进行组合,计算每种组合的发生概率,并选择概率最大的候选位置点组合作为整个轨迹的地图匹配结果。Existing map matching technologies include incremental calculation techniques or global calculation techniques. Incremental calculation techniques often use the relationship between all candidate locations of the most recently acquired GNSS trajectory point and the previous trajectory point to select the candidate location point with the highest probability as the matching result. The matching result is then selected based on the relationship between the obtained matching result and all candidate locations of the next trajectory point, and the process is repeated. Global calculation techniques combine all candidate locations of all trajectory points on the trajectory obtained from the positioning system, calculate the probability of each combination, and select the candidate location point combination with the highest probability as the map matching result for the entire trajectory.

上述的增量计算方法的计算机较小,计算速度快,但因为只考虑当前点与下一点之间的关系,匹配正确率较低,且匹配错误容易传递到后续轨迹点的匹配中,导致更大的匹配错误。而全局计算方法由于考虑到所有可能的候选位置点组合,匹配正确率较高,但计算机大,计算速度慢。The incremental calculation method mentioned above requires a smaller computer and is faster, but because it only considers the relationship between the current point and the next point, the matching accuracy is low. Matching errors are also easily propagated to subsequent trajectory points, resulting in even greater matching errors. The global calculation method, on the other hand, considers all possible candidate position combinations, resulting in a higher matching accuracy, but requires a larger computer and is slower.

因此,需要一种地图匹配技术,能够在保持较低计算量的情况下显著提升地图匹配的准确度。Therefore, a map matching technology is needed that can significantly improve the accuracy of map matching while maintaining a low computational complexity.

发明内容Summary of the Invention

为了解决上述问题中的至少一些,本发明实施例提供了一种将定位系统采集到的轨迹点匹配到地图的方法及其装置,以实现计算量和准确性的提升。In order to solve at least some of the above problems, embodiments of the present invention provide a method and apparatus for matching trajectory points collected by a positioning system to a map, so as to achieve improvements in computational complexity and accuracy.

根据本发明实施例的一个方案,提供了一种将定位系统采集到的轨迹点匹配到地图的方法,包括:According to one solution of an embodiment of the present invention, a method for matching trajectory points collected by a positioning system to a map is provided, comprising:

获取第一轨迹点在所述地图上的一个或多个第一候选位置点;Obtain one or more first candidate location points of the first trajectory point on the map;

获取第二轨迹点在所述地图上的一个或多个第二候选位置点,其中,所述第二轨迹点是轨迹上在所述第一轨迹点之后的轨迹点;Obtain one or more second candidate location points of a second trajectory point on the map, wherein the second trajectory point is a trajectory point after the first trajectory point on the trajectory;

计算每个第一候选位置点与每个第二候选位置点的第一发生概率;Calculating a first occurrence probability of each first candidate location point and each second candidate location point;

针对每个第一候选位置点,选择与其具有最大第一发生概率的第二候选位置点来作为所述第二轨迹点的对应于每个第一候选位置点的临时匹配点;For each first candidate position point, selecting a second candidate position point having a maximum first occurrence probability therewith as a temporary matching point of the second trajectory point corresponding to each first candidate position point;

计算当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的临时匹配点的第二发生概率,其中,所述当前匹配位置点是在轨迹上位于所述第一轨迹点之前的轨迹点在地图上的匹配位置点;以及Calculating a second occurrence probability of a temporary matching point corresponding to each first candidate position point for a current matching position point, each first candidate position point, and the second trajectory point, wherein the current matching position point is a matching position point on the map of a trajectory point that precedes the first trajectory point on the trajectory; and

选择具有最大第二发生概率的第一候选位置作为新的当前匹配位置点。The first candidate position with the largest second occurrence probability is selected as the new current matching position point.

根据本发明实施例的另一方案,提供了将定位系统采集到的轨迹点匹配到地图的装置,包括:According to another embodiment of the present invention, there is provided an apparatus for matching trajectory points collected by a positioning system to a map, comprising:

候选位置点获取器,用于获取第一轨迹点在所述地图上的一个或多个第一候选位置点,以及获取第二轨迹点在所述地图上的一个或多个第二候选位置点,其中,所述第二轨迹点是轨迹上在所述第一轨迹点之后的轨迹点;a candidate location point acquirer, configured to acquire one or more first candidate location points of the first trajectory point on the map, and to acquire one or more second candidate location points of the second trajectory point on the map, wherein the second trajectory point is a trajectory point subsequent to the first trajectory point on the trajectory;

发生概率计算器,用于计算每个第一候选位置点与每个第二候选位置点的第一发生概率;以及an occurrence probability calculator, configured to calculate a first occurrence probability of each first candidate location point and each second candidate location point; and

匹配点确定器,用于针对每个第一候选位置点,选择与其具有最大第一发生概率的第二候选位置点来作为所述第二轨迹点的对应于每个第一候选位置点的临时匹配点;a matching point determiner, configured to select, for each first candidate position point, a second candidate position point having a maximum first occurrence probability therewith as a temporary matching point of the second trajectory point corresponding to each first candidate position point;

其中,所述发生概率计算器还用于计算当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的临时匹配点的第二发生概率,其中,所述当前匹配位置点是在轨迹上位于所述第一轨迹点之前的轨迹点在地图上的匹配位置点;以及wherein the occurrence probability calculator is further used to calculate a second occurrence probability of a temporary matching point corresponding to each first candidate position point of a current matching position point, each first candidate position point, and the second trajectory point, wherein the current matching position point is a matching position point on the map of a trajectory point that is located before the first trajectory point on the trajectory; and

其中,所述匹配点确定器还用于选择具有最大第二发生概率的第一候选位置作为新的当前匹配位置点。The matching point determiner is further configured to select a first candidate position with a maximum second occurrence probability as a new current matching position point.

根据本发明实施例的另一方案,提供了一种将定位系统采集到的轨迹点匹配到地图的装置,包括:According to another embodiment of the present invention, there is provided an apparatus for matching trajectory points collected by a positioning system to a map, comprising:

存储器,用于存储可执行指令;以及a memory for storing executable instructions; and

处理器,用于执行存储器中存储的可执行指令,以执行根据上述方法。The processor is configured to execute the executable instructions stored in the memory to perform the above method.

根据本发明实施例的另一方案,提供了一种其上承载由计算机程序的存储器设备,当由处理器执行所述计算机程序时,所述计算机程序使所述处理器执行上述方法。According to another embodiment of the present invention, there is provided a memory device carrying a computer program thereon, and when the computer program is executed by a processor, the computer program causes the processor to perform the above method.

上述方案可通过考虑所需匹配的轨迹点的下一轨迹点的匹配概率,在不显著增加计算复杂度的情况下,有效增加地图匹配的精确度。The above solution can effectively increase the accuracy of map matching without significantly increasing the computational complexity by considering the matching probability of the next trajectory point of the required matching trajectory point.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

通过下面结合附图对发明进行的详细描述,将使本发明的上述特征和优点更加明显,其中:The above features and advantages of the present invention will become more apparent from the following detailed description of the invention in conjunction with the accompanying drawings, in which:

图1示出了根据本发明实施例的方法和装置的典型应用场景的简要示意图;FIG1 is a schematic diagram showing a typical application scenario of the method and apparatus according to an embodiment of the present invention;

图2示出了根据本发明实施例的匹配方法的简要流程图;FIG2 shows a brief flowchart of a matching method according to an embodiment of the present invention;

图3示出了根据本发明实施例的匹配装置的简要框图;FIG3 shows a simplified block diagram of a matching device according to an embodiment of the present invention;

图4示出了在根据本发明实施例的方法和装置中使用的转移概率的原理示意图;以及FIG4 is a schematic diagram showing the principle of transition probability used in the method and apparatus according to an embodiment of the present invention; and

图5示出了根据本发明实施例的图3所示匹配装置的示例硬件布置的简要框图。FIG5 is a simplified block diagram showing an exemplary hardware arrangement of the matching device shown in FIG3 according to an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

下面,参考附图详细说明本发明的优选实施方式。在附图中,虽然示于不同的附图中,但相同的附图标记用于表示相同的或相似的组件。为了清楚和简明,包含在这里的已知的功能和结构的详细描述将被省略,以避免使本发明的主题不清楚。Below, preferred embodiments of the present invention are described in detail with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals are used to represent the same or similar components, although they are shown in different figures. For the sake of clarity and conciseness, detailed descriptions of known functions and structures contained herein will be omitted to avoid obscuring the subject matter of the present invention.

在地图匹配技术中存在一些特殊点,例如Y字型路口。在这些特殊点处,采用例如增量匹配技术容易将轨迹点错误地匹配到错误的路线上。图1示出了根据本发明实施例的方法和装置的一个具体应用场景的示意图。如图1所示,假设轨迹点P1已被成功匹配,其匹配点为轨迹点P2存在两个候选位置点和轨迹点P3具有三个候选位置点和在使用现有增量地图匹配技术的情况下,容易造成因轨迹点P2距离道路R3较近而将候选位置点选择为轨迹点P2的地图匹配结果的情况下,但根据轨迹点P1、P2和P3的整体轨迹,显然候选位置点才是轨迹点P2的匹配位置点。There are some special points in map matching technology, such as Y-shaped intersections. At these special points, it is easy to mistakenly match trajectory points to the wrong route using, for example, incremental matching technology. Figure 1 shows a schematic diagram of a specific application scenario of the method and apparatus according to an embodiment of the present invention. As shown in Figure 1, assuming that trajectory point P1 has been successfully matched, its matching point is that there are two candidate position points for trajectory point P2 and there are three candidate position points for trajectory point P3 , and when using the existing incremental map matching technology, it is easy to cause the candidate position point to be selected as the map matching result of trajectory point P2 because trajectory point P2 is close to road R3 . However, according to the overall trajectory of trajectory points P1 , P2 and P3 , it is obvious that the candidate position point is the matching position point of trajectory point P2 .

为了准确确定轨迹点(例如轨迹点P2)在地图上的匹配位置,本发明不仅考虑到了要确定匹配位置的轨迹点,还考虑到该轨迹点在轨迹上的下一个点(例如,轨迹点P3)。为此,本发明实施例提供了图2和图3所示的方法和装置。To accurately determine the matching position of a trajectory point (e.g., trajectory point P 2 ) on a map, the present invention not only considers the trajectory point to be matched, but also considers the next point on the trajectory of the trajectory point (e.g., trajectory point P 3 ). To this end, embodiments of the present invention provide the method and apparatus shown in Figures 2 and 3 .

图2示出了根据本发明实施例的将定位系统采集到的轨迹点匹配到地图的方法。该方法包括:FIG2 shows a method for matching track points collected by a positioning system to a map according to an embodiment of the present invention. The method includes:

步骤S210,获取第一轨迹点在所述地图上的一个或多个第一候选位置点;Step S210, obtaining one or more first candidate location points of the first trajectory point on the map;

步骤S220,获取第二轨迹点在所述地图上的一个或多个第二候选位置点,其中,所述第二轨迹点是轨迹上在所述第一轨迹点之后的轨迹点;Step S220, obtaining one or more second candidate location points of a second trajectory point on the map, wherein the second trajectory point is a trajectory point after the first trajectory point on the trajectory;

步骤S230,计算每个第一候选位置点与每个第二候选位置点的第一发生概率;Step S230, calculating a first occurrence probability of each first candidate location point and each second candidate location point;

步骤S240,针对每个第一候选位置点,选择与其具有最大第一发生概率的第二候选位置点来作为所述第二轨迹点的对应于每个第一候选位置点的临时匹配点;Step S240: for each first candidate position point, selecting a second candidate position point having the greatest first occurrence probability therewith as a temporary matching point of the second trajectory point corresponding to each first candidate position point;

步骤S250,计算当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的临时匹配点的第二发生概率,其中,所述当前匹配位置点是在轨迹上位于所述第一轨迹点之前的轨迹点在地图上的匹配位置点;以及Step S250, calculating a second occurrence probability of a temporary matching point corresponding to each first candidate position point of the current matching position point, each first candidate position point, and the second trajectory point, wherein the current matching position point is a matching position point on the map of a trajectory point that is located before the first trajectory point on the trajectory; and

步骤S260,选择具有最大第二发生概率的第一候选位置作为新的当前匹配位置点。Step S260: Select the first candidate position with the largest second occurrence probability as the new current matching position point.

在一些实施例中,上述获取候选位置点的方法可以包括:以所述第一轨迹点为中心,以预定搜索距离为半径,搜索所述地图上的各条道路上与所述第一轨迹点之间直线距离最短的位置点,并将其作为所述第一轨迹点在所述地图上的一个或多个第一候选位置点,以及以所述第二轨迹点为中心,以预定搜索距离为半径,搜索所述地图上的各条道路上与所述第二轨迹点之间直线距离最短的位置点,并将其作为所述第二轨迹点在所述地图上的一个或多个第二候选位置点。In some embodiments, the above-mentioned method for obtaining candidate location points may include: taking the first trajectory point as the center and a predetermined search distance as a radius, searching for the location point on each road on the map with the shortest straight-line distance to the first trajectory point, and using it as one or more first candidate location points for the first trajectory point on the map; and taking the second trajectory point as the center and a predetermined search distance as a radius, searching for the location point on each road on the map with the shortest straight-line distance to the second trajectory point, and using it as one or more second candidate location points for the second trajectory point on the map.

在一些实施例中,发生概率可以是测量概率与转移概率的函数,测量概率表示候选位置点作为其轨迹点的匹配位置点的概率,转移概率表示从当前轨迹点或匹配位置点到下一轨迹点的某个候选位置点的通行概率。然而,需要注意的是,虽然这里使用了测量概率与转移概率的函数来作为发生概率的示例,本领域技术人员也可以采用可表示两个或更多个位置点共同存在的可能性的任何参数。In some embodiments, the occurrence probability can be a function of the measurement probability and the transition probability. The measurement probability represents the probability of a candidate location point being a matching location point for its trajectory point, and the transition probability represents the probability of a candidate location point passing from the current trajectory point or the matching location point to the next trajectory point. However, it should be noted that while the function of the measurement probability and the transition probability is used as an example of the occurrence probability here, those skilled in the art may also use any parameter that can represent the likelihood of two or more location points coexisting.

在这样的实施例中,计算第一发生概率可包括:In such an embodiment, calculating the first probability of occurrence may include:

计算每个第二候选位置点的第一测量概率;Calculating a first measurement probability for each second candidate position point;

计算每个第一候选位置点与每个第二候选位置点的第一转移概率;Calculating a first transition probability between each first candidate position point and each second candidate position point;

以及as well as

将每个第一转移概率分别乘以其所涉及的第二候选位置点的第一测量概率,以得到对应的第一发生概率。Each first transition probability is multiplied by the first measurement probability of the second candidate position point involved to obtain a corresponding first occurrence probability.

该实施例中的计算第二发生概率可包括:Calculating the second occurrence probability in this embodiment may include:

计算每个第一候选位置点的第二测量概率;Calculating a second measurement probability for each first candidate position point;

计算当前匹配位置点到每个第一候选位置点的第二转移概率;以及Calculating a second transition probability from the current matching position point to each first candidate position point; and

针对每个第一候选位置点,将其对应的第二测量概率、与其对应的第二转移概率以及针对与其对应的临时匹配点的第一发生概率相乘,以得到当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的第二发生概率。For each first candidate position point, its corresponding second measurement probability, its corresponding second transition probability, and the first occurrence probability of the corresponding temporary matching point are multiplied to obtain the second occurrence probability corresponding to each first candidate position point of the current matching position point, each first candidate position point and the second trajectory point.

在一些示例中,测量概率被可表示为:In some examples, the measurement probability may be expressed as:

其中,是候选位置点的测量概率,σp是轨迹获取设备的测量标准偏差,e是自然对数函数的底数,是轨迹点Pt到候选位置点的直线距离,Where, is the measurement probability of the candidate position point, σp is the measurement standard deviation of the trajectory acquisition device, e is the base of the natural logarithm function, is the straight-line distance from the trajectory point Pt to the candidate position point,

轨迹获取设备的测量标准偏差是The standard deviation of the measurements of the trajectory acquisition device is

转移概率被表示为:The transition probability is expressed as:

其中,|Pt-Pt-1|great circle是轨迹点Pt与其前一轨迹点Pt-1的之间的直线距离,是轨迹点Pt的候选位置点与其前一轨迹点Pt-1的候选位置点之间的路径距离。Among them, |P t -P t-1 | great circle is the straight-line distance between the trajectory point P t and its previous trajectory point P t-1 , and is the path distance between the candidate position point of the trajectory point P t and the candidate position point of its previous trajectory point P t-1 .

图3示出了与图2的实施例对应的根据本发明的实施例的将定位系统采集到的轨迹点匹配到地图的装置。如图3所示,该装置包括:FIG3 shows a device for matching track points collected by a positioning system to a map according to an embodiment of the present invention, which corresponds to the embodiment of FIG2 . As shown in FIG3 , the device includes:

候选位置点获取器310,用于获取第一轨迹点在所述地图上的一个或多个第一候选位置点,以及获取第二轨迹点在所述地图上的一个或多个第二候选位置点,其中,所述第二轨迹点是轨迹上在所述第一轨迹点之后的轨迹点;a candidate location point acquirer 310, configured to acquire one or more first candidate location points of the first trajectory point on the map, and to acquire one or more second candidate location points of the second trajectory point on the map, wherein the second trajectory point is a trajectory point subsequent to the first trajectory point on the trajectory;

发生概率计算器320,用于计算每个第一候选位置点与每个第二候选位置点的第一发生概率;以及an occurrence probability calculator 320 for calculating a first occurrence probability of each first candidate location point and each second candidate location point; and

匹配点确定器330,用于针对每个第一候选位置点,选择与其具有最大第一发生概率的第二候选位置点来作为所述第二轨迹点的对应于每个第一候选位置点的临时匹配点;A matching point determiner 330 is configured to select, for each first candidate position point, a second candidate position point having a maximum first occurrence probability therewith as a temporary matching point of the second trajectory point corresponding to each first candidate position point;

其中,所述发生概率计算器320还用于计算当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的临时匹配点的第二发生概率,其中,所述当前匹配位置点是在轨迹上位于所述第一轨迹点之前的轨迹点在地图上的匹配位置点;以及The occurrence probability calculator 320 is further configured to calculate a second occurrence probability of a temporary matching point corresponding to each first candidate position point of a current matching position point, each first candidate position point, and the second trajectory point, wherein the current matching position point is a matching position point on the map of a trajectory point that precedes the first trajectory point on the trajectory; and

其中,所述匹配点确定器330还用于选择具有最大第二发生概率的第一候选位置作为新的当前匹配位置点。The matching point determiner 330 is further configured to select the first candidate position with the maximum second occurrence probability as a new current matching position point.

在一些实施例中,候选位置点获取器310还用于:以所述第一轨迹点为中心,以预定搜索距离为半径,搜索所述地图上的各条道路上与所述第一轨迹点之间直线距离最短的位置点,并将其作为所述第一轨迹点在所述地图上的一个或多个第一候选位置点,以及以所述第二轨迹点为中心,以预定搜索距离为半径,搜索所述地图上的各条道路上与所述第二轨迹点之间直线距离最短的位置点,并将其作为所述第二轨迹点在所述地图上的一个或多个第二候选位置点。In some embodiments, the candidate location point acquirer 310 is also used to: search for the location point with the shortest straight-line distance to the first trajectory point on each road on the map with the first trajectory point as the center and a predetermined search distance as the radius, and use it as one or more first candidate location points for the first trajectory point on the map; and search for the location point with the shortest straight-line distance to the second trajectory point on each road on the map with the second trajectory point as the center and a predetermined search distance as the radius, and use it as one or more second candidate location points for the second trajectory point on the map.

在一些实施例中,发生概率可以是测量概率与转移概率的函数,测量概率表示候选位置点作为其轨迹点的匹配位置点的概率,转移概率表示从当前轨迹点或匹配位置点到下一轨迹点的某个候选位置点的通行概率。当然,如上所述,本领域技术人员也可以采用可表示两个或更多个位置点共同存在的可能性的任何参数。In some embodiments, the occurrence probability can be a function of the measurement probability and the transition probability. The measurement probability represents the probability of a candidate location point being a matching location point for its trajectory point, and the transition probability represents the probability of a candidate location point passing from the current trajectory point or matching location point to the next trajectory point. Of course, as described above, those skilled in the art may also use any parameter that can represent the probability of two or more location points coexisting.

在发生概率可以是测量概率与转移概率的函数的情况下,发生概率计算器320还可用于:In the case where the occurrence probability may be a function of the measurement probability and the transition probability, the occurrence probability calculator 320 may also be used to:

计算每个第二候选位置点的第一测量概率;Calculating a first measurement probability for each second candidate position point;

计算每个第一候选位置点与每个第二候选位置点的第一转移概率;Calculating a first transition probability between each first candidate position point and each second candidate position point;

以及as well as

将每个第一转移概率分别乘以其所涉及的第二候选位置点的第一测量概率,以得到对应的第一发生概率。Each first transition probability is multiplied by the first measurement probability of the second candidate position point involved to obtain a corresponding first occurrence probability.

此外,发生概率计算器320还可用于:In addition, the occurrence probability calculator 320 may also be used to:

计算每个第一候选位置点的第二测量概率;Calculating a second measurement probability for each first candidate position point;

计算当前匹配位置点到每个第一候选位置点的第二转移概率;以及Calculating a second transition probability from the current matching position point to each first candidate position point; and

针对每个第一候选位置点,将其对应的第二测量概率、与其对应的第二转移概率以及针对与其对应的临时匹配点的第一发生概率相乘,以得到从当前匹配位置点、所述每个第一候选位置点与每个第一候选位置点的临时匹配点的第二发生概率。For each first candidate position point, its corresponding second measurement probability, its corresponding second transition probability, and the first occurrence probability of the corresponding temporary matching point are multiplied to obtain the second occurrence probability of the temporary matching point from the current matching position point, each first candidate position point, and each first candidate position point.

在一些示例中,测量概率可被表示为:In some examples, the measurement probability can be expressed as:

其中,是候选位置点的测量概率,σp是轨迹获取设备的测量标准偏差,e是自然对数函数的底数,是轨迹点Pt到候选位置点的直线距离,Where, is the measurement probability of the candidate position point, σp is the measurement standard deviation of the trajectory acquisition device, e is the base of the natural logarithm function, is the straight-line distance from the trajectory point Pt to the candidate position point,

轨迹获取设备的测量标准偏差计算方法入如下:The calculation method of the measurement standard deviation of the trajectory acquisition device is as follows:

转移概率可被表示为:The transition probability can be expressed as:

其中,|Pt-Pt-1|great circle是轨迹点Pt与其前一轨迹点Pt-1的之间的直线距离,是轨迹点Pt的候选位置点与其前一轨迹点Pt-1的候选位置点之间的路径距离。Among them, |P t -P t-1 | great circle is the straight-line distance between the trajectory point P t and its previous trajectory point P t-1 , and is the path distance between the candidate position point of the trajectory point P t and the candidate position point of its previous trajectory point P t-1 .

在上述对图2和图3所示实施例的描述中使用了“第一”、“第二”等表述。然而需要知道的是,该表述仅是为了方便区分相同类型的不同概念,除非明确指出,这些表述并不代表“第一”在时间/空间上位于“第二”之前。In the above description of the embodiments shown in Figures 2 and 3, expressions such as "first" and "second" are used. However, it should be noted that such expressions are merely for the convenience of distinguishing different concepts of the same type, and unless explicitly stated, such expressions do not imply that "first" precedes "second" in time or space.

在根据本发明的一些实施例中,测量概率可度量候选位置点距离轨迹点的距离,亦即,候选位置点距离轨迹点越近,则越有可能是该轨迹点的匹配位置点。候选点可通过预先设定一个静态或者动态的候选点搜索半径,以轨迹点为中心,在此搜索半径内基于路网搜索道路,搜索到的候选点位于道路上,且其与轨迹点之间的直线距离为最短。轨迹点与候选位置点之间的距离与测量概率之间符合高斯分布。例如可采用以下公式来计算测量概率:In some embodiments according to the present invention, the measurement probability can measure the distance between the candidate location point and the trajectory point, that is, the closer the candidate location point is to the trajectory point, the more likely it is to be the matching location point of the trajectory point. The candidate point can be searched by pre-setting a static or dynamic candidate point search radius, with the trajectory point as the center, and searching for roads based on the road network within this search radius. The searched candidate point is located on the road, and the straight-line distance between it and the trajectory point is the shortest. The distance between the trajectory point and the candidate location point and the measurement probability conform to the Gaussian distribution. For example, the following formula can be used to calculate the measurement probability:

其中,σP是GNSS设备的测量标准方差,可通过对GNSS设备的历史轨迹偏差情况进行评估而获得。在本发明的一些实施例中,可使用轨迹点与道路的实际距离的绝对中位差来计算:Where σ P is the standard deviation of the GNSS device's measurements, which can be obtained by evaluating the historical trajectory deviation of the GNSS device. In some embodiments of the present invention, the absolute median difference between the actual distance of the trajectory point and the road can be used to calculate:

如上所述,如上所述,其中,是候选位置点的测量概率,σp是轨迹获取设备的测量标准偏差,e是自然对数函数的底数,是轨迹点Pt到候选位置点的直线距离。As described above, as described above, where is the measurement probability of the candidate position point, σp is the measurement standard deviation of the trajectory acquisition device, e is the base of the natural logarithm function, and is the straight-line distance from the trajectory point Pt to the candidate position point.

转移概率表示从当前轨迹点或匹配位置点到下一轨迹点的某个候选位置点的通行概率。亦即,认为测量在通行时,总是倾向于使用两点之间最短的符合交通行驶规则的路径,可通过比较最短直线距离与最短路径之间的关系来衡量转移概率,二者越接近,转移概率越高。The transition probability represents the probability of passing from the current trajectory point or matching location point to a candidate location point for the next trajectory point. In other words, it is assumed that when measuring traffic, the shortest path between two points always tends to be the one that complies with traffic regulations. The transition probability can be measured by comparing the shortest straight-line distance with the shortest path. The closer the two are, the higher the transition probability.

图4示出了在根据本发明实施例的方法和装置中使用的转移概率的原理示意图。根据图4所示的关系,可使用如下的转移概率的计算公式:Figure 4 shows a schematic diagram of the principle of transition probability used in the method and apparatus according to an embodiment of the present invention. Based on the relationship shown in Figure 4, the following calculation formula for transition probability can be used:

如上所述,|Pt-Pt-1|great circle是轨迹点Pt与其前一轨迹点Pt-1的之间的直线距离,是轨迹点Pt的候选位置点与其前一轨迹点Pt-1的候选位置点之间的路径距离。As described above, | Pt - Pt-1 | great circle is the straight-line distance between the trajectory point Pt and its previous trajectory point Pt -1 , and is the path distance between the candidate position point of the trajectory point Pt and the candidate position point of its previous trajectory point Pt -1 .

在本发明的实施例中综合考虑了测量概率和转移概率,每一个候选位置点的发生概率可等于该候选位置点的测量概率与转移概率的乘积,即:In the embodiment of the present invention, the measurement probability and the transition probability are comprehensively considered. The occurrence probability of each candidate position point can be equal to the product of the measurement probability and the transition probability of the candidate position point, that is:

上述公式仅考虑使用一个前瞻点(即,在轨迹上位于要确定匹配位置的轨迹点之后的轨迹点),然而在其他实施例中也可以使用一个以上的轨迹点。针对该情况下的发生概率的一般性计算公式如下:The above formula only considers the use of one look-ahead point (i.e., the point on the trajectory that is after the point at which the matching position is to be determined). However, in other embodiments, more than one point can be used. The general calculation formula for the probability of occurrence in this case is as follows:

其中,n表示前瞻点的数量,可根据计算量和匹配正确率之间的折中来选择。Here, n represents the number of look-ahead points, which can be selected based on the trade-off between computational complexity and matching accuracy.

针对当前要确定匹配点的轨迹点的每一个候选位置点,除了计算机器测量概率以及相对于上一轨迹点的转移概率之外,还计算基于当前轨迹点的每个候选位置点所得到的下一轨迹点的候选位置点的匹配概率(即,发生概率),共同组成当前候选位置点的最终匹配概率,最后在所有候选位置点中选择匹配概率最大的候选位置点作为当前轨迹点的匹配位置点。For each candidate position point of the trajectory point to be matched, in addition to calculating the machine measurement probability and the transfer probability relative to the previous trajectory point, the matching probability (i.e., occurrence probability) of the candidate position point of the next trajectory point obtained based on each candidate position point of the current trajectory point is also calculated, and together they constitute the final matching probability of the current candidate position point. Finally, the candidate position point with the largest matching probability is selected from all candidate position points as the matching position point of the current trajectory point.

以图1所示的场景为例,在计算P2的两个候选位置点和的地图匹配概率时,首先分别计算该两个候选位置点的测量概率和以及基于P1的匹配位置点计算的转移概率和然后计算P3的三个候选位置点和的测量概率点和然后以和为起点,分别计算到P3的三个候选位置点的转移概率和以及到P3的三个候选位置点的转移概率和将两组转移概率分别乘以其对应的测量概率,并取两组结果内数值最大的值分别作为假设和是正确匹配位置点时P3的临时匹配结果。这里假设最大值分别对应于和然后,针对P2的两个候选位置点和分别计算其最终的匹配概率从图1所示场景可见,的较高,导致最终选择候选位置点作为轨迹点P2的最终匹配结果,避免错误地将作为轨迹点P2的匹配位置点。Taking the scenario shown in Figure 1 as an example, when calculating the map matching probability of the two candidate location points and of P2 , we first calculate the measurement probabilities of the two candidate location points and the transition probabilities and calculated based on the matching location points of P1. Then, we calculate the measurement probabilities and of the three candidate location points of P3. Then, starting with and, we calculate the transition probabilities and of the three candidate location points of P3 and the transition probabilities and of the three candidate location points of P3. The two sets of transition probabilities are multiplied by their corresponding measurement probabilities, and the maximum value of the two sets of results is taken as the temporary matching result of P3 when assuming that and are the correct matching location points. Here, it is assumed that the maximum values correspond to and. Then, for the two candidate location points of P2 , their final matching probabilities are calculated. As can be seen from the scenario shown in Figure 1, the higher the value, the candidate location point is finally selected as the final matching result of trajectory point P2 , avoiding mistakenly selecting it as the matching location point of trajectory point P2 .

优选地,在本发明的上述实施例中,前瞻点的数量选择为1个。然而需要注意的是,也可以选择多于一个的前瞻点。Preferably, in the above embodiment of the present invention, the number of the look-ahead point is selected to be 1. However, it should be noted that more than one look-ahead point may also be selected.

图5是示出了根据本公开实施例的图3所示装置的示例硬件布置500的框图。该硬件布置包括处理器506(例如,微处理器(μP)、数字信号处理器(DSP)等)。处理器506可以是用于执行本文描述的流程的不同动作的单一处理单元或者是多个处理单元。布置还可以包括用于从其他实体接收信号的输入单元502、以及用于向其他实体提供信号的输出单元504。输入单元502和输出单元504可以被布置为单一实体或者是分离的实体。FIG5 is a block diagram illustrating an example hardware arrangement 500 for the apparatus shown in FIG3 according to an embodiment of the present disclosure. The hardware arrangement includes a processor 506 (e.g., a microprocessor (μP), a digital signal processor (DSP), etc.). The processor 506 can be a single processing unit or a plurality of processing units for performing the different actions of the processes described herein. The arrangement can also include an input unit 502 for receiving signals from other entities and an output unit 504 for providing signals to other entities. The input unit 502 and the output unit 504 can be arranged as a single entity or as separate entities.

此外,布置可以包括具有非易失性或易失性存储器形式的至少一个可读存储介质508,例如是电可擦除可编程只读存储器(EEPROM)、闪存、和/或硬盘驱动器。可读存储介质508包括计算机程序510,该计算机程序510包括代码/计算机可读指令,其在由布置500中的处理器506执行时使得硬件布置500和/或包括硬件布置500在内的设备100可以执行例如上面结合图2所描述的流程及其任何变形。Furthermore, the arrangement may include at least one readable storage medium 508 in the form of a non-volatile or volatile memory, such as an electrically erasable programmable read-only memory (EEPROM), a flash memory, and/or a hard drive. The readable storage medium 508 includes a computer program 510 comprising code/computer-readable instructions that, when executed by the processor 506 in the arrangement 500, causes the hardware arrangement 500 and/or the device 100 including the hardware arrangement 500 to perform, for example, the process described above in conjunction with FIG. 2 and any variations thereof.

计算机程序510可被配置为具有例如计算机程序模块510A~510C架构的计算机程序代码。因此,在例如设备100中使用硬件布置500时的示例实施例中,布置500的计算机程序中的代码包括:模块510A,用于获取第一轨迹点在所述地图上的一个或多个第一候选位置点,以及获取第二轨迹点在所述地图上的一个或多个第二候选位置点,其中,所述第二轨迹点是轨迹上在所述第一轨迹点之后的轨迹点。计算机程序中的代码还包括:模块510B,用于计算每个第一候选位置点与每个第二候选位置点的第一发生概率。计算机程序中的代码还包括:模块510C,用于针对每个第一候选位置点,选择与其具有最大第一发生概率的第二候选位置点来作为所述第二轨迹点的对应于每个第一候选位置点的临时匹配点。模块510B还可用于计算当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的临时匹配点的第二发生概率,其中,所述当前匹配位置点是在轨迹上位于所述第一轨迹点之前的轨迹点在地图上的匹配位置点。模块510C还可用于选择具有最大第二发生概率的第一候选位置作为新的当前匹配位置点。Computer program 510 can be configured as computer program code having, for example, an architecture of computer program modules 510A-510C. Thus, in an example embodiment, for example, when hardware arrangement 500 is used in device 100, the code in the computer program of arrangement 500 includes: module 510A for obtaining one or more first candidate locations on the map for a first trajectory point, and one or more second candidate locations on the map for a second trajectory point, wherein the second trajectory point is a trajectory point that follows the first trajectory point on the trajectory. The code in the computer program also includes: module 510B for calculating a first probability of occurrence for each first candidate location point and each second candidate location point. The code in the computer program also includes: module 510C for selecting, for each first candidate location point, the second candidate location point with the highest first probability of occurrence as a provisional matching point for each first candidate location point corresponding to the second trajectory point. Module 510B is further configured to calculate a second probability of occurrence for a current matching location point, each first candidate location point, and the provisional matching point for each first candidate location point corresponding to the second trajectory point, wherein the current matching location point is the matching location on the map for a trajectory point that precedes the first trajectory point on the trajectory. Module 510C may also be configured to select a first candidate location with the largest second occurrence probability as a new current matching location point.

计算机程序模块实质上可以执行图2中所示出的流程中的各个动作,以模拟图3中示出的装置。换言之,当在处理器506中执行不同计算机程序模块时,它们可以对应于图3中示出的装置中的上述不同单元。The computer program modules can substantially execute the various actions in the process shown in Figure 2 to simulate the apparatus shown in Figure 3. In other words, when different computer program modules are executed in the processor 506, they can correspond to the above-mentioned different units in the apparatus shown in Figure 3.

尽管上面结合图5所公开的实施例中的代码手段被实现为计算机程序模块,其在处理器506中执行时使得硬件布置执行上面结合图2所描述的动作,然而在备选实施例中,该代码手段中的至少一项可以至少被部分地实现为硬件电路。Although the code means in the embodiment disclosed above in conjunction with Figure 5 are implemented as a computer program module, which, when executed in the processor 506, causes the hardware arrangement to perform the actions described above in conjunction with Figure 2, in an alternative embodiment, at least one of the code means may be at least partially implemented as a hardware circuit.

处理器可以是单个CPU(中央处理单元),但也可以包括两个或更多个处理单元。例如,处理器可以包括通用微处理器、指令集处理器和/或相关芯片组和/或专用微处理器(例如,专用集成电路(ASIC))。处理器还可以包括用于缓存用途的板载存储器。The processor may be a single CPU (central processing unit), but may also include two or more processing units. For example, the processor may include a general-purpose microprocessor, an instruction set processor and/or an associated chipset and/or a specialized microprocessor (e.g., an application-specific integrated circuit (ASIC)). The processor may also include onboard memory for cache purposes.

计算机程序可以由连接到处理器的计算机程序产品来承载。计算机程序产品可以包括其上存储有计算机程序的计算机可读介质。例如,计算机程序产品可以是闪存、随机存取存储器(RAM)、只读存储器(ROM)、EEPROM,且上述计算机程序模块在备选实施例中可以用UE内的存储器的形式被分布到不同计算机程序产品中The computer program may be carried by a computer program product connected to the processor. The computer program product may include a computer-readable medium on which the computer program is stored. For example, the computer program product may be a flash memory, a random access memory (RAM), a read-only memory (ROM), or an EEPROM, and the above-mentioned computer program modules may be distributed to different computer program products in the form of memory within the UE in an alternative embodiment.

需要注意的是,本发明实施例所记载的技术方案在不冲突的情况下可以任意组合。It should be noted that the technical solutions described in the embodiments of the present invention can be combined arbitrarily without conflict.

在本发明所提供的几个实施例中,应该理解到,所揭露的方法和设备,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed methods and devices can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各实施例中的各功能单元可以全部集成在一个第二处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, all functional units in the embodiments of the present invention can be integrated into a second processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above-mentioned integrated units can be implemented in the form of hardware or in the form of hardware plus software functional units.

上面的描述仅用于实现本发明的实施方式,本领域的技术人员应该理解,在不脱离本发明的范围的任何修改或局部替换,均应该属于本发明的权利要求来限定的范围,因此,本发明的保护范围应该以权利要求书的保护范围为准。The above description is only used to implement the embodiments of the present invention. Those skilled in the art should understand that any modification or partial replacement without departing from the scope of the present invention should fall within the scope defined by the claims of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims (14)

1.一种将定位系统采集到的轨迹点匹配到地图的方法,包括:1. A method for matching trajectory points collected by a positioning system to a map, comprising: 获取第一轨迹点在所述地图上的一个或多个第一候选位置点;Obtain one or more first candidate location points of the first trajectory point on the map; 获取第二轨迹点在所述地图上的一个或多个第二候选位置点,其中,所述第二轨迹点是轨迹上在所述第一轨迹点之后的轨迹点;Obtain one or more second candidate location points on the map for the second trajectory point, wherein the second trajectory point is a trajectory point on the trajectory that follows the first trajectory point; 计算每个第一候选位置点与每个第二候选位置点的第一发生概率;Calculate the first occurrence probability of each first candidate location point and each second candidate location point; 针对每个第一候选位置点,选择与其具有最大第一发生概率的第二候选位置点来作为所述第二轨迹点的对应于每个第一候选位置点的临时匹配点;For each first candidate location point, a second candidate location point with the highest first occurrence probability is selected as a temporary matching point for the second trajectory point corresponding to each first candidate location point; 计算当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的临时匹配点的第二发生概率,其中,所述当前匹配位置点是在轨迹上位于所述第一轨迹点之前的轨迹点在地图上的匹配位置点;以及Calculate the second probability of occurrence of the current matching location point, each first candidate location point, and the temporary matching point corresponding to each first candidate location point of the second trajectory point, wherein the current matching location point is the matching location point on the map of the trajectory point located before the first trajectory point; and 选择具有最大第二发生概率的第一候选位置作为新的当前匹配位置点。Select the first candidate position with the highest probability of the second occurrence as the new current matching position. 2.根据权利要求1所述的方法,其中,所述发生概率是测量概率与转移概率的函数,所述测量概率表示候选位置点作为其轨迹点的匹配位置点的概率,所述转移概率表示从当前轨迹点或匹配位置点到下一轨迹点的某个候选位置点的通行概率。2. The method according to claim 1, wherein the occurrence probability is a function of the measurement probability and the transition probability, the measurement probability represents the probability that a candidate location point is a matching location point of its trajectory point, and the transition probability represents the probability of passage from the current trajectory point or the matching location point to a candidate location point of the next trajectory point. 3.根据权利要求2所述的方法,其中,计算第一发生概率包括:3. The method according to claim 2, wherein calculating the first probability of occurrence includes: 计算每个第二候选位置点的第一测量概率;Calculate the first measurement probability for each second candidate location point; 计算所述每个第一候选位置点与每个第二候选位置点的第一转移概率;以及Calculate the first transition probability of each first candidate location point and each second candidate location point; and 将每个第一转移概率分别乘以其所涉及的第二候选位置点的第一测量概率,以得到对应的第一发生概率。Each first transition probability is multiplied by the first measurement probability of the second candidate location point involved to obtain the corresponding first occurrence probability. 4.根据权利要求3所述的方法,其中,计算第二发生概率包括:4. The method according to claim 3, wherein calculating the second probability of occurrence includes: 计算每个第一候选位置点的第二测量概率;Calculate the second measurement probability for each first candidate location point; 计算所述当前匹配位置点到每个第一候选位置点的第二转移概率;以及Calculate the second transition probability from the current matching position point to each first candidate position point; and 针对每个第一候选位置点,将其对应的第二测量概率、与其对应的第二转移概率以及针对与其对应的临时匹配点的第一发生概率相乘,以得到当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的临时匹配点的第二发生概率。For each first candidate location point, its corresponding second measurement probability, its corresponding second transition probability, and its corresponding first occurrence probability of a temporary matching point are multiplied together to obtain the current matching location point, the second occurrence probability of each first candidate location point, and the second trajectory point of the temporary matching point corresponding to each first candidate location point. 5.根据权利要求2至4中任一项所述的方法,其中,5. The method according to any one of claims 2 to 4, wherein, 所述测量概率被表示为:The measurement probability is expressed as: 其中,是候选位置点的测量概率,σp是轨迹获取设备的测量标准偏差,e是自然对数函数的底数,是轨迹点Pt到候选位置点的直线距离,Where is the measurement probability of the candidate location point, σ<sub>p</sub> is the measurement standard deviation of the trajectory acquisition device, e is the base of the natural logarithm function, and is the straight-line distance from the trajectory point P <sub>t</sub> to the candidate location point. 轨迹获取设备的测量标准偏差计算方法入如下:The method for calculating the standard deviation of measurements for trajectory acquisition equipment is as follows: 所述转移概率被表示为:The transition probability is expressed as: 其中,|Pt-Pt-1|great circle是轨迹点Pt与其前一轨迹点Pt-1的之间的直线距离,是轨迹点Pt的候选位置点与其前一轨迹点Pt-1的候选位置点之间的路径距离。Where, |P <sub>t </sub> - P<sub>t-1</sub> | great circle is the straight-line distance between trajectory point P <sub> t</sub> and its previous trajectory point P<sub>t-1</sub>, and is the path distance between the candidate position point of trajectory point P <sub>t </sub> and the candidate position point of its previous trajectory point P <sub>t-1</sub> . 6.根据权利要求1所述的方法,其中,获取第一候选位置点包括:以所述第一轨迹点为中心,以预定搜索距离为半径,搜索所述地图上的各条道路上与所述第一轨迹点之间直线距离最短的位置点,并将其作为所述第一轨迹点在所述地图上的一个或多个第一候选位置点,以及6. The method according to claim 1, wherein obtaining the first candidate location point comprises: taking the first trajectory point as the center and a predetermined search distance as the radius, searching for the location point on each road of the map with the shortest straight-line distance to the first trajectory point, and using it as one or more first candidate location points of the first trajectory point on the map, and 获取第二候选位置点包括:以所述第二轨迹点为中心,以预定搜索距离为半径,搜索所述地图上的各条道路上与所述第二轨迹点之间直线距离最短的位置点,并将其作为所述第二轨迹点在所述地图上的一个或多个第二候选位置点。Obtaining a second candidate location point includes: taking the second trajectory point as the center and a predetermined search distance as the radius, searching for the location point on each road on the map with the shortest straight-line distance to the second trajectory point, and using it as one or more second candidate location points of the second trajectory point on the map. 7.一种将定位系统采集到的轨迹点匹配到地图的装置,包括:7. An apparatus for matching trajectory points collected by a positioning system to a map, comprising: 候选位置点获取器,用于获取第一轨迹点在所述地图上的一个或多个第一候选位置点,以及获取第二轨迹点在所述地图上的一个或多个第二候选位置点,其中,所述第二轨迹点是轨迹上在所述第一轨迹点之后的轨迹点;A candidate location point acquirer is used to acquire one or more first candidate location points of a first trajectory point on the map, and to acquire one or more second candidate location points of a second trajectory point on the map, wherein the second trajectory point is a trajectory point on the trajectory that follows the first trajectory point; 发生概率计算器,用于计算每个第一候选位置点与每个第二候选位置点的第一发生概率;以及An occurrence probability calculator is used to calculate the first occurrence probability of each first candidate location point and each second candidate location point; and 匹配点确定器,用于针对每个第一候选位置点,选择与其具有最大第一发生概率的第二候选位置点来作为所述第二轨迹点的对应于每个第一候选位置点的临时匹配点;A matching point determiner is used to select, for each first candidate location point, a second candidate location point with the highest first probability of occurrence as a temporary matching point of the second trajectory point corresponding to each first candidate location point; 其中,所述发生概率计算器还用于计算当前匹配位置点、每个第一候选位置点和所述第二轨迹点的对应于每个第一候选位置点的临时匹配点的第二发生概率,其中,所述当前匹配位置点是在轨迹上位于所述第一轨迹点之前的轨迹点在地图上的匹配位置点;以及The probability calculator is further used to calculate the second probability of occurrence of the temporary matching point corresponding to each first candidate location point and the second trajectory point, wherein the current matching location point is the matching location point on the map of the trajectory point located before the first trajectory point; and 其中,所述匹配点确定器还用于选择具有最大第二发生概率的第一候选位置作为新的当前匹配位置点。The matching point determiner is further used to select the first candidate position with the highest second occurrence probability as the new current matching position point. 8.根据权利要求7所述的装置,其中,所述发生概率是测量概率与转移概率的函数,所述测量概率表示候选位置点作为其轨迹点的匹配位置点的概率,所述转移概率表示从当前轨迹点或匹配位置点到下一轨迹点的某个候选位置点的通行概率。8. The apparatus of claim 7, wherein the occurrence probability is a function of the measurement probability and the transition probability, the measurement probability representing the probability that a candidate location point is a matching location point of its trajectory point, and the transition probability representing the probability of passage from the current trajectory point or the matching location point to a candidate location point of the next trajectory point. 9.根据权利要求8所述的装置,其中,所述发生概率计算器还用于:9. The apparatus of claim 8, wherein the probability calculator is further configured to: 计算每个第二候选位置点的第一测量概率;Calculate the first measurement probability for each second candidate location point; 计算所述每个第一候选位置点与每个第二候选位置点的第一转移概率;以及Calculate the first transition probability of each first candidate location point and each second candidate location point; and 将每个第一转移概率分别乘以其所涉及的第二候选位置点的第一测量概率,以得到对应的第一发生概率。Each first transition probability is multiplied by the first measurement probability of the second candidate location point involved to obtain the corresponding first occurrence probability. 10.根据权利要求9所述的装置,其中,所述发生概率计算器还用于:10. The apparatus of claim 9, wherein the probability calculator is further configured to: 计算每个第一候选位置点的第二测量概率;Calculate the second measurement probability for each first candidate location point; 计算所述当前匹配位置点到每个第一候选位置点的第二转移概率;以及Calculate the second transition probability from the current matching position point to each first candidate position point; and 针对每个第一候选位置点,将其对应的第二测量概率、与其对应的第二转移概率以及针对与其对应的临时匹配点的第一发生概率相乘,以得到从当前匹配位置点、所述每个第一候选位置点与每个第一候选位置点的临时匹配点的第二发生概率。For each first candidate location point, its corresponding second measurement probability, its corresponding second transition probability, and its corresponding first occurrence probability for the temporary matching point are multiplied together to obtain the second occurrence probability of the current matching location point, each first candidate location point, and the temporary matching point of each first candidate location point. 11.根据权利要求8至10中任一项所述的装置,其中,11. The apparatus according to any one of claims 8 to 10, wherein, 所述测量概率被表示为:The measurement probability is expressed as: 其中,是候选位置点的测量概率,σp是轨迹获取设备的测量标准偏差,e是自然对数函数的底数,是轨迹点Pt到候选位置点的直线距离,Where is the measurement probability of the candidate location point, σ<sub>p</sub> is the measurement standard deviation of the trajectory acquisition device, e is the base of the natural logarithm function, and is the straight-line distance from the trajectory point P <sub>t</sub> to the candidate location point. 轨迹获取设备的测量标准偏差计算方法入如下:The method for calculating the standard deviation of measurements for trajectory acquisition equipment is as follows: 所述转移概率被表示为:The transition probability is expressed as: 其中,|Pt-Pt-1|great circle是轨迹点Pt与其前一轨迹点Pt-1的之间的直线距离,是轨迹点Pt的候选位置点与其前一轨迹点Pt-1的候选位置点之间的路径距离。Where, |P <sub>t </sub> - P<sub>t-1</sub> | great circle is the straight-line distance between trajectory point P <sub> t</sub> and its previous trajectory point P<sub>t-1</sub>, and is the path distance between the candidate position point of trajectory point P <sub>t </sub> and the candidate position point of its previous trajectory point P <sub>t-1</sub> . 12.根据权利要求7所述的装置,其中,所述候选位置点获取器用于:12. The apparatus of claim 7, wherein the candidate location point acquirer is configured to: 以所述第一轨迹点为中心,以预定搜索距离为半径,搜索所述地图上的各条道路上与所述第一轨迹点之间直线距离最短的位置点,并将其作为所述第一轨迹点在所述地图上的一个或多个第一候选位置点,以及Using the first trajectory point as the center and a predetermined search distance as the radius, search for the point on the map with the shortest straight-line distance to the first trajectory point on each road, and use this point as one or more first candidate location points of the first trajectory point on the map. 以所述第二轨迹点为中心,以预定搜索距离为半径,搜索所述地图上的各条道路上与所述第二轨迹点之间直线距离最短的位置点,并将其作为所述第二轨迹点在所述地图上的一个或多个第二候选位置点。Using the second trajectory point as the center and a predetermined search distance as the radius, search for the location point on each road on the map that has the shortest straight-line distance to the second trajectory point, and use it as one or more second candidate location points of the second trajectory point on the map. 13.一种将定位系统采集到的轨迹点匹配到地图的装置,包括:13. An apparatus for matching trajectory points collected by a positioning system to a map, comprising: 存储器,用于存储可执行指令;以及Memory, used to store executable instructions; and 处理器,用于执行存储器中存储的可执行指令,以执行根据权利要求1至6中任一项所述的方法。A processor for executing executable instructions stored in memory to perform the method according to any one of claims 1 to 6. 14.一种其上承载由计算机程序的存储器设备,当由处理器执行所述计算机程序时,所述计算机程序使所述处理器执行根据权利要求1至6中任一项所述的方法。14. A memory device thereon carrying a computer program, which, when executed by a processor, causes the processor to perform the method according to any one of claims 1 to 6.
HK17111187.1A 2017-11-01 Method and device for matching track points acquired by positioning system into map HK1237407B (en)

Publications (3)

Publication Number Publication Date
HK1237407A1 HK1237407A1 (en) 2018-04-13
HK1237407A HK1237407A (en) 2018-04-13
HK1237407B true HK1237407B (en) 2020-10-30

Family

ID=

Similar Documents

Publication Publication Date Title
CN106767851B (en) Method and device for matching trajectory points collected by positioning system to map
US10332389B2 (en) Extrapolating speed limits within road graphs
US10234296B2 (en) Verifying a road network of a map
TWI619036B (en) Traffic time forecasting system, traffic time forecasting method and traffic model establish method
US9747805B2 (en) Computing a similarity measure over moving object trajectories
CN104111073B (en) The method and apparatus in inaccurate section in a kind of identification map datum
US10049567B2 (en) Traffic flow rate calculation method and device
US20150308843A1 (en) Building missing movement path of an object
Mohamed et al. Accurate and efficient map matching for challenging environments
JP2021047414A (en) Device and computer readable storage medium for voice fingerprint collation
CN111737377B (en) Method and device for identifying drift trajectory, computing equipment and storage medium
CN110288003B (en) Data change identification method and equipment
US20170030723A1 (en) Simplification of trajectory representation
JP2015161557A5 (en)
CN104350362A (en) Vehicle position detection device and program
CN110675074A (en) Travel target point identification method and device, and model development and evaluation method and device
CN115326081B (en) Map matching method, device, computer equipment and storage medium
CN113837442B (en) Correction trajectory oscillation route generation method, system, terminal device and storage medium
HK1237407B (en) Method and device for matching track points acquired by positioning system into map
US20160091326A1 (en) Analysis method and analyzing device
CN115206102B (en) Method, device, electronic equipment and medium for determining traffic path
US10401185B2 (en) Apparatus and method for online generation of an optimum route-graph
Levin et al. Concurrent and robust topological map matching
CN113218420A (en) Navigation system test method and device, electronic equipment and storage medium
CN111829530A (en) An evaluation method, device, storage medium and electronic device