Detection device, method and system

CN116540319BActive Publication Date: 2026-10-27WUHAN LINPTECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310487325.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2026-10-27
Estimated Expiration
2043-04-28

AI Technical Summary

Technical Problem

[0003]但是,现有的探测装置探测精度不高而导致依赖于探测装置探测结果的智能控制系统的智能化程度较低,影响了用户体验

Benefits of technology

[0004]本发明的一目的在于提供一种探测装置、方法及系统,其中探测装置的处理模块在识别到有人时不会立即确定当前空间有人,而是继续在第一延时时间内确认是否有人,进而能够屏蔽掉一些短暂干扰(例如蚊虫飞过、窗帘瞬间被风吹起等),以进一步提高抗干扰能力。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116540319B_ABST
    Figure CN116540319B_ABST
Patent Text Reader

Abstract

The present application provides a detecting device, method and system, the detecting device is suitable for being arranged in a space to detect whether the current space has people; wherein the detecting device comprises a processing module, which is configured to work in a first identification state to detect whether the current space has people after determining that the current space has no people, and a second identification state to detect whether the current space has people after determining that the current space has people; wherein, in the first identification state, detecting whether the current space has people is specifically used for: if it is identified that the current space has people, then detecting whether the current space has people within a first delay time; if yes, then determining that the current space has people and entering the second identification state; otherwise, determining that the current space has no people and maintaining the first identification state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent sensing technology, and in particular to a detection device, method and system. Background Technology

[0002] Integrating sensing functions into electrical appliances is key to achieving smart technology, especially for appliances such as lighting and air conditioning that are directly related to people's comfort.

[0003] However, the existing detection devices have low detection accuracy, resulting in a low level of intelligence in the intelligent control systems that rely on the detection results, thus affecting the user experience. Specifically, existing detection devices generally switch states immediately when someone is detected, which can easily lead to false triggering. Summary of the Invention

[0004] One objective of this invention is to provide a detection device, method, and system, wherein the processing module of the detection device does not immediately determine that there is someone in the current space when it detects someone, but continues to confirm whether there is someone within a first delay time, thereby shielding some transient interferences (such as mosquitoes flying by, curtains being blown up by the wind, etc.) to further improve the anti-interference capability.

[0005] Another objective of the present invention is to provide a detection device, method, and system, wherein the processing module of the detection device identifies whether there is a person at the beginning and end of a first delay time, and determines that there is a person only when a person is detected at the beginning and end of the first delay time, while the processing module does not perform detection between the beginning and end of the first delay time, so as to save power consumption.

[0006] Another objective of the present invention is to provide a detection device, method, and system, wherein the timing of the action signal sent by the radar module of the detection device to the processing module is not fixed, so as to improve the overall anti-interference capability by randomly sending the period, and the task of introducing random numbers is completed by the radar module, which reduces the pressure on the processing module to a certain extent, thereby improving the anti-interference capability while reducing the load on the processing module.

[0007] Another object of the present invention is to provide a detection device, method and system, wherein the detection device has a quick-shutdown linkage function, so that the user can quickly cut off the automatic linkage function of the detection device when needed.

[0008] Another object of the present invention is to provide a detection device, method and system, wherein the detection device can shut down the data reporting of the detection device without turning off the power of the radar module.

[0009] To achieve at least one of the above objectives, according to a first aspect of the present invention, a detection device is provided, adapted to be disposed in a space to detect whether there is a person in the current space; wherein the detection device includes a processing module configured to operate in: a first identification state, for detecting whether there is a person in the current space after determining that there is no person in the current space; and a second identification state, for detecting whether there is a person in the current space after determining that there is a person in the current space; wherein, detecting whether there is a person in the current space in the first identification state is specifically configured to: if it is identified that there is a person in the current space, then detect whether there is a person in the current space within a first delay time; if so, then determine that there is a person in the current space and enter the second identification state; otherwise, determine that there is no person in the current space and maintain the first identification state.

[0010] Optionally, the processing module detects whether there is anyone in the current space during the first delay time. Specifically, it is used to: take the first detection of someone in the current space as the starting point of the first delay time, and then detect whether there is anyone at intervals M times before the end of the first delay time; if the results of the M times are all yes, then it is determined that there is someone in the current space; otherwise, it is determined that there is no one in the current space; where M is an integer greater than or equal to 1.

[0011] Optionally, the processing module detects whether there is anyone in the current space during the first delay time, specifically for: identifying whether there is anyone in the current space at the end of the first delay time; if so, determining that there is someone in the current space; otherwise, determining that there is no one in the current space.

[0012] Optionally, the detection device includes a radar module electrically connected to a processing module; the processing module detects whether there is a person in the current space, specifically for: acquiring motion signals in the current space through the radar module; the radar module sending the motion signals to the processing module, and the processing module analyzing the motion signals to identify whether there is a person in the current space; wherein the interval between the radar module sending the motion signals varies randomly.

[0013] Optionally, the interval time varies randomly within the range of 60ms-100ms.

[0014] Optionally, the processing module is configured to disable the reporting function based on the detection results obtained by the radar module according to a shutdown command from the application.

[0015] Optionally, the processing module controls the power supply of the radar module through a switch component. When the processing module receives the shutdown command, it disconnects the switch component to cut off the power supply of the radar module and stops reporting any detection results related to the radar module.

[0016] Optionally, upon receiving the shutdown command, the processing module stops reporting the detection results obtained by the radar module, but does not shut down the power supply of the radar module.

[0017] Optionally, the processing module is further configured to: set the first delay time according to an instruction from the application.

[0018] According to a second aspect of the present invention, a detection method is provided, comprising:

[0019] Detect whether there are people in the current space;

[0020] If it is determined that there is no one in the current space, the first identification state is used to detect whether there is someone in the current space; and if it is determined that there is someone in the current space, the second identification state is used to detect whether there is someone in the current space.

[0021] In the first identification state, detecting whether there are people in the current space is specifically used for:

[0022] If it is identified that there is someone in the current space, then during the first delay time, it is detected whether there is someone in the current space; if so, it is determined that there is someone in the current space and enters the second identification state; otherwise, it is determined that there is no one in the current space and the first identification state is maintained.

[0023] Optionally, during the first delay time, detect whether there is anyone in the current space. Specifically, the first delay time is taken as the starting point when someone is first detected in the current space, and the first delay time is used to detect whether there is anyone in the current space at the end of the first delay time. If so, it is determined that there is someone in the current space; otherwise, it is determined that there is no one in the current space.

[0024] Optionally, detecting whether there are people in the current space specifically includes: acquiring motion signals in the current space; the motion signals are generated by a radar module based on radar detection of the current space; the interval between the radar module sending the motion signals varies randomly; and analyzing the motion signals to identify whether there are people in the current space.

[0025] According to a third aspect of the present invention, a control system is provided, comprising:

[0026] A detection device, wherein the detection device is the detection device provided in the first aspect above, or is used to implement the detection method provided in the second aspect above;

[0027] A controlled device, which is operatively coupled to the detection device so as to be directly or indirectly operated by the detection device to change its operating state.

[0028] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description

[0029] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. These drawings are incorporated in and constitute a part of this specification, illustrating embodiments consistent with this application and serving together with the specification to explain the principles of this application. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0030] Figure 1 This is a schematic diagram of a control system structure in an embodiment of the present invention;

[0031] Figure 2 This is a schematic diagram of the detection device in an embodiment of the present invention;

[0032] Figure 3 This is a schematic diagram of the current space setting method in an embodiment of the present invention;

[0033] Figure 4 This is a flowchart illustrating a detection method according to an embodiment of the present invention;

[0034] Figure 5 , Figure 6 This is a flowchart illustrating a detection method according to the first embodiment of the present invention;

[0035] Figure 7 , Figure 8 This is a flowchart illustrating a detection method according to the second embodiment of the present invention;

[0036] Figure 9 , Figure 10 This is a flowchart illustrating a detection method according to the third embodiment of the present invention;

[0037] Figure 11 This is a schematic diagram of an application scenario in the fourth embodiment of the present invention;

[0038] Figures 12-14 This is a flowchart illustrating a detection method according to the fourth embodiment of the present invention;

