Salt block supplementing method, device and equipment for water softening equipment and storage medium

By calculating the height difference and dissolution speed of salt blocks and estimating the salt quantity replenishment time, the problem of inaccurate monitoring of the use of salt blocks in the salt box of the soft water heater is solved, and automatic replenishment reminder for salt blocks is realized to ensure the normal operation of the equipment.

CN119240865APending Publication Date: 2025-01-03GUANGDONG LIZI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411493099.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The existing soft water water heater cannot accurately monitor the use of salt blocks in the salt box, resulting in users being unable to replenish salt blocks in time, affecting the normal use of the equipment.

Method used

By obtaining the height information of the salt blocks in the salt box at the last time and the height information of the current time when the water was discharged, the height difference was calculated, the dissolution speed of the salt block was determined, and the salt amount replenishment time was estimated based on the dissolution speed, and the user was automatically reminded to replenish the salt block based on the dissolution speed. .

Benefits of technology

Accurate monitoring and timely replenishment of the use of salt boxes and salt blocks is achieved, ensuring that the water soft water heater can always effectively soften hard water and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119240865A_ABST
    Figure CN119240865A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a salt block supplementing method and device for water softening equipment, electronic equipment and a storage medium, and is applied to the technical field of water softening treatment.The method comprises the steps that first height information of a salt block in a salt box when water is discharged last time and second height information of the salt block at the current moment are obtained; determining the height difference of the salt block according to the first height information and the second height information; determining the dissolution rate of the salt block according to the height difference; and estimating the salt amount supplementing time of the salt box based on the dissolution speed and the height difference, and supplementing salt blocks to the salt box according to the salt amount supplementing time. According to the scheme, the use condition of the salt blocks in the salt box can be accurately monitored through the height difference of the salt blocks so as to estimate the salt amount supplementing time of the salt box, and salt amount supplementing can be conducted on the salt box in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of soft water treatment, and in particular to a salt block replenishment method, device, equipment and storage medium for a soft water device. Background Art

[0002] As people's living standards improve, more and more families begin to use water softening equipment, such as water softening water heaters. Water softening water heaters use ion exchange resins to absorb calcium and magnesium ions in water to soften water and reduce scale. When the resin exchange capacity is saturated, salt blocks need to be added to backwash the softening resin with salt water, and the calcium and magnesium ions adsorbed on the resin are exchanged with sodium ions, so that the resin regains the ability to soften water.

[0003] At present, soft water water heaters mainly judge the amount of salt in the salt box by the change in gravity of the salt blocks. This method requires reminding the user to refill the salt box only when the salt blocks are used up. It is unable to accurately monitor the amount of salt in the salt box, resulting in the user being unable to refill the salt box in time. The soft water water heater cannot soften hard water after lack of salt, affecting the user's normal use. Summary of the invention

[0004] The present application provides a salt block replenishment method, device, equipment and storage medium for a water softening device, which can accurately monitor the usage of salt blocks in a salt box to estimate the salt replenishment time of the salt box, which is conducive to timely replenishment of salt in the salt box.

[0005] In a first aspect, the present application provides a salt block replenishment method for a water softening device, wherein the water softening device comprises a salt box and a controller, wherein the controller is used to:

[0006] Acquire the first height information of the salt block in the salt box when water was discharged last time and the second height information of the salt block at the current moment;

[0007] determining a height difference of the salt block according to the first height information and the second height information;

[0008] determining a dissolution rate of the salt block according to the height difference;

[0009] The salt replenishment time of the salt box is estimated based on the dissolution rate and the height difference, and the salt block is replenished in the salt box according to the salt replenishment time.

[0010] In a second aspect, the present application provides a salt block replenishing device for a water softening device, wherein the water softening device comprises a salt box and a controller, including:

[0011] A first acquisition module is used to acquire first height information of the salt block in the salt box when water was discharged last time and second height information of the salt block at the current moment;

[0012] A first determining module, configured to determine a height difference of the salt block according to the first height information and the second height information;

