Construction site dynamic risk precision intelligent control method and device

By constructing a heterogeneous interactive diagram and a heterogeneous interactive sensing network at the construction site, risk values ​​and hotspot areas are calculated in real time. Combined with the accident knowledge base, control measures are deduced, which solves the problems of lagging risk measurement and response gaps at the construction site and achieves efficient dynamic risk management.

CN123140631APending Publication Date: 2026-11-20GUIZHOU WUJIANG HYDROPOWER DEV
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Risk measurement at construction sites is difficult to reflect instantaneous configurations, and there is a lack of intermediate measures between risks and control measures, resulting in delayed risk identification, insufficient accuracy, and response gaps.

Method used

By collecting multi-source sensing data, physical modeling is performed and a heterogeneous interactive graph of the construction site is constructed. Attention weights are learned using the heterogeneous interactive sensing graph attention network, entity states are aggregated, risk values ​​and hot spots are calculated in real time, and an accident knowledge base is introduced for correlation matching to deduce accident scenarios and severity classifications, and output differentiated control measures.

Benefits of technology

It enables real-time updates of risk metrics, identifies high-risk configurations and intervenes automatically, solving the problems of delayed risk identification and response gaps, and ensuring the differentiation and effectiveness of control measures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140631A_ABST
    Figure CN123140631A_ABST
Patent Text Reader

Abstract

The application discloses a kind of construction site dynamic risk precision intelligent control method and device, and it is related to construction safety management technical field.The method collects multiple-source perception data and entity modeling, and constructs heterogeneous interaction graph according to the interaction edge of carrying interaction type and interaction intensity between entities according to space proximity and work relationship;According to the fixed time slice, update the graph and aggregate pooling by type, get real-time risk value and risk hotspot area;Risk state is matched with accident knowledge base, and accident scene and severity classification are deduced, and reverse search is carried out to obtain control measure combination;Whether to exceed the boundary of safety set by control obstacle function, output hierarchical intervention instruction when exceeding boundary;Generate control scheme and according to the change of risk value before and after rectification, review and cancel items.The application makes risk measurement reflect the instantaneous change of entity interaction configuration, and eliminates the window period of risk exceeding boundary to disposal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of construction safety management technology, and in particular to a dynamic risk precision intelligent control method and device applied to wind power engineering construction and building construction sites. Background Technology

[0002] Wind power construction and building construction sites involve multiple processes simultaneously, including civil engineering, hoisting, installation, hot work, and temporary power supply. Personnel, lifting equipment, hoisting equipment, work surfaces, and weather conditions frequently overlap within the same spatial and temporal area, and the work configuration continuously changes as processes progress, personnel rotate, and weather conditions change. The risks at such sites are not determined by a single object independently, but rather by the relative positions and operational relationships of multiple objects at a specific moment. Therefore, risk measurement needs to be able to be updated dynamically according to the site configuration.

[0003] Currently, risk management at construction sites typically employs two technical approaches. One is a checklist-based static inspection, where the system has a built-in, fixed risk checklist categorized by job type and process. Safety officers check off each item during inspections, and the system weights and sums the risk points based on the number of checked risk points to obtain a risk score. If the score exceeds a preset value, it prompts for enhanced management. The other approach is intelligent monitoring based on video recognition. Cameras are deployed on-site, and target detection models are used to identify visible violations such as not wearing safety helmets, climbing over barriers, and unauthorized entry into hazardous areas. When a violation is detected, an audible and visual alarm is triggered, and photographic evidence is captured.

[0004] In intelligent monitoring technology based on video recognition, the processing unit is a single target in a single frame of image: the target detection model provides the target category and bounding box for each frame, and then judges whether the target is in a violation state according to preset violation judgment rules. If a violation is determined, an alarm event for that type of violation is output and the captured image is recorded. Its logical chain terminates at "a violation category is identified". The alarm event itself does not carry information about the possible consequences of the violation. Subsequent risk assessment, measure determination and on-site handling are all completed manually by safety management personnel after receiving the alarm.

[0005] The aforementioned technical approach suffers from two main technical problems. First, risk measurement struggles to reflect the instantaneous configuration of the site. Since processing units are independent individual risk points or targets, the spatial proximity and cross-operation relationships between personnel, equipment, work surfaces, and the environment are not expressed as objects for calculation. Risk measurement degenerates into a weighted count of independent risk points. The same group of risk points may be assigned the same score under two drastically different configurations: "dispersed operation" and "overlapping human-machine operation." This makes it difficult to distinguish high-risk configurations before an accident occurs, resulting in delayed and inaccurate risk identification. Second, there is a disconnect between control measures and risk status, and a response window exists between risk exceeding the boundary and human intervention. Because there is no intermediate measure of "potential accident consequences" between risk and measures, measures can only be applied uniformly according to the type of violation, making it difficult to differentiate configurations based on the severity of consequences. Furthermore, alarms are merely information outputs; the system does not constrain the risk status within acceptable boundaries. There is a lack of automatic intervention during the time between risk exceeding the boundary and human intervention, and there is a lack of quantitative verification of the effectiveness of rectification, making a complete closed loop difficult. Summary of the Invention

[0006] To address the technical problems in existing technologies, such as risk measurement using independent risk points as processing units, lacking modeling of interactions between entities and thus failing to reflect the instantaneous configuration of the site, as well as the lack of intermediate quantities of accident consequences between risks and control measures, and the response window between risk crossing boundaries and manual handling, this invention provides a method and device for precise intelligent control of dynamic risks at construction sites.

[0007] To address the aforementioned technical problems, this invention provides a method for precise and intelligent dynamic risk control at construction sites, comprising: collecting multi-source sensing data from the construction site and creating a set of entities at the construction site through physical modeling; using the set of entities as a node set, establishing interaction edges carrying interaction types and intensity based on spatial proximity and operational relationships to construct a heterogeneous interaction graph at the construction site; updating the heterogeneous interaction graph at fixed time slices, using a heterogeneous interaction sensing graph attention network to learn attention weights and aggregate adjacent entity states according to node type and interaction type, and obtaining real-time risk values ​​and risk hotspot areas through full graph pooling; associating and matching the current risk state formed by the real-time risk value and the risk hotspot areas with risk state patterns in an accident knowledge base to deduce accident scenarios and severity levels; using the accident scenarios and severity levels to reverse-search a control measure knowledge base to obtain a combination of control measures; determining whether the real-time risk value exceeds the safety set boundary through a control obstacle function, and outputting graded proactive intervention instructions according to the degree of boundary violation when it exceeds the boundary; generating a precise control plan from the combination of control measures and the graded proactive intervention instructions, and reviewing and closing the rectification results based on the changes in the real-time risk value before and after rectification.

[0008] Further, the step of updating the heterogeneous interaction graph of the construction site by fixed-time slices, and using a heterogeneous interaction perception graph attention network to learn attention weights and aggregate adjacent entity states according to node type and interaction type, and obtaining real-time risk values ​​and risk hotspot areas through full graph pooling, includes: mapping the attribute vectors of each node in the heterogeneous interaction graph of the construction site to node state vectors of the same dimension according to node type; mapping the interaction intensity of the interaction edge to edge feature vector according to interaction type; calculating the attention coefficient between adjacent nodes based on the node state vector and the edge feature vector, and normalizing the attention coefficient in the neighborhood of each node to obtain the attention weight; weighted summing of the node state vectors of adjacent nodes according to the attention weight to obtain the interaction aggregation state of each node; pooling the interaction aggregation states of all nodes in the heterogeneous interaction graph of the construction site to obtain the real-time risk value, and determining the area where the node with the modulus of the interaction aggregation state is not less than a first threshold as the risk hotspot area.

