Method and device for generating travel itinerary, equipment, storage medium and program product

By generating users' target interest itinerary guide and travel intention, and combining travel restrictions information of interest points, we determine the target customized itinerary, which solves the problem of unstable accuracy of itinerary planning in the existing technology, and achieves a more accurate and personalized itinerary planning .

CN119416997APending Publication Date: 2025-02-11ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411488569.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

In the prior art, the accuracy of itinerary planning is unstable, especially when the location the user wants to go is not related to previous behavioral information.

Method used

By generating the user's target interest itinerary strategy, at least two first interest points are generated, and the itinerary is planned based on the user's travel intention and these interest points to obtain the candidate itinerary. Then, based on the travel restrictions related to each interest point, the target customized itinerary is determined.

Benefits of technology

It improves the accuracy of travel itinerary planning, so that the generated itinerary is more in line with the user's real location of interest and is more suitable for users' actual travel needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119416997A_ABST
    Figure CN119416997A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for generating a travel itinerary, equipment, a storage medium and a program product, and relates to the technical field of itinerary planning. The method comprises the steps of generating at least two first interest points according to a target interest travel strategy of a user; according to the travel intention of the user and the at least two first interest points, performing travel planning to obtain a candidate travel; the candidate journey comprises at least two second interest points, and the second interest points are interest points in the at least two first interest points; determining a target customized travel in the candidate travel according to travel limitation information related to each second interest point; wherein the travel restriction information comprises information which affects the access of the user to the second interest point. According to the invention, the travel route planning accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of itinerary planning, and in particular to a method and apparatus, device, storage medium, and program product for generating a travel itinerary. Background Art

[0002] Itinerary planning usually refers to designing the best travel route (such as a tourist route) based on the user's desired destination, including considering factors such as distance and time. Large models can be used to perform itinerary planning tasks. Large models usually refer to deep learning models with large scale and many parameters. For example, the user inputs the destination he wants to go to into the large model, and the large model plans the itinerary based on the user's previous behavior information (such as which attractions he has visited), and then outputs a recommended itinerary. However, the place the user currently wants to go is not necessarily related to the previous behavior information, resulting in unstable accuracy of itinerary planning. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a method and device, equipment, storage medium, and program product for generating a travel itinerary, which can improve the accuracy of travel itinerary planning.

[0004] To achieve the above object, a first aspect of an embodiment of the present application proposes a method for generating a travel itinerary, the method comprising:

[0005] Generate at least two first points of interest based on the user's target interest travel guide;

[0006] Performing itinerary planning according to the user's travel intention and at least two of the first points of interest to obtain a candidate itinerary; the candidate itinerary includes at least two second points of interest, and the second points of interest are points of interest among the at least two first points of interest;

[0007] According to the travel restriction information related to each of the second points of interest, a target customized itinerary is determined from the candidate itineraries; wherein the travel restriction information includes information that affects the user's visit to the second points of interest.

[0008] Optionally, the travel intention is based on the intention of the target vehicle to travel, and the travel restriction information includes vehicle travel restriction information of the target vehicle; and determining the target customized itinerary from the candidate itineraries according to the travel restriction information related to each of the second points of interest includes:

[0009] determining a target customized itinerary from the candidate itineraries according to the vehicle travel restriction information related to each of the second points of interest;

[0010] The target customized itinerary is used to guide the target vehicle to travel.

[0011] Optionally, the target customized itinerary includes at least two target points of interest and a recommended visiting time for each of the target points of interest, and the target points of interest are points of interest among the at least two second points of interest; after determining the target customized itinerary from the candidate itineraries according to the vehicle travel restriction information related to each of the second points of interest, the method further includes:

[0012] Filtering the target interest point closest in time from the at least two target interest points according to the recommended visit time to obtain the target nearest interest point;

[0013] Performing a state evaluation based on at least one of the target vehicle and the nearest point of interest of the target to obtain state evaluation information;

[0014] If the status evaluation information indicates that the user cannot normally access the nearest point of interest of the target, the itinerary of the target customized itinerary is updated.

[0015] Optionally, performing a state assessment according to at least one of the target vehicle and the target nearest point of interest to obtain state assessment information includes:

[0016] Acquire target emergency situation information, the target emergency situation information including at least one of first emergency situation information and second emergency situation information, the first emergency situation information including information affecting the driving progress of the target vehicle, and the second emergency situation information including information affecting the visiting progress of the nearest point of interest of the target;

[0017] The state assessment information is generated according to the target emergency situation information.

[0018] Optionally, the target emergency situation information includes first emergency situation information and second emergency situation information, and generating the state assessment information according to the target emergency situation information includes:

[0019] generating point of interest status information according to the second emergency situation information;

[0020] If the point of interest status information indicates that the user can normally access the target nearest point of interest, an arrival time is estimated according to the first emergency information, the position information of the target vehicle and the position information of the target nearest point of interest to obtain a target estimated arrival time;

[0021] The state evaluation information is generated according to the recommended visit time corresponding to the nearest point of interest of the target and the estimated arrival time of the target.

[0022] Optionally, if the status evaluation information indicates that the user cannot normally access the nearest point of interest of the target, updating the target customized itinerary includes:

[0023] If the status evaluation information indicates that the user cannot normally access the nearest point of interest of the target, obtain the category of the nearest point of interest of the target to obtain the target category;

[0024] If the target category characterizes that the target nearest point of interest is a target type location, and if the time difference between the recommended visit time corresponding to the target nearest point of interest and the target estimated arrival time is greater than a preset first time difference threshold, then the target nearest point of interest is deleted from the target customized itinerary;

[0025] If the target category represents that the target nearest point of interest is a non-target type location, and if the time difference between the recommended visit time corresponding to the target nearest point of interest and the target estimated arrival time is greater than a preset second time difference threshold, then the target alternative point of interest replaces the target nearest point of interest in the target customized itinerary; wherein the target alternative point of interest is an interest point in the user's area and has the same category as the target nearest point of interest, and the second time difference threshold is less than the first time difference threshold.

