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

Through the cooperation of liquid level detection and control module, the drinking water equipment automatically controls the water outlet, solving the problem of excessive water or overflow caused by untimely manual operation by users, and improving the convenience of water connection and equipment intelligence.

CN119097225APending Publication Date: 2024-12-10WUHU MIDEA SMART KITCHEN APPLIANCE MFG CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310682020.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-08
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

Existing drinking water equipment requires manual operation by users, resulting in excessive or overflow of water in the water cup, causing inconvenience to users.

Method used

Through the liquid level detection device and control module, the preset and actual water level of the target water cup are automatically obtained, and the water outlet is controlled according to the difference value to ensure that the water outlet stops when the water level is within the specified range.

Benefits of technology

It realizes accurate control of water outlet without manual operation by users, avoiding excessive water or overflow, and improving water connection convenience and equipment intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119097225A_ABST
    Figure CN119097225A_ABST
Patent Text Reader

Abstract

The invention discloses a water drinking equipment control method and device, water drinking equipment and a storage medium. The method comprises the steps of obtaining a preset water outlet parameter of a target water cup in response to a water outlet instruction; the water outlet indication is automatically generated by the drinking equipment, and the preset water outlet parameter comprises an expected water level; controlling the drinking equipment to start to discharge water; acquiring a first actual water level of the target water cup; under the condition that the absolute value of the difference value between the first actual water level and the expected water level is smaller than or equal to the specified difference value, the drinking equipment is controlled to stop discharging water. Therefore, the water drinking equipment can automatically discharge water according to the expected water level of the target water cup, manual operation of a user is not needed, and water receiving convenience is improved. Furthermore, the water drinking equipment can stop discharging water without manual operation of the user, so that the situation that the water in the target water cup is too much or even liquid overflows out of the water cup due to untimely operation of the user can be avoided, and the water drinking equipment is more intelligent when discharging water.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of household appliances, and more specifically, to a control method and device for drinking water equipment, drinking water equipment and a storage medium. Background Art

[0002] In the existing drinking water equipment, the drinking water equipment will discharge water according to the manual operation of the user. For example, the drinking water equipment will determine the water temperature to be discharged according to the water temperature selection operation of the user, and complete the water discharge task according to the user's start and end water discharge operation.

[0003] Then the above-mentioned manual water discharge operation requires the user to always pay attention to the water output of the drinking water device. Once the user is not careful, there may be too much water in the water cup or even liquid overflowing from the water cup, which brings certain inconvenience to the user's daily use. Summary of the invention

[0004] The embodiments of the present application provide a control method and device for drinking water equipment, drinking water equipment and a storage medium.

[0005] In a first aspect, some embodiments of the present application provide a method for controlling a drinking water device, the method comprising: in response to a water outlet indication, obtaining preset water outlet parameters of a target water cup; the water outlet indication is automatically generated by the drinking water device, and the preset water outlet parameters include a preset expected water level; controlling the drinking water device to start discharging water; obtaining a first actual water level of the target water cup; and controlling the drinking water device to stop discharging water when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to a specified difference.

[0006] In a second aspect, some embodiments of the present application provide a control device for a drinking water device, the device comprising: a first acquisition module, a first control module, a second acquisition module, and a second control module. The first acquisition module is used to obtain preset water outlet parameters of a target water cup in response to a water outlet indication; the water outlet indication is automatically generated by the drinking water device, and the preset water outlet parameters include a preset expected water level. The first control module is used to control the drinking water device to start discharging water. The second acquisition module is used to obtain a first actual water level of the target water cup. The second control module is used to control the drinking water device to stop discharging water when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to a specified difference.

[0007] In a third aspect, some embodiments of the present application further provide a drinking water device, the drinking water device comprising one or more processors, a memory and one or more application programs. The one or more application programs are stored in the memory and configured to be executed by the one or more processors, and are configured to execute the above method.

[0008] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer program instructions, wherein the computer program instructions can be called by a processor to execute the above method.

[0009] In a fifth aspect, an embodiment of the present application further provides a computer program product, which implements the above method when executed.

[0010] The present application provides a control method, device, drinking water equipment and storage medium for drinking water equipment. The drinking water equipment in the method can obtain the expected water level of the target water cup, and obtain the first actual water level of the target water cup during the water discharging process, and then control the drinking water equipment to stop discharging water when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference. Therefore, the drinking water equipment in the present application can automatically discharge water according to the expected water level of the target water cup without the need for manual operation by the user, thereby improving the convenience of water collection. Furthermore, since the drinking water equipment will automatically stop discharging water when the first actual water level is close to the expected water level. Therefore, the drinking water equipment can stop discharging water without the need for manual operation by the user, thereby avoiding the situation where there is too much water in the target water cup or even liquid overflows from the cup due to untimely operation by the user, making the drinking water equipment more intelligent when discharging water and accurately meeting the user's water collection needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0012] Figure 1 It is a structural schematic diagram of a drinking water device provided in an embodiment of the present application.

[0013] Figure 2 It is a flow chart of a control method for drinking water equipment provided in the first embodiment of the present application.

[0014] Figure 3 It is a flow chart of a control method for drinking water equipment provided in the second embodiment of the present application.

[0015] Figure 4 It is a flow chart of a control method for drinking water equipment provided in the third embodiment of the present application.

[0016] Figure 5 It is a flow chart of a control method for drinking water equipment provided in the fourth embodiment of the present application.

[0017] Figure 6 It is a flow chart of a control method for drinking water equipment provided in the fifth embodiment of the present application.

[0018] Figure 7 It is a flow chart of a control method for drinking water equipment provided in the sixth embodiment of the present application.

[0019] Figure 8 This is a module block diagram of a control device for drinking water equipment provided in an embodiment of the present application.

[0020] Fig. 9 This is a module block diagram of the drinking water equipment provided in the embodiment of the present application.

[0021] Fig.10 It is a module block diagram of the computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0023] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0024] The present application provides a control method, device, drinking water equipment and storage medium for drinking water equipment. The drinking water equipment in the method can obtain the expected water level of the target water cup, and obtain the first actual water level of the target water cup during the water discharging process, and then control the drinking water equipment to stop discharging water when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference. Therefore, the drinking water equipment in the present application can automatically discharge water according to the expected water level of the target water cup without the need for manual operation by the user, thereby improving the convenience of water collection. Furthermore, since the drinking water equipment will automatically stop discharging water when the first actual water level is close to the expected water level. Therefore, the drinking water equipment can stop discharging water without the need for manual operation by the user, thereby avoiding the situation where there is too much water in the target water cup or even liquid overflows from the cup due to untimely operation by the user, making the drinking water equipment more intelligent when discharging water and accurately meeting the user's water collection needs.

[0025] In order to facilitate the detailed description of the present application, the application environment of the present application embodiment is first introduced in conjunction with the accompanying drawings. Figure 1 The embodiment of the present application provides a drinking water device 100. The drinking water device 100 is a device that stores liquid (e.g., pure water, juice, soda, etc.) for convenient drinking by users. Specifically, the drinking water device 100 can be a drinking fountain, a drinking station, etc. In this embodiment, the drinking water device 100 includes a liquid level detection device 10, a water cup recognition device 20, and a control module 30.

