A method, system, device and medium for warning of illegal boundary crossing behavior of operation personnel

By performing temporal feature modeling and gating temporal reasoning on the historical location data of workers, and combining it with the spatial model of dangerous areas to determine spatiotemporal correlation, the problem of early warning lag in existing technologies has been solved, and the early prediction and graded early warning of the future movement trends of workers have been realized.

CN123182376APending Publication Date: 2026-11-27GUIZHOU POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing method of monitoring workers crossing boundaries only compares the current location with a static threshold, without performing time-series modeling of the personnel's historical movement trajectory. This makes it impossible to predict the future movement trend of personnel, resulting in early warnings lagging behind actual boundary crossing behavior.

Method used

By performing time-series feature modeling on the historical location data of workers, gating time-series reasoning is carried out to obtain future movement trend characteristics. Combined with the spatial model of dangerous areas, spatiotemporal correlation is determined, and graded early warning levels are obtained by combining speed change trends. Real-time location observation is used for timeliness verification and linkage suppression processing.

Benefits of technology

It enables advance prediction of the future movement trends of workers, and can identify and classify risks before workers reach dangerous areas, overcoming the problem in existing technologies where the early warning response lags behind the actual occurrence of boundary crossing behavior.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182376A_ABST
    Figure CN123182376A_ABST
Patent Text Reader

Abstract

The application discloses a kind of job personnel violation error border-crossing behavior early warning method, system, equipment and medium, belong to job site safety technical field, comprising the following steps: the historical position data of job personnel is handled with time sequence characteristic modeling, obtain the motion state time sequence characteristic of the job personnel;Gating time sequence reasoning is carried out to motion state time sequence characteristic, obtain the future motion trend characteristic of the job personnel;Future motion trend characteristic is determined with the spatiotemporal correlation of preset dangerous area space model, and the speed change tendency in future motion trend characteristic is combined, obtain grading early warning level;According to real-time observation position, the timeliness of the future motion trend characteristic is checked, and the grading early warning level is inhibited by updating result Linkage processing.The application advances the time window of safety intervention, overcomes the problem that early warning response lags behind the actual occurrence of border-crossing behavior in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of workplace safety technology, specifically to a method, system, equipment, and medium for early warning of workers' violations and boundary crossings. Background Technology

[0002] In on-site safety and error prevention systems, existing methods for monitoring personnel crossing boundaries typically rely solely on static comparisons between the personnel's current location data and pre-defined hazardous area boundaries or safe distance thresholds. Alarms are only triggered when the personnel's current location is detected to have crossed the boundary or approached the threshold. This is a near-real-time detection method that responds to boundary crossings that have already occurred or are about to occur. It does not perform time-series modeling of the movement patterns in the personnel's historical trajectory, and therefore cannot make advance judgments on the personnel's subsequent movement trends before they actually reach the boundary.

[0003] For example, in scenarios where workers rapidly approach live equipment, existing static comparison methods will not generate any alarm response before the workers cross the preset boundary or reach the preset threshold. The system will only output a warning signal when the workers' real-time location actually crosses the boundary or exceeds the threshold. By this time, the workers have often already entered the danger zone or have already committed an actual violation. The warning timing is significantly delayed compared to the actual occurrence of the risk, making it difficult to allow sufficient response time for on-site safety intervention. Summary of the Invention

[0004] In view of the above-mentioned problems, the present invention provides a method, system, device and medium for early warning of workers' violations and boundary crossings.

[0005] Therefore, the technical problem solved by this invention is that the existing methods for monitoring workers crossing boundaries only compare the current location with a static threshold, without performing time-series modeling of the historical movement trajectory of the workers, and thus cannot predict the future movement trend of the workers, resulting in early warnings lagging behind actual boundary crossing behavior. How can we provide a method that can predict the future movement trend of workers in advance and provide early warnings of boundary crossing risks based on this prediction?

[0006] To address the aforementioned technical problems, this invention provides the following technical solution: a method for early warning of worker violations and boundary crossings, comprising the following steps: performing temporal feature modeling on the historical location data of the worker to obtain the temporal features of the worker's motion state; performing gated temporal inference on the temporal features of the motion state to obtain the future motion trend features of the worker; performing spatiotemporal correlation determination between the future motion trend features and a preset hazardous area spatial model, and combining the speed change trend in the future motion trend features to obtain a graded early warning level; performing timeliness verification on the future motion trend features based on real-time observation location, and based on the verification result, re-obtaining the graded early warning level based on the updated temporal features of the motion state or the real-time observation location, and then comparing the re-obtained graded early warning level with the current graded early warning level for linkage suppression processing.

[0007] As a preferred embodiment of the method for early warning of worker violations and boundary crossings as described in this invention, the step of performing the temporal feature modeling process includes: performing kinematic feature fusion on the historical location data to obtain the worker's single-moment motion state; performing temporal stability correction on the single-moment motion state to obtain the corrected motion state; and organizing the corrected motion state into a sequence according to a sliding time window to obtain the temporal features of the motion state.

