Path planning method, device, computer equipment and storage medium

Through distance minimization clustering and path planning technology, the problem of low delivery efficiency in logistics is solved, load optimization and distance minimization are achieved, and item delivery efficiency and cost-effectiveness are improved.

CN114563008BActive Publication Date: 2024-09-27SF TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011351743.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-27
Publication Date
2024-09-27
Estimated Expiration
2040-11-27

Smart Images

  • Figure CN114563008B
    Figure CN114563008B
Patent Text Reader

Abstract

The present application relates to a path planning method, device, computer equipment and storage medium. The method includes responding to a path planning request, determining a planning object to be path planned and an item to be delivered, obtaining the location information and load limit information of the planning object, determining the planning object corresponding to the item to be delivered according to the location information, determining the required delivery weight of the planning object according to the weight of the item to be delivered and the planning object corresponding to the item to be delivered, performing distance minimization clustering on the planning object according to the required delivery weight, location information and load limit information to obtain a clustering result, performing path planning on each class in the clustering result to obtain a path planning result. The path planning problem is divided into a combination of clustering grouping based on vehicle load restrictions to minimize the distance between classes, and then performing path planning on each group, so as to achieve efficient delivery of items based on grouping and intra-group concatenation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of logistics technology, and in particular to a path planning method, device, computer equipment and storage medium. Background Art

[0002] In the current logistics scenario, the logistics delivery model generally adopted is that the goods are sent from the transit yard, the goods from the transit yard are received by the outlets, and then distributed to the customers by the outlets.

[0003] In order to improve delivery efficiency and reduce the pressure of cargo sorting at outlets, it is considered to send goods directly to customers from the transfer yard. However, this model requires a large number of direct delivery couriers to deliver goods. If the number of delivery personnel is small, they need to go back and forth to the transfer yard to pick up and deliver goods. The round trip process not only reduces the delivery time of direct delivery personnel, but also increases the transportation cost back to the transfer yard. Under this condition, the delivery efficiency cannot be significantly improved. Summary of the invention

[0004] Based on this, it is necessary to provide a path planning method, device, computer equipment and storage medium that can improve delivery efficiency in response to the above technical problems.

[0005] A path planning method, the method comprising:

[0006] Respond to the route planning request and determine the planning object to be routed and the items to be delivered;

[0007] Obtain the location information and load limit information of the planned object, and determine the planned object corresponding to the item to be delivered based on the location information;

[0008] According to the weight of the items to be delivered and the planning objects corresponding to the items to be delivered, determine the required delivery weight of the planning objects;

[0009] According to the weight to be delivered, location information and load limit information, the planning objects are clustered by minimizing the distance to obtain the clustering results;

[0010] Path planning is performed for each category in the clustering results to obtain the path planning result.

[0011] In one embodiment, distance minimization clustering is performed on the planning objects according to the weight to be delivered, location information and load limit information, and the clustering results include:

[0012] According to the weight to be delivered, location information and load limit information, the planning objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target to obtain the clustering results. Among them, the total load is the sum of the total weight of the items to be delivered in each class, and the total distance is the sum of the maximum distances within each class.

[0013] In one embodiment, based on the location information and the load limit information, the planning objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target, and the clustering results include:

[0014] Obtain clustering constraints, which include that the total weight of items to be delivered in a class is not greater than the maximum load limit within the class, and the maximum distance within the class is not greater than the preset maximum handover distance between planning objects;

[0015] Based on the clustering constraints, the planning objects are clustered according to the weight to be delivered, location information and load limit information, with the minimum number of classes, the maximum total load and the minimum total distance as the clustering goals, and the clustering results are obtained.

[0016] In one embodiment, the total weight of the items to be delivered of a class is the total weight of the items to be delivered corresponding to the planning objects in the same class within a preset time range.

[0017] In one embodiment, path planning is performed for each category in the clustering results, and the path planning results include:

[0018] Taking the transfer yard as the starting point of path planning, the serial path planning is carried out for each planning object in the same category to obtain the path planning result including the connection sequence of each planning object.

[0019] In one embodiment, the serial path planning includes implementation based on any one of a greedy algorithm, a heuristic algorithm, and an exact algorithm.

[0020] In one embodiment, obtaining the location information and the upper load limit information of the planning object includes:

[0021] Obtain the historical delivery information and vehicle load of the planned object;

