Order processing method, device and electronic equipment

By calculating and updating order processing parameters and optimizing the network order processing method, the problem of unreasonable network order processing is solved, the accuracy of order acceptance and user experience is improved, and the waiting time and computing resource consumption is reduced.

CN114626913BActive Publication Date: 2024-12-24NANJING LINGXING TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210204588.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-03
Publication Date
2024-12-24
Estimated Expiration
2042-03-03

AI Technical Summary

Technical Problem

In the prior art, the online order processing method is unreasonable, resulting in the passenger waiting time being too long, and the driver's line differences when receiving orders, affecting the user experience.

Method used

By receiving the order receiving instructions sent by the receiving server, the second distance between the order receiving end and the order receiving position is calculated, and the order is processed based on the comparison result of the distance and the preset order receiving distance, and the order processing parameters are updated to optimize the order receiving process. Including adjusting the preset order reception distance, rejection distance and frequency to improve order acceptance accuracy and user experience.

Benefits of technology

It effectively avoids order reception when the actual distance between the order reception end and the order reception position is relatively long, shortens the waiting time, improves the order delivery accuracy and user experience, and saves computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114626913B_ABST
    Figure CN114626913B_ABST
Patent Text Reader

Abstract

The present application discloses an order processing method, device and electronic device, which belongs to the field of Internet technology. The method includes: an order receiving end receives an order receiving instruction sent by a first server, the order receiving instruction at least includes the order receiving position of the order to be processed, and the first distance between the order receiving end and the order receiving position. If the first distance is not less than the preset rejection distance, the second distance between the order receiving end and the order receiving position is determined based on the order receiving position and the current position of the order receiving end, and the second distance is compared with the preset order receiving distance. The preset order receiving distance is greater than the preset rejection distance. Based on the comparison result, the order receiving instruction is processed. In this way, it can avoid the situation that the order is still received when the actual distance between the order receiving end and the order receiving position is far, shorten the waiting time for receiving the order, and is conducive to improving the accuracy of dispatching orders and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to an order processing method, device and electronic device. Background Art

[0002] With the rapid development of Internet technology, many online orders have emerged, such as takeout orders and online car-hailing orders. How to handle orders reasonably is a very important issue.

[0003] Taking online ride-hailing orders as an example, currently, after receiving a passenger's online ride-hailing order, the dispatch system searches for vehicles that are within a preset distance from the passenger and can provide ride services, calculates the distance between the passenger and each vehicle, and then determines the vehicle closest to the passenger, and sends a dispatch instruction to the driver corresponding to this vehicle. However, due to network delays, calculation delays, or the driver passing through certain specific scenarios (such as intersections or tunnels that just miss intersections), there may be a large difference between the route that the driver takes to reach the passenger when receiving the dispatch instruction and the route that the driver takes to reach the passenger when the dispatch system calculates the corresponding distance, causing the passenger to wait for a long time, which brings a bad experience to both the passenger and the driver. Similar problems exist for other online orders.

[0004] It can be seen that there are problems with unreasonable order processing methods in the relevant technology. Summary of the invention

[0005] The embodiments of the present application provide an order processing method, device and electronic device to solve the problem of unreasonable order processing method for network orders in related technologies.

[0006] In a first aspect, an embodiment of the present application provides an order processing method, including:

[0007] The order receiving end receives an order receiving instruction sent by the first server, wherein the order receiving instruction at least includes an order receiving location of the order to be processed and a first distance between the order receiving end and the order receiving location;

[0008] If the first distance is not less than the preset order rejection distance, determining a second distance from the order receiving end to the order receiving position based on the order receiving position and the current position of the order receiving end;

[0009] Comparing the second distance with a preset order acceptance distance, wherein the preset order acceptance distance is greater than the preset order rejection distance;

[0010] Based on the comparison result, the order receiving instruction is processed.

[0011] In some embodiments, based on the comparison result, the order receiving instruction is processed, including:

[0012] If it is determined that the second distance is not greater than the preset order receiving distance, executing the order receiving process;

[0013] If it is determined that the second distance is greater than the preset order acceptance distance, the order acceptance instruction is rejected.

[0014] In some embodiments, after determining the second distance from the order receiving end to the order receiving location, the method further includes:

[0015] A distance update message is sent to the second server, wherein the distance update message includes at least the second distance, so that the second server determines the rejection rate of each order receiving end according to the second distance corresponding to each order receiving end within a specified time period and the preset order receiving distance, and updates the order processing parameters based on the rejection rate of each order receiving end. The order processing parameters include any combination of the preset order receiving distance, the preset rejection distance and a set frequency, and the set frequency refers to the frequency with which each order receiving end sends its own location information to the first server.

[0016] In some embodiments, the second server updates the preset order receiving distance according to the following steps:

[0017] Obtaining the order rejection rate of the first server within the specified time period;

[0018] Taking a weighted average of the rejection rate of each order receiving end and the rejection rate of the first server to obtain a target rejection rate;

[0019] Determining a value of the first adjustment factor based on a change trend of the target order rejection rate and a value rule of the first adjustment factor corresponding to the change trend;

[0020] Substitute the value of the first adjustment factor into the calculation formula of the order acceptance distance to obtain an updated preset order acceptance distance.

[0021] In some embodiments, the order acceptance instruction also includes a first position of the order acceptance end corresponding to the first distance, the distance update message also includes the first position and a second position of the order acceptance end corresponding to the second distance, and the second server updates the preset order rejection distance according to the following steps:

[0022] Determining the value of the second adjustment factor based on the rejection rate of each order receiving end and the value rule of the second adjustment factor corresponding to the rejection rate of each order receiving end;

