Logistics track time limit intelligent analysis system and method based on multi-agent cooperation

By using a multi-agent collaborative intelligent analysis method for logistics trajectory timeliness, natural language requests are parsed to generate intermediate semantic representation trees and construct dynamic spatiotemporal topology graphs. This solves the problems of slow path evaluation and ambiguous anomaly location in traditional logistics timeliness analysis, and achieves efficient global diagnosis and root cause tracing.

CN123178473APending Publication Date: 2026-11-27SHANGHAI YUANQING INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611259202.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-19
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Traditional logistics timeliness analysis technology is unable to cope with complex and ever-changing business interaction needs, lacks dynamic graph network perception capabilities, resulting in slow timeliness assessment, ambiguous abnormal node location, and inability to accurately calculate the reachability attenuation bias of the path relative to the baseline routing specification, leading to missed detection or delayed marking of abnormal nodes.

Method used

The logistics trajectory timeliness intelligent analysis method based on multi-agent collaboration generates an intermediate semantic representation tree by parsing natural language request sequences, constructs a dynamic spatiotemporal topology graph, calculates the reachability attenuation bias matrix of real-time connected paths, locates abnormal nodes, and generates a global diagnostic report stream.

Benefits of technology

It achieves a zero-threshold transformation from natural language requests to structured queries, enhances the intelligence and real-time perception capabilities of the logistics network, accurately locates abnormal nodes, provides a basis for global diagnosis, and improves operational efficiency and decision-making pertinence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178473A_ABST
    Figure CN123178473A_ABST
Patent Text Reader

Abstract

The application discloses a logistics track time limit and expedience intelligent analysis system and method based on multi-agent cooperation, relates to the field of logistics information technology, and comprises the following steps: analyzing a natural language request to generate an intermediate semantic representation tree composed of logistics entities and space-time constraint nodes, and extracting target time limit and expedience index data after atlas matching and completion; receiving flow track data to construct a dynamic space-time topology graph and calculate real-time weight values; calculating a relative reference standard accessibility attenuation bias matrix according to a real-time path of a shipping order, and accurately marking target abnormal nodes; extracting a local perception subgraph to extract a multi-dimensional abnormal feature tensor, locating a nearest common ancestor node, and measuring a topology shortest path distance; combining two parameters to perform connected graph density clustering to generate a root cause aggregated alarm data set, and finally merging the time limit and expedience index data to output a global diagnosis report flow. The application improves the pertinence and timeliness of intervention decisions and the intelligent operation efficiency of the overall logistics network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of logistics information technology, and in particular to a logistics trajectory timeliness intelligent analysis system and method based on multi-agent collaboration. Background Technology

[0002] With the continuous evolution of the logistics industry, the massive amount of waybill trajectory data is exponentially increasing, placing higher demands on the accuracy of logistics timeliness analysis and anomaly location. However, traditional logistics timeliness analysis technologies typically employ fixed rule matching and isolated data query mechanisms, which are insufficient to cope with complex and ever-changing business interaction needs. Furthermore, they lack dynamic graph network perception capabilities when processing streaming trajectory data, resulting in slow timeliness assessment, ambiguous anomaly node location, and fragmented root cause analysis, severely restricting the operational efficiency and global diagnostic capabilities of the logistics network.

[0003] Existing logistics data query and timeliness analysis systems largely rely on rigid interface interactions or preset commands, lacking the ability to deeply analyze natural semantic requests. They fail to effectively map complex spatiotemporal constraints and logistics entities into an intelligent intermediate semantic network, resulting in a cumbersome and inefficient extraction process for target timeliness indicators. Furthermore, in trajectory flow monitoring, traditional technologies often treat physical distribution stations and trunk lines as static models, failing to construct and maintain a dynamic spatiotemporal topology map based on real-time data. This lack of real-time weight updates and real-time comparison of connected paths makes it impossible for the system to accurately calculate the reachability attenuation bias of the actual path relative to the baseline routing specification. This easily leads to missed detections or delayed marking of abnormal nodes, making it difficult to quickly identify the true source of anomalies from massive trajectories. Summary of the Invention

[0004] To address the shortcomings of existing technologies, this invention provides a logistics trajectory timeliness intelligent analysis system and method based on multi-agent collaboration.

[0005] In a first aspect, the present invention provides a method for intelligent analysis of logistics trajectory timeliness based on multi-agent collaboration, including: The received natural language request sequence is parsed to generate an intermediate semantic representation tree; the intermediate semantic representation tree is composed of logistics entity nodes and spatiotemporal constraint nodes; The intermediate semantic representation tree is compared with the pre-set logistics relationship graph for graph structure matching. The intermediate semantic representation tree is completed based on the matching feedback results. The completed intermediate semantic representation tree is converted into a structured query instruction. The structured query instruction is executed to extract the target timeliness indicator data. Receive streaming trajectory data, construct a dynamic spatiotemporal topology graph with physical distribution stations as topology nodes and trunk lines between stations as topology edges, and calculate the real-time weights of the topology edges. Based on the streaming trajectory flow data, the real-time connectivity path of the target waybill in the dynamic spatiotemporal topology map is extracted, and the reachability attenuation offset matrix of the real-time connectivity path relative to the baseline routing specification is calculated. When the value of an element in the reachability decay bias matrix is ​​higher than a preset threshold, the topological node of that element will be marked as a target abnormal node. Extract the target abnormal node and stitch it together with the topological nodes within a preset step size range in the dynamic spatiotemporal topology graph to form a local state-aware subgraph, and extract the multidimensional abnormal feature tensor from the local state-aware subgraph. Locate the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph, and measure the topological shortest path distance parameter of each multidimensional anomaly feature tensor in the dynamic spatiotemporal topology graph. By combining the nearest common ancestor node with the shortest path distance parameter in the topology, density clustering of the connected graph is performed to generate a root cause aggregation alarm data set. The target timeliness indicator data and the root cause aggregated alarm data set are merged to generate a global diagnostic report stream for execution and distribution.

[0006] Secondly, the present invention provides a logistics trajectory timeliness intelligent analysis system based on multi-agent collaboration, comprising: The intent parsing module is used to parse the received natural language request sequence to generate an intermediate semantic representation tree; the intermediate semantic representation tree is composed of logistics entity nodes and spatiotemporal constraint nodes. The data query module is used to compare the intermediate semantic representation tree with the pre-set logistics relationship graph for graph structure matching, complete the intermediate semantic representation tree based on the matching feedback results, convert the completed intermediate semantic representation tree into a structured query command, and execute the structured query command to extract the target timeliness indicator data. The topology graphing module is used to receive streaming trajectory data, construct a dynamic spatiotemporal topology graph with physical distribution stations as topology nodes and trunk lines between stations as topology edges, and calculate the real-time weights of the topology edges. The path deviation calculation module is used to extract the real-time connectivity path of the target waybill in the dynamic spatiotemporal topology map based on the streaming trajectory flow data, and calculate the reachability attenuation offset matrix of the real-time connectivity path relative to the baseline routing specification. The anomaly marking module is used to mark the topology node that triggers the element as a target anomaly node when the value of an element in the reachability decay bias matrix is ​​higher than a preset judgment threshold. The subgraph feature extraction module is used to extract the target abnormal node and splice it together with the topological nodes within a preset step size range in the dynamic spatiotemporal topology graph to form a local state-aware subgraph, and extract multidimensional abnormal feature tensors from the local state-aware subgraph. The topology metric module is used to locate the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph, and to measure the topological shortest path distance parameter of each multidimensional anomaly feature tensor in the dynamic spatiotemporal topology graph. The root cause clustering module is used to perform connected graph density clustering by combining the nearest common ancestor node and the shortest path distance parameter in the topology, and generate a root cause aggregated alarm data set. The diagnostic fusion module is used to merge target timeliness indicator data with root cause aggregated alarm data sets to generate a global diagnostic report stream for execution and distribution.

