CN110345964A - Route matching method, apparatus, system and storage medium - Google Patents

Route matching method, apparatus, system and storage medium Download PDF

Info

Publication number
CN110345964A
CN110345964A CN201910638749.1A CN201910638749A CN110345964A CN 110345964 A CN110345964 A CN 110345964A CN 201910638749 A CN201910638749 A CN 201910638749A CN 110345964 A CN110345964 A CN 110345964A
Authority
CN
China
Prior art keywords
section
information
terminal
road section
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910638749.1A
Other languages
Chinese (zh)
Other versions
CN110345964B (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.)
Navinfo Co Ltd
Original Assignee
Navinfo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Navinfo Co Ltd filed Critical Navinfo Co Ltd
Priority to CN201910638749.1A priority Critical patent/CN110345964B/en
Publication of CN110345964A publication Critical patent/CN110345964A/en
Application granted granted Critical
Publication of CN110345964B publication Critical patent/CN110345964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3446Details of route searching algorithms, e.g. Dijkstra, A*, arc-flags or using precalculated routes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3453Special cost functions, i.e. other than distance or default speed limit of road segments
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3453Special cost functions, i.e. other than distance or default speed limit of road segments
    • G01C21/3461Preferred or disfavoured areas, e.g. dangerous zones, toll or emission zones, intersections, manoeuvre types or segments such as motorways, toll roads or ferries
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3453Special cost functions, i.e. other than distance or default speed limit of road segments
    • G01C21/3492Special cost functions, i.e. other than distance or default speed limit of road segments employing speed data or traffic data, e.g. real-time or historical

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

The present invention provides a kind of route matching method, apparatus, system and storage medium, this method, comprising: receives the planning path that terminal is sent;And from the planning path, latitude and longitude information is parsed;According to the latitude and longitude information, the section for meeting preset condition in R tree is searched for, and local road network, the section spatial index that the R tree is established for the road net data previously according to load are constructed according to the section found;In the local road network, according to the beginning and end of planning path, the ID sequence of target road section is determined;The additional information that the ID sequence of the target road section and the target road section are included is fed back into terminal;Additional information is for supplementing the road section information lacked in terminal planning path.The present invention improves the accuracy of route matching, ensure that the authenticity and accuracy of data, the additional information that the target road section provided is included have enriched terminal data, terminal is supported to provide better Product Experience for user.

Description

路径匹配方法、装置、系统及存储介质Path matching method, device, system and storage medium

技术领域technical field

本发明涉及路径规划技术领域,尤其涉及一种路径匹配方法、装置、系统及存储介质。The present invention relates to the technical field of path planning, in particular to a path matching method, device, system and storage medium.

背景技术Background technique

随着科技的迅猛发展,导航产品的出现,大大地方便了人们的出行。导航产品作为用户外出使用频率较高的辅助工具之一。用户在使用导航终端规划好一条路径后,还期望获取当前行驶道路的Link(路段)上的一些额外信息。比如,路径是否经过收费站以及收费额度信息,是否经过桥隧道,是否有重大警示信息,路径是否经过施工现场或者临时交通限制信息等。With the rapid development of science and technology, the appearance of navigation products has greatly facilitated people's travel. Navigation products are one of the most frequently used auxiliary tools for users to go out. After the user plans a route using the navigation terminal, he also expects to obtain some additional information on the Link (road section) of the current driving road. For example, whether the route passes through toll stations and information on the toll amount, whether it passes through bridges and tunnels, whether there are major warning messages, whether the route passes through construction sites or temporary traffic restriction information, etc.

目前,导航终端多数采用直接通过路段ID或者其他道路信息的ID请求后端路径中所包含路段的各种信息。即导航终端可以将路段ID等信息传递给后端,后端按照路段ID计算提取上述信息,并将这些信息发送给导航终端。At present, most navigation terminals directly request various information of the road sections included in the back-end route through the road section ID or the ID of other road information. That is, the navigation terminal can transmit information such as road section ID to the backend, and the backend calculates and extracts the above information according to the road section ID, and sends the information to the navigation terminal.

但是,这种方式需要导航终端和后端的地图数据版本要完全一致,否则会造成路段ID不一致的情况导致信息有误或缺失,造成用户使用不方便,用户体验差。However, this method requires that the version of the map data on the navigation terminal and the backend be completely consistent, otherwise it will cause inconsistencies in the IDs of the road sections, resulting in incorrect or missing information, resulting in inconvenience for users and poor user experience.

发明内容Contents of the invention

本发明提供一种路径匹配方法、装置、系统及存储介质,解决了终端和服务端数据版本不一致造成的信息有误的问题,提高了路径匹配的准确性,保证了数据的真实性和准确性,其提供的目标路段所包含的附加信息充实了终端数据,支撑终端为用户提供更好的产品体验。The present invention provides a path matching method, device, system and storage medium, which solves the problem of incorrect information caused by inconsistent data versions between the terminal and the server, improves the accuracy of path matching, and ensures the authenticity and accuracy of data , the additional information contained in the target road section provided by it enriches the terminal data and supports the terminal to provide users with a better product experience.

第一方面,提供一种路径匹配方法,包括:In the first aspect, a path matching method is provided, including:

接收终端发送的规划路径;并从所述规划路径中,解析出经纬度信息;receiving the planned path sent by the terminal; and parsing the latitude and longitude information from the planned path;

根据所述经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网,所述R树为预先根据加载的路网数据所建立的路段空间索引;According to the longitude and latitude information, search for road sections satisfying the preset conditions in the R tree, and construct a local road network according to the found road sections, the R tree is a road section space index established in advance according to the loaded road network data;

在所述局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;In the local road network, determine the ID sequence of the target road section according to the starting point and the end point of the planned path;

将所述目标路段的ID序列,以及所述目标路段所包含的附加信息反馈给终端;所述附加信息用于补充终端规划路径上缺失的路段信息。The ID sequence of the target road section and the additional information contained in the target road section are fed back to the terminal; the additional information is used to supplement missing road section information on the route planned by the terminal.

第二方面,提供一种路径匹配方法,包括:In the second aspect, a path matching method is provided, including:

根据当前位置信息以及终点位置信息,生成规划路径;Generate a planned route based on the current location information and the terminal location information;

将所述规划路径发送给后台服务器;其中,所述后台服务器用于执行如第一方面中任一项所述的方法;Sending the planned path to a background server; wherein the background server is configured to execute the method according to any one of the first aspect;

接收所述后台服务器发送的目标路段的ID序列,以及所述目标路段所包含的附加信息;receiving the ID sequence of the target road section sent by the background server, and the additional information contained in the target road section;

显示目标路段的ID序列,以及所述目标路段所包含的附加信息;所述附加信息用于补充终端规划路径上缺失的路段信息。Display the ID sequence of the target road section, and the additional information contained in the target road section; the additional information is used to supplement the missing road section information on the planned route of the terminal.

第三方面,提供一种路径匹配装置,包括:In a third aspect, a path matching device is provided, including:

收发模块,用于接收终端发送的规划路径;并从所述规划路径中,解析出经纬度信息;The transceiver module is used to receive the planned path sent by the terminal; and analyze the latitude and longitude information from the planned path;

处理模块,用于根据所述经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网,所述R树为预先根据加载的路网数据所建立的路段空间索引;以及用于在所述局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;A processing module, configured to search for road sections satisfying preset conditions in the R tree according to the latitude and longitude information, and construct a local road network according to the found road sections, the R tree is a road section spatial index established in advance according to the loaded road network data ; and for determining the ID sequence of the target road section according to the starting point and the end point of the planned path in the local road network;

所述收发模块,还用于将所述目标路段的ID序列,以及所述目标路段所包含的附加信息反馈给终端;所述附加信息用于补充终端规划路径上缺失的路段信息。The transceiver module is further configured to feed back the ID sequence of the target road section and the additional information contained in the target road section to the terminal; the additional information is used to supplement missing road section information on the terminal's planned route.

第四方面,提供一种路径匹配装置,包括:In a fourth aspect, a path matching device is provided, including:

处理模块,用于根据当前位置信息以及终点位置信息,生成规划路径;A processing module, configured to generate a planned path according to the current location information and the terminal location information;

将所述规划路径发送给后台服务器;其中,所述后台服务器用于执行如第一方面中任一项所述的方法;Sending the planned path to a background server; wherein the background server is configured to execute the method according to any one of the first aspect;

接收模块,用于接收所述后台服务器发送的目标路段的ID序列,以及所述目标路段所包含的附加信息;A receiving module, configured to receive the ID sequence of the target road segment sent by the background server, and the additional information contained in the target road segment;

显示目标路段的ID序列,以及所述目标路段所包含的附加信息;所述附加信息用于补充终端规划路径上缺失的路段信息。Display the ID sequence of the target road section, and the additional information contained in the target road section; the additional information is used to supplement the missing road section information on the planned route of the terminal.

第五方面,提供一种路径匹配系统,包括:In the fifth aspect, a path matching system is provided, including:

终端和服务器;terminals and servers;

