Methods, devices, computer equipment, and readable storage media for travel route planning

CN122566874APending Publication Date: 2026-08-14SHENZHEN TENCENT TRAVEL SERVICE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0005]基于此,有必要针对上述技术问题,提供一种能够避免发生资源浪费问题的出行路线规划方法、装置、计算机设备、计算机可读存储介质和计算机程序产品

Benefits of technology

[0033]第五方面,本申请还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述第一方面中任一实施例所述的出行路线规划方法的步骤。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122566874A_ABST
    Figure CN122566874A_ABST
Patent Text Reader

Abstract

This application relates to a travel route planning method, apparatus, computer device, computer-readable storage medium, and computer program product. The method includes: displaying an input destination in a destination input area; displaying an input arrival time in an arrival time input area; displaying at least one travel planning item, each travel planning item indicating a travel route planned from the user's location to the destination according to the arrival time; and in each travel planning item, displaying a mode of transportation matching the travel route and displaying a departure time planned according to the travel route and mode of transportation. Using the travel route planning method provided in this application can avoid the problem of resource waste.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for travel route planning. Background Technology

[0002] With the increasing complexity of urban roads and the diversification of travel modes, traditional paper maps can no longer meet users' needs for travel route queries.

[0003] In existing technologies, the route query function provided by travel apps has replaced the traditional function of querying routes using paper maps. Users only need to enter their destination in the travel app, and the app can quickly output multiple detailed routes.

[0004] However, the usage environment of travel apps is constantly changing, and users' travel needs are also changing. Based on existing route planning methods, users need to try multiple times at different times to obtain a suitable route, resulting in wasted resources. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for travel route planning that can avoid resource waste, in order to address the above-mentioned technical problems.

[0006] Firstly, this application provides a method for planning travel routes, including:

[0007] The destination input area displays the entered destination;

[0008] The arrival time input area displays the entered arrival time;

[0009] Display at least one travel planning item, each travel planning item indicating a travel route from the user's location to the destination according to the arrival time;

[0010] Each trip planning project displays the travel modes that match the trip route, as well as the departure time planned according to the trip route and the travel mode.

[0011] Secondly, this application also provides a travel route planning device, comprising:

[0012] The first display module is used to display the entered destination in the destination input area;

[0013] The second display module is used to display the input arrival time in the arrival time input area;

[0014] The third display module is used to display at least one travel planning item, each travel planning item indicating a travel route from the user's location to the destination according to the arrival time;

[0015] The fourth display module is used to display the travel mode that matches the travel route in each travel planning project, and to display the departure time planned according to the travel route and the travel mode.

[0016] In one embodiment, the first display module is specifically used to display a destination input area; in a map display area corresponding to the destination input area, a map range matching the address fragment entered in the destination input area is displayed; in the map range, a location marker of the predicted destination matching the address fragment is displayed; in response to a preset operation on the location marker, the location indicated by the location marker after the preset operation is displayed as the destination in the destination input area.

[0017] In one embodiment, the second display module is specifically configured to display a schedule control; in response to a trigger operation on the schedule control, display at least one schedule; and in response to a schedule selection operation that selects a target schedule from the at least one schedule, display the arrival time determined according to the schedule time in the target schedule in the arrival time input area.

[0018] In one embodiment, the first display module is further configured to display a navigation page, which displays frequently used pick-up points that match the user's location and a trigger control for route planning; in response to a trigger event of the trigger control, a route planning page is displayed that uses the frequently used pick-up points as the user's location for route planning; and the route planning page displays a destination input area and an arrival time input area.

[0019] In one embodiment, the third display module is specifically configured to: display a route planning execution control in a locked state when at least one of the destination input area and the arrival time input area is empty; display the route planning execution control in an unlocked state when the destination input area displays the destination and the arrival time input area displays the arrival time; display a route planning results page in response to a trigger operation on the unlocked route planning execution control; and display at least one travel planning item planned according to the user's location, the destination, and the arrival time on the route planning results page.

[0020] In one embodiment, the at least one travel planning item is displayed in the travel planning item area, and the third display module is further configured to, in response to a selection operation of selecting a preferred item from the at least one travel planning item, display the target travel route indicated by the preferred item in a map area displayed alongside the travel planning item area.

[0021] In one embodiment, the third display module is specifically configured to display a candidate travel route indicated by the priority recommendation item and meeting the preset recommendation conditions in a selected state; to display other travel routes indicated by the priority recommendation item besides the candidate travel route in an optional state that is weaker than the selected state; and to display the travel route selected by the route selection operation in a selected state in response to a route selection operation on any optional travel route.

[0022] In one embodiment, the fourth display module is further configured to: display a service jump control pointing to a travel service page matching the travel mode indicated by the travel planning project in each travel planning project; in response to a trigger operation on the service jump control in the selected travel planning project, jump to the target travel service page pointed to by the service jump control in the selected travel planning project; and display travel service information matching the travel route and travel mode in the selected travel planning project on the target travel service page.

[0023] In one embodiment, the at least one travel planning project includes priority recommended projects that meet the priority recommendation criteria; the third display module is further configured to display recommendation description information for the priority recommended project and the priority recommended travel mode for the priority recommended project; wherein the recommendation description information includes environmental information for at least one environmental dimension that meets the priority recommendation criteria, and the priority recommended travel mode is determined based on the environmental information.

[0024] In one embodiment, the preferred travel mode is obtained through a preferred travel mode determination step. The third display module is specifically used to obtain multiple preset environmental dimensions and at least one recommendation strategy corresponding to each environmental dimension. Each recommendation strategy includes environmental conditions and a recommended travel mode. According to the priority corresponding to each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy containing environmental conditions that meet the environmental information, the preferred travel mode is determined.

[0025] In one embodiment, the multiple environmental dimensions include a distance dimension and a traffic condition dimension, and the environmental information includes travel distance and real-time traffic conditions; wherein, the priority corresponding to the distance dimension is higher than the priority corresponding to the traffic condition dimension; the third display module is specifically used to determine a first candidate recommendation strategy according to the travel distance and at least one recommendation strategy corresponding to the distance dimension, wherein the travel distance meets the environmental conditions in the first candidate recommendation strategy; determine a second candidate recommendation strategy according to the real-time traffic conditions and at least one recommendation strategy corresponding to the traffic condition dimension, wherein the real-time traffic conditions meet the environmental conditions in the second candidate recommendation strategy; and if the first candidate recommendation strategy and the second candidate recommendation strategy have the same recommended travel mode, determine the same recommended travel mode as the preferred recommended travel mode.

[0026] In one embodiment, the plurality of environmental dimensions further includes a weather dimension, and the environmental information also includes real-time weather. The priority of the road condition dimension is higher than that of the weather dimension. The third display module is further configured to determine a third candidate recommendation strategy according to the real-time weather and at least one recommendation strategy corresponding to the weather dimension, in the case where there is no shared recommended travel mode between the first candidate recommendation strategy and the second candidate recommendation strategy, or where there are multiple shared recommended travel modes, and the real-time weather meets the environmental conditions in the third candidate recommendation strategy; and to determine the shared recommended travel modes in the first candidate recommendation strategy, the second candidate recommendation strategy, and the third candidate recommendation strategy as the preferred recommended travel modes.

[0027] In one embodiment, the preferred travel mode is obtained through a preferred travel mode determination step. The third display module is specifically used to obtain a preset travel mode recommendation engine; generate model instruction information containing a first instruction and a second instruction, wherein the first instruction instructs to obtain environmental information for each of the multiple environmental dimensions, and the second instruction instructs to determine the preferred travel mode according to the priority corresponding to each environmental dimension, the environmental information under each environmental dimension, and a recommendation strategy containing environmental conditions that meet the environmental information; input the generated model instruction information into the travel mode recommendation engine to obtain the preferred travel mode output by the travel mode recommendation engine according to the first instruction and the second instruction.

[0028] In one embodiment, the preferred travel mode is obtained through a preferred travel mode determination step. The third display module is specifically used to obtain the destination and arrival time, obtain the user location, and obtain environmental information based on the user location and the destination; using a pre-trained travel mode recommendation engine, the module calculates the travel information of various candidate travel modes using the destination, arrival time, user location, and environmental information, whereby the travel information includes the departure time of the corresponding travel route; and using the travel mode recommendation engine, the module determines the preferred travel mode based on the travel information, the priorities of multiple preset environmental dimensions, and the recommendation strategy under each environmental dimension.

[0029] In one embodiment, the third display module is further configured to receive streaming data output by the travel mode recommendation engine during the process of determining the preferred travel mode; parse the received streaming data from the start marker to the end marker to obtain parsed data; and generate a route planning result page based on the parsed data, wherein the route planning result page includes the at least one travel planning item corresponding to the at least one travel mode.

[0030] In one embodiment, the parsed data includes text data of text type and resource data of preset resource type; the third display module is specifically used to obtain a page template including a travel planning project area, the page template including multiple preset fill areas, the travel planning project area including at least a portion of the multiple fill areas; the text data and the resource data are respectively filled into their respective multiple fill areas to obtain a route planning result page, wherein the travel planning project area forms the at least one travel planning project after being filled.

[0031] Thirdly, this application also provides a computer device, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps of the travel route planning method described in any of the embodiments of the first aspect above.

[0032] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the travel route planning method described in any of the embodiments of the first aspect above.

[0033] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the travel route planning method described in any of the embodiments of the first aspect above.

[0034] The aforementioned travel route planning method, apparatus, computer equipment, computer-readable storage medium, and computer program product display the input destination in the destination input area, the input arrival time in the arrival time input area, and at least one travel planning item. Each travel planning item indicates a travel route planned from the user's location to the destination according to the arrival time. In each travel planning item, the travel mode matching the travel route is displayed, and the departure time planned according to the travel route and the travel mode is displayed. The travel route planning method provided in this application not only displays a destination input area for users to input their destination, but also an arrival time input area for users to input their arrival time. Users only need to input the destination and arrival time once to obtain at least one travel planning item that indicates a travel route from the user's location to the destination according to the arrival time. The travel planning item also displays the travel mode that matches the travel route and the departure time planned according to the travel route and travel mode. Users can select any travel planning item according to their actual needs and depart for the destination using the departure time, travel route and travel mode indicated by the selected travel planning item. There is no need to trigger travel route planning at different times to arrive at the destination on time, thereby avoiding resource waste. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is an application environment diagram of the travel route planning method in one embodiment;

[0037] Figure 2 This is a flowchart illustrating a travel route planning method in one embodiment;

[0038] Figure 3 This is a schematic diagram of a smart text input box in one embodiment;

[0039] Figure 4 This is a schematic diagram of a travel planning project in one embodiment;

[0040] Figure 5 This is a schematic diagram of a travel planning project in another embodiment;

[0041] Figure 6 This is a schematic diagram of a travel planning project in another embodiment;

[0042] Figure 7 This is a schematic diagram of a navigation page in one embodiment;

[0043] Figure 8 This is a schematic diagram of a route planning page in one embodiment;

[0044] Figure 9 This is a schematic diagram of the route planning page in another embodiment;

[0045] Figure 10 This is a schematic diagram of a route planning execution control in one embodiment;

[0046] Figure 11 This is a schematic diagram of the route planning execution control in another embodiment;

[0047] Figure 12 This is a schematic diagram of the route planning results page in one embodiment;

[0048] Figure 13 This is a schematic diagram of a service redirection control in one embodiment;

[0049] Figure 14 This is a schematic diagram illustrating the priority recommendations for a particular item in one embodiment;

[0050] Figure 15 This is a schematic diagram of the preferred items in another embodiment;

[0051] Figure 16 This is a schematic diagram of the preferred items in another embodiment;

[0052] Figure 17 This is a schematic diagram of the preferred items in another embodiment;

[0053] Figure 18 A flowchart for generating a route planning results page in one embodiment;

[0054] Figure 19 A flowchart for generating a route planning results page in another embodiment;

[0055] Figure 20 This is a flowchart illustrating the route planning method in another embodiment;

[0056] Figure 21 This is a schematic diagram of a travel route planning system in one embodiment;

[0057] Figure 22 This is a structural block diagram of a travel route planning device in one embodiment;

[0058] Figure 23 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0060] In order to clearly describe the technical solution of this application and facilitate understanding of the technical solution of this application, the key concepts involved in this application will be explained below.

[0061] Arrival time indicates the time the user needs to reach their destination.

[0062] A travel planning project indicates a planned route from the user's location to their destination based on arrival time.