[0023] Determine an average value of position deviations during order processing based on the first position and the second position in the distance update message received within the specified time period and the number of times the distance update message is received;

[0024] Substitute the average value of the position deviation and the value of the second adjustment factor into the calculation formula of the order acceptance distance to obtain an updated preset order rejection distance.

[0025] In some embodiments, determining an average value of position deviations during order processing based on the first position and the second position in the distance update message received within the specified time period and the number of times the distance update message is received includes:

[0026] determining a position deviation when processing an order based on a first position and a second position in each distance update message received within the specified time period;

[0027] The ratio of the sum of the position deviations corresponding to the distance update messages to the number of receptions is determined as the average value of the position deviations.

[0028] In some embodiments, the order receiving instruction further includes first time information corresponding to the first distance, the distance update message further includes the first time information and second time information corresponding to the second distance, and the second server updates the set frequency according to the following formula:

[0029] Determining a value of the third adjustment factor based on the rejection rate of each order receiving end and a value selection rule of the third adjustment factor corresponding to the rejection rate of each order receiving end;

[0030] Determine an average value of time deviation during order processing according to the first time information and the second time information in the distance update message received within the specified time period and the number of times the distance update message is received;

[0031] Substitute the average value of the time deviation and the value of the third adjustment factor into the calculation formula of the set frequency to obtain an updated set frequency.

[0032] In some embodiments, determining the average value of the time deviation during order processing according to the first time information and the second time information in the distance update message received within the specified time period and the number of times the distance update message is received includes:

[0033] Determine the time deviation when processing the order according to the first time information and the second time information in each distance update message received within the specified time period;

[0034] The ratio of the sum of the time deviations corresponding to the distance update messages to the number of receptions is determined as the average value of the time deviations.

[0035] In a second aspect, an embodiment of the present application provides an order processing device, including:

[0036] A receiving unit, configured to receive an order receiving instruction sent by the first server, wherein the order receiving instruction at least includes an order receiving location of the order to be processed and a first distance between the order receiving end and the order receiving location;

[0037] a determination unit, configured to determine, if the first distance is not less than a preset order rejection distance, a second distance from the order receiving end to the order receiving position based on the order receiving position and a current position of the order receiving end;

[0038] A comparison unit, configured to compare the second distance with a preset order acceptance distance, wherein the preset order acceptance distance is greater than the preset order rejection distance;

[0039] A processing unit is used to process the order acceptance instruction based on the comparison result.

[0040] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein:

[0041] The memory stores a computer program executable by at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute any of the above order processing methods.

[0042] In a fourth aspect, an embodiment of the present application provides a storage medium. When a computer program in the storage medium is executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned order processing methods.

[0043] In an embodiment of the present application, the order receiving end receives an order receiving instruction sent by the first server, and the order receiving instruction includes at least the order receiving position of the order to be processed and the first distance between the order receiving end and the order receiving position. If the first distance is not less than the preset rejection distance, the second distance between the order receiving end and the order receiving position is determined based on the order receiving position and the current position of the order receiving end, and the second distance is compared with the preset order receiving distance. If the preset order receiving distance is greater than the preset rejection distance, the order receiving instruction is processed based on the comparison result. In this way, when the order receiving end determines that the first distance from itself to the order receiving position calculated by the first server is not less than the preset rejection distance, the second distance to the order receiving position is recalculated based on its current position, and the order is processed based on the size relationship between the second distance and the preset order receiving distance, which can avoid the situation that the order is still received when the actual distance between the order receiving end and the order receiving position is far, shorten the waiting time for receiving the order, and is conducive to improving the accuracy of dispatching orders and improving user experience. In addition, when the first distance is not less than the preset rejection distance, the second distance is calculated again, and it is not necessary to calculate the second distance every time, which is also conducive to shortening the order receiving time and saving the computing resources of the order receiving end. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0045] Figure 1 A schematic diagram of an application scenario of an order processing method provided in an embodiment of the present application;

[0046] Figure 2 An interactive flow chart of an order processing method provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of the position movement of a target order receiving end provided in an embodiment of the present application;

[0048] Figure 4 A flowchart of an order processing method provided in an embodiment of the present application;

[0049] Figure 5 A schematic diagram of a process for processing an online car-hailing order provided in an embodiment of the present application;

[0050] Figure 6 A schematic diagram of the structure of an order processing device provided in an embodiment of the present application;

[0051] Figure 7 A schematic diagram of the hardware structure of an electronic device for implementing an order processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to solve the problem of unreasonable order processing methods for network orders in the related art, the embodiments of the present application provide an order processing method, device and electronic device.

[0053] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0054] The order processing method provided in the embodiments of the present application can be applied to various scenarios such as online car-hailing, food delivery, designated driver, and home delivery of goods. Among them, in the online car-hailing scenario, the order is an online car-hailing order, the order-placing end is the passenger end, and the order-receiving end is the driver end. The order-receiving location of the online car-hailing order is the passenger's boarding location. It should be noted that the passenger's boarding location may be the location of the passenger end or other locations specified by the passenger end; in the food delivery scenario, the order is a food delivery order, the order-placing end is the food delivery ordering end, and the order-receiving end is the rider end. The order-receiving location of the food delivery order is the location of the food delivery; in the designated driver scenario, the order is a designated driver order, the order-placing end is the car owner end, and the order-receiving end is the designated driver end. The order-receiving location of the designated driver order is the location of the designated driver; in the home delivery of goods scenario, the order is a home delivery of goods order, the order-placing end is the goods ordering end, and the order-receiving end is the rider end. The order-receiving location of the home delivery of goods order is the location of the goods.

