Humidifier control method
By recognizing pets in real-time images and adjusting humidifier parameters, the problem that humidifiers are easily damaged by pets is solved, and the safety of the equipment and user experience are improved.
Patent Information
- Application Number
- CN202510131339.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-06
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2045-02-06
AI Technical Summary
Existing humidifiers are susceptible to damage or influence from pets, causing damage to the equipment to dump.
By collecting real-time images within the predetermined range of the humidifier, determine whether there is a pet, and adjust the mist output amount, motor speed and operating mode of the humidifier according to the pet's facial features and walking characteristics to reduce the attraction to the pet.
It effectively avoids the damage of the humidifier by pets and improves the user experience.
Smart Images

Figure CN119573215B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of humidifier control, and in particular to a humidifier control method. Background Art
[0002] As people pay more attention to the quality of life and air health, humidifiers are becoming an indispensable household appliance in the home.
[0003] Due to the popularity of smart electrical appliances, humidifiers are now more intelligent and can automatically adjust the amount of mist according to the humidity in the room. This causes the mist sprayed by the humidifier to be sometimes large and sometimes small when it is running, and the running sound is also sometimes loud and sometimes soft. This phenomenon is very attractive to pets, and it is very easy to attract them to get close and then pull and shake the humidifier, which can easily cause the humidifier to tip over and be damaged. Summary of the invention
[0004] The present invention provides a humidifier control method, which is used to solve the defect in the prior art that the humidifier is easily damaged or affected by pets.
[0005] The present invention provides a humidifier control method, the humidifier control method comprising:
[0006] Collecting real-time images within a predetermined range of the humidifier, and determining whether there is a pet based on the real-time images;
[0007] When there is a pet within a predetermined range of the humidifier and the pet is moving toward the humidifier, obtaining a first real-time distance between the humidifier and the pet;
[0008] When the first real-time distance is less than or equal to the first preset distance, obtaining a first attraction feature of the pet based on the real-time image, and determining whether the first attraction feature meets a first preset attraction condition, the first attraction feature including facial features and walking features of the pet;
[0009] If the first suction feature satisfies the first preset suction condition, the mist output and the motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to an intermittent mist output mode;
[0010] In the intermittent misting mode, a second attraction feature of the pet is acquired based on the real-time image and the ambient sound around the humidifier is acquired, and based on the second attraction feature and the ambient sound, it is determined whether the pet meets a second preset attraction condition;
[0011] If the pet meets the second preset attraction condition, the motor speed of the humidifier is adjusted to the maximum value, and the light of the humidifier is turned off.
[0012] According to a humidifier control method provided by the present invention, real-time images within a predetermined range of the humidifier are collected, and whether a pet is present is determined based on the real-time images, including:
[0013] When a target to be identified is detected in the real-time image, key features of the target to be identified are extracted, and the key features are compared with corresponding features in a preset pet feature database;
[0014] Determine the similarity between the key feature and the corresponding feature in the preset pet feature database by using a similarity formula;
[0015] When the similarity is greater than or equal to a preset similarity threshold, the target to be identified is identified as a pet.
[0016] According to a humidifier control method provided by the present invention, when a pet exists within a predetermined range of the humidifier and the pet is in a state of moving toward the humidifier, obtaining a first real-time distance between the humidifier and the pet includes:
[0017] Determine the facial orientation direction of the pet based on the real-time image, and obtain the direction angle between the facial orientation direction and the direction of the humidifier with the location of the pet as the starting point;
[0018] Continuously acquiring a plurality of the real-time images, and determining whether the distance between the pet and the humidifier is shortened based on the plurality of real-time images;
[0019] If the direction angle is less than or equal to the preset angle and the distance between the pet and the humidifier is shortened, it is determined that the pet is in a state of moving toward the humidifier;
[0020] When the pet is in a state of moving toward the humidifier, the first real-time distance is acquired based on the real-time image.
[0021] According to a humidifier control method provided by the present invention, when a first real-time distance is less than or equal to a first preset distance, a first attraction feature of the pet is acquired based on the real-time image, and it is determined whether the first attraction feature meets a first preset attraction condition, wherein the first attraction feature includes facial features and walking features of the pet, including:
[0022] Acquire facial features and walking features of the pet based on the real-time image;
[0023] Determining whether the facial features meet a facial attraction condition, and determining whether the walking features meet a walking attraction condition;
[0024] When the facial feature satisfies the facial attraction condition and the walking feature satisfies the walking attraction condition, the first attraction feature satisfies the first preset attraction condition.
[0025] According to a humidifier control method provided by the present invention, judging whether the facial features meet the facial attraction condition includes:
[0026] Determining eye features of the pet using the facial features, and comparing the eye features with standard eye features in the preset pet feature database;
[0027] When the difference between the eye size information corresponding to the eye feature and the eye size information corresponding to the standard eye feature is greater than or equal to a first preset value, it is determined that the facial feature meets the facial attraction condition.
[0028] According to a humidifier control method provided by the present invention, judging whether the walking feature meets the walking attraction condition includes:
[0029] Acquire the pet's pace characteristics, speed characteristics, head characteristics and body center of gravity characteristics based on the walking characteristics;
[0030] Based on the step feature, determine whether the pet's walking steps are in a paused state; based on the speed feature, determine whether the pet's walking speed is lower than a preset normal speed; based on the head feature, determine whether the pet's head is lower than a predetermined height; and based on the body center of gravity feature, determine whether the pet's body center of gravity is in a forward-leaning downward state;
[0031] When the pet's walking pace is in a paused state, the pet's walking speed is lower than a preset normal speed, the pet's head is lower than a predetermined height, and the pet's body center of gravity is in a forward-leaning downward state, the walking characteristics meet the walking attraction condition.
[0032] According to a humidifier control method provided by the present invention, if the first suction feature satisfies a first preset suction condition, the mist output amount and the motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to an intermittent mist output mode, including:
[0033] When the first suction feature meets the first preset suction condition, the humidifier is controlled to increase the mist output by 10%, the motor speed of the humidifier is controlled to increase by 10%, and the operation mode of the humidifier is switched to the intermittent mist output mode.
[0034] According to a humidifier control method provided by the present invention, in the intermittent misting mode, a second attraction feature of the pet is obtained based on the real-time image and the ambient sound around the humidifier is obtained, and based on the second attraction feature and the ambient sound, it is determined whether the pet meets a second preset attraction condition, wherein the second attraction feature is specifically a speed feature, including:
[0035] In the intermittent misting mode, the real-time speed is compared with the speed at the last moment before switching to the intermittent misting mode based on the speed feature;
[0036] When the real-time speed is greater than the speed at the last moment before switching to the intermittent misting mode, determining whether the sound source position of the ambient sound is in the direction of the pet's face;
[0037] If the sound source of the ambient sound is in the direction of the pet's face, controlling the humidifier to maintain the current operating state and operating parameters;
[0038] If the sound source position of the ambient sound is not in the direction of the pet's face, the pet meets the second preset attraction condition.
[0039] According to a humidifier control method provided by the present invention, the method further includes:
[0040] When the distance between the humidifier and the pet is greater than a first preset distance, the humidifier is controlled to operate in an initial operating state and with initial operating parameters.
[0041] According to a humidifier control method provided by the present invention, in the intermittent misting mode, the real-time speed is compared with the speed at the last moment before switching to the intermittent misting mode based on the speed feature, including:
[0042] Based on the speed feature, an average value of the speed in a first time period after the humidifier is switched to the intermittent misting mode is used as the real-time speed;
[0043] Based on the speed feature, the average value of the speed in the last first time period before the humidifier switches to the intermittent misting mode is used as the speed at the last moment before the intermittent misting mode;
[0044] The real-time speed is compared with the speed at the last moment before switching to the intermittent misting mode.
[0045] A humidifier control method provided by the present invention comprises: collecting real-time images within a predetermined range of the humidifier, and judging whether there is a pet based on the real-time images; when there is a pet within the predetermined range of the humidifier and the pet is in a state of moving toward the humidifier, obtaining a first real-time distance between the humidifier and the pet; when the first real-time distance is less than or equal to a first preset distance, obtaining a first attraction feature of the pet based on the real-time image, and judging whether the first attraction feature meets a first preset attraction condition, the first attraction feature including the facial features and walking features of the pet; if the first attraction feature meets the first preset attraction condition If the pet meets the second preset attraction condition, the mist output and motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to the intermittent mist output mode; in the intermittent mist output mode, the second attraction feature of the pet is obtained based on the real-time image and the ambient sound around the humidifier is obtained, and based on the second attraction feature and the ambient sound, it is judged whether the pet meets the second preset attraction condition; if the pet meets the second preset attraction condition, the motor speed of the humidifier is adjusted to the maximum value, and the light of the humidifier is turned off. By detecting the status of the pet in real time, the influence or damage of the pet on the humidifier can be avoided, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 is a flow chart of a humidifier control method provided by an embodiment of the present invention;
[0048] Figure 2 It is a flow chart of a humidifier control method provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0051] Today's humidifiers are smarter and can automatically adjust the amount of mist according to the room's dryness and humidity. This causes the mist sprayed out by the humidifier to be sometimes large and sometimes small when it is running, and the running sound is also sometimes loud and sometimes soft. This phenomenon is very attractive to pets, and it is very easy for them to get close and then pull and shake the humidifier, which can easily cause the humidifier to tip over and be damaged.
[0052] In response to the above problems, the present invention proposes a humidifier control method for identifying approaching individuals. When it is identified that a pet is attracted to the humidifier and approaches, the humidifier's attractiveness to the pet is reduced by temporarily changing the humidifier's working parameters. When the pet moves away from the humidifier, the original working parameters are restored to reduce the probability of the humidifier being damaged by the pet.
[0053] Combine the following Figure 1 to Figure 2 A humidifier control method of the present invention is described.
[0054] Figure 1 It is a flow chart of a humidifier control method provided by an embodiment of the present invention.
[0055] like Figure 1 As shown, a humidifier control method provided in this embodiment mainly includes the following steps:
[0056] Step S100, collecting real-time images within a predetermined range of the humidifier, and determining whether there is a pet based on the real-time images.
[0057] Step S200: When a pet exists within a predetermined range of the humidifier and the pet is moving toward the humidifier, a first real-time distance between the humidifier and the pet is obtained.
[0058] Step S300, when the first real-time distance is less than or equal to the first preset distance, obtain the first attraction feature of the pet based on the real-time image, and determine whether the first attraction feature meets the first preset attraction condition, the first attraction feature including the facial features and walking features of the pet.
[0059] Step S400: If the first suction feature satisfies the first preset suction condition, the mist output and the motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to an intermittent mist output mode.
[0060] Step S500, in the intermittent misting mode, obtain the second attraction feature of the pet based on the real-time image and obtain the ambient sound around the humidifier, and determine whether the pet meets the second preset attraction condition based on the second attraction feature and the ambient sound.
[0061] Step S600: If the pet meets the second preset attraction condition, the motor speed of the humidifier is adjusted to the maximum value and the light of the humidifier is turned off.
[0062] In step S100, with the humidifier as the center, real-time images within a predetermined range of the humidifier are collected. The predetermined range can be flexibly adjusted according to specific application scenarios or application needs. At the same time, real-time images can be collected by using a built-in camera or other image acquisition device in the humidifier. By analyzing the objects appearing in the real-time image, it is determined whether there are pets. The pets include but are not limited to pet cats, pet dogs, and pet foxes. Furthermore, before the humidifier is used, the type of pet that needs to be monitored can be determined by sending pet type determination information to the user. For example, before the user uses the humidifier, it can be determined from the user whether there are pets and the type of pets in his or her home. Taking a pet cat as an example, if there is a pet cat in the user's home, the humidifier in the user's home can only determine whether there is a pet cat during operation, which can reduce the judgment process or reduce power consumption. The accuracy of the pet identification process can also be effectively improved through the judgment process for a single target.
[0063] In step S200, after detecting the presence of a pet within a predetermined range, the status and behavior of the pet need to be detected. When the pet is in a state of moving toward the humidifier, it means that there is a possibility that the pet is attracted by the humidifier, and the possibility is high. At this time, the real-time distance between the humidifier and the pet needs to be monitored, and the real-time distance is recorded as the first real-time distance.
[0064] In step S300, the first preset distance refers to a safe distance, which can be understood as when the distance between the pet and the humidifier is less than or equal to the first preset distance, the pet at this time poses a greater threat to the humidifier. At this time, it is necessary to further determine whether the pet really poses a threat to the humidifier or the pet is attracted to the humidifier. In this step, the first attraction feature of the pet is first obtained through the real-time image. The first attraction feature includes the facial features and walking features of the pet, such as the pet's walking posture, walking speed, etc. The first attraction feature is used to determine whether the first preset attraction condition is met. The first preset attraction condition can be obtained by the staff through testing and summarizing the features of various pets when they are attracted to the humidifier.
[0065] In step S400, when the first attraction feature meets the first preset attraction condition, the mist output and motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to the intermittent mist output mode. The purpose of this action is to adjust the operation mode and operation parameters of the humidifier to further determine whether the pet is really attracted by the humidifier.
[0066] In step S500, when the intermittent misting mode is changed, some special conditions of the pet are not necessarily caused by the humidifier, but may also be caused by the ambient sound around the humidifier. Therefore, in this step, it is necessary to eliminate other interferences through ambient sound, and further determine whether the second preset attraction condition is met through the second attraction feature of the pet.
[0067] In step S600, when the pet meets the second preset attraction condition, the motor speed of the humidifier is adjusted to the maximum value and the light of the humidifier is turned off to reduce the attraction of the light to the pet. At the same time, increasing the motor speed can also effectively drive away the pet.
[0068] Furthermore, if the humidifier has a built-in atomization temperature adjustment function, step S600 may also include: adjusting the mist temperature to the highest temperature opposite to the ambient temperature. That is, this embodiment can also enhance the pet-repelling effect by adjusting the mist temperature of the humidifier to the highest value opposite to the ambient temperature, wherein the current ambient temperature can be confirmed according to the time information built into the humidifier or the time information sent by the control terminal. For example, if the time received by the humidifier is June, it is considered to be summer. At the same time, when it is spring or summer, the mist temperature can be adjusted to the lowest. On the contrary, if it is autumn or winter, the mist temperature can be adjusted to the highest.
[0069] Reference Figure 1 In one embodiment, the step S100 of collecting a real-time image within a predetermined range of the humidifier and determining whether a pet exists based on the real-time image includes:
[0070] Step S110, when the target to be identified is detected in the real-time image, the key features of the target to be identified are extracted, and the key features are compared with the corresponding features in the preset pet feature database. In this embodiment, the target to be identified is a target with biological features. Therefore, when a target without biological features appears in the humidifier, there is no need to perform the subsequent humidifier control process. For example, the passing of a sweeping robot or a toy car is not considered as a target to be identified, so as to reduce the recognition frequency. After the target to be identified is detected, the key features are extracted. The key features refer to the features that best indicate or identify the identity of the target to be identified, such as cat ears, dog mouths, fox tails, etc., so as to quickly identify the identity of the target to be identified. The specific identification is achieved through a preset pet feature database, which contains the key features of various pets and can be updated in real time to improve the recognition accuracy.
[0071] Step S120, the similarity between the key feature and the corresponding feature in the preset pet feature database is determined by a similarity formula. In this embodiment, since each pet has its own uniqueness, it is impossible to achieve a complete match between the key feature of the pet and the corresponding feature in the preset pet feature database. Therefore, the similarity between the two is determined by a similarity formula. When the similarity is greater than or equal to the similarity threshold, it is assumed that the two are features of the same pet type, and the target to be identified can be identified as a pet.
[0072] Step S130: when the similarity is greater than or equal to a preset similarity threshold, the target to be identified is identified as a pet.
[0073] Reference Figure 1 In one embodiment, when there is a pet within a predetermined range of the humidifier and the pet is in a state of moving toward the humidifier, the step S200 of obtaining a first real-time distance between the humidifier and the pet includes:
[0074] Step S210, based on the real-time image, determine the facial orientation of the pet, and obtain the direction angle between the facial orientation and the direction of the humidifier with the pet's location as the starting point. In this embodiment, the direction angle is used to determine whether the pet's facial orientation is the direction of the humidifier. Specifically, with the pet's location as the starting point, the pet's facial orientation is the first edge, the starting point and the direction of the humidifier generate the second edge, and the first edge and the second edge form a direction angle.
[0075] Step S220, continuously acquiring a plurality of the real-time images, and determining whether the distance between the pet and the humidifier is shortened based on the plurality of real-time images. In this embodiment, by acquiring a plurality of continuous real-time images, it is determined whether the distance between the pet and the humidifier is shortened. Furthermore, the distance between the pet and the humidifier can also be determined by infrared rays, and whether the distance between the pet is shortened is determined by the emission time and return time of the infrared rays.
[0076] Step S230: If the direction angle is less than or equal to the preset angle and the distance between the pet and the humidifier is shortened, it is determined that the pet is in a state of moving toward the humidifier. In this embodiment, when the direction angle is less than or equal to the preset angle and the distance between the pet and the humidifier is shortened, it means that the pet is moving in the direction of the humidifier. At this time, it can be determined that the pet is in a state of moving toward the humidifier.
[0077] Step S240: when the pet is in a state of moving toward the humidifier, the first real-time distance is acquired based on the real-time image.
[0078] Reference Figure 1 In one embodiment, when the first real-time distance is less than or equal to the first preset distance, a first attraction feature of the pet is acquired based on the real-time image, and it is determined whether the first attraction feature satisfies a first preset attraction condition, wherein the first attraction feature includes a facial feature and a walking feature of the pet, step S300 includes:
[0079] Step S310, acquiring facial features and walking features of the pet based on the real-time image. In this embodiment, facial features include but are not limited to facial expressions, states of facial organs, etc., and walking features include but are not limited to walking speed, walking state, etc.
[0080] Step S320, determining whether the facial features meet the facial attraction condition, and determining whether the walking features meet the walking attraction condition.
[0081] Step S330: When the facial feature satisfies the facial attraction condition and the walking feature satisfies the walking attraction condition, the first attraction feature satisfies the first preset attraction condition. In this embodiment, by combining the facial feature and the walking feature, it is determined to the maximum extent whether the first attraction feature satisfies the first preset attraction condition.
[0082] In one embodiment, step S320 of determining whether the facial features meet the facial attraction condition includes:
[0083] Step S321, determining the eye features of the pet through the facial features, and comparing the eye features with the standard eye features in the preset pet feature database;
[0084] Step S322: When the difference between the eye size information corresponding to the eye feature and the eye size information corresponding to the standard eye feature is greater than or equal to a first preset value, it is determined that the facial feature meets the facial attraction condition.
[0085] In this embodiment, since the eye feature can best express whether the pet is attracted, the facial feature is mainly based on the eye feature. When the difference between the eye size information corresponding to the eye feature and the eye size information corresponding to the standard eye feature is greater than or equal to a first preset value, it means that the pet's eyes are wide open. This state often occurs when the pet is attracted to something. Therefore, at this time, it can be determined that the facial feature meets the facial attraction condition.
[0086] In one embodiment, step S320 of determining whether the walking feature satisfies the walking attraction condition includes:
[0087] Step S323, obtaining the pet's pace characteristics, speed characteristics, head characteristics and body center of gravity characteristics based on the walking characteristics;
[0088] Step S324, judging whether the pet's walking pace is in a pause state based on the pace feature, judging whether the pet's walking speed is lower than a preset normal speed based on the speed feature, judging whether the pet's head is lower than a predetermined height based on the head feature, and judging whether the pet's body center of gravity is in a forward-leaning downward state based on the body center of gravity feature;
[0089] Step S325, when the pet's walking pace is in a pause state and the pet's walking speed is lower than the preset normal speed and the pet's head is lower than a predetermined height and the pet's body center of gravity is in a forward and downward state, the walking characteristics meet the walking attraction conditions.
[0090] In this embodiment, the walking characteristics include but are not limited to the above-mentioned pace characteristics, speed characteristics, head characteristics and body center of gravity characteristics. Through routine implementation, it can be known that after the pet is attracted, the body center of gravity is generally in a forward and downward state, the head is lower than the normal height, the walking pace is in a paused state, and the walking speed is lower than the preset normal speed. It is understandable that the staff can flexibly adjust the requirements of the walking characteristic conditions according to the specific situation and the type of pet to meet different needs.
[0091] Reference Figure 1 In one embodiment, if the first attraction feature satisfies the first preset attraction condition, the mist output and the motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to the intermittent mist output mode, step S400, includes:
[0092] Step S410, when the first attraction feature meets the first preset attraction condition, the humidifier is controlled to increase the mist output by 10%, and the motor speed of the humidifier is controlled to increase by 10%, and the operation mode of the humidifier is switched to the intermittent mist output mode. In this embodiment, the mist output and the motor speed are increased by 10% to further determine whether the pet is attracted by the humidifier, because after increasing the mist output and the motor speed, the humidifier's attraction to the pet will be further increased. Therefore, after the above adjustment, further determining whether the second attraction feature meets the second preset attraction condition can make the judgment result more accurate and eliminate other interference.
[0093] Reference Figure 1 In one embodiment, in the intermittent misting mode, a second attraction feature of the pet is obtained based on the real-time image and the ambient sound around the humidifier is obtained, and based on the second attraction feature and the ambient sound, it is determined whether the pet meets a second preset attraction condition, wherein the second attraction feature is specifically a speed feature, step S500 includes:
[0094] Step S510, in the intermittent misting mode, the real-time speed is compared with the speed at the last moment before switching to the intermittent misting mode based on the speed feature.
[0095] Step S520, when the real-time speed is greater than the speed at the last moment before switching to the intermittent misting mode, it is determined whether the sound source position of the ambient sound is in the direction of the pet's face.
[0096] Step S530: If the sound source of the ambient sound is in the direction of the pet's face, the humidifier is controlled to maintain the current operating state and operating parameters.
[0097] Step S540: If the sound source position of the ambient sound is not in the direction of the pet's face, the pet meets the second preset attraction condition.
[0098] In this embodiment, the interference of other factors is first eliminated. Specifically, when the real-time speed is greater than the speed at the last moment before switching to the intermittent misting mode, it means that the pet is in a state of being further attracted. At this time, the sound source position of the ambient sound is determined, and it is determined whether the sound source position is in the direction of the pet's face. If so, the pet is attracted by the sound source, and the humidifier does not need to be adjusted at this time. If the sound source position is not in the direction of the pet's face, the pet is attracted by the humidifier.
[0099] Reference Figure 2 In one embodiment, the method further comprises:
[0100] Step S700, when the distance between the humidifier and the pet is greater than the first preset distance, the humidifier is controlled to operate in the initial operating state and initial operating parameters. In this embodiment, when the distance between the humidifier and the pet is greater than the first preset distance, it means that the humidifier is in a safe state, and the humidifier does not attract the pet. At this time, the humidifier returns to the initial operating state and initial operating parameters when it was first operated.
[0101] Reference Figure 1 In one embodiment, in the intermittent misting mode, step S510 of comparing the real-time speed with the speed at the last moment before switching to the intermittent misting mode based on the speed feature includes:
[0102] Step S511, based on the speed feature, taking the average value of the speed in the first time period after the humidifier is switched to the intermittent misting mode as the real-time speed.
[0103] Step S512: based on the speed characteristic, the average value of the speed in the last first time period after the humidifier is switched to the intermittent misting mode is used as the speed at the last moment before the intermittent misting mode.
[0104] Step S513, comparing the real-time speed with the speed at the last moment before switching to the intermittent misting mode.
[0105] In this embodiment, the moment when the humidifier switches to the intermittent misting mode is taken as the dividing point, the average value of the speed in the last first time period before the dividing point is taken as the speed at the last moment before the intermittent misting mode, and the average value of the speed in the first time period after the dividing point is taken as the real-time speed, wherein the first time period can be adjusted according to the specific application scenario. Optionally, the first time period is 10s.
[0106] The present invention provides a humidifier control method, which includes: collecting real-time images within a predetermined range of the humidifier, and judging whether there is a pet based on the real-time images; when there is a pet within the predetermined range of the humidifier and the pet is in a state of moving toward the humidifier, obtaining a first real-time distance between the humidifier and the pet; when the first real-time distance is less than or equal to a first preset distance, obtaining a first attraction feature of the pet based on the real-time image, and judging whether the first attraction feature meets a first preset attraction condition, the first attraction feature including facial features and walking features of the pet; if the first attraction feature meets the first preset attraction condition, A preset attraction condition is met, the mist output and the motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to the intermittent mist output mode; in the intermittent mist output mode, the second attraction feature of the pet is obtained based on the real-time image and the ambient sound around the humidifier is obtained, and based on the second attraction feature and the ambient sound, it is judged whether the pet meets the second preset attraction condition; if the pet meets the second preset attraction condition, the motor speed of the humidifier is adjusted to the maximum value, and the light of the humidifier is turned off. By performing real-time detection of the status of the pet, the influence or damage of the pet on the humidifier is avoided, thereby improving the user experience.
[0107] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A humidifier control method, characterized in that: The humidifier control method comprises: Collecting real-time images within a predetermined range of the humidifier, and determining whether there is a pet based on the real-time images; When there is a pet within the predetermined range of the humidifier and the pet is moving toward the humidifier, obtaining a first real-time distance between the humidifier and the pet; When the first real-time distance is less than or equal to the first preset distance, obtaining a first attraction feature of the pet based on the real-time image, and determining whether the first attraction feature meets a first preset attraction condition, the first attraction feature including facial features and walking features of the pet; If the first suction feature satisfies the first preset suction condition, the mist output and the motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to an intermittent mist output mode; In the intermittent misting mode, a second attraction feature of the pet is acquired based on the real-time image and the ambient sound around the humidifier is acquired, and based on the second attraction feature and the ambient sound, it is determined whether the pet meets a second preset attraction condition; If the pet meets the second preset attraction condition, the motor speed of the humidifier is adjusted to the maximum value to drive the pet away, and the light of the humidifier is turned off to reduce the attraction to the pet; Wherein, in the intermittent misting mode, a second attraction feature of the pet is obtained based on the real-time image and the ambient sound around the humidifier is obtained, and based on the second attraction feature and the ambient sound, it is determined whether the pet meets the second preset attraction condition, and the second attraction feature is specifically a speed feature, including: In the intermittent misting mode, the real-time speed is compared with the speed at the last moment before switching to the intermittent misting mode based on the speed feature; When the real-time speed is greater than the speed at the last moment before switching to the intermittent misting mode, determining whether the sound source position of the ambient sound is in the direction of the pet's face; If the sound source of the ambient sound is in the direction of the pet's face, controlling the humidifier to maintain the current operating state and operating parameters; If the sound source position of the ambient sound is not in the direction of the pet's face, the pet meets the second preset attraction condition.
2. The humidifier control method according to claim 1, characterized in that: Collecting a real-time image within a predetermined range of the humidifier, and determining whether a pet is present based on the real-time image, including: When a target to be identified is detected in the real-time image, key features of the target to be identified are extracted, and the key features are compared with corresponding features in a preset pet feature database; Determine the similarity between the key feature and the corresponding feature in the preset pet feature database by using a similarity formula; When the similarity is greater than or equal to a preset similarity threshold, the target to be identified is identified as a pet.
3. The humidifier control method according to claim 2, characterized in that: When there is a pet within a predetermined range of the humidifier and the pet is in a state of moving toward the humidifier, obtaining a first real-time distance between the humidifier and the pet includes: Determine the facial orientation direction of the pet based on the real-time image, and obtain the direction angle between the facial orientation direction and the direction of the humidifier with the location of the pet as the starting point; Continuously acquiring a plurality of the real-time images, and determining whether the distance between the pet and the humidifier is shortened based on the plurality of real-time images; If the direction angle is less than or equal to the preset angle and the distance between the pet and the humidifier is shortened, it is determined that the pet is in a state of moving toward the humidifier; When the pet is in a state of moving toward the humidifier, the first real-time distance is acquired based on the real-time image.
4. The humidifier control method according to claim 3, characterized in that: When the first real-time distance is less than or equal to the first preset distance, a first attraction feature of the pet is acquired based on the real-time image, and it is determined whether the first attraction feature meets a first preset attraction condition, wherein the first attraction feature includes facial features and walking features of the pet, including: Acquire facial features and walking features of the pet based on the real-time image; Determining whether the facial features meet a facial attraction condition, and determining whether the walking features meet a walking attraction condition; When the facial feature satisfies the facial attraction condition and the walking feature satisfies the walking attraction condition, the first attraction feature satisfies the first preset attraction condition.
5. The humidifier control method according to claim 4, characterized in that: Determining whether the facial features meet facial attraction conditions includes: Determining eye features of the pet using the facial features, and comparing the eye features with standard eye features in the preset pet feature database; When the difference between the eye size information corresponding to the eye feature and the eye size information corresponding to the standard eye feature is greater than or equal to a first preset value, it is determined that the facial feature meets the facial attraction condition.
6. The humidifier control method according to claim 4, characterized in that: Determining whether the walking feature satisfies the walking attraction condition includes: Acquire the pet's pace characteristics, speed characteristics, head characteristics and body center of gravity characteristics based on the walking characteristics; Based on the step feature, determine whether the pet's walking steps are in a paused state; based on the speed feature, determine whether the pet's walking speed is lower than a preset normal speed; based on the head feature, determine whether the pet's head is lower than a predetermined height; and based on the body center of gravity feature, determine whether the pet's body center of gravity is in a forward-leaning downward state; When the pet's walking pace is in a paused state, the pet's walking speed is lower than a preset normal speed, the pet's head is lower than a predetermined height, and the pet's body center of gravity is in a forward-leaning downward state, the walking characteristics meet the walking attraction condition.
7. The humidifier control method according to claim 1, characterized in that: If the first suction feature satisfies the first preset suction condition, the mist output amount and the motor speed of the humidifier are increased, and the operation mode of the humidifier is switched to the intermittent mist output mode, including: When the first suction feature meets the first preset suction condition, the humidifier is controlled to increase the mist output by 10%, the motor speed of the humidifier is controlled to increase by 10%, and the operation mode of the humidifier is switched to the intermittent mist output mode.
8. The humidifier control method according to claim 1, characterized in that: The method further comprises: When the distance between the humidifier and the pet is greater than a first preset distance, the humidifier is controlled to operate in an initial operating state and with initial operating parameters.
9. The humidifier control method according to claim 1, characterized in that: In the intermittent misting mode, comparing the real-time speed with the speed at the last moment before switching to the intermittent misting mode based on the speed feature includes: Based on the speed feature, an average value of the speed in a first time period after the humidifier is switched to the intermittent misting mode is used as the real-time speed; Based on the speed feature, the average value of the speed in the last first time period before the humidifier switches to the intermittent misting mode is used as the speed at the last moment before the intermittent misting mode; The real-time speed is compared with the speed at the last moment before switching to the intermittent misting mode.
Citation Information
Patent Citations
Micro-devices and analytical procedures for investigation of biological systems
CA2478970A1
Timing and constant-humidity humidification method for pet feeding box and adopted humidifier
CN113692974A