[0026] The liquid level detection device 10 is disposed in the housing of the drinking water device 100 and is electrically connected to the control module 30. The liquid level detection device 10 is used to obtain the water level of the liquid in the target water cup 200. Specifically, the drinking water device 100 is provided with a water outlet 110, and the liquid level detection device 10 can be disposed close to the water outlet 110. Therefore, when the water outlet 110 discharges water to the target water cup 200, the liquid level detection device 10 is approximately located directly above the target water cup 200. This ensures that during the process of receiving water from the target water cup 200, the liquid level detection device 10 can obtain the water level change of the liquid in the target water cup 200 in real time.

[0027] In some possible embodiments, the number of liquid level detection devices 10 can be multiple, and multiple liquid level detection devices 10 are arranged around the outer periphery of the water outlet 110. The multiple liquid level detection devices 10 can be used to obtain multiple water level data corresponding to the target water cup 200 at the same time. In the subsequent process, the control module 30 can process the detected multiple water level data, and then determine the water level value of the liquid in the target water cup 200 at the corresponding time. Exemplarily, the control module 30 can determine the average value corresponding to the multiple water level data as the water level value of the liquid in the target water cup 200, thereby reducing the detection error caused by the liquid level fluctuation during the water collection process, making the water level detection more accurate and reliable.

[0028] In some possible embodiments, the liquid level detection device 10 may be a distance sensor for detecting water level, and the distance sensor determines the distance between the distance sensor and the object by measuring the time interval between the emission of the detection signal and the reception of the detection signal reflected by the object. In this embodiment, the control module 30 may determine the distance between the distance sensor and the liquid surface of the target water cup 200 based on the above distance sensor, and then determine the water level value of the liquid in the target water cup 200. Specifically, the liquid level detection device 10 may be an ultrasonic sensor, an infrared sensor, a laser sensor, etc., which is not specifically limited in this embodiment.

[0029] In some other possible embodiments, the liquid level detection device 10 may be a first image sensor, which is arranged corresponding to the cup mouth 210 of the target water cup 200, and is used to capture a first target image including the target water cup 200. In the subsequent process, the control module 30 may determine the distance between the cup mouth 210 of the target water cup 200 and the liquid surface of the target water cup 200 based on the first target image, and then determine the water level value of the liquid in the target water cup 200. Specifically, the first image sensor may be a charge coupled device image sensor (CCD) or a complementary metal oxide semiconductor image sensor (CMOS), which is not specifically limited in this embodiment.

[0030] The water cup recognition device 20 is disposed on the drinking water device 100 and is electrically connected to the control module 30. The water cup recognition device 20 is used to recognize the target water cup 200. The control module 30 determines the preset water output parameters corresponding to the target water cup 200 based on the recognition result of the water cup recognition device 20.

[0031] In some possible embodiments, the water cup recognition device 20 may be a second image sensor, and the second image sensor is used to capture a second target image including the target water cup 200. In the subsequent process, the control module 30 may recognize the image feature information corresponding to the target water cup 200 based on the second target image, and then determine the preset water output parameters corresponding to the target water cup 200. Specifically, the second image sensor may be a charge coupled device image sensor (CCD) or a complementary metal oxide semiconductor image sensor (CMOS). In some possible embodiments, the second image sensor and the first image sensor may be the same image sensor, so the image sensor in this embodiment can perform both water level detection and water cup recognition, saving the hardware cost of the drinking water equipment. In some possible embodiments, the second image sensor and the first image sensor may also be two different image sensors, which is not specifically limited in this embodiment.

[0032] In some other possible embodiments, the target water cup 200 is provided with an electronic tag 220, which is a chip made based on radio frequency technology (Radio Frequency Identification, RFID), and each electronic tag 220 has a unique electronic code and a readable and writable storage space. In this embodiment, the electronic tag 220 stores the preset water output parameters of the target water cup 200 (for example, the expected water level, the expected water temperature, etc.). Specifically, the electronic tag 220 can be a radio frequency identification tag (Radio Frequency Identification, RFID tag), a near field communication tag (Near Field Communication, NFC tag), etc., which is not specifically limited in this embodiment. Accordingly, the water cup identification device 20 can be an identification device that matches the electronic tag 220 in the target water cup 200, and the identification device is used to read the data stored in the electronic tag 220 (that is, the preset water output parameters of the target water cup 200).

[0033] The control module 30 is electrically connected to the liquid level detection device 10 and the water cup recognition device 20, respectively, and is used to process the acquired signals or data, and generate corresponding control instructions to control the drinking water device 100 to complete the water discharge task. On the one hand, the control module 30 can obtain the recognition signal sent by the water cup recognition device 20, and determine the preset water discharge parameters corresponding to the target water cup 200 based on the recognition signal. On the other hand, the control module 30 can receive the detection signal sent by the liquid level detection device 10, and determine the water level value of the liquid in the target water cup 200 based on the detection signal, and control the drinking water device 100 to stop discharging water when the water level value is greater than or equal to the expected water level. Specifically, the control module 30 can be a control chip.

[0034] In this embodiment, the drinking water device 100 may also be provided with a control panel 40, which is electrically connected to the control module 30 and is used to obtain the user's operation and generate corresponding control instructions. In some possible embodiments, the control panel 40 may be provided with one or more controls 410, wherein different controls 410 correspond to different control operations, for example, the control 410 may include a water outlet control, a water stop control, a temperature control, and the like. When the water outlet control is triggered, the control module 30 receives a water outlet start instruction, and then controls the valve on the water outlet pipeline to open, so that the drinking water device 100 starts to outlet water. When the water stop control is triggered, the control module 30 receives a water outlet stop instruction, and then controls the valve on the water outlet pipeline to close, so that the drinking water device 100 stops outlet water. When the temperature control is triggered, the control module 30 receives a temperature setting instruction, and then controls the heating device in the drinking water device 100 to work based on the set temperature carried in the temperature setting instruction.

[0035] In some possible embodiments, the water outlet control and the water stop control may be the same control. For example, when the user triggers (e.g., presses) the control for the first time, the control generates a water outlet start instruction, and when the user triggers the control again, the control generates a water outlet stop instruction. For another example, when the user long presses the control, the control generates a water outlet start instruction, and when the user stops pressing the control, the control generates a water outlet stop instruction. This embodiment does not specifically limit the specific pressing operation of the control.

[0036] The control 410 "being triggered" in this specification should be understood as being manually triggered by the user, indicating that the user expects to achieve the corresponding function by triggering the control 410. Specifically, the control 410 can be a physical button or a virtual button on a touch screen, which is not specifically limited in this embodiment.

[0037] In this embodiment, the drinking water device 100 may also be provided with a base 50 and a water cup sensing device 60, wherein the base 50 is connected to the housing of the drinking water device 100 and is arranged opposite to the water outlet 110. The base 50 is used to carry the target water cup 200 to be filled with water. Specifically, the base 50 may be an integrally formed structure with the housing of the drinking water device 100, or the base 50 may be detachably connected to the housing of the drinking water device 100.

[0038] The water cup sensing device 60 is disposed on the base 50 and electrically connected to the control module 30, and is used to sense whether a target water cup 200 is placed on the base 50. In some possible embodiments, the water cup recognition device 20 is a second image sensor. In this case, when the control module 30 receives the sensing signal sent by the water cup sensing device 60, the second image sensor is controlled to shoot, which can avoid the second image sensor being in a shooting state for a long time, thereby saving the electric energy of the drinking water device 100. Specifically, the water cup sensing device 60 can be a pressure sensor, an infrared sensor, etc., which is not specifically limited in this embodiment.

