Regulation and control method and device for zero aged water of water purifier, computer equipment, water purifier, medium and program product
By real-time monitoring of the difference between the water temperature in the water purifier and the ambient temperature, and dynamically adjusting the interval length of the zero-stale water flushing function based on the water temperature change process parameters, the problem of unreasonable flushing timing in the water purifier is solved, and intelligent control and water quality safety are achieved.
Patent Information
- Application Number
- CN202511100815.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-07
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2045-08-07
AI Technical Summary
Existing water purifiers are unable to dynamically adjust the start time of the zero-stale water flushing function according to changes in water temperature, resulting in unreasonable flushing timing, which may cause resource waste or water pollution.
By obtaining the difference between the water temperature in the water purifier and the ambient temperature in real time, the interval length of the zero-stale water flushing function is dynamically adjusted in combination with the water temperature change process parameters, including dividing the temperature range and setting the corresponding flushing interval length, and adjusting the flushing timing according to the bacterial growth rate.
It improves the intelligence level of the water purifier, avoids resource waste and filter element loss, ensures water quality safety, and improves user experience and energy-saving performance.
Smart Images

Figure CN120589831A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical equipment, and in particular to a method, device, computer equipment, water purifier, medium and program product for controlling zero-stale water in a water purifier. Background Art
[0002] With the rapid development of my country's economy, most families have increasingly higher demands for quality of life, especially for the safety and quality of drinking water, which is a must-have daily. Water purifiers currently on the market generally have water storage issues. Storing water for too long can breed bacteria, affecting water quality and even making it undrinkable. To address this, some products have introduced a zero-stale water flush function, which re-filters the stored water after a certain period of time. However, the rate of bacterial growth is affected by water temperature, and existing water purifiers fail to dynamically adjust the flush time based on changes in water temperature. If started too early, it not only wastes water resources but also shortens the life of the filter cartridge. If started too late, it may cause excessive bacterial counts in the water, affecting the user experience and health and safety. Summary of the Invention
[0003] In view of this, the present invention provides a method, device, computer equipment, water purifier, medium and program product for controlling zero stale water in a water purifier to solve the problem that existing water purifiers cannot dynamically adjust the start time of the zero stale water flushing function according to changes in water temperature, resulting in unreasonable flushing timing.
[0004] In the first aspect, the present invention provides a method for controlling zero stale water in a water purifier, comprising the following steps: when the water purifier finishes making water, taking the moment when the water purifier finishes making water as the starting moment, and obtaining the actual temperature of the water at a preset position of the water purifier and the ambient temperature of the location where the water purifier is located; calculating a first difference between the actual temperature and the ambient temperature; when the first difference is greater than a preset first threshold, obtaining process parameters of the water temperature adjustment process at the preset position; determining the first actual interval duration for turning on a zero stale water flushing function in the water purifier according to the process parameters; obtaining the first actual time duration from the starting moment to the current moment; and turning on the zero stale water flushing function when the first actual time duration reaches the first actual interval time duration.
[0005] The present invention provides a method for controlling stale water in a water purifier. This method uses a timing mechanism to determine whether to activate the stale water flush function based on the temperature difference between the two, in real time, after the water purifier finishes purifying water. The timing is then dynamically adjusted based on the parameters of the water temperature change process, ensuring that the flushing timing is more aligned with actual bacterial growth conditions. This method avoids the waste of resources and filter element damage caused by premature flushing due to fixed flushing times, or the secondary water contamination caused by late flushing. This method improves the intelligence level, energy-saving performance, and user experience of the water purifier while ensuring drinking water safety.
[0006] In an optional embodiment, obtaining the process parameters of the water temperature adjustment process at the preset position includes: obtaining the current temperature of the water at the preset position, and the timestamp of the current temperature; calculating a second difference between the current temperature and the ambient temperature; determining whether the second difference is less than a first threshold; when the second difference is greater than or equal to the first threshold, continuing to obtain the current temperature of the water at the preset position until the second difference is less than the first threshold.
[0007] This implementation continuously monitors the difference between the water temperature and the ambient temperature at a preset location to determine whether the water temperature has stabilized. It then continuously acquires temperature data before the water temperature stabilizes, accurately capturing the water temperature's evolution. This approach more accurately determines the water temperature adjustment status, avoids misjudgments due to temperature fluctuations, and ensures that subsequent flushing intervals are more accurate and reliable, further enhancing the intelligent control level of the zero-stale water flushing function and its ability to ensure water quality safety.
[0008] In an optional embodiment, determining the first actual interval duration for activation of the zero-stale water flushing function in the water purifier based on process parameters includes: obtaining a plurality of preset temperature intervals, and the theoretical interval duration for activation of the zero-stale water flushing function corresponding to each temperature interval; respectively determining the temperature interval to which each current temperature belongs during the water temperature adjustment process; determining the duration for which the water temperature at a preset position stays in each temperature interval based on the temperature interval to which each current temperature belongs and the timestamp of each current temperature; determining the weight of each temperature interval based on the duration for which the water temperature at a preset position stays in each temperature interval; determining the first actual interval duration for activation of the zero-stale water flushing function of the water purifier based on the weight of each temperature interval and the theoretical interval duration for activation of the zero-stale water flushing function corresponding to each temperature interval.
[0009] This implementation establishes a dynamic correlation between water temperature and bacterial growth rate by dividing the water temperature change process into multiple temperature intervals and presetting a corresponding theoretical flushing interval for each interval. In actual operation, the system calculates the corresponding weight based on the residence time of the water temperature in each interval, and comprehensively considers the influence of each interval to ultimately derive a flushing interval that is closer to the actual bacterial growth situation. The advantage of this design is that it can dynamically adjust the flushing timing according to the differences in bacterial reproduction rates under different temperature conditions, avoiding the irrationality brought about by traditional fixed-time flushing. For example, at higher water temperatures, bacteria reproduce faster, and the system will automatically shorten the flushing interval to remove stale water in a timely manner; at lower water temperatures, the flushing time can be appropriately extended to reduce the number of unnecessary flushes, thereby effectively extending the life of the filter element and saving water resources. Overall, this method improves the refinement and intelligence level of the water purifier's zero-stale water flushing control, enhances the water quality safety assurance capability, while taking into account energy conservation and environmental protection as well as user experience, and has good application prospects and practical value.
[0010] In an optional embodiment, the method for controlling zero stale water in a water purifier further includes the following steps: when the first difference is less than or equal to a first threshold value, determining the second actual interval duration for turning on the zero stale water flushing function in the water purifier according to the actual temperature of the water at a preset position; obtaining the second actual duration from the starting moment to the current moment; and turning on the zero stale water flushing function when the second actual duration reaches the second actual interval duration.
[0011] In this implementation, when the first difference (i.e., the initial difference between the water temperature and the ambient temperature) is less than or equal to the first threshold, it indicates that the water temperature is close to the ambient temperature and is in a relatively stable state. At this time, there is no need to continuously track the water temperature change process. Instead, the corresponding flushing interval (i.e., the second actual interval) is directly found based on the current stable water temperature, and the timing is started. When the interval time is reached, the zero-stale water flushing function is started. This design has the following beneficial effects: (1) Improving the flexibility and accuracy of the control logic: When the water temperature tends to be stable, the system adopts a simpler judgment logic to avoid unnecessary data collection and calculation, thereby improving response efficiency; at the same time, the corresponding flushing interval is selected based on the current actual water temperature to ensure that the flushing time is still in line with the bacteria breeding rules and ensure water quality safety; (2) Energy saving and high efficiency, extending the life of the filter element: When the water temperature changes slightly, the monitoring mechanism is not frequently started to reduce system resource consumption; at the same time, the flushing time is reasonably set to prevent water resource waste and filter element loss caused by excessive flushing.
[0012] In an optional embodiment, after the zero-stale water flushing function is turned on, the following steps are also included: taking the end time of the zero-stale water flushing function as the starting time, and returning to the step of obtaining the actual temperature of the water at the preset position of the water purifier and the ambient temperature of the location where the water purifier is located.
[0013] After completing a zero-stale water flushing function, this implementation method uses the flushing end time as the new starting time and returns to the temperature collection and judgment process, thereby realizing continuous dynamic monitoring and cyclic regulation of the water storage status inside the water purifier. It has the following beneficial effects: (1) Achieving continuous water quality assurance: By restarting the monitoring mechanism after each flushing, the system can ensure that it can grasp the water temperature change trend in real time, continuously assess the risk of bacterial growth, and avoid the impact of stale water on water quality safety due to the re-generation of stale water after flushing; (2) Improving the closed-loop and intelligent nature of the control system: forming a closed-loop control logic of "water production-flushing-re-monitoring-re-flushing", enhancing the adaptability of the water purifier to changes in the use environment, ensuring that the flushing strategy always meets actual needs, and further improving the level of intelligence.
[0014] In an optional embodiment, the method for controlling zero stale water in a water purifier further includes the following steps: when a water production instruction is received, controlling the water purifier to produce water according to the water production instruction, and clearing the first actual time or the second actual time.
[0015] The zero-stale water control method for water purifiers provided by this invention achieves independent and precise control of each water production cycle by restarting the timer and resetting the original timer each time a water production command is received, ensuring that the flushing timing always aligns with the current water usage situation. This approach effectively avoids flushing delays or false triggering caused by time accumulation, improves the flexibility of system response and control accuracy, and while ensuring water quality safety, enhances the water purifier's adaptability to different usage scenarios and optimizes the user experience.
[0016] In the second aspect, an embodiment of the present invention also provides a zero-stale water control device for a water purifier, including a first acquisition module, a calculation module, a second acquisition module, a first actual interval duration determination module, a third acquisition module and a zero-stale water flushing function activation module. The first acquisition module acquires the actual temperature of water at a preset position of the water purifier and the ambient temperature of the location where the water purifier is located after the water purifier completes water production; the calculation module is used to calculate the first difference between the actual temperature and the ambient temperature; the second acquisition module is used to acquire the process parameters of the water temperature adjustment process at the preset position when the first difference is greater than a preset first threshold; the first actual interval duration determination module is used to determine the first actual interval duration for activation of the zero-stale water flushing function in the water purifier according to the process parameters; the third acquisition module is used to acquire the first actual duration from the end of water production by the water purifier to the current moment; the zero-stale water flushing function activation module is used to activate the zero-stale water flushing function when the first actual duration reaches the first actual interval duration.
[0017] In a third aspect, the present invention further provides a computer device comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute the method for controlling zero stale water in a water purifier according to the first aspect or any corresponding embodiment thereof.
[0018] In a fourth aspect, the present invention further provides a water purifier comprising the computer device of the third aspect.
[0019] In a fifth aspect, the present invention further provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the method for controlling zero-stale water in a water purifier according to the first aspect or any corresponding embodiment thereof.
[0020] In a sixth aspect, the present invention further provides a computer program product, comprising computer instructions for causing a computer to execute the method for controlling zero-stale water in a water purifier according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 This is a flow chart of a method for controlling zero stale water in a water purifier according to an embodiment of the present invention; Figure 2 is a flow chart of another method for controlling zero stale water in a water purifier according to an embodiment of the present invention; Figure 3 This is a flow chart of a method for controlling zero stale water in a water purifier according to an embodiment of the present invention; Figure 4 This is a flow chart of an example of a method for controlling zero stale water in a water purifier according to an embodiment of the present invention; Figure 5 This is a structural block diagram of a zero-stale water control device for a water purifier according to an embodiment of the present invention; Figure 6 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.
[0024] According to an embodiment of the present invention, an embodiment of a method for controlling zero stale water in a water purifier is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0025] In this embodiment, a method for controlling stale water in a water purifier is provided, which can be used in computer equipment. Figure 1 Flowchart of the zero stale water control method for a water purifier according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S101: When the water purifier finishes producing water, the water purifier ends at the time when the water purifier finishes producing water as the starting time, and obtains the actual temperature of the water at the preset position of the water purifier and the ambient temperature at the location of the water purifier.
[0026] Specifically, the preset position may be a water purifier pipeline, a filter element, etc.
[0027] Step S102: Calculate a first difference between the actual temperature and the ambient temperature.
[0028] Step S103: When the first difference is greater than a preset first threshold, a process parameter of the water temperature adjustment process at the preset position is obtained.
[0029] The first threshold value may be preset in the computer device. For example, the first threshold value may be 3-10°C.
[0030] When a first difference between the actual water temperature at a preset location of the water purifier and the ambient temperature is greater than a first threshold, it can be considered that there is a significant difference between the water temperature of the water purifier's inlet and the temperature of the environment in which the water purifier is located. Therefore, over time, the actual water temperature at the preset location of the water purifier will continue to change until it becomes the same as the ambient temperature. The water temperature adjustment process is the process in which the actual water temperature at the preset location continues to change until it becomes the same as the ambient temperature.
[0031] Step S104: determining a first actual interval duration for starting the zero-stale water flushing function in the water purifier according to the process parameters.
[0032] Specifically, the process parameters of the water temperature adjustment process are multiple moments in the water temperature adjustment process and the water temperature at a preset position corresponding to each moment.
[0033] Step S105: Obtain the first actual duration from the start time to the current time.
[0034] Step S106: When the first actual duration reaches the first actual interval duration, the zero-stale water flushing function is activated.
[0035] The method for controlling stale water in a water purifier provided in this embodiment uses a timing mechanism to determine whether to activate the stale water flush function based on the temperature difference between the real-time acquisition of water temperature and ambient temperature after the purifier finishes purifying water. The timing is further adjusted based on the water temperature process parameters to dynamically adjust the flushing interval, ensuring that the flushing timing is more closely aligned with actual bacterial growth conditions. This method avoids the waste of resources and filter element damage caused by premature flushing due to fixed flushing times, or the secondary water contamination caused by late flushing. This method improves the intelligence level, energy-saving performance, and user experience of the water purifier while ensuring drinking water safety.
[0036] In this embodiment, a method for controlling stale water in a water purifier is provided, which can be used in computer equipment. Figure 2 FIG. 1 is a flow chart of another method for controlling zero stale water in a water purifier according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps: Step S201: When the water purifier finishes producing water, the water purifier ends at the time when the water purifier produces water, and obtains the actual temperature of the water at the preset position of the water purifier and the ambient temperature at the location of the water purifier.
[0037] Step S202: Calculate a first difference between the actual temperature and the ambient temperature.
[0038] Step S203: When the first difference is greater than a preset first threshold, a process parameter of the water temperature adjustment process at the preset position is obtained.
[0039] In an optional embodiment, obtaining the process parameters of the water temperature adjustment process at the preset position includes the following steps S2031 to S2034.
[0040] Step S2031: Obtain the current temperature of water at a preset position and the actual stamp of the current temperature.
[0041] Specifically, a data structure is initialized to record the dwell time in each temperature range, for example, using key-value pairs. After the water purifier finishes producing water, the current water temperature at a preset location (such as a pipe or filter outlet) is collected at a certain frequency (e.g., every minute), and the timestamp of each temperature collection is recorded.
[0042] Step S2032: Calculate a second difference between the current temperature and the ambient temperature.
[0043] Step S2033: Determine whether the second difference is less than the first threshold. When the second difference is greater than or equal to the first threshold, return to step S2031; when the second difference is less than the first threshold, proceed to step S2034.
[0044] Step S2034: Determine whether the water temperature adjustment process is completed.
[0045] Step S204: Determine the first actual interval duration for activating the zero-stale-water flush function in the water purifier based on the process parameters. By continuously monitoring the difference between the water temperature at a preset location and the ambient temperature, it is determined whether the water temperature has stabilized. Temperature data is continuously acquired before the water temperature stabilizes, accurately capturing the water temperature changes. This approach more accurately determines the water temperature adjustment status, avoids misjudgments due to temperature fluctuations, and ensures that the subsequently calculated flush intervals are more accurate and reliable, further enhancing the intelligent control level of the zero-stale-water flush function and the water quality safety assurance capabilities.
[0046] In an optional embodiment, determining the first actual interval duration of activation of the zero-stale water flushing function in the water purifier according to the process parameters includes the following steps S2041 to S2045.
[0047] Step S2041: obtaining a plurality of preset temperature intervals and the theoretical interval duration of activation of the zero-stale water flushing function corresponding to each temperature interval.
[0048] Specifically, multiple temperature ranges and the theoretical duration of the zero-stale water flush function corresponding to each temperature range can be pre-set and stored in a computer device or controller connected to the water purifier, serving as the basis for the system to determine flush timing. For example, water temperature can be divided into three main ranges: high temperature range, normal temperature range, and low temperature range. Different temperature ranges correspond to different bacterial growth rates, thus affecting the time required for bacterial concentrations in the water to reach unacceptable levels.
[0049] In order to scientifically and reasonably set the theoretical flushing interval duration corresponding to each temperature range, data collection and analysis can be performed using the following methods.
[0050] Experimental acquisition of bacterial growth time: In a laboratory environment, typical water temperature conditions within each temperature range are simulated, and the growth of common bacteria in water (such as Escherichia coli, Pseudomonas, etc.) at these temperatures is measured. The time required from the completion of water purification to the number of colonies in the water exceeding the safe drinking standard (such as the total colony count limit specified in the national standard) is recorded, which is the "bacterial growth time".
[0051] Select conservative values to ensure water quality: For multiple bacterial growth times at multiple temperature points within a given temperature range, the shortest of these times is selected as the theoretical flushing interval for that temperature range. This approach prioritizes safety, ensuring that flushing can be initiated promptly even under conditions where bacterial growth is most rapid, preventing water quality deterioration.
[0052] Establish a temperature-flushing strategy mapping relationship: Establish a mapping relationship between different temperature ranges and theoretical flushing intervals through the above method, and write it into the database of the water purifier control system, so that the device can intelligently match the corresponding flushing strategy according to the real-time water temperature during operation.
[0053] By presetting the temperature range and its corresponding theoretical flushing interval duration through the above method, not only the scientificity and practicality of the flushing control strategy are improved, but also the system's adaptability to complex usage environments is enhanced, thereby achieving more intelligent, precise and safe zero-stale water management.
[0054] Step S2042: determining the temperature range to which each current temperature in the water temperature adjustment process belongs.
[0055] Step S2043: determining the duration of the water temperature at the preset position staying in each temperature interval according to the temperature interval to which each current temperature belongs and the timestamp of each current temperature.
[0056] For example, each time a new water temperature value is obtained, the system compares it with the previous temperature range. If a range switch has not occurred, the time for that range continues to accumulate. If a range switch has occurred, the end time of the previous range is recorded, and the duration of the range is calculated (i.e., the current timestamp minus the timestamp of the last entry into the range), and the accumulated duration for the corresponding range is updated. If the temperature enters a new range, the current time is recorded as the new start time of the range to prepare for the next dwell time calculation.
[0057] Step S2044: Determine the weight of each temperature interval according to the length of time the water temperature at the preset position stays in each temperature interval.
[0058] This weight reflects the comprehensive impact of different temperature conditions on the growth rate of bacteria, thus providing a basis for the dynamic adjustment of subsequent flushing intervals. Specifically, the system divides the residence time of each temperature interval by the total adjustment time to obtain the corresponding weight coefficient, and multiplies it by the preset theoretical flushing interval corresponding to each temperature interval. Finally, the weighted sum is used to obtain the first actual interval duration of the zero-stale water flushing function. For example, if the high temperature interval and the normal temperature interval each account for 50% of the total time, the final flushing interval is the sum of half of the theoretical flushing time of the two intervals. This weight-based dynamic calculation method makes the flushing control closer to the changing trend of the actual use environment, and improves the adaptability of the water purifier under different water temperature conditions and the water quality safety level.
[0059] Step S2045: determining a first actual interval duration for turning on the zero-stale water flushing function of the water purifier according to the weight of each temperature interval and the theoretical interval duration for turning on the zero-stale water flushing function corresponding to each temperature interval.
[0060] Step S205: Obtain the first actual duration from the start time to the current time.
[0061] Step S206: When the first actual duration reaches the first actual interval duration, the zero-stale water flushing function is activated.
[0062] This embodiment provides a method for controlling stale water in a water purifier. It dynamically adjusts flushing timing based on differences in bacterial growth rates under different temperature conditions, avoiding the irrationality associated with traditional fixed flushing schedules. For example, at higher water temperatures, where bacteria grow faster, the system automatically shortens the flushing interval to promptly remove stale water. At lower water temperatures, however, the flushing time can be appropriately extended to reduce unnecessary flushing times, effectively extending filter life and conserving water resources.
[0063] In this embodiment, a method for controlling stale water in a water purifier is provided, which can be used in computer equipment. Figure 3FIG. 1 is a flow chart of another method for controlling zero stale water in a water purifier according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps: Step S301: When the water purifier finishes producing water, the water purifier finishes producing water at the start time.
[0064] Step S302: Acquire the actual temperature of water at a preset position of the water purifier and the ambient temperature of the location where the water purifier is located.
[0065] Step S303: Calculate a first difference between the actual temperature and the ambient temperature. When the first difference is greater than a preset first threshold, proceed to step S304; when the first difference is less than or equal to the first threshold, proceed to step S308.
[0066] Step S304: obtaining process parameters of the water temperature adjustment process at the preset position.
[0067] Step S305: determining a first actual interval duration for starting the zero-stale water flushing function in the water purifier according to the process parameters.
[0068] Step S306: Obtain the first actual duration from the start time to the current time.
[0069] Step S307: When the first actual duration reaches the first actual interval duration, the zero-stale water flushing function is turned on.
[0070] In other words, when there's a significant difference between the water's inlet temperature and the ambient temperature, indicating the water temperature hasn't stabilized, the system enters a dynamic monitoring state, continuously tracking the water temperature changes. Based on the water's dwell time within different temperature ranges and its impact on bacterial growth, it calculates the first actual interval duration for the zero-stale-water flush function. The system then accumulates the actual run time from the end of water production to the current moment (i.e., the first actual duration). When this duration reaches the calculated flush interval, the zero-stale-water flush function automatically activates, ensuring that stale water is discharged before water quality deteriorates due to bacterial growth, thus ensuring the safety and freshness of water used by users.
[0071] Step S308: Determine the second actual interval duration for starting the zero-stale water flushing function in the water purifier according to the actual temperature of the water at the preset position.
[0072] For example, the system directly searches for the correspondence between the preset temperature and the flushing interval duration based on the actual temperature of the water currently detected at the preset position, and determines the second actual interval duration for turning on the zero-stale water flushing function.
[0073] Step S309: Obtain the second actual duration from the start time to the current time.
[0074] Step S310: When the second actual duration reaches the second actual interval duration, the zero-stale water flushing function is turned on.
[0075] That is to say, when the temperature difference between the water inlet temperature of the water purifier and the temperature of the environment in which the water purifier is located is small, there is no need to carry out complex tracking of the water temperature change process. At this time, the system directly matches the preset theoretical flushing interval duration based on the temperature range to which the current actual water temperature belongs, determines the second actual interval duration for the activation of the zero stale water flushing function, and begins to accumulate the second actual duration from the end of water production to the current time. When this duration reaches the determined flushing interval duration, the system automatically starts the zero stale water flushing function, using simple and efficient control logic to effectively ensure water quality safety, while avoiding unnecessary resource consumption and filter element loss caused by frequent flushing.
[0076] Step S311: The end time of the zero-water flushing function is used as the start time, and the process returns to step S302.
[0077] That is to say, when the zero stale water flushing function is completed, the system resets the flushing end time to the new starting time, and returns to step S302, and starts collecting and judging the actual temperature of the water and the ambient temperature at the preset position again. This process realizes the cyclic dynamic management of the "zero stale water" problem by the water purifier, enabling the system to automatically restart the monitoring process after each flush is completed, continuously track the changes in water temperature and intelligently adjust the next flushing strategy according to the current environmental conditions. Through this mechanism, not only is the problem of stale water retention caused by multiple water production or long-term shutdown effectively avoided, but the continuity and stability of water quality management are also improved, further enhancing the adaptability and intelligence level of the water purifier in complex usage scenarios.
[0078] Figure 4 This is a flow chart of an example of a method for controlling zero stale water in a water purifier according to an embodiment of the present invention. Figure 4 As shown, the method for controlling the zero-stale water of the water purifier according to the embodiment of the present invention further includes the following steps: After water production is completed, determine whether the first difference between the actual temperature of the water at the preset position of the water purifier and the ambient temperature is greater than the preset first threshold (that is, whether the water temperature difference is large). When the first difference is greater than the preset first threshold, obtain the process parameters of the water temperature adjustment process at the preset position; determine the first actual interval duration for turning on the zero-stale water flushing function in the water purifier based on the process parameters; obtain the first actual time from the starting time to the current time; when the first actual time reaches the first actual interval duration, turn on the zero-stale water flushing function.
[0079] When the first difference is less than or equal to the first threshold, the second actual interval duration for turning on the zero-stale water flushing function in the water purifier is determined according to the actual temperature of the water at the preset position; the second actual duration from the starting time to the current time is obtained; when the second actual duration reaches the second actual interval duration, the zero-stale water flushing function is turned on.
[0080] It should be noted that when the first difference between the actual water temperature at a preset location in the water purifier and the ambient temperature is greater than a preset first threshold, under normal circumstances, since the actual water temperature at the preset location changes with the ambient temperature, the actual water temperature can be adjusted to a value less than the first threshold before the zero-stale water flush function is activated for the first flush. Based on this, when the inlet water temperature remains unchanged and the water purifier is in standby mode for an extended period of time, all flushes except the first flush are controlled based on the control logic that the first difference is less than or equal to the first threshold.
[0081] In addition, when a water production instruction is received, the water purifier is controlled to produce water according to the water production instruction, and the first actual duration or the second actual duration is reset to zero. In other words, at any step, as long as a water production instruction is received, the water purifier will exit the standby state and enter the water production state to produce water. At the same time, the first actual duration or the second actual duration will be reset to zero, and the timing will start after the water production is completed. After the water production is completed, a zero-stale water flush will be started, and then the water purifier will enter the long standby state.
[0082] The zero-stale water control method for a water purifier provided in this embodiment is a technology that dynamically adjusts the start-up time of the zero-stale water flushing function based on the water temperature. By real-time monitoring of the inlet water temperature and intelligent calculation of the risk of bacterial growth, the start-up frequency or interval time of the zero-stale water flushing function is dynamically adjusted to ensure that the water stored in the water purifier is always in a safe and drinkable state.
[0083] In this embodiment, a water purifier zero stale water control device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0084] This embodiment provides a control device for zero stale water in a water purifier, such as Figure 5 Shown, including: The first acquisition module 501 acquires the actual temperature of water at a preset position of the water purifier and the ambient temperature of the location where the water purifier is located after the water purifier completes water production.
[0085] The calculation module 502 is configured to calculate a first difference between the actual temperature and the ambient temperature.
[0086] The second acquisition module 503 is configured to acquire a process parameter of the water temperature adjustment process at a preset position when the first difference is greater than a preset first threshold.
[0087] The first actual interval duration determining module 504 is configured to determine a first actual interval duration for enabling the zero-stale water flushing function in the water purifier according to process parameters.
[0088] The third acquisition module 505 is used to obtain the first actual time from the end of water production by the water purifier to the current moment.
[0089] The zero stale water flushing function activation module 506 is configured to activate the zero stale water flushing function when the first actual duration reaches the first actual interval duration.
[0090] In some optional embodiments, the second acquisition module 503 is specifically used to: obtain the current temperature of water at a preset position and the timestamp of the current temperature; calculate a second difference between the current temperature and the ambient temperature; determine whether the second difference is less than a first threshold; when the second difference is greater than or equal to the first threshold, continue to obtain the current temperature of water at the preset position until the second difference is less than the first threshold.
[0091] In some optional embodiments, the actual interval duration determination module 504 is specifically used to: obtain multiple preset temperature intervals, and the theoretical interval duration of the zero-stale water flushing function corresponding to each temperature interval; respectively determine the temperature interval to which each current temperature belongs during the water temperature adjustment process; determine the length of time the water temperature at the preset position stays in each temperature interval based on the temperature interval to which each current temperature belongs and the timestamp of each current temperature; determine the weight of each temperature interval based on the length of time the water temperature at the preset position stays in each temperature interval; determine the first actual interval duration of the zero-stale water flushing function of the water purifier based on the weight of each temperature interval and the theoretical interval duration of the zero-stale water flushing function corresponding to each temperature interval.
[0092] In some optional embodiments, the water purifier's zero-stale water control device further includes a second actual interval duration determination module. When the first difference is less than or equal to the first threshold, the second actual interval duration determination module is configured to determine, based on the actual temperature of the water at the preset location, the second actual interval duration for activating the zero-stale water flushing function in the water purifier; a third acquisition module 505 is configured to acquire the second actual duration from the start time to the current time; and a zero-stale water flushing function activation module 506 is configured to activate the zero-stale water flushing function when the second actual duration reaches the second actual interval duration.
[0093] In some optional embodiments, the control device for the water purifier to control zero stale water further includes a water production module. The water production module is configured to control the water purifier to produce water according to the water production instruction upon receiving the water production instruction, and reset the first actual time or the second actual time to zero.
[0094] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0095] The zero-stale water control device of the water purifier in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0096] The embodiment of the present invention also provides a computer device having the above Figure 5 The water purifier shown has a zero-stale water control device.
[0097] See also Figure 6 , Figure 6 is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0098] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.
[0099] The memory 20 stores instructions that can be executed by at least one processor 10, so as to enable at least one processor 10 to execute the method shown in the above embodiment.
[0100] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0101] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0102] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The bus connection is taken as an example.
[0103] The input device 30 can receive input digital or character information and generate key signal input related to user settings and function control of the computer device. Examples include a touch screen, keypad, mouse, trackpad, touchpad, pointing stick, one or more mouse buttons, trackball, joystick, etc. The output device 40 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibration motors). Such display devices include, but are not limited to, liquid crystal displays, light emitting diodes, monitors, and plasma displays. In some optional embodiments, the display device may be a touch screen.
[0104] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0105] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.
[0106] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for regulating zero-stale water in a water purifier, characterized in that: include: When the water purifier finishes producing water, the water purifier finishes producing water at the start time, and obtains the actual temperature of the water at the preset position of the water purifier and the ambient temperature at the location of the water purifier; Calculating a first difference between the actual temperature and the ambient temperature; When the first difference is greater than a preset first threshold, obtaining a process parameter of the water temperature adjustment process at a preset position; Determine a first actual interval duration of activation of a zero-stale-water flushing function in the water purifier according to the process parameters; Obtain the first actual duration from the starting moment to the current moment; When the first actual duration reaches the first actual interval duration, the zero-stale water flushing function is activated.
2. The method according to claim 1, characterized in that The process parameters of the water temperature adjustment process at the preset position are obtained, including: Obtaining the current temperature of the water at the preset location and a timestamp of the current temperature; Calculating a second difference between the current temperature and the ambient temperature; determining whether the second difference is less than the first threshold; When the second difference is greater than or equal to the first threshold, the current temperature of the water at the preset position continues to be acquired until the second difference is less than the first threshold.
3. The method according to claim 2, characterized in that Determining the first actual interval duration of the activation of the zero-stale water flushing function in the water purifier according to the process parameters includes: Obtaining a plurality of preset temperature intervals and a theoretical interval duration for activating the zero-stale water flushing function corresponding to each of the temperature intervals; Respectively determine the temperature range to which each current temperature belongs during the water temperature adjustment process; Determine the duration for which the water temperature at the preset position stays in each temperature interval according to the temperature interval to which each current temperature belongs and the timestamp of each current temperature; Determining the weight of each temperature interval according to the length of time the water temperature at the preset position stays in each temperature interval; The first actual interval duration of the activation of the zero-stale water flushing function of the water purifier is determined according to the weight of each temperature interval and the theoretical interval duration of the activation of the zero-stale water flushing function corresponding to each temperature interval.
4. The method according to claim 1, wherein Also includes: When the first difference is less than or equal to the first threshold, determining a second actual interval duration for enabling the zero-stale water flushing function in the water purifier according to the actual temperature of the water at the preset position; Obtain a second actual duration from the starting time to the current time; When the second actual duration reaches the second actual interval duration, the zero-stale water flushing function is turned on.
5. The method according to claim 1 or 4, characterized in that After the zero stale water flushing function is turned on, the method further includes: The end time of the zero-stale water flushing function is used as the starting time, and the process returns to the step of obtaining the actual temperature of the water at the preset position of the water purifier and the ambient temperature of the location where the water purifier is located.
6. The method according to claim 1 or 4, characterized in that Also includes: When a water production instruction is received, the water purifier is controlled to produce water according to the water production instruction, and the first actual duration or the second actual duration is cleared.
7. A water purifier zero stale water control device, characterized in that: include: A first acquisition module, after the water purifier completes water treatment, acquires the actual temperature of the water at a preset position of the water purifier and the ambient temperature at the location of the water purifier; a calculation module, configured to calculate a first difference between the actual temperature and the ambient temperature; a second acquisition module, configured to acquire a process parameter of a water temperature adjustment process at a preset position when the first difference is greater than a preset first threshold; A first actual interval duration determination module is configured to determine a first actual interval duration for enabling the zero-stale water flushing function in the water purifier according to the process parameters; A third acquisition module is used to obtain the first actual duration from the end of water treatment by the water purifier to the current moment; The zero stale water flushing function activation module is used to activate the zero stale water flushing function when the first actual duration reaches the first actual interval duration.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for controlling zero stale water of a water purifier according to any one of claims 1 to 6 by executing the computer instructions.
9. A water purifier, characterized in that: A computer device comprising the computer device of claim 8.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for controlling zero-stale water in a water purifier according to any one of claims 1 to 6.
11. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method for controlling zero-stale water in a water purifier according to any one of claims 1 to 6.
Citation Information
Patent Citations
Water purification equipment, water purification equipment control method and device and computer equipment
CN117358059A
Filter element flushing method and device, water purification equipment and storage medium
CN119215513A
Water purifier, water purification system and control method thereof
CN120136247A
dishwasher
DE102016107690A1
Flushing device
US20170233992A1
Cited By
Intelligent control system of RO (Reverse Osmosis) water purifier
CN122102294A