[0026] Optionally, after determining a target customized itinerary from the candidate itineraries according to the vehicle travel restriction information related to each of the second points of interest, the method further includes:

[0027] Acquiring vehicle energy status information of the target vehicle;

[0028] Acquiring energy replenishment preference information of the user;

[0029] Obtaining candidate energy refueling sites along the route of the target customized trip;

[0030] Energy replenishment planning is performed according to the vehicle energy status information, the energy replenishment preference information, and the candidate energy replenishment sites to obtain a target recommended energy replenishment site.

[0031] Optionally, the target customized itinerary includes at least two target points of interest, and the target point of interest is a point of interest among the at least two second points of interest;

[0032] After determining a target customized itinerary from the candidate itineraries according to the vehicle travel restriction information related to each of the second points of interest, the method further includes:

[0033] In response to detecting that the target vehicle travels to the area to which the target point of interest belongs, activating a camera pre-deployed on the target vehicle;

[0034] Capturing an image of the area to which the target point of interest belongs through the camera to obtain a target captured image;

[0035] Inputting the target captured image into a preset large model to generate text, thereby obtaining a target text;

[0036] Generate a target travel note according to the target text corresponding to each target point of interest.

[0037] Optionally, the target customized itinerary includes at least two target points of interest, and the target point of interest is a point of interest among the at least two second points of interest;

[0038] After determining a target customized itinerary from the candidate itineraries according to the vehicle travel restriction information related to each of the second points of interest, the method further includes:

[0039] In response to detecting that the target vehicle is traveling on a road between two target points of interest, acquiring location information along the way;

[0040] Generate a location introduction based on the location information along the way.

[0041] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides a device for generating a travel itinerary, the device comprising:

[0042] An interest point generation module, used to generate at least two first interest points according to the user's target interest travel strategy;

[0043] a preliminary itinerary planning module, configured to plan an itinerary according to the user's travel intention and each of the first points of interest, to obtain a candidate itinerary; the candidate itinerary includes at least two second points of interest, and the second points of interest belong to the first points of interest;

[0044] A target itinerary planning module is used to determine a target customized itinerary from the candidate itineraries based on the travel restriction information related to each of the second points of interest; wherein the travel restriction information includes information that affects the user's visit to the second points of interest.

[0045] To achieve the above-mentioned purpose, the third aspect of an embodiment of the present application proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0046] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0047] To achieve the above-mentioned purpose, the fifth aspect of an embodiment of the present application proposes a computer program product, which includes a computer program, and the computer program is read and executed by a processor of an electronic device, so that when the processor executes the computer program, the method described in the first aspect is implemented.

[0048] The method for generating a travel itinerary, the device for generating a travel itinerary, the electronic device, the computer-readable storage medium and the computer program product proposed in the present application first generate at least two first points of interest according to the user's target interest itinerary strategy. The first point of interest refers to the place of interest to the user. Secondly, the itinerary is planned according to the user's travel intention and at least two first points of interest to obtain a candidate itinerary. The number of candidate itineraries may be one or more, and each candidate itinerary includes at least two second points of interest, and the included second points of interest are different in quantity or time sequence. Then, according to the travel restriction information related to each second point of interest, the target customized itinerary is determined in the candidate itinerary. The travel restriction information includes information that affects the user's visit to the second point of interest. It can be seen that in the process of generating a travel itinerary, the present application first considers the places of interest to the user to generate a preliminary itinerary, and then considers the information that affects the user's visit to each place to generate a target customized itinerary. It can be seen that the generated target customized itinerary not only fits the places of real interest to the user, but is also more suitable for the user's actual travel, thereby improving the accuracy of travel itinerary planning.

[0049] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is a flow chart of a method for generating a travel itinerary provided in an embodiment of the present application;

[0051] Figure 2 is a flow chart of a method for generating a travel itinerary provided by another embodiment of the present application;

[0052] Figure 3 yes Figure 2 Flowchart of step 202;

[0053] Figure 4 yes Figure 3 Flowchart of step 302;

[0054] Figure 5 yes Figure 2 Flow chart of step 203;

[0055] Figure 6 is a flow chart of a method for generating a travel itinerary provided by another embodiment of the present application;

[0056] Figure 7 It is a schematic diagram of the structure of the device for generating a travel itinerary provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0060] The method for generating a travel itinerary, the device for generating a travel itinerary, the electronic device, the computer-readable storage medium, and the computer program product provided in the embodiments of the present application are specifically described through the following embodiments. First, the method for generating a travel itinerary in the embodiments of the present application is described.

[0061] Please refer to Figure 1 , Figure 1 An optional flow chart of a method for generating a travel itinerary is disclosed. Figure 1 The method may include but is not limited to steps 101 to 103.

[0062] Step 101, generating at least two first points of interest according to the user's target interest travel strategy;

[0063] Step 102, performing itinerary planning according to the user's travel intention and at least two first points of interest to obtain a candidate itinerary; the candidate itinerary includes at least two second points of interest, and the second points of interest are points of interest among the at least two first points of interest;

[0064] Step 103: determining a target customized itinerary from the candidate itineraries based on the travel restriction information related to each second point of interest; wherein the travel restriction information includes information that affects the user's visit to the second point of interest.

[0065] It should be noted that the above method for generating a travel itinerary is applied to an electronic device, which may be a terminal or a server. The terminal includes a mobile phone or a vehicle terminal.

[0066] In steps 101 to 103 shown in the embodiment of the present application, in the process of generating a travel itinerary, not only the places of interest to the user are taken into consideration, but also the information that affects the user's visit to these places is taken into consideration. The generated target customized itinerary not only fits the places that the user is actually interested in, but is also more suitable for the user's actual travel, thereby improving the accuracy of travel itinerary planning.

