An intelligent allocation method and system for emergency rescue resources of a cross-regional oil and gas pipeline network

By constructing a distributed multi-agent collaborative architecture and a dynamic risk assessment that integrates Bayesian networks and particle filters, combined with an improved contract network protocol and incremental rescheduling, the response speed and flexibility issues of emergency resource allocation for multiple incidents occurring across regions were resolved, achieving efficient and robust resource allocation.

CN123180782APending Publication Date: 2026-11-27CHINA ACAD OF SAFETY SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611147603.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing emergency resource allocation methods suffer from slow response speed, severe resource conflicts, and poor adaptability in complex scenarios involving cross-regional and concurrent incidents. They lack a combination of probabilistic dynamic risk assessment, distributed multi-agent collaboration, and incremental adaptive rescheduling.

Method used

A distributed multi-agent collaborative architecture is constructed, and a probabilistic dynamic risk assessment method that integrates Bayesian networks and particle filtering is adopted. Combined with an improved contract network protocol and an incremental rescheduling mechanism, intelligent allocation of cross-regional resources is achieved.

Benefits of technology

It enables efficient and robust allocation of cross-regional resources, shortens response time from minutes to milliseconds, meets the real-time requirements of emergency scenarios, and significantly improves the flexibility of resource allocation and the guarantee of critical tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180782A_ABST
    Figure CN123180782A_ABST
Patent Text Reader

Abstract

The application discloses a kind of cross-regional oil and gas pipeline network emergency rescue resource intelligent deployment method and system, belong to oil and gas pipeline safety and emergency management field.The method includes building distributed multi-agent collaborative architecture;The failure risk of pipeline is dynamically evaluated to obtain the risk index of each pipe section;When the multistage trigger criterion based on risk index determines that accident occurs, the upper coordination agent issues the task tender, each lower resource agent generates the bidding scheme, and the upper coordination agent makes resource allocation decisions according to each bidding scheme and risk index;When the trigger event is monitored, the upper coordination agent reads the historical bidding information, only executes local optimization on the affected sub-problem domain, generates supplementary scheduling instructions;The execution effect of the scheduling scheme is verified, and the scheduling scheme that passes the verification is output.The application can organically combine probabilistic dynamic risk assessment, distributed multi-agent collaboration, incremental adaptive rescheduling and scheme robustness verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of oil and gas pipeline safety and emergency management technology, specifically relating to an intelligent allocation method and system for emergency rescue resources in cross-regional oil and gas pipeline networks. Background Technology

[0002] Oil and gas pipelines are the lifeblood of a nation's energy transportation, and their safe operation is of paramount importance. With increasing pipeline mileage and network development, cross-regional and concurrent accidents have become new characteristics of oil and gas pipeline incidents. The painful lessons learned from numerous historical accidents demonstrate that existing emergency resource allocation methods suffer from slow response times, severe resource conflicts, and poor adaptability when facing such complex scenarios.

[0003] Currently, emergency rescue resource allocation methods are mainly divided into three categories.

[0004] The first category is static optimization methods, such as the shortest path method and the minimum cost method. These methods optimize only a single objective and cannot achieve a balance between multiple objectives such as response time, resource matching degree, and allocation cost. In addition, the generated scheduling scheme is fixed and cannot be adjusted according to dynamic changes in the incident.

[0005] The second category is dynamic optimization methods based on prediction models, which use deep learning models to predict disasters and optimize paths. However, such methods have significant drawbacks: (1) They use deterministic models for prediction, which fail to quantify the uncertainty of the prediction itself. When the situation of the accident changes drastically, the confidence level of the prediction results is unknown, resulting in high decision-making risk; (2) They adopt a centralized single optimizer architecture, which cannot achieve distributed collaboration of heterogeneous resources in multiple regions. When multiple accidents occur concurrently, the ability to resolve resource conflicts is insufficient; (3) They adopt a full recalculation mode, which triggers global replanning every time the state is updated. The computational overhead is large and the response latency is high, making it difficult to meet the real-time requirements of emergency scenarios.

[0006] The third category is the multi-agent cooperative scheduling method. This type of method uses contract network protocols for task allocation, but the existing protocols are standard contract networks and lack customized optimizations for cross-regional emergency scenarios. For example, they lack resource priority pre-allocation mechanisms and partial bidding mechanisms, which results in critical accident points not being able to obtain high-guarantee priority scheduling, and the flexibility of resource allocation is also poor.

[0007] In summary, existing technologies lack a closed-loop solution that can organically combine probabilistic dynamic risk assessment, distributed multi-agent collaboration, incremental adaptive rescheduling, and solution robustness verification when dealing with emergency scenarios involving cross-regional operations, multiple concurrent incidents, and dynamic uncertainties. Summary of the Invention

[0008] The purpose of this invention is to provide a method and system for intelligent allocation of emergency rescue resources across regional oil and gas pipeline networks, which can organically combine probabilistic dynamic risk assessment, distributed multi-agent collaboration, incremental adaptive rescheduling, and scheme robustness verification.

[0009] In a first aspect, the present invention provides a method for intelligent allocation of emergency rescue resources across regional oil and gas pipeline networks, comprising the following steps: Construct a distributed multi-agent collaborative architecture, which includes an upper-layer coordinating agent and multiple lower-layer resource agents that communicate with the upper-layer coordinating agent. Each lower-layer resource agent corresponds to a different administrative region and maintains the resource state vector of that region. Each lower-level resource agent uses a locally deployed probabilistic graphical model to dynamically assess the failure risk of its managed sections based on real-time operating parameters, and obtains the risk index of each section at the current moment. When an accident is determined to have occurred based on a multi-level triggering criterion with a risk index, the upper-level coordinating agent issues a task tender document containing resource requirements to each lower-level resource agent. Each lower-level resource agent generates a bidding proposal based on the resource state vector, and the upper-level coordinating agent makes resource allocation decisions based on each bidding proposal and the risk index. During the execution of resource allocation decisions, the upper-level coordinating agent continuously monitors the evolution of the incident and the availability of resources. When a triggering event is detected, the upper-level coordinating agent reads the stored historical bidding information, performs local optimization only on the sub-problem domain affected by the triggering event, and generates supplementary scheduling instructions based on the results of the local optimization. The scheduling scheme generated by the resource allocation decision is input into the digital twin model to verify the performance of the scheduling scheme under uncertain conditions, and the verified scheduling scheme is output.

