Gas power plant construction safety early warning method and system based on knowledge enhanced large model

By combining digital twin modeling and safety knowledge graphs, and using knowledge-enhanced large models to identify and extrapolate risks at gas-fired power plant construction sites, the problem of cross-regional risk propagation and evolution in existing technologies has been solved, and efficient safety early warning has been achieved during the construction of gas-fired power plants.

CN123180747APending Publication Date: 2026-11-27POWERCHINA SEPCO1 ELECTRIC POWER CONSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611411835.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-11
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing safety early warning methods are difficult to integrate construction specifications, historical accident experience and real-time perception information, lack the ability to extrapolate the cross-regional propagation and evolution of risk events in the construction of gas-fired power plants, and cannot effectively support the safety early warning needs of complex risk chains intertwined with multi-source heterogeneous data.

Method used

By adopting a knowledge-enhanced big data model approach, a multi-source data fusion model of the construction site is constructed through the synergistic introduction of digital twin modeling, safety knowledge graph and knowledge-enhanced big data model, to identify potential risk events and conduct cross-regional propagation simulation, and generate structured early warning information.

Benefits of technology

It enables risk identification and simulation throughout the entire construction process of gas-fired power plants, enhances the initiative and accuracy of safety early warning, and supports closed-loop management of risk identification, evolution simulation and early warning response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180747A_ABST
    Figure CN123180747A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of safety early warning, and particularly relates to a gas power plant construction safety early warning method and system based on a knowledge enhanced large model, which uses a probability combination formula based on occurrence probability and severity weight to calculate an initial risk level, considers the combined effect of multiple risk events, and introduces a correction coefficient when there is risk coupling, which can improve the accuracy of risk quantification, and in the risk deduction calculation module, the risk consequence entity sequence is obtained by layer-by-layer deduction along the reverse direction of the leading relationship, the potential correlation relationship and the triggering relationship, the number of risk-covered construction areas and the number of construction personnel are counted, the risk propagation influence index is calculated, and the bounded final risk level is obtained in combination with the initial risk level, this process not only depicts the forward propagation of the risk, but also reveals the potential risk source through reverse tracing relationship, and the safety blocking condition is introduced to support risk degradation correction, so that the deduction result is closer to the actual construction safety management logic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of safety early warning technology, specifically relating to a safety early warning method and system for the construction of gas-fired power plants based on a knowledge-enhanced large model. Background Technology

[0002] Construction sites for gas-fired power plants involve a variety of high-risk procedures, including working at heights, hot work, equipment hoisting, and confined space operations. These sites are geographically dispersed, involve high personnel mobility, and present complex equipment operating conditions. Safety risks are characterized by multi-source coupling, dynamic evolution, and cross-regional propagation. Existing safety early warning methods largely rely on single-source monitoring data and fixed threshold judgments, making it difficult to integrate construction specifications, historical accident experience, and real-time sensing information for comprehensive risk identification. Furthermore, they generally remain at the single-point alarm level, lacking the ability to extrapolate the evolution of risk events along the construction area, equipment, and personnel network after an event occurs. Fault prediction and health management technologies are mostly used for equipment-level condition monitoring and remaining life prediction. When faced with a complex risk chain interwoven with multi-source heterogeneous data such as personnel behavior, environmental parameters, equipment status, and spatial location in a construction scenario, these technologies struggle to directly support the safety early warning needs of the entire construction process.

[0003] To address the aforementioned issues, this application presents a method and system for early warning of construction safety in gas-fired power plants based on a knowledge-enhanced large-scale model. Summary of the Invention

[0004] To address the shortcomings of the prior art mentioned in the background section, this application proposes a method and system for safety early warning in the construction of gas-fired power plants based on a knowledge-enhanced large-scale model. By synergistically introducing digital twin modeling, safety knowledge graphs, and knowledge-enhanced large-scale models into the safety early warning system for the construction of gas-fired power plants, this method achieves overall safety and health management from risk identification at the construction area level to cross-regional propagation and deduction, thereby solving the problems in the background section.

