Wastewater discharge control method, device and equipment of water purifier and storage medium

By setting up a water quality detector and switching valve in the water purifier, the wastewater discharge volume is dynamically adjusted, which solves the problem of unstable water quality of the water purifier when the tap water quality is poor, and the stability of the water quality of the water is improved.

CN118894567APending Publication Date: 2024-11-05GUANGDONG LIZI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411169117.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

When the tap water quality is poor, the fixed wastewater discharge ratio cannot guarantee the stability of the effluent water quality, resulting in a low stability of the effluent water quality.

Method used

By setting up a water quality detector and switching valve in the water purifier, the wastewater discharge is dynamically adjusted according to the wastewater water quality information, and the wastewater flow is controlled by using the switching valve and wastewater plug to achieve dynamic adjustment of wastewater discharge.

Benefits of technology

The stability of the effluent quality of the water purifier is improved, ensuring that the dynamic adjustment of wastewater discharge can be adjusted in real time according to changes in water quality, thereby ensuring the stability of the effluent quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118894567A_ABST
    Figure CN118894567A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a wastewater discharge control method and device of a water purifier, electronic equipment and a storage medium, and is applied to the technical field of water purifiers, the method comprises the following steps: when pure water is prepared by the water purifier, obtaining the current set state of a switching valve and the water quality detection frequency in the current set state; when the water quality detection times reach the preset detection times, obtaining wastewater quality information; the current set state is updated according to the wastewater quality information, and the amount of wastewater generated when the water purifier prepares pure water is controlled through the updated current set state and discharged. Therefore, according to the scheme, after the water quality detection times in the current set state reach the preset detection times, the amount of wastewater discharged by the water purifier can be dynamically adjusted according to the wastewater quality information, and the stability of the effluent quality of the water purifier can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of water purifiers, and in particular to a wastewater discharge control method, device, equipment and storage medium for a water purifier. Background Art

[0002] As people's living standards improve, more and more families are starting to use water purifiers. A water purifier is a device used to filter and purify tap water. It can remove impurities, heavy metals, bacteria, viruses and other harmful substances in the water to provide safer and healthier drinking water. In the process of purifying water, a water purifier will produce a certain proportion of wastewater.

[0003] At present, water purifiers usually connect a wastewater discharge pipe to the wastewater outlet of the filter to discharge wastewater at a fixed ratio. However, when the tap water quality is poor, the fixed wastewater discharge ratio may not guarantee that the effluent quality always meets the expected standard, resulting in low stability of the effluent quality. Summary of the invention

[0004] The present application provides a wastewater discharge control method, device, equipment and storage medium for a water purifier, which can improve the stability of the water quality of the water purifier output.

[0005] In a first aspect, the present application provides a wastewater discharge control method for a water purifier, the water purifier comprising a wastewater discharge end, the wastewater discharge end being provided with a water quality detector and at least one switching valve, each water outlet end of the switching valve being connected to a corresponding wastewater discharge pipeline, and a water inlet end of the wastewater discharge pipeline being provided with a corresponding wastewater plug, the wastewater plug being used to control the wastewater flow rate of the pipeline in which it is located, the wastewater discharge control method comprising:

[0006] When the water purifier prepares pure water, obtaining the current setting state of the switching valve and the number of water quality detections under the current setting state;

[0007] When the water quality detection times reaches the preset detection times, the wastewater quality information is obtained;

[0008] The current setting state is updated according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state.

[0009] In a second aspect, the present application provides a wastewater discharge control device for a water purifier, the water purifier comprising a wastewater discharge end, the wastewater discharge end being provided with a water quality detector and at least one switching valve, each water outlet end of the switching valve being connected to a corresponding wastewater discharge pipeline, and a water inlet end of the wastewater discharge pipeline being provided with a corresponding wastewater plug, the wastewater plug being used to control the wastewater flow rate of the pipeline in which it is located, the wastewater discharge control device comprising:

[0010] A first acquisition module, used for acquiring the current setting state of the switching valve and the number of water quality detection times under the current setting state when the water purifier prepares pure water;

[0011] A second acquisition module is used to acquire wastewater quality information when the water quality detection times reaches a preset detection times;

[0012] An updating module is used to update the current setting state according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state.

[0013] Optionally, in some embodiments, the update module includes:

[0014] An extraction submodule, used for extracting water quality parameters from the wastewater quality information;

[0015] A comparison submodule, used for comparing the water quality parameter with the standard water quality of the current set state;