[0067] In step 101, the target interest itinerary strategy refers to the itinerary strategy that the user is interested in. For example, the user sees a good travel itinerary strategy on a webpage or application (app), and collects the travel itinerary strategy. The collected travel itinerary strategy can be used as the target interest itinerary strategy. The first point of interest refers to a place that the user is interested in.

[0068] In one embodiment, step 101 may include: inputting the target interest itinerary guide into a preset large model to extract location information to obtain location information of at least two locations; matching the location information of each location with a geographic location database to obtain a first point of interest.

[0069] For large models, you can use the GPT (Generated Pre-Trained Transformer) series models, such as GPT-3 and GPT-4.

[0070] The category of the first point of interest may include at least one of the following: attractions, restaurants, accommodation, etc. For example, if the first point of interest is "XX Park", the corresponding category is attractions. For another example, if the first point of interest is "XX Restaurant", the corresponding category is restaurants. For another example, if the first point of interest is "XX Hotel", the corresponding category is accommodation. The categories of the initial points of interest may include ports, gas stations, etc.

[0071] In step 102, a heuristic or optimization algorithm (such as a genetic algorithm, a simulated annealing algorithm) can be used to plan the itinerary of the user's travel intention and at least two first points of interest to obtain a candidate itinerary. Travel intention generally refers to the purpose of the user when traveling. Travel intention can include different travel purposes such as work, leisure, shopping, and tourism. The candidate itinerary obtained by itinerary planning based on the user's travel intention and at least two first points of interest meets the user's travel purpose. For example, if the travel intention is "traveling on holidays", the category of the candidate itinerary is a travel itinerary.

[0072] The candidate itinerary includes at least two second points of interest, and the second points of interest are points of interest among the at least two first points of interest. Specifically, the number of second points of interest in the candidate itinerary is less than or equal to the number of first points of interest. The candidate itinerary not only includes at least two second points of interest, but also includes the time sequence of each second point of interest. For example, the candidate itinerary is "go to XX Hotel on the first day, go to XX Market on the second day, and go to XX Park on the third day". Among them, XX Hotel, XX Market and XX Park are all second points of interest.

[0073] In one embodiment, step 102 may include: determining a feature tag of the first point of interest based on the association between the user's travel intention and each first point of interest; determining a second point of interest from at least two first points of interest based on the feature tag of each first point of interest; and setting a recommended visit time for each second point of interest to obtain a candidate itinerary. In this way, the correlation between the candidate itinerary and the travel intention can be improved, and the accuracy of determining the candidate itinerary can be improved. The recommended visit time refers to the recommended time to visit the second point of interest, which can also be called the planned visit time.

[0074] The feature label of the first point of interest may include at least one of the following: a theme matching label, a preference label, and a number of days required label. In one embodiment, the step of determining the feature label of the first point of interest based on the association between the user's travel intention and each first point of interest may include at least one of the following: performing a first semantic analysis on the travel intention to obtain travel theme information, performing theme matching based on the travel theme information and the initial point of interest to obtain a theme matching label; performing a second semantic analysis on the travel intention to obtain the user's travel preference information, performing preference calculation based on the travel preference information and the initial point of interest to obtain a preference label; performing instruction parsing on the travel intention to obtain travel starting point information, performing travel days calculation based on the travel starting point information and the initial point of interest to obtain a number of days required label. The feature label of the first point of interest may also include: the popularity of the point of interest and the priority of the point of interest.

[0075] In one embodiment, the step of determining the second point of interest from at least two first points of interest based on the characteristic tags of each first point of interest may include: filtering at least two first points of interest based on at least one of a topic matching tag, a preference tag, and a day required tag to obtain the second point of interest.

[0076] In step 103, the travel restriction information includes information that affects the user's visit to the second point of interest. Different travel intentions correspond to different travel restriction information. Travel intentions include: intentions based on walking travel, intentions based on target vehicle travel, etc.

[0077] If the travel intention is based on the intention of traveling on foot, the travel restriction information includes information that affects the user's walking visit to the second point of interest. In this case, the travel restriction information is walking travel restriction information. The walking travel restriction information includes walking road restriction information and walking rest point restriction information. For example, walking road restriction information is that the road leading to a certain point of interest is prohibited from pedestrians due to maintenance or the road is closed due to activities. For example, walking rest point restriction information is that there is no rest point on the road leading to a certain point of interest within a preset time. The preset time can be 2 hours, 3 hours, 1 day, etc.

[0078] If the travel intention is based on the intention of the target vehicle to travel, the travel restriction information includes information that affects the user's access to the second point of interest based on the target vehicle. In this case, the travel restriction information is the vehicle travel restriction information of the target vehicle. The vehicle travel restriction information includes vehicle driving restriction information and vehicle energy replenishment point restriction information. Vehicle driving restriction information, for example, prohibits vehicles from passing due to road maintenance leading to a certain point of interest, or restrictions on license plate numbers, etc. Vehicle energy replenishment point restriction information, for example, there is no energy replenishment point on the road leading to a certain point of interest within a preset time. The preset time can be 5 hours, 12 hours, 1 day, etc. Energy replenishment points can include charging stations, gas stations, etc.

[0079] In one embodiment, step 103 may include: generating a visit score of the second point of interest based on the travel restriction information related to each second point of interest and the travel restriction information related to the second point of interest adjacent to the second point of interest; adding the visit scores of the second points of interest of the candidate itinerary to determine the total travel score; and taking the candidate itinerary with the highest total travel score as the target customized itinerary. In this way, when determining the target customized itinerary, the travel restriction information of the adjacent second points of interest is fully utilized, with higher accuracy.

[0080] In one embodiment, the step of generating a visit score of the second point of interest based on the travel restriction information related to each second point of interest and the travel restriction information related to the second point of interest adjacent to the second point of interest may include: generating a first visit score based on the travel restriction information related to each second point of interest; fusing the travel restriction information related to the second point of interest and the travel restriction information related to the second point of interest adjacent to the second point of interest to obtain the travel restriction information of the adjacent point of interest; generating a second visit score based on the travel-related restriction information; and determining the visit score of the second point of interest based on the first visit score and the second visit score. In this way, when determining the visit score, not only the travel restriction information of the individual second point of interest is considered, but also the travel restriction information of the adjacent second point of interest is considered, which has a higher accuracy.

