A method of recommending waypoints for navigation
By judging the rationality of navigation waypoints and recommending better candidate points, the problem of detours and time consumption caused by unreasonable waypoints in existing navigation software is solved, thereby improving the accuracy of navigation and user experience.
Patent Information
- Application Number
- CN202510646209.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2026-11-20
AI Technical Summary
Existing navigation software fails to assess the rationality of user-defined waypoints, potentially leading to detours or longer journeys.
By acquiring navigation information of waypoints, we can determine their rationality and recommend better candidate waypoints when they are not rational. We can also use an intent recognition model to determine the user's strong intent and filter out the target waypoint.
It improves the accuracy and efficiency of navigation, avoids detours and time-consuming processes caused by unreasonable waypoints, and enhances the user experience.
Smart Images

Figure CN123135084A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent driving technology, and in particular to a method for recommending navigation waypoints. Background Technology
[0002] In the automotive industry, with the optimization of electronic maps and the development of navigation software, drivers are becoming increasingly reliant on electronic maps and navigation software. Navigation software can plan the optimal route based on user-defined starting and ending points, combined with information such as road grade, traffic signals, congestion conditions, and waypoints.
[0003] However, existing navigation software does not assess the rationality of the waypoints set by the user, and cannot proactively recommend alternative waypoints to the user when there are better waypoints that meet the user's needs. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a method for recommending navigation waypoints. By judging the rationality of the waypoints input by the user, it can recommend better waypoints to the user when the waypoints are not reasonable, thereby avoiding problems such as detours and time consumption caused by unreasonable waypoints and improving the navigation experience.
[0005] To achieve the above objectives, according to one aspect of the present invention, a method for recommending navigation waypoints is provided, comprising:
[0006] Obtain the user-input navigation start point, end point, and waypoints between the start and end points;
[0007] Obtain navigation information for the waypoints and determine whether the waypoints are reasonable based on the navigation information;
[0008] If the stated waypoint is unreasonable, obtain multiple candidate waypoints corresponding to the stated waypoint;
[0009] The target waypoint is selected from the plurality of candidate waypoints.
[0010] Optionally, before determining whether the waypoint is reasonable based on the navigation information, the method further includes:
[0011] Obtain the intent recognition result of the path point, and determine whether the intent recognition result indicates a strong intent;
[0012] If the intent recognition result indicates a strong intent, no target waypoint recommendation will be made.
[0013] Optionally, obtaining the intent recognition result of the waypoints includes:
[0014] Obtain one or more of the following information from the route points: vehicle status information, driving information, route point type, and user historical behavior information;
[0015] The multidimensional features of the waypoints are constructed based on one or more of the vehicle status information, driving information, waypoint type, and user historical behavior information of the waypoints.
[0016] The multidimensional features are input into a pre-trained intent recognition model to obtain the intent recognition results of the waypoints.
[0017] Optionally, determining whether the waypoint is reasonable based on the navigation information includes:
[0018] Based on the navigation information, determine whether the waypoint meets at least one of the following conditions: located in a no-stopping zone, popularity does not meet the preset conditions, there is a detour path behavior, or there is a congested road section within the preset range;
[0019] If a waypoint meets at least one condition, the waypoint is determined to be unreasonable; otherwise, the waypoint is determined to be reasonable, and no target waypoint recommendation is made.
[0020] Optionally, determining whether the heat of the transit point does not meet a preset condition includes:
[0021] Obtain information on the points of interest corresponding to the waypoints and all entrances / exits corresponding to the points of interest; the waypoint is one of all entrances / exits.
[0022] Calculate the total heat and individual heat of each entrance / exit based on information from all entrances / exits;
[0023] Sort the total popularity and individual popularity of each entrance / exit from high to low;
[0024] If both the total popularity and individual popularity of the passing point are at the bottom of the ranking, then the popularity of the passing point is determined not to meet the preset conditions.
[0025] Optionally, determining whether the waypoints exhibit detour path behavior includes:
[0026] Taking the aforementioned path point as the center, extend a preset distance towards the starting point and the ending point respectively to obtain a first extension point on the starting point side and a second extension point on the ending point side;
[0027] Calculate the routeability corresponding to the preset distance based on the straight-line distance between the first extension point and the second extension point and the actual path length;
[0028] Set multiple preset distances, repeat the above steps, and obtain multiple routes corresponding to the multiple preset distances;
[0029] If any path affinity is lower than a preset path affinity threshold, then the route point is determined to have a detour path behavior.
[0030] Optionally, multiple candidate waypoints corresponding to the waypoint are obtained, including:
[0031] The plurality of candidate waypoints are obtained according to preset selection rules, wherein the preset selection rules include at least one of the following: navigation points within a preset distance range of the waypoints, each entrance and exit included in the points of interest of the waypoints, road nodes associated with the waypoints, and facility navigation points within a preset distance range of the waypoints.
[0032] Optionally, selecting the target waypoint from the plurality of candidate waypoints includes:
[0033] For each candidate waypoint, calculate the vehicle travel distance and vehicle travel time based on the starting point, the ending point, and the candidate waypoint;
[0034] Calculate the travel cost distance and travel cost time based on the candidate waypoints, the waypoints themselves, and the road types between them;
[0035] The total path distance corresponding to the candidate waypoints is obtained based on the vehicle travel distance and the movement cost distance; the total time to the candidate waypoints is calculated based on the vehicle travel time and the movement cost time.
[0036] The candidate waypoints are sorted according to the total path distance and the total time, and the target waypoint is selected from the candidate waypoints based on the sorting results.
[0037] Optionally, the waypoints and the plurality of candidate waypoints are multiple entrances and exits to the same point of interest. Selecting the target waypoint from the plurality of candidate waypoints includes:
[0038] Obtain the entrance and exit information of the route points and each candidate route point;
[0039] Calculate the total popularity and individual popularity of each candidate route point based on the entrance and exit information of the route points and each candidate route point;
[0040] The candidate route with the highest total popularity and / or individual popularity is selected from the multiple candidate route points and used as the target route point.
[0041] According to another aspect of the present invention, an electronic device is provided, comprising:
[0042] One or more processors;
[0043] Storage device for storing one or more programs.
[0044] When the one or more programs are executed by the one or more processors, the one or more processors implement the navigation waypoint recommendation method of the present invention.
[0045] According to another aspect of the present invention, a vehicle is provided, the vehicle including a body and electronic devices, the electronic devices being disposed on the body.
[0046] According to another aspect of the present invention, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the navigation waypoint recommendation method of the present invention.
[0047] According to another aspect of the present invention, a computer program product is provided, including a computer program that, when executed by a processor, implements the navigation waypoint recommendation method of the present invention.
[0048] One embodiment of the above invention has the following advantages or beneficial effects: The navigation waypoint recommendation method provided by this invention, after obtaining the user-input navigation start point, end point, and waypoints between the start and end points, acquires the navigation information of the waypoints, and judges whether the waypoints are reasonable based on the navigation information. If a waypoint is unreasonable, multiple candidate waypoints corresponding to the waypoint are acquired, and a target waypoint is selected from the multiple candidate waypoints, thereby recommending the target waypoint to the user. This method can judge whether the waypoints input by the user are reasonable, thereby helping the user to better plan waypoints when they are unreasonable, avoiding problems such as detours and time consumption caused by unreasonable waypoint settings, and improving the accuracy and calculation efficiency of recommendations, thereby improving the navigation experience.
[0049] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description
[0050] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:
[0051] Figure 1 This is a schematic diagram of the main flow of a navigation waypoint recommendation method according to an embodiment of the present invention;
[0052] Figure 2 This is a schematic diagram of the main flow of another navigation waypoint recommendation method according to an embodiment of the present invention;
[0053] Figure 3 This is a schematic diagram of the main flow of another navigation waypoint recommendation method according to an embodiment of the present invention;
[0054] Figure 4 This is a flowchart illustrating a navigation waypoint recommendation method according to an embodiment of the present invention;
[0055] Figure 5 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied;
[0056] Figure 6 This is a schematic diagram of the structure of a computer system suitable for implementing terminal devices or servers of the present invention. Detailed Implementation
[0057] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0058] Navigation software not only provides users with optimal route planning from origin to destination, but also calculates the route from the starting point, through the user-specified waypoints, to the final destination based on the user's input. However, current navigation software typically treats user-input waypoints as fixed coordinates when adding them, without considering whether there are better waypoint options. That is, in some cases, the user-set waypoints may be unreasonable; for example, the user-input waypoints might lead to detours or congestion in the planned route.
[0059] To address the aforementioned issues, this invention provides a method for recommending navigation waypoints. Based on user-defined waypoints, and while maintaining proximity to the original route destination, this method recommends better alternative waypoints, resolving issues such as detours and time consumption caused by unreasonable waypoints, and providing users with a better navigation experience.
[0060] Figure 1 This is a schematic diagram of the main flow of a navigation waypoint recommendation method according to an embodiment of the present invention, as shown below. Figure 1 As shown, it includes the following steps:
[0061] Step S101: Obtain the starting point, ending point, and waypoints between the starting point and ending point of the navigation input by the user;
[0062] Step S102: Obtain navigation information for waypoints and determine whether the waypoints are reasonable based on the navigation information;
[0063] Step S103: If the waypoint is unreasonable, obtain multiple candidate waypoints corresponding to the waypoint;
[0064] Step S104: Select the target waypoint from multiple candidate waypoints.
[0065] In this embodiment of the invention, the navigation waypoint recommendation method first obtains the user-input navigation start point, destination, and waypoints, enabling the navigation software to plan a route based on these information. Then, it obtains navigation information for the waypoints, which may include parking information, congestion information, road direction information, and popularity information. Parking information may include whether the area is a no-parking zone; congestion information may include whether the location is on a congested road section; road direction information may include the location on the road, such as being on the east or west side; popularity information may include total popularity and individual popularity, indicating whether a route is popular. Based on the navigation information, it can be determined whether the waypoint is reasonable. If reasonable, no better waypoint is recommended; if unreasonable, one or more candidate waypoints are obtained, and a target waypoint is selected for recommendation to improve the user experience.
[0066] In this embodiment of the invention, the method for recommending navigation waypoints may further include:
[0067] Step S201: Obtain the starting point, ending point, and waypoints between the starting point and ending point of the navigation input by the user;
[0068] Step S202: Obtain the intent recognition result of the waypoint and determine whether the intent recognition result indicates a strong intent; if yes, proceed to step S203; otherwise, proceed to step S204.
[0069] Step S203: Do not recommend target waypoints;
[0070] Step S204: Obtain navigation information for waypoints and determine whether the waypoints are reasonable based on the navigation information; if yes, proceed to step S203; otherwise, proceed to step S205.
[0071] Step S205: Obtain multiple candidate waypoints corresponding to the waypoints;
[0072] Step S206: Select the target waypoint from multiple candidate waypoints.
[0073] In this embodiment of the invention, users may have a clear and definite intention when setting waypoints, such as refueling or charging at a gas station, resting in a rest area after a long drive, or picking up or dropping off others at a frequently visited location. In these scenarios, the user's travel purpose is relatively clear. Recommending other waypoints may cause inconvenience to the user. Therefore, before judging whether the waypoints are reasonable based on navigation information, it is necessary to identify the intention of the waypoints entered by the user.
[0074] Specifically, the intent recognition results of the waypoints are obtained, and then it is determined whether the intent recognition results indicate a strong intent. If so, the step of determining whether the waypoint is reasonable is not executed, that is, no recommendation is made. If not, the step of determining whether the waypoint is reasonable is executed.
[0075] In one implementation, obtaining the intent recognition result of a waypoint may include: obtaining one or more of vehicle status information, driving information, road type, waypoint type, and user behavior information, and then determining whether the obtained vehicle status information, driving information, location information, waypoint type, and user behavior information meet preset conditions. If so, the intent recognition result is determined to be an intent recognition result indicating a strong intent; otherwise, the intent recognition result is determined to be an intent recognition result indicating a non-strong intent.
[0076] The vehicle status information can include the vehicle's energy status, which includes both gasoline and electricity, and can be categorized into high, medium, and low energy states. Driving information can include the vehicle's continuous driving time, such as less than or equal to 1 hour, 1-2 hours, 2-3 hours, 3-4 hours, or greater than or equal to 4 hours. Location information can include the road type of the current vehicle location, such as highways, ordinary roads, urban expressways, and other roads. The waypoint type can be the corresponding POI (Point of Interest) type, such as restaurants, accommodations, shopping, transportation, medical facilities, offices, and educational institutions, like shopping malls, hospitals, and stations. User historical behavior information can include the number of times the user has historically selected the waypoint, to determine whether it is a regular location identifier based on the number of historical selections.
[0077] Pre-set conditions can be configured for each type of strong intent indication recognition result. These conditions may include conditions satisfied by one or more of the following: vehicle status information, driving information, location information, waypoint type, and user historical behavior information. Then, the acquired vehicle status information, driving information, location information, waypoint type, and user historical behavior information corresponding to the waypoint are matched with the pre-set conditions for any type of strong intent indication recognition result. If a match is successful, it indicates that the waypoint is a strong intent indication recognition result. If each match fails, it indicates that the path is a non-strong intent indication recognition result.
[0078] For example, if the preset conditions for a strong intent recognition result include a low vehicle energy status, continuous driving time greater than or equal to 4 hours, a waypoint type of gas station, and location information of highway, and the acquired vehicle status information, driving information, location information, and waypoint type successfully match the preset conditions, it indicates that the user has a strong intent to refuel, charge, or rest. Alternatively, if the preset conditions for a strong intent recognition result include the user's historical selection of waypoints exceeding a preset number or the user's selected waypoints having common location identifiers, and the acquired user historical behavior information meets these preset conditions, then the waypoint intent recognition result is determined to indicate a strong intent, meaning the user frequently visits a certain place, and there is no need to trigger the subsequent target waypoint recommendation step.
[0079] In another embodiment of the present invention, obtaining the intent recognition result of the waypoint may include: obtaining vehicle status information, driving information, location information, waypoint type and user historical behavior information of the waypoint; constructing multi-dimensional features of the waypoint based on the vehicle status information, driving information, location information, waypoint type and user historical behavior information of the waypoint; and inputting the multi-dimensional features into a pre-trained intent recognition model to obtain the intent recognition result of the waypoint.
[0080] Specifically, the intent recognition results for waypoints can be obtained based on the intent recognition model. This involves constructing multi-dimensional features based on one or more of the following: vehicle status information, driving information, location information, waypoint type, and user historical behavior information. Specifically, vehicle status features can be obtained from vehicle status information, driving features from driving information, location features from location information, waypoint type features from waypoint type, and historical behavior features from user historical behavior information. These features are then concatenated to construct the multi-dimensional features. These multi-dimensional features are then input into a pre-trained intent recognition model to obtain the intent recognition results for the waypoints. These results indicate the degree of certainty regarding the intent at the waypoint, i.e., whether the intent is strong or weak.
[0081] The pre-trained intent recognition model can be implemented using the GBDT (Gradient Boosting Decision Tree) model, which has advantages such as fast computation speed, applicability to various types of features, strong interpretability, and ease of adding new features in subsequent iterations. It can achieve binary classification of waypoints.
[0082] The intent recognition model can be trained using the following method: acquiring multiple waypoints and one or more of the following information corresponding to each waypoint: vehicle status information, driving information, location information, waypoint type, and user historical behavior information; acquiring the intent recognition result for each waypoint; constructing multidimensional features for each waypoint based on one or more of the following information: vehicle status information, driving information, location information, waypoint type, and user historical behavior information; and training the intent recognition model based on the multidimensional features of each waypoint and its corresponding intent recognition result.
[0083] When training the intent recognition model, the intent recognition results for each waypoint can be manually labeled to obtain a basic training sample set. Subsequently, user feedback data on the waypoint recommendation results can be collected periodically, and after manual cleaning, an incremental sample training set can be formed. Using the incremental sample training set to iteratively optimize the intent recognition model can enable it to effectively capture the true intent features of users setting waypoints, thereby improving the prediction accuracy of the intent recognition model.
[0084] In this embodiment of the invention, determining whether a waypoint is reasonable based on navigation information includes:
[0085] Based on navigation information, determine whether the waypoints meet at least one of the following conditions: located in a no-stopping zone, popularity does not meet the preset conditions, there is a detour route, or there are congested road sections within the preset range.
[0086] If a waypoint meets at least one condition, it is deemed unreasonable; otherwise, it is deemed reasonable and no target waypoint recommendation is made.
[0087] In this embodiment of the invention, determining whether a waypoint is reasonable based on navigation information may include determining whether the waypoint is located in a no-parking zone, i.e., whether the waypoint is located in a no-parking section, construction zone, or other prohibited parking area; if so, the waypoint is unreasonable. Determining whether the waypoint's popularity does not meet preset conditions, i.e., whether the waypoint is a less popular entrance / exit, such as whether the waypoint's popularity is below a preset popularity threshold or whether the waypoint is the least popular entrance / exit in the corresponding POI; if so, the waypoint is unreasonable. Determining whether the waypoint exhibits detour behavior, i.e., whether the waypoint exhibits bypass behavior; if so, the waypoint is unreasonable. Determining whether there are congested road sections within a preset range of the waypoint, wherein a congested road section can be defined as a vehicle speed below a preset speed threshold and a duration exceeding a preset time, such as whether there are persistently severe congested road sections within 500 meters before and after the waypoint, such as an average vehicle speed below 2020 km / h and a duration exceeding 15 minutes; if so, the waypoint is unreasonable. If the navigation information of a waypoint meets any of the above conditions, the waypoint is deemed unreasonable and a better waypoint needs to be recommended; otherwise, no recommendation is made.
[0088] In this embodiment of the invention, determining whether the popularity of a transit point does not meet a preset condition may include: obtaining information on the points of interest corresponding to the transit point and all entrances and exits corresponding to the points of interest; the transit point is one of all entrances and exits; calculating the total popularity and individual popularity of each entrance and exit based on the information of all entrances and exits; sorting the total popularity and individual popularity of each entrance and exit from high to low; if the total popularity and individual popularity of the transit point are both at the bottom of the sort, then it is determined that the popularity of the transit point does not meet the preset condition.
[0089] Specifically, when determining whether the popularity of a transit point does not meet the preset conditions, the information of the point of interest (POI) corresponding to the transit point and all entrances and exits (exits or entrances) corresponding to the POI can be obtained first. The transit point is one of the entrances and exits, and the information of each entrance and exit can include the number of times the current user stays at each entrance and exit and the total number of times all users stay. Based on information from all entrances and exits, the total popularity and individual popularity of each entrance and exit are calculated. Specifically, first, the sum of the number of times all users stay at each entrance and exit is calculated, i.e., the total number of times all users stay at all entrances and exits. Then, for each entrance and exit, the number of times all users who choose that entrance and exit stay is calculated, and the ratio of the number of times all users who choose that entrance and exit stay to the total number of times all users stay at all entrances and exits is taken as the total popularity of that entrance and exit. For each entrance and exit, the ratio of the number of times the current user stays at that entrance and exit to the total number of times the current user stays at all entrances and exits is calculated. If no user chooses that entrance and exit, the popularity is 0, thus obtaining the individual popularity of each entrance and exit. Then, each entrance and exit is sorted in descending order of total popularity and descending order of individual popularity. It is determined whether the total popularity and individual popularity of the route point are both at the bottom of the sort, i.e., whether the total popularity and individual popularity are both the lowest. If so, it means that the route point is a non-popular entrance and exit, i.e., the popularity of the route point does not meet the preset conditions. Alternatively, determine whether the total popularity of the passing point is lower than the first popularity threshold and the individual popularity is lower than the second popularity threshold. If so, it means that the passing point is a non-popular entrance / exit and the popularity of the passing point does not meet the preset conditions.
[0090] In this embodiment of the invention, determining whether a waypoint exhibits detour path behavior includes: extending a preset distance from the waypoint towards the starting point and the ending point respectively, to obtain a first extension point on the starting point side and a second extension point on the ending point side; calculating the homing degree corresponding to the preset distance based on the straight-line distance between the first extension point and the second extension point and the actual path length; setting multiple preset distances and repeating the above steps to obtain multiple homing degrees corresponding to the multiple preset distances; if each homing degree is lower than a preset homing degree threshold, then it is determined that the waypoint exhibits detour path behavior.
[0091] Specifically, to determine whether a waypoint exhibits detour behavior, firstly, a preset distance is extended from the waypoint towards both the starting and ending points, resulting in a first extension point and a second extension point. The first extension point is located on the starting side, and the second extension point is located on the ending side. The preset distances can be customized. Then, the straight-line distance between the first and second extension points and the actual path length in the navigation path are calculated. The "smoothness" is equal to the ratio of the straight-line distance to the actual path length. Multi-scale verification is performed on the preset distances, i.e., multiple preset distances are set, such as 1km, 1.5km, and 2km. The smoothness corresponding to each preset distance is calculated. If the smoothness corresponding to any preset distance is lower than a preset smoothness threshold, the waypoint is determined to exhibit detour behavior, i.e., a serious detour. The preset smoothness threshold can be customized, for example, set to 0.8. If the first extension point exceeds the starting point range or the second extension point exceeds the ending point range, the starting point is used as the first extension point or the ending point as the second extension point.
[0092] In this embodiment of the invention, obtaining multiple candidate waypoints corresponding to a waypoint may include: obtaining multiple candidate waypoints according to a preset selection rule, wherein the preset selection rule includes at least one of the following: navigation points within a preset distance range of the waypoint, each entrance and exit included in the point of interest of the waypoint, road nodes associated with the waypoint, and facility navigation points within a preset distance range of the waypoint.
[0093] Specifically, multiple candidate waypoints are obtained according to preset rules. The preset rules can be determined based on distance, POI entrances and exits, and associated road features. For example, the preset rules can include navigation points within a preset distance range of the waypoint, navigation points within a 5-minute walk or 400-meter range of the waypoint. For example, if the waypoint is a subway station exit, the candidate waypoints can be nearby bus stops, convenience stores, etc. The preset rules also include the entrances and exits of the points of interest for the transit points. That is, if the transit point is a point of interest with multiple entrances and exits, such as a shopping mall or a park, other entrances and exits of the point of interest are selected as candidate transit points. For example, if the transit point is the north gate of a shopping mall, and the shopping mall also has an east gate and a south gate, then these two entrances and exits can be candidate transit points. The preset rules also include navigation points of roads associated with the transit points. That is, road nodes directly associated with the transit points are selected, such as intersections, landmarks, or adjacent road sections on the same road. The preset rules also include facility navigation points within the preset range of the transit points, including navigation points that can be communicated by pedestrians, specifically including sidewalks, pedestrian overpasses, underpasses, etc.; public transportation connection points (such as subway entrances and exits, bus stops); emergency shelters or public service facility entrances.
[0094] When obtaining multiple candidate waypoints according to preset rules, a preset number of candidate waypoints are obtained in sequence based on navigation points within the preset distance range of the waypoints, entrances and exits included in the points of interest of the waypoints, road nodes associated with the waypoints, and facility navigation points within the preset distance range of the waypoints. Priority is given to minimizing the user's walking distance and actual accessibility, thereby improving the user experience.
[0095] In this embodiment of the invention, the method for recommending navigation waypoints may further include:
[0096] Step S301: Obtain the starting point, ending point, and waypoints between the starting point and ending point of the navigation input by the user;
[0097] Step S302: Obtain navigation information for waypoints and determine whether the waypoints are reasonable based on the navigation information;
[0098] Step S303: If the waypoint is unreasonable, obtain multiple candidate waypoints corresponding to the waypoint;
[0099] Step S304: For each candidate waypoint, calculate the vehicle travel distance and vehicle travel time based on the starting point, ending point, and candidate waypoint;
[0100] Step S305: Calculate the travel cost distance and travel cost time based on the candidate waypoints, the waypoints themselves, and the road types between them;
[0101] Step S306: Obtain the total path distance corresponding to the candidate waypoints based on the vehicle travel distance and the movement cost distance; calculate the total time for the candidate waypoints based on the vehicle travel time and the movement cost time.
[0102] Step S307: Sort multiple candidate waypoints according to the total path distance and total time, and select the target waypoint from the multiple candidate waypoints according to the sorting results.
[0103] In this embodiment of the invention, after obtaining multiple candidate waypoints, a target waypoint needs to be selected from these candidate waypoints to recommend the target waypoint to the user. Specifically, for each candidate waypoint, the vehicle travel distance to the candidate waypoint is calculated based on the origin, destination, and candidate waypoint. The vehicle travel time (ETA) can be calculated based on the vehicle travel distance and a preset vehicle speed. The movement cost distance is calculated using the walking distance between the waypoint and the candidate waypoint, as well as the road type. Different road types have different weights; for example, the weights for ordinary roads, internal roads, and overpass / tunnel lengths are 2, 2.5, and 3, respectively. Therefore, the movement cost distance equals the length of an ordinary road × 2 + the length of an internal road at the point of interest (POI) × 2.5 + the length of an overpass / tunnel × 3. The total path distance equals the sum of the vehicle travel distance and the movement cost distance. The movement cost time can be calculated based on the movement cost distance and the preset walking speed. The total time equals the sum of the movement cost time and the vehicle travel time.
[0104] Multiple candidate waypoints are sorted in ascending order of total path distance and in ascending order of total time. The candidate waypoints with the shortest total path distance and the shortest total time are selected and compared with the total path distance and total time of the current waypoint. If the candidate waypoint with the best total path distance and the best total time is better than the current waypoint, then the candidate waypoint with the best total path distance and / or the best total time is selected as the target waypoint; otherwise, no recommendation is made.
[0105] If a waypoint is located in a no-stopping zone, the candidate waypoint with the best total path and / or best total time will be selected as the target waypoint.
[0106] In this embodiment of the invention, when a waypoint and multiple candidate waypoints are multiple entrances and exits of the same point of interest (i.e., POI), the process of selecting a target waypoint from multiple candidate waypoints includes: obtaining the entrance and exit information of the waypoint and each candidate waypoint; calculating the total popularity and individual popularity of each candidate waypoint based on the entrance and exit information of the waypoint and each candidate waypoint; and selecting the candidate waypoint with the highest total popularity and / or individual popularity from multiple candidate waypoints as the target waypoint.
[0107] Specifically, if the waypoint is located within a POI with multiple entrances and exits, that is, the waypoint and multiple candidate waypoints are multiple entrances and exits of the POI, then the total popularity and individual popularity of each candidate waypoint are calculated. Then, the candidate waypoint with the highest total popularity and individual popularity can be selected as the target waypoint, or the candidate waypoint with the highest total popularity or the highest individual popularity can be selected as the target waypoint.
[0108] Specifically, for each candidate route point, the route point and the entrance / exit information of each candidate route point are obtained. The entrance / exit information of each candidate route point can be the number of times a user who selects the candidate route point stays. The total popularity of each candidate route point, i.e., the global popularity, is equal to the ratio of the total number of times all users who select the candidate route point stay to the total number of times all users stay at all entrances / exits. The individual popularity of each candidate route point is equal to the ratio of the number of times the current user selects the candidate route point stays to the total number of times the current user stays at all entrances / exits.
[0109] Figure 4 This is a flowchart illustrating a navigation waypoint recommendation method according to an embodiment of the present invention. First, the waypoints set by the user are obtained. Intent recognition is performed on the waypoints, and it is determined whether the intent recognition result indicates a strong intent. If so, no recommendation is made, and the user-set waypoint becomes the target waypoint. If not, the reasonableness of the waypoint is determined, such as whether the waypoint is located in a no-stopping zone, whether the waypoint is not popular, whether there are congested sections within the preset range of the waypoint, or whether the waypoint involves detours. If reasonable, no recommendation is made; if unreasonable, candidate waypoints are recalled, and multiple candidate waypoints are obtained according to preset rules. The multiple candidate waypoints are then selected based on total path distance, total time, total popularity, etc. The target waypoint is then selected, such as the candidate waypoint with the optimal path, optimal time, or the most popular choice.
[0110] The navigation waypoint recommendation method provided in this invention obtains the user-input navigation start point, end point, and waypoints between the start and end points. It then acquires the navigation information of these waypoints and determines their rationality based on this information. If a waypoint is deemed unreasonable, multiple candidate waypoints are obtained, and a target waypoint is selected from these candidates and recommended to the user. This method can determine the rationality of user-set waypoints, helping users better plan their routes when they are unreasonable. This avoids problems such as detours and time-consuming journeys caused by improper waypoint settings, while also improving the accuracy and computational efficiency of the recommendations, thereby enhancing the navigation experience.
[0111] According to another aspect of the present invention, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the navigation waypoint recommendation method of the present invention.
[0112] According to another aspect of the present invention, a vehicle is provided, the vehicle including a body and electronic devices, the electronic devices being disposed on the body.
[0113] According to another aspect of the present invention, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method for recommending navigation waypoints according to the present invention.
[0114] According to another aspect of the present invention, a computer program product is provided, including a computer program that, when executed by a processor, implements the navigation waypoint recommendation method of the present invention.
[0115] Figure 5 An exemplary system architecture 500 is shown, in which the navigation waypoint recommendation method or navigation waypoint recommendation device of embodiments of the present invention can be applied.
[0116] like Figure 5 As shown, system architecture 500 may include terminal device 501, network 502, and server 503. Network 502 is used as a medium to provide a communication link between terminal device 501 and server 503. Network 502 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.
[0117] Users can use terminal device 501 to interact with server 503 via network 502 to receive or send messages, etc. Various communication client applications can be installed on terminal device 501, such as electronic map applications, instant messaging tools, music software, etc. (for example only).
[0118] Terminal device 501 can be an electronic device with a display screen and web browsing support, such as an in-vehicle terminal. Server 503 can be a server that provides various services, such as a vehicle controller. The vehicle controller can determine whether a waypoint is reasonable based on the navigation information of the waypoint. If the waypoint is unreasonable, it obtains multiple candidate waypoints corresponding to the waypoint, selects the target waypoint from the multiple candidate waypoints, and sends the target waypoint to the terminal device so that the terminal device can recommend the target waypoint to the user on the display screen.
[0119] It should be noted that the navigation waypoint recommendation method provided in this embodiment of the invention is generally executed by server 503, and correspondingly, the navigation waypoint recommendation device is generally set in server 503.
[0120] It should be understood that Figure 5 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0121] The following is for reference. Figure 6 It shows a schematic diagram of the structure of a computer system 600 suitable for implementing a terminal device of the present invention. Figure 6The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.
[0122] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 602 or programs loaded from storage section 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the system 600. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0123] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.
[0124] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the functions defined above in the system of this invention.
[0125] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0126] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0127] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs, which, when executed by the device, cause the device to include: acquiring a user-input navigation start point, an end point, and waypoints between the start and end points; acquiring navigation information of the waypoints, and determining whether the waypoints are reasonable based on the navigation information; if the waypoints are unreasonable, acquiring multiple candidate waypoints corresponding to the waypoints; and selecting a target waypoint from the multiple candidate waypoints.
[0128] According to the technical solution of the embodiments of the present invention, the navigation waypoint recommendation method provided by the embodiments of the present invention, after obtaining the starting point, ending point, and waypoints between the starting point and the ending point input by the user, obtains the navigation information of the waypoints, and judges whether the waypoints are reasonable based on the navigation information. If the waypoints are unreasonable, multiple candidate waypoints corresponding to the waypoints are obtained, and the target waypoint is selected from the multiple candidate waypoints, thereby recommending the target waypoint to the user. This method can judge whether the waypoints set by the user are reasonable, thereby helping the user to better plan waypoints when they are unreasonable, avoiding problems such as detours and time consumption caused by unreasonable waypoint settings, and improving the accuracy and calculation efficiency of the recommendation, thereby improving the navigation experience.
[0129] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for recommending navigation waypoints, characterized in that, include: Obtain the user-input navigation start point, end point, and waypoints between the start and end points; Obtain navigation information for the waypoints and determine whether the waypoints are reasonable based on the navigation information; If the stated waypoint is unreasonable, obtain multiple candidate waypoints corresponding to the stated waypoint; The target waypoint is selected from the plurality of candidate waypoints.
2. The method according to claim 1, characterized in that, Before determining whether the waypoint is reasonable based on the navigation information, the method further includes: Obtain the intent recognition result of the path point, and determine whether the intent recognition result indicates a strong intent; If the intent recognition result indicates a strong intent, no target waypoint recommendation will be made.
3. The method according to claim 2, characterized in that, Obtaining the intent recognition results of the route points includes: Obtain one or more of the following: vehicle status information, driving information, location information, waypoint type, and user historical behavior information; The multidimensional features of the waypoints are constructed based on one or more of the vehicle status information, driving information, location information, waypoint type, and user historical behavior information. The multidimensional features are input into a pre-trained intent recognition model to obtain the intent recognition results of the waypoints.
4. The method according to claim 1, characterized in that, Determining whether the waypoint is reasonable based on the navigation information includes: Based on the navigation information, determine whether the waypoint meets at least one of the following conditions: located in a no-stopping zone, popularity does not meet the preset conditions, there is a detour path behavior, or there is a congested road section within the preset range; If a waypoint meets at least one condition, the waypoint is determined to be unreasonable; otherwise, the waypoint is determined to be reasonable, and no target waypoint recommendation is made.
5. The method according to claim 4, characterized in that, Determining whether the heat of the route point does not meet the preset conditions includes: Obtain information on the points of interest corresponding to the waypoints and all entrances / exits corresponding to the points of interest; the waypoint is one of all entrances / exits. Calculate the total heat and individual heat of each entrance / exit based on information from all entrances / exits; Sort the total popularity and individual popularity of each entrance / exit from high to low; If both the total popularity and individual popularity of the passing point are at the bottom of the ranking, then the popularity of the passing point is determined not to meet the preset conditions.
6. The method according to claim 4, characterized in that, Determining whether the path points exhibit detour behavior includes: Taking the aforementioned path point as the center, extend a preset distance towards the starting point and the ending point respectively to obtain a first extension point on the starting point side and a second extension point on the ending point side; Calculate the routeability corresponding to the preset distance based on the straight-line distance between the first extension point and the second extension point and the actual path length; Set multiple preset distances, repeat the above steps, and obtain multiple routes corresponding to the multiple preset distances; If any path affinity is lower than a preset path affinity threshold, then the route point is determined to have a detour path behavior.
7. The method according to claim 1, characterized in that, Obtaining multiple candidate waypoints corresponding to the waypoint includes: The plurality of candidate waypoints are obtained according to preset selection rules, wherein the preset selection rules include at least one of the following: navigation points within a preset distance range of the waypoints, each entrance and exit included in the points of interest of the waypoints, road nodes associated with the waypoints, and facility navigation points within a preset distance range of the waypoints.
8. The method according to claim 1, characterized in that, Selecting the target waypoint from the plurality of candidate waypoints includes: For each candidate waypoint, calculate the vehicle travel distance and vehicle travel time based on the starting point, the ending point, and the candidate waypoint; Calculate the travel cost distance and travel cost time based on the candidate waypoints, the waypoints themselves, and the road types between them; The total path distance corresponding to the candidate waypoints is obtained based on the vehicle travel distance and the movement cost distance; the total time to the candidate waypoints is calculated based on the vehicle travel time and the movement cost time. The candidate waypoints are sorted according to the total path distance and the total time, and the target waypoint is selected from the candidate waypoints based on the sorting results.
9. The method according to claim 1, characterized in that, The waypoints and the multiple candidate waypoints are multiple entrances and exits to the same point of interest. The target waypoint is selected from the multiple candidate waypoints, including: Obtain the entrance and exit information of the route points and each candidate route point; Calculate the total popularity and individual popularity of each candidate route point based on the entrance and exit information of the route points and each candidate route point; The candidate route with the highest total popularity and / or individual popularity is selected from the multiple candidate route points and used as the target route point.
10. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-9.
11. A vehicle, characterized in that, The vehicle includes a body and the electronic device as described in claim 10, wherein the electronic device is disposed on the vehicle body.
12. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-9.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-9.