[0013] A second determination module, used to determine the dissolution rate of the salt block according to the height difference;

[0014] An estimation module is used to estimate the salt replenishment time of the salt box based on the dissolution rate and the height difference.

[0015] Optionally, in some embodiments, the estimation module includes:

[0016] An estimation submodule, used for estimating the remaining number of uses of the salt block according to the dissolution rate and the height difference;

[0017] The first determination submodule is used to determine the salt replenishment time based on the remaining number of uses.

[0018] Optionally, in some embodiments, the first determining submodule includes:

[0019] An issuing unit, configured to issue a salt shortage replenishment reminder if the remaining number of uses is less than a preset number threshold;

[0020] The determination unit is used to obtain the salt replenishment cycle data of the water softening device if the remaining number of uses exceeds the preset number threshold, and determine the salt replenishment time based on the salt replenishment cycle data.

[0021] Optionally, in some embodiments, the second determining module includes:

[0022] an identification submodule, used for acquiring an image of the salt block, and performing target identification on the image to obtain an upper surface area of ​​the salt block;

[0023] a second determination submodule, configured to determine a consumed volume of the salt block based on the upper surface area and the height difference;

[0024] The third determination submodule is used to determine the dissolution rate of the salt block based on the consumed volume.

[0025] Optionally, in some embodiments, the first determining submodule includes:

[0026] a first extraction unit, configured to extract a first surface curve of the salt block from the first height information;

[0027] a second extraction unit, configured to extract a second surface curve of the salt block from the second height information;

[0028] A first fitting unit, used for fitting the first surface curve to obtain a first straight line;

[0029] A second fitting unit, used for fitting the second surface curve to obtain a second straight line;

[0030] A calculation unit is used to calculate the difference between the first straight line and the second straight line to obtain the height difference.

[0031] Optionally, in some embodiments, it further includes:

[0032] The display module is used to display salt shortage reminder information when the altitude difference is lower than a preset altitude difference threshold.

[0033] Optionally, in some embodiments, it further includes:

[0034] A second acquisition module is used to acquire historical working data of the water softening device;

[0035] A third determination module, used to determine the working time of the water softening device according to the historical working data;

[0036] The adjustment module is used for adjusting the salt replenishment time based on the working time if the salt replenishment time belongs to the working time.

[0037] In a third aspect, the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the program.

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

[0039] As described above, the present application provides a salt block replenishment method, device, electronic device and storage medium for a water softening device, by obtaining the first height information of the salt block in the salt box at the last time the water was discharged and the second height information of the salt block at the current moment; determining the height difference of the salt block according to the first height information and the second height information; determining the dissolution rate of the salt block according to the height difference; estimating the salt replenishment time of the salt box based on the dissolution rate and the height difference, and replenishing the salt block to the salt box according to the salt replenishment time. In the salt block replenishment scheme for the water softening device provided in the present application, the height difference of the salt block is determined according to the first height information and the second height information of the salt block, and the dissolution rate of the salt block is determined based on the height difference, thereby estimating the salt replenishment time of the salt box based on the dissolution rate, and replenishing the salt block to the salt box according to the salt replenishment time. It can be seen that the present scheme can accurately monitor the use of the salt blocks in the salt box through the height difference of the salt blocks to estimate the salt replenishment time of the salt box, which is conducive to timely replenishment of the salt box. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1 It is a scene schematic diagram of the salt block replenishment method of the water softening device provided in the embodiment of the present application;

[0042] Figure 2 It is a schematic flow chart of a salt block replenishment method for a water softening device provided in an embodiment of the present application;

[0043] Figure 3 It is a structural schematic diagram of a salt block replenishing device for a water softening device provided in an embodiment of the present application;

[0044] Figure 4 It is a schematic diagram of the structure of the water softening device provided in the embodiment of the present application. DETAILED DESCRIPTION

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

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

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

[0048] The present application provides a salt block replenishment method, device, electronic device and storage medium for a water softening device.