[0008] As a preferred embodiment of the method for early warning of operator violations and boundary crossings as described in this invention, the step of performing the gated temporal reasoning includes: updating the gated memory of the motion state temporal features to obtain the internal memory state; and mapping the hidden state according to the internal memory state to obtain the hidden state representation.

[0009] As a preferred embodiment of the method for early warning of operator violations and boundary crossings as described in this invention, the step of obtaining the future movement trend features includes: extracting the final time-end comprehensive features from the hidden state representation to obtain comprehensive movement features; and performing multi-step joint mapping based on the comprehensive movement features to obtain the future movement trend features.

[0010] As a preferred embodiment of the method for early warning of worker violations and boundary crossings as described in this invention, the step of performing the spatiotemporal correlation determination includes: constructing a safety buffer zone with a preset buffer distance outside the dangerous area spatial model; determining whether each predicted position falls into the dangerous area spatial model or the safety buffer zone; if any predicted position falls into the dangerous area spatial model, it is determined to be boundary crossing; otherwise, if any predicted position falls into the safety buffer zone, it is determined to be approaching boundary crossing; otherwise, it is determined to be safe boundary crossing; comparing the predicted speed at each predicted time, if the speed at multiple consecutive predicted times exceeds a preset threshold, it is determined to be a continuous high-speed situation; otherwise, if the speed at multiple consecutive predicted times increases sequentially, it is determined to be an increasing situation; otherwise, it is determined to be a stable situation; no warning is output for safe boundary crossing; approaching boundary crossing and stable situation is a level one warning, approaching boundary crossing and increasing situation is a level two warning, and approaching boundary crossing and continuous high-speed situation is a level three warning.

[0011] As a preferred embodiment of the method for early warning of operator violations and boundary crossings as described in this invention, the step of performing the timeliness verification includes: correlating the future movement trend features with the corresponding real-time observation positions to obtain the magnitude of the predicted deviation; determining the confidence level of the future movement trend features based on the magnitude of the predicted deviation, and using the confidence level as the verification result.

[0012] As a preferred embodiment of the method for early warning of operator violations and boundary crossings according to the present invention, the step of performing the sliding update includes: when the confidence level reaches a preset condition, incorporating the real-time observation location into the temporal features of the motion state and removing the earliest time data; when the confidence level does not reach the preset condition, reducing the weight of the future motion trend features in the determination of the graded warning level, and re-determining the graded warning level based on the real-time observation location according to spatiotemporal correlation judgment and velocity situation analysis, and using the re-determined graded warning level as the updated graded warning level; the step of performing the linkage suppression processing includes: comparing the updated graded warning level with the current graded warning level, increasing the level step by step when the level increases, deactivating the level step by step when the level decreases and continues for more than a preset duration, and suppressing repeated warning output when the level remains unchanged.

[0013] This invention provides an early warning system for preventing workers from violating regulations and crossing boundaries.

[0014] To solve the above-mentioned technical problems, the present invention provides the following technical solution: an early warning system for preventing workers from violating regulations and crossing boundaries, comprising: a temporal feature modeling module, a gating temporal reasoning module, a spatiotemporal correlation hierarchical early warning module, and a closed-loop update linkage suppression module; The temporal feature modeling module is used to acquire the historical location data of the workers, perform temporal feature modeling processing on the historical location data, and output the temporal features of the workers' motion state. The gated temporal reasoning module is used to receive the temporal features of the motion state and perform gated temporal reasoning to output the future motion trend features of the worker. The spatiotemporal correlation hierarchical early warning module is used to receive the future motion trend features, perform spatiotemporal correlation determination between the future motion trend features and the dangerous area spatial model, and output the hierarchical early warning level based on the speed change trend in the future motion trend features. The closed-loop update linkage suppression module is used to collect the real-time observation position of the operator, perform timeliness verification on the future movement trend characteristics based on the real-time observation position, perform sliding update on the movement state time sequence characteristics according to the verification result, and perform linkage suppression processing on the graded early warning level based on the update result.

[0015] The present invention provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the aforementioned method for early warning of operator violations and boundary crossings.

[0016] The present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the steps of the aforementioned method for early warning of operator violations and boundary crossings.

[0017] The beneficial effects of this invention are as follows: By performing time-series feature modeling on the historical location data of workers to obtain the time-series features of their motion state, and by performing gating time-series inference on the time-series features of their motion state to obtain the future motion trend features, the system can deduce the motion trend in the future period of time based on the time-series change patterns in the historical motion trajectory of workers before workers reach the dangerous area spatial model or touch the safety buffer space. This expands the basis for determining boundary crossing risk from the static position of the personnel at the current moment to the advance prediction of the future motion trend of the workers.

[0018] Furthermore, the system will make a spatiotemporal correlation judgment between the future movement trend characteristics and the spatial model of the dangerous area, and combine the speed change trend in the future movement trend characteristics to obtain a graded warning level. This enables the system to complete risk identification and graded warning before personnel are outside the safe buffer space and before the actual violation of the boundary has occurred, thus advancing the time window for safety intervention and overcoming the problem that the warning response lags behind the actual occurrence of the boundary violation in the existing technology. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 The above is a flowchart of an early warning method for preventing workers from violating regulations and crossing boundaries, provided as an embodiment of the present invention.

