Control method and device of water supply device, water supply device and storage medium

By obtaining historical water use data and calculating cleaning parameters, the water supply device is automatically controlled to clean the water circuit, solving the problems of low cleaning efficiency and poor effect of existing water supply devices, and achieving a more efficient and accurate cleaning effect.

CN119960329APending Publication Date: 2025-05-09GUANGDONG LIZI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510112344.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

The existing water supply devices are inefficient and have poor results when cleaning, making it difficult to thoroughly clean the internal waterway.

Method used

By obtaining historical water use data, calculating cleaning parameters, and automatically controlling the water supply device for water cleaning, ensuring the accuracy and efficiency of the cleaning process.

Benefits of technology

It improves cleaning efficiency and effect, avoids the cumbersome and time-consuming of manual cleaning, and ensures thorough cleaning of the waterways inside the water supply device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119960329A_ABST
    Figure CN119960329A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of control of water supply devices, and discloses a control method and device of a water supply device, the water supply device and a storage medium. Cleaning parameters are calculated according to the historical water consumption data; and according to the cleaning parameters, water path cleaning is conducted on the water supply device. According to the embodiment of the invention, through automatic calculation and control, tedious and time-consuming manual cleaning is avoided, and the cleaning efficiency and the cleaning effect are improved. And cleaning parameters are calculated based on historical data, so that cleaning is more accurate and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water supply device control, and in particular to a water supply device control method, device, water supply device and storage medium. Background Art

[0002] Water supply devices can provide cold water, warm water and hot water, and are widely used in life and production. With the continuous use of water supply devices, the water channels inside the water supply devices will gradually accumulate scale, bacteria and other adverse substances. In the related art, users can only clean it manually, which is inefficient, and it is difficult to clean the water channels inside the water supply devices, resulting in poor cleaning effect. Summary of the invention

[0003] Based on this, it is necessary to address the technical problems of low cleaning efficiency and poor cleaning effect when cleaning a water supply device in the prior art, and propose a control method, device, water supply device and storage medium for a water supply device.

[0004] In a first aspect, a control method for a water supply device is provided, wherein the method is applied to the water supply device;

[0005] The method comprises:

[0006] In response to a cleaning instruction, obtaining historical water usage data;

[0007] calculating cleaning parameters based on the historical water use data;

[0008] The water channel of the water supply device is cleaned according to the cleaning parameters.

[0009] In a second aspect, a control device for a water supply device is provided. The device is applied to the water supply device and is configured to implement the steps of the control method for the water supply device as described above.

[0010] In a third aspect, a water supply device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the control method of the water supply device when executing the computer program.

[0011] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method of the water supply device are implemented.

[0012] The control method, device, water supply device and storage medium of the water supply device of the present application, wherein the method is used to respond to a cleaning instruction, obtain historical water use data, calculate cleaning parameters based on the historical water use data, and clean the water path of the water supply device according to the cleaning parameters. The embodiment of the present application avoids the tediousness and time-consuming manual cleaning through automated calculation and control, and improves the cleaning efficiency and cleaning effect. And the cleaning parameters are calculated based on historical data, making the cleaning more accurate and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0014] in:

[0015] Figure 1 is a structural block diagram of a water supply device in one embodiment;

[0016] Figure 2 is a flow chart of a method for controlling a water supply device in one embodiment;

[0017] Figure 3 This is one of the specific flow charts of a control method of a water supply device in one embodiment;

[0018] Figure 4 This is a second specific flow chart of a method for controlling a water supply device in an embodiment;

[0019] Figure 5 This is a specific flow chart of a control method for a water supply device in one embodiment;

[0020] Figure 6 A schematic diagram of cleaning each water channel of a water supply device in one embodiment;

[0021] Figure 7 This is a fourth specific flow chart of a method for controlling a water supply device in an embodiment.

[0022] Description of the main units and components of this application:

[0023] 12. Second control valve; 13. Third control valve; 14. Fourth control valve; 15. Fifth control valve; 16. Sixth control valve; 17. Seventh control valve; 18. Eighth control valve; 200. Water outlet unit; 24. Temperature detector; 25. Faucet; 26. Exhaust port; 31. Flow meter; 32. Heat exchanger; 400. Heating unit; 41A. First hot tank; 41B. Second hot tank; 42. Exhaust port; 43. First pumping component; 51. Heater; 52. Third pumping component; 600. Control unit; 61. Refrigerator; 62. Cold water pump; 63. Cold water valve; 64. Diverter valve; 65. Water storage circulation pump; 66. Water exchange valve; 67. Water replenishment valve; 700. Loop unit; 71. Second pumping component; 72. Wastewater pipe; 80. Water inlet; 800. Water inlet unit; 900. Refrigeration unit. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] The water supply device 1 control method provided in the embodiment of the present invention is applied to the water supply device 1, please refer to Figure 1 and Figure 6 Optionally, the water supply device 1 includes: a control unit 600, a water inlet unit 800, a heating unit 400, a water outlet unit 200 and a loop unit 700, the control unit 600 is used to control the operation of the water inlet unit 800, the heating unit 400, the water outlet unit 200 and the loop unit 700, the water outlet unit 200 is used to output water of a preset temperature according to the water inlet unit 800 and the heating unit 400, and the loop unit 700 is connected with the water inlet unit 800, the heating unit 400 and the water outlet unit 200 to form a reflux waterway.

