CN114151971A - Water heater control method and device, water heater and computer readable storage medium - Google Patents
Water heater control method and device, water heater and computer readable storage medium Download PDFInfo
- Publication number
- CN114151971A CN114151971A CN202010833991.7A CN202010833991A CN114151971A CN 114151971 A CN114151971 A CN 114151971A CN 202010833991 A CN202010833991 A CN 202010833991A CN 114151971 A CN114151971 A CN 114151971A
- Authority
- CN
- China
- Prior art keywords
- shower head
- water
- human body
- water outlet
- body part
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 342
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000004590 computer program Methods 0.000 claims description 23
- 230000007613 environmental effect Effects 0.000 claims description 13
- 238000007781 pre-processing Methods 0.000 claims description 13
- 238000000605 extraction Methods 0.000 claims description 12
- 238000013507 mapping Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 3
- 238000005260 corrosion Methods 0.000 claims description 3
- 230000007797 corrosion Effects 0.000 claims description 3
- 238000003708 edge detection Methods 0.000 claims description 3
- 238000007599 discharging Methods 0.000 claims description 2
- 238000009499 grossing Methods 0.000 claims description 2
- 238000003287 bathing Methods 0.000 abstract description 22
- 230000001276 controlling effect Effects 0.000 description 13
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 238000013527 convolutional neural network Methods 0.000 description 4
- 238000010606 normalization Methods 0.000 description 4
- 230000001105 regulatory effect Effects 0.000 description 4
- 230000036760 body temperature Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 210000003414 extremity Anatomy 0.000 description 2
- 238000011176 pooling Methods 0.000 description 2
- 239000007921 spray Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 210000001217 buttock Anatomy 0.000 description 1
- 244000309466 calf Species 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000008236 heating water Substances 0.000 description 1
- 230000004060 metabolic process Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 210000000689 upper leg Anatomy 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24H—FLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
- F24H9/00—Details
- F24H9/20—Arrangement or mounting of control or safety devices
- F24H9/2007—Arrangement or mounting of control or safety devices for water heaters
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B05—SPRAYING OR ATOMISING IN GENERAL; APPLYING FLUENT MATERIALS TO SURFACES, IN GENERAL
- B05B—SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES
- B05B12/00—Arrangements for controlling delivery; Arrangements for controlling the spray area
- B05B12/08—Arrangements for controlling delivery; Arrangements for controlling the spray area responsive to condition of liquid or other fluent material to be discharged, of ambient medium or of target ; responsive to condition of spray devices or of supply means, e.g. pipes, pumps or their drive means
- B05B12/12—Arrangements for controlling delivery; Arrangements for controlling the spray area responsive to condition of liquid or other fluent material to be discharged, of ambient medium or of target ; responsive to condition of spray devices or of supply means, e.g. pipes, pumps or their drive means responsive to conditions of ambient medium or target, e.g. humidity, temperature position or movement of the target relative to the spray apparatus
- B05B12/122—Arrangements for controlling delivery; Arrangements for controlling the spray area responsive to condition of liquid or other fluent material to be discharged, of ambient medium or of target ; responsive to condition of spray devices or of supply means, e.g. pipes, pumps or their drive means responsive to conditions of ambient medium or target, e.g. humidity, temperature position or movement of the target relative to the spray apparatus responsive to presence or shape of target
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24H—FLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
- F24H9/00—Details
- F24H9/16—Arrangements for water drainage
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Thermal Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Heat-Pump Type And Storage Water Heaters (AREA)
- Bathtubs, Showers, And Their Attachments (AREA)
Abstract
The application provides a water heater control method, a device, a water heater and a computer readable storage medium, wherein the method comprises the following steps: acquiring an environment image in the water outlet range of the shower head through the shooting device; identifying human body parts of the environment image to determine description information of the current human body parts in the water outlet range of the shower head; and acquiring target water outlet parameters matched with the description information of the current human body part, and controlling the shower head to discharge water according to the target water outlet parameters. The utility model provides a control the play water parameter of gondola water faucet intelligently, improve the comfort level of user's bathing.
Description
Technical Field
The present application relates to the field of water heater control technologies, and in particular, to a water heater control method and apparatus, a water heater, and a computer-readable storage medium.
Background
With the development of smart home technology, people tend to use household appliances with higher intelligent degree. In the field of domestic water heaters, shower heads are equipped on existing water heaters, and users are required to manually adjust water outlet parameters of the shower heads. However, when a user bathes, parameters such as water temperature, water pressure and water quantity suitable for each body part of the user are different. For example, the head of the human body is suitable for a higher water temperature and a larger water amount, and the limbs of the human body are suitable for a lower water temperature and a smaller water amount. The user can not accurately adjust the water outlet parameter of the shower head to the parameter suitable for each body part through manual adjustment, so that the bathing experience of the user is not high, and therefore, the water outlet parameter of the shower head can be intelligently controlled, and the comfort level of bathing of the user is improved, so that the problem that needs to be solved urgently is solved.
Disclosure of Invention
The main purpose of the present application is to provide a water heater control method, device, water heater and computer readable storage medium, which aim to intelligently control the water outlet parameter of a shower head, so that the water outlet parameter of the shower head matches with the current bathing position of a user, and the bathing comfort of the user is improved.
In a first aspect, the present application provides a method for controlling a water heater, the water heater including a shower head and a camera, the camera being disposed on the shower head, the method including:
acquiring an environment image in the water outlet range of the shower head through the shooting device;
identifying human body parts of the environment image to determine description information of the current human body parts in the water outlet range of the shower head;
and acquiring target water outlet parameters matched with the description information of the current human body part, and controlling the shower head to discharge water according to the target water outlet parameters.
In a second aspect, the present application further provides a control device for controlling a water heater, where the water heater includes a shower head and a shooting device, and the shooting device is disposed on the shower head;
the control device comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the water heater control method as described above.
In a third aspect, the present application further provides a water heater, the water heater:
the shower head is used for discharging water;
the shooting device is used for shooting and arranged on the shower head;
a memory for storing a computer program;
a processor for executing the computer program and implementing the steps of the water heater control method as described above when executing the computer program.
In a fourth aspect, the present application further provides a computer readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the water heater control method as described above.
The application provides a water heater control method, a water heater control device, a water heater and a computer readable storage medium. The embodiment of the application intelligently controls the water outlet parameters of the shower head, so that the water flow suitable for the current bathing part of a user is output, and the bathing comfort of the user is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a control method of a water heater according to an embodiment of the present disclosure;
FIG. 2a is a schematic structural diagram of a water heater according to the present embodiment;
FIG. 2b is a schematic structural diagram of another water heater according to the embodiment;
FIG. 3 is a flow chart illustrating sub-steps of the water heater control method of FIG. 1;
fig. 4 is a schematic block diagram of a control device provided in an embodiment of the present application;
fig. 5 is a schematic block diagram of a water heater provided in an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a water heater control method and device, a water heater and a computer readable storage medium. The control method of the water heater can be applied to water heaters, wherein the water heaters comprise an electric water heater, a gas water heater, a solar water heater, a magnetic water heater, an air energy water heater, a heating water heater and the like. Wherein, this water heater includes gondola water faucet and shooting device, and shooting device sets up on the gondola water faucet.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a water heater control method according to an embodiment of the present disclosure.
As shown in fig. 1, the water heater control method includes steps S101 to S103.
And S101, acquiring an environment image in the water outlet range of the shower head through a shooting device.
Wherein, shooting device sets up on the gondola water faucet, and shooting device includes the camera, for example high definition digtal camera or infrared camera etc. understandably, and shooting device also can be other shooting equipment, can gather the environmental image in the play water scope of gondola water faucet through shooting device.
For example, as shown in fig. 2a, the water heater includes a shower head 10 and a shooting device 21, the shooting device 21 is disposed on a water outlet panel of the shower head 10, and a shooting direction of the shooting device 21 is consistent with a water outlet direction of the shower head 10, so as to facilitate collecting an environment image in a water outlet range of the shower head.
For example, as shown in fig. 2b, the water heater includes a shower head 10 and a camera 22, the camera 22 is fixedly connected to a back plate of the shower head 10 through a connecting member, so as to prevent water flow sprayed from a water outlet plate of the shower head 10 from affecting the camera 22.
In one embodiment, before the environmental image in the water outlet range of the shower head is collected through the shooting device, whether a control instruction for controlling the shower head to discharge water is received or not is determined, and if the control instruction is received, the shooting device is started. The control instruction comprises a gesture instruction, a voice instruction, a remote control instruction and the like, and the control instruction can also be generated based on the triggering operation of a user on a key, a control or an operation page of the water heater. When the water heater receives a control instruction for controlling the shower head to discharge water, the water heater sends an opening instruction to the shooting device to control the shooting device to be opened, and an environment image in a water discharge range of the shower head is collected, so that the controllability of the shooting device is improved.
In one embodiment, before the environmental image in the water outlet range of the shower head is collected through the shooting device, whether the shower head is used for water outlet is detected, and the shooting device is started when the shower head is used for water outlet. Wherein, accessible detection device detects the gondola water faucet and whether goes out water. Illustratively, the detecting device is, for example, a flow meter, the flow meter is used for detecting the flow rate of the shower head, and when the flow rate detected by the flow meter is greater than a preset flow rate, the shower head is determined to be discharged, and the preset flow rate can be selected to be zero milliliters per second; or, the detection device is, for example, a water pressure meter, and when the water pressure detected by the water pressure meter is greater than the preset water pressure, the shower head is determined to be emitting water. When the water heater determines that the shower head is in water outlet, an opening instruction is sent to the shooting device to control the shooting device to be opened, the shooting device is controlled to collect the environment image in the water outlet range of the shower head, and the shooting device sends the environment image obtained through shooting to a processor or a memory of the water heater. This embodiment automatic control opens shooting device when detecting gondola water faucet play water, has improved the intelligence of water heater and user's experience.
In one embodiment, the water heater sends a standby instruction to the shooting device when receiving a control instruction for controlling the shower head to stop water outlet or detecting that the shower head stops water outlet, and the shooting device enters a standby state based on the standby instruction after receiving the standby instruction, so that the electric quantity is saved.
And S102, identifying the human body part of the environment image to determine the description information of the current human body part in the water outlet range of the shower head.
The description information of the current human body part includes description information of each body part of the human body, for example, an identifier of each body part of the human body, specifically, a head, a torso, a hand, a foot, and the like. It should be noted that the water outlet parameters such as the water temperature, the water pressure, the water amount and the like suitable for each body part of the human body are different, and in the embodiment of the present application, the current body part located in the water outlet range of the shower head needs to be determined first, that is, the current bathing part of the user needs to be determined first, so that the water outlet parameter suitable for the current bathing part can be determined according to the current bathing part of the user.
It will be appreciated that image recognition algorithms or techniques may be employed to perform body part recognition on the environmental image. For example, various methods such as a scale invariant feature transformation algorithm, an image feature extraction and matching algorithm based on a corner, an image matching and recognition based on a local feature, an image feature extraction algorithm based on visual information, corner detection, feature point detection, geometric shape analysis, and the like may be adopted, and the embodiment of the present application is not particularly limited.
In one embodiment, as shown in fig. 3, step S102 includes sub-step S1021.
And S1021, based on the pre-trained human body part recognition model, performing human body part recognition on the environment image to obtain description information of the current human body part in the water outlet range of the shower head.
It should be noted that the description information of the current human body part in the water outlet range of the shower head can be obtained by inputting the environmental image into the human body part recognition model trained in advance. Wherein the description information of the current human body part is at least one of hair, face, neck, arms, shoulders, back, buttocks, thighs and calves, for example. The human part recognition model may include a convolutional neural network, such as convolutional neural network CNN or R-CNN, including an input layer, a plurality of convolutional layers, a pooling layer, a default box layer for selecting an aspect ratio of a default box according to the plurality of convolutional layers, and an output layer. Illustratively, the environmental image is input into a human body part recognition model which is trained in advance so as to carry out convolution and pooling treatment on the environmental image for a plurality of times, and then the processed result is subjected to full-connection treatment and normalization treatment so as to obtain description information of the current human body part in the water outlet range of the shower head through recognition.
Before the environmental image is input into the human body part recognition model trained in advance, the initial human body part recognition model needs to be trained to obtain the trained human body part recognition model. For example, a preset number of sample images are configured, and the initial human body part recognition model is trained to converge by using a deep learning framework, so that the trained human body part recognition model is obtained. The sample image may be a plurality of images including a human body part to which description information is added. The trained human body part recognition model can be stored in a memory of the water heater, and when the environment image needs to be subjected to human body part recognition, the description information of the current human body part in the water outlet range of the shower head can be quickly and accurately obtained based on the trained human body part recognition model.
In one embodiment, the human body part recognition model comprises a preprocessing sublayer, a feature extraction sublayer and a feature recognition sublayer; the step of obtaining the description information of the current human body part in the water outlet range of the shower head comprises the following steps: preprocessing the environmental image through a preprocessing sublayer to obtain a preprocessed environmental image, wherein the preprocessing comprises at least one of smooth denoising, corrosion, expansion, edge detection and gray level change detection; based on the feature extraction sublayer, performing feature extraction on the preprocessed environment image to obtain feature data in the water outlet range of the shower head; and based on the feature identification sublayer, carrying out feature identification on the feature data to obtain the description information of the current human body part positioned in the water outlet range of the shower head.
It should be noted that, through the feature extraction sublayer and the feature identification sublayer of the human body part identification model, the extracted feature data are identified, and the description information of the current human body part in the shower head water outlet range can be quickly and accurately detected.
Further, the preprocessing further includes at least one of an image normalization process, a brightness equalization process, and a contrast enhancement process. The image normalization processing refers to converting UNIT type data of 0-255 in the image to be between 0-1. The brightness equalization processing refers to adjusting the brightness component of the image based on the HSV color space. The contrast enhancement processing means that the image is subjected to nonlinear stretching according to a histogram equalization algorithm, and the pixel values of the image are redistributed so that the number of pixels in a certain gray scale range is approximately the same. The image normalization processing, the brightness equalization processing and/or the contrast enhancement processing are/is carried out on the environment image, so that the accuracy of the human body part recognition model for recognizing the human body part in the environment image can be improved.
In one embodiment, before determining the description information of the current human body part located in the water outlet range of the shower head, the method further comprises the following steps: based on the preset size, carrying out size adjustment on the environment image to obtain an environment image with the preset size; based on a preset format, carrying out format conversion on the environment image with the preset size to obtain an environment image with the preset format; wherein, carry out human part discernment to environment image, include: and carrying out human body part identification on the environment image with the preset format.
It should be noted that the preset size and the preset format are set based on actual conditions, and the size of the acquired environment image is adjusted, so that the acquired environment images with different sizes are adjusted to be a uniform size. After the size is adjusted, format conversion is performed on the image with the preset size, wherein different formats of the environment image in the water outlet range of the acquired shower head may be caused due to different sampling formats of the camera devices, for example, YUA format or RGB format may be possible, and format conversion is performed on the environment image with the preset size by using a conversion formula to convert the environment image into a uniform format, for example, the environment image with the preset size is unified into RGB format. The method is convenient for the human body part recognition model to process the environment image and improves the recognition accuracy.
It should be noted that, when performing size adjustment and format adjustment on the acquired environment image, the adjustment sequence of size adjustment and format adjustment is not limited, and the size adjustment and then the format adjustment may be performed first, or the format adjustment and then the size adjustment may be performed first.
And S103, acquiring target water outlet parameters matched with the description information of the current human body part, and controlling the shower head to spray water according to the target water outlet parameters.
The description information of the human body part and the water outlet parameters of the shower head have a corresponding relation, and the corresponding relation can be flexibly set by a user. In general, the description information of the human body part is different, and the water outlet parameters of the shower head are also different, wherein the water outlet parameters comprise the water temperature, the water quantity, the gear, the water pressure and/or the water speed of the outlet water. For example, the head is corresponding to a higher water temperature, a slower water speed and a larger water volume, and the four limbs of the human body are suitable for a lower water temperature, a faster water speed and a smaller water volume. The shower head is controlled to discharge water according to the target water discharge parameter, so that the water discharge parameter of the shower head is matched with the current bathing part of the user, and the bathing comfort of the user can be greatly improved.
In one embodiment, a mapping relation table between preset effluent parameters and description information of human body parts is obtained; and determining a target water outlet parameter matched with the description information of the current human body part according to the mapping relation table. The mapping relation between the water outlet parameters and the description information of the human body part can be set according to actual conditions, and the embodiment of the application is not particularly limited. According to the mapping relation table and the description information of the current human body part, the target water outlet parameters can be determined quickly and accurately.
Illustratively, the description information of the current human body part is a head, and the matched target water outlet parameters can be quickly determined to be: the water temperature was 41 degrees celsius and the water amount was 40 milliliters per second.
In one embodiment, user information of a user who uses the shower at present is acquired; and determining matched target water outlet parameters according to the user information and the description information of the current human body part. It should be noted that, due to the difference in gender and age, the water outlet parameters suitable for different body parts of different users are different. For example, the body temperature of women is generally higher than that of men, so the water temperature suitable for each body part of women is generally slightly higher than that of men, and as the age of people becomes higher, metabolism becomes slower, the body temperature also increases with the age, so the water temperature suitable for each body part of old people is also basically slightly higher than that of young people. According to the user information and the description information of the current human body part, the matched target water outlet parameter is determined, the water outlet parameter of the shower head can be intelligently controlled, so that water flow suitable for the current bathing part and the user information of a user is output, and the bathing comfort of the user is greatly improved.
In one embodiment, the acquiring user information of a user who currently uses the shower head comprises the following steps: acquiring fingerprint information input by a user, and determining user information of the user using the shower at present based on the fingerprint information; and/or acquiring a face image in the water outlet range of the shower head, carrying out face recognition on the face image, and determining user information of a user using the shower head at present based on a recognition result; and/or acquiring voiceprint information of the user, and determining the user information of the user who uses the shower head at present based on the voiceprint information. The user information comprises information such as the sex, age, height, weight, body temperature and identity of the user.
Illustratively, when a user bathes, the fingerprint of the user is collected through a fingerprint identification system electrically connected with the water heater, and after the fingerprint identification system collects fingerprint information input by the user, the collected fingerprint information is sent to a processor of the water heater, so that the water heater compares the received fingerprint information with each fingerprint information in a fingerprint library prestored in a memory, and the user information of the user corresponding to the fingerprint information is determined, and the user information of the user who uses the shower head at present is obtained.
Illustratively, a face image in a water outlet range (such as a visible range of a camera) of the shower head is acquired through a shooting device, the face image is sent to a processor of the water heater, then the face image is subjected to face recognition through a face recognition model preset in a memory, a recognition result is obtained, the recognition result can comprise characteristic information or identification information of a user, and the like, for example, the recognition result comprises face information of the user, or comprises a hair style, a face shape, whether glasses are worn, and the like, and user information of the user who uses the shower head at present can be determined based on the recognition result.
In one embodiment, the method for controlling the water outlet of the shower head according to the target water outlet parameter comprises the following steps: determining the adjusting parameters of the water heater according to the target water outlet parameters; and controlling the water heater to operate based on the adjusting parameters, so that the shower head outputs water flow of the target water outlet parameters along with the operation of the water heater. When the water flow of the target water outlet parameter is sprayed to the body parts of the matched user, the bathing comfort of the user is greatly improved.
The shower head is communicated with a water outlet valve through a water outlet pipe, and the water outlet valve comprises a cold water inlet, a hot water inlet and a water outlet. Cold water is conveyed to the water outlet valve through the cold water inlet, and hot water is conveyed to the water outlet valve through the hot water inlet; the water outlet is connected to the water outlet pipe, and the water outlet valve mixes the conveyed cold water and hot water through the water outlet pipe and conveys the mixed water flow to the shower head so that the shower head sprays water. The water outlet valve also comprises a movable switch, and the water outlet quantity, the water outlet pressure and/or the water outlet temperature of the shower head can be controlled through the movable switch of the water outlet valve. For example, the water heater controls the deviation of the movable switch of the water outlet valve to a cold water inlet or a hot water inlet through the motor so as to control the water outlet temperature of the shower head, and the water heater controls the water outlet quantity and/or the water outlet pressure of the shower head through the lifting angle of the movable switch of the water outlet valve controlled by the motor.
It should be noted that the adjustment parameter of the outlet valve of the water heater may be determined according to a target outlet parameter, for example, a target offset angle at which the outlet valve is offset to the cold water inlet or the hot water inlet, or a target raising angle of the movable switch, the adjustment parameter of the motor may be determined according to the target offset angle or the target raising angle, and the motor is controlled to operate based on the adjustment parameter of the motor, so that the offset angle of the outlet valve reaches the target offset angle, or the raising angle of the movable switch reaches the target raising angle, so that the shower head outputs a water flow of the target outlet parameter along with the operation of the motor, thereby greatly improving the comfort level of bathing of a user.
In one embodiment, the shower head is internally provided with a through hole regulator, and the water outlet quantity and/or the water pressure of the shower head can be regulated through the through hole regulator. The through hole regulator comprises a motor, a water distribution disc and an impeller, the impeller is rotatably connected with the water distribution disc and shields the through hole of the shower head through rotation, and the motor is used for driving the impeller to rotate in the water distribution disc. For example, the shower head includes a plurality of types of through holes having different diameters, and the through hole regulator can be used to regulate the type of through hole opened by the shower head, thereby regulating the water yield and/or water pressure of the shower head. Specifically, determining the target type of the through hole corresponding to the target water outlet parameter so as to determine the target position of the impeller to be rotated; the control impeller rotates to the target position, so that the shower head switches to open the through hole of the target type, the adjustment of the water outlet gear of the shower head is completed, and the shower head discharges water according to target water outlet parameters. It should be noted that, the larger the target water yield of the shower head is, the larger the diameter of the corresponding through hole is, so that the water outlet pressure of the shower head is smaller.
Or the through hole regulator is used for regulating the opening number of the through holes of the shower head, so that the water outlet quantity and/or the water pressure of the shower head are regulated. Specifically, determining the target number of through holes corresponding to target water outlet parameters so as to determine the target position of the impeller to be rotated; the control impeller rotates to the target position, so that the opening number of the through holes of the shower head is the target number, the adjustment of the water outlet gears of the shower head is completed, and the shower head can discharge water according to target water outlet parameters. It should be noted that the larger the shower target water outlet parameter is, the more the target number of the corresponding through holes is, so that the water pressure at the through holes of the shower is smaller, and the water outlet amount of the water flow sprayed by the shower is larger. If the target number of the through holes is less, the water pressure at the through holes of the shower head is higher, and the water yield of the water flow sprayed by the shower head is relatively lower.
According to the water heater control method provided by the embodiment, the environment image in the water outlet range of the shower head is acquired through the shooting device, the human body part identification is carried out on the environment image, so that the description information of the current human body part in the water outlet range of the shower head is determined, the target water outlet parameter matched with the description information of the current human body part is obtained, the water outlet of the shower head is controlled according to the target water outlet parameter, and the water outlet parameter of the shower head is matched with the current bathing part of a user. The embodiment of the application intelligently controls the water outlet parameters of the shower head, so that the water flow suitable for the current bathing part of a user is output, and the bathing comfort of the user is greatly improved.
Referring to fig. 4, fig. 4 is a schematic block diagram of a control device according to an embodiment of the present disclosure.
As shown in fig. 4, the control device 200 is used to control a water heater including a shower head and a photographing device provided to the shower head.
The control device 200 includes a processor 202 and a memory 203 connected by a system bus 201, wherein the memory 203 may include a non-volatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program includes program instructions that, when executed, cause the processor 202 to perform any one of the water heater control methods.
The internal memory provides an environment for the execution of computer programs in the non-volatile storage medium that, when executed by the processor 202, cause the processor 202 to perform any one of the water heater control methods.
The control device 200 may also include a communication interface for communicating, such as sending assigned tasks, etc. It will be appreciated by those skilled in the art that the configuration shown in figure 4 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the control device to which the present application is applied, and that a particular control device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
It should be understood that the Processor 202 may be a Central Processing Unit (CPU), and that the Processor 202 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Where a general purpose processor may be a microprocessor, or the processor 202 may be any conventional processor or the like.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the control device described above may refer to the corresponding process in the foregoing embodiment of the water heater control method, and is not described herein again.
Referring to fig. 5, fig. 5 is a schematic block diagram of a water heater according to an embodiment of the present disclosure.
As shown in fig. 5, the water heater 300 includes a processor 302, a memory 303, a camera 304 connected by a system bus 301, the water heater 300 further includes a shower head for water outlet, wherein the camera 304 is used for shooting and is disposed on the shower head, and the memory 303 may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program includes program instructions that, when executed, cause the processor 302 to perform any one of the water heater control methods.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall water heater.
The internal memory provides an environment for the execution of computer programs in the non-volatile storage medium that, when executed by the processor 302, cause the processor 302 to perform any of the water heater control methods.
The water heater 300 may also include a communication interface for communicating, such as sending assigned tasks, etc. Those skilled in the art will appreciate that the configuration shown in fig. 5 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the water heater to which the present application is applied, and that a particular water heater may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
It should be understood that the Processor 302 may be a Central Processing Unit (CPU), and that the Processor 302 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Where a general purpose processor may be a microprocessor, or the processor 302 may be any conventional processor or the like.
Wherein, in one embodiment, the processor 302 is configured to run a computer program stored in the memory 303 to implement the steps of:
acquiring an environment image in the water outlet range of the shower head through the shooting device;
identifying human body parts of the environment image to determine description information of the current human body parts in the water outlet range of the shower head;
and acquiring target water outlet parameters matched with the description information of the current human body part, and controlling the shower head to discharge water according to the target water outlet parameters.
In one embodiment, the processor 302 is further configured to, prior to the capturing of the environmental image within the water outlet range of the shower head by the camera, perform:
determining whether a control instruction for controlling the water outlet of the shower head is received or not, and if the control instruction is received, starting the shooting device; and/or
And detecting whether the shower head discharges water or not, and starting the shooting device when the shower head discharges water.
In one embodiment, the processor 302, when implementing the human body part recognition on the environment image to determine the description information of the current human body part located in the water outlet range of the shower, is configured to implement:
and based on a human body part recognition model trained in advance, carrying out human body part recognition on the environment image to obtain description information of the current human body part in the water outlet range of the shower head.
In one embodiment, the human body part recognition model comprises a preprocessing sublayer, a feature extraction sublayer and a feature recognition sublayer; the processor 302 is realizing that the environmental image is subjected to human body part recognition based on a pre-trained human body part recognition model, and is used for realizing that when the description information of the current human body part in the water outlet range of the shower head is obtained:
preprocessing the environment image through the preprocessing sublayer to obtain a preprocessed environment image, wherein the preprocessing comprises at least one of smoothing denoising, corrosion, expansion, edge detection and gray level change detection;
based on the feature extraction sublayer, performing feature extraction on the preprocessed environment image to obtain feature data in the water outlet range of the shower head;
and based on the feature identification sublayer, carrying out feature identification on the feature data to obtain description information of the current human body part positioned in the water outlet range of the shower head.
In one embodiment, the processor 302 is further configured to, before implementing the inputting of the environment image into a pre-trained human body part recognition model to determine description information of a current human body part located in a water outlet range of the shower, implement:
based on a preset size, carrying out size adjustment on the environment image to obtain an environment image with a preset size;
based on a preset format, carrying out format conversion on the environment image with the preset size to obtain an environment image with a preset format;
the identifying the human body part of the environment image comprises the following steps: and identifying the human body part of the environment image with the preset format.
In one embodiment, the processor 302, when implementing the obtaining of the target water outlet parameter matched with the description information of the current human body part, is configured to implement:
acquiring a mapping relation table between preset effluent parameters and description information of human body parts;
and determining a target water outlet parameter matched with the description information of the current human body part according to the mapping relation table.
In one embodiment, the processor 302, when implementing the controlling the shower outlet according to the target outlet parameter, is configured to implement:
determining an adjusting parameter of the water heater according to the target water outlet parameter;
and controlling the water heater to operate based on the adjusting parameter, so that the shower head outputs the water flow of the target water outlet parameter along with the operation of the water heater.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing embodiment of the water heater control method for describing the specific working process of the water heater, and details are not described herein again.
The embodiment of the application acquires the environment image in the water outlet range of the shower head through the shooting device and identifies the human body part of the environment image, so that the description information of the current human body part in the water outlet range of the shower head is determined, the target water outlet parameter matched with the description information of the current human body part is acquired, the shower head is controlled to discharge water according to the target water outlet parameter, and the water outlet parameter of the shower head is matched with the current bathing part of a user. This application is through the play water parameter of intelligent control gondola water faucet to the rivers that are fit for user's current bathing position are exported, greatly improve the comfort level of user's bathing.
Embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and a method implemented when the program instructions are executed may refer to various embodiments of a water heater control method of the present application.
The computer readable storage medium may be an internal storage unit of the water heater described in the foregoing embodiments, such as a hard disk or a memory of the water heater. The computer readable storage medium may also be an external storage device of the water heater, such as a plug-in hard disk provided on the water heater, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A control method of a water heater is characterized in that the water heater comprises a shower head and a shooting device, the shooting device is arranged on the shower head, and the method comprises the following steps:
acquiring an environment image in the water outlet range of the shower head through the shooting device;
identifying human body parts of the environment image to determine description information of the current human body parts in the water outlet range of the shower head;
and acquiring target water outlet parameters matched with the description information of the current human body part, and controlling the shower head to discharge water according to the target water outlet parameters.
2. The method for controlling the water heater according to claim 1, wherein before the capturing the environmental image within the water outlet range of the shower head by the capturing device, the method further comprises:
determining whether a control instruction for controlling the water outlet of the shower head is received or not, and if the control instruction is received, starting the shooting device; and/or
And detecting whether the shower head discharges water or not, and starting the shooting device when the shower head discharges water.
3. The water heater control method as claimed in claim 1, wherein the identifying the human body part of the environment image to determine the description information of the current human body part in the water outlet range of the shower head comprises:
and based on a human body part recognition model trained in advance, carrying out human body part recognition on the environment image to obtain description information of the current human body part in the water outlet range of the shower head.
4. The water heater control method according to claim 3, wherein the human body part recognition model includes a preprocessing sublayer, a feature extraction sublayer and a feature recognition sublayer; based on human body part recognition model trained in advance, it is right the environment image carries out human body part recognition, obtains to be located the description information of the current human body part of the water outlet within range of gondola water faucet includes:
preprocessing the environment image through the preprocessing sublayer to obtain a preprocessed environment image, wherein the preprocessing comprises at least one of smoothing denoising, corrosion, expansion, edge detection and gray level change detection;
based on the feature extraction sublayer, performing feature extraction on the preprocessed environment image to obtain feature data in the water outlet range of the shower head;
and based on the feature identification sublayer, carrying out feature identification on the feature data to obtain description information of the current human body part positioned in the water outlet range of the shower head.
5. The method as claimed in claim 3, wherein before inputting the environment image into a pre-trained human body part recognition model to determine the description information of the current human body part in the water outlet range of the shower head, the method further comprises:
based on a preset size, carrying out size adjustment on the environment image to obtain an environment image with a preset size;
based on a preset format, carrying out format conversion on the environment image with the preset size to obtain an environment image with a preset format;
the identifying the human body part of the environment image comprises the following steps: and identifying the human body part of the environment image with the preset format.
6. The water heater control method as claimed in any one of claims 1-5, wherein said obtaining target water outlet parameters matched with the description information of the current human body part comprises:
acquiring a mapping relation table between preset effluent parameters and description information of human body parts;
and determining a target water outlet parameter matched with the description information of the current human body part according to the mapping relation table.
7. The water heater control method as claimed in any one of claims 1-5, wherein the controlling the shower head to discharge water according to the target discharge water parameter comprises:
determining an adjusting parameter of the water heater according to the target water outlet parameter;
and controlling the water heater to operate based on the adjusting parameter, so that the shower head outputs the water flow of the target water outlet parameter along with the operation of the water heater.
8. The control device is characterized by being used for controlling a water heater, wherein the water heater comprises a shower head and a shooting device, and the shooting device is arranged on the shower head;
the control device comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the water heater control method as claimed in any one of claims 1 to 7.
9. A water heater, characterized in that it comprises:
the shower head is used for discharging water;
the shooting device is used for shooting and arranged on the shower head;
a memory for storing a computer program;
a processor for executing the computer program and implementing the steps of the water heater control method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the water heater control method as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010833991.7A CN114151971A (en) | 2020-08-18 | 2020-08-18 | Water heater control method and device, water heater and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010833991.7A CN114151971A (en) | 2020-08-18 | 2020-08-18 | Water heater control method and device, water heater and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114151971A true CN114151971A (en) | 2022-03-08 |
Family
ID=80460140
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010833991.7A Pending CN114151971A (en) | 2020-08-18 | 2020-08-18 | Water heater control method and device, water heater and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114151971A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001311549A (en) * | 2000-04-27 | 2001-11-09 | Noritz Corp | Water heater |
JP2015200421A (en) * | 2014-04-04 | 2015-11-12 | 日立アプライアンス株式会社 | water heater |
CN105987518A (en) * | 2016-06-29 | 2016-10-05 | 珠海格力电器股份有限公司 | Control method and device of water heater |
CN108451412A (en) * | 2018-03-12 | 2018-08-28 | 孙春玲 | A kind of shower bath with intelligent control function |
CN108542296A (en) * | 2018-05-12 | 2018-09-18 | 巫永辉 | A kind of Intelligent shower control system |
CN110989390A (en) * | 2019-12-25 | 2020-04-10 | 海尔优家智能科技(北京)有限公司 | Smart home control method and device |
-
2020
- 2020-08-18 CN CN202010833991.7A patent/CN114151971A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001311549A (en) * | 2000-04-27 | 2001-11-09 | Noritz Corp | Water heater |
JP2015200421A (en) * | 2014-04-04 | 2015-11-12 | 日立アプライアンス株式会社 | water heater |
CN105987518A (en) * | 2016-06-29 | 2016-10-05 | 珠海格力电器股份有限公司 | Control method and device of water heater |
CN108451412A (en) * | 2018-03-12 | 2018-08-28 | 孙春玲 | A kind of shower bath with intelligent control function |
CN108542296A (en) * | 2018-05-12 | 2018-09-18 | 巫永辉 | A kind of Intelligent shower control system |
CN110989390A (en) * | 2019-12-25 | 2020-04-10 | 海尔优家智能科技(北京)有限公司 | Smart home control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104482655A (en) | Control method and device of water heater | |
CN105426860B (en) | The method and apparatus of recognition of face | |
CN114237069B (en) | Indoor environment control method, device, system and storage medium | |
CN109506372A (en) | Water heater operation control method and control device | |
CN107066628A (en) | Wear the clothes recommendation method and device | |
CN110173868B (en) | Control method of air conditioner, air conditioner and storage medium | |
CN108542296A (en) | A kind of Intelligent shower control system | |
CN108052080A (en) | Water-out manners regulate and control method, apparatus and storage medium | |
CN206591856U (en) | Intelligent memory individual's bathroom | |
CN111306797A (en) | Water temperature adjusting method and device for water heater, control equipment and water heater | |
CN110726222B (en) | Air conditioner control method and device, storage medium and processor | |
CN104913463A (en) | Control method and control system of air conditioner and wearable electronic equipment | |
Cui et al. | Appearance-based bidirectional representation for palmprint recognition | |
CN107606799A (en) | A kind of control method and device of water heater | |
CN114253190A (en) | Intelligent shower control method and device, intelligent equipment and storage medium | |
CN112364570A (en) | Shower comfort optimization method, system and server based on deep residual error network | |
CN114151971A (en) | Water heater control method and device, water heater and computer readable storage medium | |
CN112902321A (en) | Control method for air supply device, air supply system, and storage medium | |
CN118224112A (en) | Intelligent electric fan control system and method based on Internet of things technology | |
CN111102745A (en) | Control method and device of water heater | |
CN117031971B (en) | Intelligent furniture equipment adjusting method, device, equipment and medium based on intelligent mirror | |
CN106940578A (en) | A kind of shower control device and shower | |
CN114623603A (en) | Water temperature adjusting method and device for water heater | |
CN108711418A (en) | A kind of Intelligent bathroom management system | |
CN110454985A (en) | Water outlet temperature control system and control method of gas water heater |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220308 |
|
RJ01 | Rejection of invention patent application after publication |