[0021] Figure 2 The flowchart illustrates the time-series feature modeling process of an early warning method for preventing workers from violating regulations and crossing boundaries, as provided in one embodiment of the present invention.

[0022] Figure 3 The flowchart illustrates the early warning information output of an early warning method for preventing workers from violating regulations and crossing boundaries, as provided in one embodiment of the present invention. Detailed Implementation

[0023] To make the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.

[0024] Example 1, referring to Figure 1 This is one embodiment of the present invention, which provides a method for early warning of workers' violations and boundary crossings, including the following steps: The historical location data of the workers are processed by time-series feature modeling to obtain the time-series features of the workers' motion state. Gated temporal reasoning is performed on the temporal features of the motion state to obtain the future motion trend features of the worker; The future motion trend characteristics are spatiotemporally correlated with the preset dangerous area spatial model, and the speed change trend in the future motion trend characteristics is combined to obtain the graded early warning level. The timeliness of the future motion trend characteristics is verified based on the real-time observation location. Based on the verification result, the graded warning level is re-obtained based on the updated motion state time sequence characteristics or the real-time observation location. The re-obtained graded warning level is then compared with the current graded warning level for linkage suppression processing.

[0025] Existing methods for monitoring workers crossing boundaries only compare the current location with a static threshold, without performing time-series modeling of the workers' historical movement trajectories. This makes it impossible to predict the future movement trends of workers, resulting in early warnings lagging behind actual boundary crossing behavior. How can we provide a method that can predict the future movement trends of workers in advance and provide early warnings of boundary crossing risks based on this prediction?

[0026] By performing temporal feature modeling on the historical location data of workers to obtain the temporal features of their motion state, and then performing gated temporal inference on these motion state temporal features to obtain the future motion trend features, the system can deduce the motion trend in the future period based on the temporal change patterns in the workers' historical motion trajectories before the workers reach the dangerous area spatial model or touch the safety buffer space. This expands the basis for determining boundary crossing risk from the static position of the personnel at the current moment to the advance prediction of the workers' future motion trends.

[0027] Furthermore, the system will make a spatiotemporal correlation judgment between the future movement trend characteristics and the spatial model of the dangerous area, and combine the speed change trend in the future movement trend characteristics to obtain a graded warning level. This enables the system to complete risk identification and graded warning before personnel are outside the safe buffer space and before the actual violation of the boundary has occurred, thus advancing the time window for safety intervention and overcoming the problem that the warning response lags behind the actual occurrence of the boundary violation in the existing technology.

[0028] Example 2, refer to Figures 1-3 As an embodiment of the present invention, based on the previous embodiment, a method for early warning of workers' violations and boundary crossing behaviors is provided, including the following steps: S1. Perform time-series feature modeling on the historical location data of the workers to obtain the time-series features of the workers' motion state.

[0029] Specifically, refer to Figure 2 As shown, the steps for performing the time-series feature modeling process include S1.1 to S1.3: S1.1 Perform kinematic feature fusion on the historical location data to obtain the single-moment motion state of the operator.

[0030] Among them, historical location data is a set of spatial coordinates of workers in a two-dimensional coordinate system at the work site, collected by the on-site positioning system according to a fixed sampling period; Kinematic feature fusion refers to calculating the instantaneous velocity and direction angle of movement at the current moment based on the difference in position coordinates between two adjacent sampling times and the sampling period. Then, the information of the three dimensions of spatial position coordinates, instantaneous velocity, and direction angle of movement are combined and spliced ​​to form a multi-dimensional vector that can completely represent the motion state of the person at that moment. This vector is the motion state at a single moment.

[0031] For example, at a 10 kV substation work site, the personnel positioning system collects location data with a fixed sampling period of 1 second. The system collected data showing that the horizontal coordinate of a certain worker was 18.2 meters and the vertical coordinate was 10.5 meters at the 5th second, and the horizontal coordinate was 17.8 meters and the vertical coordinate was 10.2 meters at the 4th second. By calculating the Euclidean distance between the two points and dividing it by the sampling period, the instantaneous movement speed at the 5th second is approximately 0.5 m / s. The motion direction angle is approximately 36.9 degrees by calculating the arctangent of the difference between the horizontal and vertical coordinates. Finally, by combining the position coordinates, movement speed, and motion direction angle, the single-moment movement state of the worker at the 5th second is obtained as [18.2, 10.5, 0.5, 36.9].

[0032] S1.2. Perform temporal stability correction on the single-moment motion state to obtain the corrected motion state.

[0033] Temporal stability correction refers to the process of detecting outliers in the velocity characteristics of single-moment motion states at multiple consecutive time points based on statistical distribution rules. This process identifies abnormal velocity data caused by factors such as signal obstruction, positioning reflection, and communication delay. Then, a temporal neighborhood smoothing method is used to replace the abnormal data with the mean of the motion state at the time points before and after the abnormal point. This process eliminates noise interference while ensuring the continuity of the trajectory. The corrected motion state is the corrected motion state.

