Temperature detection method and device, storage medium and drinking water equipment

By obtaining the historical water temperature and duration of the liquid in the hot tank dispenser, and combining preset cooling parameters, the target water temperature of the liquid is determined, the problem of inaccurate liquid temperature detection is solved, and the accuracy of temperature control and user experience is improved.

CN120130825APending Publication Date: 2025-06-13FOSHAN SHUNDE MIDEA WATER DISPENSER MFG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510209682.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

The prior art is difficult to accurately obtain the temperature of the liquid in the hot tank dispenser, especially when the liquid temperature is layered, resulting in inaccurate heating control.

Method used

By obtaining the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment, combined with the preset cooling parameters of the liquid, the target water temperature of the liquid at the first moment is determined, thereby improving the accuracy of temperature detection.

Benefits of technology

It improves the accuracy of drinking water equipment to detect liquid temperature, ensures that the liquid temperature reaches the preset value, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120130825A_ABST
    Figure CN120130825A_ABST
Patent Text Reader

Abstract

The invention discloses a temperature detection method and device, a storage medium and drinking equipment, and the method comprises the steps: if a first water level of liquid in a hot tank of the drinking equipment at a first moment is smaller than a first preset water level, obtaining a historical water temperature of the liquid at a second moment and a duration from the second moment to the first moment, the second moment is the historical moment when the liquid leaves the first preset water level and is closest to the first moment, and the target water temperature of the liquid at the first moment is determined on the basis of the historical water temperature and the duration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of household appliances, and particularly to a temperature detection method, device, storage medium, and drinking water equipment. Background Art

[0002] Nowadays, with the continuous development of the technology level, the types of drinking fountains are also constantly enriched, including hot-tank drinking fountains that can store heated liquid for users to obtain hot water at any time. However, there is a temperature stratification phenomenon in the stored liquid. Therefore, how to accurately obtain the temperature of the liquid stored in the hot-tank drinking fountain has become an urgent problem to be solved. Summary of the Invention

[0003] This specification provides a temperature detection method, device, storage medium, and drinking water equipment. This method can obtain the target water temperature of the liquid by considering the water temperature change of the liquid, based on the temperature change duration of the liquid and the historical water temperature, thereby improving the accuracy of the drinking water equipment in detecting the liquid temperature.

[0004] In a first aspect, a temperature detection method is provided, which is applied to a drinking water equipment. The method includes:

[0005] If the first water level of the liquid in the hot tank of the drinking water equipment at a first moment is less than a first preset water level, obtain the historical water temperature of the liquid at a second moment and the duration from the second moment to the first moment. The second moment is the historical moment when the liquid leaves the first preset water level and is the closest to the first moment;

[0006] Based on the historical water temperature and the duration, determine the target water temperature of the liquid at the first moment.

[0007] Through the above technical solution, when the first water level of the liquid in the hot tank at the first moment is less than the first preset water level, the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment can be obtained, and the target water level of the liquid in the hot tank can be determined. Thus, by considering the water temperature change of the liquid, based on the temperature change duration of the liquid and the historical water temperature, the target water temperature of the liquid can be obtained, thereby improving the accuracy of the drinking water equipment in detecting the liquid temperature.

[0008] In combination with the first aspect, in some possible implementation manners, a temperature sensor is provided in the hot tank, and the temperature sensor is disposed at the first preset water level. The obtaining the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment includes:

[0009] Determine the second moment when the liquid drops from the first preset water level to a level lower than the first preset water level and is the closest to the first moment;

[0010] Obtain the historical water temperature of the liquid at the second moment, where the historical water temperature is the temperature detected by the temperature sensor at the second moment;

[0011] Based on the first moment and the second moment, determine the duration from the second moment to the first moment.

[0012] Through the above technical solution, it is possible to determine the accurate historical water temperature detected by the temperature sensor according to the change situation and the change moment of the water level, and determine the duration when the water level is lower than the first preset water level, so as to facilitate subsequent determination of the water temperature based on the historical water temperature and the continuous duration, and improve the accuracy of the drinking water equipment in detecting the liquid temperature.

[0013] Combined with the first aspect, in some possible implementation manners, the determining the target water temperature of the liquid at the first moment based on the historical water temperature and the duration includes:

[0014] Determine the preset cooling parameter of the liquid;

[0015] Based on the preset cooling parameter, the historical water temperature and the duration, determine the target water temperature of the liquid at the first moment.

[0016] Through the above technical solution, the target water temperature of the liquid at the first moment is determined according to the preset cooling parameter, the historical water temperature and the duration of the liquid, so as to improve the accuracy of the water temperature according to the change situation of the water temperature and the accurate historical water temperature.

[0017] Combined with the first aspect, in some possible implementation manners, the determining the preset cooling parameter of the liquid includes:

[0018] Determine the liquid type of the liquid, and determine the preset cooling parameter corresponding to the liquid type.

[0019] Through the above technical solution, the preset cooling parameter can be determined according to the liquid type of the liquid, so as to realize the preset cooling parameter according to the liquid type to accurately calculate the target water temperature of the liquid and improve the accuracy of the drinking water equipment in detecting the liquid temperature.