[0016] A first estimation submodule, used for estimating target gear position information of the switching valve according to the comparison result;

[0017] The first updating submodule is used to update the current setting state based on the target gear information.

[0018] Optionally, in some embodiments, the comparison result represents the difference between the water quality parameter and the standard water quality, and the first estimation submodule includes:

[0019] A determination unit, used to determine a water quality error range corresponding to the difference;

[0020] An estimating unit is used to estimate the target gear information according to the difference and the water quality error range.

[0021] Optionally, in some embodiments, the estimating unit includes:

[0022] A determination subunit, used to determine the position information of the difference within the water quality error range;

[0023] An estimation subunit is used to estimate the target gear information based on the position information.

[0024] Optionally, in some embodiments, the wastewater quality information is a change curve of wastewater quality parameters, and the updating module includes:

[0025] An analysis module, used for performing fluctuation analysis on the variation curve of the wastewater quality parameter;

[0026] A display module, used for generating and displaying gear switching reminder information if the wastewater quality parameter is reduced and then stabilized, so as to remind the target object to adjust the gear position of the switching valve according to the gear switching reminder information;

[0027] A maintaining module is used to maintain the current setting state if the wastewater quality parameter does not change.

[0028] Optionally, in some embodiments, the device further comprises:

[0029] The determination module is used to determine the target water outlet of the switching valve in response to the water outlet switching instruction if a water outlet switching instruction is received.

[0030] Optionally, in some embodiments, the update module includes:

[0031] An acquisition submodule, used to acquire the current water output type of the water purifier;

[0032] A second estimation submodule, configured to estimate the target gear position information of the switching valve based on the current outlet water type and the wastewater quality information;

[0033] The second updating submodule is used to update the current setting state according to the target gear information.

[0034] In a fourth aspect, the present application further provides a storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0035] As mentioned above, the present application provides a wastewater discharge control method, device, electronic device and storage medium for a water purifier, by obtaining the current setting state of the switching valve and the number of water quality tests under the current setting state when the water purifier prepares pure water; when the number of water quality tests reaches the preset number of tests, the wastewater quality information is obtained; the current setting state is updated according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state. In the wastewater discharge control scheme for the water purifier provided in the present application, after the number of water quality tests under the current setting state reaches the preset number of tests, the amount of wastewater generated by the water purifier when preparing pure water can be controlled and discharged according to the wastewater quality information. It can be seen that this scheme can dynamically adjust the amount of wastewater discharged by the water purifier according to the wastewater quality information after the number of water quality tests under the current setting state reaches the preset number of tests, which is conducive to improving the stability of the water quality of the water purifier. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 It is a schematic diagram of a scenario of a wastewater discharge control method of a water purifier provided in an embodiment of the present application;

[0038] Figure 2 It is a schematic flow chart of a wastewater discharge control method of a water purifier provided in an embodiment of the present application;

[0039] Figure 3 is a structural schematic diagram of a wastewater discharge control device for a water purifier provided in another embodiment of the present application;

[0040] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0044] The present application provides a wastewater discharge control method, device, electronic device and storage medium for a water purifier.

[0045] For example, see Figure 1The wastewater discharge control device is integrated on the water purifier 10, and the water purifier 10 includes a wastewater discharge end, and the wastewater discharge end is provided with a water quality detector 20 and at least one switching valve 30, and the water outlet end of the switching valve 30 is respectively a wastewater discharge pipeline 40-1 and a wastewater discharge pipeline 40-2, and the water inlet end of the wastewater discharge pipeline 40-1 is provided with a corresponding wastewater plug 50-1, and the wastewater plug 50-1 is used to control the wastewater flow rate of the pipeline where it is located, and the water inlet end of the wastewater discharge pipeline 40-2 is provided with a corresponding wastewater plug 50-2, and the wastewater plug 50-2 is used to control the wastewater flow rate of the pipeline where it is located, wherein the wastewater flow rates of the wastewater plug 50-1 and the wastewater plug 50-2 are inconsistent. Among them, the water quality detector 20 can be a water quality detection sensor. The wastewater discharge pipeline 40-1 and the wastewater discharge pipeline 40-2 can be metal pipes, plastic-clad metal pipes or plastic pipes. The display screen of the water purifier 10 can display the current setting state of the switching valve and the number of water quality detections under the current setting state, and the water purifier 10 can interact with the electronic device 70 through the network 60. In the process of wastewater discharge control of the water purifier, when the water purifier 10 prepares pure water, the water purifier 10 obtains the current setting state of the switching valve 30 and the number of water quality detections under the current setting state. Then, when the water purifier 10 detects that the number of water quality detections reaches the preset number of detections, it obtains wastewater quality information. Finally, the water purifier 10 updates the current setting state according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state, and feeds back the updated current setting state to the electronic device 70.