[0010] As an alternative implementation method, the probabilistic graphical model is a fusion model of Bayesian networks and particle filtering. The dynamic evaluation specifically includes: constructing a Bayesian network structure with pipe segment failure events as root nodes, learning a conditional probability table using historical failure data, and outputting the prior failure probability of each pipe segment; using real-time operating parameters as the observation sequence and pipe segment failure probability as the system state variable, updating particle weights and performing resampling at each time step using a particle filtering algorithm, and outputting the real-time posterior failure probability of each pipe segment; and generating a risk index based on the posterior failure probability and the severity of the consequences of pipe segment failure.

[0011] As an alternative implementation, the resource allocation decision adopts an improved contract network protocol, which includes: a partial award mechanism that allows the same type of resource demand at the same incident point to be split into multiple parts and allocated to different lower-level resource agents; and a priority pre-allocation mechanism based on risk index that allows incident points with higher risk indexes to preempt resources already allocated to incident points with lower risk indexes.

[0012] As an alternative implementation method, the resource allocation decision also includes a multi-objective optimization step: with the optimization objectives of minimizing the overall emergency response time, maximizing the overall resource utilization rate, and minimizing the consequences of the accident, a multi-objective optimization algorithm is used to solve the resource allocation scheme and generate a Pareto optimal scheme set as the scheduling scheme.

[0013] As an optional implementation, the triggering event includes at least one of the following events: a new accident occurs, the risk level of the risk index jumps, the deviation between the actual arrival time and the expected arrival time of the scheduled resources exceeds a preset threshold, the amount of available scheduled resources decreases by more than a preset threshold, and the amount of change in road traffic status exceeds a preset threshold. Local optimization involves redistributing only the newly added or changed accident points and their associated resources while keeping the main structure of the generated scheduling scheme unchanged.

[0014] As an optional implementation method, verifying the execution effect of the scheduling scheme under uncertainty conditions specifically includes: setting resource constraints, security constraints, and timing constraints in the digital twin model. The resource constraints are that the total amount of resources allocated by each lower-level resource agent to each accident point does not exceed the resource demand of that accident point, and the total amount of resources allocated by each lower-level resource agent does not exceed its own available amount. The security constraints are that the satisfaction level of critical emergency resources at each accident point is not lower than the safety lower limit dynamically determined according to the risk level. The timing constraints are that the expected arrival time of the first batch of critical resources does not exceed the maximum allowable response time dynamically calculated according to the accident type and leakage rate. Random perturbations are applied to the execution parameters of the scheduling scheme. Random perturbations include applying fluctuations to the resource arrival time, applying fluctuations to the resource availability, and applying scenario branches obtained by posterior distribution sampling based on dynamic evaluation to the accident evolution path. The number of effective trials that simultaneously meet the resource constraints, security constraints, and timing constraints in multiple random perturbation trials is counted. A robustness score is generated based on the ratio of the number of effective trials to the total number of trials. The scheduling scheme with a robustness score higher than a preset threshold is output as the verified scheduling scheme.

[0015] Secondly, the present invention provides an intelligent allocation system for emergency rescue resources in cross-regional oil and gas pipeline networks, comprising: The multi-agent collaborative architecture construction module is configured to: construct a distributed multi-agent collaborative architecture, which includes an upper-layer coordinating agent and multiple lower-layer resource agents that communicate with the upper-layer coordinating agent. Each lower-layer resource agent corresponds to a different administrative region and maintains the resource state vector of that region. The risk dynamic assessment module is configured as follows: each lower-level resource agent uses a locally deployed probabilistic graphical model to dynamically assess the failure risk of the managed segment based on real-time operating parameters, and obtains the risk index of each segment at the current moment. The resource allocation decision module is configured as follows: when an accident is determined to have occurred based on a multi-level trigger criterion with a risk index, the upper-level coordinating agent issues a task tender document containing resource requirements to each lower-level resource agent. Each lower-level resource agent generates a bidding proposal based on the resource state vector, and the upper-level coordinating agent makes a resource allocation decision based on each bidding proposal and the risk index. The supplementary scheduling module is configured as follows: During the execution of resource allocation decisions, the upper-level coordinating agent continuously monitors the evolution of the incident and the availability of resources. When a triggering event is detected, the upper-level coordinating agent reads the stored historical bidding information, performs local optimization only on the sub-problem domain affected by the triggering event, and generates supplementary scheduling instructions based on the local optimization results. The output module is configured to input the scheduling scheme generated by the resource allocation decision into the digital twin model, verify the execution effect of the scheduling scheme under uncertain conditions, and output the verified scheduling scheme.

[0016] Thirdly, the present invention provides an electronic device including a memory and a processor, and computer instructions stored in the memory and running on the processor, wherein the computer instructions, when executed by the processor, perform the method described in the first aspect.

[0017] Fourthly, the present invention provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, perform the method described in the first aspect.

[0018] Fifthly, the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect.

[0019] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention proposes an intelligent allocation method and system for emergency rescue resources in cross-regional oil and gas pipeline networks. By constructing a distributed multi-agent collaborative architecture, it achieves unified modeling and collaborative scheduling of heterogeneous resources across administrative regions and departments, effectively solving the computational bottleneck and resource conflict problems of centralized architectures in the event of multiple concurrent accidents. By introducing a probabilistic dynamic risk assessment method that integrates Bayesian networks and particle filtering, it not only achieves real-time updates of the risk index but also explicitly quantifies prediction uncertainty, providing a priority pre-allocation basis based on probabilistic confidence for high-risk accidents, overcoming the high decision-making risk of deterministic "black box" models. By improving the contract network protocol and introducing "partial bidding" and "priority pre-allocation" mechanisms, it significantly improves the flexibility of allocating limited resources among multiple accident points and the guarantee of critical tasks. Through an incremental rescheduling mechanism, optimization is performed only in local sub-problem domains, avoiding global full recalculation and reducing response time from minutes to milliseconds, meeting the real-time requirements of emergency scenarios. Finally, through digital twin closed-loop verification incorporating Monte Carlo random perturbations, the robustness and feasibility of the final scheduling scheme in real dynamic uncertain environments are ensured. Attached Figure Description

