Double-water-source pipeline machine control method and device, electronic equipment and storage medium

By using a dual-source water pipeline control method, the automatic switching between water purifiers and bottled water supply solves the problems of water supply interruption and water purifier failure, achieving continuous and high-quality water supply output.

CN121970988APending Publication Date: 2026-05-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2025-12-18
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Existing water purifiers have problems such as high risk of water supply interruption, frequent manual replacement, and limited water supply distance. Furthermore, water purifier malfunctions may lead to a decline in water quality.

Method used

The dual-source water supply system adopts a control method that obtains users' historical drinking water data to determine the bottled water supply ratio. Based on the water purifier's water supply status and the bottled water supply ratio, the system controls the regulating valve to achieve automatic switching between water purifier and bottled water supply.

Benefits of technology

It ensures the continuity and quality of water supply, improves the user experience, and achieves seamless switching and water supply stability in the event of a water purifier malfunction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121970988A_ABST
    Figure CN121970988A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a double-water-source pipeline machine control method and device, electronic equipment and a storage medium. The double-water-source pipeline machine comprises a water supply pipeline and a regulating valve, the first input end of the water supply pipeline is connected with a water purifier, the second input end of the water supply pipeline is connected with a barreled water container, and the regulating valve is arranged at the output end of the water supply pipeline. Determining a barreled water supply proportion based on the historical drinking water data of the user; detecting the water supply state of the water purifier in response to the water outlet instruction; valve control information is determined based on the water supply state and the barreled water supply proportion; and controlling the regulating valve based on the valve control information. According to the embodiment of the invention, the water outlet quality of the double-water-source pipeline machine can be improved, so that the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of drinking water equipment technology, and in particular to a dual-source water pipeline machine control method, a dual-source water pipeline machine control device, an electronic device, and a computer-readable storage medium. Background Technology

[0002] Water dispensers are widely used in homes, offices, and public places as essential devices for providing drinking water. They typically rely on a single water source (such as bottled water), which presents challenges such as a high risk of water supply interruptions, frequent manual water changes, and limited supply distance. Some technologies incorporate water purifiers as the primary water source, improving water quality assurance. However, if the water purifier malfunctions, it can still lead to a decline in water quality or even shut down the dispenser, affecting user experience. Summary of the Invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a dual-source water pipeline machine control method, a dual-source water pipeline machine control device, an electronic device, and a computer-readable storage medium to overcome or at least partially solve the above problems.

[0004] To address the aforementioned problems, in a first aspect of this invention, an embodiment discloses a control method for a dual-source water supply system. The dual-source water supply system includes a water supply pipeline and a regulating valve. A first input end of the water supply pipeline is connected to a water purifier, and a second input end of the water supply pipeline is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. The method includes: Obtain users' historical drinking water data; The proportion of bottled water supply is determined based on the user's historical drinking water data. In response to a water dispensing command, the water supply status of the water purifier is detected; Valve control information is determined based on the water supply status and the bottled water supply ratio. The regulating valve is controlled based on the valve control information.

[0005] Optionally, the user's historical drinking water data includes daily water consumption, the bottled water container is used to hold bottled water, and the step of determining the bottled water supply ratio based on the user's historical drinking water data includes: The average water intake is determined based on the daily water intake. Obtain the opening date and current usage of the bottled water; The bottled water supply ratio is determined by combining the average water consumption, the opening date, and the current usage.

[0006] Optionally, the step of determining the bottled water supply ratio by combining the average water consumption, the opening date, and the current usage includes: Determine the capacity and usage cycle of the bottled water; Determine the remaining water volume between the capacity and the current usage; Determine the remaining usage days between the usage period and the activation date; The predicted water consumption is determined based on the remaining usage days and the average water consumption. The ratio between the remaining water volume and the predicted drinking water volume is determined as the bottled water supply ratio.

[0007] Optionally, the step of determining the predicted water consumption based on the remaining usage days and the average water consumption includes: The product of the remaining usage days and the average water consumption is determined as the predicted water consumption.

[0008] Optionally, the step of determining valve control information based on the water supply status and the bottled water supply ratio includes: If the water supply status is abnormal, the valve control information is determined to shut down the water purifier; When the water supply is in a normal state, valve control information is determined based on the bottled water supply ratio.

[0009] Optionally, the water dispenser further includes a pressure sensor and a variable frequency pump installed in the water supply pipeline, and the method further includes: Obtain the water pressure detected by the pressure sensor; The variable frequency pump is controlled based on the water pressure.

