Itinerary planning method and device, electronic equipment and readable storage medium
By obtaining the client's target journey information, the system automatically generates car rental suggestions, solving the problems of time-consuming and laborious online searches and missed flights, thus achieving accurate trip planning and improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING DIDI INFINITY TECH & DEV CO LTD
- Filing Date
- 2021-07-20
- Publication Date
- 2026-04-28
AI Technical Summary
In existing technologies, travel planning provided by online search has the problems of being time-consuming, labor-intensive, and inaccurate in calculation. Manual confirmation can easily lead to missed flights, and user negligence often results in failure to book a ride in time.
By acquiring the client's target journey information, the system automatically generates ride-hailing suggestions, including the departure location and time. Combining preset time intervals, ride-hailing orders, city attributes, and historical order information, the system optimizes the accuracy and timeliness of ride-hailing suggestions.
It improves the accuracy of itinerary planning and user experience, avoids the hassle of manual confirmation and the risk of missing flights, and enhances the utilization of system resources.
Smart Images

Figure CN115705502B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of network technology, and more specifically, to a route planning method, apparatus, electronic device, and storage medium. Background Technology
[0002] The internet, especially mobile internet, plays an increasingly important role in people's daily work and life. People can use their client devices (especially mobile client devices such as tablets and smartphones) to search for various kinds of information online. For example, in the context of business travel, after determining their travel plans, people usually search for travel routes based on business travel itinerary data (departure times of train tickets or plane tickets) and manually confirm the means of transportation and specific travel times for various routes.
[0003] However, while online searches offer convenience, manual confirmation is time-consuming, laborious, and prone to inaccurate calculations. Furthermore, failure to book a ride in time due to negligence can lead to missed flights and other problems, thus impacting people's travel plans. Summary of the Invention
[0004] This disclosure provides at least one travel planning method, apparatus, electronic device, and storage medium.
[0005] In a first aspect, embodiments of this disclosure provide a trip planning method, including:
[0006] Obtain the client's target journey information; the target journey information includes the journey departure point and the journey departure time.
[0007] Based on the target journey information, the client's trip planning information is determined; the trip planning information includes the departure location and departure time.
[0008] Based on the trip planning information, vehicle usage suggestion information is generated.
[0009] In this embodiment of the disclosure, by obtaining the target journey information of the client, corresponding car use suggestion information is actively generated to provide suggestions and reminders to the user. This not only avoids the process of manual confirmation by the user, but also avoids the problem of missed flights due to user negligence, thereby improving the user experience.
[0010] According to the first aspect, in one possible implementation, determining the client's trip planning information based on the target trip information includes:
[0011] If, based on the target journey information, it is determined that the client meets the car usage planning conditions, then, based on the target journey information, the client's trip planning information is determined.
[0012] The step of determining that the client meets the car-use planning conditions based on the target journey information includes:
[0013] Get the current time;
[0014] Determine the time interval between the departure time of the journey and the current time;
[0015] If the time interval is greater than a first preset time and less than a second preset time, it is determined that the client meets the vehicle usage planning conditions.
[0016] In this embodiment of the disclosure, vehicle usage suggestion information can be provided to users at an appropriate time. On the one hand, this can avoid users forgetting the suggestion information if it is provided too early, and on the other hand, it can also avoid the suggestion information being meaningless if it is provided too late. In this way, not only can the user experience be improved, but also the waste of system resources can be avoided.
[0017] According to the first aspect, in one possible implementation, determining the client's trip planning information based on the target trip information includes:
[0018] Obtain the car rental order information from the client and determine whether there is a target car rental order in the car rental order information that matches the target trip information;
[0019] If the target car rental order does not exist in the car rental order information, the client's trip planning information is determined based on the target trip information.
[0020] In this embodiment of the disclosure, it is possible to avoid providing car rental suggestions when the user has already booked a car, thereby improving the user experience and the system's resource utilization.
[0021] According to the first aspect, in one possible implementation, the target car rental order that matches the target journey information means that the distance between the destination of the target car rental order and the departure point of the journey is less than a preset distance, and the time interval between the departure time of the target car rental order and the departure time of the journey is less than a third preset time.
[0022] In this embodiment of the disclosure, by limiting the purpose of the target car rental order and the departure time of the target car rental order, the accuracy of the target car rental order matching can be improved.
[0023] According to the first aspect, in one possible implementation, determining the client's trip planning information based on the target trip information includes:
[0024] Based on the travel application information of the client and the target trip information, determine the attribute information of the city where the client is located;
[0025] Based on the attribute information of the city where the user of the client is located and the estimated car rental time, the departure point of the car rental is determined;
[0026] The departure time of the vehicle is determined based on the type of the journey's departure point and the vehicle's departure location.
[0027] In this embodiment of the disclosure, by confirming the attribute information of the city where the client is located, and by combining the estimated car rental time to confirm the departure location, and then confirming the departure time, the accuracy of confirming the departure location and departure time can be improved.
[0028] According to the first aspect, in one possible implementation, the city's attribute information includes the client's city of residence or travel city; determining the departure point based on the attribute information of the client's city and the estimated travel time includes:
[0029] Based on the city's attribute information, the user's residential and work locations on the client side are determined.
[0030] Determine whether the estimated vehicle usage time corresponds to the user's working hours;
[0031] If the estimated vehicle usage time is the user's working time, the user's work location is determined as the vehicle usage location;
[0032] If the estimated car rental time is during the user's non-working hours, the client's residential location will be determined as the car rental location.
[0033] According to the first aspect, in one possible implementation, determining the departure time of the vehicle based on the type of the journey departure point and the vehicle departure location includes:
[0034] Based on the type of the journey departure point and the vehicle departure location, at least one target historical vehicle order is determined from the client's historical vehicle order information;
[0035] The departure time of the vehicle is determined based on the at least one target historical vehicle booking order.
[0036] In this embodiment of the disclosure, confirming the departure time of the vehicle using the client's historical vehicle booking information can further improve the accuracy of the vehicle departure time prediction, thereby improving the user experience.
[0037] According to the first aspect, in one possible implementation, obtaining the client's target journey information includes:
[0038] Obtain the business travel itinerary data of the client;
[0039] Identify valid business travel itineraries from the business travel itinerary data that the client has not yet traveled;
[0040] Based on the valid business travel itinerary data that has not yet been taken, the target journey information is determined.
[0041] In this embodiment of the disclosure, valid business travel itineraries that the client has not yet traveled are first identified from the business travel itinerary data. Then, based on the valid business travel itineraries that have not yet traveled, the target journey information is determined, which can avoid wasting resources and improve the system's execution efficiency.
[0042] According to the first aspect, in one possible implementation, the vehicle use suggestion information further includes the estimated vehicle use duration and the estimated time of arrival at the departure point of the journey.
[0043] In this embodiment of the disclosure, since the car rental suggestion information also includes the estimated car rental duration and the estimated time to arrive at the departure point of the journey, the car rental suggestion information is richer and more in line with the user's expectations, further enhancing the user experience.
[0044] Secondly, embodiments of this disclosure provide a trip planning device, comprising:
[0045] The acquisition module is used to acquire the client's target journey information, which includes the journey departure point and the journey departure time.
[0046] The determination module is used to determine the client's trip planning information based on the target trip information; the trip planning information includes the vehicle departure location and the vehicle departure time.
[0047] The generation module is used to generate vehicle usage suggestion information based on the trip planning information.
[0048] According to the second aspect, in one possible implementation, the acquisition module is further configured to:
[0049] If, based on the target journey information, it is determined that the client meets the car usage planning conditions, then, based on the target journey information, the client's trip planning information is determined.
[0050] The acquisition module is further specifically used for:
[0051] Get the current time;
[0052] Determine the time interval between the departure time of the journey and the current time;
[0053] If the time interval is greater than a first preset time and less than a second preset time, it is determined that the client meets the vehicle usage planning conditions.
[0054] According to the second aspect, in one possible implementation, the determining module is specifically used for:
[0055] Obtain the car rental order information from the client and determine whether there is a target car rental order in the car rental order information that matches the target trip information;
[0056] If the target car rental order does not exist in the car rental order information, the client's trip planning information is determined based on the target trip information.
[0057] According to the second aspect, in one possible implementation, the target car rental order that matches the target journey information means that the distance between the destination of the target car rental order and the departure point of the journey is less than a preset distance, and the time interval between the departure time of the target car rental order and the departure time of the journey is less than a third preset time.
[0058] According to the second aspect, in one possible implementation, the determining module is specifically used for:
[0059] Based on the travel application information and the target trip information of the client, the attribute information of the city where the user of the client is located is determined;
[0060] The departure point for the ride is determined based on the attribute information of the user's city and the estimated ride time;
[0061] The departure time of the vehicle is determined based on the type of the journey's departure point and the vehicle's departure location.
[0062] According to the second aspect, in one possible implementation, the city's attribute information includes the user's permanent residence city or travel city; the determining module is specifically used for:
[0063] Based on the city's attribute information, the user's residential and work locations on the client side are determined.
[0064] Determine whether the estimated vehicle usage time corresponds to the user's working hours;
[0065] If the estimated vehicle usage time is the user's working time, the user's work location is determined as the vehicle usage location;
[0066] If the estimated car rental time is during the user's non-working hours, the client's residential location will be determined as the car rental location.
[0067] According to the second aspect, in one possible implementation, the determining module is specifically used for:
[0068] Based on the type of the journey departure point and the vehicle departure location, at least one target historical vehicle order is determined from the client's historical vehicle order information;
[0069] The departure time of the vehicle is determined based on the at least one target historical vehicle booking order.
[0070] According to the second aspect, in one possible implementation, the acquisition module is specifically used for:
[0071] Obtain the business travel itinerary data of the client;
[0072] Identify valid business travel itineraries from the business travel itinerary data that the client has not yet traveled;
[0073] Based on the valid business travel itinerary data that has not yet been taken, the target journey information is determined.
[0074] According to the second aspect, in one possible implementation, the vehicle use suggestion information also includes the estimated vehicle use duration and the estimated time of arrival at the departure point of the journey.
[0075] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the trip planning method as described in the first aspect is performed.
[0076] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the route planning method as described in the first aspect.
[0077] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0078] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.
[0079] Figure 1 A flowchart of a trip planning method provided by an embodiment of this disclosure is shown;
[0080] Figure 2 A flowchart illustrating a method for obtaining target journey information of a client, provided by an embodiment of this disclosure, is shown.
[0081] Figure 3 A schematic diagram is shown of a display interface for vehicle usage suggestion information provided in an embodiment of this disclosure;
[0082] Figure 4 A flowchart illustrating a method for determining the client's trip planning information according to an embodiment of this disclosure is shown.
[0083] Figure 5 A flowchart illustrating another method for determining the client's trip planning information provided by an embodiment of this disclosure is shown;
[0084] Figure 6 A flowchart illustrating a method for determining the vehicle departure location provided by an embodiment of this disclosure is shown;
[0085] Figure 7 A flowchart illustrating a method for determining the vehicle departure time provided by an embodiment of this disclosure is shown;
[0086] Figure 8 A schematic diagram of the structure of a trip planning device provided in an embodiment of this disclosure is shown;
[0087] Figure 9 A schematic diagram of an electronic device provided in an embodiment of the present disclosure is shown. Detailed Implementation
[0088] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.
[0089] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0090] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0091] The internet, especially mobile internet, plays an increasingly important role in people's daily work and life. People can use their client devices (especially mobile client devices such as tablets and smartphones) to search for various kinds of information online. For example, in the context of business travel, after determining their travel plans, people usually search for travel routes based on business travel itinerary data (departure times of train tickets or plane tickets) and manually confirm the means of transportation and specific travel times for various routes.
[0092] Research has found that while online searches offer convenience, manual verification is time-consuming, laborious, and prone to inaccuracies. Furthermore, failure to book a ride in time due to negligence can lead to missed flights and other problems, thus impacting people's travel plans.
[0093] To address the aforementioned issues, this disclosure provides a trip planning method that can acquire the client's target trip information, including the trip departure location and departure time. If, based on the target trip information, the client meets the conditions for ride-hailing, the method can determine the client's trip planning information, including the ride departure location and departure time. Then, based on the trip planning information, ride-hailing suggestion information is generated. Thus, by proactively generating corresponding ride-hailing suggestion information based on the client's target trip information, not only can the process of manual confirmation by the user be avoided, but also the problem of missed flights due to user negligence can be prevented, thereby improving the user experience.
[0094] See Figure 1 The diagram shows a flowchart of a trip planning method provided in an embodiment of this disclosure. The trip planning method includes the following steps S101 to S103:
[0095] S101, Obtain the target journey information from the client; the target journey information includes the journey departure point and the journey departure time.
[0096] The client device includes, but is not limited to, the user's mobile phone, tablet, wearable device, etc. It is understandable that, with the development of the internet, most users use client devices to book tickets, including information such as airline tickets and train tickets needed for their trip. Therefore, the user's target journey information, including the departure point and departure time, can be obtained from the user's client device.
[0097] For example, see Figure 2 As shown, when obtaining the target journey information from the client, the following steps S1011 to S1013 may be included:
[0098] S1011, Obtain the business travel itinerary data of the client.
[0099] S1012, Identify valid business travel itinerary data for which the client has not yet traveled from the business travel itinerary data.
[0100] S1013, Based on the valid business travel itinerary data that has not yet been taken, determine the target journey information.
[0101] For example, business travel itinerary data refers to data such as train ticket orders and flight ticket orders booked by the user. It is understood that in the process of obtaining the client's business travel itinerary data, all of the user's business travel itinerary data may be obtained. For example, the business travel itinerary data may include some data of trips that have been taken (used), and there may also be some order data that has not been paid for. Therefore, it is necessary to identify the valid business travel itinerary data of the client that has not been taken from the business travel itinerary data.
[0102] Among them, the valid business travel itinerary data that has not yet been traveled refers to business travel itinerary data whose departure time is after the present and which has been paid for. Then, based on the valid business travel itinerary data that has not yet been traveled, the target journey information is determined, which can improve the accuracy of the confirmation of the target journey information.
[0103] For example, if the valid business travel itinerary data that the client did not travel is identified as: train ticket travel data from Beijing South Station to Hangzhou East Station at 10:00 AM on October 2, 2021, then it can be determined that the departure point of the journey in the target journey information is Beijing and Beijing South Station, and the departure time of the journey is 10:00 AM on October 2, 2021.
[0104] S102, based on the target journey information, determine the client's trip planning information; the trip planning information includes the vehicle departure location and the vehicle departure time.
[0105] There is a preset association between the trip planning information and the target journey information. In some embodiments, this association may be that the departure time of the vehicle in the trip planning information is earlier than the departure time of the journey in the target journey information, and / or that the departure point of the journey in the target journey information is the destination of the vehicle in the trip planning information.
[0106] It's understandable that even if the target trip information is obtained, it's meaningless to provide car rental suggestions to users if the target trip information is far removed from the current time. For example, if the current time is September 10th, and the departure time of the target trip information is October 2nd, which is far from the current time. Similarly, if the current time is 8:00 AM on September 10th, and the departure time of the target trip information is 10:00 AM on September 10th, although the departure time has not yet arrived, it is still close to the departure time, so providing car rental suggestions to users at this time is also meaningless.
[0107] Therefore, in some implementations, if it is determined that the client meets the car-use planning conditions based on the target journey information, the client's trip planning information can be determined based on the target journey information; wherein, determining that the client meets the car-use planning conditions based on the target journey information may include the following:
[0108] (1) Get the current time.
[0109] (2) Determine the time interval between the departure time of the journey and the current time.
[0110] (3) If the time interval is greater than the first preset time and less than the second preset time, it is determined that the client meets the vehicle use planning conditions.
[0111] For example, the first preset time can be 3 hours, and the second preset time can be 24 hours. That is, based on the departure time of the journey, a car rental suggestion can be provided to the user within a period of 24 hours but more than 3 hours in advance. It is understood that in other embodiments, the first preset time and the second preset time can also be other preset times, which are not specifically limited here.
[0112] If the target journey information meets the car planning conditions, the client's trip planning information can be determined based on the target journey information, thereby determining the user's car departure location and departure time.
[0113] S103, Based on the trip planning information, generate vehicle usage suggestion information.
[0114] For example, the car rental suggestion information also includes the estimated time of arrival (ETA) and the estimated time of arrival at the departure point of the journey (ETD). This makes the car rental suggestion information more comprehensive and better meets the user's expectations, thereby further enhancing the user experience.
[0115] For example, see Figure 3 The diagram shown is a schematic representation of a vehicle usage suggestion information display interface provided in an embodiment of this disclosure. Figure 3 As shown, based on the business travel itinerary data in the example above, the following car rental suggestion information can be generated: "It is recommended that you take a taxi from Diamond Building in Haidian District (departure point) to Beijing South Railway Station (trip departure point) at 8:00 AM on October 2nd (departure time). You will arrive at 9:20 AM (ETD). 40 minutes have been reserved for you to enter the station and go through security."
[0116] In some implementations, the car booking suggestion information can be displayed to the client via an H5 page. In addition, to facilitate user car booking, a "book a car" icon can be displayed at the same time as the car booking suggestion information. Users can book a car by triggering the "book a car" icon without any other operation.
[0117] In this embodiment, by obtaining the client's target journey information, corresponding car rental suggestions are proactively generated. This not only avoids the need for manual confirmation by the user but also prevents missed flights due to user negligence, thus improving the user experience. Furthermore, while receiving the car rental suggestions, users can directly book a car with one click based on their specific needs, saving them time.
[0118] It is understandable that although the aforementioned method obtains valid business travel itinerary data, the user may have already booked a car based on this data. Providing car usage suggestions after a booking is not only meaningless but also wastes system resources. Therefore, to avoid providing car usage suggestions when a user has already booked a car, in some implementations, regarding step S102, see [reference needed]. Figure 4 As shown, when determining the client's itinerary planning information based on the target journey information, the following steps S102a to S102b may be included:
[0119] S102a, Obtain the car rental order information of the client, and determine whether there is a target car rental order in the car rental order information that matches the target journey information.
[0120] Among them, the target car rental order that matches the target journey information means that the distance between the destination of the target car rental order and the departure point of the journey is less than a preset distance, and the time interval between the departure time of the target car rental order and the departure time of the journey is less than a third preset time.
[0121] For example, the preset distance could be 1000 meters, and the third preset time could be 3 hours. Taking Beijing South Railway Station as the departure point of the journey as an example, if there is a situation in the system where the distance between the destination and Beijing South Railway Station is less than 1000 meters, and the departure time of the ride is less than 3 hours from the departure time of the journey, it means that the user has already booked a ride for the valid business trip. In this case, there is no need to actively provide the user with ride-hailing suggestions.
[0122] S102b, if the target car rental order does not exist in the car rental order information, determine the client's trip planning information based on the target trip information.
[0123] In this embodiment, a car rental suggestion is only generated proactively when it is detected that the user has not yet booked a car for the valid business trip. This not only avoids duplicate suggestions but also improves the system's resource utilization.
[0124] In other embodiments, see [link to relevant documentation] for step S102 or step S102b. Figure 5 As shown, when determining the client's itinerary planning information based on the target journey information, the following steps are included: S1021 to S1023:
[0125] S1021, Based on the travel application information of the client and the target journey information, determine the attribute information of the city where the user of the client is located.
[0126] A travel application form refers to an application form generated by an employee who needs to work remotely to complete company tasks. The city attribute information includes the user's city of residence or the city they are traveling to.
[0127] It is understandable that users usually submit a travel application form on the client when they are on a business trip. Therefore, by matching the travel application form with the target trip information, the attribute information of the city where the current trip departs can be determined.
[0128] For example, a user has booked round-trip train tickets from Beijing to Hangzhou. Train order A is from Beijing to Hangzhou, and train order B is from Hangzhou to Beijing. Therefore, in this business trip, Beijing is the user's departure city and also their home city (key locations within the city are home and office), while Hangzhou is the destination city (key locations within the city are the booked hotel and remote office location).
[0129] In other implementations, the client's location information can also be obtained, the user's current city can be determined based on the client's location information, and then the attribute information of the user's city can be determined by combining the target journey information and historical journey information.
[0130] S1022, Based on the attribute information of the user's city and the estimated car rental time, determine the car rental departure location.
[0131] The estimated car rental time refers to the approximate departure time period estimated based on the trip's departure time. In this embodiment, the estimated car rental time is divided into two time periods based on the user's working hours. For example, the estimated car rental time can be divided between [10 PM and 10 AM the next day]. Typically, the [10 PM to 10 AM the next day] period is the user's rest time, during which the user is usually at their residence, while during working hours the user is usually at their workplace.
[0132] S1023, Determine the departure time of the vehicle based on the type of the journey departure point and the vehicle departure location.
[0133] The types of departure points include train stations and airports. Understandably, different types of departure points have different time requirements. For example, you might only need to arrive at a train station 40 minutes before departure time, while you need to arrive at an airport at least 1.5 hours before departure time. Therefore, the type of departure point will affect the departure time. Additionally, the distance between the pick-up point and the departure point will also affect the departure time.
[0134] Furthermore, it is also necessary to consider traffic conditions between the vehicle's departure point and the journey's origin to determine the departure time. For example, if traffic is congested or there is road construction between the vehicle's departure point and the journey's origin, an earlier departure time needs to be determined. Therefore, in some implementations, the departure time can also be determined based on the type of the journey's origin and the traffic conditions between the vehicle's departure point and the journey's origin, thereby improving the accuracy of departure time planning.
[0135] For step S1022 above, see [link / reference]. Figure 6 As shown, when determining the departure point of the vehicle based on the attribute information of the user's city and the estimated time of use, the following steps are included: S10221 to S10224:
[0136] S10221, Based on the attribute information of the city, determine the residential location and work location of the user of the client.
[0137] S10222, determine whether the estimated car rental time is the user's working time; if yes, proceed to step S10223; if no, proceed to step S10224.
[0138] For example, working hours can be [10:00, 22:00], but of course, working hours can also be other time periods, which are not limited here.
[0139] S10223, The user's work location is determined as the vehicle usage location.
[0140] S10224, The user's residence is determined as the vehicle pick-up location.
[0141] For example, taking the above train order A as an example, the departure point of the journey is Beijing, which is the user's usual city of residence. If the estimated time of use is the user's working hours [10:00, 22:00], then the workplace (company address) is determined as the location of use. If it is outside of working hours [22:00, 10:00 the next day], then the residence (home address) is determined as the location of use.
[0142] For example, taking train order B above as an example, the departure point of the journey is Hangzhou, which is the user's travel city. If the estimated car rental time is during the user's working hours [10:00, 22:00], then the office location is determined as the car rental location; if it is outside of working hours [22:00, 10:00 the next day], then the hotel address or office address is determined as the car rental location.
[0143] In the context of travel cities, "office locations" refers to the workplaces a user has visited during their travels. For example, you can check a user's car rental bookings in that travel city to see if they have visited any of those workplaces.
[0144] It should be noted that regardless of whether it is the user's city of residence or the city of travel, if the user's home address, hotel address, or office address cannot be found, no car rental suggestions will be provided. Additionally, if multiple hotel addresses exist in the city of travel, the hotel address with the latest check-out time will be used; if multiple office locations exist, the office location that most recently appeared in the travel rental request will be used.
[0145] For step S1023 above, see [link / reference]. Figure 7 As shown, when determining the departure time of the vehicle based on the type of the journey's departure point and the vehicle's departure location, the following steps are included: S10231 to S10232:
[0146] S10231, Based on the type of the journey departure point and the vehicle departure location, determine at least one target historical vehicle order from the client's historical vehicle order information.
[0147] S10232, Based on the at least one target historical vehicle booking order, determine the vehicle departure time.
[0148] For example, one can filter historical completed order information. If the order's origin and destination are the same as or close to the user's current ride request's origin and destination (e.g., within a 500-meter tolerance range), and the order's arrival time is the same as or close to the user's expected arrival time (e.g., within a 10-minute tolerance range), then this order is marked as a target historical ride request. Then, based on at least one target historical ride request, the departure time for the current ride is determined. For instance, the average departure time from at least one target historical ride request can be used to obtain the current ride request's departure time.
[0149] Furthermore, relevant information such as departure time, actual mileage, actual ETA travel time, and actual ETD arrival time can be extracted from the target historical car rental order. If multiple target historical car rental orders exist, the relevant information of the target historical car rental order with the closest ETD arrival time to the expected arrival time can be determined as the car rental recommendation information for this trip.
[0150] In this embodiment of the disclosure, the accuracy of determining the departure time of a vehicle can be improved by combining historical orders. In addition, since the relevant information of the target historical vehicle orders is real data that has occurred in the past, combining this data to predict the current vehicle usage suggestion information can further improve the accuracy of the vehicle usage suggestion information and enhance the user experience.
[0151] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0152] Based on the same technical concept, this disclosure also provides a trip planning device corresponding to the trip planning method. Since the principle of the device in this disclosure for solving the problem is similar to the trip planning method described above in this disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0153] Reference Figure 8 The diagram shown is a schematic representation of a trip planning device 500 provided in an embodiment of this disclosure. The device includes:
[0154] The acquisition module 501 is used to acquire the target journey information of the client; the target journey information includes the journey departure point and the journey departure time.
[0155] The determining module 502 is used to determine the client's trip planning information based on the target trip information; the trip planning information includes the vehicle departure location and the vehicle departure time;
[0156] The generation module 503 is used to generate vehicle use suggestion information based on the trip planning information.
[0157] In one possible implementation, the acquisition module 501 is further configured to:
[0158] If, based on the target journey information, it is determined that the client meets the car usage planning conditions, then, based on the target journey information, the client's trip planning information is determined.
[0159] The acquisition module 501 is further used for:
[0160] Get the current time;
[0161] Determine the time interval between the departure time of the journey and the current time;
[0162] If the time interval is greater than a first preset time and less than a second preset time, it is determined that the client meets the vehicle usage planning conditions.
[0163] In one possible implementation, the determining module 502 is specifically used for:
[0164] Obtain the car rental order information from the client and determine whether there is a target car rental order in the car rental order information that matches the target trip information;
[0165] If the target car rental order does not exist in the car rental order information, the client's trip planning information is determined based on the target trip information.
[0166] In one possible implementation, the target car rental order that matches the target journey information means that the distance between the destination of the target car rental order and the departure point of the journey is less than a preset distance, and the time interval between the departure time of the target car rental order and the departure time of the journey is less than a third preset time.
[0167] In one possible implementation, the determining module 502 is specifically used for:
[0168] Based on the travel application information and the target trip information of the client, the attribute information of the city where the user of the client is located is determined;
[0169] The departure point for the ride is determined based on the attribute information of the user's city and the estimated ride time;
[0170] The departure time of the vehicle is determined based on the type of the journey's departure point and the vehicle's departure location.
[0171] In one possible implementation, the city's attribute information includes the user's city of residence or city of business travel; the determining module 502 is specifically used for:
[0172] Based on the city's attribute information, the user's residential and work locations on the client side are determined.
[0173] Determine whether the estimated vehicle usage time corresponds to the user's working hours;
[0174] If the estimated vehicle usage time is the user's working time, the user's work location is determined as the vehicle usage location;
[0175] If the estimated car rental time is during the user's non-working hours, the client's residential location will be determined as the car rental location.
[0176] In one possible implementation, the determining module 502 is specifically used for:
[0177] Based on the type of the journey departure point and the vehicle departure location, at least one target historical vehicle order is determined from the client's historical vehicle order information;
[0178] The departure time of the vehicle is determined based on the at least one target historical vehicle booking order.
[0179] In one possible implementation, the acquisition module 501 is specifically used for:
[0180] Obtain the business travel itinerary data of the client;
[0181] Identify valid business travel itineraries from the business travel itinerary data that the client has not yet traveled;
[0182] Based on the valid business travel itinerary data that has not yet been taken, the target journey information is determined.
[0183] In one possible implementation, the car rental suggestion information also includes the estimated rental duration and the estimated time of arrival at the departure point of the journey.
[0184] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.
[0185] Based on the same technical concept, this disclosure also provides an electronic device. (See also...) Figure 9 The diagram shown is a structural schematic of an electronic device 700 provided in an embodiment of this disclosure, including a processor 701, a memory 702, and a bus 703. The memory 702 is used to store execution instructions and includes a main memory 7021 and an external memory 7022. The main memory 7021, also called internal memory, is used to temporarily store computational data in the processor 701, as well as data exchanged with external memory 7022 such as a hard disk. The processor 701 exchanges data with the external memory 7022 through the main memory 7021.
[0186] In this embodiment, the memory 702 is specifically used to store application code that executes the solution of this application, and its execution is controlled by the processor 701. That is, when the electronic device 700 is running, the processor 701 communicates with the memory 702 through the bus 703, so that the processor 701 executes the application code stored in the memory 702, and then executes the method described in any of the foregoing embodiments.
[0187] The memory 702 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.
[0188] Processor 701 may be an integrated circuit chip with signal processing capabilities. The aforementioned processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor.
[0189] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 700. In other embodiments of this application, the electronic device 700 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0190] This disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the route planning method in the above-described method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
[0191] This disclosure also provides a computer program product carrying program code. The program code includes instructions that can be used to execute the steps of the trip planning method in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0192] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0193] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0194] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0195] In addition, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0196] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0197] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.
Claims
1. A trip planning method, characterized in that, include: Obtain the client's target journey information; The target journey information includes the journey's departure point and departure time; Based on the target journey information, the client's trip planning information is determined; the trip planning information includes the departure location and departure time. Based on the trip planning information, vehicle usage suggestion information is generated; The step of determining the client's itinerary planning information based on the target journey information includes: Based on the travel application information and the target trip information of the client, the attribute information of the city where the user of the client is located is determined; The departure point for the ride is determined based on the attribute information of the user's city and the estimated ride time; The departure time of the vehicle is determined based on the type of the journey's departure point and the vehicle's departure location; Specifically, determining the departure time of the vehicle based on the type of the journey's departure point and the vehicle pick-up location involves: The departure time of the vehicle is determined based on the type of the journey departure point and the traffic status information between the vehicle departure point and the journey departure point; The city's attribute information includes the user's city of residence or city of business travel; The step of determining the departure point based on the user's city location and estimated travel time includes: Based on the city's attribute information, the user's residential and work locations on the client side are determined. Determine whether the estimated vehicle usage time corresponds to the user's working hours; If the estimated vehicle usage time is the user's working time, the user's work location is determined as the vehicle usage location; If the estimated car rental time is during the user's non-working hours, the client's residential location will be determined as the car rental location. Specifically, when the city's attribute information is a travel city, the work location is determined to be an office location that the user has visited during their travels, and the office location is determined by querying the user's car rental orders; When there are multiple office locations, the office location that appears most recently in the travel car rental order is determined as the car rental location. If it is outside of working hours, the hotel address is determined as the car rental location. When there are multiple hotels, the hotel with the latest departure time is determined as the car rental location.
2. The method according to claim 1, characterized in that, The step of determining the client's itinerary planning information based on the target journey information includes: If, based on the target journey information, it is determined that the client meets the car usage planning conditions, then, based on the target journey information, the client's trip planning information is determined. The step of determining that the client meets the car-use planning conditions based on the target journey information includes: Get the current time; Determine the time interval between the departure time of the journey and the current time; If the time interval is greater than a first preset time and less than a second preset time, it is determined that the client meets the vehicle usage planning conditions.
3. The method according to claim 1, characterized in that, The step of determining the client's itinerary planning information based on the target journey information includes: Obtain the car rental order information from the client and determine whether there is a target car rental order in the car rental order information that matches the target trip information; If the target car rental order does not exist in the car rental order information, the client's trip planning information is determined based on the target trip information.
4. The method according to claim 3, characterized in that, The target car rental order that matches the target journey information means that the distance between the destination of the target car rental order and the departure point of the journey is less than a preset distance, and the time interval between the departure time of the target car rental order and the departure time of the journey is less than a third preset time.
5. The method according to claim 1, characterized in that, Determining the departure time of the vehicle based on the type of the journey's departure point and the vehicle's departure location includes: Based on the type of the journey departure point and the vehicle departure location, at least one target historical vehicle order is determined from the client's historical vehicle order information; The departure time of the vehicle is determined based on the at least one target historical vehicle booking order.
6. The method according to claim 1, characterized in that, The acquisition of the client's target journey information includes: Obtain the business travel itinerary data of the client; Identify valid business travel itineraries from the business travel itinerary data that the client has not yet traveled; Based on the valid business travel itinerary data that has not yet been taken, the target journey information is determined.
7. The method according to claim 1, characterized in that, The vehicle rental suggestion information also includes the estimated rental duration and the estimated time to arrive at the departure point of the journey.
8. A travel planning device, characterized in that, include: The acquisition module is used to obtain the target journey information from the client. The target journey information includes the journey's departure point and departure time; The determination module is used to determine the client's trip planning information based on the target trip information; the trip planning information includes the vehicle departure location and the vehicle departure time. The generation module is used to generate vehicle usage suggestion information based on the trip planning information; Specifically, the determination module is used for: Based on the travel application information and the target trip information of the client, the attribute information of the city where the user of the client is located is determined; The departure point for the ride is determined based on the attribute information of the user's city and the estimated ride time; The departure time of the vehicle is determined based on the type of the journey's departure point and the vehicle's departure location; Specifically, determining the departure time of the vehicle based on the type of the journey's departure point and the vehicle pick-up location involves: The departure time of the vehicle is determined based on the type of the journey departure point and the traffic status information between the vehicle departure point and the journey departure point; The city's attribute information includes the user's city of residence or city of business travel; The step of determining the departure point based on the user's city location and estimated travel time includes: Based on the city's attribute information, the user's residential and work locations on the client side are determined. Determine whether the estimated vehicle usage time corresponds to the user's working hours; If the estimated vehicle usage time is the user's working time, the user's work location is determined as the vehicle usage location; If the estimated car rental time is during the user's non-working hours, the client's residential location will be determined as the car rental location. Specifically, when the city's attribute information is a travel city, the work location is determined to be an office location that the user has visited during their travels, and the office location is determined by querying the user's car rental orders; When there are multiple office locations, the office location that appears most recently in the travel car rental order is determined as the car rental location. If it is outside of working hours, the hotel address is determined as the car rental location. When there are multiple hotels, the hotel with the latest departure time is determined as the car rental location.
9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the trip planning method as described in any one of claims 1-7 is performed.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the route planning method as described in any one of claims 1-7.
Citation Information
Patent Citations
Information pushing method and device, electronic equipment and computer storage equipment
CN110765367A