[0046] The wastewater discharge control method of the water purifier provided in the present application can control the amount of wastewater generated by the water purifier when preparing pure water and discharge it according to the wastewater quality information after the number of water quality tests under the current setting state reaches the preset number of tests. It can be seen that this scheme can dynamically adjust the amount of wastewater discharged by the water purifier according to the wastewater quality information after the number of water quality tests under the current setting state reaches the preset number of tests, which is conducive to improving the stability of the water quality of the water purifier.

[0047] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.

[0048] A method for controlling wastewater discharge from a water purifier comprises: when the water purifier prepares pure water, obtaining the current setting state of the switching valve and the number of water quality detection times under the current setting state; when the number of water quality detection times reaches a preset number of detection times, obtaining wastewater quality information; updating the current setting state according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state.

[0049] See also Figure 2 , Figure 2 This is a schematic diagram of the process of the wastewater discharge control method of the water purifier provided in this application. The specific process of the wastewater discharge control method of the water purifier can be as follows:

[0050] 101: When the water purifier prepares pure water, obtain the current setting state of the switching valve and the number of water quality detection times under the current setting state.

[0051] Among them, the switching valve has multiple inlets and outlets, and the wastewater discharge pipe for discharging wastewater prepared by the water purifier can be switched by controlling the inlets and outlets of the switching valve. The current setting state of the switching valve can be the inlets and outlets of the current switching valve for wastewater circulation. Each inlet and outlet of the current switching valve for wastewater circulation can be numbered. For example, assuming that the switching valve includes 3 inlets and outlets, the number of each inlet and outlet of the switching valve can be pre-set according to the size order of the wastewater passing through the wastewater plug, such as inlet and outlet-1, inlet and outlet-2 and inlet and outlet-3. If the inlet and outlet number currently being used by the switching valve is inlet and outlet-2, then the current setting state is inlet and outlet-2. The current setting state can also be gear information. For example, assuming that the switching valve includes 3 inlets and outlets, the gear of each inlet and outlet of the switching valve can be pre-set according to the size order of the wastewater passing through the wastewater plug, which are gear 1, gear 2 and gear 3 in sequence. If the inlet and outlet currently being used by the switching valve is gear 1, then the current setting state is gear 1.

[0052] 102: When the water quality detection times reaches a preset detection times, the wastewater quality information is obtained.

[0053] The number of water quality detections is the number of times the water quality detector detects the wastewater quality. Specifically, the number of water quality detections may be the number of times the water quality detector detects the wastewater quality each time the water purifier discharges wastewater. The wastewater quality information is information indicating the wastewater quality, and the wastewater quality information may include a total dissolved solids value.

[0054] Among them, the preset number of detections can be set according to the actual application scenario, and no specific limitation is made here. The water quality detector can be preset to detect the quality of the wastewater at the wastewater discharge end according to the time period when the water purifier prepares pure water. For example, when the water purifier prepares pure water, it is set to detect the quality of the wastewater every 30 seconds. The water quality detector can also be preset to determine the fixed number of detections of the water quality detector according to the current water outlet mode of the water purifier each time the water purifier prepares pure water. For example, assuming that the current water outlet mode of the water purifier is to make 500ml of water, the fixed number of detections is determined to be 3 times, as well as the detection time of each water quality detection. During the process of preparing pure water by the water purifier, the wastewater at the wastewater discharge end is tested for water quality according to the detection time. Based on this, it can be avoided that the water quality detector performs an empty inspection when there is no wastewater discharged from the wastewater discharge end, and then the wastewater discharged from the wastewater discharge end can be effectively tested for wastewater quality by the water quality detector in the future and the number of water quality tests can be counted.

[0055] When the number of water quality tests reaches the preset number of tests, the wastewater quality information is obtained and analyzed, which can avoid the impact of external factors (such as season, rainfall, temperature changes and other natural factors) on the tap water quality, resulting in unstable results of wastewater quality testing, leading to misjudgment of wastewater quality, and thus erroneously updating the current setting state of the switching valve.