[0005] Firstly, to achieve the above objectives, this application provides a safety early warning method for the construction of gas-fired power plants based on a knowledge-enhanced large-scale model, which includes the following specific steps: S1. Collect basic information on the area, equipment, and personnel at the construction site of the gas-fired power plant, and build a digital twin model of the construction site; S2. Collect four types of multi-source sensing data: construction site monitoring video, equipment operation monitoring, environmental monitoring, and personnel positioning. After preprocessing, standardized multi-source data is obtained. S3. Extract three types of entities—risk sources, risk events, and risk consequences—from the construction specifications, accident reports, and operating procedures of gas-fired power plants. Establish triggering relationships, causal relationships, and potential related relationships. Label the severity weight of risk source entities and label the impact scope level, number of people affected, and severity level of consequences for risk consequence entities to construct a knowledge graph of construction safety for gas-fired power plants. S4. Construct a domain training corpus based on a security knowledge graph, fine-tune the general large language model, and obtain a knowledge-enhanced large model for outputting the probability of potential risk events. S5. Input standardized multi-source data into the knowledge enhancement model to identify potential risk events and their probability of occurrence in each construction area, and calculate the initial risk level by combining the severity weights of the risk source entities. S6. Filter out primary risk areas based on the first preset threshold, and extract corresponding standardized multi-source data, potential risk events and their probability of occurrence; S7. Starting with the potential risk event entities in the primary risk area, the risk consequences entity sequence is obtained by deducing the reverse relationship of the cause, the potential related relationship and the triggering relationship. The risk propagation impact index is quantified and combined with the initial risk level to calculate the final risk level. S8. Identify the primary risk areas with a final risk level not lower than the second preset threshold as warning areas, visualize and mark the warning areas in the digital twin model, generate and push warning information to the corresponding terminals to complete the security warning.

[0006] In a preferred embodiment based on the above scheme, step S3 specifically includes: S31. Perform entity recognition on standard texts, accident report texts, and operating procedure texts, and extract risk source entities, risk event entities, and risk consequence entities; S32. Establish the triggering relationship between risk source entities and risk event entities, the causal relationship between risk event entities and risk consequence entities, and the potential association relationship between risk source entities and risk consequence entities. S33. Construct an initial security knowledge graph using three types of entities as nodes and three types of directed relationships as edges; S34. Obtain the severity weight of each risk source entity based on the normalization of historical accident data and bind it to the corresponding node; S35. Configure the impact scope level, number of people affected level, and severity level of consequences for each risk consequence entity, and establish a mapping rule between the level and the actual quantitative value, and store it in the corresponding node.

[0007] Based on the above scheme, the preferred method for model training in step S4 is as follows: First, the entity relation triples of the security knowledge graph are converted into natural language training samples with entity attributes to complete sample augmentation; Then, the enhanced domain sample set is used to perform low-rank adaptation fine-tuning on the general large language model, without mixing in the general original training corpus; Finally, the potential risk events and their corresponding confidence levels are output through the Prompt constraint model, and the confidence levels are mapped to the standardized occurrence probability in the range of 0 to 1 through Softmax normalization.

[0008] Based on the above scheme, the preferred formula for calculating the initial risk level in step S5 is: ; in, Let be the initial risk level of the k-th construction area, with a value range of (0, 1). The total number of potential risk events identified in the region. Let be the probability of the i-th risk event occurring in the k-th construction area, with a value range of (0, 1). This represents the severity weight of the risk source entity corresponding to the i-th risk event in the k-th construction area. Its value range is (0, 1). Each risk event is approximately independent by default. When there is risk coupling, a coupling correction coefficient is introduced to correct the deviation. When no risk event is identified, the initial risk level is zero by default.

[0009] In a preferred embodiment based on the above scheme, step S7 specifically includes: S71. Starting from the potential risk event entities in the primary risk area, the evolution proceeds by traversing the reverse of the causal relationships, potential association relationships, and triggering relationships connected to the current node in the safety knowledge graph, until the preset inference depth is reached or there are no associated entities, thus obtaining the sequence of inferred risk consequences entities. S72. Based on the impact range level and preset mapping rules of each risk consequence entity in the deduced risk consequence entity sequence, and combined with the spatial location information in the digital twin model, count the number of construction areas covered by the risk. S73. Based on the level of the number of people affected and the preset mapping rules, and combined with the personnel location data in the standardized multi-source data, calculate the number of construction workers covered by the risk. S74. Calculate the risk transmission impact indicator. The calculation formula is as follows: ; in, This is an indicator of the risk transmission impact of the kth primary risk area. This represents the number of construction areas covered by risk in the k-th primary risk region. This represents the number of construction workers covered by risk in the k-th primary risk area. This represents the maximum number of construction areas covered by risk across all primary risk zones. ε is the maximum number of construction workers covered by risk in all primary risk areas, ε is the preset positive smoothing coefficient, and δ is the influence range weighting coefficient, with a value range of (0, 1). S75. The final risk level of the primary risk area is calculated using the following formula: ; in, The final risk level of the k-th primary risk area. λ represents the initial risk level of the kth primary risk area, and λ is the preset risk propagation amplification coefficient with a value range of (0, 1). If the deduced link hits the security blocking condition, the propagation impact index is set to zero to achieve risk downgrading correction. The security blocking condition is an entity or measure node with risk isolation or elimination function that is pre-marked in the security knowledge graph.