[0007] In summary, the present invention has at least one of the following beneficial technical effects: 1. The present invention provides a multi-agent collaborative intelligent analysis method for logistics trajectory timeliness. It constructs an intermediate semantic representation tree composed of logistics entities and spatiotemporal constraint nodes by parsing natural language request sequences. Creatively, it performs graph structure matching and hierarchical completion with a pre-set logistics relationship graph, thereby accurately extracting target timeliness index data. The system breaks through the limitations of traditional static routing network models. By receiving streaming trajectory flow data, it constructs a dynamic spatiotemporal topology graph, integrates node lag time differences and real-time environmental indices to generate an environmental constraint matrix, and assigns real-time weights to the topology edges based on the calculated maximum eigenvalue, highly replicating real-time values. The core of this invention lies in dynamically time-aligning the actual flow node sequence with the baseline routing specification, accumulating real-time weights to derive an reachability attenuation bias matrix representing the degree of path deviation, and then accurately locating target abnormal nodes when the bias element values ​​exceed limits. This approach not only enables seamless, zero-threshold conversion of complex business requirements from natural semantics to structured instructions, greatly enhancing the intelligence of human-computer interaction, but also empowers logistics management systems to perceive dynamic environmental constraints in real time and keenly capture minute trajectory deviations, laying a solid data foundation for high-precision and timely management of complex logistics networks.

[0008] 2. This invention further focuses on the triggered target anomaly node, and through breadth-first traversal and random walk sampling within a dynamic spatiotemporal topology graph, deeply integrates node states such as current congestion and waiting-to-departure capacity to extract multi-dimensional anomaly feature tensors with local state awareness capabilities. To completely solve the problem of isolated and fragmented alarm information in traditional logistics monitoring, the system creatively traces the data reverse flow path from bottom to top in the network, accurately locates the nearest common ancestor node to which each anomaly feature belongs, and performs connected graph density clustering based on the shortest path distance in the topology. After removing discrete noise, it aggregates and generates a root cause aggregated alarm data set containing comprehensive early warning labels. The system nests and maps overdue route codes with comprehensive early warning labels, rendering and outputting a global diagnostic report stream. This mechanism represents a historic leap from early warning of single-symptom anomalies to tracing the root causes of network-wide issues. It not only penetrates massive amounts of data to pinpoint the deep topological relationships behind logistics delays, but also provides managers with a closed-loop diagnostic basis that includes overdue indicators, sources of anomalies, and aggregated root causes. This greatly enhances the targetedness and timeliness of intervention decisions, as well as the intelligent operational efficiency of the overall logistics network. Attached Figure Description

[0009] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 This is a flowchart of the intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration provided in an embodiment of the present invention.

[0011] Figure 2 This is a detailed flowchart of the intermediate semantic representation tree generation method provided in the embodiments of the present invention.

[0012] Figure 3 This is a framework diagram of a logistics trajectory timeliness intelligent analysis system based on multi-agent collaboration provided in an embodiment of the present invention. Detailed Implementation

[0013] The following description, in conjunction with the implementation of the present invention, is merely an example and illustration of the concept of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the concept of the invention, and all such modifications and additions should fall within the protection scope of the present invention.

[0014] Example 1 This invention addresses the scenario of express delivery and logistics companies performing natural language query analysis, route timeliness analysis, anomaly node location, and alarm aggregation under massive waybill trajectories. The core idea is not simply to convert user questions into query statements, but rather to establish a continuous data processing link around the natural language request sequence, streaming trajectory data, baseline routing specifications, and pre-defined logistics relationship graphs. The system first transforms the natural language request sequence into a verifiable and complete intermediate semantic representation tree, then uses this tree to extract target timeliness index data. Simultaneously, the system organizes the streaming trajectory data into a dynamic spatiotemporal topology graph, and obtains a root cause aggregated alarm data set through path deviation, local state-aware subgraphs, and topological clustering. Finally, the target timeliness index data and the root cause aggregated alarm data set are merged into a global diagnostic report stream. After this processing, the user receives not only query results but also corresponding anomaly sources and alarm aggregation conclusions.

[0015] This application discloses a method for intelligent analysis of logistics trajectory timeliness based on multi-agent collaboration.

[0016] Reference Figure 1-2 A multi-agent collaborative intelligent analysis method for logistics trajectory timeliness specifically includes: The received natural language request sequence is parsed to generate an intermediate semantic representation tree; the intermediate semantic representation tree is composed of logistics entity nodes and spatiotemporal constraint nodes; Specifically, the system is deployed within the logistics company's data platform, with the processor executing the program instructions corresponding to each module. Natural language request sequences come from WebDashboard, instant messaging bots, or API interfaces. For example, the user input might be: "What transit routes from East China to South China exceeded their delivery time limits last week, and why?" Upon receiving this natural language request sequence, the intent parsing module processes the character encoding, punctuation, and business abbreviations uniformly, converting full-width characters to half-width characters, retaining regional names like "East China" and "South China" as geographical representations, and parsing "last week" as a time representation with start and end dates. The cleaned natural language request sequence retains its original semantic order and serves as input for generating the intermediate semantic representation tree.

[0017] Subsequently, the intent parsing module parses the received natural language request sequence to generate an intermediate semantic representation tree. The intermediate semantic representation tree consists of logistics entity nodes and spatiotemporal constraint nodes. The logistics entity nodes are used to carry data items related to logistics business objects, such as waybills, routes, transit time, overdue routes, and distribution stations. The spatiotemporal constraint nodes are used to carry time limits and geographical ranges such as last week, East China, South China, and route flow.

[0018] The intermediate semantic representation tree is compared with the pre-set logistics relationship graph for graph structure matching. The intermediate semantic representation tree is completed based on the matching feedback results. The completed intermediate semantic representation tree is converted into a structured query instruction. The structured query instruction is executed to extract the target timeliness indicator data. Specifically, after generating the intermediate semantic representation tree, the data query module performs graph structure matching between the intermediate semantic representation tree and the pre-set logistics relationship graph. The pre-set logistics relationship graph is pre-composed of indicator dictionaries, timeliness wide table fields, route dimension table fields, network point dimension table fields, and regional level fields. Nodes in the graph store field names, field types, and business meanings, while edges store the relationships between fields. For example, route codes connect originating region codes and destination region codes, and transit timeliness indicators connect pickup time, arrival time at transit hub time, and departure time from transit hub time. Graph structure matching generates matching feedback results, which include at least the matched logistics entity nodes, missing related fields, and transition node features that can be completed. The data query module completes the intermediate semantic representation tree based on the matching feedback results, enabling fields not explicitly specified by the user, such as route codes, originating region codes, and destination region codes, to be filled in the tree structure.

