Delivery mode determination method and device, electronic equipment and storage medium

CN117151565BActive Publication Date: 2026-10-16SHANGHAI FENGNIAO JIPEI INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311085969.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-25
Publication Date
2026-10-16
Estimated Expiration
2043-08-25

AI Technical Summary

Technical Problem

不同的商户可能适合不同的配送方式,商户选择合适的配送方式,能够保证整体的配送效率,然而,当前缺乏对商户适合何种配送方式的决策,大部分商家可能选择了不合适的配送方式,整体的配送效率较低

Benefits of technology

本说明书实施例中,可以计算目标地区内的目标商户的历史自配送订单与目标地区内的历史业务平台配送订单中途经该目标商户周围指定区域的订单的匹配程度,通过该匹配程度,实现对目标商户的待配送订单所适合的配送方式的量化评估,从而确定适合目标商户的配送方式,并在匹配程度大于或等于阈值时,将目标商户的待配送订单的配送方式确定为业务平台配送,从而大大提高整体的配送效率,同时,由于计算匹配程度时,采用的是离线的历史数据,能够保证较低的计算成本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117151565B_ABST
    Figure CN117151565B_ABST
Patent Text Reader

Abstract

The disclosure provides a delivery mode determination method and device, electronic equipment and a computer readable storage medium. The delivery mode determination method comprises: obtaining historical business platform delivery orders in a target area; obtaining historical self-delivery orders of a target merchant in the target area; calculating the matching degree of the historical self-delivery orders and historical passing orders, the historical passing orders being orders in the historical business platform delivery orders passing a specified area around the target merchant; and if the matching degree meets a preset matching degree condition, determining a to-be-delivered order of the target merchant as a business platform delivery order, which can greatly improve the overall delivery efficiency while ensuring a low calculation cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of logistics and distribution, and in particular to a method, apparatus, electronic device, and computer-readable storage medium for determining a distribution method. Background Technology

[0002] Delivery services are widely used in online shopping, food delivery, and errand-running services. The delivery service scenario includes a business platform, merchants, delivery personnel, and users. The business platform provides a server-side application and a client-side application to users, allowing them to access the platform's services. In addition to the user-facing client, the business platform also provides a client-side application to merchants, enabling them to access the platform's services. Delivery personnel refer to those with delivery capabilities, including but not limited to delivery individuals, such as delivery riders. Delivery personnel communicate with the server-side application through their own client-side application. Users can transact with merchants and initiate delivery orders through their own client-side application.

[0003] For delivery orders received by merchants, there are various delivery methods. Taking platform delivery and merchant self-delivery as examples, platform delivery refers to the platform allocating delivery capacity to merchants' orders. For instance, after receiving an order, a merchant submits an online application to the platform, which then assigns a dedicated rider for delivery. Merchant self-delivery refers to the merchant delivering the orders themselves. Different merchants may be suited to different delivery methods. Choosing the appropriate method can ensure overall delivery efficiency. However, currently, there is a lack of guidance on which delivery method is best suited for each merchant, leading many to choose unsuitable methods and resulting in lower overall delivery efficiency. Summary of the Invention

[0004] To address the aforementioned technical problems, this disclosure provides a delivery method decision-making method, apparatus, electronic device, and computer-readable storage medium, the technical solution of which is as follows: According to a first aspect of the embodiments of this specification, a method for determining a delivery method is provided, the method comprising: Obtain historical delivery orders from the business platform within the target region; Obtain historical self-delivery orders from target merchants within the target region; Calculate the matching degree between the historical self-delivered orders and the historical transit orders, wherein the historical transit orders are the historical business platform delivery orders that pass through the designated area around the target merchant; If the matching degree meets the preset matching degree conditions, the pending delivery order of the target merchant will be determined as a delivery order of the business platform.

[0005] According to a second aspect of the embodiments of this specification, a delivery method determining apparatus is provided, the apparatus comprising: The acquisition unit is used to acquire historical delivery orders from the business platform within the target region; The acquisition unit is also used to acquire historical self-delivery orders of target merchants within the target region; The calculation unit is used to calculate the matching degree between the historical self-delivered orders and the historical transit orders, wherein the historical transit orders are the orders that pass through the designated area around the target merchant among the historical business platform delivery orders; The determining unit is used to determine the target merchant's pending delivery order as a delivery order of the business platform if the matching degree meets the preset matching degree condition.