[0010] In a preferred embodiment based on the above scheme, step S8 specifically includes: S81. Extract spatial information, risk level, risk events, and predicted consequences of the warning area; S82. Highlight the warning area in the digital twin model and display the risk information label; S83. Integrate the risk evolution chain and consequences to generate early warning details text, and combine it with the current final risk level to form structured early warning information; S84. Based on the information of the person in charge of the construction area, the early warning information is pushed to the mobile terminal of the person in charge of the corresponding construction area, and at the same time sent to the management terminal of the safety management department.

[0011] Secondly, this application provides a safety early warning system for the construction of gas-fired power plants based on a knowledge-enhanced large model, including: The modeling module corresponds to step S1, which is used to collect basic information on the area, equipment, and personnel at the construction site of the gas-fired power plant and to build a digital twin model of the construction site. The data preprocessing module corresponds to step S2, which is used to collect four types of multi-source sensing data: construction site monitoring video, equipment operation monitoring, environmental monitoring, and personnel positioning. After preprocessing, standardized multi-source data is obtained. The knowledge graph construction module corresponds to step S3, which is used to extract three types of entities—risk sources, risk events, and risk consequences—from the texts of gas-fired power plant construction specifications, accident reports, and operating procedures. It establishes triggering relationships, causal relationships, and potential related relationships, marks the severity weight for risk source entities, and marks the impact scope level, number of people affected, and severity level for risk consequence entities, thereby constructing a knowledge graph for gas-fired power plant construction safety. The model fine-tuning module corresponds to step S4, which is used to construct domain training corpus based on security knowledge graph, fine-tune general large language model, and obtain knowledge-enhanced large model for outputting the probability of occurrence of potential risk events. The initial risk calculation module corresponds to step S5, which is used to input standardized multi-source data into the knowledge-enhanced big data model, identify potential risk events and their probability of occurrence in each construction area, and calculate the initial risk level by combining the severity weights of the risk source entities. The risk area screening module corresponds to step S6, which is used to screen primary risk areas according to the first preset threshold and extract corresponding standardized multi-source data, potential risk events and their probability of occurrence information. The risk simulation and calculation module corresponds to step S7, which is used to start from the potential risk event entities in the primary risk area, and to perform reverse simulations layer by layer along the cause relationship, potential association relationship and trigger relationship to obtain the risk consequence entity sequence, quantify the risk propagation impact index and calculate the final risk level in combination with the initial risk level. The early warning push module corresponds to step S8, which is used to determine the primary risk area with a final risk level not lower than the second preset threshold as the early warning area, visualize and mark the early warning area in the digital twin model, generate and push early warning information to the corresponding terminal, and complete the security early warning.

[0012] Thirdly, this application provides an electronic device, including: a processor and a memory, wherein the memory stores a computer program that can be called by the processor; The processor executes the aforementioned knowledge-enhanced large model-based safety early warning method for gas-fired power plant construction by calling the computer program stored in the memory.

[0013] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the aforementioned knowledge-enhanced large model-based safety early warning method for gas-fired power plant construction.

