Alarm information driven passive correlation and linkage method based on spatial attribute meta rule

By using alarm information-driven spatial attribute meta-rules, the linkage of IoT devices is automatically processed, solving the problems of large workload for device binding and rigid rules, and realizing the flexibility and refined operation of device linkage.

CN116347226BActive Publication Date: 2026-07-10SUZHOU IND PARK SURVEYING MAPPING & GEOINFORMATION CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUZHOU IND PARK SURVEYING MAPPING & GEOINFORMATION CO LTD
Filing Date
2023-03-28
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing IoT device linkage control methods suffer from problems such as large workload for device binding, rigid rules, inflexible application scenarios, formalism, and insufficient flexibility.

Method used

A passive association and linkage method based on spatial attribute meta-rules, driven by alarm information, is adopted. By setting event meta-rule parameters, device information and alarm information are obtained, spatial association relationships between devices are established, alarm devices are automatically processed, and cameras are used to adjust the monitoring perspective and control the linkage devices.

Benefits of technology

It achieves automation and flexibility in device linkage, reduces manual binding operations, meets scenario-based and technical requirements, and enables refined operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116347226B_ABST
    Figure CN116347226B_ABST
Patent Text Reader

Abstract

The application discloses an alarm information driven passive association linkage method based on spatial attribute meta rules, relates to the technical field of Internet of Things, and specifically relates to alarm information of an alarm device, constructs a spatial association relationship according to a device spatial point in the alarm information to obtain alarm information of a near neighbor alarm device, extracts an alarm information index of the alarm device with spatial association to construct a rule model for judging an event level, and thus one-time judgment of the event level of the alarm device is completed. Finally, a spatial association relationship rule is constructed according to the alarm device spatial point to obtain a near neighbor linkage device, the visual angle of the linkage device is adjusted to a reference device visual angle, linkage information is issued through a network, a connection with the linkage device is established, and the linkage device is controlled. The application avoids the operation of binding all devices, releases a large number of manual device bindings, and realizes automatic association.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Internet of Things (IoT) technology, and specifically to a passive association and linkage method based on spatial attribute meta-rules driven by alarm information. Background Technology

[0002] Existing IoT device linkage control methods primarily involve binding all devices together. Based on this binding, association rules for specific scenarios are pre-built, and then device alarm linkage is implemented. This method mainly relies on hard rule communication within a specific scenario-specific association rule system. While the rule permissions are clear, the procedures are standardized, and the format is fixed, it suffers from limited coverage and issues such as formalism and insufficient flexibility in implementation. Meta-rules, on the other hand, describe the structure, type, and information of rules—rules about rules. Meta-rules offer greater flexibility; therefore, a passive linkage method based on alarm information-driven spatial attribute meta-rules is needed. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention provides a passive association and linkage method based on spatial attribute meta-rules driven by alarm information, thereby solving the problems of large workload, rigid rules, and inflexible application scenarios in existing technologies.

[0004] To achieve the above objectives, the present invention adopts the following technical solution:

[0005] A passive association and linkage method based on spatial attribute meta-rules and driven by alarm information includes the following steps:

[0006] Step 1: Set the event meta-rule parameters, which include rule name, project, scene information, event type, distance threshold between each group of devices, device event level judgment conditions, and event level;

[0007] Step 2: Obtain information from all devices to form a device information data warehouse; access alarm information from alarm devices to form an alarm information data warehouse;

[0008] Step 3: Group all unprocessed alarm devices by spatial information, sort the alarm devices by alarm time, and obtain the alarm device time series;

[0009] Step 4: Prioritize processing the devices that first alarm and have not yet been processed. Establish spatial relationships between alarm devices in each alarm device group based on the project, scene, event type, and spatial location of the alarm devices to obtain a set of neighboring alarm devices.

[0010] Step 5: Based on the alarm information from the set of neighboring devices and the alarm information from the set of neighboring alarm devices, determine the event level of the device that first alarmed;

[0011] Step 6: Determine whether the neighboring alarm device is in the alarm device time sequence. If it is, classify the neighboring alarm device as processed; otherwise, classify it as unprocessed.

[0012] Step 7: Based on the spatial location information in the alarm information of the nearby alarm devices and the device information data warehouse, establish spatial associations to obtain the nearby linkage devices;

