Water outlet control method, device and equipment of drinking water equipment and storage medium

By using ultrasonic sensors in drinking water equipment to detect the status of the water cup and automatically control water supply and water stop, the problem of insufficient intelligence in existing technologies is solved and the user experience is improved.

CN120770677APending Publication Date: 2025-10-14QINGDAO ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE HAIER WATER HEATER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410402705.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2025-10-14

AI Technical Summary

Technical Problem

The existing drinking water equipment control method cannot automatically control the water supply and water stop of the drinking water equipment according to the different states of the water cup, resulting in low intelligence and affecting the user experience.

Method used

By setting an ultrasonic sensor near the water outlet of the drinking water device, the status of the water cup, including edge parameters and distance parameters, is continuously detected. The current status of the water cup is judged based on these parameters, and the water outlet, pause, and stop of the drinking water device are automatically controlled.

Benefits of technology

Automatic control based on the state of the water cup is realized, which improves the intelligence of the drinking water equipment and the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120770677A_ABST
    Figure CN120770677A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of intelligent household appliances, and particularly relates to a water outlet control method, device and equipment of drinking water equipment and a computer storage medium. According to the method, parameter information of a water container is continuously detected through a sensor, the parameter information comprises a first edge parameter of the water container, and the edge parameter is used for indicating the area where the edge of the water container is located; determining the current state of the water container according to the first edge parameter; when the current state is a first state, a water outlet device of the drinking water equipment is controlled to conduct water outlet treatment, and the first state is used for indicating that the water container is currently located in a water receiving area of the drinking water equipment; according to the method, the water outlet of the water drinking equipment is automatically controlled based on the current state of the water container, the intelligence of the water drinking equipment is improved, and therefore the user experience feeling is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of intelligent household appliances, and particularly relates to a water outlet control method, device and equipment of a water drinking equipment and a storage medium. BACKGROUND

[0002] At present, the water taking mode of the water drinking equipment mainly includes three modes of manual key pressing, manual water quantity setting and manual water taking time setting. The water taking modes based on manual operation require the user to take water by frequently operating the keys. In the case of excessive water outlet flow, the user is prone to take excessive water and water spills out of the cup due to the failure to operate the keys or the insensitivity of the keys. In the process of taking hot water, there is a risk of scalding the user, which affects the user experience.

[0003] In order to meet the increasing demand of people for life, more and more water drinking equipment has the functions of automatic water outlet and automatic water stop. The existing water drinking equipment control method calculates the distance from the object by collecting the time used for transmitting and receiving waves through a sensor, judges whether there is a cup and the liquid level in the cup, and further controls the water drinking equipment to outlet or stop water.

[0004] However, the existing water drinking equipment control method cannot automatically control the water outlet and water stop of the water drinking equipment according to the different states of the cup, resulting in low intelligence of the water drinking equipment and affecting the user experience. SUMMARY

[0005] The present application provides a control method, device, equipment and computer storage medium of a water drinking equipment to solve the problem of low intelligence of the water drinking equipment and affecting the user experience of the existing water drinking equipment control method.

[0006] In a first aspect, the present application provides a water outlet control method of a water drinking equipment, which comprises:

[0007] continuously detecting parameter information of a water container by a sensor, the parameter information comprising a first rim parameter of the water container, wherein the rim parameter is used to indicate the area where the rim of the water container is located;

[0008] determining the current state of the water container according to the first rim parameter;

[0009] when the current state is a first state, controlling the water outlet device of the water drinking equipment to perform water outlet processing, wherein the first state is used to indicate that the water container is currently in the water receiving area of the water drinking equipment.

[0010] Optionally, the determining the current state of the water container according to the first rim parameter comprises:

[0011] analyzing the first edge parameter to obtain an edge profile of the water container and position information of the edge;

[0012] According to the position information, it is judged whether the edge of the water container is in a preset area;

[0013] If yes, according to the edge profile, it is judged whether the edge of the water container is complete;

[0014] If the edge of the water container is complete, it is determined that the current state of the water container is a first state.

[0015] Optionally, the method further comprises:

[0016] If the edge of the water container is not in the preset area, it is determined that the current state of the water container is a second state, and the second state is used to indicate that part of the edge of the water container is not currently in the water receiving area of the water drinking device;

[0017] When the current state is the second state, the water outlet device of the water drinking device is not controlled to perform water outlet processing.

[0018] Optionally, before continuously detecting the parameter information of the water container by the sensor, the method further comprises:

[0019] The first distance parameter between the sensor and the obstacle directly below the sensor is continuously obtained by the sensor;

[0020] It is judged whether the first distance parameter is less than a first preset parameter;

[0021] When the first distance parameter is less than the first preset parameter, it is determined that the water container exists in the water receiving cavity of the water drinking device.

[0022] Optionally, after controlling the water outlet device of the water drinking device to perform water outlet processing, the method further comprises:

[0023] The parameter information of the water container in the water receiving cavity of the water drinking device is continuously detected by the sensor, and the parameter information includes a second edge parameter when the water container is in a water receiving stage;

[0024] According to the second edge parameter, it is judged whether the edge of the water container is in a preset area;

[0025] If no, the water outlet device is controlled to pause water outlet;

[0026] If yes, it is judged whether the edge of the water container is complete;

[0027] When the rim of the water container is incomplete, the water outlet device is controlled to pause water outlet.

[0028] Optionally, the method further comprises:

[0029] continuously detecting, by the sensor, a second distance parameter between the sensor and an obstacle directly below the sensor;

[0030] determining, according to the second distance parameter, a current state of the water container;

[0031] when the current state is a cup full state, controlling the water outlet device to stop water outlet processing.

[0032] Optionally, the second rim parameter comprises rim height information, and the determining, according to the second distance parameter, of the current state of the water container comprises:

[0033] determining, according to the rim height information and a first preset parameter, a container height of the water container;