[0014] Compared with the prior art, the beneficial effects of the present invention are: First, a digital twin model of the construction site is constructed through the modeling module. The data preprocessing module then integrates four types of sensory data: monitoring video, equipment operation monitoring, environmental monitoring, and personnel positioning, forming a unified data foundation covering the area, equipment, personnel, and environment. This provides complete spatial and status information support for subsequent risk identification and simulation. Next, the knowledge graph construction module extracts three types of entities—risk sources, risk events, and risk consequences—and their directed relationships from construction specifications, accident reports, and operating procedures. Attributes such as severity weight, impact range level, and number of affected persons are labeled, transforming scattered domain knowledge into a structured safety knowledge graph that is reasonable and traversable. Then, the model fine-tuning module performs low-rank adaptation fine-tuning on the general large language model based on the domain training corpus, enabling the knowledge-enhanced model to output the probability of potential risk events, compensating for the semantic understanding deficiencies of traditional fault prediction and health management methods when dealing with construction text knowledge. Finally, the initial risk calculation module employs a probability merging formula based on the probability of occurrence and severity weight. The initial risk level is calculated using a formula that considers the combined effects of multiple risk events and introduces a correction coefficient when risk coupling exists, which can improve the accuracy of risk quantification. Then, in the risk extrapolation calculation module, the extrapolation is performed layer by layer in reverse along the causal relationship, potential correlation relationship, and triggering relationship to obtain the risk consequence entity sequence. The number of construction areas and construction personnel covered by the risk is counted, the risk propagation impact index is calculated, and a bounded final risk level is obtained by combining the initial risk level. This process not only depicts the forward propagation of risk but also reveals the potential risk root causes through reverse tracing relationships. At the same time, safety blocking conditions are introduced to support risk downgrading correction, making the extrapolation results closer to the actual construction safety management logic. Finally, the early warning push module automatically determines the early warning area based on the final risk level, highlights it in the digital twin model, generates structured early warning information, and pushes it to the terminal of the on-site person in charge and the terminal of the safety management department. This realizes a closed loop of risk identification, evolution extrapolation, and early warning response, which can effectively improve the initiative and accuracy of safety early warning in the construction of gas-fired power plants. Attached Figure Description

[0015] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a schematic diagram of the overall process of the gas-fired power plant construction safety early warning method based on a knowledge-enhanced large model of the present invention. Figure 2 This is a flowchart illustrating step S7 of the knowledge-enhanced large model-based safety early warning method for gas-fired power plant construction in this invention. Figure 3 This is a schematic diagram of the framework of the gas-fired power plant construction safety early warning system based on a knowledge-enhanced large model according to the present invention. Detailed Implementation

[0016] 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 only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0017] Example 1 To address the technical problems raised in the background art, this application provides a preferred embodiment: such as Figure 1 - Figure 3 As shown, the safety early warning method for gas-fired power plant construction based on a knowledge-enhanced large model includes the following specific steps: S1. Collect basic information on the area, equipment, and personnel at the construction site of the gas-fired power plant, and build a digital twin model of the construction site; S2. Collect four types of multi-source sensing data: construction site monitoring video, equipment operation monitoring, environmental monitoring, and personnel positioning. After preprocessing, standardized multi-source data is obtained. S3. Extract three types of entities—risk sources, risk events, and risk consequences—from the construction specifications, accident reports, and operating procedures of gas-fired power plants. Establish triggering relationships, causal relationships, and potential related relationships. Label the severity weight of risk source entities and label the impact scope level, number of people affected, and severity level of consequences for risk consequence entities to construct a knowledge graph of construction safety for gas-fired power plants. S4. Construct a domain training corpus based on a security knowledge graph, fine-tune the general large language model, and obtain a knowledge-enhanced large model for outputting the probability of potential risk events. S5. Input standardized multi-source data into the knowledge enhancement model to identify potential risk events and their probability of occurrence in each construction area, and calculate the initial risk level by combining the severity weights of the risk source entities. S6. Filter out primary risk areas based on the first preset threshold, and extract corresponding standardized multi-source data, potential risk events and their probability of occurrence; S7. Starting with the potential risk event entities in the primary risk area, the risk consequences entity sequence is obtained by deducing the reverse relationship of the cause, the potential related relationship and the triggering relationship. The risk propagation impact index is quantified and combined with the initial risk level to calculate the final risk level. S8. Identify the primary risk areas with a final risk level not lower than the second preset threshold as warning areas, visualize and mark the warning areas in the digital twin model, generate and push warning information to the corresponding terminals to complete the security warning.

[0018] Furthermore: In an optional embodiment, step S3 specifically includes: S31. Perform entity recognition on standard texts, accident report texts, and operating procedure texts, and extract risk source entities, risk event entities, and risk consequence entities; S32. Establish the triggering relationship between risk source entities and risk event entities, the causal relationship between risk event entities and risk consequence entities, and the potential association relationship between risk source entities and risk consequence entities. S33. Construct an initial security knowledge graph using three types of entities as nodes and three types of directed relationships as edges; S34. Obtain the severity weight of each risk source entity based on the normalization of historical accident data and bind it to the corresponding node; S35. Configure the impact scope level, number of people affected level, and severity level of consequences for each risk consequence entity, and establish a mapping rule between the level and the actual quantitative value, and store it in the corresponding node.

[0019] In an optional embodiment, the model training method in step S4 is as follows: First, the entity relationship triples of the security knowledge graph are converted into natural language training samples with entity attributes to complete sample augmentation; Then, the enhanced domain sample set is used to perform low-rank adaptation fine-tuning on the general large language model, without mixing in the general original training corpus; Finally, the potential risk events and their corresponding confidence levels are output through the Prompt constraint model, and the confidence levels are mapped to the standardized occurrence probability in the range of 0 to 1 through Softmax normalization.

