CN111568179A - Water dispenser control method, water dispenser and computer readable storage medium - Google Patents

Water dispenser control method, water dispenser and computer readable storage medium Download PDF

Info

Publication number
CN111568179A
CN111568179A CN202010132797.6A CN202010132797A CN111568179A CN 111568179 A CN111568179 A CN 111568179A CN 202010132797 A CN202010132797 A CN 202010132797A CN 111568179 A CN111568179 A CN 111568179A
Authority
CN
China
Prior art keywords
water
water receiving
receiving amount
water dispenser
user
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
Application number
CN202010132797.6A
Other languages
Chinese (zh)
Inventor
陈小平
林勇进
吴雪良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN202010132797.6A priority Critical patent/CN111568179A/en
Publication of CN111568179A publication Critical patent/CN111568179A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • A47J31/4403Constructional details
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • A47J31/46Dispensing spouts, pumps, drain valves or like liquid transporting devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition

Abstract

The embodiment of the application discloses a water dispenser control method, a water dispenser and a computer readable storage medium, and can acquire a first image corresponding to a user and acquire the current water receiving amount of a water receiving container when the water dispenser discharges water; performing image recognition processing on the first image to acquire a user action of the user; determining the target water receiving amount corresponding to the acquired user action according to the preset corresponding relation between the user action and the water receiving amount; and when the current water receiving amount reaches the target water receiving amount, controlling the water dispenser to stop discharging water. According to the scheme, when the water receiving amount of the water receiving container reaches the target water receiving amount required by a user at present, water is automatically stopped to be discharged, so that manual operation of controlling the button by the user is omitted, and convenience in water discharge control of the water dispenser is improved.

Description

