Training method of route recommendation model, route recommendation method, device and equipment

By obtaining user behavior data associated with navigation sample data, extracting explicit positive feedback data, and training a route recommendation model, the problem of exposure bias and position bias in navigation route recommendation is solved, the accuracy of recommendation is improved, and the recommendation results are ensured to be more consistent. User needs.

CN118776574APending Publication Date: 2024-10-15ALIBABA (CHINA) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310378904.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing navigation route recommendation models suffer from exposure bias and position bias problems, resulting in low recommendation accuracy and failure to accurately reflect users' true choices and satisfaction.

Method used

By obtaining user behavior data associated with navigation sample data, explicit positive feedback data is extracted and used to train route recommendation models, reducing the impact of exposure bias and position bias, and improving recommendation accuracy.

Benefits of technology

It effectively improves the recommendation accuracy of the route recommendation model and ensures that the recommendation results are more in line with the user's real choice and satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118776574A_ABST
    Figure CN118776574A_ABST
Patent Text Reader

Abstract

The invention relates to a training method of a route recommendation model, a route recommendation method, a device and equipment. The training method of the route recommendation model comprises the following steps: acquiring at least one piece of navigation sample data generated in the process of providing a navigation service for a navigated object; obtaining navigated object behavior data associated with the navigation sample data; according to the navigated object behavior data associated with the navigation sample data, acquiring explicit positive feedback data associated with the navigation sample data; and training the route recommendation model based on the at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data. The explicit positive feedback data can reflect whether the navigation route in the navigation sample data is the real selection of the navigated object or not, and the satisfaction degree of the navigated object to the navigation route; therefore, the technical scheme provided by the invention can effectively reduce the influence on the route recommendation model caused by the exposure offset or position offset problem existing in the recommendation system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of navigation technology, and in particular to a training method for a route recommendation model, a route recommendation method, a device and equipment. Background Art

[0002] Application software with map navigation function and its service system can provide navigation services for the navigated object. When the navigated object uses the navigation service, if the navigated object inputs the route starting point and route end point of the navigation route, the navigation route planning and recommendation system will first plan alternative navigation routes for the navigated object, and then select at least one alternative navigation route from the alternative navigation routes and recommend it to the navigated object. The navigated object can select one of the recommended alternative navigation routes as the navigation route, and the aforementioned application software will provide navigation services for the navigated object based on the navigation route selected by the navigated object.

[0003] In order to improve the accuracy of the recommended navigation routes, currently, a trained route recommendation model is usually used to score the alternative navigation routes. The route recommendation model usually requires a large amount of navigation sample data to train it. The existing technology solution usually generates corresponding navigation sample data based on the selection result of the alternative navigation route by the navigated object. However, in fact, the navigated object may select a certain alternative navigation route as the final navigation route only because the route is recommended (transmitted / exposed) to the navigated object, or the route is ranked high when recommended to the navigated object, that is, the navigation route selected by the navigated object does not mean that the navigated object knows that the selected navigation route meets its travel needs at the time of selection. That is, the existing navigation sample data has problems such as exposure bias or position bias, and these exposure bias or position bias problems will affect the recommendation accuracy of the trained route recommendation model. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method for constructing a route recommendation model, a route recommendation method, an apparatus and a device.

[0005] In a first aspect, the present disclosure provides a method for training a route recommendation model, comprising:

[0006] Acquire at least one navigation sample data generated in the process of providing navigation service for the navigated object, one navigation sample data corresponds to one navigation service;

[0007] Obtaining the behavior data of the navigated object associated with the navigation sample data;

[0008] Obtaining explicit positive feedback data associated with the navigation sample data according to the behavior data of the navigated object associated with the navigation sample data;

[0009] A route recommendation model is trained based on the at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data.

[0010] In a second aspect, the present disclosure further provides a route recommendation method, comprising:

[0011] Get the route starting point and route end point;

[0012] Based on a route start point and a route end point, planning an alternative navigation route from the route start point to the route end point;

[0013] The route recommendation model trained by the route recommendation model training method as described above makes a recommendation prediction for the candidate navigation routes, and determines at least one candidate navigation route to be recommended based on the recommendation prediction.

[0014] In a third aspect, the present disclosure further provides a training device for a route recommendation model, comprising:

[0015] A sample acquisition module, used to acquire at least one navigation sample data generated in the process of providing navigation service for the navigated object, one navigation sample data corresponds to one navigation service;

[0016] A behavior data acquisition module is used to acquire the behavior data of the navigated object associated with the navigation sample data;

[0017] A positive feedback data acquisition module, used for acquiring explicit positive feedback data associated with the navigation sample data according to the behavior data of the navigated object associated with the navigation sample data;

[0018] A training model is used to train a route recommendation model based on the at least one navigation sample data and explicit positive feedback data associated with the navigation sample data.

[0019] In a fourth aspect, the present disclosure further provides a route recommendation device, comprising:

[0020] The starting point and end point acquisition module is used to obtain the route starting point and end point;

[0021] A planning module, configured to plan an alternative navigation route from the route starting point to the route ending point based on the route starting point and the route ending point;

[0022] The recommendation module is used to make a recommendation prediction for the candidate navigation route using the route recommendation model trained by the training device for the route recommendation model as described above, and determine at least one candidate navigation route to be recommended based on the recommendation prediction.

[0023] In a fifth aspect, the present disclosure further provides an electronic device, comprising: a memory and a processor,

[0024] The memory is used to store instructions executable by the processor;

[0025] The processor is used to read the executable instructions from the memory and execute the executable instructions to implement any of the above-mentioned route recommendation model training methods or route recommendation methods.

[0026] In a sixth aspect, the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement any of the above-mentioned route recommendation model training methods or route recommendation methods.

[0027] In a seventh aspect, an embodiment of the present disclosure further provides a computer program product, which is used to execute any of the above-mentioned route recommendation model training methods or route recommendation methods.

[0028] In the technical solution provided by the embodiment of the present disclosure, at least one navigation sample data generated in the process of providing navigation services for the navigated object is obtained, and one navigation sample data corresponds to one navigation service; the behavior data of the navigated object associated with the navigation sample data is obtained; based on the behavior data of the navigated object associated with the navigation sample data, the explicit positive feedback data associated with the navigation sample data is obtained; based on at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data, the route recommendation model is trained. Since the explicit positive feedback data can reflect to a certain extent whether the navigation route in the navigation sample data is the real choice of the navigated object and the satisfaction of the navigated object with the navigation route. By training the route recommendation model using at least one navigation sample data and the explicit positive feedback data associated with each navigation sample data, the influence on the route recommendation model training caused by the exposure bias or position bias of the recommendation system can be effectively reduced, and the recommendation accuracy of the trained route recommendation model can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0030] Figure 1 A flowchart of a method for training a route recommendation model provided in an embodiment of the present disclosure;