[0026] Optionally, the water supply device 1 includes: a refrigeration unit 900, a control unit 600, a water inlet unit 800, a heating unit 400, a water outlet unit 200 and a loop unit 700. The control unit 600 is used to control the operation of the refrigeration unit 900, the water inlet unit 800, the heating unit 400, the water outlet unit 200 and the loop unit 700. The refrigeration unit 900 is used to refrigerate the water input into the refrigeration unit 900 by the water inlet unit 800. The heating unit 400 is used to heat the water output by the water inlet unit 800, the water outlet unit 200 is used to output water of a preset temperature according to the refrigeration unit 900, the water inlet unit 800 and the heating unit 400, and the loop unit 700 is connected with the refrigeration unit 900, the water inlet unit 800, the heating unit 400 and the water outlet unit 200 to form a reflux waterway.

[0027] The water inlet unit 800 includes a water inlet 80 .

[0028] The refrigeration unit 900 includes: a refrigerator 61, a cold water pump 62 and a cold water valve 63. The cold water pump 62 is a water pump. The cold water valve 63 is a one-way valve to control the water outlet of the cold water pump 62 to be connected to the water inlet of the cold water valve 63, and the water outlet of the cold water valve 63 is connected to the water outlet unit 200. The water inlet of the cold water pump 62 is connected to the refrigerator 61. Optionally, the refrigerator 61 is an ice liner.

[0029] Optionally, the water inlet unit 800 further includes: a water inlet control valve (not shown in the figure). The water inlet control valve is used to distribute the amount of water input from the water inlet into the heating unit 400, the water outlet unit 200 and the loop unit 700. The water inlet control valve can be a multi-way valve, or a combination of one or more of a two-way valve, a three-way valve, and a flow valve.

[0030] See also Figure 1 Optionally, the heating unit 400 includes: a heat exchange subunit, a heating and heat storage subunit and an instant heating subunit. The heating and heat storage subunit is used to provide thermal energy to the heat exchange of the heat exchange subunit. The instant heating subunit is used to heat the water after heat exchange by the heat exchange subunit and / or the water input into the instant heating subunit by the water inlet unit 800. One or more of the heat exchange subunit, the instant heating subunit and the water inlet unit 800 outputs water to the water outlet unit 200.

[0031] The heating and heat storage subunit is used to heat and store hot water inputted into the heating and heat storage subunit by the water inlet unit 800. The heat storage subunit is used to store hot water, that is, the heating subunit adopts a thick film heater.

[0032] The control unit 600 is used to control the operation of the heat exchange subunit, the heat storage subunit, the instant heating subunit, the water outlet unit 200 and the loop unit 700 .

[0033] The water heated by the instant heating subunit enters the heat storage subunit or the water outlet unit 200. The hot water in the heat storage subunit is used to exchange heat with the normal temperature water input into the heat exchange subunit, and the water heated by the heat exchange subunit enters the water outlet unit 200 or the instant heating subunit. The water inlet unit 800 is connected to the heat exchange subunit, the heat storage subunit, the instant heating subunit and the water outlet unit 200 through pipelines, that is, the first way of water input into the water supply device 1 by the water inlet unit 800 enters the heat exchange subunit (the water is heated after heat exchange in the heat exchange subunit), the second way of water input into the water supply device 1 by the water inlet unit 800 enters the heat storage subunit (the water is used as the heat exchange medium of the heat storage subunit), the third way of water input into the water supply device 1 by the water inlet unit 800 enters the instant heating subunit, and the fourth way of water input into the water supply device 1 by the water inlet unit 800 enters the water outlet unit 200 (the water enters the water outlet unit 200 in the form of normal temperature).

[0034] The loop unit 700 is connected with the heat exchange sub-unit, the heat storage sub-unit, the instant heat sub-unit and the water outlet unit 200 to form a return water circuit.

[0035] The water input into the water supply device 1 by the water inlet unit 800 may be tap water or purified water.

[0036] Optionally, the water inlet unit further includes: a second control valve 12, a fifth control valve 15, a third control valve 13, and a water supply valve 67. The water supply valve 67 is a one-way valve.

[0037] Optional, see Figure 1 , the heat exchange subunit includes: a water exchange valve 66, a flow meter 31, a first control valve 11 and a heat exchanger 32. The heat storage subunit includes: a heat tank, a first pumping component 43, and a third control valve 13. The heat subunit includes a heater 51. The water outlet unit 200 includes: a fourth control valve 14, a temperature detector 24 and a faucet 25. The temperature detector 24 is used to detect the temperature of water entering the water outlet unit 200. The first pumping component 43 adopts a water pump. The second control valve 12 can adopt a flow valve or an on-off valve. The fourth control valve 14 adopts a two-way valve. The water exchange valve 66 adopts a two-way valve.

[0038] Optionally, the heat storage subunit further includes: a water storage circulation pump 65. The water storage circulation pump 65 is a water pump, which is used to pump the hot water output by the heater 51 back to the heat tank.

[0039] It can be understood that the hot tank is divided into a first hot tank 41A and a second hot tank 41B. The first hot tank 41A has heating and water storage functions, and the second hot tank 41B has a water storage function but not a heating function.

[0040] Optionally, the water outlet unit 200 further includes: a sixth control valve 16. The sixth control valve 16 is a one-way valve or a two-way valve, which is used to prevent water outside the faucet 25 from entering the water outlet unit 200, thereby preventing the water outside the faucet 25 from polluting the water supply device 1.

[0041] The circuit unit 700 includes: a diverter valve 64, a seventh control valve 17, a second pumping component 71 and a waste water pipe 72. It is understandable that the second pumping component 71 can be a water pump. The second pumping component 71 can also be replaced by a water bag. The diverter valve 64 is a three-way valve, the first end of the diverter valve 64 is connected to the hot tank, the second end of the diverter valve 64 is connected to the seventh control valve 17, and the third end of the diverter valve 64 is connected to the refrigerator 61.