[0039] The following is an introduction to the control method applied to the above-mentioned drinking water device 100.

[0040] See also Figure 2 , Figure 2 A control method for drinking water equipment provided by the first embodiment of the present application is schematically shown. Specifically, the method includes the following process.

[0041] Step S210, in response to the water outlet indication, obtaining preset water outlet parameters of the target water cup.

[0042] In this embodiment, the water outlet indication is automatically generated by the drinking water device. When it is detected that the target water cup is placed in the area to be connected to water (for example, on the base), the control module in the drinking water device will receive the water outlet indication, and in response to the water outlet indication, obtain the preset water outlet parameters of the target water cup. The preset water outlet parameters in this embodiment are set based on the historical use record of the target water cup. For example, the control module can use the relevant parameters (for example, water temperature, water level) obtained in the historical water connection process as the preset water outlet parameters of the target water cup. In this embodiment, the preset water outlet parameters may include a preset expected water level. The expected water level refers to the target distance value between the liquid surface and the bottom of the target water cup after the drinking water device completes the water outlet task. The expected water level in this embodiment is determined by the drinking water device based on the historical water connection data of the target water cup. For example, after the target water cup completes the water connection, the drinking water device detects the water level of the liquid in the target water cup and stores the water level as the expected water level. Specifically, the process of generating the water outlet indication and the process of obtaining the preset water outlet parameters are described in detail in the following embodiments.

[0043] Step S220, controlling the drinking water equipment to start discharging water.

[0044] In this embodiment, when the control module obtains the preset water outlet parameters of the target water cup, it controls the valve on the water outlet pipe to open so that the drinking water device starts to discharge water, thereby realizing automatic water discharge from the drinking water device without the need for manual operation by the user, thereby improving the convenience of water collection.

[0045] Step S230, obtaining a first actual water level of the target water cup.

[0046] The first actual water level is the distance between the liquid surface in the target water cup and the bottom of the cup. As an embodiment, the control module can obtain the first actual water level of the target water cup through the liquid level detection device every first preset time. The first preset time can be a default value in the drinking water device, or it can be dynamically adjusted by the user based on the actual working conditions of the drinking water device. Exemplarily, the first preset time can be less than or equal to 3 seconds, for example, the first preset time is 1 second.

[0047] As another embodiment, the control module can obtain the water level information of the target water cup through the liquid level detection device at the start time of controlling the drinking water device to start discharging water, and then determine the expected water receiving time based on the water level information, the expected water level and the water discharging speed of the drinking water device, and then determine the water receiving end time based on the start time and the expected water receiving time. Finally, when the current time is earlier than or equal to the water receiving end time, the control module obtains the first actual water level of the target water cup through the liquid level detection device. Among them, the expected water receiving time can be determined by a preset water receiving model, and the water receiving model is used to describe the corresponding relationship between different starting water levels, end water levels, water flow rates and durations. Specifically, the water flow rate can be measured and determined by a flow sensor set on the water outlet pipeline, and the preset water receiving model can be summarized by the research and development personnel based on a large amount of water receiving data, which is not specifically limited in this embodiment. The drinking water device in this embodiment can avoid the situation where the liquid level detection device obtains the water level multiple times by estimating the water receiving end time, thereby saving the electric energy of the drinking water device and ensuring the service life of the liquid level detection device.

[0048] Specifically, the specific implementation method of the liquid level detection device obtaining the first actual water level of the target water cup is described in detail in the following embodiments.

[0049] Step S240: When the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference, the drinking water device is controlled to stop discharging water.

[0050] In this embodiment, when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference, the control module controls the valve on the water outlet pipe to close so that the drinking water device stops discharging water. The specified difference is the default value in the drinking water device, and can also be dynamically adjusted by the user based on the actual working conditions of the drinking water device. Exemplarily, the specified difference can be greater than or equal to 0 cm and less than or equal to 1 cm. Here, the specified difference can be 0.5 cm and the expected water level is 20 cm. When the control module detects that the first actual water level is between 19.5 cm and 20.5 cm, it is determined that the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference, and then the drinking water device is controlled to stop discharging water.

[0051] In some other possible embodiments, the control module executes step S230 again when the absolute value of the difference between the first actual water level and the expected water level is greater than a specified difference, that is, when the first actual water level does not reach the expected water level and the water level difference between the two is too large.

[0052] The present application provides a control method for a drinking water device, in which the drinking water device can obtain the expected water level of a target water cup, and obtain the first actual water level of the target water cup through a liquid level detection device during the water discharging process, and then control the drinking water device to stop discharging water when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference. Therefore, the drinking water device in the present application can automatically discharge water according to the expected water level of the target water cup without the need for manual operation by the user, thereby improving the convenience of water collection. Furthermore, since the drinking water device will automatically stop discharging water when the first actual water level is close to the expected water level. Therefore, the drinking water device can stop discharging water without the need for manual operation by the user, thereby avoiding the situation where there is too much water in the target water cup or even liquid overflows from the cup due to untimely operation by the user, making the drinking water device more intelligent when discharging water and accurately meeting the user's water collection needs.

[0053] See also Figure 3 , Figure 3 A control method for drinking water equipment provided by the second embodiment of the present application is schematically shown. Specifically, the method includes the following process.

[0054] Step S310, in response to the water outlet indication, obtaining preset water outlet parameters of the target water cup.

[0055] In some embodiments, the drinking water device is provided with a second image sensor. Then step S310 may include steps S3100 to S3120.

[0056] Step S3100, obtaining a second target image including the target water cup captured by a second image sensor.

[0057] As an implementation mode, the control module may acquire the second target image captured by the second image sensor every second preset time period. The second preset time period may be a default value in the drinking water device, or may be dynamically adjusted by the user based on the actual working condition of the drinking water device. Exemplarily, the second preset time period may be less than or equal to 3 seconds, for example, the second preset time period is 1 second.

[0058] As another embodiment, the drinking water device is further provided with a water cup sensing device, which is used to sense whether a target water cup is placed in the water receiving area. When the control module receives the sensing signal sent by the water cup sensing device, the second image sensor is controlled to capture the second target image and obtain the second target image. Therefore, by providing the water cup sensing device, the drinking water device can avoid the second image sensor being in the shooting state for a long time, thereby saving the electric energy of the drinking water device and ensuring the service life of the second image sensor.

[0059] Step S3110: When the image feature information of the target water cup is identified in the second target image, the identity information of the target water cup is determined based on the image feature information of the target water cup.

[0060] In this embodiment, a preset water cup recognition algorithm may be provided in the control module, and the control module recognizes the image feature information of the target water cup through the water cup recognition algorithm. The image feature information may be pattern information located on the cup body (e.g., a QR code, a barcode, etc.), or may be information such as the shape and color of the water cup. Specifically, the water cup recognition algorithm may be a feature recognition algorithm based on machine learning or deep learning.

[0061] When the control module recognizes the image feature information of the target water cup in the second target image, the identity information of the target water cup is determined based on the image feature information of the target water cup. As an implementation method, a mapping table of the correspondence between different image feature information and identity information may be pre-stored in the control module. When the control module recognizes the image feature information of the target water cup, the identity information of the target water cup is determined through the mapping table. Please refer to Table 1, which schematically shows a mapping table of the correspondence between the image feature information of different water cups and different identity information.

[0062] Table-1

[0063] Image feature information QR code A QR code B QR Code C Identity information Water Cup A Water cup B Water Cup C