[0020] Figure 1 This is an overall flowchart of an intelligent allocation method for emergency rescue resources in cross-regional oil and gas pipeline networks disclosed in an embodiment of the present invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0022] The technical solutions disclosed in the various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0023] Example 1 like Figure 1 As shown in the figure, this embodiment provides a method for intelligent allocation of emergency rescue resources across regional oil and gas pipeline networks, including the following steps: Construct a distributed multi-agent collaborative architecture, which includes an upper-layer coordinating agent and multiple lower-layer resource agents that communicate with the upper-layer coordinating agent. Each lower-layer resource agent corresponds to a different administrative region and maintains the resource state vector of that region. Each lower-level resource agent uses a locally deployed probabilistic graphical model to dynamically assess the failure risk of its managed sections based on real-time operating parameters, and obtains the risk index of each section at the current moment. When an accident is determined to have occurred based on a multi-level triggering criterion with a risk index, the upper-level coordinating agent issues a task tender document containing resource requirements to each lower-level resource agent. Each lower-level resource agent generates a bidding proposal based on the resource state vector, and the upper-level coordinating agent makes resource allocation decisions based on each bidding proposal and the risk index. During the execution of resource allocation decisions, the upper-level coordinating agent continuously monitors the evolution of the incident and the availability of resources. When a triggering event is detected, the upper-level coordinating agent reads the stored historical bidding information, performs local optimization only on the sub-problem domain affected by the triggering event, and generates supplementary scheduling instructions based on the results of the local optimization. The scheduling scheme generated by the resource allocation decision is input into the digital twin model to verify the performance of the scheduling scheme under uncertain conditions, and the verified scheduling scheme is output.

[0024] The core of this invention lies in providing a method and system for intelligent allocation of emergency rescue resources in cross-regional oil and gas pipeline networks. It aims to achieve efficient and robust allocation of emergency resources under complex pipeline accident conditions through the deep integration of digital twin, multi-agent collaboration and dynamic risk assessment technologies.

[0025] Logically, the system of this invention can be divided into a data acquisition layer, a digital twin model layer, an evaluation and inference layer, an intelligent decision-making layer, and an execution feedback layer. Among these, the intelligent decision-making layer is the core, employing a hierarchical multi-agent architecture, and includes an upper-level coordinating agent. G ) and multiple lower-level resource agents (Agent) i Agent G As a global optimizer, it is responsible for optimizing global goals, resolving conflicts, and making incremental rescheduling decisions. Each Agent i Corresponding to an administrative region or an independent emergency resource management center, it is responsible for maintaining the local resource status vector and participating in scheduling decisions.

[0026] The specific steps of the method of the present invention are as follows: Step S101 involves multi-source data acquisition and digital twin modeling. The system first constructs a three-dimensional digital twin model of the cross-regional oil and gas pipeline network. This model integrates multi-source heterogeneous data: pipeline network topology data (such as pipe segment number, start and end nodes, pipe diameter, wall thickness, material, design pressure, and laying method), real-time operating parameters of the SCADA system (pressure, flow rate, temperature, valve status, etc., with a sampling frequency of no less than 1Hz), environmental information (geographical elevation, meteorological and hydrological data, and population density, where meteorological and hydrological data includes wind speed and direction, temperature, humidity, and precipitation), and emergency resource pool information. Emergency resources cover three categories: government fire, public security, and medical personnel; enterprise maintenance and repair teams; and social third-party rescue organizations, including team information (number of personnel, professional skill types, equipment list, real-time GPS location, historical task performance rating, and current on-site status). In this embodiment, emergency resources are modeled in a fine-grained manner according to three categories: teams, equipment, and materials. For example, team-related resources record the number of personnel, their professional skill types (such as plumbers, welders, and electricians), current GPS location, and historical task performance scores; equipment-related resources record the type of equipment (such as fire trucks and gas detection equipment), model, and status; and material-related resources record the type and inventory quantity. All resource information is uniformly connected to the resource management platform, enabling real-time visibility of resources across the entire domain.

[0027] Step S102, dynamic risk assessment based on the fusion of Bayesian network and particle filter. This step specifically involves: (1) Bayesian network prior modeling: Taking the pipe segment failure event as the root node, a Bayesian network structure containing multi-level causative factors (such as corrosion degree, intensity of third-party activities, geological disaster risk index, material degradation degree, and operating pressure fluctuation) is constructed. Using historical failure data, the conditional probability table of each node is learned through the expectation-maximization algorithm, and the Dirichlet prior smoothing strategy is introduced to improve the estimation robustness under small sample conditions, thereby outputting the prior failure probability P0 of each pipe segment.

[0028] (2) Real-time Particle Filtering Update: The real-time operating parameters of the pipe segment are used as the observation sequence, and the failure probability of the pipe segment is used as the system state variable to construct a state transition model and an observation model. The sequential importance sampling particle filter algorithm is adopted to update the particle weights and perform resampling at each time step, and finally output the real-time posterior failure probability P of each pipe segment. f (t). This posterior probability is a probability distribution, and its dispersion directly quantifies the uncertainty of the assessment. When abnormal patterns occur in real-time operating parameters (such as a sudden pressure drop exceeding a threshold), particle filtering can respond quickly and significantly increase the failure probability of the corresponding pipe section.

[0029] (3) Severity assessment of consequences and generation of risk index: Taking into account factors such as population density around the pipeline section, distribution of environmentally sensitive areas (such as water sources and ecological protection areas), and the hazard of leaked substances, the severity of consequences C is calculated using a multi-index weighted scoring method. i And generate a dynamic risk index R. i (t)=P f (t)×C i Based on this, the system divides the pipeline network into high, medium, and low risk levels and displays them in the form of a GIS heat map, providing a priority basis for subsequent scheduling.