[0056] 103: updating the current setting state according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state.

[0057] The wastewater quality information is compared with the standard wastewater quality corresponding to the current setting state. If the wastewater quality information is compared with the standard wastewater quality, it indicates that the wastewater quality is reduced, which means that the wastewater is purer. Therefore, the switching valve can be switched to an inlet and outlet with a smaller wastewater discharge volume. For example, assuming that the current setting state is level 3, if the wastewater quality information is compared with the standard wastewater quality, it indicates that the wastewater quality is reduced, the current setting state can be updated to level 2.

[0058] Optionally, the target gear information of the switching valve can be estimated based on the wastewater quality parameters and the standard water quality corresponding to the current setting state, so as to update the current setting state of the switching valve, so that the wastewater discharge amount can be dynamically adjusted according to the wastewater quality parameters to improve the water quality stability of the water purifier outlet. That is, in one embodiment, the updating of the current setting state according to the wastewater quality information includes:

[0059] extracting water quality parameters from the wastewater quality information;

[0060] Comparing the water quality parameter with the standard water quality of the current set state;

[0061] estimating target gear position information of the switching valve according to the comparison result;

[0062] The current setting state is updated based on the target gear information.

[0063] The water quality parameter may include at least one value of the wastewater quality detected by the water quality detector after the water quality detection times reaches the preset detection times. The water quality parameter may be parameters such as total dissolved solids value, conductivity, hardness, heavy metals, organic matter content, etc. The standard water quality of the current setting state may be set according to health, safety or specific user needs, which is not specifically limited here.

[0064] For example, assuming that the detected wastewater water quality parameter is a for the total dissolved solids value, the standard water quality of the current setting state is b, and the gear corresponding to the current setting state of the switching valve is c=1 gear; when a is greater than b, the gear corresponding to the current setting state is raised, and the estimated target gear information is c'=c+1=2 gear, and the gear corresponding to the current setting state of the switching valve is updated to 2 gear; when a is less than b and 1 gear is not the lowest gear, the gear corresponding to the current setting state is lowered, and the estimated target gear information is c'=c-1=0 gear, and the gear corresponding to the current setting state of the switching valve is updated to 0 gear; when a is less than b and 1 gear is the lowest gear, the gear corresponding to the current setting state of the switching valve is kept unchanged; when a=b, the gear corresponding to the current setting state of the switching valve is kept unchanged. In addition, if the gear corresponding to the current setting state of the switching valve is the highest gear, when it is necessary to raise the gear corresponding to the current setting state, the water purifier is controlled to stop preparing pure water, and a reminder message is generated to remind the user to check the water quality of the tap water or the filter element of the water purifier.

[0065] Optionally, the comparison result represents the difference between the water quality parameter and the standard water quality, and the target gear information can be estimated based on the difference. That is, in one embodiment, estimating the target gear information of the switching valve based on the comparison result includes:

[0066] Determine a water quality error range corresponding to the difference;

[0067] The target gear information is estimated based on the difference and the water quality error range.

[0068] Among them, the water quality error range indicates the range of the difference between the water quality parameters of the wastewater and the standard water quality.

[0069] The historical water quality detection data (such as the total dissolved solids value) corresponding to each inlet and outlet of the switching valve can be calculated according to the Laida criterion to obtain the standard deviation σ and mean μ corresponding to the historical water quality detection data, so as to generate the water quality error range corresponding to each inlet and outlet of the switching valve according to the standard deviation σ and mean μ. The water quality range can be expressed as (μ-3σ, μ+3σ). When the difference belongs to the water quality error range corresponding to the current setting state, the current gear information of the switching valve is kept unchanged, that is, the current setting state of the switching valve is maintained. When the difference does not belong to the water quality error range corresponding to the current setting state and the difference is a negative number, it means that the water quality parameter is lower than the standard water quality, and the discharge of wastewater needs to be reduced. At this time, it is estimated that the gear corresponding to the current setting state needs to be reduced by one gear, so as to obtain the target gear information; when the difference does not belong to the water quality error range corresponding to the current setting state and the difference is a positive number, it means that the water quality parameter is higher than the standard water quality, and the discharge of wastewater needs to be increased. At this time, it is estimated that the gear corresponding to the current setting state needs to be increased by one gear, so as to obtain the target gear information.

[0070] By using the rule of thumb to determine the range of differences between water quality parameters and standard water quality, the extent to which wastewater discharge needs to be improved can be determined, thereby accurately estimating the target gear information, which is beneficial to improving the stability of the pure water quality of the water purifier.

