Detection device, method and system

By comprehensively judging whether there are still people in the boundary after a person crosses the boundary, the problem of insufficient judgment accuracy of existing detection devices approaching people and staying away from events in a multi-target environment, and the judgment accuracy and anti-misjudgment ability are improved.

CN116540321BActive Publication Date: 2025-04-11WUHAN LINPTECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310503656.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2025-04-11
Estimated Expiration
2043-04-28

AI Technical Summary

Technical Problem

The existing detection devices are not very accurate when identifying people close to people and are prone to misjudgment, especially when there are multiple targets in the current space.

Method used

By combining whether there are still people in the boundary after people cross the boundary, we can comprehensively judge the close events/stay away from events, and avoid relying solely on human trend analysis. Specific measures include continuously determining whether the person’s location is within the specified boundary after identifying that someone is approaching. If not, it will determine whether it is outside the boundary within the delay period. If so, it will be sure that someone is away.

Benefits of technology

It improves the accuracy of the results of the approach event/stay away event in a multi-target environment, reduces the possibility of misjudgment, and enhances the ability to resist misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116540321B_ABST
    Figure CN116540321B_ABST
Patent Text Reader

Abstract

The present invention provides a detection device, method and system, wherein the detection device is suitable for being set in a space to detect whether there is someone in the current space; wherein the detection device includes a processing module, which is configured to work in: a first recognition state, to detect whether there is someone in the current space after determining that there is no one in the current space; and, a second recognition state, to detect whether there is someone in the current space after determining that there is someone in the current space; wherein the processing module is also configured to: after switching from the first recognition state to the second recognition state, if it is recognized that the position of a person is within a specified boundary, it is recognized as someone approaching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Integrating sensing functions into electrical equipment is the key to achieving intelligence, especially for electrical equipment such as lighting and air conditioning that are directly linked to people's living comfort.

[0003] However, the existing detection devices have low detection accuracy, which leads to a low level of intelligence in the intelligent control system that relies on the detection results of the detection devices, affecting the user experience. Specifically, the approaching and moving away recognition functions of the existing detection devices are all based on the analysis of the trend of people near the boundary. Generally, the detection device based on motion detection of the human body will give priority to identifying the person with the largest movement amplitude in the current space. When there are multiple people in the current space, there may be a false judgment that there are still people in the current space, but a person with a larger movement amplitude moves away, which triggers the moving away event. Summary of the invention

[0004] One object of the present invention is to provide a detection device, method and system, wherein the judgment result of the approaching event / moving away event of the detection device will not only rely on the trend of people crossing the boundary, but also make a comprehensive judgment based on whether there are still people in the boundary after the people cross the boundary, so that when there are multiple targets in the current space, the judgment result of the approaching event / moving away event is more accurate, further improving the ability to resist misjudgment.

[0005] Another object of the present invention is to provide a detection device, method and system, wherein after the detection device identifies that a person is approaching, it will continue to determine whether the person's location is within the specified boundary. If it is identified that the person's location is not within the specified boundary, it will not immediately trigger the person to move away, but instead start a delay to determine whether the person's location is outside the specified boundary within a delay period; if so, it is determined that someone has moved away, thereby effectively avoiding the situation where there are still people in the current space but it is mistakenly judged that someone has moved away.

[0006] Another object of the present invention is to provide a detection device, method and system, in which when the current space is determined to be empty, it will directly trigger the person to leave, without relying on the judgment of whether the human body crosses a specified boundary, so as to improve the judgment accuracy of the person leaving event.

[0007] Another object of the present invention is to provide a detection device, method and system, wherein the detection device can form a current space based on multiple intervals selected by the spatial configuration data, so that the user can freely select the target detection area covered by the current space based on actual needs and configure the current space by sending the spatial configuration data.

[0008] Another object of the present invention is to provide a detection device, method and system, wherein the detection device determines approach / distance by means of inter-partition identification, which can further improve the judgment efficiency and accuracy.

[0009] To achieve at least one of the above purposes, according to a first aspect of the present invention, a detection device is provided, which is suitable for being arranged in a space to detect whether there is someone in the current space; the detection device includes a processing module, which is configured to work:

[0010] A first recognition state is used to detect whether there is someone in the current space after determining that there is no one in the current space; and a second recognition state is used to detect whether there is someone in the current space after determining that there is someone in the current space;

[0011] Wherein, the processing module is further configured to: after switching from the first recognition state to the second recognition state, if it is recognized that the position of a person is within a specified boundary, it is recognized as a person approaching.

[0012] Optionally, the processing module is further configured to: after identifying that a person is approaching, continuously determine whether the person's location is within a specified boundary;

[0013] If it is determined that the person's location is not within the specified boundary, it is determined within a delay period whether the person's location is outside the specified boundary; if so, it is determined that the person is moving away.

[0014] Optionally, the processing module is further configured to: after recognizing that someone is approaching, if the second recognition state is switched to the first recognition state, it is recognized that someone is moving away.

[0015] Optionally, the detection device further includes:

[0016] The data acquisition module is used to acquire the space configuration data; the space configuration data is from interval L1 to L m Generated after being freely selected; among them, L1~L m Representing the first interval to the mth interval of a space divided into m consecutive intervals, where m is an integer greater than 1;

[0017] The processing module is also used for:

[0018] A current space is formed based on the space configuration data; the current space is composed of all selected intervals.

[0019] Optionally, the processing module determines whether the person's location is outside a specified boundary within a delay period, specifically for:

[0020] If the state of no one in all selected intervals within the specified boundary lasts longer than the delay period, it is recognized that someone has left.

[0021] Optionally, the delay period is set to 1 second to 20 seconds.

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

[0023] Detect whether there is anyone in the current space;

[0024] If it is determined that there is no one in the current space, detecting whether there is anyone in the current space in the first recognition state; and if it is determined that there is someone in the current space, detecting whether there is anyone in the current space in the second recognition state;

[0025] After switching from the first recognition state to the second recognition state, if the person's location is recognized to be within the specified boundary, it is recognized as a person approaching.

[0026] Optionally, the detection method further comprises: after identifying that a person is approaching, continuously determining whether the person's location is within a specified boundary;

[0027] If it is determined that the person's location is not within the specified boundary, it is determined within a delay period whether the person's location is outside the specified boundary; if so, it is determined that the person is moving away.

[0028] Optionally, the detection method further includes: after identifying that someone is approaching, if the second identification state is switched to the first identification state, it is identified that someone is moving away.

[0029] Optionally, the detection method further includes:

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

[0031] A current space is formed based on the space configuration data; the current space is composed of all selected intervals.

[0032] Optionally, determining whether the person's location is outside a specified boundary within a delay period includes:

[0033] If the state of no one in all selected intervals within the specified boundary lasts longer than the delay period, it is recognized that someone has left.

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

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

[0036] A controlled device, the controlled device is operably coupled to the detection device so as to be directly or indirectly operated by the detection device to change a working state.

[0037] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

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

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

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

[0042] Figure 4 is a flow chart of a detection method in an embodiment of the present invention;

[0043] Figure 5 , Figure 6 is a flow chart of a detection method in the first embodiment of the present invention;

[0044] Figure 7 , Figure 8 is a flow chart of a detection method in the second embodiment of the present invention;

[0045] Fig. 9 , Fig.10 is a flow chart of a detection method in the third embodiment of the present invention;

[0046] Fig.11 is a schematic diagram of an application scenario in the fourth embodiment of the present invention;