[0013] Step 8: Obtain the nearest linked device to the reference device among the neighboring linked devices, determine the position information of the reference device and the linked devices, the linked devices include cameras, and adjust the camera's monitoring angle to the reference device's angle;

[0014] Step 9: Send linkage information through the network, establish a connection with the linkage device and control the linkage device; update the event meta-rule parameters. If the event meta-rule already exists, proceed to step 10; otherwise, import the event meta-rule parameters configured in steps 2 to 8 into the meta-rule.

[0015] Step 10: Determine if all alarm device sequences have been processed. If so, the process ends; otherwise, proceed to Step 4.

[0016] To optimize the above technical solution, the specific measures also include:

[0017] Furthermore, in step 1, the scene information includes the region, building number, and floor; the distance threshold between each group of devices includes the distance threshold between nearby alarm devices and the distance threshold between nearby linkage devices.

[0018] Furthermore, in step 2, the device information data warehouse stores device ID, device name, project, region, building number, floor, and spatial location; the alarm information data warehouse stores device ID, device name, project, region, building number, floor, event type, spatial location, and alarm time.

[0019] Furthermore, step 3 specifically involves:

[0020] All unprocessed alarm devices in the alarm information data warehouse are grouped by project, region, building number, floor, and event type. The grouping results are marked with the device ID as a unique identifier. In each group, the alarm devices are sorted in ascending order by alarm time to obtain the time series of alarm devices under different projects, regions, buildings, floors, and event types. An alarm information processing flag is added.

[0021] Furthermore, step 4 specifically involves:

[0022] Based on the alarm device grouping, calculate the spatial correlation between the alarm devices, specifically by setting a distance threshold D_arlam for nearby alarm devices = [D_arlam1, D_arlam2, D_arlam3, ..., D_arlam2]. i [,…], where D_arlam i This represents the distance threshold between neighboring alarm devices in the i-th group of alarm devices. If this distance threshold is in the meta-rule, it is directly invoked. Within each group of alarm devices, the device with the earliest alarm time is used as the baseline device. The distances between the devices in the same group and the baseline device are iterated. The distance d between the j-th device in the i-th group and the baseline device is... j The calculation formula is:

[0023] d j =R*arccos(sinb) j *sinb k +cosb j *cosb k *cos(l j -l k ))

[0024] In the formula, (l k b k h k ) represents the spatial location of the reference device, (l j b j h j Let ) be the spatial location of the j-th device in the same group as the reference device, and R be the Earth's radius. If the distance d between the j-th device and the reference device is... j The distance threshold D_arlam of the nearest alarm device is less than the distance threshold of the nearest alarm device. i Then, the j-th device is taken as the associated device; traverse all groups and obtain the associated devices of all groups as the neighbor alarm devices, forming the neighbor alarm device set G_arlam;

[0025] Taking the first alarm device in each group of neighboring alarm devices as the baseline device, calculate the distance between the baseline device and other devices in the device information data warehouse that have the same project, area, building number, floor, and event type as the baseline device; if the distance d between the two devices is less than the neighboring alarm device distance threshold D_arlam i Then, the device that is the same as the reference device in terms of project, region, building number, floor and event type is regarded as the associated device; traverse all neighboring alarm device sets and obtain the associated devices in all neighboring alarm device sets as the neighboring device set.

[0026] Furthermore, step 5 specifically includes:

[0027] The neighboring device group where the m-th reference device belongs is denoted as Am, and the neighboring alarm device group where the m-th reference device belongs is denoted as Bm. The device event level judgment condition f1 = number of devices in Bm / number of devices in Am. The device event level judgment condition f2 = longest alarm duration of devices in Bm. The threshold intervals for judgment condition f1 are set to three intervals: (f1_V1, f1_V2], (f1_V2, f1_V3], and (f1_V3, 1]. f1_V1 is the first threshold of judgment condition f1, f1_V2 is the second threshold of judgment condition f1, and f1_V3 is the third threshold of judgment condition f1. The threshold interval for judgment condition f2 is set to (f2_V1, f1_V2, f1_V3, 1]. The two intervals are (f2_V2] and (f2_V2, +∞), where f2_V1 is the first threshold of judgment condition f2 and f2_V2 is the second threshold of judgment condition f2. A score is assigned to each threshold interval, and the scores of each threshold interval are weighted and summed to obtain a comprehensive score R. A comprehensive score threshold [R1, R2, R3] is set. The device event level is marked according to the interval range where the comprehensive score of the device event that first alarms falls. Events falling in the interval (R1, R2] are marked as level 1, events falling in the interval (R2, R3] are marked as level 2, and events falling in the interval (R3, +∞) are marked as level 3. If the above device event level judgment condition is in the meta rule, it is directly called.