所述终端,用于根据当前位置信息以及终点位置信息,生成规划路径,并将所述规划路径发送给服务器;并接收所述服务器发送的目标路段的ID序列,以及所述目标路段所包含的附加信息;显示目标路段的ID序列,以及所述目标路段所包含的附加信息;The terminal is configured to generate a planned path according to the current location information and the terminal location information, and send the planned path to a server; and receive the ID sequence of the target road section sent by the server, and the target road section contained in the Additional information: display the ID sequence of the target road segment, and the additional information contained in the target road segment;

所述服务器,用于接收终端发送的规划路径;并从所述规划路径中,解析出经纬度信息;根据所述经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网,所述R树为预先根据加载的路网数据所建立的路段空间索引;以及用于在所述局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;并将所述目标路段的ID序列,以及所述目标路段所包含的附加信息反馈给所述终端;所述附加信息用于补充终端规划路径上缺失的路段信息。The server is configured to receive the planned path sent by the terminal; and analyze the latitude and longitude information from the planned path; search for road sections in the R tree that meet preset conditions according to the latitude and longitude information, and construct a local road section according to the found road section In the road network, the R tree is a road segment spatial index established in advance according to the loaded road network data; and is used to determine the ID sequence of the target road segment according to the starting point and the end point of the planned path in the partial road network; and The ID sequence of the target road section and the additional information contained in the target road section are fed back to the terminal; the additional information is used to supplement missing road section information on the route planned by the terminal.

第六方面,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面中任一项所述的路径匹配方法。In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the path matching method described in any one of the first aspect is implemented.

本发明提供一种路径匹配方法、装置、系统及存储介质,通过接收终端发送的规划路径;并从所述规划路径中,解析出经纬度信息;根据所述经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网,所述R树为预先根据加载的路网数据所建立的路段空间索引;在所述局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;将所述目标路段的ID序列,以及所述目标路段所包含的附加信息反馈给终端;附加信息用于补充终端规划路径上缺失的路段信息。从空间上实现了终端的路径数据与后端的路径数据的匹配,解决了终端和服务端数据版本不一致造成的信息有误的问题,提高了路径匹配的准确性,保证了数据的真实性和准确性,提供的目标路段所包含的附加信息充实了终端数据,支撑终端为用户提供更好的产品体验。The present invention provides a path matching method, device, system and storage medium, by receiving the planned path sent by the terminal; and analyzing the longitude and latitude information from the planned path; according to the longitude and latitude information, searching the R tree to satisfy the preset conditions, and build a local road network according to the found road sections, the R-tree is a road section space index established in advance according to the loaded road network data; in the local road network, according to the starting point and end point of the planned path, determine The ID sequence of the target road segment; feeding back the ID sequence of the target road segment and the additional information contained in the target road segment to the terminal; the additional information is used to supplement missing road segment information on the terminal's planned route. From the space, the path data of the terminal and the path data of the back end are matched, which solves the problem of incorrect information caused by the inconsistent data versions of the terminal and the server, improves the accuracy of path matching, and ensures the authenticity and accuracy of the data. The additional information contained in the provided target section enriches the terminal data and supports the terminal to provide users with a better product experience.

附图说明Description of drawings

图1为本发明一应用场景的原理示意图;Fig. 1 is a principle schematic diagram of an application scenario of the present invention;

图2为本发明实施例一提供的路径匹配方法的流程图;FIG. 2 is a flow chart of a path matching method provided in Embodiment 1 of the present invention;

图3为本发明实施例提供的原始路网的示意图;Fig. 3 is a schematic diagram of the original road network provided by the embodiment of the present invention;

图4为本发明实施例提供的局部路网构建的示意图;FIG. 4 is a schematic diagram of construction of a local road network provided by an embodiment of the present invention;

图5为本发明实施例提供的目标路段确定的示意图;FIG. 5 is a schematic diagram of determining a target road section provided by an embodiment of the present invention;

图6为本发明实施例二提供的路径匹配方法的流程图;FIG. 6 is a flow chart of a path matching method provided in Embodiment 2 of the present invention;

图7为本发明实施例三提供的路径匹配装置的结构示意图;FIG. 7 is a schematic structural diagram of a path matching device provided in Embodiment 3 of the present invention;

图8为本发明实施例四提供的路径匹配装置的结构示意图;FIG. 8 is a schematic structural diagram of a path matching device provided in Embodiment 4 of the present invention;

图9为本发明实施例五提供的路径匹配系统的结构示意图;FIG. 9 is a schematic structural diagram of a path matching system provided in Embodiment 5 of the present invention;

图10为本发明实施例六提供的路径匹配系统的结构示意图。FIG. 10 is a schematic structural diagram of a path matching system provided by Embodiment 6 of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of practice in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.

现有技术中,终端多数采用直接通过路段ID或者其他道路信息的ID来向后端请求路段的各种信息。当终端规划好一条路径之后,期望从后端获取一些额外的信息。比如,路径是否经过收费站以及收费额度信息,是否经过桥隧道,是否有重大警示信息,路径是否经过施工现场或者临时交通限制等等。当终端将路段ID等信息传递给后端之后,后端按照路段ID提取上述各种信息。但是,现有技术非常大的一个问题就是,终端和后端的地图数据版本必须要完全一致。若两个地图版本不一致,则会造成路段ID不一致的情况,从而使得后端提取的路段信息有误,或者缺失。In the prior art, most terminals directly request various information of the road section from the backend through the road section ID or the ID of other road information. After the terminal plans a path, it expects to obtain some additional information from the backend. For example, whether the path passes through toll stations and information on the toll amount, whether it passes through bridges and tunnels, whether there are major warning messages, whether the path passes through construction sites or temporary traffic restrictions, etc. After the terminal transmits information such as the section ID to the backend, the backend extracts the above-mentioned various information according to the section ID. However, a very big problem in the prior art is that the map data versions of the terminal and the backend must be completely consistent. If the two map versions are inconsistent, the link IDs will be inconsistent, and the link information extracted by the backend will be incorrect or missing.

针对现有技术中的问题,本发明旨在提出一种路径匹配方法,其不依赖于终端的地图版本,只要是终端和后端在空间数据上一致即可,从而可以保证数据的真实性和准确性。通过后端提供的目标路段所包含的附加信息,可以终端的地图数据,支撑终端为用户提供更好的产品体验。Aiming at the problems in the prior art, the present invention aims to propose a path matching method, which does not depend on the map version of the terminal, as long as the terminal and the backend are consistent in spatial data, so that the authenticity and accuracy of the data can be guaranteed. accuracy. Through the additional information contained in the target road section provided by the backend, the map data of the terminal can be used to support the terminal to provide users with a better product experience.

下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present invention will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

图1为本发明一应用场景的原理示意图,如图1所示,用户在导航终端10上输入起点和终点信息,终端10的导航服务根据用户输入的起点和终点信息进行路径规划。若终端10希望获取规划路径上的附加信息(如收费额度信息、途径点信息、警示信息、交通路况信息等)时,则将导航服务规划的路径发送给服务器20。服务器20接收终端10发送的规划路径,并从规划路径中,解析出经纬度信息;服务器20根据经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网;服务器20在局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;服务器20将目标路段的ID序列,以及目标路段所包含的附加信息反馈给终端10。FIG. 1 is a schematic diagram of the principle of an application scenario of the present invention. As shown in FIG. 1 , a user inputs starting point and ending point information on a navigation terminal 10, and the navigation service of the terminal 10 performs route planning according to the starting point and ending point information input by the user. If the terminal 10 wishes to acquire additional information on the planned route (such as charge amount information, passing point information, warning information, traffic road condition information, etc.), it will send the route planned by the navigation service to the server 20 . The server 20 receives the planned path sent by the terminal 10, and analyzes the latitude and longitude information from the planned path; the server 20 searches the road section in the R tree that meets the preset conditions according to the latitude and longitude information, and constructs a local road network according to the found road section; the server 20 In the local road network, the ID sequence of the target road section is determined according to the starting point and end point of the planned path; the server 20 feeds back the ID sequence of the target road section and the additional information contained in the target road section to the terminal 10 .

应用上述方法,可以从空间上实现终端的路径数据与后端的路径数据的匹配,解决终端和服务端数据版本不一致造成的信息有误的问题,提高了路径匹配的准确性,保证了数据的真实性和准确性,提供的目标路段所包含的附加信息充实了终端数据,支撑终端为用户提供更好的产品体验。By applying the above method, the path data of the terminal can be matched spatially with the path data of the backend, which can solve the problem of incorrect information caused by the inconsistency of the data versions between the terminal and the server, improve the accuracy of path matching, and ensure the authenticity of the data The additional information contained in the provided target section enriches the terminal data and supports the terminal to provide users with a better product experience.

下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solution of the present invention and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.

图2为本发明实施例一提供的路径匹配方法的流程图,如图2所示,本实施例中的方法可以包括:FIG. 2 is a flow chart of the path matching method provided in Embodiment 1 of the present invention. As shown in FIG. 2, the method in this embodiment may include:

S101、接收终端发送的规划路径;并从规划路径中,解析出经纬度信息。S101. Receive the planned route sent by the terminal; and analyze the latitude and longitude information from the planned route.

本实施例中,终端将规划路径的经纬度适当抽稀同时编译成二进制格式减少网络传输,以小端模式存储数据向服务端发起请求。服务端接收终端发送的规划路径,并解码二进制获得经纬度信息。In this embodiment, the terminal properly thins out the latitude and longitude of the planned path and compiles it into a binary format to reduce network transmission, and stores data in little-endian mode to initiate a request to the server. The server receives the planned path sent by the terminal, and decodes the binary to obtain the latitude and longitude information.

S102、根据经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网;R树为预先根据加载的路网数据所建立的路段空间索引。S102. According to the longitude and latitude information, search for road sections satisfying preset conditions in the R tree, and construct a local road network according to the found road sections; the R tree is a road section spatial index established in advance according to the loaded road network data.

本实施例中,当确定经纬度信息之后,即可根据经纬度信息确定该经纬度在电子地图上的位置,然后以该经纬度在电子地图上的位置为中心,确定搜索的范围。在该搜索范围内,通过R树查找与该范围相交的路段ID。In this embodiment, after the latitude and longitude information is determined, the position of the latitude and longitude on the electronic map can be determined according to the latitude and longitude information, and then the search range can be determined centering on the position of the latitude and longitude on the electronic map. Within the search range, the R-tree is used to find the road segment IDs intersecting the range.

在一种可选的实施方式中,服务端获取经纬度在电子地图上(一般是指后台服务器上加载的最新版本的电子地图)的坐标值,以坐标值为中心,预设的第一阈值为半径,确定路段的搜索区域;通过R树搜索与搜索区域相交的所有路段,作为候选路段;其中,R树是指:预先根据加载的路网数据所建立的路段空间索引;路段空间索引中包含有路段ID、路段的权值信息、路段的经纬度信息,以及路段附加信息;路段附加信息包括:收费额度信息、途径点信息、警示信息、交通路况信息;基于候选路段,构建局部路网。In an optional implementation, the server obtains the coordinate values of the latitude and longitude on the electronic map (generally referring to the latest version of the electronic map loaded on the background server), centering on the coordinate value, the preset first threshold is Radius, to determine the search area of the road segment; search all the road segments intersecting with the search area through the R tree as candidate road segments; wherein, the R tree refers to: the road segment spatial index established in advance according to the loaded road network data; the road segment spatial index contains There are road section ID, road section weight information, road section latitude and longitude information, and road section additional information; road section additional information includes: toll amount information, way point information, warning information, traffic road condition information; based on candidate road sections, build a local road network.

具体地,由于R树中包含有路网数据所建立的路段空间索引,其自身具备路段的经纬度信息,因此当获取到经纬度的坐标值时,其可以在R树上找到对应的位置。当以该坐标值为中心确定搜索区域时,可以在R树上以对应位置为中心,确定相同半径的搜索区域,然后记录所有与该搜索区域存在交点的路段ID。需要说明的是,路段ID确定之后,可以通过路段ID从R树中查询该路段ID对应的路段附加信息。例如某一路段的收费额度信息、途径点信息、警示信息、交通路况信息等等。Specifically, since the R-tree contains the link spatial index established by the road network data, it has the latitude and longitude information of the link itself, so when the coordinate value of the latitude and longitude is obtained, it can find the corresponding position on the R-tree. When the search area is determined centered on the coordinate value, a search area with the same radius can be determined centered on the corresponding position on the R tree, and then all road segment IDs that have intersections with the search area can be recorded. It should be noted that after the road segment ID is determined, the road segment additional information corresponding to the road segment ID can be queried from the R tree through the road segment ID. For example, the toll amount information of a certain road section, the information of the way point, the warning information, the traffic condition information and so on.

具体地,图3为本发明实施例提供的原始路网的示意图,如图3所示,图中圆点表示路段节点,连通的细线表示路网中连通的道路,黑色粗线表示终端发送的规划路径,由于版本问题、等位精度等问题,终端规划的路径与服务器上的原始路网不一定完全匹配。图4为本发明实施例提供的局部路网构建的示意图,如图4所示,本实施以规划路径的经纬度为中心,搜索第一阈值为半径的范围内的路段信息,最终得到图4所示的局部网络。局部路网中,剔除了与规划路径相关性较低的一些路段。Specifically, FIG. 3 is a schematic diagram of the original road network provided by the embodiment of the present invention. As shown in FIG. 3 , the dots in the figure represent road node nodes, the connected thin lines represent the connected roads in the road network, and the thick black lines represent the terminals sending Due to issues such as version issues and equivalent accuracy, the path planned by the terminal may not exactly match the original road network on the server. Fig. 4 is a schematic diagram of the local road network construction provided by the embodiment of the present invention. As shown in Fig. 4, this implementation takes the longitude and latitude of the planned path as the center, searches for the road segment information within the range of the first threshold as the radius, and finally obtains the information shown in Fig. 4 The local network shown. In the local road network, some road sections with low correlation with the planned path are eliminated.

如果路网数据较大,可以进行分层处理,每一层构建不同的路网。比如,按照不同的路段等级分层将规划出来,划分为高速、国道、省道。每一个经纬度落在什么等级的路网,就在该路网中查找匹配路段信息。如果规划的路径距离较长,也可以将距离较长的路径切分成多个路段,进行分段匹配。最后将分层匹配或者分段匹配的结果汇总,构建局部路网。这样的方式针对大数据量的请求效率会有一定提升。If the road network data is large, it can be processed in layers, and each layer builds a different road network. For example, according to the level of different road sections, the planning is divided into expressways, national highways, and provincial highways. For each level of the road network in which the latitude and longitude falls, search for matching road section information in the road network. If the planned path has a long distance, the path with a long distance can also be divided into multiple road sections for segment matching. Finally, the results of hierarchical matching or segmental matching are summarized to construct a local road network. In this way, the efficiency of requests for large amounts of data will be improved to a certain extent.

需要指出的是,局部路网构建是本发明中确保匹配的目标路段的连通性的重要一环。终端发送的规划路径不带有路段ID,想要准确无误的匹配到路网上,匹配路径的连通性很关键。只有匹配出来的路段序列是连通的才能保证准确性。而连通性只能依靠穿串儿实现,也就是两点之间的最短路径。本实施例用经纬度进行准确无误的路径匹配,必须要构建局部路网,实现连通性,从而保证匹配路径的准确性。It should be pointed out that the construction of the local road network is an important part in the present invention to ensure the connectivity of the matched target road sections. The planned path sent by the terminal does not have a link ID. To accurately match it to the road network, the connectivity of the matching path is critical. The accuracy can only be guaranteed if the matched road segment sequence is connected. And connectivity can only be achieved by passing through the chain, that is, the shortest path between two points. In this embodiment, longitude and latitude are used to perform accurate path matching, and a local road network must be constructed to achieve connectivity, thereby ensuring the accuracy of matching paths.

S103、在局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列。S103. In the local road network, determine the ID sequence of the target road section according to the start point and the end point of the planned path.

本实施例中,根据局部路网,构建所有路段的加权有向图,加权有向图中包含有路段ID、路段的权值信息;确定规划路径的起点和终点在加权有向图中的位置;采用最短路径算法,和/或最少用时算法,找到起点与终点之间的所有连通路径;根据连通路径,确定目标路段的ID序列。In this embodiment, according to the local road network, the weighted directed graph of all road sections is constructed, and the weighted directed graph contains the ID of the road section and the weight information of the road section; the position of the starting point and the end point of the planned path in the weighted directed graph is determined ;Use the shortest path algorithm and/or the least time-consuming algorithm to find all connected paths between the start point and the end point; determine the ID sequence of the target road section according to the connected paths.

本实施例中,加权有向图的路段ID是为了标识路段,路段的权值信息是用于计算连通路径。在已知路段ID的加权有向图中,确定连通路径之后,可以根据连通路径的各个路段ID,得到目标路段的ID序列。具体地,路段的权值信息可以是路段的距离、路段的平均用时等等,从而可以根据路段的权值信息,采用最短路径算法,和/或最少用时算法,找到起点与终点之间的所有连通路径。In this embodiment, the link ID of the weighted directed graph is used to identify the link, and the weight information of the link is used to calculate the connected path. In the weighted directed graph of known link IDs, after the connected path is determined, the ID sequence of the target link can be obtained according to each link ID of the connected path. Specifically, the weight information of the road section can be the distance of the road section, the average time of the road section, etc., so that according to the weight information of the road section, the shortest path algorithm and/or the least time-consuming algorithm can be used to find all the distances between the starting point and the end point. connected path.

具体地,图5为本发明实施例提供的目标路段确定的示意图,如图5所示,服务器在局部路网中,构建所有路段的加权有向图,然后采用最短路径算法,和/或最少用时算法,找到起点与终点之间的所有连通路径,最终得到从起点到终点的路段是L2,L5,L7,L10,L12,L13,L14。Specifically, FIG. 5 is a schematic diagram of the determination of the target road section provided by the embodiment of the present invention. As shown in FIG. 5, the server constructs a weighted directed graph of all road sections in the local road network, and then uses the shortest path algorithm, and/or the least Use the time algorithm to find all connected paths between the starting point and the ending point, and finally get the road sections from the starting point to the ending point as L2, L5, L7, L10, L12, L13, and L14.