[0020] Combined with the first aspect, in some possible implementation manners, the determining the target water temperature of the liquid at the first moment based on the preset cooling parameter, the historical water temperature and the duration includes:

[0021] Based on the preset cooling parameter and the duration, obtain the temperature change value of the liquid;

[0022] Perform a difference process on the historical water temperature and the temperature change value to obtain the target water temperature of the liquid at the first moment.

[0023] Through the above technical solution, the temperature change value is determined according to the preset cooling parameter and duration of the liquid, and the target water temperature of the liquid at the first moment is determined according to the historical water temperature and the temperature change value, so as to improve the accuracy of the water temperature according to the change of the water temperature and the accurate historical water temperature.

[0024] In combination with the first aspect, in some possible implementation manners, if the first water level of the liquid at the first moment is greater than or equal to the first preset water level, the temperature detected by the temperature sensor is determined as the target water temperature of the liquid at the first moment.

[0025] Through the above technical solution, when the first water temperature of the liquid is greater than or equal to the first preset water level, the temperature obtained by reading the temperature sensor can be determined as the target water temperature of the liquid, so as to ensure the accuracy of the target water temperature of the detected liquid according to the accurate temperature detected by the temperature sensor.

[0026] In combination with the first aspect, in some possible implementation manners, if the second water level of the liquid is lower than the second preset water level and the drinking water device is not in the water intake state, the liquid is input into the hot water tank to the first preset water level based on the water replenishing branch in the drinking water device;

[0027] The liquid is heated to a preset temperature based on the heating element in the hot water tank;

[0028] Wherein, the second preset water level is less than the first preset water level.

[0029] Through the above technical solution, when the liquid in the hot water tank is lower than the second preset water level, the liquid is input into the hot water tank based on the water replenishing branch, so as to timely supplement the liquid in the hot water tank, and the liquid is heated according to the heating element, so as to ensure that the liquid storage in the hot water tank is sufficient and the temperature of the liquid reaches the preset temperature, and further facilitate the user to take out the liquid meeting the temperature requirement and improve the user experience.

[0030] In a second aspect, a temperature detection device is provided, and the device includes:

[0031] A data acquisition unit, configured to, if the first water level of the liquid in the hot water tank of the drinking water device is less than the first preset water level, acquire the historical water temperature of the liquid at a second moment and the duration from the second moment to the first moment, where the second moment is the historical moment when the liquid leaves the first preset water level and is the closest to the first moment;

[0032] A water temperature determination unit, configured to determine the target water temperature of the liquid at the first moment based on the historical water temperature and the duration.

[0033] Thirdly, an embodiment of this specification provides a computer storage medium storing multiple instructions adapted to be loaded and executed by a processor to perform the steps of the above method.

[0034] Fourthly, an embodiment of this specification provides a drinking water device, including: a processor and a memory; wherein, the memory stores a computer program adapted to be loaded and executed by the processor to perform the steps of the above method. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] To more clearly illustrate the technical solutions in this specification or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of this specification. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0036] Figure 1 It is a system architecture diagram of a temperature detection method provided by an embodiment of this specification;

[0037] Figure 2 It is a schematic flowchart of a temperature detection method provided by an embodiment of this specification;

[0038] Figure 3 It is a schematic flowchart of a temperature detection method provided by an embodiment of this specification;

[0039] Figure 4 It is an example schematic diagram of the structure of a drinking water device provided by an embodiment of this specification;

[0040] Figure 5 It is a schematic structural diagram of a temperature detection device provided by an embodiment of this specification;

[0041] Figure 6 It is a schematic structural diagram of a drinking water device provided by an embodiment of this specification. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0042] To make the features and advantages of this specification more obvious and understandable, the following will clearly and completely describe the technical solutions in this specification in conjunction with the drawings in this specification. Obviously, the described embodiments are only some embodiments of this specification, rather than all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope protected by this specification.

[0043] Please refer to Figure 1 , which is a system architecture diagram of a temperature detection method provided by an embodiment of this specification. As Figure 1As shown in the figure, the temperature detection method provided in the embodiments of this specification can be applied to a drinking water device to detect the temperature of the liquid in the hot water tank of the drinking water device. The system architecture provided in the embodiments of this specification mainly includes a drinking water device 1. The drinking water device 1 includes a hot water tank 20. The hot water tank 20 includes a temperature sensor 237 and a first water level probe 233. The drinking water device 1 can be a device with a drinking water access function and a purification function, such as a water purifier, etc., to input the purified liquid into the hot water tank 20; the hot water tank 20 can be a component in the drinking water device 1 for storing and heating the liquid. The temperature sensor 237 can be a component for detecting the temperature of the liquid in the hot water tank 20, such as a thermometer, etc.; the first water level probe 233 can be a water level probe in the hot water tank 20 for judging whether the liquid reaches the first preset water level. If the needle of the first water level probe 233 is immersed in the liquid, it is considered that the liquid reaches the first preset water level.

