Water drinking control method and system, server, water drinking equipment and storage medium

By analyzing the historical water connection time data of drinking water equipment and using the prediction model to predict the water connection time distribution, the temperature adjustment operation of the drinking water equipment is controlled, which solves the problem of increased energy consumption and cost caused by long-term heating or insulation of the equipment, extends the life of the equipment and Save energy.

CN118716871APending Publication Date: 2024-10-01FOSHAN SHUNDE MIDEA WATER DISPENSER MFG +1

Patent Information

Application Number
CN202410928104.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Drinking water equipment maintains heating or high-temperature insulation for a long time, resulting in continuous energy consumption and device loss, and increasing user costs.

Method used

By obtaining and analyzing the historical water connection time data of drinking water equipment, using prediction models (such as recurrent neural networks or long short-term memory neural networks) to predict the water connection time distribution, and then controlling the temperature adjustment operation of drinking water equipment to adapt to user usage habits and reduce Unnecessary heating and holding operations.

Benefits of technology

Extends the service life of drinking water equipment components, saves energy consumption and reduces user costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118716871A_ABST
    Figure CN118716871A_ABST
Patent Text Reader

Abstract

The invention discloses a drinking water control method and system, a server, drinking water equipment and a storage medium. The water drinking control method comprises the following steps: acquiring historical water receiving time data of the water drinking equipment; predicting water receiving time distribution data according to the historical water receiving time data of the drinking water equipment; and controlling the temperature regulation operation of the drinking water equipment according to the water receiving time distribution data. Therefore, the water receiving time distribution data can be predicted according to the historical water receiving time data of the drinking water equipment, so that the temperature adjustment operation of the drinking water equipment can be controlled according to the water receiving time distribution data, and the temperature adjustment operation of the drinking water equipment can be matched with the use habit of a user; the drinking water equipment can be kept in a heating state or a heat preservation state without using a heating device and a switching device of the drinking water equipment for a long time, so that the service life of the drinking water equipment is prolonged, the energy consumption is reduced to a certain extent, and the user cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drinking water equipment, and more specifically, to a drinking water control method, a drinking water control system, a server, a drinking water equipment and a non-volatile computer-readable storage medium. Background Art

[0002] At present, after the user receives water, the drinking water equipment will always remain in a heating state or a high-temperature insulation state. Therefore, when the drinking water equipment is always in a heating or high-temperature insulation state, energy consumption is required to continue, and the heating components and switch components of the drinking water equipment are continuously worn out, thereby reducing the service life of the drinking water equipment components and increasing user costs. Summary of the invention

[0003] A drinking water control method, drinking water control system, server, drinking water equipment and non-volatile computer-readable storage medium provided in the embodiments of the present invention can solve the problem that the drinking water equipment remains in a heated or high-temperature insulation state for a long time, which requires continuous consumption of energy and continuous loss of the service life of heating components and switching components, thereby increasing user costs.

[0004] The drinking water control method of the embodiment of the present invention is used for drinking water equipment. The drinking water control method comprises obtaining the historical water receiving time data of the drinking water equipment; predicting the water receiving time distribution data according to the historical water receiving time data of the drinking water equipment; and controlling the temperature adjustment operation of the drinking water equipment according to the water receiving time distribution data.

[0005] In this way, based on the historical water collection time data of the drinking water equipment, the water collection time distribution data can be predicted, so that the temperature adjustment operation of the drinking water equipment can be controlled according to the water collection time distribution data, and then the temperature adjustment operation of the drinking water equipment can be adapted to the user's usage habits. There is no need to use the heating devices and switching devices of the drinking water equipment for a long time to keep the drinking water equipment in a heated state or a heat-insulating state, thereby improving the service life of the drinking water equipment devices, and saving energy consumption to a certain extent, reducing user costs.

[0006] In certain embodiments, the water collection time distribution data is obtained by using the historical water collection time data of the drinking water device as an input parameter and inputting it into a preset prediction model.

[0007] In this way, by collecting the historical water collection time data of the drinking water equipment, and using the collected historical water collection time data as the input parameter of the prediction model set in advance, the prediction model can determine the future water collection time distribution data based on the historical water collection time data, so that the user can know the distribution of future water collection time in advance, and the drinking water equipment heats the drinking water in advance according to the distribution of water collection time, thereby eliminating the need to perform heating operations for a long time, thereby increasing the service life of the machine components.