[0009] Further, the step of calculating the attention coefficients between adjacent nodes based on the node state vector and the edge feature vector, and normalizing the attention coefficients in the neighborhood of each node to obtain the attention weights, includes: configuring a dedicated linear transformation matrix for each node type; using the linear transformation matrix to transform the node state vector into a type-aligned feature vector; concatenating the type-aligned feature vector of the center node, the type-aligned feature vectors of adjacent nodes, and the edge feature vector to obtain a node pair interaction feature vector; performing an inner product of the node pair interaction feature vector and the attention parameter vector, and then performing nonlinear activation to obtain the attention coefficients of adjacent nodes relative to the center node; performing exponential normalization on the attention coefficients in the neighborhood of the center node to obtain attention weight components; calculating multiple attention weight components using multiple sets of independent attention parameter vectors, and determining the mean of the multiple attention weight components as the attention weight.

[0010] Further, the step of constructing a heterogeneous interaction graph of the construction site by establishing interaction edges carrying interaction type and intensity based on spatial proximity and operational relationships, using the set of entities at the construction site as the node set, includes: calculating the spatial distance between any two entities in the set of entities at the construction site in the same time slice; establishing a spatial proximity interaction edge between two entities whose spatial distance is less than the danger distance threshold; identifying work surface entities and personnel entities operating in parallel within the same spatiotemporal area based on work ticket data; establishing a cross-operation interaction edge between the identified work surface entities and personnel entities; establishing a human-machine cross-interaction interaction edge between equipment entities and personnel entities located within the motion envelope of the equipment entities; determining the interaction intensity of the interaction edge by the weighted sum of the reciprocal of the spatial distance and the relative motion speed between entities; and determining the type identifiers of spatial proximity, cross-operation, and human-machine cross-interaction as the interaction type of the interaction edge, thereby obtaining the heterogeneous interaction graph of the construction site.

[0011] Furthermore, the association matching and reverse retrieval include the four-tuple structured storage of the accident knowledge base, the encoding of the current risk state vector, the calculation of correlation degree and determination of inference results, the mapping of consequence severity, and the retrieval of on-site closed-loop control measures, on-site monitoring measures, and dynamic hidden danger rectification measures from the control measures knowledge base, and the configuration of responsible entities, execution standards, and control frequencies. Furthermore, the method involves determining whether the real-time risk value exceeds the safety set boundary through a control barrier function, and outputting graded proactive intervention instructions according to the degree of boundary violation when it does, including the construction of the control barrier function value, the calculation of the control barrier function value and its rate of change relative to the previous time slice, and the graded output and issuance of level one, level two, and level three proactive intervention instructions. Furthermore, the method also includes enhanced audio risk perception, and iterative updates of the closed-loop review and risk inference model.

[0012] The technical effects of this invention are as follows: By explicitly modeling the spatial proximity and cross-operation relationships between personnel, equipment, work surfaces, and the environment as interaction edges carrying interaction types and intensity, and by updating the heterogeneous interaction graph in fixed time slices, and by aggregating the heterogeneous interaction perception graph attention network after learning attention weights according to type, the processing unit for risk measurement changes from isolated risk points to the interaction configuration between entities. This allows the same group of entities to obtain significantly different risk values ​​under dispersed and overlapping operations, thereby solving the problem that risk measurement is difficult to reflect the instantaneous configuration on site and that high-risk configurations are difficult to distinguish before an accident. At the same time, risk hotspot areas are output to indicate the spatial landing point of high-risk interaction clusters. By introducing an intermediate quantity—accident scenarios and severity classifications supported by an accident knowledge base—between risk and measures, and using this as an index to retrieve control measures from the control measures knowledge base, control measures can be configured differently according to the severity of consequences, carrying the responsible party, implementation standards, and control frequency. Furthermore, by using a control barrier function to constrain the risk state within a safe set, and by directly outputting graded proactive intervention instructions according to the degree of boundary breach when a boundary is breached, the time period between risk breach and human intervention is filled by automatic intervention actions. Moreover, by using the decrease in real-time risk values ​​before and after rectification as the criterion for review and closure, the effectiveness of rectification is quantitatively supported. Thus, the problems of a disconnect between control measures and risk state, the inability to eliminate response gaps, and the lack of quantitative review basis for closed-loop rectification are jointly solved. Attached Figure Description

[0013] Figure 1 A flowchart illustrating the method for precise intelligent control of dynamic risks at construction sites provided in this embodiment of the invention;

[0014] Figure 2 A flowchart illustrating the frame-level risk extrapolation steps provided in this embodiment of the invention;

[0015] Figure 3 A flowchart illustrating the heterogeneous interaction graph construction steps provided in an embodiment of the present invention;

[0016] Figure 4 A flowchart illustrating the steps of risk incident causal reasoning and measure matching provided in an embodiment of the present invention;

[0017] Figure 5 A flowchart illustrating the hierarchical active intervention steps for the control barrier function provided in an embodiment of the present invention;

[0018] Figure 6 A schematic diagram of the module structure of the construction site dynamic risk precision intelligent control device provided in an embodiment of the present invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings. The following embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.

[0020] Example 1

[0021] like Figure 1 As shown, this embodiment provides a method for precise and intelligent control of dynamic risks at construction sites, including:

[0022] S1: Collect multi-source sensing data from the construction site and use it to create a physical model of the construction site entity set.

[0023] The acquisition of multi-source sensing data, alignment according to a unified time base, and entity modeling can be achieved using conventional methods in the field, such as video frame extraction and target recognition, sensor polling, clock synchronization, and attribute aggregation. This invention does not limit these methods. In one embodiment, the construction site entity set includes personnel entities, equipment entities, work surface entities, and environmental entities. Each entity carries an attribute vector consisting of location, job type or working condition, work progress, and meteorological data, along with a corresponding state time series.

[0024] S2: Using the set of entities at the construction site as the node set, establish interaction edges carrying interaction type and interaction intensity according to spatial proximity and operation relationship, and construct a heterogeneous interaction graph of the construction site.

[0025] The mechanism of this step lies in transforming the implicit on-site facts of "who and who are related in what space and in what way" into explicit, computable objects. Specifically, each entity in the entity set becomes a node in the graph, retaining its entity type identifier. Then, interaction edges are laid between nodes according to two types of relationships: one is spatial relationships, i.e., spatial proximity edges laid when the spatial distance between two entities in the same time slice enters a danger zone; the other is operational relationships, including cross-operation edges formed by parallel operations within the same spatiotemporal area, and human-machine cross-edges formed when the equipment's movement envelope covers the personnel's location. Each interaction edge simultaneously carries two attributes: the interaction type, identifying the nature of the relationship, and the interaction strength, characterizing the urgency of the relationship. The interaction strength is calculated using the following formula:

[0026] ...Equation (1)

[0027] In the formula, Represents a node With nodes The interaction strength between the edges, This represents the spatial distance between the corresponding entities of two nodes in the current time slice. Represents the relative velocity of two entities. and represents the weighting coefficients of the distance term and the motion term, respectively. In equation (1), the reciprocal of the distance, rather than the distance itself, is used as the independent variable. Its technical significance is that the interaction intensity increases nonlinearly when entities approach each other, which is consistent with the reality that the on-site hazard increases sharply as the distance decreases.

[0028] The reason for representing the interaction relationships as edges in the graph is that the hazards at a construction site are not determined solely by the individual attributes of the entities: a certified worker and a tower crane in normal working condition may not have attribute vectors indicating anomalies, but when both are within the swing radius of the crane boom at the same time, the interaction configuration they form is a typical high-risk configuration. Because interaction edges provide an independent carrier for this information that "exists only between entities and not within any single entity," and quantify it by the interaction strength, subsequent risk calculations can be carried out at the configuration level rather than the risk point level. This eliminates the shortcomings of existing practices that reduce risk measurement to a weighted average of independent risk point counts, resulting in distributed and overlapping operations receiving the same score.

[0029] The danger distance threshold is configured according to the type of operation: 2 to 3 meters for general work areas and 4 to 5 meters for lifting and hoisting areas. A value that is too small will cause high-risk configurations to be edged only when an accident is imminent, while a value that is too large will introduce a large number of weakly related edges and dilute the resolution of attention weights. Weighting coefficients and The sum is taken as 1, where The values ​​are taken as 0.6 to 0.8 to reflect the dominant role of distance in the hazard.

