Water quality detection method and device, electronic equipment and storage medium
By detecting the total dissolved solids concentration and conductivity in the ice-making compartment of a refrigerator, the problem of large errors and low accuracy in refrigerator water quality testing has been solved. This enables automated and accurate water quality testing and alerts, improving user experience and saving resources.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-04
- Publication Date
- 2026-05-01
AI Technical Summary
In existing technologies, methods for detecting water quality in refrigerator ice-making compartments suffer from large errors and low accuracy, resulting in poor user experience and wasted resources.
By obtaining the total dissolved solids concentration of the water in the target ice-making chamber, calculating the conductivity, and comparing it with a preset threshold, the water quality freshness level is determined, and a reminder message is generated to prompt the user to change the water quality.
It enables automated and accurate detection of water quality in the refrigerator's ice-making compartment, avoiding the problem of untimely detection of water quality changes, improving user experience, and saving resources.
Smart Images

Figure CN121955110A_ABST
Abstract
Description
A water quality testing method, apparatus, electronic device, and storage medium Technical Field
[0001] This application relates to the field of water quality testing technology, and in particular to a water quality testing method, apparatus, electronic device, and storage medium. Background Technology
[0002] With the development of smart refrigerators, more and more refrigerators on the market now have ice-making compartments. However, frequent door openings and the insertion of various foods can lead to water quality deterioration in the refrigerator compartment's water tank if the water isn't changed promptly. This is especially true in winter when the ice-making compartment is used much less frequently, and users may forget there's water in the tank. When they finally need to use it, they not only have to change the water but also clean the tank, resulting in a poor user experience. In daily life, we can only rely on our senses to judge the water quality, and the accuracy of this method is questionable. Frequent water changes not only waste water but also require continuous monitoring by the user.
[0003] In existing technologies, water quality testing methods mainly include subjective judgment or detection of chloride ion concentration using sensors. Subjective judgment relies solely on taste or smell, which can introduce errors. The water may already be deteriorating, making timely intervention impossible. Furthermore, frequent tank replacements based on intuition increase costs and waste resources. Sensor-based chloride ion concentration detection only involves the water quality testing device, not the specific detection method, leading to lower accuracy and impacting user experience. Summary of the Invention
[0004] To address the aforementioned problems, this application discloses a water quality testing method, apparatus, electronic device, and storage medium. The method involves acquiring at least one total dissolved solids (TDS) concentration value of the water in the target ice-making compartment within a preset time period; determining the target conductivity of the water within the preset time period based on the at least one TDS concentration value; comparing the target conductivity with a preset conductivity threshold to obtain the freshness level of the water; and determining the water quality test result based on the freshness level. This method can automatically detect the water quality in the water tank of a refrigerator's ice-making compartment, avoiding situations where changes in water quality within the ice-making compartment go undetected, improving the accuracy of water quality testing, and ensuring the safe use of water.
[0005] To achieve the above-mentioned objective, this application provides a water quality testing method, which includes: obtaining at least one total dissolved solids concentration value of the water to be tested in a target ice-making chamber within a preset time period; obtaining a target conductivity of the water to be tested in the target ice-making chamber within the preset time period based on the at least one total dissolved solids concentration value; comparing the target conductivity with a preset conductivity threshold to obtain the freshness level of the water to be tested; and determining the water quality testing result of the water to be tested based on the freshness level.
[0006] In some embodiments, before obtaining the total dissolved solids concentration value of the water to be tested in the target ice-making chamber, the method further includes: determining whether the water volume of the water to be tested in the target ice-making chamber has reached a preset water volume; if the water volume of the water to be tested has not reached the preset water volume, waiting for a preset time; repeating the following steps: determining whether the water volume of the water to be tested in the target ice-making chamber has reached the preset water volume; if the water volume of the water to be tested has not reached the preset water volume, waiting for a preset time; until the water volume of the water to be tested in the target ice-making chamber reaches the preset water volume.
[0007] In some embodiments, determining the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period based on the at least one total dissolved solids concentration value includes: obtaining the conversion relationship between the total dissolved solids concentration value and conductivity; when the number of total dissolved solids concentration values is one, calculating the conductivity corresponding to the total dissolved solids concentration value based on the conversion relationship; and determining the conductivity as the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period.
[0008] In some embodiments, the method further includes: when there are multiple total dissolved solids concentration values, calculating the conductivity corresponding to each of the multiple total dissolved solids concentration values based on the conversion relationship; averaging the conductivity corresponding to each of the multiple total dissolved solids concentration values to obtain the average conductivity of the multiple total dissolved solids concentration values; and determining the average conductivity as the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period.
[0009] In some embodiments, comparing the target conductivity with a preset conductivity threshold to obtain the freshness level of the water body to be tested includes: determining the freshness level of the water body to be tested as Level 1 freshness when the target conductivity is less than or equal to the preset conductivity threshold; and determining the freshness level of the water body to be tested as Level 2 freshness when the target conductivity is greater than the preset conductivity threshold.
[0010] In some embodiments, determining the water quality test result of the water body to be tested based on the freshness level includes: if the freshness level is Level 1, determining the water quality test result of the water body to be tested as normal; if the freshness level is Level 2, determining the water quality test result of the water body to be tested as abnormal.
[0011] In some embodiments, the method further includes: generating a reminder message based on the water quality test results; and displaying the reminder message on the refrigerator's display screen to prompt the user to perform corresponding operations.
[0012] This application also provides a water quality testing device for use in the ice-making compartment of a refrigerator. The water quality testing device is installed in the water tank of the ice-making compartment and includes: an acquisition module for acquiring at least one total dissolved solids concentration value of the water to be tested in the target ice-making compartment within a preset time period; a target conductivity determination module for determining the target conductivity of the water to be tested in the target ice-making compartment within the preset time period based on the at least one total dissolved solids concentration value; a freshness grade determination module for comparing the target conductivity with a preset conductivity threshold to obtain the freshness grade of the water to be tested; and a test result determination module for determining the water quality test result of the water to be tested based on the freshness grade.
[0013] This application also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded by the processor and executed in accordance with the above-described water quality detection method.
[0014] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described water quality detection method.
[0015] Implementing the embodiments of this application achieves the following beneficial effects: This application embodiment obtains at least one total dissolved solids (TDS) concentration value of the water to be tested in the target ice-making compartment within a preset time period; based on the at least one TDS concentration value, it determines the target conductivity of the water to be tested in the target ice-making compartment within the preset time period; it compares the target conductivity with a preset conductivity threshold to obtain the freshness level of the water to be tested; and based on the freshness level, it determines the water quality detection result of the water to be tested. This enables automatic detection of the water quality in the water tank of the refrigerator's ice-making compartment, avoiding situations where changes in water quality in the water tank are not detected in time, improving the accuracy of water quality detection, and thus ensuring the safe use of water. Attached Figure Description
[0016] To more clearly illustrate the water quality testing method, apparatus, electronic device, and storage medium described in this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 is a flowchart illustrating a water quality testing method provided in an embodiment of this application; Figure 2 is a flowchart illustrating a target conductivity determination method provided in an embodiment of this application; Figure 3 is a flowchart illustrating another target conductivity determination method provided in an embodiment of this application; Figure 4 is a schematic diagram illustrating the installation position of a water quality testing device provided in an embodiment of this application; Figure 5 is a structural schematic diagram illustrating a water quality testing device provided in an embodiment of this application; Figure 6 is a flowchart illustrating a method for automatically detecting water quality and reminding users to change water in a refrigerator ice maker compartment provided in an embodiment of this application; Figure 7 is a block diagram illustrating an electronic device for water quality testing provided in an embodiment of this application. Detailed Implementation
[0018] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such information can be used interchangeably where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0020] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0021] In existing technologies, water quality testing methods mainly include subjective judgment or detection of chloride ion concentration using sensors. Subjective judgment relies solely on taste or smell, which can introduce errors. The water may already be deteriorating, making timely intervention impossible. Furthermore, frequent tank replacements based on intuition increase costs and waste resources. Sensor-based chloride ion concentration detection only involves the water quality testing device, not the specific detection method, leading to lower accuracy and impacting user experience.
[0022] Please refer to Figure 1, which shows a flowchart of a water quality testing method provided in an embodiment of this application. This application provides the operation steps of the method described in the embodiment or flowchart, but based on conventional or non-inventive labor, more or fewer operation steps may be included. The order of steps listed in the embodiment is only one of many possible execution orders and does not represent the only execution order. The water quality testing method can be executed in the order shown in the embodiment or the figure. Specifically, as shown in Figure 1, the method may include the following steps: S101: Obtain at least one total dissolved solids concentration value of the water to be tested in the target ice-making chamber within a preset time period; In this embodiment, when the total dissolved solids (TDS) is measured in milligrams per liter (mg / L), it indicates how many milligrams of total dissolved solids are dissolved in 1 liter of water; when the measurement unit is ppm solution parts per million, it refers to the number of milliliters of solute contained in 1 million milliliters of solution or indicates the number of grams of solute contained in 1 million grams of solution, and 1 mg / L = 1 ppm. According to the national standard GB5749-2006 "Standards for Drinking Water Quality," there is a limit to the total dissolved solids (TDS) in drinking water: ≤1000 mg / L. A higher TDS value indicates a greater amount of dissolved matter in the water, signifying a greater degree of change in water quality. Therefore, to determine whether the water quality of a test water body has changed, at least one TDS concentration value can be obtained from the test water body within a preset time period. This at least one TDS concentration value within the preset time period can be obtained by testing the test water body at preset time intervals or by performing a preset number of tests within the preset time period. For example, if the preset time period is 10 seconds, testing the test water body at preset time intervals of 2 seconds will yield 5 TDS concentration values; similarly, testing the test water body 5 times will also yield 5 TDS concentration values.
[0023] It should be noted that the preset time period, preset time interval, and preset number of times can be set according to actual needs, and no specific limitations are made here. Any method that can obtain the total dissolved solids concentration value of the water body to be tested within the preset time period is included in this application.
[0024] In some exemplary embodiments, before obtaining the total dissolved solids concentration value of the water to be tested in the target ice-making chamber, the method further includes: determining whether the water volume of the water to be tested in the target ice-making chamber has reached a preset water volume; if the water volume of the water to be tested has not reached the preset water volume, waiting for a preset time; repeating the following steps: determining whether the water volume of the water to be tested in the target ice-making chamber has reached the preset water volume; if the water volume of the water to be tested has not reached the preset water volume; until the water volume of the water to be tested in the target ice-making chamber reaches the preset water volume.
[0025] Specifically, before obtaining the total dissolved solids concentration value of the water body to be tested within a preset time period, it is necessary to first determine whether the water body to be tested in the target ice-making chamber meets the testing requirements, that is, whether the water volume of the water body to be tested has reached the preset water volume. If the preset water volume has not been reached, it indicates that there is no water body to be tested in the target ice-making chamber or the existing water body to be tested is insufficient for water quality testing. In this case, wait for the preset time. The preset time can be 5 seconds, 10 seconds or other times, and there is no specific limitation here. After waiting for the preset time, continue to determine whether the water body to be tested has reached the preset water volume. If it has not reached the preset water volume, continue to wait for the preset time until the water body to be tested reaches the preset water volume, and then the water quality testing operation can be performed.
[0026] By assessing the volume of water in the ice-making chamber before obtaining the total dissolved solids concentration value of the water body to be tested within a preset time period, it is possible to ensure that the water quality test is conducted under the condition that the water body meets the requirements, thereby avoiding errors in water quality testing caused by factors such as insufficient water volume and improving the accuracy of water quality testing.
[0027] S103: Based on the at least one total dissolved solids concentration value, determine the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period. In this embodiment, electrical conductivity (EC) is a numerical representation of the ability of a solution to conduct current; it characterizes the purity of water, and the commonly used unit is μs / cm (micro-Siemens per centimeter). Since the number of total dissolved solids concentration values varies, it is necessary to calculate the corresponding target conductivity of the water body to be tested within the preset time period based on the number of total dissolved solids concentration values.
[0028] In some exemplary embodiments, please refer to Figure 2, which shows a flowchart of a method for determining target conductivity provided by an embodiment of this application. Specifically, as shown in Figure 2, the step of determining the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period based on the at least one total dissolved solids concentration value includes: S201: Obtaining the conversion relationship between the total dissolved solids concentration value and conductivity; In the above exemplary embodiments, specifically, the conversion relationship between the total dissolved solids concentration value TDS and the conductivity EC is as follows: 1ppm TDS = 2us / cm EC where TDS is the total dissolved solids concentration value, ppm is the unit of the total dissolved solids concentration value, EC is the conductivity, andus / cm is the unit of conductivity. The conversion relationship shows that the ratio between the total dissolved solids concentration value and the conductivity is 1:2.
[0029] S203: When there is only one total dissolved solids concentration value, the conductivity corresponding to the total dissolved solids concentration value is calculated based on the conversion relationship. In the above exemplary embodiment, specifically, if there is only one total dissolved solids concentration value of the water body to be tested within a preset time period, the total dissolved solids concentration value is directly converted into the corresponding conductivity. For example, when the total dissolved solids concentration value is 580 ppm, the corresponding conductivity after conversion is 1160 μS / cm.
[0030] S205: The conductivity is determined as the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period.
[0031] In the above exemplary embodiment, specifically, when there is only one total dissolved solids concentration value of the water body to be tested within a preset time period, the conductivity after converting the total dissolved solids concentration value is the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period. For example, if there is only one total dissolved solids concentration value, and its value is 580 ppm, the corresponding conductivity after conversion is 1160 μS / cm, and the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period is 1160 μS / cm.
[0032] When there is only one total dissolved solids concentration value, the conductivity corresponding to the total dissolved solids concentration value is calculated by using the conversion relationship between the total dissolved solids concentration value and conductivity, and this conductivity is determined as the target conductivity of the water body to be tested in the target ice-making chamber within a preset time period, thereby providing more accurate conductivity data for subsequent water quality testing.
[0033] In some exemplary embodiments, please refer to Figure 3, which shows a flowchart of another method for determining target conductivity provided by an embodiment of this application. Specifically, as shown in Figure 3, the method further includes: 301: when there are multiple total dissolved solids concentration values, calculating the conductivity corresponding to each of the multiple total dissolved solids concentration values based on the conversion relationship; in the above exemplary embodiments, specifically, if there are multiple total dissolved solids concentration values of the water body to be tested within a preset time period, calculating the conductivity corresponding to each total dissolved solids concentration value. For example, if the total dissolved solids concentration of the water body to be tested is detected according to a preset time period of 10s and a preset time interval of 2s, five total dissolved solids concentration values can be obtained: 980ppm, 1100ppm, 1320ppm, 1210ppm, and 1045ppm. Then, the conductivity corresponding to each total dissolved solids concentration value is 1960us / cm, 2200us / cm, 2640us / cm, 2420us / cm, and 2090us / cm, respectively.
[0034] S303: The conductivity corresponding to the plurality of total dissolved solids concentration values is averaged to obtain the average conductivity of the plurality of total dissolved solids concentration values; In the above exemplary embodiment, specifically, the conductivity corresponding to the above 5 total dissolved solids concentration values can be averaged to obtain the average conductivity of the 5 total dissolved solids concentration values as (1960 + 2200 + 2640 + 2420 + 2090) / 5 = 2262 μS / cm.
[0035] S305: The average conductivity is determined as the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period.
[0036] In the above exemplary embodiment, specifically, after calculating the average conductivity of the five total dissolved solids concentration values, the average conductivity is determined as the target conductivity of the water to be tested in the target ice-making chamber within a preset time period. That is, the target conductivity of the water to be tested in the target ice-making chamber within the preset time period is 2262 μS / cm.
[0037] When there are multiple total dissolved solids (TDS) concentration values, the conductivity corresponding to each TDS concentration value is calculated based on the conversion relationship between TDS and conductivity. The multiple conductivity values are then averaged, and the resulting average conductivity is determined as the target conductivity of the water in the target ice-making chamber within a preset time period. This avoids detection errors caused by sudden anomalies and provides more accurate conductivity data for subsequent water quality testing.
[0038] S105: The target conductivity is compared with a preset conductivity threshold to obtain the freshness level of the water body to be tested. In this embodiment, after calculating the target conductivity of the water body to be tested in the target ice-making chamber within a preset time period, the target conductivity is compared with the preset conductivity threshold, and the freshness level of the water body to be tested is determined based on the comparison result. The preset conductivity threshold is set according to actual conditions. For example, according to the "Standards for Drinking Water Quality GB579-2006", the standard conductivity limit for drinking water is no greater than 2000 μS / cm, meaning the preset conductivity threshold can be 2000 μS / cm.
[0039] In some exemplary embodiments, comparing the target conductivity with a preset conductivity threshold to obtain the freshness level of the water body to be tested includes: determining the freshness level of the water body to be tested as Level 1 freshness when the target conductivity is less than or equal to the preset conductivity threshold; and determining the freshness level of the water body to be tested as Level 2 freshness when the target conductivity is greater than the preset conductivity threshold.
[0040] In the above exemplary embodiments, specifically, the freshness level can include Level 1 freshness and Level 2 freshness. If the target conductivity is less than or equal to the preset conductivity threshold, it indicates that the water body meets the drinking water hygiene standards, and the freshness level of the water body is determined to be Level 1 freshness. If the target conductivity is greater than the preset conductivity threshold, it indicates that the water body does not meet the drinking water hygiene standards, and the freshness level of the water body is determined to be Level 2 freshness. For example, in the above exemplary embodiments, when the target conductivity is 1160 μS / cm, it is less than the preset conductivity threshold of 2000 μS / cm, and the freshness level of the water body is Level 1 freshness; when the target conductivity is 2262 μS / cm, it is greater than the preset conductivity threshold of 2000 μS / cm, and the freshness level of the water body is Level 2 freshness.
[0041] By comparing the target conductivity with a preset conductivity threshold, different freshness levels of the water body to be tested are determined based on different comparison results. This allows the water body to be tested to be distinguished according to freshness conditions, enabling accurate measurement of the water quality and ensuring more precise water quality testing.
[0042] S107: Determine the water quality test result of the water body to be tested based on the freshness level.
[0043] In this embodiment, there is a one-to-one correspondence between the freshness level and the water quality test results. The freshness level can include first-level freshness and second-level freshness. Correspondingly, the water quality test results can include normal water quality and abnormal water quality.
[0044] In some exemplary embodiments, determining the water quality test result of the water body to be tested based on the freshness level includes: determining the water quality test result of the water body to be tested as normal when the freshness level is Level 1; and determining the water quality test result of the water body to be tested as abnormal when the freshness level is Level 2.
[0045] In the above exemplary embodiments, specifically, since there is a one-to-one correspondence between freshness grades and water quality test results, where freshness grades can include Level 1 freshness and Level 2 freshness, and water quality test results can include normal water quality and abnormal water quality, if the freshness grade of the water body to be tested is Level 1 freshness, it indicates that the water body meets the drinking water hygiene standards, and the water quality test result is normal; if the freshness grade of the water body to be tested is Level 2 freshness, it indicates that the water body does not meet the drinking water hygiene standards, and the water quality test result is abnormal.
[0046] Determining the water quality test results of the water body by classifying its freshness level can accurately measure the water quality status of the water body, thereby providing precise data support for subsequent operations based on the water quality test results and improving the user experience.
[0047] In some exemplary embodiments, the method further includes: generating a reminder message based on the water quality test results; and displaying the reminder message on the refrigerator's display screen to prompt the user to perform a corresponding operation.
[0048] In the above exemplary embodiment, specifically, after water quality testing is performed on the water body to be tested and the water quality test results are obtained, corresponding reminder information is generated and displayed based on the water quality test results. The reminder information can be a text reminder indicating normal / abnormal water quality, or a data reminder regarding the target conductivity of the water body to be tested. Furthermore, the reminder information can be displayed on the refrigerator's screen in ways including, but not limited to, text warning messages and color-coded indicators (red / yellow warning icons).
[0049] By generating corresponding reminders based on water quality test results and displaying these reminders on the refrigerator's screen, users can be promptly reminded to perform appropriate operations. This ensures that the water in the ice-making compartment is replaced in a timely manner, preventing water deterioration from affecting user use and avoiding resource waste caused by subjective user judgment, thereby improving the user experience.
[0050] This application embodiment also provides a water quality testing device. Please refer to Figure 4, which shows a schematic diagram of the installation position of a water quality testing device provided in this application embodiment. Specifically, as shown in Figure 4, the water quality testing device 3 is installed in the water tank 1 of the ice-making compartment of the refrigerator, wherein 1 is the water tank of the ice-making compartment, 2 is the ice-receiving drawer of the ice-making compartment, and 3 is the water quality testing device capable of performing water quality testing methods.
[0051] Please refer to Figure 5, which shows a structural schematic diagram of a water quality testing device provided in an embodiment of this application. Specifically, as shown in Figure 5, the water quality testing device includes: an acquisition module 501, used to acquire at least one total dissolved solids concentration value of the water to be tested in the target ice-making chamber within a preset time period; a target conductivity determination module 503, used to determine the target conductivity of the water to be tested in the target ice-making chamber within the preset time period based on the at least one total dissolved solids concentration value; a freshness grade determination module 505, used to compare the target conductivity with a preset conductivity threshold to obtain the freshness grade of the water to be tested; and a detection result determination module 507, used to determine the water quality detection result of the water to be tested based on the freshness grade.
[0052] In an optional embodiment, the water quality detection device further includes: a water volume judgment module, used to judge whether the water volume of the water to be tested in the target ice-making chamber has reached a preset water volume; a waiting module, used to wait for a preset time if the water volume of the water to be tested has not reached the preset water volume; and a repeat execution module, used to repeatedly execute: judging whether the water volume of the water to be tested in the target ice-making chamber has reached the preset water volume; waiting for a preset time if the water volume of the water to be tested has not reached the preset water volume; until the water volume of the water to be tested in the target ice-making chamber reaches the preset water volume.
[0053] In an optional embodiment, the target conductivity determination module further includes: an acquisition submodule, used to acquire the conversion relationship between the total dissolved solids concentration value and conductivity; a conductivity first determination submodule, used to calculate the conductivity corresponding to the total dissolved solids concentration value based on the conversion relationship when the number of total dissolved solids concentration values is one; and a target conductivity first determination module, used to determine the conductivity as the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period.
[0054] In an optional embodiment, the target conductivity determination module further includes: a second conductivity determination submodule, used to calculate the conductivity corresponding to each of the multiple total dissolved solids concentration values based on the conversion relationship when there are multiple total dissolved solids concentration values; an average conductivity determination module, used to average the conductivity corresponding to each of the multiple total dissolved solids concentration values to obtain the average conductivity of the multiple total dissolved solids concentration values; and a second target conductivity determination module, used to determine the average conductivity as the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period.
[0055] In an optional embodiment, the freshness grade determination module further includes: a candidate main ingredient determination module, used to obtain a candidate main ingredient from the candidate recipes when the number of main ingredients is one; the candidate main ingredient is the ingredient with the largest second weight information in the candidate recipes, and the second weight information of each ingredient in the candidate recipes matches the ingredient weight of each ingredient in the candidate recipes; a first-level freshness determination module, used to determine the freshness grade of the water body to be tested as first-level freshness when the target conductivity is less than or equal to the preset conductivity threshold; and a second-level freshness determination module, used to determine the freshness grade of the water body to be tested as second-level freshness when the target conductivity is greater than the preset conductivity threshold.
[0056] In an optional embodiment, the detection result determination module further includes: a normal water quality determination module, used to determine that the water quality detection result of the water body to be tested is normal when the freshness level is the first-level freshness; and a water quality abnormality determination module, used to determine that the water quality detection result of the water body to be tested is abnormal when the freshness level is the second-level freshness.
[0057] In an optional embodiment, the water quality testing device further includes: a reminder information generation module for generating reminder information based on the water quality testing results; and a display module for displaying the reminder information on the refrigerator's display screen to prompt the user to perform corresponding operations.
[0058] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0059] Please refer to Figure 6, which shows a flowchart of a method for automatically detecting water quality and reminding users to change water in the ice maker of a refrigerator according to an embodiment of this application. As shown in Figure 6, the method includes: S601: Initializing the water quality detection device; specifically, the water quality detection device can be initialized, and the initialization operation can include setting the parameters required for water quality detection.
[0060] S602: Determine whether the water volume of the water to be tested in the target ice-making chamber has reached the preset water volume; specifically, determine the next operation to be performed by determining whether the water volume of the water to be tested has reached the preset water volume.
[0061] S603: If the water volume of the water body to be tested does not reach the preset water volume, wait for a preset time; specifically, if the water volume does not reach the preset water volume, it indicates that there is no water body to be tested in the target ice-making chamber or the existing water body to be tested is insufficient for water quality testing, then the operation of waiting for the preset time is executed.
[0062] S604: Repeat steps S602 to S603 until the water volume of the water to be tested in the target ice-making chamber reaches the preset water volume, and obtain at least one total dissolved solids concentration value of the water to be tested in the target ice-making chamber within a preset time period; specifically, after waiting for a preset time, continue to determine whether the water volume to be tested has reached the preset water volume. If it has not reached the preset water volume, continue to wait for the preset time until the water volume to be tested reaches the preset water volume, indicating that the water quality testing operation can be performed, that is, the total dissolved solids concentration value of the water to be tested in the target ice-making chamber within a preset time period can be obtained through the water quality testing device, wherein the number of total dissolved solids concentration values is at least one.
[0063] S605: Based on the at least one total dissolved solids concentration value, the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period is obtained; specifically, after obtaining at least one total dissolved solids concentration value, the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period is calculated based on the obtained total dissolved solids concentration value.
[0064] S606: The target conductivity is compared with a preset conductivity threshold to obtain the freshness level of the water body to be tested; specifically, the freshness level of the water body to be tested at the target conductivity is determined according to the relationship between the target conductivity and the preset conductivity threshold. The freshness level can include Level 1 freshness and Level 2 freshness. Specifically, when the target conductivity is less than or equal to the preset conductivity threshold, the freshness level of the water body to be tested is Level 1 freshness; when the target conductivity is greater than the preset conductivity threshold, the freshness level of the water body to be tested is Level 2 freshness.
[0065] It should be noted that when the freshness level of the water to be tested is Level 1, you can wait for a preset time and then proceed to step S602 to start execution.
[0066] S607: Determine the water quality test result of the water body to be tested based on the freshness level; specifically, there is a one-to-one correspondence between the freshness level and the water quality test result, wherein the freshness level can include Level 1 freshness and Level 2 freshness, and the water quality test result can include normal water quality and abnormal water quality. When the freshness level of the water body to be tested is Level 1 freshness, the water quality test result is normal; when the freshness level of the water body to be tested is Level 2 freshness, the water quality test result is abnormal.
[0067] S608: Generate a reminder message based on the water quality test results; specifically, after conducting water quality testing on the water body to be tested and obtaining the test results, generate and display corresponding reminder messages based on the test results. The reminder message can be a text message indicating normal / abnormal water quality, or a data reminder regarding the target conductivity of the water body to be tested.
[0068] S609: Display the reminder information on the refrigerator's display screen to prompt the user to perform the corresponding operation.
[0069] Specifically, the reminder information will be displayed on the refrigerator's screen. The display method may include, but is not limited to, text warnings and color codes (red / yellow warning icons), to prompt the user to perform corresponding operations such as changing the water or cleaning.
[0070] This application also provides a water quality testing electronic device, which includes a processor and a memory. The memory stores at least one instruction or at least one program, which is loaded and executed by the processor as described in the above method embodiments.
[0071] Please refer to Figure 7, which shows a block diagram of an electronic device for water quality testing according to an embodiment of this application. This electronic device can be any terminal device capable of running a water quality testing method, and its internal structure is shown in Figure 7. The electronic device includes a processor, memory, network interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a water quality testing method.
[0072] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the water quality detection method described in this application.
[0073] Those skilled in the art will understand that the structure shown in FIG7 is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the electronic device to which the present disclosure is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0074] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0075] The foregoing has described specific embodiments of this specification; other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than those shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily have to follow the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0076] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the electronic device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0077] The electronic device and computer-readable storage medium provided in the embodiments of this application are corresponding to the method. Therefore, the electronic device and computer-readable storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding electronic device and computer-readable storage medium will not be repeated here.
[0078] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of this application should be included within the scope of the claims of this application.
Claims
1. A water quality testing method, characterized in that, include: Obtain at least one total dissolved solids concentration value of the water body to be tested in the target ice-making chamber within a preset time period; Based on the at least one total dissolved solids concentration value, the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period is obtained; The freshness level of the water body to be tested is obtained by comparing the target conductivity with a preset conductivity threshold. The water quality test results of the water body to be tested are determined based on the freshness level.
2. The method according to claim 1, characterized in that, Before obtaining the total dissolved solids concentration of the water to be tested in the target ice-making chamber, the method further includes: determining whether the water volume of the water to be tested in the target ice-making chamber has reached a preset water volume; if the water volume of the water to be tested has not reached the preset water volume, waiting for a preset time; repeating the following steps: determining whether the water volume of the water to be tested in the target ice-making chamber has reached the preset water volume; if the water volume of the water to be tested has not reached the preset water volume, waiting for a preset time; until the water volume of the water to be tested in the target ice-making chamber reaches the preset water volume.
3. The method according to claim 1, characterized in that, The step of determining the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period based on the at least one total dissolved solids concentration value includes: obtaining the conversion relationship between the total dissolved solids concentration value and conductivity; when the number of total dissolved solids concentration values is one, calculating the conductivity corresponding to the total dissolved solids concentration value based on the conversion relationship; and determining the conductivity as the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period.
4. The method according to claim 3, characterized in that, The method further includes: when there are multiple total dissolved solids concentration values, calculating the conductivity corresponding to each of the multiple total dissolved solids concentration values based on the conversion relationship; averaging the conductivity corresponding to each of the multiple total dissolved solids concentration values to obtain the average conductivity of the multiple total dissolved solids concentration values; and determining the average conductivity as the target conductivity of the water body to be tested in the target ice-making chamber within the preset time period.
5. The method according to claim 1, characterized in that, The step of comparing the target conductivity with a preset conductivity threshold to obtain the freshness level of the water body to be tested includes: if the target conductivity is less than or equal to the preset conductivity threshold, the freshness level of the water body to be tested is determined to be Level 1 freshness; if the target conductivity is greater than the preset conductivity threshold, the freshness level of the water body to be tested is determined to be Level 2 freshness.
6. The method according to claim 5, characterized in that, The step of determining the water quality test result of the water body to be tested based on the freshness level includes: when the freshness level is Level 1, determining the water quality test result of the water body to be tested as normal; when the freshness level is Level 2, determining the water quality test result of the water body to be tested as abnormal.
7. The method according to claim 1, characterized in that, The method further includes: generating a reminder message based on the water quality test results; and displaying the reminder message on the refrigerator's display screen to prompt the user to perform corresponding operations.
8. A water quality testing device for use in the ice-making compartment of a refrigerator, characterized in that, The water quality testing device is installed in the water tank of the refrigerator's ice-making compartment. The device includes: an acquisition module for acquiring at least one total dissolved solids (TDS) concentration value of the water to be tested in the target ice-making compartment within a preset time period; a target conductivity determination module for determining the target conductivity of the water to be tested in the target ice-making compartment within the preset time period based on the at least one TDS concentration value; a freshness grade determination module for comparing the target conductivity with a preset conductivity threshold to obtain the freshness grade of the water to be tested; and a test result determination module for determining the water quality test result of the water to be tested based on the freshness grade.
9. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the water quality detection method according to any one of claims 1 to 7.