[0039] Figure 15 This is a schematic diagram of the physical structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0040] The embodiments of the present invention will now be described in detail. When the description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. It should be understood that in the description of all embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature. Those skilled in the art can understand the specific meaning of the above terms in the present invention according to the specific circumstances.

[0041] Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0042] Please see Figure 1 The diagram illustrates the structure of a control system proposed in this invention. This control system is suitable for being installed in a space to intelligently control the environmental state of the space (e.g., turning lights on, turning lights off, turning on air conditioning, turning off air conditioning, etc.). Figure 1 As can be seen, the control system includes at least a detection device 100 and a controlled device 200; the controlled device 200 is directly or indirectly operably coupled to the detection device 100 to establish a communication connection between the two; wherein the detection device 100 is used to detect whether there is a person in the current space, and according to the detection results (e.g., determining that there is a person in the current space, determining that there is no person in the current space, the current space remains occupied for a certain period of time, the current space remains unoccupied for a certain period of time, the current space is far away from the person, the current space is near the person, etc.), the controlled device 200 is linked to perform corresponding operations, and thus the controlled device 200 can perform intelligent linkage work based on the detection results of the detection device 100 on the current space, so as to intelligently adjust the spatial environment state.

[0043] It should be noted that the term "coupling" as used here and thereafter should be interpreted broadly. For example, it can refer to electrical connection, mutual communication, or indirect connection through an intermediate medium to form a linkage relationship. It can also refer to the internal connection of two components or the interaction between two components. Furthermore, any connection method that enables the operable coupling relationship between the detection device 100 and the controlled device 200 can be considered an optional solution in this embodiment. In one example, the detection device 100 and the controlled device 200 are integrated into a single device, and an operable coupling relationship is established through direct electrical connection via, for example, IIC or serial communication. In another example, the detection device 100 and the controlled device 200 are separately configured and wirelessly connected via, for example, any wireless communication protocol such as Bluetooth, WIFI, or ZigBee to establish an operable coupling relationship. In another example, the detection device 100 and the controlled device 200 are separately configured and connected by wired communication methods such as power line communication (PLC) or KNX to establish an operable coupling relationship.

[0044] The controlled device 200 can be understood as any intelligent device capable of being manipulated by wireless control signals and / or wired control signals to perform related operations and change its working state; it may include, but is not limited to, lighting equipment, air conditioners, speakers, curtain companions, smart window openers, smart wall switches, etc. The operations it can perform may include, but are not limited to, being controlled to enter a certain working state; for example, turning lights on or off, turning air conditioners on or off, turning speakers on or off, opening or closing curtains, opening or closing windows, etc.

[0045] It is understood that, based on changes in the application field or detection target of the detection device 100, the specific type and executable functions of the controlled device 200 can be arbitrarily varied, and none of these variations should deviate from the scope of the embodiments of the present invention. For ease of description, in most of the following embodiments, a lighting device will be used as an example to illustrate the controlled device 200. It is understood that the lighting device should at least have the functions of turning the light on and off.

[0046] The space can be understood as an area associated with the spatial environment that the user wants to control. For example, if the user wants to operate the lighting equipment through the detection device 100, the space should be at least a part of the area covered by the lighting area of ​​the lighting equipment or an adjacent area. The current space should be understood as at least a part of the entire space. When the detection device 100 detects that there is someone in the current space, it can link the lighting equipment to perform corresponding operations to change the lighting state of the area that the user wants to control.

[0047] In addition, it should be noted that Figure 1 The schematic diagram of a single detection device 100 and a single controlled device 200 is provided only as an example; however, in an actual control system, there can be multiple detection devices 100 and multiple controlled devices 200. For example, multiple controlled devices 200 can be controlled by a single detection device 100, or multiple controlled devices 200 can be controlled by a single detection device 100, or a single controlled device 200 can be controlled by multiple detection devices 100.

[0048] The detection device 100 can be understood as a component or combination of components suitable for being placed in a space to identify whether there is a person in the current space based on the detection of actions in the current space; the current space should be the entire space or at least a part of the space; such as Figure 2 As shown, the detection device 100 includes a processing module 102 and a detection module 101. The detection module 101 and the processing module 102 are communicatively connected, and the connection method may be, for example, but not limited to, serial communication or IIC.

[0049] The processing module 102 should be understood as any component or combination of components capable of performing data analysis, judgment, and processing. Specifically, the processing module 102 may include a microcontroller, a system-on-a-chip integrating an MCU and RF (e.g., a Bluetooth module, a WIFI module, a ZIGBEE module, etc.), or a conversion circuit composed of discrete components.

[0050] The detection module 101 is used to acquire motion signals in the current space and provide them to the processing module 102, so that the processing module 102 can determine whether there is a person in the current space. The motion signal can be understood as any data that can be used to support the processing module 102 in analyzing and determining whether there is a person in the current space.

[0051] In one example, the detection module 101 can perform preliminary processing after acquiring the action signal and obtain a preliminary action signal indicating whether there is a person in the space, and then send the action signal to the processing module 102.

[0052] In another example, the detection module 101 may also acquire only the raw data of the motion signals in the space and send it to the processing module 102. The processing module 102 processes and analyzes the data according to a preset algorithm to determine whether there is a person in the space.

[0053] In a further example, such as Figure 2As shown, the detection module 101 can be a single-mode sensor with only a microwave-based radar module. During operation, it radiates detection microwaves (e.g., frequency-modulated continuous wave) into the current space and receives response echoes generated based on the detection microwaves. It then analyzes the response echoes to obtain Doppler intermediate frequency signal data, such as frequency and phase changes between the detection microwaves and the response echoes. This Doppler intermediate frequency signal data can be transmitted to the processing module 102 as an action signal characterizing whether there is movement in the current space. The processing module 102 analyzes this action signal to determine whether there is a person in the current space.

[0054] In another further example, the detection device 100 may also be a dual-mode sensor including a microwave-based radar module and an infrared pyroelectric sensor based on infrared radiation; when using a dual-mode sensor, the working principle of the radar module can still be understood with reference to the aforementioned example of a single-mode sensor, while the infrared pyroelectric sensor, as an auxiliary detection, can improve the detection accuracy of the human body.

[0055] Furthermore, it should be noted that the detection device 100 is also used to implement a detection method described below. Therefore, the following description of the detection method can be understood as a description of the working process, function, and specific implementation of the software and / or hardware of the detection device 100. For embodiments of the detection method corresponding to the detection device 100 of the same embodiment, this document will not provide detailed explanations. The effects, principles, functions, etc. of the terms and features in the embodiments of the detection method can be understood by referring to the description of the corresponding detection device embodiments.

[0056] The inventors have discovered that the range of motion of the human body varies greatly in different states. For example, the range of motion is large when walking, but very small when sleeping (perhaps only the slight movement of the chest cavity during breathing). Existing motion detection devices for identifying the presence of people generally use a fixed sensitivity for human detection. This results in a single sensitivity level being unable to accommodate various ranges of motion, leading to low recognition accuracy, limited applicability, and inability to meet complex and varied usage requirements. Therefore, an embodiment of the present invention provides a detection device 100 with segmented adjustable sensitivity settings, allowing users to achieve a wide range of detection sensitivity configurations through different sensitivity settings.

[0057] Specifically, in one embodiment of the present invention, the processing module 102 is configured to operate in the following manner:

[0058] A first identification state is used to detect whether there is a person in the current space after determining that there is no one in the current space; and a second identification state is used to detect whether there is a person in the current space after determining that there is a person in the current space.

[0059] The first recognition state has an adjustable first recognition threshold; the first recognition threshold represents the difficulty of triggering a person recognition result in the first recognition state, and the lower the value, the smaller the range of motion of the person that can be recognized in the first recognition state; the second recognition state has an adjustable second recognition threshold; the second recognition threshold represents the difficulty of triggering a person recognition result in the second recognition state, and the lower the value, the smaller the range of motion of the person that can be recognized in the second recognition state.