[0010] Optionally, the step of controlling the variable frequency pump based on the water pressure includes: The target rotational speed is determined based on the water pressure. Control the variable frequency pump to achieve the target speed.

[0011] In a second aspect, an embodiment of the present invention discloses a control device for a dual-source water supply machine. The dual-source water supply machine includes a water supply pipeline and a regulating valve. A first input end of the water supply pipeline is connected to a water purifier, and a second input end of the water supply pipeline is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. The device includes: The first acquisition module is used to acquire users' historical drinking water data; The ratio determination module is used to determine the bottled water supply ratio based on the user's historical drinking water data. The detection module is used to detect the water supply status of the water purifier in response to the water dispensing command; The information module is used to determine valve control information based on the water supply status and the bottled water supply ratio; The first control module is used to control the regulating valve based on the valve control information.

[0012] In a third aspect, an embodiment of the present invention discloses an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the dual-source water pipeline machine control method as described above.

[0013] In a fourth aspect, embodiments of the present invention disclose a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the dual-source water pipeline machine control method as described above.

[0014] The embodiments of the present invention have the following advantages: In this invention, the dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. It acquires historical drinking water data from the user; determines the bottled water supply ratio based on the historical drinking water data; detects the water supply status of the water purifier in response to a water dispensing command; determines valve control information based on the water supply status and the bottled water supply ratio; and controls the regulating valve based on the valve control information. By providing water from both the water purifier and bottled water sources through the dual-source water dispenser, the continuity of water supply can be ensured. The dual-source water dispenser is always ready for use, and based on the water supply status of the water purifier and the bottled water supply ratio, it can output clean water under different conditions, improving water quality and thus enhancing the user experience. Attached Figure Description

[0015] Figure 1 This is a flowchart illustrating the steps of an embodiment of the dual-source water pipeline machine control method of the present invention; Figure 2 This is a flowchart illustrating the steps of another embodiment of the dual-source pipeline machine control method of the present invention; Figure 3 This is a schematic diagram of the structure of a dual-source pipeline machine according to an embodiment of the control method for a dual-source pipeline machine of the present invention; Figure 4 This is a structural block diagram of an embodiment of the dual-source water pipeline machine control device of the present invention; Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of the present invention; Figure 6This is a structural block diagram of a storage medium provided in an embodiment of the present invention. Detailed Implementation

[0016] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0017] Traditional water dispensers typically use a single water source (such as bottled water) for supply, which presents problems such as a high risk of water supply interruption, frequent manual replacement, and limited supply distance. In recent years, some improved water dispensers have introduced water purifiers as the main water source, improving water quality assurance capabilities. However, if the water purifier malfunctions, it may still cause the system to shut down, affecting user experience. Furthermore, during long-distance water supply, water pressure fluctuations are significant due to changes in pipeline resistance and load, affecting water output stability and user experience. To at least partially solve the above problems, embodiments of the present invention are proposed.

[0018] Reference Figure 1 This document illustrates a flowchart of an embodiment of a dual-source water dispenser control method according to the present invention. The dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. In this embodiment, the dual-source water dispenser may include a water supply pipeline and a regulating valve. The water supply pipeline may have two input ends and one output end. The first input end of the water supply pipeline is connected to the water purifier, and the second input end is connected to the bottled water container, allowing the water supply pipeline to connect to two different water sources: one is the water source from the water purifier, and the other is the bottled water from the bottled water container. The regulating valve is located at the output end of the water supply pipeline and adjusts the water source or the mixing of the two water sources by adjusting its valve opening. The water purifier refers to a device that purifies tap water or source water through physical, chemical, or biological methods to remove impurities, harmful substances, and odors, improving water quality to meet direct drinking or specific usage standards. Water purifiers can purify water step by step through different levels of filter cartridges based on filtration and adsorption technologies to meet output standards.

[0019] The dual-source water pipeline machine control method may specifically include the following steps: Step 101: Obtain the user's historical drinking water data; Historical drinking water data can be obtained from various historical information sources. This data represents a user's drinking habits over a past period. The historical period for detection can be determined based on actual circumstances, such as three days, five days, one week, one month, one quarter, etc., but this embodiment of the invention does not impose a specific limitation.

[0020] For example, a flow sensor in a dual-source water dispenser can monitor the flow rate of each water dispensing in real time and record the amount of water consumed per dispensing. The start and end times of each dispensing are recorded, the drinking time is calculated, and the drinking time and amount of water consumed per dispensing are summarized as the user's historical drinking data. This historical drinking data can be stored in the water dispenser's built-in memory (such as an EEPROM or Flash memory chip) or on a cloud server. The user's historical drinking data can be retrieved from the water dispenser's built-in memory or the cloud server.

