Cross-system security event correlation analysis method based on feature fusion

By generating normalized event sequences and event clusters with a unified timeline in cross-system security, and combining people density and event similarity, the problem of data fragmentation in cross-system security events is solved, enabling correlation analysis and refined control of events from multiple systems, and adapting to the intelligent needs of complex security scenarios.

CN122863448BActive Publication Date: 2026-11-24HUBEI ZHONGKE NETWORK ENG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611303607.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-24
Estimated Expiration
2046-08-26

AI Technical Summary

Technical Problem

Existing security systems suffer from fragmented event data in cross-system analysis, making it impossible to effectively connect events from the same source and lacking cross-system event linkage analysis. This results in insufficient correlation and integrity in the overall event analysis, failing to meet the refined management and control needs of comprehensive security.

Method used

By identifying event pairs triggered by the same physical action in different security systems, determining the dynamic compensation amount based on the timestamp characteristics of the event pairs, generating a normalized event sequence with a unified time axis, and clustering by combining real-time pedestrian density and semantic similarity and spatial proximity between events to generate candidate event clusters, calculating the correlation strength, and establishing a correlation map of cross-system security events.

Benefits of technology

It enables time-series calibration and normalization integration of events from multiple heterogeneous security systems, improves the accuracy of cross-system event correlation analysis and intelligent control level, adapts to complex and dynamic security scenarios, and supports event tracing and coordinated early warning and handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122863448B_ABST
    Figure CN122863448B_ABST
Patent Text Reader

Abstract

This application relates to the field of data processing technology and discloses a cross-system security event correlation analysis method based on feature fusion. This application identifies event pairs triggered by the same physical action in different security systems, determines the dynamic compensation amount based on the statistical characteristics of timestamps, and completes a unified time axis mapping; dynamically adjusts the time window width based on the real-time pedestrian density parameters of the monitoring area, and completes event clustering by combining a weighted fusion index of semantic similarity and spatial proximity; for candidate event clusters with temporal sequence relationships, performs quantitative calculations of matching from temporal, spatial, and semantic perspectives, and determines the correlation strength between candidate event clusters; constructs directed correlation edges with correlation strength as a constraint, and completes the event structure sorting by traversing forward along the unified time axis, forming a cross-system security event correlation graph, which presents the temporal transmission relationship, spatial correlation relationship, and behavioral logic relationship between events in multiple systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and specifically to a cross-system security event correlation analysis method based on feature fusion. Background Technology

[0002] Currently, single-function security systems are gradually evolving into a multi-system collaborative deployment model, with various heterogeneous security systems such as video surveillance, infrared detection, boundary alarms, and access control operating in parallel to jointly complete security monitoring in scenarios such as public areas, perimeter sites, and closed parks.

[0003] Existing security incident analysis is mostly limited to the assessment and alarm handling within a single system. It only records alarm events generated by the system independently and sorts them in a simple time sequence, lacking cross-system event linkage analysis. The same physical behavior at the scene often triggers monitoring events of multiple security systems simultaneously. Due to factors such as the response delay of different equipment hardware and the differences in data reporting mechanisms, the timestamps of events from the same source in multiple systems are generally misaligned, making it impossible to directly conduct correlation comparison under a unified time sequence dimension.

[0004] The current method of matching events based solely on spatial distance or event type labels results in fragmented multi-source security event data. Cross-system events with the same source cannot be effectively linked, and implicitly related security events are difficult to uncover. The overall event analysis lacks correlation and integrity, and cannot support global security event tracing and joint analysis under large-scale, multi-system integration, thus failing to meet the refined management and control needs of comprehensive security.

[0005] The technical problem this application aims to solve is how to achieve standard integration and in-depth correlation mining of security events across multiple systems. Summary of the Invention

[0006] To address the shortcomings of existing technologies, the purpose of this application is to provide a cross-system security event correlation analysis method based on feature fusion, which is suitable for complex and dynamic security scenarios, effectively uncovers hidden cross-system correlation events, and improves the intelligence and precision of comprehensive security management.

[0007] To achieve the above objectives, this application provides a cross-system security event correlation analysis method based on feature fusion, which obtains the original event streams of at least two security systems, identifies event pairs triggered by the same physical action in different security systems, determines the dynamic compensation amount based on the statistical characteristics of the timestamps corresponding to the event pairs, maps the events to a unified time axis, and generates a normalized event sequence.

[0008] The system acquires real-time pedestrian density in the monitoring area, dynamically determines the time window width, and clusters normalized event sequences based on a weighted value of semantic similarity and spatial proximity between events to generate candidate event clusters.

[0009] For any two candidate event clusters that have a sequential relationship on a unified timeline, calculate the temporal matching degree, spatial matching degree, and semantic matching degree respectively. After weighted fusion of the matching degrees, perform correction to determine the correlation strength between the candidate event clusters.

[0010] When the correlation strength is greater than the strength threshold, a directed correlation edge is established between the two candidate event clusters, and the normalized event sequence is traversed along the positive direction of the unified time axis to generate a correlation graph of cross-system security events.

[0011] Furthermore, the generation of the normalized event sequence includes:

[0012] Receive raw event streams from at least two security systems in parallel, and synchronously extract the location information, event type, and timestamp of the events.

[0013] Based on the location information and event type of the event, as well as the equipment deployment area of ​​the security system, event pairs triggered by the same physical action in different security systems are selected.

[0014] The dynamic compensation amount is determined based on the statistical characteristics of each event pair corresponding to the timestamp. After time-series calibration of each event, it is mapped to a unified time axis to generate a normalized event sequence.

[0015] Furthermore, the overlapping range of equipment deployment areas between different security systems is calculated, and the location information of the event is used to determine whether the event occurrence point is within the overlapping range. At the same time, the event types are compared, and events whose occurrence points are within the overlapping range and whose event types match are selected as event pairs triggered by the same physical action. The dynamic compensation amount is determined by statistically analyzing the timestamp difference and the degree of dispersion of the event pairs.

[0016] Furthermore, the generation of candidate event clusters includes:

[0017] The system acquires real-time pedestrian density in the monitored area and classifies it into density levels. Based on the density levels and the event density of the normalized event sequence, the system dynamically determines the width of the time window.

[0018] Calculate the semantic similarity and spatial proximity between events within a time window, and dynamically allocate the weighted proportions of semantic similarity and spatial proximity according to the density level to obtain the weighted value between events;

[0019] Events within a time window are clustered based on weighted values ​​to filter valid events and generate candidate event clusters.

[0020] Furthermore, the event density represents the number of normalized events occurring within the overlapping area of ​​the same equipment deployment area per unit time; the semantic similarity is determined by classifying event types into levels according to security monitoring priorities and comparing the matching degree of different event type levels; the spatial proximity is obtained by calculating and converting the distance between the event occurrence point and the center of the overlapping area of ​​the corresponding equipment deployment area.

[0021] Events with a weighted value greater than a preset threshold are grouped into the same cluster unit. Invalid units within the cluster unit that have an event time span greater than the width of the corresponding time window or whose event occurrence points are not within the overlapping range are removed, thus filtering out valid events.

[0022] Furthermore, determining the correlation strength between candidate event clusters includes:

[0023] Extract the basic features of any two candidate event clusters that have a sequential relationship on a unified timeline, and calculate the temporal matching degree, spatial matching degree and semantic matching degree between the two candidate event clusters respectively;

[0024] The weighting coefficients are dynamically assigned based on the density level, and the temporal matching degree, spatial matching degree and semantic matching degree are weighted and fused. The weighted fusion result is then corrected based on the time decay factor bound to the real-time pedestrian flow density in order to determine the correlation strength between candidate event clusters.

[0025] Furthermore, the basic features include the location information of valid events within the candidate event cluster, the event type hierarchy, and the overlapping range of the corresponding device deployment area; the value of the time decay factor is negatively correlated with the real-time pedestrian density.

[0026] Furthermore, the temporal matching degree is obtained by calculating the temporal interval between two candidate event clusters and correcting it by combining the temporal continuity of the effective events; the spatial matching degree is obtained by calculating the positional overlap ratio of the overlapping range of the effective events in the device deployment area within the two candidate event clusters and correcting it by combining it with the distance between the center of the two candidate event clusters and the center of the overlapping range; the semantic matching degree is obtained by comparing the matching degree of the event type hierarchy between the two candidate event clusters.