[0031] Figure 2 A diagram of the entire process of an object being navigated operating an application software having a map navigation function when the object has a navigation requirement provided by an embodiment of the present disclosure;

[0032] Figure 3 A sequence diagram of behavior data of a navigated object during use of an application software with a map navigation function provided by an embodiment of the present disclosure;

[0033] Figure 4 A flowchart of a route recommendation method provided by an embodiment of the present disclosure;

[0034] Figure 5 A schematic diagram of the structure of a training device for a route recommendation model provided by an embodiment of the present disclosure;

[0035] Figure 6 A schematic diagram of the structure of a route recommendation device provided by an embodiment of the present disclosure;

[0036] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0038] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0039] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0040] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0041] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0042] It should be noted that if the implementation of this application involves user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.), all of them are information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0043] Figure 1 A flowchart of a method for training a route recommendation model provided in an embodiment of the present disclosure is provided. The method for training a route recommendation model can be executed by a training device for a route recommendation model. The device can be implemented in software and / or hardware and can be integrated on any terminal or server with computing capabilities.

[0044] like Figure 1 As shown, the training method of the route recommendation model includes:

[0045] S110: Acquire at least one navigation sample data generated in the process of providing navigation service for the navigated object, where one navigation sample data corresponds to one navigation service.

[0046] In the navigation scenario, if the navigated object inputs the route starting point and route end point to the application software and service system with map navigation function according to the navigation demand, the navigation route planning and recommendation system can plan at least one alternative navigation route according to the route starting point and route end point, and then the route recommendation model can score the above alternative navigation routes, and recommend at least one alternative navigation route to the navigated object according to the score. The navigated object can select one of the alternative navigation routes as the navigation route, and the application software and service system with map navigation function provide navigation services based on the navigation route. For example, the navigation service can be a service that guides the navigated object along the navigation route through voice, text or images according to the navigation route until it reaches the end point of the route.

[0047] Figure 2 The following is a diagram of the entire process of the navigation object operating the application software with map navigation function and its service system when the navigation object has navigation needs. For example, the application software with map navigation function can be an electronic map or other application software with navigation function. In the embodiments of the present disclosure, the electronic map is often used as an example for explanation. Assume that the navigation object wants to go from point A to point B. Figure 2, the navigated object opens the electronic map, inputs a as the route starting point and b as the route end point into the electronic map, and clicks a button with route planning function. The navigation route planning and recommendation system will perform route planning based on the route starting point and route end point input by the navigated object, obtain at least one alternative navigation route, and then determine the alternative navigation route recommended by the route recommendation model from the alternative navigation routes and then display it to the navigated object for the first time. The navigated object may also re-plan the route n times, and after each route planning, the alternative navigation route will be re-determined and displayed to the navigated object, until the navigated object selects a more satisfactory alternative navigation route as the navigation route and starts navigation. After the navigation starts, if the route end point is not reached, the navigated object may exit the navigation, re-plan the route m times (including planning at least one alternative navigation route, and using the recommendation model to determine the alternative navigation route recommended to the navigated object from the planned alternative navigation routes), and then select an alternative navigation route as the navigation route again, and restart navigation until the navigated object reaches the route end point, the navigation ends, and the navigated object exits the electronic map. Where n and m are both positive integers. Figure 2 In the example, step A and step B are both route planning before the trip, and step C is route planning after the trip. It should be noted that in actual application scenarios, step B and step C may or may not exist.

[0048] A navigation service may refer to, for example, a process from "initial route planning based on input route start point and route end point" to "arrival at route end point and navigation completion".

[0049] In this embodiment, the navigation sample data may include the route starting point and the route end point input by the navigation object and which alternative navigation route is finally selected by the navigation object as the final navigation route.

[0050] S120: Acquire the behavior data of the navigated object associated with the navigation sample data.

[0051] The behavior data of the navigated object associated with the navigation sample data may be, for example, all the behavior data of the navigated object that can be obtained in a navigation service. Exemplarily, the behavior data of the navigated object includes the operation data of the navigated object on the application software, planning data and navigation data, etc., wherein the operation data of the navigated object on the application software can be represented by the collected data, and the navigation data may include the trajectory data of the navigated object in the actual navigation process.

[0052] S130. Obtain explicit positive feedback data associated with the navigation sample data according to the behavior data of the navigated object associated with the navigation sample data.

[0053] The explicit positive feedback data may be, for example, information that reflects, through the behavior of the navigated object, that the navigated object has selected the navigation route in the navigation sample data after consideration.

[0054] Among them, "after thinking about it" indicates that the navigation route in the navigation sample data is a real choice made by the navigation object according to his or her true intention, rather than being blindly selected by the navigation object just because the navigation route is exposed to the navigation object or just because the navigation route is arranged at the first one on the recommended route result page. Exemplarily, after viewing the details of multiple alternative navigation routes, the navigation object selects one of the alternative navigation routes as the navigation route. In this case, the navigation object behavior data reflecting that the navigation object has viewed the details of multiple alternative navigation routes can be used as explicit positive feedback data.

[0055] For example, explicit positive feedback data may also be information that reflects the degree of satisfaction of the navigated object with the alternative navigation routes in the navigation sample data through the behavior of the navigated object. For example, during the navigation process, the navigated object exits navigation and re-plans the route without reaching the end of the route, and re-navigates based on the re-selected plan. This can be considered that the navigated object is not satisfied with the previously selected navigation route, but is satisfied with the last selected navigation route. In this case, the data reflecting that the navigated object exits navigation and re-plans the route during the navigation process can be used as explicit positive feedback data.

[0056] Some of the behavior data of the navigated object associated with the navigation sample data may be used as explicit positive feedback data, while some may not be used as explicit positive feedback data. For example, the choice of navigation voice tone, display mode (such as day mode or night mode), and screen direction (such as horizontal screen display of electronic map or vertical screen display of electronic map) made by the navigated object during the navigation service process cannot be used as explicit positive feedback data.

[0057] In this step, the behavior data of the navigated object associated with the navigation sample data is screened out, which can be used as explicit positive feedback data.

[0058] There are many methods for implementing this step, which are not limited in this application. Exemplarily, the implementation method of this step includes: predetermining explicit positive feedback data screening rules, the explicit positive feedback data screening rules are used to indicate which types of navigated object behavior data can be used as explicit positive feedback data; based on the screening rules, determining the explicit positive feedback data associated with the navigation sample data from the navigated object behavior data associated with the navigation sample data;

[0059] S140: Training a route recommendation model based on at least one navigation sample data and explicit positive feedback data associated with the navigation sample data.