[0064] Exemplarily, when the control module determines that the cup body of the target water cup is printed with a QR code A based on the second target image, the control module can determine that the target water cup is cup A based on the above Table-1.

[0065] Step S3120, determining preset water output parameters according to the identity information of the target water cup and the preset mapping relationship.

[0066] In this embodiment, the mapping relationship represents the correspondence between the identity information of different water cups and the preset water output parameters. When the control module determines the identity information of the target water cup, it further determines the preset water output parameters based on the identity information of the target water cup and the preset mapping relationship. The mapping relationship may be a mapping table stored in the control module. Please refer to Table 2, which schematically shows a mapping table of the correspondence between the identity information of different water cups and the preset water output parameters.

[0067] Table-2

[0068]

[0069] Exemplarily, when the control module determines that the target water cup is cup A, it can determine that the expected water level of the target water cup is 15 cm based on the above Table 2.

[0070] As another embodiment, a mapping table of correspondences between different image feature information and preset water output parameters may be pre-stored in the control module. When the control module identifies the image feature information of the target water cup, the preset water output parameters of the target water cup can be directly determined through the mapping table. Exemplarily, when the control module determines that the cup body of the target water cup is printed with a QR code A based on the second target image, the expected water level of the target water cup can be directly determined to be 15 cm based on the mapping table.

[0071] In other embodiments, the target water cup is provided with an electronic tag, and the drinking device is provided with an identification device matching the electronic tag. Then step S310 may include step S3120.

[0072] Step S3120, when the electronic tag is identified, obtaining the preset water output parameters corresponding to the electronic tag.

[0073] Since the target water cup is provided with an electronic tag, when the target water cup is close to the drinking water device, the identification device provided in the drinking water device can receive the radio frequency signal emitted by the electronic tag, and at this time, the identification device identifies the electronic tag. In this case, the identification device will send a water outlet instruction to the control module, and the control module will then read the preset water outlet parameters stored in the electronic tag through the identification device.

[0074] In some other possible embodiments, the preset water output parameters corresponding to the electronic tag may be stored in the control module in the form of a mapping table. The control module may read the electronic code stored in the electronic tag through an identification device, and then determine the preset water output parameters corresponding to the electronic tag based on a mapping table of correspondences between different electronic codes and different preset water output parameters.

[0075] Step S320, controlling the drinking water equipment to start discharging water.

[0076] The specific implementation method of step S320 can refer to the relevant introduction in step S220, which will not be repeated here.

[0077] Step S330, in response to the water discharging stop instruction, obtaining the second actual water level of the target water cup, and controlling the drinking water device to stop discharging water.

[0078] In this embodiment, the water discharging stop instruction is generated based on the water stop control of the drinking water device being triggered. In response to the water discharging stop instruction, the control module obtains the second actual water level of the target water cup through the liquid level detection device and controls the drinking water device to stop discharging water.

[0079] It should be noted here that step S330 in this embodiment is executed by the control module when the absolute value of the difference between the first actual water level and the expected water level is greater than the specified difference. That is, when the first actual water level does not reach the expected water level, the control module receives the user's water stop operation and then controls the drinking water equipment to stop discharging water.

[0080] Step S340: updating the expected water level of the target water cup to the second actual water level.

[0081] In this embodiment, the control module updates the expected water level of the target water cup to a second actual water level, wherein the second actual water level is less than the expected water level.

[0082] Exemplarily, the control module may modify the relevant parameters stored in the mapping table inside the control module. In the case where the target water cup is provided with an electronic tag, the control module may rewrite the relevant parameters stored in the electronic tag through the identification device.

[0083] The present application provides a control method for a drinking water device, which describes in detail the process of obtaining the preset water output parameters of a target water cup. In this method, the drinking water device updates the expected water level based on the user's stop water output operation, so that the drinking water device can be more humane when determining the preset water output parameters of the target water cup, thereby improving the convenience of the user's subsequent water collection.

[0084] See also Figure 4 , Figure 4 A control method for a drinking water device provided in the third embodiment of the present application is schematically shown. Specifically, the method includes the following process.

[0085] Step S410, in response to the water outlet indication, obtaining preset water outlet parameters of the target water cup.

[0086] Step S420, controlling the drinking water device to start discharging water.

[0087] Step S430, obtaining a first actual water level of the target water cup.

[0088] Step S440: When the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference, control the drinking water device to stop discharging water.

[0089] Step S450, in response to the water dispensing start instruction, the drinking water device is controlled to start dispensing water while the target water cup remains in place.

[0090] In this embodiment, the control module can determine whether the target water cup remains in place through the sensing signal sent by the water cup sensing device disposed on the base. For example, when the water cup sensing device is a pressure sensor, the sensing signal sent by it is a pressure sensing signal. When the control module determines that the pressure sensing signal has not changed, it determines that the target water cup is still placed on the base, that is, it determines that the target water cup remains in place.

[0091] The control module controls the drinking water device to start discharging water in response to the start water discharging instruction while the target water cup remains in place. The start water discharging instruction is generated based on the water discharging control of the drinking water device being triggered. For example, after the drinking water device completes the water discharging task according to the expected water level, the user needs to continue to add water to the target water cup. At this time, the user can manually control the water discharging control on the drinking water device to discharge water. It should be noted here that when the control module receives the start water discharging instruction, the step of obtaining the first actual water level will not be executed.

[0092] In other embodiments, when the target water cup does not remain in place (i.e., the target water cup moves), the control module obtains the preset water discharge parameters of the target water cup, and controls the drinking water device to start discharging water in response to the water discharge start instruction. Since the target water cup does not remain in place, it is possible that the water cup currently receiving water is not the same as the water cup previously receiving water. In this case, the control module needs to re-execute the step of obtaining the preset water discharge parameters.

[0093] Step S460, in response to the water discharging stop instruction, obtaining the third actual water level of the target water cup, and controlling the drinking water device to stop discharging water.

[0094] In this embodiment, the water discharging stop instruction is generated based on the water stop control of the drinking water device being triggered. In response to the water discharging stop instruction, the control module obtains the third actual water level of the target water cup through the liquid level detection device and controls the drinking water device to stop discharging water.

[0095] Step S470: updating the expected water level of the target water cup to the third actual water level.

[0096] In this embodiment, the control module updates the expected water level of the target water cup to the third actual water level, wherein the third actual water level is greater than the expected water level.

[0097] Exemplarily, the control module may modify the relevant parameters stored in the mapping table inside the control module. In the case where the target water cup is provided with an electronic tag, the control module may rewrite the corresponding preset water output parameters stored in the electronic tag through the identification device.

[0098] The present application provides a control method for a drinking water device, which describes in detail the process of obtaining the preset water output parameters of a target water cup. In this method, the drinking water device updates the expected water level based on the user's stop water output operation, so that the drinking water device can be more humane when determining the preset water output parameters of the target water cup, thereby improving the convenience of the user's subsequent water collection.

[0099] See also Figure 5 , Figure 5 A control method for drinking water equipment provided by the fourth embodiment of the present application is schematically shown. Specifically, the method includes the following process.

[0100] Step S510, in response to the water outlet indication, obtaining preset water outlet parameters of the target water cup.

[0101] In this embodiment, the preset water output parameters also include the preset expected water temperature of the target water cup. The expected water temperature is determined by the drinking water device based on the historical water receiving data of the target water cup. For example, after the target water cup is filled with water, the drinking water device records the water output temperature during the water output process and stores the water output temperature as the expected water temperature.