[0081] In the scenario of hiking, that is, when the travel intention is based on hiking and the travel restriction information includes hiking travel restriction information, step 103 may include: determining a target customized itinerary from candidate itineraries according to the hiking travel restriction information related to each second point of interest. The target customized itinerary is used to guide the user to travel on foot.

[0082] In the scenario of self-driving tour, that is, when the travel intention is based on the intention of the target vehicle to travel, and the travel restriction information includes the vehicle travel restriction information of the target vehicle, step 103 may include: determining a target customized itinerary from the candidate itineraries according to the vehicle travel restriction information related to each second point of interest. The target customized itinerary is used to guide the target vehicle to travel. The target customized itinerary includes at least two target points of interest and a recommended visit time for each target point of interest. The target point of interest is a point of interest among the at least two second points of interest.

[0083] In one embodiment, the target customized itinerary can be optimized, including: using a graph theory algorithm (such as the Dijkstra algorithm or the A* search algorithm) to calculate the path of the target customized itinerary to avoid repeated routes; using a multi-objective optimization algorithm (such as Pareto optimization) to assign weights to different optimization goals, using a weighted scoring method to evaluate the route, and selecting the route whose score meets the predetermined conditions.

[0084] In one embodiment, the target customized itinerary can be logically verified to ensure that there are no omissions or unreasonable arrangements. The machine learning model can also be used to continuously optimize the target customized itinerary based on user feedback to further improve accuracy and personalization.

[0085] In one embodiment, referring to Figure 2 After step 103, the method for generating a travel itinerary in this embodiment may further include:

[0086] Step 201, selecting the nearest target interest point from at least two target interest points according to the recommended visit time, and obtaining the nearest target interest point;

[0087] Step 202, performing a state evaluation based on at least one of the target vehicle and the nearest point of interest of the target to obtain state evaluation information;

[0088] Step 203: If the status evaluation information indicates that the user cannot normally access the nearest point of interest of the target, the target customized itinerary is updated.

[0089] In the steps 201 to 203 shown in the embodiment of the present application, in the process of traveling based on a goal-customized itinerary, the itinerary progress can be evaluated timely and effectively to facilitate itinerary updates.

[0090] In step 201, the target nearest point of interest is the point of interest with the fastest recommended visit time. In other words, the target nearest point of interest is the point of interest with the recommended visit time closest to the user's current travel time. For example, the target points of interest in the target customized itinerary are point of interest m1 and point of interest m2. The recommended visit time of point of interest m1 is 10 o'clock on the 1st, and the recommended visit time of point of interest m2 is 13 o'clock on the 1st, then the point of interest closest in time is point of interest m1.

[0091] In step 202, the status evaluation information is used to indicate whether the user cannot normally access the nearest target point of interest or the user can normally access the nearest target point of interest.

[0092] In one embodiment, referring to Figure 3 , step 202 may include:

[0093] Step 301, obtaining target emergency situation information, the target emergency situation information including at least one of first emergency situation information and second emergency situation information, the first emergency situation information including information affecting the driving progress of the target vehicle, and the second emergency situation information including information affecting the visit progress of the nearest point of interest of the target;

[0094] Step 302: Generate status assessment information according to target emergency situation information.

[0095] Steps 301 to 302 shown in the embodiment of the present application introduce target emergency information, which can fully reflect the emergencies that users may encounter when traveling by self-driving vehicles, improve the adaptability of generating travel itineraries, and have high flexibility.

[0096] The first emergency situation information includes road traffic situation information, weather information, and vehicle status information. The road traffic situation information may include traffic jam, no traffic jam, etc. The weather information may include rain, snow, etc. The vehicle status information may include vehicle remaining energy and vehicle performance status.

[0097] The second emergency information includes temporary closure information of the point of interest and information about the time exceeding the plan of the point of interest. The temporary closure information of the point of interest includes temporary closure of the point of interest, non-temporary closure of the point of interest, etc. The time exceeding the plan of the point of interest information includes the time exceeding the plan of the point of interest, and the time exceeding the plan of the point of interest.

[0098] In one example, the method for generating a travel itinerary can be executed by the vehicle-mounted terminal of the target vehicle. The vehicle-mounted terminal can integrate a map service API. The integrated map service API provides navigation from the current location to the target point of interest, and integrates road traffic information (including real-time traffic flow, accident information) and weather information to automatically adjust the itinerary to avoid congestion. The vehicle-mounted terminal can also integrate third-party services, such as integrating information on various points of interest (including attractions, business hours, user reviews, etc.) to help users make decisions. Ticket reservations, accommodation reservations and other services can also be integrated to provide one-stop services. The vehicle-mounted terminal can collect information on the relevant actuators / related sensors of the target vehicle to obtain vehicle status information.

[0099] It should be noted that if the travel itinerary method is executed by a mobile phone, the mobile phone can also integrate the above services to obtain target emergency information.

[0100] The above-mentioned vehicle terminal can also integrate the following services: Parking lot: Integrate the dynamic data of the parking lot, and make recommendations based on the distance to the destination and the available parking spaces when arriving near the destination. 4S shop / repair point: When the vehicle status is abnormal, report the problem and actively search for maintenance sites along the way / nearby. Music entertainment system: Integrate entertainment content such as music, podcasts, audiobooks, etc., and recommend playlists based on the theme of the itinerary destination and user preferences.

[0101] In one embodiment, step 302 may include: inputting the target emergency situation information into the big model for state evaluation to obtain state evaluation information. Specifically, step 302 includes the following scenarios: (1) inputting the first emergency situation information into the big model for state evaluation to obtain state evaluation information. (2) inputting the second emergency situation information into the big model for state evaluation to obtain state evaluation information. (3) inputting the first emergency situation information and the second emergency situation information into the big model for state evaluation to obtain state evaluation information.