[0034] determining, according to the container height, a second preset parameter corresponding to the water container;

[0035] determining whether the second distance parameter reaches the second preset parameter;

[0036] when the second distance parameter reaches the second preset parameter, determining that the current state of the water container is a cup full state.

[0037] In a second aspect, the present application provides a water outlet control device of a water drinking device, which comprises:

[0038] a detection module configured to continuously detect, by a sensor, parameter information of a water container, the parameter information comprising a first rim parameter of the water container, wherein the rim parameter is used to indicate a region where a rim of the water container is located;

[0039] a processing module configured to determine, according to the first rim parameter, a current state of the water container;

[0040] a control module configured to, when the current state is a first state, control a water outlet device of the water drinking device to perform water outlet processing, the first state being used to indicate that the water container is currently located in a water receiving region of the water drinking device. Optionally, the device further comprises a judgment module.

[0041] the processing module is further configured to analyze and process the first rim parameter to obtain a rim contour of the water container and position information of the rim;

[0042] The judging module is configured to judge whether the rim of the water container is in a preset area according to the position information.

[0043] The judging module is further configured to judge whether the rim of the water container is complete according to the rim profile when the rim of the water container is in the preset area.

[0044] The processing module is further configured to determine that the current state of the water container is a first state when it is determined that the rim of the water container is complete.

[0045] Optionally, the processing module is further configured to determine that the current state of the water container is a second state when the rim of the water container is not in the preset area, the second state being used to indicate that part of the rim of the water container is not currently in the water receiving area of the water drinking device.

[0046] The control module is further configured to not control the water outlet device of the water drinking device to perform water outlet processing when the current state is the second state.

[0047] Optionally, the detection module is further configured to continuously acquire, by the sensor, a first distance parameter between the sensor and an obstacle directly below the sensor.

[0048] The judging module is further configured to judge whether the first distance parameter is less than a first preset parameter.

[0049] The processing module is further configured to determine that the water container exists in the water receiving cavity of the water drinking device when the first distance parameter is less than the first preset parameter.

[0050] Optionally, the detection module is further configured to continuously detect, by the sensor, parameter information of the water container in the water receiving cavity of the water drinking device, the parameter information including a second rim parameter of the water container in a water receiving stage.

[0051] The judging module is further configured to judge whether the rim of the water container is in a preset area according to the second rim parameter.

[0052] The control module is further configured to control the water outlet device to pause water outlet when the rim of the water container is not in the preset area.

[0053] The judging module is further configured to judge whether the rim of the water container is complete when the rim of the water container is in the preset area.

[0054] The control module is further configured to control the water outlet device to pause water outlet when the rim of the water container is not complete.

[0055] Optionally, the detection module is further configured to continuously detect a second distance parameter between the sensor and an obstacle directly below the sensor through the sensor.

[0056] The processing module is further configured to determine a current state of the water container according to the second distance parameter.

[0057] The control module is further configured to control the water outlet device to stop water outlet processing when the current state is a full cup state.

[0058] Optionally, the processing module is further configured to determine a container height of the water container according to the rim height information and a first preset parameter.

[0059] The processing module is further configured to determine a second preset parameter corresponding to the water container according to the container height.

[0060] The judgment module is further configured to determine whether the second distance parameter reaches a second preset parameter.

[0061] The processing module is further configured to determine that the current state of the water container is a full cup state when the second distance parameter reaches the second preset parameter.

[0062] In a third aspect, the present application provides a water outlet control device of a water drinking device, comprising:

[0063] a memory;

[0064] a processor;

[0065] The memory stores computer execution instructions.

[0066] The processor executes the computer execution instructions stored in the memory to implement the water outlet control method of the water drinking device as described in the first aspect and various possible implementation manners of the first aspect.

[0067] In a fourth aspect, the present application provides a computer storage medium having computer execution instructions stored thereon, and the computer execution instructions are executed by a processor to implement the water outlet control method of the water drinking device as described in the first aspect and various possible implementation manners of the first aspect.

[0068] The water outlet control method of the water drinking equipment provided by the application comprises the following steps: continuously detecting parameter information of a water container by a sensor, the parameter information comprising a first edge parameter of the water container, wherein the edge parameter is used to indicate a region where an edge of the water container is located; determining a current state of the water container according to the first edge parameter; and when the current state is a first state, controlling a water outlet device of the water drinking equipment to perform water outlet processing, wherein the first state is used to indicate that the water container is currently located in a water receiving region of the water drinking equipment. The method realizes automatic control of water outlet of the water drinking equipment based on the current state of the water container, improves the intelligence of the water drinking equipment, and thus improves the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0069] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application.

[0070] Figure 1 is a scene diagram of the water outlet control method of the water drinking equipment provided by the application;

[0071] Figure 2 is a flowchart of the water outlet control method of the water drinking equipment provided by the application Figure One ;

[0072] Figure 3 is a flowchart of the water outlet control method of the water drinking equipment provided by the application Figure Two ;

[0073] Figure 4 is a flowchart of the water outlet control method of the water drinking equipment provided by the application Figure Three ;

[0074] Figure 5 is a state diagram of the water container provided by the application Figure One ;

[0075] Figure 6 is a state diagram of the water container provided by the application Figure Two ;

[0076] Figure 7 is a state diagram of the water container provided by the application Figure Three ;

[0077] Figure 8 is a state diagram of the water container provided by the application Figure Four ;

[0078] Figure 9 is a state diagram of the water container provided by the application Figure Five ;

[0079] Figure 10is a structural schematic view of a water outlet control device of a water drinking device provided by the application;

[0080] Figure 11 is a structural schematic view of a water outlet control device of a water drinking device provided by the application.

[0081] Through the above drawings, the specific embodiments of the application have been shown, and will be described in more detail hereinafter. These drawings and the written description are not intended to restrict the scope of the concept of the application by any means, but to illustrate the concept of the application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0082] In order to make the purposes, technical solutions and advantages of the application more clear, the technical solutions of the application will be described clearly and completely in combination with the drawings in the application. Obviously, the described embodiments are part of the embodiments of the application, rather than all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the application.