[0044] In the related art, during the process of detecting the temperature of the liquid in a hot water tank type drinking machine, if the method adopted is to set the temperature sensor at the bottom of the hot water tank, it will cause the obtained temperature to be too low, and the heating will be triggered by mistake, resulting in the hot water tank being overheated; if it is set at the top or in the middle, since the temperature sensor cannot be completely immersed in the liquid, the detected temperature is inaccurate.

[0045] In the embodiments of this specification, when the drinking water device 1 detects the temperature of the liquid in the hot water tank 20, if it is determined according to the first water level probe 233 that the first water level of the liquid in the hot water tank 20 at the first moment is lower than the first preset water level, the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment are obtained. The second moment is the historical moment when the liquid leaves the first preset water level and is the closest to the first moment. The historical water temperature can be the temperature detected by the temperature sensor 237 at the historical moment. Based on the historical water temperature and the duration, the target water temperature of the hot water tank 20 at the first moment is determined. Thus, by considering the change of the water temperature of the liquid, according to the temperature change duration of the liquid and the historical water temperature, the target water temperature of the liquid is obtained, thereby improving the accuracy of the drinking water device in detecting the liquid temperature.

[0046] Based on Figure 1 the system architecture shown, the temperature detection method provided in the embodiments of this specification will be introduced in detail below in combination with Figure 2 .

[0047] Please refer to Figure 2 , which is a schematic flowchart of a temperature detection method provided in the embodiments of this specification. As Figure 2 shown, this method is applied to a drinking water device, and this method may include the following steps S101 - step S102.

[0048] S101, if the first water level of the liquid in the hot water tank of the drinking water device at the first moment is lower than the first preset water level, obtain the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment;

[0049] In one embodiment, when the drinking water device measures the water temperature of the liquid in the hot water tank to display the water temperature of the drinking water device, it judges the water level of the liquid in the hot water tank of the drinking water device. If the first water level of the liquid in the hot water tank at the first moment is lower than the first preset water level, obtain the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment. The first moment can be the temperature at which the water temperature of the liquid in the hot water tank is detected. The first water level can be the water level indicating the liquid in the hot water tank at the first moment. The first preset water level can be pre-set in the hot water tank and is used to judge whether the liquid can submerge the temperature sensor. The second moment can be the nearest historical moment when the liquid leaves the first preset water level and the first moment. The duration from the second moment to the first moment can be determined according to the first moment and the second moment.

[0050] It should be noted that the historical water temperature can be the temperature detected at the second moment. Since the second moment is the moment when the liquid leaves the first preset water level, it can be considered that the temperature detected at the second moment is the accurate water temperature.

[0051] S102, based on the historical water temperature and the duration, determine the target water temperature of the liquid at the first moment;

[0052] In one embodiment, based on the obtained historical water temperature and duration, calculate the temperature value decreased by the liquid within the duration from the historical water temperature. According to the historical water temperature and the decreased temperature value, determine the target water temperature of the liquid at the first moment. The target water temperature can be the temperature indicating the liquid at the first moment.

[0053] Specifically, the method for determining the target water temperature can be: determine the temperature change value of the liquid based on the duration, and then obtain the temperature of the liquid after the decreased duration according to the difference between the temperature change value and the historical water temperature, and determine this temperature as the target water temperature of the liquid at the first moment.

[0054] In the embodiments of this specification, by obtaining the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment when the first water level of the liquid in the hot water tank at the first moment is lower than the first preset water level, determine the target water level of the liquid in the hot water tank. Thus, by considering the water temperature change situation of the liquid, according to the temperature change duration of the liquid and the historical water temperature, obtain the target water temperature of the liquid, and further improve the accuracy of the drinking water device in detecting the liquid temperature.

[0055] Please refer to Figure 3 , which provides a flowchart of a temperature detection method for the embodiments of this specification. As Figure 3As shown, this method is applied to a drinking water device, and the method may include the following steps S201 - step S206.

[0056] S201, if the first water level of the liquid in the hot water tank of the drinking water device at the first moment is lower than the first preset water level, it is determined that the liquid has dropped from the first preset water level to a level lower than the first preset water level, and the second moment closest to the first moment;

[0057] In one embodiment, when the drinking water device measures the water temperature of the liquid in the hot water tank to display the water temperature on the drinking water device, according to the first water level probe set in the hot water tank of the drinking water device, the water level where the liquid in the hot water tank is located is determined. If the first water level of the liquid in the hot water tank at the first moment is lower than the first preset water level, it is determined that the liquid has dropped from the first preset water level to a level lower than the first preset water level, and the second moment closest to the first moment. The first water level can represent the water level where the liquid in the hot water tank is located at the first moment, and the first preset water level can be pre - set in the hot water tank for determining whether the liquid can submerge the temperature sensor. The tip of the first water level probe is set at the same height as the first preset water level. Therefore, based on the first water level probe, it can be determined whether the first water level is lower than the first preset water level. Among them, the liquid can be the liquid substance input into the hot water tank, such as pure water, tea, etc.

[0058] Among them, the first moment can be the moment when the water temperature in the hot water tank is detected, specifically, it can be the moment determined according to the temperature update frequency set by the user on the drinking water device for updating the water temperature. For example, if the temperature update frequency is once per minute, the first moment can be the first second of each minute after the drinking water device is started; it can also be the moment when the drinking water device receives operations such as water intake and water replenishment is determined as the first moment, which can be specifically set according to the actual situation.

