Safety and environmental protection emergency coordination and intelligent scheduling method and system for smart factory

By constructing a multi-source data fusion system for smart factories, a unified data foundation for all safety and environmental protection elements in the plant has been achieved, enabling accurate risk identification and the generation of adaptive emergency plans. This has solved the problems of data silos and disconnected emergency dispatch, and improved emergency response efficiency and the ability to recover economic losses.

CN123180680APending Publication Date: 2026-11-27CHENGDU QINCHUAN IOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing smart factories suffer from fragmented system data forming information silos, lack of multi-source linkage analysis for single-point parameter early warning, slow response of static paper plans and lack of adaptive dynamic adjustment, and disconnect between emergency response and production scheduling, leading to secondary disasters and economic losses.

Method used

By accessing multi-source heterogeneous data, a spatiotemporal synchronized state matrix is ​​constructed. Feature aggregation calculation is performed using a spatiotemporal graph convolutional neural network with an attention mechanism. Combined with micro-meteorological data, risk development trends are inferred, dynamic emergency plans are generated, and multi-objective collaborative scheduling optimization is carried out to achieve synergy between emergency response and production scheduling.

Benefits of technology

It has achieved a unified data foundation for all safety and environmental protection elements in the plant, accurately identified risks coupled with multi-dimensional parameters, automatically deduced risk development trends, generated adaptive emergency plans, avoided mutual constraints between emergency response and production scheduling, and improved response efficiency and the ability to recover economic losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180680A_ABST
    Figure CN123180680A_ABST
Patent Text Reader

Abstract

The application discloses a kind of safety environmental protection emergency coordination and intelligent scheduling method and system for smart factory, comprising: access multi-source heterogeneous data and execute adaptive space-time alignment, construct standard event model and multi-source physical data fusion topology graph;Based on the feature aggregation of topological graph by space-time graph convolutional neural network, combined with microclimate data to deduce risk trend and trigger graded early warning;In response to early warning, combined with emergency response knowledge graph and reinforcement learning to generate dynamic emergency plan instance and executable task dependency tree and issue instructions;At the same time, a multi-objective collaborative scheduling optimization model is constructed, and a collaborative operation sequence scheme containing process adjustment instructions and dynamic evacuation route is generated and executed;Based on the whole process global time sequence data, calculate quantitative evaluation index and comprehensive loss function, and update model weight parameters reversely.The application breaks the system information island, realizes multi-source linkage early warning, dynamic plan matching and production emergency coordination, and forms a closed-loop scheduling system for continuous optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of intelligent management of smart factories and industrial internet technology, and in particular to a method and system for safety, environmental protection, emergency coordination and intelligent scheduling in smart factories. Background Technology

[0002] In existing smart factories, safety monitoring, environmental monitoring, emergency management, and production scheduling systems are typically built independently by department. Due to inconsistent data standards, information silos are easily formed. Regarding risk warning, traditional monitoring models often only trigger alarms when single-point parameters exceed limits, lacking multi-source data linkage analysis and deep integration. This easily leads to alarm storms and makes it difficult to identify hidden risks and hidden dangers under complex nonlinear coupling. In terms of emergency response, there is a heavy reliance on manual review of paper plans and layer-by-layer reporting, resulting in poor response timeliness. Static plans cannot be dynamically adjusted as the situation evolves. More importantly, emergency response instructions for safety and environmental protection (such as blindly cutting off power or shutting down the entire line) are often disconnected from production scheduling logic (such as maintaining material balance between upstream and downstream units). This easily leads to slow response, poor coordination, and mutual obstruction between production shutdown decisions and emergency rescue, potentially causing the situation to escalate or resulting in unnecessary significant economic losses. Furthermore, existing response processes lack post-event quantitative assessment and closed-loop optimization mechanisms for underlying rule parameters, preventing the system from achieving self-learning and adaptive evolution. Summary of the Invention

[0003] The present invention provides a method and system for safety and environmental protection emergency coordination and intelligent scheduling in smart factories, in order to solve the technical problems existing in existing smart factories, such as fragmented system data forming information silos, lack of multi-source linkage analysis for single-point parameter early warning, slow response of static paper plans and lack of adaptive dynamic adjustment, and the disconnect between emergency response and production scheduling, which leads to mutual restraint and is prone to secondary disasters or major economic losses.

[0004] To solve the above problems, the technical solution adopted by the present invention is as follows:

[0005] In a first aspect, the present invention provides a method for safety, environmental protection, emergency coordination, and intelligent scheduling in smart factories, comprising:

[0006] By accessing multi-source heterogeneous data from the smart factory, adaptive spatiotemporal alignment is performed to construct a spatiotemporal synchronization state matrix. Fluctuations that deviate from the baseline value are converted into standard event six-tuples, which include a unique event code, event type, spatiotemporal information, context parameter set, and associated pointer library.

[0007] A multi-source physical data fusion topology graph is constructed based on the standard event six-tuple. The nodes in the multi-source physical data fusion topology graph are aggregated and calculated based on a spatiotemporal graph convolutional neural network with an attention mechanism. The hidden state features of the nodes are output, and the risk development trend is inferred by combining micro-meteorological data, the dynamic impact range is delineated, and a graded early warning is triggered.

[0008] In response to the tiered early warning, based on the pre-constructed emergency response knowledge graph and Markov decision process, a subgraph of the emergency response knowledge graph is extracted using a reinforcement learning algorithm to generate dynamic emergency plan instances. The dynamic emergency plan instances are then parsed into executable task dependency trees, and emergency response instructions are issued to the corresponding responsible personnel.

[0009] While issuing the emergency response command, a multi-objective collaborative scheduling optimization model is constructed. The multi-objective collaborative scheduling optimization model is solved by a non-dominated sorting genetic algorithm with an elite retention strategy to generate a collaborative operation sequence scheme including a process adjustment command sequence and a dynamic evacuation route. The process adjustment command sequence is written in reverse into the distributed control system, and the dynamic evacuation route is sent to the personnel positioning system.

[0010] Record global time-series data from the completion of the graded early warning to the completion of the collaborative operation sequence scheme. Calculate quantitative evaluation indicators including response hysteresis index, resource allocation efficiency, and risk containment efficiency based on the global time-series data. Calculate a comprehensive loss function based on the quantitative evaluation indicators. Update the weight parameters of the spatiotemporal graph convolutional neural network with attention mechanism and the connection weights of the emergency response knowledge graph in reverse based on the gradient descent direction.