[0021] Step 102: Determine the bottled water supply ratio based on the user's historical drinking water data; Based on users' historical drinking water data, the system can calculate future drinking patterns and determine the proportion of bottled water supplied. The bottled water supply proportion is the percentage of water supplied to users from bottled water containers. This proportion can range from 0% to 100%.

[0022] Step 103: In response to the water dispensing command, detect the water supply status of the water purifier; When a user needs water, they can initiate a water dispensing command by operating the control panel on the dual-source water dispenser. The system can respond to this command and monitor the water supply status of the water purifier. The water supply status indicates the water supply situation of the water purifier.

[0023] Step 104: Determine valve control information based on the water supply status and the bottled water supply ratio; The water supply volume of the water purifier can be determined based on its water supply status, and the water supply volume of the bottled water container can be determined by combining the bottled water supply ratio, thus jointly determining the valve control information.

[0024] Step 105: Control the regulating valve based on the valve control information.

[0025] The valve opening is controlled based on valve control information, thereby supplying water using at least one of the purified water from the water purifier and the bottled water from the bottled water container.

[0026] In this invention, the dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. It acquires historical drinking water data from the user; determines the bottled water supply ratio based on the historical drinking water data; detects the water supply status of the water purifier in response to a water dispensing command; determines valve control information based on the water supply status and the bottled water supply ratio; and controls the regulating valve based on the valve control information. By providing water from both the water purifier and bottled water sources through the dual-source water dispenser, the continuity of water supply can be ensured. The dual-source water dispenser is always ready for use, and based on the water supply status of the water purifier and the bottled water supply ratio, it can output clean water under different conditions, improving water quality and thus enhancing the user experience.

[0027] Reference Figure 2 The diagram illustrates a flowchart of another embodiment of the dual-source water dispenser control method of the present invention. The dual-source water dispenser includes a water supply pipeline and a regulating valve, a pressure sensor and a variable frequency pump installed on the water supply pipeline, a first input end of the water supply pipeline connected to a water purifier, a second input end of the water supply pipeline connected to a bottled water container, and a regulating valve installed at the output end of the water supply pipeline. The bottled water container is used to hold bottled water. The structure of the dual-source water dispenser can be referenced from [reference needed]. Figure 3 The dual-source water dispenser includes a water supply pipeline, regulating valve, pressure sensor, and variable frequency pump. The water supply pipeline connects to the water source to supply water to the dispenser and guides and controls the water flow. Users take water from the outlet at the output end of the water supply pipeline. The water purifier and bottled water containers are connected via independent inlet pipes. The water purifier is connected to the first inlet of the water supply pipeline, and the bottled water containers are connected to the second inlet. The water purifier serves as the primary water source, providing filtered and purified drinking water; the bottled water in the containers acts as a backup water source, supplying water to the dispenser when the water purifier malfunctions or requires maintenance or additional water supply. The pressure sensor monitors the system water pressure in real time and provides feedback. The variable frequency pump dynamically adjusts the output pressure according to the set speed based on the set pressure value, ensuring constant water pressure under different loads and improving water output stability. Furthermore, the dual-source water dispenser can be equipped with a control panel for setting water supply parameters, displaying system operating status, and performing various operations. For example, the control panel has a touch screen or LCD display that shows real-time drinking water data (such as the amount of water consumed in a single session and the total amount of water consumed that day) and a summary of historical data. Users can initiate water dispensing, water heating, and other operations by operating the control panel.

[0028] The dual-source water pipeline machine control method may specifically include the following steps: Step 201: Obtain the user's historical drinking water data; Historical water consumption data of users can be determined in advance based on statistical methods and their drinking habits. This allows for the acquisition of users' historical water consumption data.

[0029] Step 202: Determine the bottled water supply ratio based on the user's historical drinking water data; Based on users' historical drinking water data, we can determine their past drinking habits and then predict their future drinking habits to determine the proportion of bottled water supply, ensuring that bottled water can be used in a timely manner and improving water supply quality.

[0030] In an optional embodiment of the present invention, the user's historical drinking water data includes daily water consumption, and the step of determining the bottled water supply ratio based on the user's historical drinking water data includes: Sub-step S2021: Determine the average water consumption based on the daily water consumption; User historical drinking water data includes daily water consumption, which represents the amount of water taken from the water dispenser on a single day. The average daily water consumption can be determined by averaging the daily consumption over a specified period. The statistical period can be determined based on actual circumstances, such as three days, five days, one week, one month, one quarter, etc., and this embodiment of the invention does not impose a specific limitation. For example, to calculate the average water consumption for one week, the daily water consumption for all days within that week can be added together and then divided by the week's value; the resulting average is the average water consumption.