[0055] Figure 1 An application scenario diagram of an order processing method provided for an embodiment of the present application includes an order placing end, a first server, an order receiving end, and a second server, wherein the order placing end, the first server, the order receiving end, and the second server are connected via a wired network or a wireless network, and the first server and the second server can be centrally deployed on the same server or dispersedly deployed on different servers.

[0056] The order placing end, such as a mobile phone, iPad, computer, etc., is installed with order placing software. The user can send an order placing request to the first server through the order placing software, wherein the order placing request at least includes the order placing location of the pending order, such as the latitude and longitude, altitude and other information of the order placing location.

[0057] The first server is installed with order dispatching software. When the order dispatching software receives an order request sent by any order placing end, it can select an order receiving end within a preset distance range from the order receiving location based on the order receiving location in the order placing request, determine the distance between the order receiving location and each order receiving end, and then send an order receiving instruction to the order receiving end that meets the conditions (such as the one closest to the order receiving location), wherein the order receiving instruction includes the order receiving location and a first distance between the order receiving end and the order receiving location.

[0058] An order receiving end is used to compare a first distance between the order receiving end and the order receiving position in the order receiving instruction with a preset order rejection distance when receiving an order receiving instruction sent by the first server; if the first distance is not less than the preset order rejection distance, then based on its own current position and the order receiving position in the order receiving instruction, calculate a second distance between itself and the order receiving position, compare the second distance with the preset order receiving distance, and then process the order receiving instruction based on the comparison result, wherein the preset order receiving distance is greater than the preset order rejection distance.

[0059] In addition, the order receiving end may also send a distance update message to the second server after determining the second distance, and the distance update message includes at least the second distance.

[0060] Subsequently, the second server may determine the rejection rate of each order receiving end based on the second distance corresponding to each order receiving end within the specified time period and the preset order receiving distance, and then update the order processing parameters based on the rejection rate of each order receiving end. The order processing parameters include any combination of the preset order receiving distance, the preset rejection distance and the set frequency, wherein the set frequency refers to the frequency with which each order receiving end sends its own location information to the first server.

[0061] Figure 2 An interactive flow chart of an order processing method provided in an embodiment of the present application includes the following steps:

[0062] In step 2001, the second server sends a set frequency, a preset order rejection distance, and a preset order acceptance distance to each order acceptance terminal.

[0063] Generally, the values ​​of the frequency, the order rejection distance, and the order acceptance distance can be initially determined by a technician based on experience or simulation calculation. Subsequently, the values ​​of the frequency, the order rejection distance, and the order acceptance distance can be updated.

[0064] In step 2002, the second server sends the preset order receiving distance to the first server.

[0065] In step 2003, each order receiving end sends its own location information to the first server at a set frequency.

[0066] The location information of each order receiving end includes the latitude and longitude information, altitude information, etc. of the geographical location of the order receiving end.

[0067] In step 2004, the order placing end sends an order placing request to the first server, and the order placing request includes the order receiving location of the order to be processed.

[0068] In step 2005, the first server selects an order receiving end within a preset distance range from the order receiving location, calculates a first distance from each order receiving end to the order receiving location, and selects a target order receiving end that meets the order receiving conditions based on each first distance.

[0069] Among them, the preset distance range is such as 1Km, and the target order-taking end that meets the order-taking conditions is such as the one that is closest to the order-taking location.

[0070] In step 2006, the first server sends an order receiving instruction to the target order receiving end, where the order receiving instruction includes an order receiving location and a first distance from the target order receiving end to the order receiving location.

[0071] In step 2007, if the target order receiving end determines that the first distance is not less than the preset order rejection distance, it calculates the second distance between the order receiving end and the order receiving location based on its current location and the order receiving location in the order receiving instruction.

[0072] See also Figure 3 , Figure 3 A schematic diagram of the position movement of a target order-taking end is provided for an embodiment of the present application. It is assumed that the order-taking end sends an order request to the first server at position A, and the first server uses the position information at position B when selecting the target order-taking end (that is, the target order-taking end is at position B during the order-taking end selection stage), and the target order-taking end is about to pass through an intersection. Then, during the time period from the first server starting to select the order-taking end to the target order-taking end receiving the order dispatch instruction sent by the first server, the target order-taking end may travel to position B1 or may travel to position B2. Among them, when the target order-taking end travels to position B1, it is just at the intersection where the order-taking end is located, which is more suitable for receiving orders. When the target order-taking end travels to position B2, it has missed the intersection where the order-taking end is located, so it needs to take a detour, which is actually no longer suitable for receiving orders.

[0073] To this end, a preset order rejection distance that is smaller than the preset order acceptance distance can be set. When the target order acceptance end determines that the first distance is not less than the preset order rejection distance, it determines the second distance from itself to the order acceptance location based on its current position. Compared with the first distance, this second distance is closer to the actual distance between itself and the order acceptance location. Based on the second distance that is closer to the actual distance, it is conducive to accurately processing order dispatch instructions and also helps to improve the accuracy of order processing.

[0074] Here, we only use the missed intersection scenario as an example. Similar problems may also occur when the order-receiving end, such as when a vehicle enters a lane in a different driving direction. Moreover, in these situations, when a vehicle misses an intersection or lane and then enters an overpass or tunnel, the detour will be more obvious, so I will not go into details here.

[0075] In step 2008 , the target order receiving end determines whether the second distance is not greater than the preset order receiving distance. If not, the process proceeds to step 2010 ; if so, the process proceeds to step 2009 .

[0076] In step 2009, the target order receiving end executes the order receiving process.

[0077] That is, the target order-receiving end receives the order and delivers it.

[0078] In step 2010, the target order receiving end determines to reject the order receiving instruction and sends information indicating the rejection of the order to the first server.