[0060] In the above technical solution, at least one navigation sample data generated in the process of providing navigation services for the navigated object is obtained, and one navigation sample data corresponds to one navigation service; the behavior data of the navigated object associated with the navigation sample data is obtained; based on the behavior data of the navigated object associated with the navigation sample data, the explicit positive feedback data associated with the navigation sample data is obtained; based on at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data, the route recommendation model is trained. Since the explicit positive feedback data extracted from the behavior data of the navigated object can reflect to a certain extent whether the navigation route in the navigation sample data is the real choice of the navigated object, and the satisfaction of the navigated object with the navigation route. Using at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data to train the route recommendation model can effectively reduce the impact on the route recommendation model training caused by the exposure bias or position bias of the recommendation system, and improve the recommendation accuracy of the route recommendation model after the final training.

[0061] Compared with the prior art, the above-mentioned explicit positive feedback data is not considered, but the technical solution of only referring to the alternative navigation route selected by the navigated object may include the situation that the navigated object does not know which route is more advantageous and blindly follows the first route of the recommended route. At this time, because the navigated object does not understand the route situation, it will drive along the first route, but in fact the alternative navigation route is not the optimal route, which may lead to the appearance of implicit invalid positive feedback data. Such data will affect the recommendation accuracy of the route recommendation model. The technical solution of the present application is adopted to add the displayed positive feedback data to the training of the route recommendation model, which can obviously improve the recommendation accuracy of the route recommendation model.

[0062] On the basis of the above technical solution, optionally, the behavior data of the navigated object includes collection data. In this case, obtaining the behavior data of the navigated object associated with the navigation sample data may include: determining at least one data collection page associated with the navigation sample data; obtaining collection data generated based on at least one data collection page, and the collection data is obtained by the interactive operation of the navigated object on the button set on the data collection page.

[0063] Specifically, application software with navigation functions, such as commonly used electronic maps, will include multiple pages, such as a recommended route result page, a recommended route details page, a navigation page, a navigation preference page, an account login page, a taxi page, and a nearby points of interest search page.

[0064] Among them, the recommended route result page, for example, can be a page for summarizing and displaying all the recommended alternative navigation routes to the navigated object. Exemplarily, in the recommended route result page, some characteristic information of each alternative navigation route is displayed, such as the time required, whether it includes expressways, the proportion of expressways in the entire journey, whether it is tolled, the number of traffic lights passed, the total distance, etc. The recommended route details page, for example, can be a page for displaying the detailed information of a recommended alternative navigation route to the navigated object. Exemplarily, the recommended route details page includes information such as if you travel along the alternative navigation route, first travel XX meters on Road A, then turn right, travel XX meters on Road B, and pass a total of YY traffic lights on Road B during the period, etc.

[0065] The navigation page may be, for example, a page displayed on an electronic map after navigation is started. The navigation page is used to display the current location of the navigated object on the map and to indicate how the navigated object will proceed next, such as going straight, turning left, or entering XX Road.

[0066] The navigation preference setting page may be, for example, a page for the navigated object to set the route preference after starting navigation, and the route preference may include, for example, priority on expressways, no expressways, avoiding congestion, less tolls, priority on main roads, priority on time, etc. The account login page may be, for example, a page for logging into the navigated object's account. The taxi booking page may be, for example, a page for receiving the navigated object's taxi booking request.

[0067] The nearby points of interest search page may be, for example, a page for searching points of interest near the current location of the navigated object. Points of interest may be, for example, restaurants, hotels, shopping malls, or tourist attractions.

[0068] Application software with navigation functions, such as electronic maps, each page includes one or more triggerable buttons or areas. By triggering a button or area, the specific function of the triggered button or area can be realized, such as selecting a planned path, starting navigation, etc. In practice, a corresponding ID can be configured for each button or area, and the IDs of any two buttons or areas on the same page are different. The IDs of two buttons or areas belonging to different pages are also different. Based on the ID of any button or area, the page where the button or area is located, as well as the functions of the button or area can be obtained.

[0069] The data collection page associated with a navigation sample data refers to a page that can be operated by the navigation object during a navigation service (including before navigation starts and during navigation), and the above-mentioned navigation object operation can include operations such as clicking, sliding, or other forms of voice control or gesture control. Exemplarily, at least one data collection page associated with the navigation sample data includes at least one of a recommended route result page, a recommended route details page, a navigation page, and a preference setting page during navigation.

[0070] A collection data can indicate a specific operation of the navigated object on the electronic map. When the navigated object operates a set button or area on the collection data page, the electronic map can obtain the ID of the button or area operated by the navigated object and clarify the operation based on the ID.

[0071] If the behavior data of the navigated object includes collected data, the explicit positive feedback data includes at least one of the following: the navigated object clicks to switch routes, the navigated object clicks to view preference strategies, the navigated object clicks to view route details, the navigated object operates the map to view route details, the navigated object clicks to refresh the plan, the navigated object switches the preference strategies, the navigated object re-enters the plan page, the navigated object switches routes during the trip, the navigated object switches the preference strategies during the trip, the navigated object operates the map to view route details during the trip, and the navigated object refreshes the route during the trip. The preference strategies include, but are not limited to, high-speed priority, not taking the high-speed, avoiding congestion, charging less, main road priority, and time priority.

[0072] For example, the navigated object clicks to switch routes, and the navigated object clicks a button with a function of switching routes. For example, the navigated object clicks to view preference policies, and the navigated object clicks a button with a function of viewing preference policies. For example, the navigated object clicks to view route details, and the navigated object clicks a button with a function of viewing detailed information of the currently selected alternative navigation route. For example, the navigated object operates a map to view route details, and the navigated object views detailed information of the currently selected alternative navigation route by zooming in, zooming out, dragging the map, etc. For example, the navigated object clicks to refresh the plan, and the navigated object clicks a button with a refresh function in the recommended route result page. For example, the navigated object re-enters the plan page after exiting the plan page. For example, the navigated object switches routes during the itinerary, and the navigated object clicks a button with a function of switching preference policies during the navigation process. For example, the navigated object operates a map to view route details during the itinerary, and the navigated object views detailed information of the currently used navigation route by zooming in, zooming out, dragging the map, etc. Refreshing the route during the travel of the guided object may be, for example, that during the navigation process, the guided object clicks a button with a function of refreshing the route.

[0073] Continue to see Figure 2 In step A, step B and step C, the navigated object may view part or all of the routes in the route planning results by zooming in, zooming out, viewing details, etc. The operations of zooming in, zooming out, viewing details, etc. on the routes can be used as collected data. These operations reflect that the navigated object is thinking and comparing routes. Therefore, the operations of zooming in, zooming out, viewing details, etc. can be used as explicit positive feedback data.