[0059] It should be noted that since the temperature sensor is set at the bottom of the hot water tank, due to the water temperature stratification phenomenon in the hot water tank, if the drinking water device starts the low - temperature heating function, it may cause the drinking water device to misjudge that the water temperature in the hot water tank is too low, mis - trigger the heating function, resulting in a situation where the temperature of the hot water tank is too high and reducing the service life of the hot water tank.

[0060] Specifically, the method for determining the second moment can be: obtaining at least one historical moment when the liquid drops from the first preset water level to a level lower than the first preset water level, matching each historical moment with the first moment, determining the historical moment closest to the first moment, and determining this historical moment as the second moment. For example, the historical moments recorded on January 1st include "08:00:00", "10:00:00", and "11:30:00", and the first moment is "11:40:00", then it can be determined that the historical moment closest to the first moment is "11:30:00", and "11:30:00" is determined as the second moment.

[0061] S202, obtain the historical water temperature of the liquid at the second moment;

[0062] In one embodiment, obtain the historical water temperature recorded by the liquid at the second moment. The historical water temperature can be the temperature detected by the temperature sensor at the second moment. It can be understood that a temperature sensor is provided in the hot water tank and is set at the first preset water level. Therefore, the temperature detected by the temperature sensor at the second moment can be considered as the accurate water temperature.

[0063] It should be noted that, in order to be able to determine the water temperature at other moments based on the historical water temperature, a feasible method can be: when it is detected by the first water level probe that the liquid in the hot water tank drops from the first preset water level to below the first preset water level, read the temperature detected by the temperature sensor at this historical moment, determine this temperature as the historical water temperature corresponding to this historical moment, and record this historical moment and the historical water temperature corresponding to this historical moment.

[0064] S203, based on the first moment and the second moment, determine the duration from the second moment to the first moment;

[0065] In one embodiment, perform a difference calculation based on the first moment and the second moment to determine the duration from the second moment to the first moment. The duration can be the continuous duration representing the liquid dropping from the first preset water level to less than the first preset water level. The unit of the duration can be set according to the actual situation, for example, it can be minutes, seconds, etc. Since the temperature detected by the temperature sensor at the first moment does not directly contact the temperature of the liquid detected, the duration is used for calculation to improve the accuracy of detecting the water temperature of the liquid.

[0066] Exemplarily, if the first moment is "11:40:00" and the second moment is "11:30:00", then based on the first moment and the second moment, it can be determined that the duration from the second moment to the first moment is 10 minutes.

[0067] S204, determine the liquid type of the liquid, and determine the preset cooling parameter corresponding to the liquid type;

[0068] In one embodiment, since the drinking water device can be used to store multiple liquids, and different liquids have different physical properties, it is necessary to determine the liquid type of the liquid and determine the preset cooling parameter corresponding to the liquid type to improve the accuracy of the water temperature of the liquid calculated subsequently. The preset cooling parameter can be a parameter used to represent the rate of change of the liquid temperature. For example, the preset cooling parameter corresponding to pure water can be 0.2, etc.

[0069] Specifically, if the water replenishment branch in the drinking water device is connected to multiple different liquids, the liquid type of the liquid is determined based on the water storage tank that stores the liquid connected by the water replenishment branch, and then the preset cooling parameter corresponding to the liquid type is determined.

[0070] S205. Obtain the temperature change value of the liquid based on the preset cooling parameter and duration;

[0071] In one embodiment, a product calculation process is performed based on the obtained preset cooling parameter and duration to obtain the temperature change value of the liquid. The temperature change value can be the temperature drop of the liquid within the preset duration.

[0072] Exemplarily, if the duration is 10 minutes and the preset cooling parameter is 0.2, then based on the product process of the preset cooling parameter and the duration, the temperature change value of the liquid is obtained as 2°C.

[0073] It should be noted that for the time units corresponding to different durations, the preset cooling parameter needs to be adjusted adaptively. For example, when the time unit of the duration is minutes, the preset cooling parameter of pure water is 0.2. If the time unit of the duration is seconds, the preset cooling parameter corresponding to pure water is adjusted to 0.003, and the significant figures after adjustment can be set according to the actual situation.

[0074] S206. Perform a difference process on the historical water temperature and the temperature change value to obtain the target water temperature of the liquid at the first moment;

[0075] In one embodiment, the obtained historical water temperature and temperature change value are subjected to a difference process to obtain the target water temperature of the liquid at the first moment. The target water temperature can be the temperature of the liquid at the first moment.

[0076] Exemplarily, if the historical water temperature is 85°C and the temperature change value is 2°C, then after performing a difference process on the historical water temperature and the temperature change value, the obtained target water temperature is 85°C - 2°C = 83°C.