[0083] The terms "first", "second", "third", "fourth" and the like (if any) in the specification and claims of the application and the above drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein.

[0084] In the embodiments of the application, the words "exemplary" or "for example" are used to mean example, illustration, or description. Any embodiment or design solution described as "exemplary" or "for example" in the application should not be interpreted as more preferred or more advantageous than other embodiments or design solutions. Rather, the use of "exemplary" or "for example" is intended to present the relevant concept in a specific manner.

[0085] At present, the water outlet mode of the water drinking device is mainly manual key water outlet. Specifically, the user issues a water outlet command through device keys or APP keys, and the main control module arranged on the water drinking device detects the water outlet command and controls the water pump to outlet water.

[0086] The water stopping mode of the water drinking device mainly includes the following three modes:

[0087] 1. Manual key water stopping: the user stops water outlet by touching the keys;

[0088] 2. Set water volume water stopping: the user sets the water volume in advance, clicks the keys to outlet water, and the main control module calculates the outlet water volume through the outlet water flow, and stops water outlet when the outlet water volume reaches the set water volume;

[0089] 3. Set the water taking time to stop water: the user sets the water taking time in advance, and stops the water when the water taking time reaches the set water taking time.

[0090] The above water outlet and water stop method based on keys is complicated to operate, and the user needs to take water by frequently operating the keys. In the case of excessive water flow, it is easy to cause excessive water taking and water overflow due to the failure to operate the keys or the insensitivity of the keys. In the process of taking hot water, there is a risk of scalding the user, which affects the user experience.

[0091] In order to meet the increasing demand of people for life, more and more water drinking devices have the functions of automatic water outlet and automatic water stop. The existing water drinking device control method collects the time used for transmitting and reflecting waves by sensors, calculates the distance from the object, judges whether there is a water cup and the liquid level in the water cup, and further controls the water drinking device to outlet or stop water.

[0092] Among them, the sensor can be an infrared sensor, an ultrasonic sensor, etc. The infrared sensor and the ultrasonic sensor have advantages and disadvantages. The infrared wave emitted by the infrared sensor is a light wave, which propagates fast and is sensitive, but the light wave has strong penetration, which can easily cause inaccurate detection when a transparent water cup is used. At the same time, the infrared wave is easily affected by light in the environment and is easily absorbed by black, so when the environment is too bright or the user uses a transparent or black water cup, it is easy to cause the water cup to be undetected or the water outlet to be stopped in time. The ultrasonic sensor emits ultrasonic waves, which are a kind of sound waves. The ultrasonic wave has weak penetration and can accurately measure solids and liquids, and is basically not affected by light. Although the propagation speed is slower than that of infrared waves, the detection distance of the water drinking device is short, and the use of ultrasonic sensors can usually meet the requirements of detection sensitivity and accuracy.

[0093] However, regardless of which sensor is used, the existing water drinking device control method cannot automatically control the water outlet and water stop of the water drinking device according to the different states of the water cup to meet the user's water taking demand, resulting in low intelligence of the water drinking device and affecting the user experience.

[0094] To solve the above problems, the present application provides a water outlet control method of a water drinking device. Figure 1 The scene diagram of the water outlet control method of the water drinking device provided by the present application is shown. It should be noted that, Figure 1 The application scenarios shown are only examples of application scenarios to which the water outlet control method of the water drinking device of the present application can be applied, to help those skilled in the art understand the technical content of the present application, but do not mean that the embodiments of the present application cannot be used in other devices, systems, environments or scenarios.

[0095] As Figure 1As shown, the control system of the water drinking device 1 comprises a main control module 11, an ultrasonic module 12, other sensor modules 13, load modules 14, and a display panel 15. The main control module 11 is in communication connection with the ultrasonic module 12, and the main control module 11 supplies power to the ultrasonic module 12. The main control module 11 is used to acquire various information detected by the ultrasonic module 12 and the other sensor modules 13, and to analyze and process the received information, so as to control the operation of the loads of the water drinking device 1. The display panel is used for information interaction with the user.

[0096] The ultrasonic module 12 comprises an ultrasonic sensor, a processing module, and an indicator light. The ultrasonic sensor can be arranged near the water outlet of the water drinking device 1, and the indicator light can be arranged above the water outlet. When the water cup is in a normal water receiving state, the indicator light is turned on to prompt the user that water will be discharged.

[0097] When the ultrasonic module 12 is in a working state, the ultrasonic sensor regularly emits ultrasonic waves to the direction of the water receiving cavity of the water drinking device. After the ultrasonic waves collide with an obstacle, the ultrasonic waves return. The ultrasonic module 12 calculates the time from the emission to the return of the ultrasonic waves by means of a timer inside the processing module, so as to estimate the distance between the ultrasonic sensor and the obstacle. The ultrasonic module 12 can determine the current state of the water cup by means of different distances detected by the ultrasonic sensor, and frame and send key information such as the current state of the water cup, the distance between the ultrasonic sensor and the cup rim, the distance between the ultrasonic sensor and the cup bottom, and the liquid level percentage to the main control module 11, so that the main control module 11 receives the data frame sent by the ultrasonic module 12, analyzes and processes the data frame, and controls the water discharge of the water drinking device 1 according to the state of the water cup.

[0098] For example, the state of the water cup can be no water cup, proper water cup position, found cup rim, full cup, or cup rim covered. It can be understood that, in the case of no water cup, the distance between the ultrasonic sensor and the cup holder at the bottom of the water receiving cavity is a fixed distance value. Therefore, if the ultrasonic sensor continuously detects that the distance between the ultrasonic sensor and the cup holder is the fixed distance value, it indicates that there is no water cup below the water outlet. The proper water cup position means that the water cup is directly below the water outlet of the water drinking device 1, and water can be normally discharged at this time. The found cup rim means that only part of the cup rim is detected by the ultrasonic sensor, indicating that the water cup is not placed directly below the water outlet, and water cannot be discharged at this time. The full cup means that the liquid level percentage in the water cup reaches a preset liquid level percentage, indicating that the water cup is in a full state at this time, and water discharge is stopped at this time.