[0074] By setting the behavior data of the navigated object to include collected data, the intention of the navigated object can be inferred based on the collected data, and it can be determined whether the choice of the navigation route in the navigation sample data is the real choice of the navigated object and the satisfaction degree of the navigated object with the navigation route. This can enrich the screening range of explicit positive and negative feedback data, thereby expanding the amount of data that can be used as explicit positive and negative feedback data, and improving the accuracy of the trained route recommendation model.

[0075] Continue to see Figure 2 , the navigation object re-plans the route (corresponding to step B and step C), which usually means that the navigation object is not satisfied with the alternative navigation route given before, so the route needs to be re-planned. The navigation object can re-plan the route by clicking the "Refresh" button, "Switch Preferences", exiting and re-entering the "Recommended Route Result Page", etc.

[0076] In a navigation service, the navigated object may be navigated only once, or may be navigated multiple times. For example, in step C, the navigated object chooses to re-navigate, which usually means that the navigated object is not satisfied with the navigation route selected previously, so a new navigation route needs to be selected.

[0077] Based on this, the behavior data of the navigated object may also include planning data and navigation data. In this case, obtaining the behavior data of the navigated object associated with the navigation sample data may specifically be obtaining at least one of the collection data, planning data and navigation data associated with the navigation sample data. Figure 1 Step S120 in the illustrated embodiment may specifically include: acquiring explicit positive and negative feedback data associated with the navigation sample data according to at least one of the acquisition data, planning data and navigation data associated with the navigation sample data.

[0078] The planning data includes what planning the navigated object has performed during the navigation service process, for example, it may be data indicating that the navigated object has re-planned its route.

[0079] If the behavior data of the navigated object includes planning data, the explicit positive feedback data includes at least one of re-planning after the navigated object clicks refresh planning, re-planning after the navigated object switches the preference strategy, and re-planning after the navigated object re-enters the planning page.

[0080] In some cases, planning data can be obtained by parsing one or a series of collected data. For example, in one scenario, multiple alternative navigation routes are displayed in the recommended route result page. The navigated object views the detailed information of each alternative navigation route respectively, and then clicks to view the preference strategy and switches the preference strategy. In this scenario, multiple collected data are involved, such as the navigated object clicks to switch routes, the navigated object clicks to view route details, the navigated object clicks to view the preference strategy, the navigated object switches the preference strategy, etc. By parsing this series of collected data, planning data can be obtained, and the planning data includes the re-planning of the navigated object switching the preference strategy.

[0081] If the navigated object replans, it means that the navigated object has considered the pros and cons of the recommended alternative navigation routes before replanning, and is not satisfied with the previously recommended alternative navigation routes after consideration. Setting the navigated object behavior data to include planning data can infer the navigated object's intention based on the planning data, and obtain whether the choice of the navigation route in the navigation sample data is the real choice of the navigated object and the degree of satisfaction of the navigated object with the navigation route, which can enrich the screening range of explicit positive and negative feedback data, thereby expanding the amount of data that can be used as explicit positive and negative feedback data, and improving the accuracy of the trained route recommendation model.

[0082] Continue to see Figure 2 , if the navigated object navigates again, corresponding to step C, multiple navigations will eventually be formed. These multiple navigations constitute a navigation sequence. The navigation data may be, for example, data indicating that the navigated object has navigated again. Exemplarily, if the navigated object behavior data includes navigation data, the explicit positive feedback data includes the last navigation in the navigation sequence, the intermediate navigation in the navigation sequence, the first navigation in the navigation sequence, the navigation with the highest cumulative actual coverage in the navigation sequence, the navigation with the highest actual actual coverage in the navigation sequence, the selection of true dynamic navigation in the itinerary of the navigated object, the selection of false dynamic navigation in the itinerary of the navigated object, and at least one of the points selected in the itinerary of the navigated object. In some cases, the navigation data may also include the trajectory data of the vehicle driven by the navigated object, so that the information such as the navigation with the highest cumulative actual coverage in the navigation sequence and the navigation with the highest actual actual coverage in the navigation sequence can be easily calculated based on the trajectory data.

[0083] If the behavior data of the navigated object includes navigation data, the intention of the navigated object can be inferred based on the navigation data to determine whether the choice of the navigation route in the navigation sample data is the real choice of the navigated object and the degree of satisfaction of the navigated object with the navigation route. This can enrich the screening range of explicit positive and negative feedback data, thereby expanding the amount of data that can be used as explicit positive and negative feedback data and improving the accuracy of the trained route recommendation model.

[0084] In an embodiment of the present disclosure, the pre-set explicit positive and negative feedback data may include the types given in the "Label Meaning" column in Table 1. In a grayscale experiment, all data generated in the process of providing navigation services to navigated objects in a certain area over a period of time are extracted, and a total of 8,000 navigation sample data are obtained, of which 2,000 are associated with any explicit positive and negative feedback data. That is, the number of navigation sample data associated with explicit positive and negative feedback data that can be extracted accounts for 25% of the total number of navigation sample data.

[0085] Furthermore, the navigation sample data associated with the explicit positive feedback data is cleaned, and the cleaned navigation sample data associated with the explicit positive feedback data is sorted and counted according to the type of the explicit positive feedback data, and the results are shown in the example of Table 1 (the table is only a data example and should not be regarded as a limitation of the present disclosure).

[0086] Table 1

[0087]

[0088] As shown in Table 1, before the navigation sample data associated with explicit positive feedback data is sorted, the displayed positive feedback data may be optionally divided into four levels, namely, operation level, planning level, navigation level and internal itinerary.

[0089] The display positive feedback data at the operation level may be, for example, display positive feedback data reflecting the operation of a specific single alternative navigation route. Exemplarily, the display positive feedback data at the operation level includes: the navigated object clicks on the route switch, the navigated object clicks on the preference strategy, the navigated object clicks on the route details, and the navigated object operates the map to view the route details.

[0090] The display positive feedback data at the planning level may be, for example, display positive feedback data reflecting the re-planning of the route. Exemplarily, the display positive feedback data at the planning level includes: the navigated object clicks to refresh the plan, the navigated object switches the preference strategy, the navigated object re-enters the planning page, and other re-planning behaviors of the navigated object.

[0091] The displayed positive feedback data at the navigation level may be, for example, the displayed positive feedback data reflecting the selection of the navigation route and the overlap between the movement trajectory of the navigated object and the navigation route. Exemplarily, the displayed positive feedback data at the navigation level include: the last navigation in the navigation sequence, the middle navigation in the navigation sequence, the first navigation in the navigation sequence, the navigation with the highest cumulative actual coverage rate in the navigation sequence, and the navigation with the highest actual actual coverage rate in the navigation sequence.