[0042] Optionally, the first end of the seventh control valve 17 is communicated with the end of the fourth control valve 14 near the tap 25, the second end of the seventh control valve 17 is communicated with the inlet of the second pumping component 71, the third end of the seventh control valve 17 is communicated with the hot tank, and the outlet of the second pumping component 71 is communicated with the waste water pipe 72, wherein the seventh control valve 17 is a three-way valve or a component composed of a plurality of two-way valves. The waterway corresponding to the hot tank, the seventh control valve 17, the second pumping component 71 and the waste water pipe 72 is used as the hot tank drainage waterway (part of the reflux waterway), so that the water in the hot tank can be discharged.

[0043] Optionally, the seventh control valve 17 adopts a one-way valve, the inlet of the seventh control valve 17 is connected to the end of the fourth control valve 14 near the faucet 25, the outlet of the seventh control valve 17 is connected to the waste water pipe 72, the inlet of the second pumping component 71 is connected to the hot tank, and the outlet of the second pumping component 71 is connected to the waste water pipe 72, wherein the water path corresponding to the hot tank, the seventh control valve 17, the second pumping component 71 and the waste water pipe 72 is used as the hot tank drainage water path, and the water path corresponding to the sixth control valve, the seventh control valve 17 and the waste water pipe 72 is used as the waste water path (part of the reflux water path).

[0044] The water inlet unit 800 is connected to the inlet of the water outlet unit 200 to form a normal temperature water path, that is, when the water outlet unit 200 does not include the sixth control valve 16, the water path corresponding to the water inlet 80, the second control valve 12, the fifth control valve 15, the fourth control valve 14 to the faucet 25 is used as a normal temperature water path. When the water outlet unit 200 also includes the sixth control valve 16, the water path corresponding to the water inlet 80, the second control valve 12, the fifth control valve 15, the fourth control valve 14, the sixth control valve 16 to the faucet 25 is used as a normal temperature water path.

[0045] The water path corresponding to the water inlet 80, the second control valve 12, the fifth control valve 15, the third control valve 13, the refrigerator 61, the cold water pump 62, the cold water valve 63, the sixth control valve 16 to the faucet 25 is used as the cold water path.

[0046] The water inlet unit 800, the first tube of the heat exchange subunit, the heating subunit, and the inlet of the water outlet unit 200 are connected in sequence to form a hot water waterway. That is to say, the waterway from the water inlet 80, the first tube of the heat exchanger 32, the water change valve 66, the heater 51, the fourth control valve 14 to the faucet 25 is used as the hot water waterway.

[0047] The heat storage subunit is connected to the second pipe of the heat exchange subunit to form a circulating heat exchange circuit, that is, the water circuit corresponding to the hot tank, the first pumping component 43, the second pipe of the heat exchanger 32 and the hot tank is used as a circulating heat exchange circuit. When the circulating heat exchange circuit is working, the third control valve 13 is in a closed state, so that the first pumping component 43 extracts water (hot water) in the hot tank from the hot tank to the first end of the second pipe of the heat exchanger 32, and the heat in the hot water is exchanged to the first pipe of the heat exchanger 32 and then becomes cold, and then flows back to the hot tank from the second end of the second pipe of the heat exchanger 32.

[0048] The heat carried by the second tube of the heat exchanger 32 is exchanged to the first tube of the heat exchanger 32 to increase the temperature of the water flowing through the first tube of the heat exchanger 32, thereby achieving heat exchange.

[0049] See also Figure 1 For the instant heating subunit and the heat storage subunit being connected to form a hot water storage circuit, an optional implementation method is to use the water circuit formed from the water inlet 80, the first pipe of the heat exchanger 32, the heater 51, the fourth control valve 14, the seventh control valve 17 to the hot tank as the hot water storage circuit.

[0050] The eighth control valve 18 may be a three-way valve or a component formed by combining a plurality of two-way valves.

[0051] It can be understood that the hot tank is provided with an exhaust hole 42, through which the hot tank discharges excess gas inside the hot tank.

[0052] Optionally, the gas exhausted from the hot tank through the exhaust hole 42 is exhausted to the external environment through the exhaust port 26 of the water outlet unit 200.

[0053] Optionally, the water path from the water inlet 80, the second control valve 12, the fifth control valve 15, the third control valve 13, the water replenishment valve 67 to the hot tank is used as the water replenishment water path of the hot tank, and the water replenishment water path is used to replenish water to the hot tank.

[0054] Optionally, the instant heating subunit adopts a thick film heater 51. The thick film heater 51 is generally a heating element formed by manufacturing a heating resistor material on a substrate using thick film technology. The thick film heater 51 has the characteristics of rapid heating, high thermal efficiency, stable performance, and long service life, and is widely used in some equipment that requires rapid heating and precise temperature control. It is understandable that the instant heating subunit can also adopt a heater, which is not limited here.

[0055] Optionally, the water outlet unit 200 further includes: a ninth control valve, the inlet of the ninth control valve is connected to the external environment, and the outlet of the ninth control valve is connected to the exhaust port 26 of the water outlet unit 200, wherein the ninth control valve is a one-way valve. Air is supplied to the loop unit 700 through the exhaust port 26 of the water outlet unit 200 to evacuate water from the ninth control valve to the waste water pipe 72.