[0079] In step 2011, the first server executes the order dispatching process again.

[0080] That is, the first server executes steps 2005 to 2006 again. It should be noted that the target order receiving end selected by executing the order dispatching process again is different from the target order receiving end selected last time.

[0081] Generally, for any order request, if the first server cannot find a qualified order-placing terminal near the corresponding order-receiving location, it is determined that the order has failed.

[0082] In step 2012, the target order receiving end sends a distance update message to the second server, and the distance update message includes at least the second distance.

[0083] In step 2013, the second server updates the preset order acceptance distance, the preset order rejection distance and the set frequency based on the distance update messages received within the specified time period.

[0084] In actual applications, the second server can determine the rejection rate of each order receiving end based on the second distance corresponding to each order receiving end within the specified time period and the preset order receiving distance within the specified time period, and then based on the rejection rate of each order receiving end, update any one or more of the preset order receiving distance, preset order rejection distance and set frequency.

[0085] In specific implementation, the second server may update the preset order receiving distance according to the following steps:

[0086] The first step is to obtain the rejection rate of the first server within the specified time period.

[0087] The order rejection rate of the first server within a specified time period is equal to the ratio of the number of order dispatch failures of the first server within this time period to the total number of order requests received.

[0088] Furthermore, in some embodiments, the first server may directly send its own order rejection rate within a specified time period to the second server. In some embodiments, the first server may send its own order acceptance status within a specified time period, such as which orders have been received and which orders have failed to be dispatched, to the second server, and the second server may determine the order rejection rate of the first server within the specified time period based on this information.

[0089] The second step is to take a weighted average of the rejection rate of each order receiving end and the rejection rate of the first server within a specified time period to obtain a target rejection rate.

[0090] Generally, the first server rarely rejects orders, so the weight of the rejection rate of each order receiving end may be greater than the weight of the rejection rate of the first server. For example, the weight of the rejection rate of each order receiving end is 0.8, and the weight of the rejection rate of the first server is 0.2.

[0091] Moreover, the designated time period generally includes multiple time periods, and the target rejection rate within any time period is obtained by taking the weighted average of the rejection rates of each order-receiving end and the rejection rate of the first server within the time period. For example, the target rejection rate within the 9:00-10:00 am time period is obtained by taking the weighted average of the rejection rates of each order-receiving end and the rejection rate of the first server within the 9:00-10:00 am time period.

[0092] The third step is to determine the value of the first adjustment factor based on the changing trend of the target rejection rate and the value-taking rule of the first adjustment factor corresponding to the changing trend.

[0093] Among them, the value-taking rule of the first adjustment factor corresponding to the change trend is as follows: when the target order rejection rate shows a downward trend, the value of the first adjustment factor is determined according to the rule of decreasing order acceptance distance; when the target order rejection rate shows an upward trend, the value of the first adjustment factor is determined according to the rule of increasing order acceptance distance.

[0094] Step 4: Substitute the value of the first adjustment factor into the calculation formula of the order acceptance distance to obtain an updated preset order acceptance distance.

[0095] For example, update the preset order acceptance distance according to the following formula:

[0096] X = X0 + γ * 1000;

[0097]

[0098] Among them, X0 is a preset order acceptance distance reference value. In this embodiment, X0=4000 is taken, and γ is a first adjustment factor, for example, a∈(-1,0), b∈(0,1).

[0099] In order to determine the position deviation of the order receiving end during the two distance calculations, the order receiving instruction may also include the first position of the order receiving end corresponding to the first distance (i.e., the position of the order receiving end used when calculating the first distance). In this way, after determining the second distance, the order receiving end may send the first position and the second position corresponding to the second distance (i.e., the position of the order receiving end used when calculating the second distance) to the second server. Therefore, the distance update message may also include the first position and the second position.

[0100] In specific implementation, the second server may update the preset rejection distance according to the following steps:

[0101] The first step is to determine the value of the second adjustment factor based on the rejection rate of each order receiving end and the value rule of the second adjustment factor corresponding to the rejection rate of each order receiving end.

[0102] Among them, the value-taking rule of the second adjustment factor corresponding to the rejection rate of each order receiving end is as follows: when the rejection rate of each order receiving end is large (that is, the order acceptance rate is low), in order to improve the order receiving efficiency, the value of the second adjustment factor is determined according to the rule of increasing the preset order rejection distance; when the rejection rate of each order receiving end is small (that is, the order acceptance rate is high), in order to reduce the probability of long-distance order dispatching, the value of the second adjustment factor is determined according to the rule of reducing the preset order rejection distance.

[0103] The second step is to determine the average value of the position deviation during order processing based on the first position and the second position in the distance update message received within the specified time period and the number of times the distance update message is received.

[0104] For example, the position deviation during order processing is determined based on the first position and the second position in each distance update message received within a specified time period, and then the ratio of the sum of the position deviations corresponding to each distance update message to the number of receptions is determined as the average value of the position deviation.

[0105] Step 3: Substitute the average value of the position deviation and the value of the second adjustment factor into the calculation formula of the order acceptance distance to obtain the updated preset order rejection distance. For example, update the preset order rejection distance according to the following formula:

[0106] Y = Y0 + δ*len;

[0107]

[0108]

[0109] ΔL i =ΔL i1 -ΔL i2 ;

[0110] Wherein, Y0 is a preset rejection distance reference value, such as Y0=1500, δ is a second adjustment factor, such as c∈(0,1), d∈(-1,0), β is the rejection rate of each order receiving end in a specified time period, the value of h can be predetermined according to actual conditions, and in this embodiment, h=0.5, len is the average value of the position deviation during order processing, n is the total number of distance update messages received in a specified time period, and ΔL i is the position deviation between the first position and the second position in the i-th distance update message received within the specified time period, ΔL i1 is the first position in the i-th distance update message received within the specified time period, ΔL i2 The second position in the i-th distance update message received within the specified time period.