[0022] Determine the load limit information based on the vehicle load, and determine the delivery center point based on the delivery address in the historical delivery information;

[0023] The delivery center point is used as the location information of the planning object.

[0024] A path planning device, comprising:

[0025] The request response module is used to respond to the route planning request and determine the planning object to be routed and the items to be delivered;

[0026] An information acquisition module is used to obtain the location information and load limit information of the planning object, and determine the planning object corresponding to the item to be delivered according to the location information;

[0027] A delivery weight determination module, used to determine the required delivery weight of the planned object according to the weight of the item to be delivered and the planned object corresponding to the item to be delivered;

[0028] The clustering module is used to perform distance minimization clustering on the planned objects according to the weight to be delivered, location information and load limit information to obtain the clustering results;

[0029] The path planning module is used to perform path planning for each category in the clustering results to obtain a path planning result.

[0030] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0031] Respond to the route planning request and determine the planning object to be routed and the items to be delivered;

[0032] Obtain the location information and load limit information of the planned object, and determine the planned object corresponding to the item to be delivered based on the location information;

[0033] According to the weight of the items to be delivered and the planning objects corresponding to the items to be delivered, determine the required delivery weight of the planning objects;

[0034] According to the weight to be delivered, location information and load limit information, the planning objects are clustered by minimizing the distance to obtain the clustering results;

[0035] Path planning is performed for each category in the clustering results to obtain the path planning result.

[0036] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0037] Respond to the route planning request and determine the planning object to be routed and the items to be delivered;

[0038] Obtain the location information and load limit information of the planned object, and determine the planned object corresponding to the item to be delivered based on the location information;

[0039] According to the weight of the items to be delivered and the planning objects corresponding to the items to be delivered, determine the required delivery weight of the planning objects;

[0040] According to the weight to be delivered, location information and load limit information, the planning objects are clustered by minimizing the distance to obtain the clustering results;

[0041] Path planning is performed for each category in the clustering results to obtain the path planning result.

[0042] The above-mentioned path planning method, device, computer equipment and storage medium determine the planning object to be path planned and the items to be delivered based on the path planning request, obtain the location information and load limit information of the planning object, determine the planning object corresponding to the item to be delivered according to the location information, determine the required delivery weight of the planning object according to the weight of the item to be delivered and the planning object corresponding to the item to be delivered, and perform distance minimization clustering on the planning object according to the required delivery weight, location information and load limit information to obtain clustering results to ensure that the clustering grouping can meet the restriction requirements of the maximum load limit, thereby realizing the grouping of the planning objects, and then perform path planning on each class in the clustering results to obtain the path planning results, divide the path planning problem into clustering grouping based on vehicle load limit to minimize the distance between classes, and then perform path planning on each group, so as to realize efficient delivery of items based on grouping and intra-group concatenation. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A diagram of an application environment of a path planning method in an embodiment;

[0044] Figure 2 A schematic diagram of a process flow of a path planning method in one embodiment;

[0045] Figure 3 is a flow chart of a path planning method in another embodiment;

[0046] Figure 4 A schematic diagram of a flow chart of a path planning method in yet another embodiment;

[0047] Figure 5 is a flow chart of a path planning method in yet another embodiment;

[0048] Figure 6 A schematic diagram of a flow chart of a path planning method in another embodiment;

[0049] Figure 7 is a structural block diagram of a path planning device in one embodiment;

[0050] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0052] The path planning method provided in this application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The server 104 responds to the path planning request sent by the terminal 102, determines the planning object to be planned and the items to be delivered, obtains the location information and the upper limit information of the load of the planning object, determines the planning object corresponding to the items to be delivered according to the location information, determines the required delivery weight of the planning object according to the weight of the items to be delivered and the planning object corresponding to the items to be delivered, performs distance minimization clustering on the planning object according to the required delivery weight, location information and upper limit information of the load, obtains the clustering result, performs path planning on each category in the clustering result, obtains the path planning result and feeds it back to the terminal 102.

[0053] The terminal 102 may be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0054] In one embodiment, Figure 2 As shown, a path planning method is provided, which is applied to Figure 1 Taking the server in as an example, the method includes the following steps 202 to 210.

[0055] Step 202, responding to the route planning request, determining the planning object to be routed and the items to be delivered.

[0056] A path planning request is a request to process the planning of moving paths for multiple objects. The path planning request can be initiated by the administrator of the management center based on the trigger operation of the terminal, or it can be automatically triggered by the server according to a pre-matched trigger strategy.