[0092] The positive and negative feedback data displayed within the itinerary may, for example, be the positive and negative feedback data reflecting the operation of the electronic map by the navigated object after the navigation starts. Exemplarily, the positive and negative feedback data displayed within the itinerary includes switching preference strategies during the itinerary of the navigated object, switching preference strategies during the itinerary of the navigated object, selecting true dynamic navigation during the itinerary of the navigated object, selecting false dynamic navigation during the itinerary of the navigated object, clicking during the itinerary of the navigated object, operating the map during the itinerary of the navigated object to view route details, and refreshing the route during the itinerary of the navigated object.

[0093] Typically, alternative navigation routes can be planned based on the route starting point and route end point. During the recommendation process, some routes are selected from multiple alternative navigation routes and added to the recall set. The routes displayed by the terminal are some of the alternative navigation routes selected from the recall set. Exemplarily, the recall set includes 20 routes, and 3 alternative navigation routes are selected from the recall set and sent to the navigated object. Among these 3 routes, one is used as the main recommended route, and the other two are alternative recommended routes.

[0094] The above-mentioned dynamic navigation refers to the update of alternative navigation routes during the navigation process (within the trip). True dynamic navigation is the update of alternative navigation routes for the navigated object, which are routes that have not been exposed to the navigated object before and are not in the recall set. False dynamic navigation is the update of alternative navigation routes for the navigated object, which are in the recall set but not sent to the navigated object.

[0095] In some scenarios, during the navigation process, the updated route can be displayed to the navigated object through pop-up windows or bubbles.

[0096] The above-mentioned selection during the itinerary of the guided object mainly refers to that the updated alternative route navigation line (or the original alternative navigation route) is clicked by the guided object, that is, the main recommended route is switched to the alternative navigation route.

[0097] The correspondence between the above four levels of explicit positive and negative feedback data and the collected data, planning data and navigation data is given in the "Data Source" column in Table 1. Optionally, different labels can be set for each type of explicit positive and negative feedback data according to the level to which the explicit positive and negative feedback data belongs, and the labels are given in the "Label Type" column in Table 1. When executing S120, for any navigated object behavior data, the level to which the navigated object behavior data belongs can be determined first. After determining the level to which the navigated object behavior data belongs, it is determined which type of explicit positive and negative feedback data under the level the navigated object behavior data belongs to, and the navigated object behavior data is marked with the label corresponding to the explicit positive and negative feedback data.

[0098] For example, if the behavior data of the navigated object associated with a navigation sample data includes the navigated object clicking to switch routes and the navigated object clicking to view preference strategies. According to the corresponding relationship between the labels and the explicit positive feedback data in Table 1, the navigated object clicking to switch routes is marked as 1-1, and the navigated object clicking to view preference strategies is marked as 1-2. The essence of this setting is to convert the explicit positive feedback data into a form that is easy for computers to understand, so as to facilitate the subsequent training of the route recommendation model.

[0099] In Table 1, the "Data Ratio" column is the proportion of navigation sample data associated with this type of explicit positive feedback data in all navigation sample data. The "Data Quantity" column is the total data volume of navigation sample data containing this type of explicit positive feedback data. The "Feedback Emphasis" column indicates the confidence level of whether the navigation route in the navigation sample route inferred based on this type of explicit positive feedback data is the real choice made by the navigated object according to his or her true intention, and / or the satisfaction of the navigated object with the navigation route.

[0100] As before, the number of navigation sample data from which the associated explicit positive feedback data can be extracted accounts for 25% of the total number of all navigation sample data, which means that in actual use scenarios, there is one or some navigation sample data, and the explicit positive feedback data cannot be obtained from the behavior data of the navigated object associated with the navigation sample data, that is, the navigation sample data has no explicit positive feedback data associated with it. In this case, optionally, the navigation sample data is not discarded, and the explicit positive feedback data associated with the navigation sample data is determined to be empty. The route recommendation model is still trained based on the navigation sample data. In other words, in the process of training the route recommendation model, the navigation sample data used includes two categories, one category of navigation sample data has explicit positive feedback data associated with it, and the other category of navigation sample data has no explicit positive feedback data associated with it. The reason for this setting is to comprehensively consider the use of various navigation services such as experienced drivers driving on familiar roads, experienced drivers driving on unfamiliar roads, and novice drivers driving, so as to ensure that the trained route recommendation model has high accuracy and rationality when recommending routes.

[0101] On the basis of the above technical solution, the navigated object behavior data may be set to also include collection data, planning data and navigation data. As for the above-mentioned navigated object behavior data, the data volume is massive. In the disclosed embodiment, it is necessary to associate the massive navigated object behavior data with the navigation service or navigation sample data, that is, to obtain the data associated with the navigation service or navigation sample data from the massive navigated object behavior data, so as to realize the alignment of the navigated object behavior data and the navigation sample data. Specifically, for obtaining the collection data associated with the navigation sample data, it may specifically include: obtaining the collection data associated with the navigation sample data based on the time interval; obtaining the planning data associated with the navigation sample data may specifically include: obtaining the planning data associated with the navigation sample data based on the time interval and / or destination consistency; obtaining the navigation data associated with the navigation sample data may specifically include: obtaining the navigation data associated with the navigation sample data based on the time interval and / or destination consistency.

[0102] The above-mentioned destination consistency may be, for example, that the distance between the two planned (or navigated) destinations is less than a set distance.

[0103] The data of the navigated object in the process of using the electronic map will form a collection data sequence, a planning data sequence and a navigation data sequence. The technical solution in the disclosed embodiment needs to construct a time screening condition according to the time interval, construct a destination screening condition according to the destination consistency, cut the collection data sequence, the planning data sequence and the navigation data sequence based on the time screening condition and / or the destination screening condition, and align the sub-collection data sequence, sub-planning data sequence and sub-navigation data sequence obtained after cutting; the aligned sub-collection data sequence, sub-planning data sequence and sub-navigation data sequence all belong to the behavior data of the navigated object collected in one navigation service.

[0104] Figure 3 The present invention provides an application software with navigation function and a sequence diagram of the behavior data of the navigated object during the use of the navigation system. Figure 3 In the example, one planning data corresponds to one planning. One navigation data corresponds to one navigation. Exemplarily, when the navigated object uses the electronic map, a collection data sequence, a planning data sequence and a navigation data sequence will be formed. Assuming that the navigation route in the navigation sample data M is to the location N, the navigated object finally arrives at the location N under the guidance of the navigation route used in the navigation process corresponding to the navigation data 4. The time filtering condition for the navigation sample data M can be constructed based on the navigation start time and the preset time interval of the navigation data 4. The destination filtering condition for the navigation sample data M is constructed according to the location N.

[0105] When a piece of collected data meets the time screening condition, the collected data is used as the behavior data of the navigated object associated with the navigation sample data M in S110. When a piece of planning data meets both the time screening condition and the destination screening condition, the planning data is used as the behavior data of the navigated object associated with the navigation sample data M. When a piece of navigation data meets both the time screening condition and the destination screening condition, the navigation data is used as the behavior data of the navigated object associated with the navigation sample data M.