[0099] The water outlet control method of the water drinking equipment provided by the application controls the water outlet, suspends the water outlet and stops the water outlet of the water drinking equipment according to the state of the cup through the ultrasonic sensor arranged near the water outlet of the water drinking equipment and the continuous detection of the cup state by the ultrasonic sensor. Before the water outlet, if it is determined that the cup is in the preset area and the cup edge is complete, the water outlet of the water drinking equipment is controlled to perform the water outlet process, and if it is determined that the cup is not in the preset area, the water outlet of the water drinking equipment is not controlled to perform the water outlet process. During the water outlet process, if the liquid level percentage in the cup reaches the stop percentage, it is determined that the cup is in the full cup state, and the water outlet of the water drinking equipment is controlled to stop the water outlet. If the user needs to suspend the water outlet, the hand can be placed in the oblique upper side of the cup to determine that the cup is in the edge covered state, and the water outlet of the water drinking equipment is controlled to suspend the water outlet. The method realizes the automatic control of the water outlet and the water stop of the water drinking equipment based on the current state of the water container, improves the intelligence of the water drinking equipment, and improves the user experience.

[0100] The technical solutions of the application and how the technical solutions solve the above technical problems will be described in detail below with specific examples. The following specific examples can be implemented independently or in combination. For the same or similar concepts or processes, some examples may not be described again. The embodiments of the application will be described below with reference to the drawings.

[0101] Figure 2 The flow of the water outlet control method of the water drinking equipment provided by the embodiment of the application Figure One The execution subject of the embodiment can be, for example, the control system of the water drinking equipment in Figure 1 . As shown in Figure 2 , the water outlet control method of the water drinking equipment provided by the embodiment includes the following steps.

[0102] S201, continuously detecting parameter information of the water container by a sensor, the parameter information including a first edge parameter of the water container.

[0103] The edge parameter is used to indicate the area where the edge of the water container is located, and the first edge parameter is a parameter obtained by detecting the edge of the water container by the sensor before the water outlet of the water drinking equipment. The sensor can be, for example, an ultrasonic sensor, an infrared sensor or a combination of an ultrasonic sensor and an infrared sensor. The type of the sensor is not limited in the application as long as it can detect the parameter information of the water container. The ultrasonic sensor is taken as an example in the embodiment.

[0104] It can be understood that when the sensor is installed near the water outlet of the water drinking device, and the user places the water container on the cup holder at the bottom of the water receiving cavity, the first edge parameter of the water container below the water outlet of the water drinking device can be continuously detected by the sensor, so as to subsequently determine whether the current state of the water container meets the water outlet condition according to the first edge parameter.

[0105] S202, determining the current state of the water container according to the first edge parameter.

[0106] The first edge parameter may be, for example, the distance between the sensor and the opening edge of the water container. When the sensor is an ultrasonic sensor, the ultrasonic module can determine whether the area where the edge of the water container is located is a preset area and whether the edge of the water container is complete according to the first edge parameter of the water container, and determine the current state of the water container according to the determination result.

[0107] It can be understood that when the user has a water demand, the user will place the water container on the cup holder, but the placement position may not meet the water outlet condition. Therefore, the current state of the water container needs to be determined according to the first edge parameter of the water container detected by the ultrasonic sensor, so as to determine whether to control the water outlet device of the water drinking device to perform water outlet processing according to the current state of the water container.

[0108] For example, when the first edge parameter of the water container indicates that the area where the edge of the water container is located is not within the preset area range, it indicates that the water container is not in the water receiving area in the water receiving cavity at this time, and it can be determined that the current state of the water container is that the cup edge is found. When the first edge parameter of the water container indicates that the area where the edge of the water container is located is within the preset area range, and the edge of the water container is not complete, it indicates that the edge of the water container is in the water receiving area in the water receiving cavity at this time, but the contour of the edge of the water container is not complete at this time, and it can be determined that the current state of the water container is that the cup edge is covered.

[0109] S203, when the current state is a first state, controlling the water outlet device of the water drinking device to perform water outlet processing.

[0110] The first state is used to indicate that the water container is currently in the water receiving area of the water drinking device, that is, all edges of the water container are currently in the water receiving area of the water drinking device, and the edges are complete.

[0111] It can be understood that since the ultrasonic module is in communication connection with the main control module, and the main control module can drive the water outlet device and other load modules of the water drinking device to perform water outlet, when the ultrasonic module determines that the current state of the water container is the first state according to the first edge parameter of the water container detected by the ultrasonic sensor, the current state of the water container is sent to the main control module, so that the main control module controls the water drinking device to perform water outlet according to the current state of the water container.

[0112] In this step, when the water container is currently in the first state, it is proved that the water container meets the water outlet condition of the drinking water equipment at this time, that is, the position of the water container is appropriate, and the cup edge is not covered by an obstacle such as a cup cover or a user's limbs. Therefore, the purpose of this step is to control the water outlet device of the drinking water equipment to perform the water outlet process by determining that the water container is in the first state, thereby improving the intelligence of the drinking water equipment.

[0113] The water outlet control method of the drinking water equipment provided by the embodiment continuously detects the parameter information of the water container through the sensor, the parameter information including: a first edge parameter of the water container, wherein the edge parameter is used to indicate the area where the edge of the water container is located; determining the current state of the water container according to the first edge parameter; when the current state is a first state, controlling the water outlet device of the drinking water equipment to perform the water outlet process, the first state being used to indicate that the water container is currently in the water receiving area of the drinking water equipment. This method realizes automatic control of the water outlet of the drinking water equipment based on the current state of the water container, improves the intelligence of the drinking water equipment, and thus improves the user experience.

