Water supply method of water drinking device and water drinking device
Patent Information
- Application Number
- CN202510442929.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2026-10-16
AI Technical Summary
如此一来,在用水人数众多的公共场景,或者同一时刻有大量用户需要取水的情况下,每个用户的取水前的操作时间叠加,会使得每个用户的等待时间延长,导致用水体验下降
[0010]The control method for drinking water equipment provided in this invention identifies a target user and their corresponding current water usage strategy; controls the drinking water equipment to supply water to the target user based on the current water usage strategy, and obtains the target user's actual water usage parameters; determines optimized water usage parameters based on the actual water usage parameters and the ideal water usage parameters corresponding to the current water usage strategy; and inputs the optimized water usage parameters into a preset first preset model to obtain the next water usage strategy corresponding to the target user, so that the drinking water equipment can be controlled to operate based on the next water usage strategy. In the above technical solution, on the one hand, identifying the target user and their corresponding current water usage strategy, and supplying water to the target user based on the current water usage strategy, can achieve automatic water supply to the user, reducing the need for the user to perform tedious and complex water fetching operations before each water use. On the other hand, inputting the optimized water usage parameters into a preset first preset model to obtain the next water usage strategy corresponding to the target user solves the problem that current drinking water equipment cannot automatically provide water that meets the user's needs based on the user's actual water usage and water usage habits each time. This achieves automatic provision of drinking water to the target user based on the next water usage strategy, reducing the need for the user to perform complex and numerous operations each time water is used, and improving the convenience and user experience of water use. Furthermore, the automatic adjustment of water usage strategies based on ideal and actual water usage conditions ensures that the provided strategies continuously approximate the user's actual water usage, thereby reducing the number of actions required by the user each time they need to collect water due to unsuitable water usage strategies. Simultaneously, the water dispenser's operation, controlled by the next water usage strategy, can pre-prepare the necessary drinking water for the user, reducing the time spent collecting water and improving the user's quality of life when using water.
Smart Images