[0047] Figure 12 to Figure 14 is a flow chart of a detection method in a fourth embodiment of the present invention;

[0048] Fig.15It is a schematic diagram of the physical structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The embodiments of the present invention will be described in detail below. When the following description refers to the 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 cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.

[0050] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] See also Figure 1 , shows a schematic diagram of the structure of a control system proposed by the present invention, wherein the control system is suitable for being arranged in a space to intelligently control the environmental state of the space (e.g., turning on or off lights, turning on or off air conditioning, etc.), such as Figure 1 It can be seen that the control system at least includes 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 relationship between the two; wherein the detection device 100 is used to detect whether there is someone in the current space, and according to the detection results (for example, determining that there is someone in the current space, determining that there is no one in the current space, the time when the current space maintains someone, the time when the current space maintains no one, someone is leaving the current space, someone is approaching the current space, etc.), the controlled device 200 is linked to perform corresponding operations, and then the controlled device 200 can perform intelligent linkage work based on the detection results of the current space by the detection device 100 to perform intelligent adjustment of the spatial environment state.

[0052] It should be noted that the "coupling" involved here and in the following text should be understood in a broad sense. For example, it can be an electrical connection or mutual communication, or it can be indirectly connected through an intermediate medium to form a linkage relationship, or it can be the internal connection of two elements or the interaction relationship between the two elements. Furthermore, any connection method that can achieve an operable coupling relationship between the detection device 100 and the controlled device 200 can be used as an optional scheme of this embodiment. In one example, the detection device 100 and the controlled device 200 are integrated into one device, and then an operable coupling relationship of direct electrical connection is established through, for example, IIC, serial port communication, etc. In another example, the detection device 100 and the controlled device 200 are separately set, and wirelessly connected through any wireless communication protocol such as Bluetooth communication protocol, WIFI communication protocol, ZIGBEE communication protocol, etc. to establish an operable coupling relationship. In another example, the detection device 100 and the controlled device 200 are separately provided and are wiredly connected via wired communication methods such as power line carrier communication (PLC) and KNX to establish an operable coupling relationship.

[0053] The controlled device 200 can be understood as any intelligent device that can be controlled by wireless control signals and / or wired control signals to perform related operations to change the working state; it can be, for example, but not limited to: lighting equipment, air conditioners, speakers, curtain companions, smart window pushers, smart wall switches, etc. The operations that can be performed by it can be, for example, but not limited to: being controlled to enter a certain working state; for example, turning on or off lights, turning on or off air conditioners, turning on or off speakers, opening or closing curtains, opening or closing windows, etc.

[0054] It is understood that, based on the application field of the detection device 100 or the change of the detection target, the specific type and executable functions of the controlled device 200 can be arbitrarily changed, and should not deviate from the scope of the embodiment of the present invention. For the convenience of description, in most of the following embodiments, the lighting device will be used as the controlled device 200 for exemplary description. It is understood that the lighting device should at least have the function of turning on and off the light.

[0055] 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 a lighting device through the detection device 100, the space should be at least a partial area within the range covered by the lighting area of ​​the lighting device or an adjacent area; the current space should be understood as at least a partial area in the entire space, and then when the detection device 100 detects that there is someone in the current space, it can link the lighting device to perform corresponding operations to change the lighting state of the area that the user wants to control.

[0056] In addition, it should be noted that Figure 1 The structural diagram of a detection device 100 and a controlled device 200 is only given as an example; however, in an actual control system, the number of the detection device 100 and the controlled device 200 can be multiple, for example, multiple controlled devices 200 are controlled by one detection device 100, or multiple controlled devices 200 are controlled separately by the detection device 100, or one controlled device 200 is controlled by multiple detection devices 100.

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

[0058] The processing module 102 should be understood as any component or combination of components that can implement data analysis and judgment processing. In a specific example, the processing module 102 may include a single-chip microcomputer, a system-on-chip integrating MCU and RF (such as a Bluetooth module, a WIFI module, a ZIGBEE module, etc.), or a conversion circuit composed of separate components.

[0059] The detection module 101 is used to obtain the motion signal in the current space and provide it to the processing module 102 so that the processing module 102 can determine whether there is anyone in the current space. The motion signal can be understood as any data that can be used to support the processing module 102 to analyze and determine whether there is anyone in the current space.

[0060] In one example, the detection module 101 may perform preliminary processing after acquiring the motion signal, and preliminarily obtain a motion signal representing whether there is a person in the space, and then send the motion signal to the processing module 102 .

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

[0062] In a further example, Figure 2As shown, the detection module 101 can be a single-mode sensor having only a microwave-based radar module. When working, it radiates detection microwaves (such as frequency-modulated continuous waves) into the current space, receives response echoes generated based on the detection microwaves, and then analyzes the response echoes to obtain Doppler intermediate frequency signal data of frequency changes, phase changes, etc. between the detection microwaves and the response echoes, and the Doppler intermediate frequency signal data can be transmitted to the processing module 102 as an action signal representing whether there is an action in the current space, and the processing module 102 analyzes the action signal to determine whether there is a person in the current space.

[0063] In another further example, the detection device 100 may also be a dual-mode sensor including a radar module based on microwaves and an infrared pyroelectric sensor based on infrared radiation; when the dual-mode sensor is used, the working principle of the radar module can still be understood by referring to the example of the aforementioned single-mode sensor, and the infrared pyroelectric sensor can be used as an auxiliary detection to improve the detection accuracy of the human body.

[0064] In addition, it should be noted that the detection device 100 is also used to implement a detection method involved later. Furthermore, the relevant description of the detection method later can be understood as a description of the working process, function, and specific implementation method of the software and / or hardware of the detection device 100. For the embodiments of the detection method corresponding to the detection device 100 of the same embodiment, this document will no longer provide a detailed explanation. The effects, principles, functions, etc. of the terms, features, etc. in the embodiments of the detection method can be understood by referring to the records of the embodiments of the corresponding detection device.

[0065] The inventors have found that the amplitude of human body movements in different states varies greatly. For example, the amplitude of human body movements is large when walking, and small when sleeping (maybe only the breathing of the chest floats). The existing detection devices based on motion detection to identify whether there is a person are generally based on fixed sensitivity for human body detection, resulting in a single sensitivity that cannot be compatible with a variety of motion amplitudes and resulting in low recognition accuracy, a single applicable scenario, and cannot be applied to complex and changeable usage requirements. Based on this, the detection device 100 provided in an embodiment of the present invention can adjust the sensitivity setting in sections, so that users can achieve rich and varied detection sensitivity configurations through different sensitivity settings.

[0066] Specifically, in one embodiment of the present invention, the processing module 102 is configured to be able to work:

[0067] A first recognition state is used to detect whether there is someone in the current space after determining that there is no one in the current space; and a second recognition state is used to detect whether there is someone in the current space after determining that there is someone in the current space;

[0068] Among them, 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 is, the smaller the movement amplitude 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 is, the smaller the movement amplitude of the person that can be recognized in the second recognition state.

