A water dispenser control method and system, an intelligent terminal and a storage medium
By detecting cup trigger information and gesture sensing on the water dispenser, contactless water dispensing control is achieved, solving the problem of germ transmission from water dispensers in public places and improving safety and stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NINGBO AQUART ELECTRICAL APPLIANCE CO LTD
- Filing Date
- 2023-12-18
- Publication Date
- 2026-08-04
AI Technical Summary
The buttons on water dispensers in public places are easily touched by many people, which can lead to the spread of germs and make them unsafe to use.
By detecting the cup's trigger information and using the trigger number to determine the water outlet, the sensing device within the sensing area is activated, and gesture information is detected to control the water flow, avoiding direct contact with buttons.
Reduce the spread of germs, improve the safety and stability of water dispenser use, and prevent water splashing and scalding.
Smart Images

Figure CN117530587B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of drinking water equipment, and in particular to a water dispenser control method, system, smart terminal and storage medium. Background Technology
[0002] Water dispensers are devices that heat or cool water for convenient drinking. They can be broadly categorized into three types: warm water, hot water, and hot water / cold water.
[0003] In related technologies, water dispensers typically use touch-sensitive buttons to control the water flow. A person holds a cup in one hand or places the cup below the water outlet, such as the hot water outlet, ice water outlet, or warm water outlet, and then touches the corresponding switch button on the water outlet. This causes the water dispenser to release water into the cup. When the water volume meets the person's needs, the person touches the corresponding switch button on the water outlet again to stop the water dispenser from releasing water.
[0004] Regarding the aforementioned technologies, people touch the switch button corresponding to the water outlet to control the water dispenser to release or stop the water flow. However, water dispensers installed in public places such as hospitals and train stations are touched by a large number of people every day, which leaves germs and other substances on the switch buttons, making it easy for people to be infected with germs and causing unsafe use of the water dispenser. There is still room for improvement. Summary of the Invention
[0005] To improve the safety of water dispenser use, this application provides a water dispenser control method, system, smart terminal, and storage medium.
[0006] Firstly, this application provides a water dispenser control method, which adopts the following technical solution: A water dispenser control method, comprising: Get the cup trigger information; The trigger sequence number information of the preset triggering device is obtained based on the cup trigger information; The outlet information is determined by analyzing the trigger sequence number information. The sensing area information is determined by analyzing the information from the water outlet. The preset sensing device is activated and prompts are given based on the sensing area information. Within the preset sensing time information, the gesture sensing information within the sensing area information is obtained. Determine whether the gesture sensing information meets the requirements of the preset baseline gesture sensing information; If it does not match, continue to acquire gesture sensing information; If the conditions are met, control the water outlet to dispense water and obtain the gesture disappearance trigger information; The water outlet will stop discharging water based on the information triggered by the disappearance of the gesture.
[0007] By adopting the above technical solution, when a cup trigger information is detected (i.e., the cup is placed below the water outlet), the trigger sequence information of the triggering device that detected the cup trigger information is detected. Based on the trigger sequence information, the corresponding water outlet information is determined. Then, based on the water outlet information, the sensing device in the sensing area information corresponding to the water outlet information is activated to detect the gesture sensing information in the sensing area information. When the gesture sensing information is consistent with the reference sensing gesture information, the water outlet information is controlled to dispense water. When the gesture disappearance trigger information is detected, the water outlet information is controlled to stop dispensing water. This allows people to use the water dispenser without contact, reducing the transmission of germs and thus improving the safety of using the water dispenser.
[0008] Optionally, methods for controlling water discharge from the outlet include: Obtain the coordinates of the center of the cup rim; The outlet coordinates are determined by analyzing the outlet information. The adjustment distance and direction are determined by analyzing the coordinates of the cup rim center and the water outlet. Obtain the distance information of the water cup; The adjustment angle information is determined by analyzing the adjustment distance information and the water cup distance information. The water dispenser is controlled to adjust the water outlet information along the adjustment direction information and the adjustment angle information to align the water outlet information with the center of the cup, and the adjustment completion trigger information is obtained; Based on the adjustment completion trigger information, control the water dispenser to open the water outlet to dispense water.
[0009] By adopting the above technical solution, the coordinate information of the cup rim center is detected, and the adjustment distance and direction information are determined based on the coordinate information of the water outlet and the cup rim center. The adjustment angle information is calculated based on the adjustment distance information and the distance to the cup. Then, the water dispenser is controlled to adjust the water outlet information along the adjustment direction information and the adjustment angle information, so that the water outlet information is aligned with the center of the cup rim. When water is dispensed from the water outlet information, it is not easy for water to splash out of the cup, thereby improving the stability of water dispensing from the water outlet information.
[0010] Optionally, methods for controlling the water dispenser to open the water outlet to dispense water include: Obtain the depth information of the cup; The water outlet depth is determined by analyzing the cup depth information and the preset water stop ratio information. The system controls the water dispenser's water output based on the outlet information and obtains real-time water depth information. Determine whether the real-time water depth information meets the requirements of the outflow depth information; If it does not meet the requirements, continue to acquire real-time water depth information; If the conditions are met, the water dispenser will be controlled to shut off the water outlet.
[0011] By adopting the above technical solution, the depth information of the cup is detected, and the water outlet depth information is determined based on the cup depth information and the water stop ratio information. The water outlet information is controlled, and the real-time water depth information is detected. After the real-time water depth information reaches the water outlet depth information, the water dispenser is controlled to close the water outlet information to avoid water overflowing from the cup and scalding people as much as possible, thereby improving the safety of the water dispenser during use.
[0012] Optionally, methods for controlling the water dispenser's water output based on the outlet information include: Analyze the water outlet information to determine whether it is a hot water outlet or a non-hot water outlet; Based on the information from the non-hot water outlet, the water dispenser is controlled to open the water outlet to dispense water according to the preset normal water flow rate information; Based on the hot water inlet information, obtain the cup image information; The water dispenser is controlled to open the water outlet and dispense water based on the image information of the cup.
[0013] By adopting the above technical solution, the water outlet is determined to be either a hot water outlet or a non-hot water outlet based on the outlet information. When it is determined to be a non-hot water outlet, the water dispenser is controlled to open the outlet at a normal water flow rate. When it is determined to be a hot water outlet, the image information of the cup is detected, and the water dispenser is controlled to open the outlet based on the cup image information. This minimizes the risk of scalding people when they hold the cup due to the hot water outlet flowing too quickly, thereby improving the safety of the water dispenser during use.
[0014] Optionally, methods for controlling the water dispenser to open the water outlet to dispense water based on the cup image information include: The image information of the cup is analyzed to determine whether there is any pre-defined hand feature information. If not, the water dispenser will open the water outlet according to the normal water flow rate information to dispense water; If it exists, obtain the hand posture information; Determine whether the hand posture information meets the requirements of the preset benchmark hand posture information; If it does not meet the requirements, the water dispenser will be controlled to open the water outlet according to the normal water flow rate information to dispense water; If the conditions are met, the water dispenser will open the water outlet to dispense water according to the preset safe water dispensing mode information.
[0015] By adopting the above technical solution, image recognition is performed on the cup image information to determine whether there is hand feature information. If not, water is dispensed at the normal water flow rate. If it is present, hand posture information is detected. When the hand posture information is consistent with the reference hand posture information, it indicates that the person is holding the cup. Dispensing water at a high speed may scald the person. Therefore, the water dispenser is controlled to open the water outlet according to the safe water dispensing mode information to avoid scalding the person as much as possible, thereby improving the safety of the water dispenser during use.
[0016] Optionally, methods for controlling the water dispenser to open the water outlet and dispense water based on the safe water dispensing mode information include: Analyze the safe water discharge mode information to determine the safe water discharge rate information; The system controls the water dispenser to open the water outlet based on the safe water flow rate information, and obtains the horizontal movement range information of the cup. Determine whether the horizontal movement amplitude of the cup meets the requirements of the preset reference amplitude information; If it does not match, continue to obtain information on the horizontal movement range of the cup; If the conditions are met, the system will control the water dispenser to close the water outlet and obtain information on the direction and speed of the cup's movement. The water output information is determined by analyzing the safe water output speed information and the preset water outlet diameter information. The blower power information is determined by analyzing the cup's moving speed and water output information. The preset blowing device blows water into the cup along the direction of the cup's movement using the blowing power information.
[0017] By adopting the above technical solution, the water dispenser is controlled to open the water outlet at a safe water flow rate, thereby preventing scalding of users' hands due to excessively fast water flow and improving the safety of the water dispenser during use. When water is being dispensed, the horizontal movement of the cup is detected. If the horizontal movement exceeds a reference range, it indicates that the user is removing the cup, and the water dispenser is then controlled to close the water outlet to prevent scalding from hot water during cup removal. The direction and speed of cup movement are also detected. Based on the safe water flow rate and the outlet diameter, the water volume is determined. The airflow power is then determined based on the cup movement speed and water volume, and the airflow device is controlled to blow air along the direction of cup movement at the specified power, allowing water that has not yet entered the cup to enter, preventing scalding and further improving the safety of the water dispenser during use.
[0018] Optionally, when the gesture sensing information does not meet the requirements of the reference gesture sensing information, a method for correcting the gesture sensing information is also included, specifically including: Based on the fact that the gesture sensing information does not meet the requirements of the baseline gesture sensing information, the personnel height information is obtained; Determine whether the person's height information meets the requirements of the preset benchmark height information; If the conditions are met, the person will be prompted to place their hands within the sensor area. If they do not match, the difference between the baseline height information and the individual's height information is calculated, and the calculated difference is defined as the height difference information. The adjustment sensing area information is determined by analyzing the sensing area information, height difference information, and preset adjustment direction information. The control sensor is adjusted to obtain gesture sensing information by adjusting the sensing area information.
[0019] By adopting the above technical solution, when the gesture sensing information is inconsistent with the reference gesture sensing information, the height information of the person is detected. When the height information of the person does not meet the requirements of the reference height information, the difference between the reference height information and the height information of the person is calculated to obtain the height difference information. Based on the sensing area information, the height difference information and the adjustment direction information, the sensing area information is adjusted, and the sensing device is controlled to adjust the sensing area information to detect the gesture sensing information. This compensates for the situation where the height of the person cannot be aligned with the normal sensing area information, thereby improving the convenience of using the water dispenser.
[0020] Secondly, this application provides a water dispenser control system, which adopts the following technical solution: A water dispenser control system includes: The acquisition module is used to acquire cup trigger information, trigger sequence number information, gesture sensing information, and gesture disappearance trigger information; A memory for storing a program for a water dispenser control method as described in any of the preceding claims; The processor and the program in the memory can be loaded and executed by the processor to implement a water dispenser control method as described in any of the above.
[0021] By adopting the above technical solution, a series of data related to the control of the water dispenser are acquired by the acquisition module. When it is necessary to control the water dispensing of the water dispenser, the processor loads and executes a program of a water dispenser control method stored in the memory, thereby completing the control of the water dispensing of the water dispenser, reducing the situation of people directly contacting the water dispenser, preventing the spread of germs, and thus improving the safety of people using the water dispenser.
[0022] Thirdly, this application provides a smart terminal, which adopts the following technical solution: A smart terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any of the preceding claims for controlling a water dispenser.
[0023] By adopting the above technical solution, the processor loads and executes a program of a water dispenser control method stored in the memory through the triggering of the smart terminal by the user, thereby controlling the water dispensing of the water dispenser, reducing the situation of direct contact between the user and the water dispenser, preventing the spread of germs, and thus improving the safety of the user when using the water dispenser.
[0024] Fourthly, this application provides a computer storage medium capable of storing corresponding programs, which facilitates improvements in the safety of water dispenser use, and adopts the following technical solution: A computer-readable storage medium storing a computer program that can be loaded by a processor and executed by any of the above-described water dispenser control methods.
[0025] By adopting the above technical solution, a computer program for a water dispenser control method is stored in a computer-readable storage medium. When it is necessary to control the water dispensing of the water dispenser, the processor loads and executes the program stored in the storage medium, thereby completing the control of the water dispensing of the water dispenser, reducing the situation of people directly contacting the water dispenser, preventing the spread of germs, and thus improving the safety of people using the water dispenser.
[0026] In summary, this application includes at least one of the following beneficial technical effects: 1. By detecting the cup trigger information (i.e., when the cup is placed below the water outlet), the trigger sequence information of the triggering device that detected the cup trigger information is detected. Based on the trigger sequence information, the corresponding water outlet information is determined. Then, the sensing device in the sensing area information corresponding to the water outlet information is activated to detect the gesture sensing information in the sensing area information. When the gesture sensing information is consistent with the reference sensing gesture information, the water outlet information is controlled to dispense water. When the gesture disappearance trigger information is detected, the water outlet information is controlled to stop dispensing water. This allows people to use the water dispenser without contact, reducing the transmission of germs and improving the safety of using the water dispenser. 2. By detecting the coordinate information of the cup rim center, the adjustment distance and direction information are determined based on the coordinate information of the water outlet and the cup rim center. The adjustment angle information is calculated based on the adjustment distance information and the distance to the cup. Then, the water dispenser is controlled to adjust the water outlet information along the adjustment direction information and the adjustment angle information, so that the water outlet information is aligned with the center of the cup rim. When water is dispensed from the water outlet information, it is not easy for water to splash out of the cup, thereby improving the stability of water dispensing from the water outlet information. 3. By detecting the cup depth information, the water outlet depth information is determined based on the cup depth information and the water stop ratio information. The water outlet information is controlled, and the real-time water depth information is detected. When the real-time water depth information reaches the water outlet depth information, the water dispenser is controlled to close the water outlet information to minimize the risk of water overflowing from the cup and scalding people, thereby improving the safety of the water dispenser during use. Attached Figure Description
[0027] Figure 1 This is a flowchart of a water dispenser control method according to an embodiment of this application.
[0028] Figure 2 This is a flowchart of a method for controlling water outlet information in an embodiment of this application.
[0029] Figure 3 This is a flowchart of a method for controlling a water dispenser to open its water outlet to dispense water, as described in this application embodiment.
[0030] Figure 4 This is a flowchart of a method for controlling the water dispenser's water output based on the water outlet information in an embodiment of this application.
[0031] Figure 5 This is a flowchart illustrating a method for controlling a water dispenser to open its water outlet based on cup image information in an embodiment of this application.
[0032] Figure 6 This is a flowchart illustrating a method for controlling a water dispenser to open its water outlet based on safe water dispensing mode information, as described in this application.
[0033] Figure 7 This is a flowchart of a method for correcting gesture sensing information in an embodiment of this application. Detailed Implementation
[0034] To make the purpose, technical solution, and advantages of this application clearer, the following description is provided in conjunction with the appendix. Figure 1-7 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.
[0035] This application discloses a method for contactless sensing control of water dispensing in a water dispenser. It discloses a processing terminal, a triggering device, and a sensing device. The processing terminal is connected to the sensing device and the triggering device via a wired connection to achieve data interaction and control of the sensing device by the processing terminal. When a person places a cup under the water outlet, the triggering device outputs cup trigger information to the processing terminal. The processing terminal identifies the trigger sequence number of the triggering device that sent the cup trigger information based on the cup trigger information, thereby determining the water outlet information corresponding to the trigger sequence number. Based on the water outlet information, it determines the sensing area information corresponding to the water outlet and controls the sensing device within the sensing area to activate, thereby recognizing and sending gesture sensing information to the processing terminal. The processing terminal then compares the gesture sensing information with reference gesture sensing information. When the gesture sensing information matches the reference gesture sensing information, it controls the water outlet to dispense water. It also detects the disappearance of the gesture trigger information. When the disappearance of the gesture trigger information is detected, it controls the water outlet to stop dispensing water, thereby reducing the likelihood of people touching the water dispenser, reducing the spread of germs, and improving the safety of people using the water dispenser.
[0036] Reference Figure 1 This application discloses a water dispenser control method, including the following steps: Step S100: Obtain cup trigger information.
[0037] The cup trigger information refers to the trigger data when a person places a cup under the water outlet. This data is detected by the radar sensor installed on the water dispenser and sent to the processing terminal. Once the cup is outside the trigger range, the radar sensor can no longer detect it.
[0038] Step S101: Obtain the preset trigger sequence number information of the triggering device based on the cup trigger information.
[0039] The triggering device is used to detect when a cup is placed below the water outlet. It can be a radar sensor, and each water outlet is equipped with one triggering device. The triggering range of the triggering device can be set by those skilled in the art according to the actual situation. The triggering sequence number information refers to the sequence number of the triggering device. When the triggering device sends the cup triggering information to the processing terminal, it also sends its own sequence number to the processing terminal.
[0040] Step S102: Analyze the trigger sequence information to determine the outlet information.
[0041] Among them, the water outlet information refers to the water outlet that the person needs to use. It is obtained by the processing terminal after analyzing the trigger sequence information. The analysis method is as follows: after the person places the cup under the water outlet, the trigger device of the corresponding water outlet sends the trigger sequence information to the processing terminal. The trigger sequence information corresponds one-to-one with the water outlet. For example, trigger device 1 corresponds to the hot water outlet, trigger device 2 corresponds to the cold water outlet, and trigger device 3 corresponds to the warm water outlet. After inputting the trigger sequence information, the water outlet information is matched and output.
[0042] Step S103: Analyze the information from the water outlet to determine the sensing area information.
[0043] Among them, the sensing area information refers to the sensing area for personnel gestures, which is obtained by the processing terminal after analyzing the water outlet information. The analysis method is as follows: the water outlet information corresponds one-to-one with the sensing area information. For example, the hot water outlet corresponds to the left area, the ice water outlet corresponds to the middle area, and the warm water outlet corresponds to the right area. Thus, after inputting the water outlet information, the sensing area information is matched and output.
[0044] Step S104: Control the preset sensing device to start and prompt according to the sensing area information, and acquire the gesture sensing information within the sensing area information within the preset sensing time information.
[0045] After determining the sensing area information, the corresponding sensing device is activated and a prompt is made to the user. The prompt can be made by lighting up a light. Within the sensing time, the sensing device can detect the gesture sensing information in the area corresponding to the sensing area information, providing data support for the subsequent control of the water dispenser.
[0046] A sensing device refers to a device used to sense human gestures. These devices are installed within various sensing areas and can employ infrared sensing components. Sensing time information refers to the time it takes for the sensing device within the sensing area to recognize a person's gesture; the specific value is set by those skilled in the art based on actual conditions. Gesture sensing information refers to the posture of a person's hand within the corresponding area, detected by the sensing device and transmitted to a processing terminal.
[0047] Step S105: Determine whether the gesture sensing information meets the requirements of the preset baseline gesture sensing information.
[0048] The reference sensing gesture refers to the correct hand gesture used to control the water outlet. The specific gesture is set by those skilled in the art based on the actual situation. The requirement for reference sensing gesture information is that the gesture corresponding to the reference sensing gesture information is consistent.
[0049] By determining whether the gesture corresponding to the gesture sensing information is consistent with the gesture corresponding to the reference gesture sensing information, it can be determined whether the person has adjusted their hand to the gesture of controlling the water outlet information within the sensing area information.
[0050] Step S1051: If it does not meet the requirements, continue to acquire gesture sensing information.
[0051] If the gesture corresponding to the gesture sensing information is inconsistent with the gesture corresponding to the reference gesture sensing information, it indicates that the person has not adjusted their hand to the gesture to control the water outlet information within the sensing area. Therefore, the gesture sensing information will continue to be detected to continuously monitor the changes in the gesture sensing information.
[0052] Step S1052: If the conditions are met, control the water outlet to release water and obtain the gesture disappearance trigger information.
[0053] If the gesture corresponding to the gesture sensing information matches the gesture corresponding to the reference gesture sensing information, it indicates that the person has adjusted their hand gesture within the sensing area to control the water outlet's flow, thus controlling the water outlet's flow. For specific methods, refer to... Figure 2 The process involves steps and detecting the trigger information when the gesture disappears, providing data support for the water dispenser to stop dispensing water subsequently.
[0054] The gesture disappearance trigger information refers to the trigger data that the gesture of a person within the sensing area is consistent with the gesture corresponding to the reference sensing gesture information. After determining that the gesture corresponding to the gesture sensing information is consistent with the gesture corresponding to the reference sensing gesture information, the gesture sensing information and the reference sensing gesture information are compared in real time. When the two are different, the processing terminal outputs the gesture disappearance trigger information.
[0055] Step S106: Control the water outlet to stop water flow based on the gesture disappearance trigger information.
[0056] When the gesture disappearance trigger information is detected, the processing terminal controls the solenoid valve at the water outlet to close, thereby stopping the water from flowing out of the water outlet, making it easier for people to operate the water dispenser.
[0057] Reference Figure 2 The method for controlling water discharge from the outlet includes the following steps: Step S200: Obtain the coordinates of the center of the cup rim.
[0058] Among them, the cup rim center coordinate information refers to the specific coordinates of the center part of the cup rim. The image is taken by a camera installed at the water outlet in the direction of gravity, and a coordinate system is established with the position corresponding to the water outlet as the origin. The cup rim center coordinate information is obtained by corresponding the cup rim center to the coordinate system.
[0059] Step S201: Analyze the outlet information to determine the outlet coordinates.
[0060] Among them, the outlet coordinate information refers to the coordinates corresponding to the outlet information, which is the origin of the coordinate system. The processing terminal can obtain the outlet coordinate information by calling the origin coordinates based on the outlet information.
[0061] Step S202: Analyze the coordinates of the cup rim center and the outlet to determine the adjustment distance and direction.
[0062] Among them, the adjustment distance information refers to the distance between the water outlet coordinate information and the cup rim center coordinate information. The processing terminal calculates the hypotenuse length of the right triangle by using the Pythagorean theorem with the x-coordinate and y-coordinate corresponding to the cup rim center coordinate information as the legs of the right triangle, thereby obtaining the adjustment distance information.
[0063] The adjustment direction information refers to the direction in which the water outlet information moves from the outlet coordinate information to the cup center coordinate information. The processing terminal calculates the quotient between the vertical and horizontal coordinates corresponding to the cup center coordinate information to obtain the tangent function value, and then obtains the inverse function of the tangent function value to obtain the movement angle, thereby determining the adjustment direction information.
[0064] Step S203: Obtain the distance information of the water cup.
[0065] Among them, the water cup distance information refers to the vertical distance between the spout and the plane where the top of the water cup is located, which is detected by a radar sensor.
[0066] Step S204: Analyze the adjustment distance information and the water cup distance information to determine the adjustment angle information.
[0067] Among them, the adjustment angle information refers to the angle value between the water spout information and the center of the cup after adjustment. The tangent function value of the adjustment angle information is obtained by the processing terminal calculating the quotient between the adjustment distance information and the distance information of the cup. The inverse function of the tangent function is then obtained to obtain the adjustment angle information.
[0068] Step S205: Control the water dispenser to adjust the distance information and the water outlet information along the adjustment direction information so that the water outlet information is aligned with the center of the cup, and obtain the adjustment completion trigger information.
[0069] After determining the adjustment direction and adjustment angle information, the water dispenser is controlled to adjust the water outlet information along the adjustment direction information and at the angle corresponding to the adjustment angle information, so that the water outlet corresponding to the water outlet information is aligned with the center of the cup mouth, and the adjustment completion trigger information is detected to provide data support for subsequent control of water outlet information.
[0070] The adjustment completion trigger information refers to the trigger data indicating that the outlet information is aligned with the center of the cup after adjustment. The outlet information sends the adjusted angle to the processing terminal. After the processing terminal confirms that the adjusted angle is the same as the angle corresponding to the adjustment angle information, it outputs the adjustment completion trigger information.
[0071] Step S206: Based on the adjustment completion trigger information, control the water dispenser to open the water outlet to dispense water.
[0072] Upon detecting the adjustment completion trigger information, i.e., after the water outlet information aligns with the center of the cup opening, the water dispenser is controlled to open the solenoid valve of the water outlet, thereby opening the water outlet corresponding to the water outlet information to dispense water. For specific methods, please refer to [link / reference needed]. Figure 3 The steps.
[0073] Reference Figure 3 The method for controlling the water dispenser to open the water outlet to dispense water includes the following steps: Step S300: Obtain cup depth information.
[0074] The cup depth information refers to the depth value of the cup, which is detected by a radar sensor installed at the water outlet and sent to the processing terminal.
[0075] Step S301: Analyze the cup depth information and the preset water outage ratio information to determine the water outlet depth information.
[0076] The water stop ratio information refers to the proportion of the cup depth to the water depth after the water outlet releases water into the cup. The specific value can be set by those skilled in the art according to the actual situation. This application uses 70% as an example.
[0077] The water depth information refers to the water depth value at which the water outlet is stopped. The water depth information is obtained by the processing terminal by calculating the ratio between the depth value corresponding to the cup depth information and the water stop ratio information.
[0078] Step S302: Control the water dispenser to dispense water based on the water outlet information and obtain real-time water depth information.
[0079] The method for controlling the water dispenser's water output based on the outlet information is as follows: Figure 4 The steps involve detecting real-time water depth information to provide data support for stopping water flow at the outlet.
[0080] Real-time water depth information refers to the water depth in the cup, which is detected by a radar sensor installed at the water outlet and sent to the processing terminal.
[0081] Step S303: Determine whether the real-time water depth information meets the requirements of the outlet water depth information.
[0082] The requirement for the water depth information is that it must be equal to the water depth value corresponding to the water depth information. By judging whether the water depth value corresponding to the real-time water depth information is equal to the water depth value corresponding to the water depth information, it is determined whether the water depth in the cup has reached the water depth value at which the water outlet stops flowing.
[0083] Step S3031: If it does not meet the requirements, continue to acquire real-time water depth information.
[0084] If the water depth value corresponding to the real-time water depth information is not equal to the water depth value corresponding to the outlet water depth information, it indicates that the water depth in the cup has not reached the water depth value at which the water outlet stops flowing. Therefore, the real-time water depth information is continuously detected to monitor the changes in the real-time water depth information.
[0085] Step S3032: If the condition is met, control the water dispenser to close the water outlet.
[0086] If the water depth value corresponding to the real-time water depth information is equal to the water depth value corresponding to the water outlet depth information, it indicates that the water depth in the cup has reached the water depth value at which the water outlet stops dispensing water. Therefore, the water dispenser is controlled to close the water outlet corresponding to the water outlet information and stop dispensing water.
[0087] Reference Figure 4 The method for controlling the water dispenser's water output based on the outlet information includes the following steps: Step S400: Analyze the water outlet information to determine whether it is a hot water outlet or a non-hot water outlet.
[0088] Among them, hot water outlet information refers to the outlet for hot water, and non-hot water outlet information refers to the outlet for cold or warm water. This information is obtained by the processing terminal after analyzing the outlet information. The analysis method is as follows: the outlet information is obtained by analyzing the trigger sequence information. The trigger sequence information corresponds to the hot water outlet, cold water outlet, and warm water outlet. Therefore, when the outlet information is determined based on the trigger sequence information, the specific attribute of the outlet information is determined, thereby determining whether the outlet information is hot water outlet information or non-hot water outlet information.
[0089] Step S401: Based on the non-hot water outlet information, control the water dispenser to open the water outlet information to dispense water according to the preset normal water flow rate information.
[0090] When it is determined that the water outlet information is not hot water outlet information, it is determined that the water from the outlet information will not scald the person. Therefore, the water dispenser is controlled to open the water outlet corresponding to the normal water flow rate information, so that the water outlet corresponding to the water flow information releases water to the cup.
[0091] Normal water flow rate information refers to the normal water flow rate value at the water outlet. The specific value can be set by those skilled in the art based on the actual situation.
[0092] Step S402: Obtain cup image information based on hot water outlet information.
[0093] In one scenario, when the water outlet information is determined to be hot water, the normal water flow rate could scald people. Therefore, the cup image information is detected to provide data support for subsequent determination of the water outlet information.
[0094] The cup image information refers to the image of the cup taken by a camera installed at the spout.
[0095] Step S403: Control the water dispenser to open the water outlet to dispense water based on the cup image information.
[0096] Upon detecting the cup image information, the water dispenser is controlled to open the water outlet based on the corresponding image information, thus dispensing water from the outlet. The specific method is described in [reference needed]. Figure 5 The steps.
[0097] Reference Figure 5 The method of controlling the water dispenser to open the water outlet based on the image information of the cup includes the following steps: Step S500: Analyze the cup image information to determine whether there is preset hand feature information.
[0098] Among them, hand feature information refers to the image features of the hand, which are stored in the processing terminal by those skilled in the art. By performing image recognition on the image corresponding to the cup image information, it is determined whether the image corresponding to the hand feature information exists, in order to determine whether the water outlet information will scald a person's hand.
[0099] Step S501: If not, control the water dispenser to open the water outlet to dispense water according to the normal water flow rate information.
[0100] If the image corresponding to the cup image does not contain the hand feature information, it indicates that the water will not scald the person's hand when it comes out of the water outlet. Therefore, the water dispenser is controlled to open the water outlet information according to the normal water flow rate information, so that water can be dispensed from the water outlet information.
[0101] Step S502: If it exists, obtain the hand posture information.
[0102] If the image corresponding to the cup image contains hand features, it indicates that the water outlet may scald a person's hand when it dispenses water. Therefore, hand posture information is detected to provide data support for the subsequent water dispensing information.
[0103] Hand posture information refers to the posture of a person's hand holding the cup, which is detected by a radar sensor installed at the water outlet and sent to the processing terminal.
[0104] Step S503: Determine whether the hand posture information meets the requirements of the preset reference hand posture information.
[0105] The reference hand posture information refers to the hand posture that a person might use when holding a cup, which could lead to burns, such as a C-shaped grip. This information is stored in the processing terminal by someone skilled in the art. The requirement for the reference hand posture information is that it must be consistent with the hand posture corresponding to the reference hand posture information.
[0106] By determining whether the hand posture corresponding to the hand posture information is consistent with the hand posture corresponding to the baseline hand posture information, it is possible to determine whether the posture of a person holding a cup is likely to cause burns to the person's hands.
[0107] Step S5031: If not, control the water dispenser to open the water outlet to dispense water according to the normal water flow rate information.
[0108] If the hand posture information is inconsistent with the hand posture information of the reference hand posture, it indicates that the cup has a handle and the person is not holding the cup body, so it is not easy to cause burns to the person's hands. Therefore, the water dispenser is controlled to open the water outlet information according to the normal water flow rate information, so that water is dispensed from the outlet information.
[0109] Step S5032: If the conditions are met, the water dispenser will be controlled to open the water outlet to dispense water according to the preset safe water dispensing mode information.
[0110] If the hand posture information matches the reference hand posture information, it indicates that the person is holding the cup, which could easily cause burns. Therefore, the water dispenser is controlled to open the water outlet according to the safe water dispensing mode information, thus dispensing water. For specific methods, please refer to [link to relevant documentation]. Figure 6 The steps are as follows. The safe water dispensing mode information refers to the water dispensing method that will not cause burns to a person's hands when they hold the cup to pour water. See details... Figure 6 The steps.
[0111] Reference Figure 6 The method of controlling the water dispenser to open the water outlet to dispense water based on the safe water dispensing mode information includes the following steps: Step S600: Analyze the safe water discharge mode information to determine the safe water discharge rate information.
[0112] Among them, the safe water outlet speed information refers to the speed at which hot water is released from the water outlet without causing burns to people's hands. The specific value is set by those skilled in the art based on the actual situation. The processing terminal calls up the safe water outlet speed information according to the safe water outlet mode information.
[0113] Step S601: Control the water dispenser to open the water outlet to dispense water based on the safe water dispensing speed information, and obtain the horizontal movement range information of the cup.
[0114] After determining the safe water flow rate, the system controls the water dispenser to open the water outlet at the corresponding flow rate, thus allowing water to flow while preventing scalding. It also detects the horizontal movement of the cup to provide data support for determining whether to continue dispensing water.
[0115] The horizontal movement amplitude information of the cup refers to the distance the cup moves horizontally between two detection times, which is detected by the radar sensor and sent to the processing terminal.
[0116] Step S602: Determine whether the horizontal movement amplitude information of the cup meets the requirements of the preset reference amplitude information.
[0117] The reference amplitude information refers to the minimum movement range of the water dispenser's outlet closure information. The specific value is set by those skilled in the art based on actual conditions. The requirement for the reference amplitude information is that it must not be less than the corresponding movement range value.
[0118] By determining whether the horizontal movement amplitude of the cup is not less than the movement amplitude corresponding to the baseline amplitude, it can be determined whether a person is about to take the cup away.
[0119] Step S6021: If it does not meet the requirements, continue to obtain the horizontal movement range information of the cup.
[0120] If the horizontal movement amplitude information of the cup is less than the movement amplitude information corresponding to the baseline amplitude information, it indicates that the person does not intend to move their cup away from below the water outlet. Therefore, the horizontal movement amplitude information of the cup is continuously detected to monitor the changes in the horizontal movement amplitude information of the cup.
[0121] Step S6022: If the conditions are met, control the water dispenser to close the water outlet and obtain the cup movement direction and speed information.
[0122] If the horizontal movement amplitude of the cup is not less than the movement amplitude corresponding to the reference amplitude, it indicates that the person is about to move their cup away from below the water outlet. Therefore, the water dispenser is controlled to close the water outlet, thereby stopping the water from flowing out. The direction and speed of the cup movement are also detected to provide data support for the safe removal of the cup by the person.
[0123] The cup movement direction information refers to the direction in which the person moves the cup away from below the water outlet, and the cup movement speed information refers to the speed at which the person moves the cup away from below the water outlet. The radar sensor installed at the water outlet detects and sends the information to the processing terminal.
[0124] Step S603: Analyze the safe water flow rate information and the preset water outlet diameter information to determine the water flow rate information.
[0125] The outlet diameter information refers to the diameter value of the outlet, which is obtained by a person skilled in the art through input into the processing terminal. The water flow rate information refers to the amount of water flowing out of the outlet per unit time, which is obtained by the processing terminal after analyzing the safe water flow velocity information and the outlet diameter information. The analysis method is as follows: the area value of the water flow cross section is calculated from the outlet diameter information and the area formula of a circle, and the length value of the water flow is calculated from the safe water flow velocity information and the unit time. Then, the water flow rate information is calculated from the area value of the water flow cross section, the length value of the water flow, and the volume calculation formula of a cylinder.
[0126] Step S604: Analyze the cup movement speed information and water output information to determine the blower power information.
[0127] Among them, the blowing power information refers to the minimum power value required for the blowing device to change the horizontal speed of the water flow, thereby allowing the water flow to enter the cup to be removed after the outlet information is closed. It is obtained by the processing terminal after analyzing the cup movement speed information and the water output information. The analysis method is as follows: when the cup movement speed information is constant, the blowing power information is directly proportional to the water output information, that is, the larger the water output information, the larger the blowing power information; when the water output information is constant, the blowing power information is directly proportional to the cup movement speed information, that is, the larger the cup movement speed information, the larger the blowing power information. The proportionality coefficient can be set by those skilled in the art according to the actual situation.
[0128] Step S605: Control the preset blowing device to blow water along the cup's moving direction information with the blowing power information so that the water flows into the cup.
[0129] The process involves determining the blowing power information, then controlling the blowing device to blow air along the direction the cup is moving, using the blowing power information to direct the remaining water flow. This ensures the water flows into the cup to be removed, preventing burns to the person's hands during removal. The blowing device is an air outlet installed at the air outlet to change the direction of the water flow; the air outlet is connected to an air source.
[0130] Reference Figure 7 When the gesture sensing information does not meet the requirements of the reference gesture sensing information, a method for correcting the gesture sensing information is also included, which specifically includes the following steps: Step S700: Based on the fact that the gesture sensing information does not meet the requirements of the reference sensing gesture information, obtain the person's height information.
[0131] In particular, when the gesture corresponding to the gesture sensing information is inconsistent with the gesture corresponding to the reference gesture sensing information, the height information of the person is detected to provide data support for subsequent detection of gesture sensing information.
[0132] Personnel height information refers to the height of the person using the water dispenser, which is detected by the radar sensor installed on the water dispenser and sent to the processing terminal.
[0133] Step S701: Determine whether the person's height information meets the requirements of the preset benchmark height information.
[0134] The baseline height information refers to the minimum height a person needs to use the normal sensing area information. The specific value is obtained by a person skilled in the art by inputting it into the processing terminal based on the actual situation. The requirement for the baseline height information is that it must not be less than the height corresponding to the baseline height information. By determining whether the height value corresponding to the person's height information is not less than the height corresponding to the baseline height information, it is determined whether the person can insert their hand into the normal sensing area information.
[0135] Step S7011: If the condition is met, prompt the person to place their hand within the sensing area information.
[0136] If the height value corresponding to the person's height information is not less than the height corresponding to the baseline height information, it indicates that the person's hand can be extended into the normal sensing area information. Therefore, the person is directly prompted to place their hand within the sensing area information, and the prompting method can be a light prompt.
[0137] Step S7012: If not, calculate the difference between the baseline height information and the person's height information, and define the calculated difference as the height difference information.
[0138] If the height value corresponding to the person's height information is less than the height corresponding to the baseline height information, it indicates that the person's hand cannot reach into the normal sensing area. Therefore, the difference between the baseline height information and the person's height information is calculated to obtain the height difference information, which provides data support for subsequent adjustments to the sensing area information.
[0139] Height difference information refers to the difference between a person's height and the minimum height that their hand can reach into the sensing area. It is obtained by the processing terminal calculating the difference between the baseline height information and the person's height information.
[0140] Step S702: Analyze the sensing area information, height difference information, and preset adjustment direction information to determine the adjustment sensing area information.
[0141] The adjustment direction information refers to the direction in which the sensing area information is adjusted. Since only shorter individuals or those in wheelchairs cannot extend their hands into the sensing area, the direction is adjusted downwards. Adjusting the sensing area information means adjusting the sensing area information to a usable area based on the person's height. This is achieved by the processing terminal adjusting the sensing area information along the adjustment direction information to the distance corresponding to the height difference information.
[0142] Step S703: Control the sensing device to adjust the sensing area information to acquire gesture sensing information.
[0143] In this process, after determining the adjustment of the sensing area information, the control sensing device is used to detect the gesture sensing information of the person by adjusting the sensing area information, thereby preventing the person from being unable to put their hand into the normal sensing area information due to insufficient height or sitting in a wheelchair.
[0144] Based on the same inventive concept, embodiments of the present invention provide a water dispenser control system, comprising: The acquisition module is used to acquire cup trigger information, trigger sequence information, gesture sensing information, gesture disappearance trigger information, cup rim center coordinate information, water cup distance information, adjustment completion trigger information, cup depth information, real-time water depth information, cup image information, hand posture information, cup horizontal movement amplitude information, cup movement direction information, cup movement speed information, and personnel height information. Memory, used to store such as Figures 1 to 7 The procedure of the water dispenser control method described in any one of the following statements; The processor and memory can load and execute programs to achieve the following: Figures 1 to 7 The water dispenser control method described in any one of the following statements.
[0145] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0146] This invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed as a water dispenser control method.
[0147] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.
[0148] Based on the same inventive concept, embodiments of the present invention provide a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor to control a water dispenser.
[0149] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0150] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.
Claims
1. A water dispenser control method, characterized by, include: Get the cup trigger information; The trigger sequence number information of the preset triggering device is obtained based on the cup trigger information; The outlet information is determined by analyzing the trigger sequence number information. The sensing area information is determined by analyzing the information from the water outlet. The preset sensing device is activated and prompts are given based on the sensing area information. Within the preset sensing time information, the gesture sensing information within the sensing area information is obtained. Determine whether the gesture sensing information meets the requirements of the preset baseline gesture sensing information; If it does not match, continue to acquire gesture sensing information; If the conditions are met, control the water outlet to dispense water and obtain the gesture disappearance trigger information; The water outlet will stop discharging water based on the information triggered by the disappearance of the gesture. The method for controlling water dispensing from the water outlet includes: acquiring the coordinates of the cup rim center; analyzing the water outlet information to determine the water outlet coordinates; analyzing the cup rim center coordinates and water outlet coordinates to determine the adjustment distance and direction; acquiring the cup distance information; analyzing the adjustment distance and cup distance information to determine the adjustment angle; controlling the water dispenser to adjust the water outlet information along the adjustment direction and angle to align the water outlet with the cup rim center, and acquiring the adjustment completion trigger information; and based on the adjustment completion trigger information, controlling the water dispenser to open the water outlet to dispense water. The method for controlling the water dispenser to open the water outlet to dispense water includes: acquiring cup depth information; analyzing the cup depth information and preset water stop ratio information to determine the water outlet depth information; controlling the water dispenser to dispense water based on the water outlet information and acquiring real-time water depth information; determining whether the real-time water depth information meets the requirements of the water outlet depth information; if not, continuing to acquire real-time water depth information; if it meets, controlling the water dispenser to close the water outlet information. The method for controlling water dispenser dispensing based on outlet information includes: analyzing the outlet information to determine whether it is a hot water outlet or a non-hot water outlet; based on the non-hot water outlet information, controlling the water dispenser to open the outlet information to dispense water according to the preset normal water dispensing speed information; based on the hot water outlet information, acquiring cup image information; and controlling the water dispenser to open the outlet information to dispense water according to the cup image information. The method for controlling the water dispenser to open the water outlet based on cup image information includes: analyzing the cup image information to determine whether preset hand feature information exists; if not, controlling the water dispenser to open the water outlet based on normal water flow rate information; if it exists, acquiring hand posture information; determining whether the hand posture information meets the requirements of preset benchmark hand posture information; if not, controlling the water dispenser to open the water outlet based on normal water flow rate information; if it meets the requirements, controlling the water dispenser to open the water outlet based on preset safe water flow mode information. The method for controlling the water dispenser to open the water outlet based on the safe water dispensing mode information includes: analyzing the safe water dispensing mode information to determine the safe water dispensing speed; controlling the water dispenser to open the water outlet based on the safe water dispensing speed information and acquiring the horizontal movement amplitude of the cup; determining whether the horizontal movement amplitude of the cup meets the requirements of the preset reference amplitude information; if not, continuing to acquire the horizontal movement amplitude of the cup; if it meets, controlling the water dispenser to close the water outlet information and acquiring the cup movement direction information and cup movement speed information; analyzing the safe water dispensing speed information and the preset water outlet diameter information to determine the water dispensing volume information; analyzing the cup movement speed information and the water dispensing volume information to determine the blowing power information; and controlling the preset blowing device to blow water along the cup movement direction information with the blowing power information to allow water to enter the cup.
2. The method of claim 1, wherein, When the gesture sensing information does not meet the requirements of the reference gesture sensing information, a method for correcting the gesture sensing information is also included, specifically including: Based on the fact that the gesture sensing information does not meet the requirements of the baseline gesture sensing information, the personnel height information is obtained; Determine whether the person's height information meets the requirements of the preset benchmark height information; If the conditions are met, the person will be prompted to place their hands within the sensor area. If they do not match, the difference between the baseline height information and the individual's height information is calculated, and the calculated difference is defined as the height difference information. The adjustment sensing area information is determined by analyzing the sensing area information, height difference information, and preset adjustment direction information. The control sensor is adjusted to obtain gesture sensing information by adjusting the sensing area information.
3. A water dispenser control system, characterized by, include: The acquisition module is used to acquire cup trigger information, trigger sequence number information, gesture sensing information, and gesture disappearance trigger information; A memory for storing a program for a water dispenser control method as described in any one of claims 1 to 2; The processor and the program in the memory can be loaded and executed by the processor to implement the water dispenser control method as described in any one of claims 1 to 2.
4. A smart terminal, characterized by It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described in any one of claims 1 to 2.
5. A computer readable storage medium, characterized in that, The system contains a computer program that can be loaded by a processor and executed as described in any one of claims 1 to 2 for controlling a water dispenser.