[0008] In certain embodiments, the historical water receiving time data of the drinking water device is a data set formed by the aggregation of the time when the drinking water device performs water receiving operations within a historical preset time period.

[0009] In this way, by obtaining the historical water collection time data of the drinking water equipment, the user's water collection habits can be understood, thereby revealing the time periods in which the user has collected water. Based on the historical water collection time data, users can more accurately predict future water collection times, thereby rationally planning the use time of the drinking water equipment, helping to reduce unnecessary heating, insulation and cooling of drinking water, reducing energy consumption, and thus controlling water costs.

[0010] In some embodiments, the water collection time distribution data includes a temperature adjustment period; controlling the temperature adjustment operation of the drinking water device according to the water collection time distribution data includes controlling the drinking water device to perform the temperature adjustment operation within the temperature adjustment period; controlling the drinking water device to stop performing the temperature adjustment operation outside the temperature adjustment period.

[0011] In this way, by obtaining the water collection time distribution data, we can understand the user's future water collection time period and the temperature adjustment time period of the drinking water equipment, so that the drinking water equipment can perform heating, cooling and other operations in advance during the temperature adjustment period. Then, drinking water that meets the user's needs can be received during the water collection period, and the temperature adjustment operation can be stopped outside the temperature adjustment period, which can reduce energy consumption and reduce user costs.

[0012] In certain embodiments, the preset prediction model comprises a recurrent neural network model or a long short-term memory neural network model.

[0013] In this way, by determining the preset prediction model as a recurrent neural network model or a long short-term memory neural network model, the changing trend of the water collection time in different time periods can be captured in the prediction of the water collection time of the drinking water equipment, and the recurrent neural network model can also learn and remember the changing pattern of the water collection time of the drinking water equipment over a longer time span, thereby improving the accuracy of the predicted water collection time distribution data.

[0014] In certain embodiments, the preset prediction model is determined by training with a training set as input parameters until convergence, and testing with a test set as input parameters, and the training set and the test set are obtained based on historical water collection time data of drinking water equipment.

[0015] In this way, by using a training set containing water connection time data in the past period of time and a test set containing water connection time data in the future period of time that the model needs to predict as input parameters of the preset prediction model, the model can be trained and tested, and then a prediction model with good performance can be determined for accurately predicting the water connection time of future users.

[0016] In certain embodiments, the drinking water control method includes obtaining current water receiving time data within a current preset time period; and updating the preset prediction model according to the current water receiving time data as an input parameter.

[0017] In this way, by acquiring the water collection time data of the current period and using the water collection time data of the current period as input parameters to train the preset prediction model, the preset prediction model can be learned to improve the prediction accuracy.

[0018] The server of the embodiment of the present invention is used to communicate with the drinking water equipment. The server is configured to receive the historical water receiving time data sent by the drinking water equipment, obtain the water receiving time distribution data according to the historical water receiving time data, and send the water receiving time distribution data to the drinking water equipment, so that the drinking water equipment performs the temperature adjustment operation according to the water receiving time distribution data.

[0019] The drinking water device of the embodiment of the present invention is used for communication connection with a server. The drinking water device is configured to send historical water receiving time data to the server, receive water receiving time distribution data returned by the server, and perform temperature adjustment operation according to the water receiving time distribution data, wherein the water receiving time distribution data is obtained by the server according to the historical water receiving time data.

[0020] The drinking water control system of the embodiment of the present invention includes a drinking water device and a server, and the drinking water device is communicatively connected to the server; the drinking water device is configured to send historical water collection time data to the server; the server is configured to receive the historical water collection time data sent by the drinking water device, and obtain water collection time distribution data based on the historical water collection time data, and send the water collection time distribution data to the drinking water device; the drinking water device is configured to perform temperature adjustment operation according to the water collection time distribution data.

[0021] The non-volatile computer-readable storage medium containing a computer program according to an embodiment of the present invention includes a computer program. When the computer program is executed by a processor, the processor executes the drinking water control method described in any one of the above embodiments.

[0022] Additional aspects and advantages of embodiments of the present invention will be given in part in the following description and in part will be obvious from the following description or learned through practice of embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0024] Figure 1 is a schematic flow chart of a drinking water control method according to certain embodiments of the present invention;

[0025] Figure 2 It is a schematic diagram of the planar structure of a drinking water control system according to certain embodiments of the present invention;

[0026] Figure 3 is a schematic diagram of the broken line of water collection time distribution data of certain embodiments of the present invention;