[0102] Step S520, controlling the drinking water equipment to discharge water according to the desired water temperature.

[0103] Step S530: in response to the temperature setting instruction, the desired water temperature is updated to the set temperature carried by the temperature setting instruction.

[0104] In this embodiment, the temperature setting instruction is generated based on the temperature control unit of the drinking water device being triggered. Exemplarily, during the water outlet process of the drinking water device, when the temperature control unit receives a manual operation of the user and is thus triggered, the temperature control unit generates a temperature setting instruction and sends it to the control module. Among them, the number of temperature controls can be multiple, and the multiple temperature controls correspond to different set temperatures (for example, 60 degrees Celsius, 80 degrees Celsius, etc.). When different temperature controls are triggered, a temperature setting instruction carrying the corresponding set temperature is generated. In the subsequent process, the control module responds to the temperature setting instruction and updates the expected water temperature preset in the preset water outlet parameter to the set temperature carried by the temperature setting instruction. Exemplarily, the control module can modify the relevant parameters stored in the mapping table inside the control module. In the case where the target water cup is provided with an electronic tag, the control module can rewrite the corresponding preset water outlet parameters stored in the electronic tag through the identification device.

[0105] Step S540, obtaining a first actual water level of the target water cup.

[0106] Step S550: When the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference, control the drinking water device to stop discharging water.

[0107] It should be noted here that there is no time sequence in the execution of step S530 and step S540, that is, step S530 can be executed before step S540, and step S530 can also be executed after step S540.

[0108] The present application provides a control method for a drinking water device, wherein the drinking water device in the method can also automatically discharge water according to a desired temperature when discharging water, without the need for manual operation by the user, thereby improving the convenience of receiving water. Furthermore, the drinking water device will also update the desired water temperature based on the user's temperature setting operation, so that the drinking water device can be more humane when determining the preset water discharge parameters of the target water cup, thereby improving the convenience of the user's subsequent water collection.

[0109] See also Figure 6 , Figure 6 A control method for drinking water equipment provided in the fifth embodiment of the present application is schematically shown. The liquid level detection device in this embodiment is a distance sensor for detecting water level. Specifically, the method includes the following process.

[0110] Step S610, in response to the water outlet indication, obtaining preset water outlet parameters of the target water cup.

[0111] Step S620, controlling the drinking water equipment to start discharging water.

[0112] Step S630, obtaining a first actual water level of the target water cup.

[0113] In this embodiment, the drinking water equipment may further include a liquid level detection device, which is a distance sensor, for detecting the distance between the distance sensor and the liquid surface in the target water cup to determine the first actual water level of the target water cup. Based on this, step S630 may include S6301 to S6307.

[0114] Step S6301, obtain the first moment.

[0115] In this embodiment, the first moment is the moment when the distance sensor transmits a detection signal. As an implementation mode, the control module can control the distance sensor to transmit a detection signal every third preset time period, and determine the emission time of each detection signal as the first moment. Among them, the third preset time period can be a default value in the drinking water equipment, and can also be dynamically adjusted by the user based on the actual working conditions of the drinking water equipment. Exemplarily, the third preset time period can be less than or equal to 3 seconds, for example, the third preset time period is 1 second. Specifically, the distance sensor can be an ultrasonic sensor, and the corresponding detection signal is ultrasonic. The distance sensor can also be an infrared sensor, and the corresponding detection signal is infrared. The distance sensor can also be a laser sensor, and the corresponding detection signal is laser.

[0116] Step S6303, obtain the second moment.

[0117] In this embodiment, the second moment is the moment when the distance sensor receives the echo signal, and the echo signal refers to the echo reflected after the detection signal passes through the liquid surface in the target water cup. As an implementation mode, when the distance sensor receives the echo signal, it determines the current moment as the second moment and sends the moment to the control module.

[0118] Step S6305: Determine the distance between the distance sensor and the liquid surface in the target water cup based on the first moment and the second moment.

[0119] In this embodiment, the control module can determine the time interval based on the first moment and the second moment, and determine the distance between the distance sensor and the liquid surface in the target water cup based on the time interval and the propagation speed of the detection signal. Specifically, the control module can calculate the distance between the distance sensor and the liquid surface in the target water cup based on the following formula.

[0120]

[0121] Wherein, H is the distance between the distance sensor and the liquid surface in the target water cup, t2 is the second moment, t1 is the first moment, and v is the propagation speed of the detection signal. Specifically, when the detection signal is ultrasonic wave, v is the wave speed of ultrasonic wave.

[0122] Step S6307: Determine a first actual water level of the target water cup based on the distance between the distance sensor and the liquid surface in the target water cup.

[0123] As an implementation method, when the target water cup receives water for the first time (that is, the target water cup is in an empty cup state) and before the drinking device starts to dispense water, the control module first obtains the distance between the distance sensor and the bottom of the target water cup (recorded as distance D) through the distance sensor, and stores the distance D in the control module. In the subsequent process, when the control module determines the distance between the distance sensor and the liquid surface in the target water cup (recorded as distance H), it reads the pre-stored distance D, and determines the difference between distance D and distance H as the first actual water level of the target water cup. Please refer to Figure 1 , Figure 1 The distance D and the distance H are schematically shown in FIG.

[0124] Step S640: When the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference, control the drinking water device to stop discharging water.

[0125] In this embodiment, the detection method of the first actual water level is introduced in detail when the liquid level detection device is a distance sensor, thereby realizing that the drinking water device can automatically discharge water according to the expected water level of the target water cup without the need for manual operation by the user, thereby improving the convenience of water collection. Furthermore, since the drinking water device will automatically stop discharging water when the first actual water level is close to the expected water level. Therefore, the drinking water device can stop discharging water without manual operation by the user, which can avoid the situation where there is too much water in the target water cup or even liquid overflows from the water cup due to untimely operation by the user, making the drinking water device more intelligent when discharging water and accurately meeting the user's water collection needs.

[0126] See also Figure 7 , Figure 7 A control method for a drinking water device provided in the sixth embodiment of the present application is schematically shown. The liquid level detection device in this embodiment is a first image sensor, and the first image sensor is arranged corresponding to the cup mouth of the target water cup. Specifically, the method includes the following process.

[0127] Step S710, in response to the water outlet indication, obtaining preset water outlet parameters of the target water cup.

[0128] Step S720, controlling the drinking water device to start discharging water.

[0129] Step S730, obtaining a first actual water level of the target water cup.

[0130] In this embodiment, the drinking water equipment may further include a liquid level detection device, which is a first image sensor, and is used to detect the actual distance between the cup mouth of the target water cup and the liquid surface in the target water cup to determine the first actual water level of the target water cup. Based on this, step S730 may include S7301 to S7307.

[0131] Step S7301, obtaining a first target image including a target water cup captured by a first image sensor.

[0132] In this embodiment, the control module may acquire the first target image captured by the first image sensor every fourth preset time. The first preset time may be a default value in the drinking water device, or may be dynamically adjusted by the user based on the actual working condition of the drinking water device. Exemplarily, the first preset time may be less than or equal to 3 seconds, for example, the first preset time is 1 second.

[0133] Step S7303: Based on the first target image, determine the pixel distance between the mouth of the target water cup and the liquid surface in the target water cup.

