Control method and device of water purifier, electronic equipment and storage medium
By using the control methods and devices of the water purifier to perform pure water backflow cleaning based on the user's historical water usage habits, the problem of water quality decline after the water purifier has been left to stand has been solved, achieving consistently excellent water quality and water-saving effects.
Patent Information
- Application Number
- CN202410785996.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2025-12-19
AI Technical Summary
After a water purifier has been left to stand for a period of time, ions from the wastewater side of the reverse osmosis pressure filter will permeate to the pure water side, causing the total dissolved solids (TDS) of the pure water to rise, resulting in the "first cup of water" problem. The existing technology of timed flushing cannot continuously guarantee water quality.
Based on users' historical water usage habits, the water purifier's control methods and devices determine and execute pure water backflow cleaning to ensure water purity.
It enables real-time pure water recirculation cleaning based on users' water usage habits, ensuring excellent and fresh water quality, achieving the effect of flushing immediately upon use, and is simple and easy to implement.
Smart Images

Figure CN121158892A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of household appliances, and in particular to a control method and device for a water purifier, an electronic device, and a storage medium. BACKGROUND
[0002] With the rapid development of water purification technology, water purifiers that filter through reverse osmosis pressure membranes and other devices are increasingly popular. However, after the water purifier is left for a period of time, the ions on the waste water side of the reverse osmosis pressure filter core will permeate to the pure water side, causing the total dissolved solids (TDS) of the pure water to rise. When the water purifier is started again, the TDS value of the early-stage pure water is high, which is commonly referred to as the "first cup of water" problem of the water purifier.
[0003] In actual applications, to solve the "first cup of water" problem, a simple water purifier with a pure water backflow path is usually used for timed flushing, that is, pure water is used to flush the reverse osmosis pressure membrane every interval. For example, flushing is performed once after 10 minutes or 24 hours of water production, but this cannot achieve the effect of flushing as needed. If the water purifier is left for a period of time after flushing, the water quality will become worse and worse as the standing time increases. SUMMARY
[0004] The present application provides a control method and device for a water purifier, an electronic device, and a storage medium, which can achieve the effect of flushing as needed according to the user's usage habits, and can effectively ensure the purity of the water quality.
[0005] In a first aspect, embodiments of the present application provide a control method for a water purifier, the method comprising:
[0006] determining whether to perform pure water backflow cleaning on the water purifier at the current time based on the user's historical water usage habits;
[0007] if so, performing pure water backflow cleaning on the water purifier.
[0008] In a second aspect, embodiments of the present application also provide a control device for a water purifier, the device comprising a determination module and a control module, wherein:
[0009] the determination module is configured to determine whether to perform pure water backflow cleaning on the water purifier at the current time based on the user's historical water usage habits;
[0010] the control module is configured to perform pure water backflow cleaning on the water purifier if so.
[0011] In a third aspect, embodiments of the present application provide an electronic device comprising:
[0012] one or more processors;
[0013] a memory for storing one or more programs,
[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the control method of the water purifier according to any of the embodiments of the present application.
[0015] In a fourth aspect, the embodiments of the present application provide a storage medium having a computer program stored thereon, the program being executed by a processor to implement the control method of the water purifier according to any of the embodiments of the present application.
[0016] The embodiments of the present application provide a control method and device of a water purifier, an electronic device and a storage medium. Based on a user's historical water usage habit, it is determined whether to perform pure water backflow cleaning on the water purifier at the current time. If yes, the pure water backflow cleaning is performed on the water purifier. That is, in the technical solution of the present application, the pure water backflow cleaning can be performed on the water purifier based on the user's historical water usage habit, which can not only ensure good water quality and fresh water quality, but also achieve the purpose of water saving. Therefore, compared with the prior art, the control method and device of the water purifier, the electronic device and the storage medium provided by the embodiments of the present application perform pure water backflow cleaning according to the user's historical water usage habit, which can achieve the effect of flushing on demand, and can effectively ensure the water quality. In addition, the technical solution of the embodiments of the present application is simple and convenient, easy to popularize, and has a wider application range. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 A flowchart of the control method of the water purifier provided by an embodiment of the present application is shown.
[0018] Figure 2 A flowchart of the control method of the water purifier provided by another embodiment of the present application is shown.
[0019] Figure 3 A flowchart of the control method of the water purifier provided by another embodiment of the present application is shown.
[0020] Figure 4 A structural diagram of the control device of the water purifier provided by an embodiment of the present application is shown.
[0021] Figure 5 A structural diagram of the electronic device provided by an embodiment of the present application is shown. DETAILED DESCRIPTION
[0022] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application in order to make the technical personnel in the technical field better understand the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by the ordinary skilled in the art without creative work should belong to the scope of protection of the present application.
[0023] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to include only those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] Figure 1 The flowchart of the control method of the water purifier provided by an embodiment of the present application is shown. The method can be executed by a control device or an electronic device of the water purifier. The device or the electronic device can be realized by software and / or hardware. The device or the electronic device can be integrated in any smart device with network communication function. The electronic device can be a cloud platform or a water purifier. As shown in the figure, the control method of the water purifier can include the following steps: Figure 1 The control method of the water purifier can include the following steps:
[0025] S101, based on the user's historical water use habits, it is judged whether to perform pure water backflow cleaning on the water purifier at the current time.
[0026] The user historical water use habit in the embodiments of the present application generally refers to the use of water resources and its regularity characteristics of a user or a family in daily life within a period of time. The user historical water use habit can involve water use amount, water use period, water use frequency, etc. Specifically, one or more factors affecting pure water backwash can be determined based on the user historical water use habit, and then it is judged whether to perform pure water backwash on the water purifier at the current time based on the one or more factors affecting pure water backwash; wherein the one or more factors affecting pure water backwash can include but are not limited to at least one of the following: water use frequency, water use intensity and water use period. 1) Water use frequency: if the water use data shows that the water use is frequent recently, it can cause the load of the filter element in the water purifier to increase, and the accumulation speed of pollutants to accelerate, so that cleaning needs to be performed earlier. On the contrary, if the user uses less water, the load of the filter element is low, and therefore it does not need to be cleaned too frequently. 2) Water use intensity: high-intensity water use can cause the saturation degree of the filter element to rapidly increase in a short time, and in this case, even if the total water use amount is not high, cleaning and maintenance need to be performed in advance. 3) Water use period: if the water use of the user is mainly concentrated in a specific period, for example, morning washing or dinner cooking, the water purifier can not be used for a long time after these periods. In this case, the risk of microorganism breeding in the water purifier increases, and therefore timely backwash is needed to keep the water fresh.
[0027] In one embodiment, the cloud platform can determine whether the current time reaches the time point of performing pure water backwash on the water purifier based on the user historical water use habit; if the current time reaches the time point of performing pure water backwash on the water purifier, the cloud platform can determine to perform pure water backwash on the water purifier at the current time. Further, the cloud platform can also determine the time point of performing pure water backwash on the water purifier in advance. Specifically, the cloud platform can first determine the strategy of performing pure water backwash on the water purifier based on the user historical water use habit; and then determine the time point of performing pure water backwash on the water purifier based on the strategy of performing pure water backwash on the water purifier.
[0028] S102, if yes, performing pure water backwash on the water purifier.
[0029] Pure water backwash is a kind of maintenance and cleaning method of the water purifier, which refers to the process of guiding part of the prepared pure water back to the front end of the reverse osmosis membrane assembly or directly back to the membrane surface for rapid flushing. Since the pure water is pure, it has a good flushing effect on the membrane surface, can effectively flush away the pollutants and precipitates attached to the membrane surface, prevent them from accumulating and clogging the membrane holes, and ensure the water permeability of the membrane and the water quality. After the backwash flushing is completed, the system returns to the normal operation state and continues to produce pure water.
[0030] In this step, the cloud platform can control the water purifier to perform pure water backflow cleaning, or the water purifier can also autonomously perform pure water backflow cleaning. Specifically, the method in which the cloud platform controls the water purifier to perform pure water backflow cleaning can include the following operations: the cloud platform can send a pure water backflow cleaning instruction to the water purifier, so that the water purifier performs pure water backflow cleaning in response to the pure water backflow cleaning instruction.
[0031] The control method of the water purifier provided in the embodiments of the present application determines whether to perform pure water backflow cleaning on the water purifier at the current time based on the user's historical water use habits, and performs pure water backflow cleaning on the water purifier if so. That is, in the technical solution of the present application, the water purifier can be cleaned with pure water backflow based on the user's historical water use habits, which can not only ensure good water quality and fresh water quality, but also achieve the purpose of water saving. In the prior art, a simple water purifier with a pure water backflow waterway is usually used for timed flushing, that is, pure water is used to flush the reverse osmosis pressure membrane at intervals. Therefore, compared with the prior art, the control method of the water purifier provided in the embodiments of the present application performs pure water backflow flushing according to the user's historical water use habits, which can achieve the effect of flushing as needed and effectively ensure water quality. In addition, the technical solution of the embodiments of the present application is simple and convenient to implement, easy to popularize, and has a wider application range.
[0032] Figure 2 The flowchart of the control method of the water purifier provided in another embodiment of the present application is shown. Based on the above technical solution, further optimization and expansion can be performed, and the above various optional embodiments can be combined. As shown in Figure 2 The control method of the water purifier can include the following steps:
[0033] S201, based on the user's historical water use habits, determine the strategy for performing pure water backflow cleaning on the water purifier.
[0034] The user's historical water use habits in the embodiments of the present application can include high-frequency water use habits, medium-frequency water use habits, and low-frequency water use habits. The high-frequency water use habits are that the time interval between two adjacent water uses is less than or equal to a first interval duration. The medium-frequency water use habits are that the time interval between two adjacent water uses is less than or equal to a second interval duration and greater than the first interval duration. The low-frequency water use habits are that the time interval between two adjacent water uses is greater than the second interval duration. The first interval duration is less than the second interval duration.
[0035] In this step, based on the user historical water use habit, the strategy of pure water backwashing of the water purifier is determined, which can include the following operations: if the water use historical water use habit is a high-frequency water use habit, the strategy of pure water backwashing of the water purifier is determined as: no pure water backwashing of the water purifier is performed within the interval between adjacent two water uses; if the user historical water use habit is a medium-frequency water use habit or a low-frequency water use habit, the strategy of pure water backwashing of the water purifier is determined as: pure water backwashing of the water purifier is performed within the interval between adjacent two water uses.
[0036] Further, if the user historical water use habit is a medium-frequency water use habit, the cloud platform can determine the strategy of pure water backwashing of the water purifier as: pure water backwashing of the water purifier is performed once within the interval between adjacent two water uses; if the user historical water use habit is a low-frequency water use habit, the cloud platform can determine the strategy of pure water backwashing of the water purifier as: pure water backwashing of the water purifier is performed multiple times within the interval between adjacent two water uses.
[0037] S202, based on the strategy of pure water backwashing of the water purifier, a time point of pure water backwashing of the water purifier is determined.
[0038] In this step, if the strategy of pure water backwashing of the water purifier is: pure water backwashing of the water purifier is performed once within the interval between adjacent two water uses, the cloud platform can determine the time point of pure water backwashing of the water purifier as: the time point corresponding to the first predetermined time length before starting water use; if the strategy of pure water backwashing of the water purifier is: pure water backwashing of the water purifier is performed multiple times within the interval between adjacent two water uses, the cloud platform can determine the time point of pure water backwashing of the water purifier as: multiple time points between the time point corresponding to the first predetermined time length before starting water use and the time point corresponding to the second predetermined time length after ending water use.
[0039] S203, if the current time reaches the time point of pure water backwashing of the water purifier, it is determined that pure water backwashing of the water purifier is performed at the current time.
[0040] S204, pure water backwashing of the water purifier is performed at the current time.
[0041] In an embodiment, if the current time reaches the time point for pure water backflow cleaning of the water purifier, the cloud platform can send a pure water backflow cleaning instruction to the water purifier, so that the water purifier performs pure water backflow cleaning in response to the pure water backflow cleaning instruction. Specifically, before sending the pure water backflow cleaning instruction to the water purifier, the cloud platform ensures that the water purifier has successfully accessed the cloud platform and remains online through a certain communication protocol, so that the water purifier can receive instructions from the cloud platform in real time. In addition, the cloud platform can also register and assign a unique identifier, such as a device ID or an IMEI number, to each water purifier for device management and identity authentication of the water purifier by the cloud platform. At this time, the water purifier can establish a trusted connection with the cloud platform through a secure authentication method. The secure authentication method includes but is not limited to one of the following: Token, certificate or key.
[0042] Preferably, the pure water backflow cleaning instruction sent by the cloud platform to the water purifier can include parameter information for executing the cleaning task. The parameter information can include but is not limited to at least one of the following: backflow ratio, backflow time, cleaning agent type, cleaning agent concentration, and cleaning agent injection time. The backflow ratio is the ratio between the amount of backflow pure water and the amount of newly produced pure water, for example, 1:1, 1:2 or higher, to ensure sufficient flow for effective flushing. The backflow time is the duration of a single backflow cleaning, for example, 15 minutes, 30 minutes, etc., to ensure that the membrane element and the pipeline can be fully flushed. The cleaning agent type can include but is not limited to one of the following: acidic cleaning agent, alkaline cleaning agent, and special RO membrane cleaning agent. The concentration of the acidic cleaning agent is usually between 0.5% and 5%; the concentration of the alkaline cleaning agent is usually between 0.1% and 1%; and the concentration of the special RO membrane cleaning agent is usually between 0.1% and 0.5%. In addition, the cleaning agent injection time refers to the effective period of time during which the cleaning agent solution is introduced into the reverse osmosis system of the water purifier and remains in contact to remove contaminants on the membrane surface and in the pipeline. The cleaning agent injection time should be determined comprehensively according to factors such as cleaning agent characteristics, contamination level, cleaning mode, and membrane element tolerance, and adjusted in time through field tests and monitoring.
[0043] In an embodiment, when sending the pure water backflow cleaning instruction to the water purifier, the cloud platform can send the pure water backflow cleaning instruction to the water purifier based on a predetermined message transmission protocol through an Internet of Things message queue service. The message transmission protocol can include but is not limited to one of the following: MQTT, CoAP, HTTP / HTTPS, or other message transmission protocols suitable for Internet of Things scenarios. After receiving the pure water backflow cleaning instruction sent by the cloud platform, the water purifier parses the instruction content and performs the pure water backflow cleaning task, and can also feed back the state information of the pure water backflow cleaning process to the cloud platform, so as to facilitate user query and monitoring of the execution of the cleaning task.
[0044] In the technical solution of the present application, the strategy of pure water backflow cleaning of the water purifier can be determined based on the user's historical water use habits, and then the pure water backflow cleaning of the water purifier is performed based on the strategy. In this way, both the water quality and the water freshness can be guaranteed, and the water saving purpose can also be achieved. In the prior art, a simple water purifier with pure water backflow waterway is usually used for timing flushing, that is, pure water is used to flush the reverse osmosis pressure membrane every interval. Therefore, compared with the prior art, the control method of the water purifier proposed in the embodiments of the present application can achieve the effect of flushing in time according to the user's use habits, and can effectively ensure the water quality. In addition, the technical solution of the embodiments of the present application is simple and convenient to implement, easy to popularize, and has a wider application range.
[0045] Figure 3 The flowchart of the control method of the water purifier provided by another embodiment of the present application is shown. Based on the above technical solution, further optimization and expansion can be performed, and the above various optional embodiments can be combined. As shown in Figure 3 The control method of the water purifier can include the following steps:
[0046] S301, obtaining water use data of the water purifier in multiple historical water use periods; wherein the water use data includes a start water use time point and an end water use time point.
[0047] In an embodiment, the cloud platform can receive the water use data of the multiple historical water use periods sent by the water purifier. In another embodiment, the water purifier can also independently obtain the water use data of the multiple historical water use periods. The water use data includes a start water use time point and an end water use time point. For example, the water use period in the embodiments of the present application can be one day.
[0048] S302, summarizing the user's historical water use habits based on the water use data of the multiple historical water use periods.
[0049] In this step, the water usage data of multiple historical water usage periods can be extracted from the water usage data of all historical water usage periods, and then the water usage habits are summarized based on the water usage data of multiple historical water usage periods. Specifically, the water usage data of multiple historical water usage periods can be input into a pre-trained neural network model, and the historical water usage habits of the user are summarized by the neural network model. Further, before summarizing the historical water usage habits of the user based on the water usage data of multiple historical water usage periods, the water usage data of multiple historical water usage periods obtained can also be preprocessed, including but not limited to at least one of the following: cleaning outliers, filling missing values, normalization processing, etc., to improve data quality and make it suitable for the neural network model. In addition, when summarizing the historical water usage habits of the user by the neural network model, meaningful features can be extracted from the water usage data of multiple historical water usage periods, such as morning and evening peak water usage periods, holidays, seasonal changes, differences between weekends and weekdays, etc. These features can reflect the user's water usage patterns and regularities. Then, the historical water usage habits of the user are summarized based on the extracted meaningful features. The neural network model in the embodiments of the present application can include but is not limited to one of the following: multilayer perceptron MLP, recurrent neural network RNN, long short-term memory network LSTM. Among them, RNN and LSTM are particularly useful for time series prediction because they can capture long-term dependencies in time series.
[0050] Preferably, before inputting the water usage data of multiple historical water usage periods into the pre-trained neural network model, the neural network model can also be pre-trained. Specifically, the pre-acquired training samples can be divided into a training set and a validation set, and then the neural network model is trained based on the training set and the validation set. Further, during the training process, the training samples in the training set are first input into the neural network model, and its internal parameters are adjusted by the back propagation algorithm, so that the model can learn the non-linear mapping relationship between the input data and the water usage habits. Then, the trained model is evaluated for performance using the validation set to ensure that the neural network model can accurately predict the user's water usage and habits on new data. According to the evaluation results, the model structure, parameters or training strategy are adjusted until the model reaches a satisfactory prediction accuracy. The trained neural network model can predict future water usage based on new dates, times or other related variable information, thereby revealing the user's water usage habits. In addition, the neural network model can also identify the commonalities and characteristics of different types of user groups and discover potential water-saving measures. Among them, different types of user groups can include household users or commercial users, etc. In summary, by using the powerful non-linear learning ability of the neural network model, the periodic, trend and specific event triggered water usage behavior patterns of the user can be mined from the historical water usage data, and the historical water usage habits of the user can be effectively summarized.
[0051] S303, if the user historical water usage habit is a high-frequency water usage habit, determining a strategy for performing the pure water backwashing of the water purifier as: not performing the pure water backwashing of the water purifier in the interval between two adjacent water usages.
[0052] In this step, if the time interval between two adjacent water usages of the user is less than or equal to the first interval duration, the user historical water usage habit is a high-frequency water usage habit, and at this time the cloud platform can determine the strategy for performing the pure water backwashing of the water purifier as: not performing the pure water backwashing of the water purifier in the interval between two adjacent water usages. For example, assuming that the user uses water once every 0-30 minutes, the pure water backwashing of the water purifier is not performed in the interval between two adjacent water usages.
[0053] S304, if the user historical water usage habit is a medium-frequency water usage habit or a low-frequency water usage habit, determining a strategy for performing the pure water backwashing of the water purifier as: performing the pure water backwashing of the water purifier in the interval between two adjacent water usages.
[0054] In an embodiment, if the user historical water usage habit is a medium-frequency water usage habit, the cloud platform can determine the strategy for performing the pure water backwashing of the water purifier as: performing the pure water backwashing of the water purifier once in the interval between two adjacent water usages. For example, assuming that the user uses water once every 30 minutes-2 hours, the pure water backwashing of the water purifier is performed once in the interval between two adjacent water usages.
[0055] In another embodiment, if the user historical water usage habit is a low-frequency water usage habit, the cloud platform can determine the strategy for performing the pure water backwashing of the water purifier as: performing the pure water backwashing of the water purifier multiple times in the interval between two adjacent water usages. For example, assuming that the user uses water once every 2-48 hours, the pure water backwashing of the water purifier is performed multiple times in the interval between two adjacent water usages.
[0056] S305, determining a time point for performing the pure water backwashing of the water purifier based on the strategy for performing the pure water backwashing of the water purifier.
[0057] In this step, if the pure water backflow cleaning strategy for the water purifier is to clean the water purifier once in the interval between two adjacent water uses, the cloud platform can determine the time point for the pure water backflow cleaning of the water purifier as the time point corresponding to the first predetermined time length before starting water use. If the pure water backflow cleaning strategy for the water purifier is to clean the water purifier multiple times in the interval between two adjacent water uses, the cloud platform can determine the time point for the pure water backflow cleaning of the water purifier as the multiple time points between the time point corresponding to the first predetermined time length before starting water use and the time point corresponding to the second predetermined time length after ending water use. For example, if the user's historical water use habit is a medium-frequency water use habit, the cloud platform can determine the time point for the pure water backflow cleaning of the water purifier as 10 minutes before the user uses water. If the user's historical water use habit is a low-frequency water use habit, the cloud platform can determine the time point for the pure water backflow cleaning of the water purifier as 10 minutes after the water production stops and 10 minutes before the user uses water.
[0058] S306, if the current time reaches the time point for the pure water backflow cleaning of the water purifier, it is determined that the water purifier is cleaned with pure water backflow at the current time.
[0059] S307, the water purifier is cleaned with pure water backflow at the current time.
[0060] The control method of the water purifier provided in the embodiments of the present application can further summarize the user's historical water use habit before determining whether the water purifier is cleaned with pure water backflow at the current time based on the user's historical water use habit. In addition, different pure water backflow cleaning strategies can be determined according to different user's historical water use habits, which can not only ensure good water quality and fresh water quality, but also achieve the purpose of water saving. In the prior art, a simple water purifier with a pure water backflow waterway is usually used for timing flushing, that is, pure water is used to flush the reverse osmosis pressure membrane every interval. Therefore, compared with the prior art, the control method of the water purifier provided in the embodiments of the present application can achieve the effect of flushing on demand and effectively ensure water quality. In addition, the technical solution of the embodiments of the present application is simple and convenient to implement, easy to popularize, and has a wider application range.
[0061] Figure 4 The control device of the water purifier provided in an embodiment of the present application is shown in a structural schematic diagram. As shown in Figure 4 The control device of the water purifier includes a judgment module 401 and a control module 402. Wherein,
[0062] The judgment module 401 is configured to determine whether the water purifier is cleaned with pure water backflow at the current time based on the user's historical water use habit.
[0063] The control module 402 is configured to perform pure water backflow cleaning on the water purifier if yes.
[0064] The control device of the water purifier described above can perform the method provided by any of the embodiments of the present application, has the function modules and beneficial effects corresponding to the execution method. Technical details not described in detail in the present embodiment can be referred to the control method of the water purifier provided by any of the embodiments of the present application.
[0065] Figure 5 A structural schematic diagram of an electronic device 10 that can be used to implement an embodiment of the present application is shown. The electronic device in the embodiments of the present application can be a cloud platform or a water purifier. As shown in the figure, Figure 5 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is in communication connection with the at least one processor 11, wherein the memory stores a computer program that can be executed by the at least one processor. The processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0066] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunications networks.
[0067] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes various methods and processes described above, such as the control method of the water purifier.
[0068] In some embodiments, the control method of the water purifier can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded onto and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the control method of the water purifier described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the control method of the water purifier by any other suitable means, such as by means of firmware.
[0069] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, specially designed application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0070] Computer programs used to implement the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as part of a separate software package, and partially on a remote machine or server.
[0071] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0072] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device 10 having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device 10. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0073] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0074] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0075] It should be understood that the various forms of flow shown above can be reordered, added to, or have steps deleted. For example, the steps described in the present application can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, and this is not limited herein.
[0076] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A control method for a water purifier, characterized in that, The method includes: Based on the user's historical water usage habits, determine whether to perform a pure water backflow cleaning of the water purifier at the current moment; If so, the water purifier will be cleaned by pure water recirculation.
2. The method according to claim 1, characterized in that, The user's historical water usage habits include: high-frequency water usage habits, medium-frequency water usage habits, and low-frequency water usage habits; wherein, the high-frequency water usage habit is: the time interval between two consecutive water usages is less than or equal to a first interval length; the medium-frequency water usage habit is: the time interval between two consecutive water usages is less than or equal to a second interval length and greater than the first interval length; the low-frequency water usage habit is: the time interval between two consecutive water usages is greater than the second interval length; wherein, the first interval length is less than the second interval length.
3. The method according to claim 2, characterized in that, Based on the user's historical water usage habits, determine whether to perform a pure water backflow cleaning of the water purifier at the current moment, including: Based on the user's historical water usage habits, determine whether the current moment has reached the time point for performing pure water backflow cleaning on the water purifier; If the current time reaches the point where the water purifier needs to be cleaned with pure water recirculation, then it is determined that the water purifier should be cleaned with pure water recirculation at the current time.
4. The method according to claim 3, characterized in that, Before determining whether to perform a pure water backflow cleaning of the water purifier at the current moment based on the user's historical water usage habits, the method further includes: Based on the user's historical water usage habits, a strategy for performing pure water backflow cleaning on the water purifier is determined. Based on the strategy of performing pure water backflow cleaning on the water purifier, the timing of performing pure water backflow cleaning on the water purifier is determined.
5. The method according to claim 4, characterized in that, Based on the user's historical water usage habits, a strategy for performing pure water backflow cleaning on the water purifier is determined, including: If the user's historical water usage habits are the high-frequency water usage habits, then the strategy for performing pure water backflow cleaning on the water purifier is determined to be: not to perform pure water backflow cleaning on the water purifier during the interval between two adjacent water usages. If the user's historical water usage habits are either medium-frequency or low-frequency, then the strategy for performing pure water backflow cleaning on the water purifier is determined to be: performing pure water backflow cleaning on the water purifier during the interval between two adjacent water usages.
6. The method according to claim 5, characterized in that, If the user's historical water usage habits are either medium-frequency or low-frequency, then the strategy for performing pure water backflow cleaning on the water purifier is determined as follows: The water purifier is cleaned with pure water backflow during the interval between two consecutive water usages, including: If the user's historical water usage habits are the medium-frequency water usage habits, then the strategy for performing pure water backflow cleaning on the water purifier is determined to be: to perform pure water backflow cleaning on the water purifier once within the interval between two adjacent water usages; If the user's historical water usage habits are low-frequency water usage habits, then the strategy for performing pure water backflow cleaning on the water purifier is determined to be: performing pure water backflow cleaning on the water purifier multiple times within the interval between two adjacent water usages.
7. The method according to claim 6, characterized in that, Based on the strategy of performing pure water backflow cleaning on the water purifier, the timing of performing pure water backflow cleaning on the water purifier is determined, including: If the strategy for performing pure water backflow cleaning on the water purifier is to perform pure water backflow cleaning once within the interval between two adjacent water usages, then the time point for performing pure water backflow cleaning on the water purifier is determined to be the time point corresponding to the first predetermined time before water usage begins. If the strategy for performing pure water backflow cleaning on the water purifier is to perform pure water backflow cleaning multiple times within the interval between two adjacent water usages, then the time points for performing pure water backflow cleaning on the water purifier are determined to be multiple time points between the time point corresponding to the first predetermined time before water usage begins and the time point corresponding to the second predetermined time after water usage ends.
8. The method according to claim 1, characterized in that, Before determining whether to perform a pure water backflow cleaning of the water purifier at the current moment based on the user's historical water usage habits, the method further includes: The water purifier's water usage data is obtained over multiple historical water usage cycles; wherein, the water usage data includes: the start time of water usage and the end time of water usage; The user's historical water usage habits are summarized based on water usage data from the multiple historical water usage cycles.
9. A control device for a water purifier, characterized in that, The device includes: a judgment module and a control module; wherein... The judgment module is used to determine whether to perform pure water backflow cleaning on the water purifier at the current moment based on the user's historical water usage habits. The control module is used to perform pure water backflow cleaning on the water purifier if the condition is met.
10. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the control method for the water purifier as described in any one of claims 1 to 8.
11. A storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the control method of the water purifier as described in any one of claims 1 to 8.