[0063] User location refers to the starting point when traveling to the destination. In other words, the destination is the end point of the travel route, and the user location is the starting point of the travel route.

[0064] A travel route refers to the set of locations and paths connecting them that a user passes through on their journey from their location to their destination.

[0065] Travel mode refers to the means of transportation or mode of movement used by a user to travel from their location to their destination based on a travel route.

[0066] Departure time refers to the time it takes for a user to travel from their location to their destination.

[0067] Travel time refers to the time required to travel from a user's location to their destination using the mode of transportation indicated by the travel planning project.

[0068] Travel costs refer to the expenses incurred in traveling from a user's location to their destination using the mode of transportation indicated by a travel planning program.

[0069] Predicting the destination refers to predicting the destination based on the address fragment entered in the destination input area.

[0070] Priority recommended projects refer to travel planning projects selected from at least one travel planning project that meet the user's needs or current situation.

[0071] The first instruction instructs the acquisition of environmental information for each of the multiple environmental dimensions. The second instruction instructs the determination of the preferred travel mode based on the priority of each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy that includes environmental conditions that meet the environmental information.

[0072] The travel route planning method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, the terminal can display a destination input area, an arrival time input area, and at least one travel planning item on the screen.

[0073] For example, the terminal can display a destination input area and an arrival time input area. After the user enters the destination and arrival time in the destination input area and arrival time input area according to the travel needs, the terminal can display at least one travel planning item. Each travel planning item indicates a travel route from the user's location to the destination planned according to the arrival time. In each travel planning item, the travel mode matching the travel route and the departure time planned according to the travel route and travel mode are displayed.

[0074] A client application containing the target application can be installed on the terminal. This target application can be an application used for route planning. Specifically, the target application can be a navigation application or a travel service application. Furthermore, this application does not limit the form of the application; it can be a parent application running on an operating system, a sub-application running within a parent application (such as a mini-program), or a webpage.

[0075] The terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart TVs, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Head-mounted devices can include virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc.

[0076] In one exemplary embodiment, such as Figure 2 As shown, a travel route planning method is provided, which includes the following steps:

[0077] Step 201: Display the entered destination in the destination input area.

[0078] The destination input area refers to the area used by users to enter their destination.

[0079] For example, the destination input area can be a text input box. Specifically, the terminal can display the text input box on the screen, where the user can enter their travel destination according to their actual travel needs. The terminal will then display the user-entered destination in the text input box.

[0080] Furthermore, the destination input area can also be a smart text input box linked to a database, which could be a location database. Specifically, the terminal can display this linked database smart text input box on the screen. When the user starts typing text in the smart text input box based on their travel needs, the terminal can search the location database for highly relevant locations in real time based on the entered content and dynamically display them in a list below or to the side of the smart text input box, forming a drop-down menu or sidebar-style recommendation list. For example, such as... Figure 3 As shown, after a user enters "Xi'an" in the smart text input box according to their travel needs, the terminal can search the location database for locations with a high degree of matching with "Xi'an" and display these locations through a recommendation list displayed below the smart text input box. These locations can be places such as "Xi'an North Railway Station", "Xi'an Museum", and "Xi'an Hotel" for the user to choose from. After the user makes a selection, the terminal can use the user's selected location as the destination and display it.

[0081] Step 202: Display the entered arrival time in the arrival time input area.

[0082] Arrival time refers to the time specified by the user to arrive at the destination. This arrival time can be a specific time, such as 17:30, 14:00, 20:35, etc. It can also be a time interval, such as 14:20-14:30, 18:00-18:10, 7:25-8:25, etc.

[0083] The arrival time input area refers to the area where users can enter their arrival time. For example, this arrival time input area can be a text input box. Specifically, the terminal can display this text input box on the screen, and the user can enter the desired arrival time in the text box according to their actual travel needs. The terminal will then display the user-entered arrival time in the text input box.

[0084] The arrival time input area can also be a scroll wheel-style time selection control. Specifically, this control can consist of several side-by-side scroll wheels, each corresponding to a different element of time: day, hour, and minute. Users can select the arrival time by scrolling up and down the wheels. For example, a user can first scroll the "day" wheel to set the date of arrival, then scroll the "hour" and "minute" wheels to set the specific hour and minute. After the user finishes scrolling, the terminal determines and displays the arrival time based on the scroll wheels in the control.

[0085] The arrival time input area can also be a drop-down menu-style time selection control. Specifically, this drop-down menu-style time selection control can consist of multiple drop-down menus, each representing a specific time dimension. For example, the first drop-down menu corresponds to the day, displaying several days of the current month to choose from; the second drop-down menu corresponds to the hour, displaying times from 0:00 to 23:00; and the third drop-down menu corresponds to the minute, displaying times from 00:00 to 59:00. For example, users can click on each drop-down menu sequentially according to their travel needs to select the day, hour, and minute of arrival. After the user has made their selections, the terminal can determine and display the arrival time based on the various drop-down menus in the drop-down menu-style time selection control.

[0086] Step 203: Display at least one travel planning item.

[0087] Each travel planning item indicates a travel route planned from the user's location to the destination according to the arrival time.

[0088] User location refers to the starting point when traveling to the destination. In other words, the destination is the end point of the travel route, and the user location is the starting point of the travel route.

[0089] For example, the user's location could be their current location. Specifically, the terminal can automatically obtain the user's current location through its built-in positioning system and determine that location as the user's location.

[0090] The user's location can also be a user-specified location. Specifically, users can manually enter a location as their user location in the relevant settings interface provided on the terminal, based on their travel planning needs.

[0091] A travel route refers to the set of locations and paths connecting them that a user passes through on their journey from their location to their destination.

[0092] In some exemplary embodiments, after a user enters a destination in the destination input area and an arrival time in the arrival time input area, the terminal can plan at least one travel route from the user's location to the user's input destination based on the arrival time entered by the user, and display at least one travel planning item to indicate at least one travel route.

[0093] Step 204: In each travel planning project, display the travel modes that match the travel route, and display the departure time planned according to the travel route and the travel mode.

[0094] Mode of travel refers to the means of transportation or form of movement used to travel from a user's location to their destination based on a travel route. This mode of travel can include walking, cycling, driving, taking a taxi, and public transportation. Public transportation includes buses, subways, light rail, ferries, and trams.

[0095] Departure time refers to the time from the user's location to the destination. This departure time can be a specific time, such as 10:43, 12:00, 16:30, etc. The arrival time can also be a time interval, such as 8:00-8:10, 13:00-13:30, 19:00-19:05, etc.

[0096] For example, the travel time required to travel from the user's location to the destination can be determined first based on the travel route and mode of transportation, and then the departure time can be determined based on the arrival time and travel time.

[0097] In some exemplary embodiments, such as Figure 4 As shown, the terminal can display at least one travel planning item, and in each of the displayed travel planning items, it displays the mode of transportation that matches the travel route indicated by the travel planning item, and displays the departure time planned according to the travel route and the mode of transportation.

[0098] The aforementioned route planning method displays the input destination in the destination input area and the input arrival time in the arrival time input area. It also displays at least one travel planning item, each indicating a planned route from the user's location to the destination based on the arrival time. Furthermore, each travel planning item displays the matching mode of transportation and the planned departure time based on the route and mode of transportation. The route planning method provided in this application not only displays a destination input area for the user to input the destination but also an arrival time input area for the user to input the arrival time. The user only needs to input the destination and arrival time once to obtain at least one travel planning item indicating a planned route from the user's location to the destination based on the arrival time. The travel planning item also displays the matching mode of transportation and the planned departure time based on the route and mode of transportation. The user can select any travel planning item according to their actual needs and travel to the destination using the selected departure time, route, and mode of transportation, eliminating the need to trigger route planning at different times to arrive at the destination on time, thus avoiding resource waste.

[0099] In an optional embodiment of this application, the method further includes: in each of the travel planning projects, displaying the travel time and travel cost from the user's location to the destination according to the travel route.

[0100] Travel time refers to the time required to travel from the user's location to their destination using the mode of transportation indicated by this travel planning project.

[0101] Travel cost refers to the expense required to travel from a user's location to their destination using the mode of transportation indicated by the travel planning project. Specifically, for example, if the mode of transportation is the subway, the travel cost could be the subway fare; if the mode of transportation is a taxi, the travel cost could be the taxi fare.

[0102] In some exemplary embodiments, such as Figure 5 As shown, each travel planning project displays not only the mode of transportation and departure time, but also the travel time and cost. Furthermore, when the mode of transportation is not ridesharing or taxis, each travel planning project can also display the specific travel route, as shown below. Figure 6 As shown, Figure 6 The travel planning project also shows specific subway routes when the mode of transportation is the subway.

[0103] In an exemplary embodiment, displaying the input destination in the destination input area includes: displaying the destination input area; displaying a map range matching the address fragment entered in the destination input area in a map display area corresponding to the destination input area; displaying a location marker of the predicted destination matching the address fragment in the map range; and, in response to a preset operation on the location marker, displaying the location indicated by the location marker after the preset operation as the destination in the destination input area.

[0104] A map display area refers to an area used to display map content. This map content can include the location relationships between different places, topography, and transportation routes.

[0105] Address fragments refer to information used to describe a destination. Address fragments can be related to geographical areas, such as city names, town names, village names, development zone names, etc. They can also be related to transportation facilities, such as train station names, airport names, bus station names, subway station names, etc. Furthermore, they can be related to landmarks, natural landscapes, streets, roads, and public service institutions.

[0106] Furthermore, the map extent can be determined based on a certain radius or specific area delineation rules, with the address fragment indicating the location as the center. For example, if the address fragment entered in the destination input area indicates the location as Train Station A, then Train Station A can be used as the center, and the map extent can be determined based on a certain radius or specific area delineation rules, and this determined map extent can be displayed in the map display area.

[0107] Destination prediction refers to predicting a destination based on a fragment of the address entered in the destination input area. For example, in real-world use cases, the content entered by the user in the destination input area may not be a complete destination address. For instance, the user might only enter a street name, a landmark name, or a general term for a region, rather than the complete address of a specific location. Therefore, after the user enters content in the destination input area, the system can predict the destination the user intends to travel to based on that input.

[0108] The preset operations can include confirmation and adjustment operations. The confirmation operation is used to confirm that the location indicated by the location marker is the destination. For example, after a user enters an address fragment in the destination input area, the terminal can display a map range matching the address fragment in the map display area corresponding to the destination input area. Within this map range, a location marker indicating the predicted destination matching the address fragment will be displayed. If the user confirms that the location indicated by the location marker is the desired destination, that is, the predicted destination is the user's desired destination, then a confirmation operation can be performed on the location marker. For example, this confirmation operation can specifically be a click operation.

[0109] The adjustment operation is used to adjust the location markers, that is, to adjust the predicted destination. After the user enters an address fragment in the destination input area, the terminal can display a map range matching the address fragment in the map display area corresponding to the destination input area. Within this map range, location markers for the predicted destination matching the address fragment are displayed. If the user confirms that the location indicated by the location marker is not the desired destination, that is, the predicted destination is not the user's intended destination, the location marker can be adjusted. For example, this confirmation operation can specifically be a drag operation. Specifically, the user can drag the location marker to the corresponding position of the desired destination within the map range.

[0110] In some exemplary embodiments, the terminal can display a destination input area on the screen, where the user can enter a fragment of the address of the desired destination. The terminal can then display a map range that matches the address fragment entered in the destination input area in a map display area corresponding to the destination input area, and within the map range, display location markers for the predicted destination that match the address fragment.

[0111] Furthermore, when a user confirms that the location indicated by the location marker is the desired destination, the user can confirm the location marker. In response to the user's confirmation of the location marker, the terminal can display the location indicated by the location marker as the destination in the destination input area.

[0112] If a user confirms that the location indicated by the location marker is not the desired destination, the user can adjust the location marker. In response to the user's adjustment, the terminal will display the location indicated by the adjusted location marker as the destination in the destination input area.

[0113] The above describes a method for displaying a destination input area; in the map display area corresponding to the destination input area, a map range matching the address fragment entered in the destination input area is displayed; within the map range, location markers for the predicted destination matching the address fragment are displayed; in response to a preset operation on the location markers, the method of displaying the location indicated by the location markers after the preset operation as the destination in the destination input area can display a map range matching the address fragment entered in the destination input area in the map display area corresponding to the destination input area, and display location markers within the map range. Users can perform preset operations on the location markers to determine the final destination displayed in the destination input area, which can effectively improve the accuracy of the destination and avoid the problem of inaccurate route planning due to inaccurate destinations.