[0027] Figure 4 is a schematic flow chart of a drinking water control method according to certain embodiments of the present invention;

[0028] Figure 5 is a schematic flow chart of a drinking water control method according to certain embodiments of the present invention;

[0029] Figure 6 is a schematic diagram of a module of a drinking water control device according to some embodiments of the present invention;

[0030] Figure 7 The diagram is a schematic diagram of the connection state between a non-volatile computer-readable storage medium and a processor according to some embodiments of the present invention.

[0031] Description of Figure Numbers:

[0032] 1000, drinking water control system; 100, drinking water equipment; 20, hot tank; 30, cold tank; 200, server; 10, drinking water control device; 11, first acquisition module; 12, prediction module; 13, control module; 14, second acquisition module; 15, update module; 300, computer readable storage medium; 310, computer program; 320, processor. DETAILED DESCRIPTION

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

[0034] See also Figure 1 , Figure 2 and Figure 3 The drinking water control method provided in the embodiment of the present invention is used for the drinking water device 100, and the drinking water control method includes:

[0035] Step 011: Acquire historical water receiving time data of the drinking water device 100;

[0036] Step 012: predicting water receiving time distribution data based on historical water receiving time data of the drinking water device 100;

[0037] Step 013: Control the temperature adjustment operation of the drinking water equipment 100 according to the water collection time distribution data.

[0038] In this way, based on the historical water connection time data of the drinking water equipment 100, the water connection time distribution data can be predicted, so that the temperature adjustment operation of the drinking water equipment 100 can be controlled according to the water connection time distribution data, and then the temperature adjustment operation of the drinking water equipment 100 can be adapted to the user's usage habits. There is no need to use the heating device and switch device of the drinking water equipment 100 for a long time to keep the drinking water equipment 100 in a heated state or a heat-insulating state, thereby improving the service life of the components of the drinking water equipment 100, and saving energy consumption to a certain extent, reducing user costs.

[0039] Among them, the drinking water equipment 100 is a device for heating or cooling drinking water. For example, the drinking water equipment 100 can also be a water dispenser, a water purifier, a water purifier, or a water-using device with a heating function or a cooling function. The drinking water equipment 100 includes a hot tank 20 and a cold tank 30, both of which can be used to store drinking water, and the drinking water equipment 100 can heat and keep warm the drinking water stored in the hot tank 20 so that the user can get hot water at any time, and the drinking water equipment 100 can cool the drinking water stored in the cold tank 30 so that the user can get cold water at any time. The drinking water equipment 100 can be connected to the server 200 for communication, so that the drinking water equipment 100 can send data to the server 200 or receive data transmitted by the server 200.

[0040] Specifically, the hot tank 20 and the cold tank 30 of the drinking water device 100 are both provided with liquid level sensors, and the liquid levels of the drinking water in the hot tank 20 and the cold tank 30 are checked by the liquid level sensors, and when the liquid level drops, the time when the liquid level starts to drop is recorded, so that the time when the user receives water each time can be obtained, and the user's water consumption data is stored in the memory of the drinking water device 100, or in the server 200 that is connected to the drinking water device 100 in communication. By storing the water receiving time data of each time the user receives water in the historical preset period in the memory of the drinking water device 100, a data set can be formed, or the water receiving time data of each time the user receives water is stored in the server 200 that is connected to the drinking water device 100 in communication, a data set can be formed, and then the historical water receiving time data of the drinking water device 100 can be obtained.

[0041] For example, the preset period may be 21 days, and a day may be divided into 24 time zones, that is, 0:00 to 1:00 is the first time zone and 23:00 to 24:00 is the 24th time zone. The historical water collection time data may be a data set of the water collection time obtained by collecting statistics of the user's water collection time in each time zone within 21 days, and the data set is formed into a data table and stored in a memory or a server.

[0042] In this way, by obtaining the historical water collection time data of the drinking water device 100, the user's water collection habits can be understood, thereby revealing the time periods in which the user has collected water. Based on the historical water collection time data, the user can more accurately predict the future water collection time, thereby rationally planning the use time of the drinking water device 100, which helps to reduce unnecessary operations of heating drinking water, keeping drinking water warm, and cooling drinking water, reduce energy consumption, and thus control water costs.