[0077] Furthermore, in order to facilitate the user to view the target water temperature, a feasible method can be: set a temperature display module on the housing of the drinking water device, display the target water temperature in the temperature display module, and when the target water temperature changes, the temperature displayed by the temperature display module is updated accordingly. Among them, the temperature display module can be an independent module set on the drinking water device, or a part of the display area in the display component of the control panel of the drinking water device can be divided as the temperature display module for displaying the target water temperature.

[0078] Further, if the first water level of the liquid at the first moment is greater than or equal to the first preset water level, the temperature detected by the temperature sensor is determined as the target water temperature of the liquid at the first moment. It can be understood that since the first water level of the liquid is greater than or equal to the first preset water level, it can be considered that the temperature sensor is completely immersed in the liquid. Therefore, the temperature read by the temperature sensor can be determined as the target water temperature.

[0079] It should be noted that since the temperature of the liquid may stop decreasing when it reaches the room temperature of the environment where the drinking device is located, a feasible method can be: after reaching the room temperature, if no other operations are performed, the room temperature is determined as the target water temperature of the liquid at the first moment.

[0080] Further, in order to ensure that there is enough liquid in the hot water tank for the user to take out, when the liquid stock in the hot water tank is insufficient, liquid can be input into the hot water tank in time for water replenishment to improve the user experience. Specifically, a feasible method for replenishing water to the hot water tank can be: if the second water level of the liquid is lower than the second preset water level and the drinking device is not in the water-taking state, based on the water replenishment branch in the drinking device, liquid is input into the hot water tank until the first preset water level, and the liquid in the hot water tank is heated to the preset temperature by the heating element in the hot water tank, where the second preset water level is less than the first preset water level. The water replenishment branch can be the branch in the drinking device used for replenishing water to the hot water tank. It can be understood that the first preset water level can be the water level close to the top of the hot water tank, and the second preset water level can be the water level close to the bottom of the hot water tank. For example, if the total capacity of the hot water tank is 1000 milliliters, the first preset water level can be the water level indicating 900 milliliters, and the second preset water level can be 200 milliliters. The specific values of the first preset water level and the second preset water level can be set according to the actual situation; the preset temperature can be the temperature preset by the user. Further, for different types of liquids, the corresponding preset temperature can be set according to the liquid type. For example: if the liquid type is pure water, the corresponding preset temperature of the liquid can be 45°C; if the liquid type is tea, the corresponding preset temperature of the liquid can be 55°C. The preset temperature of the liquid can be set according to the actual situation.

[0081] It should be noted that if the second water level of the liquid is lower than the second preset water level and the drinking device is in the water-taking state, in order to avoid inputting liquid into the hot water tank at this time from reducing the water temperature in the hot water tank, resulting in inaccurate water temperature displayed by the drinking device and the user being unable to take out the liquid with the required water temperature from the drinking device, which affects the user experience.

[0082] It can be understood that if there are multiple water storage tanks for storing liquid in the drinking device, according to the liquid type set by the user, the water replenishment branch is connected to the water storage tank corresponding to the liquid type to input the liquid in the water storage tank into the hot water tank.

[0083] Exemplarily, as Figure 4 shown Figure 4 is the relevant passage for transporting liquid in the drinking water device 1. Figure 4 In it, 20 is the hot water tank in the drinking water device 1, and 214 is the water replenishing branch in the drinking water device 1. Based on the water replenishing branch 214, liquid is extracted from the water storage tank 40 and input into the hot water tank 20 until the needle of the first water level probe 233 in the hot water tank 20 is submerged by the liquid to determine that the liquid level in the hot water tank 20 reaches the first preset water level. Then, the liquid input into the hot water tank 20 is heated by the heater 22 until the liquid reaches the preset temperature. Among them, the water storage tank 40 can be provided with an essence module with a liquid purification function, so that the liquid transmitted to the hot water tank 20 through the water replenishing branch 214 is purified to remove impurities in the liquid consumed by the user. The water storage tank 40 can be a container or a water valve provided with a purification module. According to the water valve and the purification module, the purified liquid is input into the hot water tank 20 through the water replenishing branch 214. The specific structure of the water storage tank 40 can be set according to the actual situation.

[0084] Furthermore, the drinking water device further includes a water intake branch, a return branch, and an exhaust branch. The water intake branch can output the liquid in the hot water tank to the outside of the drinking water device when the user uses the drinking water device to take water; the return branch can be used to return a part of the liquid in the water intake branch to the hot water tank when the user uses the drinking water device to take water; the exhaust branch can be used to balance the air pressure in the hot water tank.