[0056] Optionally, the water supply device 1 further includes: a cleaning agent delivery unit, which is connected to the water inlet unit, the heat exchange subunit, the heat storage subunit, the instant heating subunit and the water outlet unit. The cleaning agent delivery unit includes a cleaning agent storage box and a dosage delivery control valve. Whether the cleaning agent in the cleaning agent storage box is delivered is controlled by controlling the on-off of the dosage delivery control valve, and the delivery amount of the cleaning agent in the cleaning agent storage box is controlled by controlling the conduction time of the dosage delivery control valve. It can be understood that the number of the dosage delivery control valves is multiple, so that cleaning agent can be delivered to each unit and the water inlet unit separately.

[0057] Optionally, the control unit 600 includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the water supply device 1 control method of the present application when executing the computer program.

[0058] Optionally, the control method of the water supply device 1 of the present application is implemented by a smart device, and the smart device is in communication with the water supply device 1. The smart device is used to: obtain historical water use data in response to a cleaning instruction; calculate cleaning parameters based on the historical water use data; and clean the water path of the water supply device 1 based on the cleaning parameters.

[0059] Smart devices include, but are not limited to: various personal computers, laptops, smart phones, tablets, portable wearable devices, smart gateways, and servers.

[0060] The present invention is described in detail below through specific embodiments.

[0061] See also Figure 2 As shown, Figure 2 A flow chart of a control method for a water supply device 1 provided in an embodiment of the present invention is provided. The method is applied to the water supply device 1 and includes:

[0062] S1: In response to a cleaning instruction, obtaining historical water usage data.

[0063] The historical water use data may be water use information recorded by the water supply device 1 in the past period of time, including but not limited to water use amount, water use time, water use temperature, water use frequency, etc.

[0064] Specifically, the user can generate a cleaning instruction by triggering a button on the water supply device 1, the user can also generate a cleaning instruction through the touch screen on the water supply device 1, the user can also generate a cleaning instruction through a client that is connected to the water supply device 1 in communication, and the user can also send a cleaning instruction to the server through a third-party application, and the server sends the cleaning instruction to the program file that implements this application. After receiving the cleaning instruction, the water supply device 1 can start to execute the cleaning process and extract historical water use data from the memory or database. It is understandable that the built-in sensor and control unit 600 of the water supply device 1 can record water use data in real time and store it in the internal memory or cloud database.

[0065] The client may include but is not limited to: various personal computers, laptops, smart phones, tablet computers, portable wearable devices.

[0066] The server may be a server.

[0067] S2: Calculate cleaning parameters based on historical water usage data.

[0068] The cleaning parameters are used to guide a series of parameters for cleaning the water channel of the water supply device 1 , and may include cleaning time, cleaning temperature, water flow rate, and the like.

[0069] Specifically, the water supply device 1 can analyze and calculate the historical water use data based on a preset algorithm to obtain the most suitable cleaning parameters for the current water supply device 1, ensuring that the cleaning process can effectively remove scale and bacteria without causing damage to the water supply device 1. The embodiment of the present application adjusts the cleaning parameters according to the historical water use data, which can more accurately meet the cleaning needs of the water supply device 1.

[0070] S3: Clean the water channel of the water supply device according to the cleaning parameters.

[0071] Specifically, the water supply device 1 can clean various water channels (such as hot water channels, normal temperature water channels, and cold water channels, etc.) inside the water supply device 1 according to the calculated cleaning parameters to remove scale and bacteria in the water channels.

[0072] The control method of the water supply device 1 of the present application is used to respond to the cleaning instruction, obtain historical water use data, calculate the cleaning parameters according to the historical water use data, and clean the water channel of the water supply device 1 according to the cleaning parameters. The embodiment of the present application avoids the tediousness and time-consuming manual cleaning through automatic calculation and control, improves the cleaning efficiency and cleaning effect. And the cleaning parameters are calculated based on historical data, making the cleaning more accurate and efficient.

[0073] See also Figure 3As shown, in some embodiments, the historical water use data includes at least one of the historical water consumption and the historical water use frequency, and the cleaning parameters include the cleaning time, the cleaning temperature and the water flow rate. The above calculation of the cleaning parameters based on the historical water use data includes:

[0074] S21: Calculate the cleaning time according to the historical water consumption and the historical water usage frequency.

[0075] Among them, historical water consumption refers to the actual amount of water used in a certain period of time in the past, usually in liters (L) or cubic meters (m3).

[0076] Historical water use frequency refers to the number of times or frequency of water use in a certain period of time in the past, which can reflect the frequency of water use by users.

[0077] Specifically, the water supply device 1 can collect and organize historical water use data, including daily, weekly or monthly water consumption and water use frequency. Then, through data analysis algorithms, such as time series analysis or regression analysis, the relationship between water consumption and water use frequency is found, and the cleaning time is predicted or set based on this relationship. For example, if historical data shows that the water consumption is large and the frequency is high, it may be necessary to set a longer cleaning time to ensure the cleanliness of the water supply device 1. This ensures that the setting of the cleaning time can meet the user's water use habits and needs, avoiding poor cleaning effects or waste of resources due to too long or too short cleaning time.

[0078] S22: Obtain the type of water channel to be cleaned.

[0079] The type of waterway to be cleaned refers to the type of waterway that needs to be cleaned, and different types of waterways may require different cleaning conditions. For example, since a cold waterway is provided with a refrigeration element, the acceptable cleaning temperature may be lower than the cleaning temperature of a hot waterway.

[0080] Specifically, the water supply device 1 can obtain the type information of the waterway to be cleaned by user input, sensor detection or device identification, etc. The type information of the waterway to be cleaned can be stored inside the device or sent to the central control unit 600 through the network.