[0114] In one exemplary embodiment, displaying the input arrival time in the arrival time input area includes: displaying a schedule control; displaying at least one schedule in response to a trigger operation on the schedule control; and displaying the arrival time determined according to the schedule time in the target schedule in the arrival time input area in response to a schedule selection operation that selects a target schedule from the at least one schedule.

[0115] A schedule refers to activities that need to be performed at a specific location within a specific time period, based on a predetermined plan. Therefore, a schedule at least includes schedule time information, schedule location information, and schedule activity content. Specifically, a schedule could be something like, "Attend the XX meeting at location A from 8:30 to 10:30 on XX / XX / XXXX," "Attend a fitness class at the community gymnasium from 10:00 to 11:00 on Saturday," or "Have dinner at restaurant X from 20:00 to 21:00 on XX / XX / XXXX," etc.

[0116] Furthermore, a schedule control is a control used to manage and display schedules. For example, users can create and delete schedules using a schedule control, and the schedule control can also display the user's schedule to the user.

[0117] In some exemplary embodiments, when a user needs to view the schedule, the schedule control can be triggered, and the terminal will display the user's schedule in response to the user's triggering operation on the schedule control.

[0118] Furthermore, users can select the schedule they need based on their actual requirements. The selected schedule is the target schedule, and this selection can be a click operation. In response to the user's selection of the target schedule, the terminal first obtains the schedule time of the target schedule, then determines the arrival time based on the schedule time, and displays the arrival time in the arrival time input area.

[0119] Specifically, the arrival time can be set to a preset time range before the scheduled time. For example, if the scheduled time is 15:00, the arrival time can be set to 14:40; if the scheduled time is 19:30, the arrival time can be set to 19:00. The specific arrival time setting method can be pre-set by technical personnel or determined according to the schedule type.

[0120] In some optional embodiments, displaying the entered destination in the destination input area includes: displaying a schedule control; displaying at least one schedule in response to a trigger operation on the schedule control; and displaying a destination determined according to the schedule location in the target schedule in the destination input area in response to a schedule selection operation that selects a target schedule from the at least one schedule.

[0121] In some exemplary embodiments, the terminal can display a schedule control. When a user needs to view the schedule, the user can trigger the schedule control, and the terminal will display the user's schedule in response to the user's triggering operation on the schedule control.

[0122] Furthermore, users can select any schedule according to their actual needs. In response to the user's selection of the target schedule, the terminal can first obtain the location of the target schedule, then determine the destination based on the schedule location, and display the destination in the destination input area.

[0123] The above-described schedule control displays at least one schedule in response to a trigger operation on the schedule control; in response to a schedule selection operation that selects a target schedule from the at least one schedule, the arrival time determined according to the schedule time in the target schedule is displayed in the arrival time input area. This provides a method for obtaining arrival time through a schedule, eliminating the need for the user to manually input the arrival time and effectively improving the efficiency of obtaining arrival time.

[0124] In an exemplary embodiment, the method further includes: displaying a navigation page, which displays frequently used pick-up points that match the user's location, and displaying a trigger control for a route planning function; in response to a trigger event of the trigger control, displaying a route planning page that uses the frequently used pick-up points as the user's location for route planning; and displaying a destination input area and an arrival time input area on the route planning page.

[0125] Navigation refers to a service that guides users from their origin to their destination. A navigation page is a page used to implement navigation functionality.

[0126] User location refers to the user's current geographical location. Frequently used pick-up points can be within a certain range around the user's location, and are frequently chosen by users as the starting point for taking transportation.

[0127] The route planning function is used to plan a travel route for a user based on their location, destination, and arrival time, so that the user can reach their destination from their location at the arrival time.

[0128] In some exemplary embodiments, the terminal may first display a navigation page. During the display of the navigation page, the terminal may obtain the user's location and determine whether there are frequently used pick-up points around the user's location based on the user's historical route planning information. If so, the frequently used pick-up points and trigger controls for implementing route planning functions are displayed on the navigation page. Specifically, the navigation page may be as follows: Figure 7 As shown, in addition to displaying the location of frequently used pick-up points on the map and the trigger controls for route planning, the navigation page can also display trigger controls for implementing other functions, such as trigger controls for implementing car rental functions and trigger controls for implementing ride-sharing functions.

[0129] Furthermore, when a user needs route planning, they can trigger the control. In response to the user's trigger event, the terminal will display a route planning page that uses frequently used pick-up points as the user's location. The route planning page will also display a destination input area and an arrival time input area. This route planning page can be configured as follows: Figure 8 As shown.

[0130] Furthermore, such as Figure 9 As shown, the route planning page can also display guiding text to help users enter the destination and arrival time in the input areas.

[0131] The aforementioned navigation page displays frequently used pick-up points that match the user's location and a trigger control for route planning. In response to a trigger event on this control, a route planning page is displayed that uses the frequently used pick-up points as the user's location for route planning. The method of displaying a destination input area and an arrival time input area on this route planning page allows for the determination of frequently used pick-up points based on the user's location. Furthermore, after the user triggers the route planning control, the display of the route planning page using the frequently used pick-up points as the user's location provides a method for determining the user's location and improves the efficiency of location determination.

[0132] In an exemplary embodiment, displaying at least one travel planning item includes: displaying a route planning execution control in a locked state when at least one of the destination input area and the arrival time input area is empty; displaying the route planning execution control in an unlocked state when the destination is displayed in the destination input area and the arrival time is displayed in the arrival time input area; displaying a route planning results page in response to a trigger operation on the unlocked route planning execution control; and displaying at least one travel planning item planned according to the user's location, the destination, and the arrival time on the route planning results page.

[0133] A locked state refers to a state that cannot be triggered. Specifically, a route planning execution control in a locked state cannot be triggered by conventional interaction methods such as mouse clicks or finger touches. In some optional methods, when a user triggers a route planning execution control in a locked state, the terminal can also display corresponding prompt information, such as "Please fill in the destination and arrival time before proceeding with route planning."

[0134] The unlocked state refers to a triggerable state. Specifically, a route planning execution control in the unlocked state can be triggered through conventional interaction methods such as mouse clicks or finger touches.

[0135] For example, such as Figure 10 and Figure 11 As shown, the route planning execution control in the locked state has a different display style than the route planning execution control in the unlocked state. The route planning execution control in the locked state displays in the first style, and the route planning execution control in the unlocked state displays in the second style. Specifically, the first style and the second style can be different colors, for example, the first style is gray and the second style is green. The first style and the second style can also be different in transparency, for example, the first style has a transparency of 50% and the second style has a transparency of 0%.

[0136] The route planning execution control refers to the control used to initiate the execution of route planning. The route planning results page refers to the page used to display at least one trip planning item planned according to the user's location, destination, and arrival time.

[0137] In some exemplary embodiments, after the terminal displays the destination input area and the arrival time input area, the user can enter the destination in the destination input area and the arrival time in the arrival time input area according to the actual travel needs. During this process, if at least one of the destination input area and the arrival time input area is empty, the terminal will display the route planning execution control in a locked state. If the destination is displayed in the destination input area and the arrival time is displayed in the arrival time input area, the terminal will display the route planning execution control in an unlocked state.

[0138] Furthermore, after the terminal displays the route planning execution control in an unlocked state, the user can trigger the route planning execution control. In response to the user's triggering action on the unlocked route planning execution control, the terminal will display a route planning results page, which will show at least one travel plan item planned according to the user's location, destination, and arrival time. This route planning results page can be displayed as follows: Figure 12 As shown.

[0139] When at least one of the destination input area and the arrival time input area is empty, the route planning execution control is displayed in a locked state; when the destination input area displays the destination and the arrival time input area displays the arrival time, the route planning execution control is displayed in an unlocked state; in response to the triggering operation of the unlocked route planning execution control, the route planning results page is displayed; the route planning results page displays a method for planning at least one travel planning item according to the user's location, destination, and arrival time. The route planning execution control can only be triggered when the user has entered both the destination and the arrival time, ensuring the success rate of route planning and avoiding resource waste due to the user's accidental execution of invalid route planning.

[0140] In one exemplary embodiment, the at least one travel planning item is displayed in a travel planning item area, and the method further includes: in response to a selection operation of selecting a preferred item from the at least one travel planning item, displaying the target travel route indicated by the preferred item in a map area displayed alongside the travel planning item area.

[0141] Prioritized recommendations refer to travel planning options that demonstrate advantages among multiple travel planning options. Specifically, prioritized recommendations can be selected from at least one travel planning option that meets the user's needs or current situation. For example, prioritized recommendations could be the travel planning option with the shortest travel time or the travel planning option with the lowest travel cost.

[0142] A map area refers to the area used to display the travel routes indicated by the travel planning items. For example, the map area can display the target travel route indicated by the preferred recommended item by default, and when the user selects other travel planning items, the map area can also display the travel route indicated by the travel planning item selected by the user.

[0143] In some exemplary embodiments, the terminal may display at least one travel planning item in the travel planning item area.

[0144] Furthermore, in response to a selection operation that chooses a preferred recommended item from at least one travel planning item, the terminal will display the target travel route indicated by the preferred recommended item in a map area displayed alongside the travel planning item area.

[0145] The method described above, in response to a selection operation that selects a preferred recommended item from the at least one travel planning item, displays the target travel route indicated by the preferred recommended item in a map area displayed alongside the travel planning item area. This method displays the target travel route of the selected preferred recommended item while simultaneously displaying the travel planning item, so that the user can select the desired travel planning item and avoids the user having to perform route planning multiple times due to not selecting a suitable travel planning item, thus avoiding resource waste.

[0146] In an exemplary embodiment, displaying the target travel route indicated by the priority recommendation item includes: displaying a candidate travel route indicated by the priority recommendation item that meets preset recommendation conditions in a selected state; displaying other travel routes indicated by the priority recommendation item besides the candidate travel route in an optional state that is weaker than the selected state; and displaying the travel route selected by the route selection operation in a selected state in response to a route selection operation on any optional travel route.

[0147] Preset recommendation criteria can be pre-set by technical personnel based on actual needs. These criteria are used to filter travel routes from the priority recommendation items to select routes that meet the user's needs or the current situation.

[0148] For example, the display style of the selected state is different from that of the optional state; the display style of the optional state is a weakened version of the display style of the selected state. Specifically, the color of the selected state can be red, while the color of the optional state is gray.

[0149] In some exemplary embodiments, the terminal can determine a candidate travel route that meets preset recommendation conditions from the travel routes indicated by the priority recommendation items, and display the candidate travel route in a selected state, and display other travel routes indicated by the priority recommendation items other than the candidate travel route in an optional state that is weaker than the selected state.

[0150] Furthermore, users can select routes according to their actual needs. The terminal responds to any route selection operation in the available state and displays the selected route as the selected route.

[0151] The method described above displays a candidate travel route that meets the preset recommendation criteria and is indicated by the priority recommendation item as a selected route; other travel routes indicated by the priority recommendation item besides the candidate travel route are displayed as optional routes with a weaker display than the selected route; in response to a route selection operation on any optional route, the method displays the selected route as a selected route. This allows users to select travel routes according to their actual needs, effectively improving the flexibility of travel route selection.

[0152] In an exemplary embodiment, the method further includes: in each travel planning project, displaying a service redirection control pointing to a travel service page that matches the travel mode indicated by the travel planning project; in response to a triggering operation of the service redirection control in the selected travel planning project, redirecting to the target travel service page pointed to by the service redirection control in the selected travel planning project; and displaying travel service information matching the travel route and travel mode in the selected travel planning project on the target travel service page.

[0153] The travel services page displays travel service information that matches the travel routes and modes of transportation in the travel planning project. Different travel planning projects use different modes of transportation, and therefore the travel service information displayed on their respective travel service pages will also differ.

[0154] For example, if the travel planning project indicates public transportation as the mode of transport, the travel service page may display bus route information, such as the names of each stop, first and last bus times, and estimated arrival times. If the travel planning project indicates ride-hailing as the mode of transport, the travel service page may display taxi or ride-hailing route information, such as vehicle routes, estimated waiting times, vehicle type options, and estimated travel costs.

[0155] A service redirection control is a control used to redirect to a travel service page that matches the mode of travel indicated by the travel planning project.

[0156] In some exemplary embodiments, such as Figure 13 As shown, the terminal can also display a service redirection control for each travel planning project, pointing to a travel service page that matches the travel mode indicated by the travel planning project.