[0043] The drinking water device 100 can predict the water collection time distribution data of future users by inputting the stored historical water collection time data as input parameters into the preset prediction model. Figure 3 The water receiving time distribution data shown in the figure shows that the probability of water receiving in the first time zone is 13%; the probability of water receiving in the fifth time zone is 7%; the probability of water receiving in the seventh time zone is 77%; the probability of water receiving in the eleventh time zone is 53%; the probability of water receiving in the thirteenth time zone is 54%; the probability of water receiving in the sixteenth time zone is 42%; the probability of water receiving in the nineteenth time zone is 57%; the probability of water receiving in the twenty-second time zone is 67%; the probability of water receiving in the twenty-fourth time zone is 27%. It can be seen from the figure that the probability of water receiving in the seventh time zone and the twenty-second time zone is the highest.

[0044] Among them, the preset prediction model can be a recurrent neural network model or a long short-term memory neural network model (Long-Short Term Memory, LSTM). Among them, the long short-term memory neural network model is an extension and improvement of the recurrent neural network model, which is used to solve the long-term dependency problem of the recurrent neural network model, and is suitable for processing and predicting data with relatively long intervals and delays in time series. The preset prediction model can be built in a supervised learning mode, by setting the number of layers and core parameters of the neural network model, and using machine learning algorithms such as support vector machine (SVM) and random forest (RandomForest) for training.

[0045] When the prediction model is a recurrent neural network model, the recurrent neural network model can be single-layer or multi-layer. The single-layer recurrent neural network model is represented by one input layer, one hidden layer and one output layer; the multi-layer recurrent neural network model is represented by one input layer, multiple hidden layers and one output layer.

[0046] In some embodiments, the expression of the hidden layer of the single-layer recurrent neural network model can be expressed as ht=tanh(Whh*ht-1+Wxh*Xt+bh); the expression of the output layer can be expressed as yt=Why*ht+by.

[0047] Among them, ht is the hidden state at time t, which contains the information of the input sequence up to now; Xt is the input at time t, which is a 24-dimensional vector representing the water collection time in each time zone on the tth day; yt is the output at time t, which is a 24-dimensional vector representing the distribution probability of the water collection time in each time zone on the t+1th day; Whh, Wxh, Why are weight matrices, which represent the linear transformation from hidden state to hidden state, input to hidden state, and hidden state to output, respectively; bh and by are bias terms used to adjust the results after linear transformation.

[0048] In some embodiments, in a recurrent neural network model, the input Xt of each time step and the hidden state ht-1 of the previous time step are subjected to a series of linear transformations and nonlinear activation functions to generate the hidden state ht and output yt of the current time step.

[0049] For example, a linear transformation refers to an operation that performs a weighted summation on the input data, which can usually be expressed as matrix multiplication and vector addition. In a recurrent neural network model, the input Xt of the current time step and the hidden state ht-1 of the previous time step will both undergo a linear transformation. Whh*ht-1 represents the linear transformation of the hidden state ht-1 of the previous time step, and Whh is the weight matrix from hidden state to hidden state. Wxh*Xt represents the linear transformation of the input Xt of the current time step, and Wxh is the weight matrix from input to hidden state. Thus, the results of the two linear transformations are added together, and a bias term bh is added to obtain a new vector.

[0050] For another example, nonlinear activation functions are used to introduce nonlinear factors so that the network can fit complex functions. In the recurrent neural network model, tanh is used as the activation function. After the linear transformation, the tanh function is applied to obtain the hidden state ht of the current time step. The output yt of the current time step is based on the hidden state ht.

[0051] For the calculation of the output layer, ht will first be linearly transformed to obtain a new vector zt=Why*ht+by. Among them, Why is the weight matrix from hidden state to output, and by is the bias term of the output. Then, this vector zt will pass through the softmax function to obtain the final output yt. The expression of the softmax function is softmax(z)ii=exp(zi) / Σ_jexp(zj). Among them, zi is the i-th element of the vector z, and Σ_jexp(zj) is the sum of the exponential values ​​of all elements. The function of the softmax function is to convert any real number vector into a probability distribution, that is, all elements are in the range [0,1], and the sum of all elements is 1.

[0052] Therefore, the probability of water collection time distribution in each time zone can be obtained through the softmax function, expressed as yt = softmax(zt). Among them, yt is a 24-dimensional vector, and each element represents the probability of water collection in a time zone on the t+1 day. Therefore, based on the water collection time data of the last 21 days, the probability of water collection time distribution in each time zone on the 22nd day can be predicted.

