A path planning method, terminal and computer storage medium

By performing conflict detection and path constraint updating in the undirected graph of the road network, the problem of safe distance conflicts in vehicle dispatching in large-scale warehousing operations is solved, the efficiency and flexibility of vehicle dispatching are improved, and the road network design is simplified.

CN115752491BActive Publication Date: 2024-10-15INFORE ROBOTICS&AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211297385.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-21
Publication Date
2024-10-15
Estimated Expiration
2042-10-21

AI Technical Summary

Technical Problem

In the large-scale warehousing operation process, when dispatching multiple vehicles, the existing path planning method cannot effectively avoid collisions due to safety distance conflicts, and increases the complexity of road network design, requires high computing power, and has low vehicle dispatching efficiency. , unable to flexibly dispatch vehicles.

Method used

By performing conflict detection and path constraint creation based on road network undirected graph data and vehicle location information, the vehicle's planned path is updated to avoid safe distance conflicts, simplify road network design, and improve vehicle dispatching efficiency and flexibility.

Benefits of technology

It effectively avoids collisions due to safety distance conflicts, simplifies the road network design process, improves vehicle dispatching efficiency and flexibility, and meets diverse vehicle dispatching needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115752491B_ABST
    Figure CN115752491B_ABST
Patent Text Reader

Abstract

The present application relates to a path planning method, a terminal and a computer storage medium, wherein the path planning method comprises: determining the planned paths of multiple vehicles according to the road network undirected graph data and the position information of multiple vehicles; wherein the road network undirected graph data comprises the available time of vertices and edges in the road network undirected graph; performing conflict detection on the planned paths of multiple vehicles; wherein the conflict detection comprises safety distance conflict detection; when there is a conflict between the planned paths of any two vehicles, creating path constraints for the target vehicle according to the conflict information; according to the path constraints, updating the planned path of the target vehicle to determine the target planned paths of multiple vehicles. The present application determines the target planned paths of multiple vehicles based on the available time of vertices and edges in the road network undirected graph, can meet the diverse vehicle scheduling needs, improve the efficiency and flexibility of vehicle scheduling; and can avoid collisions caused by safety distance conflicts and simplify the road network design process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of path planning, and in particular, relates to a path planning method, a terminal and a computer storage medium. Background Art

[0002] In large-scale warehouse operation processes, in order to improve handling efficiency, it is necessary to dispatch multiple vehicles, such as multiple automatic guided vehicles (AGVs), to carry out handling simultaneously or in batches. In the scenario of dispatching multiple vehicles for handling, the path points of some sections may be dense, and the path points of some sections may be sparse, and the size of the walkable space in different sections is also diverse. In the same work scene, the operation process is diverse, and often requires multiple vehicles of different geometric sizes to work together. In the process of controlling vehicle movement, in order to avoid collisions caused by safety distance conflicts between vehicles of different sizes, distance restrictions between path points are generally added when designing the road network. This method relies on the accuracy of the road network design. In the complex scenario of vehicle scheduling, it cannot effectively avoid collisions caused by safety distance conflicts, and increases the complexity of the road network design.

[0003] In addition, when dispatching multiple batches of vehicles, the current path planning method has the following defects:

[0004] 1) Perform global path planning for all batches of vehicles. This method requires high computing power and cannot obtain the path planning results of each batch of vehicles within the expected time, resulting in low vehicle scheduling efficiency.

[0005] 2) After waiting for the previous batch of vehicles to arrive at the target location, the path planning for the current batch of vehicles is performed; this method cannot flexibly dispatch vehicles and cannot meet the diverse vehicle dispatching needs. Summary of the invention

[0006] In response to the above technical problems, the present application provides a path planning method, a terminal and a computer storage medium to avoid collisions caused by safety distance conflicts, simplify the road network design process, meet diverse vehicle scheduling needs, and improve vehicle scheduling efficiency and flexibility.