[0011] Furthermore, the nodes of the multi-source physical data fusion topology graph represent equipment, monitoring points, and operators, while the edges represent the process flow, spatial proximity, and management affiliation between nodes. The method for outputting the hidden state features of nodes includes: projecting the sensor readings of a single node, the sensor readings of adjacent nodes, and the correlation between nodes into a high-dimensional space and stitching them together with features; calculating the influence weight of adjacent nodes on the target node, where the influence weight is the attention coefficient of the graph attention mechanism; and performing a weighted summation of the features of the target node and its adjacent nodes based on the influence weight to identify the hidden state features coupled with process parameter fluctuations, abnormal gas concentrations, equipment vibration spectrum deviations, and personnel violations.

[0012] The method for delineating dynamic impact range concentric circles and triggering graded early warnings includes: inputting the hidden state characteristics into a risk classification model; when the node risk probability exceeds a threshold, acquiring the micro-meteorological data including wind speed, wind direction, and atmospheric stability; using a Gaussian plume diffusion model or a fire-explosion equivalent model, expanding the edge weights of the multi-source physical data fusion topology map along the wind direction to calculate the diffusion concentration contour lines or thermal radiation coverage of pollutants; classifying the risk into different levels based on the calculation results, and automatically drawing the dynamic impact range concentric circles containing the core danger zone, the affected zone, and the warning zone on a three-dimensional digital twin map; and identifying personnel and environmental protection facilities located within the dynamic impact range concentric circles as high-risk receptors.

[0013] Furthermore, the pre-constructed emergency response knowledge graph extracts entities and relationships from the textual emergency plan using natural language processing technology, structuring them into a relational network encompassing four dimensions: conditions, actions, resources, and responsible parties. The method for generating dynamic emergency plan instances includes:

[0014] In the Markov decision-making process, the state space is defined as the current event type, accident location, threatened asset status, and environmental parameters; the action space is defined as all candidate emergency response commands; and the reward function is defined as the sum of the risk index decrease and the reciprocal of the response time.

[0015] Using a deep reinforcement learning network, the optimal action policy that maximizes the cumulative value of the reward function in the current state space is calculated. The optimal action policy is then mapped to the emergency response knowledge graph, and the corresponding subgraph is extracted as an instance of the dynamic emergency plan.

[0016] After issuing the emergency response instruction, the method further includes:

[0017] Continuously monitor environmental parameters and the status of threatened assets within the state space;

[0018] When a sudden change in wind direction or the spread of fire causes a change in the state space, the deep reinforcement learning network is triggered to recalculate the updated optimal action strategy.

[0019] The corresponding action task nodes and resource task nodes are dynamically inserted into the task dependency tree to generate updated emergency response instructions, and the plan change alarm and the updated emergency response instructions are pushed to the mobile terminals of relevant personnel.

[0020] Furthermore, methods for constructing multi-objective cooperative scheduling optimization models include:

[0021] Define a decision variable matrix, which includes process operation variables and emergency resource allocation variables;

[0022] Establish a first objective function and a second objective function. The first objective function is configured to minimize the risk spillover index and environmental pollution emissions, and the second objective function is configured to minimize the plant downtime area and material waste cost.

[0023] The rigid physical constraints are introduced, including the mass and energy conservation equations of fluid dynamics in the pipeline, the upper and lower limit thresholds of the liquid level in the buffer tank, and the maximum discharge capacity of the safety relief system.

[0024] Further, the step of calculating the comprehensive loss function based on the quantitative evaluation index, and updating the weight parameters of the spatiotemporal graph convolutional neural network with attention mechanism and the connection weights of the emergency response knowledge graph in reverse based on the gradient descent direction, includes:

[0025] The response hysteresis index is configured as the cumulative difference between the theoretical optimal response time and the actual response time of the system; the resource allocation efficiency is configured as the ratio of the actual emergency supplies consumed to the estimated quantity of supplies by the system; and the risk containment efficiency is configured as the difference rate between the actual affected area and the model-predicted affected area.

[0026] The comprehensive loss function is obtained by multiplying and summing the response lag index, the deviation of the resource allocation efficiency, and the insufficiency of the risk containment efficiency by their respective weight coefficients.

[0027] When the response hysteresis index increases and is attributed to the obstruction of the rescue route, the impedance coefficient of the corresponding path is marked in the three-dimensional Cartesian grid model to reduce the probability of subsequent ant colony algorithms selecting that path.

[0028] When the warning of the judgment node is delayed, the attention coefficient of the corresponding type of sensor data in the spatiotemporal graph convolutional neural network with attention mechanism is increased by automatic differentiation and backpropagation algorithm, and the baseline number of resource nodes related to the resource allocation efficiency in the emergency response knowledge graph is updated.

[0029] Secondly, the present invention provides a safety and environmental protection emergency coordination and intelligent scheduling system for smart factories. The system can realize the method described in the first aspect, including a safety and environmental protection emergency integrated data base module, a multi-source linkage risk classification and early warning module, an emergency plan digitization and dynamic matching module, an emergency response and production scheduling coordination module, and a closed-loop and continuous optimization module for the entire response process.

[0030] Compared with the prior art, the beneficial effects of the present invention are:

[0031] (1) This invention constructs a spatiotemporal synchronization state matrix through adaptive spatiotemporal alignment and transforms massive heterogeneous sensing data into standard event six-tuples, breaking down the barriers between the distributed control system, environmental online monitoring, video surveillance and other subsystems in the plant area, and providing a unified, accurate and multi-dimensional data foundation for the coordinated handling of safety and environmental protection elements throughout the plant.

[0032] (2) This invention no longer relies on a single parameter alarm, but is based on the hidden state features of spatiotemporal graph convolutional neural network with attention mechanism to calculate the node. It can accurately identify the coupling risks of multi-dimensional parameters such as process fluctuations, gas anomalies and equipment abnormalities under spatiotemporal correlation, reduce the false alarm rate. At the same time, it combines micro-meteorological data and Gaussian plume diffusion model to automatically deduce the risk development trend and delineate the dynamic impact range layer, promoting the early warning mode to leap from "over-limit reminder" to "situational foresight and proactive defense".

[0033] (3) This invention reconstructs static paper-based emergency plans into an emergency response knowledge graph and uses Markov decision process and reinforcement learning algorithm to automatically generate dynamic emergency plan instances. These instances are directly parsed into executable task dependency trees and sent directly to the responsible person's terminal. When the situation changes (such as sudden wind direction change or fire spread), the deep reinforcement learning network can automatically calculate the updated optimal action strategy and dynamically insert task nodes, realizing that the emergency plan can be adaptively and dynamically adjusted with the evolution of events, thus solving the problem of rigidity and inflexibility of traditional emergency plans.