[0034] For example, the velocity data of a worker at 12 consecutive sampling times are statistically analyzed. The first quartile of the velocity sequence is calculated to be 0.35 m / s, the third quartile is 0.65 m / s, and the corresponding interquartile range is 0.3 m / s. The anomaly detection coefficient is set to 1.5, thus determining the normal upper limit of velocity to be 1.1 m / s. If a sudden change in instantaneous velocity to 2.3 m / s is detected at the 8th second, which significantly exceeds the normal upper limit, the single-move state at that moment is determined to be an anomaly. Subsequently, the average of the single-move states at the 7th and 9th seconds is used to replace the abnormal data at the 8th second, resulting in the corrected motion state at the 8th second, effectively eliminating data interference caused by positioning jumps.

[0035] S1.3. Organize the modified motion state into a sequence according to the sliding time window to obtain the temporal characteristics of the motion state.

[0036] A sliding time window refers to a historical time window of a fixed length that is pre-set, with the latest sampling time as the end point of the window, and continuously extracts the corrected motion state within the window range, arranging them in chronological order to form a time sequence of fixed length. As the sampling time progresses, the time window slides forward moment by moment. Each sampling time can generate a time sequence corresponding to the latest motion situation, which is the motion state time sequence feature.

[0037] Specifically, the sliding time window is pre-set to have a length of 10 sampling moments. When the positioning system acquires the corrected motion state at the 20th second, it extracts 10 consecutive corrected motion states from the 11th to the 20th second, arranges them in chronological order, and forms a time sequence with a dimension of 10×4. This sequence is the motion state time sequence feature corresponding to the 20th second. When the system acquires the corrected motion state at the 21st second, the sliding time window moves forward one moment and extracts the corrected motion states from the 12th to the 21st second to generate the motion state time sequence feature corresponding to the 21st second.

[0038] S2. Perform gated temporal reasoning on the temporal features of the motion state to obtain the future motion trend features of the worker.

[0039] The steps for performing the gated timing inference include S2.1 to S2.2: S2.1. Gated memory update is performed on the temporal features of the motion state to obtain the internal memory state.

[0040] Gated memory update refers to reading each set of modified motion states in the temporal characteristics of motion state time step by time, filtering and retaining the effective content in the historical motion information through the forget gate, determining the information that needs to be written into memory for the current motion state through the input gate, and then superimposing and updating the state of the internally stored memory units. After processing the entire temporal sequence time step by time, the final result is the internal memory state that accumulates all historical motion information and can reflect the long-term motion pattern of the person.

[0041] For example, motion state temporal features of length 10 are sequentially input into the gated temporal calculation unit. When processing the corrected motion state at the first moment, the forget gate retains all the basic position information in the initial memory, while the input gate writes the current velocity and direction information into the memory unit to generate the first version of the internal memory state. As subsequent moment data are input sequentially, the forget gate gradually filters out invalid motion information such as early unrepresentative pauses and adjustments in place, while the input gate continuously writes valid motion change information such as the person's turning, acceleration, and path adjustment. After processing the motion state at the 10th moment, the final internal memory state that integrates the motion patterns of all 10 moments is obtained.

[0042] S2.2. Map the hidden state according to the internal memory state to obtain the hidden state representation.

[0043] Hidden state mapping refers to the process of filtering out effective feature information that is highly correlated with the prediction of movement trends based on the updated internal memory state through the output gate. The high-dimensional internal memory state is transformed into a feature vector that can be directly used for subsequent prediction calculations. This feature vector is the hidden state representation, which condenses the overall pattern of the historical movement of the workers and the recent trend of change.

[0044] Specifically, after the gating memory update of all 10 motion states is completed, the output gate filters out the core feature information such as the overall walking direction, recent speed changes, and turning patterns of the personnel from the internal memory state, and maps it to generate a 256-dimensional hidden state representation. This hidden state representation contains both the overall trend information of the workers continuously moving towards the high-voltage equipment area and the detailed change information of the gradually increasing movement speed in the last 3 seconds, which can comprehensively represent the movement status of the personnel.

[0045] Specifically, the steps for obtaining the future movement trend characteristics include A1~A2: A1. Perform final-time comprehensive feature extraction on the hidden state representation to obtain comprehensive motion features.

[0046] Among them, the final time-time comprehensive feature extraction refers to taking the hidden state representation output at the last time after the gated time-series computing unit has processed the entire time-series and using it as the core feature carrier, performing feature aggregation and dimensional compression on it, and extracting low-dimensional comprehensive features that can comprehensively represent the overall situation of personnel movement, which serve as the unified input for subsequent multi-step prediction. This feature is the comprehensive motion feature.

[0047] In this embodiment, for the 256-dimensional hidden state representation of the last time step corresponding to the time sequence of the first 10 time steps, information compression and integration are performed through a feature aggregation layer to transform the high-dimensional hidden state into a 64-dimensional comprehensive motion feature. This comprehensive motion feature integrates the historical motion trajectory pattern of the person, the current real-time motion state, and the short-term change trend, and can be directly used as input to deduce the future motion state.