[0057] Path planning refers to the strategy of forming a path, and a path refers to a sequence of points or curves connecting the starting position and the end position. Path planning is used to connect multiple planning objects in sequence and moving positions.

[0058] In an embodiment, the path planning request may carry information about the planning object to be path planned and the items to be delivered, and the server may determine the planning object and the items to be delivered by extracting the information. In other embodiments, the planning object and the information about the items to be delivered may also be stored in a pre-configured manner, and after receiving the path planning request, the server searches for the information about the planning object to be path planned and the items to be delivered according to the pre-configured information storage path.

[0059] Among them, the planning object may refer to the courier who delivers the items, and the items to be delivered refer to the items that need to be delivered to various customers in the transfer yard. Different couriers can pre-configure corresponding delivery areas. For example, the delivery area of ​​courier 1 is area A, and the area where the recipient address of the item to be delivered is located is also area A, then the item will be delivered by courier 1.

[0060] Step 204, obtaining the location information and the upper load limit information of the planning object, and determining the planning object corresponding to the item to be delivered according to the location information.

[0061] The location information may specifically be the location information of the area corresponding to the planning object. For example, if courier 1 corresponds to area A, the location information may be the location information corresponding to area A. Specifically, the location information may be the location information of the center point of area A, or it may be the location information corresponding to a certain location in area A determined based on a comprehensive evaluation of historical delivery information. The method for determining the location information may be adjusted according to actual needs. To reduce data errors during data processing, the method for determining the location information of different planning objects must be consistent. For example, the center point may be used as the location information at the same time, or the location information may be determined based on historical delivery information at the same time.

[0062] The upper load limit information refers to the maximum weight of items that can be carried by the planning object. Specifically, the upper load limit information can be determined based on the maximum load of the courier's delivery vehicle. It can be understood that different couriers may correspond to different types of delivery vehicles, so different planning objects can have different upper load limits.

[0063] Determining the planning object corresponding to the item to be delivered according to the location information refers to determining the correspondence between the item to be delivered and the planning object according to the delivery area corresponding to the planning object and the recipient address corresponding to the item to be delivered.

[0064] Step 206: Determine the required delivery weight of the planned object according to the weight of the item to be delivered and the planned object corresponding to the item to be delivered.

[0065] The required delivery weight of the planned object is determined by accumulating the weight of the items to be delivered corresponding to the planned object.

[0066] In an embodiment, the items to be delivered may be divided by period, such as by half a day or a day. In this case, the weight to be delivered of the planning object is the weight of the items to be delivered within the specified time period at the delivery time.

[0067] The divided cycles can also be divided based on the shifts of couriers. For example, if there are three shifts in a day, the weight to be delivered of the planning object is the weight of the items to be delivered within the delivery shift. It should be noted that the weight to be delivered should not be greater than the maximum load of the delivery vehicle.

[0068] Step 208: perform distance minimization clustering on the planned objects according to the required delivery weight, location information and load limit information to obtain a clustering result.

[0069] Distance minimization clustering refers to clustering with the goal of minimizing the sum of the maximum distances between each class. The maximum distance between classes refers to the distance between the two couriers in the same class who are the farthest apart. In the embodiment, clustering processing needs to meet the condition that the sum of the weights to be delivered in the same class is not greater than the upper limit of the load. On the basis of meeting this condition, distance minimization is achieved.

[0070] Clustering refers to the process of dividing a set of physical or abstract objects into multiple classes consisting of similar objects. The clustering result is the multiple categories obtained by dividing multiple planning objects. It should be noted that each category obtained by clustering includes at least one planning object, and each planning object belongs to only one category.

[0071] Step 210 , performing path planning for each category in the clustering result to obtain a path planning result.

[0072] Path planning refers to the process of generating paths by connecting the planned objects in each category. Through grouped path planning, the items to be delivered can be grouped and delivered. By connecting the items in groups, fast and efficient item delivery can be achieved.

[0073] The above-mentioned path planning method determines the planning object to be path planned and the items to be delivered based on the path planning request, obtains the location information and load limit information of the planning object, determines the planning object corresponding to the items to be delivered according to the location information, determines the required delivery weight of the planning object according to the weight of the items to be delivered and the planning object corresponding to the items to be delivered, and performs distance minimization clustering on the planning objects according to the required delivery weight, location information and load limit information to obtain clustering results, so as to ensure that the clustering grouping can meet the restriction requirements of the maximum load limit, thereby realizing the grouping of the planning objects, and then performs path planning on each class in the clustering results to obtain the path planning results, divides the path planning problem into clustering grouping based on vehicle load restrictions to minimize the distance between classes, and then performs path planning on each group, so as to realize efficient delivery of items based on grouping and intra-group concatenation.