[0031] Sub-step S2022: Obtain the opening date and current usage of the bottled water; It can obtain the opening date and current usage of bottled water. The opening date can be determined by detecting the replacement time of the bottled water; when a user replaces the bottled water, that day can be designated as the opening date. The current usage can be calculated by monitoring the remaining water in the bottle in real time using water metering devices such as flow meters and water level sensors, combined with the initial capacity.

[0032] Sub-step S2023: Determine the bottled water supply ratio by combining the average water consumption, the opening date, and the current usage.

[0033] The system can determine future user water consumption based on average water consumption, and by combining the start date and current usage, identify situations where water supply is needed while ensuring water quality, and determine the proportion of bottled water to be supplied.

[0034] In an optional embodiment of the present invention, the step of determining the bottled water supply ratio by combining the average water consumption, the opening date, and the current usage includes: Sub-step S20231: Determine the capacity and usage cycle of the bottled water; The actual volume of the bottled water can be determined based on its structure. The shelf life of the bottled water can also be used to determine its usage period, such as 7 days, 15 days, etc.

[0035] Sub-step S20232: Determine the remaining water volume between the capacity and the current usage. The remaining water volume is determined by subtracting the current usage from the actual volume of the bottled water. The remaining water volume is the amount of bottled water currently remaining.

[0036] Sub-step S20233: Determine the remaining usage days between the usage period and the activation date; The remaining usage period is determined by comparing the length of the usage cycle with the current opening date of the bottled water. The remaining usage period represents the remaining time when the current bottled water can be consumed.

[0037] Sub-step S20234: Determine the predicted water consumption based on the remaining usage days and the average water consumption; The predicted water consumption during the remaining usage period is determined by combining the length of the remaining usage period and the average water consumption.

[0038] Specifically, the step of determining the predicted water consumption based on the remaining usage days and the average water consumption is as follows: the product of the remaining usage days and the average water consumption is determined as the predicted water consumption.

[0039] Employment determines the projected water consumption by multiplying the remaining usage days by the average water consumption.

[0040] Sub-step S20235: The ratio between the remaining water volume and the predicted drinking water volume is determined as the bottled water supply ratio.

[0041] The ratio between the remaining water volume and the predicted drinking water volume is determined as the bottled water supply ratio.

[0042] For example, when the usage period is 15 days, it can be expressed using the following formula: k=(C-V1) / ((15-t)V) Where k is the bottled water supply ratio; C is the capacity of a single bottle of water (L); V is the average daily total water consumption of the user in the past week (L / day); V1 is the current consumption (L) actually used in the past t days since the opening date; t is the opening date of the bottled water (0 <t≤15)。

[0043] Step 203: In response to the water dispensing command, detect the water supply status of the water purifier; The water dispensing command is used to indicate the need for water supply. In response to the water dispensing command, sensors can monitor the water purifier's operating status in real time, such as water pressure, flow rate, and filter life, to determine the water supply status of the purifier.

[0044] For example, water purifiers can be equipped with water pressure sensors, flow sensors, and filter life monitoring sensors. Water pressure sensors can be installed at the water inlet or key water circuit points to accurately reflect the inlet water pressure or internal system pressure. This sensor detects the water pressure in the purifier and can monitor water pressure changes in real time, preventing damage or performance degradation due to excessively high or low water pressure. Flow sensors, such as turbine flow meters or Hall effect flow meters, can be installed at the water outlet or key water circuits to measure the actual water flow rate. This real-time monitoring of the purifier's water production provides a basis for filter life assessment and water consumption statistics. Filter life monitoring sensors can include time-based sensors, which estimate lifespan by recording filter usage time; flow-based sensors, which determine lifespan by accumulating the amount of water processed by the filter; pressure difference sensors, which assess the degree of clogging by monitoring the pressure difference before and after the filter; and water quality sensors, which indirectly determine filter lifespan by detecting changes in water quality (such as TDS values). Filter life monitoring sensors can be installed near the water purifier filter cartridges or at key water flow points. They can monitor the filter cartridge status in real time, promptly reminding users to replace the cartridges to ensure effective water purification.

[0045] Furthermore, abnormalities in parameters such as water pressure, flow rate, and filter life can be detected through the following methods: For water pressure, set a threshold according to the water purifier's design requirements (e.g., 0.1-0.6 MPa). By continuously monitoring the water pressure value, if it exceeds the threshold three times consecutively (or within a set time window), it is determined to be an abnormal state.