[0028] Furthermore, step 7 specifically includes:

[0029] Set the distance threshold D_linkage for each neighboring alarm device group in the neighboring alarm device set to [D_linkage1, D_linkage2, D_linkage3, ..., D_linkage...]. i If the distance threshold of this neighboring linked device is in the meta-rule, then it is called directly; where D_linkage i This represents the distance threshold for neighboring devices in the i-th group of neighboring alarm devices. Based on the reference device in the neighboring alarm device group, traverse the devices named "camera" in the device information data warehouse, find the camera devices whose project, area, building number, and floor are all consistent with the reference device, and calculate the distance between each camera device and the reference device:

[0030] d q =R*arccos(sinb) q *sinb n +cosb q *cosb n *cos(l q -l n ))

[0031] In the formula, d qb represents the distance between the q-th camera device and the reference device. q Let l be the latitude of the q-th camera device. q Let b be the longitude of the q-th camera device. n For the latitude of the reference device, l n The longitude of the reference device;

[0032] If the distance between the camera device and the reference device is less than the distance threshold D_linkage of the nearest linked device i If it is, then it is determined to be a neighboring linkage device of the reference device.

[0033] Furthermore, step 8 specifically includes:

[0034] Calculate the distance d between the nearest linked device and the reference device. j :

[0035] d j =R*arccos(sinb) j *sinb i +cosb j *cosb i *cos(l j -l i ))

[0036] Calculate the angle α between the nearest linkage device and the reference device. j :

[0037] α j =arccos(sinb j *sinb i +cosb j *cosb i *cos(l j -l i ))

[0038] Calculate the elevation angle β between the nearest linkage device and the reference device. j :

[0039] β j =arctan(hi-hj) / d j