[0006] According to a third aspect of the embodiments of this specification, an electronic device is provided, the electronic device comprising: processor; Memory used to store processor-executable instructions; The processor is configured to implement the method as described in the first aspect.

[0007] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method as described in the first aspect.

[0008] The technical solutions provided in the embodiments of this specification may include the following beneficial effects: In the embodiments of this specification, the matching degree of historical self-delivered orders of target merchants in the target area and historical business platform delivery orders in the target area that pass through the designated area around the target merchant can be calculated. Through the matching degree, the suitable delivery method for the target merchant's pending orders can be quantitatively evaluated, thereby determining the suitable delivery method for the target merchant. When the matching degree is greater than or equal to a threshold, the delivery method for the target merchant's pending orders is determined to be business platform delivery, thereby greatly improving the overall delivery efficiency. At the same time, since offline historical data is used when calculating the matching degree, low computational cost can be guaranteed.

[0009] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

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

[0011] Figure 1 This is a schematic diagram of a delivery scenario according to an embodiment of this specification; Figure 2 This is a flowchart illustrating a delivery method determination method according to one embodiment of this specification; Figure 3 This is a schematic diagram illustrating a method for determining the designated area surrounding a target merchant according to one embodiment of this specification; Figure 4 This is a schematic diagram illustrating a method for determining the designated area surrounding a target merchant according to another embodiment of this specification; Figure 5 This is a schematic diagram of historical order paths according to one embodiment of this specification; Figure 6 This is a schematic diagram of the delivery method determination device according to one embodiment of this specification; Figure 7 This is a schematic diagram of the structure of an electronic device according to one embodiment of this specification. Detailed Implementation

[0012] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this specification as detailed in the appended claims.

[0013] The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of this specification. The singular forms “a,” “the,” and “the” as used in this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0014] It should be understood that although the terms first, second, third, etc., may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this specification, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0015] Please see Figure 1 This document first introduces the delivery scenarios described in the embodiments. Delivery services are widely used in online shopping, food delivery, and errand-running services. The delivery service scenario includes a business platform, merchants, delivery capacity, and users. The business platform has a server and provides a client to users, who can use the services offered by the business platform through the client. Unlike the client for users, the business platform also provides a client for merchants, who can use the services offered by the business platform through this client. Delivery capacity refers to the party with delivery capabilities, including but not limited to delivery personnel, such as delivery riders. Delivery capacity can communicate with the server through the client used by the delivery capacity. In other examples, delivery capacity may also include unmanned delivery equipment, such as drones and unmanned vehicles. Users can transact with merchants through the client and initiate delivery orders; the business can allocate delivery capacity for these immediate delivery orders.

[0016] For example, after a user places an order, the business platform server (such as an e-commerce platform or other cooperating delivery platform) needs to generate a corresponding delivery order for the delivered items and assign the delivery order to the delivery capacity. Therefore, after accepting the delivery order, the delivery capacity will go to the pickup location to collect the goods and deliver them to the user's designated location after successful pickup.

[0017] For example, in the food delivery scenario, a user places an order with a physical store on the food delivery platform through the client. The food delivery platform generates the corresponding food delivery order and assigns a delivery order to the delivery capacity (such as the client device used by the rider). The rider then goes to the physical store (i.e. the pick-up location of the delivered item) to pick up the food and delivers it to the location specified by the user.

[0018] As can be seen, the execution process of a delivery order includes the pickup stage, which involves going to the pickup location to collect the goods, and the stage, which involves leaving the pickup location after collecting the goods and delivering them to the user's designated location.

[0019] In actual business operations, it is often necessary to pinpoint the location of delivery capacity. For example, to determine whether the delivery capacity has actually reached the merchant's location, or to accurately determine the time when the delivery capacity will arrive at the merchant's location.