[0102] In one embodiment, referring to Figure 4 , step 302 may include:

[0103] Step 401, generating point of interest status information according to the second emergency situation information;

[0104] Step 402: if the POI status information indicates that the user can normally access the nearest POI of the target, an arrival time is estimated based on the first emergency information, the location information of the target vehicle, and the location information of the nearest POI of the target to obtain an estimated arrival time of the target;

[0105] Step 403, generating state evaluation information according to the recommended visit time corresponding to the nearest point of interest of the target and the estimated arrival time of the target.

[0106] In steps 401 to 403 shown in the embodiment of the present application, a first evaluation is first performed based on the second emergency situation information, and under certain conditions, a second evaluation is performed based on the first emergency situation information. While ensuring the accuracy of the status evaluation information, the generation logic is simple and it is convenient to separately adjust the influence of the first emergency situation information and the second emergency situation information on the generated status evaluation information, with high flexibility.

[0107] In step 401, the POI status information is used to indicate that the user can normally access the nearest POI or the user cannot normally access the nearest POI. For example, if the second emergency information indicates that the nearest POI is temporarily closed, the POI status information indicates that the user cannot normally access the nearest POI.

[0108] In one embodiment, step 401 may include any of the following:

[0109] If the second emergency situation information includes temporary closure information of the point of interest, and the temporary closure information of the point of interest indicates that the point of interest is not temporarily closed, generating point of interest status information for indicating that the user can normally access the nearest point of interest to the target;

[0110] If the second emergency situation information includes information about the visit time exceeding the planned time of the point of interest, and the information about the visit time exceeding the planned time of the point of interest is that the visit time does not exceed the planned time, generating point of interest state information for representing that the user can normally visit the nearest point of interest to the target;

[0111] If the second emergency situation information includes temporary closure information of the point of interest and information on over-planned access to the point of interest, and the temporary closure information of the point of interest is not temporarily closed and the over-planned access information of the point of interest is not over-planned access time, then point of interest status information is generated to characterize that the user can normally access the nearest point of interest to the target.

[0112] In step 402, even if the POI status information indicates that the user can normally access the target nearest POI, the user may not necessarily be able to reach the target nearest POI before the recommended access time. Therefore, it is necessary to estimate the target estimated arrival time based on the first emergency information, the location information of the target vehicle, and the location information of the target nearest POI. The target estimated arrival time refers to the time when the target vehicle is estimated to reach the target nearest POI.

[0113] In step 403, the status evaluation information may be determined based on a time comparison result or a time difference between a recommended visit time corresponding to the nearest point of interest of the target and the estimated arrival time of the target.

[0114] In one embodiment, step 403 may include:

[0115] Compare the recommended entry time corresponding to the nearest point of interest of the target with the estimated arrival time of the target to obtain the time comparison result;

[0116] If the result of the time comparison is that the target estimated arrival time is later than the recommended entry time, the time difference between the target estimated arrival time and the recommended entry time is calculated. If the time difference is greater than the preset time difference threshold, status evaluation information is generated to characterize that the user cannot normally reach the nearest point of interest of the target; if the result of the time comparison is that the target estimated arrival time is earlier than or equal to the recommended visit time, status evaluation information is generated to characterize that the user can normally reach the nearest point of interest of the target.

[0117] The benefit of the above embodiment is that the time comparison result and the time difference are used together as factors affecting the status assessment information, thereby improving the accuracy of generating the status assessment information.

[0118] In one embodiment, referring to Figure 5 , step 203 may include:

[0119] Step 501, if the status evaluation information indicates that the user cannot normally access the nearest point of interest of the target, obtain the category of the nearest point of interest of the target to obtain the target category;

[0120] Step 502, if the target category characterizes that the target nearest point of interest is a target type location, and if the time difference between the recommended visit time corresponding to the target nearest point of interest and the target estimated arrival time is greater than a preset first time difference threshold, then the target nearest point of interest is deleted from the target customized itinerary;

[0121] Step 503, if the target category characterizes that the target nearest point of interest is a non-target type location, and if the time difference between the recommended visit time corresponding to the target nearest point of interest and the target estimated arrival time is greater than a preset second time difference threshold, then the target alternative point of interest replaces the target nearest point of interest in the target customized itinerary.

[0122] In steps 501 to 503 shown in the embodiment of the present application, different itinerary updating methods (deletion or replacement) may be adopted to improve practicality, considering whether the nearest point of interest of the target is a target type location or a non-target type location.

[0123] Specifically, the target category is used to characterize whether the nearest point of interest of the target is a target type location or a non-target type location. The target category may include scenic spots, shopping malls, ports, restaurants, accommodation, etc. If scenic spots, shopping malls, and ports belong to the target type, then the corresponding points of interest are target type locations. If restaurants and accommodation belong to the non-target type, then the corresponding points of interest are non-target type locations.

[0124] The target candidate points of interest are points of interest in the area where the user is located and are of the same category as the nearest point of interest of the target. Specifically, in the scenario where the user is traveling based on the target vehicle, the target candidate points of interest are points of interest in the area where the target vehicle is located and are of the same category as the nearest point of interest of the target. The target candidate points of interest can be points of interest generated from the target interest travel guide. The target candidate points of interest can also be points of interest extracted from the area where the target vehicle is located based on area-related location information.

[0125] It should be noted that the second time difference threshold and the first time difference threshold can be set according to requirements. In one example, the second time difference threshold is smaller than the first time difference threshold, which can improve the timeliness of replacing the nearest point of interest of the target.

[0126] In one embodiment, referring to Figure 6 After step 103, the method for generating a travel itinerary provided in this embodiment may further include:

[0127] Step 601, obtaining vehicle energy status information of a target vehicle;

[0128] Step 602, obtaining the user's energy replenishment preference information;