[0046] Regarding flow rate, a threshold is set based on the rated water production capacity of the water purifier (e.g., 1.5-2.0L / min), and the flow rate is monitored in real time. If the flow rate is lower than the low flow rate threshold for 5 consecutive times (or within a set time), it is determined to be an abnormal flow rate and an abnormal state is identified.

[0047] For filter cartridge lifespan, set corresponding thresholds according to the type. Time-based: Set the maximum usage time of the filter cartridge. Flow-based: Set the maximum water throughput of the filter cartridge. Pressure difference-based: Set the pressure difference alarm threshold. Water quality-based: Set the TDS alarm threshold. Single parameter judgment is possible; an alarm is triggered when any parameter reaches its threshold (e.g., time expires or flow rate meets standard). A comprehensive judgment is also possible, using multiple parameters together (e.g., if the time hasn't expired but the pressure difference exceeds the standard, it's still considered a filter cartridge malfunction), to determine the abnormal state.

[0048] Step 204: Determine valve control information based on the water supply status and the bottled water supply ratio; Valve control information can also be determined jointly by the water purifier, the water supply volume, and the bottled water supply volume based on the water supply status and the bottled water supply ratio.

[0049] In this embodiment of the invention, the step of determining valve control information based on the water supply status and the bottled water supply ratio includes: Sub-step S2041: If the water supply status is abnormal, determine that the valve control information is to shut down the water purifier; When the water supply status exhibits abnormal conditions such as water pressure below the threshold, abnormal flow, or filter failure, the water supply status can be determined to be abnormal. In the case of an abnormal water supply status, the valve control information is set to shut down the water purifier, meaning the valve corresponding to the bottled water is fully opened, and all water is supplied by bottled water.

[0050] Sub-step S2042: When the water supply status is normal, determine the valve control information based on the bottled water supply ratio.

[0051] When the water supply is normal, meaning that there are no problems with the water purifier and the bottled water, the opening ratio of the regulating valve for the water inlet of the water purifier and the bottled water can be determined based on the bottled water supply ratio, and then the valve control information can be determined.

[0052] Step 205: Control the regulating valve based on the valve control information.

[0053] Based on the supply demand of the two water sources in the valve control information, the valve opening of the regulating valve is controlled to achieve water supply.

[0054] Step 206: Obtain the water pressure detected by the pressure sensor; It can also acquire the water pressure at the output end of the water supply pipeline detected by the pressure sensor. A diffused silicon pressure sensor can be used; the water pressure acts directly on the sensor's diaphragm, causing a micro-displacement proportional to the water pressure, thus changing the sensor's resistance. The electronic circuitry detects this change and outputs a corresponding pressure measurement signal. The water pressure is then determined using this measurement signal.

[0055] Step 207: Control the variable frequency pump according to the water pressure.

[0056] The variable frequency pump is controlled by water pressure, and its output pressure is dynamically adjusted to ensure that a constant water pressure is maintained under different loads, thereby improving the stability of the output water.

[0057] In an optional embodiment of the present invention, the step of controlling the variable frequency pump according to the water pressure includes: Sub-step S2071: Determine the target rotational speed based on the water pressure; The target rotational speed can be determined based on the pressure difference by comparing the water pressure with the target pressure required for supply.

[0058] Sub-step S2072: Control the variable frequency pump to reach the target speed.

[0059] By controlling the variable frequency pump to reach the target speed, it is possible to maintain constant water pressure under different loads and improve the stability of the output water.

[0060] In this invention, the dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. It acquires historical drinking water data from the user; determines the bottled water supply ratio based on the historical drinking water data; detects the water supply status of the water purifier in response to a water dispensing command; determines valve control information based on the water supply status and the bottled water supply ratio; controls the regulating valve based on the valve control information; acquires the water pressure detected by the pressure sensor; and controls the variable frequency pump based on the water pressure. By providing water from both the water purifier and bottled water sources through the dual-source water dispenser, the continuity of water supply can be ensured. The dual-source water dispenser is always ready for use, and based on the water supply status of the water purifier and the bottled water supply ratio, it can output clean water under different conditions, improving the quality of the output water. Furthermore, by working in conjunction with a pressure sensor and a variable frequency pump, it maintains constant water pressure under different loads, improving the stability of long-distance water supply; by using control methods to monitor the water purifier's operating status in real time and automatically execute switching logic, it achieves seamless switching without manual intervention, enabling the dual-source water pipeline machine to have intelligent management capabilities, achieving efficient, stable, and safe water supply, and improving the user experience.