[0019] The intermediate semantic representation tree of the completed state is converted into a structured query instruction. This structured query instruction is preferably a read-only SQL statement, querying the timeliness indicator wide table and route dimension table in the OLAP engine. Before execution, the system performs field whitelist validation, user data range validation, and return column validation on the structured query instruction; for example, headquarters users can query all network routes, while regional users can only query routes within their managed region. After execution, the structured query instruction yields the target timeliness indicator data, which is stored in a structured record set. Each record contains at least the route code, origin region code, destination region code, total number of waybills, number of overdue waybills, average transit time, and overdue route code features. The target timeliness indicator data is then written to the cache of the diagnostic fusion module, awaiting merging with the subsequently generated root cause aggregation alarm data set.

[0020] Receive streaming trajectory data, construct a dynamic spatiotemporal topology graph with physical distribution stations as topology nodes and trunk lines between stations as topology edges, and calculate the real-time weights of the topology edges. Specifically, while the target timeliness indicator data is being generated, the topology mapping module receives streaming trajectory data. This streaming trajectory data typically comes from Kafka trajectory topics or real-time trajectory acquisition interfaces. Each data entry includes a waybill number, physical distribution station code, scan type, node check-in timestamp, previous station code, next station code, and route code. The topology mapping module constructs a dynamic spatiotemporal topology graph using physical distribution stations as topology nodes and inter-station trunk lines as topology edges. This dynamic spatiotemporal topology graph is not a static map; its current congestion characteristics, waiting-to-departure capacity characteristics, and real-time weights of topology edges are updated as streaming trajectory data enters. The baseline routing specification is provided by the enterprise routing planning system, internally fixing standard node sequences, standard transportation durations, and standard shuttle relationships to provide a baseline reference for each topology edge.

[0021] When calculating the real-time weights of topology edges, the topology mapping module first extracts node check-in timestamp features from the streaming trajectory data. It then calculates the actual transport time according to the order of the same waybill between adjacent physical distribution stations. Finally, it combines this with the standard transport time in the baseline routing specification to parse the lag time difference data corresponding to each topology edge. The lag time difference data is measured in time. The system divides the lag time difference data by the standard transport time of the corresponding topology edge to obtain a dimensionless time difference ratio, allowing for comparison of delays across different route lengths on the same scale. The system also captures real-time environmental index sequences for the geographical regions to which the topology edges belong. These sequences come from weather, road condition, and site operation interfaces, with example fields including rainfall level, road congestion level, and distribution site operation congestion level. Each real-time environmental index sequence is first normalized to the range of zero to one, where zero indicates no environmental constraints and one indicates reaching the highest level defined by the interface. Subsequently, the topology mapping module merges the lag time difference data and the real-time environmental index sequences to perform tensor product calculations to generate an environmental constraint matrix. Since the time lag data has been transformed into a dimensionless time lag ratio, and the real-time environmental index sequence is also a dimensionless exponent, the environmental constraint matrix obtained after tensor multiplication of the two is still a dimensionless matrix, with its rows and columns corresponding to the time lag dimension and the environmental constraint dimension, respectively. The system extracts the maximum eigenvalue from the environmental constraint matrix feedback and uses it as the real-time weight of the topological edge to assign values ​​to the connection attributes between nodes. The maximum eigenvalue represents the dominant blocking strength of the topological edge at the current moment, formed by the combined time lag and environmental constraints. The larger the value, the stronger the adverse impact of the topological edge on the continued flow of waybills.

[0022] Based on the streaming trajectory flow data, the real-time connectivity path of the target waybill in the dynamic spatiotemporal topology map is extracted, and the reachability attenuation offset matrix of the real-time connectivity path relative to the baseline routing specification is calculated. Specifically, the path deviation calculation module extracts the real-time connectivity path of the target waybill in the dynamic spatiotemporal topology map based on the streaming trajectory flow data. The target waybill can come from a sample set of overdue waybills in the user query results, or from a set of waybills that have entered the risk queue in real-time monitoring. The system sorts the scan records of the same target waybill according to the node check-in timestamp characteristics, removes duplicate scan records and records with inverted times, and obtains the sequence of physical distribution stations that the target waybill passes through in sequence, and maps this sequence onto the dynamic spatiotemporal topology map to form a real-time connectivity path. After the real-time connectivity path is determined, the path deviation calculation module calculates the reachability attenuation bias matrix of the real-time connectivity path relative to the baseline routing specification. This process first extracts the actual flow node sequence contained in the real-time connectivity path, and then performs dynamic time warping alignment with the standard node sequence fixed in the baseline routing specification. Dynamic time warping alignment allows reasonable intermediate stops in the actual flow node sequence, but it will incur higher mapping costs for skipping stations, detours, and reverse flow. After alignment, the node mapping offset vector is output. Each item in the node mapping offset vector corresponds to the node offset state in a transmission stage. For example, missing standard nodes, extra actual nodes, and node order deviations are all encoded into calculable offset values.

[0023] The node mapping offset vector is then accumulated along the corresponding path in the dynamic spatiotemporal topology graph, accumulating the real-time weights of each topological connection edge to obtain the attenuation product sequence for each transmission stage. A product is used instead of simple summation because path deviation and edge obstruction within the same transmission stage can amplify the risk of time-sensitive unreachability. To avoid numerical incomparability due to different path lengths, the system normalizes the attenuation product sequence for each transmission stage based on the number of stages, ensuring the result remains dimensionless. The path deviation calculation module rearranges the attenuation product sequence into a diagonal matrix, generating an reachability attenuation bias matrix characterizing the degree of path deviation. The diagonal elements of the reachability attenuation bias matrix correspond to the deviation intensity of each transmission stage, while off-diagonal positions can be retained as zero or used for subsequent inter-stage correlation. Since all matrix elements are dimensionless values, there is no issue of dimension inconsistency when comparing with preset judgment thresholds.

[0024] When the value of an element in the reachability decay bias matrix is ​​higher than a preset threshold, the topological node of that element will be marked as a target abnormal node. Specifically, the anomaly marking module reads the reachability attenuation bias matrix. When the value of an element in the reachability attenuation bias matrix is ​​higher than a preset threshold, the topology node that triggers that element is marked as a target anomaly node. The preset threshold can be determined based on the distribution of the reachability attenuation bias matrix of the enterprise's normal waybills over the past 30 days. For example, the 95th percentile of the matrix element in the normal samples can be used as the preset threshold, or it can be configured by the operations personnel between 0.8 and 1.5. The topology node that triggers the element refers to the physical distribution station that contributes the most to the bias among the actual arrival node, actual departure node, and abnormal offset node in the transmission stage corresponding to that matrix element. The anomaly marking module writes the target anomaly node back to the dynamic spatiotemporal topology map and records the corresponding waybill number, line code, node check-in timestamp characteristics, and bias element value, providing a central point for the formation of the local state-aware subgraph.