[0053] It should be noted that "time step" and "time zone" are two different concepts. "Time step" refers to each element in the sequence, corresponding to our task, it is 21 consecutive days. "Time zone" refers to 24 different time periods in a day. At each time step, we have a 24-dimensional vector representing the water supply situation in 24 time zones on that day.

[0054] In this way, by determining the preset prediction model as a recurrent neural network model or a long short-term memory neural network model, the changing trend of the water collection time in different time periods can be captured in the prediction of the water collection time of the drinking water equipment 100, and the recurrent neural network model can also learn and remember the changing pattern of the water collection time of the drinking water equipment 100 within a longer time span, thereby improving the accuracy of the predicted water collection time distribution data.

[0055] In some embodiments, when the preset prediction model is a single-layer recurrent neural network model, after obtaining the historical water connection time data of the drinking water device 100, the historical water connection time data needs to be preprocessed. The preprocessing method may be normalization or cleaning, etc., so that the preset time period can be converted to obtain multiple time zones, and the water connection time data of each time zone is encoded into a dimensional vector of the corresponding time zone, and the dimensional vectors of the multiple time zones are combined, so that the sequence of the preset time period can be obtained.

[0056] For example, when the preset period is 21 days, each of the 21 days is divided into 24 time zones, so that the water receiving time point data can be converted into a 24-hour system, and then the water receiving situation in each time zone is encoded into a 24-dimensional vector, where each dimension indicates whether a water receiving action occurs in the time zone. Finally, the data of 21 consecutive days are combined into a sequence, thereby completing the historical water receiving time data preprocessing process of the drinking water device 100.

[0057] After determining that the prediction model is a single-layer recurrent neural network model and preprocessing the historical water collection time data of the drinking water device 100, it is necessary to obtain a training set and a test set to train and test the prediction model to improve the prediction accuracy of the prediction model and determine the prediction model with the best performance.

[0058] The pre-processed historical water collection time data of the drinking water device 100 can be used as a training set and a test set. The training set includes a plurality of training samples, the number of which is not limited here. Each training sample includes a time zone when the user collects water.

[0059] For example, the training sample can be that the user received 500 ml of drinking water between the 8th time zone on the first day and the user received 300 ml of drinking water in the 12th time zone on the third day. Finally, according to the water collection time zone included in each training sample, the preset prediction model is trained, and then the accuracy of the prediction model can be obtained by detecting whether the prediction model converges and training until the prediction model converges. It should be noted that training the prediction model to convergence is represented as a process of minimizing the amount of the loss function. For example, by gradually adjusting the parameters of the prediction model (such as weights and biases in the neural network model) through training, so that the value of the loss function decreases and tends to be stable, the prediction model can be determined to converge. Among them, the loss function measures the difference between the predicted data and the real data. For example, the training of the prediction model can be carried out using the cross-entropy loss function (Cross-Entropy Loss), and the optimization goal is to minimize the gap between the predicted water use distribution probability and the actual water use distribution. The expression can be expressed as Cross-Entropy Loss: L = -Σ(y*log(yhat)).

[0060] Among them, y represents the actual water collection time distribution, and yhat is the predicted water collection time distribution probability.

[0061] The test set includes multiple test samples, and the number is not limited here. Each test sample includes the time zone where the user receives water. For example, the test sample can be that the user receives 400 ml of drinking water in the 11th time zone on the 22nd day and the user receives 300 ml of drinking water in the 17th time zone on the 23rd day. Finally, according to the time zone included in each training sample, the preset prediction model is tested to test the generalization ability of the prediction model, which is used to evaluate the performance of the prediction model, so that the recurrent neural network model with the best performance can be determined as the prediction model.

[0062] In some embodiments, after preprocessing the historical water connection time data of the drinking water device 100, the performance of the model can be determined based on a five-fold cross-validation method, which is a commonly used method for verifying the accuracy of a model in machine learning and data mining.