[0034] (4) In response to the game between safety isolation and production supply, this invention constructs a multi-objective collaborative scheduling optimization model and introduces a non-dominated sorting genetic algorithm with an elite retention strategy to solve the problem. It can generate a collaborative operation sequence scheme that takes into account both "risk impact and pollution minimization" and "equipment shutdown and waste cost minimization" in a very short time. It realizes the synchronous issuance of emergency process adjustments (such as valve reduction and shut-off) and dynamic evacuation routes at the system bottom layer, avoiding the separate efforts of emergency teams and production operation rooms, and recovering unnecessary economic losses from production stoppage.

[0035] (5) This invention changes the traditional manual experience summary mode. Based on global time series data, it automatically calculates the response hysteresis index, resource allocation efficiency and risk containment efficiency. By calculating the comprehensive loss function and using the gradient descent direction, the system can automatically update the attention weight of the spatiotemporal graph convolutional neural network and the connection weight of the knowledge graph in reverse. This enables the system to iterate itself after each exercise or real event, realizing the intelligent leap of smart factory management from "passive response" to "autonomous learning and continuous optimization".

[0036] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, embodiments of the present invention are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0037] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 This is a flowchart of a safety, environmental protection, emergency response coordination and intelligent scheduling method for smart factories, as described in this embodiment of the invention.

[0039] Figure 2 This is a block diagram of the safety, environmental protection, emergency response coordination and intelligent dispatch system in an embodiment of the present invention. Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.

[0041] refer to Figure 2 This invention provides a safety and environmental protection emergency coordination and intelligent scheduling system for smart factories. The system's logical architecture is divided from bottom to top into a data foundation layer, a multi-source early warning layer, an emergency plan layer, a scheduling and coordination layer, and an evaluation and optimization layer. The specific structure and operating mechanism of each layer are as follows:

[0042] 1. Integrated Safety, Environmental Protection, and Emergency Response Data Base Module (Data Base Layer)

[0043] This module is configured to uniformly access and process heterogeneous data across the entire plant, including:

[0044] (1) Heterogeneous Protocol Parsing Submodule: Used to access process parameters (such as temperature, pressure, flow rate, and liquid level) of distributed control systems (DCS) and safety instrumented systems via OPC UA / DA protocol; access data of combustible and toxic gas detection systems and environmental online monitoring systems via Modbus TCP protocol; access video surveillance streams via RTSP protocol / GB28181 standard; and access data of personnel positioning systems (UWB / Bluetooth), fire protection systems, access control systems, and work permit management systems via RESTful API.

[0045] (2) Spatiotemporal Alignment and Fusion Submodule: Due to the significant differences in data sampling frequencies between the aforementioned systems (e.g., DCS at the millisecond level, environmental monitoring at the minute level), this submodule establishes a unified three-dimensional spatial coordinate system (X, Y, Z) and an absolute time axis for the entire plant. For any incoming data, it is encapsulated into a unified data standard and event description model, namely, a spatiotemporal multidimensional sensing vector:

[0046]

[0047] in, For unique identification of equipment or personnel, For data types, For spatial three-dimensional coordinates based on digital twin models, To standardize the timestamps after time synchronization, For sensor values ​​or analytical results, In running state, For data confidence (such as the probability value of video AI recognition).

[0048] (3) Feature extraction and ontology mapping submodule: Unstructured data (such as "smoke" and "flame" image features in video streams) are transformed into structured event descriptions through machine vision models such as YOLO, and all perception vectors are mapped to the underlying entity nodes of the pre-built smart factory safety and environmental protection knowledge graph to form a real-time data lake for one-map perception and one-stop sharing of safety and environmental protection elements throughout the factory.

[0049] 2. Multi-source linkage risk classification and early warning module (multi-source early warning layer)

[0050] This module changes the traditional alarm mode of triggering an alarm when a single parameter exceeds the limit. It is configured to integrate multi-source data such as process, gas, and environmental emissions for correlation analysis, including:

[0051] (1) Spatiotemporal risk topology construction sub-module: Based on the material pipeline route, process relationship and geographical distance in the factory, a dynamic spatiotemporal risk propagation graph network is constructed. The nodes in the graph represent specific monitoring points or equipment, and the edges represent physical connections or spatial proximity relationships.

[0052] (2) Multi-source correlation analysis submodule: The spatiotemporal graph convolutional neural network combined with the multi-head attention mechanism is used to calculate the risk status of each node in real time. It not only monitors a single parameter, but also performs high-dimensional spatial projection and feature stitching on process anomalies (such as abnormal heating rate of reactor), gas leakage concentration, equipment vibration spectrum and personnel violations (such as unauthorized area of ​​work permit) to identify hidden risks under complex nonlinear coupling.

[0053] (3) Situation Evolution and Impact Circle Stator Module: Based on Bayesian network and computational fluid dynamics fast proxy model, when the risk probability of a certain node exceeds the threshold, combined with real-time micro-meteorological data (wind direction, wind speed, temperature and humidity), it automatically infers the diffusion path of harmful gases, the range of fire heat radiation, and the chain reaction (domino effect) of downstream units that may be caused by process fluctuations, thereby delineating the first-level, second-level and third-level risk impact circles and automatically identifying key risk areas.

[0054] 3. Emergency Plan Digitalization and Dynamic Matching Module (Emergency Plan Layer)

[0055] This module structures the paper-based contingency plan and dynamically matches it as events evolve, including:

[0056] (1) Deconstruction of the contingency plan sub-module: The traditional text contingency plan is decomposed into atomic task nodes, resource nodes and responsible person nodes, and a directed graph between event characteristics and contingency plan action instructions is established using knowledge graph technology.

[0057] (2) Dynamic instance generation submodule: Using the Markov decision process in reinforcement learning, relevant subgraphs are automatically extracted from the contingency plan library according to the event type, current risk level and location of occurrence, and instantiated into an executable response task chain.

[0058] (3) Adaptive Task Issuance Submodule: Generates a set of disposal instructions containing action steps, a list of required materials, and safety precautions, and pushes them directly to the explosion-proof mobile terminals or smart safety helmets of the corresponding fire protection, environmental protection, process operators, and on-site commanders via a private wireless network or 5G network. As the situation expands or shrinks, the instruction set can add or delete task nodes in real time.

