Household appliance control method and apparatus, storage medium, and household appliance
By detecting the movement of objects within the target area and determining distance, the problem of false human recognition in home appliances has been solved, enabling more accurate functional response and intelligent control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG HOTATA TECH GRP
- Filing Date
- 2023-05-19
- Publication Date
- 2026-06-26
Smart Images

Figure CN116661325B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of home appliances, and in particular to a method, apparatus, storage medium, and home appliance control system. Background Technology
[0002] With the continuous advancement of technology, smart home appliances are becoming increasingly common in daily life. Existing home appliances typically incorporate human body sensors for intelligent control. Specifically, when a person is detected approaching, the appliance can respond accordingly to enhance the user experience.
[0003] However, existing technologies typically determine whether someone is approaching a home appliance based on whether a moving object is detected. When someone is detected approaching the appliance, the appliance is controlled to make a corresponding functional response. This method is prone to false recognition of human bodies, which affects the user experience. Summary of the Invention
[0004] This application provides a method, apparatus, storage medium, and home appliance control system, which can improve the accuracy of human body recognition and achieve accurate control of home appliances.
[0005] In a first aspect, embodiments of this application provide a method for controlling home appliances, including the following steps:
[0006] Detect whether any objects are moving within the target area;
[0007] When an object moves within the target area, the furthest distance between the moving object and the home appliance is obtained.
[0008] The furthest distance between the moving object and the home appliance is compared with a first preset distance and a second preset distance: if the furthest distance between the moving object and the home appliance is less than or equal to the first preset distance, the moving object is determined to be a non-target object; if the furthest distance between the moving object and the home appliance is greater than the second preset distance, the moving object is determined to be a target object; wherein the second preset distance is greater than or equal to the first preset distance.
[0009] If the moving object is a target object, a target function execution instruction is sent to the home appliance, so that the home appliance performs the target function according to the target function execution instruction.
[0010] Secondly, embodiments of this application provide a method for controlling home appliances, implemented by applying the method described in any of the above-mentioned methods.
[0011] Thirdly, embodiments of this application provide a home appliance control device, the device comprising: a detector and a controller; the controller being communicatively connected to the detector;
[0012] The detector is used to detect whether there is any movement of an object within the target area, and when there is movement of an object within the target area, it obtains the farthest distance between the moving object and the home appliance.
[0013] The controller is used to perform the steps of the home appliance control method as described in any one of the above claims. In a fourth aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the home appliance control method as described in any one of the above claims.
[0014] Fourthly, embodiments of this application provide a home appliance, including a memory, a processor, and a computer program stored in the memory and executable by the processor;
[0015] When the processor executes the computer program, it implements the steps of the home appliance control method as described in any of the above.
[0016] In this embodiment, by detecting whether an object is moving within the target area, when an object is moving within the target area, the moving object is determined to be a target object based on whether the furthest distance between the moving object and the home appliance is greater than a second preset distance. This avoids mistaking moving objects near the home appliance for target objects, improving the accuracy of target object identification. At the same time, once the moving object is determined to be a target object, a target function execution command is sent to the home appliance, enabling the home appliance to execute the target function according to the target function execution command. This allows the home appliance to automatically execute the target function when it recognizes a target object, improving the intelligence of the home appliance and the user experience.
[0017] To better understand and implement this invention, the following detailed description is provided in conjunction with the accompanying drawings. Attached Figure Description
[0018] Figure 1 This is a flowchart of a home appliance control method according to one embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram illustrating an application scenario of the home appliance control method in one embodiment of the present invention;
[0020] Figure 3 This is a flowchart of step S110 in one embodiment of the present invention;
[0021] Figure 4 This is a schematic diagram of a garment state in one embodiment of the present invention;
[0022] Figure 5 This is a schematic diagram of the structure of a home appliance control device in one embodiment of the present invention;
[0023] Figure 6 This is a schematic diagram of the structure of a household appliance in one embodiment of the present invention. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0025] It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other examples obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.
[0026] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the embodiments of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0027] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses, control systems, and methods consistent with some aspects of this application as detailed in the appended claims. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0028] Furthermore, in the description of this application, unless otherwise stated, "several" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0029] Existing technology typically treats a moving object as a human being when it is sensed approaching a home appliance, thus controlling the appliance to respond accordingly. However, for appliances such as clothes dryers, doors and windows, and electric curtains that are hung or installed high up, users have relatively low frequency of close contact with them. If insects or other non-human life forms approach, or if clothes on a clothes dryer or curtains on doors and windows are moved by external forces such as strong winds, these non-human life forms or inanimate objects are easily identified as human beings, causing the appliance to respond incorrectly and affecting the user experience.
[0030] Therefore, in order to address the above problems, this application provides a home appliance control method, which can reduce the false identification of people near home appliances and realize intelligent control of home appliances.
[0031] Please see Figure 1 The home appliance control method provided in this application includes the following steps:
[0032] S110: Detects whether any objects are moving within the target area;
[0033] The target area can be a designated sensing area, within which several detectors for detecting object movement can be installed. Alternatively, several detectors for detecting object movement in the target area can be installed on household appliances. The object in this application can refer to an object moving within the target area; it can refer to living beings such as pets or people, or non-living objects such as clothing or curtains.
[0034] The detector in this application can be an infrared detector, a microwave radar, or a camera, etc. Preferably, this application uses a microwave radar to detect whether there is movement of an object in the target area. The microwave radar uses electromagnetic waves of a specific frequency corresponding to the object being detected to perform the detection. Compared with other detectors, the microwave radar has higher detection accuracy and better detection effect.
[0035] S120: When an object moves within the target area, obtain the farthest distance between the moving object and the home appliance.
[0036] The distance between moving objects and household appliances can be detected using a detector module. This detector can be a microwave radar, ultrasonic measuring module, camera module, or other device used for distance measurement. The detector can be placed within the target area or on the household appliance itself.
[0037] Taking microwave radar as an example, when an object moves within the target area, the electromagnetic waves reflected back by the microwave radar change. The initial position of the moving target object can be determined based on the changing electromagnetic waves. The position change of the moving object can be continuously tracked and detected based on the electromagnetic waves. The distance between the current position of the moving object and the location of the home appliance is the distance between the moving object and the home appliance.
[0038] When a detector detects movement within the target area, it identifies the moving object as a moving object. Multiple detectors can be used. When determining whether a moving object is a target, the furthest distance detected by the detector between the moving object and the home appliance is used as the criterion for target identification, thereby improving the accuracy of target identification. S130: The furthest distance between the moving object and the home appliance is compared with a first preset distance and a second preset distance: if only the furthest distance between the moving object and the home appliance is less than or equal to the first preset distance, the moving object is determined to be a non-target object; if the furthest distance between the moving object and the home appliance is greater than the second preset distance, the moving object is determined to be a target object; wherein the second preset distance is greater than or equal to the first preset distance.
[0039] The target of this application can be a living organism such as a human or an animal.
[0040] The first preset distance can be a small distance that the user sets in advance. For example, when the appliance is a clothes dryer, the first preset distance can be set to 1.3 meters.
[0041] The second preset distance can be the same as the first preset distance, or the second preset distance can be greater than the first preset distance.
[0042] When the furthest distance between a moving object and a home appliance is less than or equal to a first preset distance, it indicates that the moving object is likely an object on or near the home appliance, rather than the target object to be identified in this application. For example, when the home appliance is a clothes dryer, the moving object could be clothes swaying on the dryer. In this case, if the determination of whether a target object is approaching the home appliance is based directly on whether a moving object is detected, it is easy to identify the object as a human body, thereby causing the home appliance to respond falsely.
[0043] When the furthest distance between a moving object and a home appliance is greater than the second preset distance, it indicates that the moving object is not an object on or near the home appliance. At this time, the moving object is considered to be the target object to be identified in this application, and step S140 is executed to realize the function response of approaching the target object.
[0044] When there are at least two moving objects, such as when there is a first moving object and a second moving object, if the farthest distance between the first moving object and the home appliance is less than or equal to a first preset distance, but at the same time the farthest distance between the second moving object and the home appliance is greater than a second preset distance, then the second moving object is determined to be the target object, and step S140 is executed, thereby ensuring that the home appliance can accurately realize the function response of approaching the target object.
[0045] S140: If the moving object is a target object, send a target function execution instruction to the home appliance, so that the home appliance executes the target function according to the target function execution instruction.
[0046] The target function execution instruction is used to control home appliances to perform target functions.
[0047] A target function can be the function that a home appliance performs when it senses a target object. The target function can be specifically set according to the type of home appliance and the user's needs.
[0048] It should be noted that the target function can be either turning on a function of a home appliance or turning off a function that is currently running on the home appliance.
[0049] The household appliances in this application may include, but are not limited to, clothes drying racks, electric fences, electric curtains, etc. The target function in step S130 can be set according to the specific type of household appliance. For example, when the household appliance is a clothes drying rack, its target function can be set to turn on the lighting function or turn off the disinfection function.
[0050] In one embodiment, the home appliance includes a lighting function; the step of sending a target function execution instruction to the home appliance specifically includes:
[0051] Send a lighting command to the home appliance, so that the home appliance can turn on the lighting function according to the lighting command;
[0052] And / or,
[0053] The home appliance includes a disinfection function. The step of sending a target function execution command to the home appliance specifically includes: when the disinfection function of the home appliance is turned on, sending a stop disinfection command to the home appliance so that the home appliance turns off the disinfection function according to the stop disinfection command.
[0054] Lighting commands are used to control the lighting function of home appliances, such as turning on the lights of home appliances. The lighting function of home appliances can be turned off by default and will only be turned on after receiving a lighting command, so as to provide lighting for people moving in the target area.
[0055] When the disinfection function of the home appliance is turned on, the appliance will disinfect a designated area. The disinfection area can be set according to the specific application scenario of the appliance. For example, when the appliance is a clothes drying rack, the area to be disinfected can be the drying area where the clothes are on the drying rack.
[0056] When the disinfection function of a home appliance is turned on, if a person or animal approaches, the disinfection process may pose a life-threatening risk to the life-bearing organisms in the target area. Therefore, in this embodiment of the application, when a moving object is identified as the target, the disinfection function of the home appliance is turned off to ensure the safety of the approaching target.
[0057] The "Stop Disinfection" command is used to turn off the disinfection function of home appliances, such as stopping the ultraviolet disinfection module or plasma disinfection module of the home appliance and turning on the disinfection function after receiving the disinfection command.
[0058] When the moving object is not the target object, no target function execution instruction is sent to the home appliance, and the home appliance does not execute the target function.
[0059] In this embodiment, by identifying moving objects within the target area and controlling the home appliances to turn on the lighting function or turn off the disinfection function based on the identification result, the home appliances can be controlled more intelligently, ensuring the safety of the target objects, reducing false triggering of the home appliances to turn on the lighting function or turn off the disinfection function, and saving energy.
[0060] Please see Figure 2 The following example uses a clothes drying rack as a household appliance and the human body as the target object to illustrate the application scenario of the household appliance control method of this application:
[0061] like Figure 2 As shown, multiple garments 300 are drying on the clothes drying rack 100. The clothes drying rack 100 includes multiple detectors 101, which are used to sense moving objects within the target area.
[0062] Depend on Figure 2 As can be seen, the clothes drying rack 100 is usually suspended at a high place, while there is always a certain distance between the human body 200 on the ground and the clothes drying rack 100. When the clothes 300 are blown by the wind, the detector 101 detects a moving object in the target area. The detected moving object (clothes 300) is relatively close to the clothes drying rack 100. At this time, if the detection of a moving object is directly used as the judgment condition for executing the target function of the clothes drying rack, the clothes 300 blown by the wind will be mistakenly identified as a human body, and the human body will be considered to be close to the clothes drying rack, thus triggering the response of the target function of the clothes drying rack 100. At this time, the clothes drying rack 100 is mistakenly triggered to execute the target function, resulting in waste of resources and affecting the user experience.
[0063] In this application, when the detector 101 detects a moving object in the target area, the farthest distance between the moving object detected by multiple detectors 101 and the clothes drying rack 100 is taken as the distance between the moving object and the clothes drying rack 100. When the distance between the moving object and the clothes drying rack 100 is greater than a first preset distance, and the moving object is considered not to be clothing or other objects that are close to the clothes drying rack 100, the moving object is regarded as a human body, and the clothes drying rack is controlled to perform the corresponding target function.
[0064] In this application, a moving object is considered a human body only when the furthest distance between the moving object and the home appliance is greater than a first preset distance. A target function execution command is sent to the home appliance to make it perform the corresponding target function. When the distance between the moving object and the home appliance is less than or equal to the first preset distance, the moving object is considered not a target object, and the home appliance does not perform the target function. By shielding moving objects near the home appliance, other living or non-living objects near the home appliance are avoided from being mistakenly identified as target objects, thereby improving the accuracy of human body recognition and realizing intelligent control of the home appliance.
[0065] In this embodiment, by detecting whether an object is moving within the target area, when an object is moving within the target area, the system determines whether the moving object is the target object based on whether the furthest distance between the moving object and the home appliance is greater than a second preset distance. This avoids mistaking moving objects near the home appliance for the target object, improving the accuracy of target object identification. Simultaneously, once the moving object is determined to be the target object, a target function execution command is sent to the home appliance, enabling the home appliance to execute the target function according to the target function execution command. This allows the home appliance to automatically execute the target function when it identifies the target object, improving the intelligence of the home appliance and the user experience.
[0066] In step S110, detecting whether there is movement of objects within the target area can be done periodically according to a user-defined time period.
[0067] In one embodiment, before executing step S130, it is possible to first determine whether there is a risk of misidentification of the target object. If it is determined that there is a risk of misidentification of the target object, then step S130 is executed to reduce the misidentification of the target object.
[0068] Specifically, such as Figure 3 As shown, before comparing the furthest distance between the moving object and the home appliance with the first preset distance and the second preset distance, the following steps are also included:
[0069] S210: Determine whether there is any non-human-caused movement in the target area; wherein, the non-human-caused movement means that the current environment may cause objects within the target area to move;
[0070] S220: After determining that there is non-human movement in the target area, the furthest distance between the moving object and the home appliance is compared with the first preset distance and the second preset distance to determine whether the moving object is the target object.
[0071] Non-human movement scenario is used to determine that objects in the current target area may be moved without human intervention, that is, the movement of objects caused by the natural environment.
[0072] Once it is determined that there is no human-caused movement in the target area, it is considered that there is a risk of misidentification of the target object. The target object is then identified by the target object identification method described in this application, thereby reducing the misjudgment of the target object.
[0073] Once it is determined that there is no non-human movement in the target area, the target object can be identified using existing target object recognition methods. For example, if the distance between a moving object and a household appliance is less than a third preset distance, the moving object is determined to be the target object; otherwise, the moving object is determined not to be the target object. The third preset distance can be greater than or equal to the first preset distance.
[0074] Determining whether there is any non-human movement in the target area can be done based on environmental parameters and / or image information.
[0075] Environmental parameters can include wind speed, light intensity, temperature, humidity, and other parameters. These parameters can be collected by environmental parameter acquisition devices installed within or outside the target area.
[0076] Environmental parameters can be parameters that easily cause objects in the target area to move. For example, when the household appliance is a clothes drying rack, the clothes drying on the rack are easily blown away by strong winds. In this case, environmental parameters can be parameters such as wind speed that easily cause the clothes to move.
[0077] In one embodiment, the step of determining whether there is non-human movement in the target area specifically includes:
[0078] Obtain wind speed information of the environment where the home appliance is located; when the wind speed is greater than the wind speed threshold, determine that there is non-human movement in the target area.
[0079] And / or,
[0080] To determine whether there has been any non-human movement in the target area, the following steps are taken:
[0081] The system collects image information of the target area of home appliances, determines the state of moving objects based on the image information, and determines whether there is non-human movement in the target area based on the state of the moving objects.
[0082] Wind speed can be detected using wind speed sensors installed in the target area or on household appliances.
[0083] Specifically, when the wind speed is greater than the wind speed threshold, it indicates that there is a strong wind in the current area, which can easily cause objects near the home appliances to move and make the target objects misidentified. Therefore, when the wind speed is greater than the wind speed threshold, it is determined that there is a non-human movement in the target area. By executing the above-mentioned home appliance control method of this application, the probability of target object misidentification is reduced, and the precise control of the home appliances is achieved.
[0084] When the wind speed is less than or equal to the wind speed threshold, it means that there is no strong wind in the current area, the probability of objects moving near the home appliances is low, and the probability of misidentification of the target object is low. Therefore, there is no need to implement the above-mentioned home appliance control method of this application to reduce the probability of human body misidentification. The home appliances can be controlled according to their general control methods to save energy.
[0085] Image information can be acquired through image acquisition devices installed in home appliances or target areas.
[0086] Specifically, when the state of the moving object is the target motion state, it is determined that there is a non-human-caused movement in the target area. The target motion state can be used to determine that the moving object is in a state of non-human-caused movement.
[0087] Specifically, in this embodiment of the application, when the household appliance is a clothes drying rack, the state of the moving object can be the state of the clothes drying on the clothes drying rack. The state of the clothes can include the deformation state of the clothes and the movement state of the clothes. The deformation state of the clothes can include a normal state and a deformed state, and the movement state of the clothes is used to determine whether the clothes are moving.
[0088] When the state of the clothing meets the target clothing state, it is determined that there is a non-human-caused movement in the target area.
[0089] The target garment state can include the target deformation state and the target motion state of the garment. Specifically, the target motion state can refer to the movement of the garment, and the target deformation state is used to determine the degree to which the shape of the garment changes. The specific settings can be configured according to user needs.
[0090] The target clothing state is used to determine when the clothing is in motion and its shape has changed to a certain extent.
[0091] The state of clothing can be determined by inputting clothing images into a user-pre-trained state recognition model. This model identifies the outline of the clothing in the image and compares it to the outline of clothing in its normal state to determine its state. The state recognition model can be pre-trained by the user using a large number of clothing images containing both normal and target clothing states.
[0092] like Figure 4 As shown, this is a schematic diagram of the clothing state in an exemplary embodiment. The clothing is in normal drying condition (normal state 401). When a strong wind blows, the clothing sways due to the wind, causing a certain deformation in the clothing outline identified by the clothing image. When the clothing state in the image changes to target clothing state 402, it indicates that the clothing is significantly swaying due to the wind. At this point, it is considered highly likely that the wind-blown clothing will be misidentified as the target object. Therefore, the steps of the aforementioned home appliance control method of this application are executed to improve the accuracy of target object identification.
[0093] Preferably, wind speed can also be used to determine if there is non-human movement in the target area, thereby improving the accuracy of target object identification and home appliance control. Specifically, when the state of the clothing meets the target clothing state and the wind speed is greater than a wind speed threshold, it is determined that there is non-human movement in the target area.
[0094] In step S140, the execution of the target function can also be related to the environment in which the home appliance is located. When the environment in which the home appliance is located is relatively harsh, in order to improve the user experience, the home appliance can be controlled to execute the corresponding target function to improve the user experience. When the environment in which the home appliance is located is good, there is no need to control the home appliance to execute the target function, thereby saving energy.
[0095] Specifically, whether a target function needs to be executed can be determined by environmental parameters related to the target function. For example, when the target function is lighting, the environmental parameter could be the light intensity related to the lighting function.
[0096] When the environmental parameters meet the conditions for activating the target function, and the moving object is the target object, a target function execution instruction is sent to the home appliance, so that the home appliance executes the target function according to the target function execution instruction.
[0097] The conditions for activating the target function can be specifically set according to the type of home appliance, the target function, and user needs.
[0098] In one embodiment, the environmental parameters may include light intensity, and the target function is a lighting function; the step of sending a target function execution instruction to the home appliance specifically includes:
[0099] When the light intensity is less than the light intensity threshold and the moving object is the target object, a lighting command is sent to the home appliance, causing the home appliance to turn on the lighting function according to the lighting command.
[0100] Light intensity can be detected using common light intensity detection devices such as light sensors placed within or outside the target area or on household appliances.
[0101] When the light intensity is less than the light intensity threshold, it means that the visibility of the current target area is low (e.g., at night or in special weather). When someone is active in the target area, they need to use an additional light source to see the surrounding environment. Therefore, when someone is detected to be active in the target area, the home appliance is controlled to turn on the lighting function to provide lighting for the person active in the target area, so that the user can move around in the target area.
[0102] When the light intensity is greater than or equal to the light intensity threshold, it indicates that the visibility of the current target area is high. Therefore, there is no need to send a target function execution command to the home appliance, and the home appliance will not turn on the lighting function to save energy.
[0103] In one embodiment, the determination of whether the moving object is the target object can also be based on the detected odor of the moving object.
[0104] Specifically, it also includes the following steps:
[0105] Obtain odor information;
[0106] When the furthest distance between the moving object and the home appliance is greater than a second preset distance and the odor information indicates the odor of the target object, the moving object is determined to be the target object.
[0107] Odor information can be collected using odor sensors placed in the target area or on home appliances;
[0108] When analyzing odor information, a pre-trained odor recognition model can be used to analyze the odor information. If the odor information indicates the odor of a target object, the moving object is identified as the target object. The odor recognition model can analyze the odor information and identify the substance emitting the odor based on the correspondence between the odor and the substance emitting the odor.
[0109] In this embodiment of the application, by acquiring odor information, analyzing the odor information to determine whether the moving object is a human body, and when it is determined that the moving object is a human body and the distance between the human body and the home appliance is greater than a first preset distance, the home appliance sends a target function execution command, thereby controlling the home appliance to execute the target function and improving the accuracy of human body recognition.
[0110] In step S140, after controlling the home appliance to perform the target function, the home appliance can continue to perform the target function, or the home appliance can continue to perform the target function until it receives a shutdown command from the user.
[0111] Alternatively, in another embodiment, after sending a target function execution instruction to the home appliance, causing the home appliance to execute the target function according to the target function execution instruction, the following steps are further included:
[0112] Continuously monitor the furthest distance between moving objects within the target area and the home appliances;
[0113] If the maximum distance between the moving object and the home appliance is less than a first preset distance and the duration of the maximum distance between the moving object and the home appliance being less than the first preset distance is greater than a time threshold, a target function stop execution command is sent to the home appliance, so that the home appliance stops executing the target function according to the target function stop execution command;
[0114] or,
[0115] When no moving object is detected in the target area, a target function stop execution command is sent to the home appliance, causing the home appliance to stop executing the target function according to the target function stop execution command.
[0116] The target function stop execution instruction is used to control home appliances to stop the execution of target functions.
[0117] It should be noted that when the target function being executed is to turn on a certain function of a home appliance, the target function stop execution command can be used to control the home appliance to stop executing that target function; when the target function being executed is to turn off a certain function of a home appliance, the target function stop execution command can be used to control the home appliance to turn that target function back on.
[0118] When no moving object is detected within the target area, and it is determined that the target object has moved away from the home appliance, a command to stop the execution of the target function is sent to the home appliance, causing the home appliance to stop executing the target function.
[0119] If the furthest distance between the moving object and the home appliance is less than the second preset distance, it means that the current moving object is relatively close to the home appliance. The previously identified target object may have moved away from the home appliance. In other words, the current moving object may be an object of the home appliance itself that has moved due to environmental factors. After detecting a moving object at close range for a certain period of time, it is determined that the target object has moved away from the home appliance. At this time, a target function stop execution command is sent to the home appliance to stop the home appliance from executing the target function.
[0120] In this embodiment, when no moving object is detected in the target area, or when the distance between the moving object and the home appliance is less than a first preset distance for a period of time, a target function stop execution command is sent to the home appliance to stop the execution of the target function, thereby saving energy. At the same time, by monitoring whether the duration of the distance between the moving object and the home appliance being less than the first preset distance is greater than a time threshold, the target function can be delayed in closing, thereby ensuring that the target function is turned off only when the user is sufficiently far away from the home appliance, thus improving the user experience.
[0121] This application also provides a clothes drying rack control method, implemented using the method described in any of the above embodiments. For details not disclosed in this embodiment, please refer to the above embodiments of this application.
[0122] like Figure 5 As shown, this application also provides a home appliance control device, the device including: a controller 501 and a detector 502; the controller 501 and the detector 502 are communicatively connected.
[0123] The detector 502 is used to detect whether there is any movement of an object within the target area, and when there is movement of an object within the target area, it obtains the farthest distance between the moving object and the home appliance.
[0124] The controller 501 is used to perform the steps of the home appliance control method as described in any of the above.
[0125] The detector 502 can be an infrared detector, a microwave radar, or a camera, etc. Preferably, this application uses a microwave radar to detect whether there is movement of objects in the target area. The microwave radar uses electromagnetic waves of a specific frequency corresponding to the object being detected to perform the detection. Compared with other detectors, the microwave radar has higher detection accuracy and better detection effect.
[0126] In one embodiment, the home appliance control device further includes a light sensor 503; the light sensor 503 is used to acquire the light intensity of the target area.
[0127] In one embodiment, the home appliance control device includes a wind speed detection sensor 504; the wind speed detection sensor 504 is used to acquire wind speed.
[0128] In one embodiment, when the home appliance is a clothes drying rack, the home appliance control device includes an image acquisition device 505; the image acquisition device 505 is used to acquire images of the clothes on the clothes drying rack.
[0129] In one embodiment, an odor sensor 506 is included; the odor sensor 506 is used to collect odor information.
[0130] It should be noted that the controller provided in the above embodiments is only illustrated by the division of the above functional modules when executing the home appliance control method. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the home appliance control device and the home appliance control method provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0131] like Figure 6 As shown, this application also provides a home appliance 600, including a memory 601, a processor 602, and a computer program stored in the memory 601 and executed by the processor 602. When the processor 602 executes the computer program, it implements the steps of the home appliance control method as described in any of the above claims.
[0132] The household appliances 600 in this application include, but are not limited to, clothes drying racks, electric fences, electric curtains, and other similar equipment.
[0133] In one embodiment, the home appliance 600 includes a plurality of detectors 603; the detectors 603 are used to detect whether an object is moving within a target area, and when an object is moving within the target area, to obtain the farthest distance between the moving object and the home appliance.
[0134] The detector 603 can be an infrared detector, a microwave radar, or a camera, etc. Preferably, this application uses a microwave radar to detect whether there is movement of an object in the target area. The microwave radar uses electromagnetic waves of a specific frequency corresponding to the object being detected to perform the detection. Compared with other detectors, the microwave radar has higher detection accuracy and better detection effect.
[0135] In one embodiment, the home appliance 600 includes a light sensor 604; the light sensor 604 is used to acquire the light intensity of a target area.
[0136] In one embodiment, the home appliance 600 includes a wind speed detection sensor 605; the wind speed detection sensor 605 is used to acquire the wind speed in a target area.
[0137] In one embodiment, when the home appliance 600 is a clothes drying rack, the home appliance 600 includes an image acquisition device 606; the image acquisition device 606 is used to acquire images of clothes on the clothes drying rack.
[0138] In one embodiment, the home appliance 600 includes an odor sensor 607; the odor sensor 607 is used to collect odor information of a target area.
[0139] In one embodiment, the home appliance 600 includes a lighting module 608; the lighting module 608 is used to turn on the lighting function according to the lighting command.
[0140] The lighting module 608 can be used for lighting equipment such as lamps.
[0141] In one embodiment, the home appliance 600 includes a disinfection module 609; when the disinfection function of the home appliance is turned on, the disinfection module 609 is used to turn off the disinfection function according to the stop disinfection command.
[0142] The disinfection module 609 can be an ultraviolet disinfection module, a plasma disinfection module, or other existing disinfection modules.
[0143] It should be noted that the lighting module 608 and the disinfection module 609 mentioned above are set according to the lighting / disinfection functions to be achieved by the home appliance. The home appliance 600 of this application may also be set with different functional modules according to other target functions to be achieved according to its specific needs, which is not limited here.
[0144] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the home appliance control method as described in any of the above claims.
[0145] The embodiments of this application may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to: phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0146] This invention is not limited to the above-described embodiments. If any modifications or variations to this invention do not depart from the spirit and scope of this invention, and if such modifications and variations fall within the scope of the claims and equivalent technologies of this invention, then this invention also intends to include such modifications and variations.
Claims
1. A method for controlling household appliances, characterized in that, Includes the following steps: Detect whether any objects are moving within the target area; When an object moves within the target area, obtain the furthest distance between the moving object and the home appliance. Compare the furthest distance between the moving object and the home appliance with the first preset distance and the second preset distance: If the furthest distance between a moving object and a home appliance is less than or equal to a first preset distance, the moving object is determined to be a non-target object; if the furthest distance between the moving object and the home appliance is greater than a second preset distance, the moving object is determined to be a target object; wherein the second preset distance is greater than or equal to the first preset distance. If the moving object is a target object, a target function execution instruction is sent to the home appliance, so that the home appliance executes the target function according to the target function execution instruction; Before comparing the furthest distance between the moving object and the home appliance with the first preset distance and the second preset distance, the following steps are also included: Determine whether there is any non-human-caused movement in the target area; wherein, the non-human-caused movement means that the current environment may cause objects within the target area to move; After determining that there is no human-caused movement in the target area, the furthest distance between the moving object and the home appliance is compared with the first preset distance and the second preset distance to determine whether the moving object is the target object.
2. The home appliance control method according to claim 1, characterized in that, To determine whether there has been any non-human movement in the target area, the following steps are taken: Obtain wind speed information of the environment where home appliances are located. When the wind speed is greater than the wind speed threshold, determine that there is non-human movement in the target area. And / or, To determine whether there has been any non-human movement in the target area, specifically: The system collects image information of the target area of home appliances, determines the state of moving objects based on the image information, and determines whether there is non-human movement in the target area based on the state of the moving objects.
3. The home appliance control method according to claim 1, characterized in that, Also includes: Obtain odor information; When the furthest distance between the moving object and the home appliance is greater than a second preset distance and the odor information indicates the odor of the target object, the moving object is determined to be the target object.
4. The home appliance control method according to claim 1, characterized in that, The home appliance includes a lighting function, and the steps of sending a target function execution instruction to the home appliance specifically include: Send a lighting command to the home appliance, so that the home appliance can turn on the lighting function according to the lighting command; And / or, The home appliance includes a disinfection function. The step of sending a target function execution command to the home appliance specifically includes: when the disinfection function of the home appliance is turned on, sending a stop disinfection command to the home appliance so that the home appliance turns off the disinfection function according to the stop disinfection command.
5. The home appliance control method according to claim 1, characterized in that, After sending a target function execution instruction to the home appliance, causing the home appliance to execute the target function according to the target function execution instruction, the following steps are also included: Continuously monitor the furthest distance between moving objects within the target area and the home appliances; If the maximum distance between the moving object and the home appliance is less than a first preset distance and the duration of the maximum distance between the moving object and the home appliance being less than the first preset distance is greater than a time threshold, a target function stop execution command is sent to the home appliance, so that the home appliance stops executing the target function according to the target function stop execution command; or, When no moving object is detected in the target area, a target function stop execution command is sent to the home appliance, causing the home appliance to stop executing the target function according to the target function stop execution command.
6. A method for controlling a clothes drying rack, characterized in that, Implemented by applying the method as described in any one of claims 1-5.
7. A control device for household appliances, characterized in that, The device includes: a detector and a controller; the controller is communicatively connected to the detector; The detector is used to detect whether there is any movement of an object within the target area, and when there is movement of an object within the target area, it obtains the farthest distance between the moving object and the home appliance. The controller is used to perform the steps of the home appliance control method as described in any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the steps of the home appliance control method as described in any one of claims 1-5.
9. A household appliance, characterized in that, Includes a memory, a processor, and a computer program stored in the memory and executable by the processor; When the processor executes the computer program, it implements the steps of the home appliance control method as described in any one of claims 1-5.