[0048] A2. Perform multi-step joint mapping based on the comprehensive motion characteristics to obtain the future motion trend characteristics.

[0049] Multi-step joint mapping refers to using comprehensive motion features as a unified input, and calculating the motion state prediction results for multiple consecutive sampling times in the future through a preset multi-step prediction output layer. The results of all prediction times are combined in chronological order to form a complete prediction sequence, which is the future motion trend feature, including the predicted position coordinates, predicted movement speed and predicted movement direction at each future time.

[0050] The prediction steps are preset to 5 sampling times. The 64-dimensional comprehensive motion features are input into the multi-step joint mapping layer to calculate the predicted motion state values ​​from the 1st to the 5th second in the future. The predicted value at each time point includes four dimensions: horizontal coordinate, vertical coordinate, movement speed, and movement direction angle. These 5 sets of predicted motion states arranged in chronological order together constitute the future motion trend characteristics of the worker.

[0051] In another optional implementation, the hidden state mapping step can also be implemented using a time-by-time recursive mapping method. Specifically, the motion state at the next moment is first predicted based on the hidden state representation at the last moment. Then, the predicted motion state is used as a new input and fed back to the gated timing calculation unit to update the internal memory state and the hidden state representation, thereby predicting the motion state at the next moment after that. The results of all predicted moments are generated sequentially through a recursive approach, ultimately forming the future motion trend feature. For example, if the prediction step count is set to 5, the motion state at the 21st moment is first predicted based on the hidden state representation at the 20th moment. Then, the predicted motion state at the 21st moment is used as input to update the hidden state representation, and the motion state at the 22nd moment is predicted. This process continues, generating all prediction results from the 21st moment to the 25th moment, ultimately forming the future motion trend feature.

[0052] S3. The future motion trend characteristics are spatiotemporally correlated with the preset dangerous area spatial model, and the speed change trend in the future motion trend characteristics is combined to obtain the graded early warning level.

[0053] The steps for determining the spatiotemporal correlation include S3.1 to S3.4: S3.1 Construct a safety buffer zone with a preset buffer distance outside the spatial model of the dangerous area.

[0054] The hazardous area spatial model is a closed space range pre-defined based on risk sources such as live equipment, high-risk work surfaces, and restricted areas at the work site. It is usually stored in the system in the form of two-dimensional polygon coordinates and is used to define the boundaries of violations that are absolutely prohibited from entering. The safety buffer zone is a ring-shaped area formed by extending a preset buffer distance outward from the outer boundary of the hazardous area. Its function is to identify the approaching risks in advance before personnel actually enter the hazardous area and reserve a time window for safety intervention.

[0055] At the 10 kV substation work site, the area around the No. 1 main transformer was designated as a hazardous area spatial model. The corresponding rectangular enclosed area had coordinates ranging from 10 to 14 meters on the horizontal axis and 5 to 8 meters on the vertical axis. A safety buffer distance of 1 meter was pre-set. After extending outward by 1 meter along the four boundaries of the rectangular area, the resulting safety buffer area had coordinates ranging from 9 to 15 meters on the horizontal axis and 4 to 9 meters on the vertical axis, completely enclosing the outside of the hazardous area spatial model.

[0056] S3.2 Determine whether each predicted location falls within the dangerous area spatial model or the safe buffer zone, and obtain the boundary assignment, approach assignment, or safe assignment results.

[0057] The predicted location is taken from the spatial coordinates corresponding to each predicted moment in the future movement trend characteristics. The system determines the spatial inclusion relationship of the coordinates at each predicted moment one by one: if the coordinate point falls inside the dangerous area spatial model, it is determined to be out of bounds; if the coordinate point falls inside the safe buffer area but does not enter the dangerous area spatial model, it is determined to be close to the dangerous area; if the coordinate point is neither in the dangerous area nor in the safe buffer area, it is determined to be safe.

[0058] For example, following the aforementioned prediction scenario, the future movement trend features include location information for five consecutive prediction times. The predicted position in the first second is (16.2, 7.2) meters, which is outside the safe buffer zone and is determined to be a safe location. The predicted position in the third second is (14.5, 7.1) meters, which falls within the buffer range of 9 to 15 meters on the horizontal coordinate and is determined to be a location approaching the boundary. The predicted position in the fifth second is (13.2, 7.0) meters, which falls within the range of 10 to 14 meters on the horizontal coordinate of the danger zone spatial model and is determined to be a location crossing the boundary.

[0059] S3.3. Compare the prediction speeds at each prediction time. If the speed exceeds the preset threshold for multiple consecutive prediction times, it is considered a continuous high-speed trend. If the speed increases sequentially, it is considered an increasing trend. The rest are considered stable trends.

[0060] The predicted speed is taken from the speed dimension data corresponding to each predicted moment in the future motion trend characteristics. The system performs trend analysis on the speed values ​​of all predicted moments in chronological order: if the speed of at least 3 consecutive predicted moments exceeds the preset speed threshold, it is defined as a continuous high-speed state; if the speed values ​​of all predicted moments increase sequentially in chronological order, it is defined as an increasing state; speed fluctuations that do not meet either the continuous high-speed or continuous increasing conditions are classified as a stable state.