[0060] It should be noted that, based on this embodiment, after the processing module 102 starts working, it acquires the motion signal of the current space through the detection module 101. When the motion signal exceeds the first recognition threshold, it identifies that there is someone in the current space. After confirming that there is someone in the current space, it enters a second recognition state to compare the acquired motion signal with the second recognition threshold. When the motion signal does not exceed the second recognition threshold, it identifies that there is no one in the current space. After confirming that there is no one in the current space, it re-enters the first recognition state to determine whether there is someone based on the first recognition threshold. This process is repeated to detect whether there is someone in the current space. Furthermore, it is worth noting that identifying that there is someone in the current space is not simply equivalent to determining that there is someone in the current space. Identifying that there is someone in the current space can be understood as the processing module 102 determining that a motion signal exceeds the first or second recognition threshold once, while determining that there is someone in the current space should be understood as the processing module 102 determining that a motion signal exceeds the first or second recognition threshold at least once. In other words, according to the solution provided in this embodiment, after the processing module 102 starts working (powered on), it will first enter a first identification state to detect whether there is a person in the current space. After confirming that there is a person in the space, it will trigger a second identification state to detect whether the person in the current space continues to exist (maintaining a person present). The first identification state and the second identification state are continuous and alternate. This allows the processing module 102 to adaptively adjust the sensitivity of triggering the presence of a person at different stages before and after the target enters the current space, so as to achieve different detection sensitivity requirements.

[0061] Therefore, it can be understood that the first identification threshold is used by the processing module 102 to identify whether there is someone in the current space in the first identification state. Changes in the value of the first identification threshold can cause changes in the sensitivity of triggering "someone is in the current space" in the first identification state. That is, the larger the value of the first identification threshold, the greater the action required to identify "someone is in the current space" in the first identification state (i.e., lower sensitivity), and the smaller the value of the first identification threshold, the smaller the action required to identify "someone is in the current space" in the first identification state (i.e., higher sensitivity). Similarly, the second identification threshold is used by the processing module 102 to identify whether there is a continuous presence in the current space in the second identification state. Changes in the value of the second identification threshold can cause changes in the sensitivity of triggering "someone is in the current space" in the second identification state. That is, the larger the value of the second identification threshold, the greater the action required to identify "someone is in the current space" in the second identification state (i.e., lower sensitivity), and the smaller the value of the second identification threshold, the smaller the action required to identify "someone is in the current space" in the second identification state (i.e., higher sensitivity). Thus, users can adjust the trigger sensitivity of the first and second identification states based on actual needs to improve the detection accuracy of the human body.

[0062] In one example, the detection device 100 is installed in spaces such as living rooms and bedrooms, and is linked to lighting equipment. When the detection device 100 determines that there is someone in the current space, it links the lighting equipment to turn on, and when it determines that there is no one in the current space, it links the lighting equipment to turn off. The first recognition threshold is set to be greater than the second recognition threshold, that is, it has lower sensitivity in the first recognition state and higher sensitivity in the second recognition state. It is understandable that when a person enters the current space, their movements are generally quite large (e.g., walking or running). Therefore, the first recognition state, with a higher first recognition threshold, can avoid misidentifying small movements caused by interference sources (e.g., slight movement of curtains, fan interference, speaker vibration interference, etc.) while also recognizing larger movements when a person enters the current space. This enhances the anti-interference capability when triggering occupancy and improves the accuracy of occupancy detection. However, when a person is in the current space, they may be almost still or in a state of slight movement (e.g., while sleeping or watching a movie, there may only be slight movements from breathing and heartbeat). If triggering occupancy is still difficult in this case, small movements of the person may not be recognized. Therefore, once it is determined that someone is in the current space, the second recognition state is entered with a lower second recognition threshold to recognize the person's movements. Thus, even a slight movement like a smile can be recognized, improving the sensitivity of maintaining occupancy and reducing the probability of misjudgment. In other words, after the processing module 102 starts working (powered on), it first enters a first recognition state, using a higher first recognition threshold to detect whether there is a person in the current space. Upon confirming that someone is in the space, it triggers a second recognition state and turns on the lights. Then, it uses a lower second recognition threshold to detect whether the person in the current space remains present (maintaining occupancy). When it determines that no one is in the current space, it enters the first recognition state again and turns off the lights. The first and second recognition states occur continuously and alternately, allowing the processing module 102 to adaptively adjust the sensitivity of triggering the presence of a person at different stages before and after the target enters the current space, achieving accurate triggering of presence and sensitive maintenance of presence.

[0063] In another example, the detection device 100 is installed in spaces such as corridors and entryways, and is linked to lighting equipment. The detection device 100 activates the lighting equipment when it determines that someone is in the space, and deactivates it when it determines that no one is in the space. The first recognition threshold is set lower than the second recognition threshold, resulting in higher sensitivity in the first recognition state and lower sensitivity in the second recognition state. It is understood that a person's passage through corridors and entryways is generally brief. Therefore, the lower first recognition threshold in the first recognition state allows for a quick response to turn on the lights when someone briefly passes through, optimizing the user experience. The higher second recognition threshold in the second recognition state allows for a timely switch to a result indicating no one is present after the initial detection, enabling the lights to be turned off promptly after a brief period of illumination. This prevents energy waste caused by delayed light control due to minor curtain movements, fan interference, or speaker vibrations after the person leaves. In other words, after the processing module 102 starts working (after power-on), it first enters a first recognition state, using a lower first recognition threshold to detect whether there is a person in the current space. Upon confirming that someone is in the space, it triggers a second recognition state and turns on the lights. Then, it uses a higher second recognition threshold to detect whether the person in the current space remains present (maintaining occupancy). When it determines that no one is in the current space, it enters the first recognition state again and turns off the lights. The first and second recognition states occur continuously and alternately, allowing the processing module 102 to adaptively adjust the sensitivity of triggering the person at different stages before and after the target enters the current space, achieving a fast response speed for triggering occupancy and high accuracy in maintaining occupancy.

[0064] According to an embodiment of the present invention, the detection device 100 further includes: a data acquisition module 103, used to acquire spatial configuration data; the spatial configuration data is in the range L1 to L2. m Generated after being freely selected; where L1~L m The first to the mth intervals represent a space divided into m consecutive intervals, where m is an integer greater than 1. The processing module 102 is further configured to: form the current space based on the spatial configuration data; the current space consists of all selected intervals. Therefore, the detection device 100 can form the current space based on multiple intervals selected by the spatial configuration data, allowing the user to freely select the target detection area covered by the current space based on actual needs and configure the current space by distributing the spatial configuration data.

[0065] The data acquisition module 103 should be understood as any component or combination of components capable of data transmission and reception. Specifically, the data acquisition module 103 may be, for example, but not limited to, a WIFI communication unit, a Bluetooth communication unit, or other radio frequency communication units. In a further example, the detection device 100 can establish a communication connection with a user's mobile terminal through the data acquisition module 103. The mobile terminal runs an application (APP) corresponding to the detection device 100. The user can freely select L1 to L2 according to the target detection area as needed through the user interface of the APP. m The system can detect one or more intervals, and then send relevant spatial configuration data to the detection device 100 to form the current space that can cover the target detection area. (See also...) Figure 3 As shown in one example, L1 to L m The space within 6 meters of the detection device is divided into intervals of 1 meter each: L1 is [0m, 1m], L2 is [1m, 2m], L3 is [2m, 3m], L4 is [3m, 4m], L5 is [4m, 5m], and L6 is [5m, 6m]. The user can arbitrarily select the desired target detection area (e.g., ...). Figure 3 The current space was composed of three intervals, L2 to L4, to meet actual needs.

[0066] In some embodiments, the processing module 102 is further configured to: determine the area where the person is located as the trigger area, and send trigger data representing the trigger area to an electronic device so that an electronic device receives the trigger data and displays the area where the person is located. Furthermore, based on the solution provided in this embodiment, when a person is triggered in a certain area, if the trigger is not actually caused by a human action (e.g., the movement of curtains), it is determined to be an interference source. The user can quickly block the interference source area by viewing the display of the trigger area and removing the interference source area from the current space. That is, the current space configuration data is generated by the user freely selecting from the remaining areas after at least excluding the interference source area. In one example, the user can view the triggering status of the current space in real time through the app user interface on their mobile phone. If an area is found to be triggered but not by a human action, it is determined that an interference source exists within that trigger area. The interference source area can then be accurately blocked by not selecting that trigger area as the target detection area.