在一种可选的实施方式中,在执行步骤S103之前,还可以读取经纬度信息中的第一个经纬度坐标值,以及最后一个经纬度坐标值;以第一个经纬度坐标值为中心,预设的第二阈值为半径,确定起点的搜索范围;将位于搜索范围内且距离第一个经纬度坐标值最近的结点作为规划路径的起点;以最后一个经纬度坐标值为中心,预设的第三阈值为半径,确定终点的搜索范围;将位于搜索范围内且距离最后一个经纬度坐标值最近的结点作为规划路径的终点。In an optional implementation manner, before performing step S103, it is also possible to read the first latitude and longitude coordinate value and the last latitude and longitude coordinate value in the latitude and longitude information; centering on the first latitude and longitude coordinate value, preset The second threshold is the radius, which determines the search range of the starting point; the node within the search range and closest to the first latitude and longitude coordinate value is used as the starting point of the planned path; centered on the last latitude and longitude coordinate value, the preset third The threshold is the radius, which determines the search range of the end point; the node within the search range and closest to the last latitude and longitude coordinate value is used as the end point of the planned path.

需要说明的是,本实施例中最近是指两个点之间的直线距离最短。即结点与坐标值对应的点之间的直线距离最小。路径的经纬度坐标值是一个点串,选取点串的第一个点和点串的最后一个点。这里需要注意的是,一条路径确定之后,其对应的经纬度点串也确定了,其采集方式可以是按照预设的间距,在规划路径对应的线段上采集得到。It should be noted that the closest in this embodiment refers to the shortest straight-line distance between two points. That is, the straight-line distance between the node and the point corresponding to the coordinate value is the smallest. The latitude and longitude coordinate value of the path is a point string, select the first point of the point string and the last point of the point string. It should be noted here that after a path is determined, its corresponding longitude and latitude point strings are also determined, and the collection method can be collected on the line segment corresponding to the planned path according to the preset interval.

进一步地,如果当前搜索范围内查找不到符合要求的结点时,可以扩大搜索范围,直到找到位于搜索范围内且距离第一个经纬度坐标值最近的结点。Further, if no satisfying node can be found within the current search range, the search range can be expanded until a node within the search range and closest to the first latitude and longitude coordinate value is found.

S104、将目标路段的ID序列,以及目标路段所包含的附加信息反馈给终端;附加信息用于补充终端规划路径上缺失的路段信息。S104. Feed back the ID sequence of the target road section and the additional information contained in the target road section to the terminal; the additional information is used to supplement missing road section information on the route planned by the terminal.

本实施例中,将步骤S103中确定的目标路段的ID序列,以及目标路段所包含的附加信息反馈给终端。其中,附加信息包括:收费额度信息、途径点信息、警示信息、交通路况信息等。In this embodiment, the ID sequence of the target road segment determined in step S103 and the additional information included in the target road segment are fed back to the terminal. Wherein, the additional information includes: toll amount information, way point information, warning information, traffic condition information, and the like.

在一种可能的应用场景中,若连通路径的数量大于1,则则将与规划路径的路线形状匹配度最高的连通路径作为目标路径;并获取目标路径对应的目标路段的ID序列。通过路径的形状相似进行匹配,剔除其余的连通路径,将唯一的一条相似度最大的连通路径返回给终端。In a possible application scenario, if the number of connected paths is greater than 1, the connected path with the highest degree of matching with the route shape of the planned path is used as the target path; and the ID sequence of the target section corresponding to the target path is obtained. Matching is performed based on the similarity of the path shape, the remaining connected paths are eliminated, and the only connected path with the highest similarity is returned to the terminal.

需要说的是,路线形状匹配度是指两条路线缩放到相同尺寸之后两者的形状相似程度。具体地,可以将规划路径与连通路径进行堆叠,重合度越高,其对应的匹配度(相似度)也越高。What needs to be said is that the route shape matching degree refers to the degree of similarity in the shape of two routes after they are scaled to the same size. Specifically, the planned path and the connected path can be stacked, and the higher the degree of overlap, the higher the corresponding degree of matching (similarity).

在另一种可能的应用场景中,若连通路径的数量大于1,则筛选出连通路径的距离与规划路径的距离之差在预设范围内的所有连通路径;将筛选出的所有连通路径作为目标路径;并获取目标路径对应的目标路段的的目标路段的ID序列,以及目标路段所包含的附加信息反馈给终端。本实施根据连通路径的距离与规划路径的距离之差进行筛选,并按距离之差进行排序,给终端返回多条连通路径,以供用户选择。In another possible application scenario, if the number of connected paths is greater than 1, all connected paths whose distances between connected paths and planned paths are within a preset range are screened out; The target route; and obtain the ID sequence of the target road segment corresponding to the target route, and feed back the additional information contained in the target road segment to the terminal. In this implementation, screening is performed according to the difference between the distance of the connected path and the distance of the planned path, sorted according to the distance difference, and multiple connected paths are returned to the terminal for the user to choose.

本实施例中首先加载路网数据到内存中,构建R树。终端发送规划后的路径,经纬度适当抽稀同时编译成二进制格式减少网络传输以小端模式存储数据向后端发起请求,后端解码二进制成经纬度。后端方面根据请求的经纬度确定起终点。具体地,可以根据第一个经纬度和最后一个经纬度计算所属图幅或者瓦片,然后在图幅或者瓦片范围内查找一定距离内(例如10米内)距离经纬度最近的结点点确定为起点或者终点。根据传递到后端的经纬度查找R树中(空间索引)的所有候选路段(例如在30米半径的区域内,搜索与该区域相交的路段作为候选路段),根据候选路段构建局部路网,并生成加权有向图,其中路段的权值可以设置为路段的长度。利用迪杰克斯拉算法(或者其他最短路径算法例如A*等),在局部路网中计算起点到终点的最短距离,得到组成最短距离的目标路段序列。根据目标路段序列返回前端需要的信息。In this embodiment, the road network data is first loaded into the memory, and an R tree is constructed. The terminal sends the planned path, and the longitude and latitude are appropriately thinned out and compiled into a binary format to reduce network transmission. The data is stored in little-endian mode to initiate a request to the backend, and the backend decodes the binary into longitude and latitude. The backend determines the start and end points according to the requested latitude and longitude. Specifically, the map frame or tile can be calculated according to the first latitude and longitude and the last latitude and longitude, and then the node point closest to the latitude and longitude within a certain distance (for example, within 10 meters) can be found within the frame or tile to be determined as the starting point or the end point . Find all candidate road segments in the R tree (spatial index) according to the latitude and longitude passed to the backend (for example, in an area with a radius of 30 meters, search for the road segment that intersects with this area as a candidate road segment), construct a local road network according to the candidate road segments, and generate A weighted directed graph, where the weight of a road segment can be set to the length of the road segment. Using the Dijkstra algorithm (or other shortest path algorithms such as A*, etc.), calculate the shortest distance from the start point to the end point in the local road network, and obtain the target road segment sequence that constitutes the shortest distance. Return the information required by the front end according to the target road segment sequence.

具体地,以收费业务为例,当驾车端选定起点和终点后,可以发送算路请求给地图服务器,由地图服务器进行路径规划,倘若规划的路径中包含高速城高,国省道,地图服务器会将该部分经纬度坐标串以及车辆相关信息按照预先定义的传输协议回传给四维高速收费服务平台。四维高速收费服务平台得到坐标串之后,按照上述路径匹配算法进行路径匹配,得到四维路网中的若干路段,然后根据路段上挂接的收费标准以及业务原则计算该路径所需的高速费后,返回给地图服务器。最终,地图服务器连同收费信息以及规划后的路径一起反馈给驾车端。Specifically, taking the charging business as an example, when the driving end selects the starting point and the ending point, it can send a route calculation request to the map server, and the map server will plan the route. The server will return this part of the longitude and latitude coordinate string and vehicle related information to the four-dimensional high-speed toll service platform according to the pre-defined transmission protocol. After the four-dimensional high-speed toll service platform obtains the coordinate string, it performs path matching according to the above-mentioned path matching algorithm to obtain several road sections in the four-dimensional road network, and then calculates the high-speed fee required for the path according to the toll standards attached to the road sections and business principles, Return to the map server. Finally, the map server feeds back to the driving terminal together with the charging information and the planned route.

现有技术中,终端侧根据本地版本的地图来规划路径,并将规划路径发送给服务器。由于服务器侧的地图可能为最新版本的地图,而终端侧的地图为旧版地图,如果直接根据终端发送的规划路径向终端反馈路段信息,则容易出现路段匹配错误的情况,从而导致终端侧接收到的路段信息不准确。In the prior art, the terminal side plans the route according to the local version of the map, and sends the planned route to the server. Since the map on the server side may be the latest version of the map, while the map on the terminal side is an old version map, if the link information is fed back to the terminal directly according to the planned route sent by the terminal, it is easy to cause link matching errors, which will cause the terminal side to receive The segment information for is inaccurate.