[0106] This application does not limit the specific content of the constructed time screening conditions and destination screening conditions. Exemplarily, the time screening condition is that the time interval between the generation time of the data and the navigation start time of the navigation data 4 is less than the set time threshold (such as 5 minutes). The destination screening condition of the planning data is that the distance between the route end point of the alternative navigation route and the location N is less than the set distance threshold (such as 300 meters). The destination screening condition of the navigation data is that the distance between the route end point of the navigation route and the location N is less than the set distance threshold (such as 300 meters).

[0107] When considering dividing the display positive feedback data into four levels (such as operation level, planning level, navigation level and within the trip), the collected data, planning data and navigation data can be aligned in units of levels. That is, the collected data belonging to the operation level are grouped together based on the time interval, the collected data and planning data belonging to the planning level are grouped together based on the time interval and / or destination consistency, the navigation data belonging to the navigation level are grouped together based on the time interval and / or destination consistency, and the collected data and navigation data belonging to the trip are grouped together based on the time interval and / or destination consistency. This makes it easy to use labels to mark the behavior data of the navigated object and improve the training rate of the route recommendation model.

[0108] On the basis of the above-mentioned technical solutions, optionally, training the route recommendation model according to the navigation sample data and the displayed positive feedback data in step S130 may specifically include: determining the sample weight of the navigation sample data based on the explicit positive feedback data associated with the navigation sample data; and training the route recommendation model based on at least one navigation sample data and the sample weight of the navigation sample data.

[0109] There are many specific implementation methods for "determining the sample weight of navigation sample data based on explicit positive feedback data associated with navigation sample data", and this application does not limit this. Exemplarily, the specific implementation method of "determining the sample weight of navigation sample data based on explicit positive feedback data associated with navigation sample data" includes at least one of the following: determining the sample weight of navigation sample data based on the type score of explicit positive feedback data associated with navigation sample data; determining the sample weight of navigation sample data using a linear weighting algorithm based on the number of explicit positive feedback data associated with navigation sample data; determining the sample weight of navigation sample data using a weighted linear weighting algorithm based on the number of explicit positive feedback data associated with navigation sample data; determining the sample weight of navigation sample data using a Boolean sum algorithm based on the number of explicit positive feedback data associated with navigation sample data.

[0110] The following describes each specific implementation method:

[0111] First, if the sample weight of the navigation sample data is determined based on the type score of the explicit positive feedback data associated with the navigation sample data, a score can be set in advance for each type of explicit positive feedback data, and for any navigation sample data, the sum of the type scores of all the corresponding explicit positive feedback data is used as its sample weight. Exemplarily, it is assumed that the type score of the navigated object clicking to switch routes is preset to 5, and the type score of the navigated object clicking to view preference policies is preset to 1. If the explicit positive feedback data associated with a navigation sample data includes the navigated object clicking to switch routes and the navigated object clicking to view preference policies, the sample weight of the navigation sample data is 6. If a navigation sample data has no explicit positive feedback data associated with it, the sample weight of the navigation sample data is determined to be 0.

[0112] Second, based on the number of explicit positive feedback data associated with the navigation sample data, a linear weighting algorithm is used to determine the sample weight of the navigation sample data. For example, the sample weight of the navigation sample data can be determined based on the number of explicit positive feedback data associated with the navigation sample data and formula (1).

[0113] y=1+x (1)

[0114] x is the number of explicit positive feedback data associated with the navigation sample data. If a navigation sample data has no explicit positive feedback data associated with it, let x=0.

[0115] Exemplarily, it is assumed that before executing the training method of the route recommendation model provided by the present application, it is stipulated that the displayed positive feedback data includes 8 types in total, which means that when using the training method of the route recommendation model provided by the present application, one navigation sample data is associated with at most 8 types of explicit positive feedback data. That is, for a navigation sample data, the value range of x is a positive integer between 0 and 8, and the specific value of x is the number of explicit positive feedback data associated with the navigation sample data. Third, based on the number of explicit positive feedback data associated with the navigation sample data, a weighted linear weighting algorithm is used to determine the sample weight of the navigation sample data. For example, the sample weight of the navigation sample data can be determined based on the number of explicit positive feedback data associated with the navigation sample data and formula (2).

[0116]

[0117] Wherein, x is the number of explicit positive feedback data associated with the navigation sample data. If a navigation sample data has no explicit positive feedback data associated with it, let x = 0. b and k are constants, and the present application does not limit the values ​​of b and k. For example, b = 1.9, k = 0.1.

[0118] For example, it is assumed that before executing the training method of the route recommendation model provided by the present application, it is stipulated that the explicit positive feedback data includes 8 types in total, which means that when using the training method of the route recommendation model provided by the present application, one navigation sample data is associated with at most 8 types of explicit positive feedback data. That is, for one navigation sample data, the value range of x is a positive integer between 0 and 8, and the specific value of x is the number of explicit positive feedback data associated with the navigation sample data.

[0119] Fourth, based on the number of explicit positive feedback data associated with the navigation sample data, a Boolean sum algorithm is used to determine the sample weight of the navigation sample data. For example, the sample weight of the navigation sample data can be determined based on the number of explicit positive feedback data associated with the navigation sample data and formula (3).

[0120]

[0121] If a navigation sample data has no explicit positive feedback data associated therewith, let x=0.

[0122] In the example of the present disclosure, after the sample weight of the navigation sample data is obtained, the route recommendation model can be trained based on at least one navigation sample data and the sample weight of the navigation sample data. There can be many specific ways, and the embodiment of the present disclosure is not limited to this. Exemplarily, for example, when using each navigation sample data to train the route recommendation model, the product of the sample weight of the navigation sample data and the loss function of the navigation sample data is calculated, and then the parameters in the route recommendation model are corrected based on the product of the sample weight of the navigation sample data and the loss function. In this way, the role of the navigation sample data with explicit positive feedback data can be amplified, so that the resulting route recommendation model pays more attention to the navigation sample data with explicit positive feedback data with larger associated weights, thereby achieving the purpose of correcting the route recommendation model.

[0123] As for the sample weights obtained by the above four methods, the amplification effects of the sample weights obtained by different methods are not the same. This embodiment is verified through grayscale experiments and found that since the number of navigation sample data that can extract associated explicit positive feedback data accounts for about one-third of the total number of all navigation sample data, excessively amplifying or reducing the effect of navigation sample data including associated explicit positive feedback data will cause the weight of the trained route recommendation model to deviate from the original data space. When the sample weights are calculated using the third weight linear weighting algorithm, the amplification effect is relatively gentle (when b = 1.9, k = 0.1, the amplification effect is between 1∪[2,2.7]), and it can highlight the role of different numbers of explicit positive feedback data, and the route recommendation effect of the trained route recommendation model is better.