[0157] Furthermore, in some optional embodiments, the service redirection controls differ across different travel planning projects. For example, if the travel planning project indicates ride-hailing as the mode of transportation, the service redirection control displays the text "Book a Ride," indicating to the user that triggering the control will redirect them to a travel service page related to ride-hailing. If the travel planning project indicates public transportation as the mode of transportation, the service redirection control may display the text "View Route," indicating to the user that triggering the control will redirect them to a travel service page for viewing public transportation routes.

[0158] Users can trigger the service jump control according to their actual needs. The terminal responds to the trigger operation of the service jump control in the selected travel planning project and jumps to the target travel service page pointed to by the service jump control in the selected travel planning project. On the target travel service page, travel service information matching the travel route and travel mode in the selected travel planning project is displayed.

[0159] In each of the aforementioned travel planning projects, a service redirection control is displayed that points to a travel service page matching the travel mode indicated by the travel planning project. In response to triggering the service redirection control in the selected travel planning project, the user is redirected to the target travel service page pointed to by the service redirection control in the selected travel planning project. On the target travel service page, travel service information matching the travel route and travel mode in the selected travel planning project is displayed. The travel planning project also includes a service redirection control for redirecting to the travel service page matching the travel mode indicated by the travel planning project. This allows users to jump to the travel service page by triggering the service redirection control, enabling them to travel from their location to their destination using the travel service information on the travel service page, effectively improving route planning efficiency.

[0160] In one exemplary embodiment, the at least one travel planning project includes priority recommendation projects that meet priority recommendation criteria; the method further includes: displaying recommendation description information for the priority recommendation project and the priority recommended travel mode for the priority recommendation project.

[0161] The recommendation description information includes environmental information for at least one environmental dimension that meets the priority recommendation criteria, and the priority recommended travel mode is determined based on the environmental information.

[0162] The recommendation description explains why certain projects are recommended. Specifically, this could be due to reasons such as time consumption, travel cost, or weather conditions.

[0163] The environmental dimension refers to the external factors that influence the determination of priority recommendations. Environmental dimensions can include transportation, time, weather, and geographic dimensions. Environmental information can be used to describe the specific environmental conditions of its respective environmental dimension.

[0164] In some exemplary embodiments, at least one travel planning item displayed on the terminal includes priority recommendation items that meet the priority recommendation criteria. Specifically, the priority recommendation items may be displayed at the top of at least one travel planning item, and each priority recommendation item includes instruction text indicating its priority recommendation.

[0165] Furthermore, the terminal can also display recommended descriptions of priority recommended items, as well as recommended travel methods for those priority recommended items.

[0166] For example, such as Figure 14 As shown, the preferred mode of transportation indicated for the project is taxi. The displayed recommendation description and preferred mode of transportation can be something like "There are showers, the journey is long, we recommend taking a taxi." The above-mentioned travel planning project area and map area can also be as follows: Figure 14 As shown. Figure 15 As shown, the preferred mode of transportation indicated by the project is the subway, and the displayed recommendation description and preferred mode of transportation could be something like, "There are showers, and the roads are congested; we recommend taking the subway." Figure 16 As shown, the preferred travel mode indicated by the project is ride-sharing within a ride-hailing service. The displayed recommendation description and preferred travel mode can be something like, "For intercity travel, especially long distances, ride-sharing is recommended." Figure 17 As shown, the preferred mode of transportation for the project is walking, and the displayed recommendation description and preferred mode of transportation can be "Road congestion, short distance, walking is recommended".

[0167] The method described above, which displays the recommended description information for the priority recommended item and the priority recommended travel mode for the priority recommended item, informs the user of the reasons for recommending the priority recommended item by displaying the recommended description information, so as to guide the user to use the travel mode indicated by the priority recommended item to reach the destination and improve travel efficiency.

[0168] In an exemplary embodiment, the preferred travel mode is obtained through a preferred travel mode determination step, which includes: obtaining multiple preset environmental dimensions and obtaining at least one recommendation strategy corresponding to each environmental dimension, each recommendation strategy including environmental conditions and a recommended travel mode; determining the preferred travel mode according to the priority corresponding to each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy containing environmental conditions that meet the environmental information.

[0169] A recommendation strategy refers to the rules or criteria used to determine the preferred mode of transportation. Recommendation strategies can include environmental conditions and recommended modes of transportation.

[0170] For example, when the environmental dimension is weather, the recommendation strategy can include environmental conditions such as rain, and the corresponding recommended travel modes such as subway, bus, taxi, etc. The environmental conditions can also be no rain, and the corresponding recommended travel modes such as walking, cycling, etc.

[0171] In some exemplary embodiments, the terminal may first obtain multiple preset environmental dimensions, all of which are environmental dimensions that influence the determination of the preferred travel mode. The terminal may also obtain at least one recommendation strategy corresponding to the multiple preset environmental dimensions.

[0172] Furthermore, the terminal can first obtain environmental information under multiple preset environmental dimensions, and then determine the preferred travel mode based on the priority of each environmental dimension and the recommendation strategy that includes environmental conditions that match the environmental information.

[0173] The above-described method obtains multiple preset environmental dimensions and at least one recommendation strategy corresponding to each environmental dimension. Each recommendation strategy includes environmental conditions and a recommended travel mode. Based on the priority of each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy containing environmental conditions that match the environmental information, the method determines the preferred travel mode. Determining the preferred travel mode based on the recommendation strategies corresponding to multiple preset environmental dimensions and the environmental information under each environmental dimension can effectively improve the accuracy of the determined preferred travel mode.

[0174] In an exemplary embodiment, the multiple environmental dimensions include a distance dimension and a traffic condition dimension, and the environmental information includes travel distance and real-time traffic conditions; wherein, the priority corresponding to the distance dimension is higher than the priority of the traffic condition dimension; determining the preferred recommended travel mode according to the priority corresponding to each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy containing the environmental conditions that meet the environmental information, includes: determining a first candidate recommendation strategy according to the travel distance and at least one recommendation strategy corresponding to the distance dimension, wherein the travel distance meets the environmental conditions in the first candidate recommendation strategy; determining a second candidate recommendation strategy according to the real-time traffic conditions and at least one recommendation strategy corresponding to the traffic condition dimension, wherein the real-time traffic conditions meet the environmental conditions in the second candidate recommendation strategy; and determining the same recommended travel mode as the preferred recommended travel mode when the first candidate recommendation strategy and the second candidate recommendation strategy have the same recommended travel mode.

[0175] Distance refers to the distance from the user's location to the destination. Road conditions refer to the road conditions along the travel route from the user's location to the destination.

[0176] In some exemplary embodiments, since the priority of the distance dimension is higher than that of the traffic condition dimension, the terminal can first obtain the travel distance from the user's location to the destination, and determine the first candidate recommendation strategy based on the travel distance and the recommendation strategy corresponding to the distance dimension.

[0177] Specifically, there are three recommendation strategies corresponding to the distance dimension, as shown in Table 1. The environmental conditions and recommended travel modes included in the three recommendation strategies are different: for travel distances less than 1km, the recommended travel modes are walking and public transportation; for travel distances greater than 1km and less than 40km, the recommended travel modes are taxi and subway; for travel distances greater than 40km, the recommended travel modes are ride-sharing and subway.

[0178] Table 1

[0179]

[0180] For example, assuming a travel distance of 800m, based on this distance and the environmental conditions in the three recommendation strategies, the first candidate recommendation strategy can be determined as "for travel distances less than 1km, recommend walking and public transportation." Assuming a travel distance of 7km, based on this distance and the environmental conditions in the three recommendation strategies, the first candidate recommendation strategy can be determined as "for travel distances greater than 1km and less than 40km, recommend taxis and subways." Assuming a travel distance of 50km, based on this distance and the environmental conditions in the three recommendation strategies, the first candidate recommendation strategy can be determined as "for travel distances greater than 40km, recommend ride-sharing and subways."

[0181] Furthermore, after determining the first candidate recommendation strategy, the terminal can obtain the real-time traffic conditions of the user's travel route from the location to the destination, and determine the second candidate recommendation strategy based on the real-time traffic conditions and the strategy corresponding to the traffic condition dimension.

[0182] Specifically, there are two recommendation strategies for the road condition dimension, as shown in Table 2: when the road is congested, the recommended travel modes are walking and subway; when the road is not congested, the recommended travel mode is unrestricted.

[0183] Table 2

[0184]

[0185] For example, assuming real-time traffic conditions indicate congestion, based on these conditions and the environmental conditions in the recommendation strategy, the second candidate recommendation strategy can be determined to be "congested roads, recommended travel modes: walking and subway". Conversely, assuming real-time traffic conditions indicate no congestion, based on these conditions and the environmental conditions in the recommendation strategy, the second candidate recommendation strategy can be determined to be "uncongested roads, recommended travel modes: unrestricted".

[0186] Furthermore, if the first and second candidate recommendation strategies share the same recommended travel mode, the terminal will prioritize that recommended travel mode. Specifically, if the first candidate recommendation strategy is "travel distance less than 1km, recommended travel modes are walking and public transportation," and the second candidate recommendation strategy is "road congestion, recommended travel modes are walking and subway," then walking is the preferred travel mode. If the first candidate recommendation strategy is "travel distance greater than 1km and less than 40km, recommended travel modes are taxi and subway," and the second candidate recommendation strategy is "road congestion, recommended travel modes are walking and subway," then subway is the preferred travel mode. If the first candidate recommendation strategy is "travel distance greater than 40km, recommended travel modes are ride-sharing and subway," and the second candidate recommendation strategy is "road congestion, recommended travel modes are walking and subway," then subway is the preferred travel mode. If the first candidate recommendation strategy is "travel distance less than 1km, recommended travel modes are walking and public transportation," and the second candidate recommendation strategy is "roads not congested, recommended travel mode is unrestricted," then walking and public transportation are the preferred travel modes. When the first candidate recommendation strategy is "travel distance greater than 1km and less than 40km, recommended travel modes are taxi and subway," and the second candidate recommendation strategy is "roads are not congested, recommended travel modes are not limited," then taxi and subway are the preferred travel modes. When the first candidate recommendation strategy is "travel distance greater than 40km, recommended travel modes are ride-sharing and subway," and the second candidate recommendation strategy is "roads are not congested, recommended travel modes are not limited," then ride-sharing and subway are the preferred travel modes.

[0187] The above process involves determining a first candidate recommendation strategy based on at least one recommendation strategy corresponding to the travel distance and the distance dimension, where the travel distance meets the environmental conditions in the first candidate recommendation strategy; determining a second candidate recommendation strategy based on at least one recommendation strategy corresponding to the real-time traffic conditions and the traffic condition dimension, where the real-time traffic conditions meet the environmental conditions in the second candidate recommendation strategy; and determining the preferred travel mode if the first and second candidate recommendation strategies share the same recommended travel mode. This process, which considers more comprehensive factors in determining the preferred travel mode, effectively improves the accuracy of the preferred travel mode recommendations.

[0188] In an exemplary embodiment, the plurality of environmental dimensions further includes a weather dimension, and the environmental information also includes real-time weather. The priority of the road condition dimension is higher than that of the weather dimension. The method further includes: when the first candidate recommendation strategy and the second candidate recommendation strategy do not have the same recommended travel mode, or when there are multiple identical recommended travel modes, determining a third candidate recommendation strategy according to the real-time weather and at least one recommendation strategy corresponding to the weather dimension, wherein the real-time weather meets the environmental conditions in the third candidate recommendation strategy; and determining the identical recommended travel modes in the first candidate recommendation strategy, the second candidate recommendation strategy, and the third candidate recommendation strategy as the preferred recommended travel modes.

[0189] In some exemplary embodiments, after the terminal determines a first candidate recommendation strategy based on the travel distance and the recommendation strategy corresponding to the distance dimension, and determines a second candidate recommendation strategy based on the real-time traffic conditions and the recommendation strategy corresponding to the traffic condition dimension, if it is determined that the first candidate recommendation strategy and the second candidate recommendation strategy do not have the same recommended travel mode, or if there are multiple identical recommended travel modes, then it can obtain the real-time weather of the user's travel route from the location to the destination, and determine a third candidate recommendation strategy based on the real-time weather and the strategy corresponding to the weather dimension.

[0190] Specifically, the weather dimension can correspond to three recommendation strategies, as shown in Table 3. These recommendation strategies are as follows: if it is raining, the recommended travel methods are taxi, bus, and subway; if it is foggy, the recommended travel method is subway; if it is neither raining nor foggy, the recommended travel method is unrestricted.

[0191] Table 3

[0192]