[0134] In this embodiment, a preset water level detection algorithm may be provided in the control module, and the control module identifies the cup mouth contour features and the liquid surface contour features of the target water cup in the first target image through the water level detection algorithm, and then determines the pixel distance between the cup mouth of the target water cup and the liquid surface in the target water cup based on the cup mouth contour features and the liquid surface contour features. Specifically, the water level detection algorithm may be a feature recognition algorithm based on machine learning or deep learning.

[0135] Step S7305, based on the preset calibration parameters and pixel distance, determine the actual distance between the mouth of the target water cup and the liquid surface in the target water cup.

[0136] In this embodiment, the control module may be preset with a calibration parameter corresponding to the target water cup, and the calibration parameter represents the actual height of the target water cup corresponding to a single image pixel. When the control module determines the pixel distance between the cup mouth and the liquid surface based on the water level detection algorithm, the product of the above pixel distance and the calibration parameter is determined as the actual distance between the cup mouth of the target water cup and the liquid surface in the target water cup. For example, taking the calibration parameter as 1mm and the pixel distance as 20 pixels as an example, the actual distance between the cup mouth of the target water cup and the liquid surface in the target water cup is determined to be 2cm.

[0137] Step S7307: Determine a first actual water level of the target water cup based on an actual distance between the mouth of the target water cup and the liquid surface in the target water cup.

[0138] As an implementation method, the control module may pre-store the cup body parameters of the target water cup, wherein the cup body parameters may include the height information of the target water cup, that is, the distance between the cup mouth and the cup bottom of the target water cup (recorded as distance d). In the subsequent process, when the control module determines the actual distance between the cup mouth of the target water cup and the liquid surface in the target water cup (recorded as distance h), it reads the pre-stored distance d and determines the difference between distance d and distance h as the first actual water level of the target water cup. Please refer to Figure 1 , Figure 1 The distance d and the distance h are schematically shown in FIG.

[0139] Step S740: When the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference, control the drinking water device to stop discharging water.

[0140] In this embodiment, the detection method of the first actual water level is described in detail when the liquid level detection device is a first image sensor, thereby realizing that the drinking water device can automatically discharge water according to the expected water level of the target water cup without the need for manual operation by the user, thereby improving the convenience of water collection. Furthermore, since the drinking water device will automatically stop discharging water when the first actual water level is close to the expected water level. Therefore, the drinking water device can stop discharging water without manual operation by the user, which can avoid the situation where there is too much water in the target water cup or even liquid overflows from the water cup due to untimely operation by the user, making the drinking water device more intelligent when discharging water and accurately meeting the user's water collection needs.

[0141] In this embodiment, the preset water output parameter is set based on the historical usage record of the target water cup. The setting process of the preset water output parameter is introduced below. Specifically, the setting process of the preset water output parameter may include step A100 and step A200.

[0142] Step A100, in response to the water outlet indication, if the preset water outlet parameters are not obtained, obtaining the manual water outlet parameters.

[0143] In this embodiment, the manual water output parameter includes at least one of water temperature and water level, and the manual water output parameter is generated based on the control of the drinking water device being triggered.

[0144] If the target water cup receives water for the first time, the preset water output parameters of the target water cup will not be stored in the control module. Therefore, the control module cannot obtain the preset water output parameters of the target water cup through electronic tag recognition or image feature recognition in response to the water output indication. In this case, the user needs to manually operate the control of the drinking water device to complete the water output operation. During this water output process, the control module obtains the corresponding water output parameters as manual water output parameters.

[0145] In some embodiments, the preset water output parameter includes a preset desired water level, and step A100 may include steps A110 to A120.

[0146] Step A110, in response to the water dispensing start instruction, controlling the drinking water device to start dispensing water.

[0147] If the preset expected water level is not stored in the control module, the drinking water device will not automatically dispense water, but the user manually controls the water dispensing control on the drinking water device to dispense water. In this embodiment, the control module controls the drinking water device to start dispensing water in response to the water dispensing start instruction. The water dispensing start instruction is generated based on the water dispensing control of the drinking water device being triggered.

[0148] Step A120, in response to the water discharging stop instruction, obtaining the fourth actual water level of the target water cup, and controlling the drinking water device to stop discharging water.

[0149] In this embodiment, the water discharging stop instruction is generated based on the water stop control of the drinking water device being triggered. In response to the water discharging stop instruction, the control module obtains the fourth actual water level of the target water cup through the liquid level detection device, and controls the drinking water device to stop discharging water. Specifically, the process of obtaining the fourth actual water level can refer to the detailed description of steps S6301 to S6307 or steps S7301 to S7307 in the above embodiments, which will not be repeated here.

[0150] In other embodiments, the preset water output parameters include a preset desired water temperature, and step A100 may include step A130.

[0151] Step A130, in response to the temperature setting instruction, obtaining the set temperature carried in the temperature setting instruction.

[0152] In this embodiment, the temperature setting instruction is generated based on the temperature control of the drinking water device being triggered. For example, the user can select the set temperature by operating the temperature control of the drinking water device before the drinking water device starts to dispense water or during the process of the drinking water device dispensing water, and the temperature control generates a temperature setting instruction carrying the set temperature and sends the temperature setting instruction to the control module. In the subsequent process, the control module responds to the temperature setting instruction and obtains the set temperature carried by the temperature setting instruction.

[0153] Step A200, storing the manual water outlet parameters as preset water outlet parameters.

[0154] In this embodiment, the control module stores the manual water outlet parameters as preset water outlet parameters, so that in the subsequent water receiving process, the control module can quickly determine the preset water outlet parameters of the target water cup, thereby realizing automatic water outlet.

[0155] In some embodiments, the preset water output parameters include a preset desired water level, and step A200 may include step A210.

[0156] Step A210: storing the fourth actual water level as the preset desired water level.

[0157] In this embodiment, when the control module determines the fourth actual water level, the fourth actual water level can be stored as the preset expected water level. Specifically, the control module can store the fourth actual water level as the expected water level in a mapping table inside the control module or in an electronic tag, so that in the subsequent water collection process, the control module can quickly read the expected water level of the target water cup.

[0158] Exemplarily, the control module can obtain the characteristic information of the target water cup during the water discharge process, and then store the characteristic information of the target water cup and the expected water level in a mapping table inside the control module. In the case where the target water cup is provided with an electronic tag, the control module can store the fourth actual water level as the expected water level of the target water cup in the electronic tag through the identification device. The control module can also read the identity information of the target water cup through the identification device, and then store the identity information of the target water cup and the expected water level in the mapping table inside the control module.

[0159] In other embodiments, the preset water output parameters include a preset desired water temperature, and step A200 may include step A220.

[0160] Step A220, storing the set temperature as the preset desired water temperature.

[0161] In this embodiment, the control module can store the set temperature as the preset desired water temperature when determining the set temperature. Specifically, the storage process of the set temperature can refer to the storage process of the fourth actual water level in step A210, which will not be repeated in this embodiment.

[0162] This embodiment provides a method for setting preset water output parameters when the control module does not store the preset water output parameters, so that in the subsequent water collection process, the control module can quickly determine the preset water output parameters of the target water cup, thereby realizing automatic water output.