[0027] Furthermore, the generation of the cross-system security event correlation graph includes:

[0028] Candidate event clusters with a correlation strength greater than the strength threshold are selected, directed correlation edges are established between the candidate event clusters, and the established directed correlation edges are verified. The normalized event sequence is traversed along the positive direction of the unified time axis to obtain the initial correlation structure.

[0029] Redundancy optimization is performed on the initial association structure to generate an association graph of security events across systems.

[0030] Furthermore, verifying the directed association edge refers to checking the number of valid events in the candidate event cluster pair and removing directed association edges whose number of valid events is less than the threshold.

[0031] The forward traversal refers to dividing the clusters of candidate events with continuous temporal sequence within the overlapping area of ​​the same device deployment area into temporal blocks, and traversing them sequentially according to the temporal blocks;

[0032] The redundancy optimization refers to removing duplicate directed association edges between the same candidate event clusters and merging candidate event clusters with the same event type level within the overlapping range of the same device deployment area into a single associated node.

[0033] Compared with the prior art, the beneficial effects achieved by this application are as follows:

[0034] By identifying event pairs triggered by the same physical action in different security systems, determining the dynamic compensation amount based on the statistical characteristics of timestamps, and completing a unified timeline mapping, the time-series calibration and normalization integration of the original event streams of multiple heterogeneous security systems is realized, unifying the time-series benchmark of all events, and providing a standardized data foundation for horizontal comparison and joint analysis of cross-system events.

[0035] Based on the real-time pedestrian density parameters of the monitored area, the time window width for event analysis is dynamically and adaptively adjusted. Event clustering is completed by combining a weighted fusion index of semantic similarity and spatial proximity. This makes the event clustering and division adaptable to the changes in pedestrian flow and event distribution characteristics in the scene, improves the rationality and scene adaptability of candidate event cluster division, and ensures the spatiotemporal correlation and behavioral correlation of events in the same cluster.

[0036] For candidate event clusters with temporal sequence relationships, the matching metric is calculated from three dimensions: temporal, spatial, and semantic. The weighting ratio of the multi-dimensional matching degree is dynamically allocated according to the scene parameters, and the result is corrected by combining temporal decay constraints. This determines the correlation strength between candidate event clusters, reduces false associations caused by long-distance, long-interval, and weakly related events, and improves the objectivity and accuracy of event association determination.

[0037] The construction of directed association edges is completed by using quantitative association strength as a constraint. The event structure is sorted out by traversing forward along a unified time axis, forming an association map of cross-system security events, which presents the temporal transmission relationship, spatial relationship and behavioral logic relationship between events of multiple systems.

[0038] It forms a closed-loop process from raw event collection, time-series normalization processing, adaptive clustering, inter-cluster correlation quantification to correlation graph generation, adapting to complex and dynamic security scenarios, effectively mining cross-system implicit correlation events, providing reliable technical support for subsequent security event tracing, risk chain propagation analysis and linkage early warning and disposal, and improving the intelligence and precision of comprehensive security management and control. Attached Figure Description

[0039] Figure 1 This is a flowchart illustrating a cross-system security event correlation analysis method based on feature fusion.

[0040] Figure 2 A flowchart illustrating the logic for generating candidate event clusters;

[0041] Figure 3 A flowchart for determining the correlation strength between candidate event clusters. Detailed Implementation

[0042] The technical solution of this application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments and specific features in the embodiments are detailed descriptions of the technical solution of this application, rather than limitations thereof.

[0043] like Figure 1 As shown, this embodiment provides a cross-system security event correlation analysis method based on feature fusion, including:

[0044] S1. Obtain the original event streams of at least two security systems, identify event pairs triggered by the same physical action in different security systems, determine the dynamic compensation amount based on the statistical characteristics of the timestamps corresponding to the event pairs, map the events to a unified time axis, and generate a normalized event sequence.

[0045] Specifically, generating a normalized event sequence includes:

[0046] Receive raw event streams from at least two security systems in parallel, and synchronously extract the location information, event type, and timestamp of the events.

[0047] Based on the location information and event type of the event, as well as the equipment deployment area of ​​the security system, event pairs triggered by the same physical action in different security systems are selected.

[0048] The dynamic compensation amount is determined based on the statistical characteristics of each event pair corresponding to the timestamp. After time-series calibration of each event, it is mapped to a unified time axis to generate a normalized event sequence.

[0049] This involves calculating the overlap range of equipment deployment areas between different security systems, determining whether the event occurrence point is within the overlap range based on the event location information, comparing event types, filtering out events whose occurrence points are within the overlap range and whose event types match, and identifying event pairs triggered by the same physical action. The dynamic compensation amount is then determined by statistically analyzing the timestamp difference and the degree of dispersion of the event pairs.

[0050] In cross-system security scenarios, different heterogeneous security systems operate independently, and their output raw event streams have inconsistent formats, redundant information, and do not contain the key information required for subsequent processing. Directly using the raw event streams can lead to deviations in the identification of events from the same source and inaccurate timing calibration. By adopting a parallel data receiving interface, the raw event streams of at least two heterogeneous security systems can be received simultaneously. For example, security system 1 can be a high-definition video surveillance system, and security system 2 can be an infrared alarm system. During the reception process, the format integrity of the raw event streams of each system can be maintained to avoid event timing disorder caused by reception delay.

[0051] For each raw event output by each system, location information, event type, and timestamp are extracted synchronously. Location information refers to the physical location where the event occurred, using security zone coding, such as underground parking garage A-01. Event type refers to the category of security monitoring behavior corresponding to the event, divided into personnel passage, personnel loitering, object leaving, boundary intrusion, and equipment malfunction according to the security monitoring scenario. The type identifier inherent to the event is read during extraction, such as 01-person loitering for video surveillance system and 02-boundary intrusion for infrared alarm system. Timestamp refers to the time information when the event was triggered and reported by the front-end device, providing raw time data for subsequent dynamic compensation calculation.

[0052] This ensures the integrity and synchronization of event data, eliminates redundant and irrelevant information in the original event stream, and provides basic data for the screening of homogeneous event pairs and the calculation of dynamic compensation.

[0053] Front-end devices from different security systems may cover the same monitoring area. The same physical action at the scene may trigger events from multiple security systems simultaneously or sequentially. The original event stream contains a large number of non-homogeneous events. If homogeneous event pairs are not filtered out, the subsequent dynamic compensation calculation will lose its specificity, making accurate timing calibration impossible. To calculate the overlap range of the deployment areas of different security system devices, first obtain the deployment area range of each security system's front-end devices. For example, the deployment area of ​​the video cameras of security system 1 is latitude and longitude 30.1230°N-30.1240°N, 120.5670°N. The infrared detectors of security system 2 are deployed in the latitude and longitude range of 30.1232°N-30.1242°N and 120.5672°E-120.5682°E. Through coordinate range intersection calculation, the overlapping range of the deployment areas of the two system devices is found to be 30.1232°N-30.1240°N and 120.5672°E-120.5680°E. This overlapping range is the monitoring area where the same physical action may trigger events in both systems simultaneously. Only events within this range meet the conditions of being co-originating events.

[0054] Then, events within the overlapping range are filtered. Based on the extracted event location information, it is determined whether the occurrence point of each event is within the above overlapping range. For example, if the location of a video event is 30.1235°N, 120.5675°E, it is within the overlapping range. However, if the location of an infrared event is 30.1245°N, 120.5685°E, it is outside the overlapping range and is directly eliminated. In this way, all cross-system events whose occurrence points are within the overlapping range are filtered out, eliminating interference from non-same-source events.

[0055] Finally, the event types are compared to identify homogeneous event pairs. For cross-system events within the overlapping range, event type matching is performed. The matching rule is that the event types belong to the same security behavior category. For example, if both the video surveillance system event type 02-Boundary Intrusion and the infrared alarm system event type 02-Boundary Intrusion are considered a perfect match, they are considered a complete match. If both the video surveillance system event type 01-Person Loitering and the infrared alarm system event type 02-Boundary Intrusion occur at overlapping locations and at similar times, they are considered a type match and form an event pair, i.e., video event ID: V001, infrared event ID: I001. If the event types are unrelated, such as the video surveillance system event 03-Object Left Behind and the infrared alarm system event 02-Boundary Intrusion, they are considered non-homogeneous events and do not form an event pair. If multiple overlapping ranges exist, the above filtering steps are performed for each overlapping range.