[0030] (4) Multi-level progressive triggering criteria based on dynamic risk index: (a) Level 1 triggering - early warning monitoring status: when the risk index R of any pipe section is... i (t) reaches the warning threshold θ warn (In this embodiment, θ is taken as) warn When the risk index reaches 0.3), the system enters the early warning monitoring state. In this state, resource scheduling is not triggered, but only the following preparatory actions are performed: the sampling frequency of the operating parameters of the corresponding pipe section is increased to 10Hz; the "hypothetical accident" scenario simulation is started in the digital twin model, and the potential leakage diffusion range and various resource requirements are pre-calculated based on the current operating conditions, but no task proposal is issued. The purpose of this level of triggering is to complete the calculation preparation work before scheduling in advance without generating false alarms. (b) Level 2 triggering - accident confirmation state: when the risk index further increases to the confirmation threshold θ confirm (In this embodiment, θ is taken as) confirm =0.7), and an accident is considered to have actually occurred when at least one of the following supporting evidences is met: ① The SCADA system detects a sudden drop in pipeline pressure exceeding three times the standard deviation of the normal operating fluctuation range of the pipeline segment; ② The upstream and downstream flow imbalance rate of the pipeline segment exceeds 5% of the transport volume and lasts for more than 30 seconds; ③ Field sensors (such as combustible gas detectors and acoustic leak detectors) issue alarm signals. The purpose of introducing supporting evidence is to prevent false triggering due to noise from a single sensor or model prediction bias, and to avoid initiating large-scale cross-regional dispatching when no actual accident has occurred. (c) Level 3 Trigger - Early Warning Escalation State: When a pipeline segment is in the Level 1 trigger state, its risk index R i (t) from θ at any subsequent time warn The interval jumps to θ confirm In any given period, regardless of whether all supporting evidence is available, the event is automatically escalated to Level 2 trigger and proceeds to step S103. This level of triggering covers the transitional scenario from "dynamic risk warning to actual accident occurrence," ensuring that no warning signals are missed.

[0031] The above threshold θ warn and θ confirm Calibration can be performed based on historical pipeline operation data and industry standards, with a typical value range of θ.warn ∈[0.2,0.4]、θ confirm ∈[0.6,0.8].

[0032] Step S103, Accident Scenario Simulation and Resource Demand Prediction. When the above-mentioned secondary or tertiary triggering conditions are met, the process proceeds to step S103, the accident scenario simulation and resource demand prediction stage. A digital twin model is used to perform accident scenario simulation and resource demand quantification.

[0033] (1) Leakage diffusion simulation: The digital twin model calls the computational fluid dynamics model (such as the Gaussian diffusion model or the SLAB / DEGADIS heavy gas diffusion model), inputs the leak location, leak orifice diameter, pipeline pressure, medium physical property parameters and real-time meteorological data, calculates the spatiotemporal distribution of flammable / toxic gas concentration, and predicts the changes in the boundary and influence range of the explosion hazard area over time.

[0034] (2) Accident Evolution Prediction: Based on the accident state estimation updated by particle filtering, the evolution trajectory of the accident is predicted at 5 min, 15 min, 30 min, 60 min, and 120 min, including possible secondary disasters (explosion, fire spread, environmental pollution spread). The selection of the above time nodes follows the "golden response window" classification principle in the field of emergency management: 5 min corresponds to the initial rapid spread stage of the leak, when the leakage rate is the largest and the spread radius changes the fastest; 15 min covers the situation prediction window before the arrival of the first batch of emergency teams; 30 min and 60 min correspond to the standard assembly time of Level I and Level II emergency responses, respectively; 120 min covers the complete assessment cycle of large-scale regional evacuation and secondary disaster spread. Each time node can be adaptively adjusted according to the type of pipeline transport medium (natural gas / crude oil / refined oil) and the terrain conditions along the route.

[0035] (3) Resource Demand Quantification: Based on the results of dynamic risk assessment and the impact range of accident simulation, the required emergency resource types and quantities are automatically calculated, generating a resource demand matrix D=[d {jk} The scope covers emergency repair teams (A / B / C level classifications), fire trucks, ambulances, gas detection equipment, oil spill recovery equipment, evacuation and transport vehicles, and other types of vehicles. Demand calculations are based on an empirical model of "impact range - resource allocation" and standard specifications.

[0036] Step S104: Cross-regional resource optimization and allocation through multi-agent collaboration. This step is one of the key inventive points of this invention. A hierarchical multi-agent collaborative optimization model (i.e., a distributed multi-agent collaborative architecture) is constructed to achieve optimized resource scheduling across administrative regions. This invention introduces "partial bidding" and "priority pre-allocation" mechanisms based on the standard contract network protocol and integrates an incremental rescheduling strategy, significantly improving the collaborative efficiency and dynamic adaptability of the solution in multi-accident concurrent scenarios. The specific steps are as follows: (1) Agent modeling: The emergency resource management centers in each region are modeled as lower-level resource agents Agent_i, and the global optimizer is modeled as the upper-level coordinating agent Agent. G Each Agent i Maintain the resource state vector of this region, Agent G Responsible for overall goal optimization and conflict resolution.

[0037] (2) Improve contract network protocol collaboration: When an accident occurs, Agent G To all Agents i Release the task tender document, which includes a resource requirements matrix, incident location, risk level, and time window. Each Agent... i Based on its own maintained resource state vector and estimated arrival time, the Agent generates a local bidding proposal. G An improved contract network protocol is then used for bid evaluation and awarding. This improved contract network protocol includes two key mechanisms: one is a "partial award" mechanism, which involves multiple agents... i It allows for partial allocation of similar resources. For example, if an accident site requires two fire trucks, Agent 1 can provide one, and Agent 2 can provide one, with both agents potentially winning the bid, unlike traditional contract networks where a single agent either wins or loses all bids. Secondly, it employs a "priority pre-allocation" mechanism, where higher-level accidents (those with high R...) are pre-allocated. i Agent (t) value i When submitting resource requests, entities with higher risk levels can seize scarce resources already allocated to lower-risk incidents. This enables the resolution of conflicts and intelligent rebalancing of limited resources across multiple incident points.

[0038] (3) Multi-objective optimization function: In order to optimize the resource allocation scheme, this embodiment also adopts a multi-objective optimization algorithm. Specifically, a three-objective optimization model is established: minimizing the comprehensive emergency response time, maximizing the overall resource utilization rate, and minimizing the loss caused by the accident. The comprehensive objective function adopts a weighted summation form, and the weights can be dynamically adjusted according to decision preferences (such as focusing on response speed in the early stage of the accident and focusing on resource utilization efficiency in the later stage).

[0039] (4) Two-layer hierarchical multi-objective solution and connection mechanism of improved contract network protocol: The resource allocation decision adopts a two-layer hierarchical architecture of “lower-layer distributed bid generation + upper-layer global bid evaluation decision”.

[0040] First-layer - Lower-layer distributed bid generation (each Agent) i Local MOPSO optimization): When Agent G After the task proposal is issued, each lower-level agent... i The optimization objectives are to minimize its own emergency response time and maximize its own resource matching degree (dual objectives), while the objective of minimizing consequences and losses is determined by the upper-layer agent. G During the overall bidding phase, all lower-level agents should be considered uniformly. i Only the controllable response time and resource matching degree need to be considered. The MOPSO algorithm (population size 100-200, external archive capacity 50-100, inertia weight linearly decreasing from 0.9 to 0.4, with adaptive mutation to prevent premature convergence) is used to generate a Pareto front in the local resource state space. Each solution on this front is a specific, executable bidding scheme, including the Agent's... i This refers to the committed quantity and expected arrival time of various resources, rather than a global allocation matrix. (Each agent...) i Select 2-5 representative bidding solutions (uniformly distributed across the entire frontier according to the objective function value) from its Pareto frontier and submit them to the Agent. G The objective function value for each scheme is noted for reference in the global evaluation at the higher level.