[0025] Extract the target abnormal node and stitch it together with the topological nodes within a preset step size range in the dynamic spatiotemporal topology graph to form a local state-aware subgraph, and extract the multidimensional abnormal feature tensor from the local state-aware subgraph. Specifically, the subgraph feature extraction module centers on the target abnormal node and extracts it from the dynamic spatiotemporal topology graph, concatenating it with topology nodes within a preset step size to form a local state-aware subgraph. In actual deployments, the preset step size is typically two or three hops; two hops are suitable for real-time alarms, while three hops are suitable for retrospective analysis. The system performs a breadth-first traversal to obtain neighboring nodes, retaining the current backlog and pending departure capacity features of each neighboring node according to their hierarchical relationship. The current backlog feature comes from site inventory scanning and statistics of undelivered waybills, measured in units of pieces; the pending departure capacity feature comes from shuttle bus plans and vehicle loading plans, also measured in units of pieces. Since both have the same dimensions, they can be directly compared during subsequent superposition calculations, and normalized according to the site's designed processing capacity if necessary. After obtaining the neighboring nodes, the system connects the retained neighboring nodes and removes isolated connections, solidifying the topology connection state to obtain the local state-aware subgraph. Isolated connections refer to topology edges where at least one end is not within the set of retained neighboring nodes; removing them avoids including remote lines unrelated to the target abnormal node in the analysis.

[0026] After the local state-aware subgraph is formed, the subgraph feature extraction module performs random walk sampling to obtain node walking paths. The starting point of the random walk sampling is the target abnormal node, the length of a single walk can be four to eight topological nodes, and the number of samplings can be fifty to two hundred. The transition probability is jointly determined by the real-time weight of the topological connection and the current retention feature of the adjacent nodes. The higher the real-time weight and the larger the current retention feature, the higher the probability of the direction being sampled. The system calculates the dwell probability of each node in the node walking path. The dwell probability represents the frequency of a node being visited in multiple node walking paths, and the value ranges from zero to one. Subsequently, the subgraph feature extraction module combines the dwell probability and the current retention feature to calculate a multidimensional abnormal feature tensor. This multidimensional abnormal feature tensor includes at least node encoding, line encoding, normalized current retention feature, normalized waiting capacity feature, dwell probability, and the hierarchical relationship from the target abnormal node to the current node. The dwell probability is a dimensionless value. The current dwell volume feature and the waiting departure capacity feature are normalized according to the station's designed processing capacity before entering the multidimensional anomaly feature tensor. Therefore, the numerical dimension in the multidimensional anomaly feature tensor can be used for subsequent topological measurement and clustering on the same scale.

[0027] Locate the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph, and measure the topological shortest path distance parameter of each multidimensional anomaly feature tensor in the dynamic spatiotemporal topology graph. Specifically, the topology metric module locates the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph. Here, the ancestor node is not an administrative hierarchy concept, but rather the result of reverse tracing along the waybill flow direction. The system traces and extracts the data reverse flow path corresponding to the topology nodes of the multidimensional anomaly feature tensors from bottom to top within the dynamic spatiotemporal topology graph. The data reverse flow path is generated in the reverse direction of the actual waybill passage order. If the upstream paths of multiple anomaly nodes pass through the same physical distribution station, that physical distribution station becomes a candidate intersection node. The topology metric module traverses the intersection nodes in the data reverse flow path and calculates the hierarchical depth parameter of the intersection node from the target anomaly node. The hierarchical depth parameter is calculated based on the number of topological edges and is a dimensionless integer; for example, the intersection node reached by tracing back one topological edge from the target anomaly node has a hierarchical depth parameter of one. The system extracts the intersection node with the smallest hierarchical depth parameter and sets it as the nearest common ancestor node. By using the lowest possible hierarchical depth parameter, the attribution location can be brought as close as possible to the actual convergence point of the anomaly propagation, reducing the probability of misjudging local end problems as network-wide problems.

[0028] The topology metric module also measures the topological shortest path distance parameter for each multidimensional anomaly feature tensor within the dynamic spatiotemporal topology graph. The topological shortest path distance parameter is derived from the number of topological edges and their real-time weights. The calculation first finds reachable paths between the topological nodes corresponding to two multidimensional anomaly feature tensors, then selects the path with the smallest cumulative real-time weight as the shortest path, and outputs the cumulative weight of this path as the topological shortest path distance parameter. This parameter is dimensionless, reflecting both the physical distance of paths and the current state of edge blockage. The topological shortest path distance parameter is then fed into the root cause clustering module to determine whether different anomalies belong to the same propagation chain.

[0029] By combining the nearest common ancestor node with the shortest path distance parameter in the topology, density clustering of the connected graph is performed to generate a root cause aggregation alarm data set. Specifically, the root cause clustering module performs connected graph density clustering by combining the nearest common ancestor node and the shortest path distance parameter to generate a root cause aggregated alarm dataset. During processing, the system generates cluster centroids centered on the nearest common ancestor node. Based on the shortest path distance parameter, it filters out multidimensional anomaly feature tensors within a defined radius of the cluster centroid and assigns them to the same density cluster. The defined radius can be obtained by multiplying the median of the shortest path distance parameter for historical anomaly samples on the same route by an empirical coefficient, or it can be configured between 1.5 and 3.5. The smaller the value, the more conservative the clustering result. For discrete multidimensional anomaly feature tensors that do not fall into any density cluster, the system does not directly form a root cause aggregated alarm dataset but removes them as discrete anomaly records for subsequent single-ticket review. This avoids occasional scanning errors or single-ticket address issues from being mixed into regional alarms. For the status attributes of topological nodes belonging to the same density cluster, the root cause clustering module aggregates their route code, physical distribution station code, current congestion characteristics, waiting-to-departure capacity characteristics, environmental index, and trigger time range to generate a comprehensive early warning label. Multiple comprehensive early warning labels are merged according to the nearest common ancestor node and route code to form a root cause aggregated alarm data set. Each data point in the root cause aggregated alarm data set retains the source density cluster, affected route, affected freight volume, and comprehensive early warning label, thus enabling a clear correlation with the previously generated target timeliness indicator data.

[0030] Merge target timeliness indicator data with root cause aggregated alarm data sets to generate a global diagnostic report stream for execution and distribution; Specifically, the diagnostic fusion module merges the target timeliness indicator data with the root cause aggregated alarm data set to generate a global diagnostic report stream for distribution. During processing, the diagnostic fusion module extracts the overdue route coding features from the target timeliness indicator data and retrieves the corresponding comprehensive warning tags from the root cause aggregated alarm data set. If the same overdue route coding feature corresponds to multiple comprehensive warning tags, the system sorts them according to the impact on the number of waybills and the proximity of the trigger time, prioritizing the comprehensive warning tags with higher rankings and adding the remaining comprehensive warning tags as supplementary reasons to the nested structure. Subsequently, the diagnostic fusion module uses the overdue route coding features as a data index dictionary, mapping them to the comprehensive warning tags to assemble a nested data format. The nested data format can be stored as a JSON object, with the outer key being the overdue route coding feature, and inner fields including average transit time, overdue waybill volume, target abnormal node, nearest common ancestor node, comprehensive warning tag, and suggested distribution level. The system parses the nested data format, renders and outputs the global diagnostic report stream, which can be distributed to the WebDashboard, instant messaging bot, and dashboard screen. Because the global diagnostic report stream references both target timeliness index data and root cause aggregated alarm data sets, users can directly trace the corresponding abnormal node and aggregated root cause from the overdue result of a line.