[0071] In one embodiment, estimating the target gear information according to the difference and the water quality error range includes:

[0072] Determine the position information of the difference within the water quality error range;

[0073] The target gear information is estimated based on the position information.

[0074] The water quality error range may be a range obtained by statistical analysis based on historical experience data.

[0075] The position information indicates the position of the difference within the water quality error range, and the position information may be a percentage within the water quality error range. For example, the water quality error range is (a, b), and the water quality error range can be divided into N stages, each stage corresponds to a gear change, and the error is c, then the position information d% = (ca) / (ba), determine the target stage to which d% belongs within the water quality error range, adjust the gear corresponding to the current setting state according to the gear change corresponding to the target stage, and obtain the target gear information.

[0076] Exemplarily, assuming that the gear corresponding to the current setting state is gear 1, and the water quality error range is (-0.2, 0.2), the water quality error range is divided into four stages, among which -0.2 to -0.1 is the first stage, the first stage reduces 1 gear, and the corresponding percentage of the first stage is 0 to 20%; -0.1 to 0 is the second stage, the second stage reduces 0 gear, and the corresponding percentage of the second stage is 20% to 40%; 0 to 0.1 is the third stage, the corresponding percentage of the third stage is 40% to 60%, and the third stage increases 0 gear; 0.1 to 0.2 is the fourth stage, the fourth stage increases 1 gear, and the corresponding percentage of the fourth stage is 60% to 80%; the difference is 0.1, and the calculated position information is (0.1-(-0.2)) / (0.2-(-0.2))=75%, then the target stage is determined to be the fourth stage, then the gear corresponding to the current setting state is increased by 1 gear, and the target gear information is obtained as gear 2.

[0077] In this embodiment, the target gear information is estimated by using the position information of the difference within the water quality error range, so that the discharge amount of the wastewater can be accurately controlled, thereby achieving accurate control of the water quality of the pure water.

[0078] In one embodiment, if after n drainages, the total dissolved solids value decreases and tends to a stable value, the user is reminded to switch to a valve with a smaller water volume or directly switch to a valve with a smaller water volume; if after n drainages, the total dissolved solids value does not change, the original valve is maintained for drainage, and the wastewater quality information is a change curve of the wastewater quality parameter, and updating the current setting state according to the wastewater quality information includes:

[0079] Performing a fluctuation analysis on the variation curve of the wastewater quality parameter;

[0080] If the wastewater quality parameter is reduced and then stabilized, a gear switching reminder message is generated and displayed to remind the target object to adjust the gear position of the switching valve according to the gear switching reminder message;

[0081] If the wastewater quality parameter does not change, the current setting state is maintained.

[0082] The moving average method can be used to analyze the fluctuation of the change curve of wastewater quality parameters. For example, determine the size of a time window, which is the number of data points included in the moving average calculation. For example, if the window size is 3, then the moving average will be the average of the data at three consecutive time points.

[0083] Exemplarily, assuming that the time window is a, when the number of water quality tests reaches the preset number of tests, the water quality parameter of the first test is b, the water quality parameter of the second test is c, the water quality parameter of the third test is d, and the water quality parameter of the mth test is M, then the first moving average is (b+c) / a, the second moving average is (c+d) / a, and the mth moving average is (M+(M-1)) / a; when the difference between the first moving average, the second moving average and the mth moving average and the preset average is less than the difference threshold, it means that the wastewater quality parameter has not changed, and the current setting state is maintained; when the difference between the first moving average and the preset average is less than the difference threshold, when the mth moving average is The difference between the second moving average value, the mth moving average value and the preset average value exceeds the difference threshold value (for example, if the difference threshold value is 0.2, the preset average value is 6, and the moving average value is 5, then the difference is -1, where 1 is greater than the difference threshold value; for another example, if the preset average value is 6.3, then the difference is 0.3, and 0.3 is greater than the difference threshold value), and the value exceeding the difference threshold value tends to be stable, if the difference is a negative number, a gear switching reminder message is generated and displayed to suggest the user to lower the gear of the current setting state by one gear; if the difference is a positive number, a gear switching reminder message is generated and displayed to suggest the user to increase the gear of the current setting state by one gear, so as to remind the target object to adjust the gear of the switching valve according to the gear switching reminder message.

[0084] In one embodiment, if the wastewater quality parameter is reduced and then stabilized, after generating and displaying the gear switching reminder information, it also includes:

[0085] If a water outlet switching instruction is received, the target water outlet of the switching valve is determined in response to the water outlet switching instruction.

[0086] After displaying the gear switching reminder information to the user, a water outlet switching instruction can be generated according to the user's actual adjustment gear, and the target water outlet of the switching valve can be determined in response to the water outlet switching quality.

[0087] Exemplarily, assuming that the current water outlet is gear 2, when the user sees the gear switching reminder information, the gear switching reminder information indicates to increase one gear; if the user increases two gears, the water purifier generates a water outlet switching instruction in response to the gear increase operation, and determines that the target water outlet is gear 4 based on the water outlet switching instruction, and then switches the current water outlet of the switching valve from gear 2 to gear 4.

[0088] In one embodiment, updating the current setting state according to the wastewater quality information includes:

[0089] Obtain the current water output type of the water purifier;

[0090] estimating the target gear position information of the switching valve based on the current outlet water type and the wastewater quality information;

[0091] The current setting state is updated according to the target gear information.

[0092] Among them, the current water output types can include pure water, purified water, and mineral water.

[0093] Exemplarily, assuming that the current water outlet type is mineral water, the water quality parameters of the wastewater are obtained from the wastewater quality information, and the water quality parameters of the wastewater are compared with the water quality parameters of mineral water, wherein the standard water quality parameters are the water quality parameters of the wastewater discharged when the water outlet type of the water purifier is mineral water. If the water quality parameters of the wastewater are higher than the water quality parameters of mineral water, the discharge amount of the wastewater is reduced, that is, the gear is reduced (such as reducing one gear); if the water quality parameters of the wastewater are lower than the water quality parameters of mineral water, the discharge amount of the wastewater is increased, that is, the gear is increased (such as increasing one gear); thereby, the target gear information of the switching valve can be determined, the gear indicated in the target gear information is used as the current gear, and the gear corresponding to the set state is adjusted to the current gear. Based on this, the quality of the mineral water discharged from the water purifier can be accurately controlled.

[0094] The above is the wastewater discharge control process of the water purifier of this application.

[0095] As mentioned above, the present application provides a method for controlling wastewater discharge of a water purifier, by obtaining the current setting state of the switching valve and the number of water quality tests under the current setting state when the water purifier prepares pure water; when the water quality test number reaches the preset test number, the wastewater quality information is obtained; the current setting state is updated according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state. In the wastewater discharge control scheme of the water purifier provided in the present application, after the number of water quality tests under the current setting state reaches the preset test number, the amount of wastewater generated by the water purifier when preparing pure water can be controlled and discharged according to the wastewater quality information. It can be seen that this scheme can dynamically adjust the amount of wastewater discharged by the water purifier according to the wastewater quality information after the number of water quality tests under the current setting state reaches the preset test number, which is conducive to improving the stability of the water quality of the water purifier.

[0096] In order to facilitate better implementation of the wastewater discharge control method of the water purifier of the embodiment of the present application, the embodiment of the present invention also provides a wastewater discharge control device based on the above water purifier (hereinafter referred to as the wastewater discharge control device). The meaning of the terms is the same as that in the wastewater discharge control method of the water purifier, and the specific implementation details can refer to the description in the method embodiment.

[0097] See also Figure 3 , Figure 3A schematic diagram of the structure of a wastewater discharge control device for a water purifier provided in an embodiment of the present application, wherein the determination device may include a first acquisition module 201, a second acquisition module 202 and an update module 203, which may be specifically as follows:

[0098] The first acquisition module 201 is used to acquire the current setting state of the switching valve and the number of water quality detection times under the current setting state when the water purifier prepares pure water;

[0099] The second acquisition module 202 is used to acquire wastewater quality information when the water quality detection times reaches a preset detection times;

[0100] The updating module 203 is used to update the current setting state according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state.

[0101] In this embodiment, when the water purifier prepares pure water, the current setting state of the switching valve and the number of water quality tests under the current setting state are obtained; when the number of water quality tests reaches the preset number of tests, the wastewater quality information is obtained; the current setting state is updated according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state. In the wastewater discharge control scheme of the water purifier provided in the present application, after the number of water quality tests under the current setting state reaches the preset number of tests, the amount of wastewater generated by the water purifier when preparing pure water can be controlled and discharged according to the wastewater quality information. It can be seen that this scheme can dynamically adjust the amount of wastewater discharged by the water purifier according to the wastewater quality information after the number of water quality tests under the current setting state reaches the preset number of tests, which is conducive to improving the stability of the water quality of the water purifier.