[0163] See also Figure 8 , Figure 8 A control device 800 for a drinking water device provided in an embodiment of the present application is schematically shown. The control device 800 includes a first acquisition module 810, a first control module 820, a second acquisition module 830, and a second control module 840. The first acquisition module 810 is used to obtain preset water outlet parameters of a target water cup in response to a water outlet indication, the water outlet indication is automatically generated by the drinking water device, and the preset water outlet parameters include a preset expected water level. The first control module 820 is used to control the drinking water device to start discharging water. The second acquisition module 830 is used to obtain a first actual water level of the target water cup. The second control module 840 is used to control the drinking water device to stop discharging water when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to a specified difference.

[0164] In some embodiments, the control device 800 further includes a third acquisition module (not shown in the figure) and a first update module (not shown in the figure). The third acquisition module is used to respond to the water discharging stop instruction, obtain the second actual water level of the target water cup, and control the drinking water device to stop discharging water, and the water discharging stop instruction is generated based on the water stop control of the drinking water device being triggered. The first update module is used to update the expected water level of the target water cup to the second actual water level.

[0165] In some embodiments, the control device 800 further includes a third control module (not shown in the figure), a fourth acquisition module (not shown in the figure) and a second update module (not shown in the figure). The third control module is used to control the drinking water device to start discharging water in response to a start water discharging instruction when the target water cup remains in place, and the start water discharging instruction is generated based on the water discharging control of the drinking water device being triggered. The fourth acquisition module is used to obtain the third actual water level of the target water cup in response to a stop water discharging instruction, and control the drinking water device to stop discharging water, and the stop water discharging instruction is generated based on the water stop control of the drinking water device being triggered. The second update module is used to update the desired water level of the target water cup to the third actual water level.

[0166] In some embodiments, the preset water output parameters also include a preset desired water temperature of the target water cup. The first control module 820 is also used to control the drinking water device to output water according to the desired water temperature.

[0167] In some embodiments, the control device 800 further includes a third updating module (not shown in the figure). The third updating module is used to update the desired water temperature to the set temperature carried by the temperature setting instruction in response to the temperature setting instruction, and the temperature setting instruction is generated based on the temperature control unit of the drinking water device being triggered.

[0168] In some embodiments, the drinking water device includes a distance sensor for detecting the water level. The second acquisition module 830 is further used to acquire a first moment, which is the moment when the distance sensor transmits a detection signal; acquire a second moment, which is the moment when the distance sensor receives an echo signal, and the echo signal refers to the echo reflected after the detection signal passes through the liquid surface in the target water cup; determine the distance between the distance sensor and the liquid surface in the target water cup based on the first moment and the second moment; determine the first actual water level of the target water cup based on the distance between the distance sensor and the liquid surface in the target water cup.

[0169] In some embodiments, the drinking water device includes a first image sensor, and the first image sensor is arranged corresponding to the cup mouth of the target water cup. The second acquisition module 830 is also used to acquire a first target image including the target water cup taken by the first image sensor; based on the first target image, determine the pixel distance between the cup mouth of the target water cup and the liquid surface in the target water cup; based on a preset calibration parameter and pixel distance, determine the actual distance between the cup mouth of the target water cup and the liquid surface in the target water cup, the calibration parameter characterizes the actual height of the target water cup corresponding to a single image pixel; based on the distance between the cup mouth of the target water cup and the liquid surface in the target water cup, determine the first actual water level of the target water cup.

[0170] In some embodiments, the drinking water device is provided with a second image sensor. The first acquisition module 810 is further used to acquire a second target image including a target water cup taken by the second image sensor; when the image feature information of the target water cup is identified in the second target image, the identity information of the target water cup is determined based on the image feature information of the target water cup; according to the identity information of the target water cup and a preset mapping relationship, the preset water output parameter is determined; the mapping relationship represents the correspondence between different identity information and the preset water output parameter.

[0171] In some embodiments, the target water cup is provided with an electronic tag, and the drinking water device is provided with an identification device that matches the electronic tag. The first acquisition module 810 is also used to acquire the preset water output parameter corresponding to the electronic tag when the electronic tag is identified.

[0172] In some embodiments, the preset water output parameter is set based on the historical usage record of the target water cup. The control device 800 also includes a fifth acquisition module (not shown in the figure) and a storage module (not shown in the figure), wherein the fifth acquisition module is also used to respond to the water output indication, and when the preset water output parameter is not obtained, obtain the manual water output parameter; the manual water output parameter includes at least one of the water temperature and the water level, and the manual water output parameter is generated based on the control of the drinking water device being triggered. The storage module is also used to store the manual water output parameter as the preset water output parameter.

[0173] In some embodiments, the preset water output parameter includes a preset expected water level. The fifth acquisition module is further used to control the drinking water device to start water output in response to a start water output instruction, the start water output instruction is generated based on the water output control of the drinking water device being triggered; in response to a stop water output instruction, obtain the fourth actual water level of the target water cup and control the drinking water device to stop water output, the stop water output instruction is generated based on the water stop control of the drinking water device being triggered. The storage module is also used to store the fourth actual water level as the preset expected water level.

[0174] In some embodiments, the preset water output parameter includes a preset desired water temperature. The fifth acquisition module is further configured to, in response to a temperature setting instruction, acquire a set temperature carried by the temperature setting instruction, the temperature setting instruction being generated based on a temperature control of the drinking water device being triggered. The storage module is further configured to store the set temperature as the preset desired water temperature.

[0175] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0176] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0177] In addition, each functional module in each embodiment of the present application can be integrated into a control module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0178] The present application provides a control device for a drinking water device, which can obtain the expected water level of a target water cup, and obtain the first actual water level of the target water cup through a liquid level detection device during the water discharging process, and then control the drinking water device to stop discharging water when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to the specified difference. Therefore, the drinking water device in the present application can automatically discharge water according to the expected water level of the target water cup without the need for manual operation by the user, thereby improving the convenience of water collection. Furthermore, since the drinking water device will automatically stop discharging water when the first actual water level is close to the expected water level. Therefore, the drinking water device can stop discharging water without the need for manual operation by the user, thereby avoiding the situation where there is too much water in the target water cup or even liquid overflows from the cup due to untimely operation by the user, making the drinking water device more intelligent when discharging water and accurately meeting the user's water collection needs.

[0179] See also Fig. 9 , which shows that the embodiment of the present application also provides a drinking water device 900, which includes: one or more processors 910, a memory 920 and one or more applications. Among them, the one or more applications are stored in the memory and are configured to be executed by one or more processors, and the one or more applications are configured to execute the above method.