[0030] In one example, the spatial distance between a person entity and a tower crane entity in the current time slice is 3.2 meters, which is within the 5-meter danger distance threshold of the lifting and hoisting area. Therefore, a spatial proximity interaction edge is established between them. Simultaneously, the person is within the motion envelope of the tower crane, so a human-machine cross-interaction edge is also established. , The relative velocity between the two entities is 0.8 meters per second. Substituting this into equation (1), we obtain the interaction strength of the interaction edge as follows: .

[0031] S3: Update the heterogeneous interaction graph of the construction site according to fixed time slices, and use a heterogeneous interaction perception graph attention network to learn attention weights and aggregate the states of adjacent entities according to node type and interaction type. The real-time risk value and risk hotspot area are obtained through full graph pooling.

[0032] The mechanism of this step can be decomposed into five stages: First, according to node type, the attribute vectors of different entities are mapped to node state vectors with consistent dimensions, so that attributes with different structures such as personnel, equipment, work surfaces, and environment can enter the same computational space; Second, according to interaction type, the interaction strength of interaction edges is mapped to edge feature vectors, so that the nature and urgency of the relationship participate in the calculation simultaneously; Third, the attention coefficient between adjacent nodes is calculated from the node state vector and edge feature vector and normalized in the neighborhood to obtain the attention weight; Fourth, the node state vectors of adjacent nodes are weighted and summed according to the attention weight to obtain the interaction aggregation state of each node; Fifth, the interaction aggregation state of all nodes in the graph is pooled to obtain the real-time risk value, and the risk hotspot area is located by the modulus of the interaction aggregation state. The specific construction of the third stage is shown in Example 3. Interaction aggregation and full graph pooling are performed according to the following formulas:

[0033] ...Equation (2)

[0034] ...Equation (3)

[0035] In the formula, Represents a node The interactive aggregation state, Represents a node The neighborhood of the node is the same as the node There is a set of nodes with interactive edges between them. Represents a node Relative to node Attention weights Represents a node Type-aligned feature vectors, This represents the real-time risk value for the current time slice. This represents the total number of nodes in the graph. Indicates the modulo value. This represents a monotonically increasing mapping function that maps aggregate quantities to the interval between 0 and 1.

[0036] Learning attention weights separately by type is the key difference between this step and conventional graph neural network processing: the proximity between people and equipment, the proximity between people, and the proximity between equipment and the environment are not equivalent in terms of hazard transmission. If they are aggregated indiscriminately with the same set of weights, relationships of different natures will cancel each other out during summation. Because attention weights are learned separately according to node type and interaction type, human-machine interaction relationships at the same spatial distance can obtain a much higher weight share than interpersonal proximity relationships. This allows the real-time risk value obtained by full graph pooling to change significantly with changes in interaction configuration, rather than changing linearly with the number of risk points. Furthermore, because the heterogeneous interaction graph is updated in fixed-time slices, personnel movement, equipment rotation, and weather changes are reflected in the edge set and interaction intensity in the next slice. This enables the risk value to follow the instantaneous evolution of the on-site configuration, solving the problem of lagging risk identification in existing methods.

[0037] The time slice length is set between 0.2 and 1 second: slices that are too long will miss short-term high-risk configurations such as equipment rotation and personnel movement, while slices that are too short will increase the proportion of perceived noise per frame and increase computing power consumption. The first threshold is set at the 80th to 90th percentile of the aggregated state modulus of all nodes in the current time slice, so that the risk hotspot area will adaptively fluctuate with the overall risk level on site, rather than being fixed at a certain absolute value.

[0038] In one example, there are 46 nodes in a certain time slice in the figure below. The interaction aggregation state modulus of the human node connected by the human-machine cross-interaction edge is 0.83, which is above the 90th percentile of the modulus of all nodes. The hoisting operation area where the human node is located is identified as a risk hotspot area. The average modulus of the whole figure is mapped by Equation (3) to obtain the real-time risk value of the current time slice as 0.72.

[0039] S4: Associate and match the current risk status formed by the real-time risk value and the risk hotspot area with the risk status pattern in the accident knowledge base to deduce the accident scenario and severity level. Use the accident scenario and the severity level to reverse search the control measures knowledge base to obtain a combination of control measures.

[0040] This step introduces an intermediate quantity, the accident, between risk and measures. The mechanism is as follows: The accident knowledge base stores past accident cases in a structured format, consisting of four-tuples representing risk status, accident scenario, accident consequences, and severity. The risk status within each four-tuple constitutes a matchable risk status pattern. The real-time risk value, risk hotspot area, and operation type of the current time slice are encoded into a current risk status vector, and its correlation with each risk status pattern in the database is calculated. The accident scenario and consequences corresponding to the highest correlation are taken as the deduction result. Accident consequences are converted into severity levels using a mapping table. Finally, the accident scenario and severity level are used as indexes to retrieve control measures from the knowledge base, obtain the measure combination, and configure the responsible entity, implementation standards, and control frequency. The correlation is calculated using the following formula:

[0041] ...Equation (4)

[0042] In the formula, This represents the current risk state vector and the first [missing information] in the accident knowledge base. The correlation between risk state patterns , , These represent the risk value component, hotspot area distribution component, and job type component of the current risk status vector, respectively. , , They represent the first The corresponding components of each risk state pattern Represents cosine similarity. , , This represents the weighting coefficients of the three components.

[0043] The reason for bypassing accident scenarios and severity to map control measures directly from risk values ​​is that the same risk value requires completely different responses under different accident scenarios: a risk value of 0.72 resulting from cross-operations at heights and a risk value of 0.72 resulting from hot work indicate different consequences—the former being a blow from an object, the latter a fire. The required isolation areas, monitoring positions, and rectification timelines are entirely different. Because the reasoning chain first focuses on the specific accident scenario and severity, and then uses that to inversely index measures, control measures can be configured differently based on consequences rather than a one-size-fits-all approach based on violation categories. Furthermore, since each measure is assigned a responsible party, implementation standards, and control frequency upon retrieval, the solution output goes beyond mere prompts, thus resolving the disconnect between control measures and risk status.

[0044] The sum of the three weighting coefficients is set to 1. Take a value between 0.4 and 0.6. Take a value between 0.2 and 0.4. The value should be between 0.1 and 0.3. If the risk value component weight is too low, the matching will be insensitive to the level of risk, while if the value is too high, cases of different job types will be mismatched.

[0045] In one example, the correlation between the current risk state vector and the "human-machine intersection in lifting area - object strike" mode in the accident knowledge base is 0.86, which is the maximum value in the entire database. The accident scenario corresponding to this mode is object strike during lifting operations, and the accident consequence is personal injury. After transformation by the mapping table, the severity level is classified as level three. Using this accident scenario and severity level as the index, the combination of measures retrieved from the control measures knowledge base includes three items: isolation and protection of the lifting area, two on-site monitoring personnel throughout the process, and a 2-hour time limit for hazard rectification. The operation supervisor and the full-time safety officer are respectively assigned as the responsible entities, and the control frequency is configured to be once every 30 minutes.

[0046] S5: Determine whether the real-time risk value exceeds the safety set boundary by controlling the obstacle function. If it does, output a graded active intervention command according to the degree of boundary violation.

[0047] This step translates the safety requirement of "risk must not exceed the limit" into a constraint that can be automatically evaluated in each time slice. Specifically, a control barrier function value is constructed based on the difference between the acceptable risk upper limit and the current real-time risk value. A non-negative value indicates that the system state is within the safe set, and a value equal to zero indicates the boundary of the safe set. In each time slice, this value and its rate of change relative to the previous time slice are calculated. The degree of exceeding the limit is determined based on the combination of the sign, absolute value, and rate of change of this value. Based on this, a level one, two, or three active intervention command is output and sent to the field execution terminal. The control barrier function value and its rate of change are calculated using the following formula:

[0048] ...Equation (5)

[0049] ...Equation (6)

