Path planning method, electronic device, storage medium and product

By generating time window chains and detecting conflict states, the AGV path planning is dynamically adjusted, which solves the deadlock problem in multi-vehicle scheduling and improves system reliability and transportation efficiency.

CN123175262APending Publication Date: 2026-11-27BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610719407.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-22
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In multi-vehicle scheduling scenarios, improper AGV path planning and traffic control can lead to path conflicts, causing vehicle congestion and deadlocks, which affect overall transportation efficiency.

Method used

By generating a time window chain, detecting conflicts with the target time window, and allocating points according to the completion status, the path planning is dynamically adjusted to avoid deadlock.

Benefits of technology

This improves the system's reliability and route planning efficiency, ensuring that multiple vehicles can operate without conflict and pass safely.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123175262A_ABST
    Figure CN123175262A_ABST
Patent Text Reader

Abstract

The application discloses a path planning method, an electronic device, a storage medium and a product. The path planning method comprises the following steps: in response to a path planning request of a target vehicle, generating a time window chain of the target vehicle; in the case that the next point of the target vehicle is allocated, determining a target time window corresponding to the next point from the time window chain; checking the completion state of a conflict time window associated with the target time window; and according to the completion state of the conflict time window, allocating the next point of the target vehicle to complete the path planning. In this way, by generating a time window chain with a waiting dependency relationship, the traffic control logic of multi-vehicle operation is changed from post-mortem deadlock recovery to pre-conflict avoidance and in-process state checking, the deadlock problem in the scheduling mode in the related art is solved, and the reliability of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of AGV path planning technology, and in particular to a path planning method, electronic device, computer-readable storage medium, and computer program product. Background Technology

[0002] Automated Guided Vehicles (AGVs) are driverless transport vehicles capable of automatically traveling along pre-set guided paths, widely used in warehousing, logistics, and manufacturing. In multi-vehicle scheduling scenarios, the Robot Control System (RCS) typically calculates and issues travel paths to each AGV, which then executes the navigation tasks.

[0003] In real-world operations, multiple AGVs often operate simultaneously in the same physical area, sharing a limited number of road points. If path planning and traffic control strategies are inadequate, different AGVs may experience path conflicts at intersections or shared road sections, leading to mutual congestion and waiting, or even multi-vehicle lock-up issues. This can cause traffic congestion and affect overall transportation efficiency. Summary of the Invention

[0004] This application provides a path planning method, an electronic device, a computer-readable storage medium, and a computer program product.

[0005] This application provides a path planning method, including: In response to a path planning request for a target vehicle, a time window chain for the target vehicle is generated. The time window chain includes multiple time windows, each time window corresponding to a point in the path and the time period occupied by the point. When assigning the next location to the target vehicle, the target time window corresponding to the next location is determined from the time window chain; Check the completion status of conflicting time windows associated with the target time window; Based on the completion status of the conflict time window, the target vehicle is assigned the next location to complete the path planning.

[0006] Thus, in this embodiment, by generating a time window chain with waiting dependencies, the traffic management logic for multi-vehicle operation is transformed from post-deadlock recovery to pre-conflict avoidance and in-process state verification, which solves the deadlock problem in the scheduling mode of related technologies and improves the reliability of the system.

[0007] In some implementations, generating a time window chain for the target vehicle in response to a path planning request includes: Obtain the planned path for the target vehicle; Calculate the time window corresponding to each point based on the order of the points in the planned path; Check whether the new time window at the current location conflicts with the time windows of other vehicles that are already in effect; A time window chain for the target vehicle is generated based on the detection results.

[0008] Thus, by embedding conflict detection and the generation strategy based on the detection results into the construction process of the time window chain, it is possible to resolve spatiotemporal conflicts among multiple vehicles and ensure that the generated time window chain is logically conflict-free and executable.

[0009] In some implementations, the detection of whether the new time window of the current location conflicts with the time windows of other vehicles that are already in effect includes: Obtain the start and end times of the new time window, as well as the start and end times of the existing reference time window at the same location; Calculate a first difference between the start time of the newborn time window and the end time of the reference time window, and a second difference between the start time of the reference time window and the end time of the newborn time window; If the absolute value of the first difference or the second difference is less than or equal to the preset conflict time interval, a conflict is confirmed.

[0010] In this way, by quantitatively comparing the two-way time difference with the preset conflict time interval, conflict determination is achieved, avoiding the unreliability caused by relying on fuzzy judgment based on experience, and providing a basis for subsequent waiting time window generation and global conflict-free path planning.

[0011] In some implementations, generating the time window chain of the target vehicle based on the detection results includes: In the event of a conflict, a valid waiting time window is generated and inserted into the time window chain to form a conflict-free time window chain; or In the absence of conflicts, the newly generated time window is identified as a valid time window point and added to the time window chain to form a conflict-free time window chain.

[0012] In this way, by generating and inserting effective waiting time windows when conflicts exist, it is ensured that each waiting action added to the time window chain can reliably alleviate the conflict without introducing new conflicts, making the final generated time window chain feasible to execute. When there are no conflicts, the generation of the time window chain can be directly promoted, avoiding unnecessary waiting and path adjustment, and improving the efficiency of path planning while ensuring that there are no global conflicts.

[0013] In some implementations, generating a valid waiting time window in the event of a conflict includes: Get all active time windows corresponding to the conflict points; Based on the end time of each effective time window, the corresponding waiting end time is calculated, wherein the waiting end time is the sum of the end time of the effective time window and the preset buffer time. Based on the waiting end time, a waiting time window is generated, wherein the start time of the waiting time window is the start time of the new generation time window, and the end time of the waiting time window is the waiting end time.

[0014] In this way, by obtaining all the effective time windows at the conflict points and generating waiting time windows one by one, the completeness and accuracy of the candidate waiting schemes are ensured, invalid waiting due to missing information is avoided, and the amount of computation is effectively controlled, providing a reliable candidate basis for subsequent validity verification and determination of waiting schemes.

[0015] In some implementations, the step of generating a valid waiting time window and inserting the valid waiting time window into the time window chain in the event of a conflict, to form a conflict-free time window chain, further includes: Calculate the estimated time taken to reach the conflict point from the point corresponding to the waiting time window; The next time window is generated based on the end time of the waiting time window and the estimated time. Detect whether the next time window conflicts with any of the existing time windows; The waiting time window corresponding to the next time window that does not conflict is determined as the valid waiting time window.

[0016] In this way, by performing arrival conflict detection on each candidate waiting time window, it is ensured that each final effective waiting time window can guarantee that the target vehicle can safely and without conflict pass through the conflict point after completing the waiting, thus improving the execution reliability of the generated time window chain.

[0017] In some implementations, the step of assigning the next location to the target vehicle based on the completion status of the conflict time window to complete route planning includes: Once all conflict time windows have been completed, the target vehicle is assigned the next location, and the target vehicle is controlled to travel to the next location. If there are unfinished conflict time windows, the target vehicle is controlled to wait until all conflict time windows have been completed before the next location is assigned.

[0018] In this way, point allocation is carried out based on the actual completion status of the conflict time window, and multi-vehicle scheduling is dynamically carried out based on the event triggering mechanism. This overcomes the execution risk caused by the deviation between the estimated time and the actual time, and avoids collisions or deadlocks of multiple vehicles in physical space.

[0019] This application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the method described above.

[0020] This application also provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the method described above.

[0021] This application also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the method described above.

[0022] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description

[0023] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein: Figure 1 This is one of the flowcharts illustrating the path planning method in certain embodiments of this application; Figure 2 This is a second flowchart illustrating the path planning method of certain embodiments of this application; Figure 3 This is a partial class diagram of the time window allocation algorithm results in some embodiments of this application; Figure 4 This is the third flowchart illustrating the path planning method of some embodiments of this application; Figure 5 This is the fourth flowchart illustrating the path planning method of some embodiments of this application; Figure 6 This is one of the scenario diagrams illustrating the path planning method of certain embodiments of this application; Figure 7 This is one of the time window chains in certain embodiments of this application; Figure 8 This is a second schematic diagram of the time window chain in some embodiments of this application; Figure 9 This is a second scenario illustration of the path planning method in some embodiments of this application; Figure 10 This is the fifth flowchart illustrating the path planning method of some embodiments of this application; Figure 11 This is a flowchart of the path planning method of some embodiments of this application, number six. Figure 12 This is the seventh flowchart illustrating the path planning method of some embodiments of this application; Figure 13 This is the eighth flowchart of a path planning method according to certain embodiments of this application. Detailed Implementation

[0024] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.

[0025] AGVs, as unmanned transport vehicles capable of automatically traveling along preset guided paths, are widely used in warehousing and logistics, manufacturing, and other fields. In multi-vehicle scheduling scenarios, the RCS (Roadside Control System) typically calculates and issues driving paths to each AGV, which then executes the navigation and walking tasks.

[0026] In real-world operations, multiple AGVs often operate simultaneously in the same physical area, sharing a limited number of road points. If path planning and traffic control strategies are inadequate, different AGVs may experience path conflicts at intersections or shared road sections, leading to mutual congestion and waiting, or even multi-vehicle lock-up issues. This can cause traffic congestion and affect overall transportation efficiency.

[0027] In related technologies, RCS (Road Traffic Response) often employs a scheme combining single-vehicle path planning with point resource locking. Specifically, when a vehicle is about to pass a certain point, the system allocates exclusive use of that point to the vehicle. If the point has already been occupied or requested by another vehicle, the following vehicle is made to wait in place. However, in dense traffic scenarios, multiple vehicles circulating and waiting for each other to release point resources can easily lead to deadlock. After a deadlock occurs, the system needs to implement additional unlocking strategies, such as causing some vehicles to backtrack or replan their routes, which not only increases system complexity but also reduces overall traffic efficiency.

[0028] Based on the above issues, please refer to Figure 1 This application provides a path planning method, including the following steps: 01: In response to the route planning request for the target vehicle, a time window chain for the target vehicle is generated. The time window chain includes multiple time windows, each time window corresponding to a point in the path and the time period occupied by the point. 02: When assigning the next location to the target vehicle, determine the target time window corresponding to the next location from the time window chain; 03: Check the completion status of conflicting time windows associated with the target time window; 04: Based on the completion status of the conflict time window, assign the target vehicle to the next location to complete the route planning.

[0029] This application also provides a route planning device. The route planning device includes a time window chain generation module, a target time window determination module, a status checking module, and a planning module. The route planning method of this application can be implemented by the route planning device of this application. Specifically, the time window chain generation module generates a time window chain for the target vehicle in response to a route planning request. The target time window determination module determines the target time window corresponding to the next location from the time window chain when the target vehicle is assigned a next location. The status checking module checks the completion status of conflicting time windows associated with the target time window. The planning module assigns the next location to the target vehicle based on the completion status of the conflicting time windows to complete the route planning.

[0030] This application also provides an electronic device, which includes a memory and a processor. The path planning method of this application can be implemented by the electronic device of this application. Specifically, the memory stores a computer program, and the processor is used to respond to a path planning request for a target vehicle, generate a time window chain for the target vehicle, determine the target time window corresponding to the next point from the time window chain when the target vehicle is to be assigned the next point, check the completion status of conflicting time windows associated with the target time window, and assign the target vehicle to the next point according to the completion status of the conflicting time windows, so as to complete the path planning.

[0031] Specifically, the path planning method of this application first generates a time window chain corresponding to a planned spatial path in response to a path planning request for the target vehicle. Each time window includes a point and the time period occupied by that point. When a vehicle is executing a path and needs to be assigned the next point it is about to enter, the system searches for the target time window corresponding to the next point from the generated time window chain. Then, the system checks the completion status of conflicting time windows that are associated with the target time window at the data level and are occupied by other vehicles occupying the same resource. Finally, the system makes a decision based on the check results. In some instances, if all associated conflicting time windows have been completed, the vehicle is assigned the next point; if there are incomplete conflicting time windows, the target vehicle is made to wait until the conflicting time windows are completed. This application converts multi-vehicle path conflicts into waiting dependencies explicitly recorded by the time window event chain, and performs point allocation by checking the completion status of the dependency events, thus avoiding the deadlock problem caused by spatial resource locks.

[0032] Path planning is the dynamic and sequential allocation of points and dynamic decision-making and control based on the event dependencies of time window chains throughout the entire operation of the target vehicle, so as to enable the target vehicle to reach its destination safely and without conflict.

[0033] A route planning request is an instruction from the RCS (Route Control System) to calculate a feasible route from the origin to the destination for a specific target vehicle after receiving a scheduling task instruction. This request includes information such as the vehicle number, origin, destination, and route priority.

[0034] The target vehicle refers to the AGV currently undergoing path planning and scheduling control.

[0035] A time window chain is a data structure that guides multi-vehicle traffic control. It is represented as a sequentially arranged linked list of time windows. Each node in the chain represents a time window corresponding to a point in the path, and they are linked together according to the logical order in which vehicles pass through that point. Time windows of different vehicles can be linked across chains through references. The effective date of one time window depends on the completion of another conflicting time window, thus forming an event chain that links the alternating logic of multi-vehicle operation.

[0036] A time window describes the time period during which a vehicle occupies a specific location. Basic attributes may include: the unique identifier of the location, the unique identifier of the previous location, the vehicle's number, the estimated start time of occupancy, and the estimated end time of occupancy. Each time window represents an arrival, passage, or departure that occurs at that location.

[0037] A point refers to a physical location or area on a vehicle's travel path in a road network. It is the smallest unit for route planning and point allocation, such as an intersection, a stop, or the endpoint of a straight path.

[0038] The next point refers to the first unsuccessful point that the target vehicle will enter ahead of its current location, based on its planned route.

[0039] The target time window refers to the time window point corresponding to the next point in the target vehicle's time window chain. It represents when the target vehicle plans to occupy the next point.

[0040] A conflict time window is an active time window of another vehicle that overlaps with a target time window of this vehicle at the same point during the generation of the time window chain. Conflict time windows are associated with the target time window at the data level through references and are a prerequisite for the target vehicle to safely pass through the designated point. Time overlap can be broadly understood as the time interval between vehicles at the same point as a target time window of this vehicle being less than or equal to a preset conflict threshold.

[0041] In some implementations, when a target vehicle's target time window depends on multiple conflicting time windows of other vehicles, RCS can transform multiple dependencies into a linear dependency structure. Specifically, if target time window A depends on both conflicting time windows B and C, the temporal relationship between B and C can be determined first: If the end time of conflict time window B is earlier than the end time of conflict time window C, then establish the dependency relationship B→C, and then point the dependency of target time window A to C, which has a later end time. If the end time of conflict time window C is earlier than the end time of conflict time window B, then establish a dependency relationship between C and B, and then point the dependency of the target time window A to B, which has a later end time.

[0042] Therefore, any complex multi-dependency scenario is ultimately simplified to a one-to-one dependency relationship. When checking the completion status of conflict time windows, the system only needs to check the completion status of the last preceding conflict time window directly associated with the target time window, without needing to poll multiple dependencies simultaneously, thus reducing computational complexity and state management difficulty. For example, if the target vehicle (green car) at a certain location needs to depend on the conflict time windows of both non-target vehicle A and non-target vehicle B at that location, and the completion time of non-target vehicle B is later than that of non-target vehicle A, then a dependency chain of non-target vehicle A → non-target vehicle B → target vehicle will be established, and the completion status of the conflict time window of non-target vehicle B can be checked.

[0043] The completion status is used to characterize whether the event described by a time window has actually occurred and ended. For example, the status of the conflict time window is completed when other vehicles represented by the associated conflict time window have actually driven away and passed through the point.

[0044] Assigning the next location means that the RCS issues an instruction to the target vehicle that it is allowed to enter the next location, and at the same time, allocates the corresponding time period of that location to the target vehicle.

[0045] In some examples, when RCS initiates path planning, an improved A* algorithm, using time windows as the calculation unit, can be invoked first to plan a path for the green car (target vehicle). When calculating the time window for the green car to reach the next point, it checks whether this time window conflicts with the time windows of existing yellow cars (other vehicles that are not the target vehicle). For example, a first difference between the start time of the green car's new time window and the end time of the yellow car's existing time window, and a second difference between the start time of the yellow car's time window and the end time of the green car's time window, can be calculated. If the absolute value of any difference is less than or equal to a preset conflict interval, a potential spatiotemporal conflict is considered to exist. When a conflict is detected, a waiting time window is generated, causing the green car to wait at the current point until the yellow car passes the conflict point and a buffer period has elapsed. Then, the next time window for traveling from the current point to the conflict point is calculated. If this next time window does not conflict with the existing time windows of all other vehicles at the conflict point, the waiting scheme is confirmed to be effective. This point is then added to the open list as a feasible location to continue the search. Through this reconnaissance-style waiting strategy, a conflict-free path that includes necessary waiting actions is ultimately calculated for the green car.

[0046] In some implementations, the improved time window A* algorithm described above uses Manhattan distance and estimated travel time as weighted heuristic factors, and introduces a pruning strategy to control computational load by avoiding backtracking. Specifically, the algorithm maintains two sets: an open list (OpenList) and a pruned list (CloseList). The open list stores time windows where the target point is likely to be reached, while the pruned list stores time windows that have already been computed to reduce the number of traversals. The formula for calculating the heuristic factor h(n) is:

[0047] Where 'a' represents the weight of the Manhattan distance and 'b' represents the weight of the expected duration. Adjusting these weights balances the priorities of path length and travel time. Manhattan distance refers to the path length from one point to another in a two-dimensional plane. Assuming movement is limited to horizontal and vertical directions, the Manhattan distance for two points (x1, y1) and (x2, y2) is calculated using the following formula:

[0048] When expanding the points, the algorithm iterates through all neighboring points of the current time window point. If a neighboring point is the previous point in the current time window, then... If a path is found to be a backtracking path, it is pruned directly without generating a new time window to prevent the open list from expanding indefinitely due to meaningless reverse path calculations. For other valid neighbor points, a new time window is generated based on the end time of the current time window and the estimated time taken for the route. :

[0049] If the new time window does not conflict with an existing baseline time window at the same location, it is directly added to the open list; if a conflict exists, the ExecuteWaitNext function is called to generate a valid waiting time window and add it to the open list. This process is repeated until a time window point reaching the destination is selected from the open list, generating a complete planned path.

[0050] In one example, when the green car reaches an area near point 3 and needs the RCS to allocate point 3 for it, the RCS searches for the target time window corresponding to point 3 in the green car's time window chain and checks the completion status of the conflict time window of the yellow car at point 3 associated with that target time window. If the yellow car has already left point 3, meaning its conflict time window is complete, the system immediately allocates point 3 to the green car, allowing the green car to pass without interruption. Conversely, if the yellow car is delayed and has not yet passed, the conflict time window is not complete, and the system will control the green car to continue waiting at its current safe location, periodically polling and checking until the dependent conflict event is completed before performing the allocation.

[0051] Thus, in this embodiment, by generating a time window chain with waiting dependencies, the traffic management logic for multi-vehicle operation is transformed from post-deadlock recovery to pre-conflict avoidance and in-process state verification, which solves the deadlock problem in the scheduling mode of related technologies and improves the reliability of the system.

[0052] Please see Figure 2 In some implementations, step 01 includes: 011: Obtain the planned path for the target vehicle; 012: Calculate the time window corresponding to each point based on the order of the points in the planned path; 013: Check whether the new time window of the current location conflicts with the time windows of other vehicles that have already taken effect; 014: Generate a time window chain for the target vehicle based on the detection results.

[0053] In some implementations, the time window chain generation module is used to obtain the planned path of the target vehicle, calculate the time window corresponding to each point according to the order of each point in the planned path, detect whether the newly generated time window of the current point conflicts with the time windows of other vehicles that have already taken effect, and generate the time window chain of the target vehicle based on the detection results.

[0054] In some implementations, the processor is also configured to acquire the planned path of the target vehicle, calculate the time window corresponding to each point according to the order of the points in the planned path, detect whether the newly generated time window of the current point conflicts with the time windows of other vehicles that have already taken effect, and generate a time window chain of the target vehicle based on the detection results.

[0055] Specifically, it can be understood that during the generation of time window chains, if the occupancy time of each point is calculated independently for the target vehicle without simultaneously comparing the occupancy time with the established spatiotemporal occupancy data of other vehicles performing tasks, the generated time window chains may contain unpredictable spatiotemporal conflicts, ultimately causing the planning results to fail during actual execution, thus relying on a post-implementation unlocking strategy. The implementation method of this application introduces conflict detection in the initial stage of the time window chain to ensure that each generated time window point is compatible with the current global traffic state, thereby providing a precise and conflict-free basis for subsequent dynamic point allocation.

[0056] A planned path refers to a spatial route calculated for a target vehicle, consisting of an ordered sequence of points from the origin to the destination. In some examples, the planned path can be generated based on an improved A* algorithm with time windows as the basic computational unit. RCS can generate a spatial path with the shortest distance or minimum cost as the planned path, based on the target vehicle's current location, the task endpoint, and the map model, using Manhattan distance and estimated travel time as weighted heuristic factors, such as "0→1→2→3→6→7".

[0057] A new time window is a newly created time window that has not yet undergone conflict verification, based on information such as the vehicle's estimated speed and path segment length, for the currently being processed point during the process of generating a time window chain for the target vehicle point by point. This time window includes the expected start and end times for that point, forming an initial spatiotemporal occupancy.

[0058] The time windows of other vehicles that have already taken effect refer to the time windows of all other AGVs performing tasks, excluding the target vehicle, that have been path-planned and recorded in the global time window dictionary (TimewindowDict). The time periods of point occupancy described by these time windows have been registered and taken effect in RCS, constituting the dynamic spatiotemporal constraints that the target vehicle must abide by when performing path planning.

[0059] In some implementations, RCS globally maintains two dictionary data structures to manage multi-vehicle path information: TimewindowDict and PathDict. The key of TimewindowDict is the unique ID number of the vehicle, and the value is the complete time window chain of the corresponding vehicle. Each time window point contains attributes such as point identifier, previous point identifier, vehicle number, start time, end time, a list of associated conflicting time windows, and completion status.

[0060] The key of PathDict is also a unique ID number for the vehicle, and the value is a list of planned route points for the corresponding vehicle, arranged in the order of vehicle travel. When a target vehicle completes its journey to a point and reports its location information, RCS updates the completion status of the corresponding time window in TimewindowDict to "completed" and triggers point allocation checks for other vehicles that depend on that time window. This data structure design enables centralized management and fast querying of multi-vehicle time window information, ensuring accurate transmission of event dependencies and real-time status updates.

[0061] Please see Figure 3 In one example, the complete class design of the above data structure is as follows: This application constructs a data foundation that supports global conflict-free scheduling of multiple AGVs by designing two core classes: TimewindowCollection (time window collection) and Timewindow (time window).

[0062] The `TimewindowCollection` class serves as a container for global time window management. In addition to the `TimewindowDict` and `PathDict` properties mentioned above, it also includes a `TaskSequence` property, a list of integers used to sequentially store the numbers of all pending and currently executing transportation tasks in the system, enabling global task scheduling and priority management. The `TimewindowCollection` class provides two methods: `RefreshTask(int)` and `GetTimewindow(int)`. The `RefreshTask(int)` method takes the task number as input and updates the global task sequence and the corresponding AGV's time window chain information when the task status changes, such as when a task is added, completed, or canceled, ensuring that system data is synchronized with the actual operating status. The `GetTimewindow(int)` method takes the AGV number as input and returns a complete list of time window chains corresponding to that AGV, providing data support for target time window lookup and conflict dependency checks during dynamic point allocation.

[0063] The `Timewindow` class, as an abstraction of a single location occupancy event, encapsulates all spatiotemporal information and dependencies of an AGV at a specific location. Its `StartTime` and `EndTime` properties are both date / time types, representing the expected start and end times of the AGV's occupancy of the corresponding location, respectively, forming the core spatiotemporal range of the time window. The `ConflictTimewindow` property, of type `Timewindow`, stores references to other vehicle time windows that conflict with the current time window, recording the prerequisite events required for the current time window to take effect, thus digitizing the multi-vehicle alternating passage logic. The `IsFinish` property, of type `Boolean`, marks whether the location occupancy event described by this time window has actually been completed. The `IsAbandoned` property, of type `Boolean`, marks whether this time window has been abandoned. When path replanning or task cancellation occurs, the system marks related time windows in the original time window chain as abandoned to prevent invalid data from interfering with subsequent scheduling.

[0064] In addition, the Timewindow class implements the GetHashCode() method, which returns the unique hash value of the current time window object. This method is used to quickly look up and compare time window objects in dictionary and set data structures such as TimewindowDict, improving the running efficiency of RCS in large-scale multi-vehicle scheduling scenarios.

[0065] Conflict detection involves comparing the newly created time window with the time windows of all other vehicles already in effect at the same location, one by one, to determine if there is any overlap or substantial overlap in time. The criteria for judgment can be the absolute value of the time difference between the start time of the new time window and the end time of an already effective time window, and the absolute value of the time difference between the start time of an already effective time window and the end time of the new time window. If the absolute value of either is less than or equal to a preset conflict interval, a conflict is considered to exist.

[0066] In some implementations, a first-come, first-served priority allocation principle can be adopted when determining the avoidance relationship between the baseline time window and the new time window. Specifically, when the time windows of two vehicles conflict at the same location, the task request times corresponding to the two time windows are compared: the vehicle that submits the route planning request to the RCS first and departs from the waiting point has its time window determined as the baseline time window and enjoys priority passage; the vehicle that submits the request later has its time window as the new time window and needs to generate a waiting time window to avoid the conflict.

[0067] In certain scenarios, manual task prioritization is also supported. For example, emergency material transport tasks can be assigned higher priority, and their time window will serve as the baseline time window, requiring other vehicles carrying ordinary tasks to give way. Priority information is recorded in the route planning request and used as a basis for conflict determination.

[0068] The detection results can include two states: conflict present and conflict absent. When generating the time window chain based on the detection results, RCS handles different verification results differently: if no conflict exists, the newly generated time window is confirmed as a time window point and added to the target vehicle's time window chain. If a conflict exists, it means that the target vehicle will encounter spatiotemporal interference with other vehicles as originally planned when passing through that point, requiring adjustments to the time window chain. For example, an initial waiting time window is generated in the preceding point of the conflict point, causing the target vehicle to delay its departure from a safe position. The waiting end time is the latest end time of all existing effective time windows at the conflict point plus a preset buffer time. Subsequently, the next time window from the waiting point to the conflict point is calculated, and it is checked whether this next time window conflicts with all other existing effective time windows at the conflict point. After successful verification, the waiting time window is confirmed as a valid waiting time window and added to the time window chain. Subsequent time windows are then calculated based on the delayed time reference until the generated time window chain is conflict-free under global constraints.

[0069] Continuing the previous example, assume the yellow car has completed its route planning and generated an effective time window chain, including the time slot occupied at point 3. The RCS then plans a route for the green car, which is "8→6→3→2→1→0". When calculating the new time window for the green car up to point 3, the RCS performs a conflict detection. It finds that this new time window meets the conflict judgment condition with the yellow car's already effective time window at point 3, meaning a conflict exists. At this point, the RCS does not directly add this new time window to the green car's time window chain. Instead, it backtracks to point 6, the point preceding point 3, and generates a preliminary waiting time window, causing the green car to wait at point 6 until the yellow car passes point 3 and a preset buffer time has elapsed before departing. The RCS then calculates the next time window for the green car to travel from point 6 to point 3. After checking and confirming that this time window does not conflict with any of the already effective time windows at point 3, it adds this effective waiting time window to the green car's time window chain and continues calculating time windows for subsequent points.

[0070] Thus, by embedding conflict detection and the generation strategy based on the detection results into the construction process of the time window chain, it is possible to resolve spatiotemporal conflicts among multiple vehicles and ensure that the generated time window chain is logically conflict-free and executable.

[0071] Please see Figure 4 In some implementations, step 013 includes: 0131: Obtain the start and end times of the newborn time window, as well as the start and end times of the baseline time window that has already taken effect at the same location; 0132: Calculate the first difference between the start time of the newborn time window and the end time of the baseline time window, and the second difference between the start time of the baseline time window and the end time of the newborn time window; 0133: If the absolute value of the first difference or the second difference is less than or equal to the preset conflict time interval, a conflict is confirmed.

[0072] In some implementations, the time window chain generation module is used to obtain the start and end times of the new time window, as well as the start and end times of the reference time window that has taken effect at the same location, and to calculate a first difference between the start time of the new time window and the end time of the reference time window, and a second difference between the start time of the reference time window and the end time of the new time window, and to confirm the existence of a conflict if the absolute value of the first difference or the second difference is less than or equal to a preset conflict time interval.

[0073] In some implementations, the processor is used to obtain the start and end times of the new time window, the start and end times of the reference time window that has been activated at the same point, and to calculate a first difference between the start time of the new time window and the end time of the reference time window, and a second difference between the start time of the reference time window and the end time of the new time window, and to confirm the existence of a conflict if the absolute value of the first difference or the second difference is less than or equal to a preset conflict time interval.

[0074] Specifically, in multi-vehicle routing planning, whether two vehicles occupying the same location constitutes a conflict cannot be determined solely by whether their occupancy periods strictly overlap. In actual operation, vehicles must maintain a certain safe time interval to account for factors such as braking distance, communication delays, and unforeseen circumstances. If the detection is too lenient, it may classify a potentially dangerous time interval as safe. If it is too strict, it will lead to unnecessary waiting and reduce the overall traffic efficiency of the system.

[0075] The reference time window refers to the time window selected as a comparison reference during the conflict detection process when other vehicles have registered and activated their occupancy at the same location. The start and end times of the reference time window represent the start and release times of the already activated vehicle's occupation of that location, respectively.

[0076] The start time refers to the time when the vehicle described by the time window is expected to enter and begin occupying the corresponding location. The end time refers to the time when the vehicle described by the time window is expected to completely leave and release the corresponding location.

[0077] The first difference is the time difference between the start time of the new time window and the end time of the baseline time window. This difference reflects the time interval between the time when the target vehicle arrives at the conflict point and the time when other vehicles already at the point leave. If the value is positive, it means that the target vehicle has already left before the target vehicle arrives, and the value is the time margin between the two events. If the difference is negative, it means that the target vehicle arrives before the target vehicle has left, and the absolute value is the time overlap between the two events.

[0078] The second difference is the time difference between the start time of the baseline time window and the end time of the emerging time window. This difference reflects the time interval between when other vehicles arrive at the conflict point and when the target vehicle is expected to leave that point. Its positive or negative sign has a similar meaning to the first difference, but in the opposite direction.

[0079] The preset conflict interval is a predefined minimum safe time threshold used to determine whether a time window constitutes a conflict. This threshold value can be set by considering factors such as vehicle braking performance and communication latency. If the time interval between two vehicles occupying the same point is less than or equal to this threshold, it is considered that they cannot guarantee safe passage in actual operation, and a conflict should be considered to exist.

[0080] In some examples, the newborn time window is set to T. new The reference time window is T base RCS first performs a preliminary check: confirming that the two time windows correspond to the same location but belong to different vehicles. Then it obtains T... new The start and end times, and T base The start and end times are then calculated. Next, the first difference ΔT1 = T is calculated. new .startTime-T base .endTime, and the second difference ΔT2=T base .startTime-T new `.endTime`. RCS checks whether |ΔT1| is less than or equal to the preset conflict time interval, and whether |ΔT2| is less than or equal to the preset conflict time interval. If either of these conditions is true, a conflict is confirmed. Only when both |ΔT1| and |ΔT2| are greater than the preset conflict time interval is a conflict determined to be non-conflict.

[0081] In one example, suppose the green car generates a new time window for point 6 during route planning, with an estimated start time of 10:05:00 and end time of 10:05:10. The yellow car has previously applied for an effective baseline time window at point 6, with a start time of 10:05:09 and end time of 10:05:15. The preset conflict interval is set to 2 seconds. The RCS first confirms that both time windows correspond to point 6 and belong to different vehicles. Then, it calculates the first difference: 10:05:00 minus 10:05:15, which is -15 seconds, with an absolute value of 15 seconds, greater than 2 seconds. It then calculates the second difference: 10:05:09 minus 10:05:10, which is -1 second, with an absolute value of 1 second, less than or equal to 2 seconds. The absolute value of the second difference meets the conflict condition. The RCS determines that the green car's new time window at point 6 conflicts with the yellow car's baseline time window and immediately initiates the waiting time window generation and verification mechanism.

[0082] In some implementations, the conflict detection logic described above is implemented using the standardized IsConflict function. This function receives two time window parameters, T1 and T2, and first performs a preliminary check: if the location identifiers corresponding to the two time windows are different, or if the two time windows belong to the same vehicle, then it directly returns no conflict (false). If the preliminary check passes, then it calculates two time differences: the first difference ΔT1 is the difference in milliseconds between the start time of T1 and the end time of T2, and the second difference ΔT2 is the difference in milliseconds between the start time of T2 and the end time of T1.

[0083] The function's final judgment logic is as follows: if |ΔT1| ≤ preset conflict time interval or |ΔT2| ≤ preset conflict time interval, then a conflict exists (true); otherwise, there is no conflict (false). The complete function logic formula is:

[0084] The preset conflict interval can be set by comprehensively considering vehicle braking performance, communication latency, and tolerance for unexpected situations on site. For example, in some examples, a typical value can be 2000 milliseconds. This function realizes the quantification and standardization of conflict determination, avoids the subjectivity of experience-based judgment, and provides a unified judgment basis for subsequent path planning.

[0085] Please refer to it again. Figure 3The aforementioned conflict detection logic is implemented in the system through the `IsConflict` member method of the `Timewindow` class. This method is a built-in method of the `Timewindow` class, which accepts another `Timewindow` object as an input parameter, performs the aforementioned bidirectional time difference calculation and pre-verification logic, and returns a boolean value indicating whether there is a spatiotemporal conflict between the two time windows. This method serves as the unified entry point for all conflict verification operations during the time window chain generation phase. Whether it is comparing a newly created time window with an already effective time window, or performing secondary verification while waiting for a later-arriving time window, all operations are completed by calling this method, ensuring the consistency of the global conflict judgment standard.

[0086] In this way, by quantitatively comparing the two-way time difference with the preset conflict time interval, conflict determination is achieved, avoiding the unreliability caused by relying on fuzzy judgment based on experience, and providing a basis for subsequent waiting time window generation and global conflict-free path planning.

[0087] Please see Figure 5 In some implementations, step 014 includes: 0141: In the event of a conflict, generate a valid waiting time window and insert it into the time window chain to form a conflict-free time window chain; or 0142: In the absence of conflicts, the newly generated time window is identified as a valid time window point and added to the time window chain to form a conflict-free time window chain.

[0088] In some implementations, the time window chain generation module is used to generate a valid waiting time window in the event of a conflict and insert the valid waiting time window into the time window chain to form a conflict-free time window chain, and to identify a newly generated time window as a valid time window point and add it to the time window chain in the event of no conflict to form a conflict-free time window chain.

[0089] In some implementations, the processor is configured to generate a valid waiting time window in the presence of a conflict and insert the valid waiting time window into the time window chain to form a conflict-free time window chain, and to identify a newly generated time window as a valid time window point and add it to the time window chain in the absence of a conflict to form a conflict-free time window chain.

[0090] Specifically, it can be understood that during the generation of the time window chain, when a newly generated time window is confirmed to conflict with the time windows of other vehicles that are already in effect through conflict detection, simply discarding the new time window or requiring vehicles to blindly avoid it would not only fail to guarantee the feasibility of the path but may also trigger new spatiotemporal conflicts, resulting in a decrease in system planning efficiency. The implementation method of this application, upon detecting a conflict, does not directly abandon the process but instead generates a valid waiting time window and inserts it into the time window chain, causing the target vehicle to delay its departure at a safe waiting point to avoid the conflict period, thereby forming a logically self-consistent and globally conflict-free time window chain.

[0091] An effective waiting time window is determined when a conflict is detected between a newly generated time window and an existing effective time window. The system then backtracks to the preceding point of the conflict, calculates the end time of the wait based on the end times of all existing effective time windows at the conflict point, and verifies whether the new time window arriving at the conflict point after the wait is conflict-free with all existing effective time windows. Essentially, an effective waiting time window is a special time window point that may include the identifier of the waiting point, the identifier of the previous point, the vehicle number, the start time of the wait, and the end time of the wait. This ensures that the target vehicle can safely and without conflict pass through the original conflict point after the wait ends.

[0092] A conflict-free time window chain refers to a time window chain within a complete path in which the vehicle occupancy behavior of each time window does not conflict with any of the non-vehicle time windows that are already in effect globally at the time of the time window's generation. This chain can serve as the basis for traffic control enforcement.

[0093] In some examples, firstly, the RCS obtains the active time windows of all non-target vehicles corresponding to the conflict point. Secondly, based on the end time of each active time window, the corresponding waiting end time is calculated, which is the sum of the end time of the active time window and the preset buffer time. Then, a preliminary waiting time window is generated based on the waiting end time. The start time of the waiting time window is consistent with the start time of the new time window, i.e., the time when the target vehicle was originally scheduled to arrive at the waiting point, and the end time is the aforementioned waiting end time. The waiting point is the preceding point of the conflict point. Subsequently, the RCS calculates the estimated time taken to travel from the point corresponding to the waiting time window to the conflict point. Based on the end time and estimated time taken of the waiting time window, the next time window is generated, and it is checked whether the next time window does not conflict with the active time windows of all non-target vehicles at the conflict point. Waiting time windows that pass the above checks and are confirmed not to cause secondary conflicts are finally determined as valid waiting time windows.

[0094] Continuing with the previous example of the yellow and green cars, the yellow car's occupation time at point 3 has already taken effect. When RCS calculates the path for the green car to point 3, a new time window is detected to conflict with the yellow car's time window. RCS then activates the waiting time window generation mechanism: it obtains all active time windows of non-green cars at point 3, i.e., the yellow car's occupation time window, calculates the waiting end time, and adds a preset buffer time to the yellow car's occupation end time. Based on this, a preliminary waiting time window is generated. The start time of the preliminary waiting time window is consistent with the start time of the green car's new time window at point 3, which is the time when the green car was originally scheduled to arrive at point 6, and the end time is the waiting end time calculated above. The waiting point is determined to be point 6, the preceding point of point 3. Calculate the estimated time for the green car to travel from point 6 to point 3. Based on the waiting end time and the estimated time, generate the next time window for the green car to reach point 3. Finally, verify that the next time window does not conflict with the effective time window of the yellow car at point 3, confirm that the waiting time window is valid, and insert it into the time window chain of the green car between points 6 and 3 to form a conflict-free time window chain.

[0095] Furthermore, it can be understood that during the point-by-point generation of the time window chain, when a newly generated time window is confirmed by conflict detection to have no spatiotemporal conflict with any globally active non-vehicle time windows, it indicates that the target vehicle will not interfere with other vehicles as originally planned when passing through that point, and no path adjustment or waiting is required. In this application's implementation, when no conflict is detected, the newly generated time window is directly added to the time window chain.

[0096] Effective time window locations refer to time windows that have passed conflict detection and verification and have no spatiotemporal conflicts. The time periods occupied by the locations included in the effective time window are confirmed by RCS and can be used as the time reference for subsequent location time window calculations.

[0097] In some examples, after the RCS calculates a new time window for the target vehicle at the current location, it compares it against all existing time windows at the same location that are not for the target vehicle. If no conflict is found, the RCS marks the new time window as a valid time window and adds it to the target vehicle's time window chain. Subsequently, the RCS uses the end time of this valid time window as a benchmark, combined with the estimated travel time from the current location to the next location, to calculate the new time window for the next location, and repeats the conflict detection process. This process is repeated until all locations on the planned path have generated corresponding valid time windows, ultimately forming a complete, globally conflict-free time window chain.

[0098] Continuing with the previous example of the yellow and green cars, when the RCS calculates the path for the green car to point 6, it generates a new time window for point 6. The RCS compares this new time window with all existing non-vehicle time windows at point 6 to confirm there are no conflicts. At this point, the RCS directly confirms the new time window at point 6 as a valid time window and adds it to the green car's time window chain. Subsequently, using the end time of the time window at point 6 as a benchmark, the RCS calculates the estimated time for the green car to travel from point 6 to point 3, generates a new time window for point 3, and continues the conflict detection process.

[0099] In some implementations, when generating time window chains, RCS can simultaneously evaluate the total cost of both waiting and detour solutions to conflict, selecting the solution with the shortest total time to generate the final time window chain. The calculation of the total cost comprehensively considers waiting time, the increased travel distance due to detours, and the risk of subsequent chain conflicts.

[0100] In one example, the planned path for the green car is 8→6→3→2→1→0, and the planned path for the yellow car is 0→1→2→3→6→7. The two cars collide at point 3. The system first calculates the total cost of the waiting option: the time for the green car to wait at point 6 until the yellow car passes point 3, plus the subsequent travel time. Simultaneously, it calculates the total cost of the detour option: the total travel time for the green car to detour from point 6 to point 4→5→2, and then to point 1→0. If the total time of the detour option is less than that of the waiting option, a time window chain containing the detour path is generated, and the green car can complete the task at point 4→5→2 without waiting. If the total time of the waiting option is shorter, a time window chain containing the waiting time window is generated, and the green car waits at point 6 for the yellow car to pass before proceeding to point 3. This ensures that the system can select the optimal conflict resolution solution in different scenarios.

[0101] The following describes the path planning method of this application using a complete dual-vehicle dispatching scenario: Please see Figure 6 In a dual-vehicle dispatch scenario, in the relevant solutions, the yellow vehicle applies for and locks positions 1, 2, and 3 in advance, while the green vehicle applies for and locks positions 6, 3, and 2 in advance. This results in a deadlock where the yellow vehicle occupies position 2 while waiting for position 3, and the green vehicle occupies position 6 while waiting for position 3. This can only be resolved by forcibly resetting and replanning the vehicles afterward, which not only increases the complexity of the system but also reduces transportation efficiency.

[0102] For example Figure 6 The deadlock problem shown can be solved by using the path planning method of the implementation method of this application, which transforms the multi-vehicle traffic management logic from post-deadlock recovery to pre-conflict avoidance through the time window chain algorithm. This can effectively solve the deadlock problem in the scheduling mode of related technologies and improve the reliability of the system.

[0103] Please see Figure 7 First, RCS simultaneously receives transport tasks from both the yellow car and the green car. The yellow car's task starts at point 0 and ends at point 7, while the green car's task starts at point 8 and ends at point 0.

[0104] RCS first plans a path for the yellow car and generates a time window chain. The planned path for the yellow car is 0→1→2→3→6→7, corresponding to the generation of time windows 1.0, 1.1, 1.2, 1.3, 1.6, and 1.7. The time window numbering rule is [vehicle number.location number]. 1.3 means that the time window for the yellow car with the number 1 is at location 3.

[0105] Subsequently, RCS planned an initial path 8→6→3→2→1→0 for the green car. During the generation of time windows, it was detected that the green car's new time window 2.3 at point 3 conflicted with the yellow car's 1.3, the green car's new time window 2.2 at point 2 conflicted with the yellow car's 1.2, and the green car's new time window 2.6 at point 6 conflicted with the yellow car's 1.6.

[0106] RCS simultaneously evaluates the total cost of both waiting and detour solutions in a conflict, and calculates that the detour solution has a shorter total time. Therefore, the planned path for the green car is adjusted to 8→6→3→4→5→2→1→0, and a conflict-free time window chain is regenerated, with corresponding time windows of 2.8, 2.6, 2.3, 2.4, 2.5, 2.2, 2.1, and 2.0.

[0107] During the generation of the time window chain, the system automatically establishes the correct cross-vehicle dependencies based on the actual order in which the two vehicles pass through each point: the yellow vehicle's time window 1.3 at point 3 depends on the green vehicle's time window 2.3 at point 3; the green vehicle's time window 2.2 at point 2 depends on the yellow vehicle's time window 1.2 at point 2; and the yellow vehicle's time window 1.6 at point 6 depends on the green vehicle's time window 2.6 at point 6. The yellow vehicle's time window 1.2 at point 2 does not depend on any other time windows because it passes through point 2 before the green vehicle. These dependencies are recorded through the ConflictTimewindow property of the time windows, forming a time window chain.

[0108] During the scheduling execution phase, RCS dynamically allocates points according to the dependencies of the time window chain: the green car first passes through points 8 and 6 in sequence. When the green car completes its journey to point 6 and reports its location information, the system automatically calls the Finish() method of time window 2.6, triggering the point allocation check of the yellow car in time window 1.6; the green car continues to point 3, and when it completes its journey to point 3 and reports its location information, the system calls the Finish() method of time window 2.3, triggering the point allocation check of the yellow car in time window 1.3. After confirming that the dependency has been resolved, the yellow vehicle passes through points 2 and 3 in sequence. Passing through point 2 does not require waiting because there is no prior dependency in step 1.2. When the yellow vehicle completes its journey through point 2 and reports its location information, the system calls the Finish() method of time window 1.2, triggering the point allocation check of the green vehicle 2.2. After confirming that the dependency has been resolved, the green vehicle continues to pass through points 4, 5, 2, and 1, finally reaching point 0. The yellow vehicle then passes through point 6 and finally reaches point 7, completing the entire transportation task.

[0109] Please see Figure 8 In the same dual-vehicle task scenario, if the system evaluation determines that the total time of the waiting solution is shorter, then a waiting avoidance strategy is adopted to generate a conflict-free time window chain.

[0110] RCS first plans the path 0→1→2→3→6→7 for the yellow car and generates effective time window chains 1.0, 1.1, 1.2, 1.3, 1.6, and 1.7.

[0111] Subsequently, the initial path 8→6→3→2→1→0 was planned for the green car. When generating the new time window 2.6 at point 6, a conflict was detected between it and the already effective time window 1.6 of the yellow car at point 6.

[0112] The system calls the ExecuteWaitNext function to generate a valid waiting time window, causing the green car to wait at point 8 until the yellow car completes its journey at point 6. The final conflict-free time window chain for the green car is 2.8 (waiting time window), 2.6, 2.3, 2.2, 2.1, 2.0.

[0113] During the generation of the time window chain, the system establishes dependencies: the green car's time window 2.6 at point 6 depends on the yellow car's time window 1.6 at point 6, forming the following... Figure 9 The time window chain shown has dependency arrows.

[0114] During the scheduling and execution phase, RCS dynamically allocates points according to the dependencies of the time window chain: the yellow car first passes through points 0, 1, 2, and 3 in sequence, heading towards point 6; the green car waits at point 8, and the system periodically checks the completion status of the yellow car 1.6; when the yellow car completes its journey to point 6 and reports its location information, the system automatically calls the Finish() method of time window 1.6, triggering the point allocation check for the green car 2.6; after confirming that the dependency has been resolved, the green car passes through points 6, 3, 2, and 1 in sequence, finally reaching point 0; the yellow car then passes through point 7, completing the entire transportation task.

[0115] Please see Figure 9 The diagram illustrates the physical road network and vehicle operation scenario for the proposed evasion scheme. The road network comprises nine points (0-8), connected by roads. Alternative connection paths exist between points 2 and 5, 5 and 4, and 4 and 3. The yellow vehicle's mission starts at point 0 and ends at point 7, with a planned path of 0→1→2→3→6→7. The green vehicle's mission starts at point 8 and ends at point 0, with a planned path of 8→6→3→2→1→0.

[0116] As mentioned above, under the resource lock scheduling mode of the relevant technical points, if two vehicles start at the same time, the yellow vehicle will apply to lock points 1, 2, and 3 in advance, and the green vehicle will apply to lock points 6, 3, and 2 in advance. This will eventually result in a deadlock where the yellow vehicle occupies point 2 and waits for point 3, and the green vehicle occupies point 6 and waits for point 3. This can only be resolved by forcibly reversing the vehicles afterward.

[0117] This application employs a time window chain algorithm for pre-emptive conflict avoidance. First, the RCS simultaneously receives transportation tasks from both yellow and green vehicles. It first plans a route for the higher-priority yellow vehicle and generates an effective time window chain. The planned route for the yellow vehicle is 0→1→2→3→6→7, corresponding to time windows 1.0, 1.1, 1.2, 1.3, 1.6, and 1.7. The time window numbering rule is [vehicle number. location number]. For example, 1.6 represents the time window for yellow vehicle number 1 at location 6.

[0118] Subsequently, RCS planned the initial path 8→6→3→2→1→0 for the green car. When generating the new time window 2.6 at point 6, the IsConflict method was called to detect that there was a spatiotemporal conflict between it and the already effective time window 1.6 of the yellow car at point 6.

[0119] The system calls the ExecuteWaitNext function to generate a valid waiting time window, causing the green car to wait at point 8 until the yellow car completes its journey at point 6 and arrives at point 7. The final conflict-free time window chain for the green car is 2.8, 2.6, 2.3, 2.2, 2.1, 2.0.

[0120] During the generation of the time window chain, cross-vehicle dependencies are automatically established: the green car's time window 2.6 at point 6 depends on the yellow car's time window 1.6 at point 6. This dependency is recorded through the ConflictTimewindow property of the time window.

[0121] In actual operation, RCS dynamically allocates points according to the dependencies of the time window chain. The yellow car first passes through points 0, 1, 2, and 3 in sequence, heading towards point 6; the green car waits at point 8, and the system periodically checks the completion status of yellow car 1.6. When the yellow car completes its journey to point 6 and reaches point 7, and reports its location information to RCS, the Finish() method of time window 1.6 is automatically called, triggering the point allocation check for green car 2.6. After confirming that the dependency has been resolved, the green car enters point 6, then passes through points 3, 2, and 1 in sequence, finally reaching point 0, completing the entire transportation task.

[0122] In this way, by generating and inserting effective waiting time windows when conflicts exist, it is ensured that each waiting action added to the time window chain can reliably alleviate the conflict without introducing new conflicts, making the final generated time window chain feasible to execute. When there are no conflicts, the generation of the time window chain can be directly promoted, avoiding unnecessary waiting and path adjustment, and improving the efficiency of path planning while ensuring that there are no global conflicts.

[0123] Please see Figure 10 In some implementations, step 0141 includes: 01411: Retrieve all active time windows corresponding to the conflict points; 01412: Calculate the corresponding waiting end time based on the end time of each effective time window. The waiting end time is the sum of the end time of the effective time window and the preset buffer time. 01413: Generate a waiting time window based on the waiting end time, where the start time of the waiting time window is the start time of the new time window, and the end time of the waiting time window is the waiting end time.

[0124] In some implementations, the time window chain generation module is used to obtain all effective time windows corresponding to the conflict point, calculate the corresponding waiting end time according to the end time of each effective time window, and generate a waiting time window based on the waiting end time.

[0125] In some implementations, the processor is used to obtain all effective time windows corresponding to the conflict point, and to calculate the corresponding waiting end time according to the end time of each effective time window, and to generate a waiting time window based on the waiting end time.

[0126] Specifically, it can be understood that when a new time window is determined to conflict with the time windows of other vehicles already in effect at a conflict point, the process of generating candidate waiting schemes cannot rely solely on the baseline time window used for conflict comparison. Multiple other vehicles may have in effect time windows at the conflict point simultaneously. If all in effect time windows are not fully covered when generating waiting schemes, the target vehicle, after completing its wait and proceeding to the conflict point, may still collide with the occupied time periods of other unconsidered vehicles at that point, rendering the waiting strategy ineffective. In this application's implementation, when generating waiting schemes, based on the global state information of the conflict point, all in effect time windows other than the target vehicle's own at the conflict point are obtained, and a corresponding waiting scheme is generated for each of these in effect time windows, ensuring that candidate waiting schemes cover all occupied time periods that need to be avoided at the conflict point. Furthermore, this application's implementation generates a limited number of candidate schemes for the actual occupied time periods at the conflict point, avoiding the infinite expansion problem of the OpenList caused by indiscriminately enumerating all possible waiting time points in the time window A* algorithm of related technologies, thus reducing computational complexity.

[0127] A conflict point refers to a specific location during conflict detection where a newly identified time window is found to have a spatiotemporal conflict with the time windows of other vehicles that are already in effect. Conflict points serve as the spatial location basis for triggering the waiting time window generation mechanism.

[0128] All active time windows refer to the set of all time windows at the conflict point that meet the following two conditions: First, the location identifier of the time window is the same as the location identifier of the conflict point; second, the vehicle number of the time window is different from the target vehicle's number. This set is obtained by filtering from the global time window dictionary (TimewindowDict) and reflects the time periods in which all other vehicles besides the target vehicle have established location occupancy at the conflict point.

[0129] The waiting end time refers to the minimum time a target vehicle must wait to safely avoid a vehicle represented by that specific effective time window within the entire effective time window framework. The specific value of the waiting end time is obtained by adding the end time of that effective time window to the preset buffer time.

[0130] The preset buffer time is a fixed time length that is set in advance to reserve a safe gap after the preceding vehicle leaves the conflict point, ensuring that the conflict point is in an absolutely safe state when the target vehicle enters it, and avoiding the safety risks caused by the target vehicle entering immediately after the preceding vehicle has just left.

[0131] A waiting time window is a time window point generated for the immediate preceding point of a conflict point in the event of a conflict. It describes the in-situ waiting action performed by a target vehicle at that safe point. The start time of the waiting time window is consistent with the start time of the newly created time window, indicating that the target vehicle enters the waiting state from the originally planned arrival time at the waiting point; the end time of the waiting time window is the corresponding waiting end time, indicating that the target vehicle must wait until at least that time to end the waiting. After the waiting time window is generated, a waiting event will be added to the target vehicle's time window chain.

[0132] In some examples, RCS first identifies the conflict point and filters all time windows from the global time window dictionary whose point identifier is equal to the conflict point and whose vehicle number is not equal to the target vehicle, forming a set of all active time windows. Then, it iterates through each element in this set, reading the end time of each active time window and adding each end time to a preset buffer time to obtain its corresponding waiting end time. Finally, for each waiting end time, an independent waiting time window is generated. The start time of this waiting time window is uniformly set to the start time of the new time window, and the end time is set to the corresponding waiting end time. The point is fixed as the preceding point of the conflict point. These waiting time windows are placed into a candidate set for subsequent validity verification. The estimated time taken to reach the conflict point from the waiting point is calculated one by one, and an arrival time window is generated. Then, it is checked whether this arrival time window conflicts with all active time windows at the conflict point. Only waiting time windows that pass the check are confirmed as valid waiting time windows.

[0133] In this way, by obtaining all the effective time windows at the conflict points and generating waiting time windows one by one, the completeness and accuracy of the candidate waiting schemes are ensured, invalid waiting due to missing information is avoided, and the amount of computation is effectively controlled, providing a reliable candidate basis for subsequent validity verification and determination of waiting schemes.

[0134] Please see Figure 11 In some embodiments, step 0141 further includes: 01414: Calculate the estimated time to reach the conflict point from the point corresponding to the waiting time window; 01415: Generate the next time window based on the end time and estimated duration of the waiting time window; 01416: Check if the next time window conflicts with any existing time windows; 01417: The waiting time window corresponding to the next time window that does not have a conflict is determined as the valid waiting time window.

[0135] In some implementations, the time window chain generation module is used to calculate the estimated time taken to reach the conflict point from the point corresponding to the waiting time window, generate the next time window based on the end time and estimated time taken of the waiting time window, detect whether the next time window conflicts with each of the existing time windows, and determine the waiting time window corresponding to the next time window that does not conflict as a valid waiting time window.

[0136] In some implementations, the processor is used to calculate the estimated time taken to reach the conflict point from the point corresponding to the waiting time window, and to generate the next time window based on the end time and estimated time taken of the waiting time window, and to detect whether the next time window conflicts with each of the existing time windows, and to determine the waiting time window corresponding to the next time window that does not conflict as a valid waiting time window.

[0137] Specifically, it can be understood that multiple candidate waiting time windows are generated at the conflict point, each representing a target vehicle waiting at a preceding point until a specific time. The end time of the waiting time window indicates the starting time when the target vehicle can end its wait, but the target vehicle still needs time to travel from the waiting point to the conflict point. If a candidate waiting time window is directly adopted without further verification, the following situation may occur: after adding the travel time to the end time of the wait, when the target vehicle actually arrives at the conflict point, there are still other vehicles occupying their time slots, resulting in a secondary conflict. In this application's implementation, after the candidate waiting time windows are generated, each candidate scheme is verified. By detecting the traffic state when the target vehicle actually arrives at the conflict point after ending its wait, an effective scheme that can truly avoid the conflict is selected. Since the candidate waiting time windows are controlled within a small range, the verification process has low computational cost and does not require re-planning the global path.

[0138] Estimated travel time refers to the estimated length of time required for a target vehicle to travel from the waiting point corresponding to the waiting time window to the conflict point along the planned path. Estimated travel time can be calculated based on parameters such as the length of the path segment from the waiting point to the conflict point and the target vehicle's preset driving speed.

[0139] The next time window refers to the time window that the RCS generates for the target vehicle when it arrives at the conflict point, based on the end time and estimated time of a candidate waiting time window during the detection process. The start time of the next time window is the end time of the waiting time window, and the end time is the end time of the waiting time window plus the estimated time. The next time window describes the period during which the target vehicle actually occupies the conflict point after executing the waiting plan.

[0140] An effective waiting time window refers to a waiting time window that has passed effectiveness testing and is confirmed to successfully avoid conflict. When the next time window corresponding to a candidate waiting time window does not conflict with any of the active time windows at the conflict point, that candidate waiting time window is determined to be an effective waiting time window. After the target vehicle waits according to the effective waiting time window, it can safely pass through the original conflict point without conflict.

[0141] In some examples, for each generated candidate waiting time window, the waiting point corresponding to that waiting time window is first obtained. The estimated time is calculated based on the path length from the waiting point to the conflict point and the estimated speed of the target vehicle. Then, using the end time of the waiting time window as a baseline, the end time is added to the estimated time to generate the next time window corresponding to the candidate solution. Next, conflict detection is performed between this next time window and all active time windows at the conflict point. The detection method includes: calculating the first difference between the start time of the next time window and the end time of each active time window, and the second difference between the start time of each active time window and the end time of the next time window, and determining whether the absolute value of any difference is less than or equal to a preset conflict time interval. If there is no conflict between the next time window and all active time windows, the candidate waiting time window is determined as a valid waiting time window; if a conflict exists, the candidate waiting time window is discarded.

[0142] Continuing with the previous example of the yellow and green cars, the conflict point is point 3. The green car generates a candidate waiting time window at point 6, with a waiting end time of 10:05:33. First, the estimated time for traveling from point 6 to point 3 is calculated, assumed to be 4 seconds. Then, based on the waiting end time of 10:05:33, the estimated time of 4 seconds is added to generate the next time window for the green car to reach point 3, with a start time of 10:05:33 and an end time of 10:05:37. Subsequently, this next time window is compared with all active time windows at point 3, i.e., the time window occupied by the yellow car at point 3, for conflict detection. The first difference is calculated: 10:05:33 minus 10:05:30, which is 3 seconds, and the absolute value is greater than the preset conflict interval of 2 seconds. The second difference is calculated: 10:05:20 minus 10:05:37, which is -17 seconds, and the absolute value is greater than 2 seconds. Both differences satisfy the conflict-free condition, and the detection result indicates that there is no conflict. Therefore, this candidate waiting time window is confirmed as a valid waiting time window.

[0143] In some implementations, the generation and verification process of the aforementioned effective waiting time window is completed through the ExecuteWaitNext function. This function receives a newly generated time window T that has a conflict. new and reference time window T BaseAs input, the time windows of all non-target vehicles at the conflict point are first filtered from the globally active time window set EffectDataSet to form the FilteredWindows set, ensuring coverage of all occupied time periods requiring avoidance at the conflict point. The formula for calculating FilteredWindows is:

[0144] Subsequently, the function iterates through each time window in `FilteredWindows`, generating corresponding candidate waiting time windows to form a `BufferedWaitWindows` set. The candidate waiting time window's position is the preceding position of the conflict point, the vehicle number is consistent with the new time window, the start time is the same as the start time of the new time window, and the end time is the end time of the corresponding active time window plus a preset buffer time. The calculation formula for `BufferedWaitWindows` is:

[0145] The preset buffer time is used to reserve a safety gap after the preceding vehicle releases the conflict point. In some examples, the typical value can be 500 milliseconds.

[0146] After generating all candidate waiting time windows, the function verifies the validity of each candidate solution: it calls the GetNextTimeWindow function to calculate the next time window T from the waiting point to the conflict point. next The calculation formula for the GetNextTimeWindow function is:

[0147] The cost function is used to calculate the estimated travel time between two points.

[0148] Next, the IsConflict function is called to check T. next If there are no conflicts with any of the time windows in FilteredWindows, then the candidate waiting time window is determined as a valid waiting time window and added to the result set. The final function returns all valid waiting time windows for the A* algorithm to select the optimal solution. The complete formula for calculating the result of the ExecuteWaitNext function is as follows:

[0149] In this way, by performing arrival conflict detection on each candidate waiting time window, it is ensured that each final effective waiting time window can guarantee that the target vehicle can safely and without conflict pass through the conflict point after completing the waiting, thus improving the execution reliability of the generated time window chain.

[0150] Please see Figure 12 In some implementations, step 04 includes: 041: If all conflict time windows have been completed, assign the target vehicle to the next location and control the target vehicle to drive to the next location; 042: If there are unfinished conflict time windows, control the target vehicle to wait until all conflict time windows have been completed before assigning the next location.

[0151] In some implementations, the planning module is used to assign the target vehicle to the next location when all conflict time windows have been completed, and to control the target vehicle to drive to the next location, and to control the target vehicle to wait until all conflict time windows have been completed before assigning the next location when there are uncompleted conflict time windows.

[0152] In some implementations, the processor is used to assign the next location to the target vehicle and control the target vehicle to drive to the next location when all conflict time windows have been completed, and to control the target vehicle to wait until all conflict time windows have been completed before assigning the next location when there are incomplete conflict time windows.

[0153] Specifically, it can be understood that although the time window chain pre-plans the passage sequence of each vehicle during the generation phase, in actual execution, vehicle speeds fluctuate, and temporary obstacles or communication delays may occur. These factors collectively cause a deviation between the actual passage time of other vehicles and the estimated time. If the RCS allocates points according to the estimated absolute time point when generating the time window chain, without simultaneously verifying the actual completion status of dependent events, instructions may be issued before other vehicles have passed the conflict points, causing collisions or deadlocks between the target vehicle and other vehicles in physical space. The implementation method of this application checks the completion status of the conflict time windows associated with the target time window before each attempt to allocate points, using the actual completion of the event as the basis, thus overcoming the execution risk caused by estimation errors.

[0154] "All conflict time windows have been completed" means that all conflict time windows associated with the target time window have actually occurred and ended, and the corresponding completion status is "completed." All other vehicles that should have passed through the conflict point before the target vehicle have safely passed through and released the point resource. This completion status is confirmed by the RCS through the location information and driving status reported in real time by the AGV, rather than simply relying on the estimated end time.

[0155] After confirming that the allocation conditions are met, the RCS issues a scheduling instruction allowing the target vehicle to enter the target location, along with the corresponding path segment information. The RCS then drives the target vehicle from its current location, along the predetermined path to the newly allocated location and occupies that location. In some examples, the RCS can pre-allocate several consecutive locations for the AGV. When the AGV reaches the second-to-last allocated location, the allocation process for the next batch of locations is automatically triggered, avoiding frequent vehicle starts and stops.

[0156] An incomplete conflict time window refers to a conflict time window associated with a target time window where at least one described location occupancy event has not yet been completed, and its completion status is incomplete. This means that other vehicles have not yet passed through and released the conflict location due to reasons such as slower-than-expected speed or being temporarily blocked.

[0157] When the RCS detects an incomplete conflict time window, it will not issue a dispatch instruction to the target vehicle to drive to the next location. Instead, it will keep the target vehicle stationary at its current location or a designated safe waiting point and periodically poll the completion status of the associated conflict time windows until all associated conflict time windows become completed.

[0158] In some examples, when a target vehicle reaches a certain point during path execution and needs the RCS to allocate the next point, the RCS searches for the target time window corresponding to that next point in the target vehicle's time window chain. The RCS then reads the completion status of all conflicting time windows referenced by that target time window. If all referenced conflicting time windows are in a completed state, the RCS allocates the next point to the target vehicle and issues a scheduling command to control the target vehicle to enter that point. If any of the referenced conflicting time windows is in an incomplete state, the RCS does not allocate the point and issues a waiting command to the target vehicle, keeping it stationary at its current position. The RCS repeatedly checks the status of the incomplete conflicting time window at fixed intervals until it detects that the status has changed to completed, then releases the waiting and performs the point allocation and scheduling command issuance operations.

[0159] Continuing with the previous example of the yellow and green cars, when the green car is preparing to move from point 6 to point 3, the conflict time window associated with the target time window of point 3 is the time window in which the yellow car occupies point 3. The RCS first checks the completion status of this conflict time window. If the yellow car has actually passed point 3 and reached point 7, the RCS receives feedback from the yellow car that the point has been released, and the completion status of the conflict time window is "completed." The RCS then allocates point 3 to the green car, controlling the green car to move from point 6 to point 3. If the yellow car has not yet left point 3 due to a slower-than-expected speed, the completion status of the conflict time window is "incomplete." The RCS controls the green car to wait at point 6, periodically polling the completion status of the yellow car's conflict time window at point 3 until the yellow car leaves and the status changes to "completed." The RCS then allocates point 3 to the green car again.

[0160] Please refer to it again. Figure 3 The aforementioned time window completion status update and event triggering mechanism is implemented through the Finish() member method of the Timewindow class. When the target AGV completes its journey at a certain point and reports its location information to the RCS, the RCS automatically calls the Finish() method of the time window corresponding to that point. This method performs the following operations: First, it atomically sets the IsFinish property of the current time window to true to ensure the consistency of the status update; second, it iterates through all time windows in the global TimewindowDict, finds all other time windows that use the current time window as a ConflictTimewindow, and immediately triggers the next point allocation check process for the AGVs corresponding to these time windows. Through this event-driven mechanism, the automatic transmission and dynamic scheduling of multi-workshop dependencies are realized without the need for global periodic polling, reducing the computational load and improving the real-time performance of scheduling response.

[0161] In this way, point allocation is carried out based on the actual completion status of the conflict time window, and multi-vehicle scheduling is dynamically carried out based on the event triggering mechanism. This overcomes the execution risk caused by the deviation between the estimated time and the actual time, and avoids collisions or deadlocks of multiple vehicles in physical space.

[0162] Please see Figure 13 The path planning method of this application's implementation method is described below using a complete process: First, in response to the path planning request of the target AGV, RCS calls the improved time window allocation algorithm to calculate the route and generate a global conflict-free time window chain containing necessary waiting actions. This time window chain records the expected time period occupied by the target AGV at each point on the path and its conflict dependency with other vehicles, providing an execution basis for subsequent dynamic scheduling.

[0163] When the target AGV needs to acquire the right to use the next point it is about to enter during the path execution process, RCS starts the process of attempting to allocate point resources, preparing to allocate the next point to the target AGV.

[0164] RCS first detects the future time window chain of the target AGV, finds the target time window corresponding to the next point to be assigned from the pre-generated time window chain, and checks whether the target time window is associated with a preceding conflict time window, that is, the time window that has been activated for other vehicles at the same point.

[0165] If a preceding time window is detected, RCS further checks the actual completion status of that time window to confirm whether other vehicles have actually left and released the resource at that location. If the preceding time window has not yet been completed, it means that the conflicting location is still occupied by other vehicles, and RCS will not allocate the location temporarily. The process returns to the step of attempting to allocate the resource, waiting for the next periodic polling check. If all preceding time windows have been completed, it means that all conflict dependencies have been resolved, and RCS performs the location allocation operation.

[0166] If no preceding time window is detected, it means that the target time window has no conflicting dependencies, and RCS will directly perform the point allocation operation.

[0167] After the RCS completes the point allocation, it confirms that the point resource is available and issues a scheduling instruction to the target AGV to allow it to enter the point. After receiving the instruction, the target AGV executes the walking action, travels along the planned path to the newly allocated point, and reports its location information to the RCS upon arrival. The RCS then updates the completion status of the corresponding time window to "completed".

[0168] After the target AGV completes its journey to the current location, the RCS determines whether it has reached the task's destination. If it has not yet reached the destination, the process returns to the step of attempting to allocate point resources, continuing to allocate the next location to the target AGV, and repeating the above scheduling process. If it has reached the destination, it means that the target AGV has completed all transportation tasks, and the entire path planning and execution process ends.

[0169] This application also provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the method described above.

[0170] This application also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the method described above.

[0171] It is understood that a computer program includes computer program code. Computer program code can be in the form of source code, object code, executable files, or some intermediate form. Computer-readable storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution media, etc.

[0172] In this specification, the terms "specifically," "furthermore," "particularly," "understandably," etc., refer to specific features, structures, materials, or characteristics described in connection with embodiments or examples that are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0173] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of executable request code comprising one or more steps for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order according to the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0174] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A path planning method, characterized in that, include: In response to a path planning request for a target vehicle, a time window chain for the target vehicle is generated. The time window chain includes multiple time windows, each time window corresponding to a point in the path and the time period occupied by the point. When assigning the next location to the target vehicle, the target time window corresponding to the next location is determined from the time window chain; Check the completion status of conflicting time windows associated with the target time window; Based on the completion status of the conflict time window, the target vehicle is assigned the next location to complete the path planning.

2. The path planning method according to claim 1, characterized in that, The step of generating a time window chain for the target vehicle in response to a path planning request includes: Obtain the planned path for the target vehicle; Calculate the time window corresponding to each point based on the order of the points in the planned path; Check whether the new time window at the current location conflicts with the time windows of other vehicles that are already in effect; A time window chain for the target vehicle is generated based on the detection results.

3. The path planning method according to claim 2, characterized in that, The detection of whether the new time window for the current location conflicts with the time windows of other vehicles that are already in effect includes: Obtain the start and end times of the new time window, as well as the start and end times of the existing reference time window at the same location; Calculate a first difference between the start time of the newborn time window and the end time of the reference time window, and a second difference between the start time of the reference time window and the end time of the newborn time window; If the absolute value of the first difference or the second difference is less than or equal to the preset conflict time interval, a conflict is confirmed.

4. The path planning method according to claim 2, characterized in that, The step of generating the time window chain of the target vehicle based on the detection results includes: In the event of a conflict, a valid waiting time window is generated and inserted into the time window chain to form a conflict-free time window chain; or In the absence of conflicts, the newly generated time window is identified as a valid time window point and added to the time window chain to form a conflict-free time window chain.

5. The path planning method according to claim 4, characterized in that, In the event of a conflict, generating a valid waiting time window and inserting it into the time window chain to form a conflict-free time window chain includes: Get all active time windows corresponding to the conflict points; Based on the end time of each effective time window, the corresponding waiting end time is calculated, wherein the waiting end time is the sum of the end time of the effective time window and the preset buffer time. Based on the waiting end time, a waiting time window is generated, wherein the start time of the waiting time window is the start time of the new generation time window, and the end time of the waiting time window is the waiting end time.

6. The path planning method according to claim 5, characterized in that, In the event of a conflict, generating a valid waiting time window and inserting it into the time window chain to form a conflict-free time window chain further includes: Calculate the estimated time taken to reach the conflict point from the point corresponding to the waiting time window; The next time window is generated based on the end time of the waiting time window and the estimated time. Detect whether the next time window conflicts with any of the existing time windows; The waiting time window corresponding to the next time window that does not conflict is determined as the valid waiting time window.

7. The path planning method according to any one of claims 1-6, characterized in that, The step of allocating the target vehicle to the next location based on the completion status of the conflict time window to complete the path planning includes: Once all conflict time windows have been completed, the target vehicle is assigned the next location, and the target vehicle is controlled to travel to the next location. If there are unfinished conflict time windows, the target vehicle is controlled to wait until all conflict time windows have been completed before the next location is assigned.

8. An electronic device, characterized in that, The method includes a memory and a processor, wherein the memory stores a computer program, which, when executed by the processor, implements the method according to any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by one or more processors, implements the method of any one of claims 1-7.

10. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method described in any one of claims 1-7.