[0114] Figure 3 The flow of the water outlet control method of the drinking water equipment provided by the embodiment Figure Two The embodiment is based on Figure 2 The water outlet control method of the drinking water equipment is described in detail based on the embodiment. As shown in Figure 3 The water outlet control method of the drinking water equipment provided by the embodiment includes:

[0115] S301, continuously acquiring a first distance parameter between the sensor and an obstacle directly below the sensor through the sensor.

[0116] The first distance parameter refers to the vertical distance between the sensor and the obstacle directly below the sensor detected by the sensor before the water outlet of the drinking water equipment.

[0117] It can be understood that when the sensor is an ultrasonic sensor, the ultrasonic module detects the first distance parameter in the water receiving cavity of the drinking water equipment through the ultrasonic sensor. This is done to determine whether there is a water container in the current water receiving area. For example, when there is a water container in the water receiving area, the obstacle directly below the ultrasonic sensor refers to the bottom of the water container, that is, the first distance parameter refers to the vertical distance between the ultrasonic sensor and the bottom of the water container.

[0118] S302, determining whether the first distance parameter is less than a first preset parameter; if yes, performing step S303; if no, performing step S304.

[0119] The first preset parameter is the vertical distance between the sensor and the cup stand arranged at the bottom of the water receiving cavity of the water dispenser. The first preset parameter can be a design parameter of the water dispenser.

[0120] Figure 5 A state diagram of the water container provided by the embodiment of the present application Figure One As shown in Figure 5 The ultrasonic sensor is arranged near the water outlet of the water dispenser. If the first distance parameter detected by the ultrasonic sensor is less than the first preset parameter, it indicates that there is an obstacle between the ultrasonic sensor and the cup stand, which is the cup bottom of the water container. At this time, it can be determined that the water container exists in the water receiving cavity of the water dispenser. If the first distance parameter continuously detected by the ultrasonic sensor is equal to the first preset parameter, it indicates that there is no obstacle directly below the ultrasonic sensor, and the distance value directly detected is the same as the distance value of the first preset parameter. At this time, it can be determined that the water container does not exist in the water receiving cavity of the water dispenser.

[0121] S303, determining that the water container exists in the water receiving cavity of the water dispenser.

[0122] S304, determining that the water container does not exist in the water receiving cavity of the water dispenser.

[0123] S305, continuously detecting parameter information of the water container by the sensor, the parameter information including a first rim parameter of the water container.

[0124] Step S305 is similar to step S201 described above, and will not be described here.

[0125] S306, analyzing and processing the first rim parameter to obtain the rim profile of the water container and the position information of the rim.

[0126] The first rim parameter is a parameter obtained by detecting the rim of the water container by the sensor before the water dispenser dispenses water. For example, analyzing and processing the first rim parameter can obtain multiple distance information between the sensor and the rim of the water container, which can be used to indicate the rim profile of the water container and the position of the rim of the water container.

[0127] S307, judging whether the rim of the water container is in a preset area according to the position information. If yes, step S308 is executed. If no, step S309 is executed.

[0128] The preset region refers to a water receiving region determined according to a water receiving cavity region of the water container placing device of the water drinking equipment and a water outlet region of the water outlet device, so that the edge of the water container is in the preset region, and the water container can receive water when the water outlet of the water drinking equipment is in the water outlet state. The position information of the water container is used to indicate the relative position relationship between the edge of the water container and the preset region. Therefore, whether the edge of the water container is in the preset region can be determined by the position relationship between the edge of the water container and the preset region.

[0129] Figure 6 is a state diagram of the water container provided by the embodiment of the present application Figure Two As shown in FIG. 1a, when the water container is in the first state, the edge of the water container is in the preset region, and the edge of the water container is complete. Figure 6 As shown in FIG. 1b, when the water container is in the second state, the edge of the water container is not in the preset region, and the edge of the water container is not complete.

[0130] When the edge of the water container is in the preset region, it is necessary to further determine whether the edge of the water container is complete to ensure that there is no obstacle above the edge of the water container.

[0131] S308, determining whether the edge of the water container is complete according to the edge contour; if yes, performing step S311; if no, performing step S312.

[0132] For example, when the edge of the water container is complete, the value of the first edge parameter obtained by the ultrasonic module is the distance value between the ultrasonic sensor and the opening edge of the water container; when the edge of the water container is not complete, the value of the first edge parameter is the distance between the ultrasonic sensor and the obstacle. Therefore, according to the first edge parameter, whether the edge of the water container is complete can be determined.

[0133] Figure 7 is a state diagram of the water container provided by the embodiment of the present application Figure Three As shown in FIG. 1a, when the water container is in the first state, the edge of the water container is in the preset region, and the edge of the water container is complete. Figure 7 As shown in FIG. 1b, when the water container is in the second state, the edge of the water container is not in the preset region, and the edge of the water container is not complete.

[0134] In this step, if the edge of the water container is incomplete, it proves that there is an obstacle above the water container. This is because in actual scenarios, the user may have placed the water container in the water receiving area, and before the drinking water device has discharged water, the water cup needs to be readjusted. At this time, the ultrasonic sensor will detect that the edge of the cup is incomplete. In order to ensure the safety of water discharge, the current state of the water container is judged to be the state where the edge is covered, and the water discharge device of the drinking water device is not controlled to perform water discharge processing.

[0135] S309: Determine that the current state of the water container is the second state.

[0136] In another possible implementation manner, the ultrasonic sensor detects the first edge parameter of the water container while continuously acquiring the first distance parameter.