[0031] Furthermore, parsing the received natural language request sequence to generate an intermediate semantic representation tree includes: The received natural language request sequence is segmented to generate an ordered text segmentation sequence; Logistics entity nodes are constructed by extracting business object features that refer to the waybill circulation process within the text segmentation sequence, and spatiotemporal constraint nodes are constructed by extracting time limit and geographical range limitation parameter features within the text segmentation sequence. Extract the dependency syntactic relationship features between each word in the text segmentation sequence, and measure the modification dependency weight values ​​between each logistics entity node and the spatiotemporal constraint node based on the dependency syntactic relationship features; Based on the modification and dependency weight values, the logistics entity nodes and spatiotemporal constraint nodes are hierarchically combined, and the spatiotemporal constraint nodes are connected to the matching logistics entity nodes as attribute branches, thus assembling an intermediate semantic representation tree.

[0032] In one specific embodiment, a more refined text processing procedure can be employed when parsing the received natural language request sequence to generate an intermediate semantic representation tree. The intent parsing module first performs segmentation processing on the received natural language request sequence to generate an ordered text segmentation sequence. The segmentation processing is based on a logistics dictionary maintained by the enterprise, which contains fixed entries such as pickup, transit, delivery, receipt, East China, South China, trunk line, route code, and overdue, and sets priorities for date expression, regional expression, and waybill flow stage expression. Taking the natural language request sequence "What are the overdue transit routes from East China to South China last week?" as an example, the ordered text segmentation sequence obtained after segmentation processing contains "last week", "East China", "delivery", "South China", "transit timeliness", "overdue routes", and "what are they?". The system retains the segmentation position to avoid losing the "delivery" flow relationship later.

[0033] After an ordered text segmentation sequence is formed, the intent parsing module extracts business object features referring to the waybill circulation process within the text segmentation sequence to construct logistics entity nodes. Transit timeliness and overdue routes will each constitute a logistics entity node. If terms such as waybill number, branch, distribution station, and trunk line appear in the text segmentation sequence, they will also be included in the logistics entity nodes. Simultaneously, the system extracts limiting parameter features referring to time limits and geographical scope within the text segmentation sequence to construct spatiotemporal constraint nodes. Last week is converted into a time limit consisting of start and end dates, and East China and South China are converted into geographical scopes consisting of regional code sets. The output of this stage is not a simple label, but node data with node type, original terms, standard codes, and text positions, providing a basis for subsequent calculation of dependency syntax features.

[0034] Next, the intent parsing module extracts the dependency syntactic relationship features between each segment within the text segmentation sequence. Based on these features, it measures the modification dependency weight values ​​between each logistics entity node and the spatiotemporal constraint node. Dependency syntactic relationship features include adjacency relationships, prepositional relationships, flow relationships, and modification relationships. The system calculates the modification dependency weight values ​​based on text distance, collocation strength in the business dictionary, and dependency relationship type. The modification dependency weight values ​​are dimensionless values ​​between zero and one; higher values ​​indicate that the spatiotemporal constraint node should be attached to the corresponding logistics entity node. For example, the modification dependency weight value between "last week" and "transit timeliness" is higher than that between "last week" and "which ones"; after East China and South China form a flow relationship through "departure," the modification dependency weight value between "East China" and "overdue routes" is higher than that between "East China" and "overdue routes." Finally, the intent parsing module performs hierarchical combination of logistics entity nodes and spatiotemporal constraint nodes based on the modification dependency weight values, connecting the spatiotemporal constraint nodes as attribute branches to the matched logistics entity nodes, thus assembling an intermediate semantic representation tree. The resulting intermediate semantic representation tree retains the original meaning of natural language and has a clear mapping relationship between database fields and graph nodes.

[0035] Furthermore, graph structure matching is performed between the intermediate semantic representation tree and the pre-set logistics relationship graph. Based on the matching feedback results, the intermediate semantic representation tree is completed, including: Map the intermediate semantic representation tree to the subgraph structure to be matched, and calculate the path connectivity value between each logistics entity node in the subgraph structure to be matched in the pre-set logistics relationship graph. When the value of path connectivity is higher than the preset cost threshold, the default dimension table fields associated with the corresponding logistics entity nodes are extracted from the preset logistics relationship graph as transition node features. The transition node features are inserted into the intermediate semantic representation tree between logistics entity nodes that have skipped levels, generating an intermediate semantic representation tree with a complete state.

[0036] In a specific embodiment, after the aforementioned intermediate semantic representation tree has been generated, the data query module performs graph structure matching and completion on it. The system first maps the intermediate semantic representation tree to a subgraph structure to be matched. The nodes in the subgraph structure follow the logistics entity nodes and spatiotemporal constraint nodes, and edges represent and modify dependency and flow relationships. The data query module calculates the path connectivity cost between each logistics entity node in the subgraph structure to be matched within a pre-defined logistics relationship graph. The path connectivity cost is determined by the graph path length, the number of field type conversions, and the business relationship credibility. The longer the path length, the more field type conversions, and the lower the business relationship credibility, the higher the path connectivity cost. This cost value is a dimensionless numerical value used to determine whether the subgraph structure to be matched has any skipped levels caused by missing fields.

[0037] When the path connectivity cost exceeds a preset cost threshold, it indicates a lack of necessary association fields between the two logistics entity nodes. In practical applications, the preset cost threshold can be between 2.0 and 4.0. If a transit time node cannot be directly connected to the route range from East China to South China, the system will extract default dimension table fields associated with the corresponding logistics entity nodes from the preset logistics relationship graph as transition node features. Default dimension table fields can be route codes, origin region codes, destination region codes, station codes, and date partition fields. These fields all come from the enterprise's maintained data dictionary and have a definite data source. The data query module inserts the transition node features into the intermediate semantic representation tree between logistics entity nodes with skipped levels, generating a completed intermediate semantic representation tree. The inserted tree structure can be stably converted into structured query commands, reducing query breaks caused by incomplete natural language expressions.

[0038] Furthermore, the real-time weights of the topological edges are calculated, including: Extract the node check-in timestamp features from the streaming trajectory data, and combine them with the baseline routing specifications to parse out the lag time difference data corresponding to each topology connection edge. The real-time environmental index sequence of the geographic region to which the topological edge belongs is captured, and the environmental constraint matrix is ​​generated by performing tensor product calculation by fusing the lagged time difference data and the real-time environmental index sequence. Extract the maximum eigenvalue from the environmental constraint matrix feedback, and use the maximum eigenvalue as the real-time weight of the topological edge to assign values ​​to the connection attributes between nodes.