[0020] For delivery orders received by merchants, there are multiple delivery methods. Taking platform delivery and merchant self-delivery as examples, platform delivery refers to the platform allocating delivery capacity to merchants' delivery orders. For instance, after receiving a delivery order, a merchant submits an online application to the platform, which then assigns a dedicated rider to deliver the order. Platform delivery often considers order consolidation and order chasing along the same route. For example, if a merchant receives multiple delivery orders that are clustered in time and space (e.g., multiple orders are generated at almost the same time and are destined for the same neighborhood), these orders can be consolidated and assigned to a single delivery capacity (e.g., a single rider). For order chasing along the same route, where a single delivery capacity (e.g., a rider) is assigned to a specific merchant A's delivery route... If an order passes by Merchant B during its journey, and Merchant B also has a delivery order to fulfill, and the delivery location of Merchant B's order is relatively close to the delivery location of Merchant A's order, then Merchant B's delivery order can be added to the delivery capacity for joint delivery. This means that although the delivery orders in this "order-on-the-way" approach may have different creation times, they are generally on the same delivery route of the delivery capacity. Therefore, order consolidation and order-on-the-way delivery through the business platform often result in higher delivery efficiency. Merchant self-delivery refers to merchants delivering orders themselves. For example, for merchants with enclosed areas (such as boarding schools), remote locations, or low order volumes, the difficulty of picking up and delivering orders is often greater, and self-delivery is usually more suitable and efficient. However, for merchants in commercial areas or with high order volumes, self-delivery is often less efficient. Different merchants may be suited to different delivery methods. Choosing the right delivery method can ensure overall delivery efficiency. However, currently, there is a lack of decision-making guidance on which delivery method is suitable for each merchant, and most merchants may have chosen unsuitable delivery methods, resulting in lower overall delivery efficiency.

[0021] It is worth noting that the above description of delivery scenarios is only an illustrative example. In actual applications, other application scenarios may exist, and no specific limitations are made for them.

[0022] To address the aforementioned problems, embodiments of this specification provide a method for determining a delivery method, which can significantly improve overall delivery efficiency while maintaining low computational costs. For example... Figure 2 As shown, the method includes the following steps: S201. Obtain historical delivery orders from the business platform within the target region; Considering that related technologies often involve regional restrictions when business platforms schedule delivery orders (e.g., order consolidation, successful order tracking), such as scheduling orders based on a single city, the target region mentioned above can be a city, as an example, to simulate a real-world scheduling environment. It's worth noting that the above description of the target region is merely illustrative; in actual applications, the existence of target regions is not excluded, and no specific limitation is made.

[0023] It should be noted that historical business platform delivery orders refer to all orders within the target region that were delivered by the business platform within a certain historical period.

[0024] Considering that the longer the historical period of delivery orders on the historical business platform spans, such as a year, the larger and more complex the data becomes, and the higher the calculation cost, the historical data often exhibits different characteristics at different times. For example, the performance of historical data on weekdays and holidays often differs significantly. Therefore, in order to reduce calculation costs and take into account the differences in data performance over time to improve statistical accuracy, for example, the historical period of delivery orders on the historical business platform can be based on a one-week period. For instance, the historical period of delivery orders on the historical business platform can be four weeks. This can reduce calculation costs while taking into account the differences in data performance over time to improve statistical accuracy.

[0025] S202. Obtain historical self-delivery orders from target merchants within the target region; It should be noted that the target merchant can include the merchant's account and the merchant's location.

[0026] It should be noted that historical self-delivered orders refer to all orders generated by the target merchant in the past within a certain historical period, where the delivery method was self-delivered. Considering that the target merchant's historical self-delivered orders need to be in a similar space and time with the aforementioned historical business platform delivery orders in order to better assess the degree of matching, the historical period in which the historical self-delivered orders are located is within the historical period in which the aforementioned historical business platform delivery orders are located.

[0027] S203. Calculate the matching degree between the historical self-delivered orders and the historical transit orders, wherein the historical transit orders are the historical business platform delivery orders that pass through the designated area around the target merchant; The designated area surrounding a target merchant can be determined in several ways. For example, one method might be to first determine the target merchant's boundary, ensuring the distance between this boundary and the merchant does not exceed a preset distance, and that the navigation route distance between each coordinate point on this boundary and the merchant is equal to this preset distance. After determining the boundary, the area enclosed by this boundary is then defined as the designated area surrounding the merchant. Determining the designated area by the navigation route distance between coordinate points and the merchant aligns better with delivery routes and results in higher accuracy. It's worth noting that the above description of methods for determining the designated area surrounding a target merchant is merely illustrative; other methods may exist in practice, and no specific limitation is made.