[0069] It should be noted that, based on this embodiment, the processing module 102 will obtain the motion signal of the current space through the detection module 101 after starting to work, and identify that there is someone in the current space when the motion signal exceeds the first recognition threshold, and after confirming that there is someone in the current space, enter the second recognition state to compare the acquired motion signal with the second recognition threshold, and identify that there is no one in the current space when the motion signal does not exceed the second recognition threshold, and enter the first recognition state again after determining that there is no one in the current space to determine whether there is someone based on the first recognition threshold, and alternately realize the detection of whether there is someone in the current space. In addition, it is worth noting that the identification that there is someone in the current space cannot be simply equated with the determination that there is someone in the current space. The identification that there is someone in the current space can be understood as the processing module 102 determining that the motion signal exceeds the first recognition threshold or the second recognition threshold once, and determining that there is someone in the current space should be understood as the processing module 102 determining that at least one motion signal exceeds the first recognition threshold or the second recognition threshold. In other words, according to the solution provided in this embodiment, after the processing module 102 starts working (after power-on), it will first enter the first recognition state to detect whether there is someone in the current space, and after determining that there is someone in the space, it will trigger the second recognition state to detect whether the person in the current space continues to exist (maintains someone), and the first recognition state and the second recognition state are continuous and alternate. This allows the processing module 102 to adaptively adjust the sensitivity of triggering someone at different stages before and after the target enters the current space to achieve different detection sensitivity requirements.

[0070] It can be further understood that the first recognition threshold is used by the processing module 102 to identify whether there is someone in the current space in the first recognition state, and the change in the value of the first recognition threshold can cause a change in the sensitivity of triggering someone in the first recognition state, that is, the larger the value of the first recognition threshold, the larger the action amplitude required to identify someone in the current space in the first recognition state (that is, the lower the sensitivity), and the smaller the value of the first recognition threshold, the smaller the action amplitude required to identify someone in the current space in the first recognition state (that is, the higher the sensitivity). Similarly, the second recognition threshold is used by the processing module 102 to identify whether there is someone in the current space in the second recognition state, and the change in the value of the second recognition threshold can cause a change in the sensitivity of triggering someone in the second recognition state, that is, the larger the value of the second recognition threshold, the larger the action amplitude required to identify someone in the current space in the second recognition state (that is, the lower the sensitivity), and the smaller the value of the second recognition threshold, the smaller the action amplitude required to identify someone in the current space in the second recognition state (that is, the higher the sensitivity). Then the user can adjust the trigger sensitivity of the first recognition state and the second recognition state based on actual needs to improve the detection accuracy of the human body.

[0071] In one example, the detection device 100 is set in a living room, bedroom and other spaces, and is linked to the lighting equipment. When the detection device 100 determines that there is someone in the current space, the lighting equipment is linked to turn on the light, and when it determines that there is no one in the current space, the lighting equipment is linked to turn off the light; the first recognition threshold is set to be greater than the second recognition threshold, that is, it has a lower sensitivity in the first recognition state and a higher sensitivity in the second recognition state. It is understandable that the amplitude of a person's movements when entering the current space is generally large (for example, walking or running). Therefore, the first recognition state can avoid misidentifying small movements caused by interference sources (such as curtain micro-movement, fan interference, speaker vibration interference, etc.) through a higher first recognition threshold, while being able to recognize larger movements generated when the human body enters the current space, so as to enhance the anti-interference ability when triggering someone and improve the accuracy of triggering someone; and when the human body is in the current space, it is very likely to be almost motionless or slightly moving (for example, when sleeping or watching a movie, there may only be micro-movements caused by breathing and heartbeat). At this time, if the difficulty of triggering someone is still large, it may cause the small movements of the human body to fail to be recognized. Therefore, when it is determined that there is someone in the current space, the second recognition state is entered to identify the human body's movements with a lower second recognition threshold, and then the human body can be recognized as long as the movement of the amplitude of a smile, so as to improve the sensitivity of maintaining the presence of people and reduce the probability of misjudgment. In other words, after the processing module 102 starts working (after power-on), it will first enter the first recognition state, detect whether there is someone in the current space with a higher first recognition threshold, and trigger the second recognition state and turn on the light after determining that there is someone in the space, and then detect whether the person in the current space continues to exist (maintaining someone) with a lower second recognition threshold. When it is determined that there is no one in the current space, it enters the first recognition state and turns off the light. The first recognition state and the second recognition state are performed continuously and alternately, so that the processing module 102 can adaptively adjust the sensitivity of triggering people at different stages before and after the target enters the current space, so as to achieve the effect of accurately triggering people and maintaining sensitivity to people.

[0072] In another example, the detection device 100 is set in a corridor, porch and other spaces, and is linked to the lighting equipment to work, wherein the detection device 100 links the lighting equipment to turn on the light when it determines that there is someone in the current space, and links the lighting equipment to turn off the light when it determines that there is no one in the current space; the first recognition threshold is set to be less than the second recognition threshold, and then the first recognition state has a higher sensitivity, and the second recognition state has a lower sensitivity. It can be understood that the human body generally passes through corridors, porches and other spaces for a short time. Therefore, the first recognition state can quickly respond to turning on the light to provide lighting when a person briefly passes through the current space through a lower first recognition threshold, thereby optimizing the user experience. The second recognition state can switch to the recognition result of determining that there is no one in time after triggering someone through a higher second recognition threshold, so as to promptly link the light to turn off after briefly turning on the light to illuminate the user, so as to prevent the light from being unable to be turned off for a long time due to the slight movement of the curtains, fan interference, speaker vibration interference, etc. after the person leaves, resulting in a waste of electricity. In other words, after the processing module 102 starts working (after power-on), it will first enter the first recognition state, detect whether there is someone in the current space with a lower first recognition threshold, and trigger the second recognition state and turn on the light after determining that there is someone in the space, and then detect whether the person in the current space continues to exist (maintaining someone) with a higher second recognition threshold. When it is determined that there is no one in the current space, it enters the first recognition state and turns off the light. The first recognition state and the second recognition state are performed continuously and alternately, so that the processing module 102 can adaptively adjust the sensitivity of triggering people at different stages before and after the target enters the current space, so as to achieve the effect of fast response speed of triggering people and high accuracy of maintaining people.

[0073] According to an embodiment of the present invention, the detection device 100 further includes: a data acquisition module 103, which is used to acquire spatial configuration data; the spatial configuration data is composed of intervals L1 to L m Generated after being freely selected; among them, L1~L m Represents the first interval to the mth interval of a space divided into m continuous intervals, where m is an integer greater than 1. The processing module 102 is also used to: form the current space based on the space configuration data; the current space is composed of all selected intervals. Then, the detection device 100 can form the current space according to the multiple intervals selected by the space configuration data, so that the user can freely select the target detection area covered by the current space based on actual needs and configure the current space by sending the space configuration data.

[0074] The data acquisition module 103 should be understood as any component or combination of components that can realize data transmission and reception. In a specific example, the data acquisition module 103 can 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 the user's mobile terminal through the data acquisition module 103, and an application (APP) corresponding to the detection device 100 is running on the mobile terminal. The user can freely select L1~L2 according to the target detection area actually required to be detected through the user operation interface of the APP. m One or more intervals in the target detection area are then sent to the detection device 100 to form the current space that can cover the target detection area. Figure 3 As shown, in one example, L1~L m The space within 6m from the detection device is divided into intervals of 1 meter, that is, the L1 interval is [0m, 1m], the L2 interval is [1m, 2m], the L3 interval is [2m, 3m], the L4 interval is [3m, 4m], the L5 interval is [4m, 5m], and the L6 interval is [5m, 6m]. The user can arbitrarily select the required target detection area (such as Figure 3 In the figure, three intervals L2 to L4 are selected to form the current space to meet actual needs.