[0039] In a specific embodiment, the real-time weights of topological edges are typically calculated using a fixed time window in actual deployment. The topology graphing module uses a statistical window of five or fifteen minutes to extract node check-in timestamp features from the streaming trajectory data within that window. If a topological edge contains multiple waybills within the same window, the system uses the median actual transport time to represent the transport status of that window, avoiding extreme single-way records from inflating the real-time weights. The lag time difference data is the actual transport time minus the standard transport time; when the result is less than zero, it is treated as zero, indicating that the topological edge has not experienced lag. The real-time environmental index sequence and the lag time difference data are aligned within the same time window and then used in tensor product calculations. The extraction process of the maximum eigenvalue of the environmental constraint matrix feedback uses conventional matrix eigenvalue solving; the input matrix is ​​a dimensionless matrix, and the output maximum eigenvalue is also a dimensionless value. This real-time weight is written back to the topological edge attributes of the dynamic spatiotemporal topology graph for use in calculating the deviation of real-time connected paths, random walk sampling, and the topological shortest path distance parameter.

[0040] Furthermore, the reachability attenuation bias matrix of the real-time connectivity path relative to the baseline routing specification is calculated, including: Extract the actual flow node sequence contained in the real-time connectivity path, perform dynamic time warping and alignment with the standard node sequence fixed in the baseline routing specification, and output the node mapping offset vector. Accumulate the real-time weights of the node mapping offset vectors as they pass through each topological link in the dynamic spatiotemporal topology graph, and obtain the attenuation product sequence for each transmission stage. The attenuation product sequence is rearranged in diagonal matrix form to generate an reachability attenuation bias matrix that characterizes the degree of path deviation.

[0041] In one specific embodiment, when calculating the reachability attenuation bias matrix, the window for dynamic time warping alignment can be set to within twice the length of the standard node sequence. Actual flow nodes that cannot be matched even after exceeding this window are marked as bypass nodes. Each item in the node mapping offset vector is formed by the node sequence offset and the node missing offset. The sequence offset represents the positional deviation of the actual flow node in the standard node sequence, and the node missing offset represents the state where the standard node does not appear in the actual flow node sequence. The system accumulates the node mapping offset vector and the real-time weights of the path topology edges according to the correspondence of transmission stages to obtain an attenuation product sequence. After rearranging in diagonal matrix form, the reachability attenuation bias matrix can intuitively represent which transmission stage caused the deviation. The anomaly marking module only compares the diagonal elements of the matrix with a preset judgment threshold to avoid the influence of off-diagonal null values ​​on the judgment. This design provides clear data basis for marking target anomaly nodes and facilitates subsequent review.

[0042] Furthermore, the target anomaly node is extracted and spliced ​​together with topological nodes within a preset step size range in the dynamic spatiotemporal topology graph to form a local state-aware subgraph. A multidimensional anomaly feature tensor is extracted from the local state-aware subgraph, including: A breadth-first traversal is performed with the target abnormal node as the center point to obtain neighboring nodes, and the current backlog and waiting capacity features of each neighboring node are retained according to the hierarchical relationship. Connect the remaining neighbor nodes and remove isolated connections to solidify the topology connection state and obtain a local state-aware subgraph; Random walk sampling is performed on the local state-aware subgraph to obtain the node walking path. The dwell probability of each node in the node walking path is calculated. The dwell probability is combined with the current dwell amount feature to calculate the multidimensional anomaly feature tensor.

[0043] In a specific embodiment, during the extraction of the local state-aware subgraph, a breadth-first traversal starts from the target anomalous node and simultaneously retains upstream and downstream nodes according to the topological edge direction. Upstream nodes are used to determine the source of the anomaly, and downstream nodes are used to estimate the scope of impact. The current retention characteristics of each neighboring node are derived from the warehouse's non-departure scan records, and the waiting-to-depart capacity characteristics are derived from vehicle scheduling data. Both types of data are associated with topological nodes according to the physical distribution station code. After connecting the retained neighboring nodes and removing isolated connections, the local state-aware subgraph only contains nodes and edges that have a real topological connection with the target anomalous node. During random walk sampling, if an end node without a downstream connection is encountered, the system ends the node walk path and initiates the next sampling from the target anomalous node again; when the number of samplings reaches a set number, or the change in the dwell probability obtained from multiple consecutive samplings is less than 0.01, the sampling process terminates. After calculating the multidimensional anomaly feature tensor by superimposing the residence probability and the current residence quantity feature, the system retains the node index between the tensor and the local state-aware subgraph to ensure that the topology metric module can trace back to the corresponding topology node from the multidimensional anomaly feature tensor.

[0044] Furthermore, the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph is located, including: Tracing and extracting the data reverse flow path of the topological nodes corresponding to the multidimensional anomaly feature tensors from bottom to top within the dynamic spatiotemporal topology graph; Traverse the intersection nodes in the data reverse flow path and calculate the hierarchical depth parameter of the intersection node from the target anomaly node; The intersection node with the smallest value among the extracted hierarchical depth parameters is set as the nearest common ancestor node.

[0045] In one specific implementation, for locating the nearest common ancestor (LCA) node, the topology metric module limits the backtracking depth of the data reversal path, for example, backtracking a maximum of six topological edges to avoid root cause generalization caused by crossing too many levels. The data reversal path is traced back level by level according to the previous station code actually passed by the target waybill, while the validity of the path is verified by combining the directional relationships of topological edges in the dynamic spatiotemporal topology graph. If multiple converging nodes have the same level depth parameter, the system then compares the current retention characteristics of these converging nodes within the same time window, and prioritizes the converging node with the higher current retention characteristic as the LCA node. This processing still prioritizes the level depth parameter, and the current retention characteristic is only used for tie resolution, without changing the basic logic of LCA node location.

[0046] Furthermore, by combining the nearest common ancestor node with the shortest path distance parameter, connected graph density clustering is performed to generate a root cause aggregation alarm data set, including: Generate cluster centroids centered on the nearest common ancestor node, and select multidimensional anomalous feature tensors within the radius of the cluster centroids based on the topological shortest path distance parameter, and classify them into the same density clusters. Remove discrete multidimensional anomalous feature tensors that do not fall into any density cluster; The status attributes of topological nodes belonging to the same density cluster are aggregated to generate comprehensive early warning labels, and the extracted comprehensive early warning labels are merged to form a root cause aggregated alarm data set.

[0047] In one specific embodiment, when performing density clustering of the connected graph, the root cause clustering module generates cluster centroids centered on the nearest common ancestor node. These centroids store the central node's code, time window, and set of routes. The system reads the multidimensional anomaly feature tensor one by one, determining whether it falls within the defined radius of the cluster centroid based on the topological shortest path distance parameter. Simultaneously, to avoid erroneous merging of anomalies from different time periods, the system also requires that the node's clock-in timestamp feature corresponding to the multidimensional anomaly feature tensor fall within the same business time window, such as 30 minutes or one hour. Data that meets both the distance and time window conditions are grouped into the same density cluster. Discrete multidimensional anomaly feature tensors that do not fall into any density cluster are removed from the root cause aggregation process but are still written into the anomaly details table for customer service personnel to query single-ticket trajectories. When aggregating the status attributes of topological nodes belonging to the same density cluster, the system summarizes the current congestion characteristics, waiting departure capacity characteristics, number of affected lines, and number of affected waybills, and generates comprehensive early warning labels based on the site type of the nearest common ancestor node, such as distribution station congestion, trunk line blockage, and regional weather impact. These comprehensive early warning labels are then merged to form a root cause aggregation alarm data set, which is used uniformly by the diagnostic fusion module.