[0050] In the formula, The real-time risk value is indicated. The control barrier function value at that time, Indicates the upper limit of acceptable risk. Indicates the first The control barrier function value of the first time slice is relative to the first... Rate of change of each time slice and They represent the first The and the first Real-time risk value for each time slice.

[0051] The technical significance of introducing the rate of change lies in enabling intervention to be triggered before the boundary is crossed: when the control barrier function value is still positive but decaying at a relatively rapid rate, it indicates that the system state is approaching the safety set boundary. At this point, a first-level intervention can be output to change the evolution direction without interrupting operations. Since the intervention criterion is directly based on the relationship between the state and the safety set boundary, rather than on the identification of a certain violation category, the time between risk crossing and human intervention is filled by automatic intervention, thereby eliminating the response window formed by waiting for human intervention after an alarm, as is done in the existing practice.

[0052] The acceptable risk ceiling is set at 0.6 to 0.8 based on the project risk level; the first threshold is set at -0.15 to -0.05 per time slice, where a value that is too small will cause frequent triggering of Level 1 interventions and interfere with normal operations, while a value that is too large will result in a loss of foresight; the second threshold is set at 0.1 to 0.2 to distinguish between mild and severe overstepping of boundaries.

[0053] In one example, the acceptable risk upper limit is set to 0.7, the real-time risk value of the current time slice is 0.72, and the control obstacle function value is -0.02 when substituted into equation (5). Its absolute value of 0.02 is less than the second threshold of 0.15, so a second-level active intervention command is output to trigger the suspension of the hoisting operation and require the personnel below to evacuate from the danger zone. The command is sent to the site via the broadcast terminal and the personnel positioning terminal.

[0054] S6: A precise control plan is generated by combining the control measures with the tiered proactive intervention instructions, and the rectification results are reviewed and closed based on the changes in the real-time risk values ​​before and after rectification.

[0055] This step merges the outputs of the two aforementioned links into an executable and traceable solution, using the actual change in risk value as the criterion for terminating the closed loop. In one specific implementation, combinations of control measures, tiered proactive intervention instructions, and their corresponding accident scenarios and severity levels are entered into a preset solution template to generate a precise control solution, which is then pushed to the on-site safety management terminal. After rectification is completed, the system calculates the reduction in risk value by comparing the real-time risk value of the rectification completion time slice with that of the time slice before rectification.

[0056] ...Equation (7)

[0057] In the formula, This indicates the rate of decrease in the real-time risk value. This represents the real-time risk value of the time slice before rectification. This represents the real-time risk value of the time slice after rectification is completed. The review is considered passed and the item is closed when the decrease is not less than the review threshold, which is generally set at 30% to 50%. In other implementations, the review determination can also be achieved by whether the risk hotspots have disappeared before and after rectification, or by the difference between the average risk values ​​of multiple consecutive time slices before and after rectification.

[0058] In one example, after the hoisting area was isolated and personnel were evacuated, the real-time risk value before rectification was 0.72 and after rectification was 0.41. Substituting into formula (7), the decrease was about 43%, which is not less than the review threshold of 35%. The review was deemed passed and the hidden danger was eliminated.

[0059] Example 2

[0060] like Figure 2 As shown, based on Example 1, the heterogeneous interaction graph of the construction site is updated by slicing at fixed times. A heterogeneous interaction perception graph attention network is used to learn attention weights according to node type and interaction type, and aggregate the states of adjacent entities. Real-time risk values ​​and risk hotspot areas are obtained through full graph pooling, including:

[0061] S3.1: Map the attribute vectors of each node in the heterogeneous interaction diagram of the construction site to node state vectors with consistent dimensions according to node type.

[0062] The attribute vectors of personnel entities consist of job type code, location coordinates, and protective equipment status; the attribute vectors of equipment entities consist of equipment type code, operating parameters, position, and attitude; the attribute vectors of work surface entities consist of work type code and progress; and the attribute vectors of environmental entities consist of wind speed, temperature, humidity, and illuminance. The dimensions and units of these four types of attribute vectors are different. This sub-step configures an independent mapping layer for each node type, mapping its respective attribute vectors to a node state vector space of the same dimension. This dimension is generally between 32 and 128: a dimension that is too small is insufficient to accommodate multi-parameter attributes such as equipment operating conditions, while a dimension that is too large can easily lead to overfitting when the number of nodes on site is limited.

[0063] S3.2: Map the interaction intensity of the interaction edge to an edge feature vector according to the interaction type.

[0064] The edge feature vector is obtained by transforming the interaction type and interaction strength through a mapping layer. Therefore, the same interaction strength will result in different orientations of edge feature vectors on human-computer interaction edges and spatial proximity edges. This process makes both the information of "how urgent the relationship is" and "what the nature of the relationship is" visible in the subsequent attention calculation.

[0065] S3.3: Calculate the attention coefficients between adjacent nodes based on the node state vector and the edge feature vector, and normalize the attention coefficients in the neighborhood of each node to obtain the attention weights.

[0066] This sub-step is the core mechanism of frame-level deduction, and its specific structure is shown in Example 3.

[0067] S3.4: The node state vectors of adjacent nodes are weighted and summed according to the attention weights to obtain the interaction aggregation state of each node.

[0068] The weighted summation performed according to equation (2) results in the interaction aggregation state of each node including both the state of the node itself and the state of the entities in its neighborhood according to the weight ratio. For personnel nodes within the swing radius of the crane boom, the component from the tower crane equipment node occupies the majority of its interaction aggregation state, thus the node is numerically "elevated" to a high-risk position, even if the personnel's own attribute vector has no abnormalities.

[0069] S3.5: Pool the interaction aggregation states of all nodes in the heterogeneous interaction graph of the construction site to obtain the real-time risk value, and determine the area where the node with the modulus of the interaction aggregation state is not less than the first threshold as the risk hotspot area.

[0070] Pooling is performed according to formula (3). The determination of risk hotspot areas and real-time risk values ​​share the same set of interactive aggregation states. Therefore, hotspot areas must be the spatial landing points of the nodes that raise the global risk value. The two are numerically consistent and there will be no situation where the risk value increases while the hotspot area points to an irrelevant area. In one example, the 85th quantile of the modulus of the interactive aggregation state of all nodes in a certain time slice is 0.61. The modulus values ​​of the three nodes in the hoisting operation area are 0.83, 0.79 and 0.66, respectively, which are not less than the first threshold. The hoisting operation area where these three nodes are located is output as a risk hotspot area.

[0071] Example 3

[0072] Based on Example 2, attention coefficients between adjacent nodes are calculated based on the node state vector and the edge feature vector, and the attention coefficients are normalized in the neighborhood of each node to obtain the attention weights, including:

[0073] S3.3.1: Configure a dedicated linear transformation matrix for each node type, and use the linear transformation matrix to transform the node state vector into a type-aligned feature vector.

[0074] ...Equation (8)

[0075] In the formula, Represents a node Type-aligned feature vectors, Represents a node The node state vector, Represents a node Node type, Indicates node type The linear transformation matrix is ​​specific to each type. Although the node state vector has been unified in dimension in S3.1, the semantics on the same dimension still vary according to type. The purpose of configuring the type-specific linear transformation matrix is ​​to project the state semantics of each type onto a directly comparable common subspace, thereby making the similarity measurement between cross-type nodes meaningful.

[0076] S3.3.2: Concatenate the type alignment feature vector of the center node, the type alignment feature vector of the adjacent nodes, and the edge feature vector to obtain the node pair interaction feature vector.

[0077] The concatenated node-to-node interaction feature vector carries both the states of the two ends of the relationship and the attributes of the relationship itself. Including the edge feature vector in the concatenation is what distinguishes this sub-step from the conventional approach of calculating attention based solely on node states: if attention is determined only by the states of the two ends of the node, then the same person and device will receive the same weight regardless of whether they are 1 meter or 4 meters apart, and the modulating effect of interaction strength on the weight will not be reflected.

[0078] S3.3.3: Take the inner product of the node pair interaction feature vector and the attention parameter vector, and then perform nonlinear activation to obtain the attention coefficients of the neighboring nodes relative to the center node.