[0056] This limits the monitoring area of ​​events from the same source, reduces interference from events from different sources, and improves the targeting of event pair screening; it accurately identifies pairs of events from the same source, avoids omission of events from the same source or misjudgment of events from different sources, and ensures that subsequent dynamic compensation calculations are only for events from the same source, thus providing a guarantee for the accuracy of time series calibration.

[0057] Different security systems have varying front-end devices with different hardware response delays, and the local timing benchmarks of each system may also deviate. This can lead to time-series misalignment in the timestamps reported by pairs of events triggered by the same physical action. Directly mapping such events to a unified timeline would result in chaotic event timing, affecting the accuracy of subsequent steps such as candidate event cluster generation and correlation strength calculation. Therefore, we first determine the dynamic compensation amount by statistically analyzing the timestamps of event pairs. For each selected pair of events, we extract the timestamps of the two events, calculate the timestamp difference Δt = event A timestamp - event B timestamp, and statistically analyze the dispersion of the timestamp differences across multiple event pairs. The dispersion R is the difference between the maximum and minimum values ​​among the multiple differences.

[0058] Determining the dynamic compensation amount involves selecting one security system as the baseline system. For example, if a video surveillance system is selected as the baseline system, its event timestamps are not compensated. The dynamic compensation amount for the other system is calculated as the average of the timestamp differences between multiple event pairs minus the dispersion of the differences, ÷ 2. This ensures that the timestamp deviation after compensation is within a reasonable range. For instance, if five pairs of events from the same source are selected, the timestamp differences Δt between the video surveillance system events and the infrared alarm system events are 0.8s, 0.9s, 0.7s, 0.85s, and 0.95s, respectively. The average difference is 0.84s, and the dispersion of the differences R = 0.95s - 0.7s = 0.25s. The dynamic compensation amount for the infrared system is 0.84s - 0.25s / 2 = 0.715s. This means that all events in the infrared alarm system have their original timestamps increased by 0.715s, achieving system timestamp alignment.

[0059] Secondly, timing calibration is performed on each event. Based on the determined dynamic compensation amount, the original event timestamps of each security system are independently calibrated. The event timestamps of the reference system remain unchanged, while the corresponding dynamic compensation amount is added to the timestamps of each event in the non-reference system. For example, the original timestamp of the infrared alarm event is 2026-04-24T10:30:00.123Z, and the compensated timestamp is 2026-04-24T10:30:00.838Z. If an abnormal timing of the calibrated timestamp occurs during the calibration process, the event pair to which the event belongs needs to be re-checked. After confirming that the dynamic compensation amount is calculated correctly, the calibration is repeated to ensure that the timing logic of all events is reasonable after calibration.

[0060] The calibrated events are then mapped to a unified timeline. A globally unified UTC standard timeline is set, and all cross-system events that have completed timing calibration are mapped to this timeline according to their calibrated timestamps, achieving timing alignment of all events and unifying the data format of all events to eliminate heterogeneous differences in event formats across different security systems. Finally, a normalized event sequence is generated. All events mapped to the unified timeline are sorted according to the order of their calibrated timestamps, and timing-abnormal and duplicate events are removed, forming a normalized event sequence that is timing-aligned, formatted uniformly, without redundancy, and without anomalies. Each event in the sequence contains location information, event type, and a calibrated timestamp, which are used in subsequent candidate event cluster generation steps.

[0061] This enables personalized dynamic calibration to adapt to the differences in hardware and timing deviations of different security systems, effectively eliminating the timing misalignment of cross-system events; it also achieves timing alignment and format unification of multi-source heterogeneous events, and normalizes event sequences to provide standardized and high-quality data support for subsequent processing, avoiding deviations in subsequent clustering results and thus affecting the implementation effect of the entire cross-system security event correlation analysis method.

[0062] S2. Obtain the real-time pedestrian density in the monitoring area, dynamically determine the time window width, and cluster the normalized event sequence based on the weighted values ​​of semantic similarity and spatial proximity between events to generate candidate event clusters.

[0063] Specifically, such as Figure 2 As shown, the generated candidate event clusters include:

[0064] The system acquires real-time pedestrian density in the monitored area and classifies it into density levels. Based on the density levels and the event density of the normalized event sequence, the system dynamically determines the width of the time window.

[0065] Calculate the semantic similarity and spatial proximity between events within a time window, and dynamically allocate the weighted proportions of semantic similarity and spatial proximity according to the density level to obtain the weighted value between events;

[0066] Events within a time window are clustered based on weighted values ​​to filter valid events and generate candidate event clusters.

[0067] Among them, event density represents the number of normalized events occurring within the overlapping area of ​​the same equipment deployment area per unit time; semantic similarity is to classify event types into levels according to security monitoring priority and compare the matching degree of different event type levels; spatial proximity is obtained by calculating and converting the distance between the event occurrence point and the center of the overlapping area of ​​the corresponding equipment deployment area.

[0068] Events with a weighted value greater than a preset threshold are grouped into the same cluster unit. Invalid units within the cluster unit that have an event time span greater than the width of the corresponding time window or whose event occurrence points are not within the overlapping range are removed, thus filtering out valid events.

[0069] In cross-system security monitoring scenarios, the flow of people in the monitoring area has dynamic characteristics. Fixed time windows cannot adapt to the event distribution patterns under different population density. Static time windows can easily cause related events to be segmented into different analysis intervals, or unrelated events to be included in the same window range, thereby undermining the rationality of the boundaries of subsequent cluster analysis. First, by using personnel counting equipment deployed in the monitoring area, such as infrared people counters and video people recognition terminals, the real-time population density of each monitoring zone is obtained in real time. The collection frequency is set to 1 time / 10 seconds, and the data unit is people / square meter.

[0070] Based on the personnel carrying capacity standards defined by the regional security management, continuously acquired pedestrian flow data is classified into three density levels: low density (<0.5 people / m²), medium density (0.5-1.5 people / m²), and high density (>1.5 people / m²). For example, if the pedestrian flow density acquired by monitoring zone A for three consecutive times is 0.3 people / m², 0.4 people / m², and 0.35 people / m², and the average value of 0.35 people / m² is taken, the current pedestrian flow density level of this zone is determined to be low density. If the pedestrian flow density acquired by monitoring zone B for three consecutive times is 1.6 people / m², 1.7 people / m², and 1.65 people / m², and the average value of 1.65 people / m² is taken, the zone is determined to be high density.

[0071] Event density refers to the total number of normalized events occurring within the same overlapping area of ​​multiple security system devices within a fixed statistical time period. The spatial scope is limited to the overlapping area of ​​a single device deployment. Specifically, it is calculated by dividing the total number of normalized events within the overlapping area of ​​the same device deployment within 60 seconds by the statistical time period (60 seconds) to obtain the number of events occurring per unit time, expressed as events per second. For example, the overlapping area of ​​monitoring zone A is latitude and longitude 30.1232°N-30.124°N. Within 60 seconds, the total number of normalized events in the area between 0°N and 120.5672°E-120.5680°E is 6, and the event density is 6 / 60 seconds = 0.1 events / second. The overlapping area of ​​equipment deployment in monitoring zone B is between 30.1240°N-30.1248°N and 120.5680°E-120.5688°E. Within 60 seconds, the total number of normalized events in this area is 18, and the event density is 18 / 60 seconds = 0.3 events / second.

[0072] After completing the classification of pedestrian density levels and the statistics of event density, the density level is used as the adjustment benchmark to match the event density distribution in the current zone, and the continuous duration range of the time window is adjusted accordingly. The basic window width for low density level is 30 seconds, and the window width increases by 5 seconds for every 0.02 events / second decrease in event density; the basic window width for medium density level is 20 seconds, and the window width remains unchanged at 20 seconds when the event density is between 0.1 and 0.2 events / second; the basic window width for high density level is 10 seconds, and the window width decreases by 2 seconds for every 0.05 events / second increase in event density, with a minimum of 5 seconds.

[0073] For example, monitoring zone A is at a low density level with an event density of 0.1 events / second and a basic window width of 30 seconds. The event density is 0.02 events / second higher than the average level of low density (0.08 events / second), so no adjustment to the window width is needed, and the final window width is determined to be 30 seconds. Monitoring zone B is at a high density level with an event density of 0.3 events / second and a basic window width of 10 seconds. The event density is 0.1 events / second higher than the average level of high density (0.2 events / second), so the window width needs to be reduced by (0.3-0.2) / 0.05×2 seconds=4 seconds. The final window width is determined to be 10 seconds-4 seconds=6 seconds, completing the dynamic adaptive determination of the time window width.