[0081] S23: Determine the cleaning temperature according to the type of water channel to be cleaned.

[0082] Specifically, the water supply device 1 can search and determine the appropriate cleaning temperature from a preset cleaning parameter library based on the known waterway type (ie, the waterway type to be cleaned) and cleaning requirements, which can be achieved through a lookup table, a rule library, or an intelligent algorithm.

[0083] S24: Analyze the cleaning instruction to obtain the cleaning effect coefficient.

[0084] Specifically, the water supply device 1 can obtain the cleaning effect coefficient expected by the user by parsing the cleaning instruction. The cleaning effect coefficient can be quantitative (such as a percentage of cleanliness) or qualitative (such as "light", "medium" or "heavy" cleaning).

[0085] S25: Calculate the water flow rate according to the cleaning effect coefficient.

[0086] Specifically, the water supply device 1 can calculate and set a suitable water flow rate based on a known cleaning effect coefficient and a preset cleaning parameter relationship model (such as an empirical formula or a neural network model) to ensure that the cleaning effect expected by the user is achieved within the prescribed cleaning time.

[0087] The implementation method of the present application sets cleaning parameters according to the user's water use habits and needs, realizes personalized customization services, and improves user satisfaction. And by accurately calculating parameters such as cleaning time and water flow rate, the efficiency and effect of the cleaning operation are ensured, while avoiding unnecessary waste of resources. In addition, the parameters such as cleaning temperature and water flow rate are set according to the type of waterway to be cleaned and the cleaning requirements, which effectively protects the equipment from damage and prolongs its service life.

[0088] See also Figure 4 As shown, in some specific embodiments, the historical water consumption includes at least one of a water consumption coefficient, a basic water consumption and an actual water consumption, and the historical water consumption frequency includes at least one of a water consumption frequency coefficient, an actual water consumption frequency and a basic water consumption frequency. The above-mentioned calculation of the cleaning time according to the historical water consumption and the historical water consumption frequency includes:

[0089] S211: Obtain basic cleaning time.

[0090] The basic cleaning time is the time required for the water supply device 1 to perform conventional cleaning without considering the specific water usage. This is a preset, fixed time value, which serves as the starting point for calculating the cleaning time.

[0091] Specifically, the water supply device 1 can obtain a preset basic cleaning time value from the memory or database of the water supply device 1. The basic cleaning time can be obtained based on the design specifications, materials, capacity and other factors of the water supply device 1 to provide a benchmark value for subsequent cleaning time calculations.

[0092] S212: Calculate the water consumption adjustment coefficient based on the basic water consumption and the actual water consumption.

[0093] Among them, the water consumption adjustment coefficient is calculated based on the basic water consumption and actual water consumption, and is used to adjust the basic cleaning time.

[0094] The basic water consumption refers to the amount of water required by the water supply device 1 to meet the basic water demand under normal use conditions. This is a fixed, preset value.

[0095] The actual water consumption refers to the amount of water actually used by the water supply device 1 in the past period of time, which can be obtained through monitoring or recording of the water supply device 1.

[0096] Specifically, the water supply device 1 can calculate the difference or ratio based on the basic water consumption and the actual water consumption, and then use a specific algorithm (such as linear interpolation, polynomial fitting, etc.) to calculate the water consumption adjustment coefficient based on this difference or ratio and the water consumption coefficient to reflect the impact of actual water consumption on cleaning time, ensuring that the cleaning time can adapt to different water consumption requirements.

[0097] S213: Adjust the basic cleaning time according to the water consumption coefficient and the water consumption adjustment coefficient to obtain the first cleaning time.

[0098] Among them, the water consumption coefficient is a coefficient that reflects the influence of water consumption on cleaning time and can be determined based on experience or experimental data.

[0099] The first cleaning time is the initial cleaning time after taking into account the effect of water consumption.

[0100] Specifically, the water supply device 1 can multiply the basic cleaning time by the water consumption coefficient power of the water consumption adjustment coefficient to obtain a first cleaning time to provide a basis for subsequent water use frequency adjustment.

[0101] S214: Calculate the water use frequency adjustment coefficient according to the actual water use frequency and the basic water use frequency.

[0102] The basic water use frequency refers to the average frequency of water use by users under normal use conditions of the water supply device 1. This is a preset, fixed value.

[0103] The actual water usage frequency refers to the actual water usage frequency of the water supply device 1 in the past period of time, which can be obtained through monitoring or recording.

[0104] Specifically, the water supply device 1 can calculate the ratio according to the basic water use frequency and the actual water use frequency to obtain the water use frequency adjustment coefficient to reflect the impact of the actual water use frequency on the cleaning time, so as to ensure that the cleaning time can adapt to the needs of different water use frequencies.

[0105] S215: Adjust the first cleaning time according to the water use frequency coefficient and the water use frequency adjustment coefficient to obtain the cleaning time.

[0106] The water use frequency coefficient is a coefficient that reflects the degree of influence of water use frequency on cleaning time, and is also determined based on experience or experimental data.

[0107] Specifically, the water supply device 1 can multiply the first cleaning time by the water frequency adjustment coefficient raised to the power of the water frequency coefficient to obtain the final cleaning time. The cleaning time comprehensively considers the cleaning time affected by the water consumption and water frequency, and can provide accurate time control for the cleaning operation of the water supply device 1.

[0108] The implementation manner of the present application can more accurately control the cleaning time by comprehensively considering the impact of water consumption and water use frequency on the cleaning time, avoid the problem of insufficient or excessive cleaning, and thus avoid unnecessary waste of energy and water resources. It is in line with the environmental protection concept of energy conservation and emission reduction, and can also effectively remove dirt and bacteria inside the water supply device 1, reduce corrosion and wear, and thus extend the service life of the water supply device 1.