[0075] In some embodiments, the processing module 102 is also used to: determine that the interval where a person is located is a trigger interval, and send trigger data representing the trigger interval to the outside, so that an electronic device receives the trigger data and displays the interval where the person is located. Furthermore, based on the solution provided by this embodiment, when a certain interval is triggered by someone, if it is not actually triggered by an action generated by the human body (for example, triggered by the fluttering of curtains), it is determined to be an interference source, and the user can remove the interval where the interference source is located from the current space by viewing the display of the trigger interval to quickly shield the interference source area, that is, the current space configuration data is generated by the user after at least excluding the interval where the interference source is located and freely selecting from the remaining intervals. In one example, the user can view the triggering status of the current space in real time through the app user interface on the mobile phone. If it is found that a certain interval is triggered but not triggered by an action generated by the human body, it is determined that there is an interference source in the trigger interval, and then the area where the interference source is located is accurately shielded by not selecting the trigger interval as the target detection area.

[0076] Furthermore, the trigger data includes single trigger data; the single trigger data records the trigger interval where a person is located when switching from someone to no one, and / or the trigger interval where a person is located when switching from no one to someone, so that the electronic device can display the historical trigger record of the space. In other words, when the processing module 102 switches from determining that there is someone in the current space to determining that there is no one in the current space and from determining that there is no one in the current space to determining that there is someone in the current space, a single trigger data reporting operation will be performed so that the user can view it through an electronic device, etc., and then the user can locate the location of the trigger interference source (the interference source that returns to normal after a short trigger) according to the historical record of the single trigger data, and then shield the trigger interference source.

[0077] Furthermore, the trigger data includes real-time trigger data; the real-time trigger data records the current status of all intervals in the current space (whether there are people in the state), so that the electronic device can display the real-time status of the current space, so that the user can locate the position of the persistent interference source according to the display of the real-time trigger data for rapid shielding. It is understandable that if an interference source persists, the corresponding interval will continue to detect people and will not switch to an unmanned state, so the interference source in the interval will continue to exist, and 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 switching from someone to no one or from no one to someone), so through the display of real-time trigger data, the location of the persistent interference source can be quickly located for shielding.

[0078] In some embodiments, each interval L i The first sub-recognition threshold S is set accordingly. 1i and the second sub-recognition 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 size of the movement range of the middle person; S 2i Used to define the interval L that the processing module 102 can identify in the second identification state i The size of the action range of the person in the middle; i∈[1,m], S 11 ~S 1m The first identification threshold S1, S 21 ~S 2m The second identification threshold S2 is formed. 11 ~S 1m can be adjusted within the first specified threshold range, S 21 ~S 2mThey can be adjusted within the second specified threshold range respectively, and the first specified threshold range and the second specified threshold range do not completely overlap, so that a wider range of sensitivity adjustment can be achieved by adjusting S1 and S2 to cover more complex usage scenarios.

[0079] One specific judgment method is described as follows:

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

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

[0082] Furthermore, the data acquisition module 103 is also used to: acquire threshold configuration data; the threshold configuration data is generated by a user on an electronic device. 11 ~S 1m and S 21 ~S 2m The processing module 102 is also used to: based on the threshold configuration data (defined S 11 ~S 1m ) determines a first recognition threshold S1 of a first recognition state and a second recognition threshold S2 of a second recognition state.

[0083] Furthermore, based on this embodiment, the processing module 102 has the function of adjusting the sensitivity by partition, that is, by refining the segmentation of the space, a more refined sensitivity setting can be achieved to adapt to a more complex use space. In other words, the user can increase or decrease the first sub-recognition threshold and / or the second sub-recognition threshold corresponding to any interval according to the spatial environment of the area that actually needs to be detected, that is, the triggering sensitivity of each interval (the lower the first sub-recognition threshold, the higher the sensitivity, and vice versa) and the maintaining sensitivity of each interval (the lower the second sub-recognition threshold, the higher the sensitivity, and vice versa) are reasonably set to achieve a finer granularity shielding effect and meet more diverse application requirements.

[0084] Furthermore, the processing module 102 is further configured to retain the first sub-recognition threshold and the second sub-recognition threshold corresponding to the unselected interval, so that the user can quickly restore the previous settings later. 11 Set to A, and set the second sub-recognition threshold S 21 If the setting is set to B and L1 is blocked during the second setting, when the user operates through the mobile phone, the S corresponding to L1 11 and S 21 Will not be operational, but can view S 11 For A, S 21 B, and therefore, if the user later wants to restore the first setting of L1, it will be easier.

[0085] In some embodiments, the threshold configuration data is automatically generated after a user selects one of a plurality of preset gears on an electronic device, and then according to this embodiment, the user can quickly switch to the corresponding sensitivity by selecting the preset gear. In one example, the electronic device is preset with four gears of high sensitivity, medium sensitivity, low sensitivity, and custom sensitivity, among which the three gears of high sensitivity, medium sensitivity, and low sensitivity are preset with 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, and users can freely adjust S in the custom gear 11 ~S 1m and S 21 ~S 2m You can set any threshold in the control panel to realize the custom threshold configuration data. Based on this solution, users can quickly switch to the desired sensitivity according to the selection of high, medium and low gears, and can also perform personalized sensitivity configuration through custom gears.

[0086] Furthermore, in any of the high sensitivity, medium sensitivity, and low sensitivity gear setting interfaces, if manipulation of the first recognition threshold or the second recognition threshold for any interval is detected, it will automatically switch to the custom sensitivity gear setting interface, and synchronize the corresponding first recognition threshold and second recognition threshold data to the custom sensitivity gear, so that users can make customized threshold settings based on the preset thresholds of the high sensitivity, medium sensitivity, and low sensitivity gears, making sensitivity adjustment more convenient.

[0087] In a further example, when the sensitivity is set by selecting a gear, the threshold configuration data includes the gear data and the corresponding preset threshold data that are sent down synchronously to prevent the gear and threshold from being confused due to network reasons (such as one of the gear data or preset threshold data being lost or delayed for a long time) when the two are sent down separately.

[0088] See also Figures 4 to 6 The present invention is specifically explained according to a detection method provided by the above embodiment, such as Figure 4 As shown, the detection method at least includes step S1 and step S2, wherein:

[0089] S1, detect whether there is anyone in the current space;

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

[0091] Among them, 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 is, the smaller the movement amplitude 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 is, the smaller the movement amplitude of the person that can be recognized in the second recognition state.

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

[0093] S0, obtain space configuration data; the space configuration data is from interval L1 to L m Generated after being freely selected; among them, L1~L m Representing the first interval to the mth interval of a space divided into m consecutive intervals, where m is an integer greater than 1;

[0094] A current space is formed based on the space configuration data; the current space is composed of all selected intervals.

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

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

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

[0098] The first sub-recognition threshold S 1i , which represents the interval L that can be recognized in the first recognition state i The second sub-recognition threshold S 2i , which represents the interval L that can be recognized in the second recognition state i The magnitude of the motion range of the person in the middle position can be adjusted within a second specified threshold range. The lower the value, the smaller the motion range that can be recognized.

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

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

[0101] Get threshold configuration data; the threshold configuration data is generated by the user 11 ~S 1m , S 21 ~S 2m generated after at least one of the free definitions;

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

[0103] In addition, considering that existing detection devices generally switch states immediately when identifying a person, 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 identifying a person, so as to shield short-term interference.

[0104] Specifically, in one embodiment of the present invention, the processing module 102 is configured to be able to work in: a first recognition state, to detect whether there is someone in the current space after determining that there is no one in the current space; and a second recognition state, to detect whether there is someone in the current space after determining that there is someone in the current space;