针对上述问题,本实施例中,服务器首先从终端发送的规划路径中解析出经纬度信息(这是因为,不同版本的地图中相同路段的路段ID可能会变化,但是相同路段的经纬度信息不会变化,从而可以规避因为地图版本不一致而导致的路段匹配错误),然后根据经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网(由于R树中预先加载有根据路网数据所建立的路段空间索引,因此,在已知经纬度信息之后,可以通过R树构建的局部路网来对终端的规划路径进行路段匹配。此时得到的路段ID为服务器的最新版本地图的路段ID,其与终端的规划路径相匹配,从而可以避免服务器侧根据错误的路段ID向终端反馈错误的路段信息)。In view of the above problems, in this embodiment, the server first parses the latitude and longitude information from the planned route sent by the terminal (this is because the road segment ID of the same road segment in different versions of the map may change, but the latitude and longitude information of the same road segment will not change. , so as to avoid road segment matching errors caused by inconsistent map versions), and then search for road segments in the R tree that meet the preset conditions according to the latitude and longitude information, and build a local road network based on the found road segments (since the R tree is preloaded with a basis The link space index established by the road network data, therefore, after the latitude and longitude information is known, the planned path of the terminal can be matched through the local road network constructed by the R tree. The link ID obtained at this time is the latest version map of the server ID of the road segment, which matches the planned route of the terminal, thereby preventing the server side from feeding back wrong road segment information to the terminal based on the wrong road segment ID).

需要说明的是,由于终端侧地图上的路段信息往往不是最新版本,或者其加载的路段信息不够全面,因此,终端侧向服务器侧发送规划路径,目的是从服务器侧获取到该规划路径对应路段上更多的附加信息。而应用本实施例中的方法,服务器在确定目标路段的ID序列之后,将该目标路段的ID序列,以及该目标路段所包含的附加信息反馈给终端,从而可以获取到准确的路段信息,其反馈的附加信息充实了终端数据,可以支撑终端为用户提供更好的产品体验。It should be noted that since the road section information on the map on the terminal side is often not the latest version, or the road section information loaded by it is not comprehensive enough, the terminal side sends the planned path to the server side in order to obtain the road section corresponding to the planned path from the server side for more additional information. With the method in this embodiment, after the server determines the ID sequence of the target road section, it feeds back the ID sequence of the target road section and the additional information contained in the target road section to the terminal, so that accurate road section information can be obtained. The additional information fed back enriches the terminal data and can support the terminal to provide users with a better product experience.

本实施例,通过接收终端发送的规划路径;并从规划路径中,解析出经纬度信息;根据经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网,R树为预先根据加载的路网数据所建立的路段空间索引;在局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;将目标路段的ID序列,以及目标路段所包含的附加信息反馈给终端;附加信息用于补充终端规划路径上缺失的路段信息。从空间上实现了终端的路径数据与后端的路径数据的匹配,解决了终端和服务端数据版本不一致造成的信息有误的问题,提高了路径匹配的准确性,保证了数据的真实性和准确性,提供的目标路段所包含的附加信息充实了终端数据,支撑终端为用户提供更好的产品体验。In this embodiment, by receiving the planned path sent by the terminal; and analyzing the latitude and longitude information from the planned path; according to the latitude and longitude information, searching for road sections in the R tree that meet the preset conditions, and constructing a local road network based on the found road sections, the R tree It is the road segment spatial index established in advance according to the loaded road network data; in the local road network, according to the starting point and end point of the planned path, determine the ID sequence of the target road segment; combine the ID sequence of the target road segment and the additional The information is fed back to the terminal; the additional information is used to supplement the missing section information on the planned route of the terminal. From the space, the path data of the terminal and the path data of the back end are matched, which solves the problem of incorrect information caused by the inconsistent data versions of the terminal and the server, improves the accuracy of path matching, and ensures the authenticity and accuracy of the data. The additional information contained in the provided target section enriches the terminal data and supports the terminal to provide users with a better product experience.

图6为本发明实施例二提供的路径匹配方法的流程图,如图6所示,本实施例中的方法可以包括:FIG. 6 is a flow chart of the path matching method provided in Embodiment 2 of the present invention. As shown in FIG. 6, the method in this embodiment may include:

S201、根据当前位置信息以及终点位置信息,生成规划路径。S201. Generate a planned route according to the current location information and the destination location information.

本实施例中,终端可以通过定位传感器获取当前位置信息,然后基于终点位置,通过地图类APP生成规划路径。In this embodiment, the terminal can obtain current location information through a positioning sensor, and then generate a planned route through a map-type APP based on the destination location.

S202、将规划路径发送给后台服务器。S202. Send the planned path to the background server.

本实施例中,终端将步骤S201中生成的规划路径发送给后台服务器,以使得后台服务器执行如图2所示的方法。In this embodiment, the terminal sends the planned route generated in step S201 to the background server, so that the background server executes the method shown in FIG. 2 .

S203、接收后台服务器发送的目标路段的ID序列,以及目标路段所包含的附加信息。S203. Receive the ID sequence of the target road segment and the additional information contained in the target road segment sent by the background server.

本实施例中,终端接收后台服务器反馈的目标路段的ID序列以及其对应的附件信息,该附件信息可以包括路段的收费额度信息、途径点信息、警示信息、交通路况信息等等。In this embodiment, the terminal receives the ID sequence of the target road segment and its corresponding attachment information fed back by the background server. The attachment information may include the toll amount information of the road segment, way point information, warning information, traffic condition information, and the like.

S204、显示目标路段的ID序列,以及目标路段所包含的附加信息;附加信息用于补充终端规划路径上缺失的路段信息。S204, displaying the ID sequence of the target road section and the additional information contained in the target road section; the additional information is used to supplement missing road section information on the planned route of the terminal.

本实施例中,终端可以在当前的地图显示界面上显示目标路段的ID序列,以及目标路段所包含的附加信息。In this embodiment, the terminal can display the ID sequence of the target road segment and the additional information contained in the target road segment on the current map display interface.

本实施例,通过根据当前位置信息以及终点位置信息,生成规划路径;将规划路径发送给后台服务器;接收后台服务器发送的目标路段的ID序列,以及目标路段所包含的附加信息;显示目标路段的ID序列,以及目标路段所包含的附加信息;附加信息用于补充终端规划路径上缺失的路段信息。从空间上实现了终端的路径数据与后端的路径数据的匹配,解决了终端和服务端数据版本不一致造成的信息有误的问题,提高了路径匹配的准确性,保证了数据的真实性和准确性,提供的目标路段所包含的附加信息充实了终端数据,支撑终端为用户提供更好的产品体验。In this embodiment, the planned path is generated according to the current location information and the terminal location information; the planned path is sent to the background server; the ID sequence of the target road section sent by the background server and the additional information contained in the target road section are received; the target road section is displayed ID sequence, and the additional information contained in the target road segment; the additional information is used to supplement the missing road segment information on the terminal's planned route. From the space, the path data of the terminal and the path data of the back end are matched, which solves the problem of incorrect information caused by the inconsistent data versions of the terminal and the server, improves the accuracy of path matching, and ensures the authenticity and accuracy of the data. The additional information contained in the provided target section enriches the terminal data and supports the terminal to provide users with a better product experience.

图7为本发明实施例三提供的路径匹配装置的结构示意图,如图7所示,本实施例的路径匹配装置可以包括:FIG. 7 is a schematic structural diagram of a path matching device provided in Embodiment 3 of the present invention. As shown in FIG. 7, the path matching device in this embodiment may include:

收发模块31,用于接收终端发送的规划路径;并从规划路径中,解析出经纬度信息;The transceiver module 31 is used to receive the planned path sent by the terminal; and analyze the latitude and longitude information from the planned path;

处理模块32,用于根据经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网,R树为预先根据加载的路网数据所建立的路段空间索引;以及用于在局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;The processing module 32 is used to search for road sections satisfying the preset conditions in the R tree according to the latitude and longitude information, and construct a local road network according to the found road sections. The R tree is a road section spatial index established in advance according to the loaded road network data; and In the local road network, according to the starting point and end point of the planned path, determine the ID sequence of the target road section;

收发模块31,还用于将目标路段的ID序列,以及目标路段所包含的附加信息反馈给终端;附加信息用于补充终端规划路径上缺失的路段信息。The transceiver module 31 is also used to feed back the ID sequence of the target road segment and the additional information contained in the target road segment to the terminal; the additional information is used to supplement missing road segment information on the terminal's planned route.

可选地,处理模块32,具体用于:Optionally, the processing module 32 is specifically used for:

获取经纬度在电子地图上的坐标值,以坐标值为中心,预设的第一阈值为半径,确定路段的搜索区域;Obtain the coordinate values of the latitude and longitude on the electronic map, center on the coordinate value, and the preset first threshold is the radius, and determine the search area of the road segment;

