A method, device, electronic device and storage medium for processing online car-hailing orders
By screening and distributing candidate vehicles that meet specific conditions, the problem of low driver order reception rates in online car-hailing platforms is solved, and passenger experience and capacity utilization efficiency are improved.
Patent Information
- Application Number
- CN202210166379.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-23
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-02-23
AI Technical Summary
During the order distribution process of existing online ride-hailing platforms, drivers have low order acceptance rates, resulting in passengers being unable to take taxis, lost orders and poor driver driving experience.
By receiving passengers' reservation orders, determine whether the order value reaches the set threshold. If it is not reached, filter candidate vehicles that meet specific conditions, such as high historical order acceptance rate, current fulfillment orders or not accepted orders, and make targeted to increase the probability of order acceptance.
It improves the driver's order reception rate, improves the passenger's order placing experience, reduces order loss, and optimizes capacity utilization.
Smart Images

Figure CN114548456B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of online car-hailing, and in particular to an online car-hailing order processing method, device, electronic device and storage medium. Background Art
[0002] With the development of technology, online ride-hailing has played a very important role in people's daily lives. People usually choose to book a car to facilitate travel. However, after many people booked an order on the online ride-hailing platform, there were no online ride-hailing drivers to pick up the order, or the driver who wanted to take the order may not receive the booking order for some reason. In this case, passengers may be unable to take a taxi, booking orders will be lost, drivers who want to take the order will not receive the order, and the driver's driving experience will be poor, which will also cause losses to the online ride-hailing platform.
[0003] Therefore, how to implement a method for processing online car-hailing orders is an urgent problem to be solved. Summary of the invention
[0004] In order to solve the problems in the prior art, the embodiments of the present application provide a method, device, electronic device and storage medium for processing online car-hailing orders, which can effectively screen the orders and distribute the orders to vehicles in a targeted manner.
[0005] In a first aspect, an embodiment of the present application provides a method for processing an online car-hailing order, the method comprising:
[0006] Receiving a first reservation order; the first reservation order is an order including an order start time specified by a passenger;
[0007] If the order value of the first reservation order does not reach the set threshold, the first reservation order is distributed to candidate vehicles that meet any one of the following first set conditions, and the first set conditions include:
[0008] The historical acceptance rate of the vehicle's reservation orders is greater than the average acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up a passenger and is sending the passenger to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than a first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than a first preset time length; or,
[0009] There is a second reservation order in the vehicle, and there is no passenger who has received the second reservation order, and the distance between the order start point of the second reservation order and the order end point of the first reservation order is less than the second preset distance, and the time difference between the order start time of the second reservation order and the order end time of the first reservation order is less than the second preset time length; or,
[0010] There is a third reservation order in the vehicle, and there is a passenger who has not yet received the third reservation order. The distance between the order end point of the third reservation order and the order start point of the first reservation order is less than the third preset distance, and the time difference between the order end time of the third reservation order and the order start time of the first reservation order is less than the third preset time length.
[0011] In a possible implementation, the set threshold is determined according to the order value of historical orders.
[0012] In a possible implementation, the method further includes:
[0013] If the order value of the first reservation order reaches a set threshold, the first reservation order is distributed to vehicles located within a first preset range around the order starting location of the first reservation order.
[0014] In a possible implementation manner, distributing the first reservation order to vehicles located within a first preset range around an order start location of the first reservation order includes:
[0015] If the time difference between the order start time of the first reservation order and the current time is less than or equal to a fourth preset time length, the first reservation order is distributed to vehicles whose location and the distance between the order start location of the first reservation order and the vehicle is less than the fourth preset distance;
[0016] If the time difference between the order start time of the first reservation order and the current time is greater than the fourth preset time length, the first reservation order will be distributed to vehicles whose location is less than the fifth preset distance from the order start location of the first reservation order.
[0017] In a possible implementation, the method further includes:
[0018] If the order value of the first reservation order does not reach the set threshold and there is no candidate vehicle that meets the first set condition, the first reservation order is distributed to vehicles located within a first preset range around the order starting location of the first reservation order.
[0019] In a possible implementation manner, the candidate vehicles include a first candidate vehicle and a second candidate vehicle; if the order value of the first reservation order does not reach a set threshold, the first reservation order is distributed to candidate vehicles that meet any one of the following first set conditions, including:
[0020] If the order value of the first reservation order does not reach the set threshold, the first reservation order is distributed to the first candidate vehicle; the first candidate vehicle is a vehicle whose historical order acceptance rate of reservation orders is greater than the average order acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up a passenger and is sending the passenger to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than a first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than a first preset time length;
[0021] If the first candidate vehicle does not exist, the first reservation order will be distributed to the second candidate vehicle; the second candidate vehicle is a vehicle for which a second reservation order exists and which has not yet received any passengers, and the distance between the order starting point of the second reservation order and the order ending point of the first reservation order is less than the second preset distance, and the time difference between the order starting time of the second reservation order and the order ending time of the first reservation order is less than the second preset time length; or, there is a third reservation order in the second candidate vehicle, and the passenger of the third reservation order has not yet been received, and the distance between the order ending point of the third reservation order and the order starting point of the first reservation order is less than the third preset distance, and the time difference between the order ending time of the third reservation order and the order starting time of the first reservation order is less than the third preset time length.
[0022] In a possible implementation, the method further includes:
[0023] If the first reservation order is not accepted after a set period of time, the first reservation order is distributed to a candidate vehicle that meets any of the following second set conditions, and the second set condition includes:
[0024] The activity time of the vehicle within the second preset range of the order starting location of the first reservation order exceeds the fifth preset time length; or,
[0025] The registered address of the vehicle is within a second preset range of the order starting location of the first reservation order.
[0026] In a second aspect, an embodiment of the present application provides a device for processing an online car-hailing order, the device comprising:
[0027] A receiving unit, configured to receive a first reservation order; the first reservation order is an order including an order start time specified by a passenger;
[0028] A first distribution unit is configured to distribute the first reservation order to a candidate vehicle that satisfies any one of the following first set conditions if the order value of the first reservation order does not reach a set threshold, wherein the first set condition includes:
[0029] The historical acceptance rate of the vehicle's reservation orders is greater than the average acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up a passenger and is sending the passenger to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than a first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than a first preset time length; or,
[0030] There is a second reservation order in the vehicle, and there is no passenger who has received the second reservation order, and the distance between the order start point of the second reservation order and the order end point of the first reservation order is less than the second preset distance, and the time difference between the order start time of the second reservation order and the order end time of the first reservation order is less than the second preset time length; or,
[0031] There is a third reservation order in the vehicle, and there is a passenger who has not yet received the third reservation order. The distance between the order end point of the third reservation order and the order start point of the first reservation order is less than the third preset distance, and the time difference between the order end time of the third reservation order and the order start time of the first reservation order is less than the third preset time length.
[0032] In a possible implementation, the device further includes:
[0033] The second distribution unit is used to distribute the first reservation order to vehicles located within a first preset range around the order starting location of the first reservation order if the order value of the first reservation order reaches a set threshold.
[0034] In a possible implementation manner, the second distribution unit is further configured to:
[0035] If the time difference between the order start time of the first reservation order and the current time is less than or equal to a fourth preset time length, the first reservation order is distributed to vehicles whose location and the distance between the order start location of the first reservation order and the vehicle is less than the fourth preset distance;
[0036] If the time difference between the order start time of the first reservation order and the current time is greater than the fourth preset time length, the first reservation order will be distributed to vehicles whose location is less than the fifth preset distance from the order start location of the first reservation order.
[0037] In a possible implementation, the device further includes:
[0038] The third distribution unit is used to distribute the first reservation order to vehicles located within a first preset range around the order starting location of the first reservation order if the order value of the first reservation order does not reach a set threshold and there is no candidate vehicle that meets the first set condition.
[0039] In a possible implementation manner, the first distribution unit is further configured to:
[0040] If the order value of the first reservation order does not reach the set threshold, the first reservation order is distributed to the first candidate vehicle; the first candidate vehicle is a vehicle whose historical order acceptance rate of reservation orders is greater than the average order acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up a passenger and is sending the passenger to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than a first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than a first preset time length;
[0041] If the first candidate vehicle does not exist, the first reservation order will be distributed to the second candidate vehicle; the second candidate vehicle is a vehicle for which a second reservation order exists and which has not yet received any passengers, and the distance between the order starting point of the second reservation order and the order ending point of the first reservation order is less than the second preset distance, and the time difference between the order starting time of the second reservation order and the order ending time of the first reservation order is less than the second preset time length; or, there is a third reservation order in the second candidate vehicle, and the passenger of the third reservation order has not yet been received, and the distance between the order ending point of the third reservation order and the order starting point of the first reservation order is less than the third preset distance, and the time difference between the order ending time of the third reservation order and the order starting time of the first reservation order is less than the third preset time length.
[0042] In a possible implementation, the device further includes:
[0043] The fourth distribution unit is configured to distribute the first reservation order to a to-be-selected vehicle that satisfies any one of the following second set conditions if the first reservation order has not been accepted within a set period of time, wherein the second set condition includes:
[0044] The activity time of the vehicle within the second preset range of the order starting location of the first reservation order exceeds the fifth preset time length; or,
[0045] The registered address of the vehicle is within a second preset range of the order starting location of the first reservation order.
[0046] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory and a processor, wherein the memory contains a computer program that can run on the processor. When the computer program is executed by the processor, the method described in any one of the methods for processing an online car-hailing order in the first aspect is implemented.
[0047] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, any one of the methods described in the first aspect, a method for processing an online car-hailing order, is implemented.
[0048] The embodiment of the present application provides a method for processing online car-hailing orders, receiving a first reservation order, and if the order value of the first reservation order does not reach a set threshold, distributing the first reservation order to candidate vehicles that meet any of the following first set conditions. Screening is performed based on the first reservation order, and candidate vehicles that can and are willing to accept the first reservation order are screened out through the screening conditions, and the first reservation order is distributed to the candidate vehicles. The reservation order initiated by the passenger can be distributed to vehicles with a higher possibility of accepting the order in a targeted manner, so as to enable the driver to quickly accept the order, improve the ordering experience of the passengers, and avoid order loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0050] Figure 1 An application scenario diagram of a method for processing an online car-hailing order provided in an embodiment of the present application;
[0051] Figure 2 A flowchart of a method for processing an online car-hailing order provided in an embodiment of the present application;
[0052] Figure 3 A flowchart of another method for processing an online car-hailing order provided in an embodiment of the present application;
[0053] Figure 4 A schematic diagram of the structure of an online car-hailing order processing device provided in an embodiment of the present application;
[0054] Figure 5 A schematic diagram of the structure of another online car-hailing order processing device provided in an embodiment of the present application;
[0055] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0057] It should be noted that the terms "including" and "having" and their variations involved in the documents of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0058] In daily life, online ride-hailing has become an indispensable part of people's lives. In the existing dispatching process, after the passenger places an order through his own mobile phone, the server of the online ride-hailing platform will receive the reservation order issued by the passenger and distribute the reservation order issued by the passenger to the vehicle terminal of the online ride-hailing. However, after receiving the reservation order distributed by the server through the vehicle terminal, the online ride-hailing driver may not accept the order or refuse to accept the order for various reasons. For example, if the order price of the reservation order issued by the passenger is not high, the driver may refuse to accept the order. It may also be because the reservation order requires a detour for the driver, and the price is not particularly high, which is not enough to compensate for the loss of the driver's detour to send the passenger. However, in response to such a problem, if the passenger waits for a long time without a driver accepting the order, it may lead to the cancellation of the order, resulting in a certain degree of waste of transportation capacity, and the driver who can accept this reservation order may not receive the ideal reservation order because it is not distributed.
[0059] Based on the above problems, an embodiment of the present application provides a method for processing online car-hailing orders. After the server receives the first reservation order, it can first determine whether the order value of the first reservation order reaches a set threshold. The order value can be the order price of the first reservation order. If the order value of the first reservation order does not reach the set threshold, it means that the order price of the first reservation order is not high. It can be screened according to the order start time and order start location of the first reservation order, and candidate vehicles whose location and time meet the first set conditions are selected. Targeted distribution of the first reservation order is achieved, and the first reservation order is distributed to vehicles with a higher possibility of accepting orders, so as to enable drivers to quickly accept orders, improve passengers' ordering experience, and avoid order loss.
[0060] In addition, if there are no candidate vehicles that meet the first set condition during the screening process, the first reservation order can be distributed to vehicles located within the first preset range around the order starting point of the first reservation order. If there is still no vehicle accepting the order, a screening can be performed again to check the vehicle's running track, and the first reservation order can be distributed to vehicles that have been active within the second preset range of the order starting point of the first reservation order for more than the fifth preset time length, or vehicles whose registered addresses are within the second preset range of the order starting point of the first reservation order. The probability of vehicles accepting the first reservation order is further increased to achieve targeted distribution of the first reservation order.
[0061] After introducing the design ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0062] like Figure 1 As shown, it is a schematic diagram of an application scenario of the online car-hailing order processing method provided in an embodiment of the present application. The application scenario includes a user terminal 10, a server 20 and a vehicle terminal 30. Figure 1 As shown, the user terminal 10 and the vehicle terminal 30 are connected to the server 20 through a communication network, wherein the server 20 can be connected to multiple user terminals 10 and multiple vehicle terminals 30 respectively. Passengers initiate ride orders through the user terminal 10. Ride orders can include reservation orders and instant orders. Reservation orders refer to orders in which the passenger specifies the order start time when placing an order; instant orders refer to orders in which the passenger is ready to depart immediately and does not specify the order start time. The user terminal 10 will send the order information of the passenger's ride order to the server 20. The vehicle terminal 30 will also send the location information of the online-booked vehicle and the order acceptance status to the server 20; the server 20 can make judgments based on the received order information of the ride order and the location information and order acceptance status reported by the vehicle, and distribute the ride order to the vehicle terminals 30 of multiple vehicles through the communication network. The driver can accept orders through the vehicle-mounted terminal 30. After receiving the driver's order acceptance operation, the vehicle-mounted terminal 30 will send the order acceptance information to the server 20 through the communication network, and the server 20 can send the order dispatching information to the user terminal 10.
[0063] It should be noted that Figure 1The installation position of the vehicle-mounted terminal 30 in the figure is only for example, and the specific positions of the two in the figure are not used as fixed positions actually installed in the vehicle. The vehicle-mounted terminal 30 can also be located at other positions in the vehicle, such as the vehicle-mounted terminal 30 is installed at the door, between the front seats, etc.
[0064] like Figure 2 As shown, a flow chart of a method for processing an online car-hailing order provided in an embodiment of the present application is provided. The method for processing an online car-hailing order can be applied to an electronic device, and the electronic device can be Figure 1 Server 20 in the Figure 2 As shown, the online car-hailing order processing method includes the following steps:
[0065] Step S201: Receive a first reservation order.
[0066] Among them, the first reservation order is the order with the order start time specified by the passenger.
[0067] In a possible embodiment, if the current time is 2 p.m. and the passenger wants to take a train at 7 p.m., the passenger may place a first reservation order through his / her user terminal and specify the order start time as 7 p.m. After placing the first reservation order, the user terminal will send the order information of the first reservation order to the server through the communication network, and the server will obtain the order information of the first reservation order. The order information of the first reservation order includes the order start time, order end time, order price, order start location and order end location.
[0068] Step S202: If the order value of the first reservation order does not reach the set threshold, the first reservation order is distributed to candidate vehicles that meet any one of the following first set conditions.
[0069] The order value of the first scheduled order can be determined by the order price in the order information of the first scheduled order. The threshold is set based on the order value of the historical order.
[0070] In one embodiment, the set threshold is determined based on the average order price of historical orders. The server determines the set threshold based on the order price of historical orders, and compares the order price of the first scheduled order with the set threshold. If the order price of the first scheduled order is higher than the average order price of historical orders, it can be considered that the order value of the first scheduled order has reached the set threshold; if the order price of the first scheduled order is lower than the average order price of historical orders, it can be considered that the order value of the first scheduled order has not reached the set threshold.
[0071] In one embodiment, the order prices of historical orders may be sorted from high to low, and the order price at the set ratio position may be selected as the set threshold. For example, the set ratio may be 20%, 30%, or 40%. For example, the order prices of historical orders may be sorted from high to low, and the order price at the 30% position may be selected as the set threshold.
[0072] The first reservation order may be distributed according to the order value of the first reservation order.
[0073] In a possible implementation, if the order value of the first reservation order does not reach a set threshold, the first reservation order is distributed to candidate vehicles that meet any one of the following first set conditions.
[0074] The first setting condition includes the following three situations, which are explained one by one with examples below.
[0075] The first situation: the historical acceptance rate of the vehicle's reservation orders is greater than the average acceptance rate of the reservation orders, and there is a current fulfillment order in the vehicle that has picked up the passengers and is sending the passengers to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than the first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than the first preset time length.
[0076] Specifically, if the order value of the first reservation order does not reach the set threshold, and the order start time of the first reservation order is relatively short from the current time, such as 30 minutes, then the candidate vehicles can be screened according to the first situation. Candidate vehicles that already have a current fulfillment order, that is, have picked up passengers and are sending passengers to the order end location, can be screened.
[0077] For example, the first preset distance may be 2 kilometers, and the first preset time length may be 30 minutes. For example, if the historical acceptance rate of reservation orders in the candidate vehicle is greater than the average acceptance rate of reservation orders, and there is a current fulfillment order, and the order end location of the current fulfillment order is within 2 kilometers of the order start location of the first reservation order, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is within 30 minutes, then the server may distribute the first reservation order to such a candidate vehicle.
[0078] Furthermore, after the server determines the candidate vehicle that meets the above conditions, in order to increase the probability of the candidate vehicle accepting the order, when distributing the first reservation order to the candidate vehicle, the server can also calculate the time it takes for the candidate vehicle to travel from the order end location of the current fulfillment order to the order start location of the first reservation order, and can set this period of time as the pick-up time. If the pick-up time is 20 minutes. Since the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is within 30 minutes, it is calculated that the candidate vehicle can arrive at the order start location of the first reservation order about 10 minutes in advance. When the server distributes the first reservation order to the candidate vehicle, it can present the calculated result to the driver of the candidate vehicle, and mark the order start location of the first reservation order and the order end location of the current fulfillment order on the map, informing the driver that there is good continuity between the first reservation order and the current fulfillment order, and the driver needs to wait for about 10 minutes in between.
[0079] In the above example, the driver needs to wait for 10 minutes. In actual application scenarios, the calculated waiting time may also be 5 minutes, 8 minutes or other durations. The calculated waiting time can be displayed to the driver through the vehicle terminal to better present the continuity between the two orders to the driver, and can implicitly inform the driver of the candidate vehicle that taking the first reservation order will not waste the driver's time, and can continuously pick up passengers to increase income, thereby further reducing the probability of order loss.
[0080] It should be noted that in the process of distributing the first reservation order to candidate vehicles, all candidate vehicles that meet the first set conditions will receive the first reservation order. After receiving the first reservation order, the drivers of the candidate vehicles can choose to accept the order or not. The on-board terminal of the candidate vehicle can reflect the continuity between the first reservation order and the current fulfillment order to the drivers of the candidate vehicles to increase the probability that the driver can actively accept the order.
[0081] The second situation: there is a second reservation order in the vehicle, and the passenger has not yet received the second reservation order, and the distance between the order starting point of the second reservation order and the order ending point of the first reservation order is less than the second preset distance, and the time difference between the order starting time of the second reservation order and the order ending time of the first reservation order is less than the second preset time length.
[0082] Among them, the second reservation order is a reservation order initiated by a passenger. The second reservation order has been accepted by the vehicle, but the vehicle has not yet received the passenger who initiated the second reservation order.
[0083] Specifically, if the order value of the first reservation order does not reach the set threshold, and the order start time of the first reservation order is relatively long from the current time, such as 10 hours, the candidate vehicles can be screened according to the second situation. Since the order start time of the first reservation order is relatively long from the current time, there is no restriction on whether the candidate vehicle has a current fulfillment order during the screening process.
[0084] Exemplarily, if the distance between the order starting location of the second reservation order in the candidate vehicle and the order ending location of the first reservation order is less than 5 kilometers, and the time difference between the order starting time of the second reservation order and the order ending time of the first reservation order is less than 30 minutes, the first reservation order can be distributed to such candidate vehicles.
[0085] Furthermore, after determining the candidate vehicle that meets the above conditions, the server can calculate how long the candidate vehicle needs to wait for the passenger when it arrives at the order starting point of the second reservation order in order to increase the probability of the candidate vehicle accepting the order. If it is calculated that the candidate vehicle can arrive at the order starting point of the second reservation order about 10 minutes in advance, when the server distributes the first reservation order to the candidate vehicle, the calculated result can be presented to the driver of the candidate vehicle, informing the driver that there is good continuity between the first reservation order and the second reservation order, and the driver needs to wait for about 10 minutes in between. Distributing the first reservation order in the above manner can increase the probability of the driver of the candidate vehicle accepting the order.
[0086] It can be seen from the first and second cases that the embodiment of the present application is based on the order start time and the order start location of the first reservation order. Regardless of whether the order start time of the first reservation order is shorter than the current time or longer than the current time, the first reservation order can be distributed to candidate vehicles that meet the first set conditions by the corresponding screening method.
[0087] The third situation: there is a third reservation order in the vehicle, and the passenger has not yet received the third reservation order, and the distance between the order end point of the third reservation order and the order start point of the first reservation order is less than the third preset distance, and the time difference between the order end time of the third reservation order and the order start time of the first reservation order is less than the third preset time length.
[0088] Specifically, the order value of the first scheduled order does not reach the set threshold, and the order start time of the first scheduled order is relatively long from the current time, such as 10 hours. Candidate vehicles can also be screened through the third situation.
[0089] It should be noted that, since the order start time of the first reservation order is relatively far from the current time, if no candidate vehicle that meets the second condition is screened, a candidate vehicle that meets the third condition can be screened. Alternatively, the candidate vehicle that meets the second condition or the candidate vehicle that meets the third condition can be screened at the same time.
[0090] It should be noted that in the above three situations, if the time difference between the order start time of the first reservation order and the current time is relatively short, but no candidate vehicle that meets the first set condition corresponding to the first situation is found, further screening can be performed through the second and third situations. The second and third situations can also be used when the time difference between the order start time of the first reservation order and the current time is relatively short.
[0091] In a possible implementation, if the order value of the first reservation order reaches a set threshold, the first reservation order is distributed to vehicles located within a first preset range around the order starting location of the first reservation order.
[0092] For example, if the first reservation order is a high-value order, such as a long-distance order with a price of more than 500 yuan, and the order price of the first reservation order is greater than the average order price of historical orders, then the first reservation order can be directly distributed according to the first preset range around the order starting point of the first reservation order. The first preset range can be 10 kilometers, or 8 kilometers, etc.
[0093] In a possible embodiment, if the time difference between the order start time of the first reservation order and the current time is less than or equal to a fourth preset time length, the first reservation order is distributed to vehicles whose location and the distance between the order start location of the first reservation order and the vehicle is less than the fourth preset distance;
[0094] Specifically, if the order start time of the first reservation order is close to the current time, it can be regarded as a short-term high-value reservation order, and the range of the first reservation order can be further narrowed so that the assigned vehicle can pick up the passenger in time. For example, the first reservation order is assigned to a vehicle within 3 kilometers of the location of the vehicle and the order start location of the first reservation order.
[0095] In another possible embodiment, if the time difference between the order start time of the first reservation order and the current time is greater than a fourth preset time length, the first reservation order is distributed to vehicles whose location is less than a fifth preset distance from the order start location of the first reservation order.
[0096] Specifically, if the order start time of the first reservation order is far away from the current time, it can be regarded as a long-term high-value reservation order, and the range of the first reservation order can be expanded to make the range of vehicles to which it is distributed larger, so the probability of the first reservation order being picked up will also increase. For example, the first reservation order is distributed to a vehicle within 8 kilometers of the location of a vehicle and the order start location of the first reservation order.
[0097] In one possible implementation, if the order value of the first reservation order does not reach a set threshold and there is no candidate vehicle that meets the first set condition, the first reservation order is distributed to vehicles located within a first preset range around the order starting location of the first reservation order.
[0098] In a possible implementation, if the first reservation order has been distributed to a vehicle but has not been accepted after a set period of time, the first reservation order is distributed to a candidate vehicle that meets any of the following second set conditions.
[0099] The second setting condition includes: the activity time of the vehicle within the second preset range of the order starting location of the first reservation order exceeds the fifth preset time length; or the registration address of the vehicle is within the second preset range of the order starting location of the first reservation order. The registration address of the vehicle may be the home address of the driver of the vehicle.
[0100] The present application embodiment provides a detailed method for processing online car-hailing orders, such as Figure 3 As shown, the online car-hailing order processing method includes the following steps:
[0101] Step S301: Receive a first reservation order.
[0102] Step S2302: Determine whether the order value of the first reservation order reaches a set threshold, if so, execute step S303, if not, execute step S304.
[0103] Step S303: Distribute the first reservation order to vehicles located within a first preset range around the order starting location of the first reservation order.
[0104] Step S304: Determine whether the first candidate vehicle exists. If so, execute step S305; if not, execute step S306.
[0105] Among them, the first candidate vehicle is a vehicle whose historical order acceptance rate of reservation orders is greater than the average order acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up passengers and is sending the passengers to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than the first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than the first preset time length.
[0106] Step S305: Distribute the first reservation order to the first candidate vehicle.
[0107] Step S306: Determine whether there is a second candidate vehicle. If so, execute step S307; if not, execute step S308.
[0108] Among them, the second candidate vehicle is a vehicle that has a second reservation order and has not yet picked up passengers, and the distance between the order starting point of the second reservation order and the order ending point of the first reservation order is less than the second preset distance, and the time difference between the order starting time of the second reservation order and the order ending time of the first reservation order is less than the second preset time length; or, there is a third reservation order among the second candidate vehicles, and the passenger of the third reservation order has not yet been received, and the distance between the order ending point of the third reservation order and the order starting point of the first reservation order is less than the third preset distance, and the time difference between the order ending time of the third reservation order and the order starting time of the first reservation order is less than the third preset time length.
[0109] Step S307: Distribute the first reservation order to the second candidate vehicle.
[0110] Step S308: Distribute the first reservation order to vehicles located within a first preset range around the order starting location of the first reservation order.
[0111] Step S309: Determine whether the first scheduled order has been accepted after the set time period. If so, execute step S310; if not, execute step S311.
[0112] Step S310: End the processing of the first reservation order.
[0113] Step S311: Distribute the first reservation order to the selected vehicles that meet any one of the second set conditions.
[0114] Among them, the second set condition includes: the vehicle's activity time within the second preset range of the order starting location of the first reservation order exceeds the fifth preset time length; or the vehicle's registered address is within the second preset range of the order starting location of the first reservation order.
[0115] Based on the same inventive concept, an embodiment of the present invention also provides a structural diagram of an online car-hailing order processing device, such as Figure 4 As shown, the online car-hailing order processing device includes:
[0116] The receiving unit 401 is used to receive a first reservation order; the first reservation order is an order including an order start time specified by the passenger;
[0117] The first distribution unit 402 is configured to distribute the first reservation order to a candidate vehicle that satisfies any one of the following first set conditions if the order value of the first reservation order does not reach a set threshold. The first set condition includes:
[0118] The historical acceptance rate of the vehicle's reservation orders is greater than the average acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up a passenger and is sending the passenger to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than a first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than a first preset time length; or,
[0119] There is a second reservation order in the vehicle, and there is no passenger who has received the second reservation order, and the distance between the order start point of the second reservation order and the order end point of the first reservation order is less than the second preset distance, and the time difference between the order start time of the second reservation order and the order end time of the first reservation order is less than the second preset time length; or,
[0120] There is a third reservation order in the vehicle, and there is a passenger who has not yet received the third reservation order. The distance between the order end point of the third reservation order and the order start point of the first reservation order is less than the third preset distance, and the time difference between the order end time of the third reservation order and the order start time of the first reservation order is less than the third preset time length.
[0121] In a possible implementation manner, the first distribution unit 402 is further configured to:
[0122] If the order value of the first reservation order does not reach the set threshold, the first reservation order is distributed to the first candidate vehicle; the first candidate vehicle is a vehicle whose historical order acceptance rate of reservation orders is greater than the average order acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up passengers and is sending the passengers to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than the first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than the first preset time length;
[0123] If the first candidate vehicle does not exist, the first reservation order will be distributed to the second candidate vehicle; the second candidate vehicle is a vehicle for which a second reservation order exists and which has not yet received any passengers, and the distance between the order starting point of the second reservation order and the order ending point of the first reservation order is less than the second preset distance, and the time difference between the order starting time of the second reservation order and the order ending time of the first reservation order is less than the second preset time length; or, there is a third reservation order in the second candidate vehicle, and the passenger of the third reservation order has not yet been received, and the distance between the order ending point of the third reservation order and the order starting point of the first reservation order is less than the third preset distance, and the time difference between the order ending time of the third reservation order and the order starting time of the first reservation order is less than the third preset time length.
[0124] In one possible implementation, Figure 5 A structural schematic diagram of another online car-hailing order processing device provided in an embodiment of the present application is shown.
[0125] The online car-hailing order processing device further includes: a second distribution unit 501, which is used to:
[0126] If the order value of the first reservation order reaches a set threshold, the first reservation order is distributed to vehicles located within a first preset range around the order starting location of the first reservation order.
[0127] In a possible implementation manner, the second distribution unit 501 is further configured to:
[0128] If the time difference between the order start time of the first reservation order and the current time is less than or equal to the fourth preset time length, the first reservation order is distributed to vehicles whose location and the distance between the order start location of the first reservation order and the vehicle is less than the fourth preset distance;
[0129] If the time difference between the order start time of the first reservation order and the current time is greater than the fourth preset time length, the first reservation order will be distributed to vehicles whose location is less than the fifth preset distance from the order start location of the first reservation order.
[0130] In a possible implementation, the online car-hailing order processing device further includes: a third distribution unit 502, which is used to:
[0131] If the order value of the first reservation order does not reach the set threshold and there is no candidate vehicle that meets the first set condition, the first reservation order is distributed to vehicles located within a first preset range around the order starting point of the first reservation order.
[0132] In a possible implementation manner, the apparatus further includes: a fourth distribution unit 503, configured to:
[0133] If the first reservation order is not accepted after the set time, the first reservation order is distributed to the selected vehicle that meets any of the following second set conditions, and the second set conditions include:
[0134] The activity time of the vehicle within the second preset range of the order starting location of the first reservation order exceeds the fifth preset time length; or,
[0135] The registration address of the vehicle is within a second preset range of the order starting location of the first reservation order.
[0136] The embodiment of the present application also provides an electronic device, which includes at least a memory and a processor for storing data, wherein, for the processor for data processing, when executing the processing, a microprocessor, a CPU, a GPU (Graphics Processing Unit), a DSP or an FPGA can be used. For the memory, the memory stores an operation instruction, which can be a computer executable code, and each step in the process of the online car-hailing order processing method of the embodiment of the present application is implemented by the operation instruction.
[0137] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 600 includes a memory 601, a processor 602, a data acquisition module 603 and a bus 604. The memory 601, the processor 602 and the data acquisition module 603 are all connected via the bus 604, and the bus 604 is used to transmit data between the memory 601, the processor 602 and the data acquisition module 603.
[0138] Among them, the memory 601 can be used to store software programs and modules, and the processor 602 executes various functional applications and data processing of the electronic device 600 by running the software programs and modules stored in the memory 601, such as the online car-hailing order processing method provided in the embodiment of the present application. The memory 601 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application application, etc.; the data storage area may store data created according to the use of the electronic device 600, etc. In addition, the memory 601 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0139] The processor 602 is the control center of the electronic device 600, and uses the bus 604 and various interfaces and lines to connect various parts of the entire electronic device 600, and executes various functions and processes data of the electronic device 600 by running or executing software programs and / or modules stored in the memory 601, and calling data stored in the memory 601. Optionally, the processor 602 may include one or more processing units, such as a CPU, a GPU (Graphics Processing Unit), a digital processing unit, etc.
[0140] An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer program is executed by a processor, it can be used to implement the online car-hailing order processing method recorded in any embodiment of the present application.
[0141] In some possible implementations, various aspects of the online car-hailing order processing method provided in the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of the online car-hailing order processing method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device can execute the following steps: Figure 2 The process of the online car-hailing order processing method of steps S201 to S202 is shown.
[0142] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0143] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0144] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0145] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0146] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for processing online car-hailing orders, characterized in that: The method comprises: Receiving a first reservation order; the first reservation order is an order including an order start time specified by a passenger; If the order value of the first reservation order reaches a set threshold, the first reservation order is distributed to vehicles located within a first preset range around the order start location of the first reservation order; If the order value of the first reservation order does not reach the set threshold, the first reservation order is distributed to candidate vehicles that meet any one of the following first set conditions, and the first set conditions include: The historical acceptance rate of the vehicle's reservation orders is greater than the average acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up a passenger and is sending the passenger to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than a first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than a first preset time length; or, There is a second reservation order in the vehicle, and there is no passenger who has received the second reservation order, and the distance between the order start point of the second reservation order and the order end point of the first reservation order is less than the second preset distance, and the time difference between the order start time of the second reservation order and the order end time of the first reservation order is less than the second preset time length; or, There is a third reservation order in the vehicle, and the passenger has not received the third reservation order yet, and the distance between the order end point of the third reservation order and the order start point of the first reservation order is less than the third preset distance, and the time difference between the order end time of the third reservation order and the order start time of the first reservation order is less than the third preset time length; If the first reservation order is not accepted after a set period of time, the first reservation order is distributed to a candidate vehicle that meets any of the following second set conditions, and the second set condition includes: The activity time of the vehicle within the second preset range of the order starting location of the first reservation order exceeds the fifth preset time length; or, The registered address of the vehicle is within a second preset range of the order starting location of the first reservation order; After the candidate vehicle is determined, if the candidate vehicle has a current fulfillment order, the time for the candidate vehicle to travel from the order end point of the current fulfillment order to the order start point of the first reservation order is determined and presented to the driver of the candidate vehicle.
2. The method according to claim 1, characterized in that The set threshold is determined according to the order value of historical orders.
3. The method according to claim 1, characterized in that The step of distributing the first reservation order to vehicles located within a first preset range around an order start location of the first reservation order includes: If the time difference between the order start time of the first reservation order and the current time is less than or equal to a fourth preset time length, the first reservation order is distributed to vehicles whose location and the distance between the order start location of the first reservation order and the vehicle is less than the fourth preset distance; If the time difference between the order start time of the first reservation order and the current time is greater than the fourth preset time length, the first reservation order will be distributed to vehicles whose location is less than the fifth preset distance from the order start location of the first reservation order.
4. The method according to claim 1, characterized in that: The method further comprises: If the order value of the first reservation order does not reach the set threshold and there is no candidate vehicle that meets the first set condition, the first reservation order is distributed to vehicles located within a first preset range around the order starting location of the first reservation order.
5. The method according to claim 1, characterized in that The candidate vehicles include a first candidate vehicle and a second candidate vehicle; if the order value of the first reservation order does not reach a set threshold, the first reservation order is distributed to a candidate vehicle that meets any one of the following first set conditions, including: If the order value of the first reservation order does not reach the set threshold, the first reservation order is distributed to the first candidate vehicle; the first candidate vehicle is a vehicle whose historical order acceptance rate of reservation orders is greater than the average order acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up a passenger and is sending the passenger to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than a first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than a first preset time length; If the first candidate vehicle does not exist, the first reservation order will be distributed to the second candidate vehicle; the second candidate vehicle is a vehicle for which a second reservation order exists and which has not yet received any passengers, and the distance between the order starting point of the second reservation order and the order ending point of the first reservation order is less than the second preset distance, and the time difference between the order starting time of the second reservation order and the order ending time of the first reservation order is less than the second preset time length; or, there is a third reservation order in the second candidate vehicle, and the passenger of the third reservation order has not yet been received, and the distance between the order ending point of the third reservation order and the order starting point of the first reservation order is less than the third preset distance, and the time difference between the order ending time of the third reservation order and the order starting time of the first reservation order is less than the third preset time length.
6. A device for processing online car-hailing orders, characterized in that: The device comprises: A receiving unit, configured to receive a first reservation order; the first reservation order is an order including an order start time specified by a passenger; The first distribution unit is configured to distribute the first reservation order to a candidate vehicle that satisfies any one of the following first set conditions if the order value of the first reservation order does not reach a set threshold, wherein the first set condition includes: The historical acceptance rate of the vehicle's reservation orders is greater than the average acceptance rate of reservation orders, and there is a current fulfillment order in the vehicle that has picked up a passenger and is sending the passenger to the order end location, the distance between the order end location of the current fulfillment order and the order start location of the first reservation order is less than a first preset distance, and the time difference between the order end time of the current fulfillment order and the order start time of the first reservation order is less than a first preset time length; or, There is a second reservation order in the vehicle, and there is no passenger who has received the second reservation order, and the distance between the order start point of the second reservation order and the order end point of the first reservation order is less than the second preset distance, and the time difference between the order start time of the second reservation order and the order end time of the first reservation order is less than the second preset time length; or, There is a third reservation order in the vehicle, and the passenger has not received the third reservation order yet, and the distance between the order end point of the third reservation order and the order start point of the first reservation order is less than the third preset distance, and the time difference between the order end time of the third reservation order and the order start time of the first reservation order is less than the third preset time length; If the first reservation order is not accepted after a set period of time, the first reservation order is distributed to a candidate vehicle that meets any of the following second set conditions, and the second set condition includes: The activity time of the vehicle within the second preset range of the order starting location of the first reservation order exceeds the fifth preset time length; or, The registered address of the vehicle is within a second preset range of the order starting location of the first reservation order; After the candidate vehicle is determined, if the candidate vehicle has a current fulfillment order, the time for the candidate vehicle to travel from the order end location of the current fulfillment order to the order start location of the first reservation order is determined, and presented to the driver of the candidate vehicle; The second distribution unit is used to distribute the first reservation order to vehicles located within a first preset range around the order starting location of the first reservation order if the order value of the first reservation order reaches a set threshold.
7. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, the method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Reservation list processing method and server
CN107437129A
On-road carpooling system
CN110060105A
Order allocation method and device, server and computer readable storage medium
CN110634012A
Information processing method and device, terminal and readable storage medium
CN110782055A
Appointment single-chain order sending method and device based on real-time single-travel vehicle
CN110852464A