[0074] This allows the scope of event analysis to be adapted to the real-time operating status of the monitoring scenario, providing a stable and reasonable analysis boundary for subsequent feature calculation and clustering processing of events within the same window.

[0075] Security-normalized events contain two core association features: behavioral attributes and spatial attributes. Judging associations solely based on spatial distance or event type cannot fully reflect the inherent association logic of cross-system events. First, semantic similarity is calculated, and all event types are hierarchically broken down according to security monitoring priority. Specifically, Level 1 (high priority) includes illegal intrusion, boundary crossing, and abnormal loitering; Level 2 (medium priority) includes personnel gathering and object leaving behind; and Level 3 (low priority) includes routine personnel passage and routine equipment inspection.

[0076] Specifically, the similarity between Level 1 and Level 1 matches is set to 1, the similarity between Level 1 and Level 2 matches is 0.6, the similarity between Level 1 and Level 3 matches is 0.2, the similarity between Level 2 and Level 2 matches is 0.8, the similarity between Level 2 and Level 3 matches is 0.4, and the similarity between Level 3 and Level 3 matches is 0.9. The hierarchical relationship of different normalized events within the same time window is compared pairwise, and the specific numerical value of semantic similarity is determined based on the above matching criteria. For example, within a 30-second time window of monitoring zone A, there are events 1 (type: illegal intrusion, Level 1), 2 (type: area boundary crossing, Level 1), and 3 (type: regular personnel access, Level 3). Then the semantic similarity between events 1 and 2 is 1, the semantic similarity between events 1 and 3 is 0.2, and the semantic similarity between events 2 and 3 is 0.2.

[0077] Next, spatial proximity is calculated. Using the geometric center of the overlapping area of ​​each device deployment as a fixed reference, the spatial distance from the actual occurrence point of each event within the window to the center of the corresponding overlapping area is measured one by one. The spatial distance is then converted to obtain the spatial proximity of the corresponding event. Specifically, a Cartesian coordinate system is used to convert latitude and longitude coordinates, setting the coordinates of the overlapping area center as (x0, y0) and the event occurrence point coordinates as (x1, y1). Calculate the straight-line distance between two points, and then convert the distance value into a similarity value between 0 and 1 using the spatial proximity of a single entity = 1 / (1+d). The closer the distance, the closer the spatial proximity is to 1.

[0078] For example, if the center coordinates of the overlapping area of ​​equipment deployment in monitoring zone A are converted to Cartesian coordinates (1000, 2000), the coordinates of the location where event 1 occurs are (1002, 2003), and the coordinates of the location where event 2 occurs are (1001, 2002), then the distance from event 1 to the center is... The spatial proximity of event 1 is approximately 0.217 (1 / (1+3.61)). The distance from event 2 to the center is... The spatial proximity of event 2 is approximately 0.309, calculated as 1 / (1+2.24). The spatial proximity between event 1 and event 2 is calculated as the arithmetic mean of the spatial proximity of the corresponding individuals of the two events, i.e., the spatial proximity of the two events is approximately 0.263, calculated as (0.217+0.309) / 2.

[0079] After independently calculating the two types of feature indicators, the current monitoring zone's corresponding population density level is retrieved. According to the preset allocation rules, the weighted ratio parameters of semantic similarity and spatial proximity are dynamically allocated. Specifically, the weighted ratio of semantic similarity is 0.6 and spatial proximity is 0.4 in the low-density level; 0.5 in the medium-density level; and 0.3 in the high-density level. The weighted value between events is calculated as: semantic similarity × semantic weighted ratio + spatial proximity × spatial weighted ratio.

[0080] For example, monitoring zone A is at a low density level, with a semantic weighting of 0.6 and a spatial weighting of 0.4. The semantic similarity between event 1 and event 2 is 1, and their spatial proximity is 0.263. Therefore, the weighted average between them is 1 × 0.6 + 0.263 × 0.4 = 0.6 + 0.1052 = 0.7052. The semantic similarity between event 1 and event 3 is 0.2. The coordinates of event 3 are (1010, 2010), and its distance from the center is... For example, the spatial proximity of event 3 is 1 / (1+14.14)≈0.066, and the spatial proximity of the two events is (0.217+0.066) / 2≈0.1415. Therefore, the weighted value of the two events is 0.2×0.6+0.1415×0.4=0.12+0.0566=0.1766. For another example, monitoring zone B is a high-density zone with a semantic weighting of 0.3 and a spatial weighting of 0.7. The semantic similarity between event 4 (type of people gathering, level 2) and event 5 (type of object leaving, level 2) within the window is 0.8. The spatial proximity of the corresponding individuals of event 4 and event 5 is 0.4. The spatial proximity of the two events is (0.4+0.4) / 2=0.4. Therefore, the weighted value is 0.8×0.3+0.4×0.7=0.24+0.28=0.52.

[0081] This enables a two-way combination of event space attributes and behavioral semantic attributes, making up for the limitations of single-dimensional judgment, conforming to the dynamic operation characteristics of security scenarios, and making the feature fusion rules adaptable to different scenarios.

[0082] The clustering units initially obtained based on weighted values ​​may contain invalid events that do not meet the requirements of spatiotemporal constraints. Some clustering units may have time spans exceeding the analysis interval or event locations outside the overlapping deployment range of devices. Such invalid units do not have reference value for cross-system correlation analysis. If they are directly included in subsequent calculations, it will increase the processing load of invalid data and interfere with the accuracy of subsequent inter-cluster matching degree calculations. First, all normalized events within the time window are taken as the processing objects. The weighted value between each pair of events is used as the basis for clustering. A fixed weighted value judgment threshold is pre-set, which is set to 0.5, with a value range of 0-1. The threshold is adjusted according to the needs of the security scenario. Multiple events with weighted values ​​higher than the judgment threshold are integrated and divided into the same initial clustering unit to complete the initial clustering grouping.

[0083] For example, within a 30-second time window of monitoring zone A, the weighted value of events 1 and 2 is 0.702, and they are classified into initial cluster unit 1; the weighted value of event 3 and other events is less than 0.5, and they are classified into initial cluster unit 2 separately; within a 6-second time window of monitoring zone B, the weighted value of events 4 and 5 is 0.52 (greater than 0.5), and they are classified into initial cluster unit 3; within the window, the weighted value of event 6 (type is routine equipment inspection, level 3) and other events is less than 0.5, and they are classified into initial cluster unit 4 separately.

[0084] After the initial cluster units are formed, a dual invalidation constraint is simultaneously applied. The first constraint is time span filtering, which checks the overall time span of all events within a single cluster unit. The time span is the difference between the calibrated timestamp of the last event in the cluster unit and the calibrated timestamp of the first event in the cluster unit. If the time span exceeds the currently dynamically determined time window width, the cluster unit is removed. For example, in the initial cluster unit 1 of monitoring partition A, the calibrated timestamp of event 1 is 2026-04-24T10:30:00.000Z, and the calibrated timestamp of event 2 is 2026-04-24T10:30:25.000Z. The time span is 25 seconds, and the current window width is 30 seconds. Since 25 seconds < 30 seconds, it meets the requirements and is retained. If the time span of an initial cluster unit is 32 seconds, exceeding the 30-second window width, it is removed.

[0085] The second constraint is spatial range filtering, which involves checking the actual occurrence points of each event within the verification unit. If any event's occurrence point is not within the overlapping range of the corresponding equipment deployment, the entire cluster unit is deemed invalid and removed. For example, in the initial cluster unit 3 of monitoring zone B, the occurrence points of event 4 are (1005, 2005) and event 5 are (1006, 2006), both within the overlapping range of the equipment deployment in this zone (Cartesian coordinates 1000-1010, 2000-2010), meeting the requirements and being retained. The occurrence point of event 6 in the initial cluster unit 4 is (1012, 2012), which exceeds the overlapping range and is therefore removed.

[0086] After eliminating redundant units through two hard constraints, valid events that fully meet the spatiotemporal boundary requirements are retained and formed into independent candidate event clusters. For example, monitoring partition A retains the initial cluster unit 1 and forms candidate event cluster 1 (containing event 1 and event 2); monitoring partition B retains the initial cluster unit 3 and forms candidate event cluster 2 (containing event 4 and event 5), thus completing the generation of candidate event clusters.