[0067] Furthermore, the trigger data includes single-time trigger data; the single-time trigger data records the trigger interval where the person is located when switching from occupied to unoccupied, and / or, the trigger interval where the person is located when switching from unoccupied to occupied, so that the electronic device can display the historical trigger records of the space. In other words, when the processing module 102 switches from determining that the current space is occupied to determining that the current space is unoccupied, and from determining that the current space is unoccupied to determining that the current space is occupied, it will perform a single-time trigger data reporting operation so that the user can view it through electronic devices, etc., and then the user can locate the location of the triggering interference source (the interference source that briefly triggers and then returns to normal) based on the historical record of the single-time trigger data, and then block the triggering interference source.

[0068] Furthermore, the trigger data includes real-time trigger data; the real-time trigger data records the current state (whether or not someone is present) of all intervals in the current space, so that the electronic device can display the real-time state of the current space, allowing the user to locate the position of persistent interference sources based on the display of the real-time trigger data for rapid shielding. It is understood that if an interference source persists, the corresponding interval will continue to detect someone without switching to an unoccupied state, so the interference source in that interval will persist; such interference sources can be understood as persistent interference sources. For persistent interference sources, it may not be possible to view the location of the interference source through historical records (because historical records generally record the transition from someone to no one or from no one to someone). Therefore, by displaying real-time trigger data, the location of persistent interference sources can be quickly located for shielding.

[0069] In some embodiments, each interval L i The corresponding first sub-identification threshold S is set. 1i Second sub-identification threshold S 2i S 1i Used to define the interval L that the processing module 102 can recognize in the first recognition state. i The range of motion of a middle-aged person; S 2i Used to define the range L that the processing module 102 can recognize in the second recognition state. i The magnitude of the human's movement; i∈[1,m], S 11 ~S 1m The first identification threshold S1, S 21 ~S 2m This constitutes the second identification threshold S2. Wherein, S... 11 ~S 1m S can be adjusted within a first specified threshold range. 21 ~S 2mEach can be adjusted within a second specified threshold range. The first and second specified threshold ranges do not completely overlap, allowing for a wider range of sensitivity adjustment to cover more complex usage scenarios by adjusting S1 and S2.

[0070] One specific method of judgment is explained below:

[0071] When the processing module 102 identifies whether there is a person in the first identification state, if the action signal exceeds the first identification threshold, it identifies that there is a person in the current space. Specifically, this can be understood as follows: if the action signal exceeds the first sub-identification threshold corresponding to any interval in the current space, it is determined that the action signal exceeds the first identification threshold; otherwise, it is determined that the action signal does not exceed the first identification threshold.

[0072] When the processing module 102 identifies whether there is a person in the second identification state, if the action signal exceeds the second identification threshold, it identifies that there is a person in the current space. Specifically, this can be understood as: if the action signal exceeds the second sub-identification threshold corresponding to any interval in the current space, it is determined that the action signal exceeds the second identification threshold.

[0073] Furthermore, the data acquisition module 103 is also used to: acquire threshold configuration data; the threshold configuration data is obtained by the user on an electronic device for S 11 ~S 1m and S 21 ~S 2m At least one of the free definitions in the process is generated; the processing module 102 is further configured to: configure data based on the threshold (defined S) 11 ~S 1m Determine the first recognition threshold S1 for the first recognition state and the second recognition threshold S2 for the second recognition state.

[0074] Furthermore, based on this embodiment, the processing module 102 has the function of adjusting sensitivity by region. That is, by refining the spatial division, it can achieve more precise sensitivity settings to adapt to more complex usage spaces. In other words, the user can adjust the first sub-identification threshold and / or the second sub-identification threshold corresponding to any interval according to the spatial environment of the area to be detected. That is, the user can reasonably set the triggering sensitivity (the lower the first sub-identification threshold, the higher the sensitivity, and vice versa) and the maintaining sensitivity (the lower the second sub-identification threshold, the higher the sensitivity, and vice versa) of each interval to achieve a more granular shielding effect and to meet a wider range of application needs.

[0075] Furthermore, the processing module 102 is also configured to retain the first sub-identification threshold and the second sub-identification threshold corresponding to the unselected interval, so that the user can quickly restore the previous settings later. For example, when the user sets the first sub-identification threshold S for the first interval L1 for the first time, 11 Set it to A, and set the second sub-identification threshold S 21 If it is set to B, and L1 is disabled during the second setup, then when the user operates via mobile phone, the S corresponding to L1 will be... 11 and S 21 It will be inoperable, but you can still see S. 11 Let A and S be the names of the two groups. 21 Therefore, if a user wants to restore the initial L1 settings later, it will be much easier.

[0076] In some embodiments, the threshold configuration data is automatically generated by a user selecting one of multiple preset sensitivity levels on an electronic device. This allows the user to quickly switch to the corresponding sensitivity level through the selection of the preset sensitivity level. For example, the electronic device has four preset sensitivity levels: high sensitivity, medium sensitivity, low sensitivity, and custom sensitivity. The high sensitivity, medium sensitivity, and low sensitivity levels each have a corresponding S... 11 ~S 1m and S 21 ~S 2m Threshold configuration data: users can directly match the preset threshold configuration data by selecting the corresponding gear, while in the custom gear, users can freely adjust the S... 11 ~S 1m and S 21 ~S 2m The system allows for the selection of any threshold value to achieve customized threshold configuration data. Based on this solution, users can easily and quickly switch to their desired sensitivity level by selecting high, medium, or low settings, or personalize their sensitivity configuration by customizing the settings.

[0077] Furthermore, when setting any of the high, medium, or low sensitivity levels, if manipulation of the first or second recognition threshold for any range is detected, the system automatically switches to the custom sensitivity setting interface and synchronizes the corresponding first and second recognition threshold data to the custom sensitivity level. This allows users to customize threshold settings based on the preset thresholds of the high, medium, and low sensitivity levels, making sensitivity adjustment more convenient.

[0078] In a further example, when sensitivity is set by selecting a gear, the threshold configuration data includes the gear data that is sent synchronously and the corresponding preset threshold data, in order to prevent the gear and threshold from being confused due to network reasons (such as packet loss or a long delay in sending one of the gear data or preset threshold data) when they are sent separately.

[0079] Please see Figures 4-6 The detection method of the present invention, provided in the above embodiments, is specifically illustrated as follows: Figure 4 As shown, the detection method includes at least step S1 and step S2, wherein:

[0080] S1. Detect whether there are people in the current space;

[0081] S2. If it is determined that there is no one in the current space, detect whether there is someone in the current space using the first identification state; and if it is determined that there is someone in the current space, detect whether there is someone in the current space using the second identification state.

[0082] The first recognition state has an adjustable first recognition threshold; the first recognition threshold represents the difficulty of triggering a person recognition result in the first recognition state, and the lower the value, the smaller the range of motion of the person that can be recognized in the first recognition state; the second recognition state has an adjustable second recognition threshold; the second recognition threshold represents the difficulty of triggering a person recognition result in the second recognition state, and the lower the value, the smaller the range of motion of the person that can be recognized in the second recognition state.

[0083] See Figure 5 According to an embodiment of the present invention, before detecting whether there is anyone in the current space, the method further includes:

[0084] S0. Obtain spatial configuration data; the spatial configuration data consists of interval L1 to L2. m Generated after being freely selected; where L1~L m The first interval to the mth interval represent a space divided into m consecutive intervals, where m is an integer greater than 1;

[0085] The current space is formed based on the spatial configuration data; the current space consists of all selected intervals.

[0086] See Figure 6 According to an embodiment of the present invention, the detection method further includes:

[0087] S3. Determine the interval where the person is located as the trigger interval, and send trigger data representing the trigger interval outward so that an electronic device receives the trigger data and displays the interval where the person is located.

[0088] According to an embodiment of the present invention, the interval L iThe corresponding settings are:

[0089] First sub-identification threshold S 1i It represents the interval L that can be identified in the first identification state. i The magnitude of a person's movement can be determined and adjusted within a first specified threshold range; the lower the value, the smaller the movement magnitude can be recognized. And, the second sub-recognition threshold S... 2i Its representation is the interval L that can be recognized in the second recognition state. i The range of motion of a person can be measured and adjusted within a second specified threshold range. The lower the value, the smaller the range of motion can be detected.

[0090] Where i∈[1,m], S 11 ~S 1m The first identification threshold S1, S 21 ~S 2m The second identification threshold S2 is formed; the first specified threshold range and the second specified threshold range do not completely overlap.

[0091] According to an embodiment of the present invention, the detection method further includes:

[0092] Obtain threshold configuration data; the threshold configuration data is obtained by the user for S. 11 ~S 1m S 21 ~S 2m It is generated after at least one free definition in the formula;

[0093] S1 and S2 are determined based on threshold configuration data.

[0094] In addition, considering that existing detection devices generally switch states immediately when someone is detected, which can easily lead to false triggering, an embodiment of the present invention also provides a detection device 100 that does not immediately output detection results after detecting someone, so as to shield against brief interference.

[0095] Specifically, in one embodiment of the present invention, the processing module 102 is configured to operate in: a first identification state, to detect whether there is a person in the current space after determining that there is no one in the current space; and a second identification state, to detect whether there is a person in the current space after determining that there is a person in the current space;

[0096] In the first identification state, detecting whether there are people in the current space is specifically used for:

[0097] If it is identified that there is someone in the current space, then during the first delay time, it is detected whether there is someone in the current space; if so, it is determined that there is someone in the current space and enters the second identification state; otherwise, it is determined that there is no one in the current space and the first identification state is maintained.

[0098] Therefore, in this way, when the processing module 102 detects someone, it will not immediately determine whether there is someone in the current space, but will continue to confirm whether there is someone within the first delay time, thereby blocking out some brief interferences (such as mosquitoes flying by, curtains being blown up by the wind, etc.) to further improve the anti-interference capability.

[0099] According to an embodiment of the present invention, the processing module 102 is further configured to set the first delay time according to an instruction from an application program. Therefore, the first delay time can be freely set by the user according to their needs. For example, when the detection device 100 is placed in a corridor, entryway, or other space, the first delay time can be appropriately increased to achieve the effect of a person briefly passing through the current space without triggering the controlled device 200. As another example, if the controlled device 200 is a lighting device, turning on the light when someone is detected in the current space and turning it off when no one is detected in the current space, then when a person briefly passes through the current space, if the passing time does not exceed the first delay time, it will not be determined that someone is there, and therefore the light will not be turned on, avoiding energy waste.

[0100] According to an embodiment of the present invention, the processing module 102 detects whether there is anyone in the current space during a first delay time. Specifically, it is used to: take the first detection of someone in the current space as the starting point of the first delay time, and then detect whether there is anyone in the current space M times at intervals before the end of the first delay time; if all M results are yes, then it is determined that there is someone in the current space; otherwise, it is determined that there is no one in the current space; where M is an integer greater than or equal to 1. Furthermore, based on this embodiment, during the first delay time, the processing module 102 determines whether there is anyone in the current space through an interval-based sampling method, to prevent the processing module from continuously being in a sampling and detection state, which would accelerate aging and reduce the overall lifespan of the product. Moreover, by detecting M times at intervals, transient interference can also be shielded to a certain extent, improving the product's anti-interference performance.

[0101] In one example, M is set to 1. The processing module 102 detects whether there is anyone in the current space during the first delay time. Specifically, it is used to: identify whether there is anyone in the current space at the end of the first delay time; if so, it determines that there is someone in the current space; otherwise, it determines that there is no one in the current space. Furthermore, in the first identification state (i.e., waiting to trigger the presence of someone when there is no one), the processing module 102 will start timing the first delay time when it first identifies someone, and identify whether there is someone at the beginning and end of the first delay time respectively. Only when someone is detected at the beginning and end of the first delay time will it conclude that there is someone in the current space and then enter the second identification state (maintaining presence to wait for the presence of someone to trigger the absence of someone). Between the beginning and end of the first delay time, the processing module 102 does not perform detection to further slow down aging and reduce power consumption.

[0102] According to embodiments of the present invention, such as Figure 2As shown, the detection module 101 of the detection device 100 directly adopts a radar module, meaning the detection device 100 also includes a radar module, which is electrically connected to the processing module 102. The processing module 102 detects whether there is a person in the current space, specifically by: acquiring motion signals in the current space through the radar module; the radar module sending the motion signals to the processing module 102, and the processing module 102 analyzing the motion signals to identify whether there is a person in the current space; wherein, the interval between the radar module sending the motion signals varies randomly to improve anti-interference performance by introducing natural random numbers. For example, the interval varies randomly within 60ms-100ms.

[0103] Based on the solution provided in this embodiment, the timing of the action signal sent by the radar module to the processing module 102 is not fixed, so as to improve the overall anti-interference capability in a random manner. The task of introducing random numbers is completed by the radar module, which reduces the pressure on the processing module 102 to a certain extent. That is, while improving the anti-interference capability, the load on the processing module 102 is reduced.

[0104] Furthermore, according to embodiments of the present invention, the detection device 100 has a networking function, enabling it to establish a network connection with controlled devices connected to the same network (e.g., the network where the same server is located) for data interaction and control. Users can pre-store custom control rules on their mobile phones to the server, where each control rule defines a mapping relationship between at least one detection result and at least one executable function of a controlled device 200. When the server receives the detection result reported by the detection device 100, it sends the control result defined by the control rule matching the detection result to the controlled device 200. The controlled device 200 then performs the corresponding operation based on the control result to achieve automated linkage functionality based on the detection result.

[0105] The inventors discovered that in practical use, when the detection device 100 is linked to the controlled device 200, there is often a need to briefly disable the linkage function of the detection device 100, such as after turning on a robot vacuum cleaner or after going to sleep, to prevent accidental activation. However, existing detection devices 100 do not have this function. Therefore, one embodiment of the present invention provides a detection device 100 in which the processing module 102 is configured to disable the reporting function based on the detection results obtained by the radar module according to a shutdown command from an application, so that the user can quickly disconnect the automated linkage function of the detection device 100 when needed.

[0106] In one example, the processing module 102 controls the power supply of the radar module through a switching component, which may be, for example, but not limited to, an electronic switch composed of a MOSFET, a transistor, or other electronic switches. When the processing module 102 receives the shutdown command, it disconnects the switching component to cut off the power supply of the radar module, and simultaneously stops reporting any detection results related to the radar module, to prevent the processing module 102 from mistakenly detecting that the current space is unoccupied during the radar module shutdown process, thus causing a false trigger. However, directly shutting off the power supply of the radar module would require restarting the radar module when the automated linkage function of the detection device 100 needs to be reactivated, and the radar module requires a certain amount of time to re-power on (for example, some radar modules require 2 seconds for initialization). When the user reactivates the radar module, the initialization of the radar module will cause a delay in the response of the detection device 100, and the process of the radar module re-powering on may cause a false trigger of the processing module. Based on this, in another example, an embodiment of the present invention provides a detection device 100 in which the processing module 102, upon receiving the shutdown command, will stop reporting the detection results obtained from the radar module, but will not shut off the power supply of the radar module. That is, the radar module is still in normal working condition, but the processing module 102 no longer reports the relevant detection results (current space is occupied, current space is unoccupied, current space is occupied for a period of time, current space is unoccupied for a period of time, someone is approaching, someone is moving away, etc.). This allows the detection device 100 to shut down its data reporting without turning off the power to the radar module, which effectively solves the above problem.

[0107] In a further example, the detection device 100 can establish a communication connection with the user's mobile terminal through a data acquisition module such as a WIFI unit or a Bluetooth unit. The mobile terminal runs an application (APP) corresponding to the detection device 100. The user can operate the corresponding controls on the interactive interface provided by the APP to issue the shutdown command, so as to facilitate the user to quickly and easily turn off the detection function of the detection device 100 with one click.

[0108] Please see Figure 4 , Figures 7-9 The present invention provides a detection method according to the above embodiments, wherein the detection method includes at least step S1 and step S2, wherein:

[0109] S1. Detect whether there are people in the current space;

[0110] S2. If it is determined that there is no one in the current space, detect whether there is someone in the current space using the first identification state; and if it is determined that there is someone in the current space, detect whether there is someone in the current space using the second identification state.

[0111] In the first identification state, detecting whether there are people in the current space is specifically used for:

[0112] If it is identified that there is someone in the current space, then during the first delay time, it is detected whether there is someone in the current space; if so, it is determined that there is someone in the current space and enters the second identification state; otherwise, it is determined that there is no one in the current space and the first identification state is maintained.

[0113] See Figure 7 According to an embodiment of the present invention, step S2, detecting whether there is a person in the current space during the first delay time, specifically includes:

[0114] S21. Take the first detection of someone in the current space as the starting point of the first delay time, and check whether there is someone in the current space at the end of the first delay time; if yes, proceed to step S22; otherwise, proceed to step S23.

[0115] S22. Confirm that there are people in the current space;

[0116] S23. Confirm that there is no one in the current space.

[0117] See Figure 8 According to an embodiment of the present invention, step S1, detecting whether there is anyone in the current space, specifically includes:

[0118] S11. Acquire the action signal in the current space; the action signal is generated by a radar module based on radar detection of the current space; the interval between the radar module sending the action signal varies randomly.

[0119] S12. Analyze the motion signal to identify whether there is anyone in the current space.

[0120] Furthermore, considering that existing detection devices may easily lead to false judgments if they detect no one while maintaining a person status, one embodiment of the present invention provides a detection device 100 that improves the problem of false triggering of no-person judgment by reasonably setting a second delay time.

[0121] Specifically, according to one embodiment of the present invention, the processing module 102 is configured to operate in the following manner:

[0122] A first identification state is used to detect whether there is a person in the current space after determining that there is no one in the current space; and a second identification state is used to detect whether there is a person in the current space after determining that there is a person in the current space.

[0123] Specifically, the processing module 102 detects whether there is a person in the second identification state, and is used for:

[0124] If the current space is identified as unoccupied, then the system will detect whether there is anyone in the current space during the second delay period.

[0125] Furthermore, according to this scheme, when the processing module 102 switches from the first identification state to the second identification state (i.e., from determining that the current space is empty to determining that the current space is occupied), it will continuously determine whether the current space remains occupied. To improve the accuracy of the occupancy determination, after identifying that the current space is empty in the second identification state, it will not immediately conclude that the current space is empty. Instead, it will continue to determine the occupancy within a second delay period. If the current space is still identified as occupied within the second delay period, then the current space is determined to be occupied and the second identification state is maintained; otherwise, the current space is determined to be empty and the system enters the first identification state. This ensures the accuracy of the switch from the occupied state to the empty state and prevents the controlled device 200 associated with the state switch event from being falsely triggered.

[0126] According to an embodiment of the present invention, the processing module 102 is further configured to set the second delay time according to an instruction from an application. Therefore, the second delay time can be freely set by the user according to their needs. For example, when the detection device 100 is placed in a living room, bedroom, or other space, the second delay time can be appropriately increased to reduce the probability of the user being judged as unoccupied when their movements are small, such as sleeping or watching a movie, thereby improving the user experience.

[0127] According to an embodiment of the present invention, detecting whether there is a person in the current space during the second delay time is specifically configured as follows: taking the first identification of the current space as empty after switching to the second identification state as the starting point of the second delay time, if a person is identified in the selected space N times during the second delay time, then the selected space is determined to be occupied; otherwise, the selected space is determined to be empty; N is an integer greater than or equal to 2. That is, when the processing module 102 switches to the state of determining that there is a person in the current space after determining that there is a person in the current space, it will maintain the state of determining that there is a person in the current space only after identifying that there is a person at least twice consecutively during the second delay time. If no person is identified twice consecutively (for example, once, or two non-consecutive times), it will ignore it and continue timing until the timing ends and no person is identified twice consecutively, then it will switch to the state of determining that there is no person in the current space. Compared with the scheme that maintains the state of determining that there is a person in the current space only once during the second delay time, this scheme can further improve the accuracy of maintaining the state of being occupied and improve the ability to resist false judgments.

[0128] In one example, if T represents the second delay time, for example, T = 10s and N = 3, then the specific working principle is as follows: After the processing module 102 switches from the state of determining that the current space is empty to the state of determining that the current space is occupied, it needs to enter the judgment of maintaining the occupied state (i.e., the second recognition state), at which time T = 10s; subsequently, if there are always people in the space, the processing module 102 will continuously recognize that the current space is occupied and thus continuously maintain the occupied state (i.e., continuously the second recognition state). When the people in the current space leave, the processing module 102 will recognize that the current space is empty, and then take the first recognition as the current... When the space is empty, the countdown timer T starts from 10 seconds. If the processing module 102 does not detect someone in the space three times consecutively within the 10-second countdown, the processing module 102 will switch to the state where the space is confirmed to be empty after the 10-second countdown ends. If someone is detected once or twice consecutively within 10 seconds, the countdown is ignored and continues (instantaneous interference can be masked). If someone is detected three times consecutively within 10 seconds, the countdown timer T ends with the third detection of someone in the space and is reset to 10 seconds, until the next time the space is confirmed to be empty, the countdown timer T is triggered again.

[0129] According to an embodiment of the present invention, the N times that someone is detected in the selected space are spaced apart, that is, if someone is detected in the selected space at intervals within the second delay time, then it is determined that someone is in the selected space. The interval time can be set to 10-100ms, for example 50ms. Then the processing module 102 will sample once every 50ms (for example, obtain the action signal of the radar module) and complete the judgment of whether someone is present or not within a microsecond time (for example, if the action signal exceeds the second recognition threshold, it is considered that someone is present; if the action signal does not exceed the second recognition threshold, it is considered that no one is present). As a result, the probability that interference sources with an action duration within 50ms will not be identified will increase, thereby shielding instantaneous interference to a certain extent.

[0130] Furthermore, in practical implementation, two timers can be set: a first timer and a second timer, to determine whether the action of someone is present and whether it is continuous, thereby further improving the anti-interference capability. Specifically, the first timer samples the action signal once at every interval (e.g., 50ms) and determines whether the action signal exceeds the second recognition threshold. If so, the second timer is started, which continuously samples at a microsecond-level sampling rate for the interval (e.g., continuously sampling for 50ms) after recognizing someone in the current space, to determine whether the duration of the action lasts for the interval. If so, it is recognized as someone being present in the current space. This process continues; if someone is recognized in the current space three times consecutively, it is determined that someone is present in the current space, and the second recognition state is maintained to prevent false judgments caused by triggering an "unoccupied" state. In this way, interference sources whose action duration is within the interval will not be recognized, further improving the anti-interference capability for transient interference.

[0131] According to an embodiment of the present invention, the processing module 102 is further configured to stop the timing of the delay period when the selected space is detected for the Nth time, so as to reduce power consumption.

[0132] According to an embodiment of the present invention, the detection device 100 further includes a radar module electrically connected to the processing module 102; the processing module 102 detects whether there is a person in the current space, specifically configured to: acquire motion signals in the current space through the radar module; the radar module sends the motion signals to the processing module 102, and the processing module 102 analyzes the motion signals to identify whether there is a person in the current space; wherein, the interval between the radar module sending the motion signals varies randomly to improve anti-interference performance by introducing natural random numbers. For example, the interval varies randomly within 60ms-100ms.

[0133] Based on the solution provided in this embodiment, the timing of the action signal sent by the radar module to the processing module 102 is not fixed, so as to improve the overall anti-interference capability in a random manner. The task of introducing random numbers is completed by the radar module, which reduces the pressure on the processing module 102 to a certain extent. That is, while improving the anti-interference capability, the load on the processing module 102 is reduced.

[0134] Please see Figure 4 , Figure 9 , Figure 10 The detection method of the present invention, provided in the above embodiments, is specifically illustrated as follows: Figure 3 As shown, the detection method includes at least step S1 and step S2, wherein:

[0135] S1. Detect whether there are people in the current space;

[0136] S2. If it is determined that there is no one in the current space, detect whether there is someone in the current space using the first identification state; and if it is determined that there is someone in the current space, detect whether there is someone in the current space using the second identification state.

[0137] Among them, such as Figure 9 As shown, in step S2, detecting whether there is a person in the second identification state is specifically used for:

[0138] S24. If the current space is identified as unoccupied, then detect whether there is anyone in the current space during the second delay time.

[0139] Furthermore, if the space is still identified as occupied within the second delay period, proceed to step S25; otherwise, proceed to step S26.

[0140] S25. Confirm that there are people in the current space and maintain the second identification state;

[0141] S26. Determine that there is no one in the current space and enter the first recognition state.

[0142] See Figure 10 According to an embodiment of the present invention, in step S24, the processing module detects whether there is a person in the selected space during the second delay time, specifically for:

[0143] S241. Determine whether someone is detected in the selected space N times within the second delay time; if yes, proceed to step S242; otherwise, proceed to step S243.

