Intrusion detection system and intrusion detection method
By using the combination of multiple IoT devices and central control devices in the intrusion detection system, the establishment of dynamic scheduling and sensing pairing lists is solved, and the problems of detection blind spots and reaction time delays in existing systems are achieved, and a wider detection is achieved Range and higher detection accuracy.
Patent Information
- Application Number
- CN202411015809.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-07-28
- Filing Date
- 2024-07-26
- Publication Date
- 2025-02-14
AI Technical Summary
The existing intrusion detection systems have problems with blind spots and delayed reaction time, which cannot effectively expand the detection range and is costly.
By combining multiple IoT devices and central control devices, multiple sensing pairing and signal transmission and reception between IoT devices are realized through the establishment of dynamic scheduling and sensing pairing list, and the sensing range is dynamically adjusted to reduce blind spots.
It realizes that the detection range is expanded, potential blind spots are reduced, and the response speed and accuracy of intrusion detection is improved without increasing hardware costs.
Smart Images

Figure CN119450479A_ABST
Abstract
Description
Technical Field
[0001] This case involves a detection system and a detection method, and in particular, an intrusion detection system and an intrusion detection method. Background Art
[0002] Existing intrusion detection systems use paired wireless sensing devices, such as paired infrared sensors, where one device is the transmitter and the other is the receiver, sending infrared rays from the transmitter to the receiver. When the receiver does not receive the infrared signal, it means that the infrared rays are blocked. In other words, the intrusion detection system detects the intrusion status by whether the wireless sensing signal of the paired wireless sensing devices is blocked. However, the wireless sensing devices must be paired in pairs and fixedly paired to perform intrusion detection. This limitation makes the detection range fixed and cannot be changed, causing potential blind spots. If you want to expand the detection range, you need to add paired sensing devices, which leads to the problem of rising costs.
[0003] In addition, the existing intrusion detection system has no flexibility in the configuration of wireless sensing devices. If the sensing distance between paired wireless sensing devices is made longer in order to expand the detection range, even if an intruder is detected, the response time for obtaining the intruder's location coordinates will be delayed.
[0004] Therefore, the problems of detection blind spots and response time delay in existing intrusion detection systems are what those skilled in the art would like to overcome. Summary of the invention
[0005] According to one embodiment of the present case, an intrusion detection system is proposed, including multiple IoT devices and a central control device. Each IoT device is respectively set at a spatial position and configured to send and receive sensing signals. The central control device is communicatively connected to the multiple IoT devices and is configured to: obtain multiple sensing pairs of multiple IoT devices in pairs; enable multiple IoT devices to send and receive signals in each sensing pairing to obtain the characteristics of multiple sensing pairs; establish a sensing pairing list including multiple sensing pairs and the characteristics of each sensing pairing; obtain multiple first pairings with characteristics that meet the first characteristic condition from the sensing pairing list; dynamically schedule multiple IoT devices belonging to multiple first pairings to send and receive signals in time-sharing to obtain the first sensing signal of each first pairing; if it is determined that the first sensing signal meets the suspected intrusion condition, mark the first pairing with a first status code, otherwise mark it with a second status code; and based on the pairing nodes of multiple first pairings, respectively count the first status codes and second status codes of the multiple first pairings to which the pairing nodes belong, so as to determine whether there is an intrusion condition in the spatial position.
[0006] According to another embodiment of the present case, an intrusion detection method is proposed, which is applied to multiple IoT devices and a central control device. Each IoT device is respectively arranged at a spatial position and configured to send and receive sensing signals, and the sensing signals are received by the central control device that is communicatively connected to the multiple IoT devices. The intrusion detection method includes the following steps: obtaining multiple sensing pairs of multiple IoT devices in pairs; allowing multiple IoT devices to send and receive signals in each sensing pairing to obtain the characteristics of multiple sensing pairs; establishing a sensing pairing list including multiple sensing pairs and the characteristics of each sensing pairing; obtaining multiple first pairs of characteristics that meet the first characteristic condition from the sensing pairing list; dynamically scheduling multiple IoT devices belonging to multiple first pairs to send and receive signals in time-sharing to obtain the first sensing signals of each first pairing; if it is determined that the first sensing signal meets the suspected intrusion condition, then marking the first pairing with a first status code, otherwise marking it with a second status code; and based on the pairing nodes of multiple first pairings, respectively counting the first status codes and second status codes of the multiple first pairings to which the pairing nodes belong, to determine whether there is an intrusion condition in the spatial position. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 A schematic diagram showing that an intrusion detection system has a blind spot when performing detection in some cases;
[0008] Figure 2 A schematic diagram of an intrusion detection system in other cases where the intrusion detection system cannot react to the intruder in real time when performing detection;
[0009] Figure 3 is a schematic diagram of an intrusion detection system according to an embodiment of the present invention;
[0010] Figure 4 This is a schematic diagram showing an IoT device being set in an application scenario according to an embodiment of the present invention;
[0011] Figure 5 This is a flow chart of an intrusion detection method according to an embodiment of the present invention;
[0012] Figures 6 to 8 A schematic diagram showing a method of obtaining sensing signals of all sensing pairs in a time-sharing manner according to an embodiment of the present invention;
[0013] Fig. 9 is a schematic diagram of a first pairing according to an embodiment of the present invention;
[0014] Fig.10 A schematic diagram of marking a first status code or a second status code for a first pairing according to an embodiment of the present invention;
[0015] Fig.11 This is a schematic diagram showing a second pairing according to an embodiment of the present invention;
[0016] Fig.12 is a schematic diagram of a second sensing signal showing characteristics and sampling time according to an embodiment of the present invention;
[0017] Fig.13 This is a schematic diagram showing a third pairing according to an embodiment of the present invention;
[0018] Fig.14 is a schematic diagram of a third sensing signal showing characteristics and sampling time according to an embodiment of the present invention;
[0019] Fig.15 , Fig.16A and Fig. 16B is a flow chart of an intrusion detection method according to another embodiment of the present invention;
[0020] Fig.17 This is a schematic diagram of an IoT device set in an application scenario according to another embodiment of the present invention;
[0021] Fig.18 Based on this case Fig.17 A schematic diagram of obtaining multiple sensing pairs as shown in the application scenario;
[0022] Fig.19 This is a schematic diagram showing a second pairing according to an embodiment of the present invention;
[0023] Fig. 20 This is a schematic diagram showing a third pairing according to an embodiment of the present invention;
[0024] Fig.21 FIG. 1 is a schematic diagram of sensing pairing of an IoT device E set to an AP mode during a first period;
[0025] Fig. 22 FIG. 1 is a schematic diagram of sensing pairing of IoT device A set to AP mode during the second period;
[0026] Fig.23 FIG. 1 is a schematic diagram of sensing pairing of IoT device C set to AP mode during the third period;
[0027] Fig.24 This is a schematic diagram of marking all first pairings according to an embodiment of the present invention;
[0028] Fig.25 This is a schematic diagram of marking all first pairings according to another embodiment of the present invention;
[0029] Fig.26 is a block diagram of a central control device according to an embodiment of the present invention;
[0030] Fig. 27FIG. 4 is a block diagram of an IoT device according to an embodiment of the present invention.
[0031] Description of Figure Numbers
[0032] 123: Spatial Range
[0033] 111: Bedroom
[0034] 113: Toilet
[0035] 115: Bedroom
[0036] 117: Living Room
[0037] 300:Intrusion Detection System
[0038] 310: Central control device
[0039] 330: IoT Devices
[0040] 350: Communication Network
[0041] 312, 332: Communication module
[0042] 314, 334: Processor
[0043] 316, 336: Storage media
[0044] 322: Pairing selection module
[0045] 324: sensor data collection module
[0046] 326: Sensing result calculation module
[0047] 342: Configuration module
[0048] 344: Pairing module
[0049] 346: Sensor data reporting module
[0050] A, B, C, D, E: IoT devices
[0051] Thr_AC, Thr_BD, Thr_AC, Thr_BD: Threshold value
[0052] S510~S570、S1505~S1592: Steps DETAILED DESCRIPTION
[0053] The present invention will be further described below in conjunction with the accompanying drawings and embodiments so that relevant persons in the technical field to which the present invention belongs can better understand the present invention and implement it accordingly, but the embodiments are not intended to limit the present invention.
[0054] As used herein, terms such as "first," "second," "third," "fourth," and "fifth" describe various components, assemblies, regions, layers, and / or portions, which should not be limited by these terms. These terms may only be used to distinguish one element, component, region, layer, or portion from another. Unless the context clearly indicates, terms such as "first," "second," "third," "fourth," and "fifth" as used herein do not imply a sequence or order.
[0055] Figure 1 The diagram is a schematic diagram showing that in some cases, an intrusion detection system has blind spots when performing detection.
[0056] A plurality of Internet of Things (IoT) devices (hereinafter referred to as IoT devices) A, B, C, and D are set up in a home environment. IoT devices A, B, C, and D can be smart home appliances such as lamps, sockets, and refrigerators. In other sensing environments, IoT devices A, B, C, and D can be devices with wireless communication modules that can send and receive wireless signals.
[0057] like Figure 1 As shown, IoT device A and IoT device D are configured in pairs, and IoT device B and IoT device C are configured in pairs. This configuration allows a shorter detection distance and can respond to intruders in a more real-time manner, but cannot detect the spatial range 123, resulting in a sensing blind spot.
[0058] Figure 2 It is a schematic diagram showing that in some other cases, the intrusion detection system cannot respond to the intruder in real time during detection.
[0059] IoT device A and IoT device B are configured in pairs, and IoT device C and IoT device D are configured in pairs. This configuration allows a larger detection range and can avoid the problem of blind spots, but when there is an intruder in the detection space range 123, it will cause a long reaction time and fail to respond to the intrusion situation in real time.
[0060] Figure 3 FIG. 4 is a schematic diagram of an intrusion detection system according to an embodiment of the present invention.
[0061] The intrusion detection system 300 includes a central control device 310 and a plurality of IoT devices 330 .
[0062] The IoT device 330 has an identifier for identifying the IoT device 330. The IoT device 330 can act as a sender to send a sensing signal, or can act as a receiver to receive a sensing signal sent by another IoT device 330.
[0063] The central control device 310 obtains data of each IoT device 330 through the communication network 350 and controls each IoT device 330. The data of the IoT device 330 obtained by the central control device 310 may be an identifier of the IoT device 330 and a sensing signal received when the IoT device 330 acts as a receiving end.
[0064] In one embodiment, if all IoT devices 330 are regarded as multiple nodes and the pairs between IoT devices 330 are regarded as edges between nodes, all paired-combinations between IoT devices 330 can form a complete graph. In other words, the central control device 310 will try to obtain the sensing signals communicated between each IoT device 330 and all other IoT devices 330.
[0065] The central control device 310 sets a device role for the IoT device 330. The IoT device 330 sends and receives signals according to the device role. The device role can be a station (STA) mode, a wireless access point (AP) mode, or a sniffing (sniffer) mode. In one embodiment, the device role is set based on Wi-Fi wireless network technology. For example, the IoT device 330 set to the station mode will receive the Service Set Identifier (SSID) broadcast by the IoT device 330 set to the wireless access mode to connect to the IoT device 330 set to the AP mode, and send a sensing signal to the IoT device 330 in the AP mode. The IoT device 330 set to the wireless access mode will receive the sensing signals of the IoT device 330 set to the station mode based on the wireless communication protocol. The IoT device 330 in the sniffing mode receives the sensing signal sent by the IoT device 330 by copying the packet captured in the network environment.
[0066] Figure 4 This is a schematic diagram showing an IoT device being arranged in an application scenario according to an embodiment of the present invention.
[0067] The application scenario may be a home environment, including bedrooms 111 and 115, toilet 113, and living room 117. In the home environment, four IoT devices A, B, C, and D are provided. IoT device A is provided in a corner of bedroom 111; IoT device B is provided in a corner of bedroom 115; IoT device C and IoT device D are provided in two corners of living room 117, respectively.
[0068] IoT devices A, B, C and D have sensing or identification functions and transmit the sensed or measured data to the central control device 310 (via the gateway or communication network 350). IoT devices A, B, C and D can be smart home appliances with networking functions such as refrigerators, televisions, lamps, air conditioners, rice cookers, sockets, electricity meters, gas meters, and water meters.
[0069] The IoT devices A, B, C and D are devices that perform sensing functions or identification functions. On the other hand, the IoT devices can be configured to perform STA mode, AP mode and monitoring mode to send and receive sensing signals.
[0070] The central control device 310 can pair IoT devices A, B, C, and D in any order, and perform intrusion detection in combination with dynamical timeshare sensing.
[0071] Figure 5 FIG. 4 is a flow chart of an intrusion detection method according to an embodiment of the present invention.
[0072] The intrusion detection method is applied to multiple IoT devices 330 and a central control device 310 (such as Figure 3 ). Each IoT device 330 is disposed at a spatial location and configured to send and receive sensing signals.
[0073] In step S510 , the central control device 310 obtains a plurality of sensor pairs of a plurality of IoT devices in pairs.
[0074] In step S520 , the central control device 310 enables the plurality of IoT devices 330 to send signals to obtain characteristics of a plurality of sensing pairs.
[0075] In step S530 , the central control device 310 creates a sensing pairing list including a plurality of sensing pairs and a feature of each sensing pairing.
[0076] In step S540 , the central control device 310 obtains a plurality of first pairings having characteristics satisfying a first characteristic condition from the sensing pairing list.
[0077] In step S550 , the central control device 310 dynamically schedules multiple IoT devices belonging to multiple first pairings to send and receive signals in a time-sharing manner to obtain the first sensing signal of each first pairing.
[0078] In step S560 , if the first sensing signal satisfies the first intrusion condition, the central control device 310 marks the first pairing with a first status code, otherwise, marks the first pairing with a second status code.
[0079] In step S570 , the central control device 310 counts the first status codes and the second status codes of the first pairings to which each paired node belongs based on the first paired paired nodes to determine whether there is an intrusion condition in the spatial position.
[0080] For ease of explanation, the following is combined Figure 4 The application scenario of the intrusion detection method is used to illustrate the various steps of the intrusion detection method.
[0081] The central control device 310 obtains multiple sensing pairs of IoT devices A, B, C and D in pairs (step S510) and obtains the characteristics of each sensing pair (step S520). In one embodiment, the central control device 310 sets IoT devices A, B, C and D in AP mode in turn to receive sensing signals, thereby obtaining sensing signals of all sensing pairs. In addition, an IoT device 330 in AP mode can only receive a sensing signal from an IoT device 330 set to STA mode at the same time, so it is necessary to receive the sensing signal in turn (such as time-sharing multitasking) to avoid collision.
[0082] An IoT device in monitoring mode can receive sensing signals from one or more IoT devices. Therefore, the more IoT devices are set to AP mode and monitoring mode, the more sensing signals of sensing pairs can be obtained at the same time, and the faster the sensing signals of all sensing pairs can be obtained.
[0083] The pairing of two IoT devices is represented by a colon. For example, the pairing of IoT device A and IoT device B is represented as "pairing A:B", which means that IoT device A is in STA mode and sends a sensing signal to IoT device B in AP mode or listening mode, or IoT device B sends a sensing signal to IoT device A. In other words, in the same set of sensing pairing, the characteristics of the sensing signal sent by IoT device A to IoT device B and the characteristics of the sensing signal sent by IoT device B to IoT device A are considered to be the same.
[0084] In one embodiment, the central control device 310 specifies the transmission power and subcarrier of the IoT device in STA mode.
[0085] In one embodiment, the sensing pairing feature refers to a wireless communication signal sent by the communication module, such as a received signal strength indication (RSSI), a channel state information (CSI), an Internet Control Message Protocol (ICMP) request / reply message (e.g., a ping value), etc.
[0086] Figures 6 to 8 The present invention is a schematic diagram showing a method of acquiring sensing signals of all sensing pairs in a time-sharing manner according to an embodiment.
[0087] The central control device 310 pre-arranges the order of the IoT devices D, C, and B so that the IoT devices D, C, and B operate in AP mode in turn.
[0088] like Figure 6 As shown, in the first period T1 (duration), IoT device D is set to AP mode, so three sets of sensing pairs A:D, B:D and C:D are established according to the order of IoT devices A, B and C, and the sensing signals of each sensing pair are obtained. For example, in the first sub-period T1.1, IoT device A sends a sensing signal to IoT device D; in the second sub-period T1.2, IoT device B sends a sensing signal to IoT device D; in the third sub-period T1.3, IoT device C sends a sensing signal to IoT device D. The first sub-period T1.1, the second sub-period T1.2 and the third sub-period T1.3 are successive sub-periods. Therefore, the central control device 310 can obtain the characteristics of the sensing signals of the three sets of sensing pairs in the first period T1.
[0089] like Figure 7 As shown, in the second period T2, IoT device C is set to AP mode, so two sets of sensing pairs A:C and B:C are established according to the order of IoT devices A and B, and the sensing signals of each sensing pair are obtained. For example, in the first sub-period T2.1, IoT device A sends a sensing signal to IoT device C; in the second sub-period T2.2, IoT device B sends a sensing signal to IoT device C. The first sub-period T2.1 and the second sub-period T2.2 are successive sub-periods. Therefore, the central control device 310 can obtain the characteristics of the sensing signals of the two sets of sensing pairs in the second period T2.
[0090] like Figure 8As shown, in the third period T3, IoT device B is set to AP mode, so a sensing pair A:B can be established and a sensing signal can be obtained. For example, in the first sub-period T3.1, IoT device A sends a sensing signal to IoT device B. Therefore, the central control device 310 can obtain the characteristics of the sensing signal of a sensing pair in the third period T3.
[0091] based on Figures 6 to 8 In the process of establishing the sensing pairing, the central control device 310 can obtain the characteristics of the sensing signals of the six sensing pairs and each sensing pairing (hereinafter referred to as the characteristics of the sensing pairing). The central control device 310 establishes a sensing pairing list including multiple sensing pairs and the characteristics of each sensing pairing (step S530), as shown in Table 1. In Table 1, the RSSI average value is used as a feature. For example, the RSSI average value of the sensing pairing A:D is -35.
[0092] Table 1: Sensor pairing list (unsorted original list)
[0093] Sensor pairing Characteristics (RSSI average) A:D -35 B:D -62 C:D -54 A:C -61 B:C -38 A:B -55
[0094] The central control device 310 obtains a plurality of first pairings satisfying the characteristics of the first characteristic condition from the sensing pairing list (step S540). The characteristics of the sensing pairing may be RSSI, CSI, ping value, etc. In one embodiment, the first characteristic condition is an RSSI or CSI greater than the corresponding first distance or greater than a preset ping value. For example, the RSSI value of the first characteristic condition is -60. The central control device 310 obtains sensing pairings (first pairings) with RSSI values greater than -60 from the six groups of sensing pairings, as shown in Table 2 (sensing pairings that are not the first pairings are indicated as no).
[0095] Table 2: Sensor pairing list (first pairing) (threshold value: RSSI value is -60)
[0096] Sensor pairing Characteristics (RSSI average) First pairing A:D -35 yes B:D -62 no C:D -54 yes A:C -61 no B:C -38 yes A:B -55 yes
[0097] Please refer to Fig. 9 , which is a schematic diagram of a first pairing according to an embodiment of the present invention.
[0098] In the application scenario, the first pairings obtained by the central control device 310 are A:D, C:D, B:C and A:B.
[0099] The central control device 310 dynamically schedules the multiple IoT devices belonging to the multiple first pairs to send and receive signals in a time-sharing manner to obtain the first sensing signal of each first pair (step S550 ).
[0100] In one embodiment, the central control device 130 sequentially finds the first N sensing pairs with a common IoT device, and uses the common IoT device as a transmitter and another IoT device of the N groups as a receiver, so that these sensing pairs are sensed one by one in a time-sharing manner (first sensing signal).
[0101] like Fig. 9 As shown, the central control device 130 sequentially finds the first three sensing pairs with common IoT devices, A:D and C:D as the first group, B:C as the second group, and A:B as the third group. The common IoT device of the first group (i.e., IoT device D) is used as the transmitter and IoT devices A and C as the receiver, the common IoT device of the second group (i.e., IoT device C) is used as the transmitter and IoT device B is used as the receiver, and the common IoT device of the third group (i.e., IoT device B) is used as the transmitter and IoT device A is used as the receiver. The sensing pairs A:D, C:D, B:C, and A:B are sensed one by one in time division and continuously generate a first sensing signal (e.g., RSSI value).
[0102] The central control device 310 continuously monitors the first sensing signal and determines whether the first sensing signal satisfies the first intrusion condition. The first intrusion condition may be that the number of times the sensing pairing feature is greater than a threshold value (eg, RSSI value -60) is greater than a tolerance value (eg, 5 times).
[0103] If the central control device 310 determines that the first sensing signal satisfies the first intrusion condition, the first state code is marked for the first pairing, otherwise the second state code is marked (step S560). The first state code can be a value of 1, and the second state code can be a value of 0. The edge connecting the two nodes is considered to be the first pairing. Marking the first state code or the second state code for the first pairing means marking the first state code or the second state code on the edge of the two nodes.
[0104] Fig.10 It is a schematic diagram of marking a first status code or a second status code for a first pairing according to an embodiment of the present invention.
[0105] The central control device 310 marks the sensing pairs A:D, C:D, B:C and A:B as follows: Fig.10 After a sensing period, the sensing pair A:B and B:C are marked as 1 (first state code), and the sensing pair A:D and C:D are marked as 0 (second state code).
[0106] The central control device 310 counts the first status codes and the second status codes of the first pairings of each paired node based on a paired node of the plurality of first pairings, to determine whether there is an intrusion condition in the spatial position (step S570). The central control device 310 counts the status codes of the first pairings of each paired node, and determines the spatial position of the paired node according to the following three conditions: no intrusion condition, intrusion condition, or suspected intrusion condition.
[0107] In one embodiment, when one of the first pairs to which a paired node belongs is marked as the second status code (first condition), the central control device 310 determines that there is no intrusion in the spatial position where the paired node is located. When all the first pairs to which a paired node belongs are all marked as the first status code, and further, one of the multiple first pairs to which this paired node belongs has another paired node, and one of the multiple neighboring pairings to which this other paired node belongs has a pairing with the second status code (second condition), the central control device 310 determines that there is an intrusion in the spatial position where this paired node is located. If it is the remaining conditions other than the first and second conditions (third condition), the central control device 310 determines that there is a suspected intrusion in the spatial position where a paired node is located.
[0108] For example, paired node A (ie IoT device A) has two sensor pairs A:B and A:D. Fig.10 As shown, the sensing pair A:B is marked as the first status code, and the sensing pair A:D is marked as the second status code. Therefore, the central control device 310 counts that the first pairing to which the pairing node A belongs has two status codes (1 and 0) (first condition), and determines that there is no intrusion condition in the spatial location where the IoT device A is located. Similarly, there is no intrusion condition in the spatial location where the IoT devices C and D are located.
[0109] For another example, paired node B (ie IoT device B) has two sensing pairs A:B and B:C. Fig.10 As shown, both sensing pairs A:B and B:C are marked as the first status code and one of the sensing pairs A:B, the sensing pair A:D (neighboring pairing) to which the other pairing node A (i.e., in the sensing pair A:B, when IoT device B is the pairing node, IoT device A is the other pairing node) belongs is marked as the second status code (second condition). Therefore, the central control device 310 determines that there is an intrusion condition at the spatial location where IoT device B is located. If IoT device C is considered as a pairing node, IoT device C has two sensing pairs C:B and C:D. As Fig.10As shown, the sensing pair C:B is marked as the first state code, and the sensing pair C:D is marked as the second state code. Because there is a sensing pair C:D marked as the second state code (first condition) in the sensing pair to which the paired node C belongs, the central control device 310 determines that there is no intrusion in the spatial location where the IoT device B is located.
[0110] In one embodiment, before obtaining a plurality of first pairs of features satisfying the first feature condition from the sensing pairing list (step S540) (i.e., the central control device 310 Figures 6 to 8 The central control device 310 sorts the characteristics of each sensing pairing in the sensing pairing list (Table 1) from small to large, and obtains multiple second pairs according to the characteristics that meet the second characteristic condition, as shown in Table 3. The second characteristic condition may be a threshold value (e.g., RSSI value is -60) less than a long distance (e.g., 10 meters).
[0111] Table 3: Sensor pairing list (second pairing) (threshold value: RSSI value is -60)
[0112] Sensor pairing Characteristics (RSSI average) Second pairing B:D -62 yes A:C -61 yes A:B -55 no C:D -54 no B:C -38 no A:D -35 no
[0113] Please refer to Fig.11 , which is a schematic diagram showing the second pairing according to an embodiment of the present invention.
[0114] In one embodiment, when there are no obstacles and the power of the transmitting end is fixed, there is a corresponding relationship between the size of the sensing signal and the distance transmitted to the receiving end. For example, the longer the distance, the smaller the sensing signal.
[0115] In order to retain the sensing pairings between IoT devices that are farther apart, the central control device 310 retains the sensing pairings that meet the second characteristic condition (e.g., RSSI value is less than -60) as the second pairing (e.g., sensing pairings B:D and A:C). In other words, the central control device 310 preferentially detects the pairings of IoT devices A, B, C, and D that are farther apart from each other as the sensing pairings, i.e., sensing pairings A:C and B:D for monitoring.
[0116] The central control device 310 schedules multiple IoT devices 330 belonging to multiple second pairs to send signals to obtain the second sensing signals of each second pair. For example, the central control device 310 time-divided and continuously obtains the second sensing signals of the sensing pairs B:D and A:C.
[0117] In one embodiment, the central control device 310 continuously detects whether the second sensing signal satisfies the first abnormal condition. When it is determined that the second sensing signal does not satisfy the first abnormal condition, the central control device 310 continuously obtains and detects the second sensing signal. The first abnormal condition may be that the number of times greater than a threshold value (e.g., an RSSI value of -60) is greater than a tolerance value (e.g., 5 times).
[0118] Please refer to Fig.12 , which is a schematic diagram of a second sensing signal showing characteristics and sampling time according to an embodiment of the present invention.
[0119] like Fig.12 As shown, the five second sensing signals of the sensing pair B:D are all greater than the threshold value Thr_BD for at least five times. The central control device 310 determines that the second sensing signals of the sensing pair B:D meet the first abnormal condition.
[0120] In one embodiment, when it is determined that the second sensing signal meets the first abnormal condition, the central control device 310 selects the sensing pairing list (ie, the central control device 310 selects the sensing pairing list in the Figures 6 to 8 The characteristics of each sensing pair in Table 1) are obtained by combining multiple sensing pairs in pairs, and multiple third pairs are obtained according to the characteristics that meet the third characteristic condition, as shown in Table 4. The third characteristic condition can be a threshold value greater than a short distance (for example, 4 meters) (for example, an RSSI value of -40).
[0121] Table 4: Sensor pairing list (third pairing) (threshold value: RSSI value is -40)
[0122] Sensor pairing Characteristics (RSSI average) The third pairing A:D -35 yes B:C -38 yes C:D -54 no A:B -55 no A:C -61 no B:D -62 no
[0123] Please refer to Fig.13 , which is a schematic diagram showing a third pairing according to an embodiment of the present invention.
[0124] In order to retain the sensing pairings with a relatively close distance between IoT devices, the central control device 310 retains the sensing pairings that meet the third characteristic condition (e.g., RSSI value greater than -40) as the third pairing (e.g., sensing pairings A:D and B:C). In other words, after detecting that the sensing pairings at a long distance have the potential for intrusion, the central control device 310 further detects the IoT devices A, B, C, and D with a relatively close distance from the 6 sensing pairings as the sensing pairings, i.e., sensing pairings A:C and B:D for monitoring.
[0125] The central control device 310 schedules multiple IoT devices 330 belonging to multiple third pairs to send signals to obtain the third sensing signals of each third pair. For example, the central control device 310 time-divided and continuously obtains the third sensing signals of the sensing pairs A:C and B:D.
[0126] In one embodiment, the central control device 310 continuously detects whether the third sensing signal satisfies the second abnormal condition. When it is determined that the third sensing signal does not satisfy the second abnormal condition, the central control device 310 continuously obtains and detects the third sensing signal. The second abnormal condition may be that the number of times greater than a threshold value (for example, an RSSI value of -40) is greater than a tolerance value (for example, 5 times).
[0127] It is worth mentioning that the central control device 310 can set one or more threshold values when there are people or one or more threshold values when there are no people (for the first abnormal condition and the second abnormal condition).
[0128] In another embodiment, the first abnormal condition and / or the second abnormal condition may be that the second sensing signals of H sensing pairs are greater than the threshold value for L consecutive times, where H and L are positive integers.
[0129] In another embodiment, the H sensing pairs may be divided into G groups. The first abnormal condition and / or the second abnormal condition may be that the second sensing signals of S groups in the G group are greater than the threshold value for L consecutive times, where G and S are positive integers and S is less than or equal to G.
[0130] Please refer to Fig.14 , which is a schematic diagram of a third sensing signal showing characteristics and sampling time according to an embodiment of the present invention.
[0131] like Fig.14 As shown, the five third sensing signals of the sensing pair B:C are all greater than the threshold value Thr_BC for at least five times. The central control device 310 determines that the third sensing signals of the sensing pair B:C meet the second abnormal condition.
[0132] In one embodiment, when it is determined that the third sensing signal satisfies the second abnormal condition, the central control device 310 obtains multiple first pairings with characteristics that meet the first characteristic condition from the sensing pairing list (such as Table 1) (step S540), and dynamically schedules the multiple IoT devices belonging to the multiple first pairings to send signals in a time-sharing manner (step S550).
[0133] In one embodiment, in the step of obtaining multiple first pairs of features satisfying the first characteristic condition from the sensing pairing list (step S540), the central control device 310 counts the number of sensing pairs of each IoT device 330 from the multiple sensing pairs, sorts the multiple sensing pairs from large to small according to the number of sensing pairs, and updates the sensing pairing list with the sorted multiple sensing pairs and the features of each sensing pairing. The central control device 310 obtains multiple first pairs of features satisfying the first characteristic condition from the updated sensing pairing list.
[0134] The central control device 310 sorts the contents of Table 1 from largest to smallest to obtain the contents of Table 5.
[0135] Table 5: Sensor pairing list (sorted from largest to smallest)
[0136] Sensor pairing Characteristics (RSSI average) A:D -35 B:C -38 C:D -54 A:B -55 A:C -61 B:D -62
[0137] The central control device 310 filters out the sensing pairs whose characteristics are less than the threshold value (RSSI value -60), and calculates the number of each sensing pair, as shown in Table 6.
[0138] Table 6: Number of sensor pairs
[0139] IoT Devices Sensor pairing number A 2 B 2 C 2 D 2
[0140] Next, the central control device 310 finds all the sensing pairs of the IoT device with the largest number of sensing pairs according to the largest number of sensing pairs. In this embodiment, the central control device 310 finds all the sensing pairs A:B and A:D of IoT device A and updates the sensing pairing list, as shown in Table 7.
[0141] Table 7: Sensor pairing list (sorted pairing)
[0142] Ordered sensing pairing Unsorted sensor pairing A:B B:C A:D C:D
[0143] The central control device 310 updates the number of sensing pairings according to the unsorted sensing pairings in Table 7, as shown in Table 8.
[0144] Table 8: Number of sensor pairs
[0145] IoT Devices Sensor pairing number A 0 B 1 C 2 D 1
[0146] The central control device 310 finds all the sensing pairs B:C and C:D of the IoT device C having the largest number of sensing pairs, and updates the sensing pairing list, as shown in Table 9.
[0147] Table 9: Sensor pairing list (sorted)
[0148] Ordered sensing pairing Unsorted sensor pairing A:B A:D B:C C:D
[0149] Next, the central control device 310 performs time-sharing dynamic sensing pairing according to the ordered sensing pairing in Table 9, as shown in Table 10.
[0150] Table 10: Time-sharing dynamic sensing pairing (ordered sensing pairing set)
[0151] Time-sharing dynamic sensing pairing AP Sensing time A:B A T1.1 A:D A T1.2 B:C B T2 C:D C T3
[0152] It is worth mentioning that the time-sharing dynamic sensing pairing in Table 10 is a detailed time-sharing implementation example of the first pairing in Table 2.
[0153] The central control device 310 sets the sensing time of IoT devices A, B, C and D according to the time-sharing dynamic sensing schedule. For example, the operating time sequence of the time-sharing dynamic sensing pairings of IoT devices A, B, C and D is sensing pairing A:B, A:D, B:C and C:D respectively.
[0154] In one embodiment, before obtaining a plurality of sensing pairs of the plurality of IoT devices 330 in pairs (step S510), the central control device 310 detects the device identifiers of the plurality of IoT devices 330. Then, the central control device 310 sets a sensing schedule (e.g., Figures 6 to 8 ), and obtain multiple sensing pairs of multiple IoT devices (such as Table 1) in the process of multiple IoT devices 330 taking turns to play the device role to send and receive signals in the sensing schedule. The device role can be STA mode, AP mode or listening mode.
[0155] Fig.15 , Fig.16A and Fig. 16B This is a flow chart of an intrusion detection method according to another embodiment of the present invention.
[0156] In step S1505 , the central control device 310 obtains a plurality of sensing pairs of the plurality of IoT devices 330 .
[0157] In step S1510 , the central control device 310 enables the plurality of IoT devices 330 to send signals to obtain characteristics of a plurality of sensing pairs.
[0158] In step S1515 , the central control device 310 creates a sensing pairing list including a plurality of sensing pairs and a feature of each sensing pairing.
[0159] In step S1520 , the central control device 310 obtains a plurality of second pairs in the sensing pairing list according to features satisfying the second feature condition.
[0160] In step S1525 , the central control device 310 enables the plurality of IoT devices 330 belonging to the second pair to send signals to obtain the second sensing signals of each second pair.
[0161] In step S1530, the central control device 310 determines whether the second sensing signal satisfies the first abnormal condition. If yes, step S1535 is executed; otherwise, the process returns to step S1525.
[0162] In step S1535 , the central control device 310 obtains a plurality of third pairs in the sensing pairing list according to the features satisfying the third feature condition.
[0163] In step S1540 , the central control device 310 enables the plurality of IoT devices 330 belonging to the third pairing to send signals to obtain the third sensing signals of each third pairing.
[0164] In step S1545, the central control device 310 determines whether the third sensing signal satisfies the second abnormal condition. If yes, step S1550 is executed; if no, the process returns to step S1525.
[0165] In step S1550 , the central control device 310 obtains a plurality of first pairings having characteristics satisfying a first characteristic condition from the sensing pairing list.
[0166] In step S1555 , the central control device 310 dynamically schedules the multiple IoT devices 330 belonging to the multiple first pairings to send and receive signals in a time-sharing manner, so as to continuously obtain the first sensing signals of each first pairing.
[0167] In step S1560, the central control device 310 determines whether the first sensing signal satisfies the first intrusion condition. If yes, step S1570 is executed; if no, step S1565 is executed.
[0168] In step S1565 , the central control device 310 adds a second status code to the first pairing mark.
[0169] In step S1570 , the central control device 310 adds a first status code to the first pairing mark.
[0170] In step S1575 , the central control device 310 counts the first status code of the first pairing to which each paired node belongs.
[0171] In one embodiment, the central control device 310 determines the intrusion status according to the statistics of the status codes of the plurality of first pairings through the following three conditions (steps S1580 , S1585 , and S1590 ).
[0172] In step S1580, the central control device 310 determines that at least one of the plurality of first pairs to which the paired node belongs is a second status code. Next, in step S1582, the central control device 310 determines that the space position to which the paired node belongs has no intrusion status.
[0173] In step S1585, the central control device 310 determines that all of the first pairings to which the paired node belongs are in the first state code and one of the neighboring pairings to which another paired node of one of the first pairings belongs is in the second state code. Next, in step S1587, the central control device 310 determines that there is an intrusion condition in the space to which the paired node belongs.
[0174] In step S1590, the central control device 310 determines that the conditions other than those in step S1580 and step S1585 are met. Next, in step S1592, the central control device 310 determines that the spatial location to which the paired node belongs is suspected of being invaded.
[0175] Fig.17 FIG. 4 is a schematic diagram of an IoT device according to another embodiment of the present invention being set in an application scenario.
[0176] Compared to Figure 4 The application scenario is set up with four IoT devices, Fig.17 Five IoT devices are set up for the application scenario (i.e., IoT device E is additionally set up in the corner of toilet 113).
[0177] Fig.18 Based on this case Fig.17 A schematic diagram of obtaining multiple sensing pairings is shown in the application scenario.
[0178] Similar to Figures 6 to 8 , the central control device 310 sets a sensing schedule for IoT devices A to E so that IoT devices A to E take turns to play the role of a device. In one embodiment, the order of AP mode is IoT devices E, D, C and B. For example, in the first period T1, IoT device E in AP mode receives sensing signals from IoT devices A, B, C and D in a time-sharing manner. In the second period T2, IoT device D in AP mode receives sensing signals from IoT devices A, B and C in a time-sharing manner. In the third period T3, IoT device C in AP mode receives sensing signals from IoT devices A and B in a time-sharing manner. In the fourth period T4, IoT device B in AP mode receives the characteristics of the sensing signal of IoT device A (steps S1505 to S1510).
[0179] The central control device 310 receives the characteristics of the sensing signals of the 10 sensing pairs, and establishes a sensing pairing list (step S1515 ), as shown in Table 11.
[0180] Table 11: Sensor pairing list
[0181] Sensor pairing Characteristics (RSSI average) A:D -35 B:D -62 C:D -54 A:E -35 A:C -61 D:E -32 B:C -38 A:B -55 B:E -55 C:E -54
[0182] The central control device 310 obtains the channel information between the two IoT devices through the Wi-Fi wireless sensing system as the characteristic of the sensing signal of the sensing pair. In one embodiment, in a group of IoT devices 330 (two IoT devices are the transmitting end and the receiving end respectively), when the transmission power of the transmitting IoT device is specified, the receiving IoT device obtains the RSSI value. In this embodiment, the characteristic of the two IoT sensing signals is the RSSI average value.
[0183] In one embodiment, the central control device 310 may calculate formula (1) to obtain the feature D:
[0184]
[0185] In formula (1), D is the feature, d i is the ith RSSI eigenvalue, w i is the proportion of the i-th RSSI eigenvalue.
[0186] The RSSI characteristic value may be, but is not limited to, 1 when K% of the RSSI measurement values received by the receiving IoT device are greater than a threshold value, and 0 otherwise, wherein K is a positive integer.
[0187] In another embodiment, when the transmission power and subcarrier of the transmitting IoT device are specified, the receiving IoT device obtains CSI information. In this embodiment, the feature may be the CSI average value.
[0188] In another embodiment, the central control device 310 may calculate formula (2) to obtain the feature D:
[0189]
[0190] In formula (2), D is the characteristic, d i is the i-th CSI eigenvalue, w i is the proportion of the i-th CSI eigenvalue.
[0191] The CSI characteristic value may be, but is not limited to, the maximum value, minimum value, standard deviation or average value of the CSI amplitude of a set of subcarriers, the average value of the CSI amplitude plus the standard deviation of N1 CSI amplitudes or the average value of the CSI amplitude minus the standard deviation of N2 CSI amplitudes, the average difference of several consecutive CSI amplitudes, the number of packets (including CSI information) obtained per unit time, the CSI phase of a specific subcarrier or the average difference of CSI phases of consecutive subcarriers. Where N1 and N2 are positive integers.
[0192] In one embodiment, in a group of IoT devices 330 (two IoT devices are the transmitting end and the receiving end respectively), the transmitting end IoT device sends M measurement data packets, and the receiving end IoT device receives m data packets, where M and m are positive integers. In this embodiment, the central control device 310 can calculate formula (3) to obtain the feature D:
[0193] D=mj / Mj……Formula (3)
[0194] In formula (3), D is the feature, mj is the number of data packets received by the receiving end of the j-th sensing pair, and Mj is the number of measurement data packets sent by the transmitting end of the j-th sensing pair.
[0195] The central control device 310 sorts the features of each sensing pairing in the sensing pairing list (Table 11) from small to large to obtain a first sorted sensing pairing list, and obtains a plurality of second pairs according to the features satisfying the second feature condition (step S1520), as shown in Table 12. The second feature condition may be a threshold value (e.g., RSSI value -56) less than a long distance (e.g., 10 meters).
[0196] Table 12: First sorted sensor pairing list (second pairing) (threshold value: RSSI value is -56)
[0197] Sensor pairing Characteristics (RSSI average) Second pairing B:D -62 yes A:C -61 yes A:B -58 yes C:D -57 yes B:E -55 no C:E -54 no B:C -38 no A:D -35 no A:E -35 no D:E -32 no
[0198] Fig.19 This is a schematic diagram showing a second pairing according to an embodiment of the present invention.
[0199] In this embodiment, the central control device 310 preferentially detects the IoT devices A, B, C and D with a longer distance from each other as the sensing pairing from among the 10 sensing pairs, namely, the sensing pairs A:B, A:C, B:D and C:D for monitoring (step S2520).
[0200] The central control device 310 sets a sensing schedule for IoT devices A, B, C, and D, so that IoT devices A, B, C, and D respectively play a device role for pairing sensing to obtain sensing signals of four sets of sensing pairs. For example, in the first period, the central control device 310 sets IoT devices A and B to STA mode and IoT devices C and D to AP mode, wherein IoT device A is connected to IoT device C (on channel 36), and IoT device B is connected to IoT device D (on channel 44). In the second period, the central control device 310 sets IoT devices A and C to STA mode and IoT devices B and D to AP mode, wherein IoT device A is connected to IoT device B (on channel 40), and IoT device C is connected to IoT device D (on channel 48). After completing the configuration, the central control device 310 obtains the second sensing signals of the sensing pairs A:C, B:D, A:B, and C:D every 0.5 seconds (step S1525).
[0201] The central control device 310 continuously determines whether the second sensing signal satisfies the first abnormal condition. For example, the first abnormal condition is that the second sensing signal of any second sensing pair is greater than the threshold value for five consecutive times. If the central control device 310 determines within two seconds that the second sensing signal is greater than the threshold value for five consecutive times, it is determined that there is a potential intrusion.
[0202] In steps S1520 to S1530 , the central control device 310 uses long-distance sensing pairing to determine whether there is a potential intrusion, so as to perform preliminary intrusion detection (determine whether there is a person) in a large-scale space at a long distance.
[0203] If the central control device 310 determines that there is no potential intrusion (step S1530), the process returns to the step of continuously acquiring and detecting the second sensing signal (step S1525) for continuous monitoring.
[0204] If the central control device 310 determines that there is a potential intrusion (step S1530), a plurality of third pairs are obtained in the sensing pairing list (Table 11) according to the features satisfying the third feature condition (step S1535).
[0205] In one embodiment, the central control device 310 sorts the features of each sensing pair in the sensing pair list (Table 11) from large to small to obtain a second sorted sensing pair list, and sets the sensing pair whose features meet the third feature condition as the third pair, as shown in Table 13. The third feature condition may be a threshold value greater than a short distance (e.g., 4 meters) (e.g., an RSSI value of -40).
[0206] Table 13: Second sorted sensing pairing list (third pairing) (threshold value: RSSI value is -40)
[0207] Sensor pairing Characteristics (RSSI average) The third pairing D:E -32 yes A:E -35 yes A:D -35 yes B:C -38 yes C:E -54 no B:E -55 no C:D -57 no A:B -58 no A:C -61 no B:D -62 no
[0208] Please refer to Fig. 20 , which is a schematic diagram showing a third pairing according to an embodiment of the present invention.
[0209] Compare Table 13, Fig. 20 It is the third pairing between multiple IoT devices in the application scenario. Fig.19 For long-distance sensing pairing (second pairing), Fig. 20 The sensing pairings in the middle are the ones with a closer distance between IoT devices (third pairing). In this embodiment, the central control device 310 retains the sensing pairings that meet the third characteristic condition (for example, the RSSI value is greater than -40) as the third pairing (for example, sensing pairings A:D, A:E, B:C and D:E). In other words, after detecting that the sensing pairings at a long distance have the potential for intrusion, the central control device 310 further detects the IoT devices A, B, C, D and E with a closer distance from the 10 sensing pairings as sensing pairs, that is, sensing pairs A:D, A:E, B:C and D:E for monitoring (step S1535).
[0210] The central control device 310 sets a sensing schedule for IoT devices A, B, C, D, and E, so that IoT devices A, B, C, D, and E respectively play a device role for pairing sensing to obtain sensing signals of four sets of sensing pairs. For example, in the first period, the central control device 310 sets IoT devices A, B, and D to STA mode and IoT devices C and E to AP mode, wherein IoT device A is connected to IoT device E (on channel 36), IoT device D is connected to IoT device E (on channel 44), and IoT device B is connected to IoT device C (on channel 48). In the second period, the central control device 310 sets IoT device A to STA mode and IoT device D to AP mode, wherein IoT device A is connected to IoT device D (on channel 52). After completing the configuration, the central control device 310 obtains the third sensing signal of the sensing pairs A:E, D:E, B:C, and A:D every 0.5 seconds (step S1540).
[0211] The central control device 310 continuously determines whether the third sensing signal satisfies the second abnormal condition. For example, the second abnormal condition is that the third sensing signal of any third sensing pair is greater than the threshold value for five consecutive times. If the central control device 310 determines within two seconds that the third sensing signal is greater than the threshold value for five consecutive times, it is determined that the intruder is within the range of the specific sensing pair.
[0212] In steps S1535 to S1540, the central control device 310 uses close-range sensing pairing to confirm the range of the intruder. In one embodiment, the central control device 310 can predefine the spatial positions of all sensing pairs of IoT devices A, B, C, D, and E in the application scenario. For example, sensing pair A:D is on the left side of bedroom 111 and living room 117; sensing pair B:C is on the right side of bedroom 115 and living room 117; sensing pair B:E is between toilet 113 and bedroom 115, etc. Therefore, the central control device 310 can determine the range of the intrusion from detecting the third pairing that meets the second abnormal condition.
[0213] The central control device 310 obtains a plurality of first pairings satisfying the first characteristic condition from the sensing pairing list (such as Table 13) (step S1550), as shown in Table 14. The first characteristic condition may be an RSSI or CSI greater than the corresponding first distance or greater than a preset ping value.
[0214] Table 14: Sensor pairing list (first pairing) (threshold value: RSSI value is -60)
[0215] Sensor pairing Characteristics (RSSI average) First pairing D:E -32 yes A:E -35 yes A:D -35 yes B:C -38 yes C:E -54 yes B:E -55 yes C:D -57 yes A:B -58 yes A:C -61 no B:D -62 no
[0216] In one embodiment, the central control device 310 performs time-sharing dynamic scheduling settings for the IoT devices A, B, C, D, and E.
[0217] First, the central control device 310 counts the number of first pairings of each IoT device from the multiple first pairings (Table 14), as shown in Table 15.
[0218] Table 15: Number of sensor pairs
[0219] IoT Devices Sensor pairing number A 3 B 3 C 3 D 3 E 4
[0220] Next, the central control device 310 finds all the sensing pairs of the IoT device with the largest number of sensing pairs according to the largest number of sensing pairs. In this embodiment, the central control device 310 finds all the sensing pairs A:E, B:E, C:E and D:E of IoT device E, and updates the sensing pairing list, as shown in Table 16.
[0221] Table 16: Sensor pairing list (sorted pairing)
[0222] Ordered sensing pairing Unsorted sensor pairing A:E A:D B:E B:C C:E C:D D:E A:B
[0223] The central control device 310 updates the number of sensing pairs according to the unsorted sensing pairs in Table 16, as shown in Table 17.
[0224] Table 17: Number of sensor pairs
[0225] IoT Devices Sensor pairing number A 2 B 2 C 2 D 2 E 0
[0226] The central control device 310 finds all the sensing pairs A:B and A:D of the IoT device A having the largest number of sensing pairs, and updates the sensing pairing list, as shown in Table 18.
[0227] Table 18: Sensor pairing list (sorted pairs)
[0228] Ordered sensing pairing Unsorted sensor pairing A:E B:C B:E C:D C:E D:E A:B A:D
[0229] Since there are still unsorted sensing pairs, the central control device 310 updates the number of sensing pairs according to the unsorted sensing pairs in Table 18, as shown in Table 19.
[0230] Table 19: Number of sensor pairs
[0231] IoT Devices Sensor pairing number A 0 B 1 C 2 D 1 E 0
[0232] The central control device 310 finds all the sensing pairs B:C and C:D of the IoT device C with the largest number of sensing pairs, and updates the sensing pairing list, as shown in Table 20.
[0233] Table 20: Sensor pairing list (sorted pairing)
[0234] Ordered sensing pairing Unsorted sensor pairing A:E B:E C:E D:E A:B A:D B:C C:D
[0235] At this time, all sensing pairs have been sorted. Next, the central control device 310 performs time-sharing dynamic sensing pairing according to the ordered sensing pairing in Table 20, as shown in Table 21.
[0236] Table 21: Time-sharing dynamic sensing pairing (ordered sensing pairing set)
[0237] Time-sharing dynamic sensing pairing AP Sensing time A:E E T1.1 B:E E T1.2 C:E E T1.3 D:E E T1.4 A:B A T2.1 A:D A T2.2 B:C C T3.1 C:D C T3.2
[0238] It is worth mentioning that the time-sharing dynamic sensing pairing in Table 21 is a detailed time-sharing implementation example of the first pairing in Table 14.
[0239] The central control device 310 sets the sensing time of IoT devices A, B, C, D and E according to the time-sharing dynamic sensing schedule.
[0240] Please refer to Fig.21 , which is a schematic diagram of the sensing pairing of the IoT device E which is set to the AP mode during the first period.
[0241] In the first period T1, IoT device E is a common sensing device, so it is set to AP mode to act as a transmitter. The other sensing device of the first paired common sensing device, namely IoT devices A, B, C and D paired with IoT device E, performs sensing with IoT device E in turn according to the time-sharing dynamic sensing schedule T1.1, T1.2, T1.3 and T1.4. For example, IoT devices A, B, C and D send signals to IoT device E (first sensing signal) at a specified transmission power.
[0242] Please refer to Fig. 22 , which is a schematic diagram of the sensing pairing of IoT device A set to AP mode during the second period.
[0243] In the second period T2, IoT device A is a common sensing device, so it is set to AP mode to act as a transmitter. The other sensing device of the first paired common sensing device, that is, IoT devices B and D paired with IoT device A, perform sensing with IoT device E in turn according to the time-sharing dynamic sensing schedules T2.1 and T2.2. For example, IoT devices B and D send signals to IoT device A (first sensing signal) at a specified transmission power.
[0244] Please refer to Fig.23 , which is a schematic diagram of the sensing pairing of the IoT device C set to AP mode during the third period.
[0245] In the third period T3, IoT device C is a common sensing device, so it is set to AP mode to act as a transmitter. The other sensing device of the first paired common sensing device, that is, IoT devices B and D paired with IoT device C, perform sensing with IoT device C in turn according to the time-sharing dynamic sensing schedules T3.1 and T3.2. For example, IoT devices B and D send signals to IoT device C (first sensing signals) at designated transmission powers.
[0246] The central control device 310 dynamically schedules the multiple IoT devices belonging to the multiple first pairings to send and receive signals in a time-sharing manner to continuously obtain the first sensing signals of each first pairing (step S1555). The central control device 310 will continue to determine whether the first sensing signal of any first pairing meets the suspected intrusion condition (step S1560). The suspected intrusion condition can be that the number of times the characteristic of the sensing pairing is greater than a threshold value (for example, the RSSI value is -60) is greater than a tolerance value (for example, 5 times).
[0247] If it is determined that the first sensing signal meets the suspected intrusion condition (step S1560), the first pairing that meets the suspected intrusion condition is marked as a first status code (step S1570); otherwise, the first pairing that does not meet the suspected intrusion condition is marked as a second status code (step S1565).
[0248] Fig.24 This is a schematic diagram of marking all first pairings according to an embodiment of the present invention.
[0249] In one embodiment, the first status code is a value of 1, and the second status code is a value of 0.
[0250] Multiple IoT devices A, B, C, D, and E are configured in the application scenario. At a review time point, the central control device 310 counts the first status code of the first pairing to which each paired node belongs (step S1575). For example, the central control device 310 counts the value (first status code or second status code) of each edge (first pairing) of IoT devices A, B, C, D, and E (pairing nodes) respectively.
[0251] If the central control device 310 determines that at least one of the plurality of first pairs to which the respective paired nodes belong is a second status code (step S1580 ), it determines that there is no intrusion condition in the space location to which the paired nodes belong (step S1582 ).
[0252] If the central control device 310 determines that all the multiple first pairings belonging to the respective paired nodes are the first status codes and one of the multiple neighboring point pairings belonging to the other paired node of one pair among the multiple first pairings is the second status code (step S1585), then it is determined that there is an intrusion condition in the spatial location to which the paired node belongs (step S1857).
[0253] If the central control device 310 determines that each paired node meets other conditions other than step S1580 and step S1585 (step S1590), it determines that the spatial location to which the paired node belongs is suspected of having an intrusion condition (step S1592).
[0254] In one embodiment, the central control device 310 uses the three conditions described above ( Figure 5 Step S570 or Fig. 16B Steps S1580, S1585 and S1590) are used to determine whether the spatial position of the paired node is: no intrusion, intrusion or suspected intrusion.
[0255] like Fig.24 As shown, the values of the three edges of the pairing node C (ie, IoT device C) are respectively X (sensing pairing C:B), 1 (sensing pairing C:E), and 1 (sensing pairing C:D).
[0256] When the X value of the sensing pair C:B is 0, a first pair (i.e., sensing pair C:B) of the pairing node C is marked as the second status code (first condition: at least one of the multiple first pairs to which a pairing node belongs is marked as the second status code). Therefore, the central control device 310 determines that there is no intrusion within the spatial location of the IoT device A.
[0257] When the X value of the sensing pairing C:B is 1, the values of the three edges of the pairing node C (i.e., IoT device C) are all 1, indicating that all the first pairings of the pairing node C are marked as the first status code. Then, a further check is performed to find that one of the three first pairings of the pairing node C, for example, the first pairing B:C, the other pairing node B of the first pairing B:C has three first pairings and one of the three first pairings (sensing pairings B:A, B:E, and B:C) is marked as the second status code (second condition: all the first pairings belonging to a pairing node are marked as the first status code and one of the multiple first pairings belonging to this pairing node, and one of the multiple neighboring point pairings belonging to the other pairing node of this pairing is the second status code). Therefore, the central control device 310 determines that there is an intrusion condition within the spatial position range of the IoT device C.
[0258] For each paired node, if the central control device 310 determines that the first condition or the second condition is not met (third condition), it means that the spatial position where the paired node is located is suspected of being invaded.
[0259] After the central control device 310 determines the status codes of all first pairings of the paired nodes A, B, C, D, and E, it is found that there is an intrusion status at the right corner of the living room 117 (IoT device C). Therefore, the central control device 310 sends a warning signal and prompts the user to find the area where the intruder is found.
[0260] Fig.25 This is a schematic diagram of marking all first pairings according to another embodiment of the present invention.
[0261] The central control device 310 determines the status codes of all first pairings of all paired nodes A, B, C, D, and E. In this embodiment, the central control device 310 determines that all first pairings of paired nodes A and C are marked as the first status code (i.e., the value 1). Therefore, the central control device 310 detects that the positions of the right corners of the bedroom 111 and the living room 117 (IoT device C) are in an intrusion state.
[0262] No matter how many IoT devices there are in the application scenario, the central control device 310 determines whether all the first pairing status codes of each paired node are all first status codes, and can detect 0 to T possible intruders, where T is the number of IoT devices set in the application scenario (a positive integer).
[0263] Fig.26 FIG. 4 is a block diagram of a central control device according to an embodiment of the present invention.
[0264] The central control device 310 includes a communication module 312, a processor 314 and a storage medium 316. The processor 314 is connected to the communication module 312 and the storage medium 316 respectively.
[0265] The storage medium 316 includes a plurality of program codes, and the functions of the program codes include a pairing selection module 322, a sensing data collection module 324, and a sensing result calculation module 326. After the plurality of program codes are loaded into the processor 314, the processor 314 executes the pairing selection module 322, the sensing data collection module 324, and the sensing result calculation module 326.
[0266] The pairing selection module 322 is used to configure the device role of each IoT device 330 and the sensing pairing between multiple IoT devices 330 .
[0267] The sensing data collection module 324 collects the sensing signals received by each IoT device 330 under sensing pairing and obtains the characteristics of the sensing signals.
[0268] The sensing result calculation module 326 is used to calculate the intrusion detection status in the application scenario.
[0269] Fig. 27FIG. 4 is a block diagram of an IoT device according to an embodiment of the present invention.
[0270] The IoT device 333 includes a communication module 332, a processor 334, and a storage medium 336. The processor 334 is connected to the communication module 332 and the storage medium 336 respectively.
[0271] The storage medium 336 includes a plurality of program codes, and the functions of the program codes include a configuration module 342 , a pairing module 344 , and a sensing data reporting module 346 . After the plurality of program codes are loaded into the processor 334 , the processor 334 executes the configuration module 342 , the pairing module 344 , and the sensing data reporting module 346 .
[0272] The IoT device 333 can be connected to other IoT devices and the central control device 310 through the communication module 332 .
[0273] The configuration module 342 is used to perform configuration using the sensing schedule information sent by the central control device 310 .
[0274] The pairing module 344 is used to perform sensing pairing with other IoT devices according to configuration settings.
[0275] The sensing data reporting module 346 is used to measure the sensing signal and report the sensing signal to the central control device 310 through the communication module 332 .
[0276] In one embodiment, the communication modules 312 and 332 are, for example but not limited to, communication chips supporting Global System for Mobile communication (GSM), Long Term Evolution (LTE), fifth generation network system (5G), Wireless Fidelity (Wi-Fi), Bluetooth technology, wired network, or a combination of the above components.
[0277] In one embodiment, the processors 314 and 334 are, for example but not limited to, a microprocessor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a central processing unit (CPU), a system on chip (SoC), a field programmable gate array (FPGA), a network processor chip, or a combination of the above components.
[0278] In one embodiment, the storage media 316 and 336 are, for example but not limited to, random access memory (RAM), flash memory, read only memory (ROM), hard disk drive (HDD), solid state drive (SSD), optical storage, or a combination of the above components.
[0279] In summary, the intrusion detection system and intrusion detection method proposed in this case do not limit the pairing mode of the sensing device, and any sensing device can be included in the intrusion detection node. Accordingly, the technology of this case solves the problems of limited detection range and detection blind spots without increasing the hardware cost.
[0280] Furthermore, the technology of this case combines long-range and short-range sensing pairing, first using long-range sensing pairing to preliminarily determine potential intrusion conditions in a large area (whether there is an intruder). If a potential intrusion is determined, the location of the intruder is further determined in a small area to solve the problem of delayed response time and improve the accuracy of intrusion detection.
[0281] The above description is only a specific example of this case, and does not limit the scope of the claims of this case. Therefore, all equivalent changes made using the content of this case are also included in the scope of this case and are hereby stated.
Claims
1. An intrusion detection system, comprising: A plurality of IoT devices, each of which is disposed at a spatial location and configured to send and receive sensing signals; as well as The central control device is communicatively connected to the plurality of IoT devices and is configured to: Obtaining a plurality of sensing pairs of the plurality of IoT devices in pairs; enabling the plurality of IoT devices to send and receive signals in each of the sensing pairs to obtain characteristics of the plurality of sensing pairs; establishing a sensing pairing list including the plurality of sensing pairs and a feature of each of the sensing pairs; Obtaining a plurality of first pairs of features satisfying a first feature condition from the sensing pair list; Dynamically schedule the plurality of IoT devices belonging to the plurality of first pairs to send and receive signals in a time-sharing manner to obtain first sensing signals of each of the first pairs; If it is determined that the first sensing signal meets the suspected intrusion condition, marking the first pairing with a first status code, otherwise marking it with a second status code; as well as Based on the paired nodes of the plurality of first pairs, the first status codes and the second status codes of the plurality of first pairs to which the paired nodes belong are counted respectively to determine whether there is an intrusion condition at the spatial location.
2. The intrusion detection system according to claim 1, wherein before the central control device obtains the plurality of first pairs of features satisfying the first feature condition from the sensing pairing list, the central control device is further configured to: Obtaining a plurality of second pairs in the sensing pairing list according to features that satisfy a second feature condition; enabling the plurality of IoT devices belonging to the plurality of second pairs to send signals to obtain second sensing signals of each of the second pairs; continuously detecting whether the second sensing signal satisfies a first abnormal condition; as well as When it is determined that the second sensing signal does not satisfy the first abnormal condition, the second sensing signal is continuously acquired and detected.
3. The intrusion detection system according to claim 2, wherein when the central control device determines that the second sensing signal satisfies the first abnormal condition, it is configured to: Obtaining a plurality of third pairs in the sensing pairing list according to features that satisfy a third feature condition; enabling the plurality of IoT devices belonging to the plurality of third pairs to send signals to obtain third sensing signals of each of the third pairs; Continuously detecting whether the third sensing signal satisfies a second abnormal condition; as well as When it is determined that the third sensing signal does not satisfy the second abnormal condition, the third sensing signal is continuously acquired and detected.
4. The intrusion detection system according to claim 3, wherein when the central control device determines that the third sensing signal satisfies the second abnormal condition, it is configured to: The plurality of first pairs satisfying the first characteristic condition are obtained from the sensing pair list, and the plurality of IoT devices belonging to the plurality of first pairs are dynamically scheduled to send signals in a time-sharing manner.
5. An intrusion detection system according to claim 3, wherein the characteristics of each sensing pairing include RSSI, CSI, and ping value, the first characteristic condition is that the RSSI or CSI is greater than the corresponding first distance or is greater than a preset ping value, and the second characteristic condition is that the RSSI or CSI is less than the corresponding second distance or is less than the preset ping value, wherein the first distance is greater than the second distance.
6. The intrusion detection system according to claim 2, wherein the central control device is configured to perform operations before obtaining the plurality of second pairs in the sensing pairing list according to the features satisfying the second feature condition, including: Based on the multiple sensing pairs, sorting the features of the sensing pairs from small to large; as well as The sensing pairing list is established or updated based on the sorted plurality of sensing pairs and the characteristics of each sensing pair.
7. The intrusion detection system according to claim 1, wherein the operation of the central control device being configured to obtain the plurality of first pairings of features satisfying the first feature condition from the sensing pairing list comprises: Counting the number of sensing pairs of each IoT device from the plurality of sensing pairs, sorting the plurality of sensing pairs from large to small according to the number of sensing pairs, and updating the sensing pairing list with the sorted plurality of sensing pairs and the characteristics of each sensing pair; as well as The plurality of first pairs of features satisfying the first feature condition are obtained from the updated sensing pair list.
8. The intrusion detection system according to claim 1, wherein the central control device is configured to determine the following intrusion conditions based on statistics of the status codes of the plurality of first pairings: (1) when at least one of the plurality of first pairings to which the paired node belongs is the second status code, it is determined that there is no intrusion condition at the spatial position where the paired node is located; (2) when all of the plurality of first pairs to which the paired node belongs are in the first status code and one of the plurality of neighboring pairings to which the other paired node of one of the plurality of first pairs belongs is in the second status code, it is determined that the spatial position where the paired node is located has an intrusion condition; (3) The remaining judgment is that the spatial location where the paired node is located is suspected of being invaded.
9. The intrusion detection system according to claim 1, wherein the central control device is configured to obtain the plurality of sensing pairings of the plurality of IoT devices in pairs, comprising: detecting device identifiers of the plurality of IoT devices; as well as A sensing schedule is set for the plurality of IoT devices based on the device identifiers, and the plurality of sensing pairs of the plurality of IoT devices are obtained in a process in which the plurality of IoT devices take turns playing the role of a device to send and receive signals in the sensing schedule.
10. The intrusion detection system according to claim 9, wherein the device role comprises a station mode, a wireless access mode and a monitoring mode.
11. An intrusion detection method, applied to a plurality of IoT devices and a central control device, wherein each of the IoT devices is respectively arranged at a spatial position and configured to send and receive a sensing signal, and the central control device connected to the plurality of IoT devices in communication receives the sensing signal, the intrusion detection method comprising: Obtaining a plurality of sensing pairs of the plurality of IoT devices in pairs; enabling the plurality of IoT devices to send and receive signals in each of the sensing pairs to obtain characteristics of the plurality of sensing pairs; establishing a sensing pairing list including the plurality of sensing pairs and a feature of each of the sensing pairs; Obtaining a plurality of first pairs of features satisfying a first feature condition from the sensing pair list; Dynamically schedule the plurality of IoT devices belonging to the plurality of first pairs to send and receive signals in a time-sharing manner to obtain first sensing signals of each of the first pairs; If it is determined that the first sensing signal meets the suspected intrusion condition, marking the first pairing with a first status code, otherwise marking it with a second status code; as well as Based on the paired nodes of the plurality of first pairs, the first status codes and the second status codes of the plurality of first pairs to which the paired nodes belong are counted respectively to determine whether there is an intrusion condition at the spatial location.
12. The intrusion detection method according to claim 11, wherein before the step of obtaining the plurality of first pairs of features satisfying the first feature condition from the sensing pairing list, the method further comprises: Obtaining a plurality of second pairs in the sensing pairing list according to features that satisfy a second feature condition; enabling the plurality of IoT devices belonging to the plurality of second pairs to send signals to obtain second sensing signals of each of the second pairs; continuously detecting whether the second sensing signal satisfies a first abnormal condition; as well as When it is determined that the second sensing signal does not satisfy the first abnormal condition, the second sensing signal is continuously acquired and detected.
13. The intrusion detection method according to claim 12, wherein when it is determined that the second sensing signal satisfies the first abnormal condition, the intrusion detection method comprises: Obtaining a plurality of third pairs in the sensing pairing list according to features that satisfy a third feature condition; enabling the plurality of IoT devices belonging to the plurality of third pairs to send signals to obtain third sensing signals of each of the third pairs; Continuously detecting whether the third sensing signal satisfies a second abnormal condition; as well as When it is determined that the third sensing signal does not satisfy the second abnormal condition, the third sensing signal is continuously acquired and detected.
14. The intrusion detection method according to claim 13, wherein when it is determined that the third sensing signal satisfies the second abnormal condition, the intrusion detection method comprises: The plurality of first pairs satisfying the first characteristic condition are obtained from the sensing pair list, and the plurality of IoT devices belonging to the plurality of first pairs are dynamically scheduled to send signals in a time-sharing manner.
15. The intrusion detection method according to claim 13, wherein the characteristics of each sensing pairing include RSSI, CSI, and ping value, the first characteristic condition is that the RSSI or CSI is greater than the corresponding first distance or is greater than a preset ping value, and the second characteristic condition is that the RSSI or CSI is less than the corresponding second distance or is less than the preset ping value, wherein the first distance is greater than the second distance.
16. The intrusion detection method according to claim 12, wherein the steps before obtaining the plurality of second pairs in the sensing pairing list according to the features satisfying the second feature condition include: Based on the multiple sensing pairs, sorting the features of the sensing pairs from small to large; as well as The sensing pairing list is established or updated based on the sorted plurality of sensing pairs and the characteristics of each sensing pair.
17. The intrusion detection method according to claim 11, wherein the step of obtaining the plurality of first pairs of features satisfying the first feature condition from the sensing pair list comprises: Counting the number of sensing pairs of each IoT device from the plurality of sensing pairs, sorting the plurality of sensing pairs from large to small according to the number of sensing pairs, and updating the sensing pairing list with the sorted plurality of sensing pairs and the characteristics of each sensing pair; as well as The plurality of first pairs of features satisfying the first feature condition are obtained from the updated sensing pair list.
18. The intrusion detection method according to claim 11, further comprising judging the following intrusion conditions based on statistics of the status codes of the plurality of first pairings: (1) when at least one of the plurality of first pairings to which the paired node belongs is the second status code, judging that there is no intrusion condition at the spatial position where the paired node is located; (2) when all of the plurality of first pairs to which the paired node belongs are in the first status code and one of the plurality of neighboring pairings to which the other paired node of one of the plurality of first pairs belongs is in the second status code, it is determined that the spatial position where the paired node is located has an intrusion condition; (3) The remaining judgment is that the spatial location where the paired node is located is suspected of being invaded.
19. The intrusion detection method according to claim 11, wherein the step of obtaining the plurality of sensing pairs of the plurality of IoT devices in pairs comprises: detecting device identifiers of the plurality of IoT devices; as well as A sensing schedule is set for the plurality of IoT devices based on the device identifiers, and the plurality of sensing pairs of the plurality of IoT devices are obtained in a process in which the plurality of IoT devices take turns playing the role of a device to send and receive signals in the sensing schedule.
20. The intrusion detection method according to claim 19, wherein the device role comprises a station mode, a wireless access mode and a monitoring mode.