Intelligent logistics robot scheduling system and method
By combining a scheduling decision engine and a digital twin platform, and by determining dynamic costs based on historical congestion events, a millisecond-level closed loop of perception-decision-execution is achieved in the logistics robot system. This solves the problems of limited field of view and insufficient self-learning ability, and improves the system's response speed and efficiency.
Patent Information
- Application Number
- CN202611364807.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-27
AI Technical Summary
Existing logistics robot scheduling systems rely on their own sensors for obstacle avoidance, which has a limited field of vision. When encountering congestion, they often stop and wait or rely on central recalculation, resulting in slow response and easy system deadlock. They also lack self-learning ability, leading to a decrease in efficiency rather than an increase in efficiency after long-term operation.
By employing a scheduling decision engine combined with a digital twin platform, and using path planning algorithms to determine dynamic costs based on historical congestion events, a millisecond-level closed loop of perception-decision-execution is achieved. The visual perception agent uses real-time video monitoring for path replanning, forming a self-learning and evolutionary capability.
It improves the response speed and efficiency of logistics robots in dynamic environments, achieves adaptive scheduling, reduces system deadlock, and enhances resource utilization and learning capabilities.
Smart Images

Figure CN123180484A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of medical Internet of Things, and in particular to an intelligent logistics robot scheduling system and method. Background Technology
[0002] Most existing logistics robot scheduling systems adopt centralized control or simple distributed scheduling, which have the following drawbacks: Robots rely on their own sensors for obstacle avoidance, which has a limited field of vision. When encountering congestion, they often stop and wait or rely on central recalculation, resulting in slow response and a high risk of system deadlock. Historical task data is only used for offline report analysis and does not form a closed-loop feedback to optimize scheduling strategies. The system cannot continuously learn from experience, leading to a decrease in efficiency after long-term operation. Summary of the Invention
[0003] This application provides an intelligent logistics robot scheduling system and method in several aspects.
[0004] This application provides an intelligent logistics robot scheduling system, including: a scheduling decision engine, used to receive tasks to be executed and send the tasks to be executed to a robot management agent; for the delivery location of the tasks to be executed, determining a basic path according to a path planning algorithm, determining whether there are historical congestion events according to the current time from a digital twin platform, determining the dynamic cost of the road segment according to the existing historical congestion events, determining the final path according to the dynamic cost of the road segment, the basic cost of the road segment, and the feedback results of the simulation and deduction of the digital twin platform, and sending the final path to the robot management agent; and a robot management agent, used to receive the tasks to be executed and the final path, and send the tasks to be executed and the final path to the corresponding physical robot agent; and a digital twin platform. The system includes a data twin platform for determining whether historical congestion events exist based on the basic path and the current time. If a historical congestion event exists, the system returns to the scheduling decision engine. It constructs a 3D simulation map model corresponding to the surveillance video, performs simulations based on the final path and the 3D simulation map model, and sends the simulation results to the scheduling decision engine. A physical robot agent executes the task based on the received task and the final path. The digital twin platform acquires task data after task execution, determines the actual execution time and predicted execution time based on the task data, determines the task analysis results, and updates the influence factors of the corresponding road segment based on the task analysis results and the historical congestion events. These influence factors affect the dynamic cost of the road segment.
[0005] This application provides an intelligent logistics robot scheduling method, comprising: a scheduling decision engine receiving a task to be executed and sending the task to be executed to a robot management agent; determining a basic path for the delivery location of the task to be executed based on a path planning algorithm, determining whether there are historical congestion events based on the current time and determining the dynamic cost of the road segment based on the existing historical congestion events, determining the final path based on the dynamic cost of the road segment, the basic cost of the road segment, and the feedback result of the simulation simulation of the digital twin platform, and sending the final path to the robot management agent; the robot management agent receiving the task to be executed and the final path, and sending the task to be executed and the final path to the corresponding physical robot agent; digital The digital twin platform determines whether historical congestion events exist based on the basic path and the current time. If historical congestion events exist, it returns to the scheduling decision engine. It constructs a 3D simulation map model corresponding to the surveillance video, performs simulation based on the final path and the 3D simulation map model, and sends the simulation results to the scheduling decision engine. The physical robot agent executes the task based on the received task to be executed and the final path. After the task execution is completed, the digital twin platform acquires task data, determines the actual execution time and predicted execution time based on the task data, determines the task analysis results, and updates the influence factors of the corresponding road segment based on the task analysis results and the historical congestion events. These influence factors affect the dynamic cost of the road segment.
[0006] In the technical solution disclosed herein, a scheduling decision engine is used to receive tasks to be executed and to distribute the tasks to be executed to the robot management agent; for the delivery location of the tasks to be executed, a basic path is determined according to a path planning algorithm; based on the current time, it is determined whether there are historical congestion events from the digital twin platform, and the dynamic cost of the road segment is determined based on the existing historical congestion events; based on the dynamic cost of the road segment, the basic cost of the road segment, and the feedback results of the simulation and deduction by the digital twin platform, the final path is determined, and the final path is sent to the robot management agent; the robot management agent is used to receive the tasks to be executed and the final path, and to distribute the tasks to be executed and the final path to the corresponding physical robot agent; the digital twin platform is used to, according to The basic path and current time determine whether historical congestion events exist. If historical congestion events exist, the process returns to the scheduling decision engine. A 3D simulation map model corresponding to the surveillance video is constructed. Simulations are performed based on the final path and the 3D simulation map model, and the simulation results are sent to the scheduling decision engine. A physical robot agent is used to execute tasks based on the received tasks to be executed and the final path. The digital twin platform is used to acquire task data after task execution, determine the actual execution time and predicted execution time based on the task data, determine the task analysis results, and update the influence factors of the corresponding road segments based on the task analysis results and the historical congestion events. The influence factors affect the dynamic cost of the road segments.
[0007] The scheduling decision engine determines the basic path for the delivery location of the task to be executed based on the path planning algorithm. It then checks the digital twin platform for historical congestion events based on the current time, determines the dynamic cost of the road segment based on these events, and finally determines the final path based on the dynamic cost, basic cost, and feedback from the digital twin platform's simulation. By combining static and dynamic costs through historical congestion events, it ensures the physical feasibility of the path while mitigating potential congestion using historical experience, overcoming the limitations of single-method approaches. Simultaneously, the digital twin platform acquires task data after task execution, determines the actual and predicted execution times based on this data, and analyzes the task results. It updates the impact shadow of the corresponding road segment based on the task analysis results and historical congestion events, with the impact factors affecting the dynamic cost of the road segment. This enables automatic evaluation of execution deviations, triggering updates to the impact factors of road segments, forming a continuous cycle of execution, reflection, learning, and evolution, giving the system long-term learning capabilities. Attached Figure Description
[0008] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a schematic diagram of the architecture of an exemplary intelligent logistics robot scheduling system of this application; Figure 2 This is a flowchart illustrating an exemplary embodiment of the intelligent logistics robot scheduling method of this application. Detailed Implementation
[0009] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0010] In established hospitals, especially in many older campuses, building structures are fixed, departmental spaces are cramped, corridors are narrow with huge traffic flow, and elevator resources are extremely congested. For many older hospitals that cannot be renovated or have difficult-to-wire systems, heavy-duty automation solutions are simply not feasible. Furthermore, conventional mobile robots relying on related technologies often depend on static maps and preset rules, lacking deep understanding and adaptive capabilities to narrow, dynamically changing environments, making them prone to congestion or deadlocks in complex human-robot mixed environments. Delivery demands are heterogeneous and complex, making it difficult for a single model to address the supply shortage.
[0011] Most existing logistics robot scheduling systems adopt centralized control or simple distributed scheduling, which have the following drawbacks: Robots rely on their own sensors to avoid obstacles, but their field of vision is limited. When encountering congestion, they often stop and wait or rely on central recalculation, resulting in slow response and a high risk of system deadlock, which leads to lag in the system's perception and decision-making.
[0012] The execution of many one-way tasks results in a high rate of empty return trips and low resource utilization, leading to a monotonous execution process.
[0013] Historical task data is only used for offline report analysis and does not form a closed-loop feedback to optimize scheduling strategies. The system cannot continuously learn from experience, resulting in a decrease in efficiency after long-term operation, and the system lacks self-evolution capabilities.
[0014] Even if the system can record some logs, it lacks structured management and lifecycle mechanisms, making it impossible to effectively accumulate and reuse successful and failed cases, resulting in fragmented experience and knowledge.
[0015] With the development of artificial intelligence and digital twin technology, there is an urgent need for a system that can achieve millisecond-level closed loop of perception-decision-execution, bidirectional task collaboration, and self-learning and evolution capabilities.
[0016] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0017] Figure 1 This is a schematic diagram illustrating the architecture of an intelligent logistics robot scheduling system, as an exemplary embodiment of this application. The system 100 provided in this embodiment includes a scheduling decision engine, a robot management agent, a digital twin platform, and a physical robot agent. Furthermore, the system 100 also includes a visual perception agent. An agent refers to an entity capable of perceiving its environment, making autonomous decisions, and executing actions to achieve a goal, including both software and physical entities. The robot management agent and the visual perception agent can be deployed on a server-side platform, such as a server, service cluster, or cloud platform. The physical robot agent refers to a robot entity, such as a logistics vehicle, used to perform tasks, such as delivery and pickup tasks. The scheduling decision engine and the digital twin platform can be deployed on a server-side platform, such as a server, service cluster, or cloud platform. The system 100 is deployed in hospital or warehouse settings.
[0018] Specifically, the scheduling decision engine receives tasks to be executed and distributes them to the robot management agent. For the delivery location of the tasks to be executed, it determines the basic path based on the path planning algorithm, checks the digital twin platform for the existence of historical congestion events based on the current time, determines the dynamic cost of the road segment based on the existing historical congestion events, determines the final path based on the dynamic cost of the road segment, the basic cost of the road segment, and the feedback results of the simulation and deduction of the digital twin platform, and sends the final path to the robot management agent.
[0019] The robot management agent is used to receive the tasks to be executed and the final path, and to send the tasks to be executed and the final path to the corresponding physical robot agents.
[0020] The digital twin platform is used to determine whether there are historical congestion events based on the basic path and the current time. If there are historical congestion events, the information is returned to the scheduling decision engine. A three-dimensional simulation map model corresponding to the monitoring video is constructed, and simulations are performed based on the final path and the three-dimensional simulation map model. The simulation results are then sent to the scheduling decision engine.
[0021] A physical robot agent is used to execute tasks based on the received tasks to be executed and the final path.
[0022] The digital twin platform is used to acquire task data after task execution, determine the actual execution time and predicted execution time based on the task data, define the task analysis results, and update the impact factors of corresponding road segments based on the task analysis results and historical congestion events. These impact factors affect the dynamic cost of the road segments.
[0023] In addition, system 100 also includes: a visual perception agent, used to acquire surveillance video, identify targets in the surveillance video, determine whether an abnormal event has occurred on the final path based on the identified targets, and when an abnormal event occurs, send the abnormal event to the scheduling decision engine. An abnormal event refers to an event that affects the execution of tasks by the physical robot agent. The scheduling decision engine includes a replanning trigger. The replanning trigger is used to receive the abnormal event sent by the visual perception agent. When the abnormal event affects the passage of the final path, it determines a detour path based on the abnormal event, the basic cost of the road segment, the dynamic cost of the road segment, and the feedback results of the simulation and deduction of the digital twin platform, and sends the detour path to the robot management agent so that the corresponding physical robot agent can execute the task to be executed according to the detour path.
[0024] This embodiment aims to provide a technical implementation method to achieve efficient, flexible, and adaptive operation of the logistics system.
[0025] The above content will be explained in detail below.
[0026] The scheduling decision engine receives tasks to be executed and distributes them to the robot management agent. For the delivery location of the tasks to be executed, it determines the basic path according to the path planning algorithm, checks the digital twin platform for the existence of historical congestion events based on the current time, determines the dynamic cost of the road segment based on the existing historical congestion events, determines the final path based on the dynamic cost of the road segment, the basic cost of the road segment, and the feedback results of the simulation and deduction of the digital twin platform, and sends the final path to the robot management agent.
[0027] The scheduling decision engine is responsible for the overall coordination and scheduling of the system, serving as its core. Specifically, it handles global task allocation, path planning, and dynamic path replanning, integrating real-time perceived events and historical experience to make optimal decisions. It can be deployed on a cloud server or a local high-performance server, and then transmits the decisions to the corresponding robot body via the communication network for task execution.
[0028] It can be used to acquire tasks from the task manager, receive events from the visual perception agent, and access historical experiences from the self-evolving experience base. Simultaneously, it outputs path and task instructions to the robot management agent and interacts bidirectionally with the digital twin platform to acquire simulation environments and push new experiences.
[0029] The scheduling decision engine may include a task manager, a path planner, a two-stream knowledge collaboration module, a bidirectional task splicer, a replanning trigger, and a simulation and inference module.
[0030] The task manager receives logistics tasks from upper-level or upstream systems, such as a hospital HIS (Hospital Information System) or a warehouse WMS (Warehouse Management System), and allocates tasks based on robot status information, such as location, battery level, and current task. Preferably, the Hungarian algorithm can be used to achieve task balancing among multiple robots or multiple physical robot agents.
[0031] Among them, path planning algorithms include Dijkstra's or Algorithms, and Algorithms, etc. Multiple basic paths are determined based on the algorithm and the start and end locations in the delivery location data to complete the task. It should be understood that each basic path consists of multiple different road segments. Based on these segments, it is determined whether each segment has historical congestion or blockage events.
[0032] Historical congestion events or historical blockage events refer to events that cause robot movement to be obstructed in a road segment for a duration exceeding a preset time. Whether there is a blockage or congestion can be determined based on the robot's status information, such as if the robot remains in the same location or within the same preset range for an extended period. Based on this, monitoring video is accessed to view the video stream at the corresponding location or range to determine the specific circumstances of the congestion event, thereby identifying the time, location, cause, and type of the historical congestion event, and recording it, either through log entries or stored records.
[0033] If historical congestion events exist, the total cost of the road segment is adjusted and increased through dynamic costing. Then, based on the segment's baseline cost, the overall cost is determined, and the path with the lowest possible cost is identified. Simultaneously, simulations are performed using a digital twin platform; once the simulation is successful, execution can proceed.
[0034] Specifically, the scheduling decision engine includes a route planner, or route planning module, which comprises a static planner and a dynamic planner. The route planning module or route planner is specifically used to determine at least one basic route based on the static planner, delivery location, and road segment physical constraints. It is also used to determine the basic cost of road segments and the basic cost of the basic route based on the road segment physical constraints within the basic route.
[0035] Among them, the static planner corresponds to the static path planning algorithm, such as Dijkstra's algorithm or... Algorithm. The dynamic planner corresponds to the dynamic path planning algorithm, such as... algorithm.
[0036] Road segment physical constraints refer to physical factors that restrict passage on a road segment, such as one-way streets, no-entry zones, no-turn zones, stairs, etc.
[0037] As can be seen from the preceding text, through Dijkstra or The algorithm determines multiple basic paths based on the start and end locations. Each basic path can include multiple road segments, each with corresponding physical constraints, and the basic cost of that segment is determined based on these constraints. It should be understood that road segments with physical constraints have a higher cost than road segments with equivalent conditions; the algorithm will prioritize selecting equivalent road segments without physical constraints and discard those with constraints. Therefore, the path planning module is also used to determine multiple basic paths based on the static planner, delivery location, and road segment physical constraints.
[0038] Furthermore, the basic cost of a road segment can be determined by factors such as physical constraints, segment length, travel time, speed limits, and energy consumption, and can be calculated using a weighted summation method. The basic cost of the basic path is then determined by summing the basic costs of each road segment.
[0039] For example, during planning, the dual-flow knowledge collaboration module can be invoked. The dual-flow knowledge collaboration module is connected to the self-evolving experience library in the digital twin platform to implement the execution flow of the static rule base. That is, as mentioned above, the basic path is planned based on the basic path planning algorithm and physical constraints. That is, the basic path is planned based on physical constraints through the static planner, which will not be elaborated further.
[0040] For dynamic programming, the path planning module or path planner is specifically used to determine the existing historical congestion events to the digital twin platform based on the current time; determine the impact factor of each road segment based on the number of historical congestion events that have actually occurred on each road segment; determine the dynamic cost of the corresponding road segment based on the impact factor and the sub-basic cost of passing through the corresponding road segment; determine candidate paths based on the dynamic planner, the basic cost of the road segment, and the dynamic cost of the road segment; and determine the final path based on the feedback results of the simulation and deduction of the candidate paths on the digital twin platform.
[0041] The number of historical congestion events refers to the total number of historical congestion events that have occurred on this road segment. These historical congestion events can be the same as the historical congestion events matched above, or they can be different historical congestion events. The sub-basic cost of a road segment refers to the preset basic cost of the road segment, i.e., the inherent and physical passage cost. It can be a preset fixed value determined based on a single road segment factor, such as a preset value determined based on the road segment length. Road segments of the same length will have the same value, and this value can be determined through other factors. However, this value is simpler to calculate than the basic cost mentioned above. Values for different lengths can be determined through normalization.
[0042] The impact factor of a road segment refers to the floating cost of the corresponding road segment caused by historical congestion events. This factor can be determined by the total number of historical congestion events. The dynamic cost of the road segment is obtained by summing the two sub-costs mentioned above.
[0043] The impact factor refers to the dynamic penalty coefficient.
[0044] As mentioned above, the route planning module sends a query request to the digital twin platform to retrieve historical congestion events. This request can include the current time. Upon receiving the request, the digital twin platform determines whether a corresponding historical congestion event exists based on the current time and stored historical congestion event association records. If a historical congestion event exists, it returns that event. The route planning module, upon receiving the aforementioned event, then... The algorithm, the basic cost of the road segment, and the dynamic cost of the road segment are used to plan at least one candidate path. If there are multiple candidate paths, the path costs of the multiple candidate paths should meet preset conditions, such as the cost being within a preset range. The final path is determined based on the feedback results of the simulation and deduction on the digital twin platform, for example, selecting the path with the lowest cost that passes the simulation as the final path.
[0045] It should be noted that after retrieving historical congestion events, the road segment where the event occurred can be identified. Based on the road segment identifier, the dynamic cost of that path can be increased using the methods described above. Other road segments do not require dynamic cost increases. It should be understood that it is also possible to determine the road segment identifier where the event occurred without knowing it. In the case of an uncertain identifier, the corresponding impact factor can be determined using the number of identical events as described above, or the corresponding impact factor can be determined directly using all historical congestion events for that road segment.
[0046] The route planning module is specifically used to: determine the total cost of at least one candidate route based on the dynamic planner, delivery location, basic cost of the road segment, and dynamic cost of the corresponding road segment; and select candidate routes whose total cost meets preset conditions from at least one candidate route based on the dynamic planner.
[0047] It should be noted that, to more accurately identify historical congestion events and their corresponding dynamic costs, the query request can also include the current time and the specific event corresponding to that time. Special events refer to events that affect traffic flow on the corresponding road segment, such as event activities or patient examination events in departments, such as the event at 9 AM when the laboratory is experiencing peak patient examination times. After receiving this request, the digital twin platform determines whether a corresponding historical congestion event exists based on the current time, the corresponding specific event, and stored historical congestion event association records. This will not be elaborated further. In addition to special events, parameters such as season and weather can also be used to query historical congestion events. For example, historical congestion events increase in winter, and also increase in hot and cold weather, thus increasing the probability of returning historical congestion events.
[0048] For example, as mentioned above, the planning process can call the dual-flow knowledge collaboration module, which connects to the self-evolving experience base in the digital twin platform. This module is used to implement the execution flow of the dynamic experience base, retrieve historical blocking cases (i.e., historical congestion events) that match the current context, such as time and special events, calculate the dynamic penalty coefficient for each road segment, and determine the dynamic cost.
[0049] For example, as mentioned above, the path planning module first generates a basic path using a static planner, then retrieves a dynamic experience base. If a historical blockage record exists, the cost of that road segment is increased, the path is replanned using a dynamic planner, and the corresponding total cost is generated. The path with the lowest cost is then selected.
[0050] Total cost of the above road sections Determined by the following formula:
[0051] in, Let $e$ be the base cost of road segment $e$. The base cost of candidate paths is formed by the base costs of road segments. In other words, the base cost of a path is determined by the sum of the base costs of each road segment, which is the static cost. Let be the dynamic cost of road segment e. The dynamic cost of candidate paths is formed by the dynamic costs of road segments, that is, the dynamic low price of a path is determined by the sum of the dynamic costs of each road segment. α and β are the dynamic weighting coefficients, respectively.
[0052] Dynamic cost of the above road sections Determined by the following formula:
[0053] in, Let λ(e) be the sub-basic cost of the corresponding road segment, and let λ(e) be the dynamic penalty coefficient of the corresponding road segment. For each road segment e, query its currently effective dynamic penalty factor λ(e). This factor is a dimensionless multiplier factor with a default value of 1.0. A value greater than 1 indicates a penalty, and a value less than 1 indicates a reward, reflecting the degree of influence of historical experience on the traffic efficiency of the road segment.
[0054] Alternatively, it can be determined using the following formula:
[0055] in, For the sub-basic cost of the corresponding road segment e, This represents the probability of historical traffic congestion events occurring. The average delay factor is t0, where t0 is the current initial time. The planned future timeframe is preset, where n refers to the number of historical congestion events. For the sub-dynamic cost of the road segment; as well as It is positively correlated with or proportional to the dynamic penalty coefficient, for example, the ratio is 1.
[0056] The probability of a historical congestion event occurring is determined by the number of such events; the more numerous and recent the events, the higher the probability. This can be determined by the number of events and their corresponding times, and the duration can also be factored in. It can be determined through a weighted summation or as described below. It's important to note that this probability is positively correlated with the weights of the road segments mentioned earlier; a higher weight corresponds to a higher probability. These weights can also be determined by the number of historical congestion events and their corresponding times.
[0057] In addition, the path planning module is also used to: compare the total cost of the candidate path with the total cost of the basic path, and determine the path with the smaller total cost as the candidate path for simulation and deduction. The total cost of the basic path is determined by the basic cost.
[0058] As mentioned above, after determining at least one candidate path through dynamic programming, or after selecting a candidate path that meets the conditions, the total cost can be compared with the total cost of the aforementioned basic path to determine the path with the smaller total cost as the final simulation path. The total cost of the basic path refers to the dynamic cost without historical congestion event predictions; therefore, it is the basic cost, i.e., the static cost. Excluding the aforementioned dynamic cost will not be discussed further.
[0059] In the above embodiments, the path planner simultaneously accesses dynamic experience from both a static rule base and a self-evolving experience base. By retrieving and generating dynamic costs, it achieves a fusion of global optimization and local experience in planning, resulting in strong planning robustness. Thus, it generates the optimal path by combining static rules and dynamic experience bases. This solves the problems in related technologies where the planner cannot adapt to dynamic changes and relies entirely on static maps, or where relying entirely on historical data may lead to overfitting or a lack of generalization ability. Related technologies lack a mechanism for effectively integrating these two approaches.
[0060] Based on this, the scheduling decision engine can store the total cost of each road segment according to the updated total cost in each segment as described above, such as by maintaining a global cost map in its memory. It should be understood that when a road segment does not have a dynamic cost, its total cost can be obtained using the static cost. Simultaneously, a global cost map can be generated using the 3D simulation map model maintained in the digital twin platform and the corresponding total cost of the road segment.
[0061] Specifically, the scheduling decision engine is also used to: when there are no historical congestion events, determine the total cost of the basic path based on the basic cost of the road segments in the basic path, and determine the final path based on the total cost and the feedback results of the simulation and deduction by the digital twin platform.
[0062] As mentioned earlier, when there is no corresponding historical congestion event, the dynamic cost of the corresponding road segment can be directly set to 0, meaning the execution flow of the dynamic experience base is not used. The execution flow of the static rule base is used directly; further details will not be elaborated upon.
[0063] In addition, the system 100 also includes a visual perception agent for acquiring surveillance video, identifying targets in the video, and determining whether any abnormal events have occurred on the final path based on the identified targets. If an abnormal event occurs, it is sent to the scheduling decision engine. The scheduling decision engine includes a replanning trigger; the replanning trigger receives abnormal events sent by the visual perception agent. When an abnormal event affects the passage of the final path, it determines a detour path based on the abnormal event, the basic cost of the road segment, the dynamic cost of the road segment, and the feedback results of the simulation from the digital twin platform. This detour path is then sent to the robot management agent, enabling the corresponding physical robot agent to execute the task to be performed according to the detour path.
[0064] The visual perception agent, deployed as a visual analysis unit on an edge or central server, processes surveillance video streams in real time, detects dynamic changes in the environment, and generates perception events. It inputs the surveillance video stream and a static digital twin map from the digital twin platform, and outputs the perception events to the scheduling decision engine.
[0065] Video is captured using video acquisition devices, such as cameras. For example, multiple cameras can be deployed in a hospital environment, including high-definition cameras at corridor intersections and elevator lobbies. Each camera can communicate with a visual perception agent to transmit data.
[0066] The visual perception intelligent agent includes a video stream access module, a target detection model, a path occupancy analysis module, a congestion warning module, and an event publishing module.
[0067] The video stream access module supports RTSP or ONVIF protocol access to multiple surveillance cameras to perform video frame decoding and preprocessing, such as video frame scaling and normalization.
[0068] The visual perception agent runs an object detection model to identify targets in surveillance videos and outputs the category and coordinates of obstacles or targets in real time. This object detection model can include YOLO or other models.
[0069] For example, a mature open-set detection model, such as YOLO-E or a similar open-set detection model like YOLO-World, can be used as the core vision engine. This model overcomes the limitations of traditional closed-set detection, supporting real-time definition of the detection category via text prompts, without requiring retraining the model for new categories. This embodiment can directly call pre-trained YOLO-E model weights, and its standard architecture includes the following core components: The image encoder, or backbone, employs an efficient CSPDarknet or similar backbone network to extract the aforementioned multi-scale visual feature maps from the input surveillance video frames. These maps are responsible for capturing texture, shape, and spatial structure information within the image. Specifically, the original surveillance video frames are downsampled and convolutionally processed by the encoder to output a multi-scale visual feature pyramid.
[0070] The text encoder, integrating a pre-trained language model such as CLIP Text Encoder, encodes the user-defined dynamic prompt library into high-dimensional text feature vectors. Specifically, the encoder segments and embeds the dynamic prompt word list from the library to generate a sequence of text feature vectors.
[0071] The reparameterized fusion module RepVL-PAN or Feature Fusion performs cross-modal interaction between the aforementioned visual features and textual features, for example, through attention mechanisms or dot product operations, to calculate a similarity heatmap between visual regions and textual descriptions. Specifically, the visual feature map and textual feature vectors are fused across modally to generate an enhanced feature map containing semantic information.
[0072] The decoupled detection head, based on the fused features described above, outputs in parallel the bounding box regression coordinates and the class confidence score for the item category. Since the category is dynamically determined by the text prompt, the detection head no longer outputs a fixed softmax classification probability, but instead outputs a similarity score matching the prompt word. Specifically, the enhanced feature map is decoupled through convolutional layers to obtain the output coordinates and confidence score (x, y, w, h, score), and non-maximum suppression is used to obtain the final detection result.
[0073] Furthermore, this embodiment pre-constructs a text-based dynamic cue library, PromptLibrary, containing frequently used dynamic objects in the hospital, such as: ["temporary trolley", "scattered medical record folder", "attendant chair", "isolation block", "unknown package", etc.]. Therefore, there is no need to collect a large amount of labeled data to train a new model; simply updating the text list is sufficient for the model to learn to recognize new objects.
[0074] As mentioned earlier, real-time monitoring video frames and the currently active text-based dynamic cue library are input into the aforementioned architecture. The video frames are fed into the image encoder, and the corresponding cue words from the dynamic cue library are input into the text encoder. The model automatically calculates the matching degree between the image regions and the cue words and directly outputs obstacle bounding boxes with category labels, which are derived from the dynamic cue library and confidence scores.
[0075] In addition, the object type includes unknown categories. This embodiment can identify unknown obstacles that exist in the dynamic prompt library mentioned above. Based on the above content, unrecognizable objects can be output as unknown categories.
[0076] An abnormal event refers to an event that affects the execution of a physical robot agent's task, such as a key point being occupied or a one-way street being blocked. A key point refers to a critical passage node, such as an exit or entrance, which could be an elevator entrance, a target delivery point, etc. Key points are preset.
[0077] The specific detection and transmission of abnormal events are as follows: The visual perception intelligent agent is specifically used to: use a target detection model in real time to identify the category and coordinates of targets in the surveillance video; match the category and coordinates of the targets with the static map in the digital twin platform to determine whether the preset key passage nodes on the final path are occupied by obstacles within a preset time. If they are occupied within the preset time, an occupancy event is detected; count the flow of people and / or robots passing through a preset area per unit time. When the flow exceeds a threshold, a congestion event is generated; and package the detected occupancy events and / or congestion events into standardized messages and send them to the scheduling decision engine as abnormal events.
[0078] As mentioned above, after identifying the category and coordinates of the target (e.g., robots, pedestrians, obstacles, shelves, etc. in the video footage), the bounding box coordinates and category are output. The path occupancy analysis module is used to map the identified targets to their corresponding coordinates based on the 3D simulation map model provided by the digital twin platform, and determine whether they occupy key points in the map or corresponding road segments, for example, within a preset range of the key points. If occupied, the time the corresponding target appears in the video is determined through real-time detection, i.e., the occupancy time of the obstacle. When the occupancy time exceeds a threshold or a preset time, it is determined as an occupancy event. Simultaneously, the number of people and / or robots detected by the model can be used to determine the pedestrian and / or robot traffic flow in the road segment or within a preset range or area. This can be achieved by dividing the number by the area or region, or by directly using the number as the traffic flow. When the traffic flow in the area or region exceeds a threshold, a congestion event is generated. The detected occupancy and / or congestion events are packaged into standardized messages and published as abnormal events to the scheduling decision engine.
[0079] It should be noted that when people and robots are detected simultaneously in the corresponding road segment, their respective traffic flow can be counted separately and it can be determined whether an abnormal event has been caused according to the method described above. Alternatively, people and vehicle traffic flow can be treated as a whole to determine the overall traffic flow within a preset range or area. Whether the preset traffic flow or traffic threshold is exceeded will not be elaborated further.
[0080] For example, the path occupancy analysis module aligns detection results with a static map in the digital twin platform to determine whether key nodes on the original path, such as the target delivery point or elevator entrance, are occupied by obstacles for extended periods, such as exceeding 3 seconds. It also incorporates multi-camera fusion to eliminate obstructions and blind spots. The congestion warning module counts pedestrian and / or vehicle traffic through a specific area within a unit of time, generating a congestion warning event when the traffic exceeds a threshold. The event publishing module packages detected occupancy and / or congestion events into standardized messages, such as event ID, location coordinates, target type, target confidence level, and timestamp, and publishes them to the scheduling decision engine via Kafka or Redis.
[0081] The replanning trigger listens for events published by the visual perception agent and determines whether the event occurs in a segment of the final path. If it occurs in the corresponding segment, the event affects the currently executing path, and replanning is immediately triggered. The path planner is invoked to generate a detour path as described above, and this path is directly sent to the affected robot via the communication component. It should be understood that the detour path implementation is the same as described above, so it will not be repeated. Only it should be noted that the starting position of the detour path can be the current robot position or a position within a preset future time. This preset future time refers to the time when the detour path is generated, which is also the preset future time when the robot will travel according to the original final path. The path is replanned based on this intermediate starting position or the new starting position, the original endpoint, and the aforementioned corresponding algorithm to determine the detour path. During replanning, segments with corresponding abnormal events are removed, and then the corresponding final path, i.e., the detour path, is generated according to the aforementioned method. This detour path also satisfies the combination of a dynamic experience base and a static rule base.
[0082] By directly connecting the visual perception agent with the decision scheduling engine, the perception-decision-execution closed-loop time is compressed from seconds to milliseconds, significantly improving traffic efficiency in dynamic environments and achieving millisecond-level emergency response.
[0083] In traditional logistics robot scheduling systems, the robot's own sensor perception and the server-side decision-making are separate, resulting in response times in the milliseconds, long delays, and an inability to cope with sudden congestion in dynamic environments. This implementation constructs a five-body collaborative architecture consisting of a physical robot agent, a robot management agent, a visual perception agent, a scheduling decision engine, and a digital twin platform. Simultaneously, the visual perception agent directly triggers the scheduling decision engine. The visual agent analyzes the monitoring screen in real time, and upon detecting path occupancy and / or congestion, immediately pushes the event to the scheduling decision engine. This engine completes replanning within milliseconds and directly issues new paths to the affected robots, without needing to go through the robot management agent, forming a direct closed loop of perception-decision-execution. This differs from the traditional long-link model of robot reporting → central processing → instruction return. This implementation, through direct connection between global visual perception and the scheduling engine, compresses the closed-loop response time from milliseconds to milliseconds, significantly improving system real-time performance. The visual agent, as an independent perception unit, complements the robot's own perception, solving the problem of limited robot field of view.
[0084] Specifically, the aforementioned scheduling decision engine includes a bidirectional task splicer. The bidirectional task splicer is used to determine the basic path based on the endpoint location of the task to be executed and the execution location of the empty container to be retrieved, according to a path planning algorithm. It then checks with the digital twin platform to determine if there are any historical congestion events based on the current time, and determines the dynamic cost of the road segment based on the existing historical congestion events. Finally, it determines the final path based on the dynamic cost of the road segment, the basic cost of the road segment, and the feedback results from the simulation on the digital twin platform. If the total cost of the final path is less than a total cost threshold, the task to retrieve the empty container is spliced with the task to be executed, and the final path corresponding to the task to retrieve the empty container is spliced with the final path of the task to be executed. The spliced task and path are then distributed to the corresponding physical robot agent through the robot management agent, so that the corresponding physical robot agent can continue to execute the task to retrieve the empty container after completing its own task, based on the spliced task and path.
[0085] For example, as described above, the bidirectional task stitcher, a task optimization component based on the results of the dual-stream knowledge collaboration module, is responsible for dynamically deciding whether to execute the empty box retrieval task after the robot completes its delivery task, based on the cost map or weights of the current dynamic road network from the self-evolving experience base. The cost can be normalized to the weights. When the robot is about to reach the delivery point, i.e., the task's endpoint, the task manager sends a query request to the bidirectional task stitcher to inquire about the cost of retrieving the empty box. In response to this request, the bidirectional task stitcher calls the dual-stream knowledge collaboration module to query the predicted travel cost from the robot's current location to the location where the empty box is to be retrieved. This is achieved through the combination of a static rule base and a dynamic experience base, as described above, and will not be elaborated further. If the predicted travel cost is less than a preset cost threshold (representing the cost that will not cause the robot to delay or miss other high-priority tasks), the empty box retrieval task is stitched into the current task. That is, after completing the current task, the empty box retrieval task continues, and the corresponding execution path is also stitched into the original final path, generating a composite stitched path that includes both delivery and box retrieval tasks. This allows the corresponding robot to continue completing the box retrieval task. If, during the splicing task, the visual perception agent detects new congestion as described above, the scheduling decision engine will replan in real time based on the self-evolving experience base, as described above, to ensure the timeliness of the two-way task.
[0086] Traditional robot tasks are mostly one-way deliveries, resulting in wasted transport capacity due to empty return trips. Furthermore, the robot's last-mile delivery method is limited and lacks effective collaboration with humans, leading to low handover efficiency. In this embodiment, however, a two-way closed-loop task of delivery and empty box retrieval is implemented. When a task is issued, it includes the delivery location and the optional empty box retrieval location. After completing delivery at the delivery point, the robot automatically executes a path planned by the two-way task splicer to the empty box retrieval point, thus utilizing return transport capacity and eliminating empty runs. Upon reaching the destination location of the empty box, the robot notifies the receiving personnel in parallel through multiple methods, including its own sound and light ringtone, screen pop-ups, and AI voice calls. It also continuously monitors the delivery status (whether the goods have been retrieved) using visual sensors, forming a human-machine collaborative closed loop.
[0087] This implementation extends a single-trip task into a two-way closed loop, significantly improving robot utilization and representing an innovation in logistics scheduling. Multimodal notifications combined with state awareness address the pain point of traditional delivery-only operations, enabling true human-machine collaboration.
[0088] The digital twin platform is used to determine whether there are historical congestion events based on the current time. If there are historical congestion events, the information is returned to the scheduling decision engine. A 3D simulation map model corresponding to the surveillance video is constructed, and simulations are performed based on the final path and the 3D simulation map model. The simulation results are then sent to the scheduling decision engine.
[0089] The digital twin platform is a virtual mapping of the physical world, encompassing functions such as real-time state synchronization, historical data storage, and simulation. As the central hub for system self-learning, this platform embeds a closed-loop learning component consisting of a reflection module and a self-evolving experience base. The reflection module is responsible for generating structured experience based on historical data, driving the updating and iteration of the dynamic experience base.
[0090] The digital twin platform includes a digital twin model, a real-time synchronization engine, a data lake, a reflection module, and a self-evolving experience base.
[0091] Digital twin models are used to build and maintain high-precision 3D simulation map models. They include static elements of the environment in which the system is deployed, such as walls, shelves, elevators, and doors, as well as dynamic elements, such as the robot's real-time position, obstacle types and locations, and personnel distribution. By collecting environmental data, such as real-world environmental construction data or determining environmental data through video capture, the map model is rendered using ROS or Unity, supporting visual monitoring and simulation.
[0092] The real-time synchronization engine is used to subscribe to the robot's state information and perception events, such as abnormal events, through Redis, and to update dynamic elements in the map model in real time. As mentioned earlier, the category and location of obstacles can be obtained through the abnormal events published by the aforementioned visual perception agent, so we will not elaborate further.
[0093] A data lake is used to store all raw data, such as task logs, robot historical state information, perception events, image frames, etc., for offline analysis and model training.
[0094] As mentioned above, the digital twin platform queries the corresponding historical congestion events based on the query request sent by the scheduling decision engine. When a historical congestion event is found, it returns the result and performs a simulation based on the corresponding target category and location, map model, and final path to determine whether the simulation is successful. If the task is completed within the preset time, the simulation result is sent to the scheduling decision engine.
[0095] The digital twin platform is used to acquire task data after the task is completed, determine the actual execution time and the predicted execution time based on the task data, determine the task analysis results, and update the influencing factors of the corresponding road segments based on the task analysis results and historical congestion events. The influencing factors affect the dynamic cost of the road segments.
[0096] Task data refers to the data used to describe the task during robot execution, which may include the task's start time, delivery origin and destination, task identifier, etc. In addition, task data may or may not include the actual execution time, but may be derived from other factual data. It may also include log content such as the time points when congestion occurred.
[0097] As mentioned above, when performing simulations before executing a task, the predicted execution time, i.e. the predicted time consumption, can be obtained from the simulation results of the original final path. The time difference between the predicted execution time and the actual execution time is determined as the analysis result. If the time difference exceeds a preset threshold, or only if the actual execution time is greater than the predicted execution time, the influence factor of the corresponding road segment needs to be updated, i.e., the corresponding dynamic cost is increased, which is also the corresponding weight.
[0098] Specifically, the process of updating the influencing factors can be handled by the self-evolving experience base within the digital twin platform. This self-evolving experience base includes a two-stream knowledge generator. The two-stream knowledge generator uses historical congestion logs stored in the self-evolving experience base to obtain congestion events, their occurrence times, and corresponding congestion durations for different road segments. Based on the number of occurrences, their occurrence times, and the corresponding congestion durations for different road segments, it generates dynamic penalty coefficients for the corresponding road segments. It then updates the versioned dynamic penalty coefficients, dynamic costs, and weights of the corresponding road segments based on these dynamic penalty coefficients, using these as the updated dynamic penalty coefficients, costs, and weights.
[0099] The self-evolutionary experience base is a knowledge base with structured storage, version management, and intelligent evolutionary history experience, forming the foundation of the system's self-learning capability. It stores the dynamic weight matrix or spatiotemporal congestion probability distribution of road network topology nodes, rather than historical trajectory fragments or semantic landmarks.
[0100] The dual-flow knowledge generator automatically generates dynamic penalty coefficients based on blocking or congestion error logs in its self-evolving experience base, updating these coefficients to the versioned road segment coefficients. It can also update the costs and weights to the versioned road segment costs and weights based on these coefficients. The logs record historical congestion events, their occurrence times, and corresponding congestion durations for different road segments. This information can be used to determine the historical congestion events, their occurrence times, and durations after the task is completed, based on the robot's status information and monitoring videos mentioned earlier; details will not be elaborated further. This process generates the corresponding weights.
[0101] The dynamic penalty coefficient for the corresponding road segment is determined by the following formula:
[0102] Among them, among them, For the latest version of the road section The dynamic penalty coefficient, This represents the total number of historical congestion events for the corresponding road segment within a preset period, up to the latest version. Let j be the duration of the historical congestion. The time decay factor, Here, t0 represents the decay rate, t0 represents the current time, and tj represents the time when the historical congestion event occurred. Tbase is the normalization factor, and Tbase is the normal passage time for the corresponding road segment.
[0103] The aforementioned dynamic penalty coefficient can be used to adjust the conditions described above. as well as It is determined based on the proportional relationship or the preset relationship.
[0104] The weights can also be calculated using the following method, where the dynamic penalty coefficient for road segment e in the v-th version is... ,Right now Then the weights of the road segment are updated using a multiplicative factor method. :
[0105] in, The base weight of road segment e can be determined based on the physical distance of the road segment or the initial calibrated travel time, i.e., dynamic weight = base weight × (1 + dynamic penalty coefficient). It should be understood that in addition to increasing the cost to determine the path, the path can also be determined by increasing the weight. Maintaining a weight map, the path selection method is similar to that described above, so it will not be repeated here. When comparing and selecting, the comparison and selection are based on the numerical value of the weight.
[0106] It should be understood that the corresponding weights can also be updated using the total cost of the update as described above, which will not be elaborated further. The self-evolutionary experience base also includes a versioned segment weight manager. The versioned segment weight manager is used to manage the weight version of each segment, that is, the dynamic penalty coefficient of each segment under each iteration version. The dynamic penalty coefficient of the v-th version segment can be derived based on historical blocking logs as described above.
[0107] Specifically, the scheduling decision engine includes a simulation and deduction module. This module uses the simulation environment of the digital twin platform to replay multiple historical tasks based on task data, obtaining the first task indicators corresponding to these historical tasks. Before updating the influence factors of the corresponding road segments, the module uses the influence factors to be updated as the dynamic cost of the corresponding path in the redefined historical tasks. Based on the base cost, dynamic cost, and feedback results from the digital twin platform simulation, the module determines the updated historical path and the corresponding second task indicators. It compares the first and second task indicators; if the second task indicator is superior to the first, it updates the influence factors of the corresponding road segments based on the influence factors to be updated and updates the dynamic cost of the corresponding road segments.
[0108] Task metrics refer to indicators that measure the robot's task execution process, and may include average execution time, average number of blocking events, etc. As mentioned earlier, the task metrics are obtained by simulating the task data using the simulation environment of the digital twin platform. It should be understood that during the simulation, the categories and locations of obstacles or targets identified at that time, as well as the robot's status information, such as robot speed, model, and identification, are also required. As mentioned earlier, the categories and locations of identified obstacles or targets are mapped to a 3D simulation map model, which can then store these targets, such as in a data lake. The map model at the corresponding time can be retrieved by rolling back the model. Simultaneously, simulations are performed based on the task data in the task logs and the robot's status information in the data lake. The simulation results determine the execution time and number of blocking events for each task, as well as the average execution time and average number of blocking events. Alternatively, the execution time and number of blocking events or congestion events for each task can be directly stored in the corresponding logs after the task is completed, and then stored in the data lake.
[0109] Before updating the road segment based on the aforementioned influence factors, the dynamic cost of the corresponding path is re-determined using these factors according to the aforementioned implementation method. The global cost map is then updated based on the re-determined dynamic cost, and the path is re-planned using a dynamic planner to generate the corresponding total cost. The path with the lower cost is selected. The process is then repeated to derive new indicators for the historical task. These new indicators are compared with the old ones. If the new indicators are superior to the old ones, the weight update is considered effective and proceeds; otherwise, no update is performed until the next update. Simultaneously, the corresponding parameters are updated synchronously according to the aforementioned method after the update. as well as The dynamic costs and weights, if already updated, can be ignored. Furthermore, if the impact factor is not updated, other corresponding parameters should also be reverted to their pre-update values to ensure consistency. A rollback mechanism can also be used to select other historical versions of the aforementioned parameters, including the impact factor.
[0110] For example, before deploying a new strategy, namely the global scheduling strategy after applying the latest version of the road segment dynamic penalty coefficient, the simulation module calls the simulation environment of the digital twin platform to replay historical tasks and compare the indicators of the old and new strategies, such as average time consumption and average number of blockages, to ensure that the strategy optimization is effective.
[0111] It should be noted that, in addition to replaying the historical tasks mentioned above, the process of extrapolating the final path before task execution also follows the same method. During the simulation, the categories and locations of obstacles or targets identified at the time, as well as the robot's state information, such as robot speed, model, and identification, are required. As mentioned earlier, the categories and locations of identified obstacles or targets are mapped into the 3D simulation map model. If abnormal events exist, obstacle mapping can also be performed based on these events, and the extrapolation result is determined based on the final path. The robot's state information can be provided by the scheduling decision engine, based on its identified robot identification and model.
[0112] The digital twin platform includes a reflection module. Specifically, the reflection module includes a data aligner, a deviation calculation unit, an attribution analyzer, and an experience generator. The data aligner is used to retrieve task data describing the task from a preset storage area after the task is completed. The deviation calculation unit is used to obtain the actual time and predicted time from the task data and determine the time difference. The attribution analyzer is used to analyze the reasons for the better performance if the time difference is less than the time threshold and the actual time is better than the predicted time if the time difference is greater than the time threshold. The experience generator is used to structure the analysis results, which may include congestion events, into experience entries and submit them to the lifecycle decision engine of the self-evolving experience library at the end of the digital twin platform for storage.
[0113] The reflection module, deployed within the digital twin platform's offline or near-line analysis engine, is responsible for reviewing and analyzing completed tasks, serving as a bridge connecting physical execution data with the self-evolving experience base.
[0114] The data aligner is used to retrieve the full record of the task from the data lake after the task is completed. This task data can include the task ID, the predicted path in the simulation results, the predicted execution time in the simulation results, the actual running trajectory, the actual execution time, and the content of the perception event log, such as the time of congestion during execution. It should be understood that, as mentioned earlier, abnormal events may occur during task execution, altering the robot's execution path; therefore, the actual running trajectory may differ from the predicted trajectory or predicted path.
[0115] The deviation calculation unit calculates the difference ΔT between the actual time taken and the predicted time. If ΔT > +δ, it indicates that the time taken has slowed down significantly, where +δ is the first time threshold; or if ΔT < +δ, it indicates that the time taken has slowed down significantly. δ indicates a significant optimization in processing time. If δ is the second time consumption threshold, then attribution analysis will be triggered.
[0116] Attribution analyzers are used to analyze positive and negative attributions.
[0117] Positive attribution refers to situations where the actual time taken is significantly better than the prediction, i.e., ΔT < 0.05. δ is then analyzed to determine why it is superior. For example, whether the actual running trajectory bypasses the congestion points or congestion events at the corresponding time. By comparing the difference between the actual running trajectory and the predicted running trajectory, it can be determined whether the congestion points or abnormal events are avoided, or whether the execution path is smoother during specific time periods, such as lunch breaks, and corresponding successful experiences are generated.
[0118] Negative attribution involves analyzing the reasons for the poor performance if the actual time taken is significantly worse than the prediction (ΔT > +δ). Specifically, this can be done by analyzing abnormal events recorded in the perception event log, such as occupancy or congestion events, to determine if they are caused by temporary obstacles, peak traffic, or deadlocks, and generating corresponding failure experiences, such as blocking error entries. If no corresponding perception event is recorded in the log, it is marked as an unknown blockage, driving the visual perception agent to optimize the object detection model. An experience generator structures the above analysis results into experience entries, such as in JSON format. These entries can include contextual features, such as current time, special events, weather, season, location or road segment, deviation type (i.e., the cause label), and suggested weights, and submits them to the lifecycle decision engine of the self-evolving experience base.
[0119] In addition, the self-evolving experience base also includes a similarity engine. The similarity engine extracts key information from experience entries, generates a first feature vector based on this key information, and establishes a vector index. It receives query requests from the scheduling decision engine, generates a second feature vector based on the current time and related special events carried in the query request (special events refer to events affecting traffic flow on the corresponding road segment), determines a first feature vector matching the second feature vector based on the vector index and the second feature vector, and identifies the corresponding experience entry based on the first feature vector and returns the corresponding historical congestion event.
[0120] The similarity engine receives query requests from the scheduling decision engine and is used to retrieve similar experiences and obtain the influence factors of road segments.
[0121] Key information refers to information used to describe the experience item, such as item identifier, contextual features, and road segment identifiers.
[0122] As mentioned earlier, after obtaining experience entries, key information is extracted, and a first feature vector is generated from this key information, along with a vector index. Query requests are received, and a corresponding second feature vector is generated based on the information carried in the query request, such as the current time. A search is performed based on the vector index and the second feature vector to determine if a corresponding first feature vector exists. If it exists, the corresponding historical congestion event is identified, and the influencing factor is determined according to the method described earlier, which will not be elaborated further.
[0123] For example, a similarity retrieval engine can support hybrid retrieval methods, such as BM25 text matching and vector semantic retrieval, where vector semantic retrieval can be performed using vector indexing. A feature vector is generated for each experience entry, for example, using Sentence-BERT to encode contextual feature descriptions, and a vector index is built. During retrieval, the current contextual features are input, and the top-K most similar experience entries are returned, along with the identification of historical congestion events within them.
[0124] In addition, the self-evolutionary experience base also includes an experience classification memory, which includes a path learning log table, a blocking error log table, and an optimization requirement log table.
[0125] The path learning log table stores successful experience entries, i.e., those whose actual time consumption is significantly better than the predicted time consumption, as mentioned above. The log table fields include entry ID, segment ID, contextual features such as time period, special events, actual time consumption, predicted time consumption, version number, and creation time.
[0126] The blocking or congestion error log table stores failed cases, i.e., failure experience entries. The log table fields include entry or case ID, blocking location, blocking type, duration, cause label, solution description, resolution time, version number, and similar case ID. Similar cases can be determined using the vector similarity method described above, and cases with a similarity greater than a threshold are identified as similar cases.
[0127] The optimization requirement log table is used to store system capability boundaries, such as abnormal system states or user feedback, to drive algorithm iteration.
[0128] Furthermore, the self-evolving experience base in the digital twin platform includes a lifecycle decision engine. This engine periodically scans new experience entries and determines their similarity to older entries. If the similarity is greater than a first similarity threshold and the confidence level of the new experience entry is greater than that of the older entry, the new and older entries are merged. If the similarity is within the range of the first and second similarity thresholds, the new experience entry is added to the self-evolving experience base. If the similarity is less than the second similarity threshold and the frequency of the new experience entry is less than a noise threshold, the new experience entry is deleted. The second similarity threshold is less than the first similarity threshold.
[0129] The lifecycle decision engine is used to write new experiences from the reflection module.
[0130] The lifecycle decision engine periodically scans newly added experiences and executes logic for adding, merging, or discarding them. Decision criteria include similarity thresholds, experience entry frequency, and timeliness. Decision rules. as follows:
[0131] Where S=Sim(New,Old), that is, the similarity between the new experience entry and the old experience entry in the library. The similarity is determined according to the method described above, which is determined by the similarity of context features. , To establish a similarity threshold, a threshold range is formed, and Greater than Conf represents the empirical confidence level, and Freq represents the frequency of empirical items. The threshold is set to low-frequency noise. The merge operation uses a weighted average to update the attributes of older experience entries.
[0132] The aforementioned experience confidence level (Conf) is used to quantify the reliability of an experience entry, such as a blocking error log or path learning log, with a value ranging from [0,1]. A higher confidence level indicates a more reliable experience, making it more likely to be retained or merged in lifecycle decisions. A lower confidence level suggests the experience may be discarded.
[0133] Confidence The calculation formula is as follows:
[0134] in, , for normalized empirical frequency, This represents the ratio of the current frequency to the maximum frequency. Fmax is the preset saturation threshold, such as 20 times. It is represented as. As a time-sensitive factor, For the current time, The time when this experience was most recently verified, and ρ is the decay rate, such as 0.01 / day. As a consistency measure, this is based on the standard deviation of congestion duration across all historical records. with the mean The calculation shows that the larger the value, the more stable the record. α, β, and γ are weighting coefficients that satisfy α + β + γ = 1. These can be adjusted according to the application scenario, with each factor set to 1 / 3 by default.
[0135] It should be noted that for newly generated experiences, i.e., those that have only occurred once, with Freq=1 and no historical standard deviation, Consistency is temporarily set to 0.5 and will be updated after sufficient records are accumulated. If the experience comes from manual confirmation, such as administrator annotation, Conf=1.0 is set directly.
[0136] Each time an experience is revalidated—that is, when a new similar event matches an existing experience and the result is consistent—the confidence level can be recalculated using the formula described above, and the timestamp updated. If the confidence level is below a preset threshold, such as 0.3, and the frequency of the experience is low, the lifecycle decision engine will prioritize marking it as disposable.
[0137] This implementation utilizes versioned road segment weight management, a hybrid similarity retrieval engine, and a lifecycle decision algorithm to automatically transform successful or failed cases into structured experiences, and achieves continuous knowledge evolution through time decay and confidence assessment.
[0138] If the large amount of historical experience accumulated by the system is not managed, it will lead to knowledge redundancy, decreased retrieval efficiency, and an inability to effectively distinguish between one-off events and regular patterns, thus hindering the continuous evolution of the system.
[0139] By constructing a self-evolving experience base and its three types of structured logs—path learning logs, blocking error logs, and optimization requirement logs—the similarity between new and historical experiences is calculated through hybrid similarity retrieval, combining BM25 text matching and vector semantic retrieval. Intelligent lifecycle decision-making is also employed, executing decisions such as adding, merging, and discarding new experiences to avoid knowledge redundancy and extract recurring patterns.
[0140] Upon task completion, the reflection module automatically assesses execution deviations, generates new experiences, and triggers an update to the experience base, forming a continuous cycle of execution, reflection, learning, and evolution. The decision-making mechanism is at the core of the experience base, resolving the issues of knowledge base expansion and redundancy, and ensuring the conciseness and retrieval efficiency of the experience base.
[0141] Specifically, the robot management agent includes a digital twin archive, a command dispatcher, a status monitor, and a task logger. The digital twin archive stores the static and dynamic attributes of each physical robot agent. The command dispatcher converts the tasks to be executed and their final paths into a format recognizable by the physical robot agents and distributes them via the communication module. The status monitor subscribes to status information reported by physical robot agents in Redis deployed on a cloud server and updates the digital twin archive; if a physical robot agent is detected to be offline or malfunctioning, an alarm is triggered to the alarm terminal, and the scheduling decision engine is notified to adjust task allocation so that the scheduling decision engine can distribute unfinished tasks to other physical robot agents. The task logger records the start time, end time, executing physical robot agent, final path, duration, and any abnormal events for each task for subsequent analysis.
[0142] The robot management agent is deployed on a cloud server or a local high-performance server. It is a centralized management module that maintains the digital twin files of all physical robots and is responsible for robot lifecycle management and issuing basic instructions.
[0143] Robot management agents include a digital twin archive for storing static attributes of each robot, such as ID, model, maximum speed, and battery capacity, as well as dynamic attributes, such as real-time location, battery level, task history, and health status.
[0144] The instruction dispatcher is used to convert path instructions, task instructions, or management instructions generated by the scheduling decision engine, such as return to charging or pause, into a format that the robot can recognize, and then distribute them through the communication module.
[0145] The status monitor subscribes to the status reports from robots in Redis deployed on a cloud server and updates the digital twin profile. If a robot is detected to be offline or malfunctioning, an alarm is triggered to the terminal and the scheduling decision engine is notified to adjust task allocation. The scheduling decision engine distributes the unfinished tasks of offline or malfunctioning robots to other robots. Incomplete tasks can be distinguished by a task completion indicator. This indicator can be sent to Redis by the corresponding robot after the task is completed, and Redis then sends the notification to the scheduling decision engine, or the notification can be sent directly to the scheduling decision engine.
[0146] The task logger records the start and end times, executing robot, path, time taken, and exceptions for each task, for subsequent analysis.
[0147] A physical robot agent is used to execute tasks based on received tasks to be executed and the final path. A physical robot agent is a robotic entity in the physical world that performs transport tasks, possessing capabilities such as autonomous navigation, environmental perception, task execution, and status reporting.
[0148] The physical robot agent includes a mobile execution module, which receives a sequence of path points and corresponding tasks from a scheduling decision engine, and autonomously performs localization, navigation, and obstacle avoidance. During localization, navigation, and obstacle avoidance, it generates low-level motion control commands. This module can be implemented using any existing navigation technology, such as laser or visual SLAM, and its specific implementation does not constitute a limitation of this invention.
[0149] The communication interface maintains a long-term connection with the robot management agent via MQTT or WebSocket, reporting location, power level, and operating status in real time, and receiving control commands.
[0150] The task execution unit manages the local task queue, executes atomic tasks such as delivery and empty box retrieval, and provides audio-visual prompts or interacts with infrastructure or personnel at task execution points, such as when delivering a delivery, for example, to open a door during the delivery process.
[0151] When the anomaly handling unit detects its own fault or an abnormal environment, it actively reports the fault and enters protection mode.
[0152] Input instructions from the robot management agent and paths from the scheduling decision engine. Output its own and the environment's state data to Redis and the robot management agent. The detection logic is as follows: The system detects its own faults by collecting real-time status data from the battery management chip, motor driver, and core sensors such as LiDAR or IMU. It identifies a fault as a self-fault when the battery level falls below a safe threshold, the motor stalls, sensor data streams are interrupted, or positioning accuracy is lost.
[0153] Environmental anomaly detection is performed based on LiDAR point cloud analysis of dynamic obstacles along the travel path. When a complete path obstruction or abnormal vehicle tilt due to terrain is detected, a local environmental anomaly is identified. Simultaneously, the system subscribes to broadcast messages from the visual perception agent to receive congestion or occupancy events from the global environment.
[0154] Control commands from the robot management agent, path point sequences from the scheduling decision engine, and real-time status data from underlying sensors are all processed. Fault types or exception codes, and current environmental perception data, such as obstacle distances, are packaged and written to Redis, and then reported to the robot management agent. Protection mode commands are triggered, such as emergency stop, deceleration, and audible / visual alarms.
[0155] In a preferred embodiment of this application, the threshold for judging the drivability dimension switching of a road segment is a value between 0.6m and 0.8m. When the system detects that the width of a road or road segment is less than the set threshold, due to the high computational cost of detour planning in a two-dimensional road network, a higher-dimensional scheduling is achieved through deep collaboration between the digital twin platform and the scheduling decision engine, moving from two-dimensional detours to three-dimensional spatial physical opening and adaptive body shape. The specific implementation process is divided into three stages: three-dimensional channel opening, single-machine shape adaptive adaptation, and multi-machine collaborative relay.
[0156] Specifically, the three-dimensional passage opening stage is based on physical distance geometric constraints. When the visual perception agent detects that the two-dimensional path is completely blocked, the digital twin platform uses the constructed three-dimensional simulation map model to upgrade the original impassable area in the two-dimensional plane to a higher dimension. Based on physical geometric constraints, it searches for passable gaps in three-dimensional space to open up a three-dimensional passable passage.
[0157] The digital twin platform maintains a global world coordinate system, with coordinate values expressed in meters. The boundary coordinate set of the three-dimensional physical obstacles in the congested area is... ,in That is, a complete enumeration of M obstacle boundary sampling points. Each It corresponds to a specific boundary point and is used to describe the location information of the space occupied by inaccessible physical obstacles in the congested area. It is a coordinate vector in a rectangular coordinate system, representing the spatial position of the i-th obstacle boundary sampling point in the three-dimensional physical world. These are the floating-point coordinate components of the point along the principal X-axis of the reference coordinate system. For the Y-axis coordinate components, The Z-axis coordinate components.
[0158] The physical robot agent intends to enter this road segment with starting coordinates Pstart and ending coordinates Pend. Optimal The continuous function of the central axis trajectory of the three-dimensional channel is ,in The path parameter is used to describe the spatial location of the function.
[0159] The digital twin platform extracts the central axis of a 3D channel by solving for the extrema of a functional using a variational method. This axis must satisfy the dual constraints of maximizing path smoothness and minimizing the repulsive field strength of obstacles. Its optimization objective function is: =
[0160] in, Let α be the standard Euclidean distance in physical space, β be the path smoothness constraint weight coefficient, and β be the obstacle repulsion field strength parameter, to strike a balance between path tortuosity and obstacle avoidance. The physical safe passage radius of this 3D channel at any node s is defined as the Euclidean distance from the center point to the coordinates of the nearest obstacle, i.e., the physical safe passage radius Rsafe(S) corresponding to each node of the channel:
[0161] After the calculation is completed, the digital twin platform returns the above parameters to the scheduling decision engine.
[0162] Specifically, the three-dimensional physical interference volume of a single-physics robot agent actively minimizes posture adaptation. After a three-dimensional passage is opened, if the physical safe passage radius of a certain node... If the radius of the circumscribed circle is smaller than that of the normal driving radius of the physical robot agent, the scheduling decision engine will perform active minimization calculations of the interference body, enabling the robot to pass through the congested gaps by changing its physical shape.
[0163] The generated centerline trajectory continuous function Physical safety passage radius and the physical robot's body three-dimensional mesh coordinate set is .
[0164] Robot body rigid transformation matrix , which includes the rigid transformation matrix R= Matrix R is a 3×3 directional cosine array, where the elements satisfy: = cos , Let be the physical angle between the j-th orthogonal body axis of the robot after rotational transformation and the i-th reference coordinate axis of the coordinate system before rotation. The array of column vectors is unit orthogonal to ensure no scaling or distortion during the transformation. t is a 3×1 translation vector representing the position of the rigid body. And the three-dimensional translation vector t , where x, y, z are the displacements of the corresponding reference coordinate axes after rotation.
[0165] The core of attitude determination is to minimize the physical interference volume of the robot relative to obstacles in the channel through spatial rotation and translation. Mathematically, this is expressed as minimizing the sum of the squared distances of vertices intruding into the obstacle's interior. That is:
[0166] in, The set physical safety margin limit is less than or equal to the physical safety passage radius at the current node. This is used to ensure that the robot retains the necessary safety clearance after deformation. It is the rotation matrix of the k-th point on the robot model.
[0167] The scheduling decision engine issues specific posture commands to the physical robot agent based on the solved R and t, as follows: When the aircraft moves to the side, if R is represented by a rotation of approximately 90 degrees around the Z-axis in the local coordinate system, the chassis is instructed to generate differential speed so that the narrowest face of the fuselage faces the passage.
[0168] For a squatting motion, if the Z-axis component of t is displaced relative to the initial pose... When the value is negative, the chassis lifting mechanism is instructed to lower, reducing the overall height.
[0169] Specifically, the collaborative rotational relay scheduling of multi-physics robot agents within the channel based on SAT-MTV. The coordinates represent spatial locations in a three-dimensional world coordinate system, indicating the points within the channel where goods need to be handed over. When the scheduling task specifies the bottleneck coordinates for the handover... Physical safe passage radius at the location When the distance is less than twice the maximum geometric dimension of the cargo, such as the diagonal length of a rectangular cargo, conventional fixed-axis pure rotation will inevitably collide with physical obstacles. In this case, the scheduling decision engine introduces directional bounding box collision detection based on the Separating Axis Theorem (SAT) and minimum translation vector (MTV) collaborative control.
[0170] The digital twin platform simplifies the handover area into a rigid body, encapsulating static obstacles such as the walls of the 3D channel into a set of static environment bounding boxes, and encapsulating the goods to be handed over into an Oriented Bounding Box (OBB) that rotates with its own geometric center.
[0171] The scheduling decision engine instructed the first robot carrying goods and the second robot, which was empty, to travel towards each other along the central axis of the passage and stop at the junction bottleneck coordinates. Set the two sides and lock their relative physical distance. Complete the rigid body bounding box initialization and physical distance locking.
[0172] Before actually driving the physical motor to perform actions, the digital twin platform uses a preset, tiny angular displacement step. For example, each step This simulates the rotation trajectory of the cargo OBB around the Z-axis.
[0173] In each Under the specified step size, the platform executes the following collision detection process: (a) Constructing a set of separate test axes: Extract the unit direction vectors A1, A2, A3 of the three local coordinate axes of the cargo OBB, satisfying ‖A_i‖ = 1 and being pairwise orthogonal, and the unit direction vectors B1, B2, B3 of the three local coordinate axes of the static environment OBB, as well as the cross product vectors between the pairwise coordinate axes of the above two sets. , There are a total of 15 test axes, which constitute a separate test axis set.
[0174] (b) Perform axial projection and overlap determination: for any test axis in the separate test axis set Calculate the projected radius of the cargo's OBB on that axis. The projected radius of the static environment bounding box on this axis .
[0175]
[0176]
[0177] in, Let OBB be the half-length of each axis corresponding to the cargo. This represents the half-side length of each axis corresponding to the static environment bounding box.
[0178] Simultaneously calculate the vector connecting the centers of the two bounding boxes. Center projection distance on the test axis .
[0179] (c) Collision determination logic: If the conditions are met on all 15 test axes The digital twin platform determines that a physical collision has occurred between the cargo OBB and the static environment bounding box under the current angular displacement. If the following conditions are met on any test axis... If the separation axis is found, and it is determined that there is no collision under the current angular displacement, then the next step is executed. Simulation of step size.
[0180] (d) Minimum translation vector extraction: When a physical collision is determined to have occurred, the digital twin platform calculates the projection overlap on each test axis. Filter out those that produce the minimum projection overlap test axis The minimum projection overlap is multiplied by the direction vector of the test axis to obtain the minimum translation vector. This minimum projection overlap is then multiplied by the direction vector of the test axis, and a sign is added to the projection direction of the line connecting the centers of the two bounding boxes on this axis, ensuring that V_MTV always points in the direction that pushes the cargo OBB out of the collision state.
[0181] This vector contains physical displacement components in a two-dimensional plane (X-axis, Y-axis), representing the shortest translation direction and distance required for the cargo OBB to return to a safe, non-collision state. This completes the rotational step collision detection and MTV extraction based on the SAT algorithm.
[0182] The scheduling decision engine transforms the minimum translation vector sequence extracted during the simulation phase into underlying physical control commands.
[0183] During the goods handover phase, the top pallet motors of the first and second robots operate synchronously. The physical angular displacement rotation; simultaneously, the chassis drive wheels of both output a two-dimensional translational compensation displacement of the chassis that is equal in magnitude and consistent in direction with the minimum translation vector at the corresponding moment. .
[0184] Through the mechanical coupling of the pallet motor rotation and the chassis wheel translation, goods with a horizontal projection length exceeding the aisle clearance width (i.e., 2 × R_safe) can safely transition from the first robot to the second robot along a collision avoidance trajectory under the constraint of the static environment bounding box, completing a collision-free cooperative relay. The chassis translation compensation displacement (Δx, Δy) is based on the minimum translation vector sequence generated offline by the digital twin platform. During actual execution, the robot can fine-tune the compensation amount in real time through local odometry feedback to eliminate the cumulative errors introduced by initial alignment deviations and asynchronous movement. This achieves physically coordinated execution of rotation and chassis translation.
[0185] Specific application scenario example: This system is deployed in a hospital or warehouse setting. At the physical layer, several AGVs or AMRs equipped with LiDAR and vision sensors are deployed, connected to the robot management agent via the MQTT protocol. At the perception layer, high-definition cameras are deployed at corridor intersections and elevator lobbies, connected to a visual perception agent. This agent runs a target detection model, outputting obstacle coordinates and categories in real time. At the decision layer, the scheduling decision engine is deployed on a high-performance server, maintaining a global cost map in memory. At the data layer, InfluxDB is used to store robot trajectory time-series data, Redis is used to cache real-time status, and Neo4j or a relational database is used to store the experience base graph.
[0186] When the scheduling decision engine receives a task from point A to point B, the static planner generates an initial path Ps based on the Dijkstra algorithm, taking into account static constraints such as walls and no-go zones. The dual-stream knowledge collaboration module extracts current context features, such as Friday afternoon, rainy weather, and construction in a certain area, and performs hybrid retrieval in the self-evolving experience library, for example, text and vectors. If a historical congestion case is retrieved, for example, the average delay on this road section is 30 seconds on Friday afternoon, the system calculates the dynamic penalty coefficient α and updates the cost and weight of this road section. Run D* Lite based on the revised cost or weight graph algorithm to generate an optimized path Pd. If Cost(Pd) < Cost(Ps), then Pd is issued to the robot; if greater than, ps is issued.
[0187] After the task is completed, the reflection module compares the predicted time consumption with the actual time consumption. If the actual time consumption is significantly better than the prediction, a success experience entry is generated. If congestion occurs and the time consumption exceeds the threshold, a congestion error entry is generated, recording reason tags, such as pedestrian congestion and temporary obstacles.
[0188] The system calculates the similarity S between the new entry and the existing entries in the library. The dual-stream knowledge generator periodically scans the congestion error log, recalculates the road section dynamic factor, and pushes it to the scheduling engine.
[0189] The visual perception agent detects that pedestrians are gathering in the main passage, and the estimated congestion time is >5 seconds. The agent immediately publishes a path occupation event through Kafka or Redis, which may include coordinates, type, and timestamp. The replanning trigger of the scheduling decision engine listens to this event and determines that it affects the currently executing robot R1. The engine skips the regular task queue and directly calls the path planner to generate a detour path for R1. The new path instruction is directly issued to the robot R1 through the communication module or transparently transmitted through the management agent, and the whole process takes <200ms.
[0190] As Figure 2 shown, the present application also proposes an intelligent logistics robot scheduling method, which applies the above system 100, and the method 200 includes: Step 201: The scheduling decision engine receives the task to be executed and issues the task to be executed to the robot management agent.
[0191] Step 202: For the delivery location of the task to be executed, determine the basic path according to the path planning algorithm, determine whether there is a historical congestion event to the digital twin platform according to the current time, and determine the dynamic cost of the road section according to the existing historical congestion event. Determine the final path according to the dynamic cost of the road section, the basic cost of the road section, and the feedback result of the digital twin platform simulation deduction, and send the final path to the robot management agent.
[0192] Step 203: The robot management agent receives the task to be executed and the final path, and sends the task to be executed and the final path to the corresponding physical robot agent.
[0193] Step 204: The digital twin platform determines whether there are historical congestion events based on the basic path and the current time. If there are historical congestion events, it returns to the scheduling decision engine.
[0194] Step 205: Construct a 3D simulation map model corresponding to the surveillance video, perform simulation based on the final path and the 3D simulation map model, and send the simulation results to the scheduling decision engine.
[0195] Step 206: The physical robot agent executes the task based on the received task to be executed and the final path.
[0196] Step 207: After the task is completed, the digital twin platform acquires the task data, determines the actual execution time and the predicted execution time based on the task data, determines the task analysis results, and updates the influencing factors of the corresponding road segments based on the task analysis results and historical congestion events.
[0197] Among them, the influencing factors affect the dynamic cost of road sections.
[0198] The specific implementation methods for the above steps can be found in the above content and will not be repeated here. It should be understood that other steps not fully described can be referred to the foregoing content, and this reference does not exceed the scope of protection. Note only: The visual perception agent acquires video streams from multiple cameras, runs an object detection model, and identifies dynamic targets such as pedestrians and obstacles. The path occupancy analysis module aligns the detection results with a static map to determine if critical path nodes are occupied for extended periods, generating occupancy / congestion events. The event publishing module standardizes events, including coordinates, type, confidence level (classification probability), and timestamp, and publishes them via Kafka or Redis, with the replanning trigger of the scheduling decision engine listening in real time. The dual-stream knowledge collaboration module extracts current context features, such as time, weather, and special events, and performs a mixed search in the self-evolving experience base to obtain similar historical experiences. Based on the retrieved congestion cases, it calculates the dynamic penalty coefficient for each road segment and updates the global cost map according to the cost function. If an event affects the currently executing robot, the replanning trigger immediately calls the path planner, such as... A detour path is generated based on the updated cost map. New path instructions are directly sent to the affected robots via the communication module, ensuring a response time of <200ms. The reflection module compares the actual task time with the predicted time, and performs attribution analysis based on robot trajectory and perception event logs. If the actual time is significantly better than the prediction, a successful experience entry is generated. If a blockage occurs and the time exceeds a threshold, a blockage error entry is generated with a cause label. The similarity retrieval engine calculates the similarity between the new entry and the most similar old entry in the database. The lifecycle decision engine decides to merge, add, or discard the experience based on rules and updates the versioned parameters of the road segment weights. The dual-stream knowledge generator periodically scans the experience database, recalculates the dynamic penalty coefficient, and pushes it to the scheduling decision engine to achieve knowledge evolution.
[0199] Furthermore, in some of the processes described in the above embodiments and accompanying drawings, multiple operations appear in a specific order. However, it should be clearly understood that these operations may not be executed in the order they appear herein, or they may be executed in parallel. The operation numbers, such as 201, 202, etc., are merely used to distinguish different operations and do not represent any execution order. Additionally, these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel. It should be noted that the descriptions such as "first" and "second" in this document are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to different types.
[0200] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0201] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of a necessary general-purpose hardware platform, or by a combination of hardware and software. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a computer product. The present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0202] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable multimedia data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable multimedia data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0203] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable multimedia data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0204] These computer program instructions may also be loaded onto a computer or other programmable multimedia data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0205] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0206] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0207] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0208] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An intelligent logistics robot scheduling system, characterized in that, include: The scheduling decision engine is used to receive tasks to be executed and to send the tasks to be executed to the robot management agent; For the delivery location of the task to be executed, a basic path is determined according to the path planning algorithm. Based on the current time, it is determined whether there are historical congestion events from the digital twin platform. Based on the existing historical congestion events, the dynamic cost of the road segment is determined. Based on the dynamic cost of the road segment, the basic cost of the road segment, and the feedback results of the simulation and deduction of the digital twin platform, the final path is determined and sent to the robot management agent. A robot management agent is used to receive the task to be executed and the final path, and to send the task to be executed and the final path to the corresponding physical robot agent; The digital twin platform is used to determine whether there are historical congestion events based on the basic path and the current time. If there are historical congestion events, the system returns to the scheduling decision engine. A three-dimensional simulation map model corresponding to the surveillance video is constructed, and a simulation is performed based on the final path and the three-dimensional simulation map model. The simulation results are then sent to the scheduling decision engine. A physical robot agent is used to execute tasks based on the received task to be executed and the final path. The digital twin platform is used to acquire task data after the task is completed, determine the actual execution time and the predicted execution time based on the task data, determine the task analysis results, and update the influence factors of the corresponding road segments based on the task analysis results and the historical congestion events. The influence factors affect the dynamic cost of the road segments.
2. The system according to claim 1, characterized in that, The scheduling decision engine includes a path planning module; The route planning module is specifically used to determine at least one basic route based on the static planner, delivery location, and road segment physical constraints; and to determine the basic cost of the road segment and the basic cost of the basic route based on the road segment physical constraints in the basic route, wherein the road segment physical constraints refer to the physical factors that restrict the passage of the road segment. The path planning module is specifically used to determine the existing historical congestion events to the digital twin platform based on the current time, determine the impact factor of each road segment based on the number of historical congestion events that have actually occurred on each road segment, and determine the dynamic cost of the corresponding road segment based on the impact factor and the sub-basic cost of the corresponding road segment. Candidate paths are determined based on the dynamic planner, the basic cost of the road segment, and the dynamic cost of the road segment; The final path is determined based on the feedback results of the simulation and deduction of the candidate paths on the digital twin platform.
3. The system according to claim 2, characterized in that, The path planning module is specifically used for: The total cost of at least one candidate path is determined based on the dynamic planner, delivery location, basic cost of the road segment, and dynamic cost of the corresponding road segment. The dynamic planner selects candidate paths whose total cost meets preset conditions from at least one candidate path.
4. The system according to claim 3, characterized in that, The path planning module is also used for: The total cost of the candidate path generated by dynamic programming is compared with the total cost of the basic path. The path with the smaller total cost is selected as the candidate path for simulation. The total cost of the basic path is determined by the basic cost.
5. The system according to claim 3 or 4, characterized in that, Total cost of road segments in candidate paths Determined by the following formula: in, The basic cost of a road segment is used to construct the basic cost of candidate paths. The dynamic cost of a road segment is used to construct the dynamic cost of a candidate path, where α and β are the dynamic weight coefficients, respectively.
6. The system according to claim 5, characterized in that, The dynamic cost of the road segment Determined by the following formula: in, λ(e) represents the sub-basic cost of the corresponding road segment, and λ(e) represents the dynamic penalty coefficient of the corresponding road segment.
7. The system according to claim 1, characterized in that, The scheduling decision engine includes a bidirectional task splicer; The bidirectional task splicer is used to determine a basic path based on the endpoint of the task to be executed and the execution location of the empty box to be retrieved, according to a path planning algorithm. It then determines whether there are historical congestion events based on the current time and the dynamic cost of the road segment based on the existing historical congestion events. Finally, it determines the final path based on the dynamic cost of the road segment, the basic cost of the road segment, and the feedback results of the simulation by the digital twin platform. If the total cost of the final path is less than a total cost threshold, the task to retrieve the empty box is spliced with the task to be executed, and the final path corresponding to the task to retrieve the empty box is spliced with the final path of the task to be executed. The spliced task and path are then sent to the corresponding physical robot agent through the robot management agent, so that the corresponding physical robot agent can continue to execute the task to retrieve the empty box after completing the task to be executed, based on the spliced task and path.
8. The system according to claim 1 or 7, characterized in that, The system also includes: A visual perception agent is used to acquire surveillance video, identify targets in the surveillance video, determine whether an abnormal event has occurred on the final path based on the identified targets, and when an abnormal event occurs, send the abnormal event to the scheduling decision engine. The abnormal event refers to an event that affects the execution of the task by the physical robot agent. The scheduling decision engine includes a replanning trigger. The replanning trigger is used to receive abnormal events sent by the visual perception agent. When the abnormal event affects the passage of the final path, a detour path is determined based on the abnormal event, the basic cost of the road segment, the dynamic cost of the road segment, and the feedback results of the simulation and deduction by the digital twin platform. The detour path is then sent to the robot management agent so that the corresponding physical robot agent can execute the task to be executed according to the detour path.
9. The system according to claim 1, characterized in that, The scheduling decision engine includes a simulation and deduction module; The simulation and deduction module is used to replay multiple historical tasks based on the task data by calling the simulation environment of the digital twin platform, and to obtain the first task indicators corresponding to the multiple historical tasks. Before updating the impact factor of the corresponding road segment, the impact factor to be updated is used as the dynamic cost of the corresponding path in the redefined historical task. The updated historical path and corresponding second task indicators are determined based on the basic cost and dynamic cost of the corresponding path in the historical task and the feedback results of the simulation and deduction of the digital twin platform. Compare the first task indicator and the second task indicator. If the second task indicator is better than the first task indicator, update the influence factor of the corresponding road segment and update the dynamic cost of the corresponding road segment.
10. The system according to claim 1 or 9, characterized in that, The digital twin platform includes a reflection module; the reflection module includes a data aligner, a deviation calculation unit, an attribution analyzer, and an experience generator; The data aligner is used to retrieve task data describing the task from a preset storage area after the task is completed. The deviation calculation unit is used to obtain the actual time and the predicted time from the task data and determine the time difference. The attribution analyzer is configured to: if the time difference is less than a time threshold, the actual time consumption is better than the predicted time consumption, and the reasons for the better consumption are analyzed; if the time difference is greater than the time threshold, the actual time consumption is worse than the predicted time consumption, and the reasons for the worse consumption are analyzed. An experience generator is used to structure the analysis results, which may include congestion events, into experience entries and submit them to the lifecycle decision engine of the self-evolving experience library of the digital twin platform for storage.
11. The system according to claim 1 or 10, characterized in that, The digital twin platform includes a self-evolving experience base, which includes a similarity engine; The similarity engine is used to extract key information of experience items, generate a first feature vector based on the key information, and establish a vector index. Receive the query request sent by the scheduling decision engine, and generate a second feature vector based on the current time carried in the query request and the special events associated with the current time, wherein the special events refer to events that affect the passage of the corresponding road segment; Based on the vector index and the second feature vector, determine the first feature vector that matches the second feature vector; Based on the first feature vector, the corresponding experience entry is determined and the corresponding historical congestion event is returned.
12. The system according to claim 1 or 11, characterized in that, The self-evolving experience base in the digital twin platform includes a lifecycle decision engine; The lifecycle decision engine is used to periodically scan new experience entries and determine the similarity between the new experience entries and old experience entries; When the similarity is greater than the first similarity threshold, and the confidence of the new experience entry is greater than the confidence of the old experience entry, the new experience entry and the old experience entry are merged. When the similarity is within the range of the first similarity threshold and the second similarity threshold, the new experience entry is added to the self-evolving experience library. If the similarity is less than the second similarity threshold and the frequency of the new experience entry is less than the noise threshold, then the new experience entry is deleted; the second similarity threshold is less than the first similarity threshold.
13. The system according to claim 1, 6, or 10, characterized in that, The self-evolving experience base in the digital twin platform includes a two-stream knowledge generator; The dual-stream knowledge generator is used to obtain historical congestion events, occurrence times, and corresponding congestion durations for different road segments based on the historical congestion logs stored in the self-evolving experience base. Based on the number of historical congestion events, their occurrence time, and the corresponding congestion duration for different road segments, a dynamic penalty coefficient is generated for each road segment, and the coefficient is updated accordingly.
14. The system according to claim 13, characterized in that, The dynamic penalty coefficient for the corresponding road segment is determined by the following formula: in, For the latest version of the road section The dynamic penalty coefficient, This represents the total number of historical congestion events for the corresponding road segment within a preset period, up to the latest version. Let j be the duration of the historical congestion. The time decay factor, Here, t0 represents the decay rate, t0 represents the current time, and tj represents the time when the historical congestion event occurred. Tbase is the normalization factor, and Tbase is the normal passage time for the corresponding road segment.
15. The system according to claim 8, characterized in that, The visual perception agent is specifically used for: The system uses a target detection model in real time to identify the category and coordinates of targets in surveillance videos. The target's category and coordinates are matched with a static map in the digital twin platform to determine whether a preset key access node on the final path is occupied by an obstacle within a preset time. If it is occupied within the preset time, an occupancy event is detected. The system counts the flow of people and / or robots passing through a preset area within a unit of time. A congestion event is generated when the flow exceeds a threshold. The detected occupancy and / or congestion events are packaged into standardized messages and published as abnormal events to the scheduling decision engine.
16. The system according to claim 1, characterized in that, The robot management agent includes a digital twin archive, an instruction dispatcher, a status monitor, and a task log recorder; The digital twin archive is used to store the static and dynamic attributes of each physical robot agent; The instruction dispatcher is used to convert the task to be executed and the final path into a format that can be recognized by the physical robot agent, and then distribute it through the communication module. The status monitor is used to subscribe to the status information reported by the physical robot agents in Redis deployed on the cloud server and update the digital twin archive. If the physical robot agent is detected to be offline or malfunctioning, an alarm is triggered to the alarm terminal and the scheduling decision engine is notified to adjust the task allocation so that the scheduling decision engine can distribute the unfinished tasks to other physical robot agents. The task log recorder is used to record the start time, end time, executing physical robot agent, final path, duration, and abnormal events of each task for subsequent analysis.
17. A method for scheduling intelligent logistics robots, characterized in that, include: The scheduling decision engine receives the tasks to be executed and sends the tasks to the robot management agent; For the delivery location of the task to be executed, a basic path is determined according to the path planning algorithm. Based on the current time, it is determined whether there are historical congestion events from the digital twin platform. Based on the existing historical congestion events, the dynamic cost of the road segment is determined. Based on the dynamic cost of the road segment, the basic cost of the road segment, and the feedback results of the simulation and deduction of the digital twin platform, the final path is determined and sent to the robot management agent. The robot management agent receives the task to be executed and the final path, and then sends the task to be executed and the final path to the corresponding physical robot agent; The digital twin platform determines whether there are historical congestion events based on the basic path and the current time. If there are historical congestion events, it returns to the scheduling decision engine. A three-dimensional simulation map model corresponding to the surveillance video is constructed, and a simulation is performed based on the final path and the three-dimensional simulation map model. The simulation results are then sent to the scheduling decision engine. The physical robot agent executes the task based on the received task to be executed and the final path; After the task is completed, the digital twin platform acquires task data, determines the actual execution time and the predicted execution time based on the task data, determines the task analysis results, and updates the impact factors of the corresponding road segments based on the task analysis results and the historical congestion events. The impact factors affect the dynamic cost of the road segments.
