Target detection method and device, electronic equipment, clothes airing machine and storage medium
By receiving detection signals to determine the target area and adjusting the equipment mode, the problem of accidental injury to people or animals by disinfection equipment has been solved, and precise intelligent control has been achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN LUMIUNITED TECH CO LTD
- Filing Date
- 2022-07-29
- Publication Date
- 2026-05-29
AI Technical Summary
Existing disinfection equipment is unable to accurately identify people or animals within the disinfection range, which can lead to harm to them.
By receiving detection signals, the target area where the object to be detected is located is determined, and the working mode of the device is adjusted according to the sensitivity threshold of the target area. This includes dividing different sub-areas and setting corresponding sensitivity thresholds, using the radar module to measure distance and calculate distance, and judging the signal strength matching degree to adjust the device function.
It improves the precise and intelligent control of disinfection equipment, avoids harm to people or animals, and enhances the user experience.
Smart Images

Figure CN115407293B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a target detection method, apparatus, electronic device, clothes dryer, and storage medium. Background Technology
[0002] As people's living standards continue to improve, multifunctional equipment is gradually becoming the target of their use. At present, various functional modules can be integrated into equipment to meet people's diverse needs. For example, various functional modules such as disinfection, lighting, drying, and air drying can be integrated into the equipment. However, how to accurately and intelligently control the functional modules is an urgent problem to be solved.
[0003] Taking disinfection modules as an example, disinfection and sterilization technology, as an important means of ensuring environmental safety, is being used more and more widely in people's daily lives. For example, it can be used in smart home systems such as smart clothes dryers and smart shoe cabinets. However, many disinfection and sterilization technologies can also harm people or animals within the disinfection range while disinfecting and sterilizing. Therefore, how to improve the accurate identification of protected objects such as people or animals within the disinfection range, so as to achieve precise and intelligent control of the disinfection module, is an urgent problem that needs to be solved. Summary of the Invention
[0004] Therefore, it is necessary to provide a target detection method, device, electronic equipment, clothes dryer, and storage medium that can effectively improve the precise and intelligent control of equipment in response to the above-mentioned technical problems.
[0005] The first aspect of this application provides a target detection method, comprising:
[0006] If a detection signal is received, the target area where the object to be detected is located is determined based on the detection signal. The detection signal represents the signal returned after the object to be detected is detected within the detection area of the device.
[0007] Based on the target region, determine the target sensitivity threshold corresponding to the target region;
[0008] The operating mode of the device is adjusted based on the detection signal and the target sensitivity threshold.
[0009] Optionally, the detection area includes at least two sub-regions corresponding to different sub-sensitivity thresholds;
[0010] Determining the target area where the object to be detected is located based on the detection signal includes:
[0011] Based on the detection signal, the sub-region where the object to be detected is currently located is determined, and the sub-region is determined as the target region;
[0012] The step of determining the target sensitivity threshold corresponding to the target region based on the target region includes:
[0013] Based on the sub-region where the object to be detected is currently located, a sub-sensitivity threshold corresponding to the sub-region is determined, and the sub-sensitivity threshold is determined as the target sensitivity threshold.
[0014] Optionally, the sub-sensitivity threshold is determined by the sub-region corresponding to the sub-sensitivity threshold, and the distance between the sub-region and the device is negatively correlated with the sub-sensitivity threshold corresponding to the sub-region.
[0015] Optionally, determining the sub-region where the object to be detected is currently located based on the detection signal includes:
[0016] The flight time of the detection signal is obtained, wherein the flight time characterizes the time from when the device transmits the detection signal to when it receives the detection signal;
[0017] Calculate the distance between the object to be detected and the device based on the flight time;
[0018] Based on the distance value, the sub-region where the object to be detected is currently located is determined.
[0019] Optionally, adjusting the operating mode of the device based on the detection signal and the target sensitivity threshold includes:
[0020] Determine whether the detection signal matches the target sensitivity threshold;
[0021] If the detection signal matches the target sensitivity threshold, the operating mode of the device is adjusted.
[0022] Optionally, adjusting the operating mode of the device if the detection signal matches the target sensitivity threshold includes:
[0023] If the detection signal matches the target sensitivity threshold, then the object to be detected is determined to be the target object;
[0024] Based on the target object, adjust the operating mode of the device.
[0025] Optionally, the device includes auxiliary functional modules, and adjusting the operating mode of the device includes:
[0026] Start or stop the auxiliary function module;
[0027] Alternatively, adjust the operating parameters of the auxiliary functional modules.
[0028] A second aspect of this application provides a target detection device, comprising:
[0029] The first determining module is used to determine the target area where the object to be detected is located based on the detection signal if a detection signal is received. The detection signal represents the signal returned after the object to be detected is detected within the detection area of the device.
[0030] The second determining module is used to determine a target sensitivity threshold corresponding to the target region based on the target region.
[0031] An adjustment module is used to adjust the operating mode of the device based on the detection signal and the target sensitivity threshold.
[0032] Optionally, the detection area includes at least two sub-regions corresponding to different sub-sensitivity thresholds; when determining the target area where the object to be detected is located based on the detection signal, the first determining module is specifically used to: determine the sub-region where the object to be detected is currently located based on the detection signal, and determine the sub-region as the target area; when determining the target sensitivity threshold corresponding to the target area based on the target area, the second determining module is specifically used to: determine the sub-sensitivity threshold corresponding to the sub-region where the object to be detected is currently located, and determine the sub-sensitivity threshold as the target sensitivity threshold.
[0033] Optionally, the sub-sensitivity threshold is determined by the sub-region corresponding to the sub-sensitivity threshold, and the distance between the sub-region and the device is negatively correlated with the sub-sensitivity threshold corresponding to the sub-region.
[0034] Optionally, when determining the sub-region where the object to be detected is currently located based on the detection signal, the first determining module is specifically configured to: acquire the flight time of the detection signal, the flight time representing the time from when the device transmits the detection signal to when it receives the detection signal; calculate the distance value between the object to be detected and the device based on the flight time; and determine the sub-region where the object to be detected is currently located based on the distance value.
[0035] Optionally, when adjusting the operating mode of the device based on the detection signal and the target sensitivity threshold, the adjustment module is specifically used to: determine whether the detection signal matches the target sensitivity threshold; if the detection signal matches the target sensitivity threshold, then adjust the operating mode of the device.
[0036] Optionally, when adjusting the operating mode of the device if the detection signal matches the target sensitivity threshold, the adjustment module is specifically used to: determine the object to be detected as the target object if the detection signal matches the target sensitivity threshold; and adjust the operating mode of the device based on the target object.
[0037] Optionally, the device includes an auxiliary function module. When adjusting the operating mode of the device, the adjustment module is specifically used to: start or stop the auxiliary function module; or adjust the operating parameters of the auxiliary function module.
[0038] A third aspect of this application provides an electronic device, comprising:
[0039] A processor, and a memory connected to the processor;
[0040] The memory is used to store computer programs;
[0041] The processor is used to invoke and execute the computer program in the memory to perform the target detection method as described in the first aspect of this application.
[0042] A fourth aspect of this application provides a clothes drying rack, comprising: a control module and a radar module connected to the control module;
[0043] The radar module is used to transmit and receive detection signals;
[0044] The control module is used in conjunction with the radar module to perform the target detection method as described in the first aspect of this application.
[0045] The fifth aspect of this application provides a storage medium storing a computer program that, when executed by a processor, implements the various steps of the target detection method as described in the first aspect of this application.
[0046] A sixth aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium; a processor of the computer device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, it implements the various steps of the target detection method as described in the first aspect of this application.
[0047] In the aforementioned target detection method, apparatus, electronic device, clothes dryer, and storage medium, during the implementation of the target detection method, if a detection signal is received, it indicates that the object to be detected has been detected. The target area where the object is located can then be determined based on the detection signal. The detection signal represents the signal returned after the object is detected within the detection area of the device. Furthermore, based on the target area, a target sensitivity threshold corresponding to that area is determined. Then, based on the detection signal and the target sensitivity threshold, the operating mode of the device is adjusted. Thus, after dividing the detection area into different regions, using the different sensitivity thresholds corresponding to different regions, the target area where the object to be detected is located and its corresponding target sensitivity threshold can be determined. Subsequently, based on different objects to be detected within the detection area and their locations, different operating modes of the device are adjusted, effectively improving the precise and intelligent control of the device. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 This is an application environment diagram of a target detection method in one embodiment of this application.
[0050] Figure 2 This is a flowchart of a target detection method provided in one embodiment of this application.
[0051] Figure 3 This is a schematic diagram illustrating an application scenario of a target detection method provided in one embodiment of this application.
[0052] Figure 4 This is a schematic diagram of the structure of a target detection device provided in one embodiment of this application.
[0053] Figure 5 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application.
[0054] Figure 6 This is a schematic diagram of the structure of a clothes drying rack provided in one embodiment of this application. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0056] The object detection method provided by this application can be applied to the application environment as Figure 1 shown.
[0057] Figure 1 A device control system is shown. As shown in the figure, the device control system may include a terminal device 100, a gateway 200, an Internet of Things device 300 deployed in the gateway 200, a server 400, and a router 500. Among them, the gateway 200 can be an intelligent gateway for smart home control, and can implement functions such as system data collection, data transmission, and linkage control. The gateway 200 can also interact with products such as cloud servers and intelligent interaction terminals through wireless means.
[0058] The terminal device 100 can be any device with communication and storage functions, such as: desktop computers, laptop computers, tablet computers, smart phones, or other intelligent communication devices that can implement network connections, which are not limited here.
[0059] The Internet of Things device 300 can be a clothes dryer with sensing functions, intelligent lamps, intelligent printers, intelligent fax machines, intelligent cameras, intelligent air conditioners, intelligent TVs, intelligent refrigerators, or a radar module, a human body sensor, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall sticker switch, a magic cube controller, a curtain motor, etc. that are equipped with a communication module (such as a ZIGBEE module, a WIFI module, a Bluetooth communication module, etc.) and have sensing functions.
[0060] Among them, the Internet of Things device 300 can detect target objects in the target space, and after obtaining the detection signal, process the detection signal to obtain a control strategy, and then execute the control strategy.
[0061] The server 400 can be a local server, a cloud server, etc. The specific type of server can be not limited in the embodiments of this application. The Internet of Things devices 300 and the gateway 200 set in different spatial regions can all communicate and connect with the same server 400 through the network.
[0062] A network connection is established between the terminal device 100 and the gateway 200. In one implementation, a network connection is established between the terminal device 100 and the gateway 200 through 2G / 3G / 4G / 5G, Wi-Fi, etc. Through this network connection, it interacts with the gateway 200, so that the user can control the devices connected to the gateway 200 through this terminal device 100 to perform corresponding actions.
[0063] Optionally, the terminal device 100 is equipped with a client that can manage IoT devices. The client can be an application client (such as a mobile APP), a web client, or a mini-program, etc., and there is no limitation on it.
[0064] Both gateway 200 and terminal device 100 can connect to router 500 and access the network through router 500. Router 500 can connect to server 400 via wired or wireless communication. For example, gateway 200 and terminal device 100 can store the acquired information in cloud server 400. Optionally, terminal device 100 can also establish a network connection with cloud server 400 via 2G / 3G / 4G / 5G, Wi-Fi, etc., thereby obtaining data sent by cloud server 400.
[0065] In some implementations, the IoT device 300 can send the acquired detection signal to the terminal device 100 or the server 400. The terminal device 100 or the server 400 processes the detection signal to obtain a control strategy and obtains a control command based on the control strategy, and then sends it to the IoT device 300 so that the IoT device 300 executes the control command.
[0066] Exemplary methods
[0067] Please see Figure 2 , Figure 2 The flowchart shown is a target detection method according to an embodiment of this application. The method can be executed by an electronic device, for example, the electronic device may be... Figure 1 The server in the middle can also be Figure 1 The terminal device in the process can also be an IoT device with processing capabilities, such as a clothes dryer. Specifically, the method may include the following steps:
[0068] Step S201: If a detection signal is received, the target area where the object to be detected is located is determined based on the detection signal. The detection signal represents the signal returned after the object to be detected is detected within the detection area of the device.
[0069] The detection area can refer to the physical space to be monitored. This physical space can be a closed space (such as the interior space of a home or the interior space of a public area such as a shopping mall or train station) or an open space (such as a square). Correspondingly, the detection signal can refer to the signal fed back after a specific detection signal detects the object to be monitored within the detection area; this application does not exhaustively list all such signals.
[0070] In one exemplary embodiment of this application, the detection signal can specifically be the echo signal received by the radar module of the smart clothes dryer in the smart home system after it emits a signal, which is then blocked by the object to be detected. In practice, millimeter waves can be continuously emitted by the transmitting antenna inside the radar module of the smart clothes dryer, and the receiving antenna can receive the echo signal. The echo signal fed back within a set detection area is used as the detection signal. When a detection signal is received, it indicates the presence of a suspicious object, i.e., the object to be detected, within the current detection area. The distance between the object to be detected and the receiving antenna can then be determined based on the detection signal, and subsequently, the target area where the object to be detected is located can be determined based on this distance.
[0071] The target area can be a drying area centered on the radar module of the smart clothes dryer, divided according to different echo ranges.
[0072] Step S202: Determine the target sensitivity threshold corresponding to the target area based on the target area.
[0073] During implementation, a correspondence between location regions and sensitivity thresholds can be established in advance. That is, different sensitivity thresholds can be determined for different location regions. Based on this, after dividing the detection area into location regions, the location region where the object to be detected is located can be determined as the target region, and then the sensitivity threshold corresponding to the location region of the object to be detected can be determined as the target sensitivity threshold corresponding to the target object, so as to more accurately identify the object to be detected.
[0074] Step S203: Adjust the operating mode of the device according to the detection signal and the target sensitivity threshold.
[0075] During implementation, the detection signal and target sensitivity threshold can be used to determine whether the object to be detected is the target object. For example, when the device is a smart clothes drying rack, the detection area is the clothes drying area. It can detect whether the object appearing in the clothes drying area is a protected object (target object), such as a person or animal. If the detection signal and target sensitivity threshold determine that the object in the clothes drying area is a person, the working mode of the smart clothes drying rack can be adjusted to avoid harming the target object during disinfection. For example, if the smart clothes drying rack uses ultraviolet lamps to disinfect the clothes drying area, after determining that the object to be detected is the target object, the working mode of the device can be adjusted, such as turning off the ultraviolet lamps, to avoid harm to the target object from ultraviolet radiation.
[0076] In this embodiment, during the implementation of the target detection method, if a detection signal is received, it indicates that the object to be detected has been detected. The target area where the object is located can then be determined based on the detection signal. The detection signal represents the signal returned after the object is detected within the detection area of the device. Furthermore, based on the target area, a target sensitivity threshold corresponding to that area is determined. Then, based on the detection signal and the target sensitivity threshold, the device's operating mode is adjusted. Thus, after dividing the detection area into different regions, the target area where the object to be detected is located and its corresponding target sensitivity threshold can be determined using the different sensitivity thresholds corresponding to different regions. Subsequently, based on different objects to be detected within the detection area and their locations, different operating modes of the device are adjusted, effectively improving the precise and intelligent control of the device.
[0077] In some embodiments, to further ensure the accuracy of detection, the detection area may include at least two sub-regions corresponding to different sub-sensitivity thresholds. Accordingly, when determining the target area where the object to be detected is located based on the detection signal, the sub-region where the object to be detected is currently located can be determined based on the detection signal, and the sub-region can be designated as the target area.
[0078] During implementation, the detection area can be subdivided according to the target object. For example, if the detection area is a clothes-drying area, it can be divided into three sub-areas as follows: the area 1.8-2.4m from the radar module of the smart clothes dryer is designated as the pet-prone sub-area; the area 0.8-1.8m from the radar module is designated as the adult-prone sub-area; and the area 0-0.8m from the radar module is designated as the main clothes-drying sub-area, which is easily affected by wind or motor vibration. In this way, based on the detection signal, the location of the object to be detected within the detection area can be determined first, and then the sub-area in which the object is located can be identified. After identifying the sub-area, the identity of the object can be preliminarily determined. For example, if the sub-area in which the object is located is the pet-prone sub-area, then the object can be preliminarily identified as a pet, and the pet-prone sub-area can be designated as the target area.
[0079] Similarly, when determining the target sensitivity threshold corresponding to the target area, we can determine the sub-sensitivity threshold corresponding to the sub-area where the object to be detected is currently located, and set this sub-sensitivity threshold as the target sensitivity threshold. That is, if a sub-area where pets are likely to appear is determined as the target area, then the sub-sensitivity threshold corresponding to this sub-area can be determined and set as the target sensitivity threshold. In this way, not only is the detection area divided, but different sub-sensitivity thresholds are also set for different sub-areas. After detecting the presence of an object to be detected, the target sensitivity threshold corresponding to the location of the object can be clearly defined, providing a theoretical basis for further verification of the object's identity.
[0080] In some embodiments, the sub-sensitivity threshold is determined by a sub-region corresponding to the sub-sensitivity threshold, and the distance between the sub-region and the device is negatively correlated with the sub-sensitivity threshold corresponding to the sub-region.
[0081] In this context, the greater the distance between the sub-region and the device, the weaker the detection signal. Therefore, a smaller sensitivity threshold is needed for the signal strength to exceed the sub-sensitivity threshold, indicating that a target object has been detected in that sub-region. A smaller sub-sensitivity threshold generally indicates higher device sensitivity; conversely, a larger sub-sensitivity threshold makes it less likely for the detection signal strength to exceed the threshold, indicating lower device sensitivity.
[0082] In practice, sub-regions can be divided according to the different types of target objects appearing in the detection area. Similarly, the sub-sensitivity threshold corresponding to each sub-region can be determined according to the type of target object.
[0083] In practical implementation, taking a smart clothes drying rack as an example, since most smart clothes drying racks are installed on the roof indoors, at a height of 2.6-2.8m above the ground, the transmission distance of the radar module of the smart clothes drying rack can be set at 2.4m. Then, with the location of the radar module as the starting point, the clothes drying area can be divided into 3 sub-areas.
[0084] The first sub-region can be the area where clothes are being dried, and the range of the area can be 0-0.8m away from the radar module. Since this area is easily affected by factors such as wind or vibration of the clothes dryer motor, this target area can be defined as an area prone to misjudgment. Accordingly, its detection sensitivity should be low, and the corresponding sub-sensitivity threshold needs to be adjusted to a high level to avoid misjudging the shaking of clothes due to the low factor sensitivity threshold.
[0085] The second sub-region can be the core detection area, and its range can be set to 0.8-1.8m away from the radar module. Adults are more likely to appear in this area, and correspondingly, this area can be defined as the first main detection area. Since the distance from the radar module is farther than that of the area prone to misjudgment, its detection sensitivity needs to be improved, and the corresponding sub-sensitivity threshold should also be reduced. That is, the sub-sensitivity threshold corresponding to the first main detection area should be lower than that corresponding to the sub-sensitivity threshold of the area prone to misjudgment, so as to more accurately identify the human body appearing in this area.
[0086] The third sub-region can be an area closer to the ground, with a range of 1.8-2.4m from the radar module. Children or pets are more likely to appear in this area, and this area can be defined as the second main detection area. Since the distance from the radar module is greater than that of the first main detection area, its detection sensitivity needs to be increased accordingly, and the corresponding sub-sensitivity threshold needs to be reduced. That is, the sub-sensitivity threshold corresponding to the second main detection area should be lower than that corresponding to the first main detection area, so as to more accurately identify children or pets appearing in this area.
[0087] During the target detection process, when the object to be detected appears in any of the three sub-regions mentioned above, the smart clothes drying machine can determine the sub-region where the object is located based on the received detection signal, designate the sub-region as the target region, and determine the sensitivity threshold corresponding to the sub-region as the target sensitivity threshold corresponding to the target region, so as to ensure the accuracy of subsequent detection.
[0088] It should be understood that the number of sub-regions and the corresponding sub-sensitivity threshold for each sub-region can be set according to actual needs, and there is no limitation here.
[0089] In some embodiments, in order to accurately determine the sub-region where the object to be detected is located, when determining the sub-region where the object to be detected is currently located based on the detection signal, the flight time of the detection signal can be obtained. The flight time represents the time from when the device transmits the detection signal to when it receives the detection signal. Based on the flight time, the distance between the object to be detected and the device is calculated. Based on the distance value, the sub-region where the object to be detected is currently located is determined.
[0090] During implementation, the equipment can be equipped with a radar module and use radar ranging to quickly calculate the distance between the object to be detected and the radar module, i.e., the distance between the object to be detected and the equipment, based on the distance between the object to be detected and the equipment. Then, based on the distance between the object to be detected and the equipment, the sub-region where the object to be detected is located and the corresponding sub-sensitivity threshold can be determined. In other words, the target area where the object to be detected is located and the target sensitivity threshold can be determined, ensuring the accurate positioning of the object to be detected.
[0091] In some embodiments, when adjusting the operating mode of the device based on the detection signal and the target sensitivity threshold, it can be determined whether the detection signal matches the target sensitivity threshold; if the detection signal matches the target sensitivity threshold, the operating mode of the device is adjusted.
[0092] Specifically, determining whether the detection signal matches the target sensitivity threshold means judging whether the signal strength of the detection signal matches the target sensitivity threshold. If the signal strength of the detection signal is greater than or equal to the target sensitivity threshold, it can be determined that the detection signal matches the target sensitivity threshold, further confirming that the object to be detected in the detection area is the target object. If the signal strength of the detection signal is less than the target sensitivity threshold, it can be determined that the detection signal does not match the target sensitivity threshold, and the object to be detected in the detection area is not the target object. This improves the accuracy of the identification of the object to be detected, avoids misjudgments, and enhances the user experience.
[0093] If the detection signal matches the target sensitivity threshold, then the object to be detected in the detection area is the target object. In this case, the current working mode of the device is not suitable for the current scenario. At this time, the working mode of the device can be adjusted based on the target object to adapt to the current scenario and avoid the original working mode from causing damage to the target object.
[0094] In some embodiments, the device may also include an auxiliary functional module, which can be activated or deactivated, or its operating parameters can be adjusted, when the device's operating mode is adjusted.
[0095] The auxiliary functional modules can include disinfection, lighting, drying, air drying, and lifting functions. Correspondingly, adjusting the operating parameters of these auxiliary functional modules can involve adjusting parameters such as the irradiation angle of the disinfection lamp, lamp brightness, drying temperature, and air drying speed.
[0096] For example, if the auxiliary functional module is a UV lamp disinfection module, the device's working mode can be adjusted when someone appears in the detection area. This could be to turn off the UV lamp or adjust the UV lamp's irradiation angle to avoid harming the human body from UV irradiation.
[0097] It should be understood that, although Figure 2 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0098] One embodiment of this application also provides an application scenario in which the above-described target detection method is applied. This application scenario takes the execution of a smart clothes drying rack equipped with an ultraviolet lamp and a radar module as an example. Figure 3 As shown, in this scenario, the room height is 279.86cm, and the smart clothes drying rack is installed on the roof, mainly featuring drying, disinfection, and motor lifting functions. The radar module is positioned in the center of the smart clothes drying rack, with a maximum radiation range of 200.00cm. The human height is 173.00cm. The drying area can be divided into three sub-areas: sub-area A is the main drying area, sub-area B is an area accessible to adults, and sub-area C is an area accessible to children or pets. The distance between the sub-area and the radar module is negatively correlated with the sub-sensitivity threshold corresponding to the sub-area; that is, the sub-sensitivity threshold for sub-area A > the sub-sensitivity threshold for sub-area B > the sub-sensitivity threshold for sub-area C. The application of this method in this scenario is as follows:
[0099] Taking human detection as an example, the smart clothes dryer uses a radar module to emit a detection signal. After receiving the echo signal, it determines the flight time of the echo signal and calculates the distance between the object to be detected and the radar module based on the flight time. Based on this distance, it determines the sub-region where the object is currently located. If the object is in the second sub-region B, it checks whether the signal strength of the echo signal is greater than or equal to the sub-sensitivity threshold corresponding to the first main detection region. If the signal strength of the echo signal is greater than or equal to the sub-sensitivity threshold corresponding to the first main detection region, it can be determined that a human body exists within the first main detection region, and the smart clothes dryer turns off the ultraviolet light.
[0100] Exemplary device
[0101] Accordingly, embodiments of this application also provide a target detection device, such as... Figure 4As shown, the device may include: a first determining module 401, used to determine the target area where the object to be detected is located based on the detection signal if a detection signal is received, wherein the detection signal represents the signal returned after the object to be detected is detected within the detection area of the device; a second determining module 402, used to determine the target sensitivity threshold corresponding to the target area based on the target area; and an adjusting module 403, used to adjust the working mode of the device based on the detection signal and the target sensitivity threshold.
[0102] Optionally, the detection area includes at least two sub-regions corresponding to different sub-sensitivity thresholds. Correspondingly, when determining the target region where the object to be detected is located based on the detection signal, the first determining module 401 can be specifically used to: determine the sub-region where the object to be detected is currently located based on the detection signal, and determine the sub-region as the target region. Similarly, when determining the target sensitivity threshold corresponding to the target region based on the target region, the second determining module 402 can be specifically used to: determine the sub-sensitivity threshold corresponding to the sub-region where the object to be detected is currently located, and determine the sub-sensitivity threshold as the target sensitivity threshold.
[0103] The sub-sensitivity threshold is determined by the sub-region corresponding to the sub-sensitivity threshold, and the distance between the sub-region and the device is negatively correlated with the sub-sensitivity threshold corresponding to the sub-region.
[0104] Optionally, when determining the sub-region where the object to be detected is currently located based on the detection signal, the first determining module 401 may be specifically used to: acquire the flight time of the detection signal, whereby the flight time characterizes the time from when the device transmits the detection signal to when it receives the detection signal; calculate the distance between the object to be detected and the device based on the flight time; and determine the sub-region where the object to be detected is currently located based on the distance value.
[0105] Optionally, when adjusting the operating mode of the device based on the detection signal and the target sensitivity threshold, the adjustment module 403 can be used to: determine whether the detection signal matches the target sensitivity threshold; if the detection signal matches the target sensitivity threshold, then adjust the operating mode of the device.
[0106] Optionally, when adjusting the device's operating mode if the detection signal matches the target sensitivity threshold, the adjustment module 403 can be specifically used to: determine the object to be detected as the target object if the detection signal matches the target sensitivity threshold; and adjust the device's operating mode based on the target object.
[0107] Optionally, the device may include an auxiliary function module. When adjusting the device's operating mode, the adjustment module 403 can be used to: start or stop the auxiliary function module; or adjust the operating parameters of the auxiliary function module.
[0108] Exemplary electronic devices
[0109] Embodiments of this application provide an electronic device, which may be an Internet of Things (IoT) device, a gateway, or a server, and its internal structure diagram may be as follows: Figure 5 As shown. The electronic device includes a processor, memory, network interface, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database can be used to store the correspondence between sub-regions and sub-sensitivity thresholds. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements the target detection method according to various embodiments of this application described in the "Exemplary Methods" section above.
[0110] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0111] Exemplary device
[0112] Embodiments of this application also provide a clothes drying rack, such as... Figure 6 As shown, the clothes drying rack may include a control module 601 and a radar module 602 connected to the control module 601. The radar module 602 is used to transmit and receive detection signals; the control module 601 is used in conjunction with the radar module 602 to execute the target detection method as described in any of the above embodiments.
[0113] Optionally, the clothes drying rack may also include a drive module 603, a lighting module 604, a communication module 605, and a disinfection module 606. The drive module 603 may include a motor drive unit responsible for the lifting function controlled by the motor in the clothes drying rack; the lighting module 604 may include LED lights for providing illumination to the drying area; the communication module 605 includes a radio frequency unit, primarily for providing control methods such as Bluetooth remote control and / or wireless communication; and the disinfection module 606 may be an ultraviolet lamp for providing ultraviolet irradiation disinfection.
[0114] Exemplary computer program products and storage media
[0115] In addition to the methods and apparatus described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the target detection methods according to various embodiments of this application as described in the "Exemplary Methods" section of this specification.
[0116] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of this application. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0117] Furthermore, embodiments of this application may also be storage media storing a computer program thereon, the computer program being executed by a processor of the various steps in the target detection methods according to various embodiments of this application described in the "Exemplary Methods" section above.
[0118] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0119] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0120] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A target detection method, characterized in that, The method is applied to a device equipped with a radar module, the device being a clothes drying rack, and the clothes drying rack having a disinfection function; the method includes: If a detection signal is received, the sub-region where the object to be detected is currently located is determined based on the detection signal. The detection signal represents the signal returned after the object to be detected is detected within the detection area of the device. The detection area includes at least two sub-regions corresponding to different sub-sensitivity thresholds. The detection area is a clothes-drying area. The clothes-drying area is divided into three sub-regions. The first sub-region is where clothes are dried. The second sub-region is an area accessible to adults. The third sub-region is an area accessible to children or pets. The distance between the sub-region and the radar module is negatively correlated with the sub-sensitivity threshold corresponding to the sub-region. Based on the sub-region where the object to be detected is currently located, a sub-sensitivity threshold corresponding to the sub-region is determined, and the sub-sensitivity threshold is determined as the target sensitivity threshold; wherein, the sensitivity threshold characterizes the detection sensitivity of the device. The operating mode of the device is adjusted based on the detection signal and the target sensitivity threshold.
2. The method according to claim 1, characterized in that, Determining the sub-region where the object to be detected is currently located based on the detection signal includes: The flight time of the detection signal is obtained, wherein the flight time characterizes the time from when the device transmits the detection signal to when it receives the detection signal; Calculate the distance between the object to be detected and the device based on the flight time; Based on the distance value, the sub-region where the object to be detected is currently located is determined.
3. The method according to claim 1, characterized in that, Adjusting the operating mode of the device based on the detection signal and the target sensitivity threshold includes: Determine whether the detection signal matches the target sensitivity threshold; If the detection signal matches the target sensitivity threshold, the operating mode of the device is adjusted.
4. The method according to claim 3, characterized in that, If the detection signal matches the target sensitivity threshold, adjusting the operating mode of the device includes: If the detection signal matches the target sensitivity threshold, then the object to be detected is determined to be the target object; Based on the target object, adjust the operating mode of the device.
5. The method according to claim 1, characterized in that, The device includes auxiliary functional modules, and adjusting the operating mode of the device includes: Start or stop the auxiliary function module; Alternatively, adjust the operating parameters of the auxiliary functional modules.
6. A target detection device, characterized in that, Applied to equipment, the equipment is equipped with a radar module, the equipment is a clothes drying rack, and the clothes drying rack has a disinfection function; including: The first determining module is configured to, upon receiving a detection signal, determine the sub-region where the object to be detected is currently located based on the detection signal. The detection signal represents the signal returned after the object to be detected is detected within the detection area of the device. The detection area includes at least two sub-regions corresponding to different sub-sensitivity thresholds. The detection area is a clothes-drying area. The clothes-drying area is divided into three sub-regions. The first sub-region is the area where clothes are dried. The second sub-region is an area accessible to adults. The third sub-region is an area accessible to children or pets. The distance between the sub-region and the radar module is negatively correlated with the sub-sensitivity threshold corresponding to the sub-region. The second determining module is used to determine the sub-sensitivity threshold corresponding to the sub-region based on the sub-region where the object to be detected is currently located, and to determine the sub-sensitivity threshold as the target sensitivity threshold; wherein, the sensitivity threshold characterizes the detection sensitivity of the device; An adjustment module is used to adjust the operating mode of the device based on the detection signal and the target sensitivity threshold.
7. An electronic device, characterized in that, include: A processor, and a memory connected to the processor; The memory is used to store computer programs; The processor is used to call and execute the computer program in the memory to perform the target detection method as described in any one of claims 1-5.
8. A clothes drying rack, characterized in that, include: A control module and a radar module connected to the control module; The radar module is used to transmit and receive detection signals; The control module is used in conjunction with the radar module to perform the target detection method as described in any one of claims 1-5.
9. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the various steps of the target detection method as described in any one of claims 1-5.