[0061] For example, if a speed threshold of 1.2 m / s is preset, and in a set of future motion trend characteristics, the speeds at five predicted moments are 0.6 m / s, 0.7 m / s, 0.9 m / s, 1.1 m / s, and 1.3 m / s respectively, with the values ​​continuously increasing over time, it is determined to be an increasing trend; if the speeds at five predicted moments are 1.3 m / s, 1.4 m / s, 1.35 m / s, 1.42 m / s, and 1.38 m / s respectively, with all five moments exceeding the 1.2 m / s threshold, it is determined to be a sustained high-speed trend; if the speeds at five predicted moments fluctuate slightly between 0.5 m / s and 0.7 m / s, without a sustained upward trend or exceeding the threshold, it is determined to be a stable trend.

[0062] S3.4. A level 1 warning is issued when a situation is approaching and stable, a level 2 warning is issued when a situation is approaching and increasing, and a level 3 warning is issued when a situation is crossing the boundary or approaching and continuing at high speed.

[0063] By combining and matching spatial attribution results with velocity situation results, corresponding graded early warning levels are output, with different levels corresponding to different intensities of early warning intervention measures. For example, when the predicted trajectory only enters the safety buffer zone and does not touch the boundary of the danger zone, and the predicted speed remains stable at around 0.6 m / s, it is judged as a Level 1 warning, and the system outputs a low-intensity alert sound and light signal to only remind on-site monitoring personnel to pay attention to personnel movements; when the predicted trajectory enters the safety buffer zone, and the predicted speed continuously increases from 0.6 m / s to 1.1 m / s, showing an increasing trend, it is judged as a Level 2 warning, triggering the vibration reminder of the wearable device worn by the operator, and sending a text warning message to the on-site monitoring personnel; when there is a location point in the predicted trajectory that falls into the spatial model of the danger zone, it is directly judged as a Level 3 warning, immediately triggering the high-intensity sound and light alarm on site, and triggering the operation lockout control of the corresponding area; if the predicted trajectory does not enter the danger zone, but the speed in the buffer zone exceeds the threshold of 1.2 m / s for three consecutive moments, which is a continuous high-speed situation, it is also judged as a Level 3 warning, and emergency intervention measures are taken to prevent personnel from rapidly approaching the risk area.

[0064] S4. Based on the real-time observation location, the timeliness of the future motion trend characteristics is verified, and based on the verification result, the graded warning level is re-obtained based on the updated motion state time sequence characteristics or the real-time observation location. Then, the re-obtained graded warning level is compared with the current graded warning level for linkage suppression processing.

[0065] Among them, reference Figure 3 As shown, the steps for performing the timeliness verification include S4.1~S4.2: S4.1. Correlate the future motion trend features with the corresponding real-time observation positions to obtain the magnitude of the prediction deviation.

[0066] Among them, the real-time observation position is the actual spatial coordinates of the worker recently collected by the positioning system. The deviation correlation refers to extracting the predicted position corresponding to the current observation time from the future movement trend characteristics, calculating the spatial Euclidean distance between the predicted position and the real-time observation position, and the distance value is the magnitude of the prediction deviation, which is used to quantify the degree of consistency between the prediction result and the actual movement state.

[0067] The system generates a set of future motion trend features at the 20th second, with the predicted position for the 21st second being (18.7, 10.7) meters. When the system collects the real-time observation position for the 21st second as (18.6, 10.8) meters, the spatial distance between the two points is calculated to be approximately 0.14 meters. This value is the magnitude of the prediction deviation corresponding to the 21st second.

[0068] S4.2 Determine the confidence level of the future motion trend feature based on the magnitude of the prediction deviation, and use the confidence level as the verification result.

[0069] A pre-set error tolerance threshold indicates that the smaller the prediction deviation, the higher the degree of agreement between the prediction result and the actual situation, and the higher the confidence level. If the prediction deviation exceeds the threshold, it indicates that the prediction deviation is large and the confidence level is low.

[0070] In this embodiment, the preset error tolerance threshold is 0.5 meters. The aforementioned prediction deviation of 0.14 meters is much smaller than this threshold. Therefore, the confidence level of the future motion trend features is determined to be high, and the verification result is valid. If the prediction deviation obtained in a certain calculation is 0.8 meters, which exceeds the error tolerance threshold of 0.5 meters, the confidence level of the future motion trend features is determined to be low, and the verification result is invalid.

[0071] In another optional implementation, timeliness verification can also be achieved using a cumulative deviation verification method over multiple consecutive time points. Specifically, the system does not rely on the prediction deviation at a single moment to determine the confidence level. Instead, it takes the prediction deviation values ​​of three or more consecutive observation times, calculates the average deviation or cumulative deviation as the overall prediction deviation magnitude, and then evaluates the confidence level accordingly. This avoids misjudgment of verification results caused by single positioning jitter. For example, the system continuously collects real-time observation positions at three times: 21, 22, and 23. The deviation values ​​for the corresponding three prediction times are calculated to be 0.12 meters, 0.15 meters, and 0.13 meters, respectively. The average of the three, 0.13 meters, is taken as the cumulative prediction deviation magnitude. This value is lower than the error tolerance threshold of 0.5 meters, and the confidence level is considered high. Only when the average deviation over multiple consecutive time points exceeds the threshold is the confidence level considered insufficient, further improving the anti-interference capability of timeliness verification.