[0124] Figure 4 A flowchart of a route recommendation method provided by an embodiment of the present disclosure. The route recommendation method can be executed by a route recommendation device, which can be implemented by software and / or hardware and can be integrated on any server with computing capabilities.

[0125] See also Figure 4 , the route recommendation method includes:

[0126] S210: Obtain the route starting point and route end point.

[0127] S220: Based on a route start point and a route end point, plan an alternative navigation route from the route start point to the route end point.

[0128] S230: The route recommendation model trained by the route recommendation model training method provided in the present application makes a recommendation prediction for the alternative navigation route, and determines at least one alternative navigation route to be recommended based on the recommendation prediction.

[0129] Since the route recommendation method provided in the present application uses the route recommendation model trained by the training method of the route recommendation model provided in the present application, it has the same or corresponding beneficial effects as the route recommendation model used by it.

[0130] Furthermore, the route recommendation method also includes: receiving a selection result of the navigated object for the at least one candidate navigation route; and executing a navigation service according to the selection result.

[0131] Based on the same inventive concept, the embodiment of the present disclosure also provides a route recommendation model training device, which can execute the steps of any route recommendation model training method provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. The device can be implemented by software and / or hardware, and can be integrated on any terminal device such as a server or computer with computing capabilities.

[0132] Figure 5 A schematic diagram of the structure of a training device for a route recommendation model provided by an embodiment of the present disclosure. Figure 5 , the training device of the route recommendation model includes:

[0133] The sample acquisition module 310 is used to acquire at least one navigation sample data generated in the process of providing navigation service for the navigated object, and one navigation sample data corresponds to one navigation service;

[0134] The behavior data acquisition module 320 is used to acquire the behavior data of the navigated object associated with the navigation sample data;

[0135] The positive feedback data acquisition module 330 is used to acquire explicit positive feedback data associated with the navigation sample data according to the behavior data of the navigated object associated with the navigation sample data;

[0136] The training module 340 is used to train the route recommendation model based on the at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data.

[0137] Furthermore, the behavior data acquisition module is used to:

[0138] Obtain at least one data collection page associated with each navigation sample data;

[0139] The collected data is generated based on at least one data collection page, and the collected data is obtained by the interactive operation of the navigated object on the set button on the data collection page.

[0140] Furthermore, the at least one data collection page associated with each navigation sample data includes at least one of a recommended route result page, a recommended route details page, a navigation page, and a navigation preference setting page.

[0141] Furthermore, the behavior data of the navigated object also includes planning data and navigation data;

[0142] Behavior data acquisition module, used for:

[0143] Acquire at least one of the acquisition data, planning data and navigation data associated with each navigation sample data;

[0144] Positive feedback data acquisition module, used for:

[0145] The explicit positive feedback data associated with each navigation sample data is acquired according to at least one of the acquisition data, the planning data and the navigation data associated with each navigation sample data.

[0146] Furthermore, the behavior data acquisition module is used to:

[0147] Acquire the collected data associated with each navigation sample data based on the time interval;

[0148] Acquire planning data associated with each navigation sample data based on time interval and / or destination consistency;

[0149] Navigation data associated with each navigation sample data is obtained based on a time interval and / or a destination consistency.

[0150] Further, if the behavior data of the navigated object includes the collected data, the explicit positive feedback data includes at least one of the navigated object clicking to switch routes, the navigated object clicking to view preference strategies, the navigated object clicking to view route details, the navigated object operating a map to view route details, the navigated object clicking to refresh the plan, the navigated object switching preference strategies, the navigated object re-entering the plan page, the navigated object switching routes during the itinerary, the navigated object switching preference strategies during the itinerary, the navigated object operating a map to view route details during the itinerary, and the navigated object refreshing the route during the itinerary;

[0151] If the behavior data of the navigated object includes the planning data, the explicit positive feedback data includes at least one of re-planning after the navigated object clicks to refresh the planning, re-planning after the navigated object switches the preference strategy, and re-planning after the navigated object re-enters the planning page;

[0152] If the behavior data of the navigated object includes the navigation data, the explicit positive feedback data includes the last navigation in the navigation sequence, the intermediate navigation in the navigation sequence, the first navigation in the navigation sequence, the navigation with the highest cumulative actual coverage in the navigation sequence, the navigation with the highest actual actual coverage in the navigation sequence, the selection of true dynamic navigation in the itinerary of the navigated object, the selection of false dynamic navigation in the itinerary of the navigated object and at least one of the midpoint selected in the itinerary of the navigated object.

[0153] Furthermore, the training module is used to:

[0154] Determining a sample weight of each navigation sample data based on explicit positive feedback data associated with each navigation sample data;

[0155] The route recommendation model is trained based on the at least one navigation sample data and the sample weight of each navigation sample data.

[0156] Furthermore, each navigation sample data is associated with at least one explicit positive feedback data, and the training module is used to perform at least one of the following steps:

[0157] Determining a sample weight of each navigation sample data based on a type score of explicit positive feedback data associated with each navigation sample data;

[0158] Based on the number of explicit positive feedback data associated with each navigation sample data, a linear weighting algorithm is used to determine the sample weight of each navigation sample data;

[0159] Based on the number of explicit positive feedback data associated with each navigation sample data, a weighted linear weighting algorithm is used to determine the sample weight of each navigation sample data;

[0160] Based on the number of explicit positive feedback data associated with each navigation sample data, a Boolean sum algorithm is used to determine the sample weight of each navigation sample data.

[0161] Based on the same inventive concept, the embodiment of the present disclosure also provides a route recommendation device, which can execute the steps of any route recommendation device provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. The device can be implemented by software and / or hardware, and can be integrated on any terminal device such as a server or computer with computing power.

[0162] Figure 6 A schematic diagram of the structure of a route recommendation device provided by an embodiment of the present disclosure. Figure 6 , the route recommendation device comprises:

[0163] A starting point and end point acquisition module 410 is used to acquire a route starting point and a route end point;

[0164] A planning module 420, configured to plan an alternative navigation route from the route starting point to the route ending point based on the route starting point and the route ending point;

[0165] The recommendation module 430 is used to make a recommendation prediction for the candidate navigation routes using the route recommendation model trained by the training device for the route recommendation model as described above, and determine at least one candidate navigation route to be recommended based on the recommendation prediction.

[0166] Figure 7 A structural diagram of an electronic device provided for an embodiment of the present disclosure is used to exemplify an electronic device for implementing a training method for any route recommendation model or a route recommendation method in an embodiment of the present disclosure, and should not be understood as a specific limitation on the embodiments of the present disclosure.