[0074] In one embodiment, if Figure 3As shown, according to the weight to be delivered, the location information and the upper load limit information, the planning objects are clustered by minimizing the distance to obtain the clustering result, namely step 208, including step 302.

[0075] According to the weight to be delivered, location information and load limit information, the planning objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target to obtain the clustering results.

[0076] The total load is the sum of the total weight of each category of items to be delivered, and the total distance is the sum of the maximum distances within each category.

[0077] The number of classes refers to the number of categories after clustering. The more classes there are, the more corresponding groups there are. Each group starts from the transfer station during path planning. Therefore, by reducing the number of groups, the number of planned objects directly connected to the transfer station can be reduced, thereby reducing the total delivery distance of all planned objects and improving the overall delivery efficiency of items.

[0078] In one embodiment, if Figure 4 As shown, based on the location information and the load limit information, the planning objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target, and the clustering results include step 302, including steps 402 to 404.

[0079] Step 402, obtaining clustering constraints, the clustering constraints include that the total weight of the items to be delivered in the class is not greater than the maximum load limit in the class, and the maximum distance in the class is not greater than the preset maximum handover distance between the planned objects.

[0080] Step 404, based on the clustering constraints, according to the required delivery weight, location information and load limit information, with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target, the planning objects are clustered to obtain the clustering results.

[0081] Clustering constraints are constraints that need to be followed in the clustering process. Constraints refer to the various restrictions on decision-making plans. Clustering constraints can limit the clustering results by limiting the size relationship between different items of data, the size relationship between different items and fixed values, etc., to avoid invalid clustering results.

[0082] Among them, the total weight of items to be delivered in a class refers to the sum of the weights of items to be delivered corresponding to each planning object in the same class, and the maximum load limit within a class refers to the load limit corresponding to the planning object with the smallest load limit in the same class. For example, in a certain class, the planning objects include delivery personnel 1, delivery personnel 2 and delivery personnel 3, among which the weight of items to be delivered by delivery personnel 1 is 200Kg and the load limit is 1000Kg, the weight of items to be delivered by delivery personnel 2 is 300Kg and the load limit is 1500Kg, and the weight of items to be delivered by delivery personnel 3 is 400Kg and the load limit is 2000Kg. In this class, the total weight of items to be delivered in the class is 900Kg, and the maximum load limit within the class is 1000Kg.

[0083] The preset maximum handover distance refers to the allowable distance between two planned objects that need to hand over items. The maximum distance within a class refers to the largest value among the distances between two objects in the same class. For example, if the planned objects in a class include delivery personnel 1, delivery personnel 2, and delivery personnel 3, the distance between delivery personnel 1 and delivery personnel 2 is 3km, the distance between delivery personnel 2 and delivery personnel 3 is 4km, and the distance between delivery personnel 1 and delivery personnel 3 is 5km, then the maximum distance within the class is 5km.

[0084] By limiting the total weight of the items to be delivered in a class to no more than the maximum load limit within the class, and the maximum distance within the class to no more than the preset maximum handover distance between the planning objects, it can be ensured that in the clustering results, the corresponding planning objects in each class meet the above constraints, which facilitates the maximization of item delivery efficiency after path planning.

[0085] In an application example, the clustering process is implemented through a clustering model. The input parameters of the clustering model are as follows:

[0086] Courier i needs to deliver weight on day t: w it

[0087] The distance from courier i to courier j: dist ij

[0088] Courier i Vehicle load limit: c i

[0089] Very large number: M

[0090] Maximum distance: D

[0091] The decision variables include:

[0092] Whether courier i belongs to the kth category: x ik (1 for belonging, 0 for not belonging)

[0093] Whether the kth class contains couriers: y k (Inclusive is 1, not included is 0)

[0094] The maximum intra-class distance of the kth class: s k

[0095] Minimum load of the kth class: U k

[0096] Optimization goal:

[0097] Minimize the number of classes:

[0098] Maximize the maximum capacity of a class:

[0099] Minimize the maximum distance within a class: Constraints:

[0100] Each courier belongs to only one category:

[0101]

[0102] Each category has couriers belonging to it:

[0103]

[0104] Maximum weight limit for each class:

[0105]

[0106] Spacing limits within each class:

[0107] x ik *x jk *dist ij ≤s k ≤D*y k for i, j, k∈{1, 2…, n}, i≠j

[0108] In order for each vehicle returning to the transfer yard to load all the required heavy goods, it is crucial to find a group that can meet the vehicle load limit. However, due to the different types of vehicles of each direct courier, the direct couriers are returned to the transfer yard in a round-robin manner, and the minimum vehicle load of the direct courier in the group is used as the upper limit of the group load. In order to reduce the impact of the order of serial handover points on the timeliness of goods and quickly respond to actual emergencies, it is necessary to balance the distance between handover points, and minimize the distance between every two couriers in the group. In addition, due to the different amount of heavy goods per shift of direct couriers every day, although the average weight of heavy goods per shift of couriers can simplify the problem, the mean model cannot accurately deal with the situation where the weight of the couriers' deliveries during the shift is greater than the mean, resulting in a vehicle being unable to load all the heavy goods in the group at once. In this case, adding a time dimension group load limit can enhance the robustness of the model. Through the cluster analysis of the above clustering model, it is possible to accommodate differentiated load limit groupings for different vehicle types, thereby improving the practical applicability of the model. The robust modeling of the clustering model improves the feasibility of the model results, reducing the situation where the total weight of the group exceeds the vehicle load limit due to weight fluctuations of the delivery personnel. It can also use the maximum inter-class distance as the optimization goal, reduce the impact of the string point sequence on the total mileage of the path, and improve the model grouping's ability to deal with actual emergencies (such as route re-planning).

[0109] In one embodiment, if Figure 5 As shown, path planning is performed for each category in the clustering result to obtain the path planning result, namely step 210 , including step 502 .

[0110] Step 502, taking the transfer site as the starting point of path planning, performing serial path planning for each planning object in the same category, and obtaining a path planning result including the connection sequence of each planning object.

[0111] The routes of the grouped planning objects, i.e. the couriers, are planned based on their locations. The shuttle vehicles depart from the transfer yard and connect the couriers in the same group in sequence.

[0112] In one embodiment, the serial path planning includes implementation based on any one of a greedy algorithm, a heuristic algorithm, and an exact algorithm.

[0113] Among them, the greedy algorithm (also known as the greedy algorithm) means that when solving a problem, it always makes the best choice at the moment. In other words, without considering the overall optimality, the algorithm obtains a local optimal solution in a certain sense. Specifically, the characteristic of the greedy algorithm is that it proceeds step by step, often based on the current situation and making the best choice according to a certain optimization measure, without considering various possible overall situations, saving a lot of time that must be spent to exhaust all possibilities to find the optimal solution. The greedy algorithm uses a top-down, iterative method to make successive greedy choices. Each time a greedy choice is made, the problem is simplified into a smaller sub-problem. Through each step of greedy choice, an optimal solution to the problem can be obtained. Given that the clustering model minimizes the distance between couriers in the group, the greedy algorithm can be directly used for path planning here, that is, starting from the transfer station, each time the courier closest to the current point is selected until all couriers are connected in series.

[0114] Heuristic algorithms are proposed in contrast to optimization algorithms. The optimal algorithm for a problem finds the optimal solution for each instance of the problem. An algorithm based on intuition or experience gives a feasible solution for each instance of the combinatorial optimization problem to be solved at an acceptable cost (computational time and space). The degree of deviation between the feasible solution and the optimal solution cannot generally be predicted. The path planning of the above grouping can also be performed using a greedy algorithm. In addition, an exact algorithm is also an algorithm that can find the optimal solution.

[0115] In one embodiment, if Figure 6 As shown, the location information and the upper load limit information of the planning object are obtained, and the planning object corresponding to the item to be delivered is determined according to the location information, that is, step 204, including steps 602 to 608.

[0116] Step 602, obtaining the historical delivery information and vehicle load of the planning object.

[0117] Step 604, determine the load limit information according to the vehicle load, and determine the delivery center point according to the delivery address in the historical delivery information.

[0118] Step 606: Use the delivery center point as the location information of the planning object.

[0119] Step 608: Determine the planning object corresponding to the item to be delivered according to the location information.