[0102] Optionally, in some embodiments, the updating module 203 includes:

[0103] An extraction submodule, used for extracting water quality parameters from the wastewater quality information;

[0104] A comparison submodule, used for comparing the water quality parameter with the standard water quality of the current set state;

[0105] A first estimation submodule, used for estimating target gear position information of the switching valve according to the comparison result;

[0106] The first updating submodule is used to update the current setting state based on the target gear information.

[0107] Optionally, in some embodiments, the comparison result represents the difference between the water quality parameter and the standard water quality, and the first estimation submodule includes:

[0108] A determination unit, used to determine a water quality error range corresponding to the difference;

[0109] An estimating unit is used to estimate the target gear information according to the difference and the water quality error range.

[0110] Optionally, in some embodiments, the estimating unit includes:

[0111] A determination subunit, used to determine the position information of the difference within the water quality error range;

[0112] An estimation subunit is used to estimate the target gear information based on the position information.

[0113] Optionally, in some embodiments, the wastewater quality information is a change curve of wastewater quality parameters, and the updating module 203 includes:

[0114] An analysis module, used for performing fluctuation analysis on the variation curve of the wastewater quality parameter;

[0115] A display module, used for generating and displaying gear switching reminder information if the wastewater quality parameter is reduced and then stabilized, so as to remind the target object to adjust the gear position of the switching valve according to the gear switching reminder information;

[0116] A maintaining module is used to maintain the current setting state if the wastewater quality parameter does not change.

[0117] Optionally, in some embodiments, the device further comprises:

[0118] The determination module is used to determine the target water outlet of the switching valve in response to the water outlet switching instruction if a water outlet switching instruction is received.

[0119] Optionally, in some embodiments, the updating module 203 includes:

[0120] An acquisition submodule, used to acquire the current water output type of the water purifier;

[0121] A second estimation submodule, configured to estimate the target gear position information of the switching valve based on the current outlet water type and the wastewater quality information;

[0122] The second updating submodule is used to update the current setting state according to the target gear information.

[0123] It can be seen that the embodiment of the present application provides a wastewater discharge control device for a water purifier, by obtaining the first height information of the salt block in the salt box at the last time the water was discharged and the second height information of the salt block at the current moment; determining the height difference of the salt block according to the first height information and the second height information; determining the dissolution rate of the salt block according to the height difference; and estimating the salt replenishment time of the salt box based on the dissolution rate and the height difference. In the wastewater discharge control scheme of the water purifier provided in the present application, the height difference of the salt block is determined according to the first height information and the second height information of the salt block, and the dissolution rate of the salt block is determined based on the height difference, so as to estimate the salt replenishment time of the salt box based on the dissolution rate, and replenish the salt block to the salt box according to the salt replenishment time. It can be seen that the present scheme can accurately monitor the use of the salt blocks in the salt box through the height difference of the salt blocks to estimate the salt replenishment time of the salt box, which is conducive to timely replenishment of the salt box.

[0124] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read Only Memory), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0125] Correspondingly, an embodiment of the present application also discloses a storage medium storing a computer program that can be loaded by a processor and execute the above method.

[0126] The present application also discloses an electronic device, such as Figure 4 As shown, it includes a processor 100, at least one communication bus 200, a user interface 300, at least one external communication interface 400 and a memory 500. The processor 100 is used to provide computing and control capabilities, the communication bus 200 is configured to achieve connection and communication between these components, the user interface 300 may include a display screen, the external communication interface 400 may include a standard wired interface and a wireless interface, and the memory 500 stores a wastewater discharge control method for a water purifier. The processor 100 is also used to adopt the above method when executing the wastewater discharge control method for a water purifier stored in the memory 500.

[0127] Optionally, in some embodiments, the processor implements the following steps when executing the computer program:

[0128] When the water purifier prepares pure water, the current setting state of the switching valve and the number of water quality tests under the current setting state are obtained; when the number of water quality tests reaches the preset number of tests, the wastewater quality information is obtained; the current setting state is updated according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state.

[0129] In this embodiment, after the number of water quality tests under the current setting state reaches the preset number of tests, the amount of wastewater generated by the water purifier when preparing pure water can be controlled and discharged according to the wastewater quality information. It can be seen that this solution can dynamically adjust the amount of wastewater discharged by the water purifier according to the wastewater quality information after the number of water quality tests under the current setting state reaches the preset number of tests, which is conducive to improving the stability of the water quality of the water purifier.