通过R树搜索与搜索区域相交的所有路段,作为候选路段;其中,R树的路段空间索引中包含有路段ID信息、路段的权值信息、路段的经纬度信息,以及路段附加信息;路段附加信息包括:收费额度信息、途径点信息、警示信息、交通路况信息;Search all road sections intersecting with the search area through the R tree as candidate road sections; wherein, the road section spatial index of the R tree contains road section ID information, road section weight information, road section latitude and longitude information, and road section additional information; road section additional information Including: charging amount information, way point information, warning information, traffic road condition information;

基于候选路段,构建局部路网。可选地,处理模块32,还用于:在局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列之前,读取经纬度信息中的第一个经纬度坐标值,以及最后一个经纬度坐标值;Based on the candidate road sections, a local road network is constructed. Optionally, the processing module 32 is also used to read the first latitude and longitude coordinate value in the latitude and longitude information, and the last Latitude and longitude coordinate value;

以第一个经纬度坐标值为中心,预设的第二阈值为半径,确定起点的搜索范围;将位于搜索范围内且距离第一个经纬度坐标值最近的结点作为规划路径的起点;Taking the first latitude and longitude coordinate value as the center, and the preset second threshold as the radius, determine the search range of the starting point; use the node within the search range and closest to the first latitude and longitude coordinate value as the starting point of the planned path;

以最后一个经纬度坐标值为中心,预设的第三阈值为半径,确定终点的搜索范围;将位于搜索范围内且距离最后一个经纬度坐标值最近的结点作为规划路径的终点。The last latitude and longitude coordinate value is the center, and the preset third threshold is the radius to determine the search range of the end point; the node within the search range and closest to the last latitude and longitude coordinate value is used as the end point of the planned path.

可选地,处理模块32,还用于:Optionally, the processing module 32 is also used for:

根据局部路网,构建所有路段的加权有向图,加权有向图中包含有路段ID、路段的权值信息;According to the local road network, a weighted directed graph of all road sections is constructed, and the weighted directed graph contains the ID of the road section and the weight information of the road section;

确定规划路径的起点和终点在加权有向图中的位置;Determine the position of the starting point and end point of the planned path in the weighted directed graph;

采用最短路径算法,和/或最少用时算法,找到起点与终点之间的所有连通路径;Use the shortest path algorithm and/or the least time-consuming algorithm to find all connected paths between the starting point and the ending point;

根据连通路径,确定目标路段的ID序列。According to the connected path, the ID sequence of the target link is determined.

可选地,处理模块32,还用于:Optionally, the processing module 32 is also used for:

若连通路径的数量大于1,则将与规划路径的路线形状匹配度最高的连通路径作为目标路径;并获取目标路径对应的目标路段的ID序列;或者If the number of connected paths is greater than 1, the connected path with the highest degree of matching with the route shape of the planned path is used as the target path; and the ID sequence of the target road section corresponding to the target path is obtained; or

若连通路径的数量大于1,则筛选出连通路径的距离与规划路径的距离之差在预设范围内的所有连通路径;将筛选出的所有连通路径作为目标路径;并获取目标路径对应的目标路段的的目标路段的ID序列。If the number of connected paths is greater than 1, filter out all connected paths whose distance between the connected path and the distance of the planned path is within a preset range; use all the filtered connected paths as the target path; and obtain the target corresponding to the target path The ID sequence of the target segment of the segment.

本实施例,通过接收终端发送的规划路径;并从规划路径中,解析出经纬度信息;根据经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网,R树为预先根据加载的路网数据所建立的路段空间索引;在局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;将目标路段的ID序列,以及目标路段所包含的附加信息反馈给终端;附加信息用于补充终端规划路径上缺失的路段信息。从空间上实现了终端的路径数据与后端的路径数据的匹配,解决了终端和服务端数据版本不一致造成的信息有误的问题,提高了路径匹配的准确性,保证了数据的真实性和准确性,提供的目标路段所包含的附加信息充实了终端数据,支撑终端为用户提供更好的产品体验。In this embodiment, by receiving the planned path sent by the terminal; and analyzing the latitude and longitude information from the planned path; according to the latitude and longitude information, searching for road sections in the R tree that meet the preset conditions, and constructing a local road network based on the found road sections, the R tree It is the road segment spatial index established in advance according to the loaded road network data; in the local road network, according to the starting point and end point of the planned path, determine the ID sequence of the target road segment; combine the ID sequence of the target road segment and the additional The information is fed back to the terminal; the additional information is used to supplement the missing section information on the planned route of the terminal. From the space, the path data of the terminal and the path data of the back end are matched, which solves the problem of incorrect information caused by the inconsistent data versions of the terminal and the server, improves the accuracy of path matching, and ensures the authenticity and accuracy of the data. The additional information contained in the provided target section enriches the terminal data and supports the terminal to provide users with a better product experience.

本实施例的路径匹配装置,可以执行图2所示方法中的技术方案,其具体实现过程和技术原理参见图2所示方法中的相关描述,此处不再赘述。The path matching device in this embodiment can implement the technical solution in the method shown in FIG. 2 . For the specific implementation process and technical principles, refer to the relevant description in the method shown in FIG. 2 , and details will not be repeated here.

图8为本发明实施例四提供的路径匹配装置的结构示意图,如图8所示,本实施例的路径匹配装置可以包括:FIG. 8 is a schematic structural diagram of a path matching device provided in Embodiment 4 of the present invention. As shown in FIG. 8, the path matching device in this embodiment may include:

处理模块41,用于根据当前位置信息以及终点位置信息,生成规划路径;A processing module 41, configured to generate a planned route according to the current location information and the terminal location information;

将规划路径发送给后台服务器;其中,后台服务器用于执行如第一方面中任一项的方法;Send the planned path to the background server; wherein, the background server is used to execute the method as in any one of the first aspect;

接收模块42,用于接收后台服务器发送的目标路段的ID序列,以及目标路段所包含的附加信息;The receiving module 42 is used to receive the ID sequence of the target road section sent by the background server, and the additional information contained in the target road section;

显示目标路段的ID序列,以及目标路段所包含的附加信息;附加信息用于补充终端规划路径上缺失的路段信息。Display the ID sequence of the target road segment and the additional information contained in the target road segment; the additional information is used to supplement the missing road segment information on the terminal's planned route.

本实施例,通过根据当前位置信息以及终点位置信息,生成规划路径;将规划路径发送给后台服务器;接收后台服务器发送的目标路段的ID序列,以及目标路段所包含的附加信息;显示目标路段的ID序列,以及目标路段所包含的附加信息;附加信息用于补充终端规划路径上缺失的路段信息。从空间上实现了终端的路径数据与后端的路径数据的匹配,解决了终端和服务端数据版本不一致造成的信息有误的问题,提高了路径匹配的准确性,保证了数据的真实性和准确性,提供的目标路段所包含的附加信息充实了终端数据,支撑终端为用户提供更好的产品体验。In this embodiment, the planned path is generated according to the current location information and the terminal location information; the planned path is sent to the background server; the ID sequence of the target road section sent by the background server and the additional information contained in the target road section are received; the target road section is displayed ID sequence, and the additional information contained in the target road segment; the additional information is used to supplement the missing road segment information on the terminal's planned route. From the space, the path data of the terminal and the path data of the back end are matched, which solves the problem of incorrect information caused by the inconsistent data versions of the terminal and the server, improves the accuracy of path matching, and ensures the authenticity and accuracy of the data. The additional information contained in the provided target section enriches the terminal data and supports the terminal to provide users with a better product experience.

本实施例的路径匹配装置,可以执行图6所示方法中的技术方案,其具体实现过程和技术原理参见图6所示方法中的相关描述,此处不再赘述。The path matching device in this embodiment can implement the technical solution in the method shown in FIG. 6 . For the specific implementation process and technical principle, refer to the relevant description in the method shown in FIG. 6 , which will not be repeated here.

图9为本发明实施例五提供的路径匹配系统的结构示意图,如图9所示,本实施例的路径匹配系统50可以终端51和服务器52;FIG. 9 is a schematic structural diagram of a path matching system provided in Embodiment 5 of the present invention. As shown in FIG. 9 , the path matching system 50 of this embodiment can be a terminal 51 and a server 52;

终端51,用于根据当前位置信息以及终点位置信息,生成规划路径,并将规划路径发送给服务器;并接收服务器发送的目标路段的ID序列,以及目标路段所包含的附加信息;显示目标路段的ID序列,以及目标路段所包含的附加信息;The terminal 51 is used to generate a planned route according to the current position information and the terminal position information, and send the planned route to the server; and receive the ID sequence of the target road section sent by the server, and the additional information contained in the target road section; display the target road section ID sequence, and additional information contained in the target road segment;

