Drinking water control method and device and electronic equipment
By combining the acceleration sensor and water flow sensor with the water cup label information, the placement status of the water cup is determined and the water dispensing process is controlled, which solves the accuracy and intelligence problems of automatic water dispensing control of the water dispenser and improves the user experience and control accuracy.
Patent Information
- Application Number
- CN202410860109.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-08
AI Technical Summary
Existing automatic water dispenser control solutions for water dispensers have problems such as low control accuracy, low intelligence, and poor user experience, especially water leakage or accidental water stoppages due to misjudgments in wireless tag recognition, radio frequency signals, and gravity sensors. .
Using acceleration sensors and water flow sensors combined with water cup label information, the water cup placement status is determined by obtaining acceleration change information and water outlet status information, and based on this, the water outlet process is controlled to improve the accuracy and intelligence of water outlet control.
It improves the accuracy of determining the status of the water cup and the rigor of water outlet control, improves the user experience, reduces water leakage and accidental water interruption, and improves the intelligence of the water dispenser.
Smart Images

Figure CN118743513A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water outlet control, and in particular to a drinking water control method, device and electronic equipment. Background Art
[0002] A water dispenser is a device that heats or cools bottled pure water (or mineral water) to facilitate drinking. Water dispensers are involved in every corner of social life. Generally, users use operating buttons and other control switches to control the water dispenser and stop the water supply. With the development of technology, the automation of water dispensers has also been studied and put into use. The existing automatic water supply control scheme of water dispensers generally has the function of controlling the water supply or stop through wireless tag recognition information. In addition, some water dispensers can combine weight, image recognition technology, radio frequency signals, etc. to determine whether there is a cup in the water tray, thereby realizing the automatic water supply and stop control of the water dispenser.
[0003] In the prior art, wireless tags and radio frequency strength are used to identify whether a cup is in the water tray. There are many external interference factors, which can easily lead to misjudgment. For example, as the use time increases, the identification module in the water dispenser ages and the tag performance decreases, or some cups are made of metal materials and have interference factors themselves. The cost of using image recognition to determine whether the water dispenser automatically dispenses water or stops water is too high. Using a gravity sensor to determine whether the cup is placed below the water outlet can easily cause water to be dispensed or stopped by mistake, resulting in water leakage or poor user experience. Therefore, a new drinking water control method is needed to solve the problems of low control accuracy, low intelligence and poor user experience in automatic water discharge or automatic water stop of drinking water control equipment. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide a drinking water control method, device and electronic device to solve the technical problems existing in drinking water control, such as low control accuracy, low intelligence and poor user experience.
[0005] One aspect of the present invention provides a drinking water control method, the method comprising the following steps:
[0006] Acquire water outlet status information corresponding to the drinking water control device and acceleration change information of an acceleration sensor in the drinking water control device;
[0007] Determining a water cup placement state corresponding to the water cup based on the acceleration change information and the water discharge state information;
[0008] Based on the placement state of the water cup and the label existence result corresponding to the water cup label information, the water output process of the drinking water control device is controlled.
[0009] Another aspect of the present invention provides a control device, the device comprising:
[0010] An acquisition module, used to acquire water outlet status information corresponding to a drinking water control device and acceleration change information of an acceleration sensor in the drinking water control device;
[0011] A state module, used for determining a water cup placement state corresponding to the water cup based on the acceleration change information and the water discharge state information;
[0012] The control module is used to control the water output process of the drinking water control device based on the placement state of the water cup and the label existence result corresponding to the water cup label information.
[0013] Another aspect of the present invention provides an electronic device, comprising:
[0014] processor;
[0015] a memory for storing instructions executable by the processor;
[0016] Wherein, the processor is configured to execute the instructions to implement any one of the drinking water control methods described above.
[0017] Yet another aspect of the present invention provides a computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute any one of the drinking water control methods described above.
[0018] The present invention provides a drinking water control method, device and electronic device, which obtain water outlet status information corresponding to a drinking water control device and acceleration change information of an acceleration sensor in the drinking water control device, and determine a water cup placement status corresponding to a water cup based on the acceleration change information and the water outlet status information, thereby improving the rigor of determining the water cup placement status; further, if a result exists based on the water cup placement status and a label corresponding to the water cup label information, the water outlet process of the drinking water control device is determined, thereby improving the rigor and accuracy of controlling the water outlet process of the drinking water control device, and further, improving the intelligence of controlling the water outlet of the drinking water control device and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1is a structural schematic diagram of a drinking water control device provided according to an exemplary embodiment;
[0021] Figure 2 is a schematic diagram of a control method step provided according to an exemplary embodiment;
[0022] Figure 3 A flowchart of determining that a water cup placement state is valid when water outlet state information indicates that a water drinking control device does not outlet water is provided according to an exemplary embodiment;
[0023] Figure 4 A flowchart of determining that a water cup placement state is invalid when water outlet state information indicates that a drinking water control device is outlet water is provided according to an exemplary embodiment;
[0024] Figure 5 A schematic diagram of a flow chart of determining the water discharge process of a drinking water control device when a water cup placement state is invalid according to an exemplary embodiment;
[0025] Figure 6 is a flow chart of determining a flow matching result according to an exemplary embodiment;
[0026] Figure 7 A schematic diagram of a flow chart of determining a water discharge process of a drinking water control device based on a flow matching result and a tag existence result according to an exemplary embodiment;
[0027] Figure 8 is a schematic diagram of a flow chart of determining an acceleration threshold value according to an exemplary embodiment;
[0028] Fig. 9 is a structural schematic diagram of a control device provided according to an exemplary embodiment. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] In an optional embodiment, the drinking water control device in the present application may include a drinking fountain and other equipment. Figure 1 is a structural block diagram of a drinking water control device provided according to an exemplary embodiment. Figure 1 As shown, the drinking water control device may include an acceleration sensor, a water flow sensor, an identification component and a control unit.
[0032] In a specific embodiment, an acceleration sensor is arranged below a water outlet component of a drinking water control device, and a control unit is electrically connected to the acceleration sensor, the water flow sensor, and the identification component, respectively. The identification component is used to identify the water cup label information of the water cup; the water flow sensor is used to collect water flow information corresponding to the water outlet component of the drinking water control device; the control unit is used to control the opening and closing of the water outlet process of the drinking water control device based on the acceleration change information of the acceleration sensor, the label existence result corresponding to the water cup label information, and the water flow information.
[0033] In a specific embodiment, the identification component may include an identification area and an identification controller, the identification area and the identification controller are electrically connected, and the identification controller is used to identify the water cup label information through the identification area. Specifically, when the control unit issues an identification instruction to the identification component, the identification controller in the identification component starts to determine whether the water cup label information exists through the identification area. Further, when it is determined that the water cup label information exists, the identification controller reads the water cup label information and sends the water cup label information to the control unit; optionally, the identification area can be set in each area of the drinking water control device to identify the water cup label information at each angle of the water cup.
[0034] Specifically, the water outlet component may include a water outlet and a water outlet frame. Optionally, an acceleration sensor may be arranged directly below the water outlet. When a water cup is placed on the drinking water control device, the water cup is taken away from the drinking water control device, and water in the drinking water control device flows into the water cup placed on the drinking water control device, the acceleration sensor will change and will collect acceleration change information in different situations; further, when water flows out of the drinking water control device, the water flow sensor will obtain water flow information when the water flows out; the acceleration sensor, the water flow sensor and the identification component will send the collected information to the control unit, which will process the information and complete the opening and closing of the water outlet process of the drinking water control device.
[0035] In a specific embodiment, the drinking water control device may also include a water receiving component, which may include a water receiving tray, a water receiving box and a drainage hole. The acceleration sensor is arranged between the water receiving tray and the water receiving box. The water receiving tray is used to place a water cup, the water receiving box is used to receive waste water, and the drainage hole is used to drain the waste water.
[0036] Specifically, the water receiving assembly can be arranged at the lower end of the water receiving area corresponding to the drinking water control device, and the drainage hole is arranged at the lower end of the water receiving box. When a water cup is placed on the water receiving tray, the pressure of the water cup will cause the water receiving tray to bend and change, and accordingly, the water receiving tray triggers the acceleration sensor, and the acceleration sensor senses the acceleration change information under the current situation; at the moment when the water cup on the water receiving tray is taken away, the pressure of the water cup suddenly decreases, causing the water receiving tray to change from bending to normal, and the acceleration sensor can sense the acceleration change information under the current situation; when the water cup is placed on the water receiving tray and water flows into the water cup, due to the regular changes of the water flowing into the water cup, the pressure of the water cup and the water connecting the water tray changes regularly, so the acceleration change information sensed by the acceleration sensor changes regularly; optionally, when the water cup is not directly below the water outlet assembly, if the water in the drinking water control device flows out, the water will flow into the water receiving box and correspondingly be discharged from the drainage hole.
[0037] In a specific embodiment, the device may further include a control function key, which is used for the user to issue control instructions; specifically, the control function key can be set in a more obvious position in the drinking water control device, and accordingly, the user can control the water outlet process of the drinking water control device by triggering the control function key. Optionally, when the user issues a control instruction, the drinking water control device controls the water outlet process based on the control instruction. Only when the control unit does not detect the control instruction will the drinking water control device make a judgment on the corresponding water outlet process control.
[0038] In the above embodiment, the acceleration sensor is arranged between the water receiving tray and the water receiving box, so that the acceleration sensor can sensitively sense the acceleration change information generated by placing the water cup on the water receiving tray, thereby improving the sensitivity of capturing the acceleration change information, and further improving the accuracy of controlling the water outlet process; by setting the control function key, the user can fully control the water outlet process of the drinking water control device, making the control of the water outlet process of the drinking water control device more reasonable, and further improving the rationality of the technical solution.
[0039] Figure 2 1 is a schematic diagram of a control method according to an exemplary embodiment. In an optional embodiment, the present invention uses the control unit in the drinking water control device as the execution body to introduce an embodiment of the drinking water control method of the present application, such as Figure 2 As shown, the above method may include:
[0040] S201: Acquire water outlet status information corresponding to the drinking water control device and acceleration change information of an acceleration sensor in the drinking water control device.
[0041] In a specific embodiment, the water outlet status information is used to indicate whether the drinking water control device is discharging water; the acceleration change information may be change information based on a pressure acceleration sensor of the water receiving tray.
[0042] Specifically, the control unit in the drinking water control device will always be in a state of detecting control instructions. When the control instruction is detected, the drinking water control device can turn on or off the water outlet process corresponding to the drinking water control device based on the control instruction; optionally, when no control instruction is detected, the control unit will detect the water outlet status information corresponding to the drinking water control device, and obtain the acceleration change information of the acceleration sensor. Accordingly, the control unit will detect whether the water outlet component is discharging water, and then determine the water outlet status information.
[0043] S203: Determine the water cup placement state corresponding to the water cup based on the acceleration change information and the water outlet state information.
[0044] In a specific embodiment, the water cup placement status is used to indicate whether the water cup is placed on the water receiving component; the water outlet status information is used to indicate whether the drinking water control device is discharging water; the acceleration change information can be the change information of the acceleration sensor. When the control unit obtains the water outlet status information and the acceleration change information, it will judge the water cup placement status of the water cup corresponding to the drinking water control device.
[0045] Figure 3 The present invention is a flowchart of determining that the water cup placement state is valid when the water outlet state information indicates that the drinking water control device is not discharging water according to an exemplary embodiment. Figure 3 As shown, the acceleration change information includes first acceleration change information. Based on the acceleration change information and the water outlet state information, determining the water cup placement state corresponding to the water cup in the drinking water control device includes:
[0046] S301: when the water outlet status information indicates that the drinking water control device is not outlet water, obtaining a first acceleration threshold corresponding to the first water outlet status information;
[0047] S303: When the first acceleration change information is not less than the first acceleration threshold, determine that the water cup placement state is valid.
[0048] In a specific embodiment, the first acceleration change information may be change information of the acceleration sensor when the water outlet status information indicates that the drinking water control device is not discharging water; the first acceleration threshold is the acceleration threshold corresponding to when the water cup is placed on the water receiving component; specifically, when the water outlet status information indicates that the drinking water control device is not discharging water, the first acceleration threshold of the drinking water control device existing in the control unit can be obtained, and the first acceleration change information of the acceleration sensor is always obtained, and further, the obtained first acceleration change information is compared with the first acceleration threshold to determine whether the first acceleration change information is not less than the first acceleration threshold. Optionally, when the first acceleration change information is not less than the first acceleration threshold, it is determined that there is a water cup placement state on the water receiving component, that is, the water cup placement state is set to be valid, and accordingly, it is determined that the water cup is placed on the water receiving component.
[0049] In the above embodiment, by comparing the first acceleration change information and the first acceleration threshold when the water outlet status information indicates that the drinking water control device is not discharging water, it is determined that the water cup placement status is valid, thereby improving the rationality and accuracy of determining the water cup placement status, and further improving the accuracy and intelligence of controlling the water outlet process.
[0050] Figure 4 According to an exemplary embodiment, a flow chart of determining that the water cup placement state is invalid when the water outlet state information indicates that the drinking water control device is discharging water is provided. In an optional embodiment, Figure 4 As shown, the acceleration change information includes the second acceleration change information; based on the acceleration change information and the water outlet state information, determining the water cup placement state corresponding to the water cup in the drinking water control device includes:
[0051] S401: when the water outlet status information indicates that the drinking water control device is outlet water, obtaining a second acceleration threshold;
[0052] S403: When the second acceleration change information is not less than the second acceleration threshold, determine that the placement state of the water cup is invalid.
[0053] In a specific embodiment, the second acceleration change information may be change information of the acceleration sensor when the water outlet status information indicates that the drinking water control device is discharging water; the second acceleration threshold is the acceleration threshold corresponding to when the water cup leaves the water receiving component; specifically, when the control unit detects that the water outlet component is discharging water, that is, when the water outlet status information indicates that the drinking water control device is discharging water, the control unit obtains the second acceleration change information and the second acceleration threshold under the current water outlet status information, and further, compares the second acceleration change information with the second acceleration threshold to determine the placement status of the water cup, and accordingly, when the second acceleration change information is not less than the second acceleration threshold, the placement status of the water cup is determined to be invalid, that is, the water cup has left the water receiving component; when the second acceleration change information is less than the second acceleration threshold, the placement status of the water cup is still determined to be valid, that is, the water cup is still placed on the water receiving component.
[0054] In the above embodiment, when the water outlet status information indicates that the drinking water control device is outlet water, the water cup placement status is determined by comparing the second acceleration change information with the second acceleration threshold value, thereby improving the rationality and accuracy of determining the water cup placement status, and correspondingly improving the accuracy and intelligence of controlling the water outlet process.
[0055] S205: Based on the placement state of the water cup and the label existence result corresponding to the label information of the water cup, control the water output process of the drinking water control device.
[0056] In a specific embodiment, the label existence result is used to indicate whether the water cup label exists; the water cup label information may be the requirement information for adding water to the water cup, and optionally, the water cup label information may include water temperature, water volume and other information; specifically, the control unit controls the water output process of the drinking water control device based on the water cup placement status and the label existence result.
[0057] In an optional embodiment, the controlling the water output process of the drinking water control device based on the placement state of the water cup and the label existence result corresponding to the water cup label information may include:
[0058] When the water cup placement state is valid and the tag existence result indicates that the water cup tag information exists, the water outlet process of the drinking water control device is controlled to be started based on the water cup tag information.
[0059] In a specific embodiment, when the water cup placement state is valid, it means that the water cup is placed on the water receiving component. Accordingly, the control unit can control the identification component to identify the water cup label information. Optionally, the identification controller in the identification component controls the camera in the identification area to scan the water cup label information to determine whether the water cup is still placed on the water receiving component, that is, determine the label existence result. Accordingly, when the water cup label information is scanned, that is, the label existence result indicates that the water cup label information exists, it is further determined that the water cup is placed on the water receiving component. Furthermore, the identification controller obtains the water cup label information and sends the water cup label information to the control unit. Furthermore, the control unit controls the water outlet process of the drinking water control device to start based on the water cup label information, that is, controls the water outlet component to discharge water.
[0060] In the above embodiment, the water cup placement status and the label existence result are used to jointly control the start of the water outlet process of the drinking water control device, thereby improving the rigor of the water outlet process started by the drinking water control device, and the drinking water control device discharges water based on the water cup label information, thereby improving the rationality and accuracy of the water outlet of the drinking water control device.
[0061] Figure 5 According to an exemplary embodiment, a flow chart of determining the water output process of a drinking water control device when the water cup placement state is invalid is provided. In an optional embodiment, as Figure 5 As shown, based on the placement state of the water cup and the label existence result corresponding to the label information of the water cup, the water output process of controlling the drinking water control device may include:
[0062] S501: when the water cup placement state is invalid, obtaining water flow information of a water flow sensor in a drinking water control device;
[0063] S503: Determine a flow matching result based on the acceleration change information and the water flow information;
[0064] S505: Based on the flow matching result and the tag existence result, determine the water output process of the drinking water control device.
[0065] In a specific embodiment, the water flow information may be the corresponding water outlet rate of the drinking water control device collected by the water flow sensor. Specifically, when the aforementioned water cup placement state is invalid, the control unit will control the water flow sensor to transmit the water flow information of the current situation. Optionally, during the process of the drinking water control device discharging water, the water flow sensor will collect water flow information based on a preset time period. Accordingly, the duration of the preset time period is relatively short. Optionally, the preset time period may be set to 1 second.
[0066] Figure 6FIG. 1 is a flow chart of determining a flow matching result according to an exemplary embodiment. In an optional embodiment, Figure 6 As shown, the flow matching result determined based on the acceleration change information and the water flow information includes:
[0067] S601: Based on the acceleration change information, information conversion is performed to obtain an acceleration flow value;
[0068] S603: Calculate the difference between the acceleration flow value and the water flow information to determine the flow matching result.
[0069] In a specific embodiment, the flow meter sensor obtains the water outlet rate of the water outlet in the water outlet component. Further, the water flow sensor can calculate the water flow information based on the obtained water pulse frequency. Specifically, it can be based on the calculation formula: Q w = k*(x*F+y) is calculated, where Q w represents water flow information, x and y are characteristic parameters of the flow meter, and k is the characteristic coefficient of the drinking water control equipment;
[0070] In a specific embodiment, the acceleration sensor obtains acceleration change information within a preset time period to determine the acceleration flow value. Optionally, the preset time period can be a period of time during which the acceleration sensor collects acceleration change information. Specifically, the control unit calculates the acceleration flow value once each time it collects acceleration change information within a preset time period. Specifically, based on the formula: Q a =m*n*(∑a(R / T) / (R / T)*60)+b for calculation. Specifically, the average change of acceleration change information within a preset time period is calculated first, and then the acceleration flow value is determined based on the average change; wherein, Q a represents the acceleration flow value, m represents the matching coefficient between the acceleration sensor and the water flow, n represents the matching coefficient between the water tray and the acceleration sensor, b represents the characteristic parameter of the drinking water control device, R represents the amount of acceleration change information obtained within a preset time period, and T represents the duration of the preset time period.
[0071] Furthermore, when the acceleration flow value and water flow information are obtained, the calculated acceleration flow value and water flow information are difference calculated, and the calculated difference is compared with a preset difference. When the calculated difference is not greater than the preset difference, a matching flow matching result is determined. When the calculated difference is greater than the preset difference, an unmatched flow matching result is determined. Optionally, the preset difference can be the maximum difference between the acceleration flow value and the water flow information.
[0072] In the above embodiment, the acceleration change information is converted, and the difference between the converted acceleration flow value and the water flow information is calculated to determine the flow matching result, and the water outlet process of the drinking water control device is turned on and off based on the flow matching result, thereby improving the rigor of controlling the water outlet process, and further improving the accuracy of controlling the water outlet process.
[0073] Figure 7 is a flow chart of determining the water output process of a drinking water control device based on a flow matching result and a tag existence result according to an exemplary embodiment. Figure 7 As shown, the above determination of the water output process of the drinking water control device based on the flow matching result and the tag existence result includes:
[0074] S701: When the traffic matching result indicates a mismatch, obtaining a label existence result;
[0075] S703: When the label existence result indicates that the water cup label information does not exist, control to close the water output process of the drinking water control device.
[0076] In a specific embodiment, although the water cup is picked up, the drinking water control device is still discharging water. When the placement state of the water cup is invalid and the flow matching result indicates a mismatch, the tag existence result identified by the identification component is obtained. When the tag existence result indicates that the water cup tag information does not exist, it means that the drinking water control device does not contain the water cup in the identification area. Accordingly, the control unit can control the closing of the water discharging process of the drinking water control device and stop the water discharging of the drinking water control device.
[0077] In the above embodiment, the water cup placement status, flow matching result and label existence result are used together to judge the closing of the corresponding water outlet process of the drinking water control device, thereby improving the rigor and accuracy of closing the water outlet process of the drinking water control device.
[0078] Figure 8 is a flow chart of determining an acceleration threshold according to an exemplary embodiment. Figure 8 As shown, the above method may also include:
[0079] S801: Obtaining attribute information corresponding to the water receiving component in the drinking water control device;
[0080] S803: Determine a first acceleration threshold and a second acceleration threshold based on the attribute information.
[0081] In a specific embodiment, the attribute information may include attribute information such as the hardness of the water receiving tray in the water receiving component, the width of the water receiving tray, and the weight of the water receiving component; specifically, the drinking water control device will obtain information such as the hardness of the water receiving tray, the weight of the water receiving component, and the width of the water receiving tray in the factory state before being put into use. Accordingly, based on the aforementioned attribute information, the first acceleration threshold and the second acceleration threshold can be determined. Specifically, in the case of greater hardness, greater weight, and smaller width, it is necessary to set smaller first acceleration threshold and second acceleration threshold. In the case of smaller hardness, smaller weight, and larger width, it is necessary to set larger first acceleration threshold and second acceleration threshold. Optionally, the specific setting of the first acceleration threshold and the second acceleration threshold also needs to be set in combination with user experience. Accordingly, based on the commonly used acceleration thresholds and combined with the attribute information of the water receiving component, the commonly used acceleration thresholds are adjusted to set the first acceleration threshold and the second acceleration threshold in this application.
[0082] In the above embodiment, the first acceleration threshold and the second acceleration threshold are determined based on the attribute information of the water receiving component, thereby improving the comparative accuracy of the first acceleration threshold and the first acceleration change information, the second acceleration threshold and the second acceleration change information, and further improving the accuracy and intelligence of controlling the water outlet process, thereby improving the user experience.
[0083] In a specific embodiment, the control unit of the drinking water control device obtains the water outlet status information corresponding to the drinking water control device and the acceleration change information of the acceleration sensor in the drinking water control device without detecting the control instruction. Furthermore, different acceleration thresholds are determined based on the water outlet status information, and the obtained acceleration change information is compared with the acceleration threshold. The water cup placement status is determined based on the comparison result. When the water cup placement status is valid, the tag existence result corresponding to the water cup tag information is obtained. When the tag existence result indicates that the water cup tag information exists, the water outlet process of the drinking water control device is controlled to be started based on the water cup tag information. When the water cup placement status is invalid and the flow matching result indicates that In the case of mismatch, the tag existence result is obtained; and when the tag existence result indicates that the water cup tag information does not exist, the water outlet process of the drinking water control device is controlled to be closed. An acceleration sensor is set in the drinking water control device, and the placement state of the water cup is determined by comparing the acceleration change information of the acceleration sensor and the acceleration threshold, thereby improving the accuracy of determining the placement state of the water cup. Furthermore, under different water cup placement states, the water outlet process of the drinking water control device is turned on and off by determining the tag existence result of the water cup tag information, and matching the water flow information and the acceleration change information, thereby improving the accuracy and intelligence of controlling the water outlet process, and improving the user experience on the basis of reducing the cost of equipment use.
[0084] Fig. 9 is a schematic diagram of a control device according to an exemplary embodiment, and introduces an embodiment of a control device of the present application, specifically, Fig. 9 As shown, the device comprises:
[0085] An acquisition module 901 is used to acquire water outlet status information corresponding to a drinking water control device and acceleration change information of an acceleration sensor in the drinking water control device;
[0086] A state module 903, used to determine a water cup placement state corresponding to the water cup based on the acceleration change information and the water discharge state information;
[0087] The control module 905 is used to control the water output process of the drinking water control device based on the placement state of the water cup and the label existence result corresponding to the water cup label information.
[0088] In an optional embodiment, the acceleration change information includes first acceleration change information, and the state module 903 includes:
[0089] A first threshold value acquisition unit is used to acquire a first acceleration threshold value corresponding to the first water outlet state information when the water outlet state information indicates that the drinking water control device is not outlet water, wherein the first acceleration threshold value is an acceleration threshold value corresponding to when the water cup is placed on the water receiving assembly;
[0090] The first state determination unit is used to determine that the water cup placement state is valid when the first acceleration change information is not less than the first acceleration threshold.
[0091] In an optional embodiment, the control module 905 includes a first control unit, which is used to:
[0092] When the water cup placement state is valid and the tag existence result indicates that the water cup tag information exists, the water outlet process of the drinking water control device is controlled to be started based on the water cup tag information.
[0093] In an optional embodiment, the acceleration change information includes the second acceleration change information, and the state module 903 further includes:
[0094] a second threshold value obtaining unit, configured to obtain the second acceleration threshold value when the water outlet status information indicates that the drinking water control device is outlet water, the second acceleration threshold value being the acceleration threshold value corresponding to when the water cup leaves the water receiving component;
[0095] The second state determining unit is used to determine that the placement state of the water cup is invalid when the second acceleration change information is not less than the second acceleration threshold.
[0096] In an optional embodiment, the control module 905 further includes:
[0097] A water flow acquisition unit, used for acquiring water flow information of a water flow sensor in the drinking water control device when the placement state of the water cup is invalid;
[0098] A flow matching unit, configured to determine a flow matching result based on the acceleration change information and the water flow information;
[0099] The second control unit is used to determine the water output process of the drinking water control device based on the flow matching result and the tag existence result.
[0100] In an optional embodiment, the above-mentioned traffic matching unit includes:
[0101] A conversion subunit, used to perform information conversion based on the acceleration change information to obtain an acceleration flow value;
[0102] The matching subunit is used to perform difference calculation on the acceleration flow value and the water flow information to determine the flow matching result.
[0103] In an optional embodiment, the second control unit includes:
[0104] a label acquisition subunit, configured to acquire the label existence result when the traffic matching result indicates a mismatch;
[0105] The closing subunit is used to control and close the water outlet process of the drinking water control device when the label existence result indicates that the water cup label information does not exist.
[0106] In an optional embodiment, the above device further includes:
[0107] An attribute acquisition unit, used to acquire attribute information corresponding to the water receiving component in the drinking water control device;
[0108] A threshold determination unit is used to determine the first acceleration threshold and the second acceleration threshold based on the attribute information.
[0109] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0110] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the drinking water control method as in the embodiment of the present disclosure.
[0111] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the drinking water control method in the embodiment of the present disclosure.
[0112] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the drinking water control method provided in the above various optional implementations.
[0113] It is understandable that in the specific implementation of this application, user-related data is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0114] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0115] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0116] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A drinking water control method, characterized in that: The method comprises: Acquire water outlet status information corresponding to the drinking water control device and acceleration change information of an acceleration sensor in the drinking water control device; Determining a water cup placement state corresponding to the water cup based on the acceleration change information and the water discharge state information; Based on the placement state of the water cup and the label existence result corresponding to the water cup label information, the water output process of the drinking water control device is controlled.
2. The method according to claim 1, characterized in that: The acceleration change information includes first acceleration change information, and determining the water cup placement state corresponding to the water cup in the drinking water control device based on the acceleration change information and the water outlet state information includes: When the water outlet status information indicates that the drinking water control device does not outlet water, obtaining a first acceleration threshold corresponding to the first water outlet status information, the first acceleration threshold being an acceleration threshold corresponding to when the water cup is placed on the water receiving component in the drinking water control device; When the first acceleration change information is not less than the first acceleration threshold, it is determined that the water cup placement state is valid.
3. The method according to claim 2, characterized in that The controlling of the water output process of the drinking water control device based on the placement state of the water cup and the label existence result corresponding to the label information of the water cup includes: When the water cup placement state is valid and the tag existence result indicates that the water cup tag information exists, the water outlet process of the drinking water control device is controlled to be started based on the water cup tag information.
4. The method according to claim 1, characterized in that The acceleration change information includes second acceleration change information; and determining the water cup placement state corresponding to the water cup in the drinking water control device based on the acceleration change information and the water outlet state information includes: When the water outlet status information indicates that the drinking water control device is outlet water, obtaining a second acceleration threshold, where the second acceleration threshold is an acceleration threshold corresponding to when the water cup leaves the water receiving component in the drinking water control device; When the second acceleration change information is not less than the second acceleration threshold, it is determined that the water cup placement state is invalid.
5. The method according to claim 4, characterized in that The process of controlling the water output of the drinking water control device based on the placement state of the water cup and the label existence result corresponding to the label information of the water cup further includes: When the placement state of the water cup is invalid, obtaining water flow information of a water flow sensor in the drinking water control device; Determine a flow matching result based on the acceleration change information and the water flow information; Based on the flow matching result and the tag existence result, the water output process of the drinking water control device is determined.
6. The method according to claim 5, characterized in that The determining of the flow matching result based on the acceleration change information and the water flow information comprises: Based on the acceleration change information, information conversion is performed to obtain an acceleration flow value; The acceleration flow value and the water flow information are subjected to difference calculation to determine the flow matching result.
7. The method according to claim 5, characterized in that The determining of the water output process of the drinking water control device based on the flow matching result and the tag existence result includes: When the traffic matching result indicates a mismatch, obtaining the label existence result; When the label existence result indicates that the water cup label information does not exist, the water outlet process of the drinking water control device is controlled to be closed.
8. The method according to claim 1, characterized in that The method further comprises: Obtaining attribute information corresponding to the water receiving component in the drinking water control device; Based on the attribute information, a first acceleration threshold and a second acceleration threshold are determined.
9. A drinking water control device, characterized in that: The device comprises: An acquisition module, used to acquire water outlet status information corresponding to a drinking water control device and acceleration change information of an acceleration sensor in the drinking water control device; A state module, used for determining a water cup placement state corresponding to the water cup based on the acceleration change information and the water discharge state information; The control module is used to control the water output process of the drinking water control device based on the placement state of the water cup and the label existence result corresponding to the water cup label information.
10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the drinking water control method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Water-cup automatic water receiving device
CN107224208A
Automatic water outgoing and stopping control method and system for intelligent water drinking machine
CN110448175A
Drinkware and plateware and active temperature control module for same
US9801482B1