[0072] Specifically, the steps for performing the sliding update include S4.3~S4.4: S4.3 When the confidence level reaches the preset condition, the real-time observation position is incorporated into the motion state time sequence feature and the earliest time data is removed.

[0073] When the confidence level meets the preset valid conditions, it indicates that the prediction result is reliable. The system adopts the sliding time window update logic, processes the latest real-time observation data into the corrected motion state and adds it to the end of the time series, while removing the data of the earliest moment in the series, keeping the time window length unchanged, and forming a new motion state time series feature for the next round of prediction.

[0074] For example, the original motion state time sequence features include 10 corrected motion states from the 11th to the 20th second. After the real-time observation data of the 21st second is verified and the confidence level reaches the preset condition, the system adds the corrected motion state corresponding to the 21st second to the end of the sequence, and removes the earliest data of the 11th second in the sequence, and finally forms a new motion state time sequence feature from the 12th to the 21st second.

[0075] S4.4 When the confidence level does not meet the preset conditions, the weight of the future motion trend feature in the determination of the graded warning level is reduced, and the graded warning level is re-determined based on the real-time observation position according to the spatiotemporal correlation judgment and velocity situation analysis. The re-determined graded warning level is used as the updated graded warning level.

[0076] When the confidence level does not meet the preset conditions, it indicates that the prediction result deviates significantly from the actual behavior. The system does not directly use the prediction result to trigger an early warning, but instead reduces its influence in the early warning judgment and increases the judgment weight of real-time location detection, prioritizing the use of real observation data as the basis for early warning, thus avoiding false alarms caused by biased prediction.

[0077] When the prediction deviation exceeds the error tolerance threshold for an extended period and the confidence level fails to meet the preset conditions, the system adjusts the judgment weight of the graded warning. The judgment weight of future movement trend characteristics is reduced from 0.7 to 0.3, while the weight of real-time location detection is increased to 0.7. The real-time location data of personnel is given priority as the core judgment basis for boundary crossing warning, thereby reducing the risk of false alarms caused by deviation prediction.

[0078] The steps for performing the linkage suppression process include: comparing the updated graded warning level with the current graded warning level; increasing the warning level step by step when the level increases; deactivating the warning level step by step when the level decreases and continues for more than a preset time; and suppressing repeated warning outputs when the level remains unchanged.

[0079] The current system-level warning is Level 1. After a new round of forecast updates, the warning level will be reassessed as Level 2. Due to the increased level, the system will immediately raise the warning level step by step, triggering the vibration alert and monitoring reminder corresponding to Level 2. If the risk is determined to fall back to Level 1 after a new round of forecast updates, the system will not immediately lift the Level 2 warning. Instead, it will continue to monitor subsequent forecast results. Only after the Level 1 warning status is maintained for 5 consecutive sampling times, exceeding the preset stable duration, will the system gradually lift the warning to Level 1. If the warning level remains unchanged at Level 2 after multiple rounds of forecast updates, the system will suppress repeated warning outputs, maintain the existing warning status, and not repeatedly send alarm information to avoid frequent interference to on-site personnel.

[0080] Example 3 is an embodiment of the present invention. This embodiment provides an early warning system for preventing workers from violating regulations and crossing boundaries, including a temporal feature modeling module, a gating temporal reasoning module, a spatiotemporal correlation hierarchical early warning module, and a closed-loop update linkage suppression module. The temporal feature modeling module is used to acquire the historical location data of the workers, perform temporal feature modeling processing on the historical location data, and output the temporal features of the workers' motion state. The gated temporal reasoning module is used to receive the temporal features of the motion state and perform gated temporal reasoning to output the future motion trend features of the worker. The spatiotemporal correlation hierarchical early warning module is used to receive the future motion trend features, perform spatiotemporal correlation determination between the future motion trend features and the dangerous area spatial model, and output the hierarchical early warning level based on the speed change trend in the future motion trend features. The closed-loop update linkage suppression module is used to collect the real-time observation position of the operator, perform timeliness verification on the future movement trend characteristics based on the real-time observation position, perform sliding update on the movement state time sequence characteristics according to the verification result, and perform linkage suppression processing on the graded early warning level based on the update result.

[0081] This embodiment also provides a computer device applicable to a method for early warning of operator violations and boundary crossings, comprising: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the method for early warning of operator violations and boundary crossings as proposed in the above embodiment.

[0082] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, it implements a method for early warning of operator violations and boundary crossings as proposed in the above embodiments.