[0020] In an optional embodiment, the formula for calculating the initial risk level in step S5 is: ; in, Let be the initial risk level of the k-th construction area, with a value range of (0, 1). The total number of potential risk events identified in the region. Let be the probability of the i-th risk event occurring in the k-th construction area, with a value range of (0, 1). This represents the severity weight of the risk source entity corresponding to the i-th risk event in the k-th construction area. Its value range is (0, 1). Each risk event is approximately independent by default. When there is risk coupling, a coupling correction coefficient is introduced to correct the deviation. When no risk event is identified, the initial risk level is zero by default.

[0021] In an optional embodiment, step S7 specifically includes: S71. Starting from the potential risk event entities in the primary risk area, the evolution proceeds by traversing the reverse of the causal relationships, potential association relationships, and triggering relationships connected to the current node in the safety knowledge graph, until the preset inference depth is reached or there are no associated entities, thus obtaining the sequence of inferred risk consequences entities. S72. Based on the impact range level and preset mapping rules of each risk consequence entity in the deduced risk consequence entity sequence, and combined with the spatial location information in the digital twin model, count the number of construction areas covered by the risk. S73. Based on the level of the number of people affected and the preset mapping rules, and combined with the personnel location data in the standardized multi-source data, calculate the number of construction workers covered by the risk. S74. Calculate the risk transmission impact indicator. The calculation formula is as follows: ; in, This is an indicator of the risk transmission impact of the kth primary risk area. This represents the number of construction areas covered by risk in the k-th primary risk region. This represents the number of construction workers covered by risk in the k-th primary risk area. This represents the maximum number of construction areas covered by risk across all primary risk zones. ε is the maximum number of construction workers covered by risk in all primary risk areas, ε is the preset positive smoothing coefficient, and δ is the influence range weighting coefficient, with a value range of (0, 1). S75. The final risk level of the primary risk area is calculated using the following formula: ; in, The final risk level of the k-th primary risk area. λ represents the initial risk level of the kth primary risk area, and λ is the preset risk propagation amplification coefficient with a value range of (0, 1). If the deduced link hits the security blocking condition, the propagation impact index is set to zero to achieve risk downgrading correction. The security blocking condition is an entity or measure node with risk isolation or elimination function that is pre-marked in the security knowledge graph.

[0022] In an optional embodiment, step S8 specifically includes: S81. Extract spatial information, risk level, risk events, and predicted consequences of the warning area; S82. Highlight the warning area in the digital twin model and display the risk information label; S83. Integrate the risk evolution chain and consequences to generate early warning details text, and combine it with the current final risk level to form structured early warning information; S84. Based on the information of the person in charge of the construction area, the early warning information is pushed to the mobile terminal of the person in charge of the corresponding construction area, and at the same time sent to the management terminal of the safety management department.

[0023] Example 2 Based on the same inventive concept as in Embodiment 1, such as Figure 3 As shown, this embodiment provides a safety early warning system for the construction of gas-fired power plants based on a knowledge-enhanced large model, including: The modeling module corresponds to step S1, which is used to collect basic information on the area, equipment, and personnel at the construction site of the gas-fired power plant and to build a digital twin model of the construction site. The data preprocessing module corresponds to step S2, which is used to collect four types of multi-source sensing data: construction site monitoring video, equipment operation monitoring, environmental monitoring, and personnel positioning. After preprocessing, standardized multi-source data is obtained. The knowledge graph construction module corresponds to step S3, which is used to extract three types of entities—risk sources, risk events, and risk consequences—from the texts of gas-fired power plant construction specifications, accident reports, and operating procedures. It establishes triggering relationships, causal relationships, and potential related relationships, marks the severity weight for risk source entities, and marks the impact scope level, number of people affected, and severity level for risk consequence entities, thereby constructing a knowledge graph for gas-fired power plant construction safety. The model fine-tuning module corresponds to step S4, which is used to construct domain training corpus based on security knowledge graph, fine-tune general large language model, and obtain knowledge-enhanced large model for outputting the probability of occurrence of potential risk events. The initial risk calculation module corresponds to step S5, which is used to input standardized multi-source data into the knowledge-enhanced big data model, identify potential risk events and their probability of occurrence in each construction area, and calculate the initial risk level by combining the severity weights of the risk source entities. The risk area screening module corresponds to step S6, which is used to screen primary risk areas according to the first preset threshold and extract corresponding standardized multi-source data, potential risk events and their probability of occurrence information. The risk simulation and calculation module corresponds to step S7, which is used to start from the potential risk event entities in the primary risk area, and to perform reverse simulations layer by layer along the cause relationship, potential association relationship and trigger relationship to obtain the risk consequence entity sequence, quantify the risk propagation impact index and calculate the final risk level in combination with the initial risk level. The early warning push module corresponds to step S8, which is used to determine the primary risk area with a final risk level not lower than the second preset threshold as the early warning area, visualize and mark the early warning area in the digital twin model, generate and push early warning information to the corresponding terminal, and complete the security early warning.