[0120] Historical delivery information refers to the item delivery information of the planning object, i.e. the courier, within the specified time range in the past. The specified time range can be one month, half a month, etc. with the current time as the boundary, and the specific duration can be set as needed. The item delivery information includes the delivery range, delivery address and delivery quantity. By performing a weighted analysis on the delivery address and the delivery quantity, the delivery center point within the delivery range can be obtained. For example, in area A, the number of items whose delivery addresses are in the northeast direction of area A accounts for a large proportion of the total delivered items. After the weighted analysis, the delivery center point will be biased towards the northeast direction of the area. In other embodiments, the center point of the range corresponding to the area can also be used as the delivery center point. By using the delivery center point as the location information of the planning object, the location of the center point of the planning object is concretized.

[0121] It should be understood that, although the steps in each flow chart involved in the above-described embodiment are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a portion of the steps in each flow chart involved in the above-described embodiment may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.

[0122] In one embodiment, Figure 7 As shown, a path planning device is provided, including: a request response module 702, an information acquisition module 704, a delivery weight determination module 706, a clustering module 708 and a path planning module 710, wherein:

[0123] The request response module 702 is used to respond to the route planning request and determine the planning object to be routed and the items to be delivered.

[0124] The information acquisition module 704 is used to obtain the location information and the upper load limit information of the planning object, and determine the planning object corresponding to the item to be delivered according to the location information.

[0125] The delivery weight determination module 706 is used to determine the required delivery weight of the planned object according to the weight of the item to be delivered and the planned object corresponding to the item to be delivered.

[0126] The clustering module 708 is used to perform distance minimization clustering on the planning objects according to the required delivery weight, location information and load limit information to obtain clustering results.

[0127] The path planning module 710 is used to perform path planning for each category in the clustering results to obtain a path planning result.

[0128] In one of the embodiments, the clustering module is also used to cluster the planned objects according to the weight to be delivered, location information and load limit information, with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target, to obtain clustering results, wherein the total load is the sum of the total weight of the items to be delivered in each class, and the total distance is the sum of the maximum distances within each class.

[0129] In one of the embodiments, the clustering module is also used to obtain clustering constraints, which include that the total weight of items to be delivered in a class is not greater than the maximum load limit within the class, and the maximum distance within the class is not greater than the preset maximum handover distance between planned objects; based on the clustering constraints, according to the weight to be delivered, location information and load limit information, the planned objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering goals to obtain a clustering result.

[0130] In one embodiment, the total weight of the items to be delivered of a class is the total weight of the items to be delivered corresponding to the planning objects in the same class within a preset time range.

[0131] In one of the embodiments, the path planning module is further used to take the transfer site as the starting point of the path planning, perform serial path planning on each planning object in the same category, and obtain a path planning result including the connection sequence of each planning object.

[0132] In one embodiment, the serial path planning includes implementation based on any one of a greedy algorithm, a heuristic algorithm, and an exact algorithm.

[0133] In one of the embodiments, the information acquisition module is also used to obtain the historical delivery information and vehicle load of the planning object; determine the load limit information based on the vehicle load, and determine the delivery center point based on the delivery address in the historical delivery information; and use the delivery center point as the location information of the planning object.

[0134] The above-mentioned path planning device determines the planning object to be path planned and the items to be delivered based on the path planning request, obtains the location information and load limit information of the planning object, determines the planning object corresponding to the item to be delivered according to the location information, determines the required delivery weight of the planning object according to the weight of the item to be delivered and the planning object corresponding to the item to be delivered, and performs distance minimization clustering on the planning object according to the required delivery weight, location information and load limit information to obtain a clustering result to ensure that the clustering grouping can meet the restriction requirements of the maximum load limit, thereby realizing the grouping of the planning objects, and then performs path planning on each class in the clustering results to obtain the path planning result, divides the path planning problem into clustering grouping based on vehicle load restrictions to minimize the distance between classes, and then performs path planning on each group, so as to achieve efficient delivery of items based on grouping and intra-group concatenation.

[0135] For the specific definition of the path planning device, please refer to the definition of the path planning method above, which will not be repeated here. Each module in the above-mentioned path planning device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0136] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store path planning data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a path planning method is implemented.