[0193] For example, assuming the real-time weather forecast indicates rain, based on the real-time weather and the environmental conditions in the recommendation strategy, the third candidate recommendation strategy can be determined to be "Rainy weather, recommended travel methods: taxi, bus, and subway". Assuming the real-time weather forecast indicates fog, based on the real-time weather and the environmental conditions in the recommendation strategy, the third candidate recommendation strategy can be determined to be "Fogy weather, recommended travel method: subway". Assuming the real-time weather forecast indicates neither rain nor fog, based on the real-time weather and the environmental conditions in the recommendation strategy, the third candidate recommendation strategy can be determined to be "No rain or fog, recommended travel method is unrestricted".

[0194] Furthermore, after determining the third candidate recommendation strategy, the same recommended travel modes in the first, second, and third candidate recommendation strategies can be identified as the preferred travel modes. Specifically, if the first candidate recommendation strategy is "travel distance less than 1km, recommended travel modes are walking and public transportation," the second candidate recommendation strategy is "roads are not congested, recommended travel mode is not limited," and the third candidate recommendation strategy is "rainy weather, recommended travel modes are taxi, public transportation, and subway," then public transportation can be the preferred travel mode. If the first candidate recommendation strategy is "travel distance less than 1km, recommended travel modes are walking and public transportation," the second candidate recommendation strategy is "roads are not congested, recommended travel mode is not limited," and the third candidate recommendation strategy is "foggy weather, recommended travel mode is subway," then walking or public transportation can be the preferred travel mode. If the first candidate recommendation strategy is "travel distance less than 1km, recommended travel modes are walking and public transportation," the second candidate recommendation strategy is "roads are not congested, recommended travel mode is not limited," and the third candidate recommendation strategy is "no rain or fog, recommended travel mode is not limited," then walking or public transportation can be the preferred travel mode. When the first candidate recommendation strategy is "travel distance greater than 1km and less than 40km, recommended travel modes are taxi and subway," the second candidate recommendation strategy is "roads not congested, recommended travel mode is not limited," and the third candidate recommendation strategy is "rainy weather, recommended travel modes are taxi, bus, and subway," the preferred travel mode is taxi or subway. When the first candidate recommendation strategy is "travel distance greater than 1km and less than 40km, recommended travel modes are taxi and subway," the second candidate recommendation strategy is "roads not congested, recommended travel mode is not limited," and the third candidate recommendation strategy is "foggy weather, recommended travel mode is subway," the preferred travel mode is subway. When the first candidate recommendation strategy is "travel distance greater than 1km and less than 40km, recommended travel modes are taxi and subway," the second candidate recommendation strategy is "roads not congested, recommended travel mode is not limited," and the third candidate recommendation strategy is "no rain or fog, recommended travel mode is not limited," the preferred travel mode is taxi or subway. When the first candidate recommendation strategy is "travel distance greater than 40km, recommended travel modes are ride-sharing and subway", the second candidate recommendation strategy is "roads not congested, recommended travel mode is not limited", and the third candidate recommendation strategy is "rainy weather, recommended travel modes are taxi, bus, and subway", the subway is the preferred travel mode. Similarly, when the first candidate recommendation strategy is "travel distance greater than 40km, recommended travel modes are ride-sharing and subway", the second candidate recommendation strategy is "roads not congested, recommended travel mode is not limited", and the third candidate recommendation strategy is "foggy weather, recommended travel mode is subway", the subway is the preferred travel mode.If the first candidate recommendation strategy is "travel distance greater than 40km, recommended travel mode is ride-sharing or subway", the second candidate recommendation strategy is "roads are not congested, recommended travel mode is not limited", and the third candidate recommendation strategy is "weather is neither rainy nor foggy, recommended travel mode is not limited", then the preferred travel mode can be ride-sharing or subway.

[0195] In the case where the first and second candidate recommendation strategies do not share the same recommended travel mode, or where multiple identical recommended travel modes exist, a third candidate recommendation strategy is determined based on the real-time weather and at least one recommendation strategy corresponding to the weather dimension, wherein the real-time weather meets the environmental conditions in the third candidate recommendation strategy. The method of prioritizing the same recommended travel modes from the first, second, and third candidate recommendation strategies, when the first and second candidate recommendation strategies do not share the same recommended travel mode or when multiple identical recommended travel modes exist, can effectively improve the accuracy of prioritizing travel mode recommendations. This method allows for the determination of a third candidate recommendation strategy based on the real-time weather and the recommendation strategy corresponding to the weather dimension, and the determination of a priority recommended travel mode based on the first, second, and third candidate recommendation strategies.

[0196] In an exemplary embodiment, the preferred travel mode is obtained through a preferred travel mode determination step, which includes: obtaining a preset travel mode recommendation engine; generating model instruction information containing a first instruction and a second instruction; inputting the generated model instruction information into the travel mode recommendation engine to obtain the preferred travel mode output by the travel mode recommendation engine according to the first instruction and the second instruction.

[0197] A travel recommendation engine can be a pre-programmed engine designed by engineers to perform travel recommendation tasks. Specifically, this engine can be an AI agent used to perform these tasks.

[0198] The first instruction instructs the acquisition of environmental information for each of the multiple environmental dimensions, and the second instruction instructs the determination of the preferred travel mode according to the priority of each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy containing environmental conditions that meet the environmental information.

[0199] In some exemplary embodiments, the terminal can first obtain a preset travel mode recommendation engine, then generate a first instruction to obtain environmental information for each of multiple environmental dimensions, and a second instruction to determine the preferred travel mode according to the priority of each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy containing environmental conditions that meet the environmental information, and determine the model instruction information based on the first instruction and the second instruction.

[0200] Furthermore, after generating model instruction information, the terminal can input the model instruction information into the travel mode recommendation engine to obtain the preferred travel mode output by the travel mode recommendation engine according to the first instruction and the second instruction.

[0201] The above-described method of obtaining a preset travel mode recommendation engine; generating model instruction information containing a first instruction and a second instruction; and inputting the generated model instruction information into the travel mode recommendation engine to obtain the preferred travel mode output by the travel mode recommendation engine according to the first instruction and the second instruction, can directly obtain the preferred travel mode output by the travel mode recommendation engine by inputting the model instruction information into the travel mode recommendation engine, thus effectively improving the efficiency of determining the preferred travel mode.

[0202] In an exemplary embodiment, the preferred travel mode is obtained through a preferred travel mode determination step, which includes: obtaining the destination and arrival time, obtaining the user's location, and obtaining environmental information based on the user's location and the destination; using a pre-trained travel mode recommendation engine, calculating the travel information of various candidate travel modes using the destination, arrival time, user location, and environmental information; and using the travel mode recommendation engine, determining the preferred travel mode based on the travel information, the priorities of multiple preset environmental dimensions, and the recommendation strategy under each environmental dimension.

[0203] This travel information includes the departure time for the corresponding travel route. Optionally, the travel information may also include the travel cost for the corresponding travel route.

[0204] The travel mode recommendation engine can be a large model pre-trained by technicians based on actual needs. Specifically, this large model can be a mixed-mode large model.

[0205] In some exemplary embodiments, the terminal can first obtain the destination and arrival time from the destination input area and the arrival time output area, and then obtain the user's location. After obtaining the user's location, destination, and arrival time, the terminal can obtain environmental information about the travel route from the user's location to the destination.

[0206] Furthermore, the terminal can input the destination, arrival time, user location, and environmental information into a pre-trained travel mode recommendation engine to obtain travel information for various candidate travel modes output by the travel mode recommendation engine.

[0207] Furthermore, the terminal can input travel information, the priorities of multiple preset environmental dimensions, and the recommendation strategy under each environmental dimension into the travel mode recommendation engine to obtain the preferred travel mode output by the travel mode recommendation engine.

[0208] The method described above obtains the destination and arrival time, the user's location, and environmental information based on the user's location and destination. Using a pre-trained travel mode recommendation engine, it calculates travel information for various candidate travel modes based on the destination, arrival time, user location, and environmental information. Then, using the travel mode recommendation engine, it determines the preferred travel mode based on the travel information, the priorities of multiple preset environmental dimensions, and the recommendation strategy for each environmental dimension. By inputting the destination, arrival time, user location, and environmental information into the pre-trained travel mode recommendation engine, the preferred travel mode output by the engine can be obtained, improving the efficiency of determining the preferred travel mode.

[0209] In an exemplary embodiment, the method further includes: receiving streaming data output by the travel mode recommendation engine during the process of determining the preferred travel mode; parsing the received streaming data from the start marker to the end marker to obtain parsed data; and generating a route planning result page based on the parsed data.

[0210] The route planning results page includes at least one travel planning item corresponding to at least one mode of travel.

[0211] Streaming data refers to a sequence of data that is continuously generated and transmitted, that is, data is generated and transmitted simultaneously.

[0212] A start identifier is a special symbol, code, or mark used to identify the beginning of streaming data. Specifically, a start identifier can clearly define the starting point of a set of related streaming data, enabling accurate identification and processing of data sequences related to the process of determining preferred modes of transportation.

[0213] An end identifier is a special symbol, code, or mark used to indicate the end of streaming data. For example, determining the end identifier might involve checking if the `data` field in the streaming data is "done".

[0214] In some exemplary embodiments, such as Figure 18As shown, after the user enters their destination and arrival time in the destination input area and arrival time input area, the travel mode recommendation engine will determine the preferred travel mode based on the destination and arrival time. The terminal can receive the streaming data output by the travel mode recommendation engine during the process of determining the preferred travel mode. Specifically, the terminal can first determine whether the streaming data carries a start identifier. If it does not, it can resend the request for determining the preferred travel mode to the travel mode recommendation engine to regenerate the streaming data. If it does carry a start identifier, the terminal can determine that the streaming data related to the process of determining the preferred travel mode has been received after receiving the streaming data carrying an end identifier.

[0215] Furthermore, the terminal can parse the received streaming data, from the start marker to the end marker, to obtain parsed data. Specifically, it can parse the `data` field of the received streaming data to obtain a `data` object. After obtaining the parsed data, the terminal can generate a route planning results page based on this data.

[0216] The method described above receives streaming data output by the travel mode recommendation engine during the process of determining the preferred travel mode; parses the received streaming data from the start marker to the end marker to obtain parsed data; and generates a route planning result page based on the parsed data. Because streaming data has a small data volume and high transmission efficiency, it can quickly retransmit in case of streaming data errors, thereby generating the route planning result page based on the retransmitted streaming data, effectively improving the efficiency of generating the route planning result page.

[0217] In an exemplary embodiment, the parsed data includes text data of text type and resource data of preset resource type; generating a route planning result page based on the parsed data includes: obtaining a page template including a travel planning project area, the page template including multiple preset fill areas, the travel planning project area including at least a portion of the multiple fill areas; filling the text data and the resource data into their respective multiple fill areas to obtain the route planning result page.

[0218] The travel planning project area is filled in to form at least one travel planning project.

[0219] The preset resource types can be image resource types, video resource types, audio resource types, etc.

[0220] In some exemplary embodiments, the terminal can obtain a page template including a travel planning project area, and fill the text data of the text type and the resource data of the preset resource type in the parsed data into the multiple fill areas corresponding to each other in the page template, so as to obtain a route planning result page.

[0221] Specifically, the process can be as follows: Figure 19 As shown, after obtaining the parsed data—that is, after obtaining the data object by parsing the `data` field in the streaming data—the terminal can determine whether the `type` value of the `data` field is `text` to identify text data of a text type or resource data of a preset resource type. If it is determined to be resource data of a preset resource type, the corresponding resource is first obtained based on the resource data. For example, if the resource data is a link to an image, the image can be obtained through the link, and the resource obtained based on the resource data is filled into the corresponding fill area in the page template. If it is determined to be text data of a text type, the text data is filled into the corresponding fill area in the page template to obtain the route planning result page.

[0222] The method described above obtains a page template including a travel planning project area, the page template including multiple preset fill areas, the travel planning project area including at least a portion of the multiple fill areas; the method of filling the text data and the resource data into their respective multiple fill areas to obtain the route planning result page improves the generation efficiency of the route planning result page by filling the text data and resource data into the multiple fill areas of the page template.

[0223] In an optional embodiment of this application, the method further includes: storing the received streaming data from the beginning to the end of the stream carrying a start identifier; obtaining user travel planning item selection information; and optimizing and training the travel recommendation engine based on the user travel planning item selection information and the stored streaming data.

[0224] User travel planning selection information is used to indicate the travel planning items selected by the user.