服务器52,用于接收终端发送的规划路径;并从规划路径中,解析出经纬度信息;根据经纬度信息,搜索R树中满足预设条件的路段,并根据找到的路段构建局部路网,R树为预先根据加载的路网数据所建立的路段空间索引;以及用于在局部路网中,根据规划路径的起点和终点,确定目标路段的ID序列;并将目标路段的ID序列,以及目标路段所包含的附加信息反馈给终端;附加信息用于补充终端规划路径上缺失的路段信息。The server 52 is used to receive the planned path sent by the terminal; and analyze the latitude and longitude information from the planned path; search for road sections in the R tree that meet the preset conditions according to the latitude and longitude information, and construct a local road network based on the found road sections, the R tree It is the road segment spatial index established in advance according to the loaded road network data; and it is used to determine the ID sequence of the target road segment according to the starting point and end point of the planned path in the local road network; and the ID sequence of the target road segment, and the target road segment The contained additional information is fed back to the terminal; the additional information is used to supplement the missing section information on the terminal's planned route.

本实施例的路径匹配系统,可以执行图2、图6所示方法中的技术方案,其具体实现过程和技术原理参见图2、图6所示方法中的相关描述,此处不再赘述。The path matching system of this embodiment can implement the technical solutions in the methods shown in FIG. 2 and FIG. 6 . For the specific implementation process and technical principles, refer to the relevant descriptions in the methods shown in FIG. 2 and FIG. 6 , and details will not be repeated here.

图10为本发明实施例六提供的路径匹配系统的结构示意图,如图10所示,本实施例的路径匹配系统60可以包括:处理器61和存储器62。FIG. 10 is a schematic structural diagram of a path matching system provided by Embodiment 6 of the present invention. As shown in FIG. 10 , the path matching system 60 of this embodiment may include: a processor 61 and a memory 62 .

存储器62,用于存储计算机程序(如实现上述路径匹配方法的应用程序、功能模块等)、计算机指令等;The memory 62 is used to store computer programs (such as application programs, functional modules, etc. for realizing the above-mentioned path matching method), computer instructions, etc.;

上述的计算机程序、计算机指令等可以分区存储在一个或多个存储器62中。并且上述的计算机程序、计算机指令、数据等可以被处理器61调用。The above-mentioned computer programs, computer instructions, etc. may be stored in one or more memories 62 in partitions. And the above-mentioned computer programs, computer instructions, data, etc. can be invoked by the processor 61 .

处理器61,用于执行存储器62存储的计算机程序,以实现上述实施例涉及的方法中的各个步骤。The processor 61 is configured to execute the computer program stored in the memory 62, so as to implement various steps in the methods involved in the above-mentioned embodiments.

具体可以参见前面方法实施例中的相关描述。For details, refer to the related descriptions in the foregoing method embodiments.

处理器61和存储器62可以是独立结构,也可以是集成在一起的集成结构。当处理器61和存储器62是独立结构时,存储器62、处理器61可以通过总线63耦合连接。The processor 61 and the memory 62 may be an independent structure, or an integrated structure integrated together. When the processor 61 and the memory 62 have independent structures, the memory 62 and the processor 61 may be coupled and connected through the bus 63 .

本实施例的服务器可以执行图2、图6所示方法中的技术方案,其具体实现过程和技术原理参见图2、图6所示方法中的相关描述,此处不再赘述。The server in this embodiment can implement the technical solutions in the methods shown in FIG. 2 and FIG. 6 . For the specific implementation process and technical principles, refer to the relevant descriptions in the methods shown in FIG. 2 and FIG. 6 , and details will not be repeated here.

此外,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当用户设备的至少一个处理器执行该计算机执行指令时,用户设备执行上述各种可能的方法。In addition, an embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When at least one processor of the user equipment executes the computer-executable instructions, the user equipment executes the above-mentioned various possibilities. Methods.

其中,计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于用户设备中。当然,处理器和存储介质也可以作为分立组件存在于通信设备中。Among other things, computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC. Additionally, the ASIC may be located in the user equipment. Of course, the processor and the storage medium can also exist in the communication device as discrete components.

本申请还提供一种程序产品,程序产品包括计算机程序,计算机程序存储在可读存储介质中,服务器的至少一个处理器可以从可读存储介质读取计算机程序,至少一个处理器执行计算机程序使得服务器实施上述本发明实施例任一的方法。The present application also provides a program product, the program product includes a computer program, the computer program is stored in a readable storage medium, at least one processor of the server can read the computer program from the readable storage medium, and at least one processor executes the computer program so that The server implements the method of any one of the above-mentioned embodiments of the present invention.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (10)

1. a kind of route matching method characterized by comprising
Receive the planning path that terminal is sent;And from the planning path, latitude and longitude information is parsed;
According to the latitude and longitude information, the section for meeting preset condition in R tree is searched for, and local road is constructed according to the section found Net, the section spatial index that the R tree is established for the road net data previously according to load;
In the local road network, according to the beginning and end of planning path, the ID sequence of target road section is determined;
The additional information that the ID sequence of the target road section and the target road section are included is fed back into terminal;It is described attached Add information for supplementing the road section information lacked in terminal planning path.
2. the method according to claim 1, wherein searching for meet in R tree and preset according to the latitude and longitude information The section of condition, and local road network is constructed according to the section found;Include:
The coordinate value of longitude and latitude on the electronic map is obtained, centered on the coordinate value, preset first threshold is radius, really Determine the region of search in section;
All sections intersected with described search region are searched for by R tree, as candidate road section;Wherein, the section of the R tree is empty Between index in include road section ID, the value information in section, the latitude and longitude information in section and section additional information;The road Section additional information includes: charge amount information, approach point information, information warning, traffic information;
Based on the candidate road section, local road network is constructed.
3. method according to claim 1 or 2, which is characterized in that in the local road network, according to rising for planning path Point and terminal, before the ID sequence for determining target road section, further includes:
Read the first latitude and longitude coordinates value and the last one latitude and longitude coordinates value in the latitude and longitude information;
Centered on first latitude and longitude coordinates value, preset second threshold is radius, determines the search range of starting point;It will Within the scope of described search and starting point of the node nearest apart from first latitude and longitude coordinates value as planning path;
Centered on the last one described latitude and longitude coordinates value, preset third threshold value is radius, determines the search range of terminal; It will be located within the scope of described search and the node nearest apart from the last one latitude and longitude coordinates value be as the end of planning path Point.
4. method according to claim 1 or 2, which is characterized in that in the local road network, according to rising for planning path Point and terminal, determine the ID sequence of target road section, comprising:
According to the local road network, the weighted digraph in all sections is constructed;
Determine position of the beginning and end of planning path in the weighted digraph;
Using shortest path first, and/or minimum used time algorithm, find all communication paths between Origin And Destination;
According to the communication path, the ID sequence of target road section is determined.
5. according to the method described in claim 4, it is characterized in that, determining the ID sequence of target road section according to the communication path Column, comprising:
If the quantity of the communication path is greater than 1, by the highest access of route shape matching degree with the planning path Diameter is as destination path;And obtain the ID sequence of the corresponding target road section of the destination path;Or
If the quantity of the communication path is greater than 1, the difference at a distance from the distance and planning path of communication path is filtered out pre- If all communication paths in range;Using all communication paths filtered out as destination path;And obtain the destination path The ID sequence of the target road section of corresponding target road section.
6. a kind of route matching method characterized by comprising
According to current location information and end point location information, planning path is generated;
The planning path is sent to background server;Wherein, the background server is for executing as in claim 1-5 Described in any item methods;
The additional letter that the ID sequence and the target road section for receiving the target road section that the background server is sent are included Breath;
The additional information that the ID sequence and the target road section in displaying target section are included;The additional information is for mending Fill the road section information lacked in terminal planning path.
7. a kind of route matching device characterized by comprising
Transceiver module, for receiving the planning path of terminal transmission;And from the planning path, latitude and longitude information is parsed;
Processing module, for according to the latitude and longitude information, searching for the section for meeting preset condition in R tree, and according to finding Section constructs local road network, the section spatial index that the R tree is established for the road net data previously according to load;And it is used for In the local road network, according to the beginning and end of planning path, the ID sequence of target road section is determined;
The transceiver module is also used to the additional letter for being included by the ID sequence of the target road section and the target road section Breath feeds back to terminal;The additional information is for supplementing the road section information lacked in terminal planning path.
8. device according to claim 7, which is characterized in that the processing module is specifically used for:
The coordinate value of longitude and latitude on the electronic map is obtained, centered on the coordinate value, preset first threshold is radius, really Determine the region of search in section;
All sections intersected with described search region are searched for by R tree, as candidate road section;Wherein, the section Spatial Cable of R tree It include section id information, the value information in section, the latitude and longitude information in section and section additional information in drawing;The road Section additional information includes: charge amount information, approach point information, information warning, traffic information;
Based on the candidate road section, local road network is constructed.
9. a kind of route matching system characterized by comprising terminal and server;
The terminal, for according to current location information and end point location information, generating planning path, and by the planning road Diameter is sent to server;And receive the ID sequence for the target road section that the server is sent and the target road section is included Additional information;The additional information that the ID sequence and the target road section in displaying target section are included;
The server, for receiving the planning path of terminal transmission;And from the planning path, longitude and latitude letter is parsed Breath;According to the latitude and longitude information, the section for meeting preset condition in R tree is searched for, and local road is constructed according to the section found Net, the section spatial index that the R tree is established for the road net data previously according to load;And in the local road network In, according to the beginning and end of planning path, determine the ID sequence of target road section;And by the ID sequence of the target road section, with And the additional information that the target road section is included feeds back to the terminal;The additional information is for supplementing terminal planning path The road section information of upper missing.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Route matching method of any of claims 1-6 is realized when execution.
CN201910638749.1A 2019-07-16 2019-07-16 Path matching method, device, system and storage medium Active CN110345964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910638749.1A CN110345964B (en) 2019-07-16 2019-07-16 Path matching method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910638749.1A CN110345964B (en) 2019-07-16 2019-07-16 Path matching method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN110345964A true CN110345964A (en) 2019-10-18
CN110345964B CN110345964B (en) 2021-04-30