[0130] It should be understood that "one embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.

[0131] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0132] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0133] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0134] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0135] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.

[0136] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a device to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.

[0137] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A method for controlling wastewater discharge from a water purifier, It is characterized in that The water purifier comprises a wastewater discharge end, the wastewater discharge end is provided with a water quality detector and at least one switching valve, each water outlet end of the switching valve is connected to a corresponding wastewater discharge pipeline, and the water inlet end of the wastewater discharge pipeline is provided with a corresponding wastewater plug, the wastewater plug is used to control the wastewater flow rate of the pipeline where it is located, and the wastewater discharge control method comprises: When the water purifier prepares pure water, obtaining the current setting state of the switching valve and the number of water quality detections under the current setting state; When the water quality detection times reaches the preset detection times, the wastewater quality information is obtained; The current setting state is updated according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state.

2. The salt block replenishing method according to claim 1, It is characterized in that The updating of the current setting state according to the wastewater quality information includes: extracting water quality parameters from the wastewater quality information; Comparing the water quality parameter with the standard water quality of the current set state; estimating target gear position information of the switching valve according to the comparison result; The current setting state is updated based on the target gear information.

3. The wastewater discharge control method according to claim 2, It is characterized in that The comparison result represents the difference between the water quality parameter and the standard water quality, and the estimating the target gear position information of the switching valve according to the comparison result includes: Determine a water quality error range corresponding to the difference; The target gear information is estimated based on the difference and the water quality error range.

4. The wastewater discharge control method according to claim 3, It is characterized in that The estimating the target gear information according to the difference and the water quality error range includes: Determine the position information of the difference within the water quality error range; The target gear information is estimated based on the position information.

5. The wastewater discharge control method according to claim 1, It is characterized in that The wastewater quality information is a change curve of wastewater quality parameters, and updating the current setting state according to the wastewater quality information includes: Performing a fluctuation analysis on the variation curve of the wastewater quality parameter; If the wastewater quality parameter is reduced and then stabilized, a gear switching reminder message is generated and displayed to remind the target object to adjust the gear position of the switching valve according to the gear switching reminder message; If the wastewater quality parameter does not change, the current setting state is maintained.

6. The wastewater discharge control method according to claim 5, It is characterized in that If the wastewater quality parameter is reduced and then stabilized, after generating and displaying the gear switching reminder information, it also includes: If a water outlet switching instruction is received, the target water outlet of the switching valve is determined in response to the water outlet switching instruction.

7. The wastewater discharge control method according to claim 1, It is characterized in that The updating of the current setting state according to the wastewater quality information includes: Obtain the current water output type of the water purifier; estimating the target gear position information of the switching valve based on the current outlet water type and the wastewater quality information; The current setting state is updated according to the target gear information.

8. A wastewater discharge control device for a water purifier, It is characterized in that The water purifier comprises a wastewater discharge end, the wastewater discharge end is provided with a water quality detector and at least one switching valve, each water outlet end of the switching valve is connected to a corresponding wastewater discharge pipeline, and the water inlet end of the wastewater discharge pipeline is provided with a corresponding wastewater plug, the wastewater plug is used to control the wastewater flow rate of the pipeline where it is located, and the wastewater discharge control method comprises: A first acquisition module, used for acquiring the current setting state of the switching valve and the number of water quality detection times under the current setting state when the water purifier prepares pure water; A second acquisition module is used to acquire wastewater quality information when the water quality detection times reaches a preset detection times; An updating module is used to update the current setting state according to the wastewater quality information, so as to control the amount of wastewater generated by the water purifier when preparing pure water and discharge it through the updated current setting state.

9. An electronic device, It is characterized in that include: It comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for controlling wastewater discharge of a water purifier as claimed in any one of claims 1 to 7 are implemented.

10. A storage medium, It is characterized in that A computer program is stored thereon, wherein when the computer program is executed by a processor, the steps of the wastewater discharge control method of the water purifier as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Water purifier

    CN104628172A

  • Water purifier and control method thereof

    CN105329984A

  • A water purifier control method and control system

    CN108946833A

  • Control method and system for water purifier, and water purifier

    CN109277000A

  • Water purification system capable of automatically adjusting wastewater discharge and control method

    CN112624390A