[0079] ...Equation (9)

[0080] In the formula, Represents a node Relative to the central node Attention coefficient Represents the attention parameter vector. This indicates its transpose. Represents a node With nodes The feature vector of the interaction edges between them, symbol This represents vector concatenation. This represents a nonlinear activation function, which in one implementation is a linear rectified function with leakage.

[0081] S3.3.4: Perform exponential normalization on the attention coefficients within the neighborhood of the central node to obtain the attention weight components.

[0082] ...Equation (10)

[0083] In the formula, Indicates by the first The attention weight components calculated from the group attention parameter vector. and They represent the first The nodes calculated from the group attention parameter vector With nodes Relative to the central node Attention coefficient Indicates the central node The neighborhood of the graph is normalized. Instead of normalizing the entire graph, the weight budget of each node is limited to its own neighborhood, thus preventing regions with a large number of nodes from crowding out the weight share due to their numerical advantage.

[0084] S3.3.5: Multiple attention weight components are calculated using multiple sets of independent attention parameter vectors, and the average of the multiple attention weight components is determined as the attention weight.

[0085] ...Equation (11)

[0086] In the formula, Represents a node Relative to node Attention weights This represents the number of sets of independent attention parameter vectors. Multiple sets of attention parameter vectors each focus on different aspects of the interaction relationship, and taking the average can suppress weight distortion caused by the bias of training samples in a single set of parameters. Values ​​of 4 to 8: If the value is too small, distortion suppression will be insufficient; if the value is too large, the gradient obtained from a single set of parameters will be diluted, and training will be difficult to converge.

[0087] In one example, a personnel center node has three neighboring nodes: a tower crane equipment node, an adjacent personnel node, and an environment node. Let's take... The attention weights of the four attention parameter vectors for the tower crane node are 0.71, 0.65, 0.74 and 0.70, respectively. Substituting them into equation (11), we get that the attention weight of the tower crane node relative to the personnel node is 0.70, which is significantly higher than the 0.18 of the adjacent personnel node and the 0.12 of the environment node. Therefore, the interaction aggregation state of the personnel node is mainly determined by the state of the tower crane node.

[0088] Example 4

[0089] like Figure 3As shown, based on Example 1, using the set of entities at the construction site as the node set, interaction edges carrying interaction type and intensity are established according to spatial proximity and operational relationship to construct a heterogeneous interaction graph of the construction site, including:

[0090] S2.1: Calculate the spatial distance between any two entities in the construction site entity set under the same time slice, and establish a spatial proximity interaction edge between two entities whose spatial distance is less than the danger distance threshold.

[0091] Spatial distances are calculated from the position coordinates in the attribute vectors of each entity. Personnel positions are derived from personnel positioning data, equipment positions from coordinates and attitude parameters in equipment operating data, and work surface positions from the boundary of the work surface area. To control computational load, entities can be coarsely screened according to the site grid, and precise distances can be calculated only for entity pairs within the same or adjacent grids.

[0092] S2.2: Identify work surface entities and personnel entities that are operating in parallel within the same spatiotemporal area based on the work ticket data, and establish cross-operation interaction edges between the identified work surface entities and personnel entities.

[0093] The work order data provides the content, area, time period, and personnel for each task. When the areas of two work orders overlap and the time periods intersect, they are considered to be parallel tasks. Cross-task edges are determined by the organizational relationship of the tasks rather than instantaneous spatial location. Therefore, even if two jobs are temporarily far apart in the current time slice, the potential hazards caused by their simultaneous operation in the same area are still preserved in the graph.

[0094] S2.3: Establish a human-machine cross-interaction edge between the equipment entity and the personnel entity located within the motion envelope of the equipment entity.

[0095] The motion envelope range is determined according to the equipment type. For tower cranes, it is the circular area covered by the slewing radius of the boom. For elevators, it is the columnar area along the stroke line. The range is updated in real time according to the boom length, amplitude and slewing angle in the equipment operating parameters.

[0096] S2.4: The interaction strength of the interaction edge is determined by the weighted sum of the reciprocal of the spatial distance and the relative motion speed between entities.

[0097] Calculated according to formula (1). The relative motion velocity is obtained by the position difference between two adjacent time slices. Its value reflects whether the two entities are approaching or moving away from each other. Therefore, the interaction intensity not only describes the current degree of approach but also the approach trend.

[0098] S2.5: The type identifiers of spatial proximity, cross-operation, and human-machine cross-operation are determined as the interaction types of the interaction edges to obtain the heterogeneous interaction diagram of the construction site.

[0099] Multiple edges of different interaction types can exist simultaneously between the same pair of entities. For example, a person and a tower crane can have both a spatial proximity edge and a human-machine intersection edge. In the subsequent attention calculation, the two edges are weighted separately without overlapping each other. The resulting heterogeneous interaction graph of the construction site has four types of nodes and three types of interaction, forming a complete heterogeneous structure.

[0100] Example 5

[0101] like Figure 4 As shown, based on Example 1, the current risk status formed by the real-time risk value and the risk hotspot area is associated and matched with the risk status pattern in the accident knowledge base to deduce the accident scenario and severity level. The accident scenario and severity level are then used to retrieve the control measures knowledge base in reverse order to obtain a combination of control measures, including:

[0102] S4.1: Store accident cases in a structured manner according to a four-tuple consisting of risk status, accident scenario, accident consequences and severity, to form the accident knowledge base. The risk status within each four-tuple in the accident knowledge base constitutes a risk status pattern.

[0103] The four-tuple structure explicitly separates the "pre-accident state" and "post-accident result" of a case: the risk state records the risk level and hotspot distribution at the scene before the accident; the accident scenario records the type and location of the accident; the accident consequences record the form of personnel and property loss; and the severity records the classification of the consequences. The knowledge base content is compiled based on construction safety management systems, safe operating procedures, and past cases, and is continuously updated incrementally according to the mechanism in Example 9.

[0104] S4.2: Encode the real-time risk value, the risk hotspot area, and the operation type into a current risk status vector.

[0105] Among them, the real-time risk value is directly input into the vector in scalar form, the risk hotspot area is encoded as a distribution vector according to the on-site grid, and the operation type is encoded as a unique hot vector according to the preset operation type table. The three are concatenated in sequence to form the current risk status vector.

[0106] S4.3: Calculate the correlation between the current risk state vector and the risk state pattern, and determine the accident scenario and accident consequences corresponding to the risk state pattern with the highest correlation as the deduction result.

[0107] The correlation degree is calculated according to formula (4), and the specific construction of its component splitting and weighting method is shown in Example 6.

[0108] S4.4: Map the accident consequences in the simulation results to the severity level according to the preset consequence severity mapping table.

[0109] The mapping table categorizes the loss outcomes of accidents into three levels: Level 1 corresponds to minor losses that can be handled on-site; Level 2 corresponds to losses requiring the suspension of relevant work areas; and Level 3 corresponds to losses requiring a complete shutdown and the activation of an emergency response. This transformation is achieved using a mapping table rather than a continuous function because the severity classification must strictly align with the indexing criteria of the control measures knowledge base; discrete mapping ensures that the two remain aligned.

[0110] S4.5: Using the accident scenario and severity level as indexes, retrieve on-site closed-loop control measures, on-site monitoring measures, and dynamic hazard rectification measures from the control measures knowledge base, and configure the responsible entity, implementation standard, and control frequency for the retrieved measures to form the control measures combination.

[0111] The three types of measures are complementary in function: the on-site closed-loop management measures specify the spatial scope for work stoppage, rectification, and isolation protection; the on-site monitoring measures specify the monitoring positions and number of personnel; and the dynamic hazard rectification measures specify the rectification items and time limits. The responsible parties are assigned to the work supervisor and full-time safety officer according to the work organization relationship. The implementation standards are taken from the operating procedures corresponding to the accident scenario, and the frequency of control increases progressively according to the severity level.

[0112] Example 6