[0225] In some exemplary embodiments, the terminal can store the received streaming data from the start marker to the end marker, and optimize and train the travel recommendation engine based on the user's travel planning item selection information and the stored streaming data, so that the priority recommendation items output by the travel recommendation engine are more accurate.

[0226] In one exemplary embodiment, such as Figure 20 As shown, another method for travel route planning is provided, which includes the following steps:

[0227] 2001. Display a navigation page, which shows frequently used pick-up points that match the user's location, and displays a trigger control for the route planning function; in response to a trigger event for the trigger control, display a route planning page that uses the frequently used pick-up point as the user's location for route planning; on the route planning page, display a destination input area and an arrival time input area.

[0228] In some exemplary embodiments, the terminal may first display a navigation page. During the display of the navigation page, the terminal may obtain the user's location and determine whether there are frequently used pick-up points around the user's location based on the user's historical route planning information. If so, the frequently used pick-up points and trigger controls for implementing route planning functions are displayed on the navigation page.

[0229] Furthermore, when a user has a route planning need, they can trigger the trigger control. In response to the user's trigger event on the trigger control, the terminal will display a route planning page that uses the user's frequently used pick-up point as the user's location for route planning. The route planning page will also display a destination input area and an arrival time input area.

[0230] 2002. In the map display area corresponding to the destination input area, a map range matching the address fragment entered in the destination input area is displayed; in the map range, a location marker of the predicted destination matching the address fragment is displayed; in response to a preset operation on the location marker, the location indicated by the location marker after the preset operation is displayed as the destination in the destination input area.

[0231] In some exemplary embodiments, the terminal can display a destination input area on the screen, where the user can enter a fragment of the address of the desired destination. The terminal can then display a map range that matches the address fragment entered in the destination input area in a map display area corresponding to the destination input area, and within the map range, display location markers for the predicted destination that match the address fragment.

[0232] Furthermore, when a user confirms that the location indicated by the location marker is the desired destination, the user can confirm the location marker. In response to the user's confirmation of the location marker, the terminal can display the location indicated by the location marker as the destination in the destination input area.

[0233] If a user confirms that the location indicated by the location marker is not the desired destination, the user can adjust the location marker. In response to the user's adjustment, the terminal will display the location indicated by the adjusted location marker as the destination in the destination input area.

[0234] 2003. Display a schedule control; in response to a trigger operation on the schedule control, display at least one schedule; in response to a schedule selection operation that selects a target schedule from the at least one schedule, display the arrival time in the arrival time input area as determined by the schedule time in the target schedule.

[0235] In some exemplary embodiments, when a user needs to view the schedule, the schedule control can be triggered, and the terminal will display the user's schedule in response to the user's triggering operation on the schedule control.

[0236] Furthermore, users can select the schedule they need based on their actual requirements. The selected schedule is the target schedule, and this selection can be a click operation. In response to the user's selection of the target schedule, the terminal first obtains the schedule time of the target schedule, then determines the arrival time based on the schedule time, and displays the arrival time in the arrival time input area.

[0237] 2004. If at least one of the destination input area and the arrival time input area is empty, a route planning execution control in a locked state is displayed; if the destination is displayed in the destination input area and the arrival time is displayed in the arrival time input area, the route planning execution control is displayed in an unlocked state; in response to a trigger operation on the unlocked route planning execution control, a route planning results page is displayed; in the travel planning items area of ​​the route planning results page, at least one travel planning item planned according to the user's location, the destination, and the arrival time is displayed, and each travel planning item indicates a travel route from the user's location to the destination planned according to the arrival time.

[0238] In some exemplary embodiments, after the terminal displays the destination input area and the arrival time input area, the user can enter the destination in the destination input area and the arrival time in the arrival time input area according to the actual travel needs. During this process, if at least one of the destination input area and the arrival time input area is empty, the terminal will display the route planning execution control in a locked state. If the destination is displayed in the destination input area and the arrival time is displayed in the arrival time input area, the terminal will display the route planning execution control in an unlocked state.

[0239] Furthermore, after the terminal displays the route planning execution control in an unlocked state, the user can trigger the route planning execution control in an unlocked state. In response to the user's triggering operation on the route planning execution control in an unlocked state, the terminal will display a route planning results page, and on the route planning results page, at least one travel planning item planned according to the user's location, destination and arrival time will be displayed.

[0240] 2005. In response to a selection operation that selects a preferred recommended item from the at least one travel planning item, in a map area displayed alongside the travel planning item area, a candidate travel route indicated by the preferred recommended item and meeting preset recommendation conditions is displayed in a selected state; other travel routes indicated by the preferred recommended item besides the candidate travel route are displayed in an optional state that is weaker than the selected state; in response to a route selection operation on any optional travel route, the travel route selected by the route selection operation is displayed in a selected state.

[0241] In some exemplary embodiments, the terminal may display at least one travel planning item in the travel planning item area. Further, in response to a selection operation that chooses a preferred item from the at least one travel planning item, the terminal will display the target travel route indicated by the preferred item in a map area displayed alongside the travel planning item area.

[0242] 2006. In each travel planning project, display the travel mode matching the travel route, the departure time planned according to the travel route and the travel mode, and a service jump control pointing to the travel service page matching the travel mode indicated by the travel planning project; in response to the triggering operation of the service jump control in the selected travel planning project, jump to the target travel service page pointed to by the service jump control in the selected travel planning project; on the target travel service page, display the travel service information matching the travel route and travel mode in the selected travel planning project.

[0243] In some exemplary embodiments, the terminal may also display a service redirection control in each travel planning project, pointing to a travel service page that matches the travel mode indicated by the travel planning project.

[0244] Furthermore, in some optional embodiments, the service redirection controls differ across different travel planning projects. For example, if the travel planning project indicates ride-hailing as the mode of transportation, the service redirection control displays the text "Book a Ride," indicating to the user that triggering the control will redirect them to a travel service page related to ride-hailing. If the travel planning project indicates public transportation as the mode of transportation, the service redirection control may display the text "View Route," indicating to the user that triggering the control will redirect them to a travel service page for viewing public transportation routes.

[0245] Users can trigger the service jump control according to their actual needs. The terminal responds to the trigger operation of the service jump control in the selected travel planning project and jumps to the target travel service page pointed to by the service jump control in the selected travel planning project. On the target travel service page, travel service information matching the travel route and travel mode in the selected travel planning project is displayed.

[0246] 2007. The route planning results page displays the recommended description information for the priority recommended project, as well as the priority recommended mode of travel for the priority recommended project; wherein, the recommended description information includes environmental information of at least one environmental dimension that meets the priority recommendation conditions, and the priority recommended mode of travel is determined based on the environmental information.

[0247] In some exemplary embodiments, at least one travel planning item displayed on the terminal includes priority recommendation items that meet the priority recommendation criteria. Specifically, the priority recommendation items may be displayed at the top of at least one travel planning item, and each priority recommendation item includes instruction text indicating its priority recommendation.

[0248] Furthermore, the terminal can also display recommended descriptions of priority recommended items, as well as recommended travel methods for those priority recommended items.

[0249] For example, if the preferred mode of transportation is taxi, the displayed description and recommended mode of transportation could be "Rainy days, long distance, taxi recommended." If the preferred mode of transportation is subway, the displayed description and recommended mode of transportation could be "Rainy days, traffic congestion, subway recommended." If the preferred mode of transportation is ridesharing within a taxi service, the displayed description and recommended mode of transportation could be "Intercity travel, long distance, ridesharing recommended." If the preferred mode of transportation is walking, the displayed description and recommended mode of transportation could be "Traffic congestion, short distance, walking recommended."

[0250] 2008. The priority recommended travel mode is obtained through a priority recommended travel mode determination step, which includes: obtaining multiple preset environmental dimensions and obtaining at least one recommendation strategy corresponding to each environmental dimension, each recommendation strategy including environmental conditions and a recommended travel mode; determining a first candidate recommendation strategy according to the travel distance and at least one recommendation strategy corresponding to the distance dimension, wherein the travel distance meets the environmental conditions in the first candidate recommendation strategy; determining a second candidate recommendation strategy according to the real-time traffic conditions and at least one recommendation strategy corresponding to the traffic conditions dimension, wherein the real-time traffic conditions meet the environmental conditions in the second candidate recommendation strategy; and determining the same recommended travel mode as the priority recommended travel mode if the first candidate recommendation strategy and the second candidate recommendation strategy have the same recommended travel mode.

[0251] In some exemplary embodiments, since the priority of the distance dimension is higher than that of the traffic condition dimension, the terminal can first obtain the travel distance from the user's location to the destination, and determine the first candidate recommendation strategy based on the travel distance and the recommendation strategy corresponding to the distance dimension.

[0252] Furthermore, after determining the first candidate recommendation strategy, the terminal can obtain real-time traffic conditions for the user's route from their location to their destination, and determine a second candidate recommendation strategy based on the real-time traffic conditions and the corresponding strategy. If the first and second candidate recommendation strategies recommend the same travel mode, the terminal will prioritize that recommended travel mode.

[0253] 2009. If the first candidate recommendation strategy and the second candidate recommendation strategy do not have the same recommended travel mode, or if there are multiple recommended travel modes, a third candidate recommendation strategy is determined according to the real-time weather and at least one recommendation strategy corresponding to the weather dimension, wherein the real-time weather meets the environmental conditions in the third candidate recommendation strategy; the same recommended travel modes in the first candidate recommendation strategy, the second candidate recommendation strategy and the third candidate recommendation strategy are determined as the preferred recommended travel modes.

[0254] In some exemplary embodiments, after the terminal determines a first candidate recommendation strategy based on the travel distance and the recommendation strategy corresponding to the distance dimension, and determines a second candidate recommendation strategy based on the real-time traffic conditions and the recommendation strategy corresponding to the traffic condition dimension, if it is determined that the first candidate recommendation strategy and the second candidate recommendation strategy do not have the same recommended travel mode, or if there are multiple identical recommended travel modes, then it can obtain the real-time weather of the user's travel route from the location to the destination, and determine a third candidate recommendation strategy based on the real-time weather and the strategy corresponding to the weather dimension.

[0255] Furthermore, after determining the third candidate recommendation strategy, the same recommended travel modes in the first, second, and third candidate recommendation strategies can be identified as the preferred recommended travel modes.

[0256] 2010. The preferred travel mode is obtained through a preferred travel mode determination step, which includes: obtaining a preset travel mode recommendation engine; generating model instruction information containing a first instruction and a second instruction, wherein the first instruction instructs the acquisition of environmental information for each of the multiple environmental dimensions, and the second instruction instructs the determination of the preferred travel mode according to the priority corresponding to each environmental dimension, the environmental information under each environmental dimension, and a recommendation strategy containing environmental conditions that meet the environmental information; inputting the generated model instruction information into the travel mode recommendation engine to obtain the preferred travel mode output by the travel mode recommendation engine according to the first instruction and the second instruction.

[0257] In some exemplary embodiments, the terminal can first obtain a preset travel mode recommendation engine, then generate a first instruction to obtain environmental information for each of multiple environmental dimensions, and a second instruction to determine the preferred travel mode according to the priority of each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy containing environmental conditions that meet the environmental information, and determine the model instruction information based on the first instruction and the second instruction.

[0258] Furthermore, after generating model instruction information, the terminal can input the model instruction information into the travel mode recommendation engine to obtain the preferred travel mode output by the travel mode recommendation engine according to the first instruction and the second instruction.

[0259] 2011. The preferred travel mode is obtained through a preferred travel mode determination step, which includes: obtaining the destination and arrival time, obtaining the user's location, and obtaining environmental information based on the user's location and the destination; using a pre-trained travel mode recommendation engine, calculating the travel information of various candidate travel modes using the destination, arrival time, user location, and environmental information, the travel information including the departure time of the corresponding travel route; and using the travel mode recommendation engine, determining the preferred travel mode based on the travel information, the priorities of multiple preset environmental dimensions, and the recommendation strategy under each environmental dimension.

[0260] In some exemplary embodiments, the terminal can first obtain the destination and arrival time from the destination input area and the arrival time output area, and then obtain the user's location. After obtaining the user's location, destination, and arrival time, the terminal can obtain environmental information about the travel route from the user's location to the destination.

[0261] Furthermore, the terminal can input destination, arrival time, user location, and environmental information into a pre-trained travel mode recommendation engine to obtain travel information for various candidate travel modes output by the engine. The terminal can also input travel information, the priorities of multiple preset environmental dimensions, and recommendation strategies for each environmental dimension into the travel mode recommendation engine to obtain the preferred travel modes output by the engine.