[0041] Second layer—Upper-level global evaluation and decision-making (Agent) G (NSGA-III optimization + improved contract network protocol optimization): Agent G Collect all Agents i After submitting the bidding proposals, all proposals are treated as a candidate resource pool, and a global three-objective optimization model is constructed (minimize the overall emergency response time, maximize the overall resource utilization rate, and minimize the consequences of the accident). G The NSGA-III algorithm (which maintains population diversity based on reference point selection mechanism) is used in each agent. i The NSGA-III searches the combination space of submitted bids for a Pareto-optimal set of global resource allocation schemes. The decision variables for each agent are... i The winning bids for each type of resource at each incident point, and the output of each global Pareto scheme is a deterministic resource-incident point allocation matrix.

[0042] The core role of the improved contract network protocol in Layer 2 is to select robust execution schemes from a set of Pareto solutions. Directly executing a single globally optimal allocation scheme carries risks—this scheme is based on a snapshot of resource status at the time of bidding, while resource status may change due to factors such as traffic and equipment failures during actual execution. Therefore, the Agent... G The global Pareto scheme output by NSGA-III is concentrated in the application of two key mechanisms of the improved contract net protocol for scheme selection and robustness: one is the "partial award" mechanism, that is, for the same type of resource demand at the same incident point, the Agent... G Allow multiple agents i Instead of the rigid structure of traditional contract network agreements where a single agent wins all or none of the bids, the agents will be awarded partial contracts (e.g., if an accident site needs two fire trucks, Agent 1 will provide one and Agent 2 will provide the other). This mechanism will allow individual agents to win partial contracts. i Resource status change risk is distributed across multiple agents. i Significantly reduces the impact of a single agent i The probability that a resource failure will render a certain type of resource completely unavailable. The second is the "priority pre-allocation" mechanism, i.e., Agent. G In the Pareto scheme set, based on the accident point risk index R... i (t) Sorted in descending order, the selection of solutions mandates that the critical resource satisfaction rate of high-priority accident points must not be lower than the corresponding safety lower limit (≥80% for high-risk accidents, ≥60% for medium-risk accidents). If the resource satisfaction rate of high-priority accident points in a Pareto solution is lower than this lower limit, the solution will be eliminated even if its overall objective function value is superior. This mechanism ensures that the selection of Pareto solutions not only pursues optimal overall efficiency but also strictly adheres to the basic principle of "most dangerous first" in emergency management.

[0043] The collaborative relationship between the two hierarchical architectures described above can be summarized as follows: Each Agent i MOPSO bidding addresses the question "What can I offer?" (local distributed computing, avoiding the computational bottleneck of a centralized single optimizer); Agent G The NSGA-III global optimization addresses "how to achieve overall optimality" (searching within the bid combination space); the improved contract network protocol addresses "how to perform robustly under uncertainty" (partial winning bids diversify risk + priority pre-allocation ensures critical tasks).

[0044] (5) Incremental rescheduling mechanism: During execution, the Agent... G Continuously monitor the evolution of the incident and the availability of resources, and possess adaptive adjustment capabilities. When the Agent... G When any of the following triggering conditions are detected: (a) a new incident occurs during the execution of the current scheduling plan; (b) the incident dynamic risk index Ri (t) A risk level jump occurs (e.g., from medium risk to high risk); (c) the actual arrival time of scheduled resources deviates from the expected arrival time by more than 15% or the availability of scheduled resources decreases sharply by more than 20%; (d) road travel time increases by more than 30% or traffic capacity decreases by more than 25% (traffic control / congestion), triggering an incremental rescheduling process. This process is not a global full recalculation, but rather, while maintaining the main structure of the existing scheduling scheme, it only performs local incremental optimization on the affected sub-problem domains (newly added / changed accident points and related resources). Incremental optimization utilizes the bidding information cache from the previous round of contract network protocol (each Agent) i The historical bid documents are used to generate new partial scheduling schemes using a "local repair + limited reallocation" approach instead of a "global reconstruction" approach, achieving millisecond-level fast response. Incremental optimization employs a local MOPSO algorithm (population size reduced to 20-50, iteration count reduced to 1 / 3 of the original scheme), using historical bid documents in the bid information cache as the initial population, achieving fast convergence within the local solution space. Specifically: Agent G Read the bidding information cache, mark the affected sub-problem domains, and apply the changes only to the Agents involved in that sub-problem domain. i Supplementary tender documents have been issued. (Affected Agents) iWhile keeping existing scheduling instructions unchanged, only local optimizations are performed on newly added or changed parts. Finally, the incremental solution results are merged into the existing scheduling scheme to generate complete supplementary scheduling instructions. This method reduces response time from minutes to milliseconds, meeting emergency real-time requirements. The selection criteria for each threshold in the above triggering conditions are as follows: Resource arrival time deviation threshold 15%—Existing research in the field of emergency logistics shows that the on-time rate of rescue resource arrival is usually required to be controlled within ±20% of the predetermined time. This invention takes 15% as a conservative threshold for triggering rescheduling, the purpose of which is to initiate adjustments in advance before the deviation reaches an unacceptable level, reserving sufficient time margin for rescheduling execution. Resource availability reduction threshold 20%—This value corresponds to the empirical judgment standard of "substantial change in resource availability" in this field. When the availability decreases by more than 20%, the resource satisfaction of at least one accident point in the original scheduling scheme will drop to near the safety lower limit, requiring triggering reallocation. A 30% increase in road travel time threshold corresponds to the critical transition point from "normal traffic" to "significant congestion," at which point traffic speed typically drops below 70% of free-flow velocity, significantly increasing the value of detours or alternative routes. A 25% decrease in capacity threshold corresponds to the criterion for determining whether a road is "passable" or "severely obstructed" (e.g., a one-way lane is closed due to an accident or large vehicles occupying the lane). At this point, the estimated arrival time of all resources on that route needs to be reassessed. For different road classes, the baseline travel time values ​​for expressways and national highways are relatively stable, and the above thresholds are directly applicable. For provincial and county roads, travel time fluctuates more, and the travel time threshold can be appropriately increased to 40%, while the capacity threshold can be appropriately decreased to 20% to avoid frequent rescheduling triggered by normal traffic fluctuations. The above thresholds can be calibrated and optimized through statistical analysis of historical operational data during actual deployment.