[0028] As an example, the distance between the coordinates and the target merchant can be obtained in several ways. One method is to determine the distance using the interface of map navigation software. For instance, the map navigation software could be Amap (Gaode Maps), and the distance can be obtained through its interface. It's worth noting that the above description of methods for obtaining navigation distance is merely illustrative; other methods may exist in practical applications, and these are not specifically limited to any particular method.

[0029] Please see Figure 3 as well as Figure 4 The following is an illustrative example of how to determine the designated area surrounding the target merchant. Assuming the target merchant is merchant A, a honeycomb hexagon is used as a spatial index to map merchant A and its surrounding location points into a honeycomb hexagon grid. Based on the location of merchant A, a honeycomb hexagon grid (e.g., a regular hexagon with a side length of 37.5 meters) around merchant A is recalled using a straight-line distance radius (e.g., 2000 meters). For the recalled honeycomb hexagon grids, the distance between the center point of the honeycomb hexagon grid and the navigation route distance of merchant A is compared with the aforementioned preset distance (e.g., 500 meters). Honeycomb hexagon grids whose navigation route distance is greater than the aforementioned preset distance are eliminated. For the honeycomb hexagon grids that are not eliminated, the coordinates of the center point of the outermost honeycomb hexagon grid are used as the coordinates of the target boundary to determine the target boundary of merchant A, and the area enclosed by this target boundary is determined as the designated area surrounding merchant A.

[0030] It should be noted that the distance from each coordinate point on the target boundary to the target merchant via the navigation route, and the straight-line distance between each coordinate point on the target boundary and the target merchant, are often not equal. Therefore, the target boundary is often irregularly shaped, and the aforementioned surrounding area is often an irregular region. It is worth noting that the above description of the relationship between navigation route distance and straight-line distance is merely illustrative. In practical applications, other relationships may exist; for example, the navigation route distance and straight-line distance may be equal. This is not specifically limited.

[0031] Historical delivery orders that passed through a designated area surrounding the target merchant during their delivery journey can be identified in several ways. Please refer to [link / reference]. Figure 5 As an example, one approach could include: collecting a set of coordinate points representing the location of delivery capacity for each order from historical business platform delivery orders at a preset time frequency; determining historical transit orders based on this set of coordinate points and a designated area surrounding the target merchant; wherein at least one coordinate point in the set of coordinate points corresponding to a historical transit order lies within the designated area surrounding the target merchant. Figure 5 For example, assuming the target merchant is Merchant A, then historical order path 1-7 are all orders that passed through the designated area around Merchant A during the delivery process of historical business platform orders. At least one coordinate point in the set of coordinate points corresponding to any one of these historical order path 1-7 lies within the designated area around Merchant A. It is worth noting that the above description of how to determine historical order path is merely an illustrative example. In practical applications, other methods of determination may exist, and these are not specifically limited.

[0032] As an example, the preset time frequency can be selected in the range of 5 seconds to 20 seconds. For lower computational cost, the preset time frequency can be selected as 20 seconds. For higher acquisition accuracy, the preset time frequency can be selected as 5 seconds. The specific value of the preset time frequency is not limited here.

[0033] To ensure the accuracy of the matching, historical self-delivered orders and historical transit orders need to be constrained in terms of time. For example, historical self-delivered orders and historical transit orders can be from the same historical period, such as orders from the same week, thus ensuring the accuracy of the matching degree calculation.

