WO2024179127A1 - Navigation route recommendation method and apparatus, familiar-route prediction model training method and apparatus, and medium - Google Patents
Navigation route recommendation method and apparatus, familiar-route prediction model training method and apparatus, and medium Download PDFInfo
- Publication number
- WO2024179127A1 WO2024179127A1 PCT/CN2023/138523 CN2023138523W WO2024179127A1 WO 2024179127 A1 WO2024179127 A1 WO 2024179127A1 CN 2023138523 W CN2023138523 W CN 2023138523W WO 2024179127 A1 WO2024179127 A1 WO 2024179127A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sample
- road
- data
- navigation route
- prediction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000010276 construction Methods 0.000 claims description 21
- 238000004364 calculation method Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 230000015654 memory Effects 0.000 description 28
- 230000006870 function Effects 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000005065 mining Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 239000010410 layer Substances 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000002356 single layer Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3407—Route searching; Route guidance specially adapted for specific applications
- G01C21/343—Calculating itineraries, i.e. routes leading from a starting point to a series of categorical destinations using a global route restraint, round trips, touristic trips
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3453—Special cost functions, i.e. other than distance or default speed limit of road segments
- G01C21/3461—Preferred or disfavoured areas, e.g. dangerous zones, toll or emission zones, intersections, manoeuvre types, segments such as motorways, toll roads, ferries
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3453—Special cost functions, i.e. other than distance or default speed limit of road segments
- G01C21/3492—Special cost functions, i.e. other than distance or default speed limit of road segments employing speed data or traffic data, e.g. real-time or historical
Definitions
- the present disclosure relates to the field of navigation technology, and in particular to a method, device, and medium for recommending a navigation route and training a familiar road prediction model.
- the prior art In order to make the navigation route recommended to the user meet the user's travel preferences (such as liking to take familiar roads, liking roads with fewer traffic lights, etc.), the prior art generally determines the navigation route recommended to the user based on the relevant data representing the user's travel preferences.
- the user's travel preferences will change with time or changes in the environment, etc.
- the relevant data representing the user's travel preferences cannot reflect the changes in the user's travel preferences, the navigation route recommended to the user will not meet the user's expectations, and the user experience will deteriorate.
- the embodiments of the present disclosure provide a method, device, and medium for recommending a navigation route and training a familiar route prediction model.
- an embodiment of the present disclosure provides a method for recommending a navigation route, comprising:
- a recommendation prediction value of the candidate navigation route is determined.
- the present disclosure provides a method for training a familiar road prediction model, including:
- the familiar road prediction model is trained using training samples of the sample road segments, and the familiar road prediction model is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
- an embodiment of the present disclosure provides a navigation route recommendation device, including:
- a first acquisition module is used to acquire historical travel data of candidate navigation routes including road sections;
- a first construction module is used to construct prediction data of the road section according to historical travel data of the road section and route planning data of the candidate navigation route, wherein the prediction data includes planning feature data of the road section;
- the determination module is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segment.
- an embodiment of the present disclosure provides a training device for a familiar road prediction model, comprising:
- a second acquisition module is used to acquire sample historical travel data of a sample navigation route including a sample road section
- a second construction module is used to construct a training sample of the sample road section according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, wherein the training sample includes the sample planning feature data of the sample road section;
- the training module is used to train the familiar road prediction model using training samples of the sample road segments, and the familiar road prediction model is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
- an embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored.
- the computer program is executed by a processor, the method provided by any embodiment of the present disclosure is implemented.
- the technical solution disclosed in the present invention obtains the historical travel data of the candidate navigation route including the road segment; constructs the prediction data of the road segment according to the historical travel data of the road segment and the route planning data of the candidate navigation route, and the prediction data includes the planning feature data of the road segment; and determines the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segment.
- the historical travel data in the present invention is the data generated by the actual travel behavior of the navigated object
- the historical travel data represents the actual travel preference of the navigated object for the corresponding road segment.
- the historical travel data can easily capture the change in the preference of the navigated object for the corresponding road segment.
- the prediction data of the road segment constructed by the present invention includes the planning feature data of the road segment based on the historical travel data and the route planning data of the candidate navigation routes, that is, the prediction data of the road segment constructed by the present invention associates the features of the road segment included in the candidate navigation route when it is planned with the features of the road segment recorded in the historical travel data, so that the changes in the travel preferences of the navigated object are reflected in the prediction data of the candidate navigation route, thereby improving the accuracy of the recommended prediction value of the candidate route, so that the navigation route recommended to the navigated object is more in line with the current travel preferences of the navigated object, and the navigated object is more likely to choose the recommended navigation route.
- FIG. 1 is a schematic flow chart of a method for recommending a navigation route in an embodiment of the present disclosure.
- FIG2 is a flowchart of a method for training a familiar road prediction model in an embodiment of the present disclosure.
- FIG. 3 is a structural block diagram of a navigation route recommendation device in an embodiment of the present disclosure.
- FIG4 is a structural block diagram of a training device for a familiar road prediction model in an embodiment of the present disclosure.
- FIG. 5 is a block diagram of an electronic device for implementing an embodiment of the present disclosure.
- the 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.) involved in this disclosure are all 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 relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
- the user When using an application with a map navigation function for navigation, the user (also referred to as the navigated object) inputs the starting point and the end point, and the application and its related service system will plan the optimal navigation route and alternative navigation routes under different strategies for the user.
- the existing technology also combines the user's travel preferences to recommend a navigation route that meets the user's expectations, for example, recommending a navigation route consisting of a road section that the user is familiar with.
- Some concepts involved in this disclosure include road segments, personal road networks, etc.
- Link It is the smallest unit of a road. It can be understood that a road in the real world will be divided into multiple links in an electronic map. Usually, a section of road between two intersections will be divided into one link. Since roads are divided into links in electronic maps, the navigation route planned based on the electronic map usually includes more than one link.
- Personal road network Based on the road information that the user (also called the navigation object) actually traveled (drove or walked, etc.) within a preset historical time (for example, within half a year), the personal road network is recorded according to road sections.
- a personal road network represents a preferred or familiar road section for a user when traveling.
- the prior art usually mines it using predefined rules. For example, a road section that a user has walked twice or more is a preferred/familiar road section for the user.
- predefined rules For example, a road section that a user has walked twice or more is defined as a familiar road section for the user.
- the road section may no longer be a road section that the user often walks on. In other words, as time goes by, the road section is no longer a road section that the user is familiar with or prefers to travel on.
- the navigation route containing the road section not being the navigation route expected by the user.
- the navigation route expected by the user but because the mining cycle of the personal road network is usually long, when the user's previous frequently traveled section is no longer the current frequently traveled section due to changes in work location or relocation or some special needs, the personal road network will still mark this section as a familiar section for the user due to untimely updates, which will cause the predicted value of the navigation route containing this section to usually exceed other navigation routes, and ultimately the navigation route recommended to the user does not actually meet the user's current expectations.
- Fig. 1 is a flowchart of a method for recommending a navigation route in an embodiment of the present disclosure.
- a method 100 for recommending a navigation route provided in an embodiment of the present disclosure includes steps S101 to S103.
- step S101 historical travel data of the candidate navigation route including the road segments is obtained.
- the number of candidate navigation routes may be one or more, and the candidate navigation routes may include several topologically connected road segments.
- the historical travel data of the road segment may include historical feature data characterizing the historical travel preferences of the navigated object.
- the historical travel data acquired in step S101 may be the historical travel data of the road segment within a preset historical time range, for example, within six months or three months from the current time.
- the preset historical time range may be set as needed, and the present disclosure does not impose any restrictions.
- the historical travel data corresponds to the navigated object.
- the historical travel data of the corresponding road section of the navigated object can be obtained based on the identifier of the navigated object.
- the historical travel data records the historical feature data generated when the navigated object actually walked through the corresponding road section before the route planning time of the candidate navigation route. Since the navigated object actually walked through the road section before and the historical travel data is relatively close to the current time, the historical feature data used in the present disclosure can characterize the recent changes in the historical travel preferences of the navigated object for the road section.
- the road sections in the candidate navigation routes may have historical travel data or may not have historical travel data. For example, if the navigated object passes through the road section within a preset historical time range, then the road section has corresponding historical travel data. If the navigated object does not pass through the road section within the preset historical time range, then the road section has no historical travel data.
- the present disclosure is aimed at the road sections included in the candidate navigation routes for which historical travel data can be obtained. For the calculation of the weights of the road sections for which historical travel data cannot be obtained, relevant existing technologies can be used, and the present disclosure does not impose any restrictions.
- step S102 prediction data of the road segment is constructed based on the historical travel data of the road segment and the route planning data of the candidate navigation route, and the prediction data includes planning feature data of the road segment.
- the route planning data in step S102 can be understood as the data that an application with a map navigation function and its service system need to use when planning a candidate navigation route, including but not limited to the starting point, end point, road conditions, etc.
- the prediction data of the road section is constructed based on the historical travel data of the road section and the route planning data of the candidate navigation route.
- the prediction data includes planning feature data of the road section, which associates the features of the road section included in the candidate navigation route when it is planned with the features recorded in the historical travel data of the road section, so that the travel preference changes of the navigated object are reflected in the prediction data of the candidate navigation route.
- step S103 based on the prediction data of the candidate navigation route including the road segments, a recommended prediction value of the candidate navigation route is determined.
- the recommendation prediction value refers to the score value of the candidate navigation route recommended to the navigated object.
- the larger the recommendation prediction value the higher the probability that the candidate navigation route is recommended to the navigated object.
- the recommendation prediction value can be understood as the familiarity of the navigated object with the candidate navigation route.
- the higher the recommendation prediction value the more familiar the navigated object is with the candidate navigation route.
- recommending a familiar navigation route to the navigated object will reduce the unfamiliarity of the navigated object with the navigation route and be more in line with the expectations of the navigated object.
- the navigated object can also improve the safety of driving by choosing a familiar navigation route.
- the method of the present disclosure can compare the recommended prediction value of the candidate navigation route with a preset threshold, and select the candidate navigation route recommended to the navigated object from the candidate navigation routes whose recommended prediction value is greater than the preset threshold. For example, when the number of candidate navigation routes whose recommended prediction value is greater than or equal to the preset threshold is at least two, these candidate navigation routes can be sorted according to the size of the recommended prediction value, and one or more of the candidate navigation routes can be recommended to the navigated object as the target navigation route based on the sorting. The number of candidate navigation routes recommended to the navigated object can be set as needed, This disclosure does not impose any limitations.
- a road section that the navigation object has walked twice or more is a road section that the navigation object prefers/is familiar with.
- a road section that the navigation object has walked twice or more is defined as a road section that the navigation object is familiar with.
- the road section may no longer be a road section that the navigation object often walks on. In other words, as time goes by, the road section is no longer a road section that the navigation object is familiar with or prefers to travel on, which may result in the navigation route containing the road section not being the navigation route expected by the navigation object.
- the personal road network will still mark this road section as a road section that the navigation object is familiar with due to untimely updates, which will result in the predicted value of the navigation route containing the road section usually exceeding other navigation routes, resulting in the predicted value of the navigation route not being able to accurately reflect the travel preferences of the navigation object, and ultimately making the navigation route recommended to the navigation object actually not meet the current expectations of the navigation object.
- the technical solution disclosed in the present invention obtains the historical travel data of the candidate navigation route including the road segment; constructs the prediction data of the road segment according to the historical travel data of the road segment and the route planning data of the candidate navigation route, and the prediction data includes the planning feature data of the road segment; and determines the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segment.
- the historical travel data in the present invention is the data generated by the actual travel behavior of the navigated object
- the historical travel data represents the actual travel preference of the navigated object for the corresponding road segment.
- the historical travel data can easily capture the change in the preference of the navigated object for the corresponding road segment.
- the prediction data of the road segment constructed by the present disclosure includes the planning feature data of the road segment based on the historical travel data and the route planning data of the candidate navigation route, that is, the prediction data of the road segment constructed by the present disclosure associates the features of the road segment included in the candidate navigation route when it was planned with the features of the road segment recorded in the historical travel data, so that the travel preference changes of the navigated object are reflected in the prediction data of the candidate navigation route, thereby improving the accuracy of the recommended prediction value of the candidate route, making the navigation route recommended to the navigated object more in line with the current travel preference of the navigated object, and the navigated object is more likely to choose the recommended navigation route. Therefore, by adopting the technical solution of the present disclosure, the travel preference changes of the navigated object can be captured in time, and the navigation route that meets its preferences can be recommended to the navigated object more accurately, so as to better realize personalized route recommendation.
- historical travel data may include historical travel time, which can be understood as the historical time when the navigated object passes through the road section.
- Route planning data may include route planning time. Route planning time should be understood as the time when an application with navigation function and its service system plan the navigation route according to the starting point and end point input by the navigated object.
- the planning feature data of the road section includes time feature and distance feature.
- the prediction data of the road segment is constructed, which may include:
- the historical travel time of a road section is far away from the route planning time, it means that the navigation object The time from the time when the candidate navigation route was planned to the time when the person walked the road section before is too far away, and the familiarity of the person being navigated with the road section decays with time, that is, the farther the difference between the historical travel time and the route planning time is, the less familiar the person being navigated with the road section is.
- the difference between the historical travel time and the route planning time is very close, the more familiar the person being navigated with the road section is.
- the present disclosure determines the time feature corresponding to the historical travel time based on the historical travel time of the road section and the route planning time of the candidate navigation route, and takes into account the problem of the decay of familiarity with time, so that the constructed prediction data can better reflect the preference or familiarity of the person being navigated with the corresponding road section.
- the historical starting point and the historical end point may be the starting point and the end point of the historical travel route corresponding to the historical travel time.
- the historical travel route is the navigation route corresponding to the navigation object's historical passage through the road section. For example, the navigation route planned by the navigation object from starting point E to end point F 5 days before the route planning time passes through road section 1, and the navigation object actually also passes through road section 1. Then, the historical starting point and the historical end point corresponding to the historical travel time are the starting point and the end point corresponding to the navigation route from starting point E to end point F.
- the historical travel time may be the specific date of passing the historical travel route, such as November 20, 2022, or the historical travel time may be the number of days of passing the historical travel route relative to the route planning time, such as 5 days ago.
- the specific form of the historical travel time can be set as needed.
- the navigation object passed through road section 1 5 days before the candidate navigation route was planned, and the historical travel route through road section 1 was from starting point E to end point F.
- the historical feature data may include 5 days ago, starting point E and end point F, and the historical travel data may be expressed as ⁇ 5 days ago, starting point E, end point F ⁇ .
- Each time the navigated object passes through section 1, a historical feature data corresponding to section 1 is generated. The more times the navigated object passes through section 1, the more historical feature data corresponding to section 1.
- the planned starting point and the planned end point are the starting point and the end point of the planned candidate navigation route.
- the historical travel data includes the historical starting point and the historical end point corresponding to the historical travel time
- the route planning data includes the planned starting point and the planned end point.
- the time feature corresponding to the historical travel time is determined according to the historical travel time and the route planning time; the distance feature corresponding to the historical travel time is determined according to the historical starting point, the historical end point, the planned starting point, and the planned end point, and the prediction data of the road section is constructed based on at least the time feature and the distance feature.
- the prediction data of the road section constructed by the present disclosure not only considers the influence of time on travel preference, but also considers the influence of the starting point and the end point on travel preference, which can further improve the accuracy of the recommended prediction value of the candidate navigation route, so that the recommended prediction value can more accurately reflect the current preference of the navigated object for the candidate navigation route.
- the starting point in the present disclosure may be the position coordinates of the starting point, and the end point may be the position coordinates of the end point.
- the two starting points may be considered the same; when the distance between two end points is less than or equal to a preset distance, the two end points may be considered the same.
- the preset distance may be, for example, 100 m.
- the time feature may include the time difference between the historical travel time and the route planning time.
- the distance feature may include a first distance feature and a second distance feature. According to the historical starting point and the historical end point corresponding to the historical travel time in the historical travel data of the road segment, and the planned starting point and the planned end point included in the route planning data of the candidate navigation route, the distance feature corresponding to the historical travel time is determined, including: determining the distance between the historical starting point and the planned starting point as the first distance feature; and determining the distance between the historical end point and the planned end point as the second distance feature.
- the time difference between the historical travel time of the road section and the route planning time can be the difference in days between the historical travel time and the route planning time.
- the time difference can represent the difference between the historical travel time of the navigated object passing through the road section and the route planning time. The smaller the time difference, the closer the time when the navigated object passed through the road section to the route planning time, the more familiar the navigated object is with the road section, or the more the navigated object prefers the road section.
- the prediction data of the road section that includes the time difference between the historical travel time and the route planning time of the road section takes into account the impact of the time difference on travel preferences, so that the recommended prediction value of the determined candidate navigation route more accurately reflects the current preference of the navigated object for the candidate navigation route.
- the recommended prediction value of the candidate navigation route is related to the first distance feature and the second distance feature.
- the predicted data of the road section includes the first distance feature and the second distance feature.
- the recommended prediction value of the candidate navigation route determined based on the predicted data of the road section can better reflect the familiarity of the navigated object with the road section, better reflect the current preference of the navigated object for the candidate navigation route, and meet the expectations of the navigated object.
- the planning feature data of the section may also include road condition features.
- the method of the embodiment of the present disclosure may also include:
- the road condition characteristics corresponding to the historical travel time are determined based on the historical road condition information corresponding to the historical travel time in the historical travel data of the road section and the planned road condition information of the road section included in the route planning data.
- the traffic condition information may include smooth, slow, congested, extremely congested, no traffic condition or under construction. For example, if the historical traffic condition information is smooth and the planned traffic condition information is congested, then the navigation object's current preference for the candidate navigation route is low, and the navigation object is less likely to currently select the candidate navigation route. It should be noted that no traffic condition means that the traffic condition of the road section cannot be known.
- the traffic condition feature may include the difference between the historical traffic condition information corresponding to the historical travel time and the planned traffic condition information of the road section. For example, a value is assigned to each type of traffic condition information, such as 1 for smooth traffic, 0.8 for slow traffic, 0.6 for congestion, 0.4 for extreme congestion, 0.2 for no traffic condition, and 0 for under construction.
- the difference between the historical traffic condition information and the planned traffic condition information may be determined as the traffic condition feature.
- the traffic condition characteristics may include historical traffic condition information corresponding to historical travel times and planned traffic condition information of road sections included in the route planning data.
- the historical traffic information corresponds to the planned traffic information.
- the planned traffic information is the traffic information of the road section in the candidate navigation route at the planned time;
- the historical traffic information corresponding to the historical travel time is the overall historical traffic information of the historical travel route, the planned route
- the traffic information is the overall traffic information of the candidate navigation route at the time of planning.
- the planning feature data of the road segment also includes a road segment proportion feature.
- the method of the embodiment of the present disclosure may also include: determining the road segment proportion feature according to the length proportion of the road segment in the candidate navigation route.
- the road segment proportion feature can reflect the preference of the navigated object for the navigation route.
- the recommended prediction value of the candidate navigation route determined based on the candidate navigation route including the prediction data of the road segment can further improve the accuracy of the recommended prediction value, and can better reflect the current preference of the navigated object for the candidate navigation route.
- the prediction data of the road segment is constructed based on at least the time feature and the distance feature, including:
- the time characteristics, distance characteristics, road condition characteristics and road section proportion characteristics corresponding to the same historical travel time are constructed into a prediction data of the road section.
- each time the navigated object passes through the road section a corresponding historical travel data will be generated, each historical travel data corresponds to a historical travel time, and each historical travel time corresponds to a prediction data.
- a prediction data of a road section can be expressed as ⁇ time feature, distance feature, road condition feature, road section proportion feature ⁇ , and a prediction data can also be expressed as ⁇ time feature, first distance feature, second distance feature, historical road condition information, planned road condition information, road section proportion feature ⁇ .
- the recommended prediction value of the candidate navigation route is determined, including: inputting the prediction data of the candidate navigation route including the road segments into a trained familiar road prediction model to obtain the model prediction value corresponding to the prediction data of the road segments; determining the road segment prediction value of the road segment according to the model prediction value corresponding to the prediction data of the road segment; determining the recommended prediction value of the candidate navigation route according to the road segment prediction value of the candidate navigation route including the road segments.
- Each historical travel time of a road section corresponds to a piece of prediction data of the road section.
- the model prediction value corresponding to the prediction data of the road section can be obtained.
- the familiar route prediction model can be a neural network model, which can be a single-layer neural network or a multi-layer neural network. Training the familiar route prediction model allows the model to learn the travel preferences of the navigated object at different times and different starting and ending points. Since the prediction data of the road section is based on the historical travel data and the route planning data of the candidate navigation route, the constructed prediction data of the road section includes the planning feature data of the road section. The historical travel data does not need to be specially mined, and the travel of the navigated object will form travel data. Therefore, when the model is trained, the prediction data of the road section is input into the trained familiar route prediction model.
- the model prediction value output by the familiar route prediction model can better reflect the current preference of the navigated object for the road section, avoiding the problem that the personal road network mined by the pre-defined rules cannot timely capture the changes in the travel preferences of the navigated object, resulting in inaccurate recommended prediction values.
- the candidate navigation route may include multiple sections, each section may correspond to at least one historical travel data, and thus each section may correspond to at least one prediction data. Therefore, the recommended prediction value of the candidate navigation route may be determined based on the prediction data corresponding to each section in the candidate navigation route.
- Determining the section prediction value of the road section according to the model prediction value corresponding to the prediction data of the road section includes: performing weighted calculation on the model prediction value corresponding to the prediction data of the road section to obtain the section prediction value of the road section.
- Each historical travel time of a road section corresponds to a prediction data of the road section.
- the road section has multiple historical travel times, and then multiple prediction data of the road section can be constructed.
- the road section corresponds to multiple model prediction values.
- the model prediction values corresponding to the road section can be weighted to obtain the road section prediction value of the road section.
- the weight value of the model prediction value corresponding to the prediction data is determined, and the product of the model prediction value and the weight value is calculated.
- the products corresponding to the model prediction values are added together to obtain the section prediction value of the road section.
- the model prediction value of the prediction data of a road section is y.
- the candidate navigation route A includes road sections 1, 2 and 3, and the prediction data of the three roads corresponding to road section 1, and the model prediction values of the prediction data of the three roads are y1, y2 and y3 respectively.
- the predicted value of the road section determined by the embodiment of the present disclosure integrates the historical travel data of each time the navigated object passes through the road section, and can better reflect the navigated object's preference for the road section. It can be understood that the more times the navigated object passes through the road section, the more the navigated object prefers the road section, and thus, the predicted values of each model are weighted and calculated. The larger the calculated value, the larger the predicted value of the road section, the stronger the navigated object's preference for the road section, and the more familiar the navigated object is with the road section.
- determining the recommended prediction value of the candidate navigation route based on the segment prediction values of the segments included in the candidate navigation route includes: performing weighted calculation on the segment prediction values of the segments included in the candidate navigation route to obtain the recommended prediction value of the candidate navigation route.
- the weight value of the predicted value of the road segment may be determined based at least on the length ratio of the road segment in the candidate navigation route, the product of the predicted value of the road segment and the weight value may be calculated, and the products corresponding to the predicted values of the road segments may be added to obtain the recommended predicted value of the candidate navigation route.
- the predicted value of segment 2 is calculated to be M2.
- the disclosed embodiment determines the recommended prediction value of the candidate navigation route by integrating the various sections that the navigated object has historically passed through in the candidate navigation route. The more sections that the navigated object has historically passed through in the candidate navigation route, the more familiar the navigated object is with the candidate navigation route. Therefore, the higher the recommended prediction value of the candidate navigation route obtained, the more familiar the navigated object is with the candidate navigation route, and the more the navigated object prefers to choose the candidate navigation route.
- the prediction data of the road section includes the planned characteristic data of the road section, and the planned characteristic data of the road section includes time characteristics, first distance characteristics, second distance characteristics, historical traffic information, planned traffic information, and road section proportion characteristics.
- the prediction data of the road section can be expressed as ⁇ time characteristics, first distance characteristics, second distance characteristics, historical traffic information, planned traffic information, and road section proportion characteristics ⁇ .
- the dimension of the prediction data of the road section can be 6 dimensions.
- the prediction data of the road section in the disclosed embodiment is highly extensible. If a new road section feature is added, the dimension of the prediction data of the road section only needs to be expanded from 6 dimensions. It can be up to 7 dimensions, so the scalability of the technical solution disclosed in the present invention is stronger.
- a method for recommending a navigation route can be applied to a server.
- the method for recommending the navigation route can also include: obtaining a planned starting point and a planned end point, and planning at least one candidate navigation route based on the planned starting point and the planned end point. For example, after the navigated object enters the planned starting point and the planned end point in an application with a map navigation function, the client can send the planned starting point, the planned end point and the client identifier to the server, and the client identifier corresponds to the navigated object.
- the server plans at least one candidate navigation route based on the acquired planned starting point and the planned end point, and the candidate navigation route is a navigation route from the planned starting point to the planned end point.
- the server obtains the historical travel data of the candidate navigation routes including the road segment based on the client identifier.
- the server determines the navigation route recommended to the navigated object based on the recommended prediction values of the candidate navigation routes. When the recommended prediction values of the candidate navigation routes are all less than the preset threshold, the server may not recommend the candidate navigation route to the navigated object. The server may determine the navigation route recommended to the navigated object in other ways and recommend it to the navigated object.
- the method for recommending a navigation route can be applied to a server.
- the navigation route recommendation method can also include: obtaining the candidate navigation route. For example, after the navigated object of the client enters the planned starting point and the planned end point in an application that supports the map navigation function, the client application plans the candidate navigation route according to the planned starting point and the planned end point, and sends the candidate navigation route and the client identifier to the server.
- the server obtains the historical travel data of the candidate navigation route including the road segment based on the obtained candidate navigation route and the client identifier.
- the historical travel data corresponds to the navigated object, and the navigated object corresponds to the client identifier.
- the various sections of the route the navigated object passes through and the time it passes through, as well as the starting point and end point of the corresponding historical travel route, can be recorded and stored. These data can be used as the historical travel data of the navigated object.
- the historical travel data corresponds to the navigated object, and different navigated objects may have different historical travel data.
- the navigation route recommended to the navigated object can be directly recommended to the other navigated object, or the route with the highest recommendation prediction value among the navigation routes recommended to the navigated object can be recommended to the other navigated object.
- At least one candidate navigation route may be recommended based on the recommendation prediction value of the candidate navigation route and the attribute information of the candidate navigation route.
- the attribute information of the candidate navigation route may include the total length of the candidate navigation route, the number of traffic lights on the candidate navigation route, the current time to pass the candidate navigation route, etc.
- the factors that affect the selection of a candidate navigation route by the navigated object include not only the familiarity of the navigated object with the route, but also the attribute information of the candidate navigation route. It is understandable that if the recommended prediction value of a candidate navigation route is very high, but the current time to pass the candidate navigation route is far beyond the expectations of the navigated object, then the navigated object may not choose the candidate navigation route. Therefore, based on the recommended prediction value of the candidate navigation route and the attribute information of the candidate navigation route, at least one candidate navigation route is recommended, which is not only a route that the navigated object is familiar with, but also takes into account the actual conditions at the time of planning the route, which can further improve the satisfaction of the navigated object.
- the candidate navigation routes include route A, route B, and route C.
- the segment sequences in each route are extracted to obtain the segment sequences of three routes: route A ⁇ segment 1, segment 2, segment 3 ⁇ ; route B ⁇ segment 4, segment 5, segment 6, segment 7 ⁇ ; Segment 7 ⁇ ; Route C ⁇ Segment 1, Segment 2, Segment 8, Segment 7 ⁇ .
- route A traverse each section of route A. If there is no historical travel data for the section, ignore the section. For example, if there is no historical travel data for section 1, but there is historical travel data for sections 2 and 3, ignore section 1 and obtain the historical travel data for sections 2 and 3. Construct the prediction data for section 2 in route A based on the historical travel data of section 2 and the route planning data of route A. Input the prediction data corresponding to section 2 into the trained familiar road prediction model to obtain the model prediction value corresponding to the prediction data of section 2. Perform weighted calculation on the model prediction values corresponding to the prediction data of section 2 to obtain the section prediction value of section 2. Similarly, obtain the section prediction value of section 3. Perform weighted calculation on the section prediction values of sections 2 and 3 to obtain the recommended prediction value of route A.
- the recommended prediction value of route A is 45
- the recommended prediction value of route B is 50
- the recommended prediction value of route C is 65
- the preset threshold is 50.
- the recommended prediction values of route A, route B, and route C are compared with the preset threshold respectively, and the route with the recommended prediction value greater than or equal to the preset threshold is determined as the target navigation route.
- the obtained target navigation route includes route B and route C.
- Route B and route C are sorted according to the recommended prediction value, and the route with the largest recommended prediction value among the target navigation routes can be recommended to the navigated object, for example, route C is recommended to the navigated object.
- Fig. 2 is a flowchart of a method for training a familiar road prediction model in an embodiment of the present disclosure.
- the present disclosure also provides a method 200 for training a familiar road prediction model, as shown in Fig. 2, the training method 200 includes steps S201 to S203.
- step S201 a sample navigation route including sample historical travel data of a sample road segment is obtained.
- the number of sample navigation routes may be one or more.
- the sample navigation routes may include a number of topologically connected sample sections.
- the sample historical travel data of the sample sections may include sample historical feature data characterizing the historical travel preferences of the navigated object.
- the sample historical travel data may be sample historical travel data of the sample sections within a preset historical time range, for example, within half a year or three months from the sample planning time.
- the preset historical time range may be set as needed.
- the sample historical travel data corresponds to the navigated object.
- the sample historical travel data of the corresponding sample road section of the navigated object can be obtained according to the identifier of the navigated object.
- the sample historical travel data records the sample historical feature data generated when the navigated object actually walked through the corresponding sample road section before the sample route planning time of the sample navigation route. Since the navigated object actually walked through the sample road section before, the sample historical feature data of the sample road section can characterize the changes in the navigated object's recent historical travel preferences for the sample road section.
- the sample road sections in the sample navigation route may have sample historical travel data or may not have sample historical travel data. For example, if the navigated object passes through the sample road section within a preset historical time range, then the sample road section has corresponding sample historical travel data. If the navigated object does not pass through the sample road section within the preset historical time range, then the sample road section does not have sample historical travel data.
- the present disclosure is directed to the sample road sections included in the sample navigation route for which sample historical travel data can be obtained. For the calculation of the weights of the sample road sections for which sample historical travel data cannot be obtained, relevant existing technologies can be used, and the present disclosure does not impose any restrictions.
- a training sample of the sample road section is constructed according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route.
- the training sample includes the sample planning feature data of the sample road section.
- the sample route planning data in step S202 can be understood as the data that the application program with map navigation function and its service system need to use when planning the sample navigation route, including but not limited to the sample starting point, sample end point, sample route, and sample route. Conditions, etc.
- a training sample of the sample road segment is constructed based on the sample historical travel data of the sample road segment and the sample route planning data of the sample navigation route.
- the training sample includes sample planning feature data of the sample road segment, and the sample planning feature data of the sample road segment associates the features of the sample road segment included in the sample navigation route when it is planned with the features recorded in the sample historical travel data of the sample road segment, so that the travel preference changes of the navigated object are reflected in the prediction data of the sample navigation route.
- a familiar road prediction model is trained using training samples of the sample road segments, and the familiar road prediction model is used to determine a recommended prediction value of a candidate navigation route based on prediction data of the candidate navigation route including the road segments.
- the training method provided by the disclosed embodiment obtains sample historical travel data of sample sections including sample navigation routes; constructs training samples of sample sections based on the sample historical travel data of the sample sections and sample route planning data of the sample navigation routes, wherein the training samples include sample planning feature data of the sample sections; and uses the training samples of the sample sections to train the familiar road prediction model. Since the sample historical travel data is data generated by the actual travel behavior of the navigated object, the sample historical travel data represents the actual travel preference of the navigated object for the corresponding sample sections. When the travel preference of the navigated object changes with time or environment, the sample historical travel data can easily capture the change in preference of the navigated object for the corresponding sample sections.
- the training samples of the sample road segments constructed by the present disclosure are based on the sample historical travel data and the sample route planning data of the sample navigation route, that is, the training samples of the sample road segments constructed by the present disclosure associate the features of the sample road segments included in the sample navigation route when they are planned with the features of the sample road segments recorded in the sample historical travel data, so that the changes in the travel preferences of the navigated object are reflected in the training samples of the sample road segments. Therefore, after the familiar road prediction model is trained using the training samples determined by the embodiments of the present disclosure, the model prediction value output by the familiar road prediction model can more accurately reflect the preference of the navigated object for the sample road segments at the time of sample navigation route planning.
- the recommended prediction value of the candidate navigation route determined using the model prediction value output by the familiar road prediction model can more accurately reflect the current travel preference of the navigated object for the candidate navigation route.
- the navigation route recommended to the navigated object can better meet the current travel preference of the navigated object, and the navigated object is more likely to choose the recommended navigation route. Therefore, the familiar route prediction model trained by the technical solution of the present invention can timely capture the changes in the travel preferences of the navigated object, and can more accurately recommend navigation routes that meet the preferences of the navigated object, thereby better realizing personalized route recommendations.
- the input of the familiar road prediction model is the prediction data of the road segment. Therefore, the training samples of the sample road segment can be understood according to the relevant content of the prediction data of the road segment.
- the sample historical travel data may include the sample historical travel time, which may be understood as the sample historical time when the sample navigation object passes through the sample road section.
- the sample route planning data may include the sample route planning time.
- the sample route planning time should be understood as the time when the application program with navigation function and its service system plan the sample navigation route according to the sample starting point and sample end point input by the sample navigation object.
- the sample planning feature data of the sample road section includes: sample time features and sample distance features.
- constructing the training sample of the sample road section may include: determining the sample time features corresponding to the sample historical travel time according to the sample historical travel time included in the sample historical travel data of the sample road section and the sample route planning time included in the sample route planning data of the sample navigation route; determining the sample historical travel time corresponding to the sample historical travel time according to the sample historical starting point and sample historical end point corresponding to the sample historical travel time in the sample historical travel data of the sample road section and the sample planning starting point and sample planning end point included in the sample route planning data of the sample navigation route.
- Sample distance feature constructing a training sample of the sample road segment based on at least the sample time feature and the sample distance feature.
- sample historical travel time of a sample road section differs from the sample route planning time, it means that the sample navigation object has walked the sample road section for a long time since the sample route planning time, and the sample navigation object's familiarity with the sample road section decays over time, that is, the farther the sample historical travel time differs from the sample route planning time, the less familiar the sample navigation object is with the sample road section. Conversely, the closer the sample historical travel time is to the sample route planning time, the more familiar the sample navigation object is with the sample road section.
- sample time feature corresponding to the sample historical travel time determined based on the sample historical travel time of the sample road section and the sample route planning time of the sample navigation route takes into account the problem of familiarity decaying over time, and can better reflect the sample navigation object's preference or familiarity with the corresponding sample road section.
- the sample history starting point and the sample history end point may be the starting point and the end point of the sample history travel route corresponding to the sample history travel time.
- the sample history travel route is the navigation route corresponding to the sample navigation object's history passing through the sample road section.
- the sample planning starting point and the sample planning end point are the starting point and the end point of the sample navigation route.
- the sample historical travel data includes the sample historical starting point and the sample historical end point corresponding to the sample historical travel time
- the sample route planning data includes the sample planning starting point and the sample planning end point.
- the sample navigation object prefers the sample road section in the process of walking from the sample planning starting point to the sample planning end point.
- the sample time feature corresponding to the sample historical travel time is determined according to the sample historical travel time and the sample route planning time; the sample distance feature corresponding to the sample historical travel time is determined according to the sample historical starting point, the sample historical end point, the sample planning starting point, and the sample planning end point, and the training sample of the sample road section is constructed based on at least the sample time feature and the sample distance feature. It can be seen that the training sample of the sample road section constructed by the present disclosure not only considers the influence of time on the travel preference of the sample navigation object, but also considers the influence of the sample planning starting point and the sample planning end point on the travel preference.
- the familiar road prediction model trained by using the training sample considers the influence of time on the travel preference, and considers the influence of the route starting point and the end point on the travel preference. Therefore, the recommended prediction value of the candidate navigation route determined by the familiar road prediction model of the embodiment of the present disclosure can more accurately reflect the current preference of the navigation object for the candidate navigation route, can better reflect the familiarity of the navigation object with the navigation route, can more accurately recommend the route familiar to the navigation object, and better realize personalized route recommendation.
- the sample time feature may include a time difference between the sample historical travel time and the sample route planning time.
- the sample distance feature includes a sample first distance feature and a sample second distance feature.
- the sample distance feature corresponding to the sample historical travel time is determined based on the sample historical starting point and the sample historical end point corresponding to the sample historical travel time in the sample historical travel data of the sample road section, and the sample planning starting point and the sample planning end point included in the sample route planning data of the sample navigation route, including: determining the distance between the sample historical starting point and the sample planning starting point as the sample first distance feature; determining the distance between the sample historical end point and the sample planning end point as the sample second distance feature.
- the greater the difference between the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route the greater the difference between the sample navigation route and the sample historical travel route, and correspondingly, the less familiar the sample navigation object is with the sample navigation route; conversely, the more familiar the sample navigation object is with the sample navigation route. Therefore, the distance between the sample historical starting point and the sample planning starting point is determined as the sample first distance feature, and the distance between the sample historical end point and the sample planning end point is determined as the sample second distance feature, so that the training sample can better reflect the difference between the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route. After using the training sample to train the familiar road prediction model, the accuracy of the familiar road prediction model output can be improved, so that the obtained recommended prediction value can more accurately reflect the current preference of the navigated object for the planned navigation route.
- the sample planning feature data of the sample road section also includes sample road condition features
- the method also includes: determining the sample road condition features corresponding to the sample historical travel time based on the sample historical road condition information corresponding to the sample historical travel time in the sample historical travel data of the sample road section, and the sample planning road condition information of the sample road section included in the sample route planning data.
- the traffic information of a route or road section can reflect or even determine whether the navigated object chooses the route or road section. Therefore, the traffic information can reflect the navigated object's preference for the route or road section. Therefore, the sample traffic characteristics corresponding to the sample historical travel time are determined based on the sample historical traffic information and the sample planned traffic information.
- the training sample includes the sample traffic characteristics, which can further improve the accuracy of the familiar road prediction model output trained using the training sample.
- the traffic condition information may include smooth, slow, congested, extremely congested, no traffic condition or under construction. For example, if the sample historical traffic condition information is smooth and the sample planned traffic condition information is congested, then the sample navigation object has a low preference for the sample navigation route, and the sample navigation object is less likely to choose the sample navigation route. It should be noted that no traffic condition means that the traffic condition of the road section cannot be known.
- the sample traffic condition feature may include the difference between the sample historical traffic condition information corresponding to the sample historical travel time and the sample planned traffic condition information of the sample road section. For example, a value is assigned to each type of traffic condition information, such as 1 for smooth traffic, 0.8 for slow traffic, 0.6 for congestion, 0.4 for extreme congestion, 0.2 for no traffic condition, and 0 for under construction.
- the difference between the sample historical traffic condition information and the sample planned traffic condition information may be determined as the sample traffic condition feature.
- the traffic condition feature may include sample historical traffic condition information corresponding to the sample historical travel time and sample planned traffic condition information of the sample road section included in the sample route planning data.
- sample historical road condition information and the sample planned road condition information correspond to each other.
- sample historical road condition information corresponding to the sample historical travel time is the sample historical road condition information of the sample section
- sample planned road condition information is the road condition information of the sample section in the sample navigation route at the sample planning time
- sample historical road condition information corresponding to the sample historical travel time is the overall historical road condition information of the sample historical travel route
- sample planned road condition information is the overall road condition information of the sample navigation route at the planning time.
- the sample planning feature data of the sample road section also includes a sample road section proportion feature
- the method further includes: determining the sample road section proportion feature according to the length proportion of the sample road section in the sample navigation route.
- a training sample of a sample road section is constructed based at least on sample time features and sample distance features, including: constructing a training sample of a sample road section with sample time features, sample distance features, sample road condition features and sample road section ratio features corresponding to the same sample historical travel time.
- each sample navigation object passes through the sample road section a corresponding sample historical travel data will be generated, each sample historical travel data corresponds to a sample historical travel time, and each sample historical travel time corresponds to a training sample.
- a training sample of a sample road section can be expressed as ⁇ sample time feature, sample distance feature, sample road condition feature, sample road section proportion feature ⁇ , and a training sample can also be expressed as ⁇ sample time feature, sample first distance feature, sample second distance feature, sample historical road condition information, sample planned road condition information, sample road section proportion feature ⁇ .
- a familiar road prediction model is trained using training samples of a sample road section, including: inputting the training samples of the sample road section into the familiar road prediction model to obtain model prediction values corresponding to the training samples of the sample road section; and adjusting parameters of the familiar road prediction model based on the model prediction values corresponding to the training samples of the sample road section, the sample navigation route, and the sample travel route.
- the parameters of the familiar road prediction model are adjusted, including: determining the travel coverage rate of the sample navigation route, the travel coverage rate is the proportion of the length of the repeated sections of the sample navigation route and the sample travel route in the sample navigation route; determining the sample recommendation prediction value of the sample navigation route according to the model prediction values corresponding to the training samples of the sample road segment; determining the loss value of the familiar road prediction model according to the sample recommendation prediction value of the sample navigation route and the travel coverage rate of the sample navigation route; and adjusting the parameters of the familiar road prediction model based on the loss value.
- a sample recommendation prediction value of a sample navigation route is determined based on the model prediction value corresponding to the training sample of the sample road section, including: inputting the sample navigation route including the training sample of the sample road section into a familiar road prediction model to obtain the model prediction value corresponding to the training sample of the sample road section; determining the sample road section prediction value of the sample road section based on the model prediction value corresponding to the training sample of the sample road section; determining the sample recommendation prediction value of the sample navigation route based on the sample road section prediction value including the sample road section of the sample navigation route.
- determining the sample section prediction value of the sample section according to the model prediction value corresponding to the training sample of the sample section includes: performing weighted calculation on the model prediction value corresponding to the training sample of the sample section to obtain the sample section prediction value of the sample section.
- the weight values of the model prediction values corresponding to the training samples are determined, and the product of the model prediction values and the weight values is calculated.
- the products corresponding to the model prediction values are added together to obtain the sample road section prediction value of the sample road section.
- the sum of the model prediction values corresponding to the training samples of the sample road section may be used as the sample road section prediction value of the sample road section.
- the sample recommended prediction value of the sample navigation route is determined based on the sample segment prediction value of the sample segment included in the sample navigation route, including: weighted calculation of the sample segment prediction value of the sample navigation route including the sample segment to obtain the sample recommended prediction value of the sample navigation route.
- the weight value of the sample road segment prediction value can be determined based on at least the length ratio of the sample road segment in the sample navigation route.
- the product of the sample road segment prediction value and the weight value is calculated.
- the products corresponding to the sample road segment prediction values are added together to obtain the sample road segment prediction value. Sample recommended predicted values for this navigation route.
- the sum of the sample segment prediction values of the sample segments included in the sample navigation route may be used as the sample recommendation prediction value of the sample navigation route.
- the sample recommendation prediction value of the sample navigation route is determined, the travel coverage rate of the sample navigation route is used as a label, and the parameters of the familiar route prediction model are adjusted.
- the training samples include sample time features, sample first distance features, sample second distance features, sample historical road condition information, sample planned road condition information, and sample road section proportion features.
- the parameters of the familiar road prediction model include the weight value of the sample time features, the weight value of the sample first distance features, the weight value of the sample second distance features, the weight value of the sample historical road condition information, the weight value of the sample planned road condition information, and the weight value of the sample road section proportion feature.
- Different training samples are used to train the familiar road prediction model to obtain the weight value of the sample time features, the weight value of the sample first distance features, the weight value of the sample second distance features, the weight value of the sample historical road condition information, the weight value of the sample planned road condition information, and the weight value of the sample road section proportion feature that converge the loss value.
- the training sample includes a sample time feature, a sample first distance feature, a sample second distance feature, a sample historical road condition information, a sample planned road condition information, and a sample road section ratio feature.
- the training sample can be expressed as ⁇ sample time feature, sample first distance feature, sample second distance feature, sample historical road condition information, sample planned road condition information, sample road section ratio feature ⁇ .
- the dimension of the training sample is 6 dimensions.
- the training sample in the embodiment of the present disclosure has strong scalability. If a new sample planning feature is added, it is only necessary to expand the dimension of the training sample from 6 dimensions to 7 dimensions. Thus, the technical solution of the present disclosure has stronger scalability.
- Fig. 3 is a structural block diagram of a navigation route recommendation device in an embodiment of the present disclosure.
- the navigation route recommendation device 300 includes a first acquisition module 301 , a first construction module 302 and a determination module 303 .
- the first acquisition module 301 is used to acquire the historical travel data of the candidate navigation route including the road segments.
- the first constructing module 302 is used to construct prediction data of the road segment according to the historical travel data of the road segment and the route planning data of the candidate navigation route, wherein the prediction data includes planning feature data of the road segment.
- the determination module 303 is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
- the planning feature data of the road section includes: time feature, distance feature, and the first construction module 302 includes: a first determination submodule, used to determine the time feature corresponding to the historical travel time according to the historical travel time included in the historical travel data of the road section and the route planning time included in the route planning data of the candidate navigation route; a second determination submodule, used to determine the distance feature corresponding to the historical travel time according to the historical starting point and historical end point corresponding to the historical travel time in the historical travel data of the road section, and the planned starting point and planned end point included in the route planning data of the candidate navigation route; a construction submodule, used to construct the prediction data of the road section based on at least the time feature and the distance feature.
- a first determination submodule used to determine the time feature corresponding to the historical travel time according to the historical travel time included in the historical travel data of the road section and the route planning time included in the route planning data of the candidate navigation route
- a second determination submodule used to determine the distance feature corresponding to the historical travel time
- the distance feature includes a first distance feature and a second distance feature
- the second determination submodule is used to: determine the distance between the historical starting point and the planned starting point as the first distance feature; and determine the distance between the historical end point and the planned end point as the second distance feature.
- the planning characteristic data of the road section also includes road condition characteristics
- the first construction module 302 also includes: a third determination submodule for determining the road condition information corresponding to the historical travel time in the historical travel data of the road section and the route planning The planned traffic information of the road sections included in the planning data is used to determine the traffic characteristics corresponding to the historical travel time.
- the planning characteristic data of the road section also includes a road section proportion feature
- the first construction module 302 also includes: a fourth determination submodule, which is used to determine the road section proportion feature according to the length proportion of the road section in the candidate navigation route.
- the construction submodule is used to construct the time characteristics, distance characteristics, road condition characteristics and road section proportion characteristics corresponding to the same historical travel time into a piece of prediction data for the road section.
- the determination module is also used to: input the prediction data of the candidate navigation route including the road segment into the trained familiar road prediction model to obtain the model prediction value corresponding to the prediction data of the road segment; determine the road segment prediction value of the road segment according to the model prediction value corresponding to the prediction data of the road segment; determine the recommended prediction value of the candidate navigation route according to the road segment prediction value of the candidate navigation route including the road segment.
- the determination module is also used to: perform weighted calculation on the model prediction values corresponding to the prediction data of the road section to obtain the road section prediction value of the road section; perform weighted calculation on the road section prediction values including the road section of the candidate navigation route to obtain the recommended prediction value of the candidate navigation route.
- Fig. 4 is a block diagram of a training device for a familiar road prediction model in an embodiment of the present disclosure.
- the training device 400 for a familiar road prediction model includes a second acquisition module 401 , a second construction module 402 and a training module 403 .
- the second acquisition module 401 is used to acquire sample historical travel data of a sample navigation route including a sample road section.
- the second construction module 402 is used to construct a training sample of the sample road section according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, wherein the training sample includes the sample planning feature data of the sample road section.
- the training module 403 is used to train the familiar road prediction model using training samples of the sample road segments, and the familiar road prediction model is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
- the sample planning feature data of the sample road section includes: sample time feature and sample distance feature.
- the second construction module 402 is further used to: determine the sample time feature corresponding to the sample historical travel time according to the sample historical travel time included in the sample historical travel data of the sample road section and the sample route planning time included in the sample route planning data of the sample navigation route; determine the sample distance feature corresponding to the sample historical travel time according to the sample historical starting point and the sample historical end point corresponding to the sample historical travel time in the sample historical travel data of the sample road section, and the sample planning starting point and the sample planning end point included in the sample route planning data of the sample navigation route; and construct a training sample of the sample road section based on at least the sample time feature and the sample distance feature.
- the sample distance feature includes a sample first distance feature and a sample second distance feature
- the second construction module 402 is further used to: determine the distance between the sample history starting point and the sample planning starting point as the sample first distance feature; and determine the distance between the sample history end point and the sample planning end point as the sample second distance feature.
- the sample planning feature data of the sample road section also includes sample road condition features
- the second construction module 402 is also used to determine the sample road condition features corresponding to the sample historical travel time based on the sample historical road condition information corresponding to the sample historical travel time in the sample historical travel data of the sample road section, and the sample planning road condition information of the sample road section included in the sample route planning data.
- the sample planning feature data of the sample road section also includes a sample road section proportion feature
- the second construction module 402 is further used to determine the sample road section proportion feature according to the length proportion of the sample road section in the sample navigation route.
- the second construction module 402 is further used to: The features of sample distance, sample road condition and sample road section proportion are constructed as a training sample of the sample road section.
- the training module includes: an acquisition submodule, which is used to input the training samples of the sample road section into the familiar road prediction model to obtain the model prediction values corresponding to the training samples of the sample road section; an adjustment submodule, which is used to adjust the parameters of the familiar road prediction model based on the model prediction values corresponding to the training samples of the sample road section, the sample navigation route and the sample travel route.
- the adjustment submodule is used to: determine the travel coverage rate of the sample navigation route, where the travel coverage rate is the proportion of the length of the repeated sections of the sample navigation route and the sample travel route in the sample navigation route; determine the sample recommendation prediction value of the sample navigation route based on the model prediction value corresponding to the training sample of the sample section; determine the loss value of the familiar road prediction model based on the sample recommendation prediction value of the sample navigation route and the travel coverage rate of the sample navigation route; and adjust the parameters of the familiar road prediction model based on the loss value.
- FIG5 is a block diagram of an electronic device for implementing an embodiment of the present disclosure.
- the electronic device includes: a memory 510 and a processor 520, wherein the memory 510 stores a computer program that can be run on the processor 520.
- the processor 520 executes the computer program, the method in the above embodiment is implemented.
- the number of the memory 510 and the processor 520 can be one or more.
- the electronic device also includes:
- the communication interface 530 is used to communicate with external devices and perform data exchange transmission.
- the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
- ISA Industry Standard Architecture
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG5, but it does not mean that there is only one bus or one type of bus.
- the memory 510, the processor 520 and the communication interface 530 are integrated on a chip, the memory 510, the processor 520 and the communication interface 530 can communicate with each other through an internal interface.
- An embodiment of the present disclosure provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present disclosure when the program is executed by a processor.
- the embodiment of the present disclosure also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present disclosure.
- the embodiment of the present disclosure also provides a chip, including: an input interface, an output interface, a processor and a memory.
- the input interface, the output interface, the processor and the memory are connected through an internal connection path.
- the processor is used to execute the code in the memory.
- the processor is used to execute the method provided in the embodiment of the application.
- the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- a general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.
- ARM Advanced RISC Machines
- the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory.
- the memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
- the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- the volatile memory may include a random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting description, many forms of RAM are available.
- SRAM static random access memory
- DRAM dynamic random access memory
- SDRAM synchronous dynamic random access memory
- DDR SDRAM double data rate synchronous dynamic random access memory
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronous link dynamic random access memory
- DR RAM direct memory bus random access memory
- the computer program product includes one or more computer instructions.
- the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- first and second are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
- a feature defined as “first” or “second” may explicitly or implicitly include at least one of the features.
- the meaning of “plurality” is two or more, unless otherwise clearly and specifically defined.
- Any process or method description in the flowchart or otherwise described herein can be understood to represent a module, segment or portion of code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiments of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
- the logic and/or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
- each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
- the above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
- the storage medium may be a read-only memory, a disk or an optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
Abstract
A navigation route recommendation method (100) and apparatus, a familiar-route prediction model training method (200) and apparatus, and a medium. The navigation route recommendation method (100) comprises: acquiring historical travel data of a link comprised in a candidate navigation route (S101); constructing prediction data of the link on the basis of the historical travel data of the link and route planning data of the candidate navigation route, the prediction data comprising planning feature data of the link (S102); and determining a recommendation prediction value of the candidate navigation route on the basis of the prediction data of the link comprised in the candidate navigation route (S103). In this way, a travel preference change of a subject for whom navigation is to be performed can be captured in a timely manner, and a navigation route meeting the preference of said subject can be recommended to said subject more accurately, thereby better realizing personalized route recommendation.
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开要求申请日为2023年02月28日、申请号为202310214491.9的中国专利申请的优先权,其全部内容以引用的方式并入本文。This disclosure claims priority to Chinese patent application filed on February 28, 2023 and application number 202310214491.9, the entire contents of which are incorporated herein by reference.
本公开涉及导航技术领域,尤其涉及一种导航路线的推荐、熟路预测模型的训练方法、装置、介质。The present disclosure relates to the field of navigation technology, and in particular to a method, device, and medium for recommending a navigation route and training a familiar road prediction model.
现有支持地图导航功能的应用程序(软件)及其服务系统,可以基于用户的输入起点、终点等信息,为用户计算并推荐导航路线。Existing applications (software) and their service systems that support map navigation functions can calculate and recommend navigation routes for users based on the user's input of starting point, end point and other information.
为了使推荐给用户的导航路线满足用户的出行偏好(比如喜欢走熟悉的道路、喜欢红绿灯少的道路等),现有技术在确定推荐给用户的导航路线时,一般会基于表征用户出行偏好的相关数据,确定推荐给用户的导航路线。但发明人发现用户的出行偏好会随着时间或者环境等的变化而变化,当表征用户出行偏好的相关数据不能反映用户的出行偏好的变化时,会导致推荐给用户的导航路线不符合用户预期,用户体验变差。In order to make the navigation route recommended to the user meet the user's travel preferences (such as liking to take familiar roads, liking roads with fewer traffic lights, etc.), the prior art generally determines the navigation route recommended to the user based on the relevant data representing the user's travel preferences. However, the inventors found that the user's travel preferences will change with time or changes in the environment, etc. When the relevant data representing the user's travel preferences cannot reflect the changes in the user's travel preferences, the navigation route recommended to the user will not meet the user's expectations, and the user experience will deteriorate.
发明内容Summary of the invention
本公开实施例提供一种导航路线的推荐、熟路预测模型的训练方法、装置、介质。The embodiments of the present disclosure provide a method, device, and medium for recommending a navigation route and training a familiar route prediction model.
第一方面,本公开实施例提供了一种导航路线的推荐方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for recommending a navigation route, comprising:
获取候选导航路线包括路段的历史出行数据;Obtain candidate navigation routes including historical travel data of road segments;
根据路段的历史出行数据以及候选导航路线的路线规划数据,构建路段的预测数据,预测数据包括路段的规划特征数据;Constructing prediction data of the road section based on historical travel data of the road section and route planning data of the candidate navigation route, the prediction data including planning feature data of the road section;
基于候选导航路线包括路段的预测数据,确定候选导航路线的推荐预测值。Based on the prediction data of the candidate navigation route including the road segments, a recommendation prediction value of the candidate navigation route is determined.
第二方面,本公开实施例提供了一种熟路预测模型的训练方法,包括:In a second aspect, the present disclosure provides a method for training a familiar road prediction model, including:
获取样本导航路线包括样本路段的样本历史出行数据;Obtaining sample historical travel data of a sample navigation route including a sample road section;
根据样本路段的样本历史出行数据以及样本导航路线的样本路线规划数据,构建样本路段的训练样本,训练样本包括样本路段的样本规划特征数据;Constructing a training sample of the sample road section according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, wherein the training sample includes the sample planning feature data of the sample road section;
采用样本路段的训练样本对熟路预测模型进行训练,熟路预测模型用于基于候选导航路线包括路段的预测数据确定候选导航路线的推荐预测值。The familiar road prediction model is trained using training samples of the sample road segments, and the familiar road prediction model is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
第三方面,本公开实施例提供了一种导航路线的推荐装置,包括:In a third aspect, an embodiment of the present disclosure provides a navigation route recommendation device, including:
第一获取模块,用于获取候选导航路线包括路段的历史出行数据;A first acquisition module is used to acquire historical travel data of candidate navigation routes including road sections;
第一构建模块,用于根据路段的历史出行数据以及候选导航路线的路线规划数据,构建路段的预测数据,预测数据包括路段的规划特征数据;A first construction module is used to construct prediction data of the road section according to historical travel data of the road section and route planning data of the candidate navigation route, wherein the prediction data includes planning feature data of the road section;
确定模块,用于基于候选导航路线包括路段的预测数据,确定候选导航路线的推荐预测值。The determination module is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segment.
第四方面,本公开实施例提供了一种熟路预测模型的训练装置,包括:
In a fourth aspect, an embodiment of the present disclosure provides a training device for a familiar road prediction model, comprising:
第二获取模块,用于获取样本导航路线包括样本路段的样本历史出行数据;A second acquisition module is used to acquire sample historical travel data of a sample navigation route including a sample road section;
第二构建模块,用于根据样本路段的样本历史出行数据以及样本导航路线的样本路线规划数据,构建样本路段的训练样本,训练样本包括样本路段的样本规划特征数据;A second construction module is used to construct a training sample of the sample road section according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, wherein the training sample includes the sample planning feature data of the sample road section;
训练模块,用于采用样本路段的训练样本对熟路预测模型进行训练,熟路预测模型用于基于候选导航路线包括路段的预测数据确定候选导航路线的推荐预测值。The training module is used to train the familiar road prediction model using training samples of the sample road segments, and the familiar road prediction model is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
第五方面,本公开实施例提供一种计算机可读存储介质,计算机可读存储介质内存储有计算机程序,计算机程序被处理器执行时实现本公开任一实施例提供的方法。In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method provided by any embodiment of the present disclosure is implemented.
本公开的技术方案,获取候选导航路线包括路段的历史出行数据;根据路段的历史出行数据以及候选导航路线的路线规划数据,构建路段的预测数据,预测数据包括路段的规划特征数据;基于候选导航路线包括路段的预测数据,确定候选导航路线的推荐预测值。由于本公开中历史出行数据是被导航对象实际发生的出行行为产生的数据,因此,历史出行数据表征了被导航对象对相应路段的实际出行偏好,当被导航对象的出行偏好随着时间或者环境等的变化而变化时,历史出行数据很容易捕捉到被导航对象对相应路段的偏好变化。进一步,由于本公开根据历史出行数据和候选导航路线的路线规划数据,构建的路段的预测数据包括路段的规划特征数据,也就是说,本公开构建的路段的预测数据将候选导航路线包括的路段规划时的特征与该路段在历史出行数据中记录的特征进行了关联,使得被导航对象的出行偏好变化体现在了候选导航路线的预测数据中,从而提高了候选路线的推荐预测值的准确性,使得推荐给被导航对象的导航路线更能符合被导航对象的当前出行偏好,被导航对象更有可能选择推荐的导航路线。The technical solution disclosed in the present invention obtains the historical travel data of the candidate navigation route including the road segment; constructs the prediction data of the road segment according to the historical travel data of the road segment and the route planning data of the candidate navigation route, and the prediction data includes the planning feature data of the road segment; and determines the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segment. Since the historical travel data in the present invention is the data generated by the actual travel behavior of the navigated object, the historical travel data represents the actual travel preference of the navigated object for the corresponding road segment. When the travel preference of the navigated object changes with time or environment, the historical travel data can easily capture the change in the preference of the navigated object for the corresponding road segment. Furthermore, since the prediction data of the road segment constructed by the present invention includes the planning feature data of the road segment based on the historical travel data and the route planning data of the candidate navigation routes, that is, the prediction data of the road segment constructed by the present invention associates the features of the road segment included in the candidate navigation route when it is planned with the features of the road segment recorded in the historical travel data, so that the changes in the travel preferences of the navigated object are reflected in the prediction data of the candidate navigation route, thereby improving the accuracy of the recommended prediction value of the candidate route, so that the navigation route recommended to the navigated object is more in line with the current travel preferences of the navigated object, and the navigated object is more likely to choose the recommended navigation route.
上述概述仅仅是为了说明书的目的,并不意图以任何方式进行限制。除上述描述的示意性的方面、实施方式和特征之外,通过参考附图和以下的详细描述,本公开进一步的方面、实施方式和特征将会是容易明白的。The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present disclosure will be readily apparent by reference to the accompanying drawings and the following detailed description.
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对示例性实施例或相关技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些示例性实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the exemplary embodiments or related technical descriptions. Obviously, the drawings described below are some exemplary embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本公开一实施例中导航路线的推荐方法的流程示意图。FIG. 1 is a schematic flow chart of a method for recommending a navigation route in an embodiment of the present disclosure.
图2为本公开一实施例中熟路预测模型的训练方法的流程示意图。FIG2 is a flowchart of a method for training a familiar road prediction model in an embodiment of the present disclosure.
图3为本公开一实施例中导航路线的推荐装置的结构框图。FIG. 3 is a structural block diagram of a navigation route recommendation device in an embodiment of the present disclosure.
图4为本公开一实施例中熟路预测模型的训练装置的结构框图。FIG4 is a structural block diagram of a training device for a familiar road prediction model in an embodiment of the present disclosure.
图5为用来实现本公开实施例的电子设备的框图。FIG. 5 is a block diagram of an electronic device for implementing an embodiment of the present disclosure.
在下文中,仅简单地描述了某些示例性实施例。正如本领域技术人员可认识到的那样,在
不脱离本公开的精神或范围的情况下,可通过各种不同方式修改所描述的实施例。因此,附图和描述被认为本质上是示例性的而非限制性的。In the following, only some exemplary embodiments are briefly described. As can be appreciated by those skilled in the art, The described embodiments may be modified in various different ways without departing from the spirit or scope of the present disclosure.Accordingly, the drawings and description are to be regarded as illustrative in nature and not restrictive.
为便于理解本公开实施例的技术方案,以下对本公开实施例的相关技术进行说明,以下相关技术作为可选方案与本公开实施例的技术方案可以进行任意结合,其均属于本公开实施例的保护范围。To facilitate understanding of the technical solutions of the embodiments of the present disclosure, the related technologies of the embodiments of the present disclosure are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present disclosure as optional solutions, and they all belong to the protection scope of the embodiments of the present disclosure.
本公开所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,并且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准,并提供有相应的操作入口,供用户选择授权或者拒绝。The 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.) involved in this disclosure are all 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 relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
在使用具备地图导航功能的应用程序进行导航时,用户(亦可称为被导航对象)输入起点、终点,应用程序及其相关的服务系统会为用户规划出不同策略下的最优导航路线以及备选导航路线。并且,为使推荐给用户的导航路线是符合用户期待的,现有技术也在结合用户的出行偏好,为用户推荐符合其预期的导航路线,比如,推荐用户由用户熟悉的路段构成的导航路线。When using an application with a map navigation function for navigation, the user (also referred to as the navigated object) inputs the starting point and the end point, and the application and its related service system will plan the optimal navigation route and alternative navigation routes under different strategies for the user. In addition, in order to make the navigation route recommended to the user meet the user's expectations, the existing technology also combines the user's travel preferences to recommend a navigation route that meets the user's expectations, for example, recommending a navigation route consisting of a road section that the user is familiar with.
本公开涉及到的部分概念包括路段、个人路网等。Some concepts involved in this disclosure include road segments, personal road networks, etc.
路段(Link):是一条道路的最小单位,可以理解为,现实世界中的一条道路在电子地图中会被划分为多条路段,通常位于两个路口之间的一段道路会被划分为一个路段,由于道路在电子地图中被划分为路段,因此,基于电子地图规划得到的导航路线,通常包括一条以上的路段。Link: It is the smallest unit of a road. It can be understood that a road in the real world will be divided into multiple links in an electronic map. Usually, a section of road between two intersections will be divided into one link. Since roads are divided into links in electronic maps, the navigation route planned based on the electronic map usually includes more than one link.
个人路网:基于用户(亦可称为被导航对象)在预设历史时间内(例如半年内)实际走过(驾车行驶过或者步行通过等)的道路信息挖掘得到,个人路网按照路段进行记录。Personal road network: Based on the road information that the user (also called the navigation object) actually traveled (drove or walked, etc.) within a preset historical time (for example, within half a year), the personal road network is recorded according to road sections.
相关技术中,个人路网表征的是用户出行时偏好的路段或者熟悉的路段。现有技术在确定个人路网时,通常通过预先定义的规则进行挖掘,比如,用户走过两次或两次以上的路段为用户偏好的/熟悉的路段。而采用预先定义的规则挖掘出的个人路网会存在一些问题,以用户走过两次或两次以上的路段定义为用户熟悉的路段为例,随着时间的推移或者环境的变化等,该路段可能已经不是用户经常会走的路段,也就说,随着时间的推移,该路段已经不是用户所熟悉的路段或者偏好行驶的路段,这会导致包含该路段的导航路线可能并不是用户期待的导航路线。特别是在熟路模式下,用户所期待的导航路线,但由于个人路网通常挖掘周期较长,当用户因为工作地发生变化或者搬家或者一些特殊需求等导致之前经常走的路段,不再是当前经常出行的路段时,个人路网会因为更新不及时而依然将此路段标记为用户熟悉的路段,这会导致包含该路段的导航路线的预测值通常会超过其他导航路线,最终使得推荐给用户的导航路线实际上并不符合用户当前的期待。In the related art, a personal road network represents a preferred or familiar road section for a user when traveling. When determining a personal road network, the prior art usually mines it using predefined rules. For example, a road section that a user has walked twice or more is a preferred/familiar road section for the user. However, there are some problems with the personal road network mined using predefined rules. For example, a road section that a user has walked twice or more is defined as a familiar road section for the user. As time goes by or the environment changes, the road section may no longer be a road section that the user often walks on. In other words, as time goes by, the road section is no longer a road section that the user is familiar with or prefers to travel on. This will result in the navigation route containing the road section not being the navigation route expected by the user. Especially in the familiar road mode, the navigation route expected by the user, but because the mining cycle of the personal road network is usually long, when the user's previous frequently traveled section is no longer the current frequently traveled section due to changes in work location or relocation or some special needs, the personal road network will still mark this section as a familiar section for the user due to untimely updates, which will cause the predicted value of the navigation route containing this section to usually exceed other navigation routes, and ultimately the navigation route recommended to the user does not actually meet the user's current expectations.
因此,需要提供新的导航路线的推荐技术,能够及时捕捉用户出行偏好的变化,推荐符合用户期待的导航路线。Therefore, it is necessary to provide a new navigation route recommendation technology that can timely capture changes in user travel preferences and recommend navigation routes that meet user expectations.
图1为本公开一实施例中导航路线的推荐方法的流程示意图。如图1所示,本公开实施例提供的导航路线的推荐方法100包括步骤S101~步骤S103。Fig. 1 is a flowchart of a method for recommending a navigation route in an embodiment of the present disclosure. As shown in Fig. 1, a method 100 for recommending a navigation route provided in an embodiment of the present disclosure includes steps S101 to S103.
在步骤S101,获取候选导航路线包括路段的历史出行数据。
In step S101, historical travel data of the candidate navigation route including the road segments is obtained.
其中,候选导航路线的数量可以为一条或多条,候选导航路线可以包括若干个拓扑连通的路段。路段的历史出行数据可以包括表征被导航对象历史出行偏好的历史特征数据。步骤S101获取的历史出行数据可以为预设历史时间范围内的所述路段的历史出行数据,例如,距当前时间半年内或者三个月内。预设历史时间范围可以根据需要设置,本公开不做任何限制。The number of candidate navigation routes may be one or more, and the candidate navigation routes may include several topologically connected road segments. The historical travel data of the road segment may include historical feature data characterizing the historical travel preferences of the navigated object. The historical travel data acquired in step S101 may be the historical travel data of the road segment within a preset historical time range, for example, within six months or three months from the current time. The preset historical time range may be set as needed, and the present disclosure does not impose any restrictions.
历史出行数据是与被导航对象对应的。例如,可以根据被导航对象的标识,获得该被导航对象的对应路段的历史出行数据。历史出行数据中记录了被导航对象在候选导航路线的路线规划时间之前实际走过对应路段时产生的历史特征数据。由于被导航对象之前实际走过该路段,且历史出行数据是距离当前时间比较近,因此,本公开所使用的历史特征数据可以表征被导航对象近期对该路段的历史出行偏好的变化。The historical travel data corresponds to the navigated object. For example, the historical travel data of the corresponding road section of the navigated object can be obtained based on the identifier of the navigated object. The historical travel data records the historical feature data generated when the navigated object actually walked through the corresponding road section before the route planning time of the candidate navigation route. Since the navigated object actually walked through the road section before and the historical travel data is relatively close to the current time, the historical feature data used in the present disclosure can characterize the recent changes in the historical travel preferences of the navigated object for the road section.
候选导航路线中的路段可能有历史出行数据,也可能没有历史出行数据。例如,被导航对象在预设历史时间范围内经过该路段,那么该路段具有对应的历史出行数据,如果被导航对象在预设历史时间范围内没有经过该路段,那么该路段没有历史出行数据。本公开针对的是候选导航路线中包括的可获取到历史出行数据的路段,对于不能获取到历史出行数据的路段其权重的计算,可以采用相关现有技术,本公开不做任何限制。The road sections in the candidate navigation routes may have historical travel data or may not have historical travel data. For example, if the navigated object passes through the road section within a preset historical time range, then the road section has corresponding historical travel data. If the navigated object does not pass through the road section within the preset historical time range, then the road section has no historical travel data. The present disclosure is aimed at the road sections included in the candidate navigation routes for which historical travel data can be obtained. For the calculation of the weights of the road sections for which historical travel data cannot be obtained, relevant existing technologies can be used, and the present disclosure does not impose any restrictions.
在步骤S102,根据路段的历史出行数据以及候选导航路线的路线规划数据,构建路段的预测数据,预测数据包括路段的规划特征数据。In step S102, prediction data of the road segment is constructed based on the historical travel data of the road segment and the route planning data of the candidate navigation route, and the prediction data includes planning feature data of the road segment.
其中,步骤S102中的路线规划数据可以理解为具备地图导航功能的应用程序及其服务系统在规划候选导航路线时,需要使用的数据,包括但不限于起点、终点、路况等。根据路段的历史出行数据和候选导航路线的路线规划数据,构建路段的预测数据。预测数据包括路段的规划特征数据,路段的规划特征数据将候选导航路线包括的路段规划时的特征与该路段在历史出行数据中记录的特征进行了关联,使得被导航对象的出行偏好变化体现在了候选导航路线的预测数据中。The route planning data in step S102 can be understood as the data that an application with a map navigation function and its service system need to use when planning a candidate navigation route, including but not limited to the starting point, end point, road conditions, etc. The prediction data of the road section is constructed based on the historical travel data of the road section and the route planning data of the candidate navigation route. The prediction data includes planning feature data of the road section, which associates the features of the road section included in the candidate navigation route when it is planned with the features recorded in the historical travel data of the road section, so that the travel preference changes of the navigated object are reflected in the prediction data of the candidate navigation route.
在步骤S103,基于候选导航路线包括路段的预测数据,确定候选导航路线的推荐预测值。In step S103, based on the prediction data of the candidate navigation route including the road segments, a recommended prediction value of the candidate navigation route is determined.
其中,推荐预测值是指该候选导航路线的推荐给被导航对象的打分值,推荐预测值越大,该候选导航路线被推荐给被导航对象的几率就越高。当推荐场景为“熟路模式”时,推荐预测值则可以理解为被导航对象对候选导航路线的熟悉程度,推荐预测值越高,则可认为被导航对象对候选导航路线的熟悉程度越高。对于被导航对象,特别是驾车出行的被导航对象,行驶在熟悉的路段上会更清楚道路的状况,行驶的更安心,因此,推荐给被导航对象熟悉的导航路线,会降低被导航对象对导航路线的陌生感,更符合被导航对象的期待,被导航对象选择熟悉的导航路线出行,也能够提升驾车出行的安全性。Among them, the recommendation prediction value refers to the score value of the candidate navigation route recommended to the navigated object. The larger the recommendation prediction value, the higher the probability that the candidate navigation route is recommended to the navigated object. When the recommendation scenario is "familiar road mode", the recommendation prediction value can be understood as the familiarity of the navigated object with the candidate navigation route. The higher the recommendation prediction value, the more familiar the navigated object is with the candidate navigation route. For the navigated object, especially the navigated object traveling by car, driving on a familiar road will make them more aware of the road conditions and feel more at ease. Therefore, recommending a familiar navigation route to the navigated object will reduce the unfamiliarity of the navigated object with the navigation route and be more in line with the expectations of the navigated object. The navigated object can also improve the safety of driving by choosing a familiar navigation route.
以上是本公开实施例提供的方法,该方法确定了候选导航路线的推荐预测值,在确定出各候选导航路线的推荐预测值后,本公开方法,可以将候选导航路线的推荐预测值与预设阈值进行比较,从推荐预测值大于预设阈值的候选导航路线,选择推荐给被导航对象的候选导航路线。例如,推荐预测值大于或等于预设阈值的候选导航路线的数量为至少两个时,可以将这些候选导航路线按照推荐预测值的大小进行排序,根据排序将其中一个或者多个候选导航路线作为目标导航路线推荐给被导航对象。向被导航对象推荐的候选导航路线的条数可以根据需要设置,
本公开不做任何限制。The above is the method provided by an embodiment of the present disclosure, which determines the recommended prediction value of the candidate navigation routes. After determining the recommended prediction value of each candidate navigation route, the method of the present disclosure can compare the recommended prediction value of the candidate navigation route with a preset threshold, and select the candidate navigation route recommended to the navigated object from the candidate navigation routes whose recommended prediction value is greater than the preset threshold. For example, when the number of candidate navigation routes whose recommended prediction value is greater than or equal to the preset threshold is at least two, these candidate navigation routes can be sorted according to the size of the recommended prediction value, and one or more of the candidate navigation routes can be recommended to the navigated object as the target navigation route based on the sorting. The number of candidate navigation routes recommended to the navigated object can be set as needed, This disclosure does not impose any limitations.
相关技术中,在确定个人路网时,通常通过预先定义的规则进行挖掘,比如,被导航对象走过两次或两次以上的路段为被导航对象偏好的/熟悉的路段。而采用预先定义的规则挖掘出的个人路网会存在一些问题,比如,被导航对象走过两次或两次以上的路段定义为被导航对象熟悉的路段,但随着时间的推移或者环境的变化等,该路段可能已经不是被导航对象经常会走的路段,也就说,随着时间的推移,该路段已经不是被导航对象所熟悉的路段或者偏好行驶的路段,这会导致包含该路段的导航路线可能并不是被导航对象期待的导航路线。特别是在熟路模式下,由于个人路网挖掘周期较长,个人路网会因为更新不及时而依然将此路段标记为被导航对象熟悉的路段,这会导致包含该路段的导航路线的预测值通常会超过其他导航路线,导致对导航路线的预测值不能准确反映出被导航对象的出行偏好,最终使得推荐给被导航对象的导航路线实际上并不符合被导航对象当前的期待。In the related art, when determining a personal road network, mining is usually performed using predefined rules, for example, a road section that the navigation object has walked twice or more is a road section that the navigation object prefers/is familiar with. However, there are some problems with the personal road network mined using predefined rules. For example, a road section that the navigation object has walked twice or more is defined as a road section that the navigation object is familiar with. However, as time goes by or the environment changes, the road section may no longer be a road section that the navigation object often walks on. In other words, as time goes by, the road section is no longer a road section that the navigation object is familiar with or prefers to travel on, which may result in the navigation route containing the road section not being the navigation route expected by the navigation object. In particular, in the familiar road mode, due to the long mining cycle of the personal road network, the personal road network will still mark this road section as a road section that the navigation object is familiar with due to untimely updates, which will result in the predicted value of the navigation route containing the road section usually exceeding other navigation routes, resulting in the predicted value of the navigation route not being able to accurately reflect the travel preferences of the navigation object, and ultimately making the navigation route recommended to the navigation object actually not meet the current expectations of the navigation object.
本公开的技术方案,获取候选导航路线包括路段的历史出行数据;根据路段的历史出行数据以及候选导航路线的路线规划数据,构建路段的预测数据,预测数据包括路段的规划特征数据;基于候选导航路线包括路段的预测数据,确定候选导航路线的推荐预测值。由于本公开中历史出行数据是被导航对象实际发生的出行行为产生的数据,因此,历史出行数据表征了被导航对象对相应路段的实际出行偏好,当被导航对象的出行偏好随着时间或者环境等的变化而变化时,历史出行数据很容易捕捉到被导航对象对相应路段的偏好变化。进一步,由于本公开根据历史出行数据和候选导航路线的路线规划数据,构建的路段的预测数据包括路段的规划特征数据,也就是说,本公开构建的路段的预测数据将候选导航路线包括的路段规划时的特征与该路段在历史出行数据中记录的特征进行了关联,使得被导航对象的出行偏好变化体现在了候选导航路线的预测数据中,从而提高了候选路线的推荐预测值的准确性,使得推荐给被导航对象的导航路线更能符合被导航对象的当前出行偏好,被导航对象更有可能选择推荐的导航路线。因此,采用本公开的技术方案,可以及时捕捉到被导航对象的出行偏好变化,可以更加准确地向被导航对象推荐符合其偏好的导航路线,更好地实现个性化路线推荐。The technical solution disclosed in the present invention obtains the historical travel data of the candidate navigation route including the road segment; constructs the prediction data of the road segment according to the historical travel data of the road segment and the route planning data of the candidate navigation route, and the prediction data includes the planning feature data of the road segment; and determines the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segment. Since the historical travel data in the present invention is the data generated by the actual travel behavior of the navigated object, the historical travel data represents the actual travel preference of the navigated object for the corresponding road segment. When the travel preference of the navigated object changes with time or environment, the historical travel data can easily capture the change in the preference of the navigated object for the corresponding road segment. Furthermore, since the prediction data of the road segment constructed by the present disclosure includes the planning feature data of the road segment based on the historical travel data and the route planning data of the candidate navigation route, that is, the prediction data of the road segment constructed by the present disclosure associates the features of the road segment included in the candidate navigation route when it was planned with the features of the road segment recorded in the historical travel data, so that the travel preference changes of the navigated object are reflected in the prediction data of the candidate navigation route, thereby improving the accuracy of the recommended prediction value of the candidate route, making the navigation route recommended to the navigated object more in line with the current travel preference of the navigated object, and the navigated object is more likely to choose the recommended navigation route. Therefore, by adopting the technical solution of the present disclosure, the travel preference changes of the navigated object can be captured in time, and the navigation route that meets its preferences can be recommended to the navigated object more accurately, so as to better realize personalized route recommendation.
在一个实施例中,历史出行数据可以包括历史出行时间,历史出行时间可以理解为被导航对象经过路段时的历史时间。路线规划数据可以包括路线规划时间。路线规划时间应当理解为具备导航功能的应用程序及其服务系统,根据被导航对象输入的起点、终点规划出导航路线的时间。路段的规划特征数据包括时间特征、距离特征。In one embodiment, historical travel data may include historical travel time, which can be understood as the historical time when the navigated object passes through the road section. Route planning data may include route planning time. Route planning time should be understood as the time when an application with navigation function and its service system plan the navigation route according to the starting point and end point input by the navigated object. The planning feature data of the road section includes time feature and distance feature.
根据路段的历史出行数据以及候选导航路线的路线规划数据,构建路段的预测数据,可以包括:Based on the historical travel data of the road segment and the route planning data of the candidate navigation route, the prediction data of the road segment is constructed, which may include:
根据路段的历史出行数据中包括的历史出行时间和候选导航路线的路线规划数据包括的路线规划时间,确定历史出行时间对应的时间特征;Determine the time feature corresponding to the historical travel time according to the historical travel time included in the historical travel data of the road section and the route planning time included in the route planning data of the candidate navigation route;
根据路段的历史出行数据中历史出行时间对应的历史起点和历史终点,以及候选导航路线的路线规划数据包括的规划起点和规划终点,确定历史出行时间对应的距离特征;至少基于时间特征和距离特征构建路段的预测数据。Determine the distance feature corresponding to the historical travel time based on the historical starting point and historical end point corresponding to the historical travel time in the historical travel data of the road section, and the planned starting point and planned end point included in the route planning data of the candidate navigation route; and construct the prediction data of the road section based on at least the time feature and the distance feature.
可以理解的是,如果一条路段的历史出行时间与路线规划时间相差越远,说明被导航对象
之前走过该路段距离规划候选导航路线的时间已经过远,而被导航对象对路段的熟悉程度是随着时间衰减的,也就是,历史出行时间与路线规划时间相差越远,说明被导航对象对该路段越来越不熟悉,反之,若历史出行时间与路线规划时间相差很近,说明被导航对象对该路段越熟悉。由此可见,本公开根据路段的历史出行时间和候选导航路线的路线规划时间,确定出的与历史出行时间对应的时间特征,考虑了熟悉度随时间衰减的问题,使得构造的预测数据更能反映出被导航对象对相应路段的偏好程度或者熟悉程度。It is understandable that if the historical travel time of a road section is far away from the route planning time, it means that the navigation object The time from the time when the candidate navigation route was planned to the time when the person walked the road section before is too far away, and the familiarity of the person being navigated with the road section decays with time, that is, the farther the difference between the historical travel time and the route planning time is, the less familiar the person being navigated with the road section is. On the contrary, if the difference between the historical travel time and the route planning time is very close, the more familiar the person being navigated with the road section is. It can be seen that the present disclosure determines the time feature corresponding to the historical travel time based on the historical travel time of the road section and the route planning time of the candidate navigation route, and takes into account the problem of the decay of familiarity with time, so that the constructed prediction data can better reflect the preference or familiarity of the person being navigated with the corresponding road section.
历史起点和历史终点可以为历史出行时间对应的历史出行路线的起点和终点。历史出行路线为被导航对象历史经过该路段时对应的导航路线。例如,被导航对象在路线规划时间的5天前从起点E到终点F时规划的导航路线经过路段1,并且,被导航对象实际也走过了路段1,那么,历史出行时间对应的历史起点和历史终点分别为起点E到终点F的导航路线对应的起点和终点。历史出行时间可以为经过历史出行路线的具体日期,例如2022年11月20日,或者,历史出行时间可以为经过历史出行路线的时间相对于路线规划时间的天数,例如5天前。历史出行时间的具体形式可以根据需要设置。延续前述举例,被导航对象在候选导航路线规划的5天前经过路段1,经过该路段1的历史出行路线为起点E到达终点F。那么,对于路段1,历史特征数据可以包括5天前、起点E和终点F,历史出行数据可以表示为{5天前,起点E,终点F}。被导航对象每次经过路段1,就会产生路段1对应的一个历史特征数据,经过路段1的次数越多,路段1对应的历史特征数据越多。规划起点和规划终点则为规划候选导航路线的起点和终点。The historical starting point and the historical end point may be the starting point and the end point of the historical travel route corresponding to the historical travel time. The historical travel route is the navigation route corresponding to the navigation object's historical passage through the road section. For example, the navigation route planned by the navigation object from starting point E to end point F 5 days before the route planning time passes through road section 1, and the navigation object actually also passes through road section 1. Then, the historical starting point and the historical end point corresponding to the historical travel time are the starting point and the end point corresponding to the navigation route from starting point E to end point F. The historical travel time may be the specific date of passing the historical travel route, such as November 20, 2022, or the historical travel time may be the number of days of passing the historical travel route relative to the route planning time, such as 5 days ago. The specific form of the historical travel time can be set as needed. Continuing with the above example, the navigation object passed through road section 1 5 days before the candidate navigation route was planned, and the historical travel route through road section 1 was from starting point E to end point F. Then, for road section 1, the historical feature data may include 5 days ago, starting point E and end point F, and the historical travel data may be expressed as {5 days ago, starting point E, end point F}. Each time the navigated object passes through section 1, a historical feature data corresponding to section 1 is generated. The more times the navigated object passes through section 1, the more historical feature data corresponding to section 1. The planned starting point and the planned end point are the starting point and the end point of the planned candidate navigation route.
相关技术中,对于被导航对象的熟悉路段,不考虑导航路线的起点和终点,只要该路段在个人路网中存在,那么,向被导航对象推荐包含该路段的导航路线的概率就会变高。在本实施例中,历史出行数据包括历史出行时间对应的历史起点和历史终点,路线规划数据包括规划起点和规划终点。可以理解的是,如果被导航对象历史走过某条路段时的导航路线的历史起点与规划起点之间的距离相差很大、历史终点与规划终点的距离相差很大,说明即便被导航对象曾经走过该路段,但被导航对象从规划起点走向规划终点时对该路段并不熟悉,或者并不偏好该路段,反之,如果被导航对象历史走过某条路段时的导航路线的历史起点与规划起点之间的距离相差不大、历史终点与规划终点的距离相差不大,说明被导航对象从规划起点走向规划终点的过程中会偏好走该路段。In the related art, for the familiar road section of the navigated object, the starting point and the end point of the navigation route are not considered. As long as the road section exists in the personal road network, the probability of recommending the navigation route containing the road section to the navigated object will become higher. In this embodiment, the historical travel data includes the historical starting point and the historical end point corresponding to the historical travel time, and the route planning data includes the planned starting point and the planned end point. It can be understood that if the distance between the historical starting point and the planned starting point of the navigation route when the navigated object has walked through a certain road section in the past is very different, and the distance between the historical end point and the planned end point is very different, it means that even if the navigated object has walked through the road section, the navigated object is not familiar with the road section when walking from the planned starting point to the planned end point, or does not prefer the road section. On the contrary, if the distance between the historical starting point and the planned starting point of the navigation route when the navigated object has walked through a certain road section in the past is not much different, and the distance between the historical end point and the planned end point is not much different, it means that the navigated object will prefer to walk on the road section in the process of walking from the planned starting point to the planned end point.
本公开上述实施例中,根据历史出行时间和路线规划时间,确定出历史出行时间对应的时间特征;根据历史起点、历史终点、规划起点、规划终点,确定出历史出行时间对应的距离特征,并至少基于该时间特征和距离特征构建出的路段的预测数据。可见,本公开构建出的路段的预测数据不仅考虑了时间对出行偏好的影响,还考虑了起点和终点对出行偏好的影响,可以进一步提高候选导航路线的推荐预测值的准确性,使得推荐预测值可以更加准确地反映出被导航对象对候选导航路线的当前偏好。In the above-mentioned embodiment of the present disclosure, the time feature corresponding to the historical travel time is determined according to the historical travel time and the route planning time; the distance feature corresponding to the historical travel time is determined according to the historical starting point, the historical end point, the planned starting point, and the planned end point, and the prediction data of the road section is constructed based on at least the time feature and the distance feature. It can be seen that the prediction data of the road section constructed by the present disclosure not only considers the influence of time on travel preference, but also considers the influence of the starting point and the end point on travel preference, which can further improve the accuracy of the recommended prediction value of the candidate navigation route, so that the recommended prediction value can more accurately reflect the current preference of the navigated object for the candidate navigation route.
需要说明的是,本公开中的起点可以为起点的位置坐标,终点可以为终点的位置坐标。当两个起点之间的距离小于或等于预设距离时,可以认为两个起点相同;当两个终点之间的距离小于或等于预设距离时,可以认为两个终点相同。预设距离可以为例如100m。
It should be noted that the starting point in the present disclosure may be the position coordinates of the starting point, and the end point may be the position coordinates of the end point. When the distance between two starting points is less than or equal to a preset distance, the two starting points may be considered the same; when the distance between two end points is less than or equal to a preset distance, the two end points may be considered the same. The preset distance may be, for example, 100 m.
在一个实施例中,时间特征可以包括历史出行时间与路线规划时间的时间差。In one embodiment, the time feature may include the time difference between the historical travel time and the route planning time.
在一个实施例中,距离特征可以包括第一距离特征和第二距离特征。根据路段的历史出行数据中历史出行时间对应的历史起点和历史终点,以及候选导航路线的路线规划数据包括的规划起点和规划终点,确定历史出行时间对应的距离特征,包括:将历史起点和规划起点之间的距离确定为第一距离特征;将历史终点和规划终点之间的距离确定为第二距离特征。In one embodiment, the distance feature may include a first distance feature and a second distance feature. According to the historical starting point and the historical end point corresponding to the historical travel time in the historical travel data of the road segment, and the planned starting point and the planned end point included in the route planning data of the candidate navigation route, the distance feature corresponding to the historical travel time is determined, including: determining the distance between the historical starting point and the planned starting point as the first distance feature; and determining the distance between the historical end point and the planned end point as the second distance feature.
路段的预测数据中,路段的历史出行时间与路线规划时间的时间差,可以为历史出行时间与路线规划时间的天数差。时间差可以表征出被导航对象历史经过该路段的历史出行时间与路线规划时间的差值。时间差越小,表示被导航对象经过该路段的时间距离路线规划时间越近,被导航对象对该路段越熟悉,或者,被导航对象越偏好该路段。因此,包含有经过该路段的历史出行时间与路线规划时间的时间差的路段的预测数据,考虑了时间差对出行偏好的影响,使得确定出的候选导航路线的推荐预测值更加准确地反映出被导航对象对候选导航路线的当前偏好。In the prediction data of a road section, the time difference between the historical travel time of the road section and the route planning time can be the difference in days between the historical travel time and the route planning time. The time difference can represent the difference between the historical travel time of the navigated object passing through the road section and the route planning time. The smaller the time difference, the closer the time when the navigated object passed through the road section to the route planning time, the more familiar the navigated object is with the road section, or the more the navigated object prefers the road section. Therefore, the prediction data of the road section that includes the time difference between the historical travel time and the route planning time of the road section takes into account the impact of the time difference on travel preferences, so that the recommended prediction value of the determined candidate navigation route more accurately reflects the current preference of the navigated object for the candidate navigation route.
候选导航路线的推荐预测值与第一距离特征和第二距离特征相关,通常,第一距离特征和第二距离特征对应的数值越小,被导航对象选择该路段的可能性越大。因此,路段的预测数据中包括第一距离特征和第二距离特征,根据路段的预测数据确定出的候选导航路线的推荐预测值可以更好地反映出被导航对象对该路段的熟悉程度,更好地反映出被导航对象对候选导航路线的当前偏好、符合被导航对象的期待。The recommended prediction value of the candidate navigation route is related to the first distance feature and the second distance feature. Generally, the smaller the values corresponding to the first distance feature and the second distance feature, the greater the possibility that the navigated object will select the road section. Therefore, the predicted data of the road section includes the first distance feature and the second distance feature. The recommended prediction value of the candidate navigation route determined based on the predicted data of the road section can better reflect the familiarity of the navigated object with the road section, better reflect the current preference of the navigated object for the candidate navigation route, and meet the expectations of the navigated object.
由于路段的路况决定了导航路线的出行时间成本,通常情况下,被导航对象不会主动选择经常拥堵的路段,为了路况造成的被导航对象对路段的偏好反应在推荐预测值的过程中,进一步提高确定出的候选导航路线的推荐预测值的准确性,本公开在一个实施例中,路段的规划特征数据还可以包括路况特征。本公开实施例的方法还可以包括:Since the road condition of a section determines the travel time cost of a navigation route, usually, the navigated object will not actively choose a frequently congested section. In order to reflect the navigated object's preference for the section due to the road condition in the process of recommending the predicted value, and further improve the accuracy of the recommended predicted value of the determined candidate navigation route, in one embodiment of the present disclosure, the planning feature data of the section may also include road condition features. The method of the embodiment of the present disclosure may also include:
根据路段的历史出行数据中历史出行时间对应的历史路况信息,以及路线规划数据包括的路段的规划路况信息,确定历史出行时间对应的路况特征。The road condition characteristics corresponding to the historical travel time are determined based on the historical road condition information corresponding to the historical travel time in the historical travel data of the road section and the planned road condition information of the road section included in the route planning data.
示例性地,路况信息可以包括畅通、缓行、拥堵、极度拥堵、无路况或者在建。例如,历史路况信息为畅通,规划路况信息为拥堵,那么,被导航对象对候选导航路线的当前偏好偏低,被导航对象当前选择该候选导航路线的可能性比较小。需要说明的是,无路况表示无法获知路段的路况。For example, the traffic condition information may include smooth, slow, congested, extremely congested, no traffic condition or under construction. For example, if the historical traffic condition information is smooth and the planned traffic condition information is congested, then the navigation object's current preference for the candidate navigation route is low, and the navigation object is less likely to currently select the candidate navigation route. It should be noted that no traffic condition means that the traffic condition of the road section cannot be known.
在一个实施例中,路况特征可以包括历史出行时间对应的历史路况信息和该路段的规划路况信息的差值。例如,给每一种路况信息赋值,例如畅通的值为1,缓行的值为0.8,拥堵的值为0.6,极度拥堵的值为0.4,无路况的值为0.2,在建的值为0。可以将历史路况信息和规划路况信息的差值,确定为路况特征。In one embodiment, the traffic condition feature may include the difference between the historical traffic condition information corresponding to the historical travel time and the planned traffic condition information of the road section. For example, a value is assigned to each type of traffic condition information, such as 1 for smooth traffic, 0.8 for slow traffic, 0.6 for congestion, 0.4 for extreme congestion, 0.2 for no traffic condition, and 0 for under construction. The difference between the historical traffic condition information and the planned traffic condition information may be determined as the traffic condition feature.
在一个实施例中,路况特征可以包括历史出行时间对应的历史路况信息以及路线规划数据包括的路段的规划路况信息。In one embodiment, the traffic condition characteristics may include historical traffic condition information corresponding to historical travel times and planned traffic condition information of road sections included in the route planning data.
需要说明的是,历史路况信息与规划路况信息是相对应的,当历史出行时间对应的历史路况信息为路段的历史路况信息时,规划路况信息则为候选导航路线中该路段在规划时间时的路况信息;当历史出行时间对应的历史路况信息为历史出行路线的整体历史路况信息时,规划路
况信息则为候选导航路线在规划时间时的整体路况信息。It should be noted that the historical traffic information corresponds to the planned traffic information. When the historical traffic information corresponding to the historical travel time is the historical traffic information of the road section, the planned traffic information is the traffic information of the road section in the candidate navigation route at the planned time; when the historical traffic information corresponding to the historical travel time is the overall historical traffic information of the historical travel route, the planned route The traffic information is the overall traffic information of the candidate navigation route at the time of planning.
进一步,由于被导航对象熟悉的路段在候选导航路线中的长度占比越大,被导航对象越偏好该条导航路线,因此,在本公开的一个实施例中,路段的规划特征数据还包括路段占比特征。本公开实施例的方法还可以包括:根据路段在候选导航路线中的长度占比,确定路段占比特征。Furthermore, since the longer the road segment that the navigation object is familiar with accounts for in the candidate navigation route, the more the navigation object prefers the navigation route, in one embodiment of the present disclosure, the planning feature data of the road segment also includes a road segment proportion feature. The method of the embodiment of the present disclosure may also include: determining the road segment proportion feature according to the length proportion of the road segment in the candidate navigation route.
路段占比特征可以反映被导航对象对导航路线的偏好,在路段的预测数据包括路段占比特征时,基于候选导航路线包括路段的预测数据确定出的候选导航路线的推荐预测值,可以进一步提高推荐预测值的准确性,可以更好地反映被导航对象对候选导航路线的当前偏好。The road segment proportion feature can reflect the preference of the navigated object for the navigation route. When the prediction data of the road segment includes the road segment proportion feature, the recommended prediction value of the candidate navigation route determined based on the candidate navigation route including the prediction data of the road segment can further improve the accuracy of the recommended prediction value, and can better reflect the current preference of the navigated object for the candidate navigation route.
在本公开实施例中,至少基于时间特征和距离特征构建路段的预测数据,包括:In the disclosed embodiment, the prediction data of the road segment is constructed based on at least the time feature and the distance feature, including:
将同一历史出行时间对应的时间特征、距离特征、路况特征和路段占比特征,构建为路段的一条预测数据。The time characteristics, distance characteristics, road condition characteristics and road section proportion characteristics corresponding to the same historical travel time are constructed into a prediction data of the road section.
可以理解的是,被导航对象每次经过该路段,会产生一个对应的历史出行数据,每一个历史出行数据对应一个历史出行时间,每一个历史出行时间对应一条预测数据。路段的一条预测数据可以表示为{时间特征,距离特征,路况特征,路段占比特征},一条预测数据还可以表示为{时间特征,第一距离特征,第二距离特征,历史路况信息,规划路况信息,路段占比特征}。It is understandable that each time the navigated object passes through the road section, a corresponding historical travel data will be generated, each historical travel data corresponds to a historical travel time, and each historical travel time corresponds to a prediction data. A prediction data of a road section can be expressed as {time feature, distance feature, road condition feature, road section proportion feature}, and a prediction data can also be expressed as {time feature, first distance feature, second distance feature, historical road condition information, planned road condition information, road section proportion feature}.
在一个实施例中,基于候选导航路线包括路段的预测数据,确定候选导航路线的推荐预测值,包括:将候选导航路线包括路段的预测数据输入到经训练的熟路预测模型中,获得路段的预测数据对应的模型预测值;根据路段的预测数据对应的模型预测值,确定路段的路段预测值;根据候选导航路线包括路段的路段预测值,确定候选导航路线的推荐预测值。In one embodiment, based on the prediction data of the candidate navigation route including the road segments, the recommended prediction value of the candidate navigation route is determined, including: inputting the prediction data of the candidate navigation route including the road segments into a trained familiar road prediction model to obtain the model prediction value corresponding to the prediction data of the road segments; determining the road segment prediction value of the road segment according to the model prediction value corresponding to the prediction data of the road segment; determining the recommended prediction value of the candidate navigation route according to the road segment prediction value of the candidate navigation route including the road segments.
路段的每一个历史出行时间对应路段的一条预测数据,将路段的预测数据输入到经训练的熟路预测模型中,便可以获得路段的预测数据对应的模型预测值。Each historical travel time of a road section corresponds to a piece of prediction data of the road section. By inputting the prediction data of the road section into the trained familiar road prediction model, the model prediction value corresponding to the prediction data of the road section can be obtained.
熟路预测模型可以为神经网络模型,可以为单层神经网络,也可以为多层神经网络。对熟路预测模型进行训练,可以让模型去学习被导航对象不同时间、不同起点终点下被导航对象的出行偏好,由于路段的预测数据是根据历史出行数据和候选导航路线的路线规划数据,构建的路段的预测数据包括路段的规划特征数据,历史出行数据并不需要专门的挖掘,被导航对象出行则会形成出行数据,因此,当模型训练好后,将路段的预测数据输入经训练的熟路预测模型中,熟路预测模型输出的模型预测值可以更好地反映出被导航对象对该路段的当前偏好,避免采用预先定义规则挖掘出的个人路网无法及时捕获被导航对象出行偏好偏好的变化,导致推荐预测值不准确的问题。The familiar route prediction model can be a neural network model, which can be a single-layer neural network or a multi-layer neural network. Training the familiar route prediction model allows the model to learn the travel preferences of the navigated object at different times and different starting and ending points. Since the prediction data of the road section is based on the historical travel data and the route planning data of the candidate navigation route, the constructed prediction data of the road section includes the planning feature data of the road section. The historical travel data does not need to be specially mined, and the travel of the navigated object will form travel data. Therefore, when the model is trained, the prediction data of the road section is input into the trained familiar route prediction model. The model prediction value output by the familiar route prediction model can better reflect the current preference of the navigated object for the road section, avoiding the problem that the personal road network mined by the pre-defined rules cannot timely capture the changes in the travel preferences of the navigated object, resulting in inaccurate recommended prediction values.
在一个实施例中,候选导航路线可以包括多个路段,每个路段可以对应至少一个历史出行数据,从而,每个路段可以对应至少一个预测数据。因此,可以根据候选导航路线中各路段对应的各预测数据,确定候选导航路线的推荐预测值。In one embodiment, the candidate navigation route may include multiple sections, each section may correspond to at least one historical travel data, and thus each section may correspond to at least one prediction data. Therefore, the recommended prediction value of the candidate navigation route may be determined based on the prediction data corresponding to each section in the candidate navigation route.
根据路段的预测数据对应的模型预测值,确定路段的路段预测值,包括:将路段的预测数据对应的模型预测值进行加权计算,得到路段的路段预测值。Determining the section prediction value of the road section according to the model prediction value corresponding to the prediction data of the road section includes: performing weighted calculation on the model prediction value corresponding to the prediction data of the road section to obtain the section prediction value of the road section.
路段的每一个历史出行时间对应路段的一条预测数据,当被导航对象多次经过该路段时,该路段便存在多个历史出行时间,进而,可以构建出该路段的多条预测数据。对应地,该路段对应多个模型预测值。可以将路段对应的模型预测值进行加权计算,得到路段的路段预测值。
Each historical travel time of a road section corresponds to a prediction data of the road section. When the navigation object passes through the road section multiple times, the road section has multiple historical travel times, and then multiple prediction data of the road section can be constructed. Correspondingly, the road section corresponds to multiple model prediction values. The model prediction values corresponding to the road section can be weighted to obtain the road section prediction value of the road section.
例如,至少基于预测数据中的时间特征,确定预测数据对应的模型预测值的权重值,计算出模型预测值与权重值的乘积。将模型预测值对应的乘机相加,得到路段的路段预测值。For example, based at least on the time feature in the prediction data, the weight value of the model prediction value corresponding to the prediction data is determined, and the product of the model prediction value and the weight value is calculated. The products corresponding to the model prediction values are added together to obtain the section prediction value of the road section.
例如,路段的预测数据的模型预测值为y。假设候选导航路线A包括路段1、路段2和路段3,路段1对应的3个路段的预测数据,3个路段的预测数据的模型预测值分别为y1、y2和y3。假设,根据预测数据中的时间特征确定出y1、y2和y3的权重值分别为α1、α2和α3,那么,路段1的路段预测值M1=y1*α1+y2*α2+y3*α3。需要说明的是,确定预测数据对应的模型预测值的权重值时,并不限于基于预测数据中的时间特征,还可以基于距离特征等来确定模型预测值的权重值。For example, the model prediction value of the prediction data of a road section is y. Assume that the candidate navigation route A includes road sections 1, 2 and 3, and the prediction data of the three roads corresponding to road section 1, and the model prediction values of the prediction data of the three roads are y1, y2 and y3 respectively. Assume that the weight values of y1, y2 and y3 are determined to be α1, α2 and α3 respectively according to the time characteristics in the prediction data, then the road section prediction value M1 of road section 1 is M1 = y1*α1+y2*α2+y3*α3. It should be noted that when determining the weight value of the model prediction value corresponding to the prediction data, it is not limited to the time characteristics in the prediction data, and the weight value of the model prediction value can also be determined based on distance characteristics, etc.
在一个实施例中,可以将模型预测值的权重值均设置为1,路段1的路段预测值M1=y1+y2+y3。In one embodiment, the weight values of the model prediction values may all be set to 1, and the segment prediction value of segment 1 M1 = y1 + y2 + y3.
本公开实施例确定出的路段的路段预测值,综合了被导航对象每次经过该路段的历史出行数据,可以更好地反映出被导航对象对该路段的偏好。可以理解的是,被导航对象经过该路段的次数越多,说明被导航对象更加偏好该路段,从而,将各模型预测值进行加权计算,计算值越大,路段的路段预测值越大,被导航对象对该路段的偏好越强,被导航对象对该路段越熟悉。The predicted value of the road section determined by the embodiment of the present disclosure integrates the historical travel data of each time the navigated object passes through the road section, and can better reflect the navigated object's preference for the road section. It can be understood that the more times the navigated object passes through the road section, the more the navigated object prefers the road section, and thus, the predicted values of each model are weighted and calculated. The larger the calculated value, the larger the predicted value of the road section, the stronger the navigated object's preference for the road section, and the more familiar the navigated object is with the road section.
在一个实施例中,根据候选导航路线包括路段的路段预测值,确定候选导航路线的推荐预测值,包括:将候选导航路线包括路段的路段预测值进行加权计算,得到候选导航路线的推荐预测值。In one embodiment, determining the recommended prediction value of the candidate navigation route based on the segment prediction values of the segments included in the candidate navigation route includes: performing weighted calculation on the segment prediction values of the segments included in the candidate navigation route to obtain the recommended prediction value of the candidate navigation route.
示例性地,可以至少基于路段在候选导航路线中的长度占比,确定路段预测值的权重值。计算出路段预测值与权重值的乘积。将路段预测值对应的乘积相加,得到候选导航路线的推荐预测值。For example, the weight value of the predicted value of the road segment may be determined based at least on the length ratio of the road segment in the candidate navigation route, the product of the predicted value of the road segment and the weight value may be calculated, and the products corresponding to the predicted values of the road segments may be added to obtain the recommended predicted value of the candidate navigation route.
例如,计算出路段2的路段预测值为M2。路段3不存在历史出行数据,所以,路段3不存在路段预测值或者路段3的路段预测值为0。确定出M1、M2的权重值分别为β1、β2,那么,候选导航路线1的推荐预测值Q1=M1*β1+M2*β2。需要说明的是,确定路段预测值的权重值时,并不限于基于路段在候选导航路线中的长度占比,还可以基于其它相关特征来确定路段的路段预测值的权重值。For example, the predicted value of segment 2 is calculated to be M2. There is no historical travel data for segment 3, so there is no predicted value for segment 3 or the predicted value for segment 3 is 0. The weight values of M1 and M2 are determined to be β1 and β2 respectively, then the recommended predicted value of candidate navigation route 1 is Q1=M1*β1+M2*β2. It should be noted that when determining the weight value of the segment prediction value, it is not limited to being based on the length ratio of the segment in the candidate navigation route, and the weight value of the segment prediction value of the segment can also be determined based on other relevant features.
在一个实施例中,可以将路段预测值的权重值均设置为1,候选导航路线A的推荐预测值Q1=M1+M2。In one embodiment, the weight values of the road segment prediction values may all be set to 1, and the recommended prediction value Q1 of the candidate navigation route A = M1 + M2.
本公开实施例确定出候选导航路线的推荐预测值,综合了候选导航路线中被导航对象历史经过的各个路段,候选导航路线中被导航对象历史经过的路段越多,说明被导航对象对该候选导航路线越熟悉。从而,得到的候选导航路线的推荐预测值越高,说明被导航对象对该候选导航路线越熟悉,被导航对象越偏好选择该候选导航路线。The disclosed embodiment determines the recommended prediction value of the candidate navigation route by integrating the various sections that the navigated object has historically passed through in the candidate navigation route. The more sections that the navigated object has historically passed through in the candidate navigation route, the more familiar the navigated object is with the candidate navigation route. Therefore, the higher the recommended prediction value of the candidate navigation route obtained, the more familiar the navigated object is with the candidate navigation route, and the more the navigated object prefers to choose the candidate navigation route.
本公开实施例中,路段的预测数据包括路段的规划特征数据,路段的规划特征数据包括时间特征、第一距离特征、第二距离特征、历史路况信息、规划路况信息、路段占比特征。从而,路段的预测数据可以表示为{时间特征,第一距离特征,第二距离特征,历史路况信息,规划路况信息,路段占比特征}。路段的预测数据的维度可以为6维。本公开实施例中的路段的预测数据扩展性比较强,如果新增加一个路段特征,只需要将路段的预测数据的维度由6维扩展
到7维即可,从而,本公开技术方案的扩展性更强。In the disclosed embodiment, the prediction data of the road section includes the planned characteristic data of the road section, and the planned characteristic data of the road section includes time characteristics, first distance characteristics, second distance characteristics, historical traffic information, planned traffic information, and road section proportion characteristics. Thus, the prediction data of the road section can be expressed as {time characteristics, first distance characteristics, second distance characteristics, historical traffic information, planned traffic information, and road section proportion characteristics}. The dimension of the prediction data of the road section can be 6 dimensions. The prediction data of the road section in the disclosed embodiment is highly extensible. If a new road section feature is added, the dimension of the prediction data of the road section only needs to be expanded from 6 dimensions. It can be up to 7 dimensions, so the scalability of the technical solution disclosed in the present invention is stronger.
在一个实施例中,导航路线的推荐的方法可以应用于服务端。在获取候选导航路线包括路段的历史出行数据之前,导航路线的推荐方法还可以包括:获取规划起点和规划终点,根据规划起点和规划终点,规划至少一条候选导航路线。例如,被导航对象在具备地图导航功能的应用程序中输入规划起点和规划终点后,客户端可以将规划起点、规划终点和客户端标识发送给服务端,客户端标识与被导航对象相对应。服务端根据获取到的规划起点和规划终点,规划出至少一条候选导航路线,候选导航路线为从规划起点到达规划终点的导航路线。服务端根据客户端标识获取候选导航路线包括路段的历史出行数据。In one embodiment, a method for recommending a navigation route can be applied to a server. Before obtaining the historical travel data of the candidate navigation routes including the road segment, the method for recommending the navigation route can also include: obtaining a planned starting point and a planned end point, and planning at least one candidate navigation route based on the planned starting point and the planned end point. For example, after the navigated object enters the planned starting point and the planned end point in an application with a map navigation function, the client can send the planned starting point, the planned end point and the client identifier to the server, and the client identifier corresponds to the navigated object. The server plans at least one candidate navigation route based on the acquired planned starting point and the planned end point, and the candidate navigation route is a navigation route from the planned starting point to the planned end point. The server obtains the historical travel data of the candidate navigation routes including the road segment based on the client identifier.
服务端根据候选导航路线的推荐预测值,确定向被导航对象推荐的导航路线。当候选导航路线的推荐预测值均小于预设阈值时,服务端可以不将候选导航路线推荐给被导航对象。服务端可以采用其它方式确定出向被导航对象推荐的导航路线并推荐给被导航对象。The server determines the navigation route recommended to the navigated object based on the recommended prediction values of the candidate navigation routes. When the recommended prediction values of the candidate navigation routes are all less than the preset threshold, the server may not recommend the candidate navigation route to the navigated object. The server may determine the navigation route recommended to the navigated object in other ways and recommend it to the navigated object.
在一个实施例中,导航路线推荐的方法可以应用于服务端。在获取候选导航路线包括路段的历史出行数据之前,导航路线推荐方法还可以包括:获取候选导航路线。例如,客户端的被导航对象在支持地图导航功能的应用程序中输入规划起点和规划终点后,客户端的应用程序根据规划起点和规划终点规划出候选导航路线,并将候选导航路线和客户端标识发送给服务端,服务端根据获取到的候选导航路线和客户端标识,获取候选导航路线包括路段的历史出行数据。历史出行数据与被导航对象对应,被导航对象与客户端标识对应。In one embodiment, the method for recommending a navigation route can be applied to a server. Before obtaining the historical travel data of the candidate navigation route including the road segment, the navigation route recommendation method can also include: obtaining the candidate navigation route. For example, after the navigated object of the client enters the planned starting point and the planned end point in an application that supports the map navigation function, the client application plans the candidate navigation route according to the planned starting point and the planned end point, and sends the candidate navigation route and the client identifier to the server. The server obtains the historical travel data of the candidate navigation route including the road segment based on the obtained candidate navigation route and the client identifier. The historical travel data corresponds to the navigated object, and the navigated object corresponds to the client identifier.
需要说明的是,在被导航对象使用支持地图导航功能的应用程序进行导航时,可以记录下被导航对象经过的各路段以及经过的时间、对应的历史出行路线的起点和终点,将这些数据进行存储,这些数据便可以作为该被导航对象的历史出行数据。历史出行数据与被导航对象相对应,不同的被导航对象,其历史出行数据可以是不相同的。It should be noted that when the navigated object uses an application that supports map navigation function for navigation, the various sections of the route the navigated object passes through and the time it passes through, as well as the starting point and end point of the corresponding historical travel route, can be recorded and stored. These data can be used as the historical travel data of the navigated object. The historical travel data corresponds to the navigated object, and different navigated objects may have different historical travel data.
在其它实施例中,在其他被导航对象对应的起点和终点与规划起点和规划终点相同时,为了提高导航路线推荐效率,可以将向被导航对象推荐的导航路线直接推荐给该其他被导航对象,或者,将向被导航对象推荐的导航路线中的推荐预测值最高的路线推荐给该其他被导航对象。In other embodiments, when the starting point and end point corresponding to other navigated objects are the same as the planned starting point and the planned end point, in order to improve the efficiency of navigation route recommendation, the navigation route recommended to the navigated object can be directly recommended to the other navigated object, or the route with the highest recommendation prediction value among the navigation routes recommended to the navigated object can be recommended to the other navigated object.
在一个实施例中,可以根据候选导航路线的推荐预测值和候选导航路线的属性信息,推荐至少一个候选导航路线。候选导航路线的属性信息可以包括候选导航路线的总长度、候选导航路线上的交通灯数量、当前通过候选导航路线的时间等。In one embodiment, at least one candidate navigation route may be recommended based on the recommendation prediction value of the candidate navigation route and the attribute information of the candidate navigation route. The attribute information of the candidate navigation route may include the total length of the candidate navigation route, the number of traffic lights on the candidate navigation route, the current time to pass the candidate navigation route, etc.
需要说明的是,影响被导航对象选择候选导航路线的因素,不仅包括被导航对象对路线的熟悉程度,还包括候选导航路线的属性信息。可以理解的是,如果某一候选导航路线的推荐预测值很高,但当前通过候选导航路线的时间远远超出被导航对象预期,那么,被导航对象可能不会选择该候选导航路线。因此,根据候选导航路线的推荐预测值和候选导航路线的属性信息,推荐出的至少一个候选导航路线,不仅是被导航对象熟悉的路线,而且考虑了规划路线时刻的实际状况,可以进一步提高被导航对象满意度。It should be noted that the factors that affect the selection of a candidate navigation route by the navigated object include not only the familiarity of the navigated object with the route, but also the attribute information of the candidate navigation route. It is understandable that if the recommended prediction value of a candidate navigation route is very high, but the current time to pass the candidate navigation route is far beyond the expectations of the navigated object, then the navigated object may not choose the candidate navigation route. Therefore, based on the recommended prediction value of the candidate navigation route and the attribute information of the candidate navigation route, at least one candidate navigation route is recommended, which is not only a route that the navigated object is familiar with, but also takes into account the actual conditions at the time of planning the route, which can further improve the satisfaction of the navigated object.
下面采用具体的实施例说明本公开导航路线的推荐方法的应用过程。The following uses a specific embodiment to illustrate the application process of the navigation route recommendation method disclosed in the present invention.
例如,候选导航路线包括路线A、路线B和路线C。提取出每条路线中的路段序列,得到三个路线的路段序列:路线A{路段1,路段2,路段3};路线B{路段4,路段5,路段6,路
段7};路线C{路段1,路段2,路段8,路段7}。For example, the candidate navigation routes include route A, route B, and route C. The segment sequences in each route are extracted to obtain the segment sequences of three routes: route A {segment 1, segment 2, segment 3}; route B {segment 4, segment 5, segment 6, segment 7}; Segment 7}; Route C {Segment 1, Segment 2, Segment 8, Segment 7}.
针对路线A,遍历路线A的各个路段,如果该路段不存在历史出行数据,则忽略该路段,例如,路段1不存在历史出行数据,路段2和路段3均存在历史出行数据,那么忽略路段1,获得路段2和路段3的历史出行数据。根据路段2的历史出行数据以及路线A的路线规划数据,构建路线A中路段2的预测数据。将路段2对应的预测数据输入到经训练的熟路预测模型中,获得路段2的预测数据对应的模型预测值。将路段2的预测数据对应的模型预测值进行加权计算,得到路段2的路段预测值。同样地,得到路段3的路段预测值。将路段2和路段3的路段预测值进行加权计算,得到路线A的推荐预测值。For route A, traverse each section of route A. If there is no historical travel data for the section, ignore the section. For example, if there is no historical travel data for section 1, but there is historical travel data for sections 2 and 3, ignore section 1 and obtain the historical travel data for sections 2 and 3. Construct the prediction data for section 2 in route A based on the historical travel data of section 2 and the route planning data of route A. Input the prediction data corresponding to section 2 into the trained familiar road prediction model to obtain the model prediction value corresponding to the prediction data of section 2. Perform weighted calculation on the model prediction values corresponding to the prediction data of section 2 to obtain the section prediction value of section 2. Similarly, obtain the section prediction value of section 3. Perform weighted calculation on the section prediction values of sections 2 and 3 to obtain the recommended prediction value of route A.
采用同样的方式,得到路线B和路线C的推荐预测值。In the same way, the recommended prediction values for routes B and C are obtained.
假设,路线A的推荐预测值为45,路线B的推荐预测值为50,路线C的推荐预测值为65,预设阈值为50。分别将路线A、路线B和路线C的推荐预测值与预设阈值进行比较,将推荐预测值大于或等于预设阈值的路线确定为目标导航路线。得到的目标导航路线包括路线B和路线C。将路线B和路线C按照推荐预测值进行排序,可以将目标导航路线中推荐预测值最大的路线推荐给被导航对象,例如,将路线C推荐给被导航对象。Assume that the recommended prediction value of route A is 45, the recommended prediction value of route B is 50, the recommended prediction value of route C is 65, and the preset threshold is 50. The recommended prediction values of route A, route B, and route C are compared with the preset threshold respectively, and the route with the recommended prediction value greater than or equal to the preset threshold is determined as the target navigation route. The obtained target navigation route includes route B and route C. Route B and route C are sorted according to the recommended prediction value, and the route with the largest recommended prediction value among the target navigation routes can be recommended to the navigated object, for example, route C is recommended to the navigated object.
图2为本公开一实施例中熟路预测模型的训练方法的流程示意图。本公开实施例还提供一种熟路预测模型的训练方法200,如图2所示,该训练方法200包括步骤S201~步骤S203。Fig. 2 is a flowchart of a method for training a familiar road prediction model in an embodiment of the present disclosure. The present disclosure also provides a method 200 for training a familiar road prediction model, as shown in Fig. 2, the training method 200 includes steps S201 to S203.
在步骤S201,获取样本导航路线包括样本路段的样本历史出行数据。In step S201, a sample navigation route including sample historical travel data of a sample road segment is obtained.
其中,样本导航路线的数量可以为一条或多条。样本导航路线可以包括若干个拓扑连通的样本路段。样本路段的样本历史出行数据可以包括表征被导航对象历史出行偏好的样本历史特征数据。样本历史出行数据可以为预设历史时间范围内的样本路段的样本历史出行数据,例如,距样本规划时间半年内或者三个月内。预设历史时间范围可以根据需要设置。The number of sample navigation routes may be one or more. The sample navigation routes may include a number of topologically connected sample sections. The sample historical travel data of the sample sections may include sample historical feature data characterizing the historical travel preferences of the navigated object. The sample historical travel data may be sample historical travel data of the sample sections within a preset historical time range, for example, within half a year or three months from the sample planning time. The preset historical time range may be set as needed.
样本历史出行数据是与被导航对象对应的。例如,可以根据被导航对象的标识,获得被导航对象的对应样本路段的样本历史出行数据。样本历史出行数据中记录了被导航对象在样本导航路线的样本路线规划时间之前实际走过对应样本路段时产生的样本历史特征数据。由于被导航对象之前实际走过该样本路段,因此,样本路段的样本历史特征数据可以表征被导航对象近期对该样本路段的历史出行偏好的变化。The sample historical travel data corresponds to the navigated object. For example, the sample historical travel data of the corresponding sample road section of the navigated object can be obtained according to the identifier of the navigated object. The sample historical travel data records the sample historical feature data generated when the navigated object actually walked through the corresponding sample road section before the sample route planning time of the sample navigation route. Since the navigated object actually walked through the sample road section before, the sample historical feature data of the sample road section can characterize the changes in the navigated object's recent historical travel preferences for the sample road section.
样本导航路线中的样本路段可能有样本历史出行数据,也可能没有样本历史出行数据。例如,被导航对象在预设历史时间范围内经过该样本路段,那么该样本路段具有对应的样本历史出行数据,如果被导航对象在预设历史时间范围内没有经过该样本路段,那么该样本路段没有样本历史出行数据。本公开针对的是样本导航路线中包括的可获取到样本历史出行数据的样本路段,对于不能获取到样本历史出行数据的样本路段其权重的计算,可以采用相关现有技术,本公开不做任何限制。The sample road sections in the sample navigation route may have sample historical travel data or may not have sample historical travel data. For example, if the navigated object passes through the sample road section within a preset historical time range, then the sample road section has corresponding sample historical travel data. If the navigated object does not pass through the sample road section within the preset historical time range, then the sample road section does not have sample historical travel data. The present disclosure is directed to the sample road sections included in the sample navigation route for which sample historical travel data can be obtained. For the calculation of the weights of the sample road sections for which sample historical travel data cannot be obtained, relevant existing technologies can be used, and the present disclosure does not impose any restrictions.
在步骤S202,根据样本路段的样本历史出行数据以及样本导航路线的样本路线规划数据,构建样本路段的训练样本,训练样本包括样本路段的样本规划特征数据。In step S202, a training sample of the sample road section is constructed according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route. The training sample includes the sample planning feature data of the sample road section.
其中,步骤S202中的样本路线规划数据可以理解为具备地图导航功能的应用程序及其服务系统在规划样本导航路线时,需要使用的数据,包括但不限于样本起点、样本终点、样本路
况等。根据样本路段的样本历史出行数据和样本导航路线的样本路线规划数据,构建样本路段的训练样本。训练样本包括样本路段的样本规划特征数据,样本路段的样本规划特征数据将样本导航路线包括的样本路段规划时的特征与该样本路段在样本历史出行数据中记录的特征进行了关联,使得被导航对象的出行偏好变化体现在了样本导航路线的预测数据中。The sample route planning data in step S202 can be understood as the data that the application program with map navigation function and its service system need to use when planning the sample navigation route, including but not limited to the sample starting point, sample end point, sample route, and sample route. Conditions, etc. A training sample of the sample road segment is constructed based on the sample historical travel data of the sample road segment and the sample route planning data of the sample navigation route. The training sample includes sample planning feature data of the sample road segment, and the sample planning feature data of the sample road segment associates the features of the sample road segment included in the sample navigation route when it is planned with the features recorded in the sample historical travel data of the sample road segment, so that the travel preference changes of the navigated object are reflected in the prediction data of the sample navigation route.
在步骤203,采用样本路段的训练样本对熟路预测模型进行训练,熟路预测模型用于基于候选导航路线包括路段的预测数据确定候选导航路线的推荐预测值。In step 203, a familiar road prediction model is trained using training samples of the sample road segments, and the familiar road prediction model is used to determine a recommended prediction value of a candidate navigation route based on prediction data of the candidate navigation route including the road segments.
本公开实施例提供的训练方法,获取样本导航路线包括样本路段的样本历史出行数据;根据样本路段的样本历史出行数据以及样本导航路线的样本路线规划数据,构建样本路段的训练样本,训练样本包括样本路段的样本规划特征数据;采用样本路段的训练样本对熟路预测模型进行训练。由于样本历史出行数据是被导航对象实际发生的出行行为产生的数据,因此,样本历史出项数据表征了被导航对象对相应样本路段的实际出行偏好,当被导航对象的出行偏好随着时间或者环境等的变化而变化时,样本历史出行数据很容易捕捉到被导航对象对相应样本路段的偏好变化。进一步,由于本公开根据样本历史出行数据和样本导航路线的样本路线规划数据,构建的样本路段的训练样本,也就是说,本公开构建的样本路段的训练样本将样本导航路线包括的样本路段规划时的特征与该样本路段在样本历史出行数据中记录的特征进行了关联,使得被导航对象的出行偏好变化体现在了样本路段的训练样本中,从而,采用本公开实施例确定出的训练样本对熟路预测模型进行训练后,熟路预测模型输出的模型预测值更能准确地反映出被导航对象对样本路段在样本导航路线规划时刻的偏好。采用熟路预测模型输出的模型预测值确定出的候选导航路线的推荐预测值更能准确反映出被导航对象对候选导航路线的当前出行偏好。当根据推荐预测值向被导航对象推荐导航路线时,推荐给被导航对象的导航路线更能符合被导航对象的当前出行偏好,被导航对象更有可能选择推荐的导航路线。因此,采用本公开的技术方案训练出的熟路预测模型,可以及时捕捉到被导航对象的出行偏好变化,可以更加准确地向被导航对象推荐符合其偏好的导航路线,更好地实现个性化路线推荐。The training method provided by the disclosed embodiment obtains sample historical travel data of sample sections including sample navigation routes; constructs training samples of sample sections based on the sample historical travel data of the sample sections and sample route planning data of the sample navigation routes, wherein the training samples include sample planning feature data of the sample sections; and uses the training samples of the sample sections to train the familiar road prediction model. Since the sample historical travel data is data generated by the actual travel behavior of the navigated object, the sample historical travel data represents the actual travel preference of the navigated object for the corresponding sample sections. When the travel preference of the navigated object changes with time or environment, the sample historical travel data can easily capture the change in preference of the navigated object for the corresponding sample sections. Furthermore, since the training samples of the sample road segments constructed by the present disclosure are based on the sample historical travel data and the sample route planning data of the sample navigation route, that is, the training samples of the sample road segments constructed by the present disclosure associate the features of the sample road segments included in the sample navigation route when they are planned with the features of the sample road segments recorded in the sample historical travel data, so that the changes in the travel preferences of the navigated object are reflected in the training samples of the sample road segments. Therefore, after the familiar road prediction model is trained using the training samples determined by the embodiments of the present disclosure, the model prediction value output by the familiar road prediction model can more accurately reflect the preference of the navigated object for the sample road segments at the time of sample navigation route planning. The recommended prediction value of the candidate navigation route determined using the model prediction value output by the familiar road prediction model can more accurately reflect the current travel preference of the navigated object for the candidate navigation route. When a navigation route is recommended to the navigated object based on the recommended prediction value, the navigation route recommended to the navigated object can better meet the current travel preference of the navigated object, and the navigated object is more likely to choose the recommended navigation route. Therefore, the familiar route prediction model trained by the technical solution of the present invention can timely capture the changes in the travel preferences of the navigated object, and can more accurately recommend navigation routes that meet the preferences of the navigated object, thereby better realizing personalized route recommendations.
需要说明的是,在本公开实施例中导航路线的推荐方法中采用该熟路预测模型时,熟路预测模型的输入为路段的预测数据。因此,可以按照路段的预测数据的相关内容来理解样本路段的训练样本。It should be noted that when the familiar road prediction model is used in the navigation route recommendation method in the embodiment of the present disclosure, the input of the familiar road prediction model is the prediction data of the road segment. Therefore, the training samples of the sample road segment can be understood according to the relevant content of the prediction data of the road segment.
在一个实施例中,样本历史出行数据可以包括样本历史出行时间,样本历史出行时间可以理解为样本被导航对象经过样本路段时的样本历史时间。样本路线规划数据可以包括样本路线规划时间。样本路线规划时间应当理解为具备导航功能的应用程序及其服务系统根据样本被导航对象输入的样本起点、样本终点规划出样本导航路线的时间。In one embodiment, the sample historical travel data may include the sample historical travel time, which may be understood as the sample historical time when the sample navigation object passes through the sample road section. The sample route planning data may include the sample route planning time. The sample route planning time should be understood as the time when the application program with navigation function and its service system plan the sample navigation route according to the sample starting point and sample end point input by the sample navigation object.
样本路段的样本规划特征数据包括:样本时间特征、样本距离特征,根据样本路段的样本历史出行数据以及样本导航路线的样本路线规划数据,构建样本路段的训练样本,可以包括:根据样本路段的样本历史出行数据中包括的样本历史出行时间和样本导航路线的样本路线规划数据包括的样本路线规划时间,确定样本历史出行时间对应的样本时间特征;根据样本路段的样本历史出行数据中样本历史出行时间对应的样本历史起点和样本历史终点,以及样本导航路线的样本路线规划数据包括的样本规划起点和样本规划终点,确定样本历史出行时间对应的
样本距离特征;至少基于样本时间特征和样本距离特征构建样本路段的训练样本。The sample planning feature data of the sample road section includes: sample time features and sample distance features. According to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, constructing the training sample of the sample road section may include: determining the sample time features corresponding to the sample historical travel time according to the sample historical travel time included in the sample historical travel data of the sample road section and the sample route planning time included in the sample route planning data of the sample navigation route; determining the sample historical travel time corresponding to the sample historical travel time according to the sample historical starting point and sample historical end point corresponding to the sample historical travel time in the sample historical travel data of the sample road section and the sample planning starting point and sample planning end point included in the sample route planning data of the sample navigation route. Sample distance feature: constructing a training sample of the sample road segment based on at least the sample time feature and the sample distance feature.
可以理解的是,如果一条样本路段的样本历史出行时间与样本路线规划时间相差越远,说明样本被导航对象之前走过该样本路段距离样本路线规划时间已经过远,而样本被导航对象对样本路段的熟悉程度是随着时间衰减的,也就是,样本历史出行时间与样本路线规划时间相差越远,说明样本被导航对象对该样本路段越来越不熟悉,反之,样本历史出行时间与样本路线规划时间相差很近,说明样本被导航对象对该样本路段越熟悉。由此可见,根据样本路段的样本历史出行时间和样本导航路线的样本路线规划时间,确定出的与样本历史出行时间对应的样本时间特征,考虑了熟悉度随时间衰减的问题,更能反映出样本被导航对象对相应样本路段的偏好程度或者熟悉程度。It is understandable that if the sample historical travel time of a sample road section differs from the sample route planning time, it means that the sample navigation object has walked the sample road section for a long time since the sample route planning time, and the sample navigation object's familiarity with the sample road section decays over time, that is, the farther the sample historical travel time differs from the sample route planning time, the less familiar the sample navigation object is with the sample road section. Conversely, the closer the sample historical travel time is to the sample route planning time, the more familiar the sample navigation object is with the sample road section. It can be seen from this that the sample time feature corresponding to the sample historical travel time determined based on the sample historical travel time of the sample road section and the sample route planning time of the sample navigation route takes into account the problem of familiarity decaying over time, and can better reflect the sample navigation object's preference or familiarity with the corresponding sample road section.
样本历史起点和样本历史终点可以为样本历史出行时间对应的样本历史出行路线的起点和终点。样本历史出行路线为样本被导航对象历史经过该样本路段时对应的导航路线。样本规划起点和样本规划终点为样本导航路线的起点和终点。The sample history starting point and the sample history end point may be the starting point and the end point of the sample history travel route corresponding to the sample history travel time. The sample history travel route is the navigation route corresponding to the sample navigation object's history passing through the sample road section. The sample planning starting point and the sample planning end point are the starting point and the end point of the sample navigation route.
在本实施例中,样本历史出行数据包括样本历史出行时间对应的样本历史起点和样本历史终点,样本路线规划数据包括样本规划起点和样本规划终点。可以理解的是,如果样本被导航对象历史走过某条样本路段时的导航路线的样本历史起点与样本规划起点之间的距离相差很大、样本历史终点与样本规划终点的距离相差很大,说明即便样本被导航对象曾经走过该样本路段,但样本被导航对象从样本规划起点走向样本规划终点时对该样本路段并不熟悉,或者并不偏好该样本路段。反之,如果样本被导航对象历史走过某条样本路段时的导航路线的样本历史起点与样本规划起点之间的距离相差不大、样本历史终点与样本规划终点的距离相差不大,说明样本被导航对象从样本规划起点走向样本规划终点的过程中偏好该样本路段。In this embodiment, the sample historical travel data includes the sample historical starting point and the sample historical end point corresponding to the sample historical travel time, and the sample route planning data includes the sample planning starting point and the sample planning end point. It can be understood that if the distance between the sample historical starting point and the sample planning starting point of the navigation route when the sample navigation object historically walked through a certain sample road section is very different, and the distance between the sample historical end point and the sample planning end point is very different, it means that even if the sample navigation object has walked through the sample road section, the sample navigation object is not familiar with the sample road section when walking from the sample planning starting point to the sample planning end point, or does not prefer the sample road section. On the contrary, if the distance between the sample historical starting point and the sample planning starting point of the navigation route when the sample navigation object historically walked through a certain sample road section is not much different, and the distance between the sample historical end point and the sample planning end point is not much different, it means that the sample navigation object prefers the sample road section in the process of walking from the sample planning starting point to the sample planning end point.
本公开上述实施例中,根据样本历史出行时间和样本路线规划时间,确定出样本历史出行时间对应的样本时间特征;根据样本历史起点、样本历史终点、样本规划起点、样本规划终点,确定出样本历史出行时间对应的样本距离特征,并至少基于该样本时间特征和样本距离特征构建样本路段的训练样本。可见,本公开构建出的样本路段的训练样本既考虑了时间对样本被导航对象出行偏好的影响,又考虑了样本规划起点和样本规划终点对出行偏好的影响,因此,采用该训练样本训练出的熟路预测模型考虑了时间对出行偏好的影响,并且考虑了路线起点、终点对出行偏好的影响。从而,采用本公开实施例的熟路预测模型确定出的候选导航路线的推荐预测值可以更加准确地反映出被导航对象对候选导航路线的当前偏好,可以更好地反映出被导航对象对导航路线的熟悉度,可以更加准确地向被导航对象推荐出被导航对象熟悉的路线,更好地实现个性化路线推荐。In the above embodiment of the present disclosure, the sample time feature corresponding to the sample historical travel time is determined according to the sample historical travel time and the sample route planning time; the sample distance feature corresponding to the sample historical travel time is determined according to the sample historical starting point, the sample historical end point, the sample planning starting point, and the sample planning end point, and the training sample of the sample road section is constructed based on at least the sample time feature and the sample distance feature. It can be seen that the training sample of the sample road section constructed by the present disclosure not only considers the influence of time on the travel preference of the sample navigation object, but also considers the influence of the sample planning starting point and the sample planning end point on the travel preference. Therefore, the familiar road prediction model trained by using the training sample considers the influence of time on the travel preference, and considers the influence of the route starting point and the end point on the travel preference. Therefore, the recommended prediction value of the candidate navigation route determined by the familiar road prediction model of the embodiment of the present disclosure can more accurately reflect the current preference of the navigation object for the candidate navigation route, can better reflect the familiarity of the navigation object with the navigation route, can more accurately recommend the route familiar to the navigation object, and better realize personalized route recommendation.
在一个实施例中,样本时间特征可以包括样本历史出行时间与样本路线规划时间的时间差。In one embodiment, the sample time feature may include a time difference between the sample historical travel time and the sample route planning time.
在一个实施例中,样本距离特征包括样本第一距离特征和样本第二距离特征,根据样本路段的样本历史出行数据中样本历史出行时间对应的样本历史起点和样本历史终点,以及样本导航路线的样本路线规划数据包括的样本规划起点和样本规划终点,确定样本历史出行时间对应的样本距离特征,包括:将样本历史起点和样本规划起点之间的距离确定为样本第一距离特征;将样本历史终点和样本规划终点之间的距离确定为样本第二距离特征。
In one embodiment, the sample distance feature includes a sample first distance feature and a sample second distance feature. The sample distance feature corresponding to the sample historical travel time is determined based on the sample historical starting point and the sample historical end point corresponding to the sample historical travel time in the sample historical travel data of the sample road section, and the sample planning starting point and the sample planning end point included in the sample route planning data of the sample navigation route, including: determining the distance between the sample historical starting point and the sample planning starting point as the sample first distance feature; determining the distance between the sample historical end point and the sample planning end point as the sample second distance feature.
需要说明的是,样本路段的样本历史出行数据与样本导航路线的样本路线规划数据的差异越大,说明样本导航路线与样本历史出行路线差异越大,对应地,样本被导航对象对样本导航路线的熟悉程度越低;反之,样本被导航对象对样本导航路线的熟悉程度越高。因此,将样本历史起点和样本规划起点之间的距离确定为样本第一距离特征,将样本历史终点和样本规划终点之间的距离确定为样本第二距离特征,使得训练样本可以更好地反映出样本路段的样本历史出行数据与样本导航路线的样本路线规划数据的差异,采用该训练样本对熟路预测模型进行训练后,可以提高熟路预测模型输出的准确性,使得得到的推荐预测值可以更准确地反映出被导航对象对规划导航路线的当前偏好。It should be noted that the greater the difference between the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, the greater the difference between the sample navigation route and the sample historical travel route, and correspondingly, the less familiar the sample navigation object is with the sample navigation route; conversely, the more familiar the sample navigation object is with the sample navigation route. Therefore, the distance between the sample historical starting point and the sample planning starting point is determined as the sample first distance feature, and the distance between the sample historical end point and the sample planning end point is determined as the sample second distance feature, so that the training sample can better reflect the difference between the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route. After using the training sample to train the familiar road prediction model, the accuracy of the familiar road prediction model output can be improved, so that the obtained recommended prediction value can more accurately reflect the current preference of the navigated object for the planned navigation route.
在一个实施例中,样本路段的样本规划特征数据还包括样本路况特征,方法还包括:根据样本路段的样本历史出行数据中样本历史出行时间对应的样本历史路况信息,以及样本路线规划数据包括的样本路段的样本规划路况信息,确定样本历史出行时间对应的样本路况特征。In one embodiment, the sample planning feature data of the sample road section also includes sample road condition features, and the method also includes: determining the sample road condition features corresponding to the sample historical travel time based on the sample historical road condition information corresponding to the sample historical travel time in the sample historical travel data of the sample road section, and the sample planning road condition information of the sample road section included in the sample route planning data.
路线或路段的路况信息可以反映出甚至可以决定被导航对象是否选择该路线或路段,因此,路况信息可以反映出被导航对象对该路线或路段的偏好。从而,根据样本历史路况信息和样本规划路况信息确定出样本历史出行时间对应的样本路况特征,训练样本包括样本路况特征,可以进一步提高采用该训练样本训练出的熟路预测模型输出的准确性。The traffic information of a route or road section can reflect or even determine whether the navigated object chooses the route or road section. Therefore, the traffic information can reflect the navigated object's preference for the route or road section. Therefore, the sample traffic characteristics corresponding to the sample historical travel time are determined based on the sample historical traffic information and the sample planned traffic information. The training sample includes the sample traffic characteristics, which can further improve the accuracy of the familiar road prediction model output trained using the training sample.
示例性地,路况信息可以包括畅通、缓行、拥堵、极度拥堵、无路况或者在建。例如,样本历史路况信息为畅通,样本规划路况信息为拥堵,那么,样本被导航对象对样本导航路线的偏好偏低,样本被导航对象选择该样本导航路线的可能性比较小。需要说明的是,无路况表示无法获知路段的路况。For example, the traffic condition information may include smooth, slow, congested, extremely congested, no traffic condition or under construction. For example, if the sample historical traffic condition information is smooth and the sample planned traffic condition information is congested, then the sample navigation object has a low preference for the sample navigation route, and the sample navigation object is less likely to choose the sample navigation route. It should be noted that no traffic condition means that the traffic condition of the road section cannot be known.
在一个实施例中,样本路况特征可以包括样本历史出行时间对应的样本历史路况信息和该样本路段的样本规划路况信息的差值。例如,给每一种路况信息赋值,例如畅通的值为1,缓行的值为0.8,拥堵的值为0.6,极度拥堵的值为0.4,无路况的值为0.2,在建的值为0。可以将样本历史路况信息和样本规划路况信息的差值,确定为样本路况特征。In one embodiment, the sample traffic condition feature may include the difference between the sample historical traffic condition information corresponding to the sample historical travel time and the sample planned traffic condition information of the sample road section. For example, a value is assigned to each type of traffic condition information, such as 1 for smooth traffic, 0.8 for slow traffic, 0.6 for congestion, 0.4 for extreme congestion, 0.2 for no traffic condition, and 0 for under construction. The difference between the sample historical traffic condition information and the sample planned traffic condition information may be determined as the sample traffic condition feature.
在一个实施例中,路况特征可以包括样本历史出行时间对应的样本历史路况信息以及样本路线规划数据包括的样本路段的样本规划路况信息。In one embodiment, the traffic condition feature may include sample historical traffic condition information corresponding to the sample historical travel time and sample planned traffic condition information of the sample road section included in the sample route planning data.
需要说明的是,样本历史路况信息与样本规划路况信息是相对应的,当样本历史出行时间对应的样本历史路况信息为样本路段的样本历史路况信息时,样本规划路况信息则为样本导航路线中该样本路段在样本规划时间时的路况信息;当样本历史出行时间对应的样本历史路况信息为样本历史出行路线的整体历史路况信息时,样本规划路况信息则为样本导航路线在规划时间时的整体路况信息。It should be noted that the sample historical road condition information and the sample planned road condition information correspond to each other. When the sample historical road condition information corresponding to the sample historical travel time is the sample historical road condition information of the sample section, the sample planned road condition information is the road condition information of the sample section in the sample navigation route at the sample planning time; when the sample historical road condition information corresponding to the sample historical travel time is the overall historical road condition information of the sample historical travel route, the sample planned road condition information is the overall road condition information of the sample navigation route at the planning time.
在一个实施例中,样本路段的样本规划特征数据还包括样本路段占比特征,方法还包括:根据样本路段在样本导航路线中的长度占比,确定样本路段占比特征。In one embodiment, the sample planning feature data of the sample road section also includes a sample road section proportion feature, and the method further includes: determining the sample road section proportion feature according to the length proportion of the sample road section in the sample navigation route.
可以理解的是,样本路段在样本导航路线中的长度占比越大,被导航对象越偏好该样本导航路线。因此,在训练样本包括样本路段占比特征时,采用包括样本路段占比特征的训练样本对熟路预测模型进行训练后,可以进一步提高熟路预测模型输出的准确性,进一步提高采用熟路预测模型确定出的候选导航路线的推荐预测值的准确性,更好地反映被导航对象对候选导航
路线的当前偏好。It can be understood that the greater the proportion of the sample road segment in the sample navigation route, the more the navigated object prefers the sample navigation route. Therefore, when the training samples include the sample road segment proportion feature, the accuracy of the output of the familiar road prediction model can be further improved after the training samples including the sample road segment proportion feature are used to train the familiar road prediction model, and the accuracy of the recommended prediction value of the candidate navigation route determined by the familiar road prediction model can be further improved, so as to better reflect the navigated object's preference for the candidate navigation route. The current preference for the route.
在一个实施例中,至少基于样本时间特征和样本距离特征构建样本路段的训练样本,包括:将同一样本历史出行时间对应的样本时间特征、样本距离特征、样本路况特征和样本路段占比特征,构建为样本路段的一条训练样本。In one embodiment, a training sample of a sample road section is constructed based at least on sample time features and sample distance features, including: constructing a training sample of a sample road section with sample time features, sample distance features, sample road condition features and sample road section ratio features corresponding to the same sample historical travel time.
可以理解的是,样本被导航对象每次经过该样本路段,会产生一个对应的样本历史出行数据,每一个样本历史出行数据对应一个样本历史出行时间,每一个样本历史出行时间对应一条训练样本。样本路段的一条训练样本可以表示为{样本时间特征,样本距离特征,样本路况特征,样本路段占比特征},一条训练样本还可以表示为{样本时间特征,样本第一距离特征,样本第二距离特征,样本历史路况信息,样本规划路况信息,样本路段占比特征}。It is understandable that each time the sample navigation object passes through the sample road section, a corresponding sample historical travel data will be generated, each sample historical travel data corresponds to a sample historical travel time, and each sample historical travel time corresponds to a training sample. A training sample of a sample road section can be expressed as {sample time feature, sample distance feature, sample road condition feature, sample road section proportion feature}, and a training sample can also be expressed as {sample time feature, sample first distance feature, sample second distance feature, sample historical road condition information, sample planned road condition information, sample road section proportion feature}.
在一个实施例中,采用样本路段的训练样本对熟路预测模型进行训练,包括:将样本路段的训练样本输入熟路预测模型,得到样本路段的训练样本对应的模型预测值;基于样本路段的训练样本对应的模型预测值、样本导航路线和样本出行路线,调整熟路预测模型的参数。In one embodiment, a familiar road prediction model is trained using training samples of a sample road section, including: inputting the training samples of the sample road section into the familiar road prediction model to obtain model prediction values corresponding to the training samples of the sample road section; and adjusting parameters of the familiar road prediction model based on the model prediction values corresponding to the training samples of the sample road section, the sample navigation route, and the sample travel route.
在一个实施例中,基于样本路段的训练样本对应的模型预测值、样本导航路线和样本出行路线,调整熟路预测模型的参数,包括:确定样本导航路线的出行覆盖率,出行覆盖率为样本导航路线和样本出行路线的重复路段在样本导航路线中的长度占比;根据样本路段的训练样本对应的模型预测值,确定样本导航路线的样本推荐预测值;根据样本导航路线的样本推荐预测值和样本导航路线的出行覆盖率,确定熟路预测模型的损失值;基于损失值,调整熟路预测模型的参数。In one embodiment, based on the model prediction values corresponding to the training samples of the sample road segment, the sample navigation route and the sample travel route, the parameters of the familiar road prediction model are adjusted, including: determining the travel coverage rate of the sample navigation route, the travel coverage rate is the proportion of the length of the repeated sections of the sample navigation route and the sample travel route in the sample navigation route; determining the sample recommendation prediction value of the sample navigation route according to the model prediction values corresponding to the training samples of the sample road segment; determining the loss value of the familiar road prediction model according to the sample recommendation prediction value of the sample navigation route and the travel coverage rate of the sample navigation route; and adjusting the parameters of the familiar road prediction model based on the loss value.
在一个实施例中,根据样本路段的训练样本对应的模型预测值,确定样本导航路线的样本推荐预测值,包括:将样本导航路线包括样本路段的训练样本输入到熟路预测模型中,获得样本路段的训练样本对应的模型预测值;根据样本路段的训练样本对应的模型预测值,确定样本路段的样本路段预测值;根据样本导航路线包括样本路段的样本路段预测值,确定样本导航路线的样本推荐预测值。In one embodiment, a sample recommendation prediction value of a sample navigation route is determined based on the model prediction value corresponding to the training sample of the sample road section, including: inputting the sample navigation route including the training sample of the sample road section into a familiar road prediction model to obtain the model prediction value corresponding to the training sample of the sample road section; determining the sample road section prediction value of the sample road section based on the model prediction value corresponding to the training sample of the sample road section; determining the sample recommendation prediction value of the sample navigation route based on the sample road section prediction value including the sample road section of the sample navigation route.
在一个实施例中,根据样本路段的训练样本对应的模型预测值,确定样本路段的样本路段预测值,包括:将样本路段的训练样本对应的模型预测值进行加权计算,得到样本路段的样本路段预测值。In one embodiment, determining the sample section prediction value of the sample section according to the model prediction value corresponding to the training sample of the sample section includes: performing weighted calculation on the model prediction value corresponding to the training sample of the sample section to obtain the sample section prediction value of the sample section.
例如,至少基于训练样本中的时间特征,确定训练样本对应的模型预测值的权重值,计算出模型预测值与权重值的乘积。将模型预测值对应的乘机相加,得到样本路段的样本路段预测值。For example, based at least on the time features in the training samples, the weight values of the model prediction values corresponding to the training samples are determined, and the product of the model prediction values and the weight values is calculated. The products corresponding to the model prediction values are added together to obtain the sample road section prediction value of the sample road section.
在一个实施例中,可以将样本路段的训练样本对应的模型预测值相加的和作为样本路段的样本路段预测值。In one embodiment, the sum of the model prediction values corresponding to the training samples of the sample road section may be used as the sample road section prediction value of the sample road section.
在一个实施例中,根据样本导航路线包括样本路段的样本路段预测值,确定样本导航路线的样本推荐预测值,包括:将样本导航路线包括样本路段的样本路段预测值进行加权计算,得到样本导航路线的样本推荐预测值。In one embodiment, the sample recommended prediction value of the sample navigation route is determined based on the sample segment prediction value of the sample segment included in the sample navigation route, including: weighted calculation of the sample segment prediction value of the sample navigation route including the sample segment to obtain the sample recommended prediction value of the sample navigation route.
示例性地,可以至少基于样本路段在样本导航路线中的长度占比,确定样本路段预测值的权重值。计算出样本路段预测值与权重值的乘积。将样本路段预测值对应的乘积相加,得到样
本导航路线的样本推荐预测值。For example, the weight value of the sample road segment prediction value can be determined based on at least the length ratio of the sample road segment in the sample navigation route. The product of the sample road segment prediction value and the weight value is calculated. The products corresponding to the sample road segment prediction values are added together to obtain the sample road segment prediction value. Sample recommended predicted values for this navigation route.
在一个实施例中,可以将样本导航路线中包括样本路段的样本路段预测值相加的和作为样本导航路线的样本推荐预测值。In one embodiment, the sum of the sample segment prediction values of the sample segments included in the sample navigation route may be used as the sample recommendation prediction value of the sample navigation route.
确定出样本导航路线的样本推荐预测值,采用样本导航路线的出行覆盖率作为标签,调整熟路预测模型的参数。The sample recommendation prediction value of the sample navigation route is determined, the travel coverage rate of the sample navigation route is used as a label, and the parameters of the familiar route prediction model are adjusted.
例如,训练样本包括样本时间特征、样本第一距离特征、样本第二距离特征、样本历史路况信息、样本规划路况信息、样本路段占比特征,熟路预测模型的参数包括样本时间特征的权重值、样本第一距离特征的权重值、样本第二距离特征的权重值、样本历史路况信息的权重值、样本规划路况信息的权重值、样本路段占比特征的权重值,采用不同的训练样本对熟路预测模型进行训练,获得使损失值收敛的样本时间特征的权重值、样本第一距离特征的权重值、样本第二距离特征的权重值、样本历史路况信息的权重值、样本规划路况信息的权重值、样本路段占比特征的权重值。For example, the training samples include sample time features, sample first distance features, sample second distance features, sample historical road condition information, sample planned road condition information, and sample road section proportion features. The parameters of the familiar road prediction model include the weight value of the sample time features, the weight value of the sample first distance features, the weight value of the sample second distance features, the weight value of the sample historical road condition information, the weight value of the sample planned road condition information, and the weight value of the sample road section proportion feature. Different training samples are used to train the familiar road prediction model to obtain the weight value of the sample time features, the weight value of the sample first distance features, the weight value of the sample second distance features, the weight value of the sample historical road condition information, the weight value of the sample planned road condition information, and the weight value of the sample road section proportion feature that converge the loss value.
本公开实施例中,训练样本包括样本时间特征、样本第一距离特征、样本第二距离特征、样本历史路况信息、样本规划路况信息、样本路段占比特征。训练样本可以表示为{样本时间特征,样本第一距离特征,样本第二距离特征,样本历史路况信息,样本规划路况信息,样本路段占比特征}。训练样本的维度为6维。本公开实施例中的训练样本扩展性比较强,如果新增加一个样本规划特征,只需要将训练样本的维度由6维扩展到7维即可,从而,本公开技术方案的扩展性更强。In the embodiment of the present disclosure, the training sample includes a sample time feature, a sample first distance feature, a sample second distance feature, a sample historical road condition information, a sample planned road condition information, and a sample road section ratio feature. The training sample can be expressed as {sample time feature, sample first distance feature, sample second distance feature, sample historical road condition information, sample planned road condition information, sample road section ratio feature}. The dimension of the training sample is 6 dimensions. The training sample in the embodiment of the present disclosure has strong scalability. If a new sample planning feature is added, it is only necessary to expand the dimension of the training sample from 6 dimensions to 7 dimensions. Thus, the technical solution of the present disclosure has stronger scalability.
图3为本公开一实施例中导航路线的推荐装置的结构框图。如图3所示,导航路线的推荐装置300包括第一获取模块301、第一构建模块302和确定模块303。Fig. 3 is a structural block diagram of a navigation route recommendation device in an embodiment of the present disclosure. As shown in Fig. 3 , the navigation route recommendation device 300 includes a first acquisition module 301 , a first construction module 302 and a determination module 303 .
第一获取模块301,用于获取候选导航路线包括路段的历史出行数据。The first acquisition module 301 is used to acquire the historical travel data of the candidate navigation route including the road segments.
第一构建模块302,用于根据路段的历史出行数据以及候选导航路线的路线规划数据,构建路段的预测数据,预测数据包括路段的规划特征数据。The first constructing module 302 is used to construct prediction data of the road segment according to the historical travel data of the road segment and the route planning data of the candidate navigation route, wherein the prediction data includes planning feature data of the road segment.
确定模块303,用于基于候选导航路线包括路段的预测数据,确定候选导航路线的推荐预测值。The determination module 303 is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
在一个实施例中,路段的规划特征数据包括:时间特征、距离特征,第一构建模块302包括:第一确定子模块,用于根据路段的历史出行数据中包括的历史出行时间和候选导航路线的路线规划数据包括的路线规划时间,确定历史出行时间对应的时间特征;第二确定子模块,用于根据路段的历史出行数据中历史出行时间对应的历史起点和历史终点,以及候选导航路线的路线规划数据包括的规划起点和规划终点,确定历史出行时间对应的距离特征;构建子模块,用于至少基于时间特征和距离特征构建路段的预测数据。In one embodiment, the planning feature data of the road section includes: time feature, distance feature, and the first construction module 302 includes: a first determination submodule, used to determine the time feature corresponding to the historical travel time according to the historical travel time included in the historical travel data of the road section and the route planning time included in the route planning data of the candidate navigation route; a second determination submodule, used to determine the distance feature corresponding to the historical travel time according to the historical starting point and historical end point corresponding to the historical travel time in the historical travel data of the road section, and the planned starting point and planned end point included in the route planning data of the candidate navigation route; a construction submodule, used to construct the prediction data of the road section based on at least the time feature and the distance feature.
在一个实施例中,距离特征包括第一距离特征和第二距离特征,第二确定子模块用于:将历史起点和规划起点之间的距离确定为第一距离特征;将历史终点和规划终点之间的距离确定为第二距离特征。In one embodiment, the distance feature includes a first distance feature and a second distance feature, and the second determination submodule is used to: determine the distance between the historical starting point and the planned starting point as the first distance feature; and determine the distance between the historical end point and the planned end point as the second distance feature.
在一个实施例中,路段的规划特征数据还包括路况特征,第一构建模块302还包括:第三确定子模块,用于根据路段的历史出行数据中历史出行时间对应的历史路况信息,以及路线规
划数据包括的路段的规划路况信息,确定历史出行时间对应的路况特征。In one embodiment, the planning characteristic data of the road section also includes road condition characteristics, and the first construction module 302 also includes: a third determination submodule for determining the road condition information corresponding to the historical travel time in the historical travel data of the road section and the route planning The planned traffic information of the road sections included in the planning data is used to determine the traffic characteristics corresponding to the historical travel time.
在一个实施例中,路段的规划特征数据还包括路段占比特征,第一构建模块302还包括:第四确定子模块,用于根据路段在候选导航路线中的长度占比,确定路段占比特征。In one embodiment, the planning characteristic data of the road section also includes a road section proportion feature, and the first construction module 302 also includes: a fourth determination submodule, which is used to determine the road section proportion feature according to the length proportion of the road section in the candidate navigation route.
在一个实施例中,构建子模块用于将同一历史出行时间对应的时间特征、距离特征、路况特征和路段占比特征,构建为路段的一条预测数据。In one embodiment, the construction submodule is used to construct the time characteristics, distance characteristics, road condition characteristics and road section proportion characteristics corresponding to the same historical travel time into a piece of prediction data for the road section.
在一个实施例中,确定模块还用于:将候选导航路线包括路段的预测数据输入到经训练的熟路预测模型中,获得路段的预测数据对应的模型预测值;根据路段的预测数据对应的模型预测值,确定路段的路段预测值;根据候选导航路线包括路段的路段预测值,确定候选导航路线的推荐预测值。In one embodiment, the determination module is also used to: input the prediction data of the candidate navigation route including the road segment into the trained familiar road prediction model to obtain the model prediction value corresponding to the prediction data of the road segment; determine the road segment prediction value of the road segment according to the model prediction value corresponding to the prediction data of the road segment; determine the recommended prediction value of the candidate navigation route according to the road segment prediction value of the candidate navigation route including the road segment.
在一个实施例中,确定模块还用于:将路段的预测数据对应的模型预测值进行加权计算,得到路段的路段预测值;将候选导航路线包括路段的路段预测值进行加权计算,得到候选导航路线的推荐预测值。In one embodiment, the determination module is also used to: perform weighted calculation on the model prediction values corresponding to the prediction data of the road section to obtain the road section prediction value of the road section; perform weighted calculation on the road section prediction values including the road section of the candidate navigation route to obtain the recommended prediction value of the candidate navigation route.
图4为本公开一实施例中熟路预测模型的训练装置的结构框图。如图4所示,熟路预测模型的训练装置400包括第二获取模块401、第二构建模块402和训练模块403。Fig. 4 is a block diagram of a training device for a familiar road prediction model in an embodiment of the present disclosure. As shown in Fig. 4 , the training device 400 for a familiar road prediction model includes a second acquisition module 401 , a second construction module 402 and a training module 403 .
第二获取模块401,用于获取样本导航路线包括样本路段的样本历史出行数据。The second acquisition module 401 is used to acquire sample historical travel data of a sample navigation route including a sample road section.
第二构建模块402,用于根据样本路段的样本历史出行数据以及样本导航路线的样本路线规划数据,构建样本路段的训练样本,训练样本包括样本路段的样本规划特征数据。The second construction module 402 is used to construct a training sample of the sample road section according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, wherein the training sample includes the sample planning feature data of the sample road section.
训练模块403,用于采用样本路段的训练样本对熟路预测模型进行训练,熟路预测模型用于基于候选导航路线包括路段的预测数据确定候选导航路线的推荐预测值。The training module 403 is used to train the familiar road prediction model using training samples of the sample road segments, and the familiar road prediction model is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
在一个实施例中,样本路段的样本规划特征数据包括:样本时间特征、样本距离特征,第二构建模块402还用于:根据样本路段的样本历史出行数据中包括的样本历史出行时间和样本导航路线的样本路线规划数据包括的样本路线规划时间,确定样本历史出行时间对应的样本时间特征;根据样本路段的样本历史出行数据中样本历史出行时间对应的样本历史起点和样本历史终点,以及样本导航路线的样本路线规划数据包括的样本规划起点和样本规划终点,确定样本历史出行时间对应的样本距离特征;至少基于样本时间特征和样本距离特征构建样本路段的训练样本。In one embodiment, the sample planning feature data of the sample road section includes: sample time feature and sample distance feature. The second construction module 402 is further used to: determine the sample time feature corresponding to the sample historical travel time according to the sample historical travel time included in the sample historical travel data of the sample road section and the sample route planning time included in the sample route planning data of the sample navigation route; determine the sample distance feature corresponding to the sample historical travel time according to the sample historical starting point and the sample historical end point corresponding to the sample historical travel time in the sample historical travel data of the sample road section, and the sample planning starting point and the sample planning end point included in the sample route planning data of the sample navigation route; and construct a training sample of the sample road section based on at least the sample time feature and the sample distance feature.
在一个实施例中,样本距离特征包括样本第一距离特征和样本第二距离特征,第二构建模块402还用于:样本历史起点和样本规划起点之间的距离确定为样本第一距离特征;将样本历史终点和样本规划终点之间的距离确定为样本第二距离特征。In one embodiment, the sample distance feature includes a sample first distance feature and a sample second distance feature, and the second construction module 402 is further used to: determine the distance between the sample history starting point and the sample planning starting point as the sample first distance feature; and determine the distance between the sample history end point and the sample planning end point as the sample second distance feature.
在一个实施例中,样本路段的样本规划特征数据还包括样本路况特征,第二构建模块402还用于:根据样本路段的样本历史出行数据中样本历史出行时间对应的样本历史路况信息,以及样本路线规划数据包括的样本路段的样本规划路况信息,确定样本历史出行时间对应的样本路况特征。In one embodiment, the sample planning feature data of the sample road section also includes sample road condition features, and the second construction module 402 is also used to determine the sample road condition features corresponding to the sample historical travel time based on the sample historical road condition information corresponding to the sample historical travel time in the sample historical travel data of the sample road section, and the sample planning road condition information of the sample road section included in the sample route planning data.
在一个实施例中,样本路段的样本规划特征数据还包括样本路段占比特征,第二构建模块402还用于:根据样本路段在样本导航路线中的长度占比,确定样本路段占比特征。In one embodiment, the sample planning feature data of the sample road section also includes a sample road section proportion feature, and the second construction module 402 is further used to determine the sample road section proportion feature according to the length proportion of the sample road section in the sample navigation route.
在一个实施例中,第二构建模块402还用于:将同一样本历史出行时间对应的样本时间特
征、样本距离特征、样本路况特征和样本路段占比特征,构建为样本路段的一条训练样本。In one embodiment, the second construction module 402 is further used to: The features of sample distance, sample road condition and sample road section proportion are constructed as a training sample of the sample road section.
在一个实施例中,训练模块包括:获取子模块,用于将样本路段的训练样本输入熟路预测模型,得到样本路段的训练样本对应的模型预测值;调整子模块,用于基于样本路段的训练样本对应的模型预测值、样本导航路线和样本出行路线,调整熟路预测模型的参数。In one embodiment, the training module includes: an acquisition submodule, which is used to input the training samples of the sample road section into the familiar road prediction model to obtain the model prediction values corresponding to the training samples of the sample road section; an adjustment submodule, which is used to adjust the parameters of the familiar road prediction model based on the model prediction values corresponding to the training samples of the sample road section, the sample navigation route and the sample travel route.
在一个实施例中,调整子模块用于:确定样本导航路线的出行覆盖率,出行覆盖率为样本导航路线和样本出行路线的重复路段在样本导航路线中的长度占比;根据样本路段的训练样本对应的模型预测值,确定样本导航路线的样本推荐预测值;根据样本导航路线的样本推荐预测值和样本导航路线的出行覆盖率,确定熟路预测模型的损失值;基于损失值,调整熟路预测模型的参数。In one embodiment, the adjustment submodule is used to: determine the travel coverage rate of the sample navigation route, where the travel coverage rate is the proportion of the length of the repeated sections of the sample navigation route and the sample travel route in the sample navigation route; determine the sample recommendation prediction value of the sample navigation route based on the model prediction value corresponding to the training sample of the sample section; determine the loss value of the familiar road prediction model based on the sample recommendation prediction value of the sample navigation route and the travel coverage rate of the sample navigation route; and adjust the parameters of the familiar road prediction model based on the loss value.
图5为用来实现本公开实施例的电子设备的框图。如图5所示,该电子设备包括:存储器510和处理器520,存储器510内存储有可在处理器520上运行的计算机程序。处理器520执行该计算机程序时实现上述实施例中的方法。存储器510和处理器520的数量可以为一个或多个。FIG5 is a block diagram of an electronic device for implementing an embodiment of the present disclosure. As shown in FIG5 , the electronic device includes: a memory 510 and a processor 520, wherein the memory 510 stores a computer program that can be run on the processor 520. When the processor 520 executes the computer program, the method in the above embodiment is implemented. The number of the memory 510 and the processor 520 can be one or more.
该电子设备还包括:The electronic device also includes:
通信接口530,用于与外界设备进行通信,进行数据交互传输。The communication interface 530 is used to communicate with external devices and perform data exchange transmission.
如果存储器510、处理器520和通信接口530独立实现,则存储器510、处理器520和通信接口530可以通过总线相互连接并完成相互间的通信。该总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component Interconnect,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。If the memory 510, the processor 520 and the communication interface 530 are implemented independently, the memory 510, the processor 520 and the communication interface 530 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG5, but it does not mean that there is only one bus or one type of bus.
可选的,在具体实现上,如果存储器510、处理器520及通信接口530集成在一块芯片上,则存储器510、处理器520及通信接口530可以通过内部接口完成相互间的通信。Optionally, in a specific implementation, if the memory 510, the processor 520 and the communication interface 530 are integrated on a chip, the memory 510, the processor 520 and the communication interface 530 can communicate with each other through an internal interface.
本公开实施例提供了一种计算机可读存储介质,其存储有计算机程序,该程序被处理器执行时实现本公开实施例中提供的方法。An embodiment of the present disclosure provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present disclosure when the program is executed by a processor.
本公开实施例还提供了一种芯片,该芯片包括,包括处理器,用于从存储器中调用并运行存储器中存储的指令,使得安装有芯片的通信设备执行本公开实施例提供的方法。The embodiment of the present disclosure also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present disclosure.
本公开实施例还提供了一种芯片,包括:输入接口、输出接口、处理器和存储器,输入接口、输出接口、处理器以及存储器之间通过内部连接通路相连,处理器用于执行存储器中的代码,当代码被执行时,处理器用于执行申请实施例提供的方法。The embodiment of the present disclosure also provides a chip, including: an input interface, an output interface, a processor and a memory. The input interface, the output interface, the processor and the memory are connected through an internal connection path. The processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.
应理解的是,上述处理器可以是中央处理器(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者是任何常规的处理器等。值得说明的是,处理器可以是支持进阶精简指令集机器(Advanced RISC Machines,ARM)架构的处理器。
It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.
进一步地,可选的,上述存储器可以包括只读存储器和随机存取存储器,还可以包括非易失性随机存取存储器。该存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以包括只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以包括随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用。例如,静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic Random Access Memory,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Syn Link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting description, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本公开的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包括于本公开的至少一个实施例或示例中。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分。并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能。Any process or method description in the flowchart or otherwise described herein can be understood to represent a module, segment or portion of code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiments of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。
The logic and/or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
应理解的是,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。上述实施例方法的全部或部分步骤是可以通过程序来指令相关的硬件完成,该程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。It should be understood that the various parts of the present disclosure may be implemented with hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method may be completed by instructing the relevant hardware through a program, which may be stored in a computer-readable storage medium, and when the program is executed, includes one or a combination of the steps of the method embodiment.
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。上述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。该存储介质可以是只读存储器,磁盘或光盘等。In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.
以上,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到其各种变化或替换,这些都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。
The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims (14)
- 一种导航路线的推荐方法,其特征在于,包括:A method for recommending a navigation route, characterized by comprising:获取候选导航路线包括路段的历史出行数据;Obtain candidate navigation routes including historical travel data of road segments;根据所述路段的历史出行数据以及所述候选导航路线的路线规划数据,构建所述路段的预测数据,所述预测数据包括所述路段的规划特征数据;Constructing prediction data of the road segment according to the historical travel data of the road segment and the route planning data of the candidate navigation route, wherein the prediction data includes planning feature data of the road segment;基于所述候选导航路线包括路段的预测数据,确定所述候选导航路线的推荐预测值。Based on the prediction data of the candidate navigation route including the road segments, a recommended prediction value of the candidate navigation route is determined.
- 根据权利要求1所述的方法,其特征在于,所述路段的规划特征数据包括:时间特征、距离特征,所述根据所述路段的历史出行数据以及所述候选导航路线的路线规划数据,构建所述路段的预测数据,包括:The method according to claim 1 is characterized in that the planning feature data of the road section includes: time features and distance features, and the step of constructing the prediction data of the road section based on the historical travel data of the road section and the route planning data of the candidate navigation route includes:根据所述路段的历史出行数据中包括的历史出行时间和所述候选导航路线的路线规划数据包括的路线规划时间,确定所述历史出行时间对应的所述时间特征;Determining the time feature corresponding to the historical travel time according to the historical travel time included in the historical travel data of the road section and the route planning time included in the route planning data of the candidate navigation route;根据所述路段的历史出行数据中所述历史出行时间对应的历史起点和历史终点,以及所述候选导航路线的路线规划数据包括的规划起点和规划终点,确定所述历史出行时间对应的所述距离特征;Determine the distance feature corresponding to the historical travel time according to the historical starting point and the historical end point corresponding to the historical travel time in the historical travel data of the road section, and the planned starting point and the planned end point included in the route planning data of the candidate navigation route;至少基于所述时间特征和所述距离特征构建所述路段的预测数据。Prediction data of the road segment is constructed based on at least the time feature and the distance feature.
- 根据权利要求2所述的方法,其特征在于,所述距离特征包括第一距离特征和第二距离特征,根据所述路段的历史出行数据中所述历史出行时间对应的历史起点和历史终点,以及所述候选导航路线的路线规划数据包括的规划起点和规划终点,确定所述历史出行时间对应的所述距离特征,包括:The method according to claim 2 is characterized in that the distance feature includes a first distance feature and a second distance feature, and determining the distance feature corresponding to the historical travel time according to the historical starting point and the historical end point corresponding to the historical travel time in the historical travel data of the road segment, and the planned starting point and the planned end point included in the route planning data of the candidate navigation route, comprises:将所述历史起点和所述规划起点之间的距离确定为所述第一距离特征;determining the distance between the historical starting point and the planned starting point as the first distance feature;将所述历史终点和所述规划终点之间的距离确定为所述第二距离特征。The distance between the historical endpoint and the planned endpoint is determined as the second distance feature.
- 根据权利要求2所述的方法,其特征在于,所述路段的规划特征数据还包括路况特征,所述方法还包括:The method according to claim 2 is characterized in that the planning characteristic data of the road section also includes road condition characteristics, and the method further comprises:根据所述路段的历史出行数据中所述历史出行时间对应的历史路况信息,以及所述路线规划数据包括的所述路段的规划路况信息,确定所述历史出行时间对应的所述路况特征。The road condition characteristics corresponding to the historical travel time are determined based on the historical road condition information corresponding to the historical travel time in the historical travel data of the road section and the planned road condition information of the road section included in the route planning data.
- 根据权利要求4所述的方法,其特征在于,所述路段的规划特征数据还包括路段占比特征,所述方法还包括:The method according to claim 4 is characterized in that the planning characteristic data of the road section also includes road section proportion characteristics, and the method further includes:根据所述路段在所述候选导航路线中的长度占比,确定所述路段占比特征。The road section proportion feature is determined according to the proportion of the length of the road section in the candidate navigation route.
- 根据权利要求5所述的方法,其特征在于,至少基于所述时间特征和所述距离特征构建所述路段的预测数据,包括:The method according to claim 5, characterized in that constructing the prediction data of the road section based at least on the time feature and the distance feature comprises:将同一历史出行时间对应的时间特征、距离特征、路况特征和所述路段占比特征,构建为所述路段的一条预测数据。The time characteristics, distance characteristics, road condition characteristics and the road section proportion characteristics corresponding to the same historical travel time are constructed into a piece of prediction data for the road section.
- 根据权利要求1-6中任意一项权利要求所述的方法,其特征在于,基于所述候选导航路线包括路段的预测数据,确定所述候选导航路线的推荐预测值,包括:The method according to any one of claims 1 to 6, characterized in that determining the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segment comprises:将所述候选导航路线包括路段的预测数据输入到经训练的熟路预测模型中,获得所述路段 的预测数据对应的模型预测值;The candidate navigation route includes prediction data of road segments, which are input into a trained familiar road prediction model to obtain the road segments. The model prediction value corresponding to the predicted data;根据所述路段的预测数据对应的模型预测值,确定所述路段的路段预测值;Determining a section prediction value of the section according to a model prediction value corresponding to the prediction data of the section;根据所述候选导航路线包括路段的路段预测值,确定所述候选导航路线的推荐预测值。According to the predicted values of the sections included in the candidate navigation route, a recommended predicted value of the candidate navigation route is determined.
- 根据权利要求7所述的方法,其特征在于,The method according to claim 7, characterized in that根据所述路段的预测数据对应的模型预测值,确定所述路段的路段预测值,包括:Determining a section prediction value of the section according to a model prediction value corresponding to the prediction data of the section includes:将所述路段的预测数据对应的模型预测值进行加权计算,得到所述路段的路段预测值;Performing weighted calculation on the model prediction values corresponding to the prediction data of the road section to obtain the road section prediction value of the road section;根据所述候选导航路线包括路段的路段预测值,确定所述候选导航路线的推荐预测值,包括:Determining a recommended prediction value of the candidate navigation route according to the predicted value of the segment of the candidate navigation route includes:将所述候选导航路线包括路段的路段预测值进行加权计算,得到所述候选导航路线的推荐预测值。The candidate navigation route includes the road segment prediction values of the road segments and performs weighted calculation to obtain the recommended prediction value of the candidate navigation route.
- 一种熟路预测模型的训练方法,其特征在于,包括:A method for training a familiar road prediction model, characterized by comprising:获取样本导航路线包括样本路段的样本历史出行数据;Obtaining sample historical travel data of a sample navigation route including a sample road section;根据所述样本路段的样本历史出行数据以及所述样本导航路线的样本路线规划数据,构建所述样本路段的训练样本,所述训练样本包括所述样本路段的样本规划特征数据;Constructing a training sample of the sample road section according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, wherein the training sample includes the sample planning feature data of the sample road section;采用所述样本路段的训练样本对熟路预测模型进行训练,所述熟路预测模型用于基于候选导航路线包括路段的预测数据确定所述候选导航路线的推荐预测值。The familiar road prediction model is trained using the training samples of the sample road segments, and the familiar road prediction model is used to determine the recommended prediction value of the candidate navigation route based on the prediction data of the candidate navigation route including the road segments.
- 根据权利要求9所述的方法,其特征在于,采用所述样本路段的训练样本对所述熟路预测模型进行训练,包括:The method according to claim 9, characterized in that the familiar road prediction model is trained using the training samples of the sample road section, comprising:将所述样本路段的训练样本输入所述熟路预测模型,得到所述样本路段的训练样本对应的模型预测值;Inputting the training samples of the sample road section into the familiar road prediction model to obtain the model prediction value corresponding to the training samples of the sample road section;基于所述样本路段的训练样本对应的模型预测值、所述样本导航路线和所述样本出行路线,调整所述熟路预测模型的参数。The parameters of the familiar road prediction model are adjusted based on the model prediction values corresponding to the training samples of the sample road section, the sample navigation route and the sample travel route.
- 根据权利要求10所述的方法,其特征在于,基于所述样本路段的训练样本对应的模型预测值、所述样本导航路线和所述样本出行路线,调整所述熟路预测模型的参数,包括:The method according to claim 10, characterized in that adjusting the parameters of the familiar road prediction model based on the model prediction value corresponding to the training sample of the sample road section, the sample navigation route and the sample travel route comprises:确定所述样本导航路线的出行覆盖率,所述出行覆盖率为所述样本导航路线和所述样本出行路线的重复路段在所述样本导航路线中的长度占比;Determine the travel coverage rate of the sample navigation route, where the travel coverage rate is the ratio of the length of the sample navigation route and the repeated sections of the sample travel route in the sample navigation route;根据所述样本路段的训练样本对应的模型预测值,确定所述样本导航路线的样本推荐预测值;Determining a sample recommendation prediction value of the sample navigation route according to the model prediction value corresponding to the training sample of the sample road section;根据所述样本导航路线的样本推荐预测值和所述样本导航路线的出行覆盖率,确定所述熟路预测模型的损失值;Determining a loss value of the familiar route prediction model according to the sample recommendation prediction value of the sample navigation route and the travel coverage rate of the sample navigation route;基于所述损失值,调整所述熟路预测模型的参数。Based on the loss value, the parameters of the familiar road prediction model are adjusted.
- 一种导航路线的推荐装置,其特征在于,包括:A navigation route recommendation device, characterized by comprising:第一获取模块,用于获取候选导航路线包括路段的历史出行数据;A first acquisition module is used to acquire historical travel data of candidate navigation routes including road sections;第一构建模块,用于根据所述路段的历史出行数据以及所述候选导航路线的路线规划数据,构建所述路段的预测数据,所述预测数据包括所述路段的规划特征数据;A first construction module is used to construct prediction data of the road section according to historical travel data of the road section and route planning data of the candidate navigation route, wherein the prediction data includes planning feature data of the road section;确定模块,用于基于所述候选导航路线包括路段的预测数据,确定所述候选导航路线的推 荐预测值。A determination module is used to determine the predicted route of the candidate navigation route based on the predicted data of the candidate navigation route including the road segment. Recommended predicted value.
- 一种熟路预测模型的训练装置,其特征在于,包括:A training device for a familiar road prediction model, characterized by comprising:第二获取模块,用于获取样本导航路线包括样本路段的样本历史出行数据;A second acquisition module is used to acquire sample historical travel data of a sample navigation route including a sample road section;第二构建模块,用于根据所述样本路段的样本历史出行数据以及所述样本导航路线的样本路线规划数据,构建所述样本路段的训练样本,所述训练样本包括所述样本路段的样本规划特征数据;A second construction module is used to construct a training sample of the sample road section according to the sample historical travel data of the sample road section and the sample route planning data of the sample navigation route, wherein the training sample includes the sample planning feature data of the sample road section;训练模块,用于采用所述样本路段的训练样本对熟路预测模型进行训练,所述熟路预测模型用于基于候选导航路线包括路段的预测数据确定所述候选导航路线的推荐预测值。A training module is used to train a familiar road prediction model using training samples of the sample road segments, wherein the familiar road prediction model is used to determine a recommended prediction value of the candidate navigation route based on prediction data of the candidate navigation route including the road segments.
- 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-11中任一项所述的方法。 A computer-readable storage medium having a computer program stored therein, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 11.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310214491.9 | 2023-02-28 | ||
CN202310214491.9A CN116358582A (en) | 2023-02-28 | 2023-02-28 | Training method, device and medium for recommended and acquainted road prediction model of navigation route |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024179127A1 true WO2024179127A1 (en) | 2024-09-06 |
Family
ID=86940670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/138523 WO2024179127A1 (en) | 2023-02-28 | 2023-12-13 | Navigation route recommendation method and apparatus, familiar-route prediction model training method and apparatus, and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116358582A (en) |
WO (1) | WO2024179127A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116358582A (en) * | 2023-02-28 | 2023-06-30 | 阿里巴巴(中国)有限公司 | Training method, device and medium for recommended and acquainted road prediction model of navigation route |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017124331A1 (en) * | 2016-01-20 | 2017-07-27 | Bayerische Motoren Werke Aktiengesellschaft | Navigation apparatus and method |
CN109870164A (en) * | 2017-12-01 | 2019-06-11 | 上海博泰悦臻网络技术服务有限公司 | Navigation terminal and its route preferences prediction technique |
CN110542425A (en) * | 2018-05-28 | 2019-12-06 | 百度在线网络技术(北京)有限公司 | navigation path selection method, navigation device, computer equipment and readable medium |
US20220067813A1 (en) * | 2020-08-27 | 2022-03-03 | Here Global B.V. | Automated autonomous vehicle recommendations based on personalized transition tolerance |
CN114153934A (en) * | 2021-12-13 | 2022-03-08 | 高德软件有限公司 | Machine learning model training, navigation route recommendation method and computer storage medium |
CN114707060A (en) * | 2022-03-15 | 2022-07-05 | 高德软件有限公司 | Navigation route recommendation method, location-based service providing method, and program product |
CN116358582A (en) * | 2023-02-28 | 2023-06-30 | 阿里巴巴(中国)有限公司 | Training method, device and medium for recommended and acquainted road prediction model of navigation route |
-
2023
- 2023-02-28 CN CN202310214491.9A patent/CN116358582A/en active Pending
- 2023-12-13 WO PCT/CN2023/138523 patent/WO2024179127A1/en unknown
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017124331A1 (en) * | 2016-01-20 | 2017-07-27 | Bayerische Motoren Werke Aktiengesellschaft | Navigation apparatus and method |
CN109870164A (en) * | 2017-12-01 | 2019-06-11 | 上海博泰悦臻网络技术服务有限公司 | Navigation terminal and its route preferences prediction technique |
CN110542425A (en) * | 2018-05-28 | 2019-12-06 | 百度在线网络技术(北京)有限公司 | navigation path selection method, navigation device, computer equipment and readable medium |
US20220067813A1 (en) * | 2020-08-27 | 2022-03-03 | Here Global B.V. | Automated autonomous vehicle recommendations based on personalized transition tolerance |
CN114153934A (en) * | 2021-12-13 | 2022-03-08 | 高德软件有限公司 | Machine learning model training, navigation route recommendation method and computer storage medium |
CN114707060A (en) * | 2022-03-15 | 2022-07-05 | 高德软件有限公司 | Navigation route recommendation method, location-based service providing method, and program product |
CN116358582A (en) * | 2023-02-28 | 2023-06-30 | 阿里巴巴(中国)有限公司 | Training method, device and medium for recommended and acquainted road prediction model of navigation route |
Also Published As
Publication number | Publication date |
---|---|
CN116358582A (en) | 2023-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11378404B2 (en) | Methods and systems for generating a horizon for use in an advanced driver assistance system (ADAS) | |
JP4982143B2 (en) | Traffic situation prediction device | |
US20230229170A1 (en) | Incorporating rules into complex automated decision making | |
US8583362B2 (en) | Apparatus, method, and program for generating road information | |
WO2019180004A1 (en) | Methods and systems for generating parking routes | |
CN111044058A (en) | Route planning method, route planning device, computer device, and storage medium | |
KR20170044163A (en) | Driving route matching method and apparatus and storage medium | |
JP2020531843A (en) | How to create an alternative route plan | |
WO2024179127A1 (en) | Navigation route recommendation method and apparatus, familiar-route prediction model training method and apparatus, and medium | |
CN105225510A (en) | For verifying the method and system of the road network of map | |
US10395520B2 (en) | Method and apparatus for constructing a traffic model | |
CN110595493A (en) | Real-time dynamic path planning method and device | |
US20230341238A1 (en) | Determining dissimilarities between digital maps and a road network using predicted route data and real trace data | |
TWI471530B (en) | Navigation system and method | |
JP2013235326A (en) | Traffic flow prediction device, traffic flow prediction method, and traffic flow prediction program | |
US7788026B2 (en) | Method and navigation system for determining routes to a plurality of final destination points | |
US8219313B2 (en) | Navigation device and program | |
CN113654568A (en) | Navigation method, device, medium and equipment based on vehicle braking times | |
CN111223296B (en) | Signal lamp control method and device, computer equipment and storage medium | |
KR20210069446A (en) | Traffic information service system and method | |
JP4736590B2 (en) | Candidate route creation device, method, program, traffic simulation device, method and program, route search device, method, and program | |
JP5918479B2 (en) | Route guidance device | |
JP6912859B2 (en) | Map update device, map update method, computer program, and recording medium on which the computer program is recorded. | |
JP6366296B2 (en) | Route search apparatus and route search method | |
KR102326679B1 (en) | Navigation apparatus of vehicle and guide method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23925072 Country of ref document: EP Kind code of ref document: A1 |