[0087] This process standardizes and refines the clustering results, unifies the spatial and temporal constraints of all candidate event clusters, and ensures that events within each candidate event cluster have a high degree of scene correlation and spatiotemporal consistency. It also determines the accuracy of multi-dimensional matching analysis between clusters, providing a standardized and unified preliminary data foundation for subsequent correlation strength calculation and correlation map generation.

[0088] S3. For any two candidate event clusters that have a sequential relationship on a unified timeline, calculate the temporal matching degree, spatial matching degree and semantic matching degree respectively. After weighted fusion of the matching degrees, perform correction to determine the correlation strength between the candidate event clusters.

[0089] Specifically, such as Figure 3As shown, determining the correlation strength between candidate event clusters includes:

[0090] Extract the basic features of any two candidate event clusters that have a sequential relationship on a unified timeline, and calculate the temporal matching degree, spatial matching degree and semantic matching degree between the two candidate event clusters respectively;

[0091] The weighting coefficients are dynamically assigned based on the density level, and the temporal matching degree, spatial matching degree and semantic matching degree are weighted and fused. The weighted fusion result is then corrected based on the time decay factor bound to the real-time pedestrian flow density in order to determine the correlation strength between candidate event clusters.

[0092] The basic features include the location information of valid events within the candidate event cluster, the event type hierarchy, and the overlap range of the corresponding device deployment area; the value of the time decay factor is negatively correlated with the real-time pedestrian density.

[0093] Among them, the temporal matching degree is obtained by calculating the temporal interval between two candidate event clusters and correcting it by combining the temporal continuity of the effective events; the spatial matching degree is obtained by calculating the positional overlap ratio of the effective events in the overlapping range of the two candidate event clusters in the device deployment area and correcting it by combining the distance between the center of the two candidate event clusters and the center of the overlapping range; the semantic matching degree is obtained by comparing the matching degree of the event type hierarchy between the two candidate event clusters.

[0094] Determining the correlation strength between candidate event clusters requires consideration of the core attributes and spatial constraints of events within the cluster. However, the basic information of different candidate event clusters is scattered and not uniformly extracted. Directly calculating the matching degree would lead to missing features and insufficient basis for judgment, resulting in biased matching degree calculation and distorted correlation strength determination. First, all candidate event clusters generated above are retrieved. Based on a unified timeline, candidate event cluster pairs with sequential temporal relationships are selected. The selection rule is that for any two candidate event clusters A and B, if the calibrated timestamp of the last valid event in cluster A is earlier than the calibrated timestamp of the first valid event in cluster B, then the two are determined to be cluster pairs with sequential temporal relationships, denoted as (cluster A, cluster B). Cluster A is the temporally preceding cluster, and cluster B is the temporally following cluster.

[0095] For example, the last event timestamp of candidate event cluster 1 (containing events 1 and 2) is 2026-04-24T10:30:25.000Z after calibration, and the first event timestamp of candidate event cluster 2 (containing events 4 and 5) is 2026-04-24T10:30:30.000Z after calibration. Since the time of cluster 1 is earlier than that of cluster 2, they are determined to be a cluster pair (cluster 1, cluster 2). The last event timestamp of candidate event cluster 3 (containing events 7 and 8) is 2026-04-24T10:30:20.000Z, which is earlier than the first event timestamp of cluster 1 (2026-04-24T10:30:00.000Z), and they are determined to be a cluster pair (cluster 3, cluster 1).

[0096] Secondly, for each selected cluster pair, the basic features of the two clusters are extracted one by one. The first is the location information of the effective events. The coordinates of the occurrence points of all effective events in the cluster are extracted. For example, the coordinates of event 1 in cluster 1 are (1002,2003) and the coordinates of event 2 are (1001,2002). The coordinates of event 4 in cluster 2 are (1005,2005) and the coordinates of event 5 are (1006,2006). The second is the event type level. Based on the security monitoring priority level set above, the type level of all effective events in the cluster is extracted. The level with the highest frequency of occurrence is taken as the overall type level of the cluster.

[0097] For example, if events 1 and 2 in cluster 1 are both level 1 (illegal intrusion, area boundary crossing), then the type level of cluster 1 is level 1; if events 4 and 5 in cluster 2 are both level 2 (personnel gathering, object leaving), then the type level of cluster 2 is level 2; thirdly, the overlapping range of the corresponding equipment deployment areas is extracted, and the overlapping range of the equipment deployment areas (corresponding to the Cartesian coordinate range) of the two clusters is extracted. For example, the overlapping range of cluster 1 is (1000-1010, 2000-2010), and the overlapping range of cluster 2 is (1003-1013, 2003-2013); after extraction, the basic features of each cluster pair are associated and stored for subsequent matching degree calculation.

[0098] This clarifies the scope of the association strength determination, integrates the core data required for inter-cluster matching degree calculation, ensures that the determination criteria for each cluster pair are consistent and complete, avoids subsequent calculation deviations caused by missing features or messy data, and lays a solid foundation for multi-dimensional matching degree calculation.

[0099] The correlation strength between candidate event clusters is a comprehensive reflection of the spatiotemporal correlation and semantic correlation between clusters. A single-dimensional correlation judgment cannot fully reflect the inherent correlation logic between clusters. The temporal matching degree reflects the rationality of the temporal connection between clusters, the spatial matching degree reflects the spatial overlap correlation between clusters, and the semantic matching degree reflects the logical correlation of event behavior between clusters. All three are indispensable. The temporal matching degree is obtained by calculating the temporal interval between two candidate event clusters and correcting it by combining the temporal continuity of effective events. The temporal interval refers to the time difference between the start time of the later cluster and the end time of the earlier cluster in two cluster pairs with a sequential temporal relationship.

[0100] The temporal continuity of valid events refers to the temporal continuity of valid events within the preceding cluster. It is used to correct the judgment bias caused by the temporal interval and avoid misjudgment of association due to the discontinuity of the temporal sequence in the preceding cluster. Specifically, first calculate the temporal interval ΔT = timestamp of the first valid event in the following cluster after calibration - timestamp of the last valid event in the preceding cluster after calibration. Then calculate the temporal continuity correction coefficient k1. If the time interval of all valid events in the preceding cluster is ≤5 seconds and there is no obvious discontinuity, then k1=1. If there is an event time interval >5 seconds and ≤10 seconds, which is a slight discontinuity, then k1=0.8. If there is an event time interval >10 seconds, which is a severe discontinuity, then k1=0.5. Finally, calculate the temporal matching degree M1=1 / (1+ΔT)×k1, with a value range of 0-1. The smaller ΔT is, the more continuous the temporal sequence is, and the closer M1 is to 1.

[0101] For example, in a cluster pair (cluster 1, cluster 2), the timestamp of the last event in cluster 1 is 2026-04-24T10:30:25.000Z, and the timestamp of the first event in cluster 2 is 2026-04-24T10:30:30.000Z, with a time interval ΔT = 5 seconds; the time interval between event 1 and event 2 within cluster 1 is 25 seconds (corresponding to 2026-04-24T10:30:25.000Z and 2026-04-24T10:30:00.000Z), which is greater than 10 seconds, and is therefore considered a severe fault, k1 = 0.5; then The temporal matching degree M1 = 1 / (1+5)×0.5 ≈ 0.083; For example, in the cluster pair (cluster 3, cluster 1), the timestamp of the last event in cluster 3 is 2026-04-24T10:30:20.000Z, and the timestamp of the first event in cluster 1 is 2026-04-24T10:30:00.000Z. The temporal interval ΔT = -20 seconds, and the absolute value is 20 seconds; the time interval between event 7 and event 8 in cluster 3 is 8 seconds, a slight discontinuity, k1 = 0.8; then the temporal matching degree M1 = 1 / (1+20)×0.8 ≈ 0.0381.

[0102] Spatial matching degree is calculated by taking into account the positional overlap ratio of valid events within two candidate event clusters in the overlapping area of ​​the equipment deployment area, and then correcting it by combining the distance between the center of the two candidate event clusters and the center of the overlapping area. The positional overlap ratio reflects the degree of spatial overlap between events in the clusters, and the distance between the cluster center and the center of the overlapping area reflects the rationality of the spatial position of the cluster. The two are combined for correction to comprehensively quantify the spatial correlation between clusters.