[0113] Based on Example 5, the correlation between the current risk state vector and the risk state pattern is calculated. The accident scenario and accident consequences corresponding to the risk state pattern with the highest correlation are determined as the deduction result, including:

[0114] S4.3.1: Decompose the current risk status vector into risk value components, hotspot area distribution components, and operation type components.

[0115] The splitting is based on the distinct numerical properties of the three components: the risk value component is a scalar, the hotspot distribution component is a sparse spatial distribution, and the job type component is a one-hot encoded value. If the similarity is calculated directly on the entire vector without splitting, the sparse hotspot distribution component will dominate the similarity result due to its dimensionality dominance.

[0116] S4.3.2: Using the same splitting method as the current risk state vector, split the risk state pattern into a pattern risk value component, a pattern hotspot distribution component, and a pattern operation type component.

[0117] Using the same splitting method ensures that the components on both sides are aligned one by one, avoiding mismatches caused by different encoding orders.

[0118] S4.3.3: Calculate the cosine similarity between the risk value component and the pattern risk value component, between the hotspot area distribution component and the pattern hotspot distribution component, and between the job type component and the pattern job type component to obtain three similarity components.

[0119] Calculating cosine similarity within components instead of Euclidean distance makes matching sensitive to distribution patterns but insensitive to absolute dimensions, thus allowing cases from different scales of field to be matched with each other.

[0120] S4.3.4: The three similarity components are weighted and summed according to three preset weight coefficients to obtain the correlation degree.

[0121] The weighted summation is performed according to formula (4). The combination of component splitting and weighting allows the matching caliber to be adjusted according to the project: for scenarios mainly focused on hidden danger investigation, the weight of the hot spot area distribution component can be increased; for scenarios mainly focused on process risk prediction, the weight of the operation type component can be increased.

[0122] S4.3.5: The accident scenario and accident consequences corresponding to the risk state pattern with the highest correlation are determined as the inference result, and when the maximum value of the correlation is less than the correlation threshold, the current risk state vector and the labeled accident scenario increment are written into the accident knowledge base.

[0123] The correlation threshold is typically set between 0.5 and 0.7. If the maximum correlation value is lower than this threshold, it indicates that the current risk status lacks sufficiently similar precedents in the knowledge base. In this case, the status along with the annotation results is written into the knowledge base, allowing the coverage of the knowledge base to expand as the on-site operational structure changes, so that a successful match can be achieved the next time a similar status appears.

[0124] Example 7

[0125] like Figure 5 As shown, based on Example 1, the real-time risk value is determined by controlling the obstacle function to determine whether it exceeds the safety set boundary. If it does, a graded active intervention command is output according to the degree of boundary violation, including:

[0126] S5.1: The difference between the acceptable risk upper limit and the real-time risk value is determined as the control barrier function value. When the control barrier function value is not less than zero, the real-time risk value is determined to be within the safe set, and the boundary of the safe set is where the control barrier function value is equal to zero.

[0127] Construct according to Equation (5). Construct the control barrier function value in the form of difference, so that the safety set is expressed as a lower closed interval on the risk value coordinate. The boundary position shifts with the configuration of the acceptable risk upper limit, without the need to redesign the criterion.

[0128] S5.2: Calculate the control barrier function value and the rate of change of the control barrier function value relative to the previous time slice in each time slice.

[0129] Calculated according to equations (5) and (6). The introduction of the rate of change makes the criterion include both the state quantity and its evolution direction, so the system can distinguish between states that are rapidly approaching the boundary and states that are stable and remain at the same position.

[0130] S5.3: When the value of the control obstacle function is not less than zero and the rate of change is less than the first threshold, a first-level active intervention command is output. The first-level active intervention command is used to trigger voice warnings and on-site broadcast reminders.

[0131] The state is still within the safe set, but it is approaching the boundary at a rate exceeding the first threshold. Therefore, a prompting intervention without interrupting the operation is adopted to change the evolution direction at the lowest cost.

[0132] S5.4: When the control obstacle function value is less than zero and the absolute value of the control obstacle function value is less than the second threshold, a secondary active intervention command is output. The secondary active intervention command is used to trigger the suspension of work on the relevant work surface and the evacuation of personnel from the danger zone.

[0133] At this point, the situation has deviated from the safety set, but the extent of the deviation is limited. A partial shutdown intervention is adopted, limiting the scope of intervention to the work areas related to the risk hotspots, thus avoiding excessive measures caused by a complete shutdown.

[0134] S5.5: When the control barrier function value is less than zero and the absolute value of the control barrier function value is not less than the second threshold, a three-level active intervention command is output. The three-level active intervention command is used to trigger a full-face shutdown and emergency response activation.

[0135] At this point, the state depth has exceeded the limit, and the margin for accident evolution is insufficient to support local handling. Therefore, a global shutdown intervention is adopted.

[0136] S5.6: The output active intervention command is sent to the field execution terminal, which includes a broadcast terminal, an alarm terminal and a personnel positioning terminal. The first-level active intervention command, the second-level active intervention command and the third-level active intervention command are collectively referred to as the graded active intervention command.

[0137] Commands are directly issued from the simulation engine to the on-site execution terminal without manual forwarding, thus compressing the time delay from risk exceeding the limit to the intervention taking effect to the order of a time slice. In other implementations, intervention triggering can also be achieved through model predictive control or threshold-triggered linkage, with the control barrier function being the preferred implementation due to its guarantee of safety set invariance.

[0138] Example 8

[0139] Based on Example 7, the method further includes:

[0140] Step A: Acoustic signals from the work site are acquired using audio acquisition terminals deployed at the work site.

[0141] Audio acquisition terminals are deployed in key locations such as lifting areas and structural installation work surfaces, with sampling rates ranging from 16 kHz to 48 kHz.

[0142] Step B: Extract time-frequency features from the on-site acoustic signals, match the time-frequency features with preset abnormal sound templates, and identify audio abnormal events, including abnormal noise events from lifting equipment, structural collision events, and personnel calling for help events.

[0143] The time-frequency characteristics can be obtained from Mel frequency cepstral coefficients or log-Mel spectrum, and the abnormal sound template is obtained by training from previous recording samples. The three types of events are clearly distinguishable in terms of time-frequency morphology: abnormal noises from lifting equipment are manifested as a continuous rise in low-frequency energy, structural collisions are manifested as transient impacts in a wide frequency band, and cries for help are manifested as high-intensity harmonics in the fundamental frequency band of speech.

[0144] Step C: Map the audio risk increment according to the type of the audio anomaly event.

[0145] Step D: The audio risk increment is superimposed on the real-time risk value to obtain the corrected risk value.

[0146] ...Equation (12)

[0147] In the formula, This indicates a revised risk value. This represents the real-time risk value for the current time slice. Indicates the first Risk increment coefficient for audio-like abnormal events Indicates the first The indicator variable for audio-related abnormal events is set to 1 if the event is detected in the current time slice, and 0 otherwise. The risk increment coefficient is highest for personnel calling for help events, typically ranging from 0.25 to 0.35; for structural collision events, it is 0.15 to 0.25; and for abnormal noises from lifting equipment, it is 0.10 to 0.20.

[0148] Step E: Replace the real-time risk value with the corrected risk value in the calculation of the control barrier function value.

[0149] The reason for superimposing audio anomalies into the risk status rather than setting up a separate alarm is that a separate alarm still requires manual judgment to determine whether it constitutes a reason for work stoppage. However, after being superimposed into the risk status, the acoustic anomalies can be automatically converted into corresponding levels of intervention actions through the existing criteria of the control barrier function. Since video and positioning data reflect the geometric relationship of the configuration, while sudden events such as structural collisions and abnormal equipment noises often do not yet show geometric relationships, the acoustic channel becomes an independent source of evidence outside the geometric channel, thereby further shortening the time delay from the occurrence of anomalies to the triggering of intervention. In one example, an abnormal noise event of lifting equipment is identified, and its risk increment coefficient is taken as 0.15. The current real-time risk value of 0.60 is corrected to 0.75 by formula (12), which exceeds the acceptable risk limit of 0.7. The control barrier function value turns negative, and then the secondary active intervention command is triggered.