[0049] For example, see Figure 1The salt block replenishing device is integrated in the water softening device 10. The water softening device 10 includes a salt box 11. The display screen of the water softening device 10 can display the salt replenishing time of the salt box, and the water softening device 10 can interact with the electronic device 20 through the network 30. In the process of replenishing the salt blocks of the water softening device, the water softening device 10 obtains the first height information of the salt blocks in the salt box when the water was discharged last time and the second height information of the salt blocks at the current moment. Then, the water softening device 10 determines the height difference of the salt blocks according to the first height information and the second height information. Then, the water softening device 10 determines the dissolution speed of the salt blocks according to the height difference. Finally, the water softening device 10 estimates the salt replenishing time of the salt box based on the dissolution speed and the height difference, and feeds back the salt replenishing time to the electronic device 20.

[0050] The salt block replenishment method for a water softening device provided in the present application can determine the height difference of the salt block according to the first height information and the second height information of the salt block, and determine the dissolution rate of the salt block based on the height difference, so as to estimate the salt replenishment time of the salt box based on the dissolution rate, and replenish the salt blocks in the salt box according to the salt replenishment time. It can be seen that this scheme can accurately monitor the use of salt blocks in the salt box through the height difference of the salt blocks, so as to estimate the salt replenishment time of the salt box, which is conducive to timely replenishment of salt in the salt box.

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

[0052] A method for replenishing salt blocks in a water softening device comprises: obtaining first height information of salt blocks in a salt box when water was discharged last time and second height information of the salt blocks at a current moment; determining a height difference of the salt blocks according to the first height information and the second height information; determining a dissolution rate of the salt blocks according to the height difference; estimating a salt replenishment time of the salt box based on the dissolution rate and the height difference, and replenishing the salt blocks in the salt box according to the salt replenishment time.

[0053] See also Figure 2 , Figure 2 This is a schematic diagram of the process of the salt block replenishment method for the water softening device provided in this application. The specific process of the salt block replenishment method for the water softening device can be as follows:

[0054] 101. Obtain first height information of salt blocks in the salt box when water was discharged last time and second height information of the salt blocks at the current moment.

[0055] Among them, an infrared sensor can be set on the top of the salt box, and the distance between the infrared ray emitted by the infrared sensor when the softening device last discharged water and the contact point of the upper surface of the salt block can be obtained through the infrared sensor as the first height information, and the distance between the infrared ray emitted by the infrared sensor when the softening device is discharging water at the current moment and the contact point of the upper surface of the salt block can be obtained as the second height information.

[0056] 102. Determine a height difference of the salt block according to the first height information and the second height information.

[0057] Specifically, the first height can be extracted from the first height information, and the second height can be extracted from the second height information. The first height represents the dissolution height of the salt block when the softening device discharged water last time, and the second height represents the dissolution height of the salt block when the softening device discharges water at the current moment. The difference between the first height and the second height is calculated to obtain the height difference of the salt block, that is, the height difference reflects the consumption of salt blocks in the salt box from the last time the softening device discharged water to the current moment.

[0058] 103. Determine the dissolution rate of the salt block based on the height difference.

[0059] The dissolution rate refers to the speed at which the salt block dissolves in the solvent (i.e., water).

[0060] Optionally, the time difference between the last time the softening device discharged water and the current time point may be calculated, and the height difference may be divided by the time difference to obtain the dissolution rate of the salt block, and the unit of the dissolution rate may be m / s.

[0061] Optionally, the density, length and width of the salt block and the weight of the solvent in the salt box can be obtained, the length, width and height difference are multiplied to obtain the consumed volume of the salt block, the consumed volume of the salt block and the density of the salt block are multiplied to obtain the consumed mass of the salt block, the ratio of the consumed mass to the solvent weight is calculated to obtain the solubility of the consumed part of the salt block, and a relationship table between the solubility of the salt block and the dissolution rate is obtained, so that the dissolution rate can be determined based on the solubility.

[0062] In some embodiments, the step of “determining the dissolution rate of the salt block according to the height difference” may specifically include:

[0063] (11) acquiring an image of the salt block, and performing target recognition on the image to obtain the upper surface area of ​​the salt block;

[0064] (12) determining the consumed volume of the salt block based on the upper surface area and the height difference;

[0065] (13) Determine the dissolution rate of the salt block based on the consumed volume.

[0066] Specifically, a camera device may be arranged in the salt box, and a dissolution image of the upper surface of the salt block may be obtained through the camera device. The dissolution image may be subjected to target recognition to obtain the upper surface area of ​​the salt block, and the product of the upper surface area and the height difference may be calculated to obtain the consumed volume of the salt block. The consumed volume of the salt block and the density of the salt block may be multiplied to obtain the consumed mass of the salt block, and the ratio of the consumed mass to the weight of the solvent may be calculated to obtain the solubility of the consumed part of the salt block, and a relationship table between the solubility of the salt block and the dissolution rate may be obtained, so that the dissolution rate may be determined based on the solubility, wherein the relationship table between the solubility of the salt block and the dissolution rate may be obtained based on a limited number of experimental data.

[0067] 104. Estimate the salt replenishment time of the salt box based on the dissolution rate and the height difference, and replenish the salt blocks in the salt box according to the salt replenishment time.

[0068] The original height of the salt block can be obtained; the remaining height of the salt block is determined based on the original height and the height difference, and the remaining height of the salt block and the dissolution rate are divided to obtain the remaining use time of the salt block. When the difference between the cumulative use time and the remaining use time of the salt block reaches a preset time difference, the time between the current moment and the next use of the softening water device is used as the salt replenishment time, and the salt box is replenished with salt blocks according to the salt replenishment time.

[0069] In order to facilitate the subsequent accurate and personalized salt block replenishment of the water softening device, in the present application, the remaining number of uses of the salt block is estimated using the dissolution rate and the height difference, and then the salt replenishment time is determined based on the remaining number of uses, that is, optionally, in some embodiments, the step of "estimating the salt replenishment time of the salt box based on the dissolution rate and the height difference" may specifically include:

[0070] (21) estimating the remaining number of uses of the salt block based on the dissolution rate and the height difference;

[0071] (22) The salt replenishment time is determined based on the remaining number of uses.

[0072] Optionally, the original height of the salt block can be obtained, and the remaining height of the salt block can be determined based on the original height and the height difference. The remaining height of the salt block is divided into segments according to the height difference to obtain the remaining number of uses of the salt block. The remaining height of the salt block and the dissolution rate are divided to obtain the remaining usage time of the salt block. When the difference between the cumulative number of uses of the water softening device and the remaining number of uses reaches a preset number difference, the difference between the remaining usage time of the salt block and the cumulative usage time of the water softening device is calculated. When the difference reaches the preset time difference, the preset time period after the last use of the water softening device can be used as the salt replenishment time. The preset time period can be determined based on the user's usage cycle of the water softening device.

[0073] For example, specifically, assuming that the cumulative number of times the water softener is used is a, and the cumulative time of use of the water softener is b, wherein the cumulative number of times and the cumulative time of use are accumulated from the first time the water softener is used after each addition of the salt block. The original height of the salt block is H, the height difference is h1, and the dissolution rate is v, then the remaining height h2 = H-h1, the remaining number of times the salt block is used s = h2 / v, and the remaining time of use of the salt block T = h2 / v, when the difference k = as between the cumulative number of times and the remaining number of times reaches the preset number of times difference, the difference t = bT between the remaining time of use of the salt block and the cumulative time of use of the water softener reaches the preset time difference, then the time W of the last use of the water softener is obtained, and the salt replenishment time can be determined to be later than the time W, and in addition, the latest time W+c of the salt replenishment time can be set, where c is a preset time constant, such as 10 minutes, to prevent the user from forgetting because the time is too long.

[0074] It should be noted that after the softening device has discharged water for many times and the user has not added salt blocks in time, the amount of salt blocks may be sufficient or insufficient. Therefore, after obtaining the remaining number of uses, if it is detected that the remaining number of uses is less than the preset number threshold, it means that the amount of salt blocks is not much, so it is necessary to immediately issue a salt shortage replenishment reminder to notify the user to replenish the salt blocks in time. If the remaining number of uses exceeds the preset number threshold, the salt replenishment cycle data of the softening device in the historical time period can be obtained, and the salt replenishment time is determined based on the salt replenishment cycle data and the remaining number of uses. That is, optionally, in some embodiments, the step of "determining the salt replenishment time based on the remaining number of uses" can specifically include:

[0075] (31) If the remaining number of uses is less than the preset number threshold, a salt shortage replenishment reminder is issued;

[0076] (32) If the remaining number of uses exceeds a preset number threshold, the salt replenishment cycle data of the water softening device is obtained, and the salt replenishment time is determined based on the salt replenishment cycle data.

[0077] Specifically, if the remaining number of times is less than the preset number threshold, it means that the remaining amount of salt blocks in the salt box is not enough for the next water output of the water softening device. At this time, a salt replenishment reminder can be sent to the user through text messages, voice broadcast messages, light flashing messages, etc. For example, a human body sensor can be installed on the water softening device. When the human body sensor senses that someone is passing by, the light flashes or a voice broadcast is made. For another example, when the user is not at home, the message sending time can be inferred based on the user's historical return home time, and a text message can be sent to the user at the message sending time, such as "The water softening device is seriously insufficient in salt blocks. Please replenish them in time after returning home to avoid the water softening device being unusable."

[0078] Specifically, if the remaining number of uses exceeds the preset number threshold, the salt replenishment cycle data of the water softening device in the historical preset time period is obtained, and the salt replenishment cycle data is analyzed to obtain a salt replenishment time curve, and the salt replenishment time is determined on the salt replenishment time curve according to the remaining number of uses. For example, if the current time is April 19, 2024, the salt replenishment cycle data between March 1, 2024 and March 31, 2024 is obtained. For example, between March 1, 2024 and March 31, 2024, the user replenishes the salt tank every three days, that is, the user replenishes the salt tank every three days on March 3, 2024, March 6, 2024, March 9, 2024, March 12, 2024, March 15, 2024, and March 1, 2024. If salt blocks are replenished in the salt tank of the water softening equipment on March 8, 2024, March 21, 2024, March 24, 2024, March 27, 2024 and March 30, 2024, the salt replenishment time curve between March 1, 2024 and March 31, 2024 can be generated based on the above data in March 2024. According to the current time April 19, 2024, it can be estimated that the next salt replenishment time for the user is April 21, 2024.

[0079] The first height information may include a first surface curve, and the second height information may include a second surface curve. The first surface curve and the second surface curve may be fitted and then the height difference may be calculated to improve the accuracy of the height difference calculation, which is conducive to accurately monitoring the use of salt blocks in the salt box, thereby effectively estimating the salt replenishment time. That is, optionally, in some embodiments, the step of "determining the height difference of the salt block according to the first height information and the second height information" may specifically include:

[0080] (41) extracting a first surface curve of the salt block from the first height information;

[0081] (42) extracting a second surface curve of the salt block from the second height information;

[0082] (43) fitting the first surface curve to obtain a first straight line;

[0083] (44) fitting the second surface curve to obtain a second straight line;

[0084] (45) Calculate the difference between the first straight line and the second straight line to obtain the height difference.

[0085] Among them, the first surface curve can be a transverse curve of the upper surface of the salt block parallel to the length, or a longitudinal curve of the upper surface of the salt block parallel to the width, and the second surface curve can be a transverse curve of the upper surface of the salt block parallel to the length, or a longitudinal curve of the upper surface of the salt block parallel to the width; the first surface curve and the second surface curve contain a number of data points, each of which can be a coordinate point on the upper surface of the salt block. The coordinate point can be formed by establishing a reference coordinate system of the salt box, and then detecting the data of each coordinate point on the upper surface of the salt block by an infrared sensor, and then connecting the data of each coordinate point in sequence, thereby forming the first surface curve and the second surface curve.

[0086] Specifically, the first surface curve can be fitted with a linear method using the least square method or the linear programming method to obtain a first straight line, which represents the surface height of the salt block when the water softening device last discharged water. The second surface curve can be fitted with a linear method using the least square method or the linear programming method to obtain a second straight line, which represents the surface height of the salt block when the water softening device is discharging water at the current moment. The least square method is a commonly used method for fitting a straight line, which determines the position of the straight line by minimizing the sum of the squares of the distances from the data points to the straight line. The linear programming method is a method for fitting data points to a straight line, which minimizes the sum of the distances from all data points to the straight line by finding a straight line, and then accurately obtains the height difference by calculating the first straight line and the second straight line. That is, by means of linear fitting, the height difference of the surface of the salt block can be accurately obtained, that is, the consumption of the salt block from the last time the water softening device discharged water to the current moment can be accurately obtained, which is conducive to the subsequent accurate estimation of the salt replenishment time.

[0087] Furthermore, when the salt block is crystallized or the salt box of the water softener is contaminated by impurities or residues, the salt block cannot be dissolved normally. At this time, the water softener cannot realize the function of softening hard water. Therefore, when the height difference is detected to be lower than the preset height difference threshold, it is necessary to display a salt shortage reminder message on the user's mobile terminal or the display panel of the water softener, so as to promptly remind the user to replace the salt block or clean the salt box. That is, optionally, in some embodiments, after the step of "determining the height difference of the salt block according to the first height information and the second height information", it can also specifically include:

[0088] (51) When the altitude difference is lower than the preset altitude difference threshold, a salt shortage reminder message is displayed.

[0089] For example, when the amount of salt dissolved in the water softening equipment is insufficient during the water discharge process, that is, the height difference is lower than the preset height difference threshold, a salt deficiency reminder message such as "Please check whether the salt block is crystallized or please check whether the salt is contaminated by impurities or residues" may be displayed at this time, so that the user can be aware of and deal with the abnormal situation of the water softening equipment in a timely manner.

[0090] Furthermore, the salt replenishment time can be flexibly adjusted according to the actual application situation, so as to improve the intelligence of the water softening equipment. First, the historical working data of the water softening equipment is obtained, so as to determine whether the salt replenishment time belongs to the working time based on the historical working data. If so, the salt replenishment time can be flexibly adjusted to avoid conflicts. That is, optionally, in some embodiments, after the step of "estimating the salt replenishment time of the salt box based on the dissolution rate and the height difference", it specifically includes:

[0091] (61) Obtain historical working data of water softening equipment;

[0092] (62) Determine the working time of the water softening equipment based on historical working data;

[0093] (63) If the salt replenishment time falls within working hours, the salt replenishment time is adjusted based on the working hours.

[0094] For example, assuming that the soft water device can be a soft water water heater, the historical working data can represent the time when the user uses the soft water water heater every day. When it is estimated based on the historical working data that the user uses the soft water water heater between 18:00 and 19:00 on April 19, 2024, that is, 18:00 to 19:00 on April 19, 2024 is the working time of the soft water water heater, and the salt replenishment time is 17:00 to 18:00 on April 19, 2024. At this time, the salt replenishment time belongs to the working time, and the salt replenishment time can be adjusted to a period of time after the working time, for example, 17:00 to 18:00 on April 19, 2024 can be adjusted to 17:00 to 17:30 on April 19, 2024, and for another example, 17:00 to 18:00 on April 19, 2024 can be adjusted to 19:30 to 20:00 on April 19, 2024. Optionally, assuming that the salt replenishment time is only specific to April 19, 2024, after determining the working time of the soft water water heater, the salt replenishment time can be determined to a time period other than the working time. The soft water water heater can be a gas water heater with a soft water function.

[0095] The above is the salt block replenishment process of the water softening device of the present application.

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

[0097] In order to facilitate better implementation of the salt block replenishment method for a water softener according to an embodiment of the present application, the embodiment of the present invention further provides a salt block replenishment device based on the water softener (hereinafter referred to as the salt block replenishment device). The meanings of the terms are the same as those in the salt block replenishment method for the water softener, and the specific implementation details can refer to the description in the method embodiment.

[0098] See also Figure 3 , Figure 3 A schematic diagram of the structure of a salt block replenishing device for a water softening device provided in an embodiment of the present application, wherein the determining device may include an acquisition module 201, a first determination module 202, a second determination module 203 and an estimation module 204, which may be specifically as follows:

[0099] The first acquisition module 201 is used to acquire the first height information of the salt block in the salt box when the water was discharged last time and the second height information of the salt block at the current moment;

[0100] A first determination module 202, configured to determine a height difference of the salt block according to the first height information and the second height information;

[0101] A second determination module 203, for determining the dissolution rate of the salt block according to the height difference;

[0102] The estimation module 204 is used to estimate the salt replenishment time of the salt box based on the dissolution rate and the height difference, and replenish the salt blocks to the salt box according to the salt replenishment time.

[0103] Optionally, in some embodiments, the estimation module 204 includes:

[0104] An estimation submodule, used to estimate the remaining number of uses of the salt block based on the dissolution rate and the height difference;

[0105] The first determination submodule is used to determine the salt replenishment time based on the remaining number of uses.

[0106] Optionally, in some embodiments, the first determining submodule includes:

[0107] The sending unit is used to send a salt shortage replenishment reminder if the remaining number of uses is less than a preset number threshold;

[0108] The determination unit is used to obtain salt replenishment cycle data of the water softening device if the remaining number of uses exceeds a preset number threshold, and determine the salt replenishment time based on the salt replenishment cycle data.

[0109] Optionally, in some embodiments, the second determining module 203 includes:

[0110] The recognition submodule is used to obtain an image of the salt block and perform target recognition on the image to obtain the upper surface area of ​​the salt block;

[0111] a second determination submodule, for determining a consumed volume of the salt block based on the upper surface area and the height difference;

[0112] The third determination submodule is used to determine the dissolution rate of the salt block based on the consumed volume.

[0113] Optionally, in some embodiments, the first determining submodule 202 includes:

[0114] A first extraction unit, used for extracting a first surface curve of the salt block from the first height information;

[0115] a second extraction unit, used for extracting a second surface curve of the salt block from the second height information;

[0116] A first fitting unit, used for fitting the first surface curve to obtain a first straight line;

[0117] A second fitting unit, used for fitting the second surface curve to obtain a second straight line;

[0118] The calculation unit is used to calculate the difference between the first straight line and the second straight line to obtain the height difference.

[0119] Optionally, in some embodiments, it further includes:

[0120] The display module is used to display a salt shortage reminder message when the altitude difference is lower than a preset altitude difference threshold.

[0121] Optionally, in some embodiments, it further includes:

[0122] The second acquisition module is used to acquire the historical working data of the water softening equipment;

[0123] A third determination module is used to determine the working time of the water softening device according to the historical working data;

[0124] The adjustment module is used to adjust the salt replenishment time based on the working time if the salt replenishment time belongs to the working time.

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

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

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

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

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

[0130] Obtain the first height information of the salt block in the salt box when water was discharged last time and the second height information of the salt block at the current moment; determine the height difference of the salt block according to the first height information and the second height information; determine the dissolution rate of the salt block according to the height difference; estimate the salt replenishment time of the salt box based on the dissolution rate and the height difference, and replenish the salt blocks to the salt box according to the salt replenishment time.

[0131] In this embodiment, the height difference of the salt block is determined according to the first height information and the second height information of the salt block, and the dissolution rate of the salt block is determined based on the height difference, so as to estimate the salt replenishment time of the salt box based on the dissolution rate. It can be seen that the salt box is replenished with salt blocks according to the salt replenishment time. This scheme can accurately monitor the use of salt blocks in the salt box through the height difference of the salt blocks to estimate the salt replenishment time of the salt box, which is conducive to timely replenishment of salt in the salt box.

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

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

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

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

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

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

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

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