[0034] There are several ways to determine historically routed orders based on the set of coordinates of the delivery capacity location for each order and the coordinates of the surrounding designated area of ​​the target merchant. For example, one method might include: if the set of coordinates of the delivery capacity location for each order contains a coordinate point whose straight-line distance to the target merchant is less than or equal to the maximum straight-line distance between the target boundary and the target merchant (i.e., a target coordinate point exists), then based on this target coordinate point, the intersection point of the ray from this target coordinate point and the target boundary of the surrounding area of ​​the target merchant is determined using a ray-mapping method. If the number of intersection points is one, then... If the target coordinate point is determined to be located within a specified area surrounding the target merchant, then the order corresponding to the set of coordinate points to which the target coordinate point belongs is determined to be a historical transit order. If there are two such intersection points, then the target coordinate point is determined to be located outside the specified area surrounding the target merchant, and the order corresponding to the set of coordinate points to which the target coordinate point belongs is not a historical transit order. If the set of coordinate points of the delivery capacity location of the order does not contain any coordinate points whose straight-line distance from the target merchant is less than or equal to the maximum straight-line distance between the target boundary and the target merchant, then the order can also be directly determined not to be a historical transit order. First, a point-to-point judgment is performed, which involves determining the distance between the coordinates of the order's delivery location and the target merchant. This checks if there is a coordinate point smaller than the maximum straight-line distance between the target boundary and the target merchant. If not, it can be directly determined that the order is not a historical order. If a target coordinate point exists, a point-to-surface judgment is then performed. This involves using the ray method to determine the intersection of the ray from the target coordinate point and the target boundary. If there are two intersection points, the target coordinate point is outside the target boundary; if there is one intersection point, the target coordinate point is inside the target boundary. Performing point-to-point judgment first, followed by point-to-surface judgment, reduces the calculation cost and improves the accuracy of the judgment calculation.

[0035] There are several ways to calculate the matching degree between a target merchant's historical self-delivered orders and historical transit orders. For example, one method may include: determining the proportion of historical self-delivered orders that match historical transit orders based on the delivery origin location, delivery destination location, and order generation time of the target merchant's historical self-delivered orders, i.e., the first matching ratio, and calculating the matching degree between the target merchant's historical self-delivered orders and historical transit orders based on the first matching ratio.

[0036] There are several ways to determine the first matching ratio. For example, one method may include: determining the first matching ratio based on the shortest distance between the destination of the target merchant's historical self-delivered orders and the delivery capacity of historically routed orders, the direction of the line connecting the origin and destination of the target merchant's historical self-delivered orders, and the order creation time of the target merchant's historical self-delivered orders. Please refer to [link to relevant documentation]. Figure 5To illustrate the above determination method, let's assume the target merchant is... Figure 5 Merchant A in the data, one of Merchant A's historical self-delivered orders can be like... Figure 5 As shown by the dotted line, the order delivery start point is the location of merchant A. The first matching ratio can be determined based on the shortest distance between the delivery end point of the historical self-delivered order and the delivery capacity of the historical transit orders, the direction of the line connecting the delivery start point of the historical self-delivered order and the delivery end point, and the order generation time of merchant A's historical self-delivered orders.

[0037] There are several ways to determine whether historical self-delivered orders match historical transit orders. For example, one method might include: the shortest distance between the delivery destination of a historical self-delivered order and the delivery location of a historical transit order is less than a minimum distance threshold; the angle between the vectors connecting the delivery origin and destination of the target merchant's historical self-delivered orders and the vector connecting the delivery origin and destination of the target merchant's historical transit orders is less than 90 degrees; the order creation time of the target merchant's historical self-delivered orders falls between the order creation time and delivery time of the target merchant's historical transit orders; if any historical self-delivered order of the target merchant meets all three conditions, then the historical self-delivered order and the historical transit order are considered to be on the same route, and a high degree of route compatibility indicates a match. For example: Figure 5 For example, assuming the target merchant is Merchant A, the threshold for the shortest distance mentioned above can be 600 meters, 1000 meters, or other values, without specific limitations. When the threshold is 600 meters, the shortest distance between the delivery destination of Merchant A's historical self-delivery orders and the delivery location of historically transiting order 1 is 500 meters, which is less than 600 meters. The order creation time of Merchant A's historical self-delivery orders is [2023-01-12 12:13:45]. The order creation time of historically transiting order 1 is [2023-01-12 12:03:15] and the order delivery time is [2023-01-12]. Between 12:42:01; assuming the order delivery origin is point O and the order delivery destination is point D, then the angle between the OD vector of Merchant A's historical self-delivered orders and the OD vector of historical transit orders 1 is less than 90 degrees; if Merchant A's historical self-delivered orders meet the above three conditions, then it is determined that the historical self-delivered order matches historical transit orders 1. It is worth noting that the above description of the method for determining the matching of historical self-delivered orders and historical transit orders is only an illustrative example. In practical applications, other determination methods may exist, and this is not specifically limited.