Water dispenser control method, water dispenser and computer readable storage medium
Technical Field
The application relates to the technical field of household appliances, in particular to a water dispenser control method, a water dispenser and a computer readable storage medium.
Background
Along with the improvement of living standard of people, the water dispenser is more and more popularized, and the functional requirements of people on the water dispenser are also more and more high. At present, in the process of using the water dispenser, a user generally controls the water dispenser to discharge water, stop the water and the like by operating corresponding keys on the water dispenser. In the process of receiving water, in order to avoid overflowing when the water is full, a user needs to pay attention to the change of the water level in the water cup all the time, so that the water dispenser is controlled to stop water outlet by operating the key in time, and the intelligent degree is low. Although some existing water dispensers can discharge water quantitatively, and a user does not need to operate a key to control the water dispenser to stop discharging water, the water discharge amount is fixed, so that the water dispenser can not exactly meet the requirements of the user, and the user still needs to manually operate the key to control the water dispenser to discharge water and stop discharging water in many cases. Therefore, the convenience of the water outlet control of the water dispenser is still to be improved.
Disclosure of Invention
The embodiment of the application provides a water dispenser control method, a water dispenser and a computer readable storage medium, which can improve the convenience of water outlet control of the water dispenser.
In a first aspect, an embodiment of the present application provides a method for controlling a water dispenser, including:
when the water dispenser discharges water, acquiring a first image corresponding to a user, and acquiring the current water receiving amount of the water receiving container;
performing image recognition processing on the first image to acquire a user action of the user;
determining the target water receiving amount corresponding to the acquired user action according to the preset corresponding relation between the user action and the water receiving amount;
and when the current water receiving amount reaches the target water receiving amount, controlling the water dispenser to stop discharging water.
In a second aspect, an embodiment of the present application further provides a water dispenser, which includes a memory and a processor, where the memory stores a computer program, and the processor executes any one of the water dispenser control methods provided in the embodiment of the present application when calling the computer program in the memory.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and the computer program is loaded by a processor to execute any one of the water dispenser control methods provided in the embodiment of the present application.
When the water dispenser discharges water, the first image corresponding to the user is collected, the current water receiving amount of the water receiving container is obtained, image recognition processing is carried out on the first image, the user action of the user is obtained, the target water receiving amount corresponding to the obtained user action is determined according to the preset corresponding relation between the user action and the water receiving amount, when the current water receiving amount reaches the target water receiving amount, namely the required water amount of the user, the water dispenser is controlled to stop discharging water, manual operation of the user is omitted, and convenience in water discharging control of the water dispenser is improved.
Drawings
In order to more clearly illustrate the technical solutions in 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 only 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 dispenser provided in an embodiment of the present application;
fig. 2 is a schematic diagram of an image pickup apparatus and a light source installation position provided in an embodiment of the present application;
fig. 3 is another schematic diagram of an image pickup apparatus and a light source installation position provided in an embodiment of the present application;
fig. 4 is a schematic view of a setting interface of a corresponding relationship between a user action and a water receiving amount according to an embodiment of the present application;
FIG. 5 is a schematic view of a cup held by a user at a water receiving window of a water dispenser according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a water dispenser provided in the embodiment of the present application.
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 only a part of the embodiments of the present application, and not all of the embodiments. 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 dispenser control method, a water dispenser and a computer readable storage medium. The water dispenser control method can be applied to a water dispenser, and can also be applied to a mobile terminal, wherein the mobile terminal can comprise a smart phone, a tablet computer, a palm computer and the like. The water dispenser or the mobile terminal can acquire a first image corresponding to a user and acquire the current water receiving amount of the water receiving container when the water dispenser discharges water; performing image recognition processing on the first image to acquire a user action of the user; determining the target water receiving amount corresponding to the acquired user action according to the preset corresponding relation between the user action and the water receiving amount; when the current water receiving amount reaches the target water receiving amount, controlling the water dispenser to stop discharging water; and so on.
The following description will be given in detail by taking an example in which the water dispenser control method is applied to a water dispenser.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for controlling a water dispenser according to an embodiment of the present application. The water dispenser control method can comprise steps S101 to S104 and the like, and specifically can be as follows:
s101, when the water dispenser discharges water, acquiring a first image corresponding to a user, and acquiring the current water receiving amount of the water receiving container.
When the water dispenser discharges water, on one hand, the current water receiving quantity of a water receiving container arranged on a water receiving window of the water dispenser, such as the current water receiving quantity of a cylindrical cup, is obtained. And on the other hand, acquiring an image corresponding to the user. For convenience of description, an image corresponding to the user is hereinafter referred to as a first image. Optionally, in order to avoid acquiring an invalid image, a corresponding preset monitoring area is preset when the water dispenser discharges water, the condition of the preset monitoring area is monitored in the water discharging process of the water dispenser, and when a user is located in the preset monitoring area, a first image corresponding to the user is acquired. The preset monitoring area can be flexibly set according to actual conditions, for example, the area within 0.5 m in front of the water dispenser is set as the preset monitoring area, and the range of the preset monitoring area is not specifically limited in this embodiment.
In some embodiments, a camera device, such as a camera, is disposed beside the water dispenser, and the camera device is in communication connection with the water dispenser. When the water dispenser discharges water, a first image of a user is collected through the camera device, and the first image is sent to the water dispenser.
In other embodiments, the water dispenser is provided with a camera device, optionally, a camera device is arranged around the water outlet of the water dispenser for collecting the first image of the user. Wherein the camera device may be an infrared camera or other type of camera. It should be noted that the specific position where the camera device is installed can be flexibly set according to actual needs, for example, the camera device can be installed obliquely above the water outlet of the water dispenser or near the water outlet.
Optionally, in order to save energy consumption, the camera of the water dispenser is not always turned on, and only when the water dispenser is detected to be out of water, the camera of the water dispenser is turned on, and then the first image of the user is acquired through the camera.
In some embodiments, the water dispenser is provided with a camera device and an infrared device, and when the water dispenser discharges water, acquiring a first image corresponding to a user may include: when the water dispenser discharges water, detecting whether a user exists in a preset distance range of the water dispenser through the infrared device; and if the user exists in the preset distance range of the water dispenser, starting the camera device and acquiring the first image.
The infrared device may be an infrared sensor or other type of infrared detection device, and is used to detect whether there is a user in the space range where the infrared device is located. It should be noted that the specific position of the infrared device can be flexibly set according to actual needs, for example, the infrared device can be installed above the water outlet of the water dispenser. In the process of water outlet of the water dispenser, whether a user exists in a preset distance range of the water dispenser is detected through an infrared device arranged on the water dispenser. If the user exists in the preset distance range of the water dispenser, starting the camera device, and acquiring a first image corresponding to the user through the camera device. On the contrary, if no user exists in the preset distance range of the water dispenser, the camera device is not started, and no response processing is carried out.
Optionally, the preset distance range may be flexibly set according to actual conditions, for example, the preset distance range may be set to be 1 meter from the water dispenser, and the specific value of the preset distance range is not specifically limited in this embodiment.
Exemplarily, when the water dispenser is used for discharging hot water, steam can be generated due to overhigh water temperature, and in order to effectively acquire images and protect the camera device, the influence of the steam on the camera device can be reduced through a fan, a filter plate, a dust cover and the like. Specifically, in an embodiment, a fan may be disposed on the water dispenser, for example, the fan is disposed in the middle of an oblique upper portion of a water outlet of the water dispenser, right above a water receiving area of the water dispenser, or on a side surface of the water receiving area of the water dispenser, or the fan is disposed around the water dispenser, the type and size of the fan may be flexibly set according to actual needs, and the fan is turned on to expel water vapor within a visible range of the camera device, so as to improve the quality of images acquired by the camera device. When the water dispenser discharges water, whether water vapor exists or not can be detected through a sensor and the like preset around a water outlet of the water dispenser, when the water vapor is detected, a preset fan is controlled to be started, and after the fan is started, a first image corresponding to a user is acquired through a camera device.
Or when the water dispenser discharges water, the water outlet temperature of the water dispenser can be detected, whether the water outlet temperature of the water dispenser is larger than a preset temperature threshold value or not is judged, when the water outlet temperature of the water dispenser is larger than the preset temperature threshold value, a preset fan is controlled to be started, and after the fan is started, a first image corresponding to a user is acquired through a camera device. When the water outlet temperature of the water dispenser is less than or equal to the preset temperature threshold, the fan does not need to be started.
In another embodiment, a filter can be arranged near or at other positions of the lens of the image pickup device, and water vapor on the lens of the image pickup device can be driven away by heating the filter, so that the quality of the image acquired by the device is improved. When the water dispenser discharges water, when water vapor is detected, the filter plate is controlled to be heated, and after the filter plate is heated, a first image corresponding to a user is collected through the camera device. Or when the water dispenser discharges water, the water outlet temperature of the water dispenser can be detected, whether the water outlet temperature of the water dispenser is larger than a preset temperature threshold value or not is judged, when the water outlet temperature of the water dispenser is larger than the preset temperature threshold value, the filter is controlled to be heated, and after the filter is heated, a first image corresponding to a user is collected through the camera device. When the water outlet temperature of the water dispenser is less than or equal to the preset temperature threshold, the filter does not need to be heated.
In another embodiment, a dust cover (such as glass, acrylic, etc.) may be disposed near or at other positions of the lens of the image capturing device, and the water vapor on the lens of the camera may be removed by heating the predetermined dust cover, so as to improve the quality of the image captured by the camera. When the water dispenser discharges water, when water vapor is detected, the dustproof cover is controlled to be heated, and after the dustproof cover is heated, a first image corresponding to a user is acquired through the camera device. Or when the water dispenser discharges water, the water outlet temperature of the water dispenser can be detected, whether the water outlet temperature of the water dispenser is larger than a preset temperature threshold value or not is judged, when the water outlet temperature of the water dispenser is larger than the preset temperature threshold value, the dustproof cover is controlled to be heated, and after the dustproof cover is heated, a first image corresponding to a user is acquired through the camera device. When the water outlet temperature of the water dispenser is less than or equal to the preset temperature threshold, the dustproof cover does not need to be heated.
It should be noted that the water dispenser may only be provided with any one or two of dust cover heating, fan turning on and filter heating, and the water dispenser may also be provided with dust cover heating, fan turning on, filter heating and the like, and the specific content is not limited herein.
For example, since the quality of the image captured by the camera device may be affected when the light intensity of the environment is weak, in order to effectively capture a clear image, the light intensity may be increased to reduce the effect on image capture. Specifically, an LED light source may be disposed on the water dispenser as a light supplement lamp, for example, as shown in fig. 2, the camera (i.e., the camera in fig. 2) and the light supplement lamp (i.e., the light source in fig. 2) may be installed obliquely above the water outlet of the water dispenser, or, for example, as shown in fig. 3, the camera (i.e., the camera in fig. 3) and the light supplement lamp (i.e., the light source in fig. 3) may be installed in parallel in the middle of the water receiving area of the water dispenser, near the water outlet, and in the same direction. The light filling lamp is used for enhancing the illumination condition, so that the quality of the image collected by the camera device is improved. When the water dispenser discharges water, the current light intensity of the environment where the water dispenser is located can be detected through the light sensor, whether the current light intensity is smaller than a preset intensity threshold value or not is judged, the preset intensity threshold value can be flexibly set according to actual needs, and under the condition that the current light intensity is larger than or equal to the preset intensity threshold value, a camera device can be guaranteed to acquire clear images. If the current light intensity is smaller than the preset intensity threshold value, the current light of the environment where the water dispenser is located is relatively weak, the light supplement lamp can be controlled to be turned on at the moment, and after the light supplement lamp is turned on, images are collected through the camera device. If the current light intensity is greater than or equal to the preset intensity threshold value, the light supplement lamp does not need to be started.
It should be noted that, in order to reduce the influence of light of the environment where the water dispenser is located (for example, dark light or direct light from an indoor light source, etc.), a predetermined LED lamp on or near the water dispenser may be used to supplement light, for example, the light intensity of the environment where the water dispenser is located may be detected by a light sensor, whether the LED lamp needs to be turned on or not may be determined according to the light intensity, if necessary, an image is collected after the LED lamp is turned on, and if not, the image is directly collected.
For example, obtaining the current water receiving amount of the water receiving container placed on the water receiving window of the water dispenser may include: collecting a third image corresponding to the water receiving container, and acquiring the current water receiving amount of the water receiving container according to the third image; or acquiring a first empty weight of the water receiving container and a second current weight of the water receiving container; and calculating the current water receiving amount according to the first weight and the second weight.
In some embodiments, images corresponding to a water receiving container placed on a water receiving window of the water dispenser are collected through a camera device, and for convenience of description, the images corresponding to the water receiving container are called as third images. And extracting image information of the third image according to the third image corresponding to the water receiving container, wherein the image information comprises but is not limited to the water receiving container information, the water containing ratio information and the like. And acquiring the current water receiving amount of the water receiving container according to the image information.
Optionally, acquiring the current water receiving amount of the water receiving container according to the third image may include: according to the third image, acquiring container parameters of the water receiving container and the current water level height; the container parameters comprise at least one of container shape, container diameter and container side length; calculating the volume of the water currently contained in the water receiving container according to the container parameters and the current water level height; and calculating the current water receiving amount according to the volume.
In one embodiment, container parameters of the water receiving container and a current water level height in the water receiving container are obtained according to the third image. Wherein the container parameters include, but are not limited to, container shape, container diameter, container side length, and the like. For example, a water surface boundary generated based on tension formed between the water receiving container and water can be extracted from the third image, that is, the water surface in the container fluctuates due to tension in the water outlet process of the water dispenser, and a reflective boundary is obvious at the boundary of the inner wall of the container, so that the boundary of the water surface can be obtained through image analysis. And acquiring the current water level height in the water receiving container based on the water surface boundary. And then, calculating the current water volume in the water receiving container according to the container parameters and the current water level height. For example, taking a cylindrical cup as an example, the bottom area of the cylindrical cup is calculated according to the container diameter of the water receiving container, and then the current water volume in the cylindrical cup is obtained through calculation by multiplying the bottom area by the current water level height. And then, calculating the current water receiving amount in the water receiving container, namely the mass of the water contained in the water receiving container according to the calculated water volume and the density of the water.
In another embodiment, a weight detection device, such as a gravity sensor, is disposed on the water dispenser, and optionally, the weight detection device is disposed below the water pan. When the water receiving container is placed, the empty weight of the water receiving container is detected through the weight detection device, and in the water receiving process, the weight of the water receiving container after water is contained is detected. For the convenience of description, the empty weight of the water receiving container is hereinafter referred to as a first weight, and the weight of the water receiving container after receiving water is hereinafter referred to as a second weight. And calculating the difference between the first weight and the second weight, wherein the obtained difference is the weight of the water currently contained in the water receiving container, and then determining the current water receiving amount according to the weight.
And S102, carrying out image recognition processing on the first image to acquire the user action of the user.
After a first image corresponding to a user is acquired, image recognition processing is carried out on the first image, and image information corresponding to the first image is acquired. The image information includes, but is not limited to, environment background information, user motion gesture information, and the like, and according to the user motion gesture information, a user motion of the user is determined, for example, an OK gesture of the user, a scissor-hand gesture of the user, a biquad gesture, and the like.
S103, determining the target water receiving amount corresponding to the acquired user action according to the preset corresponding relation between the user action and the water receiving amount.
In order to realize that the water dispenser discharges water in an indefinite amount, the corresponding relation between the user action and the water receiving amount required by the user is preset, for example, the water receiving amount corresponding to one gesture is m1, the water receiving amount corresponding to one gesture is m2, the water receiving amount corresponding to an OK gesture is m3 and the like are preset.
For example, when the water dispenser discharges water, before acquiring a first image corresponding to a user and acquiring a current water receiving amount of the water receiving container, the method may further include: displaying a setting interface on a display screen of the water dispenser so that a user can input action information and corresponding water receiving amount information based on the setting interface; setting a corresponding relation between the user action and the water receiving amount according to the action information and the water receiving amount information; and storing the corresponding relation between the user action and the water receiving amount.
In one embodiment, the water dispenser is provided with a display screen, such as a touch display screen. The water outlet temperature, the working mode, the setting function and the like of the water dispenser can be displayed through the display screen. When the setting function is started, a corresponding setting interface is displayed on a display screen of the water dispenser, for example, as shown in fig. 4, a user can input action information and water receiving amount information corresponding to the action information based on the setting interface. And setting the corresponding relation between the user action and the water receiving amount based on the received action information and the corresponding water receiving amount information, and storing the corresponding relation between the user action and the water receiving amount. As shown in fig. 4, the user inputs user motion 1 and corresponding water receiving amount m1, and user motion 2 and corresponding water receiving amount m2, and after click confirmation, the correspondence between user motion 1 and water receiving amount m1, and user motion 2 and water receiving amount m2 are set and stored.
In another embodiment, the water dispenser may be in communication connection with a corresponding terminal, where the terminal includes, but is not limited to, a smart phone, a tablet computer, a smart appliance with a display screen, and the like. Optionally, the water dispenser may establish a Wi-Fi communication connection with the terminal, and it is understood that the water dispenser and the terminal may also establish a communication connection through other methods, such as bluetooth, zigbee, and the like, which is not limited herein. The terminal sets the corresponding relation between the user action and the water receiving amount based on the received action information and the corresponding water receiving amount information, and stores the corresponding relation between the user action and the water receiving amount. Optionally, the corresponding relation between the user action and the water receiving amount is sent to the water dispenser.
After the user action of the user is acquired according to the first image, the corresponding relation between the preset user action and the water receiving amount is inquired, and the target water receiving amount corresponding to the acquired user action is determined. Or sending an inquiry request containing the user action to the terminal, determining the target water receiving amount corresponding to the user action through terminal inquiry, and then feeding back the target water receiving amount information to the water dispenser.
And S104, controlling the water dispenser to stop discharging water when the current water receiving amount reaches the target water receiving amount.
In the water receiving process, the water dispenser compares the current water receiving amount of the water contained in the water receiving container with the target water receiving amount, and if the current water receiving amount does not reach the target water receiving amount, the water dispenser is controlled to continue to discharge water; otherwise, if the current water receiving amount reaches the target water receiving amount, namely the water receiving amount reaches the requirement of the user, the water dispenser is controlled to stop water outlet.
For example, in practical applications, the user may perform the user action when the water dispenser is started to discharge water, or may perform the user action in the middle of receiving water. When a user action is executed in the midway of water receiving, the current water receiving amount of the water contained in the water receiving container may exceed the target water receiving amount corresponding to the user action, namely the target water receiving amount is smaller than the current water receiving amount of the water receiving container, and at the moment, the water dispenser is controlled to stop water outlet.
In some embodiments, after determining the target water receiving amount corresponding to the acquired user action according to a preset correspondence between the user action and the water receiving amount, the method may further include: when the current water receiving amount does not reach the target water receiving amount, acquiring a second image currently corresponding to a water receiving window of the water dispenser; and if the user holds the water receiving container according to the second image, controlling the water dispenser to stop discharging water.
In practical application, a user may end the water outlet of the water dispenser in advance, and in an embodiment, in the water outlet process of the water dispenser, that is, when the current water receiving amount of the water receiving container does not reach the target water receiving amount, an image corresponding to the current water receiving window of the water dispenser is acquired through the camera device. For convenience of description, an image currently corresponding to the water receiving window is referred to as a second image hereinafter. And then, extracting image information in the second image, and identifying whether a user holds the water receiving container or not according to the image information of the second image. If the user is not identified to hold the water receiving container, controlling the water dispenser to continuously discharge water; on the contrary, if it is recognized that the user holds the water receiving container, for example, as shown in fig. 5, the user holds the water cup in the water receiving window, at this time, the water dispenser is directly controlled to stop discharging water, the user does not need to operate the corresponding key to control the water dispenser to stop discharging water, and the held water receiving container can be directly taken away, so that the use experience of the user is further improved.
In order to further improve the user experience, when the current water receiving amount of the water receiving container reaches the target water receiving amount, the water dispenser is controlled to stop water outlet, and corresponding water outlet completion prompt information can be output to remind a user that water outlet is completed and the water receiving container can be taken away.
The water outlet completion prompt message includes, but is not limited to, a voice prompt message, a light prompt message, a text prompt message, and the like. The manner of outputting the water outlet completion prompt message may include: the water dispenser is characterized in that a voice prompt message of finishing water outlet is output through voice broadcasting at a preset voice module of the water dispenser, or a text prompt message of finishing water outlet is displayed in a preset display screen of the water dispenser, or the water outlet is prompted to be finished through flickering of a preset indicator lamp of the water dispenser and the like.
When the water dispenser discharges water, the first image corresponding to the user is collected, the current water receiving amount of the water receiving container is obtained, image recognition processing is carried out on the first image, the user action of the user is obtained, the target water receiving amount corresponding to the obtained user action is determined according to the preset corresponding relation between the user action and the water receiving amount, when the current water receiving amount reaches the target water receiving amount, namely the required water amount of the user, the water dispenser is controlled to stop discharging water, manual operation of the user is omitted, and convenience in water discharging control of the water dispenser is improved.
Referring to fig. 6, fig. 6 is a schematic block diagram of a structure of a water dispenser provided in the embodiment of the present application.
As shown in fig. 6, the water dispenser 600 may include a processor 602, a memory 603, and a communication interface 604 connected by a system bus 601, wherein the memory 603 may include a non-volatile computer-readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any one of the water dispenser control methods.
The processor 602 is used to provide computing and control capabilities to support the operation of the entire water dispenser.
The memory 603 provides an environment for the execution of a computer program in a non-transitory computer readable storage medium, which when executed by the processor 602, causes the processor 602 to perform any one of the water dispenser control methods.
The communication interface 604 is used for communication. Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the water dispenser 600 to which the present application is applied, and that a particular water dispenser 600 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 bus 601 is, for example, an I2C (Inter-Integrated Circuit) bus, the Memory 603 may be a Flash chip, a Read-Only Memory (ROM), a magnetic disk, an optical disk, a usb disk, or a removable hard disk, the Processor 602 may be a Central Processing Unit (CPU), the Processor 602 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. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in some embodiments, the processor 602 is configured to run a computer program stored in the memory 603 to perform the following steps:
when the water dispenser discharges water, acquiring a first image corresponding to a user, and acquiring the current water receiving amount of the water receiving container;
performing image recognition processing on the first image to acquire a user action of the user;
determining the target water receiving amount corresponding to the acquired user action according to the preset corresponding relation between the user action and the water receiving amount;
and when the current water receiving amount reaches the target water receiving amount, controlling the water dispenser to stop discharging water.
In some embodiments, after determining, according to a preset correspondence between a user action and a water receiving amount, an acquired target water receiving amount corresponding to the user action, the processor 602 further performs:
when the current water receiving amount does not reach the target water receiving amount, acquiring a second image currently corresponding to a water receiving window of the water dispenser;
and if the user holds the water receiving container according to the second image, controlling the water dispenser to stop discharging water.
In some embodiments, in obtaining the current water receiving amount of the water receiving container, the processor 602 further performs:
collecting a third image corresponding to the water receiving container, and acquiring the current water receiving amount of the water receiving container according to the third image; or
Acquiring a first weight of the empty water receiving container and a second weight of the current water receiving of the water receiving container; and calculating the current water receiving amount according to the first weight and the second weight.
In some embodiments, when acquiring the current water receiving amount of the water receiving container according to the third image, processor 602 further performs:
according to the third image, acquiring container parameters of the water receiving container and the current water level height; the container parameters comprise at least one of container shape, container diameter and container side length;
calculating the volume of the water currently contained in the water receiving container according to the container parameters and the current water level height;
and calculating the current water receiving amount according to the volume.
In some embodiments, processor 602 also performs:
and if the target water receiving amount is smaller than the current water receiving amount, controlling the water dispenser to stop discharging water.
In some embodiments, when the water dispenser is discharging water, the processor 602 further performs, before acquiring a first image corresponding to the user and acquiring the current water receiving amount of the water receiving container:
displaying a setting interface on a display screen of the water dispenser so that a user can input action information and corresponding water receiving amount information based on the setting interface;
setting a corresponding relation between the user action and the water receiving amount according to the action information and the water receiving amount information;
and storing the corresponding relation between the user action and the water receiving amount.
In some embodiments, when the water dispenser is discharging water, and the first image corresponding to the user is acquired, the processor 602 further performs:
when the water dispenser discharges water, detecting whether a user exists in a preset distance range of the water dispenser through the infrared device;
and if the user exists in the preset distance range of the water dispenser, starting the camera device and acquiring the first image.
In some embodiments, processor 602 also performs:
and when the current water receiving amount reaches the target water receiving amount, outputting corresponding water outlet completion prompt information, wherein the water outlet completion prompt information comprises at least one of voice prompt information and light prompt information.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the control method of the water dispenser, and are not described herein again.
When the water dispenser discharges water, the first image corresponding to the user is collected, the current water receiving amount of the water receiving container is obtained, image recognition processing is carried out on the first image, the user action of the user is obtained, the target water receiving amount corresponding to the obtained user action is determined according to the preset corresponding relation between the user action and the water receiving amount, when the current water receiving amount reaches the target water receiving amount, namely the required water amount of the user, the water dispenser is controlled to stop discharging water, manual operation of the user is omitted, and convenience in water discharging control of the water dispenser is improved.
The embodiment of the application also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, the computer program comprises program instructions, and a processor executes the program instructions to realize any one of the water dispenser control methods provided by the embodiment of the application. For example, the computer program is loaded by a processor and may perform the following steps:
when the water dispenser discharges water, acquiring a first image corresponding to a user, and acquiring the current water receiving amount of the water receiving container;
performing image recognition processing on the first image to acquire a user action of the user;
determining the target water receiving amount corresponding to the acquired user action according to the preset corresponding relation between the user action and the water receiving amount;
and when the current water receiving amount reaches the target water receiving amount, controlling the water dispenser to stop discharging water.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The computer-readable storage medium may be an internal storage unit of the water dispenser of the foregoing embodiment, for example, a hard disk or a memory of the water dispenser. The computer readable storage medium may also be an external storage device of the water dispenser, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the water dispenser.
As the computer program stored in the computer-readable storage medium can execute any one of the water dispenser control methods provided in the embodiments of the present application, the beneficial effects that can be realized by any one of the water dispenser control methods provided in the embodiments of the present application can be realized, which are detailed in the foregoing embodiments and will not be described herein again.
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 various equivalent modifications or substitutions can be easily made by those skilled in the art 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 dispenser is characterized by comprising the following steps:
when the water dispenser discharges water, acquiring a first image corresponding to a user, and acquiring the current water receiving amount of the water receiving container;
performing image recognition processing on the first image to acquire a user action of the user;
determining the target water receiving amount corresponding to the acquired user action according to the preset corresponding relation between the user action and the water receiving amount;
and when the current water receiving amount reaches the target water receiving amount, controlling the water dispenser to stop discharging water.
2. The water dispenser control method according to claim 1, wherein after determining the target water receiving amount corresponding to the acquired user action according to the preset corresponding relationship between the user action and the water receiving amount, the method further comprises:
when the current water receiving amount does not reach the target water receiving amount, acquiring a second image currently corresponding to a water receiving window of the water dispenser;
and if the user holds the water receiving container according to the second image, controlling the water dispenser to stop discharging water.
3. The water dispenser control method of claim 1, wherein the obtaining of the current water receiving amount of the water receiving container comprises:
collecting a third image corresponding to the water receiving container, and acquiring the current water receiving amount of the water receiving container according to the third image; or
Acquiring a first weight of the empty water receiving container and a second weight of the current water receiving of the water receiving container; and calculating the current water receiving amount according to the first weight and the second weight.
4. The water dispenser control method of claim 3, wherein the obtaining of the current water receiving amount of the water receiving container according to the third image comprises:
according to the third image, acquiring container parameters of the water receiving container and the current water level height; the container parameters comprise at least one of container shape, container diameter and container side length;
calculating the volume of the water currently contained in the water receiving container according to the container parameters and the current water level height;
and calculating the current water receiving amount according to the volume.
5. The water dispenser control method of claim 1, further comprising:
and if the target water receiving amount is smaller than the current water receiving amount, controlling the water dispenser to stop discharging water.
6. The water dispenser control method according to claim 1, wherein before acquiring the first image corresponding to the user and acquiring the current water receiving amount of the water receiving container when the water dispenser is discharging water, the method further comprises:
displaying a setting interface on a display screen of the water dispenser so that a user can input action information and corresponding water receiving amount information based on the setting interface;
setting a corresponding relation between the user action and the water receiving amount according to the action information and the water receiving amount information;
and storing the corresponding relation between the user action and the water receiving amount.
7. The water dispenser control method according to claim 1, wherein the water dispenser comprises a camera device and an infrared device, and the acquiring of the first image corresponding to the user when the water dispenser is discharging water comprises:
when the water dispenser discharges water, detecting whether a user exists in a preset distance range of the water dispenser through the infrared device;
and if the user exists in the preset distance range of the water dispenser, starting the camera device and acquiring the first image.
8. The water dispenser control method according to any one of claims 1 to 7, characterized in that the method further comprises:
and when the current water receiving amount reaches the target water receiving amount, outputting corresponding water outlet completion prompt information, wherein the water outlet completion prompt information comprises at least one of voice prompt information and light prompt information.
9. A water dispenser, characterized in that the water dispenser comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the water dispenser control method according to any one of claims 1 to 8 when calling the computer program in the memory.
10. A computer-readable storage medium for storing a computer program which is loaded by a processor to execute the water dispenser control method according to any one of claims 1 to 8.
CN202010132797.6A 2020-02-29 2020-02-29 Water dispenser control method, water dispenser and computer readable storage medium Pending CN111568179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010132797.6A CN111568179A (en) 2020-02-29 2020-02-29 Water dispenser control method, water dispenser and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010132797.6A CN111568179A (en) 2020-02-29 2020-02-29 Water dispenser control method, water dispenser and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111568179A true CN111568179A (en) 2020-08-25