[0111] Similarly, in order to determine the time deviation of the order receiving end during the two distance calculations, the order receiving instruction may also include the first time information corresponding to the first distance (for example, the time information of the order receiving end selected within the preset distance range after the first server receives the order request, and another example, the time information of the first server calculating the first distance). Accordingly, the distance update message also includes the first time information and the second time information corresponding to the second distance (for example, the time information of the order receiving end calculating the second distance). Subsequently, the second server may also update the set frequency according to the following steps:

[0112] The first step is to determine the value of the third adjustment factor based on the rejection rate of each order receiving end and the value selection rule of the third adjustment factor corresponding to the rejection rate of each order receiving end.

[0113] Among them, the value-taking rule of the third adjustment factor corresponding to the rejection rate of each order receiving end is as follows: when the rejection rate of each order receiving end is high, it means that the time error in location collection is large. In order to reduce the time error, the value of the third adjustment factor can be determined according to the rule of increasing the set frequency; when the rejection rate of each order receiving end is low, it means that the time error in location collection is small, and the first server needs to frequently receive the location information reported by each order receiving end. In order to reduce the pressure on the first server, the value of the third adjustment factor can be determined according to the rule of reducing the set frequency.

[0114] The second step is to determine the average value of the time deviation during order processing according to the first time information and the second time information in the distance update message received within the specified time period and the number of times the distance update message is received.

[0115] For example, the time deviation during order processing is determined based on the first time information and the second time information in each distance update message received within a specified time period, and then the ratio of the sum of the time deviations corresponding to each distance update message to the number of receptions is determined as the average value of the time deviations.

[0116] Step 3: Substitute the average value of the time deviation and the value of the third adjustment factor into the calculation formula of the set frequency to obtain the updated set frequency.

[0117] For example, update the set frequency according to the following formula:

[0118]

[0119]

[0120] ΔT i =ΔT i1 -ΔT i2

[0121] Wherein, f0 is a preset reference frequency value, for example, f0=3, n is the total number of distance update messages received in a specified time period, α is a third adjustment factor, for example, e∈(-1,0), f∈(0,1), m is a threshold value of the order rejection rate at the receiving end, and in this embodiment, m=0.2, ΔT i is the time deviation between the first time information and the second time information in the i-th distance update message received within the specified time period, ΔT i1 is the time corresponding to the first time information in the i-th distance update message received within the specified time period, ΔT i2 It is the time corresponding to the second time information in the i-th distance update message received within the specified time period.

[0122] In step 2014, the second server sends the updated set frequency, preset order rejection distance, and preset order acceptance distance to each order acceptance terminal.

[0123] In step 2015, the second server sends the updated preset order receiving distance to the first server.

[0124] In addition, it should be noted that there is no strict sequence relationship between steps 2001 and 2002. Similarly, there is no strict sequence relationship between steps 2014 and 2015.

[0125] After introducing the application scenarios of the embodiments of the present application, the order processing method proposed in the present application is described below with specific embodiments.

[0126] Figure 4 A flowchart of an order processing method provided in an embodiment of the present application, the method is applied to Figure 1 In the target receiving end, the method includes the following steps.

[0127] In step 401, an order receiving instruction sent by a first server is received, wherein the order receiving instruction at least includes an order receiving location of the order to be processed and a first distance between an order receiving end and the order receiving location.

[0128] In step 402 , it is determined whether the first distance is not less than a preset order rejection distance. If not, the process proceeds to step 403 ; if yes, the process proceeds to step 404 .

[0129] In step 403, the order receiving instruction is executed.

[0130] In step 404, based on the order receiving location and the current location of the order receiving end, a second distance from the order receiving end to the order receiving location is determined.

[0131] In step 405, the second distance is compared with a preset order acceptance distance, and the preset order acceptance distance is greater than the preset order rejection distance.

[0132] In step 406, based on the comparison result, the order instruction is processed.

[0133] During specific implementation, if it is determined that the second distance is not greater than the preset order acceptance distance, the order acceptance process is executed; if it is determined that the second distance is greater than the preset order acceptance distance, the order acceptance instruction is rejected.

[0134] In addition, after determining the second distance between the order receiving end and the order receiving location, a distance update message can also be sent to the second server. The distance update message includes at least the second distance, so that the second server determines the rejection rate of each order receiving end based on the second distance corresponding to each order receiving end within the specified time period and the preset order receiving distance, and updates the order processing parameters based on the rejection rate of each order receiving end. The order processing parameters include any combination of the preset order receiving distance, the preset rejection distance and the set frequency. The set frequency refers to the frequency at which each order receiving end sends its own location information to the first server.

[0135] The following introduces the solution provided in the embodiment of the present application by taking an online car-hailing order as an example.

[0136] Figure 5 A schematic diagram of the processing process of an online car-hailing order provided for the embodiment of the present application includes: an order receiving end, an order dispatching server, and an operation management server. The order receiving end corresponds to three modules: a location acquisition module, a first path planning module, and an order receiving module; the order dispatching server corresponds to three modules: a car selection module, a second path planning module, and an order dispatching module; the operation management server corresponds to two modules: a parameter configuration module and a parameter dynamic calculation module. Among them:

[0137] Parameter configuration module, used to configure the set frequency, preset order acceptance distance and preset order rejection distance;