[0105] Among them, in the first recognition state, detecting whether there is someone in the current space is specifically used for:

[0106] If it is identified that there is someone in the current space, it is detected whether there is someone in the current space within the first delay time; 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.

[0107] Furthermore, in this way, the processing module 102 will not immediately determine that there is someone in the current space when recognizing someone, but will continue to confirm whether there is someone within the first delay time, thereby shielding some short-term interference (such as mosquitoes flying by, curtains being blown up by the wind, etc.) to further improve the anti-interference ability.

[0108] According to an embodiment of the present invention, the processing module 102 is also used to set the first delay time according to an instruction from an application. Furthermore, the first delay time can be freely set by the user according to needs. For example, when the detection device 100 is set in a corridor, porch or other space, the first delay time can be appropriately increased to achieve the effect that a human body briefly passes through the current space without triggering the controlled device 200. For another example, the controlled device 200 is a lighting device. When it is detected that there is someone in the current space, the light is turned on, and when it is detected that there is no one in the current space, the light is turned off. When a human body briefly passes through the current space, if the passing time does not exceed the first delay time, it will not be determined that there is someone, and then the light will not be turned on, thereby avoiding waste of electric energy.

[0109] According to an embodiment of the present invention, the processing module 102 detects whether there is someone in the current space within the first delay time, specifically for: taking the first recognition that there is someone in the current space as the starting point of the first delay time, and detecting whether there is someone in the current space at intervals M times before the end of the first delay time; if the M results are all yes, 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. Further based on this embodiment, within the first delay time, the processing module 102 determines whether there is someone in the current space through an intermittent sampling method to prevent the processing module from being continuously in the sampling and detection working condition, causing the aging speed to accelerate and resulting in a reduction in the entire life of the product. And by detecting M times at intervals, it is also possible to shield instantaneous interference to a certain extent, and improve the anti-interference performance of the product.

[0110] In one example, M is 1, and the processing module 102 detects whether there is someone in the current space within the first delay time, specifically for: identifying whether there is someone 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. Furthermore, the processing module 102 will start timing the first delay time when it is first identified as someone in the first recognition state (i.e., waiting to trigger a state of someone when no one is present), and identify whether there is someone at the starting point and end point of the first delay time. Only when someone is detected at the starting point and end point of the first delay time, will it be concluded that there is someone in the current space and then enter the second recognition state (maintaining someone to wait for triggering a state of no one), and the processing module 102 will not perform detection between the starting point and the end point to further slow down aging and reduce power consumption.

[0111] According to an embodiment of the present invention, Figure 2As shown, the detection module 101 of the detection device 100 directly adopts a radar module, that is, the detection device 100 also includes a radar module, and the radar module is electrically connected to the processing module 102; the processing module 102 detects whether there is someone in the current space, and is specifically used to: obtain the action signal of the current space through the radar module; the radar module sends the action signal to the processing module 102, and the processing module 102 analyzes the action signal to identify whether there is someone in the current space; wherein the interval time of the radar module sending the action signal changes randomly, so as to improve the anti-interference performance by introducing natural random numbers. For example, the interval time changes randomly within 60ms-100ms.

[0112] Based on the solution provided in this embodiment, the time 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, and the task of introducing random numbers is completed by the radar module, which reduces the pressure of the processing module 102 to a certain extent, that is, reduces the load of the processing module 102 while improving the anti-interference capability.

[0113] In addition, according to an embodiment of the present invention, the detection device 100 has a networking function, so that the detection device 100 can achieve network connection with a controlled device connected to the same network (for example, a network where the same server is located) to interact and control data. The user can customize some control rules through the mobile phone and pre-store them in the server, where the 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, the control result defined by the control rule matching the detection result is sent to the controlled device 200, and the controlled device 200 performs a corresponding operation based on the control result to realize an automatic linkage function based on the detection result.

[0114] The inventors have found that in actual use, when the detection device 100 is linked to the controlled device 200, there is often a need to temporarily turn off the linkage function of the detection device 100, for example, after turning on the sweeping robot or after going to bed, the linkage function of the detection device 100 needs to be turned off to prevent accidental touches. However, the existing detection device 100 does not have this function. Therefore, an embodiment of the present invention provides a detection device 100, in which the processing module 102 is configured to be able to turn off the reporting function based on the detection results obtained by the radar module according to a shutdown instruction from an application, so that the user can quickly cut off the automatic linkage function of the detection device 100 when needed.

[0115] In one example, the processing module 102 controls the power supply of the radar module through a switch component, and the switch component can be, for example, but not limited to, a switch component composed of electronic switches such as MOS tubes and triodes. When the processing module 102 receives the shutdown instruction, the switch component is disconnected to cut off the power supply of the radar module, and no longer reports any detection results related to the radar module, so as to prevent the processing module 102 from mistakenly detecting the detection result that there is no one in the current space during the shutdown process of the radar module, thereby causing false triggering. However, directly turning off the power supply of the radar module will result in the need to reopen the radar module when the automatic linkage function of the detection device 100 needs to be enabled again, and the radar module needs to be powered on again for a certain period of time (for example, some radar modules need to be initialized for 2 seconds). When the user enables the radar module again, the response of the detection device 100 will be delayed due to the need for initialization of the radar module, and the processing module is likely to be falsely triggered during the process of the radar module being powered on again. Based on this, in another example, an embodiment of the present invention provides a detection device 100, and the processing module 102 will stop reporting the detection results obtained based on the radar module after receiving the shutdown instruction, but will not turn 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 relevant detection results (detection results such as whether there is someone in the current space, no one in the current space, how long the current space has been occupied, how long the current space has been unoccupied, someone is approaching, someone is moving away, etc.), so that the detection device 100 can only turn off the data reporting of the detection device 100 without turning off the power of the radar module, which solves the above problem well.

[0116] In a further example, the detection device 100 can establish a communication connection with the user's mobile terminal through data acquisition modules such as a WIFI unit and a Bluetooth unit. An application (APP) corresponding to the detection device 100 is running on the mobile terminal. The user can operate the corresponding control on the interactive interface provided by the APP to issue the shutdown command, so that the user can quickly turn off the detection function of the detection device 100 with one click.

[0117] See also Figure 4 , Figure 7 to Figure 9 The present invention is specifically explained according to a detection method provided by the above embodiment. It can be seen that the detection method at least includes step S1 and step S2, wherein:

[0118] S1, detect whether there is anyone in the current space;

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

[0120] Among them, in the first recognition state, detecting whether there is someone in the current space is specifically used for:

[0121] If it is identified that there is someone in the current space, it is detected whether there is someone in the current space within the first delay time; 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.

[0122] See also Figure 7 According to an embodiment of the present invention, in step S2, detecting whether there is someone in the current space within the first delay time specifically includes:

[0123] S21, taking the first time of identifying that there is someone in the current space as the starting point of the first delay time, and identifying whether there is someone in the current space at the end of the first delay time; if so, go to step S22; otherwise, go to step S23;

[0124] S22, determining that there are people in the current space;

[0125] S23. Determine that there is no one in the current space.

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

[0127] S11, obtaining an action signal of the current space; the action signal is generated by a radar module based on radar detection of the current space; the interval time of sending the action signal by the radar module changes randomly;

[0128] S12: Analyze the motion signal to identify whether there is someone in the current space.