[0048] Furthermore, the target timeliness indicator data and root cause aggregated alarm data sets are merged to generate a global diagnostic report stream, including: Extract the overdue route coding features from the target timeliness indicator data; Retrieve comprehensive early warning tags corresponding to the time-overdue line coding characteristics from the root cause aggregated alarm data set; The overdue line coding features are used as a data index dictionary, mapped to the comprehensive early warning labels to form a nested data format, and the nested data format is parsed to render and output a global diagnostic report stream.

[0049] In a specific embodiment, when generating the global diagnostic report stream, the diagnostic fusion module organizes the report based on the target timeliness indicator data. The overdue route coding feature within the target timeliness indicator data serves as the key in the data index dictionary, and the comprehensive warning label in the root cause aggregation alarm data set serves as the corresponding value. If a certain overdue route coding feature does not have a corresponding comprehensive warning label in the root cause aggregation alarm data set, the system retains the timeliness indicator result for that route and marks the cause field as blank for review; if a corresponding comprehensive warning label exists, the target abnormal node, the nearest common ancestor node, and the affected shipment volume are written into the nested data format. During nested data format parsing, the system renders the global diagnostic report stream from high to low according to the degree of route overdue. The global diagnostic report stream can be either a page data stream or a message distribution data stream. Before distribution, the system filters the route range and sensitive customer information based on user roles to ensure that the diagnostic results are usable while complying with data access boundaries.

[0050] Example 2 This application discloses a logistics trajectory timeliness intelligent analysis system based on multi-agent collaboration.

[0051] Reference Figure 3 A logistics trajectory timeliness intelligent analysis system based on multi-agent collaboration specifically includes: The intent parsing module is used to parse the received natural language request sequence to generate an intermediate semantic representation tree; the intermediate semantic representation tree is composed of logistics entity nodes and spatiotemporal constraint nodes. The data query module is used to compare the intermediate semantic representation tree with the pre-set logistics relationship graph for graph structure matching, complete the intermediate semantic representation tree based on the matching feedback results, convert the completed intermediate semantic representation tree into a structured query command, and execute the structured query command to extract the target timeliness indicator data. The topology graphing module is used to receive streaming trajectory data, construct a dynamic spatiotemporal topology graph with physical distribution stations as topology nodes and trunk lines between stations as topology edges, and calculate the real-time weights of the topology edges. The path deviation calculation module is used to extract the real-time connectivity path of the target waybill in the dynamic spatiotemporal topology map based on the streaming trajectory flow data, and calculate the reachability attenuation offset matrix of the real-time connectivity path relative to the baseline routing specification. The anomaly marking module is used to mark the topology node that triggers the element as a target anomaly node when the value of an element in the reachability decay bias matrix is ​​higher than a preset judgment threshold. The subgraph feature extraction module is used to extract the target abnormal node and splice it together with the topological nodes within a preset step size range in the dynamic spatiotemporal topology graph to form a local state-aware subgraph, and extract multidimensional abnormal feature tensors from the local state-aware subgraph. The topology metric module is used to locate the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph, and to measure the topological shortest path distance parameter of each multidimensional anomaly feature tensor in the dynamic spatiotemporal topology graph. The root cause clustering module is used to perform connected graph density clustering by combining the nearest common ancestor node and the shortest path distance parameter in the topology, and generate a root cause aggregated alarm data set. The diagnostic fusion module is used to merge target timeliness indicator data with root cause aggregated alarm data sets to generate a global diagnostic report stream for execution and distribution.

[0052] Specifically, the logistics trajectory timeliness intelligent analysis system based on multi-agent collaboration includes an intent parsing module, a data query module, a topology mapping module, a path deviation calculation module, an anomaly marking module, a subgraph feature extraction module, a topology metric module, a root cause clustering module, and a diagnostic fusion module. These modules can be deployed on the same server or distributed across different computing nodes according to data volume, with intermediate results passed through message queues and shared caches. The intent parsing module receives natural language request sequences and outputs an intermediate semantic representation tree; the data query module reads the intermediate semantic representation tree and outputs target timeliness index data; the topology mapping module receives streaming trajectory flow data and maintains a dynamic spatiotemporal topology graph; the path deviation calculation module reads real-time connectivity paths from the dynamic spatiotemporal topology graph and outputs an accessibility decay bias matrix; the anomaly marking module outputs target anomaly nodes based on the accessibility decay bias matrix; the subgraph feature extraction module outputs a multidimensional anomaly feature tensor centered on the target anomaly node; the topology metric module outputs the nearest common ancestor node and the topological shortest path distance parameter based on the multidimensional anomaly feature tensor; the root cause clustering module generates a root cause aggregation alarm data set based on this; and the diagnostic fusion module finally merges the target timeliness index data and the root cause aggregation alarm data set to generate a global diagnostic report stream for execution and distribution. The data names and field meanings are consistent across modules, and the output of one module serves as the input of the next, thus forming a complete and closed machine-side data processing flow.

[0053] The above content is merely an example and illustration of the concept of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described, or use similar methods to replace them, as long as they do not deviate from the concept of the invention, they should all fall within the protection scope of the present invention.

[0054] In the description of this specification, references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0055] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to any specific implementation. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention.

Claims

1. A method for intelligent analysis of logistics trajectory timeliness based on multi-agent collaboration, characterized in that, include: Parse the received natural language request sequence to generate an intermediate semantic representation tree; The intermediate semantic representation tree is composed of logistics entity nodes and spatiotemporal constraint nodes; The intermediate semantic representation tree is compared with the pre-set logistics relationship graph for graph structure matching. The intermediate semantic representation tree is completed based on the matching feedback results. The completed intermediate semantic representation tree is converted into a structured query instruction. The structured query instruction is executed to extract the target timeliness indicator data. Receive streaming trajectory data, construct a dynamic spatiotemporal topology graph with physical distribution stations as topology nodes and trunk lines between stations as topology edges, and calculate the real-time weights of the topology edges. Based on the streaming trajectory flow data, the real-time connectivity path of the target waybill in the dynamic spatiotemporal topology map is extracted, and the reachability attenuation offset matrix of the real-time connectivity path relative to the baseline routing specification is calculated. When the value of an element in the reachability decay bias matrix is ​​higher than a preset threshold, the topological node of that element will be marked as a target abnormal node. Extract the target abnormal node and stitch it together with the topological nodes within a preset step size range in the dynamic spatiotemporal topology graph to form a local state-aware subgraph, and extract the multidimensional abnormal feature tensor from the local state-aware subgraph. Locate the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph, and measure the topological shortest path distance parameter of each multidimensional anomaly feature tensor in the dynamic spatiotemporal topology graph. By combining the nearest common ancestor node with the shortest path distance parameter in the topology, density clustering of the connected graph is performed to generate a root cause aggregation alarm data set. The target timeliness indicator data and the root cause aggregated alarm data set are merged to generate a global diagnostic report stream for execution and distribution.