[0262] 2012. Receive streaming data output by the travel mode recommendation engine during the process of determining the preferred travel mode; parse the received streaming data from the start marker to the end marker to obtain parsed data; obtain a page template including a travel planning project area, the page template including multiple preset fill areas, the travel planning project area including at least a portion of the multiple fill areas; fill the text data of text type and the resource data of preset resource type in the parsed data into their respective multiple fill areas to obtain a route planning result page, wherein the travel planning project area, after being filled, forms at least one travel planning project.

[0263] In some exemplary embodiments, after the user enters their destination and arrival time in the destination input area and arrival time input area, the travel mode recommendation engine will determine the preferred travel mode based on the destination and arrival time. The terminal can receive the streaming data output by the travel mode recommendation engine during the process of determining the preferred travel mode. Specifically, the terminal can first determine whether the streaming data carries a start identifier. If it does not, it can resend the request for determining the preferred travel mode to the travel mode recommendation engine to regenerate the streaming data. If it does carry a start identifier, the terminal can determine that the streaming data related to the process of determining the preferred travel mode has been received after receiving the streaming data carrying an end identifier.

[0264] Furthermore, the terminal can parse the received streaming data from the start marker to the end marker to obtain parsed data. Specifically, it can parse the `data` field of the received streaming data to obtain a `data` object. After obtaining the parsed data—that is, after obtaining the `data` object by parsing the `data` field in the streaming data—the terminal can determine whether the `type` value of the `data` field is `text` to identify text data of a text type or resource data of a preset resource type. If it is determined to be resource data of a preset resource type, the terminal first obtains the corresponding resource based on the resource data. For example, if the resource data is a link to an image, the image can be obtained through the link, and the resource obtained based on the resource data is filled into the corresponding fill area in the page template. If it is determined to be text data of a text type, the text data is filled into the corresponding fill area in the page template to obtain the route planning result page.

[0265] In a specific application scenario, when a user needs to commute to work, the navigation application installed on the device can be triggered. Upon receiving the user's trigger, the device immediately displays a navigation page. During the navigation page display, the device quickly obtains the user's current location using its positioning function. Simultaneously, based on the user's historical route planning information, the device determines whether there are frequently used pick-up points near the user's location. Since the user often takes the commuter bus at the entrance of their residential community, the device can identify the community entrance as a frequently used pick-up point and display its location markers and trigger controls for route planning on the navigation page.

[0266] Users can trigger a control, and the terminal responds by displaying a route planning page that uses the entrance of the residential complex as the user's location. The route planning page displays a destination input area and an arrival time input area. Users can enter the address fragment "XX Building" of their company's building in the destination input area. The terminal then displays a map area matching this address fragment in the corresponding map display area, marking predicted destinations within that area, such as "XX Building A" or "XX Building B." If the user confirms "XX Building A" as the desired company address, they can click on the location marker to confirm. The terminal responds to the confirmation by displaying "XX Building A" as the destination in the destination input area.

[0267] Furthermore, the terminal can also display the user's daily schedule, including a morning departmental meeting, which the user has selected. In response to the user's selection, the terminal retrieves the meeting's scheduled time, determines the user's arrival time at the company based on that time, and displays it in the arrival time input area.

[0268] At this point, both the destination input area and the arrival time input area are not empty, and the terminal displays the route planning execution control, which is in an unlocked state. The user can trigger the route planning execution control, and the terminal responds by displaying the route planning results page. The route planning results page displays multiple travel plans planned according to the user's location, destination, and arrival time. Within the travel planning project area, there are different travel planning projects, with the priority recommendation project located at the top. This priority recommendation project is marked with the text "Priority Recommendation," and also displays a recommendation description and the preferred mode of transportation—the subway. Specifically, the terminal first obtains the travel distance from the entrance of the residential area to the company, and determines the first candidate recommendation strategy based on the recommendation strategy corresponding to the distance dimension; then, it obtains real-time traffic information and determines the second candidate recommendation strategy based on the strategy corresponding to the traffic condition dimension; since both candidate recommendation strategies include the subway as the preferred mode of transportation, the terminal determines the subway as the preferred mode of transportation.

[0269] The user selected the preferred mode of transportation from the recommended service and triggered a redirection control within that service to the travel service page. In response, the terminal redirected to the travel service page matching the subway option, displaying subway lines, transfer information, and estimated arrival time.

[0270] In another specific application scenario, when a user is traveling and needs to visit a famous tourist attraction, they can trigger a navigation application installed on their phone. The terminal responds to the trigger, displays the navigation application's navigation page, and obtains the user's current location. The user can trigger a control on the navigation page to implement route planning. The terminal responds to this trigger, displaying a route planning page with a destination input area and an arrival time input area.

[0271] When a user enters partial keywords of a scenic spot, such as "XX Park," into the destination input area, the terminal displays a matching map area and marks predicted destinations matching the keywords, such as "South Gate of XX Park" or "North Gate of XX Park." If the user determines that "South Gate of XX Park" is the correct entrance by viewing the map, they can confirm the entry. The terminal then displays "South Gate of XX Park" in the destination input area in response to the user's confirmation.

[0272] Furthermore, the user can enter the estimated arrival time at the park in the arrival time input area. Since both the destination and arrival time are not empty, the terminal can display the route planning execution control, which is now unlocked. The user can trigger this route planning execution control, and the terminal responds by displaying the route planning results page. This page includes a travel planning project area, which displays multiple travel planning projects. The preferred recommended project is located at the top, displaying the text "Preferred Recommendation," along with a description and the preferred mode of transportation—ride-hailing.

[0273] Specifically, the terminal can first obtain the travel distance from the current location to the park, and determine the first candidate recommendation strategy based on the distance dimension; then it can obtain real-time traffic information, and determine the second candidate recommendation strategy based on the traffic condition dimension; since the recommended travel modes determined by these two strategies are inconsistent, the terminal can further obtain real-time weather information, and determine the third candidate recommendation strategy based on the weather dimension strategy. Based on the three candidate recommendation strategies, it is determined that taking a taxi is a commonly recommended travel mode, and therefore, it is prioritized as the recommended travel mode.

[0274] The user selects the preferred mode of transportation from the recommended service and triggers a redirection control within that service to the ride-hailing page. In response, the terminal redirects to the matching ride-hailing service page, which displays information such as nearby available drivers, estimated wait times, and fares.

[0275] In an optional embodiment of this application, such as Figure 21 As shown, a travel route planning system is provided, which includes an application layer, a load layer, a service layer, and a data layer.

[0276] The application layer can be used to implement interaction with users. Specifically, the application layer can include PC, APP, mini-program and H5.

[0277] The load balancer layer can be used to implement traffic management and distribution, security protection, system protection, and optimization. Specifically, the load balancer layer can include gateway access, gateway routing, authentication management, blacklist management, and access frequency control.

[0278] The service layer can specifically include monitoring and management, log management, monitoring and alerting, link management, task scheduling, Kubernetes clusters, Docker containers, Jenkins automation, GitLab code management, a travel recommendation engine, and a mixed-model architecture. Monitoring and management can be used to obtain real-time performance metrics of the travel route planning system, such as response time, system load, and error rate. Log management can be used to obtain user query requests, system responses, and system anomalies. Monitoring and alerting can trigger alarms when travel anomalies occur in the travel route planning system. Link management specifically involves visualizing the complete path of service requests within the travel route planning system. Task scheduling can be used to execute regular tasks, such as data backup, log cleanup, and scheduled data updates. Kubernetes clusters can manage and automate the deployment and operation of Docker containers, supporting features such as automatic scaling, load balancing, service discovery, and fault recovery. Docker containers ensure consistency across development, testing, and production environments, simplifying deployment and porting processes. Jenkins automation can automate the code building, testing, and deployment processes. GitLab code management can be used for version control and code storage. The travel recommendation engine can be used to obtain real-time traffic conditions and weather, make personalized recommendations, predict travel times, assess costs, obtain user preferences, store recommendation strategies, book vehicles, and optimize recommendations.

[0279] The service layer also includes Spring Cloud, RocketMQ, Docker, Spring Boot, and Redis. Spring Cloud is a distributed microservice architecture that provides service registration and discovery, configuration center, circuit breaker, intelligent routing, micro-proxy, control bus, global lock, leader election, distributed sessions, and cluster state management. RocketMQ is a distributed message middleware used to decouple systems, smooth traffic flow, and facilitate asynchronous communication. Docker is an open-source application container engine that packages applications and their dependencies into a portable container, allowing deployment on any operating system, enabling rapid application deployment, testing, and delivery, improving development efficiency and system portability. Spring Boot is a rapid development framework based on the Spring framework. By simplifying configuration and providing default settings, it enables the rapid construction of independent, production-grade Spring applications, significantly reducing development, testing time, and deployment costs. Elasticsearch (ES) is a search server based on Lucene, providing a distributed, multi-user, full-text search engine for log analysis, data search, and more.

[0280] The data layer specifically includes MySQL, MongoDB, Databend, and Redis. MySQL can be used to store user account information, historical travel records, and preset routes. MongoDB can be used to store various dynamic information, such as user-generated content (UGC), like reviews and real-time traffic information. Databend can be used for big data analysis, such as travel pattern analysis and user information analysis. Redis can be used to cache frequently accessed data, such as weather information and traffic conditions for popular destinations.

[0281] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0282] Based on the same inventive concept, this application also provides a route planning device for implementing the route planning method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more of the route planning device embodiments provided below can be found in the limitations of the route planning method described above, and will not be repeated here.

[0283] In one exemplary embodiment, such as Figure 22 As shown, a travel route planning device 2200 is provided, including: a first display module 2201, a second display module 2202, a third display module 2203, and a fourth display module 2204, wherein:

[0284] The first display module 2201 is used to display the input destination in the destination input area;

[0285] The second display module 2202 is used to display the input arrival time in the arrival time input area;

[0286] The third display module 2203 is used to display at least one travel planning item, each travel planning item indicating a travel route from the user's location to the destination according to the arrival time;

[0287] The fourth display module 2204 is used to display the travel mode matching the travel route in each travel planning project, and to display the departure time planned according to the travel route and the travel mode.

[0288] In one embodiment, the first display module 2201 is specifically used to display a destination input area; in a map display area corresponding to the destination input area, a map range matching the address fragment entered in the destination input area is displayed; in the map range, a location marker of the predicted destination matching the address fragment is displayed; in response to a preset operation on the location marker, the location indicated by the location marker after the preset operation is displayed as the destination in the destination input area.

[0289] In one embodiment, the second display module 2202 is specifically configured to display a schedule control; in response to a trigger operation on the schedule control, display at least one schedule; and in response to a schedule selection operation that selects a target schedule from the at least one schedule, display the arrival time determined according to the schedule time in the target schedule in the arrival time input area.

[0290] In one embodiment, the first display module 2201 is further configured to display a navigation page, which displays frequently used pick-up points that match the user's location and a trigger control for route planning; in response to a trigger event of the trigger control, a route planning page is displayed that uses the frequently used pick-up points as the user's location for route planning; and the route planning page displays a destination input area and an arrival time input area.

[0291] In one embodiment, the third display module 2203 is specifically configured to: display a route planning execution control in a locked state when at least one of the destination input area and the arrival time input area is empty; display the route planning execution control in an unlocked state when the destination input area displays the destination and the arrival time input area displays the arrival time; display a route planning results page in response to a trigger operation on the unlocked route planning execution control; and display at least one travel planning item planned according to the user's location, the destination, and the arrival time on the route planning results page.

[0292] In one embodiment, the at least one travel planning item is displayed in a travel planning item area, and the third display module 2203 is further configured to, in response to a selection operation of selecting a preferred item from the at least one travel planning item, display the target travel route indicated by the preferred item in a map area displayed alongside the travel planning item area.

[0293] In one embodiment, the third display module 2203 is specifically configured to display a candidate travel route indicated by the priority recommendation item and meeting the preset recommendation conditions in a selected state; to display other travel routes indicated by the priority recommendation item besides the candidate travel route in an optional state that is weaker than the selected state; and to display the travel route selected by the route selection operation in a selected state in response to a route selection operation on any optional travel route.

[0294] In one embodiment, the fourth display module 2204 is further configured to display a service jump control pointing to a travel service page that matches the travel mode indicated by the travel planning project in each travel planning project; in response to a trigger operation on the service jump control in the selected travel planning project, jump to the target travel service page pointed to by the service jump control in the selected travel planning project; and display travel service information that matches the travel route and travel mode in the selected travel planning project on the target travel service page.