[0129] In addition, considering the problem that the existing detection device will immediately trigger the unmanned state if it recognizes that there is no one while maintaining the occupied state, which is easy to cause misjudgment, an embodiment of the present invention provides a detection device 100, which improves the problem of mistriggered unmanned judgment by reasonably setting a second delay time.

[0130] Specifically, according to an embodiment of the present invention, the processing module 102 is configured to work in:

[0131] A first recognition state is used to detect whether there is someone in the current space after determining that there is no one in the current space; and a second recognition state is used to detect whether there is someone in the current space after determining that there is someone in the current space;

[0132] The processing module 102 detects whether there is a person in the second recognition state, specifically for:

[0133] If it is determined that there is no one in the current space, then the current space is detected within the second delay time.

[0134] Furthermore, according to the scheme, when the processing module 102 switches from the first recognition state to the second recognition state (i.e., switches from determining that the current space is unoccupied to determining that the current space is occupied), it will continue to judge whether the current space is maintained to be occupied. In order to improve the accuracy of the judgment of maintaining an occupied state, after the current space is identified as unoccupied in the second recognition state, it will not immediately conclude that the current space is unoccupied, but will continue to judge within the second delay time. If the current space is still identified as occupied within the second delay time, it will be determined that the current space is occupied and the second recognition state will be maintained; otherwise, it will be determined that the current space is unoccupied and enter the first recognition state. This ensures the accuracy of switching from the maintained occupied state to the unoccupied state, and prevents the controlled device 200 associated with the state switching event from being triggered in error.

[0135] 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 program. The second delay time can be freely set by the user according to needs. For example, when the detection device 100 is set 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 unattended when the user is sleeping, watching a movie or other small movements, thereby improving the user experience.

[0136] According to an embodiment of the present invention, the detection of whether there is someone in the current space within the second delay time is specifically used to: take the first recognition that there is no one in the current space after switching to the second recognition state as the starting point of the second delay time, if the selected space is recognized as having someone N times within the second delay time, then it is determined that there is someone in the selected space; otherwise, it is determined that there is no one in the selected space; N is an integer greater than or equal to 2. In other words, when the processing module 102 switches from determining that there is someone in the current space to determining that there is no one in the current space, it will maintain the determination that there is someone in the current space only if it is recognized as having someone at least twice in a row within the second delay time. If it is not recognized as having someone twice in a row (for example, it is recognized once, or twice discontinuously), it will be ignored and the timing will continue until the timing ends and there is still no one recognized at least twice in a row, then it will switch to the state of determining that there is no one in the current space. Compared with the solution of maintaining the state of determining that there is someone in the current space only once within the second delay time, this solution can further improve the accuracy of maintaining the state of having someone in the current space and improve the ability to resist misjudgment.

[0137] In one example, if T represents the second delay time, for example, T=10s, N=3, the specific working principle is: after the processing module 102 switches from the state of determining that there is no one in the current space to the state of determining that there is someone in the current space, it is necessary to enter the judgment of maintaining the state of someone (i.e., the second recognition state), at this time T=10s; subsequently, if there is always someone in the space, the processing module 102 will always recognize that there is someone in the current space and continue to maintain the state of someone (i.e., continue the second recognition state), when the person in the current space leaves, the processing module 102 will recognize that there is no one in the current space, and then use the first recognition as the current space. When the space is empty, T is triggered to start the countdown from 10s. If the processing module 102 does not recognize that there is someone in the current space three times in a row within the 10s countdown, the processing module 102 will switch to the state of determining that there is no one in the current space after the 10s countdown ends; if the current space is recognized to be empty once or twice in a row within 10s, it will be ignored and the countdown will continue (instantaneous interference can be shielded); if the current space is recognized to be empty three times in a row within 10s, the timing of T will end with the third recognition of someone in the current space and T will be reset to 10s until the next recognition of no one arrives and the countdown of T is triggered again. Space

[0138] According to an embodiment of the present invention, there are intervals between the N times of identifying that there is someone in the selected space, that is, if there are N times of identifying that there is someone in the selected space with intervals within the second delay time, it is determined that there is someone in the selected space; the interval time can be set to 10-100ms, for example 50ms, and 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 there is someone or not within microseconds (for example, if the action signal exceeds the second recognition threshold, it is considered that there is someone, and if the action signal does not exceed the second recognition threshold, it is considered that there is no one), and thus the probability of the interference source with an action duration within 50ms not being identified will increase, thereby shielding the instantaneous interference to a certain extent.

[0139] Furthermore, in the actual implementation process, two timers can be set: a first timer and a second timer to determine whether the action of someone is continuous, so as to further improve the anti-interference ability. Specifically, the first timer is used to sample the action signal once at each interval (for example, 50ms), and determine whether the action signal exceeds the second recognition threshold. If so, the second timer is started, which is used to continuously sample the interval time (for example, continuously sample 50ms) at a sampling rate of microseconds after identifying that there is someone in the current space, so as to determine whether the duration of the action lasts for the interval time. If so, it is identified as a person in the current space. By analogy, if it is identified as someone in the current space for three consecutive times, it is determined that there is someone in the current space, and the second recognition state is maintained to prevent the triggering of no one from causing a misjudgment. In this way, the interference source within the interval time will not be identified, further improving the ability to resist instantaneous interference.

[0140] According to an embodiment of the present invention, the processing module 102 is further configured to stop timing the delay period when it is identified for the Nth time that there is someone in the selected space, so as to reduce power consumption.

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

[0142] Based on the solution provided in this embodiment, the time 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, and the task of introducing random numbers is completed by the radar module, which reduces the pressure of the processing module 102 to a certain extent, that is, reduces the load of the processing module 102 while improving the anti-interference capability.

[0143] See also Figure 4 , Fig. 9 , Fig.10 The present invention is specifically explained according to a detection method provided by the above embodiment, such as Figure 3 As shown, the detection method at least includes step S1 and step S2, wherein:

[0144] S1, detect whether there is anyone in the current space;

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

[0146] Among them, Fig. 9 As shown, in step S2, detecting whether there is a person in the second recognition state is specifically used for:

[0147] S24: If it is determined that there is no one in the current space, detect whether there is anyone in the current space within the second delay time.

[0148] Furthermore, if it is still recognized that there is someone in the current space within the second delay time, then go to step S25; otherwise, go to step S26;

[0149] S25, determining that there is someone in the current space and maintaining the second recognition state;

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

[0151] See also Fig.10 According to an embodiment of the present invention, in step S24, the processing module detects whether there is someone in the selected space within the second delay time, specifically for:

[0152] S241, determine whether a person is identified in the selected space N times within the second delay time; if so, go to step S242; otherwise, go to step S243;

[0153] S242, determining that there are people in the selected space;

[0154] S243, confirming that no one is in the selected space;

[0155] Wherein, N is an integer greater than or equal to 2.

[0156] According to an embodiment of the present invention, the first time that no one is identified in the selected space is taken as the starting point of the second delay time, and the timing of the delay period is stopped when the selected space is identified as having someone for the Nth time.

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

[0158] Acquire an action signal of the current space; the action signal is generated by a radar module based on radar detection of the current space; the interval time of sending the action signal by the radar module changes randomly;

[0159] The motion signal is analyzed to identify whether there is someone in the current space.

[0160] In addition, the existing detection device 100's approaching and moving away recognition functions are all dependent on analyzing the trend of people near the boundary, and the inventors have found that when the detection module 101 is implemented as a single-target detection solution such as a radar module, the general detection module 101 will give priority to identifying the person with the largest movement amplitude in the current space. When there are multiple people in the current space, there may be a false judgment that there are still people in the current space but a person with a larger movement amplitude moves away, triggering a moving away event. Based on this, in one embodiment of the present invention, a detection device 100 is proposed, whose approach / movement judgment does not depend on the movement trend of the human body near the boundary, but is based on whether there are people in the space within the boundary to make an approach / movement judgment, which can effectively avoid the above-mentioned problems.