Figure CN122911297A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of home appliance control technology, and in particular to a water supply method and a drinking water device. Background Technology
[0002] Drinking water equipment, as a commonly used electrical appliance, plays a very important role in people's work and life.
[0003] Currently, to improve people's drinking water experience, increasingly more intelligent drinking water devices are being developed. These devices primarily offer features such as automatic water dispensing, voice control, one-button temperature adjustment, anti-dry-burning protection, and mobile phone remote control. However, users still need to perform numerous operations before each use to ensure the device provides water that meets their needs. In public spaces with many users, or when a large number of users need to collect water simultaneously, the cumulative operation time for each user before dispensing water increases waiting time for everyone, leading to a decline in the overall user experience. Summary of the Invention
[0004] This invention provides a water supply method and a drinking water device, which automatically provides drinking water to the target user based on the next water use strategy, reducing the complex and numerous operations that users need to perform each time they use water, and improving the convenience and user experience of water use.
[0005] According to one aspect of the present invention, a method for supplying water to a drinking water device is provided, the method comprising:
[0006] Determine the target user and its corresponding current water use strategy. Each water use strategy corresponds to a set of ideal water use parameters. The current water use strategy is the equipment control strategy generated by the water supply equipment for the target user at the previous moment to provide water that meets the corresponding ideal water use parameters.
[0007] Based on the current water usage strategy, control the drinking water equipment to supply water to the target user and obtain the target user's actual water usage parameters;
[0008] Determine the optimal water use parameters based on the actual water use parameters and the ideal water use parameters corresponding to the current water use strategy;
[0009] The optimized water usage parameters are input into the first preset model to obtain the next water usage strategy corresponding to the target user, so that the drinking water equipment can control the operation of the drinking water equipment based on the next water usage strategy.
[0010] The control method for drinking water equipment provided in this invention identifies a target user and their corresponding current water usage strategy; controls the drinking water equipment to supply water to the target user based on the current water usage strategy, and obtains the target user's actual water usage parameters; determines optimized water usage parameters based on the actual water usage parameters and the ideal water usage parameters corresponding to the current water usage strategy; and inputs the optimized water usage parameters into a preset first preset model to obtain the next water usage strategy corresponding to the target user, so that the drinking water equipment can be controlled to operate based on the next water usage strategy. In the above technical solution, on the one hand, identifying the target user and their corresponding current water usage strategy, and supplying water to the target user based on the current water usage strategy, can achieve automatic water supply to the user, reducing the need for the user to perform tedious and complex water fetching operations before each water use. On the other hand, inputting the optimized water usage parameters into a preset first preset model to obtain the next water usage strategy corresponding to the target user solves the problem that current drinking water equipment cannot automatically provide water that meets the user's needs based on the user's actual water usage and water usage habits each time. This achieves automatic provision of drinking water to the target user based on the next water usage strategy, reducing the need for the user to perform complex and numerous operations each time water is used, and improving the convenience and user experience of water use. Furthermore, the automatic adjustment of water usage strategies based on ideal and actual water usage conditions ensures that the provided strategies continuously approximate the user's actual water usage, thereby reducing the number of actions required by the user each time they need to collect water due to unsuitable water usage strategies. Simultaneously, the water dispenser's operation, controlled by the next water usage strategy, can pre-prepare the necessary drinking water for the user, reducing the time spent collecting water and improving the user's quality of life when using water.
[0011] According to another aspect of the present invention, a control device for a drinking water device is provided, the device comprising:
[0012] The determination module is used to determine the target user and its corresponding current water use strategy. Each water use strategy corresponds to a set of ideal water use parameters. The current water use strategy is the equipment control strategy generated by the water supply equipment for the target user at the previous moment to provide water that meets the corresponding ideal water use parameters.
[0013] The water supply module is used to control the drinking water equipment to supply water to the target user based on the current water use strategy, and to obtain the actual water use parameters of the target user.
[0014] The calculation module is used to determine the optimal water use parameters based on the actual water use parameters and the ideal water use parameters corresponding to the current water use strategy.
[0015] The control module is used to input optimized water usage parameters into a preset first preset model to obtain the next water usage strategy corresponding to the target user, so that the drinking water equipment can control the operation of the drinking water equipment based on the next water usage strategy.
[0016] According to another aspect of the present invention, a drinking water device is provided, the drinking water device comprising:
[0017] At least one processor; and
[0018] A memory that is communicatively connected to at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the control method of the drinking water device according to any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute a control method for a drinking water device according to any embodiment of the present invention.
[0021] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements a control method for a drinking water device according to any embodiment of the present invention.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 A schematic flowchart illustrating a control method for a drinking water device provided in an embodiment of the present invention;
[0025] Figure 2 A schematic flowchart illustrating another control method for a drinking water device provided in an embodiment of the present invention;
[0026] Figure 3 An example diagram of the water circuit unit of the drinking water equipment provided in an embodiment of the present invention;
[0027] Figure 4 This is a schematic diagram of the structure of the control device for the drinking water equipment provided in an embodiment of the present invention;
[0028] Figure 5 This is a schematic diagram of the structure of a drinking water device provided in an embodiment of the present invention. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "ideal," "actual," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0031] Figure 1 This is a flowchart illustrating a control method for a drinking water device according to an embodiment of the present invention. This embodiment is applicable to situations where water is automatically supplied to a target user. The method can be executed by a control device for the drinking water device, which can be implemented in hardware and / or software and can be configured within the drinking water device. In this embodiment, the drinking water device can be presented in the form of an electronic device. For example, the drinking water device in this embodiment can be a water dispenser or a tea bar machine, etc., used to provide drinking water to users.
[0032] like Figure 1 As shown, the method includes:
[0033] S101. Determine the target user and its corresponding current water usage policy.
[0034] In this system, each water usage strategy corresponds to a set of ideal water usage parameters. The current water usage strategy is a device control strategy generated by the water dispenser at the previous moment for the target user, designed to provide water that meets the corresponding ideal water usage parameters. The target user is the user who is preparing to use the water dispenser or is currently using the water dispenser.
[0035] Specifically, whether it's a drinking water system used in a home or in a public area, information can be entered for each user upon their first use. This allows the system to generate a "profile" for each user, recording the control strategy for operating and supplying water that aligns with their ideal water usage parameters. Furthermore, this strategy can be continuously optimized based on each user's actual water usage. Therefore, when a target user is preparing to use the system or is currently using it, the system can identify the target user and their corresponding current water usage strategy.
[0036] S102. Control the drinking water equipment to supply water to the target user based on the current water use strategy, and obtain the actual water use parameters of the target user.
[0037] Among them, the actual water usage parameters indicate the actual water usage of the target user using the drinking water equipment at the current moment.
[0038] For example, a water usage strategy may include several aspects, such as preparing water for the target user, the water supply volume for the target user, the water supply temperature, and special water supply. Special water supply may involve providing users with special drinking water, such as functional drinking water (e.g., selenium-enriched water, weakly alkaline water), or specialty drinking water (e.g., glacial water, nano-filtered water, high-purity water). Water usage parameters may include water consumption, water temperature, water flow rate, ambient light intensity, and water quality parameters.
[0039] Specifically, after identifying the target user and their corresponding current water usage strategy, the water dispenser can be directly controlled to supply water to the target user based on the current water usage strategy. However, in actual water supply, various factors may cause the target user to not fully comply with the automatic water supply settings of the dispenser. For example, the water usage strategy may specify 80℃ hot water, but the user may send a command to the dispenser requesting 70℃ hot water before the automatic water supply begins. Therefore, it is necessary to obtain the target user's actual water usage information each time they use the dispenser.
[0040] In this embodiment, identifying the target user and their corresponding current water usage strategy, and supplying water to the target user based on the current water usage strategy, enables automatic water supply to the user, reducing the need for the user to perform tedious and complex water fetching operations before each water usage. Furthermore, during the target user's water fetching process, the actual water usage parameters of the target user are acquired, providing a reference for subsequently optimizing the target user's corresponding water usage strategy based on these parameters.
[0041] S103. Determine the optimized water use parameters based on the actual water use parameters and the ideal water use parameters corresponding to the current water use strategy.
[0042] Among them, the ideal water usage parameters correspond to the water usage strategy and indicate the user's water usage under ideal conditions. The optimized water usage parameters are the optimized water usage parameters.
[0043] Specifically, based on actual and ideal water usage parameters, the gap between the target user's actual water usage and the ideal water usage generated by the water supply equipment can be determined. Based on this gap, the target user's level of attention to each sub-parameter of the water usage parameters and the deviation between the actual and ideal parameters can be determined.
[0044] For example, continuing the above example, the water usage strategy provides the user with 80℃ hot water, but the user sends a command to the water dispenser requesting 70℃ hot water before the automatic water supply. Then, based on the actual water temperature of -70℃ and the ideal water temperature of -80℃, it can be determined that the user is highly concerned about the water temperature, and the deviation between the ideal and actual temperature is approximately 10℃.
[0045] In this embodiment, based on the actual water usage parameters and the ideal water usage parameters corresponding to the current water usage strategy, optimized water usage parameters that reflect the user's attention to water usage parameters and the deviation between the actual and ideal conditions are determined. This can provide a data basis for optimizing the next water usage strategy generated for the target user.
[0046] S104. Input the optimized water usage parameters into the preset first preset model to obtain the next water usage strategy corresponding to the target user, so that the drinking water equipment can control the operation of the drinking water equipment based on the next water usage strategy.
[0047] The original model of the first preset model can be a recurrent neural network model. The input of the first preset model is water use parameters, and the output is a water use strategy. Optionally, each sub-parameter in the water use parameters corresponds to a parameter weight. Each time the water use parameters are input to the first preset model, the first preset model will process each sub-parameter in the water use parameters and its corresponding parameter weight, and finally output a water use strategy.
[0048] Specifically, the optimized water usage parameters include each optimized water usage sub-parameter and the optimized parameter weights corresponding to each sub-parameter. These optimized water usage parameters are input into a first preset model, which can then output the next water usage strategy for the target user. In this way, the drinking water equipment can operate according to the next water usage strategy for the target user and supply water to that user.
[0049] For example, after obtaining the next water usage strategy, it can be determined that the target user will use the water dispenser to obtain water at the next specified time. Thus, the water dispenser can prepare the water needed by the target user in advance based on the next water usage strategy before the next specified time arrives, and supply the water to the target user at the next specified time. For instance, if the next water usage strategy is 10:00 AM, and the ideal water usage parameters corresponding to this strategy indicate that the target user will use 1 liter of water at 70°C at 12:00 PM, then according to the next water usage strategy, the water dispenser will prepare water for the target user around 11:50 AM.
[0050] In this embodiment, optimized water usage parameters are input into a preset first model to obtain the next water usage strategy corresponding to the target user. This solves the problem that current water dispensers cannot automatically provide water that meets the user's needs based on their actual water usage and habits each time. It enables automatic provision of drinking water to the target user based on the next water usage strategy, reducing the complex and numerous operations required by the user each time they use water, and improving the convenience and user experience. Furthermore, the automatic correction of the water usage strategy based on ideal and actual water usage conditions ensures that the provided strategy continuously approximates the user's actual water usage, further reducing the operations required by the user each time they collect water due to the water usage strategy not meeting their needs. Simultaneously, the water dispenser's operation is controlled based on the next water usage strategy, allowing it to prepare the required drinking water in advance, reducing the time spent by the user when collecting water, and improving the user's quality of life when using water.
[0051] The water dispensing equipment control method provided in this invention identifies a target user and their corresponding current water usage strategy; controls the water dispensing equipment to supply water to the target user based on the current water usage strategy, and obtains the target user's actual water usage parameters; determines optimized water usage parameters based on the actual water usage parameters and the ideal water usage parameters corresponding to the current water usage strategy; and inputs the optimized water usage parameters into a preset first preset model to obtain the next water usage strategy corresponding to the target user, so that the water dispensing equipment can be controlled to operate based on the next water usage strategy. In the above technical solution, on the one hand, identifying the target user and their corresponding current water usage strategy, and supplying water to the target user based on the current water usage strategy, can achieve automatic water supply to the user, reducing the need for the user to perform tedious and complex water fetching operations before each water use. Furthermore, during the target user's water fetching process, obtaining the target user's actual water usage parameters provides a reference for subsequently optimizing the target user's corresponding water usage strategy based on the actual water usage parameters. On the other hand, determining optimized water usage parameters based on the actual water usage parameters and the ideal water usage parameters corresponding to the current water usage strategy, which reflects the user's level of attention to water usage parameters and the deviation between the actual and ideal conditions, can provide a data foundation for subsequently optimizing the next water usage strategy generated for the target user. Finally, the optimized water usage parameters are input into a preset first model to obtain the next water usage strategy for the target user. This solves the problem that current water dispensers cannot automatically provide water that meets the user's needs based on their actual water usage and habits each time. It enables automatic provision of drinking water to the target user based on the next water usage strategy, reducing the complex and numerous operations required by the user each time they use water, and improving the convenience and user experience. Furthermore, the automatic correction of the water usage strategy based on ideal and actual water usage conditions ensures that the provided strategy continuously approximates the user's actual water usage, further reducing the operations required by the user each time they fill the water dispenser due to the strategy not meeting their needs. Simultaneously, controlling the operation of the water dispenser based on the next water usage strategy also allows for the pre-preparation of drinking water for the user, reducing the time spent fetching water and improving the user's quality of life when using water.
[0052] Figure 2 This is a flowchart illustrating another method for controlling a drinking water device according to an embodiment of the present invention. Based on the above embodiments and other examples, this embodiment specifically describes the method for controlling a drinking water device.
[0053] First, let's briefly introduce the drinking water equipment. In this embodiment, the drinking water equipment can be a water dispenser, tea bar machine, or other device used to provide drinking water to users. Specifically, a drinking water equipment may include a control and management unit and a water circuit unit. The control and management unit includes: a power management module for providing electrical energy to the entire drinking water equipment; an execution and control module equipped with the control device for controlling the operation of the drinking water equipment; and a communication module for establishing communication connections between the cloud storage, application program, user interface, and execution and control module. The water circuit unit includes: a water supply circuit for the drinking water equipment and sensor components. Figure 3 This is an example diagram of the water circuit unit of a drinking water device provided in an embodiment of the present invention. Figure 3 As shown, the water supply system of the drinking water equipment starts from the pumping point, passes through a single-inlet, multi-outlet silicone tube, branches into multiple paths, and finally reaches different faucets. Near each faucet in each path, sensor components such as temperature sensors, flow sensors, and water quality sensors are installed to detect water usage parameters. An ambient light sensor is also installed between each path to detect the current environment and time. A water pump is installed between each faucet and the single-inlet, multi-outlet silicone tube to draw water from the pumping point and supply it to the user.
[0054] Based on the aforementioned drinking water equipment, multiple sensors at different faucets can collect actual water usage parameters from users and directly feed them back to the execution and control module. The control device of the drinking water equipment then automatically generates a water usage strategy for the user based on the method provided in the above embodiments. Furthermore, feeding back the water usage information entered by the user from the communication module to the execution and control module also provides a basis for ultimately generating the user's corresponding water usage strategy.
[0055] Continue to refer to Figure 2 ,like Figure 2 As shown, the method includes:
[0056] S201. Collect biometric information based on the user identification device, and determine the target user based on the biometric information and the pre-entered user information.
[0057] The drinking water equipment is equipped with a user identification device. Biometric information refers to various types of information that can identify a specific natural person, either alone or in combination with other information, or reflect the activities of a specific natural person. In this embodiment, biometric information may include fingerprint information, facial recognition information, iris recognition information, and voiceprint recognition information, etc.
[0058] Specifically, if the drinking water equipment has a user identification device, such as a fingerprint recognition device, voice device, or camera, that can be used to identify the current user's identity information, then when the user uses it for the first time, the user's biometric information can be recorded. Based on the user information recorded by the user from the user interface or application, a "profile" for the user can be created and stored in cloud storage. Therefore, when a user with a pre-existing profile prepares to use the drinking water equipment, biometric information can be collected based on the user identification device, and the target user can be identified by comparing the biometric information with the user information of multiple users.
[0059] S202. Obtain the current water usage policy corresponding to the target user.
[0060] The water usage strategy includes heating time, heating temperature, water storage capacity, water pump power, and valve opening degree.
[0061] Specifically, after identifying the target user, the current water usage policy corresponding to the target user can be obtained directly from the cloud storage server based on the pre-stored data of each user and their corresponding current water usage policy.
[0062] S203. Determine the current water usage policy from multiple pre-stored water usage policies based on the current time and / or user instructions triggered by the target user.
[0063] Among them, user instructions are instructions generated after the user operates based on the user interface of the drinking water device.
[0064] Specifically, if the user directly uses the user interface on the water dispenser to perform related operations, the closest current water usage strategy can be matched based on the user's current operation time and specific operation command. If the user does not perform any operation, the closest current water usage strategy can be matched based on the current time.
[0065] For example, a user's operation on the user interface is as follows: At 10:15, the user wakes up the water dispenser and presses the button to obtain selenium-enriched water. User A's current water usage strategy is: at 10:00, user A receives 50 ml of water at a temperature of 30°C, and the water is boiled water. User B's current water usage strategy is: at 10:25, user B receives 30 ml of water at a temperature of 70°C, and the water is selenium-enriched. User C's current water usage strategy is: at 10:13, user C receives 60 ml of water at a temperature of 38°C, and the water is selenium-enriched. At this point, as can be seen from the above, the user's command best matches user C's current water usage strategy compared to the other current water usage strategies.
[0066] In one alternative approach, if the user instruction triggered by the target user is a command initiated by the user to the water dispenser via an application, the water dispenser can determine the target user and its corresponding current water usage policy based on the user's login information in the application, the user's pre-entered water usage habits, and multiple water usage policies and user information pre-stored in the cloud. That is, since the user needs to log in to the application before using it, the user's operation initiated based on the application can determine the specific target user based on the user identifier carried in the user instruction triggered by the target user at the current time, and thus determine the current water usage policy corresponding to the target user.
[0067] S204. Determine the target user corresponding to the current water usage strategy.
[0068] For example, continuing from the above example, since the user currently in operation has a user instruction that best matches user C's current water usage policy compared to other current water usage policies, it can be determined that the user currently in operation is user C.
[0069] Optionally, if the user has not performed any action, the target user can be determined directly based on the trigger time of each current water usage policy. For example, when it is about to reach 10:00, the target user is determined to be user A. When it is about to reach 10:13, the target user is determined to be user C. When it is about to reach 10:25, the target user is determined to be user B.
[0070] In this embodiment, determining the target user and their corresponding current water usage strategy for the water dispenser is divided into two scenarios. In one scenario, the water dispenser is equipped with a user identification device. In this case, the target user can be accurately identified directly based on the user identification device, their corresponding current water usage strategy can be determined, and water can be supplied to the target user. In this scenario, the water dispenser can accurately identify the user requiring water and their corresponding water usage strategy. In the other scenario, the water dispenser is not equipped with a user identification device. In this case, based on the current time and / or the user's triggered command, and the current water usage strategy corresponding to each user, the current water usage strategy most similar to the current time and / or the user's command, along with its corresponding user, can be matched as the target user, and water can be supplied to the target user. In this scenario, although there is no user identification device, the target user can be matched directly based on the user's different operations and / or the current time, achieving the determination of the target user and their corresponding current water usage strategy even without a user identification device.
[0071] It is worth noting that S201-S202 and S203 are parallel solutions. In the specific implementation process, the corresponding steps can be determined according to whether the drinking water equipment is equipped with a user identification device.
[0072] Optionally, if the target user is using the drinking water equipment for the first time, the current water usage strategy is to input the water usage preference information entered by the target user into a preset second preset model, and then input the initial water usage parameters output by the second preset model into the first preset model for determination.
[0073] The first preset model is a recurrent neural network (RNN) model, and the second preset model is an ensemble learning model. Optionally, the first preset model can be a recurrent neural network (RNN), a long short-term memory network (LSTM), a gated recurrent unit (GRU), etc. Optionally, the second preset model can be a gradient boosting tree (GBT), a random forest (RF), an adaptive boosting tree (AdaBoost), etc.
[0074] Specifically, when a user uses the water dispenser for the first time, they can enter their user information and water usage habits through an application or the water dispenser's control panel. After the user enters this information, the water dispenser inputs it into a second preset model. The second preset model can then model the user's water usage habits based on the entered information and generate initial water usage parameters for that user. Furthermore, after obtaining the initial water usage parameters, inputting them into a first preset model can generate the user's current water usage strategy.
[0075] S205. Determine the valve control parameters based on the first sub-strategy in the current water use strategy and the pre-set first function.
[0076] The first sub-strategy indicates the relevant strategy for supplying water to users. The first function indicates the correlation between valve opening and water temperature. Valve control parameters indicate the valve opening status that needs to be controlled.
[0077] Specifically, a valve refers to a faucet in a drinking water system. Generally, drinking water systems include hot water faucets and cold water faucets. When supplying water to a user, both the hot water valve and the cold water valve need to be opened simultaneously to provide the user with water at the required temperature and volume. Therefore, to ensure that the user receives water at the required temperature and volume after the two valves are mixed, it is necessary to determine the functional relationship between the opening degree of each valve and the temperature, volume, etc., i.e., the first function. Based on the first function and the temperature and volume values required by the user in the first sub-strategy, the opening parameters for controlling the valve opening can be calculated, i.e., the valve control parameters.
[0078] S206. Control the drinking water equipment to supply water to the target user according to the valve control parameters.
[0079] Specifically, after obtaining the valve control parameters, the valve opening of the drinking water equipment can be controlled according to the valve control parameters to supply water to the target user.
[0080] In this embodiment, after obtaining the current water usage strategy, it is necessary to calculate the parameters for controlling the opening degree of the water supply valve, i.e., the valve control parameters, based on the first sub-strategy and the first function, and then control the drinking water equipment according to the valve control parameters. This achieves accurate and automatic water supply to the target user based on their required water temperature and volume.
[0081] S207. Obtain the actual water usage parameters of the target user.
[0082] Specifically, the actual water usage parameters of the target user can be determined directly based on the sensor components of the drinking water equipment. For example, based on a water temperature sensor, the water temperature at the time the target user last took water can be determined; based on a flow sensor, the total water volume at the time the target user last took water can be determined; and based on a water quality sensor, the water quality at the time the target user last took water can be determined.
[0083] S208. Determine the parameter deviation value based on the actual water usage parameters and the ideal water usage parameters.
[0084] Specifically, based on the actual water usage parameters and the ideal water usage parameters, the deviation value of each sub-parameter in the water usage parameters can be determined. For example, the deviation value of the water temperature parameter is obtained by subtracting the actual water temperature parameter from the ideal water temperature parameter in the actual water usage parameters; the deviation value of the water volume parameter is obtained by subtracting the actual water volume parameter from the ideal water volume parameter in the actual water usage parameters.
[0085] S209. Determine the reward parameters based on the parameter deviation values, and determine the optimized water use parameters based on the reward parameters.
[0086] Specifically, the reward parameters are determined based on the parameter deviation values, and can be calculated using the following formula:
[0087] R = -|dv|;
[0088] Where R is the reward parameter and dv is the parameter deviation value.
[0089] Optionally, since water usage parameters include multiple sub-parameters in actual situations, such as temperature parameters, water volume parameters, and heating time parameters, a corresponding weight can be generated for each sub-parameter in advance based on the user's water usage habits. After determining the parameter deviation value of each sub-parameter, the reward parameter is calculated according to the following formula.
[0090] R F = -α|dv1|-β|dv2|-...;
[0091] Among them, R FThese are the reward parameters calculated under actual conditions. α and β are the weights corresponding to the parameter deviation values of different sub-parameters. dv1 and dv2 are the parameter deviation values corresponding to different sub-parameters. ... is used to indicate that there may be multiple parameter deviation values and their corresponding weights in the future.
[0092] And, specifically, after determining the reward parameters, the optimized water use parameters can be determined by following these steps:
[0093] (a) Obtain the pre-set learning rate parameters and discount factor.
[0094] Specifically, before calculating the optimal water use parameters, it is necessary to obtain the learning rate parameter and the discount factor.
[0095] (ii) Determine the optimal water use parameters based on actual water use parameters, ideal water use parameters, reward parameters, learning rate parameters, and discount factors.
[0096] Specifically, the optimized water use parameters can be determined using the following formula:
[0097] Q(s,a)=Q(s,a)+ε[R+γmax a′ Q(s′,a′)-Q(s,a)];
[0098] Where 's' represents the difference between the ideal water usage parameters and the actual water usage parameters, for example: S = [ideal water temperature - actual water temperature, ideal water volume - actual water volume, ...]. 'a' represents the hypothetical adjustments made to the drinking water equipment to optimize the water usage parameters, such as adjusting the water temperature, controlling the valve opening to change the water volume, or starting the water purification equipment. 's' represents the difference between the newly obtained ideal water usage parameters and the "actual" water usage parameters after performing action 'a'. Here, "actual" refers to the water usage parameters that the drinking water equipment might output after hypothetically adjusting according to method 'a'. 'a' represents other hypothetical adjustments to the drinking water equipment besides 'a'. a′ Q(s′,a′) represents the value of Q(s′,a′) that maximizes the sum of all possible actions a' given a new s′. ε is the learning rate parameter, and γ is the discount factor.
[0099] The specific calculation method is as follows: In the initial calculation, s is calculated based on the ideal water usage parameters and the actual water usage parameters. An action a is randomly selected. After executing action a, new "actual" water usage parameters and s' are obtained, and R is determined again based on the new "actual" water usage parameters and the ideal water usage parameters. For the new s', all possible actions a' are iterated to find the maximum value of Q(s′,a′). a′ Q(s′,a′). Finally, s, a, R, s', max a′Substituting Q(s′,a′) along with ε and γ into the formula, Q(s,a) is continuously updated until it converges. The converged Q(s,a) is the optimized water use parameter.
[0100] S210. Input the optimized water usage parameters into the preset first preset model to obtain the next water usage strategy corresponding to the target user, so that the drinking water equipment can determine the compressor control parameters according to the second sub-strategy in the next water usage strategy and the preset second function.
[0101] The second sub-strategy indicates the relevant strategies for controlling the operation of the water dispenser. The second function indicates the correlation between compressor power and cooling effect. Compressor control parameters indicate the conditions under which compressor power needs to be controlled.
[0102] Specifically, the optimized water usage parameters are concatenated or weighted and summed with the current water usage parameters, and then input into the first preset model. The first preset model will output the next water usage strategy corresponding to the target user. At this time, the water dispenser can determine when to control the water dispenser to make it operate based on the second sub-strategy in the next water usage strategy. For example, if the user needs cold water at 10:00, the water dispenser can be controlled to cool at 9:50 according to the second sub-strategy. Furthermore, to ensure that the cooling effect reaches the user's desired cold water temperature, the power control parameters for controlling the compressor's operating power, i.e., the compressor control parameters, can be calculated based on the second function and the desired cooling temperature value in the second sub-strategy.
[0103] S211. Control the operation of the compressor of the water dispenser according to the compressor control parameters.
[0104] Specifically, after obtaining the compressor control parameters, the working power of the water dispenser's compressor can be controlled according to the compressor control parameters in order to prepare the required drinking water for the target user in advance.
[0105] In this embodiment, after the next water usage strategy is updated and obtained, the compressor control parameters for controlling the compressor's operating power can be calculated based on the second sub-strategy and the second function in the next water usage strategy. The compressor is then controlled to operate according to the compressor control parameters, thereby achieving advance control of the compressor. Based on the advance control of the water supply equipment, the water needed by the user can be prepared in advance, ensuring that the user can use water resources as soon as possible and improving the user's water usage experience.
[0106] Optionally, based on the current water usage strategy, water can be prepared for users in advance of their expected water usage time. For example, water dispensers may prepare water for users in advance during peak water usage periods in the morning and after lunch, which are likely to be peak times in an office environment.
[0107] Furthermore, during periods when users do not require water, i.e., the off-peak hours of the water dispenser, the system can be controlled to enter energy-saving mode. Further, by analyzing user activity levels and peak / off-peak electricity consumption periods, the water dispenser can develop an optimal heating plan to reduce energy consumption. For example, it can reduce heating frequency during off-peak hours or automatically enter a low-power mode at night. Alternatively, based on the power company's time-of-use pricing policy, the system can choose to preheat during periods of lower electricity prices, further saving costs.
[0108] Optionally, the drinking water equipment can also perform anomaly detection and handling. For example:
[0109] Threshold Setting: Threshold ranges for several key parameters are preset, such as water usage frequency, average water consumption, and temperature preference. Once a parameter is detected to exceed the normal range, the water dispenser will trigger an alarm. Pattern Matching: By comparing with known abnormal patterns, the water dispenser can quickly identify potential problems. For example, if there is a sudden surge in water usage or unusual water dispensing times, the water dispenser will mark it as abnormal behavior. Immediate Response: When abnormal behavior is detected, the water dispenser will immediately take appropriate measures, such as suspending water supply or sending a notification to the user to confirm whether there was a misoperation or other problem. Recording and Analysis: All abnormal situations will be recorded in detail for subsequent analysis. By analyzing abnormal data, the water dispenser can continuously optimize its detection mechanism and improve accuracy.
[0110] Optionally, the drinking water equipment can also be improved directly based on user feedback, for example:
[0111] Feedback Collection: The drinking water system provides a convenient channel for users to directly evaluate the water supply quality and service experience. User feedback serves as an important data source, helping to further optimize the algorithm. Problem Reporting: Users can submit problem reports through the application and user interface, detailing any issues encountered or providing suggestions. The drinking water system will make targeted improvements based on these issues to ensure service quality. Automatic Adjustment: Based on user feedback and new data, the model is regularly updated to ensure it consistently maintains high predictive accuracy and service quality.
[0112] Alternatively, in order to ensure that the water use strategy provided by the water dispenser is more accurate, the user's water use habits can be monitored only when the user first uses the water dispenser, and then the water use strategy can be provided to the user after a sufficient sample has been accumulated.
[0113] Optionally, in addition to the water temperature, water consumption, and other parameters mentioned above, the drinking water equipment may also use water quality sensors to monitor parameters such as water hardness and pH value. Furthermore, microbial sensors can be added to monitor the bacterial and viral content in the water. The drinking water equipment can employ anomaly detection algorithms, such as decision trees or One-Class SVM, to identify abnormal situations and alert users whether to replace the filter or check the water quality.
[0114] The control method for a drinking water device provided in this invention addresses two scenarios for determining the target user and their corresponding current water usage strategy. In one scenario, the drinking water device is equipped with a user identification device. In this case, the target user can be accurately identified directly based on the user identification device, their corresponding current water usage strategy can be determined, and water can be supplied to the target user. In this scenario, the drinking water device can accurately identify the user requiring water and their corresponding water usage strategy. In the other scenario, the drinking water device is not equipped with a user identification device. In this case, based on the current time and / or the user's triggered command, and the current water usage strategy corresponding to each user, the current water usage strategy most similar to the current time and / or the user's command, along with its corresponding user, can be matched as the target user, and water can be supplied to the target user. In this scenario, although there is no user identification device, the target user can be matched directly based on the user's different operations and / or the current time, achieving the determination of the target user and their corresponding current water usage strategy even without a user identification device. Furthermore, after obtaining the current water usage strategy, the parameters for controlling the opening degree of the water supply valve, i.e., the valve control parameters, need to be calculated based on the first sub-strategy and the first function, and the drinking water device is controlled according to the valve control parameters. This achieves accurate and automatic water supply to the target user based on their desired water temperature. After updating the next water usage strategy, the compressor control parameters for controlling the compressor's operating power can be calculated based on the second sub-strategy and second function within that strategy. The compressor is then controlled according to these parameters, enabling advance control of the compressor. This advance control of the water dispenser's operation further allows for pre-preparation of the required water for the user, ensuring they have access to water resources promptly and improving their user experience. Furthermore, the next water usage strategy can be dynamically adjusted based on user feedback and recent actual water usage records. Controlling the power consumption of the water dispenser according to the water usage strategy reduces unnecessary energy consumption and provides a crucial foundation for users to obtain water promptly without waiting.
[0115] Figure 4 This is a schematic diagram of the control device for a drinking water equipment provided in an embodiment of the present invention. Figure 4 As shown, the device includes:
[0116] The determination module 401 is used to determine the target user and its corresponding current water use strategy. Each water use strategy corresponds to a set of ideal water use parameters. The current water use strategy is the equipment control strategy generated by the drinking water equipment for the target user at the previous moment to provide water that meets the corresponding ideal water use parameters.
[0117] The water supply module 402 is used to control the drinking water equipment to supply water to the target user based on the current water use strategy, and to obtain the actual water use parameters of the target user.
[0118] The calculation module 403 is used to determine the optimized water use parameters based on the actual water use parameters and the ideal water use parameters corresponding to the current water use strategy.
[0119] The control module 404 is used to input the optimized water usage parameters into the preset first preset model to obtain the next water usage strategy corresponding to the target user, so that the drinking water equipment can control the operation of the drinking water equipment based on the next water usage strategy.
[0120] Optionally, the drinking water equipment is equipped with a user identification device; the determination module 401 is specifically used for:
[0121] Based on the user identification device, biometric information is collected, and the target user is identified according to the biometric information and the pre-entered user information; the current water use strategy corresponding to the target user is obtained.
[0122] Optionally, the determining module 401 is specifically used for:
[0123] Based on the current time and / or user instructions triggered by the target user, determine the current water use policy from multiple pre-stored water use policies; determine the target user corresponding to the current water use policy.
[0124] Optionally, the water usage strategy includes a first sub-strategy; the water supply module 402 is specifically used for:
[0125] Based on the first sub-strategy in the current water use strategy and the pre-set first function, determine the valve control parameters; control the drinking water equipment to supply water to the target user according to the valve control parameters.
[0126] Optionally, the water use strategy includes a second sub-strategy; control module 404 is specifically used for:
[0127] Based on the second sub-strategy in the next water usage strategy and the pre-set second function, determine the compressor control parameters; control the operation of the water dispenser's compressor according to the compressor control parameters.
[0128] Optionally, the calculation module 403 is specifically used for:
[0129] Based on the actual water usage parameters and the ideal water usage parameters, determine the parameter deviation value; based on the parameter deviation value, determine the reward parameter; and based on the reward parameter, determine the optimized water usage parameter.
[0130] Optionally, the optimized water use parameters are determined based on the reward parameters, and the calculation module 403 is specifically used for:
[0131] Obtain the pre-set learning rate parameters and discount factors; determine the optimized water usage parameters based on actual water usage parameters, ideal water usage parameters, reward parameters, learning rate parameters, and discount factors.
[0132] The control device for the drinking water equipment provided in the embodiments of the present invention can execute the control method for the drinking water equipment provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0133] Figure 5 This is a schematic diagram of the structure of a drinking water device 10 provided in an embodiment of the present invention. In this embodiment, the drinking water device is presented in the form of an electronic device. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0134] like Figure 5 As shown, the drinking water device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer programs stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the drinking water device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0135] Multiple components in the water dispenser 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, optical disk, etc.; and a communication unit 19, such as a network card, modem, wireless transceiver, etc. The communication unit 19 allows the water dispenser 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0136] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the control methods of a water-drinking device.
[0137] In some embodiments, the control method for the drinking device may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the drinking device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the control method for the drinking device described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the control method for the drinking device by any other suitable means (e.g., by means of firmware).
[0138] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0139] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0140] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0141] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0142] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0143] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0144] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the control method for a drinking water device as provided in any embodiment of this invention.
[0145] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0146] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0147] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A control method for a drinking water device, characterized in that, The method includes: Determine the target user and its corresponding current water use strategy, wherein a water use strategy corresponds to a set of ideal water use parameters, and the current water use strategy is a device control strategy generated by the drinking water device for the target user at the previous moment to provide water that meets the corresponding ideal water use parameters; Based on the current water usage strategy, the drinking water equipment is controlled to supply water to the target user, and the actual water usage parameters of the target user are obtained; Based on the actual water usage parameters and the ideal water usage parameters corresponding to the current water usage strategy, determine the optimized water usage parameters; The optimized water usage parameters are input into a preset first preset model to obtain the next water usage strategy corresponding to the target user, so that the drinking water equipment can control the operation of the drinking water equipment based on the next water usage strategy.
2. The water supply method of the drinking water equipment according to claim 1, characterized in that, The drinking water equipment is equipped with a user identification device; The process of determining the target user and its corresponding current water usage policy includes: Based on the user identification device, biometric information is collected, and the target user is determined according to the biometric information and pre-recorded user information; Obtain the current water usage policy corresponding to the target user.
3. The water supply method of the drinking water equipment according to claim 1, characterized in that, The process of determining the target user and its corresponding current water usage policy includes: Based on the current time and / or the user instruction triggered by the target user, determine the current water use policy from a plurality of pre-stored water use policies; Determine the target user corresponding to the current water usage strategy.
4. The water supply method of the drinking water equipment according to claim 1, characterized in that, When the target user uses the drinking water device for the first time, the current water usage strategy is to input the water usage preference information entered by the target user into a preset second preset model, and then input the initial water usage parameters output by the second preset model into the first preset model to determine the strategy.
5. The water supply method of the drinking water equipment according to claim 4, characterized in that, The first preset model is a recurrent neural network model, and the second preset model is an ensemble learning model.
6. The water supply method of the drinking water equipment according to claim 1, characterized in that, The water use strategy includes a first sub-strategy; The step of controlling the drinking water equipment to supply water to the target user based on the current water usage strategy includes: The valve control parameters are determined based on the first sub-strategy in the current water use strategy and the pre-set first function; The water supply equipment is controlled to supply water to the target user according to the valve control parameters.
7. The water supply method of the drinking water equipment according to claim 1, characterized in that, The water use strategy includes a second sub-strategy; The water dispenser is controlled to operate based on the next water usage strategy, including: The compressor control parameters are determined based on the second sub-strategy in the next water use strategy and the pre-set second function; The operation of the compressor of the drinking water equipment is controlled according to the compressor control parameters.
8. The water supply method of the drinking water equipment according to claim 1, characterized in that, The step of determining optimized water use parameters based on the actual water use parameters and the ideal water use parameters corresponding to the current water use strategy includes: The parameter deviation value is determined based on the actual water usage parameters and the ideal water usage parameters; The reward parameters are determined based on the parameter deviation values, and the optimized water use parameters are determined based on the reward parameters.
9. The water supply method of the drinking water equipment according to claim 8, characterized in that, The step of determining the optimized water use parameters based on the reward parameters includes: Obtain the pre-set learning rate parameters and discount factor; The optimized water usage parameters are determined based on the actual water usage parameters, the ideal water usage parameters, the reward parameters, the learning rate parameters, and the discount factor.
10. A drinking water device, characterized in that, include: One or more processors; Memory, used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the water supply method of the drinking water device as described in any one of claims 1-9.