Water drinking equipment control method and system, intelligent terminal and storage medium
By using induction identification parts and ambient temperature curves in drinking water equipment, the water outlet volume and water temperature are automatically controlled, and the problems of complex water intake process and safety hazards of existing drinking water equipment are solved, friendly and intelligent control for special groups is achieved, and the water outlet parameters are ensured. accuracy and safety.
Patent Information
- Application Number
- CN202411051391.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-11-19
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The water withdrawal process of existing drinking water equipment is complex and not intelligent, especially for special groups such as children, patients, and the elderly.
By setting induction identification parts at the bottom of the cup, identifying the identity tag and automatically controlling the water effluent volume and water temperature, combining the ambient temperature change curve to generate a water temperature curve, automating water effluent, providing personalized water effluent parameter settings and error correction mechanisms, and integrating recycling devices to save resources .
It simplifies user operations, improves the intelligence of water intake, ensures the safety of special groups, adapts to different user needs, and ensures the accuracy and safety of water effluent parameters during transmission.
Smart Images

Figure CN118975747A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent terminal technology, and in particular to a control method, system, intelligent terminal and storage medium for drinking water equipment. Background Art
[0002] Currently, drinking water equipment is set up in different places to provide drinking water for different users. Facing the various needs of different users, the intelligent upgrade of drinking water equipment is becoming increasingly urgent.
[0003] The related art requires the user to put the water cup at the water outlet of the drinking device and press the water outlet switch to realize the water outlet of the drinking device. When the water cup is filled with enough water, the user needs to press the water outlet switch again to stop the water outlet of the drinking device.
[0004] With respect to the above-mentioned related technologies, the inventors believe that the water extraction process is relatively complicated and not intelligent, and there are potential safety hazards when it comes to special groups (e.g., children, patients, the elderly, etc.). Summary of the invention
[0005] In order to improve the intelligence of the water collection process and facilitate users to collect water, the present application provides a control method, system, intelligent terminal and storage medium for drinking water equipment.
[0006] In a first aspect, the present application provides a control method for a drinking water device, which adopts the following technical solution: A control method for a drinking water device, comprising: Reading the ID tag from the inductive identification element, which is located at the bottom of the cup; When the identity tag matches the built-in tag, the water output parameters are obtained according to the identity tag, and the water output parameters include a target water output volume and a target temperature value; Control the water output of drinking water equipment according to the water output parameters.
[0007] By adopting the above technical solution, the user's identity can be determined by the induction recognition element arranged at the bottom of the cup to realize automatic water discharge. Moreover, the water output and water temperature are automatically determined without user operation, which can effectively simplify the user's operation and is friendly to special groups of people.
[0008] Optionally, a water outlet temperature set of the identity tag within a preset time period is counted, where the water outlet temperature set is composed of temperature data pairs, and the temperature data pair includes the time and temperature value of each water outlet; Obtaining an ambient temperature change curve within a preset time period, where the ambient temperature change curve is used to represent the corresponding relationship between time and ambient temperature; A water temperature curve is generated according to the outlet water temperature set and the ambient temperature change curve. The water temperature curve is used to represent the corresponding relationship between the ambient temperature and the target temperature value; Find and store the target temperature value in the water temperature curve according to the current ambient temperature.
[0009] By adopting the above technical solution, a temperature value is automatically generated according to the ambient temperature, so that the drinking water device can discharge water according to the temperature value, which caters to the needs of users. Users do not need to manually adjust the water temperature, thereby simplifying the user's operation.
[0010] Optionally, obtaining candidate temperature data pairs in the outlet water temperature set; According to the time corresponding to the candidate temperature data pair, the ambient temperature is searched in the ambient temperature change curve; The ambient temperature is used as the horizontal coordinate, and the temperature value corresponding to the candidate temperature data pair is used as the vertical coordinate to form discrete points; With the goal of traversing each temperature data pair in the outlet water temperature set, repeat the above three steps to obtain a discrete point set; fit each discrete point in the discrete point set to obtain a water temperature curve.
[0011] By adopting the above technical solution, the water temperature curve is more in line with the needs of users, and the user does not need to manually control the water temperature, which simplifies the user's operation.
[0012] Optionally, searching for local water output parameters in a local memory according to the identity tag; Send an identity tag to the server; receiving a cloud water outflow parameter returned by the server, where the cloud water outflow parameter is provided by a client corresponding to the identity tag; When the local water outflow parameters are inconsistent with the cloud water outflow parameters, the cloud water outflow parameters are used as the water outflow parameters; Use the cloud water output parameters to update the local water output parameters in the local storage.
[0013] By adopting the above technical solution, the cloud water output parameters provided by the client are obtained, so that the user can modify the water output parameters through the client, providing the user with a personalized water output method. In addition, the method of remotely setting the water output method can be realized, providing an intelligent water output method.
[0014] Optionally, receiving a parameter sequence sent by a server, where the parameter sequence is obtained according to the product of the coding matrix and the cloud-outlet water parameter; Calculate the product of the error correction matrix and the parameter sequence to obtain an error correction sequence, the length of the error correction sequence is the same as the length of the parameter sequence, and the error correction sequence is used to indicate the position of the error parameter in the parameter sequence; Deleting row elements of the coding matrix according to the error correction sequence to obtain an error correction matrix, and deleting row elements of the parameter sequence according to the error correction sequence to obtain an error correction parameter sequence; The cloud-end water parameters are obtained according to the product of the inverse matrix of the error correction matrix and the error correction parameter sequence.
[0015] By adopting the above technical solution, the parameter sequence can be error-checked and error-corrected. Even if an error occurs in the parameter sequence during the transmission process, the correct cloud-outlet water parameters can still be obtained.
[0016] Optionally, a first temperature of a first water tank and a second temperature of a second water tank in the drinking water device are obtained, and the first temperature is greater than the second temperature; Calculating the difference between the first temperature and the second temperature to obtain a temperature difference value; Calculate the ratio of the target water output and the temperature difference to obtain the target physical quantity; Obtaining a first water volume according to the target temperature value, the second temperature value and the target physical quantity; Calculate the difference between the first water volume and the error water volume to obtain the first water output; Obtaining a second water volume according to the target temperature value, the first temperature value and the target physical quantity; Calculate the sum of the second water volume and the error water volume to obtain the second water output; The water output of the first water tank is controlled by the first water output, and the water output of the second water tank is controlled by the second water output.
[0017] By adopting the above technical solution, automatic control of water temperature and water volume can be achieved, and an error water volume is set to control the water temperature to prevent the water temperature from being too high and scalding the user.
[0018] Optionally, in response to the recovery device detecting the sensing identifier, determining the identity tag based on the sensing identifier, and turning on the recovery device; Calculate the amount of recovered water based on the mass change of the recovery device; Calculate the difference between the target water output and the recycled water volume to get the actual water intake; Calculate the mean and variance of the actual water intake of the identity tag in the last n times, where n is a preset value; If the variance is less than the preset value, the mean is used to update the target water output.
[0019] By adopting the above technical solution, a recovery device is set on the drinking water equipment to recycle drinking water and save resources. The actual drinking water volume of the user can also be judged by the recovery device and the subsequent water output can be updated.
[0020] In the second aspect, the present application provides a control system for a drinking water device, which adopts the following technical solution: A control system for a drinking water device, comprising: An acquisition module is used to acquire identity tags, outlet water parameters, outlet water temperature sets, ambient temperature change curves, local outlet water parameters, cloud outlet water parameters, parameter sequences, first temperatures, second temperatures, and quality changes; A memory for storing a program of a control method for a drinking water device according to any one of claims 1 to 7; The program in the processor and the memory can be loaded and executed by the processor to implement the control method of the drinking water equipment as described above.
[0021] In a third aspect, the present application provides a smart terminal, which adopts the following technical solution: An intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes the control method of the drinking water device as described above.
[0022] In a fourth aspect, the present application provides a computer storage medium capable of storing corresponding programs, which is convenient for realizing the intelligentization of the water extraction process and facilitating water extraction for users, and adopts the following technical solutions: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned control methods for drinking water equipment.
[0023] In summary, the present application includes at least one of the following beneficial technical effects: 1. The user's identity can be determined through the induction recognition element set at the bottom of the cup to achieve automatic water discharge. The water output and water temperature are automatically determined, and no user operation is required, which can effectively simplify the user's operation and is friendly to special groups of people; 2. Automatically generate temperature values according to ambient temperature, so that the drinking water equipment can discharge water according to the temperature value, which caters to the needs of users. Users do not need to manually adjust the water temperature, simplifying user operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a structural block diagram of a drinking water device provided in an embodiment of the present application.
[0025] Figure 2 It is a flow chart of a control method for drinking water equipment provided in an embodiment of the present application.
[0026] Figure 3 It is a flow chart of a method for setting water outlet parameters provided in an embodiment of the present application.
[0027] Figure 4 It is a flowchart of a decoding method provided in an embodiment of the present application.
[0028] Figure 5 It is a flow chart of a method for determining a target temperature value provided in an embodiment of the present application.
[0029] Figure 6 It is a flow chart of a water outlet control method provided in an embodiment of the present application.
[0030] Figure 7 It is a flow chart of a method for updating a target water output provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-7 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0032] The present application embodiment discloses a structural block diagram of a drinking water device. Figure 1 The drinking water device includes a sensing device 110 and a water outlet 120 .
[0033] The sensing device 110 is used to identify the sensing identification element, and the sensing device 110 is arranged directly below the water outlet 120. In some embodiments, the sensing device 110 is implemented based on radio frequency identification technology or near field communication technology. Figure 1 , a sensing identification element 131 is provided at the bottom of the water cup 130. When the water cup 130 is placed directly below the water outlet 120, the sensing device 110 can identify the sensing identification element 131 and determine the identity tag corresponding to the sensing identification element 131. When the identity tag matches the built-in tag, the water outlet 120 starts to discharge water. Users correspond to identity tags one by one, for example, user A corresponds to identity tag 1, and user B corresponds to identity tag 2.
[0034] In some embodiments, the drinking water device further includes a first button 140 and a second button 150. The first button 140 is used to control the water discharge from the first water tank, and the second button 150 is used to control the water discharge from the second water tank. The temperature of the water inside the first water tank is greater than the temperature of the water inside the second water tank. For example, the first water tank stores hot water, and the second water tank stores cold water. In some embodiments, in response to the operation of simultaneously triggering the first button 140 and the second button 150, the first water tank and the second water tank are controlled to discharge water simultaneously.
[0035] In some embodiments, the drinking water device further includes an optional recycling device 160, which includes a sensing device 161, a movable door 162, and a recycling water tank 163. The sensing device 161 is used to control the opening or closing of the movable door 162. For example, in response to the sensing device 161 identifying the sensing identification element 131 and determining that the identity tag corresponding to the sensing identification element 131 matches the built-in tag, the movable door 162 is opened; after a preset time, the movable door 162 is closed. The recycling water tank 163 is used to store the user's drinking water. For example, after the sensing identification element 131 opens the movable door 162, the user can pour water into the recycling water tank 163.
[0036] In some embodiments, the drinking water device further includes a display screen 170. In some embodiments, the display screen 170 can display the drinking times and total drinking volume of each user. For example, since the identity tag corresponds to the user one-to-one, the drinking water device counts the drinking times and total drinking volume of the identity tag in one day, and can determine the drinking times and total drinking volume of the user corresponding to the identity tag in one day. In some embodiments, the display screen 170 can also display at least one of the water temperature of the first water tank, the remaining water volume of the first water tank, the water temperature of the second water tank, and the remaining water volume of the second water tank.
[0037] The present application embodiment discloses a flow chart of a control method for a drinking water device. Figure 2 The method includes: step S210: reading an identity tag from a sensing identification element, where the sensing identification element is located at the bottom of the cup.
[0038] In other embodiments, the sensing identification element may also be located at other locations such as the cup wall and the cup mouth.
[0039] In some embodiments, when the inductive identification element is close to the inductive device on the drinking water equipment, the inductive identification element will receive the radio frequency signal emitted by the inductive device. After receiving the radio frequency signal, the inductive identification element will return the identity tag to the inductive device.
[0040] Step S220: when the identity tag matches the built-in tag, the water output parameters are obtained according to the identity tag, and the water output parameters include a target water output volume and a target temperature value.
[0041] The built-in tag is an identity tag that allows the use of the drinking water device, and the built-in tag that the drinking water device can store in advance. In some other embodiments, if the identity tag does not match the built-in tag, the drinking water device does not produce water.
[0042] In some embodiments, the present application can also set water output parameters through the server so that the user can modify the water output and temperature value each time on the client, thereby improving the intelligence of the drinking water device, simplifying the user operation, and facilitating the user to get water. The water output parameter setting method includes steps S301 to S305, and the specific contents are as follows: Step S301: searching for local water output parameters in the local memory according to the identity tag.
[0043] The local memory stores a first correspondence between the identity tag and the local water output parameter. The drinking water device can search for the local water output parameter corresponding to the identity tag through the first correspondence.
[0044] Step S302: Send the identity tag to the server.
[0045] The drinking water device sends the identity tag to the server via wired transmission or wireless transmission.
[0046] Step S303: receiving the cloud water outflow parameter returned by the server, where the cloud water outflow parameter is provided by the client corresponding to the identity tag.
[0047] The cloud water outflow parameter is obtained by the server after receiving the identity tag. Exemplarily, the server stores a second correspondence between the identity tag and the cloud water outflow parameter. The server can search for the cloud water outflow parameter corresponding to the identity tag through the aforementioned second correspondence.
[0048] In some embodiments, the user can update the cloud water output parameters on the server. Exemplarily, the client obtains the cloud water output parameters input by the user; in response to the sending operation, the client sends the cloud water output parameters to the server; the server receives the cloud water output parameters and determines the identity tag according to the client; the server updates the cloud water output parameters corresponding to the identity tag. In some embodiments, the server can determine the client according to the sending address of the cloud water output parameters, or, when sending the cloud water output parameters, the client will also send the client identification for the server to confirm the client. Therefore, the user can set the water output and water temperature of the drinking water device each time on the mobile phone, realize the remote operation of the drinking water device, and facilitate the user to drink water.
[0049] In some embodiments, a graphic code is also provided on the induction identification element, and the graphic code is used to represent the identity tag, and the graphic code is a QR code or a barcode. Optionally, in response to the client scanning the graphic code, the correspondence between the client and the identity tag is recorded; the client sends the aforementioned correspondence to the server. Therefore, the user can bind the client and the water cup by scanning the graphic code.
[0050] In some embodiments, at every preset time period, the drinking water device counts the drinking water parameters of the identity tag within the preset time period, and the drinking water parameters include at least one of the number of drinking times, the total amount of water drunk, and the drinking water temperature; the drinking water device sends the drinking water parameters to the server; the server generates a drinking water report based on the drinking water parameters, and sends the drinking water report to the client corresponding to the identity tag. In a specific scenario, the present application can be applied in a kindergarten, and the drinking water device can count the total amount of water drunk per child per day, and send the total amount of water drunk to the server. The server generates a drinking water report based on the total amount of water drunk, and sends the drinking water report to parents and teachers. The drinking water report is used to indicate whether the total amount of water drunk per child per day is sufficient.
[0051] In some embodiments, considering that the cloud water outflow parameters may be disturbed during the transmission process, so that the server cannot correctly read the cloud water outflow parameters, it is necessary to encode the cloud water outflow parameters to obtain a parameter sequence, and perform error correction and decoding on the server side. Figure 4The decoding method includes steps S401 to S404, and the specific contents are as follows: Step S401: receiving a parameter sequence sent by a server, where the parameter sequence is obtained by multiplying a coding matrix by a cloud-side water output parameter.
[0052] In some embodiments, when generating a parameter sequence, it is necessary to set the cloud water outlet parameter to the form of a column vector to obtain a coding column vector. In order for the water dispenser to detect the position where the parameter sequence is erroneous, a preset test parameter can be added to each cloud water outlet parameter in advance. Among them, the coding matrix is composed of a unit matrix and a Vandermonde matrix (vandermondematrix), with the unit matrix above the coding matrix and the Vandermonde matrix below. Among them, the number of rows of the unit matrix is the same as the number of rows of the cloud water outlet parameter in the form of a column vector. The number of rows of the Vandermonde matrix can be adjusted according to actual needs. The larger the number of rows of the Vandermonde matrix, the stronger the error correction capability of the decoding side, but the greater the computational burden. Afterwards, the product of the coding matrix and the coding column vector is calculated to obtain the parameter sequence.
[0053] For example, the cloud water outflow parameters are recorded as k1 and k2, and the test parameters p1 and p2 are added to the cloud water outflow parameters. Then the cloud water outflow parameters with the added test parameters are recorded as (k1, p1) and (k2, p2). For the convenience of subsequent explanation, let a1 = (k1, p1), a2 = (k2, p2), then the encoding column vector is [a1, a2] T , and the encoding matrix can be recorded as c1 and c2 are elements in the Vandermonde matrix. Calculate the product of the encoding matrix and the encoding column vector to get the parameter sequence [a1, a2, d1] T , d1=a1c1+a2c2.
[0054] Step S402: Calculate the product of the error correction matrix and the parameter sequence to obtain an error correction sequence. The length of the error correction sequence is the same as the length of the parameter sequence. The error correction sequence is used to indicate the position of the erroneous parameter in the parameter sequence.
[0055] In some embodiments, due to the properties of the unit matrix and the Vandermonde matrix, the encoding matrix is a reversible matrix. Therefore, the error correction matrix can be the inverse matrix of the encoding matrix. Optionally, the product of the error correction matrix and the parameter sequence is calculated, that is, the parameter sequence is decoded to obtain a decoding sequence; the difference between the test parameters in the decoding sequence and the preset test parameters is compared; if the two are exactly the same, it means that the parameter sequence is normal and the correct cloud water discharge parameters can be extracted from the decoding sequence; if the two are different, it means that there is an error in the parameter sequence, and an error correction sequence is generated according to different test parameters. For example, the error correction sequence is [1,0,1] T , it means that the parameters of the first and third rows are normal, but the parameters of the second row are abnormal.
[0056] Step S403: deleting row elements of the coding matrix according to the error correction sequence to obtain an error correction matrix, and deleting row elements of the parameter sequence according to the error correction sequence to obtain an error correction parameter sequence.
[0057] In some embodiments, if the error correction sequence is [1,0,1] T , the parameter sequence is [a1,a2,d1] T , the encoding matrix is Then delete the row elements of the second row in the encoding matrix, and the error correction matrix is Delete the row element of the second row in the parameter sequence, and get the error correction parameter sequence [a1, d1] T .
[0058] Step S404: Obtain the cloud-end water parameters according to the product of the inverse matrix of the error correction matrix and the error correction parameter sequence.
[0059] Due to the characteristics of the Vandermonde matrix, the product of the inverse matrix of the error correction matrix and the error correction parameter sequence is the column vector form of the cloud-level water discharge parameter. For example, if the error correction matrix is The error correction parameter sequence is [a1, d1] T , then
[0060] In summary, the decoding method provided in the present application can perform error detection and error correction on the parameter sequence. Even if an error occurs in the parameter sequence during the transmission process, the correct cloud water output parameters can still be obtained.
[0061] Step S304: when the local water outflow parameter and the cloud water outflow parameter are inconsistent, the cloud water outflow parameter is used as the water outflow parameter.
[0062] When the local water output parameters are inconsistent with the cloud water output parameters, the cloud water output parameters are discarded.
[0063] Step S305: Use the cloud water output parameters to update the local water output parameters in the local storage.
[0064] The drinking water device updates the local water output parameters in the local storage to the cloud water output parameters.
[0065] In some embodiments, the user only wants to change the water outlet temperature each time within a short period of time. For example, the weather turns hot in a few days, and the user only needs to drink cold water in these few days, or the user is unwell and needs to drink hot water within a short period of time. Then, a parameter validity period can be added to the cloud water outlet parameter, and a timestamp can be generated based on the sum of the parameter validity period and the cloud water outlet parameter generation time. After the drinking water device uses the cloud water outlet parameter to update the local water outlet parameter in the local storage, the drinking water device detects the time difference between the timestamp and the current time at a preset time point. If the time difference is greater than zero, the local water outlet parameter is kept unchanged. If the time difference is less than or equal to zero, the local water outlet parameter is updated.
[0066] For example, suppose the timestamp represents 12:00 on March 4. After the drinking water device updates the local water output parameter in the local storage from A to B, the drinking water device detects the time difference between the timestamp and the current time at 0:00 every day. If the time difference is greater than zero, the local water output parameter is kept unchanged at B. If the time difference is less than or equal to zero, the local water output parameter is updated to A.
[0067] In summary, this method obtains the cloud water output parameters provided by the client, so that the user can modify the water output parameters through the client, providing the user with a personalized water output method. It can also realize the method of remotely setting the water output method, providing an intelligent water output method.
[0068] In other embodiments of the present application, in addition to the user setting the temperature value of each water outlet, the drinking water device can also determine the target temperature value according to the user's drinking habits at different ambient temperatures. The method for determining the target temperature value includes steps S501 to S504, and the specific contents are as follows: Step S501: Counting the water outlet temperature set of the identity tag within a preset time period, where the water outlet temperature set is composed of temperature data pairs, and the temperature data pairs include the time and temperature value of each water outlet.
[0069] The time of each water dispensing refers to the time point at which the water dispenser dispenses water each time. For example, the time of each water dispensing includes 8:30, 15:00 and 17:45.
[0070] Step S502: Acquire an ambient temperature variation curve within a preset time period, where the ambient temperature variation curve is used to represent the corresponding relationship between time and ambient temperature.
[0071] The horizontal axis of the ambient temperature change curve is time, and the vertical axis is ambient temperature.
[0072] Step S503: Generate a water temperature curve according to the outlet water temperature set and the ambient temperature change curve, where the water temperature curve is used to represent the corresponding relationship between the ambient temperature and the target temperature value.
[0073] In some embodiments, candidate temperature data pairs in the outlet water temperature set are obtained. According to the time corresponding to the candidate temperature data pairs, the ambient temperature is searched in the ambient temperature change curve. The ambient temperature is used as the horizontal coordinate, and the temperature value corresponding to the candidate temperature data pair is used as the vertical coordinate to form a discrete point. With the goal of traversing each temperature data pair in the outlet water temperature set, the above three steps are repeated to obtain a discrete point set. Each discrete point in the discrete point set is fitted to obtain a water temperature curve.
[0074] Optionally, in actual scenarios, the distribution of discrete points is irregular and it is not easy to form a fitting curve. Therefore, the application may also perform clustering operations on the discrete points to obtain cluster groups, so that discrete points with similar properties are divided into the same group; generate the center point of each cluster group; fit each center point to obtain a water temperature curve. In some embodiments, the mean of the horizontal coordinates of each discrete point in the cluster group is calculated to obtain the horizontal coordinate of the center point; the mean of the horizontal coordinates of each discrete point in the cluster group is calculated to obtain the vertical coordinate of the center point.
[0075] Step S504: searching and storing the target temperature value in the water temperature curve according to the current ambient temperature.
[0076] The drinking water device searches for a target temperature value in the water temperature curve according to the current ambient temperature, and stores the target temperature value in a local memory.
[0077] In summary, this method automatically generates a temperature value according to the ambient temperature, so that the drinking water device can discharge water according to the temperature value, which caters to the needs of users. Users do not need to manually adjust the water temperature, which simplifies the user's operation.
[0078] Step S230: Control the water output of the drinking water device according to the water output parameters.
[0079] In some embodiments, a flow sensor is provided at the water outlet of the drinking water device, and the drinking water device monitors the water output through the flow sensor, and stops discharging water when the water output reaches a target water output.
[0080] This embodiment also provides a water output control method, so that the water dispenser can control the water output and the temperature value at the same time. The water output control method includes steps S601 to S608, and the specific contents are as follows: Step S601: obtaining a first temperature of a first water tank and a second temperature of a second water tank in a drinking water device, wherein the first temperature is greater than the second temperature.
[0081] Temperature sensors are provided inside the first water tank and the second water tank, and the first temperature and the second temperature can be acquired by the temperature sensors.
[0082] Step S602: Calculate the difference between the first temperature and the second temperature to obtain a temperature difference value.
[0083] Exemplarily, assuming that the first temperature is T1 and the second temperature is T2, the temperature difference ΔT= T1 - T2.
[0084] Step S603: Calculate the ratio of the target water output and the temperature difference to obtain the target physical quantity.
[0085] For example, assuming the target water output is V0, the target physical quantity is
[0086] Step S604: Obtain a first water volume according to the target temperature value, the second temperature value and the target physical quantity.
[0087] For example, the target temperature is T0, and the first water volume is
[0088] Step S605: Calculate the difference between the first water volume and the error water volume to obtain the first water output volume.
[0089] The error water volume is a preset value. In some embodiments, the error water volume takes any value between 10 ml and 100 ml.
[0090] For example, let the error water volume be V, then the first water volume
[0091] Step S606: Obtain a second water volume according to the target temperature value, the first temperature value and the target physical quantity.
[0092] For example, the target temperature is T0, and the second water volume is
[0093] Step S607: Calculate the sum of the second water volume and the error water volume to obtain the second water output volume.
[0094] For example, let the error water volume be V, then the second water volume
[0095] Step S608: controlling the water outflow from the first water tank with the first water outflow, and controlling the water outflow from the second water tank with the second water outflow.
[0096] In summary, this method can realize automatic control of water temperature and water volume, and also sets the error water volume to control the water temperature to prevent the water temperature from being too high and scalding the user.
[0097] In some embodiments, the user cannot drink all the drinking water poured each time, which will cause a waste of water resources. Therefore, this embodiment also adds a recycling device to the drinking water device to recycle the drinking water, and the recycling device can also correct the actual drinking water volume of the user, thereby updating the target water output. The method for updating the target water output includes steps S701 to S705, and the specific contents are as follows: Step S701: In response to the recycling device detecting the sensing identification element, the identity tag is determined according to the sensing identification element, and the recycling device is turned on.
[0098] In some embodiments, the recycling device further comprises a sensing device, and the sensing device is used to sense the identification element.
[0099] Step S702: Calculate the amount of recovered water according to the mass change of the recovery device.
[0100] Among them, the amount of recycled water corresponds to the identity tag.
[0101] In some other embodiments, the amount of recovered water may also be calculated based on changes in the liquid level of the recovery device.
[0102] Step S703: Calculate the difference between the target water output and the recovered water volume to obtain the actual water intake.
[0103] The drinking water equipment calculates the difference between the target water output and the recycled water volume to obtain the actual drinking water volume.
[0104] Step S704: Calculate the mean and variance of the actual water drinking amount of the identity tag in the most recent n times, where n is a preset value.
[0105] In some embodiments, the variance may also be replaced by standard deviation, mean absolute deviation, mean difference, or other parameters used to represent the degree of dispersion of the actual water intake.
[0106] Step S705: If the variance is less than the preset value, the target water output is updated using the mean.
[0107] When the variance is less than the preset value, it means that the actual amount of water the user drinks each time is relatively stable, and the mean can be used instead of the target water output.
[0108] In some embodiments, if the variance is greater than or equal to a preset value, the target water output is not updated.
[0109] In a specific application scenario of this embodiment, the sensing identification element is set at the bottom of the children's water cup. When the children put the water cup on the sensing device of the drinking water device, water can be automatically discharged without the need for other operations by the children. This can not only simplify the operation and improve the intelligence, but also ensure the safety of the drinking water device. Different water output and temperature values can be set for different children, providing a personalized water discharge method.
[0110] In summary, the control method of the drinking water device can determine the identity of the user through the induction recognition element arranged at the bottom of the cup to realize automatic water discharge. Moreover, the water output and water temperature are automatically determined without user operation, which can effectively simplify the user's operation and is friendly to special groups of people.
[0111] Based on the same inventive concept, an embodiment of the present invention provides a control system for a drinking water device, including: An acquisition module is used to acquire identity tags, outlet water parameters, outlet water temperature sets, ambient temperature change curves, local outlet water parameters, cloud outlet water parameters, parameter sequences, first temperatures, second temperatures, and quality changes; A memory, used to store a program of the control method of the drinking water device as described in the above embodiment; The program in the processor and the memory can be loaded and executed by the processor to implement the control method of the drinking water equipment as described in the above embodiment.
[0112] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0113] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute a method for controlling a drinking water device.
[0114] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0115] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute a method for controlling a drinking water device.
[0116] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0117] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
Claims
1. A method for controlling a drinking water device, characterized in that: include: Reading the identity tag from the inductive identification element, the inductive identification element being located at the bottom of the cup; When the identity tag matches the built-in tag, obtaining water output parameters according to the identity tag, the water output parameters including a target water output volume and a target temperature value; The water output of the drinking water device is controlled according to the water output parameter.
2. The control method of the drinking water equipment according to claim 1, characterized in that: The method further comprises: Counting the water outlet temperature set of the identity tag within a preset time period, the water outlet temperature set is composed of temperature data pairs, and the temperature data pair includes the time and temperature value of each water outlet; Acquire an ambient temperature change curve within the preset time period, wherein the ambient temperature change curve is used to represent a corresponding relationship between time and ambient temperature; Generate a water temperature curve according to the outlet water temperature set and the ambient temperature change curve, wherein the water temperature curve is used to represent the corresponding relationship between the ambient temperature and the target temperature value; The target temperature value is searched and stored in the water temperature curve according to the current ambient temperature.
3. The control method of the drinking water equipment according to claim 2, characterized in that: The step of generating a water temperature curve according to the outlet water temperature and the ambient temperature change curve comprises: Acquire candidate temperature data pairs in the outlet water temperature set; According to the time corresponding to the candidate temperature data pair, searching for the ambient temperature in the ambient temperature change curve; The ambient temperature is used as the abscissa and the temperature value corresponding to the candidate temperature data pair is used as the ordinate to form discrete points; With the goal of traversing each temperature data pair in the outlet water temperature set, repeat the above three steps to obtain a discrete point set; The water temperature curve is obtained by fitting each discrete point in the discrete point set.
4. The control method of the drinking water equipment according to claim 1, characterized in that: The obtaining of the water output parameter according to the identity tag includes: Searching for local water output parameters in a local memory according to the identity tag; Sending the identity tag to a server; receiving a cloud water outflow parameter returned by the server, wherein the cloud water outflow parameter is provided by a client corresponding to the identity tag; When the local water outflow parameter is inconsistent with the cloud water outflow parameter, the cloud water outflow parameter is used as the water outflow parameter; The local water output parameter in the local memory is updated using the cloud water output parameter.
5. The method according to claim 4, characterized in that The receiving the cloud water output parameter returned by the server includes: receiving a parameter sequence sent by the server, wherein the parameter sequence is obtained according to the product of a coding matrix and the cloud-side water output parameter; Calculate the product of an error correction matrix and the parameter sequence to obtain an error correction sequence, wherein the length of the error correction sequence is the same as the length of the parameter sequence, and the error correction sequence is used to indicate the position of an erroneous parameter in the parameter sequence; Deleting row elements of the encoding matrix according to the error correction sequence to obtain an error correction matrix, and deleting row elements of the parameter sequence according to the error correction sequence to obtain an error correction parameter sequence; The cloud-end water output parameter is obtained according to the product of the inverse matrix of the error correction matrix and the error correction parameter sequence.
6. The control method of the drinking water equipment according to claim 1, characterized in that: The step of controlling the water output of the drinking water device according to the water output parameter comprises: Acquire a first temperature of a first water tank and a second temperature of a second water tank in the drinking water device, wherein the first temperature is greater than the second temperature; calculating a difference between the first temperature and the second temperature to obtain a temperature difference; Calculate the ratio of the target water output and the temperature difference to obtain a target physical quantity; Obtaining a first water volume according to the target temperature value, the second temperature value and the target physical quantity; Calculate the difference between the first water volume and the error water volume to obtain a first water output; obtaining a second water volume according to the target temperature value, the first temperature value and the target physical quantity; Calculate the sum of the second water volume and the error water volume to obtain a second water output; The water output of the first water tank is controlled by the first water output, and the water output of the second water tank is controlled by the second water output.
7. The control method of the drinking water equipment according to claim 1, characterized in that: The method further comprises: In response to the recovery device detecting the sensing identification element, determining the identity tag according to the sensing identification element, and starting the recovery device; Calculating the amount of recovered water according to the mass change of the recovery device; Calculate the difference between the target water output and the recycled water volume to obtain the actual drinking water volume; Calculate the mean and variance of the actual water intake of the identity tag in the most recent n times, where n is a preset value; If the variance is smaller than a preset value, the target water output is updated using the mean.
8. A control system for drinking water equipment, characterized in that: include: An acquisition module is used to acquire identity tags, outlet water parameters, outlet water temperature sets, ambient temperature change curves, local outlet water parameters, cloud outlet water parameters, parameter sequences, first temperatures, second temperatures, and quality changes; A memory for storing a program of a control method for a drinking water device according to any one of claims 1 to 7; The program in the memory can be loaded and executed by the processor to implement the control method of the drinking water equipment as claimed in any one of claims 1 to 7.
9. An intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes any one of the methods of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 7.
Citation Information
Cited By
Temperature control method and system for water dispenser
CN119311054A