[0161] Specifically, in one embodiment of the present invention, the processing module 102 is configured to work at:

[0162] A first recognition state is used to detect whether there is someone in the current space after determining that there is no one in the current space; and a second recognition state is used to detect whether there is someone in the current space after determining that there is someone in the current space;

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

[0164] Furthermore, according to this solution, when the current space switches from an unmanned state to a maintained manned state, even if someone crosses the designated boundary, the processing module 102 will not immediately output a person approaching event, and the judgment result of the approaching event / faraway event will not only depend on the trend of people crossing the boundary, but will be combined with whether there are still people in the boundary after the person crosses the boundary to make a comprehensive judgment, so that when there are multiple targets in the current space, the judgment result of the approaching event / faraway event is more accurate, and the ability to resist misjudgment is further improved. For example, when there are multiple people in the current space, if a person with a large movement amplitude crosses the designated boundary and moves away, the processing module 102 will recognize that the person's position is not within the boundary, but it will not trigger someone to move away at this time, but will continue to judge whether there is someone in the designated boundary within a delay period. Due to the existence of the delay period, the person who moved away before will be farther and farther away from the detection device 100 during the delay period, and then the impact of his movement amplitude on the processing module 102 will be smaller and smaller, so the subsequent processing module 102 will recognize that there are still people in the space within the boundary, and will not trigger the person to move away event.

[0165] Among them, the detection device 100 can obtain boundary data through a data acquisition module; the boundary data is used to define a designated boundary of approaching / distancing. The data acquisition module should be understood as any component or combination of components that can realize data transmission and reception. In a specific example, the data acquisition module can 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 the user's mobile terminal through the data acquisition module. An application (APP) corresponding to the detection device 100 is running on the mobile terminal, and the user can freely set the designated boundary on the interactive interface provided by the app.

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

[0167] The following will use the energy value to characterize the human body's motion amplitude for explanation, that is, the larger the energy value, the larger the motion amplitude of the human body, and the smaller the energy value, the smaller the motion amplitude of the human body. The existing approach / distance judgment scheme is: set a boundary distance, when it is recognized that the human body crosses the boundary distance and the energy value gradually increases, it is determined that someone is approaching, and when it is recognized that the human body crosses the boundary distance and the energy value gradually decreases, it is determined that someone is away. This leads to: when there are multiple people in the current space, if some people are watching movies (low energy value) and some people are running (high energy value), when the running person leaves, it is very likely that someone will be determined to be away and cause a misjudgment. The solution provided in this embodiment will continue to determine whether the person's position is within the specified boundary after being identified as someone approaching. If it is identified that the person's position is not within the specified boundary, it will not immediately trigger someone to move away, but start a delay period, and determine whether the person's position is outside the specified boundary within a delay period; if so, it is determined that someone is away, and thus it can effectively avoid the situation where there are still people in the current space but it is misjudged as someone moving away.

[0168] According to an embodiment of the present invention, the detection device 100 has a networking function, so that the detection device 100 can achieve network connection with a controlled device connected to the same network (for example, a network where the same server is located) to interact and control data. The user can customize some control rules through the mobile phone and pre-store them in the server, where the 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, the control result defined by the control rule matching the detection result is sent to the controlled device 200, and the controlled device 200 performs a corresponding operation based on the control result to realize an automatic linkage function based on the detection result.

[0169] The processing module 102 is also configured to report the approach event or the departure event to the server as a detection result, so as to trigger the executable function of the corresponding controlled device 200 according to the preset control rule. Furthermore, the setting of the delay period enables the controlled device 200 to have a delayed response effect after a person leaves. For example, if the controlled device 200 is a lighting device, after determining that a person leaves, the light will not be turned off immediately, but will be turned off after the delay period.

[0170] According to an embodiment of the present invention, the processing module 102 is further configured to: after identifying that someone is approaching, if the second identification state is switched to the first identification state, it is identified as someone moving away. Then, when the current space is determined to be empty, it will directly trigger someone moving away, without relying on the judgment of whether the human body crosses the specified boundary, so as to improve the judgment accuracy of the person moving away event. That is, after the current space state is switched from someone to no one, regardless of whether the human body crosses the boundary or whether there are still people in the boundary area, it will be determined as someone moving away. For example Fig.11 In the schematic diagram of the application scenario shown, the detection device 100 is set at the door, and the designated boundary is 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 someone approaching. If the person directly enters the kitchen at this time, he will not cross the designated boundary again, but it will be recognized that there is no one in the entire current space, so it will also be recognized that someone is leaving.

[0171] Furthermore, the processing module 102 can also obtain space configuration data through a data acquisition module; the space configuration data is composed of intervals L1 to L m Generated after being freely selected; among them, L1~L m Representing the 1st interval to the mth interval of a space divided into m continuous intervals, where m is an integer greater than 1; the processing module 102 is also used to: form a current space based on the space configuration data; the current space is composed of all selected intervals.

[0172] Furthermore, the detection device 100 can form a current space according to multiple intervals selected by the space configuration data, so that the user can freely select the target detection area covered by the current space based on actual needs and configure the current space by sending the space configuration data.

[0173] Furthermore, the processing module 102 determines whether the person is outside the specified boundary within a delay period, specifically: if all selected intervals within the specified boundary are empty for more than the delay period, it is identified as a person moving away, and the approach / distance is determined by the interval identification method, which can further improve the judgment efficiency and accuracy. The delay period is set to 1 second to 20 seconds, for example, 10 seconds, so as to improve the accuracy of the judgment of the person moving away while taking into account a certain response speed to improve the user experience.

[0174] In some embodiments, when the processing module 102 determines that the current space is switched between someone / no one, it reports the detection result to the network platform (server) after a specified delay time to alleviate the abnormal situation caused by data reporting congestion when the current space status is quickly switched. Then, when the current space status is quickly switched, the corresponding data after the switch will not be reported immediately, but will be reported after a specified delay time to ensure that the last data report is completed. For example, if the specified time is set to 1.5s, if the person in the current space leaves and immediately enters the current space again, the processing module 102 will recognize that the current space is switched from someone to no one for the first data report, and immediately detect that the current space is switched from no one to someone. If the corresponding second data report is immediately performed, it will cause the second data report to be crowded when the first data report is not completed, and then cause some unpredictable abnormalities (such as crashes, etc.). The second data report after a delay of 1.5s can ensure that the first data report is uploaded with a high probability within 1.5s to improve this problem.

[0175] Furthermore, the processing module 102 is also configured to report the unmanned duration to the network platform (server) in the first identification state, and report the manned duration to the network platform (server) in the second identification state. The unmanned duration and the manned duration can be used as the detection results to trigger the corresponding control rules to link the relevant executable functions of the controlled device. Further, the processing module 102 is configured to report relevant data when the manned duration or the unmanned duration changes for more than 1 minute, so that the user can check the status of the current space in time.

[0176] See also Figure 4 , Figure 12 to Figure 14 , a flow chart of a detection method provided by the present invention according to the above embodiment is illustrated. It can be seen that the detection method at least includes step S1 and step S2, wherein:

[0177] S1, detect whether there is anyone in the current space;

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