[0137] Continue reading Figure 6 ,like Figure 6 In the case shown in b, the ultrasonic sensor does not detect the bottom of the water container, but detects part of the edge of the water container, and the edge of the water container is not in the preset area. At this time, it can be determined that the current state of the water container is also the second state. Figure 6 middle, Figure 6 b and Figure 6 The case of the water container shown in a is the second state, that is, part of the edge of the water container is not currently in the water receiving area of ​​the water receiving cavity. The difference between the two is Figure 6 In the case shown in a, the ultrasonic sensor detects the bottom of the water container. Figure 6 In the situation shown in b, the bottom of the water container is not detected, but it can be determined that the current state of the water container is the second state, and at this time the main control module does not control the drinking water device to discharge water.

[0138] S310: When the current state is the second state, the water outlet device of the drinking water equipment is not controlled to perform water outlet processing.

[0139] S311: Determine that the current state of the water container is the first state.

[0140] S312: Determine that the current state of the water container is a state where the edge is covered.

[0141] S313: When the current state is the first state, control the water outlet device of the drinking water equipment to perform water outlet processing.

[0142] Step S313 is similar to the above-mentioned step S203 and will not be described again here.

[0143] The water outlet control method of the water drinking equipment provided in the embodiment of the present application comprises the following steps: continuously acquiring a first distance parameter between a sensor and an obstacle directly below the sensor by the sensor, determining whether the first distance parameter is less than a first preset parameter, if yes, determining that the water container exists in the water receiving cavity of the water drinking equipment, if no, determining that the water container does not exist in the water receiving cavity of the water drinking equipment, continuously detecting a first edge parameter of the water container in the water receiving cavity of the water drinking equipment by the sensor when the water container exists in the water receiving cavity, analyzing and processing the first edge parameter to obtain the edge profile and the position information of the edge of the water container, determining whether the edge of the water container is in a preset area according to the position information, if yes, determining whether the edge of the water container is complete according to the edge profile, if no, determining that the current state of the water container is a second state, and not controlling the water outlet device of the water drinking equipment to perform water outlet processing when the current state is the second state, determining that the current state of the water container is a first state when the edge of the water container is complete, and controlling the water drinking equipment to perform water outlet, determining that the current state of the water container is an edge covered state when the edge of the water container is incomplete, and not controlling the water drinking equipment to perform water outlet when the water container is in the edge covered state. The method realizes automatic control of the water outlet of the water drinking equipment based on the current state of the water container, improves the intelligence of the water drinking equipment, and thus improves the user experience.

[0144] Figure 4 The flow of the water outlet control method of the water drinking equipment provided in the embodiment of the present application Figure Three The embodiment is based on Figure 3 The embodiment is based on Figure 4 As shown in the figure, the water outlet control method of the water drinking equipment provided in the embodiment comprises the following steps:

[0145] S401, continuously detecting parameter information of the water container in the water receiving cavity of the water drinking equipment and a second distance parameter between the sensor and the obstacle directly below the sensor by the sensor, the parameter information comprising a second edge parameter when the water container is in a water receiving stage.

[0146] The second edge parameter refers to the edge parameter of the water container detected by the sensor during the water outlet process of the water drinking equipment, and the second distance parameter refers to the vertical distance between the sensor and the liquid surface directly below the sensor detected by the sensor during the water outlet process of the water drinking equipment.

[0147] S402, determining whether the edge of the water container is in a preset area according to the second edge parameter, if yes, performing step S403, if no, performing step S404.

[0148] In the process of the water container receiving water, the sensor continuously detects the rim parameter of the water container, and determines whether the current rim of the water container is in the preset area according to the obtained second rim parameter. When the rim of the water container is not in the preset area, it is determined that the current state of the water container is the second state. When the rim of the water container is in the preset area, it is further determined whether the rim of the water container is complete.

[0149] The purpose of this step is to ensure that the water container is always located in the water receiving area below the water outlet during the water outlet process of the water drinking device, thereby improving the stability and reliability of the water drinking device.

[0150] S403, determining whether the rim of the water container is complete; if yes, executing step S405; if no, executing step S407.

[0151] Figure 8 The state of the water container provided by the embodiment of the application is shown in Figure Four As shown in Figure 8 If the rim of the water container is in the preset area, but the ultrasonic sensor detects an obstacle above the rim of the water container, it indicates that the rim of the water container is not complete at this time, and it can be determined that the current state of the water container is the rim covered state. The obstacle may be the user's hand. Since in the process of the water container receiving water, if the user wants to take away the water container, he only needs to place his hand above the water cup obliquely. After the sensor detects that the rim is covered, the ultrasonic module transmits the state of the water cup to the main control module, and the main control module controls the water outlet device of the water drinking device to pause water outlet.

[0152] If the rim of the water container is in the preset area, and the ultrasonic sensor does not detect an obstacle above the water container, i.e., the rim is complete, it can be determined that the current state of the water container is the first state.

[0153] S404, determining that the current state of the water container is the second state.

[0154] S405, determining that the current state of the water container is the first state.

[0155] When the current state of the water container is the first state, the water outlet device of the water drinking device is controlled to continue the water outlet process, and in the process of water outlet, the parameter information of the water container in the water receiving cavity of the water drinking device is continuously obtained, so as to determine the state of the water container in real time.

[0156] S406, determining that the current state of the water container is the rim covered state.

[0157] S407, controlling the water outlet device to pause water outlet.

[0158] Among them, when the water outlet device of the drinking water equipment stops discharging water, the user can take away the water container during the period of suspending water discharging.

[0159] Optionally, after the main control module controls the water outlet device of the drinking water equipment to stop discharging water, if the ultrasonic sensor detects that there is no obstacle above the water container, it can be determined that the current edge of the water container is in a complete state, then the ultrasonic module sends the status information to the main control module, so that the main control module controls the water outlet device to continue discharging water until the conditions for stopping water discharge are met.

[0160] S408: Determine the current state of the water container according to the second distance parameter.

[0161] The second edge parameter includes edge height information, and the edge height information is used to indicate the distance between the ultrasonic sensor and the edge of the water container when the water container is in the first state.