[0129] Step 603, obtaining candidate charging stations along the route of the target customized trip;

[0130] Step 604 , performing energy replenishment planning based on the vehicle energy status information, the energy replenishment preference information, and the candidate energy replenishment sites, and obtaining a target recommended energy replenishment site.

[0131] Steps 601 to 604 shown in the embodiment of the present application can combine various factors to perform energy replenishment planning with high accuracy.

[0132] In step 601, vehicle energy status information is used to characterize the energy status of the target vehicle, such as the remaining energy amount, the remaining driving time, etc.

[0133] In step 602, the energy replenishment preference information is used to represent the user's preference information for energy replenishment, such as price preference information and energy replenishment station (gas station, charging station) preference information.

[0134] In step 603 , the candidate energy replenishment site refers to a candidate site that can replenish energy for the target vehicle.

[0135] In step 604, the target recommended energy replenishment site is used to represent the target site for energy replenishment for the target vehicle. When planning energy replenishment, the electronic device can integrate relevant information of energy replenishment stations, specifically, information such as real-time availability, quantity and price of charging stations and gas stations.

[0136] In one embodiment, step 604 may include: estimating the charging time according to the vehicle energy state information and the state transfer equation to obtain the target recommended charging time; screening the candidate charging sites according to the charging preference information to obtain the preliminary charging sites; calculating the arrival time according to the location information of the target vehicle and the location information of the preliminary charging sites to obtain the target estimated arrival time; screening the preliminary charging sites according to the target estimated arrival time being earlier than the target recommended charging time to obtain the target recommended charging site. In this way, the target estimated arrival time is introduced to ensure that the target vehicle can be replenished with energy in a timely manner.

[0137] In one embodiment, after step 604, the method for generating a travel itinerary of this embodiment may further include: obtaining the energy state of the target vehicle at predetermined intervals to obtain a reference energy state, and obtaining the location information of the target vehicle at predetermined intervals to obtain reference location information; performing energy state loss calculation based on the reference location information and the location information of the target recommended energy replenishment site to obtain the target estimated required energy state; if the target estimated required energy state is greater than the reference energy state, selecting the target candidate energy replenishment site from the candidate energy replenishment sites, and generating energy shortage reminder information. In this way, in the process of the user traveling based on the target vehicle, the energy replenishment site can be effectively evaluated to reduce the possibility of not being able to replenish energy in time.

[0138] In one embodiment, after step 103, the method for generating a travel itinerary provided by this embodiment may further include: in response to detecting that the target vehicle travels to the area to which the target point of interest belongs, starting a camera pre-deployed on the target vehicle; using the camera to capture images of the area to which the target point of interest belongs, to obtain a target captured image; inputting the target captured image into a preset large model to generate text, to obtain a target text; and generating a target travel diary according to the target text corresponding to each target point of interest. In this way, automatic travel diary generation is achieved.

[0139] In one example, the process of generating and publishing a travel diary may include: (1) Trip-triggered automatic shooting: through GPS positioning and target points of interest, the area to which the target point of interest belongs (such as a certain attraction or destination) is automatically identified, triggering the vehicle camera to shoot. Or, user shooting: during the trip, the user actively calls up the vehicle camera to shoot. (2) Content grouping: using AI image recognition technology to analyze the captured content and identify key elements in the photo, such as people, landmarks, scenery, etc.; applying algorithms to score photos and filter based on criteria such as composition, sharpness, exposure and overall visual appeal; using clustering algorithms to group photos, similar or related photos are grouped together to reduce redundancy and select representative photos in each group. (3) Content generation: combining the vehicle's GPS positioning and trip data, target copy, also known as descriptive copy, can be automatically generated for each attraction or important moment; using natural language generation (NLG) technology to create a natural and fluent target travel diary based on image content and trip data. (4) User interaction and editing: Users can review and edit the generated target travel notes in the car or mobile phone APP, add personal feelings or adjust the copy; the interface allows users to select photos and videos, delete unsatisfactory content or replace them with more suitable media files. (5) Content synchronization and sharing: The generated target travel notes are synchronized to the user's smartphone APP via wireless network; users can perform secondary editing of the travel notes in the mobile phone APP and support sharing on third-party social platforms.

[0140] In one embodiment, after step 103, the method for generating a travel itinerary provided by this embodiment may further include: in response to detecting that the target vehicle is traveling on a road between two target points of interest, obtaining information about places along the way; and generating a place introduction according to the information about places along the way. In this way, even when traveling from one target point of interest to another, a place introduction can be provided to enhance interactivity with the user.

[0141] In one example, the process of generating and publishing a place introduction may include: (1) Voice input and recognition: The user asks questions or requests through the voice interaction system on the vehicle side, and the system converts the user's voice input into text. (2) Multimodal recognition: Through camera capture, deep learning models such as convolutional neural networks (CNN) or recurrent neural networks (RNN) are applied to recognize gesture patterns and combine them with other modal information (such as voice and visual scene understanding) to provide a more comprehensive contextual understanding. (3) Intent recognition and semantic understanding: NLP technology is used to understand the user's intention and the specific content of the inquiry. (4) Image recognition: Image recognition technology (such as feature extraction, target detection and recognition) is used to understand the object or scene referred to by the user. (5) Geographic Information System: The system has built-in GIS and IMU for direction positioning, identification and display of geographical location information of attractions and landmarks along the way. (6) Navigation data: Access to detailed map data is required, including route, attraction location, landmark and other information. (7) Data query: According to the user's inquiry, the information and introduction of relevant attractions or landmarks are queried in the database. (8) Content generation: Generate location introductions, that is, generate introductions to attractions or landmarks, including text, audio or images. (9) Multi-round loop: Provide coherent, relevant and useful attraction introductions and information in multi-round conversations through dialogue state tracking (DST), dialogue management (DM), context management, intent recognition and tracking, etc. (10) Machine learning and recommendation algorithms: Use machine learning algorithms to provide personalized introductions and recommendations based on users' travel habits and preferences.