[0063] Specifically, after obtaining the training set and the test set, the prediction model can be trained using the five-fold cross-validation method, that is, the obtained training set and the test set are divided into five parts, one of the five parts is used as the test set, and the other four of the five parts are used as the training sets, and the preset prediction models are trained respectively to obtain five prediction models to be selected. For example, the obtained training set and test set are divided into 5 parts, namely A, B, C, D, and E. A, B, C, D, and E can be used as test sets, and the corresponding other 4 parts can be used as training sets to train the preset prediction models respectively. For example, A is used as the test set, BCDE is used as the training set, and then the preset prediction model is trained based on BCDE to obtain the corresponding candidate prediction model M1, and the candidate prediction model M1 is tested based on A to obtain the performance Q1 (such as accuracy, recall rate, F1 score, etc.) of the candidate prediction model M1; if B is used as the test set, ACDE is used as the training set, and then the preset prediction model is trained based on ACDE to obtain the corresponding candidate prediction model M2, and the candidate prediction model M2 is tested based on B to obtain the performance Q2 of the candidate prediction model M2; if C is used as the test set, ABDE is used as the training set, and then the preset prediction model is trained based on ACDE to obtain the corresponding candidate prediction model M2, and the candidate prediction model M2 is tested based on B to obtain the performance Q2 of the candidate prediction model M2; The preset prediction model is trained with ABDE to obtain the corresponding candidate prediction model M3, and the candidate prediction model M3 is tested based on C to obtain the performance Q3 of the candidate prediction model M3; if D is used as the test set and ABCE is used as the training set, then the preset prediction model is trained based on ABCE to obtain the corresponding candidate prediction model M4, and the candidate prediction model M4 is tested based on D to obtain the performance Q4 of the candidate prediction model M4; if E is used as the test set and ABCD is used as the training set, then the preset prediction model is trained based on ABCD to obtain the corresponding candidate prediction model M5, and the candidate prediction model M5 is tested based on E to obtain the performance Q5 of the candidate prediction model M5, and finally, according to the performances Q1, Q2, Q3, Q4, and Q5 of the five candidate prediction models, the candidate prediction model with the best performance is determined as the prediction model.

[0064] See also Figure 4 In some embodiments, the water receiving time distribution data includes a temperature adjustment period. Step 013: controlling the temperature adjustment operation of the drinking water device 100 according to the water receiving time distribution data includes:

[0065] Step 0131: Control the drinking water device 100 to perform a temperature adjustment operation within the temperature adjustment period;

[0066] Step 0132: Control the drinking water device 100 to stop the temperature adjustment operation outside the temperature adjustment period.

[0067] In this way, by obtaining the water collection time distribution data, the user's future water collection time period and the temperature adjustment time period of the drinking water device 100 can be understood, so that the drinking water device 100 can perform heating, cooling and other operations in advance during the temperature adjustment period, and can receive drinking water that meets the user's needs during the water collection period, and stop the temperature adjustment operation outside the temperature adjustment period, which can reduce energy consumption and reduce user costs.

[0068] Specifically, after the historical water receiving time data of the drinking water device 100 is input into the preset prediction model, the prediction model can predict the water receiving time distribution data. The water receiving time distribution data includes the temperature adjustment period and the water receiving time distribution probability, that is, the time zone when the drinking water device 100 performs the temperature adjustment operation and the time zone distribution probability of the user's water receiving time. For example, Figure 3 As shown, after the user's water collection time data on the 24th day is input into the prediction model as the 9th time zone, the 15th time zone and the 20th time zone, the prediction model can predict that the water collection time distribution data on the 25th day is that the probability of water collection in the 7th time zone is 77%, the probability of water collection in the 11th time zone is 53%, the probability of water collection in the 13th time zone is 54%, the probability of water collection in the 19th time zone is 57% and the probability of water collection in the 22nd time zone is 67%. The temperature adjustment periods are the 6th time zone, the 10th time zone, the 12th time zone, the 18th time zone and the 21st time zone respectively.

[0069] According to the water receiving time distribution data predicted by the prediction model, the drinking water device 100 can be controlled to perform temperature adjustment operation within the temperature adjustment period, and stop the temperature adjustment operation outside the temperature adjustment period. Figure 3 As shown, after the user's water collection time data on the 24th day is input into the prediction model as the 9th time zone, the 15th time zone and the 20th time zone, the prediction model can predict that the temperature adjustment periods on the 25th day are the 6th time zone, the 10th time zone, the 12th time zone, the 18th time zone and the 21st time zone, respectively. If the drinking water device 100 has a heating function, a heat preservation function or a cooling function, the drinking water device 100 can perform heating operations, cooling operations and heat preservation operations on drinking water in the 6th time zone, the 10th time zone, the 12th time zone, the 18th time zone and the 21st time zone, so that the user can receive drinking water that meets the user's needs in the 7th time zone, the 11th time zone, the 13th time zone, the 19th time zone and the 22nd time zone. And after the 6th time zone, the 10th time zone, the 12th time zone, the 18th time zone and the 21st time zone, the drinking water machine stops heating, cooling and heat preservation operations to reduce energy consumption.