[0024] The steps for implementing the corresponding functions of each parameter and each unit module in the knowledge-enhanced large model-based gas-fired power plant construction safety early warning system of the present invention can be referred to the parameters and steps in the embodiments of the knowledge-enhanced large model-based gas-fired power plant construction safety early warning method above, and will not be repeated here.

[0025] In practice: First, the basic information of the area, equipment and personnel at the construction site of the gas-fired power plant is collected through the modeling module to build a digital twin model of the construction site. At the same time, the data preprocessing module collects four types of multi-source sensing data: construction site monitoring video, equipment operation monitoring, environmental monitoring and personnel positioning. After preprocessing, standardized multi-source data is obtained.

[0026] Then, through the knowledge graph construction module, three types of entities—risk sources, risk events, and risk consequences—are extracted from the construction specifications, accident reports, and operating procedures of gas-fired power plants. Triggering relationships, causal relationships, and potential association relationships are established. The severity weights of risk source entities are labeled, and the impact scope level, number of people affected, and severity level of consequences are labeled for risk consequence entities, thereby constructing a knowledge graph for the construction safety of gas-fired power plants.

[0027] Next, the model fine-tuning module constructs a domain training corpus based on the security knowledge graph, fine-tunes the general large language model, and obtains a knowledge-enhanced large model for outputting the probability of potential risk events.

[0028] Then, the standardized multi-source data is input into the knowledge-enhanced big data model through the initial risk calculation module to identify potential risk events and their probabilities in each construction area. The initial risk level is calculated by combining the severity weights of the risk source entities. The primary risk areas are obtained by the risk area screening module according to the first preset threshold, and the corresponding standardized multi-source data, potential risk events and their probabilities are extracted.

[0029] Next, the risk simulation and calculation module starts with the potential risk event entities in the primary risk area and deduces layer by layer in reverse along the cause relationship, potential association relationship and trigger relationship to obtain the risk consequence entity sequence. The risk propagation impact index is quantified and combined with the initial risk level to calculate the final risk level.

[0030] Finally, the warning push module identifies the primary risk areas with a final risk level not lower than the second preset threshold as warning areas, visualizes and marks the warning areas in the digital twin model, generates and pushes warning information to the corresponding terminals, and completes the security warning.

[0031] Example 3 Based on the same inventive concept as Embodiment 1, this embodiment provides an electronic device, including: a processor and a memory, wherein the memory stores a computer program that can be called by the processor; The processor executes the aforementioned knowledge-enhanced large model-based safety early warning method for gas-fired power plant construction by calling the computer program stored in the memory.

[0032] It should be noted that all computer programs for the knowledge-enhanced large model-based safety early warning method for gas-fired power plant construction are implemented using the C language.

[0033] Example 4 Based on the same inventive concept as in Embodiment 1, this embodiment proposes a computer-readable storage medium having an erasable and rewritable computer program stored thereon. When the computer program runs on the computer device, it causes the computer device to execute the aforementioned knowledge-enhanced large model-based safety early warning method for gas-fired power plant construction.

[0034] For example, computer-readable storage media can be read-only memory, random access memory, read-only optical disc, magnetic tape, floppy disk, and optical data storage devices.

[0035] The various embodiments in this invention are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on its differences from other embodiments. In particular, the embodiments for IoT devices and media are relatively simple in description because they are fundamentally similar to the method embodiments; relevant parts can be referred to the descriptions in the method embodiments.

[0036] The systems, media, and methods provided in the embodiments of the present invention are in one-to-one correspondence. Therefore, the systems and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the systems and media will not be repeated here.

[0037] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0038] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0039] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0040] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0041] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0042] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0043] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0044] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. The above are merely embodiments of the present invention and are 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 principle of the present invention should be included within the scope of the claims of the present invention.

Claims