[0180] The processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect various parts of the entire battery management system, and executes various functions and processes data of the battery management system by running or executing instructions, programs, code sets or instruction sets stored in the memory 920, and calling data stored in the memory 920. Optionally, the processor 910 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 910 can integrate one or more combinations of a central processing unit 910 (CPU), a graphics processing unit 910 (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 910, but may be implemented separately through a communication chip.

[0181] The memory 920 may include a random access memory 920 (Random Access Memory, RAM), and may also include a read-only memory 920 (Read-Only Memory, ROM). The memory 920 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the various method embodiments described below, etc. The data storage area may also store data created by the electronic device during use (such as a phone book, audio and video data, chat record data), etc.

[0182] See also Fig.10 , Fig.10 It is schematically shown that an embodiment of the present application further provides a computer-readable storage medium 1000, in which computer program instructions 1010 are stored. The computer program instructions 1010 can be called by a processor to execute the method described in the above embodiment.

[0183] The computer-readable storage medium 1000 may be, for example, a flash memory, an electrically erasable programmable read-only memory (EEPROM), an electrically programmable read-only memory (EPROM), a hard disk, or a read-only memory (ROM). Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 1000 has a storage space for computer program instructions 1010 for executing any method steps of the above method. These computer program instructions 1010 may be read from one or more computer program products or may be written into one or more computer program products.

[0184] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.

Claims

1. A method for controlling a drinking water device, It is characterized in that include: In response to the water outflow indication, obtaining preset water outflow parameters of the target water cup; the water outflow indication is automatically generated by the drinking water device, and the preset water outflow parameters include a preset expected water level; Control the drinking water equipment to start discharging water; Obtaining a first actual water level of the target water cup; When the absolute value of the difference between the first actual water level and the expected water level is less than or equal to a specified difference, the drinking water device is controlled to stop discharging water.

2. The method according to claim 1, It is characterized in that In the case where the absolute value of the difference between the first actual water level and the expected water level is less than or equal to a specified difference, before controlling the drinking water device to stop discharging water, the method further includes: In response to a water discharging stop instruction, obtaining a second actual water level of the target water cup, and controlling the drinking water device to stop discharging water, wherein the water discharging stop instruction is generated based on a water stop control of the drinking water device being triggered; The desired water level of the target water cup is updated to the second actual water level.

3. The method according to claim 1, It is characterized in that In the case where the absolute value of the difference between the first actual water level and the expected water level is less than or equal to a specified difference, after controlling the drinking water device to stop discharging water, the method further includes: In the case where the target water cup remains in place, in response to a water dispensing start instruction, the drinking water device is controlled to start dispensing water, wherein the water dispensing start instruction is generated based on a water dispensing control of the drinking water device being triggered; In response to a water discharging stop instruction, obtaining a third actual water level of the target water cup, and controlling the drinking water device to stop discharging water, wherein the water discharging stop instruction is generated based on a water stop control of the drinking water device being triggered; The desired water level of the target water cup is updated to the third actual water level.

4. The method according to claim 1, It is characterized in that The preset water output parameter also includes the preset expected water temperature of the target water cup; and controlling the drinking water device to start water output includes: The drinking water device is controlled to discharge water according to the desired water temperature.

5. The method according to claim 4, It is characterized in that In the case where the absolute value of the difference between the first actual water level and the expected water level is less than or equal to a specified difference, before controlling the drinking water device to stop discharging water, the method further includes: In response to a temperature setting instruction, the desired water temperature is updated to a set temperature carried in the temperature setting instruction, wherein the temperature setting instruction is generated based on a temperature control unit of the drinking water device being triggered.

6. The method according to any one of claims 1 to 5, It is characterized in that The drinking water device includes a sensor for detecting a water level; and obtaining the first actual water level of the target water cup includes: Acquire a first moment, where the first moment is the moment when the sensor transmits a detection signal; Acquire a second moment, where the second moment is the moment when the sensor receives an echo signal, where the echo signal refers to an echo reflected by the detection signal after passing through the liquid surface in the target water cup; Based on the first moment and the second moment, determining the distance between the distance sensor and the liquid surface in the target water cup; Based on the distance between the distance sensor and the liquid surface in the target water cup, a first actual water level of the target water cup is determined.

7. The method according to any one of claims 1 to 5, It is characterized in that The drinking water device includes a first image sensor, and the first image sensor is arranged corresponding to the cup mouth of the target water cup; and obtaining the first actual water level of the target water cup includes: Acquire a first target image including the target water cup captured by the first image sensor; Based on the first target image, determining a pixel distance between a cup mouth of the target water cup and a liquid surface in the target water cup; Determine the actual distance between the mouth of the target water cup and the liquid surface in the target water cup based on a preset calibration parameter and the pixel distance, wherein the calibration parameter represents the actual height of the target water cup corresponding to a single image pixel; Based on the actual distance between the cup mouth of the target water cup and the liquid surface in the target water cup, a first actual water level of the target water cup is determined.

8. The method according to any one of claims 1 to 5, It is characterized in that The drinking water device is provided with a second image sensor; The step of obtaining preset water output parameters of the target water cup in response to the water output indication includes: Acquire a second target image including the target water cup captured by the second image sensor; When the image feature information of the target water cup is identified in the second target image, determining the identity information of the target water cup based on the image feature information of the target water cup; The preset water output parameters are determined according to the identity information of the target water cup and a preset mapping relationship; the mapping relationship represents the corresponding relationship between the identity information of different water cups and the preset water output parameters.

9. The method according to any one of claims 1 to 5, It is characterized in that The target water cup is provided with an electronic tag, and the drinking water equipment is provided with an identification device matching the electronic tag; The step of obtaining preset water output parameters of the target water cup in response to the water output indication includes: When the electronic tag is identified, the preset water output parameter corresponding to the electronic tag is obtained.

10. The method according to any one of claims 1 to 5, It is characterized in that The preset water output parameters are set based on the historical usage records of the target water cup, and the setting process of the preset water output parameters includes: In response to the water outlet indication, if the preset water outlet parameter is not obtained, a manual water outlet parameter is obtained; the manual water outlet parameter includes at least one of water temperature and water level, and the manual water outlet parameter is generated based on the control of the drinking water device being triggered; The manual water outlet parameter is stored as the preset water outlet parameter.

11. The method according to claim 10, It is characterized in that The preset water output parameter includes a preset expected water level; and the step of obtaining a manual water output parameter in response to the water output indication when the preset water output parameter is not obtained includes: In response to a water dispensing start instruction, controlling the drinking water device to start dispensing water, wherein the water dispensing start instruction is generated based on a water dispensing control of the drinking water device being triggered; In response to a water discharging stop instruction, obtaining a fourth actual water level of the target water cup, and controlling the drinking water device to stop discharging water, wherein the water discharging stop instruction is generated based on a water stop control of the drinking water device being triggered; The storing the manual water outlet parameter as the preset water outlet parameter comprises: The fourth actual water level is stored as the preset desired water level.

12. The method according to claim 10, It is characterized in that The preset water output parameters include a preset desired water temperature; The step of obtaining the manual water outlet parameter in response to the water outlet indication when the preset water outlet parameter is not obtained includes: In response to a temperature setting instruction, obtaining a set temperature carried by the temperature setting instruction, wherein the temperature setting instruction is generated based on a temperature control unit of the drinking water device being triggered; The storing the manual water outlet parameter as the preset water outlet parameter comprises: The set temperature is stored as the preset desired water temperature.

13. A control device for drinking water equipment, It is characterized in that include: A first acquisition module, configured to acquire preset water output parameters of a target water cup in response to a water output indication; the water output indication is automatically generated by the drinking water device, and the preset water output parameters include a preset expected water level; The first control module is used to control the drinking water device to start discharging water; A second acquisition module, used to acquire a first actual water level of the target water cup; The second control module is used to control the drinking water device to stop discharging water when the absolute value of the difference between the first actual water level and the expected water level is less than or equal to a specified difference.

14. A drinking water device, It is characterized in that include: one or more processors; Memory; as well as One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by one or more processors, and configured to execute the method according to any one of claims 1-12.

15. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer program instructions, and the computer program instructions can be called by a processor to execute the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Water outlet control method and system of drinking water supply device

    CN104257270A

  • Control method and device of water dispenser, water dispenser and machine readable storage medium

    CN110432780A

  • Water dispenser water outlet parameter control method and device and water dispenser

    CN110916511A

  • Water dispenser control method, water dispenser and computer readable storage medium

    CN111568217A

  • Intelligent water dispenser

    CN214856077U