[0038] As an example, the threshold for the shortest distance mentioned above can be varied depending on the target area. For instance, in areas with relatively smooth traffic, the threshold can be set to a larger value, such as 1000 meters; in areas with heavy traffic congestion, the threshold can be set to a smaller value, such as 600 meters. The threshold for the shortest distance can be flexibly adjusted according to the different traffic conditions in different areas.

[0039] As an example, assuming the total number of historical self-delivered orders is X, and the number of historical self-delivered orders that match historical transit orders is Y, then the first matching ratio is Y / X.

[0040] As an example, another way to determine the matching of historical self-delivered orders with historical transit orders may include: determining the delivery completion information and delivery timeout information of the historical transit orders based on the tag information of the target merchant. The delivery completion information indicates whether the order delivery was completed, and the delivery timeout information indicates whether the order delivery was overdue. Based on the delivery completion information and delivery timeout information of the historical transit orders, the proportion of orders that were completed and did not exceed the delivery timeout is determined, i.e., the second matching ratio. The matching degree between the target merchant's historical self-delivered orders and the historical transit orders is calculated based on the first matching ratio and the second matching ratio. Whether the order delivery was completed and whether the order delivery was overdue can indicate the efficiency of order delivery. Orders that were completed and did not exceed the delivery timeout in the historical transit orders have higher order delivery efficiency. Calculating the matching degree between the target merchant's historical self-delivered orders and the historical transit orders by combining the first matching ratio and the second matching ratio can measure the delivery efficiency and the order route continuation of the target merchant's pending orders when the delivery method changes from self-delivery to delivery through the business platform.

[0041] There are multiple ways to calculate the matching degree between the target merchant's historical self-delivered orders and the historical transit orders based on the aforementioned first matching ratio and the second matching ratio. For example, one calculation method could be: calculating the matching degree between the target merchant's historical self-delivered orders and the historical transit orders based on the product of the aforementioned first matching ratio and the second matching ratio. For example: Figure 5For example, assuming the target merchant is Merchant A, the total number of historical orders passing through the target merchant is M, and the number of orders that were completed and did not exceed the delivery time limit among the historical orders passing through the target merchant is N, then the total number of historical orders passing through Merchant A is M=7. Based on the tag information corresponding to each of the historical orders 1-7, the delivery completion information and delivery timeout information of each order can be determined. Based on the delivery completion information and delivery timeout information of each order, the orders that were completed and did not exceed the delivery time limit among the historical orders 1-7 are identified as historical orders 2, 4, and 5, i.e., N=3. Therefore, the second matching ratio is N / M=3 / 7. Combining this with the first matching ratio Y / X in the above exemplary description, the degree of matching between Merchant A's historical self-delivered orders and historical orders passing through the target merchant is: First Matching Ratio Second matching ratio = (N) Y) / (M X).

[0042] S204. If the matching degree meets the preset matching degree condition, then the target merchant's order to be delivered is determined as a delivery order of the business platform.

[0043] As an example, an order to be delivered may originally be an order that was originally delivered by the target merchant. When the matching degree is greater than or equal to the threshold, the order to be delivered can be changed to a delivery order from the business platform.

[0044] As an example, preset matching conditions can be implemented in various ways. One possible implementation is that the preset matching condition can be a matching degree threshold, where the matching degree satisfies the preset matching condition, i.e., the matching degree is greater than or equal to the matching degree threshold. It is worth noting that the above description of preset matching conditions is merely an illustrative example. In practical applications, other preset matching conditions may exist, and no specific limitation is made here.