[0007] The present application provides a path planning method, including: step S1, determining the planned paths of the multiple vehicles according to the road network undirected graph data and the position information of the multiple vehicles; wherein the road network undirected graph data includes the available time of the vertices and edges in the road network undirected graph; step S2, performing conflict detection on the planned paths of the multiple vehicles; wherein the conflict detection includes safety distance conflict detection; step S3, when there is a conflict between the planned paths of any two vehicles, creating path constraints for the target vehicle according to the conflict information; wherein the target vehicles are the two vehicles with the conflict between the planned paths; step S4, updating the planned paths of the target vehicles according to the path constraints; step S5, repeating steps S2-S4 to determine the target planned paths of the multiple vehicles.

[0008] In one embodiment, the conflict detection also includes vertex conflict detection and edge conflict detection; the step S2 includes: according to preset rules, performing the vertex conflict detection, the edge conflict detection and the safety distance conflict detection on the planned paths of the multiple vehicles in sequence; in the step S3, based on the conflict information, creating path constraints for the target vehicle, including: when the conflict between any two vehicles is the safety distance conflict, based on the first time when the safety distance conflict occurs, constraining the distance between each vehicle in the target vehicle at the first time to be greater than a safety distance threshold.

[0009] In one embodiment, step S4 includes: if the number of times the path constraint condition is created is 1, then the planned path of the target vehicle is updated according to the path constraint condition created for the first time; if the number of times the path constraint condition is created is N, then the planned path of the target vehicle is updated according to all path constraints created from the first to the Nth time; wherein N is an integer greater than 1.

[0010] In one embodiment, the step S4 includes: determining an updated planned path of the target vehicle based on the road network undirected graph data, the location information of the target vehicle and the path constraint conditions.

[0011] In one embodiment, step S5 includes: combining the planned paths of each target vehicle before and after the update to determine multiple groups of planned paths for the target vehicle; wherein any group of planned paths for the target vehicle includes the updated planned path of at least one target vehicle.

[0012] In one embodiment, the step S5 includes: prioritizing the multiple groups of planned paths of the multiple vehicles corresponding to the multiple groups of planned paths of the target vehicle according to the cost values ​​of the multiple groups of planned paths of the target vehicle; and performing conflict detection on the multiple groups of planned paths of the multiple vehicles in descending order of priority.

[0013] In one embodiment, step S5 includes: if there is a new conflict in the paths included in each of the multiple groups of planned paths for the multiple vehicles, then the path constraint condition is created for the target vehicle based on the conflict information of the group of planned paths with the highest priority among the multiple vehicles; if there is no new conflict in the paths included in any one of the multiple groups of planned paths for the multiple vehicles, then the path included in the corresponding group is used as the target planned path for the multiple vehicles.

[0014] In one embodiment, after determining the target planning paths of the multiple vehicles, it includes: obtaining time information of the target planning paths of the multiple vehicles; and updating the available time of vertices and edges in the road network undirected graph according to the time information of the target planning paths of the multiple vehicles.

[0015] The present application also provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned path planning method when executing the computer program.

[0016] The present application also provides a computer storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned path planning method are implemented.

[0017] The present application provides a path planning method, a terminal and a computer storage medium, which determine the target planning paths of multiple vehicles based on the available time of vertices and edges in an undirected graph of a road network, so that multiple batches of path planning tasks are temporally coherent, which can meet diverse vehicle scheduling needs and improve vehicle scheduling efficiency and flexibility; in addition, in the process of determining the target planning paths of multiple vehicles, safety distance conflict detection is performed on the planned paths of multiple vehicles, which can effectively avoid collisions caused by safety distance conflicts. When designing a road network, there is no need to add distance restrictions between path points, which simplifies the road network design process. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a flowchart of the path planning method provided in Example 1 of the present application;

[0019] Figure 2 This is a road network schematic diagram provided in Example 1 of the present application;

[0020] Figure 3 This is a schematic diagram of the effect of the conflict type provided in Example 1 of the present application;

[0021] Figure 4 This is a schematic diagram of a scenario for updating a planned path provided in Example 1 of the present application;

[0022] Figure 5 This is a schematic diagram of the available time of vertices and edges in an undirected graph of a road network provided in Example 1 of the present application;

[0023] Figure 6 It is a schematic diagram of the structure of the terminal provided in Example 2 of the present application. DETAILED DESCRIPTION