[0144] S242. Confirm that someone is in the selected space;

[0145] S243. Confirm that the selected space is unoccupied;

[0146] Where N is an integer greater than or equal to 2.

[0147] According to an embodiment of the present invention, the first detection that the selected space is empty is taken as the starting point of the second delay time, and the timing of the delay period stops when the selected space is detected to be occupied for the Nth time.

[0148] According to an embodiment of the present invention, detecting whether there is a person in the current space specifically includes:

[0149] Acquire motion signals in the current space; the motion signals are generated by a radar module based on radar detection of the current space; the interval between the radar module transmitting the motion signals varies randomly.

[0150] The motion signals are analyzed to identify whether there is anyone in the current space.

[0151] Furthermore, the existing detection devices 100 rely on analyzing the movement trends of people near the boundary to determine their approach or departure. However, the inventors have discovered that when the detection module 101 is implemented as a single-target detection solution such as a radar module, it typically prioritizes identifying the person with the largest movement amplitude within the current space. When multiple people are present in the current space, this can lead to a false judgment that a departure event is triggered even though someone with a large movement amplitude is moving away. Therefore, in one embodiment of this invention, a detection device 100 is proposed whose approach / departure determination does not depend on the movement trend of a person near the boundary, but rather on whether there is a person within the boundary, effectively avoiding the aforementioned problems.

[0152] Specifically, in one embodiment of the present invention, the processing module 102 is configured to operate as follows:

[0153] A first identification state is used to detect whether there is a person in the current space after determining that there is no one in the current space; and a second identification state is used to detect whether there is a person in the current space after determining that there is a person in the current space.

[0154] The processing module 102 is further configured to: after switching from the first recognition state to the second recognition state, if the location of a person is detected to be within the specified boundary, then it is recognized that someone is approaching.

[0155] Furthermore, according to this scheme, when the current space switches from an unoccupied state to a occupied state, even if someone crosses the designated boundary, the processing module 102 will not immediately output an approaching event. The determination of the approaching / moving event will not only depend on the trend of the person crossing the boundary, but will also consider whether there are still people inside the boundary after the person crosses it. This makes the determination of the approaching / moving event more accurate when there are multiple targets in the current space, further improving the ability to resist false judgments. For example, when there are multiple people in the current space, if a person with a large movement crosses the designated boundary and moves away, the processing module 102 will recognize that the person's position is not inside the boundary. However, at this time, it will not trigger the "someone moving away" event. Instead, it will continue to determine whether there are people inside the designated boundary during a delay period. Due to the existence of the delay period, the person who moved away earlier will move further and further away from the detection device 100 during the delay period, and the impact of their movement on the processing module 102 will become smaller and smaller. Therefore, the processing module 102 will subsequently recognize that there are still people in the space inside the boundary, and thus will not trigger the "someone moving away" event.

[0156] The detection device 100 can acquire boundary data through a data acquisition module; the boundary data is used to delineate a specified boundary that is close to or far from the target boundary. The data acquisition module should be understood as any component or combination of components capable of data transmission and reception. Specifically, the data acquisition module may be, for example, but not limited to, a WIFI communication unit, a Bluetooth communication unit, or other radio frequency communication units. As a further example, the detection device 100 can establish a communication connection with a user's mobile terminal through the data acquisition module. The mobile terminal runs an application (APP) corresponding to the detection device 100, and the user can freely set the specified boundary on the interactive interface provided by the app.

[0157] According to an embodiment of the present invention, the processing module 102 is further configured to: after identifying that someone is approaching, continuously determine whether the person's location is within a specified boundary; if the person's location is not identified as being within the specified boundary, determine whether the person's location is outside the specified boundary within a delay period; if so, identify that someone is moving away; otherwise, maintain the determination result that someone is approaching. Furthermore, based on this embodiment, when a human body enters the specified boundary, it will be identified as someone approaching. At this time, the person's location will be continuously tracked. When the person crosses the specified boundary and is outside the specified boundary, the "someone moving away" event will not be output immediately, but the determination will continue within a delay period to prevent the processing module 102 from frequently triggering "someone approaching" and "someone moving away" events when the human body rapidly crosses the specified boundary.

[0158] The following explanation uses energy values ​​to characterize the range of human movement. A higher energy value indicates a larger range of movement, and a lower energy value indicates a smaller range of movement. Existing approach / distance detection methods set a boundary distance. When a human body is detected crossing this boundary distance and the energy value gradually increases, it is determined that someone is approaching; when a human body is detected crossing this boundary distance and the energy value gradually decreases, it is determined that someone is moving away. This leads to a situation where, when multiple people are present in the current space, if some are watching a movie (low energy value) and others are running (high energy value), when the runner leaves, it is very likely that someone will be judged as moving away, resulting in a false judgment. The solution provided in this embodiment, after detecting someone approaching, continuously checks whether the person's location is within the specified boundary. If the location is not detected within the specified boundary, it does not immediately trigger a moving away detection. Instead, a delay period is initiated to check whether the person's location is outside the specified boundary. If so, it is determined that someone is moving away, thus effectively avoiding the situation where there are still people in the current space but it is mistakenly judged as someone moving away.

[0159] According to an embodiment of the present invention, the detection device 100 has a networking function, enabling it to establish a network connection with controlled devices connected to the same network (e.g., the network where the same server is located) for data interaction and control. Users can pre-store custom control rules on their mobile phones to the server. These control rules define a mapping relationship between at least one detection result and at least one executable function of a controlled device 200. When the server receives the detection result reported by the detection device 100, it sends the control result defined by the control rule matching the detection result to the controlled device 200. The controlled device 200 then performs the corresponding operation based on the control result to achieve automated linkage function based on the detection result.

[0160] The processing module 102 is also configured to report the event of someone approaching or someone moving away as a detection result to the server, so as to trigger the executable function of the corresponding controlled device 200 according to the preset control rules. Furthermore, the setting of the delay period enables the controlled device 200 to have the effect of delayed response after a person leaves. For example, if the controlled device 200 is a lighting device, it will not turn off the light immediately after determining that someone has moved away, but will turn off the light after the delay period.

[0161] According to an embodiment of the present invention, the processing module 102 is further configured to: after recognizing someone approaching, if the system switches from a second recognition state to a first recognition state, then recognize someone moving away. Therefore, when the current space is determined to be empty, the system will directly trigger the "someone moving away" event, without relying on whether a person has crossed a designated boundary, thereby improving the accuracy of the "someone moving away" event determination. That is, after the current space state changes from occupied to empty, regardless of whether a person has crossed the boundary or whether there are other people within the boundary area, it will be determined that someone is moving away. For example... Figure 11 The application scenario diagram shows that the detection device 100 is set at the door, and the designated boundary is located in the living room. There is a kitchen between the living room and the door. When a person is within the designated boundary, it will trigger that someone is approaching. If the person enters the kitchen directly, they will not cross the designated boundary again. However, at this time, it will be identified as the entire current space being empty, so it will also be identified as someone moving away.

[0162] Furthermore, the processing module 102 can also acquire spatial configuration data through the data acquisition module; the spatial configuration data consists of the interval L1 to L2. m Generated after being freely selected; where L1~L m The processing module 102 is further configured to: form a current space based on the spatial configuration data; the current space consists of all selected intervals.

[0163] Furthermore, the detection device 100 can form a current space based on multiple intervals selected by the spatial configuration data, allowing the user to freely select the target detection area covered by the current space based on actual needs and configure the current space by distributing the spatial configuration data.

[0164] Furthermore, the processing module 102 determines whether the person's location is outside the specified boundary within a delay period. Specifically, if no person remains in any of the selected intervals within the specified boundary for more than the delay period, it is identified as someone moving away. This interval-based identification method improves both the efficiency and accuracy of the judgment. The delay period is set to 1 to 20 seconds, for example, 10 seconds, to improve the accuracy of judging whether someone is moving away while maintaining a certain response speed and enhancing the user experience.