1. A safety early warning method for gas-fired power plant construction based on a knowledge-enhanced large-scale model, characterized in that, Includes the following steps: S1. Collect basic information on the area, equipment, and personnel at the construction site of the gas-fired power plant, and build a digital twin model of the construction site; S2. Collect four types of multi-source sensing data: construction site monitoring video, equipment operation monitoring, environmental monitoring, and personnel positioning. After preprocessing, standardized multi-source data is obtained. S3. Extract three types of entities—risk sources, risk events, and risk consequences—from the construction specifications, accident reports, and operating procedures of gas-fired power plants. Establish triggering relationships, causal relationships, and potential related relationships. Label the severity weight of risk source entities and label the impact scope level, number of people affected, and severity level of consequences for risk consequence entities to construct a knowledge graph of construction safety for gas-fired power plants. S4. Construct a domain training corpus based on a security knowledge graph, fine-tune the general large language model, and obtain a knowledge-enhanced large model for outputting the probability of potential risk events. S5. Input standardized multi-source data into the knowledge enhancement model to identify potential risk events and their probability of occurrence in each construction area, and calculate the initial risk level by combining the severity weights of the risk source entities. S6. Filter out primary risk areas based on the first preset threshold, and extract corresponding standardized multi-source data, potential risk events and their probability of occurrence; S7. Starting with the potential risk event entities in the primary risk area, the risk consequences entity sequence is obtained by deducing the reverse relationship of the cause, the potential related relationship and the triggering relationship. The risk propagation impact index is quantified and combined with the initial risk level to calculate the final risk level. S8. Identify the primary risk areas with a final risk level not lower than the second preset threshold as warning areas, visualize and mark the warning areas in the digital twin model, generate and push warning information to the corresponding terminals to complete the security warning.

2. The method for safety early warning of gas-fired power plant construction based on a knowledge-enhanced large model according to claim 1, characterized in that: Step S3 specifically includes: S31. Perform entity recognition on standard texts, accident report texts, and operating procedure texts, and extract risk source entities, risk event entities, and risk consequence entities; S32. Establish the triggering relationship between risk source entities and risk event entities, the causal relationship between risk event entities and risk consequence entities, and the potential association relationship between risk source entities and risk consequence entities. S33. Construct an initial security knowledge graph using three types of entities as nodes and three types of directed relationships as edges; S34. Obtain the severity weight of each risk source entity based on the normalization of historical accident data and bind it to the corresponding node; S35. Configure the impact scope level, number of people affected level, and severity level of consequences for each risk consequence entity, and establish a mapping rule between the level and the actual quantitative value, and store it in the corresponding node.

3. The method for safety early warning of gas-fired power plant construction based on a knowledge-enhanced large model according to claim 2, characterized in that: The model training method in step S4 is as follows: First, the entity relationship triples of the security knowledge graph are converted into natural language training samples with entity attributes to complete sample augmentation; Then, the enhanced domain sample set is used to perform low-rank adaptation fine-tuning on the general large language model, without mixing in the general original training corpus; Finally, the potential risk events and their corresponding confidence levels are output through the Prompt constraint model, and the confidence levels are mapped to the standardized occurrence probability in the range of 0 to 1 through Softmax normalization.

4. The method for safety early warning of gas-fired power plant construction based on a knowledge-enhanced large model according to claim 3, characterized in that: The formula for calculating the initial risk level in step S5 is as follows: ; in, Let be the initial risk level of the k-th construction area, with a value range of (0, 1). The total number of potential risk events identified in the region. Let be the probability of the i-th risk event occurring in the k-th construction area, with a value range of (0, 1). This represents the severity weight of the risk source entity corresponding to the i-th risk event in the k-th construction area. Its value range is (0, 1). Each risk event is approximately independent by default. When there is risk coupling, a coupling correction coefficient is introduced to correct the deviation. When no risk event is identified, the initial risk level is zero by default.

