WO2023029553A1 - Route recommendation method and apparatus, and related device - Google Patents

Route recommendation method and apparatus, and related device Download PDF

Info

Publication number
WO2023029553A1
WO2023029553A1 PCT/CN2022/091661 CN2022091661W WO2023029553A1 WO 2023029553 A1 WO2023029553 A1 WO 2023029553A1 CN 2022091661 W CN2022091661 W CN 2022091661W WO 2023029553 A1 WO2023029553 A1 WO 2023029553A1
Authority
WO
WIPO (PCT)
Prior art keywords
road network
path
route
candidate
recommended
Prior art date
Application number
PCT/CN2022/091661
Other languages
French (fr)
Chinese (zh)
Inventor
贾佳峰
余思
王工艺
许佳捷
刘安
房俊华
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023029553A1 publication Critical patent/WO2023029553A1/en

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/024Guidance services

Definitions

  • the determined candidate path may be, for example, the moving path 1 shown in FIG. 2 .
  • the mobile terminals held by other users may access a far access point, but not necessarily access the communication base station closest to the mobile terminal.
  • some mobile terminals may access to distant communication base stations because the number of terminal devices connected to the nearest communication base station reaches the upper limit, which makes the There may be a detour problem in the candidate paths searched in the order in which the terminals access the communication base stations.
  • the path recommendation device 300 when the path recommendation device 300 constructs the bipartite graph, it can use all the road network segments in the historically recommended route and the access points corresponding to each road network segment as the two types of vertices in the first bipartite graph, and pass Traverse the road network sections included in the historical recommended route and the access points corresponding to the historical recommended route, determine the access points that the mobile terminals carried by other users access when moving on each road network section, and An edge is constructed between the access point and the road network segment in the subgraph, so that a first bipartite graph based on the access point and the road network segment can be constructed, as shown on the left side of FIG. 7 .

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)

Abstract

A route recommendation method, comprising: acquiring a route recommendation request, the route recommendation request comprising an identifier of an origin and an identifier of a destination; determining a recommended route according to a signaling access sequence corresponding to a road network route passing through the origin and the destination, the determined recommended route comprising information of a road network section that passes from the origin to the destination; and finally outputting the recommended route. Since when recommending for a user a feasible route from the origin to the destination, the recommended route is determined according to the signaling access sequence corresponding to the road network routes of other users when passing through the origin and destination, which allows the route that is finally recommended to the user to avoid detours as much as possible, so as to meet the needs of the user.

Description