[0070] See also Figure 5 In certain embodiments, the drinking water control method comprises:

[0071] Step 014: Obtain the current water receiving time data within the current preset time period;

[0072] Step 015: Update the preset prediction model based on the current water connection time data as an input parameter.

[0073] In this way, by acquiring the water collection time data of the current period and using the water collection time data of the current period as input parameters to train the preset prediction model, the preset prediction model can be learned to improve the prediction accuracy.

[0074] Specifically, the drinking water device 100 can record and store the user's water collection time data every day, and after a historical preset period of time, it can update the prediction model based on the stored current water collection time data, that is, retrain the current water collection time data as a training set of the prediction model.

[0075] For example, the drinking water equipment 100 determines a preset prediction model based on the historical water collection time data of the previous 21 days, and then the drinking water equipment 100 stores the current water collection time data from the 22nd day to the 42nd day. The drinking water equipment 100 can train the preset prediction model based on the current water collection time data, so that the preset prediction model can be learned and corrected, thereby improving the prediction accuracy of the preset prediction model.

[0076] It should be noted that the user's daily water collection time data collected by the drinking water device 100 can be stored in the server 200 that communicates with the drinking water device 100. Therefore, compared with the limited storage space of the drinking water device 100, the server 200 can store more water collection time data. Therefore, by updating the prediction model in the server 200 with the current water collection time data, the prediction accuracy of the prediction model can be further improved.

[0077] See also Figure 6 In order to better implement the drinking water control method of the embodiment of the present invention, the embodiment of the present invention further provides a drinking water control device 10. The drinking water control device 10 includes a first acquisition module 11, a prediction module 12 and a control module 13; the first acquisition module 11 is used to acquire the historical water receiving time data of the drinking water device 100; the prediction module 12 is used to predict the water receiving time distribution data according to the historical water receiving time data of the drinking water device 100; the control module 13 is used to control the temperature adjustment operation of the drinking water device 100 according to the water receiving time distribution data.

[0078] The control module 13 is specifically used to control the drinking water device 100 to perform a temperature adjustment operation within a temperature adjustment period; and to control the drinking water device 100 to stop performing a temperature adjustment operation outside the temperature adjustment period.

[0079] The control device 10 further includes a second acquisition module 14, which is used to acquire current water receiving time data within a current preset time period.

[0080] The control device 10 further includes an updating module 15, which is used to update the preset prediction model according to the current water receiving time data as an input parameter.

[0081] In some embodiments, the drinking water control device 10 may be disposed in the drinking water equipment 100 , so as to implement the functions of the first acquisition module 11 , the prediction module 12 , the control module 13 , the second acquisition module 14 and the update module 15 in the drinking water equipment 100 .

[0082] In some embodiments, the drinking water control device 10 can be set in a server 200 that is communicatively connected to the drinking water equipment 100, so as to implement the functions of the first acquisition module 11, the prediction module 12, the control module 13, the second acquisition module 14 and the update module 15 in the server 200.

[0083] In some embodiments, the drinking water control device 10 can be communicatively connected with the drinking water equipment 100 and the server 200 respectively, so that the drinking water equipment 100 can implement the functions of the first acquisition module 11, the control module 13 and the second acquisition module 14 included in the drinking water control device 10, and the server 200 implements the functions of the prediction module 12 and the update module 15 included in the drinking water control device 10.

[0084] In the above text, the drinking water control device 10 is described from the perspective of functional modules in conjunction with the accompanying drawings. The functional modules can be implemented in hardware form, can be implemented in software form, or can be implemented in combination with hardware and software modules. Specifically, each step of the method embodiment in the embodiment of the present invention can be completed by the hardware integrated logic circuit in the processor and / or the software form of instructions. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware coding processor to execute, or can be executed by a combination of hardware and software modules in the coding processor. Optionally, the software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in conjunction with its hardware.

[0085] Please refer again Figure 3 The drinking water control system 1000 of the embodiment of the present invention includes a drinking water device 100 and a server 200, and the drinking water device 100 is communicatively connected with the server 200; the drinking water device 100 is configured to send historical water receiving time data to the server 200; the server 200 is configured to receive the historical water receiving time data sent by the drinking water device 100, and obtain water receiving time distribution data according to the historical water receiving time data, and send the water receiving time distribution data to the drinking water device 100; the drinking water device 100 is configured to perform temperature adjustment operation according to the water receiving time distribution data.