[0024] The technical solution of the present application is further elaborated in detail below in conjunction with the accompanying drawings and specific embodiments of the specification. Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by technicians in the technical field of this application. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. "And / or" used herein includes any and all combinations of one or more related listed items.

[0025] Figure 1 Schematic diagram of the process flow of the path planning method provided in the first embodiment of the present application. Figure 1 As shown, the path planning method of the present application may include the following steps:

[0026] Step S1: determining the planned paths of the multiple vehicles according to the road network undirected graph data and the position information of the multiple vehicles; wherein the road network undirected graph data includes the available time of the vertices and edges in the road network undirected graph;

[0027] Optionally, the location information of the multiple vehicles includes the current locations and target locations of the multiple vehicles.

[0028] In one embodiment, determining the planned paths of the multiple vehicles based on the road network undirected graph data and the position information of the multiple vehicles includes:

[0029] Determine, based on the road network undirected graph data and the position information of the plurality of vehicles, a set of paths for each of the plurality of vehicles from its respective current position to its respective target position;

[0030] A path with the lowest cost is selected from a path set of each vehicle among the multiple vehicles as a planned path for each vehicle among the multiple vehicles.

[0031] Optionally, a space-time A* (STA*) algorithm is used to select the path with the lowest cost from each current position to each target position of each vehicle among the multiple vehicles as the planned path of each vehicle based on the road network undirected graph data and the position information of multiple vehicles.

[0032] like Figure 2 As shown, the model is modeled according to the size of the real physical world, the black part represents the non-drivable area, the white part represents the drivable area, the road network is extracted from the white area and the road network is designed into an undirected graph form, and vertices with different serial numbers and edges composed of different vertices are obtained; optionally, after determining the planned path of each vehicle, each vehicle will travel along the planned path according to the time beat; if the planned path of vehicle A is: 1-2-3, then at t=0s, vehicle A is at vertex 1 in the road network, and after the first time beat, such as 5s, it will move from vertex 1 along the edge composed of vertices 1 and 2 to vertex 2, that is, at t=5s, vehicle A will reach vertex 2 in the road network, and after the second time beat, it will move from vertex 2 along the edge composed of vertices 2 and 3 to vertex 3, that is, at t=10s, vehicle A will reach vertex 3 in the road network; wherein the time beat is a preset value, and each vehicle can adjust the speed according to the distance between adjacent vertices in the planned path to achieve moving from the current vertex to the next adjacent vertex along the planned path after one time beat. Furthermore, each vehicle is marked in proportion according to its size. Figure 2 In the process, the conflict detection process and / or path planning results of the planned paths of multiple vehicles can be simulated and displayed.

[0033] Step S2: performing conflict detection on the planned paths of multiple vehicles; wherein the conflict detection includes safety distance conflict detection;

[0034] Optionally, the conflict detection further includes vertex conflict detection and edge conflict detection;

[0035] In one embodiment, performing conflict detection on the planned paths of multiple vehicles in step S2 includes:

[0036] According to preset rules, vertex conflict detection, edge conflict detection and safety distance conflict detection are performed on the planned paths of multiple vehicles in turn.

[0037] Optionally, preset rules include:

[0038] Vertex conflict detection for planned paths of multiple vehicles;

[0039] When there is no vertex conflict between the planned paths of any two vehicles or when there is a vertex conflict and the vertex conflict is eliminated, edge conflict detection is performed on the planned paths of multiple vehicles;

[0040] When there is no edge conflict between the planned paths of any two vehicles or when there is an edge conflict and the edge conflict is eliminated, a safety distance conflict detection is performed on the planned paths of multiple vehicles.

[0041] Optionally, before performing safety distance conflict detection on the planned paths of multiple vehicles, the method includes:

[0042] Get the dimensions of multiple vehicles;

[0043] The vehicle size is the maximum inner diameter of the vehicle's outer contour.

[0044] Optionally, the vehicle is an AGV.

[0045] Step S3: when there is a conflict between the planned paths of any two vehicles, a path constraint condition is created for a target vehicle according to the conflict information, wherein the target vehicles are the two vehicles whose planned paths conflict;

[0046] Optionally, the conflict information includes the conflicting vehicles, time, location and conflict type; wherein the conflict type includes vertex conflict, edge conflict and safety distance conflict.

[0047] In one embodiment, in step S3, path constraints are created for the target vehicle based on the conflict information, including:

[0048] When the conflict between the planned paths of any two vehicles is a safety distance conflict, according to the first time when the safety distance conflict occurs, the distance between each vehicle in the target vehicles is constrained to be greater than the safety distance threshold at the first time;

[0049] When the conflict between the planned paths of any two vehicles is a vertex conflict, according to the vertex where the conflict occurs and the second time, each vehicle in the target vehicles is constrained to arrive at the corresponding vertex at the second time at different times;

[0050] When the conflict between the planned paths of any two vehicles is an edge conflict, according to the edge where the conflict occurs and the third time, each vehicle in the target vehicles is constrained not to pass through the corresponding edge at the same time in the third time.

[0051] like Figure 3 As shown in (a), car 1 and car 2 both expect to arrive at the same vertex in the road network at the same time beat, that is, car 1 and car 2 have a vertex conflict at the same time beat or at the same time t1 when arriving at the vertex. Then, car 1 and car 2 are constrained to arrive at the same vertex at different times at the same time beat or at the time t1 to resolve the vertex conflict. Figure 3As shown in (b), car 3 and car 4 both expect to pass through the same edge in the road network to reach the other's vertex at the same time beat, that is, car 3 and car 4 have an edge conflict at the same time beat or at the same time t2 when they reach the other's vertex. Then, car 3 and car 4 are constrained to pass through the same edge at different times at the same time beat or at t2 to resolve the above edge conflict. Figure 3 As shown in (c), car 5 and car 6 of different sizes will reach vertex 3 and vertex 2 from vertex 2 in the road network respectively at the same time beat, and the distance between vertex 2 and vertex 3 is less than the safety distance threshold. Therefore, car 5 and car 6 will have a safety distance conflict at the same time beat or at the same time t3 when they arrive at vertex 3 and vertex 2 respectively. Then, the constraint is that at the time beat or at time t3, the distance between car 5 and car 6 is greater than the safety distance threshold to resolve the above safety distance conflict; optionally, the safety distance threshold = the sum of the sizes of each vehicle in the target vehicle / 2, such as (size of car 5 + size of car 6) / 2.

[0052] Step S4: updating the planned path of the target vehicle according to the path constraint conditions;

[0053] In one embodiment, step S4 includes:

[0054] If the number of times the path constraint condition is created is 1, the planned path of the target vehicle is updated according to the path constraint condition created for the first time;

[0055] If the number of times the path constraint conditions are created is N, the planned path of the target vehicle is updated according to all the path constraints created from the 1st to the Nth time;

[0056] Wherein, N is an integer greater than 1.

[0057] In one embodiment, step S4 includes:

[0058] According to the road network undirected graph data, the location information of the target vehicle and the path constraints, the updated planned path of the target vehicle is determined.

[0059] In one embodiment, determining an updated planned path of the target vehicle based on the road network undirected graph data, the location information of the target vehicle, and the path constraint conditions includes:

[0060] According to the road network undirected graph data, the location information of the target vehicle and the path constraint conditions, a path set of each vehicle in the target vehicle from its current location to its target location is determined respectively;

[0061] The paths with the lowest cost are selected from the path set of each vehicle in the target vehicle as the updated planned paths of each vehicle in the target vehicle.

[0062] Optionally, the STA* algorithm is used to select the path with the lowest cost from each current position to each target position of each vehicle in the target vehicles as the updated planned path of each vehicle in the target vehicles according to the road network undirected graph data, the position information of the target vehicles and the path constraints.

[0063] Step S5: Repeat steps S2-S4 to determine target planning paths for multiple vehicles.

[0064] In one embodiment, step S5 includes:

[0065] Combining the planned paths of each target vehicle before and after the update to determine multiple groups of planned paths for the target vehicle;

[0066] Among them, any set of planned paths of the target vehicles includes an updated planned path of at least one of the target vehicles.

[0067] In one embodiment, step S5 comprises:

[0068] Prioritizing the multiple groups of planned paths of the multiple vehicles corresponding to the multiple groups of planned paths of the target vehicle according to the cost values ​​of the multiple groups of planned paths of the target vehicle;

[0069] For multiple groups of planned paths for multiple vehicles, conflict detection is performed in order from high to low priority.

[0070] Exemplarily, the planned paths of two vehicles out of five vehicles are updated to obtain multiple groups of planned paths for the two vehicles. The multiple groups of planned paths for the two vehicles are combined with the planned paths of the other three vehicles respectively to obtain multiple groups of planned paths for five vehicles corresponding to the multiple groups of planned paths for the two vehicles.

[0071] In one embodiment, step S5 includes:

[0072] If each of the paths included in the multiple groups of planned paths for the multiple vehicles has a new conflict, a path constraint condition is created for the target vehicle according to the conflict information of the group of planned paths with the highest priority among the multiple vehicles;

[0073] If there is no new conflict in the paths included in any one of the multiple groups of planned paths for the multiple vehicles, the paths included in the corresponding group will be used as the target planned paths for the multiple vehicles.

[0074] like Figure 4As shown, the current position of car 1 is vertex 2, and its target position is vertex 4; the current position of car 2 is vertex 4, and its target position is vertex 2; the black area is not drivable, and the white area is drivable. According to the road network undirected graph data and the position information of the two cars, the planned path of car 1 is: 2-3-4; the planned path of car 2 is: 4-3-2; Obviously, at the first time beat, car 1 and car 2 have a point conflict at vertex 3;

[0075] Create path constraint 1: Car 1 and Car 2 arrive at vertex 3 at different times in the first time cycle. Update the planned paths of Car 1 and Car 2 according to constraint 1 (Car 1: 2-3-4, Car 2: 4-3-2), and get two groups of planned paths: Car 1: 2-2-3-4, Car 2: 4-3-2, the cost value of this group of planned paths is 5*time cycle; Car 1: 2-3-4, Car 2: 4-4-3-2, the cost value of this group of planned paths is also 5*time cycle; Obviously, these two groups of planned paths have edge conflicts in the second time cycle;

[0076] Since the cost values ​​of these two groups of planned paths are equal, one group of planned paths is selected for further updating; for example, the first group of planned paths (1 car: 2-2-3-4, 2 cars: 4-3-2) is selected, and path constraint 2 is created: 1 car and 2 cars pass through the edge composed of vertex 2 and vertex 3 at different times in the second time cycle. According to path constraint 1 and path constraint 2, the first group of planned paths is updated to obtain 2 groups of planned paths: 1 car: 2-2-2-3-4, 2 cars: 4-3-2. The cost value of this group of planned paths is 6*time cycle; 1 car: 2-2-3-4 , 2 cars: 4-3-1-3-2, the cost value of this group of planned paths is 7*time cycle; according to the size of the cost value, conflict detection is first performed on a group of planned paths with low cost values ​​(1 car: 2-2-2-3-4, 2 cars: 4-3-2), and it is found that in the second time cycle, car 1 and car 2 have a point conflict at vertex 2; then conflict detection is performed on a group of planned paths with high cost values ​​(1 car: 2-2-3-4, 2 cars: 4-3-1-3-2), and it is found that there is no new conflict in this group of planned paths, so the paths included in this group are used as the target planned paths for car 1 and car 2.

[0077] In one embodiment, after determining the target planning paths of the multiple vehicles, the method includes:

[0078] Obtain time information of target planning paths for multiple vehicles;

[0079] Based on the time information of target planning paths of multiple vehicles, the available time of vertices and edges in the road network undirected graph is updated.

[0080] Among them, the time information of the target planning paths of multiple vehicles includes the time to determine the target planning paths of multiple vehicles, the time rhythm of each vehicle traveling along the target planning path, and the time to reach each node on the target planning path and pass each edge.

[0081] like Figure 5 As shown in the figure, when each vertex and edge in the road network is not on the target planning path, the initial available time of each vertex and edge is [(0, inf)], where inf means infinity, that is, each vertex and edge is available at any time from 0 to infinity;

[0082] If at t=0s, the target planning path for the first batch of vehicles is determined to be: 1 vehicle: 3-2-0-7, with a time tact of 1s; then at t=0s, vehicle 1 is located at vertex 3, and vertex 3 is unavailable at t=0s; at t=1s, vehicle 1 will reach vertex 2 via edge 3->2, and vertex 2 and edge 3->2 will be unavailable at t=1s; at t=2s, vehicle 1 will reach vertex 0 via edge 2->0, and vertex 0 and edge 2->0 will be unavailable at t=2s; at t=3s, vehicle 1 will reach vertex 7 via edge 0->7, and vertex 7 and edge 0->7 will be unavailable at t=3s;

[0083] According to the time information of the target planning path of the first batch of vehicles, the available time of the vertices and edges in the road network undirected graph is updated as follows:

[0084] Vertex 3: [(1,inf)] Edge 3->2: [(0,0), (2,inf)]

[0085] Vertex 2: [(0,0), (2, inf)] Edge 2->0: [(0,1), (3, inf)]

[0086] Vertex 0: [(0,1), (3, inf)] Edge 0->7: [(0,2), (4, inf)]

[0087] Vertex 7: [(0,2),(4,inf)]

[0088] If at t=5s, the target planning path for the second batch of vehicles is determined to be: 2 cars: 5-0-2, with a time tact of 1s, then the 2 cars are located at vertex 5 at t=5s, and vertex 5 is unavailable at t=5s; at t=6s, they will pass through edge 5->0 to reach vertex 0, then vertex 0 and edge 5->0 are unavailable at t=6s; at t=7s, they will pass through edge 0->2 to reach vertex 2, then vertex 2 and edge 0->2 are unavailable at t=7s.

[0089] According to the time information of the target planning paths of the first batch and the second batch of vehicles, the available time of the vertices and edges in the road network undirected graph is cumulatively updated:

[0090] Vertex 5: [(0,4), (6, inf)] Edge 5->0: [(0,1), (3,5), (7, inf)]

[0091] Vertex 0: [(0,1), (3,5), (7,inf)] Edge 0->2: [(0,0), (2,6), (8,inf)]

[0092] Vertex 2: [(0,0), (2,6), (8, inf)] Edge 0->7: [(0,2), (4, inf)]

[0093] Vertex 7: [(0,2), (4, inf)] Edge 3->2: [(0,0), (2, inf)]

[0094] Vertex 3: [(1,inf)] Edge 2->0: [(0,1),(3,inf)]

[0095] Among them, (0,0) means t=0s.

[0096] The path planning method provided in Example 1 of the present application determines the target planning paths of multiple vehicles based on the available time of vertices and edges in an undirected graph of a road network, so that multiple batches of path planning tasks are temporally coherent, which can meet diverse vehicle scheduling needs and improve vehicle scheduling efficiency and flexibility. In addition, in the process of determining the target planning paths of multiple vehicles, safety distance conflict detection is performed on the planned paths of multiple vehicles, which can effectively avoid collisions caused by safety distance conflicts. There is no need to add distance restrictions between path points when designing the road network, which simplifies the road network design process.

[0097] Figure 6 1 is a schematic diagram of the structure of the terminal provided in the second embodiment of the present application. The terminal of the present application includes: a processor 110, a memory 111, and a computer program 112 stored in the memory 111 and executable on the processor 110. When the processor 110 executes the computer program 112, the steps in the above-mentioned path planning method embodiment are implemented.

[0098] The terminal may include, but is not limited to, a processor 110 and a memory 111. Those skilled in the art will appreciate that Figure 6 It is only an example of a terminal and does not constitute a limitation on the terminal. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal may also include input and output devices, network access devices, buses, etc.

[0099] The processor 110 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0100] The memory 111 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. The memory 111 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital word (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 111 may also include both an internal storage unit of the terminal and an external storage device. The memory 111 is used to store computer programs and other programs and data required by the terminal. The memory 111 may also be used to temporarily store data that has been output or is to be output.

[0101] The present application also provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned path planning method embodiment are implemented.

[0102] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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.

[0103] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0104] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A path planning method, characterized in that: include: Step S1, determining the planned paths of the multiple vehicles according to the road network undirected graph data and the position information of the multiple vehicles; wherein the road network undirected graph data includes the available time of the vertices and edges in the road network undirected graph; the road network undirected graph data includes multiple vertices and edges composed of different vertices; within a time beat, the vehicle moves from the current vertex to the next adjacent vertex along the planned path, and the one time beat is a preset duration; Step S2, performing conflict detection on the planned paths of the multiple vehicles; wherein the conflict detection includes safety distance conflict detection; Step S3: when there is a conflict between the planned paths of any two vehicles, create a path constraint condition for the target vehicle according to the conflict information; wherein the target vehicles are the two vehicles with the conflict between the planned paths; Step S4: updating the planned path of the target vehicle according to the path constraint condition; Step S5, repeating steps S2-S4 to determine the target planning paths of the multiple vehicles; Wherein, the step S5 comprises: Combining the planned paths of each of the target vehicles before and after the update to determine multiple groups of planned paths of the target vehicles, wherein any group of planned paths of the target vehicles includes the updated planned path of at least one of the target vehicles; Prioritizing the multiple groups of planned paths of the multiple vehicles corresponding to the multiple groups of planned paths of the target vehicle according to cost values ​​of the multiple groups of planned paths of the target vehicle, wherein the cost value includes the number of time beats of each group of the planned paths; The conflict detection is performed on the multiple groups of planned paths of the multiple vehicles in order of priority from high to low.

2. The path planning method according to claim 1, characterized in that: The conflict detection also includes vertex conflict detection and edge conflict detection; vertex conflict means that two vehicles in the target vehicles arrive at the same vertex at the same time beat; edge conflict means that two vehicles in the target vehicles pass through the same edge at the same time beat and arrive at the vertex where the other vehicle is located; safety distance conflict means that two vehicles in the target vehicles leave and arrive at the same vertex at the same time beat, and the vehicle leaving the vertex arrives at the next adjacent vertex, and the distance between the vertex and the next adjacent vertex is less than the safety distance threshold; The step S2 comprises: According to preset rules, the planned paths of the multiple vehicles are sequentially subjected to the vertex conflict detection, the edge conflict detection and the safety distance conflict detection; In step S3, path constraints are created for the target vehicle according to the conflict information, including: When the conflict between the any two vehicles is the safety distance conflict, according to the first time when the safety distance conflict occurs, the distance between each of the target vehicles at the first time is constrained to be greater than a safety distance threshold.

3. The path planning method according to claim 1, characterized in that: The step S4 comprises: If the number of times the path constraint condition is created is 1, then the planned path of the target vehicle is updated according to the path constraint condition created for the first time; If the number of times the path constraint condition is created is N, then the planned path of the target vehicle is updated according to all the path constraints created from the first to the Nth time; Wherein, N is an integer greater than 1.

4. The path planning method according to claim 1 or 3, characterized in that: The step S4 comprises: An updated planned path for the target vehicle is determined based on the road network undirected graph data, the location information of the target vehicle and the path constraints.

5. The path planning method according to claim 1, characterized in that: The step S5 comprises: If each of the paths included in the multiple groups of planned paths for the multiple vehicles has a new conflict, creating the path constraint condition for the target vehicle according to the conflict information of the group of planned paths with the highest priority among the multiple vehicles; If there is no new conflict in the paths included in any one of the multiple groups of planned paths for the multiple vehicles, the paths included in the corresponding group are used as the target planned paths for the multiple vehicles.

6. The path planning method according to claim 1, characterized in that: After determining the target planning paths of the multiple vehicles, the method includes: Acquire time information of target planned paths of the multiple vehicles; The available time of vertices and edges in the road network undirected graph is updated according to the time information of the target planned paths of the multiple vehicles.

7. A terminal, characterized in that: The terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the path planning method according to any one of claims 1 to 6 when executing the computer program.

8. A computer storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the path planning method according to any one of claims 1 to 6 are implemented.