[0109] See also Figure 5 and Figure 6 As shown, in some embodiments, the cleaning parameter includes at least one of a first cleaning parameter, a second cleaning parameter and a third cleaning parameter. The water supply device 1 is cleaned according to the cleaning parameter, including:

[0110] S31: opening the hot water circuit of the water supply device, and closing the normal temperature circuit and the cold water circuit of the water supply device;

[0111] S32: Open the water inlet of the water supply device to connect the cleaning liquid;

[0112] S33: Cleaning the hot water channel using a cleaning fluid according to the first cleaning parameter;

[0113] S34: After cleaning the hot water circuit, control the water supply device to discharge the cleaning liquid;

[0114] S35: Open the normal temperature water circuit;

[0115] S36: Open the water inlet to receive the cleaning liquid;

[0116] S37: Cleaning the normal temperature water channel using a cleaning liquid according to the second cleaning parameter;

[0117] S38: After cleaning the normal temperature water channel, control the water supply device to discharge the cleaning liquid;

[0118] S39: Open the cold water circuit and close the normal temperature water circuit;

[0119] S310: Open the water inlet to receive the cleaning liquid;

[0120] S311: Cleaning the cold water channel using a cleaning liquid according to a third cleaning parameter;

[0121] S312: After cleaning the cold water circuit, control the water supply device to discharge the cleaning liquid.

[0122] Among them, the first cleaning parameter refers to the parameters that need to be set when cleaning the hot water waterway, including but not limited to cleaning time, cleaning temperature, water flow rate, etc.

[0123] The second cleaning parameters refer to the parameters that need to be set when cleaning the waterway with normal temperature water, and also include but are not limited to cleaning time, cleaning temperature, water flow rate, etc.

[0124] The third cleaning parameter refers to the parameters that need to be set when cleaning the cold water circuit, and also includes but is not limited to cleaning time, cleaning temperature, water flow rate, etc.

[0125] The hot water circuit is a part of the water circuit in the water supply device 1 for heating and storing hot water.

[0126] The normal temperature water channel is a part of the water channel in the water supply device 1 for storing and supplying normal temperature water.

[0127] The cold water channel is a part of the water channel in the water supply device 1 for directly supplying cold water.

[0128] The water inlet is an interface on the water supply device 1 for accessing an external water source or cleaning fluid.

[0129] Specifically, the water supply device 1 can send instructions to the corresponding control valves (that is, the one-way valve and two-way valve used in the water circuit), open the control valve of the hot water circuit, and close the control valves of the normal temperature water circuit and the cold water circuit at the same time to ensure that when cleaning the hot water circuit, the cleaning liquid will not enter other water circuits, isolate the hot water circuit from other water circuits, and ensure the independence and effectiveness of the cleaning process. Then the water supply device 1 can open the control valve of the water inlet, allowing the external cleaning liquid to access the hot water circuit of the water supply device 1 through the pipeline. The cleaning liquid can be supplied through a dedicated cleaning liquid container or a cleaning liquid tank provided by the water supply device 1. Then the water supply device 1 can adjust the corresponding equipment (such as a cleaning liquid pump, a heater, etc.) according to the preset first cleaning parameters (such as cleaning time, cleaning temperature, water flow rate, etc.), so that the cleaning liquid circulates or flows in the hot water circuit for cleaning, effectively removing dirt, bacteria, etc. in the hot water circuit, and keeping the water circuit clean. After cleaning the hot water circuit, the water supply device 1 can close the water inlet control valve and open the drain valve to discharge the cleaning liquid in the hot water circuit to prevent the residual cleaning liquid from polluting the water quality. Next, similarly, the water supply device 1 can open the normal temperature water circuit control valve, close the hot water circuit and the cold water circuit control valves, and clean according to the second cleaning parameter to keep the normal temperature water circuit clean. Then, similarly, the water supply device 1 can open the cold water circuit control valve, close the hot water circuit and the normal temperature water circuit control valves, and clean according to the third cleaning parameter to keep the cold water circuit clean.

[0130] The embodiment of the present application ensures the cleanliness of each waterway inside the water supply device 1 by cleaning the hot water channel, the normal temperature water channel and the cold water channel separately, avoiding the growth of dirt and bacteria, and setting different cleaning parameters for different waterways, thereby improving the pertinence and effectiveness of cleaning and ensuring the cleaning effect. In addition, the automation and intelligence of the cleaning process are realized through the control system of the water supply device 1, reducing the complexity and difficulty of manual operation.

[0131] See also Figure 7 As shown, in some embodiments, after the cold water circuit is cleaned, the water supply device 1 is controlled to discharge the cleaning liquid, and the method further includes:

[0132] S41: Open the water inlet to access pure water.

[0133] Specifically, after the cleaning liquid of all water channels is discharged, the water supply device 1 can open the control valve of the water inlet to allow external pure water to enter the water supply device 1 through the pipeline, providing a clean water source for the subsequent pure water cleaning process. The pure water can come from a dedicated pure water container, a water purifier, or a pure water preparation system of the water supply device 1.

[0134] S42: Obtain preset cleaning parameters.

[0135] Specifically, the water supply device 1 can read the preset cleaning parameters from a preset storage unit (such as a memory, a database, etc.). The preset cleaning parameters can be set according to factors such as the model of the water supply device 1, the water channel structure, the frequency of use, the water quality, etc., to ensure that the pure water cleaning process can be carried out according to the preset parameters and achieve the expected cleaning effect.