[0045] (6) Composition and maintenance strategy of bidding information cache: Bid information cache (BidCache) is a key data structure that supports incremental rescheduling "hot start". Its composition and maintenance strategy are as follows: (a) Cache content: Each cache record contains the following fields - agent id (Lower-layer resource agent identifier), timestamp (bid timestamp), resource vector (Resource status vector at the time of bidding, including the availability of various resources, GPS location, and estimated time matrix to reach each accident point), bid solutions (The Agent) i The submitted Pareto frontier bid sets, each containing the allocation of various resources and the objective function value, Pareto... archive (The Agent) i(a) External archive state during MOPSO solving, used as part of the initial population during incremental optimization. (b) Validity and expiration policy: Each cached record is subject to dual validity constraints. One is the absolute validity period T. max The validity period is set to T, starting from the bid timestamp. max =30min. Exceeding T max Records are directly marked as invalid and removed from the cache. 30 minutes is the standard assembly time window for Level I emergency response; after this window, the resource status has likely undergone substantial changes, and the reliability of cached data is insufficient to support optimization decisions. Secondly, status changes trigger immediate invalidation: in T... max During the validity period, if the system detects any of the following changes, the corresponding Agent i The cached records expire immediately — ① This Agent i Current actual resource availability and resources in cache vector The deviation exceeds 10%; ② The Agent i The straight-line distance between the current GPS location and the cached location exceeds 5km; ③ This Agent i The road network topology in the area has changed (e.g., road closures, bridge interruptions). (c) Incremental optimization initialization solution generation strategy: When incremental rescheduling is triggered, the Agent... G First, check the affected Agent. i Is the cached record still valid? If the cache is valid, then use the Pareto data from the cache. archive and bid solutions As the initial population for MOPSO (rather than random initialization), it performs a local search based on the currently observed actual resource state, leveraging the "warm start" advantage of caching to significantly reduce the number of iterations required for convergence. If the cache has expired, the Agent is required to... i Within the affected local sub-problem domain, a new bidding scheme is generated (population size reduced to 20-50, iteration count reduced to 1 / 3 of the original scheme). Meanwhile, the Agent with unchanged state... i The cached records remain valid and continue to be reused. This hybrid strategy of "warm start of valid cache + local regeneration of invalid cache" ensures that incremental optimization has a valid initial solution under any circumstances, avoiding the cold start problem caused by global cache invalidation.

[0046] Step S105: Digital twin simulation verification and execution feedback.

[0047] Before performing digital twin simulation verification, we must first clarify the three types of constraints that the scheduling scheme must satisfy: (a) Resource constraints: for any incident point j and resource type k, all Agents iThe total amount of resources allocated to the accident site shall not exceed the resource requirement d of the accident site. jk And each Agent i The total amount of resources allocated must not exceed their current availability. ≤d jk ,and i: ≤avail ik ,in Agent i The number of type k resources allocated to incident point j, available ik Agent i The current availability of resource type k. (b) Safety constraints: For any accident point j, the satisfaction level of its various critical emergency resources (firefighting, medical, and leak-stopping)—that is, the ratio of the actual total allocation to the demand—must not be lower than the safety lower limit. . Based on the current risk level R of the accident site i (t) Dynamically determined: High-risk accident points (R i (t)≥0.7), ≥0.8; Medium-risk accident point (0.3≤R) i (t)<0.7), ≥0.6; Low-risk accident point (R i (t)<0.3), ≥0.4. If the satisfaction level of any type of critical resource at any accident point is lower than its corresponding... If the scheduling scheme fails to meet the safety constraints, it is deemed not to satisfy the safety constraints. (c) Timing constraints: For any accident point j, the estimated arrival time of the first batch of emergency resources (firefighting and leak-stopping resources) required for that accident point must not exceed the maximum allowable response time for that accident point. . Dynamic calculations based on accident type and leakage rate: For natural gas pipeline leakage accidents... =min(15min, time to reach lower explosive limit concentration × 0.7); For crude oil / refined oil pipeline leak accidents, =min(30min, time for pollution plume to reach the nearest environmentally sensitive area × 0.5). If the estimated arrival time of any first critical resource exceeds [time limit]... If the timing constraint is not met, the scheduling scheme is deemed not to meet the timing constraint.

[0048] To ensure the robustness of the scheduling scheme, the Agent GThe scheduling scheme generated in step S104 is input into the digital twin model for virtual simulation, simulating resource travel paths (considering real-time road conditions and traffic control) and the entire accident handling process. During the simulation, a Monte Carlo random perturbation method is introduced to perform batch sampling verification of key uncertainty factors: a ±15% random fluctuation is applied to resource arrival time, a ±10% random fluctuation is applied to resource availability, and a random scenario branch obtained from particle filter posterior distribution sampling is applied to the accident evolution path. Through N=1000 Monte Carlo experiments, the effective number of experiments M that simultaneously satisfy the above resource constraints, safety constraints, and timing constraints for each scheme is counted, and the robustness score R is calculated. score =M / N. Robustness score below the preset threshold θ robust (In this embodiment, θ is taken as) robust The scheme with a robustness score of 0.7 was deemed insufficient and was eliminated; only the robustness score R was retained. score ≥θ robust The plan has entered the actual implementation phase. During the implementation phase, the Agent... G Continuously monitor the evolution of the accident (based on dynamic risk index updates), the actual availability of resources (GPS tracking), real-time road traffic conditions, and on-site handling progress. If a deviation is triggered again, the incremental rescheduling process described above is repeated, generating supplementary scheduling instructions while maintaining the existing master scheduling plan. The original tasks of the replaced resources are automatically downgraded or reassigned, achieving continuous adaptive optimization of the entire scheduling system under dynamic and uncertain conditions. This forms a closed-loop process of "deduction → scheduling → verification → feedback → rescheduling".