[0103] First, determine the intersection of the overlapping ranges of the equipment deployment areas corresponding to the two clusters, i.e., the common overlapping range. For example, the overlapping range of cluster 1 is (1000-1010, 2000-2010), and the overlapping range of cluster 2 is (1003-1013, 2003-2013). The intersection range of the two is (1003-1010, 2003-2010). Then, calculate the position overlap ratio P, count the total number of valid events within the above intersection range in the two clusters, and divide it by the total number of valid events in the two clusters, i.e., P = (number of events in the intersection of cluster A + number of events in the intersection of cluster B) / (total number of events in cluster A + total number of events in cluster B).

[0104] Calculate the distance correction coefficient k2 between the centers of the two clusters and the center of the overlapping area. Calculate the center coordinates of each cluster, which is the average of the coordinates of all valid event points within the cluster. For example, the center coordinates of cluster 1 = ((1002+1001) / 2, (2003+2002) / 2) = (1001.5, 2002.5), and the center coordinates of cluster 2 = ((1005+1006) / 2, (2005+2006) / 2) = (1005.5, 2005.5). Calculate the center coordinates of the commonly overlapping area, such as the center coordinates of the intersection area (1003-1010, 2003-2010) = ((1003+1010) / 2, (2003+2010) / 2) = (1006.5, 2006.5). Calculate the average distance d from the centers of the two clusters to the center of the commonly overlapping area. avg For example, the distance from the center of cluster 1 to the center of the overlapping area Distance from the center of cluster 2 to the center of the overlapping area Average distance d avg =(6.4+1.41) / 2≈3.905 meters; Calculate the correction factor k2=1 / (1+d avg ), d avg The smaller the value, the closer k2 is to 1, such as k2 = 1 / (1+3.905) ≈ 0.204;

[0105] Finally, the spatial matching degree M2 = P × k2 is calculated, with a value ranging from 0 to 1. The larger P is, the higher the value of d... avgThe smaller the value, the closer M2 is to 1; for example, if two events in cluster 1 are both within the intersection range and two events in cluster 2 are both within the intersection range, the positional overlap ratio P = (2+2) / (2+2) = 1; then the spatial matching degree M2 = 1 × 0.204 = 0.204.

[0106] Semantic matching score is obtained by comparing the matching score of event type levels between two candidate event clusters. A pre-defined hierarchical matching correspondence is established: the similarity between level 1 and level 1 is 1, between level 1 and level 2 is 0.6, between level 1 and level 3 is 0.2, between level 2 and level 2 is 0.8, between level 2 and level 3 is 0.4, and between level 3 and level 3 is 0.9. The semantic matching score is taken as the matching similarity of the overall type level of the two clusters. If the two clusters have multiple type levels, the average of all level matching similarities is taken. For example, in the cluster pair (cluster 1, cluster 2), cluster 1 has an overall type level of level 1, and cluster 2 has an overall type level of level 2. According to the matching rules, the matching similarity between level 1 and level 2 is 0.6, so the semantic matching score M3 = 0.6. Similarly, in the cluster pair (cluster 3, cluster 1), cluster 3 has an overall type level of level 1, and events 7 and 8 are both region out-of-bounds events. Cluster 1 has an overall type level of level 1, so the matching similarity is 1, and the semantic matching score M3 = 1.

[0107] This comprehensively covers the three dimensions of temporal, spatial, and semantic association among candidate event clusters, making up for the limitations of single-dimensional judgment; ensuring that the quantitative results of matching degree are objective and accurate, and providing a reliable quantitative basis for subsequent weighted fusion and association strength correction.

[0108] The reference value of the three matching degrees varies under different crowd density scenarios. In high-density crowd environments, spatial correlation has higher reference value, while in low-density crowd environments, semantic correlation has higher reference value. Fixed weighting coefficients cannot adapt to the needs of dynamic changes in scenarios. At the same time, the longer the time interval between two candidate event clusters, the lower the credibility of their association. If time decay correction is not performed, cluster pairs with excessively long time intervals may exhibit false high correlation strength, affecting the accuracy of the judgment.

[0109] The density level of the current cluster for the corresponding monitoring partition is retrieved. Based on the density level, weighting coefficients for temporal matching (M1), spatial matching (M2), and semantic matching (M3) are dynamically assigned. Specifically, in the low-density level, the weighting coefficient for M1 is 0.2, for M2 it is 0.3, and for M3 it is 0.5; in the medium-density level, the weighting coefficient for M1 is 0.3, for M2 it is 0.4, and for M3 it is 0.3; and in the high-density level, the weighting coefficient for M1 is 0.2, for M2 it is 0.5, and for M3 it is 0.5. The weighting factor is 0.6 for cluster pair (cluster 1, cluster 2) and 0.2 for monitoring zone A. For example, if the real-time population density of cluster pair (cluster 1, cluster 2) in monitoring zone A is 0.35 people / square meter (low density level), then the weighting factor is assigned as M1 = 0.2, M2 = 0.3, and M3 = 0.5. If the real-time population density of cluster pair (cluster 3, cluster 1) in monitoring zone B is 1.65 people / square meter (high density level), then the weighting factor is assigned as M1 = 0.2, M2 = 0.6, and M3 = 0.2.

[0110] The weighted fusion value M = M1 × M1 weighting coefficient + M2 × M2 weighting coefficient + M3 × M3 weighting coefficient, with a value range of 0-1; for example, in the cluster pair (cluster 1, cluster 2), M1 = 0.083, M2 = 0.204, M3 = 0.6, and the weighting coefficients are 0.2, 0.3, and 0.5 respectively, then M = 0.083 × 0.2 + 0.204 × 0.3 + 0.6 × 0.5 = 0.0166 + 0.0612 + 0.3 = 0.3778; in the cluster pair (cluster 3, cluster 1), M1 = 0. Given M1=0.0381, M2=0.145, and M3=1, with weighting coefficients of 0.2, 0.6, and 0.2 respectively, then M=0.0381×0.2+0.145×0.6+1×0.2=0.0076+0.087+0.2=0.2946. The intersection of the overlapping ranges of cluster 3 and cluster 1 is (1003-1010, 2003-2010). Both events within cluster 3 are within this intersection, with an overlap ratio P=1. The distance d from the center of cluster 3 to the center of the intersection... c3 ≈5.4 meters, distance d from the center of cluster 1 to the intersection center c1 ≈6.4 meters, average distance d avg =(5.4+6.4) / 2≈5.9 meters, k2=1 / (1+5.9)≈0.145, M2=1×0.145=0.145.

[0111] The time decay factor λ is negatively correlated with the real-time crowd density. That is, the higher the crowd density, the smaller the value of λ and the stronger the time decay effect. Conversely, the lower the crowd density, the larger the value of λ and the weaker the time decay effect. Specifically, in the low-density level (<0.5 people / square meter), λ = 0.8-1, and the lower the crowd density, the closer λ is to 1. In the medium-density level (0.5-1.5 people / square meter), λ = 0.6-0.8. In the high-density level (>1.5 people / square meter), λ = 0.4-0.6, and the higher the crowd density, the closer λ is to 0.4. For example, the cluster pair (cluster 1, cluster 2) corresponds to the low-density level (0.35 people / square meter), so λ = 0.9 is taken. The cluster pair (cluster 3, cluster 1) corresponds to the high-density level (1.65 people / square meter), so λ = 0.5 is taken.

[0112] Next, a correction calculation is performed, resulting in the corrected correlation strength M. final =Weighted fusion value M × time decay factor λ, with a value range of 0-1; for example, in cluster pair (cluster 1, cluster 2), M final =0.3778×0.9≈0.34; M in cluster pair (cluster 3, cluster 1) final =0.2946×0.5≈0.15; Finally, the corrected correlation strength is used as the correlation strength between the two candidate event clusters to complete the judgment; if the correlation strength is 0 or close to 0, it is determined that the two clusters have no effective correlation.

[0113] This allows the fusion rules of the three matching degrees to adapt to the association determination needs of different scenarios, effectively correct the false association bias caused by excessively long time intervals, improve the accuracy of association strength determination, ensure that the final association strength can objectively reflect the real association degree between candidate event clusters, determine the rationality of association edge establishment, and ensure the integrity and accuracy of the association graph.