[0045] Corresponding to the above method embodiments, this specification also provides a delivery method determination device, see [link to relevant documentation]. Figure 6 As shown, the device may include: Acquisition unit 601 is used to acquire historical delivery orders from business platforms within the target region; The acquisition unit 601 is also used to acquire historical self-delivery orders of target merchants in the target region; The calculation unit 602 is used to calculate the matching degree between the historical self-delivery orders and the historical transit orders, wherein the historical transit orders are the orders that pass through the designated area around the target merchant among the historical business platform delivery orders; The determining unit 603 is used to determine the target merchant's pending delivery order as a delivery order of the business platform if the matching degree meets the preset matching degree condition.

[0046] As an example, the calculation unit 602 is specifically used to determine the target boundary of the target merchant, wherein the target boundary is no more than a preset distance from the target merchant, and the navigation route distance between each coordinate point on the target boundary and the target merchant is equal to the preset distance; and to determine the area enclosed by the target boundary as the designated area around the target merchant.

[0047] As an example, the calculation unit 602 is specifically used to collect a set of coordinate points of the delivery capacity of each order in the historical business platform delivery orders according to a preset time frequency; and to determine the historical transit orders based on the set of coordinate points and the surrounding designated area, wherein at least one coordinate point in the set of coordinate points corresponding to the historical transit orders is in the surrounding designated area.

[0048] As an example, the calculation unit 602 is specifically used to determine the intersection point of the ray of the target coordinate point and the target boundary based on the target coordinate point if it is determined that there is a target coordinate point in the set of coordinate points, and the straight-line distance between the target coordinate point and the target merchant is less than or equal to the maximum straight-line distance between the target boundary and the target merchant; if the number of intersection points is one, the order corresponding to the set of coordinate points is determined to be the historical transit order.

[0049] As an example, the calculation unit 602 is specifically used to determine a first matching ratio based on the delivery start location, delivery end location, and order generation time of the historical self-delivered orders. The first matching ratio is the proportion of orders in the historical self-delivered orders that match the historical transit orders. The matching degree between the historical self-delivered orders and the historical transit orders is calculated based on the first matching ratio.

[0050] As an example, the calculation unit 602 is specifically used to determine the first matching ratio based on the shortest distance between the delivery destination location and the delivery capacity of the historical transit orders, the direction of the line connecting the delivery start location and the delivery destination location, and the order generation time.

[0051] As an example, the calculation unit 602 is further configured to determine the delivery completion information and delivery timeout information of the historical transit orders based on the tag information of the historical transit orders, wherein the delivery completion information is used to indicate whether the order delivery has been completed and the delivery timeout information is used to indicate whether the order delivery has exceeded the timeout; determine a second matching ratio based on the delivery completion information and the delivery timeout information, wherein the second matching ratio is the proportion of the historical transit orders that have been completed and have not exceeded the timeout; and calculate the matching degree between the historical self-delivered orders and the historical transit orders based on the first matching ratio and the second matching ratio.

[0052] This specification also provides an electronic device, such as... Figure 7 As shown, the electronic device includes: Processor 701; Memory 702 is used to store processor-executable instructions; The processor 701 is configured to implement the delivery method determination method described in any of the embodiments above.

[0053] This specification also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the delivery method determination method described in any of the embodiments above.

[0054] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of the solution in this specification according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0055] The above embodiments can be applied to one or more computer devices. The computer device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. The hardware of the computer device includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0056] The computer device can be any electronic product that can interact with the user, such as a personal computer, tablet computer, smartphone, personal digital assistant (PDA), game console, interactive network television (IPTV), smart wearable device, etc.

[0057] The computer equipment may also include network equipment and / or user equipment. The network equipment includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing consisting of a large number of hosts or network servers.

[0058] The network in which the computer device is located includes, but is not limited to, the Internet, wide area network, metropolitan area network, local area network, and virtual private network (VPN).

[0059] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. The collection, use and processing of the relevant data shall comply with relevant laws, regulations and standards, and corresponding operation entry points shall be provided for users to choose to authorize or refuse.

[0060] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this application.

[0061] The terms "specific example" or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with the embodiments or examples, which are included in at least one embodiment or example of this specification. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0062] Other embodiments of this specification will readily occur to those skilled in the art upon consideration of the specification and practice of the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations that follow the general principles of this specification and include common knowledge or customary techniques in the art not claimed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this specification are indicated by the following claims.