[0086] Specifically, the control system 1000 includes a drinking water device 100 and a server 200, and the drinking water device 100 is connected to the server 200 for communication, such as the drinking water device 100 and the server 200 can be connected via Bluetooth, WIFI, a mobile communication network or a data cable. A prediction model is preset on the drinking water device 100, and the preset prediction model can also be executed by the drinking water device 100, or the prediction model is located in the server 200 connected to the drinking water device 100 for communication, and runs on the server 200. Among them, the model file of the preset prediction model can be stored in the memory of the current drinking water device 100 and executed by the processor of the current drinking water device 100, or the model file of the prediction model can also be stored in the server 200 connected to the current drinking water device 100 for communication, and executed by the processor of the server 200.

[0087] See also Figure 7 The embodiment of the present invention further provides a computer-readable storage medium 300 on which a computer program 310 is stored. When the computer program 310 is executed by a processor 320, the steps of the drinking water control method of any of the above-mentioned embodiments are implemented. For the sake of brevity, they are not repeated here.

[0088] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0089] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0090] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A drinking water control method, used for drinking water equipment, characterized in that: The drinking water control method comprises: Obtaining historical water receiving time data of the drinking water equipment; Predicting water receiving time distribution data based on historical water receiving time data of the drinking water equipment; The temperature adjustment operation of the drinking water equipment is controlled according to the water receiving time distribution data.

2. The drinking water control method according to claim 1, characterized in that: The water receiving time distribution data is obtained by taking the historical water receiving time data of the drinking water equipment as input parameters and inputting them into a preset prediction model.

3. The drinking water control method according to claim 1, characterized in that: The historical water receiving time data of the drinking water device is a data set formed by the collection of the time when the drinking water device performs water receiving operations within a historical preset time period.

4. The drinking water control method according to claim 1, characterized in that: The water receiving time distribution data includes a temperature adjustment period; Controlling the temperature adjustment operation of the drinking water device according to the water receiving time distribution data includes: Controlling the drinking water equipment to perform the temperature adjustment operation within the temperature adjustment period; The drinking water device is controlled to stop performing the temperature adjustment operation outside the temperature adjustment period.

5. The drinking water control method according to claim 2, characterized in that: The preset prediction model includes a recurrent neural network model or a long short-term memory neural network model.

6. The drinking water control method according to claim 5, characterized in that: The preset prediction model is determined by training with a training set as an input parameter until convergence, and testing with a test set as an input parameter, wherein the training set and the test set are obtained based on historical water collection time data of drinking water equipment.

7. The drinking water control method according to claim 6, characterized in that: The drinking water control method comprises: Get the current water collection time data within the current preset time period; The preset prediction model is updated according to the current water connection time data as an input parameter.

8. A server for communicating with a drinking water device, characterized in that: The server configuration is: Receive the historical water receiving time data sent by the drinking water device, obtain the water receiving time distribution data according to the historical water receiving time data, send the water receiving time distribution data to the drinking water device, and make the drinking water device perform temperature adjustment operation according to the water receiving time distribution data.

9. A drinking water device, used for communicating with a server, characterized in that: The drinking water equipment is configured as follows: Send historical water receiving time data to a server, receive water receiving time distribution data returned by the server, and perform temperature adjustment operations according to the water receiving time distribution data, wherein the water receiving time distribution data is obtained by the server according to the historical water receiving time data.

10. A drinking water control system, characterized in that: It includes a drinking water device and a server, wherein the drinking water device is communicatively connected with the server; The drinking water device is configured to: send historical water collection time data to the server; The server is configured to: receive the historical water receiving time data sent by the drinking water device, obtain water receiving time distribution data according to the historical water receiving time data, and send the water receiving time distribution data to the drinking water device; The drinking water equipment is configured to perform temperature adjustment operations according to the water receiving time distribution data.

11. A non-volatile computer-readable storage medium containing a computer program, characterized in that: When the computer program is executed by a processor, the processor executes the drinking water control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Intelligent water heater energy-saving method based on cloud computing

    CN108931060A

  • Water dispenser control method and device, storage medium and water dispenser

    CN110934502A

  • Control method and device for preparing pure water and computer readable storage medium

    CN112759004A

  • Water age control system for direct drinking water purification equipment

    CN113812851A

  • Method and device for controlling water dispenser

    CN115789956A

Cited By

  • Low-energy-consumption charging pipeline machine and control method

    CN121053718A