[0061] To enable those skilled in the art to clearly understand the implementation process of the embodiments of the present invention, an example is used below for illustration: After the dual-source water dispenser starts, it prioritizes drawing water from the water purifier. It collects water purifier status data every set interval (e.g., 10 seconds). If an abnormality is detected in the water purifier (e.g., water pressure below the threshold, abnormal flow, filter failure), a switching logic is triggered, closing the water purifier's inlet valve and opening the bottled water inlet valve to ensure uninterrupted water supply. The entire switching process is completed within seconds, requiring no manual intervention from the user. It can also automatically control the opening of the regulating valve based on user habits, dynamically adjusting the water supply ratio. After switching, the water purifier's status continues to be monitored; if it returns to normal, the user is prompted to switch back to the water purifier. Furthermore, the pump speed is adjusted in real-time to maintain the set water pressure value (e.g., 0.2MPa), ensuring stability during long-distance water supply. It can also automatically control the opening of the regulating valve based on user habits, dynamically adjusting the water supply ratio.

[0062] Furthermore, the dual-source intelligent switching mechanism can be expanded to automatically switch between multiple water sources. In addition to water purifiers and bottled water, it can also connect to pre-treated drinking water or external water purification equipment. The switching logic can intelligently determine the switching based on water quality test results (such as TDS value), water pressure stability, and user water preferences.

[0063] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0064] Reference Figure 4 The diagram illustrates a structural block diagram of an embodiment of a dual-source water supply machine control device according to the present invention. The dual-source water supply machine includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end of the water supply pipeline is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. The dual-source water supply machine control device may specifically include the following modules: The first acquisition module 401 is used to acquire the user's historical drinking water data; The ratio determination module 402 is used to determine the bottled water supply ratio based on the user's historical drinking water data. The detection module 403 is used to detect the water supply status of the water purifier in response to the water dispensing command; Information module 404 is used to determine valve control information based on the water supply status and the bottled water supply ratio; The first control module 405 is used to control the regulating valve based on the valve control information.

[0065] In an optional embodiment of the present invention, the user's historical drinking water data includes daily water consumption, the bottled water container is used to hold bottled water, and the ratio determination module 402 includes: The water consumption determination submodule is used to determine the average water consumption based on the daily water consumption. The bottled water information acquisition submodule is used to acquire the opening date and current usage of the bottled water; The proportion determination submodule is used to determine the bottled water supply proportion by combining the average water consumption, the opening date, and the current usage.

[0066] In an optional embodiment of the present invention, the ratio determination submodule includes: The first determining unit is used to determine the capacity and usage cycle of the bottled water; The second determining unit is used to determine the remaining water volume between the capacity and the current usage. The third determining unit is used to determine the remaining usage days between the usage period and the activation date; The fourth determining unit is used to determine the predicted water consumption based on the remaining usage days and the average water consumption; The ratio determination unit is used to determine the ratio between the remaining water volume and the predicted drinking water volume as the bottled water supply ratio.

[0067] In an optional embodiment of the present invention, the fourth determining unit includes: The predicted water consumption determination subunit is used to determine the predicted water consumption by multiplying the remaining usage days by the average water consumption.

[0068] In an optional embodiment of the present invention, the information module 404 includes: An anomaly determination module is used to determine that the valve control information should be set to shut down the water purifier when the water supply status is abnormal. The normal determination module is used to determine valve control information based on the bottled water supply ratio when the water supply status is normal.

[0069] In an optional embodiment of the present invention, the water dispenser further includes a pressure sensor and a variable frequency pump disposed on the water supply pipeline, and the device further includes: The second acquisition module is used to acquire the water pressure detected by the pressure sensor; The second control module is used to control the variable frequency pump based on the water pressure.

[0070] In an optional embodiment of the present invention, the second control module includes: The rotational speed determination submodule is used to determine the target rotational speed based on the water pressure; The variable frequency pump control submodule is used to control the variable frequency pump to reach the target speed.

[0071] In this invention, the dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. It acquires historical drinking water data from the user; determines the bottled water supply ratio based on the historical drinking water data; detects the water supply status of the water purifier in response to a water dispensing command; determines valve control information based on the water supply status and the bottled water supply ratio; and controls the regulating valve based on the valve control information. By providing water from both the water purifier and bottled water sources through the dual-source water dispenser, the continuity of water supply can be ensured. The dual-source water dispenser is always ready for use, and based on the water supply status of the water purifier and the bottled water supply ratio, it can output clean water under different conditions, improving water quality and thus enhancing the user experience.