[0150] Example 9

[0151] Based on Example 1, a precise control plan is generated by combining the control measures with the tiered proactive intervention instructions, and the rectification results are reviewed and closed based on the changes in real-time risk values ​​before and after rectification, including:

[0152] S6.1: Fill the combination of control measures, the graded proactive intervention instructions, the accident scenario and the severity grade into the preset scheme template to generate a precise control scheme that carries the responsible party, execution standards and control frequency, and push the precise control scheme to the on-site safety management terminal.

[0153] The fields in the solution template include job type, risk level, accident scenario prediction, control measures, responsible party, implementation standards, control frequency and intervention records, which are pushed to on-site safety management personnel and job supervisors via a visual dashboard.

[0154] S6.2: Record the execution process data and hidden danger rectification data of the aforementioned precise control plan.

[0155] The records include the time of implementation of the measures, the person implementing them and the implementation status, as well as the time of discovery of the hidden dangers, the content of rectification and the time of completion of rectification. These records are archived together with the perceived data, the inferred data, the reasoning results and the intervention records, so that the entire risk management process is traceable.

[0156] S6.3: Calculate the decrease in the real-time risk value of the time slice after the rectification of hidden dangers is completed, relative to the real-time risk value of the time slice before rectification.

[0157] Calculate according to formula (7). Use the risk value under the same set of extrapolation criteria to make the difference, so that the evaluation of the rectification effect and the risk assessment use the same metric, and avoid replacing the effect indicator with process indicators such as the completion rate of rectification items.

[0158] S6.4: When the decrease is not less than the review threshold, the review is deemed passed and the corresponding hidden danger is eliminated; when the decrease is less than the review threshold or the rectification time limit is exceeded, an instruction to upgrade the hidden danger for supervision is output.

[0159] Since the elimination of a risk item is conditional on an actual decrease in the risk value, if the rectification only completes the formal actions without changing the on-site configuration, the risk value will not decrease, and the hidden danger will not be eliminated. This gives the closed-loop rectification a quantifiable termination condition.

[0160] The method further includes:

[0161] Step F: Calculate the degree of overlap between the risk hotspot areas and the areas where potential hazards actually occur.

[0162] The degree of agreement is calculated by comparing the intersection of the risk hotspots output from the projection with the areas where actual hidden dangers or accidents have occurred, and the statistics are compiled on a weekly or monthly basis.

[0163] Step G: When the degree of agreement is less than the accuracy threshold, the attention weights of the heterogeneous interactive perception graph attention network are retrained using the labeled hazard rectification data.

[0164] The accuracy threshold is typically set between 70% and 80%. The objects being retrained are limited to the attention weight parameters, and the graph construction rules and risk value calculation methods remain unchanged to ensure the comparability of risk values ​​before and after iteration.

[0165] Step H: Increment the number of newly added accident cases into the accident knowledge base.

[0166] New cases are written according to the S4.1 four-tuple structure, and after review, they are released in a gray-scale release along with the model, so that the system can continuously adapt to changes in the on-site operation structure.

[0167] Example 10

[0168] like Figure 6 As shown, this embodiment provides a dynamic risk precision intelligent control device for construction sites, including:

[0169] The perception modeling module is used to collect multi-source perception data from the construction site and obtain a set of entities at the construction site through physical modeling.

[0170] The interaction graph construction module is used to construct a heterogeneous interaction graph of the construction site by using the set of entities at the construction site as a node set and establishing interaction edges carrying interaction type and interaction intensity according to spatial proximity and operation relationship.

[0171] The frame-level inference module is used to update the heterogeneous interaction graph of the construction site in fixed time slices. It adopts a heterogeneous interaction perception graph attention network to learn attention weights according to node type and interaction type, aggregates the states of adjacent entities, and obtains real-time risk values ​​and risk hotspot areas through full graph pooling.

[0172] The causal reasoning and policy implementation module is used to associate and match the current risk status formed by the real-time risk value and the risk hotspot area with the risk status pattern in the accident knowledge base, and deduce the accident scenario and severity level. The accident scenario and the severity level are used to reverse search the control measures knowledge base to obtain a combination of control measures.

[0173] The active intervention module is used to determine whether the real-time risk value exceeds the safety set boundary by controlling the obstacle function, and output graded active intervention instructions according to the degree of boundary violation when it exceeds the boundary.

[0174] The closed-loop management module is used to generate a precise management plan from the combination of the management measures and the hierarchical proactive intervention instructions, and to review and close out the rectification results based on the changes in the real-time risk values ​​before and after the rectification.

[0175] The modules described above are interconnected via data flow: the output of the perception modeling module serves as the input to the interaction graph construction module, the output of the interaction graph construction module serves as the input to the frame-level inference module, and the output of the frame-level inference module is sent to the causal reasoning and policy implementation module and the proactive intervention module, respectively. The outputs of both modules converge into the closed-loop control module. In terms of deployment, the frame-level inference module can be deployed on an edge server to reduce latency, while the causal reasoning and policy implementation module and the accident knowledge base can be deployed in the cloud to support multi-site sharing. These two modules constitute an edge-cloud collaborative deployment. This invention does not limit the specific deployment configuration.

[0176] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for precise and intelligent control of dynamic risks at construction sites, characterized in that, include: Collect multi-source sensing data from the construction site and use physical modeling to obtain a set of entities at the construction site. Using the set of entities at the construction site as the node set, interactive edges carrying interaction type and intensity are established according to spatial proximity and operational relationship to construct a heterogeneous interaction graph of the construction site; The heterogeneous interaction graph of the construction site is updated by slices at fixed time intervals. The heterogeneous interaction perception graph attention network is used to learn attention weights and aggregate the states of adjacent entities according to node type and interaction type. Real-time risk values ​​and risk hotspot areas are obtained by full graph pooling. The current risk status, which is composed of the real-time risk value and the risk hotspot area, is associated and matched with the risk status pattern in the accident knowledge base to deduce the accident scenario and severity level. The accident scenario and the severity level are then used to retrieve the control measures knowledge base in reverse to obtain the control measures combination. The real-time risk value is determined by controlling the obstacle function to determine whether it exceeds the safety set boundary. If it does, a graded active intervention command is output according to the degree of boundary violation. A precise control plan is generated by combining the control measures with the tiered proactive intervention instructions, and the rectification results are reviewed and closed based on the changes in real-time risk values ​​before and after rectification.

2. The method according to claim 1, characterized in that, The construction site heterogeneous interaction graph is updated by slicing at fixed time intervals. A heterogeneous interaction perception graph attention network is used to learn attention weights based on node type and interaction type, and aggregates the states of adjacent entities. Real-time risk values ​​and risk hotspot areas are obtained through full graph pooling, including: The attribute vectors of each node in the heterogeneous interaction diagram of the construction site are mapped to node state vectors with consistent dimensions according to node type. The interaction intensity of the interaction edge is mapped to an edge feature vector according to the interaction type; The attention coefficients between adjacent nodes are calculated based on the node state vector and the edge feature vector, and the attention coefficients are normalized in the neighborhood of each node to obtain the attention weights. The interaction aggregation state of each node is obtained by weighting and summing the node state vectors of adjacent nodes according to the attention weights. Pooling is performed on the interaction aggregation states of all nodes in the heterogeneous interaction graph of the construction site to obtain the real-time risk value, and the area where the modulus of the interaction aggregation state is not less than the first threshold is determined as the risk hotspot area.

3. The method according to claim 2, characterized in that, The step of calculating the attention coefficients between adjacent nodes based on the node state vector and the edge feature vector, and normalizing the attention coefficients in the neighborhood of each node to obtain the attention weights, includes: Configure a dedicated linear transformation matrix for each node type, and use the linear transformation matrix to transform the node state vector into a type-aligned feature vector; The type-aligned feature vector of the center node, the type-aligned feature vector of the adjacent nodes, and the edge feature vector are concatenated to obtain the node pair interaction feature vector. The attention coefficients of neighboring nodes relative to the center node are obtained by taking the inner product of the node-to-node interaction feature vector and the attention parameter vector, and then performing nonlinear activation. The attention coefficients are exponentially normalized within the neighborhood of the central node to obtain the attention weight components. Multiple attention weight components are calculated using multiple sets of independent attention parameter vectors, and the average of these multiple attention weight components is determined as the attention weight.