[0059] 4. Emergency Response and Production Scheduling Collaboration Module (Schedule Collaboration Layer)

[0060] This module establishes a unified scheduling mechanism that prioritizes safety and coordinates production, addressing the disconnect between emergency response and production. This includes:

[0061] (1) Process response scheme generation submodule: Under the condition of an accident, based on the material balance and energy balance model, the optimal process operation sequence to avoid the expansion of the accident is automatically calculated and generated (such as the upstream unit reducing the load at a rate of 15%, the pipeline involved being urgently cut off, and the pressure relief valve being automatically opened for isolation).

[0062] (2) Resource and evacuation coordinated scheduling submodule: synchronously generate personnel safety evacuation routes (avoiding toxic gas diffusion areas and heat radiation areas) based on the improved ant colony algorithm, as well as the reverse rescue entry routes of emergency teams (fire trucks, ambulances); match and lock nearby emergency material warehouses and fire water / foam reserves.

[0063] (3) Multi-objective collaborative optimization sub-module: Runs multi-objective optimization algorithms in the same scheduling engine, taking into account both "minimizing safety and environmental risks" and "minimizing production and economic losses", avoiding the mutual constraints between emergency personnel's request to cut off water and electricity and process personnel's request to maintain pressure and supply, and outputs the globally optimal collaborative scheduling instruction set to DCS and emergency command screen.

[0064] 5. Closed-loop and continuous optimization module for the entire process (evaluation and optimization layer)

[0065] (1) Full-volume time-series traceability submodule: It records the entire life cycle from the initial access of an abnormal data point to system alarm, contingency plan matching, instruction issuance, personnel order response, process valve action, and final parameter restoration to normal, forming a digital twin traceability archive.

[0066] (2) Multidimensional quantitative assessment submodule: Automatically calculates quantitative indicators such as response delay time, instruction reach rate, resource allocation overlap, and secondary environmental pollution index after the fact, and generates a comprehensive disposal assessment report.

[0067] (3) Reverse-driven evolution submodule: Based on the loss function in the evaluation report, the gradient descent method or genetic algorithm is used to automatically correct the alarm threshold weight in the early warning module, update the connection weight and scheduling rules of the knowledge graph in the emergency plan module, and realize the continuous improvement machine closed loop of "monitoring-early warning-disposal-evaluation-optimization".

[0068] refer to Figure 1 The safety, environmental protection, emergency response coordination and intelligent scheduling method for smart factories described in this embodiment of the invention operates based on the above-mentioned system architecture, and the specific algorithm and execution logic are as follows:

[0069] Step S100: Construct an integrated data foundation for safety, environmental protection, and emergency response, and perform spatiotemporal alignment of multimodal data and event ontology modeling.

[0070] The core of this step is to solve the problem of information silos caused by system fragmentation and inconsistent data standards in smart factories.

[0071] First, the system collects data from the entire plant in real time through an industrial protocol gateway. To address the challenge of direct temporal and spatial comparison of data from different sensors, an adaptive spatiotemporal alignment algorithm is implemented.

[0072] In the time dimension, define a global base time window. (e.g., 100 milliseconds). For high-frequency sampled data (such as reactor pressure sampled every 10 milliseconds in a DCS), Kalman filtering within a sliding window is used for smoothing and noise reduction, followed by resampling. For low-frequency sampling data (such as online environmental water quality monitoring data updated every 10 minutes), Lagrange multinomial interpolation or time-series prediction networks based on historical periodic trends can be used. The system continuously completes the state updates, thereby constructing a state of all monitored objects at any given time. Unified temporal state matrix .

[0073] In terms of spatial dimensions, import the factory's BIM (Building Information Modeling) and PDMS (Plant 3D Design System) data to construct a 3D Cartesian mesh model. Then, determine the physical installation coordinates of all fixed sensors (probes, cameras). Mapped onto the grid. For moving features (such as personnel wearing positioning tags or inspection robots), their real-time coordinates are dynamically mapped to the grid after being calculated by UWB base stations. Through matrix transformation, The one-dimensional logical measurement point ID is mapped to a three-dimensional spatial feature vector, generating a spatiotemporal synchronization state matrix. .

[0074] Next, a unified data standard and event description ontology model will be established. Any data from... The fluctuation states that deviate from the baseline value extracted are all converted into standard event six-tuples:

[0075]

[0076] in, It is a unique code for the event; According to national and industry standards, the issues are categorized as safety hazards, environmental violations, process abnormalities, and equipment malfunctions. and Record precise spatiotemporal information; For the context parameter set (such as ambient temperature, current device load rate); This is the database of pointers relating the event to other entities (such as upstream and downstream valves associated with the pipeline, and the work team responsible for the area).

[0077] This step completely breaks down the barriers that previously separated safety supervision, environmental protection, and production scheduling into separate screens, achieving synchronized resonance and one-stop sharing of all safety and environmental protection elements across the plant at the underlying data architecture.

[0078] Step S200: Based on the spatiotemporal graph neural network, perform multi-source linkage risk classification identification and situation evolution early warning.

[0079] In the traditional model, an audible and visual alarm is immediately triggered when the reactor temperature exceeds the set value or the gas detector concentration reaches 25% of the LEL (lower explosive limit). This single-point over-limit alarm is prone to causing alarm storms and lacks global analysis. This step promotes the upgrading of early warning from over-limit reminders to situational analysis.

[0080] First, the system reads the event ontology generated in step S100 and constructs a multi-source physical-data fusion topology. ;in This is a set of nodes, representing equipment, monitoring points, and workers within the factory. The set of edges represents the process flow direction (such as pipeline connection), spatial proximity (such as within 5 meters) or management affiliation between nodes; Let be the weight matrix of the edges.

[0081] Building upon this, a spatiotemporal graph convolutional neural network with an attention mechanism (ST-GAT) is introduced to perform correlation computation of multi-source data. For any node in the graph... , its in Hidden state features at time step It depends not only on its own sensor readings It also depends on its set of neighboring nodes. The state of the nodes is calculated through the graph attention layer. For nodes Influence weight (attention coefficient) :

[0082]

[0083] in, For a shared weight matrix, This represents the weight vector of the feedforward neural network. This indicates feature splicing.