Family

ID=68176404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910638749.1A Active CN110345964B (en) 2019-07-16 2019-07-16 Path matching method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN110345964B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111854768A (en) * 2020-03-05 2020-10-30 北京嘀嘀无限科技发展有限公司 Method and system for determining map route, terminal and computer-readable storage medium
CN112050820A (en) * 2020-09-02 2020-12-08 平安科技(深圳)有限公司 Road matching method and device, electronic equipment and readable storage medium
CN112284405A (en) * 2020-10-09 2021-01-29 腾讯科技(深圳)有限公司 Method, apparatus, computing device and computer readable medium for navigation
CN112800161A (en) * 2021-02-08 2021-05-14 腾讯科技(深圳)有限公司 Road network matching method and device, storage medium and electronic equipment
CN114065992A (en) * 2020-08-05 2022-02-18 北京三快在线科技有限公司 Route planning and order recommendation method and device, electronic equipment and storage medium
CN114353811A (en) * 2021-12-30 2022-04-15 广州小鹏自动驾驶科技有限公司 High-precision map loading method and device, vehicle and storage medium
CN114440914A (en) * 2022-01-26 2022-05-06 腾讯科技(深圳)有限公司 Path planning method, device, electronic device, storage medium and program product
CN115077528A (en) * 2022-06-01 2022-09-20 阿里巴巴(中国)有限公司 Model training method and device and electronic equipment
CN115292962A (en) * 2022-09-14 2022-11-04 深圳市城市交通规划设计研究中心股份有限公司 Path similarity matching method and device based on track rarefaction and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944095A (en) * 2009-07-08 2011-01-12 广东融讯信息科技有限公司 Path planning method and system
CN102147261A (en) * 2010-12-22 2011-08-10 南昌睿行科技有限公司 Method and system for map matching of transportation vehicle GPS (Global Position System) data
CN103162684A (en) * 2011-12-13 2013-06-19 泰为信息科技公司 Navigation system with map matching mechanism and method of operation thereof
CN104567906A (en) * 2015-01-14 2015-04-29 合肥革绿信息科技有限公司 Beidou-based urban road network vehicle path planning method and device
CN106969764A (en) * 2016-01-13 2017-07-21 北京四维图新科技股份有限公司 A kind of road matching method, device and vehicular map acquisition system
JP2018013924A (en) * 2016-07-20 2018-01-25 株式会社豊田中央研究所 Mobile path search device, symbol string search device, and program
CN107806883A (en) * 2016-09-08 2018-03-16 高德信息技术有限公司 A kind of air navigation aid and device
CN109556612A (en) * 2017-09-26 2019-04-02 腾讯科技(深圳)有限公司 A kind of method for processing navigation information, device, server, terminal and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944095A (en) * 2009-07-08 2011-01-12 广东融讯信息科技有限公司 Path planning method and system
CN102147261A (en) * 2010-12-22 2011-08-10 南昌睿行科技有限公司 Method and system for map matching of transportation vehicle GPS (Global Position System) data
CN103162684A (en) * 2011-12-13 2013-06-19 泰为信息科技公司 Navigation system with map matching mechanism and method of operation thereof
CN104567906A (en) * 2015-01-14 2015-04-29 合肥革绿信息科技有限公司 Beidou-based urban road network vehicle path planning method and device
CN106969764A (en) * 2016-01-13 2017-07-21 北京四维图新科技股份有限公司 A kind of road matching method, device and vehicular map acquisition system
JP2018013924A (en) * 2016-07-20 2018-01-25 株式会社豊田中央研究所 Mobile path search device, symbol string search device, and program
CN107806883A (en) * 2016-09-08 2018-03-16 高德信息技术有限公司 A kind of air navigation aid and device
CN109556612A (en) * 2017-09-26 2019-04-02 腾讯科技(深圳)有限公司 A kind of method for processing navigation information, device, server, terminal and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YANHONG LIGUOHUI LIJIANJUN LIKAI YAO: "SKQAI: A novel air index for spatial keyword query processing in road networks", 《INFORMATION SCIENCES》 *
张秀红等: "道路网约束和种子树索引的居民地粗匹配", 《测绘科学》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111854768B (en) * 2020-03-05 2022-05-24 北京嘀嘀无限科技发展有限公司 Method and system for determining map route, terminal, and computer-readable storage medium
CN111854768A (en) * 2020-03-05 2020-10-30 北京嘀嘀无限科技发展有限公司 Method and system for determining map route, terminal and computer-readable storage medium
CN114065992A (en) * 2020-08-05 2022-02-18 北京三快在线科技有限公司 Route planning and order recommendation method and device, electronic equipment and storage medium
CN112050820A (en) * 2020-09-02 2020-12-08 平安科技(深圳)有限公司 Road matching method and device, electronic equipment and readable storage medium
CN112050820B (en) * 2020-09-02 2024-05-07 平安科技(深圳)有限公司 Road matching method, device, electronic equipment and readable storage medium
CN112284405A (en) * 2020-10-09 2021-01-29 腾讯科技(深圳)有限公司 Method, apparatus, computing device and computer readable medium for navigation
CN112284405B (en) * 2020-10-09 2022-06-07 腾讯科技(深圳)有限公司 Method, apparatus, computing device and computer readable medium for navigation
CN112800161A (en) * 2021-02-08 2021-05-14 腾讯科技(深圳)有限公司 Road network matching method and device, storage medium and electronic equipment
CN112800161B (en) * 2021-02-08 2022-03-25 腾讯科技(深圳)有限公司 Road network matching method and device, storage medium and electronic equipment
CN114353811A (en) * 2021-12-30 2022-04-15 广州小鹏自动驾驶科技有限公司 High-precision map loading method and device, vehicle and storage medium
CN114440914A (en) * 2022-01-26 2022-05-06 腾讯科技(深圳)有限公司 Path planning method, device, electronic device, storage medium and program product
CN114440914B (en) * 2022-01-26 2025-01-28 腾讯科技(深圳)有限公司 Path planning method, device, electronic device, storage medium and program product
CN115077528A (en) * 2022-06-01 2022-09-20 阿里巴巴(中国)有限公司 Model training method and device and electronic equipment
CN115292962A (en) * 2022-09-14 2022-11-04 深圳市城市交通规划设计研究中心股份有限公司 Path similarity matching method and device based on track rarefaction and storage medium
CN115292962B (en) * 2022-09-14 2023-02-14 深圳市城市交通规划设计研究中心股份有限公司 Path similarity matching method and device based on track rarefaction and storage medium

Also Published As

Publication number Publication date
CN110345964B (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN110345964A (en) Route matching method, apparatus, system and storage medium
US8260549B2 (en) Transmission of routes between client and server using route IDs
WO2020228706A1 (en) Fence address-based coordinate data processing method and apparatus, and computer device
JP5599830B2 (en) Route guidance system, route guidance server device, and navigation terminal device
CN111859167A (en) Path acquisition method, device, system and storage medium
CN109813327B (en) Vehicle running track loss compensation method
US7949467B2 (en) Road map data structure, road map data structure creating method, road map data storage medium, and navigation device
EP2659228B1 (en) Generation of a seamless network of road or line segments in a digital map
CN111982111B (en) Route data for navigation systems
US10054450B2 (en) Method and apparatus for determining trajectory paths on a transportation structure
CN106595682A (en) Differential updating method and system of map data, and server
CN112444254B (en) Method, apparatus and computer program product for generating correspondence between map versions
WO2014101628A1 (en) Method and device for determining traffic route of electronic map
CN101286242A (en) Method for matching GPS positioning information with electronic map toll road section
CN106528589A (en) Data management method and device
CN112444255B (en) Method, apparatus and computer program product for generating correspondence between map versions
EP3748301B1 (en) Method, apparatus, and computer program product for map data agnostic route fingerprints
CN105550221B (en) Information search method and device
WO2011082628A1 (en) Method and device for searching information
CN109212571A (en) Navigation locating method and device
Chen et al. Enabling smart urban services with gps trajectory data
CN105606116A (en) Navigation method, navigation device and system for navigating route
CN106595681A (en) Differential updating method for path data, system and server
EP3748302B1 (en) Method, apparatus, and computer program product for map data agnostic route fingerprints
CN108332754A (en) Method for optimizing route, device, electronic equipment and computer storage media

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant