Multi-node cooperative scheduling system and method for smart logistics
By using versioned node capability envelopes and recursive successor digest credential chains, combined with a congestion feedforward write-back mechanism, a full-link closed-loop scheduling system is constructed. This solves the problems of resource duplication, impaired scheduling consistency, and cascading delays in smart logistics systems, and improves the efficiency and reliability of multi-node collaborative scheduling.
Patent Information
- Application Number
- CN202611352564.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-11-27
AI Technical Summary
Existing smart logistics systems suffer from problems such as resource duplication, impaired scheduling consistency, and cascading delays. In particular, in multi-node collaborative scheduling, node capability envelopes lack version control, credential chains lack chain-level integrity verification, and congestion feedforward adjustment is insufficient.
By using versioned node capability envelopes, recursive successor digest credential chains, and congestion feedforward write-back mechanisms, a full-link closed-loop scheduling system is constructed to achieve commitment formation, commitment verification, and congestion prevention.
It effectively solves the problems of resource duplication, impaired scheduling consistency, and cascading delays, and improves the fulfillment rate of commitments and congestion suppression capabilities of multi-node collaborative scheduling.
Smart Images

Figure CN123180585A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of intelligent logistics scheduling and control technology, specifically involving a multi-node collaborative scheduling system and method for intelligent logistics. Background Technology
[0002] In intelligent logistics systems, multi-node collaborative scheduling requires real-time perception of the resource availability of each node, and ensuring data consistency and scheduling robustness throughout the entire task allocation, locking, and execution chain.
[0003] Early solutions employed static resource tables and centralized queuing scheduling, resulting in asynchronous information between nodes and low resource utilization. To address this issue, existing technologies introduced a node capability envelope mechanism: each node periodically publishes the available resources for future time slots, and the scheduling center allocates tasks based on the envelope and locks resources using credentials. However, this mechanism has the following technical drawbacks: Resource duplication: Node capability envelopes lack version control. When node resources or job plans change, old credentials that have already been issued are still considered valid. The scheduling center allocates tasks based on expired information, resulting in resources being duplicated or failing to be allocated.
[0004] Impaired scheduling consistency: The credential chain composed of multiple task segments lacks chain-level integrity verification methods. If any link is partially replaced, it is difficult to detect in a timely manner, threatening scheduling consistency.
[0005] Cascading delay: Downstream congestion is only transmitted to upstream through post-event alarms, lacking a feedforward adjustment mechanism. Congestion is prone to spread upstream along the task dependency chain, forming a cascading delay.
[0006] In summary, existing technical solutions in multi-node collaborative scheduling have long been limited by three major problems: repeated resource occupation, impaired scheduling consistency, and cascading delays. There is a lack of a technical solution that can systematically solve the above defects. Summary of the Invention
[0007] This application proposes a multi-node collaborative scheduling scheme for smart logistics, aiming to solve the problems of resource duplication, impaired scheduling consistency, and cascading delay in existing technologies.
[0008] A first aspect of this application provides a multi-node collaborative scheduling system for smart logistics, comprising a scheduling center and multiple logistics nodes connected by communication, wherein: The logistics node is configured as follows: Continuously generate and dynamically maintain node capability envelopes with node versions. The node capability envelope contains the availability of at least two types of resources, wherein the availability is determined by the rated capacity, health coefficient, order acceptance coefficient, occupied quantity and pre-occupied quantity, and the node version increases when the resource or work plan changes to meet the conditions. The system receives a preparation message from the scheduling center carrying node capability credentials, node version, and commit identifier. If the commit identifier is not found in the local idempotent log, the corresponding resource is changed from the committable state to the ready-to-occupy state and a preparation success message is returned. After receiving a confirmation message from the scheduling center, the corresponding resource is changed to the locked state, or the ready-to-occupy resource is released after receiving a release message from the scheduling center. Receive the updated order availability coefficient from the scheduling center. When the change in the order availability coefficient reaches the coefficient update threshold, increment the node version and regenerate the node capability envelope. Execute the task according to the confirmed and locked credential chain, and report the execution receipt to the dispatch center; The dispatch center is configured as follows: Obtain the node capability envelope with node version released by each logistics node; The orders to be fulfilled are broken down into multiple task segments with dependencies and resource requirements, and the latest feasible time window for each task segment is calculated by working backward from the delivery deadline. The latest feasible time window and resource requirements of each task segment are overlapped with the corresponding node capability envelope for time and resources calculation. If the overlap is successful, a node capability certificate with node version is generated and chained into a certificate chain according to the dependency relationship. The successor digest of the last certificate is a predefined initial value. The successor digest of the remaining certificates is recursively calculated by node identifier, start and end time, resource requirement vector, node version and successor digest of the next certificate. Perform cross-node preparation locking on the credential chain, generate a unique commit identifier and send it to each logistics node. Send a confirmation message after all preparations are successful, otherwise send a release message. The downstream congestion risk value is determined based on the confirmed and locked credentials. When the congestion risk value reaches the transmission condition, the congestion risk value is reverse-mapped to the corresponding upstream time slot and the updated order acceptance coefficient is issued so that the corresponding logistics node can regenerate the capacity envelope. The execution instruction is issued based on the confirmed and locked credential chain, and the execution receipt is received to trigger the node capacity envelope update.
[0009] In some embodiments of this application, the scheduling center is further configured as follows: When an abnormal event occurs, starting from the node capability credentials that overlap with the resource type and time interval of the abnormal event, the scheduling influence cone is expanded from four dimensions: task dependency, shared resources, time reachability, and state continuity. Among them, task dependency refers to the sequential dependency between task segments, shared resources refer to the resources occupied by the abnormal event, time reachability refers to the overlapping or sequential connection of time windows, and state continuity refers to the continuous matching of state constraints. The scheduling influence cone is the set of task segments and node capability credentials affected by the abnormal event. When expanding the scheduling influence cone, locked tasks located within the frozen time domain are retained, and local rescheduling is performed only on tasks that are not frozen within the influence cone. The frozen time domain is a set of time slots within a preset time range from the current time.
[0010] In some embodiments of this application, the scheduling center is further configured as follows: A five-level spatiotemporal fulfillment profile tree is constructed. The first to fifth levels of the profile tree are respectively based on the order to be fulfilled, the candidate logistics path, the task segment, the capability envelope resource piece and the node capability certificate, which are used to track the fulfillment progress of each order. The parent node is updated by aggregating the node fingerprints of the child nodes. The node fingerprint is the summary verification value of the corresponding node data. The order fulfillment risk level is determined based on the fulfillment risk aggregated layer by layer.
[0011] In some embodiments of this application, the scheduling center is further configured as follows: According to the order fulfillment risk level, the following steps are taken in sequence: Level 1 new commitment shaping, Level 2 unconfirmed credential chain reorganization, and Level 3 local rescheduling within the impact cone. Specifically, Level 1 new commitment shaping restricts the amount of resources that can be committed for new orders; Level 2 unconfirmed credential chain reorganization releases unconfirmed locked node capability credentials and performs time window shifting, candidate path switching, or subsequent digest recalculation on them, and re-executes the preparation locking; Level 3 local rescheduling within the impact cone performs local rescheduling on tasks that are not frozen within the impact cone. Upgrading to a non-hard constraint risk requires meeting the corresponding upgrade conditions for multiple consecutive evaluation cycles. When a hard constraint occurs, it immediately enters the third level. Downgrading requires simultaneously meeting the fallback threshold and the node version stability condition.
[0012] A second aspect of this application provides a multi-node collaborative scheduling method for smart logistics, applied to logistics nodes in the system described in the first aspect of this application, including: Continuously generate and dynamically maintain node capability envelopes with node versions. The node capability envelope contains the availability of at least two types of resources, wherein the availability is determined by the rated capacity, health coefficient, order acceptance coefficient, occupied quantity and pre-occupied quantity, and the node version increases when the resource or work plan changes to meet the conditions. The system receives a preparation message from the scheduling center carrying node capability credentials, node version, and commit identifier. If the commit identifier is not found in the local idempotent log, the corresponding resource is changed from the committable state to the ready-to-occupy state and a preparation success message is returned. After receiving a confirmation message from the scheduling center, the corresponding resource is changed to the locked state, or the ready-to-occupy resource is released after receiving a release message from the scheduling center. Receive the updated order availability coefficient from the scheduling center. When the change in the order availability coefficient reaches the coefficient update threshold, increment the node version and regenerate the node capability envelope. Execute the task according to the confirmed and locked credential chain, and report the execution receipt to the dispatch center.
[0013] In some embodiments of this application, after the node version is incremented, the node capability credential that references the old node version and has not yet been confirmed as locked becomes invalid. The invalidation means that the status of the corresponding credential is set to unavailable. The process of releasing resources that are ready to be occupied after receiving a release message from the scheduling center includes: Locked tasks within the frozen time domain are retained, where the frozen time domain is a set of time slots within a preset time range from the current time.
[0014] A third aspect of this application provides a multi-node collaborative scheduling method for smart logistics, applied to the scheduling center in the system described in the first aspect of this application, comprising: Obtain the node capability envelope with node version released by each logistics node; The orders to be fulfilled are broken down into multiple task segments with dependencies and resource requirements, and the latest feasible time window for each task segment is calculated by working backward from the delivery deadline. The latest feasible time window and resource requirements of each task segment are overlapped with the corresponding node capability envelope for time and resources calculation. If the overlap is successful, a node capability certificate with node version is generated and chained into a certificate chain according to the dependency relationship. The successor digest of the last certificate is a predefined initial value. The successor digest of the remaining certificates is recursively calculated by node identifier, start and end time, resource requirement vector, node version and successor digest of the next certificate. Perform cross-node preparation locking on the credential chain, generate a unique commit identifier and send it to each logistics node. Send a confirmation message after all preparations are successful, otherwise send a release message. The downstream congestion risk value is determined based on the confirmed and locked credentials. When the congestion risk value reaches the transmission condition, the congestion risk value is reverse-mapped to the corresponding upstream time slot and the updated order acceptance coefficient is issued so that the corresponding logistics node can regenerate the capacity envelope. The execution instruction is issued based on the confirmed and locked credential chain, and the execution receipt is received to trigger the node capacity envelope update.
[0015] In some embodiments of this application, the step of calculating the latest feasible time window for each task segment upstream from the delivery deadline includes: The service time of the current task segment, the transportation handover time between adjacent task segments, and the safety margin are deducted in sequence. The safety margin is a buffer time to deal with execution uncertainties.
[0016] In some embodiments of this application, the step of back-mapping the congestion risk value to the corresponding upstream time slot includes: Calculate the mapping value using the following formula: , in, upstream node In the time slot The risk mapping value, For nodes With downstream nodes Risk attenuation coefficient between them For downstream nodes In the time slot The congestion risk value, For task segment self-node time slot Depart and arrive at the downstream node time slot The probability of arrival, For nodes The set of transport edges between each downstream node.
[0017] In some embodiments of this application, the updated order acceptance coefficient includes: The order availability factor for the corresponding time slot is reduced using the following formula: , in, upstream node resources In the time slot Order acceptance coefficient before discount This is the reduced order acceptance coefficient. For resources Risk sensitivity coefficient upstream node In the time slot The risk mapping value, This is the lower limit of the acceptable order coefficient. To truncate the calculated reduction value to Range operations; Alternatively, a portion of the committable resources for the corresponding time slot may be transferred to a reserved resource pool, which is a resource pool reserved for emergency tasks.
[0018] In summary, the multi-node collaborative scheduling method and system for smart logistics provided in the embodiments of this application, through versioned multi-dimensional capability envelopes and version increment mechanisms, enable expired commitments to be identified and invalidated, solving the problem of resource duplication caused by old vouchers still being considered valid; through a recursive successor digest voucher chain, when the spatiotemporal resources or order of any voucher change, the change will propagate along the dependency relationship and cause the successor digest mismatch of all its predecessor vouchers, thereby enabling the identification of local replacements in the voucher chain through digest verification, solving the problem of impaired scheduling consistency caused by the difficulty in identifying local replacements in the voucher chain; by back-mapping downstream congestion risks to the corresponding upstream time slots and writing back the order acceptance coefficient and triggering the regeneration of capability envelopes, the feedforward of future downstream congestion is converted into the contraction of upstream committable quantities, solving the cascading delay problem caused by the lag in congestion feedback. The aforementioned technical features work together synergistically. The versioned envelope provides verifiable and invalidable commitment boundaries, the recursive digest credential chain ensures chain-level consistency of commitments across nodes, and the congestion feedforward write-back closed loop transforms deterministic predictions into real-time adjustments to upstream committable quantities. Together, these three features achieve a closed-loop system encompassing commitment formation, commitment verification, commitment solidification, and congestion prevention, significantly improving the commitment fulfillment rate and congestion suppression capability of multi-node collaborative scheduling. Attached Figure Description
[0019] The features and advantages of this application will become clearer with reference to the accompanying drawings, which are illustrative and should not be construed as limiting the application in any way. In the drawings: Figure 1 This is a general flowchart of a multi-node collaborative scheduling method for smart logistics, as shown in some embodiments of this application; Figure 2 This is a schematic diagram illustrating the cross-node lock preparation and lock confirmation interaction according to some embodiments of this application; Figure 3 This is a schematic diagram illustrating the reverse transmission of downstream congestion risk according to some embodiments of this application; Figure 4 This is a schematic diagram illustrating the construction of an anomaly effect cone according to some embodiments of this application; Figure 5 This is a schematic diagram of the structure of a multi-node collaborative scheduling system for smart logistics according to some embodiments of this application; Figure 6 The diagram shows a functional block diagram of a multi-node collaborative scheduling system for smart logistics according to some embodiments of this application. Figure 7 The flowchart of a multi-node collaborative scheduling method for smart logistics according to some embodiments of this application is shown. The method consists of... Figure 5 Execution of logistics nodes in the process; Figure 8The flowchart of a multi-node collaborative scheduling method for smart logistics shown in some embodiments of this application is provided. The method comprises... Figure 5 The dispatch center executes the command; Figure 9 This describes the decomposition process of the order task chain according to some embodiments of this application; Figure 10 This describes the process of generating a reverse feasible time window and node capability credential chain according to some embodiments of this application.
[0020] Figure label: 100 Multi-node collaborative scheduling system for smart logistics, 110 Status acquisition module, 120 Capability envelope module, 130 Task chain generation module, 140 Feasible chain assembly module, 150 Consistency control module, 160 Congestion reverse transmission module, 170 Event rescheduling module, 180 Instruction adaptation and auditing module, 190 Node agent set. Detailed Implementation
[0021] In the following detailed description, numerous specific details of this application are illustrated by example to provide a thorough understanding of the relevant disclosure. However, it will be apparent to those skilled in the art that this application can be practiced without these details. It should be understood that the terms “system,” “apparatus,” “unit,” and / or “module” used in this application are one way of distinguishing different parts, elements, sections, or components at different levels in a sequential arrangement. However, these terms may be replaced with other expressions if other expressions can achieve the same purpose.
[0022] It should be understood that when a device, unit, or module is referred to as being "on," "connected to," or "coupled to" another device, unit, or module, it may be directly connected to or coupled to, or communicate with, other devices, units, or modules, or there may be intermediate devices, units, or modules present, unless the context explicitly indicates otherwise. For example, the term "and / or" as used herein includes any one and all combinations of one or more of the relevant listed items.
[0023] The terminology used in this application is for the purpose of describing specific embodiments only and is not intended to limit the scope of this application. As shown in the specification and claims of this application, unless the context clearly indicates otherwise, words such as "a," "an," "an," and / or "the" do not specifically refer to the singular and may also include the plural. Generally speaking, the terms "comprising" and "including" only indicate that explicitly identified features, integrals, steps, operations, elements, and / or components are included, and such expressions do not constitute an exclusive list, and other features, integrals, steps, operations, elements, and / or components may also be included.
[0024] Referring to the following description and accompanying drawings, these and other features and characteristics, operating methods, functions of related structural elements, combinations of parts, and economics of manufacture of this application can be better understood, wherein the description and drawings form part of the specification. However, it is clearly understood that the drawings are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. It is understood that the drawings are not drawn to scale.
[0025] Various structural diagrams are used in this application to illustrate various variations of the embodiments according to this application. It should be understood that the preceding or following structures are not intended to limit this application. The scope of protection of this application is determined by the claims.
[0026] In intelligent logistics systems, efficient collaborative scheduling of orders across multiple nodes is crucial for ensuring fulfillment efficiency and resource utilization. A typical logistics order requires loading, unloading, transportation, and handover to be completed sequentially at multiple logistics nodes (such as warehousing centers and distribution hubs). Each node is equipped with various resources, including platforms, loading / unloading equipment, sorting equipment, buffers, vehicles, and personnel. The order as a whole is constrained by delivery deadlines, and resource fluctuations at any stage can affect the entire fulfillment chain. To achieve resource reservation and coordination, existing solutions typically involve each node publishing a node capability envelope. The scheduling center matches resources to tasks according to this envelope and uses a two-phase commit method for resource reservation and confirmation: first, each participating node prepares and reserves the target resource; then, once all preparations are complete, a unified confirmation and lock is made to reduce resource conflicts caused by single-point reservations. In this context, a node capability envelope refers to an aggregated description of the available resources that a node can commit to new tasks within future time slots, generated based on its local resource status and job plan. A time slot refers to a time unit formed by dividing the scheduling time domain according to a unified clock. A node capability credential is a record indicating the corresponding resource commitment formed after a task segment of an order is successfully matched with a node capability envelope. A credential chain is a chain formed by connecting multiple node capability credentials according to task segment dependencies. The subsequent digests of each credential on the chain recursively contain information about its successor credentials, used for chain-level consistency verification of cross-node commitments. It should be noted that the credential chain described in this application is not a blockchain. It does not rely on a consensus mechanism or distributed ledger, but is formed by the orderly concatenation of resource commitment records generated by the scheduling center for the task chain of a single order according to task segment dependencies. The essence of the credential is a node's commitment to the right to use resources in future time slots, rather than a decentralized transaction record.
[0027] As described in the background section, this scheme has the following drawbacks: resource duplication due to lack of version control of the envelope and old vouchers still being considered valid; impaired scheduling consistency due to lack of chain-level integrity verification of the voucher chain and difficulty in identifying partial replacement of links; and cascading delays caused by congestion relying solely on post-event alarms and lacking feedforward adjustment.
[0028] To systematically address the aforementioned shortcomings, this application proposes a multi-node collaborative scheduling scheme for smart logistics. It aims to construct a closed-loop scheduling system covering the entire chain from commitment formation, commitment verification, commitment solidification to execution feedback through three collaborative mechanisms: versioned node capability envelopes, recursive successor summary credential chains, and congestion feedforward write-back.
[0029] As shown in Figure 1 (a general flowchart of a multi-node collaborative scheduling method for smart logistics according to some embodiments of this application), the core of this application lies in three mutually cooperating mechanisms: First, versioned node capability envelopes, where nodes increment their versions when resources or work plans change, automatically invalidating unlocked vouchers that reference older versions, thus preventing resource duplication from the source; second, a recursive successor summary voucher chain, where changes in the spatiotemporal resources or order of any voucher propagate along dependencies and cause mismatches in the successor summaries of all its predecessor vouchers, thereby identifying local replacements in the voucher chain through summary verification and ensuring cross-node scheduling consistency; and third, congestion feedforward write-back, which maps the future congestion risk downstream to the corresponding time slot upstream and reduces the order acceptance coefficient, triggering node version increments and envelope regeneration, enabling upstream to proactively shrink its committable capacity before congestion occurs and suppress cascading delays. The above mechanisms are implemented through... Figure 2 The cross-node preparation locking and confirmation locking interaction process shown in Figure 3 (a schematic diagram of the cross-node preparation locking and confirmation locking interaction according to some embodiments of this application) achieves consistent occupation of cross-node resources. Congestion feedforward prevention is achieved through risk mapping and write-back of the available order coefficient as shown in Figure 3 (a schematic diagram of the reverse transmission of downstream congestion risk according to some embodiments of this application). Furthermore, in abnormal scenarios, the local rescheduling mechanism of the influence cone shown in Figure 4 (a schematic diagram of the construction of the abnormal influence cone according to some embodiments of this application) only reschedules affected tasks, maintaining the stability of unaffected tasks.
[0030] In summary, this application organically integrates commitment formation, commitment verification, commitment solidification, congestion prevention, and anomaly recovery, systematically solving the defects of resource duplication, impaired scheduling consistency, and cascading delays in existing technologies.
[0031] The technical solution of this application will be further described below with reference to the accompanying drawings.
[0032] Figure 5 This is a schematic diagram of a multi-node collaborative scheduling system for smart logistics according to some embodiments of this application. The system includes a scheduling center and multiple logistics nodes, and the scheduling center is connected to each logistics node via a communication network. Wherein: The dispatch center deploys a coordination server, which can be a standalone device, a server cluster consisting of multiple servers, or a virtualized computing instance. This server is used to run centralized processing functions such as order processing, task chain generation, feasible chain assembly, cross-node consistency control, congestion reverse propagation, event rescheduling, instruction adaptation, and auditing. In cross-enterprise or cross-campus scenarios, the coordination server can be deployed in a primary-backup configuration: before sending a preparation message, the primary coordination server writes the commit identifier, credential chain summary, and participating node list to the consistency log; after taking over, the backup coordination server queries the commit status based on the idempotent logs of each node's proxy and resends or releases the corresponding messages.
[0033] Each logistics node is equipped with node proxy devices, which are edge computing devices, industrial computers, servers, or virtualized computing instances. These devices are used for local processing functions such as generating and maintaining versions of node capability envelopes, locking responses, task execution control, and reporting receipts. Logistics nodes also connect to local execution resources such as platforms, loading and unloading equipment, sorting equipment, buffers, vehicles, automated guided vehicles (AGVs), and conveyor lines. They interact with these local execution resources through external systems such as WMS (Warehouse Management System), TMS (Transportation Management System), WCS (Warehouse Control System), RCS (Robot Control System), and PLC (Programmable Logic Controller). The device numbers, personnel shifts, and complete local work plans within each node remain within the node management domain. The node proxy devices aggregate local device details into node capability envelopes before publishing them externally.
[0034] The communication network connecting the dispatch center and each logistics node can adopt communication methods such as enterprise intranet, dedicated line, industrial data space interface, message queue or HTTP interface.
[0035] It should be noted that the aforementioned dispatch center, logistics nodes, node agent equipment, and local execution resources can all be implemented using general-purpose servers, edge devices, and industrial equipment. Their specific models, manufacturers, and deployment methods do not constitute a limitation on this application.
[0036] The following text combines Figure 6 The functional modules of the multi-node collaborative scheduling system for smart logistics are described.
[0037] Figure 6 This is a functional block diagram of a multi-node collaborative scheduling system for smart logistics, according to some embodiments of this application. Figure 6As shown, the multi-node collaborative scheduling system 100 for smart logistics includes a status acquisition module 110, a capability envelope module 120, a task chain generation module 130, a feasible chain assembly module 140, a consistency control module 150, a congestion reverse transmission module 160, an event rescheduling module 170, an instruction adaptation and auditing module 180, and a node agent set 190. In some embodiments, it also includes a profile tree management module and a hierarchical control module.
[0038] Figure 6 The functional modules shown are divided into two sets according to their deployment boundaries: Set of data from the dispatch center: The status acquisition module 110, task chain generation module 130, feasible chain assembly module 140, consistency control module 150, congestion reverse transmission module 160, event rescheduling module 170, instruction adaptation and auditing module 180, profile tree management module, and hierarchical control module are deployed on the coordination server of the scheduling center. The coordination server interacts with the node agent devices of each logistics node through communication connections.
[0039] Logistics node-side set: Capability envelope module 120, deployed as node agent devices at various logistics nodes; The node agent set 190 consists of node agent devices deployed at various logistics nodes.
[0040] Each node agent carries the corresponding node's envelope generation, version maintenance, idempotent locking response, and coefficient update triggering logic.
[0041] The dispatch center module and the logistics node module are connected via communication to form the overall system. Envelope generation and locking responses at any logistics node are completed locally on that node, without relying on the collaborative calculations of the dispatch center. Specifically: The status acquisition module 110 is used to acquire status data of multiple logistics nodes, transportation edges, and orders awaiting fulfillment, and to acquire the capability envelopes published by each logistics node. The status data includes orders and fulfillment constraints, node status and local operation plans, transportation edges, and external events. It is also responsible for time synchronization, data verification, and event normalization. It includes a node data access unit, a transportation data access unit, an order access unit, a unified clock unit, and an event normalization unit. The unified clock unit provides comparable time slot numbers for capability envelopes and credentials.
[0042] The capability envelope module 120 is used to generate and dynamically maintain node capability envelopes with node versions based on local resource status and local work plans. The node capability envelope represents the resource capacity that a logistics node can commit to for new tasks in future time slots, including the availability of at least two types of resources. The availability is determined by rated capacity, health coefficient, order acceptance coefficient, occupied quantity, and pre-occupied quantity. The health coefficient is a reduction factor for available quantity determined based on the equipment's health status; when the equipment's health status declines, the health coefficient decreases, and the available quantity of the corresponding resources decreases accordingly. The order acceptance coefficient represents the proportion of capacity that a logistics node opens to commit to new tasks; its value is adjusted based on downstream congestion risk write-backs and is used to reduce or restore the node's committable resource quantity. The node version increments when resource or work plan changes reach preset conditions. The capability envelope module 120 includes a resource quantity calculation unit, a state transition constraint unit, an envelope segment merging unit, a version management unit, and a release unit.
[0043] The task chain generation module 130 is used to decompose the order to be fulfilled into multiple task segments with dependencies and resource requirements, and to establish state dependencies between task segments (including container continuity, transfer of ownership, temperature continuity, and subsequent state matching).
[0044] The feasible chain assembly module 140 is used to calculate the latest feasible time window for each task segment in reverse upstream from the delivery deadline. It performs time and resource overlap calculations on the latest feasible time window and resource requirements with the corresponding node capability envelope. If the overlap is successful, it generates node capability credentials with node versions and concatenates them into a credential chain according to the dependency relationship. The digest of the last credential in the credential chain is a predefined initial value, and the digests of the remaining credentials are recursively calculated from the node identifier, start and end times, resource requirement vector, node version, and the next credential digest. The feasible chain assembly module 140 also maintains candidate labels. Each candidate label records at least the current task segment, cumulative cost, feasible time window, node version used, remaining slack, and subsequent digest. The remaining slack is the surplus time of the feasible time window of the task segment relative to its expected service duration, which can be used to absorb execution delays. When multiple candidate labels have the same or worse time windows and higher cumulative costs in the same node and the same task segment, the dominated candidate label is deleted to reduce the solution scale.
[0045] The consistency control module 150 is used to perform cross-node preparation locking and confirmation locking on the credential chain, including generating a unique commit identifier, receiving a preparation success message, sending a confirmation message or a release message, and performing idempotent processing, timeout recycling and confirmation timeout monitoring; the node agent reserves resources in the preparation state but does not issue physical actions, and is only allowed to enter the execution queue in the confirmation state.
[0046] The congestion reverse transmission module 160 is used to generate the expected arrival volume of future time slots for each node based on the confirmed locked and ready-to-occupy credentials, determine the downstream congestion risk value, reverse map the congestion risk value to the order-accepting coefficient of the upstream node, and send the updated order-accepting coefficient to the upstream node when the change in the order-accepting coefficient reaches the coefficient update threshold, so that the upstream node triggers the node version increment and the regeneration of the node capability envelope.
[0047] The event rescheduling module 170 is used to construct a scheduling impact cone by using the capability credentials of the affected node (i.e., resource overlap credentials) as seeds when a node version changes or an abnormal event occurs. It expands along four dimensions: task dependency, shared resources, time reachability, and state continuity, and limits the scope of recalculation, performing local rescheduling only on tasks that are not frozen within the impact cone.
[0048] The instruction adaptation and auditing module 180 is used to issue execution instructions based on the confirmed locked voucher chain, receive execution receipts and trigger node capability envelope updates, and complete instruction mapping and full-chain traceability for external systems such as WMS / TMS / WCS / RCS / PLC. It records voucher generation, summary calculation, version verification, preparation results, confirmation results, execution receipts and release reasons. The audit records can reconstruct a scheduling decision according to the order identifier, task identifier or submission identifier.
[0049] The node agent set is 190, including node agent devices for each logistics node. The node agent devices are configured to: continuously generate and dynamically maintain node capability envelopes with node versions; receive preparation messages from the scheduling center carrying node capability credentials, node versions, and submission identifiers; if the submission identifier does not exist in the local idempotent log (used to record processed submission identifiers and return existing results for duplicate messages carrying the same submission identifier), and the node version, time overlap, resource remaining capacity, expiration time, and subsequent summary are all verified, change the corresponding resource from a committable state to a ready-to-occupy state and return a preparation success message; after receiving a confirmation message, change the corresponding resource to a locked state, or release the ready-to-occupy resource after receiving a release message; receive updated order acceptance coefficients from the scheduling center, increment the node version and regenerate the node capability envelope when the change in the order acceptance coefficient reaches the coefficient update threshold; control the execution of tasks locally using the confirmed locked credential chain, report execution receipts to the scheduling center, and update resource occupancy and credential status based on the execution receipts. Local execution resources include vehicles, automated guided vehicles, conveyor lines, platforms, buffers, sorting equipment, etc. Node agent devices interact with local execution resources through external systems such as WMS / TMS / WCS / RCS / PLC and report abnormal events to the event rescheduling module 170.
[0050] In some preferred embodiments, it further includes: The image tree management module is used to establish a five-level parent-child index based on pending orders, candidate logistics routes, task segments, capability envelope resource pieces, and node capability credentials, and to aggregate fulfillment risks along the parent node path. It is also responsible for generating and verifying the variable leaf node bitmap, parent chain fingerprint, and fixed-length capability incremental messages. The node fingerprint is the summary verification value of the corresponding node data. The image tree management module includes a hierarchical node storage unit, a parent-child index unit, a cross-reference unit, a risk roll-up unit, a fingerprint update unit, and a fixed-length incremental encoding unit.
[0051] The hierarchical control module is used to select level 1, 2, or 3 control outputs based on the hierarchically aggregated performance risks: Level 1 control results are written to the capability envelope for commitment shaping of new tasks for which credentials have not yet been generated; Level 2 control results are written to the candidate chain assembly and consistency control process for reorganizing unconfirmed credential chains; and Level 3 control results are written to the seed set of the event rescheduling module 170 for performing local rescheduling within the scheduling impact cone. The hierarchical control module includes a threshold judgment unit, an upgrade confirmation unit, a hysteresis exit unit, a capability shaping unit, a credential chain reorganization unit, and an impact cone triggering unit.
[0052] The following defines the key data structures and core formulas involved in this application. It should be understood that the following data structures and formulas are provided for the purpose of explaining the principles of this application, and the addition, deletion, and combination of fields do not constitute a limitation on this application. The specific generation and usage process will be further explained later.
[0053] 1. Node Capability Encapsulation E A node capability envelope represents the resource capabilities that a logistics node can commit to new tasks within future time slots. It includes at least the node identifier, the time interval of the capability envelope segment, multi-dimensional resource availability, and the node version. It may also include the pre-task status, post-task status, service duration distribution, and expiration time. Among these, the first... The first logistics node Class resources in the Actual available quantity of each time slot Calculate using the following formula: , in, For rated capacity, For equipment health coefficient, This is the order acceptance coefficient. This refers to the capacity already occupied by local plans. Capacity that has been prepared for or confirmed to be occupied by cross-node credentials.
[0054] 2. Feasible time window W The feasible time window of a task segment represents the time range within which the task segment can be executed. It is determined by constraints such as the release time, the latest completion time, and the time interval of the capability envelope segment. When propagating upstream from the delivery deadline, the service duration of the current task segment, the transportation handover duration between adjacent task segments, and the safety margin are deducted in sequence (see the following text for details of the propagation process).
[0055] 3. Node Capability Certificate V and Subsequent Summary A node capability credential V is a resource commitment record formed after a task segment and a node capability envelope are successfully matched. It includes at least the order identifier, task identifier, node identifier, start time, end time, resource requirement vector, node version, credential status, expiration time, submission identifier, and subsequent digest. The credential status includes at least candidate, ready to occupy, locked, executing, completed, released, and expired. Starting from the last credential, the subsequent digest of each credential is recursively calculated using the following formula: , Where Hash is the digest calculation function. , , , , vouchers The order identifier, task identifier, node identifier, start time, end time, resource requirement vector, and node version; This serves as the successor digest of the next node's capability credential, with the successor digest of the final credential being a predefined initial value. When the spatiotemporal resources or order of any credential change, this change propagates along the dependencies and causes a mismatch in the successor digests of all its predecessor credentials, thus allowing for the identification of local substitutions in the credential chain through digest verification.
[0056] 4. Congestion risk reverse mapping and order availability coefficient write-back Downstream nodes In the time slot The congestion risk value is denoted as When the congestion risk value reaches the preset transmission condition, the congestion risk value is reverse-mapped to the upstream node according to the following formula. In the time slot Risk mapping value: , In the formula, For nodes The set of transport edges between each downstream node, For nodes With downstream nodes Risk attenuation coefficient between them For task segment self-node time slot Depart and arrive at the downstream node time slot The probability of arrival.
[0057] Upstream node resources In the time slot The order acceptance coefficient is reduced according to the following formula: , in, upstream node resources In the time slot Order acceptance coefficient before discount This is the reduced order acceptance coefficient. For resources Risk sensitivity coefficient upstream node In the time slot The risk mapping value, This is the lower limit of the acceptable order coefficient. To truncate the calculated reduction value to Range operations.
[0058] 5. The estimated arrival volume of a logistics node in a future time slot is determined by the sum of the locked arrival volume and the candidate arrival volume: , In the formula, This is the set of locked credentials that have been confirmed. This is a set of vouchers that are in a ready-to-use state. For evidence The resource requirements in terms of caching or service resources. For evidence In the time slot Probability of arrival within the range The confidence weight of the candidate credential (can be determined by the ratio of the number of successfully prepared nodes to the total number of participating nodes in the credential chain, the remaining validity period of the credential, and the stability of the node version; the weight for confirming and locking the credential is 1). The recursive process is detailed below.
[0059] The multi-node collaborative scheduling system for smart logistics follows the following basic rules and principles during the collaborative scheduling process.
[0060] 1. Node versioning and credential expiration rules The logistics node continuously maintains its current version and generates a capacity envelope (hereinafter referred to as the envelope) based on this version. The envelope contains the availability of at least two resources, which are determined by the rated capacity, health coefficient, order acceptance coefficient, occupied quantity, and pre-occupied quantity. When at least one of the following changes—local occupied quantity, pre-occupied quantity, equipment health status, cache status, or local work plan—reaches a preset condition, the node increments its version and regenerates the envelope based on the latest available quantity.
[0061] When the scheduling center generates node capability credentials and concatenates the credential chain, it records the node version referenced during the generation of each credential and includes this version in the locking request. During node consistency verification: if the version referenced by the credential matches the node's current version, the credential can enter the locking process; if the version referenced by the credential is older than the node's current version, and the credential has not yet been locked, the credential becomes invalid. Invalidation is indicated by setting the corresponding credential's status to unavailable, and the node rejects the locking request based on that credential.
[0062] Confirmed locked credentials do not become invalid due to node version increments, and their corresponding resource usage is included in the occupied amount when the envelope is regenerated, avoiding the duplication of locked resources. Credentials that have entered the frozen time domain or are being executed are allowed to continue execution, be downgraded, or be stopped by the logistics node according to the security policy; the frozen time domain is a set of time slots within a preset time range from the current time, and locked tasks within the frozen time domain are retained.
[0063] 2. Idempotent two-phase locking rule In this application, idempotency means that when a duplicate request carrying the same commit identifier is executed repeatedly, it returns the same result as the first execution, and does not repeatedly change the resource state. Credential locking adopts a state transition rule of "ready to occupy → locked / released": When in the ready-to-occupy state, the node receives a preparation message from the scheduling center carrying the node capability certificate, node version, and commit identifier. If the commit identifier is not found in the local idempotent log, the node version, time overlap, resource balance, expiration time, and subsequent summary are verified. If the verification passes, the corresponding resource is changed from the committable state to the ready-to-occupy state, and a preparation success message is returned. If the verification fails, a conflict result is returned, and the existing state is not changed.
[0064] The condition for changing from ready to occupy to locked is: after the scheduling center receives all ready success messages, it sends a confirmation message, and after the node receives the confirmation message, it changes the corresponding resource to a locked state.
[0065] The conditions for changing from preparing to occupy to releasing are: any node's capability certificate fails verification, the pre-occupancy expires, or the scheduling center abandons this scheduling. After receiving the release message, the node releases the resources that were prepared to occupy.
[0066] For duplicate prepare, confirm, or release messages carrying the same commit identifier, the node returns the existing result from the idempotent log and does not deduct resources repeatedly to cope with scheduling center failures or network partitions. The prepare-to-occupy status has a timeout recovery period, and timeout recovery only applies to prepare-to-occupy resources that have not yet been confirmed as locked; locked tasks within the frozen time domain are not revoked to ensure the deterministic executableness of recent tasks.
[0067] 3. Discard rule for overlapping empty values The dispatch center uses the delivery deadline of the pending order as the starting point for backpropagation. It calculates the latest feasible time window for each task segment upstream from the delivery deadline, and deducts the service time of the current task segment, the transportation handover time between adjacent task segments, and the safety margin in turn. The safety margin is a buffer time to deal with execution uncertainties. The latest feasible time window and resource requirements of each task segment are calculated to overlap with the corresponding node capacity envelope in terms of time and resources.
[0068] When the intersection of the latest feasible time window of any task segment and the time interval of the corresponding capability envelope segment is empty, the candidate logistics path containing the task segment is discarded, and the feasible certificate chain is reassembled based on the remaining candidate logistics paths. When the overlap is successful, node capability certificates with node versions are generated and concatenated into a certificate chain according to the dependency relationship. The successor summary of the last certificate is a predefined initial value, and the successor summaries of the remaining certificates are recursively calculated by the node identifier, start and end time, resource requirement vector, node version and the successor summary of the next certificate until a certificate chain in which the time and resource constraints of each node are satisfied is formed.
[0069] 4. Congestion propagation and order availability coefficient write-back rules The dispatch center recursively calculates the estimated queuing volume for each logistics node in multiple future time slots based on the confirmed locked node capability credentials, the expected arrival distribution of task segments, and the expected service capacity of the nodes. It then determines the congestion risk value of downstream nodes based on the ratio of the estimated queuing volume to the buffer capacity, the rate of service capacity decline, and arrival uncertainty. The estimated arrival volume includes locked arrival volume and candidate arrival volume: the locked arrival volume is obtained by multiplying the arrival probability quality of the confirmed locked node capability credentials within the corresponding arrival time slot by the buffer occupancy requirement corresponding to that credential; for node capability credentials in the ready-to-occupy state, a confidence weight is determined based on the proportion of successfully ready nodes, the remaining validity period of the credential, and the stability of the node version to obtain the candidate arrival volume.
[0070] When the congestion risk value of a downstream node reaches a preset transmission condition, the dispatch center maps the congestion risk value back to the corresponding upstream time slot. It calculates the risk mapping value for each upstream node's corresponding time slot based on the risk attenuation coefficient, arrival probability, and transport edge set. According to the mapping result, the order-accepting coefficient of the upstream node's corresponding time slot is reduced by the risk sensitivity coefficient and the lower limit of the order-accepting coefficient. Alternatively, a portion of the committable resources for the corresponding time slot is transferred to a reserved resource pool. This reserved resource pool is a resource pool reserved for emergency tasks. The reduction or transfer result is written into the order-accepting coefficient of the upstream node's corresponding resources and corresponding time slot and distributed to the corresponding logistics node. The logistics node substitutes the updated order-accepting coefficient into the available quantity calculation formula to recalculate the available quantity. When the change in the order-accepting coefficient reaches the coefficient update threshold, the node version is incremented and a new envelope is generated. Subsequent orders can only form vouchers based on the new version envelope.
[0071] 5. Execution of receipt and envelope update rules Logistics nodes execute tasks using local resources according to the confirmed and locked credential chain, and report execution receipts to the dispatch center. The execution receipts include the status of the task, such as start, completion, cancellation, deviation or abnormality. The execution instructions carry order identifiers, task identifiers, submission identifiers and credential identifiers, so that the execution receipts can be traced back to the corresponding resource commitments.
[0072] Logistics nodes update resource usage and credential status based on execution receipts; the scheduling center receives execution receipts and triggers node capability envelope updates. When resource status changes exceed a threshold, logistics nodes increment their node version and regenerate the capability envelope for the affected time period. For execution receipts carrying anomaly flags, the scheduling center triggers event rescheduling, starting with node capability credentials that overlap with the resource type and time interval of the anomalous event, and expanding the scheduling influence cone along four dimensions: task dependency, shared resources, time reachability, and status continuity. Locked tasks within the frozen time domain are preserved, and only unfrozen tasks within the influence cone are subject to local rescheduling. After rescheduling is completed, the updated credential chain and corresponding execution instructions are issued.
[0073] Figure 7 The flowchart of a multi-node collaborative scheduling method for smart logistics shown in some embodiments of this application is provided. The method comprises... Figure 5 The execution of logistics nodes within the process. For example... Figure 7 As shown, the method includes: S710, continuously generate and dynamically maintain node capability envelopes with node versions. The node capability envelope contains the availability of at least two types of resources. The availability is determined by the rated capacity, health coefficient, order acceptance coefficient, occupied quantity, and pre-occupied quantity. The node version increases when resource or work plan changes meet certain conditions.
[0074] The S710 is used to provide a quantifiable view of resource commitments to the scheduling center without exposing the complete internal scheduling of nodes.
[0075] Specifically, logistics nodes divide the scheduling time domain into multiple time slots according to a unified clock. The availability of at least two resources in each time slot is calculated, determined by rated capacity, health coefficient, order acceptance coefficient, occupied quantity, and pre-occupied quantity. The availability of multiple resource types within the same time slot is grouped into a resource vector, and the resource vector is configured with pre-job status, post-job status, and service duration distribution. Adjacent resource segments that meet the same task level, identical or compatible pre-job and post-job statuses, and whose service duration distribution changes do not exceed a merging threshold are merged into a capability envelope segment, forming a node capability envelope with a node version and published to the scheduling center. When at least one of the following changes—local occupied quantity, pre-occupied quantity, equipment health status, cache status, or local job plan—reaches a preset condition, the node version is incremented, and a new envelope is generated based on the latest available quantity.
[0076] S720: Receive a preparation message from the scheduling center carrying node capability credentials, node version, and commit identifier. If the commit identifier is not present in the local idempotent log, change the corresponding resource from the committable state to the ready-to-occupy state and return a preparation success message. After receiving a confirmation message from the scheduling center, change the corresponding resource to the locked state, or release the ready-to-occupy resource after receiving a release message from the scheduling center.
[0077] The S720 is used to respond to cross-node locking requests from the scheduling center, verify credentials locally, and reserve corresponding resources.
[0078] Specifically, the logistics node receives a preparation message from the scheduling center carrying node capability credentials, node version, and a submission identifier. If the submission identifier is not present in the local idempotent log, the node version, time overlap, resource availability, expiration time, and subsequent summary are verified. If the verification passes, the corresponding resource is changed from a committable state to a ready-to-occupy state, the submission identifier is written to the idempotent log, and a preparation success message is returned. If the verification fails, a conflict result is returned. After receiving a confirmation message, the logistics node changes the ready-to-occupy state to a locked state. After receiving a release message or after the pre-occupancy expires, the ready-to-occupy resource is released. Locked tasks within the frozen time domain are retained. The frozen time domain is a set of time slots within a preset time range from the current time. For duplicate preparation, confirmation, or release messages carrying the same submission identifier, the existing result in the idempotent log is returned, and resources are not deducted repeatedly.
[0079] The S730 receives the updated order availability coefficient from the scheduling center. When the change in the order availability coefficient reaches the coefficient update threshold, it increments the node version and regenerates the node capability envelope.
[0080] S730 is used to transmit downstream congestion risks to this node, causing the commitment capacity to shrink dynamically with the risk.
[0081] Specifically, the logistics node receives the updated order availability coefficient from the dispatch center and recalculates the available resources using the formula. When the change in the order availability coefficient reaches the coefficient update threshold, the node version is incremented and a new node capability envelope is generated, ensuring that subsequent orders are based solely on the new version envelope. After the version increment, node capability vouchers referencing the old node version and not yet confirmed as locked become invalid; this invalidation means setting the corresponding voucher's status to unavailable. Vouchers already in the frozen state or in execution are allowed to continue execution, be downgraded, or stopped by the logistics node according to the security policy.
[0082] S740 executes the task according to the confirmed and locked credential chain and reports the execution receipt to the dispatch center.
[0083] The S740 is used to fulfill committed resources and feed the execution results back to the scheduling system, enabling the physical execution results to participate in the next round of envelope updates.
[0084] Specifically, logistics nodes map the nodes, time windows, resource vectors, and job statuses in the locked credentials to the corresponding job tasks for local execution resources. These tasks include WMS wave or picking tasks, WCS conveying tasks, RCS mobile robot tasks, TMS transportation tasks, platform reservation tasks, or PLC equipment recipes. Execution instructions carry order identifiers, task identifiers, submission identifiers, and node credential identifiers, enabling execution receipts to be traced back to the corresponding resource commitments. Logistics nodes update resource occupancy and credential status based on task start, completion, cancellation, deviation, or anomaly receipts. When resource status changes exceed a threshold, the node version is incremented, the capacity envelope for the affected time period is regenerated, and the abnormal event is reported to the scheduling center to trigger event rescheduling.
[0085] Figure 8 The flowchart of a multi-node collaborative scheduling method for smart logistics according to some embodiments of this application is shown. The method consists of... Figure 5 The scheduling center in the process executes the commands. For example... Figure 8 As shown, the method includes: S810: Obtain the node capability envelope with node version released by each logistics node.
[0086] S810 is used to obtain the latest resource commitment capabilities of each node, providing a basis for task decomposition and certificate generation.
[0087] Specifically, the dispatch center receives the node capability envelopes published by each logistics node, and obtains the resource availability, pre-job status, post-job status, service duration distribution and node version of each time slot in the envelope, which serve as inputs for subsequent time window reverse calculation and overlap calculation.
[0088] S820 breaks down orders to be fulfilled into multiple task segments with dependencies and resource requirements, and calculates the latest feasible time window for each task segment by working backward from the delivery deadline.
[0089] The S820 is used to convert orders into a sequence of tasks across nodes and to determine the time range within which each task segment can be scheduled.
[0090] Specifically, based on the order's origin, destination, and candidate logistics routes, the order is decomposed into intra-node operation task segments, inter-node transportation task segments, and inter-node handover task segments. Each task segment is configured with a resource demand vector, release time, latest completion time, service duration distribution, preceding task identifier, succeeding task identifier, and equipment compatibility constraints. Furthermore, state constraints are established between adjacent task segments, such as container identifier continuity, cargo ownership handover, temperature status continuity, vehicle loading continuity, or matching of equipment's subsequent state with the next operation's preceding state (the decomposition process of the order task chain is as follows). Figure 9 (As shown). Then, starting from the delivery deadline of the last task segment, according to the feasible start time of the subsequent task segment, the estimated service time of the current task segment, the transportation or handover time between adjacent task segments, and the safety margin are deducted in sequence, and the intersection is calculated with the release time of the current task segment and the time interval of the corresponding capacity envelope segment to obtain the latest feasible time window of each task segment; when the intersection result of any task segment is empty, the candidate logistics path containing that task segment is discarded.
[0091] S830 calculates the overlap between the latest feasible time window and resource requirements of each task segment and the corresponding node capability envelope in terms of time and resources. If the overlap is successful, a node capability certificate with a node version is generated and concatenated into a certificate chain according to the dependency relationship. The successor digest of the last certificate is a predefined initial value, and the successor digests of the remaining certificates are recursively calculated by the node identifier, start and end time, resource requirement vector, node version and the successor digest of the next certificate.
[0092] S830 is used to map the time windows and resource requirements of task segments to redeemable vouchers for each node, forming a chain of commitments. This allows changes in the spatiotemporal resources or sequence of any stage to be identified through digest verification. Specifically, the latest feasible time window and resource requirement vector of each task segment are overlapped with the corresponding node capability envelope in terms of time and resources. When the overlap is successful, a node capability voucher with a node version is generated. The voucher includes an order identifier, task identifier, node identifier, start time, end time, resource requirement vector, node version, and subsequent digest (the generation process of the reverse feasible time window and node capability voucher chain is as follows). Figure 10(As shown). Multiple vouchers are chained together into a voucher chain according to the dependency relationship of the task segments. The successor digest of the last voucher is a predefined initial value, and the successor digests of the remaining vouchers are recursively calculated by the node identifier, start and end time, resource requirement vector, node version, and the successor digest of the next voucher.
[0093] S840 performs cross-node preparation locking on the credential chain, generates a unique commit identifier and sends it to each logistics node. After all preparations are successful, a confirmation message is sent; otherwise, a release message is sent.
[0094] S840 is used to ensure that all resource usage on the credential chain is confirmed in the same commit, avoiding inconsistencies across nodes caused by partial locking.
[0095] Specifically, the scheduling center generates a unique commit identifier for each credential chain lock and sends a preparation message carrying the node capability credential, node version, and commit identifier to each logistics node involved in the credential chain; each logistics node returns a preparation success message after completing local verification and preparing to occupy the resource; after receiving all preparation success messages, the scheduling center sends a confirmation message to each logistics node, making the corresponding resource a locked state; if any node returns a conflict or fails to respond within a timeout period, a release message is sent to the nodes that have successfully prepared, or the node waits for the preparation to occupy the resource to time out and be reclaimed.
[0096] S850 determines the downstream congestion risk value based on the confirmed locked credentials. When the congestion risk value reaches the transmission condition, it maps the congestion risk value back to the corresponding upstream time slot and issues an updated order acceptance coefficient so that the corresponding logistics node can regenerate the capacity envelope. It issues an execution instruction based on the confirmed locked credential chain and receives an execution receipt to trigger the node capacity envelope update.
[0097] S850 is used to feed forward downstream congestion risks to upstream nodes, enabling upstream nodes to proactively reduce their committed capacity before congestion occurs and to convert confirmed and locked commitments into execution instructions.
[0098] Specifically, based on the confirmed and locked node capability credentials, the expected arrival distribution of task segments, and the expected service capacity of nodes, the expected queuing volume of each logistics node in multiple future time slots is recursively calculated to determine the congestion risk value of downstream nodes. When the congestion risk value reaches the transmission condition, it is mapped back to the corresponding upstream time slot, and the updated order acceptance coefficient is calculated according to the reduction formula. Alternatively, a portion of the committable resources for the corresponding time slot is transferred to the reserved resource pool, and the reduction or transfer results are sent to the upstream logistics nodes to enable the upstream nodes to increment their node versions and regenerate their capability envelopes. Simultaneously, execution instructions are issued to the corresponding logistics nodes and transportation execution objects based on the confirmed and locked credential chain, and execution receipts are received to trigger the update of the node capability envelope.
[0099] The following is combined Figure 2The interaction process for cross-node lock preparation and lock confirmation is described. It should be noted that the scheduling center in this application... Figure 2 The term "coordinator" is used to represent the logistics nodes. Figure 2 The term "node agent" is represented in the image. For example... Figure 2 As shown, the scheduling center generates a unique commit identifier (commitId) for each credential chain lock and sends preparation messages to the logistics nodes involved in the credential chain. Taking a credential chain consisting of credentials V1 to V6 as an example: the scheduling center sends a preparation message PREPARE(V1, ver) carrying credential V1 and the node version to logistics node A, a preparation message PREPARE(V4, H5) carrying credential V4 and the subsequent digest H5 to logistics node C, and a preparation message PREPARE(V6, HØ) carrying credential V6 and the final digest HØ to logistics node E. Each preparation message carries the aforementioned commit identifier.
[0100] After receiving the preparation message, the logistics node verifies whether its node version is still equal to the version in the voucher, whether the voucher has expired, whether the resource requirement conflicts with other vouchers that are ready to occupy or locked, whether the previous and current states are compatible, and whether the subsequent digest matches. If the verification passes, the logistics node changes the corresponding resource from the committable state to the ready-to-occupy state, writes the commit flag to the idempotent log, and returns a READY message; if the verification fails, it returns a REJECT message.
[0101] After receiving READY from all logistics nodes, the dispatch center sends a COMMIT (commitId) confirmation message to each logistics node, and the logistics node changes its ready-to-occupy status to locked. If any logistics node returns REJECT or fails to respond within a specified time, the dispatch center sends a RELEASE release message to the logistics node that has successfully prepared, and the logistics node releases the resources it was preparing to occupy. There is a timeout period for reclaiming resources to address dispatch center failures or network partitions. For duplicate prepare, COMMIT, or release messages carrying the same commit identifier, the logistics node returns the existing result from the idempotent log, without deducting resources repeatedly.
[0102] Through the above two-stage submission process, all resources on the credential chain are confirmed at once in the same submission: the lock is submitted only after all logistics nodes have passed the verification, and the entire system is released if any logistics node refuses, thereby avoiding cross-node inconsistencies caused by partial locking.
[0103] To more clearly illustrate the practical application logic of this application, one embodiment of this application takes the cross-node order scheduling business, which is the most typical in park production logistics, as an example to specifically illustrate the solution described in this application.
[0104] The park's logistics network includes raw material warehouse A, sorting center B, cross-transfer node C, regional warehouse D, line-side receiving node E, and backup transfer node F. A and C can be reached via either B or F; C can reach E directly or via D. The scheduling time domain is set to 120 minutes, with a basic time slot of 5 minutes and a freeze time domain of 10 minutes after the current moment. Each logistics node generates a capacity envelope for the next 120 minutes every 5 minutes. Furthermore, when a node experiences significant changes such as changes in equipment health status, abnormal cache usage, or adjustments to local work plans, the node will immediately increment its version and regenerate and publish the capacity envelope without waiting for the next rolling cycle.
[0105] At 09:05, order O-017 arrived. This order contains 18 tote boxes, with a total weight of 780 kg, which need to be transported from origin A to destination E and must be delivered before 10:05. The goods cannot be split, and the waiting time outside any node during transit cannot exceed 10 minutes. The task chain generation module 130 decomposes order O-017 into six sequentially connected task segments: T1 is picking at node A, T2 is the outgoing handover at node A, T3 is transportation from A to C, T4 is the incoming, sorting, and outgoing handover at node C, T5 is the transportation from C to E, and T6 is the receiving and incoming line at node E (the decomposition process of the order task chain is as follows). Figure 9 (As shown). Each task segment requires corresponding resources. For example, T1 requires a picking task slot, T2 requires an exit platform, T3 requires vehicles with a load capacity of no less than 780 kg, T4 requires an entry platform and a sorting task slot, T5 requires vehicles, and T6 requires a receiving platform and line-side buffer. At this time, node A has the combined picking and exit capability from 09:10 to 09:20 (this node's current version is 18), node C has the combined handover and sorting capability from 09:30 to 09:45 (version 24), and node E has the receiving capability from 09:50 to 10:05 (version 31).
[0106] Starting from the delivery deadline of 10:05, the feasible chain assembly module 140 calculates the feasible time windows for each task segment upstream from the end task segment. The specific process is as follows: 5 minutes are reserved for the receiving operation at node E, with a 2-minute safety margin. Combining the receiving capacity of node E from 09:50 to 10:05, T6 is scheduled from 09:55 to 10:00. Subtracting the C→E transportation time and handover margin forward, the departure time of T5 is obtained as 09:42 to 09:46. Subtracting the 12 minutes for the handover and sorting operation at node C, the operation time of T4 is obtained as 09:30 to 09:42. And so on, continuing upstream, the transportation time of T3 is obtained as 09:18 to 09:30, and the combined time of T1 and T2 at node A is 09:10 to 09:18. Each node generates credentials V1 to V6 accordingly, and recursively calculates the successor digests of each credential from the end forward: the successor digest of the end credential V6 is a predefined null value; the successor digest of credential V5 is recursively calculated from V5's own node identifier, time window, resource vector, and node version, as well as the successor digest of the next credential V6; and so on upwards, with the successor digest of V1 ultimately containing the complete chain information from V2 to V6. Any change in time or resources at any stage will alter the successor digest of that credential, propagating forward along the chain and causing a mismatch in the digests of all its predecessor credentials (the generation process of the reverse feasible time window and the node capability credential chain is as follows). Figure 10 (As shown).
[0107] The dispatch center generates a commit identifier COM-20260803-0091 for the aforementioned credential chain and sends a preparation message to logistics nodes A, C, and E, as well as the transport execution object. Each logistics node verifies the version and resources and returns READY. After receiving all READY messages, the dispatch center sends COMMIT, and each credential is converted to a locked state (the interaction process is as described above). Figure 2 (As shown). The instruction adaptation and auditing module 180 then converts each document into specific execution instructions, including WMS picking instructions, WCS outbound tasks, TMS or RCS transportation tasks, and E-node receiving tasks. The instructions carry orderId=O-017 and commitId=COM-20260803-0091. In actual execution, T1 starts at 09:11 and finishes at 09:16; T3 departs at 09:19 and arrives at 09:29; T4 starts at 09:31 and finishes at 09:40; T5 departs at 09:43 and arrives at 09:52; T6 starts at 09:55 and finishes at 09:59. Each logistics node converts the documents sequentially to the executing or completed state based on the execution receipt and releases any unused safety margin after the document's end time.
[0108] Furthermore, if node C discovers during the preparation phase that its node version has changed from 24 to 25, it returns REJECT_VERSION. The scheduling center does not send COMMIT, but instead releases the preparation occupancy on A, E, and transportation resources corresponding to the commit identifier, and re-executes the back propagation based on ver_C=25. Therefore, there will be no partial execution results where node A has allowed the process but node C cannot accept it.
[0109] In another embodiment of this application, the receiving device speed of downstream node E decreases, and its expected service capacity from 09:45 to 10:05 is significantly reduced, potentially causing queuing backlogs for tasks arriving during this period. Specifically: The projected service capacity of node E from 09:45 to 10:05 decreases from 6 boxes per 5 minutes to 3 boxes; simultaneously, the projected arrival volume of locked tasks increases the projected queue volume of node E at 09:50 from 4 boxes to 15 boxes, while the available buffer capacity is 16 boxes. Based on this, the congestion reverse propagation module 160 calculates the projected occupancy rate of node E at 09:50 as 15 / 16 = 0.9375, and the risk value R_E = 0.82 is obtained by combining the decrease in service capacity and the arrival variance; according to the C→E transportation time distribution, the probability that tasks released by node C from 09:35 to 09:45 will reach the high-risk time slot of node E is relatively high, and the propagation intensity B_C mapped to node C according to the risk attenuation coefficient and routing ratio is 0.61.
[0110] The original capacity envelope of node C, which could commit 20 boxes of buffer and 2 outgoing task slots for regular orders from 09:35 to 09:45, has been reduced to 10 boxes and 1 outgoing task slot after adjustment. An additional 6 boxes of buffer capacity have been transferred to the production assurance order reservation pool. Order O-017, which is already locked and within the freeze period, will not be cancelled. For order O-021, whose original candidate chain ACE failed to intersect with the capacity envelope of node C due to the capacity reduction, the feasible chain assembly module 140 evaluated the two alternative chains AFCE and ACDE, and selected the candidate chain via node D. O-021 will then wait under controlled conditions at node D for 10 minutes before arriving at node E during a time slot when the risk decreases (the reverse transmission process of congestion risk is as follows). Figure 3 (As shown). After the E node's service capacity is restored, the node version increases and the congestion risk decreases. In the next rolling cycle, the C node restores the committable volume for ordinary orders and prioritizes re-incorporating unused resources from the reserve pool into the public capacity envelope. This process achieves early flow control by changing the committable volume available for new tasks, without temporarily blocking all vehicles already en route.
[0111] In another embodiment of this application, a sorting line at cross-transfer node C experiences a sudden malfunction, and is expected to be unavailable from 13:12 to 13:32, potentially affecting multiple in-transit orders passing through this node. Specifically: Node C sets the resource availability of the sorting line to zero, increments the node version from 24 to 25, and sends an event containing the resource identifier, the fault period, and the expected recovery time. The event rescheduling module 170 first selects nine credentials as seeds, where the resource type is Node C's sorting line and the time window overlaps with the fault period. Expanding along the predecessor and successor relationships of the same credential chain yields 17 credentials. Continuing to expand along the relationships of shared vehicles, shared platforms, and indivisible containers, the impact cone contains a total of 27 credentials. Currently, there are 312 credentials within the rolling scheduling scope; the remaining 285 credentials are not in the impact cone and remain in their original locked state.
[0112] Of the 27 cone-shaped vouchers, 2 were within the frozen time domain. Node C, following a safety policy, transferred them to a backup sorting device for continued execution. The remaining 25 unexecuted vouchers were released, and the scheduling center only re-propagated the time window for the task segments corresponding to these 25 vouchers (the anomaly affecting the cone's construction process is as follows). Figure 4 (As shown). The local solution results are as follows: 12 task segments are rerouted via the backup transfer node F, 8 task segments are delayed on the original path and utilize their remaining slack, and 5 low-priority task segments are merged into subsequent batches at node A; the newly formed credential chain uses ver_C=25 or bypasses node C, without affecting the commitId and execution instructions of the 285 credentials outside the cone. When the sorting line recovers ahead of schedule at 13:28, node C updates the capability envelope again, but tasks that have been reconfirmed and locked are not immediately moved back to the original path to avoid secondary jitter caused by the recovery event; new tasks will use the recovered capability starting from the next rolling cycle.
[0113] To verify the technical effectiveness of the above scheme in a dynamic multi-node scenario, one embodiment of this application uses a park network consisting of six logistics nodes A to F and seven transport edges for discrete event simulation. The embodiment sets up five types of resources: platforms, sorting equipment, buffers, vehicles, and environmental support; a basic time slot of 5 minutes, a rolling scheduling time domain of 120 minutes, and a frozen time domain of 10 minutes; each simulation cycle of 8 hours generates 420 orders and 2520 task segments, with 30% concentrated in two peak arrival intervals lasting 40 minutes. Service duration and transportation duration are sampled according to a log-normal distribution (coefficients of variation of 0.18 and 0.12, respectively), and message round-trip delay is uniformly sampled within the range of 0.8 seconds to 2.5 seconds; each simulation round injects 6 equipment capacity degradation events lasting 20 minutes, including 3 events reducing the corresponding resources to 0, 3 events reducing to 50% of normal service capacity, and 2 congestion events reducing service capacity by 40%. Thirty sets of input sequences are generated using random seeds from 20260801 to 20260830. The inputs for each scheme under the same sequence are completely identical. Nodes A, C, and E only upload normal status within 8 seconds after the start of each 5-minute cycle. The maximum length of a normal message is 1024 bytes, with an additional 128 bytes reserved for emergency event messages.
[0114] The comparative schemes include: the centralized global scheduling baseline GCS (synchronizing complete resource snapshots of each node every 5 minutes, globally re-optimizing all pending tasks and scheduled tasks outside the frozen time domain, with a single solution time cap of 60 seconds, and not using the node versioning capabilities, subsequent digests, cross-node preparation locking and confirmation locking, writing back the upstream order-acceptable coefficient for congestion risk, and the impact cone of this application) and the complete scheme P (adopting all technical aspects of this application, and superimposing a five-level spatiotemporal fulfillment profile tree, constraint sensitivity incremental loading, and three-level progressive control). Both schemes use the same candidate chain cost weight and path retention cap to avoid bias caused by solver differences. Among them, the resource load rate is defined as the maximum value of the ratio of the cumulative expected demand of the order set to the corresponding effective service volume in each resource dimension of the platform, sorting equipment, cache, vehicle, and environmental support, and four load rate levels of 0.65, 0.75, 0.85, and 0.95 are set by proportionally adjusting the effective service volume of the nodes. The following values are the average of 30 simulations; the first full-chain executability rate refers to the proportion of orders in which all task segments can pass the node's real-time resource verification when the resource commitment or execution plan is sent to the logistics node for the first time; repeated occupation after confirmation refers to the number of times the same resource time period is identified by the logistics node as already occupied by the local real-time plan after the global plan is issued.
[0115] Table 1. Comparison of the results of the complete scheme P and the baseline GCS at a load factor of 0.85.
[0116] As shown in Table 1, compared to GCS, P improved the on-time delivery rate from 90.8% to 96.1%, the first full-chain executability rate from 91.6% to 98.3%, the number of times duplicate occupancy occurred after confirmation decreased from 1.73 times per 100 orders to 0, the maximum downstream cache occupancy rate decreased from 96.2% to 84.7%, the scheduling response time P95 decreased from 47.8 seconds to 4.9 seconds, and the proportion of single-event reordering tasks decreased from 71.3% to 9.6%. Among these improvements, the elimination of duplicate occupancy corresponds to the consistency effect of node versioning envelopes and two-phase locking, the decrease in cache peak corresponds to the early rate limiting effect of congestion write-back, and the improvement in reordering range and response time corresponds to the local stability effect of the impact cone. Within a load range of 0.65 to 0.95, P's on-time delivery rate was consistently higher than GCS's (increasing from 82.7% to 92.4% at a load of 0.95), and its maximum downstream cache utilization was consistently lower than GCS's (decreasing from 100.0% to 91.3% at a load of 0.95), indicating that the above effects still hold true when resources are close to saturation.
[0117] Table 2. Validation results of the internal mechanism removal scheme (load rate 0.85)
[0118] As can be seen from Table 2: After removing versioned envelopes, digests, and two-phase locking from A1 and A2, the number of times resources were repeatedly occupied after confirmation increased to 1.28 and 2.06 times respectively, and the first full-chain executability rate dropped to 93.6% and 95.0%. This indicates that node version, subsequent digest, and two-phase locking together ensure the consistency of cross-node resource commitments and avoid repeated occupation and chain-level rejection of the same resource during the same time period. After A3 removed the congestion and wrote back, the maximum downstream cache utilization rate rose to 97.1%, while the initial full-chain executability rate was still 98.1%. This indicates that simply predicting downstream risks without writing the risks back to the upstream order acceptance coefficient cannot change the upstream commitment boundary, and therefore cannot achieve the effect of early rate limiting. After removing the impact cone in A4, the proportion of single-event reordering tasks increased to 71.5%, and the scheduling response time increased significantly. This indicates that limiting the recalculation scope after an event to the affected tasks can maintain the locked state of unaffected tasks and the stability of execution instructions. After removing the reverse time window in A5, the on-time delivery rate dropped to the lowest among all solutions, indicating that forming a node feasibility window from the end task segment upstream is a necessary step to ensure end-to-end deadline feasibility. After removing the five-level profile tree in A6, the maximum cache utilization rate increased to 92.5% and the single-event reordering task ratio increased to 28.6%, indicating that by aggregating risks layer by layer through parent and child indexes on resource slices, task segments, candidate paths, and orders, leaf-level changes can be accurately aggregated to the order and candidate path levels, thereby accurately locating the scope of risk impact. After removing the three-level progressive rules and hysteresis conditions from A7, the proportion of single-event reordering tasks increased to 34.7%, and the number of changes with issued instructions near the threshold increased. This indicates that handling risks according to risk levels and setting hysteresis exit conditions can suppress the excessive propagation and repeated triggering of risks at the threshold boundary.
[0119] In summary, the multi-node collaborative scheduling method and system for smart logistics provided in the embodiments of this application, through versioned multi-dimensional capability envelopes and version increment mechanisms, enable expired commitments to be identified and invalidated, solving the problem of resource duplication caused by old vouchers still being considered valid; through a recursive successor digest voucher chain, when the spatiotemporal resources or order of any voucher change, the change will propagate along the dependency relationship and cause the successor digest mismatch of all its predecessor vouchers, thereby enabling the identification of local replacements in the voucher chain through digest verification, solving the problem of impaired scheduling consistency caused by the difficulty in identifying local replacements in the voucher chain; by back-mapping downstream congestion risks to the corresponding upstream time slots and writing back the order acceptance coefficient and triggering the regeneration of capability envelopes, the feedforward of future downstream congestion is converted into the contraction of upstream committable quantities, solving the cascading delay problem caused by the lag in congestion feedback. The aforementioned technical features work together synergistically. The versioned envelope provides verifiable and invalidable commitment boundaries, the recursive digest credential chain ensures chain-level consistency of commitments across nodes, and the congestion feedforward write-back closed loop transforms deterministic predictions into real-time adjustments to upstream committable quantities. Together, these three features achieve a closed-loop system encompassing commitment formation, commitment verification, commitment solidification, and congestion prevention, significantly improving the commitment fulfillment rate and congestion suppression capability of multi-node collaborative scheduling.
[0120] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application. The appended claims are intended to cover all variations and modifications falling within the scope and boundaries of the appended claims, or equivalent forms of such scope and boundaries.
Claims
1. A multi-node collaborative scheduling system for intelligent logistics, characterized in that, This includes a dispatch center with communication connections and multiple logistics nodes, among which: The logistics node is configured as follows: Continuously generate and dynamically maintain node capability envelopes with node versions. The node capability envelope contains the availability of at least two types of resources, wherein the availability is determined by the rated capacity, health coefficient, order acceptance coefficient, occupied quantity and pre-occupied quantity, and the node version increases when the resource or work plan changes to meet the conditions. The system receives a preparation message from the scheduling center carrying node capability credentials, node version, and commit identifier. If the commit identifier is not found in the local idempotent log, the corresponding resource is changed from the committable state to the ready-to-occupy state and a preparation success message is returned. After receiving a confirmation message from the scheduling center, the corresponding resource is changed to the locked state, or the ready-to-occupy resource is released after receiving a release message from the scheduling center. Receive the updated order availability coefficient from the scheduling center. When the change in the order availability coefficient reaches the coefficient update threshold, increment the node version and regenerate the node capability envelope. Execute the task according to the confirmed and locked credential chain, and report the execution receipt to the dispatch center; The dispatch center is configured as follows: Obtain the node capability envelope with node version released by each logistics node; The orders to be fulfilled are broken down into multiple task segments with dependencies and resource requirements, and the latest feasible time window for each task segment is calculated by working backward from the delivery deadline. The latest feasible time window and resource requirements of each task segment are overlapped with the corresponding node capability envelope for time and resources calculation. If the overlap is successful, a node capability certificate with node version is generated and chained into a certificate chain according to the dependency relationship. The successor digest of the last certificate is a predefined initial value. The successor digest of the remaining certificates is recursively calculated by node identifier, start and end time, resource requirement vector, node version and successor digest of the next certificate. Perform cross-node preparation locking on the credential chain, generate a unique commit identifier and send it to each logistics node. Send a confirmation message after all preparations are successful, otherwise send a release message. The downstream congestion risk value is determined based on the confirmed and locked credentials. When the congestion risk value reaches the transmission condition, the congestion risk value is reverse-mapped to the corresponding upstream time slot and the updated order acceptance coefficient is issued so that the corresponding logistics node can regenerate the capacity envelope. The execution instruction is issued based on the confirmed and locked credential chain, and the execution receipt is received to trigger the node capacity envelope update.
2. The system according to claim 1, characterized in that, The dispatch center is also configured as follows: When an abnormal event occurs, starting from the node capability credentials that overlap with the resource type and time interval of the abnormal event, the scheduling influence cone is expanded from four dimensions: task dependency, shared resources, time reachability, and state continuity. Among them, task dependency refers to the sequential dependency between task segments, shared resources refer to the resources occupied by the abnormal event, time reachability refers to the overlapping or sequential connection of time windows, and state continuity refers to the continuous matching of state constraints. The scheduling influence cone is the set of task segments and node capability credentials affected by the abnormal event. When expanding the scheduling influence cone, locked tasks located within the frozen time domain are retained, and local rescheduling is performed only on tasks that are not frozen within the influence cone. The frozen time domain is a set of time slots within a preset time range from the current time.
3. The system according to claim 1, characterized in that, The dispatch center is also configured as follows: A five-level spatiotemporal fulfillment profile tree is constructed. The first to fifth levels of the profile tree are respectively based on the order to be fulfilled, the candidate logistics path, the task segment, the capability envelope resource piece and the node capability certificate, which are used to track the fulfillment progress of each order. The parent node is updated by aggregating the node fingerprints of the child nodes. The node fingerprint is the summary verification value of the corresponding node data. The order fulfillment risk level is determined based on the fulfillment risk aggregated layer by layer.
4. The system according to claim 3, characterized in that, The dispatch center is also configured as follows: According to the order fulfillment risk level, the following steps are taken in sequence: Level 1 new commitment shaping, Level 2 unconfirmed credential chain reorganization, and Level 3 local rescheduling within the impact cone. Specifically, Level 1 new commitment shaping restricts the amount of resources that can be committed for new orders; Level 2 unconfirmed credential chain reorganization releases unconfirmed locked node capability credentials and performs time window shifting, candidate path switching, or subsequent digest recalculation on them, and re-executes the preparation locking; Level 3 local rescheduling within the impact cone performs local rescheduling on tasks that are not frozen within the impact cone. Upgrading to a non-hard constraint risk requires meeting the corresponding upgrade conditions for multiple consecutive evaluation cycles. When a hard constraint occurs, it immediately enters the third level. Downgrading requires simultaneously meeting the fallback threshold and the node version stability condition.
5. A multi-node collaborative scheduling method for intelligent logistics, applied to logistics nodes in the system of claim 1, characterized in that, include: Continuously generate and dynamically maintain node capability envelopes with node versions. The node capability envelope contains the availability of at least two types of resources, wherein the availability is determined by the rated capacity, health coefficient, order acceptance coefficient, occupied quantity and pre-occupied quantity, and the node version increases when the resource or work plan changes to meet the conditions. The system receives a preparation message from the scheduling center carrying node capability credentials, node version, and commit identifier. If the commit identifier is not found in the local idempotent log, the corresponding resource is changed from the committable state to the ready-to-occupy state and a preparation success message is returned. After receiving a confirmation message from the scheduling center, the corresponding resource is changed to the locked state, or the ready-to-occupy resource is released after receiving a release message from the scheduling center. Receive the updated order availability coefficient from the scheduling center. When the change in the order availability coefficient reaches the coefficient update threshold, increment the node version and regenerate the node capability envelope. Execute the task according to the confirmed and locked credential chain, and report the execution receipt to the dispatch center.
6. The method according to claim 5, characterized in that: After the node version is incremented, the node capability certificate that references the old node version and has not yet been confirmed to be locked becomes invalid. The invalidation means that the status of the corresponding certificate is set to unavailable. The process of releasing resources that are ready to be occupied after receiving a release message from the scheduling center includes: Locked tasks within the frozen time domain are retained, where the frozen time domain is a set of time slots within a preset time range from the current time.
7. A multi-node collaborative scheduling method for intelligent logistics, applied to the scheduling center in the system of claim 1, characterized in that, include: Obtain the node capability envelope with node version released by each logistics node; The orders to be fulfilled are broken down into multiple task segments with dependencies and resource requirements, and the latest feasible time window for each task segment is calculated by working backward from the delivery deadline. The latest feasible time window and resource requirements of each task segment are overlapped with the corresponding node capability envelope for time and resources calculation. If the overlap is successful, a node capability certificate with node version is generated and chained into a certificate chain according to the dependency relationship. The successor digest of the last certificate is a predefined initial value. The successor digest of the remaining certificates is recursively calculated by node identifier, start and end time, resource requirement vector, node version and successor digest of the next certificate. Perform cross-node preparation locking on the credential chain, generate a unique commit identifier and send it to each logistics node. Send a confirmation message after all preparations are successful, otherwise send a release message. The downstream congestion risk value is determined based on the confirmed and locked credentials. When the congestion risk value reaches the transmission condition, the congestion risk value is reverse-mapped to the corresponding upstream time slot and the updated order acceptance coefficient is issued so that the corresponding logistics node can regenerate the capacity envelope. The execution instruction is issued based on the confirmed and locked credential chain, and the execution receipt is received to trigger the node capacity envelope update.
8. The method according to claim 7, characterized in that, The latest feasible time window for each task segment, calculated backward from the delivery deadline, includes: The service time of the current task segment, the transportation handover time between adjacent task segments, and the safety margin are deducted in sequence. The safety margin is a buffer time to deal with execution uncertainties.
9. The method according to claim 7, characterized in that, The process of mapping congestion risk values back to the corresponding upstream time slot includes: Calculate the mapping value using the following formula: , in, upstream node In the time slot The risk mapping value, For nodes With downstream nodes Risk attenuation coefficient between them For downstream nodes In the time slot The congestion risk value, For task segment self-node time slot Depart and arrive at the downstream node time slot The probability of arrival, For nodes The set of transport edges between each downstream node.
10. The method according to claim 7, characterized in that, The updated order acceptance coefficient includes: The order availability factor for the corresponding time slot is reduced using the following formula: , in, upstream node resources In the time slot Order acceptance coefficient before discount This is the reduced order acceptance coefficient. For resources Risk sensitivity coefficient upstream node In the time slot The risk mapping value, This is the lower limit of the acceptable order coefficient. To truncate the calculated reduction value to Range operations; Alternatively, a portion of the committable resources for the corresponding time slot may be transferred to a reserved resource pool, which is a resource pool reserved for emergency tasks.