[0138] The location acquisition module is used to send the location information of the corresponding vehicle to the vehicle selection module and the first path planning module corresponding to itself according to the set frequency, wherein the data structure of the location information is such as location (lat, lng, time, direction), where lat is longitude, lng is latitude, time is time, and direction is direction;

[0139] The vehicle selection module is used to select vehicles around the passenger after receiving the ride request, such as vehicles within a 1.2 km radius of the ride starting point (i.e., the order receiving location), and send the location information of each selected vehicle to the second path planning module;

[0140] The second path planning module is used to calculate the estimated distance of pick (EDP) (i.e. the first distance) of each vehicle based on the location information of each vehicle, sort the EDPs corresponding to each vehicle from small to large, and send the sorting results to the dispatching module;

[0141] The dispatching module is used to select the vehicle with the smallest EDP based on the sorting result, and send a broadcasting message (i.e., the above-mentioned order receiving instruction) to the first path planning module corresponding to the vehicle, wherein the broadcasting message includes the EDP and the starting point of the ride; and is also used to periodically send its own rejection rate to the parameter dynamic calculation module;

[0142] The first path planning module is used for, after receiving the order message, if it is determined that the EDP is not less than the preset order rejection distance obtained from the parameter configuration module, calculating the EDP′ between the corresponding vehicle and the passenger based on the current position of the corresponding vehicle and the starting point of the ride, and sending both the EDP and EDP′ to its corresponding order receiving module;

[0143] The order receiving module is used to send a rejection message to the order dispatching module to trigger the next round of order dispatching if it is determined that EDP′ is greater than the preset order receiving distance obtained from the parameter configuration module, and to execute the order receiving process if it is determined that EDP′ is not greater than the preset order receiving distance; it is also used to send EDP information (i.e. the above distance update message) to the parameter dynamic calculation module;

[0144] Generally, the data structures of the play order message and the reject order message may be the same, for example, the data structures of the two are:

[0145] OrderMsg(orderId,startLat,startLng,destLat,destLng,orderTime,pickupEDP,pickupTime,pickupLat,pickupLng), where orderId is the unique identifier of the order, startLat is the longitude of the order starting point, startLng is the latitude of the order starting point, destLat is the longitude of the order end point, destLng is the latitude of the order end point, orderTime is the time it takes to use the car for the order, pickupEDP is the estimated pick-up distance (i.e. the first distance) for the order, pickupTime is the time it takes to select the car when the order is dispatched, pickupLat is the longitude of the car selected when the order is dispatched, and pickupLng is the latitude of the car selected when the order is dispatched.

[0146] The parameter dynamic calculation module is used to update the set frequency, preset rejection distance and preset order acceptance distance based on the EDP information received within a specified time period and the rejection rate of the dispatch module.

[0147] For example, update the preset order acceptance distance according to the following formula:

[0148] X = X0 + γ * 1000;

[0149]

[0150] Wherein, X0=4000, the target order rejection rate in the specified time period is obtained by weighted average of the order rejection rates of each order receiving end and the order rejection rate of the first server in the specified time period.

[0151] For example, update the preset rejection distance according to the following formula:

[0152] Y = Y0 + δ*len;

[0153]

[0154]

[0155] ΔL i =ΔL i1 -ΔL i2 ;

[0156] Where Y0=1500, β is the rejection rate of each order receiving end in the specified time period, len is the average value of the position deviation during order processing, n is the total number of distance update messages received in the specified time period, ΔL i is the position deviation between the first position and the second position in the i-th distance update message received within the specified time period, ΔL i1 is the first position in the i-th distance update message received within the specified time period, ΔL i2 The second position in the i-th distance update message received within the specified time period.

[0157] For example, update the set frequency according to the following formula:

[0158]

[0159]

[0160] ΔT i =ΔT i1 -ΔT i2 .

[0161] Where f0=3, β is the rejection rate of each order receiving end in the specified time period, n is the total number of distance update messages received in the specified time period, ΔT i is the time deviation between the first time information and the second time information in the i-th distance update message received within the specified time period, ΔT i1is the time corresponding to the first time information in the i-th distance update message received within the specified time period, ΔT i2 It is the time corresponding to the second time information in the i-th distance update message received within the specified time period.

[0162] In the embodiment of the present application, when the order receiving end receives the order pushed by the dispatching server, the EDP in the order is compared with the preset rejection distance in the operation management server. If it is less than the preset rejection distance, the order is directly accepted; if it is not less than the preset rejection distance, the EDP is calculated again based on the starting point of the order and its own real-time position, and the EDP message is sent to the operation management server at the same time. If the calculated EDP distance is not greater than the preset order acceptance distance in the operation management server, the order is accepted, otherwise the order is rejected and a rejection message is sent to the dispatching server. After receiving the message, the dispatching server rematches the order with the vehicle, thereby dispatching the order to a more suitable driver. The operation management server can store the order parameters contained in the EDP message in the database, and dynamically adjust the set frequency, preset rejection distance and preset order acceptance distance through the order parameters stored within a certain period of time. In this way, not only can the operating efficiency be improved, but also the experience of passengers and drivers can be improved at the same time, and the order cancellation rate can be reduced.

[0163] Based on the same technical concept, the embodiment of the present application also provides an order processing device. The principle of solving the problem by the order processing device is similar to that of the above-mentioned order processing method. Therefore, the implementation of the order processing device can refer to the implementation of the order processing method, and the repeated parts will not be repeated.

[0164] Figure 6 A structural schematic diagram of an order processing device provided in an embodiment of the present application includes a receiving unit 601, a determining unit 602, a comparing unit 603, and a processing unit 604.

[0165] The receiving unit 601 is configured to receive an order receiving instruction sent by the first server, wherein the order receiving instruction at least includes an order receiving location of the order to be processed and a first distance between the order receiving end and the order receiving location;