[0162] Exemplarily, a specific implementation method for determining the current state of the water container based on the second distance parameter is given here: determining the container height of the water container based on the edge height information and the first preset parameter; determining the second preset parameter corresponding to the water container based on the container height; judging whether the second distance parameter reaches the second preset parameter; when the second distance parameter reaches the second preset parameter, determining that the current state of the water container is a full cup state.

[0163] The second preset parameter is used to indicate the vertical distance between the ultrasonic sensor and the liquid surface directly below when the water container is in a full state, and the second preset parameter is correlated with the height of the water container.

[0164] Figure 9 This is a state diagram of the water container provided in the embodiment of the present application. Figure Five ,like Figure 9 As shown, during the water discharge process of the drinking water device, the vertical distance detected by the ultrasonic sensor between the ultrasonic sensor and the obstacle directly below is the second distance parameter. At this time, the obstacle is the liquid level in the water container. As the water discharge increases, the liquid level in the water container continues to increase.

[0165] For example, the container height of the water container can be obtained based on the difference between the first preset parameter value and the edge height value of the water container. Since the calculated container height is smaller than the actual height of the water container, the stop liquid level percentage can be set within the range of 75%-80% of the container height of the water container. At this time, the second preset parameter refers to the vertical distance between the ultrasonic sensor and the liquid surface directly below when the liquid level in the water container reaches the stop liquid level percentage.

[0166] During the water discharge process of the drinking water equipment, the ultrasonic sensor continuously detects the second distance parameter. When the second distance parameter is equal to the second preset parameter, the current liquid level percentage of the water container also reaches the preset stop liquid level percentage, indicating that the state of the water container is full at this time, and the main control module controls the water discharge device to stop water discharge processing.

[0167] S409: When the current state is a full cup state, control the water outlet device to stop water outlet processing.

[0168] The embodiment of the present application provides a water outlet control method for a drinking water device. The sensor continuously detects parameter information of a water container and a second distance parameter between the sensor and an obstacle directly below the sensor. The parameter information includes: a second edge parameter of the water container when the water container is in a water receiving stage. Based on the second edge parameter, it is determined whether the edge of the water container is within a preset area. If so, it is determined whether the edge of the water container is intact. If not, it is determined that the current state of the water container is the second state, and the drinking water device is controlled to suspend water outlet. If the edge of the water container is incomplete, it is determined that the current state of the water container is the covered state, and the water outlet device is controlled to suspend water outlet. If the edge of the water container is intact, it is determined that the current state of the water container is the first state, and the water outlet device of the drinking water device is controlled to continue water outlet processing. If the current state of the water container is determined to be a full cup state based on the second distance parameter, the water outlet device is controlled to stop water outlet processing. This method realizes automatic control of water outlet, suspending water outlet, and stopping water outlet of the drinking water device based on the current state of the water container, thereby improving the intelligence of the drinking water device and thus improving the user experience.

[0169] Figure 10 This is a schematic diagram of the structure of the water outlet control device of the drinking water equipment provided in this application. Figure 10 As shown, the present application provides a water outlet control device for a drinking water device, which is applied to the drinking water device. An ultrasonic sensor is deployed at the water outlet of the drinking water device. The water outlet control device 500 of the drinking water device includes:

[0170] The detection module 501 is configured to continuously detect parameter information of the water container by using the sensor, and the parameter information comprises a first edge parameter of the water container, wherein the edge parameter is used to indicate a region where an edge of the water container is located.

[0171] The processing module 502 is configured to determine a current state of the water container according to the first edge parameter.

[0172] The control module 503 is configured to control a water outlet device of the water drinking device to perform water outlet processing when the current state is a first state, and the first state is used to indicate that the water container is currently located in a water receiving region of the water drinking device.

[0173] Optionally, the device further comprises a judgment module 504.

[0174] The processing module is further configured to analyze and process the first edge parameter to obtain an edge contour of the water container and position information of the edge.

[0175] The judgment module is configured to determine whether the edge of the water container is located in a preset region according to the position information.

[0176] The judgment module is further configured to determine whether the edge of the water container is complete according to the edge contour when the edge of the water container is located in the preset region.

[0177] The processing module is further configured to determine that the current state of the water container is the first state when it is determined that the edge of the water container is complete.

[0178] Optionally, the processing module 502 is further configured to determine that the current state of the water container is a second state when the edge of the water container is not located in the preset region, and the second state is used to indicate that part of the edge of the water container is not currently located in the water receiving region of the water drinking device.

[0179] The control module 503 is further configured to not control the water outlet device of the water drinking device to perform water outlet processing when the current state is the second state.

[0180] Optionally, the detection module 501 is further configured to continuously acquire, by using the sensor, a first distance parameter between the sensor and an obstacle directly below the sensor.

[0181] The judgment module 504 is further configured to determine whether the first distance parameter is less than a first preset parameter.

[0182] The processing module 502 is further configured to determine that the water container exists in a water receiving cavity of the water drinking device when the first distance parameter is less than the first preset parameter.

[0183] Optionally, the detection module 501 is further configured to continuously detect, by the sensor, parameter information of the water container in the water receiving cavity of the water drinking device, the parameter information comprising a second rim parameter when the water container is in a water receiving stage;

[0184] The judgment module 504 is further configured to judge whether the rim of the water container is in a preset area according to the second rim parameter.

[0185] The control module 503 is further configured to control the water outlet device to pause water outlet when the rim of the water container is not in the preset area.

[0186] The judgment module 504 is further configured to judge whether the rim of the water container is complete when the rim of the water container is in the preset area.

[0187] The control module 503 is further configured to control the water outlet device to pause water outlet when the rim of the water container is not complete.

[0188] Optionally, the detection module 501 is further configured to continuously detect, by the sensor, a second distance parameter between the sensor and an obstacle directly below the sensor.