[0142] In one embodiment, after obtaining the target customized itinerary (including the target customized itinerary that has not been updated and the updated target customized itinerary), the target customized itinerary is output as a structured itinerary, including: itinerary construction: constructing the target customized itinerary in chronological order, including the activity arrangement at each time point; information integration: integrating pictures, introductions, relative distances and other information of the attractions to form a structured itinerary description.

[0143] In one embodiment, a synchronization mechanism is introduced to ensure that the travel data of the target customized travel on the mobile phone side and the vehicle side remain consistent.

[0144] In one embodiment, a detail viewing function is introduced: by accessing a third-party service, users can view detailed information of each scenic spot, including pictures, text, videos, reviews, etc. Editing function: allows users to edit the itinerary through voice commands or interface operations, such as deleting or replacing points of interest. Alternative plan provision function: through user historical behavior and preference analysis, similarity algorithms (such as cosine similarity, Jaccard similarity), recommendation algorithms (such as collaborative filtering, content-based recommendation), etc., a list of alternative locations is extracted from the location database for users to choose to replace.

[0145] In an application example, a method for generating a travel itinerary may include:

[0146] (1) A user wants to visit City M. He browses travel notes and guides posted by other users on websites / apps such as social applications and instant messaging applications, including itineraries, introductions to, and reviews of various attractions in City M.

[0147] (2) After selecting several travel guides that are useful to them, the user copies the travel guides, sends them to the mobile application dialog box, and uses voice or text input to express the travel intention of "driving to Sanya during the holidays."

[0148] (3) After receiving the user's travel intention, the intention is analyzed and processed, and the location information such as attractions and hotels in the itinerary is extracted and matched with the geographic location information. The obtained points of interest are used as waypoints in the itinerary, and the route is planned according to the weather, distance, travel intention, etc. to obtain a customized itinerary.

[0149] (4) The itinerary is customized for the target and output in a structured form in chronological order, including: a map of scenic spots, travel days, travel S log, itinerary introduction, scenic spot pictures, scenic spot names, scenic spot introductions, relative distances between scenic spots, etc.

[0150] (5) The user views the generated itinerary, browses the itinerary as a whole, and then views the details of a single attraction, including: graphic and video introductions of the attraction, business information, tickets, other user reviews, etc. The user can make advance reservations and purchase tickets.

[0151] (6) The user can make secondary modifications to the attractions that he is not satisfied with or does not want to visit, and delete or replace them through voice commands / interface operations. When clicking, the replacement options can be selected from the attraction list.

[0152] (7) After the user completes the operation on the mobile phone, the itinerary can be synchronized to the vehicle computer. The itinerary can be viewed on the vehicle computer, or edited again on the vehicle computer or mobile phone and synchronized in both directions.

[0153] (8) On the day of departure, the user gets in the car and clicks on navigation in the itinerary card. The application then pulls up the car map to initiate navigation.

[0154] (9) During the trip, the vehicle computer plays entertainment content such as music, podcasts, audiobooks, etc. based on user preferences, tour destinations and themes.

[0155] (10) During driving, the vehicle computer will broadcast and introduce scenic spots along the way and at the destination based on the current location and direction of the route. Users can interact with the vehicle computer, and the vehicle computer will provide corresponding feedback based on the user's dialogue. Users can also actively ask questions such as "What mountain is on the left?" "What do you think of the park we just passed by?" The vehicle computer will respond to the dialogue.

[0156] (11) During a self-driving tour, the vehicle will dynamically adjust the itinerary route in real time based on weather, road conditions, traffic control information, vehicle energy status, driving time and other information.

[0157] (12) If a user makes a temporary change during the trip, such as a visit to a certain attraction taking longer than expected, accommodation / catering adjustments, a vehicle accident, etc., resulting in insufficient remaining time / missing business hours, the user will receive a reminder when boarding the vehicle stating, "There is insufficient time to visit a certain attraction. Do you want to skip this attraction / visit other attractions?" After the user confirms, the itinerary and route will be updated for the user.

[0158] (13) During the journey, the vehicle computer uses the cameras inside and outside the vehicle to automatically take photos according to the nodes of each destination, and combines the photos and videos taken by the user to generate a travel diary with text and summary report after the trip, including the total mileage of the trip, the number of attractions visited, the time spent, and the evaluation of the itinerary attractions. Users can synchronize the travel diary to the mobile phone, and share it on social platforms after secondary editing on the mobile phone.

[0159] The various technical features in the above embodiments can be arbitrarily combined as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they are not described one by one. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of this specification.

[0160] The present application also discloses a device for generating a travel itinerary, referring to Figure 7 The device for generating a travel itinerary includes: an interest point generation module 701, a preliminary itinerary planning module 702 and a target itinerary planning module 703. The interest point generation module 701 is used to generate at least two first interest points according to the user's target interest itinerary strategy; the preliminary itinerary planning module 702 is used to plan the itinerary according to the user's travel intention and each first interest point to obtain a candidate itinerary; the candidate itinerary includes at least two second interest points, and the second interest points belong to the first interest points; the target itinerary planning module 703 is used to determine the target customized itinerary in the candidate itinerary according to the travel restriction information related to each second interest point; wherein the travel restriction information includes information that affects the user's visit to the second interest point.

[0161] In one embodiment, the device for generating a travel itinerary also includes an itinerary update module, which is used to: filter out the target point of interest with the closest time from at least two target points of interest according to the recommended visit time to obtain the target nearest point of interest; perform a status evaluation based on at least one of the target vehicle and the target nearest point of interest to obtain status evaluation information; if the status evaluation information indicates that the user cannot normally access the target nearest point of interest, then update the itinerary of the target customized itinerary.