[0063] It should be understood that this specification is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this specification is limited only by the appended claims.

[0064] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.

Claims

1. A method for determining a delivery method, comprising: Obtain historical delivery orders from the business platform within the target region; Obtain historical self-delivery orders from target merchants within the target region; Based on the delivery origin and destination locations and order creation time of historical self-delivered orders, the proportion of orders that match historical transit orders in the historical self-delivered orders is determined to calculate the matching degree between the historical self-delivered orders and historical transit orders. Historical transit orders are those orders from the historical business platform that pass through a designated area surrounding the target merchant. The designated area surrounding the target merchant is the area enclosed by the target boundary of the target merchant, the target boundary is no more than a preset distance from the target merchant, and the distance between the coordinate points on the target boundary and the navigation route distance between the target merchant is equal to the preset distance. If the matching degree is greater than or equal to the matching degree threshold, then the target merchant's pending delivery order is determined as a delivery order of the business platform.

2. The method according to claim 1, wherein the historical transit orders are determined in the following manner: In the historical business platform delivery orders, the coordinate points of the delivery capacity of each order are collected at a preset time frequency. The historical route orders are determined based on the set of coordinate points and the surrounding designated area, wherein... At least one coordinate point in the set of coordinate points corresponding to the historical transit orders is located within the specified surrounding area.

3. The method according to claim 2, wherein determining the historical transit orders based on the set of coordinate points and the coordinate points within the surrounding designated area comprises: If it is determined that a target coordinate point exists in the set of coordinate points, then based on the target coordinate point, the intersection point of the ray of the target coordinate point and the target boundary is determined by the ray method. The straight-line distance between the target coordinate point and the target merchant is less than or equal to the maximum straight-line distance between the target boundary and the target merchant. If the number of intersection points is one, then the order corresponding to the set of coordinate points is determined to be the historical route order.

4. The method according to claim 1, wherein determining the proportion of historical self-delivered orders that match historical transit orders based on the delivery start location, delivery end location, and order generation time of the historical self-delivered orders includes: Based on the shortest distance between the delivery destination and the delivery capacity of the historical transit orders, the direction of the line connecting the delivery start point and the delivery destination, and the order generation time, the proportion of orders in the historical self-delivered orders that match the historical transit orders is determined, and the proportion of orders in the historical self-delivered orders that match the historical transit orders is used as the first matching proportion.

5. The method according to claim 4, wherein calculating the matching degree between the historical self-delivered orders and the historical transit orders further includes: Based on the tag information of the historical transit orders, the delivery completion information and delivery timeout information of the historical transit orders are determined. The delivery completion information is used to indicate whether the order delivery has been completed, and the delivery timeout information is used to indicate whether the order delivery has exceeded the timeout. Based on the delivery completion information and the delivery timeout information, a second matching ratio is determined, wherein the second matching ratio is the proportion of historical transit orders that have been completed and have not been overdue. The matching degree between the historical self-delivered orders and the historical transit orders is calculated based on the first matching ratio and the second matching ratio.

6. A delivery method determination device, comprising: The acquisition unit is used to acquire historical delivery orders from the business platform within the target region; The acquisition unit is also used to acquire historical self-delivery orders of target merchants within the target region; The calculation unit is used to determine the proportion of historical self-delivered orders that match historical transit orders based on the delivery start location, delivery end location, and order generation time of historical self-delivered orders, in order to calculate the matching degree between the historical self-delivered orders and historical transit orders. The historical transit orders are the orders in the historical business platform delivery orders that pass through the designated area around the target merchant. The designated area around the target merchant is the area surrounded by the target boundary of the target merchant. The target boundary is no more than a preset distance from the target merchant, and the distance between the coordinate point on the target boundary and the navigation route distance between the target merchant is equal to the preset distance. The determining unit is configured to determine the target merchant's pending delivery order as a delivery order of the business platform if the matching degree is greater than or equal to the matching degree threshold.

7. An electronic device, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to implement the method of any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Distribution task grouping method and platform, electronic equipment and storage medium

    CN111311150A

  • Delivery mode determination method and device, electronic equipment and storage medium

    CN116029638A