Family

ID=72114823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010132797.6A Pending CN111568179A (en) 2020-02-29 2020-02-29 Water dispenser control method, water dispenser and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111568179A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113907604A (en) * 2021-10-18 2022-01-11 广东优碧胜科技有限公司 Water outlet control method and device, electronic equipment and water outlet system
CN113985766A (en) * 2021-10-15 2022-01-28 中山市海宝电器有限公司 Water pump online regulation and control management system based on remote control
CN115247899A (en) * 2022-07-18 2022-10-28 深圳安吉尔饮水产业集团有限公司 Control method, controller, and computer-readable storage medium
CN115550602A (en) * 2021-06-30 2022-12-30 青岛海尔科技有限公司 Control method and device of water dispenser, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104921599A (en) * 2015-07-06 2015-09-23 苏州华爱电子有限公司 Intelligent water dispenser system based on WiFi and multimedia
CN107427142A (en) * 2015-02-10 2017-12-01 康富公司 The intelligent sketching of beverage dispenser
CN109303484A (en) * 2017-07-27 2019-02-05 广东合即得能源科技有限公司 A kind of open air direct drinking fountain and its control method
CN109381013A (en) * 2017-08-08 2019-02-26 上海善解人意信息科技有限公司 A kind of water dispenser and its control method
CN208541131U (en) * 2017-11-30 2019-02-26 深圳拓邦股份有限公司 A kind of water dispenser and water purifier
CN110432778A (en) * 2019-08-07 2019-11-12 佛山市顺德区美的饮水机制造有限公司 Control method, device, water dispenser and the machine readable storage medium of water dispenser

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107427142A (en) * 2015-02-10 2017-12-01 康富公司 The intelligent sketching of beverage dispenser
CN104921599A (en) * 2015-07-06 2015-09-23 苏州华爱电子有限公司 Intelligent water dispenser system based on WiFi and multimedia
CN109303484A (en) * 2017-07-27 2019-02-05 广东合即得能源科技有限公司 A kind of open air direct drinking fountain and its control method
CN109381013A (en) * 2017-08-08 2019-02-26 上海善解人意信息科技有限公司 A kind of water dispenser and its control method
CN208541131U (en) * 2017-11-30 2019-02-26 深圳拓邦股份有限公司 A kind of water dispenser and water purifier
CN110432778A (en) * 2019-08-07 2019-11-12 佛山市顺德区美的饮水机制造有限公司 Control method, device, water dispenser and the machine readable storage medium of water dispenser

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550602A (en) * 2021-06-30 2022-12-30 青岛海尔科技有限公司 Control method and device of water dispenser, storage medium and electronic device
CN113985766A (en) * 2021-10-15 2022-01-28 中山市海宝电器有限公司 Water pump online regulation and control management system based on remote control
CN113985766B (en) * 2021-10-15 2022-06-17 中山市海宝电器有限公司 Water pump online regulation and control management system based on remote control
CN113907604A (en) * 2021-10-18 2022-01-11 广东优碧胜科技有限公司 Water outlet control method and device, electronic equipment and water outlet system
CN115247899A (en) * 2022-07-18 2022-10-28 深圳安吉尔饮水产业集团有限公司 Control method, controller, and computer-readable storage medium
CN115247899B (en) * 2022-07-18 2024-02-06 深圳安吉尔饮水产业集团有限公司 Control method, controller and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN111568179A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN106843786B (en) Display screen opening method, display screen opening device and terminal
WO2018191895A1 (en) Light intensity detection method and device and intelligent terminal
CN107223232B (en) Electronic equipment and detection method
TWI547937B (en) Display backlight adjustment method, display backlight adjustment apparatus and computer program product for adjusting display backlight
RU2623888C2 (en) Method and output device of the prompting messages to the user on the basis of intellictual water purification equipment
CN111568242A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111580393A (en) Flushing control method, toilet and storage medium
CN111568245A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568226A (en) Water outlet control method of water dispenser, water dispenser and computer readable storage medium
CN113012656A (en) Display screen control method, intelligent household appliance and storage medium
CN111568193A (en) Water outlet device control method, water outlet device and computer readable storage medium
CN111568212A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568236A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568235A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN105549376B (en) Terminal quarter-bell control method and device
CN111568224A (en) Safe water outlet method of water dispenser, water dispenser and computer readable storage medium
CN111568194A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568237A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111642975A (en) Water outlet control method, water dispenser and computer readable storage medium
CN111835956B (en) Camera control method and device, image acquisition equipment and electronic equipment
CN111568217A (en) Water dispenser control method, water dispenser and computer readable storage medium
CN111568229A (en) Water outlet device control method, water outlet device and computer readable storage medium
CN111568230A (en) Water outlet control method of water dispenser, water dispenser and computer readable storage medium
CN111568233A (en) Water dispenser control method, water dispenser and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200825