[0167] like Figure 7 As shown, the electronic device 700 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0168] Typically, the following devices may be connected to the I / O interface 705: input devices 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 708 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 700 having various devices is shown, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.

[0169] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processor 701, the functions defined in any one of the training methods of the route recommendation model or the route recommendation method provided in the embodiment of the present disclosure can be executed.

[0170] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0171] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0172] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0173] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0174] Acquire at least one navigation sample data generated in the process of providing navigation service for the navigated object, one navigation sample data corresponds to one navigation service;

[0175] Obtaining the behavior data of the navigated object associated with the navigation sample data;

[0176] Obtaining explicit positive feedback data associated with the navigation sample data according to the behavior data of the navigated object associated with the navigation sample data;

[0177] A route recommendation model is trained based on the at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data.

[0178] or,

[0179] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0180] Get the route starting point and route end point;

[0181] Based on a route start point and a route end point, planning an alternative navigation route from the route start point to the route end point;

[0182] The route recommendation model trained by the route recommendation model training method makes a recommendation prediction for the candidate navigation routes, and determines at least one candidate navigation route to be recommended based on the recommendation prediction.

[0183] In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the computer, partially on the computer, as an independent software package, partially on the computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0184] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0185] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0186] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0187] In the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0188] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0189] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0190] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for training a route recommendation model, comprising: Acquire at least one navigation sample data generated in the process of providing navigation service for the navigated object, one navigation sample data corresponds to one navigation service; Obtaining the behavior data of the navigated object associated with the navigation sample data; Obtaining explicit positive feedback data associated with the navigation sample data according to the behavior data of the navigated object associated with the navigation sample data; A route recommendation model is trained based on the at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data.

2. The method according to claim 1, wherein: Get the behavior data of the navigated object associated with the navigation sample data, including: Obtaining at least one data collection page associated with the navigation sample data; The collected data is generated based on the at least one data collection page, and the collected data is obtained by the interactive operation of the navigated object on the set button on the data collection page.

3. The method according to claim 2, wherein: The at least one data collection page associated with each navigation sample data includes at least one of a recommended route result page, a recommended route details page, a navigation page, and a navigation preference setting page.

4. The method according to claim 1, wherein: The behavior data of the navigated object also includes planning data and navigation data; The step of obtaining the behavior data of the navigated object associated with the navigation sample data includes: Acquire at least one of the acquisition data, planning data and navigation data associated with the navigation sample data; The step of obtaining explicit positive and negative feedback data associated with each navigation sample data according to the behavior data of the navigated object associated with the navigation sample data includes: Obtain explicit positive feedback data associated with each navigation sample data according to at least one of the acquisition data, planning data and navigation data associated with each navigation sample data.

5. The method according to claim 4, wherein: The step of obtaining the collected data associated with the navigation sample data includes: Acquire collected data associated with navigation sample data based on time intervals; The step of obtaining planning data associated with the navigation sample data includes: Acquiring planning data associated with navigation sample data based on time interval and / or destination consistency; The obtaining of navigation data associated with the navigation sample data includes: Navigation data associated with the navigation sample data is acquired based on a time interval and / or a destination consistency.

6. The method according to claim 4, wherein: If the behavior data of the navigated object includes the collected data, the explicit positive feedback data includes at least one of the following: the navigated object clicks to switch routes, the navigated object clicks to view preference strategies, the navigated object clicks to view route details, the navigated object operates a map to view route details, the navigated object clicks to refresh the plan, the navigated object switches the preference strategies, the navigated object re-enters the plan page, the navigated object switches routes during the trip, the navigated object switches the preference strategies during the trip, the navigated object operates a map to view route details during the trip, and the navigated object refreshes the route during the trip; If the behavior data of the navigated object includes the planning data, the explicit positive feedback data includes at least one of re-planning after the navigated object clicks to refresh the planning, re-planning after the navigated object switches the preference strategy, and re-planning after the navigated object re-enters the planning page; If the behavior data of the navigated object includes the navigation data, the explicit positive feedback data includes the last navigation in the navigation sequence, the intermediate navigation in the navigation sequence, the first navigation in the navigation sequence, the navigation with the highest cumulative actual coverage in the navigation sequence, the navigation with the highest actual actual coverage in the navigation sequence, the selection of true dynamic navigation in the itinerary of the navigated object, the selection of false dynamic navigation in the itinerary of the navigated object and at least one of the midpoint selected in the itinerary of the navigated object.

7. The method according to any one of claims 1 to 6, wherein: The training of the route recommendation model based on the at least one navigation sample data and the explicit positive feedback data associated with the navigation sample data comprises: determining a sample weight of the navigation sample data based on explicit positive feedback data associated with the navigation sample data; The route recommendation model is trained based on the at least one navigation sample data and the sample weight of the navigation sample data.

8. The method according to claim 7, wherein: The navigation sample data is associated with at least one explicit positive feedback data, and the determining of the sample weight of the navigation sample data based on the explicit positive feedback data associated with the navigation sample data comprises at least one of the following: Determining a sample weight of the navigation sample data based on a type score of explicit positive feedback data associated with the navigation sample data; Based on the number of explicit positive feedback data associated with the navigation sample data, a linear weighting algorithm is used to determine the sample weight of the navigation sample data; Based on the number of explicit positive feedback data associated with the navigation sample data, a weighted linear weighting algorithm is used to determine the sample weight of the navigation sample data; Based on the number of explicit positive feedback data associated with the navigation sample data, the sample weight of the navigation sample data is determined using the Boolean sum algorithm.

9. A route recommendation method, comprising: Get the route starting point and route end point; Based on a route start point and a route end point, planning an alternative navigation route from the route start point to the route end point; The route recommendation model trained by any of the methods described in claims 1-8 makes a recommendation prediction for the alternative navigation route, and determines at least one alternative navigation route to be recommended based on the recommendation prediction.

10. A training device for a route recommendation model, comprising: A sample acquisition module, used to acquire at least one navigation sample data generated in the process of providing navigation service for the navigated object, one navigation sample data corresponds to one navigation service; A behavior data acquisition module is used to acquire the behavior data of the navigated object associated with the navigation sample data; A positive feedback data acquisition module, used for acquiring explicit positive feedback data associated with the navigation sample data according to the behavior data of the navigated object associated with the navigation sample data; A training module is used to train a route recommendation model based on the at least one navigation sample data and explicit positive feedback data associated with the navigation sample data.

11. An electronic device, comprising: Memory and processor, The memory is used to store instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the training of the route recommendation model according to any one of claims 1 to 8 or the route recommendation method according to claim 9. 12 . A computer program product, wherein the computer program product is used to execute the route recommendation model training method according to any one of claims 1 to 8 or the route recommendation method according to claim 9.

Citation Information

Cited By

  • Multi-target dynamic weight path planning method based on confidence feedback

    CN121632196A