An international multimodal transport container service connection risk early warning method based on artificial intelligence and graph time sequence reasoning
By constructing a digital twin baseline and using multi-model identification technology, the problem of risk identification and transmission in international multimodal container transport has been solved, enabling cross-node and cross-modal risk quantification and graded early warning, thereby improving the stability and early warning capabilities of the transport chain.
Patent Information
- Application Number
- CN202611645465.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies cannot effectively identify multiple risk sources in international multimodal container transport, nor can they quantify the risk transmission and amplification effects between different transport nodes and modes, making it difficult to achieve risk management across nodes and modes.
By collecting data on container status, transport carrier, external environment, and business processes, a digital twin baseline is constructed. Real-time anomalies are identified using time-series anomaly detection and image recognition models. Potential risks are predicted by combining gradient boosting trees and time-series prediction models. Risk transmission probabilities are calculated by recursively delaying risks through a directed graph model, thereby achieving cross-node and cross-mode quantification and hierarchical early warning of risks.
It enables proactive prediction and cross-node transmission quantification of risks across the entire international multimodal transport chain, improves the coverage of risk identification and early warning capabilities, and ensures the stable operation of cross-border transport chains.
Smart Images

Figure CN123140682A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent logistics technology, and in particular to a method for early warning of risks in the connection of international multimodal transport container schedules based on artificial intelligence and graph temporal reasoning. Background Technology
[0002] With the rapid development of artificial intelligence and Internet of Things technologies, risk warning in international multimodal container transport is showing a significant trend towards intelligence and networking. Against this backdrop, to improve the reliability of risk management throughout the cross-border transport process, traditional technologies typically employ methods such as single-point monitoring, fixed-threshold alarms, and manual experience-based judgment. These methods mainly encompass solutions such as container-mounted sensor over-limit alarms, fixed-point video surveillance, and back-end record keeping.
[0003] Single-point monitoring solutions can only collect a few indicators such as location, temperature, and humidity, failing to cover multiple risk sources including road conditions, weather, loading and unloading operations, port inspections, vehicle status, and container structure, resulting in a limited identification dimension. Fixed-threshold alarm solutions, once set, are difficult to dynamically adjust according to transportation modes, seasons, and regional patterns, exhibiting poor adaptability across different intermodal transport scenarios such as sea, rail, and road transport. Furthermore, they can only be triggered passively after an anomaly occurs, lacking the ability to predict in advance. Manual experience-based judgment solutions rely on managers combining transportation plans with on-site reports to conduct anomaly investigations. Faced with massive amounts of transportation, environmental, and business data, the judgment efficiency is low, highly subjective, and prone to omissions and misjudgments. In addition, all the above solutions are based on single-point or single-link monitoring, failing to capture the transmission and amplification effects of risks across different transportation nodes and modes. When single-point risks such as port congestion and terminal delays propagate to subsequent links, it is difficult to quantify their cascading impact on the entire link, failing to meet the risk management needs of multimodal transport across nodes and modes. Summary of the Invention
[0004] The purpose of this invention is to address the shortcomings of existing technologies by providing a method for early warning of risks in international multimodal container train schedule connections based on artificial intelligence and graph temporal reasoning, comprising the following steps: S1: Collect data on container status, transport carrier, external environment, and business processes, perform spatiotemporal alignment and classification labeling, and construct a digital twin baseline; S2: Based on the digital twin baseline, real-time anomalies are identified through a time-series anomaly detection model and an image recognition model, and potential risks are predicted through a gradient boosting tree and a time-series prediction model. Real-time anomaly events, potential risk events, and corresponding source node delay prediction values are output. S3: Abstract the multimodal transport link into a directed graph, dividing nodes into fixed-schedule nodes and non-fixed-schedule nodes; determine the source node and its delay duration based on the real-time abnormal event or the potential risk event; obtain the container planned path based on the digital twin baseline; and recursively calculate the transmission delay node by node along the planned path: for fixed-schedule nodes, determine whether the connection time slot can absorb the delay based on the comparison result of the arrival delay and the planned connection time slot; if it cannot absorb the delay, calculate the transmission delay by extending the interval of subsequent trains; for non-fixed-schedule nodes, the transmission delay is taken as the maximum value of the difference between the arrival delay and the planned connection time slot; when there is no planned connection time slot constraint, the transmission delay is directly taken as the arrival delay; use the planned connection time slot, the interval of subsequent trains, and the transmission delay as edge features, input them into the pattern-aware graph attention network, the pattern-aware graph attention network sets independent relation parameters according to the mode of transport, calculates the transmission probability between nodes, and outputs the risk transmission path and the expected transmission delay duration; S4: Calculate a comprehensive risk value based on the real-time abnormal events, the potential risk events, and the transmission probability, classify the risk levels, and issue graded warnings.
[0005] Preferably, in step S1, constructing a digital twin baseline includes: S111: Collects container body status data including GPS / BeiDou positioning, container door opening and closing status, and container vibration, as well as container appearance data obtained by AI visual scanning at terminal checkpoints and transshipment nodes; collects transportation vehicle operation data including the speed of ships, road freight trucks, and railway trains, and equipment operating conditions; collects external environmental data including meteorological data along the route and geological disaster early warning; and collects business process data including transportation plans, transshipment node layout, and customs inspection progress. S112: Based on the UTC unified timestamp, linear interpolation and nearest neighbor matching are used to align various types of data with different sampling frequencies to a unified time axis with a preset time granularity; based on latitude and longitude coordinates and preset transportation node geofences, each piece of data is automatically assigned to the corresponding transportation node or segment, and the spatial assignment is verified by the node order in the transportation plan. S113: Using the waybill number-container number as an index, the multi-source data after alignment and labeling are associated in time series to form a full-process status digital mirror containing location trajectory, environmental parameters, equipment operating conditions, node dwell time, planned arrival time of each node, planned departure time, planned connection time slot and subsequent shift interval, which serves as the digital twin baseline.
[0006] Preferably, in step S2, identifying real-time anomalies through a time-series anomaly detection model includes: S211: Use an LSTM autoencoder to detect timing anomalies, obtain aligned sensor timing data, and divide the sensor timing data into multiple window data according to a preset sliding window size; S212: First, calculate the z-score of the current window data relative to the historical normal baseline of the same transportation mode. If the absolute value of the z-score of any indicator is greater than the preset indicator threshold, it is considered as an initial screening anomaly. S213: Then input the window data into the pre-trained LSTM autoencoder. If the reconstruction error exceeds the dynamic threshold, it is determined to be a time series anomaly. The dynamic threshold is adaptively adjusted based on the quantile line of the same transportation mode data within a preset historical time period. S214: Output the anomaly type label, anomaly occurrence time, and anomaly severity score, and write them into the risk event database as real-time anomaly events.
[0007] Preferably, in step S2, identifying real-time anomalies using an image recognition model includes: S221: Obtain the container appearance image and loading and unloading operation video frame captured by the AI camera at the station checkpoint and transshipment node as the image to be processed. After uniformly preset the size and perform noise reduction and enhancement processing on the image to be processed, input the processed image to be processed into the CNN image recognition model. S222: The detection network of the CNN image recognition model is based on the processed image to be processed. First, it locates the key components, including the box area, seals, doors, and dangerous goods labels. Then, the classification branch performs fine-grained classification on each component area to identify structural damage, rust and perforation, broken seals, unclosed doors, and non-compliant dangerous goods labels. S223: The CNN image recognition model outputs the anomaly category, confidence level, anomaly location coordinates and captured image. When the confidence level is greater than or equal to the preset confidence threshold, the visual anomaly is confirmed, associated with the corresponding container number and transportation node, and a visual anomaly event is generated.
[0008] Preferably, in step S2, the potential risks are predicted using gradient boosting trees and time-series prediction models, including: S231: Construct three types of input features: static features, dynamic temporal features, and prospective features. Static features include transportation routes, node types, transportation modes, seasons, and holiday identifiers. Dynamic temporal features include delay duration sequences, temperature and humidity sequences, and congestion index sequences for each node within a preset historical period. Prospective features include weather forecast data, road control plans, station operation schedules, and railway train operation timetable adjustment information. S232: Based on the three types of input features, train an XGBoost binary classification model for each type of risk, namely transportation delay, disaster impact, inspection delay, and road interruption, and output the probability of occurrence of each risk type in the future preset time period; S233: Based on the three types of input features, the Temporal Fusion Transformer model is used to make numerical predictions for the node delay time, segment running time, and continuous variables of temperature and humidity for the future preset prediction period, and outputs multiple preset quantile prediction values and confidence intervals with preset confidence levels. S234: Based on the occurrence probability and the quantile prediction value, when the occurrence probability exceeds a preset probability threshold or the quantile prediction value exceeds a preset safety threshold, a potential risk warning is triggered, and a potential risk event is generated. The potential risk event includes risk type, occurrence probability, expected occurrence time period, affected nodes and segments, and associated box number; and the predicted values of node delay duration and segment operation duration are respectively used as the values of source node delay and segment operation delay.
[0009] Preferably, in step S3, the delay is propagated node by node along the planned path, including: S311: Determine the source node Delay duration If there is a real-time abnormal event in the source node, the delay time of the real-time abnormal event is taken; if there is a potential risk in the source node, the predicted delay value of the source node is taken. S312: Obtain the nodes through which the transportation plan passes from the digital twin baseline. And has not yet passed the node Container Plan path By recursively calculating each node along the planned path, the arrival delay is increased. ,in , This represents the predicted delay for the section of operation. S313: For fixed shift nodes, if If the connection time slot can absorb the delay, then it is determined that the delay is acceptable. Otherwise, it will be considered as absenteeism. ,in In order to connect the time slots in the plan, For the interval of subsequent trains, Indicates rounding up; S314: For non-fixed shift nodes .
[0010] Preferably, in step S3, the step of using the planned connection time slot, subsequent shift interval, and transmission delay as edge features, inputting them into the pattern-aware graph attention network, and calculating the transmission probability between nodes includes: S321: Obtain the node feature vectors of each node in the directed graph. and the edge feature vector of each edge The edge feature vectors Includes planned connection time slots Interval of subsequent trains and conduction delay A two-layer graph attention network is used for each relation type. Set independent node transformation matrices Edge feature transformation matrix and attention parameter vector ; S322: The first layer checks each edge Calculate attention score ,in For node feature vectors, This indicates vector concatenation; S323: At node Attention scores are given on all upstream neighboring nodes. Softmax normalization is used to obtain the attention weights. Furthermore, a multi-head attention mechanism is employed to average the outputs of multiple attention heads; S324: The second layer is based on the attention weights. Aggregate the weighted features of upstream nodes and update the risk propagation feature vector of each node. ; S325: For the source node Each downstream node The propagation probability is calculated from the propagation feature vector. ,in For the sigmoid function, , For trainable parameters, , To preset the normalization duration constant, The downstream node obtained by recursion The expected propagation delay duration; S326: When the propagation probability When the preset transmission threshold is exceeded, the downstream node is determined. There is a risk of transmission, and the system outputs the risk transmission path, the expected transmission delay, and a list of affected container numbers.
[0011] Preferably, in step S4, the comprehensive risk value is calculated, risk levels are classified, and graded early warnings are issued, including: S41: Calculate the overall risk value ,in The probability of occurrence is given when the source of the risk is a real-time abnormal event. Use a preset probability value for occurrence; when the source of risk is a potential risk event. The probability of occurrence is obtained from the gradient boosting tree output; when the risk source is propagated risk, The transmission probability of taking ; S42: The severity of harm is scored by a pre-defined risk rule base based on risk type and severity of anomaly. The urgency level coefficient is set based on the cumulative time period of occurrence; The influence range coefficient is the ratio of the number of nodes in the planned path that are located after the source node, have not yet been passed, and have a propagation probability exceeding a preset propagation threshold, to the number of nodes in the planned path that are located after the source node and have not yet been passed. Weights for the scope of influence; S43: According to Risk levels are determined by the value: A risk level is defined as being greater than or equal to the first risk threshold. Risk level is defined as being below the first risk threshold but greater than or equal to the second risk threshold, and is classified as level two risk. Risk level is 3 if the risk threshold is less than the second risk threshold but greater than or equal to the third risk threshold. Risk level is four if it is below the third risk threshold. S44: Level 1 risks are addressed through multiple channels including audible and visual alarms, SMS, system pop-ups, and voice notifications; Level 2 risks are addressed through system highlighting warnings and targeted work message pushes; Level 3 and Level 4 risks are addressed through background recording and routine prompts.
[0012] Preferably, it also includes coordinated handling: Based on the risk type and risk level, a standardized handling plan is automatically matched, and the early warning information and handling instructions are distributed to the corresponding positions of dispatchers, drivers, dock / station operators, freight forwarders, and customs according to their job responsibilities. The early warning information includes the risk location, risk type, risk level, and impact description, and the handling instructions include the handling action, execution node, and response time limit. Track the handling progress, which includes feedback from handling personnel, equipment feedback, changes in transportation location, and changes in comprehensive risk value. When the handling task fails to respond within the time limit, the comprehensive risk value continues to rise, or the risk transmission path extends to a new transportation node, the handling level is automatically raised and the handling task is regenerated. Once the risk is resolved, the entire risk process data and handling results are automatically recorded and archived in the historical case library. The historical case library is used for iterative optimization of the risk identification model, forming a closed loop.
[0013] Preferably, iterative model optimization is also included: After the risk is handled, the input features before the risk occurred, the original prediction results of the model, the real labels confirmed by manual review, the handling measures and the handling effect are collected as new samples. The input features are from the digital twin baseline and three types of input features. The original prediction results of the model are from real-time abnormal events, potential risk events and source node delay prediction values. The handling measures and handling effects are from the linkage handling records. Based on the new samples, the gradient boosting tree model is refitted with the new samples; the LSTM autoencoder is trained again with the new normal samples and the dynamic threshold is recalculated; the parameters of the bottom feature extraction layer of the backbone network of the CNN image recognition model are frozen, and only the detection head and the classification fully connected layer are fine-tuned; the graph attention network and temporal fusion transformer model adopts the low-rank adaptation LoRA method, injects a trainable low-rank matrix next to the attention layer, and only updates the adapter parameters. When the updated model meets the preset conditions for false positive rate, false negative rate and probability calibration error on the validation dataset, the updated model will be deployed to the cloud data platform or edge computing node.
[0014] Compared with the prior art, the beneficial effects of the present invention are: (1) This invention collects multi-source data and aligns it in time and space, classifies and labels it to construct a digital twin baseline, thereby realizing a unified data base for multiple modes of transportation such as highways, railways and waterways, and thus providing standardized input for risk identification.
[0015] (2) This invention achieves multi-dimensional identification of real-time anomalies and potential risks through time-series anomaly detection, image recognition and gradient boosting tree prediction, thereby improving early warning capabilities and identification coverage.
[0016] (3) This invention achieves the quantification of risk transmission across nodes and transportation modes through directed graph modeling, shift connection time slot recursion and pattern-aware graph attention network, thereby solving the problem that the chain effect of single-point risk cannot be assessed.
[0017] (4) This invention achieves differentiated reach and precise handling through comprehensive risk value classification and early warning, thereby ensuring the stable operation of cross-border multimodal transport links. Attached Figure Description
[0018] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention.
[0019] Figure 1 The flowchart shows a method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning according to the present invention. Figure 2 This is a schematic diagram of the overall architecture of the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. Obviously, the described embodiments are only some, not all, of the embodiments described in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without creative effort are within the scope of protection of this application.
[0021] Those skilled in the art will understand that, unless otherwise stated, the singular forms “a” and “an” used herein, and “the”, may also include the plural forms. It should be further understood that the term “comprising” as used in this specification means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0022] Example:
[0023] Please see Figure 1 As shown, this embodiment provides a method for early warning of risks related to the connection of international multimodal container transport schedules based on artificial intelligence and graph temporal reasoning. By constructing a digital twin baseline, identifying anomalies in multiple models, using graph temporal reasoning with schedule connection time slot constraints, and implementing comprehensive risk classification and early warning, it achieves proactive prediction and cross-node transmission quantification of risks across the entire international multimodal transport chain, thereby improving the accuracy and timeliness of cross-border transportation risk management. The method includes the following steps: S1: Collect data on container status, transport carrier, external environment, and business processes, perform spatiotemporal alignment and classification labeling, and construct a digital twin baseline.
[0024] like Figure 2 As shown, the data acquisition in step S1 is jointly completed by the meteorological data acquisition, geographic data acquisition, port data acquisition, station data acquisition, and transportation data acquisition modules of the data acquisition layer, as well as the regulatory data acquisition, station data acquisition, meteorological data acquisition, and geographic data acquisition modules of the application function layer; spatiotemporal alignment and classification labeling are completed by the data cleaning, data governance, data aggregation, missing value completion, data labeling, and spatiotemporal correlation alignment modules of the ELT layer; the digital twin baseline is constructed by the transportation digital twin module of the application function layer and stored in the business relationship database and IoT time series database of the database layer.
[0025] Preferably, in step S1, constructing a digital twin baseline includes: S111: Collects sensor data including GPS / BeiDou positioning, container door opening and closing status, container vibration, tilt angle, airtightness, internal temperature and humidity, smoke, and liquid level, as well as container appearance data obtained by AI visual scanning at station checkpoints and transshipment nodes; collects speed, equipment status, fault codes, travel trajectories, and on-time / delay status of ships, road freight trucks, and railway trains; collects external environmental data including meteorological data and geological disaster warnings along the route, road traffic status, and sea wave levels; and collects business process data including transportation plans, transshipment node layout and customs inspection progress, loading and unloading schedules, yard storage saturation, and station operation delay duration. S112: Based on the UTC unified timestamp, linear interpolation and nearest neighbor matching are used to align various types of data with different sampling frequencies to a unified time axis with a 1-minute granularity; based on latitude and longitude coordinates and preset transportation node geofences, each piece of data is automatically assigned to the corresponding transportation node or segment, and the spatial assignment is verified by the node order in the transportation plan. S113: Using the waybill number-container number as an index, the multi-source data after alignment and labeling are associated in time series to form a full-process status digital mirror containing location trajectory, environmental parameters, equipment operating conditions, node dwell time, planned arrival time of each node, planned departure time, planned connection time slot and subsequent shift interval, which serves as the digital twin baseline.
[0026] S2: Based on the digital twin baseline, real-time anomalies are identified through a time-series anomaly detection model and an image recognition model. Potential risks are predicted through a gradient boosting tree and a time-series prediction model. The results are output as real-time anomaly events, potential risk events, and corresponding source node delay prediction values. Specifically, in this embodiment, this step is jointly completed by the real-time anomaly identification module, the potential risk prediction module, and the AI risk engine in the application function layer. The box appearance recognition and risk situation assessment in the AI-enabled module provide AI capability support for real-time anomaly identification and potential risk prediction. Warning information is pushed through the message notification engine.
[0027] Preferably, in step S2, identifying real-time anomalies through a time-series anomaly detection model includes: S211: LSTM autoencoder is used for timing anomaly detection, the aligned sensor timing data is obtained, and the sensor timing data is divided into multiple window data according to the preset sliding window size of 5 minutes. S212: First calculate the z-score of the current window data relative to the historical normal baseline of the same transportation mode. If the absolute value of the z-score of any indicator is greater than the preset indicator threshold of 3, it is considered as an initial screening anomaly. S213: Then input the window data into the pre-trained LSTM autoencoder. If the reconstruction error exceeds the dynamic threshold, it is judged as a time series anomaly. The dynamic threshold is adaptively adjusted based on the 95th percentile of 30 days of data with the same transportation mode within a preset historical time period. S214: Output the anomaly type label, anomaly occurrence time, and anomaly severity score, and write them into the risk event database as real-time anomaly events.
[0028] Preferably, in step S2, identifying real-time anomalies using an image recognition model includes: S221: Obtain the container exterior images and loading and unloading operation video frames captured by the AI cameras at the station checkpoint and transshipment node as images to be processed. After uniformly pre-setting the size of the images to be processed to 640×640 and performing noise reduction and enhancement processing, input the processed images to be processed into the CNN image recognition model. S222: The detection network of the CNN image recognition model is based on the processed image to be processed. It first locates the container area and key components including seals, doors, and dangerous goods labels. Then, the classification branch performs fine-grained classification of each component area to identify structural damage, rust and perforation, broken seals, unclosed doors, and non-compliant dangerous goods labels. S223: The CNN image recognition model outputs the anomaly category, confidence level, anomaly location coordinates, and captured image. When the confidence level is greater than or equal to the preset confidence threshold of 0.85, the visual anomaly is confirmed, associated with the corresponding container number and transportation node, and a visual anomaly event is generated.
[0029] Preferably, in step S2, the potential risks are predicted using gradient boosting trees and time-series prediction models, including: S231: Construct three types of input features: static features, dynamic temporal features, and prospective features. Static features include transportation routes, node types, transportation modes, seasons, and holiday identifiers. Dynamic temporal features include delay duration sequences, temperature and humidity sequences, and congestion index sequences for each node within a preset historical period of 24 hours. Prospective features include weather forecast data for the next 24 hours and 7 days, road control plans, station operation schedules, and railway train schedule adjustment information. S232: Based on three types of input features, train an XGBoost binary classification model for each type of risk, namely transportation delay, disaster impact, inspection delay, and road interruption. The model has a tree depth of 6, a learning rate of 0.05, and 1000 trees. The model outputs the probability of occurrence of each risk type in each time period of the future preset time period 1-24 hours. S233: Based on the three types of input features, the Temporal Fusion Transformer model is used to make numerical predictions for the node delay time, segment running time, and continuous variables of temperature and humidity for the future preset prediction period, and outputs multiple preset quantile prediction values (10th, 50th, and 90th) and a preset confidence interval of 90%. S234: Based on the probability of occurrence and the predicted quantile value, when the probability of occurrence exceeds a preset probability threshold, or the predicted quantile value exceeds a preset safety threshold, a potential risk warning is triggered, and a potential risk event is generated. The potential risk event includes the risk type, probability of occurrence, expected occurrence period, affected nodes and segments, and associated box number; and the predicted values of node delay duration and segment operation duration are respectively used as the values of source node delay and segment operation delay.
[0030] S3: The multimodal transport link is abstracted as a directed graph, with nodes divided into fixed-schedule nodes and non-fixed-schedule nodes. The source node and its delay duration are determined based on real-time abnormal events or potential risk events. The planned container route is obtained based on a digital twin baseline, and the transmission delay is recursively calculated node by node along the planned route. For fixed-schedule nodes, the connection time slot is compared with the planned connection time slot to determine whether the delay can be absorbed. If not, the transmission delay is calculated by extending the subsequent schedule interval. For non-fixed-schedule nodes, the transmission delay is the maximum difference between the arrival delay and the planned connection time slot. When there is no planned connection time slot constraint, the transmission delay is directly taken as the arrival delay. The planned connection time slot, subsequent schedule interval, and transmission delay are used as edge features and input into a pattern-aware graph attention network. The pattern-aware graph attention network sets independent relationship parameters according to the mode of transport, calculates the transmission probability between nodes, and outputs the risk transmission path and the expected transmission delay duration. Specifically, this embodiment is completed by the risk transmission inference module of the application function layer; the risk transmission analysis in the AI-enabled module provides AI capability support for risk transmission inference.
[0031] In this embodiment, the topology graph is constructed as a directed graph G=(V,E), where nodes V are each transportation node (originating yard, port, railway station, border crossing, transshipment station, destination warehouse), and edges E are transportation segments between nodes (sea transport segment / railway segment / road transport segment). The direction of the edges is consistent with the logistics direction. Each edge (i,j) is labeled with the relationship type r(i,j)∈{sea transport, rail transport, road transport}. Based on whether the subsequent transportation mode of the node has a fixed schedule, the nodes are divided into fixed schedule nodes (subsequent trains or ships, requiring connection to specific schedules) and non-fixed schedule nodes (subsequent road transport, departing at any time).
[0032] Preferably, in step S3, the delay is propagated node by node along the planned path, including: S311: Determine the source node Delay duration If there is a real-time abnormal event in the source node, the delay time of the real-time abnormal event is taken; if there is a potential risk in the source node, the predicted delay value of the source node is taken. S312: Obtain the nodes through which the transportation plan passes from the digital twin baseline And has not yet passed the node Container Plan path By recursively calculating each node along the planned path, the arrival delay is increased. ,in , This represents the predicted delay for the section of operation. S313: For fixed shift nodes, if If the connection time slot can absorb the delay, then it is determined that the delay is acceptable. Otherwise, it will be considered as absenteeism. ,in In order to connect the time slots in the plan, For the interval of subsequent trains, Indicates rounding up; S314: For non-fixed shift nodes .
[0033] Preferably, in step S3, the step of using the planned connection time slot, subsequent shift interval, and transmission delay as edge features, inputting them into the pattern-aware graph attention network, and calculating the transmission probability between nodes includes: S321: Obtain the node feature vectors of each node in the directed graph. and the edge feature vector of each edge , where the edge feature vector Includes planned connection time slots Interval of subsequent trains and conduction delay A two-layer graph attention network is used for each relation type. Set independent node transformation matrices Edge feature transformation matrix and attention parameter vector ; S322: The first layer checks each edge Calculate attention score ,in, , For node feature vectors, This indicates vector concatenation; S323: At node Attention scores are given on all upstream neighboring nodes. Softmax normalization is used to obtain the attention weights. Furthermore, a multi-head attention mechanism is employed to average the outputs of multiple attention heads; S324: The second layer is based on the attention weights. Aggregate the weighted features of upstream nodes and update the risk propagation feature vector of each node. ; S325: For the source node Each downstream node The propagation probability is calculated from the propagation feature vector. ,in For the sigmoid function, , For trainable parameters, , To preset the normalization duration constant, The downstream node obtained by recursion The expected propagation delay duration; S326: When the propagation probability When the preset transmission threshold is exceeded, the downstream node is determined. There is a risk of transmission, and the system outputs the risk transmission path, the expected transmission delay, and a list of affected container numbers.
[0034] S4: Based on real-time abnormal events, potential risk events, and transmission probabilities, a comprehensive risk value is calculated to classify risk levels and issue tiered warnings. Specifically, in this embodiment, this is accomplished by the risk level assessment module of the application function layer; the tiered warning push in the AI-enabled module provides AI capability support for risk level assessment; the warning information is pushed to the risk management digital cockpit and collaborative warning and handling platform of the platform layer through the message notification engine, for viewing and collaborative handling by customs supervision departments, railway / station operators, logistics carriers, and cargo owners / freight forwarders in the application layer.
[0035] Preferably, in step S4, the comprehensive risk value is calculated, risk levels are classified, and graded early warnings are issued, including: S41: Calculate the overall risk value ,in The probability of occurrence is given when the source of the risk is a real-time abnormal event. Use a preset probability value for occurrence; when the source of risk is a potential risk event. The probability of occurrence is obtained from the gradient boosting tree output; when the risk source is propagated risk, The transmission probability of taking ; S42: The severity of harm is scored by a pre-defined risk rule base based on risk type and severity of anomaly. The urgency level coefficient is set based on the cumulative time period of occurrence; To determine the influence range coefficient, the ratio of the number of nodes in the planned path that are located after the source node, have not yet been passed, and have a propagation probability exceeding a preset propagation threshold to the number of nodes in the planned path that are located after the source node and have not yet been passed is taken. Weights for the scope of influence; S43: According to Risk levels are determined by the value: A risk level greater than or equal to the first risk threshold is classified as Level 1 risk (i.e., ... ), Risk level is defined as being less than the first risk threshold but greater than or equal to the second risk threshold (i.e., ...). ), Risk level is 3 when the risk threshold is less than the second risk threshold and greater than or equal to the third risk threshold (i.e., ...). ), When the risk level is less than the third risk threshold, it is classified as level four risk (i.e., ); S44: Level 1 risks are addressed through multiple channels including audible and visual alarms, SMS, system pop-ups, and voice notifications; Level 2 risks are addressed through system highlighting warnings and targeted work message pushes; Level 3 and Level 4 risks are addressed through background recording and routine prompts.
[0036] Preferably, it also includes coordinated handling, which is completed by the intelligent anomaly handling module of the application function layer; the anomaly coordinated handling and handling plan matching in the AI-enabled module provide AI capability support for intelligent anomaly handling. Based on the risk type and risk level, a standardized response plan is automatically matched. The warning information and response instructions are distributed to the corresponding positions of dispatchers, drivers, dock / station workers, freight forwarders, and customs according to their job responsibilities. The warning information includes the risk location, risk type, risk level and impact description, and the response instructions include the response actions, execution nodes and response time limits. Track the progress of the disposal, including feedback from disposal personnel, equipment feedback, changes in transportation location and changes in the overall risk value. When the disposal task fails to respond within the time limit, the overall risk value continues to rise, or the risk transmission path extends to a new transportation node, the disposal level is automatically raised and the disposal task is regenerated. Once a risk is resolved, the entire risk process data and handling results are automatically recorded and archived in a historical case library. This historical case library is used for iterative optimization of the risk identification model, forming a closed loop.
[0037] Preferably, it also includes model iterative optimization. In this embodiment, model iterative optimization is supported by the online incremental learning capability in the AI-enabled module. New samples are stored in the business relationship database and IoT time-series database of the database layer, and the updated model is deployed to the cloud data platform or edge computing node. After the risk is handled, the input features before the risk occurred, the original prediction results of the model, the real labels confirmed by manual review, the handling measures and the handling effect are collected as new samples. The input features come from the digital twin baseline and three types of input features, the original prediction results of the model come from real-time abnormal events, potential risk events and source node delay prediction values, and the handling measures and handling effects come from the linkage handling records. Based on the new samples, the gradient boosting tree model is refitted with the new samples; the LSTM autoencoder is trained again with the new normal samples and the dynamic threshold is recalculated; the parameters of the bottom feature extraction layer of the backbone network of the CNN image recognition model are frozen, and only the detection head and the classification fully connected layer are fine-tuned; the graph attention network and temporal fusion transformer model adopts the low-rank adaptation LoRA method, injects a trainable low-rank matrix next to the attention layer, and only updates the adapter parameters. When the updated model meets the preset conditions in terms of false positive rate, false negative rate, and probability calibration error on the validation dataset, the updated model is deployed to the cloud data platform or edge computing node. The updated model is used for real-time anomaly identification and potential risk prediction in subsequent transportation tasks, as well as risk transmission analysis, forming a closed-loop iterative optimization.
[0038] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A method for early warning of risks in international multimodal container train schedule connections based on artificial intelligence and graph temporal reasoning, characterized in that, Includes the following steps: S1: Collect data on container status, transport carrier, external environment, and business processes, perform spatiotemporal alignment and classification labeling, and construct a digital twin baseline; S2: Based on the digital twin baseline, real-time anomalies are identified through a time-series anomaly detection model and an image recognition model, and potential risks are predicted through a gradient boosting tree and a time-series prediction model. Real-time anomaly events, potential risk events, and corresponding source node delay prediction values are output. S3: The multimodal transport link is abstracted as a directed graph, and the nodes are divided into fixed-schedule nodes and non-fixed-schedule nodes; Based on the real-time abnormal events or potential risk events, the source node and its delay duration are determined. The container planning path is obtained based on the digital twin baseline, and the transmission delay is recursively calculated node by node along the planning path: For fixed-schedule nodes, the connection time slot is used to determine whether it can absorb the delay based on the comparison between the arrival delay and the planned connection time slot. If it cannot absorb the delay, the transmission delay is calculated by extending the subsequent shift intervals. For non-fixed-schedule nodes, the transmission delay is taken as the maximum difference between the arrival delay and the planned connection time slot. When there is no planned connection time slot constraint, the transmission delay is directly taken as the arrival delay. The planned connection time slot, subsequent shift intervals, and transmission delay are used as edge features and input into a pattern-aware graph attention network. The pattern-aware graph attention network sets independent relationship parameters according to the transportation mode, calculates the transmission probability between nodes, and outputs the risk transmission path and the expected transmission delay duration. S4: Calculate a comprehensive risk value based on the real-time abnormal events, the potential risk events, and the transmission probability, classify the risk levels, and issue graded warnings.
2. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning as described in claim 1, is characterized in that, In step S1, a digital twin baseline is constructed, including: S111: Collects container body status data including GPS / BeiDou positioning, container door opening and closing status, and container vibration, as well as container appearance data obtained by AI visual scanning at terminal checkpoints and transshipment nodes; collects transportation vehicle operation data including the speed of ships, road freight trucks, and railway trains, and equipment operating conditions; collects external environmental data including meteorological data along the route and geological disaster early warning; and collects business process data including transportation plans, transshipment node layout, and customs inspection progress. S112: Based on the UTC unified timestamp, linear interpolation and nearest neighbor matching are used to align various types of data with different sampling frequencies to a unified time axis with a preset time granularity; based on latitude and longitude coordinates and preset transportation node geofences, each piece of data is automatically assigned to the corresponding transportation node or segment, and the spatial assignment is verified by the node order in the transportation plan. S113: Using the waybill number-container number as an index, the multi-source data after alignment and labeling are associated in time series to form a full-process status digital mirror containing location trajectory, environmental parameters, equipment operating conditions, node dwell time, planned arrival time of each node, planned departure time, planned connection time slot and subsequent shift interval, which serves as the digital twin baseline.
3. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning as described in claim 1, characterized in that, In step S2, real-time anomalies are identified using a time-series anomaly detection model, including: S211: Use an LSTM autoencoder to detect timing anomalies, obtain aligned sensor timing data, and divide the sensor timing data into multiple window data according to a preset sliding window size; S212: First, calculate the z-score of the current window data relative to the historical normal baseline of the same transportation mode. If the absolute value of the z-score of any indicator is greater than the preset indicator threshold, it is considered as an initial screening anomaly. S213: Then input the window data into the pre-trained LSTM autoencoder. If the reconstruction error exceeds the dynamic threshold, it is determined to be a time series anomaly. The dynamic threshold is adaptively adjusted based on the quantile line of the same transportation mode data within a preset historical time period. S214: Output the anomaly type label, anomaly occurrence time, and anomaly severity score, and write them into the risk event database as real-time anomaly events.
4. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning as described in claim 1, characterized in that, In step S2, real-time anomalies are identified using an image recognition model, including: S221: Obtain the container appearance image and loading and unloading operation video frame captured by the AI camera at the station checkpoint and transshipment node as the image to be processed. After uniformly preset the size and perform noise reduction and enhancement processing on the image to be processed, input the processed image to be processed into the CNN image recognition model. S222: The detection network of the CNN image recognition model is based on the processed image to be processed. First, it locates the key components, including the box area, seals, doors, and dangerous goods labels. Then, the classification branch performs fine-grained classification on each component area to identify structural damage, rust and perforation, broken seals, unclosed doors, and non-compliant dangerous goods labels. S223: The CNN image recognition model outputs the anomaly category, confidence level, anomaly location coordinates and captured image. When the confidence level is greater than or equal to the preset confidence threshold, the visual anomaly is confirmed, associated with the corresponding container number and transportation node, and a visual anomaly event is generated.
5. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning as described in claim 1, characterized in that, In step S2, potential risks are predicted using gradient boosting trees and time series prediction models, including: S231: Construct three types of input features: static features, dynamic temporal features, and prospective features. Static features include transportation routes, node types, transportation modes, seasons, and holiday identifiers. Dynamic temporal features include delay duration sequences, temperature and humidity sequences, and congestion index sequences for each node within a preset historical period. Prospective features include weather forecast data, road control plans, station operation schedules, and railway train operation timetable adjustment information. S232: Based on the three types of input features, train an XGBoost binary classification model for each type of risk, namely transportation delay, disaster impact, inspection delay, and road interruption, and output the probability of occurrence of each risk type in the future preset time period; S233: Based on the three types of input features, the Temporal Fusion Transformer model is used to make numerical predictions for the node delay time, segment running time, and continuous variables of temperature and humidity for the future preset prediction period, and outputs multiple preset quantile prediction values and confidence intervals with preset confidence levels. S234: Based on the occurrence probability and the quantile prediction value, when the occurrence probability exceeds a preset probability threshold or the quantile prediction value exceeds a preset safety threshold, a potential risk warning is triggered, and a potential risk event is generated. The potential risk event includes risk type, occurrence probability, expected occurrence time period, affected nodes and segments, and associated box number; and the predicted values of node delay duration and segment operation duration are respectively used as the values of source node delay and segment operation delay.
6. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning as described in claim 1, characterized in that, In step S3, the delay is propagated node by node along the planned path, including: S311: Determine the source node Delay duration If there is a real-time abnormal event in the source node, the delay time of the real-time abnormal event is taken; if there is a potential risk in the source node, the predicted delay value of the source node is taken. S312: Obtain the nodes through which the transportation plan passes from the digital twin baseline. And has not yet passed the node Container Plan path By recursively calculating each node along the planned path, the arrival delay is increased. ,in , This represents the predicted delay for the section of operation. S313: For fixed shift nodes, if If the connection time slot can absorb the delay, then it is determined that the delay is acceptable. Otherwise, it will be considered as absenteeism. ,in In order to connect the time slots in the plan, For the interval of subsequent trains, Indicates rounding up; S314: For non-fixed shift nodes .
7. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning as described in claim 6, is characterized in that, In step S3, the step of using planned connection time slots, subsequent shift intervals, and transmission delays as edge features, inputting them into a pattern-aware graph attention network, and calculating the transmission probability between nodes includes: S321: Obtain the node feature vectors of each node in the directed graph. and the edge feature vector of each edge The edge feature vectors Includes planned connection time slots Interval of subsequent trains and conduction delay A two-layer graph attention network is used for each relation type. Set independent node transformation matrices Edge feature transformation matrix and attention parameter vector ; S322: The first layer checks each edge Calculate attention score ,in, , For node feature vectors, This indicates vector concatenation; S323: At node Attention scores are given on all upstream neighboring nodes. Softmax normalization is used to obtain the attention weights. Furthermore, a multi-head attention mechanism is employed to average the outputs of multiple attention heads; S324: The second layer is based on the attention weights. Aggregate the weighted features of upstream nodes and update the risk transmission feature vector of each node. ; S325: For the source node Each downstream node The propagation probability is calculated from the propagation feature vector. ,in For the sigmoid function, , For trainable parameters, , To preset the normalization duration constant, The downstream node obtained by recursion The expected propagation delay duration; S326: When the propagation probability When the preset transmission threshold is exceeded, the downstream node is determined. There is a risk of transmission, and the system outputs the risk transmission path, the expected transmission delay, and a list of affected container numbers.
8. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning as described in claim 1, characterized in that, In step S4, the comprehensive risk value is calculated, risk levels are classified, and graded early warnings are issued, including: S41: Calculate the overall risk value ,in The probability of occurrence is given when the source of the risk is a real-time abnormal event. Use a preset probability value for occurrence; when the source of risk is a potential risk event. The probability of occurrence is obtained from the gradient boosting tree output; when the risk source is propagated risk, The transmission probability of taking ; S42: The severity of harm is scored by a pre-defined risk rule base based on risk type and severity of anomaly. The urgency level coefficient is set based on the cumulative time period of occurrence; The influence range coefficient is the ratio of the number of nodes in the planned path that are located after the source node, have not yet been passed, and have a propagation probability exceeding a preset propagation threshold, to the number of nodes in the planned path that are located after the source node and have not yet been passed. Weights for the scope of influence; S43: According to Risk levels are determined by the value: A risk level is defined as being greater than or equal to the first risk threshold. Risk level is defined as being below the first risk threshold but greater than or equal to the second risk threshold, and is classified as level two risk. Risk level is 3 if the risk threshold is less than the second risk threshold but greater than or equal to the third risk threshold. Risk level is four if it is below the third risk threshold; S44: Level 1 risks are addressed through multiple channels including audible and visual alarms, SMS, system pop-ups, and voice notifications; Level 2 risks are addressed through system highlighting warnings and targeted work message pushes; Level 3 and Level 4 risks are addressed through background recording and routine prompts.
9. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning as described in claim 1, characterized in that, It also includes joint response: Based on the risk type and risk level, a standardized handling plan is automatically matched, and the early warning information and handling instructions are distributed to the corresponding positions of dispatchers, drivers, dock / station operators, freight forwarders, and customs according to their job responsibilities. The early warning information includes the risk location, risk type, risk level, and impact description, and the handling instructions include the handling action, execution node, and response time limit. Track the handling progress, which includes feedback from handling personnel, equipment feedback, changes in transportation location, and changes in comprehensive risk value. When the handling task fails to respond within the time limit, the comprehensive risk value continues to rise, or the risk transmission path extends to a new transportation node, the handling level is automatically raised and the handling task is regenerated. Once the risk is resolved, the entire process data and handling results are automatically recorded and archived in the historical case library. This historical case library is used for iterative optimization of the risk identification model, forming a closed loop.
10. The method for early warning of risks in international multimodal transport container schedule connections based on artificial intelligence and graph temporal reasoning according to claim 1, characterized in that, It also includes model iterative optimization: After the risk is handled, the input features before the risk occurred, the original prediction results of the model, the real labels confirmed by manual review, the handling measures and the handling effect are collected as new samples. The input features are from the digital twin baseline and three types of input features. The original prediction results of the model are from real-time abnormal events, potential risk events and source node delay prediction values. The handling measures and handling effects are from the linkage handling records. Based on the new samples, the gradient boosting tree model is refitted with the new samples; the LSTM autoencoder is trained again with the new normal samples and the dynamic threshold is recalculated; the parameters of the bottom feature extraction layer of the backbone network of the CNN image recognition model are frozen, and only the detection head and the classification fully connected layer are fine-tuned; the graph attention network and temporal fusion transformer model adopts the low-rank adaptation LoRA method, injects a trainable low-rank matrix next to the attention layer, and only updates the adapter parameters. When the updated model meets the preset conditions for false positive rate, false negative rate and probability calibration error on the validation dataset, the updated model will be deployed to the cloud data platform or edge computing node.