[0136] S43: Clean the hot water channel, the normal temperature water channel and the cold water channel using pure water according to preset cleaning parameters.

[0137] Specifically, the water supply device 1 can adjust the corresponding equipment (such as water pumps, valves, etc.) according to the preset cleaning parameters obtained, so that pure water circulates or flows in the hot water circuit for cleaning. During the cleaning process, the water flow rate, cleaning time, etc. can be adjusted according to the parameter settings. The corresponding equipment (such as water pumps, valves, etc.) can also be adjusted to allow pure water to circulate or flow in the normal temperature water circuit for cleaning, and the corresponding equipment parameters can also be adjusted according to the preset cleaning parameters. The corresponding equipment (such as water pumps, valves, etc.) can also be adjusted to allow pure water to circulate or flow in the cold water circuit for cleaning, and the corresponding equipment parameters can also be adjusted according to the preset cleaning parameters.

[0138] The embodiment of the present application can completely remove the residual cleaning liquid in the hot water waterway, the normal temperature waterway and the cold water waterway through the pure water cleaning process, avoid polluting the water quality, further improve the cleanliness of the internal waterway of the water supply device 1, and provide users with healthier and safer drinking water.

[0139] In some specific embodiments, the first cleaning parameter includes a first cleaning time, a first cleaning temperature, and a first water flow rate. According to the first cleaning parameter, cleaning the hot water circuit with a cleaning liquid includes:

[0140] S331: Control the hot water circuit to heat the cleaning liquid to a first cleaning temperature.

[0141] Specifically, the water supply device 1 can start the heating device (such as a heater, a heat exchanger, etc.) of the hot water circuit to heat the cleaning liquid to a preset first cleaning temperature. During the heating process, the water supply device 1 may need to adjust the power of the heating device according to the real-time temperature feedback from the temperature sensor to ensure the stability and accuracy of the cleaning liquid temperature. Heating the cleaning liquid can improve its cleaning effect, especially for stubborn dirt and bacteria attached to the inner wall of the hot water circuit, high-temperature cleaning liquid can more effectively remove them.

[0142] S332: According to the first water flow speed, control the water pump corresponding to the water supply device 1 to perform related operations.

[0143] Specifically, the water supply device 1 can adjust the rotation speed of the water pump or the opening of the flow control valve according to the preset first water flow speed to control the flow speed of the cleaning liquid in the hot water waterway. The water pump can adopt variable frequency speed regulation technology to achieve more accurate water flow speed control. The appropriate water flow speed can ensure that the cleaning liquid can fully cover every corner of the hot water waterway, thereby improving the uniformity and efficiency of cleaning.

[0144] S333: Using the heated cleaning fluid to clean the hot water channel for the first cleaning time.

[0145] Specifically, after the cleaning liquid reaches the preset first cleaning temperature and the preset water flow rate, the water supply device 1 can start the cleaning process, allowing the cleaning liquid to circulate or flow in the hot water channel for cleaning. During the cleaning process, the water supply device 1 may need to adjust the cleaning time and number of cleanings according to the properties of the cleaning liquid, the material of the hot water channel, and the requirements for the cleaning effect. By cleaning for a certain period of time, it can be ensured that the dirt and bacteria in the hot water channel are effectively removed, keeping the water channel clean and hygienic.

[0146] In some specific embodiments, the third cleaning parameter includes a third cleaning time, a third cleaning temperature, and a third water flow rate. According to the third cleaning parameter, cleaning the cold water circuit with the cleaning liquid includes:

[0147] S3111: Control the hot water circuit to heat the cleaning liquid to the third cleaning temperature.

[0148] Specifically, in order to improve the cleaning effect, the water supply device 1 can heat the cleaning liquid to a certain temperature (third cleaning temperature). This process is similar to the heating process during hot water waterway cleaning, but the heating temperature and heating time may be different. Heating the cleaning liquid can improve its cleaning effect, especially for dirt and bacteria that are difficult to remove in cold water waterways.

[0149] S3112: According to the third water flow speed, control the water pump corresponding to the water supply device 1 to perform related operations.

[0150] Specifically, similar to the water flow rate control during hot water channel cleaning, the water supply device 1 can adjust the speed of the water pump or the opening of the flow control valve according to the preset third water flow rate to control the flow rate of the cleaning liquid in the cold water channel, thereby ensuring that the cleaning liquid can fully cover every corner of the cold water channel and improving the uniformity and efficiency of cleaning.

[0151] S3113: Use the heated cleaning fluid to clean the cold water channel for the third cleaning time.

[0152] Specifically, after the cleaning liquid reaches the preset third cleaning temperature and the preset water flow rate, the water supply device 1 can start the cleaning process, allowing the cleaning liquid to circulate or flow in the cold water channel for cleaning. During the cleaning process, the water supply device 1 can also adjust the cleaning time and the number of cleaning times according to the properties of the cleaning liquid, the material of the cold water channel, and the requirements for the cleaning effect. By cleaning for a certain period of time, it can be ensured that the dirt and bacteria in the cold water channel are effectively removed, keeping the water channel clean and hygienic.

[0153] In one embodiment, a control device for a water supply device 1 is provided, and the device is configured to implement the steps of the control method for the water supply device 1 described above.

[0154] The device of this embodiment is used to respond to the cleaning instruction, obtain historical water use data, calculate the cleaning parameters according to the historical water use data, and clean the water supply device 1 according to the cleaning parameters. The embodiment of the present application avoids the tediousness and time-consuming manual cleaning through automatic calculation and control, improves the cleaning efficiency and cleaning effect. And the cleaning parameters are calculated based on historical data, making the cleaning more accurate and efficient.