[0166] A determination unit 602 is configured to determine a second distance from the order receiving end to the order receiving position based on the order receiving position and the current position of the order receiving end if the first distance is not less than a preset order rejection distance;

[0167] A comparison unit 603 is used to compare the second distance with a preset order acceptance distance, and the preset order acceptance distance is greater than the preset order rejection distance;

[0168] The processing unit 604 is used to process the single instruction based on the comparison result.

[0169] In some embodiments, the processing unit 604 is specifically configured to:

[0170] If it is determined that the second distance is not greater than the preset order receiving distance, executing the order receiving process;

[0171] If it is determined that the second distance is greater than the preset order acceptance distance, the order acceptance instruction is rejected.

[0172] In some embodiments, a sending module 605 is further included, which is used to:

[0173] After determining the second distance from the order receiving end to the order receiving location, a distance update message is sent to the second server, and the distance update message includes at least the second distance, so that the second server determines the rejection rate of each order receiving end according to the second distance corresponding to each order receiving end within a specified time period and the preset order receiving distance, and updates the order processing parameters based on the rejection rate of each order receiving end. The order processing parameters include any combination of the preset order receiving distance, the preset rejection distance and the set frequency, and the set frequency refers to the frequency at which each order receiving end sends its own location information to the first server.

[0174] In some embodiments, the second server updates the preset order receiving distance according to the following steps:

[0175] Obtaining the order rejection rate of the first server within the specified time period;

[0176] Taking a weighted average of the rejection rate of each order receiving end and the rejection rate of the first server to obtain a target rejection rate;

[0177] Determining a value of the first adjustment factor based on a change trend of the target order rejection rate and a value rule of the first adjustment factor corresponding to the change trend;

[0178] Substitute the value of the first adjustment factor into the calculation formula of the order acceptance distance to obtain an updated preset order acceptance distance.

[0179] In some embodiments, the order acceptance instruction also includes a first position of the order acceptance end corresponding to the first distance, the distance update message also includes the first position and a second position of the order acceptance end corresponding to the second distance, and the second server updates the preset order rejection distance according to the following steps:

[0180] Determining the value of the second adjustment factor based on the rejection rate of each order receiving end and the value rule of the second adjustment factor corresponding to the rejection rate of each order receiving end;

[0181] Determine an average value of position deviations during order processing based on the first position and the second position in the distance update message received within the specified time period and the number of times the distance update message is received;

[0182] Substitute the average value of the position deviation and the value of the second adjustment factor into the calculation formula of the order acceptance distance to obtain an updated preset order rejection distance.

[0183] In some embodiments, determining an average value of position deviations during order processing based on the first position and the second position in the distance update message received within the specified time period and the number of times the distance update message is received includes:

[0184] determining a position deviation when processing an order based on a first position and a second position in each distance update message received within the specified time period;

[0185] The ratio of the sum of the position deviations corresponding to the distance update messages to the number of receptions is determined as the average value of the position deviations.

[0186] In some embodiments, the order receiving instruction further includes first time information corresponding to the first distance, the distance update message further includes the first time information and second time information corresponding to the second distance, and the second server updates the set frequency according to the following formula:

[0187] Determining a value of the third adjustment factor based on the rejection rate of each order receiving end and a value selection rule of the third adjustment factor corresponding to the rejection rate of each order receiving end;

[0188] Determine an average value of time deviation during order processing according to the first time information and the second time information in the distance update message received within the specified time period and the number of times the distance update message is received;

[0189] Substitute the average value of the time deviation and the value of the third adjustment factor into the calculation formula of the set frequency to obtain an updated set frequency.

[0190] In some embodiments, determining the average value of the time deviation during order processing according to the first time information and the second time information in the distance update message received within the specified time period and the number of times the distance update message is received includes:

[0191] Determine the time deviation when processing the order according to the first time information and the second time information in each distance update message received within the specified time period;

[0192] The ratio of the sum of the time deviations corresponding to the distance update messages to the number of receptions is determined as the average value of the time deviations.

[0193] The division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, the functional modules in the embodiments of the present application may be integrated in a processor, or may exist physically separately, or two or more modules may be integrated in one module. The coupling between the modules may be achieved through some interfaces, which are usually electrical communication interfaces, but it is not excluded that they may be mechanical interfaces or other forms of interfaces. Therefore, the modules described as separate components may or may not be physically separated, and may be located in one place or distributed to different locations of the same or different devices. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0194] After introducing the order processing method and device according to the exemplary embodiment of the present application, next, an electronic device according to another exemplary embodiment of the present application is introduced.

[0195] Refer to the following Figure 7 The electronic device 130 implemented according to this embodiment of the present application is described. Figure 7 The electronic device 130 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0196] like Figure 7 As shown, the electronic device 130 is in the form of a general electronic device. The components of the electronic device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).

[0197] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.

[0198] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .

[0199] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0200] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0201] In an exemplary embodiment, a storage medium is also provided, and when a computer program in the storage medium is executed by a processor of an electronic device, the electronic device can perform the above-mentioned order processing method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0202] In an exemplary embodiment, the electronic device of the present application may include at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor may execute the steps of any order processing method provided in the embodiments of the present application.

[0203] In an exemplary embodiment, a computer program product is also provided. When the computer program product is executed by an electronic device, the electronic device can implement any exemplary method provided in the present application.

[0204] Furthermore, the computer program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a compact disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0205] The program product for order processing in the embodiment of the present application may adopt a CD-ROM and include program code, and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.

[0206] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0207] The program code contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.

[0208] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device via any type of network such as a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0209] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0210] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0211] 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.