[0049] This invention also provides various alternative or modified embodiments. For example, in resource demand forecasting, in addition to the empirical model based on "impact range-resource allocation," a case-based reasoning method can be used to retrieve the most similar accident scenarios from a historical accident case database and reuse their resource scheduling schemes. As another example, in multi-objective optimization solutions, in addition to the MOPSO and NSGA-III hybrid strategy, other mainstream multi-objective evolutionary algorithms, such as decomposition-based multi-objective evolutionary algorithms, can also be used. Furthermore, in the digital twin verification stage, in addition to Monte Carlo simulation, interval analysis and other methods can be combined to perform sensitivity analysis on key parameters to further evaluate the robustness of the scheme.

[0050] This invention achieves explicit uncertainty quantification and adaptive resource priority mapping for dynamic risks within a probabilistic framework, collaborative scheduling and conflict resolution of cross-regional resources under a distributed multi-agent architecture, millisecond-level rapid response under an incremental optimization strategy, and ensures the feasibility of the solution under dynamic uncertainty conditions through Monte Carlo robustness testing. By comprehensively utilizing digital twins, multi-agent collaborative optimization, and dynamic risk assessment, it provides a scientific, efficient, and adaptive resource allocation scheme for pipeline accident emergency response. This method and system have advantages such as short response time, high resource utilization efficiency, strong cross-regional coordination capability, and good robustness, and have significant engineering application value.

[0051] Example 2 This embodiment provides an intelligent allocation system for emergency rescue resources across regional oil and gas pipeline networks, including: The multi-agent collaborative architecture construction module is configured to: construct a distributed multi-agent collaborative architecture, which includes an upper-layer coordinating agent and multiple lower-layer resource agents that communicate with the upper-layer coordinating agent. Each lower-layer resource agent corresponds to a different administrative region and maintains the resource state vector of that region. The risk dynamic assessment module is configured as follows: each lower-level resource agent uses a locally deployed probabilistic graphical model to dynamically assess the failure risk of the managed segment based on real-time operating parameters, and obtains the risk index of each segment at the current moment. The resource allocation decision module is configured as follows: when an accident is determined to have occurred based on a multi-level trigger criterion with a risk index, the upper-level coordinating agent issues a task tender document containing resource requirements to each lower-level resource agent. Each lower-level resource agent generates a bidding proposal based on the resource state vector, and the upper-level coordinating agent makes a resource allocation decision based on each bidding proposal and the risk index. The supplementary scheduling module is configured as follows: During the execution of resource allocation decisions, the upper-level coordinating agent continuously monitors the evolution of the incident and the availability of resources. When a triggering event is detected, the upper-level coordinating agent reads the stored historical bidding information, performs local optimization only on the sub-problem domain affected by the triggering event, and generates supplementary scheduling instructions based on the local optimization results. The output module is configured to input the scheduling scheme generated by the resource allocation decision into the digital twin model, verify the execution effect of the scheduling scheme under uncertain conditions, and output the verified scheduling scheme.

[0052] It should be noted that the above modules correspond to the steps in Embodiment 1, and the examples and application scenarios implemented by the above modules and their corresponding steps are the same, but are not limited to the content disclosed in Embodiment 1. It should also be noted that the above modules can be executed in a computer system as part of the system.

[0053] In further embodiments, the following is also provided: An electronic device includes a memory and a processor, as well as computer instructions stored in the memory and running on the processor, which, when executed by the processor, perform the method described in Embodiment 1. For brevity, further details are omitted here.

[0054] It should be understood that in this embodiment, the processor can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0055] A computer-readable storage medium for storing computer instructions that, when executed by a processor, perform the method of Embodiment 1.

[0056] The method in Example 1 can be directly executed by a hardware processor, or it can be executed by a combination of hardware and software modules within the processor. The software modules can reside in readily available storage media in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, a detailed description is not provided here.

[0057] A computer program product includes a computer program that, when executed by a processor, implements the method in Embodiment 1.

[0058] The present invention also provides at least one computer program product tangibly stored on a non-transitory computer-readable storage medium. The computer program product includes computer-executable instructions, such as instructions included in program modules, which execute in a device on a target real or virtual processor to perform the processes / methods described above. Typically, program modules include routines, programs, libraries, objects, classes, components, data structures, etc., that perform specific tasks or implement specific abstract data types. In various embodiments, the functionality of program modules can be combined or divided among program modules as needed. The machine-executable instructions for the program modules can execute within a local or distributed device. In a distributed device, the program modules can reside in both local and remote storage media.

[0059] The computer program code used to implement the methods of the present invention may be written in one or more programming languages. This computer program code may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the computer or other programmable data processing device, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a computer, partially on a computer, as a stand-alone software package, partially on a computer and partially on a remote computer, or entirely on a remote computer or server.

[0060] In the context of this invention, computer program code or related data may be carried by any suitable carrier to enable a device, apparatus, or processor to perform the various processes and operations described above. Examples of carriers include signals, computer-readable media, and the like. Examples of signals may include electrical, optical, radio, sound, or other forms of propagation signals, such as carrier waves, infrared signals, etc.