[0072] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0073] Reference Figure 5 The present invention also provides an electronic device, comprising: A processor 501 and a memory 502 are provided. The memory 502 stores a computer program executable by the processor 501. When the electronic device is controlled to run, the processor 501 executes the computer program to implement the dual-source water dispenser control method as described in any embodiment of the present invention. The dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end of the water supply pipeline is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. The dual-source water dispenser control method includes: Obtain users' historical drinking water data; The proportion of bottled water supply is determined based on the user's historical drinking water data. In response to a water dispensing command, the water supply status of the water purifier is detected; Valve control information is determined based on the water supply status and the bottled water supply ratio. The regulating valve is controlled based on the valve control information.

[0074] Optionally, the user's historical drinking water data includes daily water consumption, the bottled water container is used to hold bottled water, and the step of determining the bottled water supply ratio based on the user's historical drinking water data includes: The average water intake is determined based on the daily water intake. Obtain the opening date and current usage of the bottled water; The bottled water supply ratio is determined by combining the average water consumption, the opening date, and the current usage.

[0075] Optionally, the step of determining the bottled water supply ratio by combining the average water consumption, the opening date, and the current usage includes: Determine the capacity and usage cycle of the bottled water; Determine the remaining water volume between the capacity and the current usage; Determine the remaining usage days between the usage period and the activation date; The predicted water consumption is determined based on the remaining usage days and the average water consumption. The ratio between the remaining water volume and the predicted drinking water volume is determined as the bottled water supply ratio.

[0076] Optionally, the step of determining the predicted water consumption based on the remaining usage days and the average water consumption includes: The product of the remaining usage days and the average water consumption is determined as the predicted water consumption.

[0077] Optionally, the step of determining valve control information based on the water supply status and the bottled water supply ratio includes: If the water supply status is abnormal, the valve control information is determined to shut down the water purifier; When the water supply is in a normal state, valve control information is determined based on the bottled water supply ratio.

[0078] Optionally, the water dispenser further includes a pressure sensor and a variable frequency pump installed in the water supply pipeline, and the method further includes: Obtain the water pressure detected by the pressure sensor; The variable frequency pump is controlled based on the water pressure.

[0079] Optionally, the step of controlling the variable frequency pump based on the water pressure includes: The target rotational speed is determined based on the water pressure. Control the variable frequency pump to achieve the target speed.

[0080] In this invention, the dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. It acquires historical drinking water data from the user; determines the bottled water supply ratio based on the historical drinking water data; detects the water supply status of the water purifier in response to a water dispensing command; determines valve control information based on the water supply status and the bottled water supply ratio; and controls the regulating valve based on the valve control information. By providing water from both the water purifier and bottled water sources through the dual-source water dispenser, the continuity of water supply can be ensured. The dual-source water dispenser is always ready for use, and based on the water supply status of the water purifier and the bottled water supply ratio, it can output clean water under different conditions, improving water quality and thus enhancing the user experience.

[0081] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0082] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0083] Reference Figure 6 This invention also provides a computer-readable storage medium 601, on which a computer program is stored. When the computer program is run by a processor, it executes the dual-source water dispenser control method as described in any one of the embodiments of this invention. The dual-source water dispenser includes a water supply pipeline and a regulating valve. A first input end of the water supply pipeline is connected to a water purifier, and a second input end of the water supply pipeline is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. The dual-source water dispenser control method includes: Obtain users' historical drinking water data; The proportion of bottled water supply is determined based on the user's historical drinking water data. In response to a water dispensing command, the water supply status of the water purifier is detected; Valve control information is determined based on the water supply status and the bottled water supply ratio. The regulating valve is controlled based on the valve control information.

[0084] Optionally, the user's historical drinking water data includes daily water consumption, the bottled water container is used to hold bottled water, and the step of determining the bottled water supply ratio based on the user's historical drinking water data includes: The average water intake is determined based on the daily water intake. Obtain the opening date and current usage of the bottled water; The bottled water supply ratio is determined by combining the average water consumption, the opening date, and the current usage.

[0085] Optionally, the step of determining the bottled water supply ratio by combining the average water consumption, the opening date, and the current usage includes: Determine the capacity and usage cycle of the bottled water; Determine the remaining water volume between the capacity and the current usage; Determine the remaining usage days between the usage period and the activation date; The predicted water consumption is determined based on the remaining usage days and the average water consumption. The ratio between the remaining water volume and the predicted drinking water volume is determined as the bottled water supply ratio.

[0086] Optionally, the step of determining the predicted water consumption based on the remaining usage days and the average water consumption includes: The product of the remaining usage days and the average water consumption is determined as the predicted water consumption.