[0165] In some embodiments, when the processing module 102 determines whether the current space is occupied or unoccupied, it delays for a specified time before reporting the detection result to the network platform (server). This alleviates anomalies caused by data reporting congestion during rapid changes in the current space's state. Furthermore, during rapid changes in the current space's state, the corresponding data after the change will not be reported immediately, but rather delayed for a specified time to ensure the completion of the previous data report. For example, if the specified time is set to 1.5 seconds, if a person leaves the current space and immediately re-enters, the processing module 102 will recognize the change from occupied to unoccupied and perform the first data report. If it immediately performs the second data report before the first report is completed, it will cause congestion, potentially leading to unpredictable anomalies (such as system crashes). Delaying the second data report by 1.5 seconds ensures that the first data report is likely completed within 1.5 seconds, thus mitigating this problem.

[0166] Furthermore, the processing module 102 is also configured to report the duration of no-person operation to the network platform (server) in the first identification state and report the duration of person operation to the network platform (server) in the second identification state. The duration of no-person operation and the duration of person operation can be used as the detection results to trigger corresponding control rules to link the relevant executable functions of the controlled device. Furthermore, the processing module 102 is configured to report relevant data when the duration of person operation or the duration of no-person operation changes by more than 1 minute, so that users can view the current status of the space in a timely manner.

[0167] Please see Figure 4 , Figures 12-14 A flowchart of a detection method provided by the present invention according to the above embodiments is shown. It can be seen that the detection method includes at least steps S1 and S2, wherein:

[0168] S1. Detect whether there are people in the current space;

[0169] S2. If it is determined that there is no one in the current space, detect whether there is someone in the current space using the first identification state; and if it is determined that there is someone in the current space, detect whether there is someone in the current space using the second identification state.

[0170] Among them, such as Figure 12 As shown, the detection method further includes:

[0171] S4. After switching from the first recognition state to the second recognition state, if the location of the person is detected to be within the specified boundary, it is recognized as someone approaching.

[0172] See Figure 13 According to an embodiment of the present invention, the detection method further includes:

[0173] S5. After detecting that someone is approaching, continuously determine whether the person's location is within the specified boundary;

[0174] If the location of a person is identified as not within the specified boundary, then within a certain time delay, it is determined whether the location of the person is outside the specified boundary; if so, it is identified as someone moving away.

[0175] See Figure 14 According to an embodiment of the present invention, S6, after identifying someone approaching, if the identification state is switched from the second identification state to the first identification state, then it is identified that someone is moving away.

[0176] According to an embodiment of the present invention, the detection method further includes:

[0177] Acquire spatial configuration data; the spatial configuration data consists of the interval L1 to L m Generated after being freely selected; where L1~L m The first interval to the mth interval represent a space divided into m consecutive intervals, where m is an integer greater than 1;

[0178] The current space is formed based on the spatial configuration data; the current space consists of all selected intervals.

[0179] According to an embodiment of the present invention, the processing module determines whether the location of a person is outside a specified boundary within a delay period, specifically including:

[0180] If no one remains in a state for more than the specified time period in any of the selected intervals within the specified boundary, it is identified as someone moving away.

[0181] Figure 15 A schematic diagram of the physical structure of an electronic device provided by the present invention, such as... Figure 15 As shown, the electronic device may include a processor 1510, a communications interface 1520, a memory 1530, and a communication bus 1540. The processor 1510, communications interface 1520, and memory 1530 communicate with each other via the communication bus 1540. The processor 1510 can call logical instructions from the memory 1530 to execute a detection method.

[0182] In the description of this specification, the references to terms such as "some embodiments," "a specific implementation method," "a specific implementation process," and "an example" indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms correspond to specific features, structures, materials, or characteristics that can be combined in any suitable manner in one or more embodiments or examples.

[0183] It should also be noted that the above embodiments can be combined with each other. For the same or similar concepts or processes, they may not be described again in some embodiments. That is, the technical solutions disclosed in the later (in the order of the text) embodiments should include the technical solutions described in this embodiment and the technical solutions described in all embodiments before this embodiment.

[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A detection device, adapted to be placed in a space to detect whether there is a person in the current space; wherein the detection device includes a processing module configured to operate in: The first identification state is used to detect whether there is anyone in the current space after determining that no one is in the current space; and, The second identification state is used to detect whether there are people in the current space after determining that there are people in the current space; in, In the first identification state, it detects whether there are people in the current space, specifically for: If it is detected that there is someone in the current space, then detect whether there is someone in the current space within the first delay time; if so, then determine that there is someone in the current space and enter the second recognition state; otherwise, determine that there is no one in the current space and maintain the first recognition state. The processing module detects whether there are people in the current space during the first delay time, specifically for: The first delay time begins when the first person is detected in the current space. Before the end of the first delay time, the system will perform M more checks at intervals to check if anyone is in the current space. If all M checks result in "yes", then the current space is determined to be occupied; otherwise, the current space is determined to be unoccupied. Here, M is an integer greater than or equal to 1. The first delay time can be freely set by the user according to their needs. Increasing the first delay time can prevent a person from passing through the current space from triggering an event. If the time it takes for a person to pass through does not exceed the first delay time, then no person will be detected. The detection device also includes a radar module, which is electrically connected to the processing module; the processing module detects whether there are people in the current space, specifically for: The radar module acquires motion signals in the current space. The radar module sends the motion signal to the processing module, which analyzes the motion signal to identify whether there is a person in the current space.

2. The detection device according to claim 1, wherein, The processing module detects whether there are people in the current space during the first delay time, specifically for: At the end of the first delay time, identify whether there is anyone in the current space; if so, determine that there is someone in the current space; otherwise, determine that there is no one in the current space.

3. The detection device according to claim 1, wherein, The interval between the radar module sending the action signal varies randomly.

4. The detection device according to claim 3, wherein, The interval time varies randomly within the range of 60ms-100ms.

5. The detection device according to claim 3, wherein, The processing module is configured to disable the reporting function based on the detection results obtained by the radar module according to a shutdown command from the application.

6. The detection device according to claim 5, wherein, The processing module controls the power supply of the radar module through a switch component. When the processing module receives the shutdown command, it disconnects the switch component to cut off the power supply of the radar module and stops reporting any detection results related to the radar module.

7. The detection device according to claim 5, wherein, Upon receiving the shutdown command, the processing module stops reporting the detection results obtained by the radar module, but does not shut down the power supply of the radar module.

8. The detection device according to claim 1, wherein, The processing module is also used for: The first delay time is set according to an instruction from the application.

9. A detection method, comprising: Detect whether there are people in the current space; If it is determined that there is no one in the current space, the first identification state is used to detect whether there is anyone in the current space; And, if it is determined that there is someone in the current space, the second identification state is used to detect whether there is someone in the current space; In the first identification state, detecting whether there are people in the current space is specifically used for: If it is detected that there is someone in the current space, then detect whether there is someone in the current space within the first delay time; if so, then determine that there is someone in the current space and enter the second recognition state; otherwise, determine that there is no one in the current space and maintain the first recognition state. The function of detecting whether there are people in the current space during the first delay time is specifically used for: The first delay time begins when the first person is detected in the current space. Before the end of the first delay time, the system will perform M more checks at intervals to check if anyone is in the current space. If all M checks result in "yes", then the current space is determined to be occupied; otherwise, the current space is determined to be unoccupied. Here, M is an integer greater than or equal to 1. The first delay time can be freely set by the user according to their needs. By increasing the first delay time, a person can pass through the current space without triggering anything. If the time it takes for a person to pass through does not exceed the first delay time, then no person will be detected.

10. The detection method according to claim 9, wherein, During the first delay time, detect whether there are people in the current space, specifically including: The first delay time begins when the first person is detected in the current space. At the end of the first delay time, it is determined whether there is anyone in the current space. If there is, it is determined that there is someone in the current space; otherwise, it is determined that there is no one in the current space.

11. The detection method according to claim 9, wherein, Detecting whether there are people in the current space, specifically including: Acquire motion signals in the current space; the motion signals are generated by a radar module based on radar detection of the current space; the interval between the radar module transmitting the motion signals varies randomly. The motion signals are analyzed to identify whether there is anyone in the current space.

12. A control system comprising: A detection device, wherein the detection device is the detection device as described in any one of claims 1-8, or is used to implement the detection method as described in any one of claims 9-11; A controlled device, which is operatively coupled to the detection device so as to be directly or indirectly operated by the detection device to change its operating state.

Citation Information

Patent Citations

  • Vehicle position detecting method and vehicle position detecting system

    CN104155645A

  • Human body automatic monitoring method and device

    CN110488256A

  • Method and system for judging existence induction of human body

    CN113281819A