[0061] Those skilled in the art will recognize that the units and algorithm steps described in conjunction with the embodiments herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0062] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for intelligent allocation of emergency rescue resources across regional oil and gas pipeline networks, characterized in that, Includes the following steps: A distributed multi-agent collaborative architecture is constructed, which includes an upper-layer coordinating agent and multiple lower-layer resource agents that are communicatively connected to the upper-layer coordinating agent. Each of the lower-layer resource agents corresponds to a different administrative region and maintains the resource state vector of that region. Each of the lower-level resource intelligent agents uses a locally deployed probabilistic graphical model to dynamically assess the failure risk of the managed pipe segment based on real-time operating parameters, and obtains the risk index of each pipe segment at the current moment; When an accident is determined to have occurred based on a multi-level triggering criterion with a risk index, the upper-level coordinating agent issues a task tender document containing resource requirements to each lower-level resource agent. Each lower-level resource agent generates a bidding proposal based on the resource state vector, and the upper-level coordinating agent makes a resource allocation decision based on each bidding proposal and the risk index. During the execution of the resource allocation decision, the upper-layer coordinating agent continuously monitors the evolution of the incident and the availability of resources. When a triggering event is detected, the upper-layer coordinating agent reads the stored historical bidding information, performs local optimization only on the sub-problem domain affected by the triggering event, and generates supplementary scheduling instructions based on the local optimization results. The scheduling scheme generated by the resource allocation decision is input into the digital twin model to verify the performance of the scheduling scheme under uncertainty conditions, and the verified scheduling scheme is output.

2. The intelligent allocation method for emergency rescue resources in cross-regional oil and gas pipeline networks as described in claim 1, characterized in that, The probabilistic graphical model is a fusion model of Bayesian network and particle filtering; the dynamic evaluation specifically includes: constructing a Bayesian network structure with the pipe segment failure event as the root node, learning a conditional probability table using historical failure data, and outputting the prior failure probability of each pipe segment; using real-time operating parameters as the observation sequence and the pipe segment failure probability as the system state variable, updating the particle weights and performing resampling at each time step using the particle filtering algorithm, and outputting the real-time posterior failure probability of each pipe segment; and generating the risk index based on the posterior failure probability and the severity of the pipe segment failure consequences.

3. The intelligent allocation method for emergency rescue resources in cross-regional oil and gas pipeline networks as described in claim 1, characterized in that, The resource allocation decision adopts an improved contract network protocol, which includes: a partial award mechanism, allowing the same type of resource demand at the same incident point to be split into multiple parts and allocated to different lower-level resource agents respectively; and a priority pre-allocation mechanism based on the risk index, allowing incident points with higher risk indices to preempt resources already allocated to incident points with lower risk indices.

4. The intelligent allocation method for emergency rescue resources in cross-regional oil and gas pipeline networks as described in claim 1, characterized in that, The resource allocation decision also includes a multi-objective optimization step: with the optimization objectives of minimizing the overall emergency response time, maximizing the overall resource utilization rate, and minimizing the consequences of the accident, a multi-objective optimization algorithm is used to solve the resource allocation scheme and generate a Pareto optimal scheme set as the scheduling scheme.

5. The intelligent allocation method for emergency rescue resources in cross-regional oil and gas pipeline networks as described in claim 1, characterized in that, The triggering event includes at least one of the following events: a new accident occurs, the risk level of the risk index jumps, the deviation between the actual arrival time and the expected arrival time of the scheduled resources exceeds a preset threshold, the amount of available scheduled resources decreases by more than a preset threshold, and the amount of change in road traffic status exceeds a preset threshold. The local optimization involves reallocating only the newly added or changed accident points and their associated resources while keeping the main structure of the generated scheduling scheme unchanged.

6. The intelligent allocation method for emergency rescue resources in cross-regional oil and gas pipeline networks as described in claim 1, characterized in that, Verifying the performance of the scheduling scheme under uncertainty conditions specifically includes: setting resource constraints, security constraints, and timing constraints in the digital twin model. The resource constraints are: the total amount of resources allocated by each lower-level resource agent to each accident point does not exceed the resource demand of that accident point, and the total amount of resources allocated by each lower-level resource agent does not exceed its own available resources. The security constraints are: the satisfaction level of critical emergency resources at each accident point is not lower than the safety lower limit dynamically determined according to the risk level. The timing constraints are: the expected arrival time of the first batch of critical resources does not exceed the maximum allowable response time dynamically calculated according to the accident type and leakage rate. Random perturbations are applied to the execution parameters of the scheduling scheme. The random perturbations include applying fluctuations to the resource arrival time, applying fluctuations to the resource availability, and applying scenario branches obtained by posterior distribution sampling based on the dynamic evaluation to the accident evolution path. The number of effective trials that simultaneously satisfy the resource constraints, security constraints, and timing constraints in multiple random perturbation trials is counted. A robustness score is generated based on the ratio of the number of effective trials to the total number of trials. The scheduling scheme with a robustness score higher than a preset threshold is output as the verified scheduling scheme.

7. An intelligent allocation system for emergency rescue resources in cross-regional oil and gas pipeline networks, characterized in that, include: The multi-agent collaborative architecture construction module is configured to: construct a distributed multi-agent collaborative architecture, the architecture including an upper-layer coordinating agent and multiple lower-layer resource agents that are communicatively connected to the upper-layer coordinating agent, each of the lower-layer resource agents corresponding to a different administrative region and maintaining the resource state vector of that region; The risk dynamic assessment module is configured such that each of the lower-level resource agents uses a locally deployed probabilistic graphical model to dynamically assess the failure risk of the managed sections based on real-time operating parameters, and obtains the risk index of each section at the current moment. The resource allocation decision module is configured as follows: when an accident is determined to have occurred based on a multi-level triggering criterion with a risk index, the upper-layer coordinating agent issues a task tender document containing resource requirements to each lower-layer resource agent. Each lower-layer resource agent generates a bidding proposal based on the resource state vector. The upper-layer coordinating agent makes a resource allocation decision based on each bidding proposal and the risk index. The supplementary scheduling module is configured to: during the execution of the resource allocation decision, the upper-layer coordinating agent continuously monitors the evolution of the incident and the availability of resources. When a triggering event is detected, the upper-layer coordinating agent reads the stored historical bidding information, performs local optimization only on the sub-problem domain affected by the triggering event, and generates supplementary scheduling instructions based on the local optimization results. The output module is configured to: input the scheduling scheme generated by the resource allocation decision into the digital twin model, verify the execution effect of the scheduling scheme under uncertainty conditions, and output the verified scheduling scheme.

8. An electronic device, characterized in that, It includes a memory and a processor, as well as computer instructions stored in the memory and running on the processor, which, when executed by the processor, perform the method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, Used to store computer instructions, which, when executed by a processor, perform the method described in any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program, which, when executed by a processor, implements the method described in any one of claims 1-6.