路径推荐的方法、装置及相关设备Method, device and related equipment for route recommendation
本申请要求于2021年8月30日递交中国国家知识产权局、申请号为202111007567.8,发明名称为“路径推荐的方法、装置及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111007567.8 and the title of the invention "method, device and related equipment for route recommendation" submitted to the State Intellectual Property Office of China on August 30, 2021, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本本申请涉及人工智能(Artificial Intelligence,AI)技术领域,尤其涉及一种路径推荐的方法、装置及相关设备。This application relates to the technical field of artificial intelligence (AI), in particular to a method, device and related equipment for route recommendation.
背景技术Background technique
实际应用场景中,由于路网中路段的复杂性,用户可能并不清楚如何从当前位置到达其所期望到达的目的地。其中,路网,是指交通领域的道路网络;而路网中的各个路段,具体可以是路网中相邻两个交通路口之间的路径。In practical application scenarios, due to the complexity of road sections in the road network, users may not know how to get from their current location to their desired destination. Wherein, the road network refers to the road network in the traffic field; and each road section in the road network may specifically be a path between two adjacent traffic intersections in the road network.
为此,目前在智慧交通等应用领域中,可以为接入网络的用户智能推荐在路网中的移动路径,从而用户可以在推荐的移动路径的指引下,从起始地成功到达目的地,以方便该用户出行。但是,如果为用户智能推荐的路径存在绕远、路径推荐错误等问题,则反而会为用户带来出行障碍。因此,如何为用户推荐适合的路网路径成为亟待解决的重要技术问题。For this reason, in the application fields such as smart transportation, it is possible to intelligently recommend moving paths in the road network for users accessing the network, so that users can successfully reach the destination from the starting point under the guidance of the recommended moving path. To facilitate the travel of the user. However, if the route intelligently recommended for the user has problems such as detours and incorrect route recommendations, it will instead bring travel obstacles to the user. Therefore, how to recommend suitable road network paths for users has become an important technical problem to be solved urgently.
发明内容Contents of the invention
本申请提供了一种路径推荐的方法、装置、计算设备、计算机可读存储介质及计算机程序产品,用以实现为用户推荐适合的路网路径。The present application provides a route recommendation method, device, computing device, computer-readable storage medium, and computer program product, so as to recommend a suitable road network route for a user.
第一方面,本申请提供一种路径推荐的方法,在为用户推荐路径时,获取路径推荐请求,该路径推荐请求中包括起始地的标识和目的地的标识,如包括起始地的名称和目的地的名称等,然后,根据途径该起始地以及目的地的路网路径对应的信令接入次序确定推荐路径,该信令接入次序例如可以是其他用户的移动终端在从起始地移动至目的地的过程中接入多个接入点的次序,所确定的推荐路径包括从该起始地到目的地所经过的路网路段信息,最后可以输出确定的推荐路径。In the first aspect, the present application provides a route recommendation method. When recommending a route for a user, a route recommendation request is obtained, and the route recommendation request includes the identification of the origin and the identification of the destination, such as the name of the origin and the name of the destination, etc., and then determine the recommended path according to the signaling access order corresponding to the road network path passing through the origin and destination. The signaling access order can be, for example, that other users' mobile terminals The sequence of accessing multiple access points during the process of moving from the starting point to the destination, the determined recommended route includes the road network section information passed from the starting point to the destination, and finally the determined recommended route can be output.
由于在为用户推荐从起始地到目的地的可行路径时,是根据其他用户途径起始地以及目的地时的路网路径对应的信令接入次序确定推荐路径,这使得最终推荐给用户的路径能够更加满足用户需求。比如,当根据信令接入次序确定出候选路径后,可以基于该信令接入次序所指示的多个接入点中识别出偏离接入点,并根据该偏离接入点在路网中的位置,对已经搜索出的候选路径进行修正,从而使得最终确定出的推荐路径不存在绕路问题。如此,可以提高用户的使用体验,方便用户出行。Since when recommending a feasible path from the origin to the destination for the user, the recommended path is determined according to the signaling access sequence corresponding to the road network paths of other users when passing through the origin and destination, which makes the final recommendation to the user The path can better meet the needs of users. For example, after the candidate path is determined according to the signaling access sequence, a deviation access point can be identified based on the access point indicated by the signaling access sequence, and the deviation access point can be identified in the road network according to the deviation access point The position of the searched candidate path is corrected so that there is no detour problem in the finally determined recommended path. In this way, the use experience of the user can be improved, and the travel of the user is facilitated.
其中,移动终端所接入的接入点,具体可以是对移动终端的定位精度低于预设精度阈值的设备,例如可以是支持移动终端接入网络的基站或者路由设备等(可以根据接入移动终端的这些设备的位置来大致定位移动终端的位置)。Wherein, the access point accessed by the mobile terminal may specifically be a device whose positioning accuracy for the mobile terminal is lower than a preset accuracy threshold, for example, it may be a base station or a routing device that supports the mobile terminal to access the network, etc. The location of these devices of the mobile terminal to roughly locate the location of the mobile terminal).
在一种可能的实施方式中,信令接入次序指示依次连接的多个接入点,从而在根据途径该起始地以及目的地的路网路径对应的信令接入次序确定推荐路径时,具体可以先根据 多个接入点在路网中的位置,从路网中搜索出途径该起始地以及目的地的候选路径,由于该路径候选可能存在绕路问题,从而可以对该候选路径进行修正,以得到最终提供给用户的推荐路径。如此,最终推荐给用户的路径中可以尽可能避免出现绕路问题等,从而推荐给用户的路径更加满足用户的实际应用需求,提高用户体验。In a possible implementation manner, the signaling access sequence indicates multiple access points connected in sequence, so that when the recommended path is determined according to the signaling access sequence corresponding to the road network path passing through the origin and destination , specifically, according to the positions of multiple access points in the road network, search out the candidate path through the starting point and the destination from the road network. Since the path candidate may have a detour problem, the candidate path can be The path is corrected to obtain the recommended path that is finally provided to the user. In this way, detours and the like can be avoided as far as possible in the path finally recommended to the user, so that the path recommended to the user can better meet the actual application requirements of the user and improve user experience.
在一种可能的实施方式中,在对候选路径进行修正时,具体可以是识别信令接入次序所指示的多个接入点中的偏离接入点,并根据该偏离接入点在路网中的位置,对候选路径进行修正,得到修正后的候选路径,也即所确定提供给用户的推荐路径。如此,可以根据偏离接入点来实现路径修正,以此实现推荐给用户的路径为用户实际所需的路径可能性。In a possible implementation manner, when correcting the candidate path, it may be specifically to identify a deviating access point among the plurality of access points indicated by the access order of the signaling, and to The position in the network is corrected to obtain the corrected candidate route, that is, the determined recommended route provided to the user. In this way, path correction can be implemented according to the deviation from the access point, so as to realize the possibility that the path recommended to the user is the path actually required by the user.
在一种可能的实施方式中,在识别偏离接入点时,具体可以是根据多个接入点在路网中的位置,计算该多个接入点中的候选接入点所产生的绕路比率,该绕路比率用于指示候选路径存在的路径偏离程度;当候选接入点所产生的绕路比率大于比率阈值时,将该候选接入点识别为以偏离接入点。如此,可以确定出引起候选路径产生绕路的偏离接入点,以便后续根据该偏离接入点实现路径修正。In a possible implementation manner, when identifying a deviating access point, it may be specifically calculated according to the positions of the plurality of access points in the road network, and calculating the detour generated by the candidate access points among the plurality of access points. a route ratio, the detour ratio is used to indicate the degree of path deviation of the candidate path; when the detour ratio generated by the candidate access point is greater than the ratio threshold, the candidate access point is identified as deviating from the access point. In this way, the deviating access point that causes the detour of the candidate path can be determined, so that the subsequent path correction can be implemented according to the deviating access point.
在一种可能的实施方式中,在搜索候选路径时,具体可以是先获取路网中的历史推荐路径以及该历史推荐路径对应的接入点,其中,该历史推荐路径例如可以之前为其他用户所推荐的路径,或者之前其他用户在路网中移动时所产生的实际路径等;然后,根据该历史推荐路径、该历史推荐路径以及多个接入点在路网中的位置,从路网中搜索出途径起始地以及目的地的候选路径。这样,可以通过历史推荐路径中的历史知识来提高搜索候选路径的效率。In a possible implementation manner, when searching for a candidate route, specifically, the historical recommended route in the road network and the access point corresponding to the historical recommended route may be obtained first, wherein the historical recommended route may be, for example, previously used by other users The recommended path, or the actual path generated by other users when moving in the road network before; Search out the candidate routes of the origin and destination of the route. In this way, the efficiency of searching candidate paths can be improved through the historical knowledge in the historical recommended paths.
在一种可能的实施方式中,在一种可能的实施方式中,在根据该历史推荐路径、该历史推荐路径以及多个接入点在路网中的位置,从路网中搜索出途径起始地以及目的地的候选路径时,具体可以是先获取第一二分图以及第二二分图,其中,第一二分图中的顶点包括历史推荐路径中的路网路段以及该历史推荐路径对应的接入点,而第二二分图中的顶点包括历史推荐路径中的路网路段以及历史推荐路径对应的最后连接的接入点;然后,根据获取的第一二分图以及所述第二二分图,从路网中搜索出途径起始地以及目的地的候选路径。In a possible implementation manner, in a possible implementation manner, after searching for a route from the road network according to the historical recommended route, the historical recommended route and the positions of multiple access points in the road network When starting and destination candidate routes, specifically, the first bipartite graph and the second bipartite graph may be obtained first, wherein the vertices in the first bipartite graph include the road network segments in the historically recommended route and the historically recommended The access point corresponding to the path, and the vertices in the second bipartite graph include the road network segment in the historical recommended path and the last connected access point corresponding to the historical recommended path; then, according to the obtained first bipartite graph and the obtained The second bipartite graph is used to search out the candidate routes of the starting point and the destination from the road network.
在一种可能的实施方式中,可以向用户呈现信息输入界面,该信息输入界面可以用于接收用户输入的起始点的标识以及目的地的标识,以便确定用户所需的推荐路径的起始地以及目的地。In a possible implementation manner, an information input interface may be presented to the user, and the information input interface may be used to receive the identification of the starting point and the identification of the destination input by the user, so as to determine the starting point of the recommended route required by the user and destination.
在一种可能的实施方式中,在输出推荐路径时,具体可以是呈现路径推荐界面,该路径推荐界面包括推荐路径,以便用户基于该路径推荐界面所呈现的推荐路径在路网中移动。或者,路径推荐界面可以包括推荐路径以及信令接入次序指示的依次连接的多个接入点,这样,在呈现推荐路径的同时,还可以呈现该推荐路径上移动终端可以接入的多个接入点。In a possible implementation manner, when outputting the recommended route, specifically, a route recommendation interface may be presented, and the route recommendation interface includes the recommended route, so that the user can move in the road network based on the recommended route presented on the route recommendation interface. Alternatively, the route recommendation interface may include the recommended route and multiple access points connected sequentially indicated by the signaling access order, so that while presenting the recommended route, multiple access points that the mobile terminal can access on the recommended route may also be presented. Access Point.
第二方面,本申请还提供了一种路径推荐装置,所述路径推荐装置包括用于执行第一方面或第一方面任一种可能实现方式中的路径推荐方法的各个模块。In a second aspect, the present application further provides a path recommendation device, where the path recommendation device includes various modules for executing the path recommendation method in the first aspect or any possible implementation manner of the first aspect.
第三方面,本申请还提供了一种路径推荐设备,包括:处理器和存储器;该存储器用于存储指令,当该路径推荐设备运行时,该处理器执行该存储器存储的该指令,以使该路径推荐设备执行上述第一方面或第一方面的任一实现方法中路径推荐方法。需要说明的是, 该存储器可以集成于处理器中,也可以是独立于处理器之外。计算设备还可以包括总线。其中,处理器通过总线连接存储器。其中,存储器可以包括可读存储器以及随机存取存储器。In a third aspect, the present application also provides a route recommendation device, including: a processor and a memory; the memory is used to store instructions, and when the route recommendation device is running, the processor executes the instructions stored in the memory, so that The path recommendation device executes the path recommendation method in the first aspect or any implementation method of the first aspect. It should be noted that, the memory may be integrated in the processor, or may be independent of the processor. A computing device may also include a bus. Wherein, the processor is connected to the memory through the bus. Wherein, the memory may include a readable memory and a random access memory.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面以及第一方面中任意一种实施方式所述方法的操作步骤。In a fourth aspect, the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes any one of the above-mentioned first aspect and the first aspect. The operational steps of the method described in the embodiment.
第五方面,本申请提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面以及第一方面中任意一种实施方式所述方法的操作步骤。In a fifth aspect, the present application provides a computer program product containing instructions, which, when run on a computer, cause the computer to execute the operation steps of the first aspect and the method described in any one of the implementation manners of the first aspect.
本申请在上述各方面提供的实现方式的基础上,还可以进行进一步组合以提供更多实现方式。On the basis of the implementation manners provided in the foregoing aspects, the present application may further be combined to provide more implementation manners.
附图说明Description of drawings
图1为本申请提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario provided by the present application;
图2为本申请提供的一种对修正前后的推荐路径的示意图;FIG. 2 is a schematic diagram of a recommended path before and after correction provided by the present application;
图3为本申请提供的一种路径推荐的方法流程示意图;FIG. 3 is a schematic flowchart of a method for path recommendation provided by the present application;
图4为本申请提供的一种信息输入界面的示意图;FIG. 4 is a schematic diagram of an information input interface provided by the present application;
图5为本申请提供的一种路径推荐界面的示意图;FIG. 5 is a schematic diagram of a route recommendation interface provided by the present application;
图6为本申请提供的另一种路径推荐的方法流程示意图;FIG. 6 is a schematic flowchart of another method for path recommendation provided by the present application;
图7为本申请提供的一种路径推荐设备300构建的二分图的示意图;FIG. 7 is a schematic diagram of a bipartite graph constructed by a path recommendation device 300 provided in the present application;
图8为本申请提供的一种路径推荐装置的结构示意图;FIG. 8 is a schematic structural diagram of a path recommendation device provided by the present application;
图9为本申请提供的一种路径推荐设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of a path recommendation device provided in the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below in conjunction with the drawings in the embodiments of the present application.
参见图1,为本申请提供的一种应用场景示意图。如图1所示,用户100可以通过终端设备200查询起始地与目的地之间可行的路网路径,也即查询用户可以沿着哪些路网路径实现从起始地成功到达目的地。具体实现时,用户100可以在终端设备200所呈现的界面中输入起始地的标识以及目的地的标识,以查询该路网中存在哪些路网路径能够从起始地到达目的地。Referring to FIG. 1 , it is a schematic diagram of an application scenario provided by this application. As shown in FIG. 1 , the user 100 can query the feasible road network paths between the starting point and the destination through the terminal device 200 , that is, query which road network paths the user can follow to successfully reach the destination from the starting point. During specific implementation, the user 100 may input the identifier of the origin and the identifier of the destination in the interface presented by the terminal device 200 to query which road network paths exist in the road network that can reach the destination from the origin.
终端设备200根据用户100输入的起始地的标识以及目的地的标识,生成相应的路径推荐请求,并将该路径推荐请求发送给云端的路径推荐设备300。路径推荐设备300可以从接收到的路径推荐请求中解析出起始地的标识以及目的地的标识,并根据途径该起始地和目的地的路网路径对应的信令接入次序确定推荐路径,所确定的推荐路径包括从起始地到目的地所经过的路网路段信息。其中,信令接入次序,可以用于指示在本次推荐路径之前,其他用户由起始地移动至目的地时,该其他用户持有的移动终端(如手机、智能手表等)所依次接入的多个接入点,该接入点具体可以是对移动终端的定位精度低于预设精度阈值的设备,例如可以是支持移动终端接入网络的基站或者路由设备等(可以根据接入移动终端的这些设备的位置来大致定位移动终端的位置)。示例性地,路径推荐设备300可以通过查询预设数据库的方式获取该其他用户持有的移动终端所依次接入的多个接入点。其中,该预设数据库例如可以是路径推荐设备300所能访问的第三方数据库,并且,该第三 方数据库中存储有一个或者多个移动终端的入网信息,例如移动终端所接入的接入点的名称、接入点位置、入网时刻、入网时长等。然后,路径推荐设备300可以将确定出的推荐路径反馈给终端设备200,以便由终端设备200将该推荐路径呈现给用户100。The terminal device 200 generates a corresponding route recommendation request according to the origin identifier and the destination identifier input by the user 100, and sends the route recommendation request to the route recommendation device 300 in the cloud. The route recommendation device 300 can analyze the identifier of the origin and the identifier of the destination from the received route recommendation request, and determine the recommended route according to the signaling access sequence corresponding to the road network paths passing through the origin and destination , the determined recommended route includes road network segment information passed from the origin to the destination. Among them, the signaling access order can be used to indicate that before this recommended route, when other users move from the starting point to the destination, the mobile terminals (such as mobile phones, smart watches, etc.) The access point can specifically be a device whose positioning accuracy for the mobile terminal is lower than the preset accuracy threshold, for example, it can be a base station or a routing device that supports mobile terminal access to the network, etc. (according to the access point The location of these devices of the mobile terminal to roughly locate the location of the mobile terminal). Exemplarily, the route recommendation device 300 may obtain multiple access points that the mobile terminal held by the other user sequentially accesses by querying a preset database. Wherein, the preset database may be, for example, a third-party database that can be accessed by the route recommendation device 300, and the third-party database stores network access information of one or more mobile terminals, such as the access point accessed by the mobile terminal name, access point location, network access time, network access duration, etc. Then, the route recommendation device 300 may feed back the determined recommended route to the terminal device 200 , so that the terminal device 200 presents the recommended route to the user 100 .
值得注意的是,如果路径推荐设备300直接将其他用户在移动时途径起始地以及目的地的路网路径推荐给用户100,则可能会存在推荐给用户100的路网路径并非是最佳路径,如推荐给用户100的路网路径中可能存在绕路现象。因此,路径推荐设备300在根据其他用户在移动时途径起始地以及目的地的路网路径所对应的信令接入次序确定推荐路径时,可以通过该信令接入次序对其他用户所经过的路网路径进行修正,并将修正后的路网路径作为最终推荐给用户100的路径,以此实现为用户100推荐适合的路网路径,提高用户体验。It is worth noting that if the route recommendation device 300 directly recommends to the user 100 the road network routes that other users pass through the starting point and the destination when moving, the road network route recommended to the user 100 may not be the optimal route. , for example, there may be detours in the road network route recommended to the user 100 . Therefore, when the path recommendation device 300 determines the recommended path according to the signaling access sequence corresponding to the road network path of the origin and destination of other users when they are moving, it can use the signaling access sequence to determine the path that other users pass through. The road network path is corrected, and the corrected road network path is finally recommended to the user 100, so as to recommend a suitable road network path for the user 100 and improve user experience.
举例来说,假设其他用户在路网中的真实移动路径为如图2中虚线所示的移动路径1。但是,图2所示的移动路径1中存在明显的绕路现象,即用户100实际上可以直接沿着由接入点Z 2到接入点Z 4的方向上的路网路段进行移动,而无需先经过从接入点Z 2到接入点Z 3方向上的路网路段,再经过从接入点Z 3到接入点Z 4方向上的路网路段。因此,为了实现向用户100推荐更加适合用户100的路网路径,路径推荐设备300在为用户100推荐从起始地到目的地的路网路径时,可以获取该其他用户的移动终端在从起始地到目的地的路网路径对应的信令接入次序,即获取图2中移动终端依次接入的Z 1、Z 2、Z 3、以及Z 4信息,从而根据该信令接入次序识别出产生绕路的接入点Z 3。这样,路径推荐设备300可以根据该接入点Z 3在路网中的位置,对其他用户的路网路径进行修正,以此可以得到图2所示的移动路径2。这样,路径推荐设备300可以将移动路径2作为最终的推荐路径反馈给终端设备200,以便终端设备200将其呈现给用户100。 For example, assume that the real moving path of other users in the road network is the moving path 1 shown by the dotted line in FIG. 2 . However, there is an obvious detour phenomenon in the moving path 1 shown in FIG. There is no need to go through the road network section in the direction from the access point Z 2 to the access point Z 3 first, and then pass through the road network section in the direction from the access point Z 3 to the access point Z 4 . Therefore, in order to recommend a road network route that is more suitable for the user 100 to the user 100, when the route recommendation device 300 recommends a road network route from the starting point to the destination for the user 100, it can obtain the mobile terminal of the other user. The signaling access sequence corresponding to the road network path from the origin to the destination, that is, to obtain the Z 1 , Z 2 , Z 3 , and Z 4 information sequentially accessed by the mobile terminal in Figure 2, so as to identify the Access point Z 3 that generates a detour. In this way, the route recommendation device 300 can correct the road network routes of other users according to the location of the access point Z3 in the road network, so as to obtain the moving route 2 shown in FIG. 2 . In this way, the route recommendation device 300 can feed back the moving route 2 as the final recommended route to the terminal device 200 so that the terminal device 200 can present it to the user 100 .
示例性地,路径推荐设备300可以由一个或者多个服务器实现(如分布式服务器集群等,图1中以包括服务器301、服务器302以及服务器303进行示例性说明),并可以提供相应的路径查询服务。具体地,构成路径推荐设备300的服务器中设置一个或多个处理器,如利用中央处理器(central processing unit,CPU)或专用集成电路(application-specific integrated circuit,ASIC)实现,或可编程逻辑器件(programmable logic device,PLD)实现,上述PLD可以是复杂程序逻辑器件(complex programmable logical device,CPLD)、FPGA、通用阵列逻辑(generic array logic,GAL)或其任意组合实现等。在其它可能的实施方式中,除了上述以服务器为例的硬件形态外,路径推荐设备300也可以通过加速终端(例如,边缘小站),路径推荐设备300还可以通过软件实现,例如,路径推荐设备300为一种数据中心或云运营商所提供的云服务。Exemplarily, the path recommendation device 300 may be implemented by one or more servers (such as a distributed server cluster, etc., including server 301, server 302, and server 303 for illustration in FIG. 1 ), and may provide corresponding path query Serve. Specifically, one or more processors are set in the server constituting the path recommendation device 300, such as by using a central processing unit (central processing unit, CPU) or an application-specific integrated circuit (application-specific integrated circuit, ASIC), or a programmable logic Device (programmable logic device, PLD) implementation, the above-mentioned PLD can be a complex program logic device (complex programmable logical device, CPLD), FPGA, general array logic (generic array logic, GAL) or any combination thereof. In other possible implementations, in addition to the above-mentioned hardware form taking the server as an example, the route recommendation device 300 may also be implemented through an acceleration terminal (for example, an edge station), and the route recommendation device 300 may also be implemented by software, for example, the route recommendation The device 300 is a cloud service provided by a data center or a cloud operator.
值得注意的是,图1所示的应用场景仅作为一种示例性说明,实际应用时,本申请还可以应用于其它可适用的场景中。例如,在其它可能的场景中,路径推荐设备300也可以通过软件实现并运行在终端设备200上,如终端设备200中可以集成有路网信息,从而可以为用户100提供本地的路径推荐服务等。It should be noted that the application scenario shown in FIG. 1 is only used as an exemplary illustration, and in actual application, the present application may also be applied to other applicable scenarios. For example, in other possible scenarios, the route recommendation device 300 can also be implemented by software and run on the terminal device 200, for example, the terminal device 200 can integrate road network information, so as to provide the user 100 with local route recommendation services, etc. .
下面,结合附图进一步介绍本申请提供的为用户推荐在路网中的移动路径的过程。In the following, the process of recommending a moving path in the road network for a user provided by the present application will be further introduced with reference to the accompanying drawings.
参见图3,图3为本申请实施例提供的一种路径推荐的方法流程示意图,其中,该方法可以应用于图1所示的路径推荐设备300中,或者可以应用于其它可适用的路径推荐设 备中。为便于描述,下面以应用于图1所示的路径推荐设备300为例进行示例性说明。如图3所示,该方法具体可以包括:Referring to FIG. 3, FIG. 3 is a schematic flowchart of a method for route recommendation provided by an embodiment of the present application, wherein the method can be applied to the route recommendation device 300 shown in FIG. 1, or can be applied to other applicable route recommendations in the device. For the convenience of description, the following uses the route recommendation device 300 shown in FIG. 1 as an example for illustration. As shown in Figure 3, the method may specifically include:
S301:路径推荐设备300获取路径推荐请求,该路径推荐请求包括起始地的标识以及目的地的标识。S301: The route recommendation device 300 acquires a route recommendation request, where the route recommendation request includes an identifier of an origin and an identifier of a destination.
在一种可能的实施方式中,路径推荐设备300可以向用户100呈现信息输入界面,以便通过该信息交互界面获取推荐给用户100的移动路径的起始地以及目的地。具体的,路径推荐设备300可以通过终端设备200向用户呈现如图4所示的信息输入界面,并提示用户在该信息输入界面中输入起始地的标识以及目的地的标识,如具体可以是起始地的名称以及目的地的名称,或者可以是能够指示起始地或者目的地位置的建筑名称等信息。进一步地,终端设备200还可以支持用户100在该信息输入界面上对起始地进行自动定位,如用户100可以点击该信息输入界面中的定位控件,可以由终端设备200自动输入起始地,如可以将用户100当前所在位置自动确定为起始地等。终端设备200可以根据用户100输入的起始地以及目的地的标识,生成路径推荐请求,并将该路径推荐请求发送给路径推荐设备300,以请求路径推荐设备300基于该路径推荐请求为用户100进行路径推荐。In a possible implementation manner, the path recommendation device 300 may present an information input interface to the user 100, so as to obtain the origin and destination of the moving path recommended to the user 100 through the information interaction interface. Specifically, the route recommendation device 300 may present the information input interface shown in FIG. 4 to the user through the terminal device 200, and prompt the user to input the identification of the origin and the identification of the destination in the information input interface. For example, it may be The name of the origin and the name of the destination, or may be information such as a building name that can indicate the location of the origin or destination. Further, the terminal device 200 can also support the user 100 to automatically locate the starting place on the information input interface, for example, the user 100 can click the positioning control in the information input interface, and the terminal device 200 can automatically input the starting place, For example, the current location of the user 100 may be automatically determined as the starting location. The terminal device 200 may generate a route recommendation request according to the origin and destination identifiers input by the user 100, and send the route recommendation request to the route recommendation device 300, so as to request the route recommendation device 300 to provide the user 100 with the route recommendation request based on the route recommendation request. Make path recommendations.
S302:路径推荐设备300根据途径起始地以及目的地的路网路径对应的信令接入次序,确定推荐路径,其中,该推荐路径包括从起始地到目的地所经过的路网路段信息。S302: The path recommendation device 300 determines the recommended path according to the signaling access sequence corresponding to the road network path from the origin to the destination, where the recommended path includes road network segment information passed from the origin to the destination .
通常情况下,在路径推荐设备300为用户100进行路径推荐之前,可能存在其他用户已经在路网中完成由起始地到目的地的移动过程;并且,其他用户会随身携带有移动终端,该移动终端通常会随着其他用户的移动而依次接入设置在该路网中的不同接入点,以便其他用户在路网中移动时接入点能够为该其他用户持有的移动终端提供相应的网络业务服务。如图2中所示,其他用户在路网中沿着Z 1至Z 4的方向进行移动时,移动终端可以依次接入Z 1、Z 2、Z 3、Z 4等接入点。 Usually, before the route recommendation device 300 recommends a route for the user 100, there may be other users who have already completed the movement process from the origin to the destination in the road network; and other users will carry mobile terminals with them. Mobile terminals usually access different access points in the road network sequentially as other users move, so that when other users move in the road network, the access points can provide corresponding mobile terminals held by other users. Web business service. As shown in FIG. 2 , when other users move along the road network along the direction from Z 1 to Z 4 , the mobile terminal can access access points such as Z 1 , Z 2 , Z 3 , and Z 4 in sequence.
因此,在一种可能的实施方式中,路径推荐设备300在为用户100确定推荐路径的过程中,可以先获取其他用户在路网中移动时途径该起始地以及目的地的路网路径所对应的信令接入次序,也即获取其他用户的移动终端从起始地移动到目的地的过程中接入各个接入点的次序。Therefore, in a possible implementation manner, in the process of determining the recommended route for the user 100, the route recommendation device 300 may first obtain the road network routes corresponding to the starting point and the destination when other users move in the road network. The access order of the signaling, that is, to obtain the order in which the mobile terminals of other users access each access point during the process of moving from the origin to the destination.
然后,路径推荐设备300可以根据其他用户的移动终端所接入的多个接入点在路网中的位置,从路网中搜索出途径起始地以及目的地的候选路径。Then, the route recommendation device 300 can search the route starting point and destination candidate routes from the road network according to the positions in the road network of multiple access points accessed by mobile terminals of other users.
具体的,路径推荐设备300可以按照移动终端接入多个接入点的时间顺序,依次对多个接入点进行排序。然后,路径推荐设备300可以针对每个接入点,确定在该接入点的信号覆盖范围内的一个或者多个候选路网路段,并从该一个或者多个候选路网路段中计算出移动终端在与该接入点连接时最可能经过的路段。以此,路径推荐设备300可以针对每个接入点,搜索得到该接入点对应的一个路段,从而路径推荐设备300可以将针对各个接入点所确定的路网路段进行首尾拼接,得到用户100从起始地到目的地的过程中可以移动的候选路径。Specifically, the path recommendation device 300 may sequentially sort the multiple access points according to the time sequence in which the mobile terminal accesses the multiple access points. Then, the route recommendation device 300 can determine, for each access point, one or more candidate road network segments within the signal coverage of the access point, and calculate the moving distance from the one or more candidate road network segments. The most likely road segment that the terminal will pass through when connecting to the access point. In this way, the route recommendation device 300 can search for each access point to obtain a road segment corresponding to the access point, so that the route recommendation device 300 can splice the road network segments determined for each access point end to end, and obtain the user 100 Candidate paths that can be moved during the process from the origin to the destination.
举例来说,假设移动终端所依次接入Z 1至Z n这n个接入点。则,路径推荐设备300可以先针对Z 1确定该接入点的信号覆盖范围内的m 1个候选路网路段。然后,路径推荐设备300可以先针对Z 2确定该接入点的信号覆盖范围内的m 2个候选路网路段,并从该m 2个候选路网路段中选择一条候选路网路段
Figure PCTCN2022091661-appb-000001
通过维特比方法计算连接到Z 2的最优路径。具 体实现时,路径推荐设备300可以先通过下述公式(1)计算出前一个接入点Z 1对应的全部候选路网路段切换到
Figure PCTCN2022091661-appb-000002
的转移概率:
For example, it is assumed that the mobile terminal sequentially accesses n access points Z 1 to Z n . Then, the route recommendation device 300 may first determine m 1 candidate road network segments within the signal coverage range of the access point for Z 1 . Then, the path recommendation device 300 may first determine m 2 candidate road network segments within the signal coverage range of the access point for Z 2 , and select a candidate road network segment from the m 2 candidate road network segments
Figure PCTCN2022091661-appb-000001
The optimal path connecting to Z2 was calculated by the Viterbi method. During specific implementation, the path recommendation device 300 can first calculate all candidate road network segments corresponding to the previous access point Z1 through the following formula (1) to switch to
Figure PCTCN2022091661-appb-000002
The transition probability of :
Figure PCTCN2022091661-appb-000003
Figure PCTCN2022091661-appb-000003
其中,
Figure PCTCN2022091661-appb-000004
为转移概率;β为距离差分布的标准差,其可以是由技术人员根据实际应用经验所设定的常数值;
Figure PCTCN2022091661-appb-000005
为接入点z t对应的m个候选路网路段中的一个候选路网路段,i的取值范围为1至m,m为各个接入点对应的候选路网路段,并且,不同接入点所对应的候选路网路段的数量不同,即不同接入点对应的m值不同;t的初始值为2,其取值范围为2至n;d t为两个接入点z t-1与z t之间的距离与这两个接入点在路网路段上的投影点之间的路网最短路径长度之间的差值的绝对值,其可以通过下述公式(2)进行计算得到:
in,
Figure PCTCN2022091661-appb-000004
is the transition probability; β is the standard deviation of the distance difference distribution, which can be a constant value set by technicians based on practical application experience;
Figure PCTCN2022091661-appb-000005
is one of the m candidate road network segments corresponding to the access point z t , the value range of i is from 1 to m, m is the candidate road network segment corresponding to each access point, and different access The number of candidate road network segments corresponding to the point is different, that is, the value of m corresponding to different access points is different; the initial value of t is 2, and its value ranges from 2 to n; d t is two access points z t- The absolute value of the difference between the distance between 1 and z t and the shortest path length of the road network between the projection points of these two access points on the road network section, which can be calculated by the following formula (2) Calculated to get:
Figure PCTCN2022091661-appb-000006
Figure PCTCN2022091661-appb-000006
其中,
Figure PCTCN2022091661-appb-000007
为接入点z t-1在该z t-1对应的候选路网路段
Figure PCTCN2022091661-appb-000008
上的投影点,
Figure PCTCN2022091661-appb-000009
为接入点z t在z t对应的候选路网路段
Figure PCTCN2022091661-appb-000010
上的投影点。
in,
Figure PCTCN2022091661-appb-000007
is the candidate road network segment corresponding to the access point z t-1 in the z t-1
Figure PCTCN2022091661-appb-000008
projection point on
Figure PCTCN2022091661-appb-000009
is the candidate road network segment corresponding to the access point z t at z t
Figure PCTCN2022091661-appb-000010
projection point on .
然后,路径推荐设备300可以计算从接入点Z 1的全部候选路网路段连接到接入点z 2对应的候选路网路段
Figure PCTCN2022091661-appb-000011
的累积概率,并进一步从m 2中确定出使得累积概率最大的候选路网路段。示例性地,路径推荐设备300可以通过下述公式(3)确定出使得累积概率最大的候选路网路段:
Then, the route recommendation device 300 can calculate all the candidate road network segments connected from the access point Z1 to the candidate road network segments corresponding to the access point z2
Figure PCTCN2022091661-appb-000011
, and further determine the candidate road network segment that maximizes the cumulative probability from m 2 . Exemplarily, the route recommendation device 300 can determine the candidate road network segment that maximizes the cumulative probability through the following formula (3):
Figure PCTCN2022091661-appb-000012
Figure PCTCN2022091661-appb-000012
其中,
Figure PCTCN2022091661-appb-000013
为累积概率;c t-1为由接入点z t-1的信号覆盖范围内的m t-1个候选路网路段构成的集合;
Figure PCTCN2022091661-appb-000014
为接入点z t的发射概率,其可以通过下述公式(4)进行计算得到:
in,
Figure PCTCN2022091661-appb-000013
is the cumulative probability; c t-1 is a set composed of m t-1 candidate road network segments within the signal coverage of access point z t-1 ;
Figure PCTCN2022091661-appb-000014
is the transmission probability of the access point z t , which can be calculated by the following formula (4):
Figure PCTCN2022091661-appb-000015
Figure PCTCN2022091661-appb-000015
其中,
Figure PCTCN2022091661-appb-000016
为接入点z t相对于z t对应的候选路网路段
Figure PCTCN2022091661-appb-000017
对应的距离概率;
Figure PCTCN2022091661-appb-000018
为定位点z t在候选路网路段
Figure PCTCN2022091661-appb-000019
上的投影;
Figure PCTCN2022091661-appb-000020
为z t
Figure PCTCN2022091661-appb-000021
这两个接入点所在的地理坐标点之间的大圆距离,也即在地球表面上z t
Figure PCTCN2022091661-appb-000022
这两个接入点之间的物理距离;参数σ z是高斯分布的标准差,能够用于控制距离概率的影响,其可以是由技术人员根据实际应用经验所设定的常数值。
in,
Figure PCTCN2022091661-appb-000016
is the candidate road network segment corresponding to the access point z t relative to z t
Figure PCTCN2022091661-appb-000017
The corresponding distance probability;
Figure PCTCN2022091661-appb-000018
is the positioning point z t in the candidate road network segment
Figure PCTCN2022091661-appb-000019
projection on
Figure PCTCN2022091661-appb-000020
for z t with
Figure PCTCN2022091661-appb-000021
The great-circle distance between the geographic coordinate points where the two access points are located, that is, z t and
Figure PCTCN2022091661-appb-000022
The physical distance between the two access points; the parameter σ z is the standard deviation of the Gaussian distribution, which can be used to control the influence of the distance probability, and it can be a constant value set by the technician according to practical application experience.
如此,路径推荐设备300可以基于上述公式(1)至公式(4)计算出由接入点Z 1至接入点Z 2之间的累积概率最大的一条或者多条路网路段。进一步的,路径推荐设备300可以采用上述类似的实现方式,计算出接入点Z 2至接入点Z 3之间的累积概率最大的一条或者多条路网路段、Z 3至Z 4之间的累积概率最大的一条或者多条路网路段,直至计算出Z n-1至Z n之间的累积概率最大的一条或者多条路网路段,从而将所确定的相邻两个接入点之间的路网路段进行首尾连接,即可得到接入点Z 1至Z n对应的一条或者多条移动路径,为便于描述,本实施例称之为候选路径。 In this way, the route recommendation device 300 can calculate one or more road network segments with the largest cumulative probability between the access point Z 1 and the access point Z 2 based on the above formulas (1) to (4). Further, the route recommendation device 300 can adopt the above-mentioned similar implementation method to calculate one or more road network sections with the largest cumulative probability between the access point Z2 and the access point Z3 , and between Z3 and Z4 . One or more road network sections with the largest cumulative probability until the one or more road network sections with the largest cumulative probability between Zn -1 and Zn are calculated, so that the determined two adjacent access points Connecting the road network sections between them end-to-end, one or more moving paths corresponding to the access points Z1 to Zn can be obtained. For the convenience of description, this embodiment is called a candidate path.
实际应用时,基于多个接入点所确定出的候选路径可能存在绕路问题。例如,所确定出的候选路径例如可以是图2所示的移动路径1等。这可能是因为其他用户在路网中移动时,其他用户持有的移动终端可能接入了较远的接入点,而不一定会接入距离该移动终端最近的通信基站。比如,由于单个通信基站因为可接入的移动终端的数量有限,部分移动终端可能会因为最近的通信基站所接入的终端设备数量达到上限而接入至较远的通信基站,这使得根据移动终端接入通信基站的顺序所搜索得到的候选路径,可能会存在绕路问题。In practical applications, there may be a detour problem in the candidate paths determined based on multiple access points. For example, the determined candidate path may be, for example, the moving path 1 shown in FIG. 2 . This may be because when other users move in the road network, the mobile terminals held by other users may access a far access point, but not necessarily access the communication base station closest to the mobile terminal. For example, due to the limited number of mobile terminals that can be accessed by a single communication base station, some mobile terminals may access to distant communication base stations because the number of terminal devices connected to the nearest communication base station reaches the upper limit, which makes the There may be a detour problem in the candidate paths searched in the order in which the terminals access the communication base stations.
本实施例中,路径推荐设备300可以识别出导致搜索出的候选路径产生绕路问题的偏离接入点,并根据偏离接入点在路网中的位置,对候选路径进行修正,以使得最终所推荐给用户100的路径更加符合用户100的需求,尽可能避免推荐路径中存在绕路问题。In this embodiment, the path recommendation device 300 can identify the deviated access point that causes the detour problem of the searched candidate route, and correct the candidate route according to the position of the deviated access point in the road network, so that the final The route recommended to the user 100 is more in line with the needs of the user 100, and detours in the recommended route are avoided as much as possible.
作为一种实现示例,路径推荐设备300在识别偏离接入点时,具体可以是根据多个接入点在路网中的位置,计算该多个接入点中的候选接入点所产生的绕路比率,该绕路比率可以用于指示候选路径存在的路径偏离程度。当该绕路比率大于预先设定的比率阈值(例如为1等)时,路径推荐设备300将该候选接入点识别为偏离接入点。而若该候选接入点所产生的绕路比率不大于该比率阈值,则路径推荐设备300可以确定该候选接入点在路网中的位置并未导致路径推荐设备300搜索出的候选路径产生绕路问题。As an implementation example, when the path recommendation device 300 identifies a deviating access point, it may specifically calculate the candidate access points among the plurality of access points based on the positions of the plurality of access points in the road network. Detour ratio, which can be used to indicate the degree of path deviation of the candidate path. When the detour ratio is greater than a preset ratio threshold (for example, 1), the path recommendation device 300 identifies the candidate access point as a deviating access point. And if the detour ratio generated by the candidate access point is not greater than the ratio threshold, the route recommendation device 300 can determine that the position of the candidate access point in the road network does not cause the candidate route searched by the route recommendation device 300 to generate detour problem.
示例性地,路径推荐设备300可以通过下述公式(5)计算出候选接入点z t所产生的绕路比率: Exemplarily, the path recommendation device 300 can calculate the detour ratio generated by the candidate access point z t through the following formula (5):
Figure PCTCN2022091661-appb-000023
Figure PCTCN2022091661-appb-000023
其中,g t为绕路比率;为
Figure PCTCN2022091661-appb-000024
为接入点z t-1在候选路径中z t-1对应的候选路网路段上的投影点;
Figure PCTCN2022091661-appb-000025
为接入点z t在候选路径中z t对应的候选路网路段上的投影点;
Figure PCTCN2022091661-appb-000026
为接入点z t+1在候选路径中z t+1对应的候选路网路段上的投影点;dist(a,b) route是指a、b两个点在路网中的最短路径,a的值为
Figure PCTCN2022091661-appb-000027
Figure PCTCN2022091661-appb-000028
b的值为
Figure PCTCN2022091661-appb-000029
Figure PCTCN2022091661-appb-000030
Among them, g t is the detour ratio;
Figure PCTCN2022091661-appb-000024
is the projection point of the access point z t-1 on the candidate road network segment corresponding to z t-1 in the candidate path;
Figure PCTCN2022091661-appb-000025
is the projection point of the access point z t on the candidate road network segment corresponding to z t in the candidate path;
Figure PCTCN2022091661-appb-000026
is the projection point of the access point z t+1 on the candidate road network segment corresponding to z t+1 in the candidate path; dist(a,b) route refers to the shortest path of two points a and b in the road network, The value of a is
Figure PCTCN2022091661-appb-000027
or
Figure PCTCN2022091661-appb-000028
The value of b is
Figure PCTCN2022091661-appb-000029
or
Figure PCTCN2022091661-appb-000030
当候选接入点z t所产生的绕路比率g t大于预设比率阈值1时,确定候选接入点z t
Figure PCTCN2022091661-appb-000031
以及
Figure PCTCN2022091661-appb-000032
之间的路网最短路径上的投影点e t-1,并将该接入点z t-1与该投影点e t-1之间的路网路段添加至候选接入点z t对应的候选路网路段。
When the detour ratio g t generated by the candidate access point z t is greater than the preset ratio threshold 1, it is determined that the candidate access point z t is in
Figure PCTCN2022091661-appb-000031
as well as
Figure PCTCN2022091661-appb-000032
The projection point e t-1 on the shortest path between the road network, and the road network segment between the access point z t-1 and the projection point e t-1 is added to the corresponding candidate access point z t Candidate road network segments.
然后,路径推荐设备300可以重新计算连接到候选路网路段
Figure PCTCN2022091661-appb-000033
的累积概率最大的路径,并对之前所计算出的连接到候选路网路段
Figure PCTCN2022091661-appb-000034
的累积概率最大的路径进行覆盖,以此实现对已搜索出的候选路径进行调整,得到修正后的候选路径,也即推荐路径。此时,连接到候选路网路段
Figure PCTCN2022091661-appb-000035
的最大累积概率可以通过下述公式(6)进行计算得到:
Then, the route recommendation device 300 can recalculate the road segment connected to the candidate road network
Figure PCTCN2022091661-appb-000033
The path with the largest cumulative probability, and the previously calculated link to the candidate road network
Figure PCTCN2022091661-appb-000034
The path with the largest cumulative probability is covered, so as to realize the adjustment of the searched candidate path, and obtain the corrected candidate path, that is, the recommended path. At this point, connect to the candidate road network segment
Figure PCTCN2022091661-appb-000035
The maximum cumulative probability of can be calculated by the following formula (6):
Figure PCTCN2022091661-appb-000036
Figure PCTCN2022091661-appb-000036
其中,c t-1是指由接入点z t-1对应的候选路网路段构成的集合;c t是指由接入点z t对应的候选路网路段构成的集合。 Among them, c t-1 refers to the set formed by the candidate road network segments corresponding to the access point z t-1 ; c t refers to the set formed by the candidate road network segments corresponding to the access point z t .
需要说明的是,上述公式(5)以及公式(6),是以根据候选接入点以及与候选接入点相邻的两个接入点计算出绕路比率为例进行示例性说明。在其它可能的实施例中,路径推荐设备300也可以是根据连续四个以上(包括四个)的接入点(包括候选接入点)计算出候选接入点所产生的绕路比率等,此时,路径推荐设备300在计算绕路比率时可以对上述公式进行示例性调整,本实施例对此并不进行限定。It should be noted that the above formula (5) and formula (6) are illustrated by taking the calculation of the detour ratio according to the candidate access point and two access points adjacent to the candidate access point as an example. In other possible embodiments, the path recommendation device 300 may also calculate the detour ratio generated by the candidate access points based on more than four (including four) consecutive access points (including candidate access points), At this time, the route recommendation device 300 may perform an exemplary adjustment to the above formula when calculating the detour ratio, which is not limited in this embodiment.
S303:路径推荐设备300输出推荐路径。S303: The route recommendation device 300 outputs the recommended route.
路径推荐设备300在确定出推荐路径后,可以输出该推荐路径。After the path recommendation device 300 determines the recommended path, it may output the recommended path.
实际应用时,基于上述过程,路径推荐设备300所确定出的推荐路径的数量可能是一个,也可能是多个。因此,在一种可能的实施方式中,当推荐路径的数量为多个时,路径推荐设备300可以按照各个推荐路径对应的累积概率,选择最大累积概率对应的推荐路径作为最终输出的推荐路径,并将其通过终端设备200进行呈现。例如,路径推荐设备300 可以通过终端设备200呈现如图5所示的路径推荐界面,该路径推荐界面中可以呈现路径推荐设备300最终确定的推荐路径。或者,路径推荐设备300可以将多条推荐路径按照累积概率由大到小进行排序,并按照排序顺序同时呈现多条推荐路径。其中,累积概率越大的推荐路径的呈现优先级越高,如可以将累积概率最大的推荐路径1放在第一排显示,将累积概率较小的推荐路径2放在第二排显示等,如图5所示。进一步地,路径推荐设备300还可以在该路径推荐界面中呈现信令接入次序指示的多个接入点,以便用户100可以在该路径推荐界面上查看到移动终端可以接入的多个接入点。In actual application, based on the above process, the number of recommended routes determined by the route recommendation device 300 may be one or multiple. Therefore, in a possible implementation manner, when there are multiple recommended paths, the path recommendation device 300 may select the recommended path corresponding to the maximum cumulative probability as the final output recommended path according to the cumulative probability corresponding to each recommended path, and present it through the terminal device 200 . For example, the route recommendation device 300 may present a route recommendation interface as shown in FIG. 5 through the terminal device 200, and the route recommendation device 300 may present the recommended route finally determined by the route recommendation interface. Alternatively, the path recommendation device 300 may sort the multiple recommended paths in descending order of cumulative probability, and simultaneously present the multiple recommended paths in the sorted order. Among them, the presentation priority of the recommended path with a larger cumulative probability is higher. For example, the recommended path 1 with the largest cumulative probability can be displayed in the first row, and the recommended path 2 with a smaller cumulative probability can be displayed in the second row. As shown in Figure 5. Further, the path recommendation device 300 may also present multiple access points indicated by the signaling access sequence on the path recommendation interface, so that the user 100 can view multiple access points that the mobile terminal can access on the path recommendation interface. entry point.
值得注意的是,本实施例中,路径推荐设备300可以是在计算出所有接入点(包括移动终端最后一个接入的接入点)对应的候选路径后,通过识别该多个接入点中的偏离接入点来修正该候选路径。而在其它实施例中,路径推荐设备300可以是在搜索过程中,识别出偏离接入点,并利用偏离接入点对已搜索出的候选路径进行修正,并基于修正后的候选路径以及剩余未处理的接入点继续搜索出移动终端的后续路径。在此过程中,上述候选路径,可以是基于移动终端依次接入的部分接入点所搜索出的移动路径,如基于n个接入点(Z 1至Z n)中的接入点Z 1、Z 2至Z h(h小于n)所搜索出的移动路径,则,在对候选路径进行修正后,路径推荐设备300可以继续搜索出下一接入点Z h+1对应的候选路网路段中连接至修正后的候选路径的路网路段。 It should be noted that, in this embodiment, the route recommendation device 300 may calculate the candidate routes corresponding to all access points (including the last access point accessed by the mobile terminal), and identify the plurality of access points Correct the candidate path by the deviation access point in . In other embodiments, the route recommendation device 300 may identify deviated access points during the search process, and use the deviated access points to correct the searched candidate routes, and based on the corrected candidate routes and the remaining The unprocessed access points continue to search for the follow-up path of the mobile terminal. In this process, the above-mentioned candidate path may be a moving path searched based on some access points that the mobile terminal sequentially accesses, for example, based on the access point Z 1 among the n access points (Z 1 to Z n ). , Z 2 to Z h (h is less than n), then, after correcting the candidate route, the route recommendation device 300 can continue to search for the candidate road network corresponding to the next access point Z h+1 The road network segments connected to the revised candidate route in the road segment.
本实施例中,路径推荐设备300在为用户100推荐从起始地到目的地的可行路径时,是根据其他用户途径起始地以及目的地时的路网路径对应的信令接入次序确定推荐路径,这使得最终推荐给用户100的路径能够更加满足用户需求。比如,当根据信令接入次序确定出候选路径后,路径推荐设备300可以基于该信令接入次序所指示的多个接入点中识别出偏离接入点,并根据该偏离接入点在路网中的位置,对已经搜索出的候选路径进行修正,从而使得最终确定出的推荐路径不存在绕路问题。如此,可以提高用户100的使用体验,方便用户100出行。In this embodiment, when the path recommendation device 300 recommends a feasible path from the origin to the destination for the user 100, it is determined according to the signaling access sequence corresponding to the road network paths of other users when passing through the origin and destination. A recommended route, which makes the route finally recommended to the user 100 more satisfy the user's needs. For example, after the candidate path is determined according to the signaling access sequence, the path recommendation device 300 may identify a deviation access point from among the multiple access points indicated by the signaling access sequence, and based on the deviation access point In the position in the road network, the candidate paths that have been searched are corrected, so that there is no detour problem in the finally determined recommended path. In this way, the use experience of the user 100 can be improved, and the travel of the user 100 is facilitated.
上述实施例中,路径推荐设备300在为用户100推荐路径的过程中,是根据各个接入点的信号覆盖范围下的所有候选路网路段进行搜索。实际应用场景中,单个接入点对应的候选路网路段的数量较多,从而路径推荐设备300在确定推荐路径时可能需要较大的计算量。为此,在一些可能的实施方式中,路径推荐设备300可以预先基于历史推荐路径等数据对各个接入点对应的候选路网路段进行过滤,以减少各个接入点对应的候选路网路段的数量。In the above embodiment, the route recommendation device 300 searches for all candidate road network segments under the signal coverage of each access point during the process of recommending routes for the user 100 . In an actual application scenario, the number of candidate road network segments corresponding to a single access point is relatively large, so the route recommendation device 300 may require a large amount of calculation when determining the recommended route. For this reason, in some possible implementation manners, the route recommendation device 300 may pre-filter the candidate road network segments corresponding to each access point based on data such as historical recommended routes, so as to reduce the number of candidate road network segments corresponding to each access point. quantity.
具体的,参见图6,图6示出了另一种路径推荐的方法流程示意图。如图6所示,该方法具体可以包括:Specifically, referring to FIG. 6 , FIG. 6 shows a schematic flowchart of another method for route recommendation. As shown in Figure 6, the method may specifically include:
S601:路径推荐设备300获取路径推荐请求,该路径推荐请求包括起始地的标识以及目的地的标识。S601: The route recommendation device 300 acquires a route recommendation request, where the route recommendation request includes an identifier of an origin and an identifier of a destination.
本实施例中,步骤S601的具体实现方式与前述实施例中步骤S301的具体实现方式类似,可参见前述实施例的相关之处描述,在此不做赘述。In this embodiment, the specific implementation manner of step S601 is similar to the specific implementation manner of step S301 in the foregoing embodiments, and reference may be made to relevant descriptions in the foregoing embodiments, and details are not repeated here.
S602:路径推荐设备300获取路网中的历史推荐路径以及该历史推荐路径对应的接入点。S602: The route recommendation device 300 acquires a historically recommended route in the road network and an access point corresponding to the historically recommended route.
其中,历史推荐路径,即在为用户100推荐路径之前,路径推荐设备300为其他一个或者多个用户在路网中移动时已经推荐的移动路径。历史推荐路径对应的接入点,即为其他一个或者多个用户所携带的移动终端在沿着该历史推荐路径进行移动过程中所依次接入 的接入点。Wherein, the historically recommended route refers to the moving route recommended by the route recommending device 300 for one or more other users when moving in the road network before recommending the route for the user 100 . The access point corresponding to the historical recommended route is the access point that the mobile terminal carried by one or more other users accesses sequentially while moving along the historical recommended route.
在一种可能的实施方式中,路径推荐设备300可以获取其他用户在沿着历史推荐路径移动时其他用户携带的移动终端所产生的信令路径以及全球定位系统(global positioning system,GPS)路径。其中,信令路径可以指示其他用户携带的移动终端在移动时所依次接入的多个接入点;而GPS路径是指利用GPS技术所确定的其他用户携带的移动终端的移动路径。由于实际应用中其他用户携带的移动终端的GPS路径与该移动终端在路网中移动路径可能存在差异,例如GPS路径中的部分移动路径不位于路网中的路段等。因此,路径推荐设备300可以基于GPS路径获得该移动终端在路网中的移动路径。例如,路径推荐设备300可以利用隐马尔可夫模型(hidden markov model,HMM)将GPS路径转换为移动终端在路网中的移动路径,也即步骤S601中的历史推荐路径。In a possible implementation manner, the path recommendation device 300 may obtain signaling paths and global positioning system (global positioning system, GPS) paths generated by mobile terminals carried by other users when other users move along the historical recommended path. Wherein, the signaling path may indicate multiple access points that mobile terminals carried by other users sequentially access while moving; and the GPS path refers to the moving path of mobile terminals carried by other users determined by using GPS technology. In practical applications, there may be differences between the GPS path of the mobile terminal carried by other users and the mobile terminal's moving path in the road network, for example, part of the moving path in the GPS path is not located in a road section in the road network. Therefore, the route recommendation device 300 can obtain the moving route of the mobile terminal in the road network based on the GPS route. For example, the route recommendation device 300 can use a hidden Markov model (hidden markov model, HMM) to convert the GPS route into the mobile terminal's moving route in the road network, that is, the historical recommended route in step S601.
当然,实际应用时,路径推荐设备300也可以是通过其它方式获取其他用户携带的移动终端的历史推荐路径,如路径推荐设备300可以通过查询历史推荐记录的方式,获取其为其他用户已经推荐的移动路径等。本实施例对此并不进行限定。Of course, in practical applications, the route recommendation device 300 may also obtain historical recommended routes of mobile terminals carried by other users in other ways. moving path, etc. This embodiment does not limit it.
实际应用时,历史推荐路径的数量可以是一个,也可以是多个,并且,不同历史推荐路径可以存在不同,如不同历史推荐路径中可以包括不同的路网路段等。In practical applications, the number of historically recommended routes may be one or multiple, and different historically recommended routes may be different, for example, different historically recommended routes may include different road network segments.
S603:路径推荐设备300根据历史推荐路径、历史推荐路径对应的接入点以及途经该起始地和目的地的路网路径对应的信令接入次序,从路网中搜索出途径起始地以及目的地的候选路径。S603: The route recommendation device 300 searches out the starting point of the route from the road network according to the historical recommended route, the access point corresponding to the historical recommended route, and the signaling access sequence corresponding to the road network route passing through the starting point and the destination and candidate paths to destinations.
S604:路径推荐设备300对候选路径进行修正,得到推荐路径。S604: The route recommendation device 300 corrects the candidate routes to obtain a recommended route.
作为一种实现示例,路径推荐设备300可以根据其他用户对应的历史推荐路径以及历史推荐路径对应的接入点,构建第一二分图以及第二二分图,其中,第一二分图中的两类顶点分别为历史推荐路径中的路网路段与历史推荐路径对应的接入点,第二二分图中的两类顶点分别为历史推荐路径中的路网路段与历史推荐路径中的终止接入点(也即其他用户携带的移动终端沿着该历史推荐路径移动过程中所接入的最后一个接入点)。然后,路径推荐设备300可以根据构建出的第一二分图与第二二分图以及途经该起始地和目的地的路网路径对应的信令接入次序,从路网中搜索出多个接入点对应的候选路径,并通过对该候选路径进行修正,得到最终提供给用户100的推荐路径。As an implementation example, the route recommendation device 300 may construct a first bipartite graph and a second bipartite graph according to historical recommended routes corresponding to other users and access points corresponding to the historical recommended routes, wherein, in the first bipartite graph The two types of vertices in the bipartite graph are the road network segments in the historical recommended route and the access points corresponding to the historical recommended route, and the two types of vertices in the second bipartite graph are the road network segments in the historical recommended route and the The terminating access point (that is, the last access point accessed by the mobile terminals carried by other users along the historical recommended route). Then, the path recommendation device 300 can search out multiple paths from the road network according to the signaling access sequence corresponding to the constructed first bipartite graph, the second bipartite graph, and the road network paths passing through the origin and destination. Candidate routes corresponding to each access point, and by modifying the candidate routes, the recommended route finally provided to the user 100 is obtained.
举例来说,路径推荐设备300在构建二分图时,可以将历史推荐路径中的全部路网路段以及各个路网路段对应的接入点,作为第一二分图中的两类顶点,并通过遍历历史推荐路径中包括的路网路段以及该历史推荐路径对应的接入点,确定其他用户携带的移动终端在每条路网路段上移动时所接入的接入点,并在第一二分图中在该接入点以及该路网路段之间构建一条边,以此可以构建出基于接入点以及路网路段的第一二分图,如图7左侧所示。实际应用中,历史推荐路径的数量可能为多个,从而可能在不同历史推荐路径中均存在相同路网路段与接入点之间的配对关系。因此,路径推荐设备300可以在第一二分图中在接入点以及路网路段之间构建一条边时,为这条边添加权重值,如设置这条边的初始权重值为1等。并且,在遍历剩余的历史推荐路径以及该历史推荐路径对应的接入点时,若确定其他用户携带的移动终端在该路网路段上移动时仍然接入该接入点,则路径推荐设备300可以在第一二分图中增加这条边的权重值,如每重复出现一次,则为这条边的权重值 加1等。For example, when the path recommendation device 300 constructs the bipartite graph, it can use all the road network segments in the historically recommended route and the access points corresponding to each road network segment as the two types of vertices in the first bipartite graph, and pass Traverse the road network sections included in the historical recommended route and the access points corresponding to the historical recommended route, determine the access points that the mobile terminals carried by other users access when moving on each road network section, and An edge is constructed between the access point and the road network segment in the subgraph, so that a first bipartite graph based on the access point and the road network segment can be constructed, as shown on the left side of FIG. 7 . In practical applications, there may be multiple historical recommended routes, so that there may be a pairing relationship between the same road network segment and an access point in different historical recommended routes. Therefore, the route recommendation device 300 may add a weight value to the edge when constructing an edge between the access point and the road network segment in the first bipartite graph, such as setting the initial weight value of the edge to 1, etc. Moreover, when traversing the remaining historically recommended routes and the access points corresponding to the historically recommended routes, if it is determined that mobile terminals carried by other users still access the access point when moving on the road network section, the route recommendation device 300 It is possible to increase the weight value of this edge in the first bipartite graph, such as adding 1 to the weight value of this edge every time it occurs repeatedly.
另外,路径推荐设备300还可以将历史推荐路径中的路网路段与历史推荐路径中的终止接入点,作为第二二分图的两类顶点,并通过遍历历史推荐路径中包括的最后一个路网路段以及该历史推荐路径对应的终止接入点,确定其他用户携带的移动终端在接入最后一个接入点时所在的路网路段,然后在第二二分图中在该终止接入点以及该路网路段之间构建一条边,以此可以构建出基于终止接入点以及路网路段的第二二分图,如图7右侧所示。并且,路径推荐设备300可以在第一二分图中在接入点以及路网路段之间构建一条边时,为这条边添加权重值,如设置这条边的初始权重值为1等。当多条历史推荐路径中存在同一终止接入点对应相同的路网路段时,路径推荐设备300可以在第二二分图中增加这条边的权重值,如每重复出现一次,则为这条边的权重值加1等。In addition, the route recommendation device 300 can also use the road network segment in the historical recommended route and the terminating access point in the historical recommended route as two types of vertices of the second bipartite graph, and traverse the last one included in the historical recommended route Road network section and the terminating access point corresponding to the historical recommended route, determine the road network section where the mobile terminal carried by other users accesses the last access point, and then in the second bipartite graph in the terminating access point An edge is constructed between the point and the road network section, so that a second bipartite graph based on the termination access point and the road network section can be constructed, as shown on the right side of FIG. 7 . In addition, the path recommendation device 300 may add a weight value to the edge when constructing an edge between the access point and the road network section in the first bipartite graph, such as setting the initial weight value of the edge to 1, etc. When the same terminating access point corresponds to the same road network segment in multiple historical recommended routes, the route recommendation device 300 can increase the weight value of this edge in the second bipartite graph. Add 1 to the weight value of the edge, etc.
在构建出第一二分图以及第二二分图之后,路径推荐设备300可以进一步构建第一二分图对应的第一图嵌入向量集合以及第二二分图对应的第二图嵌入向量集合。示例性地,路径推荐设备300可以调用图嵌入算法,如大规模信息网络嵌入(large-scale information network embedding,LINE)算法等,基于预先定义的目标函数,计算得到第一二分图中每个顶点对应的图嵌入向量,以此得到第一二分图对应的第一图嵌入向量集合,该第一图嵌入向量集合中的图嵌入向量使得目标函数的取值低于预设值。同时,路径推荐设备300可以调用图嵌入算法(可以与前述图嵌入算法),基于预先定义的目标函数(可以与前述目标函数一致),计算得到第二二分图中每个顶点对应的图嵌入向量,以此得到第二二分图对应的第二图嵌入向量集合,该第二图嵌入向量集合中的图嵌入向量使得目标函数的取值低于预设值。After constructing the first bipartite graph and the second bipartite graph, the path recommendation device 300 can further construct the first graph embedding vector set corresponding to the first bipartite graph and the second graph embedding vector set corresponding to the second bipartite graph . Exemplarily, the path recommendation device 300 can call a graph embedding algorithm, such as a large-scale information network embedding (large-scale information network embedding, LINE) algorithm, etc., based on a predefined objective function, calculate each The graph embedding vectors corresponding to the vertices are used to obtain the first graph embedding vector set corresponding to the first bipartite graph, and the graph embedding vectors in the first graph embedding vector set make the value of the objective function lower than a preset value. At the same time, the path recommendation device 300 can call the graph embedding algorithm (which can be the same as the aforementioned graph embedding algorithm), and calculate the graph embedding corresponding to each vertex in the second bipartite graph based on the predefined objective function (which can be consistent with the aforementioned objective function). vector, so as to obtain a second set of graph embedding vectors corresponding to the second bipartite graph, and the graph embedding vectors in the second set of graph embedding vectors make the value of the objective function lower than a preset value.
其中,预先定义的目标函数,例如可以是下述公式(7)、(8)所示的函数:Wherein, the pre-defined objective function can be, for example, the functions shown in the following formulas (7) and (8):
Figure PCTCN2022091661-appb-000037
Figure PCTCN2022091661-appb-000037
Figure PCTCN2022091661-appb-000038
Figure PCTCN2022091661-appb-000038
其中,E b为图嵌入向量集合,e ij为连接顶点v j与顶点v i的边,w ij为e ij的权重,
Figure PCTCN2022091661-appb-000039
为顶点v i的图嵌入向量,
Figure PCTCN2022091661-appb-000040
为顶点v j的图嵌入向量,V r为与v j同类型的顶点集合。
Among them, E b is the set of graph embedding vectors, e ij is the edge connecting vertex v j and vertex v i , w ij is the weight of e ij ,
Figure PCTCN2022091661-appb-000039
is the graph embedding vector of vertex v i ,
Figure PCTCN2022091661-appb-000040
is the graph embedding vector of vertex v j , and V r is the set of vertices of the same type as v j .
在确定移动终端所接入的各个接入点对应的候选路网路段时,以确定接入点z t为例,路径推荐设备300可以先根据接入点z t的信号覆盖范围,确定N个初筛候选路网路段。然后,路径推荐设备300可以根据下述公式(9)计算出接入点z t相对于每个初筛候选路网路段的距离概率: When determining the candidate road network segments corresponding to each access point accessed by the mobile terminal, taking determining the access point z t as an example, the route recommendation device 300 may first determine N road network segments according to the signal coverage of the access point z t Preliminary screening of candidate road network segments. Then, the route recommendation device 300 can calculate the distance probability of the access point z t relative to each preliminary screening candidate road network segment according to the following formula (9):
Figure PCTCN2022091661-appb-000041
Figure PCTCN2022091661-appb-000041
同时,路径推荐设备300可以根据下述公式(10)计算出接入点z t相对于每个初筛候选路网路段的历史概率: At the same time, the route recommendation device 300 can calculate the historical probability of the access point z t relative to each preliminary screening candidate road network segment according to the following formula (10):
Figure PCTCN2022091661-appb-000042
Figure PCTCN2022091661-appb-000042
其中,
Figure PCTCN2022091661-appb-000043
为初筛候选路网路段
Figure PCTCN2022091661-appb-000044
的历史概率;
Figure PCTCN2022091661-appb-000045
Figure PCTCN2022091661-appb-000046
分别是初筛候选路网路段
Figure PCTCN2022091661-appb-000047
和接入点z t在第一二分图中的图嵌入向量;
Figure PCTCN2022091661-appb-000048
Figure PCTCN2022091661-appb-000049
分别是初筛候选路网路段
Figure PCTCN2022091661-appb-000050
和接入点z t的终止接入点在第二二分图中的图嵌入向量。
in,
Figure PCTCN2022091661-appb-000043
Candidate road network segments for preliminary screening
Figure PCTCN2022091661-appb-000044
the historical probability of
Figure PCTCN2022091661-appb-000045
and
Figure PCTCN2022091661-appb-000046
They are the primary screening candidate road network sections
Figure PCTCN2022091661-appb-000047
and the graph embedding vector of the access point z t in the first bipartite graph;
Figure PCTCN2022091661-appb-000048
and
Figure PCTCN2022091661-appb-000049
They are the primary screening candidate road network sections
Figure PCTCN2022091661-appb-000050
and the graph embedding vector of the terminating access point of access point z t in the second bipartite graph.
然后,路径推荐设备300可以根据各个初筛候选路网路段对应的距离概率以及历史概率,计算出每个初筛候选路网路段对应的发射概率。示例性的,每个初筛候选路网路段对应的发射概率可以通过下述公式(11)进行计算:Then, the route recommendation device 300 can calculate the transmission probability corresponding to each preliminary screening candidate road network segment according to the distance probability and historical probability corresponding to each preliminary screening candidate road network segment. Exemplarily, the transmission probability corresponding to each preliminary screening candidate road network segment can be calculated by the following formula (11):
Figure PCTCN2022091661-appb-000051
Figure PCTCN2022091661-appb-000051
其中,
Figure PCTCN2022091661-appb-000052
为初筛候选路网路段
Figure PCTCN2022091661-appb-000053
的发射概率;w为权重系数,例如可以是0.5等。
in,
Figure PCTCN2022091661-appb-000052
Candidate road network segments for preliminary screening
Figure PCTCN2022091661-appb-000053
The emission probability of ; w is a weight coefficient, for example, it can be 0.5 and so on.
接着,路径推荐设备300可以根据各个初筛候选路网路段对应的发射概率,过滤发射概率小于预设的概率阈值的初筛候选路网路段,并将剩余的发射概率不小于预设的概率阈值的初筛候选路网路段作为接入点z t对应的候选路网路段。这样,路径推荐设备300可以根据过滤后所得到的接入点z t对应的候选路网路段,搜索出移动终端对应的候选路径,以此来减少路径推荐设备300确定候选路径时参与计算的候选路网路段的数量。其中,路径推荐设备300可以根据前述公式(1)、(2)、(3)以及公式(11),从经过筛选后的各个接入点对应的候选路网路段中搜索出移动终端的候选路径,其从候选路网路段中搜索出候选路径的具体实现方式以及对候选路径进行修正的具体实现方式,可以参见前述实施例中的相关之处描述,在此不做赘述。 Next, the route recommendation device 300 can filter the preliminary screening candidate road network segments whose emission probabilities are less than the preset probability threshold according to the emission probabilities corresponding to each preliminary screening candidate road network segments, and set the remaining emission probabilities not less than the preset probability threshold The preliminary screening candidate road network section is used as the candidate road network section corresponding to the access point z t . In this way, the route recommendation device 300 can search out the candidate route corresponding to the mobile terminal according to the candidate road network segment corresponding to the access point z t obtained after filtering, so as to reduce the number of candidates involved in the calculation when the route recommendation device 300 determines the candidate route. The number of road network segments. Wherein, the route recommendation device 300 can search out the candidate route of the mobile terminal from the candidate road network segments corresponding to each access point after screening according to the aforementioned formulas (1), (2), (3) and formula (11). For specific implementations of searching out candidate routes from candidate road network segments and correcting candidate routes, reference may be made to relevant descriptions in the foregoing embodiments, and details are not repeated here.
S605:路径推荐设备300输出推荐路径。S605: The route recommendation device 300 outputs the recommended route.
其中,步骤S605的具体实现过程,可以参见前述实施例中步骤S303的相关之处描述,在此不再重述。Wherein, for the specific implementation process of step S605, reference may be made to the description of relevant parts of step S303 in the foregoing embodiments, which will not be repeated here.
本实施例中,路径推荐设备300在根据每个接入点对应的候选路网路段搜索候选路径时,根据其他用户携带的移动终端所产生的历史推荐路径等数据,预先对每个接入点对应的候选路网路段进行过滤,从而可以减少参与计算的候选路网路段的数量,从而不仅可以提高路径推荐设备300为用户100推荐路径的效率,也能减少计算资源的消耗。In this embodiment, when searching for candidate routes according to the candidate road network segments corresponding to each access point, the route recommendation device 300 pre-selects each access point according to historical recommended routes and other data generated by mobile terminals carried by other users. The corresponding candidate road network segments are filtered, thereby reducing the number of candidate road network segments participating in the calculation, thereby not only improving the efficiency of the route recommendation device 300 in recommending routes for the user 100, but also reducing the consumption of computing resources.
值得注意的是,本领域的技术人员根据以上描述的内容,能够想到的其他合理的步骤组合,也属于本申请的保护范围内。其次,本领域技术人员也应该熟悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请所必须的。It should be noted that other reasonable step combinations conceivable by those skilled in the art based on the above description also fall within the protection scope of the present application. Secondly, those skilled in the art should also be familiar with that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by this application.
上文中结合图1至图7,详细描述了本申请所提供的路径推荐方法,下面将结合图8至图9,描述根据本申请所提供的路径推荐装置和路径推荐设备。The route recommendation method provided by the present application is described in detail above with reference to FIG. 1 to FIG. 7 , and the route recommendation device and route recommendation device provided according to the present application will be described below in conjunction with FIGS. 8 to 9 .
图8为本申请提供的一种路径推荐装置的结构示意图。如图8所示,路径推荐装置800可以包括:FIG. 8 is a schematic structural diagram of a route recommendation device provided by the present application. As shown in FIG. 8, the path recommendation device 800 may include:
获取模块801,用于获取路径推荐请求,所述路径推荐请求包括起始地的标识和目的地的标识;An acquisition module 801, configured to acquire a route recommendation request, where the route recommendation request includes an identification of an origin and an identification of a destination;
确定模块802,用于根据途经所述起始地和所述目的地的路网路径对应的信令接入次序确定推荐路径,所述推荐路径包括从所述起始地到所述目的地所经过的路网路段信息;A determination module 802, configured to determine a recommended path according to the signaling access sequence corresponding to the road network paths passing through the origin and the destination, the recommended path includes all the routes from the origin to the destination Passed road network section information;
输出模块803,用于输出所述推荐路径。An output module 803, configured to output the recommended path.
应理解的是,本发明本申请实施例的路径推荐装置800可以通过CPU或专用集成电路(application-specific integrated circuit,ASIC)实现,或可编程逻辑器件(programmable logic device,PLD)实现,上述PLD可以是复杂程序逻辑器件(complex programmable logical device, CPLD),现场可编程门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。也可以通过软件实现图1至图8所示的网页搜索方法时,路径推荐装置800及其各个模块也可以为软件模块。It should be understood that the path recommendation device 800 in this embodiment of the present invention may be implemented by a CPU or an application-specific integrated circuit (ASIC), or a programmable logic device (PLD). It can be complex programmable logic device (complex programmable logical device, CPLD), field-programmable gate array (field-programmable gate array, FPGA), general array logic (generic array logic, GAL) or any combination thereof. When the webpage search methods shown in FIGS. 1 to 8 can also be realized by software, the path recommendation device 800 and its modules can also be software modules.
在一种可能的实施方式中,所述信令接入次序指示依次连接的多个接入点,所述确定模块802,具体用于:In a possible implementation manner, the signaling access sequence indicates multiple access points connected in sequence, and the determining module 802 is specifically configured to:
根据所述多个接入点在路网中的位置,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径;According to the positions of the plurality of access points in the road network, searching for a candidate route passing through the starting point and the destination from the road network;
对所述候选路径进行修正,得到所述推荐路径。Correcting the candidate path to obtain the recommended path.
在一种可能的实施方式中,所述确定模块802,具体用于:In a possible implementation manner, the determining module 802 is specifically configured to:
识别所述多个接入点中的偏离接入点;identifying a deviating access point in the plurality of access points;
根据所述偏离接入点在所述路网中的位置,对所述候选路径进行修正,得到所述推荐路径。Correcting the candidate route according to the position of the deviated access point in the road network to obtain the recommended route.
在一种可能的实施方式中,所述确定模块802,具体用于:In a possible implementation manner, the determining module 802 is specifically configured to:
根据所述多个接入点在所述路网中的位置,计算所述多个接入点中的候选接入点所产生的绕路比率,所述绕路比率用于指示所述候选路径存在的路径偏离程度;calculating a detour ratio generated by a candidate access point among the plurality of access points according to positions of the plurality of access points in the road network, the detour ratio being used to indicate the candidate path Existing degree of path deviation;
当所述候选接入点所产生的绕路比率大于比率阈值时,将所述候选接入点识别为所述偏离接入点。The candidate access point is identified as the deviating access point when the detour ratio generated by the candidate access point is greater than a ratio threshold.
在一种可能的实施方式中,所述确定模块802,具体用于:In a possible implementation manner, the determining module 802 is specifically configured to:
获取所述路网中的历史推荐路径以及所述历史推荐路径对应的接入点;Obtaining historical recommended routes in the road network and access points corresponding to the historical recommended routes;
根据所述历史推荐路径、所述历史推荐路径对应的接入点以及所述多个接入点在路网中的位置,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径。According to the historical recommended route, the access point corresponding to the historical recommended route, and the positions of the plurality of access points in the road network, search for the starting point and the destination from the road network candidate paths.
在一种可能的实施方式中,所述确定模块802,具体用于:In a possible implementation manner, the determining module 802 is specifically configured to:
获取第一二分图以及第二二分图,所述第一二分图中的顶点包括所述历史推荐路径中的路网路段以及所述历史推荐路径对应的接入点,所述第二二分图中的顶点包括所述历史推荐路径中的路网路段以及所述历史推荐路径对应的最后连接的接入点;Acquiring a first bipartite graph and a second bipartite graph, the vertices in the first bipartite graph include road network sections in the historical recommended route and access points corresponding to the historical recommended route, the second The vertices in the bipartite graph include road network segments in the historical recommended route and the last connected access point corresponding to the historical recommended route;
根据所述第一二分图以及所述第二二分图,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径。According to the first bipartite graph and the second bipartite graph, a candidate path passing through the origin and the destination is searched out from the road network.
在一种可能的实施方式中,所述输出模块803,还用于呈现信息输入界面,所述信息输入界面用于接收用户输入的所述起始地的标识和所述目的地的标识。In a possible implementation manner, the output module 803 is further configured to present an information input interface, and the information input interface is configured to receive the identifier of the origin and the identifier of the destination input by a user.
在一种可能的实施方式中,所述输出模块803,具体用于:In a possible implementation manner, the output module 803 is specifically configured to:
呈现路径推荐界面,所述路径推荐界面包括所述推荐路径,或,所述路径推荐界面包括所述推荐路径以及所述信令接入次序指示的依次连接的多个接入点。A path recommendation interface is presented, where the path recommendation interface includes the recommended path, or, the path recommendation interface includes the recommended path and a plurality of sequentially connected access points indicated by the signaling access order.
根据本申请实施例的路径推荐装置800可对应于执行本申请实施例中描述的方法,并且路径推荐装置800的各个模块的上述和其它操作和/或功能分别为了实现图3、图6中的各个方法的相应流程,为了简洁,在此不再赘述。The path recommendation device 800 according to the embodiment of the present application may correspond to the implementation of the method described in the embodiment of the present application, and the above-mentioned and other operations and/or functions of each module of the path recommendation device 800 are to realize the For the sake of brevity, the corresponding processes of each method are not repeated here.
本实施例中,在为用户推荐从起始地到目的地的可行路径时,是根据其他用户途径起始地以及目的地时的路网路径对应的信令接入次序确定推荐路径,这使得最终推荐给用户的路径能够更加满足用户需求。如此,可以提高用户的使用体验,方便用户出行。In this embodiment, when recommending a feasible path from the starting point to the destination for the user, the recommended path is determined according to the signaling access sequence corresponding to the road network path when other users pass the starting point and the destination, which makes Finally, the path recommended to the user can better meet the needs of the user. In this way, the use experience of the user can be improved, and the travel of the user is facilitated.
图9为本申请提供的一种路径推荐设备900的示意图,如图所示,所述路径推荐设备900包括处理器901、存储器902、通信接口903。其中,处理器901、存储器902、通信接口903通过总线904进行通信,也可以通过无线传输等其他手段实现通信。该存储器902用于存储指令,该处理器901用于执行该存储器902存储的指令。进一步的,路径推荐设备900还可以包括内存单元905,还内存单元905可以通过总线904与处理器901、存储介质902以及通信接口903连接。其中,该存储器902存储程序代码,且处理器901可以调用存储器902中存储的程序代码执行以下操作:FIG. 9 is a schematic diagram of a route recommendation device 900 provided in the present application. As shown in the figure, the route recommendation device 900 includes a processor 901 , a memory 902 , and a communication interface 903 . Wherein, the processor 901, the memory 902, and the communication interface 903 communicate through the bus 904, or communicate through other means such as wireless transmission. The memory 902 is used to store instructions, and the processor 901 is used to execute the instructions stored in the memory 902 . Further, the path recommendation device 900 may further include a memory unit 905 , and the memory unit 905 may be connected to the processor 901 , the storage medium 902 and the communication interface 903 through the bus 904 . Wherein, the memory 902 stores program codes, and the processor 901 can call the program codes stored in the memory 902 to perform the following operations:
获取路径推荐请求,所述路径推荐请求包括起始地的标识和目的地的标识;Obtaining a route recommendation request, where the route recommendation request includes an identification of an origin and an identification of a destination;
根据途经所述起始地和所述目的地的路网路径对应的信令接入次序确定推荐路径,所述推荐路径包括从所述起始地到所述目的地所经过的路网路段信息;Determine the recommended path according to the signaling access sequence corresponding to the road network path passing through the origin and the destination, and the recommended path includes road network segment information passed from the origin to the destination ;
输出所述推荐路径。Output the recommended path.
应理解,在本申请实施例中,该处理器901可以是CPU,该处理器901还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立器件组件等。通用处理器可以是微处理器或者是任何常规的处理器等。It should be understood that, in the embodiment of the present application, the processor 901 may be a CPU, and the processor 901 may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASICs), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete device components, etc. A general purpose processor may be a microprocessor or any conventional processor or the like.
该存储器902可以包括只读存储器和随机存取存储器,并向处理器901提供指令和数据。存储器902还可以包括非易失性随机存取存储器。例如,存储器902还可以存储设备类型的信息。The memory 902 may include read-only memory and random-access memory, and provides instructions and data to the processor 901 . Memory 902 may also include non-volatile random access memory. For example, memory 902 may also store device type information.
该存储器902可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data date SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。The memory 902 can be volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available such as static random access memory (static RAM, SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (double data date SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct Memory bus random access memory (direct rambus RAM, DR RAM).
该通信接口903用于与计算设备900连接的其它设备进行通信。该总线904除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线904。The communication interface 903 is used to communicate with other devices connected to the computing device 900 . The bus 904 may include not only a data bus, but also a power bus, a control bus, and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus 904 in the figure.
应理解,根据本申请实施例的路径推荐设备900可对应于本申请实施例中的路径推荐装置900,并可以对应于执行根据本申请实施例中图3、图6所示方法中的路径推荐设备300,并且路径推荐设备900所实现的上述和其它操作和/或功能分别为了实现图3、图6中的各个方法的相应流程,为了简洁,在此不再赘述。It should be understood that the path recommendation device 900 according to the embodiment of the present application may correspond to the path recommendation device 900 in the embodiment of the present application, and may correspond to performing the path recommendation in the method shown in Fig. 3 and Fig. 6 according to the embodiment of the present application The above-mentioned and other operations and/or functions implemented by the device 300 and the route recommendation device 900 are respectively to realize the corresponding processes of the methods in FIG. 3 and FIG.
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机 程序产品包括一个或多个计算机指令。在计算机上加载或执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘(solid state drive,SSD)The above-mentioned embodiments may be implemented in whole or in part by software, hardware, firmware or other arbitrary combinations. When implemented using software, the above-described embodiments may be implemented in whole or in part in the form of computer program products. The computer program product includes one or more computer instructions. When the computer program instructions are loaded or executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center that includes one or more sets of available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media. The semiconductor medium can be a solid state drive (SSD)
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the application, but the scope of protection of the application is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the scope of the technology disclosed in the application. Modifications or replacements, these modifications or replacements shall be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (18)

  1. 一种路径推荐的方法,其特征在于,所述方法包括:A method for path recommendation, characterized in that the method comprises:
    获取路径推荐请求,所述路径推荐请求包括起始地的标识和目的地的标识;Obtaining a route recommendation request, where the route recommendation request includes an identification of an origin and an identification of a destination;
    根据途经所述起始地和所述目的地的路网路径对应的信令接入次序确定推荐路径,所述推荐路径包括从所述起始地到所述目的地所经过的路网路段信息;Determine the recommended path according to the signaling access sequence corresponding to the road network path passing through the origin and the destination, and the recommended path includes road network segment information passed from the origin to the destination ;
    输出所述推荐路径。Output the recommended path.
  2. 根据权利要求1所述的方法,其特征在于,所述信令接入次序指示依次连接的多个接入点,所述根据途经所述起始地和所述目的地的路网路径对应的信令接入次序确定路径推荐结果,包括:The method according to claim 1, wherein the signaling access order indicates a plurality of access points connected in sequence, and the access points corresponding to the road network paths passing through the origin and the destination are characterized in that, The signaling access sequence determines the path recommendation results, including:
    根据所述多个接入点在路网中的位置,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径;According to the positions of the plurality of access points in the road network, searching for a candidate route passing through the starting point and the destination from the road network;
    对所述候选路径进行修正,得到所述推荐路径。Correcting the candidate path to obtain the recommended path.
  3. 根据权利要求2所述的方法,其特征在于,所述对所述候选路径进行修正,得到所述推荐路径,包括:The method according to claim 2, wherein said modifying said candidate path to obtain said recommended path comprises:
    识别所述多个接入点中的偏离接入点;identifying a deviating access point in the plurality of access points;
    根据所述偏离接入点在所述路网中的位置,对所述候选路径进行修正,得到所述推荐路径。Correcting the candidate route according to the position of the deviated access point in the road network to obtain the recommended route.
  4. 根据权利要求3所述的方法,其特征在于,所述识别所述多个接入点中的偏离接入点,包括:The method according to claim 3, wherein the identifying a deviating access point among the plurality of access points comprises:
    根据所述多个接入点在所述路网中的位置,计算所述多个接入点中的候选接入点所产生的绕路比率,所述绕路比率用于指示所述候选路径存在的路径偏离程度;calculating a detour ratio generated by a candidate access point among the plurality of access points according to positions of the plurality of access points in the road network, the detour ratio being used to indicate the candidate path Existing degree of path deviation;
    当所述候选接入点所产生的绕路比率大于比率阈值时,将所述候选接入点识别为所述偏离接入点。The candidate access point is identified as the deviating access point when the detour ratio generated by the candidate access point is greater than a ratio threshold.
  5. 根据权利要求2至4任一项所述的方法,其特征在于,所述根据所述多个接入点在路网中的位置,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径,包括:The method according to any one of claims 2 to 4, characterized in that, according to the positions of the plurality of access points in the road network, the starting point and the starting point are searched from the road network. Candidate paths for the destination, including:
    获取所述路网中的历史推荐路径以及所述历史推荐路径对应的接入点;Obtaining historical recommended routes in the road network and access points corresponding to the historical recommended routes;
    根据所述历史推荐路径、所述历史推荐路径对应的接入点以及所述多个接入点在路网中的位置,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径。According to the historical recommended route, the access point corresponding to the historical recommended route, and the positions of the plurality of access points in the road network, search for the starting point and the destination from the road network candidate paths.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述历史推荐路径以及所述历史推荐路径对应的接入点,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径,包括:The method according to claim 5, characterized in that, according to the historical recommended route and the access point corresponding to the historical recommended route, the starting point and the route are searched out from the road network. Candidate paths to the destination, including:
    获取第一二分图以及第二二分图,所述第一二分图中的顶点包括所述历史推荐路径中的路网路段以及所述历史推荐路径对应的接入点,所述第二二分图中的顶点包括所述历史推荐路径中的路网路段以及所述历史推荐路径对应的最后连接的接入点;Acquiring a first bipartite graph and a second bipartite graph, the vertices in the first bipartite graph include road network sections in the historical recommended route and access points corresponding to the historical recommended route, the second The vertices in the bipartite graph include road network segments in the historical recommended route and the last connected access point corresponding to the historical recommended route;
    根据所述第一二分图以及所述第二二分图,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径。According to the first bipartite graph and the second bipartite graph, a candidate path passing through the origin and the destination is searched out from the road network.
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    呈现信息输入界面,所述信息输入界面用于接收用户输入的所述起始地的标识和所述 目的地的标识。An information input interface is presented, and the information input interface is used to receive the identification of the origin and the identification of the destination input by the user.
  8. 根据权利要求1至7任一项所述的方法,其特征在于,所述输出所述推荐路径,包括:The method according to any one of claims 1 to 7, wherein the outputting the recommended path comprises:
    呈现路径推荐界面,所述路径推荐界面包括所述推荐路径,或,所述路径推荐界面包括所述推荐路径以及所述信令接入次序指示的依次连接的多个接入点。A path recommendation interface is presented, where the path recommendation interface includes the recommended path, or, the path recommendation interface includes the recommended path and a plurality of sequentially connected access points indicated by the signaling access order.
  9. 一种路径推荐装置,其特征在于,所述装置包括:A path recommendation device, characterized in that the device comprises:
    获取模块,用于获取路径推荐请求,所述路径推荐请求包括起始地的标识和目的地的标识;An acquisition module, configured to acquire a route recommendation request, where the route recommendation request includes an identification of an origin and an identification of a destination;
    确定模块,用于根据途经所述起始地和所述目的地的路网路径对应的信令接入次序确定推荐路径,所述推荐路径包括从所述起始地到所述目的地所经过的路网路段信息;A determining module, configured to determine a recommended path according to the signaling access sequence corresponding to the road network path passing through the origin and the destination, the recommended path includes the route from the origin to the destination road network segment information;
    输出模块,用于输出所述推荐路径。An output module, configured to output the recommended path.
  10. 根据权利要求9所述的装置,其特征在于,所述信令接入次序指示依次连接的多个接入点,所述确定模块,具体用于:The device according to claim 9, wherein the signaling access order indicates multiple access points connected in sequence, and the determining module is specifically used for:
    根据所述多个接入点在路网中的位置,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径;According to the positions of the plurality of access points in the road network, searching for a candidate route passing through the starting point and the destination from the road network;
    对所述候选路径进行修正,得到所述推荐路径。Correcting the candidate path to obtain the recommended path.
  11. 根据权利要求10所述的装置,其特征在于,所述确定模块,具体用于:The device according to claim 10, wherein the determining module is specifically used for:
    识别所述多个接入点中的偏离接入点;identifying a deviating access point in the plurality of access points;
    根据所述偏离接入点在所述路网中的位置,对所述候选路径进行修正,得到所述推荐路径。Correcting the candidate route according to the position of the deviated access point in the road network to obtain the recommended route.
  12. 根据权利要求11所述的装置,其特征在于,所述确定模块,具体用于:The device according to claim 11, wherein the determining module is specifically used for:
    根据所述多个接入点在所述路网中的位置,计算所述多个接入点中的候选接入点所产生的绕路比率,所述绕路比率用于指示所述候选路径存在的路径偏离程度;calculating a detour ratio generated by a candidate access point among the plurality of access points according to positions of the plurality of access points in the road network, the detour ratio being used to indicate the candidate path Existing degree of path deviation;
    当所述候选接入点所产生的绕路比率大于比率阈值时,将所述候选接入点识别为所述偏离接入点。The candidate access point is identified as the deviating access point when the detour ratio generated by the candidate access point is greater than a ratio threshold.
  13. 根据权利要求10至12任一项所述的装置,其特征在于,所述确定模块,具体用于:The device according to any one of claims 10 to 12, wherein the determining module is specifically configured to:
    获取所述路网中的历史推荐路径以及所述历史推荐路径对应的接入点;Obtaining historical recommended routes in the road network and access points corresponding to the historical recommended routes;
    根据所述历史推荐路径、所述历史推荐路径对应的接入点以及所述多个接入点在路网中的位置,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径。According to the historical recommended route, the access point corresponding to the historical recommended route, and the positions of the plurality of access points in the road network, search for the starting point and the destination from the road network candidate paths.
  14. 根据权利要求13所述的装置,其特征在于,所述确定模块,具体用于:The device according to claim 13, wherein the determining module is specifically used for:
    获取第一二分图以及第二二分图,所述第一二分图中的顶点包括所述历史推荐路径中的路网路段以及所述历史推荐路径对应的接入点,所述第二二分图中的顶点包括所述历史推荐路径中的路网路段以及所述历史推荐路径对应的最后连接的接入点;Acquiring a first bipartite graph and a second bipartite graph, the vertices in the first bipartite graph include road network sections in the historical recommended route and access points corresponding to the historical recommended route, the second The vertices in the bipartite graph include road network segments in the historical recommended route and the last connected access point corresponding to the historical recommended route;
    根据所述第一二分图以及所述第二二分图,从所述路网中搜索出途径所述起始地以及所述目的地的候选路径。According to the first bipartite graph and the second bipartite graph, a candidate route passing through the origin and the destination is searched out from the road network.
  15. 根据权利要求9至14任一项所述的装置,其特征在于,所述输出模块,还用于呈现信息输入界面,所述信息输入界面用于接收用户输入的所述起始地的标识和所述目的地的标识。The device according to any one of claims 9 to 14, wherein the output module is further configured to present an information input interface, and the information input interface is used to receive the identification and the origin of the user input. The ID of the destination in question.
  16. 根据权利要求9至15任一项所述的装置,其特征在于,所述输出模块,具体用于:The device according to any one of claims 9 to 15, wherein the output module is specifically used for:
    呈现路径推荐界面,所述路径推荐界面包括所述推荐路径,或,所述路径推荐界面包括所述推荐路径以及所述信令接入次序指示的依次连接的多个接入点。A path recommendation interface is presented, where the path recommendation interface includes the recommended path, or, the path recommendation interface includes the recommended path and a plurality of sequentially connected access points indicated by the signaling access order.
  17. 一种路径推荐设备,其特征在于,包括处理器和存储器;所述存储器,用于存储计算机指令;所述处理器,用于根据所述计算机指令执行如权利要求1至8任一项所述方法的操作步骤。A route recommendation device, characterized in that it includes a processor and a memory; the memory is used to store computer instructions; the processor is used to execute the method according to any one of claims 1 to 8 according to the computer instructions. The steps of the method.
  18. 一种计算机可读存储介质,其特征在于,包括指令,所述指令用于实现如权利要求1至8中任一项所述方法的操作步骤。A computer-readable storage medium, characterized by comprising instructions, the instructions are used to implement the operation steps of the method according to any one of claims 1-8.
PCT/CN2022/091661 2021-08-30 2022-05-09 Route recommendation method and apparatus, and related device WO2023029553A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111007567.8 2021-08-30
CN202111007567.8A CN115730130A (en) 2021-08-30 2021-08-30 Method, device and related equipment for path recommendation

Publications (1)

Publication Number Publication Date
WO2023029553A1 true WO2023029553A1 (en) 2023-03-09

Family

ID=85291094

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091661 WO2023029553A1 (en) 2021-08-30 2022-05-09 Route recommendation method and apparatus, and related device

Country Status (2)

Country Link
CN (1) CN115730130A (en)
WO (1) WO2023029553A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103119470A (en) * 2010-07-21 2013-05-22 韩国贸易信息通信株式会社 System and method for location-based service for navigating indoors
CN106912018A (en) * 2017-02-28 2017-06-30 上海讯飞瑞元信息技术有限公司 Map-matching method and system based on signaling track
CN107063251A (en) * 2016-11-15 2017-08-18 华南理工大学 A kind of navigation cart system and localization method based on WiFi indoor positionings
CN107643085A (en) * 2017-09-18 2018-01-30 苏州大学 Recommend method and apparatus in a kind of path
WO2020142090A1 (en) * 2018-12-31 2020-07-09 Google Llc Fine-tuned navigation directions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103119470A (en) * 2010-07-21 2013-05-22 韩国贸易信息通信株式会社 System and method for location-based service for navigating indoors
CN107063251A (en) * 2016-11-15 2017-08-18 华南理工大学 A kind of navigation cart system and localization method based on WiFi indoor positionings
CN106912018A (en) * 2017-02-28 2017-06-30 上海讯飞瑞元信息技术有限公司 Map-matching method and system based on signaling track
CN107643085A (en) * 2017-09-18 2018-01-30 苏州大学 Recommend method and apparatus in a kind of path
WO2020142090A1 (en) * 2018-12-31 2020-07-09 Google Llc Fine-tuned navigation directions

Also Published As

Publication number Publication date
CN115730130A (en) 2023-03-03

Similar Documents

Publication Publication Date Title
US10866104B2 (en) Route-deviation recognition method, terminal, and storage medium
US20200232798A1 (en) Method and apparatus for generating, managing, and sharing moving path
US10323954B2 (en) Navigation system with preference analysis mechanism and method of operation thereof
US11305780B2 (en) Road condition status prediction method, device, and server, and storage medium
WO2015120746A1 (en) Method and device for predicting destination of user
US8600659B1 (en) Method and system for geographic search for public transportation commuters
CN109387215B (en) Route recommendation method and device
US9752888B2 (en) Method and apparatus of computing location of safe exit for moving range query in road network
US11137258B2 (en) Systems and methods for comprehensive routing
CN103298010A (en) Network link state display method and network link state display device
US20190277651A1 (en) Techniques and architectures for proactively providing offline maps
US9674654B2 (en) System and method for identifying a geometric footprint of a point of interest
CN113108806B (en) Path planning method, device, equipment and medium
CN114385772A (en) Position information generation method, device, equipment and computer readable medium
WO2023029553A1 (en) Route recommendation method and apparatus, and related device
JP2015158799A (en) Space-time clustering processing device, method and program
JP2000046576A (en) Device and method for guiding moving body and machine- readable recording medium where program is recorded
WO2023109950A1 (en) Tracking area boundary information processing method and apparatus, electronic device, and readable medium
CN112528156B (en) Method for establishing sorting model, method for inquiring automatic completion and corresponding device
US20220364870A1 (en) Navigation system with personal preference analysis mechanism and method of operation thereof
KR102127769B1 (en) Processing method of k-nearest neighbor join queries in road networks and device that processes k-nearest neighbor join queries in road networks
CN113739798A (en) Path planning method and device
WO2018227507A1 (en) Trace segments based navigation
CN110542428B (en) Driving route quality evaluation method and device
CN114199227B (en) Navigation path planning method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22862696

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE