A method, device, water purification equipment and storage medium for determining abnormal water quality

By using TDS detection unit and bubbling sorting algorithm in the water purifier, we can monitor water quality changes in real time and remind users to replace filter elements, which solves the problems of insufficient water quality monitoring and untimely replacement of filter elements in the existing technology, ensuring the safety of users' water use and healthy.

CN113592670BActive Publication Date: 2024-11-05QINGDAO HAIER STRAUSS WATER EQUIP CO LTD +2
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202110794961.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-14
Publication Date
2024-11-05
Estimated Expiration
2041-07-14

AI Technical Summary

Technical Problem

The existing water purifiers have shortcomings in water quality monitoring and filter element replacement, and cannot detect changes in water quality in a timely manner, which may lead to users' drinking contaminated water and affect health and safety.

Method used

The water inlet and outlet water TDS detection unit is used to monitor the water quality changes in real time through the bubble sorting algorithm, calculate the difference to determine abnormal water quality or damage to the filter element, and ensure that users change the filter element in time and check the water quality by sending reminder information.

Benefits of technology

Real-time monitoring of water quality changes and timely reminder of filter element status are achieved, ensuring the safety and health of users' water use, and avoiding secondary pollution and premature damage to filter element.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113592670B_ABST
    Figure CN113592670B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, water purification equipment and storage medium for determining water quality anomaly. The water purification equipment includes an inlet total dissolved solids (TDS) detection unit arranged at a water inlet. The method includes: obtaining an inlet TDS value based on the inlet TDS detection unit; sorting the inlet TDS value based on bubble sorting, and determining the maximum inlet TDS value and the minimum inlet TDS value within a preset time period; determining the maximum inlet difference between the current inlet TDS value and the maximum inlet TDS value, and the minimum inlet difference between the current inlet TDS value and the minimum inlet TDS value; if the maximum inlet difference or the minimum inlet difference is greater than a water quality threshold, determining that the water quality is abnormal. The above technical solution can achieve real-time determination of water quality changes and ensure the safety and health of users' water use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to water quality monitoring technology, and more particularly to a method, device, water purification equipment and storage medium for determining abnormal water quality. Background Art

[0002] People can never live without air and water. Today, people are paying more and more attention to water safety and have higher and higher requirements for water quality. A water purifier is a common device used to purify water. People hope to obtain safe and healthy water through the purification function of a water purifier. After entering the water purifier, the water can be purified by the water purification device of the water purifier and then supplied to users.

[0003] In the prior art, a water purifier can remove impurities from water through a filter element, and then provide water to users for drinking, and the water quality detection device in the water purifier can send the current water quality value of the water purifier to the user terminal. However, there is a risk of contamination in the process from when the water enters the water purifier to when it reaches the user. First of all, since the purification effect of the filter element is limited, the water purifier can only purify a certain total amount of water. If the total amount of water in the bucket exceeds this capacity, the water purifier will not be able to purify water, and it may also cause secondary pollution; secondly, the replacement time of the filter element is generally fixed, but if the water quality is very poor for a period of time, the use time of the filter element is shortened, and the uninformed user continues to use the filter element that has lost its function; in addition, cleaning the filter element or water storage tank may also cause secondary pollution.

[0004] In the prior art, users cannot be informed of changes in water quality in a timely manner. Continuing to drink water after the water quality deteriorates may pose a major threat to the user's health and safety, and the safety and health of the user's water cannot be guaranteed. Summary of the invention

[0005] The present invention provides a method, device, water purification equipment and storage medium for determining abnormal water quality, so as to achieve real-time determination of water quality changes and further determine water quality abnormalities, so as to ensure the safety and health of users' water use.

[0006] In a first aspect, an embodiment of the present invention provides a method for determining water quality anomaly, which is applied to a water purification device, wherein the water purification device includes an inlet total dissolved solids (TDS) detection unit disposed at a water inlet, and the method includes:

[0007] Acquire the inlet TDS value based on the inlet TDS detection unit;

[0008] Sorting the inlet water TDS values ​​based on bubble sort, and determining a maximum inlet water TDS value and a minimum inlet water TDS value within a preset time period;

[0009] Determine a maximum inlet water difference according to the current inlet water TDS value and the maximum inlet water TDS value, and determine a minimum inlet water difference according to the current inlet water TDS value and the minimum inlet water TDS value;

[0010] If the maximum water inlet difference or the minimum water inlet difference is greater than the water quality threshold, it is determined that the water quality is abnormal.

[0011] The embodiment of the present invention provides a method for determining abnormal water quality, which is applied to a water purification device, wherein the water purification device includes an inlet TDS detection unit arranged at a water inlet, and the method includes: obtaining an inlet TDS value based on the inlet TDS detection unit; sorting the inlet TDS value based on a bubble sort, and determining the maximum inlet TDS value and the minimum inlet TDS value within a preset time period; determining the maximum inlet difference according to the current inlet TDS value and the maximum inlet TDS value, and determining the minimum inlet difference according to the current inlet TDS value and the minimum inlet TDS value; if the maximum inlet difference or the minimum inlet difference is greater than a water quality threshold, determining that the water quality is abnormal. The above technical solution continuously obtains the inlet TDS value of the water purification device inlet, and respectively calculates the difference between the current inlet TDS value and the maximum inlet TDS value and the minimum inlet TDS value within a preset time period. If any difference is greater than the water quality threshold, the water quality is determined to be abnormal, which realizes real-time determination of water quality changes, and then determines water quality abnormalities, so as to ensure the safety and health of users' water use.

[0012] Furthermore, the water purification device further comprises a water outlet TDS detection unit arranged at the water outlet, and the method further comprises:

[0013] Acquire the outlet water TDS value based on the outlet water TDS detection unit;

[0014] Sorting the outlet water TDS values ​​based on bubble sort, and determining a maximum outlet water TDS value and a minimum outlet water TDS value within a preset time period;

[0015] Determine a maximum outlet water difference value according to the current outlet water TDS value and the maximum outlet water TDS value, and determine a minimum outlet water difference value according to the current outlet water TDS value and the minimum outlet water TDS value;

[0016] If the maximum water outlet difference or the minimum water outlet difference is greater than the filter element threshold, it is determined that the water purification filter element of the water purification equipment is damaged.

[0017] Furthermore, after determining that the water quality is abnormal, it also includes:

[0018] Abnormal water quality information is sent to the user terminal to remind the user to check the water quality.

[0019] Further, after determining that the water purification filter element of the water purification device is damaged, the method further includes:

[0020] The water purification filter element damage information is sent to the user terminal to remind the user to replace the water purification filter element and / or check the water quality.

[0021] In a second aspect, an embodiment of the present invention further provides a water quality abnormality determination device, which is loaded on a water purification device, wherein the water purification device includes an inlet TDS detection unit arranged at a water inlet, and the device includes:

[0022] An inlet water TDS value acquisition module is used to obtain an inlet water TDS value based on an inlet water TDS detection unit;

[0023] An inlet water TDS value sorting module, used to sort the inlet water TDS values ​​based on bubble sorting, and determine the maximum inlet water TDS value and the minimum inlet water TDS value within a preset time period;

[0024] An inlet water difference determination module, used to determine a maximum inlet water difference according to a current inlet water TDS value and the maximum inlet water TDS value, and to determine a minimum inlet water difference according to the current inlet water TDS value and the minimum inlet water TDS value;

[0025] The abnormality determination module is used to determine that the water quality is abnormal if the maximum water inlet difference or the minimum water inlet difference is greater than a water quality threshold.

[0026] Furthermore, the water purification equipment further comprises a water outlet TDS detection unit arranged at the water outlet, and the device further comprises:

[0027] An outlet water TDS value acquisition module, used to acquire an outlet water TDS value based on the outlet water TDS detection unit;

[0028] An outlet water TDS value sorting module, used to sort the outlet water TDS values ​​based on bubble sorting, and determine the maximum outlet water TDS value and the minimum outlet water TDS value within a preset time period;

[0029] The outlet water difference determination module is used to determine the maximum outlet water difference according to the current outlet water TDS value and the maximum outlet water TDS value, and to determine the minimum outlet water difference according to the current outlet water TDS value and the minimum outlet water TDS value;

[0030] A damage determination module is used to determine that the water purification filter element of the water purification equipment is damaged if the maximum water outlet difference or the minimum water outlet difference is greater than the filter element threshold.

[0031] Furthermore, the device also includes:

[0032] The first sending module is used to send abnormal water quality information to the user terminal to remind the user to check the water quality.

[0033] Furthermore, the device also includes:

[0034] The second sending module is used to send the water purification filter damage information to the user terminal to remind the user to replace the water purification filter and / or check the water quality.

[0035] In a third aspect, an embodiment of the present invention further provides a water purification device, the device comprising:

[0036] one or more processors;

[0037] A storage device for storing one or more programs;

[0038] Inlet water TDS detection unit, used to obtain the inlet water TDS value;

[0039] When the one or more programs are executed by the one or more processors, the one or more processors implement the water quality abnormality determination method as described in any one of the first aspects.

[0040] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the method for determining abnormal water quality as described in any one of the first aspects.

[0041] In a fifth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed on a computer, the computer executes the water quality abnormality determination method provided in the first aspect.

[0042] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the water quality abnormality determination device, or may be packaged separately from the processor of the water quality abnormality determination device, and this application does not limit this.

[0043] The description of the second, third, fourth and fifth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0044] In this application, the name of the above-mentioned water quality abnormality determination device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0045] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flow chart of a method for determining abnormal water quality provided in Embodiment 1 of the present invention;

[0047] Figure 2 A flow chart of a method for determining abnormal water quality provided in Embodiment 2 of the present invention;

[0048] Figure 3 A schematic diagram of the structure of a device for determining abnormal water quality provided in Embodiment 3 of the present invention;

[0049] Figure 4 This is a schematic diagram of the structure of a water purification device provided in Example 4 of the present invention. DETAILED DESCRIPTION

[0050] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0051] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0052] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0053] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0054] It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe various operations (or steps) as sequential processes, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to methods, functions, procedures, subroutines, subprograms, etc. In addition, the embodiments in the present invention and the features in the embodiments can be combined with each other without conflict.

[0055] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0056] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0057] Embodiment 1

[0058] Figure 1 This is a flow chart of a method for determining water quality anomaly provided in Embodiment 1 of the present invention. This embodiment can be applied to situations where real-time monitoring of water quality changes is required. The method is applied to a water purification device, wherein the water purification device includes an inlet TDS detection unit disposed at a water inlet. The method can be performed by a water quality anomaly determination device, such as Figure 1 As shown, the method specifically comprises the following steps:

[0059] Step 110: Obtain an inlet water TDS value based on the inlet water TDS detection unit.

[0060] Among them, the inlet TDS detection unit can be set at the water outlet of the water purification equipment. The inlet TDS detection unit can be a TDS needle or a TDS pen, etc., and can be communicated with the processor of the water purification equipment to send the total amount of soluble solids at the water inlet to the processor.

[0061] The TDS value indicates the dissolved solids contained in 1 liter of water. The higher the TDS value, the more dissolved substances are contained in the water. The TDS value refers to the total amount of all solutes in the water, including both inorganic and organic substances. Since the organic matter and molecular inorganic substances contained in natural water can generally be ignored, the salt content is generally referred to as total dissolved solids. In general, the higher the conductivity, the higher the salt content, and the higher the TDS value. Water with a TDS value greater than 300 mg / L (milligrams per liter) is polluted water. Drinking water with a TDS value greater than 300 mg / L may cause damage to human health.

[0062] Specifically, the inlet TDS can continuously monitor the inlet TDS value of the water inlet of the water purification device, and can send the inlet TDS value to the processor of the water purification device based on wireless communication or wired communication.

[0063] Step 120 : Sort the inlet water TDS values ​​based on bubble sort, and determine the maximum inlet water TDS value and the minimum inlet water TDS value within a preset time period.

[0064] The preset time period may be one hour.

[0065] Specifically, after obtaining the real-time inlet water TDS value, the processor can continuously sort all the obtained inlet water TDS values ​​based on bubble sort, and can determine the maximum inlet water TDS value and the minimum inlet water TDS value among all the inlet water TDS values ​​obtained within any hour.

[0066] In an embodiment of the present invention, after each inlet TDS value is obtained, the inlet TDS value can be inserted into the inlet TDS value sequence based on bubble sort, and the inlet TDS value sequence within an hour is determined with the current time as the starting time, and then the maximum inlet TDS value and the minimum inlet TDS value within an hour can be determined.

[0067] Of course, after the inlet TDS values ​​within one hour are sorted, the values ​​at both ends of the obtained inlet TDS value sequence can be determined as the maximum inlet TDS value and the minimum inlet TDS value, respectively.

[0068] Step 130: determine a maximum inlet water difference according to the current inlet water TDS value and the maximum inlet water TDS value, and determine a minimum inlet water difference according to the current inlet water TDS value and the minimum inlet water TDS value.

[0069] Specifically, the difference between the current inlet water TDS value and the maximum inlet water TDS value can be calculated to obtain the maximum inlet water difference, and the difference between the current inlet water TDS value and the minimum inlet water TDS value can also be calculated to obtain the minimum inlet water difference.

[0070] Step 140: If the maximum water inlet difference or the minimum water inlet difference is greater than the water quality threshold, it is determined that the water quality is abnormal.

[0071] Among them, the water quality threshold can be 250mg / L.

[0072] Specifically, if the calculated maximum water inlet difference or minimum water inlet difference is greater than the water quality threshold, it indicates that the inlet TDS value of the water purification equipment has changed significantly in a short period of time, and the water entering the water purification equipment may be harmful to human health, so it can be determined that the water quality is abnormal.

[0073] Of course, if the maximum inlet water difference and the minimum inlet water difference are both less than the water quality threshold, it is determined that the water quality is normal.

[0074] In an embodiment of the present invention, the processor can continuously receive the inlet TDS value sent by the inlet TDS detection unit for calculation and sorting. For example, if the first inlet TDS value received is 460 mg / L, the processor waits for the second inlet TDS value; if the second inlet TDS value is 470 mg / L, 460 mg / L and 470 mg / L are bubble sorted, and the difference between 460 mg / L and 470 mg / L is determined. If the difference is less than 250 mg / L, the inlet TDS value continues to be received for bubble sorting and calculation of the difference; until the difference is greater than 250 mg / L, the comparison and sorting are performed and the water quality is reported to be abnormal, and the abnormal water quality information is sent to the user terminal.

[0075] It should be noted that, in actual applications, after the processor obtains the inlet TDS value based on the inlet TDS detection unit, it can send the inlet TDS value to the server, and then the server can execute steps 120-140 to determine whether the water quality is abnormal.

[0076] A method for determining water quality abnormality provided in a first embodiment of the present invention is applied to a water purification device, wherein the water purification device includes a water inlet TDS detection unit arranged at a water inlet, and the method includes: obtaining a water inlet TDS value based on the water inlet TDS detection unit; sorting the water inlet TDS value based on a bubble sort, and determining a maximum water inlet TDS value and a minimum water inlet TDS value within a preset time period; determining a maximum water inlet difference between a current water inlet TDS value and the maximum water inlet TDS value, and a minimum water inlet difference between the current water inlet TDS value and the minimum water inlet TDS value; if the maximum water inlet difference or the minimum water inlet difference is greater than a water quality threshold, determining that the water quality is abnormal. The above technical solution continuously obtains the water inlet TDS value of the water purification device inlet, and respectively calculates the difference between the current water inlet TDS value and the maximum water inlet TDS value and the minimum water inlet TDS value within a preset time period. If any difference is greater than a water quality threshold, determining that the water quality is abnormal, thereby achieving real-time determination of water quality changes, and then determining water quality abnormalities, to ensure the safety and health of users' water use.

[0077] Embodiment 2

[0078] Figure 2 The flowchart of a method for determining water quality abnormality provided in the second embodiment of the present invention is a specific embodiment based on the above embodiment. In the embodiment of the present invention, the method can also be applied to a water purification device, which includes: an inlet total dissolved solids TDS detection unit arranged at the water inlet and an outlet water TDS detection unit arranged at the water outlet. Figure 2 As shown, the method may also include:

[0079] Step 210: Obtain an inlet water TDS value based on the inlet water TDS detection unit.

[0080] Step 211: Sort the inlet water TDS values ​​based on bubble sort, and determine the maximum inlet water TDS value and the minimum inlet water TDS value within a preset time period.

[0081] Step 212: determine a maximum inlet water difference according to the current inlet water TDS value and the maximum inlet water TDS value, and determine a minimum inlet water difference according to the current inlet water TDS value and the minimum inlet water TDS value.

[0082] Step 213: If the maximum water inlet difference or the minimum water inlet difference is greater than the water quality threshold, it is determined that the water quality is abnormal.

[0083] Step 214: Send the abnormal water quality information to the user terminal to remind the user to check the water quality.

[0084] In one embodiment, the executor of steps 211-213 is a processor of a water purification device. In this case, the water purification device may include a Bluetooth unit. The water purification device may communicate with a user terminal via the Bluetooth unit, and when the water quality is determined to be abnormal, the water quality abnormality information is sent to the user terminal to remind the user to check the water quality.

[0085] In another embodiment, the execution subject of steps 211-213 is a server. In this case, the water purification device may include a wireless network unit, and the water purification device may be connected to the server through the wireless network unit, and the server may also be connected to the user terminal. The server may receive the inlet TDS value sent by the water purification device, and when determining that the water quality is abnormal, send the water quality abnormality information to the user terminal to promptly remind the user to check the water quality.

[0086] Step 215: Obtain the outlet water TDS value based on the outlet water TDS detection unit.

[0087] Among them, the outlet TDS detection unit can be set at the water outlet of the water purification equipment. The outlet TDS detection unit can also be a TDS needle or TDS pen, etc., and can also be communicated with the processor of the water purification equipment to send the total amount of dissolved solids at the water outlet to the processor.

[0088] Specifically, the outlet water TDS can continuously monitor the outlet water TDS value of the water outlet of the water purification device, and can send the outlet water TDS value to the processor of the water purification device based on wireless communication or wired communication.

[0089] Step 216: Sort the outlet water TDS values ​​based on bubble sort, and determine the maximum outlet water TDS value and the minimum outlet water TDS value within a preset time period.

[0090] Likewise, the preset time period may be one hour.

[0091] Specifically, after obtaining the real-time outlet water TDS value, the processor can continuously sort all the obtained outlet water TDS values ​​based on bubble sort, and can determine the maximum outlet water TDS value and the minimum outlet water TDS value among all the outlet water TDS values ​​obtained within any hour.

[0092] In an embodiment of the present invention, each time an outlet water TDS value is obtained, the outlet water TDS value can be inserted into the outlet water TDS value sequence based on bubble sort, and the outlet water TDS value sequence within an hour is determined with the current time as the starting time, and then the maximum outlet water TDS value and the minimum outlet water TDS value within an hour can be determined.

[0093] Similarly, after the outlet water TDS values ​​within one hour are sorted, the values ​​at both ends of the obtained outlet water TDS value sequence can be determined as the maximum outlet water TDS value and the minimum outlet water TDS value, respectively.

[0094] Step 217: determine a maximum outlet water difference value according to the current outlet water TDS value and the maximum outlet water TDS value, and determine a minimum outlet water difference value according to the current outlet water TDS value and the minimum outlet water TDS value.

[0095] Specifically, the difference between the current outlet water TDS value and the maximum outlet water TDS value may be calculated to obtain the maximum outlet water difference, and the difference between the current outlet water TDS value and the minimum outlet water TDS value may be calculated to obtain the minimum outlet water difference.

[0096] Step 218: If the maximum water outlet difference or the minimum water outlet difference is greater than the filter element threshold, it is determined that the water purification filter element of the water purification equipment is damaged.

[0097] Among them, the filter element threshold can be 100mg / L.

[0098] Specifically, if the calculated maximum or minimum water outlet difference is greater than the filter element threshold, it indicates that the outlet TDS value of the water purification equipment has changed significantly in a short period of time. Since the water at the outlet is purified water, if the outlet TDS value changes significantly, the main reason may be that the filter element is damaged, so it can be determined that the water purification filter element of the water purification equipment is damaged.

[0099] Of course, if the maximum water outlet difference and the minimum water outlet difference are both less than the filter element threshold, it is determined that the water purification filter element is normal.

[0100] Similarly, in actual applications, after the processor obtains the outlet water TDS value based on the outlet water TDS detection unit, it can send the outlet water TDS value to the server, and then the server can execute steps 216-218 to determine whether the water purification filter element is damaged.

[0101] In addition, steps 215-218 may be performed simultaneously with steps 210-213.

[0102] Step 219: Send the water purification filter damage information to the user terminal to remind the user to replace the water purification filter and / or check the water quality.

[0103] In one embodiment, the executor of steps 216-218 is a processor of a water purification device. In this case, the water purification device may include a Bluetooth unit. The water purification device may communicate with a user terminal via the Bluetooth unit, and when it is determined that the water purification filter element is damaged, the water purification filter element damage information is sent to the user terminal to promptly remind the user to replace the water purification filter element and / or check the water quality.

[0104] In another embodiment, the execution subject of steps 216-218 is a server. In this case, the water purification device may include a wireless network unit, and the water purification device may be connected to the server through the wireless network unit, and the server may also be connected to the user terminal. The server may receive the outlet TDS value sent by the water purification device, and when determining that the water purification filter element is damaged, send the water purification filter element damage information to the user terminal, so as to promptly remind the user to replace the water purification filter element and / or check the water quality.

[0105] A method for determining water quality abnormality provided in a second embodiment of the present invention is applied to a water purification device, wherein the water purification device includes an inlet TDS detection unit arranged at a water inlet, and the method includes: obtaining an inlet TDS value based on the inlet TDS detection unit; sorting the inlet TDS values ​​based on a bubble sort, and determining a maximum inlet TDS value and a minimum inlet TDS value within a preset time period; determining a maximum inlet difference between a current inlet TDS value and the maximum inlet TDS value, and a minimum inlet difference between the current inlet TDS value and the minimum inlet TDS value; if the maximum inlet difference or the minimum inlet difference is greater than a water quality threshold, determining that the water quality is abnormal. The above technical solution continuously obtains the inlet TDS value of the water purification equipment, and calculates the difference between the current inlet TDS value and the maximum inlet TDS value and the minimum inlet TDS value in a preset time period. If any difference is greater than the water quality threshold, the water quality is determined to be abnormal, thereby realizing real-time determination of water quality changes, and then determining water quality abnormalities, and sending water quality abnormality information to the user terminal, so as to promptly remind the user to check the water quality, thereby ensuring the safety and health of the user's water use.

[0106] In addition, the outlet TDS value of the water purification equipment can be continuously obtained, and the difference between the current outlet TDS value and the maximum outlet TDS value and the minimum outlet TDS value in the preset time period can be calculated respectively. If any difference is greater than the filter element threshold, the water purification filter element is determined to be damaged, thereby realizing real-time determination of the filter element status, and sending the water purification filter element damage information to the user terminal, so as to promptly remind the user to replace the water purification filter element and / or check the water quality, thereby further ensuring the safety and health of the user's water use.

[0107] Embodiment 3

[0108] Figure 3 This is a schematic diagram of the structure of a water quality abnormality determination device provided in Embodiment 3 of the present invention, which can be applied to situations where real-time monitoring of water quality changes is required. The device can be implemented by software and / or hardware and is generally integrated in a water purification device, which includes an inlet TDS detection unit arranged at a water inlet.

[0109] like Figure 3 As shown, the device comprises:

[0110] An inlet water TDS value acquisition module 310, used to acquire an inlet water TDS value based on an inlet water TDS detection unit;

[0111] The inlet water TDS value sorting module 320 is used to sort the inlet water TDS values ​​based on bubble sorting and determine the maximum inlet water TDS value and the minimum inlet water TDS value within a preset time period;

[0112] The inlet water difference determination module 330 is used to determine the maximum inlet water difference according to the current inlet water TDS value and the maximum inlet water TDS value, and to determine the minimum inlet water difference according to the current inlet water TDS value and the minimum inlet water TDS value;

[0113] The abnormality determination module 340 is used to determine that the water quality is abnormal if the maximum water inlet difference or the minimum water inlet difference is greater than a water quality threshold.

[0114] The water quality abnormality determination device provided in this embodiment is loaded on a water purification device, and the water purification device includes a water inlet TDS detection unit arranged at the water inlet, and the method includes: obtaining the water inlet TDS value based on the water inlet TDS detection unit; sorting the water inlet TDS value based on bubble sort, and determining the maximum water inlet TDS value and the minimum water inlet TDS value within a preset time period; determining the maximum water inlet difference according to the current water inlet TDS value and the maximum water inlet TDS value, and determining the minimum water inlet difference according to the current water inlet TDS value and the minimum water inlet TDS value; if the maximum water inlet difference or the minimum water inlet difference is greater than the water quality threshold, determining the water quality abnormality. The above technical scheme continuously obtains the water inlet TDS value of the water purification device inlet, and respectively calculates the difference between the current water inlet TDS value and the maximum water inlet TDS value and the minimum water inlet TDS value within the preset time period. If any difference is greater than the water quality threshold, the water quality is determined to be abnormal, which realizes the real-time determination of water quality changes, and then determines the water quality abnormality to ensure the safety and health of users' water use.

[0115] On the basis of the above embodiment, the water purification device further includes a water outlet TDS detection unit arranged at the water outlet, and the device also includes:

[0116] An outlet water TDS value acquisition module, used to acquire an outlet water TDS value based on the outlet water TDS detection unit;

[0117] An outlet water TDS value sorting module, used to sort the outlet water TDS values ​​based on bubble sorting, and determine the maximum outlet water TDS value and the minimum outlet water TDS value within a preset time period;

[0118] The outlet water difference determination module is used to determine the maximum outlet water difference according to the current outlet water TDS value and the maximum outlet water TDS value, and to determine the minimum outlet water difference according to the current outlet water TDS value and the minimum outlet water TDS value;

[0119] A damage determination module is used to determine that the water purification filter element of the water purification equipment is damaged if the maximum water outlet difference or the minimum water outlet difference is greater than the filter element threshold.

[0120] Based on the above embodiment, the device further includes:

[0121] The first sending module is used to send abnormal water quality information to the user terminal to remind the user to check the water quality.

[0122] Based on the above embodiment, the device further includes:

[0123] The second sending module is used to send the water purification filter damage information to the user terminal to remind the user to replace the water purification filter and / or check the water quality.

[0124] The water quality abnormality determination device provided in the embodiment of the present invention can execute the water quality abnormality determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0125] Embodiment 4

[0126] Figure 4 A schematic diagram of the structure of a water purification device provided in Embodiment 4 of the present invention is shown in FIG. Figure 4 As shown, the water purification device includes a processor 410, a memory 420 and an inlet TDS detection unit 430; the number of the processor 410 in the water purification device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, the memory 420 and the water inlet TDS detection unit 430 in the water purification device can be connected via a bus or other means, Figure 4 The example of connecting through bus is taken in the following.

[0127] The memory 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the water quality anomaly method in the embodiment of the present invention (for example, the inlet TDS value acquisition module 310, the inlet TDS value sorting module 320, the inlet difference determination module 330 and the anomaly determination module 340 in the water quality anomaly determination device). The processor 410 executes various functional applications and data processing of the water purification device by running the software programs, instructions and modules stored in the memory 420, that is, realizes the above-mentioned water quality anomaly determination method.

[0128] The processor 410 may include one or more central processing units (CPUs), and may also include multiple processors 410. Each CPU in these processors 410 may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor 410 here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0129] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the water purification device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0130] The inlet water TDS detection unit 430 is used to obtain the inlet water TDS value.

[0131] The water purification device provided in the embodiment of the present invention can execute the water quality abnormality determination method provided in the above embodiment, and has corresponding functions and beneficial effects.

[0132] Embodiment 5

[0133] Embodiment 5 of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute a method for determining abnormal water quality when executed by a computer processor, the method comprising:

[0134] Acquire the inlet TDS value based on the inlet TDS detection unit;

[0135] Sorting the inlet water TDS values ​​based on bubble sort, and determining a maximum inlet water TDS value and a minimum inlet water TDS value within a preset time period;

[0136] Determine a maximum inlet water difference according to the current inlet water TDS value and the maximum inlet water TDS value, and determine a minimum inlet water difference according to the current inlet water TDS value and the minimum inlet water TDS value;

[0137] If the maximum water inlet difference or the minimum water inlet difference is greater than the water quality threshold, it is determined that the water quality is abnormal.

[0138] Among them, the computer-readable storage medium, for example, can be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM, ROM, an erasable programmable read only memory (EPROM), a register, a hard disk, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer-readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In an embodiment of the present application, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device.

[0139] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention is not limited to the method operations described above, and can also execute related operations in the water quality abnormality determination method provided in any embodiment of the present invention.

[0140] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0141] It is worth noting that in the embodiment of the above-mentioned water quality abnormality determination device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0142] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for determining abnormal water quality, characterized in that: Applied to a water purification device, the water purification device includes a water inlet TDS detection unit arranged at a water inlet and a water outlet TDS detection unit arranged at a water outlet, the method includes: Acquire the inlet TDS value based on the inlet TDS detection unit; Acquire the outlet water TDS value based on the outlet water TDS detection unit; Sorting the inlet water TDS values ​​based on bubble sort, and determining a maximum inlet water TDS value and a minimum inlet water TDS value within a preset time period; Sorting the outlet water TDS values ​​based on bubble sort, and determining a maximum outlet water TDS value and a minimum outlet water TDS value within a preset time period; Determine a maximum inlet water difference according to the current inlet water TDS value and the maximum inlet water TDS value, and determine a minimum inlet water difference according to the current inlet water TDS value and the minimum inlet water TDS value; Determine a maximum outlet water difference value according to the current outlet water TDS value and the maximum outlet water TDS value, and determine a minimum outlet water difference value according to the current outlet water TDS value and the minimum outlet water TDS value; If the maximum water inlet difference or the minimum water inlet difference is greater than the water quality threshold, it is determined that the water quality is abnormal; If the maximum water outlet difference or the minimum water outlet difference is greater than the filter element threshold, it is determined that the water purification filter element of the water purification device is damaged; When the water quality is determined to be abnormal, abnormal water quality information is sent to the user terminal to remind the user to check the water quality; When it is determined that the water purification filter element is damaged, water purification filter element damage information is sent to the user terminal to remind the user to replace the water purification filter element and / or check the water quality.

2. A water quality abnormality determination device, characterized in that: The device is mounted on a water purification device, wherein the water purification device comprises a water inlet TDS detection unit arranged at a water inlet and a water outlet TDS detection unit arranged at a water outlet. The device comprises: An inlet water TDS value acquisition module is used to obtain an inlet water TDS value based on an inlet water TDS detection unit; An outlet water TDS value acquisition module, used to acquire an outlet water TDS value based on the outlet water TDS detection unit; An inlet water TDS value sorting module, used to sort the inlet water TDS values ​​based on bubble sorting, and determine the maximum inlet water TDS value and the minimum inlet water TDS value within a preset time period; An outlet water TDS value sorting module, used to sort the outlet water TDS values ​​based on bubble sorting, and determine the maximum outlet water TDS value and the minimum outlet water TDS value within a preset time period; An inlet water difference determination module, used to determine a maximum inlet water difference according to a current inlet water TDS value and the maximum inlet water TDS value, and to determine a minimum inlet water difference according to the current inlet water TDS value and the minimum inlet water TDS value; The outlet water difference determination module is used to determine the maximum outlet water difference according to the current outlet water TDS value and the maximum outlet water TDS value, and to determine the minimum outlet water difference according to the current outlet water TDS value and the minimum outlet water TDS value; an abnormality determination module, configured to determine that the water quality is abnormal if the maximum water inlet difference or the minimum water inlet difference is greater than a water quality threshold; A damage determination module, configured to determine that the water purification filter element of the water purification device is damaged if the maximum water outlet difference or the minimum water outlet difference is greater than a filter element threshold; A first sending module is used to send water quality abnormality information to a user terminal when determining that the water quality is abnormal, so as to remind the user to check the water quality; The second sending module is used to send water purification filter element damage information to the user terminal when it is determined that the water purification filter element is damaged, so as to remind the user to replace the water purification filter element and / or check the water quality.

3. A water purification device, characterized in that: The device comprises: one or more processors; A storage device for storing one or more programs; Inlet water TDS detection unit, used to obtain the inlet water TDS value; When the one or more programs are executed by the one or more processors, the one or more processors implement the water quality abnormality determination method as described in claim 1.

4. A storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to perform the water quality abnormality determination method as claimed in claim 1.

Citation Information

Patent Citations

  • Water purifier provided with soluble total solid monitoring device and monitoring method

    CN103304080A

  • Monitoring method of multiprobe soluble total solid monitor in water purifier

    CN103771602A

  • Dialyzate temperature monitoring method and device and peritoneal dialysis instrument

    CN103990194A

  • Water quality data processing method and water quality data change responding method and system

    CN105158433A

  • Method and system for detecting water quality, intelligent terminal and water-quality detecting method thereof

    CN105424899A