2. The intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration as described in claim 1, characterized in that, Parsing the received natural language request sequence to generate an intermediate semantic representation tree includes: The received natural language request sequence is segmented to generate an ordered text segmentation sequence; Logistics entity nodes are constructed by extracting business object features that refer to the waybill circulation process within the text segmentation sequence, and spatiotemporal constraint nodes are constructed by extracting time limit and geographical range limitation parameter features within the text segmentation sequence. Extract the dependency syntactic relationship features between each word in the text segmentation sequence, and measure the modification dependency weight values ​​between each logistics entity node and the spatiotemporal constraint node based on the dependency syntactic relationship features; Based on the modification and dependency weight values, the logistics entity nodes and spatiotemporal constraint nodes are hierarchically combined, and the spatiotemporal constraint nodes are connected to the matching logistics entity nodes as attribute branches, thus assembling an intermediate semantic representation tree.

3. The intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration as described in claim 2, characterized in that, The intermediate semantic representation tree is compared with the pre-set logistics relationship graph to perform graph structure matching. Based on the matching feedback results, the intermediate semantic representation tree is completed, including: Map the intermediate semantic representation tree to the subgraph structure to be matched, and calculate the path connectivity value between each logistics entity node in the subgraph structure to be matched in the pre-set logistics relationship graph. When the value of path connectivity is higher than the preset cost threshold, the default dimension table fields associated with the corresponding logistics entity nodes are extracted from the preset logistics relationship graph as transition node features. The transition node features are inserted into the intermediate semantic representation tree between logistics entity nodes that have skipped levels, generating an intermediate semantic representation tree with a complete state.

4. The intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration as described in claim 1, characterized in that, Calculate the real-time weights of topological edges, including: Extract the node check-in timestamp features from the streaming trajectory data, and parse out the lag time difference data corresponding to each topology connection edge by combining the baseline routing specification. The real-time environmental index sequence of the geographic region to which the topological edge belongs is captured, and the environmental constraint matrix is ​​generated by performing tensor product calculation by fusing the lagged time difference data and the real-time environmental index sequence. Extract the maximum eigenvalue from the environmental constraint matrix feedback, and use the maximum eigenvalue as the real-time weight of the topological edge to assign values ​​to the connection attributes between nodes.

5. The intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration according to claim 1, characterized in that, Calculate the reachability attenuation offset matrix of the real-time connectivity path relative to the baseline routing specification, including: Extract the actual flow node sequence contained in the real-time connectivity path, perform dynamic time warping and alignment with the standard node sequence fixed in the baseline routing specification, and output the node mapping offset vector. Accumulate the real-time weights of the node mapping offset vectors as they pass through each topological link in the dynamic spatiotemporal topology graph, and obtain the attenuation product sequence for each transmission stage. The attenuation product sequence is rearranged in diagonal matrix form to generate an reachability attenuation bias matrix that characterizes the degree of path deviation.

6. The intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration according to claim 1, characterized in that, The target anomaly node is extracted and concatenated with topological nodes within a preset step size range in the dynamic spatiotemporal topology graph to form a local state-aware subgraph. A multidimensional anomaly feature tensor is extracted from this local state-aware subgraph, including: A breadth-first traversal is performed with the target abnormal node as the center point to obtain neighboring nodes, and the current backlog and waiting capacity features of each neighboring node are retained according to the hierarchical relationship. Connect the remaining neighbor nodes and remove isolated connections to solidify the topology connection state and obtain a local state-aware subgraph; Random walk sampling is performed on the local state-aware subgraph to obtain the node walking path. The dwell probability of each node in the node walking path is calculated. The dwell probability is combined with the current dwell amount feature to calculate the multidimensional anomaly feature tensor.

7. The intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration according to claim 1, characterized in that, Locate the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph, including: Tracing and extracting the data reverse flow path of the topological nodes corresponding to the multidimensional anomaly feature tensors from bottom to top within the dynamic spatiotemporal topology graph; Traverse the intersection nodes in the data reverse flow path and calculate the hierarchical depth parameter of the intersection node from the target anomaly node; The intersection node with the smallest value among the extracted hierarchical depth parameters is set as the nearest common ancestor node.

8. The intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration according to claim 7, characterized in that, By combining the nearest common ancestor node with the shortest path distance parameter in the topology, density clustering of the connected graph is performed to generate a root cause aggregation alarm dataset, including: Generate cluster centroids centered on the nearest common ancestor node, and select multidimensional anomalous feature tensors within the radius of the cluster centroids based on the topological shortest path distance parameter, and classify them into the same density clusters. Remove discrete multidimensional anomalous feature tensors that do not fall into any density cluster; The status attributes of topological nodes belonging to the same density cluster are aggregated to generate comprehensive early warning labels, and the extracted comprehensive early warning labels are merged to form a root cause aggregated alarm data set.

9. The intelligent analysis method for logistics trajectory timeliness based on multi-agent collaboration according to claim 1, characterized in that, Merging target timeliness indicator data with root cause aggregated alarm data sets generates a global diagnostic report stream, including: Extract the overdue route coding features from the target timeliness indicator data; Retrieve comprehensive early warning tags corresponding to the time-overdue line coding characteristics from the root cause aggregated alarm data set; The overdue line coding features are used as a data index dictionary, mapped to the comprehensive early warning labels to form a nested data format, and the nested data format is parsed to render and output a global diagnostic report stream.

10. A logistics trajectory timeliness intelligent analysis system based on multi-agent collaboration, characterized in that, The method for performing the intelligent analysis of logistics trajectory timeliness based on multi-agent collaboration as described in any one of claims 1 to 9 includes: The intent parsing module is used to parse the received natural language request sequence to generate an intermediate semantic representation tree; the intermediate semantic representation tree is composed of logistics entity nodes and spatiotemporal constraint nodes. The data query module is used to compare the intermediate semantic representation tree with the pre-set logistics relationship graph for graph structure matching, complete the intermediate semantic representation tree based on the matching feedback results, convert the completed intermediate semantic representation tree into a structured query command, and execute the structured query command to extract the target timeliness indicator data. The topology graphing module is used to receive streaming trajectory data, construct a dynamic spatiotemporal topology graph with physical distribution stations as topology nodes and trunk lines between stations as topology edges, and calculate the real-time weights of the topology edges. The path deviation calculation module is used to extract the real-time connectivity path of the target waybill in the dynamic spatiotemporal topology map based on the streaming trajectory flow data, and calculate the reachability attenuation offset matrix of the real-time connectivity path relative to the baseline routing specification. The anomaly marking module is used to mark the topology node that triggers the element as a target anomaly node when the value of an element in the reachability decay bias matrix is ​​higher than a preset judgment threshold. The subgraph feature extraction module is used to extract the target abnormal node and splice it together with the topological nodes within a preset step size range in the dynamic spatiotemporal topology graph to form a local state-aware subgraph, and extract multidimensional abnormal feature tensors from the local state-aware subgraph. The topology metric module is used to locate the nearest common ancestor node to which each multidimensional anomaly feature tensor belongs in the dynamic spatiotemporal topology graph, and to measure the topological shortest path distance parameter of each multidimensional anomaly feature tensor in the dynamic spatiotemporal topology graph. The root cause clustering module is used to perform connected graph density clustering by combining the nearest common ancestor node and the shortest path distance parameter in the topology, and generate a root cause aggregated alarm data set. The diagnostic fusion module is used to merge target timeliness indicator data with root cause aggregated alarm data sets to generate a global diagnostic report stream for execution and distribution.