[0084] For example, when a combustible gas detector (node) A slight increase in concentration was detected (not yet reaching the traditional alarm threshold), while adjacent pumps (nodes) also showed an increase. The vibration intensity was too high, and the inlet pressure of the pump in the process system (node) was also too high. Abnormal fluctuations occurred. Individually, none of these three parameters exceeded the limits, but the ST-GAT network calculated an extremely high risk and hidden danger representation vector when aggregating features.

[0085] Subsequently, the system inputs the aggregated feature vectors into the risk classification and impact range delineation model. This model combines the current micrometeorological data matrix. (Wind speed, wind direction, atmospheric stability) Using a pre-set Gaussian plume diffusion model or a fire and explosion TNT equivalent mathematical model, the development trend of risks is dynamically deduced.

[0086] If the model predicts that the leaked gas will drift downwind, it automatically expands the risk map along the wind direction. The system calculates edge weights and diffusion concentration contour lines. Based on the calculation results, the system classifies the risk into four levels (general, relatively large, major, and extremely large), and automatically draws dynamic impact range concentric layers (red, orange, and yellow) on the factory's 3D digital twin map using a polygon algorithm. All personnel within the concentric circles (based on location system data) and key environmental protection facilities will be automatically identified as high-risk receptors, immediately triggering the next step of the emergency response plan.

[0087] Step S300: Digitally reconstruct the paper-based emergency plan, and execute the dynamic plan instance generation and adaptive instruction issuance.

[0088] In the event of an emergency, relying on manual review of paper-based contingency plans and hierarchical reporting can easily delay optimal action. This step aims to shorten the decision-making chain and enable dynamic matching and digital dissemination of contingency plans.

[0089] First, during the system initialization phase, existing safety and environmental protection emergency response plans (text PDF or Word format) are scanned using natural language processing techniques (such as the BERT model). Entities and relationships are extracted to construct an Emergency Response Knowledge Graph (ERKG). The plans are then structured into a four-dimensional network of relationships: "conditions-actions-resources-responsible persons".

[0090] After step S200 outputs the graded early warning events and their impact zones, the system starts a dynamic contingency plan matching engine based on Markov decision processes.

[0091] Define the state space This includes the current event type (e.g., material leak and fire), accident location (e.g., catalytic cracking unit area), status of threatened assets, and environmental parameters;

[0092] Define action space This includes all possible emergency response instructions (such as: closing the V-101 valve, starting the fire pump, evacuating personnel from Area A, etc.).

[0093] Define reward function It is the sum of the degree of decline in the risk index and the reciprocal of the response time.

[0094] The system utilizes a reinforcement learning algorithm based on Deep Q-Network (DQN) to compute the current state. The optimal action strategy that maximizes the expected cumulative safety gains. This strategy maps to the ERKG graph and automatically extracts a specific subgraph, which is the customized contingency plan instance for the current event.

[0095] The instance is no longer static text, but has been transformed into an executable task dependency tree. For example, the root node is "Control Fire", and the child nodes expand into three branches: branch one is "Process Cut-off", branch two is "Firefighting", and branch three is "Personnel Evacuation".

[0096] The system further pushes instructions directly to the corresponding level of personnel through WeChat, a dedicated APP, or a smart explosion-proof terminal, based on the "responsible person" node in the task dependency tree.

[0097] The issued instruction data packet uses a lightweight JSON format and includes: Task_ID (task number), Location (precise three-dimensional coordinates to go to), Action (action to be performed, such as wearing breathing apparatus and closing a manual valve), and Resource_List (list of supplies to be carried, such as 2 foam fire extinguishers).

[0098] This invention proposes a dynamic adjustment mechanism for the contingency plan as events evolve: during execution, if step S200 detects a sudden change in wind direction or the fire spreading to adjacent storage tanks, the status... When changes occur, the DQN model re-evaluates and outputs new action strategies. The system will dynamically insert new task nodes into the task dependency tree in real time (such as dispatching an additional high-pressure fire truck and changing the evacuation assembly point), and send "plan change alarms" and new instructions to relevant personnel, realizing a leap from "people looking for plans" to "plans looking for people" and from "static and rigid" to "dynamic and adaptive".

[0099] Step S400: Based on the principles of safety priority and production coordination, implement unified joint scheduling for emergency response and production adjustment.

[0100] In the traditional model, emergency response by safety and environmental protection departments and production operations by dispatching departments are often disconnected. When a leak occurs, emergency personnel are eager to shut down the entire production line and cut off supplies, while dispatching personnel, considering the balance of upstream and downstream units and the potential for significant economic losses, tend to reduce load in certain areas. This can easily lead to a stalemate between the two sides and escalate the situation. This step aims to unify the generation of collaborative solutions within the platform.

[0101] The core of this step is to construct a multi-objective collaborative scheduling optimization problem model.

[0102] Simultaneously with generating the emergency response task in step S300, the system's internal process mechanism simulation engine will be activated. For the faulty equipment, the system acquires the plant-wide topology and real-time material / energy balance status in the DCS system.

[0103] Define the decision variable matrix These include process operation variables (such as valve opening adjustment sequence, pump start-up and shutdown status, compressor speed change rate, etc.) and emergency resource allocation variables (fire water flow allocation, team assembly location, etc.).

[0104] Establish two optimization objective functions involving a game:

[0105] Objective 1 (Safety and Environmental Protection Constraints First): Minimize the risk spillover index and environmental pollution emissions.

[0106]

[0107] Objective 2 (Production Coordination and Economic Loss Mitigation): Minimize equipment downtime area and material waste costs.

[0108]

[0109] In this optimization model, hard physical constraints are introduced, including: the mass and energy conservation equations of fluid dynamics in the pipeline, the maximum and minimum liquid level limits of each buffer tank, and the maximum discharge capacity of the safety relief system.

[0110] To quickly solve this complex nonlinear model, the system employs a nondominated sorting genetic algorithm (NSGA-II) with an elitist retention strategy. Within an extremely short decision window (e.g., 1 minute), the algorithm searches the solution space through crossover and mutation operations to find the Pareto optimal solution set.

[0111] The system automatically selects a coordinated operation sequence that ensures absolute isolation of risks (meeting mandatory safety thresholds) and maintains minimum stable operating load for all non-affected units in the plant (avoiding unplanned plant-wide shutdowns).

[0112] After the scheme is generated, the system performs dual-thread parallel scheduling:

[0113] On the one hand, the process adjustment instruction sequence (such as: reducing the flow rate of unit A to 60%, cutting off the feed, air and water valves to unit B, and opening the venting flare valve of tank C) is written back into the DCS system via the OPC protocol to implement automatic or semi-automatic (with one-click manual confirmation) emergency shutdown and material isolation (ESD action).