[0114] S4. When the correlation strength is greater than the strength threshold, a directed correlation edge is established between the two candidate event clusters, and the normalized event sequence is traversed along the positive direction of the unified time axis to generate a correlation graph of cross-system security events.

[0115] Specifically, generating a cross-system security event correlation graph includes:

[0116] Candidate event clusters with a correlation strength greater than the strength threshold are selected, directed correlation edges are established between the candidate event clusters, and the established directed correlation edges are verified. The normalized event sequence is traversed along the positive direction of the unified time axis to obtain the initial correlation structure.

[0117] Redundancy optimization is performed on the initial association structure to generate an association graph of security events across systems.

[0118] Among them, verifying directed association edges refers to checking the number of valid events in the candidate event clusters and removing directed association edges whose number of valid events is less than the threshold.

[0119] Forward traversal refers to dividing the clusters of candidate events with consecutive time sequences within the overlapping area of ​​the same device deployment area into time sequence blocks, and traversing them sequentially according to the time sequence blocks;

[0120] Redundancy optimization refers to eliminating duplicate directed association edges between the same candidate event clusters and merging candidate event clusters with the same event type level within the overlapping area of ​​the same device deployment region into a single associated node.

[0121] The correlation strength between candidate event clusters varies. Only cluster pairs with a correlation strength reaching a certain standard have real cross-system security event correlation value. If correlation edges are established for all cluster pairs, the correlation graph will be filled with a large number of invalid correlations, interfering with the accuracy of subsequent correlation analysis. First, the correlation strength between all the previously determined candidate event clusters is retrieved, and a unified correlation strength threshold is preset. The threshold value ranges from 0 to 1. Considering the accuracy requirements of security monitoring, the strength threshold is set to 0.3, which can be adjusted according to the actual scenario. If the correlation strength between two candidate event clusters is greater than 0.3, they are judged as qualified cluster pairs and included in the scope of correlation edge establishment. If the correlation strength is less than or equal to 0.3, they are judged as having no valid correlation, and no correlation edge is established.

[0122] For example, the association strength of the aforementioned candidate event cluster pair (cluster 1, cluster 2) is 0.34, which is greater than 0.3, and is therefore determined to be a qualified cluster pair; the association strength of the cluster pair (cluster 3, cluster 1) is 0.15, which is less than 0.3, and is therefore determined to be unqualified and not included in the edge construction scope; the association strength of the newly added cluster pair (cluster 2, cluster 5) is 0.45, which is greater than 0.3, and is therefore determined to be a qualified cluster pair.

[0123] Next, directed association edges are established for the qualifying cluster pairs. The direction of the directed association edges follows the temporal relationship of the cluster pairs, that is, from the pre-temporal cluster to the post-temporal cluster. The edge identifier corresponds to the cluster pair, and the association strength of the edge is marked to facilitate subsequent verification and optimization. For example, in the cluster pair (cluster 1, cluster 2), cluster 1 is the pre-temporal cluster and cluster 2 is the post-temporal cluster. A directed association edge is established from cluster 1 to cluster 2, labeled as edge 1-2, with an association strength of 0.34. In the cluster pair (cluster 2, cluster 5), cluster 2 is the pre-temporal cluster and cluster 5 is the post-temporal cluster. A directed association edge is established from cluster 2 to cluster 5, labeled as edge 2-5, with an association strength of 0.45. After the edge is established, a preliminary directed association edge is formed, providing processing objects for the subsequent verification steps.

[0124] This clarifies the scope of valid associated cluster pairs, eliminates cluster pairs without associated value, and avoids interference from invalid associated edges on the graph structure; it also clearly presents the temporal relationships between event clusters, providing a clear structural basis for subsequent traversal, verification, and optimization, and ensuring the temporal logic of the associated graph.

[0125] The initially established directed association edges are only screened based on association strength, without considering the validity of the candidate event clusters themselves. If the number of valid events in a candidate event cluster is too small, its representativeness is insufficient, and the association edges established based on such clusters lack a reliable foundation, which will lead to false or invalid associations in the association graph and affect the accuracy of association analysis. First, a threshold for the number of valid events is preset. Combining the validity requirements of security event clustering, the threshold is set to 2, that is, the number of valid events in a candidate event cluster must be ≥2 to be representative. Adjusted according to the actual scenario, each directed association edge is checked one by one. If the number of valid events in either cluster is less than 2, the directed association edge is removed; if the number of valid events in both clusters is ≥2, the directed association edge is retained.

[0126] Secondly, the verification method for the number of valid events is clarified. That is, the list of valid events after screening in each candidate event cluster is retrieved, the actual number of valid events is counted, and compared with the number threshold. For example, the directed association edge 1-2 corresponds to cluster 1 (2 valid events) and cluster 2 (2 valid events), both ≥2, and is retained. The newly added directed association edge 4-6 corresponds to cluster 4 (1 valid event) and cluster 6 (2 valid events). The number of valid events in cluster 4 is less than 2, so the association edge is removed. The directed association edge 2-5 corresponds to cluster 2 (2 valid events) and cluster 5 (3 valid events), both ≥2, and is retained. After the verification is completed, all the directed association edges that meet the requirements are retained, and the invalid association edges are removed to form the verified association edges.

[0127] This eliminates the association edges established based on invalid event clusters, avoiding interference from false and invalid associations in subsequent steps; it also ensures that all retained association edges have a reliable foundation, improving the effectiveness and reliability of the association edge set.

[0128] While the verified directed edges are valid, they lack an ordered structural organization. If the graph is generated directly based on these scattered edges, the graph structure will be chaotic and the temporal logic unclear, failing to objectively reflect the temporal correlation of cross-system security events. First, the graph is divided into temporal blocks. Candidate event clusters with continuous temporal sequence within the overlapping area of ​​the same device deployment area are divided into one temporal block. Candidate event clusters with different overlapping areas or discontinuous temporal sequence are divided into different temporal blocks. The criterion for determining temporal continuity is that within the same overlapping area, the interval between the first valid event timestamp of the later candidate event cluster and the last valid event timestamp of the previous candidate event cluster is ≤10 seconds, which can be adjusted according to the actual scenario.

[0129] For example, within the overlapping equipment deployment range 1 (Cartesian coordinates 1000-1010, 2000-2010), clusters 1 (end time 10:30:25), 2 (start time 10:30:30), and 5 (start time 10:30:38) have a time interval of 5 seconds ≤ 10 seconds between clusters 1 and 2, and 8 seconds ≤ 10 seconds between clusters 2 and 5. These three clusters are time-sequential and are divided into timing block 1. Within the overlapping equipment deployment range 2 (Cartesian coordinates 1010-1020, 2010-2020), clusters 7 (end time 10:30:40) and 8 (start time 10:30:45) have a time interval of 5 seconds ≤ 10 seconds and are divided into timing block 2. Within the overlapping equipment deployment range 3, cluster 3 (end time 10:30:20) is time-discontinuous with other clusters and is divided into timing block 3 separately.

[0130] Next, the system traverses forward along a unified timeline, sorting each time block according to its chronological order and the start time of the first event cluster within each block. During the traversal, candidate event clusters within each time block are associated with their corresponding directed edges, forming an initial association structure that is temporally coherent and spatially defined, with time blocks as units. For example, the traversal order of time block 1 is cluster 1 → cluster 2 → cluster 5, with corresponding associated edges 1-2 and 2-5; the traversal order of time block 2 is cluster 7 → cluster 8, with corresponding associated edges 7-8; time block 3 contains only cluster 3 and has no associated edges. After the traversal is complete, the association structures of all time blocks are integrated to form an initial association structure, which includes all valid associated edges, candidate event clusters, and the temporal and spatial association relationships between clusters and edges.

[0131] This enables both spatial and temporal classification of candidate event clusters and associated edges, ensuring the temporal continuity and structural clarity of the initial association structure. It organizes scattered associated edges and event clusters into an orderly whole, providing standardized and orderly processing objects for subsequent redundancy optimization and improving optimization efficiency.