[0295] In one embodiment, the at least one travel planning project includes priority recommended projects that meet the priority recommendation criteria; the third display module 2203 is further configured to display recommendation description information for the priority recommended project and the priority recommended travel mode for the priority recommended project; wherein the recommendation description information includes environmental information for at least one environmental dimension that meets the priority recommendation criteria, and the priority recommended travel mode is determined based on the environmental information.

[0296] In one embodiment, the preferred travel mode is obtained through a preferred travel mode determination step. The third display module 2203 is specifically used to obtain multiple preset environmental dimensions and at least one recommendation strategy corresponding to each environmental dimension. Each recommendation strategy includes environmental conditions and a recommended travel mode. According to the priority corresponding to each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy containing environmental conditions that meet the environmental information, the preferred travel mode is determined.

[0297] In one embodiment, the multiple environmental dimensions include a distance dimension and a traffic condition dimension, and the environmental information includes travel distance and real-time traffic conditions; wherein, the priority corresponding to the distance dimension is higher than the priority corresponding to the traffic condition dimension; the third display module 2203 is specifically used to determine a first candidate recommendation strategy according to the travel distance and at least one recommendation strategy corresponding to the distance dimension, wherein the travel distance meets the environmental conditions in the first candidate recommendation strategy; determine a second candidate recommendation strategy according to the real-time traffic conditions and at least one recommendation strategy corresponding to the traffic condition dimension, wherein the real-time traffic conditions meet the environmental conditions in the second candidate recommendation strategy; and when the first candidate recommendation strategy and the second candidate recommendation strategy have the same recommended travel mode, determine the same recommended travel mode as the preferred recommended travel mode.

[0298] In one embodiment, the plurality of environmental dimensions further includes a weather dimension, and the environmental information also includes real-time weather. The priority of the road condition dimension is higher than that of the weather dimension. The third display module 2203 is further configured to determine a third candidate recommendation strategy according to at least one recommendation strategy corresponding to the real-time weather and the weather dimension, in the case where there is no common recommended travel mode between the first candidate recommendation strategy and the second candidate recommendation strategy, or where there are multiple common recommended travel modes, and the real-time weather meets the environmental conditions in the third candidate recommendation strategy; and to determine the common recommended travel modes in the first candidate recommendation strategy, the second candidate recommendation strategy, and the third candidate recommendation strategy as the preferred recommended travel modes.

[0299] In one embodiment, the preferred travel mode is obtained through a preferred travel mode determination step. The third display module 2203 is specifically used to obtain a preset travel mode recommendation engine; generate model instruction information containing a first instruction and a second instruction, wherein the first instruction instructs to obtain environmental information for each of the multiple environmental dimensions, and the second instruction instructs to determine the preferred travel mode according to the priority corresponding to each environmental dimension, the environmental information under each environmental dimension, and a recommendation strategy containing environmental conditions that meet the environmental information; input the generated model instruction information into the travel mode recommendation engine to obtain the preferred travel mode output by the travel mode recommendation engine according to the first instruction and the second instruction.

[0300] In one embodiment, the preferred travel mode is obtained through a preferred travel mode determination step. The third display module 2203 is specifically used to obtain the destination and arrival time, obtain the user location, and obtain environmental information based on the user location and the destination; using a pre-trained travel mode recommendation engine, it calculates the travel information of various candidate travel modes using the destination, arrival time, user location, and environmental information, the travel information including the departure time of the corresponding travel route; and using the travel mode recommendation engine, it determines the preferred travel mode based on the travel information, the priorities of multiple preset environmental dimensions, and the recommendation strategy under each environmental dimension.

[0301] In one embodiment, the third display module 2203 is further configured to receive streaming data output by the travel mode recommendation engine during the process of determining the preferred travel mode; parse the received streaming data from the start marker to the end marker to obtain parsed data; and generate a route planning result page based on the parsed data, wherein the route planning result page includes the at least one travel planning item corresponding to the at least one travel mode.

[0302] In one embodiment, the parsed data includes text data of text type and resource data of preset resource type; the third display module 2203 is specifically used to obtain a page template including a travel planning project area, the page template including multiple preset fill areas, the travel planning project area including at least a portion of the multiple fill areas; the text data and the resource data are respectively filled into their respective multiple fill areas to obtain a route planning result page, wherein the travel planning project area forms the at least one travel planning project after being filled.

[0303] The modules in the aforementioned route planning device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0304] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 23As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements an X-axis route planning method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0305] Those skilled in the art will understand that Figure 23 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0306] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps described in the above embodiments of the travel route planning methods.

[0307] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps described in the above embodiments of the travel route planning methods.

[0308] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps described in the above-described travel route planning method embodiment.

[0309] It should be noted that 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, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0310] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0311] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0312] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for planning travel routes, characterized in that, The method includes: The destination input area displays the entered destination; The arrival time input area displays the entered arrival time; Display at least one travel planning item, each travel planning item indicating a travel route from the user's location to the destination according to the arrival time; In each of the travel planning projects, the travel modes that match the travel route are displayed, along with the departure time planned according to the travel route and the travel mode.

2. The method according to claim 1, characterized in that, The process of displaying the entered destination in the destination input area includes: Display the destination input area; In the map display area corresponding to the destination input area, a map range matching the address fragment entered in the destination input area is displayed; Within the map area, location markers for predicted destinations that match the address fragments are displayed; In response to a preset operation on the location marker, the location indicated by the location marker after the preset operation is displayed as the destination in the destination input area.

3. The method according to claim 1, characterized in that, The step of displaying the input arrival time in the arrival time input area includes: Display schedule control; In response to a trigger operation on the schedule control, at least one schedule item is displayed; In response to a schedule selection operation that selects a target schedule from the at least one schedule, the arrival time determined according to the schedule time in the target schedule is displayed in the arrival time input area.

4. The method according to claim 1, characterized in that, The method further includes: Display a navigation page, showing frequently used pick-up points that match the user's location, and displaying a trigger control for the route planning function; In response to a trigger event for the trigger control, a route planning page is displayed that uses the commonly used pick-up point as the user's location for route planning; The route planning page displays the destination input area and the arrival time input area.

5. The method according to claim 4, characterized in that, The display of at least one travel planning item includes: If at least one of the destination input area and the arrival time input area is empty, the route planning execution control, which is in a locked state, is displayed. When the destination is displayed in the destination input area and the arrival time is displayed in the arrival time input area, the route planning execution control is displayed in an unlocked state; In response to the triggering operation of the route planning execution control in the unlocked state, the route planning results page is displayed; The route planning results page displays at least one travel planning item planned according to the user's location, destination, and arrival time.

6. The method according to claim 1, characterized in that, The method further includes displaying at least one travel planning item in the travel planning item area, and the method also includes: In response to a selection operation that selects a preferred recommended item from the at least one travel planning item, the target travel route indicated by the preferred recommended item is displayed in a map area displayed alongside the travel planning item area.

7. The method according to claim 6, characterized in that, The target travel route indicated by the priority recommended items includes: Display a candidate travel route that meets the preset recommendation criteria and is indicated by the priority recommendation item, in a selected state; Other travel routes indicated by the priority recommendation item, besides the one candidate travel route, are displayed in an optional state that is weaker than the selected state; In response to a route selection operation on any selectable route, the selected route is displayed in a selected state.

8. The method according to claim 1, characterized in that, The method further includes: In each of the aforementioned travel planning projects, a service redirection control is displayed that points to a travel service page that matches the travel mode indicated by the travel planning project; In response to the triggering operation of the service jump control in the selected travel planning project, the user is redirected to the target travel service page pointed to by the service jump control in the selected travel planning project. The target travel service page displays travel service information that matches the travel routes and modes of travel in the selected travel planning project.

9. The method according to any one of claims 1 to 8, characterized in that, The at least one travel planning project includes priority recommendation projects that meet the priority recommendation criteria; the method further includes: Displays recommended descriptions for the prioritized recommended items, as well as recommended travel methods for those items; The recommended description information includes environmental information for at least one environmental dimension that meets the priority recommendation criteria, and the priority recommended travel mode is determined based on the environmental information.

10. The method according to claim 9, characterized in that, The preferred travel mode is obtained through a preferred travel mode determination step, which includes: Obtain multiple preset environmental dimensions, and obtain at least one recommendation strategy corresponding to each environmental dimension. Each recommendation strategy includes environmental conditions and recommended travel methods. Based on the priority of each environmental dimension, the environmental information under each environmental dimension, and the recommendation strategy that includes environmental conditions that meet the environmental information, the preferred travel mode is determined.

11. The method according to claim 10, characterized in that, The multiple environmental dimensions include a distance dimension and a road condition dimension, and the environmental information includes travel distance and real-time road conditions; wherein, the priority of the distance dimension is higher than the priority of the road condition dimension; the step of determining the preferred travel mode according to the priority of each environmental dimension, the environmental information under each environmental dimension, and a recommendation strategy containing environmental conditions that meet the environmental information, includes: A first candidate recommendation strategy is determined according to the travel distance and at least one recommendation strategy corresponding to the distance dimension, wherein the travel distance conforms to the environmental conditions in the first candidate recommendation strategy. A second candidate recommendation strategy is determined based on the real-time traffic conditions and at least one recommendation strategy corresponding to the traffic condition dimension, wherein the real-time traffic conditions conform to the environmental conditions in the second candidate recommendation strategy. If the first candidate recommendation strategy and the second candidate recommendation strategy have the same recommended travel mode, the same recommended travel mode will be determined as the preferred recommended travel mode.

12. The method according to claim 11, characterized in that, The multiple environmental dimensions also include a weather dimension, and the environmental information also includes real-time weather. The road condition dimension has a higher priority than the weather dimension. The method further includes: If the first candidate recommendation strategy and the second candidate recommendation strategy do not have the same recommended travel mode, or if there are multiple same recommended travel modes, a third candidate recommendation strategy is determined according to at least one recommendation strategy corresponding to the real-time weather and the weather dimension, wherein the real-time weather meets the environmental conditions in the third candidate recommendation strategy. The same recommended travel mode in the first candidate recommendation strategy, the second candidate recommendation strategy, and the third candidate recommendation strategy is determined as the preferred recommended travel mode.

13. The method according to claim 9, characterized in that, The preferred travel mode is obtained through a preferred travel mode determination step, which includes: Obtain a preset travel mode recommendation engine; Generate model instruction information containing a first instruction and a second instruction, wherein the first instruction instructs to acquire environmental information for each of multiple environmental dimensions, and the second instruction instructs to determine the preferred travel mode according to the priority corresponding to each environmental dimension, the environmental information under each environmental dimension, and a recommendation strategy containing environmental conditions that meet the environmental information; The model instruction information is input into the travel mode recommendation engine to obtain the preferred travel modes output by the travel mode recommendation engine according to the first instruction and the second instruction.

14. The method according to claim 9, characterized in that, The preferred travel mode is obtained through a preferred travel mode determination step, which includes: Obtain the destination and the arrival time, obtain the user's location, and obtain environmental information based on the user's location and the destination; Using a pre-trained travel mode recommendation engine, the destination, arrival time, user location, and environmental information are used to calculate travel information for various candidate travel modes, including the departure time of the corresponding travel route. The travel mode recommendation engine determines the preferred travel mode based on the travel information, the priorities of multiple preset environmental dimensions, and the recommendation strategy for each environmental dimension.

15. The method according to claim 14, characterized in that, The method further includes: Receive streaming data output by the travel mode recommendation engine during the process of determining the preferred travel mode; The received streaming data, from the start identifier to the end identifier, is parsed to obtain the parsed data. A route planning results page is generated based on the parsed data. The route planning results page includes at least one travel planning item corresponding to at least one mode of travel.

16. The method according to claim 15, characterized in that, The parsed data includes text data of type text and resource data of preset resource type; the step of generating a route planning result page based on the parsed data includes: Obtain a page template that includes a travel planning project area. The page template includes multiple preset fill areas, and the travel planning project area includes at least a portion of the multiple fill areas. The text data and the resource data are respectively filled into their respective multiple fill areas to obtain the route planning result page, wherein the travel planning project area is filled to form at least one travel planning project.

17. A travel route planning device, characterized in that, The device includes: The first display module is used to display the entered destination in the destination input area; The second display module is used to display the input arrival time in the arrival time input area; The third display module is used to display at least one travel planning item, each travel planning item indicating a travel route from the user's location to the destination according to the arrival time; The fourth display module is used to display the travel mode matching the travel route in each travel planning project, and to display the departure time planned according to the travel route and the travel mode.

18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 16.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 16.

20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 16.