[0085] Specifically, as Figure 4 shown Figure 4 In it, 216 can be the water intake branch in the drinking water device 1. The water intake branch 27 includes a water pump 30 and a solenoid valve 301. The water pump 30 can be used to extract the liquid in the hot water tank 20 and output the liquid to the outside of the drinking water device when the solenoid valve 301 is in the conducting state. Figure 4 In it, 51 can be the return branch in the drinking water device 1. The return branch 51 includes a flow limiter 511. The flow limiter 511 can be used to limit the liquid from flowing back into the hot water tank 20 to reduce the pressure on the water pump 30, thereby reducing the usage loss and failure probability of the water pump 30 and improving the service life and reliability of the water pump 30. Figure 4The 215 in it can be the exhaust branch of the drinking water device. When the drinking water device 1 inputs liquid into the hot water tank 20 according to the water replenishing branch 214, as the liquid in the hot water tank 20 increases, the air pressure in the hot water tank 20 increases accordingly. To balance the air pressure in the hot water tank 20, the gas in the hot water tank 20 is output to the outside of the drinking water device 1 through the exhaust port 24 according to the exhaust branch 215; when the drinking water device 1 outputs the liquid in the hot water tank 20 to the outside of the drinking water device according to the water intake branch 216, as the liquid in the hot water tank 20 decreases, the air pressure in the hot water tank 20 decreases accordingly. To balance the air pressure in the hot water tank, the gas outside the drinking water device 1 is input into the hot water tank 20 through the exhaust port 24 according to the exhaust branch 215.

[0086] It should be noted that, depending on the type of the drinking water device, the functions of each component may vary. Exemplarily, if the water pump in the water intake branch has a bidirectional conduction function, then when taking water, it pumps the liquid in the hot water tank and outputs it to the outside of the drinking water device. Since there is still some liquid in the channel between the water pump and the solenoid valve after the solenoid valve is closed due to the user stopping taking water, the special body can be returned to the hot water tank through the water pump; if the water pump only has a one-way conduction function, in addition to reducing the pressure of the water pump, the return branch can also be used to return the liquid between the water pump and the solenoid valve to the hot water tank after the solenoid valve is closed. It can be specifically set according to the actual situation.

[0087] In the embodiments of this specification, when the first water level of the liquid in the hot water tank at the first moment is lower than the first preset water level, the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment are obtained to determine the target water level of the liquid in the hot water tank. Thus, by considering the change of the water temperature of the liquid, according to the temperature change duration of the liquid and the historical water temperature, the target water temperature of the liquid is obtained, thereby improving the accuracy of the drinking water device in detecting the liquid temperature. Further, by determining the target water temperature of the liquid at the first moment according to the preset cooling parameter, historical water temperature and duration of the liquid, the accuracy of the water temperature is improved according to the change of the water temperature and the accurate historical water temperature; in addition, when the liquid in the hot water tank is lower than the second preset water level, liquid is input into the hot water tank based on the water replenishing branch to timely supplement the liquid in the hot water tank, and the liquid is heated by the heating element, thereby ensuring that the liquid storage in the hot water tank is sufficient and the temperature of the liquid reaches the preset temperature, and further facilitating the user to take out the liquid that meets the temperature requirement and improving the user experience.

[0088] Based on Figure 1 the system architecture shown, the temperature detection device provided in the embodiments of this specification will be introduced in detail below. It should be noted that Figure 5 the temperature detection device in Figure 5 is used to execute the embodiments of this specification Figures 2 to 4For the method of the illustrated embodiment, for the sake of convenience of description, only the parts related to the embodiments of this specification are shown. For the specific technical details not disclosed, please refer to the embodiments of this specification. Figures 2 to 4 The illustrated embodiment.

[0089] Please refer to Figure 5 , which provides a schematic structural diagram of a temperature detection device for the embodiments of this specification. As Figure 5 shown, the temperature detection device 110 of the embodiments of this specification may include: a data acquisition unit 111 and a water temperature determination unit 112.

[0090] The data acquisition unit 111 is configured to, if the first water level of the liquid in the hot water tank of the drinking water device at the first moment is less than the first preset water level, acquire the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment, where the second moment is the historical moment closest to the first moment when the liquid leaves the first preset water level;

[0091] The water temperature determination unit 112 is configured to determine the target water temperature of the liquid at the first moment based on the historical water temperature and the duration.

[0092] Optionally, the data acquisition unit 111 is further configured to:

[0093] Determine the second moment when the liquid drops from the first preset water level to below the first preset water level and is closest to the first moment;

[0094] Acquire the historical water temperature of the liquid at the second moment, where the historical water temperature is the temperature detected by the temperature sensor at the second moment;

[0095] Based on the first moment and the second moment, determine the duration from the second moment to the first moment.

[0096] Optionally, the water temperature determination unit 112 is further configured to:

[0097] Determine the preset cooling parameter of the liquid;

[0098] Based on the preset cooling parameter, the historical water temperature and the duration, determine the target water temperature of the liquid at the first moment.

[0099] Optionally, the water temperature determination unit 112 is further configured to:

[0100] Determine the liquid type of the liquid and determine the preset cooling parameter corresponding to the liquid type.

[0101] Optionally, the water temperature determination unit 112 is further configured to:

[0102] Based on the preset temperature reduction parameter and the duration, obtain the temperature change value of the liquid;

[0103] Perform a difference process on the historical water temperature and the temperature change value to obtain the target water temperature of the liquid at the first moment.

[0104] Optionally, the water temperature determination unit 112 is further configured to:

[0105] If the first water level of the liquid at the first moment is greater than or equal to the first preset water level, determine the temperature detected by the temperature sensor as the target water temperature of the liquid at the first moment.

[0106] Optionally, the temperature detection device 110 further includes a water replenishing unit 113 for:

[0107] If the second water level of the liquid is lower than the second preset water level and the drinking water device is not in a water intake state, based on the water replenishing branch in the drinking water device, input the liquid into the hot water tank to the first preset water level;

[0108] Heat the liquid in the hot water tank to a preset temperature based on the heating element in the hot water tank;

[0109] Wherein, the second preset water level is lower than the first preset water level.

[0110] In the embodiments of the present specification, when the first water level of the liquid in the hot water tank at the first moment is less than the first preset water level, the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment are obtained to determine the target water level of the liquid in the hot water tank. Thus, by considering the water temperature change of the liquid, according to the temperature change duration of the liquid and the historical water temperature, the target water temperature of the liquid is obtained, thereby improving the accuracy of detecting the liquid temperature of the drinking water device. Further, by determining the target water temperature of the liquid at the first moment according to the preset temperature reduction parameter, historical water temperature and duration of the liquid, the accuracy of the water temperature is improved according to the change of the water temperature and the accurate historical water temperature. In addition, when the liquid in the hot water tank is lower than the second preset water level, the liquid is input into the hot water tank based on the water replenishing branch to be able to timely supplement the liquid in the hot water tank, and the liquid is heated according to the heating element, so as to ensure that the liquid storage in the hot water tank is sufficient and the temperature of the liquid reaches the preset temperature, thereby facilitating the user to take out the liquid meeting the temperature requirement and improving the user experience.

[0111] The embodiments of the present specification also provide a computer storage medium, which can store multiple program instructions. The program instructions are suitable for being loaded and executed by a processor to perform the method steps of the above Figures 1 - 4 shown embodiments. The specific execution process can refer to the Figures 1 - 4 specific description of the shown embodiments and will not be elaborated here.

[0112] Please refer to Figure 6 , which provides a schematic structural diagram of a drinking water device for the embodiments of this specification. As Figure 6 shown, the drinking water device 1 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, an input / output interface 1003, a memory 1005, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. As Figure 6 shown, the memory 1004, as a computer storage medium, may include an operating system, an input / output interface module, and a temperature detection application program.

[0113] In Figure 6 the drinking water device 1 shown, the input / output interface 1003 is mainly used to provide an interface for the user to input and obtain the data input by the user.

[0114] In one embodiment, the processor 1001 may be used to call the temperature detection application program stored in the memory 1004 and specifically perform the following operations:

[0115] If the first water level of the liquid in the hot water tank of the drinking water device at the first moment is less than the first preset water level, then obtain the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment, where the second moment is the historical moment when the liquid leaves the first preset water level and is the closest to the first moment;

[0116] Based on the historical water temperature and the duration, determine the target water temperature of the liquid at the first moment.

[0117] Optionally, a temperature sensor is provided in the hot water tank of the processor 1001, and the temperature sensor is set at the first preset water level. When obtaining the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment, the following operations are specifically performed:

[0118] Determine the second moment when the liquid drops from the first preset water level to below the first preset water level and is the closest to the first moment;

[0119] Obtain the historical water temperature of the liquid at the second moment, where the historical water temperature is the temperature detected by the temperature sensor at the second moment;

[0120] Based on the first moment and the second moment, determine the duration from the second moment to the first moment.

[0121] Optionally, when the processor 1001 executes to determine the target water temperature of the liquid at the first moment based on the historical water temperature and the duration, it specifically performs the following operations:

[0122] Determine the preset cooling parameter of the liquid;

[0123] Based on the preset cooling parameter, the historical water temperature, and the duration, determine the target water temperature of the liquid at the first moment.

[0124] Optionally, when the processor 1001 executes to determine the preset cooling parameter of the liquid, it specifically performs the following operations:

[0125] Determine the liquid type of the liquid, and determine the preset cooling parameter corresponding to the liquid type.

[0126] Optionally, when the processor 1001 executes to determine the target water temperature of the liquid at the first moment based on the preset cooling parameter, the historical water temperature, and the duration, it specifically performs the following operations:

[0127] Based on the preset cooling parameter and the duration, obtain the temperature change value of the liquid;

[0128] Perform a difference process on the historical water temperature and the temperature change value to obtain the target water temperature of the liquid at the first moment.

[0129] Optionally, the processor 1001 also performs the following operations:

[0130] If the first water level of the liquid at the first moment is greater than or equal to the first preset water level, then determine the temperature detected by the temperature sensor as the target water temperature of the liquid at the first moment.

[0131] Optionally, the processor 1001 also performs the following operations:

[0132] If the second water level of the liquid is lower than the second preset water level and the drinking water device is not in the water intake state, then based on the water replenishing branch in the drinking water device, input the liquid into the hot water tank to the first preset water level;

[0133] Heat the liquid in the hot water tank to the preset temperature based on the heating element in the hot water tank;

[0134] Wherein, the second preset water level is lower than the first preset water level.