[0040] In the formula, (l j b j h j ) represents the position coordinates of the linkage device, (l i b i h i () represents the position coordinates of the reference device;

[0041] Adjust the camera's monitoring angle to the reference device's angle.

[0042] The beneficial effects of this invention are:

[0043] Spatial attribute meta-rules driven by alarm information avoid binding all devices, de-binding a large number of manual devices, and achieving automated association. Meta-rules complement the rules, enabling flexible configuration of association rules for different alarm information, achieving truly refined operation, and meeting the characteristics of scenario-based, technical, and flexible operation. Attached Figure Description

[0044] Figure 1 This is a framework diagram of the present invention. Detailed Implementation

[0045] The invention will now be described in further detail with reference to the accompanying drawings.

[0046] This invention proposes a passive linkage method based on spatial attribute meta-rules driven by alarm information. In this invention, a meta-rule is a fundamental rule that can construct different event level judgment rule models based on different alarm information and obtain the linked devices. It is a rule built upon various other rules. This embodiment takes the application scenario of interconnecting various IoT devices in a certain area to prevent fire hazards as an example. The specific process of this method is as follows: Figure 1 As shown, it includes the following steps:

[0047] Step 1: Set the event meta-rule parameters. The meta-rule parameters include rule name, project, scene information, event type, distance threshold between each group of devices, device event level judgment conditions, and event level; scene information includes the area, building number, and floor; scene information is the basis for grouping devices; the distance threshold between each group of devices includes the distance threshold for nearby alarm devices and the distance threshold for nearby linkage devices.

[0048] Step 2: Obtain information from all devices to form a device information data warehouse; access alarm information from alarm devices to form an alarm information data warehouse; the device information data warehouse stores device ID, device name, project, region, building number, floor, and location; the alarm information data warehouse stores device ID, device name, project, region, building number, floor, event type, location, and alarm time. The device information data warehouse is shown in Table 1. Table 1: Device Information Data Warehouse

[0049]

[0050] The alarm information data warehouse is shown in Table 2.

[0051] Table 2 Alarm Information Data Warehouse

[0052]

[0053] Step 3: Group all unprocessed alarm devices by spatial information and sort them by alarm time to obtain the alarm device time series. Specifically, group all unprocessed alarm devices in the alarm information data warehouse by project, region, building number, floor, and event type, using the device ID as a unique identifier to mark the grouping results. Within each group, sort the alarm devices in ascending order of alarm time to obtain alarm device time series under different projects, regions, buildings, floors, and event types. Add a flag indicating whether the alarm information has been processed. The priority sorting of the alarm information data warehouse is shown in Table 3.

[0054] Table 3. Priority Ranking of Alarm Information Data Warehouse

[0055]

[0056] The grouping results are uniquely identified by the device ID. The specific grouping results are G = {[004, 002, 005]1,

[007] 2, [009, 011]3, ..., [100, 112, ...} i ...}, where [004, 002, 005]1,

[007] 2, [009, 011]3, [100, 112, ...] i They respectively form group 1, group 2, group 3 and group i;

[0057] Step 4: Prioritize processing the devices that first alarm and have not yet been processed. Establish spatial relationships between alarm devices in each alarm device group based on the project, scene, event type, and spatial location of the alarm devices. Set the distance threshold for nearest neighbor alarm devices as D_arlam = [D_arlam1, D_arlam2, D_arlam3, ..., D_arlam i [,…], where D_arlam i This represents the distance threshold between neighboring alarm devices in the i-th group of alarm devices. If this distance threshold is in the meta-rule, it is directly invoked. Within each group of alarm devices, the device with the earliest alarm time is used as the baseline device. The distances between the devices in the same group and the baseline device are iterated. The distance d between the j-th device in the i-th group and the baseline device is... j The calculation formula is:

[0058] d j =R*arccos(sinb) j *sinb k +cosb j *cosb k *cos(l j -lk ))

[0059] In the formula, (l k b k h k ) represents the spatial location of the reference device, (l j b j h j Let ) be the spatial location of the j-th device in the same group as the reference device, and R be the Earth's radius. If the distance d between the j-th device and the reference device is... j The distance threshold D_arlam of the nearest alarm device is less than the distance threshold of the nearest alarm device. i Then the j-th device is designated as the associated device;

[0060] For example, in Group 1, the distance d2 between device 002 and device 004 is calculated as d2 = R*arccos(sinb2*sinb4+cosb2*cosb4*cos(l2-l4)). Device 004 is taken as the reference device, (l4, b4, h4) is the spatial location of the reference device, and (l2, b2, h2) is the spatial location of device 002. Since d2 is less than the nearest neighbor alarm device distance threshold in Group 1, device 002 is considered an associated device.

[0061] Iterate through all groups and obtain the associated devices of all groups as the nearest alarm devices, forming a set of nearest alarm devices G_arlam;

[0062] G_arlam={[004,002]1,

[007] 2,[009,011]3,…,[100,…] i [004, 002]1 constitutes a proximity alarm device group with device 004 as the reference device,

[007] 2 constitutes a proximity alarm device group with device 007 as the reference device, [009, 011]3 constitutes a proximity alarm device group with device 009 as the reference device, [100, ...] i This constitutes a group of neighbor alarm devices with device number 100 as the reference device.

[0063] Taking the first alarm device in each group of neighboring alarm devices as the baseline device, calculate the distance between the baseline device and other devices in the device information data warehouse that have the same project, area, building number, floor, and event type as the baseline device; if the distance d between the two devices is less than the neighboring alarm device distance threshold D_arlam i Then, the device that is the same as the reference device in terms of project, region, building number, floor and event type is regarded as the associated device; traverse all neighboring alarm device sets and obtain the associated devices in all neighboring alarm device sets as the neighboring device set.

[0064] {(004|001,002,003,006)1,(007|008)2,(009|010,011)3,…,(100|…) i , ...} represents a group of nearest neighbor devices, such as (004|001, 002, 003, 006)1 forming a nearest neighbor group with device 004 as the reference device, (007|008)2 forming a nearest neighbor group with device 007 as the reference device, (009|010, 011)3 forming a nearest neighbor group with device 009 as the reference device, (100|... i This forms a group of neighboring devices with device number 100 as the reference device.

[0065] Step 5: Based on the alarm information from the neighboring device set and the alarm information from the neighboring alarm device set, determine the event level of the device that first triggered the alarm; specifically:

[0066] The neighboring device group where the m-th reference device belongs is denoted as Am, and the neighboring alarm device group where the m-th reference device belongs is denoted as Bm. The device event level judgment condition f1 = number of devices in Bm / number of devices in Am. The device event level judgment condition f2 = longest alarm duration of devices in Bm. The threshold intervals for judgment condition f1 are set to three intervals: (f1_V1, f1_V2], (f1_V2, f1_V3], and (f1_V3, 1]. f1_V1 is the first threshold of judgment condition f1, f1_V2 is the second threshold of judgment condition f1, and f1_V3 is the third threshold of judgment condition f1. The threshold interval for judgment condition f2 is set to (f2_V1, f1_V2, f1_V3, 1]. The two intervals are (f2_V2] and (f2_V2, +∞), where f2_V1 is the first threshold of judgment condition f2 and f2_V2 is the second threshold of judgment condition f2. A score is assigned to each threshold interval, and the scores of each threshold interval are weighted and summed to obtain a comprehensive score R. A comprehensive score threshold [R1, R2, R3] is set. The device event level is marked according to the interval range where the comprehensive score of the device event that first alarms falls. Events falling in the interval (R1, R2] are marked as level 1, events falling in the interval (R2, R3] are marked as level 2, and events falling in the interval (R3, +∞) are marked as level 3. If the above device event level judgment condition is in the meta rule, it is directly called.

[0067] For example, (004|001, 002, 003, 006) is denoted as A4, and [004, 002] is denoted as B4. The device event level judgment condition is f1 = number of devices in B4 / number of devices in A4, and f2 = longest alarm duration of devices in B4. The event level judgment scores are shown in Table 4.

[0068] Table 4 Event Level Score Table

[0069]

[0070] Step 6: Determine whether the neighboring alarm device is in the alarm device time sequence. If it is, classify the neighboring alarm device as processed; otherwise, classify it as unprocessed.

[0071] Step 7: Based on the spatial location information from the alarm information of the nearby alarm devices and the device information data warehouse, establish spatial relationships to obtain the nearby linkage devices; specifically:

[0072] Set the distance threshold D_linkage for each neighboring alarm device group in the neighboring alarm device set to [D_linkage1, D_linkage2, D_linkage3, ..., D_linkage...]. i If the distance threshold of this neighboring linked device is in the meta-rule, then it is called directly; where D_linkage i This represents the distance threshold for neighboring devices in the i-th group of neighboring alarm devices. Based on the reference device in the neighboring alarm device group, traverse the devices named "camera" in the device information data warehouse, find the camera devices whose project, area, building number, and floor are all consistent with the reference device, and calculate the distance between each camera device and the reference device:

[0073] d q =R*arccos(sinb) q *sinb n +cosb q *cosb n *cos(l q -l n ))

[0074] In the formula, d q b represents the distance between the q-th camera device and the reference device. q Let l be the latitude of the q-th camera device. q Let b be the longitude of the q-th camera device. n For the latitude of the reference device, l n The longitude of the reference device;

[0075] If the distance between the camera device and the reference device is less than the distance threshold D_linkage of the nearest linked device i If it is, then it is determined to be a neighboring linkage device of the reference device.

[0076] [004, 002]1 forms a neighbor alarm device group with device 004 as the reference device. Taking this as an example, traverse the devices in Table 1 whose device name is camera, find the camera device whose project, area, building number, and floor are consistent with the reference device, calculate the distance between device 004 and the camera device, if it is less than the neighbor linkage device distance threshold D_linkage1, it is determined to be a neighbor linkage device, and the neighbor linkage device (004|013,014) is obtained. Similarly, the neighbor linkage device whose distance from the reference device 002 is less than the distance threshold D_linkage1, whose name is camera and whose project, area, building number, and floor are consistent with the device ID 002 is (002|015). Then the neighbor linkage devices of the neighbor alarm device group [004, 002]1 are 013, 014, and 015, which are recorded as [(004|013,014),(002|015)].

[0077] Step 8: Obtain the nearest linked device to the reference device among the neighboring linked devices, determine the location information of the reference device and the linked devices, wherein the linked devices include cameras, and adjust the camera's monitoring angle to the reference device's angle; specifically:

[0078] Calculate the distance d between the nearest linked device and the reference device. j :

[0079] d j =R*arccos(sinb) j *sinb i +cosb j *cosb i *cos(l j -l i ))

[0080] Calculate the angle α between the nearest linkage device and the reference device. j :

[0081] α j =arccos(sinb j *sinb i +cosb j *cosb i *cos(l j -l i ))

[0082] Calculate the elevation angle β between the nearest linkage device and the reference device. j :

[0083] β j =arctan(hi-hj) / d j

[0084] In the formula, (l j b j h j ) represents the position coordinates of the linkage device, (l i b i h i () represents the position coordinates of the reference device;

[0085] Adjust the camera's monitoring angle to the reference device's angle.

[0086] Step 9: Send linkage information through the network, establish a connection with the linkage device and control the linkage device; update the event meta-rule parameters. If the event meta-rule already exists, proceed to step 10; otherwise, import the event meta-rule parameters configured in steps 2 to 8 into the meta-rule.

[0087] Step 10: Determine if all alarm device sequences have been processed. If so, the process ends; otherwise, proceed to Step 4.

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

Claims

1. A passive association and linkage method based on spatial attribute meta-rules driven by alarm information, characterized in that, Includes the following steps: Step 1: Set the event meta-rule parameters, which include rule name, project, scene information, event type, distance threshold between each group of devices, device event level judgment conditions, and event level; Step 2: Obtain information from all devices to form a device information data warehouse; access alarm information from alarm devices to form an alarm information data warehouse; Step 3: Group all unprocessed alarm devices by spatial information, sort the alarm devices by alarm time, and obtain the alarm device time series; Step 4: Prioritize processing the devices that first alarm and have not yet been processed. Establish spatial relationships between alarm devices in each alarm device group based on the project, scene, event type, and spatial location, thus obtaining a set of nearest neighbor alarm devices; Step 4 specifically involves: Based on the alarm device grouping, calculate the spatial correlation between the alarm devices, specifically by setting a distance threshold D_arlam for nearby alarm devices: D_arlam=[ D_arlam1, D_arlam2, D_arlam3,…, D_arlam i [,…], where D_arlam i Indicates the first i The nearest neighbor alarm device distance threshold for a group of alarm devices is used. If this nearest neighbor alarm device distance threshold is in the meta-rule, it is directly invoked. Within each group of alarm devices, the device with the earliest alarm time is used as the baseline device. The distances between the baseline device and other devices in the same group are iterated, and the distances between the baseline device and other devices in the same group are calculated. i Group 1 j Distance between the device and the reference device d j The calculation formula is: In the formula, ( l k , b k , h k ) is the spatial location of the reference device, ( l j , b j , h j ) is the first in the same group as the reference device j Spatial location of the equipment R Let be the Earth's radius, if the th j Distance between the platform equipment and the reference equipment d j The distance threshold D_arlam of the nearest alarm device is less than the distance threshold of the nearest alarm device. i Then the first j Each device is considered an associated device; all groups are traversed to obtain the associated devices of each group as neighbor alarm devices, forming a neighbor alarm device set G_arlam; Using the first alarm device in each group of neighboring alarm devices as the baseline device, calculate the distance between the baseline device and other devices in the device information data warehouse that have the same project, region, building number, floor, and event type. If the distance between two devices... d The distance threshold D_arlam of the nearest alarm device is less than the distance threshold of the nearest alarm device. i Then, the device that has the same project, area, building number, floor and event type as the reference device is regarded as the associated device; traverse all neighboring alarm device sets and obtain the associated devices in all neighboring alarm device sets as the neighboring device set; Step 5: Based on the alarm information from the set of neighboring devices and the alarm information from the set of neighboring alarm devices, determine the event level of the device that first triggered the alarm; Step 5 specifically involves: No. m The nearest neighbor group to which the reference device is located is denoted as Am , No. m The nearest alarm device group where the reference device is located is denoted as Bm Device event level judgment condition f1= Bm Number of devices / Am Number of devices, device event level judgment condition f2= Bm The longest alarm duration for the device is determined by setting the threshold range for judgment condition f1 as three intervals: (f1_V1, f1_V2], (f1_V2, f1_V3], and (f1_V3, 1]. Here, f1_V1 is the first threshold for judgment condition f1, f1_V2 is the second threshold, and f1_V3 is the third threshold. The threshold range for judgment condition f2 is set as (f2_V1, ..., f1_V2], ... The intervals are f2_V1 and (f2_V2, +∞). f2_V1 is the first threshold of judgment condition f2, and f2_V2 is the second threshold of judgment condition f2. A score is assigned to each threshold interval. The scores of each threshold interval are weighted and summed to obtain a comprehensive score R. The comprehensive score thresholds [R1, R2, R3] are set. The device event level is marked according to the interval range where the comprehensive score of the device event that first alarms falls. Events falling in the interval (R1, R2) are marked as level 1, events falling in the interval (R2, R3) are marked as level 2, and events falling in the interval (R3, +∞) are marked as level 3. If the above device event level judgment condition is in the meta rule, it is directly called. Step 6: Determine whether the neighboring alarm device is in the alarm device time sequence. If it is, classify the neighboring alarm device as processed; otherwise, classify it as unprocessed. Step 7: Based on the spatial location information and device information data warehouse from the alarm information of the nearby alarm devices, establish spatial relationships to obtain the nearby linkage devices; Step 7 specifically involves: Set the distance threshold for neighboring linked devices in each neighboring alarm device group of the neighboring alarm device set: D_linkage=[D_linkage1, D_linkage2, D_linkage3,…, D_linkage…] i If the distance threshold of this neighboring linked device is in the meta-rule, then it is called directly; where D_linkage i Indicates the first i Distance threshold for neighboring alarm devices in a group; Based on the baseline device in the nearest alarm device group, traverse the devices with the device name "camera" in the device information data warehouse, find the camera devices whose project, area, building number, and floor are all consistent with the baseline device, and calculate the distance between each camera device and the baseline device: In the formula, d q Indicates the first q The distance between each camera device and the reference device b q For the first q The latitude of each camera device l q For the first q Longitude of each camera device b n The latitude of the reference device, l n The longitude of the reference device; If the distance between the camera device and the reference device is less than the distance threshold D_linkage of the nearest linked device i If so, it is determined to be a neighboring linked device of the reference device; Step 8: Obtain the nearest linked device to the reference device among the neighboring linked devices, determine the position information of the reference device and the linked devices, the linked devices include cameras, and adjust the camera's monitoring angle to the reference device's angle; Step 9: Send linkage information via the network, establish a connection with the linkage equipment, and control the linkage equipment; Update the event meta-rule parameters. If the event meta-rule already exists, proceed to step 10; otherwise, import the event meta-rule parameters configured in steps 2 to 8 into the meta-rule. Step 10: Determine if all alarm device sequences have been processed. If so, the process ends; otherwise, proceed to Step 4.

2. The alarm information-driven passive association linkage method based on spatial attribute meta-rules according to claim 1, characterized in that, In step 1, the scene information includes the area, building number, and floor; the distance threshold between each group of devices includes the distance threshold between nearby alarm devices and the distance threshold between nearby linkage devices.

3. The alarm information-driven passive association linkage method based on spatial attribute meta-rules according to claim 1, characterized in that, In step 2, the device information data warehouse stores device ID, device name, project, region, building number, floor, and spatial location; the alarm information data warehouse stores device ID, device name, project, region, building number, floor, event type, spatial location, and alarm time.

4. The alarm information-driven passive association linkage method based on spatial attribute meta-rules according to claim 1, characterized in that, Step 3 specifically involves: All unprocessed alarm devices in the alarm information data warehouse are grouped by project, region, building number, floor, and event type. The grouping results are marked with the device ID as a unique identifier. In each group, the alarm devices are sorted in ascending order by alarm time to obtain the time series of alarm devices under different projects, regions, buildings, floors, and event types. An alarm information processing flag is added.

5. The alarm information-driven passive association linkage method based on spatial attribute meta-rules according to claim 1, characterized in that, Step 8 specifically includes: Calculate the distance between the nearest linked device and the reference device. : Calculate the angle between the nearest linkage device and the reference device. : Calculate the elevation angle between the nearest linkage device and the reference device. : In the formula, ( l j , b j , h j ) represents the position coordinates of the linked equipment, l i , b i , h i () represents the position coordinates of the reference device; Adjust the camera's monitoring angle to the reference device's angle.