5. The method for safety early warning of gas-fired power plant construction based on a knowledge-enhanced large model according to claim 4, characterized in that: Step S7 specifically includes: S71. Starting from the potential risk event entities in the primary risk area, the evolution proceeds by traversing the reverse of the causal relationships, potential association relationships, and triggering relationships connected to the current node in the safety knowledge graph, until the preset inference depth is reached or there are no associated entities, thus obtaining the sequence of inferred risk consequences entities. S72. Based on the impact range level and preset mapping rules of each risk consequence entity in the deduced risk consequence entity sequence, and combined with the spatial location information in the digital twin model, count the number of construction areas covered by the risk. S73. Based on the level of the number of people affected and the preset mapping rules, and combined with the personnel location data in the standardized multi-source data, calculate the number of construction workers covered by the risk. S74. Calculate the risk transmission impact indicator. The calculation formula is as follows: ; in, This is an indicator of the risk transmission impact of the kth primary risk area. This represents the number of construction areas covered by risk in the k-th primary risk region. This represents the number of construction workers covered by risk in the k-th primary risk area. This represents the maximum number of construction areas covered by risk across all primary risk zones. ε is the maximum number of construction workers covered by risk in all primary risk areas, ε is the preset positive smoothing coefficient, and δ is the influence range weighting coefficient, with a value range of (0, 1). S75. The final risk level of the primary risk area is calculated using the following formula: ; in, The final risk level of the k-th primary risk area. λ represents the initial risk level of the kth primary risk area, and λ is the preset risk propagation amplification coefficient with a value range of (0, 1). If the deduced link hits the security blocking condition, the propagation impact index is set to zero to achieve risk downgrading correction. The security blocking condition is an entity or measure node with risk isolation or elimination function that is pre-marked in the security knowledge graph.

6. The method for safety early warning of gas-fired power plant construction based on a knowledge-enhanced large model according to claim 5, characterized in that: Step S8 specifically includes: S81. Extract spatial information, risk level, risk events, and predicted consequences of the warning area; S82. Highlight the warning area and display risk information labels in the digital twin model; S83. Integrate the risk evolution chain and consequences to generate early warning details text, and combine it with the current final risk level to form structured early warning information; S84. Based on the information of the person in charge of the construction area, the early warning information is pushed to the mobile terminal of the person in charge of the corresponding construction area, and at the same time sent to the management terminal of the safety management department.

7. A gas-fired power plant construction safety early warning system based on a knowledge-enhanced large-scale model, which is implemented based on the gas-fired power plant construction safety early warning method based on a knowledge-enhanced large-scale model as described in any one of claims 1-6, characterized in that, include: The modeling module corresponds to step S1, which is used to collect basic information on the area, equipment, and personnel at the construction site of the gas-fired power plant and to build a digital twin model of the construction site. The data preprocessing module corresponds to step S2, which is used to collect four types of multi-source sensing data: construction site monitoring video, equipment operation monitoring, environmental monitoring, and personnel positioning. After preprocessing, standardized multi-source data is obtained. The knowledge graph construction module corresponds to step S3, which is used to extract three types of entities—risk sources, risk events, and risk consequences—from the texts of gas-fired power plant construction specifications, accident reports, and operating procedures. It establishes triggering relationships, causal relationships, and potential related relationships, marks the severity weight for risk source entities, and marks the impact scope level, number of people affected, and severity level for risk consequence entities, thereby constructing a knowledge graph for gas-fired power plant construction safety. The model fine-tuning module corresponds to step S4, which is used to construct domain training corpus based on security knowledge graph, fine-tune general large language model, and obtain knowledge-enhanced large model for outputting the probability of occurrence of potential risk events. The initial risk calculation module corresponds to step S5, which is used to input standardized multi-source data into the knowledge-enhanced big data model, identify potential risk events and their probability of occurrence in each construction area, and calculate the initial risk level by combining the severity weights of the risk source entities. The risk area screening module corresponds to step S6, which is used to screen primary risk areas according to the first preset threshold and extract corresponding standardized multi-source data, potential risk events and their probability of occurrence information. The risk simulation and calculation module corresponds to step S7, which is used to start from the potential risk event entities in the primary risk area, and to perform reverse simulations layer by layer along the cause relationship, potential association relationship and trigger relationship to obtain the risk consequence entity sequence, quantify the risk propagation impact index and calculate the final risk level in combination with the initial risk level. The early warning push module corresponds to step S8, which is used to determine the primary risk area with a final risk level not lower than the second preset threshold as the early warning area, visualize and mark the early warning area in the digital twin model, generate and push early warning information to the corresponding terminal, and complete the security early warning.

8. An electronic device, comprising: A processor and a memory, wherein the memory stores a computer program that can be called by the processor, characterized in that: the processor executes the knowledge-enhanced large model-based safety early warning method for gas-fired power plant construction as described in any one of claims 1-6 by calling the computer program stored in the memory.

9. A computer-readable storage medium, characterized in that: The system stores instructions that, when executed on a computer, cause the computer to perform the knowledge-enhanced large model-based safety early warning method for gas-fired power plant construction as described in any one of claims 1-6.