[0162] In one embodiment, the device for generating a travel itinerary also includes an energy replenishment planning module, which is used to: obtain vehicle energy status information of the target vehicle; obtain user energy replenishment preference information; obtain candidate energy replenishment sites along the target customized itinerary; perform energy replenishment planning based on the vehicle energy status information, energy replenishment preference information, and candidate energy replenishment sites to obtain a target recommended energy replenishment site.

[0163] In one embodiment, the device for generating a travel itinerary also includes a travel diary generation module, which is used to: in response to detecting that the target vehicle travels to the area where the target point of interest belongs, start the camera pre-deployed on the target vehicle; use the camera to capture images of the area where the target point of interest belongs to obtain a target captured image; input the target captured image into a preset large model to generate text to obtain a target text; generate a target travel diary based on the target text corresponding to each target point of interest.

[0164] In one embodiment, the device for generating a travel itinerary further includes an introduction generation module, which is used to: obtain location information along the way in response to detecting that the target vehicle is traveling on a road between two target points of interest; and generate a location introduction based on the location information along the way.

[0165] It should be noted that the specific implementation of the device for generating a travel itinerary is basically the same as the specific implementation of the method for generating a travel itinerary described above, and will not be described in detail here.

[0166] The embodiment of the present application also discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for generating a travel itinerary as described above when executing the computer program. The electronic device may be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.

[0167] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method for generating a travel itinerary as described above.

[0168] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0169] An embodiment of the present application also provides a computer program product, which includes a computer program. The computer program is read and executed by a processor of an electronic device, so that when the processor executes the computer program, the method for generating a travel itinerary as described above is implemented.

[0170] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0171] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0172] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0173] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0174] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0175] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0176] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0177] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0178] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0179] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0180] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for generating a travel itinerary, characterized in that: The method comprises: Generate at least two first points of interest based on the user's target interest travel guide; Performing itinerary planning according to the user's travel intention and at least two of the first points of interest to obtain a candidate itinerary; the candidate itinerary includes at least two second points of interest, and the second points of interest are points of interest among the at least two first points of interest; According to the travel restriction information related to each of the second points of interest, a target customized itinerary is determined from the candidate itineraries; wherein the travel restriction information includes information that affects the user's visit to the second points of interest.

2. The method according to claim 1, characterized in that The travel intention is based on the intention of the target vehicle to travel, and the travel restriction information includes vehicle travel restriction information of the target vehicle; The step of determining a target customized itinerary from the candidate itineraries according to the travel restriction information related to each of the second points of interest includes: determining a target customized itinerary from the candidate itineraries according to the vehicle travel restriction information related to each of the second points of interest; The target customized itinerary is used to guide the target vehicle to travel.

3. The method according to claim 2, characterized in that The target customized itinerary includes at least two target points of interest and a recommended visiting time for each of the target points of interest, wherein the target point of interest is a point of interest among the at least two second points of interest; After determining a target customized itinerary from the candidate itineraries according to the vehicle travel restriction information related to each of the second points of interest, the method further includes: Filtering the target interest point closest in time from the at least two target interest points according to the recommended visit time to obtain the target nearest interest point; Performing a state evaluation based on at least one of the target vehicle and the nearest point of interest of the target to obtain state evaluation information; If the status evaluation information indicates that the user cannot normally access the nearest point of interest of the target, the itinerary of the target customized itinerary is updated.

4. The method according to claim 3, characterized in that The step of performing a state evaluation based on at least one of the target vehicle and the nearest point of interest of the target to obtain state evaluation information includes: Acquire target emergency situation information, the target emergency situation information including at least one of first emergency situation information and second emergency situation information, the first emergency situation information including information affecting the driving progress of the target vehicle, and the second emergency situation information including information affecting the visiting progress of the nearest point of interest of the target; The state assessment information is generated according to the target emergency situation information.

5. The method according to claim 4, characterized in that The target emergency situation information includes first emergency situation information and second emergency situation information; The generating the state assessment information according to the target emergency situation information comprises: generating point of interest status information according to the second emergency situation information; If the point of interest status information indicates that the user can normally access the target nearest point of interest, an arrival time is estimated according to the first emergency information, the position information of the target vehicle and the position information of the target nearest point of interest to obtain a target estimated arrival time; The state evaluation information is generated according to the recommended visit time corresponding to the nearest point of interest of the target and the estimated arrival time of the target.

6. The method according to claim 5, characterized in that If the status evaluation information indicates that the user cannot normally access the nearest point of interest of the target, updating the itinerary of the target customized itinerary includes: If the status evaluation information indicates that the user cannot normally access the nearest point of interest of the target, obtain the category of the nearest point of interest of the target to obtain the target category; If the target category characterizes that the target nearest point of interest is a target type location, and if the time difference between the recommended visit time corresponding to the target nearest point of interest and the target estimated arrival time is greater than a preset first time difference threshold, then the target nearest point of interest is deleted from the target customized itinerary; If the target category represents that the target nearest point of interest is a non-target type location, and if the time difference between the recommended visit time corresponding to the target nearest point of interest and the target estimated arrival time is greater than a preset second time difference threshold, then the target alternative point of interest replaces the target nearest point of interest in the target customized itinerary; wherein the target alternative point of interest is an interest point in the user's area and has the same category as the target nearest point of interest, and the second time difference threshold is less than the first time difference threshold.

7. A device for generating a travel itinerary, characterized in that: The device comprises: An interest point generation module, used to generate at least two first interest points according to the user's target interest travel strategy; a preliminary itinerary planning module, configured to plan an itinerary according to the user's travel intention and each of the first points of interest, to obtain a candidate itinerary; the candidate itinerary includes at least two second points of interest, and the second points of interest belong to the first points of interest; A target itinerary planning module is used to determine a target customized itinerary from the candidate itineraries based on the travel restriction information related to each of the second points of interest; wherein the travel restriction information includes information that affects the user's visit to the second points of interest.

8. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and the computer program is read and executed by a processor of an electronic device, so that when the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Travel display method and device and computer program product

    CN121071218A

  • Travel generation method and system based on large language model

    CN121188294A