[0179] Among them, Fig.12 As shown, the detection method also includes:

[0180] S4. After switching from the first recognition state to the second recognition state, if it is recognized that the person is located within the specified boundary, it is recognized as a person approaching.

[0181] See also Fig.13 According to an embodiment of the present invention, the detection method further includes:

[0182] S5, after recognizing that a person is approaching, continue to determine whether the person's location is within the specified boundary;

[0183] If it is determined that the person's location is not within the specified boundary, it is determined within a delay period whether the person's location is outside the specified boundary; if so, it is determined that the person is moving away.

[0184] See also Fig.14 According to an embodiment of the present invention, S6, after recognizing that someone is approaching, if the second recognition state is switched to the first recognition state, it is recognized that someone is moving away.

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

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

[0187] A current space is formed based on the space configuration data; the current space is composed of all selected intervals.

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

[0189] If the state of no one in all selected intervals within the specified boundary lasts longer than the delay period, it is recognized that someone has left.

[0190] Fig.15 A schematic diagram of the physical structure of an electronic device provided by the present invention, such as Fig.15 As shown, the electronic device may include: a processor 1510, a communication interface 1520, a memory 1530 and a communication bus 1540, wherein the processor 1510, the communication interface 1520 and the memory 1530 communicate with each other through the communication bus 1540. The processor 1510 may call the logic instructions in the memory 1530 to execute the detection method.

[0191] In the description of this specification, the description with reference to the terms "some embodiments", "a specific implementation", "a specific implementation process", "an example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the specific features, structures, materials or characteristics described in the schematic expressions of the above terms can be combined in any one or more embodiments or examples in a suitable manner.

[0192] It should also be noted that the above-mentioned embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments, that is, the technical solutions disclosed in the later (order of sequence recorded in the text) embodiments should include the technical solutions recorded in the embodiment and the technical solutions recorded in all embodiments before the embodiment.

[0193] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements 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, suitable for being arranged in a space to detect whether there is someone in the current space; wherein the detection device may be a single-mode sensor based on a microwave radar module, or may be a dual-mode sensor including a microwave radar module and an infrared pyroelectric sensor based on infrared radiation; the detection device includes a processing module, which is configured to work in: The first recognition state is to detect whether there is anyone in the current space after determining that there is no one in the current space; And, the second recognition state is used to detect whether there is someone in the current space after determining that there is someone in the current space; the user can adjust the thresholds of the first recognition state and the second recognition state based on actual needs to improve the detection accuracy of the human body; Wherein, the processing module is further configured to: If it is identified that there is someone in the current space in the first recognition state, it will detect whether there is someone in the current space within the first delay time; if so, it will be determined that there is someone in the current space and enter the second recognition state; the first delay time can be freely set by the user according to needs to shield some short-term interference; After switching from the first recognition state to the second recognition state, if the person's location is recognized to be within the specified boundary, it is recognized as a person approaching; The detection device can obtain boundary data through a data acquisition module; the boundary data is used to define a designated boundary of approaching / moving away; the designated boundary can be freely set by the user; The detection device is used to link the controlled device to perform corresponding operations according to the detection results; the detection results include determining whether there is a person in the current space or someone is approaching; wherein, the detection device has a networking function; the processing module is also configured to report the detection results to the server to trigger the executable function of the corresponding controlled device according to the preset control rules.

2. The detection device according to claim 1, wherein: The processing module is further configured to: after identifying that a person is approaching, continuously determine whether the person's location is within a specified boundary; If it is determined that the person's location is not within the specified boundary, it is determined within a delay period whether the person's location is outside the specified boundary; if so, it is determined that the person is moving away.

3. The detection device according to claim 1 or 2, wherein: The processing module is further configured to: after recognizing that a person is approaching, if the second recognition state is switched to the first recognition state, recognize that a person is moving away.

4. The detection device according to claim 2, wherein: The detection device also includes: The data acquisition module is used to acquire the spatial configuration data; the spatial configuration data is composed of intervals L 1~ L m is freely selected and generated; among them, L 1~ L m Representation is divided into continuous m The first interval to the first interval of the space of intervals m intervals, m is an integer greater than 1; The processing module is also used for: A current space is formed based on the space configuration data; the current space is composed of all selected intervals.

5. The detection device according to claim 4, wherein the processing module determines whether the person's location is outside the specified boundary within a delay period, specifically for: If the state of no one in all selected intervals within the specified boundary lasts longer than the delay period, it is recognized that someone has left.

6. The detection device according to claim 2, wherein: The delay period is set to 1 second to 20 seconds.

7. A detection method, applied to a detection device, wherein the detection device may be a single-mode sensor based on a microwave radar module, or may be a dual-mode sensor including a microwave radar module and an infrared pyroelectric sensor based on infrared radiation; The methods include: Detect whether there is anyone in the current space; If it is determined that there is no one in the current space, detect whether there is anyone in the current space in the first recognition state; And, if it is determined that there is someone in the current space, the second recognition state is used to detect whether there is someone in the current space; the user can adjust the thresholds of the first recognition state and the second recognition state based on actual needs to improve the detection accuracy of the human body; Among them, if it is recognized that there is someone in the current space in the first recognition state, it will detect whether there is someone in the current space within the first delay time; if so, it is determined that there is someone in the current space and enters the second recognition state; the first delay time can be freely set by the user according to needs to shield some short-term interference; after switching from the first recognition state to the second recognition state, if it is recognized that the person's location is within the specified boundary, it is recognized as someone approaching; The method further comprises: Acquire boundary data; the boundary data is used to define a designated boundary of approaching / moving away; the designated boundary can be freely set by the user; The controlled device is linked to perform corresponding operations according to the detection results; the detection results include determining that there are people in the current space and that someone is approaching; wherein the detection results are reported to the server to trigger the executable functions of the corresponding controlled device according to the preset control rules.

8. The detection method according to claim 7, wherein: The detection method further includes: after identifying that a person is approaching, continuously determining whether the person's location is within a specified boundary; If it is determined that the person's location is not within the specified boundary, it is determined within a delay period whether the person's location is outside the specified boundary; if so, it is determined that the person is moving away.

9. The detection method according to claim 7 or 8, wherein: The detection method further includes: after recognizing that a person is approaching, if the second recognition state is switched to the first recognition state, it is recognized that a person is moving away.

10. The detection method according to claim 8, wherein: The detection method further comprises: Get spatial configuration data; the spatial configuration data is composed of interval L 1~ L m is freely selected and generated; among them, L 1~ L m Representation is divided into continuous m The first interval to the first interval of the space of intervals m intervals, m is an integer greater than 1; A current space is formed based on the space configuration data; the current space is composed of all selected intervals.

11. The detection method according to claim 10, wherein determining whether the person's location is outside a specified boundary within a delay period specifically comprises: If the state of no one in all selected intervals within the specified boundary lasts longer than the delay period, it is recognized that someone has left.

12. A control system comprising: A detection device, wherein the detection device is a detection device according to any one of claims 1 to 6, or is used to implement a detection method according to any one of claims 7 to 11; A controlled device, the controlled device is operably coupled to the detection device so as to be directly or indirectly operated by the detection device to change a working state.

Citation Information

Patent Citations

  • Human body automatic monitoring method and device

    CN110488256A

  • Personnel detection method and device, equipment and storage medium

    CN113406613A

  • Detection device, method and system

    CN116540319A

  • Detection device, method and system

    CN116540320A

  • Detection device, method and system

    CN116699714A