Claims

1. A method for replenishing salt blocks in a water softening device, characterized in that: The water softening device comprises a salt box and a controller, wherein the controller is used for: Acquire the first height information of the salt block in the salt box when water was discharged last time and the second height information of the salt block at the current moment; determining a height difference of the salt block according to the first height information and the second height information; determining a dissolution rate of the salt block according to the height difference; The salt replenishment time of the salt box is estimated based on the dissolution rate and the height difference, and the salt block is replenished in the salt box according to the salt replenishment time.

2. The salt block replenishing method according to claim 1, characterized in that: The method of estimating the salt replenishment time of the salt box based on the dissolution rate and the height difference comprises: estimating the remaining number of uses of the salt block according to the dissolution rate and the height difference; The salt replenishment time is determined based on the remaining number of uses.

3. The salt block replenishing method according to claim 2, characterized in that: The step of determining the salt replenishment time based on the remaining number of uses includes: If the remaining number of times of use is less than the preset number of times threshold, a salt shortage replenishment reminder is issued; If the remaining number of uses exceeds the preset number threshold, the salt replenishment cycle data of the water softening device is obtained, and the salt replenishment time is determined based on the salt replenishment cycle data.

4. The salt block replenishing method according to claim 1, characterized in that: The step of determining the dissolution rate of the salt block according to the height difference comprises: Acquiring an image of the salt block, and performing target recognition on the image to obtain an upper surface area of ​​the salt block; determining a consumed volume of the salt block based on the upper surface area and the height difference; A dissolution rate of the salt block is determined based on the consumed volume.

5. The salt block replenishing method according to any one of claims 1 to 4, characterized in that: The determining the height difference of the salt block according to the first height information and the second height information includes: extracting a first surface curve of the salt block from the first height information; extracting a second surface curve of the salt block from the second height information; Fitting the first surface curve to obtain a first straight line; Fitting the second surface curve to obtain a second straight line; The difference between the first straight line and the second straight line is calculated to obtain the height difference.

6. The salt block replenishing method according to any one of claims 1 to 4, characterized in that: After determining the height difference of the salt block according to the first height information and the second height information, the method further includes: When the altitude difference is lower than a preset altitude difference threshold, a salt shortage reminder message is displayed.

7. The salt block replenishing method according to any one of claims 1 to 4, characterized in that: After estimating the salt replenishment time of the salt box based on the dissolution rate and the height difference, the method further includes: Obtaining historical working data of the water softening device; Determine the working time of the water softening device according to the historical working data; If the salt replenishment time belongs to the working time, the salt replenishment time is adjusted based on the working time.

8. A salt block replenishing device for a water softening device, characterized in that: The water softening device comprises a salt box and a controller, including: An acquisition module, used for acquiring first height information of the salt block in the salt box when water was discharged last time and second height information of the salt block at the current moment; A first determining module, configured to determine a height difference of the salt block according to the first height information and the second height information; A second determination module, used to determine the dissolution rate of the salt block according to the height difference; An estimation module is used to estimate the salt replenishment time of the salt box based on the dissolution rate and the height difference, and replenish the salt blocks to the salt box according to the salt replenishment time.

9. An electronic device, characterized in that: include: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the salt block replenishment method for the water softening device according to any one of claims 1 to 7 are implemented.

10. A storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the steps of the salt block replenishment method for a water softening device according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Real-time salt quantity monitoring type water softener and monitoring method thereof

    CN108585117A

  • Water softener

    CN112723475A

  • Method and device for prompting salt amount of salt box of water softening equipment and electronic equipment

    CN115010273A

  • Salt content display method and device, water softener and storage medium

    CN117964046A

  • Water Softener Apparatus Including a Salt Level Indicator Device

    US20230084245A1