[0189] The processing module 502 is further configured to determine a current state of the water container according to the second distance parameter.

[0190] The control module 503 is further configured to control the water outlet device to stop water outlet processing when the current state is a cup full state.

[0191] Optionally, the processing module 502 is further configured to determine a container height of the water container according to the rim height information and a first preset parameter.

[0192] The processing module 502 is further configured to determine a second preset parameter corresponding to the water container according to the container height.

[0193] The judgment module 504 is further configured to judge whether the second distance parameter reaches the second preset parameter.

[0194] The processing module 502 is further configured to determine that the current state of the water container is a cup full state when the second distance parameter reaches the second preset parameter.

[0195] Figure 11 The structure diagram of the water outlet control device of the water drinking device provided in the present application is shown in FIG. 1. Figure 11As shown, the present application provides a water outlet control device of a water drinking device, which comprises a receiver 601, a transmitter 602, a processor 603 and a memory 604.

[0196] The receiver 601 is configured to receive instructions and data.

[0197] The transmitter 602 is configured to transmit instructions and data.

[0198] The memory 604 is configured to store computer-executable instructions.

[0199] The processor 603 is configured to execute the computer-executable instructions stored in the memory 604 to implement each step of the water outlet control method of the water drinking device in the above-mentioned embodiments. For details, please refer to the related description in the above-mentioned embodiments of the water outlet control method of the water drinking device.

[0200] Optionally, the memory 604 can be independent or integrated with the processor 603.

[0201] When the memory 604 is independently arranged, the electronic device further comprises a bus for connecting the memory 604 and the processor 603.

[0202] The present application also provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the water outlet control method of the water drinking device performed by the water outlet control device of the water drinking device is implemented.

[0203] Those skilled in the art can understand that all or some of the steps in the method disclosed above, the functional modules / units in the system and the device can be implemented as software, firmware, hardware and appropriate combinations thereof. In the hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components in cooperation. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer readable medium, which can include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as known to those skilled in the art, communication media typically includes computer readable instructions, data structures, program modules or other data in modulated data signals such as carrier waves or other transport mechanisms, and can include any information delivery medium.

[0204] So far, the technical solutions of the present application have been described in combination with the preferred embodiments shown in the drawings, but those skilled in the art can easily understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A water outlet control method for a drinking water device, characterized in that: The method comprises: Continuously detecting parameter information of the water container through a sensor, the parameter information including: a first edge parameter of the water container, wherein the edge parameter is used to indicate the area where the edge of the water container is located; determining a current state of the water container according to the first edge parameter; When the current state is the first state, the water outlet device of the drinking water equipment is controlled to perform water outlet processing, and the first state is used to indicate that the water container is currently in the water receiving area of ​​the drinking water equipment.

2. The method according to claim 1, characterized in that The determining the current state of the water container according to the first edge parameter includes: Analyzing and processing the first edge parameter to obtain an edge profile of the water container and position information of the edge; determining, based on the position information, whether the edge of the water container is within a preset area; If so, determining whether the edge of the water container is complete based on the edge contour; If it is determined that the edge of the water container is intact, then the current state of the water container is determined to be the first state.

3. The method according to claim 2, characterized in that The method further comprises: If the edge of the water container is not in the preset area, determining that the current state of the water container is a second state, the second state is used to indicate that part of the edge of the water container is not currently in the water receiving area of ​​the drinking water device; When the current state is the second state, the water outlet device of the drinking water equipment is not controlled to perform water outlet processing.

4. The method according to claim 1, wherein Before continuously detecting parameter information of the water container by the sensor, the method further includes: continuously acquiring, by the sensor, a first distance parameter between the sensor and an obstacle directly below the sensor; Determining whether the first distance parameter is less than a first preset parameter; When the first distance parameter is less than the first preset parameter, it is determined that the water container is in the water receiving chamber of the drinking water device.

5. The method according to claim 3, characterized in that After the water outlet device of the drinking water equipment is controlled to perform water treatment, the method further includes: Continuously detecting parameter information of a water container in the water receiving chamber of the drinking water device through the sensor, the parameter information including: a second edge parameter of the water container when in the water receiving stage; determining, based on the second edge parameter, whether the edge of the water container is within a preset area; If not, the water outlet device is controlled to stop discharging water; If so, determining whether the edge of the water container is intact; When the edge of the water container is incomplete, the water outlet device is controlled to stop discharging water.

6. The method according to claim 5, characterized in that The method further comprises: continuously detecting, by the sensor, a second distance parameter between the sensor and an obstacle directly below the sensor; determining a current state of the water container according to the second distance parameter; When the current state is a cup-full state, the water outlet device is controlled to stop water outlet processing.

7. The method according to claim 6, characterized in that The second edge parameter includes edge height information. The determining of the current state of the water container according to the second distance parameter includes: determining a container height of the water container according to the edge height information and a first preset parameter; determining a second preset parameter corresponding to the water container according to the height of the container; Determining whether the second distance parameter reaches a second preset parameter; When the second distance parameter reaches the second preset parameter, it is determined that the current state of the water container is a full state.

8. A water outlet control device for a drinking water device, characterized in that: The device comprises: a detection module, configured to continuously detect parameter information of the water container through a sensor, wherein the parameter information includes: a first edge parameter of the water container, wherein the edge parameter is used to indicate an area where an edge of the water container is located; a processing module, configured to determine a current state of the water container according to the first edge parameter; The control module is used to control the water outlet device of the drinking water equipment to perform water outlet processing when the current state is a first state, and the first state is used to indicate that the water container is currently in the water receiving area of ​​the drinking water equipment.

9. A water outlet control device for a drinking water device, characterized in that: include: Memory; processor; wherein the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the water outlet control method of the drinking water equipment according to any one of claims 1 to 7.

10. A computer storage medium, characterized in that The computer storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the water outlet control method for a drinking water device according to any one of claims 1 to 7.