Moving object detection device and method thereof
By integrating detection modules and processing modules in the motion object detection device, flexible adjustment of reporting strategies is achieved, and the problem that traditional systems cannot cope with diversified application scenarios is solved, monitoring efficiency and rationality of resource use are improved, and key events are ensured. timely response and power resource conservation.
Patent Information
- Application Number
- CN202411196636.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-03
AI Technical Summary
The data reporting mechanism of traditional motion object detection systems is single, and they cannot flexibly respond to diverse application scenarios, resulting in the possibility of missing out on key events in high real-time monitoring scenarios or causing network congestion and power waste in static environments.
A motion object detection device is designed, integrating a detection module and a processing module. The processing module can select the most suitable reporting strategy based on the received instructions, including adjustments to the total number of reporting times and periods to meet different monitoring needs. The device can automatically adjust the reporting strategy according to external instructions or detection results, provide the choice of multiple reporting and single reporting, and optimize resource usage and monitoring efficiency.
It realizes flexible adaptability and efficient operation in diverse application scenarios, ensures the balance between monitoring accuracy and resource consumption, reduces unnecessary communication and power waste, and extends the battery life of the device.
Smart Images

Figure CN119071324A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of moving target sensing technology, and in particular to a moving target detection device and method. Background Art
[0002] Traditional moving target detection systems mostly use a fixed data reporting mechanism, which is often relatively simple. This inflexible strategy is inadequate when faced with diverse application scenarios. For example, in some monitoring scenarios that require high real-time performance, fixed low-frequency reporting may miss key events; while in a relatively static environment, high-frequency reporting will cause network congestion and power waste. Therefore, the market urgently needs a moving target detection device that can flexibly respond to different monitoring environments and needs. Summary of the invention
[0003] In order to overcome the problems existing in the prior art, an object of the present invention is to provide a moving target detection device and method thereof, wherein the moving target detection device of the present invention integrates a detection module and a processing module, the former is responsible for sensing the moving target in the environment, and the latter not only processes the detection results, but also selects the most appropriate reporting strategy according to the received instructions. The difference in reporting strategies is mainly reflected in the changes in the total number of reports and the reporting cycle to meet the diverse monitoring needs.
[0004] Furthermore, the device and method provided by the present invention have the flexibility of selecting reporting strategies. They can not only access the network to realize remote monitoring, but more importantly, they can automatically adjust the reporting strategy according to external instructions or detection results, including the total number of reports and the cycle, so that the established monitoring goals can be achieved in various application scenarios, so that the device can adapt to the needs of different application scenarios, thereby improving the monitoring efficiency and the rationality of resource utilization.
[0005] Another object of the present invention is to provide a motion target detection device and method thereof, wherein the motion target detection device has the flexibility of selecting a reporting strategy, and can not only access the network to realize remote monitoring, but more importantly, it can automatically adjust the reporting strategy according to external instructions or detection results, including the total number of reports and the cycle, so that the established monitoring objectives can be achieved in various application scenarios, so that the device can adapt to the requirements of different application scenarios, and improve the monitoring efficiency and the rationality of resource utilization.
[0006] Another object of the present invention is to provide a motion target detection device and method thereof, wherein the motion target detection device can flexibly adapt to different application scenario requirements by setting different reporting strategies. The user selects an appropriate strategy according to the scenario requirements to strike a balance between monitoring accuracy and resource consumption. The first strategy is suitable for scenarios that require frequent updates and real-time monitoring, and ensures that information is timely and accurate through multiple reports. The second strategy is suitable for resource-sensitive scenarios, and reduces unnecessary data transmission and resource consumption through a single report. Such a design makes the device flexible, and the reporting strategy can be adjusted according to actual needs to achieve more efficient operation.
[0007] Another object of the present invention is to provide a moving target detection device and method thereof, wherein the accuracy and controllability of the reporting behavior of the moving target detection device are improved by further refining the first strategy and the second strategy. This refinement not only optimizes resource usage (such as power and communication resources), but also improves the adaptability of the device in different scenarios, so that the device can better balance monitoring accuracy and resource consumption in actual applications, and meet the diverse needs of users.
[0008] Another object of the present invention is to provide a moving target detection device and method thereof, wherein after detecting a moving target, a user is allowed to flexibly choose whether to adopt a first strategy (multiple reports) or a second strategy (single report) according to specific application scenarios and requirements. This limitation significantly reduces unnecessary communications and optimizes the resource usage of the device, especially when powered by a battery. This design improves the effectiveness of the device, ensuring that the reported data is valuable in all cases, while also providing greater flexibility in strategy selection, allowing the device to better adapt to a variety of application scenarios.
[0009] Another object of the present invention is to provide a moving target detection device and method thereof, wherein the moving target detection device processing module uses the received interval time data to determine the reporting period, that is, the frequency of when the device reports the detection results to the outside. The length of this reporting period is determined by the interval time selected by the user, ensuring that flexible reporting can be performed according to the user's needs. Since the user can select different reporting periods according to the interval time data, multiple reporting strategies with different reporting periods can be formed.
[0010] Another object of the present invention is to provide a moving target detection device and method thereof, wherein the moving target detection device can autonomously determine when it is necessary to switch the reporting strategy. This automation reduces the user's operating burden, making the device more intelligent and easy to use. The user does not need to frequently adjust the device settings, and the device can automatically optimize the reporting strategy according to environmental changes. When a moving target is detected, the device immediately switches to the first strategy and reports the detection results at a higher frequency. This design ensures that the device can respond quickly and provide continuous monitoring data at important moments. In the case where no moving target is detected, the device will automatically extend the reporting period to avoid unnecessary reporting. This flexible adjustment improves the adaptability of the device in different scenarios.
[0011] Another object of the present invention is to provide a moving target detection device and method thereof, wherein when the processing module detects a moving target, a single reporting method is used to report the detection result. This means that the device only reports the detection result once when the moving target is detected for the first time, and even if the same detection result is detected subsequently, it will not be reported repeatedly unless the detection result changes. Unlike the single report when a moving target is detected, when no moving target is detected, the device will report at least twice in an increasing reporting cycle. The design purpose of this strategy is to gradually reduce the frequency of repeated reports of no moving targets and save resources.
[0012] Another object of the present invention is to provide a moving target detection device and method thereof, wherein a single reporting strategy is applied to send data only once when a moving target is detected. This reduces the frequency of data transmission, thereby saving power and communication resources. At the same time, by dynamically adjusting the reporting cycle, especially gradually extending the reporting cycle when no moving target is detected, the device can further significantly save power and communication resources. This is particularly important for devices that rely on battery power, and helps to extend the battery life of the device.
[0013] To achieve at least one of the above purposes, according to another aspect of the present invention, a moving target detection device is provided, wherein the moving target detection device can access a network and perform network communication; the moving target detection device comprises:
[0014] The detection module has the ability to perceive moving targets and is used to detect moving targets in the current environment;
[0015] A processing module is electrically connected to the detection module and is used to:
[0016] Obtaining a detection result of whether there is a moving target in the environment through the detection module, and reporting the detection result through the network according to the selected reporting strategy;
[0017] Before reporting the test results, it is also used to obtain the selected instructions;
[0018] The reporting strategy is selected according to the selection instruction; wherein different reporting strategies are distinguished by the total number of times the detection results are reported and / or the reporting period.
[0019] According to an embodiment of the present invention, the processing module obtains the selected instruction, specifically for:
[0020] Acquiring a selected instruction from the outside based on a wireless communication module; the instruction specifies one selected from at least two reporting strategies;
[0021] The processing module reports the detection result through the network according to the selected reporting strategy, specifically for:
[0022] When the selected reporting strategy is the first strategy among multiple reporting strategies, the detection result is reported in multiple reporting ways; and when the selected reporting strategy is the second strategy among multiple reporting strategies, the detection result is reported in a single reporting way.
[0023] According to an embodiment of the present invention, the processing module is further configured to:
[0024] Under the first strategy, the detection results are reported at equal intervals according to the set first interval to implement the multiple reporting method; and
[0025] Under the second strategy, after obtaining the corresponding test results, the retention phase is entered after the test results are reported for the first time, and the retention phase is continued during the same test result period, and the retention phase is exited when the test result changes. The processing module is configured to stop reporting during the retention phase and report once immediately or within a specified time after exiting the retention phase.
[0026] According to an embodiment of the present invention, the processing module is specifically used for:
[0027] Under the first strategy, the detection results of the detected moving targets are reported at even intervals according to the set first interval;
[0028] Under the second strategy, after obtaining the detection result of detecting a moving target, after reporting the detection result of a moving target for the first time, entering a holding phase in which the moving target exists, and continuing the holding phase while the moving target continues to exist, and exiting the holding phase when the moving target does not exist, the processing module is configured to stop reporting the detection result of the moving target in the holding phase, and report a detection result of no moving target once immediately or within a specified time after exiting the holding phase.
[0029] According to an embodiment of the present invention, if the first strategy is selected, the selected instruction carries interval time data, which is selected and determined by the user on the smart terminal to adjust the first interval to vary within a preset range.
[0030] According to an embodiment of the present invention, the processing module receives a selected instruction carrying interval time data through the wireless communication module, and the data is used to determine the reporting period; the reporting period varies within a preset range according to the interval time data selected by the user, forming a plurality of reporting strategies with different reporting periods.
[0031] According to an embodiment of the present invention, the preset range is set to 10 seconds to 50 seconds, and the step value is 10 seconds.
[0032] According to an embodiment of the present invention, the processing module determines the selected instruction according to the detection result to automatically adjust the reporting strategy based on the detection result:
[0033] When a moving target is detected, the first strategy is selected to report the detection result at a set interval period;
[0034] When no moving target is detected, the second strategy is selected, and the reporting period of the detection result increases as the number of reports increases.
[0035] According to an embodiment of the present invention, the processing module determines the selected instruction according to the detection result to automatically adjust the reporting strategy based on the detection result:
[0036] When a moving target is detected, the detection result is reported in a single report mode;
[0037] When no moving target is detected, the detection result is reported at least twice in an incremental reporting cycle.
[0038] According to an embodiment of the present invention, the processing module is also used to, when no moving target is detected, allow customization of at least one reporting opportunity based on a second strategy in which the reporting period increases with the number of reports; and the reporting period of the reporting opportunity can be customized within an adjustment range.
[0039] To achieve at least one of the above purposes, according to a second aspect of the present invention, a moving target detection method is provided, comprising:
[0040] Obtain the detection result of whether there are moving targets in the environment;
[0041] Report the test results through the network according to the selected reporting strategy;
[0042] Before reporting the detection result, the method further includes obtaining a selected instruction; selecting the reporting strategy according to the selected instruction; and different reporting strategies are distinguished by the total number of times the detection result is reported and / or the reporting period.
[0043] It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention. The above invention contents can be combined arbitrarily, and these and other purposes of the present invention will be fully reflected through the following detailed description and drawings.
[0044] 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
[0045] 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.
[0046] Figure 1 This is a schematic diagram of an implementation environment in an embodiment of the present invention;
[0047] Figure 2 is a schematic diagram of a module of a moving target detection device in one embodiment of the present invention;
[0048] Figure 3 is a schematic diagram of a hardware block diagram of a moving target detection device in one embodiment of the present invention;
[0049] Figure 4 is a schematic diagram of illumination recording of a moving target detection device in one embodiment of the present invention;
[0050] Figure 5 is a schematic flow chart of a moving target detection method in one embodiment of the present invention;
[0051] Figure 6 is a schematic structural diagram of a moving target detection device in one embodiment of the present invention;
[0052] Figure 7 is a schematic diagram of a moving target detection device magnetically attracted to a circular iron sheet in one embodiment of the present invention;
[0053] Figure 8 is a schematic diagram of adjusting the angle of the adjustment component in two rotational degrees of freedom in one embodiment of the present invention;
[0054] Fig. 9 is a schematic diagram of the detection direction of a moving target detection device in three states according to an embodiment of the present invention;
[0055] Fig.10 is an exploded view of an adjustment component in one embodiment of the present invention;
[0056] Fig.11 It is a schematic diagram of the assembly of the adjustment component and the housing in one embodiment of the present invention;
[0057] Fig.12 is an exploded diagram of a moving target detection device in one embodiment of the present invention;
[0058] Fig.13 is a schematic diagram of the assembly of a lens component and a housing in one embodiment of the present invention;
[0059] Fig.14 is a first cross-sectional view of a moving target detection device according to an embodiment of the present invention;
[0060] Fig.15 It is a schematic diagram of the assembly of a housing, a circuit board and a middle housing in one embodiment of the present invention;
[0061] Fig.16 It is a schematic diagram of the assembly of a circuit board, a middle shell and a battery in one embodiment of the present invention;
[0062] Fig.17 It is a second cross-sectional view of the moving target detection device in one embodiment of the present invention. DETAILED DESCRIPTION
[0063] 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. 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 making creative work are within the scope of protection of the present invention.
[0064] It should be understood that in the description of all embodiments of the present invention, the terms "upper", "lower", "left", "right" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. The terms "first" and "second" are only used for descriptive purposes, 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. The terms "coupled" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral body; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium to form a linkage relationship, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0065] In the embodiments of the present invention, the symbol " / " means that it has two functions at the same time. The symbol "A and / or B" indicates that the combination of the preceding and following objects connected by the symbol includes three situations: "A", "B", and "A and B".
[0066] like Figure 1 FIG. 1 is a schematic diagram of an implementation environment of an embodiment of the present invention. It can be seen that in addition to the moving target detection device 100, the implementation environment also includes devices such as a cloud 400, a gateway 200 and a terminal 300.
[0067] The moving target detection device 100 is used to sense moving targets. It is equipped with a wireless communication module (e.g., an onboard antenna 216) and can communicate with the outside to receive and send data. The wireless communication module can be, for example, at least one of a Bluetooth module and a Zigbee module. The moving target can be understood as a target formed by large movements of organisms such as humans and animals, and can also include targets formed by small movements of these organisms such as heartbeats and breathing.
[0068] The terminal 300 may be, for example, a mobile phone, a tablet computer, a computer, a car computer, a smart home appliance, etc. The terminal 300 may be, for example, a mobile phone, a tablet computer, a computer, a smart home appliance, etc. Figure 1 The terminal 300 can interact with the cloud 400 as shown, and can also interact with the cloud 400 via a WIFI network, or can interact with the gateway 200 using Bluetooth. In a specific example, the terminal 300 can interact with the cloud 400 using a mobile network, communicate with the moving target detection device 100 through point-to-point communication (such as Bluetooth direct connection), and then send various instructions (such as selection instructions) to the moving target detection device 100.
[0069] The gateway 200 may be any device that can communicate with the cloud 400 and the moving target detection device 100, for example, a gateway 200 device dedicated to data interaction and processing, such as a Bluetooth gateway (or Zigbee gateway), etc. In addition, the gateway 200 may be configured with a separate Bluetooth communication module, or may be configured with a Bluetooth communication module (Zigbee communication module) and a WIFI communication module at the same time to form a dual-mode gateway.
[0070] The cloud 400 may be any device or combination of devices that has data storage and data processing capabilities and can interact with the gateway 200, and may specifically be, for example, a server in which the required programs may be deployed.
[0071] Among them, the moving target detection device 100 can access the target network through the network configuration operation to complete the network configuration of the moving target detection device 100. After the network configuration is completed, the moving target detection device 100 can communicate with the gateway 200, the terminal 300, and the cloud 400 through the target network.
[0072] After completing the network configuration, the motion target detection device 100 can report the detection results to the cloud 400 through the gateway 200, such as whether there is a motion target, light intensity, power information, etc. The terminal 300 can obtain these detection results from the cloud 400 and display them to the user.
[0073] In some solutions, the environment may also include a controlled device 500, which may include any device for home, commercial, or industrial use, such as a doorbell, air conditioner, smart curtain, fan, refrigerator, lighting device, wall switch, etc.
[0074] Furthermore, after the motion target detection device 100 reports the detection result to the network, it can further trigger the action of the controlled device 500 defined by the execution scenario associated with it, such as triggering the doorbell to ring when there is a motion target, and triggering the lamp to turn off the light when there is no motion target.
[0075] A typical usage scenario is as follows: the moving target detection device 100 can enter the network configuration mode through local triggering (for example, pressing and holding a button for more than 3 seconds), and then broadcast a Bluetooth network configuration message to the outside, so that the mobile phone can search for the moving target detection device 100, and after establishing a direct connection with the moving target detection device 100, guide the moving target detection device 100 to access the target network established by the Bluetooth gateway.
[0076] The moving target detection device 100 first establishes a communication connection with the Bluetooth gateway 200 through the Bluetooth Low Energy (BLE) protocol, and then uses the Bluetooth gateway to access the home or enterprise router wireless network (Wi-Fi) to achieve seamless connection with the Internet.
[0077] After successful networking, the moving target detection device 100 can report its detection results, including but not limited to whether a moving target is detected, ambient light intensity, and other information, to the cloud 400. These data are not only the basis for executing scene triggers, but also the basis for user remote monitoring and management.
[0078] The user can view the status of the moving target detection device 100 in real time through the application of the terminal 300 (mobile device or PC), or preset a series of execution scenarios according to personal needs and preferences.
[0079] Traditional moving target detection devices 100 mostly use a fixed data reporting mechanism, which is often relatively simple, resulting in it being unable to cope with diverse application scenarios. For example, in some monitoring scenarios that require high real-time performance, fixed low-frequency reporting may miss key events; and in a relatively static environment, high-frequency reporting will cause network congestion and power waste.
[0080] Based on this, an embodiment of the present invention provides a moving target detection device 100, which can flexibly cope with different monitoring environments and requirements by switching reporting strategies.
[0081] like Figure 2 As shown, a module schematic diagram of a moving object detection device 100 provided by an embodiment of the present invention is specifically explained.
[0082] according to Figure 2 It can be seen that the moving target detection device 100 includes at least a detection module 22 and a processing module 215. The former is responsible for sensing the moving target in the current environment, and the latter not only processes the detection result, but also selects the most appropriate reporting strategy according to the received instruction. The difference in reporting strategy is mainly reflected in the change of the total number of reports and the reporting cycle to meet diverse needs.
[0083] Specifically, in the embodiment of the present invention, the moving target detection device 100 can access a network (such as a network formed by a Bluetooth gateway 200) and perform network communication. In a specific example, the moving target detection device 100 may include a network connection module (not shown), and a user can wirelessly connect to the device through a mobile phone or a computer.
[0084] The detection module 22 has a moving target sensing capability and is used to detect moving targets in the current environment. The processing module 215 is electrically connected to the detection module 22 and is used to: obtain the detection result of whether there is a moving target in the environment through the detection module 22, and report the detection result through the network according to the selected reporting strategy; before reporting the detection result, it is also used to obtain a selected instruction; select the reporting strategy according to the selected instruction; different reporting strategies are distinguished by the total number of reports of the detection result and / or the reporting cycle.
[0085] The current environment can be understood as the physical space or place where the moving target detection device 100 is located, including but not limited to indoors, outdoors, public areas or private spaces, etc. Moving targets usually refer to objects moving in the current environment, such as people, animals, etc.
[0086] The detection module 22 needs to have the ability to identify and distinguish these targets. The detection module 22 may use various sensors, such as radar (using reflected waves to detect the position and movement of objects), PIR (detecting heat changes to determine whether objects with different temperatures are moving), etc. to capture and analyze the surrounding dynamic information.
[0087] Exemplarily, the detection module 22 may output raw data, and then the processing module 215 analyzes the raw data to obtain a detection result of whether there is a moving target. For example, if the detection module 22 is an analog PIR, its output may be an analog voltage, and the detection module 22 determines whether there is a moving target in the current environment based on the output voltage and the preset voltage threshold.
[0088] Exemplarily, the detection module 22 may also output a clear result indicating whether there is a moving target in the environment. For example, when the detection module 22 is a digital PIR, its output may be a binary level signal (high level or low level to indicate the presence or absence of the moving target). After receiving the result, the processing module 215 does not need to further process it and can use it directly.
[0089] The processing module 215 transmits the obtained detection results (such as whether there is a moving target, the location of the target, etc.) to a designated receiving end through the network. This may include the user's mobile phone, computer or cloud server.
[0090] One of the key points of this embodiment is that before reporting the detection result, the processing module 215 needs to obtain the selected instruction to determine the operation of the reporting strategy to be executed next, wherein the reporting strategy can be understood as the rules for when, how and with what reporting cycle to report the detection result. The selected instruction can be external or internal, and its purpose is to instruct the processing module 215 to switch to the expected reporting strategy to ensure that the behavior of reporting the detection result is consistent with the user's expectations or specific business logic.
[0091] Reporting can be real-time or periodic, depending on the selected reporting strategy. For example, reporting is performed immediately when a moving target is detected, or a status update is sent at regular intervals. Once the detection results are reported, the user may receive a push notification or an alert so that he or she can understand the environmental status in a timely manner and respond accordingly. In this embodiment, different reporting strategies are distinguished by the total number of reports and / or the reporting cycle. For example, a threshold may be set to determine the number of times the detection results are reported within a certain period of time. For example, if a target is detected multiple times in a certain area within a short period of time, the report may only be made after the first time or a specific number of times. For another example, a time interval can be set, and the detection results will be reported regularly within this time interval. For example, reporting once every 5 minutes, regardless of whether the target is detected.
[0092] In short, before reporting the detection result, it is necessary to obtain instructions to decide how to report. This design enables the moving object detection device 100 to flexibly adjust the reporting strategy according to environmental changes and user needs, thereby improving intelligence and responsiveness.
[0093] In other words, the motion target detection device 100 provided by the present invention has the flexibility to select reporting strategies, and can automatically adjust the reporting strategies according to external instructions or detection results, including the total number of reports and / or cycles, so as to achieve the established monitoring goals in various application scenarios, so that the device can adapt to the needs of different application scenarios, thereby improving monitoring efficiency and the rationality of resource utilization.
[0094] In some embodiments, the selected instruction originates from the outside, for example, from the network described in the above embodiment, and can be issued by the user through the terminal 300. Specifically: In this embodiment, the processing module 215 obtains the selected instruction, specifically for: obtaining the selected instruction from the outside based on a wireless communication module; the instruction specifies one selected from at least two reporting strategies.
[0095] The wireless communication module can be understood as a hardware component for realizing wireless communication function, which can transmit and communicate data with external devices or networks through radio waves, infrared rays, microwaves, Bluetooth, Wi-Fi, cellular networks, etc.
[0096] In this embodiment, the wireless communication module acts as a bridge between an external instruction source (e.g., terminal 300) and processing module 215. The main function of the wireless communication module is to send and receive data via wireless signals. In the moving target detection device 100, it can receive instructions from external devices (e.g., smart phones, computers, cloud servers, etc.) and pass these information to the processing module 215 of the device.
[0097] Wireless communication modules usually support one or more communication protocols, such as Wi-Fi, Bluetooth, ZigBee, LoRa, etc. These protocols determine how the module communicates with other devices. According to the specific application scenario, choosing the right protocol can optimize the speed, distance, power consumption and other performance of data transmission.
[0098] In this example, the present embodiment uses a battery 5 (such as a CR2032 button battery) to power the device, and uses a low-power Bluetooth protocol for data transmission to reduce energy consumption and increase battery life.
[0099] In this embodiment, the processing module 215 reports the detection results through the network according to the selected reporting strategy, and is specifically used for: when the selected reporting strategy is the first strategy among multiple reporting strategies, reporting the detection results using multiple reporting methods; and when the selected reporting strategy is the second strategy among multiple reporting strategies, reporting the detection results using a single reporting method.
[0100] Furthermore, in this embodiment, the total number of reports of the detection results is different between different reporting strategies. The different total number of reports can be understood as the total number of reports of the same detection result or the total number of reports of different detection results.
[0101] It can be seen that in this embodiment, there are at least two optional reporting strategies, namely the first strategy (multiple reporting method) and the second strategy (single reporting method), and these two strategies are selected through the selection instruction.
[0102] Under the "first strategy", the device 100 will use multiple reporting methods to report the detection results. When the first strategy is selected, the processing module 215 will report the detected detection results multiple times. This means that after obtaining the detection results, the processing module 215 will continuously report the detection results to the specified network or server at the set time interval or number of times. The first strategy can be used for usage scenarios that require real-time monitoring. For example, in security monitoring, if a potential intruder or suspicious activity is detected, the device 100 needs to report data frequently so that corresponding measures can be taken in time. This strategy ensures that the user can continuously obtain dynamic information of the target and reduce the risk of information lag or omission.
[0103] Under the "second strategy", the device 100 will use a single reporting method to report the detection result. The second strategy is suitable for scenarios where the reporting frequency is not high or for saving resources. For example, in some energy-saving scenarios, reporting only once when a moving target is first detected can save bandwidth and power resources and avoid redundant repeated reporting. This method is suitable for one-time recording of certain specific events instead of continuous monitoring.
[0104] Furthermore, this embodiment distinguishes different reporting strategies by the total number of reports, and the user selects an appropriate strategy according to the scenario needs to strike a balance between monitoring accuracy and resource consumption. The first strategy is suitable for scenarios that require frequent updates and real-time monitoring, and ensures that the information is timely and accurate through multiple reports. The second strategy is suitable for resource-sensitive scenarios, and reduces unnecessary data transmission and resource consumption through a single report. This design makes the device flexible, and the reporting strategy can be adjusted according to actual needs to achieve more efficient operation.
[0105] Furthermore, the processing module 215 is further configured to: under the first strategy, report the detection results at even intervals according to the set first interval (that is, the interval time between reporting two adjacent detection results is always the same, which is the first interval) to achieve the multiple reporting method; and, under the second strategy, after obtaining the corresponding detection result, enter the retention phase after reporting the detection result for the first time, and continue the retention phase during the same detection result, and exit the retention phase when the detection result changes.
[0106] The processing module 215 is configured to stop reporting during the holding phase and report once immediately or within a specified time after exiting the holding phase.
[0107] It can be seen that this embodiment further implements the multiple reporting method under the first strategy by reporting at equal intervals, and implements the single reporting method under the second strategy by introducing a holding phase.
[0108] Specifically, in this embodiment, under the first strategy, the multiple reporting methods of the detection results adopt "reporting the detection results at equal intervals according to the set first interval". This means that the reporting time interval is fixed and remains consistent between each report. The equal time interval avoids excessive aggregation or sparseness of data due to irregular reporting intervals, thereby improving real-time and data uniformity. This is particularly important in scenarios that require continuous monitoring, and can provide users with more reliable and consistent monitoring data. For example, if the first interval is set to 10 seconds, then after a moving target is detected, the processing module 215 will report the results every 10 seconds.
[0109] Under the second strategy, the same test result is reported only once, that is, after obtaining the corresponding test result, the test result is reported once immediately or delayed, and then enters the holding stage to ensure that the same test result is no longer reported until a different test result is detected.
[0110] In a specific usage scenario, the moving target detection device 100 is powered by a battery 5 (e.g., a CR2032 button battery) so that the device 100 as a whole can be wirelessly installed. When using battery 5 for power supply, power consumption management will become a key consideration when selecting and executing the reporting strategy. The capacity of battery 5 is usually small, so more caution is needed in terms of energy consumption. In this case, the user can choose the second strategy of single reporting. Under the second strategy, the device 100 only reports once after obtaining the detection result, and then will not report again if the detection result remains unchanged. This strategy is extremely energy-saving and very suitable for the device 100 powered by battery 5. By reducing the frequency of data reporting, the device 100 can significantly extend the service life of the battery 5, thereby reducing maintenance costs and the need for frequent replacement of the battery 5.
[0111] Furthermore, this embodiment further refines the first strategy and the second strategy to improve the accuracy and control of the reporting behavior of the moving target detection device 100. This refinement not only optimizes resource usage (such as power and communication resources), but also improves the adaptability of the device 100 in different scenarios, so that the device 100 can better balance monitoring accuracy and resource consumption in actual applications to meet the diverse needs of users.
[0112] Furthermore, the first strategy and the second strategy in the above-mentioned embodiment are only for the case where a moving target is detected, that is, the processing module 215 is specifically used to: under the first strategy, report the detection result of the detected moving target at an even interval according to the set first interval. Furthermore, under the first strategy, the device will report the detection result regularly and evenly according to the pre-set time interval only when a moving target is detected. Under the second strategy, after obtaining the detection result of the detected moving target, after reporting the detection result of the moving target for the first time, enter the retention phase of the moving target, and continue the retention phase while the moving target continues to exist, and exit the retention phase when the moving target does not exist. The processing module 215 is set to stop reporting the detection result of the moving target in the retention phase, and report the detection result of the non-existence of the moving target once immediately after exiting the retention phase or within a specified time.
[0113] It can be seen that the first strategy and the second strategy are only strategy changes for the case where a moving target is detected, that is, after a moving target is detected, the user can choose which strategy to use to report the data. This means that when no moving target is detected, the device 100 may not take any reporting measures, that is, no detection result report of no moving target is performed. It also means that when no moving target is detected, the device 100 may only report the results a limited number of times, for example, when no moving target is detected, only 2 reports are made at intervals, and if no moving target is detected thereafter, no more reports are made.
[0114] In particular, under the second strategy, the detection result is reported once only immediately or with delay when the moving target is detected for the first time; if the same detection result continues in the subsequent period, it will no longer be reported until a different detection result is detected and then reported again immediately or with delay. When the moving target is detected for the first time, the processing module 215 will report the detection result once immediately or later. If the subsequent detection results show that the moving target is still there (i.e., the detection result has not changed), it will not be reported again to avoid the transmission of duplicate information. Only when the detection result changes (such as the moving target leaves), the new detection result will be reported again.
[0115] Furthermore, in this embodiment, after detecting a moving target, the user is allowed to flexibly choose whether to adopt the first strategy (multiple reports) or the second strategy (single report) according to specific application scenarios and needs. This limitation significantly reduces unnecessary communications and optimizes the resource usage of the device 100, especially when powered by the battery 5. This design improves the effectiveness of the device, ensures that the reported data is valuable in all cases, and also provides greater flexibility in strategy selection, so that the device can better adapt to diverse application scenarios.
[0116] Furthermore, if the first strategy is selected, the selected instruction carries interval time data, which is selected and determined by the user on the smart terminal 300 to adjust the first interval to vary within a preset range.
[0117] Specifically, when the user switches to the first strategy, the interval time data is required to implement the execution of the first strategy, and the processing module 215 will determine the interval between two adjacent detection results reported under the first strategy according to the interval time. The interval time data is determined based on the user's selection operation of the target interval time among multiple interval times on an intelligent terminal 300 that has established communication with the moving target detection device 100, so that the first interval can be changed within the set interval range; the processing module 215 is also used to parse the interval time from the selected instruction after receiving the selected instruction to determine the first interval. The interval time data can be loaded in the same selected instruction with the data for switching the reporting strategy and sent to the processing module 215, or it can be loaded in different selected instructions with the data for switching the reporting strategy and sent to the processing module 215. For example, the user first operates the interrupt to switch to the first strategy, and then operates the terminal 300 to configure specific interval time data for the first strategy.
[0118] Furthermore, this embodiment allows the user to select a first policy from multiple reporting policies, and also allows the user to further refine and adjust the reporting interval of the first policy when selecting the first policy.
[0119] The following uses a specific scenario as an example to further illustrate the solution of this embodiment:
[0120] In this scenario, the user uses a mobile phone to set various configurations of the motion target detection device 100, such as reporting strategy selection, interval time setting, etc. The mobile phone is configured with an application (APP) corresponding to the motion target detection device 100. The application provides an interactive interface for configuring the motion target detection device 100. The interactive interface is provided with an option for the second strategy. When the option is selected, the processing module 215 receives a selection instruction to switch to the second strategy to switch to the second strategy. When the option is not selected, the processing module 215 switches to the first strategy. In some scenarios, the user does not need to obtain real-time detection results, and can switch to the second strategy at this time. For example, when the motion target detection device 100 is installed in the use environment of a conference room, the user can choose the second strategy. At this time, if someone enters the conference room for a meeting, the motion target detection device 100 will report a detection result of someone moving once after detecting that someone is moving. Then, if the person continues to be in the conference room, the motion target detection device 100 will enter the holding stage and no longer report the detection result of someone moving, until the person leaves the conference room after the meeting is over, and the motion target detection device 100 will report the detection result of no one moving again. In some scenarios, the user needs to obtain real-time detection results, and can switch to the first strategy. For example, when the motion target detection device 100 is installed at the gate to monitor whether there is someone at the gate, the user can choose the first strategy and set a suitable interval time (for example, 30 seconds). The motion target detection device 100 will periodically report the detection results at intervals of 30 seconds, so that the user can understand the environmental status of the gate in a timely manner.
[0121] In addition, in this embodiment, the first interval is only allowed to be adjusted within a preset range, which is an optimized and reasonable range, such as between 10 seconds and 50 seconds (the step value of the adjustment is 10 seconds). The limitation of the preset range can simplify the user's decision-making process when selecting the reporting interval. The user does not need to choose from infinite options, but can make a decision within an optimized and reasonable range. In addition, by limiting the preset range, it can be ensured that the reporting interval time is reasonable enough to ensure the continuity and practicality of the monitoring data. Extreme interval time (whether too long or too short) may affect the validity of the data. For example, an interval that is too long may lead to a lack of correlation between data points and fail to reflect the true dynamic situation.
[0122] In some embodiments, the selected instruction originates from the outside, for example, from the network described in the above embodiment, and can be issued by the user through the terminal 300. Specifically: the processing module 215 receives the selected instruction carrying the interval time data through the wireless communication module, and the data is used to determine the reporting period. The wireless communication module here can be understood with reference to the description of the above embodiment, and will not be described here.
[0123] In this embodiment, the reporting period varies within a preset range according to the interval time data selected by the user, forming a plurality of reporting strategies with different reporting periods.
[0124] It can be seen that this embodiment introduces a method of distinguishing reporting strategies based on different reporting cycles. In this embodiment, different reporting strategies have different reporting cycles, and the reporting cycle is adjusted by selecting the interval time data carried in the instruction.
[0125] The processing module 215 uses the received interval time data to determine a reporting period, that is, the frequency at which the device 100 reports the detection results to the outside.
[0126] Specifically, the processing module 215 obtains the selected instruction, which is specifically used to: obtain the selected instruction from the outside based on a wireless communication module; the selected instruction is generated after the user selects one from at least two reporting strategies.
[0127] The selected instruction carries interval time data, which is used to determine the reporting period corresponding to the selected reporting strategy; the interval time data is determined based on the user's selection operation of a target interval time among multiple interval times on an intelligent terminal 300 that has established communication with the motion target detection device 100, so that the target interval time can be selected within the set interval range to form a plurality of optional reporting strategies with different reporting periods.
[0128] The processing module 215 is further configured to: after obtaining the selected instruction, parse out the interval time therefrom and select a reporting strategy accordingly.
[0129] The processing module 215 reports the detection result through the network according to the selected reporting strategy, and is specifically used to: report the detection result evenly and periodically according to the interval time corresponding to the selected reporting strategy.
[0130] Furthermore, in this embodiment, the user can switch to different reporting strategies by setting different reporting cycles. The length of this reporting cycle is determined by the interval time selected by the user, ensuring that flexible reporting can be performed according to the user's needs. Since the user can select different reporting cycles based on the interval time data, multiple reporting strategies with different reporting cycles can be formed. This method allows the user to flexibly select strategies suitable for specific application scenarios, for example: Short cycle strategy: suitable for scenarios that require real-time monitoring, such as security monitoring. Long cycle strategy: suitable for scenarios with low power consumption requirements, such as scenarios powered by battery 5.
[0131] In addition, in the present embodiment, the first interval is only allowed to be adjusted within a preset range, which is an optimized and reasonable range, for example, between 10 seconds and 50 seconds (with a step value of 10 seconds). The limitation of the preset range can simplify the decision-making process of the user when selecting the reporting interval. The user does not need to choose from infinite options, but can make a decision within an optimized and reasonable range. In addition, by limiting the preset range, it can be ensured that the reporting interval time is reasonable enough to ensure the continuity and practicality of the monitoring data. Extreme interval times (whether too long or too short) may affect the validity of the data. For example, an interval that is too long may lead to a lack of correlation between data points and fail to reflect the true dynamic situation.
[0132] Further, the processing module 215 is specifically used to, under the first strategy, use T1 time as the first interval to report the detection result of the moving target. Under the second strategy, use T2 time as the first interval to report the detection result of the moving target. Among them, T1 and T2 are different to realize the difference between the first reporting period of the first strategy and the second reporting period of the second strategy, and to form two reporting strategies with different reporting periods. The user can select the first interval as T1 or T2 through the terminal 300, and load it into the selected instruction and send it to the processing module 215, so that the processing module 215 can determine which reporting strategy to adjust to accordingly.
[0133] It can be seen that the first strategy and the second strategy are only strategy changes for the case where a moving target is detected, that is, after a moving target is detected, the user can choose which strategy to use to report data by adjusting the interval time. This means that when no moving target is detected, the device 100 may not take any reporting measures, that is, no detection result report is performed when no moving target is detected. It also means that when no moving target is detected, the device 100 may only report the results a limited number of times, for example, when no moving target is detected, only 2 reports are made at intervals, and if no moving target is detected thereafter, no more reports are made.
[0134] Of course, in a more specific embodiment, there may be more switchable reporting strategies, for example, between 10 seconds and 50 seconds, and the optional interval times are 10 seconds, 20 seconds, 30 seconds, 40 seconds and 50 seconds. When the user selects 10 seconds, the processing module 215 switches to the first strategy accordingly, and periodically reports the detection results of human movement at intervals of 10 seconds; when the user selects 20 seconds, the processing module 215 switches to the second strategy, and periodically reports the detection results of human movement at intervals of 20 seconds, and so on. When the user selects 50 seconds, the processing module 215 switches to the fifth strategy, and periodically reports the detection results of human movement at intervals of 50 seconds.
[0135] In some embodiments, the processing module 215 determines the selected instruction according to the detection result to automatically adjust the reporting strategy based on the detection result: when a moving target is detected, the first strategy is selected to report the detection result according to the set interval time period; when no moving target is detected, the second strategy is selected, and the reporting period of the detection result increases with the number of reports (i.e., the reporting period is increased incrementally).
[0136] It can be seen that, unlike the external selected instruction received by the wireless communication module in the above-mentioned embodiment, the selected instruction in this embodiment is generated internally by the device 100. Specifically, in this embodiment, the reporting strategy used is different according to the different detection results. The processing module 215 obtains the selected instruction based on the detection result, and the reporting strategy selected by the selected instruction is different according to the different detection results; the first strategy is selected according to the detection result of the moving target in the environment, and under the first strategy, the result of detecting the moving target is evenly reported periodically according to the interval time corresponding to the selected reporting strategy. And, the second strategy is selected according to the detection result of no moving target in the environment, and under the second strategy, the reporting period of the detection result is set to increase with the increase of the number of reports, so as to report the detection result without moving target in the form of increasing reporting period. It can be seen that in this embodiment, the difference between the reporting strategies is mainly reflected in the different reporting periods of the detection results.
[0137] Furthermore, in this embodiment, since the selected instruction is generated internally by the device 100, the device 100 can independently determine when it is necessary to switch the reporting strategy. This automation reduces the user's operating burden, making the device 100 more intelligent and easy to use. The user does not need to frequently adjust the settings of the device 100, and the device 100 can automatically optimize the reporting strategy according to environmental changes. When a moving target is detected, the device 100 immediately switches to the first strategy and reports the detection results at a higher frequency. This design ensures that the device 100 can respond quickly and provide continuous monitoring data at important moments. In the case where no moving target is detected, the device will automatically extend the reporting period to avoid unnecessary reporting. This flexible adjustment improves the adaptability of the device 100 in different scenarios.
[0138] It is worth mentioning that in the present embodiment, by dynamically adjusting the reporting cycle, especially by gradually extending the reporting cycle when no moving target is detected, the device 100 can significantly save power and communication resources. This is particularly important for devices that rely on battery 5 for power supply, and helps to extend the battery life of the device. Wherein the reporting cycle of the detection result increases with the increase in the number of reports, and can be evenly increased, for example, each time an increase of 1 minute (the first reporting cycle is 2 minutes, the second reporting cycle is 3 minutes, the third reporting cycle is 4 minutes, and so on), or can be incrementally increased, for example, the first reporting cycle is 2 minutes, the second reporting cycle is 3 minutes, the third reporting cycle is 45 minutes, or the third reporting cycle is infinitely long so that only two detection results are reported.
[0139] Furthermore, the processing module 215 is also used to allow customization of at least one reporting opportunity based on the second strategy that the reporting period increases with the number of reports when no moving target is detected; and the reporting period of the reporting opportunity can be customized within an adjustment range. When there are multiple customized reporting opportunities, the adjustment range of the reporting period corresponding to each opportunity can be different.
[0140] It should be noted that the reporting period of the customized reporting opportunity may be different from any reporting period in the second strategy, or it may be the same as a reporting period in the second strategy. When they are the same, the processing module 215 will report two detection results at the corresponding time point. These two detection results respectively correspond to the reporting period corresponding to the second strategy and the reporting period of the customized reporting opportunity.
[0141] Among them, the unmanned motion timeout event (i.e., the unmanned motion reporting event triggered by no human movement after the corresponding reporting period) triggered by each reporting period (i.e., the initial reporting period and the reporting period after each increment) in the second strategy and the unmanned motion event triggered by the custom reporting opportunity (i.e., the unmanned motion reporting event triggered by no human movement after the reporting period corresponding to the custom reporting opportunity) are both included in the trigger conditions corresponding to the subsequent execution scenarios, so that the user can define corresponding execution scenarios for the two respectively, so that when the reporting period of the custom reporting opportunity is the same as a reporting period in the second strategy, the processing module 215 can trigger different execution scenarios by reporting the detection results at the corresponding time point.
[0142] Exemplarily, there is one customizable reporting opportunity, and the adjustment range of the reporting period of the reporting opportunity is [0,60] minutes (the default is 10 minutes). Based on the adjustment of the reporting period of the custom reporting opportunity, the reporting opportunity that the user wants to add can be inserted into each period of the second strategy at will. For example, when no moving target is detected, the first reporting period defined by the second strategy is 2 minutes, and the second reporting period is 3 minutes. The user defines: the reporting opportunity is to report unmanned movement after a timeout of 1 minute (the reporting period of the first custom reporting opportunity). Then, in an environment where no one moves continuously, the processing module 215 will report an unmanned movement timeout event once in 1 minute, 2 minutes, and 5 minutes. Among them, the 1-minute event is triggered based on the reporting period of the custom reporting opportunity, and the 2-minute and 5-minute events are triggered based on the incremental reporting period of the second strategy. In addition, the custom reporting opportunity + the incremental reporting period of the second strategy can realize more fine-grained reporting of unmanned movement timeout events.
[0143] Exemplarily, there are three customizable reporting opportunities, and the adjustment range of the reporting period of the reporting opportunity is [0,60] minutes (the default is 10 minutes). For example, when no moving target is detected, the first reporting period defined by the second strategy is 2 minutes, and the second reporting period is 3 minutes. The user defines respectively: the first reporting opportunity is to report no movement when the timeout is 7 minutes (the reporting period of the first custom reporting opportunity), the second reporting opportunity is not to report no movement when the timeout is 9 minutes (the reporting period of the second custom reporting opportunity), and the third reporting opportunity is not to report no movement when the timeout is 11 minutes (the reporting period of the third custom reporting opportunity). Then, in an environment where no one moves continuously, the processing module 215 will report a no movement timeout event once at 2 minutes, 5 minutes, 7 minutes, 9 minutes, and 11 minutes respectively. Among them, the events of 2 minutes and 5 minutes are triggered based on the incremental reporting period of the second strategy, and the events of 7 minutes, 9 minutes, and 11 minutes are triggered based on the reporting period of each custom reporting opportunity. Therefore, it is possible to first report the unmanned movement timeout event with an increasing period based on the second strategy, and then report the unmanned movement timeout event with a fixed period of 2 minutes based on multiple customized reporting opportunities.
[0144] Furthermore, in a specific example, the selected instruction may be the detection result itself, that is, the detection result itself is directly used as a manifestation of the selected instruction, and then, when a moving target is detected, the detection result directly instructs the device 100 to select the first strategy to report the detection result at a preset interval. When no moving target is detected, the detection result directly instructs the device 100 to select the second strategy to gradually extend the reporting period.
[0145] This flexible "selected instruction" design based on the detection results enables the device 100 to adaptively adjust the reporting strategy and make an immediate response based on the current detection results.
[0146] In some embodiments, the processing module 215 determines the selected instruction according to the detection result to automatically adjust the reporting strategy based on the detection result: when a moving target is detected, the detection result is reported in a single reporting manner; when no moving target is detected, the detection result is reported at least twice in an incremental reporting cycle to reflect the continuous state of no moving target.
[0147] It can be seen that, similar to the above-mentioned embodiment, in this embodiment, the reporting strategy used is different depending on the detection result. Specifically, the processing module 215 obtains the selected instruction based on the detection result; the reporting strategy selected by the selected instruction is different according to the detection result; the first strategy is selected according to the detection result of a moving target in the environment. Different from the above-mentioned embodiment, in this embodiment, under the first strategy, the detection result is only reported once immediately or delayed when the moving target is first detected; if the same detection result continues subsequently, it will no longer be reported until a different detection result is detected and then reported again immediately or delayed, so as to achieve a single report of the detection result of a moving target. And, according to the detection result of no moving target in the environment, a second strategy is selected. Under the second strategy, the reporting period of the detection result is set to increase with the number of reports, so as to report the detection result of no moving target in an increasing reporting period. In this case, when the duration of the state of no moving target is sufficient (for example, the duration of the state of no moving target is T, and the initial value of the reporting period is t1, which is t2 after one increment, then T needs to be greater than or equal to t1+t2), the reporting period is incremented at least twice to realize at least two reports of the detection result of no moving target. For example, if the state of no moving target lasts for T=6 minutes, it can be reported once at t1 (2 minutes) and t2 (5 minutes), for a total of two times. Furthermore, in this embodiment, the difference between the reporting strategies is mainly reflected in the different total number of times the detection results are reported.
[0148] Furthermore, in this embodiment, when the processing module 215 detects a moving target, the detection result will be reported in a single reporting manner. This means that the device 100 only reports the detection result once when the moving target is detected for the first time, and will not report repeatedly even if the same detection result is detected later unless the detection result changes. Unlike the single report when a moving target is detected, when no moving target is detected, the device 100 will report at least twice in an increasing reporting cycle. The design purpose of this strategy is to gradually reduce the frequency of repeated reports of no moving targets.
[0149] In some application scenarios that do not require continuous monitoring, a single report can meet the needs. For example, in a meeting that lasts for several hours, after detecting someone entering a meeting area, the first report can attract attention, and there is no need to continuously report the same detection results during the meeting.
[0150] In addition, when no moving targets are detected, the strategy of increasing the reporting cycle will still be adopted to ensure that there is still a reasonable reporting frequency in the absence of moving targets, reflecting the continuous monitoring status.
[0151] Furthermore, an embodiment of the present invention provides a specific implementation method of the "incremental reporting cycle method" involved in the above-mentioned embodiment. Specifically, the processing module 215 reports the detection result by means of an incremental reporting cycle, which is specifically used to: after detecting the detection result of no moving target, report the detection result of no moving target once at an interval t1, t1 is determined according to the initial value of the second interval, and report the second detection result of no moving target according to the second interval (t2) after adding a specified value to the initial value, so as to form a detection result reporting method of an incremental reporting cycle (i.e., the second interval is increased from the initial value t1 to t2) when no moving target is detected.
[0152] Exemplarily, the initial value t1 of the second interval is set to 2 minutes, and the specified value δt is set to 1 minute. Then, after the detection result of no moving target is detected, the first detection result of no moving target is reported at an interval of 2 minutes, and the second detection result of no moving target is reported again after an interval of t2 (t1+δt=3 minutes). That is, a detection result is reported at the second minute after the detection result of no moving target is detected. If the detection result of no moving target is still not identified after 5 minutes, the second detection result is reported at the fifth minute.
[0153] Of course, if the detection result of the moving target is still not identified, the reporting period can be increased to report multiple detection results. For example, the second interval is incremented to t2+δt=3+1=4 minutes, then the third report of the detection result of no moving target needs to be based on the 5th minute and the interval is 4 minutes, that is, the 9th minute, and so on. Of course, if the detection result of the moving target is still not identified, it can be stopped to save power.
[0154] Similar to the above embodiment, in this embodiment, the processing module 215 is also used to, when no moving target is detected, allow customization of at least one reporting opportunity based on the second strategy that the reporting period increases with the number of reports; and the reporting period of the reporting opportunity can be customized within an adjustment range. When there are multiple customized reporting opportunities, the adjustment range of the reporting period corresponding to each opportunity can be different.
[0155] It should be noted that the reporting period of the customized reporting opportunity may be different from any reporting period in the second strategy, or it may be the same as a reporting period in the second strategy. When they are the same, the processing module 215 will report two detection results at the corresponding time point. These two detection results respectively correspond to the reporting period corresponding to the second strategy and the reporting period of the customized reporting opportunity.
[0156] Among them, the unmanned motion timeout event (i.e., the unmanned motion reporting event triggered by no human movement after the corresponding reporting period) triggered by each reporting period (i.e., the initial reporting period and the reporting period after each increment) in the second strategy and the unmanned motion event triggered by the custom reporting opportunity (i.e., the unmanned motion reporting event triggered by no human movement after the reporting period corresponding to the custom reporting opportunity) are both included in the trigger conditions corresponding to the subsequent execution scenarios, so that the user can define corresponding execution scenarios for the two respectively, so that when the reporting period of the custom reporting opportunity is the same as a reporting period in the second strategy, the processing module 215 can trigger different execution scenarios by reporting the detection results at the corresponding time point.
[0157] In some embodiments, the upper limit value of the preset range corresponding to the first interval is less than the initial value of the second interval. When the processing module 215 adopts the first strategy to report the detection result of a moving target, the energy consumption of the device in the second reporting state where no moving target is detected is significantly lower than the energy consumption in the first reporting state where a moving target is detected (for example, the upper limit value of the first interval is less than the initial value of the second interval by at least 10 seconds, for example, the upper limit value of the first interval is 50 seconds, and the initial value of the second interval is 2 minutes).
[0158] In some embodiments, the processing module 215 reports the detection result, specifically for: sending a response event corresponding to the detection result to the gateway 200 and / or the cloud 400, so that: the gateway 200 and / or the cloud 400 can determine a matching execution scenario in the stored execution scenarios, and execute the result defined by the execution scenario; the execution scenarios stored in the gateway 200 and / or the cloud 400 are defined by the user at the terminal 300, and each execution scenario defines a mapping relationship between at least one trigger condition and at least one trigger result, and the trigger conditions include a moving target, a non-moving target, and a matching execution scenario. The trigger result includes at least one of the following: a moving target, a timeout period without a moving target (the timeout period can be pre-defined by the user), a moving target and the ambient light illumination value is higher than a specified value (the specified value can be pre-defined by the user), a moving target and the ambient light illumination value is lower than a specified value (the specified value can be pre-defined by the user), a moving target and the ambient light illumination value is dark / bright / suitable (for details, see the description of the embodiment of the light sensor module 222 later), and the trigger result includes at least one executable function of the controlled device 500 connected to the network where the moving target detection device 100 is located.
[0159] Furthermore, in the above embodiment, the user is allowed to customize the execution scene, and the detection result of the moving target detection device 100 can be used with greater freedom and flexibility. Furthermore, the user can also perform logical combinations such as AND, OR, and NOT on multiple trigger conditions on the terminal 300 to customize more abundant execution scenes, so that the functions of the controlled device 500 that can be triggered by the moving target detection device 100 are more abundant and diverse.
[0160] In some embodiments, Figure 3 As shown, the detection module 22 includes a PIR sensor 223 for detecting the movement of a person (moving target); the processing module 215 includes a single-chip microcomputer 2151, which supplies power to the PIR sensor 223 through a step-down circuit 218, and controls the PIR sensor 223 to be in different power supply states before and after network distribution.
[0161] Exemplarily, the moving target detection device 100 is powered by a battery 5 (e.g., a CR2032 button battery), and the processing module 215 is configured to form a pre-use stage when the network configuration is not successful, and to form a normal use stage after the network configuration is successful. Furthermore, the processing module 215 is configured to control the PIR sensor 223 to be in different power supply states during the pre-use stage and the normal use stage. Further, the processing module 215 is configured to cut off the power supply of the PIR sensor 223 during the pre-use stage, and to connect the power supply of the PIR sensor 223 during the normal use stage.
[0162] In specific examples, such as Figure 3As shown, the PIR sensor 223 uses a four-element PIR sensor 223 to ensure that the detection accuracy and range in two vertical directions are consistent. For example, BS312 of Senba Sensing Technology Co., Ltd. is used. BS312 is a pyroelectric infrared sensor that integrates a digital intelligent control circuit and a human body detection sensitive element in an electromagnetic shielding cover. The human body movement signal sensed by the human body detection sensitive element is coupled to the digital intelligent integrated circuit chip through a very high impedance differential input circuit. The digital intelligent integrated circuit converts the signal into an ADC digital signal, and all signal processing is completed on the chip.
[0163] The processing module 215 uses a BLE SOC--TLSR8250ET32, which communicates with the outside world via Bluetooth. Figure 3 As shown, TLSR8250 is connected to the PIR sensor 223 via an interrupt port, so as to trigger the entry of the corresponding terminal 300 program when the detection result changes, and further obtain the detection result.
[0164] The step-down circuit 218 includes an LDO power supply 2181, and the battery 5 provides power to the PIR sensor 223 via the LDO power supply 2181. The LDO (Low Dropout Regulator) power supply can be understood as a linear regulator, which is used to provide a power supply solution for a stable output voltage when the input voltage and the output voltage are not much different (i.e., low voltage difference). In the embodiment, the LDO power supply 2181 is selected as the power supply solution for the PIR sensor 223, mainly considering that the PIR sensor 223 usually has low power consumption and high requirements for power supply stability, and the LDO can provide a very clean and stable output voltage, even when transmitting / receiving signals, it can keep the output voltage of the PIR sensor 223 constant, which is very suitable for devices such as the PIR sensor 223 that are sensitive to power quality to prevent interference and misjudgment.
[0165] In a further example, the LDO power supply 2181 steps down the 3V power supply output by the battery 5 to 2.5V to power the PIR sensor 223. The LDO power supply 2181 has an enable pin CE. The processing module 215 enables / disables the enable pin CE of the LDO power supply 2181 through the PIR ON / OFF pin to control the power supply and power failure of the PIR sensor 223. Then, the processing module 215 can cut off the power supply of the PIR sensor 223 when appropriate to reduce energy consumption.
[0166] When discussing the existing technical practices of network distribution operations, we noticed a common phenomenon: traditionally, devices mostly rely on power-off / power-on operations or first power-on activation to enter the network distribution mode. This mechanism leads to a problem - in the process of the product leaving the factory and reaching the hands of the user, the battery 5 needs to be used with an insulating sheet, or the installation of the battery 5 needs to be delayed, because if it is installed or connected in advance, the product will enter the network distribution mode, and the continuous broadcasting in the network distribution mode will cause rapid loss of power. In this way, the separate packaging of the battery 5 and the finished product not only increases the complexity of logistics, but also affects the simplicity of the product packaging. In view of this background, especially for the moving target detection device using a battery as an energy source, the present invention introduces a method for triggering the device 100 to enter the network distribution mode in several embodiments, aiming to enable the product to be equipped with a battery 5 without worrying about power consumption when leaving the factory, while ensuring that the user can easily and quickly start the network distribution process after unpacking, and successfully complete the network configuration of the device. This innovative method fundamentally optimizes the initial configuration experience of the battery 5-driven device, which not only ensures energy efficiency, but also simplifies the user's operation process.
[0167] Specifically, the moving target detection device 100 has a low power consumption state, in which only some functions of the processing module 215 are activated, and other circuits are powered off (for example, the PIR is powered off), so that the device as a whole is in an extremely low power consumption state (for example, power consumption less than 30uA, such as 0.5uA). The processing module 215 is in this low power consumption state before entering the network distribution mode.
[0168] The network configuration operation includes: a first operation, which includes a power-off / power-on operation, and / or, first power-on activation; wherein the processing module 215 is used to: in the unconfigured network state, enter the network configuration mode in response to the first operation received by the button. In the network configuration mode, the processing module 215 of the moving target detection device 100 sends out a network configuration message (for example, broadcasting the network configuration message outward via Bluetooth), and these network configuration messages carry at least information representing the moving target detection device 100, so that the terminal 300, the gateway 200 and other external devices scan the moving target detection device 100 in the network configuration state based on the network configuration message, and send a connection request to the moving target detection device 100. After the moving target detection device 100 detects the confirmation operation (for example, a short press of the button), the connection request of the external device such as the terminal 300 and the gateway 200 is allowed to realize the Bluetooth connection, and then the terminal 300, the gateway 200 and other external devices guide the moving target detection device 100 to join the target network based on the preset network configuration method.
[0169] If the network configuration mode is entered through the first operation, the processing module 215 maintains the first duration of the network configuration mode (during which the network configuration message is continuously broadcasted externally), and if there is still no effective network configuration connection after the first duration (for example, when broadcasting externally via Bluetooth, no effective Bluetooth connection is achieved by the mobile phone or gateway 200), the network configuration mode is exited (i.e., the broadcast is turned off) and the low power consumption state is entered. The first duration is limited to within 30 minutes, for example, 10 minutes, or 2 minutes.
[0170] Furthermore, the network distribution operation further includes: a second operation. Figure 3 As shown, the moving target detection device 100 also includes a button (which may be composed of a silicone button 15 and an electronic switch 214, for example, and the silicone button 15 is activated after receiving an external actuation, and the action triggers the electronic switch 214), and the button is electrically connected to the processing module 215 for receiving the second operation. The second operation includes at least one pressing and releasing operation applied to the button, and a specific time interval is between the pressing and releasing operations. The second operation is also used to trigger the moving target detection device 100 to enter the network distribution mode and maintain the second duration of the network distribution mode (during this period, the network distribution message is continuously broadcasted to the outside). If there is still no effective network distribution connection after the second duration, the network distribution mode is exited (i.e., the broadcast is turned off) and the low power consumption state is entered. Among them, the second duration may be the same as the first duration (of course, it may also be different). For example, the first duration is 2 minutes, and the second duration is 2 minutes.
[0171] If the network configuration mode is entered through the second operation, the second operation continues to exist during the period when the processing module 215 enters the network configuration mode. After the second operation continues for a third duration after the processing module 215 enters the network configuration mode, the processing module 215 directly exits the network configuration mode (the indicator light 217 stops flashing) and enters a low power consumption state. The third duration is less than the first duration and the second duration, and the third duration is less than 60 seconds. For example, if the specific time is 5 seconds and the third duration is 12 seconds, the user can press and hold the button for 17 seconds to realize the continuous operation of the processing module 215 entering the network configuration mode and then automatically exiting the network configuration mode, so as to quickly and manually terminate the network configuration of the processing device.
[0172] Based on the above embodiment, a possible usage scenario is described as follows:
[0173] The moving target detection device 100 is powered by a button battery 5, and the battery 5 is installed when it leaves the market (no insulating sheet is needed to isolate the battery 5), that is, the moving target detection device 100 will be powered on and enter the network distribution mode after assembly is completed. However, since the network distribution mode can only be maintained for a first duration (for example, 2 minutes) when it is activated by the initial power-on, and since the first duration is limited to within 30 minutes, it will not consume too much power from the battery 5. After that, the device 100 will automatically exit the network distribution mode and enter a low power consumption state.
[0174] Before the user gets the product (when the product is in stock, in transit, etc.), the device 100 is in a low power consumption state to reduce power consumption of the battery 5 .
[0175] After the user gets the product, there are two ways to conveniently trigger the device 100 to enter the network configuration mode. The first is the first operation, that is, removing the battery 5 and then installing the battery 5 to trigger the power-off / power-on operation, thereby triggering the processing module 215 to enter the network configuration mode; the second is the second operation, that is, long pressing the button for 5 seconds. After the device 100 enters the network configuration mode, it will broadcast network configuration messages to the outside through Bluetooth. These network configuration messages carry at least information representing the moving target detection device 100. Then, the user can scan the moving target detection device 100 in the network configuration mode through the terminal 300, and then guide the moving target detection device 100 to join the Bluetooth network where the Bluetooth gateway 200 is located based on the preset network configuration method to complete the network configuration.
[0176] After completing the network configuration, the terminal 300 lists the motion target detection device 100 as an available device 100 through the corresponding APP. Whenever the device 100 needs to be controlled (for example, configuring the first interval, customizing parameters such as unmanned movement time, etc.), you need to short press the button once to trigger the device 100 to enter the Bluetooth broadcast state (and then maintain Bluetooth broadcast for 60 seconds in this state to facilitate the connection of the terminal 300) to achieve Bluetooth direct connection with the terminal 300. In the direct connection state, the terminal 300 can configure the device.
[0177] After completing the network configuration, the motion target detection device 100 continuously detects whether a person is moving through PIR (the detection distance of PIR is about 8m and the detection angle is about 120°), and reports relevant events when a person moves. During the standby process without reporting, the standby power consumption of the motion target detection device 100 is limited to within 20uA, for example, 13.5uA.
[0178] If the user wants to quickly exit the network configuration mode, the user can trigger the device 100 to enter the network configuration mode by pressing the button for 5 seconds and then continue to press the button for 12 seconds (i.e., press and hold for 17 seconds continuously) to trigger the device 100 to directly exit the network configuration mode.
[0179] Furthermore, if Figure 3 As shown, the moving target detection device 100 also includes an indicator light 217, which is electrically connected to the processing module 215; the indicator light 217 is used to emit light to indicate various working states of the device (for example, flashing once when a moving target is detected, flashing continuously (flashing at 200ms intervals) when entering the network distribution mode, flashing twice after power-on, etc.), such as Figure 3 As shown, the on / off of the indicator light 217 is controlled by the LED ON / OFF pin.
[0180] Among them, the processing module 215 is also used to report the remaining battery 5 power to the gateway 200 once every specific time interval, so that the user can check the remaining power in time through the terminal 300 such as a mobile phone, and then when the remaining power is lower than the specified power value (for example, when the voltage is lower than 2.65V when the CR2450 battery 5 is used, the remaining power is about 10%), the terminal 300 will issue a low power reminder (for example, a prompt message "Battery 5 power is low, please replace it in time" pops up) so that the user can know and replace the battery 5 in time. The specific time interval is greater than 1 hour, for example, 12 hours. It should be emphasized that after the remaining power is lower than the specified power value, the indicator light 217 of the moving target detection device 100 will not make any indication, and only the low power reminder will be made through the terminal 300.
[0181] Furthermore, the processing module 215 is also used to switch the indication state of the indicator light 217 according to the switching instruction, wherein the indication state includes a first state and a second state. In the first state, the on and off state of the indicator light 217 is associated with the detection result of human movement; in the second state, the on and off state of the indicator light 217 is isolated from the detection result of human movement. Specifically, in the first state, the indicator light 217 can emit a first light signal (for example, flashing once in a blue light state) according to the detection result of human movement to prompt that someone is moving. In the second state, the light emitting state of the indicator light 217 is not directly associated with the detection result of human movement (it may be indirectly associated). Further, in the second state, when the detection result of human movement is detected, the indicator light 217 will not be caused to emit the first light signal (for example, it will not cause the indicator light 217 to flash).
[0182] In addition, the switching instruction can be obtained by the user after configuring the corresponding function on the terminal 300. For example, the function option of "turn off indicator light 217" is displayed on the terminal 300 interface. The switching instruction generated after the user activates the function option is used to switch the indicator light 217 to the second state. When the function option is not activated, the processing module 215 puts the indicator light 217 in the first state.
[0183] In some embodiments, Figure 3As shown, the motion target detection device 100 also includes a light sensing module 222 for detecting the illuminance value of the current environment. The processing module 215 is electrically connected to the light sensing module 222 for obtaining the illuminance value and periodically reporting the illuminance value so that the user can view it through the terminal 300.
[0184] Furthermore, the terminal 300 displays the illuminance values of different illuminance intervals through fitting lines of various colors, so that the user can intuitively check the intensity of the illuminance value.
[0185] In the specific example, the lighting uses three colors of lines, such as Figure 4 As shown in the figure, the illumination range is divided into three ranges: dark (0-100 lux), suitable (100-300 lux), and bright (above 300 lux). When the illumination value is in the range of 0-100 lux, it is indicated by a blue line, when the illumination value is in the range of 100-300 lux, it is indicated by an orange line, and when the illumination value is above 300 lux, it is indicated by a golden line. Furthermore, users can intuitively distinguish the light and dark states corresponding to the illumination value according to the different line colors.
[0186] Furthermore, the processing module 215 collects the illuminance value once at a predetermined time interval ΔT. During the intermediate transition time when the illuminance value is not collected, the light sensor module 222 can be powered off to save power. When the difference between each collected illuminance value and the previous illuminance value exceeds the threshold ΔLingt, the collected illuminance value is reported, otherwise it is not reported.
[0187] In some embodiments, when the detection module 22 uses PIR, it also has a Fresnel lens 32, which is used to incident infrared light used by PIR, to emit the indicator light emitted by the indicator light 217, and to incident natural light used by the illumination sensor module 222. In other words, this lens 32 plays multiple roles: first, it guides infrared light in the environment to the PIR sensor 223 to promote infrared thermal energy detection; second, it serves as a medium to transmit the signal light of the indicator light 217 to ensure that the device status can be intuitively seen from the outside; third, it is also responsible for gathering natural light for use by the illumination sensor module 222. Therefore, this Fresnel lens 32 integrates three optical transmission functions in one, achieving efficient integration of the design.
[0188] One of the more special ways to trigger the device to enter a direct connection is to cover the Fresnel lens 32 of the device (for example, by covering the Fresnel lens 32 with your hand) for a specified time (for example, more than 10 seconds), and then expose the Fresnel lens 32, which can trigger the device 100 to enter a direct connection state, and then achieve a Bluetooth direct connection with a terminal 300 such as a mobile phone.
[0189] In addition, based on the moving target detection device 100, the present invention also provides a corresponding moving target detection method in subsequent embodiments. It should be noted that the method embodiment in this embodiment can be understood as the information interaction and execution process between the modules of the moving target detection device 100, and the related content of the method features in this embodiment can be understood by referring to the records of the above-mentioned product embodiment because it is based on the same concept as the moving target detection device 100 embodiment of the present invention, and the same content will not be repeated in this embodiment.
[0190] like Figure 5 , shows a schematic flow chart of a moving target detection method in an embodiment of the present invention, the method comprising:
[0191] S1. Obtain the detection result of whether there is a moving target in the environment;
[0192] S2. Report the test results through the network according to the selected reporting strategy;
[0193] Before reporting the test results, it also includes:
[0194] S3, obtaining a selected instruction; selecting the reporting strategy according to the selected instruction; wherein different reporting strategies are distinguished by the total number of times the detection results are reported and / or the reporting period.
[0195] In some embodiments, in step S3, obtaining the selected instruction specifically includes:
[0196] S31, obtaining a selected instruction from the outside; the instruction specifies one of at least two reporting strategies to be selected; different reporting strategies have different total times of reporting the detection results.
[0197] Further, in step S2, reporting the detection result through the network according to the selected reporting strategy specifically includes:
[0198] S21. When the selected reporting strategy is the first strategy among multiple reporting strategies, report the detection result in multiple reporting modes; and
[0199] S22: When the selected reporting strategy is the second strategy among the multiple reporting strategies, report the detection result in a single reporting manner.
[0200] Furthermore, steps S21 and S22 further include:
[0201] Under the first strategy, the detection results are reported at equal intervals according to the set first interval to implement the multiple reporting method; and
[0202] Under the second strategy, after obtaining the corresponding test results, the retention phase is entered after the first report of the test results, and the retention phase continues during the same test result period, and the retention phase is exited when the test results change. In the retention phase, the report is stopped, and the report is made once immediately or within a specified time after exiting the retention phase.
[0203] Furthermore, in this embodiment, the same test result is only reported once, that is, after the corresponding test result is obtained, the test result is reported once immediately or delayed, and the same test result is no longer reported subsequently until a different test result is detected, thereby realizing a single reporting method.
[0204] Further, under the first strategy, the detection result of the detected moving target is reported at an even interval according to the set first interval; under the second strategy, after the detection result of the detected moving target is obtained, after the detection result of the moving target is reported for the first time, the holding phase of the moving target is entered, and the holding phase is continued while the moving target continues to exist, and the holding phase is exited when the moving target does not exist. In the holding phase, the detection result of the moving target is stopped from being reported, and the detection result of the moving target is reported once immediately or within a specified time after exiting the holding phase.
[0205] The detection result is reported only once, immediately or delayed, when a moving target is detected for the first time; if the same detection result continues in the subsequent period, it will not be reported again until a different detection result is detected and reported again immediately or delayed.
[0206] Furthermore, if the first strategy is selected, the selected instruction carries interval time data, which is selected and determined by the user on the smart terminal (eg, the terminal 300 involved in the aforementioned embodiment) to adjust the first interval to vary within a preset range.
[0207] In some embodiments, in step S3, obtaining the selected instruction specifically includes:
[0208] The wireless communication module receives a selected instruction carrying interval time data, and the data is used to determine the reporting period; the reporting period varies within a preset range according to the interval time data selected by the user, forming a plurality of reporting strategies with different reporting periods.
[0209] Further, the preset range is set to 10 seconds to 50 seconds, and the step value is 10 seconds.
[0210] In some embodiments, in step S3, obtaining the selected instruction specifically includes:
[0211] Determine the selected instructions based on the detection results to automatically adjust the reporting strategy based on the detection results:
[0212] When a moving target is detected, the first strategy is selected to report the detection result at a set interval period;
[0213] When no moving target is detected, the second strategy is selected, and the reporting period of the detection result increases as the number of reports increases.
[0214] In some embodiments, in step S3, obtaining the selected instruction specifically includes:
[0215] Determine the selected instructions based on the detection results to automatically adjust the reporting strategy based on the detection results:
[0216] When a moving target is detected, the detection result is reported in a single report mode;
[0217] When no moving target is detected, the detection result is reported at least twice in an incremental reporting cycle to reflect the continuous state of no moving target.
[0218] Please refer to Figure 6-Figure 16 , a possible structure of the moving target detection device will be described, but it is not limited to this.
[0219] like Figure 6 As shown, the moving target detection device includes: a housing 1, a sensing module 2 arranged inside the housing 1, a lens component 3 arranged at one end of the housing 1, and an adjustment component 4 arranged at the other end of the housing 1. The sensing module 2 is installed on the housing 1 and can move with the housing 1; the sensing module 2 includes a circuit board 21 and a detection module 22 arranged on the circuit board 21. The detection module 22 can be understood as a sensor that can generate electrical signal changes in response to infrared light irradiation. In one embodiment, the detection module 22 is set as a PIR sensor (pyroelectric infrared sensor). The detection module 22 is placed toward the lens component 3, and the lens component 3 converges external infrared light on the detection module 22 to enhance the detection sensitivity of the detection module 22.
[0220] like Figure 6-Figure 8 As shown, the adjustment component 4 includes a first end cap 41 covering the end of the shell 1 and a base 42 pivotally connected to the first end cap 41; the base 42 is embedded with a magnetic member 43, and the magnetic member 43 is fixedly connected to the base 42. The magnetic member 43 is used for magnetic attraction and connection to the external mounting surface, and can be rotated in accordance with the external mounting surface, so that the first end cap 41 and the shell 1 can adjust the angle in two rotational degrees of freedom relative to the external mounting surface, so as to facilitate accurate adjustment of the detection direction and improve the detection accuracy and reliability of the moving target detection device 100. In one embodiment, the two rotational degrees of freedom are already Figure 8The external mounting surface can be understood as the surface of an iron object outside the moving target detection device 100, such as the surface of a refrigerator, an iron rack, an iron door, etc. In a preferred embodiment, Figure 7 As shown, the external mounting surface is set as the surface of a circular iron sheet 8, and the circular iron sheet 8 can be pasted on the surface of a non-ferrous object, so that the moving target detection device 100 can be connected to the non-ferrous object through the circular iron sheet 8, further improving the installation flexibility and installation convenience of the moving target detection device 100, and the non-ferrous object is such as glass, wooden cabinets, tables and chairs, walls, etc. The magnetic suction piece is attached to the external mounting surface for rotation, which can be understood as, in an exemplary embodiment, the magnetic piece 43 maintains an attracted state with the circular iron sheet 8 under the action of magnetic attraction, and the friction between the magnetic piece 43 and the circular iron sheet 8 enables the moving target detection device 100 to maintain a stationary state when only subjected to gravity. When the user operates the base 42 to rotate, the operating force overcomes the friction force to make the magnetic piece 43 rotate relative to the external mounting surface, and the magnetic piece 43 maintains a state of contact with the external mounting surface during rotation to prevent the moving target detection device 100 from accidentally falling. The magnetic piece 43 can be understood as a magnetic part, such as a magnet, soft magnetic rubber, etc.
[0221] In this embodiment, since the first end cover 41 is covered on the shell 1, the first end cover 41 is at least partially embedded in the shell 1, and the adjustment component 4 overlaps with the shell 1 in thickness, which reduces the thickness of the adjustment component 4; and since the magnetic member 43 is embedded in the base 42, the magnetic member 43 and the base 42 at least partially overlap in thickness, which further reduces the thickness of the adjustment component 4. The magnetic member 43 is fixedly connected to the base 42, so that the structure of the base 42 is more simplified and the thickness of the adjustment component 4 is thinner. The thinning of the thickness of the adjustment component 4 allows the moving target detection device 100 to be as close to the external mounting surface as possible when the adjustment component 4 is magnetically connected to the external mounting surface, thereby allowing a wider detection range. In addition, thanks to the thinning of the thickness of the adjustment component 4, the demand for installation space is reduced, so that the installation flexibility is increased; it also ensures the concealment and aesthetics of the adjustment component 4 after installation. In addition, the adjustment component 4 is magnetically installed, so that the moving target detection device 100 and the adjustment component 4 can be easily changed in installation position, and the detection direction can be adjusted after the position is changed, which greatly improves the mobility and flexibility of the moving target detection device 100.
[0222] Furthermore, the portion where the first end cover 41 is connected to the base 42 is located at a position corresponding to the edge of the first end cover 41 and at a position corresponding to the edge of the base 42, so that the first end cover 41 can pivot at a larger angle relative to the base 42; in a specific embodiment, Fig.10As shown, the first end cover 41 is rotatably connected to the base 42 via a pivot shaft 44. The pivot shaft 44 can be understood as a pivot center axis, which is a virtual axis. The pivot shaft 44 is already in Fig.10 Marked in. Thanks to the pivot shaft 44 being located at the edge of the first end cover 41 and the base 42, when the first end cover 41 pivots at an angle of 90° and 180° relative to the base 42, the housing 1 and the base 42 are not likely to interfere with each other. In addition, arranging the pivot shaft 44 at the edge of the first end cover 41 and the base 42 is conducive to making the structure of the first end cover 41 and the base 42 more compact and smaller in size. Moreover, the edge connection facilitates the assembly of the first end cover 41 and the base 42, thereby improving the assembly efficiency.
[0223] Furthermore, if Fig.10 As shown, the side of the first end cover 41 facing away from the housing 1 is set as the first surface 411, and the edge position of the first surface 411 is provided with a connecting portion 412, and the connecting portion 412 protrudes from the first surface 411; the base 42 is provided with an embedding opening 421 at a position corresponding to the connecting portion 412, and the connecting portion 412 is embedded in the embedding opening 421. When the first end cover 41 pivots relative to the base 42, the connecting portion 412 rotates in the embedding opening 421; the side wall of the embedding opening 421 is attached to the side wall of the connecting portion 412, and when the moving target detection device 100 is only under the action of gravity, the angle between the first end cover 41 and the base 42 remains unchanged. Among them, by providing the embedding opening 421 on the base 42 and tightly embedding the connecting portion 412 therein, the connection stability between the first end cover 41 and the base 42 is ensured, and the angle change caused by accidental vibration is reduced. In a preferred embodiment, the width of the embedding opening 421 is slightly smaller than the width of the connecting portion 412, so that the connection between the connecting portion 412 and the embedding opening 421 has a certain interference, so as to increase the friction between the connecting portion 412 and the embedding opening 421, so that the connection between the two is more stable, and at the same time, the reliability of long-term use is also enhanced. In addition, this embodiment adopts a connection method of embedding and matching the connecting portion 412 and the embedding opening 421, so that the first end cover 41 is not easy to interfere with the base 42 during the pivoting movement, thereby increasing the pivoting angle of the first end cover 41, so that the angle adjustable range of the moving target detection device 100 is larger.
[0224] Furthermore, if Fig.10 and Figure 8As shown, the connecting portion 412 is provided with a through hole 4121, and the base 42 is provided with a connecting hole 422 at a position corresponding to the through hole 4121. The connecting hole 422 is provided from the side of the base 42 to the embedding opening 421, and one connecting hole 422 is provided on the left and right sides of the embedding opening 421 respectively; a connecting screw 423 is provided in the connecting hole 422, and the connecting screw 423 is connected to the through hole 4121, and the first end cover 41 is pivotally connected to the base 42 based on the connecting screw 423. Among them, the two connecting holes 422 are respectively connected to the connecting portion 412 by the connecting screws 423, ensuring the stable connection between the first end cover 41 and the base 42, and at the same time, the connecting screw 423 is accommodated in the connecting hole 422, so that the connecting structure is more compact, which is conducive to the miniaturization of the adjustment component 4.
[0225] It is worth noting that if the pivoting resistance between the first end cover 41 and the base 42 is too large, the user's operation resistance will be too large, affecting the operation feel; if the pivoting resistance is too small, the connection between the first end cover 41 and the base 42 will be loose, and the angle between the two will change under the action of gravity. In this embodiment, the screw connection can adjust the friction between the connection part 412 and the embedding opening 421 by adjusting the tightening force of the screw, so as to achieve the purpose of adjusting the pivoting resistance between the first end cover 41 and the base 42. The user can obtain a suitable pivoting resistance by adjusting the tightening force of the connecting screw 423.
[0226] In some embodiments, Fig.10 and Figure 8 As shown, the magnetic member 43 has a magnetic surface 431, and the magnetic surface 431 is used to be attracted to the external mounting surface, wherein the pivot axis 44 of the first end cover 41 pivoting relative to the base 42 is parallel to the magnetic surface 431, so that the rotation axes of the two rotational degrees of freedom are perpendicular to each other, so that the detection direction of the moving target detection device 100 can be adjusted within a hemispherical range of three-dimensional space, so as to accurately adjust the detection direction of the moving target detection device 100, so as to improve the detection reliability. At the same time, the rotation axes of the two rotational degrees of freedom are perpendicular to each other, which can avoid mutual interference between the two rotational degrees of freedom, so as to facilitate independent adjustment of each rotational degree of freedom. Among them, the pivot axis 44 can be understood as the pivot center axis, which is a virtual axis. The pivot axis 44 has been Fig.10 In this embodiment, the magnetic attraction surface 431 is the lower surface of the magnetic member 43 .
[0227] Furthermore, if Fig. 9 and Fig.10As shown, the diameter of the shell 1 is matched with the diameter of the first end cover 41, so that when the angle between the first end cover 41 and the base 42 is 60°, the shell 1 does not interfere with the external mounting surface. The matching of the diameter of the shell 1 with the diameter of the first end cover 41 can be understood as that the side profile of the shell 1 is smaller than the side profile of the first end cover 41, or the side profile of the shell 1 is equal to the side profile of the first end cover 41, or the side profile of the shell 1 is slightly larger than the side profile of the first end cover 41, so that when the angle between the first end cover 41 and the base 42 is 60°, the outer contour of the shell 1 will not exceed the lower surface of the magnetic member 43, thereby avoiding interference between the shell 1 and the external mounting surface. In a preferred implementation, as Fig. 9 As shown, the diameter of the housing 1 is approximately equal to the diameter of the first end cover 41. When the angle between the first end cover 41 and the base 42 is close to 90°, the outer contour of the housing 1 will not exceed the lower surface of the magnetic member 43, thereby avoiding interference between the housing 1 and the external mounting surface. Fig.10 As shown, the bottom side of the connecting portion 412 close to the outer side is arc-shaped to prevent the first end cover 41 from interfering with the external mounting surface during the pivoting process.
[0228] Furthermore, the lower surface of the base 42 is recessed upward to provide a magnet mounting groove 424, the shape of the magnet mounting groove 424 is adapted to the magnetic component 43, the magnetic component 43 is embedded in the magnet mounting groove 424 from bottom to top, and the upper surface of the magnetic component 43 is adhered to the magnet mounting groove 424; the depth of the magnet mounting groove 424 is slightly smaller than the height of the magnetic component 43, so that the bottom of the magnetic component 43 slightly protrudes from the magnet mounting groove 424, so that the lower surface of the magnetic component 43 can fit the external mounting surface.
[0229] In some embodiments, Fig.10 As shown, the first end cover 41 and the lens member 3 are respectively arranged at opposite ends of the housing 1, so that the first end cover 41 is perpendicular to the detection direction, so that the user can accurately adjust the detection direction.
[0230] In some embodiments, Figure 8 and Fig. 9As shown, the side of the first end cap 41 facing away from the housing 1 is the first surface 411, and the side of the base 42 facing away from the magnetic member 43 is the second surface 425. The first end cap 41 has at least a first state and a second state during the movement: in the first state, the first surface 411 of the first end cap 41 is attached to the second surface 425 of the base 42; in the second state, the first surface 411 of the first end cap 41 is perpendicular to the second surface 425 of the base 42. Further, the first end cap 41 has a third state during the movement: in the third state, the first surface 411 is parallel to the second surface 425, and the first surface 411 and the second surface 425 face the same direction. Thus, the detection direction is adjusted by 180° in the vertical plane, so that the moving target detection device 100 can adapt to various installation environments, and the installation flexibility is greatly improved.
[0231] like Fig.10 As shown, the upper half of the first end cover 41 is embedded in the housing 1, and the lower half is exposed outside the housing 1. In order to reduce the overall height of the moving target detection device 100, the thickness of the lower half of the first end cover 41 needs to be made as thin as possible, but this also results in the first end cover 41 having no force application point that is easy for the user to operate, and it is difficult for the user to remove the first end cover 41 by twisting the first end cover 41. To solve this problem, in this embodiment, as shown in FIG. Fig.10 As shown, the housing 1 is provided with a battery 5, and the first end cap 41 is detachably connected to the housing 1, so that the user can replace the battery 5 after removing the first end cap 41; the first end cap 41 can be adjusted to have a preset angle with the base 42, so that the first end cap 41 can be driven to be detached and assembled to the housing 1 by operating the base 42, that is, the base 42 can be used as an operating handle of the first end cap 41, so that the user can more easily apply the operating force to the first end cap 41, so as to remove the first end cap 41 and replace the battery 5; at the same time, since the first end cap 41 is easier to remove, the connection force between the first end cap 41 and the housing 1 can be designed to be larger, and the connection between the two can be more stable, so as to avoid the first end cap 41 from accidentally detaching from the housing 1 when adjusting the angle. Wherein, the detachable connection can be connected by snap-fitting, rotating snap-fitting, interference fit plug-in, or threaded connection, etc. When the first end cover 41 is connected to the shell 1 by a snap-fit or is inserted into the shell 1 by an interference fit, the operating force may be a pulling force in a direction away from the shell 1; when the first end cover 41 is rotationally snap-fitted to the shell 1 by a rotating snap or is threadedly connected to the shell 1, the operating force may be a rotational force.
[0232] In actual use, the user can first open the base 42 relative to the first end cover 41 by the preset angle, and then apply an operating force through the base 42 to remove the first end cover 41 from the housing 1; in some implementations, such as Figure 8 and Fig. 9 As shown, the preset angle is greater than 80° and less than or equal to 180°, so that the base 42 and the first end cover 41 can reach a vertical state, which is convenient for the user's operating force to be applied to the first end cover 41 through the base 42. In a specific embodiment, the preset angle is 180°, so that the bottom shell is equivalent to an extended handle of the first end cover 41, which makes it easier for the user to apply the rotation operation.
[0233] Furthermore, if Figure 7 As shown, the base 42 is magnetically connected to the external mounting surface through the magnetic member 43 , so that the base 42 can be quickly disassembled and assembled on the external mounting surface, which is convenient for the user to quickly operate the base 42 to replace the battery 5 .
[0234] It is worth noting that Fig.10 and Figure 8 As shown, the portion where the first end cover 41 is connected to the base 42 is located at a position corresponding to the edge of the first end cover 41 and at a position corresponding to the edge of the base 42. This makes it easier for the user to perform a rotation operation and facilitates the removal of the first end cover 41 from the housing 1.
[0235] Furthermore, if Fig.10 and Figure 8 As shown, the connecting portion 412 is embedded in the embedding opening 421, and the side wall of the embedding opening 421 is in contact with the side wall of the connecting portion 412. When the first end cover 41 pivots relative to the base 42, the connecting portion 412 rotates in the embedding opening 421. The embedding and matching of the connecting portion 412 and the embedding opening 421 can increase the strength of the connecting portion 412 and prevent the connecting portion 412 from being damaged due to excessive operating force applied to the base 42.
[0236] like Fig. 9 As shown, when the angle between the base 42 and the first end cover 41 is 180°, the bottom shell is equivalent to an extended handle of the first end cover 41, which makes it easier for the user to perform the rotation operation. For this reason, in some embodiments, such as Fig.11 As shown, the first end cover 41 is rotatably engaged with the housing 1 , and the base 42 can drive the first end cover 41 to rotate so that the first end cover 41 can be installed or removed from the housing 1 .
[0237] In a specific embodiment, Figure 11-13As shown, the housing 1 is constructed as a channel-shaped structure with both ends open. The housing 1 has a first open end and a second open end. The first open end is sealedly connected to the lens member 3, and the second open end is covered with the first end cover 41. Fig.11 As shown, the inner wall of the housing 1 is provided with a plurality of snap-in grooves 11 distributed along the circumference, the snap-in grooves 11 extend along the circumference of the housing 1, the end of the snap-in groove 11 is provided with a snap-in entrance toward the second open end, the snap-in entrance communicates with the snap-in groove 11 and the second open end, the side wall of the first end cover 41 is provided with a plurality of snap-in protrusions 414 along the circumference, the snap-in protrusions 414 are rotatably snap-into the snap-in groove 11 through the snap-in entrance. There are four snap-in grooves 11, the four snap-in grooves 11 are evenly distributed along the circumference of the housing 1, the side wall of the first end cover 41 is evenly distributed with four snap-in protrusions 414 along the circumference, and each snap-in protrusion 414 is snap-into the corresponding snap-in groove 11.
[0238] Furthermore, if Fig.15 and Fig.17 As shown, the housing 1 is provided with a middle housing 6, the middle housing 6 is clamped to the inner wall of the housing 1, and the middle housing 6 abuts against the circuit board 21, so as to fix the circuit board 21 to the housing 1. Fig.11 As shown, abutment wall 413 is extended from one side of the first end cover 41 toward the middle shell 6, and the abutment wall 413 surrounds the first end cover 41 near the side edge, and the clamping protrusion 414 is arranged on the side of the abutment wall 413. A locking bone 61 is extended from the side of the middle shell 6 toward the first end cover 41, and the locking bone 61 is provided with a locking recess, and a locking edge 415 is arranged on the inner side of the abutment wall 413 at a position corresponding to the locking recess, and when the first end cover 41 is rotated and clamped to the housing 1, the locking edge 415 is clamped into the locking recess to prevent the first end cover 41 from accidentally falling off.
[0239] Furthermore, if Fig.12 and Fig.14 As shown, the first end cover 41 is buckled on the housing 1, and a sealing ring 7 is provided between the first end cover 41 and the housing 1. When the first end cover 41 is installed on the housing 1, the sealing ring 7 is squeezed to seal the housing 1 and the first end cover 41. Fig.14As shown, the sealing ring 7 is disposed between the housing 1, the middle shell 6 and the abutting wall 413 of the first end cover 41, and the sealing ring 7 seals the three at the same time. The abutting wall 413 presses against the sealing ring 7, which will increase the rotation resistance of the first end cover 41, and the greater the extrusion amount of the sealing ring 7, the greater the rotation resistance, and the better the waterproof performance; thanks to the base 42, the rotation of the first end cover 41 can be more labor-saving. This embodiment ensures that the first end cover 41 can be successfully disassembled while meeting the waterproof performance requirements.
[0240] Furthermore, the lens member 3 is sealed and connected to the first open end of the housing 1 by means of a sealant, so that a sealed cavity is formed inside the housing 1 to protect the electronic components from being damaged.
[0241] In a specific embodiment, Fig.13 As shown, the diameter of the lens component 3 is slightly larger than the inner diameter of the shell 1, and the first open end of the shell 1 is circumferentially provided with an annular groove 12, and the lens component 3 is provided with an annular protrusion 31 adapted to the annular groove 12 toward the shell 1, and a circle of sealant is applied on the inner side of the annular protrusion 31. When the annular protrusion 31 is embedded in the annular groove 12, the sealant is squeezed, and then a part of the sealant enters the annular groove 12, so as to realize the sealed connection between the lens component 3 and the shell 1, and then the sensing module 2 and the circuit board 21 are sealed inside the shell 1.
[0242] Furthermore, if Fig.13 As shown, the annular protrusion 31 is provided with a positioning notch 311, and a positioning plate 121 is provided in the annular groove 12 at a position corresponding to the positioning notch 311. When the lens component 3 is covered on the shell 1, the positioning plate 121 is snapped into the positioning notch 311, so that the phase angle between the lens component 3 and the shell 1 is locked, thereby making the phase angle between the lens component 3 and the detection module 22 controllable during the assembly process, ensuring that the detection performance of the motion target detection device 100 produced in different batches is consistent.
[0243] The pyroelectric effect refers to the fact that some crystals with spontaneous polarization will generate surface polarization charges in a certain direction when the temperature changes, that is, the potential changes. Infrared rays have obvious thermal effects. All objects will radiate infrared rays related to their own temperature. The human body is the same. When infrared rays are irradiated on pyroelectric materials, the pyroelectric materials will produce a slight potential change. After conditioning and amplifying the signal of this potential change, it can be determined whether there is human movement. The detection module 22 uses a PIR sensor 223. The lens component 3 converges the infrared light in the detection area to the PIR sensor 223. The PIR sensor 223 produces a potential change in response to the irradiation of infrared light. The moving target detection device 100 determines whether there is a person in the detection area through the change in the pin potential of the PIR sensor 223.
[0244] The detection module 22 detects the human body through passive detection, and has very low power consumption, which greatly reduces the power consumption of the moving target detection device 100, so that the moving target detection device 100 can be powered by the battery 5, thereby making the moving target detection device 100 mobile, and the installation location is not restricted by the power cord, and the installation is more convenient.
[0245] Since the infrared rays emitted by the human body are very weak, the lens member 3 is generally provided with a plurality of lens units for converging the infrared rays of the human body, wherein the lens unit is preferably a Fresnel lens 32, such as Fig.13 As shown, the inner surface of the lens member 3 is engraved with 17 Fresnel lenses 32, including a Fresnel lens 32 located in the center, a first circle of Fresnel lenses 32 arranged around the central Fresnel lens 32, and a second circle of Fresnel lenses 32 arranged around the first circle of Fresnel lenses 32, and the number of the first circle of Fresnel lenses 32 and the second circle of Fresnel lenses 32 are both 8. The multiple Fresnel lenses 32 respectively converge infrared rays on the PIR sensor, so that when the human body moves, multiple alternating light spots will be converged on the PIR sensor, thereby improving the detection sensitivity of the PIR sensor and increasing the detection distance. The Fresnel lens 32 occupies more than 60% of the surface area of the inner surface of the lens member 3. The large area of the Fresnel lens 32 can enhance the focusing performance, thereby increasing the detection distance. Furthermore, a filter can be set on the PIR sensor, which only allows infrared rays of a specific wavelength emitted by the human body to pass through, removes interference from other infrared rays, further improves the detection sensitivity, and increases the detection distance. The detection distance of the moving target detection device 100 provided in this embodiment can reach 8m and the detection angle can reach 120°.
[0246] Furthermore, if Fig.13 As shown, the detection module 22 has an infrared sensing surface 221 , and the center of the infrared sensing surface 221 corresponds to the center of the lens element 3 to increase the detection sensitivity of the detection module 22 .
[0247] Furthermore, if Fig.13 As shown, an indicator light 217 is disposed on the upper surface of the circuit board, and the lens component 3 is light-transmissive, and the light emitted by the indicator light 217 is emitted to the outside through the lens component 3.
[0248] Furthermore, if Fig.15 As shown, the shell 1 is constructed as a cylindrical structure with two ends open. A middle shell 6 is arranged inside the shell 1. The middle shell 6 is arranged below the circuit board 21. Three limiting bones 62 are arranged upward near the side edge of the middle shell 6. The three limiting bones 62 are evenly distributed along the circumference of the middle shell 6. The circuit board 21 is provided with a positioning portion 211 at a corresponding position of each limiting bone 62. A limiting groove 13 is arranged on the inner side of the side wall of the shell 1 at a corresponding position of each limiting bone 62. The width of the limiting groove 13 is adapted to the limiting bone 62 and the positioning portion 211. The limiting bone 62 abuts against the lower surface of the positioning portion 211 upward, and the positioning portion 211 is pushed into the limiting groove 13. The positioning portion 211 is clamped and fixed between the limiting bone 62 and the limiting groove 13. The positioning portion 211 is formed by dividing the circuit board 21. Four connecting buckles 63 are evenly distributed along the circumferential direction on the side surface of the middle shell 6, and connecting grooves 14 are provided on the inner side of the side wall of the shell 1 at positions corresponding to the connecting buckles 63. The connecting buckles 63 are snapped into the connecting grooves 14 to achieve fixed connection between the middle shell 6 and the shell 1.
[0249] The battery 5 is a button cell, which is arranged below the middle shell 6. The circuit board 21 is provided with a positive spring 212 and a negative spring 213 downwardly. The positive spring 212 passes through the middle shell 6 and abuts against the positive electrode of the battery 5, and the negative spring 213 passes through the middle shell 6 and abuts against the negative electrode of the battery 5. The battery 5 is clamped between the middle shell 6 and the first end cover 41, wherein a foam 416 is pasted on the side of the first end cover 41 facing the battery 5, and the foam 416 abuts against the battery 5 to prevent the battery 5 from shaking up and down, and ensure good contact between the battery 5 and the negative spring 213. A battery compartment 64 is provided on the lower side of the middle shell 6, which is concave upwardly. The shape of the battery compartment 64 is adapted to the battery 5, and the diameter of the battery compartment 64 is slightly larger than that of the battery 5. The battery 5 is accommodated in the battery compartment 64 and is limited by the inner wall of the battery compartment 64. It is worth noting that the battery 5 can be a CR2450 button battery or other types of button batteries, and the foam 416 can be of different thicknesses to adapt to different types of button batteries to prevent the button batteries from shaking.
[0250] Furthermore, if Fig.14 and Fig.13As shown, an electronic switch 214 is provided at the edge of the circuit board 21, and a trigger rod of the electronic switch 214 protrudes from the circuit board 21, and a button hole is opened on the side wall of the shell 1 at a position corresponding to the electronic switch 214, and a silicone button 15 is embedded in the button hole. The silicone button 15 is used to trigger the electronic switch 214, wherein a recessed groove is provided around the side of the silicone button 15, and the recessed groove is clamped in the button hole so that the silicone button 15 is limited in the button hole, and the silicone button 15 is interference fit with the button hole to achieve a sealed connection between the silicone button 15 and the shell 1.
[0251] Furthermore, if Fig.15 As shown, the circuit board 21 is provided with a processing module 215, and the processing module 215 is integrated with a wireless communication module, and the wireless communication module is used for external wireless communication. The circuit board 21 is provided with an onboard antenna 216, and the onboard antenna 216 is electrically connected to the wireless communication module. Further, the processing module 215 and the onboard antenna 216 are both arranged on the upper surface of the circuit board 21.
[0252] 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.
[0253] 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.
[0254] 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 moving target detection device, characterized in that: The moving target detection device can access the network and perform network communication; comprising: The detection module has the ability to perceive moving targets and is used to detect moving targets in the current environment; A processing module is electrically connected to the detection module and is used to: Obtaining a detection result of whether there is a moving target in the environment through the detection module, and reporting the detection result through the network according to the selected reporting strategy; Before reporting the test results, it is also used to obtain the selected instructions; The reporting strategy is selected according to the selection instruction; wherein different reporting strategies are distinguished by the total number of times the detection results are reported and / or the reporting period.
2. The moving target detection device according to claim 1, characterized in that: The processing module obtains the selected instruction, specifically for: Acquiring a selected instruction from outside based on a wireless communication module; the instruction specifies one selected from at least two reporting strategies; The processing module reports the detection result through the network according to the selected reporting strategy, specifically for: When the selected reporting strategy is the first strategy among multiple reporting strategies, the detection result is reported in multiple reporting ways; and when the selected reporting strategy is the second strategy among multiple reporting strategies, the detection result is reported in a single reporting way.
3. The moving target detection device according to claim 2, characterized in that: The processing module is further configured to: Under the first strategy, the detection results are reported at equal intervals according to the set first interval to implement the multiple reporting method; and Under the second strategy, after obtaining the corresponding test results, the retention phase is entered after the test results are reported for the first time, and the retention phase is continued during the same test result period, and the retention phase is exited when the test result changes; the processing module is configured to stop reporting during the retention phase, and report once immediately after exiting the retention phase or within a specified time.
4. The moving target detection device according to claim 3, characterized in that: The processing module is specifically used for: Under the first strategy, the detection results of the detected moving targets are reported at even intervals according to the set first interval; Under the second strategy, after obtaining the detection result of detecting a moving target, after reporting the detection result of a moving target for the first time, entering a holding phase in which the moving target exists, and continuing the holding phase while the moving target continues to exist, and exiting the holding phase when the moving target does not exist, the processing module is configured to stop reporting the detection result of the moving target in the holding phase, and report a detection result of no moving target once immediately or within a specified time after exiting the holding phase.
5. The moving target detection device according to claim 3, characterized in that: If the first strategy is selected, the selected instruction carries interval time data, which is selected and determined by the user on the smart terminal to adjust the first interval to vary within a preset range.
6. The moving target detection device according to claim 1, characterized in that: The processing module receives a selected instruction carrying interval time data through the wireless communication module, and the data is used to determine the reporting period; the reporting period changes within a preset range according to the interval time data selected by the user, forming a plurality of reporting strategies with different reporting periods.
7. The moving object detection device according to any one of claims 5 to 6, characterized in that: The preset range is set to 10 seconds to 50 seconds, with a step value of 10 seconds.
8. The moving target detection device according to claim 1, characterized in that: The processing module determines the selected instruction according to the detection result to automatically adjust the reporting strategy based on the detection result: When a moving target is detected, the first strategy is selected to report the detection result at a set interval period; When no moving target is detected, the second strategy is selected, and the reporting period of the detection result increases as the number of reports increases.
9. The moving target detection device according to claim 1, characterized in that: The processing module determines the selected instruction according to the detection result to automatically adjust the reporting strategy based on the detection result: When a moving target is detected, the detection result is reported in a single report mode; When no moving target is detected, the detection result is reported at least twice in an incremental reporting cycle.
10. The moving target detection device according to claim 8 or 9, characterized in that: The processing module is also used to, when no moving target is detected, allow customization of at least one reporting opportunity based on a second strategy in which the reporting period increases with the number of reports; and the reporting period of the reporting opportunity can be customized within an adjustment range.
11. A moving target detection method, characterized in that: include: Obtain the detection result of whether there are moving targets in the environment; Report the test results through the network according to the selected reporting strategy; Before reporting the detection result, the method further includes obtaining a selected instruction; selecting the reporting strategy according to the selected instruction; and different reporting strategies are distinguished by the total number of times the detection result is reported and / or the reporting period.
Citation Information
Cited By
Method and device for determining reporting strategy, storage medium and electronic device
CN120935027A