[0114] On the other hand, based on the generated safe space path, the personnel positioning system is invoked to issue dynamic evacuation routes for personnel (the algorithm automatically avoids designated red high-risk zones and finds the shortest safe path); simultaneously, unobstructed entry routes are generated for off-site reinforcement emergency teams and material transport vehicles, and the access control system automatically opens the gates and doors of the rescue channels. This completely solves the pain point of disconnect between production shutdown decisions and emergency rescue, and the resulting fragmented efforts, achieving unified and intelligent command of global resources.

[0115] Step S500: Perform time-series tracking, quantitative closed-loop evaluation, and reverse continuous optimization of system model parameters throughout the entire emergency response process.

[0116] The resolution of a sudden incident is not the end of the process. To make the system smarter with use, it is crucial to establish a self-evolving closed-loop mechanism.

[0117] First, the system's data base module records all action sequence data within the lifecycle of this event, forming an event traceability log matrix, including: the time point when the anomaly first appeared, the time point when the system issued an early warning, the time point when the contingency plan was generated, the time point when personnel confirmed the order, the time point when the DCS valve actually closed, and the time point when environmental monitoring data fell back to the safety line, etc.

[0118] Next, the multi-dimensional quantitative evaluation algorithm is activated to calculate the performance indicators of this coordinated scheduling, specifically the following three core indices:

[0119] (1) Response Delay Index (RDI): The cumulative difference between the theoretical optimal response time and the actual response time (including manual confirmation delay) of the system.

[0120] (2) Resource Utilization Rate (RUR): The ratio of the actual consumption of emergency supplies (such as fire extinguishing foam) dispatched to the site to the system’s estimated amount; the larger the deviation of the ratio from 1, the less accurate the matching of the planned supplies in step S300 is.

[0121] (3) Risk containment efficiency (CE): Calculate the difference between the actual maximum affected area of ​​the event and the affected area initially predicted by the model in step S200, and calculate whether the amount of waste gas and waste liquid generated exceeds the environmental impact assessment standards.

[0122] Based on the aforementioned quantitative indicators, the system automatically generates visualized incident assessment reports and accident debriefing animations. More importantly, it includes a reverse optimization mechanism:

[0123] Define the system's overall loss function:

[0124]

[0125] Using automatic differentiation and backpropagation algorithms, based on Based on the gradient descent direction, the system automatically fine-tunes and updates the underlying model:

[0126] Firstly, the weights of the multi-source early warning model are corrected in reverse: if the accident review finds that a certain node has obvious early warning signs but the warning is late, the system will automatically increase the attention weight of the ST-GAT network for that type of sensor data in step S200. Alternatively, it can adaptively reduce the fusion probability threshold for alarm triggering.

[0127] Secondly, the system updates the contingency plan knowledge graph and scheduling rules in reverse: If, during the scheduling process, it is found that a certain fire lane is too narrow, causing vehicles to enter slowly (RDI increases), the system will mark the impedance coefficient of the path in the BIM space grid and reduce the selection probability of the path in the ant colony pathfinding algorithm in the next step S400; at the same time, it modifies the resource association edges in the knowledge graph and corrects the baseline setting of the amount of materials required for a specific accident in the contingency plan.

[0128] Through the above mechanism, a complete machine cognition closed loop is formed, from "monitoring and perception - correlation and early warning - collaborative response - quantitative assessment - model optimization", which promotes the emergency management capabilities of smart factories to continuously evolve towards autonomous learning.

[0129] To further clarify the interaction and practical effects of each step and system module in this invention, the following specific application scenario is provided in a leakage accident of a continuous reforming unit in a large-scale petrochemical smart plant.

[0130] One day, there was a light breeze blowing from the southeast.

[0131] In step S100 (data base layer), the system continuously receives data from more than 10,000 points throughout the plant.

[0132] exist At that moment, through data access and analysis, the system detected that the combustible gas detector GT-203 near the bottom of reactor R-101 in the continuous reforming unit area was slowly fluctuating from 0% LEL to 12% LEL (traditional DCS systems are set to alarm at 25% and 50% respectively, so the DCS did not alarm at this time). Simultaneously, the video monitoring AI identified a slight white fog in the area (65% confidence level), and the ambient temperature sensor showed a local temperature rise of 1.5°C. This heterogeneous data was instantly transformed into a uniformly defined spatiotemporal perception vector and fed into the data lake.

[0133] Proceeding to step S200 (multi-source early warning layer), the ST-GAT graph neural network initiates correlation analysis. Although no single parameter reaches the alarm threshold, the graph network fusion analysis reveals that "abnormal gas concentration" + "AI white fog characteristics" + "slight temperature increase" correlate in spatial coordinates. The locations are highly overlapping, and the process diagram shows that the flange of the high-temperature and high-pressure hydrogen-rich pipeline at this location has a history of aging.

[0134] The model instantly calculated that the overall risk probability of this node was as high as 89%, far exceeding the 60% system hazard threshold. The system immediately switched from "monitoring" to "situation prediction" mode. Combining the current southeasterly wind micro-meteorological data and gas diffusion model, the system automatically rendered a dynamic diffusion circle on the digital twin 3D screen, predicting that within 15 minutes, the leaked hydrogen-rich gas would drift to the downwind substation and flare pipe area. The system automatically classified it as a "Level II (Significant) Safety Warning" and marked the leak source in red and the downwind fan-shaped area in orange on the map.

[0135] Upon triggering the warning, the system quickly proceeds to step S300 (emergency response plan layer). Based on a knowledge graph and the current status (leaking medium: hydrogen-rich; location: reforming zone; wind direction: southeast), the system dynamically instantiates the emergency response plan. Instead of issuing dozens of pages of documents, it generates two precise sets of digital task flows:

[0136] Task Flow A (issued to field inspectors A and B): includes the instructions "Wear a positive pressure breathing apparatus", "Carry a four-in-one gas detector", and "Proceed to the coordinates". "Identify the source of the leak and attempt to close the pre-operated manual isolation valve V-301." This command and coordinate route were instantly transmitted to the explosion-proof smartphones of both A and B.