[0212] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatus (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks 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 order processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable order processing device generate instructions for implementing the process 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.

[0213] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable order processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instruction device implementing the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0214] These computer program instructions may also be loaded onto a computer or other programmable order processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide 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.

[0215] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0216] 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. An order processing method, characterized in that: include: The order receiving end receives an order receiving instruction sent by the first server, wherein the order receiving instruction at least includes an order receiving location of the order to be processed and a first distance between the order receiving end and the order receiving location; If the first distance is not less than the preset order rejection distance, determining a second distance from the order receiving end to the order receiving position based on the order receiving position and the current position of the order receiving end; Comparing the second distance with a preset order acceptance distance, wherein the preset order acceptance distance is greater than the preset order rejection distance; Based on the comparison result, the order receiving instruction is processed; After determining the second distance from the order receiving end to the order receiving location, the method further includes: Sending a distance update message to the second server, wherein the distance update message includes at least the second distance, so that the second server determines the rejection rate of each order receiving end according to the second distance corresponding to each order receiving end within a specified time period and the preset order receiving distance, and updates the order processing parameters based on the rejection rate of each order receiving end, wherein the order processing parameters include the preset order receiving distance; The second server updates the preset order receiving distance according to the following steps: Obtaining the order rejection rate of the first server within the specified time period; Taking a weighted average of the rejection rate of each order receiving end and the rejection rate of the first server to obtain a target rejection rate; Determining a value of the first adjustment factor based on a change trend of the target order rejection rate and a value rule of the first adjustment factor corresponding to the change trend; The preset order acceptance distance is updated based on the value of the first adjustment factor.

2. The method according to claim 1, characterized in that Based on the comparison result, the order receiving instruction is processed, including: If it is determined that the second distance is not greater than the preset order receiving distance, executing the order receiving process; If it is determined that the second distance is greater than the preset order acceptance distance, the order acceptance instruction is rejected.

3. The method according to claim 1, characterized in that The order receiving instruction also includes a first position of the order receiving end corresponding to the first distance, the distance update message also includes the first position and a second position of the order receiving end corresponding to the second distance, the order processing parameter also includes the preset order rejection distance, and the second server updates the preset order rejection distance according to the following steps: Determining the value of the second adjustment factor based on the rejection rate of each order receiving end and the value rule of the second adjustment factor corresponding to the rejection rate of each order receiving end; Determine an average value of position deviations during order processing based on the first position and the second position in the distance update message received within the specified time period and the number of times the distance update message is received; The preset rejection distance is updated based on the average value of the position deviation and the value of the second adjustment factor.

4. The method according to claim 3, characterized in that Determining an average value of position deviations during order processing according to the first position and the second position in the distance update message received within the specified time period and the number of times the distance update message is received includes: determining a position deviation when processing an order based on a first position and a second position in each distance update message received within the specified time period; The ratio of the sum of the position deviations corresponding to the distance update messages to the number of receptions is determined as the average value of the position deviations.

5. The method according to claim 1, characterized in that The order receiving instruction also includes first time information corresponding to the first distance, the distance update message also includes the first time information and second time information corresponding to the second distance, and the order processing parameter also includes a set frequency, which refers to the frequency at which each order receiving end sends its own location information to the first server, and the second server updates the set frequency according to the following formula: Determine the value of the third adjustment factor based on the rejection rate of each order receiving end and the value rule of the third adjustment factor corresponding to the rejection rate of each order receiving end; Determine an average value of time deviation during order processing according to the first time information and the second time information in the distance update message received within the specified time period and the number of times the distance update message is received; The set frequency is updated based on the average value of the time deviation and the value of the third adjustment factor.

6. The method according to claim 5, characterized in that Determining an average value of time deviation during order processing according to first time information and second time information in the distance update message received within the specified time period and the number of times the distance update message is received includes: Determine the time deviation when processing the order according to the first time information and the second time information in each distance update message received within the specified time period; The ratio of the sum of the time deviations corresponding to the distance update messages to the number of receptions is determined as the average value of the time deviations.

7. An order processing device, applied to an order receiving end, characterized in that: include: A receiving unit, configured to receive an order receiving instruction sent by the first server, wherein the order receiving instruction at least includes an order receiving location of the order to be processed and a first distance between the order receiving end and the order receiving location; a determination unit, configured to determine, if the first distance is not less than a preset order rejection distance, a second distance from the order receiving end to the order receiving position based on the order receiving position and a current position of the order receiving end; A comparison unit, configured to compare the second distance with a preset order acceptance distance, wherein the preset order acceptance distance is greater than the preset order rejection distance; A processing unit, configured to process the order receiving instruction based on the comparison result; Also includes: a sending module, configured to send a distance update message to a second server after determining a second distance from the order receiving end to the order receiving location, wherein the distance update message includes at least the second distance, so that the second server determines the rejection rate of each order receiving end according to the second distance corresponding to each order receiving end within a specified time period and the preset order receiving distance, and updates order processing parameters based on the rejection rate of each order receiving end, wherein the order processing parameters include the preset order receiving distance; The second server updates the preset order receiving distance according to the following steps: Obtaining the order rejection rate of the first server within the specified time period; Taking a weighted average of the rejection rate of each order receiving end and the rejection rate of the first server to obtain a target rejection rate; Determining a value of the first adjustment factor based on a change trend of the target order rejection rate and a value rule of the first adjustment factor corresponding to the change trend; The preset order acceptance distance is updated based on the value of the first adjustment factor.

8. An electronic device, characterized in that: include: at least one processor, and a memory communicatively connected to the at least one processor, wherein: The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Freight order allocation method and device, server and storage medium

    CN111861310A