[0155] In one embodiment, see Figure 1 A water supply device 1 is proposed, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the control method of the water supply device 1 are implemented.

[0156] The method of this embodiment is used to respond to the cleaning instruction, obtain historical water use data, calculate the cleaning parameters according to the historical water use data, and clean the water supply device 1 according to the cleaning parameters. The embodiment of the present application avoids the tediousness and time-consuming manual cleaning through automatic calculation and control, improves the cleaning efficiency and cleaning effect. And the cleaning parameters are calculated based on historical data, making the cleaning more accurate and efficient.

[0157] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the control method of the water supply device 1 are implemented.

[0158] The method of this embodiment is used to respond to the cleaning instruction, obtain historical water use data, calculate the cleaning parameters according to the historical water use data, and clean the water supply device 1 according to the cleaning parameters. The embodiment of the present application avoids the tediousness and time-consuming manual cleaning through automatic calculation and control, improves the cleaning efficiency and cleaning effect. And the cleaning parameters are calculated based on historical data, making the cleaning more accurate and efficient.

[0159] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.

[0160] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0161] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0162] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A control method for a water supply device, characterized in that: The method is applied to a water supply device; The method comprises: In response to a cleaning instruction, obtaining historical water usage data; calculating cleaning parameters based on the historical water use data; The water channel of the water supply device is cleaned according to the cleaning parameters.

2. The control method of the water supply device according to claim 1, characterized in that: The historical water use data includes at least one of the historical water consumption and the historical water use frequency, the cleaning parameters include the cleaning time, the cleaning temperature and the water flow rate, and the cleaning parameters are calculated according to the historical water use data, including: Calculating the cleaning time according to the historical water consumption and the historical water use frequency; Get the type of waterway to be cleaned; Determining the cleaning temperature according to the type of the waterway to be cleaned; Analyzing the cleaning instruction to obtain a cleaning effect coefficient; The water flow rate is calculated according to the cleaning effect coefficient.

3. The control method of the water supply device according to claim 2, characterized in that: The historical water consumption includes at least one of a water consumption coefficient, a basic water consumption and an actual water consumption, the historical water use frequency includes at least one of a water use frequency coefficient, an actual water use frequency and a basic water use frequency, and the calculation of the cleaning time according to the historical water consumption and the historical water use frequency includes: Get the basic cleaning time; Calculate a water consumption adjustment coefficient based on the basic water consumption and the actual water consumption; According to the water consumption coefficient and the water consumption adjustment coefficient, the basic cleaning time is adjusted to obtain a first cleaning time; Calculate a water use frequency adjustment coefficient according to the actual water use frequency and the basic water use frequency; The first cleaning time is adjusted according to the water use frequency coefficient and the water use frequency adjustment coefficient to obtain the cleaning time.

4. The control method of the water supply device according to claim 1, characterized in that: The cleaning parameter includes at least one of a first cleaning parameter, a second cleaning parameter, and a third cleaning parameter, and the water channel cleaning of the water supply device according to the cleaning parameter includes: Opening the hot water circuit of the water supply device, and closing the normal temperature water circuit and the cold water circuit of the water supply device; Open the water inlet of the water supply device to connect the cleaning liquid; Cleaning the hot water channel using the cleaning fluid according to the first cleaning parameter; After cleaning the hot water channel, controlling the water supply device to discharge the cleaning liquid; Opening the normal temperature water circuit; Opening the water inlet to admit the cleaning liquid; Cleaning the normal temperature waterway using the cleaning fluid according to the second cleaning parameter; After cleaning the normal temperature water channel, controlling the water supply device to discharge the cleaning liquid; Open the cold water circuit and close the normal temperature water circuit; Opening the water inlet to admit the cleaning liquid; Cleaning the cold water channel using the cleaning fluid according to the third cleaning parameter; After the cold water channel is cleaned, the water supply device is controlled to discharge the cleaning liquid.

5. The control method of the water supply device according to claim 4, characterized in that: After the cold water circuit is cleaned, after the water supply device is controlled to discharge the cleaning liquid, the method further includes: Open the water inlet to access pure water; Get preset cleaning parameters; According to the preset cleaning parameters, the hot water channel, the normal temperature water channel and the cold water channel are cleaned with the pure water.

6. The control method of the water supply device according to claim 4, characterized in that: The first cleaning parameters include a first cleaning time, a first cleaning temperature, and a first water flow rate. Cleaning the hot water channel using the cleaning liquid according to the first cleaning parameters includes: Controlling the hot water circuit to heat the cleaning liquid to the first cleaning temperature; According to the first water flow speed, controlling the water pump corresponding to the water supply device to perform related operations; The hot water channel is cleaned with the heated cleaning fluid for the first cleaning time.

7. The control method of the water supply device according to claim 4, characterized in that: The third cleaning parameters include a third cleaning time, a third cleaning temperature, and a third water flow rate. Cleaning the cold water channel with the cleaning liquid according to the third cleaning parameters includes: Controlling the hot water circuit to heat the cleaning liquid to the third cleaning temperature; According to the third water flow speed, controlling the water pump corresponding to the water supply device to perform related operations; The cold water channel is cleaned with the heated cleaning fluid for the third cleaning time.

8. A control device for a water supply device, characterized in that: The device is applied to a water supply device, and is configured to implement the steps of the control method for a water supply device according to any one of claims 1 to 7.

9. A water supply device, characterized in that: The water supply device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the control method of the water supply device according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the control method of the water supply device according to any one of claims 1 to 7 are implemented.