[0087] Optionally, the step of determining valve control information based on the water supply status and the bottled water supply ratio includes: If the water supply status is abnormal, the valve control information is determined to shut down the water purifier; When the water supply is in a normal state, valve control information is determined based on the bottled water supply ratio.

[0088] Optionally, the water dispenser further includes a pressure sensor and a variable frequency pump installed in the water supply pipeline, and the method further includes: Obtain the water pressure detected by the pressure sensor; The variable frequency pump is controlled based on the water pressure.

[0089] Optionally, the step of controlling the variable frequency pump based on the water pressure includes: The target rotational speed is determined based on the water pressure. Control the variable frequency pump to achieve the target speed.

[0090] In this invention, the dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. It acquires historical drinking water data from the user; determines the bottled water supply ratio based on the historical drinking water data; detects the water supply status of the water purifier in response to a water dispensing command; determines valve control information based on the water supply status and the bottled water supply ratio; and controls the regulating valve based on the valve control information. By providing water from both the water purifier and bottled water sources through the dual-source water dispenser, the continuity of water supply can be ensured. The dual-source water dispenser is always ready for use, and based on the water supply status of the water purifier and the bottled water supply ratio, it can output clean water under different conditions, improving water quality and thus enhancing the user experience.

[0091] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0092] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0094] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0096] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0097] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0098] The foregoing has provided a detailed description of a dual-source water pipeline machine control method, a dual-source water pipeline machine control device, an electronic device, and a computer-readable storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A control method for a dual-source water pipeline machine, characterized in that, The dual-source water dispenser includes a water supply pipeline and a regulating valve. A first input end of the water supply pipeline is connected to a water purifier, and a second input end of the water supply pipeline is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. The method includes: Obtain users' historical drinking water data; The proportion of bottled water supply is determined based on the user's historical drinking water data. In response to a water dispensing command, the water supply status of the water purifier is detected; Valve control information is determined based on the water supply status and the bottled water supply ratio. The regulating valve is controlled based on the valve control information.

2. The method according to claim 1, characterized in that, The user's historical drinking water data includes daily water consumption; the bottled water container is used to hold bottled water; and the step of determining the bottled water supply ratio based on the user's historical drinking water data includes: The average water intake is determined based on the daily water intake. Obtain the opening date and current usage of the bottled water; The bottled water supply ratio is determined by combining the average water consumption, the opening date, and the current usage.

3. The method according to claim 2, characterized in that, The step of determining the bottled water supply ratio by combining the average water consumption, the opening date, and the current usage includes: Determine the capacity and usage cycle of the bottled water; Determine the remaining water volume between the capacity and the current usage; Determine the remaining usage days between the usage period and the activation date; The predicted water consumption is determined based on the remaining usage days and the average water consumption. The ratio between the remaining water volume and the predicted drinking water volume is determined as the bottled water supply ratio.

4. The method according to claim 3, characterized in that, The step of determining the predicted water consumption based on the remaining usage days and the average water consumption: The product of the remaining usage days and the average water consumption is determined as the predicted water consumption.

5. The method according to claim 1, characterized in that, The step of determining valve control information based on the water supply status and the bottled water supply ratio includes: If the water supply status is abnormal, the valve control information is determined to shut down the water purifier; When the water supply is in a normal state, valve control information is determined based on the bottled water supply ratio.

6. The method according to claim 1, characterized in that, The water dispenser also includes a pressure sensor and a variable frequency pump installed in the water supply pipeline, and the method further includes: Obtain the water pressure detected by the pressure sensor; The variable frequency pump is controlled based on the water pressure.

7. The method according to claim 6, characterized in that, The step of controlling the variable frequency pump based on the water pressure includes: The target rotational speed is determined based on the water pressure. Control the variable frequency pump to achieve the target speed.

8. A dual-source water pipeline machine control device, characterized in that, The dual-source water dispenser includes a water supply pipeline and a regulating valve. The first input end of the water supply pipeline is connected to a water purifier, and the second input end of the water supply pipeline is connected to a bottled water container. The regulating valve is located at the output end of the water supply pipeline. The device includes: The first acquisition module is used to acquire users' historical drinking water data; The ratio determination module is used to determine the bottled water supply ratio based on the user's historical drinking water data. The detection module is used to detect the water supply status of the water purifier in response to the water dispensing command; The information module is used to determine valve control information based on the water supply status and the bottled water supply ratio; The first control module is used to control the regulating valve based on the valve control information.

9. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, it implements the steps of the dual-source water pipeline machine control method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the dual-source water pipeline machine control method as described in any one of claims 1-7.