Order distribution method and device
By receiving and allocating target orders, and using third-party service providers to return lost items to users, the problem of driver wasting transportation resources due to lost items is solved and the efficiency of transportation capacity scheduling is improved.
Patent Information
- Application Number
- CN201910230410.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-03-26
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2039-03-26
AI Technical Summary
When passengers are left behind items, the driver needs to find the passengers to retrieve or return the items, resulting in waste of transportation resources and reduced scheduling efficiency, especially when transportation capacity is short.
By receiving the target order information submitted by the user, obtain the end point and arrival time of the driver's current service order, and allocate the target order to the third party service provider closest to the arrival time, so that the service provider can return the lost items to the user, avoiding the Affects the driver's normal service.
It effectively avoids waste of transportation resources, ensures that drivers can continue to provide services normally, and improves capacity scheduling efficiency, especially when capacity is short, the problem of lost items can be solved in a timely manner.
Smart Images

Figure CN109978371B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an order distribution method, device, computer storage medium and electronic device. Background Art
[0002] Usually, passengers may leave their belongings in a taxi when traveling. When the passenger finds out, he can contact the driver by phone or text message. At this time, the driver is usually far away from the passenger or is picking up other passengers. If the passenger wants to retrieve the lost items, he may need to find the driver to retrieve the items, or the driver may need to find the passenger and hand over the lost items to the passenger. Since the driver needs to spend time waiting for the passenger to pick up the items or deliver the items to the passenger, the driver cannot provide services to other passengers during this period, thus occupying transportation resources and causing a waste of resources. Moreover, when transportation resources are scarce, the efficiency of transportation scheduling is also reduced. Summary of the invention
[0003] In view of this, the present application provides an order allocation method, device, computer storage medium and electronic device.
[0004] Specifically, the present application is implemented through the following technical solutions:
[0005] According to a first aspect of an embodiment of the present application, there is provided an order allocation method, the method comprising:
[0006] receiving target order information submitted by a user, wherein the target order information includes a destination and a driver who has provided vehicle transportation services to the user;
[0007] In response to the driver being in a service state, obtaining a destination location of a current service order of the driver and a first estimated time to arrive at the destination location;
[0008] The target order is allocated to a target service provider according to the destination, the end location and the first estimated time.
[0009] Optionally, there are items left behind by the user in the driver's vehicle.
[0010] Optionally, allocating the target order to a target service provider according to the destination, the terminal location and the first estimated time specifically includes:
[0011] Obtain available service providers within a preset range centered on the end point;
[0012] Calculating a second estimated time for each of the available service providers to arrive at the destination location;
[0013] The available service provider corresponding to the predicted second time closest to the first estimated time is determined as the target service provider, and the target order is allocated to the target service provider.
[0014] Optionally, obtaining available service providers within a preset range centered on the end point location includes:
[0015] Obtain the service parties to be confirmed within a preset range centered on the end point;
[0016] According to the destination and the delivery range of the to-be-confirmed service provider, an available service provider is identified from the to-be-confirmed service providers.
[0017] Optionally, the step of confirming available service providers from the delivery service providers to be confirmed according to the destination and the delivery range of the service provider to be confirmed specifically includes:
[0018] If the delivery range of the to-be-confirmed service provider includes the destination, the to-be-confirmed service provider whose delivery range includes the destination is confirmed as an available service provider.
[0019] Optionally, before receiving the target order information submitted by the user, the method further includes:
[0020] Receive confirmation information from the driver that the user has left behind an item.
[0021] According to a second aspect of an embodiment of the present application, an order allocation device is provided, the device comprising:
[0022] A receiving unit receives target order information submitted by a user, wherein the target order information includes a destination and a driver who has provided vehicle transportation services to the user;
[0023] an acquisition unit, in response to the driver being in a service state, acquiring a destination location of a current service order of the driver and a first estimated time to arrive at the destination location;
[0024] An allocating unit allocates the target order to a target service provider according to the destination, the end location and the first estimated time.
[0025] According to a third aspect of an embodiment of the present application, a computer storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute any of the above-mentioned order allocation methods.
[0026] According to a fourth aspect of an embodiment of the present application, there is provided an electronic device, including:
[0027] processor;
[0028] a memory for storing processor-executable instructions;
[0029] The processor is configured to implement any of the order allocation methods described above.
[0030] The embodiment of the present application provides an order distribution solution, which introduces a third-party service provider in the travel scenario; the third-party service provider returns the user's lost items. Specifically, according to the first estimated time when the driver arrives at the destination of the current service order, the target service provider who also arrives at the destination at the first estimated time is dispatched; the target service provider returns the user's lost items to the user. In this way, while solving the problem of lost items, it does not affect the driver's normal service provision. The driver can still accept orders normally after completing the current service order, thereby avoiding the waste of transportation capacity. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 is a schematic diagram of an order allocation scenario shown in an exemplary embodiment of the present application;
[0032] Figure 2 is a flow chart of an order allocation method shown in an exemplary embodiment of the present application;
[0033] Figure 3 is a hardware structure diagram of an order distribution device shown in an exemplary embodiment of the present application;
[0034] Figure 4 It is a module diagram of an order distribution device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0035] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0036] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0037] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0038] This application specification provides a single-distribution solution, which introduces a third-party service provider in the travel scenario; the third-party service provider returns the user's lost items. Specifically, according to the first estimated time when the driver arrives at the destination of the current service order, the target service provider who also arrives at the destination at the first estimated time is dispatched; the target service provider returns the user's lost items to the user. In this way, while solving the problem of lost items, it does not affect the driver's normal service provision. The driver can still accept orders normally after completing the current service order, thereby avoiding the waste of transportation capacity.
[0039] The following combination Figure 1 A schematic diagram of an order allocation scenario shown in an exemplary embodiment: Figure 1 In the illustrated scenario, terminal device 104 is a mobile terminal device of user 101, terminal device 105 is a mobile terminal device of driver 102, terminal device 106 is a mobile terminal device of service provider 103, and service end 107 is a server or server cluster for order allocation in this application or a service platform constructed by a server cluster. The mobile terminal devices may include smart phones, smart wearable devices (such as smart watches, smart bracelets, smart glasses, etc.), tablet computers, personal digital assistants, car computers, etc.
[0040] The user 101 can make a travel reservation through the terminal device 104, and when the driver 102 accepts the order through the terminal device 105, a service order including the user 101 and the driver 102 can be established. When the driver 102 drives the vehicle to deliver the user 101 to the destination of the service order (generally input and determined by the user 101 when making a travel reservation), the service order is completed.
[0041] If the user 101 finds that he has left an item in the driver 102's vehicle after getting off the vehicle, the user 101 can query the completed service order corresponding to the lost item through the terminal device 104, and send a lost item retrieval request to the server 107 through the application channel provided by the completed service order. Generally, the request can carry the completed service order number, the lost item information entered by the user 101, the destination to be returned, and other target order information.
[0042] After receiving the request sent by the user 101, the server 107 can generate a target order for the user and assign a target service provider to the target order.
[0043] The following combination Figure 2 A flowchart of a method for order distribution is shown in an exemplary embodiment. The method can be applied in a server. The method can specifically include the following steps:
[0044] Step 210: receiving target order information submitted by a user, wherein the target order information includes a destination and a driver who has provided vehicle transportation services to the user;
[0045] Step 220: In response to the driver being in a service state, obtaining the destination location of the driver's current service order and a first estimated time to arrive at the destination location;
[0046] Step 230: Allocate the target order to a target service provider based on the destination, the end location and the first estimated time.
[0047] In the embodiment of the present application, the service order may include various online car-hailing orders such as taxi, private car, ride-sharing, express car, and carpooling.
[0048] As mentioned above, when a user finds that an item is lost in a vehicle for which a service order has been completed, the user can proactively initiate an application to retrieve the lost item.
[0049] In one implementation, the user can apply through the application channel provided in the completed service order. For example, the user can enter the completed service order and click on the lost item application, and enter the information of the lost item in the displayed input box, such as the item name, type, size, and the desired return destination; after the input is completed and confirmed, a lost item retrieval request containing the above information is sent to the server to generate the target order information submitted by the user.
[0050] In another implementation, the user can apply through the customer service, for example, the user can call the customer service phone to provide information about the lost item; or enter the information about the lost item in the customer service channel in the travel APP; to generate the target order information submitted by the user. In this implementation, in addition to providing the information in the previous implementation, the user also needs to actively provide the completed service order number so that the server can locate the target service order and determine the driver.
[0051] It is worth mentioning that in the previous implementation, since the user applies through the application provided by the completed service order, the service order number can be automatically obtained without the user actively providing it.
[0052] In one embodiment, after receiving the target order information submitted by the user, the server can also determine from the driver whether there are any items left behind by the user in the vehicle, such as by notifying the driver by phone or message push; if the server receives confirmation from the driver that there are lost items, the server can respond to the fact that the driver is in service and obtain the destination location of the driver's current service order and the estimated time to arrive at the destination location.
[0053] In this embodiment, the driver confirms in advance that there is an item left in the vehicle, thereby avoiding the situation where the user may misremember that the item was not left in the vehicle.
[0054] In one embodiment, the driver may report confirmation information confirming the existence of the user's left-behind items before the user submits the target order information; specifically, before receiving the target order information submitted by the user, the method further includes:
[0055] Receive confirmation from the driver that there is a user's left-behind item in the vehicle.
[0056] This embodiment also allows the driver to confirm in advance that there is a lost item in the vehicle, thereby avoiding the situation where the actual item is not left in the driver's vehicle and the user makes a wrong report.
[0057] In one embodiment, after receiving the target order information submitted by the user, the server can further determine the driver's current service status:
[0058] 1. If the driver is in service, in response to the driver being in service, the destination location of the driver's current service order and the first estimated time to arrive at the destination location are obtained.
[0059] 2. If the driver is not in service, in response to the driver being not in service, the target order is assigned to the driver.
[0060] In one embodiment, if the driver is not in service status, the following may also be included:
[0061] If the driver is not in service, wait for the driver to accept the order; and repeatedly determine the driver's current service status.
[0062] That is to say, the server needs to allocate the target order only when the driver is in the service state, which again reflects the original intention of the embodiment of the present application not to affect the normal service provided by the driver.
[0063] However, it is worth mentioning that if the driver is not in service for a long time, it is also a waste of transportation capacity; for this reason, this application also provides the following solutions:
[0064] The timing is performed while waiting for the driver to accept the order. If the driver is still not in service within the preset time, in response to the driver not being in service, the target order is assigned to the driver, that is, the driver returns the lost item to the user.
[0065] In this embodiment, if the driver has not accepted any orders for a long time (is not in service), it means that there are insufficient service orders available for the driver to serve nearby and the transportation capacity in the current area is sufficient; therefore, even if the driver is ordered to return the user's lost items, it will not affect the transportation capacity in the current area, and the driver can also charge a certain fee for returning the items to avoid the driver being idle and having no income; on the other hand, when the driver delivers the lost items to the user, he or she will usually be in another area, and the driver can accept orders in another area.
[0066] In one embodiment, obtaining the destination location of the driver's current service order and the first estimated time to arrive at the destination location specifically includes:
[0067] obtaining the location of the driver;
[0068] Calculate the time required to reach the destination location of the current service order from the location;
[0069] The required time is added to the current time to obtain a first estimated time to reach the destination address.
[0070] In this specification, the terminal device used by the driver can report location information to the server in real time or periodically.
[0071] Specifically, the location information refers to the location recorded by the positioning device of the terminal device, which can be coordinate information representing the geographical location. Common positioning devices can be the US GPS satellite navigation system, the European "Galileo" satellite navigation system, the Russian GLONASS satellite navigation system, or the Chinese "Beidou" satellite navigation system, or a similar combination. This type of positioning coordinate information is also called mobile positioning. In addition, the reported position usually also carries a reported timestamp, which can be the time when the above-mentioned positioning device determines the position; or, it can be the time when the terminal device reports the position. According to the timestamp, the position of the terminal device closest to the current moment can be determined.
[0072] The location information may be obtained by the network device based on the signal characteristics of the terminal device, for example, the location is calculated by the network operator through the base station positioning using the base station coverage principle and the signal of the terminal device. In the latter positioning calculation, the terminal device generally measures the downlink pilot signals of different base stations to obtain the arrival time (TOA) or arrival time difference (TDOA) of the downlink pilot signals of different base stations. According to the measurement results and combined with the coordinates of the base station, a trigonometric formula estimation algorithm is generally used to calculate the location of the terminal device. The actual location estimation algorithm needs to consider the situation of positioning of multiple base stations (3 or more). There are many algorithms in the prior art, which are relatively complicated. Generally speaking, the more base stations the mobile station measures, the higher the measurement accuracy and the more obvious the improvement in positioning performance.
[0073] In addition, the location information may also be a more accurate location obtained by assisted positioning by a base station combined with a positioning device in the terminal device.
[0074] In one embodiment, the calculating of the time required to reach the destination location of the current service order from the location specifically includes:
[0075] Obtaining the navigation distance from the location to the destination address and the driving speed of the driver;
[0076] The time required to reach the destination address is calculated based on the navigation distance and driving speed.
[0077] Usually, after determining two locations (the driver's location and the destination location), the navigation distance can be calculated using the navigation software. The navigation distance is not the straight-line distance between the two points, but the actual distance calculated by fully considering the real physical environment factors (such as road conditions, weather, etc.); generally, the navigation distance is greater than the straight-line distance.
[0078] After calculating the first estimated time for the driver to arrive at the destination, the server needs to dispatch available service providers near the destination to ensure that the driver and the available service providers arrive at the same time to the greatest extent possible, so as to avoid one of them waiting too long; finally, the lost items are delivered to the user's worthy destination through the available service providers.
[0079] In one embodiment, allocating the target order to a target service provider according to the destination, the end location, and the first estimated time specifically includes:
[0080] Obtain available service providers within a preset range centered on the end point;
[0081] Calculating a second estimated time for each of the available service providers to arrive at the destination location;
[0082] The available service provider corresponding to the predicted second time closest to the first estimated time is determined as the target service provider, and the target order is allocated to the target service provider.
[0083] Among them, calculating the second estimated time for each available service provider to arrive at the terminal location is similar to calculating the first estimated time for the driver; the distance to the terminal location is also calculated based on the location of the available service provider, and combined with the moving speed of the available service provider, the second estimated time to reach the terminal location is calculated.
[0084] After matching with the target service provider, the service end can allocate the target order to the target service provider.
[0085] After confirming the order, the target service provider can go to the same destination as the driver, receive the user's lost items from the driver's vehicle, and then carry the lost items to the destination specified in the target order. After handing the lost items to the target service provider, the driver can continue to accept orders.
[0086] The destination may be the destination that the user enters when applying for lost items, and the destination may be different from the destination in the completed service order. Alternatively, if the user does not specify the destination that the user wants to return, the service end may default to the destination in the completed service order.
[0087] In one embodiment, the step of identifying available service providers from the delivery service providers to be confirmed according to the destination and the delivery range of the delivery service providers to be confirmed specifically includes:
[0088] If the delivery range of the to-be-confirmed service provider includes the destination, the to-be-confirmed service provider whose delivery range includes the destination is confirmed as an available service provider.
[0089] In actual applications, service providers generally only serve orders within their service scope. Therefore, by comparing the service scope with the destination of the target order, the to-be-confirmed service providers whose destination is within the service scope are identified as available service providers; thereby confirming that these available service providers are all service providers that can accept the target order.
[0090] In one embodiment, the method further comprises:
[0091] When the target service provider accepts the target order, reminder information is pushed to the driver and user respectively. The reminder information may include information of the target service provider such as photos, contact information, real-time location, etc., which is convenient for the driver and user to identify and view.
[0092] In one embodiment, the available service providers include delivery personnel in the delivery business. For example, it can be a takeaway rider in the takeaway business; it can also be a courier in the express delivery business, and so on. In addition, the service providers in different businesses can also be subdivided. For example, the takeaway service providers can be divided into different types such as running errands, flash delivery, special delivery, and general delivery. Different types of service providers differ in terms of service scope, charges, speed, and so on. The weight of each type or user demand is used to select which type of available service provider is the target service provider.
[0093] Usually, in order to reduce costs, a crowdsourcing model can be adopted to give priority to crowdsourcing service providers.
[0094] The crowdsourcing model refers to a model that mobilizes idle labor in society to participate in business services. Compared with traditional business services, the crowdsourcing service providers in the crowdsourcing model are usually part-time and temporary service personnel, and therefore the service fees charged by the crowdsourcing service providers are relatively low.
[0095] Generally, available service providers can be divided into first service providers and second service providers according to the size of their service scope. The first service provider may refer to a service provider with a smaller service scope, while the second service provider may refer to a service provider with a larger service scope.
[0096] Taking the delivery of takeout business as an example, the service scope of ordinary takeout is limited to a smaller range; the service scope of special delivery takeout is larger than that of ordinary takeout, and can meet the delivery needs of the entire city under special circumstances.
[0097] Therefore, if the destination is within the service range of the first service provider, the available service provider is the first service provider;
[0098] If the destination is outside the service range of the first service provider, the available service provider is a second service provider; wherein the service range of the second service provider is larger than the service range of the first service provider.
[0099] In this embodiment, since the service fees charged by the first service provider and the second service provider are different, the available service provider is selected based on whether the destination is uniquely within the service range of the first service provider. When the destination is within the service range of the first service provider, the first service provider is selected first to reduce service fees.
[0100] In summary, the embodiment of the present application provides a single-distribution solution, which introduces a third-party service provider in the travel scenario; the third-party service provider returns the user's lost items. Specifically, the estimated time for the driver to arrive at the destination of the current service order is used to dispatch the target service provider who will also arrive at the destination at the estimated time; the target service provider returns the user's lost items to the user. In this way, while solving the problem of lost items, it does not affect the driver's normal service provision. The driver can still accept orders normally after completing the current service order, thereby avoiding the waste of transportation capacity.
[0101] Corresponding to the above-mentioned embodiment of the order allocation method, the present application also provides an embodiment of the order allocation device.
[0102] The embodiment of the order distribution device of the present application can be applied on a server. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor in which it is located reading the corresponding computer program instructions in the non-volatile memory into the memory and running them. From the hardware level, if Figure 3 The figure is a hardware structure diagram of the order distribution device of this application, except Figure 3 In addition to the processor, memory, network interface, and non-volatile memory shown, the embodiments may also include other hardware according to the actual functions assigned by the order, which will not be described in detail.
[0103] Please refer to Figure 4 In a software implementation, the order allocating device may include:
[0104] A receiving unit 310 receives target order information submitted by a user, wherein the target order information includes a destination and a driver who has provided a vehicle transportation service to the user;
[0105] The acquiring unit 320 acquires the destination location of the driver's current service order and a first estimated time to arrive at the destination location in response to the driver being in a service state;
[0106] The allocating unit 330 allocates the target order to a target service provider according to the destination, the end location and the first estimated time.
[0107] Optionally, there are items left behind by the user in the driver's vehicle.
[0108] Optionally, the allocating unit 330 specifically includes:
[0109] An acquisition subunit is used to acquire available service providers within a preset range centered on the end point;
[0110] A calculation subunit, calculating a second estimated time for each of the available service providers to arrive at the destination location;
[0111] The allocation subunit determines the available service provider corresponding to the predicted second time closest to the first estimated time as the target service provider, and allocates the target order to the target service provider.
[0112] Optionally, the acquisition subunit specifically includes:
[0113] A subunit for obtaining a service party to be confirmed is used to obtain a service party to be confirmed within a preset range centered on the end point;
[0114] The available service provider confirmation subunit confirms available service providers from the service providers to be confirmed according to the destination and the delivery range of the service providers to be confirmed.
[0115] Optionally, the available service provider confirmation subunit includes:
[0116] If the delivery range of the to-be-confirmed service provider includes the destination, the to-be-confirmed service provider whose delivery range includes the destination is confirmed as an available service provider.
[0117] Optionally, before the receiving unit 310, the device further includes:
[0118] Receive confirmation information from the driver that the user has left behind an item.
[0119] Optionally, the device further comprises:
[0120] The second allocation unit allocates the target order to the driver in response to the driver not being in service.
[0121] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0122] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0123] above Figure 4The internal functional modules and structural schematic diagram of the order distribution device are described. Its actual execution subject can be an electronic device, including:
[0124] processor;
[0125] a memory for storing processor-executable instructions;
[0126] Wherein, the processor is configured to:
[0127] receiving target order information submitted by a user, wherein the target order information includes a destination and a driver who has provided vehicle transportation services to the user;
[0128] In response to the driver being in a service state, obtaining a destination location of a current service order of the driver and a first estimated time to arrive at the destination location;
[0129] The target order is allocated to a target service provider according to the destination, the end location and the first estimated time.
[0130] Optionally, there are items left behind by the user in the driver's vehicle.
[0131] Optionally, allocating the target order to a target service provider according to the destination, the end location and the first estimated time specifically includes:
[0132] Obtain available service providers within a preset range centered on the end point;
[0133] Calculating a second estimated time for each of the available service providers to arrive at the destination location;
[0134] The available service provider corresponding to the predicted second time closest to the first estimated time is determined as the target service provider, and the target order is allocated to the target service provider.
[0135] Optionally, obtaining available service providers within a preset range centered on the end point location includes:
[0136] Obtain the service parties to be confirmed within a preset range centered on the end point;
[0137] According to the destination and the delivery range of the to-be-confirmed service provider, an available service provider is confirmed from the to-be-confirmed service providers.
[0138] Optionally, the step of confirming available service providers from the delivery service providers to be confirmed according to the destination and the delivery range of the service provider to be confirmed specifically includes:
[0139] If the delivery range of the to-be-confirmed service provider includes the destination, the to-be-confirmed service provider whose delivery range includes the destination is confirmed as an available service provider.
[0140] Optionally, before receiving the target order information submitted by the user, the method further includes:
[0141] Receive confirmation information from the driver that the user has left behind an item.
[0142] Optionally, also include:
[0143] In response to the driver being out of service, the target order is assigned to the driver.
[0144] In the above-mentioned embodiment of the electronic device, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc., and the aforementioned memory can be a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk, or a solid-state drive. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
[0145] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the electronic device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0146] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. An order allocation method, characterized in that: The method comprises: receiving target order information submitted by a user, wherein the target order information includes a destination and a driver who has provided vehicle transportation services to the user; In response to the driver being in a service state, obtaining a destination location of a current service order of the driver and a first estimated time to arrive at the destination location; Allocating the target order to a target service provider according to the destination, the end location and the first estimated time; The allocating the target order to a target service provider according to the destination, the terminal location and the first estimated time specifically includes: Obtain available service providers within a preset range centered on the end point; Calculating a second estimated time for each of the available service providers to arrive at the destination location; Determine an available service provider corresponding to a second estimated time closest to the first estimated time as a target service provider, and allocate the target order to the target service provider; The obtaining of available service providers within a preset range centered on the end point position includes: Obtain the service parties to be confirmed within a preset range centered on the end point; According to the destination and the delivery range of the to-be-confirmed service provider, an available service provider is identified from the to-be-confirmed service providers; The step of identifying available service providers from the service providers to be confirmed according to the destination and the delivery range of the service providers to be confirmed specifically includes: If the delivery range of the to-be-confirmed service provider includes the destination, the to-be-confirmed service provider whose delivery range includes the destination is confirmed as an available service provider.
2. The method according to claim 1, characterized in that: The driver's vehicle contains items left behind by the user.
3. The method according to claim 2, characterized in that: Before receiving the target order information submitted by the user, the method further includes: Receive confirmation from the driver that there is a user's left-behind item in the vehicle.
4. An order distribution device, characterized in that: The device comprises: A receiving unit receives target order information submitted by a user, wherein the target order information includes a destination and a driver who has provided vehicle transportation services to the user; an acquisition unit, in response to the driver being in a service state, acquiring a destination location of a current service order of the driver and a first estimated time to arrive at the destination location; an allocating unit, which allocates the target order to a target service provider according to the destination, the end location and the first estimated time; The allocating the target order to a target service provider according to the destination, the terminal location and the first estimated time specifically includes: Obtain available service providers within a preset range centered on the end point; Calculating a second estimated time for each of the available service providers to arrive at the destination location; Determine an available service provider corresponding to a second estimated time closest to the first estimated time as a target service provider, and allocate the target order to the target service provider; The step of obtaining available service providers within a preset range centered on the end point includes: Obtain the service parties to be confirmed within a preset range centered on the end point; According to the destination and the delivery range of the to-be-confirmed service provider, an available service provider is identified from the to-be-confirmed service providers; The step of identifying available service providers from the service providers to be confirmed according to the destination and the delivery range of the service providers to be confirmed specifically includes: If the delivery range of the to-be-confirmed service provider includes the destination, the to-be-confirmed service provider whose delivery range includes the destination is confirmed as an available service provider.
5. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 3.
6. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method according to any one of claims 1 to 3.