[0083] The storage medium proposed in this embodiment belongs to the same inventive concept as the method for implementing an early warning system for preventing workers from violating regulations and crossing boundaries proposed in the above embodiments. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0084] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0085] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A method for early warning of workers' violations of regulations and boundary crossings, characterized in that, Includes the following steps: The historical location data of the workers are processed by time-series feature modeling to obtain the time-series features of the workers' motion state. Gated temporal reasoning is performed on the temporal features of the motion state to obtain the future motion trend features of the worker; The future motion trend characteristics are spatiotemporally correlated with the preset dangerous area spatial model, and the speed change trend in the future motion trend characteristics is combined to obtain the graded early warning level. The timeliness of the future motion trend characteristics is verified based on the real-time observation location. Based on the verification result, the graded warning level is re-obtained based on the updated motion state time sequence characteristics or the real-time observation location. The re-obtained graded warning level is then compared with the current graded warning level for linkage suppression processing.

2. The method for early warning of worker violations and boundary crossings as described in claim 1, characterized in that, The steps for performing the time-series feature modeling process include: The kinematic features of the historical location data are fused to obtain the single-moment motion state of the worker; The temporal stability of the single-moment motion state is corrected to obtain the corrected motion state. The modified motion states are organized sequentially according to a sliding time window to obtain the temporal characteristics of the motion states.

3. The method for early warning of worker violations and boundary crossings as described in claim 2, characterized in that, The steps for performing the gated temporal inference include: The temporal features of the motion state are updated using gated memory to obtain the internal memory state; The hidden state representation is obtained by mapping the hidden state based on the internal memory state.

4. The method for early warning of worker violations and boundary crossings as described in claim 3, characterized in that, The steps to obtain the future motion trend characteristics include: The hidden state representation is subjected to final-time comprehensive feature extraction to obtain comprehensive motion features; The future motion trend features are obtained by performing multi-step joint mapping based on the comprehensive motion features.

5. The method for early warning of worker violations and boundary crossings as described in claim 4, characterized in that, The steps for performing the spatiotemporal correlation determination include: A safety buffer zone with a preset buffer distance is constructed outside the spatial model of the hazardous area. Determine whether each predicted location falls within the danger zone spatial model or the safety buffer zone; if any predicted location falls within the danger zone spatial model, it is determined to be out of bounds; otherwise, if any predicted location falls within the safety buffer zone, it is determined to be close to the boundary; otherwise, it is determined to be safe. Compare the predicted speeds at each prediction time. If the speed exceeds a preset threshold for multiple consecutive prediction times, it is determined to be a continuous high-speed trend; otherwise, if the speed increases sequentially for multiple consecutive prediction times, it is determined to be an increasing trend; otherwise, it is determined to be a stable trend. Security attribution does not generate warnings; A level 1 warning is issued when a situation is approaching and stabilizing; a level 2 warning is issued when a situation is approaching and increasing; and a level 3 warning is issued when a situation is crossing boundaries or approaching and continuing at high speed.

6. The method for early warning of worker violations and boundary crossings as described in claim 5, characterized in that, The steps for performing the timeliness verification include: The future motion trend features are correlated with the corresponding real-time observation positions to obtain the magnitude of the prediction deviation. The confidence level of the future motion trend feature is determined based on the magnitude of the prediction deviation, and the confidence level is used as the verification result.

7. The method for early warning of worker violations and boundary crossings as described in claim 6, characterized in that, The steps for performing the sliding update include: When the confidence level reaches the preset condition, the real-time observation position is processed into a corrected motion state, incorporated into the motion state time sequence features, and the earliest time data is removed. When the confidence level does not meet the preset conditions, the weight of the future motion trend features in the determination of the graded warning level is reduced, and the graded warning level is re-determined based on the real-time observation location and the temporal features of the motion state according to the spatiotemporal correlation judgment and velocity situation analysis. The re-determined graded warning level is used as the updated graded warning level. The steps for performing the linkage suppression process include: comparing the updated graded warning level with the current graded warning level; increasing the warning level step by step when the level increases; deregulating the warning level step by step when the level decreases and continues for more than a preset duration; and suppressing repeated warning outputs when the level remains unchanged.

8. A worker violation prevention and boundary crossing early warning system, employing the worker violation prevention and boundary crossing early warning method as described in any one of claims 1-7, characterized in that, include: The module includes a temporal feature modeling module, a gated temporal reasoning module, a spatiotemporal correlation hierarchical early warning module, and a closed-loop update linkage suppression module. The temporal feature modeling module is used to acquire the historical location data of the workers, perform temporal feature modeling processing on the historical location data, and output the temporal features of the workers' motion state. The gated temporal reasoning module is used to receive the temporal features of the motion state and perform gated temporal reasoning to output the future motion trend features of the worker. The spatiotemporal correlation hierarchical early warning module is used to receive the future motion trend features, perform spatiotemporal correlation determination between the future motion trend features and the dangerous area spatial model, and output the hierarchical early warning level based on the speed change trend in the future motion trend features. The closed-loop update linkage suppression module is used to collect the real-time observation position of the operator, perform timeliness verification on the future movement trend characteristics based on the real-time observation position, perform sliding update on the movement state time sequence characteristics according to the verification result, and perform linkage suppression processing on the graded early warning level based on the update result.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method for early warning of worker violations and boundary crossings as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for early warning of worker violations and boundary crossings as described in any one of claims 1 to 7.