4. The method according to claim 1, characterized in that, The process involves using the set of entities at the construction site as a node set, establishing interaction edges carrying interaction types and intensity based on spatial proximity and operational relationships, and constructing a heterogeneous interaction graph of the construction site, including: Calculate the spatial distance between any two entities in the construction site entity set under the same time slice, and establish a spatial proximity interaction edge between two entities whose spatial distance is less than the danger distance threshold; Based on the work ticket data, identify the work surface entities and personnel entities that are working in parallel within the same time and space area, and establish cross-operation interaction edges between the identified work surface entities and personnel entities. Establish a human-machine cross-interaction edge between the equipment entity and the human entity located within the motion envelope of the equipment entity; The interaction strength of the interaction edge is determined by the weighted sum of the reciprocal of the spatial distance and the relative motion speed between entities. The spatial proximity type, cross-operation type, and human-machine cross-type type are identified as the interaction type of the interaction edge to obtain the heterogeneous interaction diagram of the construction site.

5. The method according to claim 1, characterized in that, The process involves associating and matching the real-time risk value with the current risk status formed by the risk hotspot area and the risk status pattern in the accident knowledge base to deduce the accident scenario and severity level. Then, using the accident scenario and severity level, a reverse search is performed on the control measures knowledge base to obtain a combination of control measures, including: Accident cases are stored in a structured manner according to four-tuples consisting of risk status, accident scenario, accident consequences and severity, forming the accident knowledge base. The risk status within each four-tuple in the accident knowledge base constitutes a risk status pattern. The real-time risk value, the risk hotspot area, and the operation type are encoded into a current risk status vector; Calculate the correlation between the current risk state vector and the risk state pattern, and determine the accident scenario and accident consequences corresponding to the risk state pattern with the highest correlation as the inference result; The accident consequences in the simulation results are mapped to the severity levels according to the preset consequence severity mapping table; Using the accident scenario and severity level as indexes, on-site closed-loop control measures, on-site monitoring measures, and dynamic hazard rectification measures are retrieved from the control measures knowledge base. The responsible parties, implementation standards, and control frequencies are then assigned to the retrieved measures to form the control measures combination.

6. The method according to claim 5, characterized in that, The calculation of the correlation between the current risk state vector and the risk state pattern, and the determination of the accident scenario and accident consequences corresponding to the risk state pattern with the highest correlation as the deduction result, includes: The current risk status vector is split into risk value components, hotspot area distribution components, and operation type components; Using the same splitting method as the current risk status vector, the risk status pattern is split into a pattern risk value component, a pattern hotspot distribution component, and a pattern operation type component. The cosine similarity between the risk value component and the pattern risk value component, between the hotspot area distribution component and the pattern hotspot distribution component, and between the job type component and the pattern job type component are calculated respectively to obtain three similarity components; The correlation degree is obtained by weighting and summing the three similarity components according to three preset weight coefficients. The accident scenario and accident consequences corresponding to the risk state pattern with the highest correlation are determined as the inference result. When the maximum value of the correlation is less than the correlation threshold, the current risk state vector and the labeled accident scenario increment are written into the accident knowledge base.

7. The method according to claim 1, characterized in that, The step of determining whether the real-time risk value exceeds the safety set boundary through a control barrier function, and outputting graded active intervention instructions according to the degree of boundary violation when it does, includes: The difference between the acceptable risk upper limit and the real-time risk value is determined as the control barrier function value. When the control barrier function value is not less than zero, the real-time risk value is determined to be within the safe set. The boundary of the safe set is where the control barrier function value is equal to zero. The control barrier function value and the rate of change of the control barrier function value relative to the previous time slice are calculated in each time slice. When the control barrier function value is not less than zero and the rate of change is less than a first threshold, a first-level active intervention command is output. The first-level active intervention command is used to trigger voice warnings and on-site broadcast reminders. When the control obstacle function value is less than zero and the absolute value of the control obstacle function value is less than the second threshold, a secondary active intervention command is output. The secondary active intervention command is used to trigger the suspension of work on the relevant work surface and the evacuation of personnel from the danger zone. When the control barrier function value is less than zero and the absolute value of the control barrier function value is not less than the second threshold, a level three active intervention command is output. The level three active intervention command is used to trigger a full-face shutdown and emergency response activation. The output active intervention command is sent to the on-site execution terminal, which includes a broadcast terminal, an alarm terminal and a personnel positioning terminal. The first-level active intervention command, the second-level active intervention command and the third-level active intervention command are collectively referred to as the graded active intervention command.

8. The method according to claim 7, characterized in that, The method further includes: Acoustic signals from the work site are collected by audio acquisition terminals deployed at the work site. The time-frequency features of the on-site acoustic signals are extracted and matched with the preset abnormal sound templates to identify audio abnormal events, including abnormal noise events of lifting equipment, structural collision events and personnel calling for help events. The audio risk increment is obtained by mapping the types of the aforementioned audio anomalies. The audio risk increment is added to the real-time risk value to obtain the corrected risk value; The corrected risk value is used instead of the real-time risk value in the calculation of the control barrier function value.

9. The method according to claim 1, characterized in that, The process of generating a precise control plan by combining the aforementioned control measures with the tiered proactive intervention instructions, and reviewing and closing out the rectification results based on the real-time risk value changes before and after rectification, includes: The control measures combination, the graded proactive intervention instructions, the accident scenarios and the severity grades are filled into a preset scheme template to generate a precise control scheme that carries the responsible party, execution standards and control frequency, and the precise control scheme is pushed to the on-site safety management terminal. Record the execution process data and hazard rectification data of the aforementioned precise control plan; Calculate the decrease in real-time risk value of the time slice after the hazard rectification is completed compared to the real-time risk value of the time slice before rectification; When the decrease is not less than the review threshold, the review is deemed passed and the corresponding hidden danger is eliminated. When the decrease is less than the review threshold or the rectification time limit is exceeded, a hidden danger escalation supervision instruction is output. The method further includes: The degree of overlap between the risk hotspots and the areas where potential hazards actually occur is statistically analyzed. When the degree of agreement is less than the accuracy threshold, the attention weights of the heterogeneous interactive perception graph attention network are retrained using the labeled hazard rectification data. The newly added accident cases will be incrementally written into the accident knowledge base.

10. A dynamic risk precision intelligent control device for construction sites, characterized in that, include: The perception modeling module is used to collect multi-source perception data from the construction site and obtain a set of entities at the construction site through physical modeling. The interaction graph construction module is used to construct a heterogeneous interaction graph of the construction site by using the set of entities at the construction site as a node set and establishing interaction edges carrying interaction type and interaction intensity according to spatial proximity and operation relationship. The frame-level inference module is used to update the heterogeneous interaction graph of the construction site in fixed time slices. It adopts a heterogeneous interaction perception graph attention network to learn attention weights according to node type and interaction type, aggregates the states of adjacent entities, and obtains real-time risk values ​​and risk hotspot areas through full graph pooling. The causal reasoning and policy implementation module is used to associate and match the current risk status formed by the real-time risk value and the risk hotspot area with the risk status pattern in the accident knowledge base, and deduce the accident scenario and severity level. The accident scenario and the severity level are used to reverse search the control measures knowledge base to obtain a combination of control measures. The active intervention module is used to determine whether the real-time risk value exceeds the safety set boundary by controlling the obstacle function, and output graded active intervention instructions according to the degree of boundary violation when it exceeds the boundary. The closed-loop management module is used to generate a precise management plan from the combination of the management measures and the hierarchical proactive intervention instructions, and to review and close out the rectification results based on the changes in the real-time risk values ​​before and after the rectification.