[0132] The initial association structure may contain issues such as duplicate association edges and redundant association nodes. Duplicate association edges increase the redundancy of the graph and affect its simplicity. Redundant association nodes make the graph structure cumbersome and unfavorable for subsequent association analysis and interpretation. First, duplicate directed association edges are eliminated. That is, all directed association edges in the initial association structure are checked. If there are two or more directed association edges between the same candidate event cluster pair, regardless of whether the association strength is the same, only the one with the highest association strength is retained, and the rest of the duplicate edges are eliminated to avoid graph redundancy caused by duplicate associations. For example, in the initial association structure, there are two directed association edges between cluster pair (cluster 2, cluster 5) with association strengths of 0.45 and 0.38, respectively. The edge with association strength of 0.38 is eliminated, and only the edge 2-5 with association strength of 0.45 is retained.

[0133] Secondly, redundant associated nodes are merged. That is, candidate event clusters with the same event type level within the overlapping area of ​​the same equipment deployment area are merged into a single associated node. After merging, the node retains the core features of the valid events of all the original clusters and the association relationships of all the original associated edges. The core features include location information and event type level to ensure that the association logic is not lost. For example, within the overlapping area 1 of equipment deployment, cluster 9 (2 valid events, event type level 2) and cluster 10 (2 valid events, event type level 2) are added. Since they are located in the same overlapping area and have the same event type level, cluster 9 and cluster 10 are merged into a single associated node cluster 9-10. The associated edges 8-9 corresponding to the original cluster 9 and 10-11 corresponding to the original cluster 10 are all adjusted to point to cluster 9-10. Within the overlapping area 2, cluster 7 (type level 1) and cluster 11 (type level 2) have different type levels and are not merged.

[0134] After redundancy optimization, the optimized associated nodes and directed associated edges are integrated according to the temporal block order, and the core annotation information of the associated nodes and associated edges is supplemented. The associated nodes correspond to the overlapping range and the number of valid events, and the associated edges correspond to the association strength. Finally, a cross-system security event association graph is generated. For example, the optimized graph includes temporal block 1 (cluster 1, cluster 2, cluster 5, cluster 9-10), temporal block 2 (cluster 7, cluster 8), and temporal block 3 (cluster 3). The association logic of each node and edge is clear and without redundancy, which is used for cross-system security event association analysis.

[0135] This streamlines redundant information in the security graph, improving its simplicity, readability, and usability. It ensures the optimized graph retains all valid correlation logic, without losing core information, and objectively and clearly reflects the correlation network of cross-system security events. The cross-system security event correlation graph is the output of the entire cross-system security event correlation analysis method, determining the effectiveness of subsequent security event correlation analysis and risk warning applications. It provides security managers with an intuitive and reliable reference for event correlation, enabling accurate correlation analysis of cross-system security events.

[0136] The above description is merely a preferred embodiment of this application. The scope of protection of this application is not limited to the above embodiments. All technical solutions falling within the scope of this application's concept are within the scope of protection of this application. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of this application should also be considered within the scope of protection of this application.

Claims

1. A method for cross-system security event correlation analysis based on feature fusion, characterized in that, include: The system acquires the original event streams from at least two security systems, identifies event pairs triggered by the same physical action in different security systems, determines the dynamic compensation amount based on the statistical characteristics of the timestamps corresponding to the event pairs, maps the events to a unified timeline, and generates a normalized event sequence. It calculates the overlap range of the equipment deployment areas between different security systems, determines whether the event occurrence point is within the overlap range by combining the event location information, compares the event types, and filters out events whose occurrence points are within the overlap range and whose event types match as event pairs triggered by the same physical action. The dynamic compensation amount is determined by statistically analyzing the timestamp difference and the degree of dispersion of the difference between the event pairs. The system acquires real-time pedestrian density in the monitoring area, dynamically determines the time window width, and clusters the normalized event sequences based on the weighted values ​​of semantic similarity and spatial proximity between events to generate candidate event clusters. For any two candidate event clusters that have a sequential relationship on a unified timeline, calculate the temporal matching degree, spatial matching degree, and semantic matching degree respectively. After weighted fusion of the matching degrees, perform correction to determine the correlation strength between the candidate event clusters. Determining the correlation strength between candidate event clusters includes: Extract the basic features of any two candidate event clusters that have a sequential relationship on a unified timeline, and calculate the temporal matching degree, spatial matching degree and semantic matching degree between the two candidate event clusters respectively; The weighting coefficients are dynamically assigned according to the density level, and the temporal matching degree, spatial matching degree and semantic matching degree are weighted and fused. The weighted fusion result is then corrected according to the time decay factor bound to the real-time pedestrian flow density in order to determine the correlation strength between candidate event clusters. When the correlation strength is greater than the strength threshold, a directed correlation edge is established between the two candidate event clusters, and the normalized event sequence is traversed along the positive direction of the unified time axis to generate a correlation graph of cross-system security events.

2. The method for cross-system security event correlation analysis based on feature fusion according to claim 1, characterized in that, The generation of the normalized event sequence includes: Receive raw event streams from at least two security systems in parallel, and synchronously extract the location information, event type, and timestamp of the events. Based on the location information and event type of the event, as well as the equipment deployment area of ​​the security system, event pairs triggered by the same physical action in different security systems are selected. The dynamic compensation amount is determined based on the statistical characteristics of each event pair corresponding to the timestamp. After time-series calibration of each event, it is mapped to a unified time axis to generate a normalized event sequence.

3. The method for cross-system security event correlation analysis based on feature fusion according to claim 2, characterized in that, The generated candidate event cluster includes: The system acquires real-time pedestrian density in the monitored area and classifies it into density levels. Based on the density levels and the event density of the normalized event sequence, the system dynamically determines the width of the time window. Calculate the semantic similarity and spatial proximity between events within a time window, and dynamically allocate the weighted proportions of semantic similarity and spatial proximity according to the density level to obtain the weighted value between events; Events within a time window are clustered based on weighted values ​​to filter valid events and generate candidate event clusters.

4. The method for cross-system security event correlation analysis based on feature fusion according to claim 3, characterized in that, The event density represents the number of normalized events occurring within the overlapping area of ​​the same equipment deployment area per unit time; the semantic similarity is determined by classifying event types into levels according to security monitoring priorities and comparing the matching degree of different event type levels; the spatial proximity is obtained by calculating and converting the distance between the event occurrence point and the center of the overlapping area of ​​the corresponding equipment deployment area. Events with a weighted value greater than a preset threshold are grouped into the same cluster unit. Invalid units within the cluster unit that have an event time span greater than the width of the corresponding time window or whose event occurrence points are not within the overlapping range are removed, thus filtering out valid events.

5. The method for cross-system security event correlation analysis based on feature fusion according to claim 3, characterized in that, The basic features include the location information of valid events within the candidate event cluster, the event type hierarchy, and the overlap range of the corresponding device deployment area; the value of the time decay factor is negatively correlated with the real-time pedestrian density.

6. The method for cross-system security event correlation analysis based on feature fusion according to claim 5, characterized in that, The temporal matching degree is obtained by calculating the temporal interval between two candidate event clusters and correcting it by combining the temporal continuity of the effective events; the spatial matching degree is obtained by calculating the positional overlap ratio of the overlapping range of the effective events in the device deployment area within the two candidate event clusters and correcting it by combining it with the distance between the center of the two candidate event clusters and the center of the overlapping range. The semantic matching degree is obtained by comparing the matching degree of event type hierarchy between two candidate event clusters.

7. The method for cross-system security event correlation analysis based on feature fusion according to claim 5, characterized in that, The generation of a cross-system security event correlation graph includes: Candidate event clusters with a correlation strength greater than the strength threshold are selected, directed correlation edges are established between the candidate event clusters, and the established directed correlation edges are verified. The normalized event sequence is traversed along the positive direction of the unified time axis to obtain the initial correlation structure. Redundancy optimization is performed on the initial association structure to generate an association graph of security events across systems.

8. The method for cross-system security event correlation analysis based on feature fusion according to claim 7, characterized in that, Verifying the directed association edges refers to checking the number of valid events in the candidate event clusters and removing directed association edges whose number of valid events is less than a threshold. The forward traversal refers to dividing the clusters of candidate events with continuous temporal sequence within the overlapping area of ​​the same device deployment area into temporal blocks, and traversing them sequentially according to the temporal blocks; The redundancy optimization refers to removing duplicate directed association edges between the same candidate event cluster pairs and merging candidate event clusters with the same event type level within the overlapping range of the same device deployment area into a single association node.

Citation Information

Patent Citations

  • Comprehensive management method and system for smart park

    CN121810219A

  • Cross-subsystem event-driven linkage control method and system for smart building

    CN121814811A