[0137] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0138] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0139] In response to a path planning request, determine the planning object for which path planning is to be performed and the items to be delivered; obtain the location information and load limit information of the planning object, and determine the planning object corresponding to the items to be delivered based on the location information; determine the required delivery weight of the planning object based on the weight of the items to be delivered and the planning object corresponding to the items to be delivered; perform distance minimization clustering on the planning objects based on the required delivery weight, location information and load limit information to obtain clustering results; perform path planning on each category in the clustering results to obtain a path planning result.

[0140] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0141] According to the weight to be delivered, location information and load limit information, the planning objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target to obtain the clustering results. Among them, the total load is the sum of the total weight of the items to be delivered in each class, and the total distance is the sum of the maximum distances within each class.

[0142] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0143] Obtain clustering constraints, which include that the total weight of items to be delivered in a class is not greater than the maximum load limit within the class, and the maximum distance within the class is not greater than the preset maximum handover distance between planning objects; based on the clustering constraints, according to the weight to be delivered, location information and load limit information, with the minimum number of classes, the maximum total load and the minimum total distance as the clustering goals, cluster the planning objects to obtain the clustering results.

[0144] In one embodiment, the total weight of the items to be delivered of a class is the total weight of the items to be delivered corresponding to the planning objects in the same class within a preset time range.

[0145] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0146] Taking the transfer yard as the starting point of path planning, the serial path planning is carried out for each planning object in the same category to obtain the path planning result including the connection sequence of each planning object.

[0147] In one embodiment, the serial path planning includes implementation based on any one of a greedy algorithm, a heuristic algorithm, and an exact algorithm.

[0148] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0149] Obtain the historical delivery information and vehicle load of the planning object; determine the load limit information based on the vehicle load, and determine the delivery center point based on the delivery address in the historical delivery information; and use the delivery center point as the location information of the planning object.

[0150] The computer device for implementing the above-mentioned path planning method determines the planning object to be path planned and the items to be delivered based on the path planning request, obtains the location information and load limit information of the planning object, determines the planning object corresponding to the items to be delivered according to the location information, determines the required delivery weight of the planning object according to the weight of the items to be delivered and the planning object corresponding to the items to be delivered, performs distance minimization clustering on the planning objects according to the required delivery weight, location information and load limit information, and obtains clustering results to ensure that the clustering grouping can meet the restriction requirements of the maximum load limit, thereby realizing the grouping of the planning objects, and then performs path planning on each class in the clustering results to obtain the path planning results, divides the path planning problem into clustering groups based on vehicle load restrictions to minimize the distance between classes, and then performs path planning on each group, so as to achieve efficient delivery of items based on grouping and intra-group concatenation.

[0151] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0152] In response to a path planning request, determine the planning object for which path planning is to be performed and the items to be delivered; obtain the location information and load limit information of the planning object, and determine the planning object corresponding to the items to be delivered based on the location information; determine the required delivery weight of the planning object based on the weight of the items to be delivered and the planning object corresponding to the items to be delivered; perform distance minimization clustering on the planning objects based on the required delivery weight, location information and load limit information to obtain clustering results; perform path planning on each category in the clustering results to obtain a path planning result.

[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0154] According to the weight to be delivered, location information and load limit information, the planning objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target to obtain the clustering results. Among them, the total load is the sum of the total weight of the items to be delivered in each class, and the total distance is the sum of the maximum distances within each class.

[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0156] Obtain clustering constraints, which include that the total weight of items to be delivered in a class is not greater than the maximum load limit within the class, and the maximum distance within the class is not greater than the preset maximum handover distance between planning objects; based on the clustering constraints, according to the weight to be delivered, location information and load limit information, with the minimum number of classes, the maximum total load and the minimum total distance as the clustering goals, cluster the planning objects to obtain the clustering results.

[0157] In one embodiment, the total weight of the items to be delivered of a class is the total weight of the items to be delivered corresponding to the planning objects in the same class within a preset time range.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0159] Taking the transfer yard as the starting point of path planning, the serial path planning is carried out for each planning object in the same category to obtain the path planning result including the connection sequence of each planning object.

[0160] In one embodiment, the serial path planning includes implementation based on any one of a greedy algorithm, a heuristic algorithm, and an exact algorithm.

[0161] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0162] Obtain the historical delivery information and vehicle load of the planning object; determine the load limit information based on the vehicle load, and determine the delivery center point based on the delivery address in the historical delivery information; and use the delivery center point as the location information of the planning object.