[0137] Task Flow B (issued to the company's dedicated fire brigade): includes the instructions "Deploy 1 chemical decontamination vehicle and 2 high-pressure water jet fire trucks", "Assemble and stand by at the No. 2 fire lane on the downwind east side of the reorganization area", and "Prepare a water curtain to dilute the gas".

[0138] Meanwhile, the joint scheduling engine in step S400 (scheduling coordination layer) operates at full speed. Within 5 seconds of receiving the leak warning, the multi-objective optimization algorithm (NSGA-II) calculates an optimal "safety net + isolation" operation sequence to prevent the potential explosion from affecting the entire plant and to minimize the millions of dollars in economic losses caused by a direct and complete shutdown.

[0139] The system automatically generates a coordinated dispatch order: issuing commands to the central control room (DCS) such as "Reformer unit feed cut-off (XV-101 quick-closing valve closed)", "Reactor system emergency depressurization start (PCV-102 valve fully open, discharge to flare system)", and "Upstream pre-hydrogenation unit reduce flow by 30% to maintain thermal circulation without shutting down". The central control shift supervisor executes the order with a single click after confirming it.

[0140] Meanwhile, the dispatch system detected three maintenance workers operating in a substation downwind of the orange diffusion zone (detected by UWB positioning wristbands). The system immediately cut off the substation's non-fire-fighting power supply (to prevent static electricity sparks) and sent high-frequency vibration alarms and evacuation route instructions to the wristbands of the three maintenance workers (the routes had been optimized by an ant colony algorithm, guiding them to evacuate to a safe area upwind of the northwest, avoiding the toxic gas spread zone).

[0141] After the situation calmed down, step S500 (evaluation and optimization layer) was initiated. The system retrieved the timing log and found that... From the initial signs to the final isolation and depressurization of the pipeline, the entire process took 3 minutes and 45 seconds, which is 75% shorter than the average time (about 15 minutes) in the era of manual reporting at each level.

[0142] However, when the evaluation module calculated the "Resource Allocation Efficiency (RUR)," it found that the fire truck took too long to reach the East Side Lane 2 because the lane was partially blocked by a temporarily parked maintenance crane. The loss function captured this "response lag indicator." The system automatically performed reverse optimization in the background: updating the traffic impedance parameters of that section of the fire lane in the knowledge graph and generating a rectification report for management (suggesting temporarily closing the lane during maintenance or increasing the weight of the backup route in the contingency plan matching). Thus, a complete closed loop was achieved, from the very early detection of potential hazards and seamless multi-departmental collaborative handling to automatic post-event evolution.

[0143] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for safety, environmental protection, emergency coordination, and intelligent scheduling in smart factories, characterized in that: include: By accessing multi-source heterogeneous data from the smart factory, adaptive spatiotemporal alignment is performed to construct a spatiotemporal synchronization state matrix. Fluctuations that deviate from the baseline value are converted into standard event six-tuples, which include a unique event code, event type, spatiotemporal information, context parameter set, and associated pointer library. A multi-source physical data fusion topology graph is constructed based on the standard event six-tuple. The nodes in the multi-source physical data fusion topology graph are aggregated and calculated based on a spatiotemporal graph convolutional neural network with an attention mechanism. The hidden state features of the nodes are output, and the risk development trend is inferred by combining micro-meteorological data, the dynamic impact range is delineated, and a graded early warning is triggered. In response to the tiered early warning, based on the pre-constructed emergency response knowledge graph and Markov decision process, a subgraph of the emergency response knowledge graph is extracted using a reinforcement learning algorithm to generate dynamic emergency plan instances. The dynamic emergency plan instances are then parsed into executable task dependency trees, and emergency response instructions are issued to the corresponding responsible personnel. While issuing the emergency response command, a multi-objective collaborative scheduling optimization model is constructed. The multi-objective collaborative scheduling optimization model is solved by a non-dominated sorting genetic algorithm with an elite retention strategy to generate a collaborative operation sequence scheme including a process adjustment command sequence and a dynamic evacuation route. The process adjustment command sequence is written in reverse into the distributed control system, and the dynamic evacuation route is sent to the personnel positioning system. Record global time-series data from the completion of the graded early warning to the completion of the collaborative operation sequence scheme. Calculate quantitative evaluation indicators including response hysteresis index, resource allocation efficiency, and risk containment efficiency based on the global time-series data. Calculate a comprehensive loss function based on the quantitative evaluation indicators. Update the weight parameters of the spatiotemporal graph convolutional neural network with attention mechanism and the connection weights of the emergency response knowledge graph in reverse based on the gradient descent direction.

2. The method according to claim 1, characterized in that, Methods for constructing a spatiotemporal synchronization state matrix include: Define a global base time window. For high-frequency sampled data with a sampling frequency higher than the global base time window, use Kalman filtering within a sliding window to smooth and reduce noise and resample to the global base time window. For low-frequency sampled data with a sampling frequency lower than the global base time window, state completion is performed within the global base time window using Lagrange polynomial interpolation or a time series prediction network based on historical periodic trends to generate a unified time series state matrix. A three-dimensional Cartesian grid model is constructed, the physical installation coordinates of the fixed sensors are mapped to the three-dimensional Cartesian grid model, and the real-time coordinates of the moving elements are dynamically mapped to the three-dimensional Cartesian grid model. Through matrix transformation, the one-dimensional logical measurement point identifiers in the unified temporal state matrix are mapped to three-dimensional spatial feature vectors to generate the spatiotemporal synchronization state matrix.

3. The method according to claim 1, characterized in that, The nodes of the multi-source physical data fusion topology graph represent equipment, monitoring points, and operators, while the edges represent the process flow, spatial proximity, and management affiliation between nodes. The method for outputting the hidden state features of nodes includes: projecting the sensor readings of a single node, the sensor readings of adjacent nodes, and the correlation between nodes into a high-dimensional space and stitching them together with features; calculating the influence weights of adjacent nodes on the target node, where the influence weights are the attention coefficients of the graph attention mechanism; and performing a weighted summation of the features of the target node and its adjacent nodes based on the influence weights to identify the hidden state features coupled with process parameter fluctuations, abnormal gas concentrations, equipment vibration spectrum deviations, and personnel violations.

4. The method according to claim 3, characterized in that, The method for delineating dynamic impact range concentric circles and triggering graded early warnings includes: inputting the hidden state characteristics into a risk classification model; when the node risk probability exceeds a threshold, acquiring the micro-meteorological data including wind speed, wind direction, and atmospheric stability; using a Gaussian plume diffusion model or a fire-explosion equivalent model, expanding the edge weights of the multi-source physical data fusion topology map along the wind direction to calculate the diffusion concentration contour lines or thermal radiation coverage of pollutants; classifying the risk into different levels based on the calculation results, and automatically drawing the dynamic impact range concentric circles containing the core danger zone, the affected zone, and the warning zone on a three-dimensional digital twin map; and identifying personnel and environmental protection facilities located within the dynamic impact range concentric circles as high-risk receptors.

5. The method according to claim 1, characterized in that, The pre-built emergency response knowledge graph extracts entities and relationships from the text plan using natural language processing technology, and structures them into an association network containing four dimensions: conditions, actions, resources, and responsible persons. Methods for generating dynamic emergency response plan instances include: In the Markov decision-making process, the state space is defined as the current event type, accident location, threatened asset status, and environmental parameters; the action space is defined as all candidate emergency response commands; and the reward function is defined as the sum of the risk index decrease and the reciprocal of the response time. Using a deep reinforcement learning network, the optimal action policy that maximizes the cumulative value of the reward function in the current state space is calculated. The optimal action policy is then mapped to the emergency response knowledge graph, and the corresponding subgraph is extracted as an instance of the dynamic emergency plan.

6. The method according to claim 5, characterized in that, After issuing the emergency response instruction, the method further includes: Continuously monitor environmental parameters and the status of threatened assets within the state space; When a sudden change in wind direction or the spread of fire causes a change in the state space, the deep reinforcement learning network is triggered to recalculate the updated optimal action strategy. The corresponding action task nodes and resource task nodes are dynamically inserted into the task dependency tree to generate updated emergency response instructions, and the plan change alarm and the updated emergency response instructions are pushed to the mobile terminals of relevant personnel.

7. The method according to claim 1, characterized in that, Methods for constructing multi-objective cooperative scheduling optimization models include: Define a decision variable matrix, which includes process operation variables and emergency resource allocation variables; Establish a first objective function and a second objective function. The first objective function is configured to minimize the risk spillover index and environmental pollution emissions, and the second objective function is configured to minimize the plant downtime area and material waste cost. The rigid physical constraints are introduced, including the mass and energy conservation equations of fluid dynamics in the pipeline, the upper and lower limit thresholds of the liquid level in the buffer tank, and the maximum discharge capacity of the safety relief system.

8. The method according to claim 1, characterized in that, The step of calculating the comprehensive loss function based on the quantitative evaluation index, and updating the weight parameters of the spatiotemporal graph convolutional neural network with attention mechanism and the connection weights of the emergency response knowledge graph in reverse based on the gradient descent direction, includes: The response hysteresis index is configured as the cumulative difference between the theoretical optimal response time and the actual response time of the system; the resource allocation efficiency is configured as the ratio of the actual emergency supplies consumed to the estimated quantity of supplies by the system; and the risk containment efficiency is configured as the difference rate between the actual affected area and the model-predicted affected area. The comprehensive loss function is obtained by multiplying and summing the response lag index, the deviation of the resource allocation efficiency, and the insufficiency of the risk containment efficiency by their respective weight coefficients. When the response hysteresis index increases and is attributed to the obstruction of the rescue route, the impedance coefficient of the corresponding path is marked in the three-dimensional Cartesian grid model to reduce the probability of subsequent ant colony algorithms selecting that path. When the warning of the judgment node is delayed, the attention coefficient of the corresponding type of sensor data in the spatiotemporal graph convolutional neural network with attention mechanism is increased by automatic differentiation and backpropagation algorithm, and the baseline number of resource nodes related to the resource allocation efficiency in the emergency response knowledge graph is updated.

9. A safety, environmental protection, emergency response, and intelligent dispatching system for smart factories, characterized in that: include: The integrated data base module for safety, environmental protection and emergency response is used to access multi-source heterogeneous data from smart factories, perform adaptive spatiotemporal alignment, construct a spatiotemporal synchronization state matrix, and convert fluctuations that deviate from the baseline value into standard event six-tuples. The standard event six-tuples include a unique event code, event type, spatiotemporal information, context parameter set, and associated pointer library. The multi-source linkage risk classification and early warning module is used to construct a multi-source physical data fusion topology map based on the standard event six-tuple, perform feature aggregation calculation on the nodes in the multi-source physical data fusion topology map based on a spatiotemporal graph convolutional neural network with attention mechanism, output the hidden state features of the nodes, and combine micro-meteorological data to infer the risk development trend, delineate the dynamic impact range layer and trigger a graded early warning. The emergency plan digitization and dynamic matching module is used to respond to the graded early warning. Based on the pre-constructed emergency response knowledge graph and Markov decision process, it extracts subgraphs of the emergency response knowledge graph through reinforcement learning algorithm, generates dynamic emergency plan instances, parses the dynamic emergency plan instances into executable task dependency trees, and issues emergency response instructions to the corresponding responsible personnel. The emergency response and production scheduling coordination module is used to construct a multi-objective collaborative scheduling optimization model while issuing the emergency response command. The multi-objective collaborative scheduling optimization model is solved by a non-dominated sorting genetic algorithm with an elite retention strategy to generate a collaborative operation sequence scheme including a process adjustment command sequence and a dynamic evacuation route. The process adjustment command sequence is written into the distributed control system in reverse, and the dynamic evacuation route is sent to the personnel positioning system. The closed-loop and continuous optimization module for the entire process is used to record global time-series data from the hierarchical early warning to the completion of the collaborative operation sequence plan. Based on the global time-series data, it calculates quantitative evaluation indicators including response hysteresis index, resource allocation efficiency, and risk containment efficiency. It calculates a comprehensive loss function based on the quantitative evaluation indicators and updates the weight parameters of the spatiotemporal graph convolutional neural network with attention mechanism and the connection weights of the emergency response knowledge graph in reverse based on the gradient descent direction.

10. The system according to claim 9, characterized in that, The multi-source linkage risk classification and early warning module includes a heterogeneous protocol parsing submodule, a spatiotemporal alignment and fusion submodule, and a feature extraction and ontology mapping submodule. The heterogeneous protocol parsing submodule uses multiple industrial protocol gateways to access heterogeneous sensing data from the entire plant. The emergency response and production scheduling collaborative linkage module includes a process response scheme generation submodule, a resource and evacuation collaborative scheduling submodule, and a multi-objective collaborative optimization submodule. The process response scheme generation submodule generates emergency shutdown and material isolation instruction sequences based on material balance and energy balance models. The resource and evacuation collaborative scheduling submodule generates safe evacuation routes for personnel that avoid toxic gas diffusion zones and heat radiation zones based on an improved ant colony algorithm.