[0135] In the embodiments of this specification, when the first water level of the liquid in the hot water tank at the first moment is lower than the first preset water level, the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment are obtained, and the target water level of the liquid in the hot water tank is determined. Thus, by considering the change of the water temperature of the liquid, the target water temperature of the liquid is obtained according to the temperature change duration of the liquid and the historical water temperature, thereby improving the accuracy of the drinking water device in detecting the liquid temperature. Further, by determining the target water temperature of the liquid at the first moment according to the preset cooling parameter, historical water temperature and duration of the liquid, the accuracy of the water temperature is improved according to the change of the water temperature and the accurate historical water temperature. In addition, when the liquid in the hot water tank is lower than the second preset water level, liquid is input into the hot water tank based on the water replenishing branch so as to timely replenish the liquid in the hot water tank, and the liquid is heated according to the heating element, thereby ensuring that the liquid storage in the hot water tank is sufficient and the temperature of the liquid reaches the preset temperature, and further facilitating the user to take out the liquid meeting the temperature requirement and improving the user experience. When the first water level of the liquid in the hot water tank at the first moment is lower than the first preset water level, the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment are obtained, and the target water level of the liquid in the hot water tank is determined. Thus, by considering the change of the water temperature of the liquid, the target water temperature of the liquid is obtained according to the temperature change duration of the liquid and the historical water temperature, thereby improving the accuracy of the drinking water device in detecting the liquid temperature. Further, by determining the target water temperature of the liquid at the first moment according to the preset cooling parameter, historical water temperature and duration of the liquid, the accuracy of the water temperature is improved according to the change of the water temperature and the accurate historical water temperature. In addition, when the liquid in the hot water tank is lower than the second preset water level, liquid is input into the hot water tank based on the water replenishing branch so as to timely replenish the liquid in the hot water tank, and the liquid is heated according to the heating element, thereby ensuring that the liquid storage in the hot water tank is sufficient and the temperature of the liquid reaches the preset temperature, and further facilitating the user to take out the liquid meeting the temperature requirement and improving the user experience.

[0136] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a magnetic disk, an optical disc, a read-only memory (ROM), a random access memory (RAM), or the like.

[0137] The above-disclosed content is only the preferred embodiment of this specification. Of course, it cannot be used to limit the scope of rights of this specification. Therefore, equivalent changes made according to the claims of this specification still fall within the scope covered by this specification.

Claims

1. A temperature detection method, characterized in that: Applied to drinking water equipment, the method comprises: If the first water level of the liquid in the hot tank of the drinking water device at the first moment is less than the first preset water level, then obtaining the historical water temperature of the liquid at the second moment and the time from the second moment to the first moment, the second moment being the historical moment when the liquid leaves the first preset water level and is closest to the first moment; Based on the historical water temperature and the duration, a target water temperature of the liquid at the first moment is determined.

2. The method according to claim 1, characterized in that: The hot tank is provided with a temperature sensor, and the temperature sensor is provided at the first preset water level. The obtaining of the historical water temperature of the liquid at the second moment and the duration from the second moment to the first moment includes: Determine a second moment when the liquid decreases from the first preset water level to a second moment that is lower than the first preset water level and is closest to the first moment; Acquire a historical water temperature of the liquid at the second moment, where the historical water temperature is the temperature detected by the temperature sensor at the second moment; Based on the first moment and the second moment, a duration from the second moment to the first moment is determined.

3. The method according to claim 1, characterized in that: The determining, based on the historical water temperature and the duration, a target water temperature of the liquid at the first moment includes: Determining preset cooling parameters of the liquid; Based on the preset cooling parameter, the historical water temperature and the duration, a target water temperature of the liquid at the first moment is determined.

4. The method according to claim 3, characterized in that The step of determining the preset cooling parameters of the liquid comprises: The liquid type of the liquid is determined, and a preset cooling parameter corresponding to the liquid type is determined.

5. The method according to claim 3, characterized in that: The determining the target water temperature of the liquid at the first moment based on the preset cooling parameter, the historical water temperature and the duration includes: Based on the preset cooling parameter and the duration, obtaining a temperature change value of the liquid; The historical water temperature and the temperature change value are subjected to difference processing to obtain a target water temperature of the liquid at the first moment.

6. The method according to claim 1, characterized in that The method further comprises: If the first water level of the liquid at the first moment is greater than or equal to the first preset water level, the temperature detected by the temperature sensor is determined as the target water temperature of the liquid at the first moment.

7. The method according to claim 1, characterized in that The method further comprises: If the second water level of the liquid is lower than the second preset water level and the drinking water device is not in a water taking state, the liquid is input into the hot tank to the first preset water level based on the water replenishment branch in the drinking water device; heating the liquid to a preset temperature based on a heating body in the hot tank; Wherein, the second preset water level is lower than the first preset water level.

8. A temperature detection device, characterized in that: The device comprises: a data acquisition unit, configured to acquire a historical water temperature of the liquid at a second moment and a time duration from the second moment to the first moment if a first water level of the liquid in the hot tank of the drinking water device at a first moment is less than a first preset water level, wherein the second moment is a historical moment when the liquid leaves the first preset water level and is closest to the first moment; A water temperature determination unit is used to determine a target water temperature of the liquid at the first moment based on the historical water temperature and the duration.

9. A computer storage medium storing a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 7.

10. A drinking water device, comprising: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method as claimed in any one of claims 1 to 7.