[0163] The computer-readable storage medium for implementing the above-mentioned path planning method determines the planning object to be path planned and the items to be delivered based on the path planning request, obtains the location information and load limit information of the planning object, determines the planning object corresponding to the items to be delivered according to the location information, determines the required delivery weight of the planning object according to the weight of the items to be delivered and the planning object corresponding to the items to be delivered, performs distance minimization clustering on the planning objects according to the required delivery weight, location information and load limit information, and obtains clustering results to ensure that the clustering grouping can meet the restriction requirements of the maximum load limit, thereby realizing the grouping of the planning objects, and then performs path planning on each class in the clustering results to obtain the path planning results, divides the path planning problem into clustering groups based on vehicle load restrictions to minimize the distance between classes, and then performs path planning on each group, so as to achieve efficient delivery of items based on grouping and intra-group concatenation.

[0164] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0165] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0166] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A path planning method, It is characterized in that The method comprises: Responding to a route planning request, determining multiple planning objects to be routed and items to be delivered; Acquire the location information and the upper load limit information of each of the planned objects, and determine the planned object corresponding to the item to be delivered according to the location information and the address of the recipient corresponding to the item to be delivered; Determine the required delivery weight of the planned object according to the weight of the item to be delivered and the planned object corresponding to the item to be delivered; Obtain clustering constraints, where the clustering constraints include that the total weight of items to be delivered in a class is not greater than the maximum load limit within the class, and the maximum distance within the class is not greater than the preset maximum handover distance between planning objects; Based on the clustering constraint, according to the required delivery weight, the location information and the load limit information, the planning objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target to obtain a clustering result, wherein the total load is the sum of the total weight of the items to be delivered in each class, and the total distance is the sum of the maximum distances within each class; For each category in the clustering results, path planning is performed by connecting the planning objects in the same category in series, so as to obtain a path planning result for grouped delivery by connecting the planning objects in series within the group.

2. The path planning method according to claim 1, It is characterized in that The total weight of the items to be delivered of the class is the total weight of the items to be delivered corresponding to the planning objects in the same class within a preset time range.

3. The path planning method according to claim 1, It is characterized in that For each category in the clustering results, the path planning is performed by connecting the planning objects in the same category in series, and the path planning result obtained by connecting the planning objects in series within the group for group delivery includes: Taking the transfer yard as the starting point of path planning, the serial path planning is carried out for each planning object in the same category to obtain the path planning result including the connection sequence of each planning object.

4. The path planning method according to claim 3, It is characterized in that The serial path planning includes being implemented based on any one of a greedy algorithm, a heuristic algorithm and an exact algorithm.

5. The path planning method according to claim 1, It is characterized in that Acquiring the location information and load limit information of the planning object includes: Obtain the historical delivery information and vehicle load of the planned object; Determine the load limit information according to the vehicle load, and determine the delivery center point according to the delivery address in the historical delivery information; The delivery center point is used as the location information of the planning object.

6. A path planning device, It is characterized in that The device comprises: A request response module is used to respond to a route planning request and determine multiple planning objects to be routed and items to be delivered; An information acquisition module, used to acquire the location information and the upper load limit information of each planning object, and determine the planning object corresponding to the item to be delivered according to the location information and the address of the recipient corresponding to the item to be delivered; A delivery weight determination module, used to determine the required delivery weight of the planned object according to the weight of the item to be delivered and the planned object corresponding to the item to be delivered; A clustering module is used to obtain clustering constraints, wherein the clustering constraints include that the total weight of the items to be delivered of a class is not greater than the maximum load limit within the class, and the maximum distance within the class is not greater than the preset maximum handover distance between the planning objects; based on the clustering constraints, according to the weight to be delivered, the location information and the load limit information, the planning objects are clustered with the minimum number of classes, the maximum total load and the minimum total distance as the clustering target to obtain a clustering result, wherein the total load is the sum of the total weight of the items to be delivered of each class, and the total distance is the sum of the maximum distances within each class; The path planning module is used to perform path planning for each category in the clustering results by connecting the planning objects in the same category in series, so as to obtain a path planning result for grouped delivery by connecting the planning objects in series within the group.

7. The device according to claim 6, It is characterized in that The total weight of the items to be delivered of the class is the total weight of the items to be delivered corresponding to the planning objects in the same class within a preset time range.

8. The device according to claim 6, It is characterized in that The path planning module is specifically used to take the transfer site as the path planning starting point, perform serial path planning on each planning object in the same category, and obtain a path planning result including the connection sequence of each planning object.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.